@ckeditor/ckeditor5-ai 47.6.2 → 47.7.0-alpha.1
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
|
+
function _0x3685(_0x56778a,_0x566520){var _0x59ffd4=_0x59ff();return _0x3685=function(_0x36851a,_0x400cf2){_0x36851a=_0x36851a-0x179;var _0x56bcc6=_0x59ffd4[_0x36851a];return _0x56bcc6;},_0x3685(_0x56778a,_0x566520);}var _0x274f3f=_0x3685;function _0x59ff(){var _0x1bdeed=['1383AqLfKE','589360owqoAp','768678GahrbN','36440pEcAoY','AIRequestError','4PQbHhb','7IyPMiz','287407KoWDAy','name','textAdapter','14xLlVHO','aiadapter-text-adapter-not-set','1794530tBUbmY','pluginName','AIAdapter','432qZMAUK','isPremiumPlugin','afterInit','isOfficialPlugin','4709111MUGQmN'];_0x59ff=function(){return _0x1bdeed;};return _0x59ff();}(function(_0x4a0e9,_0x3e58eb){var _0x1a6c7e=_0x3685,_0x34a73e=_0x4a0e9();while(!![]){try{var _0x44dd4d=-parseInt(_0x1a6c7e(0x181))/0x1+parseInt(_0x1a6c7e(0x184))/0x2*(parseInt(_0x1a6c7e(0x17a))/0x3)+parseInt(_0x1a6c7e(0x17f))/0x4*(-parseInt(_0x1a6c7e(0x17b))/0x5)+-parseInt(_0x1a6c7e(0x17c))/0x6*(-parseInt(_0x1a6c7e(0x180))/0x7)+-parseInt(_0x1a6c7e(0x17d))/0x8*(-parseInt(_0x1a6c7e(0x189))/0x9)+-parseInt(_0x1a6c7e(0x186))/0xa+parseInt(_0x1a6c7e(0x179))/0xb;if(_0x44dd4d===_0x3e58eb)break;else _0x34a73e['push'](_0x34a73e['shift']());}catch(_0xa2c916){_0x34a73e['push'](_0x34a73e['shift']());}}}(_0x59ff,0x2f345));import{Plugin as _0x544cf3}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e17eb}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x544cf3{static get[_0x274f3f(0x187)](){var _0x4dd145=_0x274f3f;return _0x4dd145(0x188);}static get[_0x274f3f(0x18c)](){return!0x0;}static get[_0x274f3f(0x18a)](){return!0x0;}[_0x274f3f(0x18b)](){var _0x4cdbe0=_0x274f3f;if(!this[_0x4cdbe0(0x183)])throw new _0x5e17eb(_0x4cdbe0(0x185),null);}}export class AIRequestError extends Error{constructor(_0x553a41){var _0x5031b6=_0x274f3f;super(_0x553a41),this[_0x5031b6(0x182)]=_0x5031b6(0x17e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x335c(){const _0x1271eb=['AI_ERROR_GET_HEADERS','init','5hFutuB','locale','2426060IzEvGu','1083906rmoEcN','error','sendRequest','942756sIMfuK','abort','5266MvagBv','266MRcQWu','abortController','plugins','textAdapter','AI_ERROR_GET_PARAMETERS','1796632eISEzj','signal','AbortError','_prepareRequestParameters','32cZFGTk','resolve','aitextadapter-send-request-failed','object','requires','assign','1150593ZYvaBM','35GVtcZf','_prepareRequestHeaders','editor','aborted','reject','12522675cdwSmT','name','application/json','get','catch','makeRequest'];_0x335c=function(){return _0x1271eb;};return _0x335c();}const _0x2478f2=_0x1b43;(function(_0x3c99cf,_0xce9d1e){const _0x3aa3e1=_0x1b43,_0x123693=_0x3c99cf();while(!![]){try{const _0x590607=-parseInt(_0x3aa3e1(0x92))/0x1*(-parseInt(_0x3aa3e1(0x93))/0x2)+-parseInt(_0x3aa3e1(0x7c))/0x3+-parseInt(_0x3aa3e1(0x72))/0x4*(parseInt(_0x3aa3e1(0x8a))/0x5)+-parseInt(_0x3aa3e1(0x90))/0x6*(parseInt(_0x3aa3e1(0x7d))/0x7)+parseInt(_0x3aa3e1(0x76))/0x8*(parseInt(_0x3aa3e1(0x8d))/0x9)+-parseInt(_0x3aa3e1(0x8c))/0xa+parseInt(_0x3aa3e1(0x82))/0xb;if(_0x590607===_0xce9d1e)break;else _0x123693['push'](_0x123693['shift']());}catch(_0x2ca770){_0x123693['push'](_0x123693['shift']());}}}(_0x335c,0x7035e));import{Plugin as _0x112ae4}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cf7bb}from'ckeditor5/src/utils.js';function _0x1b43(_0x547184,_0x387350){const _0x335cd1=_0x335c();return _0x1b43=function(_0x1b4317,_0x632c79){_0x1b4317=_0x1b4317-0x72;let _0x2af0f4=_0x335cd1[_0x1b4317];return _0x2af0f4;},_0x1b43(_0x547184,_0x387350);}import{AIAdapter as _0x216cd4,AIRequestError as _0x474865}from'./aiadapter.js';import{getTranslation as _0x5bf9c6}from'../utils/common-translations.js';export class AITextAdapter extends _0x112ae4{[_0x2478f2(0x94)];static get[_0x2478f2(0x7a)](){return[_0x216cd4];}constructor(_0x108aa1){const _0x508161=_0x2478f2;super(_0x108aa1),this[_0x508161(0x94)]=new AbortController();}[_0x2478f2(0x89)](){const _0x10ed8e=_0x2478f2;this[_0x10ed8e(0x7f)][_0x10ed8e(0x95)][_0x10ed8e(0x85)](_0x216cd4)[_0x10ed8e(0x96)]=this;}[_0x2478f2(0x91)](){const _0x37187b=_0x2478f2;this[_0x37187b(0x94)][_0x37187b(0x73)][_0x37187b(0x80)]||(this[_0x37187b(0x94)][_0x37187b(0x91)](),this[_0x37187b(0x94)]=new AbortController());}async[_0x2478f2(0x87)](_0x5533e0){const _0x44bc6a=_0x2478f2;return this[_0x44bc6a(0x8f)](_0x5533e0)[_0x44bc6a(0x86)](_0x47383f=>{const _0x1096d3=_0x44bc6a;if(_0x47383f instanceof _0x474865)return Promise[_0x1096d3(0x81)](_0x47383f);if(_0x1096d3(0x74)==_0x47383f[_0x1096d3(0x83)])return Promise[_0x1096d3(0x77)]();throw console[_0x1096d3(0x8e)](_0x47383f),new _0x1cf7bb(_0x1096d3(0x78),null);});}async[_0x2478f2(0x7e)](_0x1781c3,_0x1d7a85){const _0x5c5e94=_0x2478f2,_0x45ec3e=this[_0x5c5e94(0x7f)][_0x5c5e94(0x8b)],_0x1b6e36={'Content-Type':_0x5c5e94(0x84)};if(_0x5c5e94(0x79)==typeof _0x1781c3)Object[_0x5c5e94(0x7b)](_0x1b6e36,_0x1781c3);else{if(_0x1781c3)try{const _0x23e331=await _0x1781c3(_0x1d7a85);Object[_0x5c5e94(0x7b)](_0x1b6e36,_0x23e331);}catch{return Promise[_0x5c5e94(0x81)](new _0x474865(_0x5bf9c6(_0x45ec3e,_0x5c5e94(0x88))));}}return _0x1b6e36;}async[_0x2478f2(0x75)](_0xd18047,_0x1716bb){const _0x5a40f0=_0x2478f2,_0x571c01=this[_0x5a40f0(0x7f)][_0x5a40f0(0x8b)];if(_0x5a40f0(0x79)==typeof _0xd18047)return _0xd18047;try{return await _0xd18047(_0x1716bb);}catch{return Promise[_0x5a40f0(0x81)](new _0x474865(_0x5bf9c6(_0x571c01,_0x5a40f0(0x97))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x389a4e=_0xb7b6;(function(_0x12471b,_0x24cacc){var _0x54c840=_0xb7b6,_0x3dc443=_0x12471b();while(!![]){try{var _0x25d5c6=parseInt(_0x54c840(0xfd))/0x1*(-parseInt(_0x54c840(0x103))/0x2)+parseInt(_0x54c840(0xfc))/0x3+-parseInt(_0x54c840(0x102))/0x4*(parseInt(_0x54c840(0x107))/0x5)+-parseInt(_0x54c840(0x109))/0x6+-parseInt(_0x54c840(0x105))/0x7+parseInt(_0x54c840(0xfe))/0x8+parseInt(_0x54c840(0x10a))/0x9;if(_0x25d5c6===_0x24cacc)break;else _0x3dc443['push'](_0x3dc443['shift']());}catch(_0xfff5b3){_0x3dc443['push'](_0x3dc443['shift']());}}}(_0x554d,0x3b830));import{AITextAdapter as _0x1b8046}from'./aitextadapter.js';import{AIRequestError as _0x26eced}from'./aiadapter.js';import{getTranslation as _0x2a136f}from'../utils/common-translations.js';import{logWarning as _0x206a0f,logError as _0x4bcd22}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x1b8046{static get[_0x389a4e(0x106)](){var _0x4ecd85=_0x389a4e;return _0x4ecd85(0x104);}[_0x389a4e(0x101)](){var _0x5b3b61=_0x389a4e;super[_0x5b3b61(0x101)](),_0x206a0f(_0x5b3b61(0x108));}async[_0x389a4e(0xff)](_0x3ebde3){var _0x434041=_0x389a4e;throw _0x4bcd22(_0x434041(0x108)),new _0x26eced(_0x2a136f(this[_0x434041(0xfb)][_0x434041(0x100)],_0x434041(0xfa)));}}function _0xb7b6(_0x374fa4,_0x36e4bc){var _0x554dc7=_0x554d();return _0xb7b6=function(_0xb7b695,_0x4b3460){_0xb7b695=_0xb7b695-0xfa;var _0x452286=_0x554dc7[_0xb7b695];return _0x452286;},_0xb7b6(_0x374fa4,_0x36e4bc);}function _0x554d(){var _0x266700=['ai-aws-adapter-not-supported','2021046ggbdLF','8282628EKTTMA','AI_ERROR_AWS_NOT_SUPPORTED','editor','1233711jzRwfI','1uhOIxY','749320stNBIS','sendRequest','locale','init','1708dmAcWn','240116lybTZn','AWSTextAdapter','2755270pLSVHK','pluginName','3875VsXxzw'];_0x554d=function(){return _0x266700;};return _0x554d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25aed4=_0x1f2b;(function(_0x11918f,_0x1c62de){const _0xb222bf=_0x1f2b,_0x2dbe5d=_0x11918f();while(!![]){try{const _0x441a60=-parseInt(_0xb222bf(0x100))/0x1*(parseInt(_0xb222bf(0x12e))/0x2)+parseInt(_0xb222bf(0x114))/0x3+-parseInt(_0xb222bf(0x11a))/0x4*(parseInt(_0xb222bf(0x125))/0x5)+-parseInt(_0xb222bf(0x140))/0x6+parseInt(_0xb222bf(0x11d))/0x7+parseInt(_0xb222bf(0x142))/0x8*(parseInt(_0xb222bf(0x113))/0x9)+parseInt(_0xb222bf(0x116))/0xa*(parseInt(_0xb222bf(0x11f))/0xb);if(_0x441a60===_0x1c62de)break;else _0x2dbe5d['push'](_0x2dbe5d['shift']());}catch(_0x3f7253){_0x2dbe5d['push'](_0x2dbe5d['shift']());}}}(_0x129e,0xa03db));function _0x1f2b(_0xe3c1cc,_0x2356c0){const _0x129edc=_0x129e();return _0x1f2b=function(_0x1f2b90,_0x160e64){_0x1f2b90=_0x1f2b90-0x100;let _0xde3ee7=_0x129edc[_0x1f2b90];return _0xde3ee7;},_0x1f2b(_0xe3c1cc,_0x2356c0);}import{AITextAdapter as _0xff6cc8}from'./aitextadapter.js';function _0x129e(){const _0x2107f9=['join','44JhTCGU','_apiUrl','replace','7072527vdGNDG','message','110KSaYqj','[DONE]','_readStreamableResponse','_prepareRequestHeaders','filter','editor','40970PFYuWv','_cleanUpData','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.','split','prepareMessages','_requestHeaders','context_length_exceeded','ai.assistant.adapter.openAI.requestHeaders','AI_ERROR_CONTEXT_LENGTH','605666XiVRGI','system','abortController','data:\x20','signal','includes','map','OpenAITextAdapter','length','resolve','get','define','POST','stringify','user','gpt-4o','getReader','parse','7571412lqKLtl','AI_ERROR_MODERATION','981424DeKzvY','locale','ai.assistant.adapter.openAI.apiUrl','pluginName','text','3tfIQaJ','_isBufferIncomplete','ai.assistant.adapter.openAI.requestParameters','sendRequest','content','choices','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','_prepareRequestParameters','_requestParameters','Moderation','json','body','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Instruction:\x0a','config','read','stream','https://api.openai.com/v1/chat/completions','_readStaticResponse','45qHXniU','329823hGkWno','decode','1183190LvYipB','reject','delta'];_0x129e=function(){return _0x2107f9;};return _0x129e();}import{AIRequestError as _0x437c85}from'./aiadapter.js';import{getTranslation as _0x1e6cb7}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0xff6cc8{[_0x25aed4(0x11b)];[_0x25aed4(0x12a)];[_0x25aed4(0x108)];static get[_0x25aed4(0x145)](){const _0x437290=_0x25aed4;return _0x437290(0x135);}constructor(_0x38c117){const _0x519d83=_0x25aed4;super(_0x38c117),_0x38c117[_0x519d83(0x10e)][_0x519d83(0x139)](_0x519d83(0x144),_0x519d83(0x111)),_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x102))||_0x38c117[_0x519d83(0x10e)][_0x519d83(0x139)](_0x519d83(0x102),{'model':_0x519d83(0x13d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x519d83(0x11b)]=_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x144)),this[_0x519d83(0x12a)]=_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x12c))||{},this[_0x519d83(0x108)]=_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x102));}async[_0x25aed4(0x103)]({query:_0x522474,context:_0x79d6c8,onData:_0x4d31f3,actionId:_0xf27d1d}){const _0x291baa=_0x25aed4,_0xe4db6e=this[_0x291baa(0x124)][_0x291baa(0x143)],_0x407c9e=await this[_0x291baa(0x129)](_0x522474,_0x79d6c8,_0xf27d1d),_0x2908f6=await this[_0x291baa(0x122)](this[_0x291baa(0x12a)],_0xf27d1d),_0x477ed6=await this[_0x291baa(0x107)](this[_0x291baa(0x108)],_0xf27d1d),_0x165b89={'messages':_0x407c9e,..._0x477ed6},_0xe13bc9={'method':_0x291baa(0x13a),'headers':_0x2908f6,'body':JSON[_0x291baa(0x13b)](_0x165b89),'signal':this[_0x291baa(0x130)][_0x291baa(0x132)]},_0x5d878f=await fetch(this[_0x291baa(0x11b)],_0xe13bc9);if(_0x5d878f['ok'])return _0x477ed6[_0x291baa(0x110)]?await this[_0x291baa(0x121)](_0x5d878f,_0x4d31f3):await this[_0x291baa(0x112)](_0x5d878f,_0x4d31f3),Promise[_0x291baa(0x137)]();{const _0xb49b81=await _0x5d878f[_0x291baa(0x146)]();return _0xb49b81[_0x291baa(0x133)](_0x291baa(0x12b))?Promise[_0x291baa(0x117)](new _0x437c85(_0x1e6cb7(_0xe4db6e,_0x291baa(0x12d)))):_0xb49b81[_0x291baa(0x133)](_0x291baa(0x109))?Promise[_0x291baa(0x117)](new _0x437c85(_0x1e6cb7(_0xe4db6e,_0x291baa(0x141)))):Promise[_0x291baa(0x117)](new Error(_0xb49b81));}}async[_0x25aed4(0x129)](_0x59fbf,_0x845b94,_0x2ec7d5){const _0x14ee1a=_0x25aed4;let _0x3136e4,_0x5db819;return _0x845b94?(_0x3136e4=_0x14ee1a(0x106),_0x5db819=_0x14ee1a(0x10d)+_0x59fbf+_0x14ee1a(0x10c)+_0x845b94):(_0x3136e4=_0x14ee1a(0x127),_0x5db819=_0x59fbf),[{'role':_0x14ee1a(0x12f),'content':_0x3136e4},{'role':_0x14ee1a(0x13c),'content':_0x5db819}];}async[_0x25aed4(0x121)](_0x274442,_0x34a881){const _0x3fd66a=_0x25aed4,_0x2b5c9c=_0x274442[_0x3fd66a(0x10b)][_0x3fd66a(0x13e)](),_0xb70292=new TextDecoder();let _0x32bb83='',_0x1dec77='',_0x52b936='',_0x232cd7=!0x1;for(;!_0x232cd7;){const {done:_0x2212ec,value:_0x33b93a}=await _0x2b5c9c[_0x3fd66a(0x10f)](),_0x7a6c99=_0x32bb83+_0xb70292[_0x3fd66a(0x115)](_0x33b93a);let _0x2231d8='';_0x232cd7=_0x2212ec;try{_0x2231d8=this[_0x3fd66a(0x126)](_0x7a6c99),_0x32bb83='';}catch{_0x32bb83=_0x7a6c99;continue;}_0x1dec77+=_0x2231d8,!_0x232cd7&&this[_0x3fd66a(0x101)](_0x1dec77)||_0x1dec77&&(_0x52b936+=_0x1dec77,_0x1dec77='',_0x34a881(_0x52b936));}return Promise[_0x3fd66a(0x137)]();}async[_0x25aed4(0x112)](_0x54fe32,_0x287d5f){const _0x3fa7db=_0x25aed4;return _0x287d5f((await _0x54fe32[_0x3fa7db(0x10a)]())[_0x3fa7db(0x105)][0x0][_0x3fa7db(0x11e)][_0x3fa7db(0x104)]),Promise[_0x3fa7db(0x137)]();}[_0x25aed4(0x101)](_0x3531e9){const _0x325dff=_0x25aed4,_0x25dc1d=_0x3531e9[_0x325dff(0x128)]('<')[_0x325dff(0x136)]!==_0x3531e9[_0x325dff(0x128)]('>')[_0x325dff(0x136)],_0x5c15b8=_0x3531e9[_0x325dff(0x136)]<0x1e;return _0x25dc1d&&_0x5c15b8;}[_0x25aed4(0x126)](_0x81a1db){const _0x28ec24=_0x25aed4;return _0x81a1db[_0x28ec24(0x128)](/\n(?![^{]*\})/g)[_0x28ec24(0x134)](_0x2bd007=>_0x2bd007[_0x28ec24(0x11c)](_0x28ec24(0x131),''))[_0x28ec24(0x123)](_0x1c74c0=>_0x1c74c0&&_0x1c74c0[_0x28ec24(0x136)]>0x0&&_0x28ec24(0x120)!==_0x1c74c0)[_0x28ec24(0x134)](_0x2bac5c=>{const _0x6155c4=_0x28ec24,{choices:_0x186b46}=JSON[_0x6155c4(0x13f)](_0x2bac5c);if(_0x186b46[0x0]?.[_0x6155c4(0x118)]?.[_0x6155c4(0x104)])return _0x186b46[0x0][_0x6155c4(0x118)][_0x6155c4(0x104)];})[_0x28ec24(0x123)](_0x3e6753=>_0x3e6753)[_0x28ec24(0x119)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3699c7=_0x1c35;(function(_0x28e301,_0x216935){const _0x4489c6=_0x1c35,_0x39648e=_0x28e301();while(!![]){try{const _0x5694da=parseInt(_0x4489c6(0x19c))/0x1+-parseInt(_0x4489c6(0x1aa))/0x2*(-parseInt(_0x4489c6(0x18d))/0x3)+parseInt(_0x4489c6(0x1a8))/0x4*(-parseInt(_0x4489c6(0x170))/0x5)+-parseInt(_0x4489c6(0x1b1))/0x6+-parseInt(_0x4489c6(0x185))/0x7+parseInt(_0x4489c6(0x194))/0x8+-parseInt(_0x4489c6(0x1af))/0x9;if(_0x5694da===_0x216935)break;else _0x39648e['push'](_0x39648e['shift']());}catch(_0x388931){_0x39648e['push'](_0x39648e['shift']());}}}(_0x3022,0xb2835));import{Plugin as _0x3b9311}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x5056f9}from'./aiassistantui.js';import{AIAssistantEditing as _0x10c85f}from'./aiassistantediting.js';function _0x1c35(_0x27426b,_0x27ea83){const _0x3022b5=_0x3022();return _0x1c35=function(_0x1c35ac,_0x315b19){_0x1c35ac=_0x1c35ac-0x167;let _0x451595=_0x3022b5[_0x1c35ac];return _0x451595;},_0x1c35(_0x27426b,_0x27ea83);}import{getTranslation as _0x37a9ce}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x395bf1}from'./utils/normalizecommandsconfig.js';function _0x3022(){const _0x10c91e=['Edit\x20or\x20review','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translateFrench','makeShorter','generate','Translate\x20the\x20content\x20to\x20German\x20language.','ai.assistant.removeCommands','business','isOfficialPlugin','isPremiumPlugin','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','translateArabic','simplifyLanguage','groupId','Legal','changeTone','Arabic','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','forEach','Continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','editOrReview','config','Improve\x20writing','translate','Translate\x20the\x20content\x20to\x20English\x20language.','Spanish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','changeStyle','French','English','AIAssistant','improveWriting','filter','push','Portuguese','5MjjToa','pluginName','ai.assistant.extraCommandGroups','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','journalism','German','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateEnglish','Confident','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Professional','Simplify\x20language','Change\x20style','continue','Generate\x20from\x20selection','professional','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Poetic','summarize','ai.assistant.preserveComments','Summarize','1759345rlONYO','Hindi','Friendly','requires','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','direct','concat','Make\x20longer','63MFnnMO','confident','commands','Translate','Change\x20tone','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateSpanish','3670592NpComP','legal','Make\x20shorter','Direct','set','translateChinese','friendly','Translate\x20the\x20content\x20to\x20Hindi\x20language.','1320710bTKVGD','makeLonger','translateHindi','find','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Journalism','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Casual','locale','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','ai.assistant.commands','Simplified\x20Chinese','2622476yrYnEd','Translate\x20the\x20content\x20to\x20French\x20language.','13636SCgYnE','Business','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','get','casual','2343339kpkZZY','translateGerman','145188Gwlydl','poetic','translatePortuguese','define','includes','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'];_0x3022=function(){return _0x10c91e;};return _0x3022();}export class AIAssistant extends _0x3b9311{static get[_0x3699c7(0x188)](){return[_0x5056f9,_0x10c85f];}static get[_0x3699c7(0x171)](){const _0x4daa6c=_0x3699c7;return _0x4daa6c(0x16b);}static get[_0x3699c7(0x1bf)](){return!0x0;}static get[_0x3699c7(0x1c0)](){return!0x0;}constructor(_0x511f38){const _0x2aed54=_0x3699c7;super(_0x511f38);const _0x4b1af7=_0x511f38[_0x2aed54(0x1cf)],_0x24c507=_0x511f38[_0x2aed54(0x1a4)];_0x4b1af7[_0x2aed54(0x1b4)](_0x2aed54(0x183),!0x0),_0x4b1af7[_0x2aed54(0x1b4)](_0x2aed54(0x1a6),getDefaultAICommands(_0x24c507)),_0x4b1af7[_0x2aed54(0x1b4)](_0x2aed54(0x172),[]),_0x4b1af7[_0x2aed54(0x1b4)](_0x2aed54(0x1bd),[]);let _0x43bb79=_0x395bf1(_0x4b1af7[_0x2aed54(0x1ad)](_0x2aed54(0x1a6)),_0x24c507);const _0x2b8202=_0x4b1af7[_0x2aed54(0x1ad)](_0x2aed54(0x172)),_0x37f5fe=_0x4b1af7[_0x2aed54(0x1ad)](_0x2aed54(0x1bd));_0x2b8202[_0x2aed54(0x1ca)](_0x485265=>{const _0x319a3f=_0x2aed54,_0x349704=_0x43bb79[_0x319a3f(0x19f)](_0x2b8a9e=>_0x2b8a9e[_0x319a3f(0x1c5)]===_0x485265[_0x319a3f(0x1c5)]);_0x349704?_0x349704[_0x319a3f(0x18f)]=_0x349704[_0x319a3f(0x18f)][_0x319a3f(0x18b)](_0x485265[_0x319a3f(0x18f)]):_0x43bb79[_0x319a3f(0x16e)](_0x485265);}),_0x43bb79=_0x43bb79[_0x2aed54(0x16d)](_0x3531a9=>!_0x37f5fe[_0x2aed54(0x1b5)](_0x3531a9[_0x2aed54(0x1c5)])),_0x43bb79[_0x2aed54(0x1ca)](_0x2cf782=>{const _0x273993=_0x2aed54;_0x2cf782[_0x273993(0x18f)]=_0x2cf782[_0x273993(0x18f)][_0x273993(0x16d)](_0xc35ff1=>!_0x37f5fe[_0x273993(0x1b5)](_0xc35ff1['id']));}),_0x4b1af7[_0x2aed54(0x198)](_0x2aed54(0x1a6),_0x43bb79);}}export function getDefaultAICommands(_0x33e509){const _0x132e5b=_0x3699c7;return[{'groupId':_0x132e5b(0x1ce),'groupLabel':_0x37a9ce(_0x33e509,_0x132e5b(0x1b7)),'commands':[{'id':_0x132e5b(0x16c),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1d0)),'prompt':_0x132e5b(0x1b6)},{'id':_0x132e5b(0x1ba),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x196)),'prompt':_0x132e5b(0x1b8)},{'id':_0x132e5b(0x19d),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x18c)),'prompt':_0x132e5b(0x1c9)},{'id':_0x132e5b(0x1c4),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x17b)),'prompt':_0x132e5b(0x1a5)}]},{'groupId':_0x132e5b(0x1bb),'groupLabel':_0x37a9ce(_0x33e509,_0x132e5b(0x17e)),'commands':[{'id':_0x132e5b(0x182),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x184)),'prompt':_0x132e5b(0x1a2)},{'id':_0x132e5b(0x17d),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1cb)),'prompt':_0x132e5b(0x1cd)}]},{'groupId':_0x132e5b(0x1c7),'groupLabel':_0x37a9ce(_0x33e509,_0x132e5b(0x191)),'commands':[{'id':_0x132e5b(0x17f),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x17a)),'prompt':_0x132e5b(0x179)},{'id':_0x132e5b(0x1ae),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1a3)),'prompt':_0x132e5b(0x176)},{'id':_0x132e5b(0x18a),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x197)),'prompt':_0x132e5b(0x189)},{'id':_0x132e5b(0x18e),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x178)),'prompt':_0x132e5b(0x173)},{'id':_0x132e5b(0x19a),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x187)),'prompt':_0x132e5b(0x1cc)}]},{'groupId':_0x132e5b(0x168),'groupLabel':_0x37a9ce(_0x33e509,_0x132e5b(0x17c)),'commands':[{'id':_0x132e5b(0x1be),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1ab)),'prompt':_0x132e5b(0x1ac)},{'id':_0x132e5b(0x195),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1c6)),'prompt':_0x132e5b(0x167)},{'id':_0x132e5b(0x174),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1a1)),'prompt':_0x132e5b(0x192)},{'id':_0x132e5b(0x1b2),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x181)),'prompt':_0x132e5b(0x1c1)}]},{'groupId':_0x132e5b(0x1d1),'groupLabel':_0x37a9ce(_0x33e509,_0x132e5b(0x190)),'commands':[{'id':_0x132e5b(0x177),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x16a)),'prompt':_0x132e5b(0x1d2)},{'id':_0x132e5b(0x193),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1d3)),'prompt':_0x132e5b(0x1d4)},{'id':_0x132e5b(0x1b3),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x16f)),'prompt':_0x132e5b(0x180)},{'id':_0x132e5b(0x1b0),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x175)),'prompt':_0x132e5b(0x1bc)},{'id':_0x132e5b(0x1b9),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x169)),'prompt':_0x132e5b(0x1a9)},{'id':_0x132e5b(0x199),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1a7)),'prompt':_0x132e5b(0x1c2)},{'id':_0x132e5b(0x19e),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x186)),'prompt':_0x132e5b(0x19b)},{'id':_0x132e5b(0x1c3),'label':_0x37a9ce(_0x33e509,_0x132e5b(0x1c8)),'prompt':_0x132e5b(0x1a0)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2fd9a2=_0x245d;function _0x245d(_0x36139a,_0x11bd70){const _0x1e6aec=_0x1e6a();return _0x245d=function(_0x245de9,_0x540abf){_0x245de9=_0x245de9-0x1aa;let _0x17d26d=_0x1e6aec[_0x245de9];return _0x17d26d;},_0x245d(_0x36139a,_0x11bd70);}(function(_0x1052ed,_0x3be2b4){const _0xd39665=_0x245d,_0x344477=_0x1052ed();while(!![]){try{const _0x53d0dd=-parseInt(_0xd39665(0x1b1))/0x1+parseInt(_0xd39665(0x1aa))/0x2*(parseInt(_0xd39665(0x1b0))/0x3)+parseInt(_0xd39665(0x1c5))/0x4*(parseInt(_0xd39665(0x201))/0x5)+parseInt(_0xd39665(0x1f1))/0x6*(parseInt(_0xd39665(0x1f5))/0x7)+parseInt(_0xd39665(0x1f6))/0x8*(parseInt(_0xd39665(0x1ac))/0x9)+parseInt(_0xd39665(0x217))/0xa*(parseInt(_0xd39665(0x1be))/0xb)+-parseInt(_0xd39665(0x1d0))/0xc*(parseInt(_0xd39665(0x1d4))/0xd);if(_0x53d0dd===_0x3be2b4)break;else _0x344477['push'](_0x344477['shift']());}catch(_0x1ee982){_0x344477['push'](_0x344477['shift']());}}}(_0x1e6a,0x1bd44));import{uid as _0x3ccb12}from'ckeditor5/src/utils.js';import{Plugin as _0x274cb1}from'ckeditor5/src/core.js';function _0x1e6a(){const _0x97e80b=['document','setSelection','getRange','element','for','selection','filter','_getTableRowCountFromContent','getChildren','editor','getColumnIndexes','ai.assistant.useTheme','getLastPosition','conversion','12560WlBuTF','canEditAt','ck-fake-ai-selection_collapsed','change','2SLkZlm','resultRange','9dtNIJS','isAtEnd','plugins','AIAssistantEditing','509268qkLWxF','67464soXtck','markerRange','getRowIndexes','_resetContentOfSelectedTableCells','text/html','pop','createUIElement','map','editingDowncast','getMarkersGroup','last','model','config','1100dDfRzm','_prepareTableInsertBelowPosition','getRows','insertContentBelow','ck-ai-assistant-ui_theme','getRanges','ai-ui','1256gYWfMX','DataTransfer','isCollapsed','getChild','get','_pasteHTMLUsingClipboard','markers','start','end','_getDefaultInsertBelowPosition','forEach','1704YWruXC','setData','href','markerToElement','23361IcOYfC','paste','isContent','addClass','createPositionAfter','from','insertContent','parse','getLastMatchingPosition','findAncestor','isOfficialPlugin','table','getSelectedBlocks','getSelectedTableCells','_createEmptyTableRows','off','createPositionAt','once','ck-fake-ai-selection','hideFakeVisualSelection','data','editing','removeMarker','fire','showFakeVisualSelection','span','addMarker','init','markerToHighlight','258ukXCHj','createSelection','TableUtils','deleteContent','9611TudDhl','92648ISNyMR','contentInsertion','updateMarker','has','first','lowest','isPremiumPlugin','pluginName','createRange','afterInit','schema','1125UNTPgf','fromCharCode','length','getFirstRange','_getAISelection','insertRows','push','join'];_0x1e6a=function(){return _0x97e80b;};return _0x1e6a();}import{ClipboardPipeline as _0x594634}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3302f9,ViewDataTransfer as _0x3ec29a}from'ckeditor5/src/engine.js';const w=globalThis[_0x2fd9a2(0x1c6)],f=_0x2fd9a2(0x1c4);export class AIAssistantEditing extends _0x274cb1{static get[_0x2fd9a2(0x1fd)](){const _0x381486=_0x2fd9a2;return _0x381486(0x1af);}static get[_0x2fd9a2(0x1de)](){return!0x0;}static get[_0x2fd9a2(0x1fc)](){return!0x0;}[_0x2fd9a2(0x1ef)](){const _0x28272d=_0x2fd9a2,{editor:_0x1d132b}=this,_0x35fde8=[_0x28272d(0x1e6)];_0x1d132b[_0x28272d(0x1bd)][_0x28272d(0x1c9)](_0x28272d(0x214))&&_0x35fde8[_0x28272d(0x207)](_0x28272d(0x1c2)),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1f0)]({'model':f,'view':{'classes':_0x35fde8,'priority':0xc}}),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1d3)]({'model':f,'view':(_0xffb5ac,{writer:_0x54c486})=>{const _0x17c5ee=_0x28272d;if(!_0xffb5ac[_0x17c5ee(0x1b2)][_0x17c5ee(0x1c7)])return null;const _0x501757=_0x54c486[_0x17c5ee(0x1b7)](_0x17c5ee(0x1ed));return _0x54c486[_0x17c5ee(0x1d7)]([_0x17c5ee(0x1e6),_0x17c5ee(0x219)],_0x501757),_0x501757;}});}[_0x2fd9a2(0x1ff)](){!async function(_0x24f133){const _0x489969=_0x595a41([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]),_0x1b6f10=0x3dffc4e1,_0x584a71=0x3df84249^_0x1b6f10,_0x7fb09f=window[_0x595a41([0x44,0x61,0x74,0x65])][_0x595a41([0x6e,0x6f,0x77])](),_0x3a9cdc=_0x24f133[_0x595a41([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x14a470=new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cb50e=>{_0x3a9cdc[_0x595a41([0x6f,0x6e,0x63,0x65])](_0x595a41([0x72,0x65,0x61,0x64,0x79]),_0x5cb50e);}),_0x3a92e5={[_0x595a41([0x6b,0x74,0x79])]:_0x595a41([0x45,0x43]),[_0x595a41([0x75,0x73,0x65])]:_0x595a41([0x73,0x69,0x67]),[_0x595a41([0x63,0x72,0x76])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36]),[_0x595a41([0x78])]:_0x595a41([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]),[_0x595a41([0x79])]:_0x595a41([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]),[_0x595a41([0x61,0x6c,0x67])]:_0x595a41([0x45,0x53,0x32,0x35,0x36])},_0x231852=_0x3a9cdc[_0x595a41([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x595a41([0x67,0x65,0x74])](_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20473e(){let _0x217c47,_0x1ec13b=null,_0x566554=null;try{if(_0x231852==_0x595a41([0x47,0x50,0x4c]))return _0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x217c47=_0xd2b556(),!_0x217c47)return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x566554=_0x262e3a(_0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x217c47[_0x595a41([0x6a,0x74,0x69])])),await _0x28e9fc()?_0x40c732()?_0x225d80()?_0x595a41([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x128190()?(_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ec13b=_0xbeda15(_0x595a41([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x339ab8()):_0x595a41([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x225d80(){const _0x5f0a91=[_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x595a41([0x74,0x72,0x69,0x61,0x6c])][_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7fb09f/0x3e8:0xe10*_0x584a71;return _0x217c47[_0x595a41([0x65,0x78,0x70])]<_0x5f0a91;}function _0x40c732(){const _0x2cdae3=_0x217c47[_0x595a41([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2cdae3&&(!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a]))||!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x41,0x49])));}function _0x128190(){const _0x3add23=_0x245d,_0x2055ec=_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2055ec||0x0==_0x2055ec[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb067d7}=new URL(window[_0x595a41([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3add23(0x1d2)]);if(_0x2055ec[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb067d7))return!0x0;const _0x53d9e5=_0xb067d7[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));return _0x2055ec[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14c605=>_0x14c605[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a])))[_0x595a41([0x6d,0x61,0x70])](_0x1aac4d=>_0x1aac4d[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])))[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf11565=>_0xf11565[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x6d,0x61,0x70])](_0x11cff6=>Array(_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11cff6[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x66,0x69,0x6c,0x6c])](_0x11cff6[0x0]===_0x595a41([0x2a])?_0x595a41([0x2a]):'')[_0x595a41([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11cff6))[_0x595a41([0x73,0x6f,0x6d,0x65])](_0x152f19=>_0x53d9e5[_0x595a41([0x65,0x76,0x65,0x72,0x79])]((_0x1f12b4,_0x3cccce)=>_0x152f19[_0x3cccce]===_0x1f12b4||_0x152f19[_0x3cccce]===_0x595a41([0x2a])));}function _0x339ab8(){return _0x1ec13b&&_0x566554?new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a63e,_0x39d956)=>{_0x1ec13b[_0x595a41([0x74,0x68,0x65,0x6e])](_0x47a63e,_0x39d956),_0x566554[_0x595a41([0x74,0x68,0x65,0x6e])](_0x2314c9=>{_0x2314c9!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x47a63e(_0x2314c9);},_0x39d956);}):_0x1ec13b||_0x566554||_0x595a41([0x56,0x61,0x6c,0x69,0x64]);}}function _0x262e3a(_0x3eb1c2,_0x4abd74){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cc2be=>{if(_0x38caf8())return _0x5cc2be(_0x595a41([0x56,0x61,0x6c,0x69,0x64]));_0x3ecdfa(),_0x3a9cdc[_0x595a41([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4093d2=!0x1;const _0x93bb1e=_0x3ccb12();function _0x40392b(_0x8ae2d4){return!!_0x8ae2d4&&(typeof _0x8ae2d4===_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8ae2d4===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8ae2d4[_0x595a41([0x74,0x68,0x65,0x6e])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8ae2d4[_0x595a41([0x63,0x61,0x74,0x63,0x68])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe9c597(_0x404092){_0x39420f(_0x404092)[_0x595a41([0x74,0x68,0x65,0x6e])](_0x269a35=>{if(!_0x269a35||_0x269a35[_0x595a41([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x595a41([0x6f,0x6b]))return _0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bb3a3(_0x2b53c5(_0x93bb1e+_0x4abd74))!=_0x269a35[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x466410=>(_0x415b7f(),_0x466410),()=>{const _0x22c4bb=_0x2a9873();return null==_0x22c4bb?(_0x415b7f(),_0x595a41([0x56,0x61,0x6c,0x69,0x64])):_0x595a41(_0x7fb09f-_0x22c4bb>(0x19f340e1^_0x1b6f10)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5cc2be)[_0x595a41([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x380f6e=0x3dc92a61^_0x1b6f10;function _0x415b7f(){const _0x13c555=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x348171=_0x17503c(_0x5bb3a3(window[_0x595a41([0x4d,0x61,0x74,0x68])][_0x595a41([0x63,0x65,0x69,0x6c])](_0x7fb09f/_0x380f6e)));window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13c555,_0x348171);}function _0x2a9873(){const _0x37d62e=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x30e332=window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37d62e);return _0x30e332?window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17503c(_0x30e332),0x10)*_0x380f6e:null;}function _0x39420f(_0x54a631){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e657c,_0x48db5)=>{_0x54a631[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5e657c,_0x48db5),window[_0x595a41([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48db5,0x3dfe1021^_0x1b6f10);});}}_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26e46b,_0x5c2ce6)=>{if(_0x5c2ce6[0x0]!=_0x3eb1c2)return _0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c2ce6[0x1]={..._0x5c2ce6[0x1],[_0x595a41([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x93bb1e};},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x68,0x69,0x67,0x68])}),_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a2ea6=>{_0x40392b(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4093d2=!0x0,_0xe9c597(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x6c,0x6f,0x77])}),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>{_0x4093d2||_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38caf8(){return _0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x595a41([0x61,0x75,0x74,0x6f]);}function _0x3ecdfa(){_0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x595a41([0x61,0x75,0x74,0x6f]);}}function _0xbeda15(_0x54cdcd){const _0x491677=[new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307ee3=>setTimeout(_0x307ee3,0x3df6fa2d^_0x1b6f10)),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c3c9=>{let _0x46bf17=0x0;_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x6f,0x6e])](_0x595a41([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f4506,_0x4f4275)=>{_0x4f4275[0x0][_0x595a41([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46bf17++,_0x46bf17==(0x3dffc109^_0x1b6f10)&&(_0x26c3c9(),_0x5f4506[_0x595a41([0x6f,0x66,0x66])]());});}))];return window[_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x595a41([0x72,0x61,0x63,0x65])](_0x491677)[_0x595a41([0x74,0x68,0x65,0x6e])](()=>_0x54cdcd);}async function _0x23dd13(){await _0x14a470,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x595a41([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33f35e(_0xffdd09){const _0x2fcfb1=_0x9ec556();_0x3a9cdc[_0x2fcfb1]=_0x595a41([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xffdd09,_0xffdd09!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x23dd13();}function _0x9ec556(){const _0x2af970=window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x595a41([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x595a41([0x6e,0x6f,0x77])]())[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x595a41([0x2e]),'');let _0x256c3b=_0x595a41([0x6e]);for(let _0x48d860=0x0;_0x48d860<_0x2af970[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48d860+=0x2){let _0x453f2f=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af970[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48d860,_0x48d860+0x2));_0x453f2f>=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x453f2f-=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x256c3b+=_0x489969[_0x453f2f];}return _0x256c3b;}function _0xd2b556(){const _0x1b16d7=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));if(0x3!=_0x1b16d7[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5717fa(_0x1b16d7[0x1]);function _0x5717fa(_0x28d317){const _0x27014e=_0x2b2b27(_0x28d317);return _0x27014e&&_0xf62156()?_0x27014e:null;function _0xf62156(){const _0x32ffe0=_0x27014e[_0x595a41([0x6a,0x74,0x69])],_0x4a9ce8=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38a27d={..._0x27014e,[_0x595a41([0x6a,0x74,0x69])]:_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38a27d[_0x595a41([0x76,0x63])],_0x2b53c5(_0x38a27d)==_0x4a9ce8;}}}async function _0x28e9fc(){let _0x53715d=!0x0;try{const _0x1cfa27=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])),[_0x5787b4,_0x41768b,_0x4110b7]=_0x1cfa27;return _0x35c51b(_0x5787b4),await _0x43ea79(_0x5787b4,_0x41768b,_0x4110b7),_0x53715d;}catch{return!0x1;}function _0x35c51b(_0x1e9bcc){const _0x4dc062=_0x2b2b27(_0x1e9bcc);_0x4dc062&&_0x4dc062[_0x595a41([0x61,0x6c,0x67])]==_0x595a41([0x45,0x53,0x32,0x35,0x36])||(_0x53715d=!0x1);}async function _0x43ea79(_0x338b64,_0x52b94d,_0x3370b2){const _0x53ffb8=window[_0x595a41([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x595a41([0x66,0x72,0x6f,0x6d])](_0x35b56b(_0x3370b2),_0xbb4333=>_0xbb4333[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a0db5=new window[(_0x595a41([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x595a41([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x338b64+_0x595a41([0x2e])+_0x52b94d),_0x10945f=window[_0x595a41([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x595a41([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10945f)return;const _0x19e1ed=await _0x10945f[_0x595a41([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x595a41([0x6a,0x77,0x6b]),_0x3a92e5,{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10945f[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x68,0x61,0x73,0x68])]:{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19e1ed,_0x53ffb8,_0x3a0db5)||(_0x53715d=!0x1);}}function _0x2b2b27(_0x382e98){return _0x382e98[_0x595a41([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x595a41([0x65,0x79]))?JSON[_0x595a41([0x70,0x61,0x72,0x73,0x65])](_0x35b56b(_0x382e98)):null;}function _0x35b56b(_0x35ff41){return window[_0x595a41([0x61,0x74,0x6f,0x62])](_0x35ff41[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x595a41([0x2b]))[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x595a41([0x2f])));}function _0x2b53c5(_0x2782ed){let _0x31ddd3=0x1505;function _0x593ff9(_0x57f445){for(let _0x337aee=0x0;_0x337aee<_0x57f445[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337aee++){const _0x110c1f=_0x57f445[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337aee);_0x31ddd3=(_0x31ddd3<<0x5)+_0x31ddd3+_0x110c1f,_0x31ddd3&=_0x31ddd3;}}function _0x1a0766(_0xb3d78d){Array[_0x595a41([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb3d78d)?_0xb3d78d[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a0766):_0xb3d78d&&typeof _0xb3d78d==_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x595a41([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb3d78d)[_0x595a41([0x73,0x6f,0x72,0x74])]()[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x265e96,_0x2687f5])=>{_0x593ff9(_0x265e96),_0x1a0766(_0x2687f5);}):_0x593ff9(window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb3d78d));}return _0x1a0766(_0x2782ed),_0x31ddd3>>>0x0;}function _0x5bb3a3(_0x5a0f3e){return _0x5a0f3e[_0x595a41([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x595a41([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x595a41([0x30]));}function _0x17503c(_0x2d6292){return _0x2d6292[_0x595a41([0x73,0x70,0x6c,0x69,0x74])]('')[_0x595a41([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x595a41([0x6a,0x6f,0x69,0x6e])]('');}function _0x8e3839(){}function _0x595a41(_0x5e12de){const _0x564379=_0x245d;return _0x5e12de[_0x564379(0x1b8)](_0x83921f=>String[_0x564379(0x202)](_0x83921f))[_0x564379(0x208)]('');}_0x33f35e(await _0x20473e());}(this);}[_0x2fd9a2(0x1ec)](){const _0x6745a5=_0x2fd9a2,_0x9f0209=this[_0x6745a5(0x212)][_0x6745a5(0x1bc)];_0x9f0209[_0x6745a5(0x21a)](_0x45ac44=>{const _0x47e249=_0x6745a5,_0x481c20=_0x9f0209[_0x47e249(0x209)][_0x47e249(0x20e)][_0x47e249(0x1c3)]();let _0x1eee3d=0x0;for(const _0x5dc398 of _0x481c20){const _0x4cbab3=f+':'+_0x1eee3d;if(_0x9f0209[_0x47e249(0x1cb)][_0x47e249(0x1f9)](_0x4cbab3))_0x45ac44[_0x47e249(0x1f8)](_0x4cbab3,{'range':_0x5dc398});else{if(_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1ad)]){const _0x578669=_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1dc)](({item:_0x1cb2f5})=>!_0x9f0209[_0x47e249(0x200)][_0x47e249(0x1d6)](_0x1cb2f5),{'boundaries':_0x5dc398});_0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45ac44[_0x47e249(0x1fe)](_0x578669,_0x5dc398[_0x47e249(0x1cd)])});}else _0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5dc398});}_0x1eee3d++;}});}[_0x2fd9a2(0x1e7)](){const _0x359f69=_0x2fd9a2,_0x28ca0=this[_0x359f69(0x212)][_0x359f69(0x1bc)],_0x22495f=Array[_0x359f69(0x1d9)](this[_0x359f69(0x212)][_0x359f69(0x1bc)][_0x359f69(0x1cb)][_0x359f69(0x1ba)](f));_0x22495f[_0x359f69(0x203)]&&_0x28ca0[_0x359f69(0x21a)](_0x4a51ba=>{const _0x4f0e88=_0x359f69;_0x22495f[_0x4f0e88(0x1cf)](_0x3befc8=>{const _0x48f5d9=_0x4f0e88;_0x4a51ba[_0x48f5d9(0x1ea)](_0x3befc8);});});}[_0x2fd9a2(0x1da)](_0x1af8e8,_0x42f072){const _0x956aaa=_0x2fd9a2,_0x4121f6=this[_0x956aaa(0x205)](),_0xd86a54=_0x42f072||_0x4121f6[_0x956aaa(0x204)]();this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x218)](_0xd86a54)&&this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x21a)](_0x363492=>{const _0x49d445=_0x956aaa;this[_0x49d445(0x1e7)](),_0x42f072||this[_0x49d445(0x1b4)](_0x363492,_0x4121f6),this[_0x49d445(0x1ca)]({'insertAt':_0xd86a54,'writer':_0x363492,'html':_0x1af8e8});});}[_0x2fd9a2(0x1c1)](_0xbfb7d9){const _0x2e5ba9=_0x2fd9a2,{model:_0x106bde}=this[_0x2e5ba9(0x212)],_0x54456d=this[_0x2e5ba9(0x205)]();_0x106bde[_0x2e5ba9(0x21a)](()=>{const _0x4c1e60=_0x2e5ba9,_0x53df5d=this[_0x4c1e60(0x1bf)](_0xbfb7d9,_0x54456d)||this[_0x4c1e60(0x1ce)](_0x54456d);this[_0x4c1e60(0x1da)](_0xbfb7d9,_0x53df5d);});}[_0x2fd9a2(0x205)](){const _0x578bce=_0x2fd9a2,_0xde0d79=this[_0x578bce(0x212)][_0x578bce(0x1bc)],_0x1798db=Array[_0x578bce(0x1d9)](_0xde0d79[_0x578bce(0x1cb)][_0x578bce(0x1ba)](f))[_0x578bce(0x1b8)](_0x36814d=>_0x36814d[_0x578bce(0x20b)]());return _0xde0d79[_0x578bce(0x1f2)](_0x1798db);}[_0x2fd9a2(0x1ca)]({writer:_0x46f523,html:_0x387da2,insertAt:_0x22b8a3}){const _0x3f81c0=_0x2fd9a2,{view:_0x127d72}=this[_0x3f81c0(0x212)][_0x3f81c0(0x1e9)],_0x50aca0=this[_0x3f81c0(0x212)][_0x3f81c0(0x1ae)][_0x3f81c0(0x1c9)](_0x594634),_0x4f3e05=new w();_0x4f3e05[_0x3f81c0(0x1d1)](_0x3f81c0(0x1b5),_0x387da2);const _0x1d948e=new ClipboardEvent(_0x3f81c0(0x1d5),{'clipboardData':_0x4f3e05}),_0x3105fa=new _0x3302f9(_0x127d72,_0x1d948e,{'dataTransfer':new _0x3ec29a(_0x4f3e05)});_0x46f523[_0x3f81c0(0x20a)](_0x22b8a3);const _0x247bb2=(_0x223fdc,_0x4cbc76)=>{const _0x524b32=_0x3f81c0;_0x4cbc76[_0x524b32(0x1ab)]&&_0x46f523[_0x524b32(0x20a)](_0x4cbc76[_0x524b32(0x1ab)]);};_0x50aca0[_0x3f81c0(0x1e5)](_0x3f81c0(0x1f7),_0x247bb2,{'priority':_0x3f81c0(0x1fb)}),_0x127d72[_0x3f81c0(0x209)][_0x3f81c0(0x1eb)](_0x3f81c0(0x1d5),_0x3105fa),_0x50aca0[_0x3f81c0(0x1e3)](_0x3f81c0(0x1f7),_0x247bb2);}[_0x2fd9a2(0x1ce)](_0x506cef){const _0x2aa825=_0x2fd9a2,{model:_0x32cfa1}=this[_0x2aa825(0x212)],_0x227c8b=Array[_0x2aa825(0x1d9)](_0x506cef[_0x2aa825(0x1e0)]());return _0x227c8b[_0x2aa825(0x203)]?_0x32cfa1[_0x2aa825(0x1d8)](_0x227c8b[_0x2aa825(0x1b6)]()):_0x506cef[_0x2aa825(0x215)]();}[_0x2fd9a2(0x1bf)](_0x33ccef,_0x48b1fd){const _0x2572fe=_0x2fd9a2,{model:_0x14c309,plugins:_0x3b9e8f}=this[_0x2572fe(0x212)];if(_0x3b9e8f[_0x2572fe(0x1f9)](_0x2572fe(0x1f3))){const _0x2d8f58=_0x3b9e8f[_0x2572fe(0x1c9)](_0x2572fe(0x1f3))[_0x2572fe(0x1e1)](_0x48b1fd);if(_0x2d8f58[_0x2572fe(0x203)]){const _0x57dd26=this[_0x2572fe(0x210)](_0x33ccef),_0x5d8e9a=this[_0x2572fe(0x1e2)](_0x2d8f58,_0x57dd26);return _0x14c309[_0x2572fe(0x1e4)](_0x5d8e9a,0x0);}}return null;}[_0x2fd9a2(0x210)](_0x3b700a){const _0x569d18=_0x2fd9a2,_0x5cdace=this[_0x569d18(0x212)][_0x569d18(0x1ae)][_0x569d18(0x1c9)](_0x569d18(0x1f3)),_0x32d300=this[_0x569d18(0x212)][_0x569d18(0x1e8)][_0x569d18(0x1db)](_0x3b700a),_0x431e93=Array[_0x569d18(0x1d9)](_0x32d300[_0x569d18(0x211)]())[_0x569d18(0x20f)](_0x4ffa07=>_0x4ffa07['is'](_0x569d18(0x20c),_0x569d18(0x1df)));let _0x5453b7=0x0;return _0x431e93[_0x569d18(0x1cf)](_0x3728b8=>{const _0x3376be=_0x569d18;_0x5453b7+=_0x5cdace[_0x3376be(0x1c0)](_0x3728b8);}),_0x5453b7;}[_0x2fd9a2(0x1e2)](_0x7c347b,_0x415449){const _0x27501b=_0x2fd9a2,_0x45e399=this[_0x27501b(0x212)][_0x27501b(0x1ae)][_0x27501b(0x1c9)](_0x27501b(0x1f3)),_0x4f43e0=_0x45e399[_0x27501b(0x1b3)](_0x7c347b),_0x3e7650=_0x45e399[_0x27501b(0x213)](_0x7c347b),_0x4319ab=_0x4f43e0[_0x27501b(0x1bb)]+0x1,_0x1719d4=_0x3e7650[_0x27501b(0x1fa)],_0x43233b=_0x7c347b[0x0][_0x27501b(0x1dd)](_0x27501b(0x1df));for(let _0x313744=0x0;_0x313744<_0x415449;_0x313744++)_0x45e399[_0x27501b(0x206)](_0x43233b,{'at':_0x4319ab});return _0x43233b[_0x27501b(0x1c8)](_0x4319ab)[_0x27501b(0x1c8)](_0x1719d4);}[_0x2fd9a2(0x1b4)](_0x10d08b,_0x118a1b){const _0x306526=_0x2fd9a2,{plugins:_0x5ea36f}=this[_0x306526(0x212)],{model:_0x18e91b}=_0x10d08b;if(!_0x5ea36f[_0x306526(0x1f9)](_0x306526(0x1f3)))return;_0x5ea36f[_0x306526(0x1c9)](_0x306526(0x1f3))[_0x306526(0x1e1)](_0x118a1b)[_0x306526(0x203)]&&_0x18e91b[_0x306526(0x1f4)](_0x118a1b);}}
|
|
23
|
+
const _0x1c78a3=_0x1bd2;(function(_0x31b4b6,_0x33cef5){const _0x590d71=_0x1bd2,_0x4adc70=_0x31b4b6();while(!![]){try{const _0x3271d0=parseInt(_0x590d71(0x146))/0x1*(-parseInt(_0x590d71(0x189))/0x2)+-parseInt(_0x590d71(0x137))/0x3+-parseInt(_0x590d71(0x121))/0x4+parseInt(_0x590d71(0x180))/0x5+parseInt(_0x590d71(0x188))/0x6+-parseInt(_0x590d71(0x17c))/0x7+-parseInt(_0x590d71(0x172))/0x8*(-parseInt(_0x590d71(0x152))/0x9);if(_0x3271d0===_0x33cef5)break;else _0x4adc70['push'](_0x4adc70['shift']());}catch(_0x3e4816){_0x4adc70['push'](_0x4adc70['shift']());}}}(_0x38e1,0x71569));import{uid as _0x4fe7e6}from'ckeditor5/src/utils.js';function _0x1bd2(_0x2d5a29,_0x284dba){const _0x38e137=_0x38e1();return _0x1bd2=function(_0x1bd22a,_0x290e1b){_0x1bd22a=_0x1bd22a-0x11f;let _0x9916c3=_0x38e137[_0x1bd22a];return _0x9916c3;},_0x1bd2(_0x2d5a29,_0x284dba);}import{Plugin as _0x1b43d3}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2de804}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2f206c,ViewDataTransfer as _0x5a465e}from'ckeditor5/src/engine.js';const j=globalThis[_0x1c78a3(0x181)],P=_0x1c78a3(0x15a);function _0x38e1(){const _0x620f51=['pop','ck-fake-ai-selection','join','getSelectedTableCells','from','getLastMatchingPosition','schema','isContent','editing','getRange','_getAISelection','init','once','plugins','resultRange','findAncestor','isPremiumPlugin','1235488SZRWwJ','fromCharCode','parse','editor','createRange','length','map','getLastPosition','for','setData','4505046jtCcFs','insertContent','editingDowncast','selection','550985BFleDJ','DataTransfer','addClass','model','isAtEnd','getMarkersGroup','ai.assistant.useTheme','push','2578404sLGaiy','913078zasSqk','_createEmptyTableRows','isOfficialPlugin','data','updateMarker','861436AdWMrG','off','start','AIAssistantEditing','has','createPositionAfter','_pasteHTMLUsingClipboard','config','getChildren','conversion','insertContentBelow','_getTableRowCountFromContent','TableUtils','contentInsertion','createUIElement','change','insertRows','_getDefaultInsertBelowPosition','isCollapsed','markers','setSelection','forEach','1840362OnWpXx','lowest','createPositionAt','last','getSelectedBlocks','ck-ai-assistant-ui_theme','getRanges','span','end','removeMarker','paste','fire','pluginName','text/html','showFakeVisualSelection','1oGtmGQ','table','getColumnIndexes','addMarker','markerToElement','getFirstRange','first','markerRange','deleteContent','hideFakeVisualSelection','_prepareTableInsertBelowPosition','document','108FpsQnt','_resetContentOfSelectedTableCells','markerToHighlight','filter','href','createSelection','canEditAt','getRows','ai-ui','getChild','afterInit','element','ck-fake-ai-selection_collapsed','getRowIndexes','get'];_0x38e1=function(){return _0x620f51;};return _0x38e1();}export class AIAssistantEditing extends _0x1b43d3{static get[_0x1c78a3(0x143)](){const _0x3eaf1f=_0x1c78a3;return _0x3eaf1f(0x124);}static get[_0x1c78a3(0x18b)](){return!0x0;}static get[_0x1c78a3(0x171)](){return!0x0;}[_0x1c78a3(0x16c)](){const _0x20cd9b=_0x1c78a3,{editor:_0x5c0cc3}=this,_0x3cae9a=[_0x20cd9b(0x162)];_0x5c0cc3[_0x20cd9b(0x128)][_0x20cd9b(0x160)](_0x20cd9b(0x186))&&_0x3cae9a[_0x20cd9b(0x187)](_0x20cd9b(0x13c)),_0x5c0cc3[_0x20cd9b(0x12a)][_0x20cd9b(0x17a)](_0x20cd9b(0x17e))[_0x20cd9b(0x154)]({'model':P,'view':{'classes':_0x3cae9a,'priority':0xc}}),_0x5c0cc3[_0x20cd9b(0x12a)][_0x20cd9b(0x17a)](_0x20cd9b(0x17e))[_0x20cd9b(0x14a)]({'model':P,'view':(_0x278b9b,{writer:_0x48a995})=>{const _0x4578fd=_0x20cd9b;if(!_0x278b9b[_0x4578fd(0x14d)][_0x4578fd(0x133)])return null;const _0x312588=_0x48a995[_0x4578fd(0x12f)](_0x4578fd(0x13e));return _0x48a995[_0x4578fd(0x182)]([_0x4578fd(0x162),_0x4578fd(0x15e)],_0x312588),_0x312588;}});}[_0x1c78a3(0x15c)](){!async function(_0x5266d6){const _0x5d055c=_0x5a7956([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]),_0x33d476=0x3dffc4e1,_0x3b774=0x3df843c1^_0x33d476,_0xc02ac7=window[_0x5a7956([0x44,0x61,0x74,0x65])][_0x5a7956([0x6e,0x6f,0x77])](),_0x2a98f5=_0x5266d6[_0x5a7956([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2026bb=new window[(_0x5a7956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d2d59=>{_0x2a98f5[_0x5a7956([0x6f,0x6e,0x63,0x65])](_0x5a7956([0x72,0x65,0x61,0x64,0x79]),_0x3d2d59);}),_0x3bfef2={[_0x5a7956([0x6b,0x74,0x79])]:_0x5a7956([0x45,0x43]),[_0x5a7956([0x75,0x73,0x65])]:_0x5a7956([0x73,0x69,0x67]),[_0x5a7956([0x63,0x72,0x76])]:_0x5a7956([0x50,0x2d,0x32,0x35,0x36]),[_0x5a7956([0x78])]:_0x5a7956([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]),[_0x5a7956([0x79])]:_0x5a7956([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]),[_0x5a7956([0x61,0x6c,0x67])]:_0x5a7956([0x45,0x53,0x32,0x35,0x36])},_0x49e009=_0x2a98f5[_0x5a7956([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a7956([0x67,0x65,0x74])](_0x5a7956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4aeef9(){let _0x56ce81,_0x93f9cd=null,_0xa5537a=null;try{if(_0x49e009==_0x5a7956([0x47,0x50,0x4c]))return _0x5a7956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56ce81=_0x4b56eb(),!_0x56ce81)return _0x5a7956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56ce81[_0x5a7956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa5537a=_0x2277c2(_0x56ce81[_0x5a7956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56ce81[_0x5a7956([0x6a,0x74,0x69])])),await _0x151030()?_0x45c3dc()?_0x10f6f8()?_0x5a7956([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52d2c2()?(_0x56ce81[_0x5a7956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a7956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x93f9cd=_0x6063e8(_0x5a7956([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49614a()):_0x5a7956([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a7956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a7956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a7956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x10f6f8(){const _0x3565f8=[_0x5a7956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a7956([0x74,0x72,0x69,0x61,0x6c])][_0x5a7956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56ce81[_0x5a7956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc02ac7/0x3e8:0xe10*_0x3b774;return _0x56ce81[_0x5a7956([0x65,0x78,0x70])]<_0x3565f8;}function _0x45c3dc(){const _0x1d0626=_0x56ce81[_0x5a7956([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d0626&&(!!_0x1d0626[_0x5a7956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a7956([0x2a]))||!!_0x1d0626[_0x5a7956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a7956([0x41,0x49])));}function _0x52d2c2(){const _0x236002=_0x1bd2,_0x5274f5=_0x56ce81[_0x5a7956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5274f5||0x0==_0x5274f5[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcd7778}=new URL(window[_0x5a7956([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x236002(0x156)]);if(_0x5274f5[_0x5a7956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcd7778))return!0x0;const _0x5b5a2a=_0xcd7778[_0x5a7956([0x73,0x70,0x6c,0x69,0x74])](_0x5a7956([0x2e]));return _0x5274f5[_0x5a7956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11a3ee=>_0x11a3ee[_0x5a7956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a7956([0x2a])))[_0x5a7956([0x6d,0x61,0x70])](_0x3bb76a=>_0x3bb76a[_0x5a7956([0x73,0x70,0x6c,0x69,0x74])](_0x5a7956([0x2e])))[_0x5a7956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c843b=>_0x2c843b[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b5a2a[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a7956([0x6d,0x61,0x70])](_0x549581=>Array(_0x5b5a2a[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x549581[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a7956([0x66,0x69,0x6c,0x6c])](_0x549581[0x0]===_0x5a7956([0x2a])?_0x5a7956([0x2a]):'')[_0x5a7956([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x549581))[_0x5a7956([0x73,0x6f,0x6d,0x65])](_0x3f41ec=>_0x5b5a2a[_0x5a7956([0x65,0x76,0x65,0x72,0x79])]((_0x185e11,_0x71ebd9)=>_0x3f41ec[_0x71ebd9]===_0x185e11||_0x3f41ec[_0x71ebd9]===_0x5a7956([0x2a])));}function _0x49614a(){return _0x93f9cd&&_0xa5537a?new window[(_0x5a7956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ec3ba,_0x163147)=>{_0x93f9cd[_0x5a7956([0x74,0x68,0x65,0x6e])](_0x2ec3ba,_0x163147),_0xa5537a[_0x5a7956([0x74,0x68,0x65,0x6e])](_0x5b6de8=>{_0x5b6de8!=_0x5a7956([0x56,0x61,0x6c,0x69,0x64])&&_0x2ec3ba(_0x5b6de8);},_0x163147);}):_0x93f9cd||_0xa5537a||_0x5a7956([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2277c2(_0x41b326,_0x5a161e){return new window[(_0x5a7956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x450827=>{if(_0x143f76())return _0x450827(_0x5a7956([0x56,0x61,0x6c,0x69,0x64]));_0x350e90(),_0x2a98f5[_0x5a7956([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a7956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6c22e5=!0x1;const _0x49b544=_0x4fe7e6();function _0x3591a2(_0x594f99){return!!_0x594f99&&(typeof _0x594f99===_0x5a7956([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x594f99===_0x5a7956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x594f99[_0x5a7956([0x74,0x68,0x65,0x6e])]===_0x5a7956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x594f99[_0x5a7956([0x63,0x61,0x74,0x63,0x68])]===_0x5a7956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d4750(_0x1f1719){_0x525c6d(_0x1f1719)[_0x5a7956([0x74,0x68,0x65,0x6e])](_0x2f385=>{if(!_0x2f385||_0x2f385[_0x5a7956([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a7956([0x6f,0x6b]))return _0x5a7956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x245a18(_0x46afce(_0x49b544+_0x5a161e))!=_0x2f385[_0x5a7956([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a7956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a7956([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a7956([0x74,0x68,0x65,0x6e])](_0x4225dc=>(_0x1adf88(),_0x4225dc),()=>{const _0x3c0e38=_0x3c6695();return null==_0x3c0e38?(_0x1adf88(),_0x5a7956([0x56,0x61,0x6c,0x69,0x64])):_0x5a7956(_0xc02ac7-_0x3c0e38>(0x19f340e1^_0x33d476)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a7956([0x74,0x68,0x65,0x6e])](_0x450827)[_0x5a7956([0x63,0x61,0x74,0x63,0x68])](()=>{_0x450827(_0x5a7956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc8a0d1=0x3dc92a61^_0x33d476;function _0x1adf88(){const _0x13c436=_0x5a7956([0x6c,0x6c,0x63,0x74,0x2d])+_0x245a18(_0x46afce(_0x41b326)),_0x27a545=_0x57bdc4(_0x245a18(window[_0x5a7956([0x4d,0x61,0x74,0x68])][_0x5a7956([0x63,0x65,0x69,0x6c])](_0xc02ac7/_0xc8a0d1)));window[_0x5a7956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a7956([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13c436,_0x27a545);}function _0x3c6695(){const _0x3e5479=_0x5a7956([0x6c,0x6c,0x63,0x74,0x2d])+_0x245a18(_0x46afce(_0x41b326)),_0x54c60f=window[_0x5a7956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a7956([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e5479);return _0x54c60f?window[_0x5a7956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57bdc4(_0x54c60f),0x10)*_0xc8a0d1:null;}function _0x525c6d(_0x47a4e8){return new window[(_0x5a7956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x118e1b,_0x24d369)=>{_0x47a4e8[_0x5a7956([0x74,0x68,0x65,0x6e])](_0x118e1b,_0x24d369),window[_0x5a7956([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24d369,0x3dfe1021^_0x33d476);});}}_0x2a98f5[_0x5a7956([0x6f,0x6e])](_0x5a7956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12b2cb,_0x4baf96)=>{if(_0x4baf96[0x0]!=_0x41b326)return _0x450827(_0x5a7956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4baf96[0x1]={..._0x4baf96[0x1],[_0x5a7956([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49b544};},{[_0x5a7956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a7956([0x68,0x69,0x67,0x68])}),_0x2a98f5[_0x5a7956([0x6f,0x6e])](_0x5a7956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d80ab=>{_0x3591a2(_0x4d80ab[_0x5a7956([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6c22e5=!0x0,_0x4d4750(_0x4d80ab[_0x5a7956([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a7956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a7956([0x6c,0x6f,0x77])}),_0x2026bb[_0x5a7956([0x74,0x68,0x65,0x6e])](()=>{_0x6c22e5||_0x450827(_0x5a7956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x143f76(){return _0x2a98f5[_0x5a7956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a7956([0x76,0x69,0x65,0x77])][_0x5a7956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a7956([0x61,0x75,0x74,0x6f]);}function _0x350e90(){_0x2a98f5[_0x5a7956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a7956([0x76,0x69,0x65,0x77])][_0x5a7956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a7956([0x61,0x75,0x74,0x6f]);}}function _0x6063e8(_0x9b2d91){const _0x246bb4=[new window[(_0x5a7956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x363171=>setTimeout(_0x363171,0x3df6fa2d^_0x33d476)),_0x2026bb[_0x5a7956([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a7956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13f7ef=>{let _0x5d90ab=0x0;_0x2a98f5[_0x5a7956([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a7956([0x6f,0x6e])](_0x5a7956([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59fec1,_0x1952df)=>{_0x1952df[0x0][_0x5a7956([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d90ab++,_0x5d90ab==(0x3dffc109^_0x33d476)&&(_0x13f7ef(),_0x59fec1[_0x5a7956([0x6f,0x66,0x66])]());});}))];return window[_0x5a7956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a7956([0x72,0x61,0x63,0x65])](_0x246bb4)[_0x5a7956([0x74,0x68,0x65,0x6e])](()=>_0x9b2d91);}async function _0x22ce11(){await _0x2026bb,_0x2a98f5[_0x5a7956([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a7956([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x287951,_0x2a98f5[_0x5a7956([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a7956([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x287951,_0x2a98f5[_0x5a7956([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a7956([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12adc6(_0x348f82){const _0x36cd98=_0x5c3c7a();_0x2a98f5[_0x36cd98]=_0x5a7956([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x348f82,_0x348f82!=_0x5a7956([0x56,0x61,0x6c,0x69,0x64])&&_0x22ce11();}function _0x5c3c7a(){const _0x5c7746=window[_0x5a7956([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a7956([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a7956([0x6e,0x6f,0x77])]())[_0x5a7956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a7956([0x2e]),'');let _0x1c18a0=_0x5a7956([0x6e]);for(let _0x1db8f4=0x0;_0x1db8f4<_0x5c7746[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1db8f4+=0x2){let _0x383198=window[_0x5a7956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c7746[_0x5a7956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1db8f4,_0x1db8f4+0x2));_0x383198>=_0x5d055c[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x383198-=_0x5d055c[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c18a0+=_0x5d055c[_0x383198];}return _0x1c18a0;}function _0x4b56eb(){const _0x22977d=_0x49e009[_0x5a7956([0x73,0x70,0x6c,0x69,0x74])](_0x5a7956([0x2e]));if(0x3!=_0x22977d[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4157aa(_0x22977d[0x1]);function _0x4157aa(_0x32c10c){const _0x32175f=_0x1fafa4(_0x32c10c);return _0x32175f&&_0x2cb9d6()?_0x32175f:null;function _0x2cb9d6(){const _0x1fc7fa=_0x32175f[_0x5a7956([0x6a,0x74,0x69])],_0x34cf5b=window[_0x5a7956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fc7fa[_0x5a7956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fc7fa[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x155c0e={..._0x32175f,[_0x5a7956([0x6a,0x74,0x69])]:_0x1fc7fa[_0x5a7956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1fc7fa[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x155c0e[_0x5a7956([0x76,0x63])],_0x46afce(_0x155c0e)==_0x34cf5b;}}}async function _0x151030(){let _0x276817=!0x0;try{const _0x2af5df=_0x49e009[_0x5a7956([0x73,0x70,0x6c,0x69,0x74])](_0x5a7956([0x2e])),[_0x4e8370,_0x2a7be2,_0x217e23]=_0x2af5df;return _0x3a3cc7(_0x4e8370),await _0x53d457(_0x4e8370,_0x2a7be2,_0x217e23),_0x276817;}catch{return!0x1;}function _0x3a3cc7(_0x301be6){const _0x39f752=_0x1fafa4(_0x301be6);_0x39f752&&_0x39f752[_0x5a7956([0x61,0x6c,0x67])]==_0x5a7956([0x45,0x53,0x32,0x35,0x36])||(_0x276817=!0x1);}async function _0x53d457(_0x2c6d97,_0x7901d,_0x4a5323){const _0x43f86f=window[_0x5a7956([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a7956([0x66,0x72,0x6f,0x6d])](_0x188aa8(_0x4a5323),_0x38ae93=>_0x38ae93[_0x5a7956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc6e1cc=new window[(_0x5a7956([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a7956([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c6d97+_0x5a7956([0x2e])+_0x7901d),_0x35f368=window[_0x5a7956([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a7956([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35f368)return;const _0x127d4f=await _0x35f368[_0x5a7956([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a7956([0x6a,0x77,0x6b]),_0x3bfef2,{[_0x5a7956([0x6e,0x61,0x6d,0x65])]:_0x5a7956([0x45,0x43,0x44,0x53,0x41]),[_0x5a7956([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a7956([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a7956([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35f368[_0x5a7956([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a7956([0x6e,0x61,0x6d,0x65])]:_0x5a7956([0x45,0x43,0x44,0x53,0x41]),[_0x5a7956([0x68,0x61,0x73,0x68])]:{[_0x5a7956([0x6e,0x61,0x6d,0x65])]:_0x5a7956([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x127d4f,_0x43f86f,_0xc6e1cc)||(_0x276817=!0x1);}}function _0x1fafa4(_0x256a23){return _0x256a23[_0x5a7956([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a7956([0x65,0x79]))?JSON[_0x5a7956([0x70,0x61,0x72,0x73,0x65])](_0x188aa8(_0x256a23)):null;}function _0x188aa8(_0x4b1827){return window[_0x5a7956([0x61,0x74,0x6f,0x62])](_0x4b1827[_0x5a7956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a7956([0x2b]))[_0x5a7956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a7956([0x2f])));}function _0x46afce(_0x4ad98b){let _0x3f7339=0x1505;function _0xf08c9e(_0x3d7b38){for(let _0x1a007f=0x0;_0x1a007f<_0x3d7b38[_0x5a7956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a007f++){const _0xb41275=_0x3d7b38[_0x5a7956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a007f);_0x3f7339=(_0x3f7339<<0x5)+_0x3f7339+_0xb41275,_0x3f7339&=_0x3f7339;}}function _0x159a0d(_0x3cb82b){Array[_0x5a7956([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cb82b)?_0x3cb82b[_0x5a7956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x159a0d):_0x3cb82b&&typeof _0x3cb82b==_0x5a7956([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a7956([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cb82b)[_0x5a7956([0x73,0x6f,0x72,0x74])]()[_0x5a7956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x233c39,_0x52d762])=>{_0xf08c9e(_0x233c39),_0x159a0d(_0x52d762);}):_0xf08c9e(window[_0x5a7956([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cb82b));}return _0x159a0d(_0x4ad98b),_0x3f7339>>>0x0;}function _0x245a18(_0x3eb50a){return _0x3eb50a[_0x5a7956([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a7956([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a7956([0x30]));}function _0x57bdc4(_0x4b6f35){return _0x4b6f35[_0x5a7956([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a7956([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a7956([0x6a,0x6f,0x69,0x6e])]('');}function _0x287951(){}function _0x5a7956(_0x48ff8a){const _0x1d8a7e=_0x1bd2;return _0x48ff8a[_0x1d8a7e(0x178)](_0x43500d=>String[_0x1d8a7e(0x173)](_0x43500d))[_0x1d8a7e(0x163)]('');}_0x12adc6(await _0x4aeef9());}(this);}[_0x1c78a3(0x145)](){const _0x5a5498=_0x1c78a3,_0x57814b=this[_0x5a5498(0x175)][_0x5a5498(0x183)];_0x57814b[_0x5a5498(0x130)](_0x2635d8=>{const _0x3303bc=_0x5a5498,_0x1ba90a=_0x57814b[_0x3303bc(0x151)][_0x3303bc(0x17f)][_0x3303bc(0x13d)]();let _0x20d04b=0x0;for(const _0x188a8e of _0x1ba90a){const _0x5c095d=P+':'+_0x20d04b;if(_0x57814b[_0x3303bc(0x134)][_0x3303bc(0x125)](_0x5c095d))_0x2635d8[_0x3303bc(0x120)](_0x5c095d,{'range':_0x188a8e});else{if(_0x188a8e[_0x3303bc(0x123)][_0x3303bc(0x184)]){const _0x524cb7=_0x188a8e[_0x3303bc(0x123)][_0x3303bc(0x166)](({item:_0x46c82a})=>!_0x57814b[_0x3303bc(0x167)][_0x3303bc(0x168)](_0x46c82a),{'boundaries':_0x188a8e});_0x2635d8[_0x3303bc(0x149)](_0x5c095d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2635d8[_0x3303bc(0x176)](_0x524cb7,_0x188a8e[_0x3303bc(0x13f)])});}else _0x2635d8[_0x3303bc(0x149)](_0x5c095d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x188a8e});}_0x20d04b++;}});}[_0x1c78a3(0x14f)](){const _0x4ab995=_0x1c78a3,_0x30bf87=this[_0x4ab995(0x175)][_0x4ab995(0x183)],_0x56134c=Array[_0x4ab995(0x165)](this[_0x4ab995(0x175)][_0x4ab995(0x183)][_0x4ab995(0x134)][_0x4ab995(0x185)](P));_0x56134c[_0x4ab995(0x177)]&&_0x30bf87[_0x4ab995(0x130)](_0x156731=>{const _0x3f6b02=_0x4ab995;_0x56134c[_0x3f6b02(0x136)](_0x57506e=>{const _0x482c8f=_0x3f6b02;_0x156731[_0x482c8f(0x140)](_0x57506e);});});}[_0x1c78a3(0x17d)](_0x246cd5,_0x2fb046){const _0x2cf7db=_0x1c78a3,_0x200107=this[_0x2cf7db(0x16b)](),_0x2f18aa=_0x2fb046||_0x200107[_0x2cf7db(0x14b)]();this[_0x2cf7db(0x175)][_0x2cf7db(0x183)][_0x2cf7db(0x158)](_0x2f18aa)&&this[_0x2cf7db(0x175)][_0x2cf7db(0x183)][_0x2cf7db(0x130)](_0x2336dc=>{const _0x237ec9=_0x2cf7db;this[_0x237ec9(0x14f)](),_0x2fb046||this[_0x237ec9(0x153)](_0x2336dc,_0x200107),this[_0x237ec9(0x127)]({'insertAt':_0x2f18aa,'writer':_0x2336dc,'html':_0x246cd5});});}[_0x1c78a3(0x12b)](_0x4dd6a6){const _0x502872=_0x1c78a3,{model:_0x35a5b6}=this[_0x502872(0x175)],_0x2d532f=this[_0x502872(0x16b)]();_0x35a5b6[_0x502872(0x130)](()=>{const _0x38cc27=_0x502872,_0x954d38=this[_0x38cc27(0x150)](_0x4dd6a6,_0x2d532f)||this[_0x38cc27(0x132)](_0x2d532f);this[_0x38cc27(0x17d)](_0x4dd6a6,_0x954d38);});}[_0x1c78a3(0x16b)](){const _0x2b8d19=_0x1c78a3,_0x2b7b36=this[_0x2b8d19(0x175)][_0x2b8d19(0x183)],_0x34d01b=Array[_0x2b8d19(0x165)](_0x2b7b36[_0x2b8d19(0x134)][_0x2b8d19(0x185)](P))[_0x2b8d19(0x178)](_0x5b4bfe=>_0x5b4bfe[_0x2b8d19(0x16a)]());return _0x2b7b36[_0x2b8d19(0x157)](_0x34d01b);}[_0x1c78a3(0x127)]({writer:_0x37d8e3,html:_0x2349c3,insertAt:_0x4b2f93}){const _0x3d0027=_0x1c78a3,{view:_0x29a093}=this[_0x3d0027(0x175)][_0x3d0027(0x169)],_0x37224a=this[_0x3d0027(0x175)][_0x3d0027(0x16e)][_0x3d0027(0x160)](_0x2de804),_0xf6a39f=new j();_0xf6a39f[_0x3d0027(0x17b)](_0x3d0027(0x144),_0x2349c3);const _0x510f56=new ClipboardEvent(_0x3d0027(0x141),{'clipboardData':_0xf6a39f}),_0x533c3b=new _0x2f206c(_0x29a093,_0x510f56,{'dataTransfer':new _0x5a465e(_0xf6a39f)});_0x37d8e3[_0x3d0027(0x135)](_0x4b2f93);const _0x312375=(_0x56b487,_0x3ea88d)=>{const _0x217cc5=_0x3d0027;_0x3ea88d[_0x217cc5(0x16f)]&&_0x37d8e3[_0x217cc5(0x135)](_0x3ea88d[_0x217cc5(0x16f)]);};_0x37224a[_0x3d0027(0x16d)](_0x3d0027(0x12e),_0x312375,{'priority':_0x3d0027(0x138)}),_0x29a093[_0x3d0027(0x151)][_0x3d0027(0x142)](_0x3d0027(0x141),_0x533c3b),_0x37224a[_0x3d0027(0x122)](_0x3d0027(0x12e),_0x312375);}[_0x1c78a3(0x132)](_0x23a7a2){const _0x523d94=_0x1c78a3,{model:_0x33dd28}=this[_0x523d94(0x175)],_0x2d2638=Array[_0x523d94(0x165)](_0x23a7a2[_0x523d94(0x13b)]());return _0x2d2638[_0x523d94(0x177)]?_0x33dd28[_0x523d94(0x126)](_0x2d2638[_0x523d94(0x161)]()):_0x23a7a2[_0x523d94(0x179)]();}[_0x1c78a3(0x150)](_0x2605c1,_0x344d20){const _0x4b3465=_0x1c78a3,{model:_0x58a87c,plugins:_0x2b4c6c}=this[_0x4b3465(0x175)];if(_0x2b4c6c[_0x4b3465(0x125)](_0x4b3465(0x12d))){const _0x16f17e=_0x2b4c6c[_0x4b3465(0x160)](_0x4b3465(0x12d))[_0x4b3465(0x164)](_0x344d20);if(_0x16f17e[_0x4b3465(0x177)]){const _0x58f015=this[_0x4b3465(0x12c)](_0x2605c1),_0x2f5ff4=this[_0x4b3465(0x18a)](_0x16f17e,_0x58f015);return _0x58a87c[_0x4b3465(0x139)](_0x2f5ff4,0x0);}}return null;}[_0x1c78a3(0x12c)](_0x519f83){const _0x5b518f=_0x1c78a3,_0x1d16b6=this[_0x5b518f(0x175)][_0x5b518f(0x16e)][_0x5b518f(0x160)](_0x5b518f(0x12d)),_0xabfa16=this[_0x5b518f(0x175)][_0x5b518f(0x11f)][_0x5b518f(0x174)](_0x519f83),_0x4c5e54=Array[_0x5b518f(0x165)](_0xabfa16[_0x5b518f(0x129)]())[_0x5b518f(0x155)](_0x1e0dc0=>_0x1e0dc0['is'](_0x5b518f(0x15d),_0x5b518f(0x147)));let _0x22aeb4=0x0;return _0x4c5e54[_0x5b518f(0x136)](_0x3f223d=>{const _0x509db7=_0x5b518f;_0x22aeb4+=_0x1d16b6[_0x509db7(0x159)](_0x3f223d);}),_0x22aeb4;}[_0x1c78a3(0x18a)](_0x2b9804,_0x33eed0){const _0xc846a=_0x1c78a3,_0xd101dd=this[_0xc846a(0x175)][_0xc846a(0x16e)][_0xc846a(0x160)](_0xc846a(0x12d)),_0x50346f=_0xd101dd[_0xc846a(0x15f)](_0x2b9804),_0x3e41e1=_0xd101dd[_0xc846a(0x148)](_0x2b9804),_0x2614f0=_0x50346f[_0xc846a(0x13a)]+0x1,_0x29448b=_0x3e41e1[_0xc846a(0x14c)],_0x3a8f03=_0x2b9804[0x0][_0xc846a(0x170)](_0xc846a(0x147));for(let _0xf0cf0c=0x0;_0xf0cf0c<_0x33eed0;_0xf0cf0c++)_0xd101dd[_0xc846a(0x131)](_0x3a8f03,{'at':_0x2614f0});return _0x3a8f03[_0xc846a(0x15b)](_0x2614f0)[_0xc846a(0x15b)](_0x29448b);}[_0x1c78a3(0x153)](_0x3c2245,_0x1be92f){const _0x1bf818=_0x1c78a3,{plugins:_0xe2dc38}=this[_0x1bf818(0x175)],{model:_0x27903f}=_0x3c2245;if(!_0xe2dc38[_0x1bf818(0x125)](_0x1bf818(0x12d)))return;_0xe2dc38[_0x1bf818(0x160)](_0x1bf818(0x12d))[_0x1bf818(0x164)](_0x1be92f)[_0x1bf818(0x177)]&&_0x27903f[_0x1bf818(0x14e)](_0x1be92f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2994e8=_0x486d;(function(_0x242ec1,_0xf2c702){const _0x315a8f=_0x486d,_0x44aeb8=_0x242ec1();while(!![]){try{const _0x167616=parseInt(_0x315a8f(0x260))/0x1+parseInt(_0x315a8f(0x243))/0x2*(-parseInt(_0x315a8f(0x1ed))/0x3)+parseInt(_0x315a8f(0x22a))/0x4+-parseInt(_0x315a8f(0x1cc))/0x5+-parseInt(_0x315a8f(0x23e))/0x6+-parseInt(_0x315a8f(0x1f9))/0x7+-parseInt(_0x315a8f(0x26b))/0x8*(-parseInt(_0x315a8f(0x1cd))/0x9);if(_0x167616===_0xf2c702)break;else _0x44aeb8['push'](_0x44aeb8['shift']());}catch(_0x5e8b5f){_0x44aeb8['push'](_0x44aeb8['shift']());}}}(_0x4308,0xa2ea0));import{Plugin as _0x4ba6b3}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4cb3d5,IconRobotPencil as _0x234715}from'ckeditor5/src/icons.js';import{first as _0x46b75c,CKEditorError as _0x3de911}from'ckeditor5/src/utils.js';import{createDropdown as _0x404ac9,addMenuToDropdown as _0x266103,ButtonView as _0x2feae8,MenuBarMenuListItemButtonView as _0x57ee01,Dialog as _0x454da7,DialogViewPosition as _0x4d36ba,MenuBarMenuView as _0x78b91f,MenuBarMenuListView as _0x424c4d,MenuBarMenuListItemView as _0x2ae7c8}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x5648bb,UNGROUPED_COMMANDS_GROUP_ID as _0x477f7f}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x129fae}from'./aiassistantediting.js';import{AIAdapter as _0x4f2f5d}from'./adapters/aiadapter.js';import{getTranslation as _0x54bee2}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1c3b15}from'./ui/showaiassistantcommand.js';function _0x486d(_0x331820,_0x395680){const _0x430817=_0x4308();return _0x486d=function(_0x486d5f,_0x54cf10){_0x486d5f=_0x486d5f-0x1ca;let _0x371642=_0x430817[_0x486d5f];return _0x371642;},_0x486d(_0x331820,_0x395680);}import{AIAssistantController as _0x4c0702}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x321200}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x41146a}from'./ui/form/aiformtoolbarview.js';function _0x4308(){const _0xc6dfdb=['hideFakeVisualSelection','pluginName','requires','INSERT','aiLicenseKeyExpired','change:isError','_formView','buttons','AI\x20Commands','Generated\x20content:\x20%0','announce','listenTo','getSelectedBlocks','ai.assistant.useTheme','groupLabel','insertContentBelow','getRanges','replaceContent','aiCommands','isPremiumPlugin','comment','_showLicenseError','aiLicenseKeyInvalid','custom','isOn','_getResolvedCommandsDefinitions','ai.assistant.disabledElements','1076428xYurKx','EDITOR_TOP_SIDE','aiLicenseKeyNotAllowed','_getMenuBarGroupButtons','_populateMenuBarMenu','hideUI','replace','body','config','media','prompt','currentContext','text','set','_createAIAssistantUIButton','change:value','selection','ai.assistant.contentAreaCssClass','aiLicenseKeyValid','from','7173498dUMaDN','ck-ai-assistant-button\x20','commands','insertContent','ai.assistant.commands','39980DIKdIE','_onExecute','buttonView','updatePosition','show','editor','usageLimit','fieldView','aiLicenseKeyUsageLimit','licenseKey','polite','children','change','model','render','AI\x20is\x20writing','text/html','init','_forceMarkersCopy','schema','_dialog','_commandDefinitions','map','isCollapsed','execute','featureNotAllowed','_initAriaAiStatusChangeAnnouncements','getData','setSelection','237689iRZfII','includes','errorView','aiLicenseKeyEvaluationLimit','destroy','AIAssistant','push','delegate','source','isOfficialPlugin','_licenseKeyCheckInterval','1167704hqkWOa','label','_aiAssistantController','REPLACE','componentFactory','document','focus','change:enabledCommandsIds','hide','once','update','add','\x20ck-ai-assistant-ui_theme','plugins','2552635iSOuzn','171prjOxn','getLimitElement','editing','splice','isEnabled','aiLicenseKeyDomainLimit','_initView','menuitemcheckbox','rawHtml','filter','showAIAssistant','get','ck-ai-assistant-ui','showUI','addMany','change:isProcessing','</p>','requiresContent','menuPanelClass','copy','length','forEach','reset','tableOfContents','invalid','menuBar:aiCommands','getSelectedElement','promptView','groupId','view','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','51HltxnU','expired','fire','textAdapter','isFlat','order','items','_aiAdapter','ck-ai-commands-dropdown\x20','panelView','domainLimit','locale','3967999smvyrK','DataTransfer','contentArea','aiAssistant','AIAssistantUI','values','sort','_uiCssClasses','define','evaluationLimit','menuBar:aiAssistant','bind','trim','ai-commands-config-order-collision','updateView','command:','enabledCommandsIds','AI\x20Assistant','showFakeVisualSelection','<p>','menuView','wasMoved'];_0x4308=function(){return _0xc6dfdb;};return _0x4308();}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x2994e8(0x1fa)];import{ClipboardMarkersUtils as _0x56a17d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x34dbf8,ViewDataTransfer as _0xd01ee8}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4ba6b3{[_0x2994e8(0x24c)];[_0x2994e8(0x26a)];[_0x2994e8(0x257)];[_0x2994e8(0x215)];[_0x2994e8(0x1f4)];[_0x2994e8(0x26d)];[_0x2994e8(0x200)]='';static get[_0x2994e8(0x210)](){const _0x5ee583=_0x2994e8;return _0x5ee583(0x1fd);}static get[_0x2994e8(0x269)](){return!0x0;}static get[_0x2994e8(0x222)](){return!0x0;}static get[_0x2994e8(0x211)](){return[_0x56a17d,_0x129fae,_0x4f2f5d,_0x454da7];}constructor(_0x211f0a){const _0x11d16c=_0x2994e8;super(_0x211f0a),_0x211f0a[_0x11d16c(0x232)][_0x11d16c(0x201)](_0x11d16c(0x229),[_0x11d16c(0x233),_0x11d16c(0x1d5),_0x11d16c(0x1e4)]),_0x211f0a[_0x11d16c(0x232)][_0x11d16c(0x201)](_0x11d16c(0x23b),''),_0x211f0a[_0x11d16c(0x232)][_0x11d16c(0x201)](_0x11d16c(0x21c),!0x0),this[_0x11d16c(0x200)]=_0x11d16c(0x1d9)+(_0x211f0a[_0x11d16c(0x232)][_0x11d16c(0x1d8)](_0x11d16c(0x21c))?_0x11d16c(0x1ca):'');}[_0x2994e8(0x254)](){const _0x53347f=_0x2994e8,{editor:_0x324d57}=this;this[_0x53347f(0x1f4)]=_0x324d57[_0x53347f(0x1cb)][_0x53347f(0x1d8)](_0x4f2f5d),this[_0x53347f(0x257)]=_0x324d57[_0x53347f(0x1cb)][_0x53347f(0x1d8)](_0x454da7),this[_0x53347f(0x215)]=null,this[_0x53347f(0x258)]=this[_0x53347f(0x228)]();const _0x57598d=new _0x1c3b15(_0x324d57,Array[_0x53347f(0x23d)](this[_0x53347f(0x258)][_0x53347f(0x1fe)]()));_0x324d57[_0x53347f(0x240)][_0x53347f(0x276)](_0x53347f(0x1d7),_0x57598d),_0x324d57['ui'][_0x53347f(0x26f)][_0x53347f(0x276)](_0x53347f(0x221),_0x2f1daa=>{const _0x471224=_0x53347f,_0x5cd742=_0x404ac9(_0x2f1daa);return _0x5cd742[_0x471224(0x237)]({'class':_0x471224(0x1f5)+this[_0x471224(0x200)]}),_0x5cd742[_0x471224(0x245)][_0x471224(0x237)]({'label':_0x54bee2(_0x2f1daa,_0x471224(0x217)),'icon':_0x4cb3d5,'tooltip':!0x0}),_0x5cd742['on'](_0x471224(0x25b),_0x175023=>this[_0x471224(0x244)](_0x175023[_0x471224(0x268)]['id'])),_0x266103(_0x5cd742,_0x324d57['ui'][_0x471224(0x1ea)][_0x471224(0x231)],function(_0x526a6d){const _0xf99ddd=_0x471224,_0x366484=_0x5648bb(_0x526a6d[_0xf99ddd(0x232)][_0xf99ddd(0x1d8)](_0xf99ddd(0x242)),_0x526a6d[_0xf99ddd(0x1f8)]),_0x211a86=B(_0x526a6d,_0x366484)[_0xf99ddd(0x1d6)](_0x5cd797=>_0x5cd797[_0xf99ddd(0x240)][_0xf99ddd(0x1e1)]);if(0x1===_0x211a86[_0xf99ddd(0x1e1)])return B(_0x526a6d,_0x211a86[0x0][_0xf99ddd(0x240)])[_0xf99ddd(0x259)](_0x46c776=>({'id':_0x46c776['id'],'label':_0x46c776[_0xf99ddd(0x26c)]}));return _0x211a86[_0xf99ddd(0x259)](_0x109509=>{const _0x46b4d8=_0xf99ddd,{groupId:_0x2bccfc,groupLabel:_0x20940b,commands:_0x53014c}=_0x109509,_0x91dbcf=B(_0x526a6d,_0x53014c)[_0x46b4d8(0x259)](_0xb3c820=>({'id':_0xb3c820['id'],'label':_0xb3c820[_0x46b4d8(0x26c)]}));return{'id':_0x2bccfc,'menu':_0x20940b||_0x2bccfc,'children':_0x91dbcf};});}(_0x324d57),{'ariaLabel':_0x54bee2(_0x2f1daa,_0x471224(0x217))}),_0x5cd742[_0x471224(0x20d)][_0x471224(0x1df)]=_0x471224(0x1f5)+this[_0x471224(0x200)],_0x57598d['on'](_0x471224(0x272),_0x564334),_0x5cd742[_0x471224(0x20d)][_0x471224(0x274)](_0x471224(0x251),_0x564334),_0x5cd742;function _0x564334(){const _0x497e3e=_0x471224;_0x5cd742[_0x497e3e(0x1d1)]=_0x57598d[_0x497e3e(0x209)][_0x497e3e(0x1e1)]>0x0;for(const _0x454420 of _0x5cd742[_0x497e3e(0x20d)][_0x497e3e(0x216)])_0x454420[_0x497e3e(0x1d1)]=_0x57598d[_0x497e3e(0x209)][_0x497e3e(0x261)](_0x454420['id']);}}),_0x324d57['ui'][_0x53347f(0x26f)][_0x53347f(0x276)](_0x53347f(0x1e6),_0x2d36fe=>{const _0x5740e8=_0x53347f,_0x17ed02=new _0x78b91f(_0x2d36fe);_0x17ed02[_0x5740e8(0x245)][_0x5740e8(0x237)]({'label':_0x54bee2(_0x2d36fe,_0x5740e8(0x217)),'icon':_0x4cb3d5}),_0x17ed02[_0x5740e8(0x204)](_0x5740e8(0x1d1))['to'](_0x57598d,_0x5740e8(0x209),_0x432cc1=>_0x432cc1[_0x5740e8(0x1e1)]>0x0);const _0x3692bf=_0x5648bb(_0x324d57[_0x5740e8(0x232)][_0x5740e8(0x1d8)](_0x5740e8(0x242)),_0x2d36fe);return this[_0x5740e8(0x22e)](_0x57598d,_0x17ed02,_0x3692bf,_0x5af75a=>this[_0x5740e8(0x244)](_0x5af75a)),_0x17ed02;}),_0x324d57['ui'][_0x53347f(0x26f)][_0x53347f(0x276)](_0x53347f(0x1fc),()=>{const _0x53ecc4=_0x53347f,_0x39ed1a=this[_0x53ecc4(0x238)](_0x2feae8);return _0x39ed1a[_0x53ecc4(0x237)]({'tooltip':!0x0,'class':_0x53ecc4(0x23f)+this[_0x53ecc4(0x200)]}),_0x39ed1a;}),_0x324d57['ui'][_0x53347f(0x26f)][_0x53347f(0x276)](_0x53347f(0x203),()=>{const _0x230fe8=_0x53347f,_0xcd77ad=this[_0x230fe8(0x238)](_0x57ee01);return _0xcd77ad[_0x230fe8(0x237)]({'role':_0x230fe8(0x1d4)}),_0xcd77ad;}),this[_0x53347f(0x24c)]=this[_0x53347f(0x248)][_0x53347f(0x232)][_0x53347f(0x1d8)](_0x53347f(0x24c));const _0x4eab6d=this[_0x53347f(0x248)];this[_0x53347f(0x26a)]=setInterval(()=>{const _0x1ccae7=_0x53347f;let _0x36cc45;for(const _0x3315e7 in _0x4eab6d){const _0x10d2e4=_0x3315e7,_0x51fdc0=_0x4eab6d[_0x10d2e4];if(_0x1ccae7(0x23c)==_0x51fdc0||_0x1ccae7(0x225)==_0x51fdc0||_0x1ccae7(0x213)==_0x51fdc0||_0x1ccae7(0x1d2)==_0x51fdc0||_0x1ccae7(0x22c)==_0x51fdc0||_0x1ccae7(0x263)==_0x51fdc0||_0x1ccae7(0x24b)==_0x51fdc0){delete _0x4eab6d[_0x10d2e4],_0x36cc45=_0x51fdc0,clearInterval(this[_0x1ccae7(0x26a)]),this[_0x1ccae7(0x26a)]=void 0x0;break;}}_0x1ccae7(0x225)==_0x36cc45&&_0x4eab6d[_0x1ccae7(0x224)](_0x1ccae7(0x1e5)),_0x1ccae7(0x213)==_0x36cc45&&_0x4eab6d[_0x1ccae7(0x224)](_0x1ccae7(0x1ee)),_0x1ccae7(0x1d2)==_0x36cc45&&_0x4eab6d[_0x1ccae7(0x224)](_0x1ccae7(0x1f7)),_0x1ccae7(0x22c)==_0x36cc45&&_0x4eab6d[_0x1ccae7(0x224)](_0x1ccae7(0x25c),_0x1ccae7(0x265)),_0x1ccae7(0x263)==_0x36cc45&&_0x4eab6d[_0x1ccae7(0x224)](_0x1ccae7(0x202)),_0x1ccae7(0x24b)==_0x36cc45&&_0x4eab6d[_0x1ccae7(0x224)](_0x1ccae7(0x249));},0x3e8);}[_0x2994e8(0x264)](){const _0x17f8c0=_0x2994e8;super[_0x17f8c0(0x264)](),this[_0x17f8c0(0x26a)]&&clearInterval(this[_0x17f8c0(0x26a)]);}[_0x2994e8(0x1da)](_0x4b79b3='',_0x4c447b='',_0x3693bd=_0x2994e8(0x226)){const _0x59b50d=_0x2994e8,_0x430e03=this[_0x59b50d(0x248)],_0x4cfa20=_0x430e03[_0x59b50d(0x1cf)][_0x59b50d(0x1ea)],_0x15c004=_0x430e03[_0x59b50d(0x1cb)][_0x59b50d(0x1d8)](_0x129fae),_0x44f036=_0x430e03[_0x59b50d(0x1cb)][_0x59b50d(0x1d8)](_0x56a17d);_0x15c004[_0x59b50d(0x20b)]();const _0x54e346=new w(),_0x573346=new ClipboardEvent(_0x59b50d(0x1e0),{'clipboardData':_0x54e346}),_0x3f1caf=new _0xd01ee8(_0x54e346),_0x143365=new _0x34dbf8(_0x4cfa20,_0x573346,{'dataTransfer':_0x3f1caf});_0x44f036[_0x59b50d(0x255)](_0x59b50d(0x223),()=>{const _0x51af9d=_0x59b50d;_0x4cfa20[_0x51af9d(0x270)][_0x51af9d(0x1ef)](_0x51af9d(0x1e0),_0x143365);}),this[_0x59b50d(0x215)]||(this[_0x59b50d(0x1d3)](),this[_0x59b50d(0x26d)]=new _0x4c0702(_0x430e03,this[_0x59b50d(0x1f4)][_0x59b50d(0x1f0)],this[_0x59b50d(0x215)]));let _0x2b7941=_0x3f1caf[_0x59b50d(0x25e)](_0x59b50d(0x253));const _0x3a67db=_0x430e03[_0x59b50d(0x250)][_0x59b50d(0x270)][_0x59b50d(0x23a)],_0x1b90db=Array[_0x59b50d(0x23d)](_0x3a67db[_0x59b50d(0x21f)]());0x1===_0x1b90db[_0x59b50d(0x1e1)]&&_0x1b90db[0x0][_0x59b50d(0x1f1)]&&!_0x3a67db[_0x59b50d(0x1e7)]()&&''!==_0x2b7941[_0x59b50d(0x230)](/ /g,'')[_0x59b50d(0x205)]()&&(_0x2b7941=_0x59b50d(0x20c)+_0x2b7941+_0x59b50d(0x1dd)),this[_0x59b50d(0x26d)][_0x59b50d(0x207)]({'actionId':_0x3693bd,'query':_0x4b79b3,'htmlContent':_0x2b7941,'label':_0x4c447b,'mainActionLabel':_0x41146a[_0x430e03[_0x59b50d(0x250)][_0x59b50d(0x270)][_0x59b50d(0x23a)][_0x59b50d(0x25a)]?_0x59b50d(0x212):_0x59b50d(0x26e)]}),_0x59b50d(0x1fc)!==this[_0x59b50d(0x257)]['id']?this[_0x59b50d(0x257)][_0x59b50d(0x247)]({'id':_0x59b50d(0x1fc),'icon':_0x234715,'title':_0x54bee2(this[_0x59b50d(0x248)][_0x59b50d(0x1f8)],_0x59b50d(0x20a)),'content':this[_0x59b50d(0x215)],'position':_0x4d36ba[_0x59b50d(0x22b)],'onShow':()=>{const _0x54c068=_0x59b50d;this[_0x54c068(0x215)][_0x54c068(0x271)]();},'onHide':()=>{const _0x33d37b=_0x59b50d;this[_0x33d37b(0x26d)][_0x33d37b(0x1e3)](),_0x15c004[_0x33d37b(0x20f)]();}}):this[_0x59b50d(0x257)][_0x59b50d(0x1ea)][_0x59b50d(0x20e)]||this[_0x59b50d(0x257)][_0x59b50d(0x1ea)][_0x59b50d(0x246)]();}[_0x2994e8(0x22f)](){const _0x30fa9c=_0x2994e8;this[_0x30fa9c(0x257)][_0x30fa9c(0x273)]();}[_0x2994e8(0x228)](){const _0x1d364f=_0x2994e8,_0xe692e=new Map(),_0x1f8f3f=_0x5648bb(this[_0x1d364f(0x248)][_0x1d364f(0x232)][_0x1d364f(0x1d8)](_0x1d364f(0x242)),this[_0x1d364f(0x248)][_0x1d364f(0x1f8)]);for(const _0x1b7277 of _0x1f8f3f)for(const _0x28960a of _0x1b7277[_0x1d364f(0x240)])_0xe692e[_0x1d364f(0x237)](_0x28960a['id'],{..._0x28960a,'groupId':_0x1b7277[_0x1d364f(0x1e9)],'groupLabel':_0x1b7277[_0x1d364f(0x21d)]||_0x1b7277[_0x1d364f(0x1e9)]});return _0xe692e;}[_0x2994e8(0x238)](_0x22e035){const _0x1cf281=_0x2994e8,_0x53dded=this[_0x1cf281(0x248)],_0x1f500b=_0x53dded[_0x1cf281(0x240)][_0x1cf281(0x1d8)](_0x1cf281(0x1d7)),_0x3fbdc6=new _0x22e035(_0x53dded[_0x1cf281(0x1f8)]);return _0x3fbdc6[_0x1cf281(0x237)]({'label':_0x54bee2(_0x53dded[_0x1cf281(0x1f8)],_0x1cf281(0x20a)),'icon':_0x234715,'isToggleable':!0x0}),_0x3fbdc6[_0x1cf281(0x204)](_0x1cf281(0x1d1))['to'](_0x1f500b),_0x3fbdc6[_0x1cf281(0x204)](_0x1cf281(0x227))['to'](this[_0x1cf281(0x257)],'id',_0x542575=>_0x1cf281(0x1fc)===_0x542575),this[_0x1cf281(0x21a)](_0x3fbdc6,_0x1cf281(0x25b),()=>{const _0x156cae=_0x1cf281;_0x3fbdc6[_0x156cae(0x227)]?this[_0x156cae(0x22f)]():_0x1f500b[_0x156cae(0x25b)]();}),_0x3fbdc6;}[_0x2994e8(0x1d3)](){const _0x13324c=_0x2994e8,_0x15cbec=this[_0x13324c(0x248)][_0x13324c(0x1cb)][_0x13324c(0x1d8)](_0x129fae);this[_0x13324c(0x215)]=new _0x321200(this[_0x13324c(0x248)][_0x13324c(0x1f8)],this[_0x13324c(0x200)],this[_0x13324c(0x248)][_0x13324c(0x232)][_0x13324c(0x1d8)](_0x13324c(0x23b))),this[_0x13324c(0x215)]['on'](_0x13324c(0x239),()=>{const _0x12108d=_0x13324c;this[_0x12108d(0x257)][_0x12108d(0x1ea)][_0x12108d(0x20e)]||this[_0x12108d(0x257)][_0x12108d(0x1ea)][_0x12108d(0x246)]();}),this[_0x13324c(0x215)][_0x13324c(0x1e8)][_0x13324c(0x1ec)][_0x13324c(0x24a)]['on'](_0x13324c(0x275),()=>{const _0x48e362=_0x13324c;this[_0x48e362(0x257)][_0x48e362(0x1ea)][_0x48e362(0x20e)]||this[_0x48e362(0x257)][_0x48e362(0x1ea)][_0x48e362(0x246)]();}),this[_0x13324c(0x21a)](this[_0x13324c(0x215)],_0x13324c(0x220),()=>{const _0x47c980=_0x13324c;_0x15cbec[_0x47c980(0x241)](this[_0x47c980(0x26d)][_0x47c980(0x235)]),this[_0x47c980(0x22f)]();}),this[_0x13324c(0x21a)](this[_0x13324c(0x215)],_0x13324c(0x21e),()=>{const _0xbcd16a=_0x13324c;_0x15cbec[_0xbcd16a(0x21e)](this[_0xbcd16a(0x26d)][_0xbcd16a(0x235)]),this[_0xbcd16a(0x22f)]();}),this[_0x13324c(0x25d)]();}[_0x2994e8(0x25d)](){const _0x10e495=_0x2994e8,{locale:_0x522a2b,ui:{ariaLiveAnnouncer:_0x25474d}}=this[_0x10e495(0x248)];this[_0x10e495(0x215)][_0x10e495(0x1fb)]['on'](_0x10e495(0x1dc),(_0x502922,_0x3594b2,_0x3c9b01)=>{const _0x8b3754=_0x10e495,_0xf0f43f=this[_0x8b3754(0x26d)][_0x8b3754(0x235)];_0x3c9b01?_0x25474d[_0x8b3754(0x219)](_0x54bee2(_0x522a2b,_0x8b3754(0x252))):_0xf0f43f&&_0x25474d[_0x8b3754(0x219)](_0x54bee2(_0x522a2b,_0x8b3754(0x218),_0xf0f43f),{'politeness':_0x8b3754(0x24d),'isUnsafeHTML':!0x0});}),this[_0x10e495(0x215)]['on'](_0x10e495(0x214),(_0x5ecba1,_0x8d9481,_0x489d21)=>{const _0x57b066=_0x10e495;if(_0x489d21){const _0x2295dc=this[_0x57b066(0x215)][_0x57b066(0x262)][_0x57b066(0x236)];_0x25474d[_0x57b066(0x219)](_0x54bee2(_0x522a2b,_0x57b066(0x1eb),_0x2295dc));}});}[_0x2994e8(0x244)](_0x81d986){const _0x3047d3=_0x2994e8,_0x1bb99b=this[_0x3047d3(0x258)][_0x3047d3(0x1d8)](_0x81d986),_0x2b171b=this[_0x3047d3(0x248)],_0x50709c=_0x2b171b[_0x3047d3(0x250)][_0x3047d3(0x270)][_0x3047d3(0x23a)],_0x5f4922=_0x2b171b[_0x3047d3(0x240)][_0x3047d3(0x1d8)](_0x3047d3(0x1d7)),_0x33714c=_0x2b171b[_0x3047d3(0x1cb)][_0x3047d3(0x1d8)](_0x129fae),_0x1263e1=''+(_0x1bb99b[_0x3047d3(0x1e9)]!==_0x477f7f?_0x1bb99b[_0x3047d3(0x21d)]+':\x20':'')+_0x1bb99b[_0x3047d3(0x26c)];if(!0x1!==_0x1bb99b[_0x3047d3(0x1de)]&&_0x50709c[_0x3047d3(0x25a)]){const _0x35d927=_0x46b75c(_0x50709c[_0x3047d3(0x21b)]())||_0x2b171b[_0x3047d3(0x250)][_0x3047d3(0x256)][_0x3047d3(0x1ce)](_0x50709c);_0x2b171b[_0x3047d3(0x250)][_0x3047d3(0x24f)](_0x2e7233=>{const _0x36687e=_0x3047d3;_0x2e7233[_0x36687e(0x25f)](_0x35d927,'in');});}_0x33714c[_0x3047d3(0x20b)](),_0x5f4922[_0x3047d3(0x25b)](_0x1bb99b[_0x3047d3(0x234)],_0x1263e1,_0x3047d3(0x208)+_0x81d986);}[_0x2994e8(0x22e)](_0x53a919,_0x225508,_0xbd0ba3,_0x256bc8){const _0x21e2dc=_0x2994e8,_0xd25104=this[_0x21e2dc(0x248)],_0x2b3737=_0xd25104[_0x21e2dc(0x1f8)],_0x206845=new _0x424c4d(_0x2b3737),_0x24cdb9=B(_0xd25104,_0xbd0ba3)[_0x21e2dc(0x1d6)](_0xc6cf66=>_0xc6cf66[_0x21e2dc(0x240)][_0x21e2dc(0x1e1)]);0x1===_0x24cdb9[_0x21e2dc(0x1e1)]?this[_0x21e2dc(0x22d)]({'command':_0x53a919,'commands':_0x24cdb9[0x0][_0x21e2dc(0x240)],'parentMenuView':_0x225508,'onExecute':_0x256bc8})[_0x21e2dc(0x1e2)](_0x42729c=>_0x206845[_0x21e2dc(0x1f3)][_0x21e2dc(0x276)](_0x42729c)):_0x24cdb9[_0x21e2dc(0x1e2)](({groupId:_0x3d023a,groupLabel:_0x42704c,commands:_0xa90caf})=>{const _0x9a625a=_0x21e2dc,_0x5b486f=new _0x2ae7c8(_0x2b3737,_0x225508),_0x1c51a3=new _0x78b91f(_0x2b3737),_0x3706c5=new _0x424c4d(_0x2b3737),_0x1f2fa2=this[_0x9a625a(0x22d)]({'command':_0x53a919,'commands':_0xa90caf,'parentMenuView':_0x1c51a3,'onExecute':_0x256bc8});_0x1c51a3[_0x9a625a(0x245)][_0x9a625a(0x237)]({'label':_0x42704c||_0x3d023a}),_0x1c51a3[_0x9a625a(0x267)](_0x9a625a(0x25b))['to'](_0x225508),_0x3706c5[_0x9a625a(0x1f3)][_0x9a625a(0x1db)](_0x1f2fa2),_0x1c51a3[_0x9a625a(0x1f6)][_0x9a625a(0x24e)][_0x9a625a(0x276)](_0x3706c5),_0x5b486f[_0x9a625a(0x24e)][_0x9a625a(0x276)](_0x1c51a3),_0x206845[_0x9a625a(0x1f3)][_0x9a625a(0x276)](_0x5b486f);}),_0x225508[_0x21e2dc(0x1f6)][_0x21e2dc(0x24e)][_0x21e2dc(0x276)](_0x206845);}[_0x2994e8(0x22d)]({command:_0x214e76,commands:_0x273d62,parentMenuView:_0x37be87,onExecute:_0x33bb5b}){const _0x1c410a=_0x2994e8,_0x2d089f=this[_0x1c410a(0x248)],_0x233418=_0x2d089f[_0x1c410a(0x1f8)];return B(_0x2d089f,_0x273d62)[_0x1c410a(0x259)](_0x200adf=>{const _0x2e436a=_0x1c410a,_0x47ec44=new _0x2ae7c8(_0x233418,_0x37be87),_0x17c5b6=new _0x57ee01(_0x233418);return _0x17c5b6[_0x2e436a(0x237)]({'label':_0x200adf[_0x2e436a(0x26c)]}),_0x17c5b6[_0x2e436a(0x267)](_0x2e436a(0x25b))['to'](_0x37be87),_0x17c5b6['on'](_0x2e436a(0x25b),()=>_0x33bb5b(_0x200adf['id'])),_0x17c5b6[_0x2e436a(0x204)](_0x2e436a(0x1d1))['to'](_0x214e76,_0x2e436a(0x209),_0xe33d25=>_0xe33d25[_0x2e436a(0x261)](_0x200adf['id'])),_0x47ec44[_0x2e436a(0x24e)][_0x2e436a(0x276)](_0x17c5b6),_0x47ec44;});}}function U(_0x20dfa3,_0x311208){const _0xce7f9a=_0x2994e8;return void 0x0!==_0x20dfa3[_0xce7f9a(0x1f2)]&&void 0x0===_0x311208[_0xce7f9a(0x1f2)]?0x1:void 0x0===_0x20dfa3[_0xce7f9a(0x1f2)]&&void 0x0!==_0x311208[_0xce7f9a(0x1f2)]?-0x1:void 0x0!==_0x20dfa3[_0xce7f9a(0x1f2)]&&void 0x0!==_0x311208[_0xce7f9a(0x1f2)]?_0x20dfa3[_0xce7f9a(0x1f2)]-_0x311208[_0xce7f9a(0x1f2)]:0x0;}function B(_0x429f27,_0x2e5095){const _0x15efaa=_0x2994e8;_0x2e5095[_0x15efaa(0x1ff)](U);const _0x3d85a5={},_0x14e236=[];for(const _0x1b9d16 of _0x2e5095)if(void 0x0!==_0x1b9d16[_0x15efaa(0x1f2)]){if(_0x1b9d16[_0x15efaa(0x1f2)]in _0x3d85a5)throw new _0x3de911(_0x15efaa(0x206),_0x429f27,{'conflictingDefinitions':[_0x1b9d16,_0x3d85a5[_0x1b9d16[_0x15efaa(0x1f2)]]]});_0x3d85a5[_0x1b9d16[_0x15efaa(0x1f2)]]=_0x1b9d16,_0x14e236[_0x15efaa(0x1d0)](_0x1b9d16[_0x15efaa(0x1f2)],0x0,_0x1b9d16);}else _0x14e236[_0x15efaa(0x266)](_0x1b9d16);return _0x14e236;}
|
|
23
|
+
const _0x2bced6=_0x34a4;(function(_0x2a41ca,_0x1d27b5){const _0xa43aca=_0x34a4,_0x36e320=_0x2a41ca();while(!![]){try{const _0x423006=parseInt(_0xa43aca(0xf9))/0x1+-parseInt(_0xa43aca(0x89))/0x2*(parseInt(_0xa43aca(0x117))/0x3)+-parseInt(_0xa43aca(0xb3))/0x4*(parseInt(_0xa43aca(0xd8))/0x5)+-parseInt(_0xa43aca(0xe1))/0x6*(parseInt(_0xa43aca(0x9b))/0x7)+-parseInt(_0xa43aca(0xec))/0x8*(parseInt(_0xa43aca(0xe8))/0x9)+-parseInt(_0xa43aca(0x121))/0xa*(parseInt(_0xa43aca(0xaf))/0xb)+parseInt(_0xa43aca(0xa8))/0xc*(parseInt(_0xa43aca(0xd4))/0xd);if(_0x423006===_0x1d27b5)break;else _0x36e320['push'](_0x36e320['shift']());}catch(_0xf5c649){_0x36e320['push'](_0x36e320['shift']());}}}(_0x1621,0x25b5d));import{Plugin as _0x4c11a6}from'ckeditor5/src/core.js';function _0x1621(){const _0x242431=['get','setSelection','getSelectedElement','showFakeVisualSelection','17577QtyHoK','model','locale','command:','1256WrmvKu','map','includes','replace','_getResolvedCommandsDefinitions','set','init','</p>','add','render','fire','hideUI','\x20ck-ai-assistant-ui_theme','268895ealpwg','plugins','Generated\x20content:\x20%0','_forceMarkersCopy','Error\x20during\x20AI\x20content\x20generation:\x20%0','show','_createAIAssistantUIButton','values','aiLicenseKeyValid','isEnabled','comment','push','menuitemcheckbox','filter','replaceContent','buttonView','listenTo','<p>','isCollapsed','document','splice','aiLicenseKeyExpired','custom','update','_populateMenuBarMenu','contentArea','_initAriaAiStatusChangeAnnouncements','DataTransfer','children','_aiAssistantController','191847RtBiNW','updateView','change','change:enabledCommandsIds','ck-ai-assistant-ui','insertContentBelow','showAIAssistant','featureNotAllowed','prompt','tableOfContents','20ySKXNy','polite','source','from','isOfficialPlugin','enabledCommandsIds','updatePosition','evaluationLimit','define','_onExecute','ai.assistant.commands','_dialog','menuBar:aiCommands','ck-ai-commands-dropdown\x20','promptView','ai.assistant.disabledElements','EDITOR_TOP_SIDE','AIAssistantUI','_initView','aiCommands','body','fieldView','getData','hide','getLimitElement','4XTWvUK','addMany','queryView','buttons','view','label','AIAssistant','delegate','getSelectedBlocks','requires','groupId','editor','domainLimit','menuView','currentContext','trim','_commandDefinitions','panelView','4067LVBZCg','menuBar:aiAssistant','isFlat','aiLicenseKeyEvaluationLimit','aiLicenseKeyNotAllowed','AI\x20Commands','_aiAdapter','text/html','destroy','order','schema','aiLicenseKeyDomainLimit','expired','25476fEFQqG','rawHtml','ck-ai-assistant-button\x20','editing','requiresContent','pluginName','groupLabel','767756arTdBt','reset','sort','invalid','8TMwYwX','licenseKey','ai.assistant.useTheme','_showLicenseError','wasMoved','textAdapter','componentFactory','aiAssistant','showUI','change:isProcessing','menuPanelClass','announce','_uiCssClasses','media','ai.assistant.contentAreaCssClass','INSERT','copy','text','once','focus','aiLicenseKeyInvalid','_licenseKeyCheckInterval','hideFakeVisualSelection','REPLACE','getRanges','commands','ai-commands-config-order-collision','selection','config','items','_getMenuBarGroupButtons','isOn','_formView','3991dgtsnX','change:value','errorView','insertContent','448255XcgOnt','aiLicenseKeyUsageLimit','isPremiumPlugin','length','AI\x20is\x20writing','execute','change:isError','forEach','usageLimit','132sNlfAQ','AI\x20Assistant','bind'];_0x1621=function(){return _0x242431;};return _0x1621();}import{IconMagicWand as _0x560b1e,IconRobotPencil as _0x501909}from'ckeditor5/src/icons.js';import{first as _0x15a633,CKEditorError as _0x5e632e}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f4022,addMenuToDropdown as _0x17b123,ButtonView as _0x4cd9bb,MenuBarMenuListItemButtonView as _0x1a0043,Dialog as _0x22c94b,DialogViewPosition as _0x29715d,MenuBarMenuView as _0x1e9e4b,MenuBarMenuListView as _0x4319df,MenuBarMenuListItemView as _0x2151ac}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4f8d9c,UNGROUPED_COMMANDS_GROUP_ID as _0x43bc95}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x46fe16}from'./aiassistantediting.js';import{AIAdapter as _0x342c82}from'./adapters/aiadapter.js';import{getTranslation as _0x18d029}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1dbbd0}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4cb422}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4c283e}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x817f66}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const j=globalThis[_0x2bced6(0x114)];import{ClipboardMarkersUtils as _0x1b9c94}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5b0780,ViewDataTransfer as _0x51d55a}from'ckeditor5/src/engine.js';function _0x34a4(_0x13a48b,_0x4dc093){const _0x162176=_0x1621();return _0x34a4=function(_0x34a48f,_0x2e6bc1){_0x34a48f=_0x34a48f-0x86;let _0x55cc6f=_0x162176[_0x34a48f];return _0x55cc6f;},_0x34a4(_0x13a48b,_0x4dc093);}export class AIAssistantUI extends _0x4c11a6{[_0x2bced6(0xb4)];[_0x2bced6(0xc8)];[_0x2bced6(0x12c)];[_0x2bced6(0xd3)];[_0x2bced6(0xa1)];[_0x2bced6(0x116)];[_0x2bced6(0xbf)]='';static get[_0x2bced6(0xad)](){const _0x4bd48c=_0x2bced6;return _0x4bd48c(0x132);}static get[_0x2bced6(0x125)](){return!0x0;}static get[_0x2bced6(0xda)](){return!0x0;}static get[_0x2bced6(0x92)](){return[_0x1b9c94,_0x46fe16,_0x342c82,_0x22c94b];}constructor(_0x833cc7){const _0x19ccb1=_0x2bced6;super(_0x833cc7),_0x833cc7[_0x19ccb1(0xcf)][_0x19ccb1(0x129)](_0x19ccb1(0x130),[_0x19ccb1(0xc0),_0x19ccb1(0xa9),_0x19ccb1(0x120)]),_0x833cc7[_0x19ccb1(0xcf)][_0x19ccb1(0x129)](_0x19ccb1(0xc1),''),_0x833cc7[_0x19ccb1(0xcf)][_0x19ccb1(0x129)](_0x19ccb1(0xb5),!0x0),this[_0x19ccb1(0xbf)]=_0x19ccb1(0x11b)+(_0x833cc7[_0x19ccb1(0xcf)][_0x19ccb1(0xe4)](_0x19ccb1(0xb5))?_0x19ccb1(0xf8):'');}[_0x2bced6(0xf2)](){const _0xb14a4e=_0x2bced6,{editor:_0x2a83b6}=this;this[_0xb14a4e(0xa1)]=_0x2a83b6[_0xb14a4e(0xfa)][_0xb14a4e(0xe4)](_0x342c82),this[_0xb14a4e(0x12c)]=_0x2a83b6[_0xb14a4e(0xfa)][_0xb14a4e(0xe4)](_0x22c94b),this[_0xb14a4e(0xd3)]=null,this[_0xb14a4e(0x99)]=this[_0xb14a4e(0xf0)]();const _0x1d3c41=new _0x1dbbd0(_0x2a83b6,Array[_0xb14a4e(0x124)](this[_0xb14a4e(0x99)][_0xb14a4e(0x100)]()));_0x2a83b6[_0xb14a4e(0xcc)][_0xb14a4e(0xf4)](_0xb14a4e(0x11d),_0x1d3c41),_0x2a83b6['ui'][_0xb14a4e(0xb9)][_0xb14a4e(0xf4)](_0xb14a4e(0x134),_0x418dc3=>{const _0x491df7=_0xb14a4e,_0x3b206a=_0x4f4022(_0x418dc3);return _0x3b206a[_0x491df7(0xf1)]({'class':_0x491df7(0x12e)+this[_0x491df7(0xbf)]}),_0x3b206a[_0x491df7(0x108)][_0x491df7(0xf1)]({'label':_0x18d029(_0x418dc3,_0x491df7(0xa0)),'icon':_0x560b1e,'tooltip':!0x0}),_0x3b206a['on'](_0x491df7(0xdd),_0xa801a8=>this[_0x491df7(0x12a)](_0xa801a8[_0x491df7(0x123)]['id'])),_0x17b123(_0x3b206a,_0x2a83b6['ui'][_0x491df7(0x8d)][_0x491df7(0x135)],function(_0x31c4cd){const _0x16ce8f=_0x491df7,_0x9efcb2=_0x4f8d9c(_0x31c4cd[_0x16ce8f(0xcf)][_0x16ce8f(0xe4)](_0x16ce8f(0x12b)),_0x31c4cd[_0x16ce8f(0xea)]),_0x24015d=Y(_0x31c4cd,_0x9efcb2)[_0x16ce8f(0x106)](_0x5e38b3=>_0x5e38b3[_0x16ce8f(0xcc)][_0x16ce8f(0xdb)]);if(0x1===_0x24015d[_0x16ce8f(0xdb)])return Y(_0x31c4cd,_0x24015d[0x0][_0x16ce8f(0xcc)])[_0x16ce8f(0xed)](_0x191bbc=>({'id':_0x191bbc['id'],'label':_0x191bbc[_0x16ce8f(0x8e)]}));return _0x24015d[_0x16ce8f(0xed)](_0x3f45cd=>{const _0x5a60b7=_0x16ce8f,{groupId:_0x40714a,groupLabel:_0x407cf4,commands:_0x583e5c}=_0x3f45cd,_0x81d15a=Y(_0x31c4cd,_0x583e5c)[_0x5a60b7(0xed)](_0x21cae3=>({'id':_0x21cae3['id'],'label':_0x21cae3[_0x5a60b7(0x8e)]}));return{'id':_0x40714a,'menu':_0x407cf4||_0x40714a,'children':_0x81d15a};});}(_0x2a83b6),{'ariaLabel':_0x18d029(_0x418dc3,_0x491df7(0xa0))}),_0x3b206a[_0x491df7(0x96)][_0x491df7(0xbd)]=_0x491df7(0x12e)+this[_0x491df7(0xbf)],_0x1d3c41['on'](_0x491df7(0x11a),_0x53839a),_0x3b206a[_0x491df7(0x96)][_0x491df7(0xc5)](_0x491df7(0xf5),_0x53839a),_0x3b206a;function _0x53839a(){const _0x536272=_0x491df7;_0x3b206a[_0x536272(0x102)]=_0x1d3c41[_0x536272(0x126)][_0x536272(0xdb)]>0x0;for(const _0x54bacf of _0x3b206a[_0x536272(0x96)][_0x536272(0x8c)])_0x54bacf[_0x536272(0x102)]=_0x1d3c41[_0x536272(0x126)][_0x536272(0xee)](_0x54bacf['id']);}}),_0x2a83b6['ui'][_0xb14a4e(0xb9)][_0xb14a4e(0xf4)](_0xb14a4e(0x12d),_0x26177b=>{const _0x3824ab=_0xb14a4e,_0x236f05=new _0x1e9e4b(_0x26177b);_0x236f05[_0x3824ab(0x108)][_0x3824ab(0xf1)]({'label':_0x18d029(_0x26177b,_0x3824ab(0xa0)),'icon':_0x560b1e}),_0x236f05[_0x3824ab(0xe3)](_0x3824ab(0x102))['to'](_0x1d3c41,_0x3824ab(0x126),_0x176096=>_0x176096[_0x3824ab(0xdb)]>0x0);const _0x1b8121=_0x4f8d9c(_0x2a83b6[_0x3824ab(0xcf)][_0x3824ab(0xe4)](_0x3824ab(0x12b)),_0x26177b);return this[_0x3824ab(0x111)](_0x1d3c41,_0x236f05,_0x1b8121,_0x5d00a6=>this[_0x3824ab(0x12a)](_0x5d00a6)),_0x236f05;}),_0x2a83b6['ui'][_0xb14a4e(0xb9)][_0xb14a4e(0xf4)](_0xb14a4e(0xba),()=>{const _0x4fa139=_0xb14a4e,_0x2c0b78=this[_0x4fa139(0xff)](_0x4cd9bb);return _0x2c0b78[_0x4fa139(0xf1)]({'tooltip':!0x0,'class':_0x4fa139(0xaa)+this[_0x4fa139(0xbf)]}),_0x2c0b78;}),_0x2a83b6['ui'][_0xb14a4e(0xb9)][_0xb14a4e(0xf4)](_0xb14a4e(0x9c),()=>{const _0x653e1c=_0xb14a4e,_0x26660d=this[_0x653e1c(0xff)](_0x1a0043);return _0x26660d[_0x653e1c(0xf1)]({'role':_0x653e1c(0x105)}),_0x26660d;}),this[_0xb14a4e(0xb4)]=this[_0xb14a4e(0x94)][_0xb14a4e(0xcf)][_0xb14a4e(0xe4)](_0xb14a4e(0xb4));const _0x2fcbd9=this[_0xb14a4e(0x94)];this[_0xb14a4e(0xc8)]=setInterval(()=>{const _0x177aba=_0xb14a4e;let _0xb872e3;for(const _0x4b3b46 in _0x2fcbd9){const _0x18ea13=_0x4b3b46,_0xfbc9d2=_0x2fcbd9[_0x18ea13];if(_0x177aba(0x101)==_0xfbc9d2||_0x177aba(0xc7)==_0xfbc9d2||_0x177aba(0x10e)==_0xfbc9d2||_0x177aba(0xa6)==_0xfbc9d2||_0x177aba(0x9f)==_0xfbc9d2||_0x177aba(0x9e)==_0xfbc9d2||_0x177aba(0xd9)==_0xfbc9d2){delete _0x2fcbd9[_0x18ea13],_0xb872e3=_0xfbc9d2,clearInterval(this[_0x177aba(0xc8)]),this[_0x177aba(0xc8)]=void 0x0;break;}}_0x177aba(0xc7)==_0xb872e3&&_0x2fcbd9[_0x177aba(0xb6)](_0x177aba(0xb2)),_0x177aba(0x10e)==_0xb872e3&&_0x2fcbd9[_0x177aba(0xb6)](_0x177aba(0xa7)),_0x177aba(0xa6)==_0xb872e3&&_0x2fcbd9[_0x177aba(0xb6)](_0x177aba(0x95)),_0x177aba(0x9f)==_0xb872e3&&_0x2fcbd9[_0x177aba(0xb6)](_0x177aba(0x11e),_0x177aba(0x8f)),_0x177aba(0x9e)==_0xb872e3&&_0x2fcbd9[_0x177aba(0xb6)](_0x177aba(0x128)),_0x177aba(0xd9)==_0xb872e3&&_0x2fcbd9[_0x177aba(0xb6)](_0x177aba(0xe0));},0x3e8);}[_0x2bced6(0xa3)](){const _0x5d8703=_0x2bced6;super[_0x5d8703(0xa3)](),this[_0x5d8703(0xc8)]&&clearInterval(this[_0x5d8703(0xc8)]);}[_0x2bced6(0xbb)](_0x32d5ee='',_0x23c3b1='',_0x4cc62d=_0x2bced6(0x10f)){const _0x111549=_0x2bced6,_0x38a597=this[_0x111549(0x94)],_0x54ff09=_0x38a597[_0x111549(0xab)][_0x111549(0x8d)],_0x49e48e=_0x38a597[_0x111549(0xfa)][_0x111549(0xe4)](_0x46fe16),_0x57fa1e=_0x38a597[_0x111549(0xfa)][_0x111549(0xe4)](_0x1b9c94);_0x49e48e[_0x111549(0xe7)]();const _0x28d017=new j(),_0x56ef9d=new ClipboardEvent(_0x111549(0xc3),{'clipboardData':_0x28d017}),_0xaf2b72=new _0x51d55a(_0x28d017),_0x18e9d7=new _0x5b0780(_0x54ff09,_0x56ef9d,{'dataTransfer':_0xaf2b72});_0x57fa1e[_0x111549(0xfc)](_0x111549(0x103),()=>{const _0x23b082=_0x111549;_0x54ff09[_0x23b082(0x10c)][_0x23b082(0xf6)](_0x23b082(0xc3),_0x18e9d7);}),this[_0x111549(0xd3)]||(this[_0x111549(0x133)](),this[_0x111549(0x116)]=new _0x4cb422(_0x38a597,this[_0x111549(0xa1)][_0x111549(0xb8)],this[_0x111549(0xd3)]));let _0x2fa681=_0xaf2b72[_0x111549(0x86)](_0x111549(0xa2));const _0x3e1e07=_0x38a597[_0x111549(0xe9)][_0x111549(0x10c)][_0x111549(0xce)],_0x218863=Array[_0x111549(0x124)](_0x3e1e07[_0x111549(0xcb)]());0x1===_0x218863[_0x111549(0xdb)]&&_0x218863[0x0][_0x111549(0x9d)]&&!_0x3e1e07[_0x111549(0xe6)]()&&''!==_0x2fa681[_0x111549(0xef)](/ /g,'')[_0x111549(0x98)]()&&(_0x2fa681=_0x111549(0x10a)+_0x2fa681+_0x111549(0xf3)),this[_0x111549(0x116)][_0x111549(0x118)]({'actionId':_0x4cc62d,'query':_0x32d5ee,'htmlContent':_0x2fa681,'label':_0x23c3b1,'mainActionLabel':_0x817f66[_0x38a597[_0x111549(0xe9)][_0x111549(0x10c)][_0x111549(0xce)][_0x111549(0x10b)]?_0x111549(0xc2):_0x111549(0xca)]}),_0x111549(0xba)!==this[_0x111549(0x12c)]['id']?this[_0x111549(0x12c)][_0x111549(0xfe)]({'id':_0x111549(0xba),'icon':_0x501909,'title':_0x18d029(this[_0x111549(0x94)][_0x111549(0xea)],_0x111549(0xe2)),'content':this[_0x111549(0xd3)],'position':_0x29715d[_0x111549(0x131)],'onShow':()=>{const _0x434069=_0x111549;this[_0x434069(0xd3)][_0x434069(0xc6)]();},'onHide':()=>{const _0x3e6991=_0x111549;this[_0x3e6991(0x116)][_0x3e6991(0xb0)](),_0x49e48e[_0x3e6991(0xc9)]();}}):this[_0x111549(0x12c)][_0x111549(0x8d)][_0x111549(0xb7)]||this[_0x111549(0x12c)][_0x111549(0x8d)][_0x111549(0x127)]();}[_0x2bced6(0xf7)](){const _0x293481=_0x2bced6;this[_0x293481(0x12c)][_0x293481(0x87)]();}[_0x2bced6(0xf0)](){const _0x1de508=_0x2bced6,_0x4a8f8e=new Map(),_0x19709a=_0x4f8d9c(this[_0x1de508(0x94)][_0x1de508(0xcf)][_0x1de508(0xe4)](_0x1de508(0x12b)),this[_0x1de508(0x94)][_0x1de508(0xea)]);for(const _0xa89948 of _0x19709a)for(const _0x149115 of _0xa89948[_0x1de508(0xcc)])_0x4a8f8e[_0x1de508(0xf1)](_0x149115['id'],{..._0x149115,'groupId':_0xa89948[_0x1de508(0x93)],'groupLabel':_0xa89948[_0x1de508(0xae)]||_0xa89948[_0x1de508(0x93)]});return _0x4a8f8e;}[_0x2bced6(0xff)](_0x51a096){const _0x46fb36=_0x2bced6,_0xfd84fa=this[_0x46fb36(0x94)],_0x10299b=_0xfd84fa[_0x46fb36(0xcc)][_0x46fb36(0xe4)](_0x46fb36(0x11d)),_0x49919f=new _0x51a096(_0xfd84fa[_0x46fb36(0xea)]);return _0x49919f[_0x46fb36(0xf1)]({'label':_0x18d029(_0xfd84fa[_0x46fb36(0xea)],_0x46fb36(0xe2)),'icon':_0x501909,'isToggleable':!0x0}),_0x49919f[_0x46fb36(0xe3)](_0x46fb36(0x102))['to'](_0x10299b),_0x49919f[_0x46fb36(0xe3)](_0x46fb36(0xd2))['to'](this[_0x46fb36(0x12c)],'id',_0x577d14=>_0x46fb36(0xba)===_0x577d14),this[_0x46fb36(0x109)](_0x49919f,_0x46fb36(0xdd),()=>{const _0x266c52=_0x46fb36;_0x49919f[_0x266c52(0xd2)]?this[_0x266c52(0xf7)]():_0x10299b[_0x266c52(0xdd)]();}),_0x49919f;}[_0x2bced6(0x133)](){const _0x52fb0f=_0x2bced6,_0x136766=this[_0x52fb0f(0x94)][_0x52fb0f(0xfa)][_0x52fb0f(0xe4)](_0x46fe16);this[_0x52fb0f(0xd3)]=new _0x4c283e(this[_0x52fb0f(0x94)][_0x52fb0f(0xea)],this[_0x52fb0f(0xbf)],this[_0x52fb0f(0x94)][_0x52fb0f(0xcf)][_0x52fb0f(0xe4)](_0x52fb0f(0xc1))),this[_0x52fb0f(0xd3)]['on'](_0x52fb0f(0xd5),()=>{const _0x47faf5=_0x52fb0f;this[_0x47faf5(0x12c)][_0x47faf5(0x8d)][_0x47faf5(0xb7)]||this[_0x47faf5(0x12c)][_0x47faf5(0x8d)][_0x47faf5(0x127)]();}),this[_0x52fb0f(0xd3)][_0x52fb0f(0x12f)][_0x52fb0f(0x8b)][_0x52fb0f(0x136)]['on'](_0x52fb0f(0x110),()=>{const _0x197ad2=_0x52fb0f;this[_0x197ad2(0x12c)][_0x197ad2(0x8d)][_0x197ad2(0xb7)]||this[_0x197ad2(0x12c)][_0x197ad2(0x8d)][_0x197ad2(0x127)]();}),this[_0x52fb0f(0x109)](this[_0x52fb0f(0xd3)],_0x52fb0f(0x107),()=>{const _0x25674a=_0x52fb0f;_0x136766[_0x25674a(0xd7)](this[_0x25674a(0x116)][_0x25674a(0x97)]),this[_0x25674a(0xf7)]();}),this[_0x52fb0f(0x109)](this[_0x52fb0f(0xd3)],_0x52fb0f(0x11c),()=>{const _0x559284=_0x52fb0f;_0x136766[_0x559284(0x11c)](this[_0x559284(0x116)][_0x559284(0x97)]),this[_0x559284(0xf7)]();}),this[_0x52fb0f(0x113)]();}[_0x2bced6(0x113)](){const _0x9a9417=_0x2bced6,{locale:_0x5a4b27,ui:{ariaLiveAnnouncer:_0x3ab2a8}}=this[_0x9a9417(0x94)];this[_0x9a9417(0xd3)][_0x9a9417(0x112)]['on'](_0x9a9417(0xbc),(_0x539cb2,_0x363c36,_0x5ae329)=>{const _0x463cd1=_0x9a9417,_0x5e7d6b=this[_0x463cd1(0x116)][_0x463cd1(0x97)];_0x5ae329?_0x3ab2a8[_0x463cd1(0xbe)](_0x18d029(_0x5a4b27,_0x463cd1(0xdc))):_0x5e7d6b&&_0x3ab2a8[_0x463cd1(0xbe)](_0x18d029(_0x5a4b27,_0x463cd1(0xfb),_0x5e7d6b),{'politeness':_0x463cd1(0x122),'isUnsafeHTML':!0x0});}),this[_0x9a9417(0xd3)]['on'](_0x9a9417(0xde),(_0x91da08,_0x1b5834,_0x14be63)=>{const _0x32a941=_0x9a9417;if(_0x14be63){const _0x4b0dd1=this[_0x32a941(0xd3)][_0x32a941(0xd6)][_0x32a941(0xc4)];_0x3ab2a8[_0x32a941(0xbe)](_0x18d029(_0x5a4b27,_0x32a941(0xfd),_0x4b0dd1));}});}[_0x2bced6(0x12a)](_0x4e1b1a){const _0x3f2afc=_0x2bced6,_0x2a8b34=this[_0x3f2afc(0x99)][_0x3f2afc(0xe4)](_0x4e1b1a),_0x443444=this[_0x3f2afc(0x94)],_0x52e4f9=_0x443444[_0x3f2afc(0xe9)][_0x3f2afc(0x10c)][_0x3f2afc(0xce)],_0x3697d0=_0x443444[_0x3f2afc(0xcc)][_0x3f2afc(0xe4)](_0x3f2afc(0x11d)),_0x385d86=_0x443444[_0x3f2afc(0xfa)][_0x3f2afc(0xe4)](_0x46fe16),_0x1234bf=''+(_0x2a8b34[_0x3f2afc(0x93)]!==_0x43bc95?_0x2a8b34[_0x3f2afc(0xae)]+':\x20':'')+_0x2a8b34[_0x3f2afc(0x8e)];if(!0x1!==_0x2a8b34[_0x3f2afc(0xac)]&&_0x52e4f9[_0x3f2afc(0x10b)]){const _0x41ec10=_0x15a633(_0x52e4f9[_0x3f2afc(0x91)]())||_0x443444[_0x3f2afc(0xe9)][_0x3f2afc(0xa5)][_0x3f2afc(0x88)](_0x52e4f9);_0x443444[_0x3f2afc(0xe9)][_0x3f2afc(0x119)](_0x56361b=>{const _0x318a31=_0x3f2afc;_0x56361b[_0x318a31(0xe5)](_0x41ec10,'in');});}_0x385d86[_0x3f2afc(0xe7)](),_0x3697d0[_0x3f2afc(0xdd)](_0x2a8b34[_0x3f2afc(0x11f)],_0x1234bf,_0x3f2afc(0xeb)+_0x4e1b1a);}[_0x2bced6(0x111)](_0x1cc72a,_0xdc4e,_0x48d699,_0x5a2108){const _0x50e48f=_0x2bced6,_0x121193=this[_0x50e48f(0x94)],_0x45eaf1=_0x121193[_0x50e48f(0xea)],_0x4ec231=new _0x4319df(_0x45eaf1),_0x258ad1=Y(_0x121193,_0x48d699)[_0x50e48f(0x106)](_0x20f5e9=>_0x20f5e9[_0x50e48f(0xcc)][_0x50e48f(0xdb)]);0x1===_0x258ad1[_0x50e48f(0xdb)]?this[_0x50e48f(0xd1)]({'command':_0x1cc72a,'commands':_0x258ad1[0x0][_0x50e48f(0xcc)],'parentMenuView':_0xdc4e,'onExecute':_0x5a2108})[_0x50e48f(0xdf)](_0x339426=>_0x4ec231[_0x50e48f(0xd0)][_0x50e48f(0xf4)](_0x339426)):_0x258ad1[_0x50e48f(0xdf)](({groupId:_0x4d9973,groupLabel:_0xe7cbd9,commands:_0x4d5d96})=>{const _0x2abe94=_0x50e48f,_0x4971b2=new _0x2151ac(_0x45eaf1,_0xdc4e),_0x3e54f3=new _0x1e9e4b(_0x45eaf1),_0x3c6e04=new _0x4319df(_0x45eaf1),_0x165cb0=this[_0x2abe94(0xd1)]({'command':_0x1cc72a,'commands':_0x4d5d96,'parentMenuView':_0x3e54f3,'onExecute':_0x5a2108});_0x3e54f3[_0x2abe94(0x108)][_0x2abe94(0xf1)]({'label':_0xe7cbd9||_0x4d9973}),_0x3e54f3[_0x2abe94(0x90)](_0x2abe94(0xdd))['to'](_0xdc4e),_0x3c6e04[_0x2abe94(0xd0)][_0x2abe94(0x8a)](_0x165cb0),_0x3e54f3[_0x2abe94(0x9a)][_0x2abe94(0x115)][_0x2abe94(0xf4)](_0x3c6e04),_0x4971b2[_0x2abe94(0x115)][_0x2abe94(0xf4)](_0x3e54f3),_0x4ec231[_0x2abe94(0xd0)][_0x2abe94(0xf4)](_0x4971b2);}),_0xdc4e[_0x50e48f(0x9a)][_0x50e48f(0x115)][_0x50e48f(0xf4)](_0x4ec231);}[_0x2bced6(0xd1)]({command:_0x565acc,commands:_0x1dba89,parentMenuView:_0x2a3034,onExecute:_0x4cbc31}){const _0x3f5e36=_0x2bced6,_0x3680c5=this[_0x3f5e36(0x94)],_0x14a2ed=_0x3680c5[_0x3f5e36(0xea)];return Y(_0x3680c5,_0x1dba89)[_0x3f5e36(0xed)](_0x27a5d4=>{const _0x4c650f=_0x3f5e36,_0x709153=new _0x2151ac(_0x14a2ed,_0x2a3034),_0x1a6fcf=new _0x1a0043(_0x14a2ed);return _0x1a6fcf[_0x4c650f(0xf1)]({'label':_0x27a5d4[_0x4c650f(0x8e)]}),_0x1a6fcf[_0x4c650f(0x90)](_0x4c650f(0xdd))['to'](_0x2a3034),_0x1a6fcf['on'](_0x4c650f(0xdd),()=>_0x4cbc31(_0x27a5d4['id'])),_0x1a6fcf[_0x4c650f(0xe3)](_0x4c650f(0x102))['to'](_0x565acc,_0x4c650f(0x126),_0x361cca=>_0x361cca[_0x4c650f(0xee)](_0x27a5d4['id'])),_0x709153[_0x4c650f(0x115)][_0x4c650f(0xf4)](_0x1a6fcf),_0x709153;});}}function X(_0x2403fb,_0x48bb8b){const _0x3070ba=_0x2bced6;return void 0x0!==_0x2403fb[_0x3070ba(0xa4)]&&void 0x0===_0x48bb8b[_0x3070ba(0xa4)]?0x1:void 0x0===_0x2403fb[_0x3070ba(0xa4)]&&void 0x0!==_0x48bb8b[_0x3070ba(0xa4)]?-0x1:void 0x0!==_0x2403fb[_0x3070ba(0xa4)]&&void 0x0!==_0x48bb8b[_0x3070ba(0xa4)]?_0x2403fb[_0x3070ba(0xa4)]-_0x48bb8b[_0x3070ba(0xa4)]:0x0;}function Y(_0x1f8f4f,_0x37df25){const _0x4b54aa=_0x2bced6;_0x37df25[_0x4b54aa(0xb1)](X);const _0x11d9ba={},_0x3b6460=[];for(const _0x2fd551 of _0x37df25)if(void 0x0!==_0x2fd551[_0x4b54aa(0xa4)]){if(_0x2fd551[_0x4b54aa(0xa4)]in _0x11d9ba)throw new _0x5e632e(_0x4b54aa(0xcd),_0x1f8f4f,{'conflictingDefinitions':[_0x2fd551,_0x11d9ba[_0x2fd551[_0x4b54aa(0xa4)]]]});_0x11d9ba[_0x2fd551[_0x4b54aa(0xa4)]]=_0x2fd551,_0x3b6460[_0x4b54aa(0x10d)](_0x2fd551[_0x4b54aa(0xa4)],0x0,_0x2fd551);}else _0x3b6460[_0x4b54aa(0x104)](_0x2fd551);return _0x3b6460;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3d42(_0x254fe3,_0x245afe){var _0x1b7600=_0x1b76();return _0x3d42=function(_0x3d42c8,_0x1a67cb){_0x3d42c8=_0x3d42c8-0x131;var _0x57c107=_0x1b7600[_0x3d42c8];return _0x57c107;},_0x3d42(_0x254fe3,_0x245afe);}(function(_0x45feb1,_0x2b50e6){var _0x559e6a=_0x3d42,_0x105b9c=_0x45feb1();while(!![]){try{var _0x42970b=-parseInt(_0x559e6a(0x13a))/0x1+-parseInt(_0x559e6a(0x139))/0x2*(-parseInt(_0x559e6a(0x13b))/0x3)+parseInt(_0x559e6a(0x133))/0x4*(-parseInt(_0x559e6a(0x132))/0x5)+-parseInt(_0x559e6a(0x138))/0x6+parseInt(_0x559e6a(0x137))/0x7*(parseInt(_0x559e6a(0x136))/0x8)+-parseInt(_0x559e6a(0x134))/0x9*(-parseInt(_0x559e6a(0x131))/0xa)+parseInt(_0x559e6a(0x135))/0xb*(parseInt(_0x559e6a(0x13c))/0xc);if(_0x42970b===_0x2b50e6)break;else _0x105b9c['push'](_0x105b9c['shift']());}catch(_0xf08676){_0x105b9c['push'](_0x105b9c['shift']());}}}(_0x1b76,0x30481));import{CKEditorError as _0x3e49da}from'ckeditor5/src/utils.js';function _0x1b76(){var _0x4fcc92=['90wlKoeT','66KRDWGb','80RqfEHI','248647QlvOAx','329718NsvZfX','24488aPoXiO','358670jtgTlv','3HnfsNB','75288PyJMVr','356710gLVKJB','94015KnNtXU','32dBxAKT'];_0x1b76=function(){return _0x4fcc92;};return _0x1b76();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4cf2e4=_0x343e;(function(_0x236afd,_0x1b168e){const _0x3a8b00=_0x343e,_0x44f37e=_0x236afd();while(!![]){try{const _0x27d589=parseInt(_0x3a8b00(0xd1))/0x1+parseInt(_0x3a8b00(0xe3))/0x2+parseInt(_0x3a8b00(0x10b))/0x3*(-parseInt(_0x3a8b00(0xee))/0x4)+parseInt(_0x3a8b00(0xdf))/0x5*(-parseInt(_0x3a8b00(0xf2))/0x6)+parseInt(_0x3a8b00(0xce))/0x7+parseInt(_0x3a8b00(0xfb))/0x8*(-parseInt(_0x3a8b00(0xd0))/0x9)+parseInt(_0x3a8b00(0x11d))/0xa;if(_0x27d589===_0x1b168e)break;else _0x44f37e['push'](_0x44f37e['shift']());}catch(_0x5226bb){_0x44f37e['push'](_0x44f37e['shift']());}}}(_0x2c9d,0x537ac));import{ObservableMixin as _0xdace80}from'ckeditor5/src/utils.js';import{AIRequestError as _0x52086f}from'../adapters/aiadapter.js';import{Matcher as _0xf9eccc,ViewUpcastWriter as _0x22040f}from'ckeditor5/src/engine.js';function _0x343e(_0x157528,_0x45b082){const _0x2c9dc8=_0x2c9d();return _0x343e=function(_0x343e07,_0x28273f){_0x343e07=_0x343e07-0xbe;let _0x3b614e=_0x2c9dc8[_0x343e07];return _0x3b614e;},_0x343e(_0x157528,_0x45b082);}const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x2c9d(){const _0x5dab7a=['stringify','set','clear','isProcessing','match','_parseAndNormalizeContent','destroy','remove','processor','config','_stripMarkdownSyntax','initialContext','catch','createElement','2910866YJpvAS','get','119241eneygY','567755pHLzlH','setContentOf','currentResponse','mainAction','<h1></h1>','startsWith','prompt','body','htmlProcessor','childNodes','div','abort','_isH1TagSupportEnabled','message','5iojRVP','previousLabel','trim','submitPrompt','1336930GDbQVl','listenTo','custom','ELEMENT_NODE','viewToDom','stopListening','_domParser','ai.assistant.preserveComments','serializeToString','querySelector','exec','8KyyNzK','length','tryAgainEvent','isRendered','2995806CenflK','```','handleError','set:currentContext','endsWith','render','rename','editor','toView','328YEEDQN','parseFromString','push','view','then','substring','editing','reset','markers','_handleQuery','_normalizeResponseHeadings','nodeType','_xmlSerializer','stopProcessing','makeRequest','_sanitizeHTML','759048DVKoHz','domConverter','element','previousActionId','textAdapter','toModel','reverse','text/html','startProcessing','data','name','currentContext','finishProcessing','finally','_sanitizationContainer','previousContext','from','previousQuery','2384160fppFGt','updateView','```html','innerHTML','document','value','once'];_0x2c9d=function(){return _0x5dab7a;};return _0x2c9d();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xdace80(){[_0x4cf2e4(0xf9)];[_0x4cf2e4(0x10f)];[_0x4cf2e4(0xfe)];[_0x4cf2e4(0x119)];[_0x4cf2e4(0xe9)];[_0x4cf2e4(0x107)];constructor(_0x87fc00,_0x4a2314,_0x1e690f){const _0x3c923f=_0x4cf2e4;super(),this[_0x3c923f(0xf9)]=_0x87fc00,this[_0x3c923f(0x10f)]=_0x4a2314,this[_0x3c923f(0x119)]=document[_0x3c923f(0xcd)](_0x3c923f(0xdb)),this[_0x3c923f(0xe9)]=new DOMParser(),this[_0x3c923f(0x107)]=new XMLSerializer(),this[_0x3c923f(0xfe)]=_0x1e690f,this[_0x3c923f(0xc1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3c923f(0xf5),(_0x5172fa,_0x216054,_0x334467)=>{const _0x57c781=_0x3c923f;this[_0x57c781(0xfe)][_0x57c781(0xbe)]=this[_0x57c781(0x10a)](_0x334467);}),this[_0x3c923f(0xe4)](this[_0x3c923f(0xfe)],_0x3c923f(0xe2),(_0x3ed3e9,_0x385c5e)=>{const _0x359573=_0x3c923f,_0x30b8b5=this[_0x359573(0x116)]||this[_0x359573(0xcb)];this[_0x359573(0x104)](_0x385c5e,_0x30b8b5,_0x359573(0xe5));}),this[_0x3c923f(0xe4)](this[_0x3c923f(0xfe)],_0x3c923f(0xf0),()=>{const _0x2ab03f=_0x3c923f;this[_0x2ab03f(0xfe)][_0x2ab03f(0xd7)]=this[_0x2ab03f(0xe0)],this[_0x2ab03f(0x104)](this[_0x2ab03f(0x11c)],this[_0x2ab03f(0x11a)],this[_0x2ab03f(0x10e)],this[_0x2ab03f(0xe0)]);}),this[_0x3c923f(0xe4)](this[_0x3c923f(0xfe)],_0x3c923f(0x108),()=>{const _0xebd393=_0x3c923f;this[_0xebd393(0x108)]();});}[_0x4cf2e4(0xc6)](){const _0x46bdf5=_0x4cf2e4;this[_0x46bdf5(0xe8)]();}async[_0x4cf2e4(0x11e)]({actionId:_0x3a2d42,query:_0x4702d7,htmlContent:_0x2ffe55,label:_0x18f2cb,mainActionLabel:_0x293d8c}){const _0x64bc4e=_0x4cf2e4;this[_0x64bc4e(0xfe)][_0x64bc4e(0xd7)]=_0x18f2cb,this[_0x64bc4e(0xfe)][_0x64bc4e(0xd4)]=_0x293d8c,this[_0x64bc4e(0xcb)]=_0x2ffe55,_0x4702d7&&(this[_0x64bc4e(0xfe)][_0x64bc4e(0xf1)]?this[_0x64bc4e(0x104)](_0x4702d7,_0x2ffe55,_0x3a2d42,_0x18f2cb):this[_0x64bc4e(0xfe)][_0x64bc4e(0xbf)](_0x64bc4e(0xf7),()=>{const _0x41bcaa=_0x64bc4e;this[_0x41bcaa(0x104)](_0x4702d7,_0x2ffe55,_0x3a2d42,_0x18f2cb);}));}[_0x4cf2e4(0x108)](){const _0x3d7261=_0x4cf2e4;this[_0x3d7261(0xc3)]&&(this[_0x3d7261(0xc3)]=!0x1,this[_0x3d7261(0xfe)][_0x3d7261(0x117)](),this[_0x3d7261(0x10f)][_0x3d7261(0xdc)]());}[_0x4cf2e4(0x102)](){const _0x37e9dc=_0x4cf2e4;this[_0x37e9dc(0xcb)]='',this[_0x37e9dc(0x116)]='',this[_0x37e9dc(0xd3)]='',this[_0x37e9dc(0x11a)]='',this[_0x37e9dc(0x11c)]='',this[_0x37e9dc(0xe0)]='',this[_0x37e9dc(0x10e)]=void 0x0,this[_0x37e9dc(0xfe)][_0x37e9dc(0x102)](),this[_0x37e9dc(0x108)]();}async[_0x4cf2e4(0x104)](_0x531a70,_0x2eb113,_0x2919ac,_0x154c66){const _0x5a396f=_0x4cf2e4;return this[_0x5a396f(0xc3)]=!0x0,this[_0x5a396f(0xfe)][_0x5a396f(0x113)](),this[_0x5a396f(0x11a)]=_0x2eb113,this[_0x5a396f(0x11c)]=_0x531a70,this[_0x5a396f(0xe0)]=_0x154c66||_0x531a70,this[_0x5a396f(0x10e)]=_0x2919ac,new Promise(_0x33b3ce=>{const _0x48ef1d=_0x5a396f;this[_0x48ef1d(0x10f)][_0x48ef1d(0x109)]({'query':_0x531a70,'context':_0x2eb113,'onData':_0x68e4a0=>{const _0x151612=_0x48ef1d;this[_0x151612(0xd3)]=_0x68e4a0,this[_0x151612(0x116)]=this[_0x151612(0xc5)](this[_0x151612(0xd3)]);},'actionId':_0x2919ac})[_0x48ef1d(0xff)](()=>{const _0x1f3b87=_0x48ef1d;!this[_0x1f3b87(0x116)]&&this[_0x1f3b87(0xd3)]&&(this[_0x1f3b87(0x116)]=this[_0x1f3b87(0xc5)](this[_0x1f3b87(0xd3)],!0x0));})[_0x48ef1d(0xcc)](_0x3a80e8=>{const _0x477714=_0x48ef1d;_0x3a80e8 instanceof _0x52086f?this[_0x477714(0xfe)][_0x477714(0xf4)](_0x3a80e8[_0x477714(0xde)]):this[_0x477714(0xfe)][_0x477714(0xf4)](),_0x33b3ce();})[_0x48ef1d(0x118)](()=>{const _0x59ca9d=_0x48ef1d;this[_0x59ca9d(0x108)](),_0x33b3ce();});});}[_0x4cf2e4(0xc5)](_0x53c88f,_0x3b9c69=!0x1){const _0x1402b2=_0x4cf2e4,_0x12bd11=hs[_0x1402b2(0xed)](_0x53c88f);_0x53c88f=_0x12bd11?_0x53c88f[_0x1402b2(0x100)](_0x12bd11[0x1][_0x1402b2(0xef)]):_0x53c88f[_0x1402b2(0xef)]<0x64&&!_0x3b9c69?'':this[_0x1402b2(0xca)](_0x53c88f);const _0x2bfec3=this[_0x1402b2(0xe9)][_0x1402b2(0xfc)](_0x53c88f,_0x1402b2(0x112));if(_0x12bd11){const _0x218d0b=Array[_0x1402b2(0x11b)](_0x2bfec3[_0x1402b2(0xd8)][_0x1402b2(0xda)]);_0x218d0b[_0x1402b2(0x111)]();for(const _0x2a8764 of _0x218d0b){if(_0x2a8764[_0x1402b2(0x106)]==Node[_0x1402b2(0xe6)])break;_0x2a8764[_0x1402b2(0xc7)]();}}const _0x3072b2=this[_0x1402b2(0xf9)][_0x1402b2(0x114)][_0x1402b2(0xc8)][_0x1402b2(0xfa)](this[_0x1402b2(0x107)][_0x1402b2(0xeb)](_0x2bfec3[_0x1402b2(0xd8)]));this[_0x1402b2(0xdd)]()||this[_0x1402b2(0x105)](_0x3072b2);const _0x355059=this[_0x1402b2(0xf9)][_0x1402b2(0xc9)][_0x1402b2(0xcf)](_0x1402b2(0xea)),_0x12514e=this[_0x1402b2(0xf9)][_0x1402b2(0x114)][_0x1402b2(0x110)](_0x3072b2);return _0x355059||_0x12514e[_0x1402b2(0x103)][_0x1402b2(0xc2)](),this[_0x1402b2(0xf9)][_0x1402b2(0x114)][_0x1402b2(0xc0)](_0x12514e);}[_0x4cf2e4(0x105)](_0x5bb394){const _0x3dc829=_0x4cf2e4,_0x30f23b=new _0x22040f(this[_0x3dc829(0xf9)][_0x3dc829(0x101)][_0x3dc829(0xfe)][_0x3dc829(0x121)]),_0x1b283a=new _0xf9eccc({'name':/^h[1-5]$/}),_0x361726=[];let _0x1943b7=!0x1;for(const _0x52ec74 of _0x5bb394)_0x52ec74['is'](_0x3dc829(0x10d))&&_0x1b283a[_0x3dc829(0xc4)](_0x52ec74)&&(_0x361726[_0x3dc829(0xfd)](_0x52ec74),'h1'==_0x52ec74[_0x3dc829(0x115)]&&(_0x1943b7=!0x0));if(_0x1943b7){for(const _0x38d5da of _0x361726)_0x30f23b[_0x3dc829(0xf8)]('h'+(parseInt(_0x38d5da[_0x3dc829(0x115)][0x1])+0x1),_0x38d5da);}}[_0x4cf2e4(0xdd)](){const _0x46da7f=_0x4cf2e4,{data:_0x15bbe1,editing:_0x2ebc58}=this[_0x46da7f(0xf9)],_0x356cc6=_0x15bbe1[_0x46da7f(0xd9)][_0x46da7f(0xfa)](_0x46da7f(0xd5)),_0x11610e=_0x15bbe1[_0x46da7f(0xfa)](_0x15bbe1[_0x46da7f(0x110)](_0x356cc6));return!!_0x2ebc58[_0x46da7f(0xfe)][_0x46da7f(0x10c)][_0x46da7f(0xe7)](_0x11610e)[_0x46da7f(0xec)]('h1');}[_0x4cf2e4(0x10a)](_0x1cdb72){const _0x331cbc=_0x4cf2e4;return this[_0x331cbc(0xf9)][_0x331cbc(0x101)][_0x331cbc(0xfe)][_0x331cbc(0x10c)][_0x331cbc(0xd2)](this[_0x331cbc(0x119)],_0x1cdb72),this[_0x331cbc(0x119)][_0x331cbc(0x120)];}[_0x4cf2e4(0xca)](_0x3f2774){const _0x1231f6=_0x4cf2e4,_0x33da21=_0x3f2774[_0x1231f6(0xe1)]();return _0x33da21[_0x1231f6(0xd6)](_0x1231f6(0x11f))?_0x33da21[_0x1231f6(0xf6)](_0x1231f6(0xf3))?_0x33da21[_0x1231f6(0x100)](0x7,_0x33da21[_0x1231f6(0xef)]-0x3):_0x33da21[_0x1231f6(0x100)](0x7):_0x3f2774;}}
|