@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.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/package.json +16 -16
- 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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +21 -14
- 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/ui/aichatballoonview.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/aichatfeedcustomelementview.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/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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/aicore/utils/scrollmanager.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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4da624=_0x388c;(function(_0x39ad95,_0x4872ec){var _0x52c3da=_0x388c,_0x5a0cbf=_0x39ad95();while(!![]){try{var _0x41a534=-parseInt(_0x52c3da(0x1bb))/0x1+parseInt(_0x52c3da(0x1c0))/0x2*(parseInt(_0x52c3da(0x1b4))/0x3)+parseInt(_0x52c3da(0x1b0))/0x4+parseInt(_0x52c3da(0x1bd))/0x5*(-parseInt(_0x52c3da(0x1b1))/0x6)+-parseInt(_0x52c3da(0x1bc))/0x7+parseInt(_0x52c3da(0x1be))/0x8*(parseInt(_0x52c3da(0x1bf))/0x9)+parseInt(_0x52c3da(0x1ad))/0xa*(parseInt(_0x52c3da(0x1b5))/0xb);if(_0x41a534===_0x4872ec)break;else _0x5a0cbf['push'](_0x5a0cbf['shift']());}catch(_0x404eb7){_0x5a0cbf['push'](_0x5a0cbf['shift']());}}}(_0x32df,0xcb766));import{Plugin as _0x34ea2f}from'ckeditor5/src/core.js';function _0x388c(_0x1dfa20,_0x263cc6){var _0x32dfe1=_0x32df();return _0x388c=function(_0x388c90,_0x141d12){_0x388c90=_0x388c90-0x1ad;var _0xe33eff=_0x32dfe1[_0x388c90];return _0xe33eff;},_0x388c(_0x1dfa20,_0x263cc6);}import{CKEditorError as _0x449c2e}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x34ea2f{static get[_0x4da624(0x1b3)](){var _0x1ee3f7=_0x4da624;return _0x1ee3f7(0x1b9);}static get[_0x4da624(0x1ba)](){return!0x0;}static get[_0x4da624(0x1ae)](){return!0x0;}[_0x4da624(0x1b8)](){var _0x26f37a=_0x4da624;if(!this[_0x26f37a(0x1b7)])throw new _0x449c2e(_0x26f37a(0x1b2),null);}}function _0x32df(){var _0x2167a3=['name','textAdapter','afterInit','AIAdapter','isOfficialPlugin','972414vFRDBL','10470544cXnPKn','38855zMcxWm','272NvWQqH','376398MHfNjL','1079112vEduSW','10FqOtiB','isPremiumPlugin','AIRequestError','3178296dslxVB','138snnerB','aiadapter-text-adapter-not-set','pluginName','3ntQGTc','7966673RObVXH'];_0x32df=function(){return _0x2167a3;};return _0x32df();}export class AIRequestError extends Error{constructor(_0x53a9ed){var _0x2b9cec=_0x4da624;super(_0x53a9ed),this[_0x2b9cec(0x1b6)]=_0x2b9cec(0x1af);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x390637=_0x386e;function _0x1e61(){const _0x141044=['error','name','editor','requires','plugins','222SKMwxE','signal','aborted','AI_ERROR_GET_HEADERS','assign','application/json','66277xhCJFd','get','7325712xDsOoU','310690jihOiO','abortController','AI_ERROR_GET_PARAMETERS','146uUiEuv','1190145uChTmH','27041JrBfHB','abort','41754UJnXny','resolve','init','catch','reject','makeRequest','locale','1718108RYXrys','_prepareRequestParameters','textAdapter','aitextadapter-send-request-failed','object','AbortError','_prepareRequestHeaders','648bAWaVG','sendRequest'];_0x1e61=function(){return _0x141044;};return _0x1e61();}(function(_0xed11a5,_0x1cf42f){const _0x1aee56=_0x386e,_0x23a91c=_0xed11a5();while(!![]){try{const _0x5a01e4=parseInt(_0x1aee56(0xeb))/0x1+-parseInt(_0x1aee56(0xcc))/0x2*(-parseInt(_0x1aee56(0xd0))/0x3)+parseInt(_0x1aee56(0xd7))/0x4+parseInt(_0x1aee56(0xcd))/0x5+parseInt(_0x1aee56(0xe5))/0x6*(parseInt(_0x1aee56(0xce))/0x7)+parseInt(_0x1aee56(0xed))/0x8+parseInt(_0x1aee56(0xde))/0x9*(-parseInt(_0x1aee56(0xee))/0xa);if(_0x5a01e4===_0x1cf42f)break;else _0x23a91c['push'](_0x23a91c['shift']());}catch(_0x3db95b){_0x23a91c['push'](_0x23a91c['shift']());}}}(_0x1e61,0x8b884));import{Plugin as _0x307663}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d58d3}from'ckeditor5/src/utils.js';import{AIAdapter as _0x31d20b,AIRequestError as _0x303480}from'./aiadapter.js';import{getTranslation as _0x90e1fa}from'../utils/common-translations.js';function _0x386e(_0x46a32f,_0x24be19){const _0x1e615f=_0x1e61();return _0x386e=function(_0x386eda,_0x2f8cc2){_0x386eda=_0x386eda-0xca;let _0x14d6a1=_0x1e615f[_0x386eda];return _0x14d6a1;},_0x386e(_0x46a32f,_0x24be19);}export class AITextAdapter extends _0x307663{[_0x390637(0xca)];static get[_0x390637(0xe3)](){return[_0x31d20b];}constructor(_0x45212a){const _0x408120=_0x390637;super(_0x45212a),this[_0x408120(0xca)]=new AbortController();}[_0x390637(0xd2)](){const _0x3c701f=_0x390637;this[_0x3c701f(0xe2)][_0x3c701f(0xe4)][_0x3c701f(0xec)](_0x31d20b)[_0x3c701f(0xd9)]=this;}[_0x390637(0xcf)](){const _0x1bc2a9=_0x390637;this[_0x1bc2a9(0xca)][_0x1bc2a9(0xe6)][_0x1bc2a9(0xe7)]||(this[_0x1bc2a9(0xca)][_0x1bc2a9(0xcf)](),this[_0x1bc2a9(0xca)]=new AbortController());}async[_0x390637(0xd5)](_0x38eaa2){const _0x4bf7ce=_0x390637;return this[_0x4bf7ce(0xdf)](_0x38eaa2)[_0x4bf7ce(0xd3)](_0x42acc1=>{const _0xe7e646=_0x4bf7ce;if(_0x42acc1 instanceof _0x303480)return Promise[_0xe7e646(0xd4)](_0x42acc1);if(_0xe7e646(0xdc)==_0x42acc1[_0xe7e646(0xe1)])return Promise[_0xe7e646(0xd1)]();throw console[_0xe7e646(0xe0)](_0x42acc1),new _0x3d58d3(_0xe7e646(0xda),null);});}async[_0x390637(0xdd)](_0x14ece4,_0x274037){const _0x23c864=_0x390637,_0x56c899=this[_0x23c864(0xe2)][_0x23c864(0xd6)],_0xac3fc7={'Content-Type':_0x23c864(0xea)};if(_0x23c864(0xdb)==typeof _0x14ece4)Object[_0x23c864(0xe9)](_0xac3fc7,_0x14ece4);else{if(_0x14ece4)try{const _0x1ee497=await _0x14ece4(_0x274037);Object[_0x23c864(0xe9)](_0xac3fc7,_0x1ee497);}catch{return Promise[_0x23c864(0xd4)](new _0x303480(_0x90e1fa(_0x56c899,_0x23c864(0xe8))));}}return _0xac3fc7;}async[_0x390637(0xd8)](_0x28b1de,_0x4fe919){const _0x2d56e4=_0x390637,_0x218472=this[_0x2d56e4(0xe2)][_0x2d56e4(0xd6)];if(_0x2d56e4(0xdb)==typeof _0x28b1de)return _0x28b1de;try{return await _0x28b1de(_0x4fe919);}catch{return Promise[_0x2d56e4(0xd4)](new _0x303480(_0x90e1fa(_0x218472,_0x2d56e4(0xcb))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x58577f=_0x48ea;function _0x598c(){var _0x4fc130=['1279320zUNgJw','ai-aws-adapter-not-supported','1115778dIUUbm','AWSTextAdapter','sendRequest','pluginName','locale','2070735pdCsGZ','init','4295242YnyXOv','AI_ERROR_AWS_NOT_SUPPORTED','32KvTLly','485999bTOMUj','172041ESjtzb','editor','8221664QDhthd'];_0x598c=function(){return _0x4fc130;};return _0x598c();}(function(_0x3afd08,_0x2cbaf9){var _0x456236=_0x48ea,_0x42e0b7=_0x3afd08();while(!![]){try{var _0x1f50fc=-parseInt(_0x456236(0x191))/0x1+parseInt(_0x456236(0x197))/0x2+-parseInt(_0x456236(0x192))/0x3*(-parseInt(_0x456236(0x190))/0x4)+parseInt(_0x456236(0x19c))/0x5+-parseInt(_0x456236(0x195))/0x6+parseInt(_0x456236(0x19e))/0x7+-parseInt(_0x456236(0x194))/0x8;if(_0x1f50fc===_0x2cbaf9)break;else _0x42e0b7['push'](_0x42e0b7['shift']());}catch(_0x486b6c){_0x42e0b7['push'](_0x42e0b7['shift']());}}}(_0x598c,0x4d833));import{AITextAdapter as _0x303105}from'./aitextadapter.js';import{AIRequestError as _0x1473d1}from'./aiadapter.js';import{getTranslation as _0x2fc073}from'../utils/common-translations.js';function _0x48ea(_0x1caa4c,_0x5ced2e){var _0x598c3f=_0x598c();return _0x48ea=function(_0x48ea4f,_0xe548b){_0x48ea4f=_0x48ea4f-0x18f;var _0x45483e=_0x598c3f[_0x48ea4f];return _0x45483e;},_0x48ea(_0x1caa4c,_0x5ced2e);}import{logWarning as _0x5e489c,logError as _0x234bf3}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x303105{static get[_0x58577f(0x19a)](){var _0x4dcb90=_0x58577f;return _0x4dcb90(0x198);}[_0x58577f(0x19d)](){var _0xfba4e=_0x58577f;super[_0xfba4e(0x19d)](),_0x5e489c(_0xfba4e(0x196));}async[_0x58577f(0x199)](_0x418bee){var _0x19a3e9=_0x58577f;throw _0x234bf3(_0x19a3e9(0x196)),new _0x1473d1(_0x2fc073(this[_0x19a3e9(0x193)][_0x19a3e9(0x19b)],_0x19a3e9(0x18f)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2024(_0x356167,_0x4b6bf1){const _0x2b0057=_0x2b00();return _0x2024=function(_0x20242d,_0x686dcd){_0x20242d=_0x20242d-0x193;let _0x3e7c5d=_0x2b0057[_0x20242d];return _0x3e7c5d;},_0x2024(_0x356167,_0x4b6bf1);}const _0x2b0a04=_0x2024;(function(_0x59d2f5,_0x352c9d){const _0x3c76d5=_0x2024,_0x34edbf=_0x59d2f5();while(!![]){try{const _0x352d93=-parseInt(_0x3c76d5(0x1ae))/0x1*(-parseInt(_0x3c76d5(0x1b3))/0x2)+-parseInt(_0x3c76d5(0x1b7))/0x3*(-parseInt(_0x3c76d5(0x1a8))/0x4)+parseInt(_0x3c76d5(0x1aa))/0x5+parseInt(_0x3c76d5(0x19f))/0x6*(parseInt(_0x3c76d5(0x1d3))/0x7)+-parseInt(_0x3c76d5(0x1cc))/0x8+-parseInt(_0x3c76d5(0x1d0))/0x9+-parseInt(_0x3c76d5(0x1b6))/0xa;if(_0x352d93===_0x352c9d)break;else _0x34edbf['push'](_0x34edbf['shift']());}catch(_0x5a7c50){_0x34edbf['push'](_0x34edbf['shift']());}}}(_0x2b00,0x65a79));import{AITextAdapter as _0x2151b4}from'./aitextadapter.js';import{AIRequestError as _0x5cdc34}from'./aiadapter.js';function _0x2b00(){const _0x2bce1e=['context_length_exceeded','[DONE]','Instruction:\x0a','_apiUrl','get','gpt-4o','reject','31074vxmgSR','prepareMessages','replace','AI_ERROR_CONTEXT_LENGTH','body','signal','ai.assistant.adapter.openAI.requestHeaders','stringify','read','881792zKgLii','parse','2863815MlVWkK','user','system','data:\x20','284729mjhvbW','POST','message','OpenAITextAdapter','choices','2wyhsbB','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','1163150zFFvBp','3plgghw','_requestParameters','stream','sendRequest','length','https://api.openai.com/v1/chat/completions','_cleanUpData','includes','decode','split','_isBufferIncomplete','_readStreamableResponse','content','_requestHeaders','getReader','Moderation','map','config','AI_ERROR_MODERATION','pluginName','resolve','5972552jMztlC','_prepareRequestParameters','text','json','4061097nUszFB','editor','ai.assistant.adapter.openAI.apiUrl','882JHJCHc','_readStaticResponse','ai.assistant.adapter.openAI.requestParameters','filter','define','delta','abortController','locale','_prepareRequestHeaders','join','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'];_0x2b00=function(){return _0x2bce1e;};return _0x2b00();}import{getTranslation as _0x18d99d}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x2151b4{[_0x2b0a04(0x19b)];[_0x2b0a04(0x1c4)];[_0x2b0a04(0x1b8)];static get[_0x2b0a04(0x1ca)](){const _0x491836=_0x2b0a04;return _0x491836(0x1b1);}constructor(_0x5f0f0c){const _0x187678=_0x2b0a04;super(_0x5f0f0c),_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x1d7)](_0x187678(0x1d2),_0x187678(0x1bc)),_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1d5))||_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x1d7)](_0x187678(0x1d5),{'model':_0x187678(0x19d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x187678(0x19b)]=_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1d2)),this[_0x187678(0x1c4)]=_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1a5))||{},this[_0x187678(0x1b8)]=_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1d5));}async[_0x2b0a04(0x1ba)]({query:_0x2553b5,context:_0x4a7ec0,onData:_0x255c79,actionId:_0x170990}){const _0x5d6677=_0x2b0a04,_0xfc29bb=this[_0x5d6677(0x1d1)][_0x5d6677(0x194)],_0x48c323=await this[_0x5d6677(0x1a0)](_0x2553b5,_0x4a7ec0,_0x170990),_0x3fd9fb=await this[_0x5d6677(0x195)](this[_0x5d6677(0x1c4)],_0x170990),_0x4df977=await this[_0x5d6677(0x1cd)](this[_0x5d6677(0x1b8)],_0x170990),_0x58d016={'messages':_0x48c323,..._0x4df977},_0x1afa10={'method':_0x5d6677(0x1af),'headers':_0x3fd9fb,'body':JSON[_0x5d6677(0x1a6)](_0x58d016),'signal':this[_0x5d6677(0x193)][_0x5d6677(0x1a4)]},_0x160188=await fetch(this[_0x5d6677(0x19b)],_0x1afa10);if(_0x160188['ok'])return _0x4df977[_0x5d6677(0x1b9)]?await this[_0x5d6677(0x1c2)](_0x160188,_0x255c79):await this[_0x5d6677(0x1d4)](_0x160188,_0x255c79),Promise[_0x5d6677(0x1cb)]();{const _0xf2ffc3=await _0x160188[_0x5d6677(0x1ce)]();return _0xf2ffc3[_0x5d6677(0x1be)](_0x5d6677(0x198))?Promise[_0x5d6677(0x19e)](new _0x5cdc34(_0x18d99d(_0xfc29bb,_0x5d6677(0x1a2)))):_0xf2ffc3[_0x5d6677(0x1be)](_0x5d6677(0x1c6))?Promise[_0x5d6677(0x19e)](new _0x5cdc34(_0x18d99d(_0xfc29bb,_0x5d6677(0x1c9)))):Promise[_0x5d6677(0x19e)](new Error(_0xf2ffc3));}}async[_0x2b0a04(0x1a0)](_0x196b6c,_0x47f0c8,_0x531ab7){const _0x4d0c0e=_0x2b0a04;let _0x4be891,_0x11d728;return _0x47f0c8?(_0x4be891=_0x4d0c0e(0x1b4),_0x11d728=_0x4d0c0e(0x19a)+_0x196b6c+_0x4d0c0e(0x197)+_0x47f0c8):(_0x4be891=_0x4d0c0e(0x1b5),_0x11d728=_0x196b6c),[{'role':_0x4d0c0e(0x1ac),'content':_0x4be891},{'role':_0x4d0c0e(0x1ab),'content':_0x11d728}];}async[_0x2b0a04(0x1c2)](_0x364947,_0x32f8bc){const _0x5b6b54=_0x2b0a04,_0x81d46a=_0x364947[_0x5b6b54(0x1a3)][_0x5b6b54(0x1c5)](),_0x575cad=new TextDecoder();let _0x2278c2='',_0x387d33='',_0x452b6f='',_0x5a70e3=!0x1;for(;!_0x5a70e3;){const {done:_0x3d4a60,value:_0x85a93c}=await _0x81d46a[_0x5b6b54(0x1a7)](),_0xb945c4=_0x2278c2+_0x575cad[_0x5b6b54(0x1bf)](_0x85a93c);let _0xf2fc5d='';_0x5a70e3=_0x3d4a60;try{_0xf2fc5d=this[_0x5b6b54(0x1bd)](_0xb945c4),_0x2278c2='';}catch{_0x2278c2=_0xb945c4;continue;}_0x387d33+=_0xf2fc5d,!_0x5a70e3&&this[_0x5b6b54(0x1c1)](_0x387d33)||_0x387d33&&(_0x452b6f+=_0x387d33,_0x387d33='',_0x32f8bc(_0x452b6f));}return Promise[_0x5b6b54(0x1cb)]();}async[_0x2b0a04(0x1d4)](_0x12571d,_0x319220){const _0x5d1ffa=_0x2b0a04;return _0x319220((await _0x12571d[_0x5d1ffa(0x1cf)]())[_0x5d1ffa(0x1b2)][0x0][_0x5d1ffa(0x1b0)][_0x5d1ffa(0x1c3)]),Promise[_0x5d1ffa(0x1cb)]();}[_0x2b0a04(0x1c1)](_0x3488e9){const _0x37acbd=_0x2b0a04,_0x2e9d01=_0x3488e9[_0x37acbd(0x1c0)]('<')[_0x37acbd(0x1bb)]!==_0x3488e9[_0x37acbd(0x1c0)]('>')[_0x37acbd(0x1bb)],_0x51d667=_0x3488e9[_0x37acbd(0x1bb)]<0x1e;return _0x2e9d01&&_0x51d667;}[_0x2b0a04(0x1bd)](_0x1f6128){const _0x3ca695=_0x2b0a04;return _0x1f6128[_0x3ca695(0x1c0)](/\n(?![^{]*\})/g)[_0x3ca695(0x1c7)](_0x11565c=>_0x11565c[_0x3ca695(0x1a1)](_0x3ca695(0x1ad),''))[_0x3ca695(0x1d6)](_0x4a4a26=>_0x4a4a26&&_0x4a4a26[_0x3ca695(0x1bb)]>0x0&&_0x3ca695(0x199)!==_0x4a4a26)[_0x3ca695(0x1c7)](_0x4fad76=>{const _0x1f2992=_0x3ca695,{choices:_0x5dc07e}=JSON[_0x1f2992(0x1a9)](_0x4fad76);if(_0x5dc07e[0x0]?.[_0x1f2992(0x1d8)]?.[_0x1f2992(0x1c3)])return _0x5dc07e[0x0][_0x1f2992(0x1d8)][_0x1f2992(0x1c3)];})[_0x3ca695(0x1d6)](_0x44e734=>_0x44e734)[_0x3ca695(0x196)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2f14a9=_0x5dc7;(function(_0x104940,_0x515ef8){const _0x3a3818=_0x5dc7,_0x471ebd=_0x104940();while(!![]){try{const _0x5a40f1=-parseInt(_0x3a3818(0x192))/0x1*(parseInt(_0x3a3818(0x141))/0x2)+-parseInt(_0x3a3818(0x15d))/0x3+parseInt(_0x3a3818(0x18f))/0x4*(parseInt(_0x3a3818(0x19b))/0x5)+-parseInt(_0x3a3818(0x153))/0x6*(parseInt(_0x3a3818(0x18d))/0x7)+-parseInt(_0x3a3818(0x169))/0x8+-parseInt(_0x3a3818(0x1a1))/0x9*(-parseInt(_0x3a3818(0x16c))/0xa)+-parseInt(_0x3a3818(0x170))/0xb*(-parseInt(_0x3a3818(0x185))/0xc);if(_0x5a40f1===_0x515ef8)break;else _0x471ebd['push'](_0x471ebd['shift']());}catch(_0x313ab4){_0x471ebd['push'](_0x471ebd['shift']());}}}(_0x2abf,0xe9cea));import{Plugin as _0x5d2045}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x300985}from'./aiassistantui.js';import{AIAssistantEditing as _0x54f326}from'./aiassistantediting.js';import{getTranslation as _0x57244a}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1981b5}from'./utils/normalizecommandsconfig.js';function _0x5dc7(_0x18b45a,_0x275140){const _0x2abf08=_0x2abf();return _0x5dc7=function(_0x5dc76a,_0x297de2){_0x5dc76a=_0x5dc76a-0x133;let _0x3e1e0b=_0x2abf08[_0x5dc76a];return _0x3e1e0b;},_0x5dc7(_0x18b45a,_0x275140);}function _0x2abf(){const _0x3a325e=['Hindi','German','push','Arabic','English','business','makeShorter','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Make\x20shorter','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Journalism','continue','get','translateFrench','legal','ai.assistant.removeCommands','concat','locale','876vhhpNf','Spanish','translateSpanish','Simplified\x20Chinese','commands','changeStyle','Translate\x20the\x20content\x20to\x20German\x20language.','casual','28RSiLTN','translateEnglish','290148KoghRz','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','direct','1zmoFUJ','Portuguese','Translate\x20the\x20content\x20to\x20Hindi\x20language.','filter','Translate\x20the\x20content\x20to\x20Spanish\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.','Continue','makeLonger','French','65qAaWuM','Poetic','Business','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Summarize','confident','1347606dmKVrN','find','Generate\x20from\x20selection','Change\x20style','pluginName','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','config','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Simplify\x20language','forEach','friendly','Direct','Confident','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Change\x20tone','327386BANhHh','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','poetic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translatePortuguese','translateArabic','improveWriting','set','requires','journalism','translate','translateChinese','Casual','ai.assistant.commands','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','changeTone','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','70734FPVTMQ','ai.assistant.extraCommandGroups','summarize','generate','isOfficialPlugin','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20writing','simplifyLanguage','define','includes','5657934VdRQpB','professional','Translate','translateGerman','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateHindi','Make\x20longer','Professional','AIAssistant','editOrReview','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Friendly','8702840EkDcia','groupId','Translate\x20the\x20content\x20to\x20English\x20language.','70GMVUvm','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.assistant.preserveComments','Translate\x20the\x20content\x20to\x20French\x20language.','324159KqYijC','Legal'];_0x2abf=function(){return _0x3a325e;};return _0x2abf();}export class AIAssistant extends _0x5d2045{static get[_0x2f14a9(0x149)](){return[_0x300985,_0x54f326];}static get[_0x2f14a9(0x134)](){const _0x28bb6e=_0x2f14a9;return _0x28bb6e(0x165);}static get[_0x2f14a9(0x157)](){return!0x0;}static get[_0x2f14a9(0x14f)](){return!0x0;}constructor(_0x39f769){const _0x3628ae=_0x2f14a9;super(_0x39f769);const _0x1cf367=_0x39f769[_0x3628ae(0x138)],_0x2db5e=_0x39f769[_0x3628ae(0x184)];_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x16e),!0x0),_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x14e),getDefaultAICommands(_0x2db5e)),_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x154),[]),_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x182),[]);let _0x20fb40=_0x1981b5(_0x1cf367[_0x3628ae(0x17f)](_0x3628ae(0x14e)),_0x2db5e);const _0x2149ed=_0x1cf367[_0x3628ae(0x17f)](_0x3628ae(0x154)),_0x43c2a9=_0x1cf367[_0x3628ae(0x17f)](_0x3628ae(0x182));_0x2149ed[_0x3628ae(0x13b)](_0x1f5563=>{const _0x5b4074=_0x3628ae,_0x5af7e0=_0x20fb40[_0x5b4074(0x1a2)](_0x7e96d2=>_0x7e96d2[_0x5b4074(0x16a)]===_0x1f5563[_0x5b4074(0x16a)]);_0x5af7e0?_0x5af7e0[_0x5b4074(0x189)]=_0x5af7e0[_0x5b4074(0x189)][_0x5b4074(0x183)](_0x1f5563[_0x5b4074(0x189)]):_0x20fb40[_0x5b4074(0x174)](_0x1f5563);}),_0x20fb40=_0x20fb40[_0x3628ae(0x195)](_0x691857=>!_0x43c2a9[_0x3628ae(0x15c)](_0x691857[_0x3628ae(0x16a)])),_0x20fb40[_0x3628ae(0x13b)](_0x1dc221=>{const _0x4e6044=_0x3628ae;_0x1dc221[_0x4e6044(0x189)]=_0x1dc221[_0x4e6044(0x189)][_0x4e6044(0x195)](_0xef4997=>!_0x43c2a9[_0x4e6044(0x15c)](_0xef4997['id']));}),_0x1cf367[_0x3628ae(0x148)](_0x3628ae(0x14e),_0x20fb40);}}export function getDefaultAICommands(_0x4377ef){const _0x37de86=_0x2f14a9;return[{'groupId':_0x37de86(0x166),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x136)),'commands':[{'id':_0x37de86(0x147),'label':_0x57244a(_0x4377ef,_0x37de86(0x159)),'prompt':_0x37de86(0x152)},{'id':_0x37de86(0x178),'label':_0x57244a(_0x4377ef,_0x37de86(0x17b)),'prompt':_0x37de86(0x190)},{'id':_0x37de86(0x199),'label':_0x57244a(_0x4377ef,_0x37de86(0x163)),'prompt':_0x37de86(0x139)},{'id':_0x37de86(0x15a),'label':_0x57244a(_0x4377ef,_0x37de86(0x13a)),'prompt':_0x37de86(0x167)}]},{'groupId':_0x37de86(0x156),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x1a3)),'commands':[{'id':_0x37de86(0x155),'label':_0x57244a(_0x4377ef,_0x37de86(0x19f)),'prompt':_0x37de86(0x197)},{'id':_0x37de86(0x17e),'label':_0x57244a(_0x4377ef,_0x37de86(0x198)),'prompt':_0x37de86(0x16d)}]},{'groupId':_0x37de86(0x151),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x140)),'commands':[{'id':_0x37de86(0x15e),'label':_0x57244a(_0x4377ef,_0x37de86(0x164)),'prompt':_0x37de86(0x158)},{'id':_0x37de86(0x18c),'label':_0x57244a(_0x4377ef,_0x37de86(0x14d)),'prompt':_0x37de86(0x17c)},{'id':_0x37de86(0x191),'label':_0x57244a(_0x4377ef,_0x37de86(0x13d)),'prompt':_0x37de86(0x19e)},{'id':_0x37de86(0x1a0),'label':_0x57244a(_0x4377ef,_0x37de86(0x13e)),'prompt':_0x37de86(0x135)},{'id':_0x37de86(0x13c),'label':_0x57244a(_0x4377ef,_0x37de86(0x168)),'prompt':_0x37de86(0x179)}]},{'groupId':_0x37de86(0x18a),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x133)),'commands':[{'id':_0x37de86(0x177),'label':_0x57244a(_0x4377ef,_0x37de86(0x19d)),'prompt':_0x37de86(0x161)},{'id':_0x37de86(0x181),'label':_0x57244a(_0x4377ef,_0x37de86(0x171)),'prompt':_0x37de86(0x13f)},{'id':_0x37de86(0x14a),'label':_0x57244a(_0x4377ef,_0x37de86(0x17d)),'prompt':_0x37de86(0x142)},{'id':_0x37de86(0x143),'label':_0x57244a(_0x4377ef,_0x37de86(0x19c)),'prompt':_0x37de86(0x144)}]},{'groupId':_0x37de86(0x14b),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x15f)),'commands':[{'id':_0x37de86(0x18e),'label':_0x57244a(_0x4377ef,_0x37de86(0x176)),'prompt':_0x37de86(0x16b)},{'id':_0x37de86(0x187),'label':_0x57244a(_0x4377ef,_0x37de86(0x186)),'prompt':_0x37de86(0x196)},{'id':_0x37de86(0x145),'label':_0x57244a(_0x4377ef,_0x37de86(0x193)),'prompt':_0x37de86(0x137)},{'id':_0x37de86(0x160),'label':_0x57244a(_0x4377ef,_0x37de86(0x173)),'prompt':_0x37de86(0x18b)},{'id':_0x37de86(0x180),'label':_0x57244a(_0x4377ef,_0x37de86(0x19a)),'prompt':_0x37de86(0x16f)},{'id':_0x37de86(0x14c),'label':_0x57244a(_0x4377ef,_0x37de86(0x188)),'prompt':_0x37de86(0x150)},{'id':_0x37de86(0x162),'label':_0x57244a(_0x4377ef,_0x37de86(0x172)),'prompt':_0x37de86(0x194)},{'id':_0x37de86(0x146),'label':_0x57244a(_0x4377ef,_0x37de86(0x175)),'prompt':_0x37de86(0x17a)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32df8a=_0x163b;(function(_0x3e4770,_0x2f2ef8){const _0x2f4dd7=_0x163b,_0x475b14=_0x3e4770();while(!![]){try{const _0x3cab34=-parseInt(_0x2f4dd7(0x201))/0x1+-parseInt(_0x2f4dd7(0x20e))/0x2*(parseInt(_0x2f4dd7(0x1d0))/0x3)+-parseInt(_0x2f4dd7(0x1d8))/0x4*(parseInt(_0x2f4dd7(0x1ed))/0x5)+-parseInt(_0x2f4dd7(0x1f7))/0x6+parseInt(_0x2f4dd7(0x1da))/0x7*(parseInt(_0x2f4dd7(0x210))/0x8)+-parseInt(_0x2f4dd7(0x1d4))/0x9+parseInt(_0x2f4dd7(0x214))/0xa;if(_0x3cab34===_0x2f2ef8)break;else _0x475b14['push'](_0x475b14['shift']());}catch(_0x2198f6){_0x475b14['push'](_0x475b14['shift']());}}}(_0x1f06,0x8ca7c));import{uid as _0x3f38ab}from'ckeditor5/src/utils.js';import{Plugin as _0x55c7a1}from'ckeditor5/src/core.js';function _0x1f06(){const _0x293154=['AIAssistantEditing','paste','getSelectedTableCells','table','getChild','getRanges','ai-ui','_prepareTableInsertBelowPosition','getRowIndexes','42RnaAds','getLastPosition','1360168jczfQG','addClass','createSelection','fire','41805960JHIJLB','init','removeMarker','first','once','_getAISelection','markers','getChildren','selection','createPositionAfter','last','plugins','schema','updateMarker','resultRange','span','getRange','_resetContentOfSelectedTableCells','text/html','for','filter','ck-fake-ai-selection_collapsed','markerToElement','editor','end','from','TableUtils','addMarker','deleteContent','insertContent','ai.assistant.useTheme','ck-ai-assistant-ui_theme','data','markerToHighlight','start','document','join','change','_pasteHTMLUsingClipboard','isCollapsed','showFakeVisualSelection','fromCharCode','143121VjHaxD','isOfficialPlugin','hideFakeVisualSelection','forEach','10089567JwaFnD','editingDowncast','setSelection','_createEmptyTableRows','310664OjhDkG','element','42gwPfHq','getLastMatchingPosition','setData','model','has','createUIElement','getRows','push','getFirstRange','off','lowest','getMarkersGroup','createPositionAt','isAtEnd','length','getSelectedBlocks','markerRange','_getTableRowCountFromContent','insertContentBelow','45bqRVcO','createRange','parse','insertRows','DataTransfer','href','get','isPremiumPlugin','findAncestor','config','6079206QxubOd','_getDefaultInsertBelowPosition','contentInsertion','canEditAt','getColumnIndexes','editing','isContent','ck-fake-ai-selection','map','conversion','789493AgjBdh','pluginName','afterInit','pop'];_0x1f06=function(){return _0x293154;};return _0x1f06();}import{ClipboardPipeline as _0x57480d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x175424,ViewDataTransfer as _0x1eae57}from'ckeditor5/src/engine.js';function _0x163b(_0x47c16f,_0x66ff67){const _0x1f0610=_0x1f06();return _0x163b=function(_0x163b6a,_0xad45e4){_0x163b6a=_0x163b6a-0x1c2;let _0x51680a=_0x1f0610[_0x163b6a];return _0x51680a;},_0x163b(_0x47c16f,_0x66ff67);}const w=globalThis[_0x32df8a(0x1f1)],f=_0x32df8a(0x20b);export class AIAssistantEditing extends _0x55c7a1{static get[_0x32df8a(0x202)](){const _0x3ec7b1=_0x32df8a;return _0x3ec7b1(0x205);}static get[_0x32df8a(0x1d1)](){return!0x0;}static get[_0x32df8a(0x1f4)](){return!0x0;}[_0x32df8a(0x215)](){const _0x452e80=_0x32df8a,{editor:_0x1f0ebb}=this,_0x5bee0b=[_0x452e80(0x1fe)];_0x1f0ebb[_0x452e80(0x1f6)][_0x452e80(0x1f3)](_0x452e80(0x1c4))&&_0x5bee0b[_0x452e80(0x1e1)](_0x452e80(0x1c5)),_0x1f0ebb[_0x452e80(0x200)][_0x452e80(0x227)](_0x452e80(0x1d5))[_0x452e80(0x1c7)]({'model':f,'view':{'classes':_0x5bee0b,'priority':0xc}}),_0x1f0ebb[_0x452e80(0x200)][_0x452e80(0x227)](_0x452e80(0x1d5))[_0x452e80(0x22a)]({'model':f,'view':(_0x4bb39e,{writer:_0x1fd814})=>{const _0x3b3c6e=_0x452e80;if(!_0x4bb39e[_0x3b3c6e(0x1ea)][_0x3b3c6e(0x1cd)])return null;const _0x17fb02=_0x1fd814[_0x3b3c6e(0x1df)](_0x3b3c6e(0x223));return _0x1fd814[_0x3b3c6e(0x211)]([_0x3b3c6e(0x1fe),_0x3b3c6e(0x229)],_0x17fb02),_0x17fb02;}});}[_0x32df8a(0x203)](){!async function(_0x5ea26a){const _0x5714b2=_0x38793e([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]),_0x366459=0x3dffc4e1,_0x4bf32c=0x3df84b21^_0x366459,_0x1a83be=window[_0x38793e([0x44,0x61,0x74,0x65])][_0x38793e([0x6e,0x6f,0x77])](),_0x546650=_0x5ea26a[_0x38793e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xba7772=new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44b157=>{_0x546650[_0x38793e([0x6f,0x6e,0x63,0x65])](_0x38793e([0x72,0x65,0x61,0x64,0x79]),_0x44b157);}),_0x5d67df={[_0x38793e([0x6b,0x74,0x79])]:_0x38793e([0x45,0x43]),[_0x38793e([0x75,0x73,0x65])]:_0x38793e([0x73,0x69,0x67]),[_0x38793e([0x63,0x72,0x76])]:_0x38793e([0x50,0x2d,0x32,0x35,0x36]),[_0x38793e([0x78])]:_0x38793e([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]),[_0x38793e([0x79])]:_0x38793e([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]),[_0x38793e([0x61,0x6c,0x67])]:_0x38793e([0x45,0x53,0x32,0x35,0x36])},_0x1e6adc=_0x546650[_0x38793e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38793e([0x67,0x65,0x74])](_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49647a(){let _0x1ef105,_0x197b46=null,_0x1aaa97=null;try{if(_0x1e6adc==_0x38793e([0x47,0x50,0x4c]))return _0x38793e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ef105=_0x59df53(),!_0x1ef105)return _0x38793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ef105[_0x38793e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1aaa97=_0xc71349(_0x1ef105[_0x38793e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ef105[_0x38793e([0x6a,0x74,0x69])])),await _0x1922bd()?_0x1ae183()?_0x3160d1()?_0x38793e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4bf47b()?(_0x1ef105[_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38793e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x197b46=_0x23e5b8(_0x38793e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19b9af()):_0x38793e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38793e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3160d1(){const _0x1bfc4f=[_0x38793e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38793e([0x74,0x72,0x69,0x61,0x6c])][_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef105[_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a83be/0x3e8:0xe10*_0x4bf32c;return _0x1ef105[_0x38793e([0x65,0x78,0x70])]<_0x1bfc4f;}function _0x1ae183(){const _0x21704d=_0x1ef105[_0x38793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21704d&&(!!_0x21704d[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38793e([0x2a]))||!!_0x21704d[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38793e([0x41,0x49])));}function _0x4bf47b(){const _0x34066d=_0x163b,_0x1ed817=_0x1ef105[_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ed817||0x0==_0x1ed817[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd738c3}=new URL(window[_0x38793e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x34066d(0x1f2)]);if(_0x1ed817[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd738c3))return!0x0;const _0x3e7f9f=_0xd738c3[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e]));return _0x1ed817[_0x38793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x592044=>_0x592044[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38793e([0x2a])))[_0x38793e([0x6d,0x61,0x70])](_0x4f7436=>_0x4f7436[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e])))[_0x38793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x507efb=>_0x507efb[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e7f9f[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38793e([0x6d,0x61,0x70])](_0x346036=>Array(_0x3e7f9f[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x346036[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38793e([0x66,0x69,0x6c,0x6c])](_0x346036[0x0]===_0x38793e([0x2a])?_0x38793e([0x2a]):'')[_0x38793e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x346036))[_0x38793e([0x73,0x6f,0x6d,0x65])](_0x2ef679=>_0x3e7f9f[_0x38793e([0x65,0x76,0x65,0x72,0x79])]((_0xd2e92a,_0x13fc4e)=>_0x2ef679[_0x13fc4e]===_0xd2e92a||_0x2ef679[_0x13fc4e]===_0x38793e([0x2a])));}function _0x19b9af(){return _0x197b46&&_0x1aaa97?new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bc677,_0x4bb231)=>{_0x197b46[_0x38793e([0x74,0x68,0x65,0x6e])](_0x3bc677,_0x4bb231),_0x1aaa97[_0x38793e([0x74,0x68,0x65,0x6e])](_0x3d4b93=>{_0x3d4b93!=_0x38793e([0x56,0x61,0x6c,0x69,0x64])&&_0x3bc677(_0x3d4b93);},_0x4bb231);}):_0x197b46||_0x1aaa97||_0x38793e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc71349(_0x36e864,_0x585380){return new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572534=>{if(_0x5e54f5())return _0x572534(_0x38793e([0x56,0x61,0x6c,0x69,0x64]));_0x332bb4(),_0x546650[_0x38793e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38793e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41fd34=!0x1;const _0x6649b4=_0x3f38ab();function _0x4ebf8e(_0x5c438d){return!!_0x5c438d&&(typeof _0x5c438d===_0x38793e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c438d===_0x38793e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c438d[_0x38793e([0x74,0x68,0x65,0x6e])]===_0x38793e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c438d[_0x38793e([0x63,0x61,0x74,0x63,0x68])]===_0x38793e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d9f63(_0x1daad9){_0x35d18c(_0x1daad9)[_0x38793e([0x74,0x68,0x65,0x6e])](_0x23e842=>{if(!_0x23e842||_0x23e842[_0x38793e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38793e([0x6f,0x6b]))return _0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2164f0(_0x2f875e(_0x6649b4+_0x585380))!=_0x23e842[_0x38793e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38793e([0x56,0x61,0x6c,0x69,0x64]);})[_0x38793e([0x74,0x68,0x65,0x6e])](_0x368265=>(_0x4570ee(),_0x368265),()=>{const _0x17c6a1=_0x3ddab2();return null==_0x17c6a1?(_0x4570ee(),_0x38793e([0x56,0x61,0x6c,0x69,0x64])):_0x38793e(_0x1a83be-_0x17c6a1>(0x19f340e1^_0x366459)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38793e([0x74,0x68,0x65,0x6e])](_0x572534)[_0x38793e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x572534(_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5917da=0x3dc92a61^_0x366459;function _0x4570ee(){const _0x28512b=_0x38793e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2164f0(_0x2f875e(_0x36e864)),_0x5c63cc=_0x9e25f1(_0x2164f0(window[_0x38793e([0x4d,0x61,0x74,0x68])][_0x38793e([0x63,0x65,0x69,0x6c])](_0x1a83be/_0x5917da)));window[_0x38793e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38793e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28512b,_0x5c63cc);}function _0x3ddab2(){const _0x35aa4d=_0x38793e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2164f0(_0x2f875e(_0x36e864)),_0x4c8010=window[_0x38793e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38793e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35aa4d);return _0x4c8010?window[_0x38793e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9e25f1(_0x4c8010),0x10)*_0x5917da:null;}function _0x35d18c(_0x3d27b5){return new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1da33b,_0x3d8579)=>{_0x3d27b5[_0x38793e([0x74,0x68,0x65,0x6e])](_0x1da33b,_0x3d8579),window[_0x38793e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d8579,0x3dfe1021^_0x366459);});}}_0x546650[_0x38793e([0x6f,0x6e])](_0x38793e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x586e6a,_0xe77818)=>{if(_0xe77818[0x0]!=_0x36e864)return _0x572534(_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe77818[0x1]={..._0xe77818[0x1],[_0x38793e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6649b4};},{[_0x38793e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38793e([0x68,0x69,0x67,0x68])}),_0x546650[_0x38793e([0x6f,0x6e])](_0x38793e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x252983=>{_0x4ebf8e(_0x252983[_0x38793e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41fd34=!0x0,_0x4d9f63(_0x252983[_0x38793e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38793e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38793e([0x6c,0x6f,0x77])}),_0xba7772[_0x38793e([0x74,0x68,0x65,0x6e])](()=>{_0x41fd34||_0x572534(_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e54f5(){return _0x546650[_0x38793e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38793e([0x76,0x69,0x65,0x77])][_0x38793e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38793e([0x61,0x75,0x74,0x6f]);}function _0x332bb4(){_0x546650[_0x38793e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38793e([0x76,0x69,0x65,0x77])][_0x38793e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38793e([0x61,0x75,0x74,0x6f]);}}function _0x23e5b8(_0x4040cc){const _0x4fb47f=[new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9a5031=>setTimeout(_0x9a5031,0x3df6fa2d^_0x366459)),_0xba7772[_0x38793e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad92d=>{let _0xbdb9ed=0x0;_0x546650[_0x38793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x38793e([0x6f,0x6e])](_0x38793e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a55fa,_0x3035be)=>{_0x3035be[0x0][_0x38793e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbdb9ed++,_0xbdb9ed==(0x3dffc109^_0x366459)&&(_0x3ad92d(),_0x2a55fa[_0x38793e([0x6f,0x66,0x66])]());});}))];return window[_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38793e([0x72,0x61,0x63,0x65])](_0x4fb47f)[_0x38793e([0x74,0x68,0x65,0x6e])](()=>_0x4040cc);}async function _0x1e8c5c(){await _0xba7772,_0x546650[_0x38793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x38793e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25aefc,_0x546650[_0x38793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x38793e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25aefc,_0x546650[_0x38793e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38793e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ecda5(_0x2fe503){const _0x3fa844=_0x3aaf07();_0x546650[_0x3fa844]=_0x38793e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fe503,_0x2fe503!=_0x38793e([0x56,0x61,0x6c,0x69,0x64])&&_0x1e8c5c();}function _0x3aaf07(){const _0x4f8cf2=window[_0x38793e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38793e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38793e([0x6e,0x6f,0x77])]())[_0x38793e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38793e([0x2e]),'');let _0x2f61cb=_0x38793e([0x6e]);for(let _0x28ed53=0x0;_0x28ed53<_0x4f8cf2[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28ed53+=0x2){let _0x485011=window[_0x38793e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f8cf2[_0x38793e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28ed53,_0x28ed53+0x2));_0x485011>=_0x5714b2[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x485011-=_0x5714b2[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f61cb+=_0x5714b2[_0x485011];}return _0x2f61cb;}function _0x59df53(){const _0x4e7112=_0x1e6adc[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e]));if(0x3!=_0x4e7112[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2cc578(_0x4e7112[0x1]);function _0x2cc578(_0x1c15e2){const _0x1a67b3=_0x33d4d5(_0x1c15e2);return _0x1a67b3&&_0x1a426a()?_0x1a67b3:null;function _0x1a426a(){const _0x1d1d81=_0x1a67b3[_0x38793e([0x6a,0x74,0x69])],_0x3aedfd=window[_0x38793e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d1d81[_0x38793e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d1d81[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x491a45={..._0x1a67b3,[_0x38793e([0x6a,0x74,0x69])]:_0x1d1d81[_0x38793e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d1d81[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x491a45[_0x38793e([0x76,0x63])],_0x2f875e(_0x491a45)==_0x3aedfd;}}}async function _0x1922bd(){let _0x31cf35=!0x0;try{const _0xf5c683=_0x1e6adc[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e])),[_0x5c5263,_0x5ba796,_0x15a30c]=_0xf5c683;return _0x145db5(_0x5c5263),await _0x3dfb5e(_0x5c5263,_0x5ba796,_0x15a30c),_0x31cf35;}catch{return!0x1;}function _0x145db5(_0x10ecb1){const _0x17a3c6=_0x33d4d5(_0x10ecb1);_0x17a3c6&&_0x17a3c6[_0x38793e([0x61,0x6c,0x67])]==_0x38793e([0x45,0x53,0x32,0x35,0x36])||(_0x31cf35=!0x1);}async function _0x3dfb5e(_0x163bcd,_0x1f0a25,_0x27ec44){const _0x1bfcd5=window[_0x38793e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38793e([0x66,0x72,0x6f,0x6d])](_0x2169c6(_0x27ec44),_0x3abaca=>_0x3abaca[_0x38793e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c49f5=new window[(_0x38793e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38793e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x163bcd+_0x38793e([0x2e])+_0x1f0a25),_0xb4d7a2=window[_0x38793e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38793e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb4d7a2)return;const _0x428812=await _0xb4d7a2[_0x38793e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38793e([0x6a,0x77,0x6b]),_0x5d67df,{[_0x38793e([0x6e,0x61,0x6d,0x65])]:_0x38793e([0x45,0x43,0x44,0x53,0x41]),[_0x38793e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38793e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38793e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb4d7a2[_0x38793e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38793e([0x6e,0x61,0x6d,0x65])]:_0x38793e([0x45,0x43,0x44,0x53,0x41]),[_0x38793e([0x68,0x61,0x73,0x68])]:{[_0x38793e([0x6e,0x61,0x6d,0x65])]:_0x38793e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x428812,_0x1bfcd5,_0x1c49f5)||(_0x31cf35=!0x1);}}function _0x33d4d5(_0x1597a5){return _0x1597a5[_0x38793e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38793e([0x65,0x79]))?JSON[_0x38793e([0x70,0x61,0x72,0x73,0x65])](_0x2169c6(_0x1597a5)):null;}function _0x2169c6(_0xdcd6d1){return window[_0x38793e([0x61,0x74,0x6f,0x62])](_0xdcd6d1[_0x38793e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38793e([0x2b]))[_0x38793e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38793e([0x2f])));}function _0x2f875e(_0x108932){let _0x4cf0df=0x1505;function _0x77e9a6(_0x1eb7ef){for(let _0x2f67e4=0x0;_0x2f67e4<_0x1eb7ef[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f67e4++){const _0x529ca1=_0x1eb7ef[_0x38793e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f67e4);_0x4cf0df=(_0x4cf0df<<0x5)+_0x4cf0df+_0x529ca1,_0x4cf0df&=_0x4cf0df;}}function _0xbc1ae4(_0x1c9418){Array[_0x38793e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c9418)?_0x1c9418[_0x38793e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbc1ae4):_0x1c9418&&typeof _0x1c9418==_0x38793e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38793e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c9418)[_0x38793e([0x73,0x6f,0x72,0x74])]()[_0x38793e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44940f,_0x2377f2])=>{_0x77e9a6(_0x44940f),_0xbc1ae4(_0x2377f2);}):_0x77e9a6(window[_0x38793e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c9418));}return _0xbc1ae4(_0x108932),_0x4cf0df>>>0x0;}function _0x2164f0(_0x1acf45){return _0x1acf45[_0x38793e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38793e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38793e([0x30]));}function _0x9e25f1(_0x1ae221){return _0x1ae221[_0x38793e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38793e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38793e([0x6a,0x6f,0x69,0x6e])]('');}function _0x25aefc(){}function _0x38793e(_0x1cf8e8){const _0x47a2b1=_0x163b;return _0x1cf8e8[_0x47a2b1(0x1ff)](_0x861f23=>String[_0x47a2b1(0x1cf)](_0x861f23))[_0x47a2b1(0x1ca)]('');}_0x3ecda5(await _0x49647a());}(this);}[_0x32df8a(0x1ce)](){const _0x588258=_0x32df8a,_0x4aa39a=this[_0x588258(0x22b)][_0x588258(0x1dd)];_0x4aa39a[_0x588258(0x1cb)](_0x3df66e=>{const _0x126326=_0x588258,_0x4cc224=_0x4aa39a[_0x126326(0x1c9)][_0x126326(0x21c)][_0x126326(0x20a)]();let _0x40a50c=0x0;for(const _0x225c8c of _0x4cc224){const _0x213d9c=f+':'+_0x40a50c;if(_0x4aa39a[_0x126326(0x21a)][_0x126326(0x1de)](_0x213d9c))_0x3df66e[_0x126326(0x221)](_0x213d9c,{'range':_0x225c8c});else{if(_0x225c8c[_0x126326(0x1c8)][_0x126326(0x1e7)]){const _0x5b4ff1=_0x225c8c[_0x126326(0x1c8)][_0x126326(0x1db)](({item:_0x1bd10a})=>!_0x4aa39a[_0x126326(0x220)][_0x126326(0x1fd)](_0x1bd10a),{'boundaries':_0x225c8c});_0x3df66e[_0x126326(0x22f)](_0x213d9c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3df66e[_0x126326(0x1ee)](_0x5b4ff1,_0x225c8c[_0x126326(0x22c)])});}else _0x3df66e[_0x126326(0x22f)](_0x213d9c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x225c8c});}_0x40a50c++;}});}[_0x32df8a(0x1d2)](){const _0x1f9ac8=_0x32df8a,_0x59714b=this[_0x1f9ac8(0x22b)][_0x1f9ac8(0x1dd)],_0x105e56=Array[_0x1f9ac8(0x22d)](this[_0x1f9ac8(0x22b)][_0x1f9ac8(0x1dd)][_0x1f9ac8(0x21a)][_0x1f9ac8(0x1e5)](f));_0x105e56[_0x1f9ac8(0x1e8)]&&_0x59714b[_0x1f9ac8(0x1cb)](_0x5bc95f=>{const _0x4f7a5b=_0x1f9ac8;_0x105e56[_0x4f7a5b(0x1d3)](_0x394655=>{const _0x1d4824=_0x4f7a5b;_0x5bc95f[_0x1d4824(0x216)](_0x394655);});});}[_0x32df8a(0x1c3)](_0x390df3,_0x10337d){const _0x5eb150=_0x32df8a,_0x1ff789=this[_0x5eb150(0x219)](),_0x5104ad=_0x10337d||_0x1ff789[_0x5eb150(0x1e2)]();this[_0x5eb150(0x22b)][_0x5eb150(0x1dd)][_0x5eb150(0x1fa)](_0x5104ad)&&this[_0x5eb150(0x22b)][_0x5eb150(0x1dd)][_0x5eb150(0x1cb)](_0x355e4d=>{const _0x5a5fed=_0x5eb150;this[_0x5a5fed(0x1d2)](),_0x10337d||this[_0x5a5fed(0x225)](_0x355e4d,_0x1ff789),this[_0x5a5fed(0x1cc)]({'insertAt':_0x5104ad,'writer':_0x355e4d,'html':_0x390df3});});}[_0x32df8a(0x1ec)](_0x2e2a99){const _0x17f740=_0x32df8a,{model:_0x201ed3}=this[_0x17f740(0x22b)],_0x4792d1=this[_0x17f740(0x219)]();_0x201ed3[_0x17f740(0x1cb)](()=>{const _0x2d118e=_0x17f740,_0x100643=this[_0x2d118e(0x20c)](_0x2e2a99,_0x4792d1)||this[_0x2d118e(0x1f8)](_0x4792d1);this[_0x2d118e(0x1c3)](_0x2e2a99,_0x100643);});}[_0x32df8a(0x219)](){const _0x36c7d7=_0x32df8a,_0x2a5423=this[_0x36c7d7(0x22b)][_0x36c7d7(0x1dd)],_0x24a0b9=Array[_0x36c7d7(0x22d)](_0x2a5423[_0x36c7d7(0x21a)][_0x36c7d7(0x1e5)](f))[_0x36c7d7(0x1ff)](_0xb8f766=>_0xb8f766[_0x36c7d7(0x224)]());return _0x2a5423[_0x36c7d7(0x212)](_0x24a0b9);}[_0x32df8a(0x1cc)]({writer:_0x4a53de,html:_0x201f24,insertAt:_0x5056bc}){const _0x224dc9=_0x32df8a,{view:_0x10b785}=this[_0x224dc9(0x22b)][_0x224dc9(0x1fc)],_0x1e11de=this[_0x224dc9(0x22b)][_0x224dc9(0x21f)][_0x224dc9(0x1f3)](_0x57480d),_0x477ba0=new w();_0x477ba0[_0x224dc9(0x1dc)](_0x224dc9(0x226),_0x201f24);const _0x2eff73=new ClipboardEvent(_0x224dc9(0x206),{'clipboardData':_0x477ba0}),_0x3734c4=new _0x175424(_0x10b785,_0x2eff73,{'dataTransfer':new _0x1eae57(_0x477ba0)});_0x4a53de[_0x224dc9(0x1d6)](_0x5056bc);const _0x4e418e=(_0x4006dc,_0x214178)=>{const _0x4a8924=_0x224dc9;_0x214178[_0x4a8924(0x222)]&&_0x4a53de[_0x4a8924(0x1d6)](_0x214178[_0x4a8924(0x222)]);};_0x1e11de[_0x224dc9(0x218)](_0x224dc9(0x1f9),_0x4e418e,{'priority':_0x224dc9(0x1e4)}),_0x10b785[_0x224dc9(0x1c9)][_0x224dc9(0x213)](_0x224dc9(0x206),_0x3734c4),_0x1e11de[_0x224dc9(0x1e3)](_0x224dc9(0x1f9),_0x4e418e);}[_0x32df8a(0x1f8)](_0x57e298){const _0x65749f=_0x32df8a,{model:_0x32987d}=this[_0x65749f(0x22b)],_0x26ef2d=Array[_0x65749f(0x22d)](_0x57e298[_0x65749f(0x1e9)]());return _0x26ef2d[_0x65749f(0x1e8)]?_0x32987d[_0x65749f(0x21d)](_0x26ef2d[_0x65749f(0x204)]()):_0x57e298[_0x65749f(0x20f)]();}[_0x32df8a(0x20c)](_0x5256c0,_0x3c37b8){const _0x4140b2=_0x32df8a,{model:_0x49263d,plugins:_0xb44944}=this[_0x4140b2(0x22b)];if(_0xb44944[_0x4140b2(0x1de)](_0x4140b2(0x22e))){const _0x37281e=_0xb44944[_0x4140b2(0x1f3)](_0x4140b2(0x22e))[_0x4140b2(0x207)](_0x3c37b8);if(_0x37281e[_0x4140b2(0x1e8)]){const _0x1f50fa=this[_0x4140b2(0x1eb)](_0x5256c0),_0x417f04=this[_0x4140b2(0x1d7)](_0x37281e,_0x1f50fa);return _0x49263d[_0x4140b2(0x1e6)](_0x417f04,0x0);}}return null;}[_0x32df8a(0x1eb)](_0xc5eab1){const _0x4e3515=_0x32df8a,_0x29e9b7=this[_0x4e3515(0x22b)][_0x4e3515(0x21f)][_0x4e3515(0x1f3)](_0x4e3515(0x22e)),_0x4695b8=this[_0x4e3515(0x22b)][_0x4e3515(0x1c6)][_0x4e3515(0x1ef)](_0xc5eab1),_0x3cfc89=Array[_0x4e3515(0x22d)](_0x4695b8[_0x4e3515(0x21b)]())[_0x4e3515(0x228)](_0xbeeda8=>_0xbeeda8['is'](_0x4e3515(0x1d9),_0x4e3515(0x208)));let _0x2a36b7=0x0;return _0x3cfc89[_0x4e3515(0x1d3)](_0x5edf4a=>{const _0x5522b1=_0x4e3515;_0x2a36b7+=_0x29e9b7[_0x5522b1(0x1e0)](_0x5edf4a);}),_0x2a36b7;}[_0x32df8a(0x1d7)](_0x54f84b,_0x1b656a){const _0x2643e8=_0x32df8a,_0x38d60b=this[_0x2643e8(0x22b)][_0x2643e8(0x21f)][_0x2643e8(0x1f3)](_0x2643e8(0x22e)),_0x26b2d6=_0x38d60b[_0x2643e8(0x20d)](_0x54f84b),_0x2774ab=_0x38d60b[_0x2643e8(0x1fb)](_0x54f84b),_0x254ee4=_0x26b2d6[_0x2643e8(0x21e)]+0x1,_0x1a4afd=_0x2774ab[_0x2643e8(0x217)],_0x5ee32f=_0x54f84b[0x0][_0x2643e8(0x1f5)](_0x2643e8(0x208));for(let _0x551ae4=0x0;_0x551ae4<_0x1b656a;_0x551ae4++)_0x38d60b[_0x2643e8(0x1f0)](_0x5ee32f,{'at':_0x254ee4});return _0x5ee32f[_0x2643e8(0x209)](_0x254ee4)[_0x2643e8(0x209)](_0x1a4afd);}[_0x32df8a(0x225)](_0x10a690,_0x273def){const _0x4aa061=_0x32df8a,{plugins:_0x5caea0}=this[_0x4aa061(0x22b)],{model:_0x128407}=_0x10a690;if(!_0x5caea0[_0x4aa061(0x1de)](_0x4aa061(0x22e)))return;_0x5caea0[_0x4aa061(0x1f3)](_0x4aa061(0x22e))[_0x4aa061(0x207)](_0x273def)[_0x4aa061(0x1e8)]&&_0x128407[_0x4aa061(0x1c2)](_0x273def);}}
|
|
23
|
+
const _0x525fa3=_0x1775;function _0x1775(_0x4dc388,_0x1b18d7){const _0xff22b3=_0xff22();return _0x1775=function(_0x17758f,_0x590240){_0x17758f=_0x17758f-0x66;let _0x20f697=_0xff22b3[_0x17758f];return _0x20f697;},_0x1775(_0x4dc388,_0x1b18d7);}(function(_0x358007,_0x507930){const _0x5c9464=_0x1775,_0x1a19a7=_0x358007();while(!![]){try{const _0x594aad=parseInt(_0x5c9464(0x94))/0x1*(parseInt(_0x5c9464(0x80))/0x2)+-parseInt(_0x5c9464(0x6e))/0x3*(parseInt(_0x5c9464(0xb2))/0x4)+parseInt(_0x5c9464(0xa0))/0x5+-parseInt(_0x5c9464(0x7a))/0x6+parseInt(_0x5c9464(0xa1))/0x7*(-parseInt(_0x5c9464(0xbd))/0x8)+parseInt(_0x5c9464(0x8d))/0x9*(-parseInt(_0x5c9464(0xc3))/0xa)+parseInt(_0x5c9464(0x74))/0xb;if(_0x594aad===_0x507930)break;else _0x1a19a7['push'](_0x1a19a7['shift']());}catch(_0x5ce17a){_0x1a19a7['push'](_0x1a19a7['shift']());}}}(_0xff22,0xda9e9));import{uid as _0x1dfb43}from'ckeditor5/src/utils.js';import{Plugin as _0x43d106}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x24df28}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5ab091,ViewDataTransfer as _0xa93ced}from'ckeditor5/src/engine.js';const st=globalThis[_0x525fa3(0xad)],ct=_0x525fa3(0xd2);export class AIAssistantEditing extends _0x43d106{static get[_0x525fa3(0x73)](){const _0xeac808=_0x525fa3;return _0xeac808(0x6a);}static get[_0x525fa3(0xd0)](){return!0x0;}static get[_0x525fa3(0x96)](){return!0x0;}[_0x525fa3(0x87)](){const _0x313749=_0x525fa3,{editor:_0x4f3b40}=this,_0x275f9d=[_0x313749(0x76)];_0x4f3b40[_0x313749(0x78)][_0x313749(0xc8)](_0x313749(0xcb))&&_0x275f9d[_0x313749(0x70)](_0x313749(0x82)),_0x4f3b40[_0x313749(0x7d)][_0x313749(0x91)](_0x313749(0x92))[_0x313749(0xc6)]({'model':ct,'view':{'classes':_0x275f9d,'priority':0xc}}),_0x4f3b40[_0x313749(0x7d)][_0x313749(0x91)](_0x313749(0x92))[_0x313749(0x88)]({'model':ct,'view':(_0x35c282,{writer:_0x49acf5})=>{const _0xb3f526=_0x313749;if(!_0x35c282[_0xb3f526(0xc9)][_0xb3f526(0x9d)])return null;const _0x550cc7=_0x49acf5[_0xb3f526(0x9f)](_0xb3f526(0xca));return _0x49acf5[_0xb3f526(0xa9)]([_0xb3f526(0x76),_0xb3f526(0xb8)],_0x550cc7),_0x550cc7;}});}[_0x525fa3(0x97)](){!async function(_0x59997b){const _0x3422ff=_0x1ccda8([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]),_0x43c0be=0x3dffc4e1,_0x12c400=0x3df85111^_0x43c0be,_0x3a6877=window[_0x1ccda8([0x44,0x61,0x74,0x65])][_0x1ccda8([0x6e,0x6f,0x77])](),_0x35c913=_0x59997b[_0x1ccda8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x287b03=new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ff3d3=>{_0x35c913[_0x1ccda8([0x6f,0x6e,0x63,0x65])](_0x1ccda8([0x72,0x65,0x61,0x64,0x79]),_0x3ff3d3);}),_0x10824e={[_0x1ccda8([0x6b,0x74,0x79])]:_0x1ccda8([0x45,0x43]),[_0x1ccda8([0x75,0x73,0x65])]:_0x1ccda8([0x73,0x69,0x67]),[_0x1ccda8([0x63,0x72,0x76])]:_0x1ccda8([0x50,0x2d,0x32,0x35,0x36]),[_0x1ccda8([0x78])]:_0x1ccda8([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]),[_0x1ccda8([0x79])]:_0x1ccda8([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]),[_0x1ccda8([0x61,0x6c,0x67])]:_0x1ccda8([0x45,0x53,0x32,0x35,0x36])},_0x464ed5=_0x35c913[_0x1ccda8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ccda8([0x67,0x65,0x74])](_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd2b8f1(){let _0x295e68,_0x397712=null,_0x5ae05b=null;try{if(_0x464ed5==_0x1ccda8([0x47,0x50,0x4c]))return _0x1ccda8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x295e68=_0xa85b61(),!_0x295e68)return _0x1ccda8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x295e68[_0x1ccda8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ae05b=_0x4cff72(_0x295e68[_0x1ccda8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x295e68[_0x1ccda8([0x6a,0x74,0x69])])),await _0x3388a0()?_0x48ce35()?_0x4cd806()?_0x1ccda8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xacbba()?(_0x295e68[_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ccda8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x397712=_0x5a2fa3(_0x1ccda8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x348a87()):_0x1ccda8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ccda8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ccda8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ccda8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cd806(){const _0x2901f7=[_0x1ccda8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ccda8([0x74,0x72,0x69,0x61,0x6c])][_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x295e68[_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a6877/0x3e8:0xe10*_0x12c400;return _0x295e68[_0x1ccda8([0x65,0x78,0x70])]<_0x2901f7;}function _0x48ce35(){const _0x43a53c=_0x295e68[_0x1ccda8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43a53c&&(!!_0x43a53c[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ccda8([0x2a]))||!!_0x43a53c[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ccda8([0x41,0x49])));}function _0xacbba(){const _0xc41b7e=_0x1775,_0x51d14c=_0x295e68[_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51d14c||0x0==_0x51d14c[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5786a8}=new URL(window[_0x1ccda8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc41b7e(0x8b)]);if(_0x51d14c[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5786a8))return!0x0;const _0x4beac6=_0x5786a8[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e]));return _0x51d14c[_0x1ccda8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f9145=>_0x3f9145[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ccda8([0x2a])))[_0x1ccda8([0x6d,0x61,0x70])](_0x2f4cce=>_0x2f4cce[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e])))[_0x1ccda8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bac54=>_0x2bac54[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4beac6[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ccda8([0x6d,0x61,0x70])](_0x3eb7cb=>Array(_0x4beac6[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3eb7cb[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ccda8([0x66,0x69,0x6c,0x6c])](_0x3eb7cb[0x0]===_0x1ccda8([0x2a])?_0x1ccda8([0x2a]):'')[_0x1ccda8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3eb7cb))[_0x1ccda8([0x73,0x6f,0x6d,0x65])](_0xa8348=>_0x4beac6[_0x1ccda8([0x65,0x76,0x65,0x72,0x79])]((_0x140bb1,_0x5b55ce)=>_0xa8348[_0x5b55ce]===_0x140bb1||_0xa8348[_0x5b55ce]===_0x1ccda8([0x2a])));}function _0x348a87(){return _0x397712&&_0x5ae05b?new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f2603,_0x5fb335)=>{_0x397712[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x1f2603,_0x5fb335),_0x5ae05b[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x27cdc9=>{_0x27cdc9!=_0x1ccda8([0x56,0x61,0x6c,0x69,0x64])&&_0x1f2603(_0x27cdc9);},_0x5fb335);}):_0x397712||_0x5ae05b||_0x1ccda8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4cff72(_0x57dc84,_0x5ac2d7){return new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39ea42=>{if(_0x15d5a8())return _0x39ea42(_0x1ccda8([0x56,0x61,0x6c,0x69,0x64]));_0x249de4(),_0x35c913[_0x1ccda8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ccda8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4381e9=!0x1;const _0x3a2449=_0x1dfb43();function _0x274afd(_0x4a6d3c){return!!_0x4a6d3c&&(typeof _0x4a6d3c===_0x1ccda8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a6d3c===_0x1ccda8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a6d3c[_0x1ccda8([0x74,0x68,0x65,0x6e])]===_0x1ccda8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a6d3c[_0x1ccda8([0x63,0x61,0x74,0x63,0x68])]===_0x1ccda8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2391e3(_0x104e35){_0x3ab881(_0x104e35)[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x28a1e4=>{if(!_0x28a1e4||_0x28a1e4[_0x1ccda8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ccda8([0x6f,0x6b]))return _0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x544f82(_0x209846(_0x3a2449+_0x5ac2d7))!=_0x28a1e4[_0x1ccda8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ccda8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x278d38=>(_0x157656(),_0x278d38),()=>{const _0x3aa3f6=_0x3be0ac();return null==_0x3aa3f6?(_0x157656(),_0x1ccda8([0x56,0x61,0x6c,0x69,0x64])):_0x1ccda8(_0x3a6877-_0x3aa3f6>(0x19f340e1^_0x43c0be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x39ea42)[_0x1ccda8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39ea42(_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f534f=0x3dc92a61^_0x43c0be;function _0x157656(){const _0x442e2c=_0x1ccda8([0x6c,0x6c,0x63,0x74,0x2d])+_0x544f82(_0x209846(_0x57dc84)),_0x482d6c=_0x5e95a8(_0x544f82(window[_0x1ccda8([0x4d,0x61,0x74,0x68])][_0x1ccda8([0x63,0x65,0x69,0x6c])](_0x3a6877/_0x2f534f)));window[_0x1ccda8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ccda8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x442e2c,_0x482d6c);}function _0x3be0ac(){const _0x1d78ed=_0x1ccda8([0x6c,0x6c,0x63,0x74,0x2d])+_0x544f82(_0x209846(_0x57dc84)),_0x49a63b=window[_0x1ccda8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ccda8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d78ed);return _0x49a63b?window[_0x1ccda8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e95a8(_0x49a63b),0x10)*_0x2f534f:null;}function _0x3ab881(_0x2daed4){return new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f2147,_0x38cc62)=>{_0x2daed4[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x2f2147,_0x38cc62),window[_0x1ccda8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38cc62,0x3dfe1021^_0x43c0be);});}}_0x35c913[_0x1ccda8([0x6f,0x6e])](_0x1ccda8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa71155,_0x407976)=>{if(_0x407976[0x0]!=_0x57dc84)return _0x39ea42(_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x407976[0x1]={..._0x407976[0x1],[_0x1ccda8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a2449};},{[_0x1ccda8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ccda8([0x68,0x69,0x67,0x68])}),_0x35c913[_0x1ccda8([0x6f,0x6e])](_0x1ccda8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ae76d=>{_0x274afd(_0x3ae76d[_0x1ccda8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4381e9=!0x0,_0x2391e3(_0x3ae76d[_0x1ccda8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ccda8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ccda8([0x6c,0x6f,0x77])}),_0x287b03[_0x1ccda8([0x74,0x68,0x65,0x6e])](()=>{_0x4381e9||_0x39ea42(_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15d5a8(){return _0x35c913[_0x1ccda8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ccda8([0x76,0x69,0x65,0x77])][_0x1ccda8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ccda8([0x61,0x75,0x74,0x6f]);}function _0x249de4(){_0x35c913[_0x1ccda8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ccda8([0x76,0x69,0x65,0x77])][_0x1ccda8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ccda8([0x61,0x75,0x74,0x6f]);}}function _0x5a2fa3(_0x37786a){const _0xb24bb0=[new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386adf=>setTimeout(_0x386adf,0x3df6fa2d^_0x43c0be)),_0x287b03[_0x1ccda8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ee2b0=>{let _0x212cab=0x0;_0x35c913[_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ccda8([0x6f,0x6e])](_0x1ccda8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x349540,_0x3fed44)=>{_0x3fed44[0x0][_0x1ccda8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x212cab++,_0x212cab==(0x3dffc109^_0x43c0be)&&(_0x2ee2b0(),_0x349540[_0x1ccda8([0x6f,0x66,0x66])]());});}))];return window[_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ccda8([0x72,0x61,0x63,0x65])](_0xb24bb0)[_0x1ccda8([0x74,0x68,0x65,0x6e])](()=>_0x37786a);}async function _0x58c995(){await _0x287b03,_0x35c913[_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ccda8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fc866,_0x35c913[_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ccda8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fc866,_0x35c913[_0x1ccda8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36299d(_0xff3f5c){const _0x37dab5=_0x37811e();_0x35c913[_0x37dab5]=_0x1ccda8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xff3f5c,_0xff3f5c!=_0x1ccda8([0x56,0x61,0x6c,0x69,0x64])&&_0x58c995();}function _0x37811e(){const _0x57f507=window[_0x1ccda8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ccda8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ccda8([0x6e,0x6f,0x77])]())[_0x1ccda8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ccda8([0x2e]),'');let _0x1dd9bc=_0x1ccda8([0x6e]);for(let _0x3bd10=0x0;_0x3bd10<_0x57f507[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bd10+=0x2){let _0x4da35e=window[_0x1ccda8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57f507[_0x1ccda8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bd10,_0x3bd10+0x2));_0x4da35e>=_0x3422ff[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4da35e-=_0x3422ff[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1dd9bc+=_0x3422ff[_0x4da35e];}return _0x1dd9bc;}function _0xa85b61(){const _0x22bc7c=_0x464ed5[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e]));if(0x3!=_0x22bc7c[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57ba84(_0x22bc7c[0x1]);function _0x57ba84(_0x2a9105){const _0x4dd9b6=_0x598d10(_0x2a9105);return _0x4dd9b6&&_0x2035e0()?_0x4dd9b6:null;function _0x2035e0(){const _0x48c096=_0x4dd9b6[_0x1ccda8([0x6a,0x74,0x69])],_0x28d824=window[_0x1ccda8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48c096[_0x1ccda8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48c096[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e477c={..._0x4dd9b6,[_0x1ccda8([0x6a,0x74,0x69])]:_0x48c096[_0x1ccda8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48c096[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e477c[_0x1ccda8([0x76,0x63])],_0x209846(_0x1e477c)==_0x28d824;}}}async function _0x3388a0(){let _0x1c5ebf=!0x0;try{const _0x41d6ef=_0x464ed5[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e])),[_0x3bcd73,_0x377d62,_0x8b442b]=_0x41d6ef;return _0x52122f(_0x3bcd73),await _0x3089e5(_0x3bcd73,_0x377d62,_0x8b442b),_0x1c5ebf;}catch{return!0x1;}function _0x52122f(_0x44f0dc){const _0x34f0f4=_0x598d10(_0x44f0dc);_0x34f0f4&&_0x34f0f4[_0x1ccda8([0x61,0x6c,0x67])]==_0x1ccda8([0x45,0x53,0x32,0x35,0x36])||(_0x1c5ebf=!0x1);}async function _0x3089e5(_0x154bdd,_0xb14f0d,_0x2e6061){const _0x5d18cc=window[_0x1ccda8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ccda8([0x66,0x72,0x6f,0x6d])](_0x3456fe(_0x2e6061),_0x20a378=>_0x20a378[_0x1ccda8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x554772=new window[(_0x1ccda8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ccda8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x154bdd+_0x1ccda8([0x2e])+_0xb14f0d),_0x1ca0d1=window[_0x1ccda8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ccda8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ca0d1)return;const _0x21abf8=await _0x1ca0d1[_0x1ccda8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ccda8([0x6a,0x77,0x6b]),_0x10824e,{[_0x1ccda8([0x6e,0x61,0x6d,0x65])]:_0x1ccda8([0x45,0x43,0x44,0x53,0x41]),[_0x1ccda8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ccda8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ccda8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ca0d1[_0x1ccda8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ccda8([0x6e,0x61,0x6d,0x65])]:_0x1ccda8([0x45,0x43,0x44,0x53,0x41]),[_0x1ccda8([0x68,0x61,0x73,0x68])]:{[_0x1ccda8([0x6e,0x61,0x6d,0x65])]:_0x1ccda8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21abf8,_0x5d18cc,_0x554772)||(_0x1c5ebf=!0x1);}}function _0x598d10(_0x29a8f0){return _0x29a8f0[_0x1ccda8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ccda8([0x65,0x79]))?JSON[_0x1ccda8([0x70,0x61,0x72,0x73,0x65])](_0x3456fe(_0x29a8f0)):null;}function _0x3456fe(_0xb3cb84){return window[_0x1ccda8([0x61,0x74,0x6f,0x62])](_0xb3cb84[_0x1ccda8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ccda8([0x2b]))[_0x1ccda8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ccda8([0x2f])));}function _0x209846(_0x51a498){let _0x54ef18=0x1505;function _0x1a8aa7(_0x624a24){for(let _0x2f7d93=0x0;_0x2f7d93<_0x624a24[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f7d93++){const _0x2810b7=_0x624a24[_0x1ccda8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f7d93);_0x54ef18=(_0x54ef18<<0x5)+_0x54ef18+_0x2810b7,_0x54ef18&=_0x54ef18;}}function _0x32d48b(_0x65bdce){Array[_0x1ccda8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x65bdce)?_0x65bdce[_0x1ccda8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32d48b):_0x65bdce&&typeof _0x65bdce==_0x1ccda8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ccda8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x65bdce)[_0x1ccda8([0x73,0x6f,0x72,0x74])]()[_0x1ccda8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x236cdf,_0x1cc4df])=>{_0x1a8aa7(_0x236cdf),_0x32d48b(_0x1cc4df);}):_0x1a8aa7(window[_0x1ccda8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x65bdce));}return _0x32d48b(_0x51a498),_0x54ef18>>>0x0;}function _0x544f82(_0x34d380){return _0x34d380[_0x1ccda8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ccda8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ccda8([0x30]));}function _0x5e95a8(_0x71a5ac){return _0x71a5ac[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ccda8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ccda8([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fc866(){}function _0x1ccda8(_0x48961d){const _0x273391=_0x1775;return _0x48961d[_0x273391(0x7c)](_0x14cfc6=>String[_0x273391(0x9b)](_0x14cfc6))[_0x273391(0xc0)]('');}_0x36299d(await _0xd2b8f1());}(this);}[_0x525fa3(0x98)](){const _0x462dd3=_0x525fa3,_0x3fc4fb=this[_0x462dd3(0xaf)][_0x462dd3(0x71)];_0x3fc4fb[_0x462dd3(0x7f)](_0x1e9b43=>{const _0x1d7d65=_0x462dd3,_0x40e882=_0x3fc4fb[_0x1d7d65(0x8e)][_0x1d7d65(0x6f)][_0x1d7d65(0xb6)]();let _0x495f40=0x0;for(const _0x1fbbdf of _0x40e882){const _0x5c0271=ct+':'+_0x495f40;if(_0x3fc4fb[_0x1d7d65(0xcf)][_0x1d7d65(0xc2)](_0x5c0271))_0x1e9b43[_0x1d7d65(0xb1)](_0x5c0271,{'range':_0x1fbbdf});else{if(_0x1fbbdf[_0x1d7d65(0x6c)][_0x1d7d65(0xce)]){const _0x40545f=_0x1fbbdf[_0x1d7d65(0x6c)][_0x1d7d65(0xa5)](({item:_0x25fcd6})=>!_0x3fc4fb[_0x1d7d65(0xaa)][_0x1d7d65(0x9a)](_0x25fcd6),{'boundaries':_0x1fbbdf});_0x1e9b43[_0x1d7d65(0xa4)](_0x5c0271,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e9b43[_0x1d7d65(0xd3)](_0x40545f,_0x1fbbdf[_0x1d7d65(0x81)])});}else _0x1e9b43[_0x1d7d65(0xa4)](_0x5c0271,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1fbbdf});}_0x495f40++;}});}[_0x525fa3(0x99)](){const _0x5a6f86=_0x525fa3,_0x430cbd=this[_0x5a6f86(0xaf)][_0x5a6f86(0x71)],_0x5a6cb5=Array[_0x5a6f86(0x8a)](this[_0x5a6f86(0xaf)][_0x5a6f86(0x71)][_0x5a6f86(0xcf)][_0x5a6f86(0x93)](ct));_0x5a6cb5[_0x5a6f86(0xba)]&&_0x430cbd[_0x5a6f86(0x7f)](_0x244ebe=>{const _0xb72453=_0x5a6f86;_0x5a6cb5[_0xb72453(0xa6)](_0x2f002d=>{const _0x17f2fc=_0xb72453;_0x244ebe[_0x17f2fc(0xc5)](_0x2f002d);});});}[_0x525fa3(0xcc)](_0x5e80cb,_0x2bd5c3){const _0x346fb9=_0x525fa3,_0x2e5ea7=this[_0x346fb9(0x66)](),_0x529262=_0x2bd5c3||_0x2e5ea7[_0x346fb9(0x9c)]();this[_0x346fb9(0xaf)][_0x346fb9(0x71)][_0x346fb9(0x75)](_0x529262)&&this[_0x346fb9(0xaf)][_0x346fb9(0x71)][_0x346fb9(0x7f)](_0x297de0=>{const _0x3a40d0=_0x346fb9;this[_0x3a40d0(0x99)](),_0x2bd5c3||this[_0x3a40d0(0x77)](_0x297de0,_0x2e5ea7),this[_0x3a40d0(0x67)]({'insertAt':_0x529262,'writer':_0x297de0,'html':_0x5e80cb});});}[_0x525fa3(0xab)](_0x4cfb7b){const _0x472d35=_0x525fa3,{model:_0x3a192e}=this[_0x472d35(0xaf)],_0x2f2f08=this[_0x472d35(0x66)]();_0x3a192e[_0x472d35(0x7f)](()=>{const _0x5acb83=_0x472d35,_0x2201c2=this[_0x5acb83(0x6d)](_0x4cfb7b,_0x2f2f08)||this[_0x5acb83(0xc4)](_0x2f2f08);this[_0x5acb83(0xcc)](_0x4cfb7b,_0x2201c2);});}[_0x525fa3(0x66)](){const _0x142b71=_0x525fa3,_0xa0040c=this[_0x142b71(0xaf)][_0x142b71(0x71)],_0x2216ab=Array[_0x142b71(0x8a)](_0xa0040c[_0x142b71(0xcf)][_0x142b71(0x93)](ct))[_0x142b71(0x7c)](_0x2a320d=>_0x2a320d[_0x142b71(0xbc)]());return _0xa0040c[_0x142b71(0xc1)](_0x2216ab);}[_0x525fa3(0x67)]({writer:_0x22288e,html:_0x25197d,insertAt:_0x13a0f7}){const _0x317279=_0x525fa3,{view:_0x23bb7b}=this[_0x317279(0xaf)][_0x317279(0xa2)],_0x4aaa27=this[_0x317279(0xaf)][_0x317279(0xb3)][_0x317279(0xc8)](_0x24df28),_0x51e0b9=new st();_0x51e0b9[_0x317279(0x6b)](_0x317279(0x69),_0x25197d);const _0x3b4783=new ClipboardEvent(_0x317279(0xa8),{'clipboardData':_0x51e0b9}),_0x1f4a82=new _0x5ab091(_0x23bb7b,_0x3b4783,{'dataTransfer':new _0xa93ced(_0x51e0b9)});_0x22288e[_0x317279(0xb4)](_0x13a0f7);const _0x53c2b3=(_0xe1658a,_0x459da3)=>{const _0x37f7a8=_0x317279;_0x459da3[_0x37f7a8(0x84)]&&_0x22288e[_0x37f7a8(0xb4)](_0x459da3[_0x37f7a8(0x84)]);};_0x4aaa27[_0x317279(0x9e)](_0x317279(0xa3),_0x53c2b3,{'priority':_0x317279(0xc7)}),_0x23bb7b[_0x317279(0x8e)][_0x317279(0xb0)](_0x317279(0xa8),_0x1f4a82),_0x4aaa27[_0x317279(0xbe)](_0x317279(0xa3),_0x53c2b3);}[_0x525fa3(0xc4)](_0x53fc88){const _0x2e5b5e=_0x525fa3,{model:_0x1597f2}=this[_0x2e5b5e(0xaf)],_0x5007a6=Array[_0x2e5b5e(0x8a)](_0x53fc88[_0x2e5b5e(0x89)]());return _0x5007a6[_0x2e5b5e(0xba)]?_0x1597f2[_0x2e5b5e(0x68)](_0x5007a6[_0x2e5b5e(0x90)]()):_0x53fc88[_0x2e5b5e(0xac)]();}[_0x525fa3(0x6d)](_0x3c3808,_0x387f82){const _0x39ebda=_0x525fa3,{model:_0x2efecf,plugins:_0xaa6bab}=this[_0x39ebda(0xaf)];if(_0xaa6bab[_0x39ebda(0xc2)](_0x39ebda(0x8f))){const _0x2d3b3d=_0xaa6bab[_0x39ebda(0xc8)](_0x39ebda(0x8f))[_0x39ebda(0x8c)](_0x387f82);if(_0x2d3b3d[_0x39ebda(0xba)]){const _0x46c51d=this[_0x39ebda(0x83)](_0x3c3808),_0x96b021=this[_0x39ebda(0xbf)](_0x2d3b3d,_0x46c51d);return _0x2efecf[_0x39ebda(0xb9)](_0x96b021,0x0);}}return null;}[_0x525fa3(0x83)](_0x13c67e){const _0x746b1c=_0x525fa3,_0xc155b2=this[_0x746b1c(0xaf)][_0x746b1c(0xb3)][_0x746b1c(0xc8)](_0x746b1c(0x8f)),_0x30e4bb=this[_0x746b1c(0xaf)][_0x746b1c(0x72)][_0x746b1c(0x86)](_0x13c67e),_0x4fb825=Array[_0x746b1c(0x8a)](_0x30e4bb[_0x746b1c(0x7e)]())[_0x746b1c(0xa7)](_0xcb1991=>_0xcb1991['is'](_0x746b1c(0xae),_0x746b1c(0xd4)));let _0x5ca298=0x0;return _0x4fb825[_0x746b1c(0xa6)](_0x49f062=>{const _0x898c45=_0x746b1c;_0x5ca298+=_0xc155b2[_0x898c45(0x95)](_0x49f062);}),_0x5ca298;}[_0x525fa3(0xbf)](_0x4c6745,_0x415d09){const _0x13bd29=_0x525fa3,_0x8ad335=this[_0x13bd29(0xaf)][_0x13bd29(0xb3)][_0x13bd29(0xc8)](_0x13bd29(0x8f)),_0x138d04=_0x8ad335[_0x13bd29(0x7b)](_0x4c6745),_0x2f19e0=_0x8ad335[_0x13bd29(0xb7)](_0x4c6745),_0x83479b=_0x138d04[_0x13bd29(0xb5)]+0x1,_0x474224=_0x2f19e0[_0x13bd29(0x85)],_0xa6b7d4=_0x4c6745[0x0][_0x13bd29(0xbb)](_0x13bd29(0xd4));for(let _0x177143=0x0;_0x177143<_0x415d09;_0x177143++)_0x8ad335[_0x13bd29(0xcd)](_0xa6b7d4,{'at':_0x83479b});return _0xa6b7d4[_0x13bd29(0x79)](_0x83479b)[_0x13bd29(0x79)](_0x474224);}[_0x525fa3(0x77)](_0x1a5d2a,_0x1fa80d){const _0x552a30=_0x525fa3,{plugins:_0x117bb7}=this[_0x552a30(0xaf)],{model:_0x17e02e}=_0x1a5d2a;if(!_0x117bb7[_0x552a30(0xc2)](_0x552a30(0x8f)))return;_0x117bb7[_0x552a30(0xc8)](_0x552a30(0x8f))[_0x552a30(0x8c)](_0x1fa80d)[_0x552a30(0xba)]&&_0x17e02e[_0x552a30(0xd1)](_0x1fa80d);}}function _0xff22(){const _0x338b07=['config','getChild','236406pYUHoi','getRowIndexes','map','conversion','getChildren','change','1066296gpyImr','end','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','resultRange','first','parse','init','markerToElement','getSelectedBlocks','from','href','getSelectedTableCells','719721sCZvHs','document','TableUtils','pop','for','editingDowncast','getMarkersGroup','3UcZqJB','getRows','isPremiumPlugin','afterInit','showFakeVisualSelection','hideFakeVisualSelection','isContent','fromCharCode','getFirstRange','isCollapsed','once','createUIElement','3218960kvyknl','6160238rAEWDU','editing','contentInsertion','addMarker','getLastMatchingPosition','forEach','filter','paste','addClass','schema','insertContentBelow','getLastPosition','DataTransfer','element','editor','fire','updateMarker','3060844nQRuTQ','plugins','setSelection','last','getRanges','getColumnIndexes','ck-fake-ai-selection_collapsed','createPositionAt','length','findAncestor','getRange','8mIuqIx','off','_createEmptyTableRows','join','createSelection','has','190pseSap','_getDefaultInsertBelowPosition','removeMarker','markerToHighlight','lowest','get','markerRange','span','ai.assistant.useTheme','insertContent','insertRows','isAtEnd','markers','isOfficialPlugin','deleteContent','ai-ui','createRange','table','_getAISelection','_pasteHTMLUsingClipboard','createPositionAfter','text/html','AIAssistantEditing','setData','start','_prepareTableInsertBelowPosition','6zisuny','selection','push','model','data','pluginName','28836467MxcACB','canEditAt','ck-fake-ai-selection','_resetContentOfSelectedTableCells'];_0xff22=function(){return _0x338b07;};return _0xff22();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d8bab=_0x5d23;function _0x3a03(){const _0x5123c5=['currentContext','EDITOR_TOP_SIDE','7023621lovnpt','schema','8978688ZtxYwh','selection','isOfficialPlugin','order','_aiAssistantController','AIAssistant','_getResolvedCommandsDefinitions','componentFactory','_commandDefinitions','change','destroy','ai.assistant.contentAreaCssClass','textAdapter','model','showUI','requiresContent','ai-commands-config-order-collision','includes','delegate','change:isError','getSelectedBlocks','init','getData','document','reset','once','text/html','menuBar:aiCommands','items','hideFakeVisualSelection','change:value','buttonView','fieldView','plugins','AI\x20is\x20writing','aiLicenseKeyUsageLimit','view','update','aiAssistant','aiLicenseKeyDomainLimit','738LeoNCJ','aiLicenseKeyValid','insertContentBelow','906770NFoFjb','_showLicenseError','Error\x20during\x20AI\x20content\x20generation:\x20%0','length','ck-ai-assistant-button\x20','command:','menuPanelClass','comment','from','isFlat','featureNotAllowed','hide','source','_initView','_createAIAssistantUIButton','updateView','show','invalid','editor','</p>','ai.assistant.disabledElements','push','addMany','evaluationLimit','buttons','Generated\x20content:\x20%0','aiLicenseKeyNotAllowed','expired','_licenseKeyCheckInterval','render','ck-ai-assistant-ui','3473FGjNvW','replaceContent','isEnabled','_initAriaAiStatusChangeAnnouncements','AI\x20Commands','groupId','AIAssistantUI','<p>','body','5608659bPMMDW','children','filter','36eSXtiw','change:enabledCommandsIds','aiLicenseKeyInvalid','aiCommands','requires','rawHtml','polite','_uiCssClasses','9MtblJy','media','REPLACE','pluginName','label','splice','menuitemcheckbox','copy','enabledCommandsIds','panelView','_aiAdapter','hideUI','errorView','licenseKey','getLimitElement','locale','getRanges','change:isProcessing','isCollapsed','_onExecute','DataTransfer','prompt','sort','add','menuView','ck-ai-commands-dropdown\x20','map','3ogdpTn','bind','updatePosition','replace','custom','wasMoved','5tgfNoI','set','define','queryView','commands','isPremiumPlugin','text','aiLicenseKeyExpired','1854268kCksNo','_forceMarkersCopy','ai.assistant.commands','AI\x20Assistant','_dialog','menuBar:aiAssistant','INSERT','isOn','focus','promptView','aiLicenseKeyEvaluationLimit','_formView','domainLimit','groupLabel','trim','tableOfContents','listenTo','forEach','get','668046VAWOmv','_populateMenuBarMenu','setSelection','fire','insertContent','config','getSelectedElement','contentArea','editing','\x20ck-ai-assistant-ui_theme','announce','ai.assistant.useTheme','usageLimit','_getMenuBarGroupButtons','showAIAssistant','execute','values','showFakeVisualSelection'];_0x3a03=function(){return _0x5123c5;};return _0x3a03();}function _0x5d23(_0x7b4b64,_0x1f2863){const _0x3a038b=_0x3a03();return _0x5d23=function(_0x5d2330,_0x353ab8){_0x5d2330=_0x5d2330-0x1bd;let _0x1cce77=_0x3a038b[_0x5d2330];return _0x1cce77;},_0x5d23(_0x7b4b64,_0x1f2863);}(function(_0x80a122,_0x3ab065){const _0x2e95d7=_0x5d23,_0x3ac6fd=_0x80a122();while(!![]){try{const _0x5b8348=-parseInt(_0x2e95d7(0x1da))/0x1*(-parseInt(_0x2e95d7(0x268))/0x2)+parseInt(_0x2e95d7(0x209))/0x3*(-parseInt(_0x2e95d7(0x217))/0x4)+parseInt(_0x2e95d7(0x20f))/0x5*(parseInt(_0x2e95d7(0x22a))/0x6)+parseInt(_0x2e95d7(0x1e3))/0x7+parseInt(_0x2e95d7(0x240))/0x8+-parseInt(_0x2e95d7(0x1ee))/0x9*(parseInt(_0x2e95d7(0x26b))/0xa)+-parseInt(_0x2e95d7(0x23e))/0xb*(parseInt(_0x2e95d7(0x1e6))/0xc);if(_0x5b8348===_0x3ab065)break;else _0x3ac6fd['push'](_0x3ac6fd['shift']());}catch(_0x423095){_0x3ac6fd['push'](_0x3ac6fd['shift']());}}}(_0x3a03,0xceb52));import{Plugin as _0x10db4e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x46b99a,IconRobotPencil as _0x32100a}from'ckeditor5/src/icons.js';import{first as _0x19be7c,CKEditorError as _0x3a556a}from'ckeditor5/src/utils.js';import{createDropdown as _0x1ac72a,addMenuToDropdown as _0x3d936c,ButtonView as _0x51a1a2,MenuBarMenuListItemButtonView as _0x24aeaf,Dialog as _0x4eb651,DialogViewPosition as _0xc235cb,MenuBarMenuView as _0x5f048d,MenuBarMenuListView as _0x67cf38,MenuBarMenuListItemView as _0x31057c}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1cf33d,UNGROUPED_COMMANDS_GROUP_ID as _0x34b311}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x577f5c}from'./aiassistantediting.js';import{AIAdapter as _0x2853ad}from'./adapters/aiadapter.js';import{getTranslation as _0x52c255}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x52bd89}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x309f1f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0xeac431}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x276a3c}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[_0x2d8bab(0x202)];import{ClipboardMarkersUtils as _0x247208}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5b5735,ViewDataTransfer as _0x4465f7}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x10db4e{[_0x2d8bab(0x1fb)];[_0x2d8bab(0x1d7)];[_0x2d8bab(0x21b)];[_0x2d8bab(0x222)];[_0x2d8bab(0x1f8)];[_0x2d8bab(0x244)];[_0x2d8bab(0x1ed)]='';static get[_0x2d8bab(0x1f1)](){const _0xefbe41=_0x2d8bab;return _0xefbe41(0x1e0);}static get[_0x2d8bab(0x242)](){return!0x0;}static get[_0x2d8bab(0x214)](){return!0x0;}static get[_0x2d8bab(0x1ea)](){return[_0x247208,_0x577f5c,_0x2853ad,_0x4eb651];}constructor(_0x48ae28){const _0x5655e7=_0x2d8bab;super(_0x48ae28),_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x211)](_0x5655e7(0x1cf),[_0x5655e7(0x1ef),_0x5655e7(0x1eb),_0x5655e7(0x226)]),_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x211)](_0x5655e7(0x24b),''),_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x211)](_0x5655e7(0x235),!0x0),this[_0x5655e7(0x1ed)]=_0x5655e7(0x1d9)+(_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x229)](_0x5655e7(0x235))?_0x5655e7(0x233):'');}[_0x2d8bab(0x255)](){const _0x3fe180=_0x2d8bab,{editor:_0x4744f0}=this;this[_0x3fe180(0x1f8)]=_0x4744f0[_0x3fe180(0x261)][_0x3fe180(0x229)](_0x2853ad),this[_0x3fe180(0x21b)]=_0x4744f0[_0x3fe180(0x261)][_0x3fe180(0x229)](_0x4eb651),this[_0x3fe180(0x222)]=null,this[_0x3fe180(0x248)]=this[_0x3fe180(0x246)]();const _0x39954f=new _0x52bd89(_0x4744f0,Array[_0x3fe180(0x1c3)](this[_0x3fe180(0x248)][_0x3fe180(0x23a)]()));_0x4744f0[_0x3fe180(0x213)][_0x3fe180(0x205)](_0x3fe180(0x238),_0x39954f),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x1e9),_0x10ff4d=>{const _0x6a855d=_0x3fe180,_0x216937=_0x1ac72a(_0x10ff4d);return _0x216937[_0x6a855d(0x210)]({'class':_0x6a855d(0x207)+this[_0x6a855d(0x1ed)]}),_0x216937[_0x6a855d(0x25f)][_0x6a855d(0x210)]({'label':_0x52c255(_0x10ff4d,_0x6a855d(0x1de)),'icon':_0x46b99a,'tooltip':!0x0}),_0x216937['on'](_0x6a855d(0x239),_0x2a61a0=>this[_0x6a855d(0x201)](_0x2a61a0[_0x6a855d(0x1c7)]['id'])),_0x3d936c(_0x216937,_0x4744f0['ui'][_0x6a855d(0x264)][_0x6a855d(0x1e2)],function(_0x5a2ce0){const _0x17bac5=_0x6a855d,_0x58d01e=_0x1cf33d(_0x5a2ce0[_0x17bac5(0x22f)][_0x17bac5(0x229)](_0x17bac5(0x219)),_0x5a2ce0[_0x17bac5(0x1fd)]),_0x2e4152=B(_0x5a2ce0,_0x58d01e)[_0x17bac5(0x1e5)](_0x4010d2=>_0x4010d2[_0x17bac5(0x213)][_0x17bac5(0x1be)]);if(0x1===_0x2e4152[_0x17bac5(0x1be)])return B(_0x5a2ce0,_0x2e4152[0x0][_0x17bac5(0x213)])[_0x17bac5(0x208)](_0x20b0fc=>({'id':_0x20b0fc['id'],'label':_0x20b0fc[_0x17bac5(0x1f2)]}));return _0x2e4152[_0x17bac5(0x208)](_0x153433=>{const _0x564ccf=_0x17bac5,{groupId:_0x2493fa,groupLabel:_0x48aefb,commands:_0x5450b8}=_0x153433,_0x236171=B(_0x5a2ce0,_0x5450b8)[_0x564ccf(0x208)](_0xbf32c3=>({'id':_0xbf32c3['id'],'label':_0xbf32c3[_0x564ccf(0x1f2)]}));return{'id':_0x2493fa,'menu':_0x48aefb||_0x2493fa,'children':_0x236171};});}(_0x4744f0),{'ariaLabel':_0x52c255(_0x10ff4d,_0x6a855d(0x1de))}),_0x216937[_0x6a855d(0x206)][_0x6a855d(0x1c1)]=_0x6a855d(0x207)+this[_0x6a855d(0x1ed)],_0x39954f['on'](_0x6a855d(0x1e7),_0x47f6ea),_0x216937[_0x6a855d(0x206)][_0x6a855d(0x259)](_0x6a855d(0x1d8),_0x47f6ea),_0x216937;function _0x47f6ea(){const _0x144cf9=_0x6a855d;_0x216937[_0x144cf9(0x1dc)]=_0x39954f[_0x144cf9(0x1f6)][_0x144cf9(0x1be)]>0x0;for(const _0x306c1e of _0x216937[_0x144cf9(0x206)][_0x144cf9(0x1d3)])_0x306c1e[_0x144cf9(0x1dc)]=_0x39954f[_0x144cf9(0x1f6)][_0x144cf9(0x251)](_0x306c1e['id']);}}),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x25b),_0x132b69=>{const _0x3479cb=_0x3fe180,_0x5ada31=new _0x5f048d(_0x132b69);_0x5ada31[_0x3479cb(0x25f)][_0x3479cb(0x210)]({'label':_0x52c255(_0x132b69,_0x3479cb(0x1de)),'icon':_0x46b99a}),_0x5ada31[_0x3479cb(0x20a)](_0x3479cb(0x1dc))['to'](_0x39954f,_0x3479cb(0x1f6),_0x14248=>_0x14248[_0x3479cb(0x1be)]>0x0);const _0x57f8f1=_0x1cf33d(_0x4744f0[_0x3479cb(0x22f)][_0x3479cb(0x229)](_0x3479cb(0x219)),_0x132b69);return this[_0x3479cb(0x22b)](_0x39954f,_0x5ada31,_0x57f8f1,_0xdabf86=>this[_0x3479cb(0x201)](_0xdabf86)),_0x5ada31;}),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x266),()=>{const _0x4da3f9=_0x3fe180,_0x401905=this[_0x4da3f9(0x1c9)](_0x51a1a2);return _0x401905[_0x4da3f9(0x210)]({'tooltip':!0x0,'class':_0x4da3f9(0x1bf)+this[_0x4da3f9(0x1ed)]}),_0x401905;}),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x21c),()=>{const _0x979149=_0x3fe180,_0x3da26a=this[_0x979149(0x1c9)](_0x24aeaf);return _0x3da26a[_0x979149(0x210)]({'role':_0x979149(0x1f4)}),_0x3da26a;}),this[_0x3fe180(0x1fb)]=this[_0x3fe180(0x1cd)][_0x3fe180(0x22f)][_0x3fe180(0x229)](_0x3fe180(0x1fb));const _0x393d8e=this[_0x3fe180(0x1cd)];this[_0x3fe180(0x1d7)]=setInterval(()=>{const _0x5c6ee7=_0x3fe180;let _0x23ddc6;for(const _0x54f8f4 in _0x393d8e){const _0x5ec5fe=_0x54f8f4,_0x3f059b=_0x393d8e[_0x5ec5fe];if(_0x5c6ee7(0x269)==_0x3f059b||_0x5c6ee7(0x1e8)==_0x3f059b||_0x5c6ee7(0x216)==_0x3f059b||_0x5c6ee7(0x267)==_0x3f059b||_0x5c6ee7(0x1d5)==_0x3f059b||_0x5c6ee7(0x221)==_0x3f059b||_0x5c6ee7(0x263)==_0x3f059b){delete _0x393d8e[_0x5ec5fe],_0x23ddc6=_0x3f059b,clearInterval(this[_0x5c6ee7(0x1d7)]),this[_0x5c6ee7(0x1d7)]=void 0x0;break;}}_0x5c6ee7(0x1e8)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1cc)),_0x5c6ee7(0x216)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1d6)),_0x5c6ee7(0x267)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x223)),_0x5c6ee7(0x1d5)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1c5),_0x5c6ee7(0x245)),_0x5c6ee7(0x221)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1d2)),_0x5c6ee7(0x263)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x236));},0x3e8);}[_0x2d8bab(0x24a)](){const _0x4dc02d=_0x2d8bab;super[_0x4dc02d(0x24a)](),this[_0x4dc02d(0x1d7)]&&clearInterval(this[_0x4dc02d(0x1d7)]);}[_0x2d8bab(0x24e)](_0x20ef33='',_0x5780e0='',_0x4eb14d=_0x2d8bab(0x20d)){const _0x2822d0=_0x2d8bab,_0x52c336=this[_0x2822d0(0x1cd)],_0x233c43=_0x52c336[_0x2822d0(0x232)][_0x2822d0(0x264)],_0x3f6868=_0x52c336[_0x2822d0(0x261)][_0x2822d0(0x229)](_0x577f5c),_0x305f03=_0x52c336[_0x2822d0(0x261)][_0x2822d0(0x229)](_0x247208);_0x3f6868[_0x2822d0(0x23b)]();const _0xec1d51=new w(),_0x3eaf11=new ClipboardEvent(_0x2822d0(0x1f5),{'clipboardData':_0xec1d51}),_0x566604=new _0x4465f7(_0xec1d51),_0x407757=new _0x5b5735(_0x233c43,_0x3eaf11,{'dataTransfer':_0x566604});_0x305f03[_0x2822d0(0x218)](_0x2822d0(0x1c2),()=>{const _0x27f764=_0x2822d0;_0x233c43[_0x27f764(0x257)][_0x27f764(0x22d)](_0x27f764(0x1f5),_0x407757);}),this[_0x2822d0(0x222)]||(this[_0x2822d0(0x1c8)](),this[_0x2822d0(0x244)]=new _0x309f1f(_0x52c336,this[_0x2822d0(0x1f8)][_0x2822d0(0x24c)],this[_0x2822d0(0x222)]));let _0x2366a7=_0x566604[_0x2822d0(0x256)](_0x2822d0(0x25a));const _0x4f5f14=_0x52c336[_0x2822d0(0x24d)][_0x2822d0(0x257)][_0x2822d0(0x241)],_0x4dba21=Array[_0x2822d0(0x1c3)](_0x4f5f14[_0x2822d0(0x1fe)]());0x1===_0x4dba21[_0x2822d0(0x1be)]&&_0x4dba21[0x0][_0x2822d0(0x1c4)]&&!_0x4f5f14[_0x2822d0(0x230)]()&&''!==_0x2366a7[_0x2822d0(0x20c)](/ /g,'')[_0x2822d0(0x225)]()&&(_0x2366a7=_0x2822d0(0x1e1)+_0x2366a7+_0x2822d0(0x1ce)),this[_0x2822d0(0x244)][_0x2822d0(0x1ca)]({'actionId':_0x4eb14d,'query':_0x20ef33,'htmlContent':_0x2366a7,'label':_0x5780e0,'mainActionLabel':_0x276a3c[_0x52c336[_0x2822d0(0x24d)][_0x2822d0(0x257)][_0x2822d0(0x241)][_0x2822d0(0x200)]?_0x2822d0(0x21d):_0x2822d0(0x1f0)]}),_0x2822d0(0x266)!==this[_0x2822d0(0x21b)]['id']?this[_0x2822d0(0x21b)][_0x2822d0(0x1cb)]({'id':_0x2822d0(0x266),'icon':_0x32100a,'title':_0x52c255(this[_0x2822d0(0x1cd)][_0x2822d0(0x1fd)],_0x2822d0(0x21a)),'content':this[_0x2822d0(0x222)],'position':_0xc235cb[_0x2822d0(0x23d)],'onShow':()=>{const _0x53bb3d=_0x2822d0;this[_0x53bb3d(0x222)][_0x53bb3d(0x21f)]();},'onHide':()=>{const _0x383e96=_0x2822d0;this[_0x383e96(0x244)][_0x383e96(0x258)](),_0x3f6868[_0x383e96(0x25d)]();}}):this[_0x2822d0(0x21b)][_0x2822d0(0x264)][_0x2822d0(0x20e)]||this[_0x2822d0(0x21b)][_0x2822d0(0x264)][_0x2822d0(0x20b)]();}[_0x2d8bab(0x1f9)](){const _0x1cbc51=_0x2d8bab;this[_0x1cbc51(0x21b)][_0x1cbc51(0x1c6)]();}[_0x2d8bab(0x246)](){const _0x49a084=_0x2d8bab,_0x2ce1a8=new Map(),_0x561bc8=_0x1cf33d(this[_0x49a084(0x1cd)][_0x49a084(0x22f)][_0x49a084(0x229)](_0x49a084(0x219)),this[_0x49a084(0x1cd)][_0x49a084(0x1fd)]);for(const _0x2e19da of _0x561bc8)for(const _0x576bf9 of _0x2e19da[_0x49a084(0x213)])_0x2ce1a8[_0x49a084(0x210)](_0x576bf9['id'],{..._0x576bf9,'groupId':_0x2e19da[_0x49a084(0x1df)],'groupLabel':_0x2e19da[_0x49a084(0x224)]||_0x2e19da[_0x49a084(0x1df)]});return _0x2ce1a8;}[_0x2d8bab(0x1c9)](_0x883db9){const _0x387047=_0x2d8bab,_0x55bf97=this[_0x387047(0x1cd)],_0x197156=_0x55bf97[_0x387047(0x213)][_0x387047(0x229)](_0x387047(0x238)),_0x5ae7c8=new _0x883db9(_0x55bf97[_0x387047(0x1fd)]);return _0x5ae7c8[_0x387047(0x210)]({'label':_0x52c255(_0x55bf97[_0x387047(0x1fd)],_0x387047(0x21a)),'icon':_0x32100a,'isToggleable':!0x0}),_0x5ae7c8[_0x387047(0x20a)](_0x387047(0x1dc))['to'](_0x197156),_0x5ae7c8[_0x387047(0x20a)](_0x387047(0x21e))['to'](this[_0x387047(0x21b)],'id',_0xad5c6e=>_0x387047(0x266)===_0xad5c6e),this[_0x387047(0x227)](_0x5ae7c8,_0x387047(0x239),()=>{const _0x54bc0f=_0x387047;_0x5ae7c8[_0x54bc0f(0x21e)]?this[_0x54bc0f(0x1f9)]():_0x197156[_0x54bc0f(0x239)]();}),_0x5ae7c8;}[_0x2d8bab(0x1c8)](){const _0x45378a=_0x2d8bab,_0x5cd53c=this[_0x45378a(0x1cd)][_0x45378a(0x261)][_0x45378a(0x229)](_0x577f5c);this[_0x45378a(0x222)]=new _0xeac431(this[_0x45378a(0x1cd)][_0x45378a(0x1fd)],this[_0x45378a(0x1ed)],this[_0x45378a(0x1cd)][_0x45378a(0x22f)][_0x45378a(0x229)](_0x45378a(0x24b))),this[_0x45378a(0x222)]['on'](_0x45378a(0x25e),()=>{const _0x2d6d4d=_0x45378a;this[_0x2d6d4d(0x21b)][_0x2d6d4d(0x264)][_0x2d6d4d(0x20e)]||this[_0x2d6d4d(0x21b)][_0x2d6d4d(0x264)][_0x2d6d4d(0x20b)]();}),this[_0x45378a(0x222)][_0x45378a(0x220)][_0x45378a(0x212)][_0x45378a(0x260)]['on'](_0x45378a(0x265),()=>{const _0x1bbbca=_0x45378a;this[_0x1bbbca(0x21b)][_0x1bbbca(0x264)][_0x1bbbca(0x20e)]||this[_0x1bbbca(0x21b)][_0x1bbbca(0x264)][_0x1bbbca(0x20b)]();}),this[_0x45378a(0x227)](this[_0x45378a(0x222)],_0x45378a(0x1db),()=>{const _0x1388cb=_0x45378a;_0x5cd53c[_0x1388cb(0x22e)](this[_0x1388cb(0x244)][_0x1388cb(0x23c)]),this[_0x1388cb(0x1f9)]();}),this[_0x45378a(0x227)](this[_0x45378a(0x222)],_0x45378a(0x26a),()=>{const _0x3ba026=_0x45378a;_0x5cd53c[_0x3ba026(0x26a)](this[_0x3ba026(0x244)][_0x3ba026(0x23c)]),this[_0x3ba026(0x1f9)]();}),this[_0x45378a(0x1dd)]();}[_0x2d8bab(0x1dd)](){const _0x57b40a=_0x2d8bab,{locale:_0x158ec1,ui:{ariaLiveAnnouncer:_0xff2ebe}}=this[_0x57b40a(0x1cd)];this[_0x57b40a(0x222)][_0x57b40a(0x231)]['on'](_0x57b40a(0x1ff),(_0x4a7099,_0x2cee01,_0x54d4b9)=>{const _0xe65d53=_0x57b40a,_0x3b361d=this[_0xe65d53(0x244)][_0xe65d53(0x23c)];_0x54d4b9?_0xff2ebe[_0xe65d53(0x234)](_0x52c255(_0x158ec1,_0xe65d53(0x262))):_0x3b361d&&_0xff2ebe[_0xe65d53(0x234)](_0x52c255(_0x158ec1,_0xe65d53(0x1d4),_0x3b361d),{'politeness':_0xe65d53(0x1ec),'isUnsafeHTML':!0x0});}),this[_0x57b40a(0x222)]['on'](_0x57b40a(0x253),(_0x2bbab2,_0x246d95,_0x292c54)=>{const _0x53a189=_0x57b40a;if(_0x292c54){const _0x5310ea=this[_0x53a189(0x222)][_0x53a189(0x1fa)][_0x53a189(0x215)];_0xff2ebe[_0x53a189(0x234)](_0x52c255(_0x158ec1,_0x53a189(0x1bd),_0x5310ea));}});}[_0x2d8bab(0x201)](_0x42ec8b){const _0x1d70bd=_0x2d8bab,_0x32ab0e=this[_0x1d70bd(0x248)][_0x1d70bd(0x229)](_0x42ec8b),_0x4170fa=this[_0x1d70bd(0x1cd)],_0x1c4ed0=_0x4170fa[_0x1d70bd(0x24d)][_0x1d70bd(0x257)][_0x1d70bd(0x241)],_0x50ee04=_0x4170fa[_0x1d70bd(0x213)][_0x1d70bd(0x229)](_0x1d70bd(0x238)),_0x62d14a=_0x4170fa[_0x1d70bd(0x261)][_0x1d70bd(0x229)](_0x577f5c),_0x55a27e=''+(_0x32ab0e[_0x1d70bd(0x1df)]!==_0x34b311?_0x32ab0e[_0x1d70bd(0x224)]+':\x20':'')+_0x32ab0e[_0x1d70bd(0x1f2)];if(!0x1!==_0x32ab0e[_0x1d70bd(0x24f)]&&_0x1c4ed0[_0x1d70bd(0x200)]){const _0x438b9e=_0x19be7c(_0x1c4ed0[_0x1d70bd(0x254)]())||_0x4170fa[_0x1d70bd(0x24d)][_0x1d70bd(0x23f)][_0x1d70bd(0x1fc)](_0x1c4ed0);_0x4170fa[_0x1d70bd(0x24d)][_0x1d70bd(0x249)](_0x2d72e7=>{const _0x584999=_0x1d70bd;_0x2d72e7[_0x584999(0x22c)](_0x438b9e,'in');});}_0x62d14a[_0x1d70bd(0x23b)](),_0x50ee04[_0x1d70bd(0x239)](_0x32ab0e[_0x1d70bd(0x203)],_0x55a27e,_0x1d70bd(0x1c0)+_0x42ec8b);}[_0x2d8bab(0x22b)](_0x342e6c,_0x974ec3,_0x266d6c,_0xef39f4){const _0x3d3c2f=_0x2d8bab,_0x29c921=this[_0x3d3c2f(0x1cd)],_0xaced9=_0x29c921[_0x3d3c2f(0x1fd)],_0x1d9f02=new _0x67cf38(_0xaced9),_0xdae99a=B(_0x29c921,_0x266d6c)[_0x3d3c2f(0x1e5)](_0x2b4468=>_0x2b4468[_0x3d3c2f(0x213)][_0x3d3c2f(0x1be)]);0x1===_0xdae99a[_0x3d3c2f(0x1be)]?this[_0x3d3c2f(0x237)]({'command':_0x342e6c,'commands':_0xdae99a[0x0][_0x3d3c2f(0x213)],'parentMenuView':_0x974ec3,'onExecute':_0xef39f4})[_0x3d3c2f(0x228)](_0x1c5cbe=>_0x1d9f02[_0x3d3c2f(0x25c)][_0x3d3c2f(0x205)](_0x1c5cbe)):_0xdae99a[_0x3d3c2f(0x228)](({groupId:_0x311319,groupLabel:_0x4999ed,commands:_0x4eda47})=>{const _0x5e1ba6=_0x3d3c2f,_0x51b1cc=new _0x31057c(_0xaced9,_0x974ec3),_0x258de8=new _0x5f048d(_0xaced9),_0x12e53e=new _0x67cf38(_0xaced9),_0x3e284f=this[_0x5e1ba6(0x237)]({'command':_0x342e6c,'commands':_0x4eda47,'parentMenuView':_0x258de8,'onExecute':_0xef39f4});_0x258de8[_0x5e1ba6(0x25f)][_0x5e1ba6(0x210)]({'label':_0x4999ed||_0x311319}),_0x258de8[_0x5e1ba6(0x252)](_0x5e1ba6(0x239))['to'](_0x974ec3),_0x12e53e[_0x5e1ba6(0x25c)][_0x5e1ba6(0x1d1)](_0x3e284f),_0x258de8[_0x5e1ba6(0x1f7)][_0x5e1ba6(0x1e4)][_0x5e1ba6(0x205)](_0x12e53e),_0x51b1cc[_0x5e1ba6(0x1e4)][_0x5e1ba6(0x205)](_0x258de8),_0x1d9f02[_0x5e1ba6(0x25c)][_0x5e1ba6(0x205)](_0x51b1cc);}),_0x974ec3[_0x3d3c2f(0x1f7)][_0x3d3c2f(0x1e4)][_0x3d3c2f(0x205)](_0x1d9f02);}[_0x2d8bab(0x237)]({command:_0x36a2b5,commands:_0x4d9c5f,parentMenuView:_0x3a2fb5,onExecute:_0x20b582}){const _0x2c303b=_0x2d8bab,_0x1c8908=this[_0x2c303b(0x1cd)],_0x31c691=_0x1c8908[_0x2c303b(0x1fd)];return B(_0x1c8908,_0x4d9c5f)[_0x2c303b(0x208)](_0x351640=>{const _0x101884=_0x2c303b,_0x4efd69=new _0x31057c(_0x31c691,_0x3a2fb5),_0x41455a=new _0x24aeaf(_0x31c691);return _0x41455a[_0x101884(0x210)]({'label':_0x351640[_0x101884(0x1f2)]}),_0x41455a[_0x101884(0x252)](_0x101884(0x239))['to'](_0x3a2fb5),_0x41455a['on'](_0x101884(0x239),()=>_0x20b582(_0x351640['id'])),_0x41455a[_0x101884(0x20a)](_0x101884(0x1dc))['to'](_0x36a2b5,_0x101884(0x1f6),_0x37bb46=>_0x37bb46[_0x101884(0x251)](_0x351640['id'])),_0x4efd69[_0x101884(0x1e4)][_0x101884(0x205)](_0x41455a),_0x4efd69;});}}function U(_0xb9f0a1,_0x73858f){const _0x169ca8=_0x2d8bab;return void 0x0!==_0xb9f0a1[_0x169ca8(0x243)]&&void 0x0===_0x73858f[_0x169ca8(0x243)]?0x1:void 0x0===_0xb9f0a1[_0x169ca8(0x243)]&&void 0x0!==_0x73858f[_0x169ca8(0x243)]?-0x1:void 0x0!==_0xb9f0a1[_0x169ca8(0x243)]&&void 0x0!==_0x73858f[_0x169ca8(0x243)]?_0xb9f0a1[_0x169ca8(0x243)]-_0x73858f[_0x169ca8(0x243)]:0x0;}function B(_0x46072d,_0x1f294c){const _0x1066e8=_0x2d8bab;_0x1f294c[_0x1066e8(0x204)](U);const _0x4171fe={},_0x339def=[];for(const _0x587399 of _0x1f294c)if(void 0x0!==_0x587399[_0x1066e8(0x243)]){if(_0x587399[_0x1066e8(0x243)]in _0x4171fe)throw new _0x3a556a(_0x1066e8(0x250),_0x46072d,{'conflictingDefinitions':[_0x587399,_0x4171fe[_0x587399[_0x1066e8(0x243)]]]});_0x4171fe[_0x587399[_0x1066e8(0x243)]]=_0x587399,_0x339def[_0x1066e8(0x1f3)](_0x587399[_0x1066e8(0x243)],0x0,_0x587399);}else _0x339def[_0x1066e8(0x1d0)](_0x587399);return _0x339def;}
|
|
23
|
+
const _0x5e15f8=_0x4bb3;(function(_0x5742e7,_0x108a73){const _0x4e8f95=_0x4bb3,_0x11f479=_0x5742e7();while(!![]){try{const _0x187104=parseInt(_0x4e8f95(0x126))/0x1+-parseInt(_0x4e8f95(0xcb))/0x2*(-parseInt(_0x4e8f95(0xdd))/0x3)+parseInt(_0x4e8f95(0xa7))/0x4*(-parseInt(_0x4e8f95(0xbf))/0x5)+-parseInt(_0x4e8f95(0xce))/0x6*(parseInt(_0x4e8f95(0xf5))/0x7)+parseInt(_0x4e8f95(0x115))/0x8+parseInt(_0x4e8f95(0x10d))/0x9*(parseInt(_0x4e8f95(0x9a))/0xa)+-parseInt(_0x4e8f95(0xa3))/0xb;if(_0x187104===_0x108a73)break;else _0x11f479['push'](_0x11f479['shift']());}catch(_0x431fe9){_0x11f479['push'](_0x11f479['shift']());}}}(_0x1cec,0xaef09));import{Plugin as _0x332a97}from'ckeditor5/src/core.js';import{IconMagicWand as _0x589612,IconRobotPencil as _0x3b24b0}from'ckeditor5/src/icons.js';import{first as _0x2da4b0,CKEditorError as _0x487582}from'ckeditor5/src/utils.js';import{createDropdown as _0x241973,addMenuToDropdown as _0x444ff8,ButtonView as _0x56603d,MenuBarMenuListItemButtonView as _0x3df59e,Dialog as _0x18e1b8,DialogViewPosition as _0x2d7bef,MenuBarMenuView as _0x5afbc0,MenuBarMenuListView as _0xf1a181,MenuBarMenuListItemView as _0xb7f7da}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x34ffe4,UNGROUPED_COMMANDS_GROUP_ID as _0x2cc927}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x490b23}from'./aiassistantediting.js';import{AIAdapter as _0x18cfc4}from'./adapters/aiadapter.js';import{getTranslation as _0x1e7e66}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x37c92b}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x22382f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x26cf78}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4f7569}from'./ui/form/aiformtoolbarview.js';function _0x1cec(){const _0x75f929=['domainLimit','contentArea','getRanges','_getResolvedCommandsDefinitions','7zqIqjG','announce','set','panelView','source','delegate','hideUI','isOfficialPlugin','show','focus','locale','aiLicenseKeyDomainLimit','destroy','change','isEnabled','licenseKey','replace','buttonView','AIAssistant','showFakeVisualSelection','pluginName','showUI','ck-ai-commands-dropdown\x20','menuPanelClass','9DgNZrE','_initView','buttons','hideFakeVisualSelection','length','getData','document','setSelection','2901504VuPDXp','invalid','aiLicenseKeyExpired','<p>','_licenseKeyCheckInterval','map','change:isProcessing','tableOfContents','replaceContent','view','editor','custom','updatePosition','_aiAdapter','getSelectedBlocks','wasMoved','trim','913004HEpNHT','aiLicenseKeyValid','body','fieldView','media','REPLACE','selection','define','listenTo','commands','rawHtml','once','promptView','addMany','ai.assistant.commands','filter','currentContext','insertContentBelow','isFlat','ck-ai-assistant-button\x20','ai.assistant.disabledElements','aiCommands','isCollapsed','expired','aiLicenseKeyInvalid','fire','</p>','AI\x20is\x20writing','errorView','requiresContent','insertContent','aiLicenseKeyNotAllowed','_getMenuBarGroupButtons','groupLabel','change:value','5866690rOsamc','getLimitElement','order','items','update','INSERT','textAdapter','_forceMarkersCopy','add','2229799RAuuyw','menuBar:aiCommands','updateView','Generated\x20content:\x20%0','4fHlfnG','featureNotAllowed','plugins','requires','includes','menuitemcheckbox','isPremiumPlugin','copy','DataTransfer','text','ai-commands-config-order-collision','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20Commands','usageLimit','render','aiLicenseKeyUsageLimit','evaluationLimit','_createAIAssistantUIButton','AIAssistantUI','EDITOR_TOP_SIDE','_dialog','get','isOn','command:','4460075CrkcMW','queryView','_populateMenuBarMenu','sort','splice','reset','hide','push','_formView','values','_aiAssistantController','aiAssistant','26566ZmjdyE','componentFactory','_uiCssClasses','8037210ledWpv','config','ai.assistant.contentAreaCssClass','groupId','init','execute','AI\x20Assistant','getSelectedElement','change:enabledCommandsIds','model','enabledCommandsIds','ai.assistant.useTheme','bind','showAIAssistant','_showLicenseError','291qUvPyG','_initAriaAiStatusChangeAnnouncements','menuView','polite','menuBar:aiAssistant','aiLicenseKeyEvaluationLimit','from','_onExecute','\x20ck-ai-assistant-ui_theme','label','forEach','change:isError','prompt','ck-ai-assistant-ui','editing','schema','text/html','children','_commandDefinitions','comment'];_0x1cec=function(){return _0x75f929;};return _0x1cec();}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const st=globalThis[_0x5e15f8(0xaf)];import{ClipboardMarkersUtils as _0x3563ed}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x40efda,ViewDataTransfer as _0x1c2194}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x332a97{[_0x5e15f8(0x104)];[_0x5e15f8(0x119)];[_0x5e15f8(0xbb)];[_0x5e15f8(0xc7)];[_0x5e15f8(0x122)];[_0x5e15f8(0xc9)];[_0x5e15f8(0xcd)]='';static get[_0x5e15f8(0x109)](){const _0x5ceaa9=_0x5e15f8;return _0x5ceaa9(0xb9);}static get[_0x5e15f8(0xfc)](){return!0x0;}static get[_0x5e15f8(0xad)](){return!0x0;}static get[_0x5e15f8(0xaa)](){return[_0x3563ed,_0x490b23,_0x18cfc4,_0x18e1b8];}constructor(_0xca62ae){const _0x387b4e=_0x5e15f8;super(_0xca62ae),_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0x12d)](_0x387b4e(0x8b),[_0x387b4e(0x12a),_0x387b4e(0x81),_0x387b4e(0x11c)]),_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0x12d)](_0x387b4e(0xd0),''),_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0x12d)](_0x387b4e(0xd9),!0x0),this[_0x387b4e(0xcd)]=_0x387b4e(0xea)+(_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0xbc)](_0x387b4e(0xd9))?_0x387b4e(0xe5):'');}[_0x5e15f8(0xd2)](){const _0x8a8dbf=_0x5e15f8,{editor:_0x35f01a}=this;this[_0x8a8dbf(0x122)]=_0x35f01a[_0x8a8dbf(0xa9)][_0x8a8dbf(0xbc)](_0x18cfc4),this[_0x8a8dbf(0xbb)]=_0x35f01a[_0x8a8dbf(0xa9)][_0x8a8dbf(0xbc)](_0x18e1b8),this[_0x8a8dbf(0xc7)]=null,this[_0x8a8dbf(0xef)]=this[_0x8a8dbf(0xf4)]();const _0x4aa7f1=new _0x37c92b(_0x35f01a,Array[_0x8a8dbf(0xe3)](this[_0x8a8dbf(0xef)][_0x8a8dbf(0xc8)]()));_0x35f01a[_0x8a8dbf(0x80)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xdb),_0x4aa7f1),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0x8c),_0x316d84=>{const _0x36dbab=_0x8a8dbf,_0x5b801a=_0x241973(_0x316d84);return _0x5b801a[_0x36dbab(0xf7)]({'class':_0x36dbab(0x10b)+this[_0x36dbab(0xcd)]}),_0x5b801a[_0x36dbab(0x106)][_0x36dbab(0xf7)]({'label':_0x1e7e66(_0x316d84,_0x36dbab(0xb3)),'icon':_0x589612,'tooltip':!0x0}),_0x5b801a['on'](_0x36dbab(0xd3),_0x26ac04=>this[_0x36dbab(0xe4)](_0x26ac04[_0x36dbab(0xf9)]['id'])),_0x444ff8(_0x5b801a,_0x35f01a['ui'][_0x36dbab(0x11e)][_0x36dbab(0x128)],function(_0x33493e){const _0x58c172=_0x36dbab,_0x56c734=_0x34ffe4(_0x33493e[_0x58c172(0xcf)][_0x58c172(0xbc)](_0x58c172(0x85)),_0x33493e[_0x58c172(0xff)]),_0x8ae6a9=gi(_0x33493e,_0x56c734)[_0x58c172(0x86)](_0x2b25f8=>_0x2b25f8[_0x58c172(0x80)][_0x58c172(0x111)]);if(0x1===_0x8ae6a9[_0x58c172(0x111)])return gi(_0x33493e,_0x8ae6a9[0x0][_0x58c172(0x80)])[_0x58c172(0x11a)](_0x17958e=>({'id':_0x17958e['id'],'label':_0x17958e[_0x58c172(0xe6)]}));return _0x8ae6a9[_0x58c172(0x11a)](_0x1774dd=>{const _0x47ee3c=_0x58c172,{groupId:_0x3438ac,groupLabel:_0x1f348a,commands:_0x4e6671}=_0x1774dd,_0x3e35e8=gi(_0x33493e,_0x4e6671)[_0x47ee3c(0x11a)](_0x532daf=>({'id':_0x532daf['id'],'label':_0x532daf[_0x47ee3c(0xe6)]}));return{'id':_0x3438ac,'menu':_0x1f348a||_0x3438ac,'children':_0x3e35e8};});}(_0x35f01a),{'ariaLabel':_0x1e7e66(_0x316d84,_0x36dbab(0xb3))}),_0x5b801a[_0x36dbab(0xdf)][_0x36dbab(0x10c)]=_0x36dbab(0x10b)+this[_0x36dbab(0xcd)],_0x4aa7f1['on'](_0x36dbab(0xd6),_0x4f1e3f),_0x5b801a[_0x36dbab(0xdf)][_0x36dbab(0x82)](_0x36dbab(0xb5),_0x4f1e3f),_0x5b801a;function _0x4f1e3f(){const _0x534fca=_0x36dbab;_0x5b801a[_0x534fca(0x103)]=_0x4aa7f1[_0x534fca(0xd8)][_0x534fca(0x111)]>0x0;for(const _0x24b941 of _0x5b801a[_0x534fca(0xdf)][_0x534fca(0x10f)])_0x24b941[_0x534fca(0x103)]=_0x4aa7f1[_0x534fca(0xd8)][_0x534fca(0xab)](_0x24b941['id']);}}),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xa4),_0x8de340=>{const _0x2b2098=_0x8a8dbf,_0x202341=new _0x5afbc0(_0x8de340);_0x202341[_0x2b2098(0x106)][_0x2b2098(0xf7)]({'label':_0x1e7e66(_0x8de340,_0x2b2098(0xb3)),'icon':_0x589612}),_0x202341[_0x2b2098(0xda)](_0x2b2098(0x103))['to'](_0x4aa7f1,_0x2b2098(0xd8),_0xca0ac3=>_0xca0ac3[_0x2b2098(0x111)]>0x0);const _0x1ae045=_0x34ffe4(_0x35f01a[_0x2b2098(0xcf)][_0x2b2098(0xbc)](_0x2b2098(0x85)),_0x8de340);return this[_0x2b2098(0xc1)](_0x4aa7f1,_0x202341,_0x1ae045,_0x23e828=>this[_0x2b2098(0xe4)](_0x23e828)),_0x202341;}),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xca),()=>{const _0x18b288=_0x8a8dbf,_0xbe89e7=this[_0x18b288(0xb8)](_0x56603d);return _0xbe89e7[_0x18b288(0xf7)]({'tooltip':!0x0,'class':_0x18b288(0x8a)+this[_0x18b288(0xcd)]}),_0xbe89e7;}),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xe1),()=>{const _0x262749=_0x8a8dbf,_0x2868ec=this[_0x262749(0xb8)](_0x3df59e);return _0x2868ec[_0x262749(0xf7)]({'role':_0x262749(0xac)}),_0x2868ec;}),this[_0x8a8dbf(0x104)]=this[_0x8a8dbf(0x11f)][_0x8a8dbf(0xcf)][_0x8a8dbf(0xbc)](_0x8a8dbf(0x104));const _0x58c6a7=this[_0x8a8dbf(0x11f)];this[_0x8a8dbf(0x119)]=setInterval(()=>{const _0xe6a479=_0x8a8dbf;let _0xb9c55b;for(const _0x195f9f in _0x58c6a7){const _0x1338da=_0x195f9f,_0x2d8783=_0x58c6a7[_0x1338da];if(_0xe6a479(0x127)==_0x2d8783||_0xe6a479(0x8f)==_0x2d8783||_0xe6a479(0x117)==_0x2d8783||_0xe6a479(0x100)==_0x2d8783||_0xe6a479(0x96)==_0x2d8783||_0xe6a479(0xe2)==_0x2d8783||_0xe6a479(0xb6)==_0x2d8783){delete _0x58c6a7[_0x1338da],_0xb9c55b=_0x2d8783,clearInterval(this[_0xe6a479(0x119)]),this[_0xe6a479(0x119)]=void 0x0;break;}}_0xe6a479(0x8f)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0x116)),_0xe6a479(0x117)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0x8e)),_0xe6a479(0x100)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xf1)),_0xe6a479(0x96)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xa8),_0xe6a479(0x107)),_0xe6a479(0xe2)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xb7)),_0xe6a479(0xb6)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xb4));},0x3e8);}[_0x5e15f8(0x101)](){const _0x4d3569=_0x5e15f8;super[_0x4d3569(0x101)](),this[_0x4d3569(0x119)]&&clearInterval(this[_0x4d3569(0x119)]);}[_0x5e15f8(0x10a)](_0x5de8f5='',_0x5186c3='',_0x9bdfae=_0x5e15f8(0x120)){const _0x4c6a23=_0x5e15f8,_0x2003e2=this[_0x4c6a23(0x11f)],_0x464a39=_0x2003e2[_0x4c6a23(0xeb)][_0x4c6a23(0x11e)],_0x137231=_0x2003e2[_0x4c6a23(0xa9)][_0x4c6a23(0xbc)](_0x490b23),_0x2fe5f3=_0x2003e2[_0x4c6a23(0xa9)][_0x4c6a23(0xbc)](_0x3563ed);_0x137231[_0x4c6a23(0x108)]();const _0x204363=new st(),_0x56396d=new ClipboardEvent(_0x4c6a23(0xae),{'clipboardData':_0x204363}),_0x4acf86=new _0x1c2194(_0x204363),_0x14d120=new _0x40efda(_0x464a39,_0x56396d,{'dataTransfer':_0x4acf86});_0x2fe5f3[_0x4c6a23(0xa1)](_0x4c6a23(0xf0),()=>{const _0x72f836=_0x4c6a23;_0x464a39[_0x72f836(0x113)][_0x72f836(0x90)](_0x72f836(0xae),_0x14d120);}),this[_0x4c6a23(0xc7)]||(this[_0x4c6a23(0x10e)](),this[_0x4c6a23(0xc9)]=new _0x22382f(_0x2003e2,this[_0x4c6a23(0x122)][_0x4c6a23(0xa0)],this[_0x4c6a23(0xc7)]));let _0x1a71aa=_0x4acf86[_0x4c6a23(0x112)](_0x4c6a23(0xed));const _0x5770de=_0x2003e2[_0x4c6a23(0xd7)][_0x4c6a23(0x113)][_0x4c6a23(0x12c)],_0x143ed6=Array[_0x4c6a23(0xe3)](_0x5770de[_0x4c6a23(0xf3)]());0x1===_0x143ed6[_0x4c6a23(0x111)]&&_0x143ed6[0x0][_0x4c6a23(0x89)]&&!_0x5770de[_0x4c6a23(0xd5)]()&&''!==_0x1a71aa[_0x4c6a23(0x105)](/ /g,'')[_0x4c6a23(0x125)]()&&(_0x1a71aa=_0x4c6a23(0x118)+_0x1a71aa+_0x4c6a23(0x91)),this[_0x4c6a23(0xc9)][_0x4c6a23(0xa5)]({'actionId':_0x9bdfae,'query':_0x5de8f5,'htmlContent':_0x1a71aa,'label':_0x5186c3,'mainActionLabel':_0x4f7569[_0x2003e2[_0x4c6a23(0xd7)][_0x4c6a23(0x113)][_0x4c6a23(0x12c)][_0x4c6a23(0x8d)]?_0x4c6a23(0x9f):_0x4c6a23(0x12b)]}),_0x4c6a23(0xca)!==this[_0x4c6a23(0xbb)]['id']?this[_0x4c6a23(0xbb)][_0x4c6a23(0xfd)]({'id':_0x4c6a23(0xca),'icon':_0x3b24b0,'title':_0x1e7e66(this[_0x4c6a23(0x11f)][_0x4c6a23(0xff)],_0x4c6a23(0xd4)),'content':this[_0x4c6a23(0xc7)],'position':_0x2d7bef[_0x4c6a23(0xba)],'onShow':()=>{const _0x11de77=_0x4c6a23;this[_0x11de77(0xc7)][_0x11de77(0xfe)]();},'onHide':()=>{const _0x54ba5e=_0x4c6a23;this[_0x54ba5e(0xc9)][_0x54ba5e(0xc4)](),_0x137231[_0x54ba5e(0x110)]();}}):this[_0x4c6a23(0xbb)][_0x4c6a23(0x11e)][_0x4c6a23(0x124)]||this[_0x4c6a23(0xbb)][_0x4c6a23(0x11e)][_0x4c6a23(0x121)]();}[_0x5e15f8(0xfb)](){const _0x337cc7=_0x5e15f8;this[_0x337cc7(0xbb)][_0x337cc7(0xc5)]();}[_0x5e15f8(0xf4)](){const _0x145216=_0x5e15f8,_0x14a9f3=new Map(),_0x448293=_0x34ffe4(this[_0x145216(0x11f)][_0x145216(0xcf)][_0x145216(0xbc)](_0x145216(0x85)),this[_0x145216(0x11f)][_0x145216(0xff)]);for(const _0x231a1e of _0x448293)for(const _0x9e2ba9 of _0x231a1e[_0x145216(0x80)])_0x14a9f3[_0x145216(0xf7)](_0x9e2ba9['id'],{..._0x9e2ba9,'groupId':_0x231a1e[_0x145216(0xd1)],'groupLabel':_0x231a1e[_0x145216(0x98)]||_0x231a1e[_0x145216(0xd1)]});return _0x14a9f3;}[_0x5e15f8(0xb8)](_0x18f691){const _0x132c69=_0x5e15f8,_0x332740=this[_0x132c69(0x11f)],_0x197034=_0x332740[_0x132c69(0x80)][_0x132c69(0xbc)](_0x132c69(0xdb)),_0x42ec35=new _0x18f691(_0x332740[_0x132c69(0xff)]);return _0x42ec35[_0x132c69(0xf7)]({'label':_0x1e7e66(_0x332740[_0x132c69(0xff)],_0x132c69(0xd4)),'icon':_0x3b24b0,'isToggleable':!0x0}),_0x42ec35[_0x132c69(0xda)](_0x132c69(0x103))['to'](_0x197034),_0x42ec35[_0x132c69(0xda)](_0x132c69(0xbd))['to'](this[_0x132c69(0xbb)],'id',_0x19a9c7=>_0x132c69(0xca)===_0x19a9c7),this[_0x132c69(0x12e)](_0x42ec35,_0x132c69(0xd3),()=>{const _0x23edbe=_0x132c69;_0x42ec35[_0x23edbe(0xbd)]?this[_0x23edbe(0xfb)]():_0x197034[_0x23edbe(0xd3)]();}),_0x42ec35;}[_0x5e15f8(0x10e)](){const _0x3ad2ee=_0x5e15f8,_0x35c2b1=this[_0x3ad2ee(0x11f)][_0x3ad2ee(0xa9)][_0x3ad2ee(0xbc)](_0x490b23);this[_0x3ad2ee(0xc7)]=new _0x26cf78(this[_0x3ad2ee(0x11f)][_0x3ad2ee(0xff)],this[_0x3ad2ee(0xcd)],this[_0x3ad2ee(0x11f)][_0x3ad2ee(0xcf)][_0x3ad2ee(0xbc)](_0x3ad2ee(0xd0))),this[_0x3ad2ee(0xc7)]['on'](_0x3ad2ee(0x99),()=>{const _0x5e0739=_0x3ad2ee;this[_0x5e0739(0xbb)][_0x5e0739(0x11e)][_0x5e0739(0x124)]||this[_0x5e0739(0xbb)][_0x5e0739(0x11e)][_0x5e0739(0x121)]();}),this[_0x3ad2ee(0xc7)][_0x3ad2ee(0x83)][_0x3ad2ee(0xc0)][_0x3ad2ee(0x129)]['on'](_0x3ad2ee(0x9e),()=>{const _0x842a20=_0x3ad2ee;this[_0x842a20(0xbb)][_0x842a20(0x11e)][_0x842a20(0x124)]||this[_0x842a20(0xbb)][_0x842a20(0x11e)][_0x842a20(0x121)]();}),this[_0x3ad2ee(0x12e)](this[_0x3ad2ee(0xc7)],_0x3ad2ee(0x11d),()=>{const _0x150fe5=_0x3ad2ee;_0x35c2b1[_0x150fe5(0x95)](this[_0x150fe5(0xc9)][_0x150fe5(0x87)]),this[_0x150fe5(0xfb)]();}),this[_0x3ad2ee(0x12e)](this[_0x3ad2ee(0xc7)],_0x3ad2ee(0x88),()=>{const _0x58f45=_0x3ad2ee;_0x35c2b1[_0x58f45(0x88)](this[_0x58f45(0xc9)][_0x58f45(0x87)]),this[_0x58f45(0xfb)]();}),this[_0x3ad2ee(0xde)]();}[_0x5e15f8(0xde)](){const _0x4212c3=_0x5e15f8,{locale:_0x15d6fd,ui:{ariaLiveAnnouncer:_0x2656c3}}=this[_0x4212c3(0x11f)];this[_0x4212c3(0xc7)][_0x4212c3(0xf2)]['on'](_0x4212c3(0x11b),(_0x18f486,_0x4dfa63,_0x57d140)=>{const _0x5285e7=_0x4212c3,_0x23e30c=this[_0x5285e7(0xc9)][_0x5285e7(0x87)];_0x57d140?_0x2656c3[_0x5285e7(0xf6)](_0x1e7e66(_0x15d6fd,_0x5285e7(0x92))):_0x23e30c&&_0x2656c3[_0x5285e7(0xf6)](_0x1e7e66(_0x15d6fd,_0x5285e7(0xa6),_0x23e30c),{'politeness':_0x5285e7(0xe0),'isUnsafeHTML':!0x0});}),this[_0x4212c3(0xc7)]['on'](_0x4212c3(0xe8),(_0x2f285f,_0x4d6b6e,_0x546715)=>{const _0x18d621=_0x4212c3;if(_0x546715){const _0x2f7425=this[_0x18d621(0xc7)][_0x18d621(0x93)][_0x18d621(0xb0)];_0x2656c3[_0x18d621(0xf6)](_0x1e7e66(_0x15d6fd,_0x18d621(0xb2),_0x2f7425));}});}[_0x5e15f8(0xe4)](_0x5f5871){const _0x2d2366=_0x5e15f8,_0x354a11=this[_0x2d2366(0xef)][_0x2d2366(0xbc)](_0x5f5871),_0x26e2f2=this[_0x2d2366(0x11f)],_0x12f011=_0x26e2f2[_0x2d2366(0xd7)][_0x2d2366(0x113)][_0x2d2366(0x12c)],_0x17961d=_0x26e2f2[_0x2d2366(0x80)][_0x2d2366(0xbc)](_0x2d2366(0xdb)),_0x3a98e5=_0x26e2f2[_0x2d2366(0xa9)][_0x2d2366(0xbc)](_0x490b23),_0x2acf6b=''+(_0x354a11[_0x2d2366(0xd1)]!==_0x2cc927?_0x354a11[_0x2d2366(0x98)]+':\x20':'')+_0x354a11[_0x2d2366(0xe6)];if(!0x1!==_0x354a11[_0x2d2366(0x94)]&&_0x12f011[_0x2d2366(0x8d)]){const _0x1853b2=_0x2da4b0(_0x12f011[_0x2d2366(0x123)]())||_0x26e2f2[_0x2d2366(0xd7)][_0x2d2366(0xec)][_0x2d2366(0x9b)](_0x12f011);_0x26e2f2[_0x2d2366(0xd7)][_0x2d2366(0x102)](_0x30e652=>{const _0xfb6707=_0x2d2366;_0x30e652[_0xfb6707(0x114)](_0x1853b2,'in');});}_0x3a98e5[_0x2d2366(0x108)](),_0x17961d[_0x2d2366(0xd3)](_0x354a11[_0x2d2366(0xe9)],_0x2acf6b,_0x2d2366(0xbe)+_0x5f5871);}[_0x5e15f8(0xc1)](_0x35152a,_0x37521f,_0x3d2b57,_0x2398e9){const _0x585768=_0x5e15f8,_0x4fbc04=this[_0x585768(0x11f)],_0x95f951=_0x4fbc04[_0x585768(0xff)],_0x8858d5=new _0xf1a181(_0x95f951),_0x10b51b=gi(_0x4fbc04,_0x3d2b57)[_0x585768(0x86)](_0x41b558=>_0x41b558[_0x585768(0x80)][_0x585768(0x111)]);0x1===_0x10b51b[_0x585768(0x111)]?this[_0x585768(0x97)]({'command':_0x35152a,'commands':_0x10b51b[0x0][_0x585768(0x80)],'parentMenuView':_0x37521f,'onExecute':_0x2398e9})[_0x585768(0xe7)](_0x57f6b2=>_0x8858d5[_0x585768(0x9d)][_0x585768(0xa2)](_0x57f6b2)):_0x10b51b[_0x585768(0xe7)](({groupId:_0x25787d,groupLabel:_0x14e610,commands:_0x4ef1cc})=>{const _0x8a2b80=_0x585768,_0x24bf6c=new _0xb7f7da(_0x95f951,_0x37521f),_0x5941f6=new _0x5afbc0(_0x95f951),_0x7fbfa6=new _0xf1a181(_0x95f951),_0x2b829e=this[_0x8a2b80(0x97)]({'command':_0x35152a,'commands':_0x4ef1cc,'parentMenuView':_0x5941f6,'onExecute':_0x2398e9});_0x5941f6[_0x8a2b80(0x106)][_0x8a2b80(0xf7)]({'label':_0x14e610||_0x25787d}),_0x5941f6[_0x8a2b80(0xfa)](_0x8a2b80(0xd3))['to'](_0x37521f),_0x7fbfa6[_0x8a2b80(0x9d)][_0x8a2b80(0x84)](_0x2b829e),_0x5941f6[_0x8a2b80(0xf8)][_0x8a2b80(0xee)][_0x8a2b80(0xa2)](_0x7fbfa6),_0x24bf6c[_0x8a2b80(0xee)][_0x8a2b80(0xa2)](_0x5941f6),_0x8858d5[_0x8a2b80(0x9d)][_0x8a2b80(0xa2)](_0x24bf6c);}),_0x37521f[_0x585768(0xf8)][_0x585768(0xee)][_0x585768(0xa2)](_0x8858d5);}[_0x5e15f8(0x97)]({command:_0x3fdba3,commands:_0x4fc603,parentMenuView:_0x53365c,onExecute:_0x43683c}){const _0x14f4c6=_0x5e15f8,_0x2b49e2=this[_0x14f4c6(0x11f)],_0x14c675=_0x2b49e2[_0x14f4c6(0xff)];return gi(_0x2b49e2,_0x4fc603)[_0x14f4c6(0x11a)](_0x49a5cf=>{const _0x7032e9=_0x14f4c6,_0x59a4d6=new _0xb7f7da(_0x14c675,_0x53365c),_0x3db4df=new _0x3df59e(_0x14c675);return _0x3db4df[_0x7032e9(0xf7)]({'label':_0x49a5cf[_0x7032e9(0xe6)]}),_0x3db4df[_0x7032e9(0xfa)](_0x7032e9(0xd3))['to'](_0x53365c),_0x3db4df['on'](_0x7032e9(0xd3),()=>_0x43683c(_0x49a5cf['id'])),_0x3db4df[_0x7032e9(0xda)](_0x7032e9(0x103))['to'](_0x3fdba3,_0x7032e9(0xd8),_0x456020=>_0x456020[_0x7032e9(0xab)](_0x49a5cf['id'])),_0x59a4d6[_0x7032e9(0xee)][_0x7032e9(0xa2)](_0x3db4df),_0x59a4d6;});}}function wi(_0x102428,_0x1fcc82){const _0x5ee62e=_0x5e15f8;return void 0x0!==_0x102428[_0x5ee62e(0x9c)]&&void 0x0===_0x1fcc82[_0x5ee62e(0x9c)]?0x1:void 0x0===_0x102428[_0x5ee62e(0x9c)]&&void 0x0!==_0x1fcc82[_0x5ee62e(0x9c)]?-0x1:void 0x0!==_0x102428[_0x5ee62e(0x9c)]&&void 0x0!==_0x1fcc82[_0x5ee62e(0x9c)]?_0x102428[_0x5ee62e(0x9c)]-_0x1fcc82[_0x5ee62e(0x9c)]:0x0;}function _0x4bb3(_0x14a84b,_0x5b12c6){const _0x1cec1e=_0x1cec();return _0x4bb3=function(_0x4bb36e,_0xb93e5d){_0x4bb36e=_0x4bb36e-0x80;let _0x2b9f31=_0x1cec1e[_0x4bb36e];return _0x2b9f31;},_0x4bb3(_0x14a84b,_0x5b12c6);}function gi(_0x3b4263,_0x3e2585){const _0x5c054d=_0x5e15f8;_0x3e2585[_0x5c054d(0xc2)](wi);const _0x524555={},_0x8c7ace=[];for(const _0x2c7e40 of _0x3e2585)if(void 0x0!==_0x2c7e40[_0x5c054d(0x9c)]){if(_0x2c7e40[_0x5c054d(0x9c)]in _0x524555)throw new _0x487582(_0x5c054d(0xb1),_0x3b4263,{'conflictingDefinitions':[_0x2c7e40,_0x524555[_0x2c7e40[_0x5c054d(0x9c)]]]});_0x524555[_0x2c7e40[_0x5c054d(0x9c)]]=_0x2c7e40,_0x8c7ace[_0x5c054d(0xc3)](_0x2c7e40[_0x5c054d(0x9c)],0x0,_0x2c7e40);}else _0x8c7ace[_0x5c054d(0xc6)](_0x2c7e40);return _0x8c7ace;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3a2d(){var _0x2561c2=['1402124wYJrDi','12XWFoKV','5463490FpsWjH','6YRruCY','105zQYjvC','16rQVWnC','479192ctPENH','6174sDiFHS','4VtMcPQ','3037761ygPiAs','12914231TZoRyQ','21200842XtOjsm','10yHZqlD'];_0x3a2d=function(){return _0x2561c2;};return _0x3a2d();}(function(_0x496518,_0x107806){var _0x128c36=_0x2ddc,_0x4e4ced=_0x496518();while(!![]){try{var _0x516ae8=-parseInt(_0x128c36(0x10d))/0x1+parseInt(_0x128c36(0x107))/0x2*(parseInt(_0x128c36(0x10a))/0x3)+parseInt(_0x128c36(0x10f))/0x4*(parseInt(_0x128c36(0x109))/0x5)+parseInt(_0x128c36(0x10e))/0x6*(-parseInt(_0x128c36(0x10b))/0x7)+parseInt(_0x128c36(0x10c))/0x8*(-parseInt(_0x128c36(0x103))/0x9)+-parseInt(_0x128c36(0x106))/0xa*(-parseInt(_0x128c36(0x104))/0xb)+parseInt(_0x128c36(0x108))/0xc*(-parseInt(_0x128c36(0x105))/0xd);if(_0x516ae8===_0x107806)break;else _0x4e4ced['push'](_0x4e4ced['shift']());}catch(_0x12cc9b){_0x4e4ced['push'](_0x4e4ced['shift']());}}}(_0x3a2d,0xd3fe4));function _0x2ddc(_0x57b700,_0x2d936a){var _0x3a2d7d=_0x3a2d();return _0x2ddc=function(_0x2ddc31,_0x2c655e){_0x2ddc31=_0x2ddc31-0x103;var _0x1c70a4=_0x3a2d7d[_0x2ddc31];return _0x1c70a4;},_0x2ddc(_0x57b700,_0x2d936a);}import{CKEditorError as _0x217848}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4cc7(_0x562972,_0x446fd3){const _0x251a65=_0x251a();return _0x4cc7=function(_0x4cc7e9,_0x5eecbd){_0x4cc7e9=_0x4cc7e9-0x162;let _0x3da77a=_0x251a65[_0x4cc7e9];return _0x3da77a;},_0x4cc7(_0x562972,_0x446fd3);}const _0x40bc17=_0x4cc7;(function(_0x518217,_0x47b07b){const _0x3de157=_0x4cc7,_0x5c69be=_0x518217();while(!![]){try{const _0x4a5865=-parseInt(_0x3de157(0x166))/0x1+-parseInt(_0x3de157(0x1b8))/0x2+-parseInt(_0x3de157(0x191))/0x3+-parseInt(_0x3de157(0x1a0))/0x4*(-parseInt(_0x3de157(0x196))/0x5)+parseInt(_0x3de157(0x1a8))/0x6+parseInt(_0x3de157(0x169))/0x7*(parseInt(_0x3de157(0x1ae))/0x8)+parseInt(_0x3de157(0x1b4))/0x9;if(_0x4a5865===_0x47b07b)break;else _0x5c69be['push'](_0x5c69be['shift']());}catch(_0x18b9ed){_0x5c69be['push'](_0x5c69be['shift']());}}}(_0x251a,0xb4272));import{ObservableMixin as _0x2dbc51}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1430f5}from'../adapters/aiadapter.js';import{Matcher as _0x5965b4,ViewUpcastWriter as _0x22eb2e}from'ckeditor5/src/engine.js';function _0x251a(){const _0x1c8853=['editing','abort','reset','```','catch','_xmlSerializer','_handleQuery','previousQuery','finishProcessing','message','previousContext','push','clear','_stripMarkdownSyntax','childNodes','destroy','stopListening','518130yxNEtf','finally','serializeToString','setContentOf','previousActionId','5hCybVW','querySelector','listenTo','trim','stringify','submitPrompt','prompt','document','from','processor','1822812XhhPeC','toModel','reverse','```html','remove','markers','view','exec','4390950puSEmH','element','_parseAndNormalizeContent','makeRequest','config','startsWith','8cEbUPS','nodeType','render','toView','htmlProcessor','body','9069048MDooDU','startProcessing','substring','endsWith','1595146CFUOlX','set:currentContext','_domParser','ELEMENT_NODE','mainAction','_sanitizationContainer','match','currentContext','isRendered','custom','updateView','get','domConverter','length','<h1></h1>','editor','rename','938904UJjTZQ','set','data','3163251keVRId','then','stopProcessing','parseFromString','name','once','isProcessing','handleError','div','currentResponse','ai.assistant.preserveComments','text/html','innerHTML','textAdapter','viewToDom','previousLabel','initialContext','_sanitizeHTML','createElement','value','_normalizeResponseHeadings','tryAgainEvent','_isH1TagSupportEnabled'];_0x251a=function(){return _0x1c8853;};return _0x251a();}const ps=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2dbc51(){[_0x40bc17(0x164)];[_0x40bc17(0x176)];[_0x40bc17(0x1a6)];[_0x40bc17(0x1bd)];[_0x40bc17(0x1ba)];[_0x40bc17(0x185)];constructor(_0x356ba6,_0x92bbdd,_0x2730c5){const _0x4a35f1=_0x40bc17;super(),this[_0x4a35f1(0x164)]=_0x356ba6,this[_0x4a35f1(0x176)]=_0x92bbdd,this[_0x4a35f1(0x1bd)]=document[_0x4a35f1(0x17b)](_0x4a35f1(0x171)),this[_0x4a35f1(0x1ba)]=new DOMParser(),this[_0x4a35f1(0x185)]=new XMLSerializer(),this[_0x4a35f1(0x1a6)]=_0x2730c5,this[_0x4a35f1(0x167)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4a35f1(0x1b9),(_0x5d9bfc,_0x339a99,_0x13bcad)=>{const _0x78ab2e=_0x4a35f1;this[_0x78ab2e(0x1a6)][_0x78ab2e(0x17c)]=this[_0x78ab2e(0x17a)](_0x13bcad);}),this[_0x4a35f1(0x198)](this[_0x4a35f1(0x1a6)],_0x4a35f1(0x19b),(_0x460b3b,_0x1a2722)=>{const _0x4c459d=_0x4a35f1,_0x5be078=this[_0x4c459d(0x1bf)]||this[_0x4c459d(0x179)];this[_0x4c459d(0x186)](_0x1a2722,_0x5be078,_0x4c459d(0x1c1));}),this[_0x4a35f1(0x198)](this[_0x4a35f1(0x1a6)],_0x4a35f1(0x17e),()=>{const _0x566304=_0x4a35f1;this[_0x566304(0x1a6)][_0x566304(0x19c)]=this[_0x566304(0x178)],this[_0x566304(0x186)](this[_0x566304(0x187)],this[_0x566304(0x18a)],this[_0x566304(0x195)],this[_0x566304(0x178)]);}),this[_0x4a35f1(0x198)](this[_0x4a35f1(0x1a6)],_0x4a35f1(0x16b),()=>{const _0x16026b=_0x4a35f1;this[_0x16026b(0x16b)]();});}[_0x40bc17(0x18f)](){const _0x522835=_0x40bc17;this[_0x522835(0x190)]();}async[_0x40bc17(0x1c2)]({actionId:_0x3a4dfa,query:_0x4f482f,htmlContent:_0x301faf,label:_0x126ec6,mainActionLabel:_0x14db80}){const _0x3370c6=_0x40bc17;this[_0x3370c6(0x1a6)][_0x3370c6(0x19c)]=_0x126ec6,this[_0x3370c6(0x1a6)][_0x3370c6(0x1bc)]=_0x14db80,this[_0x3370c6(0x179)]=_0x301faf,_0x4f482f&&(this[_0x3370c6(0x1a6)][_0x3370c6(0x1c0)]?this[_0x3370c6(0x186)](_0x4f482f,_0x301faf,_0x3a4dfa,_0x126ec6):this[_0x3370c6(0x1a6)][_0x3370c6(0x16e)](_0x3370c6(0x1b0),()=>{const _0x520614=_0x3370c6;this[_0x520614(0x186)](_0x4f482f,_0x301faf,_0x3a4dfa,_0x126ec6);}));}[_0x40bc17(0x16b)](){const _0x132499=_0x40bc17;this[_0x132499(0x16f)]&&(this[_0x132499(0x16f)]=!0x1,this[_0x132499(0x1a6)][_0x132499(0x188)](),this[_0x132499(0x176)][_0x132499(0x181)]());}[_0x40bc17(0x182)](){const _0x2ba122=_0x40bc17;this[_0x2ba122(0x179)]='',this[_0x2ba122(0x1bf)]='',this[_0x2ba122(0x172)]='',this[_0x2ba122(0x18a)]='',this[_0x2ba122(0x187)]='',this[_0x2ba122(0x178)]='',this[_0x2ba122(0x195)]=void 0x0,this[_0x2ba122(0x1a6)][_0x2ba122(0x182)](),this[_0x2ba122(0x16b)]();}async[_0x40bc17(0x186)](_0x3d5261,_0x2c4afb,_0x310307,_0x10c82d){const _0xc8e414=_0x40bc17;return this[_0xc8e414(0x16f)]=!0x0,this[_0xc8e414(0x1a6)][_0xc8e414(0x1b5)](),this[_0xc8e414(0x18a)]=_0x2c4afb,this[_0xc8e414(0x187)]=_0x3d5261,this[_0xc8e414(0x178)]=_0x10c82d||_0x3d5261,this[_0xc8e414(0x195)]=_0x310307,new Promise(_0x5389cd=>{const _0x3a58fd=_0xc8e414;this[_0x3a58fd(0x176)][_0x3a58fd(0x1ab)]({'query':_0x3d5261,'context':_0x2c4afb,'onData':_0x400c0a=>{const _0x26535c=_0x3a58fd;this[_0x26535c(0x172)]=_0x400c0a,this[_0x26535c(0x1bf)]=this[_0x26535c(0x1aa)](this[_0x26535c(0x172)]);},'actionId':_0x310307})[_0x3a58fd(0x16a)](()=>{const _0x5a3d6=_0x3a58fd;!this[_0x5a3d6(0x1bf)]&&this[_0x5a3d6(0x172)]&&(this[_0x5a3d6(0x1bf)]=this[_0x5a3d6(0x1aa)](this[_0x5a3d6(0x172)],!0x0));})[_0x3a58fd(0x184)](_0xb85881=>{const _0x19e6af=_0x3a58fd;_0xb85881 instanceof _0x1430f5?this[_0x19e6af(0x1a6)][_0x19e6af(0x170)](_0xb85881[_0x19e6af(0x189)]):this[_0x19e6af(0x1a6)][_0x19e6af(0x170)](),_0x5389cd();})[_0x3a58fd(0x192)](()=>{const _0x103002=_0x3a58fd;this[_0x103002(0x16b)](),_0x5389cd();});});}[_0x40bc17(0x1aa)](_0x2720ef,_0xdeb029=!0x1){const _0x4b9646=_0x40bc17,_0x5a4d64=ps[_0x4b9646(0x1a7)](_0x2720ef);_0x2720ef=_0x5a4d64?_0x2720ef[_0x4b9646(0x1b6)](_0x5a4d64[0x1][_0x4b9646(0x162)]):_0x2720ef[_0x4b9646(0x162)]<0x64&&!_0xdeb029?'':this[_0x4b9646(0x18d)](_0x2720ef);const _0x54c784=this[_0x4b9646(0x1ba)][_0x4b9646(0x16c)](_0x2720ef,_0x4b9646(0x174));if(_0x5a4d64){const _0x4eaf62=Array[_0x4b9646(0x19e)](_0x54c784[_0x4b9646(0x1b3)][_0x4b9646(0x18e)]);_0x4eaf62[_0x4b9646(0x1a2)]();for(const _0x18025f of _0x4eaf62){if(_0x18025f[_0x4b9646(0x1af)]==Node[_0x4b9646(0x1bb)])break;_0x18025f[_0x4b9646(0x1a4)]();}}const _0x23e3be=this[_0x4b9646(0x164)][_0x4b9646(0x168)][_0x4b9646(0x19f)][_0x4b9646(0x1b1)](this[_0x4b9646(0x185)][_0x4b9646(0x193)](_0x54c784[_0x4b9646(0x1b3)]));this[_0x4b9646(0x17f)]()||this[_0x4b9646(0x17d)](_0x23e3be);const _0x3a4751=this[_0x4b9646(0x164)][_0x4b9646(0x1ac)][_0x4b9646(0x1c3)](_0x4b9646(0x173)),_0x1261b8=this[_0x4b9646(0x164)][_0x4b9646(0x168)][_0x4b9646(0x1a1)](_0x23e3be);return _0x3a4751||_0x1261b8[_0x4b9646(0x1a5)][_0x4b9646(0x18c)](),this[_0x4b9646(0x164)][_0x4b9646(0x168)][_0x4b9646(0x19a)](_0x1261b8);}[_0x40bc17(0x17d)](_0x2ebc9a){const _0x4d9df2=_0x40bc17,_0x42df4c=new _0x22eb2e(this[_0x4d9df2(0x164)][_0x4d9df2(0x180)][_0x4d9df2(0x1a6)][_0x4d9df2(0x19d)]),_0x50ef04=new _0x5965b4({'name':/^h[1-5]$/}),_0x11aea0=[];let _0x10b671=!0x1;for(const _0x3d5b78 of _0x2ebc9a)_0x3d5b78['is'](_0x4d9df2(0x1a9))&&_0x50ef04[_0x4d9df2(0x1be)](_0x3d5b78)&&(_0x11aea0[_0x4d9df2(0x18b)](_0x3d5b78),'h1'==_0x3d5b78[_0x4d9df2(0x16d)]&&(_0x10b671=!0x0));if(_0x10b671){for(const _0x34ae1f of _0x11aea0)_0x42df4c[_0x4d9df2(0x165)]('h'+(parseInt(_0x34ae1f[_0x4d9df2(0x16d)][0x1])+0x1),_0x34ae1f);}}[_0x40bc17(0x17f)](){const _0x14c361=_0x40bc17,{data:_0x148c4e,editing:_0x23d17b}=this[_0x14c361(0x164)],_0x5d271d=_0x148c4e[_0x14c361(0x1b2)][_0x14c361(0x1b1)](_0x14c361(0x163)),_0x117f6b=_0x148c4e[_0x14c361(0x1b1)](_0x148c4e[_0x14c361(0x1a1)](_0x5d271d));return!!_0x23d17b[_0x14c361(0x1a6)][_0x14c361(0x1c4)][_0x14c361(0x177)](_0x117f6b)[_0x14c361(0x197)]('h1');}[_0x40bc17(0x17a)](_0x18749d){const _0x4fd5b4=_0x40bc17;return this[_0x4fd5b4(0x164)][_0x4fd5b4(0x180)][_0x4fd5b4(0x1a6)][_0x4fd5b4(0x1c4)][_0x4fd5b4(0x194)](this[_0x4fd5b4(0x1bd)],_0x18749d),this[_0x4fd5b4(0x1bd)][_0x4fd5b4(0x175)];}[_0x40bc17(0x18d)](_0x1fff13){const _0x47f2f3=_0x40bc17,_0x41d8a6=_0x1fff13[_0x47f2f3(0x199)]();return _0x41d8a6[_0x47f2f3(0x1ad)](_0x47f2f3(0x1a3))?_0x41d8a6[_0x47f2f3(0x1b7)](_0x47f2f3(0x183))?_0x41d8a6[_0x47f2f3(0x1b6)](0x7,_0x41d8a6[_0x47f2f3(0x162)]-0x3):_0x41d8a6[_0x47f2f3(0x1b6)](0x7):_0x1fff13;}}
|