@ckeditor/ckeditor5-ai 47.6.1 → 48.0.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 +2 -1
- package/ckeditor5-metadata.json +10 -10
- package/dist/aiactions/aiactions.d.ts +90 -0
- package/{src → dist}/aiactions/model/aiactionsinteraction.d.ts +2 -2
- package/{src → dist}/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/{src → dist}/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/{src → dist}/aiassistant/adapters/awstextadapter.d.ts +2 -2
- package/{src → dist}/aiassistant/adapters/openaitextadapter.d.ts +2 -2
- package/{src → dist}/aiassistant/aiassistant.d.ts +3 -3
- package/{src → dist}/aiassistant/aiassistantediting.d.ts +2 -2
- package/{src → dist}/aiassistant/aiassistantui.d.ts +3 -3
- package/{src → dist}/aiassistant/ui/aiassistantcontroller.d.ts +3 -3
- package/{src → dist}/aiassistant/ui/form/aiformcontentarea.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformerrorview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformpromptview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformtoolbarview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/{src → dist}/aiassistant/ui/form/aihistorylistview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/{src → dist}/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/{src → dist}/aiassistant/utils/common-translations.d.ts +1 -1
- package/{src → dist}/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/{src → dist}/aiballoon/aiballoon.d.ts +2 -2
- package/{src → dist}/aiballoon/ui/aiballoonview.d.ts +2 -2
- package/dist/aichat/aichat.d.ts +95 -0
- package/{src → dist}/aichat/aichatballoon.d.ts +2 -2
- package/{src/aichat/aichat.d.ts → dist/aichat/aichatcontroller.d.ts} +122 -89
- package/{src → dist}/aichat/aichatui.d.ts +5 -5
- package/{src → dist}/aichat/model/aichatcontext.d.ts +91 -17
- package/{src → dist}/aichat/model/aichatconversation.d.ts +4 -4
- package/{src → dist}/aichat/model/aichatinteraction.d.ts +1 -4
- package/{src → dist}/aichat/ui/aichatballoonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatcontrolsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatfeedview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatheaderview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatview.d.ts +3 -2
- package/{src → dist}/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextitembuttonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextpanelview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontrolsloaderview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedcustomelementview.d.ts +7 -1
- package/{src → dist}/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/{src → dist}/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/{src → dist}/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedusermessageitem.d.ts +2 -2
- package/{src → dist}/aichat/utils/promisequeue.d.ts +2 -2
- package/{src → dist}/aichathistory/aichathistory.d.ts +1 -1
- package/{src → dist}/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/{src → dist}/aichathistory/aichathistoryui.d.ts +1 -1
- package/{src → dist}/aichathistory/model/aichathistoryconversations.d.ts +2 -2
- package/{src → dist}/aichathistory/model/aichathistoryitem.d.ts +2 -2
- package/{src → dist}/aichathistory/ui/aichathistorylistitemview.d.ts +2 -2
- package/{src → dist}/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/{src → dist}/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/{src → dist}/aichathistory/ui/aichathistoryview.d.ts +2 -2
- package/{src → dist}/aichatshortcuts/aichatshortcuts.d.ts +17 -17
- package/{src → dist}/aichatshortcuts/ui/aichatshortcutsview.d.ts +2 -2
- package/{src → dist}/aichatshortcuts/ui/aichatshortcutview.d.ts +2 -2
- package/{src → dist}/aiconfig.d.ts +7 -9
- package/{src → dist}/aicore/aiconnector.d.ts +4 -12
- package/{src → dist}/aicore/aiediting.d.ts +27 -6
- package/{src → dist}/aicore/model/aicapabilities.d.ts +2 -2
- package/{src → dist}/aicore/model/aiinteraction.d.ts +17 -13
- package/{src → dist}/aicore/model/aimodels.d.ts +6 -4
- package/{src → dist}/aicore/model/aireply.d.ts +12 -50
- package/{src → dist}/aicore/pipeline/airesponseapplier.d.ts +2 -2
- package/{src → dist}/aicore/pipeline/airesponseparser.d.ts +2 -2
- package/{src → dist}/aicore/ui/aidisclaimerview.d.ts +2 -2
- package/{src → dist}/aicore/ui/aiskeleton.d.ts +2 -2
- package/{src → dist}/aicore/ui/aispinner.d.ts +1 -1
- package/{src → dist}/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionloaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aiwebsourcesview.d.ts +2 -2
- package/dist/aicore/utils/buttonclasses.d.ts +12 -0
- package/{src → dist}/aicore/utils/common-translations.d.ts +1 -1
- package/{src → dist}/aicore/utils/createresizebutton.d.ts +2 -2
- package/{src → dist}/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/{src → dist}/aicore/utils/getoperationsfromreply.d.ts +3 -3
- package/{src → dist}/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/{src → dist}/aieditorintegration/aieditorintegration.d.ts +2 -2
- package/{src → dist}/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/{src → dist}/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactions.d.ts +110 -52
- package/{src → dist}/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactionsui.d.ts +16 -30
- package/{src → dist}/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +3 -3
- package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoontoolbarview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoonview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/{src → dist}/aireviewcore/aireviewcorecontroller.d.ts +1 -1
- package/{src → dist}/aireviewcore/aireviewcoreediting.d.ts +4 -4
- package/{src → dist}/aireviewcore/aireviewcoreui.d.ts +2 -1
- package/{src → dist}/aireviewcore/model/aireviewchecklist.d.ts +2 -2
- package/{src → dist}/aireviewcore/model/aireviewcheckresult.d.ts +2 -2
- package/{src → dist}/aireviewcore/model/aireviewcheckresultchange.d.ts +3 -3
- package/{src → dist}/aireviewcore/model/aireviewcheckrun.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreballoonsuggestionview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorechecklistitemresultview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorecustomcheckview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorefinishreviewbuttonview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoregeneralerrorview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorepromptinputview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewchecklistview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewcommandlistitemview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewcompletedview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreuicheckresultsview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/form/aireviewcoreformdropdown.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/form/aireviewcoreformmanager.d.ts +2 -2
- package/{src → dist}/aireviewmode/aireviewmode.d.ts +6 -4
- package/{src → dist}/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/{src → dist}/aitabs/aitabs.d.ts +4 -1
- package/{src → dist}/aitabs/aitabsmainview.d.ts +4 -1
- package/{src → dist}/aitabs/tabs/aitabsview.d.ts +22 -2
- package/{src → dist}/aitabs/tabs/tabbuttonview.d.ts +2 -2
- package/{src → dist}/aitabs/tabs/tabpanelview.d.ts +2 -2
- package/{src → dist}/aitranslate/aitranslate.d.ts +47 -4
- package/{src → dist}/aitranslate/aitranslatecontroller.d.ts +1 -1
- package/{src → dist}/aitranslate/ui/aitranslatecheckresultsview.d.ts +1 -1
- package/dist/index-content.css +95 -0
- package/dist/index-editor.css +2711 -2793
- package/dist/index.css +2699 -3521
- package/{src → dist}/index.d.ts +7 -6
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +26 -51
- package/build/966.ai.js +0 -5
- package/build/ai.js +0 -4
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/en.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -286
- package/lang/translations/af.po +0 -1144
- package/lang/translations/ar.po +0 -1144
- package/lang/translations/ast.po +0 -1144
- package/lang/translations/az.po +0 -1144
- package/lang/translations/be.po +0 -1144
- package/lang/translations/bg.po +0 -1144
- package/lang/translations/bn.po +0 -1144
- package/lang/translations/bs.po +0 -1144
- package/lang/translations/ca.po +0 -1144
- package/lang/translations/cs.po +0 -1144
- package/lang/translations/da.po +0 -1144
- package/lang/translations/de-ch.po +0 -1144
- package/lang/translations/de.po +0 -1144
- package/lang/translations/el.po +0 -1144
- package/lang/translations/en-au.po +0 -1144
- package/lang/translations/en-gb.po +0 -1144
- package/lang/translations/en.po +0 -1144
- package/lang/translations/eo.po +0 -1144
- package/lang/translations/es-co.po +0 -1144
- package/lang/translations/es.po +0 -1144
- package/lang/translations/et.po +0 -1144
- package/lang/translations/eu.po +0 -1144
- package/lang/translations/fa.po +0 -1144
- package/lang/translations/fi.po +0 -1144
- package/lang/translations/fr.po +0 -1144
- package/lang/translations/gl.po +0 -1144
- package/lang/translations/gu.po +0 -1144
- package/lang/translations/he.po +0 -1144
- package/lang/translations/hi.po +0 -1144
- package/lang/translations/hr.po +0 -1144
- package/lang/translations/hu.po +0 -1144
- package/lang/translations/hy.po +0 -1144
- package/lang/translations/id.po +0 -1144
- package/lang/translations/it.po +0 -1144
- package/lang/translations/ja.po +0 -1144
- package/lang/translations/jv.po +0 -1144
- package/lang/translations/kk.po +0 -1144
- package/lang/translations/km.po +0 -1144
- package/lang/translations/kn.po +0 -1144
- package/lang/translations/ko.po +0 -1144
- package/lang/translations/ku.po +0 -1144
- package/lang/translations/lt.po +0 -1144
- package/lang/translations/lv.po +0 -1144
- package/lang/translations/ms.po +0 -1144
- package/lang/translations/nb.po +0 -1144
- package/lang/translations/ne.po +0 -1144
- package/lang/translations/nl.po +0 -1144
- package/lang/translations/no.po +0 -1144
- package/lang/translations/oc.po +0 -1144
- package/lang/translations/pl.po +0 -1144
- package/lang/translations/pt-br.po +0 -1144
- package/lang/translations/pt.po +0 -1144
- package/lang/translations/ro.po +0 -1144
- package/lang/translations/ru.po +0 -1144
- package/lang/translations/si.po +0 -1144
- package/lang/translations/sk.po +0 -1144
- package/lang/translations/sl.po +0 -1144
- package/lang/translations/sq.po +0 -1144
- package/lang/translations/sr-latn.po +0 -1144
- package/lang/translations/sr.po +0 -1144
- package/lang/translations/sv.po +0 -1144
- package/lang/translations/th.po +0 -1144
- package/lang/translations/ti.po +0 -1144
- package/lang/translations/tk.po +0 -1144
- package/lang/translations/tr.po +0 -1144
- package/lang/translations/tt.po +0 -1144
- package/lang/translations/ug.po +0 -1144
- package/lang/translations/uk.po +0 -1144
- package/lang/translations/ur.po +0 -1144
- package/lang/translations/uz.po +0 -1144
- package/lang/translations/vi.po +0 -1144
- package/lang/translations/zh-cn.po +0 -1144
- package/lang/translations/zh.po +0 -1144
- package/src/aiactions/aiactions.d.ts +0 -53
- package/src/aiactions/aiactions.js +0 -23
- package/src/aiactions/model/aiactionsinteraction.js +0 -23
- package/src/aiactions/model/aiactionsreply.js +0 -23
- package/src/aiassistant/adapters/aiadapter.js +0 -23
- package/src/aiassistant/adapters/aitextadapter.js +0 -23
- package/src/aiassistant/adapters/awstextadapter.js +0 -23
- package/src/aiassistant/adapters/openaitextadapter.js +0 -23
- package/src/aiassistant/aiassistant.js +0 -23
- package/src/aiassistant/aiassistantediting.js +0 -23
- package/src/aiassistant/aiassistantui.js +0 -23
- package/src/aiassistant/legacyerrors.js +0 -23
- package/src/aiassistant/ui/aiassistantcontroller.js +0 -24
- package/src/aiassistant/ui/form/aiformcontentarea.js +0 -23
- package/src/aiassistant/ui/form/aiformerrorview.js +0 -23
- package/src/aiassistant/ui/form/aiformpromptview.js +0 -23
- package/src/aiassistant/ui/form/aiformtoolbarview.js +0 -23
- package/src/aiassistant/ui/form/aiformview.js +0 -23
- package/src/aiassistant/ui/form/aihistorylistitemview.js +0 -23
- package/src/aiassistant/ui/form/aihistorylistview.js +0 -23
- package/src/aiassistant/ui/form/prompthistory.js +0 -23
- package/src/aiassistant/ui/showaiassistantcommand.js +0 -23
- package/src/aiassistant/utils/common-translations.js +0 -23
- package/src/aiassistant/utils/normalizecommandsconfig.js +0 -23
- package/src/aiballoon/aiballoon.js +0 -23
- package/src/aiballoon/ui/aiballoonview.js +0 -23
- package/src/aichat/aichat.js +0 -23
- package/src/aichat/aichatballoon.js +0 -23
- package/src/aichat/aichatcontroller.d.ts +0 -77
- package/src/aichat/aichatcontroller.js +0 -23
- package/src/aichat/aichatui.js +0 -23
- package/src/aichat/model/aichatcontext.js +0 -23
- package/src/aichat/model/aichatconversation.js +0 -23
- package/src/aichat/model/aichatinteraction.js +0 -23
- package/src/aichat/ui/aichatballoonview.js +0 -23
- package/src/aichat/ui/aichatcontrolsview.js +0 -23
- package/src/aichat/ui/aichatfeedview.js +0 -23
- package/src/aichat/ui/aichatheaderview.js +0 -23
- package/src/aichat/ui/aichatview.js +0 -23
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +0 -23
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +0 -23
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +0 -23
- package/src/aichat/ui/controls/aichatcontextpanelview.js +0 -23
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptinputview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +0 -23
- package/src/aichat/ui/feed/aichatfeederroritemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +0 -23
- package/src/aichat/ui/feed/aichatfeeditemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +0 -23
- package/src/aichat/utils/eventnames.js +0 -23
- package/src/aichat/utils/promisequeue.js +0 -23
- package/src/aichathistory/aichathistory.js +0 -23
- package/src/aichathistory/aichathistorycontroller.js +0 -23
- package/src/aichathistory/aichathistoryui.js +0 -23
- package/src/aichathistory/model/aichathistoryconversations.js +0 -23
- package/src/aichathistory/model/aichathistoryitem.js +0 -23
- package/src/aichathistory/ui/aichathistorylistitemview.js +0 -24
- package/src/aichathistory/ui/aichathistorylistview.js +0 -23
- package/src/aichathistory/ui/aichathistorysectionlistview.js +0 -23
- package/src/aichathistory/ui/aichathistoryview.js +0 -23
- package/src/aichatshortcuts/aichatshortcuts.js +0 -23
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +0 -23
- package/src/aichatshortcuts/ui/aichatshortcutview.js +0 -23
- package/src/aiconfig.js +0 -23
- package/src/aicore/aiconnector.js +0 -23
- package/src/aicore/aiediting.js +0 -23
- package/src/aicore/model/aicapabilities.js +0 -23
- package/src/aicore/model/aicontext.js +0 -23
- package/src/aicore/model/aiinteraction.js +0 -23
- package/src/aicore/model/aimodels.js +0 -23
- package/src/aicore/model/aireply.js +0 -23
- package/src/aicore/pipeline/airesponseapplier.js +0 -24
- package/src/aicore/pipeline/airesponseparser.js +0 -24
- package/src/aicore/ui/aidisclaimerview.js +0 -23
- package/src/aicore/ui/aiskeleton.js +0 -23
- package/src/aicore/ui/aispinner.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +0 -23
- package/src/aicore/utils/common-translations.js +0 -23
- package/src/aicore/utils/createresizebutton.js +0 -23
- package/src/aicore/utils/documentposition.js +0 -23
- package/src/aicore/utils/documentrange.js +0 -23
- package/src/aicore/utils/eventnames.js +0 -23
- package/src/aicore/utils/geteditorfromcontext.js +0 -23
- package/src/aicore/utils/getoperationsfromreply.js +0 -23
- package/src/aicore/utils/getsuggestionpartsfromreply.js +0 -23
- package/src/aicore/utils/htmlparser.js +0 -23
- package/src/aicore/utils/htmlstreamer.js +0 -23
- package/src/aicore/utils/scrollmanager.js +0 -23
- package/src/aieditorintegration/aieditorintegration.js +0 -23
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +0 -23
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +0 -23
- package/src/aiquickactions/aiquickactions.js +0 -23
- package/src/aiquickactions/aiquickactionscommand.js +0 -23
- package/src/aiquickactions/aiquickactionsediting.js +0 -23
- package/src/aiquickactions/aiquickactionsui.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +0 -23
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +0 -23
- package/src/aireviewcore/aireviewcorecontroller.js +0 -23
- package/src/aireviewcore/aireviewcoreediting.js +0 -23
- package/src/aireviewcore/aireviewcoreui.js +0 -23
- package/src/aireviewcore/model/aireviewcheck.js +0 -23
- package/src/aireviewcore/model/aireviewchecklist.js +0 -23
- package/src/aireviewcore/model/aireviewcheckresult.js +0 -23
- package/src/aireviewcore/model/aireviewcheckresultchange.js +0 -23
- package/src/aireviewcore/model/aireviewcheckrun.js +0 -23
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +0 -23
- package/src/aireviewcore/types.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreview.js +0 -23
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +0 -23
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +0 -23
- package/src/aireviewmode/aireviewcheckdefinitions.js +0 -23
- package/src/aireviewmode/aireviewmode.js +0 -23
- package/src/aireviewmode/aireviewmodecontroller.js +0 -23
- package/src/aireviewmode/aireviewmodeui.js +0 -23
- package/src/aireviewmode/model/aireviewcheckcustom.js +0 -23
- package/src/aireviewmode/model/aireviewcheckextra.js +0 -23
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +0 -23
- package/src/aireviewmode/model/aireviewextracheckrun.js +0 -23
- package/src/aireviewmode/model/aireviewmodechecklist.js +0 -23
- package/src/aitabs/aitabs.js +0 -23
- package/src/aitabs/aitabsmainview.js +0 -23
- package/src/aitabs/tabs/aitabsview.js +0 -23
- package/src/aitabs/tabs/tabbuttonview.js +0 -23
- package/src/aitabs/tabs/tabpanelview.js +0 -23
- package/src/aitranslate/aitranslate.js +0 -23
- package/src/aitranslate/aitranslatecontroller.js +0 -23
- package/src/aitranslate/aitranslateui.js +0 -23
- package/src/aitranslate/model/aitranslatecheck.js +0 -23
- package/src/aitranslate/model/aitranslatechecklist.js +0 -23
- package/src/aitranslate/model/aitranslatecheckrun.js +0 -23
- package/src/aitranslate/ui/aitranslatechecklistview.js +0 -23
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +0 -23
- package/src/augmentation.js +0 -23
- package/src/errors.js +0 -23
- package/src/errorsmap.js +0 -23
- package/src/index.js +0 -23
- package/theme/aiassistant/ai-dropdown.css +0 -37
- package/theme/aiassistant/ai-form.css +0 -262
- package/theme/aiassistant/ai.css +0 -120
- package/theme/aiballoon/aiballoon.css +0 -58
- package/theme/aichat/aichat-controls/aichat-context-chip.css +0 -139
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +0 -207
- package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -45
- package/theme/aichat/aichat-controls/aichat-controls-button.css +0 -75
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +0 -77
- package/theme/aichat/aichat-controls/model-unavailable-message.css +0 -39
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -45
- package/theme/aichat/aichat-controls/prompt-input.css +0 -78
- package/theme/aichat/aichat-controls.css +0 -121
- package/theme/aichat/aichat.css +0 -55
- package/theme/aichat/aichatballoon.css +0 -122
- package/theme/aichat/aichatfeed.css +0 -430
- package/theme/aichat/aichathistory.css +0 -264
- package/theme/aichat/aiminitoolbar.css +0 -79
- package/theme/aichat/aisuggestioncontainer.css +0 -172
- package/theme/aichatshortcuts/aichatshortcuts.css +0 -84
- package/theme/aieditorintegration/aitogglebutton.css +0 -17
- package/theme/aiquickactions/aiquickactions.css +0 -177
- package/theme/aiquickactions/aiquickactionsballoon.css +0 -119
- package/theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css +0 -47
- package/theme/aireviewcore/aireviewcore-check-list.css +0 -278
- package/theme/aireviewcore/aireviewcore-check-run-result.css +0 -103
- package/theme/aireviewcore/aireviewcore-check-run.css +0 -237
- package/theme/aireviewcore/aireviewcore-review-completed.css +0 -52
- package/theme/aireviewcore/aireviewcore.css +0 -134
- package/theme/aitabs/aitabsresizebutton.css +0 -14
- package/theme/aitabs/aitabsview.css +0 -69
- package/theme/aitabs/tabs/tabbuttonview.css +0 -76
- package/theme/aitabs/tabs/tabsview.css +0 -89
- package/theme/aitranslate/aitranslate.css +0 -116
- package/theme/common/aibutton.css +0 -157
- package/theme/common/aidisclaimer.css +0 -29
- package/theme/common/aiheader.css +0 -99
- package/theme/common/ainotification.css +0 -65
- package/theme/common/aiskeleton.css +0 -54
- package/theme/common/aispinner.css +0 -58
- package/theme/common/aisuggestioncontentpartstate.css +0 -33
- package/theme/common/aisuggestioncontentparttoolbar.css +0 -34
- package/theme/common/aisuggestionstreamablecontent.css +0 -62
- package/theme/common/aitrackchanges.css +0 -29
- /package/{src → dist}/aiactions/model/aiactionsreply.d.ts +0 -0
- /package/{src → dist}/aiassistant/legacyerrors.d.ts +0 -0
- /package/{src → dist}/aichat/ui/feed/aichatfeederroritemview.d.ts +0 -0
- /package/{src → dist}/aichat/utils/eventnames.d.ts +0 -0
- /package/{src → dist}/aicore/model/aicontext.d.ts +0 -0
- /package/{src → dist}/aicore/utils/documentposition.d.ts +0 -0
- /package/{src → dist}/aicore/utils/documentrange.d.ts +0 -0
- /package/{src → dist}/aicore/utils/eventnames.d.ts +0 -0
- /package/{src → dist}/aicore/utils/htmlparser.d.ts +0 -0
- /package/{src → dist}/aicore/utils/htmlstreamer.d.ts +0 -0
- /package/{src → dist}/aicore/utils/scrollmanager.d.ts +0 -0
- /package/{src → dist}/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +0 -0
- /package/{src → dist}/aireviewcore/model/aireviewcheck.d.ts +0 -0
- /package/{src → dist}/aireviewcore/model/aireviewsystemcheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewcore/types.d.ts +0 -0
- /package/{src → dist}/aireviewmode/aireviewcheckdefinitions.d.ts +0 -0
- /package/{src → dist}/aireviewmode/aireviewmodeui.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcheckcustom.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcheckextra.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewextracheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewmodechecklist.d.ts +0 -0
- /package/{src → dist}/aitranslate/aitranslateui.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatecheck.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatechecklist.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatecheckrun.d.ts +0 -0
- /package/{src → dist}/aitranslate/ui/aitranslatechecklistview.d.ts +0 -0
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/errors.d.ts +0 -0
- /package/{src → dist}/errorsmap.d.ts +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module ai/aiactions/aiactions
|
|
7
|
-
*/
|
|
8
|
-
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
-
import { type AIActionsNames, AIConnector } from '../aicore/aiconnector.js';
|
|
10
|
-
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
11
|
-
import { AIEditing } from '../aicore/aiediting.js';
|
|
12
|
-
import { AIBalloon } from '../aiballoon/aiballoon.js';
|
|
13
|
-
import { DocumentCompare } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
14
|
-
export declare class AIActions extends Plugin {
|
|
15
|
-
/**
|
|
16
|
-
* @inheritDoc
|
|
17
|
-
*/
|
|
18
|
-
static get requires(): readonly [typeof AIConnector, typeof Dialog, typeof AIEditing, typeof AIBalloon, typeof DocumentCompare];
|
|
19
|
-
/**
|
|
20
|
-
* @inheritDoc
|
|
21
|
-
*/
|
|
22
|
-
static get pluginName(): "AIActions";
|
|
23
|
-
/**
|
|
24
|
-
* @inheritDoc
|
|
25
|
-
*/
|
|
26
|
-
static get isOfficialPlugin(): true;
|
|
27
|
-
/**
|
|
28
|
-
* @inheritDoc
|
|
29
|
-
*/
|
|
30
|
-
static get isPremiumPlugin(): true;
|
|
31
|
-
/**
|
|
32
|
-
* The busy state of the AI actions.
|
|
33
|
-
*
|
|
34
|
-
* It is set to `true` when there are AI response being streamed or rendered.
|
|
35
|
-
*
|
|
36
|
-
* @observable
|
|
37
|
-
*/
|
|
38
|
-
isBusy: boolean;
|
|
39
|
-
constructor(editor: Editor);
|
|
40
|
-
stopInteraction(): void;
|
|
41
|
-
executeAction(action: AIActionDefinition, label: string, icon?: string): Promise<void>;
|
|
42
|
-
/**
|
|
43
|
-
* @inheritDoc
|
|
44
|
-
*/
|
|
45
|
-
destroy(): Promise<void>;
|
|
46
|
-
private _createInteraction;
|
|
47
|
-
}
|
|
48
|
-
export type AIActionDefinition = {
|
|
49
|
-
actionName?: AIActionsNames;
|
|
50
|
-
args?: Record<string, string>;
|
|
51
|
-
userMessage?: string;
|
|
52
|
-
model?: string;
|
|
53
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x43fb57=_0x38d7;function _0x38d7(_0x2a29ea,_0x2c3f45){const _0x1eafd9=_0x1eaf();return _0x38d7=function(_0x38d7c5,_0x1e449f){_0x38d7c5=_0x38d7c5-0x1da;let _0x19daf1=_0x1eafd9[_0x38d7c5];return _0x19daf1;},_0x38d7(_0x2a29ea,_0x2c3f45);}(function(_0x56f6c2,_0x2d9d55){const _0x149cd9=_0x38d7,_0x710b5b=_0x56f6c2();while(!![]){try{const _0x286dc7=-parseInt(_0x149cd9(0x2ae))/0x1*(parseInt(_0x149cd9(0x211))/0x2)+-parseInt(_0x149cd9(0x228))/0x3+-parseInt(_0x149cd9(0x25e))/0x4*(-parseInt(_0x149cd9(0x2b6))/0x5)+-parseInt(_0x149cd9(0x26a))/0x6+parseInt(_0x149cd9(0x29b))/0x7*(parseInt(_0x149cd9(0x205))/0x8)+-parseInt(_0x149cd9(0x1f9))/0x9*(-parseInt(_0x149cd9(0x2ac))/0xa)+parseInt(_0x149cd9(0x233))/0xb*(-parseInt(_0x149cd9(0x230))/0xc);if(_0x286dc7===_0x2d9d55)break;else _0x710b5b['push'](_0x710b5b['shift']());}catch(_0x29d843){_0x710b5b['push'](_0x710b5b['shift']());}}}(_0x1eaf,0xd50d2));import{Plugin as _0x49eaed}from'ckeditor5/src/core.js';import{AIConnector as _0x4a4b53}from'../aicore/aiconnector.js';import{Dialog as _0x54601a,BodyCollection as _0x273a80}from'ckeditor5/src/ui.js';function _0x1eaf(){const _0x3c19fd=['_navigateToPrevious','stop','_clone','attachToDom','isCollapsed','54530faMicD','document','26097XRJJRj','stopListening','tryAgain','signal','_setLoadingState','error','_clearInteractionHistory','message','5iqvnij','upsertAIActionRating','locale','stickiness','Error\x20updating\x20content\x20in\x20replyCreated:','detachFromDom','_regularCalculateMarkerPath','_displayInteractionAtIndex','pluginName','startAutoScroll','getSelectedBlocks','upsertCustomAIActionRating','updateContent','trackChanges','_navigateToNext','indexOf','createPositionBefore','type','executeAction','TrackChanges','getLimitElement','rejected','accepted','some','close','_promiseQueue','clearContent','selectionRemoved','commands','length','documentContextContent','_executeAction','_createInteraction','459XwLfmf','name','rename','replyContentUpdated','_execute','AI_ACTIONS_GENERIC_ERROR','getSelectedTableCells','_appendChild','getSelectionAsFragment','parent','_refreshInteraction','slice','48vEzdct','schema','_copyMarkersToFragment','aiActionsBalloon','replyChangeGroupStateUpdated','markers','getSelectedContent','ai-no-track-changes','state','applySuggestion','batch','_currentInteractionIndex','74RmRwRz','open','getChildAtOffset','setIsLoading','_wrapWithCommonAncestors','_aiConnector','actionName','_actionsBalloonView','merge','setErrorState','nodeAfter','map','random','max','from','containsRange','AIActions','static','_createActionsBalloonView','_isAbortError','reinsert','resetShowChangesButton','TableSelection','507768lMiTLw','_stopInteraction','value','addOperation','interactionFinished','isTableSelection','stopAutoScroll','move','2208VxZHuY','affectsData','sourcePosition','47234xnpUxr','Error\x20updating\x20content\x20during\x20navigation:','listenTo','AIBalloon','filter','_applyChanges','pending','isTrackChangesOn','insert','updateMiniToolbarButtons','ck-ai-actions-balloon','_applyOperationsAsSuggestions','start','range','isDocumentOperation','abort','actionCallId','replies','modelToDataWithIds','includes','history','end','streaming','getChild','plugins','enqueue','isEqual','_interactions','getDocumentContext','replyCreated','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','createRange','toggleIsLoading','ai.availableReplyActions','_filterOperationsOutsideRange','showLoader','rootName','getAncestors','split','_clearLoadingState','_getExecuteDataRegular','model','TrackChangesEditing','6831068Rpokjd','has','queueEmptyPromise','hideError','startsWith','position','root','isPremiumPlugin','setSelection','path','_interactionParams','set','1180830xUyIrX','createPositionFromPath','_balloonShowDiff','editor','_clearErrorState','documentFragment','change','bind','hideLoader','createPositionAt','getRange','isOfficialPlugin','ai-request-aborted','_anchorOperation','icon','setChangeGroupState','get','toggleSuggestionDisplayMode','showPrevious','_setupApplyListeners','isBusy','showNext','applyOperation','selection','stopInteraction','nextSibling','version','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','getCommonAncestor','_getExecuteDataInTable','_interaction','push','dialogClosed','$graveyard','_setErrorState','focus','changeGroups','disableMiniToolbarButtons','operationsA','catch','requires','_bodyCollection','createPositionAfter','config','hasError','clone','AIConnector','getOperations','Attribute','1176623iNpgzS','insertSuggestion','showError','remove','getRoot','getRanges','destroy','Error\x20refreshing\x20interaction:','Error\x20updating\x20content\x20in\x20replyContentUpdated:','baseVersion','getFirstRange','howMany'];_0x1eaf=function(){return _0x3c19fd;};return _0x1eaf();}import{AIEditing as _0x342b6a,AI_VISUAL_SELECTION_MARKER_NAME as _0x13293d}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x203a12}from'./model/aiactionsinteraction.js';import{CKEditorError as _0xb6715a,first as _0x55212f}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x5e669c}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x3da172}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x115a61}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x2d45ca}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x44649d}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x330f11}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x1e6e1d,getOperationsFromReply as _0x11bc66}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x251fab,ModelRange as _0x58a0ef,ModelPosition as _0x514dc0,_DetachOperation as _0x4f12e9,transformOperationSets as _0x4d55f4}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x23f941}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIActionsBalloonView as _0x5eedac}from'../aiquickactions/ui/balloon/aiactionsballoonview.js';export class AIActions extends _0x49eaed{static get[_0x43fb57(0x292)](){return[_0x4a4b53,_0x54601a,_0x342b6a,_0x3da172,_0x330f11];}static get[_0x43fb57(0x1e0)](){const _0x339e94=_0x43fb57;return _0x339e94(0x221);}static get[_0x43fb57(0x275)](){return!0x0;}static get[_0x43fb57(0x265)](){return!0x0;}[_0x43fb57(0x216)];[_0x43fb57(0x24e)]=[];[_0x43fb57(0x210)]=0x0;[_0x43fb57(0x268)];[_0x43fb57(0x26c)]=!0x1;[_0x43fb57(0x1f1)];[_0x43fb57(0x293)];get[_0x43fb57(0x288)](){const _0x148fa5=_0x43fb57;return this[_0x148fa5(0x24e)][this[_0x148fa5(0x24e)][_0x148fa5(0x1f5)]-0x1];}[_0x43fb57(0x218)];constructor(_0x5ea6b6){const _0x582a6a=_0x43fb57;super(_0x5ea6b6),this[_0x582a6a(0x293)]=new _0x273a80(this[_0x582a6a(0x26d)][_0x582a6a(0x1da)]),this[_0x582a6a(0x293)][_0x582a6a(0x2aa)](),this[_0x582a6a(0x216)]=this[_0x582a6a(0x26d)][_0x582a6a(0x24b)][_0x582a6a(0x27a)](_0x582a6a(0x298)),this[_0x582a6a(0x269)](_0x582a6a(0x27e),!0x1),this[_0x582a6a(0x1f1)]=new _0x115a61();}[_0x43fb57(0x282)](){const _0x546b4a=_0x43fb57;this[_0x546b4a(0x229)]();}async[_0x43fb57(0x1ea)](_0x14ca48,_0xd4ce0e,_0x345079){const _0x55860a=_0x43fb57;if(this[_0x55860a(0x229)](),this[_0x55860a(0x26d)][_0x55860a(0x24b)][_0x55860a(0x25f)](_0x55860a(0x227))){if(this[_0x55860a(0x26d)][_0x55860a(0x24b)][_0x55860a(0x27a)](_0x55860a(0x227))[_0x55860a(0x1ff)]()){const {modelFragment:_0x7694f0,anchorData:_0x56bbb1}=this[_0x55860a(0x287)]();return this[_0x55860a(0x1f7)](_0x14ca48,_0x7694f0,_0x56bbb1,_0xd4ce0e,_0x345079);}}const {modelFragment:_0x19deac,anchorData:_0x308aab}=this[_0x55860a(0x25b)]();return this[_0x55860a(0x1f7)](_0x14ca48,_0x19deac,_0x308aab,_0xd4ce0e,_0x345079);}async[_0x43fb57(0x2a1)](){const _0x411070=_0x43fb57;return this[_0x411070(0x229)](),this[_0x411070(0x293)][_0x411070(0x1dd)](),super[_0x411070(0x2a1)]();}[_0x43fb57(0x223)](){const _0x20c9bb=_0x43fb57,_0x56f894=this[_0x20c9bb(0x26d)][_0x20c9bb(0x24b)][_0x20c9bb(0x25f)](_0x20c9bb(0x1eb));let _0x4accdd=this[_0x20c9bb(0x26d)][_0x20c9bb(0x295)][_0x20c9bb(0x27a)](_0x20c9bb(0x254))||[..._0x23f941];_0x56f894||(_0x4accdd=_0x4accdd[_0x20c9bb(0x237)](_0x32975b=>_0x20c9bb(0x29c)!=_0x32975b));const _0xd91dbb=this[_0x20c9bb(0x26d)][_0x20c9bb(0x1f4)][_0x20c9bb(0x27a)](_0x20c9bb(0x1e5)),_0x2a628d=new _0x5eedac(this[_0x20c9bb(0x26d)][_0x20c9bb(0x1da)],{'showApplyButton':!0x0,'showSuggestButton':_0x56f894,'miniToolbarConfig':{'showChanges':_0x20c9bb(0x278)},'availableActions':_0x4accdd});return _0x2a628d[_0x20c9bb(0x271)](_0x20c9bb(0x27e))['to'](this),_0xd91dbb&&_0x2a628d[_0x20c9bb(0x271)](_0x20c9bb(0x23a))['to'](_0xd91dbb,_0x20c9bb(0x22a)),_0x2a628d['on'](_0x20c9bb(0x2b0),()=>{const _0x47db63=_0x20c9bb;this[_0x47db63(0x203)]();}),_0x2a628d['on'](_0x20c9bb(0x27c),()=>{const _0x1730e4=_0x20c9bb;this[_0x1730e4(0x2a7)]();}),_0x2a628d['on'](_0x20c9bb(0x27f),()=>{const _0x175074=_0x20c9bb;this[_0x175074(0x1e6)]();}),_0x2a628d;}[_0x43fb57(0x25b)](){const _0x19dcff=_0x43fb57,_0x22efb9=this[_0x19dcff(0x26d)][_0x19dcff(0x25c)][_0x19dcff(0x2ad)][_0x19dcff(0x281)];if(_0x22efb9[_0x19dcff(0x2ab)]){const _0x31013b=_0x55212f(_0x22efb9[_0x19dcff(0x1e2)]())||this[_0x19dcff(0x26d)][_0x19dcff(0x25c)][_0x19dcff(0x206)][_0x19dcff(0x1ec)](_0x22efb9);this[_0x19dcff(0x26d)][_0x19dcff(0x25c)][_0x19dcff(0x270)](_0x378111=>{const _0xef863=_0x19dcff;_0x378111[_0xef863(0x266)](_0x31013b,'in');});}const _0x22a9bc=_0x22efb9[_0x19dcff(0x2a5)](),_0x113c3b=this[_0x19dcff(0x215)](this[_0x19dcff(0x26d)][_0x19dcff(0x25c)][_0x19dcff(0x20b)](_0x22efb9),_0x22a9bc[_0x19dcff(0x23f)],_0x22a9bc[_0x19dcff(0x248)]);this[_0x19dcff(0x207)](_0x113c3b,_0x22efb9,{'isTableSelection':!0x1});const _0x50c435=_0x22efb9[_0x19dcff(0x2a5)]()[_0x19dcff(0x23f)],_0x510507=new Map();let _0x4521dc=_0x113c3b;for(let _0xef848f=0x0;_0xef848f<_0x50c435[_0x19dcff(0x267)][_0x19dcff(0x1f5)];_0xef848f++)_0x510507[_0x19dcff(0x269)](_0x4521dc,_0x50c435[_0x19dcff(0x267)][_0xef848f]),_0x4521dc=_0x4521dc[_0x19dcff(0x24a)](0x0);return{'modelFragment':_0x113c3b,'anchorData':_0x510507};}[_0x43fb57(0x287)](){const _0x22d248=_0x43fb57,_0xfce6c3=this[_0x22d248(0x26d)][_0x22d248(0x25c)][_0x22d248(0x2ad)][_0x22d248(0x281)],_0x474aad=this[_0x22d248(0x26d)][_0x22d248(0x24b)][_0x22d248(0x27a)](_0x22d248(0x227))[_0x22d248(0x201)](),_0x5492fb=_0xfce6c3[_0x22d248(0x2a5)]()[_0x22d248(0x23f)][_0x22d248(0x202)][_0x22d248(0x202)],_0x1d642b=this[_0x22d248(0x26d)][_0x22d248(0x25c)][_0x22d248(0x252)](this[_0x22d248(0x26d)][_0x22d248(0x25c)][_0x22d248(0x1e8)](_0x5492fb),this[_0x22d248(0x26d)][_0x22d248(0x25c)][_0x22d248(0x294)](_0x5492fb)),_0x281f8c=this[_0x22d248(0x215)](_0x474aad,_0x1d642b[_0x22d248(0x23f)],_0x1d642b[_0x22d248(0x248)]);this[_0x22d248(0x207)](_0x281f8c,_0xfce6c3,{'isTableSelection':!0x0});const _0x561392=_0xfce6c3[_0x22d248(0x2a5)]()[_0x22d248(0x23f)],_0x23b5a2=new Map();let _0x2888c3=_0x281f8c;for(let _0x8cb2c8=0x0;_0x8cb2c8<_0x561392[_0x22d248(0x267)][_0x22d248(0x1f5)];_0x8cb2c8++)if(_0x23b5a2[_0x22d248(0x269)](_0x2888c3,_0x561392[_0x22d248(0x267)][_0x8cb2c8]),_0x8cb2c8<_0x561392[_0x22d248(0x267)][_0x22d248(0x1f5)]-0x1)_0x2888c3=_0x2888c3[_0x22d248(0x24a)](0x0);else{let _0x1b3059=_0x2888c3[_0x22d248(0x283)];for(;_0x1b3059;)_0x23b5a2[_0x22d248(0x269)](_0x1b3059,_0x561392[_0x22d248(0x267)][_0x8cb2c8]),_0x1b3059=_0x1b3059[_0x22d248(0x283)];}return{'modelFragment':_0x281f8c,'anchorData':_0x23b5a2};}async[_0x43fb57(0x1f7)](_0x5cc704,_0x316238,_0x4a18a5,_0x2e227f,_0xbc5844){const _0x28f43f=_0x43fb57,_0x290e21=this[_0x28f43f(0x26d)][_0x28f43f(0x24b)][_0x28f43f(0x27a)](_0x342b6a),_0x2200e3=this[_0x28f43f(0x26d)][_0x28f43f(0x24b)][_0x28f43f(0x27a)](_0x3da172),_0x4e013a=this[_0x28f43f(0x26d)][_0x28f43f(0x25c)][_0x28f43f(0x2ad)][_0x28f43f(0x281)],_0x146fc5=await _0x290e21[_0x28f43f(0x245)](_0x316238),_0x223c2a=this[_0x28f43f(0x26d)][_0x28f43f(0x25c)][_0x28f43f(0x2ad)][_0x28f43f(0x284)],_0x57564c=[..._0x4e013a[_0x28f43f(0x2a0)]()];return this[_0x28f43f(0x218)]||(this[_0x28f43f(0x218)]=this[_0x28f43f(0x223)]()),this[_0x28f43f(0x2b4)](),this[_0x28f43f(0x26e)](),this[_0x28f43f(0x218)][_0x28f43f(0x1f2)](),_0x2200e3[_0x28f43f(0x212)]({'index':0x3e8*Math[_0x28f43f(0x21d)]()%0x3e8,'title':_0x2e227f,'icon':_0xbc5844||_0x5e669c,'mainView':this[_0x28f43f(0x218)],'class':_0x28f43f(0x23d),'ranges':_0x57564c,'id':_0x28f43f(0x208)}),this[_0x28f43f(0x2b2)](),this[_0x28f43f(0x2af)](this[_0x28f43f(0x218)]),this[_0x28f43f(0x2af)](_0x2200e3),this[_0x28f43f(0x268)]={'action':_0x5cc704,'content':_0x146fc5,'version':_0x223c2a,'aiBalloon':_0x2200e3,'modelFragment':_0x316238,'anchorData':_0x4a18a5},this[_0x28f43f(0x27d)](),this[_0x28f43f(0x235)](_0x2200e3,_0x28f43f(0x1f3),()=>{const _0x3c7b65=_0x28f43f;this[_0x3c7b65(0x229)](),this[_0x3c7b65(0x218)][_0x3c7b65(0x28f)]();}),this[_0x28f43f(0x235)](_0x2200e3,_0x28f43f(0x28a),(_0x4e2daf,{id:_0x9d2394})=>{const _0x5e4c26=_0x28f43f;if(_0x5e4c26(0x208)===_0x9d2394){if(this[_0x5e4c26(0x288)]&&this[_0x5e4c26(0x288)][_0x5e4c26(0x244)][_0x5e4c26(0x1f5)]>0x0){const _0x15cae3=this[_0x5e4c26(0x288)][_0x5e4c26(0x244)][this[_0x5e4c26(0x288)][_0x5e4c26(0x244)][_0x5e4c26(0x1f5)]-0x1],_0x1fab42=_0x15cae3[_0x5e4c26(0x28e)][0x0];_0x1fab42&&_0x5e4c26(0x239)===_0x1fab42[_0x5e4c26(0x20d)]&&_0x15cae3[_0x5e4c26(0x279)](0x0,_0x5e4c26(0x1ed));}this[_0x5e4c26(0x229)](),this[_0x5e4c26(0x2b4)](),this[_0x5e4c26(0x2af)](this[_0x5e4c26(0x218)]),this[_0x5e4c26(0x2af)](_0x2200e3);}}),this[_0x28f43f(0x1f8)](_0x146fc5,_0x223c2a,_0x2200e3,_0x5cc704);}[_0x43fb57(0x27d)](){const _0x2d2a66=_0x43fb57;if(!this[_0x2d2a66(0x268)])return;const {modelFragment:_0x27aa04,anchorData:_0x3da981}=this[_0x2d2a66(0x268)];this[_0x2d2a66(0x235)](this[_0x2d2a66(0x218)],_0x2d2a66(0x20e),()=>{const _0x46f0c6=_0x2d2a66;this[_0x46f0c6(0x238)](_0x27aa04,_0x3da981,!0x1);}),this[_0x2d2a66(0x235)](this[_0x2d2a66(0x218)],_0x2d2a66(0x29c),()=>{const _0x1e7c0b=_0x2d2a66;this[_0x1e7c0b(0x238)](_0x27aa04,_0x3da981,!0x0);});}[_0x43fb57(0x215)](_0x3885d8,_0x4789c3,_0x1b2d2d){const _0x140621=_0x43fb57,_0x722863=this[_0x140621(0x26d)][_0x140621(0x25c)][_0x140621(0x252)](_0x4789c3,_0x1b2d2d)[_0x140621(0x286)](),_0x36717f=_0x722863['is'](_0x140621(0x26f))?[]:_0x722863[_0x140621(0x258)]({'includeSelf':!0x0})[_0x140621(0x204)](0x1);if(_0x36717f[_0x140621(0x1f5)]){const _0x54f303=_0x36717f[_0x140621(0x21c)](_0x42b87f=>_0x42b87f[_0x140621(0x2a9)](!0x1));for(let _0x3206dc=0x1;_0x3206dc<_0x54f303[_0x140621(0x1f5)];_0x3206dc++)_0x54f303[_0x3206dc-0x1][_0x140621(0x200)](_0x54f303[_0x3206dc]);return _0x54f303[_0x54f303[_0x140621(0x1f5)]-0x1][_0x140621(0x200)](_0x3885d8),new _0x251fab(_0x54f303[0x0]);}return _0x3885d8;}[_0x43fb57(0x207)](_0x47b52e,_0x5749ea,_0xa88b93={'isTableSelection':!0x1}){const _0x473648=_0x43fb57,_0x2052d5=this[_0x473648(0x26d)][_0x473648(0x25c)],_0x4cbd21=Array[_0x473648(0x21f)](_0x5749ea[_0x473648(0x2a0)]()),_0x159cf4=_0x5749ea[_0x473648(0x2a5)]()[_0x473648(0x23f)];for(const _0x33778c of _0x2052d5[_0x473648(0x20a)]){if(_0x33778c[_0x473648(0x1fa)][_0x473648(0x262)](_0x13293d)||!_0x33778c[_0x473648(0x231)])continue;const _0x136479=_0x33778c[_0x473648(0x274)]();if(!_0x4cbd21[_0x473648(0x1ef)](_0x44098c=>_0x44098c[_0x473648(0x220)](_0x136479,!0x0)))continue;const _0x44730c=this[_0x473648(0x1de)](_0x136479[_0x473648(0x23f)],_0x159cf4,_0xa88b93[_0x473648(0x22d)]),_0x3b496d=this[_0x473648(0x1de)](_0x136479[_0x473648(0x248)],_0x159cf4,_0xa88b93[_0x473648(0x22d)]),_0x14cf0c=_0x2052d5[_0x473648(0x26b)](_0x47b52e,_0x44730c),_0x12211b=_0x2052d5[_0x473648(0x26b)](_0x47b52e,_0x3b496d);if(!_0x14cf0c[_0x473648(0x24d)](_0x12211b)){const _0x360bdb=_0x2052d5[_0x473648(0x252)](_0x14cf0c,_0x12211b);_0x47b52e[_0x473648(0x20a)][_0x473648(0x269)](_0x33778c[_0x473648(0x1fa)],_0x360bdb);}}}[_0x43fb57(0x1de)](_0x5a8585,_0x30d962,_0x1f9d3f=!0x1){const _0x5b4b7f=_0x43fb57,_0x326465=[..._0x5a8585[_0x5b4b7f(0x267)][_0x5b4b7f(0x204)]()];for(let _0xf5ff8d=0x0;_0xf5ff8d<Math[_0x5b4b7f(0x21e)](_0x30d962[_0x5b4b7f(0x267)][_0x5b4b7f(0x1f5)],_0x5a8585[_0x5b4b7f(0x267)][_0x5b4b7f(0x1f5)]);_0xf5ff8d++){const _0x7d22bd=_0x30d962[_0x5b4b7f(0x267)][_0xf5ff8d]||0x0,_0x4cb2ad=(_0x5a8585[_0x5b4b7f(0x267)][_0xf5ff8d]||0x0)-_0x7d22bd;if(_0x326465[_0xf5ff8d]=_0x4cb2ad,0x0!==_0x4cb2ad&&!_0x1f9d3f)break;}return _0x326465;}async[_0x43fb57(0x1f8)](_0x269618,_0x4769c2,_0x3f71f5,_0x422e0c){const _0x428a60=_0x43fb57,_0x34d371=this[_0x428a60(0x26d)];this[_0x428a60(0x268)]||(this[_0x428a60(0x268)]={'action':_0x422e0c,'content':_0x269618,'version':_0x4769c2,'aiBalloon':_0x3f71f5,'modelFragment':this[_0x428a60(0x26d)][_0x428a60(0x25c)][_0x428a60(0x20b)](this[_0x428a60(0x26d)][_0x428a60(0x25c)][_0x428a60(0x2ad)][_0x428a60(0x281)]),'anchorData':new Map()});const _0x5b6a25=new _0x203a12({'connector':this[_0x428a60(0x216)],'editor':_0x34d371,'content':_0x269618,'version':_0x4769c2,..._0x422e0c});this[_0x428a60(0x24e)][_0x428a60(0x289)](_0x5b6a25);const _0x311c80=(_0x468a97,_0x5bb7b1=!0x1,_0x35a793=_0x428a60(0x249))=>this[_0x428a60(0x1f1)][_0x428a60(0x24c)](async _0x27b994=>{const _0x217ad6=_0x428a60;try{const _0x102c8b=_0x44649d({'editor':_0x34d371,'changeGroups':_0x468a97[_0x217ad6(0x28e)],'documentContextContent':_0x468a97[_0x217ad6(0x1f6)],'showDiff':_0x5bb7b1,'trimUnchanged':!0x1});_0x102c8b[_0x217ad6(0x1f5)]&&await this[_0x217ad6(0x218)][_0x217ad6(0x1e4)]({'part':_0x102c8b[0x0],'renderingStrategy':_0x35a793,'abortSignal':_0x27b994});}catch(_0x11a62d){if(this[_0x217ad6(0x224)](_0x11a62d))return;throw _0x11a62d;}});this[_0x428a60(0x288)]['on'](_0x428a60(0x250),(_0x45d23e,_0x231630)=>{const _0x58dfc1=_0x428a60;this[_0x58dfc1(0x218)][_0x58dfc1(0x272)](),this[_0x58dfc1(0x218)][_0x58dfc1(0x1e1)](),_0x311c80(_0x231630)[_0x58dfc1(0x291)](_0x35157f=>{const _0x50cd25=_0x58dfc1;this[_0x50cd25(0x224)](_0x35157f)||(console[_0x50cd25(0x2b3)](_0x50cd25(0x1dc),_0x35157f),this[_0x50cd25(0x28c)](_0x5b6a25));});}),this[_0x428a60(0x288)]['on'](_0x428a60(0x1fc),(_0x585f3b,_0x63c02d)=>{const _0x471edc=_0x428a60;_0x311c80(_0x63c02d)[_0x471edc(0x291)](_0x1f4e8f=>{const _0x5c8558=_0x471edc;this[_0x5c8558(0x224)](_0x1f4e8f)||(console[_0x5c8558(0x2b3)](_0x5c8558(0x2a3),_0x1f4e8f),this[_0x5c8558(0x28c)](_0x5b6a25));});}),this[_0x428a60(0x288)]['on'](_0x428a60(0x22c),async()=>{const _0x2318ed=_0x428a60;try{await this[_0x2318ed(0x25a)](),this[_0x2318ed(0x218)][_0x2318ed(0x23c)](this[_0x2318ed(0x24e)][_0x2318ed(0x1f5)],this[_0x2318ed(0x210)]),await this[_0x2318ed(0x1f1)][_0x2318ed(0x260)];}catch(_0x34a7b3){this[_0x2318ed(0x224)](_0x34a7b3)||(console[_0x2318ed(0x2b3)](_0x2318ed(0x285),_0x34a7b3),this[_0x2318ed(0x28c)](_0x5b6a25));}finally{this[_0x2318ed(0x218)][_0x2318ed(0x22e)]();}}),this[_0x428a60(0x235)](this[_0x428a60(0x218)],_0x428a60(0x27b),async(_0x5d5025,{showDiff:_0x4b0ae2})=>{const _0x88a18b=_0x428a60;try{this[_0x88a18b(0x26c)]=_0x4b0ae2;const _0xb29d44=this[_0x88a18b(0x288)][_0x88a18b(0x244)][this[_0x88a18b(0x288)][_0x88a18b(0x244)][_0x88a18b(0x1f5)]-0x1];_0xb29d44&&await _0x311c80(_0xb29d44,_0x4b0ae2,_0x88a18b(0x222));}catch(_0x1d5550){this[_0x88a18b(0x224)](_0x1d5550)||(console[_0x88a18b(0x2b3)](_0x88a18b(0x251),_0x1d5550),this[_0x88a18b(0x28c)](_0x5b6a25));}}),this[_0x428a60(0x288)]['on'](_0x428a60(0x209),(_0x559f76,{reply:_0x16a846})=>{const _0x528325=_0x428a60,_0x2dd9a0={'positiveCount':_0x16a846[_0x528325(0x28e)][_0x528325(0x237)](_0x129a64=>_0x528325(0x1ee)===_0x129a64[_0x528325(0x20d)])[_0x528325(0x1f5)],'totalCount':_0x16a846[_0x528325(0x28e)][_0x528325(0x1f5)]},_0x5f2273=this[_0x528325(0x288)][_0x528325(0x243)],_0x39c276=this[_0x528325(0x288)][_0x528325(0x217)];_0x39c276?this[_0x528325(0x216)][_0x528325(0x2b7)](_0x39c276,_0x5f2273,_0x2dd9a0):this[_0x528325(0x216)][_0x528325(0x1e3)](_0x5f2273,_0x2dd9a0);}),this[_0x428a60(0x2b2)]();try{const _0x48cd1e=await this[_0x428a60(0x288)][_0x428a60(0x23f)]();return this[_0x428a60(0x218)][_0x428a60(0x23c)](this[_0x428a60(0x24e)][_0x428a60(0x1f5)],this[_0x428a60(0x210)]),_0x48cd1e;}catch(_0x1bd798){if(this[_0x428a60(0x224)](_0x1bd798))return;this[_0x428a60(0x218)][_0x428a60(0x272)](),this[_0x428a60(0x28c)](_0x5b6a25);}}[_0x43fb57(0x238)](_0x4cb751,_0x14723a,_0x48c11f){const _0x4aa8fc=_0x43fb57,_0x1fffb9=this[_0x4aa8fc(0x26d)];if(_0x48c11f&&!_0x1fffb9[_0x4aa8fc(0x24b)][_0x4aa8fc(0x25f)](_0x4aa8fc(0x1eb)))throw new _0xb6715a(_0x4aa8fc(0x20c),null);const _0x156062=this[_0x4aa8fc(0x26d)][_0x4aa8fc(0x24b)][_0x4aa8fc(0x27a)](_0x330f11),_0x206ba5=this[_0x4aa8fc(0x24e)][this[_0x4aa8fc(0x24e)][_0x4aa8fc(0x1f5)]-0x1-this[_0x4aa8fc(0x210)]];if(!_0x206ba5||!_0x206ba5[_0x4aa8fc(0x244)][_0x4aa8fc(0x1f5)])return;const _0x5221f5=_0x206ba5[_0x4aa8fc(0x244)][_0x206ba5[_0x4aa8fc(0x244)][_0x4aa8fc(0x1f5)]-0x1],_0x5c29c2=_0x5221f5[_0x4aa8fc(0x28e)];_0x5221f5[_0x4aa8fc(0x279)](0x0,_0x4aa8fc(0x1ee));let _0x5b064c=_0x11bc66({'editor':_0x1fffb9,'reply':_0x5221f5,'interaction':_0x206ba5,'groups':_0x5c29c2,'transform':!0x1,'documentCompare':_0x156062,'documentCompareOptions':{'anchor':_0x1fffb9[_0x4aa8fc(0x25c)][_0x4aa8fc(0x273)](_0x4cb751,0x0),'markDeletions':_0x48c11f}});_0x5b064c=this[_0x4aa8fc(0x255)](_0x5b064c,_0x14723a);for(const _0x581255 of _0x5b064c)this[_0x4aa8fc(0x277)](_0x14723a,_0x581255,_0x1fffb9[_0x4aa8fc(0x25c)][_0x4aa8fc(0x2ad)][_0x4aa8fc(0x29f)]());const _0xf29853=_0x206ba5[_0x4aa8fc(0x24f)]()[_0x4aa8fc(0x284)],_0x578521=_0x1fffb9[_0x4aa8fc(0x25c)][_0x4aa8fc(0x2ad)][_0x4aa8fc(0x247)][_0x4aa8fc(0x299)](_0xf29853),_0x408692={'document':_0x1fffb9[_0x4aa8fc(0x25c)][_0x4aa8fc(0x2ad)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x234099=_0x4d55f4(_0x5b064c,_0x578521,_0x408692)[_0x4aa8fc(0x290)];_0x1fffb9[_0x4aa8fc(0x25c)][_0x4aa8fc(0x270)](_0x1bf916=>{const _0x338e1b=_0x4aa8fc;if(_0x1bf916[_0x338e1b(0x266)](_0x1fffb9[_0x338e1b(0x25c)][_0x338e1b(0x2ad)][_0x338e1b(0x281)][_0x338e1b(0x28d)]),_0x48c11f)_0x1fffb9[_0x338e1b(0x24b)][_0x338e1b(0x27a)](_0x338e1b(0x25d))[_0x338e1b(0x23e)](_0x234099);else{for(const _0x2d4895 of _0x234099)_0x2d4895[_0x338e1b(0x2a4)]=_0x1fffb9[_0x338e1b(0x25c)][_0x338e1b(0x2ad)][_0x338e1b(0x284)],_0x1e6e1d(_0x1fffb9,_0x2d4895),_0x1bf916[_0x338e1b(0x20f)][_0x338e1b(0x22b)](_0x2d4895),_0x1fffb9[_0x338e1b(0x25c)][_0x338e1b(0x280)](_0x2d4895);}}),this[_0x4aa8fc(0x26d)][_0x4aa8fc(0x24b)][_0x4aa8fc(0x27a)](_0x4aa8fc(0x236))[_0x4aa8fc(0x1f0)]();}[_0x43fb57(0x255)](_0x5210ae,_0x176f83){const _0x504a8a=_0x43fb57;return _0x5210ae[_0x504a8a(0x237)](_0x1e119d=>{const _0x18f57b=_0x504a8a;if(_0x18f57b(0x1fb)==_0x1e119d[_0x18f57b(0x1e9)]){const _0x1be8f2=_0x1e119d[_0x18f57b(0x263)][_0x18f57b(0x21b)];return!_0x176f83[_0x18f57b(0x25f)](_0x1be8f2);}if(_0x1e119d[_0x18f57b(0x1e9)][_0x18f57b(0x1e7)](_0x18f57b(0x29a))>-0x1){const _0x434ba2=_0x1e119d[_0x18f57b(0x240)][_0x18f57b(0x23f)][_0x18f57b(0x21b)];return!_0x176f83[_0x18f57b(0x25f)](_0x434ba2);}return!0x0;});}[_0x43fb57(0x277)](_0x1cdb5b,_0x2ad6cb,_0x103e5b){const _0x3e9add=_0x43fb57,_0x296f86=_0x2ad6cb[_0x3e9add(0x297)]();for(const _0x16f2fb in _0x2ad6cb){const _0x465c1b=_0x2ad6cb[_0x16f2fb];_0x465c1b instanceof _0x58a0ef?_0x2ad6cb[_0x16f2fb]=new _0x58a0ef(_0x3bb0b8(_0x465c1b[_0x3e9add(0x23f)]),_0x3bb0b8(_0x465c1b[_0x3e9add(0x248)])):_0x465c1b instanceof _0x514dc0&&(_0x2ad6cb[_0x16f2fb]=_0x3bb0b8(_0x465c1b));}if([_0x3e9add(0x23b),_0x3e9add(0x22f),_0x3e9add(0x29e),_0x3e9add(0x225),_0x3e9add(0x259),_0x3e9add(0x219)][_0x3e9add(0x246)](_0x296f86[_0x3e9add(0x1e9)])){if(_0x296f86[_0x3e9add(0x241)]=!0x1,_0x296f86[_0x3e9add(0x2a4)]=null,_0x3e9add(0x29e)==_0x296f86[_0x3e9add(0x1e9)]){const _0x1f4414=_0x296f86[_0x3e9add(0x232)],_0x21bbdb=_0x296f86[_0x3e9add(0x2a6)];new _0x4f12e9(_0x1f4414,_0x21bbdb)[_0x3e9add(0x1fd)]();}else _0x296f86[_0x3e9add(0x1fd)]();}function _0x3bb0b8(_0x40237c){const _0x398e0c=_0x3e9add;if(_0x398e0c(0x28b)==_0x40237c[_0x398e0c(0x264)][_0x398e0c(0x257)])return _0x40237c;const _0x2bbb79=[];let _0x5226ba=_0x40237c[_0x398e0c(0x264)];for(let _0x250ade=0x0;_0x250ade<_0x40237c[_0x398e0c(0x267)][_0x398e0c(0x1f5)];_0x250ade++){const _0x2baecd=_0x1cdb5b[_0x398e0c(0x27a)](_0x5226ba)||0x0;_0x2bbb79[_0x250ade]=_0x40237c[_0x398e0c(0x267)][_0x250ade]+_0x2baecd,_0x5226ba=_0x5226ba[_0x398e0c(0x213)](_0x40237c[_0x398e0c(0x267)][_0x250ade]);}return new _0x514dc0(_0x103e5b,_0x2bbb79,_0x40237c[_0x398e0c(0x1db)]);}}[_0x43fb57(0x203)](){const _0x5a39f2=_0x43fb57;if(!this[_0x5a39f2(0x268)])return;this[_0x5a39f2(0x24e)][_0x5a39f2(0x1f5)]>0x0&&this[_0x5a39f2(0x229)](),this[_0x5a39f2(0x210)]=0x0,this[_0x5a39f2(0x26c)]=!0x1;const {action:_0x50b840,content:_0x16000f,version:_0x497583,aiBalloon:_0x5863c9}=this[_0x5a39f2(0x268)];this[_0x5a39f2(0x26e)](),this[_0x5a39f2(0x218)][_0x5a39f2(0x1f2)](),this[_0x5a39f2(0x218)][_0x5a39f2(0x256)](),this[_0x5a39f2(0x218)][_0x5a39f2(0x226)](),this[_0x5a39f2(0x218)][_0x5a39f2(0x23c)](this[_0x5a39f2(0x24e)][_0x5a39f2(0x1f5)],this[_0x5a39f2(0x210)]),this[_0x5a39f2(0x2af)](this[_0x5a39f2(0x218)]),this[_0x5a39f2(0x27d)](),this[_0x5a39f2(0x1f8)](_0x16000f,_0x497583,_0x5863c9,_0x50b840)[_0x5a39f2(0x291)](_0x1b0921=>{const _0x177f19=_0x5a39f2;this[_0x177f19(0x224)](_0x1b0921)||console[_0x177f19(0x2b3)](_0x177f19(0x2a2),_0x1b0921);});}[_0x43fb57(0x224)](_0x56a5e5){const _0x26b3bd=_0x43fb57;return!!_0x56a5e5[_0x26b3bd(0x2b5)]&&_0x56a5e5[_0x26b3bd(0x2b5)][_0x26b3bd(0x262)](_0x26b3bd(0x276));}[_0x43fb57(0x2b4)](){const _0xcc3b40=_0x43fb57;this[_0xcc3b40(0x24e)]=[],this[_0xcc3b40(0x268)]=void 0x0,this[_0xcc3b40(0x210)]=0x0,this[_0xcc3b40(0x218)][_0xcc3b40(0x23c)](this[_0xcc3b40(0x24e)][_0xcc3b40(0x1f5)],this[_0xcc3b40(0x210)]);}[_0x43fb57(0x229)](){const _0x31684f=_0x43fb57;this[_0x31684f(0x288)]&&this[_0x31684f(0x288)][_0x31684f(0x2a8)](),this[_0x31684f(0x1f1)][_0x31684f(0x242)](),this[_0x31684f(0x27e)]=!0x1,this[_0x31684f(0x268)]&&this[_0x31684f(0x218)][_0x31684f(0x22e)]();}[_0x43fb57(0x2a7)](){const _0x41cbb8=_0x43fb57,_0x475771=this[_0x41cbb8(0x24e)][_0x41cbb8(0x1f5)];this[_0x41cbb8(0x210)]<_0x475771-0x1&&this[_0x41cbb8(0x1df)](this[_0x41cbb8(0x210)]+0x1);}[_0x43fb57(0x1e6)](){const _0x13c615=_0x43fb57;this[_0x13c615(0x210)]>0x0&&this[_0x13c615(0x1df)](this[_0x13c615(0x210)]-0x1);}async[_0x43fb57(0x1df)](_0x4d4e76){const _0x49e0c3=_0x43fb57;if(!this[_0x49e0c3(0x268)])return;this[_0x49e0c3(0x210)]=_0x4d4e76;const _0x296b2f=this[_0x49e0c3(0x24e)][this[_0x49e0c3(0x24e)][_0x49e0c3(0x1f5)]-0x1-this[_0x49e0c3(0x210)]];if(!_0x296b2f)return;if(_0x296b2f[_0x49e0c3(0x296)])return this[_0x49e0c3(0x28c)](_0x296b2f),void this[_0x49e0c3(0x218)][_0x49e0c3(0x23c)](this[_0x49e0c3(0x24e)][_0x49e0c3(0x1f5)],this[_0x49e0c3(0x210)]);if(!_0x296b2f[_0x49e0c3(0x244)][_0x49e0c3(0x1f5)])return;this[_0x49e0c3(0x218)][_0x49e0c3(0x261)](),this[_0x49e0c3(0x268)]&&this[_0x49e0c3(0x26e)]();const _0xa7c9ae=_0x296b2f[_0x49e0c3(0x244)][_0x296b2f[_0x49e0c3(0x244)][_0x49e0c3(0x1f5)]-0x1];if(_0xa7c9ae){const _0x28898a=this[_0x49e0c3(0x26d)];try{const _0x2fe706=_0x44649d({'editor':_0x28898a,'changeGroups':_0xa7c9ae[_0x49e0c3(0x28e)],'documentContextContent':_0xa7c9ae[_0x49e0c3(0x1f6)],'showDiff':this[_0x49e0c3(0x26c)],'trimUnchanged':!0x1});await new Promise(_0xf4269e=>setTimeout(_0xf4269e,0x32)),await this[_0x49e0c3(0x218)][_0x49e0c3(0x1e4)]({'part':_0x2fe706[0x0],'renderingStrategy':_0x49e0c3(0x222),'abortSignal':new AbortController()[_0x49e0c3(0x2b1)]});}catch(_0xc0c080){this[_0x49e0c3(0x224)](_0xc0c080)||console[_0x49e0c3(0x2b3)](_0x49e0c3(0x234),_0xc0c080);}}this[_0x49e0c3(0x218)][_0x49e0c3(0x23c)](this[_0x49e0c3(0x24e)][_0x49e0c3(0x1f5)],this[_0x49e0c3(0x210)]);}[_0x43fb57(0x2b2)](){const _0x1a5533=_0x43fb57;this[_0x1a5533(0x218)][_0x1a5533(0x214)](!0x0),this[_0x1a5533(0x27e)]=!0x0;}async[_0x43fb57(0x28c)](_0x16f282){const _0x22566d=_0x43fb57,_0x4d8b4a=_0x2d45ca(this[_0x22566d(0x26d)][_0x22566d(0x1da)],_0x22566d(0x1fe));this[_0x22566d(0x218)][_0x22566d(0x29d)](_0x4d8b4a),_0x16f282[_0x22566d(0x296)]=!0x0,await this[_0x22566d(0x1f1)][_0x22566d(0x260)],this[_0x22566d(0x218)][_0x22566d(0x21a)](),this[_0x22566d(0x218)][_0x22566d(0x253)](!0x0);}[_0x43fb57(0x26e)](){const _0x3cb0a6=_0x43fb57;this[_0x3cb0a6(0x218)][_0x3cb0a6(0x261)](),this[_0x3cb0a6(0x218)][_0x3cb0a6(0x253)](!0x1);}async[_0x43fb57(0x25a)](){const _0xb97599=_0x43fb57;await this[_0xb97599(0x1f1)][_0xb97599(0x260)],this[_0xb97599(0x27e)]=!0x1,this[_0xb97599(0x218)][_0xb97599(0x214)](!0x1);}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x203015=_0xb2a3;(function(_0x5e501d,_0x35d3d1){const _0x2bde75=_0xb2a3,_0x5ca9e0=_0x5e501d();while(!![]){try{const _0x4067ee=-parseInt(_0x2bde75(0xcc))/0x1+-parseInt(_0x2bde75(0xb9))/0x2*(-parseInt(_0x2bde75(0xc7))/0x3)+-parseInt(_0x2bde75(0xca))/0x4*(-parseInt(_0x2bde75(0xc9))/0x5)+-parseInt(_0x2bde75(0xbe))/0x6+parseInt(_0x2bde75(0xc0))/0x7*(-parseInt(_0x2bde75(0xce))/0x8)+parseInt(_0x2bde75(0xb3))/0x9*(parseInt(_0x2bde75(0xba))/0xa)+parseInt(_0x2bde75(0xcb))/0xb;if(_0x4067ee===_0x35d3d1)break;else _0x5ca9e0['push'](_0x5ca9e0['shift']());}catch(_0x1322e4){_0x5ca9e0['push'](_0x5ca9e0['shift']());}}}(_0x1fcc,0x6bd0f));import{AIInteraction as _0x414532,AI_MODEL_EVENT_NAMES as _0x2f0ff2}from'../../aicore/model/aiinteraction.js';function _0xb2a3(_0x29a50c,_0x148fa6){const _0x1fcc4e=_0x1fcc();return _0xb2a3=function(_0xb2a365,_0xc97cd5){_0xb2a365=_0xb2a365-0xb1;let _0x209e30=_0x1fcc4e[_0xb2a365];return _0x209e30;},_0xb2a3(_0x29a50c,_0x148fa6);}function _0x1fcc(){const _0x2f1afb=['editor','889530suSycP','Current\x20document','21aSqxLN','fire','TEXT','args','createReply','executeAction','hasError','855xSQaUN','content','2435LiPizc','2596jlGRDm','8468559aMAacj','864691LFXaOe','html','2038824WGBvto','current-document','getDocumentContext','actionName','delegate','replyCreated','replies','5886927URjLLW','executeCustomAction','push','sendRequest','userMessage','version','3362UagflY','10yVPJrz','connector','model'];_0x1fcc=function(){return _0x2f1afb;};return _0x1fcc();}import{AIContextItemType as _0x1c03ce}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x56994f}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x414532{[_0x203015(0xc8)];[_0x203015(0xb8)];[_0x203015(0xd1)];[_0x203015(0xc3)];[_0x203015(0xb7)];[_0x203015(0xbc)];[_0x203015(0xc6)]=!0x1;constructor(_0x4a7fe6){const _0x43aae1=_0x203015;super(_0x4a7fe6),this[_0x43aae1(0xc8)]=_0x4a7fe6[_0x43aae1(0xc8)],this[_0x43aae1(0xb8)]=_0x4a7fe6[_0x43aae1(0xb8)],this[_0x43aae1(0xd1)]=_0x4a7fe6[_0x43aae1(0xd1)],this[_0x43aae1(0xc3)]=_0x4a7fe6[_0x43aae1(0xc3)],this[_0x43aae1(0xb7)]=_0x4a7fe6[_0x43aae1(0xb7)],this[_0x43aae1(0xbc)]=_0x4a7fe6[_0x43aae1(0xbc)];}async[_0x203015(0xb6)](){const _0x36f543=_0x203015;return this[_0x36f543(0xd1)]?this[_0x36f543(0xbb)][_0x36f543(0xc5)]({'content':this[_0x36f543(0xc8)],'actionName':this[_0x36f543(0xd1)],'args':this[_0x36f543(0xc3)]}):this[_0x36f543(0xbb)][_0x36f543(0xb4)]({'content':this[_0x36f543(0xc8)],'message':this[_0x36f543(0xb7)],'model':this[_0x36f543(0xbc)],'outputFormat':_0x36f543(0xcd)});}[_0x203015(0xd0)](){const _0x129265=_0x203015;return{'type':_0x1c03ce[_0x129265(0xc2)],'content':this[_0x129265(0xc8)],'version':this[_0x129265(0xb8)],'label':_0x129265(0xbf),'uiId':_0x129265(0xcf)};}[_0x203015(0xc4)](_0x5944b2){const _0x228d9c=_0x203015,_0x3df7fc=new _0x56994f({'editor':this[_0x228d9c(0xbd)],'documentContextContent':this[_0x228d9c(0xc8)],..._0x5944b2});return this[_0x228d9c(0xb2)][_0x228d9c(0xb5)](_0x3df7fc),_0x3df7fc[_0x228d9c(0xd2)](..._0x2f0ff2)['to'](this),this[_0x228d9c(0xc1)](_0x228d9c(0xb1),_0x3df7fc),_0x3df7fc;}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0xa3ac86=_0x5831;(function(_0x2d0372,_0x321abe){const _0x5435ac=_0x5831,_0x2b8748=_0x2d0372();while(!![]){try{const _0x27dc04=parseInt(_0x5435ac(0x1fc))/0x1+-parseInt(_0x5435ac(0x1f1))/0x2+parseInt(_0x5435ac(0x1fa))/0x3+parseInt(_0x5435ac(0x1f0))/0x4*(parseInt(_0x5435ac(0x1ed))/0x5)+-parseInt(_0x5435ac(0x1e7))/0x6*(-parseInt(_0x5435ac(0x200))/0x7)+parseInt(_0x5435ac(0x1ff))/0x8+-parseInt(_0x5435ac(0x1e8))/0x9;if(_0x27dc04===_0x321abe)break;else _0x2b8748['push'](_0x2b8748['shift']());}catch(_0x3d91c7){_0x2b8748['push'](_0x2b8748['shift']());}}}(_0x4fe1,0xb2104));import{AIReply as _0x40fdfe}from'../../aicore/model/aireply.js';function _0x4fe1(){const _0x256eae=['map','children','pop','modified','value','2939301tIlVXe','isDone','1337960PQunwo','removed','node','4934464CdKFdx','14bBNqRd','added','parsedMergedContent','_getDifferentChangeGroups','parsedContent','746094YxXTjX','28470357OtUJme','length','changeGroups','cloneNode','new','255qsOSBZ','data-id','pending','112916hPJnJr','1460382ALxJTE','childNodes','updateChangeGroups','documentContextContent'];_0x4fe1=function(){return _0x256eae;};return _0x4fe1();}import{getAttribute as _0x37690b}from'../../aicore/utils/htmlparser.js';import{uid as _0x140ad2}from'ckeditor5/src/utils.js';import{diffArrays as _0x1c8f2c}from'diff';function _0x5831(_0x549b56,_0x20a6ee){const _0x4fe11f=_0x4fe1();return _0x5831=function(_0x583188,_0x3515b0){_0x583188=_0x583188-0x1e6;let _0x23023b=_0x4fe11f[_0x583188];return _0x23023b;},_0x5831(_0x549b56,_0x20a6ee);}export class AIActionsReply extends _0x40fdfe{[_0xa3ac86(0x1f3)](){const _0x4ced53=_0xa3ac86;if(this[_0x4ced53(0x202)]=this[_0x4ced53(0x1e6)][_0x4ced53(0x1eb)](!0x0),0x0==this[_0x4ced53(0x202)][_0x4ced53(0x1f2)][_0x4ced53(0x1e9)])return void(this[_0x4ced53(0x1ea)]=[]);const _0xefbe1d=this[_0x4ced53(0x1f4)][_0x4ced53(0x1f6)][_0x4ced53(0x1f5)](_0x1d5f92=>({'node':_0x1d5f92,'id':_0x37690b(_0x1d5f92,_0x4ced53(0x1ee))})),_0x13fd68=this[_0x4ced53(0x202)][_0x4ced53(0x1f6)][_0x4ced53(0x1f5)](_0x8a57b1=>({'node':_0x8a57b1,'id':_0x37690b(_0x8a57b1,_0x4ced53(0x1ee))||_0x140ad2()})),_0x5aeb6a=_0x1c8f2c(_0xefbe1d,_0x13fd68,{'comparator':(_0x763c20,_0xc3f57f)=>_0x763c20['id']==_0xc3f57f['id'],'oneChangePerToken':!0x0});if(!this[_0x4ced53(0x1fb)]){for(;_0x5aeb6a[_0x4ced53(0x1e9)]&&_0x5aeb6a[_0x5aeb6a[_0x4ced53(0x1e9)]-0x1][_0x4ced53(0x1fd)];)_0x5aeb6a[_0x4ced53(0x1f7)]();}const _0x546d28=_0x5aeb6a[_0x4ced53(0x1f5)](_0x531081=>{const _0x4e65a0=_0x4ced53,_0x68c694=_0x531081[_0x4e65a0(0x201)]?_0x4e65a0(0x1ec):_0x531081[_0x4e65a0(0x1fd)]?_0x4e65a0(0x1fd):_0x4e65a0(0x1f8);return{'node':_0x531081[_0x4e65a0(0x1f9)][0x0][_0x4e65a0(0x1fe)],'type':_0x68c694,'id':_0x531081[_0x4e65a0(0x1f9)][0x0]['id']};});this[_0x4ced53(0x1ea)]=[{'changes':_0x546d28,'state':_0x4ced53(0x1ef),'index':0x0}];}[_0xa3ac86(0x203)](_0x2e5991,_0x4e2e00){return _0x4e2e00;}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var _0x170cec=_0x667b;(function(_0x41c07f,_0x18d9ea){var _0x45d2cd=_0x667b,_0x478b03=_0x41c07f();while(!![]){try{var _0x18fe1d=-parseInt(_0x45d2cd(0x1ed))/0x1+-parseInt(_0x45d2cd(0x1ef))/0x2*(parseInt(_0x45d2cd(0x1e0))/0x3)+parseInt(_0x45d2cd(0x1e5))/0x4+-parseInt(_0x45d2cd(0x1ec))/0x5+parseInt(_0x45d2cd(0x1e9))/0x6+parseInt(_0x45d2cd(0x1e2))/0x7+parseInt(_0x45d2cd(0x1e8))/0x8;if(_0x18fe1d===_0x18d9ea)break;else _0x478b03['push'](_0x478b03['shift']());}catch(_0x7eed88){_0x478b03['push'](_0x478b03['shift']());}}}(_0x872c,0x4fc2c));function _0x872c(){var _0x5349e7=['1245702AeLZZn','aiadapter-text-adapter-not-set','AIAdapter','1729845AAyeIk','445861asEDkj','isPremiumPlugin','2VgPKrC','afterInit','882255JOSlqR','name','1054571HTFBOu','isOfficialPlugin','AIRequestError','680648UfYZqk','textAdapter','pluginName','7073464qmUCmM'];_0x872c=function(){return _0x5349e7;};return _0x872c();}import{Plugin as _0x56ee32}from'ckeditor5/src/core.js';import{CKEditorError as _0x559b9c}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x56ee32{static get[_0x170cec(0x1e7)](){var _0x14e064=_0x170cec;return _0x14e064(0x1eb);}static get[_0x170cec(0x1e3)](){return!0x0;}static get[_0x170cec(0x1ee)](){return!0x0;}[_0x170cec(0x1f0)](){var _0x5235d7=_0x170cec;if(!this[_0x5235d7(0x1e6)])throw new _0x559b9c(_0x5235d7(0x1ea),null);}}function _0x667b(_0xf65d2a,_0x205c78){var _0x872ca7=_0x872c();return _0x667b=function(_0x667b91,_0x4c8580){_0x667b91=_0x667b91-0x1e0;var _0x41b2e6=_0x872ca7[_0x667b91];return _0x41b2e6;},_0x667b(_0xf65d2a,_0x205c78);}export class AIRequestError extends Error{constructor(_0x13029f){var _0x3ad97d=_0x170cec;super(_0x13029f),this[_0x3ad97d(0x1e1)]=_0x3ad97d(0x1e4);}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x4401(){const _0x47cd9e=['resolve','textAdapter','AI_ERROR_GET_HEADERS','init','_prepareRequestParameters','8145355pSlAbk','7542824TdLmoC','catch','14828DedhVG','_prepareRequestHeaders','application/json','sendRequest','1293391MeUkBq','assign','get','1603572UGXXYI','1220racMvy','aitextadapter-send-request-failed','editor','abortController','9dUlsUU','AbortError','plugins','AI_ERROR_GET_PARAMETERS','1406762upEMhX','error','object','name','43857qnUupL','4gAjQyy','makeRequest','signal','reject','requires','aborted','24MrVVri','abort','locale'];_0x4401=function(){return _0x47cd9e;};return _0x4401();}function _0x3cda(_0x123c24,_0x36c502){const _0x4401c4=_0x4401();return _0x3cda=function(_0x3cda64,_0x58feab){_0x3cda64=_0x3cda64-0xea;let _0x4f8123=_0x4401c4[_0x3cda64];return _0x4f8123;},_0x3cda(_0x123c24,_0x36c502);}const _0x2e23b7=_0x3cda;(function(_0x6352c1,_0xdc02a6){const _0x3468d6=_0x3cda,_0xf79157=_0x6352c1();while(!![]){try{const _0x81bb7e=-parseInt(_0x3468d6(0xf0))/0x1+parseInt(_0x3468d6(0xf3))/0x2+parseInt(_0x3468d6(0x100))/0x3+-parseInt(_0x3468d6(0x101))/0x4*(-parseInt(_0x3468d6(0x10f))/0x5)+-parseInt(_0x3468d6(0x107))/0x6*(-parseInt(_0x3468d6(0xfc))/0x7)+parseInt(_0x3468d6(0xea))/0x8*(-parseInt(_0x3468d6(0xf8))/0x9)+parseInt(_0x3468d6(0xf4))/0xa*(-parseInt(_0x3468d6(0xec))/0xb);if(_0x81bb7e===_0xdc02a6)break;else _0xf79157['push'](_0xf79157['shift']());}catch(_0x2c430a){_0xf79157['push'](_0xf79157['shift']());}}}(_0x4401,0xcf300));import{Plugin as _0x5e51e4}from'ckeditor5/src/core.js';import{CKEditorError as _0x340842}from'ckeditor5/src/utils.js';import{AIAdapter as _0x288a08,AIRequestError as _0x3b1f08}from'./aiadapter.js';import{getTranslation as _0x11c9c2}from'../utils/common-translations.js';export class AITextAdapter extends _0x5e51e4{[_0x2e23b7(0xf7)];static get[_0x2e23b7(0x105)](){return[_0x288a08];}constructor(_0x45fabc){const _0xf6af99=_0x2e23b7;super(_0x45fabc),this[_0xf6af99(0xf7)]=new AbortController();}[_0x2e23b7(0x10d)](){const _0x4ba2fa=_0x2e23b7;this[_0x4ba2fa(0xf6)][_0x4ba2fa(0xfa)][_0x4ba2fa(0xf2)](_0x288a08)[_0x4ba2fa(0x10b)]=this;}[_0x2e23b7(0x108)](){const _0x4b854c=_0x2e23b7;this[_0x4b854c(0xf7)][_0x4b854c(0x103)][_0x4b854c(0x106)]||(this[_0x4b854c(0xf7)][_0x4b854c(0x108)](),this[_0x4b854c(0xf7)]=new AbortController());}async[_0x2e23b7(0x102)](_0x347432){const _0x4045f2=_0x2e23b7;return this[_0x4045f2(0xef)](_0x347432)[_0x4045f2(0xeb)](_0x16d27b=>{const _0x32dd65=_0x4045f2;if(_0x16d27b instanceof _0x3b1f08)return Promise[_0x32dd65(0x104)](_0x16d27b);if(_0x32dd65(0xf9)==_0x16d27b[_0x32dd65(0xff)])return Promise[_0x32dd65(0x10a)]();throw console[_0x32dd65(0xfd)](_0x16d27b),new _0x340842(_0x32dd65(0xf5),null);});}async[_0x2e23b7(0xed)](_0x16095,_0x516b49){const _0x5b5ab2=_0x2e23b7,_0x4d4539=this[_0x5b5ab2(0xf6)][_0x5b5ab2(0x109)],_0x4a50b1={'Content-Type':_0x5b5ab2(0xee)};if(_0x5b5ab2(0xfe)==typeof _0x16095)Object[_0x5b5ab2(0xf1)](_0x4a50b1,_0x16095);else{if(_0x16095)try{const _0x16930d=await _0x16095(_0x516b49);Object[_0x5b5ab2(0xf1)](_0x4a50b1,_0x16930d);}catch{return Promise[_0x5b5ab2(0x104)](new _0x3b1f08(_0x11c9c2(_0x4d4539,_0x5b5ab2(0x10c))));}}return _0x4a50b1;}async[_0x2e23b7(0x10e)](_0x432de5,_0x3674e8){const _0x35839f=_0x2e23b7,_0x4a1851=this[_0x35839f(0xf6)][_0x35839f(0x109)];if(_0x35839f(0xfe)==typeof _0x432de5)return _0x432de5;try{return await _0x432de5(_0x3674e8);}catch{return Promise[_0x35839f(0x104)](new _0x3b1f08(_0x11c9c2(_0x4a1851,_0x35839f(0xfb))));}}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x55e8f8=_0x13d7;function _0x423c(){const _0x50f776=['signal','ai.assistant.adapter.aws.apiUrl','utf-8','_getGeneratedText','join','meta.llama','decode','ai.assistant.adapter.aws.requestParameters','define','9bSWVUk','map','editor','completions','get','7966664BHwkUT','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','resolve','send','json','data','getReader','POST','_processProxyRequest','_readAsyncIterableResponse','ai.assistant.adapter.aws.requestHeaders','_requestParameters','cohere.command','_prepareRequestParameters','AWSTextAdapter','AI_ERROR_UNSUPPORTED_MODEL','anthropic.claude-v2','_apiUrl','filter','test','preparePrompt','Human:\x0a','config','267518xhbnQj','split','_readStaticResponse','16244940KgyeuN','3524876qgyDwx','_processAWSRequest','generation','getModelFamily','sendRequest','_prepareRequestHeaders','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','read','body','text','anthropic.claude','\x0a<</SYS>>\x0a[INST]\x0a','30vxrSUu','_requestHeaders','\x0a[/INST]','Instruction:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','bedrock-2023-05-31','_readStreamableResponse','locale','pluginName','parse','2GxFaOo','_bedrockClientConfig','application/json','\x0a\x0aAssistant:','chunk','completion','length','bytes','196497WXaXfZ','<<SYS>>\x0a','ai.assistant.adapter.aws.bedrockClientConfig','stringify','generations','abortController','855627KXcoVN','2754605VLuWKq','ai21.j2'];_0x423c=function(){return _0x50f776;};return _0x423c();}(function(_0x2e8753,_0x543143){const _0x389304=_0x13d7,_0x20f39a=_0x2e8753();while(!![]){try{const _0x18ba1b=parseInt(_0x389304(0x228))/0x1*(-parseInt(_0x389304(0x1f2))/0x2)+-parseInt(_0x389304(0x200))/0x3+parseInt(_0x389304(0x22c))/0x4+-parseInt(_0x389304(0x201))/0x5+parseInt(_0x389304(0x1e8))/0x6*(parseInt(_0x389304(0x1fa))/0x7)+parseInt(_0x389304(0x211))/0x8*(-parseInt(_0x389304(0x20c))/0x9)+parseInt(_0x389304(0x22b))/0xa;if(_0x18ba1b===_0x543143)break;else _0x20f39a['push'](_0x20f39a['shift']());}catch(_0x3b68e0){_0x20f39a['push'](_0x20f39a['shift']());}}}(_0x423c,0x8571b));import{AITextAdapter as _0x56911c}from'./aitextadapter.js';import{AIRequestError as _0x5716c2}from'./aiadapter.js';function _0x13d7(_0x458495,_0x4ddfba){const _0x423c54=_0x423c();return _0x13d7=function(_0x13d77c,_0x3cefdd){_0x13d77c=_0x13d77c-0x1de;let _0x480bce=_0x423c54[_0x13d77c];return _0x480bce;},_0x13d7(_0x458495,_0x4ddfba);}import{BedrockRuntimeClient as _0xa2fe2a,InvokeModelCommand as _0x801d5d,InvokeModelWithResponseStreamCommand as _0x5eb202}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x42beff}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x56911c{[_0x55e8f8(0x222)];[_0x55e8f8(0x1e9)];[_0x55e8f8(0x1f3)];[_0x55e8f8(0x21c)];static get[_0x55e8f8(0x1f0)](){const _0x12e351=_0x55e8f8;return _0x12e351(0x21f);}constructor(_0x488f58){const _0x347a1b=_0x55e8f8;super(_0x488f58),_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x20a))||_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x20b)](_0x347a1b(0x20a),{'model':_0x347a1b(0x221),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x347a1b(0x1ed),'stream':!0x0}),this[_0x347a1b(0x222)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x204)),this[_0x347a1b(0x1f3)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x1fc)),this[_0x347a1b(0x1e9)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x21b)),this[_0x347a1b(0x21c)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x20a));}async[_0x55e8f8(0x1e0)]({query:_0x423958,context:_0x526a48,onData:_0x23decb,actionId:_0x297e82}){const _0x51a466=_0x55e8f8,{model:_0x1d4072,stream:_0x55bd1c,..._0x52400f}=await this[_0x51a466(0x21e)](this[_0x51a466(0x21c)],_0x297e82),_0x5b07c8={'prompt':await this[_0x51a466(0x225)](_0x423958,_0x526a48,_0x1d4072,_0x297e82),..._0x52400f};this[_0x51a466(0x222)]?await this[_0x51a466(0x219)](_0x5b07c8,_0x1d4072,_0x55bd1c,_0x23decb,_0x297e82):await this[_0x51a466(0x22d)](_0x5b07c8,_0x1d4072,_0x55bd1c,_0x23decb);}async[_0x55e8f8(0x225)](_0x1e3692,_0xb5d75c,_0x466300,_0x590826){const _0x172572=_0x55e8f8;let _0x21b271,_0x530cde;return _0xb5d75c?(_0x21b271=_0x172572(0x212),_0x530cde=_0x172572(0x1eb)+_0x1e3692+_0x172572(0x1e2)+_0xb5d75c):(_0x21b271=_0x172572(0x1ec),_0x530cde=_0x1e3692),_0x172572(0x208)==this[_0x172572(0x1df)](_0x466300)?_0x172572(0x1fb)+_0x21b271+_0x172572(0x1e7)+_0x530cde+_0x172572(0x1ea):_0x172572(0x226)+_0x21b271+'\x0a'+_0x530cde+_0x172572(0x1f5);}[_0x55e8f8(0x1df)](_0x5ae6ca){const _0x13bfb4=_0x55e8f8;if(/^anthropic\.claude/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x1e6);if(/^ai21\.j2/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x202);if(/^cohere\.command/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x21d);if(/^meta\.llama/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x208);throw new _0x5716c2(_0x42beff(this[_0x13bfb4(0x20e)][_0x13bfb4(0x1ef)],_0x13bfb4(0x220),_0x5ae6ca));}async[_0x55e8f8(0x219)](_0x3e51a0,_0x49b9a3,_0x365ada,_0x35eba6,_0x13e2b1){const _0x539dbd=_0x55e8f8,_0x487756={'method':_0x539dbd(0x218),'headers':await this[_0x539dbd(0x1e1)](this[_0x539dbd(0x1e9)],_0x13e2b1),'body':JSON[_0x539dbd(0x1fd)]({..._0x3e51a0,'model':_0x49b9a3,'stream':_0x365ada}),'signal':this[_0x539dbd(0x1ff)][_0x539dbd(0x203)]},_0x10cae4=await fetch(this[_0x539dbd(0x222)],_0x487756);_0x365ada?await this[_0x539dbd(0x1ee)](_0x10cae4,_0x49b9a3,_0x35eba6):await this[_0x539dbd(0x22a)](_0x10cae4,_0x49b9a3,_0x35eba6);}async[_0x55e8f8(0x22d)](_0x20a88d,_0x1a7a2a,_0x35c0cf,_0x2f95ae){const _0x2e371c=_0x55e8f8,_0x2464a3=new _0xa2fe2a(this[_0x2e371c(0x1f3)]),_0xe2d5fc={'body':JSON[_0x2e371c(0x1fd)](_0x20a88d),'contentType':_0x2e371c(0x1f4),'accept':_0x2e371c(0x1f4),'modelId':_0x1a7a2a};let _0x6d237f;if(_0x35c0cf){const _0x204926=new _0x5eb202(_0xe2d5fc);_0x6d237f=await _0x2464a3[_0x2e371c(0x214)](_0x204926,{'abortSignal':this[_0x2e371c(0x1ff)][_0x2e371c(0x203)]}),await this[_0x2e371c(0x21a)](_0x6d237f,_0x1a7a2a,_0x2f95ae);}else{const _0x5ce069=new _0x801d5d(_0xe2d5fc);_0x6d237f=await _0x2464a3[_0x2e371c(0x214)](_0x5ce069,{'abortSignal':this[_0x2e371c(0x1ff)][_0x2e371c(0x203)]}),await this[_0x2e371c(0x22a)](_0x6d237f,_0x1a7a2a,_0x2f95ae);}}async[_0x55e8f8(0x21a)](_0x18a29a,_0x14ed7f,_0x40b47a){const _0x13a17c=_0x55e8f8,_0x21ce76=_0x18a29a[_0x13a17c(0x1e4)],_0x45a03a=new TextDecoder(_0x13a17c(0x205));let _0x4f4063='';for await(const _0x4392d3 of _0x21ce76)if(_0x4392d3[_0x13a17c(0x1f6)]){const _0x38afd1=_0x45a03a[_0x13a17c(0x209)](_0x4392d3[_0x13a17c(0x1f6)][_0x13a17c(0x1f9)]),_0x3ba88e=JSON[_0x13a17c(0x1f1)](_0x38afd1);_0x4f4063+=this[_0x13a17c(0x206)](_0x3ba88e,_0x14ed7f),_0x40b47a(_0x4f4063);}return Promise[_0x13a17c(0x213)]();}async[_0x55e8f8(0x1ee)](_0x431e92,_0x37ecd8,_0xbada68){const _0x25474a=_0x55e8f8,_0x5bc926=_0x431e92[_0x25474a(0x1e4)],_0x57f923=new TextDecoder(_0x25474a(0x205)),_0x30a520=_0x5bc926[_0x25474a(0x217)]();let _0x518637='',_0x3146b8='',_0x252f53=!0x1;for(;!_0x252f53;){const {done:_0xe7c5a,value:_0x35fff9}=await _0x30a520[_0x25474a(0x1e3)]();if(_0x252f53=_0xe7c5a,_0x252f53)break;const _0x8ad649=(_0x518637+_0x57f923[_0x25474a(0x209)](_0x35fff9))[_0x25474a(0x229)]('\x0a')[_0x25474a(0x20d)](_0x113192=>{const _0x4fb355=_0x25474a;try{return _0x518637='',JSON[_0x4fb355(0x1f1)](_0x113192);}catch{return _0x518637=_0x113192,null;}})[_0x25474a(0x223)](_0x551986=>null!==_0x551986);_0x8ad649[_0x25474a(0x1f8)]&&(_0x3146b8+=_0x8ad649[_0x25474a(0x20d)](_0x3b6621=>this[_0x25474a(0x206)](_0x3b6621,_0x37ecd8))[_0x25474a(0x207)](''),_0xbada68(_0x3146b8));}return Promise[_0x25474a(0x213)]();}async[_0x55e8f8(0x22a)](_0x13ebc7,_0x408d07,_0x2c8678){const _0x476aa1=_0x55e8f8;let _0x36243f;return _0x36243f=_0x13ebc7 instanceof Response?await _0x13ebc7[_0x476aa1(0x215)]():JSON[_0x476aa1(0x1f1)](new TextDecoder(_0x476aa1(0x205))[_0x476aa1(0x209)](_0x13ebc7[_0x476aa1(0x1e4)])),(_0x2c8678(this[_0x476aa1(0x206)](_0x36243f,_0x408d07)),Promise[_0x476aa1(0x213)]());}[_0x55e8f8(0x206)](_0x2bd8a8,_0xcdd7e2){const _0x4d0737=_0x55e8f8;switch(this[_0x4d0737(0x1df)](_0xcdd7e2)){case _0x4d0737(0x1e6):return _0x2bd8a8[_0x4d0737(0x1f7)];case _0x4d0737(0x202):return _0x2bd8a8[_0x4d0737(0x20f)][0x0][_0x4d0737(0x216)][_0x4d0737(0x1e5)];case _0x4d0737(0x21d):return _0x2bd8a8[_0x4d0737(0x1fe)][0x0][_0x4d0737(0x1e5)];case _0x4d0737(0x208):return _0x2bd8a8[_0x4d0737(0x1de)];}}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x493ee2=_0x1765;(function(_0x1700b4,_0x5a3813){const _0x5c38d3=_0x1765,_0x4e6188=_0x1700b4();while(!![]){try{const _0x9098dd=parseInt(_0x5c38d3(0x195))/0x1*(-parseInt(_0x5c38d3(0x199))/0x2)+-parseInt(_0x5c38d3(0x180))/0x3+-parseInt(_0x5c38d3(0x18c))/0x4+-parseInt(_0x5c38d3(0x17f))/0x5*(-parseInt(_0x5c38d3(0x161))/0x6)+-parseInt(_0x5c38d3(0x16e))/0x7*(parseInt(_0x5c38d3(0x167))/0x8)+parseInt(_0x5c38d3(0x174))/0x9*(parseInt(_0x5c38d3(0x181))/0xa)+parseInt(_0x5c38d3(0x159))/0xb;if(_0x9098dd===_0x5a3813)break;else _0x4e6188['push'](_0x4e6188['shift']());}catch(_0x5a1457){_0x4e6188['push'](_0x4e6188['shift']());}}}(_0x5a2d,0x83a7f));function _0x1765(_0x3dd4bc,_0x297339){const _0x5a2da9=_0x5a2d();return _0x1765=function(_0x17653e,_0x34afc9){_0x17653e=_0x17653e-0x157;let _0x4658d7=_0x5a2da9[_0x17653e];return _0x4658d7;},_0x1765(_0x3dd4bc,_0x297339);}import{AITextAdapter as _0x4c933b}from'./aitextadapter.js';function _0x5a2d(){const _0x1fcf0f=['POST','resolve','_prepareRequestParameters','reject','replace','message','AI_ERROR_CONTEXT_LENGTH','prepareMessages','1727780brcqnN','1116246vlUeTy','1538540vbAHgM','content','locale','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','stream','json','_requestHeaders','_requestParameters','_prepareRequestHeaders','filter','split','1501872yKJgQV','gpt-4o','sendRequest','body','AI_ERROR_MODERATION','includes','delta','ai.assistant.adapter.openAI.requestHeaders','text','701RAKfLM','user','pluginName','stringify','1530pBuwsJ','read','ai.assistant.adapter.openAI.apiUrl','join','decode','config','ai.assistant.adapter.openAI.requestParameters','22767844Ytqksq','[DONE]','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','system','length','editor','OpenAITextAdapter','data:\x20','6wkzRFo','map','get','getReader','define','_readStaticResponse','719992uEEyAu','abortController','_apiUrl','Moderation','context_length_exceeded','_isBufferIncomplete','signal','70UYiTNf','choices','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','_cleanUpData','_readStreamableResponse','Instruction:\x0a','18VPWcMx','https://api.openai.com/v1/chat/completions','parse'];_0x5a2d=function(){return _0x1fcf0f;};return _0x5a2d();}import{AIRequestError as _0x2306e4}from'./aiadapter.js';import{getTranslation as _0x3dfed4}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x4c933b{[_0x493ee2(0x169)];[_0x493ee2(0x187)];[_0x493ee2(0x188)];static get[_0x493ee2(0x197)](){const _0x2c8046=_0x493ee2;return _0x2c8046(0x15f);}constructor(_0x482542){const _0x279f8a=_0x493ee2;super(_0x482542),_0x482542[_0x279f8a(0x157)][_0x279f8a(0x165)](_0x279f8a(0x19b),_0x279f8a(0x175)),_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x158))||_0x482542[_0x279f8a(0x157)][_0x279f8a(0x165)](_0x279f8a(0x158),{'model':_0x279f8a(0x18d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x279f8a(0x169)]=_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x19b)),this[_0x279f8a(0x187)]=_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x193))||{},this[_0x279f8a(0x188)]=_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x158));}async[_0x493ee2(0x18e)]({query:_0xb95a37,context:_0x28f6c5,onData:_0x4873c4,actionId:_0x5bb265}){const _0x77beda=_0x493ee2,_0x205309=this[_0x77beda(0x15e)][_0x77beda(0x183)],_0x5d7ba1=await this[_0x77beda(0x17e)](_0xb95a37,_0x28f6c5,_0x5bb265),_0x32c92a=await this[_0x77beda(0x189)](this[_0x77beda(0x187)],_0x5bb265),_0xb47a4=await this[_0x77beda(0x179)](this[_0x77beda(0x188)],_0x5bb265),_0x16382d={'messages':_0x5d7ba1,..._0xb47a4},_0x48cea5={'method':_0x77beda(0x177),'headers':_0x32c92a,'body':JSON[_0x77beda(0x198)](_0x16382d),'signal':this[_0x77beda(0x168)][_0x77beda(0x16d)]},_0x38a162=await fetch(this[_0x77beda(0x169)],_0x48cea5);if(_0x38a162['ok'])return _0xb47a4[_0x77beda(0x185)]?await this[_0x77beda(0x172)](_0x38a162,_0x4873c4):await this[_0x77beda(0x166)](_0x38a162,_0x4873c4),Promise[_0x77beda(0x178)]();{const _0x144bcb=await _0x38a162[_0x77beda(0x194)]();return _0x144bcb[_0x77beda(0x191)](_0x77beda(0x16b))?Promise[_0x77beda(0x17a)](new _0x2306e4(_0x3dfed4(_0x205309,_0x77beda(0x17d)))):_0x144bcb[_0x77beda(0x191)](_0x77beda(0x16a))?Promise[_0x77beda(0x17a)](new _0x2306e4(_0x3dfed4(_0x205309,_0x77beda(0x190)))):Promise[_0x77beda(0x17a)](new Error(_0x144bcb));}}async[_0x493ee2(0x17e)](_0x347675,_0x59a95d,_0x4ad5f4){const _0x4ad90a=_0x493ee2;let _0x2a0782,_0xbddeb7;return _0x59a95d?(_0x2a0782=_0x4ad90a(0x170),_0xbddeb7=_0x4ad90a(0x173)+_0x347675+_0x4ad90a(0x15b)+_0x59a95d):(_0x2a0782=_0x4ad90a(0x184),_0xbddeb7=_0x347675),[{'role':_0x4ad90a(0x15c),'content':_0x2a0782},{'role':_0x4ad90a(0x196),'content':_0xbddeb7}];}async[_0x493ee2(0x172)](_0x3aa308,_0x1cf3fa){const _0x5047ad=_0x493ee2,_0x16dce1=_0x3aa308[_0x5047ad(0x18f)][_0x5047ad(0x164)](),_0x1057f3=new TextDecoder();let _0x5957a3='',_0x169869='',_0x1af40f='',_0x557b23=!0x1;for(;!_0x557b23;){const {done:_0x2c918d,value:_0x42d1e9}=await _0x16dce1[_0x5047ad(0x19a)](),_0x275167=_0x5957a3+_0x1057f3[_0x5047ad(0x19d)](_0x42d1e9);let _0x59ff13='';_0x557b23=_0x2c918d;try{_0x59ff13=this[_0x5047ad(0x171)](_0x275167),_0x5957a3='';}catch{_0x5957a3=_0x275167;continue;}_0x169869+=_0x59ff13,!_0x557b23&&this[_0x5047ad(0x16c)](_0x169869)||_0x169869&&(_0x1af40f+=_0x169869,_0x169869='',_0x1cf3fa(_0x1af40f));}return Promise[_0x5047ad(0x178)]();}async[_0x493ee2(0x166)](_0x3924de,_0x4b23e3){const _0x558e3e=_0x493ee2;return _0x4b23e3((await _0x3924de[_0x558e3e(0x186)]())[_0x558e3e(0x16f)][0x0][_0x558e3e(0x17c)][_0x558e3e(0x182)]),Promise[_0x558e3e(0x178)]();}[_0x493ee2(0x16c)](_0x411a6c){const _0x3ebd41=_0x493ee2,_0x3d4801=_0x411a6c[_0x3ebd41(0x18b)]('<')[_0x3ebd41(0x15d)]!==_0x411a6c[_0x3ebd41(0x18b)]('>')[_0x3ebd41(0x15d)],_0xd9434f=_0x411a6c[_0x3ebd41(0x15d)]<0x1e;return _0x3d4801&&_0xd9434f;}[_0x493ee2(0x171)](_0x23c450){const _0x57848c=_0x493ee2;return _0x23c450[_0x57848c(0x18b)](/\n(?![^{]*\})/g)[_0x57848c(0x162)](_0x4cfe74=>_0x4cfe74[_0x57848c(0x17b)](_0x57848c(0x160),''))[_0x57848c(0x18a)](_0x4380dc=>_0x4380dc&&_0x4380dc[_0x57848c(0x15d)]>0x0&&_0x57848c(0x15a)!==_0x4380dc)[_0x57848c(0x162)](_0x1c543f=>{const _0x54bba5=_0x57848c,{choices:_0x5492d3}=JSON[_0x54bba5(0x176)](_0x1c543f);if(_0x5492d3[0x0]?.[_0x54bba5(0x192)]?.[_0x54bba5(0x182)])return _0x5492d3[0x0][_0x54bba5(0x192)][_0x54bba5(0x182)];})[_0x57848c(0x18a)](_0x52c6ae=>_0x52c6ae)[_0x57848c(0x19c)]('');}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x340bb5=_0x3f47;(function(_0x157040,_0x7824fb){const _0x9c126e=_0x3f47,_0xef1f4=_0x157040();while(!![]){try{const _0x14b05c=-parseInt(_0x9c126e(0x1cf))/0x1*(-parseInt(_0x9c126e(0x1e0))/0x2)+parseInt(_0x9c126e(0x1b2))/0x3*(-parseInt(_0x9c126e(0x1d6))/0x4)+parseInt(_0x9c126e(0x1d8))/0x5*(-parseInt(_0x9c126e(0x19c))/0x6)+parseInt(_0x9c126e(0x1e6))/0x7+parseInt(_0x9c126e(0x1b8))/0x8+parseInt(_0x9c126e(0x1de))/0x9+-parseInt(_0x9c126e(0x1c8))/0xa;if(_0x14b05c===_0x7824fb)break;else _0xef1f4['push'](_0xef1f4['shift']());}catch(_0x1f3b60){_0xef1f4['push'](_0xef1f4['shift']());}}}(_0x2fed,0x963bf));import{Plugin as _0x3bd894}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x55e396}from'./aiassistantui.js';import{AIAssistantEditing as _0x2c7659}from'./aiassistantediting.js';function _0x2fed(){const _0x4d5210=['poetic','Casual','translateEnglish','1085397btAETK','translateHindi','casual','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Edit\x20or\x20review','583064nyMSub','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateGerman','changeStyle','German','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','find','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','business','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','professional','ai.assistant.preserveComments','define','Change\x20style','ai.assistant.commands','3601310WdiDAu','Confident','Friendly','legal','Legal','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Arabic','1gIXsRA','get','Translate\x20the\x20content\x20to\x20German\x20language.','confident','generate','Change\x20tone','translateSpanish','4PGBfWb','continue','336160NJyJqd','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','isPremiumPlugin','Generate\x20from\x20selection','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','friendly','9235233YdkseD','Translate\x20the\x20content\x20to\x20Spanish\x20language.','1179190PiJqQz','Portuguese','journalism','config','Improve\x20writing','Continue','5541326SjFdIE','translateChinese','groupId','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','commands','locale','isOfficialPlugin','simplifyLanguage','AIAssistant','Translate\x20the\x20content\x20to\x20French\x20language.','pluginName','Direct','Journalism','requires','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Simplified\x20Chinese','Make\x20shorter','improveWriting','Professional','translateFrench','concat','set','Business','includes','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','filter','forEach','Spanish','makeLonger','changeTone','Make\x20longer','Summarize','direct','summarize','102IElAbk','ai.assistant.extraCommandGroups','makeShorter','Simplify\x20language','translate','Poetic','Hindi','English','ai.assistant.removeCommands','push','translatePortuguese','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','French','Translate','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','editOrReview','translateArabic'];_0x2fed=function(){return _0x4d5210;};return _0x2fed();}import{getTranslation as _0x5e39ea}from'./utils/common-translations.js';function _0x3f47(_0x5c257a,_0x856d4a){const _0x2fed42=_0x2fed();return _0x3f47=function(_0x3f47c1,_0x255f34){_0x3f47c1=_0x3f47c1-0x195;let _0x1291f6=_0x2fed42[_0x3f47c1];return _0x1291f6;},_0x3f47(_0x5c257a,_0x856d4a);}import{normalizeCommandsConfig as _0x46db67}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x3bd894{static get[_0x340bb5(0x1f3)](){return[_0x55e396,_0x2c7659];}static get[_0x340bb5(0x1f0)](){const _0x2ffc70=_0x340bb5;return _0x2ffc70(0x1ee);}static get[_0x340bb5(0x1ec)](){return!0x0;}static get[_0x340bb5(0x1da)](){return!0x0;}constructor(_0x41072b){const _0x5d64c3=_0x340bb5;super(_0x41072b);const _0x454d3d=_0x41072b[_0x5d64c3(0x1e3)],_0x33491b=_0x41072b[_0x5d64c3(0x1eb)];_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x1c4),!0x0),_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x1c7),getDefaultAICommands(_0x33491b)),_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x19d),[]),_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x1a4),[]);let _0x2df0c7=_0x46db67(_0x454d3d[_0x5d64c3(0x1d0)](_0x5d64c3(0x1c7)),_0x33491b);const _0x4a6fcc=_0x454d3d[_0x5d64c3(0x1d0)](_0x5d64c3(0x19d)),_0x28108e=_0x454d3d[_0x5d64c3(0x1d0)](_0x5d64c3(0x1a4));_0x4a6fcc[_0x5d64c3(0x203)](_0x32e50b=>{const _0x16a5dc=_0x5d64c3,_0x226493=_0x2df0c7[_0x16a5dc(0x1be)](_0x2ca0c2=>_0x2ca0c2[_0x16a5dc(0x1e8)]===_0x32e50b[_0x16a5dc(0x1e8)]);_0x226493?_0x226493[_0x16a5dc(0x1ea)]=_0x226493[_0x16a5dc(0x1ea)][_0x16a5dc(0x1fa)](_0x32e50b[_0x16a5dc(0x1ea)]):_0x2df0c7[_0x16a5dc(0x1a5)](_0x32e50b);}),_0x2df0c7=_0x2df0c7[_0x5d64c3(0x202)](_0x40bda0=>!_0x28108e[_0x5d64c3(0x1fd)](_0x40bda0[_0x5d64c3(0x1e8)])),_0x2df0c7[_0x5d64c3(0x203)](_0x4e2073=>{const _0x1a8f15=_0x5d64c3;_0x4e2073[_0x1a8f15(0x1ea)]=_0x4e2073[_0x1a8f15(0x1ea)][_0x1a8f15(0x202)](_0x394034=>!_0x28108e[_0x1a8f15(0x1fd)](_0x394034['id']));}),_0x454d3d[_0x5d64c3(0x1fb)](_0x5d64c3(0x1c7),_0x2df0c7);}}export function getDefaultAICommands(_0x352ea6){const _0x21f06b=_0x340bb5;return[{'groupId':_0x21f06b(0x1ad),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1b7)),'commands':[{'id':_0x21f06b(0x1f7),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1e4)),'prompt':_0x21f06b(0x1e9)},{'id':_0x21f06b(0x19e),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f6)),'prompt':_0x21f06b(0x1fe)},{'id':_0x21f06b(0x196),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x198)),'prompt':_0x21f06b(0x1a8)},{'id':_0x21f06b(0x1ed),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x19f)),'prompt':_0x21f06b(0x1c0)}]},{'groupId':_0x21f06b(0x1d3),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1db)),'commands':[{'id':_0x21f06b(0x19b),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x199)),'prompt':_0x21f06b(0x1d9)},{'id':_0x21f06b(0x1d7),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1e5)),'prompt':_0x21f06b(0x1b5)}]},{'groupId':_0x21f06b(0x197),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1d4)),'commands':[{'id':_0x21f06b(0x1c3),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f8)),'prompt':_0x21f06b(0x1dc)},{'id':_0x21f06b(0x1b4),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1b0)),'prompt':_0x21f06b(0x1b9)},{'id':_0x21f06b(0x19a),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f1)),'prompt':_0x21f06b(0x1bd)},{'id':_0x21f06b(0x1d2),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1c9)),'prompt':_0x21f06b(0x1c2)},{'id':_0x21f06b(0x1dd),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1ca)),'prompt':_0x21f06b(0x1ac)}]},{'groupId':_0x21f06b(0x1bb),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1c6)),'commands':[{'id':_0x21f06b(0x1c1),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1fc)),'prompt':_0x21f06b(0x1b6)},{'id':_0x21f06b(0x1cb),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1cc)),'prompt':_0x21f06b(0x1ab)},{'id':_0x21f06b(0x1e2),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f2)),'prompt':_0x21f06b(0x1ff)},{'id':_0x21f06b(0x1af),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a1)),'prompt':_0x21f06b(0x1bf)}]},{'groupId':_0x21f06b(0x1a0),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1aa)),'commands':[{'id':_0x21f06b(0x1b1),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a3)),'prompt':_0x21f06b(0x201)},{'id':_0x21f06b(0x1d5),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x195)),'prompt':_0x21f06b(0x1df)},{'id':_0x21f06b(0x1a6),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1e1)),'prompt':_0x21f06b(0x200)},{'id':_0x21f06b(0x1ba),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1bc)),'prompt':_0x21f06b(0x1d1)},{'id':_0x21f06b(0x1f9),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a9)),'prompt':_0x21f06b(0x1ef)},{'id':_0x21f06b(0x1e7),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f5)),'prompt':_0x21f06b(0x1f4)},{'id':_0x21f06b(0x1b3),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a2)),'prompt':_0x21f06b(0x1cd)},{'id':_0x21f06b(0x1ae),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1ce)),'prompt':_0x21f06b(0x1a7)}]}];}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x987fc1=_0x56d6;function _0x2faf(){const _0x3a121a=['document','getRanges','lowest','_getDefaultInsertBelowPosition','init','7jCEaEv','config','off','span','findAncestor','text/html','editor','getLastMatchingPosition','element','afterInit','ai.assistant.useTheme','href','createPositionAfter','markers','getRows','41474142TmUJEr','DataTransfer','AIAssistantEditing','map','showFakeVisualSelection','ck-ai-assistant-ui_theme','getColumnIndexes','insertRows','parse','fromCharCode','createSelection','TableUtils','isCollapsed','isAtEnd','removeMarker','pop','model','last','createRange','from','isOfficialPlugin','length','schema','deleteContent','filter','hideFakeVisualSelection','plugins','contentInsertion','setData','insertContentBelow','editingDowncast','getSelectedTableCells','createPositionAt','has','getSelectedBlocks','addMarker','forEach','conversion','getRange','canEditAt','ai-ui','markerRange','once','_pasteHTMLUsingClipboard','getLastPosition','9252928ibllmC','resultRange','markerToHighlight','for','paste','137764bkoAQa','1371999uTSepz','editing','_getTableRowCountFromContent','isPremiumPlugin','setSelection','pluginName','change','getRowIndexes','_getAISelection','getChild','createUIElement','fire','getFirstRange','getMarkersGroup','870810Jybegw','markerToElement','data','586476RMNHKa','8160162igiGUl','join','addClass','ck-fake-ai-selection','9RxZjWp','isContent','start','insertContent','first','table','ck-fake-ai-selection_collapsed','_resetContentOfSelectedTableCells','selection','get','end','push','getChildren','_prepareTableInsertBelowPosition','_createEmptyTableRows','updateMarker'];_0x2faf=function(){return _0x3a121a;};return _0x2faf();}(function(_0x4f5168,_0x43f4ab){const _0x59f040=_0x56d6,_0x38c504=_0x4f5168();while(!![]){try{const _0x3cad03=-parseInt(_0x59f040(0x1e3))/0x1+parseInt(_0x59f040(0x1e2))/0x2*(-parseInt(_0x59f040(0x1f9))/0x3)+parseInt(_0x59f040(0x1f4))/0x4+parseInt(_0x59f040(0x1f1))/0x5+-parseInt(_0x59f040(0x1f5))/0x6*(parseInt(_0x59f040(0x20e))/0x7)+-parseInt(_0x59f040(0x1dd))/0x8+parseInt(_0x59f040(0x1b0))/0x9;if(_0x3cad03===_0x43f4ab)break;else _0x38c504['push'](_0x38c504['shift']());}catch(_0x50f6a6){_0x38c504['push'](_0x38c504['shift']());}}}(_0x2faf,0xcb8c3));import{uid as _0x3a2ce8}from'ckeditor5/src/utils.js';import{Plugin as _0x482876}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x146a61}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3e61d0,ViewDataTransfer as _0xcb7fe2}from'ckeditor5/src/engine.js';function _0x56d6(_0x354ac2,_0x3b7f39){const _0x2faf9c=_0x2faf();return _0x56d6=function(_0x56d612,_0x36b9e0){_0x56d612=_0x56d612-0x1a8;let _0x508c3d=_0x2faf9c[_0x56d612];return _0x508c3d;},_0x56d6(_0x354ac2,_0x3b7f39);}const lt=globalThis[_0x987fc1(0x1b1)],wt=_0x987fc1(0x1d8);export class AIAssistantEditing extends _0x482876{static get[_0x987fc1(0x1e8)](){const _0x560df2=_0x987fc1;return _0x560df2(0x1b2);}static get[_0x987fc1(0x1c4)](){return!0x0;}static get[_0x987fc1(0x1e6)](){return!0x0;}[_0x987fc1(0x20d)](){const _0x4494aa=_0x987fc1,{editor:_0x4bfea1}=this,_0x5573dd=[_0x4494aa(0x1f8)];_0x4bfea1[_0x4494aa(0x20f)][_0x4494aa(0x202)](_0x4494aa(0x1ab))&&_0x5573dd[_0x4494aa(0x204)](_0x4494aa(0x1b5)),_0x4bfea1[_0x4494aa(0x1d5)][_0x4494aa(0x1e0)](_0x4494aa(0x1ce))[_0x4494aa(0x1df)]({'model':wt,'view':{'classes':_0x5573dd,'priority':0xc}}),_0x4bfea1[_0x4494aa(0x1d5)][_0x4494aa(0x1e0)](_0x4494aa(0x1ce))[_0x4494aa(0x1f2)]({'model':wt,'view':(_0x172af9,{writer:_0x505a80})=>{const _0x21ef28=_0x4494aa;if(!_0x172af9[_0x21ef28(0x1d9)][_0x21ef28(0x1bc)])return null;const _0xf476d7=_0x505a80[_0x21ef28(0x1ed)](_0x21ef28(0x211));return _0x505a80[_0x21ef28(0x1f7)]([_0x21ef28(0x1f8),_0x21ef28(0x1ff)],_0xf476d7),_0xf476d7;}});}[_0x987fc1(0x1aa)](){!async function(_0x475d74){const _0xa20fad=_0x385aee([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]),_0x8b1076=0x3dffc4e1,_0xf24040=0x3df840e9^_0x8b1076,_0x1c544d=window[_0x385aee([0x44,0x61,0x74,0x65])][_0x385aee([0x6e,0x6f,0x77])](),_0x115525=_0x475d74[_0x385aee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4cf24d=new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f5b6=>{_0x115525[_0x385aee([0x6f,0x6e,0x63,0x65])](_0x385aee([0x72,0x65,0x61,0x64,0x79]),_0x41f5b6);}),_0x440b64={[_0x385aee([0x6b,0x74,0x79])]:_0x385aee([0x45,0x43]),[_0x385aee([0x75,0x73,0x65])]:_0x385aee([0x73,0x69,0x67]),[_0x385aee([0x63,0x72,0x76])]:_0x385aee([0x50,0x2d,0x32,0x35,0x36]),[_0x385aee([0x78])]:_0x385aee([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]),[_0x385aee([0x79])]:_0x385aee([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]),[_0x385aee([0x61,0x6c,0x67])]:_0x385aee([0x45,0x53,0x32,0x35,0x36])},_0x6e0b55=_0x115525[_0x385aee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x385aee([0x67,0x65,0x74])](_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x447e62(){let _0x1cfbe4,_0x42a50c=null,_0x15c723=null;try{if(_0x6e0b55==_0x385aee([0x47,0x50,0x4c]))return _0x385aee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cfbe4=_0x27653d(),!_0x1cfbe4)return _0x385aee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cfbe4[_0x385aee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15c723=_0x48d35a(_0x1cfbe4[_0x385aee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cfbe4[_0x385aee([0x6a,0x74,0x69])])),await _0x131227()?_0x35a844()?_0x24a787()?_0x385aee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b1b6d()?(_0x1cfbe4[_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x385aee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x42a50c=_0x5dfda2(_0x385aee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4cb9c6()):_0x385aee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x385aee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x385aee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x385aee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24a787(){const _0x275dc0=[_0x385aee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x385aee([0x74,0x72,0x69,0x61,0x6c])][_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfbe4[_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c544d/0x3e8:0xe10*_0xf24040;return _0x1cfbe4[_0x385aee([0x65,0x78,0x70])]<_0x275dc0;}function _0x35a844(){const _0x16b28a=_0x1cfbe4[_0x385aee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16b28a&&(!!_0x16b28a[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385aee([0x2a]))||!!_0x16b28a[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385aee([0x41,0x49])));}function _0x1b1b6d(){const _0x4cbc44=_0x56d6,_0xf53720=_0x1cfbe4[_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf53720||0x0==_0xf53720[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd49ebe}=new URL(window[_0x385aee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4cbc44(0x1ac)]);if(_0xf53720[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd49ebe))return!0x0;const _0xa4d1d3=_0xd49ebe[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e]));return _0xf53720[_0x385aee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bddfd=>_0x2bddfd[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385aee([0x2a])))[_0x385aee([0x6d,0x61,0x70])](_0x2faa2c=>_0x2faa2c[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e])))[_0x385aee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12f288=>_0x12f288[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa4d1d3[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x385aee([0x6d,0x61,0x70])](_0x41da83=>Array(_0xa4d1d3[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41da83[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x385aee([0x66,0x69,0x6c,0x6c])](_0x41da83[0x0]===_0x385aee([0x2a])?_0x385aee([0x2a]):'')[_0x385aee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41da83))[_0x385aee([0x73,0x6f,0x6d,0x65])](_0x1e58f8=>_0xa4d1d3[_0x385aee([0x65,0x76,0x65,0x72,0x79])]((_0xa40bac,_0x50712b)=>_0x1e58f8[_0x50712b]===_0xa40bac||_0x1e58f8[_0x50712b]===_0x385aee([0x2a])));}function _0x4cb9c6(){return _0x42a50c&&_0x15c723?new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x111791,_0x316943)=>{_0x42a50c[_0x385aee([0x74,0x68,0x65,0x6e])](_0x111791,_0x316943),_0x15c723[_0x385aee([0x74,0x68,0x65,0x6e])](_0x12a972=>{_0x12a972!=_0x385aee([0x56,0x61,0x6c,0x69,0x64])&&_0x111791(_0x12a972);},_0x316943);}):_0x42a50c||_0x15c723||_0x385aee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48d35a(_0x5229ad,_0x2539b4){return new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x80363=>{if(_0x78e62d())return _0x80363(_0x385aee([0x56,0x61,0x6c,0x69,0x64]));_0xda8e5c(),_0x115525[_0x385aee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x385aee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20ce16=!0x1;const _0x393173=_0x3a2ce8();function _0x813c43(_0x31c288){return!!_0x31c288&&(typeof _0x31c288===_0x385aee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31c288===_0x385aee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31c288[_0x385aee([0x74,0x68,0x65,0x6e])]===_0x385aee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31c288[_0x385aee([0x63,0x61,0x74,0x63,0x68])]===_0x385aee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4fa6ef(_0x2c7f21){_0x2e2751(_0x2c7f21)[_0x385aee([0x74,0x68,0x65,0x6e])](_0x37cb97=>{if(!_0x37cb97||_0x37cb97[_0x385aee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x385aee([0x6f,0x6b]))return _0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22a892(_0x432d81(_0x393173+_0x2539b4))!=_0x37cb97[_0x385aee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x385aee([0x56,0x61,0x6c,0x69,0x64]);})[_0x385aee([0x74,0x68,0x65,0x6e])](_0x27592e=>(_0x452f89(),_0x27592e),()=>{const _0x583a4c=_0x18aabb();return null==_0x583a4c?(_0x452f89(),_0x385aee([0x56,0x61,0x6c,0x69,0x64])):_0x385aee(_0x1c544d-_0x583a4c>(0x19f340e1^_0x8b1076)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x385aee([0x74,0x68,0x65,0x6e])](_0x80363)[_0x385aee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x80363(_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56bf65=0x3dc92a61^_0x8b1076;function _0x452f89(){const _0xbcb62e=_0x385aee([0x6c,0x6c,0x63,0x74,0x2d])+_0x22a892(_0x432d81(_0x5229ad)),_0x58be67=_0x205338(_0x22a892(window[_0x385aee([0x4d,0x61,0x74,0x68])][_0x385aee([0x63,0x65,0x69,0x6c])](_0x1c544d/_0x56bf65)));window[_0x385aee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x385aee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbcb62e,_0x58be67);}function _0x18aabb(){const _0x44f353=_0x385aee([0x6c,0x6c,0x63,0x74,0x2d])+_0x22a892(_0x432d81(_0x5229ad)),_0x24f4f1=window[_0x385aee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x385aee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44f353);return _0x24f4f1?window[_0x385aee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205338(_0x24f4f1),0x10)*_0x56bf65:null;}function _0x2e2751(_0x5c905a){return new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d77bd,_0x578c98)=>{_0x5c905a[_0x385aee([0x74,0x68,0x65,0x6e])](_0x4d77bd,_0x578c98),window[_0x385aee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x578c98,0x3dfe1021^_0x8b1076);});}}_0x115525[_0x385aee([0x6f,0x6e])](_0x385aee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56d627,_0x35321e)=>{if(_0x35321e[0x0]!=_0x5229ad)return _0x80363(_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35321e[0x1]={..._0x35321e[0x1],[_0x385aee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x393173};},{[_0x385aee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x385aee([0x68,0x69,0x67,0x68])}),_0x115525[_0x385aee([0x6f,0x6e])](_0x385aee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49c2ad=>{_0x813c43(_0x49c2ad[_0x385aee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20ce16=!0x0,_0x4fa6ef(_0x49c2ad[_0x385aee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x385aee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x385aee([0x6c,0x6f,0x77])}),_0x4cf24d[_0x385aee([0x74,0x68,0x65,0x6e])](()=>{_0x20ce16||_0x80363(_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x78e62d(){return _0x115525[_0x385aee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x385aee([0x76,0x69,0x65,0x77])][_0x385aee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x385aee([0x61,0x75,0x74,0x6f]);}function _0xda8e5c(){_0x115525[_0x385aee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x385aee([0x76,0x69,0x65,0x77])][_0x385aee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x385aee([0x61,0x75,0x74,0x6f]);}}function _0x5dfda2(_0x2e4f8c){const _0xa0b58=[new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dac52=>setTimeout(_0x2dac52,0x3df6fa2d^_0x8b1076)),_0x4cf24d[_0x385aee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3821e9=>{let _0x5348ed=0x0;_0x115525[_0x385aee([0x6d,0x6f,0x64,0x65,0x6c])][_0x385aee([0x6f,0x6e])](_0x385aee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c6a4f,_0x40f3a9)=>{_0x40f3a9[0x0][_0x385aee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5348ed++,_0x5348ed==(0x3dffc109^_0x8b1076)&&(_0x3821e9(),_0x4c6a4f[_0x385aee([0x6f,0x66,0x66])]());});}))];return window[_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x385aee([0x72,0x61,0x63,0x65])](_0xa0b58)[_0x385aee([0x74,0x68,0x65,0x6e])](()=>_0x2e4f8c);}async function _0x7376ca(){await _0x4cf24d,_0x115525[_0x385aee([0x6d,0x6f,0x64,0x65,0x6c])][_0x385aee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a1ba4,_0x115525[_0x385aee([0x6d,0x6f,0x64,0x65,0x6c])][_0x385aee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a1ba4,_0x115525[_0x385aee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x385aee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e61e7(_0x588d81){const _0x31506d=_0x2bc16f();_0x115525[_0x31506d]=_0x385aee([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x588d81,_0x588d81!=_0x385aee([0x56,0x61,0x6c,0x69,0x64])&&_0x7376ca();}function _0x2bc16f(){const _0xf1fe6b=window[_0x385aee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x385aee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x385aee([0x6e,0x6f,0x77])]())[_0x385aee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x385aee([0x2e]),'');let _0x299369=_0x385aee([0x6e]);for(let _0x54c6dd=0x0;_0x54c6dd<_0xf1fe6b[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54c6dd+=0x2){let _0x54d77a=window[_0x385aee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1fe6b[_0x385aee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54c6dd,_0x54c6dd+0x2));_0x54d77a>=_0xa20fad[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54d77a-=_0xa20fad[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x299369+=_0xa20fad[_0x54d77a];}return _0x299369;}function _0x27653d(){const _0x16b3ab=_0x6e0b55[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e]));if(0x3!=_0x16b3ab[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x313190(_0x16b3ab[0x1]);function _0x313190(_0x10e205){const _0x3a1616=_0x15c033(_0x10e205);return _0x3a1616&&_0xb6d503()?_0x3a1616:null;function _0xb6d503(){const _0x27c810=_0x3a1616[_0x385aee([0x6a,0x74,0x69])],_0x5bac93=window[_0x385aee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27c810[_0x385aee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27c810[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b39fc={..._0x3a1616,[_0x385aee([0x6a,0x74,0x69])]:_0x27c810[_0x385aee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27c810[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b39fc[_0x385aee([0x76,0x63])],_0x432d81(_0x1b39fc)==_0x5bac93;}}}async function _0x131227(){let _0x1a60f0=!0x0;try{const _0x5c9c94=_0x6e0b55[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e])),[_0x1b5390,_0x428e6e,_0x54f187]=_0x5c9c94;return _0xf1e8c1(_0x1b5390),await _0x415378(_0x1b5390,_0x428e6e,_0x54f187),_0x1a60f0;}catch{return!0x1;}function _0xf1e8c1(_0x23f4dc){const _0x1b5cb2=_0x15c033(_0x23f4dc);_0x1b5cb2&&_0x1b5cb2[_0x385aee([0x61,0x6c,0x67])]==_0x385aee([0x45,0x53,0x32,0x35,0x36])||(_0x1a60f0=!0x1);}async function _0x415378(_0x3c65e4,_0x5fdf3,_0x5e1a70){const _0x1a641c=window[_0x385aee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x385aee([0x66,0x72,0x6f,0x6d])](_0x769e77(_0x5e1a70),_0x5e5e97=>_0x5e5e97[_0x385aee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xca474f=new window[(_0x385aee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x385aee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c65e4+_0x385aee([0x2e])+_0x5fdf3),_0x8cb2a1=window[_0x385aee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x385aee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8cb2a1)return;const _0x1f6e11=await _0x8cb2a1[_0x385aee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x385aee([0x6a,0x77,0x6b]),_0x440b64,{[_0x385aee([0x6e,0x61,0x6d,0x65])]:_0x385aee([0x45,0x43,0x44,0x53,0x41]),[_0x385aee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x385aee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x385aee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8cb2a1[_0x385aee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x385aee([0x6e,0x61,0x6d,0x65])]:_0x385aee([0x45,0x43,0x44,0x53,0x41]),[_0x385aee([0x68,0x61,0x73,0x68])]:{[_0x385aee([0x6e,0x61,0x6d,0x65])]:_0x385aee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f6e11,_0x1a641c,_0xca474f)||(_0x1a60f0=!0x1);}}function _0x15c033(_0x4a1173){return _0x4a1173[_0x385aee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x385aee([0x65,0x79]))?JSON[_0x385aee([0x70,0x61,0x72,0x73,0x65])](_0x769e77(_0x4a1173)):null;}function _0x769e77(_0x12f841){return window[_0x385aee([0x61,0x74,0x6f,0x62])](_0x12f841[_0x385aee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x385aee([0x2b]))[_0x385aee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x385aee([0x2f])));}function _0x432d81(_0x5f3eb1){let _0x52836e=0x1505;function _0x56638b(_0x34aff9){for(let _0x274b46=0x0;_0x274b46<_0x34aff9[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x274b46++){const _0x3509a0=_0x34aff9[_0x385aee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x274b46);_0x52836e=(_0x52836e<<0x5)+_0x52836e+_0x3509a0,_0x52836e&=_0x52836e;}}function _0x1620f8(_0x13c392){Array[_0x385aee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13c392)?_0x13c392[_0x385aee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1620f8):_0x13c392&&typeof _0x13c392==_0x385aee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x385aee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13c392)[_0x385aee([0x73,0x6f,0x72,0x74])]()[_0x385aee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c4a9e,_0x5d1bf3])=>{_0x56638b(_0x5c4a9e),_0x1620f8(_0x5d1bf3);}):_0x56638b(window[_0x385aee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13c392));}return _0x1620f8(_0x5f3eb1),_0x52836e>>>0x0;}function _0x22a892(_0x284980){return _0x284980[_0x385aee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x385aee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x385aee([0x30]));}function _0x205338(_0x110f8f){return _0x110f8f[_0x385aee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x385aee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x385aee([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a1ba4(){}function _0x385aee(_0x2f7701){const _0x66d009=_0x56d6;return _0x2f7701[_0x66d009(0x1b3)](_0x70bb30=>String[_0x66d009(0x1b9)](_0x70bb30))[_0x66d009(0x1f6)]('');}_0x5e61e7(await _0x447e62());}(this);}[_0x987fc1(0x1b4)](){const _0x502108=_0x987fc1,_0xe4a029=this[_0x502108(0x214)][_0x502108(0x1c0)];_0xe4a029[_0x502108(0x1e9)](_0xa59b97=>{const _0x5aa3ca=_0x502108,_0x173994=_0xe4a029[_0x5aa3ca(0x209)][_0x5aa3ca(0x201)][_0x5aa3ca(0x20a)]();let _0x3797ac=0x0;for(const _0xdf598 of _0x173994){const _0x102c5e=wt+':'+_0x3797ac;if(_0xe4a029[_0x5aa3ca(0x1ae)][_0x5aa3ca(0x1d1)](_0x102c5e))_0xa59b97[_0x5aa3ca(0x208)](_0x102c5e,{'range':_0xdf598});else{if(_0xdf598[_0x5aa3ca(0x1fb)][_0x5aa3ca(0x1bd)]){const _0x2bdee0=_0xdf598[_0x5aa3ca(0x1fb)][_0x5aa3ca(0x1a8)](({item:_0x301f3f})=>!_0xe4a029[_0x5aa3ca(0x1c6)][_0x5aa3ca(0x1fa)](_0x301f3f),{'boundaries':_0xdf598});_0xa59b97[_0x5aa3ca(0x1d3)](_0x102c5e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xa59b97[_0x5aa3ca(0x1c2)](_0x2bdee0,_0xdf598[_0x5aa3ca(0x203)])});}else _0xa59b97[_0x5aa3ca(0x1d3)](_0x102c5e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xdf598});}_0x3797ac++;}});}[_0x987fc1(0x1c9)](){const _0xe4641c=_0x987fc1,_0x2f9004=this[_0xe4641c(0x214)][_0xe4641c(0x1c0)],_0x91f9f0=Array[_0xe4641c(0x1c3)](this[_0xe4641c(0x214)][_0xe4641c(0x1c0)][_0xe4641c(0x1ae)][_0xe4641c(0x1f0)](wt));_0x91f9f0[_0xe4641c(0x1c5)]&&_0x2f9004[_0xe4641c(0x1e9)](_0x4d715b=>{const _0x3a32f2=_0xe4641c;_0x91f9f0[_0x3a32f2(0x1d4)](_0x329ce0=>{const _0x51591c=_0x3a32f2;_0x4d715b[_0x51591c(0x1be)](_0x329ce0);});});}[_0x987fc1(0x1fc)](_0xc5d22f,_0x314bcb){const _0x2b17e8=_0x987fc1,_0x5edab7=this[_0x2b17e8(0x1eb)](),_0x1f492e=_0x314bcb||_0x5edab7[_0x2b17e8(0x1ef)]();this[_0x2b17e8(0x214)][_0x2b17e8(0x1c0)][_0x2b17e8(0x1d7)](_0x1f492e)&&this[_0x2b17e8(0x214)][_0x2b17e8(0x1c0)][_0x2b17e8(0x1e9)](_0x48cc9a=>{const _0x42843b=_0x2b17e8;this[_0x42843b(0x1c9)](),_0x314bcb||this[_0x42843b(0x200)](_0x48cc9a,_0x5edab7),this[_0x42843b(0x1db)]({'insertAt':_0x1f492e,'writer':_0x48cc9a,'html':_0xc5d22f});});}[_0x987fc1(0x1cd)](_0x6cd6d5){const _0x5c4618=_0x987fc1,{model:_0x3f0703}=this[_0x5c4618(0x214)],_0x233ca7=this[_0x5c4618(0x1eb)]();_0x3f0703[_0x5c4618(0x1e9)](()=>{const _0x5de458=_0x5c4618,_0x2a5168=this[_0x5de458(0x206)](_0x6cd6d5,_0x233ca7)||this[_0x5de458(0x20c)](_0x233ca7);this[_0x5de458(0x1fc)](_0x6cd6d5,_0x2a5168);});}[_0x987fc1(0x1eb)](){const _0x5990a7=_0x987fc1,_0x2ebf03=this[_0x5990a7(0x214)][_0x5990a7(0x1c0)],_0x11ff50=Array[_0x5990a7(0x1c3)](_0x2ebf03[_0x5990a7(0x1ae)][_0x5990a7(0x1f0)](wt))[_0x5990a7(0x1b3)](_0x344515=>_0x344515[_0x5990a7(0x1d6)]());return _0x2ebf03[_0x5990a7(0x1ba)](_0x11ff50);}[_0x987fc1(0x1db)]({writer:_0x4c9e55,html:_0x493377,insertAt:_0x48658d}){const _0x3bf208=_0x987fc1,{view:_0x48d33c}=this[_0x3bf208(0x214)][_0x3bf208(0x1e4)],_0x2a08d4=this[_0x3bf208(0x214)][_0x3bf208(0x1ca)][_0x3bf208(0x202)](_0x146a61),_0x5822ee=new lt();_0x5822ee[_0x3bf208(0x1cc)](_0x3bf208(0x213),_0x493377);const _0x2b6a62=new ClipboardEvent(_0x3bf208(0x1e1),{'clipboardData':_0x5822ee}),_0xe56b94=new _0x3e61d0(_0x48d33c,_0x2b6a62,{'dataTransfer':new _0xcb7fe2(_0x5822ee)});_0x4c9e55[_0x3bf208(0x1e7)](_0x48658d);const _0x572c27=(_0x43d2c4,_0x2145d0)=>{const _0x56a07e=_0x3bf208;_0x2145d0[_0x56a07e(0x1de)]&&_0x4c9e55[_0x56a07e(0x1e7)](_0x2145d0[_0x56a07e(0x1de)]);};_0x2a08d4[_0x3bf208(0x1da)](_0x3bf208(0x1cb),_0x572c27,{'priority':_0x3bf208(0x20b)}),_0x48d33c[_0x3bf208(0x209)][_0x3bf208(0x1ee)](_0x3bf208(0x1e1),_0xe56b94),_0x2a08d4[_0x3bf208(0x210)](_0x3bf208(0x1cb),_0x572c27);}[_0x987fc1(0x20c)](_0x165409){const _0x479734=_0x987fc1,{model:_0x4bde85}=this[_0x479734(0x214)],_0x53ddf1=Array[_0x479734(0x1c3)](_0x165409[_0x479734(0x1d2)]());return _0x53ddf1[_0x479734(0x1c5)]?_0x4bde85[_0x479734(0x1ad)](_0x53ddf1[_0x479734(0x1bf)]()):_0x165409[_0x479734(0x1dc)]();}[_0x987fc1(0x206)](_0x497345,_0xd078c8){const _0x393774=_0x987fc1,{model:_0x101cdb,plugins:_0x431264}=this[_0x393774(0x214)];if(_0x431264[_0x393774(0x1d1)](_0x393774(0x1bb))){const _0x48d5bd=_0x431264[_0x393774(0x202)](_0x393774(0x1bb))[_0x393774(0x1cf)](_0xd078c8);if(_0x48d5bd[_0x393774(0x1c5)]){const _0x266a97=this[_0x393774(0x1e5)](_0x497345),_0x75bc0=this[_0x393774(0x207)](_0x48d5bd,_0x266a97);return _0x101cdb[_0x393774(0x1d0)](_0x75bc0,0x0);}}return null;}[_0x987fc1(0x1e5)](_0x5ee766){const _0x39c63d=_0x987fc1,_0x25683b=this[_0x39c63d(0x214)][_0x39c63d(0x1ca)][_0x39c63d(0x202)](_0x39c63d(0x1bb)),_0x2daa9f=this[_0x39c63d(0x214)][_0x39c63d(0x1f3)][_0x39c63d(0x1b8)](_0x5ee766),_0x5678a0=Array[_0x39c63d(0x1c3)](_0x2daa9f[_0x39c63d(0x205)]())[_0x39c63d(0x1c8)](_0x40e508=>_0x40e508['is'](_0x39c63d(0x1a9),_0x39c63d(0x1fe)));let _0x281c47=0x0;return _0x5678a0[_0x39c63d(0x1d4)](_0xe70566=>{const _0x5cb7e1=_0x39c63d;_0x281c47+=_0x25683b[_0x5cb7e1(0x1af)](_0xe70566);}),_0x281c47;}[_0x987fc1(0x207)](_0x1a78c,_0x54e8b8){const _0x554400=_0x987fc1,_0x5448f2=this[_0x554400(0x214)][_0x554400(0x1ca)][_0x554400(0x202)](_0x554400(0x1bb)),_0x15654b=_0x5448f2[_0x554400(0x1ea)](_0x1a78c),_0x29fbdb=_0x5448f2[_0x554400(0x1b6)](_0x1a78c),_0x220451=_0x15654b[_0x554400(0x1c1)]+0x1,_0x50ecc6=_0x29fbdb[_0x554400(0x1fd)],_0x54ee44=_0x1a78c[0x0][_0x554400(0x212)](_0x554400(0x1fe));for(let _0x17ac37=0x0;_0x17ac37<_0x54e8b8;_0x17ac37++)_0x5448f2[_0x554400(0x1b7)](_0x54ee44,{'at':_0x220451});return _0x54ee44[_0x554400(0x1ec)](_0x220451)[_0x554400(0x1ec)](_0x50ecc6);}[_0x987fc1(0x200)](_0x369c8b,_0x1c4aeb){const _0x50b2dd=_0x987fc1,{plugins:_0x1c046b}=this[_0x50b2dd(0x214)],{model:_0xadc0e0}=_0x369c8b;if(!_0x1c046b[_0x50b2dd(0x1d1)](_0x50b2dd(0x1bb)))return;_0x1c046b[_0x50b2dd(0x202)](_0x50b2dd(0x1bb))[_0x50b2dd(0x1cf)](_0x1c4aeb)[_0x50b2dd(0x1c5)]&&_0xadc0e0[_0x50b2dd(0x1c7)](_0x1c4aeb);}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x4fc01e=_0x26eb;(function(_0x433b82,_0xd56dab){const _0x4faa2b=_0x26eb,_0x12c889=_0x433b82();while(!![]){try{const _0x56653e=parseInt(_0x4faa2b(0x191))/0x1*(-parseInt(_0x4faa2b(0xfc))/0x2)+parseInt(_0x4faa2b(0x18a))/0x3*(parseInt(_0x4faa2b(0x125))/0x4)+-parseInt(_0x4faa2b(0xf9))/0x5*(-parseInt(_0x4faa2b(0x119))/0x6)+-parseInt(_0x4faa2b(0x124))/0x7+-parseInt(_0x4faa2b(0x11e))/0x8+parseInt(_0x4faa2b(0x134))/0x9*(-parseInt(_0x4faa2b(0x133))/0xa)+-parseInt(_0x4faa2b(0x10b))/0xb*(-parseInt(_0x4faa2b(0x13d))/0xc);if(_0x56653e===_0xd56dab)break;else _0x12c889['push'](_0x12c889['shift']());}catch(_0x4898ca){_0x12c889['push'](_0x12c889['shift']());}}}(_0x2a5f,0x7c4c0));import{Plugin as _0x5df519}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1ad2dd,IconRobotPencil as _0xbaecc0}from'ckeditor5/src/icons.js';import{first as _0x12aded,CKEditorError as _0x14b9a3}from'ckeditor5/src/utils.js';import{createDropdown as _0x50a37a,addMenuToDropdown as _0x4dd207,ButtonView as _0x5353b5,MenuBarMenuListItemButtonView as _0x595868,Dialog as _0x5f1d81,DialogViewPosition as _0x43747d,MenuBarMenuView as _0x5d9788,MenuBarMenuListView as _0x407472,MenuBarMenuListItemView as _0x59d9df}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4e26c6,UNGROUPED_COMMANDS_GROUP_ID as _0x56201b}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x46c205}from'./aiassistantediting.js';function _0x26eb(_0x3b52e3,_0x29bde8){const _0x2a5f31=_0x2a5f();return _0x26eb=function(_0x26ebff,_0x59bcb1){_0x26ebff=_0x26ebff-0xed;let _0x406c46=_0x2a5f31[_0x26ebff];return _0x406c46;},_0x26eb(_0x3b52e3,_0x29bde8);}import{AIAdapter as _0x3d4ba1}from'./adapters/aiadapter.js';import{getTranslation as _0x2d1401}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3b9a05}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1f3843}from'./ui/aiassistantcontroller.js';function _0x2a5f(){const _0x3e8807=['trim','getRanges','\x20ck-ai-assistant-ui_theme','isCollapsed','splice','label','body','map','buttonView','285PjKWqu','ai.assistant.commands','evaluationLimit','8SBWSNg','requires','fire','replace','ck-ai-assistant-ui','menuPanelClass','commands','showFakeVisualSelection','text','values','aiLicenseKeyNotAllowed','AI\x20Assistant','change:enabledCommandsIds','change:value','REPLACE','121AsIPdH','pluginName','AIAssistantUI','document','showAIAssistant','getLimitElement','showUI','hideFakeVisualSelection','DataTransfer','contentArea','define','change','menuBar:aiAssistant','source','47622tampja','forEach','_forceMarkersCopy','aiLicenseKeyEvaluationLimit','featureNotAllowed','7898976iwhyhk','command:','includes','groupId','ai-commands-config-order-collision','order','763917ayFBMT','1880488rhbjTC','addMany','bind','<p>','schema','editing','AI\x20is\x20writing','aiLicenseKeyUsageLimit','insertContentBelow','aiLicenseKeyDomainLimit','getSelectedElement','replaceContent','requiresContent','_getResolvedCommandsDefinitions','9110eOEgkf','6309dpfjje','menuitemcheckbox','INSERT','items','listenTo','_getMenuBarGroupButtons','prompt','buttons','init','1773684aQVGDQ','add','ai.assistant.contentAreaCssClass','text/html','copy','expired','change:isError','from','isEnabled','menuView','aiLicenseKeyInvalid','_uiCssClasses','AIAssistant','once','focus','show','ck-ai-commands-dropdown\x20','media','reset','selection','insertContent','domainLimit','</p>','Generated\x20content:\x20%0','AI\x20Commands','menuBar:aiCommands','locale','panelView','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','delegate','_formView','execute','fieldView','change:isProcessing','_initAriaAiStatusChangeAnnouncements','getData','enabledCommandsIds','promptView','_populateMenuBarMenu','isOn','custom','destroy','_showLicenseError','tableOfContents','get','config','length','update','rawHtml','announce','view','model','setSelection','set','_onExecute','sort','ai.assistant.disabledElements','licenseKey','isFlat','currentContext','polite','_createAIAssistantUIButton','render','aiLicenseKeyExpired','_commandDefinitions','wasMoved','isOfficialPlugin','componentFactory','hide','EDITOR_TOP_SIDE','updatePosition','aiCommands','groupLabel','_licenseKeyCheckInterval','_dialog','plugins','6rUKQCr','_aiAssistantController','usageLimit','editor','aiAssistant','aiLicenseKeyValid','textAdapter','193574BWQSvJ','comment','_initView','getSelectedBlocks','push','filter','children','invalid','_aiAdapter','hideUI','ai.assistant.useTheme','updateView','ck-ai-assistant-button\x20','isPremiumPlugin','errorView'];_0x2a5f=function(){return _0x3e8807;};return _0x2a5f();}import{AIFormView as _0x207d06}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xbd38ce}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const lt=globalThis[_0x4fc01e(0x113)];import{ClipboardMarkersUtils as _0x4d7804}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2cf6d8,ViewDataTransfer as _0x35d337}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x5df519{[_0x4fc01e(0x177)];[_0x4fc01e(0x187)];[_0x4fc01e(0x188)];[_0x4fc01e(0x15c)];[_0x4fc01e(0x199)];[_0x4fc01e(0x18b)];[_0x4fc01e(0x148)]='';static get[_0x4fc01e(0x10c)](){const _0xb974e=_0x4fc01e;return _0xb974e(0x10d);}static get[_0x4fc01e(0x180)](){return!0x0;}static get[_0x4fc01e(0xee)](){return!0x0;}static get[_0x4fc01e(0xfd)](){return[_0x4d7804,_0x46c205,_0x3d4ba1,_0x5f1d81];}constructor(_0xcdbcc5){const _0x230148=_0x4fc01e;super(_0xcdbcc5),_0xcdbcc5[_0x230148(0x16b)][_0x230148(0x115)](_0x230148(0x176),[_0x230148(0x14e),_0x230148(0x16e),_0x230148(0x169)]),_0xcdbcc5[_0x230148(0x16b)][_0x230148(0x115)](_0x230148(0x13f),''),_0xcdbcc5[_0x230148(0x16b)][_0x230148(0x115)](_0x230148(0x19b),!0x0),this[_0x230148(0x148)]=_0x230148(0x100)+(_0xcdbcc5[_0x230148(0x16b)][_0x230148(0x16a)](_0x230148(0x19b))?_0x230148(0xf2):'');}[_0x4fc01e(0x13c)](){const _0x38be9d=_0x4fc01e,{editor:_0x23a296}=this;this[_0x38be9d(0x199)]=_0x23a296[_0x38be9d(0x189)][_0x38be9d(0x16a)](_0x3d4ba1),this[_0x38be9d(0x188)]=_0x23a296[_0x38be9d(0x189)][_0x38be9d(0x16a)](_0x5f1d81),this[_0x38be9d(0x15c)]=null,this[_0x38be9d(0x17e)]=this[_0x38be9d(0x132)]();const _0x2325c=new _0x3b9a05(_0x23a296,Array[_0x38be9d(0x144)](this[_0x38be9d(0x17e)][_0x38be9d(0x105)]()));_0x23a296[_0x38be9d(0x102)][_0x38be9d(0x13e)](_0x38be9d(0x10f),_0x2325c),_0x23a296['ui'][_0x38be9d(0x181)][_0x38be9d(0x13e)](_0x38be9d(0x185),_0x21b153=>{const _0xeeda82=_0x38be9d,_0x2d0a5c=_0x50a37a(_0x21b153);return _0x2d0a5c[_0xeeda82(0x173)]({'class':_0xeeda82(0x14d)+this[_0xeeda82(0x148)]}),_0x2d0a5c[_0xeeda82(0xf8)][_0xeeda82(0x173)]({'label':_0x2d1401(_0x21b153,_0xeeda82(0x155)),'icon':_0x1ad2dd,'tooltip':!0x0}),_0x2d0a5c['on'](_0xeeda82(0x15d),_0xca95ca=>this[_0xeeda82(0x174)](_0xca95ca[_0xeeda82(0x118)]['id'])),_0x4dd207(_0x2d0a5c,_0x23a296['ui'][_0xeeda82(0x170)][_0xeeda82(0xf6)],function(_0x25937e){const _0x5f1541=_0xeeda82,_0x400645=_0x4e26c6(_0x25937e[_0x5f1541(0x16b)][_0x5f1541(0x16a)](_0x5f1541(0xfa)),_0x25937e[_0x5f1541(0x157)]),_0x34d341=gi(_0x25937e,_0x400645)[_0x5f1541(0x196)](_0x58fd6e=>_0x58fd6e[_0x5f1541(0x102)][_0x5f1541(0x16c)]);if(0x1===_0x34d341[_0x5f1541(0x16c)])return gi(_0x25937e,_0x34d341[0x0][_0x5f1541(0x102)])[_0x5f1541(0xf7)](_0x196af3=>({'id':_0x196af3['id'],'label':_0x196af3[_0x5f1541(0xf5)]}));return _0x34d341[_0x5f1541(0xf7)](_0x14952b=>{const _0x5eb4dd=_0x5f1541,{groupId:_0x52ce18,groupLabel:_0x3f5b53,commands:_0xa263c7}=_0x14952b,_0xdec991=gi(_0x25937e,_0xa263c7)[_0x5eb4dd(0xf7)](_0x59b985=>({'id':_0x59b985['id'],'label':_0x59b985[_0x5eb4dd(0xf5)]}));return{'id':_0x52ce18,'menu':_0x3f5b53||_0x52ce18,'children':_0xdec991};});}(_0x23a296),{'ariaLabel':_0x2d1401(_0x21b153,_0xeeda82(0x155))}),_0x2d0a5c[_0xeeda82(0x146)][_0xeeda82(0x101)]=_0xeeda82(0x14d)+this[_0xeeda82(0x148)],_0x2325c['on'](_0xeeda82(0x108),_0x3f581e),_0x2d0a5c[_0xeeda82(0x146)][_0xeeda82(0x14a)](_0xeeda82(0x17c),_0x3f581e),_0x2d0a5c;function _0x3f581e(){const _0x13629f=_0xeeda82;_0x2d0a5c[_0x13629f(0x145)]=_0x2325c[_0x13629f(0x162)][_0x13629f(0x16c)]>0x0;for(const _0x2d3936 of _0x2d0a5c[_0x13629f(0x146)][_0x13629f(0x13b)])_0x2d3936[_0x13629f(0x145)]=_0x2325c[_0x13629f(0x162)][_0x13629f(0x120)](_0x2d3936['id']);}}),_0x23a296['ui'][_0x38be9d(0x181)][_0x38be9d(0x13e)](_0x38be9d(0x156),_0x5eadc3=>{const _0x111dd6=_0x38be9d,_0x1955d2=new _0x5d9788(_0x5eadc3);_0x1955d2[_0x111dd6(0xf8)][_0x111dd6(0x173)]({'label':_0x2d1401(_0x5eadc3,_0x111dd6(0x155)),'icon':_0x1ad2dd}),_0x1955d2[_0x111dd6(0x127)](_0x111dd6(0x145))['to'](_0x2325c,_0x111dd6(0x162),_0x1d3ae6=>_0x1d3ae6[_0x111dd6(0x16c)]>0x0);const _0x53708b=_0x4e26c6(_0x23a296[_0x111dd6(0x16b)][_0x111dd6(0x16a)](_0x111dd6(0xfa)),_0x5eadc3);return this[_0x111dd6(0x164)](_0x2325c,_0x1955d2,_0x53708b,_0x5eb614=>this[_0x111dd6(0x174)](_0x5eb614)),_0x1955d2;}),_0x23a296['ui'][_0x38be9d(0x181)][_0x38be9d(0x13e)](_0x38be9d(0x18e),()=>{const _0x2d444d=_0x38be9d,_0x1f312d=this[_0x2d444d(0x17b)](_0x5353b5);return _0x1f312d[_0x2d444d(0x173)]({'tooltip':!0x0,'class':_0x2d444d(0xed)+this[_0x2d444d(0x148)]}),_0x1f312d;}),_0x23a296['ui'][_0x38be9d(0x181)][_0x38be9d(0x13e)](_0x38be9d(0x117),()=>{const _0x11e1fb=_0x38be9d,_0x8a94a1=this[_0x11e1fb(0x17b)](_0x595868);return _0x8a94a1[_0x11e1fb(0x173)]({'role':_0x11e1fb(0x135)}),_0x8a94a1;}),this[_0x38be9d(0x177)]=this[_0x38be9d(0x18d)][_0x38be9d(0x16b)][_0x38be9d(0x16a)](_0x38be9d(0x177));const _0x7f1176=this[_0x38be9d(0x18d)];this[_0x38be9d(0x187)]=setInterval(()=>{const _0x1ff2ee=_0x38be9d;let _0x5a302e;for(const _0x482457 in _0x7f1176){const _0x46c487=_0x482457,_0x248d52=_0x7f1176[_0x46c487];if(_0x1ff2ee(0x18f)==_0x248d52||_0x1ff2ee(0x147)==_0x248d52||_0x1ff2ee(0x17d)==_0x248d52||_0x1ff2ee(0x12e)==_0x248d52||_0x1ff2ee(0x106)==_0x248d52||_0x1ff2ee(0x11c)==_0x248d52||_0x1ff2ee(0x12c)==_0x248d52){delete _0x7f1176[_0x46c487],_0x5a302e=_0x248d52,clearInterval(this[_0x1ff2ee(0x187)]),this[_0x1ff2ee(0x187)]=void 0x0;break;}}_0x1ff2ee(0x147)==_0x5a302e&&_0x7f1176[_0x1ff2ee(0x168)](_0x1ff2ee(0x198)),_0x1ff2ee(0x17d)==_0x5a302e&&_0x7f1176[_0x1ff2ee(0x168)](_0x1ff2ee(0x142)),_0x1ff2ee(0x12e)==_0x5a302e&&_0x7f1176[_0x1ff2ee(0x168)](_0x1ff2ee(0x152)),_0x1ff2ee(0x106)==_0x5a302e&&_0x7f1176[_0x1ff2ee(0x168)](_0x1ff2ee(0x11d),_0x1ff2ee(0x149)),_0x1ff2ee(0x11c)==_0x5a302e&&_0x7f1176[_0x1ff2ee(0x168)](_0x1ff2ee(0xfb)),_0x1ff2ee(0x12c)==_0x5a302e&&_0x7f1176[_0x1ff2ee(0x168)](_0x1ff2ee(0x18c));},0x3e8);}[_0x4fc01e(0x167)](){const _0x5c52b2=_0x4fc01e;super[_0x5c52b2(0x167)](),this[_0x5c52b2(0x187)]&&clearInterval(this[_0x5c52b2(0x187)]);}[_0x4fc01e(0x111)](_0x1474cf='',_0x296c7e='',_0x1f969a=_0x4fc01e(0x166)){const _0x2038c5=_0x4fc01e,_0x4d3eae=this[_0x2038c5(0x18d)],_0x4566d9=_0x4d3eae[_0x2038c5(0x12a)][_0x2038c5(0x170)],_0x1d7739=_0x4d3eae[_0x2038c5(0x189)][_0x2038c5(0x16a)](_0x46c205),_0x330740=_0x4d3eae[_0x2038c5(0x189)][_0x2038c5(0x16a)](_0x4d7804);_0x1d7739[_0x2038c5(0x103)]();const _0x2ad558=new lt(),_0x1c8890=new ClipboardEvent(_0x2038c5(0x141),{'clipboardData':_0x2ad558}),_0x57a358=new _0x35d337(_0x2ad558),_0x4bf552=new _0x2cf6d8(_0x4566d9,_0x1c8890,{'dataTransfer':_0x57a358});_0x330740[_0x2038c5(0x11b)](_0x2038c5(0x192),()=>{const _0x1ff55d=_0x2038c5;_0x4566d9[_0x1ff55d(0x10e)][_0x1ff55d(0xfe)](_0x1ff55d(0x141),_0x4bf552);}),this[_0x2038c5(0x15c)]||(this[_0x2038c5(0x193)](),this[_0x2038c5(0x18b)]=new _0x1f3843(_0x4d3eae,this[_0x2038c5(0x199)][_0x2038c5(0x190)],this[_0x2038c5(0x15c)]));let _0x125f3b=_0x57a358[_0x2038c5(0x161)](_0x2038c5(0x140));const _0x32ec42=_0x4d3eae[_0x2038c5(0x171)][_0x2038c5(0x10e)][_0x2038c5(0x150)],_0x3a8d7a=Array[_0x2038c5(0x144)](_0x32ec42[_0x2038c5(0xf1)]());0x1===_0x3a8d7a[_0x2038c5(0x16c)]&&_0x3a8d7a[0x0][_0x2038c5(0x178)]&&!_0x32ec42[_0x2038c5(0x12f)]()&&''!==_0x125f3b[_0x2038c5(0xff)](/ /g,'')[_0x2038c5(0xf0)]()&&(_0x125f3b=_0x2038c5(0x128)+_0x125f3b+_0x2038c5(0x153)),this[_0x2038c5(0x18b)][_0x2038c5(0x19c)]({'actionId':_0x1f969a,'query':_0x1474cf,'htmlContent':_0x125f3b,'label':_0x296c7e,'mainActionLabel':_0xbd38ce[_0x4d3eae[_0x2038c5(0x171)][_0x2038c5(0x10e)][_0x2038c5(0x150)][_0x2038c5(0xf3)]?_0x2038c5(0x136):_0x2038c5(0x10a)]}),_0x2038c5(0x18e)!==this[_0x2038c5(0x188)]['id']?this[_0x2038c5(0x188)][_0x2038c5(0x14c)]({'id':_0x2038c5(0x18e),'icon':_0xbaecc0,'title':_0x2d1401(this[_0x2038c5(0x18d)][_0x2038c5(0x157)],_0x2038c5(0x107)),'content':this[_0x2038c5(0x15c)],'position':_0x43747d[_0x2038c5(0x183)],'onShow':()=>{const _0x3373e6=_0x2038c5;this[_0x3373e6(0x15c)][_0x3373e6(0x14b)]();},'onHide':()=>{const _0x265741=_0x2038c5;this[_0x265741(0x18b)][_0x265741(0x14f)](),_0x1d7739[_0x265741(0x112)]();}}):this[_0x2038c5(0x188)][_0x2038c5(0x170)][_0x2038c5(0x17f)]||this[_0x2038c5(0x188)][_0x2038c5(0x170)][_0x2038c5(0x184)]();}[_0x4fc01e(0x19a)](){const _0x2b415e=_0x4fc01e;this[_0x2b415e(0x188)][_0x2b415e(0x182)]();}[_0x4fc01e(0x132)](){const _0x4b9395=_0x4fc01e,_0x16e350=new Map(),_0x2a95a4=_0x4e26c6(this[_0x4b9395(0x18d)][_0x4b9395(0x16b)][_0x4b9395(0x16a)](_0x4b9395(0xfa)),this[_0x4b9395(0x18d)][_0x4b9395(0x157)]);for(const _0x51efb0 of _0x2a95a4)for(const _0x1e5459 of _0x51efb0[_0x4b9395(0x102)])_0x16e350[_0x4b9395(0x173)](_0x1e5459['id'],{..._0x1e5459,'groupId':_0x51efb0[_0x4b9395(0x121)],'groupLabel':_0x51efb0[_0x4b9395(0x186)]||_0x51efb0[_0x4b9395(0x121)]});return _0x16e350;}[_0x4fc01e(0x17b)](_0x446543){const _0x5d5f90=_0x4fc01e,_0x1595ee=this[_0x5d5f90(0x18d)],_0x45b2ba=_0x1595ee[_0x5d5f90(0x102)][_0x5d5f90(0x16a)](_0x5d5f90(0x10f)),_0x40420e=new _0x446543(_0x1595ee[_0x5d5f90(0x157)]);return _0x40420e[_0x5d5f90(0x173)]({'label':_0x2d1401(_0x1595ee[_0x5d5f90(0x157)],_0x5d5f90(0x107)),'icon':_0xbaecc0,'isToggleable':!0x0}),_0x40420e[_0x5d5f90(0x127)](_0x5d5f90(0x145))['to'](_0x45b2ba),_0x40420e[_0x5d5f90(0x127)](_0x5d5f90(0x165))['to'](this[_0x5d5f90(0x188)],'id',_0x3545c4=>_0x5d5f90(0x18e)===_0x3545c4),this[_0x5d5f90(0x138)](_0x40420e,_0x5d5f90(0x15d),()=>{const _0x2827e0=_0x5d5f90;_0x40420e[_0x2827e0(0x165)]?this[_0x2827e0(0x19a)]():_0x45b2ba[_0x2827e0(0x15d)]();}),_0x40420e;}[_0x4fc01e(0x193)](){const _0x3394a8=_0x4fc01e,_0x2a9351=this[_0x3394a8(0x18d)][_0x3394a8(0x189)][_0x3394a8(0x16a)](_0x46c205);this[_0x3394a8(0x15c)]=new _0x207d06(this[_0x3394a8(0x18d)][_0x3394a8(0x157)],this[_0x3394a8(0x148)],this[_0x3394a8(0x18d)][_0x3394a8(0x16b)][_0x3394a8(0x16a)](_0x3394a8(0x13f))),this[_0x3394a8(0x15c)]['on'](_0x3394a8(0x109),()=>{const _0x2b49c5=_0x3394a8;this[_0x2b49c5(0x188)][_0x2b49c5(0x170)][_0x2b49c5(0x17f)]||this[_0x2b49c5(0x188)][_0x2b49c5(0x170)][_0x2b49c5(0x184)]();}),this[_0x3394a8(0x15c)][_0x3394a8(0x163)][_0x3394a8(0x15a)][_0x3394a8(0x15e)]['on'](_0x3394a8(0x16d),()=>{const _0x598afe=_0x3394a8;this[_0x598afe(0x188)][_0x598afe(0x170)][_0x598afe(0x17f)]||this[_0x598afe(0x188)][_0x598afe(0x170)][_0x598afe(0x184)]();}),this[_0x3394a8(0x138)](this[_0x3394a8(0x15c)],_0x3394a8(0x130),()=>{const _0x526ce0=_0x3394a8;_0x2a9351[_0x526ce0(0x151)](this[_0x526ce0(0x18b)][_0x526ce0(0x179)]),this[_0x526ce0(0x19a)]();}),this[_0x3394a8(0x138)](this[_0x3394a8(0x15c)],_0x3394a8(0x12d),()=>{const _0x110239=_0x3394a8;_0x2a9351[_0x110239(0x12d)](this[_0x110239(0x18b)][_0x110239(0x179)]),this[_0x110239(0x19a)]();}),this[_0x3394a8(0x160)]();}[_0x4fc01e(0x160)](){const _0x462153=_0x4fc01e,{locale:_0xde90fd,ui:{ariaLiveAnnouncer:_0x3531be}}=this[_0x462153(0x18d)];this[_0x462153(0x15c)][_0x462153(0x114)]['on'](_0x462153(0x15f),(_0x3ab567,_0x3ffae3,_0x1311f3)=>{const _0x47699c=_0x462153,_0x26ca30=this[_0x47699c(0x18b)][_0x47699c(0x179)];_0x1311f3?_0x3531be[_0x47699c(0x16f)](_0x2d1401(_0xde90fd,_0x47699c(0x12b))):_0x26ca30&&_0x3531be[_0x47699c(0x16f)](_0x2d1401(_0xde90fd,_0x47699c(0x154),_0x26ca30),{'politeness':_0x47699c(0x17a),'isUnsafeHTML':!0x0});}),this[_0x462153(0x15c)]['on'](_0x462153(0x143),(_0x31b131,_0x249169,_0x621ae1)=>{const _0x2651c9=_0x462153;if(_0x621ae1){const _0xa7ba66=this[_0x2651c9(0x15c)][_0x2651c9(0xef)][_0x2651c9(0x104)];_0x3531be[_0x2651c9(0x16f)](_0x2d1401(_0xde90fd,_0x2651c9(0x159),_0xa7ba66));}});}[_0x4fc01e(0x174)](_0x374bbd){const _0x43bdab=_0x4fc01e,_0x351547=this[_0x43bdab(0x17e)][_0x43bdab(0x16a)](_0x374bbd),_0xeefb8b=this[_0x43bdab(0x18d)],_0x519228=_0xeefb8b[_0x43bdab(0x171)][_0x43bdab(0x10e)][_0x43bdab(0x150)],_0xe210b3=_0xeefb8b[_0x43bdab(0x102)][_0x43bdab(0x16a)](_0x43bdab(0x10f)),_0x3b83a9=_0xeefb8b[_0x43bdab(0x189)][_0x43bdab(0x16a)](_0x46c205),_0x7904f4=''+(_0x351547[_0x43bdab(0x121)]!==_0x56201b?_0x351547[_0x43bdab(0x186)]+':\x20':'')+_0x351547[_0x43bdab(0xf5)];if(!0x1!==_0x351547[_0x43bdab(0x131)]&&_0x519228[_0x43bdab(0xf3)]){const _0x59ec64=_0x12aded(_0x519228[_0x43bdab(0x194)]())||_0xeefb8b[_0x43bdab(0x171)][_0x43bdab(0x129)][_0x43bdab(0x110)](_0x519228);_0xeefb8b[_0x43bdab(0x171)][_0x43bdab(0x116)](_0x2fa347=>{const _0x2f9b6f=_0x43bdab;_0x2fa347[_0x2f9b6f(0x172)](_0x59ec64,'in');});}_0x3b83a9[_0x43bdab(0x103)](),_0xe210b3[_0x43bdab(0x15d)](_0x351547[_0x43bdab(0x13a)],_0x7904f4,_0x43bdab(0x11f)+_0x374bbd);}[_0x4fc01e(0x164)](_0x3cb2a4,_0x24a16c,_0x5789ac,_0x50f3f3){const _0x47f1aa=_0x4fc01e,_0x3ab680=this[_0x47f1aa(0x18d)],_0x155ece=_0x3ab680[_0x47f1aa(0x157)],_0x5c0193=new _0x407472(_0x155ece),_0x2cb534=gi(_0x3ab680,_0x5789ac)[_0x47f1aa(0x196)](_0x1e3814=>_0x1e3814[_0x47f1aa(0x102)][_0x47f1aa(0x16c)]);0x1===_0x2cb534[_0x47f1aa(0x16c)]?this[_0x47f1aa(0x139)]({'command':_0x3cb2a4,'commands':_0x2cb534[0x0][_0x47f1aa(0x102)],'parentMenuView':_0x24a16c,'onExecute':_0x50f3f3})[_0x47f1aa(0x11a)](_0x1ed0ba=>_0x5c0193[_0x47f1aa(0x137)][_0x47f1aa(0x13e)](_0x1ed0ba)):_0x2cb534[_0x47f1aa(0x11a)](({groupId:_0x5d2ec3,groupLabel:_0x1c626b,commands:_0x4abf02})=>{const _0x526f54=_0x47f1aa,_0x2f1686=new _0x59d9df(_0x155ece,_0x24a16c),_0x53d2d5=new _0x5d9788(_0x155ece),_0x1117ef=new _0x407472(_0x155ece),_0x5db376=this[_0x526f54(0x139)]({'command':_0x3cb2a4,'commands':_0x4abf02,'parentMenuView':_0x53d2d5,'onExecute':_0x50f3f3});_0x53d2d5[_0x526f54(0xf8)][_0x526f54(0x173)]({'label':_0x1c626b||_0x5d2ec3}),_0x53d2d5[_0x526f54(0x15b)](_0x526f54(0x15d))['to'](_0x24a16c),_0x1117ef[_0x526f54(0x137)][_0x526f54(0x126)](_0x5db376),_0x53d2d5[_0x526f54(0x158)][_0x526f54(0x197)][_0x526f54(0x13e)](_0x1117ef),_0x2f1686[_0x526f54(0x197)][_0x526f54(0x13e)](_0x53d2d5),_0x5c0193[_0x526f54(0x137)][_0x526f54(0x13e)](_0x2f1686);}),_0x24a16c[_0x47f1aa(0x158)][_0x47f1aa(0x197)][_0x47f1aa(0x13e)](_0x5c0193);}[_0x4fc01e(0x139)]({command:_0x17304b,commands:_0x1aab0e,parentMenuView:_0x5b395f,onExecute:_0x1abab4}){const _0x5e901d=_0x4fc01e,_0x20a0eb=this[_0x5e901d(0x18d)],_0x446efd=_0x20a0eb[_0x5e901d(0x157)];return gi(_0x20a0eb,_0x1aab0e)[_0x5e901d(0xf7)](_0x4ac39f=>{const _0x5a6cd4=_0x5e901d,_0x425548=new _0x59d9df(_0x446efd,_0x5b395f),_0x3971c0=new _0x595868(_0x446efd);return _0x3971c0[_0x5a6cd4(0x173)]({'label':_0x4ac39f[_0x5a6cd4(0xf5)]}),_0x3971c0[_0x5a6cd4(0x15b)](_0x5a6cd4(0x15d))['to'](_0x5b395f),_0x3971c0['on'](_0x5a6cd4(0x15d),()=>_0x1abab4(_0x4ac39f['id'])),_0x3971c0[_0x5a6cd4(0x127)](_0x5a6cd4(0x145))['to'](_0x17304b,_0x5a6cd4(0x162),_0x19475f=>_0x19475f[_0x5a6cd4(0x120)](_0x4ac39f['id'])),_0x425548[_0x5a6cd4(0x197)][_0x5a6cd4(0x13e)](_0x3971c0),_0x425548;});}}function wi(_0x107687,_0x183115){const _0x1bbfff=_0x4fc01e;return void 0x0!==_0x107687[_0x1bbfff(0x123)]&&void 0x0===_0x183115[_0x1bbfff(0x123)]?0x1:void 0x0===_0x107687[_0x1bbfff(0x123)]&&void 0x0!==_0x183115[_0x1bbfff(0x123)]?-0x1:void 0x0!==_0x107687[_0x1bbfff(0x123)]&&void 0x0!==_0x183115[_0x1bbfff(0x123)]?_0x107687[_0x1bbfff(0x123)]-_0x183115[_0x1bbfff(0x123)]:0x0;}function gi(_0x3a25cb,_0x30f233){const _0x4d4683=_0x4fc01e;_0x30f233[_0x4d4683(0x175)](wi);const _0x11c908={},_0x5ef9cc=[];for(const _0x16c711 of _0x30f233)if(void 0x0!==_0x16c711[_0x4d4683(0x123)]){if(_0x16c711[_0x4d4683(0x123)]in _0x11c908)throw new _0x14b9a3(_0x4d4683(0x122),_0x3a25cb,{'conflictingDefinitions':[_0x16c711,_0x11c908[_0x16c711[_0x4d4683(0x123)]]]});_0x11c908[_0x16c711[_0x4d4683(0x123)]]=_0x16c711,_0x5ef9cc[_0x4d4683(0xf4)](_0x16c711[_0x4d4683(0x123)],0x0,_0x16c711);}else _0x5ef9cc[_0x4d4683(0x195)](_0x16c711);return _0x5ef9cc;}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x5c32(){var _0x497ab3=['5038865StbahH','12awRDrY','1953hKjuUm','3592479wKYaMj','20272lvMDcx','376aHyIUa','15JecEzW','949578qqgdWY','790loYJhB','183gzdsOX','2AnMeJU','15732dqhrNJ','286289fEKvxa'];_0x5c32=function(){return _0x497ab3;};return _0x5c32();}function _0x1f9e(_0x5b5ce9,_0x403a78){var _0x5c3200=_0x5c32();return _0x1f9e=function(_0x1f9ee4,_0x2753c1){_0x1f9ee4=_0x1f9ee4-0x16f;var _0x1e462f=_0x5c3200[_0x1f9ee4];return _0x1e462f;},_0x1f9e(_0x5b5ce9,_0x403a78);}(function(_0x55e968,_0x5935e3){var _0x1e603c=_0x1f9e,_0x574c6a=_0x55e968();while(!![]){try{var _0x2419e4=parseInt(_0x1e603c(0x16f))/0x1*(-parseInt(_0x1e603c(0x17a))/0x2)+-parseInt(_0x1e603c(0x179))/0x3*(-parseInt(_0x1e603c(0x17b))/0x4)+-parseInt(_0x1e603c(0x176))/0x5*(-parseInt(_0x1e603c(0x177))/0x6)+parseInt(_0x1e603c(0x174))/0x7*(-parseInt(_0x1e603c(0x175))/0x8)+-parseInt(_0x1e603c(0x172))/0x9*(-parseInt(_0x1e603c(0x178))/0xa)+-parseInt(_0x1e603c(0x173))/0xb*(-parseInt(_0x1e603c(0x171))/0xc)+-parseInt(_0x1e603c(0x170))/0xd;if(_0x2419e4===_0x5935e3)break;else _0x574c6a['push'](_0x574c6a['shift']());}catch(_0x590718){_0x574c6a['push'](_0x574c6a['shift']());}}}(_0x5c32,0x3ca6c));import{CKEditorError as _0x150fc4}from'ckeditor5/src/utils.js';
|