@ckeditor/ckeditor5-ai 47.7.3 → 47.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +16 -16
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +21 -14
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1cbd(_0x8ba503,_0x1ae3b1){var _0xbdc9a9=_0xbdc9();return _0x1cbd=function(_0x1cbd42,_0x140f63){_0x1cbd42=_0x1cbd42-0x94;var _0x321008=_0xbdc9a9[_0x1cbd42];return _0x321008;},_0x1cbd(_0x8ba503,_0x1ae3b1);}function _0xbdc9(){var _0x50f52d=['aiadapter-text-adapter-not-set','textAdapter','afterInit','isPremiumPlugin','AIAdapter','1436031nQcAAT','255206IHqsJn','pluginName','name','58155BTGswU','AIRequestError','695255JHNIUm','24tGDjLQ','28TxvyYR','29646660dDoesN','1619504OtnCiz','10rXYkFc','isOfficialPlugin','3781788icAbSn'];_0xbdc9=function(){return _0x50f52d;};return _0xbdc9();}var _0x5eaf3d=_0x1cbd;(function(_0x44e04d,_0x2e470d){var _0x4977a5=_0x1cbd,_0x33b9d4=_0x44e04d();while(!![]){try{var _0x31aa6a=-parseInt(_0x4977a5(0xa1))/0x1+-parseInt(_0x4977a5(0x98))/0x2*(parseInt(_0x4977a5(0xa4))/0x3)+parseInt(_0x4977a5(0x94))/0x4*(-parseInt(_0x4977a5(0xa6))/0x5)+-parseInt(_0x4977a5(0x9a))/0x6+parseInt(_0x4977a5(0x95))/0x7*(-parseInt(_0x4977a5(0x97))/0x8)+parseInt(_0x4977a5(0xa0))/0x9+parseInt(_0x4977a5(0x96))/0xa;if(_0x31aa6a===_0x2e470d)break;else _0x33b9d4['push'](_0x33b9d4['shift']());}catch(_0x5d9a0b){_0x33b9d4['push'](_0x33b9d4['shift']());}}}(_0xbdc9,0x7984a));import{Plugin as _0x304d6c}from'ckeditor5/src/core.js';import{CKEditorError as _0x45773f}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x304d6c{static get[_0x5eaf3d(0xa2)](){var _0x525e69=_0x5eaf3d;return _0x525e69(0x9f);}static get[_0x5eaf3d(0x99)](){return!0x0;}static get[_0x5eaf3d(0x9e)](){return!0x0;}[_0x5eaf3d(0x9d)](){var _0x1cf5de=_0x5eaf3d;if(!this[_0x1cf5de(0x9c)])throw new _0x45773f(_0x1cf5de(0x9b),null);}}export class AIRequestError extends Error{constructor(_0x30a8b3){var _0x56f7db=_0x5eaf3d;super(_0x30a8b3),this[_0x56f7db(0xa3)]=_0x56f7db(0xa5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xbdd2(){const _0x578ea0=['reject','3325256HwKcIX','object','AbortError','error','_prepareRequestParameters','init','abort','locale','1623603yKpdIZ','_prepareRequestHeaders','signal','12BtCYym','4670IkasZB','26UPNhSq','textAdapter','editor','AI_ERROR_GET_HEADERS','resolve','aborted','349664dNmIvg','get','aitextadapter-send-request-failed','application/json','12195LsYQAB','47323WNksuG','sendRequest','name','requires','assign','makeRequest','catch','2006285zEhwTc','54NHqDUW','179921MUrszl','4IRhVmA','plugins','AI_ERROR_GET_PARAMETERS','abortController'];_0xbdd2=function(){return _0x578ea0;};return _0xbdd2();}const _0x34c4b2=_0x100a;function _0x100a(_0x396ba7,_0x56e053){const _0xbdd238=_0xbdd2();return _0x100a=function(_0x100ad5,_0x5b6cc0){_0x100ad5=_0x100ad5-0x9e;let _0x4ac07d=_0xbdd238[_0x100ad5];return _0x4ac07d;},_0x100a(_0x396ba7,_0x56e053);}(function(_0x1007d6,_0x248df5){const _0x2a78db=_0x100a,_0x151cc7=_0x1007d6();while(!![]){try{const _0x474ffe=-parseInt(_0x2a78db(0xaa))/0x1*(parseInt(_0x2a78db(0x9f))/0x2)+parseInt(_0x2a78db(0xc1))/0x3+-parseInt(_0x2a78db(0xb4))/0x4*(-parseInt(_0x2a78db(0xb1))/0x5)+parseInt(_0x2a78db(0xb2))/0x6*(-parseInt(_0x2a78db(0xb3))/0x7)+-parseInt(_0x2a78db(0xa5))/0x8+parseInt(_0x2a78db(0xa9))/0x9*(parseInt(_0x2a78db(0x9e))/0xa)+parseInt(_0x2a78db(0xb9))/0xb*(-parseInt(_0x2a78db(0xc4))/0xc);if(_0x474ffe===_0x248df5)break;else _0x151cc7['push'](_0x151cc7['shift']());}catch(_0x376e0b){_0x151cc7['push'](_0x151cc7['shift']());}}}(_0xbdd2,0x5d6f9));import{Plugin as _0x184335}from'ckeditor5/src/core.js';import{CKEditorError as _0xa19c49}from'ckeditor5/src/utils.js';import{AIAdapter as _0x4f608b,AIRequestError as _0x5a86fb}from'./aiadapter.js';import{getTranslation as _0x39b50a}from'../utils/common-translations.js';export class AITextAdapter extends _0x184335{[_0x34c4b2(0xb7)];static get[_0x34c4b2(0xad)](){return[_0x4f608b];}constructor(_0x4826ac){const _0x5c5467=_0x34c4b2;super(_0x4826ac),this[_0x5c5467(0xb7)]=new AbortController();}[_0x34c4b2(0xbe)](){const _0x30a256=_0x34c4b2;this[_0x30a256(0xa1)][_0x30a256(0xb5)][_0x30a256(0xa6)](_0x4f608b)[_0x30a256(0xa0)]=this;}[_0x34c4b2(0xbf)](){const _0x4f3780=_0x34c4b2;this[_0x4f3780(0xb7)][_0x4f3780(0xc3)][_0x4f3780(0xa4)]||(this[_0x4f3780(0xb7)][_0x4f3780(0xbf)](),this[_0x4f3780(0xb7)]=new AbortController());}async[_0x34c4b2(0xaf)](_0x59cb09){const _0x5523de=_0x34c4b2;return this[_0x5523de(0xab)](_0x59cb09)[_0x5523de(0xb0)](_0x19018d=>{const _0x4a3fb9=_0x5523de;if(_0x19018d instanceof _0x5a86fb)return Promise[_0x4a3fb9(0xb8)](_0x19018d);if(_0x4a3fb9(0xbb)==_0x19018d[_0x4a3fb9(0xac)])return Promise[_0x4a3fb9(0xa3)]();throw console[_0x4a3fb9(0xbc)](_0x19018d),new _0xa19c49(_0x4a3fb9(0xa7),null);});}async[_0x34c4b2(0xc2)](_0x27d8dc,_0x535006){const _0xa02683=_0x34c4b2,_0x2f528e=this[_0xa02683(0xa1)][_0xa02683(0xc0)],_0x2760bd={'Content-Type':_0xa02683(0xa8)};if(_0xa02683(0xba)==typeof _0x27d8dc)Object[_0xa02683(0xae)](_0x2760bd,_0x27d8dc);else{if(_0x27d8dc)try{const _0x3bce5a=await _0x27d8dc(_0x535006);Object[_0xa02683(0xae)](_0x2760bd,_0x3bce5a);}catch{return Promise[_0xa02683(0xb8)](new _0x5a86fb(_0x39b50a(_0x2f528e,_0xa02683(0xa2))));}}return _0x2760bd;}async[_0x34c4b2(0xbd)](_0x2a56ec,_0x4cb8bc){const _0x3c5acf=_0x34c4b2,_0x4f6be1=this[_0x3c5acf(0xa1)][_0x3c5acf(0xc0)];if(_0x3c5acf(0xba)==typeof _0x2a56ec)return _0x2a56ec;try{return await _0x2a56ec(_0x4cb8bc);}catch{return Promise[_0x3c5acf(0xb8)](new _0x5a86fb(_0x39b50a(_0x4f6be1,_0x3c5acf(0xb6))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xbbb484=_0x1b71;(function(_0x5cb975,_0x1c2c77){var _0x46b63d=_0x1b71,_0x19c406=_0x5cb975();while(!![]){try{var _0x598f35=parseInt(_0x46b63d(0x1e7))/0x1+parseInt(_0x46b63d(0x1eb))/0x2+parseInt(_0x46b63d(0x1f1))/0x3+parseInt(_0x46b63d(0x1ec))/0x4+-parseInt(_0x46b63d(0x1ee))/0x5+-parseInt(_0x46b63d(0x1e9))/0x6+-parseInt(_0x46b63d(0x1f2))/0x7*(parseInt(_0x46b63d(0x1f0))/0x8);if(_0x598f35===_0x1c2c77)break;else _0x19c406['push'](_0x19c406['shift']());}catch(_0x6534ad){_0x19c406['push'](_0x19c406['shift']());}}}(_0x4c44,0x4f25a));import{AITextAdapter as _0x3e2a2b}from'./aitextadapter.js';function _0x1b71(_0x28522c,_0x1c89c9){var _0x4c44e0=_0x4c44();return _0x1b71=function(_0x1b7157,_0x21632b){_0x1b7157=_0x1b7157-0x1e6;var _0x54e562=_0x4c44e0[_0x1b7157];return _0x54e562;},_0x1b71(_0x28522c,_0x1c89c9);}import{AIRequestError as _0x4ad74a}from'./aiadapter.js';import{getTranslation as _0x339cb3}from'../utils/common-translations.js';import{logWarning as _0x21e13a,logError as _0x8cbb58}from'ckeditor5/src/utils.js';function _0x4c44(){var _0x19de23=['pluginName','init','495593ksTKuZ','editor','2430558uaGWiB','AWSTextAdapter','458246gSaujO','2015536clBAna','AI_ERROR_AWS_NOT_SUPPORTED','1100180tfVZqr','ai-aws-adapter-not-supported','3290416CFnkaQ','396051TQiHVw','7lREMsu','sendRequest','locale'];_0x4c44=function(){return _0x19de23;};return _0x4c44();}export class AWSTextAdapter extends _0x3e2a2b{static get[_0xbbb484(0x1f5)](){var _0x3e3a6c=_0xbbb484;return _0x3e3a6c(0x1ea);}[_0xbbb484(0x1e6)](){var _0xfab87=_0xbbb484;super[_0xfab87(0x1e6)](),_0x21e13a(_0xfab87(0x1ef));}async[_0xbbb484(0x1f3)](_0x5b0af2){var _0x517d80=_0xbbb484;throw _0x8cbb58(_0x517d80(0x1ef)),new _0x4ad74a(_0x339cb3(this[_0x517d80(0x1e8)][_0x517d80(0x1f4)],_0x517d80(0x1ed)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x558aa3=_0x510d;(function(_0x2d5f95,_0x45293d){const _0x4fdd8d=_0x510d,_0x173c98=_0x2d5f95();while(!![]){try{const _0x4aca06=parseInt(_0x4fdd8d(0xa3))/0x1+parseInt(_0x4fdd8d(0xa8))/0x2*(parseInt(_0x4fdd8d(0xc0))/0x3)+parseInt(_0x4fdd8d(0xda))/0x4+parseInt(_0x4fdd8d(0xb6))/0x5*(-parseInt(_0x4fdd8d(0xa7))/0x6)+parseInt(_0x4fdd8d(0xd3))/0x7*(-parseInt(_0x4fdd8d(0xc5))/0x8)+parseInt(_0x4fdd8d(0xad))/0x9+-parseInt(_0x4fdd8d(0xd5))/0xa;if(_0x4aca06===_0x45293d)break;else _0x173c98['push'](_0x173c98['shift']());}catch(_0x2a9299){_0x173c98['push'](_0x173c98['shift']());}}}(_0x594e,0x79dc1));import{AITextAdapter as _0x10dd6d}from'./aitextadapter.js';function _0x510d(_0x4876ab,_0x522263){const _0x594e7c=_0x594e();return _0x510d=function(_0x510d38,_0x17498d){_0x510d38=_0x510d38-0x9c;let _0x2337fa=_0x594e7c[_0x510d38];return _0x2337fa;},_0x510d(_0x4876ab,_0x522263);}import{AIRequestError as _0x5de019}from'./aiadapter.js';import{getTranslation as _0xc8debe}from'../utils/common-translations.js';function _0x594e(){const _0x52c753=['abortController','config','3730012qmTfjw','OpenAITextAdapter','Instruction:\x0a','_apiUrl','data:\x20','[DONE]','gpt-4o','read','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.','ai.assistant.adapter.openAI.requestHeaders','AI_ERROR_MODERATION','https://api.openai.com/v1/chat/completions','text','resolve','locale','147875LvkKVH','join','body','_requestHeaders','2592606pYpWZz','302lpHEWp','define','choices','map','replace','4787334DuLVDt','context_length_exceeded','decode','parse','stringify','ai.assistant.adapter.openAI.requestParameters','reject','signal','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','10ZYHybz','_readStaticResponse','AI_ERROR_CONTEXT_LENGTH','includes','split','delta','system','_prepareRequestParameters','content','json','12783tCZWyN','getReader','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.','stream','POST','44808bLZFkn','user','message','length','pluginName','_cleanUpData','_isBufferIncomplete','Moderation','sendRequest','get','filter','_readStreamableResponse','editor','prepareMessages','735UdzesL','_prepareRequestHeaders','3042710ebvzcH','ai.assistant.adapter.openAI.apiUrl','_requestParameters'];_0x594e=function(){return _0x52c753;};return _0x594e();}export class OpenAITextAdapter extends _0x10dd6d{[_0x558aa3(0xdd)];[_0x558aa3(0xa6)];[_0x558aa3(0xd7)];static get[_0x558aa3(0xc9)](){const _0x479775=_0x558aa3;return _0x479775(0xdb);}constructor(_0x356e4d){const _0x477419=_0x558aa3;super(_0x356e4d),_0x356e4d[_0x477419(0xd9)][_0x477419(0xa9)](_0x477419(0xd6),_0x477419(0x9f)),_0x356e4d[_0x477419(0xd9)][_0x477419(0xce)](_0x477419(0xb2))||_0x356e4d[_0x477419(0xd9)][_0x477419(0xa9)](_0x477419(0xb2),{'model':_0x477419(0xe0),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x477419(0xdd)]=_0x356e4d[_0x477419(0xd9)][_0x477419(0xce)](_0x477419(0xd6)),this[_0x477419(0xa6)]=_0x356e4d[_0x477419(0xd9)][_0x477419(0xce)](_0x477419(0x9d))||{},this[_0x477419(0xd7)]=_0x356e4d[_0x477419(0xd9)][_0x477419(0xce)](_0x477419(0xb2));}async[_0x558aa3(0xcd)]({query:_0xeab8c,context:_0x492e2a,onData:_0x791435,actionId:_0xb7f22a}){const _0x1278ed=_0x558aa3,_0x41e20a=this[_0x1278ed(0xd1)][_0x1278ed(0xa2)],_0x218197=await this[_0x1278ed(0xd2)](_0xeab8c,_0x492e2a,_0xb7f22a),_0x857f2a=await this[_0x1278ed(0xd4)](this[_0x1278ed(0xa6)],_0xb7f22a),_0x5c2188=await this[_0x1278ed(0xbd)](this[_0x1278ed(0xd7)],_0xb7f22a),_0x4f54c4={'messages':_0x218197,..._0x5c2188},_0x893e91={'method':_0x1278ed(0xc4),'headers':_0x857f2a,'body':JSON[_0x1278ed(0xb1)](_0x4f54c4),'signal':this[_0x1278ed(0xd8)][_0x1278ed(0xb4)]},_0x280a85=await fetch(this[_0x1278ed(0xdd)],_0x893e91);if(_0x280a85['ok'])return _0x5c2188[_0x1278ed(0xc3)]?await this[_0x1278ed(0xd0)](_0x280a85,_0x791435):await this[_0x1278ed(0xb7)](_0x280a85,_0x791435),Promise[_0x1278ed(0xa1)]();{const _0x18252e=await _0x280a85[_0x1278ed(0xa0)]();return _0x18252e[_0x1278ed(0xb9)](_0x1278ed(0xae))?Promise[_0x1278ed(0xb3)](new _0x5de019(_0xc8debe(_0x41e20a,_0x1278ed(0xb8)))):_0x18252e[_0x1278ed(0xb9)](_0x1278ed(0xcc))?Promise[_0x1278ed(0xb3)](new _0x5de019(_0xc8debe(_0x41e20a,_0x1278ed(0x9e)))):Promise[_0x1278ed(0xb3)](new Error(_0x18252e));}}async[_0x558aa3(0xd2)](_0x359d60,_0x446f80,_0x56cc0e){const _0x5ce75c=_0x558aa3;let _0x218476,_0x2eef78;return _0x446f80?(_0x218476=_0x5ce75c(0x9c),_0x2eef78=_0x5ce75c(0xdc)+_0x359d60+_0x5ce75c(0xb5)+_0x446f80):(_0x218476=_0x5ce75c(0xc2),_0x2eef78=_0x359d60),[{'role':_0x5ce75c(0xbc),'content':_0x218476},{'role':_0x5ce75c(0xc6),'content':_0x2eef78}];}async[_0x558aa3(0xd0)](_0x1a8e80,_0x32952b){const _0x3787c9=_0x558aa3,_0x5b63fd=_0x1a8e80[_0x3787c9(0xa5)][_0x3787c9(0xc1)](),_0xea1b93=new TextDecoder();let _0x12c679='',_0x378ea8='',_0x862c3a='',_0xe659b6=!0x1;for(;!_0xe659b6;){const {done:_0x3e4b4b,value:_0x5a26db}=await _0x5b63fd[_0x3787c9(0xe1)](),_0xa17fe4=_0x12c679+_0xea1b93[_0x3787c9(0xaf)](_0x5a26db);let _0x2eae0d='';_0xe659b6=_0x3e4b4b;try{_0x2eae0d=this[_0x3787c9(0xca)](_0xa17fe4),_0x12c679='';}catch{_0x12c679=_0xa17fe4;continue;}_0x378ea8+=_0x2eae0d,!_0xe659b6&&this[_0x3787c9(0xcb)](_0x378ea8)||_0x378ea8&&(_0x862c3a+=_0x378ea8,_0x378ea8='',_0x32952b(_0x862c3a));}return Promise[_0x3787c9(0xa1)]();}async[_0x558aa3(0xb7)](_0x3b7fa1,_0x10ae75){const _0x2d6762=_0x558aa3;return _0x10ae75((await _0x3b7fa1[_0x2d6762(0xbf)]())[_0x2d6762(0xaa)][0x0][_0x2d6762(0xc7)][_0x2d6762(0xbe)]),Promise[_0x2d6762(0xa1)]();}[_0x558aa3(0xcb)](_0x244906){const _0x473326=_0x558aa3,_0x31a3b4=_0x244906[_0x473326(0xba)]('<')[_0x473326(0xc8)]!==_0x244906[_0x473326(0xba)]('>')[_0x473326(0xc8)],_0x48b13b=_0x244906[_0x473326(0xc8)]<0x1e;return _0x31a3b4&&_0x48b13b;}[_0x558aa3(0xca)](_0x103cee){const _0x5c8488=_0x558aa3;return _0x103cee[_0x5c8488(0xba)](/\n(?![^{]*\})/g)[_0x5c8488(0xab)](_0x1c835a=>_0x1c835a[_0x5c8488(0xac)](_0x5c8488(0xde),''))[_0x5c8488(0xcf)](_0x37ea3f=>_0x37ea3f&&_0x37ea3f[_0x5c8488(0xc8)]>0x0&&_0x5c8488(0xdf)!==_0x37ea3f)[_0x5c8488(0xab)](_0x156b10=>{const _0x5e4411=_0x5c8488,{choices:_0x32abe0}=JSON[_0x5e4411(0xb0)](_0x156b10);if(_0x32abe0[0x0]?.[_0x5e4411(0xbb)]?.[_0x5e4411(0xbe)])return _0x32abe0[0x0][_0x5e4411(0xbb)][_0x5e4411(0xbe)];})[_0x5c8488(0xcf)](_0x11b0cc=>_0x11b0cc)[_0x5c8488(0xa4)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3789(_0x2640a1,_0x18d9dc){const _0x56c741=_0x56c7();return _0x3789=function(_0x378958,_0x4fc4c5){_0x378958=_0x378958-0x14e;let _0x288709=_0x56c741[_0x378958];return _0x288709;},_0x3789(_0x2640a1,_0x18d9dc);}const _0x1153b5=_0x3789;(function(_0x162edb,_0x41d497){const _0x116fbb=_0x3789,_0x44d103=_0x162edb();while(!![]){try{const _0x185d76=parseInt(_0x116fbb(0x17d))/0x1*(-parseInt(_0x116fbb(0x1ae))/0x2)+parseInt(_0x116fbb(0x156))/0x3+parseInt(_0x116fbb(0x1ac))/0x4*(-parseInt(_0x116fbb(0x163))/0x5)+-parseInt(_0x116fbb(0x168))/0x6*(parseInt(_0x116fbb(0x1b4))/0x7)+parseInt(_0x116fbb(0x1a0))/0x8*(parseInt(_0x116fbb(0x194))/0x9)+parseInt(_0x116fbb(0x181))/0xa+-parseInt(_0x116fbb(0x16b))/0xb*(-parseInt(_0x116fbb(0x161))/0xc);if(_0x185d76===_0x41d497)break;else _0x44d103['push'](_0x44d103['shift']());}catch(_0x9d3f8a){_0x44d103['push'](_0x44d103['shift']());}}}(_0x56c7,0x9195f));import{Plugin as _0x419298}from'ckeditor5/src/core.js';import{AIAssistantUI as _0xd3fe11}from'./aiassistantui.js';import{AIAssistantEditing as _0x297d40}from'./aiassistantediting.js';import{getTranslation as _0x45739a}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x56fb2f}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x419298{static get[_0x1153b5(0x1af)](){return[_0xd3fe11,_0x297d40];}static get[_0x1153b5(0x157)](){const _0x467805=_0x1153b5;return _0x467805(0x1bc);}static get[_0x1153b5(0x186)](){return!0x0;}static get[_0x1153b5(0x1ab)](){return!0x0;}constructor(_0x44166f){const _0x2850a6=_0x1153b5;super(_0x44166f);const _0x57925b=_0x44166f[_0x2850a6(0x14f)],_0x25588c=_0x44166f[_0x2850a6(0x192)];_0x57925b[_0x2850a6(0x162)](_0x2850a6(0x195),!0x0),_0x57925b[_0x2850a6(0x162)](_0x2850a6(0x153),getDefaultAICommands(_0x25588c)),_0x57925b[_0x2850a6(0x162)](_0x2850a6(0x15a),[]),_0x57925b[_0x2850a6(0x162)](_0x2850a6(0x155),[]);let _0x1b4533=_0x56fb2f(_0x57925b[_0x2850a6(0x169)](_0x2850a6(0x153)),_0x25588c);const _0x57f09e=_0x57925b[_0x2850a6(0x169)](_0x2850a6(0x15a)),_0x5157d9=_0x57925b[_0x2850a6(0x169)](_0x2850a6(0x155));_0x57f09e[_0x2850a6(0x18c)](_0x1e9b5f=>{const _0x411735=_0x2850a6,_0x288065=_0x1b4533[_0x411735(0x1b8)](_0x418e83=>_0x418e83[_0x411735(0x1a4)]===_0x1e9b5f[_0x411735(0x1a4)]);_0x288065?_0x288065[_0x411735(0x1b7)]=_0x288065[_0x411735(0x1b7)][_0x411735(0x18a)](_0x1e9b5f[_0x411735(0x1b7)]):_0x1b4533[_0x411735(0x15f)](_0x1e9b5f);}),_0x1b4533=_0x1b4533[_0x2850a6(0x14e)](_0x393f49=>!_0x5157d9[_0x2850a6(0x18e)](_0x393f49[_0x2850a6(0x1a4)])),_0x1b4533[_0x2850a6(0x18c)](_0x2c9716=>{const _0x378b7b=_0x2850a6;_0x2c9716[_0x378b7b(0x1b7)]=_0x2c9716[_0x378b7b(0x1b7)][_0x378b7b(0x14e)](_0x4d0f52=>!_0x5157d9[_0x378b7b(0x18e)](_0x4d0f52['id']));}),_0x57925b[_0x2850a6(0x19d)](_0x2850a6(0x153),_0x1b4533);}}function _0x56c7(){const _0x541be1=['Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','654876XifgLQ','ai.assistant.preserveComments','Professional','Legal','business','translatePortuguese','Make\x20shorter','editOrReview','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','set','Translate\x20the\x20content\x20to\x20French\x20language.','Friendly','16AYKABt','Simplify\x20language','Simplified\x20Chinese','generate','groupId','friendly','Make\x20longer','Improve\x20writing','poetic','Journalism','translate','isPremiumPlugin','4zhkEcb','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','43762JyvlWk','requires','Poetic','improveWriting','Portuguese','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','96089OcomxC','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','simplifyLanguage','commands','find','direct','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','AIAssistant','Translate\x20the\x20content\x20to\x20English\x20language.','translateGerman','filter','config','translateArabic','summarize','continue','ai.assistant.commands','Translate\x20the\x20content\x20to\x20Hindi\x20language.','ai.assistant.removeCommands','120285fHMvvY','pluginName','Direct','Spanish','ai.assistant.extraCommandGroups','French','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','English','Translate','push','Summarize','132TfiExN','define','5927905XaXIKI','changeStyle','Translate\x20the\x20content\x20to\x20German\x20language.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Change\x20tone','324tVVCHC','get','translateFrench','2331923rwqgwP','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateChinese','makeLonger','translateHindi','changeTone','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','German','Hindi','casual','Edit\x20or\x20review','Casual','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Arabic','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateSpanish','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','5nAngeV','legal','Change\x20style','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','1150170gVgCAl','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Continue','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','professional','isOfficialPlugin','translateEnglish','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Generate\x20from\x20selection','concat','Business','forEach','confident','includes','Confident','journalism','makeShorter','locale'];_0x56c7=function(){return _0x541be1;};return _0x56c7();}export function getDefaultAICommands(_0x3310ab){const _0x5a2256=_0x1153b5;return[{'groupId':_0x5a2256(0x19b),'groupLabel':_0x45739a(_0x3310ab,_0x5a2256(0x176)),'commands':[{'id':_0x5a2256(0x1b1),'label':_0x45739a(_0x3310ab,_0x5a2256(0x1a7)),'prompt':_0x5a2256(0x1bb)},{'id':_0x5a2256(0x191),'label':_0x45739a(_0x3310ab,_0x5a2256(0x19a)),'prompt':_0x5a2256(0x172)},{'id':_0x5a2256(0x16e),'label':_0x45739a(_0x3310ab,_0x5a2256(0x1a6)),'prompt':_0x5a2256(0x16c)},{'id':_0x5a2256(0x1b6),'label':_0x45739a(_0x3310ab,_0x5a2256(0x1a1)),'prompt':_0x5a2256(0x166)}]},{'groupId':_0x5a2256(0x1a3),'groupLabel':_0x45739a(_0x3310ab,_0x5a2256(0x189)),'commands':[{'id':_0x5a2256(0x151),'label':_0x45739a(_0x3310ab,_0x5a2256(0x160)),'prompt':_0x5a2256(0x180)},{'id':_0x5a2256(0x152),'label':_0x45739a(_0x3310ab,_0x5a2256(0x183)),'prompt':_0x5a2256(0x171)}]},{'groupId':_0x5a2256(0x170),'groupLabel':_0x45739a(_0x3310ab,_0x5a2256(0x167)),'commands':[{'id':_0x5a2256(0x185),'label':_0x45739a(_0x3310ab,_0x5a2256(0x196)),'prompt':_0x5a2256(0x1b5)},{'id':_0x5a2256(0x175),'label':_0x45739a(_0x3310ab,_0x5a2256(0x177)),'prompt':_0x5a2256(0x17a)},{'id':_0x5a2256(0x1b9),'label':_0x45739a(_0x3310ab,_0x5a2256(0x158)),'prompt':_0x5a2256(0x17c)},{'id':_0x5a2256(0x18d),'label':_0x45739a(_0x3310ab,_0x5a2256(0x18f)),'prompt':_0x5a2256(0x1ad)},{'id':_0x5a2256(0x1a5),'label':_0x45739a(_0x3310ab,_0x5a2256(0x19f)),'prompt':_0x5a2256(0x1b3)}]},{'groupId':_0x5a2256(0x164),'groupLabel':_0x45739a(_0x3310ab,_0x5a2256(0x17f)),'commands':[{'id':_0x5a2256(0x198),'label':_0x45739a(_0x3310ab,_0x5a2256(0x18b)),'prompt':_0x5a2256(0x184)},{'id':_0x5a2256(0x17e),'label':_0x45739a(_0x3310ab,_0x5a2256(0x197)),'prompt':_0x5a2256(0x19c)},{'id':_0x5a2256(0x190),'label':_0x45739a(_0x3310ab,_0x5a2256(0x1a9)),'prompt':_0x5a2256(0x15c)},{'id':_0x5a2256(0x1a8),'label':_0x45739a(_0x3310ab,_0x5a2256(0x1b0)),'prompt':_0x5a2256(0x193)}]},{'groupId':_0x5a2256(0x1aa),'groupLabel':_0x45739a(_0x3310ab,_0x5a2256(0x15e)),'commands':[{'id':_0x5a2256(0x187),'label':_0x45739a(_0x3310ab,_0x5a2256(0x15d)),'prompt':_0x5a2256(0x1bd)},{'id':_0x5a2256(0x17b),'label':_0x45739a(_0x3310ab,_0x5a2256(0x159)),'prompt':_0x5a2256(0x182)},{'id':_0x5a2256(0x199),'label':_0x45739a(_0x3310ab,_0x5a2256(0x1b2)),'prompt':_0x5a2256(0x188)},{'id':_0x5a2256(0x1be),'label':_0x45739a(_0x3310ab,_0x5a2256(0x173)),'prompt':_0x5a2256(0x165)},{'id':_0x5a2256(0x16a),'label':_0x45739a(_0x3310ab,_0x5a2256(0x15b)),'prompt':_0x5a2256(0x19e)},{'id':_0x5a2256(0x16d),'label':_0x45739a(_0x3310ab,_0x5a2256(0x1a2)),'prompt':_0x5a2256(0x1ba)},{'id':_0x5a2256(0x16f),'label':_0x45739a(_0x3310ab,_0x5a2256(0x174)),'prompt':_0x5a2256(0x154)},{'id':_0x5a2256(0x150),'label':_0x45739a(_0x3310ab,_0x5a2256(0x179)),'prompt':_0x5a2256(0x178)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32df8a=_0x163b;(function(_0x3e4770,_0x2f2ef8){const _0x2f4dd7=_0x163b,_0x475b14=_0x3e4770();while(!![]){try{const _0x3cab34=-parseInt(_0x2f4dd7(0x201))/0x1+-parseInt(_0x2f4dd7(0x20e))/0x2*(parseInt(_0x2f4dd7(0x1d0))/0x3)+-parseInt(_0x2f4dd7(0x1d8))/0x4*(parseInt(_0x2f4dd7(0x1ed))/0x5)+-parseInt(_0x2f4dd7(0x1f7))/0x6+parseInt(_0x2f4dd7(0x1da))/0x7*(parseInt(_0x2f4dd7(0x210))/0x8)+-parseInt(_0x2f4dd7(0x1d4))/0x9+parseInt(_0x2f4dd7(0x214))/0xa;if(_0x3cab34===_0x2f2ef8)break;else _0x475b14['push'](_0x475b14['shift']());}catch(_0x2198f6){_0x475b14['push'](_0x475b14['shift']());}}}(_0x1f06,0x8ca7c));import{uid as _0x3f38ab}from'ckeditor5/src/utils.js';import{Plugin as _0x55c7a1}from'ckeditor5/src/core.js';function _0x1f06(){const _0x293154=['AIAssistantEditing','paste','getSelectedTableCells','table','getChild','getRanges','ai-ui','_prepareTableInsertBelowPosition','getRowIndexes','42RnaAds','getLastPosition','1360168jczfQG','addClass','createSelection','fire','41805960JHIJLB','init','removeMarker','first','once','_getAISelection','markers','getChildren','selection','createPositionAfter','last','plugins','schema','updateMarker','resultRange','span','getRange','_resetContentOfSelectedTableCells','text/html','for','filter','ck-fake-ai-selection_collapsed','markerToElement','editor','end','from','TableUtils','addMarker','deleteContent','insertContent','ai.assistant.useTheme','ck-ai-assistant-ui_theme','data','markerToHighlight','start','document','join','change','_pasteHTMLUsingClipboard','isCollapsed','showFakeVisualSelection','fromCharCode','143121VjHaxD','isOfficialPlugin','hideFakeVisualSelection','forEach','10089567JwaFnD','editingDowncast','setSelection','_createEmptyTableRows','310664OjhDkG','element','42gwPfHq','getLastMatchingPosition','setData','model','has','createUIElement','getRows','push','getFirstRange','off','lowest','getMarkersGroup','createPositionAt','isAtEnd','length','getSelectedBlocks','markerRange','_getTableRowCountFromContent','insertContentBelow','45bqRVcO','createRange','parse','insertRows','DataTransfer','href','get','isPremiumPlugin','findAncestor','config','6079206QxubOd','_getDefaultInsertBelowPosition','contentInsertion','canEditAt','getColumnIndexes','editing','isContent','ck-fake-ai-selection','map','conversion','789493AgjBdh','pluginName','afterInit','pop'];_0x1f06=function(){return _0x293154;};return _0x1f06();}import{ClipboardPipeline as _0x57480d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x175424,ViewDataTransfer as _0x1eae57}from'ckeditor5/src/engine.js';function _0x163b(_0x47c16f,_0x66ff67){const _0x1f0610=_0x1f06();return _0x163b=function(_0x163b6a,_0xad45e4){_0x163b6a=_0x163b6a-0x1c2;let _0x51680a=_0x1f0610[_0x163b6a];return _0x51680a;},_0x163b(_0x47c16f,_0x66ff67);}const w=globalThis[_0x32df8a(0x1f1)],f=_0x32df8a(0x20b);export class AIAssistantEditing extends _0x55c7a1{static get[_0x32df8a(0x202)](){const _0x3ec7b1=_0x32df8a;return _0x3ec7b1(0x205);}static get[_0x32df8a(0x1d1)](){return!0x0;}static get[_0x32df8a(0x1f4)](){return!0x0;}[_0x32df8a(0x215)](){const _0x452e80=_0x32df8a,{editor:_0x1f0ebb}=this,_0x5bee0b=[_0x452e80(0x1fe)];_0x1f0ebb[_0x452e80(0x1f6)][_0x452e80(0x1f3)](_0x452e80(0x1c4))&&_0x5bee0b[_0x452e80(0x1e1)](_0x452e80(0x1c5)),_0x1f0ebb[_0x452e80(0x200)][_0x452e80(0x227)](_0x452e80(0x1d5))[_0x452e80(0x1c7)]({'model':f,'view':{'classes':_0x5bee0b,'priority':0xc}}),_0x1f0ebb[_0x452e80(0x200)][_0x452e80(0x227)](_0x452e80(0x1d5))[_0x452e80(0x22a)]({'model':f,'view':(_0x4bb39e,{writer:_0x1fd814})=>{const _0x3b3c6e=_0x452e80;if(!_0x4bb39e[_0x3b3c6e(0x1ea)][_0x3b3c6e(0x1cd)])return null;const _0x17fb02=_0x1fd814[_0x3b3c6e(0x1df)](_0x3b3c6e(0x223));return _0x1fd814[_0x3b3c6e(0x211)]([_0x3b3c6e(0x1fe),_0x3b3c6e(0x229)],_0x17fb02),_0x17fb02;}});}[_0x32df8a(0x203)](){!async function(_0x5ea26a){const _0x5714b2=_0x38793e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x366459=0x3dffc4e1,_0x4bf32c=0x3df84b21^_0x366459,_0x1a83be=window[_0x38793e([0x44,0x61,0x74,0x65])][_0x38793e([0x6e,0x6f,0x77])](),_0x546650=_0x5ea26a[_0x38793e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xba7772=new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44b157=>{_0x546650[_0x38793e([0x6f,0x6e,0x63,0x65])](_0x38793e([0x72,0x65,0x61,0x64,0x79]),_0x44b157);}),_0x5d67df={[_0x38793e([0x6b,0x74,0x79])]:_0x38793e([0x45,0x43]),[_0x38793e([0x75,0x73,0x65])]:_0x38793e([0x73,0x69,0x67]),[_0x38793e([0x63,0x72,0x76])]:_0x38793e([0x50,0x2d,0x32,0x35,0x36]),[_0x38793e([0x78])]:_0x38793e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x38793e([0x79])]:_0x38793e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x38793e([0x61,0x6c,0x67])]:_0x38793e([0x45,0x53,0x32,0x35,0x36])},_0x1e6adc=_0x546650[_0x38793e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38793e([0x67,0x65,0x74])](_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49647a(){let _0x1ef105,_0x197b46=null,_0x1aaa97=null;try{if(_0x1e6adc==_0x38793e([0x47,0x50,0x4c]))return _0x38793e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ef105=_0x59df53(),!_0x1ef105)return _0x38793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ef105[_0x38793e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1aaa97=_0xc71349(_0x1ef105[_0x38793e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ef105[_0x38793e([0x6a,0x74,0x69])])),await _0x1922bd()?_0x1ae183()?_0x3160d1()?_0x38793e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4bf47b()?(_0x1ef105[_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38793e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x197b46=_0x23e5b8(_0x38793e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19b9af()):_0x38793e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38793e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38793e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3160d1(){const _0x1bfc4f=[_0x38793e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38793e([0x74,0x72,0x69,0x61,0x6c])][_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef105[_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a83be/0x3e8:0xe10*_0x4bf32c;return _0x1ef105[_0x38793e([0x65,0x78,0x70])]<_0x1bfc4f;}function _0x1ae183(){const _0x21704d=_0x1ef105[_0x38793e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21704d&&(!!_0x21704d[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38793e([0x2a]))||!!_0x21704d[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38793e([0x41,0x49])));}function _0x4bf47b(){const _0x34066d=_0x163b,_0x1ed817=_0x1ef105[_0x38793e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ed817||0x0==_0x1ed817[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd738c3}=new URL(window[_0x38793e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x34066d(0x1f2)]);if(_0x1ed817[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd738c3))return!0x0;const _0x3e7f9f=_0xd738c3[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e]));return _0x1ed817[_0x38793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x592044=>_0x592044[_0x38793e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38793e([0x2a])))[_0x38793e([0x6d,0x61,0x70])](_0x4f7436=>_0x4f7436[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e])))[_0x38793e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x507efb=>_0x507efb[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e7f9f[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38793e([0x6d,0x61,0x70])](_0x346036=>Array(_0x3e7f9f[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x346036[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38793e([0x66,0x69,0x6c,0x6c])](_0x346036[0x0]===_0x38793e([0x2a])?_0x38793e([0x2a]):'')[_0x38793e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x346036))[_0x38793e([0x73,0x6f,0x6d,0x65])](_0x2ef679=>_0x3e7f9f[_0x38793e([0x65,0x76,0x65,0x72,0x79])]((_0xd2e92a,_0x13fc4e)=>_0x2ef679[_0x13fc4e]===_0xd2e92a||_0x2ef679[_0x13fc4e]===_0x38793e([0x2a])));}function _0x19b9af(){return _0x197b46&&_0x1aaa97?new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bc677,_0x4bb231)=>{_0x197b46[_0x38793e([0x74,0x68,0x65,0x6e])](_0x3bc677,_0x4bb231),_0x1aaa97[_0x38793e([0x74,0x68,0x65,0x6e])](_0x3d4b93=>{_0x3d4b93!=_0x38793e([0x56,0x61,0x6c,0x69,0x64])&&_0x3bc677(_0x3d4b93);},_0x4bb231);}):_0x197b46||_0x1aaa97||_0x38793e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc71349(_0x36e864,_0x585380){return new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572534=>{if(_0x5e54f5())return _0x572534(_0x38793e([0x56,0x61,0x6c,0x69,0x64]));_0x332bb4(),_0x546650[_0x38793e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38793e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41fd34=!0x1;const _0x6649b4=_0x3f38ab();function _0x4ebf8e(_0x5c438d){return!!_0x5c438d&&(typeof _0x5c438d===_0x38793e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c438d===_0x38793e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c438d[_0x38793e([0x74,0x68,0x65,0x6e])]===_0x38793e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c438d[_0x38793e([0x63,0x61,0x74,0x63,0x68])]===_0x38793e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d9f63(_0x1daad9){_0x35d18c(_0x1daad9)[_0x38793e([0x74,0x68,0x65,0x6e])](_0x23e842=>{if(!_0x23e842||_0x23e842[_0x38793e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38793e([0x6f,0x6b]))return _0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2164f0(_0x2f875e(_0x6649b4+_0x585380))!=_0x23e842[_0x38793e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38793e([0x56,0x61,0x6c,0x69,0x64]);})[_0x38793e([0x74,0x68,0x65,0x6e])](_0x368265=>(_0x4570ee(),_0x368265),()=>{const _0x17c6a1=_0x3ddab2();return null==_0x17c6a1?(_0x4570ee(),_0x38793e([0x56,0x61,0x6c,0x69,0x64])):_0x38793e(_0x1a83be-_0x17c6a1>(0x19f340e1^_0x366459)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38793e([0x74,0x68,0x65,0x6e])](_0x572534)[_0x38793e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x572534(_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5917da=0x3dc92a61^_0x366459;function _0x4570ee(){const _0x28512b=_0x38793e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2164f0(_0x2f875e(_0x36e864)),_0x5c63cc=_0x9e25f1(_0x2164f0(window[_0x38793e([0x4d,0x61,0x74,0x68])][_0x38793e([0x63,0x65,0x69,0x6c])](_0x1a83be/_0x5917da)));window[_0x38793e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38793e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28512b,_0x5c63cc);}function _0x3ddab2(){const _0x35aa4d=_0x38793e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2164f0(_0x2f875e(_0x36e864)),_0x4c8010=window[_0x38793e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38793e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35aa4d);return _0x4c8010?window[_0x38793e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9e25f1(_0x4c8010),0x10)*_0x5917da:null;}function _0x35d18c(_0x3d27b5){return new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1da33b,_0x3d8579)=>{_0x3d27b5[_0x38793e([0x74,0x68,0x65,0x6e])](_0x1da33b,_0x3d8579),window[_0x38793e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d8579,0x3dfe1021^_0x366459);});}}_0x546650[_0x38793e([0x6f,0x6e])](_0x38793e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x586e6a,_0xe77818)=>{if(_0xe77818[0x0]!=_0x36e864)return _0x572534(_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe77818[0x1]={..._0xe77818[0x1],[_0x38793e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6649b4};},{[_0x38793e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38793e([0x68,0x69,0x67,0x68])}),_0x546650[_0x38793e([0x6f,0x6e])](_0x38793e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x252983=>{_0x4ebf8e(_0x252983[_0x38793e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41fd34=!0x0,_0x4d9f63(_0x252983[_0x38793e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38793e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38793e([0x6c,0x6f,0x77])}),_0xba7772[_0x38793e([0x74,0x68,0x65,0x6e])](()=>{_0x41fd34||_0x572534(_0x38793e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e54f5(){return _0x546650[_0x38793e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38793e([0x76,0x69,0x65,0x77])][_0x38793e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38793e([0x61,0x75,0x74,0x6f]);}function _0x332bb4(){_0x546650[_0x38793e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38793e([0x76,0x69,0x65,0x77])][_0x38793e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38793e([0x61,0x75,0x74,0x6f]);}}function _0x23e5b8(_0x4040cc){const _0x4fb47f=[new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9a5031=>setTimeout(_0x9a5031,0x3df6fa2d^_0x366459)),_0xba7772[_0x38793e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad92d=>{let _0xbdb9ed=0x0;_0x546650[_0x38793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x38793e([0x6f,0x6e])](_0x38793e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a55fa,_0x3035be)=>{_0x3035be[0x0][_0x38793e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbdb9ed++,_0xbdb9ed==(0x3dffc109^_0x366459)&&(_0x3ad92d(),_0x2a55fa[_0x38793e([0x6f,0x66,0x66])]());});}))];return window[_0x38793e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38793e([0x72,0x61,0x63,0x65])](_0x4fb47f)[_0x38793e([0x74,0x68,0x65,0x6e])](()=>_0x4040cc);}async function _0x1e8c5c(){await _0xba7772,_0x546650[_0x38793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x38793e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25aefc,_0x546650[_0x38793e([0x6d,0x6f,0x64,0x65,0x6c])][_0x38793e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25aefc,_0x546650[_0x38793e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38793e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ecda5(_0x2fe503){const _0x3fa844=_0x3aaf07();_0x546650[_0x3fa844]=_0x38793e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fe503,_0x2fe503!=_0x38793e([0x56,0x61,0x6c,0x69,0x64])&&_0x1e8c5c();}function _0x3aaf07(){const _0x4f8cf2=window[_0x38793e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38793e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38793e([0x6e,0x6f,0x77])]())[_0x38793e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38793e([0x2e]),'');let _0x2f61cb=_0x38793e([0x6e]);for(let _0x28ed53=0x0;_0x28ed53<_0x4f8cf2[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28ed53+=0x2){let _0x485011=window[_0x38793e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f8cf2[_0x38793e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28ed53,_0x28ed53+0x2));_0x485011>=_0x5714b2[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x485011-=_0x5714b2[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f61cb+=_0x5714b2[_0x485011];}return _0x2f61cb;}function _0x59df53(){const _0x4e7112=_0x1e6adc[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e]));if(0x3!=_0x4e7112[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2cc578(_0x4e7112[0x1]);function _0x2cc578(_0x1c15e2){const _0x1a67b3=_0x33d4d5(_0x1c15e2);return _0x1a67b3&&_0x1a426a()?_0x1a67b3:null;function _0x1a426a(){const _0x1d1d81=_0x1a67b3[_0x38793e([0x6a,0x74,0x69])],_0x3aedfd=window[_0x38793e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d1d81[_0x38793e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d1d81[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x491a45={..._0x1a67b3,[_0x38793e([0x6a,0x74,0x69])]:_0x1d1d81[_0x38793e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d1d81[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x491a45[_0x38793e([0x76,0x63])],_0x2f875e(_0x491a45)==_0x3aedfd;}}}async function _0x1922bd(){let _0x31cf35=!0x0;try{const _0xf5c683=_0x1e6adc[_0x38793e([0x73,0x70,0x6c,0x69,0x74])](_0x38793e([0x2e])),[_0x5c5263,_0x5ba796,_0x15a30c]=_0xf5c683;return _0x145db5(_0x5c5263),await _0x3dfb5e(_0x5c5263,_0x5ba796,_0x15a30c),_0x31cf35;}catch{return!0x1;}function _0x145db5(_0x10ecb1){const _0x17a3c6=_0x33d4d5(_0x10ecb1);_0x17a3c6&&_0x17a3c6[_0x38793e([0x61,0x6c,0x67])]==_0x38793e([0x45,0x53,0x32,0x35,0x36])||(_0x31cf35=!0x1);}async function _0x3dfb5e(_0x163bcd,_0x1f0a25,_0x27ec44){const _0x1bfcd5=window[_0x38793e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38793e([0x66,0x72,0x6f,0x6d])](_0x2169c6(_0x27ec44),_0x3abaca=>_0x3abaca[_0x38793e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c49f5=new window[(_0x38793e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38793e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x163bcd+_0x38793e([0x2e])+_0x1f0a25),_0xb4d7a2=window[_0x38793e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38793e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb4d7a2)return;const _0x428812=await _0xb4d7a2[_0x38793e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38793e([0x6a,0x77,0x6b]),_0x5d67df,{[_0x38793e([0x6e,0x61,0x6d,0x65])]:_0x38793e([0x45,0x43,0x44,0x53,0x41]),[_0x38793e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38793e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38793e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb4d7a2[_0x38793e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38793e([0x6e,0x61,0x6d,0x65])]:_0x38793e([0x45,0x43,0x44,0x53,0x41]),[_0x38793e([0x68,0x61,0x73,0x68])]:{[_0x38793e([0x6e,0x61,0x6d,0x65])]:_0x38793e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x428812,_0x1bfcd5,_0x1c49f5)||(_0x31cf35=!0x1);}}function _0x33d4d5(_0x1597a5){return _0x1597a5[_0x38793e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38793e([0x65,0x79]))?JSON[_0x38793e([0x70,0x61,0x72,0x73,0x65])](_0x2169c6(_0x1597a5)):null;}function _0x2169c6(_0xdcd6d1){return window[_0x38793e([0x61,0x74,0x6f,0x62])](_0xdcd6d1[_0x38793e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38793e([0x2b]))[_0x38793e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38793e([0x2f])));}function _0x2f875e(_0x108932){let _0x4cf0df=0x1505;function _0x77e9a6(_0x1eb7ef){for(let _0x2f67e4=0x0;_0x2f67e4<_0x1eb7ef[_0x38793e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f67e4++){const _0x529ca1=_0x1eb7ef[_0x38793e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f67e4);_0x4cf0df=(_0x4cf0df<<0x5)+_0x4cf0df+_0x529ca1,_0x4cf0df&=_0x4cf0df;}}function _0xbc1ae4(_0x1c9418){Array[_0x38793e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c9418)?_0x1c9418[_0x38793e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbc1ae4):_0x1c9418&&typeof _0x1c9418==_0x38793e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38793e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c9418)[_0x38793e([0x73,0x6f,0x72,0x74])]()[_0x38793e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44940f,_0x2377f2])=>{_0x77e9a6(_0x44940f),_0xbc1ae4(_0x2377f2);}):_0x77e9a6(window[_0x38793e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c9418));}return _0xbc1ae4(_0x108932),_0x4cf0df>>>0x0;}function _0x2164f0(_0x1acf45){return _0x1acf45[_0x38793e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38793e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38793e([0x30]));}function _0x9e25f1(_0x1ae221){return _0x1ae221[_0x38793e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38793e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38793e([0x6a,0x6f,0x69,0x6e])]('');}function _0x25aefc(){}function _0x38793e(_0x1cf8e8){const _0x47a2b1=_0x163b;return _0x1cf8e8[_0x47a2b1(0x1ff)](_0x861f23=>String[_0x47a2b1(0x1cf)](_0x861f23))[_0x47a2b1(0x1ca)]('');}_0x3ecda5(await _0x49647a());}(this);}[_0x32df8a(0x1ce)](){const _0x588258=_0x32df8a,_0x4aa39a=this[_0x588258(0x22b)][_0x588258(0x1dd)];_0x4aa39a[_0x588258(0x1cb)](_0x3df66e=>{const _0x126326=_0x588258,_0x4cc224=_0x4aa39a[_0x126326(0x1c9)][_0x126326(0x21c)][_0x126326(0x20a)]();let _0x40a50c=0x0;for(const _0x225c8c of _0x4cc224){const _0x213d9c=f+':'+_0x40a50c;if(_0x4aa39a[_0x126326(0x21a)][_0x126326(0x1de)](_0x213d9c))_0x3df66e[_0x126326(0x221)](_0x213d9c,{'range':_0x225c8c});else{if(_0x225c8c[_0x126326(0x1c8)][_0x126326(0x1e7)]){const _0x5b4ff1=_0x225c8c[_0x126326(0x1c8)][_0x126326(0x1db)](({item:_0x1bd10a})=>!_0x4aa39a[_0x126326(0x220)][_0x126326(0x1fd)](_0x1bd10a),{'boundaries':_0x225c8c});_0x3df66e[_0x126326(0x22f)](_0x213d9c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3df66e[_0x126326(0x1ee)](_0x5b4ff1,_0x225c8c[_0x126326(0x22c)])});}else _0x3df66e[_0x126326(0x22f)](_0x213d9c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x225c8c});}_0x40a50c++;}});}[_0x32df8a(0x1d2)](){const _0x1f9ac8=_0x32df8a,_0x59714b=this[_0x1f9ac8(0x22b)][_0x1f9ac8(0x1dd)],_0x105e56=Array[_0x1f9ac8(0x22d)](this[_0x1f9ac8(0x22b)][_0x1f9ac8(0x1dd)][_0x1f9ac8(0x21a)][_0x1f9ac8(0x1e5)](f));_0x105e56[_0x1f9ac8(0x1e8)]&&_0x59714b[_0x1f9ac8(0x1cb)](_0x5bc95f=>{const _0x4f7a5b=_0x1f9ac8;_0x105e56[_0x4f7a5b(0x1d3)](_0x394655=>{const _0x1d4824=_0x4f7a5b;_0x5bc95f[_0x1d4824(0x216)](_0x394655);});});}[_0x32df8a(0x1c3)](_0x390df3,_0x10337d){const _0x5eb150=_0x32df8a,_0x1ff789=this[_0x5eb150(0x219)](),_0x5104ad=_0x10337d||_0x1ff789[_0x5eb150(0x1e2)]();this[_0x5eb150(0x22b)][_0x5eb150(0x1dd)][_0x5eb150(0x1fa)](_0x5104ad)&&this[_0x5eb150(0x22b)][_0x5eb150(0x1dd)][_0x5eb150(0x1cb)](_0x355e4d=>{const _0x5a5fed=_0x5eb150;this[_0x5a5fed(0x1d2)](),_0x10337d||this[_0x5a5fed(0x225)](_0x355e4d,_0x1ff789),this[_0x5a5fed(0x1cc)]({'insertAt':_0x5104ad,'writer':_0x355e4d,'html':_0x390df3});});}[_0x32df8a(0x1ec)](_0x2e2a99){const _0x17f740=_0x32df8a,{model:_0x201ed3}=this[_0x17f740(0x22b)],_0x4792d1=this[_0x17f740(0x219)]();_0x201ed3[_0x17f740(0x1cb)](()=>{const _0x2d118e=_0x17f740,_0x100643=this[_0x2d118e(0x20c)](_0x2e2a99,_0x4792d1)||this[_0x2d118e(0x1f8)](_0x4792d1);this[_0x2d118e(0x1c3)](_0x2e2a99,_0x100643);});}[_0x32df8a(0x219)](){const _0x36c7d7=_0x32df8a,_0x2a5423=this[_0x36c7d7(0x22b)][_0x36c7d7(0x1dd)],_0x24a0b9=Array[_0x36c7d7(0x22d)](_0x2a5423[_0x36c7d7(0x21a)][_0x36c7d7(0x1e5)](f))[_0x36c7d7(0x1ff)](_0xb8f766=>_0xb8f766[_0x36c7d7(0x224)]());return _0x2a5423[_0x36c7d7(0x212)](_0x24a0b9);}[_0x32df8a(0x1cc)]({writer:_0x4a53de,html:_0x201f24,insertAt:_0x5056bc}){const _0x224dc9=_0x32df8a,{view:_0x10b785}=this[_0x224dc9(0x22b)][_0x224dc9(0x1fc)],_0x1e11de=this[_0x224dc9(0x22b)][_0x224dc9(0x21f)][_0x224dc9(0x1f3)](_0x57480d),_0x477ba0=new w();_0x477ba0[_0x224dc9(0x1dc)](_0x224dc9(0x226),_0x201f24);const _0x2eff73=new ClipboardEvent(_0x224dc9(0x206),{'clipboardData':_0x477ba0}),_0x3734c4=new _0x175424(_0x10b785,_0x2eff73,{'dataTransfer':new _0x1eae57(_0x477ba0)});_0x4a53de[_0x224dc9(0x1d6)](_0x5056bc);const _0x4e418e=(_0x4006dc,_0x214178)=>{const _0x4a8924=_0x224dc9;_0x214178[_0x4a8924(0x222)]&&_0x4a53de[_0x4a8924(0x1d6)](_0x214178[_0x4a8924(0x222)]);};_0x1e11de[_0x224dc9(0x218)](_0x224dc9(0x1f9),_0x4e418e,{'priority':_0x224dc9(0x1e4)}),_0x10b785[_0x224dc9(0x1c9)][_0x224dc9(0x213)](_0x224dc9(0x206),_0x3734c4),_0x1e11de[_0x224dc9(0x1e3)](_0x224dc9(0x1f9),_0x4e418e);}[_0x32df8a(0x1f8)](_0x57e298){const _0x65749f=_0x32df8a,{model:_0x32987d}=this[_0x65749f(0x22b)],_0x26ef2d=Array[_0x65749f(0x22d)](_0x57e298[_0x65749f(0x1e9)]());return _0x26ef2d[_0x65749f(0x1e8)]?_0x32987d[_0x65749f(0x21d)](_0x26ef2d[_0x65749f(0x204)]()):_0x57e298[_0x65749f(0x20f)]();}[_0x32df8a(0x20c)](_0x5256c0,_0x3c37b8){const _0x4140b2=_0x32df8a,{model:_0x49263d,plugins:_0xb44944}=this[_0x4140b2(0x22b)];if(_0xb44944[_0x4140b2(0x1de)](_0x4140b2(0x22e))){const _0x37281e=_0xb44944[_0x4140b2(0x1f3)](_0x4140b2(0x22e))[_0x4140b2(0x207)](_0x3c37b8);if(_0x37281e[_0x4140b2(0x1e8)]){const _0x1f50fa=this[_0x4140b2(0x1eb)](_0x5256c0),_0x417f04=this[_0x4140b2(0x1d7)](_0x37281e,_0x1f50fa);return _0x49263d[_0x4140b2(0x1e6)](_0x417f04,0x0);}}return null;}[_0x32df8a(0x1eb)](_0xc5eab1){const _0x4e3515=_0x32df8a,_0x29e9b7=this[_0x4e3515(0x22b)][_0x4e3515(0x21f)][_0x4e3515(0x1f3)](_0x4e3515(0x22e)),_0x4695b8=this[_0x4e3515(0x22b)][_0x4e3515(0x1c6)][_0x4e3515(0x1ef)](_0xc5eab1),_0x3cfc89=Array[_0x4e3515(0x22d)](_0x4695b8[_0x4e3515(0x21b)]())[_0x4e3515(0x228)](_0xbeeda8=>_0xbeeda8['is'](_0x4e3515(0x1d9),_0x4e3515(0x208)));let _0x2a36b7=0x0;return _0x3cfc89[_0x4e3515(0x1d3)](_0x5edf4a=>{const _0x5522b1=_0x4e3515;_0x2a36b7+=_0x29e9b7[_0x5522b1(0x1e0)](_0x5edf4a);}),_0x2a36b7;}[_0x32df8a(0x1d7)](_0x54f84b,_0x1b656a){const _0x2643e8=_0x32df8a,_0x38d60b=this[_0x2643e8(0x22b)][_0x2643e8(0x21f)][_0x2643e8(0x1f3)](_0x2643e8(0x22e)),_0x26b2d6=_0x38d60b[_0x2643e8(0x20d)](_0x54f84b),_0x2774ab=_0x38d60b[_0x2643e8(0x1fb)](_0x54f84b),_0x254ee4=_0x26b2d6[_0x2643e8(0x21e)]+0x1,_0x1a4afd=_0x2774ab[_0x2643e8(0x217)],_0x5ee32f=_0x54f84b[0x0][_0x2643e8(0x1f5)](_0x2643e8(0x208));for(let _0x551ae4=0x0;_0x551ae4<_0x1b656a;_0x551ae4++)_0x38d60b[_0x2643e8(0x1f0)](_0x5ee32f,{'at':_0x254ee4});return _0x5ee32f[_0x2643e8(0x209)](_0x254ee4)[_0x2643e8(0x209)](_0x1a4afd);}[_0x32df8a(0x225)](_0x10a690,_0x273def){const _0x4aa061=_0x32df8a,{plugins:_0x5caea0}=this[_0x4aa061(0x22b)],{model:_0x128407}=_0x10a690;if(!_0x5caea0[_0x4aa061(0x1de)](_0x4aa061(0x22e)))return;_0x5caea0[_0x4aa061(0x1f3)](_0x4aa061(0x22e))[_0x4aa061(0x207)](_0x273def)[_0x4aa061(0x1e8)]&&_0x128407[_0x4aa061(0x1c2)](_0x273def);}}
|
|
23
|
+
function _0x3f03(){const _0x11cb41=['ck-fake-ai-selection','change','updateMarker','_pasteHTMLUsingClipboard','hideFakeVisualSelection','1198165UnHrDX','table','pop','map','push','fire','getChild','editor','ai.assistant.useTheme','DataTransfer','_getDefaultInsertBelowPosition','schema','contentInsertion','length','editing','6QBwxZy','282563fUwbVs','get','first','forEach','once','span','316896ETFTuY','isCollapsed','391624pxcUIL','setData','createSelection','deleteContent','showFakeVisualSelection','model','plugins','markers','end','paste','last','AIAssistantEditing','getFirstRange','conversion','1617140xfZuCO','lowest','start','config','createRange','isOfficialPlugin','ck-ai-assistant-ui_theme','addClass','createPositionAfter','addMarker','href','4370YgsCWp','init','from','_resetContentOfSelectedTableCells','getSelectedTableCells','canEditAt','resultRange','insertRows','_getAISelection','parse','join','insertContent','isAtEnd','pluginName','text/html','afterInit','fromCharCode','document','1786416DZyhvA','_createEmptyTableRows','createUIElement','_prepareTableInsertBelowPosition','9xYNqfh','setSelection','editingDowncast','TableUtils','getRanges','getRows','isContent','insertContentBelow','ai-ui','removeMarker','filter','markerToElement','element','markerToHighlight','getRange','getLastMatchingPosition','data','getSelectedBlocks','for','814FepNuk','getRowIndexes','findAncestor','off','getColumnIndexes','has','selection','ck-fake-ai-selection_collapsed','_getTableRowCountFromContent','getMarkersGroup','getLastPosition','isPremiumPlugin','createPositionAt','6liSlHw','getChildren','markerRange'];_0x3f03=function(){return _0x11cb41;};return _0x3f03();}const _0x1ffd05=_0x354e;(function(_0x1e8e5a,_0x5640c2){const _0x70a717=_0x354e,_0x5c427d=_0x1e8e5a();while(!![]){try{const _0xe232b8=parseInt(_0x70a717(0x1fa))/0x1+-parseInt(_0x70a717(0x200))/0x2+-parseInt(_0x70a717(0x251))/0x3*(parseInt(_0x70a717(0x202))/0x4)+parseInt(_0x70a717(0x1ea))/0x5+parseInt(_0x70a717(0x1f9))/0x6*(parseInt(_0x70a717(0x210))/0x7)+parseInt(_0x70a717(0x22d))/0x8*(-parseInt(_0x70a717(0x231))/0x9)+parseInt(_0x70a717(0x21b))/0xa*(-parseInt(_0x70a717(0x244))/0xb);if(_0xe232b8===_0x5640c2)break;else _0x5c427d['push'](_0x5c427d['shift']());}catch(_0x3c1a04){_0x5c427d['push'](_0x5c427d['shift']());}}}(_0x3f03,0x22fd4));import{uid as _0x4fd0eb}from'ckeditor5/src/utils.js';import{Plugin as _0x159533}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5f0ee1}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xcf51db,ViewDataTransfer as _0x550eb4}from'ckeditor5/src/engine.js';const w=globalThis[_0x1ffd05(0x1f3)],f=_0x1ffd05(0x239);function _0x354e(_0x856a64,_0x5e737c){const _0x3f037e=_0x3f03();return _0x354e=function(_0x354efa,_0x3f18cb){_0x354efa=_0x354efa-0x1e7;let _0xfe7c21=_0x3f037e[_0x354efa];return _0xfe7c21;},_0x354e(_0x856a64,_0x5e737c);}export class AIAssistantEditing extends _0x159533{static get[_0x1ffd05(0x228)](){const _0x1c63a3=_0x1ffd05;return _0x1c63a3(0x20d);}static get[_0x1ffd05(0x215)](){return!0x0;}static get[_0x1ffd05(0x24f)](){return!0x0;}[_0x1ffd05(0x21c)](){const _0x5d51c2=_0x1ffd05,{editor:_0x53a567}=this,_0x481fc8=[_0x5d51c2(0x254)];_0x53a567[_0x5d51c2(0x213)][_0x5d51c2(0x1fb)](_0x5d51c2(0x1f2))&&_0x481fc8[_0x5d51c2(0x1ee)](_0x5d51c2(0x216)),_0x53a567[_0x5d51c2(0x20f)][_0x5d51c2(0x243)](_0x5d51c2(0x233))[_0x5d51c2(0x23e)]({'model':f,'view':{'classes':_0x481fc8,'priority':0xc}}),_0x53a567[_0x5d51c2(0x20f)][_0x5d51c2(0x243)](_0x5d51c2(0x233))[_0x5d51c2(0x23c)]({'model':f,'view':(_0x1d3499,{writer:_0x3853c4})=>{const _0x16ad86=_0x5d51c2;if(!_0x1d3499[_0x16ad86(0x253)][_0x16ad86(0x201)])return null;const _0x52aa41=_0x3853c4[_0x16ad86(0x22f)](_0x16ad86(0x1ff));return _0x3853c4[_0x16ad86(0x217)]([_0x16ad86(0x254),_0x16ad86(0x24b)],_0x52aa41),_0x52aa41;}});}[_0x1ffd05(0x22a)](){!async function(_0x1e3a95){const _0x37548f=_0x18b074([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]),_0x582b0d=0x3dffc4e1,_0x395698=0x3df85121^_0x582b0d,_0x36edcb=window[_0x18b074([0x44,0x61,0x74,0x65])][_0x18b074([0x6e,0x6f,0x77])](),_0x50afd3=_0x1e3a95[_0x18b074([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x97f047=new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a0c2f=>{_0x50afd3[_0x18b074([0x6f,0x6e,0x63,0x65])](_0x18b074([0x72,0x65,0x61,0x64,0x79]),_0x3a0c2f);}),_0x22e991={[_0x18b074([0x6b,0x74,0x79])]:_0x18b074([0x45,0x43]),[_0x18b074([0x75,0x73,0x65])]:_0x18b074([0x73,0x69,0x67]),[_0x18b074([0x63,0x72,0x76])]:_0x18b074([0x50,0x2d,0x32,0x35,0x36]),[_0x18b074([0x78])]:_0x18b074([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]),[_0x18b074([0x79])]:_0x18b074([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]),[_0x18b074([0x61,0x6c,0x67])]:_0x18b074([0x45,0x53,0x32,0x35,0x36])},_0x2253d0=_0x50afd3[_0x18b074([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18b074([0x67,0x65,0x74])](_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e845b(){let _0x214bda,_0x487b8a=null,_0x20734=null;try{if(_0x2253d0==_0x18b074([0x47,0x50,0x4c]))return _0x18b074([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x214bda=_0x9cf50a(),!_0x214bda)return _0x18b074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x214bda[_0x18b074([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20734=_0x1b215f(_0x214bda[_0x18b074([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x214bda[_0x18b074([0x6a,0x74,0x69])])),await _0x6bc8fb()?_0x39386a()?_0x26d1b0()?_0x18b074([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15ff69()?(_0x214bda[_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18b074([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x487b8a=_0x5edcbd(_0x18b074([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fd919()):_0x18b074([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18b074([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18b074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18b074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26d1b0(){const _0x2135a5=[_0x18b074([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18b074([0x74,0x72,0x69,0x61,0x6c])][_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214bda[_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36edcb/0x3e8:0xe10*_0x395698;return _0x214bda[_0x18b074([0x65,0x78,0x70])]<_0x2135a5;}function _0x39386a(){const _0x1d5756=_0x214bda[_0x18b074([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d5756&&(!!_0x1d5756[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b074([0x2a]))||!!_0x1d5756[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b074([0x41,0x49])));}function _0x15ff69(){const _0x1faa2a=_0x354e,_0x100004=_0x214bda[_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x100004||0x0==_0x100004[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28a248}=new URL(window[_0x18b074([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1faa2a(0x21a)]);if(_0x100004[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28a248))return!0x0;const _0x2a850a=_0x28a248[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e]));return _0x100004[_0x18b074([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c11d1=>_0x3c11d1[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b074([0x2a])))[_0x18b074([0x6d,0x61,0x70])](_0x51fc49=>_0x51fc49[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e])))[_0x18b074([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa67a56=>_0xa67a56[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a850a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18b074([0x6d,0x61,0x70])](_0x1adb58=>Array(_0x2a850a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1adb58[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18b074([0x66,0x69,0x6c,0x6c])](_0x1adb58[0x0]===_0x18b074([0x2a])?_0x18b074([0x2a]):'')[_0x18b074([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1adb58))[_0x18b074([0x73,0x6f,0x6d,0x65])](_0x1c2d7c=>_0x2a850a[_0x18b074([0x65,0x76,0x65,0x72,0x79])]((_0x2d7ed2,_0x1c9b9a)=>_0x1c2d7c[_0x1c9b9a]===_0x2d7ed2||_0x1c2d7c[_0x1c9b9a]===_0x18b074([0x2a])));}function _0x2fd919(){return _0x487b8a&&_0x20734?new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x497e17,_0x28e66d)=>{_0x487b8a[_0x18b074([0x74,0x68,0x65,0x6e])](_0x497e17,_0x28e66d),_0x20734[_0x18b074([0x74,0x68,0x65,0x6e])](_0x3d7745=>{_0x3d7745!=_0x18b074([0x56,0x61,0x6c,0x69,0x64])&&_0x497e17(_0x3d7745);},_0x28e66d);}):_0x487b8a||_0x20734||_0x18b074([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b215f(_0xaff0a7,_0xdfe6a7){return new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f19a6=>{if(_0x32c182())return _0x1f19a6(_0x18b074([0x56,0x61,0x6c,0x69,0x64]));_0x276a3a(),_0x50afd3[_0x18b074([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18b074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27ff03=!0x1;const _0x30e98f=_0x4fd0eb();function _0xc060f(_0x3d800c){return!!_0x3d800c&&(typeof _0x3d800c===_0x18b074([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d800c===_0x18b074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d800c[_0x18b074([0x74,0x68,0x65,0x6e])]===_0x18b074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d800c[_0x18b074([0x63,0x61,0x74,0x63,0x68])]===_0x18b074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33df3d(_0xb0aaea){_0xfb4395(_0xb0aaea)[_0x18b074([0x74,0x68,0x65,0x6e])](_0x51792a=>{if(!_0x51792a||_0x51792a[_0x18b074([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18b074([0x6f,0x6b]))return _0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138795(_0x4d755f(_0x30e98f+_0xdfe6a7))!=_0x51792a[_0x18b074([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18b074([0x56,0x61,0x6c,0x69,0x64]);})[_0x18b074([0x74,0x68,0x65,0x6e])](_0xe6335c=>(_0x124013(),_0xe6335c),()=>{const _0x5a81f9=_0x36743a();return null==_0x5a81f9?(_0x124013(),_0x18b074([0x56,0x61,0x6c,0x69,0x64])):_0x18b074(_0x36edcb-_0x5a81f9>(0x19f340e1^_0x582b0d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18b074([0x74,0x68,0x65,0x6e])](_0x1f19a6)[_0x18b074([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f19a6(_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x119d79=0x3dc92a61^_0x582b0d;function _0x124013(){const _0x875aac=_0x18b074([0x6c,0x6c,0x63,0x74,0x2d])+_0x138795(_0x4d755f(_0xaff0a7)),_0x5c1d6e=_0x595e39(_0x138795(window[_0x18b074([0x4d,0x61,0x74,0x68])][_0x18b074([0x63,0x65,0x69,0x6c])](_0x36edcb/_0x119d79)));window[_0x18b074([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18b074([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x875aac,_0x5c1d6e);}function _0x36743a(){const _0x4ee753=_0x18b074([0x6c,0x6c,0x63,0x74,0x2d])+_0x138795(_0x4d755f(_0xaff0a7)),_0x2f605b=window[_0x18b074([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18b074([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ee753);return _0x2f605b?window[_0x18b074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x595e39(_0x2f605b),0x10)*_0x119d79:null;}function _0xfb4395(_0x5d80bc){return new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47b727,_0x31bd2e)=>{_0x5d80bc[_0x18b074([0x74,0x68,0x65,0x6e])](_0x47b727,_0x31bd2e),window[_0x18b074([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31bd2e,0x3dfe1021^_0x582b0d);});}}_0x50afd3[_0x18b074([0x6f,0x6e])](_0x18b074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9d9759,_0x1ba411)=>{if(_0x1ba411[0x0]!=_0xaff0a7)return _0x1f19a6(_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ba411[0x1]={..._0x1ba411[0x1],[_0x18b074([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30e98f};},{[_0x18b074([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18b074([0x68,0x69,0x67,0x68])}),_0x50afd3[_0x18b074([0x6f,0x6e])](_0x18b074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a22c0=>{_0xc060f(_0x5a22c0[_0x18b074([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27ff03=!0x0,_0x33df3d(_0x5a22c0[_0x18b074([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18b074([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18b074([0x6c,0x6f,0x77])}),_0x97f047[_0x18b074([0x74,0x68,0x65,0x6e])](()=>{_0x27ff03||_0x1f19a6(_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32c182(){return _0x50afd3[_0x18b074([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18b074([0x76,0x69,0x65,0x77])][_0x18b074([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18b074([0x61,0x75,0x74,0x6f]);}function _0x276a3a(){_0x50afd3[_0x18b074([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18b074([0x76,0x69,0x65,0x77])][_0x18b074([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18b074([0x61,0x75,0x74,0x6f]);}}function _0x5edcbd(_0x137766){const _0x107e66=[new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37c764=>setTimeout(_0x37c764,0x3df6fa2d^_0x582b0d)),_0x97f047[_0x18b074([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35194e=>{let _0x4c36a6=0x0;_0x50afd3[_0x18b074([0x6d,0x6f,0x64,0x65,0x6c])][_0x18b074([0x6f,0x6e])](_0x18b074([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x264fb2,_0x41fa78)=>{_0x41fa78[0x0][_0x18b074([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c36a6++,_0x4c36a6==(0x3dffc109^_0x582b0d)&&(_0x35194e(),_0x264fb2[_0x18b074([0x6f,0x66,0x66])]());});}))];return window[_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18b074([0x72,0x61,0x63,0x65])](_0x107e66)[_0x18b074([0x74,0x68,0x65,0x6e])](()=>_0x137766);}async function _0x5a6592(){await _0x97f047,_0x50afd3[_0x18b074([0x6d,0x6f,0x64,0x65,0x6c])][_0x18b074([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59fe18,_0x50afd3[_0x18b074([0x6d,0x6f,0x64,0x65,0x6c])][_0x18b074([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59fe18,_0x50afd3[_0x18b074([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18b074([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38da2d(_0x3e6cab){const _0x4b8034=_0x181695();_0x50afd3[_0x4b8034]=_0x18b074([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e6cab,_0x3e6cab!=_0x18b074([0x56,0x61,0x6c,0x69,0x64])&&_0x5a6592();}function _0x181695(){const _0x1e7da6=window[_0x18b074([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18b074([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18b074([0x6e,0x6f,0x77])]())[_0x18b074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18b074([0x2e]),'');let _0x25aea6=_0x18b074([0x6e]);for(let _0x3362f4=0x0;_0x3362f4<_0x1e7da6[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3362f4+=0x2){let _0x15d14b=window[_0x18b074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7da6[_0x18b074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3362f4,_0x3362f4+0x2));_0x15d14b>=_0x37548f[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15d14b-=_0x37548f[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25aea6+=_0x37548f[_0x15d14b];}return _0x25aea6;}function _0x9cf50a(){const _0x5b9810=_0x2253d0[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e]));if(0x3!=_0x5b9810[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21f3c7(_0x5b9810[0x1]);function _0x21f3c7(_0xd2358a){const _0x54e099=_0x2a63e0(_0xd2358a);return _0x54e099&&_0x1bd931()?_0x54e099:null;function _0x1bd931(){const _0x659a3a=_0x54e099[_0x18b074([0x6a,0x74,0x69])],_0x161284=window[_0x18b074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x659a3a[_0x18b074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x659a3a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x957a1e={..._0x54e099,[_0x18b074([0x6a,0x74,0x69])]:_0x659a3a[_0x18b074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x659a3a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x957a1e[_0x18b074([0x76,0x63])],_0x4d755f(_0x957a1e)==_0x161284;}}}async function _0x6bc8fb(){let _0x498fbd=!0x0;try{const _0x1d899b=_0x2253d0[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e])),[_0x4df347,_0x28a065,_0xb2377f]=_0x1d899b;return _0x3c37f8(_0x4df347),await _0x225f98(_0x4df347,_0x28a065,_0xb2377f),_0x498fbd;}catch{return!0x1;}function _0x3c37f8(_0x5a46ca){const _0xbe187f=_0x2a63e0(_0x5a46ca);_0xbe187f&&_0xbe187f[_0x18b074([0x61,0x6c,0x67])]==_0x18b074([0x45,0x53,0x32,0x35,0x36])||(_0x498fbd=!0x1);}async function _0x225f98(_0x4d95bb,_0x321141,_0x5de7bd){const _0x27b6c7=window[_0x18b074([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18b074([0x66,0x72,0x6f,0x6d])](_0x2d8a38(_0x5de7bd),_0x36da49=>_0x36da49[_0x18b074([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x152dfc=new window[(_0x18b074([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18b074([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d95bb+_0x18b074([0x2e])+_0x321141),_0x56c09c=window[_0x18b074([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18b074([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56c09c)return;const _0x468dbb=await _0x56c09c[_0x18b074([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18b074([0x6a,0x77,0x6b]),_0x22e991,{[_0x18b074([0x6e,0x61,0x6d,0x65])]:_0x18b074([0x45,0x43,0x44,0x53,0x41]),[_0x18b074([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18b074([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18b074([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56c09c[_0x18b074([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18b074([0x6e,0x61,0x6d,0x65])]:_0x18b074([0x45,0x43,0x44,0x53,0x41]),[_0x18b074([0x68,0x61,0x73,0x68])]:{[_0x18b074([0x6e,0x61,0x6d,0x65])]:_0x18b074([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x468dbb,_0x27b6c7,_0x152dfc)||(_0x498fbd=!0x1);}}function _0x2a63e0(_0x53f032){return _0x53f032[_0x18b074([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18b074([0x65,0x79]))?JSON[_0x18b074([0x70,0x61,0x72,0x73,0x65])](_0x2d8a38(_0x53f032)):null;}function _0x2d8a38(_0x1bacd2){return window[_0x18b074([0x61,0x74,0x6f,0x62])](_0x1bacd2[_0x18b074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18b074([0x2b]))[_0x18b074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18b074([0x2f])));}function _0x4d755f(_0x5e5132){let _0x523ec4=0x1505;function _0xa21c77(_0x5a6bc6){for(let _0x4c63b5=0x0;_0x4c63b5<_0x5a6bc6[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c63b5++){const _0x43f250=_0x5a6bc6[_0x18b074([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c63b5);_0x523ec4=(_0x523ec4<<0x5)+_0x523ec4+_0x43f250,_0x523ec4&=_0x523ec4;}}function _0x4502fb(_0x1eec14){Array[_0x18b074([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1eec14)?_0x1eec14[_0x18b074([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4502fb):_0x1eec14&&typeof _0x1eec14==_0x18b074([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18b074([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1eec14)[_0x18b074([0x73,0x6f,0x72,0x74])]()[_0x18b074([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47f325,_0x30040a])=>{_0xa21c77(_0x47f325),_0x4502fb(_0x30040a);}):_0xa21c77(window[_0x18b074([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1eec14));}return _0x4502fb(_0x5e5132),_0x523ec4>>>0x0;}function _0x138795(_0x27f0ee){return _0x27f0ee[_0x18b074([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18b074([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18b074([0x30]));}function _0x595e39(_0x1ed206){return _0x1ed206[_0x18b074([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18b074([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18b074([0x6a,0x6f,0x69,0x6e])]('');}function _0x59fe18(){}function _0x18b074(_0x93f743){const _0x596292=_0x354e;return _0x93f743[_0x596292(0x1ed)](_0x3854dc=>String[_0x596292(0x22b)](_0x3854dc))[_0x596292(0x225)]('');}_0x38da2d(await _0x2e845b());}(this);}[_0x1ffd05(0x206)](){const _0x253241=_0x1ffd05,_0x443715=this[_0x253241(0x1f1)][_0x253241(0x207)];_0x443715[_0x253241(0x255)](_0x5f9ec9=>{const _0x48d170=_0x253241,_0x4e2233=_0x443715[_0x48d170(0x22c)][_0x48d170(0x24a)][_0x48d170(0x235)]();let _0x2f508b=0x0;for(const _0x2c65b9 of _0x4e2233){const _0x363c29=f+':'+_0x2f508b;if(_0x443715[_0x48d170(0x209)][_0x48d170(0x249)](_0x363c29))_0x5f9ec9[_0x48d170(0x1e7)](_0x363c29,{'range':_0x2c65b9});else{if(_0x2c65b9[_0x48d170(0x212)][_0x48d170(0x227)]){const _0x521709=_0x2c65b9[_0x48d170(0x212)][_0x48d170(0x240)](({item:_0x44faec})=>!_0x443715[_0x48d170(0x1f5)][_0x48d170(0x237)](_0x44faec),{'boundaries':_0x2c65b9});_0x5f9ec9[_0x48d170(0x219)](_0x363c29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5f9ec9[_0x48d170(0x214)](_0x521709,_0x2c65b9[_0x48d170(0x20a)])});}else _0x5f9ec9[_0x48d170(0x219)](_0x363c29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2c65b9});}_0x2f508b++;}});}[_0x1ffd05(0x1e9)](){const _0x18f4a0=_0x1ffd05,_0x25450b=this[_0x18f4a0(0x1f1)][_0x18f4a0(0x207)],_0x337160=Array[_0x18f4a0(0x21d)](this[_0x18f4a0(0x1f1)][_0x18f4a0(0x207)][_0x18f4a0(0x209)][_0x18f4a0(0x24d)](f));_0x337160[_0x18f4a0(0x1f7)]&&_0x25450b[_0x18f4a0(0x255)](_0x5c3629=>{const _0x4f01c3=_0x18f4a0;_0x337160[_0x4f01c3(0x1fd)](_0x47dd58=>{const _0x31497b=_0x4f01c3;_0x5c3629[_0x31497b(0x23a)](_0x47dd58);});});}[_0x1ffd05(0x226)](_0x270c7a,_0x291390){const _0x1e2d25=_0x1ffd05,_0x63baa7=this[_0x1e2d25(0x223)](),_0x158923=_0x291390||_0x63baa7[_0x1e2d25(0x20e)]();this[_0x1e2d25(0x1f1)][_0x1e2d25(0x207)][_0x1e2d25(0x220)](_0x158923)&&this[_0x1e2d25(0x1f1)][_0x1e2d25(0x207)][_0x1e2d25(0x255)](_0x56832c=>{const _0x1d9786=_0x1e2d25;this[_0x1d9786(0x1e9)](),_0x291390||this[_0x1d9786(0x21e)](_0x56832c,_0x63baa7),this[_0x1d9786(0x1e8)]({'insertAt':_0x158923,'writer':_0x56832c,'html':_0x270c7a});});}[_0x1ffd05(0x238)](_0x6a2ae8){const _0x59a47a=_0x1ffd05,{model:_0x4b0992}=this[_0x59a47a(0x1f1)],_0x4169b5=this[_0x59a47a(0x223)]();_0x4b0992[_0x59a47a(0x255)](()=>{const _0x4cd0b5=_0x59a47a,_0x58d95b=this[_0x4cd0b5(0x230)](_0x6a2ae8,_0x4169b5)||this[_0x4cd0b5(0x1f4)](_0x4169b5);this[_0x4cd0b5(0x226)](_0x6a2ae8,_0x58d95b);});}[_0x1ffd05(0x223)](){const _0x859032=_0x1ffd05,_0xbb1991=this[_0x859032(0x1f1)][_0x859032(0x207)],_0x35f290=Array[_0x859032(0x21d)](_0xbb1991[_0x859032(0x209)][_0x859032(0x24d)](f))[_0x859032(0x1ed)](_0x3f30f3=>_0x3f30f3[_0x859032(0x23f)]());return _0xbb1991[_0x859032(0x204)](_0x35f290);}[_0x1ffd05(0x1e8)]({writer:_0x5ce462,html:_0xa6c51,insertAt:_0xc2bf4}){const _0x443fc2=_0x1ffd05,{view:_0x55f39b}=this[_0x443fc2(0x1f1)][_0x443fc2(0x1f8)],_0x33260f=this[_0x443fc2(0x1f1)][_0x443fc2(0x208)][_0x443fc2(0x1fb)](_0x5f0ee1),_0x53a967=new w();_0x53a967[_0x443fc2(0x203)](_0x443fc2(0x229),_0xa6c51);const _0x4e3b98=new ClipboardEvent(_0x443fc2(0x20b),{'clipboardData':_0x53a967}),_0x291cab=new _0xcf51db(_0x55f39b,_0x4e3b98,{'dataTransfer':new _0x550eb4(_0x53a967)});_0x5ce462[_0x443fc2(0x232)](_0xc2bf4);const _0x52cf5f=(_0xcffd52,_0x1871a5)=>{const _0x70eaf2=_0x443fc2;_0x1871a5[_0x70eaf2(0x221)]&&_0x5ce462[_0x70eaf2(0x232)](_0x1871a5[_0x70eaf2(0x221)]);};_0x33260f[_0x443fc2(0x1fe)](_0x443fc2(0x1f6),_0x52cf5f,{'priority':_0x443fc2(0x211)}),_0x55f39b[_0x443fc2(0x22c)][_0x443fc2(0x1ef)](_0x443fc2(0x20b),_0x291cab),_0x33260f[_0x443fc2(0x247)](_0x443fc2(0x1f6),_0x52cf5f);}[_0x1ffd05(0x1f4)](_0xcd9ba4){const _0xee4396=_0x1ffd05,{model:_0x40196a}=this[_0xee4396(0x1f1)],_0x4ab923=Array[_0xee4396(0x21d)](_0xcd9ba4[_0xee4396(0x242)]());return _0x4ab923[_0xee4396(0x1f7)]?_0x40196a[_0xee4396(0x218)](_0x4ab923[_0xee4396(0x1ec)]()):_0xcd9ba4[_0xee4396(0x24e)]();}[_0x1ffd05(0x230)](_0x3c1b73,_0x3e6d24){const _0x3af1b6=_0x1ffd05,{model:_0x23c5bc,plugins:_0x1b0bc1}=this[_0x3af1b6(0x1f1)];if(_0x1b0bc1[_0x3af1b6(0x249)](_0x3af1b6(0x234))){const _0x2c2678=_0x1b0bc1[_0x3af1b6(0x1fb)](_0x3af1b6(0x234))[_0x3af1b6(0x21f)](_0x3e6d24);if(_0x2c2678[_0x3af1b6(0x1f7)]){const _0x5bc483=this[_0x3af1b6(0x24c)](_0x3c1b73),_0x53ab8a=this[_0x3af1b6(0x22e)](_0x2c2678,_0x5bc483);return _0x23c5bc[_0x3af1b6(0x250)](_0x53ab8a,0x0);}}return null;}[_0x1ffd05(0x24c)](_0x364492){const _0x25cf58=_0x1ffd05,_0x2ca5dc=this[_0x25cf58(0x1f1)][_0x25cf58(0x208)][_0x25cf58(0x1fb)](_0x25cf58(0x234)),_0x5609a7=this[_0x25cf58(0x1f1)][_0x25cf58(0x241)][_0x25cf58(0x224)](_0x364492),_0x18de65=Array[_0x25cf58(0x21d)](_0x5609a7[_0x25cf58(0x252)]())[_0x25cf58(0x23b)](_0x1fb0c5=>_0x1fb0c5['is'](_0x25cf58(0x23d),_0x25cf58(0x1eb)));let _0x183146=0x0;return _0x18de65[_0x25cf58(0x1fd)](_0x2b4f7d=>{const _0x155632=_0x25cf58;_0x183146+=_0x2ca5dc[_0x155632(0x236)](_0x2b4f7d);}),_0x183146;}[_0x1ffd05(0x22e)](_0x2f6841,_0x22bba0){const _0x292f28=_0x1ffd05,_0x301b9d=this[_0x292f28(0x1f1)][_0x292f28(0x208)][_0x292f28(0x1fb)](_0x292f28(0x234)),_0x53d9fa=_0x301b9d[_0x292f28(0x245)](_0x2f6841),_0x1ff07b=_0x301b9d[_0x292f28(0x248)](_0x2f6841),_0x100296=_0x53d9fa[_0x292f28(0x20c)]+0x1,_0x989f9e=_0x1ff07b[_0x292f28(0x1fc)],_0x3ea7ed=_0x2f6841[0x0][_0x292f28(0x246)](_0x292f28(0x1eb));for(let _0x17e4cd=0x0;_0x17e4cd<_0x22bba0;_0x17e4cd++)_0x301b9d[_0x292f28(0x222)](_0x3ea7ed,{'at':_0x100296});return _0x3ea7ed[_0x292f28(0x1f0)](_0x100296)[_0x292f28(0x1f0)](_0x989f9e);}[_0x1ffd05(0x21e)](_0x5657fb,_0x1701c5){const _0x3f9918=_0x1ffd05,{plugins:_0x10c98e}=this[_0x3f9918(0x1f1)],{model:_0x2aec65}=_0x5657fb;if(!_0x10c98e[_0x3f9918(0x249)](_0x3f9918(0x234)))return;_0x10c98e[_0x3f9918(0x1fb)](_0x3f9918(0x234))[_0x3f9918(0x21f)](_0x1701c5)[_0x3f9918(0x1f7)]&&_0x2aec65[_0x3f9918(0x205)](_0x1701c5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d8bab=_0x5d23;function _0x3a03(){const _0x5123c5=['currentContext','EDITOR_TOP_SIDE','7023621lovnpt','schema','8978688ZtxYwh','selection','isOfficialPlugin','order','_aiAssistantController','AIAssistant','_getResolvedCommandsDefinitions','componentFactory','_commandDefinitions','change','destroy','ai.assistant.contentAreaCssClass','textAdapter','model','showUI','requiresContent','ai-commands-config-order-collision','includes','delegate','change:isError','getSelectedBlocks','init','getData','document','reset','once','text/html','menuBar:aiCommands','items','hideFakeVisualSelection','change:value','buttonView','fieldView','plugins','AI\x20is\x20writing','aiLicenseKeyUsageLimit','view','update','aiAssistant','aiLicenseKeyDomainLimit','738LeoNCJ','aiLicenseKeyValid','insertContentBelow','906770NFoFjb','_showLicenseError','Error\x20during\x20AI\x20content\x20generation:\x20%0','length','ck-ai-assistant-button\x20','command:','menuPanelClass','comment','from','isFlat','featureNotAllowed','hide','source','_initView','_createAIAssistantUIButton','updateView','show','invalid','editor','</p>','ai.assistant.disabledElements','push','addMany','evaluationLimit','buttons','Generated\x20content:\x20%0','aiLicenseKeyNotAllowed','expired','_licenseKeyCheckInterval','render','ck-ai-assistant-ui','3473FGjNvW','replaceContent','isEnabled','_initAriaAiStatusChangeAnnouncements','AI\x20Commands','groupId','AIAssistantUI','<p>','body','5608659bPMMDW','children','filter','36eSXtiw','change:enabledCommandsIds','aiLicenseKeyInvalid','aiCommands','requires','rawHtml','polite','_uiCssClasses','9MtblJy','media','REPLACE','pluginName','label','splice','menuitemcheckbox','copy','enabledCommandsIds','panelView','_aiAdapter','hideUI','errorView','licenseKey','getLimitElement','locale','getRanges','change:isProcessing','isCollapsed','_onExecute','DataTransfer','prompt','sort','add','menuView','ck-ai-commands-dropdown\x20','map','3ogdpTn','bind','updatePosition','replace','custom','wasMoved','5tgfNoI','set','define','queryView','commands','isPremiumPlugin','text','aiLicenseKeyExpired','1854268kCksNo','_forceMarkersCopy','ai.assistant.commands','AI\x20Assistant','_dialog','menuBar:aiAssistant','INSERT','isOn','focus','promptView','aiLicenseKeyEvaluationLimit','_formView','domainLimit','groupLabel','trim','tableOfContents','listenTo','forEach','get','668046VAWOmv','_populateMenuBarMenu','setSelection','fire','insertContent','config','getSelectedElement','contentArea','editing','\x20ck-ai-assistant-ui_theme','announce','ai.assistant.useTheme','usageLimit','_getMenuBarGroupButtons','showAIAssistant','execute','values','showFakeVisualSelection'];_0x3a03=function(){return _0x5123c5;};return _0x3a03();}function _0x5d23(_0x7b4b64,_0x1f2863){const _0x3a038b=_0x3a03();return _0x5d23=function(_0x5d2330,_0x353ab8){_0x5d2330=_0x5d2330-0x1bd;let _0x1cce77=_0x3a038b[_0x5d2330];return _0x1cce77;},_0x5d23(_0x7b4b64,_0x1f2863);}(function(_0x80a122,_0x3ab065){const _0x2e95d7=_0x5d23,_0x3ac6fd=_0x80a122();while(!![]){try{const _0x5b8348=-parseInt(_0x2e95d7(0x1da))/0x1*(-parseInt(_0x2e95d7(0x268))/0x2)+parseInt(_0x2e95d7(0x209))/0x3*(-parseInt(_0x2e95d7(0x217))/0x4)+parseInt(_0x2e95d7(0x20f))/0x5*(parseInt(_0x2e95d7(0x22a))/0x6)+parseInt(_0x2e95d7(0x1e3))/0x7+parseInt(_0x2e95d7(0x240))/0x8+-parseInt(_0x2e95d7(0x1ee))/0x9*(parseInt(_0x2e95d7(0x26b))/0xa)+-parseInt(_0x2e95d7(0x23e))/0xb*(parseInt(_0x2e95d7(0x1e6))/0xc);if(_0x5b8348===_0x3ab065)break;else _0x3ac6fd['push'](_0x3ac6fd['shift']());}catch(_0x423095){_0x3ac6fd['push'](_0x3ac6fd['shift']());}}}(_0x3a03,0xceb52));import{Plugin as _0x10db4e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x46b99a,IconRobotPencil as _0x32100a}from'ckeditor5/src/icons.js';import{first as _0x19be7c,CKEditorError as _0x3a556a}from'ckeditor5/src/utils.js';import{createDropdown as _0x1ac72a,addMenuToDropdown as _0x3d936c,ButtonView as _0x51a1a2,MenuBarMenuListItemButtonView as _0x24aeaf,Dialog as _0x4eb651,DialogViewPosition as _0xc235cb,MenuBarMenuView as _0x5f048d,MenuBarMenuListView as _0x67cf38,MenuBarMenuListItemView as _0x31057c}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1cf33d,UNGROUPED_COMMANDS_GROUP_ID as _0x34b311}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x577f5c}from'./aiassistantediting.js';import{AIAdapter as _0x2853ad}from'./adapters/aiadapter.js';import{getTranslation as _0x52c255}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x52bd89}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x309f1f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0xeac431}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x276a3c}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x2d8bab(0x202)];import{ClipboardMarkersUtils as _0x247208}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5b5735,ViewDataTransfer as _0x4465f7}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x10db4e{[_0x2d8bab(0x1fb)];[_0x2d8bab(0x1d7)];[_0x2d8bab(0x21b)];[_0x2d8bab(0x222)];[_0x2d8bab(0x1f8)];[_0x2d8bab(0x244)];[_0x2d8bab(0x1ed)]='';static get[_0x2d8bab(0x1f1)](){const _0xefbe41=_0x2d8bab;return _0xefbe41(0x1e0);}static get[_0x2d8bab(0x242)](){return!0x0;}static get[_0x2d8bab(0x214)](){return!0x0;}static get[_0x2d8bab(0x1ea)](){return[_0x247208,_0x577f5c,_0x2853ad,_0x4eb651];}constructor(_0x48ae28){const _0x5655e7=_0x2d8bab;super(_0x48ae28),_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x211)](_0x5655e7(0x1cf),[_0x5655e7(0x1ef),_0x5655e7(0x1eb),_0x5655e7(0x226)]),_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x211)](_0x5655e7(0x24b),''),_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x211)](_0x5655e7(0x235),!0x0),this[_0x5655e7(0x1ed)]=_0x5655e7(0x1d9)+(_0x48ae28[_0x5655e7(0x22f)][_0x5655e7(0x229)](_0x5655e7(0x235))?_0x5655e7(0x233):'');}[_0x2d8bab(0x255)](){const _0x3fe180=_0x2d8bab,{editor:_0x4744f0}=this;this[_0x3fe180(0x1f8)]=_0x4744f0[_0x3fe180(0x261)][_0x3fe180(0x229)](_0x2853ad),this[_0x3fe180(0x21b)]=_0x4744f0[_0x3fe180(0x261)][_0x3fe180(0x229)](_0x4eb651),this[_0x3fe180(0x222)]=null,this[_0x3fe180(0x248)]=this[_0x3fe180(0x246)]();const _0x39954f=new _0x52bd89(_0x4744f0,Array[_0x3fe180(0x1c3)](this[_0x3fe180(0x248)][_0x3fe180(0x23a)]()));_0x4744f0[_0x3fe180(0x213)][_0x3fe180(0x205)](_0x3fe180(0x238),_0x39954f),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x1e9),_0x10ff4d=>{const _0x6a855d=_0x3fe180,_0x216937=_0x1ac72a(_0x10ff4d);return _0x216937[_0x6a855d(0x210)]({'class':_0x6a855d(0x207)+this[_0x6a855d(0x1ed)]}),_0x216937[_0x6a855d(0x25f)][_0x6a855d(0x210)]({'label':_0x52c255(_0x10ff4d,_0x6a855d(0x1de)),'icon':_0x46b99a,'tooltip':!0x0}),_0x216937['on'](_0x6a855d(0x239),_0x2a61a0=>this[_0x6a855d(0x201)](_0x2a61a0[_0x6a855d(0x1c7)]['id'])),_0x3d936c(_0x216937,_0x4744f0['ui'][_0x6a855d(0x264)][_0x6a855d(0x1e2)],function(_0x5a2ce0){const _0x17bac5=_0x6a855d,_0x58d01e=_0x1cf33d(_0x5a2ce0[_0x17bac5(0x22f)][_0x17bac5(0x229)](_0x17bac5(0x219)),_0x5a2ce0[_0x17bac5(0x1fd)]),_0x2e4152=B(_0x5a2ce0,_0x58d01e)[_0x17bac5(0x1e5)](_0x4010d2=>_0x4010d2[_0x17bac5(0x213)][_0x17bac5(0x1be)]);if(0x1===_0x2e4152[_0x17bac5(0x1be)])return B(_0x5a2ce0,_0x2e4152[0x0][_0x17bac5(0x213)])[_0x17bac5(0x208)](_0x20b0fc=>({'id':_0x20b0fc['id'],'label':_0x20b0fc[_0x17bac5(0x1f2)]}));return _0x2e4152[_0x17bac5(0x208)](_0x153433=>{const _0x564ccf=_0x17bac5,{groupId:_0x2493fa,groupLabel:_0x48aefb,commands:_0x5450b8}=_0x153433,_0x236171=B(_0x5a2ce0,_0x5450b8)[_0x564ccf(0x208)](_0xbf32c3=>({'id':_0xbf32c3['id'],'label':_0xbf32c3[_0x564ccf(0x1f2)]}));return{'id':_0x2493fa,'menu':_0x48aefb||_0x2493fa,'children':_0x236171};});}(_0x4744f0),{'ariaLabel':_0x52c255(_0x10ff4d,_0x6a855d(0x1de))}),_0x216937[_0x6a855d(0x206)][_0x6a855d(0x1c1)]=_0x6a855d(0x207)+this[_0x6a855d(0x1ed)],_0x39954f['on'](_0x6a855d(0x1e7),_0x47f6ea),_0x216937[_0x6a855d(0x206)][_0x6a855d(0x259)](_0x6a855d(0x1d8),_0x47f6ea),_0x216937;function _0x47f6ea(){const _0x144cf9=_0x6a855d;_0x216937[_0x144cf9(0x1dc)]=_0x39954f[_0x144cf9(0x1f6)][_0x144cf9(0x1be)]>0x0;for(const _0x306c1e of _0x216937[_0x144cf9(0x206)][_0x144cf9(0x1d3)])_0x306c1e[_0x144cf9(0x1dc)]=_0x39954f[_0x144cf9(0x1f6)][_0x144cf9(0x251)](_0x306c1e['id']);}}),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x25b),_0x132b69=>{const _0x3479cb=_0x3fe180,_0x5ada31=new _0x5f048d(_0x132b69);_0x5ada31[_0x3479cb(0x25f)][_0x3479cb(0x210)]({'label':_0x52c255(_0x132b69,_0x3479cb(0x1de)),'icon':_0x46b99a}),_0x5ada31[_0x3479cb(0x20a)](_0x3479cb(0x1dc))['to'](_0x39954f,_0x3479cb(0x1f6),_0x14248=>_0x14248[_0x3479cb(0x1be)]>0x0);const _0x57f8f1=_0x1cf33d(_0x4744f0[_0x3479cb(0x22f)][_0x3479cb(0x229)](_0x3479cb(0x219)),_0x132b69);return this[_0x3479cb(0x22b)](_0x39954f,_0x5ada31,_0x57f8f1,_0xdabf86=>this[_0x3479cb(0x201)](_0xdabf86)),_0x5ada31;}),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x266),()=>{const _0x4da3f9=_0x3fe180,_0x401905=this[_0x4da3f9(0x1c9)](_0x51a1a2);return _0x401905[_0x4da3f9(0x210)]({'tooltip':!0x0,'class':_0x4da3f9(0x1bf)+this[_0x4da3f9(0x1ed)]}),_0x401905;}),_0x4744f0['ui'][_0x3fe180(0x247)][_0x3fe180(0x205)](_0x3fe180(0x21c),()=>{const _0x979149=_0x3fe180,_0x3da26a=this[_0x979149(0x1c9)](_0x24aeaf);return _0x3da26a[_0x979149(0x210)]({'role':_0x979149(0x1f4)}),_0x3da26a;}),this[_0x3fe180(0x1fb)]=this[_0x3fe180(0x1cd)][_0x3fe180(0x22f)][_0x3fe180(0x229)](_0x3fe180(0x1fb));const _0x393d8e=this[_0x3fe180(0x1cd)];this[_0x3fe180(0x1d7)]=setInterval(()=>{const _0x5c6ee7=_0x3fe180;let _0x23ddc6;for(const _0x54f8f4 in _0x393d8e){const _0x5ec5fe=_0x54f8f4,_0x3f059b=_0x393d8e[_0x5ec5fe];if(_0x5c6ee7(0x269)==_0x3f059b||_0x5c6ee7(0x1e8)==_0x3f059b||_0x5c6ee7(0x216)==_0x3f059b||_0x5c6ee7(0x267)==_0x3f059b||_0x5c6ee7(0x1d5)==_0x3f059b||_0x5c6ee7(0x221)==_0x3f059b||_0x5c6ee7(0x263)==_0x3f059b){delete _0x393d8e[_0x5ec5fe],_0x23ddc6=_0x3f059b,clearInterval(this[_0x5c6ee7(0x1d7)]),this[_0x5c6ee7(0x1d7)]=void 0x0;break;}}_0x5c6ee7(0x1e8)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1cc)),_0x5c6ee7(0x216)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1d6)),_0x5c6ee7(0x267)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x223)),_0x5c6ee7(0x1d5)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1c5),_0x5c6ee7(0x245)),_0x5c6ee7(0x221)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x1d2)),_0x5c6ee7(0x263)==_0x23ddc6&&_0x393d8e[_0x5c6ee7(0x26c)](_0x5c6ee7(0x236));},0x3e8);}[_0x2d8bab(0x24a)](){const _0x4dc02d=_0x2d8bab;super[_0x4dc02d(0x24a)](),this[_0x4dc02d(0x1d7)]&&clearInterval(this[_0x4dc02d(0x1d7)]);}[_0x2d8bab(0x24e)](_0x20ef33='',_0x5780e0='',_0x4eb14d=_0x2d8bab(0x20d)){const _0x2822d0=_0x2d8bab,_0x52c336=this[_0x2822d0(0x1cd)],_0x233c43=_0x52c336[_0x2822d0(0x232)][_0x2822d0(0x264)],_0x3f6868=_0x52c336[_0x2822d0(0x261)][_0x2822d0(0x229)](_0x577f5c),_0x305f03=_0x52c336[_0x2822d0(0x261)][_0x2822d0(0x229)](_0x247208);_0x3f6868[_0x2822d0(0x23b)]();const _0xec1d51=new w(),_0x3eaf11=new ClipboardEvent(_0x2822d0(0x1f5),{'clipboardData':_0xec1d51}),_0x566604=new _0x4465f7(_0xec1d51),_0x407757=new _0x5b5735(_0x233c43,_0x3eaf11,{'dataTransfer':_0x566604});_0x305f03[_0x2822d0(0x218)](_0x2822d0(0x1c2),()=>{const _0x27f764=_0x2822d0;_0x233c43[_0x27f764(0x257)][_0x27f764(0x22d)](_0x27f764(0x1f5),_0x407757);}),this[_0x2822d0(0x222)]||(this[_0x2822d0(0x1c8)](),this[_0x2822d0(0x244)]=new _0x309f1f(_0x52c336,this[_0x2822d0(0x1f8)][_0x2822d0(0x24c)],this[_0x2822d0(0x222)]));let _0x2366a7=_0x566604[_0x2822d0(0x256)](_0x2822d0(0x25a));const _0x4f5f14=_0x52c336[_0x2822d0(0x24d)][_0x2822d0(0x257)][_0x2822d0(0x241)],_0x4dba21=Array[_0x2822d0(0x1c3)](_0x4f5f14[_0x2822d0(0x1fe)]());0x1===_0x4dba21[_0x2822d0(0x1be)]&&_0x4dba21[0x0][_0x2822d0(0x1c4)]&&!_0x4f5f14[_0x2822d0(0x230)]()&&''!==_0x2366a7[_0x2822d0(0x20c)](/ /g,'')[_0x2822d0(0x225)]()&&(_0x2366a7=_0x2822d0(0x1e1)+_0x2366a7+_0x2822d0(0x1ce)),this[_0x2822d0(0x244)][_0x2822d0(0x1ca)]({'actionId':_0x4eb14d,'query':_0x20ef33,'htmlContent':_0x2366a7,'label':_0x5780e0,'mainActionLabel':_0x276a3c[_0x52c336[_0x2822d0(0x24d)][_0x2822d0(0x257)][_0x2822d0(0x241)][_0x2822d0(0x200)]?_0x2822d0(0x21d):_0x2822d0(0x1f0)]}),_0x2822d0(0x266)!==this[_0x2822d0(0x21b)]['id']?this[_0x2822d0(0x21b)][_0x2822d0(0x1cb)]({'id':_0x2822d0(0x266),'icon':_0x32100a,'title':_0x52c255(this[_0x2822d0(0x1cd)][_0x2822d0(0x1fd)],_0x2822d0(0x21a)),'content':this[_0x2822d0(0x222)],'position':_0xc235cb[_0x2822d0(0x23d)],'onShow':()=>{const _0x53bb3d=_0x2822d0;this[_0x53bb3d(0x222)][_0x53bb3d(0x21f)]();},'onHide':()=>{const _0x383e96=_0x2822d0;this[_0x383e96(0x244)][_0x383e96(0x258)](),_0x3f6868[_0x383e96(0x25d)]();}}):this[_0x2822d0(0x21b)][_0x2822d0(0x264)][_0x2822d0(0x20e)]||this[_0x2822d0(0x21b)][_0x2822d0(0x264)][_0x2822d0(0x20b)]();}[_0x2d8bab(0x1f9)](){const _0x1cbc51=_0x2d8bab;this[_0x1cbc51(0x21b)][_0x1cbc51(0x1c6)]();}[_0x2d8bab(0x246)](){const _0x49a084=_0x2d8bab,_0x2ce1a8=new Map(),_0x561bc8=_0x1cf33d(this[_0x49a084(0x1cd)][_0x49a084(0x22f)][_0x49a084(0x229)](_0x49a084(0x219)),this[_0x49a084(0x1cd)][_0x49a084(0x1fd)]);for(const _0x2e19da of _0x561bc8)for(const _0x576bf9 of _0x2e19da[_0x49a084(0x213)])_0x2ce1a8[_0x49a084(0x210)](_0x576bf9['id'],{..._0x576bf9,'groupId':_0x2e19da[_0x49a084(0x1df)],'groupLabel':_0x2e19da[_0x49a084(0x224)]||_0x2e19da[_0x49a084(0x1df)]});return _0x2ce1a8;}[_0x2d8bab(0x1c9)](_0x883db9){const _0x387047=_0x2d8bab,_0x55bf97=this[_0x387047(0x1cd)],_0x197156=_0x55bf97[_0x387047(0x213)][_0x387047(0x229)](_0x387047(0x238)),_0x5ae7c8=new _0x883db9(_0x55bf97[_0x387047(0x1fd)]);return _0x5ae7c8[_0x387047(0x210)]({'label':_0x52c255(_0x55bf97[_0x387047(0x1fd)],_0x387047(0x21a)),'icon':_0x32100a,'isToggleable':!0x0}),_0x5ae7c8[_0x387047(0x20a)](_0x387047(0x1dc))['to'](_0x197156),_0x5ae7c8[_0x387047(0x20a)](_0x387047(0x21e))['to'](this[_0x387047(0x21b)],'id',_0xad5c6e=>_0x387047(0x266)===_0xad5c6e),this[_0x387047(0x227)](_0x5ae7c8,_0x387047(0x239),()=>{const _0x54bc0f=_0x387047;_0x5ae7c8[_0x54bc0f(0x21e)]?this[_0x54bc0f(0x1f9)]():_0x197156[_0x54bc0f(0x239)]();}),_0x5ae7c8;}[_0x2d8bab(0x1c8)](){const _0x45378a=_0x2d8bab,_0x5cd53c=this[_0x45378a(0x1cd)][_0x45378a(0x261)][_0x45378a(0x229)](_0x577f5c);this[_0x45378a(0x222)]=new _0xeac431(this[_0x45378a(0x1cd)][_0x45378a(0x1fd)],this[_0x45378a(0x1ed)],this[_0x45378a(0x1cd)][_0x45378a(0x22f)][_0x45378a(0x229)](_0x45378a(0x24b))),this[_0x45378a(0x222)]['on'](_0x45378a(0x25e),()=>{const _0x2d6d4d=_0x45378a;this[_0x2d6d4d(0x21b)][_0x2d6d4d(0x264)][_0x2d6d4d(0x20e)]||this[_0x2d6d4d(0x21b)][_0x2d6d4d(0x264)][_0x2d6d4d(0x20b)]();}),this[_0x45378a(0x222)][_0x45378a(0x220)][_0x45378a(0x212)][_0x45378a(0x260)]['on'](_0x45378a(0x265),()=>{const _0x1bbbca=_0x45378a;this[_0x1bbbca(0x21b)][_0x1bbbca(0x264)][_0x1bbbca(0x20e)]||this[_0x1bbbca(0x21b)][_0x1bbbca(0x264)][_0x1bbbca(0x20b)]();}),this[_0x45378a(0x227)](this[_0x45378a(0x222)],_0x45378a(0x1db),()=>{const _0x1388cb=_0x45378a;_0x5cd53c[_0x1388cb(0x22e)](this[_0x1388cb(0x244)][_0x1388cb(0x23c)]),this[_0x1388cb(0x1f9)]();}),this[_0x45378a(0x227)](this[_0x45378a(0x222)],_0x45378a(0x26a),()=>{const _0x3ba026=_0x45378a;_0x5cd53c[_0x3ba026(0x26a)](this[_0x3ba026(0x244)][_0x3ba026(0x23c)]),this[_0x3ba026(0x1f9)]();}),this[_0x45378a(0x1dd)]();}[_0x2d8bab(0x1dd)](){const _0x57b40a=_0x2d8bab,{locale:_0x158ec1,ui:{ariaLiveAnnouncer:_0xff2ebe}}=this[_0x57b40a(0x1cd)];this[_0x57b40a(0x222)][_0x57b40a(0x231)]['on'](_0x57b40a(0x1ff),(_0x4a7099,_0x2cee01,_0x54d4b9)=>{const _0xe65d53=_0x57b40a,_0x3b361d=this[_0xe65d53(0x244)][_0xe65d53(0x23c)];_0x54d4b9?_0xff2ebe[_0xe65d53(0x234)](_0x52c255(_0x158ec1,_0xe65d53(0x262))):_0x3b361d&&_0xff2ebe[_0xe65d53(0x234)](_0x52c255(_0x158ec1,_0xe65d53(0x1d4),_0x3b361d),{'politeness':_0xe65d53(0x1ec),'isUnsafeHTML':!0x0});}),this[_0x57b40a(0x222)]['on'](_0x57b40a(0x253),(_0x2bbab2,_0x246d95,_0x292c54)=>{const _0x53a189=_0x57b40a;if(_0x292c54){const _0x5310ea=this[_0x53a189(0x222)][_0x53a189(0x1fa)][_0x53a189(0x215)];_0xff2ebe[_0x53a189(0x234)](_0x52c255(_0x158ec1,_0x53a189(0x1bd),_0x5310ea));}});}[_0x2d8bab(0x201)](_0x42ec8b){const _0x1d70bd=_0x2d8bab,_0x32ab0e=this[_0x1d70bd(0x248)][_0x1d70bd(0x229)](_0x42ec8b),_0x4170fa=this[_0x1d70bd(0x1cd)],_0x1c4ed0=_0x4170fa[_0x1d70bd(0x24d)][_0x1d70bd(0x257)][_0x1d70bd(0x241)],_0x50ee04=_0x4170fa[_0x1d70bd(0x213)][_0x1d70bd(0x229)](_0x1d70bd(0x238)),_0x62d14a=_0x4170fa[_0x1d70bd(0x261)][_0x1d70bd(0x229)](_0x577f5c),_0x55a27e=''+(_0x32ab0e[_0x1d70bd(0x1df)]!==_0x34b311?_0x32ab0e[_0x1d70bd(0x224)]+':\x20':'')+_0x32ab0e[_0x1d70bd(0x1f2)];if(!0x1!==_0x32ab0e[_0x1d70bd(0x24f)]&&_0x1c4ed0[_0x1d70bd(0x200)]){const _0x438b9e=_0x19be7c(_0x1c4ed0[_0x1d70bd(0x254)]())||_0x4170fa[_0x1d70bd(0x24d)][_0x1d70bd(0x23f)][_0x1d70bd(0x1fc)](_0x1c4ed0);_0x4170fa[_0x1d70bd(0x24d)][_0x1d70bd(0x249)](_0x2d72e7=>{const _0x584999=_0x1d70bd;_0x2d72e7[_0x584999(0x22c)](_0x438b9e,'in');});}_0x62d14a[_0x1d70bd(0x23b)](),_0x50ee04[_0x1d70bd(0x239)](_0x32ab0e[_0x1d70bd(0x203)],_0x55a27e,_0x1d70bd(0x1c0)+_0x42ec8b);}[_0x2d8bab(0x22b)](_0x342e6c,_0x974ec3,_0x266d6c,_0xef39f4){const _0x3d3c2f=_0x2d8bab,_0x29c921=this[_0x3d3c2f(0x1cd)],_0xaced9=_0x29c921[_0x3d3c2f(0x1fd)],_0x1d9f02=new _0x67cf38(_0xaced9),_0xdae99a=B(_0x29c921,_0x266d6c)[_0x3d3c2f(0x1e5)](_0x2b4468=>_0x2b4468[_0x3d3c2f(0x213)][_0x3d3c2f(0x1be)]);0x1===_0xdae99a[_0x3d3c2f(0x1be)]?this[_0x3d3c2f(0x237)]({'command':_0x342e6c,'commands':_0xdae99a[0x0][_0x3d3c2f(0x213)],'parentMenuView':_0x974ec3,'onExecute':_0xef39f4})[_0x3d3c2f(0x228)](_0x1c5cbe=>_0x1d9f02[_0x3d3c2f(0x25c)][_0x3d3c2f(0x205)](_0x1c5cbe)):_0xdae99a[_0x3d3c2f(0x228)](({groupId:_0x311319,groupLabel:_0x4999ed,commands:_0x4eda47})=>{const _0x5e1ba6=_0x3d3c2f,_0x51b1cc=new _0x31057c(_0xaced9,_0x974ec3),_0x258de8=new _0x5f048d(_0xaced9),_0x12e53e=new _0x67cf38(_0xaced9),_0x3e284f=this[_0x5e1ba6(0x237)]({'command':_0x342e6c,'commands':_0x4eda47,'parentMenuView':_0x258de8,'onExecute':_0xef39f4});_0x258de8[_0x5e1ba6(0x25f)][_0x5e1ba6(0x210)]({'label':_0x4999ed||_0x311319}),_0x258de8[_0x5e1ba6(0x252)](_0x5e1ba6(0x239))['to'](_0x974ec3),_0x12e53e[_0x5e1ba6(0x25c)][_0x5e1ba6(0x1d1)](_0x3e284f),_0x258de8[_0x5e1ba6(0x1f7)][_0x5e1ba6(0x1e4)][_0x5e1ba6(0x205)](_0x12e53e),_0x51b1cc[_0x5e1ba6(0x1e4)][_0x5e1ba6(0x205)](_0x258de8),_0x1d9f02[_0x5e1ba6(0x25c)][_0x5e1ba6(0x205)](_0x51b1cc);}),_0x974ec3[_0x3d3c2f(0x1f7)][_0x3d3c2f(0x1e4)][_0x3d3c2f(0x205)](_0x1d9f02);}[_0x2d8bab(0x237)]({command:_0x36a2b5,commands:_0x4d9c5f,parentMenuView:_0x3a2fb5,onExecute:_0x20b582}){const _0x2c303b=_0x2d8bab,_0x1c8908=this[_0x2c303b(0x1cd)],_0x31c691=_0x1c8908[_0x2c303b(0x1fd)];return B(_0x1c8908,_0x4d9c5f)[_0x2c303b(0x208)](_0x351640=>{const _0x101884=_0x2c303b,_0x4efd69=new _0x31057c(_0x31c691,_0x3a2fb5),_0x41455a=new _0x24aeaf(_0x31c691);return _0x41455a[_0x101884(0x210)]({'label':_0x351640[_0x101884(0x1f2)]}),_0x41455a[_0x101884(0x252)](_0x101884(0x239))['to'](_0x3a2fb5),_0x41455a['on'](_0x101884(0x239),()=>_0x20b582(_0x351640['id'])),_0x41455a[_0x101884(0x20a)](_0x101884(0x1dc))['to'](_0x36a2b5,_0x101884(0x1f6),_0x37bb46=>_0x37bb46[_0x101884(0x251)](_0x351640['id'])),_0x4efd69[_0x101884(0x1e4)][_0x101884(0x205)](_0x41455a),_0x4efd69;});}}function U(_0xb9f0a1,_0x73858f){const _0x169ca8=_0x2d8bab;return void 0x0!==_0xb9f0a1[_0x169ca8(0x243)]&&void 0x0===_0x73858f[_0x169ca8(0x243)]?0x1:void 0x0===_0xb9f0a1[_0x169ca8(0x243)]&&void 0x0!==_0x73858f[_0x169ca8(0x243)]?-0x1:void 0x0!==_0xb9f0a1[_0x169ca8(0x243)]&&void 0x0!==_0x73858f[_0x169ca8(0x243)]?_0xb9f0a1[_0x169ca8(0x243)]-_0x73858f[_0x169ca8(0x243)]:0x0;}function B(_0x46072d,_0x1f294c){const _0x1066e8=_0x2d8bab;_0x1f294c[_0x1066e8(0x204)](U);const _0x4171fe={},_0x339def=[];for(const _0x587399 of _0x1f294c)if(void 0x0!==_0x587399[_0x1066e8(0x243)]){if(_0x587399[_0x1066e8(0x243)]in _0x4171fe)throw new _0x3a556a(_0x1066e8(0x250),_0x46072d,{'conflictingDefinitions':[_0x587399,_0x4171fe[_0x587399[_0x1066e8(0x243)]]]});_0x4171fe[_0x587399[_0x1066e8(0x243)]]=_0x587399,_0x339def[_0x1066e8(0x1f3)](_0x587399[_0x1066e8(0x243)],0x0,_0x587399);}else _0x339def[_0x1066e8(0x1d0)](_0x587399);return _0x339def;}
|
|
23
|
+
const _0xf6f6be=_0x427d;(function(_0xe2bc1e,_0x5a64bf){const _0x956c1d=_0x427d,_0x3c36aa=_0xe2bc1e();while(!![]){try{const _0x286701=parseInt(_0x956c1d(0x24c))/0x1*(-parseInt(_0x956c1d(0x20e))/0x2)+-parseInt(_0x956c1d(0x1f2))/0x3+-parseInt(_0x956c1d(0x21c))/0x4*(-parseInt(_0x956c1d(0x1f7))/0x5)+-parseInt(_0x956c1d(0x217))/0x6+parseInt(_0x956c1d(0x22e))/0x7+parseInt(_0x956c1d(0x1cb))/0x8*(-parseInt(_0x956c1d(0x21d))/0x9)+parseInt(_0x956c1d(0x22f))/0xa;if(_0x286701===_0x5a64bf)break;else _0x3c36aa['push'](_0x3c36aa['shift']());}catch(_0x3ac6d6){_0x3c36aa['push'](_0x3c36aa['shift']());}}}(_0x2c37,0xaac3e));import{Plugin as _0x55ef3f}from'ckeditor5/src/core.js';import{IconMagicWand as _0xd71cee,IconRobotPencil as _0x199562}from'ckeditor5/src/icons.js';import{first as _0x539f4c,CKEditorError as _0x2437be}from'ckeditor5/src/utils.js';function _0x427d(_0x41bb9d,_0x242f51){const _0x2c3726=_0x2c37();return _0x427d=function(_0x427d3d,_0x4486a3){_0x427d3d=_0x427d3d-0x1bc;let _0x4e39ef=_0x2c3726[_0x427d3d];return _0x4e39ef;},_0x427d(_0x41bb9d,_0x242f51);}import{createDropdown as _0x1498b2,addMenuToDropdown as _0x4bde7b,ButtonView as _0x49e921,MenuBarMenuListItemButtonView as _0x285822,Dialog as _0x33e5f1,DialogViewPosition as _0x1af00d,MenuBarMenuView as _0x2c71b8,MenuBarMenuListView as _0x201dfc,MenuBarMenuListItemView as _0x5e081e}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x2ea3c0,UNGROUPED_COMMANDS_GROUP_ID as _0x53965a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0xd5b8c0}from'./aiassistantediting.js';import{AIAdapter as _0x86d269}from'./adapters/aiadapter.js';import{getTranslation as _0x3f0d29}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x12b4ed}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x3b1811}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3e5bc2}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2d4177}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0xf6f6be(0x248)];import{ClipboardMarkersUtils as _0x3831b6}from'ckeditor5/src/clipboard.js';function _0x2c37(){const _0x21f997=['aiAssistant','items','_onExecute','usageLimit','componentFactory','ck-ai-assistant-ui','label','selection','ck-ai-commands-dropdown\x20','getLimitElement','custom','_aiAdapter','change:value','setSelection','1729422yhquIW','_aiAssistantController','menuBar:aiCommands','source','EDITOR_TOP_SIDE','5AkgkZM','updatePosition','commands','render','menuitemcheckbox','aiLicenseKeyUsageLimit','featureNotAllowed','_getMenuBarGroupButtons','addMany','showFakeVisualSelection','\x20ck-ai-assistant-ui_theme','forEach','comment','queryView','length','change:isProcessing','announce','values','locale','buttonView','getData','isFlat','AI\x20Commands','2ytaRak','_initAriaAiStatusChangeAnnouncements','includes','ck-ai-assistant-button\x20','REPLACE','bind','copy','get','change','2202504wxRJcU','menuPanelClass','sort','_licenseKeyCheckInterval','view','5147804NbFjDT','606402aYejfG','from','_showLicenseError','polite','rawHtml','_formView','children','ai.assistant.contentAreaCssClass','reset','isOfficialPlugin','promptView','insertContentBelow','AI\x20is\x20writing','isEnabled','add','getRanges','show','1061102guFrKp','9998210acjoxs','errorView','AIAssistant','showAIAssistant','</p>','panelView','trim','textAdapter','isCollapsed','model','init','tableOfContents','push','aiLicenseKeyDomainLimit','editing','aiLicenseKeyEvaluationLimit','hideUI','map','expired','_dialog','AI\x20Assistant','listenTo','AIAssistantUI','replace','fire','DataTransfer','getSelectedBlocks','_commandDefinitions','change:enabledCommandsIds','256322nznzNt','text','filter','_createAIAssistantUIButton','ai-commands-config-order-collision','wasMoved','evaluationLimit','<p>','_initView','licenseKey','domainLimit','menuView','_forceMarkersCopy','requiresContent','editor','aiLicenseKeyValid','insertContent','_uiCssClasses','invalid','currentContext','_getResolvedCommandsDefinitions','schema','fieldView','aiLicenseKeyNotAllowed','delegate','Error\x20during\x20AI\x20content\x20generation:\x20%0','execute','change:isError','define','isPremiumPlugin','INSERT','aiLicenseKeyExpired','hide','isOn','showUI','menuBar:aiAssistant','prompt','once','plugins','contentArea','set','destroy','focus','order','aiLicenseKeyInvalid','64jqqHEh','aiCommands','ai.assistant.commands','getSelectedElement','pluginName','buttons','updateView','hideFakeVisualSelection','replaceContent','ai.assistant.disabledElements','document','_populateMenuBarMenu','media','ai.assistant.useTheme','splice','command:','body','enabledCommandsIds','groupId','text/html','requires','config','groupLabel','update','Generated\x20content:\x20%0'];_0x2c37=function(){return _0x21f997;};return _0x2c37();}import{ViewDocumentDomEventData as _0x466607,ViewDataTransfer as _0x12ac7e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x55ef3f{[_0xf6f6be(0x255)];[_0xf6f6be(0x21a)];[_0xf6f6be(0x242)];[_0xf6f6be(0x222)];[_0xf6f6be(0x1ef)];[_0xf6f6be(0x1f3)];[_0xf6f6be(0x25d)]='';static get[_0xf6f6be(0x1cf)](){const _0x1ad147=_0xf6f6be;return _0x1ad147(0x245);}static get[_0xf6f6be(0x226)](){return!0x0;}static get[_0xf6f6be(0x269)](){return!0x0;}static get[_0xf6f6be(0x1df)](){return[_0x3831b6,_0xd5b8c0,_0x86d269,_0x33e5f1];}constructor(_0x3814e8){const _0x409035=_0xf6f6be;super(_0x3814e8),_0x3814e8[_0x409035(0x1e0)][_0x409035(0x268)](_0x409035(0x1d4),[_0x409035(0x1d7),_0x409035(0x221),_0x409035(0x23a)]),_0x3814e8[_0x409035(0x1e0)][_0x409035(0x268)](_0x409035(0x224),''),_0x3814e8[_0x409035(0x1e0)][_0x409035(0x268)](_0x409035(0x1d8),!0x0),this[_0x409035(0x25d)]=_0x409035(0x1e9)+(_0x3814e8[_0x409035(0x1e0)][_0x409035(0x215)](_0x409035(0x1d8))?_0x409035(0x201):'');}[_0xf6f6be(0x239)](){const _0x29a1d5=_0xf6f6be,{editor:_0x202b55}=this;this[_0x29a1d5(0x1ef)]=_0x202b55[_0x29a1d5(0x1c4)][_0x29a1d5(0x215)](_0x86d269),this[_0x29a1d5(0x242)]=_0x202b55[_0x29a1d5(0x1c4)][_0x29a1d5(0x215)](_0x33e5f1),this[_0x29a1d5(0x222)]=null,this[_0x29a1d5(0x24a)]=this[_0x29a1d5(0x260)]();const _0x5a8983=new _0x12b4ed(_0x202b55,Array[_0x29a1d5(0x21e)](this[_0x29a1d5(0x24a)][_0x29a1d5(0x208)]()));_0x202b55[_0x29a1d5(0x1f9)][_0x29a1d5(0x22b)](_0x29a1d5(0x232),_0x5a8983),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1cc),_0x3ceb90=>{const _0x188518=_0x29a1d5,_0x3fa5e5=_0x1498b2(_0x3ceb90);return _0x3fa5e5[_0x188518(0x1c6)]({'class':_0x188518(0x1ec)+this[_0x188518(0x25d)]}),_0x3fa5e5[_0x188518(0x20a)][_0x188518(0x1c6)]({'label':_0x3f0d29(_0x3ceb90,_0x188518(0x20d)),'icon':_0xd71cee,'tooltip':!0x0}),_0x3fa5e5['on'](_0x188518(0x266),_0x108fac=>this[_0x188518(0x1e6)](_0x108fac[_0x188518(0x1f5)]['id'])),_0x4bde7b(_0x3fa5e5,_0x202b55['ui'][_0x188518(0x21b)][_0x188518(0x1db)],function(_0x5ad459){const _0x50fd13=_0x188518,_0x55c163=_0x2ea3c0(_0x5ad459[_0x50fd13(0x1e0)][_0x50fd13(0x215)](_0x50fd13(0x1cd)),_0x5ad459[_0x50fd13(0x209)]),_0x462f6d=B(_0x5ad459,_0x55c163)[_0x50fd13(0x24e)](_0x23b659=>_0x23b659[_0x50fd13(0x1f9)][_0x50fd13(0x205)]);if(0x1===_0x462f6d[_0x50fd13(0x205)])return B(_0x5ad459,_0x462f6d[0x0][_0x50fd13(0x1f9)])[_0x50fd13(0x240)](_0x3e2e65=>({'id':_0x3e2e65['id'],'label':_0x3e2e65[_0x50fd13(0x1ea)]}));return _0x462f6d[_0x50fd13(0x240)](_0xd8ce67=>{const _0x5dc304=_0x50fd13,{groupId:_0x4b5c48,groupLabel:_0x51e18b,commands:_0x3a925e}=_0xd8ce67,_0x293852=B(_0x5ad459,_0x3a925e)[_0x5dc304(0x240)](_0x3f0627=>({'id':_0x3f0627['id'],'label':_0x3f0627[_0x5dc304(0x1ea)]}));return{'id':_0x4b5c48,'menu':_0x51e18b||_0x4b5c48,'children':_0x293852};});}(_0x202b55),{'ariaLabel':_0x3f0d29(_0x3ceb90,_0x188518(0x20d))}),_0x3fa5e5[_0x188518(0x257)][_0x188518(0x218)]=_0x188518(0x1ec)+this[_0x188518(0x25d)],_0x5a8983['on'](_0x188518(0x24b),_0x2eeefb),_0x3fa5e5[_0x188518(0x257)][_0x188518(0x1c3)](_0x188518(0x1fa),_0x2eeefb),_0x3fa5e5;function _0x2eeefb(){const _0x5a0fd8=_0x188518;_0x3fa5e5[_0x5a0fd8(0x22a)]=_0x5a8983[_0x5a0fd8(0x1dc)][_0x5a0fd8(0x205)]>0x0;for(const _0x37eee6 of _0x3fa5e5[_0x5a0fd8(0x257)][_0x5a0fd8(0x1d0)])_0x37eee6[_0x5a0fd8(0x22a)]=_0x5a8983[_0x5a0fd8(0x1dc)][_0x5a0fd8(0x210)](_0x37eee6['id']);}}),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1f4),_0x2d8ebc=>{const _0x4ad381=_0x29a1d5,_0x537f07=new _0x2c71b8(_0x2d8ebc);_0x537f07[_0x4ad381(0x20a)][_0x4ad381(0x1c6)]({'label':_0x3f0d29(_0x2d8ebc,_0x4ad381(0x20d)),'icon':_0xd71cee}),_0x537f07[_0x4ad381(0x213)](_0x4ad381(0x22a))['to'](_0x5a8983,_0x4ad381(0x1dc),_0x2d2aa5=>_0x2d2aa5[_0x4ad381(0x205)]>0x0);const _0xd6d56f=_0x2ea3c0(_0x202b55[_0x4ad381(0x1e0)][_0x4ad381(0x215)](_0x4ad381(0x1cd)),_0x2d8ebc);return this[_0x4ad381(0x1d6)](_0x5a8983,_0x537f07,_0xd6d56f,_0x5786d7=>this[_0x4ad381(0x1e6)](_0x5786d7)),_0x537f07;}),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1e4),()=>{const _0x5bf998=_0x29a1d5,_0x58ab02=this[_0x5bf998(0x24f)](_0x49e921);return _0x58ab02[_0x5bf998(0x1c6)]({'tooltip':!0x0,'class':_0x5bf998(0x211)+this[_0x5bf998(0x25d)]}),_0x58ab02;}),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1c1),()=>{const _0x42eece=_0x29a1d5,_0x324a0d=this[_0x42eece(0x24f)](_0x285822);return _0x324a0d[_0x42eece(0x1c6)]({'role':_0x42eece(0x1fb)}),_0x324a0d;}),this[_0x29a1d5(0x255)]=this[_0x29a1d5(0x25a)][_0x29a1d5(0x1e0)][_0x29a1d5(0x215)](_0x29a1d5(0x255));const _0x3a7657=this[_0x29a1d5(0x25a)];this[_0x29a1d5(0x21a)]=setInterval(()=>{const _0x33288a=_0x29a1d5;let _0x3dc508;for(const _0x4f01d0 in _0x3a7657){const _0x460501=_0x4f01d0,_0x1603ec=_0x3a7657[_0x460501];if(_0x33288a(0x25b)==_0x1603ec||_0x33288a(0x1ca)==_0x1603ec||_0x33288a(0x1bd)==_0x1603ec||_0x33288a(0x23c)==_0x1603ec||_0x33288a(0x263)==_0x1603ec||_0x33288a(0x23e)==_0x1603ec||_0x33288a(0x1fc)==_0x1603ec){delete _0x3a7657[_0x460501],_0x3dc508=_0x1603ec,clearInterval(this[_0x33288a(0x21a)]),this[_0x33288a(0x21a)]=void 0x0;break;}}_0x33288a(0x1ca)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x25e)),_0x33288a(0x1bd)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x241)),_0x33288a(0x23c)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x256)),_0x33288a(0x263)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x1fd),_0x33288a(0x231)),_0x33288a(0x23e)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x252)),_0x33288a(0x1fc)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x1e7));},0x3e8);}[_0xf6f6be(0x1c7)](){const _0x4cb820=_0xf6f6be;super[_0x4cb820(0x1c7)](),this[_0x4cb820(0x21a)]&&clearInterval(this[_0x4cb820(0x21a)]);}[_0xf6f6be(0x1c0)](_0x502862='',_0x18ac98='',_0x26e20c=_0xf6f6be(0x1ee)){const _0xd50253=_0xf6f6be,_0x3b54a2=this[_0xd50253(0x25a)],_0x1f3af4=_0x3b54a2[_0xd50253(0x23d)][_0xd50253(0x21b)],_0x17b658=_0x3b54a2[_0xd50253(0x1c4)][_0xd50253(0x215)](_0xd5b8c0),_0x48be58=_0x3b54a2[_0xd50253(0x1c4)][_0xd50253(0x215)](_0x3831b6);_0x17b658[_0xd50253(0x200)]();const _0x4fa211=new w(),_0x528485=new ClipboardEvent(_0xd50253(0x214),{'clipboardData':_0x4fa211}),_0x463c50=new _0x12ac7e(_0x4fa211),_0x248608=new _0x466607(_0x1f3af4,_0x528485,{'dataTransfer':_0x463c50});_0x48be58[_0xd50253(0x258)](_0xd50253(0x203),()=>{const _0x213b13=_0xd50253;_0x1f3af4[_0x213b13(0x1d5)][_0x213b13(0x247)](_0x213b13(0x214),_0x248608);}),this[_0xd50253(0x222)]||(this[_0xd50253(0x254)](),this[_0xd50253(0x1f3)]=new _0x3b1811(_0x3b54a2,this[_0xd50253(0x1ef)][_0xd50253(0x236)],this[_0xd50253(0x222)]));let _0x415104=_0x463c50[_0xd50253(0x20b)](_0xd50253(0x1de));const _0x2bc154=_0x3b54a2[_0xd50253(0x238)][_0xd50253(0x1d5)][_0xd50253(0x1eb)],_0x387855=Array[_0xd50253(0x21e)](_0x2bc154[_0xd50253(0x22c)]());0x1===_0x387855[_0xd50253(0x205)]&&_0x387855[0x0][_0xd50253(0x20c)]&&!_0x2bc154[_0xd50253(0x1ce)]()&&''!==_0x415104[_0xd50253(0x246)](/ /g,'')[_0xd50253(0x235)]()&&(_0x415104=_0xd50253(0x253)+_0x415104+_0xd50253(0x233)),this[_0xd50253(0x1f3)][_0xd50253(0x1d1)]({'actionId':_0x26e20c,'query':_0x502862,'htmlContent':_0x415104,'label':_0x18ac98,'mainActionLabel':_0x2d4177[_0x3b54a2[_0xd50253(0x238)][_0xd50253(0x1d5)][_0xd50253(0x1eb)][_0xd50253(0x237)]?_0xd50253(0x1bc):_0xd50253(0x212)]}),_0xd50253(0x1e4)!==this[_0xd50253(0x242)]['id']?this[_0xd50253(0x242)][_0xd50253(0x22d)]({'id':_0xd50253(0x1e4),'icon':_0x199562,'title':_0x3f0d29(this[_0xd50253(0x25a)][_0xd50253(0x209)],_0xd50253(0x243)),'content':this[_0xd50253(0x222)],'position':_0x1af00d[_0xd50253(0x1f6)],'onShow':()=>{const _0x298801=_0xd50253;this[_0x298801(0x222)][_0x298801(0x1c8)]();},'onHide':()=>{const _0x4ac028=_0xd50253;this[_0x4ac028(0x1f3)][_0x4ac028(0x225)](),_0x17b658[_0x4ac028(0x1d2)]();}}):this[_0xd50253(0x242)][_0xd50253(0x21b)][_0xd50253(0x251)]||this[_0xd50253(0x242)][_0xd50253(0x21b)][_0xd50253(0x1f8)]();}[_0xf6f6be(0x23f)](){const _0x2812c8=_0xf6f6be;this[_0x2812c8(0x242)][_0x2812c8(0x1be)]();}[_0xf6f6be(0x260)](){const _0x2b1732=_0xf6f6be,_0x59bce5=new Map(),_0x89dda9=_0x2ea3c0(this[_0x2b1732(0x25a)][_0x2b1732(0x1e0)][_0x2b1732(0x215)](_0x2b1732(0x1cd)),this[_0x2b1732(0x25a)][_0x2b1732(0x209)]);for(const _0x5bfb31 of _0x89dda9)for(const _0x4a6742 of _0x5bfb31[_0x2b1732(0x1f9)])_0x59bce5[_0x2b1732(0x1c6)](_0x4a6742['id'],{..._0x4a6742,'groupId':_0x5bfb31[_0x2b1732(0x1dd)],'groupLabel':_0x5bfb31[_0x2b1732(0x1e1)]||_0x5bfb31[_0x2b1732(0x1dd)]});return _0x59bce5;}[_0xf6f6be(0x24f)](_0x19cd5d){const _0x4725be=_0xf6f6be,_0x3c2e62=this[_0x4725be(0x25a)],_0x46019b=_0x3c2e62[_0x4725be(0x1f9)][_0x4725be(0x215)](_0x4725be(0x232)),_0x4d925b=new _0x19cd5d(_0x3c2e62[_0x4725be(0x209)]);return _0x4d925b[_0x4725be(0x1c6)]({'label':_0x3f0d29(_0x3c2e62[_0x4725be(0x209)],_0x4725be(0x243)),'icon':_0x199562,'isToggleable':!0x0}),_0x4d925b[_0x4725be(0x213)](_0x4725be(0x22a))['to'](_0x46019b),_0x4d925b[_0x4725be(0x213)](_0x4725be(0x1bf))['to'](this[_0x4725be(0x242)],'id',_0x265f1a=>_0x4725be(0x1e4)===_0x265f1a),this[_0x4725be(0x244)](_0x4d925b,_0x4725be(0x266),()=>{const _0xfb1c7d=_0x4725be;_0x4d925b[_0xfb1c7d(0x1bf)]?this[_0xfb1c7d(0x23f)]():_0x46019b[_0xfb1c7d(0x266)]();}),_0x4d925b;}[_0xf6f6be(0x254)](){const _0x5d0aa0=_0xf6f6be,_0x3e6bdb=this[_0x5d0aa0(0x25a)][_0x5d0aa0(0x1c4)][_0x5d0aa0(0x215)](_0xd5b8c0);this[_0x5d0aa0(0x222)]=new _0x3e5bc2(this[_0x5d0aa0(0x25a)][_0x5d0aa0(0x209)],this[_0x5d0aa0(0x25d)],this[_0x5d0aa0(0x25a)][_0x5d0aa0(0x1e0)][_0x5d0aa0(0x215)](_0x5d0aa0(0x224))),this[_0x5d0aa0(0x222)]['on'](_0x5d0aa0(0x1f0),()=>{const _0x31dc6a=_0x5d0aa0;this[_0x31dc6a(0x242)][_0x31dc6a(0x21b)][_0x31dc6a(0x251)]||this[_0x31dc6a(0x242)][_0x31dc6a(0x21b)][_0x31dc6a(0x1f8)]();}),this[_0x5d0aa0(0x222)][_0x5d0aa0(0x227)][_0x5d0aa0(0x204)][_0x5d0aa0(0x262)]['on'](_0x5d0aa0(0x1e2),()=>{const _0x33c6ad=_0x5d0aa0;this[_0x33c6ad(0x242)][_0x33c6ad(0x21b)][_0x33c6ad(0x251)]||this[_0x33c6ad(0x242)][_0x33c6ad(0x21b)][_0x33c6ad(0x1f8)]();}),this[_0x5d0aa0(0x244)](this[_0x5d0aa0(0x222)],_0x5d0aa0(0x1d3),()=>{const _0x2ba1ec=_0x5d0aa0;_0x3e6bdb[_0x2ba1ec(0x25c)](this[_0x2ba1ec(0x1f3)][_0x2ba1ec(0x25f)]),this[_0x2ba1ec(0x23f)]();}),this[_0x5d0aa0(0x244)](this[_0x5d0aa0(0x222)],_0x5d0aa0(0x228),()=>{const _0x210be2=_0x5d0aa0;_0x3e6bdb[_0x210be2(0x228)](this[_0x210be2(0x1f3)][_0x210be2(0x25f)]),this[_0x210be2(0x23f)]();}),this[_0x5d0aa0(0x20f)]();}[_0xf6f6be(0x20f)](){const _0x50015e=_0xf6f6be,{locale:_0x88993b,ui:{ariaLiveAnnouncer:_0x5809e6}}=this[_0x50015e(0x25a)];this[_0x50015e(0x222)][_0x50015e(0x1c5)]['on'](_0x50015e(0x206),(_0x32a892,_0x3e00e7,_0xaed0c0)=>{const _0x48c1b2=_0x50015e,_0x2a5b95=this[_0x48c1b2(0x1f3)][_0x48c1b2(0x25f)];_0xaed0c0?_0x5809e6[_0x48c1b2(0x207)](_0x3f0d29(_0x88993b,_0x48c1b2(0x229))):_0x2a5b95&&_0x5809e6[_0x48c1b2(0x207)](_0x3f0d29(_0x88993b,_0x48c1b2(0x1e3),_0x2a5b95),{'politeness':_0x48c1b2(0x220),'isUnsafeHTML':!0x0});}),this[_0x50015e(0x222)]['on'](_0x50015e(0x267),(_0x1b8b9e,_0x598c02,_0x218254)=>{const _0x5491dd=_0x50015e;if(_0x218254){const _0x974431=this[_0x5491dd(0x222)][_0x5491dd(0x230)][_0x5491dd(0x24d)];_0x5809e6[_0x5491dd(0x207)](_0x3f0d29(_0x88993b,_0x5491dd(0x265),_0x974431));}});}[_0xf6f6be(0x1e6)](_0x10df91){const _0x48b0e1=_0xf6f6be,_0x4f6e86=this[_0x48b0e1(0x24a)][_0x48b0e1(0x215)](_0x10df91),_0x1d9936=this[_0x48b0e1(0x25a)],_0x15b8a4=_0x1d9936[_0x48b0e1(0x238)][_0x48b0e1(0x1d5)][_0x48b0e1(0x1eb)],_0x55255e=_0x1d9936[_0x48b0e1(0x1f9)][_0x48b0e1(0x215)](_0x48b0e1(0x232)),_0x3ef804=_0x1d9936[_0x48b0e1(0x1c4)][_0x48b0e1(0x215)](_0xd5b8c0),_0x314d55=''+(_0x4f6e86[_0x48b0e1(0x1dd)]!==_0x53965a?_0x4f6e86[_0x48b0e1(0x1e1)]+':\x20':'')+_0x4f6e86[_0x48b0e1(0x1ea)];if(!0x1!==_0x4f6e86[_0x48b0e1(0x259)]&&_0x15b8a4[_0x48b0e1(0x237)]){const _0x5529f9=_0x539f4c(_0x15b8a4[_0x48b0e1(0x249)]())||_0x1d9936[_0x48b0e1(0x238)][_0x48b0e1(0x261)][_0x48b0e1(0x1ed)](_0x15b8a4);_0x1d9936[_0x48b0e1(0x238)][_0x48b0e1(0x216)](_0x23f7d8=>{const _0x3bdd37=_0x48b0e1;_0x23f7d8[_0x3bdd37(0x1f1)](_0x5529f9,'in');});}_0x3ef804[_0x48b0e1(0x200)](),_0x55255e[_0x48b0e1(0x266)](_0x4f6e86[_0x48b0e1(0x1c2)],_0x314d55,_0x48b0e1(0x1da)+_0x10df91);}[_0xf6f6be(0x1d6)](_0x2adb24,_0xc5c081,_0x12ab39,_0xe8cd13){const _0xe1bc41=_0xf6f6be,_0x583f59=this[_0xe1bc41(0x25a)],_0xb394a0=_0x583f59[_0xe1bc41(0x209)],_0x16001d=new _0x201dfc(_0xb394a0),_0x5b47be=B(_0x583f59,_0x12ab39)[_0xe1bc41(0x24e)](_0x584b44=>_0x584b44[_0xe1bc41(0x1f9)][_0xe1bc41(0x205)]);0x1===_0x5b47be[_0xe1bc41(0x205)]?this[_0xe1bc41(0x1fe)]({'command':_0x2adb24,'commands':_0x5b47be[0x0][_0xe1bc41(0x1f9)],'parentMenuView':_0xc5c081,'onExecute':_0xe8cd13})[_0xe1bc41(0x202)](_0x29b671=>_0x16001d[_0xe1bc41(0x1e5)][_0xe1bc41(0x22b)](_0x29b671)):_0x5b47be[_0xe1bc41(0x202)](({groupId:_0x4f1fa6,groupLabel:_0x3d86e3,commands:_0x4bbe1a})=>{const _0x531351=_0xe1bc41,_0x1f2611=new _0x5e081e(_0xb394a0,_0xc5c081),_0x5ad7ad=new _0x2c71b8(_0xb394a0),_0x383f17=new _0x201dfc(_0xb394a0),_0x4a447d=this[_0x531351(0x1fe)]({'command':_0x2adb24,'commands':_0x4bbe1a,'parentMenuView':_0x5ad7ad,'onExecute':_0xe8cd13});_0x5ad7ad[_0x531351(0x20a)][_0x531351(0x1c6)]({'label':_0x3d86e3||_0x4f1fa6}),_0x5ad7ad[_0x531351(0x264)](_0x531351(0x266))['to'](_0xc5c081),_0x383f17[_0x531351(0x1e5)][_0x531351(0x1ff)](_0x4a447d),_0x5ad7ad[_0x531351(0x234)][_0x531351(0x223)][_0x531351(0x22b)](_0x383f17),_0x1f2611[_0x531351(0x223)][_0x531351(0x22b)](_0x5ad7ad),_0x16001d[_0x531351(0x1e5)][_0x531351(0x22b)](_0x1f2611);}),_0xc5c081[_0xe1bc41(0x234)][_0xe1bc41(0x223)][_0xe1bc41(0x22b)](_0x16001d);}[_0xf6f6be(0x1fe)]({command:_0x1527db,commands:_0x1cece1,parentMenuView:_0x3c7c26,onExecute:_0x4701ce}){const _0x1af5e5=_0xf6f6be,_0x2713dd=this[_0x1af5e5(0x25a)],_0x562fc4=_0x2713dd[_0x1af5e5(0x209)];return B(_0x2713dd,_0x1cece1)[_0x1af5e5(0x240)](_0x43ece0=>{const _0x461155=_0x1af5e5,_0x5cb8f4=new _0x5e081e(_0x562fc4,_0x3c7c26),_0x24c65e=new _0x285822(_0x562fc4);return _0x24c65e[_0x461155(0x1c6)]({'label':_0x43ece0[_0x461155(0x1ea)]}),_0x24c65e[_0x461155(0x264)](_0x461155(0x266))['to'](_0x3c7c26),_0x24c65e['on'](_0x461155(0x266),()=>_0x4701ce(_0x43ece0['id'])),_0x24c65e[_0x461155(0x213)](_0x461155(0x22a))['to'](_0x1527db,_0x461155(0x1dc),_0x589e0f=>_0x589e0f[_0x461155(0x210)](_0x43ece0['id'])),_0x5cb8f4[_0x461155(0x223)][_0x461155(0x22b)](_0x24c65e),_0x5cb8f4;});}}function U(_0x66cbad,_0x4e7825){const _0xdf45bc=_0xf6f6be;return void 0x0!==_0x66cbad[_0xdf45bc(0x1c9)]&&void 0x0===_0x4e7825[_0xdf45bc(0x1c9)]?0x1:void 0x0===_0x66cbad[_0xdf45bc(0x1c9)]&&void 0x0!==_0x4e7825[_0xdf45bc(0x1c9)]?-0x1:void 0x0!==_0x66cbad[_0xdf45bc(0x1c9)]&&void 0x0!==_0x4e7825[_0xdf45bc(0x1c9)]?_0x66cbad[_0xdf45bc(0x1c9)]-_0x4e7825[_0xdf45bc(0x1c9)]:0x0;}function B(_0x4558c6,_0x29de7b){const _0x2363d3=_0xf6f6be;_0x29de7b[_0x2363d3(0x219)](U);const _0x58a8b5={},_0x392a6d=[];for(const _0x57e0bb of _0x29de7b)if(void 0x0!==_0x57e0bb[_0x2363d3(0x1c9)]){if(_0x57e0bb[_0x2363d3(0x1c9)]in _0x58a8b5)throw new _0x2437be(_0x2363d3(0x250),_0x4558c6,{'conflictingDefinitions':[_0x57e0bb,_0x58a8b5[_0x57e0bb[_0x2363d3(0x1c9)]]]});_0x58a8b5[_0x57e0bb[_0x2363d3(0x1c9)]]=_0x57e0bb,_0x392a6d[_0x2363d3(0x1d9)](_0x57e0bb[_0x2363d3(0x1c9)],0x0,_0x57e0bb);}else _0x392a6d[_0x2363d3(0x23b)](_0x57e0bb);return _0x392a6d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3801e9,_0x4a2c69){var _0x1cc0b1=_0x250b,_0x3ee8fc=_0x3801e9();while(!![]){try{var _0x581e81=parseInt(_0x1cc0b1(0x110))/0x1+-parseInt(_0x1cc0b1(0x10d))/0x2*(-parseInt(_0x1cc0b1(0x10c))/0x3)+parseInt(_0x1cc0b1(0x10f))/0x4*(-parseInt(_0x1cc0b1(0x10e))/0x5)+parseInt(_0x1cc0b1(0x111))/0x6*(parseInt(_0x1cc0b1(0x106))/0x7)+-parseInt(_0x1cc0b1(0x107))/0x8*(parseInt(_0x1cc0b1(0x108))/0x9)+-parseInt(_0x1cc0b1(0x10a))/0xa+-parseInt(_0x1cc0b1(0x10b))/0xb*(-parseInt(_0x1cc0b1(0x109))/0xc);if(_0x581e81===_0x4a2c69)break;else _0x3ee8fc['push'](_0x3ee8fc['shift']());}catch(_0x22de09){_0x3ee8fc['push'](_0x3ee8fc['shift']());}}}(_0xff7e,0x6631d));function _0xff7e(){var _0x316389=['2711310LLvZyJ','34045nLWnVy','2199bIdJTA','518eIszGc','1310ejIYQH','9684PnOxyx','69604FJbQKL','74262uYFrXJ','140NiUGMS','2144rsSxhh','9252tDtmhq','4236rCVxcC'];_0xff7e=function(){return _0x316389;};return _0xff7e();}function _0x250b(_0x539852,_0x4c0fcd){var _0xff7e97=_0xff7e();return _0x250b=function(_0x250b4c,_0x288b0a){_0x250b4c=_0x250b4c-0x106;var _0xdf336b=_0xff7e97[_0x250b4c];return _0xdf336b;},_0x250b(_0x539852,_0x4c0fcd);}import{CKEditorError as _0x46b29a}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x1834(){const _0x4296c8=['_normalizeResponseHeadings','catch','stopListening','trim','484HTVePC','message','custom','initialContext','once','set','parseFromString','isProcessing','119748AreXni','render','ELEMENT_NODE','view','```','60GLdQFY','_isH1TagSupportEnabled','createElement','7381152tpbffH','handleError','markers','length','previousActionId','querySelector','match','editor','endsWith','startsWith','8430qfVYwm','updateView','2084566CVvogK','stringify','text/html','_domParser','4893665qeGhOd','<h1></h1>','toView','36NVjGku','listenTo','```html','div','submitPrompt','_xmlSerializer','195DPnImm','childNodes','viewToDom','currentContext','get','innerHTML','substring','prompt','33068jQkdqa','domConverter','reverse','push','editing','exec','makeRequest','textAdapter','config','data','_sanitizationContainer','from','processor','set:currentContext','570393QtAVhN','then','previousQuery','isRendered','previousContext','setContentOf','startProcessing','serializeToString','_stripMarkdownSyntax','abort','ai.assistant.preserveComments','toModel','element','mainAction','name','htmlProcessor','body','stopProcessing','currentResponse','destroy','remove','_sanitizeHTML','rename','value','document','_handleQuery','tryAgainEvent','_parseAndNormalizeContent','reset','clear','nodeType','previousLabel','finally','finishProcessing'];_0x1834=function(){return _0x4296c8;};return _0x1834();}function _0x2dba(_0x4e3190,_0x3cd739){const _0x183421=_0x1834();return _0x2dba=function(_0x2dba68,_0x4e0640){_0x2dba68=_0x2dba68-0x87;let _0x5e6216=_0x183421[_0x2dba68];return _0x5e6216;},_0x2dba(_0x4e3190,_0x3cd739);}const _0x3eb4fc=_0x2dba;(function(_0x390084,_0x3921e1){const _0x7b0c06=_0x2dba,_0x198053=_0x390084();while(!![]){try{const _0x590ab1=-parseInt(_0x7b0c06(0xd9))/0x1*(parseInt(_0x7b0c06(0xe7))/0x2)+-parseInt(_0x7b0c06(0xd0))/0x3*(-parseInt(_0x7b0c06(0xb6))/0x4)+-parseInt(_0x7b0c06(0xdf))/0x5*(-parseInt(_0x7b0c06(0xbe))/0x6)+-parseInt(_0x7b0c06(0xd6))/0x7+parseInt(_0x7b0c06(0xc6))/0x8+parseInt(_0x7b0c06(0x90))/0x9*(-parseInt(_0x7b0c06(0xc3))/0xa)+parseInt(_0x7b0c06(0xd2))/0xb;if(_0x590ab1===_0x3921e1)break;else _0x198053['push'](_0x198053['shift']());}catch(_0x1d5382){_0x198053['push'](_0x198053['shift']());}}}(_0x1834,0x87ba5));import{ObservableMixin as _0x2bd168}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3e5f1f}from'../adapters/aiadapter.js';import{Matcher as _0xa36f09,ViewUpcastWriter as _0x4dd817}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2bd168(){[_0x3eb4fc(0xcd)];[_0x3eb4fc(0x89)];[_0x3eb4fc(0xc1)];[_0x3eb4fc(0x8c)];[_0x3eb4fc(0xd5)];[_0x3eb4fc(0xde)];constructor(_0xe82518,_0x49e801,_0x144f99){const _0x433cb0=_0x3eb4fc;super(),this[_0x433cb0(0xcd)]=_0xe82518,this[_0x433cb0(0x89)]=_0x49e801,this[_0x433cb0(0x8c)]=document[_0x433cb0(0xc5)](_0x433cb0(0xdc)),this[_0x433cb0(0xd5)]=new DOMParser(),this[_0x433cb0(0xde)]=new XMLSerializer(),this[_0x433cb0(0xc1)]=_0x144f99,this[_0x433cb0(0xbb)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x433cb0(0x8f),(_0x2cfa3f,_0x46476f,_0x4663a7)=>{const _0x227241=_0x433cb0;this[_0x227241(0xc1)][_0x227241(0xa7)]=this[_0x227241(0xa5)](_0x4663a7);}),this[_0x433cb0(0xda)](this[_0x433cb0(0xc1)],_0x433cb0(0xdd),(_0x332cba,_0x2a788c)=>{const _0x2daf58=_0x433cb0,_0xcae1fc=this[_0x2daf58(0xe2)]||this[_0x2daf58(0xb9)];this[_0x2daf58(0xa9)](_0x2a788c,_0xcae1fc,_0x2daf58(0xb8));}),this[_0x433cb0(0xda)](this[_0x433cb0(0xc1)],_0x433cb0(0xaa),()=>{const _0x5befd7=_0x433cb0;this[_0x5befd7(0xc1)][_0x5befd7(0xe6)]=this[_0x5befd7(0xaf)],this[_0x5befd7(0xa9)](this[_0x5befd7(0x92)],this[_0x5befd7(0x94)],this[_0x5befd7(0xca)],this[_0x5befd7(0xaf)]);}),this[_0x433cb0(0xda)](this[_0x433cb0(0xc1)],_0x433cb0(0xa1),()=>{const _0x238a35=_0x433cb0;this[_0x238a35(0xa1)]();});}[_0x3eb4fc(0xa3)](){const _0x5aa582=_0x3eb4fc;this[_0x5aa582(0xb4)]();}async[_0x3eb4fc(0xd1)]({actionId:_0x2e6298,query:_0x5425d5,htmlContent:_0x21c6d4,label:_0x2801c2,mainActionLabel:_0x3eb365}){const _0x3efb4a=_0x3eb4fc;this[_0x3efb4a(0xc1)][_0x3efb4a(0xe6)]=_0x2801c2,this[_0x3efb4a(0xc1)][_0x3efb4a(0x9d)]=_0x3eb365,this[_0x3efb4a(0xb9)]=_0x21c6d4,_0x5425d5&&(this[_0x3efb4a(0xc1)][_0x3efb4a(0x93)]?this[_0x3efb4a(0xa9)](_0x5425d5,_0x21c6d4,_0x2e6298,_0x2801c2):this[_0x3efb4a(0xc1)][_0x3efb4a(0xba)](_0x3efb4a(0xbf),()=>{const _0x1a2073=_0x3efb4a;this[_0x1a2073(0xa9)](_0x5425d5,_0x21c6d4,_0x2e6298,_0x2801c2);}));}[_0x3eb4fc(0xa1)](){const _0x235077=_0x3eb4fc;this[_0x235077(0xbd)]&&(this[_0x235077(0xbd)]=!0x1,this[_0x235077(0xc1)][_0x235077(0xb1)](),this[_0x235077(0x89)][_0x235077(0x99)]());}[_0x3eb4fc(0xac)](){const _0x5c79b8=_0x3eb4fc;this[_0x5c79b8(0xb9)]='',this[_0x5c79b8(0xe2)]='',this[_0x5c79b8(0xa2)]='',this[_0x5c79b8(0x94)]='',this[_0x5c79b8(0x92)]='',this[_0x5c79b8(0xaf)]='',this[_0x5c79b8(0xca)]=void 0x0,this[_0x5c79b8(0xc1)][_0x5c79b8(0xac)](),this[_0x5c79b8(0xa1)]();}async[_0x3eb4fc(0xa9)](_0x272f53,_0x39bb93,_0x325b53,_0x6484fd){const _0x2cdaee=_0x3eb4fc;return this[_0x2cdaee(0xbd)]=!0x0,this[_0x2cdaee(0xc1)][_0x2cdaee(0x96)](),this[_0x2cdaee(0x94)]=_0x39bb93,this[_0x2cdaee(0x92)]=_0x272f53,this[_0x2cdaee(0xaf)]=_0x6484fd||_0x272f53,this[_0x2cdaee(0xca)]=_0x325b53,new Promise(_0x27ec60=>{const _0x37ee04=_0x2cdaee;this[_0x37ee04(0x89)][_0x37ee04(0x88)]({'query':_0x272f53,'context':_0x39bb93,'onData':_0x3b0a03=>{const _0x31519a=_0x37ee04;this[_0x31519a(0xa2)]=_0x3b0a03,this[_0x31519a(0xe2)]=this[_0x31519a(0xab)](this[_0x31519a(0xa2)]);},'actionId':_0x325b53})[_0x37ee04(0x91)](()=>{const _0x411cc1=_0x37ee04;!this[_0x411cc1(0xe2)]&&this[_0x411cc1(0xa2)]&&(this[_0x411cc1(0xe2)]=this[_0x411cc1(0xab)](this[_0x411cc1(0xa2)],!0x0));})[_0x37ee04(0xb3)](_0x5c4cf2=>{const _0x58e381=_0x37ee04;_0x5c4cf2 instanceof _0x3e5f1f?this[_0x58e381(0xc1)][_0x58e381(0xc7)](_0x5c4cf2[_0x58e381(0xb7)]):this[_0x58e381(0xc1)][_0x58e381(0xc7)](),_0x27ec60();})[_0x37ee04(0xb0)](()=>{const _0x1b4930=_0x37ee04;this[_0x1b4930(0xa1)](),_0x27ec60();});});}[_0x3eb4fc(0xab)](_0x237cda,_0x1f431e=!0x1){const _0x462d74=_0x3eb4fc,_0x503b8b=hs[_0x462d74(0x87)](_0x237cda);_0x237cda=_0x503b8b?_0x237cda[_0x462d74(0xe5)](_0x503b8b[0x1][_0x462d74(0xc9)]):_0x237cda[_0x462d74(0xc9)]<0x64&&!_0x1f431e?'':this[_0x462d74(0x98)](_0x237cda);const _0x92ac79=this[_0x462d74(0xd5)][_0x462d74(0xbc)](_0x237cda,_0x462d74(0xd4));if(_0x503b8b){const _0x2feff5=Array[_0x462d74(0x8d)](_0x92ac79[_0x462d74(0xa0)][_0x462d74(0xe0)]);_0x2feff5[_0x462d74(0xe9)]();for(const _0x170df0 of _0x2feff5){if(_0x170df0[_0x462d74(0xae)]==Node[_0x462d74(0xc0)])break;_0x170df0[_0x462d74(0xa4)]();}}const _0x5baf18=this[_0x462d74(0xcd)][_0x462d74(0x8b)][_0x462d74(0x8e)][_0x462d74(0xd8)](this[_0x462d74(0xde)][_0x462d74(0x97)](_0x92ac79[_0x462d74(0xa0)]));this[_0x462d74(0xc4)]()||this[_0x462d74(0xb2)](_0x5baf18);const _0x598a53=this[_0x462d74(0xcd)][_0x462d74(0x8a)][_0x462d74(0xe3)](_0x462d74(0x9a)),_0x59eecb=this[_0x462d74(0xcd)][_0x462d74(0x8b)][_0x462d74(0x9b)](_0x5baf18);return _0x598a53||_0x59eecb[_0x462d74(0xc8)][_0x462d74(0xad)](),this[_0x462d74(0xcd)][_0x462d74(0x8b)][_0x462d74(0xd3)](_0x59eecb);}[_0x3eb4fc(0xb2)](_0x146f9b){const _0x3c0d25=_0x3eb4fc,_0x1c7f8e=new _0x4dd817(this[_0x3c0d25(0xcd)][_0x3c0d25(0xeb)][_0x3c0d25(0xc1)][_0x3c0d25(0xa8)]),_0xbe71ec=new _0xa36f09({'name':/^h[1-5]$/}),_0x328902=[];let _0x42614f=!0x1;for(const _0x365d9c of _0x146f9b)_0x365d9c['is'](_0x3c0d25(0x9c))&&_0xbe71ec[_0x3c0d25(0xcc)](_0x365d9c)&&(_0x328902[_0x3c0d25(0xea)](_0x365d9c),'h1'==_0x365d9c[_0x3c0d25(0x9e)]&&(_0x42614f=!0x0));if(_0x42614f){for(const _0x1e418a of _0x328902)_0x1c7f8e[_0x3c0d25(0xa6)]('h'+(parseInt(_0x1e418a[_0x3c0d25(0x9e)][0x1])+0x1),_0x1e418a);}}[_0x3eb4fc(0xc4)](){const _0x855b3d=_0x3eb4fc,{data:_0x18c949,editing:_0x3e9e72}=this[_0x855b3d(0xcd)],_0x45f16f=_0x18c949[_0x855b3d(0x9f)][_0x855b3d(0xd8)](_0x855b3d(0xd7)),_0x5a3906=_0x18c949[_0x855b3d(0xd8)](_0x18c949[_0x855b3d(0x9b)](_0x45f16f));return!!_0x3e9e72[_0x855b3d(0xc1)][_0x855b3d(0xe8)][_0x855b3d(0xe1)](_0x5a3906)[_0x855b3d(0xcb)]('h1');}[_0x3eb4fc(0xa5)](_0x305f26){const _0x61547c=_0x3eb4fc;return this[_0x61547c(0xcd)][_0x61547c(0xeb)][_0x61547c(0xc1)][_0x61547c(0xe8)][_0x61547c(0x95)](this[_0x61547c(0x8c)],_0x305f26),this[_0x61547c(0x8c)][_0x61547c(0xe4)];}[_0x3eb4fc(0x98)](_0x29524f){const _0x34e8f6=_0x3eb4fc,_0x5460fe=_0x29524f[_0x34e8f6(0xb5)]();return _0x5460fe[_0x34e8f6(0xcf)](_0x34e8f6(0xdb))?_0x5460fe[_0x34e8f6(0xce)](_0x34e8f6(0xc2))?_0x5460fe[_0x34e8f6(0xe5)](0x7,_0x5460fe[_0x34e8f6(0xc9)]-0x3):_0x5460fe[_0x34e8f6(0xe5)](0x7):_0x29524f;}}
|