@ckeditor/ckeditor5-ai 47.2.0-alpha.1 → 47.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +34 -34
- package/lang/translations/bg.po +26 -26
- package/lang/translations/bn.po +26 -26
- package/lang/translations/ca.po +26 -26
- package/lang/translations/cs.po +28 -28
- package/lang/translations/da.po +26 -26
- package/lang/translations/de.po +26 -26
- package/lang/translations/el.po +26 -26
- package/lang/translations/es.po +26 -26
- package/lang/translations/et.po +26 -26
- package/lang/translations/fi.po +26 -26
- package/lang/translations/fr.po +26 -26
- package/lang/translations/he.po +26 -26
- package/lang/translations/hi.po +26 -26
- package/lang/translations/hu.po +26 -26
- package/lang/translations/id.po +24 -24
- package/lang/translations/it.po +26 -26
- package/lang/translations/ja.po +24 -24
- package/lang/translations/ko.po +24 -24
- package/lang/translations/lt.po +28 -28
- package/lang/translations/lv.po +28 -28
- package/lang/translations/ms.po +24 -24
- package/lang/translations/nl.po +26 -26
- package/lang/translations/no.po +26 -26
- package/lang/translations/pl.po +28 -28
- package/lang/translations/pt-br.po +26 -26
- package/lang/translations/pt.po +26 -26
- package/lang/translations/ro.po +28 -28
- package/lang/translations/ru.po +28 -28
- package/lang/translations/sk.po +28 -28
- package/lang/translations/sr.po +28 -28
- package/lang/translations/sv.po +26 -26
- package/lang/translations/th.po +24 -24
- package/lang/translations/tr.po +26 -26
- package/lang/translations/uk.po +28 -28
- package/lang/translations/vi.po +24 -24
- package/lang/translations/zh-cn.po +24 -24
- package/lang/translations/zh.po +24 -24
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5203e5=_0x454c;(function(_0x460bf0,_0x4046fc){const _0x1b2f3b=_0x454c,_0x492b6e=_0x460bf0();while(!![]){try{const _0x365055=-parseInt(_0x1b2f3b(0xd1))/0x1+-parseInt(_0x1b2f3b(0xdc))/0x2*(parseInt(_0x1b2f3b(0xd3))/0x3)+parseInt(_0x1b2f3b(0xe9))/0x4*(parseInt(_0x1b2f3b(0x12c))/0x5)+parseInt(_0x1b2f3b(0xd2))/0x6+-parseInt(_0x1b2f3b(0xc8))/0x7*(parseInt(_0x1b2f3b(0xf4))/0x8)+parseInt(_0x1b2f3b(0xdb))/0x9+parseInt(_0x1b2f3b(0x108))/0xa*(-parseInt(_0x1b2f3b(0x128))/0xb);if(_0x365055===_0x4046fc)break;else _0x492b6e['push'](_0x492b6e['shift']());}catch(_0x290800){_0x492b6e['push'](_0x492b6e['shift']());}}}(_0x99a2,0x22b9d));import{Plugin as _0x47a0d7}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x26fdbf}from'./aiassistantui.js';import{AIAssistantEditing as _0x51d214}from'./aiassistantediting.js';import{getTranslation as _0x2ec1ac}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x203624}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x47a0d7{static get[_0x5203e5(0x125)](){return[_0x26fdbf,_0x51d214];}static get[_0x5203e5(0xda)](){const _0xa6a0c4=_0x5203e5;return _0xa6a0c4(0xfa);}static get[_0x5203e5(0xca)](){return!0x0;}static get[_0x5203e5(0x11d)](){return!0x0;}constructor(_0x57ccaa){const _0x5af5a6=_0x5203e5;super(_0x57ccaa);const _0x158fea=_0x57ccaa[_0x5af5a6(0x103)],_0x159ea6=_0x57ccaa[_0x5af5a6(0x10d)];_0x158fea[_0x5af5a6(0xd4)](_0x5af5a6(0x122),!0x0),_0x158fea[_0x5af5a6(0xd4)](_0x5af5a6(0xe8),getDefaultAICommands(_0x159ea6)),_0x158fea[_0x5af5a6(0xd4)](_0x5af5a6(0x12b),[]),_0x158fea[_0x5af5a6(0xd4)](_0x5af5a6(0x120),[]);let _0x460dd9=_0x203624(_0x158fea[_0x5af5a6(0xfc)](_0x5af5a6(0xe8)),_0x159ea6);const _0x49c832=_0x158fea[_0x5af5a6(0xfc)](_0x5af5a6(0x12b)),_0x329589=_0x158fea[_0x5af5a6(0xfc)](_0x5af5a6(0x120));_0x49c832[_0x5af5a6(0xcb)](_0x49490e=>{const _0x23f785=_0x5af5a6,_0x5eca07=_0x460dd9[_0x23f785(0x112)](_0x497733=>_0x497733[_0x23f785(0x12d)]===_0x49490e[_0x23f785(0x12d)]);_0x5eca07?_0x5eca07[_0x23f785(0x10a)]=_0x5eca07[_0x23f785(0x10a)][_0x23f785(0xfe)](_0x49490e[_0x23f785(0x10a)]):_0x460dd9[_0x23f785(0xe6)](_0x49490e);}),_0x460dd9=_0x460dd9[_0x5af5a6(0x119)](_0xd1fd03=>!_0x329589[_0x5af5a6(0xce)](_0xd1fd03[_0x5af5a6(0x12d)])),_0x460dd9[_0x5af5a6(0xcb)](_0x155cef=>{const _0x56aa00=_0x5af5a6;_0x155cef[_0x56aa00(0x10a)]=_0x155cef[_0x56aa00(0x10a)][_0x56aa00(0x119)](_0x2e8adb=>!_0x329589[_0x56aa00(0xce)](_0x2e8adb['id']));}),_0x158fea[_0x5af5a6(0x12a)](_0x5af5a6(0xe8),_0x460dd9);}}export function getDefaultAICommands(_0x5579e9){const _0x400011=_0x5203e5;return[{'groupId':_0x400011(0xdf),'groupLabel':_0x2ec1ac(_0x5579e9,_0x400011(0x11f)),'commands':[{'id':_0x400011(0x110),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xf3)),'prompt':_0x400011(0x11c)},{'id':_0x400011(0xd5),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x11a)),'prompt':_0x400011(0xd0)},{'id':_0x400011(0x123),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x11b)),'prompt':_0x400011(0xc1)},{'id':_0x400011(0x126),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xfd)),'prompt':_0x400011(0xe4)}]},{'groupId':_0x400011(0xc5),'groupLabel':_0x2ec1ac(_0x5579e9,_0x400011(0x105)),'commands':[{'id':_0x400011(0x12e),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xc6)),'prompt':_0x400011(0xf9)},{'id':_0x400011(0xeb),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xf7)),'prompt':_0x400011(0xc0)}]},{'groupId':_0x400011(0xf5),'groupLabel':_0x2ec1ac(_0x5579e9,_0x400011(0x124)),'commands':[{'id':_0x400011(0xc2),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xcf)),'prompt':_0x400011(0x121)},{'id':_0x400011(0x107),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x111)),'prompt':_0x400011(0x116)},{'id':_0x400011(0xd6),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xea)),'prompt':_0x400011(0x10b)},{'id':_0x400011(0x10f),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xc7)),'prompt':_0x400011(0xde)},{'id':_0x400011(0xfb),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x118)),'prompt':_0x400011(0x104)}]},{'groupId':_0x400011(0xdd),'groupLabel':_0x2ec1ac(_0x5579e9,_0x400011(0x10c)),'commands':[{'id':_0x400011(0xf6),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x106)),'prompt':_0x400011(0x109)},{'id':_0x400011(0xd8),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xd7)),'prompt':_0x400011(0x113)},{'id':_0x400011(0x114),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xec)),'prompt':_0x400011(0xf2)},{'id':_0x400011(0x129),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x115)),'prompt':_0x400011(0xc3)}]},{'groupId':_0x400011(0xe2),'groupLabel':_0x2ec1ac(_0x5579e9,_0x400011(0xe1)),'commands':[{'id':_0x400011(0xcc),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xc4)),'prompt':_0x400011(0xe5)},{'id':_0x400011(0xc9),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xcd)),'prompt':_0x400011(0x117)},{'id':_0x400011(0xbf),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x10e)),'prompt':_0x400011(0x127)},{'id':_0x400011(0xd9),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xff)),'prompt':_0x400011(0xef)},{'id':_0x400011(0xe3),'label':_0x2ec1ac(_0x5579e9,_0x400011(0x100)),'prompt':_0x400011(0xf8)},{'id':_0x400011(0x101),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xf0)),'prompt':_0x400011(0xe7)},{'id':_0x400011(0x11e),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xe0)),'prompt':_0x400011(0xf1)},{'id':_0x400011(0xee),'label':_0x2ec1ac(_0x5579e9,_0x400011(0xed)),'prompt':_0x400011(0x102)}]}];}function _0x454c(_0x2fae26,_0x2062ff){const _0x99a215=_0x99a2();return _0x454c=function(_0x454c78,_0x1721ea){_0x454c78=_0x454c78-0xbf;let _0x16499c=_0x99a215[_0x454c78];return _0x16499c;},_0x454c(_0x2fae26,_0x2062ff);}function _0x99a2(){const _0x35ac75=['Generate\x20from\x20selection','Business','casual','34490NhZGMK','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','commands','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Change\x20style','locale','Portuguese','confident','improveWriting','Casual','find','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','journalism','Poetic','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Friendly','filter','Make\x20shorter','Make\x20longer','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','isPremiumPlugin','translateHindi','Edit\x20or\x20review','ai.assistant.removeCommands','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','ai.assistant.preserveComments','makeLonger','Change\x20tone','requires','simplifyLanguage','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','319ZPrjxt','poetic','set','ai.assistant.extraCommandGroups','934455wzQrzu','groupId','summarize','translatePortuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','professional','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','English','generate','Summarize','Confident','14JWivKn','translateSpanish','isOfficialPlugin','forEach','translateEnglish','Spanish','includes','Professional','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','22340FBxEGn','533496PCDsbO','3VdbbIM','define','makeShorter','direct','Legal','legal','translateGerman','pluginName','2138535AwXSof','290708HPSrow','changeStyle','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','editOrReview','Hindi','Translate','translate','translateFrench','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20English\x20language.','push','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','ai.assistant.commands','4GEKUsM','Direct','continue','Journalism','Arabic','translateArabic','Translate\x20the\x20content\x20to\x20German\x20language.','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20writing','413880LYbitx','changeTone','business','Continue','Translate\x20the\x20content\x20to\x20French\x20language.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','AIAssistant','friendly','get','Simplify\x20language','concat','German','French','translateChinese','Translate\x20the\x20content\x20to\x20Arabic\x20language.','config','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'];_0x99a2=function(){return _0x35ac75;};return _0x99a2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x42a763=_0xbdf9;function _0x3771(){const _0x1c8545=['editor','createPositionAfter','parse','getFirstRange','getRows','addClass','pluginName','DataTransfer','removeMarker','isCollapsed','updateMarker','getChild','forEach','addMarker','getColumnIndexes','6510IsPQZV','markerRange','createRange','plugins','text/html','push','init','editing','has','element','join','selection','change','length','pop','schema','631644xoznBj','getMarkersGroup','createUIElement','markers','conversion','from','9015qfVyYw','_createEmptyTableRows','TableUtils','AIAssistantEditing','652472FvcmZv','for','120PaxpED','createSelection','setData','href','filter','paste','1160792fUdhsy','hideFakeVisualSelection','span','start','findAncestor','off','table','setSelection','end','_resetContentOfSelectedTableCells','canEditAt','document','isOfficialPlugin','ai-ui','getLastMatchingPosition','1744ZJmOmV','ck-ai-assistant-ui_theme','data','insertRows','createPositionAt','isAtEnd','getRowIndexes','getSelectedBlocks','fire','model','map','getRange','first','_getDefaultInsertBelowPosition','config','getChildren','_prepareTableInsertBelowPosition','afterInit','lowest','markerToElement','_getTableRowCountFromContent','getLastPosition','isPremiumPlugin','_pasteHTMLUsingClipboard','resultRange','61310FKpeXW','ai.assistant.useTheme','insertContent','getSelectedTableCells','contentInsertion','getRanges','fromCharCode','_getAISelection','ck-fake-ai-selection_collapsed','once','editingDowncast','last','markerToHighlight','showFakeVisualSelection','insertContentBelow','ck-fake-ai-selection','1230435NBMsbS','isContent','get','deleteContent'];_0x3771=function(){return _0x1c8545;};return _0x3771();}(function(_0x5496c1,_0x777565){const _0xf20eb9=_0xbdf9,_0xd1d9e3=_0x5496c1();while(!![]){try{const _0xed94ca=-parseInt(_0xf20eb9(0x234))/0x1+-parseInt(_0xf20eb9(0x238))/0x2+parseInt(_0xf20eb9(0x22e))/0x3+-parseInt(_0xf20eb9(0x240))/0x4+parseInt(_0xf20eb9(0x1fb))/0x5*(parseInt(_0xf20eb9(0x23a))/0x6)+parseInt(_0xf20eb9(0x21e))/0x7*(parseInt(_0xf20eb9(0x24f))/0x8)+parseInt(_0xf20eb9(0x20b))/0x9;if(_0xed94ca===_0x777565)break;else _0xd1d9e3['push'](_0xd1d9e3['shift']());}catch(_0x4675fc){_0xd1d9e3['push'](_0xd1d9e3['shift']());}}}(_0x3771,0x29742));function _0xbdf9(_0x559654,_0x43c66e){const _0x377172=_0x3771();return _0xbdf9=function(_0xbdf904,_0x2f415e){_0xbdf904=_0xbdf904-0x1f0;let _0x588c06=_0x377172[_0xbdf904];return _0x588c06;},_0xbdf9(_0x559654,_0x43c66e);}import{uid as _0x35e517}from'ckeditor5/src/utils.js';import{Plugin as _0xaa9162}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x196075}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5db92b,ViewDataTransfer as _0x1a70a2}from'ckeditor5/src/engine.js';const J=globalThis[_0x42a763(0x216)],q=_0x42a763(0x24d);export class AIAssistantEditing extends _0xaa9162{static get[_0x42a763(0x215)](){const _0x38ed86=_0x42a763;return _0x38ed86(0x237);}static get[_0x42a763(0x24c)](){return!0x0;}static get[_0x42a763(0x1f8)](){return!0x0;}[_0x42a763(0x224)](){const _0x375858=_0x42a763,{editor:_0x3b8ae1}=this,_0x5e6296=[_0x375858(0x20a)];_0x3b8ae1[_0x375858(0x1f0)][_0x375858(0x20d)](_0x375858(0x1fc))&&_0x5e6296[_0x375858(0x223)](_0x375858(0x250)),_0x3b8ae1[_0x375858(0x232)][_0x375858(0x239)](_0x375858(0x205))[_0x375858(0x207)]({'model':q,'view':{'classes':_0x5e6296,'priority':0xc}}),_0x3b8ae1[_0x375858(0x232)][_0x375858(0x239)](_0x375858(0x205))[_0x375858(0x1f5)]({'model':q,'view':(_0x55ce8a,{writer:_0xcfd71a})=>{const _0x446943=_0x375858;if(!_0x55ce8a[_0x446943(0x21f)][_0x446943(0x218)])return null;const _0x118e9e=_0xcfd71a[_0x446943(0x230)](_0x446943(0x242));return _0xcfd71a[_0x446943(0x214)]([_0x446943(0x20a),_0x446943(0x203)],_0x118e9e),_0x118e9e;}});}[_0x42a763(0x1f3)](){!async function(_0x4cdb74){const _0x5d4e19=_0x4abaa5([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]),_0x5a895a=0x3dffc4e1,_0x1ad961=0x3df8b349^_0x5a895a,_0x207be9=window[_0x4abaa5([0x44,0x61,0x74,0x65])][_0x4abaa5([0x6e,0x6f,0x77])](),_0x49d82c=_0x4cdb74[_0x4abaa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c7253=new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2caab1=>{_0x49d82c[_0x4abaa5([0x6f,0x6e,0x63,0x65])](_0x4abaa5([0x72,0x65,0x61,0x64,0x79]),_0x2caab1);}),_0x2b2648={[_0x4abaa5([0x6b,0x74,0x79])]:_0x4abaa5([0x45,0x43]),[_0x4abaa5([0x75,0x73,0x65])]:_0x4abaa5([0x73,0x69,0x67]),[_0x4abaa5([0x63,0x72,0x76])]:_0x4abaa5([0x50,0x2d,0x32,0x35,0x36]),[_0x4abaa5([0x78])]:_0x4abaa5([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]),[_0x4abaa5([0x79])]:_0x4abaa5([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]),[_0x4abaa5([0x61,0x6c,0x67])]:_0x4abaa5([0x45,0x53,0x32,0x35,0x36])},_0x43eda2=_0x49d82c[_0x4abaa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4abaa5([0x67,0x65,0x74])](_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x394963(){let _0x58e81c,_0xe3be04=null,_0x23d819=null;try{if(_0x43eda2==_0x4abaa5([0x47,0x50,0x4c]))return _0x4abaa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e81c=_0x3d328f(),!_0x58e81c)return _0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e81c[_0x4abaa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23d819=_0x49f5ac(_0x58e81c[_0x4abaa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e81c[_0x4abaa5([0x6a,0x74,0x69])])),await _0x509925()?_0x9842af()?_0x2c1e10()?_0x4abaa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x370468()?(_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4abaa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe3be04=_0x4c327f(_0x4abaa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4abaa5([0x74,0x72,0x69,0x61,0x6c])&&(_0xe3be04=_0x4c327f(_0x4abaa5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x569be2()):_0x4abaa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4abaa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c1e10(){const _0x23f651=[_0x4abaa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4abaa5([0x74,0x72,0x69,0x61,0x6c])][_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x207be9/0x3e8:0xe10*_0x1ad961;return _0x58e81c[_0x4abaa5([0x65,0x78,0x70])]<_0x23f651;}function _0x9842af(){const _0x1f04a8=_0x58e81c[_0x4abaa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f04a8&&(!!_0x1f04a8[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x2a]))||!!_0x1f04a8[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x41,0x49])));}function _0x370468(){const _0x2b15f3=_0xbdf9,_0x4e7e45=_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e7e45||0x0==_0x4e7e45[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cafb8}=new URL(window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b15f3(0x23d)]);if(_0x4e7e45[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cafb8))return!0x0;const _0x1defc8=_0x3cafb8[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e]));return _0x4e7e45[_0x4abaa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b205c=>_0x3b205c[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x2a])))[_0x4abaa5([0x6d,0x61,0x70])](_0x184e43=>_0x184e43[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e])))[_0x4abaa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207342=>_0x207342[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1defc8[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4abaa5([0x6d,0x61,0x70])](_0x3b37ae=>Array(_0x1defc8[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b37ae[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4abaa5([0x66,0x69,0x6c,0x6c])](_0x3b37ae[0x0]===_0x4abaa5([0x2a])?_0x4abaa5([0x2a]):'')[_0x4abaa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b37ae))[_0x4abaa5([0x73,0x6f,0x6d,0x65])](_0xbb14c9=>_0x1defc8[_0x4abaa5([0x65,0x76,0x65,0x72,0x79])]((_0x18a476,_0xadeb91)=>_0xbb14c9[_0xadeb91]===_0x18a476||_0xbb14c9[_0xadeb91]===_0x4abaa5([0x2a])));}function _0x569be2(){return _0xe3be04&&_0x23d819?new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d0f8a,_0x321fa0)=>{_0xe3be04[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x3d0f8a,_0x321fa0),_0x23d819[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x468b0c=>{_0x468b0c!=_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])&&_0x3d0f8a(_0x468b0c);},_0x321fa0);}):_0xe3be04||_0x23d819||_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49f5ac(_0x285520,_0x13d1ae){return new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38fcae=>{if(_0x4b5b1b())return _0x38fcae(_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]));_0x4d7a8f(),_0x49d82c[_0x4abaa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54cf95=!0x1;const _0x525b78=_0x35e517();function _0x47fc2a(_0x5f1a1c){return!!_0x5f1a1c&&(typeof _0x5f1a1c===_0x4abaa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f1a1c===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f1a1c[_0x4abaa5([0x74,0x68,0x65,0x6e])]===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f1a1c[_0x4abaa5([0x63,0x61,0x74,0x63,0x68])]===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x152d28(_0x34de84){_0xb59f6b(_0x34de84)[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0xe1b940=>{if(!_0xe1b940||_0xe1b940[_0x4abaa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4abaa5([0x6f,0x6b]))return _0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40bbbc(_0x2067f9(_0x525b78+_0x13d1ae))!=_0xe1b940[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x42d824=>(_0x3086e3(),_0x42d824),()=>{const _0x50f676=_0xbf4c3a();return null==_0x50f676?(_0x3086e3(),_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])):_0x4abaa5(_0x207be9-_0x50f676>(0x19f340e1^_0x5a895a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x38fcae)[_0x4abaa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59adfc=0x3dc92a61^_0x5a895a;function _0x3086e3(){const _0x3b23f9=_0x4abaa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x40bbbc(_0x2067f9(_0x285520)),_0x2fa450=_0x350b59(_0x40bbbc(window[_0x4abaa5([0x4d,0x61,0x74,0x68])][_0x4abaa5([0x63,0x65,0x69,0x6c])](_0x207be9/_0x59adfc)));window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4abaa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b23f9,_0x2fa450);}function _0xbf4c3a(){const _0x10b55e=_0x4abaa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x40bbbc(_0x2067f9(_0x285520)),_0x3babea=window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4abaa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10b55e);return _0x3babea?window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x350b59(_0x3babea),0x10)*_0x59adfc:null;}function _0xb59f6b(_0x254b2d){return new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x534579,_0x332d5d)=>{_0x254b2d[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x534579,_0x332d5d),window[_0x4abaa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x332d5d,0x3dfe1021^_0x5a895a);});}}_0x49d82c[_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6808e1,_0x15525c)=>{if(_0x15525c[0x0]!=_0x285520)return _0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15525c[0x1]={..._0x15525c[0x1],[_0x4abaa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x525b78};},{[_0x4abaa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4abaa5([0x68,0x69,0x67,0x68])}),_0x49d82c[_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f01ac=>{_0x47fc2a(_0x5f01ac[_0x4abaa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54cf95=!0x0,_0x152d28(_0x5f01ac[_0x4abaa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4abaa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4abaa5([0x6c,0x6f,0x77])}),_0x3c7253[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>{_0x54cf95||_0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b5b1b(){return _0x49d82c[_0x4abaa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4abaa5([0x76,0x69,0x65,0x77])][_0x4abaa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4abaa5([0x61,0x75,0x74,0x6f]);}function _0x4d7a8f(){_0x49d82c[_0x4abaa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4abaa5([0x76,0x69,0x65,0x77])][_0x4abaa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4abaa5([0x61,0x75,0x74,0x6f]);}}function _0x4c327f(_0x1d6eee){const _0x545d6f=[new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x222eca=>setTimeout(_0x222eca,0x3df6fa2d^_0x5a895a)),_0x3c7253[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x291f02=>{let _0x2f5454=0x0;_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f7df8,_0x53b4bc)=>{_0x53b4bc[0x0][_0x4abaa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f5454++,_0x2f5454==(0x3dffc519^_0x5a895a)&&(_0x291f02(),_0x3f7df8[_0x4abaa5([0x6f,0x66,0x66])]());});}))];return window[_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4abaa5([0x72,0x61,0x63,0x65])](_0x545d6f)[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>_0x1d6eee);}async function _0x1fbde2(){await _0x3c7253,_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x445dee,_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x445dee,_0x49d82c[_0x4abaa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5266ee(_0x427b2e){const _0x2e2d48=_0x543a88();_0x49d82c[_0x2e2d48]=_0x4abaa5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427b2e,_0x427b2e!=_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])&&_0x1fbde2();}function _0x543a88(){const _0x5cc3c6=window[_0x4abaa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4abaa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4abaa5([0x6e,0x6f,0x77])]())[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4abaa5([0x2e]),'');let _0x710629=_0x4abaa5([0x6e]);for(let _0x544823=0x0;_0x544823<_0x5cc3c6[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x544823+=0x2){let _0x7fe763=window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc3c6[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x544823,_0x544823+0x2));_0x7fe763>=_0x5d4e19[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7fe763-=_0x5d4e19[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x710629+=_0x5d4e19[_0x7fe763];}return _0x710629;}function _0x3d328f(){const _0x6db7f9=_0x43eda2[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e]));if(0x3!=_0x6db7f9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fdd8f(_0x6db7f9[0x1]);function _0x1fdd8f(_0x5820f0){const _0x430a3d=_0x23f38e(_0x5820f0);return _0x430a3d&&_0x2103d4()?_0x430a3d:null;function _0x2103d4(){const _0x5176d9=_0x430a3d[_0x4abaa5([0x6a,0x74,0x69])],_0xde49de=window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5176d9[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5176d9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8124b5={..._0x430a3d,[_0x4abaa5([0x6a,0x74,0x69])]:_0x5176d9[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5176d9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8124b5[_0x4abaa5([0x76,0x63])],_0x2067f9(_0x8124b5)==_0xde49de;}}}async function _0x509925(){let _0x36e863=!0x0;try{const _0x176fd9=_0x43eda2[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e])),[_0x500712,_0x1de3f9,_0x159b72]=_0x176fd9;return _0x9917f8(_0x500712),await _0x4e5011(_0x500712,_0x1de3f9,_0x159b72),_0x36e863;}catch{return!0x1;}function _0x9917f8(_0x2e277d){const _0x6e208a=_0x23f38e(_0x2e277d);_0x6e208a&&_0x6e208a[_0x4abaa5([0x61,0x6c,0x67])]==_0x4abaa5([0x45,0x53,0x32,0x35,0x36])||(_0x36e863=!0x1);}async function _0x4e5011(_0x476793,_0x38249,_0x3c60dc){const _0x15bc98=window[_0x4abaa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4abaa5([0x66,0x72,0x6f,0x6d])](_0x1e52c0(_0x3c60dc),_0x164a9f=>_0x164a9f[_0x4abaa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc1991c=new window[(_0x4abaa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4abaa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x476793+_0x4abaa5([0x2e])+_0x38249),_0x14892b=window[_0x4abaa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4abaa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14892b)return;const _0x581f7b=await _0x14892b[_0x4abaa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4abaa5([0x6a,0x77,0x6b]),_0x2b2648,{[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x45,0x43,0x44,0x53,0x41]),[_0x4abaa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4abaa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14892b[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x45,0x43,0x44,0x53,0x41]),[_0x4abaa5([0x68,0x61,0x73,0x68])]:{[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x581f7b,_0x15bc98,_0xc1991c)||(_0x36e863=!0x1);}}function _0x23f38e(_0x98f792){return _0x98f792[_0x4abaa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4abaa5([0x65,0x79]))?JSON[_0x4abaa5([0x70,0x61,0x72,0x73,0x65])](_0x1e52c0(_0x98f792)):null;}function _0x1e52c0(_0x21267e){return window[_0x4abaa5([0x61,0x74,0x6f,0x62])](_0x21267e[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4abaa5([0x2b]))[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4abaa5([0x2f])));}function _0x2067f9(_0x586499){let _0x378047=0x1505;function _0x4c70e9(_0x2e540a){for(let _0x53f180=0x0;_0x53f180<_0x2e540a[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53f180++){const _0x4596d6=_0x2e540a[_0x4abaa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53f180);_0x378047=(_0x378047<<0x5)+_0x378047+_0x4596d6,_0x378047&=_0x378047;}}function _0x581504(_0xe8c483){Array[_0x4abaa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe8c483)?_0xe8c483[_0x4abaa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x581504):_0xe8c483&&typeof _0xe8c483==_0x4abaa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4abaa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe8c483)[_0x4abaa5([0x73,0x6f,0x72,0x74])]()[_0x4abaa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35f652,_0x5ac309])=>{_0x4c70e9(_0x35f652),_0x581504(_0x5ac309);}):_0x4c70e9(window[_0x4abaa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe8c483));}return _0x581504(_0x586499),_0x378047>>>0x0;}function _0x40bbbc(_0x5a28aa){return _0x5a28aa[_0x4abaa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4abaa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4abaa5([0x30]));}function _0x350b59(_0x57985b){return _0x57985b[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4abaa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4abaa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x445dee(){}function _0x4abaa5(_0x53500a){const _0x4dc596=_0xbdf9;return _0x53500a[_0x4dc596(0x259)](_0x1f7632=>String[_0x4dc596(0x201)](_0x1f7632))[_0x4dc596(0x228)]('');}_0x5266ee(await _0x394963());}(this);}[_0x42a763(0x208)](){const _0x20f57e=_0x42a763,_0x850d0e=this[_0x20f57e(0x20f)][_0x20f57e(0x258)];_0x850d0e[_0x20f57e(0x22a)](_0x49936d=>{const _0x34e079=_0x20f57e,_0x54e3fd=_0x850d0e[_0x34e079(0x24b)][_0x34e079(0x229)][_0x34e079(0x200)]();let _0x1ef737=0x0;for(const _0x253abb of _0x54e3fd){const _0xf2900=q+':'+_0x1ef737;if(_0x850d0e[_0x34e079(0x231)][_0x34e079(0x226)](_0xf2900))_0x49936d[_0x34e079(0x219)](_0xf2900,{'range':_0x253abb});else{if(_0x253abb[_0x34e079(0x243)][_0x34e079(0x254)]){const _0x23330e=_0x253abb[_0x34e079(0x243)][_0x34e079(0x24e)](({item:_0x55404b})=>!_0x850d0e[_0x34e079(0x22d)][_0x34e079(0x20c)](_0x55404b),{'boundaries':_0x253abb});_0x49936d[_0x34e079(0x21c)](_0xf2900,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49936d[_0x34e079(0x220)](_0x23330e,_0x253abb[_0x34e079(0x248)])});}else _0x49936d[_0x34e079(0x21c)](_0xf2900,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x253abb});}_0x1ef737++;}});}[_0x42a763(0x241)](){const _0x2fdb53=_0x42a763,_0x249973=this[_0x2fdb53(0x20f)][_0x2fdb53(0x258)],_0x4173e4=Array[_0x2fdb53(0x233)](this[_0x2fdb53(0x20f)][_0x2fdb53(0x258)][_0x2fdb53(0x231)][_0x2fdb53(0x22f)](q));_0x4173e4[_0x2fdb53(0x22b)]&&_0x249973[_0x2fdb53(0x22a)](_0x6a5e05=>{const _0x445a05=_0x2fdb53;_0x4173e4[_0x445a05(0x21b)](_0x22389e=>{const _0x36524a=_0x445a05;_0x6a5e05[_0x36524a(0x217)](_0x22389e);});});}[_0x42a763(0x1fd)](_0x3a2c5a,_0x4c572d){const _0x1f40a8=_0x42a763,_0x857522=this[_0x1f40a8(0x202)](),_0x7de8fb=_0x4c572d||_0x857522[_0x1f40a8(0x212)]();this[_0x1f40a8(0x20f)][_0x1f40a8(0x258)][_0x1f40a8(0x24a)](_0x7de8fb)&&this[_0x1f40a8(0x20f)][_0x1f40a8(0x258)][_0x1f40a8(0x22a)](_0xbfc1d1=>{const _0xda17c0=_0x1f40a8;this[_0xda17c0(0x241)](),_0x4c572d||this[_0xda17c0(0x249)](_0xbfc1d1,_0x857522),this[_0xda17c0(0x1f9)]({'insertAt':_0x7de8fb,'writer':_0xbfc1d1,'html':_0x3a2c5a});});}[_0x42a763(0x209)](_0x2bb801){const _0x3903d2=_0x42a763,{model:_0x396cf1}=this[_0x3903d2(0x20f)],_0x754d75=this[_0x3903d2(0x202)]();_0x396cf1[_0x3903d2(0x22a)](()=>{const _0x7d09f5=_0x3903d2,_0x10263d=this[_0x7d09f5(0x1f2)](_0x2bb801,_0x754d75)||this[_0x7d09f5(0x25c)](_0x754d75);this[_0x7d09f5(0x1fd)](_0x2bb801,_0x10263d);});}[_0x42a763(0x202)](){const _0x1aef4c=_0x42a763,_0x446af0=this[_0x1aef4c(0x20f)][_0x1aef4c(0x258)],_0x47c3cc=Array[_0x1aef4c(0x233)](_0x446af0[_0x1aef4c(0x231)][_0x1aef4c(0x22f)](q))[_0x1aef4c(0x259)](_0x380fe9=>_0x380fe9[_0x1aef4c(0x25a)]());return _0x446af0[_0x1aef4c(0x23b)](_0x47c3cc);}[_0x42a763(0x1f9)]({writer:_0x24d66a,html:_0x2b646f,insertAt:_0x117be6}){const _0x4f4a7d=_0x42a763,{view:_0x3a7f0d}=this[_0x4f4a7d(0x20f)][_0x4f4a7d(0x225)],_0x19301c=this[_0x4f4a7d(0x20f)][_0x4f4a7d(0x221)][_0x4f4a7d(0x20d)](_0x196075),_0xf77550=new J();_0xf77550[_0x4f4a7d(0x23c)](_0x4f4a7d(0x222),_0x2b646f);const _0x546191=new ClipboardEvent(_0x4f4a7d(0x23f),{'clipboardData':_0xf77550}),_0x249041=new _0x5db92b(_0x3a7f0d,_0x546191,{'dataTransfer':new _0x1a70a2(_0xf77550)});_0x24d66a[_0x4f4a7d(0x247)](_0x117be6);const _0x309de1=(_0x7aef62,_0x3aab7b)=>{const _0x1f2d38=_0x4f4a7d;_0x3aab7b[_0x1f2d38(0x1fa)]&&_0x24d66a[_0x1f2d38(0x247)](_0x3aab7b[_0x1f2d38(0x1fa)]);};_0x19301c[_0x4f4a7d(0x204)](_0x4f4a7d(0x1ff),_0x309de1,{'priority':_0x4f4a7d(0x1f4)}),_0x3a7f0d[_0x4f4a7d(0x24b)][_0x4f4a7d(0x257)](_0x4f4a7d(0x23f),_0x249041),_0x19301c[_0x4f4a7d(0x245)](_0x4f4a7d(0x1ff),_0x309de1);}[_0x42a763(0x25c)](_0x38cf05){const _0x31f57f=_0x42a763,{model:_0x3735fc}=this[_0x31f57f(0x20f)],_0x2ee7b4=Array[_0x31f57f(0x233)](_0x38cf05[_0x31f57f(0x256)]());return _0x2ee7b4[_0x31f57f(0x22b)]?_0x3735fc[_0x31f57f(0x210)](_0x2ee7b4[_0x31f57f(0x22c)]()):_0x38cf05[_0x31f57f(0x1f7)]();}[_0x42a763(0x1f2)](_0x37a24f,_0xf79f32){const _0xb4b570=_0x42a763,{model:_0x2ad1af,plugins:_0x1ad6cc}=this[_0xb4b570(0x20f)];if(_0x1ad6cc[_0xb4b570(0x226)](_0xb4b570(0x236))){const _0x482abc=_0x1ad6cc[_0xb4b570(0x20d)](_0xb4b570(0x236))[_0xb4b570(0x1fe)](_0xf79f32);if(_0x482abc[_0xb4b570(0x22b)]){const _0x5633e5=this[_0xb4b570(0x1f6)](_0x37a24f),_0x459839=this[_0xb4b570(0x235)](_0x482abc,_0x5633e5);return _0x2ad1af[_0xb4b570(0x253)](_0x459839,0x0);}}return null;}[_0x42a763(0x1f6)](_0x1ee800){const _0x1e5024=_0x42a763,_0x38a62b=this[_0x1e5024(0x20f)][_0x1e5024(0x221)][_0x1e5024(0x20d)](_0x1e5024(0x236)),_0x309d9f=this[_0x1e5024(0x20f)][_0x1e5024(0x251)][_0x1e5024(0x211)](_0x1ee800),_0x512594=Array[_0x1e5024(0x233)](_0x309d9f[_0x1e5024(0x1f1)]())[_0x1e5024(0x23e)](_0x3fa072=>_0x3fa072['is'](_0x1e5024(0x227),_0x1e5024(0x246)));let _0x23fd0e=0x0;return _0x512594[_0x1e5024(0x21b)](_0x5baf02=>{const _0x101767=_0x1e5024;_0x23fd0e+=_0x38a62b[_0x101767(0x213)](_0x5baf02);}),_0x23fd0e;}[_0x42a763(0x235)](_0x1cb3c8,_0x1d278e){const _0x20ca25=_0x42a763,_0x582bd5=this[_0x20ca25(0x20f)][_0x20ca25(0x221)][_0x20ca25(0x20d)](_0x20ca25(0x236)),_0x2b8002=_0x582bd5[_0x20ca25(0x255)](_0x1cb3c8),_0x52c9b6=_0x582bd5[_0x20ca25(0x21d)](_0x1cb3c8),_0x10f091=_0x2b8002[_0x20ca25(0x206)]+0x1,_0x4ad1eb=_0x52c9b6[_0x20ca25(0x25b)],_0x28fd20=_0x1cb3c8[0x0][_0x20ca25(0x244)](_0x20ca25(0x246));for(let _0x477c26=0x0;_0x477c26<_0x1d278e;_0x477c26++)_0x582bd5[_0x20ca25(0x252)](_0x28fd20,{'at':_0x10f091});return _0x28fd20[_0x20ca25(0x21a)](_0x10f091)[_0x20ca25(0x21a)](_0x4ad1eb);}[_0x42a763(0x249)](_0x3a7a54,_0x4ff808){const _0x360789=_0x42a763,{plugins:_0x47961e}=this[_0x360789(0x20f)],{model:_0x4bb1ed}=_0x3a7a54;if(!_0x47961e[_0x360789(0x226)](_0x360789(0x236)))return;_0x47961e[_0x360789(0x20d)](_0x360789(0x236))[_0x360789(0x1fe)](_0x4ff808)[_0x360789(0x22b)]&&_0x4bb1ed[_0x360789(0x20e)](_0x4ff808);}}
|
|
23
|
+
function _0x20a5(){const _0x2a326e=['editing','_getDefaultInsertBelowPosition','162407FewnuM','init','isAtEnd','markers','getChild','15073353mCrGqa','ai-ui','getMarkersGroup','addMarker','_resetContentOfSelectedTableCells','getFirstRange','change','first','has','getLastMatchingPosition','114dZcyEB','plugins','ck-fake-ai-selection','insertContent','insertRows','text/html','getLastPosition','afterInit','_getAISelection','ai.assistant.useTheme','editingDowncast','hideFakeVisualSelection','showFakeVisualSelection','fromCharCode','869955BROtYl','getColumnIndexes','off','paste','selection','ck-ai-assistant-ui_theme','element','getRows','createRange','data','from','2768995FRmxTH','schema','end','isOfficialPlugin','createUIElement','4562cUNLeD','isCollapsed','insertContentBelow','pop','forEach','AIAssistantEditing','conversion','length','_prepareTableInsertBelowPosition','table','markerToHighlight','filter','updateMarker','get','6jPQCSR','_pasteHTMLUsingClipboard','config','start','editor','getRange','contentInsertion','setSelection','markerRange','getRowIndexes','createPositionAfter','ck-fake-ai-selection_collapsed','pluginName','DataTransfer','createPositionAt','_getTableRowCountFromContent','map','addClass','deleteContent','resultRange','removeMarker','setData','for','last','lowest','markerToElement','canEditAt','2047096zyNTPj','TableUtils','createSelection','10sADJqd','findAncestor','getRanges','href','isPremiumPlugin','span','parse','getSelectedTableCells','_createEmptyTableRows','once','isContent','push','getChildren','2016328CBJsou','join','document','getSelectedBlocks','model','fire'];_0x20a5=function(){return _0x2a326e;};return _0x20a5();}const _0xb5118a=_0x22b0;(function(_0x45f0fb,_0x25457b){const _0x196182=_0x22b0,_0x4c9b9f=_0x45f0fb();while(!![]){try{const _0x19d47a=parseInt(_0x196182(0x120))/0x1*(-parseInt(_0x196182(0x170))/0x2)+-parseInt(_0x196182(0x110))/0x3+-parseInt(_0x196182(0x159))/0x4+-parseInt(_0x196182(0x11b))/0x5+parseInt(_0x196182(0x12e))/0x6*(parseInt(_0x196182(0x161))/0x7)+parseInt(_0x196182(0x149))/0x8+parseInt(_0x196182(0x166))/0x9*(parseInt(_0x196182(0x14c))/0xa);if(_0x19d47a===_0x25457b)break;else _0x4c9b9f['push'](_0x4c9b9f['shift']());}catch(_0x3f0969){_0x4c9b9f['push'](_0x4c9b9f['shift']());}}}(_0x20a5,0x54795));import{uid as _0x4de190}from'ckeditor5/src/utils.js';import{Plugin as _0x36669a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2a1f9b}from'ckeditor5/src/clipboard.js';function _0x22b0(_0x7726c,_0x28c949){const _0x20a564=_0x20a5();return _0x22b0=function(_0x22b0fd,_0x405a12){_0x22b0fd=_0x22b0fd-0x10a;let _0x2c933e=_0x20a564[_0x22b0fd];return _0x2c933e;},_0x22b0(_0x7726c,_0x28c949);}import{ViewDocumentDomEventData as _0x148eb5,ViewDataTransfer as _0x3f5ba9}from'ckeditor5/src/engine.js';const J=globalThis[_0xb5118a(0x13b)],q=_0xb5118a(0x167);export class AIAssistantEditing extends _0x36669a{static get[_0xb5118a(0x13a)](){const _0x141404=_0xb5118a;return _0x141404(0x125);}static get[_0xb5118a(0x11e)](){return!0x0;}static get[_0xb5118a(0x150)](){return!0x0;}[_0xb5118a(0x162)](){const _0x3b3036=_0xb5118a,{editor:_0x24411b}=this,_0xb929fa=[_0x3b3036(0x172)];_0x24411b[_0x3b3036(0x130)][_0x3b3036(0x12d)](_0x3b3036(0x10b))&&_0xb929fa[_0x3b3036(0x157)](_0x3b3036(0x115)),_0x24411b[_0x3b3036(0x126)][_0x3b3036(0x144)](_0x3b3036(0x10c))[_0x3b3036(0x12a)]({'model':q,'view':{'classes':_0xb929fa,'priority':0xc}}),_0x24411b[_0x3b3036(0x126)][_0x3b3036(0x144)](_0x3b3036(0x10c))[_0x3b3036(0x147)]({'model':q,'view':(_0x7b348,{writer:_0x10aa95})=>{const _0x140dc6=_0x3b3036;if(!_0x7b348[_0x140dc6(0x136)][_0x140dc6(0x121)])return null;const _0x515cad=_0x10aa95[_0x140dc6(0x11f)](_0x140dc6(0x151));return _0x10aa95[_0x140dc6(0x13f)]([_0x140dc6(0x172),_0x140dc6(0x139)],_0x515cad),_0x515cad;}});}[_0xb5118a(0x177)](){!async function(_0x2153fa){const _0x28404f=_0x2fc2f1([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]),_0x4901b0=0x3dffc4e1,_0xbfea6b=0x3df8b339^_0x4901b0,_0x15722b=window[_0x2fc2f1([0x44,0x61,0x74,0x65])][_0x2fc2f1([0x6e,0x6f,0x77])](),_0x396621=_0x2153fa[_0x2fc2f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f456a=new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2343dd=>{_0x396621[_0x2fc2f1([0x6f,0x6e,0x63,0x65])](_0x2fc2f1([0x72,0x65,0x61,0x64,0x79]),_0x2343dd);}),_0x5c5920={[_0x2fc2f1([0x6b,0x74,0x79])]:_0x2fc2f1([0x45,0x43]),[_0x2fc2f1([0x75,0x73,0x65])]:_0x2fc2f1([0x73,0x69,0x67]),[_0x2fc2f1([0x63,0x72,0x76])]:_0x2fc2f1([0x50,0x2d,0x32,0x35,0x36]),[_0x2fc2f1([0x78])]:_0x2fc2f1([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]),[_0x2fc2f1([0x79])]:_0x2fc2f1([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]),[_0x2fc2f1([0x61,0x6c,0x67])]:_0x2fc2f1([0x45,0x53,0x32,0x35,0x36])},_0x40d04b=_0x396621[_0x2fc2f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fc2f1([0x67,0x65,0x74])](_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d82bf(){let _0x4abf9f,_0x3ce11c=null,_0x2ed424=null;try{if(_0x40d04b==_0x2fc2f1([0x47,0x50,0x4c]))return _0x2fc2f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4abf9f=_0x118ad1(),!_0x4abf9f)return _0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4abf9f[_0x2fc2f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ed424=_0x297ab5(_0x4abf9f[_0x2fc2f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4abf9f[_0x2fc2f1([0x6a,0x74,0x69])])),await _0x819495()?_0x692ef0()?_0x47cdc7()?_0x2fc2f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x91c583()?(_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fc2f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ce11c=_0x4295c7(_0x2fc2f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fc2f1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ce11c=_0x4295c7(_0x2fc2f1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46f2d8()):_0x2fc2f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fc2f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47cdc7(){const _0x251acb=[_0x2fc2f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fc2f1([0x74,0x72,0x69,0x61,0x6c])][_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15722b/0x3e8:0xe10*_0xbfea6b;return _0x4abf9f[_0x2fc2f1([0x65,0x78,0x70])]<_0x251acb;}function _0x692ef0(){const _0x115e43=_0x4abf9f[_0x2fc2f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x115e43&&(!!_0x115e43[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x2a]))||!!_0x115e43[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x41,0x49])));}function _0x91c583(){const _0x2b88ca=_0x22b0,_0x2e6953=_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e6953||0x0==_0x2e6953[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9e8c52}=new URL(window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b88ca(0x14f)]);if(_0x2e6953[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9e8c52))return!0x0;const _0x18006a=_0x9e8c52[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e]));return _0x2e6953[_0x2fc2f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c5f87=>_0x2c5f87[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x2a])))[_0x2fc2f1([0x6d,0x61,0x70])](_0x531965=>_0x531965[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e])))[_0x2fc2f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d1998=>_0x5d1998[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18006a[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fc2f1([0x6d,0x61,0x70])](_0x5c7419=>Array(_0x18006a[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c7419[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fc2f1([0x66,0x69,0x6c,0x6c])](_0x5c7419[0x0]===_0x2fc2f1([0x2a])?_0x2fc2f1([0x2a]):'')[_0x2fc2f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c7419))[_0x2fc2f1([0x73,0x6f,0x6d,0x65])](_0x2e422d=>_0x18006a[_0x2fc2f1([0x65,0x76,0x65,0x72,0x79])]((_0x209927,_0x22874f)=>_0x2e422d[_0x22874f]===_0x209927||_0x2e422d[_0x22874f]===_0x2fc2f1([0x2a])));}function _0x46f2d8(){return _0x3ce11c&&_0x2ed424?new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362293,_0x18131a)=>{_0x3ce11c[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x362293,_0x18131a),_0x2ed424[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x1b9024=>{_0x1b9024!=_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])&&_0x362293(_0x1b9024);},_0x18131a);}):_0x3ce11c||_0x2ed424||_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x297ab5(_0x2821b3,_0x3f7ba2){return new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a8df=>{if(_0x53bf06())return _0x17a8df(_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]));_0xb287a7(),_0x396621[_0x2fc2f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ed976=!0x1;const _0x4bcd02=_0x4de190();function _0x416058(_0x24bcb9){return!!_0x24bcb9&&(typeof _0x24bcb9===_0x2fc2f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24bcb9===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24bcb9[_0x2fc2f1([0x74,0x68,0x65,0x6e])]===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24bcb9[_0x2fc2f1([0x63,0x61,0x74,0x63,0x68])]===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52c2c7(_0x535900){_0x2f23ee(_0x535900)[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x29cf99=>{if(!_0x29cf99||_0x29cf99[_0x2fc2f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fc2f1([0x6f,0x6b]))return _0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31f55e(_0x33e4e2(_0x4bcd02+_0x3f7ba2))!=_0x29cf99[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x2260ff=>(_0x1fd1c0(),_0x2260ff),()=>{const _0x30edf2=_0x5887b3();return null==_0x30edf2?(_0x1fd1c0(),_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])):_0x2fc2f1(_0x15722b-_0x30edf2>(0x19f340e1^_0x4901b0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x17a8df)[_0x2fc2f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29f0cb=0x3dc92a61^_0x4901b0;function _0x1fd1c0(){const _0x150149=_0x2fc2f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f55e(_0x33e4e2(_0x2821b3)),_0x3d870f=_0x1de110(_0x31f55e(window[_0x2fc2f1([0x4d,0x61,0x74,0x68])][_0x2fc2f1([0x63,0x65,0x69,0x6c])](_0x15722b/_0x29f0cb)));window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fc2f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x150149,_0x3d870f);}function _0x5887b3(){const _0x2271d0=_0x2fc2f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f55e(_0x33e4e2(_0x2821b3)),_0x235c57=window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fc2f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2271d0);return _0x235c57?window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de110(_0x235c57),0x10)*_0x29f0cb:null;}function _0x2f23ee(_0x14d7d1){return new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cb9c0,_0xb05a8b)=>{_0x14d7d1[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x5cb9c0,_0xb05a8b),window[_0x2fc2f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb05a8b,0x3dfe1021^_0x4901b0);});}}_0x396621[_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f1f43,_0x2a40bd)=>{if(_0x2a40bd[0x0]!=_0x2821b3)return _0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a40bd[0x1]={..._0x2a40bd[0x1],[_0x2fc2f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4bcd02};},{[_0x2fc2f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fc2f1([0x68,0x69,0x67,0x68])}),_0x396621[_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2387e2=>{_0x416058(_0x2387e2[_0x2fc2f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ed976=!0x0,_0x52c2c7(_0x2387e2[_0x2fc2f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fc2f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fc2f1([0x6c,0x6f,0x77])}),_0x1f456a[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>{_0x2ed976||_0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53bf06(){return _0x396621[_0x2fc2f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fc2f1([0x76,0x69,0x65,0x77])][_0x2fc2f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fc2f1([0x61,0x75,0x74,0x6f]);}function _0xb287a7(){_0x396621[_0x2fc2f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fc2f1([0x76,0x69,0x65,0x77])][_0x2fc2f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fc2f1([0x61,0x75,0x74,0x6f]);}}function _0x4295c7(_0x5d941c){const _0xb051ae=[new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd837=>setTimeout(_0x3dd837,0x3df6fa2d^_0x4901b0)),_0x1f456a[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce765b=>{let _0x4f9df5=0x0;_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d31f5,_0x48853c)=>{_0x48853c[0x0][_0x2fc2f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f9df5++,_0x4f9df5==(0x3dffc519^_0x4901b0)&&(_0xce765b(),_0x1d31f5[_0x2fc2f1([0x6f,0x66,0x66])]());});}))];return window[_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fc2f1([0x72,0x61,0x63,0x65])](_0xb051ae)[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>_0x5d941c);}async function _0x27b257(){await _0x1f456a,_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43428d,_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43428d,_0x396621[_0x2fc2f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2db20b(_0x4e2309){const _0x423fe4=_0xbd47dd();_0x396621[_0x423fe4]=_0x2fc2f1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e2309,_0x4e2309!=_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])&&_0x27b257();}function _0xbd47dd(){const _0x401997=window[_0x2fc2f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fc2f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fc2f1([0x6e,0x6f,0x77])]())[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fc2f1([0x2e]),'');let _0x98ab8f=_0x2fc2f1([0x6e]);for(let _0xf4b061=0x0;_0xf4b061<_0x401997[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf4b061+=0x2){let _0x2877e2=window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x401997[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf4b061,_0xf4b061+0x2));_0x2877e2>=_0x28404f[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2877e2-=_0x28404f[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x98ab8f+=_0x28404f[_0x2877e2];}return _0x98ab8f;}function _0x118ad1(){const _0x31ec9d=_0x40d04b[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e]));if(0x3!=_0x31ec9d[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a873e(_0x31ec9d[0x1]);function _0x3a873e(_0x14a931){const _0x3cfeb8=_0x1a65e9(_0x14a931);return _0x3cfeb8&&_0x191324()?_0x3cfeb8:null;function _0x191324(){const _0x17dff5=_0x3cfeb8[_0x2fc2f1([0x6a,0x74,0x69])],_0x4c8361=window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17dff5[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17dff5[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f6f78={..._0x3cfeb8,[_0x2fc2f1([0x6a,0x74,0x69])]:_0x17dff5[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17dff5[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f6f78[_0x2fc2f1([0x76,0x63])],_0x33e4e2(_0x1f6f78)==_0x4c8361;}}}async function _0x819495(){let _0xdc8233=!0x0;try{const _0x4aa886=_0x40d04b[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e])),[_0x22a28b,_0x2d67e5,_0x2c648e]=_0x4aa886;return _0x2fb365(_0x22a28b),await _0x4be88f(_0x22a28b,_0x2d67e5,_0x2c648e),_0xdc8233;}catch{return!0x1;}function _0x2fb365(_0x2ba7a1){const _0x395652=_0x1a65e9(_0x2ba7a1);_0x395652&&_0x395652[_0x2fc2f1([0x61,0x6c,0x67])]==_0x2fc2f1([0x45,0x53,0x32,0x35,0x36])||(_0xdc8233=!0x1);}async function _0x4be88f(_0x58d37e,_0x3d094a,_0x1434c4){const _0x24070e=window[_0x2fc2f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fc2f1([0x66,0x72,0x6f,0x6d])](_0x595061(_0x1434c4),_0x59ce29=>_0x59ce29[_0x2fc2f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a44c9=new window[(_0x2fc2f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fc2f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58d37e+_0x2fc2f1([0x2e])+_0x3d094a),_0x3a3a8a=window[_0x2fc2f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fc2f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a3a8a)return;const _0x11ed8b=await _0x3a3a8a[_0x2fc2f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fc2f1([0x6a,0x77,0x6b]),_0x5c5920,{[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x45,0x43,0x44,0x53,0x41]),[_0x2fc2f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fc2f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a3a8a[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x45,0x43,0x44,0x53,0x41]),[_0x2fc2f1([0x68,0x61,0x73,0x68])]:{[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11ed8b,_0x24070e,_0x4a44c9)||(_0xdc8233=!0x1);}}function _0x1a65e9(_0x3c5ded){return _0x3c5ded[_0x2fc2f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fc2f1([0x65,0x79]))?JSON[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65])](_0x595061(_0x3c5ded)):null;}function _0x595061(_0x425d35){return window[_0x2fc2f1([0x61,0x74,0x6f,0x62])](_0x425d35[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fc2f1([0x2b]))[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fc2f1([0x2f])));}function _0x33e4e2(_0x3c14a5){let _0x3a3d02=0x1505;function _0x43b8b9(_0x4ea6d8){for(let _0x5e1e95=0x0;_0x5e1e95<_0x4ea6d8[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1e95++){const _0x21ad88=_0x4ea6d8[_0x2fc2f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1e95);_0x3a3d02=(_0x3a3d02<<0x5)+_0x3a3d02+_0x21ad88,_0x3a3d02&=_0x3a3d02;}}function _0x472673(_0x115e2){Array[_0x2fc2f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x115e2)?_0x115e2[_0x2fc2f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x472673):_0x115e2&&typeof _0x115e2==_0x2fc2f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fc2f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x115e2)[_0x2fc2f1([0x73,0x6f,0x72,0x74])]()[_0x2fc2f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37af04,_0x441e1b])=>{_0x43b8b9(_0x37af04),_0x472673(_0x441e1b);}):_0x43b8b9(window[_0x2fc2f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x115e2));}return _0x472673(_0x3c14a5),_0x3a3d02>>>0x0;}function _0x31f55e(_0x318c15){return _0x318c15[_0x2fc2f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fc2f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fc2f1([0x30]));}function _0x1de110(_0x220ce4){return _0x220ce4[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fc2f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fc2f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x43428d(){}function _0x2fc2f1(_0x2f0d8b){const _0x32291d=_0x22b0;return _0x2f0d8b[_0x32291d(0x13e)](_0x2ecc43=>String[_0x32291d(0x10f)](_0x2ecc43))[_0x32291d(0x15a)]('');}_0x2db20b(await _0x2d82bf());}(this);}[_0xb5118a(0x10e)](){const _0x8b82e7=_0xb5118a,_0x5ead74=this[_0x8b82e7(0x132)][_0x8b82e7(0x15d)];_0x5ead74[_0x8b82e7(0x16c)](_0x2767d6=>{const _0x3ba5e2=_0x8b82e7,_0x1110e7=_0x5ead74[_0x3ba5e2(0x15b)][_0x3ba5e2(0x114)][_0x3ba5e2(0x14e)]();let _0x21f805=0x0;for(const _0x315b27 of _0x1110e7){const _0x10f741=q+':'+_0x21f805;if(_0x5ead74[_0x3ba5e2(0x164)][_0x3ba5e2(0x16e)](_0x10f741))_0x2767d6[_0x3ba5e2(0x12c)](_0x10f741,{'range':_0x315b27});else{if(_0x315b27[_0x3ba5e2(0x131)][_0x3ba5e2(0x163)]){const _0xd5e260=_0x315b27[_0x3ba5e2(0x131)][_0x3ba5e2(0x16f)](({item:_0x5e1ff1})=>!_0x5ead74[_0x3ba5e2(0x11c)][_0x3ba5e2(0x156)](_0x5e1ff1),{'boundaries':_0x315b27});_0x2767d6[_0x3ba5e2(0x169)](_0x10f741,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2767d6[_0x3ba5e2(0x118)](_0xd5e260,_0x315b27[_0x3ba5e2(0x11d)])});}else _0x2767d6[_0x3ba5e2(0x169)](_0x10f741,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x315b27});}_0x21f805++;}});}[_0xb5118a(0x10d)](){const _0xb6e37=_0xb5118a,_0x55b593=this[_0xb6e37(0x132)][_0xb6e37(0x15d)],_0x5a02d0=Array[_0xb6e37(0x11a)](this[_0xb6e37(0x132)][_0xb6e37(0x15d)][_0xb6e37(0x164)][_0xb6e37(0x168)](q));_0x5a02d0[_0xb6e37(0x127)]&&_0x55b593[_0xb6e37(0x16c)](_0x44d963=>{const _0x2f9f9a=_0xb6e37;_0x5a02d0[_0x2f9f9a(0x124)](_0x216726=>{const _0x4f7d07=_0x2f9f9a;_0x44d963[_0x4f7d07(0x142)](_0x216726);});});}[_0xb5118a(0x173)](_0x5dd32f,_0x5492a2){const _0x5e7935=_0xb5118a,_0x555ce5=this[_0x5e7935(0x10a)](),_0x494822=_0x5492a2||_0x555ce5[_0x5e7935(0x16b)]();this[_0x5e7935(0x132)][_0x5e7935(0x15d)][_0x5e7935(0x148)](_0x494822)&&this[_0x5e7935(0x132)][_0x5e7935(0x15d)][_0x5e7935(0x16c)](_0x5abaa3=>{const _0x441ebb=_0x5e7935;this[_0x441ebb(0x10d)](),_0x5492a2||this[_0x441ebb(0x16a)](_0x5abaa3,_0x555ce5),this[_0x441ebb(0x12f)]({'insertAt':_0x494822,'writer':_0x5abaa3,'html':_0x5dd32f});});}[_0xb5118a(0x122)](_0x269d2c){const _0x205322=_0xb5118a,{model:_0x3d5dd7}=this[_0x205322(0x132)],_0x2fce49=this[_0x205322(0x10a)]();_0x3d5dd7[_0x205322(0x16c)](()=>{const _0x2f92c1=_0x205322,_0x2c01ea=this[_0x2f92c1(0x128)](_0x269d2c,_0x2fce49)||this[_0x2f92c1(0x160)](_0x2fce49);this[_0x2f92c1(0x173)](_0x269d2c,_0x2c01ea);});}[_0xb5118a(0x10a)](){const _0x28b3f4=_0xb5118a,_0x2c5ce2=this[_0x28b3f4(0x132)][_0x28b3f4(0x15d)],_0x57ea70=Array[_0x28b3f4(0x11a)](_0x2c5ce2[_0x28b3f4(0x164)][_0x28b3f4(0x168)](q))[_0x28b3f4(0x13e)](_0x58c2b9=>_0x58c2b9[_0x28b3f4(0x133)]());return _0x2c5ce2[_0x28b3f4(0x14b)](_0x57ea70);}[_0xb5118a(0x12f)]({writer:_0x5d6b8e,html:_0x26a7a6,insertAt:_0x1630ea}){const _0x166bdb=_0xb5118a,{view:_0x511863}=this[_0x166bdb(0x132)][_0x166bdb(0x15f)],_0x2e2cda=this[_0x166bdb(0x132)][_0x166bdb(0x171)][_0x166bdb(0x12d)](_0x2a1f9b),_0x390d8f=new J();_0x390d8f[_0x166bdb(0x143)](_0x166bdb(0x175),_0x26a7a6);const _0x3fe2bd=new ClipboardEvent(_0x166bdb(0x113),{'clipboardData':_0x390d8f}),_0x5ecb1d=new _0x148eb5(_0x511863,_0x3fe2bd,{'dataTransfer':new _0x3f5ba9(_0x390d8f)});_0x5d6b8e[_0x166bdb(0x135)](_0x1630ea);const _0x31d60a=(_0x1d6aea,_0x3233fb)=>{const _0x34a73e=_0x166bdb;_0x3233fb[_0x34a73e(0x141)]&&_0x5d6b8e[_0x34a73e(0x135)](_0x3233fb[_0x34a73e(0x141)]);};_0x2e2cda[_0x166bdb(0x155)](_0x166bdb(0x134),_0x31d60a,{'priority':_0x166bdb(0x146)}),_0x511863[_0x166bdb(0x15b)][_0x166bdb(0x15e)](_0x166bdb(0x113),_0x5ecb1d),_0x2e2cda[_0x166bdb(0x112)](_0x166bdb(0x134),_0x31d60a);}[_0xb5118a(0x160)](_0x29ebdc){const _0x39c155=_0xb5118a,{model:_0x128bea}=this[_0x39c155(0x132)],_0x47e826=Array[_0x39c155(0x11a)](_0x29ebdc[_0x39c155(0x15c)]());return _0x47e826[_0x39c155(0x127)]?_0x128bea[_0x39c155(0x138)](_0x47e826[_0x39c155(0x123)]()):_0x29ebdc[_0x39c155(0x176)]();}[_0xb5118a(0x128)](_0x3921e3,_0x2f9605){const _0x1b9d51=_0xb5118a,{model:_0x80f0bf,plugins:_0x49e0ac}=this[_0x1b9d51(0x132)];if(_0x49e0ac[_0x1b9d51(0x16e)](_0x1b9d51(0x14a))){const _0x5d8e78=_0x49e0ac[_0x1b9d51(0x12d)](_0x1b9d51(0x14a))[_0x1b9d51(0x153)](_0x2f9605);if(_0x5d8e78[_0x1b9d51(0x127)]){const _0x3a2238=this[_0x1b9d51(0x13d)](_0x3921e3),_0x205950=this[_0x1b9d51(0x154)](_0x5d8e78,_0x3a2238);return _0x80f0bf[_0x1b9d51(0x13c)](_0x205950,0x0);}}return null;}[_0xb5118a(0x13d)](_0x380684){const _0x1bde44=_0xb5118a,_0x36d57d=this[_0x1bde44(0x132)][_0x1bde44(0x171)][_0x1bde44(0x12d)](_0x1bde44(0x14a)),_0x23eb53=this[_0x1bde44(0x132)][_0x1bde44(0x119)][_0x1bde44(0x152)](_0x380684),_0x4f6353=Array[_0x1bde44(0x11a)](_0x23eb53[_0x1bde44(0x158)]())[_0x1bde44(0x12b)](_0x1d169c=>_0x1d169c['is'](_0x1bde44(0x116),_0x1bde44(0x129)));let _0xa7c584=0x0;return _0x4f6353[_0x1bde44(0x124)](_0x26afb7=>{const _0x29a678=_0x1bde44;_0xa7c584+=_0x36d57d[_0x29a678(0x117)](_0x26afb7);}),_0xa7c584;}[_0xb5118a(0x154)](_0xabfddd,_0x2bfbf4){const _0x5028cb=_0xb5118a,_0x9ec706=this[_0x5028cb(0x132)][_0x5028cb(0x171)][_0x5028cb(0x12d)](_0x5028cb(0x14a)),_0x427cc5=_0x9ec706[_0x5028cb(0x137)](_0xabfddd),_0x2e40ee=_0x9ec706[_0x5028cb(0x111)](_0xabfddd),_0x1164f9=_0x427cc5[_0x5028cb(0x145)]+0x1,_0xfda24=_0x2e40ee[_0x5028cb(0x16d)],_0x22b9f4=_0xabfddd[0x0][_0x5028cb(0x14d)](_0x5028cb(0x129));for(let _0x1dad03=0x0;_0x1dad03<_0x2bfbf4;_0x1dad03++)_0x9ec706[_0x5028cb(0x174)](_0x22b9f4,{'at':_0x1164f9});return _0x22b9f4[_0x5028cb(0x165)](_0x1164f9)[_0x5028cb(0x165)](_0xfda24);}[_0xb5118a(0x16a)](_0x4db917,_0x3c7902){const _0x3dbfad=_0xb5118a,{plugins:_0x3092de}=this[_0x3dbfad(0x132)],{model:_0x1e912a}=_0x4db917;if(!_0x3092de[_0x3dbfad(0x16e)](_0x3dbfad(0x14a)))return;_0x3092de[_0x3dbfad(0x12d)](_0x3dbfad(0x14a))[_0x3dbfad(0x153)](_0x3c7902)[_0x3dbfad(0x127)]&&_0x1e912a[_0x3dbfad(0x140)](_0x3c7902);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x51d2d3=_0xe809;(function(_0xc476fb,_0x1a823a){const _0x54d728=_0xe809,_0xfc2bef=_0xc476fb();while(!![]){try{const _0x34f6a4=parseInt(_0x54d728(0x1f1))/0x1+parseInt(_0x54d728(0x258))/0x2*(-parseInt(_0x54d728(0x21e))/0x3)+parseInt(_0x54d728(0x1d8))/0x4+-parseInt(_0x54d728(0x1ef))/0x5+-parseInt(_0x54d728(0x20e))/0x6+parseInt(_0x54d728(0x25f))/0x7+parseInt(_0x54d728(0x21b))/0x8*(parseInt(_0x54d728(0x1d4))/0x9);if(_0x34f6a4===_0x1a823a)break;else _0xfc2bef['push'](_0xfc2bef['shift']());}catch(_0x51f7e8){_0xfc2bef['push'](_0xfc2bef['shift']());}}}(_0x49c0,0xbda1b));import{Plugin as _0x517a72}from'ckeditor5/src/core.js';import{IconMagicWand as _0x5495bb,IconRobotPencil as _0x920f12}from'ckeditor5/src/icons.js';import{first as _0x58e758,CKEditorError as _0x12a425}from'ckeditor5/src/utils.js';import{createDropdown as _0x4e4f14,addMenuToDropdown as _0x4fcc2d,ButtonView as _0x98b835,MenuBarMenuListItemButtonView as _0x5699c8,Dialog as _0x2210a2,DialogViewPosition as _0x721646,MenuBarMenuView as _0x4ad199,MenuBarMenuListView as _0x505122,MenuBarMenuListItemView as _0x5c719f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x581232,UNGROUPED_COMMANDS_GROUP_ID as _0x9bdd84}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1e81f8}from'./aiassistantediting.js';import{AIAdapter as _0x2d548f}from'./adapters/aiadapter.js';import{getTranslation as _0x49516a}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5fb0f1}from'./ui/showaiassistantcommand.js';function _0xe809(_0x3b465e,_0x25c59d){const _0x49c032=_0x49c0();return _0xe809=function(_0xe809e1,_0x4ecdbc){_0xe809e1=_0xe809e1-0x1cd;let _0x165d3d=_0x49c032[_0xe809e1];return _0x165d3d;},_0xe809(_0x3b465e,_0x25c59d);}import{AIAssistantController as _0x4cb496}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2b47e0}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x23159d}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x51d2d3(0x1fb)];import{ClipboardMarkersUtils as _0x54dd74}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1f9766,ViewDataTransfer as _0x297a14}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x517a72{[_0x51d2d3(0x27a)];[_0x51d2d3(0x26b)];[_0x51d2d3(0x1dc)];[_0x51d2d3(0x227)];[_0x51d2d3(0x228)];[_0x51d2d3(0x23c)];[_0x51d2d3(0x26a)]='';static get[_0x51d2d3(0x1e9)](){const _0x419eb=_0x51d2d3;return _0x419eb(0x1e3);}static get[_0x51d2d3(0x20c)](){return!0x0;}static get[_0x51d2d3(0x203)](){return!0x0;}static get[_0x51d2d3(0x24a)](){return[_0x54dd74,_0x1e81f8,_0x2d548f,_0x2210a2];}constructor(_0x35fbaf){const _0x1f5f2a=_0x51d2d3;super(_0x35fbaf),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x202),[_0x1f5f2a(0x1ce),_0x1f5f2a(0x233),_0x1f5f2a(0x245)]),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x246),''),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x264),!0x0),this[_0x1f5f2a(0x26a)]=_0x1f5f2a(0x22a)+(_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x253)](_0x1f5f2a(0x264))?_0x1f5f2a(0x209):'');}[_0x51d2d3(0x1fd)](){const _0x594768=_0x51d2d3,{editor:_0x30efdc}=this;this[_0x594768(0x228)]=_0x30efdc[_0x594768(0x1d2)][_0x594768(0x253)](_0x2d548f),this[_0x594768(0x1dc)]=_0x30efdc[_0x594768(0x1d2)][_0x594768(0x253)](_0x2210a2),this[_0x594768(0x227)]=null,this[_0x594768(0x1cf)]=this[_0x594768(0x276)]();const _0x1170cd=new _0x5fb0f1(_0x30efdc,Array[_0x594768(0x214)](this[_0x594768(0x1cf)][_0x594768(0x279)]()));_0x30efdc[_0x594768(0x217)][_0x594768(0x26d)](_0x594768(0x1d3),_0x1170cd),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x218),_0x5caf15=>{const _0x4aebb7=_0x594768,_0x5afc3d=_0x4e4f14(_0x5caf15);return _0x5afc3d[_0x4aebb7(0x1f9)]({'class':_0x4aebb7(0x215)+this[_0x4aebb7(0x26a)]}),_0x5afc3d[_0x4aebb7(0x270)][_0x4aebb7(0x1f9)]({'label':_0x49516a(_0x5caf15,_0x4aebb7(0x212)),'icon':_0x5495bb,'tooltip':!0x0}),_0x5afc3d['on'](_0x4aebb7(0x230),_0x126671=>this[_0x4aebb7(0x269)](_0x126671[_0x4aebb7(0x25e)]['id'])),_0x4fcc2d(_0x5afc3d,_0x30efdc['ui'][_0x4aebb7(0x259)][_0x4aebb7(0x262)],function(_0x4554b7){const _0x519f45=_0x4aebb7,_0x48f54b=_0x581232(_0x4554b7[_0x519f45(0x1ea)][_0x519f45(0x253)](_0x519f45(0x234)),_0x4554b7[_0x519f45(0x275)]),_0x19fef9=hi(_0x4554b7,_0x48f54b)[_0x519f45(0x22c)](_0x56e709=>_0x56e709[_0x519f45(0x217)][_0x519f45(0x21c)]);if(0x1===_0x19fef9[_0x519f45(0x21c)])return hi(_0x4554b7,_0x19fef9[0x0][_0x519f45(0x217)])[_0x519f45(0x1ff)](_0x45fd87=>({'id':_0x45fd87['id'],'label':_0x45fd87[_0x519f45(0x1fe)]}));return _0x19fef9[_0x519f45(0x1ff)](_0x5b167c=>{const _0x4fd379=_0x519f45,{groupId:_0x4e9fd4,groupLabel:_0x3b69d3,commands:_0x15825f}=_0x5b167c,_0x449e51=hi(_0x4554b7,_0x15825f)[_0x4fd379(0x1ff)](_0x38407b=>({'id':_0x38407b['id'],'label':_0x38407b[_0x4fd379(0x1fe)]}));return{'id':_0x4e9fd4,'menu':_0x3b69d3||_0x4e9fd4,'children':_0x449e51};});}(_0x30efdc),{'ariaLabel':_0x49516a(_0x5caf15,_0x4aebb7(0x212))}),_0x5afc3d[_0x4aebb7(0x1f0)][_0x4aebb7(0x239)]=_0x4aebb7(0x215)+this[_0x4aebb7(0x26a)],_0x1170cd['on'](_0x4aebb7(0x20f),_0x6d34ab),_0x5afc3d[_0x4aebb7(0x1f0)][_0x4aebb7(0x1d5)](_0x4aebb7(0x267),_0x6d34ab),_0x5afc3d;function _0x6d34ab(){const _0x1ac03e=_0x4aebb7;_0x5afc3d[_0x1ac03e(0x216)]=_0x1170cd[_0x1ac03e(0x256)][_0x1ac03e(0x21c)]>0x0;for(const _0x2e1720 of _0x5afc3d[_0x1ac03e(0x1f0)][_0x1ac03e(0x200)])_0x2e1720[_0x1ac03e(0x216)]=_0x1170cd[_0x1ac03e(0x256)][_0x1ac03e(0x257)](_0x2e1720['id']);}}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x1f8),_0x266c96=>{const _0x27c3af=_0x594768,_0x47fcf5=new _0x4ad199(_0x266c96);_0x47fcf5[_0x27c3af(0x270)][_0x27c3af(0x1f9)]({'label':_0x49516a(_0x266c96,_0x27c3af(0x212)),'icon':_0x5495bb}),_0x47fcf5[_0x27c3af(0x225)](_0x27c3af(0x216))['to'](_0x1170cd,_0x27c3af(0x256),_0x1b94d5=>_0x1b94d5[_0x27c3af(0x21c)]>0x0);const _0x161562=_0x581232(_0x30efdc[_0x27c3af(0x1ea)][_0x27c3af(0x253)](_0x27c3af(0x234)),_0x266c96);return this[_0x27c3af(0x250)](_0x1170cd,_0x47fcf5,_0x161562,_0x86efa2=>this[_0x27c3af(0x269)](_0x86efa2)),_0x47fcf5;}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x1e8),()=>{const _0x50ef5f=_0x594768,_0x656ad1=this[_0x50ef5f(0x273)](_0x98b835);return _0x656ad1[_0x50ef5f(0x1f9)]({'tooltip':!0x0,'class':_0x50ef5f(0x232)+this[_0x50ef5f(0x26a)]}),_0x656ad1;}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x23a),()=>{const _0x4f700c=_0x594768,_0x4d0d58=this[_0x4f700c(0x273)](_0x5699c8);return _0x4d0d58[_0x4f700c(0x1f9)]({'role':_0x4f700c(0x238)}),_0x4d0d58;}),this[_0x594768(0x27a)]=this[_0x594768(0x1e7)][_0x594768(0x1ea)][_0x594768(0x253)](_0x594768(0x27a));const _0x27ad12=this[_0x594768(0x1e7)];this[_0x594768(0x26b)]=setInterval(()=>{const _0x4f2459=_0x594768;let _0x2e4f3a;for(const _0x34edda in _0x27ad12){const _0x40a11e=_0x34edda,_0x334557=_0x27ad12[_0x40a11e];if(_0x4f2459(0x1d7)==_0x334557||_0x4f2459(0x24e)==_0x334557||_0x4f2459(0x1cd)==_0x334557||_0x4f2459(0x1f3)==_0x334557||_0x4f2459(0x26c)==_0x334557||_0x4f2459(0x1e5)==_0x334557||_0x4f2459(0x1e0)==_0x334557||_0x4f2459(0x237)==_0x334557){delete _0x27ad12[_0x40a11e],_0x2e4f3a=_0x334557,clearInterval(this[_0x4f2459(0x26b)]),this[_0x4f2459(0x26b)]=void 0x0;break;}}_0x4f2459(0x24e)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x1f7)),_0x4f2459(0x1cd)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x221)),_0x4f2459(0x1f3)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x25a)),_0x4f2459(0x26c)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x210),_0x4f2459(0x241)),_0x4f2459(0x1e5)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x20a)),_0x4f2459(0x1e0)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x1e1)),_0x4f2459(0x237)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x23f));},0x3e8);}[_0x51d2d3(0x207)](){const _0x5a794c=_0x51d2d3;super[_0x5a794c(0x207)](),this[_0x5a794c(0x26b)]&&clearInterval(this[_0x5a794c(0x26b)]);}[_0x51d2d3(0x1da)](_0x39a4ee='',_0x3cac19='',_0x1151e3=_0x51d2d3(0x1d1)){const _0x5b0348=_0x51d2d3,_0x410079=this[_0x5b0348(0x1e7)],_0x57b5ed=_0x410079[_0x5b0348(0x21f)][_0x5b0348(0x259)],_0x2f2922=_0x410079[_0x5b0348(0x1d2)][_0x5b0348(0x253)](_0x1e81f8),_0x177745=_0x410079[_0x5b0348(0x1d2)][_0x5b0348(0x253)](_0x54dd74);_0x2f2922[_0x5b0348(0x1df)]();const _0x34f17b=new J(),_0x415e10=new ClipboardEvent(_0x5b0348(0x20b),{'clipboardData':_0x34f17b}),_0x1efd8c=new _0x297a14(_0x34f17b),_0x33b88c=new _0x1f9766(_0x57b5ed,_0x415e10,{'dataTransfer':_0x1efd8c});_0x177745[_0x5b0348(0x261)](_0x5b0348(0x1d0),()=>{const _0x1f54ad=_0x5b0348;_0x57b5ed[_0x1f54ad(0x1de)][_0x1f54ad(0x25d)](_0x1f54ad(0x20b),_0x33b88c);}),this[_0x5b0348(0x227)]||(this[_0x5b0348(0x22d)](),this[_0x5b0348(0x23c)]=new _0x4cb496(_0x410079,this[_0x5b0348(0x228)][_0x5b0348(0x1ee)],this[_0x5b0348(0x227)]));let _0x5e9c91=_0x1efd8c[_0x5b0348(0x1e2)](_0x5b0348(0x249));const _0x2257a1=_0x410079[_0x5b0348(0x1db)][_0x5b0348(0x1de)][_0x5b0348(0x1eb)],_0x5b9280=Array[_0x5b0348(0x214)](_0x2257a1[_0x5b0348(0x20d)]());0x1===_0x5b9280[_0x5b0348(0x21c)]&&_0x5b9280[0x0][_0x5b0348(0x26f)]&&!_0x2257a1[_0x5b0348(0x25c)]()&&''!==_0x5e9c91[_0x5b0348(0x22b)](/ /g,'')[_0x5b0348(0x23b)]()&&(_0x5e9c91=_0x5b0348(0x268)+_0x5e9c91+_0x5b0348(0x224)),this[_0x5b0348(0x23c)][_0x5b0348(0x1f5)]({'actionId':_0x1151e3,'query':_0x39a4ee,'htmlContent':_0x5e9c91,'label':_0x3cac19,'mainActionLabel':_0x23159d[_0x410079[_0x5b0348(0x1db)][_0x5b0348(0x1de)][_0x5b0348(0x1eb)][_0x5b0348(0x1f4)]?_0x5b0348(0x251):_0x5b0348(0x252)]}),_0x5b0348(0x1e8)!==this[_0x5b0348(0x1dc)]['id']?this[_0x5b0348(0x1dc)][_0x5b0348(0x243)]({'id':_0x5b0348(0x1e8),'icon':_0x920f12,'title':_0x49516a(this[_0x5b0348(0x1e7)][_0x5b0348(0x275)],_0x5b0348(0x260)),'content':this[_0x5b0348(0x227)],'position':_0x721646[_0x5b0348(0x222)],'onShow':()=>{const _0x372f6e=_0x5b0348;this[_0x372f6e(0x227)][_0x372f6e(0x24c)]();},'onHide':()=>{const _0x10a014=_0x5b0348;this[_0x10a014(0x23c)][_0x10a014(0x240)](),_0x2f2922[_0x10a014(0x272)]();}}):this[_0x5b0348(0x1dc)][_0x5b0348(0x259)][_0x5b0348(0x247)]||this[_0x5b0348(0x1dc)][_0x5b0348(0x259)][_0x5b0348(0x277)]();}[_0x51d2d3(0x242)](){const _0x188ec0=_0x51d2d3;this[_0x188ec0(0x1dc)][_0x188ec0(0x26e)]();}[_0x51d2d3(0x276)](){const _0x29a5e9=_0x51d2d3,_0x2d5b33=new Map(),_0x3666db=_0x581232(this[_0x29a5e9(0x1e7)][_0x29a5e9(0x1ea)][_0x29a5e9(0x253)](_0x29a5e9(0x234)),this[_0x29a5e9(0x1e7)][_0x29a5e9(0x275)]);for(const _0x6250db of _0x3666db)for(const _0x1b1d09 of _0x6250db[_0x29a5e9(0x217)])_0x2d5b33[_0x29a5e9(0x1f9)](_0x1b1d09['id'],{..._0x1b1d09,'groupId':_0x6250db[_0x29a5e9(0x248)],'groupLabel':_0x6250db[_0x29a5e9(0x236)]||_0x6250db[_0x29a5e9(0x248)]});return _0x2d5b33;}[_0x51d2d3(0x273)](_0x11796d){const _0x3a833a=_0x51d2d3,_0x4665da=this[_0x3a833a(0x1e7)],_0x4d8d72=_0x4665da[_0x3a833a(0x217)][_0x3a833a(0x253)](_0x3a833a(0x1d3)),_0x4ba04f=new _0x11796d(_0x4665da[_0x3a833a(0x275)]);return _0x4ba04f[_0x3a833a(0x1f9)]({'label':_0x49516a(_0x4665da[_0x3a833a(0x275)],_0x3a833a(0x260)),'icon':_0x920f12,'isToggleable':!0x0}),_0x4ba04f[_0x3a833a(0x225)](_0x3a833a(0x216))['to'](_0x4d8d72),_0x4ba04f[_0x3a833a(0x225)](_0x3a833a(0x220))['to'](this[_0x3a833a(0x1dc)],'id',_0x30a8f4=>_0x3a833a(0x1e8)===_0x30a8f4),this[_0x3a833a(0x22f)](_0x4ba04f,_0x3a833a(0x230),()=>{const _0x375314=_0x3a833a;_0x4ba04f[_0x375314(0x220)]?this[_0x375314(0x242)]():_0x4d8d72[_0x375314(0x230)]();}),_0x4ba04f;}[_0x51d2d3(0x22d)](){const _0x32f8b6=_0x51d2d3,_0x5b9ef3=this[_0x32f8b6(0x1e7)][_0x32f8b6(0x1d2)][_0x32f8b6(0x253)](_0x1e81f8);this[_0x32f8b6(0x227)]=new _0x2b47e0(this[_0x32f8b6(0x1e7)][_0x32f8b6(0x275)],this[_0x32f8b6(0x26a)],this[_0x32f8b6(0x1e7)][_0x32f8b6(0x1ea)][_0x32f8b6(0x253)](_0x32f8b6(0x246))),this[_0x32f8b6(0x227)]['on'](_0x32f8b6(0x1d6),()=>{const _0x46809a=_0x32f8b6;this[_0x46809a(0x1dc)][_0x46809a(0x259)][_0x46809a(0x247)]||this[_0x46809a(0x1dc)][_0x46809a(0x259)][_0x46809a(0x277)]();}),this[_0x32f8b6(0x227)][_0x32f8b6(0x21a)][_0x32f8b6(0x254)][_0x32f8b6(0x231)]['on'](_0x32f8b6(0x271),()=>{const _0x503314=_0x32f8b6;this[_0x503314(0x1dc)][_0x503314(0x259)][_0x503314(0x247)]||this[_0x503314(0x1dc)][_0x503314(0x259)][_0x503314(0x277)]();}),this[_0x32f8b6(0x22f)](this[_0x32f8b6(0x227)],_0x32f8b6(0x235),()=>{const _0x436393=_0x32f8b6;_0x5b9ef3[_0x436393(0x21d)](this[_0x436393(0x23c)][_0x436393(0x206)]),this[_0x436393(0x242)]();}),this[_0x32f8b6(0x22f)](this[_0x32f8b6(0x227)],_0x32f8b6(0x1dd),()=>{const _0x46b184=_0x32f8b6;_0x5b9ef3[_0x46b184(0x1dd)](this[_0x46b184(0x23c)][_0x46b184(0x206)]),this[_0x46b184(0x242)]();}),this[_0x32f8b6(0x22e)]();}[_0x51d2d3(0x22e)](){const _0x1f2334=_0x51d2d3,{locale:_0x55e0da,ui:{ariaLiveAnnouncer:_0x5cfb9a}}=this[_0x1f2334(0x1e7)];this[_0x1f2334(0x227)][_0x1f2334(0x278)]['on'](_0x1f2334(0x263),(_0x57ccd8,_0x19bcb7,_0x25ec46)=>{const _0x14665c=_0x1f2334,_0x5d051b=this[_0x14665c(0x23c)][_0x14665c(0x206)];_0x25ec46?_0x5cfb9a[_0x14665c(0x24f)](_0x49516a(_0x55e0da,_0x14665c(0x213))):_0x5d051b&&_0x5cfb9a[_0x14665c(0x24f)](_0x49516a(_0x55e0da,_0x14665c(0x1fc),_0x5d051b),{'politeness':_0x14665c(0x266),'isUnsafeHTML':!0x0});}),this[_0x1f2334(0x227)]['on'](_0x1f2334(0x24d),(_0x4205e4,_0x313f22,_0x34effb)=>{const _0x3dc126=_0x1f2334;if(_0x34effb){const _0x2131a9=this[_0x3dc126(0x227)][_0x3dc126(0x24b)][_0x3dc126(0x205)];_0x5cfb9a[_0x3dc126(0x24f)](_0x49516a(_0x55e0da,_0x3dc126(0x23e),_0x2131a9));}});}[_0x51d2d3(0x269)](_0x320033){const _0x361026=_0x51d2d3,_0x81d78=this[_0x361026(0x1cf)][_0x361026(0x253)](_0x320033),_0x3b2f60=this[_0x361026(0x1e7)],_0x4549a9=_0x3b2f60[_0x361026(0x1db)][_0x361026(0x1de)][_0x361026(0x1eb)],_0x52c656=_0x3b2f60[_0x361026(0x217)][_0x361026(0x253)](_0x361026(0x1d3)),_0x501f40=_0x3b2f60[_0x361026(0x1d2)][_0x361026(0x253)](_0x1e81f8),_0x468451=''+(_0x81d78[_0x361026(0x248)]!==_0x9bdd84?_0x81d78[_0x361026(0x236)]+':\x20':'')+_0x81d78[_0x361026(0x1fe)];if(!0x1!==_0x81d78[_0x361026(0x1ec)]&&_0x4549a9[_0x361026(0x1f4)]){const _0xd031b1=_0x58e758(_0x4549a9[_0x361026(0x226)]())||_0x3b2f60[_0x361026(0x1db)][_0x361026(0x255)][_0x361026(0x1f6)](_0x4549a9);_0x3b2f60[_0x361026(0x1db)][_0x361026(0x229)](_0x3c8027=>{const _0x419558=_0x361026;_0x3c8027[_0x419558(0x219)](_0xd031b1,'in');});}_0x501f40[_0x361026(0x1df)](),_0x52c656[_0x361026(0x230)](_0x81d78[_0x361026(0x1ed)],_0x468451,_0x361026(0x1e4)+_0x320033);}[_0x51d2d3(0x250)](_0x5e75c2,_0x15107e,_0x5b1116,_0xa0194f){const _0x1763d6=_0x51d2d3,_0x267f05=this[_0x1763d6(0x1e7)],_0x402107=_0x267f05[_0x1763d6(0x275)],_0x5b1355=new _0x505122(_0x402107),_0x4e48eb=hi(_0x267f05,_0x5b1116)[_0x1763d6(0x22c)](_0x204b8a=>_0x204b8a[_0x1763d6(0x217)][_0x1763d6(0x21c)]);0x1===_0x4e48eb[_0x1763d6(0x21c)]?this[_0x1763d6(0x1d9)]({'command':_0x5e75c2,'commands':_0x4e48eb[0x0][_0x1763d6(0x217)],'parentMenuView':_0x15107e,'onExecute':_0xa0194f})[_0x1763d6(0x208)](_0x4cda3e=>_0x5b1355[_0x1763d6(0x274)][_0x1763d6(0x26d)](_0x4cda3e)):_0x4e48eb[_0x1763d6(0x208)](({groupId:_0x16d501,groupLabel:_0x2614fb,commands:_0x42db51})=>{const _0x56dcf6=_0x1763d6,_0x2d3953=new _0x5c719f(_0x402107,_0x15107e),_0x3932c4=new _0x4ad199(_0x402107),_0x4c0604=new _0x505122(_0x402107),_0x36a498=this[_0x56dcf6(0x1d9)]({'command':_0x5e75c2,'commands':_0x42db51,'parentMenuView':_0x3932c4,'onExecute':_0xa0194f});_0x3932c4[_0x56dcf6(0x270)][_0x56dcf6(0x1f9)]({'label':_0x2614fb||_0x16d501}),_0x3932c4[_0x56dcf6(0x25b)](_0x56dcf6(0x230))['to'](_0x15107e),_0x4c0604[_0x56dcf6(0x274)][_0x56dcf6(0x244)](_0x36a498),_0x3932c4[_0x56dcf6(0x201)][_0x56dcf6(0x223)][_0x56dcf6(0x26d)](_0x4c0604),_0x2d3953[_0x56dcf6(0x223)][_0x56dcf6(0x26d)](_0x3932c4),_0x5b1355[_0x56dcf6(0x274)][_0x56dcf6(0x26d)](_0x2d3953);}),_0x15107e[_0x1763d6(0x201)][_0x1763d6(0x223)][_0x1763d6(0x26d)](_0x5b1355);}[_0x51d2d3(0x1d9)]({command:_0x43f3d8,commands:_0xe0288e,parentMenuView:_0x3ec486,onExecute:_0x245511}){const _0x30cabf=_0x51d2d3,_0x282afc=this[_0x30cabf(0x1e7)],_0x2b1113=_0x282afc[_0x30cabf(0x275)];return hi(_0x282afc,_0xe0288e)[_0x30cabf(0x1ff)](_0x5ac2b3=>{const _0x4e77ed=_0x30cabf,_0x2b977c=new _0x5c719f(_0x2b1113,_0x3ec486),_0x4ef3b1=new _0x5699c8(_0x2b1113);return _0x4ef3b1[_0x4e77ed(0x1f9)]({'label':_0x5ac2b3[_0x4e77ed(0x1fe)]}),_0x4ef3b1[_0x4e77ed(0x25b)](_0x4e77ed(0x230))['to'](_0x3ec486),_0x4ef3b1['on'](_0x4e77ed(0x230),()=>_0x245511(_0x5ac2b3['id'])),_0x4ef3b1[_0x4e77ed(0x225)](_0x4e77ed(0x216))['to'](_0x43f3d8,_0x4e77ed(0x256),_0x2d4f99=>_0x2d4f99[_0x4e77ed(0x257)](_0x5ac2b3['id'])),_0x2b977c[_0x4e77ed(0x223)][_0x4e77ed(0x26d)](_0x4ef3b1),_0x2b977c;});}}function _0x49c0(){const _0x544c0f=['usageLimit','reset','AIAssistant','hideUI','show','addMany','tableOfContents','ai.assistant.contentAreaCssClass','wasMoved','groupId','text/html','requires','errorView','focus','change:isError','aiLicenseKeyInvalid','announce','_populateMenuBarMenu','INSERT','REPLACE','get','queryView','schema','enabledCommandsIds','includes','2QHptgt','view','domainLimit','delegate','getSelectedElement','fire','source','4124848YktGBa','AI\x20Assistant','_forceMarkersCopy','body','change:isProcessing','ai.assistant.useTheme','define','polite','render','<p>','_onExecute','_uiCssClasses','_licenseKeyCheckInterval','aiLicenseKeyNotAllowed','add','hide','isFlat','buttonView','update','hideFakeVisualSelection','_createAIAssistantUIButton','items','locale','_getResolvedCommandsDefinitions','updatePosition','contentArea','values','licenseKey','componentFactory','aiLicenseKeyExpired','media','_commandDefinitions','comment','custom','plugins','showAIAssistant','18521307YHqtMS','once','change:value','aiLicenseKeyValid','1717328CvIJPg','_getMenuBarGroupButtons','showUI','model','_dialog','insertContentBelow','document','showFakeVisualSelection','aiLicenseKeyTrialLimit','trialLimit','getData','AIAssistantUI','command:','aiLicenseKeyEvaluationLimit','push','editor','aiAssistant','pluginName','config','selection','requiresContent','prompt','textAdapter','4285810cDNLNW','menuView','636809ygBriy','_showLicenseError','aiLicenseKeyDomainLimit','isCollapsed','updateView','getLimitElement','invalid','menuBar:aiCommands','set','order','DataTransfer','Generated\x20content:\x20%0','init','label','map','buttons','panelView','ai.assistant.disabledElements','isPremiumPlugin','splice','text','currentContext','destroy','forEach','\x20ck-ai-assistant-ui_theme','evaluationLimit','copy','isOfficialPlugin','getRanges','7366542bbmPgV','change:enabledCommandsIds','featureNotAllowed','ai-commands-config-order-collision','AI\x20Commands','AI\x20is\x20writing','from','ck-ai-commands-dropdown\x20','isEnabled','commands','aiCommands','setSelection','promptView','8LuGipe','length','insertContent','2555034RLevQl','editing','isOn','expired','EDITOR_TOP_SIDE','children','</p>','bind','getSelectedBlocks','_formView','_aiAdapter','change','ck-ai-assistant-ui','replace','filter','_initView','_initAriaAiStatusChangeAnnouncements','listenTo','execute','fieldView','ck-ai-assistant-button\x20','rawHtml','ai.assistant.commands','replaceContent','groupLabel','aiLicenseKeyUsageLimit','menuitemcheckbox','menuPanelClass','menuBar:aiAssistant','trim','_aiAssistantController','sort','Error\x20during\x20AI\x20content\x20generation:\x20%0'];_0x49c0=function(){return _0x544c0f;};return _0x49c0();}function li(_0x2fdaa8,_0x6293b5){const _0x250664=_0x51d2d3;return void 0x0!==_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0===_0x6293b5[_0x250664(0x1fa)]?0x1:void 0x0===_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0!==_0x6293b5[_0x250664(0x1fa)]?-0x1:void 0x0!==_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0!==_0x6293b5[_0x250664(0x1fa)]?_0x2fdaa8[_0x250664(0x1fa)]-_0x6293b5[_0x250664(0x1fa)]:0x0;}function hi(_0x1f374d,_0xe1b4aa){const _0x313945=_0x51d2d3;_0xe1b4aa[_0x313945(0x23d)](li);const _0x24b463={},_0x177b32=[];for(const _0x20c7b5 of _0xe1b4aa)if(void 0x0!==_0x20c7b5[_0x313945(0x1fa)]){if(_0x20c7b5[_0x313945(0x1fa)]in _0x24b463)throw new _0x12a425(_0x313945(0x211),_0x1f374d,{'conflictingDefinitions':[_0x20c7b5,_0x24b463[_0x20c7b5[_0x313945(0x1fa)]]]});_0x24b463[_0x20c7b5[_0x313945(0x1fa)]]=_0x20c7b5,_0x177b32[_0x313945(0x204)](_0x20c7b5[_0x313945(0x1fa)],0x0,_0x20c7b5);}else _0x177b32[_0x313945(0x1e6)](_0x20c7b5);return _0x177b32;}
|
|
23
|
+
const _0x36d938=_0x20d8;(function(_0x3058d1,_0x4c735b){const _0x24097c=_0x20d8,_0x45e48a=_0x3058d1();while(!![]){try{const _0x126293=-parseInt(_0x24097c(0xf2))/0x1+parseInt(_0x24097c(0xe6))/0x2*(parseInt(_0x24097c(0x100))/0x3)+parseInt(_0x24097c(0xda))/0x4*(parseInt(_0x24097c(0xb1))/0x5)+-parseInt(_0x24097c(0x10f))/0x6+-parseInt(_0x24097c(0xa6))/0x7+-parseInt(_0x24097c(0xa4))/0x8*(-parseInt(_0x24097c(0x124))/0x9)+parseInt(_0x24097c(0x11a))/0xa*(parseInt(_0x24097c(0x113))/0xb);if(_0x126293===_0x4c735b)break;else _0x45e48a['push'](_0x45e48a['shift']());}catch(_0x50cf63){_0x45e48a['push'](_0x45e48a['shift']());}}}(_0x1a62,0xe9cd6));import{Plugin as _0x3d0d0e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x127416,IconRobotPencil as _0x261280}from'ckeditor5/src/icons.js';import{first as _0x1c1351,CKEditorError as _0x31baf1}from'ckeditor5/src/utils.js';import{createDropdown as _0x9df615,addMenuToDropdown as _0x15c4b3,ButtonView as _0x338c95,MenuBarMenuListItemButtonView as _0x2f4414,Dialog as _0x35fef8,DialogViewPosition as _0x2f19e2,MenuBarMenuView as _0x566b54,MenuBarMenuListView as _0x349b3c,MenuBarMenuListItemView as _0x5a1f7a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4644cf,UNGROUPED_COMMANDS_GROUP_ID as _0x116a91}from'./utils/normalizecommandsconfig.js';function _0x20d8(_0x14730b,_0x38ce2b){const _0x1a62d3=_0x1a62();return _0x20d8=function(_0x20d856,_0x9d93ef){_0x20d856=_0x20d856-0x86;let _0x544e1e=_0x1a62d3[_0x20d856];return _0x544e1e;},_0x20d8(_0x14730b,_0x38ce2b);}import{AIAssistantEditing as _0x19c546}from'./aiassistantediting.js';import{AIAdapter as _0x5d4c7c}from'./adapters/aiadapter.js';import{getTranslation as _0x601d06}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x59df15}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x57727b}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3f1cce}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5a78d0}from'./ui/form/aiformtoolbarview.js';function _0x1a62(){const _0x21fcf2=['map','tableOfContents','buttonView','comment','componentFactory','addMany','hideUI','config','showFakeVisualSelection','3567KgdyBn','init','ai-commands-config-order-collision','_onExecute','featureNotAllowed','show','length','replaceContent','menuView','panelView','order','updateView','DataTransfer','isOfficialPlugin','showUI','8528790pQfnaS','splice','children','AIAssistantUI','407oEikgf','setSelection','ai.assistant.disabledElements','menuBar:aiAssistant','replace','push','hideFakeVisualSelection','768310VAtUko','AI\x20is\x20writing','INSERT','_commandDefinitions','editing','includes','ck-ai-assistant-ui','_getMenuBarGroupButtons','evaluationLimit','_populateMenuBarMenu','35793uhPmWG','_showLicenseError','items','define','delegate','getData','aiLicenseKeyUsageLimit','expired','getSelectedElement','menuBar:aiCommands','fire','change:isError','buttons','aiLicenseKeyInvalid','_licenseKeyCheckInterval','schema','Generated\x20content:\x20%0','aiCommands','usageLimit','aiLicenseKeyExpired','text/html','requiresContent','aiLicenseKeyNotAllowed','ai.assistant.useTheme','trim','isOn','_dialog','REPLACE','from','execute','_uiCssClasses','EDITOR_TOP_SIDE','enabledCommandsIds','label','aiLicenseKeyValid','change:enabledCommandsIds','requires','getLimitElement','\x20ck-ai-assistant-ui_theme','update','once','_getResolvedCommandsDefinitions','aiLicenseKeyDomainLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuPanelClass','selection','set','polite','pluginName','808ePJEEj','source','8736847jPhzws','reset','aiLicenseKeyEvaluationLimit','AI\x20Assistant','licenseKey','_initAriaAiStatusChangeAnnouncements','plugins','editor','_forceMarkersCopy','queryView','aiLicenseKeyTrialLimit','5540995KFrAEW','announce','ck-ai-commands-dropdown\x20','AI\x20Commands','wasMoved','focus','copy','aiAssistant','bind','</p>','forEach','destroy','menuitemcheckbox','add','isFlat','isEnabled','change:value','_formView','_createAIAssistantUIButton','hide','isPremiumPlugin','custom','domainLimit','currentContext','prompt','model','ai.assistant.commands','ai.assistant.contentAreaCssClass','values','groupLabel','getRanges','get','invalid','promptView','commands','contentArea','media','insertContentBelow','render','AIAssistant','rawHtml','4WyfAEG','listenTo','updatePosition','document','insertContent','filter','_aiAssistantController','view','<p>','_aiAdapter','text','change:isProcessing','892WPKsAo','body','locale','showAIAssistant','command:','sort','trialLimit','textAdapter','ck-ai-assistant-button\x20','isCollapsed','errorView','getSelectedBlocks','1255677bXSgHY','groupId','change','fieldView','_initView'];_0x1a62=function(){return _0x21fcf2;};return _0x1a62();}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x36d938(0x10c)];import{ClipboardMarkersUtils as _0x46538f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x382f19,ViewDataTransfer as _0x497304}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3d0d0e{[_0x36d938(0xaa)];[_0x36d938(0x132)];[_0x36d938(0x8d)];[_0x36d938(0xc2)];[_0x36d938(0xe3)];[_0x36d938(0xe0)];[_0x36d938(0x91)]='';static get[_0x36d938(0xa3)](){const _0x2d8367=_0x36d938;return _0x2d8367(0x112);}static get[_0x36d938(0x10d)](){return!0x0;}static get[_0x36d938(0xc5)](){return!0x0;}static get[_0x36d938(0x97)](){return[_0x46538f,_0x19c546,_0x5d4c7c,_0x35fef8];}constructor(_0x39723e){const _0x55cad=_0x36d938;super(_0x39723e),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0x115),[_0x55cad(0xd5),_0x55cad(0xd9),_0x55cad(0xf8)]),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0xcc),''),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0x8a),!0x0),this[_0x55cad(0x91)]=_0x55cad(0x120)+(_0x39723e[_0x55cad(0xfe)][_0x55cad(0xd0)](_0x55cad(0x8a))?_0x55cad(0x99):'');}[_0x36d938(0x101)](){const _0x1f399b=_0x36d938,{editor:_0x2bcf71}=this;this[_0x1f399b(0xe3)]=_0x2bcf71[_0x1f399b(0xac)][_0x1f399b(0xd0)](_0x5d4c7c),this[_0x1f399b(0x8d)]=_0x2bcf71[_0x1f399b(0xac)][_0x1f399b(0xd0)](_0x35fef8),this[_0x1f399b(0xc2)]=null,this[_0x1f399b(0x11d)]=this[_0x1f399b(0x9c)]();const _0x2d0365=new _0x59df15(_0x2bcf71,Array[_0x1f399b(0x8f)](this[_0x1f399b(0x11d)][_0x1f399b(0xcd)]()));_0x2bcf71[_0x1f399b(0xd3)][_0x1f399b(0xbe)](_0x1f399b(0xe9),_0x2d0365),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x135),_0x3fd3cf=>{const _0x4ff2f4=_0x1f399b,_0x59c7b5=_0x9df615(_0x3fd3cf);return _0x59c7b5[_0x4ff2f4(0xa1)]({'class':_0x4ff2f4(0xb3)+this[_0x4ff2f4(0x91)]}),_0x59c7b5[_0x4ff2f4(0xf9)][_0x4ff2f4(0xa1)]({'label':_0x601d06(_0x3fd3cf,_0x4ff2f4(0xb4)),'icon':_0x127416,'tooltip':!0x0}),_0x59c7b5['on'](_0x4ff2f4(0x90),_0x260a47=>this[_0x4ff2f4(0x103)](_0x260a47[_0x4ff2f4(0xa5)]['id'])),_0x15c4b3(_0x59c7b5,_0x2bcf71['ui'][_0x4ff2f4(0xe1)][_0x4ff2f4(0xe7)],function(_0x2953a4){const _0x3822b0=_0x4ff2f4,_0x1ecdea=_0x4644cf(_0x2953a4[_0x3822b0(0xfe)][_0x3822b0(0xd0)](_0x3822b0(0xcb)),_0x2953a4[_0x3822b0(0xe8)]),_0x4a14c3=hi(_0x2953a4,_0x1ecdea)[_0x3822b0(0xdf)](_0x4b039a=>_0x4b039a[_0x3822b0(0xd3)][_0x3822b0(0x106)]);if(0x1===_0x4a14c3[_0x3822b0(0x106)])return hi(_0x2953a4,_0x4a14c3[0x0][_0x3822b0(0xd3)])[_0x3822b0(0xf7)](_0x25ddf7=>({'id':_0x25ddf7['id'],'label':_0x25ddf7[_0x3822b0(0x94)]}));return _0x4a14c3[_0x3822b0(0xf7)](_0x9ba0c5=>{const _0x1c2efc=_0x3822b0,{groupId:_0x4dceb0,groupLabel:_0x40e58f,commands:_0x2b4c0f}=_0x9ba0c5,_0x5e469b=hi(_0x2953a4,_0x2b4c0f)[_0x1c2efc(0xf7)](_0x454653=>({'id':_0x454653['id'],'label':_0x454653[_0x1c2efc(0x94)]}));return{'id':_0x4dceb0,'menu':_0x40e58f||_0x4dceb0,'children':_0x5e469b};});}(_0x2bcf71),{'ariaLabel':_0x601d06(_0x3fd3cf,_0x4ff2f4(0xb4))}),_0x59c7b5[_0x4ff2f4(0x108)][_0x4ff2f4(0x9f)]=_0x4ff2f4(0xb3)+this[_0x4ff2f4(0x91)],_0x2d0365['on'](_0x4ff2f4(0x96),_0x35f35d),_0x59c7b5[_0x4ff2f4(0x108)][_0x4ff2f4(0x9b)](_0x4ff2f4(0xd7),_0x35f35d),_0x59c7b5;function _0x35f35d(){const _0x1551be=_0x4ff2f4;_0x59c7b5[_0x1551be(0xc0)]=_0x2d0365[_0x1551be(0x93)][_0x1551be(0x106)]>0x0;for(const _0x520425 of _0x59c7b5[_0x1551be(0x108)][_0x1551be(0x130)])_0x520425[_0x1551be(0xc0)]=_0x2d0365[_0x1551be(0x93)][_0x1551be(0x11f)](_0x520425['id']);}}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x12d),_0x52e1ae=>{const _0x2df61a=_0x1f399b,_0x3982f3=new _0x566b54(_0x52e1ae);_0x3982f3[_0x2df61a(0xf9)][_0x2df61a(0xa1)]({'label':_0x601d06(_0x52e1ae,_0x2df61a(0xb4)),'icon':_0x127416}),_0x3982f3[_0x2df61a(0xb9)](_0x2df61a(0xc0))['to'](_0x2d0365,_0x2df61a(0x93),_0x52624b=>_0x52624b[_0x2df61a(0x106)]>0x0);const _0x2e16ee=_0x4644cf(_0x2bcf71[_0x2df61a(0xfe)][_0x2df61a(0xd0)](_0x2df61a(0xcb)),_0x52e1ae);return this[_0x2df61a(0x123)](_0x2d0365,_0x3982f3,_0x2e16ee,_0x50e9fc=>this[_0x2df61a(0x103)](_0x50e9fc)),_0x3982f3;}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0xb8),()=>{const _0x11a190=_0x1f399b,_0x25b719=this[_0x11a190(0xc3)](_0x338c95);return _0x25b719[_0x11a190(0xa1)]({'tooltip':!0x0,'class':_0x11a190(0xee)+this[_0x11a190(0x91)]}),_0x25b719;}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x116),()=>{const _0xf3affa=_0x1f399b,_0x4dea08=this[_0xf3affa(0xc3)](_0x2f4414);return _0x4dea08[_0xf3affa(0xa1)]({'role':_0xf3affa(0xbd)}),_0x4dea08;}),this[_0x1f399b(0xaa)]=this[_0x1f399b(0xad)][_0x1f399b(0xfe)][_0x1f399b(0xd0)](_0x1f399b(0xaa));const _0x1e2073=this[_0x1f399b(0xad)];this[_0x1f399b(0x132)]=setInterval(()=>{const _0x30ff9e=_0x1f399b;let _0x43533c;for(const _0x5e3e69 in _0x1e2073){const _0x4b733b=_0x5e3e69,_0x5de648=_0x1e2073[_0x4b733b];if(_0x30ff9e(0x95)==_0x5de648||_0x30ff9e(0x131)==_0x5de648||_0x30ff9e(0x86)==_0x5de648||_0x30ff9e(0x9d)==_0x5de648||_0x30ff9e(0x89)==_0x5de648||_0x30ff9e(0xa8)==_0x5de648||_0x30ff9e(0xb0)==_0x5de648||_0x30ff9e(0x12a)==_0x5de648){delete _0x1e2073[_0x4b733b],_0x43533c=_0x5de648,clearInterval(this[_0x30ff9e(0x132)]),this[_0x30ff9e(0x132)]=void 0x0;break;}}_0x30ff9e(0x131)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xd1)),_0x30ff9e(0x86)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x12b)),_0x30ff9e(0x9d)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xc7)),_0x30ff9e(0x89)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x104),_0x30ff9e(0xd8)),_0x30ff9e(0xa8)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x122)),_0x30ff9e(0xb0)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xec)),_0x30ff9e(0x12a)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x136));},0x3e8);}[_0x36d938(0xbc)](){const _0x1d76a3=_0x36d938;super[_0x1d76a3(0xbc)](),this[_0x1d76a3(0x132)]&&clearInterval(this[_0x1d76a3(0x132)]);}[_0x36d938(0x10e)](_0x428ba1='',_0x31a2e9='',_0xcffd5e=_0x36d938(0xc6)){const _0x6d90a5=_0x36d938,_0x2587e1=this[_0x6d90a5(0xad)],_0x5d5fd1=_0x2587e1[_0x6d90a5(0x11e)][_0x6d90a5(0xe1)],_0x1afd39=_0x2587e1[_0x6d90a5(0xac)][_0x6d90a5(0xd0)](_0x19c546),_0xc62363=_0x2587e1[_0x6d90a5(0xac)][_0x6d90a5(0xd0)](_0x46538f);_0x1afd39[_0x6d90a5(0xff)]();const _0x4c446b=new J(),_0x5655f9=new ClipboardEvent(_0x6d90a5(0xb7),{'clipboardData':_0x4c446b}),_0x28f5f6=new _0x497304(_0x4c446b),_0x573759=new _0x382f19(_0x5d5fd1,_0x5655f9,{'dataTransfer':_0x28f5f6});_0xc62363[_0x6d90a5(0xae)](_0x6d90a5(0xfa),()=>{const _0x255d64=_0x6d90a5;_0x5d5fd1[_0x255d64(0xdd)][_0x255d64(0x12e)](_0x255d64(0xb7),_0x573759);}),this[_0x6d90a5(0xc2)]||(this[_0x6d90a5(0xf6)](),this[_0x6d90a5(0xe0)]=new _0x57727b(_0x2587e1,this[_0x6d90a5(0xe3)][_0x6d90a5(0xed)],this[_0x6d90a5(0xc2)]));let _0xf5e22f=_0x28f5f6[_0x6d90a5(0x129)](_0x6d90a5(0x87));const _0x15cd51=_0x2587e1[_0x6d90a5(0xca)][_0x6d90a5(0xdd)][_0x6d90a5(0xa0)],_0x538a7a=Array[_0x6d90a5(0x8f)](_0x15cd51[_0x6d90a5(0xcf)]());0x1===_0x538a7a[_0x6d90a5(0x106)]&&_0x538a7a[0x0][_0x6d90a5(0xbf)]&&!_0x15cd51[_0x6d90a5(0x12c)]()&&''!==_0xf5e22f[_0x6d90a5(0x117)](/ /g,'')[_0x6d90a5(0x8b)]()&&(_0xf5e22f=_0x6d90a5(0xe2)+_0xf5e22f+_0x6d90a5(0xba)),this[_0x6d90a5(0xe0)][_0x6d90a5(0x10b)]({'actionId':_0xcffd5e,'query':_0x428ba1,'htmlContent':_0xf5e22f,'label':_0x31a2e9,'mainActionLabel':_0x5a78d0[_0x2587e1[_0x6d90a5(0xca)][_0x6d90a5(0xdd)][_0x6d90a5(0xa0)][_0x6d90a5(0xef)]?_0x6d90a5(0x11c):_0x6d90a5(0x8e)]}),_0x6d90a5(0xb8)!==this[_0x6d90a5(0x8d)]['id']?this[_0x6d90a5(0x8d)][_0x6d90a5(0x105)]({'id':_0x6d90a5(0xb8),'icon':_0x261280,'title':_0x601d06(this[_0x6d90a5(0xad)][_0x6d90a5(0xe8)],_0x6d90a5(0xa9)),'content':this[_0x6d90a5(0xc2)],'position':_0x2f19e2[_0x6d90a5(0x92)],'onShow':()=>{const _0x15c68e=_0x6d90a5;this[_0x15c68e(0xc2)][_0x15c68e(0xb6)]();},'onHide':()=>{const _0x3e82d9=_0x6d90a5;this[_0x3e82d9(0xe0)][_0x3e82d9(0xa7)](),_0x1afd39[_0x3e82d9(0x119)]();}}):this[_0x6d90a5(0x8d)][_0x6d90a5(0xe1)][_0x6d90a5(0xb5)]||this[_0x6d90a5(0x8d)][_0x6d90a5(0xe1)][_0x6d90a5(0xdc)]();}[_0x36d938(0xfd)](){const _0x5cfa11=_0x36d938;this[_0x5cfa11(0x8d)][_0x5cfa11(0xc4)]();}[_0x36d938(0x9c)](){const _0x23e740=_0x36d938,_0x33dc6e=new Map(),_0x8da120=_0x4644cf(this[_0x23e740(0xad)][_0x23e740(0xfe)][_0x23e740(0xd0)](_0x23e740(0xcb)),this[_0x23e740(0xad)][_0x23e740(0xe8)]);for(const _0xa7015e of _0x8da120)for(const _0x400283 of _0xa7015e[_0x23e740(0xd3)])_0x33dc6e[_0x23e740(0xa1)](_0x400283['id'],{..._0x400283,'groupId':_0xa7015e[_0x23e740(0xf3)],'groupLabel':_0xa7015e[_0x23e740(0xce)]||_0xa7015e[_0x23e740(0xf3)]});return _0x33dc6e;}[_0x36d938(0xc3)](_0x356320){const _0x442853=_0x36d938,_0x375524=this[_0x442853(0xad)],_0x7cbac5=_0x375524[_0x442853(0xd3)][_0x442853(0xd0)](_0x442853(0xe9)),_0x268948=new _0x356320(_0x375524[_0x442853(0xe8)]);return _0x268948[_0x442853(0xa1)]({'label':_0x601d06(_0x375524[_0x442853(0xe8)],_0x442853(0xa9)),'icon':_0x261280,'isToggleable':!0x0}),_0x268948[_0x442853(0xb9)](_0x442853(0xc0))['to'](_0x7cbac5),_0x268948[_0x442853(0xb9)](_0x442853(0x8c))['to'](this[_0x442853(0x8d)],'id',_0x90d988=>_0x442853(0xb8)===_0x90d988),this[_0x442853(0xdb)](_0x268948,_0x442853(0x90),()=>{const _0x3d6c68=_0x442853;_0x268948[_0x3d6c68(0x8c)]?this[_0x3d6c68(0xfd)]():_0x7cbac5[_0x3d6c68(0x90)]();}),_0x268948;}[_0x36d938(0xf6)](){const _0x52e4e5=_0x36d938,_0x37334b=this[_0x52e4e5(0xad)][_0x52e4e5(0xac)][_0x52e4e5(0xd0)](_0x19c546);this[_0x52e4e5(0xc2)]=new _0x3f1cce(this[_0x52e4e5(0xad)][_0x52e4e5(0xe8)],this[_0x52e4e5(0x91)],this[_0x52e4e5(0xad)][_0x52e4e5(0xfe)][_0x52e4e5(0xd0)](_0x52e4e5(0xcc))),this[_0x52e4e5(0xc2)]['on'](_0x52e4e5(0xc1),()=>{const _0x49c67e=_0x52e4e5;this[_0x49c67e(0x8d)][_0x49c67e(0xe1)][_0x49c67e(0xb5)]||this[_0x49c67e(0x8d)][_0x49c67e(0xe1)][_0x49c67e(0xdc)]();}),this[_0x52e4e5(0xc2)][_0x52e4e5(0xd2)][_0x52e4e5(0xaf)][_0x52e4e5(0xf5)]['on'](_0x52e4e5(0x9a),()=>{const _0x5a21a7=_0x52e4e5;this[_0x5a21a7(0x8d)][_0x5a21a7(0xe1)][_0x5a21a7(0xb5)]||this[_0x5a21a7(0x8d)][_0x5a21a7(0xe1)][_0x5a21a7(0xdc)]();}),this[_0x52e4e5(0xdb)](this[_0x52e4e5(0xc2)],_0x52e4e5(0x107),()=>{const _0x329a3e=_0x52e4e5;_0x37334b[_0x329a3e(0xde)](this[_0x329a3e(0xe0)][_0x329a3e(0xc8)]),this[_0x329a3e(0xfd)]();}),this[_0x52e4e5(0xdb)](this[_0x52e4e5(0xc2)],_0x52e4e5(0xd6),()=>{const _0x430e92=_0x52e4e5;_0x37334b[_0x430e92(0xd6)](this[_0x430e92(0xe0)][_0x430e92(0xc8)]),this[_0x430e92(0xfd)]();}),this[_0x52e4e5(0xab)]();}[_0x36d938(0xab)](){const _0x24d5da=_0x36d938,{locale:_0x40b4a2,ui:{ariaLiveAnnouncer:_0x396984}}=this[_0x24d5da(0xad)];this[_0x24d5da(0xc2)][_0x24d5da(0xd4)]['on'](_0x24d5da(0xe5),(_0x2ee8dc,_0x2b01a7,_0x173b4d)=>{const _0x52259f=_0x24d5da,_0x24ea45=this[_0x52259f(0xe0)][_0x52259f(0xc8)];_0x173b4d?_0x396984[_0x52259f(0xb2)](_0x601d06(_0x40b4a2,_0x52259f(0x11b))):_0x24ea45&&_0x396984[_0x52259f(0xb2)](_0x601d06(_0x40b4a2,_0x52259f(0x134),_0x24ea45),{'politeness':_0x52259f(0xa2),'isUnsafeHTML':!0x0});}),this[_0x24d5da(0xc2)]['on'](_0x24d5da(0x12f),(_0x211825,_0x3ccaa1,_0x575ea9)=>{const _0x10ce60=_0x24d5da;if(_0x575ea9){const _0x1f393a=this[_0x10ce60(0xc2)][_0x10ce60(0xf0)][_0x10ce60(0xe4)];_0x396984[_0x10ce60(0xb2)](_0x601d06(_0x40b4a2,_0x10ce60(0x9e),_0x1f393a));}});}[_0x36d938(0x103)](_0x4db283){const _0x28fb2f=_0x36d938,_0x6cdea3=this[_0x28fb2f(0x11d)][_0x28fb2f(0xd0)](_0x4db283),_0x4d4825=this[_0x28fb2f(0xad)],_0x2cc886=_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0xdd)][_0x28fb2f(0xa0)],_0x35e3da=_0x4d4825[_0x28fb2f(0xd3)][_0x28fb2f(0xd0)](_0x28fb2f(0xe9)),_0x453854=_0x4d4825[_0x28fb2f(0xac)][_0x28fb2f(0xd0)](_0x19c546),_0x1b7e7c=''+(_0x6cdea3[_0x28fb2f(0xf3)]!==_0x116a91?_0x6cdea3[_0x28fb2f(0xce)]+':\x20':'')+_0x6cdea3[_0x28fb2f(0x94)];if(!0x1!==_0x6cdea3[_0x28fb2f(0x88)]&&_0x2cc886[_0x28fb2f(0xef)]){const _0x2f266e=_0x1c1351(_0x2cc886[_0x28fb2f(0xf1)]())||_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0x133)][_0x28fb2f(0x98)](_0x2cc886);_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0xf4)](_0x8c7f1e=>{const _0x1085af=_0x28fb2f;_0x8c7f1e[_0x1085af(0x114)](_0x2f266e,'in');});}_0x453854[_0x28fb2f(0xff)](),_0x35e3da[_0x28fb2f(0x90)](_0x6cdea3[_0x28fb2f(0xc9)],_0x1b7e7c,_0x28fb2f(0xea)+_0x4db283);}[_0x36d938(0x123)](_0x5afda9,_0x4e09cb,_0x267480,_0x1e52e8){const _0x2b1a0b=_0x36d938,_0x423e93=this[_0x2b1a0b(0xad)],_0x40ed3f=_0x423e93[_0x2b1a0b(0xe8)],_0x53ba60=new _0x349b3c(_0x40ed3f),_0x596504=hi(_0x423e93,_0x267480)[_0x2b1a0b(0xdf)](_0x1f60cd=>_0x1f60cd[_0x2b1a0b(0xd3)][_0x2b1a0b(0x106)]);0x1===_0x596504[_0x2b1a0b(0x106)]?this[_0x2b1a0b(0x121)]({'command':_0x5afda9,'commands':_0x596504[0x0][_0x2b1a0b(0xd3)],'parentMenuView':_0x4e09cb,'onExecute':_0x1e52e8})[_0x2b1a0b(0xbb)](_0x1f9f76=>_0x53ba60[_0x2b1a0b(0x126)][_0x2b1a0b(0xbe)](_0x1f9f76)):_0x596504[_0x2b1a0b(0xbb)](({groupId:_0x744ec8,groupLabel:_0x3b32b6,commands:_0x467aa8})=>{const _0x55fc4d=_0x2b1a0b,_0x1816df=new _0x5a1f7a(_0x40ed3f,_0x4e09cb),_0x97899=new _0x566b54(_0x40ed3f),_0x552e91=new _0x349b3c(_0x40ed3f),_0x41dfba=this[_0x55fc4d(0x121)]({'command':_0x5afda9,'commands':_0x467aa8,'parentMenuView':_0x97899,'onExecute':_0x1e52e8});_0x97899[_0x55fc4d(0xf9)][_0x55fc4d(0xa1)]({'label':_0x3b32b6||_0x744ec8}),_0x97899[_0x55fc4d(0x128)](_0x55fc4d(0x90))['to'](_0x4e09cb),_0x552e91[_0x55fc4d(0x126)][_0x55fc4d(0xfc)](_0x41dfba),_0x97899[_0x55fc4d(0x109)][_0x55fc4d(0x111)][_0x55fc4d(0xbe)](_0x552e91),_0x1816df[_0x55fc4d(0x111)][_0x55fc4d(0xbe)](_0x97899),_0x53ba60[_0x55fc4d(0x126)][_0x55fc4d(0xbe)](_0x1816df);}),_0x4e09cb[_0x2b1a0b(0x109)][_0x2b1a0b(0x111)][_0x2b1a0b(0xbe)](_0x53ba60);}[_0x36d938(0x121)]({command:_0xbfb595,commands:_0x2aac1e,parentMenuView:_0x2b618e,onExecute:_0x56591}){const _0x528739=_0x36d938,_0x184287=this[_0x528739(0xad)],_0x57a0e7=_0x184287[_0x528739(0xe8)];return hi(_0x184287,_0x2aac1e)[_0x528739(0xf7)](_0x27c973=>{const _0x2907bb=_0x528739,_0xcf81ab=new _0x5a1f7a(_0x57a0e7,_0x2b618e),_0x14d258=new _0x2f4414(_0x57a0e7);return _0x14d258[_0x2907bb(0xa1)]({'label':_0x27c973[_0x2907bb(0x94)]}),_0x14d258[_0x2907bb(0x128)](_0x2907bb(0x90))['to'](_0x2b618e),_0x14d258['on'](_0x2907bb(0x90),()=>_0x56591(_0x27c973['id'])),_0x14d258[_0x2907bb(0xb9)](_0x2907bb(0xc0))['to'](_0xbfb595,_0x2907bb(0x93),_0x4b4d01=>_0x4b4d01[_0x2907bb(0x11f)](_0x27c973['id'])),_0xcf81ab[_0x2907bb(0x111)][_0x2907bb(0xbe)](_0x14d258),_0xcf81ab;});}}function li(_0x341c7d,_0x261ab3){const _0x190d92=_0x36d938;return void 0x0!==_0x341c7d[_0x190d92(0x10a)]&&void 0x0===_0x261ab3[_0x190d92(0x10a)]?0x1:void 0x0===_0x341c7d[_0x190d92(0x10a)]&&void 0x0!==_0x261ab3[_0x190d92(0x10a)]?-0x1:void 0x0!==_0x341c7d[_0x190d92(0x10a)]&&void 0x0!==_0x261ab3[_0x190d92(0x10a)]?_0x341c7d[_0x190d92(0x10a)]-_0x261ab3[_0x190d92(0x10a)]:0x0;}function hi(_0x5455c3,_0x5a2002){const _0x2c968c=_0x36d938;_0x5a2002[_0x2c968c(0xeb)](li);const _0x465121={},_0x3ccc78=[];for(const _0x207290 of _0x5a2002)if(void 0x0!==_0x207290[_0x2c968c(0x10a)]){if(_0x207290[_0x2c968c(0x10a)]in _0x465121)throw new _0x31baf1(_0x2c968c(0x102),_0x5455c3,{'conflictingDefinitions':[_0x207290,_0x465121[_0x207290[_0x2c968c(0x10a)]]]});_0x465121[_0x207290[_0x2c968c(0x10a)]]=_0x207290,_0x3ccc78[_0x2c968c(0x110)](_0x207290[_0x2c968c(0x10a)],0x0,_0x207290);}else _0x3ccc78[_0x2c968c(0x118)](_0x207290);return _0x3ccc78;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2630(_0x19e7cc,_0x25311d){var _0x489abf=_0x489a();return _0x2630=function(_0x26301c,_0x141006){_0x26301c=_0x26301c-0x172;var _0x309eab=_0x489abf[_0x26301c];return _0x309eab;},_0x2630(_0x19e7cc,_0x25311d);}(function(_0x2981e1,_0x5961da){var _0x21609b=_0x2630,_0x9cff3d=_0x2981e1();while(!![]){try{var _0x1cec5c=-parseInt(_0x21609b(0x17c))/0x1+-parseInt(_0x21609b(0x174))/0x2*(-parseInt(_0x21609b(0x17a))/0x3)+-parseInt(_0x21609b(0x172))/0x4+parseInt(_0x21609b(0x179))/0x5+-parseInt(_0x21609b(0x177))/0x6*(-parseInt(_0x21609b(0x17b))/0x7)+-parseInt(_0x21609b(0x176))/0x8*(-parseInt(_0x21609b(0x178))/0x9)+parseInt(_0x21609b(0x173))/0xa*(-parseInt(_0x21609b(0x175))/0xb);if(_0x1cec5c===_0x5961da)break;else _0x9cff3d['push'](_0x9cff3d['shift']());}catch(_0x2f5442){_0x9cff3d['push'](_0x9cff3d['shift']());}}}(_0x489a,0xd46f7));import{CKEditorError as _0x524e72}from'ckeditor5/src/utils.js';function _0x489a(){var _0x27075d=['4359mqxcyL','21iEGjYV','187263hVjBAl','6889908kgwNcK','45300NjbfzO','1250rkuttu','737sKMIRs','32MSKcgb','923514XfFXki','192600odqWYq','8139515AUAdrO'];_0x489a=function(){return _0x27075d;};return _0x489a();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x1a01(_0x283ab8,_0x2dcb47){const _0x5b8890=_0x5b88();return _0x1a01=function(_0x1a01b0,_0x14bee5){_0x1a01b0=_0x1a01b0-0x1bf;let _0x6012b8=_0x5b8890[_0x1a01b0];return _0x6012b8;},_0x1a01(_0x283ab8,_0x2dcb47);}const _0x3d1a98=_0x1a01;(function(_0x30a10d,_0x174718){const _0x401727=_0x1a01,_0x4982e9=_0x30a10d();while(!![]){try{const _0x2e330f=parseInt(_0x401727(0x218))/0x1+-parseInt(_0x401727(0x1ee))/0x2+-parseInt(_0x401727(0x1f4))/0x3+-parseInt(_0x401727(0x21f))/0x4+-parseInt(_0x401727(0x208))/0x5*(parseInt(_0x401727(0x1d9))/0x6)+-parseInt(_0x401727(0x20c))/0x7+parseInt(_0x401727(0x21c))/0x8;if(_0x2e330f===_0x174718)break;else _0x4982e9['push'](_0x4982e9['shift']());}catch(_0x922dc3){_0x4982e9['push'](_0x4982e9['shift']());}}}(_0x5b88,0xbc2d4));import{ObservableMixin as _0xeee01b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x201951}from'../adapters/aiadapter.js';import{Matcher as _0x416040,ViewUpcastWriter as _0x2490e1}from'ckeditor5/src/engine.js';function _0x5b88(){const _0xbeaa67=['endsWith','destroy','reset','7242011DfYDoJ','_sanitizationContainer','custom','htmlProcessor','textAdapter','render','length','parseFromString','tryAgainEvent','_handleQuery','editing','document','967152oculmE','initialContext','data','```html','22830024cAJXdy','_domParser','once','2553484aIXUqM','querySelector','<h1></h1>','set:currentContext','stopProcessing','mainAction','prompt','then','substring','toModel','viewToDom','div','previousContext','_parseAndNormalizeContent','isRendered','currentResponse','element','startProcessing','stopListening','updateView','handleError','submitPrompt','config','_xmlSerializer','set','stringify','push','abort','6MBcqMk','catch','previousActionId','createElement','nodeType','processor','_normalizeResponseHeadings','toView','domConverter','isProcessing','ELEMENT_NODE','finally','get','clear','startsWith','_stripMarkdownSyntax','text/html','previousLabel','reverse','_sanitizeHTML','match','579866xMDZZR','from','body','rename','_isH1TagSupportEnabled','trim','2605818txPqWI','listenTo','name','currentContext','```','setContentOf','message','previousQuery','serializeToString','finishProcessing','view','editor','makeRequest','childNodes','ai.assistant.preserveComments','exec','innerHTML','value','markers','remove','1093250xFEVNj'];_0x5b88=function(){return _0xbeaa67;};return _0x5b88();}const as=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xeee01b(){[_0x3d1a98(0x1ff)];[_0x3d1a98(0x210)];[_0x3d1a98(0x1fe)];[_0x3d1a98(0x20d)];[_0x3d1a98(0x21d)];[_0x3d1a98(0x1d4)];constructor(_0x43440d,_0x2b64dd,_0x4384dd){const _0x110126=_0x3d1a98;super(),this[_0x110126(0x1ff)]=_0x43440d,this[_0x110126(0x210)]=_0x2b64dd,this[_0x110126(0x20d)]=document[_0x110126(0x1dc)](_0x110126(0x1c8)),this[_0x110126(0x21d)]=new DOMParser(),this[_0x110126(0x1d4)]=new XMLSerializer(),this[_0x110126(0x1fe)]=_0x4384dd,this[_0x110126(0x1d5)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x110126(0x1c0),(_0x52f476,_0x3ca385,_0x549065)=>{const _0x49d238=_0x110126;this[_0x49d238(0x1fe)][_0x49d238(0x205)]=this[_0x49d238(0x1ec)](_0x549065);}),this[_0x110126(0x1f5)](this[_0x110126(0x1fe)],_0x110126(0x1d2),(_0xd01fb9,_0x1d77e7)=>{const _0x2091be=_0x110126,_0x82a784=this[_0x2091be(0x1f7)]||this[_0x2091be(0x219)];this[_0x2091be(0x215)](_0x1d77e7,_0x82a784,_0x2091be(0x20e));}),this[_0x110126(0x1f5)](this[_0x110126(0x1fe)],_0x110126(0x214),()=>{const _0x5f26c2=_0x110126;this[_0x5f26c2(0x1fe)][_0x5f26c2(0x1c3)]=this[_0x5f26c2(0x1ea)],this[_0x5f26c2(0x215)](this[_0x5f26c2(0x1fb)],this[_0x5f26c2(0x1c9)],this[_0x5f26c2(0x1db)],this[_0x5f26c2(0x1ea)]);}),this[_0x110126(0x1f5)](this[_0x110126(0x1fe)],_0x110126(0x1c1),()=>{const _0x2791ad=_0x110126;this[_0x2791ad(0x1c1)]();});}[_0x3d1a98(0x20a)](){const _0x132c22=_0x3d1a98;this[_0x132c22(0x1cf)]();}async[_0x3d1a98(0x1d0)]({actionId:_0x28acd0,query:_0x507e00,htmlContent:_0x26144f,label:_0x3d235a,mainActionLabel:_0x306131}){const _0x1dd91b=_0x3d1a98;this[_0x1dd91b(0x1fe)][_0x1dd91b(0x1c3)]=_0x3d235a,this[_0x1dd91b(0x1fe)][_0x1dd91b(0x1c2)]=_0x306131,this[_0x1dd91b(0x219)]=_0x26144f,_0x507e00&&(this[_0x1dd91b(0x1fe)][_0x1dd91b(0x1cb)]?this[_0x1dd91b(0x215)](_0x507e00,_0x26144f,_0x28acd0,_0x3d235a):this[_0x1dd91b(0x1fe)][_0x1dd91b(0x21e)](_0x1dd91b(0x211),()=>{const _0x14eea9=_0x1dd91b;this[_0x14eea9(0x215)](_0x507e00,_0x26144f,_0x28acd0,_0x3d235a);}));}[_0x3d1a98(0x1c1)](){const _0x3fdd89=_0x3d1a98;this[_0x3fdd89(0x1e2)]&&(this[_0x3fdd89(0x1e2)]=!0x1,this[_0x3fdd89(0x1fe)][_0x3fdd89(0x1fd)](),this[_0x3fdd89(0x210)][_0x3fdd89(0x1d8)]());}[_0x3d1a98(0x20b)](){const _0x1aab15=_0x3d1a98;this[_0x1aab15(0x219)]='',this[_0x1aab15(0x1f7)]='',this[_0x1aab15(0x1cc)]='',this[_0x1aab15(0x1c9)]='',this[_0x1aab15(0x1fb)]='',this[_0x1aab15(0x1ea)]='',this[_0x1aab15(0x1db)]=void 0x0,this[_0x1aab15(0x1fe)][_0x1aab15(0x20b)](),this[_0x1aab15(0x1c1)]();}async[_0x3d1a98(0x215)](_0x1a8c7f,_0xa50288,_0x555983,_0x32fa41){const _0x5cd868=_0x3d1a98;return this[_0x5cd868(0x1e2)]=!0x0,this[_0x5cd868(0x1fe)][_0x5cd868(0x1ce)](),this[_0x5cd868(0x1c9)]=_0xa50288,this[_0x5cd868(0x1fb)]=_0x1a8c7f,this[_0x5cd868(0x1ea)]=_0x32fa41||_0x1a8c7f,this[_0x5cd868(0x1db)]=_0x555983,new Promise(_0x33e0b6=>{const _0x1735e6=_0x5cd868;this[_0x1735e6(0x210)][_0x1735e6(0x200)]({'query':_0x1a8c7f,'context':_0xa50288,'onData':_0x1e02e2=>{const _0x28c7c8=_0x1735e6;this[_0x28c7c8(0x1cc)]=_0x1e02e2,this[_0x28c7c8(0x1f7)]=this[_0x28c7c8(0x1ca)](this[_0x28c7c8(0x1cc)]);},'actionId':_0x555983})[_0x1735e6(0x1c4)](()=>{const _0x4dec37=_0x1735e6;!this[_0x4dec37(0x1f7)]&&this[_0x4dec37(0x1cc)]&&(this[_0x4dec37(0x1f7)]=this[_0x4dec37(0x1ca)](this[_0x4dec37(0x1cc)],!0x0));})[_0x1735e6(0x1da)](_0x1f8ae4=>{const _0x287147=_0x1735e6;_0x1f8ae4 instanceof _0x201951?this[_0x287147(0x1fe)][_0x287147(0x1d1)](_0x1f8ae4[_0x287147(0x1fa)]):this[_0x287147(0x1fe)][_0x287147(0x1d1)](),_0x33e0b6();})[_0x1735e6(0x1e4)](()=>{const _0x2e1188=_0x1735e6;this[_0x2e1188(0x1c1)](),_0x33e0b6();});});}[_0x3d1a98(0x1ca)](_0x5840e3,_0x16994f=!0x1){const _0x443816=_0x3d1a98,_0x46aaaf=as[_0x443816(0x203)](_0x5840e3);_0x5840e3=_0x46aaaf?_0x5840e3[_0x443816(0x1c5)](_0x46aaaf[0x1][_0x443816(0x212)]):_0x5840e3[_0x443816(0x212)]<0x64&&!_0x16994f?'':this[_0x443816(0x1e8)](_0x5840e3);const _0x32c4ca=this[_0x443816(0x21d)][_0x443816(0x213)](_0x5840e3,_0x443816(0x1e9));if(_0x46aaaf){const _0x2c37e0=Array[_0x443816(0x1ef)](_0x32c4ca[_0x443816(0x1f0)][_0x443816(0x201)]);_0x2c37e0[_0x443816(0x1eb)]();for(const _0x3cc310 of _0x2c37e0){if(_0x3cc310[_0x443816(0x1dd)]==Node[_0x443816(0x1e3)])break;_0x3cc310[_0x443816(0x207)]();}}const _0x3c9c44=this[_0x443816(0x1ff)][_0x443816(0x21a)][_0x443816(0x1de)][_0x443816(0x1e0)](this[_0x443816(0x1d4)][_0x443816(0x1fc)](_0x32c4ca[_0x443816(0x1f0)]));this[_0x443816(0x1f2)]()||this[_0x443816(0x1df)](_0x3c9c44);const _0x2a2a59=this[_0x443816(0x1ff)][_0x443816(0x1d3)][_0x443816(0x1e5)](_0x443816(0x202)),_0x3690e3=this[_0x443816(0x1ff)][_0x443816(0x21a)][_0x443816(0x1c6)](_0x3c9c44);return _0x2a2a59||_0x3690e3[_0x443816(0x206)][_0x443816(0x1e6)](),this[_0x443816(0x1ff)][_0x443816(0x21a)][_0x443816(0x1d6)](_0x3690e3);}[_0x3d1a98(0x1df)](_0x110eef){const _0x3a8def=_0x3d1a98,_0x22e494=new _0x2490e1(this[_0x3a8def(0x1ff)][_0x3a8def(0x216)][_0x3a8def(0x1fe)][_0x3a8def(0x217)]),_0x1b4d5f=new _0x416040({'name':/^h[1-5]$/}),_0x1dfd6e=[];let _0x2732d4=!0x1;for(const _0xa94508 of _0x110eef)_0xa94508['is'](_0x3a8def(0x1cd))&&_0x1b4d5f[_0x3a8def(0x1ed)](_0xa94508)&&(_0x1dfd6e[_0x3a8def(0x1d7)](_0xa94508),'h1'==_0xa94508[_0x3a8def(0x1f6)]&&(_0x2732d4=!0x0));if(_0x2732d4){for(const _0x3a6a92 of _0x1dfd6e)_0x22e494[_0x3a8def(0x1f1)]('h'+(parseInt(_0x3a6a92[_0x3a8def(0x1f6)][0x1])+0x1),_0x3a6a92);}}[_0x3d1a98(0x1f2)](){const _0x348952=_0x3d1a98,{data:_0x4a21b6,editing:_0x12ebbb}=this[_0x348952(0x1ff)],_0x2f746b=_0x4a21b6[_0x348952(0x20f)][_0x348952(0x1e0)](_0x348952(0x1bf)),_0x5f3fba=_0x4a21b6[_0x348952(0x1e0)](_0x4a21b6[_0x348952(0x1c6)](_0x2f746b));return!!_0x12ebbb[_0x348952(0x1fe)][_0x348952(0x1e1)][_0x348952(0x1c7)](_0x5f3fba)[_0x348952(0x220)]('h1');}[_0x3d1a98(0x1ec)](_0x59eced){const _0x124878=_0x3d1a98;return this[_0x124878(0x1ff)][_0x124878(0x216)][_0x124878(0x1fe)][_0x124878(0x1e1)][_0x124878(0x1f9)](this[_0x124878(0x20d)],_0x59eced),this[_0x124878(0x20d)][_0x124878(0x204)];}[_0x3d1a98(0x1e8)](_0x1fd490){const _0x24c4ac=_0x3d1a98,_0x5c313a=_0x1fd490[_0x24c4ac(0x1f3)]();return _0x5c313a[_0x24c4ac(0x1e7)](_0x24c4ac(0x21b))?_0x5c313a[_0x24c4ac(0x209)](_0x24c4ac(0x1f8))?_0x5c313a[_0x24c4ac(0x1c5)](0x7,_0x5c313a[_0x24c4ac(0x212)]-0x3):_0x5c313a[_0x24c4ac(0x1c5)](0x7):_0x1fd490;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x301ef8=_0x1bc5;(function(_0x10f42c,_0x185106){const _0x5e6118=_0x1bc5,_0x4435d3=_0x10f42c();while(!![]){try{const _0x334b3e=-parseInt(_0x5e6118(0x107))/0x1+parseInt(_0x5e6118(0xe6))/0x2+parseInt(_0x5e6118(0xe3))/0x3*(parseInt(_0x5e6118(0xfa))/0x4)+-parseInt(_0x5e6118(0xe5))/0x5+parseInt(_0x5e6118(0x128))/0x6*(-parseInt(_0x5e6118(0x125))/0x7)+parseInt(_0x5e6118(0xed))/0x8*(-parseInt(_0x5e6118(0xe9))/0x9)+-parseInt(_0x5e6118(0x101))/0xa*(-parseInt(_0x5e6118(0xdb))/0xb);if(_0x334b3e===_0x185106)break;else _0x4435d3['push'](_0x4435d3['shift']());}catch(_0x263528){_0x4435d3['push'](_0x4435d3['shift']());}}}(_0x4165,0xb5f02));import{global as _0x748324}from'ckeditor5/src/utils.js';import{View as _0x3371ed,ButtonView as _0x4ec3c4,SpinnerView as _0x30260c}from'ckeditor5/src/ui.js';import{IconCheck as _0x2b07ee,IconCopy as _0x3fc3bd}from'ckeditor5/src/icons.js';import{getTranslation as _0x4fdbf0}from'../../utils/common-translations.js';function _0x1bc5(_0xd17f2e,_0x2472cc){const _0x4165c6=_0x4165();return _0x1bc5=function(_0x1bc543,_0x316f06){_0x1bc543=_0x1bc543-0xd4;let _0x2b0579=_0x4165c6[_0x1bc543];return _0x2b0579;},_0x1bc5(_0xd17f2e,_0x2472cc);}export class AIFormContentArea extends _0x3371ed{[_0x301ef8(0x109)];[_0x301ef8(0xec)];constructor(_0x3b2cce,_0x2dfa5e=''){const _0x140fea=_0x301ef8;super(_0x3b2cce),this[_0x140fea(0xe8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5b931a=this[_0x140fea(0xff)];this[_0x140fea(0x109)]=new ContentFieldView(_0x3b2cce,_0x2dfa5e),this[_0x140fea(0xec)]=this[_0x140fea(0xe4)](),this[_0x140fea(0x11e)]({'tag':_0x140fea(0xf7),'attributes':{'class':['ck',_0x140fea(0xfc),_0x5b931a['if'](_0x140fea(0x113),_0x140fea(0x129),_0x52890d=>!_0x52890d)],'tabindex':'-1'},'children':[{'tag':_0x140fea(0xf7),'attributes':{'class':['ck',_0x140fea(0x118),_0x5b931a['if'](_0x140fea(0x119),_0x140fea(0xd8))]},'children':[this[_0x140fea(0x109)],{'tag':_0x140fea(0xf7),'attributes':{'class':['ck',_0x140fea(0xd9)]},'children':[this[_0x140fea(0xec)]]}]}]});}[_0x301ef8(0x11c)](){const _0x35f259=_0x301ef8;super[_0x35f259(0x11c)](),this[_0x35f259(0xf0)]&&this[_0x35f259(0x109)][_0x35f259(0xf2)](this[_0x35f259(0xf0)]);let _0x55a1c3=!0x1;this['on'](_0x35f259(0x127),(_0x3073d9,_0x1245eb,_0x4ae06e)=>{const _0x1f1c5b=_0x35f259,_0x5dae05=!this[_0x1f1c5b(0x109)][_0x1f1c5b(0xd7)][_0x1f1c5b(0xfe)](_0x1f1c5b(0x10f));this[_0x1f1c5b(0x109)][_0x1f1c5b(0xf2)](_0x4ae06e),this[_0x1f1c5b(0x119)]&&_0x5dae05&&!_0x55a1c3&&this[_0x1f1c5b(0xd7)][_0x1f1c5b(0xe1)]({'top':this[_0x1f1c5b(0xd7)][_0x1f1c5b(0xf6)],'behavior':_0x1f1c5b(0x102)});}),this['on'](_0x35f259(0x11f),(_0x5ea433,_0xdf452c,_0x5385d1)=>{const _0x460390=_0x35f259;_0x55a1c3=!0x1,_0x5385d1?(this[_0x460390(0xf0)]=null,this[_0x460390(0x109)][_0x460390(0x126)]()):this[_0x460390(0xf0)]||this[_0x460390(0x109)][_0x460390(0xf2)]('');}),this[_0x35f259(0x10e)](this[_0x35f259(0xd7)],_0x35f259(0x122),()=>{_0x55a1c3=!0x0;}),this[_0x35f259(0x10e)](this[_0x35f259(0xd7)],_0x35f259(0x120),()=>{_0x55a1c3=!0x0;});}[_0x301ef8(0x121)](){const _0x4554e2=_0x301ef8;this[_0x4554e2(0xd7)][_0x4554e2(0x121)]();}[_0x301ef8(0xe4)](){const _0x5962b6=_0x301ef8,_0x27a898=this[_0x5962b6(0xea)],_0x20a7d6=new _0x4ec3c4(this[_0x5962b6(0xea)]),_0x51c9ce=_0x5962b6(0xee);return _0x20a7d6[_0x5962b6(0xe8)]({'label':_0x4fdbf0(_0x27a898,_0x5962b6(0xe0)),'icon':_0x3fc3bd,'class':_0x51c9ce,'tooltip':!0x0}),_0x20a7d6[_0x5962b6(0x10a)](_0x5962b6(0x113))['to'](this,_0x5962b6(0xf0),_0x1980f9=>!!_0x1980f9),_0x20a7d6[_0x5962b6(0x10a)](_0x5962b6(0x10c))['to'](this,_0x5962b6(0x119),_0x1497a5=>!_0x1497a5),_0x20a7d6['on'](_0x5962b6(0xd5),()=>{const _0xbcc910=_0x5962b6;this[_0xbcc910(0x115)](this[_0xbcc910(0x109)][_0xbcc910(0xd7)]),_0x20a7d6[_0xbcc910(0x104)]=_0x2b07ee,_0x20a7d6[_0xbcc910(0x10d)]=_0x51c9ce+_0xbcc910(0x105),this[_0xbcc910(0x121)](),setTimeout(()=>{const _0x3db4fe=_0xbcc910;_0x20a7d6[_0x3db4fe(0x104)]=_0x3fc3bd,_0x20a7d6[_0x3db4fe(0x10d)]=_0x51c9ce;},0x3e8);}),_0x20a7d6;}[_0x301ef8(0x115)](_0x3cfc62){const _0x3928cd=_0x301ef8,{window:_0x4d6d1c,document:_0x31744f}=_0x748324;if(_0x4d6d1c[_0x3928cd(0xfd)]){const {Blob:_0x29802f,ClipboardItem:_0x498095}=_0x4d6d1c,_0x18ef8a=[new _0x498095({'text/html':new _0x29802f([_0x3cfc62[_0x3928cd(0x11b)]],{'type':_0x3928cd(0xe7)}),'text/plain':new _0x29802f([_0x3cfc62[_0x3928cd(0x124)]||''],{'type':_0x3928cd(0x10b)})})];navigator[_0x3928cd(0xf8)][_0x3928cd(0xf1)](_0x18ef8a);}else{const _0x144efd=_0x31744f[_0x3928cd(0x114)](_0x3928cd(0xf7));_0x144efd[_0x3928cd(0x112)][_0x3928cd(0xdd)]=_0x3928cd(0xeb),_0x144efd[_0x3928cd(0x112)][_0x3928cd(0xdc)]=_0x3928cd(0x100),_0x144efd[_0x3928cd(0x11b)]=_0x3928cd(0xda)+_0x3cfc62[_0x3928cd(0x11b)]+_0x3928cd(0xde),_0x31744f[_0x3928cd(0x123)][_0x3928cd(0x106)](_0x144efd);const _0x23661a=_0x31744f[_0x3928cd(0xfb)]();_0x23661a[_0x3928cd(0x11a)](_0x144efd[_0x3928cd(0x111)]),_0x23661a[_0x3928cd(0xdf)](_0x144efd[_0x3928cd(0xef)]);const _0x161f25=_0x4d6d1c[_0x3928cd(0xf5)]();_0x161f25[_0x3928cd(0xe2)](),_0x161f25[_0x3928cd(0xd6)](_0x23661a),_0x31744f[_0x3928cd(0x108)](_0x3928cd(0x116)),_0x144efd[_0x3928cd(0xf9)]();}}}function _0x4165(){const _0x166cf8=['loaderView','execute','addRange','element','ck-ai-form__content-area--processing','ck-ai-form__copy-button-wrapper','<span>[</span>','10102917QdLASD','left','position','<span>]</span>','setEndBefore','Copy','scrollTo','removeAllRanges','13839udNWau','_createCopyButton','3718860jwsasd','2857302XOSDfc','text/html','set','17838HbvTHS','locale','absolute','copyButtonView','4856iGrthP','ck-ai-form__copy-button','lastElementChild','value','write','setContent','ck-ai-form__content-field','_createLoader','getSelection','scrollHeight','div','clipboard','remove','116SRhORO','createRange','ck-ai-form__content-area-wrapper','ClipboardItem','querySelector','bindTemplate','-9999px','30Xxudxm','smooth','AI\x20is\x20writing...','icon','\x20ck-ai-form__copy-button--copied','appendChild','1372049DzlKXu','execCommand','contentFieldView','bind','text/plain','isEnabled','class','listenTo','.ck-ai-form__loader','ck-content','firstElementChild','style','isVisible','createElement','_copyHTMLToClipboard','copy','ck-reset_all-excluded','ck-ai-form__content-area','isProcessing','setStartAfter','innerHTML','render','ck-ai-form__loader','setTemplate','change:isProcessing','mousedown','focus','wheel','body','textContent','221949FVLTgr','appendLoader','change:value','48ZKrYkN','ck-hidden'];_0x4165=function(){return _0x166cf8;};return _0x4165();}export class ContentFieldView extends _0x3371ed{constructor(_0x20e7a5,_0x4f8faf=''){const _0x5117d1=_0x301ef8;super(_0x20e7a5),this[_0x5117d1(0xd4)]=this[_0x5117d1(0xf4)](),this[_0x5117d1(0x11e)]({'tag':_0x5117d1(0xf7),'attributes':{'class':['ck',_0x5117d1(0x110),_0x4f8faf,_0x5117d1(0x117),_0x5117d1(0xf3)]}});}[_0x301ef8(0xf2)](_0x4d7bc2){const _0x58657e=_0x301ef8;this[_0x58657e(0xd7)][_0x58657e(0x11b)]=_0x4d7bc2;}[_0x301ef8(0x126)](){const _0xbf5e3=_0x301ef8;this[_0xbf5e3(0xd7)][_0xbf5e3(0x106)](this[_0xbf5e3(0xd4)][_0xbf5e3(0xd7)]);}[_0x301ef8(0xf4)](){const _0x317f57=_0x301ef8,_0x1b9a9c=new _0x3371ed(),_0x5a5616=this[_0x317f57(0xea)],_0x5f13d8=new _0x30260c();return _0x5f13d8[_0x317f57(0x113)]=!0x0,_0x1b9a9c[_0x317f57(0x11e)]({'tag':_0x317f57(0xf7),'attributes':{'class':['ck',_0x317f57(0x11d)]},'children':[_0x5f13d8,{'text':_0x4fdbf0(_0x5a5616,_0x317f57(0x103))}]}),_0x1b9a9c[_0x317f57(0x11c)](),_0x1b9a9c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x411dc4,_0x5a56ad){const _0x3f9ed6=_0x338c,_0x29e0ac=_0x411dc4();while(!![]){try{const _0x28e840=-parseInt(_0x3f9ed6(0x166))/0x1*(parseInt(_0x3f9ed6(0x15d))/0x2)+parseInt(_0x3f9ed6(0x168))/0x3+parseInt(_0x3f9ed6(0x159))/0x4*(-parseInt(_0x3f9ed6(0x160))/0x5)+-parseInt(_0x3f9ed6(0x15b))/0x6+parseInt(_0x3f9ed6(0x164))/0x7+-parseInt(_0x3f9ed6(0x158))/0x8*(parseInt(_0x3f9ed6(0x15f))/0x9)+parseInt(_0x3f9ed6(0x167))/0xa;if(_0x28e840===_0x5a56ad)break;else _0x29e0ac['push'](_0x29e0ac['shift']());}catch(_0x32fe70){_0x29e0ac['push'](_0x29e0ac['shift']());}}}(_0x3385,0x276ff));import{IconError as _0x4fd257}from'ckeditor5/src/icons.js';import{View as _0x120fb4,IconView as _0x36598f}from'ckeditor5/src/ui.js';function _0x338c(_0x1f0f49,_0x5454b0){const _0x3385af=_0x3385();return _0x338c=function(_0x338c26,_0x373b5a){_0x338c26=_0x338c26-0x158;let _0x32f93a=_0x3385af[_0x338c26];return _0x32f93a;},_0x338c(_0x1f0f49,_0x5454b0);}function _0x3385(){const _0x536e88=['10316wALHbc','bindTemplate','258774ewpGtX','content','155384YqnKiM','setTemplate','2367NSLlda','565VNlcXF','div','text','ck-ai-form__error','799211bqaoIa','set','4IyhjAj','7543950AeQyHe','258291VVFpIH','4496ClBBzC'];_0x3385=function(){return _0x536e88;};return _0x3385();}export class AIFormErrorView extends _0x120fb4{constructor(_0x1447ac,_0x53339d=''){const _0x248e64=_0x338c;super(_0x1447ac);const _0x601f3c=new _0x36598f(),_0x2f7f24=this[_0x248e64(0x15a)];this[_0x248e64(0x165)](_0x248e64(0x162),_0x53339d),_0x601f3c[_0x248e64(0x15c)]=_0x4fd257,this[_0x248e64(0x15e)]({'tag':_0x248e64(0x161),'attributes':{'class':['ck',_0x248e64(0x163)]},'children':[_0x601f3c,{'text':_0x2f7f24['to'](_0x248e64(0x162))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e9fbc=_0x5e16;(function(_0x496af4,_0x1a072f){const _0xeff27f=_0x5e16,_0x367220=_0x496af4();while(!![]){try{const _0x19a925=-parseInt(_0xeff27f(0x1a8))/0x1*(parseInt(_0xeff27f(0x17a))/0x2)+parseInt(_0xeff27f(0x1a5))/0x3+-parseInt(_0xeff27f(0x183))/0x4+-parseInt(_0xeff27f(0x1a1))/0x5+-parseInt(_0xeff27f(0x195))/0x6*(-parseInt(_0xeff27f(0x199))/0x7)+-parseInt(_0xeff27f(0x1a3))/0x8*(parseInt(_0xeff27f(0x187))/0x9)+parseInt(_0xeff27f(0x184))/0xa;if(_0x19a925===_0x1a072f)break;else _0x367220['push'](_0x367220['shift']());}catch(_0x2213e7){_0x367220['push'](_0x367220['shift']());}}}(_0x4c75,0xed711));import{Rect as _0x330e39,global as _0x3a6008,isVisible as _0x548f11}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x6cb531,IconSubmit as _0x18bea8}from'ckeditor5/src/icons.js';function _0x4c75(){const _0x23e597=['1570504OrvDxL','isVisible','118284AFNPJm','submitButtonView','value','31mWklKQ','focusableChildren','isOn','filteredView','element','focusCycler','maxRows','isEmpty','queryView','fire','requestAnimationFrame','fieldWrapperChildren','70890wWAUvR','style','enter','ck-ai-form__submit','locale','isEnabled','update','showHistoryButtonView','submit','2056996HItArM','29393720ZjWFii','set','minRows','81uweRXv','children','bind','add','excludeScrollbarsAndBorders','focusFirst','uiLanguageDirection','keystrokes','right','window','rtl','width','execute','_createSubmitButton','2461308nJVbMH','focus','focusLast','fieldView','28mJYCYg','render','resultsView','left','_createShowHistoryButton','Submit','History','ck-ai-form__toggle-history','1336250hMzxZV','target'];_0x4c75=function(){return _0x23e597;};return _0x4c75();}import{AutocompleteView as _0xfff3f9,ButtonView as _0x5a2d1b}from'ckeditor5/src/ui.js';import{getTranslation as _0xa9fd1c}from'../../utils/common-translations.js';function _0x5e16(_0x102105,_0x44ed3d){const _0x4c75bc=_0x4c75();return _0x5e16=function(_0x5e169d,_0x3122a4){_0x5e169d=_0x5e169d-0x179;let _0x12ec62=_0x4c75bc[_0x5e169d];return _0x12ec62;},_0x5e16(_0x102105,_0x44ed3d);}export class AIFormPromptView extends _0xfff3f9{[_0x3e9fbc(0x1a6)];[_0x3e9fbc(0x181)];constructor(_0x1e54a7,_0x4962d2){const _0x2f63f3=_0x3e9fbc;super(_0x1e54a7,_0x4962d2),this[_0x2f63f3(0x1b0)][_0x2f63f3(0x198)][_0x2f63f3(0x186)]=0x1,this[_0x2f63f3(0x1b0)][_0x2f63f3(0x198)][_0x2f63f3(0x1ae)]=0x3,this[_0x2f63f3(0x1a6)]=this[_0x2f63f3(0x194)](),this[_0x2f63f3(0x181)]=this[_0x2f63f3(0x19d)](),this[_0x2f63f3(0x1a9)][_0x2f63f3(0x18a)](this[_0x2f63f3(0x181)],0x1),this[_0x2f63f3(0x1a9)][_0x2f63f3(0x18a)](this[_0x2f63f3(0x1a6)]);}[_0x3e9fbc(0x19a)](){const _0x2af6f3=_0x3e9fbc;super[_0x2af6f3(0x19a)](),this[_0x2af6f3(0x1b0)][_0x2af6f3(0x179)][_0x2af6f3(0x18a)](this[_0x2af6f3(0x181)]),this[_0x2af6f3(0x188)][_0x2af6f3(0x18a)](this[_0x2af6f3(0x1a6)]),this[_0x2af6f3(0x18e)][_0x2af6f3(0x185)](_0x2af6f3(0x17c),(_0x1afa86,_0x5c999a)=>{const _0x158616=_0x2af6f3;_0x1afa86[_0x158616(0x1a2)]==this[_0x158616(0x1b0)][_0x158616(0x198)][_0x158616(0x1ac)]&&(this[_0x158616(0x182)](),_0x5c999a());});}[_0x3e9fbc(0x194)](){const _0x4f47ac=_0x3e9fbc,_0x4a11f4=new _0x5a2d1b(this[_0x4f47ac(0x17e)]),_0x1c94df=this[_0x4f47ac(0x17e)];return _0x4a11f4[_0x4f47ac(0x185)]({'icon':_0x18bea8,'label':_0xa9fd1c(_0x1c94df,_0x4f47ac(0x19e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4f47ac(0x17d)}),_0x4a11f4['on'](_0x4f47ac(0x193),()=>{const _0x7dbcdb=_0x4f47ac;this[_0x7dbcdb(0x182)]();}),_0x4a11f4[_0x4f47ac(0x189)](_0x4f47ac(0x17f))['to'](this[_0x4f47ac(0x1b0)][_0x4f47ac(0x198)],_0x4f47ac(0x1af),this,_0x4f47ac(0x17f),(_0x11a88a,_0x4a24e8)=>!_0x11a88a&&_0x4a24e8),_0x4a11f4;}[_0x3e9fbc(0x19d)](){const _0x1e7aaf=_0x3e9fbc,_0x2aa179=new _0x5a2d1b(this[_0x1e7aaf(0x17e)]),_0x162cd4=this[_0x1e7aaf(0x19b)],_0x1c0ccf=this[_0x1e7aaf(0x17e)];_0x2aa179[_0x1e7aaf(0x185)]({'label':_0xa9fd1c(_0x1c0ccf,_0x1e7aaf(0x19f)),'withText':!0x1,'icon':_0x6cb531,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1e7aaf(0x1a0)}),_0x2aa179[_0x1e7aaf(0x189)](_0x1e7aaf(0x1aa))['to'](_0x162cd4,_0x1e7aaf(0x1a4)),_0x2aa179[_0x1e7aaf(0x189)](_0x1e7aaf(0x17f))['to'](this,_0x1e7aaf(0x17f)),_0x2aa179['on'](_0x1e7aaf(0x193),()=>{const _0xbfbf64=_0x1e7aaf;_0x162cd4[_0xbfbf64(0x1a4)]=!_0x162cd4[_0xbfbf64(0x1a4)],_0x162cd4[_0xbfbf64(0x1a4)]?this[_0xbfbf64(0x1ab)][_0xbfbf64(0x196)]():this[_0xbfbf64(0x196)]();});const _0x1185ea=()=>{const _0x2ccad1=_0x1e7aaf;_0x3a6008[_0x2ccad1(0x190)][_0x2ccad1(0x1b2)](()=>{const _0x3a0631=_0x2ccad1;if(_0x548f11(this[_0x3a0631(0x1ac)])){const _0x2549db=new _0x330e39(this[_0x3a0631(0x1b0)][_0x3a0631(0x198)][_0x3a0631(0x1ac)]),_0x5a7d8d=_0x2549db[_0x3a0631(0x192)],_0x17c42a=_0x3a0631(0x191)===_0x1c0ccf[_0x3a0631(0x18d)]?_0x3a0631(0x19c):_0x3a0631(0x18f);_0x2549db[_0x3a0631(0x18b)](),_0x2aa179[_0x3a0631(0x1ac)][_0x3a0631(0x17b)][_0x17c42a]=_0x5a7d8d-_0x2549db[_0x3a0631(0x192)]+0x1+'px';}});};return this[_0x1e7aaf(0x1b0)][_0x1e7aaf(0x198)]['on'](_0x1e7aaf(0x180),_0x1185ea),this['on'](_0x1e7aaf(0x19a),_0x1185ea),_0x2aa179;}[_0x3e9fbc(0x182)](){const _0x535179=_0x3e9fbc,_0x1577d7=this[_0x535179(0x1b0)][_0x535179(0x198)][_0x535179(0x1ac)][_0x535179(0x1a7)];this[_0x535179(0x1b1)](_0x535179(0x182),_0x1577d7);}[_0x3e9fbc(0x196)](_0xa9d431){const _0x207083=_0x3e9fbc;-0x1===_0xa9d431?this[_0x207083(0x1ad)][_0x207083(0x197)]():this[_0x207083(0x1ad)][_0x207083(0x18c)]();}}
|