@ckeditor/ckeditor5-ai 47.7.2 → 47.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/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 +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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.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 _0x16ba87=_0xefbc;function _0xc052(){var _0x224465=['12232636lFjuCZ','afterInit','928040QetHgf','AIAdapter','4139577zsPtzH','textAdapter','aiadapter-text-adapter-not-set','264VFLQve','AIRequestError','29672OILRlp','pluginName','3xrcAvU','isPremiumPlugin','12GfeXKK','7ZTrDGx','isOfficialPlugin','12VxCttk','12ONQAaA','name','10808984vLyApL','1588100rarzzB','319290NVmfhE'];_0xc052=function(){return _0x224465;};return _0xc052();}(function(_0x1ca1c3,_0x68c5fd){var _0x1eea9f=_0xefbc,_0x44ed8e=_0x1ca1c3();while(!![]){try{var _0x4ce69d=-parseInt(_0x1eea9f(0x152))/0x1*(-parseInt(_0x1eea9f(0x149))/0x2)+-parseInt(_0x1eea9f(0x154))/0x3*(parseInt(_0x1eea9f(0x150))/0x4)+parseInt(_0x1eea9f(0x145))/0x5*(-parseInt(_0x1eea9f(0x141))/0x6)+-parseInt(_0x1eea9f(0x155))/0x7*(-parseInt(_0x1eea9f(0x144))/0x8)+parseInt(_0x1eea9f(0x14b))/0x9+parseInt(_0x1eea9f(0x146))/0xa*(-parseInt(_0x1eea9f(0x14e))/0xb)+-parseInt(_0x1eea9f(0x142))/0xc*(parseInt(_0x1eea9f(0x147))/0xd);if(_0x4ce69d===_0x68c5fd)break;else _0x44ed8e['push'](_0x44ed8e['shift']());}catch(_0x1c3810){_0x44ed8e['push'](_0x44ed8e['shift']());}}}(_0xc052,0xcadec));import{Plugin as _0xeca5b7}from'ckeditor5/src/core.js';import{CKEditorError as _0x2abc44}from'ckeditor5/src/utils.js';export class AIAdapter extends _0xeca5b7{static get[_0x16ba87(0x151)](){var _0x1774c0=_0x16ba87;return _0x1774c0(0x14a);}static get[_0x16ba87(0x140)](){return!0x0;}static get[_0x16ba87(0x153)](){return!0x0;}[_0x16ba87(0x148)](){var _0x4f5ba2=_0x16ba87;if(!this[_0x4f5ba2(0x14c)])throw new _0x2abc44(_0x4f5ba2(0x14d),null);}}function _0xefbc(_0x2eb519,_0x3fcd29){var _0xc05281=_0xc052();return _0xefbc=function(_0xefbc9f,_0x4a6902){_0xefbc9f=_0xefbc9f-0x140;var _0x2c938d=_0xc05281[_0xefbc9f];return _0x2c938d;},_0xefbc(_0x2eb519,_0x3fcd29);}export class AIRequestError extends Error{constructor(_0xee93be){var _0x1c878b=_0x16ba87;super(_0xee93be),this[_0x1c878b(0x143)]=_0x1c878b(0x14f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44d95e=_0x71f9;(function(_0x4f333e,_0x56ebc6){const _0x156ce8=_0x71f9,_0x8a0cf2=_0x4f333e();while(!![]){try{const _0x27509a=parseInt(_0x156ce8(0x1da))/0x1*(parseInt(_0x156ce8(0x1bd))/0x2)+parseInt(_0x156ce8(0x1b8))/0x3+parseInt(_0x156ce8(0x1d8))/0x4*(parseInt(_0x156ce8(0x1ca))/0x5)+parseInt(_0x156ce8(0x1d6))/0x6+parseInt(_0x156ce8(0x1cd))/0x7+parseInt(_0x156ce8(0x1d5))/0x8+-parseInt(_0x156ce8(0x1bb))/0x9;if(_0x27509a===_0x56ebc6)break;else _0x8a0cf2['push'](_0x8a0cf2['shift']());}catch(_0x41d4c2){_0x8a0cf2['push'](_0x8a0cf2['shift']());}}}(_0x413b,0x7b460));import{Plugin as _0x382d4c}from'ckeditor5/src/core.js';import{CKEditorError as _0x1769bc}from'ckeditor5/src/utils.js';import{AIAdapter as _0x3e7268,AIRequestError as _0x22c9cb}from'./aiadapter.js';function _0x71f9(_0x4e0b83,_0x8bf839){const _0x413bed=_0x413b();return _0x71f9=function(_0x71f96,_0x2bdfcf){_0x71f96=_0x71f96-0x1b8;let _0x487472=_0x413bed[_0x71f96];return _0x487472;},_0x71f9(_0x4e0b83,_0x8bf839);}function _0x413b(){const _0x4076e4=['AI_ERROR_GET_HEADERS','resolve','application/json','get','7525064mbDFSh','3128322hMSDpm','name','912LgOQwb','reject','3632CHqKqn','catch','2113689veAswd','_prepareRequestParameters','sendRequest','25523712boxoaX','makeRequest','178uMBrVd','aborted','AI_ERROR_GET_PARAMETERS','aitextadapter-send-request-failed','init','locale','signal','editor','plugins','object','AbortError','abort','textAdapter','115OSpgfA','assign','_prepareRequestHeaders','5920747lpcJcg','requires','error','abortController'];_0x413b=function(){return _0x4076e4;};return _0x413b();}import{getTranslation as _0x38ddaa}from'../utils/common-translations.js';export class AITextAdapter extends _0x382d4c{[_0x44d95e(0x1d0)];static get[_0x44d95e(0x1ce)](){return[_0x3e7268];}constructor(_0x51e2cc){const _0x42797b=_0x44d95e;super(_0x51e2cc),this[_0x42797b(0x1d0)]=new AbortController();}[_0x44d95e(0x1c1)](){const _0x274f18=_0x44d95e;this[_0x274f18(0x1c4)][_0x274f18(0x1c5)][_0x274f18(0x1d4)](_0x3e7268)[_0x274f18(0x1c9)]=this;}[_0x44d95e(0x1c8)](){const _0x529db6=_0x44d95e;this[_0x529db6(0x1d0)][_0x529db6(0x1c3)][_0x529db6(0x1be)]||(this[_0x529db6(0x1d0)][_0x529db6(0x1c8)](),this[_0x529db6(0x1d0)]=new AbortController());}async[_0x44d95e(0x1bc)](_0xa24dad){const _0x3256a5=_0x44d95e;return this[_0x3256a5(0x1ba)](_0xa24dad)[_0x3256a5(0x1db)](_0x2eed99=>{const _0x548cb0=_0x3256a5;if(_0x2eed99 instanceof _0x22c9cb)return Promise[_0x548cb0(0x1d9)](_0x2eed99);if(_0x548cb0(0x1c7)==_0x2eed99[_0x548cb0(0x1d7)])return Promise[_0x548cb0(0x1d2)]();throw console[_0x548cb0(0x1cf)](_0x2eed99),new _0x1769bc(_0x548cb0(0x1c0),null);});}async[_0x44d95e(0x1cc)](_0x4167b7,_0x5373d9){const _0x300a98=_0x44d95e,_0x4dd0ab=this[_0x300a98(0x1c4)][_0x300a98(0x1c2)],_0x3a39b1={'Content-Type':_0x300a98(0x1d3)};if(_0x300a98(0x1c6)==typeof _0x4167b7)Object[_0x300a98(0x1cb)](_0x3a39b1,_0x4167b7);else{if(_0x4167b7)try{const _0x385620=await _0x4167b7(_0x5373d9);Object[_0x300a98(0x1cb)](_0x3a39b1,_0x385620);}catch{return Promise[_0x300a98(0x1d9)](new _0x22c9cb(_0x38ddaa(_0x4dd0ab,_0x300a98(0x1d1))));}}return _0x3a39b1;}async[_0x44d95e(0x1b9)](_0x3ded13,_0x44e236){const _0x5bb8b8=_0x44d95e,_0x12069e=this[_0x5bb8b8(0x1c4)][_0x5bb8b8(0x1c2)];if(_0x5bb8b8(0x1c6)==typeof _0x3ded13)return _0x3ded13;try{return await _0x3ded13(_0x44e236);}catch{return Promise[_0x5bb8b8(0x1d9)](new _0x22c9cb(_0x38ddaa(_0x12069e,_0x5bb8b8(0x1bf))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x13a786=_0x50ae;(function(_0x2e30bd,_0x5da4e8){var _0x2d1b69=_0x50ae,_0x49b3f6=_0x2e30bd();while(!![]){try{var _0x37bde6=-parseInt(_0x2d1b69(0x15a))/0x1+parseInt(_0x2d1b69(0x152))/0x2+parseInt(_0x2d1b69(0x14c))/0x3*(-parseInt(_0x2d1b69(0x155))/0x4)+-parseInt(_0x2d1b69(0x159))/0x5+-parseInt(_0x2d1b69(0x156))/0x6+-parseInt(_0x2d1b69(0x158))/0x7*(parseInt(_0x2d1b69(0x15b))/0x8)+parseInt(_0x2d1b69(0x157))/0x9;if(_0x37bde6===_0x5da4e8)break;else _0x49b3f6['push'](_0x49b3f6['shift']());}catch(_0x40c51b){_0x49b3f6['push'](_0x49b3f6['shift']());}}}(_0x5414,0xd2a5c));function _0x5414(){var _0x42d0ae=['AWSTextAdapter','1104888hDRGTu','sendRequest','pluginName','12dvDcBO','5345466AWNTEG','36596718oqOIJz','7jZmfYG','3910430KZcbmn','810906VoZAWT','7963808xjiCZJ','init','276555orMDeS','editor','AI_ERROR_AWS_NOT_SUPPORTED','locale','ai-aws-adapter-not-supported'];_0x5414=function(){return _0x42d0ae;};return _0x5414();}import{AITextAdapter as _0x56a978}from'./aitextadapter.js';import{AIRequestError as _0x5ab9b7}from'./aiadapter.js';function _0x50ae(_0x1d4b13,_0x36ae0a){var _0x541483=_0x5414();return _0x50ae=function(_0x50ae0a,_0x24e202){_0x50ae0a=_0x50ae0a-0x14b;var _0x9eec3=_0x541483[_0x50ae0a];return _0x9eec3;},_0x50ae(_0x1d4b13,_0x36ae0a);}import{getTranslation as _0x55ca43}from'../utils/common-translations.js';import{logWarning as _0x20416,logError as _0x210ef4}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x56a978{static get[_0x13a786(0x154)](){var _0x4ac8dd=_0x13a786;return _0x4ac8dd(0x151);}[_0x13a786(0x14b)](){var _0x3ae7d0=_0x13a786;super[_0x3ae7d0(0x14b)](),_0x20416(_0x3ae7d0(0x150));}async[_0x13a786(0x153)](_0x45e620){var _0x4a4b1e=_0x13a786;throw _0x210ef4(_0x4a4b1e(0x150)),new _0x5ab9b7(_0x55ca43(this[_0x4a4b1e(0x14d)][_0x4a4b1e(0x14f)],_0x4a4b1e(0x14e)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f134c=_0x1aea;(function(_0x876ae5,_0x408c75){const _0x4c2e31=_0x1aea,_0x3ce521=_0x876ae5();while(!![]){try{const _0xb637fa=-parseInt(_0x4c2e31(0x11a))/0x1+parseInt(_0x4c2e31(0x11d))/0x2+parseInt(_0x4c2e31(0xfe))/0x3*(-parseInt(_0x4c2e31(0x109))/0x4)+-parseInt(_0x4c2e31(0x10e))/0x5+parseInt(_0x4c2e31(0x117))/0x6+parseInt(_0x4c2e31(0x105))/0x7+parseInt(_0x4c2e31(0x12e))/0x8;if(_0xb637fa===_0x408c75)break;else _0x3ce521['push'](_0x3ce521['shift']());}catch(_0x583eaf){_0x3ce521['push'](_0x3ce521['shift']());}}}(_0x1d9e,0x92eda));import{AITextAdapter as _0x42bdde}from'./aitextadapter.js';import{AIRequestError as _0x1f8a88}from'./aiadapter.js';function _0x1aea(_0x1f1e43,_0x23de51){const _0x1d9ef9=_0x1d9e();return _0x1aea=function(_0x1aea5a,_0x1ef115){_0x1aea5a=_0x1aea5a-0xf2;let _0x468d69=_0x1d9ef9[_0x1aea5a];return _0x468d69;},_0x1aea(_0x1f1e43,_0x23de51);}function _0x1d9e(){const _0x7403ec=['Moderation','editor','config','1572384eEiTwk','decode','data:\x20','1069076mTeCLF','define','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.','963040GZBZXE','_requestHeaders','ai.assistant.adapter.openAI.apiUrl','system','choices','ai.assistant.adapter.openAI.requestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','parse','message','get','AI_ERROR_CONTEXT_LENGTH','user','https://api.openai.com/v1/chat/completions','text','Instruction:\x0a','read','POST','8812912ZikeyW','length','AI_ERROR_MODERATION','getReader','stringify','_readStreamableResponse','content','signal','_isBufferIncomplete','resolve','context_length_exceeded','delta','ai.assistant.adapter.openAI.requestHeaders','_prepareRequestParameters','abortController','body','pluginName','join','_apiUrl','locale','3BBYDXq','json','gpt-4o','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.','OpenAITextAdapter','_cleanUpData','[DONE]','6624247vZvjHd','includes','_requestParameters','filter','171668GsedGC','sendRequest','_readStaticResponse','replace','stream','5388540uvqyEF','prepareMessages','reject','split','_prepareRequestHeaders','map'];_0x1d9e=function(){return _0x7403ec;};return _0x1d9e();}import{getTranslation as _0x5afe20}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x42bdde{[_0x4f134c(0xfc)];[_0x4f134c(0x11e)];[_0x4f134c(0x107)];static get[_0x4f134c(0xfa)](){const _0xeb2658=_0x4f134c;return _0xeb2658(0x102);}constructor(_0x26d4f1){const _0x31ab8b=_0x4f134c;super(_0x26d4f1),_0x26d4f1[_0x31ab8b(0x116)][_0x31ab8b(0x11b)](_0x31ab8b(0x11f),_0x31ab8b(0x129)),_0x26d4f1[_0x31ab8b(0x116)][_0x31ab8b(0x126)](_0x31ab8b(0x122))||_0x26d4f1[_0x31ab8b(0x116)][_0x31ab8b(0x11b)](_0x31ab8b(0x122),{'model':_0x31ab8b(0x100),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x31ab8b(0xfc)]=_0x26d4f1[_0x31ab8b(0x116)][_0x31ab8b(0x126)](_0x31ab8b(0x11f)),this[_0x31ab8b(0x11e)]=_0x26d4f1[_0x31ab8b(0x116)][_0x31ab8b(0x126)](_0x31ab8b(0xf6))||{},this[_0x31ab8b(0x107)]=_0x26d4f1[_0x31ab8b(0x116)][_0x31ab8b(0x126)](_0x31ab8b(0x122));}async[_0x4f134c(0x10a)]({query:_0x1154cd,context:_0x4c26a5,onData:_0x46301f,actionId:_0x4e5f28}){const _0x159b51=_0x4f134c,_0x3aef69=this[_0x159b51(0x115)][_0x159b51(0xfd)],_0x157c86=await this[_0x159b51(0x10f)](_0x1154cd,_0x4c26a5,_0x4e5f28),_0xeb831d=await this[_0x159b51(0x112)](this[_0x159b51(0x11e)],_0x4e5f28),_0xe29a72=await this[_0x159b51(0xf7)](this[_0x159b51(0x107)],_0x4e5f28),_0x38e3b5={'messages':_0x157c86,..._0xe29a72},_0x544af2={'method':_0x159b51(0x12d),'headers':_0xeb831d,'body':JSON[_0x159b51(0x132)](_0x38e3b5),'signal':this[_0x159b51(0xf8)][_0x159b51(0x135)]},_0x49c450=await fetch(this[_0x159b51(0xfc)],_0x544af2);if(_0x49c450['ok'])return _0xe29a72[_0x159b51(0x10d)]?await this[_0x159b51(0x133)](_0x49c450,_0x46301f):await this[_0x159b51(0x10b)](_0x49c450,_0x46301f),Promise[_0x159b51(0xf3)]();{const _0x2b694d=await _0x49c450[_0x159b51(0x12a)]();return _0x2b694d[_0x159b51(0x106)](_0x159b51(0xf4))?Promise[_0x159b51(0x110)](new _0x1f8a88(_0x5afe20(_0x3aef69,_0x159b51(0x127)))):_0x2b694d[_0x159b51(0x106)](_0x159b51(0x114))?Promise[_0x159b51(0x110)](new _0x1f8a88(_0x5afe20(_0x3aef69,_0x159b51(0x130)))):Promise[_0x159b51(0x110)](new Error(_0x2b694d));}}async[_0x4f134c(0x10f)](_0xc47f7,_0x843818,_0x337d1f){const _0x2ecb50=_0x4f134c;let _0x47a0b8,_0x9cd379;return _0x843818?(_0x47a0b8=_0x2ecb50(0x11c),_0x9cd379=_0x2ecb50(0x12b)+_0xc47f7+_0x2ecb50(0x123)+_0x843818):(_0x47a0b8=_0x2ecb50(0x101),_0x9cd379=_0xc47f7),[{'role':_0x2ecb50(0x120),'content':_0x47a0b8},{'role':_0x2ecb50(0x128),'content':_0x9cd379}];}async[_0x4f134c(0x133)](_0x12e6de,_0x4feb2a){const _0x4acb11=_0x4f134c,_0x1fe695=_0x12e6de[_0x4acb11(0xf9)][_0x4acb11(0x131)](),_0x4b3680=new TextDecoder();let _0x3a7e32='',_0x12fb5f='',_0x1a0d21='',_0x472ab5=!0x1;for(;!_0x472ab5;){const {done:_0x6a9438,value:_0x754a2a}=await _0x1fe695[_0x4acb11(0x12c)](),_0x50f982=_0x3a7e32+_0x4b3680[_0x4acb11(0x118)](_0x754a2a);let _0x2f9e26='';_0x472ab5=_0x6a9438;try{_0x2f9e26=this[_0x4acb11(0x103)](_0x50f982),_0x3a7e32='';}catch{_0x3a7e32=_0x50f982;continue;}_0x12fb5f+=_0x2f9e26,!_0x472ab5&&this[_0x4acb11(0xf2)](_0x12fb5f)||_0x12fb5f&&(_0x1a0d21+=_0x12fb5f,_0x12fb5f='',_0x4feb2a(_0x1a0d21));}return Promise[_0x4acb11(0xf3)]();}async[_0x4f134c(0x10b)](_0xc19df2,_0x12bc79){const _0x251010=_0x4f134c;return _0x12bc79((await _0xc19df2[_0x251010(0xff)]())[_0x251010(0x121)][0x0][_0x251010(0x125)][_0x251010(0x134)]),Promise[_0x251010(0xf3)]();}[_0x4f134c(0xf2)](_0x5be895){const _0x3e3161=_0x4f134c,_0x2e9fe8=_0x5be895[_0x3e3161(0x111)]('<')[_0x3e3161(0x12f)]!==_0x5be895[_0x3e3161(0x111)]('>')[_0x3e3161(0x12f)],_0x7d8b5=_0x5be895[_0x3e3161(0x12f)]<0x1e;return _0x2e9fe8&&_0x7d8b5;}[_0x4f134c(0x103)](_0x466467){const _0x3b3ef1=_0x4f134c;return _0x466467[_0x3b3ef1(0x111)](/\n(?![^{]*\})/g)[_0x3b3ef1(0x113)](_0x4fad36=>_0x4fad36[_0x3b3ef1(0x10c)](_0x3b3ef1(0x119),''))[_0x3b3ef1(0x108)](_0x34ce30=>_0x34ce30&&_0x34ce30[_0x3b3ef1(0x12f)]>0x0&&_0x3b3ef1(0x104)!==_0x34ce30)[_0x3b3ef1(0x113)](_0x1b979d=>{const _0x12c69a=_0x3b3ef1,{choices:_0x3201a1}=JSON[_0x12c69a(0x124)](_0x1b979d);if(_0x3201a1[0x0]?.[_0x12c69a(0xf5)]?.[_0x12c69a(0x134)])return _0x3201a1[0x0][_0x12c69a(0xf5)][_0x12c69a(0x134)];})[_0x3b3ef1(0x108)](_0x1285f4=>_0x1285f4)[_0x3b3ef1(0xfb)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3fa7(_0x2e2685,_0xe15d54){const _0x5f0575=_0x5f05();return _0x3fa7=function(_0x3fa7ec,_0x4ef809){_0x3fa7ec=_0x3fa7ec-0x6f;let _0x957d2a=_0x5f0575[_0x3fa7ec];return _0x957d2a;},_0x3fa7(_0x2e2685,_0xe15d54);}const _0x52d597=_0x3fa7;(function(_0xd5e5fd,_0x24d11c){const _0x3bdd63=_0x3fa7,_0x522574=_0xd5e5fd();while(!![]){try{const _0x11c659=parseInt(_0x3bdd63(0x8c))/0x1*(parseInt(_0x3bdd63(0xa1))/0x2)+-parseInt(_0x3bdd63(0xd7))/0x3*(parseInt(_0x3bdd63(0xb1))/0x4)+parseInt(_0x3bdd63(0xb6))/0x5+-parseInt(_0x3bdd63(0xcf))/0x6+parseInt(_0x3bdd63(0xa6))/0x7*(parseInt(_0x3bdd63(0x8e))/0x8)+parseInt(_0x3bdd63(0x7e))/0x9*(parseInt(_0x3bdd63(0x71))/0xa)+parseInt(_0x3bdd63(0xa5))/0xb*(-parseInt(_0x3bdd63(0xa2))/0xc);if(_0x11c659===_0x24d11c)break;else _0x522574['push'](_0x522574['shift']());}catch(_0x509195){_0x522574['push'](_0x522574['shift']());}}}(_0x5f05,0x82c11));import{Plugin as _0x22db95}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x61158}from'./aiassistantui.js';import{AIAssistantEditing as _0x3ec537}from'./aiassistantediting.js';import{getTranslation as _0x3b558d}from'./utils/common-translations.js';function _0x5f05(){const _0x4c3842=['continue','push','summarize','Translate\x20the\x20content\x20to\x20English\x20language.','11491pPaRyz','ai.assistant.preserveComments','2959256TWmRVC','Legal','friendly','translateHindi','define','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','includes','translateGerman','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateArabic','groupId','isOfficialPlugin','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translate','isPremiumPlugin','changeTone','simplifyLanguage','28Pwwhdq','109776LqweSG','Generate\x20from\x20selection','editOrReview','1034EUanWt','14MBuHKC','Translate\x20the\x20content\x20to\x20German\x20language.','Make\x20shorter','Translate','German','translatePortuguese','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Poetic','business','English','set','20588MuCKub','ai.assistant.removeCommands','poetic','Simplify\x20language','commands','2186835gPZVpX','Confident','casual','confident','Translate\x20the\x20content\x20to\x20French\x20language.','Hindi','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Portuguese','Professional','Make\x20longer','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Summarize','ai.assistant.extraCommandGroups','translateEnglish','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Casual','translateChinese','translateFrench','generate','locale','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Change\x20style','Change\x20tone','concat','Friendly','606852fIZrTt','Continue','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','journalism','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','pluginName','30BPQaiE','find','changeStyle','makeShorter','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','improveWriting','AIAssistant','filter','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','ai.assistant.commands','10XDAcuQ','French','direct','config','Direct','Journalism','Arabic','forEach','translateSpanish','legal','get','requires','professional','1890342eHjGEv','makeLonger','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Spanish','Improve\x20writing','Simplified\x20Chinese','Business','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Edit\x20or\x20review'];_0x5f05=function(){return _0x4c3842;};return _0x5f05();}import{normalizeCommandsConfig as _0x229970}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x22db95{static get[_0x52d597(0x7c)](){return[_0x61158,_0x3ec537];}static get[_0x52d597(0xd6)](){const _0xa8d7c2=_0x52d597;return _0xa8d7c2(0xde);}static get[_0x52d597(0x9b)](){return!0x0;}static get[_0x52d597(0x9e)](){return!0x0;}constructor(_0x15d47f){const _0x5d2c4f=_0x52d597;super(_0x15d47f);const _0x4ba4fb=_0x15d47f[_0x5d2c4f(0x74)],_0x3b20ba=_0x15d47f[_0x5d2c4f(0xc9)];_0x4ba4fb[_0x5d2c4f(0x92)](_0x5d2c4f(0x8d),!0x0),_0x4ba4fb[_0x5d2c4f(0x92)](_0x5d2c4f(0x70),getDefaultAICommands(_0x3b20ba)),_0x4ba4fb[_0x5d2c4f(0x92)](_0x5d2c4f(0xc2),[]),_0x4ba4fb[_0x5d2c4f(0x92)](_0x5d2c4f(0xb2),[]);let _0x149aa0=_0x229970(_0x4ba4fb[_0x5d2c4f(0x7b)](_0x5d2c4f(0x70)),_0x3b20ba);const _0x5f407b=_0x4ba4fb[_0x5d2c4f(0x7b)](_0x5d2c4f(0xc2)),_0x31126a=_0x4ba4fb[_0x5d2c4f(0x7b)](_0x5d2c4f(0xb2));_0x5f407b[_0x5d2c4f(0x78)](_0x3682e5=>{const _0x4bcfdd=_0x5d2c4f,_0x16ba54=_0x149aa0[_0x4bcfdd(0xd8)](_0x570092=>_0x570092[_0x4bcfdd(0x9a)]===_0x3682e5[_0x4bcfdd(0x9a)]);_0x16ba54?_0x16ba54[_0x4bcfdd(0xb5)]=_0x16ba54[_0x4bcfdd(0xb5)][_0x4bcfdd(0xcd)](_0x3682e5[_0x4bcfdd(0xb5)]):_0x149aa0[_0x4bcfdd(0x89)](_0x3682e5);}),_0x149aa0=_0x149aa0[_0x5d2c4f(0xdf)](_0x8af9bb=>!_0x31126a[_0x5d2c4f(0x94)](_0x8af9bb[_0x5d2c4f(0x9a)])),_0x149aa0[_0x5d2c4f(0x78)](_0x472bda=>{const _0xc91705=_0x5d2c4f;_0x472bda[_0xc91705(0xb5)]=_0x472bda[_0xc91705(0xb5)][_0xc91705(0xdf)](_0x448c6a=>!_0x31126a[_0xc91705(0x94)](_0x448c6a['id']));}),_0x4ba4fb[_0x5d2c4f(0xb0)](_0x5d2c4f(0x70),_0x149aa0);}}export function getDefaultAICommands(_0x3fa82f){const _0x599d5e=_0x52d597;return[{'groupId':_0x599d5e(0xa4),'groupLabel':_0x3b558d(_0x3fa82f,_0x599d5e(0x87)),'commands':[{'id':_0x599d5e(0xdd),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x82)),'prompt':_0x599d5e(0xac)},{'id':_0x599d5e(0xda),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xa8)),'prompt':_0x599d5e(0x85)},{'id':_0x599d5e(0x7f),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xbf)),'prompt':_0x599d5e(0x97)},{'id':_0x599d5e(0xa0),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xb4)),'prompt':_0x599d5e(0xdc)}]},{'groupId':_0x599d5e(0xc8),'groupLabel':_0x3b558d(_0x3fa82f,_0x599d5e(0xa3)),'commands':[{'id':_0x599d5e(0x8a),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xc1)),'prompt':_0x599d5e(0x86)},{'id':_0x599d5e(0x88),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xd0)),'prompt':_0x599d5e(0xbc)}]},{'groupId':_0x599d5e(0x9f),'groupLabel':_0x3b558d(_0x3fa82f,_0x599d5e(0xcc)),'commands':[{'id':_0x599d5e(0x7d),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xbe)),'prompt':_0x599d5e(0xd1)},{'id':_0x599d5e(0xb8),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xc5)),'prompt':_0x599d5e(0xd4)},{'id':_0x599d5e(0x73),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x75)),'prompt':_0x599d5e(0x6f)},{'id':_0x599d5e(0xb9),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xb7)),'prompt':_0x599d5e(0xd5)},{'id':_0x599d5e(0x90),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xce)),'prompt':_0x599d5e(0x9c)}]},{'groupId':_0x599d5e(0xd9),'groupLabel':_0x3b558d(_0x3fa82f,_0x599d5e(0xcb)),'commands':[{'id':_0x599d5e(0xae),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x84)),'prompt':_0x599d5e(0xc0)},{'id':_0x599d5e(0x7a),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x8f)),'prompt':_0x599d5e(0x93)},{'id':_0x599d5e(0xd3),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x76)),'prompt':_0x599d5e(0x98)},{'id':_0x599d5e(0xb3),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xad)),'prompt':_0x599d5e(0xc4)}]},{'groupId':_0x599d5e(0x9d),'groupLabel':_0x3b558d(_0x3fa82f,_0x599d5e(0xa9)),'commands':[{'id':_0x599d5e(0xc3),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xaf)),'prompt':_0x599d5e(0x8b)},{'id':_0x599d5e(0x79),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x81)),'prompt':_0x599d5e(0xca)},{'id':_0x599d5e(0xab),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xbd)),'prompt':_0x599d5e(0x80)},{'id':_0x599d5e(0x95),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xaa)),'prompt':_0x599d5e(0xa7)},{'id':_0x599d5e(0xc7),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x72)),'prompt':_0x599d5e(0xba)},{'id':_0x599d5e(0xc6),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x83)),'prompt':_0x599d5e(0xd2)},{'id':_0x599d5e(0x91),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0xbb)),'prompt':_0x599d5e(0x96)},{'id':_0x599d5e(0x99),'label':_0x3b558d(_0x3fa82f,_0x599d5e(0x77)),'prompt':_0x599d5e(0xdb)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3e6f1f=_0x5683;(function(_0x3a1197,_0x1a0870){const _0x1aaa5c=_0x5683,_0x46e45=_0x3a1197();while(!![]){try{const _0x26e795=parseInt(_0x1aaa5c(0x199))/0x1*(parseInt(_0x1aaa5c(0x18e))/0x2)+parseInt(_0x1aaa5c(0x1d0))/0x3+parseInt(_0x1aaa5c(0x1ae))/0x4*(parseInt(_0x1aaa5c(0x17b))/0x5)+parseInt(_0x1aaa5c(0x1c9))/0x6*(-parseInt(_0x1aaa5c(0x169))/0x7)+-parseInt(_0x1aaa5c(0x1a2))/0x8*(-parseInt(_0x1aaa5c(0x174))/0x9)+-parseInt(_0x1aaa5c(0x172))/0xa*(parseInt(_0x1aaa5c(0x19f))/0xb)+parseInt(_0x1aaa5c(0x173))/0xc*(-parseInt(_0x1aaa5c(0x1a1))/0xd);if(_0x26e795===_0x1a0870)break;else _0x46e45['push'](_0x46e45['shift']());}catch(_0x204513){_0x46e45['push'](_0x46e45['shift']());}}}(_0x2d61,0x3fb9a));import{uid as _0x5b4a8e}from'ckeditor5/src/utils.js';import{Plugin as _0x2007fb}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x131add}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x258622,ViewDataTransfer as _0x1912bd}from'ckeditor5/src/engine.js';function _0x5683(_0x180e1e,_0x137d7d){const _0x2d617a=_0x2d61();return _0x5683=function(_0x5683c9,_0x2786db){_0x5683c9=_0x5683c9-0x164;let _0xe7762e=_0x2d617a[_0x5683c9];return _0xe7762e;},_0x5683(_0x180e1e,_0x137d7d);}const w=globalThis[_0x3e6f1f(0x19c)],f=_0x3e6f1f(0x1af);function _0x2d61(){const _0x1ff604=['TableUtils','from','_createEmptyTableRows','createPositionAfter','init','insertRows','getRange','parse','markers','plugins','markerToElement','removeMarker','selection','document','_getAISelection','fromCharCode','findAncestor','insertContentBelow','createPositionAt','join','_getDefaultInsertBelowPosition','createSelection','6cxTJQZ','config','change','getRowIndexes','end','lowest','getLastPosition','885450hgYXUO','addClass','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','getRows','_pasteHTMLUsingClipboard','markerRange','forEach','table','1983849SACIZw','schema','markerToHighlight','data','deleteContent','text/html','getColumnIndexes','get','editor','1550DYZYwj','12PwBEXU','5571YVRcnv','model','ck-fake-ai-selection','getLastMatchingPosition','map','resultRange','isAtEnd','3835TYOJrS','addMarker','conversion','hideFakeVisualSelection','insertContent','paste','getSelectedBlocks','off','isContent','isOfficialPlugin','isCollapsed','canEditAt','setSelection','contentInsertion','createRange','editingDowncast','first','AIAssistantEditing','element','14abmaaM','showFakeVisualSelection','getChild','span','start','setData','href','updateMarker','filter','fire','pop','8617DkSRPB','length','getSelectedTableCells','DataTransfer','ai.assistant.useTheme','getMarkersGroup','1441gazgjb','pluginName','8303854nnttpI','5944LMwXmA','once','_resetContentOfSelectedTableCells','createUIElement','_prepareTableInsertBelowPosition','push','last','has','afterInit','for','getFirstRange','editing','2024qpQpXv','ai-ui','getRanges','getChildren','isPremiumPlugin'];_0x2d61=function(){return _0x1ff604;};return _0x2d61();}export class AIAssistantEditing extends _0x2007fb{static get[_0x3e6f1f(0x1a0)](){const _0x32e732=_0x3e6f1f;return _0x32e732(0x18c);}static get[_0x3e6f1f(0x184)](){return!0x0;}static get[_0x3e6f1f(0x1b2)](){return!0x0;}[_0x3e6f1f(0x1b7)](){const _0x64cf44=_0x3e6f1f,{editor:_0x21daae}=this,_0x32fe4f=[_0x64cf44(0x176)];_0x21daae[_0x64cf44(0x1ca)][_0x64cf44(0x170)](_0x64cf44(0x19d))&&_0x32fe4f[_0x64cf44(0x1a7)](_0x64cf44(0x1d2)),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x16b)]({'model':f,'view':{'classes':_0x32fe4f,'priority':0xc}}),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x1bd)]({'model':f,'view':(_0x546686,{writer:_0x3f0e75})=>{const _0x139e16=_0x64cf44;if(!_0x546686[_0x139e16(0x166)][_0x139e16(0x185)])return null;const _0x176c3c=_0x3f0e75[_0x139e16(0x1a5)](_0x139e16(0x191));return _0x3f0e75[_0x139e16(0x1d1)]([_0x139e16(0x176),_0x139e16(0x1d4)],_0x176c3c),_0x176c3c;}});}[_0x3e6f1f(0x1aa)](){!async function(_0x34ab7e){const _0x1394ac=_0x5f4929([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]),_0x501bbc=0x3dffc4e1,_0x5561aa=0x3df84e89^_0x501bbc,_0x31da11=window[_0x5f4929([0x44,0x61,0x74,0x65])][_0x5f4929([0x6e,0x6f,0x77])](),_0x11e009=_0x34ab7e[_0x5f4929([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d0660=new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2585=>{_0x11e009[_0x5f4929([0x6f,0x6e,0x63,0x65])](_0x5f4929([0x72,0x65,0x61,0x64,0x79]),_0x1d2585);}),_0x4cbdda={[_0x5f4929([0x6b,0x74,0x79])]:_0x5f4929([0x45,0x43]),[_0x5f4929([0x75,0x73,0x65])]:_0x5f4929([0x73,0x69,0x67]),[_0x5f4929([0x63,0x72,0x76])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36]),[_0x5f4929([0x78])]:_0x5f4929([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]),[_0x5f4929([0x79])]:_0x5f4929([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]),[_0x5f4929([0x61,0x6c,0x67])]:_0x5f4929([0x45,0x53,0x32,0x35,0x36])},_0x28d885=_0x11e009[_0x5f4929([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f4929([0x67,0x65,0x74])](_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c1aa0(){let _0x2045f3,_0x3f9986=null,_0x2cb8db=null;try{if(_0x28d885==_0x5f4929([0x47,0x50,0x4c]))return _0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2045f3=_0x27a4dd(),!_0x2045f3)return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cb8db=_0x360278(_0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2045f3[_0x5f4929([0x6a,0x74,0x69])])),await _0x3aa784()?_0x52f25a()?_0x1aae10()?_0x5f4929([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ae128()?(_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f9986=_0x21b202(_0x5f4929([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59147e()):_0x5f4929([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aae10(){const _0x1f3184=[_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f4929([0x74,0x72,0x69,0x61,0x6c])][_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31da11/0x3e8:0xe10*_0x5561aa;return _0x2045f3[_0x5f4929([0x65,0x78,0x70])]<_0x1f3184;}function _0x52f25a(){const _0x48f49d=_0x2045f3[_0x5f4929([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48f49d&&(!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a]))||!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x41,0x49])));}function _0x5ae128(){const _0x221ed3=_0x5683,_0x1998b4=_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1998b4||0x0==_0x1998b4[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6a81c2}=new URL(window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x221ed3(0x194)]);if(_0x1998b4[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a81c2))return!0x0;const _0x42052e=_0x6a81c2[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));return _0x1998b4[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bb297=>_0x4bb297[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a])))[_0x5f4929([0x6d,0x61,0x70])](_0x50bed5=>_0x50bed5[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])))[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b6cb=>_0x10b6cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x6d,0x61,0x70])](_0x1568ba=>Array(_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1568ba[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x66,0x69,0x6c,0x6c])](_0x1568ba[0x0]===_0x5f4929([0x2a])?_0x5f4929([0x2a]):'')[_0x5f4929([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1568ba))[_0x5f4929([0x73,0x6f,0x6d,0x65])](_0xc9e8cf=>_0x42052e[_0x5f4929([0x65,0x76,0x65,0x72,0x79])]((_0x18e772,_0x211452)=>_0xc9e8cf[_0x211452]===_0x18e772||_0xc9e8cf[_0x211452]===_0x5f4929([0x2a])));}function _0x59147e(){return _0x3f9986&&_0x2cb8db?new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x168552,_0x54050)=>{_0x3f9986[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x168552,_0x54050),_0x2cb8db[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x2cfd77=>{_0x2cfd77!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x168552(_0x2cfd77);},_0x54050);}):_0x3f9986||_0x2cb8db||_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);}}function _0x360278(_0x168c12,_0x2b093e){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1fa0=>{if(_0x48c168())return _0x1f1fa0(_0x5f4929([0x56,0x61,0x6c,0x69,0x64]));_0x2c8248(),_0x11e009[_0x5f4929([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaf9f80=!0x1;const _0x1f5359=_0x5b4a8e();function _0x5dcb22(_0x410434){return!!_0x410434&&(typeof _0x410434===_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x410434===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x410434[_0x5f4929([0x74,0x68,0x65,0x6e])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x410434[_0x5f4929([0x63,0x61,0x74,0x63,0x68])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28388c(_0x4a0ed2){_0x3bcdf2(_0x4a0ed2)[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x3221b7=>{if(!_0x3221b7||_0x3221b7[_0x5f4929([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f4929([0x6f,0x6b]))return _0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x522fb8(_0x2c8b8a(_0x1f5359+_0x2b093e))!=_0x3221b7[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x276b78=>(_0x5b81bc(),_0x276b78),()=>{const _0x300812=_0x20ef15();return null==_0x300812?(_0x5b81bc(),_0x5f4929([0x56,0x61,0x6c,0x69,0x64])):_0x5f4929(_0x31da11-_0x300812>(0x19f340e1^_0x501bbc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x1f1fa0)[_0x5f4929([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18d538=0x3dc92a61^_0x501bbc;function _0x5b81bc(){const _0x2f2eb9=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2aaffc=_0x421a33(_0x522fb8(window[_0x5f4929([0x4d,0x61,0x74,0x68])][_0x5f4929([0x63,0x65,0x69,0x6c])](_0x31da11/_0x18d538)));window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f2eb9,_0x2aaffc);}function _0x20ef15(){const _0x38903e=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2eef31=window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38903e);return _0x2eef31?window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x421a33(_0x2eef31),0x10)*_0x18d538:null;}function _0x3bcdf2(_0x2af7b6){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5049ea,_0x136dfc)=>{_0x2af7b6[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x5049ea,_0x136dfc),window[_0x5f4929([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x136dfc,0x3dfe1021^_0x501bbc);});}}_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2af3c2,_0x31e20c)=>{if(_0x31e20c[0x0]!=_0x168c12)return _0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31e20c[0x1]={..._0x31e20c[0x1],[_0x5f4929([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f5359};},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x68,0x69,0x67,0x68])}),_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x436105=>{_0x5dcb22(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaf9f80=!0x0,_0x28388c(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x6c,0x6f,0x77])}),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>{_0xaf9f80||_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48c168(){return _0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f4929([0x61,0x75,0x74,0x6f]);}function _0x2c8248(){_0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f4929([0x61,0x75,0x74,0x6f]);}}function _0x21b202(_0x473995){const _0xedd551=[new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd37f=>setTimeout(_0x3dd37f,0x3df6fa2d^_0x501bbc)),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x108774=>{let _0x251cd6=0x0;_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x6f,0x6e])](_0x5f4929([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ac15c,_0x5007a5)=>{_0x5007a5[0x0][_0x5f4929([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x251cd6++,_0x251cd6==(0x3dffc109^_0x501bbc)&&(_0x108774(),_0x3ac15c[_0x5f4929([0x6f,0x66,0x66])]());});}))];return window[_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f4929([0x72,0x61,0x63,0x65])](_0xedd551)[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>_0x473995);}async function _0x2b5b3a(){await _0x1d0660,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x167d11(_0x238360){const _0x566a93=_0x1d0462();_0x11e009[_0x566a93]=_0x5f4929([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238360,_0x238360!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x2b5b3a();}function _0x1d0462(){const _0x2e88cb=window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f4929([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f4929([0x6e,0x6f,0x77])]())[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f4929([0x2e]),'');let _0x41e0f3=_0x5f4929([0x6e]);for(let _0x2f1fdd=0x0;_0x2f1fdd<_0x2e88cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1fdd+=0x2){let _0x16c26a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e88cb[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1fdd,_0x2f1fdd+0x2));_0x16c26a>=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16c26a-=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41e0f3+=_0x1394ac[_0x16c26a];}return _0x41e0f3;}function _0x27a4dd(){const _0x5f305b=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));if(0x3!=_0x5f305b[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2635a1(_0x5f305b[0x1]);function _0x2635a1(_0x194996){const _0x26d2ef=_0x45eed7(_0x194996);return _0x26d2ef&&_0x302586()?_0x26d2ef:null;function _0x302586(){const _0xa56f46=_0x26d2ef[_0x5f4929([0x6a,0x74,0x69])],_0x46bb3a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45ac01={..._0x26d2ef,[_0x5f4929([0x6a,0x74,0x69])]:_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45ac01[_0x5f4929([0x76,0x63])],_0x2c8b8a(_0x45ac01)==_0x46bb3a;}}}async function _0x3aa784(){let _0x12e991=!0x0;try{const _0x515939=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])),[_0x348b9c,_0x4b71a6,_0x470070]=_0x515939;return _0x40ac2d(_0x348b9c),await _0x578f66(_0x348b9c,_0x4b71a6,_0x470070),_0x12e991;}catch{return!0x1;}function _0x40ac2d(_0x3f18e4){const _0xa9190d=_0x45eed7(_0x3f18e4);_0xa9190d&&_0xa9190d[_0x5f4929([0x61,0x6c,0x67])]==_0x5f4929([0x45,0x53,0x32,0x35,0x36])||(_0x12e991=!0x1);}async function _0x578f66(_0x451865,_0x37e0b6,_0x2453af){const _0x1eb371=window[_0x5f4929([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f4929([0x66,0x72,0x6f,0x6d])](_0x31c8fc(_0x2453af),_0x392322=>_0x392322[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x175c46=new window[(_0x5f4929([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f4929([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x451865+_0x5f4929([0x2e])+_0x37e0b6),_0x1f3453=window[_0x5f4929([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f4929([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f3453)return;const _0x4545c5=await _0x1f3453[_0x5f4929([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f4929([0x6a,0x77,0x6b]),_0x4cbdda,{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f3453[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x68,0x61,0x73,0x68])]:{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4545c5,_0x1eb371,_0x175c46)||(_0x12e991=!0x1);}}function _0x45eed7(_0x23498a){return _0x23498a[_0x5f4929([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f4929([0x65,0x79]))?JSON[_0x5f4929([0x70,0x61,0x72,0x73,0x65])](_0x31c8fc(_0x23498a)):null;}function _0x31c8fc(_0x3ce319){return window[_0x5f4929([0x61,0x74,0x6f,0x62])](_0x3ce319[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f4929([0x2b]))[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f4929([0x2f])));}function _0x2c8b8a(_0x39c553){let _0x2d2015=0x1505;function _0x162cd4(_0x27fb91){for(let _0x31fd40=0x0;_0x31fd40<_0x27fb91[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31fd40++){const _0x414c64=_0x27fb91[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31fd40);_0x2d2015=(_0x2d2015<<0x5)+_0x2d2015+_0x414c64,_0x2d2015&=_0x2d2015;}}function _0x36ca49(_0x4cf577){Array[_0x5f4929([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf577)?_0x4cf577[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36ca49):_0x4cf577&&typeof _0x4cf577==_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f4929([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf577)[_0x5f4929([0x73,0x6f,0x72,0x74])]()[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8ce812,_0x369782])=>{_0x162cd4(_0x8ce812),_0x36ca49(_0x369782);}):_0x162cd4(window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf577));}return _0x36ca49(_0x39c553),_0x2d2015>>>0x0;}function _0x522fb8(_0x527aa1){return _0x527aa1[_0x5f4929([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f4929([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f4929([0x30]));}function _0x421a33(_0x586a3a){return _0x586a3a[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f4929([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f4929([0x6a,0x6f,0x69,0x6e])]('');}function _0x522fb5(){}function _0x5f4929(_0x5008f3){const _0x2dc507=_0x5683;return _0x5008f3[_0x2dc507(0x178)](_0x372305=>String[_0x2dc507(0x1c2)](_0x372305))[_0x2dc507(0x1c6)]('');}_0x167d11(await _0x3c1aa0());}(this);}[_0x3e6f1f(0x18f)](){const _0x13103c=_0x3e6f1f,_0x157f0d=this[_0x13103c(0x171)][_0x13103c(0x175)];_0x157f0d[_0x13103c(0x1cb)](_0x50ea2e=>{const _0x2b1e92=_0x13103c,_0x5b25b7=_0x157f0d[_0x2b1e92(0x1c0)][_0x2b1e92(0x1bf)][_0x2b1e92(0x1b0)]();let _0x187a7b=0x0;for(const _0x68727b of _0x5b25b7){const _0xa55545=f+':'+_0x187a7b;if(_0x157f0d[_0x2b1e92(0x1bb)][_0x2b1e92(0x1a9)](_0xa55545))_0x50ea2e[_0x2b1e92(0x195)](_0xa55545,{'range':_0x68727b});else{if(_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x17a)]){const _0x129fa1=_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x177)](({item:_0xaf2b95})=>!_0x157f0d[_0x2b1e92(0x16a)][_0x2b1e92(0x183)](_0xaf2b95),{'boundaries':_0x68727b});_0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x50ea2e[_0x2b1e92(0x189)](_0x129fa1,_0x68727b[_0x2b1e92(0x1cd)])});}else _0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x68727b});}_0x187a7b++;}});}[_0x3e6f1f(0x17e)](){const _0x1f6d9d=_0x3e6f1f,_0x493144=this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)],_0x46926d=Array[_0x1f6d9d(0x1b4)](this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)][_0x1f6d9d(0x1bb)][_0x1f6d9d(0x19e)](f));_0x46926d[_0x1f6d9d(0x19a)]&&_0x493144[_0x1f6d9d(0x1cb)](_0x3ff4d6=>{const _0x73da23=_0x1f6d9d;_0x46926d[_0x73da23(0x167)](_0x32420d=>{const _0x3a2bcb=_0x73da23;_0x3ff4d6[_0x3a2bcb(0x1be)](_0x32420d);});});}[_0x3e6f1f(0x17f)](_0x55ee1d,_0x1dca1c){const _0x62d162=_0x3e6f1f,_0x4dbc2e=this[_0x62d162(0x1c1)](),_0x36aced=_0x1dca1c||_0x4dbc2e[_0x62d162(0x1ac)]();this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x186)](_0x36aced)&&this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x1cb)](_0x5a8842=>{const _0x35c988=_0x62d162;this[_0x35c988(0x17e)](),_0x1dca1c||this[_0x35c988(0x1a4)](_0x5a8842,_0x4dbc2e),this[_0x35c988(0x165)]({'insertAt':_0x36aced,'writer':_0x5a8842,'html':_0x55ee1d});});}[_0x3e6f1f(0x1c4)](_0x298318){const _0x41f2b2=_0x3e6f1f,{model:_0x5c035a}=this[_0x41f2b2(0x171)],_0x760c53=this[_0x41f2b2(0x1c1)]();_0x5c035a[_0x41f2b2(0x1cb)](()=>{const _0x442357=_0x41f2b2,_0x1d4f25=this[_0x442357(0x1a6)](_0x298318,_0x760c53)||this[_0x442357(0x1c7)](_0x760c53);this[_0x442357(0x17f)](_0x298318,_0x1d4f25);});}[_0x3e6f1f(0x1c1)](){const _0x29dfe0=_0x3e6f1f,_0xcbc199=this[_0x29dfe0(0x171)][_0x29dfe0(0x175)],_0x248cc2=Array[_0x29dfe0(0x1b4)](_0xcbc199[_0x29dfe0(0x1bb)][_0x29dfe0(0x19e)](f))[_0x29dfe0(0x178)](_0x4e8d25=>_0x4e8d25[_0x29dfe0(0x1b9)]());return _0xcbc199[_0x29dfe0(0x1c8)](_0x248cc2);}[_0x3e6f1f(0x165)]({writer:_0x35545d,html:_0x1a6b1d,insertAt:_0x1c7630}){const _0x5a845f=_0x3e6f1f,{view:_0x4553fb}=this[_0x5a845f(0x171)][_0x5a845f(0x1ad)],_0x1ec35c=this[_0x5a845f(0x171)][_0x5a845f(0x1bc)][_0x5a845f(0x170)](_0x131add),_0x13db21=new w();_0x13db21[_0x5a845f(0x193)](_0x5a845f(0x16e),_0x1a6b1d);const _0x5ae188=new ClipboardEvent(_0x5a845f(0x180),{'clipboardData':_0x13db21}),_0x471599=new _0x258622(_0x4553fb,_0x5ae188,{'dataTransfer':new _0x1912bd(_0x13db21)});_0x35545d[_0x5a845f(0x187)](_0x1c7630);const _0x5bd71a=(_0x2c3437,_0x1e277f)=>{const _0x1bb0dc=_0x5a845f;_0x1e277f[_0x1bb0dc(0x179)]&&_0x35545d[_0x1bb0dc(0x187)](_0x1e277f[_0x1bb0dc(0x179)]);};_0x1ec35c[_0x5a845f(0x1a3)](_0x5a845f(0x188),_0x5bd71a,{'priority':_0x5a845f(0x1ce)}),_0x4553fb[_0x5a845f(0x1c0)][_0x5a845f(0x197)](_0x5a845f(0x180),_0x471599),_0x1ec35c[_0x5a845f(0x182)](_0x5a845f(0x188),_0x5bd71a);}[_0x3e6f1f(0x1c7)](_0x522888){const _0x5215f6=_0x3e6f1f,{model:_0x217475}=this[_0x5215f6(0x171)],_0x1caa05=Array[_0x5215f6(0x1b4)](_0x522888[_0x5215f6(0x181)]());return _0x1caa05[_0x5215f6(0x19a)]?_0x217475[_0x5215f6(0x1b6)](_0x1caa05[_0x5215f6(0x198)]()):_0x522888[_0x5215f6(0x1cf)]();}[_0x3e6f1f(0x1a6)](_0x1f13c5,_0x375361){const _0x2b0b50=_0x3e6f1f,{model:_0x5a7546,plugins:_0x3ef36f}=this[_0x2b0b50(0x171)];if(_0x3ef36f[_0x2b0b50(0x1a9)](_0x2b0b50(0x1b3))){const _0x3bc87c=_0x3ef36f[_0x2b0b50(0x170)](_0x2b0b50(0x1b3))[_0x2b0b50(0x19b)](_0x375361);if(_0x3bc87c[_0x2b0b50(0x19a)]){const _0x3087b3=this[_0x2b0b50(0x1d3)](_0x1f13c5),_0x467561=this[_0x2b0b50(0x1b5)](_0x3bc87c,_0x3087b3);return _0x5a7546[_0x2b0b50(0x1c5)](_0x467561,0x0);}}return null;}[_0x3e6f1f(0x1d3)](_0x1d5081){const _0x1319cd=_0x3e6f1f,_0x12c299=this[_0x1319cd(0x171)][_0x1319cd(0x1bc)][_0x1319cd(0x170)](_0x1319cd(0x1b3)),_0x3e5149=this[_0x1319cd(0x171)][_0x1319cd(0x16c)][_0x1319cd(0x1ba)](_0x1d5081),_0x12b9fd=Array[_0x1319cd(0x1b4)](_0x3e5149[_0x1319cd(0x1b1)]())[_0x1319cd(0x196)](_0x3c91a0=>_0x3c91a0['is'](_0x1319cd(0x18d),_0x1319cd(0x168)));let _0x1b7dae=0x0;return _0x12b9fd[_0x1319cd(0x167)](_0x30f125=>{const _0x3e92fe=_0x1319cd;_0x1b7dae+=_0x12c299[_0x3e92fe(0x164)](_0x30f125);}),_0x1b7dae;}[_0x3e6f1f(0x1b5)](_0x561a85,_0x50082b){const _0x469d2a=_0x3e6f1f,_0x609bdc=this[_0x469d2a(0x171)][_0x469d2a(0x1bc)][_0x469d2a(0x170)](_0x469d2a(0x1b3)),_0x480412=_0x609bdc[_0x469d2a(0x1cc)](_0x561a85),_0x4db012=_0x609bdc[_0x469d2a(0x16f)](_0x561a85),_0x499d2f=_0x480412[_0x469d2a(0x1a8)]+0x1,_0x1f6f17=_0x4db012[_0x469d2a(0x18b)],_0x5a64b7=_0x561a85[0x0][_0x469d2a(0x1c3)](_0x469d2a(0x168));for(let _0x126b33=0x0;_0x126b33<_0x50082b;_0x126b33++)_0x609bdc[_0x469d2a(0x1b8)](_0x5a64b7,{'at':_0x499d2f});return _0x5a64b7[_0x469d2a(0x190)](_0x499d2f)[_0x469d2a(0x190)](_0x1f6f17);}[_0x3e6f1f(0x1a4)](_0x590d90,_0xb98bc){const _0xd3ec8a=_0x3e6f1f,{plugins:_0x481123}=this[_0xd3ec8a(0x171)],{model:_0x4c3f45}=_0x590d90;if(!_0x481123[_0xd3ec8a(0x1a9)](_0xd3ec8a(0x1b3)))return;_0x481123[_0xd3ec8a(0x170)](_0xd3ec8a(0x1b3))[_0xd3ec8a(0x19b)](_0xb98bc)[_0xd3ec8a(0x19a)]&&_0x4c3f45[_0xd3ec8a(0x16d)](_0xb98bc);}}
|
|
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);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5327c4=_0x3a8e;function _0x3608(){const _0x16a9a6=['featureNotAllowed','Error\x20during\x20AI\x20content\x20generation:\x20%0','command:','updateView','change:enabledCommandsIds','announce','forEach','panelView','groupLabel','getRanges','get','menuPanelClass','focus','_getMenuBarGroupButtons','pluginName','insertContent','update','menuitemcheckbox','_onExecute','change:value','editor','aiLicenseKeyDomainLimit','domainLimit','_formView','once','text/html','aiLicenseKeyUsageLimit','comment','tableOfContents','textAdapter','label','queryView','map','AIAssistant','values','menuView','ai.assistant.commands','aiLicenseKeyEvaluationLimit','show','model','view','body','ck-ai-commands-dropdown\x20','prompt','_commandDefinitions','invalid','menuBar:aiAssistant','showAIAssistant','promptView','hideFakeVisualSelection','getLimitElement','buttons','listenTo','_showLicenseError','_aiAdapter','copy','enabledCommandsIds','custom','hideUI','splice','5693940gRyUvP','_createAIAssistantUIButton','includes','from','REPLACE','expired','566244LDyFCj','polite','media','AI\x20Commands','3283650wiJbxq','items','ai.assistant.disabledElements','componentFactory','INSERT','getSelectedBlocks','filter','text','execute','schema','aiLicenseKeyInvalid','828965GtSAzA','hide','aiLicenseKeyExpired','replaceContent','isEnabled','children','_uiCssClasses','set','42993kxGfrU','\x20ck-ai-assistant-ui_theme','buttonView','wasMoved','reset','showUI','ai.assistant.contentAreaCssClass','AIAssistantUI','_forceMarkersCopy','getData','render','ck-ai-assistant-button\x20','AI\x20Assistant','ai-commands-config-order-collision','isCollapsed','aiAssistant','DataTransfer','setSelection','fire','init','isPremiumPlugin','ck-ai-assistant-ui','fieldView','add','rawHtml','updatePosition','_aiAssistantController','aiLicenseKeyNotAllowed','requiresContent','commands','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','config','requires','isOn','9nQtYJx','locale','12LbpxHm','change:isProcessing','trim','insertContentBelow','destroy','<p>','licenseKey','contentArea','document','isFlat','showFakeVisualSelection','menuBar:aiCommands','_licenseKeyCheckInterval','AI\x20is\x20writing','source','editing','selection','currentContext','1665972TzfLUX','push','aiCommands','define','getSelectedElement','bind','change:isError','isOfficialPlugin','groupId','addMany','plugins','replace','usageLimit','_initView','_initAriaAiStatusChangeAnnouncements','</p>','42SmNRnw','order','change','evaluationLimit','delegate','aiLicenseKeyValid','ai.assistant.useTheme','_populateMenuBarMenu','Generated\x20content:\x20%0','errorView','3353384VqFRwa','length','sort','_dialog'];_0x3608=function(){return _0x16a9a6;};return _0x3608();}(function(_0x280c50,_0x3d1f71){const _0x2e116a=_0x3a8e,_0x1d4e71=_0x280c50();while(!![]){try{const _0x3f9c52=parseInt(_0x2e116a(0x1d7))/0x1*(parseInt(_0x2e116a(0x170))/0x2)+-parseInt(_0x2e116a(0x160))/0x3+-parseInt(_0x2e116a(0x1c0))/0x4+-parseInt(_0x2e116a(0x1cf))/0x5*(-parseInt(_0x2e116a(0x1fc))/0x6)+-parseInt(_0x2e116a(0x1ba))/0x7+-parseInt(_0x2e116a(0x17a))/0x8*(-parseInt(_0x2e116a(0x1fa))/0x9)+parseInt(_0x2e116a(0x1c4))/0xa;if(_0x3f9c52===_0x3d1f71)break;else _0x1d4e71['push'](_0x1d4e71['shift']());}catch(_0x30b9df){_0x1d4e71['push'](_0x1d4e71['shift']());}}}(_0x3608,0x73278));import{Plugin as _0x25e177}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4e6b02,IconRobotPencil as _0x41bf6e}from'ckeditor5/src/icons.js';import{first as _0xb5db40,CKEditorError as _0x5b1b4c}from'ckeditor5/src/utils.js';import{createDropdown as _0x54e0b9,addMenuToDropdown as _0x39fbf1,ButtonView as _0x3efcf3,MenuBarMenuListItemButtonView as _0x48400d,Dialog as _0x49bacf,DialogViewPosition as _0x4f6721,MenuBarMenuView as _0x1d0dec,MenuBarMenuListView as _0x2c4bdb,MenuBarMenuListItemView as _0x28714a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3d0fa3,UNGROUPED_COMMANDS_GROUP_ID as _0x1e2d1c}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x596ddd}from'./aiassistantediting.js';import{AIAdapter as _0x3c2380}from'./adapters/aiadapter.js';import{getTranslation as _0x53047d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x26231a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x26fc7f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x467d3a}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x405ed2}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x3a8e(_0x40f0a0,_0x27a297){const _0x36085c=_0x3608();return _0x3a8e=function(_0x3a8ea7,_0x533460){_0x3a8ea7=_0x3a8ea7-0x15e;let _0x26f5f7=_0x36085c[_0x3a8ea7];return _0x26f5f7;},_0x3a8e(_0x40f0a0,_0x27a297);}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x5327c4(0x1e7)];import{ClipboardMarkersUtils as _0x216e3c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6dfa22,ViewDataTransfer as _0x3ccbf9}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x25e177{[_0x5327c4(0x202)];[_0x5327c4(0x208)];[_0x5327c4(0x17d)];[_0x5327c4(0x195)];[_0x5327c4(0x1b4)];[_0x5327c4(0x1f1)];[_0x5327c4(0x1d5)]='';static get[_0x5327c4(0x18c)](){const _0x460319=_0x5327c4;return _0x460319(0x1de);}static get[_0x5327c4(0x167)](){return!0x0;}static get[_0x5327c4(0x1eb)](){return!0x0;}static get[_0x5327c4(0x1f8)](){return[_0x216e3c,_0x596ddd,_0x3c2380,_0x49bacf];}constructor(_0x42421c){const _0x2da41f=_0x5327c4;super(_0x42421c),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1c6),[_0x2da41f(0x1c2),_0x2da41f(0x1ef),_0x2da41f(0x19a)]),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1dd),''),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x176),!0x0),this[_0x2da41f(0x1d5)]=_0x2da41f(0x1ec)+(_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x188)](_0x2da41f(0x176))?_0x2da41f(0x1d8):'');}[_0x5327c4(0x1ea)](){const _0x47cef0=_0x5327c4,{editor:_0x76b5c0}=this;this[_0x47cef0(0x1b4)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x3c2380),this[_0x47cef0(0x17d)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x49bacf),this[_0x47cef0(0x195)]=null,this[_0x47cef0(0x1aa)]=this[_0x47cef0(0x1f6)]();const _0x2f8292=new _0x26231a(_0x76b5c0,Array[_0x47cef0(0x1bd)](this[_0x47cef0(0x1aa)][_0x47cef0(0x1a0)]()));_0x76b5c0[_0x47cef0(0x1f4)][_0x47cef0(0x1ee)](_0x47cef0(0x1ad),_0x2f8292),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x162),_0x3485c1=>{const _0x586637=_0x47cef0,_0x4803ff=_0x54e0b9(_0x3485c1);return _0x4803ff[_0x586637(0x1d6)]({'class':_0x586637(0x1a8)+this[_0x586637(0x1d5)]}),_0x4803ff[_0x586637(0x1d9)][_0x586637(0x1d6)]({'label':_0x53047d(_0x3485c1,_0x586637(0x1c3)),'icon':_0x4e6b02,'tooltip':!0x0}),_0x4803ff['on'](_0x586637(0x1cc),_0xcb0f54=>this[_0x586637(0x190)](_0xcb0f54[_0x586637(0x20a)]['id'])),_0x39fbf1(_0x4803ff,_0x76b5c0['ui'][_0x586637(0x1a6)][_0x586637(0x1a7)],function(_0x30012c){const _0x33e913=_0x586637,_0x2d80f6=_0x3d0fa3(_0x30012c[_0x33e913(0x1f7)][_0x33e913(0x188)](_0x33e913(0x1a2)),_0x30012c[_0x33e913(0x1fb)]),_0x1da28a=B(_0x30012c,_0x2d80f6)[_0x33e913(0x1ca)](_0x535ae1=>_0x535ae1[_0x33e913(0x1f4)][_0x33e913(0x17b)]);if(0x1===_0x1da28a[_0x33e913(0x17b)])return B(_0x30012c,_0x1da28a[0x0][_0x33e913(0x1f4)])[_0x33e913(0x19e)](_0x37fc6a=>({'id':_0x37fc6a['id'],'label':_0x37fc6a[_0x33e913(0x19c)]}));return _0x1da28a[_0x33e913(0x19e)](_0x90d3d9=>{const _0x2d2a5b=_0x33e913,{groupId:_0x13ec39,groupLabel:_0x2da541,commands:_0x1bce0c}=_0x90d3d9,_0xdb8bc0=B(_0x30012c,_0x1bce0c)[_0x2d2a5b(0x19e)](_0x3c5c0f=>({'id':_0x3c5c0f['id'],'label':_0x3c5c0f[_0x2d2a5b(0x19c)]}));return{'id':_0x13ec39,'menu':_0x2da541||_0x13ec39,'children':_0xdb8bc0};});}(_0x76b5c0),{'ariaLabel':_0x53047d(_0x3485c1,_0x586637(0x1c3))}),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x189)]=_0x586637(0x1a8)+this[_0x586637(0x1d5)],_0x2f8292['on'](_0x586637(0x182),_0x3ff342),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x196)](_0x586637(0x1e1),_0x3ff342),_0x4803ff;function _0x3ff342(){const _0x4fd9ee=_0x586637;_0x4803ff[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x17b)]>0x0;for(const _0x1b9109 of _0x4803ff[_0x4fd9ee(0x1a1)][_0x4fd9ee(0x1b1)])_0x1b9109[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x1bc)](_0x1b9109['id']);}}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x207),_0x19203b=>{const _0xcb9e89=_0x47cef0,_0x25c581=new _0x1d0dec(_0x19203b);_0x25c581[_0xcb9e89(0x1d9)][_0xcb9e89(0x1d6)]({'label':_0x53047d(_0x19203b,_0xcb9e89(0x1c3)),'icon':_0x4e6b02}),_0x25c581[_0xcb9e89(0x165)](_0xcb9e89(0x1d3))['to'](_0x2f8292,_0xcb9e89(0x1b6),_0x3ffdcd=>_0x3ffdcd[_0xcb9e89(0x17b)]>0x0);const _0x3db98b=_0x3d0fa3(_0x76b5c0[_0xcb9e89(0x1f7)][_0xcb9e89(0x188)](_0xcb9e89(0x1a2)),_0x19203b);return this[_0xcb9e89(0x177)](_0x2f8292,_0x25c581,_0x3db98b,_0x2ebc63=>this[_0xcb9e89(0x190)](_0x2ebc63)),_0x25c581;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1e6),()=>{const _0x562088=_0x47cef0,_0x142997=this[_0x562088(0x1bb)](_0x3efcf3);return _0x142997[_0x562088(0x1d6)]({'tooltip':!0x0,'class':_0x562088(0x1e2)+this[_0x562088(0x1d5)]}),_0x142997;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1ac),()=>{const _0x2e9513=_0x47cef0,_0x32d0c2=this[_0x2e9513(0x1bb)](_0x48400d);return _0x32d0c2[_0x2e9513(0x1d6)]({'role':_0x2e9513(0x18f)}),_0x32d0c2;}),this[_0x47cef0(0x202)]=this[_0x47cef0(0x192)][_0x47cef0(0x1f7)][_0x47cef0(0x188)](_0x47cef0(0x202));const _0xbc1a0f=this[_0x47cef0(0x192)];this[_0x47cef0(0x208)]=setInterval(()=>{const _0x51cd33=_0x47cef0;let _0xab4690;for(const _0x6bcecd in _0xbc1a0f){const _0x2a4641=_0x6bcecd,_0x4cff26=_0xbc1a0f[_0x2a4641];if(_0x51cd33(0x175)==_0x4cff26||_0x51cd33(0x1ce)==_0x4cff26||_0x51cd33(0x1d1)==_0x4cff26||_0x51cd33(0x193)==_0x4cff26||_0x51cd33(0x1f2)==_0x4cff26||_0x51cd33(0x1a3)==_0x4cff26||_0x51cd33(0x198)==_0x4cff26){delete _0xbc1a0f[_0x2a4641],_0xab4690=_0x4cff26,clearInterval(this[_0x51cd33(0x208)]),this[_0x51cd33(0x208)]=void 0x0;break;}}_0x51cd33(0x1ce)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1ab)),_0x51cd33(0x1d1)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1bf)),_0x51cd33(0x193)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x194)),_0x51cd33(0x1f2)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x17e),_0x51cd33(0x19f)),_0x51cd33(0x1a3)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x173)),_0x51cd33(0x198)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x16c));},0x3e8);}[_0x5327c4(0x200)](){const _0x98b42e=_0x5327c4;super[_0x98b42e(0x200)](),this[_0x98b42e(0x208)]&&clearInterval(this[_0x98b42e(0x208)]);}[_0x5327c4(0x1dc)](_0x2b3940='',_0x3e0b3e='',_0x34a5f5=_0x5327c4(0x1b7)){const _0x30062b=_0x5327c4,_0x23849a=this[_0x30062b(0x192)],_0x244d33=_0x23849a[_0x30062b(0x20b)][_0x30062b(0x1a6)],_0x2d2794=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x596ddd),_0x246b38=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x216e3c);_0x2d2794[_0x30062b(0x206)]();const _0x36ef63=new w(),_0x4563b6=new ClipboardEvent(_0x30062b(0x1b5),{'clipboardData':_0x36ef63}),_0x23ef68=new _0x3ccbf9(_0x36ef63),_0x398e43=new _0x6dfa22(_0x244d33,_0x4563b6,{'dataTransfer':_0x23ef68});_0x246b38[_0x30062b(0x1df)](_0x30062b(0x199),()=>{const _0x13a9d6=_0x30062b;_0x244d33[_0x13a9d6(0x204)][_0x13a9d6(0x1e9)](_0x13a9d6(0x1b5),_0x398e43);}),this[_0x30062b(0x195)]||(this[_0x30062b(0x16d)](),this[_0x30062b(0x1f1)]=new _0x26fc7f(_0x23849a,this[_0x30062b(0x1b4)][_0x30062b(0x19b)],this[_0x30062b(0x195)]));let _0x4af923=_0x23ef68[_0x30062b(0x1e0)](_0x30062b(0x197));const _0x1c6ff9=_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)],_0x3dfa1f=Array[_0x30062b(0x1bd)](_0x1c6ff9[_0x30062b(0x187)]());0x1===_0x3dfa1f[_0x30062b(0x17b)]&&_0x3dfa1f[0x0][_0x30062b(0x205)]&&!_0x1c6ff9[_0x30062b(0x164)]()&&''!==_0x4af923[_0x30062b(0x16b)](/ /g,'')[_0x30062b(0x1fe)]()&&(_0x4af923=_0x30062b(0x201)+_0x4af923+_0x30062b(0x16f)),this[_0x30062b(0x1f1)][_0x30062b(0x181)]({'actionId':_0x34a5f5,'query':_0x2b3940,'htmlContent':_0x4af923,'label':_0x3e0b3e,'mainActionLabel':_0x405ed2[_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)][_0x30062b(0x1e5)]?_0x30062b(0x1c8):_0x30062b(0x1be)]}),_0x30062b(0x1e6)!==this[_0x30062b(0x17d)]['id']?this[_0x30062b(0x17d)][_0x30062b(0x1a4)]({'id':_0x30062b(0x1e6),'icon':_0x41bf6e,'title':_0x53047d(this[_0x30062b(0x192)][_0x30062b(0x1fb)],_0x30062b(0x1e3)),'content':this[_0x30062b(0x195)],'position':_0x4f6721[_0x30062b(0x1f5)],'onShow':()=>{const _0x50d105=_0x30062b;this[_0x50d105(0x195)][_0x50d105(0x18a)]();},'onHide':()=>{const _0x3aaff9=_0x30062b;this[_0x3aaff9(0x1f1)][_0x3aaff9(0x1db)](),_0x2d2794[_0x3aaff9(0x1af)]();}}):this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1da)]||this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1f0)]();}[_0x5327c4(0x1b8)](){const _0x347ef8=_0x5327c4;this[_0x347ef8(0x17d)][_0x347ef8(0x1d0)]();}[_0x5327c4(0x1f6)](){const _0x2121b0=_0x5327c4,_0xaf5270=new Map(),_0x4ab185=_0x3d0fa3(this[_0x2121b0(0x192)][_0x2121b0(0x1f7)][_0x2121b0(0x188)](_0x2121b0(0x1a2)),this[_0x2121b0(0x192)][_0x2121b0(0x1fb)]);for(const _0x5652a6 of _0x4ab185)for(const _0x5d43ca of _0x5652a6[_0x2121b0(0x1f4)])_0xaf5270[_0x2121b0(0x1d6)](_0x5d43ca['id'],{..._0x5d43ca,'groupId':_0x5652a6[_0x2121b0(0x168)],'groupLabel':_0x5652a6[_0x2121b0(0x186)]||_0x5652a6[_0x2121b0(0x168)]});return _0xaf5270;}[_0x5327c4(0x1bb)](_0x4ea21b){const _0x3048a0=_0x5327c4,_0x5c7554=this[_0x3048a0(0x192)],_0x3ccfec=_0x5c7554[_0x3048a0(0x1f4)][_0x3048a0(0x188)](_0x3048a0(0x1ad)),_0xfe16bb=new _0x4ea21b(_0x5c7554[_0x3048a0(0x1fb)]);return _0xfe16bb[_0x3048a0(0x1d6)]({'label':_0x53047d(_0x5c7554[_0x3048a0(0x1fb)],_0x3048a0(0x1e3)),'icon':_0x41bf6e,'isToggleable':!0x0}),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1d3))['to'](_0x3ccfec),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1f9))['to'](this[_0x3048a0(0x17d)],'id',_0x170ad0=>_0x3048a0(0x1e6)===_0x170ad0),this[_0x3048a0(0x1b2)](_0xfe16bb,_0x3048a0(0x1cc),()=>{const _0x4e4c91=_0x3048a0;_0xfe16bb[_0x4e4c91(0x1f9)]?this[_0x4e4c91(0x1b8)]():_0x3ccfec[_0x4e4c91(0x1cc)]();}),_0xfe16bb;}[_0x5327c4(0x16d)](){const _0x3c34a4=_0x5327c4,_0x37cc7d=this[_0x3c34a4(0x192)][_0x3c34a4(0x16a)][_0x3c34a4(0x188)](_0x596ddd);this[_0x3c34a4(0x195)]=new _0x467d3a(this[_0x3c34a4(0x192)][_0x3c34a4(0x1fb)],this[_0x3c34a4(0x1d5)],this[_0x3c34a4(0x192)][_0x3c34a4(0x1f7)][_0x3c34a4(0x188)](_0x3c34a4(0x1dd))),this[_0x3c34a4(0x195)]['on'](_0x3c34a4(0x191),()=>{const _0x58826b=_0x3c34a4;this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1da)]||this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1f0)]();}),this[_0x3c34a4(0x195)][_0x3c34a4(0x1ae)][_0x3c34a4(0x19d)][_0x3c34a4(0x1ed)]['on'](_0x3c34a4(0x18e),()=>{const _0xa080ee=_0x3c34a4;this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1da)]||this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1f0)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1d2),()=>{const _0x363441=_0x3c34a4;_0x37cc7d[_0x363441(0x18d)](this[_0x363441(0x1f1)][_0x363441(0x15f)]),this[_0x363441(0x1b8)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1ff),()=>{const _0x3de937=_0x3c34a4;_0x37cc7d[_0x3de937(0x1ff)](this[_0x3de937(0x1f1)][_0x3de937(0x15f)]),this[_0x3de937(0x1b8)]();}),this[_0x3c34a4(0x16e)]();}[_0x5327c4(0x16e)](){const _0x485659=_0x5327c4,{locale:_0x15b380,ui:{ariaLiveAnnouncer:_0x1ed27f}}=this[_0x485659(0x192)];this[_0x485659(0x195)][_0x485659(0x203)]['on'](_0x485659(0x1fd),(_0x352142,_0x4c3fcb,_0x1152d7)=>{const _0x49c3a8=_0x485659,_0x507d22=this[_0x49c3a8(0x1f1)][_0x49c3a8(0x15f)];_0x1152d7?_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x209))):_0x507d22&&_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x178),_0x507d22),{'politeness':_0x49c3a8(0x1c1),'isUnsafeHTML':!0x0});}),this[_0x485659(0x195)]['on'](_0x485659(0x166),(_0x178cbf,_0x24821f,_0x51b571)=>{const _0xbc9afb=_0x485659;if(_0x51b571){const _0x28e278=this[_0xbc9afb(0x195)][_0xbc9afb(0x179)][_0xbc9afb(0x1cb)];_0x1ed27f[_0xbc9afb(0x183)](_0x53047d(_0x15b380,_0xbc9afb(0x17f),_0x28e278));}});}[_0x5327c4(0x190)](_0x2969d2){const _0x357261=_0x5327c4,_0x22d63a=this[_0x357261(0x1aa)][_0x357261(0x188)](_0x2969d2),_0x26366d=this[_0x357261(0x192)],_0x465b48=_0x26366d[_0x357261(0x1a5)][_0x357261(0x204)][_0x357261(0x15e)],_0x39f70e=_0x26366d[_0x357261(0x1f4)][_0x357261(0x188)](_0x357261(0x1ad)),_0x1ddae6=_0x26366d[_0x357261(0x16a)][_0x357261(0x188)](_0x596ddd),_0x278780=''+(_0x22d63a[_0x357261(0x168)]!==_0x1e2d1c?_0x22d63a[_0x357261(0x186)]+':\x20':'')+_0x22d63a[_0x357261(0x19c)];if(!0x1!==_0x22d63a[_0x357261(0x1f3)]&&_0x465b48[_0x357261(0x1e5)]){const _0x5e6372=_0xb5db40(_0x465b48[_0x357261(0x1c9)]())||_0x26366d[_0x357261(0x1a5)][_0x357261(0x1cd)][_0x357261(0x1b0)](_0x465b48);_0x26366d[_0x357261(0x1a5)][_0x357261(0x172)](_0x3452d6=>{const _0xd7f01=_0x357261;_0x3452d6[_0xd7f01(0x1e8)](_0x5e6372,'in');});}_0x1ddae6[_0x357261(0x206)](),_0x39f70e[_0x357261(0x1cc)](_0x22d63a[_0x357261(0x1a9)],_0x278780,_0x357261(0x180)+_0x2969d2);}[_0x5327c4(0x177)](_0x4d2940,_0x103d8f,_0x5564b6,_0x235898){const _0x2de564=_0x5327c4,_0x4f2f8a=this[_0x2de564(0x192)],_0x435b70=_0x4f2f8a[_0x2de564(0x1fb)],_0x4a789f=new _0x2c4bdb(_0x435b70),_0x284717=B(_0x4f2f8a,_0x5564b6)[_0x2de564(0x1ca)](_0x13f109=>_0x13f109[_0x2de564(0x1f4)][_0x2de564(0x17b)]);0x1===_0x284717[_0x2de564(0x17b)]?this[_0x2de564(0x18b)]({'command':_0x4d2940,'commands':_0x284717[0x0][_0x2de564(0x1f4)],'parentMenuView':_0x103d8f,'onExecute':_0x235898})[_0x2de564(0x184)](_0x74483a=>_0x4a789f[_0x2de564(0x1c5)][_0x2de564(0x1ee)](_0x74483a)):_0x284717[_0x2de564(0x184)](({groupId:_0x36b8fe,groupLabel:_0x49bced,commands:_0x15b7ec})=>{const _0x3b1802=_0x2de564,_0x3a76de=new _0x28714a(_0x435b70,_0x103d8f),_0x1734c0=new _0x1d0dec(_0x435b70),_0x2ddfc8=new _0x2c4bdb(_0x435b70),_0x237472=this[_0x3b1802(0x18b)]({'command':_0x4d2940,'commands':_0x15b7ec,'parentMenuView':_0x1734c0,'onExecute':_0x235898});_0x1734c0[_0x3b1802(0x1d9)][_0x3b1802(0x1d6)]({'label':_0x49bced||_0x36b8fe}),_0x1734c0[_0x3b1802(0x174)](_0x3b1802(0x1cc))['to'](_0x103d8f),_0x2ddfc8[_0x3b1802(0x1c5)][_0x3b1802(0x169)](_0x237472),_0x1734c0[_0x3b1802(0x185)][_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x2ddfc8),_0x3a76de[_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x1734c0),_0x4a789f[_0x3b1802(0x1c5)][_0x3b1802(0x1ee)](_0x3a76de);}),_0x103d8f[_0x2de564(0x185)][_0x2de564(0x1d4)][_0x2de564(0x1ee)](_0x4a789f);}[_0x5327c4(0x18b)]({command:_0x384de9,commands:_0x24f5d9,parentMenuView:_0x358842,onExecute:_0x397286}){const _0x1584b2=_0x5327c4,_0x566ee4=this[_0x1584b2(0x192)],_0x30d2c3=_0x566ee4[_0x1584b2(0x1fb)];return B(_0x566ee4,_0x24f5d9)[_0x1584b2(0x19e)](_0x463659=>{const _0x1b2d00=_0x1584b2,_0xabc540=new _0x28714a(_0x30d2c3,_0x358842),_0x4176e8=new _0x48400d(_0x30d2c3);return _0x4176e8[_0x1b2d00(0x1d6)]({'label':_0x463659[_0x1b2d00(0x19c)]}),_0x4176e8[_0x1b2d00(0x174)](_0x1b2d00(0x1cc))['to'](_0x358842),_0x4176e8['on'](_0x1b2d00(0x1cc),()=>_0x397286(_0x463659['id'])),_0x4176e8[_0x1b2d00(0x165)](_0x1b2d00(0x1d3))['to'](_0x384de9,_0x1b2d00(0x1b6),_0x1885b9=>_0x1885b9[_0x1b2d00(0x1bc)](_0x463659['id'])),_0xabc540[_0x1b2d00(0x1d4)][_0x1b2d00(0x1ee)](_0x4176e8),_0xabc540;});}}function U(_0x2ba12a,_0x25783d){const _0x597155=_0x5327c4;return void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0===_0x25783d[_0x597155(0x171)]?0x1:void 0x0===_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?-0x1:void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?_0x2ba12a[_0x597155(0x171)]-_0x25783d[_0x597155(0x171)]:0x0;}function B(_0x3a934d,_0x44ecf4){const _0x4a44b0=_0x5327c4;_0x44ecf4[_0x4a44b0(0x17c)](U);const _0x496717={},_0x49126f=[];for(const _0x2e98c7 of _0x44ecf4)if(void 0x0!==_0x2e98c7[_0x4a44b0(0x171)]){if(_0x2e98c7[_0x4a44b0(0x171)]in _0x496717)throw new _0x5b1b4c(_0x4a44b0(0x1e4),_0x3a934d,{'conflictingDefinitions':[_0x2e98c7,_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]]});_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]=_0x2e98c7,_0x49126f[_0x4a44b0(0x1b9)](_0x2e98c7[_0x4a44b0(0x171)],0x0,_0x2e98c7);}else _0x49126f[_0x4a44b0(0x161)](_0x2e98c7);return _0x49126f;}
|
|
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;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4a029b,_0x4c0cca){var _0x47adf4=_0x2bc6,_0x35a86d=_0x4a029b();while(!![]){try{var _0x4e880b=-parseInt(_0x47adf4(0x19f))/0x1+parseInt(_0x47adf4(0x1a4))/0x2+-parseInt(_0x47adf4(0x1a1))/0x3+parseInt(_0x47adf4(0x1a3))/0x4*(parseInt(_0x47adf4(0x19e))/0x5)+parseInt(_0x47adf4(0x1a5))/0x6+-parseInt(_0x47adf4(0x1a2))/0x7*(parseInt(_0x47adf4(0x1a6))/0x8)+parseInt(_0x47adf4(0x1a0))/0x9;if(_0x4e880b===_0x4c0cca)break;else _0x35a86d['push'](_0x35a86d['shift']());}catch(_0x3643e6){_0x35a86d['push'](_0x35a86d['shift']());}}}(_0x129d,0x32755));import{CKEditorError as _0x55c4ae}from'ckeditor5/src/utils.js';function _0x2bc6(_0x4be099,_0x49e2fb){var _0x129d79=_0x129d();return _0x2bc6=function(_0x2bc689,_0x195869){_0x2bc689=_0x2bc689-0x19e;var _0x3f129e=_0x129d79[_0x2bc689];return _0x3f129e;},_0x2bc6(_0x4be099,_0x49e2fb);}function _0x129d(){var _0xdfb82d=['96077XnKKTH','2841489hmtCVm','612000ChLtFX','802893qZWMFl','283292FezZZr','537950LmmmWl','58860hStKIU','16tbVgth','10DeVocF'];_0x129d=function(){return _0xdfb82d;};return _0x129d();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x24c3(_0x42c085,_0x1e609d){const _0x111749=_0x1117();return _0x24c3=function(_0x24c3e7,_0x461213){_0x24c3e7=_0x24c3e7-0x100;let _0x5906ff=_0x111749[_0x24c3e7];return _0x5906ff;},_0x24c3(_0x42c085,_0x1e609d);}const _0x118f40=_0x24c3;(function(_0x88b11a,_0x141b71){const _0x3c2730=_0x24c3,_0x58cd51=_0x88b11a();while(!![]){try{const _0x5d0d59=parseInt(_0x3c2730(0x12f))/0x1*(-parseInt(_0x3c2730(0x137))/0x2)+-parseInt(_0x3c2730(0x106))/0x3*(-parseInt(_0x3c2730(0x13e))/0x4)+-parseInt(_0x3c2730(0x159))/0x5*(parseInt(_0x3c2730(0x11b))/0x6)+-parseInt(_0x3c2730(0x145))/0x7*(-parseInt(_0x3c2730(0x146))/0x8)+parseInt(_0x3c2730(0x10e))/0x9*(-parseInt(_0x3c2730(0x136))/0xa)+parseInt(_0x3c2730(0x13c))/0xb*(-parseInt(_0x3c2730(0x114))/0xc)+parseInt(_0x3c2730(0x155))/0xd*(parseInt(_0x3c2730(0x14e))/0xe);if(_0x5d0d59===_0x141b71)break;else _0x58cd51['push'](_0x58cd51['shift']());}catch(_0x4f12ac){_0x58cd51['push'](_0x58cd51['shift']());}}}(_0x1117,0xafde2));import{ObservableMixin as _0x23e467}from'ckeditor5/src/utils.js';import{AIRequestError as _0x56df7e}from'../adapters/aiadapter.js';import{Matcher as _0x21abb9,ViewUpcastWriter as _0x30ba77}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23e467(){[_0x118f40(0x100)];[_0x118f40(0x14b)];[_0x118f40(0x13d)];[_0x118f40(0x141)];[_0x118f40(0x140)];[_0x118f40(0x117)];constructor(_0x394a62,_0x32c358,_0x33702e){const _0x3197fc=_0x118f40;super(),this[_0x3197fc(0x100)]=_0x394a62,this[_0x3197fc(0x14b)]=_0x32c358,this[_0x3197fc(0x141)]=document[_0x3197fc(0x123)](_0x3197fc(0x118)),this[_0x3197fc(0x140)]=new DOMParser(),this[_0x3197fc(0x117)]=new XMLSerializer(),this[_0x3197fc(0x13d)]=_0x33702e,this[_0x3197fc(0x158)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3197fc(0x152),(_0x1c61ce,_0x1c3e91,_0x2fb37a)=>{const _0x2f5be2=_0x3197fc;this[_0x2f5be2(0x13d)][_0x2f5be2(0x109)]=this[_0x2f5be2(0x10f)](_0x2fb37a);}),this[_0x3197fc(0x131)](this[_0x3197fc(0x13d)],_0x3197fc(0x129),(_0x52ff42,_0x1ae8ee)=>{const _0xe10026=_0x3197fc,_0x2cd1dd=this[_0xe10026(0x12a)]||this[_0xe10026(0x144)];this[_0xe10026(0x121)](_0x1ae8ee,_0x2cd1dd,_0xe10026(0x130));}),this[_0x3197fc(0x131)](this[_0x3197fc(0x13d)],_0x3197fc(0x124),()=>{const _0x1d4535=_0x3197fc;this[_0x1d4535(0x13d)][_0x1d4535(0x135)]=this[_0x1d4535(0x10b)],this[_0x1d4535(0x121)](this[_0x1d4535(0x11f)],this[_0x1d4535(0x112)],this[_0x1d4535(0x134)],this[_0x1d4535(0x10b)]);}),this[_0x3197fc(0x131)](this[_0x3197fc(0x13d)],_0x3197fc(0x12e),()=>{const _0x5babad=_0x3197fc;this[_0x5babad(0x12e)]();});}[_0x118f40(0x148)](){const _0x1ebce9=_0x118f40;this[_0x1ebce9(0x156)]();}async[_0x118f40(0x10d)]({actionId:_0x463780,query:_0x45949d,htmlContent:_0x335bc6,label:_0x56985a,mainActionLabel:_0xc90df8}){const _0x4d2090=_0x118f40;this[_0x4d2090(0x13d)][_0x4d2090(0x135)]=_0x56985a,this[_0x4d2090(0x13d)][_0x4d2090(0x125)]=_0xc90df8,this[_0x4d2090(0x144)]=_0x335bc6,_0x45949d&&(this[_0x4d2090(0x13d)][_0x4d2090(0x115)]?this[_0x4d2090(0x121)](_0x45949d,_0x335bc6,_0x463780,_0x56985a):this[_0x4d2090(0x13d)][_0x4d2090(0x11a)](_0x4d2090(0x122),()=>{const _0x5eb723=_0x4d2090;this[_0x5eb723(0x121)](_0x45949d,_0x335bc6,_0x463780,_0x56985a);}));}[_0x118f40(0x12e)](){const _0x17116b=_0x118f40;this[_0x17116b(0x103)]&&(this[_0x17116b(0x103)]=!0x1,this[_0x17116b(0x13d)][_0x17116b(0x111)](),this[_0x17116b(0x14b)][_0x17116b(0x153)]());}[_0x118f40(0x149)](){const _0xe7a48f=_0x118f40;this[_0xe7a48f(0x144)]='',this[_0xe7a48f(0x12a)]='',this[_0xe7a48f(0x15a)]='',this[_0xe7a48f(0x112)]='',this[_0xe7a48f(0x11f)]='',this[_0xe7a48f(0x10b)]='',this[_0xe7a48f(0x134)]=void 0x0,this[_0xe7a48f(0x13d)][_0xe7a48f(0x149)](),this[_0xe7a48f(0x12e)]();}async[_0x118f40(0x121)](_0x22f596,_0x15488c,_0x568035,_0x25cc8d){const _0x300212=_0x118f40;return this[_0x300212(0x103)]=!0x0,this[_0x300212(0x13d)][_0x300212(0x160)](),this[_0x300212(0x112)]=_0x15488c,this[_0x300212(0x11f)]=_0x22f596,this[_0x300212(0x10b)]=_0x25cc8d||_0x22f596,this[_0x300212(0x134)]=_0x568035,new Promise(_0x3391c5=>{const _0x1d3d1d=_0x300212;this[_0x1d3d1d(0x14b)][_0x1d3d1d(0x167)]({'query':_0x22f596,'context':_0x15488c,'onData':_0x131634=>{const _0x364c8e=_0x1d3d1d;this[_0x364c8e(0x15a)]=_0x131634,this[_0x364c8e(0x12a)]=this[_0x364c8e(0x162)](this[_0x364c8e(0x15a)]);},'actionId':_0x568035})[_0x1d3d1d(0x126)](()=>{const _0x282cbb=_0x1d3d1d;!this[_0x282cbb(0x12a)]&&this[_0x282cbb(0x15a)]&&(this[_0x282cbb(0x12a)]=this[_0x282cbb(0x162)](this[_0x282cbb(0x15a)],!0x0));})[_0x1d3d1d(0x165)](_0x4b8b90=>{const _0xe0faaf=_0x1d3d1d;_0x4b8b90 instanceof _0x56df7e?this[_0xe0faaf(0x13d)][_0xe0faaf(0x14f)](_0x4b8b90[_0xe0faaf(0x107)]):this[_0xe0faaf(0x13d)][_0xe0faaf(0x14f)](),_0x3391c5();})[_0x1d3d1d(0x11e)](()=>{const _0x339b72=_0x1d3d1d;this[_0x339b72(0x12e)](),_0x3391c5();});});}[_0x118f40(0x162)](_0x3fbe5d,_0x34a81c=!0x1){const _0x4cf8d0=_0x118f40,_0x416f35=hs[_0x4cf8d0(0x12c)](_0x3fbe5d);_0x3fbe5d=_0x416f35?_0x3fbe5d[_0x4cf8d0(0x15f)](_0x416f35[0x1][_0x4cf8d0(0x14a)]):_0x3fbe5d[_0x4cf8d0(0x14a)]<0x64&&!_0x34a81c?'':this[_0x4cf8d0(0x10c)](_0x3fbe5d);const _0x4c7612=this[_0x4cf8d0(0x140)][_0x4cf8d0(0x102)](_0x3fbe5d,_0x4cf8d0(0x128));if(_0x416f35){const _0x4b65f2=Array[_0x4cf8d0(0x163)](_0x4c7612[_0x4cf8d0(0x116)][_0x4cf8d0(0x10a)]);_0x4b65f2[_0x4cf8d0(0x11d)]();for(const _0x4bed86 of _0x4b65f2){if(_0x4bed86[_0x4cf8d0(0x13a)]==Node[_0x4cf8d0(0x139)])break;_0x4bed86[_0x4cf8d0(0x138)]();}}const _0x2fe01b=this[_0x4cf8d0(0x100)][_0x4cf8d0(0x164)][_0x4cf8d0(0x127)][_0x4cf8d0(0x13f)](this[_0x4cf8d0(0x117)][_0x4cf8d0(0x132)](_0x4c7612[_0x4cf8d0(0x116)]));this[_0x4cf8d0(0x119)]()||this[_0x4cf8d0(0x142)](_0x2fe01b);const _0x46081e=this[_0x4cf8d0(0x100)][_0x4cf8d0(0x133)][_0x4cf8d0(0x166)](_0x4cf8d0(0x13b)),_0x134cb3=this[_0x4cf8d0(0x100)][_0x4cf8d0(0x164)][_0x4cf8d0(0x151)](_0x2fe01b);return _0x46081e||_0x134cb3[_0x4cf8d0(0x14d)][_0x4cf8d0(0x15c)](),this[_0x4cf8d0(0x100)][_0x4cf8d0(0x164)][_0x4cf8d0(0x15b)](_0x134cb3);}[_0x118f40(0x142)](_0x57249c){const _0x42df67=_0x118f40,_0x566bf0=new _0x30ba77(this[_0x42df67(0x100)][_0x42df67(0x11c)][_0x42df67(0x13d)][_0x42df67(0x104)]),_0x169b71=new _0x21abb9({'name':/^h[1-5]$/}),_0x16c676=[];let _0x53a68d=!0x1;for(const _0x51efef of _0x57249c)_0x51efef['is'](_0x42df67(0x143))&&_0x169b71[_0x42df67(0x12b)](_0x51efef)&&(_0x16c676[_0x42df67(0x161)](_0x51efef),'h1'==_0x51efef[_0x42df67(0x15d)]&&(_0x53a68d=!0x0));if(_0x53a68d){for(const _0x5b6ff4 of _0x16c676)_0x566bf0[_0x42df67(0x154)]('h'+(parseInt(_0x5b6ff4[_0x42df67(0x15d)][0x1])+0x1),_0x5b6ff4);}}[_0x118f40(0x119)](){const _0x16909e=_0x118f40,{data:_0x1b438e,editing:_0x337dbb}=this[_0x16909e(0x100)],_0x1e7b02=_0x1b438e[_0x16909e(0x12d)][_0x16909e(0x13f)](_0x16909e(0x157)),_0x2a0b55=_0x1b438e[_0x16909e(0x13f)](_0x1b438e[_0x16909e(0x151)](_0x1e7b02));return!!_0x337dbb[_0x16909e(0x13d)][_0x16909e(0x120)][_0x16909e(0x113)](_0x2a0b55)[_0x16909e(0x101)]('h1');}[_0x118f40(0x10f)](_0x53f260){const _0xb7da03=_0x118f40;return this[_0xb7da03(0x100)][_0xb7da03(0x11c)][_0xb7da03(0x13d)][_0xb7da03(0x120)][_0xb7da03(0x14c)](this[_0xb7da03(0x141)],_0x53f260),this[_0xb7da03(0x141)][_0xb7da03(0x147)];}[_0x118f40(0x10c)](_0x2b2428){const _0x352639=_0x118f40,_0xebce6f=_0x2b2428[_0x352639(0x15e)]();return _0xebce6f[_0x352639(0x108)](_0x352639(0x110))?_0xebce6f[_0x352639(0x150)](_0x352639(0x105))?_0xebce6f[_0x352639(0x15f)](0x7,_0xebce6f[_0x352639(0x14a)]-0x3):_0xebce6f[_0x352639(0x15f)](0x7):_0x2b2428;}}function _0x1117(){const _0xef2890=['submitPrompt','currentContext','match','exec','htmlProcessor','stopProcessing','45434OKYgiq','custom','listenTo','serializeToString','config','previousActionId','prompt','836560VLwOVr','56eaVxVI','remove','ELEMENT_NODE','nodeType','ai.assistant.preserveComments','33wnOVAK','view','180284CkPDyK','toView','_domParser','_sanitizationContainer','_normalizeResponseHeadings','element','initialContext','91rqNowg','568184WmEgoh','innerHTML','destroy','reset','length','textAdapter','setContentOf','markers','959938VjgtHB','handleError','endsWith','toModel','set:currentContext','abort','rename','767WMByIo','stopListening','<h1></h1>','set','90635jymrXC','currentResponse','stringify','clear','name','trim','substring','startProcessing','push','_parseAndNormalizeContent','from','data','catch','get','makeRequest','editor','querySelector','parseFromString','isProcessing','document','```','42tcEvSS','message','startsWith','value','childNodes','previousLabel','_stripMarkdownSyntax','updateView','153vEdpzj','_sanitizeHTML','```html','finishProcessing','previousContext','viewToDom','3592284BFSsrX','isRendered','body','_xmlSerializer','div','_isH1TagSupportEnabled','once','426jNYGxf','editing','reverse','finally','previousQuery','domConverter','_handleQuery','render','createElement','tryAgainEvent','mainAction','then','processor','text/html'];_0x1117=function(){return _0xef2890;};return _0x1117();}
|