@ckeditor/ckeditor5-ai 47.2.0-alpha.0 → 47.2.0-alpha.2
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 _0x48fd30=_0x4caf;(function(_0x2c35a7,_0x4d335f){const _0x435054=_0x4caf,_0x7a54e6=_0x2c35a7();while(!![]){try{const _0x12bc51=parseInt(_0x435054(0x214))/0x1*(-parseInt(_0x435054(0x213))/0x2)+parseInt(_0x435054(0x1f4))/0x3*(parseInt(_0x435054(0x1cb))/0x4)+parseInt(_0x435054(0x1fe))/0x5*(parseInt(_0x435054(0x1e8))/0x6)+-parseInt(_0x435054(0x228))/0x7+-parseInt(_0x435054(0x21c))/0x8+-parseInt(_0x435054(0x1ea))/0x9*(parseInt(_0x435054(0x21d))/0xa)+-parseInt(_0x435054(0x1ce))/0xb*(-parseInt(_0x435054(0x1b9))/0xc);if(_0x12bc51===_0x4d335f)break;else _0x7a54e6['push'](_0x7a54e6['shift']());}catch(_0xbc5f54){_0x7a54e6['push'](_0x7a54e6['shift']());}}}(_0x5d69,0xb8c4d));import{Plugin as _0x31c3ff}from'ckeditor5/src/core.js';function _0x4caf(_0x384c2d,_0x511062){const _0x5d6903=_0x5d69();return _0x4caf=function(_0x4caf95,_0x1c96ad){_0x4caf95=_0x4caf95-0x1b8;let _0x184892=_0x5d6903[_0x4caf95];return _0x184892;},_0x4caf(_0x384c2d,_0x511062);}import{AIAssistantUI as _0x55a307}from'./aiassistantui.js';import{AIAssistantEditing as _0xfe6846}from'./aiassistantediting.js';import{getTranslation as _0xc6c4c}from'./utils/common-translations.js';function _0x5d69(){const _0x4011d6=['Business','direct','isPremiumPlugin','translatePortuguese','improveWriting','86644pEJQoN','17qgNNBN','set','summarize','continue','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','requires','Legal','Simplified\x20Chinese','7032904WhhCaf','110RLUYFN','poetic','friendly','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','makeLonger','business','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','define','German','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','7751009RjOVzw','Spanish','2502156YaRciA','AIAssistant','translate','legal','translateArabic','commands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Improve\x20writing','concat','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Portuguese\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.','translateEnglish','translateChinese','Friendly','changeTone','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Portuguese','1793600krPKOV','confident','groupId','143VlCWbf','includes','editOrReview','Summarize','translateGerman','forEach','makeShorter','Translate\x20the\x20content\x20to\x20Spanish\x20language.','isOfficialPlugin','pluginName','ai.assistant.removeCommands','translateHindi','Translate\x20the\x20content\x20to\x20English\x20language.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20German\x20language.','Simplify\x20language','Casual','Make\x20longer','translateFrench','Professional','changeStyle','ai.assistant.extraCommandGroups','Poetic','filter','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','8617362nGCvWh','professional','912771IUoJwK','English','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Hindi','Change\x20tone','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','find','Direct','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','3WUmpob','generate','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','French','Confident','Arabic','Generate\x20from\x20selection','Change\x20style','get','Edit\x20or\x20review','5fvxdeh','locale','translateSpanish','ai.assistant.preserveComments','Continue','journalism','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','ai.assistant.commands','casual','Make\x20shorter','Translate','config','Journalism','Translate\x20the\x20content\x20to\x20French\x20language.','push','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'];_0x5d69=function(){return _0x4011d6;};return _0x5d69();}import{normalizeCommandsConfig as _0x17a39b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x31c3ff{static get[_0x48fd30(0x219)](){return[_0x55a307,_0xfe6846];}static get[_0x48fd30(0x1d7)](){const _0xe7934a=_0x48fd30;return _0xe7934a(0x1ba);}static get[_0x48fd30(0x1d6)](){return!0x0;}static get[_0x48fd30(0x210)](){return!0x0;}constructor(_0x223709){const _0x29ead5=_0x48fd30;super(_0x223709);const _0x37e3ba=_0x223709[_0x29ead5(0x209)],_0xb2f13f=_0x223709[_0x29ead5(0x1ff)];_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x201),!0x0),_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x205),getDefaultAICommands(_0xb2f13f)),_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x1e3),[]),_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x1d8),[]);let _0x4b39bf=_0x17a39b(_0x37e3ba[_0x29ead5(0x1fc)](_0x29ead5(0x205)),_0xb2f13f);const _0x16afb1=_0x37e3ba[_0x29ead5(0x1fc)](_0x29ead5(0x1e3)),_0x17d78b=_0x37e3ba[_0x29ead5(0x1fc)](_0x29ead5(0x1d8));_0x16afb1[_0x29ead5(0x1d3)](_0x36eb54=>{const _0x533881=_0x29ead5,_0x58d4fd=_0x4b39bf[_0x533881(0x1f0)](_0x16dcf7=>_0x16dcf7[_0x533881(0x1cd)]===_0x36eb54[_0x533881(0x1cd)]);_0x58d4fd?_0x58d4fd[_0x533881(0x1be)]=_0x58d4fd[_0x533881(0x1be)][_0x533881(0x1c1)](_0x36eb54[_0x533881(0x1be)]):_0x4b39bf[_0x533881(0x20c)](_0x36eb54);}),_0x4b39bf=_0x4b39bf[_0x29ead5(0x1e5)](_0x2d5b74=>!_0x17d78b[_0x29ead5(0x1cf)](_0x2d5b74[_0x29ead5(0x1cd)])),_0x4b39bf[_0x29ead5(0x1d3)](_0x5b8235=>{const _0x3e95ab=_0x29ead5;_0x5b8235[_0x3e95ab(0x1be)]=_0x5b8235[_0x3e95ab(0x1be)][_0x3e95ab(0x1e5)](_0x3edd69=>!_0x17d78b[_0x3e95ab(0x1cf)](_0x3edd69['id']));}),_0x37e3ba[_0x29ead5(0x215)](_0x29ead5(0x205),_0x4b39bf);}}export function getDefaultAICommands(_0xd89c98){const _0x17508d=_0x48fd30;return[{'groupId':_0x17508d(0x1d0),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1fd)),'commands':[{'id':_0x17508d(0x212),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1c0)),'prompt':_0x17508d(0x226)},{'id':_0x17508d(0x1d4),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x207)),'prompt':_0x17508d(0x227)},{'id':_0x17508d(0x221),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1df)),'prompt':_0x17508d(0x223)},{'id':_0x17508d(0x1e6),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1dd)),'prompt':_0x17508d(0x204)}]},{'groupId':_0x17508d(0x1f5),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1fa)),'commands':[{'id':_0x17508d(0x216),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1d1)),'prompt':_0x17508d(0x1c4)},{'id':_0x17508d(0x217),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x202)),'prompt':_0x17508d(0x1db)}]},{'groupId':_0x17508d(0x1c8),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1ee)),'commands':[{'id':_0x17508d(0x1e9),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1e1)),'prompt':_0x17508d(0x1f6)},{'id':_0x17508d(0x206),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1de)),'prompt':_0x17508d(0x1f3)},{'id':_0x17508d(0x20f),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f1)),'prompt':_0x17508d(0x1ef)},{'id':_0x17508d(0x1cc),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f8)),'prompt':_0x17508d(0x1c9)},{'id':_0x17508d(0x21f),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1c7)),'prompt':_0x17508d(0x20d)}]},{'groupId':_0x17508d(0x1e2),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1fb)),'commands':[{'id':_0x17508d(0x222),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x20e)),'prompt':_0x17508d(0x218)},{'id':_0x17508d(0x1bc),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x21a)),'prompt':_0x17508d(0x1bf)},{'id':_0x17508d(0x203),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x20a)),'prompt':_0x17508d(0x1e7)},{'id':_0x17508d(0x21e),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1e4)),'prompt':_0x17508d(0x1c2)}]},{'groupId':_0x17508d(0x1bb),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x208)),'commands':[{'id':_0x17508d(0x1c5),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1eb)),'prompt':_0x17508d(0x1da)},{'id':_0x17508d(0x200),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1b8)),'prompt':_0x17508d(0x1d5)},{'id':_0x17508d(0x211),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1ca)),'prompt':_0x17508d(0x1c3)},{'id':_0x17508d(0x1d2),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x225)),'prompt':_0x17508d(0x1dc)},{'id':_0x17508d(0x1e0),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f7)),'prompt':_0x17508d(0x20b)},{'id':_0x17508d(0x1c6),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x21b)),'prompt':_0x17508d(0x220)},{'id':_0x17508d(0x1d9),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1ed)),'prompt':_0x17508d(0x1ec)},{'id':_0x17508d(0x1bd),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f9)),'prompt':_0x17508d(0x1f2)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x196288=_0xa9ff;(function(_0xd97bf9,_0x1563ff){const _0x19562f=_0xa9ff,_0x59062f=_0xd97bf9();while(!![]){try{const _0x25c31f=parseInt(_0x19562f(0x19c))/0x1+-parseInt(_0x19562f(0x1d4))/0x2+-parseInt(_0x19562f(0x1aa))/0x3*(parseInt(_0x19562f(0x1a8))/0x4)+-parseInt(_0x19562f(0x196))/0x5*(-parseInt(_0x19562f(0x1ca))/0x6)+parseInt(_0x19562f(0x1fc))/0x7+-parseInt(_0x19562f(0x1fe))/0x8+parseInt(_0x19562f(0x1f2))/0x9;if(_0x25c31f===_0x1563ff)break;else _0x59062f['push'](_0x59062f['shift']());}catch(_0x43edb2){_0x59062f['push'](_0x59062f['shift']());}}}(_0x40f0,0x25a80));function _0xa9ff(_0x34069c,_0x48ce9e){const _0x40f023=_0x40f0();return _0xa9ff=function(_0xa9ff07,_0x1e1540){_0xa9ff07=_0xa9ff07-0x196;let _0xe7b36=_0x40f023[_0xa9ff07];return _0xe7b36;},_0xa9ff(_0x34069c,_0x48ce9e);}import{uid as _0x66e2ea}from'ckeditor5/src/utils.js';function _0x40f0(){const _0x1edb10=['getRanges','setData','for','selection','fire','editing','getFirstRange','markerToElement','once','_prepareTableInsertBelowPosition','createRange','forEach','deleteContent','removeMarker','markerToHighlight','updateMarker','_pasteHTMLUsingClipboard','addClass','canEditAt','insertContentBelow','editor','from','createUIElement','createPositionAfter','getSelectedTableCells','getMarkersGroup','createSelection','isCollapsed','getLastMatchingPosition','312QLZyjf','map','TableUtils','getSelectedBlocks','ai.assistant.useTheme','createPositionAt','text/html','getChild','init','push','349920kQtPTf','markerRange','getRowIndexes','data','insertRows','_createEmptyTableRows','_resetContentOfSelectedTableCells','getChildren','findAncestor','join','schema','fromCharCode','config','isAtEnd','getRows','_getDefaultInsertBelowPosition','getColumnIndexes','showFakeVisualSelection','_getAISelection','ck-ai-assistant-ui_theme','change','editingDowncast','href','end','table','getLastPosition','first','model','isPremiumPlugin','_getTableRowCountFromContent','2066427fERjsF','ck-fake-ai-selection','start','paste','pop','has','hideFakeVisualSelection','markers','isContent','setSelection','357406QekSiw','parse','866080uUfoJJ','lowest','insertContent','afterInit','span','10405HGZRXx','contentInsertion','AIAssistantEditing','addMarker','element','getRange','265380oFRuqo','filter','off','document','ai-ui','length','ck-fake-ai-selection_collapsed','get','DataTransfer','isOfficialPlugin','plugins','conversion','867172SlOiro','last','3YmJQeo','resultRange','pluginName'];_0x40f0=function(){return _0x1edb10;};return _0x40f0();}import{Plugin as _0x4c90b6}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4ad380}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3b1c03,ViewDataTransfer as _0x117034}from'ckeditor5/src/engine.js';const w=globalThis[_0x196288(0x1a4)],f=_0x196288(0x1a0);export class AIAssistantEditing extends _0x4c90b6{static get[_0x196288(0x1ac)](){const _0x4d40d5=_0x196288;return _0x4d40d5(0x198);}static get[_0x196288(0x1a5)](){return!0x0;}static get[_0x196288(0x1f0)](){return!0x0;}[_0x196288(0x1d2)](){const _0x3b7e26=_0x196288,{editor:_0x16495f}=this,_0x421602=[_0x3b7e26(0x1f3)];_0x16495f[_0x3b7e26(0x1e0)][_0x3b7e26(0x1a3)](_0x3b7e26(0x1ce))&&_0x421602[_0x3b7e26(0x1d3)](_0x3b7e26(0x1e7)),_0x16495f[_0x3b7e26(0x1a7)][_0x3b7e26(0x1af)](_0x3b7e26(0x1e9))[_0x3b7e26(0x1bb)]({'model':f,'view':{'classes':_0x421602,'priority':0xc}}),_0x16495f[_0x3b7e26(0x1a7)][_0x3b7e26(0x1af)](_0x3b7e26(0x1e9))[_0x3b7e26(0x1b4)]({'model':f,'view':(_0x48985d,{writer:_0x469a32})=>{const _0x5a6f59=_0x3b7e26;if(!_0x48985d[_0x5a6f59(0x1d5)][_0x5a6f59(0x1c8)])return null;const _0x3dc661=_0x469a32[_0x5a6f59(0x1c3)](_0x5a6f59(0x202));return _0x469a32[_0x5a6f59(0x1be)]([_0x5a6f59(0x1f3),_0x5a6f59(0x1a2)],_0x3dc661),_0x3dc661;}});}[_0x196288(0x201)](){!async function(_0x138690){const _0x432e98=_0x55582e([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]),_0x545d7f=0x3dffc4e1,_0x50d7de=0x3df8b371^_0x545d7f,_0x39f266=window[_0x55582e([0x44,0x61,0x74,0x65])][_0x55582e([0x6e,0x6f,0x77])](),_0x5cff71=_0x138690[_0x55582e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xec6c1e=new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35af93=>{_0x5cff71[_0x55582e([0x6f,0x6e,0x63,0x65])](_0x55582e([0x72,0x65,0x61,0x64,0x79]),_0x35af93);}),_0x204ef2={[_0x55582e([0x6b,0x74,0x79])]:_0x55582e([0x45,0x43]),[_0x55582e([0x75,0x73,0x65])]:_0x55582e([0x73,0x69,0x67]),[_0x55582e([0x63,0x72,0x76])]:_0x55582e([0x50,0x2d,0x32,0x35,0x36]),[_0x55582e([0x78])]:_0x55582e([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]),[_0x55582e([0x79])]:_0x55582e([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]),[_0x55582e([0x61,0x6c,0x67])]:_0x55582e([0x45,0x53,0x32,0x35,0x36])},_0x53b50a=_0x5cff71[_0x55582e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55582e([0x67,0x65,0x74])](_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x285305(){let _0x49e16c,_0x5ba526=null,_0x772323=null;try{if(_0x53b50a==_0x55582e([0x47,0x50,0x4c]))return _0x55582e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49e16c=_0x1b26ab(),!_0x49e16c)return _0x55582e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49e16c[_0x55582e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x772323=_0x22b97f(_0x49e16c[_0x55582e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49e16c[_0x55582e([0x6a,0x74,0x69])])),await _0x4b9121()?_0x3e0049()?_0x4c8755()?_0x55582e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x583eff()?(_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55582e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ba526=_0x50b6d5(_0x55582e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55582e([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ba526=_0x50b6d5(_0x55582e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d482b()):_0x55582e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55582e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55582e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55582e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c8755(){const _0x531de4=[_0x55582e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55582e([0x74,0x72,0x69,0x61,0x6c])][_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39f266/0x3e8:0xe10*_0x50d7de;return _0x49e16c[_0x55582e([0x65,0x78,0x70])]<_0x531de4;}function _0x3e0049(){const _0x1fb911=_0x49e16c[_0x55582e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fb911&&(!!_0x1fb911[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55582e([0x2a]))||!!_0x1fb911[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55582e([0x41,0x49])));}function _0x583eff(){const _0x3dd6e0=_0xa9ff,_0x379445=_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x379445||0x0==_0x379445[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4dfc5e}=new URL(window[_0x55582e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3dd6e0(0x1ea)]);if(_0x379445[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dfc5e))return!0x0;const _0x22a15f=_0x4dfc5e[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e]));return _0x379445[_0x55582e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38da10=>_0x38da10[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55582e([0x2a])))[_0x55582e([0x6d,0x61,0x70])](_0x44cbe5=>_0x44cbe5[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e])))[_0x55582e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c7438=>_0x1c7438[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22a15f[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55582e([0x6d,0x61,0x70])](_0x41da67=>Array(_0x22a15f[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41da67[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55582e([0x66,0x69,0x6c,0x6c])](_0x41da67[0x0]===_0x55582e([0x2a])?_0x55582e([0x2a]):'')[_0x55582e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41da67))[_0x55582e([0x73,0x6f,0x6d,0x65])](_0x5047c2=>_0x22a15f[_0x55582e([0x65,0x76,0x65,0x72,0x79])]((_0xce5fe,_0x77b268)=>_0x5047c2[_0x77b268]===_0xce5fe||_0x5047c2[_0x77b268]===_0x55582e([0x2a])));}function _0x2d482b(){return _0x5ba526&&_0x772323?new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd72720,_0x259c07)=>{_0x5ba526[_0x55582e([0x74,0x68,0x65,0x6e])](_0xd72720,_0x259c07),_0x772323[_0x55582e([0x74,0x68,0x65,0x6e])](_0x2c841a=>{_0x2c841a!=_0x55582e([0x56,0x61,0x6c,0x69,0x64])&&_0xd72720(_0x2c841a);},_0x259c07);}):_0x5ba526||_0x772323||_0x55582e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22b97f(_0x292223,_0x511c6d){return new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c0ed3=>{if(_0x340bcd())return _0x4c0ed3(_0x55582e([0x56,0x61,0x6c,0x69,0x64]));_0x3544c5(),_0x5cff71[_0x55582e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55582e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x526ba9=!0x1;const _0x4e98b4=_0x66e2ea();function _0x13bbe9(_0x498df9){return!!_0x498df9&&(typeof _0x498df9===_0x55582e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x498df9===_0x55582e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x498df9[_0x55582e([0x74,0x68,0x65,0x6e])]===_0x55582e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x498df9[_0x55582e([0x63,0x61,0x74,0x63,0x68])]===_0x55582e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x384c8e(_0x470795){_0x5bb18b(_0x470795)[_0x55582e([0x74,0x68,0x65,0x6e])](_0x12db87=>{if(!_0x12db87||_0x12db87[_0x55582e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55582e([0x6f,0x6b]))return _0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20964a(_0x4213ba(_0x4e98b4+_0x511c6d))!=_0x12db87[_0x55582e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55582e([0x56,0x61,0x6c,0x69,0x64]);})[_0x55582e([0x74,0x68,0x65,0x6e])](_0x205ff5=>(_0x1510d7(),_0x205ff5),()=>{const _0x3781d3=_0x3b613c();return null==_0x3781d3?(_0x1510d7(),_0x55582e([0x56,0x61,0x6c,0x69,0x64])):_0x55582e(_0x39f266-_0x3781d3>(0x19f340e1^_0x545d7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55582e([0x74,0x68,0x65,0x6e])](_0x4c0ed3)[_0x55582e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c0ed3(_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14342b=0x3dc92a61^_0x545d7f;function _0x1510d7(){const _0x38feda=_0x55582e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20964a(_0x4213ba(_0x292223)),_0x5c1ca0=_0x44553e(_0x20964a(window[_0x55582e([0x4d,0x61,0x74,0x68])][_0x55582e([0x63,0x65,0x69,0x6c])](_0x39f266/_0x14342b)));window[_0x55582e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55582e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38feda,_0x5c1ca0);}function _0x3b613c(){const _0x53ec6a=_0x55582e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20964a(_0x4213ba(_0x292223)),_0x44c220=window[_0x55582e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55582e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53ec6a);return _0x44c220?window[_0x55582e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44553e(_0x44c220),0x10)*_0x14342b:null;}function _0x5bb18b(_0x41e80d){return new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5314c7,_0x540d94)=>{_0x41e80d[_0x55582e([0x74,0x68,0x65,0x6e])](_0x5314c7,_0x540d94),window[_0x55582e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x540d94,0x3dfe1021^_0x545d7f);});}}_0x5cff71[_0x55582e([0x6f,0x6e])](_0x55582e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4af658,_0x444406)=>{if(_0x444406[0x0]!=_0x292223)return _0x4c0ed3(_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x444406[0x1]={..._0x444406[0x1],[_0x55582e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e98b4};},{[_0x55582e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55582e([0x68,0x69,0x67,0x68])}),_0x5cff71[_0x55582e([0x6f,0x6e])](_0x55582e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a9859=>{_0x13bbe9(_0x5a9859[_0x55582e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x526ba9=!0x0,_0x384c8e(_0x5a9859[_0x55582e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55582e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55582e([0x6c,0x6f,0x77])}),_0xec6c1e[_0x55582e([0x74,0x68,0x65,0x6e])](()=>{_0x526ba9||_0x4c0ed3(_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x340bcd(){return _0x5cff71[_0x55582e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55582e([0x76,0x69,0x65,0x77])][_0x55582e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55582e([0x61,0x75,0x74,0x6f]);}function _0x3544c5(){_0x5cff71[_0x55582e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55582e([0x76,0x69,0x65,0x77])][_0x55582e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55582e([0x61,0x75,0x74,0x6f]);}}function _0x50b6d5(_0x5b4b53){const _0x5d4d17=[new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43e033=>setTimeout(_0x43e033,0x3df6fa2d^_0x545d7f)),_0xec6c1e[_0x55582e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cc156=>{let _0x4dc658=0x0;_0x5cff71[_0x55582e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55582e([0x6f,0x6e])](_0x55582e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148e5b,_0x5a57c6)=>{_0x5a57c6[0x0][_0x55582e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4dc658++,_0x4dc658==(0x3dffc519^_0x545d7f)&&(_0x2cc156(),_0x148e5b[_0x55582e([0x6f,0x66,0x66])]());});}))];return window[_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55582e([0x72,0x61,0x63,0x65])](_0x5d4d17)[_0x55582e([0x74,0x68,0x65,0x6e])](()=>_0x5b4b53);}async function _0x209453(){await _0xec6c1e,_0x5cff71[_0x55582e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55582e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5282bf,_0x5cff71[_0x55582e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55582e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5282bf,_0x5cff71[_0x55582e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55582e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19b21e(_0x426228){const _0x18d974=_0xc48556();_0x5cff71[_0x18d974]=_0x55582e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x426228,_0x426228!=_0x55582e([0x56,0x61,0x6c,0x69,0x64])&&_0x209453();}function _0xc48556(){const _0x24be34=window[_0x55582e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55582e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55582e([0x6e,0x6f,0x77])]())[_0x55582e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55582e([0x2e]),'');let _0xb519fa=_0x55582e([0x6e]);for(let _0x237ae9=0x0;_0x237ae9<_0x24be34[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x237ae9+=0x2){let _0x2d82e4=window[_0x55582e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24be34[_0x55582e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x237ae9,_0x237ae9+0x2));_0x2d82e4>=_0x432e98[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d82e4-=_0x432e98[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb519fa+=_0x432e98[_0x2d82e4];}return _0xb519fa;}function _0x1b26ab(){const _0x2e8cd6=_0x53b50a[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e]));if(0x3!=_0x2e8cd6[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x464fd2(_0x2e8cd6[0x1]);function _0x464fd2(_0x3b26e9){const _0x3b7fca=_0x4217de(_0x3b26e9);return _0x3b7fca&&_0x1fcc3f()?_0x3b7fca:null;function _0x1fcc3f(){const _0x23d19e=_0x3b7fca[_0x55582e([0x6a,0x74,0x69])],_0x33a818=window[_0x55582e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23d19e[_0x55582e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23d19e[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a65da={..._0x3b7fca,[_0x55582e([0x6a,0x74,0x69])]:_0x23d19e[_0x55582e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23d19e[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a65da[_0x55582e([0x76,0x63])],_0x4213ba(_0x4a65da)==_0x33a818;}}}async function _0x4b9121(){let _0x6a1d28=!0x0;try{const _0x587eaa=_0x53b50a[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e])),[_0x2833ce,_0x58161b,_0x52309d]=_0x587eaa;return _0x1733a0(_0x2833ce),await _0x7d1377(_0x2833ce,_0x58161b,_0x52309d),_0x6a1d28;}catch{return!0x1;}function _0x1733a0(_0x18b2f0){const _0x4dfce7=_0x4217de(_0x18b2f0);_0x4dfce7&&_0x4dfce7[_0x55582e([0x61,0x6c,0x67])]==_0x55582e([0x45,0x53,0x32,0x35,0x36])||(_0x6a1d28=!0x1);}async function _0x7d1377(_0x4fe3b9,_0x2369a4,_0x122e73){const _0xa3564=window[_0x55582e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55582e([0x66,0x72,0x6f,0x6d])](_0x4ba348(_0x122e73),_0xfd5d7e=>_0xfd5d7e[_0x55582e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x82821f=new window[(_0x55582e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55582e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fe3b9+_0x55582e([0x2e])+_0x2369a4),_0x392892=window[_0x55582e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55582e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x392892)return;const _0x1f30b8=await _0x392892[_0x55582e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55582e([0x6a,0x77,0x6b]),_0x204ef2,{[_0x55582e([0x6e,0x61,0x6d,0x65])]:_0x55582e([0x45,0x43,0x44,0x53,0x41]),[_0x55582e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55582e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55582e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x392892[_0x55582e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55582e([0x6e,0x61,0x6d,0x65])]:_0x55582e([0x45,0x43,0x44,0x53,0x41]),[_0x55582e([0x68,0x61,0x73,0x68])]:{[_0x55582e([0x6e,0x61,0x6d,0x65])]:_0x55582e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f30b8,_0xa3564,_0x82821f)||(_0x6a1d28=!0x1);}}function _0x4217de(_0x5e2d9f){return _0x5e2d9f[_0x55582e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55582e([0x65,0x79]))?JSON[_0x55582e([0x70,0x61,0x72,0x73,0x65])](_0x4ba348(_0x5e2d9f)):null;}function _0x4ba348(_0x1df146){return window[_0x55582e([0x61,0x74,0x6f,0x62])](_0x1df146[_0x55582e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55582e([0x2b]))[_0x55582e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55582e([0x2f])));}function _0x4213ba(_0xe8fb11){let _0x11bf65=0x1505;function _0x238e72(_0x860b2a){for(let _0x5da1cc=0x0;_0x5da1cc<_0x860b2a[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5da1cc++){const _0x23add0=_0x860b2a[_0x55582e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5da1cc);_0x11bf65=(_0x11bf65<<0x5)+_0x11bf65+_0x23add0,_0x11bf65&=_0x11bf65;}}function _0x1842ed(_0x52e06a){Array[_0x55582e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52e06a)?_0x52e06a[_0x55582e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1842ed):_0x52e06a&&typeof _0x52e06a==_0x55582e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55582e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52e06a)[_0x55582e([0x73,0x6f,0x72,0x74])]()[_0x55582e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5592ef,_0x4e4221])=>{_0x238e72(_0x5592ef),_0x1842ed(_0x4e4221);}):_0x238e72(window[_0x55582e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52e06a));}return _0x1842ed(_0xe8fb11),_0x11bf65>>>0x0;}function _0x20964a(_0x4cf193){return _0x4cf193[_0x55582e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55582e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55582e([0x30]));}function _0x44553e(_0xfec2af){return _0xfec2af[_0x55582e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55582e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55582e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5282bf(){}function _0x55582e(_0x2f4133){const _0x524479=_0xa9ff;return _0x2f4133[_0x524479(0x1cb)](_0x465e54=>String[_0x524479(0x1df)](_0x465e54))[_0x524479(0x1dd)]('');}_0x19b21e(await _0x285305());}(this);}[_0x196288(0x1e5)](){const _0x259625=_0x196288,_0x156c30=this[_0x259625(0x1c1)][_0x259625(0x1ef)];_0x156c30[_0x259625(0x1e8)](_0x23d3e4=>{const _0x55b677=_0x259625,_0x2beae3=_0x156c30[_0x55b677(0x19f)][_0x55b677(0x1b0)][_0x55b677(0x1ad)]();let _0x13b208=0x0;for(const _0x466d30 of _0x2beae3){const _0x32bd66=f+':'+_0x13b208;if(_0x156c30[_0x55b677(0x1f9)][_0x55b677(0x1f7)](_0x32bd66))_0x23d3e4[_0x55b677(0x1bc)](_0x32bd66,{'range':_0x466d30});else{if(_0x466d30[_0x55b677(0x1f4)][_0x55b677(0x1e1)]){const _0x579cf2=_0x466d30[_0x55b677(0x1f4)][_0x55b677(0x1c9)](({item:_0x1162f2})=>!_0x156c30[_0x55b677(0x1de)][_0x55b677(0x1fa)](_0x1162f2),{'boundaries':_0x466d30});_0x23d3e4[_0x55b677(0x199)](_0x32bd66,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23d3e4[_0x55b677(0x1b7)](_0x579cf2,_0x466d30[_0x55b677(0x1eb)])});}else _0x23d3e4[_0x55b677(0x199)](_0x32bd66,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x466d30});}_0x13b208++;}});}[_0x196288(0x1f8)](){const _0x1494bf=_0x196288,_0x3d9a5a=this[_0x1494bf(0x1c1)][_0x1494bf(0x1ef)],_0x2fdf20=Array[_0x1494bf(0x1c2)](this[_0x1494bf(0x1c1)][_0x1494bf(0x1ef)][_0x1494bf(0x1f9)][_0x1494bf(0x1c6)](f));_0x2fdf20[_0x1494bf(0x1a1)]&&_0x3d9a5a[_0x1494bf(0x1e8)](_0x128619=>{const _0x2e84b3=_0x1494bf;_0x2fdf20[_0x2e84b3(0x1b8)](_0xc30360=>{const _0x183055=_0x2e84b3;_0x128619[_0x183055(0x1ba)](_0xc30360);});});}[_0x196288(0x200)](_0x2bb6e4,_0x4715b4){const _0x40663f=_0x196288,_0x3d7ce9=this[_0x40663f(0x1e6)](),_0x44a4f0=_0x4715b4||_0x3d7ce9[_0x40663f(0x1b3)]();this[_0x40663f(0x1c1)][_0x40663f(0x1ef)][_0x40663f(0x1bf)](_0x44a4f0)&&this[_0x40663f(0x1c1)][_0x40663f(0x1ef)][_0x40663f(0x1e8)](_0x40e913=>{const _0x3f22f1=_0x40663f;this[_0x3f22f1(0x1f8)](),_0x4715b4||this[_0x3f22f1(0x1da)](_0x40e913,_0x3d7ce9),this[_0x3f22f1(0x1bd)]({'insertAt':_0x44a4f0,'writer':_0x40e913,'html':_0x2bb6e4});});}[_0x196288(0x1c0)](_0x453039){const _0x29c54d=_0x196288,{model:_0x3fedb7}=this[_0x29c54d(0x1c1)],_0x2b1f58=this[_0x29c54d(0x1e6)]();_0x3fedb7[_0x29c54d(0x1e8)](()=>{const _0x26504f=_0x29c54d,_0x5d5a72=this[_0x26504f(0x1b6)](_0x453039,_0x2b1f58)||this[_0x26504f(0x1e3)](_0x2b1f58);this[_0x26504f(0x200)](_0x453039,_0x5d5a72);});}[_0x196288(0x1e6)](){const _0x1eae16=_0x196288,_0x215273=this[_0x1eae16(0x1c1)][_0x1eae16(0x1ef)],_0x19ef90=Array[_0x1eae16(0x1c2)](_0x215273[_0x1eae16(0x1f9)][_0x1eae16(0x1c6)](f))[_0x1eae16(0x1cb)](_0x26e05f=>_0x26e05f[_0x1eae16(0x19b)]());return _0x215273[_0x1eae16(0x1c7)](_0x19ef90);}[_0x196288(0x1bd)]({writer:_0x21a915,html:_0x15a203,insertAt:_0x2456ef}){const _0x3b1195=_0x196288,{view:_0x581158}=this[_0x3b1195(0x1c1)][_0x3b1195(0x1b2)],_0x5ea037=this[_0x3b1195(0x1c1)][_0x3b1195(0x1a6)][_0x3b1195(0x1a3)](_0x4ad380),_0x50abd3=new w();_0x50abd3[_0x3b1195(0x1ae)](_0x3b1195(0x1d0),_0x15a203);const _0x595714=new ClipboardEvent(_0x3b1195(0x1f5),{'clipboardData':_0x50abd3}),_0x4f50a7=new _0x3b1c03(_0x581158,_0x595714,{'dataTransfer':new _0x117034(_0x50abd3)});_0x21a915[_0x3b1195(0x1fb)](_0x2456ef);const _0x15800f=(_0x1e3b40,_0x4a0374)=>{const _0x114585=_0x3b1195;_0x4a0374[_0x114585(0x1ab)]&&_0x21a915[_0x114585(0x1fb)](_0x4a0374[_0x114585(0x1ab)]);};_0x5ea037[_0x3b1195(0x1b5)](_0x3b1195(0x197),_0x15800f,{'priority':_0x3b1195(0x1ff)}),_0x581158[_0x3b1195(0x19f)][_0x3b1195(0x1b1)](_0x3b1195(0x1f5),_0x4f50a7),_0x5ea037[_0x3b1195(0x19e)](_0x3b1195(0x197),_0x15800f);}[_0x196288(0x1e3)](_0x492912){const _0x40fd67=_0x196288,{model:_0x731cb0}=this[_0x40fd67(0x1c1)],_0x106d75=Array[_0x40fd67(0x1c2)](_0x492912[_0x40fd67(0x1cd)]());return _0x106d75[_0x40fd67(0x1a1)]?_0x731cb0[_0x40fd67(0x1c4)](_0x106d75[_0x40fd67(0x1f6)]()):_0x492912[_0x40fd67(0x1ed)]();}[_0x196288(0x1b6)](_0x22c39d,_0x21a97f){const _0x5aa983=_0x196288,{model:_0x2eac14,plugins:_0x40855c}=this[_0x5aa983(0x1c1)];if(_0x40855c[_0x5aa983(0x1f7)](_0x5aa983(0x1cc))){const _0xd2afbe=_0x40855c[_0x5aa983(0x1a3)](_0x5aa983(0x1cc))[_0x5aa983(0x1c5)](_0x21a97f);if(_0xd2afbe[_0x5aa983(0x1a1)]){const _0xf9a64c=this[_0x5aa983(0x1f1)](_0x22c39d),_0x1b1e15=this[_0x5aa983(0x1d9)](_0xd2afbe,_0xf9a64c);return _0x2eac14[_0x5aa983(0x1cf)](_0x1b1e15,0x0);}}return null;}[_0x196288(0x1f1)](_0x1ac8e4){const _0x1806a=_0x196288,_0x20f5f6=this[_0x1806a(0x1c1)][_0x1806a(0x1a6)][_0x1806a(0x1a3)](_0x1806a(0x1cc)),_0xefc8b6=this[_0x1806a(0x1c1)][_0x1806a(0x1d7)][_0x1806a(0x1fd)](_0x1ac8e4),_0x2930ef=Array[_0x1806a(0x1c2)](_0xefc8b6[_0x1806a(0x1db)]())[_0x1806a(0x19d)](_0x16e608=>_0x16e608['is'](_0x1806a(0x19a),_0x1806a(0x1ec)));let _0x27cdfd=0x0;return _0x2930ef[_0x1806a(0x1b8)](_0x41b71d=>{const _0x57831a=_0x1806a;_0x27cdfd+=_0x20f5f6[_0x57831a(0x1e2)](_0x41b71d);}),_0x27cdfd;}[_0x196288(0x1d9)](_0x2e680b,_0x2b7e84){const _0x1d3610=_0x196288,_0x23b648=this[_0x1d3610(0x1c1)][_0x1d3610(0x1a6)][_0x1d3610(0x1a3)](_0x1d3610(0x1cc)),_0x43e0da=_0x23b648[_0x1d3610(0x1d6)](_0x2e680b),_0x4abe49=_0x23b648[_0x1d3610(0x1e4)](_0x2e680b),_0x21c924=_0x43e0da[_0x1d3610(0x1a9)]+0x1,_0xe29028=_0x4abe49[_0x1d3610(0x1ee)],_0x2a5e0e=_0x2e680b[0x0][_0x1d3610(0x1dc)](_0x1d3610(0x1ec));for(let _0x3daf90=0x0;_0x3daf90<_0x2b7e84;_0x3daf90++)_0x23b648[_0x1d3610(0x1d8)](_0x2a5e0e,{'at':_0x21c924});return _0x2a5e0e[_0x1d3610(0x1d1)](_0x21c924)[_0x1d3610(0x1d1)](_0xe29028);}[_0x196288(0x1da)](_0x201eac,_0x39bcdd){const _0x1abf8d=_0x196288,{plugins:_0x1483a4}=this[_0x1abf8d(0x1c1)],{model:_0x3ebd2b}=_0x201eac;if(!_0x1483a4[_0x1abf8d(0x1f7)](_0x1abf8d(0x1cc)))return;_0x1483a4[_0x1abf8d(0x1a3)](_0x1abf8d(0x1cc))[_0x1abf8d(0x1c5)](_0x39bcdd)[_0x1abf8d(0x1a1)]&&_0x3ebd2b[_0x1abf8d(0x1b9)](_0x39bcdd);}}
|
|
23
|
+
const _0x3bccf7=_0x4a71;(function(_0x22e5cf,_0x517350){const _0x118d94=_0x4a71,_0x120794=_0x22e5cf();while(!![]){try{const _0x275873=-parseInt(_0x118d94(0x228))/0x1+parseInt(_0x118d94(0x1f0))/0x2+-parseInt(_0x118d94(0x22a))/0x3*(-parseInt(_0x118d94(0x238))/0x4)+parseInt(_0x118d94(0x213))/0x5+parseInt(_0x118d94(0x1e5))/0x6+parseInt(_0x118d94(0x1fa))/0x7*(-parseInt(_0x118d94(0x223))/0x8)+parseInt(_0x118d94(0x1e2))/0x9;if(_0x275873===_0x517350)break;else _0x120794['push'](_0x120794['shift']());}catch(_0x6933e3){_0x120794['push'](_0x120794['shift']());}}}(_0x4b9c,0x7aa99));import{uid as _0x56f711}from'ckeditor5/src/utils.js';import{Plugin as _0x3d4183}from'ckeditor5/src/core.js';function _0x4b9c(){const _0x24691a=['addClass','markerRange','off','end','insertRows','schema','last','getRowIndexes','_pasteHTMLUsingClipboard','isOfficialPlugin','plugins','getLastMatchingPosition','insertContent','markers','ai.assistant.useTheme','getFirstRange','contentInsertion','getSelectedBlocks','537345HambwU','getMarkersGroup','TableUtils','1307532QMwdNP','fromCharCode','_getDefaultInsertBelowPosition','has','getRanges','_getAISelection','getRows','createPositionAfter','pluginName','model','addMarker','1695156nLoUgr','deleteContent','span','getChildren','filter','DataTransfer','findAncestor','paste','ck-ai-assistant-ui_theme','createPositionAt','2323461GlxfIc','first','showFakeVisualSelection','start','afterInit','removeMarker','ai-ui','map','join','config','canEditAt','from','isAtEnd','change','getLastPosition','setSelection','for','_resetContentOfSelectedTableCells','push','forEach','conversion','_getTableRowCountFromContent','text/html','createUIElement','get','574725cATnlP','isPremiumPlugin','fire','document','isContent','ck-fake-ai-selection_collapsed','parse','setData','getSelectedTableCells','editing','table','init','hideFakeVisualSelection','ck-fake-ai-selection','length','createSelection','24UAtZji','editingDowncast','resultRange','createRange','once','73392VILqvf','markerToElement','142044lKwhDp','editor','insertContentBelow','_createEmptyTableRows','pop','getChild','getColumnIndexes','updateMarker','data','isCollapsed','AIAssistantEditing','lowest','element','selection','28TqbxbA','_prepareTableInsertBelowPosition','getRange','markerToHighlight','href'];_0x4b9c=function(){return _0x24691a;};return _0x4b9c();}import{ClipboardPipeline as _0x4fc660}from'ckeditor5/src/clipboard.js';function _0x4a71(_0xb02d6f,_0xe8e151){const _0x4b9cae=_0x4b9c();return _0x4a71=function(_0x4a711e,_0x27bd11){_0x4a711e=_0x4a711e-0x1e2;let _0x22d4b3=_0x4b9cae[_0x4a711e];return _0x22d4b3;},_0x4a71(_0xb02d6f,_0xe8e151);}import{ViewDocumentDomEventData as _0x22fe80,ViewDataTransfer as _0x30fc3c}from'ckeditor5/src/engine.js';const Ft=globalThis[_0x3bccf7(0x1f5)],Vt=_0x3bccf7(0x200);export class AIAssistantEditing extends _0x3d4183{static get[_0x3bccf7(0x1ed)](){const _0x5be944=_0x3bccf7;return _0x5be944(0x234);}static get[_0x3bccf7(0x246)](){return!0x0;}static get[_0x3bccf7(0x214)](){return!0x0;}[_0x3bccf7(0x21e)](){const _0x2185bb=_0x3bccf7,{editor:_0x53f893}=this,_0x19c7bb=[_0x2185bb(0x220)];_0x53f893[_0x2185bb(0x203)][_0x2185bb(0x212)](_0x2185bb(0x24b))&&_0x19c7bb[_0x2185bb(0x20c)](_0x2185bb(0x1f8)),_0x53f893[_0x2185bb(0x20e)][_0x2185bb(0x20a)](_0x2185bb(0x224))[_0x2185bb(0x23b)]({'model':Vt,'view':{'classes':_0x19c7bb,'priority':0xc}}),_0x53f893[_0x2185bb(0x20e)][_0x2185bb(0x20a)](_0x2185bb(0x224))[_0x2185bb(0x229)]({'model':Vt,'view':(_0x416f50,{writer:_0x44c774})=>{const _0x1e1d39=_0x2185bb;if(!_0x416f50[_0x1e1d39(0x23e)][_0x1e1d39(0x233)])return null;const _0x33c49d=_0x44c774[_0x1e1d39(0x211)](_0x1e1d39(0x1f2));return _0x44c774[_0x1e1d39(0x23d)]([_0x1e1d39(0x220),_0x1e1d39(0x218)],_0x33c49d),_0x33c49d;}});}[_0x3bccf7(0x1fe)](){!async function(_0xe09f14){const _0x16ed24=_0xe32ab([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]),_0x2fa9a9=0x3dffc4e1,_0x24cac6=0x3df8b321^_0x2fa9a9,_0x528ab6=window[_0xe32ab([0x44,0x61,0x74,0x65])][_0xe32ab([0x6e,0x6f,0x77])](),_0x22037f=_0xe09f14[_0xe32ab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x119ab9=new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ceaab=>{_0x22037f[_0xe32ab([0x6f,0x6e,0x63,0x65])](_0xe32ab([0x72,0x65,0x61,0x64,0x79]),_0x5ceaab);}),_0xe1e4b9={[_0xe32ab([0x6b,0x74,0x79])]:_0xe32ab([0x45,0x43]),[_0xe32ab([0x75,0x73,0x65])]:_0xe32ab([0x73,0x69,0x67]),[_0xe32ab([0x63,0x72,0x76])]:_0xe32ab([0x50,0x2d,0x32,0x35,0x36]),[_0xe32ab([0x78])]:_0xe32ab([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]),[_0xe32ab([0x79])]:_0xe32ab([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]),[_0xe32ab([0x61,0x6c,0x67])]:_0xe32ab([0x45,0x53,0x32,0x35,0x36])},_0x5db1ef=_0x22037f[_0xe32ab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe32ab([0x67,0x65,0x74])](_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5398bd(){let _0x4a64a0,_0x43e29c=null,_0xb3374c=null;try{if(_0x5db1ef==_0xe32ab([0x47,0x50,0x4c]))return _0xe32ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a64a0=_0x283741(),!_0x4a64a0)return _0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a64a0[_0xe32ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb3374c=_0x41c3ba(_0x4a64a0[_0xe32ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a64a0[_0xe32ab([0x6a,0x74,0x69])])),await _0x3a25f7()?_0x5c79b1()?_0x198a85()?_0xe32ab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x358367()?(_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe32ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43e29c=_0x431353(_0xe32ab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe32ab([0x74,0x72,0x69,0x61,0x6c])&&(_0x43e29c=_0x431353(_0xe32ab([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13fd9c()):_0xe32ab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe32ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x198a85(){const _0x3d7eb7=[_0xe32ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe32ab([0x74,0x72,0x69,0x61,0x6c])][_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x528ab6/0x3e8:0xe10*_0x24cac6;return _0x4a64a0[_0xe32ab([0x65,0x78,0x70])]<_0x3d7eb7;}function _0x5c79b1(){const _0xf3b65d=_0x4a64a0[_0xe32ab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf3b65d&&(!!_0xf3b65d[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x2a]))||!!_0xf3b65d[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x41,0x49])));}function _0x358367(){const _0x5dd722=_0x4a71,_0x10a0a4=_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10a0a4||0x0==_0x10a0a4[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ebdba}=new URL(window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5dd722(0x23c)]);if(_0x10a0a4[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ebdba))return!0x0;const _0x191e9c=_0x4ebdba[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e]));return _0x10a0a4[_0xe32ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43f5cc=>_0x43f5cc[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x2a])))[_0xe32ab([0x6d,0x61,0x70])](_0x22b926=>_0x22b926[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e])))[_0xe32ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x355431=>_0x355431[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x191e9c[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe32ab([0x6d,0x61,0x70])](_0x4cc4fd=>Array(_0x191e9c[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4cc4fd[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe32ab([0x66,0x69,0x6c,0x6c])](_0x4cc4fd[0x0]===_0xe32ab([0x2a])?_0xe32ab([0x2a]):'')[_0xe32ab([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4cc4fd))[_0xe32ab([0x73,0x6f,0x6d,0x65])](_0x24720d=>_0x191e9c[_0xe32ab([0x65,0x76,0x65,0x72,0x79])]((_0x33cebe,_0x2d6d80)=>_0x24720d[_0x2d6d80]===_0x33cebe||_0x24720d[_0x2d6d80]===_0xe32ab([0x2a])));}function _0x13fd9c(){return _0x43e29c&&_0xb3374c?new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf18b6c,_0x41992c)=>{_0x43e29c[_0xe32ab([0x74,0x68,0x65,0x6e])](_0xf18b6c,_0x41992c),_0xb3374c[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x15be15=>{_0x15be15!=_0xe32ab([0x56,0x61,0x6c,0x69,0x64])&&_0xf18b6c(_0x15be15);},_0x41992c);}):_0x43e29c||_0xb3374c||_0xe32ab([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41c3ba(_0x4973e9,_0x549e29){return new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29750e=>{if(_0xd6c230())return _0x29750e(_0xe32ab([0x56,0x61,0x6c,0x69,0x64]));_0x5f27c4(),_0x22037f[_0xe32ab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfeeae5=!0x1;const _0x3e1b4f=_0x56f711();function _0x589532(_0x2af697){return!!_0x2af697&&(typeof _0x2af697===_0xe32ab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2af697===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2af697[_0xe32ab([0x74,0x68,0x65,0x6e])]===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2af697[_0xe32ab([0x63,0x61,0x74,0x63,0x68])]===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2deb13(_0x585c4a){_0xf7196c(_0x585c4a)[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x463efe=>{if(!_0x463efe||_0x463efe[_0xe32ab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe32ab([0x6f,0x6b]))return _0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c5d68(_0x352a7c(_0x3e1b4f+_0x549e29))!=_0x463efe[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe32ab([0x56,0x61,0x6c,0x69,0x64]);})[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x16ee38=>(_0x61e1e8(),_0x16ee38),()=>{const _0x716acd=_0x449d11();return null==_0x716acd?(_0x61e1e8(),_0xe32ab([0x56,0x61,0x6c,0x69,0x64])):_0xe32ab(_0x528ab6-_0x716acd>(0x19f340e1^_0x2fa9a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x29750e)[_0xe32ab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdd445d=0x3dc92a61^_0x2fa9a9;function _0x61e1e8(){const _0x4a26c7=_0xe32ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5d68(_0x352a7c(_0x4973e9)),_0x2de1d2=_0x39f21a(_0x1c5d68(window[_0xe32ab([0x4d,0x61,0x74,0x68])][_0xe32ab([0x63,0x65,0x69,0x6c])](_0x528ab6/_0xdd445d)));window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe32ab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a26c7,_0x2de1d2);}function _0x449d11(){const _0x406de9=_0xe32ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5d68(_0x352a7c(_0x4973e9)),_0x35551c=window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe32ab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x406de9);return _0x35551c?window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39f21a(_0x35551c),0x10)*_0xdd445d:null;}function _0xf7196c(_0x177986){return new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2aa7c7,_0x5d4ed2)=>{_0x177986[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x2aa7c7,_0x5d4ed2),window[_0xe32ab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d4ed2,0x3dfe1021^_0x2fa9a9);});}}_0x22037f[_0xe32ab([0x6f,0x6e])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24a169,_0x4b7b89)=>{if(_0x4b7b89[0x0]!=_0x4973e9)return _0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b7b89[0x1]={..._0x4b7b89[0x1],[_0xe32ab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e1b4f};},{[_0xe32ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe32ab([0x68,0x69,0x67,0x68])}),_0x22037f[_0xe32ab([0x6f,0x6e])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1588d3=>{_0x589532(_0x1588d3[_0xe32ab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfeeae5=!0x0,_0x2deb13(_0x1588d3[_0xe32ab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe32ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe32ab([0x6c,0x6f,0x77])}),_0x119ab9[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>{_0xfeeae5||_0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd6c230(){return _0x22037f[_0xe32ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe32ab([0x76,0x69,0x65,0x77])][_0xe32ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe32ab([0x61,0x75,0x74,0x6f]);}function _0x5f27c4(){_0x22037f[_0xe32ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe32ab([0x76,0x69,0x65,0x77])][_0xe32ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe32ab([0x61,0x75,0x74,0x6f]);}}function _0x431353(_0x394439){const _0x2c569c=[new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x865f6=>setTimeout(_0x865f6,0x3df6fa2d^_0x2fa9a9)),_0x119ab9[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fbb6e=>{let _0x58c2c6=0x0;_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x6f,0x6e])](_0xe32ab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c6d3a,_0x5c1ad8)=>{_0x5c1ad8[0x0][_0xe32ab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58c2c6++,_0x58c2c6==(0x3dffc519^_0x2fa9a9)&&(_0x7fbb6e(),_0x4c6d3a[_0xe32ab([0x6f,0x66,0x66])]());});}))];return window[_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe32ab([0x72,0x61,0x63,0x65])](_0x2c569c)[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>_0x394439);}async function _0x54f679(){await _0x119ab9,_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48d5d4,_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48d5d4,_0x22037f[_0xe32ab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb37a24(_0x2a6267){const _0x3ac107=_0x4ed8b2();_0x22037f[_0x3ac107]=_0xe32ab([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a6267,_0x2a6267!=_0xe32ab([0x56,0x61,0x6c,0x69,0x64])&&_0x54f679();}function _0x4ed8b2(){const _0x2485a9=window[_0xe32ab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe32ab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe32ab([0x6e,0x6f,0x77])]())[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe32ab([0x2e]),'');let _0x28a325=_0xe32ab([0x6e]);for(let _0x4496ef=0x0;_0x4496ef<_0x2485a9[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4496ef+=0x2){let _0x86690d=window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2485a9[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4496ef,_0x4496ef+0x2));_0x86690d>=_0x16ed24[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x86690d-=_0x16ed24[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28a325+=_0x16ed24[_0x86690d];}return _0x28a325;}function _0x283741(){const _0x40b35b=_0x5db1ef[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e]));if(0x3!=_0x40b35b[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4aae1a(_0x40b35b[0x1]);function _0x4aae1a(_0x141d0c){const _0x16f262=_0x20a07c(_0x141d0c);return _0x16f262&&_0x2c32db()?_0x16f262:null;function _0x2c32db(){const _0x3e93ba=_0x16f262[_0xe32ab([0x6a,0x74,0x69])],_0x3c7112=window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e93ba[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e93ba[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x700319={..._0x16f262,[_0xe32ab([0x6a,0x74,0x69])]:_0x3e93ba[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e93ba[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x700319[_0xe32ab([0x76,0x63])],_0x352a7c(_0x700319)==_0x3c7112;}}}async function _0x3a25f7(){let _0x399c4d=!0x0;try{const _0x55b5dc=_0x5db1ef[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e])),[_0xa5cce3,_0x122248,_0x3719e5]=_0x55b5dc;return _0x4948df(_0xa5cce3),await _0x35725a(_0xa5cce3,_0x122248,_0x3719e5),_0x399c4d;}catch{return!0x1;}function _0x4948df(_0xea3300){const _0x312c36=_0x20a07c(_0xea3300);_0x312c36&&_0x312c36[_0xe32ab([0x61,0x6c,0x67])]==_0xe32ab([0x45,0x53,0x32,0x35,0x36])||(_0x399c4d=!0x1);}async function _0x35725a(_0x5529ed,_0x214590,_0x146b24){const _0xad9a3b=window[_0xe32ab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe32ab([0x66,0x72,0x6f,0x6d])](_0x503af4(_0x146b24),_0x3e888c=>_0x3e888c[_0xe32ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x433928=new window[(_0xe32ab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe32ab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5529ed+_0xe32ab([0x2e])+_0x214590),_0x7bfc7=window[_0xe32ab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe32ab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7bfc7)return;const _0x572e28=await _0x7bfc7[_0xe32ab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe32ab([0x6a,0x77,0x6b]),_0xe1e4b9,{[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x45,0x43,0x44,0x53,0x41]),[_0xe32ab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe32ab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7bfc7[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x45,0x43,0x44,0x53,0x41]),[_0xe32ab([0x68,0x61,0x73,0x68])]:{[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x572e28,_0xad9a3b,_0x433928)||(_0x399c4d=!0x1);}}function _0x20a07c(_0x4b170d){return _0x4b170d[_0xe32ab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe32ab([0x65,0x79]))?JSON[_0xe32ab([0x70,0x61,0x72,0x73,0x65])](_0x503af4(_0x4b170d)):null;}function _0x503af4(_0xf625f9){return window[_0xe32ab([0x61,0x74,0x6f,0x62])](_0xf625f9[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe32ab([0x2b]))[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe32ab([0x2f])));}function _0x352a7c(_0x22deb1){let _0x10bac8=0x1505;function _0x4547fe(_0x21283e){for(let _0x3f4bfa=0x0;_0x3f4bfa<_0x21283e[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f4bfa++){const _0x397fae=_0x21283e[_0xe32ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f4bfa);_0x10bac8=(_0x10bac8<<0x5)+_0x10bac8+_0x397fae,_0x10bac8&=_0x10bac8;}}function _0x377b9d(_0x288bd7){Array[_0xe32ab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x288bd7)?_0x288bd7[_0xe32ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x377b9d):_0x288bd7&&typeof _0x288bd7==_0xe32ab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe32ab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x288bd7)[_0xe32ab([0x73,0x6f,0x72,0x74])]()[_0xe32ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fb65e,_0x3de37d])=>{_0x4547fe(_0x3fb65e),_0x377b9d(_0x3de37d);}):_0x4547fe(window[_0xe32ab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x288bd7));}return _0x377b9d(_0x22deb1),_0x10bac8>>>0x0;}function _0x1c5d68(_0x47337e){return _0x47337e[_0xe32ab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe32ab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe32ab([0x30]));}function _0x39f21a(_0x5adcec){return _0x5adcec[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe32ab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe32ab([0x6a,0x6f,0x69,0x6e])]('');}function _0x48d5d4(){}function _0xe32ab(_0x2fd837){const _0x36ce86=_0x4a71;return _0x2fd837[_0x36ce86(0x201)](_0x49fca9=>String[_0x36ce86(0x1e6)](_0x49fca9))[_0x36ce86(0x202)]('');}_0xb37a24(await _0x5398bd());}(this);}[_0x3bccf7(0x1fc)](){const _0x11ad4c=_0x3bccf7,_0xc37133=this[_0x11ad4c(0x22b)][_0x11ad4c(0x1ee)];_0xc37133[_0x11ad4c(0x207)](_0x20ac8c=>{const _0x481b3d=_0x11ad4c,_0x12eb89=_0xc37133[_0x481b3d(0x216)][_0x481b3d(0x237)][_0x481b3d(0x1e9)]();let _0x351fde=0x0;for(const _0x45ae08 of _0x12eb89){const _0x103ec4=Vt+':'+_0x351fde;if(_0xc37133[_0x481b3d(0x24a)][_0x481b3d(0x1e8)](_0x103ec4))_0x20ac8c[_0x481b3d(0x231)](_0x103ec4,{'range':_0x45ae08});else{if(_0x45ae08[_0x481b3d(0x1fd)][_0x481b3d(0x206)]){const _0x125ebe=_0x45ae08[_0x481b3d(0x1fd)][_0x481b3d(0x248)](({item:_0x536fe8})=>!_0xc37133[_0x481b3d(0x242)][_0x481b3d(0x217)](_0x536fe8),{'boundaries':_0x45ae08});_0x20ac8c[_0x481b3d(0x1ef)](_0x103ec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x20ac8c[_0x481b3d(0x226)](_0x125ebe,_0x45ae08[_0x481b3d(0x240)])});}else _0x20ac8c[_0x481b3d(0x1ef)](_0x103ec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45ae08});}_0x351fde++;}});}[_0x3bccf7(0x21f)](){const _0x1caa1c=_0x3bccf7,_0x7cc186=this[_0x1caa1c(0x22b)][_0x1caa1c(0x1ee)],_0x2710e3=Array[_0x1caa1c(0x205)](this[_0x1caa1c(0x22b)][_0x1caa1c(0x1ee)][_0x1caa1c(0x24a)][_0x1caa1c(0x1e3)](Vt));_0x2710e3[_0x1caa1c(0x221)]&&_0x7cc186[_0x1caa1c(0x207)](_0x31927b=>{const _0x148d27=_0x1caa1c;_0x2710e3[_0x148d27(0x20d)](_0x426c7e=>{const _0xf7b8a=_0x148d27;_0x31927b[_0xf7b8a(0x1ff)](_0x426c7e);});});}[_0x3bccf7(0x249)](_0x4d14e2,_0x50965d){const _0x2880d6=_0x3bccf7,_0x5694b9=this[_0x2880d6(0x1ea)](),_0x48fa14=_0x50965d||_0x5694b9[_0x2880d6(0x24c)]();this[_0x2880d6(0x22b)][_0x2880d6(0x1ee)][_0x2880d6(0x204)](_0x48fa14)&&this[_0x2880d6(0x22b)][_0x2880d6(0x1ee)][_0x2880d6(0x207)](_0x16a411=>{const _0x377707=_0x2880d6;this[_0x377707(0x21f)](),_0x50965d||this[_0x377707(0x20b)](_0x16a411,_0x5694b9),this[_0x377707(0x245)]({'insertAt':_0x48fa14,'writer':_0x16a411,'html':_0x4d14e2});});}[_0x3bccf7(0x22c)](_0x18aa2a){const _0x147523=_0x3bccf7,{model:_0x5596a2}=this[_0x147523(0x22b)],_0x421145=this[_0x147523(0x1ea)]();_0x5596a2[_0x147523(0x207)](()=>{const _0x2db944=_0x147523,_0xe184f2=this[_0x2db944(0x239)](_0x18aa2a,_0x421145)||this[_0x2db944(0x1e7)](_0x421145);this[_0x2db944(0x249)](_0x18aa2a,_0xe184f2);});}[_0x3bccf7(0x1ea)](){const _0x5461ac=_0x3bccf7,_0x2ae477=this[_0x5461ac(0x22b)][_0x5461ac(0x1ee)],_0x176a0b=Array[_0x5461ac(0x205)](_0x2ae477[_0x5461ac(0x24a)][_0x5461ac(0x1e3)](Vt))[_0x5461ac(0x201)](_0x2bd365=>_0x2bd365[_0x5461ac(0x23a)]());return _0x2ae477[_0x5461ac(0x222)](_0x176a0b);}[_0x3bccf7(0x245)]({writer:_0x34c551,html:_0x56d04a,insertAt:_0xf7e6e2}){const _0x18c01b=_0x3bccf7,{view:_0x13f677}=this[_0x18c01b(0x22b)][_0x18c01b(0x21c)],_0xfee7d6=this[_0x18c01b(0x22b)][_0x18c01b(0x247)][_0x18c01b(0x212)](_0x4fc660),_0x2371cc=new Ft();_0x2371cc[_0x18c01b(0x21a)](_0x18c01b(0x210),_0x56d04a);const _0x3f9570=new ClipboardEvent(_0x18c01b(0x1f7),{'clipboardData':_0x2371cc}),_0xe5f872=new _0x22fe80(_0x13f677,_0x3f9570,{'dataTransfer':new _0x30fc3c(_0x2371cc)});_0x34c551[_0x18c01b(0x209)](_0xf7e6e2);const _0x5ada49=(_0x57ebbb,_0x323f92)=>{const _0x15efbb=_0x18c01b;_0x323f92[_0x15efbb(0x225)]&&_0x34c551[_0x15efbb(0x209)](_0x323f92[_0x15efbb(0x225)]);};_0xfee7d6[_0x18c01b(0x227)](_0x18c01b(0x24d),_0x5ada49,{'priority':_0x18c01b(0x235)}),_0x13f677[_0x18c01b(0x216)][_0x18c01b(0x215)](_0x18c01b(0x1f7),_0xe5f872),_0xfee7d6[_0x18c01b(0x23f)](_0x18c01b(0x24d),_0x5ada49);}[_0x3bccf7(0x1e7)](_0x4f45d5){const _0xc70241=_0x3bccf7,{model:_0x8bbc3e}=this[_0xc70241(0x22b)],_0x36c25b=Array[_0xc70241(0x205)](_0x4f45d5[_0xc70241(0x24e)]());return _0x36c25b[_0xc70241(0x221)]?_0x8bbc3e[_0xc70241(0x1ec)](_0x36c25b[_0xc70241(0x22e)]()):_0x4f45d5[_0xc70241(0x208)]();}[_0x3bccf7(0x239)](_0x28ea6a,_0x1e0160){const _0x3a4aac=_0x3bccf7,{model:_0x3c8d6e,plugins:_0x56c201}=this[_0x3a4aac(0x22b)];if(_0x56c201[_0x3a4aac(0x1e8)](_0x3a4aac(0x1e4))){const _0x2ab2f5=_0x56c201[_0x3a4aac(0x212)](_0x3a4aac(0x1e4))[_0x3a4aac(0x21b)](_0x1e0160);if(_0x2ab2f5[_0x3a4aac(0x221)]){const _0x355a39=this[_0x3a4aac(0x20f)](_0x28ea6a),_0x371cb6=this[_0x3a4aac(0x22d)](_0x2ab2f5,_0x355a39);return _0x3c8d6e[_0x3a4aac(0x1f9)](_0x371cb6,0x0);}}return null;}[_0x3bccf7(0x20f)](_0x3ec94e){const _0x1d181b=_0x3bccf7,_0x51a538=this[_0x1d181b(0x22b)][_0x1d181b(0x247)][_0x1d181b(0x212)](_0x1d181b(0x1e4)),_0x29c806=this[_0x1d181b(0x22b)][_0x1d181b(0x232)][_0x1d181b(0x219)](_0x3ec94e),_0x42c565=Array[_0x1d181b(0x205)](_0x29c806[_0x1d181b(0x1f3)]())[_0x1d181b(0x1f4)](_0x14f481=>_0x14f481['is'](_0x1d181b(0x236),_0x1d181b(0x21d)));let _0xca9cd0=0x0;return _0x42c565[_0x1d181b(0x20d)](_0x356906=>{const _0x4c3ddd=_0x1d181b;_0xca9cd0+=_0x51a538[_0x4c3ddd(0x1eb)](_0x356906);}),_0xca9cd0;}[_0x3bccf7(0x22d)](_0x2d8b8e,_0x4b0d14){const _0x2be020=_0x3bccf7,_0x18f961=this[_0x2be020(0x22b)][_0x2be020(0x247)][_0x2be020(0x212)](_0x2be020(0x1e4)),_0x57fc84=_0x18f961[_0x2be020(0x244)](_0x2d8b8e),_0x23f020=_0x18f961[_0x2be020(0x230)](_0x2d8b8e),_0x600932=_0x57fc84[_0x2be020(0x243)]+0x1,_0x8484b4=_0x23f020[_0x2be020(0x1fb)],_0x194f55=_0x2d8b8e[0x0][_0x2be020(0x1f6)](_0x2be020(0x21d));for(let _0x311450=0x0;_0x311450<_0x4b0d14;_0x311450++)_0x18f961[_0x2be020(0x241)](_0x194f55,{'at':_0x600932});return _0x194f55[_0x2be020(0x22f)](_0x600932)[_0x2be020(0x22f)](_0x8484b4);}[_0x3bccf7(0x20b)](_0x53a514,_0x703e95){const _0x1f8343=_0x3bccf7,{plugins:_0x4d79eb}=this[_0x1f8343(0x22b)],{model:_0x317f45}=_0x53a514;if(!_0x4d79eb[_0x1f8343(0x1e8)](_0x1f8343(0x1e4)))return;_0x4d79eb[_0x1f8343(0x212)](_0x1f8343(0x1e4))[_0x1f8343(0x21b)](_0x703e95)[_0x1f8343(0x221)]&&_0x317f45[_0x1f8343(0x1f1)](_0x703e95);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x587c3b=_0x38fa;(function(_0xd62504,_0x34b34e){const _0x5599b0=_0x38fa,_0x56ea77=_0xd62504();while(!![]){try{const _0x3a18ac=-parseInt(_0x5599b0(0x1bb))/0x1*(-parseInt(_0x5599b0(0x23d))/0x2)+parseInt(_0x5599b0(0x1d6))/0x3*(parseInt(_0x5599b0(0x1c0))/0x4)+parseInt(_0x5599b0(0x1d1))/0x5*(-parseInt(_0x5599b0(0x22d))/0x6)+parseInt(_0x5599b0(0x24f))/0x7+parseInt(_0x5599b0(0x1e0))/0x8*(parseInt(_0x5599b0(0x232))/0x9)+-parseInt(_0x5599b0(0x1fc))/0xa+parseInt(_0x5599b0(0x244))/0xb*(-parseInt(_0x5599b0(0x1ca))/0xc);if(_0x3a18ac===_0x34b34e)break;else _0x56ea77['push'](_0x56ea77['shift']());}catch(_0xcc6a9a){_0x56ea77['push'](_0x56ea77['shift']());}}}(_0x375d,0x3e44f));import{Plugin as _0x3adeb7}from'ckeditor5/src/core.js';import{IconMagicWand as _0x487b86,IconRobotPencil as _0x17e48a}from'ckeditor5/src/icons.js';import{first as _0x545ab6,CKEditorError as _0x5b4cc8}from'ckeditor5/src/utils.js';import{createDropdown as _0x3cba69,addMenuToDropdown as _0x3e6cfd,ButtonView as _0x1e8611,MenuBarMenuListItemButtonView as _0x336931,Dialog as _0x805e2e,DialogViewPosition as _0xe73118,MenuBarMenuView as _0x198f56,MenuBarMenuListView as _0x3ce2e8,MenuBarMenuListItemView as _0x390a6c}from'ckeditor5/src/ui.js';function _0x38fa(_0x3b31b3,_0x54d42a){const _0x375db1=_0x375d();return _0x38fa=function(_0x38faf6,_0x7af1d){_0x38faf6=_0x38faf6-0x1b9;let _0x4336fb=_0x375db1[_0x38faf6];return _0x4336fb;},_0x38fa(_0x3b31b3,_0x54d42a);}import{normalizeCommandsConfig as _0x154752,UNGROUPED_COMMANDS_GROUP_ID as _0x43cb33}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x50df12}from'./aiassistantediting.js';import{AIAdapter as _0x1e5c86}from'./adapters/aiadapter.js';import{getTranslation as _0x5423ae}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5893c5}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4fe6ee}from'./ui/aiassistantcontroller.js';function _0x375d(){const _0x54d15d=['get','_getMenuBarGroupButtons','children','showUI','_commandDefinitions','isEnabled','update','change:enabledCommandsIds','set','rawHtml','groupLabel','schema','enabledCommandsIds','isCollapsed','_initView','plugins','ai.assistant.useTheme','map','addMany','media','prompt','aiAssistant','ai.assistant.commands','wasMoved','menuBar:aiAssistant','announce','ai.assistant.contentAreaCssClass','order','showFakeVisualSelection','document','includes','<p>','aiLicenseKeyValid','hideFakeVisualSelection','_onExecute','DataTransfer','licenseKey','label','length','AI\x20is\x20writing','fieldView','aiLicenseKeyInvalid','render','isOn','ck-ai-commands-dropdown\x20','polite','18954mKWVJf','AI\x20Commands','hide','body','AIAssistant','2787273UoGDkb','text','fire','once','aiLicenseKeyUsageLimit','locale','panelView','replaceContent','domainLimit','aiLicenseKeyTrialLimit','trim','545854mYFKcf','_licenseKeyCheckInterval','commands','requiresContent','selection','text/html','pluginName','5204958rsTuNN','menuBar:aiCommands','ck-ai-assistant-button\x20','Error\x20during\x20AI\x20content\x20generation:\x20%0','bind','command:','tableOfContents','forEach','editor','delegate','textAdapter','867335uGZSum','getData','custom','_aiAdapter','getSelectedElement','show','buttonView','aiLicenseKeyExpired','updatePosition','execute','REPLACE','trialLimit','getLimitElement','_getResolvedCommandsDefinitions','_initAriaAiStatusChangeAnnouncements','change:isProcessing','define','currentContext','isPremiumPlugin','aiLicenseKeyEvaluationLimit','errorView','_createAIAssistantUIButton','_showLicenseError','invalid','featureNotAllowed','comment','insertContentBelow','destroy','replace','change:isError','1DWpESb','config','reset','getRanges','add','2104uPSeeo','init','expired','ck-ai-assistant-ui','evaluationLimit','setSelection','ai-commands-config-order-collision','menuView','isOfficialPlugin','getSelectedBlocks','12VUxbOa','contentArea','INSERT','promptView','insertContent','requires','model','110eDAzmg','copy','menuitemcheckbox','queryView','isFlat','1113XNwUGa','splice','focus','\x20ck-ai-assistant-ui_theme','push','</p>','listenTo','hideUI','Generated\x20content:\x20%0','updateView','8styDSW','groupId','buttons','aiLicenseKeyDomainLimit','_aiAssistantController','_dialog','change:value','AI\x20Assistant','values','showAIAssistant','_formView','usageLimit','items','from','_forceMarkersCopy','change','sort','aiLicenseKeyNotAllowed','editing','_populateMenuBarMenu','EDITOR_TOP_SIDE','source','menuPanelClass','AIAssistantUI','ai.assistant.disabledElements','aiCommands','view','componentFactory','1039440CBuAQl','filter','_uiCssClasses'];_0x375d=function(){return _0x54d15d;};return _0x375d();}import{AIFormView as _0x3634b8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4c8b9e}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x587c3b(0x222)];import{ClipboardMarkersUtils as _0x333de0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x253a3a,ViewDataTransfer as _0x480ce2}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3adeb7{[_0x587c3b(0x223)];[_0x587c3b(0x23e)];[_0x587c3b(0x1e5)];[_0x587c3b(0x1ea)];[_0x587c3b(0x252)];[_0x587c3b(0x1e4)];[_0x587c3b(0x1fe)]='';static get[_0x587c3b(0x243)](){const _0x37068b=_0x587c3b;return _0x37068b(0x1f7);}static get[_0x587c3b(0x1c8)](){return!0x0;}static get[_0x587c3b(0x261)](){return!0x0;}static get[_0x587c3b(0x1cf)](){return[_0x333de0,_0x50df12,_0x1e5c86,_0x805e2e];}constructor(_0x1fb8d1){const _0x2a999a=_0x587c3b;super(_0x1fb8d1),_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x25f)](_0x2a999a(0x1f8),[_0x2a999a(0x212),_0x2a999a(0x208),_0x2a999a(0x24a)]),_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x25f)](_0x2a999a(0x219),''),_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x25f)](_0x2a999a(0x20f),!0x0),this[_0x2a999a(0x1fe)]=_0x2a999a(0x1c3)+(_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x1ff)](_0x2a999a(0x20f))?_0x2a999a(0x1d9):'');}[_0x587c3b(0x1c1)](){const _0x46be7c=_0x587c3b,{editor:_0xdc4c03}=this;this[_0x46be7c(0x252)]=_0xdc4c03[_0x46be7c(0x20e)][_0x46be7c(0x1ff)](_0x1e5c86),this[_0x46be7c(0x1e5)]=_0xdc4c03[_0x46be7c(0x20e)][_0x46be7c(0x1ff)](_0x805e2e),this[_0x46be7c(0x1ea)]=null,this[_0x46be7c(0x203)]=this[_0x46be7c(0x25c)]();const _0x9a884b=new _0x5893c5(_0xdc4c03,Array[_0x46be7c(0x1ed)](this[_0x46be7c(0x203)][_0x46be7c(0x1e8)]()));_0xdc4c03[_0x46be7c(0x23f)][_0x46be7c(0x1bf)](_0x46be7c(0x1e9),_0x9a884b),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x1f9),_0x53d8fe=>{const _0x3efa2e=_0x46be7c,_0x4cbd9a=_0x3cba69(_0x53d8fe);return _0x4cbd9a[_0x3efa2e(0x207)]({'class':_0x3efa2e(0x22b)+this[_0x3efa2e(0x1fe)]}),_0x4cbd9a[_0x3efa2e(0x255)][_0x3efa2e(0x207)]({'label':_0x5423ae(_0x53d8fe,_0x3efa2e(0x22e)),'icon':_0x487b86,'tooltip':!0x0}),_0x4cbd9a['on'](_0x3efa2e(0x258),_0x15c411=>this[_0x3efa2e(0x221)](_0x15c411[_0x3efa2e(0x1f5)]['id'])),_0x3e6cfd(_0x4cbd9a,_0xdc4c03['ui'][_0x3efa2e(0x1fa)][_0x3efa2e(0x230)],function(_0x4c25f9){const _0x5e4e3f=_0x3efa2e,_0x318b5a=_0x154752(_0x4c25f9[_0x5e4e3f(0x1bc)][_0x5e4e3f(0x1ff)](_0x5e4e3f(0x215)),_0x4c25f9[_0x5e4e3f(0x237)]),_0x4be260=U(_0x4c25f9,_0x318b5a)[_0x5e4e3f(0x1fd)](_0x596186=>_0x596186[_0x5e4e3f(0x23f)][_0x5e4e3f(0x225)]);if(0x1===_0x4be260[_0x5e4e3f(0x225)])return U(_0x4c25f9,_0x4be260[0x0][_0x5e4e3f(0x23f)])[_0x5e4e3f(0x210)](_0x275f99=>({'id':_0x275f99['id'],'label':_0x275f99[_0x5e4e3f(0x224)]}));return _0x4be260[_0x5e4e3f(0x210)](_0x463099=>{const _0x410b21=_0x5e4e3f,{groupId:_0x2dfbd2,groupLabel:_0x4bf2ca,commands:_0x3f25ae}=_0x463099,_0x2b948f=U(_0x4c25f9,_0x3f25ae)[_0x410b21(0x210)](_0x3fc72e=>({'id':_0x3fc72e['id'],'label':_0x3fc72e[_0x410b21(0x224)]}));return{'id':_0x2dfbd2,'menu':_0x4bf2ca||_0x2dfbd2,'children':_0x2b948f};});}(_0xdc4c03),{'ariaLabel':_0x5423ae(_0x53d8fe,_0x3efa2e(0x22e))}),_0x4cbd9a[_0x3efa2e(0x1c7)][_0x3efa2e(0x1f6)]=_0x3efa2e(0x22b)+this[_0x3efa2e(0x1fe)],_0x9a884b['on'](_0x3efa2e(0x206),_0x1dfbae),_0x4cbd9a[_0x3efa2e(0x1c7)][_0x3efa2e(0x235)](_0x3efa2e(0x229),_0x1dfbae),_0x4cbd9a;function _0x1dfbae(){const _0x390b25=_0x3efa2e;_0x4cbd9a[_0x390b25(0x204)]=_0x9a884b[_0x390b25(0x20b)][_0x390b25(0x225)]>0x0;for(const _0x3c992f of _0x4cbd9a[_0x390b25(0x1c7)][_0x390b25(0x1e2)])_0x3c992f[_0x390b25(0x204)]=_0x9a884b[_0x390b25(0x20b)][_0x390b25(0x21d)](_0x3c992f['id']);}}),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x245),_0x43daf3=>{const _0x460ec4=_0x46be7c,_0xeea291=new _0x198f56(_0x43daf3);_0xeea291[_0x460ec4(0x255)][_0x460ec4(0x207)]({'label':_0x5423ae(_0x43daf3,_0x460ec4(0x22e)),'icon':_0x487b86}),_0xeea291[_0x460ec4(0x248)](_0x460ec4(0x204))['to'](_0x9a884b,_0x460ec4(0x20b),_0x5d0f4d=>_0x5d0f4d[_0x460ec4(0x225)]>0x0);const _0x5ad5f4=_0x154752(_0xdc4c03[_0x460ec4(0x1bc)][_0x460ec4(0x1ff)](_0x460ec4(0x215)),_0x43daf3);return this[_0x460ec4(0x1f3)](_0x9a884b,_0xeea291,_0x5ad5f4,_0x3fa419=>this[_0x460ec4(0x221)](_0x3fa419)),_0xeea291;}),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x214),()=>{const _0x43d27a=_0x46be7c,_0x44777c=this[_0x43d27a(0x264)](_0x1e8611);return _0x44777c[_0x43d27a(0x207)]({'tooltip':!0x0,'class':_0x43d27a(0x246)+this[_0x43d27a(0x1fe)]}),_0x44777c;}),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x217),()=>{const _0x35bfa7=_0x46be7c,_0x54fc62=this[_0x35bfa7(0x264)](_0x336931);return _0x54fc62[_0x35bfa7(0x207)]({'role':_0x35bfa7(0x1d3)}),_0x54fc62;}),this[_0x46be7c(0x223)]=this[_0x46be7c(0x24c)][_0x46be7c(0x1bc)][_0x46be7c(0x1ff)](_0x46be7c(0x223));const _0x58b437=this[_0x46be7c(0x24c)];this[_0x46be7c(0x23e)]=setInterval(()=>{const _0x4ae5ae=_0x46be7c;let _0x76e522;for(const _0x52a591 in _0x58b437){const _0x3d174c=_0x52a591,_0xc4a5ad=_0x58b437[_0x3d174c];if(_0x4ae5ae(0x21f)==_0xc4a5ad||_0x4ae5ae(0x228)==_0xc4a5ad||_0x4ae5ae(0x256)==_0xc4a5ad||_0x4ae5ae(0x1e3)==_0xc4a5ad||_0x4ae5ae(0x1f1)==_0xc4a5ad||_0x4ae5ae(0x262)==_0xc4a5ad||_0x4ae5ae(0x23b)==_0xc4a5ad||_0x4ae5ae(0x236)==_0xc4a5ad){delete _0x58b437[_0x3d174c],_0x76e522=_0xc4a5ad,clearInterval(this[_0x4ae5ae(0x23e)]),this[_0x4ae5ae(0x23e)]=void 0x0;break;}}_0x4ae5ae(0x228)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x266)),_0x4ae5ae(0x256)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x1c2)),_0x4ae5ae(0x1e3)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x23a)),_0x4ae5ae(0x1f1)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x267),_0x4ae5ae(0x231)),_0x4ae5ae(0x262)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x1c4)),_0x4ae5ae(0x23b)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x25a)),_0x4ae5ae(0x236)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x1eb));},0x3e8);}[_0x587c3b(0x26a)](){const _0x18b615=_0x587c3b;super[_0x18b615(0x26a)](),this[_0x18b615(0x23e)]&&clearInterval(this[_0x18b615(0x23e)]);}[_0x587c3b(0x202)](_0x3967c9='',_0x416dc9='',_0xe00c6f=_0x587c3b(0x251)){const _0x1c5664=_0x587c3b,_0x377100=this[_0x1c5664(0x24c)],_0x5eb37e=_0x377100[_0x1c5664(0x1f2)][_0x1c5664(0x1fa)],_0x3eec81=_0x377100[_0x1c5664(0x20e)][_0x1c5664(0x1ff)](_0x50df12),_0x3f34ed=_0x377100[_0x1c5664(0x20e)][_0x1c5664(0x1ff)](_0x333de0);_0x3eec81[_0x1c5664(0x21b)]();const _0x509659=new w(),_0x5cb258=new ClipboardEvent(_0x1c5664(0x1d2),{'clipboardData':_0x509659}),_0x3d1a3e=new _0x480ce2(_0x509659),_0x727dc1=new _0x253a3a(_0x5eb37e,_0x5cb258,{'dataTransfer':_0x3d1a3e});_0x3f34ed[_0x1c5664(0x1ee)](_0x1c5664(0x268),()=>{const _0xbf1ea5=_0x1c5664;_0x5eb37e[_0xbf1ea5(0x21c)][_0xbf1ea5(0x234)](_0xbf1ea5(0x1d2),_0x727dc1);}),this[_0x1c5664(0x1ea)]||(this[_0x1c5664(0x20d)](),this[_0x1c5664(0x1e4)]=new _0x4fe6ee(_0x377100,this[_0x1c5664(0x252)][_0x1c5664(0x24e)],this[_0x1c5664(0x1ea)]));let _0xb4cca6=_0x3d1a3e[_0x1c5664(0x250)](_0x1c5664(0x242));const _0x5a4464=_0x377100[_0x1c5664(0x1d0)][_0x1c5664(0x21c)][_0x1c5664(0x241)],_0x5872b9=Array[_0x1c5664(0x1ed)](_0x5a4464[_0x1c5664(0x1be)]());0x1===_0x5872b9[_0x1c5664(0x225)]&&_0x5872b9[0x0][_0x1c5664(0x1d5)]&&!_0x5a4464[_0x1c5664(0x253)]()&&''!==_0xb4cca6[_0x1c5664(0x1b9)](/ /g,'')[_0x1c5664(0x23c)]()&&(_0xb4cca6=_0x1c5664(0x21e)+_0xb4cca6+_0x1c5664(0x1db)),this[_0x1c5664(0x1e4)][_0x1c5664(0x1df)]({'actionId':_0xe00c6f,'query':_0x3967c9,'htmlContent':_0xb4cca6,'label':_0x416dc9,'mainActionLabel':_0x4c8b9e[_0x377100[_0x1c5664(0x1d0)][_0x1c5664(0x21c)][_0x1c5664(0x241)][_0x1c5664(0x20c)]?_0x1c5664(0x1cc):_0x1c5664(0x259)]}),_0x1c5664(0x214)!==this[_0x1c5664(0x1e5)]['id']?this[_0x1c5664(0x1e5)][_0x1c5664(0x254)]({'id':_0x1c5664(0x214),'icon':_0x17e48a,'title':_0x5423ae(this[_0x1c5664(0x24c)][_0x1c5664(0x237)],_0x1c5664(0x1e7)),'content':this[_0x1c5664(0x1ea)],'position':_0xe73118[_0x1c5664(0x1f4)],'onShow':()=>{const _0x560a3b=_0x1c5664;this[_0x560a3b(0x1ea)][_0x560a3b(0x1d8)]();},'onHide':()=>{const _0x2e673d=_0x1c5664;this[_0x2e673d(0x1e4)][_0x2e673d(0x1bd)](),_0x3eec81[_0x2e673d(0x220)]();}}):this[_0x1c5664(0x1e5)][_0x1c5664(0x1fa)][_0x1c5664(0x216)]||this[_0x1c5664(0x1e5)][_0x1c5664(0x1fa)][_0x1c5664(0x257)]();}[_0x587c3b(0x1dd)](){const _0x2ceee7=_0x587c3b;this[_0x2ceee7(0x1e5)][_0x2ceee7(0x22f)]();}[_0x587c3b(0x25c)](){const _0x2fb61e=_0x587c3b,_0x26e142=new Map(),_0x3a7fcf=_0x154752(this[_0x2fb61e(0x24c)][_0x2fb61e(0x1bc)][_0x2fb61e(0x1ff)](_0x2fb61e(0x215)),this[_0x2fb61e(0x24c)][_0x2fb61e(0x237)]);for(const _0x58f924 of _0x3a7fcf)for(const _0x244142 of _0x58f924[_0x2fb61e(0x23f)])_0x26e142[_0x2fb61e(0x207)](_0x244142['id'],{..._0x244142,'groupId':_0x58f924[_0x2fb61e(0x1e1)],'groupLabel':_0x58f924[_0x2fb61e(0x209)]||_0x58f924[_0x2fb61e(0x1e1)]});return _0x26e142;}[_0x587c3b(0x264)](_0x450a20){const _0x48798e=_0x587c3b,_0x3b1c77=this[_0x48798e(0x24c)],_0x52eda6=_0x3b1c77[_0x48798e(0x23f)][_0x48798e(0x1ff)](_0x48798e(0x1e9)),_0x363d72=new _0x450a20(_0x3b1c77[_0x48798e(0x237)]);return _0x363d72[_0x48798e(0x207)]({'label':_0x5423ae(_0x3b1c77[_0x48798e(0x237)],_0x48798e(0x1e7)),'icon':_0x17e48a,'isToggleable':!0x0}),_0x363d72[_0x48798e(0x248)](_0x48798e(0x204))['to'](_0x52eda6),_0x363d72[_0x48798e(0x248)](_0x48798e(0x22a))['to'](this[_0x48798e(0x1e5)],'id',_0x2b61=>_0x48798e(0x214)===_0x2b61),this[_0x48798e(0x1dc)](_0x363d72,_0x48798e(0x258),()=>{const _0x4abd26=_0x48798e;_0x363d72[_0x4abd26(0x22a)]?this[_0x4abd26(0x1dd)]():_0x52eda6[_0x4abd26(0x258)]();}),_0x363d72;}[_0x587c3b(0x20d)](){const _0x2a4bc2=_0x587c3b,_0x928c48=this[_0x2a4bc2(0x24c)][_0x2a4bc2(0x20e)][_0x2a4bc2(0x1ff)](_0x50df12);this[_0x2a4bc2(0x1ea)]=new _0x3634b8(this[_0x2a4bc2(0x24c)][_0x2a4bc2(0x237)],this[_0x2a4bc2(0x1fe)],this[_0x2a4bc2(0x24c)][_0x2a4bc2(0x1bc)][_0x2a4bc2(0x1ff)](_0x2a4bc2(0x219))),this[_0x2a4bc2(0x1ea)]['on'](_0x2a4bc2(0x1e6),()=>{const _0x11bdc8=_0x2a4bc2;this[_0x11bdc8(0x1e5)][_0x11bdc8(0x1fa)][_0x11bdc8(0x216)]||this[_0x11bdc8(0x1e5)][_0x11bdc8(0x1fa)][_0x11bdc8(0x257)]();}),this[_0x2a4bc2(0x1ea)][_0x2a4bc2(0x1cd)][_0x2a4bc2(0x1d4)][_0x2a4bc2(0x227)]['on'](_0x2a4bc2(0x205),()=>{const _0x273d35=_0x2a4bc2;this[_0x273d35(0x1e5)][_0x273d35(0x1fa)][_0x273d35(0x216)]||this[_0x273d35(0x1e5)][_0x273d35(0x1fa)][_0x273d35(0x257)]();}),this[_0x2a4bc2(0x1dc)](this[_0x2a4bc2(0x1ea)],_0x2a4bc2(0x239),()=>{const _0x3f3347=_0x2a4bc2;_0x928c48[_0x3f3347(0x1ce)](this[_0x3f3347(0x1e4)][_0x3f3347(0x260)]),this[_0x3f3347(0x1dd)]();}),this[_0x2a4bc2(0x1dc)](this[_0x2a4bc2(0x1ea)],_0x2a4bc2(0x269),()=>{const _0x2185d0=_0x2a4bc2;_0x928c48[_0x2185d0(0x269)](this[_0x2185d0(0x1e4)][_0x2185d0(0x260)]),this[_0x2185d0(0x1dd)]();}),this[_0x2a4bc2(0x25d)]();}[_0x587c3b(0x25d)](){const _0x417297=_0x587c3b,{locale:_0x161522,ui:{ariaLiveAnnouncer:_0x490256}}=this[_0x417297(0x24c)];this[_0x417297(0x1ea)][_0x417297(0x1cb)]['on'](_0x417297(0x25e),(_0xb75785,_0x17a7c0,_0x5244a7)=>{const _0x5e4e99=_0x417297,_0x3ea3b4=this[_0x5e4e99(0x1e4)][_0x5e4e99(0x260)];_0x5244a7?_0x490256[_0x5e4e99(0x218)](_0x5423ae(_0x161522,_0x5e4e99(0x226))):_0x3ea3b4&&_0x490256[_0x5e4e99(0x218)](_0x5423ae(_0x161522,_0x5e4e99(0x1de),_0x3ea3b4),{'politeness':_0x5e4e99(0x22c),'isUnsafeHTML':!0x0});}),this[_0x417297(0x1ea)]['on'](_0x417297(0x1ba),(_0x37117a,_0x48b936,_0x5c6d3d)=>{const _0x226aa3=_0x417297;if(_0x5c6d3d){const _0x3cbb4b=this[_0x226aa3(0x1ea)][_0x226aa3(0x263)][_0x226aa3(0x233)];_0x490256[_0x226aa3(0x218)](_0x5423ae(_0x161522,_0x226aa3(0x247),_0x3cbb4b));}});}[_0x587c3b(0x221)](_0x527672){const _0x24b4f8=_0x587c3b,_0x379e71=this[_0x24b4f8(0x203)][_0x24b4f8(0x1ff)](_0x527672),_0x504ed1=this[_0x24b4f8(0x24c)],_0x513b72=_0x504ed1[_0x24b4f8(0x1d0)][_0x24b4f8(0x21c)][_0x24b4f8(0x241)],_0x2520de=_0x504ed1[_0x24b4f8(0x23f)][_0x24b4f8(0x1ff)](_0x24b4f8(0x1e9)),_0x2f1db8=_0x504ed1[_0x24b4f8(0x20e)][_0x24b4f8(0x1ff)](_0x50df12),_0xc89f36=''+(_0x379e71[_0x24b4f8(0x1e1)]!==_0x43cb33?_0x379e71[_0x24b4f8(0x209)]+':\x20':'')+_0x379e71[_0x24b4f8(0x224)];if(!0x1!==_0x379e71[_0x24b4f8(0x240)]&&_0x513b72[_0x24b4f8(0x20c)]){const _0x3757f1=_0x545ab6(_0x513b72[_0x24b4f8(0x1c9)]())||_0x504ed1[_0x24b4f8(0x1d0)][_0x24b4f8(0x20a)][_0x24b4f8(0x25b)](_0x513b72);_0x504ed1[_0x24b4f8(0x1d0)][_0x24b4f8(0x1ef)](_0x52ea38=>{const _0x140ed0=_0x24b4f8;_0x52ea38[_0x140ed0(0x1c5)](_0x3757f1,'in');});}_0x2f1db8[_0x24b4f8(0x21b)](),_0x2520de[_0x24b4f8(0x258)](_0x379e71[_0x24b4f8(0x213)],_0xc89f36,_0x24b4f8(0x249)+_0x527672);}[_0x587c3b(0x1f3)](_0x491a19,_0x5c8b4a,_0xda68f5,_0x5237a6){const _0x1d2d59=_0x587c3b,_0x26a796=this[_0x1d2d59(0x24c)],_0x1f6cd2=_0x26a796[_0x1d2d59(0x237)],_0x30ffde=new _0x3ce2e8(_0x1f6cd2),_0x40d5a6=U(_0x26a796,_0xda68f5)[_0x1d2d59(0x1fd)](_0x4f75bd=>_0x4f75bd[_0x1d2d59(0x23f)][_0x1d2d59(0x225)]);0x1===_0x40d5a6[_0x1d2d59(0x225)]?this[_0x1d2d59(0x200)]({'command':_0x491a19,'commands':_0x40d5a6[0x0][_0x1d2d59(0x23f)],'parentMenuView':_0x5c8b4a,'onExecute':_0x5237a6})[_0x1d2d59(0x24b)](_0x391a01=>_0x30ffde[_0x1d2d59(0x1ec)][_0x1d2d59(0x1bf)](_0x391a01)):_0x40d5a6[_0x1d2d59(0x24b)](({groupId:_0x18c9de,groupLabel:_0x1c9761,commands:_0x54b1ea})=>{const _0x24b285=_0x1d2d59,_0x456953=new _0x390a6c(_0x1f6cd2,_0x5c8b4a),_0x284dbe=new _0x198f56(_0x1f6cd2),_0x27aae7=new _0x3ce2e8(_0x1f6cd2),_0x84c9c2=this[_0x24b285(0x200)]({'command':_0x491a19,'commands':_0x54b1ea,'parentMenuView':_0x284dbe,'onExecute':_0x5237a6});_0x284dbe[_0x24b285(0x255)][_0x24b285(0x207)]({'label':_0x1c9761||_0x18c9de}),_0x284dbe[_0x24b285(0x24d)](_0x24b285(0x258))['to'](_0x5c8b4a),_0x27aae7[_0x24b285(0x1ec)][_0x24b285(0x211)](_0x84c9c2),_0x284dbe[_0x24b285(0x238)][_0x24b285(0x201)][_0x24b285(0x1bf)](_0x27aae7),_0x456953[_0x24b285(0x201)][_0x24b285(0x1bf)](_0x284dbe),_0x30ffde[_0x24b285(0x1ec)][_0x24b285(0x1bf)](_0x456953);}),_0x5c8b4a[_0x1d2d59(0x238)][_0x1d2d59(0x201)][_0x1d2d59(0x1bf)](_0x30ffde);}[_0x587c3b(0x200)]({command:_0x5686a7,commands:_0x2b4695,parentMenuView:_0x3e7aa2,onExecute:_0x19d77c}){const _0x4ef836=_0x587c3b,_0x17da87=this[_0x4ef836(0x24c)],_0x2e1e0a=_0x17da87[_0x4ef836(0x237)];return U(_0x17da87,_0x2b4695)[_0x4ef836(0x210)](_0x5371a0=>{const _0x2bea3b=_0x4ef836,_0x14e138=new _0x390a6c(_0x2e1e0a,_0x3e7aa2),_0x259d6a=new _0x336931(_0x2e1e0a);return _0x259d6a[_0x2bea3b(0x207)]({'label':_0x5371a0[_0x2bea3b(0x224)]}),_0x259d6a[_0x2bea3b(0x24d)](_0x2bea3b(0x258))['to'](_0x3e7aa2),_0x259d6a['on'](_0x2bea3b(0x258),()=>_0x19d77c(_0x5371a0['id'])),_0x259d6a[_0x2bea3b(0x248)](_0x2bea3b(0x204))['to'](_0x5686a7,_0x2bea3b(0x20b),_0xfbf829=>_0xfbf829[_0x2bea3b(0x21d)](_0x5371a0['id'])),_0x14e138[_0x2bea3b(0x201)][_0x2bea3b(0x1bf)](_0x259d6a),_0x14e138;});}}function T(_0x380d52,_0xaebdef){const _0x5857e4=_0x587c3b;return void 0x0!==_0x380d52[_0x5857e4(0x21a)]&&void 0x0===_0xaebdef[_0x5857e4(0x21a)]?0x1:void 0x0===_0x380d52[_0x5857e4(0x21a)]&&void 0x0!==_0xaebdef[_0x5857e4(0x21a)]?-0x1:void 0x0!==_0x380d52[_0x5857e4(0x21a)]&&void 0x0!==_0xaebdef[_0x5857e4(0x21a)]?_0x380d52[_0x5857e4(0x21a)]-_0xaebdef[_0x5857e4(0x21a)]:0x0;}function U(_0x2e0bc9,_0x162b25){const _0x3a1a9e=_0x587c3b;_0x162b25[_0x3a1a9e(0x1f0)](T);const _0x1e1994={},_0x39ade6=[];for(const _0x3a263b of _0x162b25)if(void 0x0!==_0x3a263b[_0x3a1a9e(0x21a)]){if(_0x3a263b[_0x3a1a9e(0x21a)]in _0x1e1994)throw new _0x5b4cc8(_0x3a1a9e(0x1c6),_0x2e0bc9,{'conflictingDefinitions':[_0x3a263b,_0x1e1994[_0x3a263b[_0x3a1a9e(0x21a)]]]});_0x1e1994[_0x3a263b[_0x3a1a9e(0x21a)]]=_0x3a263b,_0x39ade6[_0x3a1a9e(0x1d7)](_0x3a263b[_0x3a1a9e(0x21a)],0x0,_0x3a263b);}else _0x39ade6[_0x3a1a9e(0x1da)](_0x3a263b);return _0x39ade6;}
|
|
23
|
+
const _0x52f099=_0x3e9e;(function(_0xc2b62e,_0x525c34){const _0x4d6453=_0x3e9e,_0x1ec123=_0xc2b62e();while(!![]){try{const _0x4aa8ca=-parseInt(_0x4d6453(0x20f))/0x1*(parseInt(_0x4d6453(0x20e))/0x2)+parseInt(_0x4d6453(0x1d9))/0x3*(parseInt(_0x4d6453(0x1be))/0x4)+parseInt(_0x4d6453(0x188))/0x5+parseInt(_0x4d6453(0x185))/0x6*(-parseInt(_0x4d6453(0x18a))/0x7)+-parseInt(_0x4d6453(0x1aa))/0x8*(parseInt(_0x4d6453(0x212))/0x9)+parseInt(_0x4d6453(0x227))/0xa*(parseInt(_0x4d6453(0x198))/0xb)+parseInt(_0x4d6453(0x1f2))/0xc;if(_0x4aa8ca===_0x525c34)break;else _0x1ec123['push'](_0x1ec123['shift']());}catch(_0xf8b1be){_0x1ec123['push'](_0x1ec123['shift']());}}}(_0x17ed,0x7fea1));import{Plugin as _0x9eb238}from'ckeditor5/src/core.js';import{IconMagicWand as _0x42ec7e,IconRobotPencil as _0x44c99d}from'ckeditor5/src/icons.js';import{first as _0x376934,CKEditorError as _0x1f169e}from'ckeditor5/src/utils.js';import{createDropdown as _0x297d73,addMenuToDropdown as _0x44d818,ButtonView as _0x5d7c1b,MenuBarMenuListItemButtonView as _0x1aee99,Dialog as _0x1b3c9d,DialogViewPosition as _0x5c900d,MenuBarMenuView as _0xbb3816,MenuBarMenuListView as _0x14ace5,MenuBarMenuListItemView as _0xc52802}from'ckeditor5/src/ui.js';function _0x3e9e(_0x55e587,_0x4b1d12){const _0x17ed6e=_0x17ed();return _0x3e9e=function(_0x3e9e42,_0x581cdf){_0x3e9e42=_0x3e9e42-0x17f;let _0x4e1519=_0x17ed6e[_0x3e9e42];return _0x4e1519;},_0x3e9e(_0x55e587,_0x4b1d12);}import{normalizeCommandsConfig as _0x803027,UNGROUPED_COMMANDS_GROUP_ID as _0x166b98}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2fa7e3}from'./aiassistantediting.js';import{AIAdapter as _0x385691}from'./adapters/aiadapter.js';import{getTranslation as _0x4eb821}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1eeb8a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x248123}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2c023c}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x495547}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const Ft=globalThis[_0x52f099(0x191)];import{ClipboardMarkersUtils as _0x41d8d9}from'ckeditor5/src/clipboard.js';function _0x17ed(){const _0x38d276=['requires','destroy','_createAIAssistantUIButton','DataTransfer','show','insertContent','update','change:enabledCommandsIds','ai.assistant.disabledElements','polite','2957427qEcegu','focus','command:','evaluationLimit','addMany','enabledCommandsIds','groupId','aiLicenseKeyUsageLimit','prompt','ck-ai-assistant-button\x20','_showLicenseError','ai.assistant.commands','wasMoved','_aiAssistantController','commands','expired','isOn','insertContentBelow','7771328GOHfMh','aiLicenseKeyNotAllowed','isPremiumPlugin','_formView','isEnabled','execute','custom','_populateMenuBarMenu','filter','invalid','values','aiLicenseKeyInvalid','change:isError','text/html','showFakeVisualSelection','getRanges','selection','getData','_getMenuBarGroupButtons','forEach','2387492qQYTMk','tableOfContents','init','errorView','AI\x20Commands','length','licenseKey','map','getLimitElement','aiAssistant','requiresContent','once','aiLicenseKeyTrialLimit','contentArea','editing','AI\x20Assistant','promptView','menuBar:aiAssistant','announce','editor','change:isProcessing','menuitemcheckbox','buttonView','ck-ai-commands-dropdown\x20','items','sort','_commandDefinitions','3JhdUpR','panelView','children','order','splice','setSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuView','view','source','comment','change:value','from','aiLicenseKeyExpired','aiCommands','textAdapter','reset','_getResolvedCommandsDefinitions','get','push','aiLicenseKeyValid','pluginName','queryView','define','INSERT','4821000YzXVXy','render','trialLimit','usageLimit','_forceMarkersCopy','_dialog','replace','locale','hideFakeVisualSelection','ai.assistant.contentAreaCssClass','AIAssistant','<p>','AIAssistantUI','_licenseKeyCheckInterval','config','trim','aiLicenseKeyEvaluationLimit','_onExecute','domainLimit','copy','listenTo','text','ai-commands-config-order-collision','_initView','_initAriaAiStatusChangeAnnouncements','body','showAIAssistant','menuBar:aiCommands','28zyPaAY','18251cGBpKH','bind','aiLicenseKeyDomainLimit','9eacLfn','componentFactory','label','\x20ck-ai-assistant-ui_theme','hideUI','buttons','set','</p>','featureNotAllowed','document','isFlat','media','rawHtml','ck-ai-assistant-ui','EDITOR_TOP_SIDE','Generated\x20content:\x20%0','add','_uiCssClasses','schema','_aiAdapter','model','20vSlmRt','delegate','includes','isOfficialPlugin','AI\x20is\x20writing','fire','currentContext','replaceContent','hide','getSelectedBlocks','groupLabel','updatePosition','updateView','fieldView','getSelectedElement','ai.assistant.useTheme','402lpINwB','plugins','REPLACE','4420975iWzzxh','isCollapsed','69965PUVNtc','change','showUI','menuPanelClass'];_0x17ed=function(){return _0x38d276;};return _0x17ed();}import{ViewDocumentDomEventData as _0x2e95f4,ViewDataTransfer as _0x4d3ebb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x9eb238{[_0x52f099(0x1c4)];[_0x52f099(0x1ff)];[_0x52f099(0x1f7)];[_0x52f099(0x1ad)];[_0x52f099(0x225)];[_0x52f099(0x1a5)];[_0x52f099(0x223)]='';static get[_0x52f099(0x1ee)](){const _0x4218de=_0x52f099;return _0x4218de(0x1fe);}static get[_0x52f099(0x22a)](){return!0x0;}static get[_0x52f099(0x1ac)](){return!0x0;}static get[_0x52f099(0x18e)](){return[_0x41d8d9,_0x2fa7e3,_0x385691,_0x1b3c9d];}constructor(_0x3e84a3){const _0x30e304=_0x52f099;super(_0x3e84a3),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x196),[_0x30e304(0x21d),_0x30e304(0x21e),_0x30e304(0x1bf)]),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x1fb),''),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x184),!0x0),this[_0x30e304(0x223)]=_0x30e304(0x21f)+(_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1eb)](_0x30e304(0x184))?_0x30e304(0x215):'');}[_0x52f099(0x1c0)](){const _0x3c348c=_0x52f099,{editor:_0x54e6c0}=this;this[_0x3c348c(0x225)]=_0x54e6c0[_0x3c348c(0x186)][_0x3c348c(0x1eb)](_0x385691),this[_0x3c348c(0x1f7)]=_0x54e6c0[_0x3c348c(0x186)][_0x3c348c(0x1eb)](_0x1b3c9d),this[_0x3c348c(0x1ad)]=null,this[_0x3c348c(0x1d8)]=this[_0x3c348c(0x1ea)]();const _0x16509e=new _0x1eeb8a(_0x54e6c0,Array[_0x3c348c(0x1e5)](this[_0x3c348c(0x1d8)][_0x3c348c(0x1b4)]()));_0x54e6c0[_0x3c348c(0x1a6)][_0x3c348c(0x222)](_0x3c348c(0x20c),_0x16509e),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1e7),_0x228cfd=>{const _0x9d9297=_0x3c348c,_0xae450b=_0x297d73(_0x228cfd);return _0xae450b[_0x9d9297(0x218)]({'class':_0x9d9297(0x1d5)+this[_0x9d9297(0x223)]}),_0xae450b[_0x9d9297(0x1d4)][_0x9d9297(0x218)]({'label':_0x4eb821(_0x228cfd,_0x9d9297(0x1c2)),'icon':_0x42ec7e,'tooltip':!0x0}),_0xae450b['on'](_0x9d9297(0x1af),_0x2ebd33=>this[_0x9d9297(0x203)](_0x2ebd33[_0x9d9297(0x1e2)]['id'])),_0x44d818(_0xae450b,_0x54e6c0['ui'][_0x9d9297(0x1e1)][_0x9d9297(0x20b)],function(_0x3e302b){const _0x5071d4=_0x9d9297,_0xe886ac=_0x803027(_0x3e302b[_0x5071d4(0x200)][_0x5071d4(0x1eb)](_0x5071d4(0x1a3)),_0x3e302b[_0x5071d4(0x1f9)]),_0x2706a4=yi(_0x3e302b,_0xe886ac)[_0x5071d4(0x1b2)](_0x466aa6=>_0x466aa6[_0x5071d4(0x1a6)][_0x5071d4(0x1c3)]);if(0x1===_0x2706a4[_0x5071d4(0x1c3)])return yi(_0x3e302b,_0x2706a4[0x0][_0x5071d4(0x1a6)])[_0x5071d4(0x1c5)](_0x166994=>({'id':_0x166994['id'],'label':_0x166994[_0x5071d4(0x214)]}));return _0x2706a4[_0x5071d4(0x1c5)](_0x15be94=>{const _0x1fc16a=_0x5071d4,{groupId:_0x440a2d,groupLabel:_0x4f9f43,commands:_0x130fa3}=_0x15be94,_0x443ad2=yi(_0x3e302b,_0x130fa3)[_0x1fc16a(0x1c5)](_0x187b66=>({'id':_0x187b66['id'],'label':_0x187b66[_0x1fc16a(0x214)]}));return{'id':_0x440a2d,'menu':_0x4f9f43||_0x440a2d,'children':_0x443ad2};});}(_0x54e6c0),{'ariaLabel':_0x4eb821(_0x228cfd,_0x9d9297(0x1c2))}),_0xae450b[_0x9d9297(0x1e0)][_0x9d9297(0x18d)]=_0x9d9297(0x1d5)+this[_0x9d9297(0x223)],_0x16509e['on'](_0x9d9297(0x195),_0x38df73),_0xae450b[_0x9d9297(0x1e0)][_0x9d9297(0x1c9)](_0x9d9297(0x1f3),_0x38df73),_0xae450b;function _0x38df73(){const _0x69b01d=_0x9d9297;_0xae450b[_0x69b01d(0x1ae)]=_0x16509e[_0x69b01d(0x19d)][_0x69b01d(0x1c3)]>0x0;for(const _0x2a7631 of _0xae450b[_0x69b01d(0x1e0)][_0x69b01d(0x217)])_0x2a7631[_0x69b01d(0x1ae)]=_0x16509e[_0x69b01d(0x19d)][_0x69b01d(0x229)](_0x2a7631['id']);}}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x20d),_0x46adc5=>{const _0x227118=_0x3c348c,_0x59e029=new _0xbb3816(_0x46adc5);_0x59e029[_0x227118(0x1d4)][_0x227118(0x218)]({'label':_0x4eb821(_0x46adc5,_0x227118(0x1c2)),'icon':_0x42ec7e}),_0x59e029[_0x227118(0x210)](_0x227118(0x1ae))['to'](_0x16509e,_0x227118(0x19d),_0x234aca=>_0x234aca[_0x227118(0x1c3)]>0x0);const _0x18bb43=_0x803027(_0x54e6c0[_0x227118(0x200)][_0x227118(0x1eb)](_0x227118(0x1a3)),_0x46adc5);return this[_0x227118(0x1b1)](_0x16509e,_0x59e029,_0x18bb43,_0x47bf68=>this[_0x227118(0x203)](_0x47bf68)),_0x59e029;}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1c7),()=>{const _0x5693db=_0x3c348c,_0x42540d=this[_0x5693db(0x190)](_0x5d7c1b);return _0x42540d[_0x5693db(0x218)]({'tooltip':!0x0,'class':_0x5693db(0x1a1)+this[_0x5693db(0x223)]}),_0x42540d;}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1cf),()=>{const _0x1529ba=_0x3c348c,_0x1b1282=this[_0x1529ba(0x190)](_0x1aee99);return _0x1b1282[_0x1529ba(0x218)]({'role':_0x1529ba(0x1d3)}),_0x1b1282;}),this[_0x3c348c(0x1c4)]=this[_0x3c348c(0x1d1)][_0x3c348c(0x200)][_0x3c348c(0x1eb)](_0x3c348c(0x1c4));const _0x7dcb6f=this[_0x3c348c(0x1d1)];this[_0x3c348c(0x1ff)]=setInterval(()=>{const _0x3357f4=_0x3c348c;let _0x1e1daa;for(const _0x3e5c4e in _0x7dcb6f){const _0x31cc41=_0x3e5c4e,_0x41367d=_0x7dcb6f[_0x31cc41];if(_0x3357f4(0x1ed)==_0x41367d||_0x3357f4(0x1b5)==_0x41367d||_0x3357f4(0x1e6)==_0x41367d||_0x3357f4(0x211)==_0x41367d||_0x3357f4(0x1ab)==_0x41367d||_0x3357f4(0x202)==_0x41367d||_0x3357f4(0x1ca)==_0x41367d||_0x3357f4(0x19f)==_0x41367d){delete _0x7dcb6f[_0x31cc41],_0x1e1daa=_0x41367d,clearInterval(this[_0x3357f4(0x1ff)]),this[_0x3357f4(0x1ff)]=void 0x0;break;}}_0x3357f4(0x1b5)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1b3)),_0x3357f4(0x1e6)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1a7)),_0x3357f4(0x211)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x204)),_0x3357f4(0x1ab)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x21a),_0x3357f4(0x1fc)),_0x3357f4(0x202)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x19b)),_0x3357f4(0x1ca)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1f4)),_0x3357f4(0x19f)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1f5));},0x3e8);}[_0x52f099(0x18f)](){const _0x47b3fe=_0x52f099;super[_0x47b3fe(0x18f)](),this[_0x47b3fe(0x1ff)]&&clearInterval(this[_0x47b3fe(0x1ff)]);}[_0x52f099(0x18c)](_0x542e28='',_0x47974f='',_0x9fd855=_0x52f099(0x1b0)){const _0x548031=_0x52f099,_0x44f756=this[_0x548031(0x1d1)],_0x2d3e0f=_0x44f756[_0x548031(0x1cc)][_0x548031(0x1e1)],_0x100fa0=_0x44f756[_0x548031(0x186)][_0x548031(0x1eb)](_0x2fa7e3),_0x141bc9=_0x44f756[_0x548031(0x186)][_0x548031(0x1eb)](_0x41d8d9);_0x100fa0[_0x548031(0x1b8)]();const _0x23aaa9=new Ft(),_0x588d7e=new ClipboardEvent(_0x548031(0x205),{'clipboardData':_0x23aaa9}),_0x45056f=new _0x4d3ebb(_0x23aaa9),_0x38a885=new _0x2e95f4(_0x2d3e0f,_0x588d7e,{'dataTransfer':_0x45056f});_0x141bc9[_0x548031(0x1f6)](_0x548031(0x1e3),()=>{const _0x4d1616=_0x548031;_0x2d3e0f[_0x4d1616(0x21b)][_0x4d1616(0x22c)](_0x4d1616(0x205),_0x38a885);}),this[_0x548031(0x1ad)]||(this[_0x548031(0x209)](),this[_0x548031(0x1a5)]=new _0x248123(_0x44f756,this[_0x548031(0x225)][_0x548031(0x1e8)],this[_0x548031(0x1ad)]));let _0x56190f=_0x45056f[_0x548031(0x1bb)](_0x548031(0x1b7));const _0x584111=_0x44f756[_0x548031(0x226)][_0x548031(0x21b)][_0x548031(0x1ba)],_0x1c9081=Array[_0x548031(0x1e5)](_0x584111[_0x548031(0x1b9)]());0x1===_0x1c9081[_0x548031(0x1c3)]&&_0x1c9081[0x0][_0x548031(0x21c)]&&!_0x584111[_0x548031(0x183)]()&&''!==_0x56190f[_0x548031(0x1f8)](/ /g,'')[_0x548031(0x201)]()&&(_0x56190f=_0x548031(0x1fd)+_0x56190f+_0x548031(0x219)),this[_0x548031(0x1a5)][_0x548031(0x181)]({'actionId':_0x9fd855,'query':_0x542e28,'htmlContent':_0x56190f,'label':_0x47974f,'mainActionLabel':_0x495547[_0x44f756[_0x548031(0x226)][_0x548031(0x21b)][_0x548031(0x1ba)][_0x548031(0x189)]?_0x548031(0x1f1):_0x548031(0x187)]}),_0x548031(0x1c7)!==this[_0x548031(0x1f7)]['id']?this[_0x548031(0x1f7)][_0x548031(0x192)]({'id':_0x548031(0x1c7),'icon':_0x44c99d,'title':_0x4eb821(this[_0x548031(0x1d1)][_0x548031(0x1f9)],_0x548031(0x1cd)),'content':this[_0x548031(0x1ad)],'position':_0x5c900d[_0x548031(0x220)],'onShow':()=>{const _0x1eaa43=_0x548031;this[_0x1eaa43(0x1ad)][_0x1eaa43(0x199)]();},'onHide':()=>{const _0x2942b8=_0x548031;this[_0x2942b8(0x1a5)][_0x2942b8(0x1e9)](),_0x100fa0[_0x2942b8(0x1fa)]();}}):this[_0x548031(0x1f7)][_0x548031(0x1e1)][_0x548031(0x1a4)]||this[_0x548031(0x1f7)][_0x548031(0x1e1)][_0x548031(0x180)]();}[_0x52f099(0x216)](){const _0x4cfa69=_0x52f099;this[_0x4cfa69(0x1f7)][_0x4cfa69(0x22f)]();}[_0x52f099(0x1ea)](){const _0x4a3c3c=_0x52f099,_0x43f45b=new Map(),_0x2cbce6=_0x803027(this[_0x4a3c3c(0x1d1)][_0x4a3c3c(0x200)][_0x4a3c3c(0x1eb)](_0x4a3c3c(0x1a3)),this[_0x4a3c3c(0x1d1)][_0x4a3c3c(0x1f9)]);for(const _0x2c6bdf of _0x2cbce6)for(const _0x4a90bc of _0x2c6bdf[_0x4a3c3c(0x1a6)])_0x43f45b[_0x4a3c3c(0x218)](_0x4a90bc['id'],{..._0x4a90bc,'groupId':_0x2c6bdf[_0x4a3c3c(0x19e)],'groupLabel':_0x2c6bdf[_0x4a3c3c(0x17f)]||_0x2c6bdf[_0x4a3c3c(0x19e)]});return _0x43f45b;}[_0x52f099(0x190)](_0x571db5){const _0x12af05=_0x52f099,_0x12a521=this[_0x12af05(0x1d1)],_0x3f37b8=_0x12a521[_0x12af05(0x1a6)][_0x12af05(0x1eb)](_0x12af05(0x20c)),_0x4c4243=new _0x571db5(_0x12a521[_0x12af05(0x1f9)]);return _0x4c4243[_0x12af05(0x218)]({'label':_0x4eb821(_0x12a521[_0x12af05(0x1f9)],_0x12af05(0x1cd)),'icon':_0x44c99d,'isToggleable':!0x0}),_0x4c4243[_0x12af05(0x210)](_0x12af05(0x1ae))['to'](_0x3f37b8),_0x4c4243[_0x12af05(0x210)](_0x12af05(0x1a8))['to'](this[_0x12af05(0x1f7)],'id',_0x16aa57=>_0x12af05(0x1c7)===_0x16aa57),this[_0x12af05(0x206)](_0x4c4243,_0x12af05(0x1af),()=>{const _0x584b0c=_0x12af05;_0x4c4243[_0x584b0c(0x1a8)]?this[_0x584b0c(0x216)]():_0x3f37b8[_0x584b0c(0x1af)]();}),_0x4c4243;}[_0x52f099(0x209)](){const _0x2d877b=_0x52f099,_0x319a62=this[_0x2d877b(0x1d1)][_0x2d877b(0x186)][_0x2d877b(0x1eb)](_0x2fa7e3);this[_0x2d877b(0x1ad)]=new _0x2c023c(this[_0x2d877b(0x1d1)][_0x2d877b(0x1f9)],this[_0x2d877b(0x223)],this[_0x2d877b(0x1d1)][_0x2d877b(0x200)][_0x2d877b(0x1eb)](_0x2d877b(0x1fb))),this[_0x2d877b(0x1ad)]['on'](_0x2d877b(0x1e4),()=>{const _0x9dfefd=_0x2d877b;this[_0x9dfefd(0x1f7)][_0x9dfefd(0x1e1)][_0x9dfefd(0x1a4)]||this[_0x9dfefd(0x1f7)][_0x9dfefd(0x1e1)][_0x9dfefd(0x180)]();}),this[_0x2d877b(0x1ad)][_0x2d877b(0x1ce)][_0x2d877b(0x1ef)][_0x2d877b(0x182)]['on'](_0x2d877b(0x194),()=>{const _0x379a73=_0x2d877b;this[_0x379a73(0x1f7)][_0x379a73(0x1e1)][_0x379a73(0x1a4)]||this[_0x379a73(0x1f7)][_0x379a73(0x1e1)][_0x379a73(0x180)]();}),this[_0x2d877b(0x206)](this[_0x2d877b(0x1ad)],_0x2d877b(0x22e),()=>{const _0x14ae5b=_0x2d877b;_0x319a62[_0x14ae5b(0x193)](this[_0x14ae5b(0x1a5)][_0x14ae5b(0x22d)]),this[_0x14ae5b(0x216)]();}),this[_0x2d877b(0x206)](this[_0x2d877b(0x1ad)],_0x2d877b(0x1a9),()=>{const _0x4d7995=_0x2d877b;_0x319a62[_0x4d7995(0x1a9)](this[_0x4d7995(0x1a5)][_0x4d7995(0x22d)]),this[_0x4d7995(0x216)]();}),this[_0x2d877b(0x20a)]();}[_0x52f099(0x20a)](){const _0x280945=_0x52f099,{locale:_0x411f33,ui:{ariaLiveAnnouncer:_0x375d7e}}=this[_0x280945(0x1d1)];this[_0x280945(0x1ad)][_0x280945(0x1cb)]['on'](_0x280945(0x1d2),(_0x2e1c17,_0x28fef3,_0x43d757)=>{const _0x423094=_0x280945,_0x5bfc4e=this[_0x423094(0x1a5)][_0x423094(0x22d)];_0x43d757?_0x375d7e[_0x423094(0x1d0)](_0x4eb821(_0x411f33,_0x423094(0x22b))):_0x5bfc4e&&_0x375d7e[_0x423094(0x1d0)](_0x4eb821(_0x411f33,_0x423094(0x221),_0x5bfc4e),{'politeness':_0x423094(0x197),'isUnsafeHTML':!0x0});}),this[_0x280945(0x1ad)]['on'](_0x280945(0x1b6),(_0x524ecb,_0x3f695c,_0x5d52a6)=>{const _0x2db574=_0x280945;if(_0x5d52a6){const _0x1f82b7=this[_0x2db574(0x1ad)][_0x2db574(0x1c1)][_0x2db574(0x207)];_0x375d7e[_0x2db574(0x1d0)](_0x4eb821(_0x411f33,_0x2db574(0x1df),_0x1f82b7));}});}[_0x52f099(0x203)](_0x48ba7b){const _0x36535b=_0x52f099,_0x48f445=this[_0x36535b(0x1d8)][_0x36535b(0x1eb)](_0x48ba7b),_0x37bf7d=this[_0x36535b(0x1d1)],_0x5b3a93=_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x21b)][_0x36535b(0x1ba)],_0x12be3e=_0x37bf7d[_0x36535b(0x1a6)][_0x36535b(0x1eb)](_0x36535b(0x20c)),_0x561450=_0x37bf7d[_0x36535b(0x186)][_0x36535b(0x1eb)](_0x2fa7e3),_0x19882e=''+(_0x48f445[_0x36535b(0x19e)]!==_0x166b98?_0x48f445[_0x36535b(0x17f)]+':\x20':'')+_0x48f445[_0x36535b(0x214)];if(!0x1!==_0x48f445[_0x36535b(0x1c8)]&&_0x5b3a93[_0x36535b(0x189)]){const _0x248f84=_0x376934(_0x5b3a93[_0x36535b(0x230)]())||_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x224)][_0x36535b(0x1c6)](_0x5b3a93);_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x18b)](_0x268efd=>{const _0x1c6051=_0x36535b;_0x268efd[_0x1c6051(0x1de)](_0x248f84,'in');});}_0x561450[_0x36535b(0x1b8)](),_0x12be3e[_0x36535b(0x1af)](_0x48f445[_0x36535b(0x1a0)],_0x19882e,_0x36535b(0x19a)+_0x48ba7b);}[_0x52f099(0x1b1)](_0x23ea8d,_0x48247e,_0x16e6b4,_0x50bbe5){const _0xcb953a=_0x52f099,_0x56712b=this[_0xcb953a(0x1d1)],_0x37f161=_0x56712b[_0xcb953a(0x1f9)],_0x585705=new _0x14ace5(_0x37f161),_0x717d5f=yi(_0x56712b,_0x16e6b4)[_0xcb953a(0x1b2)](_0x5d99c7=>_0x5d99c7[_0xcb953a(0x1a6)][_0xcb953a(0x1c3)]);0x1===_0x717d5f[_0xcb953a(0x1c3)]?this[_0xcb953a(0x1bc)]({'command':_0x23ea8d,'commands':_0x717d5f[0x0][_0xcb953a(0x1a6)],'parentMenuView':_0x48247e,'onExecute':_0x50bbe5})[_0xcb953a(0x1bd)](_0x28c18c=>_0x585705[_0xcb953a(0x1d6)][_0xcb953a(0x222)](_0x28c18c)):_0x717d5f[_0xcb953a(0x1bd)](({groupId:_0x24eee1,groupLabel:_0x3ffd71,commands:_0x4b3d48})=>{const _0x2a7241=_0xcb953a,_0x30a414=new _0xc52802(_0x37f161,_0x48247e),_0x454140=new _0xbb3816(_0x37f161),_0x456f29=new _0x14ace5(_0x37f161),_0x4f7b9d=this[_0x2a7241(0x1bc)]({'command':_0x23ea8d,'commands':_0x4b3d48,'parentMenuView':_0x454140,'onExecute':_0x50bbe5});_0x454140[_0x2a7241(0x1d4)][_0x2a7241(0x218)]({'label':_0x3ffd71||_0x24eee1}),_0x454140[_0x2a7241(0x228)](_0x2a7241(0x1af))['to'](_0x48247e),_0x456f29[_0x2a7241(0x1d6)][_0x2a7241(0x19c)](_0x4f7b9d),_0x454140[_0x2a7241(0x1da)][_0x2a7241(0x1db)][_0x2a7241(0x222)](_0x456f29),_0x30a414[_0x2a7241(0x1db)][_0x2a7241(0x222)](_0x454140),_0x585705[_0x2a7241(0x1d6)][_0x2a7241(0x222)](_0x30a414);}),_0x48247e[_0xcb953a(0x1da)][_0xcb953a(0x1db)][_0xcb953a(0x222)](_0x585705);}[_0x52f099(0x1bc)]({command:_0x732720,commands:_0x2a2221,parentMenuView:_0x3ce72f,onExecute:_0x374db2}){const _0x2589e2=_0x52f099,_0x5dc6d0=this[_0x2589e2(0x1d1)],_0x1f66da=_0x5dc6d0[_0x2589e2(0x1f9)];return yi(_0x5dc6d0,_0x2a2221)[_0x2589e2(0x1c5)](_0x56e6be=>{const _0x22cb86=_0x2589e2,_0x4464f5=new _0xc52802(_0x1f66da,_0x3ce72f),_0x3efd57=new _0x1aee99(_0x1f66da);return _0x3efd57[_0x22cb86(0x218)]({'label':_0x56e6be[_0x22cb86(0x214)]}),_0x3efd57[_0x22cb86(0x228)](_0x22cb86(0x1af))['to'](_0x3ce72f),_0x3efd57['on'](_0x22cb86(0x1af),()=>_0x374db2(_0x56e6be['id'])),_0x3efd57[_0x22cb86(0x210)](_0x22cb86(0x1ae))['to'](_0x732720,_0x22cb86(0x19d),_0x46ecb2=>_0x46ecb2[_0x22cb86(0x229)](_0x56e6be['id'])),_0x4464f5[_0x22cb86(0x1db)][_0x22cb86(0x222)](_0x3efd57),_0x4464f5;});}}function vi(_0x20ea2e,_0x6d9976){const _0x4a4628=_0x52f099;return void 0x0!==_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0===_0x6d9976[_0x4a4628(0x1dc)]?0x1:void 0x0===_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0!==_0x6d9976[_0x4a4628(0x1dc)]?-0x1:void 0x0!==_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0!==_0x6d9976[_0x4a4628(0x1dc)]?_0x20ea2e[_0x4a4628(0x1dc)]-_0x6d9976[_0x4a4628(0x1dc)]:0x0;}function yi(_0x8cb88e,_0x3545fb){const _0x288b8f=_0x52f099;_0x3545fb[_0x288b8f(0x1d7)](vi);const _0xb8cc6c={},_0x204c71=[];for(const _0x20296f of _0x3545fb)if(void 0x0!==_0x20296f[_0x288b8f(0x1dc)]){if(_0x20296f[_0x288b8f(0x1dc)]in _0xb8cc6c)throw new _0x1f169e(_0x288b8f(0x208),_0x8cb88e,{'conflictingDefinitions':[_0x20296f,_0xb8cc6c[_0x20296f[_0x288b8f(0x1dc)]]]});_0xb8cc6c[_0x20296f[_0x288b8f(0x1dc)]]=_0x20296f,_0x204c71[_0x288b8f(0x1dd)](_0x20296f[_0x288b8f(0x1dc)],0x0,_0x20296f);}else _0x204c71[_0x288b8f(0x1ec)](_0x20296f);return _0x204c71;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5886(_0x4875d1,_0x56e902){var _0x55b049=_0x55b0();return _0x5886=function(_0x588658,_0x436309){_0x588658=_0x588658-0x7a;var _0x192ae3=_0x55b049[_0x588658];return _0x192ae3;},_0x5886(_0x4875d1,_0x56e902);}function _0x55b0(){var _0x15541b=['171KitHFR','2596qvofbJ','1047UyTlmQ','5DDALUi','68916lrnlXK','3605240ZJnwPX','3249654PmmJKI','1001gwcEAj','2085172XgXAjt','7DNYBNC','25248TvQxUW','102253WcNwvp'];_0x55b0=function(){return _0x15541b;};return _0x55b0();}(function(_0x312b53,_0x4d3f28){var _0x1386c6=_0x5886,_0x2dddec=_0x312b53();while(!![]){try{var _0x8d20e5=parseInt(_0x1386c6(0x7d))/0x1+parseInt(_0x1386c6(0x7f))/0x2*(parseInt(_0x1386c6(0x80))/0x3)+-parseInt(_0x1386c6(0x7a))/0x4*(parseInt(_0x1386c6(0x81))/0x5)+-parseInt(_0x1386c6(0x84))/0x6*(parseInt(_0x1386c6(0x7b))/0x7)+parseInt(_0x1386c6(0x7c))/0x8*(-parseInt(_0x1386c6(0x7e))/0x9)+parseInt(_0x1386c6(0x83))/0xa+-parseInt(_0x1386c6(0x85))/0xb*(-parseInt(_0x1386c6(0x82))/0xc);if(_0x8d20e5===_0x4d3f28)break;else _0x2dddec['push'](_0x2dddec['shift']());}catch(_0x29af92){_0x2dddec['push'](_0x2dddec['shift']());}}}(_0x55b0,0x4d086));import{CKEditorError as _0x22adb5}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1a9c49=_0x4ea8;(function(_0x58bc00,_0x419698){const _0x5b4045=_0x4ea8,_0x14fcd6=_0x58bc00();while(!![]){try{const _0x4d59d1=parseInt(_0x5b4045(0x230))/0x1*(parseInt(_0x5b4045(0x233))/0x2)+-parseInt(_0x5b4045(0x209))/0x3+parseInt(_0x5b4045(0x23a))/0x4*(-parseInt(_0x5b4045(0x225))/0x5)+-parseInt(_0x5b4045(0x1f4))/0x6+parseInt(_0x5b4045(0x1ef))/0x7*(-parseInt(_0x5b4045(0x21a))/0x8)+parseInt(_0x5b4045(0x234))/0x9+parseInt(_0x5b4045(0x216))/0xa;if(_0x4d59d1===_0x419698)break;else _0x14fcd6['push'](_0x14fcd6['shift']());}catch(_0x1bc348){_0x14fcd6['push'](_0x14fcd6['shift']());}}}(_0x3d12,0x1cce0));import{ObservableMixin as _0x7bf6b0}from'ckeditor5/src/utils.js';import{AIRequestError as _0x501454}from'../adapters/aiadapter.js';function _0x3d12(){const _0x546a67=['length','startsWith','then','ELEMENT_NODE','5372400gHNiPw','_isH1TagSupportEnabled','stringify','value','8tAFWeV','finally','createElement','prompt','_domParser','substring','editing','isProcessing','```','previousLabel','domConverter','24490HivPcy','childNodes','<h1></h1>','clear','isRendered','stopListening','text/html','once','reset','_handleQuery','innerHTML','1wKbVLB','element','setContentOf','289502FvldnS','80775ZljAFX','markers','message','initialContext','tryAgainEvent','_stripMarkdownSyntax','124gdoeiv','currentResponse','div','parseFromString','name','_normalizeResponseHeadings','toModel','nodeType','_sanitizeHTML','_sanitizationContainer','handleError','```html','trim','finishProcessing','_parseAndNormalizeContent','textAdapter','mainAction','match','destroy','endsWith','previousActionId','processor','rename','set:currentContext','viewToDom','1135078raeXIg','toView','htmlProcessor','remove','stopProcessing','1038114eFxhgK','reverse','updateView','startProcessing','querySelector','data','editor','abort','listenTo','get','document','exec','push','submitPrompt','set','serializeToString','previousQuery','catch','config','custom','previousContext','257913APJxdF','body','view','ai.assistant.preserveComments','_xmlSerializer','from','makeRequest','render','currentContext'];_0x3d12=function(){return _0x546a67;};return _0x3d12();}function _0x4ea8(_0xe6153d,_0x27ed42){const _0x3d123b=_0x3d12();return _0x4ea8=function(_0x4ea8fa,_0xf7e895){_0x4ea8fa=_0x4ea8fa-0x1ea;let _0x4bcd39=_0x3d123b[_0x4ea8fa];return _0x4bcd39;},_0x4ea8(_0xe6153d,_0x27ed42);}import{Matcher as _0x3908e6,ViewUpcastWriter as _0x235ad3}from'ckeditor5/src/engine.js';const th=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x7bf6b0(){[_0x1a9c49(0x1fa)];[_0x1a9c49(0x249)];[_0x1a9c49(0x20b)];[_0x1a9c49(0x243)];[_0x1a9c49(0x21e)];[_0x1a9c49(0x20d)];constructor(_0x527de1,_0x4c9fde,_0x2359f8){const _0x219868=_0x1a9c49;super(),this[_0x219868(0x1fa)]=_0x527de1,this[_0x219868(0x249)]=_0x4c9fde,this[_0x219868(0x243)]=document[_0x219868(0x21c)](_0x219868(0x23c)),this[_0x219868(0x21e)]=new DOMParser(),this[_0x219868(0x20d)]=new XMLSerializer(),this[_0x219868(0x20b)]=_0x2359f8,this[_0x219868(0x202)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x219868(0x1ed),(_0x5578f0,_0x3e02f5,_0x4c817e)=>{const _0x1fc0dc=_0x219868;this[_0x1fc0dc(0x20b)][_0x1fc0dc(0x219)]=this[_0x1fc0dc(0x242)](_0x4c817e);}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x201),(_0x23851a,_0xadfecd)=>{const _0x474dbf=_0x219868,_0x1bbb20=this[_0x474dbf(0x211)]||this[_0x474dbf(0x237)];this[_0x474dbf(0x22e)](_0xadfecd,_0x1bbb20,_0x474dbf(0x207));}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x238),()=>{const _0x584f12=_0x219868;this[_0x584f12(0x20b)][_0x584f12(0x21d)]=this[_0x584f12(0x223)],this[_0x584f12(0x22e)](this[_0x584f12(0x204)],this[_0x584f12(0x208)],this[_0x584f12(0x1ea)],this[_0x584f12(0x223)]);}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x1f3),()=>{const _0x262cb3=_0x219868;this[_0x262cb3(0x1f3)]();});}[_0x1a9c49(0x24c)](){const _0x560e94=_0x1a9c49;this[_0x560e94(0x22a)]();}async[_0x1a9c49(0x1f6)]({actionId:_0x4a5fd2,query:_0x10a968,htmlContent:_0x237297,label:_0x57b3a3,mainActionLabel:_0x2ec8bd}){const _0x2490b1=_0x1a9c49;this[_0x2490b1(0x20b)][_0x2490b1(0x21d)]=_0x57b3a3,this[_0x2490b1(0x20b)][_0x2490b1(0x24a)]=_0x2ec8bd,this[_0x2490b1(0x237)]=_0x237297,_0x10a968&&(this[_0x2490b1(0x20b)][_0x2490b1(0x229)]?this[_0x2490b1(0x22e)](_0x10a968,_0x237297,_0x4a5fd2,_0x57b3a3):this[_0x2490b1(0x20b)][_0x2490b1(0x22c)](_0x2490b1(0x210),()=>{const _0x4abd53=_0x2490b1;this[_0x4abd53(0x22e)](_0x10a968,_0x237297,_0x4a5fd2,_0x57b3a3);}));}[_0x1a9c49(0x1f3)](){const _0x4482a0=_0x1a9c49;this[_0x4482a0(0x221)]&&(this[_0x4482a0(0x221)]=!0x1,this[_0x4482a0(0x20b)][_0x4482a0(0x247)](),this[_0x4482a0(0x249)][_0x4482a0(0x1fb)]());}[_0x1a9c49(0x22d)](){const _0x5561db=_0x1a9c49;this[_0x5561db(0x237)]='',this[_0x5561db(0x211)]='',this[_0x5561db(0x23b)]='',this[_0x5561db(0x208)]='',this[_0x5561db(0x204)]='',this[_0x5561db(0x223)]='',this[_0x5561db(0x1ea)]=void 0x0,this[_0x5561db(0x20b)][_0x5561db(0x22d)](),this[_0x5561db(0x1f3)]();}async[_0x1a9c49(0x22e)](_0x588274,_0x27ca47,_0xc9a8a1,_0x3a0ffb){const _0x5469ec=_0x1a9c49;return this[_0x5469ec(0x221)]=!0x0,this[_0x5469ec(0x20b)][_0x5469ec(0x1f7)](),this[_0x5469ec(0x208)]=_0x27ca47,this[_0x5469ec(0x204)]=_0x588274,this[_0x5469ec(0x223)]=_0x3a0ffb||_0x588274,this[_0x5469ec(0x1ea)]=_0xc9a8a1,new Promise(_0x46d531=>{const _0x532386=_0x5469ec;this[_0x532386(0x249)][_0x532386(0x20f)]({'query':_0x588274,'context':_0x27ca47,'onData':_0x3d3285=>{const _0x5dd13e=_0x532386;this[_0x5dd13e(0x23b)]=_0x3d3285,this[_0x5dd13e(0x211)]=this[_0x5dd13e(0x248)](this[_0x5dd13e(0x23b)]);},'actionId':_0xc9a8a1})[_0x532386(0x214)](()=>{const _0x4b4e16=_0x532386;!this[_0x4b4e16(0x211)]&&this[_0x4b4e16(0x23b)]&&(this[_0x4b4e16(0x211)]=this[_0x4b4e16(0x248)](this[_0x4b4e16(0x23b)],!0x0));})[_0x532386(0x205)](_0xe4691d=>{const _0x47a129=_0x532386;_0xe4691d instanceof _0x501454?this[_0x47a129(0x20b)][_0x47a129(0x244)](_0xe4691d[_0x47a129(0x236)]):this[_0x47a129(0x20b)][_0x47a129(0x244)](),_0x46d531();})[_0x532386(0x21b)](()=>{const _0x29f0dd=_0x532386;this[_0x29f0dd(0x1f3)](),_0x46d531();});});}[_0x1a9c49(0x248)](_0x3f50d4,_0x1ec062=!0x1){const _0x90614=_0x1a9c49,_0x35d1b9=th[_0x90614(0x1ff)](_0x3f50d4);_0x3f50d4=_0x35d1b9?_0x3f50d4[_0x90614(0x21f)](_0x35d1b9[0x1][_0x90614(0x212)]):_0x3f50d4[_0x90614(0x212)]<0x64&&!_0x1ec062?'':this[_0x90614(0x239)](_0x3f50d4);const _0x4e276c=this[_0x90614(0x21e)][_0x90614(0x23d)](_0x3f50d4,_0x90614(0x22b));if(_0x35d1b9){const _0x3202c6=Array[_0x90614(0x20e)](_0x4e276c[_0x90614(0x20a)][_0x90614(0x226)]);_0x3202c6[_0x90614(0x1f5)]();for(const _0x2322e4 of _0x3202c6){if(_0x2322e4[_0x90614(0x241)]==Node[_0x90614(0x215)])break;_0x2322e4[_0x90614(0x1f2)]();}}const _0x3cc7f1=this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x1eb)][_0x90614(0x1f0)](this[_0x90614(0x20d)][_0x90614(0x203)](_0x4e276c[_0x90614(0x20a)]));this[_0x90614(0x217)]()||this[_0x90614(0x23f)](_0x3cc7f1);const _0x3f5173=this[_0x90614(0x1fa)][_0x90614(0x206)][_0x90614(0x1fd)](_0x90614(0x20c)),_0x20ca93=this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x240)](_0x3cc7f1);return _0x3f5173||_0x20ca93[_0x90614(0x235)][_0x90614(0x228)](),this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x218)](_0x20ca93);}[_0x1a9c49(0x23f)](_0x1ed7c9){const _0x2f0197=_0x1a9c49,_0x30c846=new _0x235ad3(this[_0x2f0197(0x1fa)][_0x2f0197(0x220)][_0x2f0197(0x20b)][_0x2f0197(0x1fe)]),_0x44ac10=new _0x3908e6({'name':/^h[1-5]$/}),_0x42585c=[];let _0x2a54ff=!0x1;for(const _0x4e2d7a of _0x1ed7c9)_0x4e2d7a['is'](_0x2f0197(0x231))&&_0x44ac10[_0x2f0197(0x24b)](_0x4e2d7a)&&(_0x42585c[_0x2f0197(0x200)](_0x4e2d7a),'h1'==_0x4e2d7a[_0x2f0197(0x23e)]&&(_0x2a54ff=!0x0));if(_0x2a54ff){for(const _0x5021ab of _0x42585c)_0x30c846[_0x2f0197(0x1ec)]('h'+(parseInt(_0x5021ab[_0x2f0197(0x23e)][0x1])+0x1),_0x5021ab);}}[_0x1a9c49(0x217)](){const _0xfc60d=_0x1a9c49,{data:_0x10438c,editing:_0x50bb60}=this[_0xfc60d(0x1fa)],_0x587a86=_0x10438c[_0xfc60d(0x1f1)][_0xfc60d(0x1f0)](_0xfc60d(0x227)),_0x2cc616=_0x10438c[_0xfc60d(0x1f0)](_0x10438c[_0xfc60d(0x240)](_0x587a86));return!!_0x50bb60[_0xfc60d(0x20b)][_0xfc60d(0x224)][_0xfc60d(0x1ee)](_0x2cc616)[_0xfc60d(0x1f8)]('h1');}[_0x1a9c49(0x242)](_0x4a69c8){const _0x488dc1=_0x1a9c49;return this[_0x488dc1(0x1fa)][_0x488dc1(0x220)][_0x488dc1(0x20b)][_0x488dc1(0x224)][_0x488dc1(0x232)](this[_0x488dc1(0x243)],_0x4a69c8),this[_0x488dc1(0x243)][_0x488dc1(0x22f)];}[_0x1a9c49(0x239)](_0xe6da9){const _0x1ec4d0=_0x1a9c49,_0x2885cb=_0xe6da9[_0x1ec4d0(0x246)]();return _0x2885cb[_0x1ec4d0(0x213)](_0x1ec4d0(0x245))?_0x2885cb[_0x1ec4d0(0x24d)](_0x1ec4d0(0x222))?_0x2885cb[_0x1ec4d0(0x21f)](0x7,_0x2885cb[_0x1ec4d0(0x212)]-0x3):_0x2885cb[_0x1ec4d0(0x21f)](0x7):_0xe6da9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3ec2(_0x369aad,_0x51eaa8){const _0x5cb2de=_0x5cb2();return _0x3ec2=function(_0x3ec27f,_0x213d24){_0x3ec27f=_0x3ec27f-0x196;let _0x41d088=_0x5cb2de[_0x3ec27f];return _0x41d088;},_0x3ec2(_0x369aad,_0x51eaa8);}const _0x5f49de=_0x3ec2;function _0x5cb2(){const _0x2561b5=['scrollHeight','Copy','setEndBefore','_createLoader','ck-reset_all-excluded','wheel','4fELBds','body','removeAllRanges','4575380sSsUAD','scrollTo','isEnabled','class','setTemplate','remove','execute','textContent','ck-content','appendLoader','execCommand','5647167IJFbtj','change:isProcessing','ck-ai-form__content-area-wrapper','set','46YFBlYN','smooth','element','.ck-ai-form__loader','locale','copy','focus','_copyHTMLToClipboard','4216072etCjgV','position','ck-ai-form__content-area','_createCopyButton','6oPtSkY','10477ujbuAt','firstElementChild','isProcessing','ck-ai-form__loader','mousedown','setStartAfter','AI\x20is\x20writing...','listenTo','render','loaderView','ck-ai-form__content-area--processing','left','3345120dDFiUJ','createElement','bindTemplate','text/html','text/plain','-9999px','div','write','getSelection','\x20ck-ai-form__copy-button--copied','<span>[</span>','bind','ClipboardItem','clipboard','absolute','value','style','querySelector','createRange','1005815xbdbJJ','ck-ai-form__content-field','lastElementChild','icon','innerHTML','ck-ai-form__copy-button','ck-hidden','appendChild','change:value','contentFieldView','isVisible','1941351ERITBm','setContent','addRange','copyButtonView','ck-ai-form__copy-button-wrapper','<span>]</span>'];_0x5cb2=function(){return _0x2561b5;};return _0x5cb2();}(function(_0x5d38bb,_0x5c01dc){const _0x12ee99=_0x3ec2,_0x28f8b3=_0x5d38bb();while(!![]){try{const _0x11335b=parseInt(_0x12ee99(0x19c))/0x1*(parseInt(_0x12ee99(0x1e4))/0x2)+-parseInt(_0x12ee99(0x1c6))/0x3*(-parseInt(_0x12ee99(0x1d2))/0x4)+-parseInt(_0x12ee99(0x1bb))/0x5*(parseInt(_0x12ee99(0x19b))/0x6)+-parseInt(_0x12ee99(0x197))/0x7+parseInt(_0x12ee99(0x1a8))/0x8+-parseInt(_0x12ee99(0x1e0))/0x9+parseInt(_0x12ee99(0x1d5))/0xa;if(_0x11335b===_0x5c01dc)break;else _0x28f8b3['push'](_0x28f8b3['shift']());}catch(_0x2add4c){_0x28f8b3['push'](_0x28f8b3['shift']());}}}(_0x5cb2,0x5142c));import{global as _0x2539b6}from'ckeditor5/src/utils.js';import{View as _0x599c80,ButtonView as _0x51a053,SpinnerView as _0x34cd26}from'ckeditor5/src/ui.js';import{IconCheck as _0x3d4499,IconCopy as _0x28d8cf}from'ckeditor5/src/icons.js';import{getTranslation as _0x52ecfa}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x599c80{[_0x5f49de(0x1c4)];[_0x5f49de(0x1c9)];constructor(_0x69656d,_0x5baac2=''){const _0x105b3b=_0x5f49de;super(_0x69656d),this[_0x105b3b(0x1e3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x24a9df=this[_0x105b3b(0x1aa)];this[_0x105b3b(0x1c4)]=new ContentFieldView(_0x69656d,_0x5baac2),this[_0x105b3b(0x1c9)]=this[_0x105b3b(0x19a)](),this[_0x105b3b(0x1d9)]({'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x1e2),_0x24a9df['if'](_0x105b3b(0x1c5),_0x105b3b(0x1c1),_0x2585d8=>!_0x2585d8)],'tabindex':'-1'},'children':[{'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x199),_0x24a9df['if'](_0x105b3b(0x19e),_0x105b3b(0x1a6))]},'children':[this[_0x105b3b(0x1c4)],{'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x1ca)]},'children':[this[_0x105b3b(0x1c9)]]}]}]});}[_0x5f49de(0x1a4)](){const _0x411061=_0x5f49de;super[_0x411061(0x1a4)](),this[_0x411061(0x1b7)]&&this[_0x411061(0x1c4)][_0x411061(0x1c7)](this[_0x411061(0x1b7)]);let _0x500ba6=!0x1;this['on'](_0x411061(0x1c3),(_0x1b0a0a,_0x5d7f3a,_0x28a225)=>{const _0x2627d5=_0x411061,_0x427c5a=!this[_0x2627d5(0x1c4)][_0x2627d5(0x1e6)][_0x2627d5(0x1b9)](_0x2627d5(0x1e7));this[_0x2627d5(0x1c4)][_0x2627d5(0x1c7)](_0x28a225),this[_0x2627d5(0x19e)]&&_0x427c5a&&!_0x500ba6&&this[_0x2627d5(0x1e6)][_0x2627d5(0x1d6)]({'top':this[_0x2627d5(0x1e6)][_0x2627d5(0x1cc)],'behavior':_0x2627d5(0x1e5)});}),this['on'](_0x411061(0x1e1),(_0x236434,_0x50f497,_0x25c135)=>{const _0x47a70c=_0x411061;_0x500ba6=!0x1,_0x25c135?(this[_0x47a70c(0x1b7)]=null,this[_0x47a70c(0x1c4)][_0x47a70c(0x1de)]()):this[_0x47a70c(0x1b7)]||this[_0x47a70c(0x1c4)][_0x47a70c(0x1c7)]('');}),this[_0x411061(0x1a3)](this[_0x411061(0x1e6)],_0x411061(0x1d1),()=>{_0x500ba6=!0x0;}),this[_0x411061(0x1a3)](this[_0x411061(0x1e6)],_0x411061(0x1a0),()=>{_0x500ba6=!0x0;});}[_0x5f49de(0x1ea)](){const _0x4474f1=_0x5f49de;this[_0x4474f1(0x1e6)][_0x4474f1(0x1ea)]();}[_0x5f49de(0x19a)](){const _0x69495a=_0x5f49de,_0x1550a4=this[_0x69495a(0x1e8)],_0x23ced8=new _0x51a053(this[_0x69495a(0x1e8)]),_0x5b686c=_0x69495a(0x1c0);return _0x23ced8[_0x69495a(0x1e3)]({'label':_0x52ecfa(_0x1550a4,_0x69495a(0x1cd)),'icon':_0x28d8cf,'class':_0x5b686c,'tooltip':!0x0}),_0x23ced8[_0x69495a(0x1b3)](_0x69495a(0x1c5))['to'](this,_0x69495a(0x1b7),_0x38983f=>!!_0x38983f),_0x23ced8[_0x69495a(0x1b3)](_0x69495a(0x1d7))['to'](this,_0x69495a(0x19e),_0x9b0490=>!_0x9b0490),_0x23ced8['on'](_0x69495a(0x1db),()=>{const _0x3527ba=_0x69495a;this[_0x3527ba(0x196)](this[_0x3527ba(0x1c4)][_0x3527ba(0x1e6)]),_0x23ced8[_0x3527ba(0x1be)]=_0x3d4499,_0x23ced8[_0x3527ba(0x1d8)]=_0x5b686c+_0x3527ba(0x1b1),this[_0x3527ba(0x1ea)](),setTimeout(()=>{const _0x246df8=_0x3527ba;_0x23ced8[_0x246df8(0x1be)]=_0x28d8cf,_0x23ced8[_0x246df8(0x1d8)]=_0x5b686c;},0x3e8);}),_0x23ced8;}[_0x5f49de(0x196)](_0x52c6eb){const _0xf4d7f9=_0x5f49de,{window:_0x5375f4,document:_0x2bb488}=_0x2539b6;if(_0x5375f4[_0xf4d7f9(0x1b4)]){const {Blob:_0x492ea1,ClipboardItem:_0x4127b3}=_0x5375f4,_0xc8c67a=[new _0x4127b3({'text/html':new _0x492ea1([_0x52c6eb[_0xf4d7f9(0x1bf)]],{'type':_0xf4d7f9(0x1ab)}),'text/plain':new _0x492ea1([_0x52c6eb[_0xf4d7f9(0x1dc)]||''],{'type':_0xf4d7f9(0x1ac)})})];navigator[_0xf4d7f9(0x1b5)][_0xf4d7f9(0x1af)](_0xc8c67a);}else{const _0x927b57=_0x2bb488[_0xf4d7f9(0x1a9)](_0xf4d7f9(0x1ae));_0x927b57[_0xf4d7f9(0x1b8)][_0xf4d7f9(0x198)]=_0xf4d7f9(0x1b6),_0x927b57[_0xf4d7f9(0x1b8)][_0xf4d7f9(0x1a7)]=_0xf4d7f9(0x1ad),_0x927b57[_0xf4d7f9(0x1bf)]=_0xf4d7f9(0x1b2)+_0x52c6eb[_0xf4d7f9(0x1bf)]+_0xf4d7f9(0x1cb),_0x2bb488[_0xf4d7f9(0x1d3)][_0xf4d7f9(0x1c2)](_0x927b57);const _0x33f1f8=_0x2bb488[_0xf4d7f9(0x1ba)]();_0x33f1f8[_0xf4d7f9(0x1a1)](_0x927b57[_0xf4d7f9(0x19d)]),_0x33f1f8[_0xf4d7f9(0x1ce)](_0x927b57[_0xf4d7f9(0x1bd)]);const _0x570241=_0x5375f4[_0xf4d7f9(0x1b0)]();_0x570241[_0xf4d7f9(0x1d4)](),_0x570241[_0xf4d7f9(0x1c8)](_0x33f1f8),_0x2bb488[_0xf4d7f9(0x1df)](_0xf4d7f9(0x1e9)),_0x927b57[_0xf4d7f9(0x1da)]();}}}export class ContentFieldView extends _0x599c80{constructor(_0x2340a9,_0x18606b=''){const _0x39f39a=_0x5f49de;super(_0x2340a9),this[_0x39f39a(0x1a5)]=this[_0x39f39a(0x1cf)](),this[_0x39f39a(0x1d9)]({'tag':_0x39f39a(0x1ae),'attributes':{'class':['ck',_0x39f39a(0x1dd),_0x18606b,_0x39f39a(0x1d0),_0x39f39a(0x1bc)]}});}[_0x5f49de(0x1c7)](_0x4ef4cf){const _0x4e4e12=_0x5f49de;this[_0x4e4e12(0x1e6)][_0x4e4e12(0x1bf)]=_0x4ef4cf;}[_0x5f49de(0x1de)](){const _0x219203=_0x5f49de;this[_0x219203(0x1e6)][_0x219203(0x1c2)](this[_0x219203(0x1a5)][_0x219203(0x1e6)]);}[_0x5f49de(0x1cf)](){const _0x1ab1a0=_0x5f49de,_0x27f1e7=new _0x599c80(),_0x5729fe=this[_0x1ab1a0(0x1e8)],_0x231496=new _0x34cd26();return _0x231496[_0x1ab1a0(0x1c5)]=!0x0,_0x27f1e7[_0x1ab1a0(0x1d9)]({'tag':_0x1ab1a0(0x1ae),'attributes':{'class':['ck',_0x1ab1a0(0x19f)]},'children':[_0x231496,{'text':_0x52ecfa(_0x5729fe,_0x1ab1a0(0x1a2))}]}),_0x27f1e7[_0x1ab1a0(0x1a4)](),_0x27f1e7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1fdc23,_0x1b46b2){const _0x2479c0=_0x2aa4,_0x86f1c2=_0x1fdc23();while(!![]){try{const _0x1ae58d=-parseInt(_0x2479c0(0x16f))/0x1*(-parseInt(_0x2479c0(0x175))/0x2)+parseInt(_0x2479c0(0x16c))/0x3+-parseInt(_0x2479c0(0x17b))/0x4*(-parseInt(_0x2479c0(0x176))/0x5)+-parseInt(_0x2479c0(0x16d))/0x6+parseInt(_0x2479c0(0x179))/0x7+parseInt(_0x2479c0(0x177))/0x8+parseInt(_0x2479c0(0x172))/0x9*(-parseInt(_0x2479c0(0x16e))/0xa);if(_0x1ae58d===_0x1b46b2)break;else _0x86f1c2['push'](_0x86f1c2['shift']());}catch(_0x3117da){_0x86f1c2['push'](_0x86f1c2['shift']());}}}(_0x5f25,0x5f3cb));import{IconError as _0x13eedc}from'ckeditor5/src/icons.js';import{View as _0x588aa0,IconView as _0x872ec7}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x588aa0{constructor(_0x317e05,_0x3b7c67=''){const _0x8def64=_0x2aa4;super(_0x317e05);const _0x34ff50=new _0x872ec7(),_0x317639=this[_0x8def64(0x17a)];this[_0x8def64(0x17c)](_0x8def64(0x170),_0x3b7c67),_0x34ff50[_0x8def64(0x174)]=_0x13eedc,this[_0x8def64(0x178)]({'tag':_0x8def64(0x171),'attributes':{'class':['ck',_0x8def64(0x173)]},'children':[_0x34ff50,{'text':_0x317639['to'](_0x8def64(0x170))}]});}}function _0x2aa4(_0x1c13c4,_0x1992a7){const _0x5f2509=_0x5f25();return _0x2aa4=function(_0x2aa4fc,_0x34c349){_0x2aa4fc=_0x2aa4fc-0x16c;let _0x1457a5=_0x5f2509[_0x2aa4fc];return _0x1457a5;},_0x2aa4(_0x1c13c4,_0x1992a7);}function _0x5f25(){const _0xe79aa3=['setTemplate','3300724PiZeNw','bindTemplate','8ClYBUQ','set','1581927OIfmke','3713736BtlSZW','100yrsazb','125NMdRRn','text','div','1412685fSGipx','ck-ai-form__error','content','3668daHHSs','1475365lFZGKM','6083680KrkRVT'];_0x5f25=function(){return _0xe79aa3;};return _0x5f25();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x312505=_0x351b;(function(_0x118dbf,_0x40f4b7){const _0x5eb3ae=_0x351b,_0x45d4f6=_0x118dbf();while(!![]){try{const _0x755bbd=-parseInt(_0x5eb3ae(0xc9))/0x1*(-parseInt(_0x5eb3ae(0xd0))/0x2)+-parseInt(_0x5eb3ae(0xcf))/0x3+parseInt(_0x5eb3ae(0xa0))/0x4*(parseInt(_0x5eb3ae(0xbe))/0x5)+-parseInt(_0x5eb3ae(0xbf))/0x6+-parseInt(_0x5eb3ae(0xc1))/0x7+-parseInt(_0x5eb3ae(0xc7))/0x8*(parseInt(_0x5eb3ae(0xd1))/0x9)+parseInt(_0x5eb3ae(0xae))/0xa;if(_0x755bbd===_0x40f4b7)break;else _0x45d4f6['push'](_0x45d4f6['shift']());}catch(_0x44944c){_0x45d4f6['push'](_0x45d4f6['shift']());}}}(_0x4207,0xdd37e));function _0x4207(){const _0x4a4b84=['ck-ai-form__toggle-history','10808728uVfTTc','isEnabled','right','execute','target','maxRows','791408GPNbVU','minRows','37DjTWAt','uiLanguageDirection','_createSubmitButton','ck-ai-form__submit','requestAnimationFrame','focus','3008172KKmMYG','94482PNsCyF','63GoCWuY','bind','focusLast','_createShowHistoryButton','queryView','window','update','style','submit','21020mENnVt','rtl','render','focusableChildren','submitButtonView','History','locale','isOn','focusCycler','fieldWrapperChildren','left','isEmpty','enter','fieldView','21548180QNhdXD','excludeScrollbarsAndBorders','add','children','set','resultsView','value','width','focusFirst','showHistoryButtonView','keystrokes','element','fire','filteredView','isVisible','Submit','1475JUaLWh','7845240YctJsg'];_0x4207=function(){return _0x4a4b84;};return _0x4207();}import{Rect as _0x5e356e,global as _0x40d83b,isVisible as _0x20f274}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x56d90f,IconSubmit as _0x5aac3e}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x453b63,ButtonView as _0x5e483c}from'ckeditor5/src/ui.js';import{getTranslation as _0x3446aa}from'../../utils/common-translations.js';function _0x351b(_0xb78a8e,_0x4766e5){const _0x42077e=_0x4207();return _0x351b=function(_0x351bd0,_0x52ec1a){_0x351bd0=_0x351bd0-0x9d;let _0x260dcc=_0x42077e[_0x351bd0];return _0x260dcc;},_0x351b(_0xb78a8e,_0x4766e5);}export class AIFormPromptView extends _0x453b63{[_0x312505(0xa4)];[_0x312505(0xb7)];constructor(_0x5340ff,_0x163679){const _0x4cfdc4=_0x312505;super(_0x5340ff,_0x163679),this[_0x4cfdc4(0xd5)][_0x4cfdc4(0xad)][_0x4cfdc4(0xc8)]=0x1,this[_0x4cfdc4(0xd5)][_0x4cfdc4(0xad)][_0x4cfdc4(0xc6)]=0x3,this[_0x4cfdc4(0xa4)]=this[_0x4cfdc4(0xcb)](),this[_0x4cfdc4(0xb7)]=this[_0x4cfdc4(0xd4)](),this[_0x4cfdc4(0xa3)][_0x4cfdc4(0xb0)](this[_0x4cfdc4(0xb7)],0x1),this[_0x4cfdc4(0xa3)][_0x4cfdc4(0xb0)](this[_0x4cfdc4(0xa4)]);}[_0x312505(0xa2)](){const _0x4b353e=_0x312505;super[_0x4b353e(0xa2)](),this[_0x4b353e(0xd5)][_0x4b353e(0xa9)][_0x4b353e(0xb0)](this[_0x4b353e(0xb7)]),this[_0x4b353e(0xb1)][_0x4b353e(0xb0)](this[_0x4b353e(0xa4)]),this[_0x4b353e(0xb8)][_0x4b353e(0xb2)](_0x4b353e(0xac),(_0x887a8d,_0x93900c)=>{const _0x5a7483=_0x4b353e;_0x887a8d[_0x5a7483(0xc5)]==this[_0x5a7483(0xd5)][_0x5a7483(0xad)][_0x5a7483(0xb9)]&&(this[_0x5a7483(0x9f)](),_0x93900c());});}[_0x312505(0xcb)](){const _0x5a2c6c=_0x312505,_0xcf9f4b=new _0x5e483c(this[_0x5a2c6c(0xa6)]),_0xffa4aa=this[_0x5a2c6c(0xa6)];return _0xcf9f4b[_0x5a2c6c(0xb2)]({'icon':_0x5aac3e,'label':_0x3446aa(_0xffa4aa,_0x5a2c6c(0xbd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5a2c6c(0xcc)}),_0xcf9f4b['on'](_0x5a2c6c(0xc4),()=>{const _0x8bd88=_0x5a2c6c;this[_0x8bd88(0x9f)]();}),_0xcf9f4b[_0x5a2c6c(0xd2)](_0x5a2c6c(0xc2))['to'](this[_0x5a2c6c(0xd5)][_0x5a2c6c(0xad)],_0x5a2c6c(0xab),this,_0x5a2c6c(0xc2),(_0x24a472,_0x29fb73)=>!_0x24a472&&_0x29fb73),_0xcf9f4b;}[_0x312505(0xd4)](){const _0x4f7469=_0x312505,_0x2f505c=new _0x5e483c(this[_0x4f7469(0xa6)]),_0x98c1f=this[_0x4f7469(0xb3)],_0x12f3e9=this[_0x4f7469(0xa6)];_0x2f505c[_0x4f7469(0xb2)]({'label':_0x3446aa(_0x12f3e9,_0x4f7469(0xa5)),'withText':!0x1,'icon':_0x56d90f,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4f7469(0xc0)}),_0x2f505c[_0x4f7469(0xd2)](_0x4f7469(0xa7))['to'](_0x98c1f,_0x4f7469(0xbc)),_0x2f505c[_0x4f7469(0xd2)](_0x4f7469(0xc2))['to'](this,_0x4f7469(0xc2)),_0x2f505c['on'](_0x4f7469(0xc4),()=>{const _0x314a7f=_0x4f7469;_0x98c1f[_0x314a7f(0xbc)]=!_0x98c1f[_0x314a7f(0xbc)],_0x98c1f[_0x314a7f(0xbc)]?this[_0x314a7f(0xbb)][_0x314a7f(0xce)]():this[_0x314a7f(0xce)]();});const _0x56e34d=()=>{const _0x41fd6b=_0x4f7469;_0x40d83b[_0x41fd6b(0xd6)][_0x41fd6b(0xcd)](()=>{const _0x59f5e7=_0x41fd6b;if(_0x20f274(this[_0x59f5e7(0xb9)])){const _0x83cd9a=new _0x5e356e(this[_0x59f5e7(0xd5)][_0x59f5e7(0xad)][_0x59f5e7(0xb9)]),_0x5d99ea=_0x83cd9a[_0x59f5e7(0xb5)],_0x1f3275=_0x59f5e7(0xa1)===_0x12f3e9[_0x59f5e7(0xca)]?_0x59f5e7(0xaa):_0x59f5e7(0xc3);_0x83cd9a[_0x59f5e7(0xaf)](),_0x2f505c[_0x59f5e7(0xb9)][_0x59f5e7(0x9e)][_0x1f3275]=_0x5d99ea-_0x83cd9a[_0x59f5e7(0xb5)]+0x1+'px';}});};return this[_0x4f7469(0xd5)][_0x4f7469(0xad)]['on'](_0x4f7469(0x9d),_0x56e34d),this['on'](_0x4f7469(0xa2),_0x56e34d),_0x2f505c;}[_0x312505(0x9f)](){const _0x5ebff3=_0x312505,_0x9dbaf9=this[_0x5ebff3(0xd5)][_0x5ebff3(0xad)][_0x5ebff3(0xb9)][_0x5ebff3(0xb4)];this[_0x5ebff3(0xba)](_0x5ebff3(0x9f),_0x9dbaf9);}[_0x312505(0xce)](_0x182c6d){const _0x8f66ca=_0x312505;-0x1===_0x182c6d?this[_0x8f66ca(0xa8)][_0x8f66ca(0xd3)]():this[_0x8f66ca(0xa8)][_0x8f66ca(0xb6)]();}}
|