@ckeditor/ckeditor5-ai 47.2.0-alpha.6 → 47.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +10 -2
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1236ab=_0x3b8c;(function(_0xa73ae9,_0x32c3bd){var _0x20085e=_0x3b8c,_0x280982=_0xa73ae9();while(!![]){try{var _0x2d2ae7=-parseInt(_0x20085e(0xd6))/0x1*(-parseInt(_0x20085e(0xe2))/0x2)+-parseInt(_0x20085e(0xd4))/0x3+-parseInt(_0x20085e(0xd1))/0x4*(parseInt(_0x20085e(0xd2))/0x5)+-parseInt(_0x20085e(0xdc))/0x6*(-parseInt(_0x20085e(0xda))/0x7)+-parseInt(_0x20085e(0xe0))/0x8*(parseInt(_0x20085e(0xdf))/0x9)+parseInt(_0x20085e(0xd9))/0xa+-parseInt(_0x20085e(0xd3))/0xb*(-parseInt(_0x20085e(0xdb))/0xc);if(_0x2d2ae7===_0x32c3bd)break;else _0x280982['push'](_0x280982['shift']());}catch(_0x29c225){_0x280982['push'](_0x280982['shift']());}}}(_0x39fd,0x4a5a8));import{Plugin as _0xad0d34}from'ckeditor5/src/core.js';import{CKEditorError as _0x23fc74}from'ckeditor5/src/utils.js';export class AIAdapter extends _0xad0d34{static get[_0x1236ab(0xd5)](){var _0x44aaba=_0x1236ab;return _0x44aaba(0xe4);}static get[_0x1236ab(0xe3)](){return!0x0;}static get[_0x1236ab(0xd0)](){return!0x0;}[_0x1236ab(0xe1)](){var _0xd56e30=_0x1236ab;if(!this[_0xd56e30(0xd8)])throw new _0x23fc74(_0xd56e30(0xde),null);}}function _0x3b8c(_0x4ece7b,_0x266d3d){var _0x39fdee=_0x39fd();return _0x3b8c=function(_0x3b8c39,_0x58b2bd){_0x3b8c39=_0x3b8c39-0xd0;var _0x4a3a13=_0x39fdee[_0x3b8c39];return _0x4a3a13;},_0x3b8c(_0x4ece7b,_0x266d3d);}function _0x39fd(){var _0x51b073=['8mIYKYg','afterInit','51298FbNTug','isOfficialPlugin','AIAdapter','isPremiumPlugin','44yimrlP','5765GYDBUt','27687iFZopb','1245903LDduqt','pluginName','5CpotFl','name','textAdapter','4418630nbpSdi','512939BrkCSr','1308vmdOWG','6TtzqHG','AIRequestError','aiadapter-text-adapter-not-set','1666818DpiTRY'];_0x39fd=function(){return _0x51b073;};return _0x39fd();}export class AIRequestError extends Error{constructor(_0x132119){var _0x5f118b=_0x1236ab;super(_0x132119),this[_0x5f118b(0xd7)]=_0x5f118b(0xdd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b737f=_0x348e;(function(_0x129da1,_0xa86cb0){const _0x113868=_0x348e,_0x2ffc4c=_0x129da1();while(!![]){try{const _0x36c111=parseInt(_0x113868(0xa4))/0x1*(-parseInt(_0x113868(0xab))/0x2)+-parseInt(_0x113868(0x9b))/0x3*(parseInt(_0x113868(0x88))/0x4)+parseInt(_0x113868(0x8d))/0x5+parseInt(_0x113868(0x89))/0x6*(-parseInt(_0x113868(0x8f))/0x7)+parseInt(_0x113868(0xac))/0x8+-parseInt(_0x113868(0xa7))/0x9+-parseInt(_0x113868(0xad))/0xa*(-parseInt(_0x113868(0x91))/0xb);if(_0x36c111===_0xa86cb0)break;else _0x2ffc4c['push'](_0x2ffc4c['shift']());}catch(_0x162200){_0x2ffc4c['push'](_0x2ffc4c['shift']());}}}(_0x5e2e,0x1e006));import{Plugin as _0x595ad0}from'ckeditor5/src/core.js';function _0x5e2e(){const _0x2b93a5=['abort','editor','12qACgJX','signal','init','textAdapter','name','AI_ERROR_GET_HEADERS','get','requires','assign','110991uKRSAp','aitextadapter-send-request-failed','reject','344727KTKrRG','resolve','sendRequest','aborted','4TkJezg','172816ZPvxBy','80sKizpf','192688kpMUsN','24uUSdTo','application/json','_prepareRequestHeaders','plugins','798745JcaUfg','AI_ERROR_GET_PARAMETERS','266511RARKRM','locale','751850DDIIxL','_prepareRequestParameters','makeRequest','AbortError','catch','object','abortController','error'];_0x5e2e=function(){return _0x2b93a5;};return _0x5e2e();}function _0x348e(_0x145586,_0x15b487){const _0x5e2e92=_0x5e2e();return _0x348e=function(_0x348ef4,_0x3bd44a){_0x348ef4=_0x348ef4-0x88;let _0x465469=_0x5e2e92[_0x348ef4];return _0x465469;},_0x348e(_0x145586,_0x15b487);}import{CKEditorError as _0x3f44e8}from'ckeditor5/src/utils.js';import{AIAdapter as _0x4422c3,AIRequestError as _0x5add3f}from'./aiadapter.js';import{getTranslation as _0xfff298}from'../utils/common-translations.js';export class AITextAdapter extends _0x595ad0{[_0x1b737f(0x97)];static get[_0x1b737f(0xa2)](){return[_0x4422c3];}constructor(_0x5bbe34){const _0x542358=_0x1b737f;super(_0x5bbe34),this[_0x542358(0x97)]=new AbortController();}[_0x1b737f(0x9d)](){const _0x3997fa=_0x1b737f;this[_0x3997fa(0x9a)][_0x3997fa(0x8c)][_0x3997fa(0xa1)](_0x4422c3)[_0x3997fa(0x9e)]=this;}[_0x1b737f(0x99)](){const _0x1229ea=_0x1b737f;this[_0x1229ea(0x97)][_0x1229ea(0x9c)][_0x1229ea(0xaa)]||(this[_0x1229ea(0x97)][_0x1229ea(0x99)](),this[_0x1229ea(0x97)]=new AbortController());}async[_0x1b737f(0x93)](_0x2ca92f){const _0x16fdda=_0x1b737f;return this[_0x16fdda(0xa9)](_0x2ca92f)[_0x16fdda(0x95)](_0x459d56=>{const _0xc11cb5=_0x16fdda;if(_0x459d56 instanceof _0x5add3f)return Promise[_0xc11cb5(0xa6)](_0x459d56);if(_0xc11cb5(0x94)==_0x459d56[_0xc11cb5(0x9f)])return Promise[_0xc11cb5(0xa8)]();throw console[_0xc11cb5(0x98)](_0x459d56),new _0x3f44e8(_0xc11cb5(0xa5),null);});}async[_0x1b737f(0x8b)](_0x25b36f,_0xdd56c8){const _0x5db5a1=_0x1b737f,_0x53ff4c=this[_0x5db5a1(0x9a)][_0x5db5a1(0x90)],_0x5c5ec7={'Content-Type':_0x5db5a1(0x8a)};if(_0x5db5a1(0x96)==typeof _0x25b36f)Object[_0x5db5a1(0xa3)](_0x5c5ec7,_0x25b36f);else{if(_0x25b36f)try{const _0x3e6661=await _0x25b36f(_0xdd56c8);Object[_0x5db5a1(0xa3)](_0x5c5ec7,_0x3e6661);}catch{return Promise[_0x5db5a1(0xa6)](new _0x5add3f(_0xfff298(_0x53ff4c,_0x5db5a1(0xa0))));}}return _0x5c5ec7;}async[_0x1b737f(0x92)](_0x5f14b6,_0x564433){const _0x22c6ab=_0x1b737f,_0x3abbd3=this[_0x22c6ab(0x9a)][_0x22c6ab(0x90)];if(_0x22c6ab(0x96)==typeof _0x5f14b6)return _0x5f14b6;try{return await _0x5f14b6(_0x564433);}catch{return Promise[_0x22c6ab(0xa6)](new _0x5add3f(_0xfff298(_0x3abbd3,_0x22c6ab(0x8e))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dcc87=_0x4ab4;(function(_0x42d33d,_0x121884){const _0x40bc74=_0x4ab4,_0x5226bf=_0x42d33d();while(!![]){try{const _0x1dae99=-parseInt(_0x40bc74(0x17a))/0x1+-parseInt(_0x40bc74(0x182))/0x2+-parseInt(_0x40bc74(0x17c))/0x3+parseInt(_0x40bc74(0x1aa))/0x4+parseInt(_0x40bc74(0x198))/0x5+parseInt(_0x40bc74(0x1a6))/0x6+-parseInt(_0x40bc74(0x184))/0x7*(-parseInt(_0x40bc74(0x179))/0x8);if(_0x1dae99===_0x121884)break;else _0x5226bf['push'](_0x5226bf['shift']());}catch(_0x5a4691){_0x5226bf['push'](_0x5226bf['shift']());}}}(_0x1d04,0x99cc3));import{AITextAdapter as _0x867a3d}from'./aitextadapter.js';import{AIRequestError as _0x221f48}from'./aiadapter.js';import{BedrockRuntimeClient as _0x233700,InvokeModelCommand as _0x2fa9cf,InvokeModelWithResponseStreamCommand as _0x4ce6ad}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x5adfbf}from'../utils/common-translations.js';function _0x4ab4(_0x5a7b65,_0x3ca5a5){const _0x1d04cd=_0x1d04();return _0x4ab4=function(_0x4ab450,_0xe99228){_0x4ab450=_0x4ab450-0x16e;let _0x4e959f=_0x1d04cd[_0x4ab450];return _0x4e959f;},_0x4ab4(_0x5a7b65,_0x3ca5a5);}function _0x1d04(){const _0x5b9708=['ai.assistant.adapter.aws.requestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','body','_processAWSRequest','2357288ReLDFS','completions','1585045rdiRKw','getReader','resolve','_apiUrl','ai21.j2','_readStaticResponse','length','_processProxyRequest','config','data','pluginName','locale','Instruction:\x0a','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.','Human:\x0a','<<SYS>>\x0a','stringify','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.','text','_bedrockClientConfig','5468625EUNdGH','ai.assistant.adapter.aws.bedrockClientConfig','_readAsyncIterableResponse','sendRequest','POST','utf-8','bedrock-2023-05-31','_prepareRequestHeaders','generations','define','\x0a<</SYS>>\x0a[INST]\x0a','\x0a\x0aAssistant:','abortController','read','2890728ASqlnX','_readStreamableResponse','generation','anthropic.claude-v2','4980528xxzWvE','_prepareRequestParameters','_getGeneratedText','anthropic.claude','getModelFamily','split','meta.llama','parse','ai.assistant.adapter.aws.requestHeaders','_requestParameters','ai.assistant.adapter.aws.apiUrl','\x0a[/INST]','completion','join','signal','map','filter','chunk','get','bytes','preparePrompt','decode','AWSTextAdapter','json','_requestHeaders','send','application/json','test','editor','40XGLKLw','1008196VRbnVz','AI_ERROR_UNSUPPORTED_MODEL','3408075GKkXsB','cohere.command'];_0x1d04=function(){return _0x5b9708;};return _0x1d04();}export class AWSTextAdapter extends _0x867a3d{[_0x1dcc87(0x187)];[_0x1dcc87(0x174)];[_0x1dcc87(0x197)];[_0x1dcc87(0x1b3)];static get[_0x1dcc87(0x18e)](){const _0x4cb536=_0x1dcc87;return _0x4cb536(0x172);}constructor(_0x10ba59){const _0x31b60c=_0x1dcc87;super(_0x10ba59),_0x10ba59[_0x31b60c(0x18c)][_0x31b60c(0x16e)](_0x31b60c(0x17e))||_0x10ba59[_0x31b60c(0x18c)][_0x31b60c(0x1a1)](_0x31b60c(0x17e),{'model':_0x31b60c(0x1a9),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x31b60c(0x19e),'stream':!0x0}),this[_0x31b60c(0x187)]=_0x10ba59[_0x31b60c(0x18c)][_0x31b60c(0x16e)](_0x31b60c(0x1b4)),this[_0x31b60c(0x197)]=_0x10ba59[_0x31b60c(0x18c)][_0x31b60c(0x16e)](_0x31b60c(0x199)),this[_0x31b60c(0x174)]=_0x10ba59[_0x31b60c(0x18c)][_0x31b60c(0x16e)](_0x31b60c(0x1b2)),this[_0x31b60c(0x1b3)]=_0x10ba59[_0x31b60c(0x18c)][_0x31b60c(0x16e)](_0x31b60c(0x17e));}async[_0x1dcc87(0x19b)]({query:_0x10d2d,context:_0x419095,onData:_0x5ee2b0,actionId:_0x33fba9}){const _0x2b485f=_0x1dcc87,{model:_0x3c36bb,stream:_0x2c249a,..._0xe26b22}=await this[_0x2b485f(0x1ab)](this[_0x2b485f(0x1b3)],_0x33fba9),_0x229b13={'prompt':await this[_0x2b485f(0x170)](_0x10d2d,_0x419095,_0x3c36bb,_0x33fba9),..._0xe26b22};this[_0x2b485f(0x187)]?await this[_0x2b485f(0x18b)](_0x229b13,_0x3c36bb,_0x2c249a,_0x5ee2b0,_0x33fba9):await this[_0x2b485f(0x181)](_0x229b13,_0x3c36bb,_0x2c249a,_0x5ee2b0);}async[_0x1dcc87(0x170)](_0x46fa60,_0x52b92e,_0x3d8e7c,_0x45e64f){const _0x3e2128=_0x1dcc87;let _0x4e6bf5,_0x54cc38;return _0x52b92e?(_0x4e6bf5=_0x3e2128(0x195),_0x54cc38=_0x3e2128(0x190)+_0x46fa60+_0x3e2128(0x17f)+_0x52b92e):(_0x4e6bf5=_0x3e2128(0x191),_0x54cc38=_0x46fa60),_0x3e2128(0x1b0)==this[_0x3e2128(0x1ae)](_0x3d8e7c)?_0x3e2128(0x193)+_0x4e6bf5+_0x3e2128(0x1a2)+_0x54cc38+_0x3e2128(0x1b5):_0x3e2128(0x192)+_0x4e6bf5+'\x0a'+_0x54cc38+_0x3e2128(0x1a3);}[_0x1dcc87(0x1ae)](_0x243a97){const _0x3d9098=_0x1dcc87;if(/^anthropic\.claude/[_0x3d9098(0x177)](_0x243a97))return _0x3d9098(0x1ad);if(/^ai21\.j2/[_0x3d9098(0x177)](_0x243a97))return _0x3d9098(0x188);if(/^cohere\.command/[_0x3d9098(0x177)](_0x243a97))return _0x3d9098(0x17d);if(/^meta\.llama/[_0x3d9098(0x177)](_0x243a97))return _0x3d9098(0x1b0);throw new _0x221f48(_0x5adfbf(this[_0x3d9098(0x178)][_0x3d9098(0x18f)],_0x3d9098(0x17b),_0x243a97));}async[_0x1dcc87(0x18b)](_0x3cab3d,_0x59b7b1,_0x339b0f,_0x247f93,_0x2953d5){const _0x33d41d=_0x1dcc87,_0x3e3f7a={'method':_0x33d41d(0x19c),'headers':await this[_0x33d41d(0x19f)](this[_0x33d41d(0x174)],_0x2953d5),'body':JSON[_0x33d41d(0x194)]({..._0x3cab3d,'model':_0x59b7b1,'stream':_0x339b0f}),'signal':this[_0x33d41d(0x1a4)][_0x33d41d(0x1b8)]},_0x52edbc=await fetch(this[_0x33d41d(0x187)],_0x3e3f7a);_0x339b0f?await this[_0x33d41d(0x1a7)](_0x52edbc,_0x59b7b1,_0x247f93):await this[_0x33d41d(0x189)](_0x52edbc,_0x59b7b1,_0x247f93);}async[_0x1dcc87(0x181)](_0x38dd8a,_0x3ee54f,_0x346ddf,_0x43123f){const _0x1b88f3=_0x1dcc87,_0x24d4d7=new _0x233700(this[_0x1b88f3(0x197)]),_0x42fd11={'body':JSON[_0x1b88f3(0x194)](_0x38dd8a),'contentType':_0x1b88f3(0x176),'accept':_0x1b88f3(0x176),'modelId':_0x3ee54f};let _0x461bb5;if(_0x346ddf){const _0x4f890c=new _0x4ce6ad(_0x42fd11);_0x461bb5=await _0x24d4d7[_0x1b88f3(0x175)](_0x4f890c,{'abortSignal':this[_0x1b88f3(0x1a4)][_0x1b88f3(0x1b8)]}),await this[_0x1b88f3(0x19a)](_0x461bb5,_0x3ee54f,_0x43123f);}else{const _0x13d593=new _0x2fa9cf(_0x42fd11);_0x461bb5=await _0x24d4d7[_0x1b88f3(0x175)](_0x13d593,{'abortSignal':this[_0x1b88f3(0x1a4)][_0x1b88f3(0x1b8)]}),await this[_0x1b88f3(0x189)](_0x461bb5,_0x3ee54f,_0x43123f);}}async[_0x1dcc87(0x19a)](_0x2eec20,_0x1fd8f5,_0x35bf32){const _0x2040a6=_0x1dcc87,_0x14ee70=_0x2eec20[_0x2040a6(0x180)],_0x1ca523=new TextDecoder(_0x2040a6(0x19d));let _0x51adad='';for await(const _0x505416 of _0x14ee70)if(_0x505416[_0x2040a6(0x1bb)]){const _0x88d5f8=_0x1ca523[_0x2040a6(0x171)](_0x505416[_0x2040a6(0x1bb)][_0x2040a6(0x16f)]),_0x57988a=JSON[_0x2040a6(0x1b1)](_0x88d5f8);_0x51adad+=this[_0x2040a6(0x1ac)](_0x57988a,_0x1fd8f5),_0x35bf32(_0x51adad);}return Promise[_0x2040a6(0x186)]();}async[_0x1dcc87(0x1a7)](_0x4c7a9b,_0x4ebb41,_0xb9119){const _0x5be5ab=_0x1dcc87,_0x1ce917=_0x4c7a9b[_0x5be5ab(0x180)],_0x380e94=new TextDecoder(_0x5be5ab(0x19d)),_0x4c419d=_0x1ce917[_0x5be5ab(0x185)]();let _0xcb1d34='',_0x46dff8='',_0x8f1bfb=!0x1;for(;!_0x8f1bfb;){const {done:_0x20b23a,value:_0x10c220}=await _0x4c419d[_0x5be5ab(0x1a5)]();if(_0x8f1bfb=_0x20b23a,_0x8f1bfb)break;const _0x4aa7e4=(_0xcb1d34+_0x380e94[_0x5be5ab(0x171)](_0x10c220))[_0x5be5ab(0x1af)]('\x0a')[_0x5be5ab(0x1b9)](_0x31bbe9=>{const _0x18b987=_0x5be5ab;try{return _0xcb1d34='',JSON[_0x18b987(0x1b1)](_0x31bbe9);}catch{return _0xcb1d34=_0x31bbe9,null;}})[_0x5be5ab(0x1ba)](_0x4cf258=>null!==_0x4cf258);_0x4aa7e4[_0x5be5ab(0x18a)]&&(_0x46dff8+=_0x4aa7e4[_0x5be5ab(0x1b9)](_0x5084b2=>this[_0x5be5ab(0x1ac)](_0x5084b2,_0x4ebb41))[_0x5be5ab(0x1b7)](''),_0xb9119(_0x46dff8));}return Promise[_0x5be5ab(0x186)]();}async[_0x1dcc87(0x189)](_0x399d28,_0x44b009,_0x27e976){const _0x42e264=_0x1dcc87;let _0x132f49;return _0x132f49=_0x399d28 instanceof Response?await _0x399d28[_0x42e264(0x173)]():JSON[_0x42e264(0x1b1)](new TextDecoder(_0x42e264(0x19d))[_0x42e264(0x171)](_0x399d28[_0x42e264(0x180)])),(_0x27e976(this[_0x42e264(0x1ac)](_0x132f49,_0x44b009)),Promise[_0x42e264(0x186)]());}[_0x1dcc87(0x1ac)](_0x1ac886,_0x3260c7){const _0x396f38=_0x1dcc87;switch(this[_0x396f38(0x1ae)](_0x3260c7)){case _0x396f38(0x1ad):return _0x1ac886[_0x396f38(0x1b6)];case _0x396f38(0x188):return _0x1ac886[_0x396f38(0x183)][0x0][_0x396f38(0x18d)][_0x396f38(0x196)];case _0x396f38(0x17d):return _0x1ac886[_0x396f38(0x1a0)][0x0][_0x396f38(0x196)];case _0x396f38(0x1b0):return _0x1ac886[_0x396f38(0x1a8)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x7f6156=_0x57f8;(function(_0x4ef726,_0x5b6818){const _0x234913=_0x57f8,_0x20aad3=_0x4ef726();while(!![]){try{const _0x588ef5=parseInt(_0x234913(0xb8))/0x1*(parseInt(_0x234913(0xd9))/0x2)+-parseInt(_0x234913(0xb1))/0x3*(parseInt(_0x234913(0xa2))/0x4)+-parseInt(_0x234913(0x9c))/0x5*(-parseInt(_0x234913(0x9b))/0x6)+parseInt(_0x234913(0x9d))/0x7*(-parseInt(_0x234913(0xbf))/0x8)+parseInt(_0x234913(0xd3))/0x9*(-parseInt(_0x234913(0xbd))/0xa)+-parseInt(_0x234913(0xd7))/0xb*(parseInt(_0x234913(0xa7))/0xc)+parseInt(_0x234913(0xc7))/0xd;if(_0x588ef5===_0x5b6818)break;else _0x20aad3['push'](_0x20aad3['shift']());}catch(_0x1fafe3){_0x20aad3['push'](_0x20aad3['shift']());}}}(_0x5771,0x19401));import{AITextAdapter as _0x1961b8}from'./aitextadapter.js';import{AIRequestError as _0x3630e}from'./aiadapter.js';function _0x57f8(_0x35c972,_0x4436ea){const _0x577179=_0x5771();return _0x57f8=function(_0x57f86e,_0x28e300){_0x57f86e=_0x57f86e-0x99;let _0xc02ee4=_0x577179[_0x57f86e];return _0xc02ee4;},_0x57f8(_0x35c972,_0x4436ea);}import{getTranslation as _0x160e3b}from'../utils/common-translations.js';function _0x5771(){const _0x5ab4b7=['ai.assistant.adapter.openAI.requestHeaders','gpt-4o','_prepareRequestHeaders','pluginName','_cleanUpData','478722trimPM','5iLsQnO','7gIjnOf','AI_ERROR_MODERATION','POST','content','_prepareRequestParameters','115936qZxAqD','locale','prepareMessages','context_length_exceeded','_readStaticResponse','36ynbIhg','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.','join','_isBufferIncomplete','filter','ai.assistant.adapter.openAI.apiUrl','Moderation','get','reject','system','6vdNlTe','text','sendRequest','includes','parse','config','user','6227IaqhMV','_requestParameters','data:\x20','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','body','30rfnpca','choices','742232YJnCDr','signal','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.','message','_apiUrl','decode','read','ai.assistant.adapter.openAI.requestParameters','4440306BsLcYY','getReader','delta','define','_requestHeaders','abortController','Instruction:\x0a','_readStreamableResponse','length','stringify','split','editor','565443GUVYev','json','resolve','replace','447029LQkbwt','https://api.openai.com/v1/chat/completions','46noEfJp','stream','[DONE]','OpenAITextAdapter','AI_ERROR_CONTEXT_LENGTH','map'];_0x5771=function(){return _0x5ab4b7;};return _0x5771();}export class OpenAITextAdapter extends _0x1961b8{[_0x7f6156(0xc3)];[_0x7f6156(0xcb)];[_0x7f6156(0xb9)];static get[_0x7f6156(0x99)](){const _0x548007=_0x7f6156;return _0x548007(0xdc);}constructor(_0xb379be){const _0x15e08d=_0x7f6156;super(_0xb379be),_0xb379be[_0x15e08d(0xb6)][_0x15e08d(0xca)](_0x15e08d(0xac),_0x15e08d(0xd8)),_0xb379be[_0x15e08d(0xb6)][_0x15e08d(0xae)](_0x15e08d(0xc6))||_0xb379be[_0x15e08d(0xb6)][_0x15e08d(0xca)](_0x15e08d(0xc6),{'model':_0x15e08d(0xe0),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x15e08d(0xc3)]=_0xb379be[_0x15e08d(0xb6)][_0x15e08d(0xae)](_0x15e08d(0xac)),this[_0x15e08d(0xcb)]=_0xb379be[_0x15e08d(0xb6)][_0x15e08d(0xae)](_0x15e08d(0xdf))||{},this[_0x15e08d(0xb9)]=_0xb379be[_0x15e08d(0xb6)][_0x15e08d(0xae)](_0x15e08d(0xc6));}async[_0x7f6156(0xb3)]({query:_0x5c72cc,context:_0x3e55d6,onData:_0x551ab1,actionId:_0x300cd8}){const _0x36d8ba=_0x7f6156,_0x1af34d=this[_0x36d8ba(0xd2)][_0x36d8ba(0xa3)],_0x3b4dbf=await this[_0x36d8ba(0xa4)](_0x5c72cc,_0x3e55d6,_0x300cd8),_0x47d24b=await this[_0x36d8ba(0xe1)](this[_0x36d8ba(0xcb)],_0x300cd8),_0x5fedc7=await this[_0x36d8ba(0xa1)](this[_0x36d8ba(0xb9)],_0x300cd8),_0x5281c9={'messages':_0x3b4dbf,..._0x5fedc7},_0x582f49={'method':_0x36d8ba(0x9f),'headers':_0x47d24b,'body':JSON[_0x36d8ba(0xd0)](_0x5281c9),'signal':this[_0x36d8ba(0xcc)][_0x36d8ba(0xc0)]},_0x501818=await fetch(this[_0x36d8ba(0xc3)],_0x582f49);if(_0x501818['ok'])return _0x5fedc7[_0x36d8ba(0xda)]?await this[_0x36d8ba(0xce)](_0x501818,_0x551ab1):await this[_0x36d8ba(0xa6)](_0x501818,_0x551ab1),Promise[_0x36d8ba(0xd5)]();{const _0x563e73=await _0x501818[_0x36d8ba(0xb2)]();return _0x563e73[_0x36d8ba(0xb4)](_0x36d8ba(0xa5))?Promise[_0x36d8ba(0xaf)](new _0x3630e(_0x160e3b(_0x1af34d,_0x36d8ba(0xdd)))):_0x563e73[_0x36d8ba(0xb4)](_0x36d8ba(0xad))?Promise[_0x36d8ba(0xaf)](new _0x3630e(_0x160e3b(_0x1af34d,_0x36d8ba(0x9e)))):Promise[_0x36d8ba(0xaf)](new Error(_0x563e73));}}async[_0x7f6156(0xa4)](_0x5355df,_0x4351ae,_0xfe488b){const _0x55d334=_0x7f6156;let _0x3962e2,_0x1ea538;return _0x4351ae?(_0x3962e2=_0x55d334(0xc1),_0x1ea538=_0x55d334(0xcd)+_0x5355df+_0x55d334(0xbb)+_0x4351ae):(_0x3962e2=_0x55d334(0xa8),_0x1ea538=_0x5355df),[{'role':_0x55d334(0xb0),'content':_0x3962e2},{'role':_0x55d334(0xb7),'content':_0x1ea538}];}async[_0x7f6156(0xce)](_0x1c2aae,_0x1a3c50){const _0x4f03c0=_0x7f6156,_0x40b4ca=_0x1c2aae[_0x4f03c0(0xbc)][_0x4f03c0(0xc8)](),_0x4fd954=new TextDecoder();let _0x4e7fd0='',_0x2012f2='',_0x4b800b='',_0x25f642=!0x1;for(;!_0x25f642;){const {done:_0x4bd3f6,value:_0x17bccd}=await _0x40b4ca[_0x4f03c0(0xc5)](),_0x398289=_0x4e7fd0+_0x4fd954[_0x4f03c0(0xc4)](_0x17bccd);let _0x48609a='';_0x25f642=_0x4bd3f6;try{_0x48609a=this[_0x4f03c0(0x9a)](_0x398289),_0x4e7fd0='';}catch{_0x4e7fd0=_0x398289;continue;}_0x2012f2+=_0x48609a,!_0x25f642&&this[_0x4f03c0(0xaa)](_0x2012f2)||_0x2012f2&&(_0x4b800b+=_0x2012f2,_0x2012f2='',_0x1a3c50(_0x4b800b));}return Promise[_0x4f03c0(0xd5)]();}async[_0x7f6156(0xa6)](_0x2dec35,_0x57661e){const _0xc8fa83=_0x7f6156;return _0x57661e((await _0x2dec35[_0xc8fa83(0xd4)]())[_0xc8fa83(0xbe)][0x0][_0xc8fa83(0xc2)][_0xc8fa83(0xa0)]),Promise[_0xc8fa83(0xd5)]();}[_0x7f6156(0xaa)](_0x475002){const _0x25ba75=_0x7f6156,_0x2f8b6d=_0x475002[_0x25ba75(0xd1)]('<')[_0x25ba75(0xcf)]!==_0x475002[_0x25ba75(0xd1)]('>')[_0x25ba75(0xcf)],_0x53d159=_0x475002[_0x25ba75(0xcf)]<0x1e;return _0x2f8b6d&&_0x53d159;}[_0x7f6156(0x9a)](_0x503711){const _0x1115df=_0x7f6156;return _0x503711[_0x1115df(0xd1)](/\n(?![^{]*\})/g)[_0x1115df(0xde)](_0x4c99e6=>_0x4c99e6[_0x1115df(0xd6)](_0x1115df(0xba),''))[_0x1115df(0xab)](_0x35a5b3=>_0x35a5b3&&_0x35a5b3[_0x1115df(0xcf)]>0x0&&_0x1115df(0xdb)!==_0x35a5b3)[_0x1115df(0xde)](_0x2d66db=>{const _0x4bb499=_0x1115df,{choices:_0x5bd3ac}=JSON[_0x4bb499(0xb5)](_0x2d66db);if(_0x5bd3ac[0x0]?.[_0x4bb499(0xc9)]?.[_0x4bb499(0xa0)])return _0x5bd3ac[0x0][_0x4bb499(0xc9)][_0x4bb499(0xa0)];})[_0x1115df(0xab)](_0x257f9c=>_0x257f9c)[_0x1115df(0xa9)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24c353=_0x283e;function _0x4769(){const _0x50f229=['journalism','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateFrench','groupId','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20English\x20language.','836478RvzxxF','ai.assistant.extraCommandGroups','ai.assistant.removeCommands','professional','Journalism','Simplified\x20Chinese','Change\x20style','English','Summarize','French','friendly','config','translateGerman','8764940sRrKFE','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','forEach','Spanish','Professional','10883511WecKUi','Make\x20longer','confident','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Hindi','filter','generate','isPremiumPlugin','1338158IrEMyd','translateChinese','locale','define','Improve\x20writing','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','improveWriting','translateSpanish','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Direct','translateEnglish','find','set','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Business','get','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','editOrReview','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','changeStyle','ai.assistant.commands','German','Continue','554475UMfZpC','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','simplifyLanguage','continue','Poetic','makeLonger','summarize','56yKCTwV','push','isOfficialPlugin','1295440audsMQ','includes','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','casual','Arabic','Translate','translateArabic','poetic','Simplify\x20language','Translate\x20the\x20content\x20to\x20French\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','direct','ai.assistant.preserveComments','requires','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','commands','Make\x20shorter','translatePortuguese','translateHindi','Confident','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Change\x20tone','Friendly','translate','Portuguese','makeShorter','changeTone','pluginName','Translate\x20the\x20content\x20to\x20German\x20language.','2UooTev','business','concat','3483792frFPIW','16DWIyxL','legal','AIAssistant','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Legal','Casual'];_0x4769=function(){return _0x50f229;};return _0x4769();}(function(_0x4ae9cc,_0x249641){const _0x3b11dd=_0x283e,_0x395d02=_0x4ae9cc();while(!![]){try{const _0x54a12f=-parseInt(_0x3b11dd(0xb0))/0x1*(parseInt(_0x3b11dd(0xdb))/0x2)+-parseInt(_0x3b11dd(0xb3))/0x3+-parseInt(_0x3b11dd(0xb4))/0x4*(-parseInt(_0x3b11dd(0xf6))/0x5)+-parseInt(_0x3b11dd(0xc1))/0x6*(-parseInt(_0x3b11dd(0x8f))/0x7)+-parseInt(_0x3b11dd(0x92))/0x8+parseInt(_0x3b11dd(0xd3))/0x9+parseInt(_0x3b11dd(0xce))/0xa;if(_0x54a12f===_0x249641)break;else _0x395d02['push'](_0x395d02['shift']());}catch(_0x20a3bf){_0x395d02['push'](_0x395d02['shift']());}}}(_0x4769,0xf0109));import{Plugin as _0x1881ee}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4b808b}from'./aiassistantui.js';import{AIAssistantEditing as _0x22e764}from'./aiassistantediting.js';import{getTranslation as _0x8981a1}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x735703}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x1881ee{static get[_0x24c353(0x9f)](){return[_0x4b808b,_0x22e764];}static get[_0x24c353(0xae)](){const _0x49811d=_0x24c353;return _0x49811d(0xb6);}static get[_0x24c353(0x91)](){return!0x0;}static get[_0x24c353(0xda)](){return!0x0;}constructor(_0x5b90ce){const _0x2f4b47=_0x24c353;super(_0x5b90ce);const _0x1b5a27=_0x5b90ce[_0x2f4b47(0xcc)],_0x2c125c=_0x5b90ce[_0x2f4b47(0xdd)];_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0x9e),!0x0),_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0xf3),getDefaultAICommands(_0x2c125c)),_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0xc2),[]),_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0xc3),[]);let _0x49b96e=_0x735703(_0x1b5a27[_0x2f4b47(0xeb)](_0x2f4b47(0xf3)),_0x2c125c);const _0x41c24f=_0x1b5a27[_0x2f4b47(0xeb)](_0x2f4b47(0xc2)),_0xa4bb7=_0x1b5a27[_0x2f4b47(0xeb)](_0x2f4b47(0xc3));_0x41c24f[_0x2f4b47(0xd0)](_0x3ae3b=>{const _0x3f92af=_0x2f4b47,_0x1dbbf1=_0x49b96e[_0x3f92af(0xe7)](_0x162c3e=>_0x162c3e[_0x3f92af(0xbd)]===_0x3ae3b[_0x3f92af(0xbd)]);_0x1dbbf1?_0x1dbbf1[_0x3f92af(0xa1)]=_0x1dbbf1[_0x3f92af(0xa1)][_0x3f92af(0xb2)](_0x3ae3b[_0x3f92af(0xa1)]):_0x49b96e[_0x3f92af(0x90)](_0x3ae3b);}),_0x49b96e=_0x49b96e[_0x2f4b47(0xd8)](_0x593a65=>!_0xa4bb7[_0x2f4b47(0x93)](_0x593a65[_0x2f4b47(0xbd)])),_0x49b96e[_0x2f4b47(0xd0)](_0x5a4794=>{const _0x4c4c1d=_0x2f4b47;_0x5a4794[_0x4c4c1d(0xa1)]=_0x5a4794[_0x4c4c1d(0xa1)][_0x4c4c1d(0xd8)](_0x3916ea=>!_0xa4bb7[_0x4c4c1d(0x93)](_0x3916ea['id']));}),_0x1b5a27[_0x2f4b47(0xe8)](_0x2f4b47(0xf3),_0x49b96e);}}function _0x283e(_0x274879,_0x5ba0c8){const _0x476987=_0x4769();return _0x283e=function(_0x283e7e,_0x234809){_0x283e7e=_0x283e7e-0x89;let _0x5388d9=_0x476987[_0x283e7e];return _0x5388d9;},_0x283e(_0x274879,_0x5ba0c8);}export function getDefaultAICommands(_0x3edf83){const _0x4c04f1=_0x24c353;return[{'groupId':_0x4c04f1(0xf0),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xbf)),'commands':[{'id':_0x4c04f1(0xe2),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xdf)),'prompt':_0x4c04f1(0xb7)},{'id':_0x4c04f1(0xac),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xa2)),'prompt':_0x4c04f1(0x9c)},{'id':_0x4c04f1(0x8d),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd4)),'prompt':_0x4c04f1(0x89)},{'id':_0x4c04f1(0x8a),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0x9a)),'prompt':_0x4c04f1(0xe9)}]},{'groupId':_0x4c04f1(0xd9),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xed)),'commands':[{'id':_0x4c04f1(0x8e),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc9)),'prompt':_0x4c04f1(0xbb)},{'id':_0x4c04f1(0x8b),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xf5)),'prompt':_0x4c04f1(0xe1)}]},{'groupId':_0x4c04f1(0xad),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xa8)),'commands':[{'id':_0x4c04f1(0xc4),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd2)),'prompt':_0x4c04f1(0xe4)},{'id':_0x4c04f1(0x95),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xb9)),'prompt':_0x4c04f1(0xf1)},{'id':_0x4c04f1(0x9d),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xe5)),'prompt':_0x4c04f1(0x94)},{'id':_0x4c04f1(0xd5),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xa5)),'prompt':_0x4c04f1(0xcf)},{'id':_0x4c04f1(0xcb),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xa9)),'prompt':_0x4c04f1(0xec)}]},{'groupId':_0x4c04f1(0xf2),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xc7)),'commands':[{'id':_0x4c04f1(0xb1),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xea)),'prompt':_0x4c04f1(0xf7)},{'id':_0x4c04f1(0xb5),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xb8)),'prompt':_0x4c04f1(0xe0)},{'id':_0x4c04f1(0xba),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc5)),'prompt':_0x4c04f1(0xef)},{'id':_0x4c04f1(0x99),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0x8c)),'prompt':_0x4c04f1(0xd6)}]},{'groupId':_0x4c04f1(0xaa),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0x97)),'commands':[{'id':_0x4c04f1(0xe6),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc8)),'prompt':_0x4c04f1(0xc0)},{'id':_0x4c04f1(0xe3),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd1)),'prompt':_0x4c04f1(0xa7)},{'id':_0x4c04f1(0xa3),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xab)),'prompt':_0x4c04f1(0xee)},{'id':_0x4c04f1(0xcd),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xf4)),'prompt':_0x4c04f1(0xaf)},{'id':_0x4c04f1(0xbc),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xca)),'prompt':_0x4c04f1(0x9b)},{'id':_0x4c04f1(0xdc),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc6)),'prompt':_0x4c04f1(0xa0)},{'id':_0x4c04f1(0xa4),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd7)),'prompt':_0x4c04f1(0xa6)},{'id':_0x4c04f1(0x98),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0x96)),'prompt':_0x4c04f1(0xbe)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49f670=_0x4f19;(function(_0x121bf1,_0x54aa27){const _0x326500=_0x4f19,_0x23827e=_0x121bf1();while(!![]){try{const _0x2efa90=-parseInt(_0x326500(0x13b))/0x1+parseInt(_0x326500(0x12d))/0x2*(parseInt(_0x326500(0x11f))/0x3)+-parseInt(_0x326500(0x109))/0x4*(-parseInt(_0x326500(0x135))/0x5)+parseInt(_0x326500(0xde))/0x6+-parseInt(_0x326500(0xf2))/0x7*(-parseInt(_0x326500(0x13c))/0x8)+-parseInt(_0x326500(0xee))/0x9+parseInt(_0x326500(0xe2))/0xa*(-parseInt(_0x326500(0x149))/0xb);if(_0x2efa90===_0x54aa27)break;else _0x23827e['push'](_0x23827e['shift']());}catch(_0x2d839e){_0x23827e['push'](_0x23827e['shift']());}}}(_0x4ee5,0x2da15));import{uid as _0x4f2e3b}from'ckeditor5/src/utils.js';import{Plugin as _0x450bcd}from'ckeditor5/src/core.js';function _0x4ee5(){const _0x2fb652=['101624BoENSX','48424KHVyBD','isAtEnd','markerRange','AIAssistantEditing','contentInsertion','join','removeMarker','length','getRange','selection','init','table','getRowIndexes','22lLvEIj','getMarkersGroup','createSelection','data','2085666yKwcdN','deleteContent','once','pop','1223400oHvmPC','markerToHighlight','getColumnIndexes','getChildren','setData','_createEmptyTableRows','createPositionAfter','end','element','hideFakeVisualSelection','_pasteHTMLUsingClipboard','isCollapsed','2648115EpIayE','isOfficialPlugin','getLastMatchingPosition','insertContent','42VDbeTi','showFakeVisualSelection','schema','_prepareTableInsertBelowPosition','resultRange','getSelectedTableCells','markers','change','fromCharCode','createUIElement','editor','_getTableRowCountFromContent','push','getSelectedBlocks','get','isPremiumPlugin','updateMarker','getRanges','getChild','ck-ai-assistant-ui_theme','conversion','addMarker','editingDowncast','54484HomUAa','getLastPosition','getRows','parse','ck-fake-ai-selection_collapsed','markerToElement','canEditAt','insertRows','plugins','has','text/html','addClass','_getDefaultInsertBelowPosition','span','lowest','createRange','map','setSelection','ck-fake-ai-selection','filter','off','forEach','12hSzuZP','DataTransfer','for','from','createPositionAt','last','model','fire','ai-ui','getFirstRange','insertContentBelow','ai.assistant.useTheme','config','first','174082vOtpFC','isContent','findAncestor','editing','_resetContentOfSelectedTableCells','_getAISelection','document','TableUtils','35shERqU','start','afterInit','href','paste','pluginName'];_0x4ee5=function(){return _0x2fb652;};return _0x4ee5();}import{ClipboardPipeline as _0x23c0a0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x18cb4b,ViewDataTransfer as _0x3a54a6}from'ckeditor5/src/engine.js';function _0x4f19(_0x5b5ed0,_0x2d7b8a){const _0x4ee5fe=_0x4ee5();return _0x4f19=function(_0x4f19d6,_0x456eab){_0x4f19d6=_0x4f19d6-0xdb;let _0x37a301=_0x4ee5fe[_0x4f19d6];return _0x37a301;},_0x4f19(_0x5b5ed0,_0x2d7b8a);}const w=globalThis[_0x49f670(0x120)],f=_0x49f670(0x127);export class AIAssistantEditing extends _0x450bcd{static get[_0x49f670(0x13a)](){const _0x590e42=_0x49f670;return _0x590e42(0x13f);}static get[_0x49f670(0xef)](){return!0x0;}static get[_0x49f670(0x101)](){return!0x0;}[_0x49f670(0x146)](){const _0x166001=_0x49f670,{editor:_0x3e4dd8}=this,_0x1a0501=[_0x166001(0x11b)];_0x3e4dd8[_0x166001(0x12b)][_0x166001(0x100)](_0x166001(0x12a))&&_0x1a0501[_0x166001(0xfe)](_0x166001(0x105)),_0x3e4dd8[_0x166001(0x106)][_0x166001(0x121)](_0x166001(0x108))[_0x166001(0xe3)]({'model':f,'view':{'classes':_0x1a0501,'priority':0xc}}),_0x3e4dd8[_0x166001(0x106)][_0x166001(0x121)](_0x166001(0x108))[_0x166001(0x10e)]({'model':f,'view':(_0x24aa6e,{writer:_0x931358})=>{const _0x4995ee=_0x166001;if(!_0x24aa6e[_0x4995ee(0x13e)][_0x4995ee(0xed)])return null;const _0x63cde1=_0x931358[_0x4995ee(0xfb)](_0x4995ee(0x116));return _0x931358[_0x4995ee(0x114)]([_0x4995ee(0x11b),_0x4995ee(0x10d)],_0x63cde1),_0x63cde1;}});}[_0x49f670(0x137)](){!async function(_0xa4e3ff){const _0x2b9dbe=_0x549447([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]),_0x39a8fe=0x3dffc4e1,_0x499c48=0x3df8bcc1^_0x39a8fe,_0x36b100=window[_0x549447([0x44,0x61,0x74,0x65])][_0x549447([0x6e,0x6f,0x77])](),_0xc66c70=_0xa4e3ff[_0x549447([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a2091=new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb3000d=>{_0xc66c70[_0x549447([0x6f,0x6e,0x63,0x65])](_0x549447([0x72,0x65,0x61,0x64,0x79]),_0xb3000d);}),_0xdc8dd2={[_0x549447([0x6b,0x74,0x79])]:_0x549447([0x45,0x43]),[_0x549447([0x75,0x73,0x65])]:_0x549447([0x73,0x69,0x67]),[_0x549447([0x63,0x72,0x76])]:_0x549447([0x50,0x2d,0x32,0x35,0x36]),[_0x549447([0x78])]:_0x549447([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]),[_0x549447([0x79])]:_0x549447([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]),[_0x549447([0x61,0x6c,0x67])]:_0x549447([0x45,0x53,0x32,0x35,0x36])},_0x2a901c=_0xc66c70[_0x549447([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x549447([0x67,0x65,0x74])](_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c41a7(){let _0x20d77d,_0x2b115b=null,_0x13a4eb=null;try{if(_0x2a901c==_0x549447([0x47,0x50,0x4c]))return _0x549447([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20d77d=_0x3fe0f4(),!_0x20d77d)return _0x549447([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20d77d[_0x549447([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13a4eb=_0x35ecc9(_0x20d77d[_0x549447([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20d77d[_0x549447([0x6a,0x74,0x69])])),await _0x5adf68()?_0x7601e9()?_0x1c12c0()?_0x549447([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c3f45()?(_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x549447([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b115b=_0x34ccf2(_0x549447([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x549447([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b115b=_0x34ccf2(_0x549447([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13c6c5()):_0x549447([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x549447([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x549447([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x549447([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c12c0(){const _0x2faef6=[_0x549447([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x549447([0x74,0x72,0x69,0x61,0x6c])][_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36b100/0x3e8:0xe10*_0x499c48;return _0x20d77d[_0x549447([0x65,0x78,0x70])]<_0x2faef6;}function _0x7601e9(){const _0xca2b6f=_0x20d77d[_0x549447([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xca2b6f&&(!!_0xca2b6f[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549447([0x2a]))||!!_0xca2b6f[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549447([0x41,0x49])));}function _0x3c3f45(){const _0x254355=_0x4f19,_0x5a9332=_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a9332||0x0==_0x5a9332[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5615bf}=new URL(window[_0x549447([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x254355(0x138)]);if(_0x5a9332[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5615bf))return!0x0;const _0x26398c=_0x5615bf[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e]));return _0x5a9332[_0x549447([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9871f9=>_0x9871f9[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549447([0x2a])))[_0x549447([0x6d,0x61,0x70])](_0x499f35=>_0x499f35[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e])))[_0x549447([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3265c1=>_0x3265c1[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26398c[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x549447([0x6d,0x61,0x70])](_0x278dcc=>Array(_0x26398c[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x278dcc[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x549447([0x66,0x69,0x6c,0x6c])](_0x278dcc[0x0]===_0x549447([0x2a])?_0x549447([0x2a]):'')[_0x549447([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x278dcc))[_0x549447([0x73,0x6f,0x6d,0x65])](_0x221b45=>_0x26398c[_0x549447([0x65,0x76,0x65,0x72,0x79])]((_0x324ee7,_0x12cc32)=>_0x221b45[_0x12cc32]===_0x324ee7||_0x221b45[_0x12cc32]===_0x549447([0x2a])));}function _0x13c6c5(){return _0x2b115b&&_0x13a4eb?new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ced0b,_0x4478e1)=>{_0x2b115b[_0x549447([0x74,0x68,0x65,0x6e])](_0x4ced0b,_0x4478e1),_0x13a4eb[_0x549447([0x74,0x68,0x65,0x6e])](_0x591c9a=>{_0x591c9a!=_0x549447([0x56,0x61,0x6c,0x69,0x64])&&_0x4ced0b(_0x591c9a);},_0x4478e1);}):_0x2b115b||_0x13a4eb||_0x549447([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35ecc9(_0x508d36,_0x20edf9){return new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x115b0b=>{if(_0xfc0785())return _0x115b0b(_0x549447([0x56,0x61,0x6c,0x69,0x64]));_0x4f09f3(),_0xc66c70[_0x549447([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x549447([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30e620=!0x1;const _0x17ca69=_0x4f2e3b();function _0x3544ac(_0x5eeca4){return!!_0x5eeca4&&(typeof _0x5eeca4===_0x549447([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5eeca4===_0x549447([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5eeca4[_0x549447([0x74,0x68,0x65,0x6e])]===_0x549447([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5eeca4[_0x549447([0x63,0x61,0x74,0x63,0x68])]===_0x549447([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37621d(_0x4ab94a){_0x69ab99(_0x4ab94a)[_0x549447([0x74,0x68,0x65,0x6e])](_0x30c120=>{if(!_0x30c120||_0x30c120[_0x549447([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x549447([0x6f,0x6b]))return _0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e1fff(_0x26b10b(_0x17ca69+_0x20edf9))!=_0x30c120[_0x549447([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x549447([0x56,0x61,0x6c,0x69,0x64]);})[_0x549447([0x74,0x68,0x65,0x6e])](_0x3ef8ed=>(_0x5b218a(),_0x3ef8ed),()=>{const _0x3270d1=_0x497ab5();return null==_0x3270d1?(_0x5b218a(),_0x549447([0x56,0x61,0x6c,0x69,0x64])):_0x549447(_0x36b100-_0x3270d1>(0x19f340e1^_0x39a8fe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x549447([0x74,0x68,0x65,0x6e])](_0x115b0b)[_0x549447([0x63,0x61,0x74,0x63,0x68])](()=>{_0x115b0b(_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b0062=0x3dc92a61^_0x39a8fe;function _0x5b218a(){const _0x5321fb=_0x549447([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e1fff(_0x26b10b(_0x508d36)),_0x472924=_0x4b3606(_0x2e1fff(window[_0x549447([0x4d,0x61,0x74,0x68])][_0x549447([0x63,0x65,0x69,0x6c])](_0x36b100/_0x2b0062)));window[_0x549447([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x549447([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5321fb,_0x472924);}function _0x497ab5(){const _0x5deb68=_0x549447([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e1fff(_0x26b10b(_0x508d36)),_0x235f20=window[_0x549447([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x549447([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5deb68);return _0x235f20?window[_0x549447([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3606(_0x235f20),0x10)*_0x2b0062:null;}function _0x69ab99(_0x5987e0){return new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25e452,_0x3ca0fe)=>{_0x5987e0[_0x549447([0x74,0x68,0x65,0x6e])](_0x25e452,_0x3ca0fe),window[_0x549447([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ca0fe,0x3dfe1021^_0x39a8fe);});}}_0xc66c70[_0x549447([0x6f,0x6e])](_0x549447([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xbed00a,_0x2a18b2)=>{if(_0x2a18b2[0x0]!=_0x508d36)return _0x115b0b(_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a18b2[0x1]={..._0x2a18b2[0x1],[_0x549447([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17ca69};},{[_0x549447([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x549447([0x68,0x69,0x67,0x68])}),_0xc66c70[_0x549447([0x6f,0x6e])](_0x549447([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x438f87=>{_0x3544ac(_0x438f87[_0x549447([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30e620=!0x0,_0x37621d(_0x438f87[_0x549447([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x549447([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x549447([0x6c,0x6f,0x77])}),_0x1a2091[_0x549447([0x74,0x68,0x65,0x6e])](()=>{_0x30e620||_0x115b0b(_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfc0785(){return _0xc66c70[_0x549447([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x549447([0x76,0x69,0x65,0x77])][_0x549447([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x549447([0x61,0x75,0x74,0x6f]);}function _0x4f09f3(){_0xc66c70[_0x549447([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x549447([0x76,0x69,0x65,0x77])][_0x549447([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x549447([0x61,0x75,0x74,0x6f]);}}function _0x34ccf2(_0x308ccb){const _0x59c866=[new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7bf2=>setTimeout(_0x2f7bf2,0x3df6fa2d^_0x39a8fe)),_0x1a2091[_0x549447([0x74,0x68,0x65,0x6e])](()=>new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x574702=>{let _0x4d917f=0x0;_0xc66c70[_0x549447([0x6d,0x6f,0x64,0x65,0x6c])][_0x549447([0x6f,0x6e])](_0x549447([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d664e,_0x35bed7)=>{_0x35bed7[0x0][_0x549447([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d917f++,_0x4d917f==(0x3dffc519^_0x39a8fe)&&(_0x574702(),_0x1d664e[_0x549447([0x6f,0x66,0x66])]());});}))];return window[_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x549447([0x72,0x61,0x63,0x65])](_0x59c866)[_0x549447([0x74,0x68,0x65,0x6e])](()=>_0x308ccb);}async function _0x596547(){await _0x1a2091,_0xc66c70[_0x549447([0x6d,0x6f,0x64,0x65,0x6c])][_0x549447([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x266e45,_0xc66c70[_0x549447([0x6d,0x6f,0x64,0x65,0x6c])][_0x549447([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x266e45,_0xc66c70[_0x549447([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x549447([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2434ce(_0x3a3724){const _0x695c52=_0x588145();_0xc66c70[_0x695c52]=_0x549447([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a3724,_0x3a3724!=_0x549447([0x56,0x61,0x6c,0x69,0x64])&&_0x596547();}function _0x588145(){const _0x458f1a=window[_0x549447([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x549447([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x549447([0x6e,0x6f,0x77])]())[_0x549447([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x549447([0x2e]),'');let _0x1a4e32=_0x549447([0x6e]);for(let _0x18bff9=0x0;_0x18bff9<_0x458f1a[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18bff9+=0x2){let _0x30e21a=window[_0x549447([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x458f1a[_0x549447([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18bff9,_0x18bff9+0x2));_0x30e21a>=_0x2b9dbe[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30e21a-=_0x2b9dbe[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a4e32+=_0x2b9dbe[_0x30e21a];}return _0x1a4e32;}function _0x3fe0f4(){const _0x32d82e=_0x2a901c[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e]));if(0x3!=_0x32d82e[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a8ff2(_0x32d82e[0x1]);function _0x4a8ff2(_0x16b401){const _0x38b1c7=_0x329372(_0x16b401);return _0x38b1c7&&_0x1c2c54()?_0x38b1c7:null;function _0x1c2c54(){const _0x5a95ab=_0x38b1c7[_0x549447([0x6a,0x74,0x69])],_0x3d6d0d=window[_0x549447([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a95ab[_0x549447([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a95ab[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b3514={..._0x38b1c7,[_0x549447([0x6a,0x74,0x69])]:_0x5a95ab[_0x549447([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a95ab[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b3514[_0x549447([0x76,0x63])],_0x26b10b(_0x4b3514)==_0x3d6d0d;}}}async function _0x5adf68(){let _0x1f8c87=!0x0;try{const _0x2f4132=_0x2a901c[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e])),[_0x542168,_0x433e72,_0x380238]=_0x2f4132;return _0x3439fc(_0x542168),await _0x5524d6(_0x542168,_0x433e72,_0x380238),_0x1f8c87;}catch{return!0x1;}function _0x3439fc(_0x2ff351){const _0x36cfd8=_0x329372(_0x2ff351);_0x36cfd8&&_0x36cfd8[_0x549447([0x61,0x6c,0x67])]==_0x549447([0x45,0x53,0x32,0x35,0x36])||(_0x1f8c87=!0x1);}async function _0x5524d6(_0x17de52,_0x29f679,_0x35896c){const _0xd9115a=window[_0x549447([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x549447([0x66,0x72,0x6f,0x6d])](_0xb00675(_0x35896c),_0x5dfb91=>_0x5dfb91[_0x549447([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30e467=new window[(_0x549447([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x549447([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17de52+_0x549447([0x2e])+_0x29f679),_0x5ab42c=window[_0x549447([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x549447([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ab42c)return;const _0x45d09b=await _0x5ab42c[_0x549447([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x549447([0x6a,0x77,0x6b]),_0xdc8dd2,{[_0x549447([0x6e,0x61,0x6d,0x65])]:_0x549447([0x45,0x43,0x44,0x53,0x41]),[_0x549447([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x549447([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x549447([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ab42c[_0x549447([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x549447([0x6e,0x61,0x6d,0x65])]:_0x549447([0x45,0x43,0x44,0x53,0x41]),[_0x549447([0x68,0x61,0x73,0x68])]:{[_0x549447([0x6e,0x61,0x6d,0x65])]:_0x549447([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45d09b,_0xd9115a,_0x30e467)||(_0x1f8c87=!0x1);}}function _0x329372(_0x4bfcaa){return _0x4bfcaa[_0x549447([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x549447([0x65,0x79]))?JSON[_0x549447([0x70,0x61,0x72,0x73,0x65])](_0xb00675(_0x4bfcaa)):null;}function _0xb00675(_0xa5684){return window[_0x549447([0x61,0x74,0x6f,0x62])](_0xa5684[_0x549447([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x549447([0x2b]))[_0x549447([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x549447([0x2f])));}function _0x26b10b(_0x448f59){let _0x3cc0fc=0x1505;function _0x4662b8(_0x59a12a){for(let _0x1f8641=0x0;_0x1f8641<_0x59a12a[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8641++){const _0x524e79=_0x59a12a[_0x549447([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8641);_0x3cc0fc=(_0x3cc0fc<<0x5)+_0x3cc0fc+_0x524e79,_0x3cc0fc&=_0x3cc0fc;}}function _0x16f9ce(_0x42f0ed){Array[_0x549447([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42f0ed)?_0x42f0ed[_0x549447([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16f9ce):_0x42f0ed&&typeof _0x42f0ed==_0x549447([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x549447([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42f0ed)[_0x549447([0x73,0x6f,0x72,0x74])]()[_0x549447([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x305c05,_0x3688ee])=>{_0x4662b8(_0x305c05),_0x16f9ce(_0x3688ee);}):_0x4662b8(window[_0x549447([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42f0ed));}return _0x16f9ce(_0x448f59),_0x3cc0fc>>>0x0;}function _0x2e1fff(_0x559396){return _0x559396[_0x549447([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x549447([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x549447([0x30]));}function _0x4b3606(_0x5745f6){return _0x5745f6[_0x549447([0x73,0x70,0x6c,0x69,0x74])]('')[_0x549447([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x549447([0x6a,0x6f,0x69,0x6e])]('');}function _0x266e45(){}function _0x549447(_0x19e9c0){const _0x4b5541=_0x4f19;return _0x19e9c0[_0x4b5541(0x119)](_0x4e2c80=>String[_0x4b5541(0xfa)](_0x4e2c80))[_0x4b5541(0x141)]('');}_0x2434ce(await _0x3c41a7());}(this);}[_0x49f670(0xf3)](){const _0x48c63a=_0x49f670,_0x1722b0=this[_0x48c63a(0xfc)][_0x48c63a(0x125)];_0x1722b0[_0x48c63a(0xf9)](_0x3acdd3=>{const _0x25e3a7=_0x48c63a,_0x2306ae=_0x1722b0[_0x25e3a7(0x133)][_0x25e3a7(0x145)][_0x25e3a7(0x103)]();let _0x44a0e6=0x0;for(const _0x4e5ce7 of _0x2306ae){const _0x453e29=f+':'+_0x44a0e6;if(_0x1722b0[_0x25e3a7(0xf8)][_0x25e3a7(0x112)](_0x453e29))_0x3acdd3[_0x25e3a7(0x102)](_0x453e29,{'range':_0x4e5ce7});else{if(_0x4e5ce7[_0x25e3a7(0x136)][_0x25e3a7(0x13d)]){const _0x2a554d=_0x4e5ce7[_0x25e3a7(0x136)][_0x25e3a7(0xf0)](({item:_0x113be4})=>!_0x1722b0[_0x25e3a7(0xf4)][_0x25e3a7(0x12e)](_0x113be4),{'boundaries':_0x4e5ce7});_0x3acdd3[_0x25e3a7(0x107)](_0x453e29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3acdd3[_0x25e3a7(0x118)](_0x2a554d,_0x4e5ce7[_0x25e3a7(0xe9)])});}else _0x3acdd3[_0x25e3a7(0x107)](_0x453e29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4e5ce7});}_0x44a0e6++;}});}[_0x49f670(0xeb)](){const _0xe6a414=_0x49f670,_0xf20e80=this[_0xe6a414(0xfc)][_0xe6a414(0x125)],_0x3f9f41=Array[_0xe6a414(0x122)](this[_0xe6a414(0xfc)][_0xe6a414(0x125)][_0xe6a414(0xf8)][_0xe6a414(0xdb)](f));_0x3f9f41[_0xe6a414(0x143)]&&_0xf20e80[_0xe6a414(0xf9)](_0x1a211d=>{const _0x119262=_0xe6a414;_0x3f9f41[_0x119262(0x11e)](_0x3bec82=>{const _0x3736e6=_0x119262;_0x1a211d[_0x3736e6(0x142)](_0x3bec82);});});}[_0x49f670(0xf1)](_0x3f2393,_0x26bfce){const _0x498dee=_0x49f670,_0x593d6a=this[_0x498dee(0x132)](),_0x5c9a64=_0x26bfce||_0x593d6a[_0x498dee(0x128)]();this[_0x498dee(0xfc)][_0x498dee(0x125)][_0x498dee(0x10f)](_0x5c9a64)&&this[_0x498dee(0xfc)][_0x498dee(0x125)][_0x498dee(0xf9)](_0x5685f8=>{const _0x3a4f61=_0x498dee;this[_0x3a4f61(0xeb)](),_0x26bfce||this[_0x3a4f61(0x131)](_0x5685f8,_0x593d6a),this[_0x3a4f61(0xec)]({'insertAt':_0x5c9a64,'writer':_0x5685f8,'html':_0x3f2393});});}[_0x49f670(0x129)](_0x14627d){const _0x59653f=_0x49f670,{model:_0x1ae0e8}=this[_0x59653f(0xfc)],_0x2e1a98=this[_0x59653f(0x132)]();_0x1ae0e8[_0x59653f(0xf9)](()=>{const _0x4d2210=_0x59653f,_0x233feb=this[_0x4d2210(0xf5)](_0x14627d,_0x2e1a98)||this[_0x4d2210(0x115)](_0x2e1a98);this[_0x4d2210(0xf1)](_0x14627d,_0x233feb);});}[_0x49f670(0x132)](){const _0x216931=_0x49f670,_0x493a25=this[_0x216931(0xfc)][_0x216931(0x125)],_0x477605=Array[_0x216931(0x122)](_0x493a25[_0x216931(0xf8)][_0x216931(0xdb)](f))[_0x216931(0x119)](_0x51227c=>_0x51227c[_0x216931(0x144)]());return _0x493a25[_0x216931(0xdc)](_0x477605);}[_0x49f670(0xec)]({writer:_0x261211,html:_0x16e655,insertAt:_0x283a2c}){const _0x529fdc=_0x49f670,{view:_0x432845}=this[_0x529fdc(0xfc)][_0x529fdc(0x130)],_0x34acd9=this[_0x529fdc(0xfc)][_0x529fdc(0x111)][_0x529fdc(0x100)](_0x23c0a0),_0x404822=new w();_0x404822[_0x529fdc(0xe6)](_0x529fdc(0x113),_0x16e655);const _0x444015=new ClipboardEvent(_0x529fdc(0x139),{'clipboardData':_0x404822}),_0x17b027=new _0x18cb4b(_0x432845,_0x444015,{'dataTransfer':new _0x3a54a6(_0x404822)});_0x261211[_0x529fdc(0x11a)](_0x283a2c);const _0x17f60f=(_0x558b7e,_0x1afac3)=>{const _0x3c9b2d=_0x529fdc;_0x1afac3[_0x3c9b2d(0xf6)]&&_0x261211[_0x3c9b2d(0x11a)](_0x1afac3[_0x3c9b2d(0xf6)]);};_0x34acd9[_0x529fdc(0xe0)](_0x529fdc(0x140),_0x17f60f,{'priority':_0x529fdc(0x117)}),_0x432845[_0x529fdc(0x133)][_0x529fdc(0x126)](_0x529fdc(0x139),_0x17b027),_0x34acd9[_0x529fdc(0x11d)](_0x529fdc(0x140),_0x17f60f);}[_0x49f670(0x115)](_0x241f47){const _0x5f3811=_0x49f670,{model:_0x2e1dec}=this[_0x5f3811(0xfc)],_0x354f6e=Array[_0x5f3811(0x122)](_0x241f47[_0x5f3811(0xff)]());return _0x354f6e[_0x5f3811(0x143)]?_0x2e1dec[_0x5f3811(0xe8)](_0x354f6e[_0x5f3811(0xe1)]()):_0x241f47[_0x5f3811(0x10a)]();}[_0x49f670(0xf5)](_0x1bcf53,_0x4992ee){const _0x4cc830=_0x49f670,{model:_0x453ffd,plugins:_0x4be322}=this[_0x4cc830(0xfc)];if(_0x4be322[_0x4cc830(0x112)](_0x4cc830(0x134))){const _0x150dff=_0x4be322[_0x4cc830(0x100)](_0x4cc830(0x134))[_0x4cc830(0xf7)](_0x4992ee);if(_0x150dff[_0x4cc830(0x143)]){const _0x4dc5c5=this[_0x4cc830(0xfd)](_0x1bcf53),_0xbd721=this[_0x4cc830(0xe7)](_0x150dff,_0x4dc5c5);return _0x453ffd[_0x4cc830(0x123)](_0xbd721,0x0);}}return null;}[_0x49f670(0xfd)](_0x3b30b0){const _0x3a4fa9=_0x49f670,_0x4e99af=this[_0x3a4fa9(0xfc)][_0x3a4fa9(0x111)][_0x3a4fa9(0x100)](_0x3a4fa9(0x134)),_0x375000=this[_0x3a4fa9(0xfc)][_0x3a4fa9(0xdd)][_0x3a4fa9(0x10c)](_0x3b30b0),_0x3ba6df=Array[_0x3a4fa9(0x122)](_0x375000[_0x3a4fa9(0xe5)]())[_0x3a4fa9(0x11c)](_0x5937e2=>_0x5937e2['is'](_0x3a4fa9(0xea),_0x3a4fa9(0x147)));let _0x5e24b0=0x0;return _0x3ba6df[_0x3a4fa9(0x11e)](_0x4c96a5=>{const _0x508ecf=_0x3a4fa9;_0x5e24b0+=_0x4e99af[_0x508ecf(0x10b)](_0x4c96a5);}),_0x5e24b0;}[_0x49f670(0xe7)](_0x30875c,_0x1546ce){const _0x309c81=_0x49f670,_0x688542=this[_0x309c81(0xfc)][_0x309c81(0x111)][_0x309c81(0x100)](_0x309c81(0x134)),_0x33999f=_0x688542[_0x309c81(0x148)](_0x30875c),_0x1bfec9=_0x688542[_0x309c81(0xe4)](_0x30875c),_0x1ea4af=_0x33999f[_0x309c81(0x124)]+0x1,_0x12c30e=_0x1bfec9[_0x309c81(0x12c)],_0x4c8027=_0x30875c[0x0][_0x309c81(0x12f)](_0x309c81(0x147));for(let _0x2b7b3b=0x0;_0x2b7b3b<_0x1546ce;_0x2b7b3b++)_0x688542[_0x309c81(0x110)](_0x4c8027,{'at':_0x1ea4af});return _0x4c8027[_0x309c81(0x104)](_0x1ea4af)[_0x309c81(0x104)](_0x12c30e);}[_0x49f670(0x131)](_0x2ea82c,_0x3c85b2){const _0x43ac74=_0x49f670,{plugins:_0x5c216a}=this[_0x43ac74(0xfc)],{model:_0x2979c1}=_0x2ea82c;if(!_0x5c216a[_0x43ac74(0x112)](_0x43ac74(0x134)))return;_0x5c216a[_0x43ac74(0x100)](_0x43ac74(0x134))[_0x43ac74(0xf7)](_0x3c85b2)[_0x43ac74(0x143)]&&_0x2979c1[_0x43ac74(0xdf)](_0x3c85b2);}}
|
|
23
|
+
const _0x947176=_0x4605;(function(_0x50884d,_0x3e1883){const _0x2b6e87=_0x4605,_0x5522a3=_0x50884d();while(!![]){try{const _0x10453e=-parseInt(_0x2b6e87(0x1a9))/0x1*(-parseInt(_0x2b6e87(0x184))/0x2)+parseInt(_0x2b6e87(0x196))/0x3+parseInt(_0x2b6e87(0x18b))/0x4*(-parseInt(_0x2b6e87(0x1bd))/0x5)+parseInt(_0x2b6e87(0x1a5))/0x6*(parseInt(_0x2b6e87(0x163))/0x7)+parseInt(_0x2b6e87(0x19b))/0x8*(parseInt(_0x2b6e87(0x191))/0x9)+parseInt(_0x2b6e87(0x171))/0xa*(parseInt(_0x2b6e87(0x172))/0xb)+parseInt(_0x2b6e87(0x1a7))/0xc*(-parseInt(_0x2b6e87(0x175))/0xd);if(_0x10453e===_0x3e1883)break;else _0x5522a3['push'](_0x5522a3['shift']());}catch(_0x45f562){_0x5522a3['push'](_0x5522a3['shift']());}}}(_0x1940,0x7e2fe));import{uid as _0x1e5916}from'ckeditor5/src/utils.js';import{Plugin as _0x4064ff}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x18872b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4f4e5e,ViewDataTransfer as _0x4012d4}from'ckeditor5/src/engine.js';const J=globalThis[_0x947176(0x181)],q=_0x947176(0x19c);function _0x4605(_0x1f7bc9,_0x38db26){const _0x194030=_0x1940();return _0x4605=function(_0x46054c,_0x468532){_0x46054c=_0x46054c-0x158;let _0x38d22c=_0x194030[_0x46054c];return _0x38d22c;},_0x4605(_0x1f7bc9,_0x38db26);}function _0x1940(){const _0x36cf83=['getRanges','schema','_resetContentOfSelectedTableCells','join','insertRows','ck-fake-ai-selection_collapsed','_prepareTableInsertBelowPosition','removeMarker','isCollapsed','data','forEach','markerToHighlight','isAtEnd','editing','getRowIndexes','resultRange','conversion','735FThqpt','_getDefaultInsertBelowPosition','element','pluginName','ai.assistant.useTheme','getLastMatchingPosition','markerRange','length','createPositionAt','plugins','getLastPosition','from','paste','showFakeVisualSelection','2760010agiXim','22jXYmLk','deleteContent','get','9529rgTdTT','fire','afterInit','setSelection','setData','createUIElement','insertContentBelow','_createEmptyTableRows','getChild','start','off','href','DataTransfer','createPositionAfter','createRange','170hvSttw','_getAISelection','pop','_getTableRowCountFromContent','insertContent','markers','createSelection','740468jnUpJF','contentInsertion','fromCharCode','once','isOfficialPlugin','ck-ai-assistant-ui_theme','9WObTid','isPremiumPlugin','has','filter','lowest','2728026UfsrVZ','last','getMarkersGroup','parse','updateMarker','4485896RQkeaQ','ai-ui','map','findAncestor','end','getRange','addMarker','model','push','ck-fake-ai-selection','31200YoeJRO','getSelectedTableCells','36588JFIaWO','addClass','4339MalUKX','getSelectedBlocks','getRows','markerToElement','_pasteHTMLUsingClipboard','change','init','hideFakeVisualSelection','AIAssistantEditing','getFirstRange','editor','getChildren','for','canEditAt','editingDowncast','TableUtils','text/html','first','table','getColumnIndexes','5HLEBAg','config','span','selection','isContent','document'];_0x1940=function(){return _0x36cf83;};return _0x1940();}export class AIAssistantEditing extends _0x4064ff{static get[_0x947176(0x166)](){const _0x1c1994=_0x947176;return _0x1c1994(0x1b1);}static get[_0x947176(0x18f)](){return!0x0;}static get[_0x947176(0x192)](){return!0x0;}[_0x947176(0x1af)](){const _0xc6839c=_0x947176,{editor:_0x2ec7d7}=this,_0x1e32f7=[_0xc6839c(0x1a4)];_0x2ec7d7[_0xc6839c(0x1be)][_0xc6839c(0x174)](_0xc6839c(0x167))&&_0x1e32f7[_0xc6839c(0x1a3)](_0xc6839c(0x190)),_0x2ec7d7[_0xc6839c(0x162)][_0xc6839c(0x1b5)](_0xc6839c(0x1b7))[_0xc6839c(0x15d)]({'model':q,'view':{'classes':_0x1e32f7,'priority':0xc}}),_0x2ec7d7[_0xc6839c(0x162)][_0xc6839c(0x1b5)](_0xc6839c(0x1b7))[_0xc6839c(0x1ac)]({'model':q,'view':(_0x6c8642,{writer:_0xbe654})=>{const _0x349668=_0xc6839c;if(!_0x6c8642[_0x349668(0x169)][_0x349668(0x15a)])return null;const _0x3d1bbc=_0xbe654[_0x349668(0x17a)](_0x349668(0x1bf));return _0xbe654[_0x349668(0x1a8)]([_0x349668(0x1a4),_0x349668(0x1c8)],_0x3d1bbc),_0x3d1bbc;}});}[_0x947176(0x177)](){!async function(_0x29779e){const _0x518d8c=_0x151471([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]),_0x1250ef=0x3dffc4e1,_0x3085d6=0x3df8bcd9^_0x1250ef,_0x3d3adb=window[_0x151471([0x44,0x61,0x74,0x65])][_0x151471([0x6e,0x6f,0x77])](),_0x2f833c=_0x29779e[_0x151471([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b1666=new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446a10=>{_0x2f833c[_0x151471([0x6f,0x6e,0x63,0x65])](_0x151471([0x72,0x65,0x61,0x64,0x79]),_0x446a10);}),_0x577e65={[_0x151471([0x6b,0x74,0x79])]:_0x151471([0x45,0x43]),[_0x151471([0x75,0x73,0x65])]:_0x151471([0x73,0x69,0x67]),[_0x151471([0x63,0x72,0x76])]:_0x151471([0x50,0x2d,0x32,0x35,0x36]),[_0x151471([0x78])]:_0x151471([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]),[_0x151471([0x79])]:_0x151471([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]),[_0x151471([0x61,0x6c,0x67])]:_0x151471([0x45,0x53,0x32,0x35,0x36])},_0x52f5b9=_0x2f833c[_0x151471([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151471([0x67,0x65,0x74])](_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1556df(){let _0x49ae3f,_0x39d792=null,_0x390a1e=null;try{if(_0x52f5b9==_0x151471([0x47,0x50,0x4c]))return _0x151471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49ae3f=_0x27d471(),!_0x49ae3f)return _0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49ae3f[_0x151471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x390a1e=_0x4b203f(_0x49ae3f[_0x151471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49ae3f[_0x151471([0x6a,0x74,0x69])])),await _0x258d11()?_0x21081a()?_0x55672a()?_0x151471([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x127bd2()?(_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39d792=_0x38a570(_0x151471([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151471([0x74,0x72,0x69,0x61,0x6c])&&(_0x39d792=_0x38a570(_0x151471([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x181cee()):_0x151471([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55672a(){const _0x265dab=[_0x151471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151471([0x74,0x72,0x69,0x61,0x6c])][_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d3adb/0x3e8:0xe10*_0x3085d6;return _0x49ae3f[_0x151471([0x65,0x78,0x70])]<_0x265dab;}function _0x21081a(){const _0x2d5812=_0x49ae3f[_0x151471([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d5812&&(!!_0x2d5812[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x2a]))||!!_0x2d5812[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x41,0x49])));}function _0x127bd2(){const _0x138253=_0x4605,_0x57b04e=_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57b04e||0x0==_0x57b04e[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f18ac}=new URL(window[_0x151471([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x138253(0x180)]);if(_0x57b04e[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f18ac))return!0x0;const _0x2e5fbc=_0x3f18ac[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e]));return _0x57b04e[_0x151471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22bf21=>_0x22bf21[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x2a])))[_0x151471([0x6d,0x61,0x70])](_0x41aa79=>_0x41aa79[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e])))[_0x151471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3742b2=>_0x3742b2[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e5fbc[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151471([0x6d,0x61,0x70])](_0x5f1b75=>Array(_0x2e5fbc[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f1b75[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151471([0x66,0x69,0x6c,0x6c])](_0x5f1b75[0x0]===_0x151471([0x2a])?_0x151471([0x2a]):'')[_0x151471([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f1b75))[_0x151471([0x73,0x6f,0x6d,0x65])](_0x56e54f=>_0x2e5fbc[_0x151471([0x65,0x76,0x65,0x72,0x79])]((_0x2595f7,_0x563d38)=>_0x56e54f[_0x563d38]===_0x2595f7||_0x56e54f[_0x563d38]===_0x151471([0x2a])));}function _0x181cee(){return _0x39d792&&_0x390a1e?new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x88ef76,_0xc0744f)=>{_0x39d792[_0x151471([0x74,0x68,0x65,0x6e])](_0x88ef76,_0xc0744f),_0x390a1e[_0x151471([0x74,0x68,0x65,0x6e])](_0x23a318=>{_0x23a318!=_0x151471([0x56,0x61,0x6c,0x69,0x64])&&_0x88ef76(_0x23a318);},_0xc0744f);}):_0x39d792||_0x390a1e||_0x151471([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b203f(_0x327fa9,_0x6846f1){return new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43590a=>{if(_0x47dfcb())return _0x43590a(_0x151471([0x56,0x61,0x6c,0x69,0x64]));_0x2ba20d(),_0x2f833c[_0x151471([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20149e=!0x1;const _0xed5000=_0x1e5916();function _0x32181e(_0x5ec4fa){return!!_0x5ec4fa&&(typeof _0x5ec4fa===_0x151471([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ec4fa===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ec4fa[_0x151471([0x74,0x68,0x65,0x6e])]===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ec4fa[_0x151471([0x63,0x61,0x74,0x63,0x68])]===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43c3a0(_0x3e60ce){_0x36e25f(_0x3e60ce)[_0x151471([0x74,0x68,0x65,0x6e])](_0x42031a=>{if(!_0x42031a||_0x42031a[_0x151471([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151471([0x6f,0x6b]))return _0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x816cef(_0x9ed30b(_0xed5000+_0x6846f1))!=_0x42031a[_0x151471([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151471([0x56,0x61,0x6c,0x69,0x64]);})[_0x151471([0x74,0x68,0x65,0x6e])](_0x339034=>(_0x3f1171(),_0x339034),()=>{const _0x22956e=_0x3c5cc5();return null==_0x22956e?(_0x3f1171(),_0x151471([0x56,0x61,0x6c,0x69,0x64])):_0x151471(_0x3d3adb-_0x22956e>(0x19f340e1^_0x1250ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151471([0x74,0x68,0x65,0x6e])](_0x43590a)[_0x151471([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31f989=0x3dc92a61^_0x1250ef;function _0x3f1171(){const _0x1a4ec6=_0x151471([0x6c,0x6c,0x63,0x74,0x2d])+_0x816cef(_0x9ed30b(_0x327fa9)),_0x1f9239=_0x7db18f(_0x816cef(window[_0x151471([0x4d,0x61,0x74,0x68])][_0x151471([0x63,0x65,0x69,0x6c])](_0x3d3adb/_0x31f989)));window[_0x151471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151471([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a4ec6,_0x1f9239);}function _0x3c5cc5(){const _0x15ea8d=_0x151471([0x6c,0x6c,0x63,0x74,0x2d])+_0x816cef(_0x9ed30b(_0x327fa9)),_0x1a8810=window[_0x151471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151471([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15ea8d);return _0x1a8810?window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7db18f(_0x1a8810),0x10)*_0x31f989:null;}function _0x36e25f(_0x4529ad){return new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x174082,_0x29b169)=>{_0x4529ad[_0x151471([0x74,0x68,0x65,0x6e])](_0x174082,_0x29b169),window[_0x151471([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29b169,0x3dfe1021^_0x1250ef);});}}_0x2f833c[_0x151471([0x6f,0x6e])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4124df,_0x2c69a9)=>{if(_0x2c69a9[0x0]!=_0x327fa9)return _0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c69a9[0x1]={..._0x2c69a9[0x1],[_0x151471([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xed5000};},{[_0x151471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151471([0x68,0x69,0x67,0x68])}),_0x2f833c[_0x151471([0x6f,0x6e])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x573eaa=>{_0x32181e(_0x573eaa[_0x151471([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20149e=!0x0,_0x43c3a0(_0x573eaa[_0x151471([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151471([0x6c,0x6f,0x77])}),_0x4b1666[_0x151471([0x74,0x68,0x65,0x6e])](()=>{_0x20149e||_0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47dfcb(){return _0x2f833c[_0x151471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151471([0x76,0x69,0x65,0x77])][_0x151471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151471([0x61,0x75,0x74,0x6f]);}function _0x2ba20d(){_0x2f833c[_0x151471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151471([0x76,0x69,0x65,0x77])][_0x151471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151471([0x61,0x75,0x74,0x6f]);}}function _0x38a570(_0x567b18){const _0x2652d1=[new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff97b2=>setTimeout(_0xff97b2,0x3df6fa2d^_0x1250ef)),_0x4b1666[_0x151471([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af191=>{let _0x2fb9c1=0x0;_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x6f,0x6e])](_0x151471([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2efc00,_0x465900)=>{_0x465900[0x0][_0x151471([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2fb9c1++,_0x2fb9c1==(0x3dffc519^_0x1250ef)&&(_0x1af191(),_0x2efc00[_0x151471([0x6f,0x66,0x66])]());});}))];return window[_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151471([0x72,0x61,0x63,0x65])](_0x2652d1)[_0x151471([0x74,0x68,0x65,0x6e])](()=>_0x567b18);}async function _0x56ae04(){await _0x4b1666,_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbb43eb,_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbb43eb,_0x2f833c[_0x151471([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151471([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26b55e(_0x100cef){const _0x46f458=_0x5d0ad0();_0x2f833c[_0x46f458]=_0x151471([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x100cef,_0x100cef!=_0x151471([0x56,0x61,0x6c,0x69,0x64])&&_0x56ae04();}function _0x5d0ad0(){const _0x42a3a7=window[_0x151471([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151471([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151471([0x6e,0x6f,0x77])]())[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151471([0x2e]),'');let _0x2e27ef=_0x151471([0x6e]);for(let _0x22e8e5=0x0;_0x22e8e5<_0x42a3a7[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22e8e5+=0x2){let _0x4d36c6=window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a3a7[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22e8e5,_0x22e8e5+0x2));_0x4d36c6>=_0x518d8c[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d36c6-=_0x518d8c[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e27ef+=_0x518d8c[_0x4d36c6];}return _0x2e27ef;}function _0x27d471(){const _0x5e56e5=_0x52f5b9[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e]));if(0x3!=_0x5e56e5[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53b978(_0x5e56e5[0x1]);function _0x53b978(_0x2d8b7d){const _0x4356ae=_0x5d36e(_0x2d8b7d);return _0x4356ae&&_0x448e53()?_0x4356ae:null;function _0x448e53(){const _0x1b2afa=_0x4356ae[_0x151471([0x6a,0x74,0x69])],_0x5c72a8=window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b2afa[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2afa[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x570672={..._0x4356ae,[_0x151471([0x6a,0x74,0x69])]:_0x1b2afa[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b2afa[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x570672[_0x151471([0x76,0x63])],_0x9ed30b(_0x570672)==_0x5c72a8;}}}async function _0x258d11(){let _0x315d3f=!0x0;try{const _0x1e31c3=_0x52f5b9[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e])),[_0x4e6253,_0xa207fc,_0x204340]=_0x1e31c3;return _0x37a60a(_0x4e6253),await _0x5e2401(_0x4e6253,_0xa207fc,_0x204340),_0x315d3f;}catch{return!0x1;}function _0x37a60a(_0x2b451b){const _0x4a2d3e=_0x5d36e(_0x2b451b);_0x4a2d3e&&_0x4a2d3e[_0x151471([0x61,0x6c,0x67])]==_0x151471([0x45,0x53,0x32,0x35,0x36])||(_0x315d3f=!0x1);}async function _0x5e2401(_0x1720b2,_0x10908b,_0x5ed1b9){const _0x881838=window[_0x151471([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151471([0x66,0x72,0x6f,0x6d])](_0x24396e(_0x5ed1b9),_0xb21c28=>_0xb21c28[_0x151471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f038b=new window[(_0x151471([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151471([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1720b2+_0x151471([0x2e])+_0x10908b),_0x51d689=window[_0x151471([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151471([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51d689)return;const _0xec254d=await _0x51d689[_0x151471([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151471([0x6a,0x77,0x6b]),_0x577e65,{[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x45,0x43,0x44,0x53,0x41]),[_0x151471([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151471([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151471([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51d689[_0x151471([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x45,0x43,0x44,0x53,0x41]),[_0x151471([0x68,0x61,0x73,0x68])]:{[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec254d,_0x881838,_0x4f038b)||(_0x315d3f=!0x1);}}function _0x5d36e(_0x31fd22){return _0x31fd22[_0x151471([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151471([0x65,0x79]))?JSON[_0x151471([0x70,0x61,0x72,0x73,0x65])](_0x24396e(_0x31fd22)):null;}function _0x24396e(_0x502f44){return window[_0x151471([0x61,0x74,0x6f,0x62])](_0x502f44[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151471([0x2b]))[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151471([0x2f])));}function _0x9ed30b(_0x20787d){let _0x3ee28d=0x1505;function _0x47261e(_0x2808f1){for(let _0x395ebe=0x0;_0x395ebe<_0x2808f1[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395ebe++){const _0x3c6a4b=_0x2808f1[_0x151471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x395ebe);_0x3ee28d=(_0x3ee28d<<0x5)+_0x3ee28d+_0x3c6a4b,_0x3ee28d&=_0x3ee28d;}}function _0x35b5fe(_0x523033){Array[_0x151471([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x523033)?_0x523033[_0x151471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35b5fe):_0x523033&&typeof _0x523033==_0x151471([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151471([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x523033)[_0x151471([0x73,0x6f,0x72,0x74])]()[_0x151471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4329d4,_0x5e2631])=>{_0x47261e(_0x4329d4),_0x35b5fe(_0x5e2631);}):_0x47261e(window[_0x151471([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x523033));}return _0x35b5fe(_0x20787d),_0x3ee28d>>>0x0;}function _0x816cef(_0x38404d){return _0x38404d[_0x151471([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151471([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151471([0x30]));}function _0x7db18f(_0x50c64a){return _0x50c64a[_0x151471([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151471([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151471([0x6a,0x6f,0x69,0x6e])]('');}function _0xbb43eb(){}function _0x151471(_0x1fb810){const _0x28583a=_0x4605;return _0x1fb810[_0x28583a(0x19d)](_0x4f75e6=>String[_0x28583a(0x18d)](_0x4f75e6))[_0x28583a(0x1c6)]('');}_0x26b55e(await _0x1556df());}(this);}[_0x947176(0x170)](){const _0x918f3f=_0x947176,_0x421cd0=this[_0x918f3f(0x1b3)][_0x918f3f(0x1a2)];_0x421cd0[_0x918f3f(0x1ae)](_0x1607df=>{const _0x4f9e6a=_0x918f3f,_0x57c8f9=_0x421cd0[_0x4f9e6a(0x1c2)][_0x4f9e6a(0x1c0)][_0x4f9e6a(0x1c3)]();let _0x5bc68d=0x0;for(const _0x1c8d2c of _0x57c8f9){const _0x5510b2=q+':'+_0x5bc68d;if(_0x421cd0[_0x4f9e6a(0x189)][_0x4f9e6a(0x193)](_0x5510b2))_0x1607df[_0x4f9e6a(0x19a)](_0x5510b2,{'range':_0x1c8d2c});else{if(_0x1c8d2c[_0x4f9e6a(0x17e)][_0x4f9e6a(0x15e)]){const _0x53b0ee=_0x1c8d2c[_0x4f9e6a(0x17e)][_0x4f9e6a(0x168)](({item:_0x1e259a})=>!_0x421cd0[_0x4f9e6a(0x1c4)][_0x4f9e6a(0x1c1)](_0x1e259a),{'boundaries':_0x1c8d2c});_0x1607df[_0x4f9e6a(0x1a1)](_0x5510b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1607df[_0x4f9e6a(0x183)](_0x53b0ee,_0x1c8d2c[_0x4f9e6a(0x19f)])});}else _0x1607df[_0x4f9e6a(0x1a1)](_0x5510b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c8d2c});}_0x5bc68d++;}});}[_0x947176(0x1b0)](){const _0x397876=_0x947176,_0xf10744=this[_0x397876(0x1b3)][_0x397876(0x1a2)],_0x5c4d1f=Array[_0x397876(0x16e)](this[_0x397876(0x1b3)][_0x397876(0x1a2)][_0x397876(0x189)][_0x397876(0x198)](q));_0x5c4d1f[_0x397876(0x16a)]&&_0xf10744[_0x397876(0x1ae)](_0x316e65=>{const _0x2947ae=_0x397876;_0x5c4d1f[_0x2947ae(0x15c)](_0x2f2a1a=>{const _0x41a3e4=_0x2947ae;_0x316e65[_0x41a3e4(0x159)](_0x2f2a1a);});});}[_0x947176(0x188)](_0x1eb048,_0x1bd47b){const _0x177044=_0x947176,_0x16c17b=this[_0x177044(0x185)](),_0x4662ac=_0x1bd47b||_0x16c17b[_0x177044(0x1b2)]();this[_0x177044(0x1b3)][_0x177044(0x1a2)][_0x177044(0x1b6)](_0x4662ac)&&this[_0x177044(0x1b3)][_0x177044(0x1a2)][_0x177044(0x1ae)](_0x1de520=>{const _0x18d99e=_0x177044;this[_0x18d99e(0x1b0)](),_0x1bd47b||this[_0x18d99e(0x1c5)](_0x1de520,_0x16c17b),this[_0x18d99e(0x1ad)]({'insertAt':_0x4662ac,'writer':_0x1de520,'html':_0x1eb048});});}[_0x947176(0x17b)](_0x58e6dd){const _0x4484f1=_0x947176,{model:_0x308ae0}=this[_0x4484f1(0x1b3)],_0x5a1e85=this[_0x4484f1(0x185)]();_0x308ae0[_0x4484f1(0x1ae)](()=>{const _0x5ef37d=_0x4484f1,_0x12963c=this[_0x5ef37d(0x158)](_0x58e6dd,_0x5a1e85)||this[_0x5ef37d(0x164)](_0x5a1e85);this[_0x5ef37d(0x188)](_0x58e6dd,_0x12963c);});}[_0x947176(0x185)](){const _0x30d511=_0x947176,_0x2631ea=this[_0x30d511(0x1b3)][_0x30d511(0x1a2)],_0x211ea4=Array[_0x30d511(0x16e)](_0x2631ea[_0x30d511(0x189)][_0x30d511(0x198)](q))[_0x30d511(0x19d)](_0x18a348=>_0x18a348[_0x30d511(0x1a0)]());return _0x2631ea[_0x30d511(0x18a)](_0x211ea4);}[_0x947176(0x1ad)]({writer:_0x5783e8,html:_0x1b528a,insertAt:_0x3bc152}){const _0x55bc9e=_0x947176,{view:_0xdc9256}=this[_0x55bc9e(0x1b3)][_0x55bc9e(0x15f)],_0x3861ec=this[_0x55bc9e(0x1b3)][_0x55bc9e(0x16c)][_0x55bc9e(0x174)](_0x18872b),_0x2d9e9c=new J();_0x2d9e9c[_0x55bc9e(0x179)](_0x55bc9e(0x1b9),_0x1b528a);const _0x5f1627=new ClipboardEvent(_0x55bc9e(0x16f),{'clipboardData':_0x2d9e9c}),_0xe240d0=new _0x4f4e5e(_0xdc9256,_0x5f1627,{'dataTransfer':new _0x4012d4(_0x2d9e9c)});_0x5783e8[_0x55bc9e(0x178)](_0x3bc152);const _0x1e6a71=(_0x16c114,_0x2f64dc)=>{const _0x3816f3=_0x55bc9e;_0x2f64dc[_0x3816f3(0x161)]&&_0x5783e8[_0x3816f3(0x178)](_0x2f64dc[_0x3816f3(0x161)]);};_0x3861ec[_0x55bc9e(0x18e)](_0x55bc9e(0x18c),_0x1e6a71,{'priority':_0x55bc9e(0x195)}),_0xdc9256[_0x55bc9e(0x1c2)][_0x55bc9e(0x176)](_0x55bc9e(0x16f),_0xe240d0),_0x3861ec[_0x55bc9e(0x17f)](_0x55bc9e(0x18c),_0x1e6a71);}[_0x947176(0x164)](_0x3a4753){const _0x174e2e=_0x947176,{model:_0x420f13}=this[_0x174e2e(0x1b3)],_0x3175dd=Array[_0x174e2e(0x16e)](_0x3a4753[_0x174e2e(0x1aa)]());return _0x3175dd[_0x174e2e(0x16a)]?_0x420f13[_0x174e2e(0x182)](_0x3175dd[_0x174e2e(0x186)]()):_0x3a4753[_0x174e2e(0x16d)]();}[_0x947176(0x158)](_0x5ee683,_0x3e44e9){const _0x39fb72=_0x947176,{model:_0x4b7fcc,plugins:_0x243d85}=this[_0x39fb72(0x1b3)];if(_0x243d85[_0x39fb72(0x193)](_0x39fb72(0x1b8))){const _0x143fb6=_0x243d85[_0x39fb72(0x174)](_0x39fb72(0x1b8))[_0x39fb72(0x1a6)](_0x3e44e9);if(_0x143fb6[_0x39fb72(0x16a)]){const _0x54811b=this[_0x39fb72(0x187)](_0x5ee683),_0x457dc7=this[_0x39fb72(0x17c)](_0x143fb6,_0x54811b);return _0x4b7fcc[_0x39fb72(0x16b)](_0x457dc7,0x0);}}return null;}[_0x947176(0x187)](_0xf3d29e){const _0x1c4743=_0x947176,_0x428f9f=this[_0x1c4743(0x1b3)][_0x1c4743(0x16c)][_0x1c4743(0x174)](_0x1c4743(0x1b8)),_0x388564=this[_0x1c4743(0x1b3)][_0x1c4743(0x15b)][_0x1c4743(0x199)](_0xf3d29e),_0x4623c9=Array[_0x1c4743(0x16e)](_0x388564[_0x1c4743(0x1b4)]())[_0x1c4743(0x194)](_0x48fcd8=>_0x48fcd8['is'](_0x1c4743(0x165),_0x1c4743(0x1bb)));let _0x44b97f=0x0;return _0x4623c9[_0x1c4743(0x15c)](_0x21c9b2=>{const _0x416a69=_0x1c4743;_0x44b97f+=_0x428f9f[_0x416a69(0x1ab)](_0x21c9b2);}),_0x44b97f;}[_0x947176(0x17c)](_0x43807d,_0x2b887b){const _0x4b967b=_0x947176,_0x360759=this[_0x4b967b(0x1b3)][_0x4b967b(0x16c)][_0x4b967b(0x174)](_0x4b967b(0x1b8)),_0x14011a=_0x360759[_0x4b967b(0x160)](_0x43807d),_0x388a05=_0x360759[_0x4b967b(0x1bc)](_0x43807d),_0x2b2804=_0x14011a[_0x4b967b(0x197)]+0x1,_0x4a5673=_0x388a05[_0x4b967b(0x1ba)],_0x1ad858=_0x43807d[0x0][_0x4b967b(0x19e)](_0x4b967b(0x1bb));for(let _0x23812c=0x0;_0x23812c<_0x2b887b;_0x23812c++)_0x360759[_0x4b967b(0x1c7)](_0x1ad858,{'at':_0x2b2804});return _0x1ad858[_0x4b967b(0x17d)](_0x2b2804)[_0x4b967b(0x17d)](_0x4a5673);}[_0x947176(0x1c5)](_0x58aafa,_0x2d0f5a){const _0x36287d=_0x947176,{plugins:_0x3c9983}=this[_0x36287d(0x1b3)],{model:_0x2a7be4}=_0x58aafa;if(!_0x3c9983[_0x36287d(0x193)](_0x36287d(0x1b8)))return;_0x3c9983[_0x36287d(0x174)](_0x36287d(0x1b8))[_0x36287d(0x1a6)](_0x2d0f5a)[_0x36287d(0x16a)]&&_0x2a7be4[_0x36287d(0x173)](_0x2d0f5a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x228c31=_0x312c;(function(_0x414256,_0x3b93d2){const _0x65cf8=_0x312c,_0x2a6605=_0x414256();while(!![]){try{const _0x8c9b87=-parseInt(_0x65cf8(0x258))/0x1*(parseInt(_0x65cf8(0x1d7))/0x2)+-parseInt(_0x65cf8(0x24c))/0x3*(parseInt(_0x65cf8(0x250))/0x4)+-parseInt(_0x65cf8(0x224))/0x5*(parseInt(_0x65cf8(0x233))/0x6)+-parseInt(_0x65cf8(0x1e9))/0x7+-parseInt(_0x65cf8(0x252))/0x8+-parseInt(_0x65cf8(0x1f4))/0x9+-parseInt(_0x65cf8(0x248))/0xa*(-parseInt(_0x65cf8(0x220))/0xb);if(_0x8c9b87===_0x3b93d2)break;else _0x2a6605['push'](_0x2a6605['shift']());}catch(_0x3bc062){_0x2a6605['push'](_0x2a6605['shift']());}}}(_0x37e1,0x43359));import{Plugin as _0x26f06d}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3a6ab1,IconRobotPencil as _0x4c9602}from'ckeditor5/src/icons.js';import{first as _0x4b4caf,CKEditorError as _0x2f40c8}from'ckeditor5/src/utils.js';import{createDropdown as _0x495ce7,addMenuToDropdown as _0x490a12,ButtonView as _0x13b130,MenuBarMenuListItemButtonView as _0x1460d3,Dialog as _0x221fb5,DialogViewPosition as _0x4a1b15,MenuBarMenuView as _0x46ff07,MenuBarMenuListView as _0x29465d,MenuBarMenuListItemView as _0x61441c}from'ckeditor5/src/ui.js';function _0x312c(_0x44b279,_0x54baee){const _0x37e19d=_0x37e1();return _0x312c=function(_0x312c90,_0x5a955d){_0x312c90=_0x312c90-0x1c9;let _0x59c067=_0x37e19d[_0x312c90];return _0x59c067;},_0x312c(_0x44b279,_0x54baee);}import{normalizeCommandsConfig as _0x3ae96c,UNGROUPED_COMMANDS_GROUP_ID as _0x1ccd98}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2a0107}from'./aiassistantediting.js';import{AIAdapter as _0x4b5c53}from'./adapters/aiadapter.js';import{getTranslation as _0x308fb5}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3acb53}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x5317a4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x5911cc}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x362d64}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[_0x228c31(0x207)];import{ClipboardMarkersUtils as _0x1c4758}from'ckeditor5/src/clipboard.js';function _0x37e1(){const _0x870ed0=['_aiAssistantController','2008182ZmeLwF','Generated\x20content:\x20%0','updateView','<p>','2131905GyjwUe','update','aiLicenseKeyInvalid','_dialog','rawHtml','label','contentArea','bind','get','getLimitElement','trim','text/html','tableOfContents','isCollapsed','commands','6uZNPGH','queryView','ck-ai-assistant-ui','setSelection','invalid','replaceContent','model','\x20ck-ai-assistant-ui_theme','addMany','listenTo','isEnabled','selection','_createAIAssistantUIButton','promptView','isPremiumPlugin','change:value','document','groupId','polite','view','insertContentBelow','100bcHFcJ','isFlat','_onExecute','aiLicenseKeyTrialLimit','81wnwvLi','ck-ai-commands-dropdown\x20','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20Assistant','60332WjtshT','replace','2191872rAUdsR','media','featureNotAllowed','_formView','_commandDefinitions','evaluationLimit','1xlvlxf','ai.assistant.disabledElements','push','menuitemcheckbox','from','ai.assistant.useTheme','insertContent','command:','isOn','EDITOR_TOP_SIDE','focus','editing','fieldView','aiLicenseKeyUsageLimit','showAIAssistant','ai-commands-config-order-collision','_initView','hideUI','licenseKey','announce','aiCommands','aiLicenseKeyDomainLimit','custom','hide','change:isError','sort','AI\x20is\x20writing','aiLicenseKeyValid','values','schema','text','isOfficialPlugin','hideFakeVisualSelection','wasMoved','init','panelView','ck-ai-assistant-button\x20','domainLimit','menuBar:aiCommands','_getMenuBarGroupButtons','ai.assistant.contentAreaCssClass','menuPanelClass','enabledCommandsIds','change:isProcessing','_populateMenuBarMenu','expired','source','show','84314kEkXpN','items','map','REPLACE','buttons','AI\x20Commands','includes','aiAssistant','length','ai.assistant.commands','getRanges','trialLimit','fire','reset','children','body','pluginName','aiLicenseKeyExpired','2346498XBxksS','render','filter','editor','getSelectedElement','add','destroy','copy','comment','getSelectedBlocks','AIAssistantUI','588186wAeuNF','set','_showLicenseError','_initAriaAiStatusChangeAnnouncements','define','change:enabledCommandsIds','execute','_forceMarkersCopy','prompt','_uiCssClasses','requires','</p>','delegate','showFakeVisualSelection','once','plugins','AIAssistant','requiresContent','config','DataTransfer','showUI','aiLicenseKeyNotAllowed','splice','aiLicenseKeyEvaluationLimit','forEach','groupLabel','errorView','usageLimit','_aiAdapter','componentFactory','currentContext','change','INSERT','updatePosition','order','textAdapter','_getResolvedCommandsDefinitions','menuView','getData','locale','buttonView','menuBar:aiAssistant','_licenseKeyCheckInterval'];_0x37e1=function(){return _0x870ed0;};return _0x37e1();}import{ViewDocumentDomEventData as _0x4ad112,ViewDataTransfer as _0x5cb7ef}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x26f06d{[_0x228c31(0x26a)];[_0x228c31(0x21e)];[_0x228c31(0x227)];[_0x228c31(0x255)];[_0x228c31(0x210)];[_0x228c31(0x21f)];[_0x228c31(0x1fd)]='';static get[_0x228c31(0x1e7)](){const _0x3f7686=_0x228c31;return _0x3f7686(0x1f3);}static get[_0x228c31(0x277)](){return!0x0;}static get[_0x228c31(0x241)](){return!0x0;}static get[_0x228c31(0x1fe)](){return[_0x1c4758,_0x2a0107,_0x4b5c53,_0x221fb5];}constructor(_0x5d4dca){const _0x95287e=_0x228c31;super(_0x5d4dca),_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x1f8)](_0x95287e(0x259),[_0x95287e(0x253),_0x95287e(0x228),_0x95287e(0x230)]),_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x1f8)](_0x95287e(0x1cf),''),_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x1f8)](_0x95287e(0x25d),!0x0),this[_0x95287e(0x1fd)]=_0x95287e(0x235)+(_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x22c)](_0x95287e(0x25d))?_0x95287e(0x23a):'');}[_0x228c31(0x1c9)](){const _0x4e5348=_0x228c31,{editor:_0x557761}=this;this[_0x4e5348(0x210)]=_0x557761[_0x4e5348(0x203)][_0x4e5348(0x22c)](_0x4b5c53),this[_0x4e5348(0x227)]=_0x557761[_0x4e5348(0x203)][_0x4e5348(0x22c)](_0x221fb5),this[_0x4e5348(0x255)]=null,this[_0x4e5348(0x256)]=this[_0x4e5348(0x218)]();const _0x2f5764=new _0x3acb53(_0x557761,Array[_0x4e5348(0x25c)](this[_0x4e5348(0x256)][_0x4e5348(0x274)]()));_0x557761[_0x4e5348(0x232)][_0x4e5348(0x1ee)](_0x4e5348(0x266),_0x2f5764),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x26c),_0x1e4351=>{const _0x12ef11=_0x4e5348,_0x4a85fd=_0x495ce7(_0x1e4351);return _0x4a85fd[_0x12ef11(0x1f5)]({'class':_0x12ef11(0x24d)+this[_0x12ef11(0x1fd)]}),_0x4a85fd[_0x12ef11(0x21c)][_0x12ef11(0x1f5)]({'label':_0x308fb5(_0x1e4351,_0x12ef11(0x1dc)),'icon':_0x3a6ab1,'tooltip':!0x0}),_0x4a85fd['on'](_0x12ef11(0x1fa),_0x1e11e8=>this[_0x12ef11(0x24a)](_0x1e11e8[_0x12ef11(0x1d5)]['id'])),_0x490a12(_0x4a85fd,_0x557761['ui'][_0x12ef11(0x246)][_0x12ef11(0x1e6)],function(_0x30addc){const _0x511025=_0x12ef11,_0x260472=_0x3ae96c(_0x30addc[_0x511025(0x206)][_0x511025(0x22c)](_0x511025(0x1e0)),_0x30addc[_0x511025(0x21b)]),_0x2d2a04=U(_0x30addc,_0x260472)[_0x511025(0x1eb)](_0x4702f9=>_0x4702f9[_0x511025(0x232)][_0x511025(0x1df)]);if(0x1===_0x2d2a04[_0x511025(0x1df)])return U(_0x30addc,_0x2d2a04[0x0][_0x511025(0x232)])[_0x511025(0x1d9)](_0x1f2177=>({'id':_0x1f2177['id'],'label':_0x1f2177[_0x511025(0x229)]}));return _0x2d2a04[_0x511025(0x1d9)](_0xc6ceac=>{const _0x4f315d=_0x511025,{groupId:_0x19ce53,groupLabel:_0xc8587d,commands:_0x343863}=_0xc6ceac,_0x2b6303=U(_0x30addc,_0x343863)[_0x4f315d(0x1d9)](_0x2319c9=>({'id':_0x2319c9['id'],'label':_0x2319c9[_0x4f315d(0x229)]}));return{'id':_0x19ce53,'menu':_0xc8587d||_0x19ce53,'children':_0x2b6303};});}(_0x557761),{'ariaLabel':_0x308fb5(_0x1e4351,_0x12ef11(0x1dc))}),_0x4a85fd[_0x12ef11(0x219)][_0x12ef11(0x1d0)]=_0x12ef11(0x24d)+this[_0x12ef11(0x1fd)],_0x2f5764['on'](_0x12ef11(0x1f9),_0x3b03c1),_0x4a85fd[_0x12ef11(0x219)][_0x12ef11(0x202)](_0x12ef11(0x1ea),_0x3b03c1),_0x4a85fd;function _0x3b03c1(){const _0x519a5e=_0x12ef11;_0x4a85fd[_0x519a5e(0x23d)]=_0x2f5764[_0x519a5e(0x1d1)][_0x519a5e(0x1df)]>0x0;for(const _0x58edb2 of _0x4a85fd[_0x519a5e(0x219)][_0x519a5e(0x1db)])_0x58edb2[_0x519a5e(0x23d)]=_0x2f5764[_0x519a5e(0x1d1)][_0x519a5e(0x1dd)](_0x58edb2['id']);}}),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x1cd),_0x4c9789=>{const _0x5d0b8b=_0x4e5348,_0x56c2e4=new _0x46ff07(_0x4c9789);_0x56c2e4[_0x5d0b8b(0x21c)][_0x5d0b8b(0x1f5)]({'label':_0x308fb5(_0x4c9789,_0x5d0b8b(0x1dc)),'icon':_0x3a6ab1}),_0x56c2e4[_0x5d0b8b(0x22b)](_0x5d0b8b(0x23d))['to'](_0x2f5764,_0x5d0b8b(0x1d1),_0x3773d3=>_0x3773d3[_0x5d0b8b(0x1df)]>0x0);const _0x4e3780=_0x3ae96c(_0x557761[_0x5d0b8b(0x206)][_0x5d0b8b(0x22c)](_0x5d0b8b(0x1e0)),_0x4c9789);return this[_0x5d0b8b(0x1d3)](_0x2f5764,_0x56c2e4,_0x4e3780,_0x381b74=>this[_0x5d0b8b(0x24a)](_0x381b74)),_0x56c2e4;}),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x1de),()=>{const _0x1bf63f=_0x4e5348,_0x5ea26c=this[_0x1bf63f(0x23f)](_0x13b130);return _0x5ea26c[_0x1bf63f(0x1f5)]({'tooltip':!0x0,'class':_0x1bf63f(0x1cb)+this[_0x1bf63f(0x1fd)]}),_0x5ea26c;}),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x21d),()=>{const _0x4fb822=_0x4e5348,_0x13fc57=this[_0x4fb822(0x23f)](_0x1460d3);return _0x13fc57[_0x4fb822(0x1f5)]({'role':_0x4fb822(0x25b)}),_0x13fc57;}),this[_0x4e5348(0x26a)]=this[_0x4e5348(0x1ec)][_0x4e5348(0x206)][_0x4e5348(0x22c)](_0x4e5348(0x26a));const _0xe92bef=this[_0x4e5348(0x1ec)];this[_0x4e5348(0x21e)]=setInterval(()=>{const _0x4b3ec1=_0x4e5348;let _0x28fd04;for(const _0xecafe6 in _0xe92bef){const _0x54897c=_0xecafe6,_0x362a2a=_0xe92bef[_0x54897c];if(_0x4b3ec1(0x273)==_0x362a2a||_0x4b3ec1(0x226)==_0x362a2a||_0x4b3ec1(0x1e8)==_0x362a2a||_0x4b3ec1(0x26d)==_0x362a2a||_0x4b3ec1(0x209)==_0x362a2a||_0x4b3ec1(0x20b)==_0x362a2a||_0x4b3ec1(0x24b)==_0x362a2a||_0x4b3ec1(0x265)==_0x362a2a){delete _0xe92bef[_0x54897c],_0x28fd04=_0x362a2a,clearInterval(this[_0x4b3ec1(0x21e)]),this[_0x4b3ec1(0x21e)]=void 0x0;break;}}_0x4b3ec1(0x226)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x237)),_0x4b3ec1(0x1e8)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x1d4)),_0x4b3ec1(0x26d)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x1cc)),_0x4b3ec1(0x209)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x254),_0x4b3ec1(0x204)),_0x4b3ec1(0x20b)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x257)),_0x4b3ec1(0x24b)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x1e2)),_0x4b3ec1(0x265)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x20f));},0x3e8);}[_0x228c31(0x1ef)](){const _0x5bab90=_0x228c31;super[_0x5bab90(0x1ef)](),this[_0x5bab90(0x21e)]&&clearInterval(this[_0x5bab90(0x21e)]);}[_0x228c31(0x208)](_0x17285a='',_0x560182='',_0x366b97=_0x228c31(0x26e)){const _0x33f18d=_0x228c31,_0x5e22b0=this[_0x33f18d(0x1ec)],_0x185ab9=_0x5e22b0[_0x33f18d(0x263)][_0x33f18d(0x246)],_0x1aaf1c=_0x5e22b0[_0x33f18d(0x203)][_0x33f18d(0x22c)](_0x2a0107),_0x1a936e=_0x5e22b0[_0x33f18d(0x203)][_0x33f18d(0x22c)](_0x1c4758);_0x1aaf1c[_0x33f18d(0x201)]();const _0x4a2401=new w(),_0x453cf4=new ClipboardEvent(_0x33f18d(0x1f0),{'clipboardData':_0x4a2401}),_0x5c9b4e=new _0x5cb7ef(_0x4a2401),_0x4ed7ea=new _0x4ad112(_0x185ab9,_0x453cf4,{'dataTransfer':_0x5c9b4e});_0x1a936e[_0x33f18d(0x1fb)](_0x33f18d(0x1f1),()=>{const _0x45938c=_0x33f18d;_0x185ab9[_0x45938c(0x243)][_0x45938c(0x1e3)](_0x45938c(0x1f0),_0x4ed7ea);}),this[_0x33f18d(0x255)]||(this[_0x33f18d(0x268)](),this[_0x33f18d(0x21f)]=new _0x5317a4(_0x5e22b0,this[_0x33f18d(0x210)][_0x33f18d(0x217)],this[_0x33f18d(0x255)]));let _0x5e9324=_0x5c9b4e[_0x33f18d(0x21a)](_0x33f18d(0x22f));const _0x474e9d=_0x5e22b0[_0x33f18d(0x239)][_0x33f18d(0x243)][_0x33f18d(0x23e)],_0x17cc55=Array[_0x33f18d(0x25c)](_0x474e9d[_0x33f18d(0x1e1)]());0x1===_0x17cc55[_0x33f18d(0x1df)]&&_0x17cc55[0x0][_0x33f18d(0x249)]&&!_0x474e9d[_0x33f18d(0x1ed)]()&&''!==_0x5e9324[_0x33f18d(0x251)](/ /g,'')[_0x33f18d(0x22e)]()&&(_0x5e9324=_0x33f18d(0x223)+_0x5e9324+_0x33f18d(0x1ff)),this[_0x33f18d(0x21f)][_0x33f18d(0x222)]({'actionId':_0x366b97,'query':_0x17285a,'htmlContent':_0x5e9324,'label':_0x560182,'mainActionLabel':_0x362d64[_0x5e22b0[_0x33f18d(0x239)][_0x33f18d(0x243)][_0x33f18d(0x23e)][_0x33f18d(0x231)]?_0x33f18d(0x214):_0x33f18d(0x1da)]}),_0x33f18d(0x1de)!==this[_0x33f18d(0x227)]['id']?this[_0x33f18d(0x227)][_0x33f18d(0x1d6)]({'id':_0x33f18d(0x1de),'icon':_0x4c9602,'title':_0x308fb5(this[_0x33f18d(0x1ec)][_0x33f18d(0x21b)],_0x33f18d(0x24f)),'content':this[_0x33f18d(0x255)],'position':_0x4a1b15[_0x33f18d(0x261)],'onShow':()=>{const _0x3e82de=_0x33f18d;this[_0x3e82de(0x255)][_0x3e82de(0x262)]();},'onHide':()=>{const _0x273028=_0x33f18d;this[_0x273028(0x21f)][_0x273028(0x1e4)](),_0x1aaf1c[_0x273028(0x278)]();}}):this[_0x33f18d(0x227)][_0x33f18d(0x246)][_0x33f18d(0x279)]||this[_0x33f18d(0x227)][_0x33f18d(0x246)][_0x33f18d(0x215)]();}[_0x228c31(0x269)](){const _0x2c8ad6=_0x228c31;this[_0x2c8ad6(0x227)][_0x2c8ad6(0x26f)]();}[_0x228c31(0x218)](){const _0x3fe127=_0x228c31,_0x551c3b=new Map(),_0x4cb733=_0x3ae96c(this[_0x3fe127(0x1ec)][_0x3fe127(0x206)][_0x3fe127(0x22c)](_0x3fe127(0x1e0)),this[_0x3fe127(0x1ec)][_0x3fe127(0x21b)]);for(const _0x3e8482 of _0x4cb733)for(const _0x188bdb of _0x3e8482[_0x3fe127(0x232)])_0x551c3b[_0x3fe127(0x1f5)](_0x188bdb['id'],{..._0x188bdb,'groupId':_0x3e8482[_0x3fe127(0x244)],'groupLabel':_0x3e8482[_0x3fe127(0x20d)]||_0x3e8482[_0x3fe127(0x244)]});return _0x551c3b;}[_0x228c31(0x23f)](_0x4ad034){const _0x1e8ba6=_0x228c31,_0x356c1f=this[_0x1e8ba6(0x1ec)],_0x17de15=_0x356c1f[_0x1e8ba6(0x232)][_0x1e8ba6(0x22c)](_0x1e8ba6(0x266)),_0x130491=new _0x4ad034(_0x356c1f[_0x1e8ba6(0x21b)]);return _0x130491[_0x1e8ba6(0x1f5)]({'label':_0x308fb5(_0x356c1f[_0x1e8ba6(0x21b)],_0x1e8ba6(0x24f)),'icon':_0x4c9602,'isToggleable':!0x0}),_0x130491[_0x1e8ba6(0x22b)](_0x1e8ba6(0x23d))['to'](_0x17de15),_0x130491[_0x1e8ba6(0x22b)](_0x1e8ba6(0x260))['to'](this[_0x1e8ba6(0x227)],'id',_0xa1a0b5=>_0x1e8ba6(0x1de)===_0xa1a0b5),this[_0x1e8ba6(0x23c)](_0x130491,_0x1e8ba6(0x1fa),()=>{const _0x4c737c=_0x1e8ba6;_0x130491[_0x4c737c(0x260)]?this[_0x4c737c(0x269)]():_0x17de15[_0x4c737c(0x1fa)]();}),_0x130491;}[_0x228c31(0x268)](){const _0x59cb0b=_0x228c31,_0x419f09=this[_0x59cb0b(0x1ec)][_0x59cb0b(0x203)][_0x59cb0b(0x22c)](_0x2a0107);this[_0x59cb0b(0x255)]=new _0x5911cc(this[_0x59cb0b(0x1ec)][_0x59cb0b(0x21b)],this[_0x59cb0b(0x1fd)],this[_0x59cb0b(0x1ec)][_0x59cb0b(0x206)][_0x59cb0b(0x22c)](_0x59cb0b(0x1cf))),this[_0x59cb0b(0x255)]['on'](_0x59cb0b(0x242),()=>{const _0x2c650d=_0x59cb0b;this[_0x2c650d(0x227)][_0x2c650d(0x246)][_0x2c650d(0x279)]||this[_0x2c650d(0x227)][_0x2c650d(0x246)][_0x2c650d(0x215)]();}),this[_0x59cb0b(0x255)][_0x59cb0b(0x240)][_0x59cb0b(0x234)][_0x59cb0b(0x264)]['on'](_0x59cb0b(0x225),()=>{const _0x416a1a=_0x59cb0b;this[_0x416a1a(0x227)][_0x416a1a(0x246)][_0x416a1a(0x279)]||this[_0x416a1a(0x227)][_0x416a1a(0x246)][_0x416a1a(0x215)]();}),this[_0x59cb0b(0x23c)](this[_0x59cb0b(0x255)],_0x59cb0b(0x238),()=>{const _0x340c80=_0x59cb0b;_0x419f09[_0x340c80(0x25e)](this[_0x340c80(0x21f)][_0x340c80(0x212)]),this[_0x340c80(0x269)]();}),this[_0x59cb0b(0x23c)](this[_0x59cb0b(0x255)],_0x59cb0b(0x247),()=>{const _0x17f738=_0x59cb0b;_0x419f09[_0x17f738(0x247)](this[_0x17f738(0x21f)][_0x17f738(0x212)]),this[_0x17f738(0x269)]();}),this[_0x59cb0b(0x1f7)]();}[_0x228c31(0x1f7)](){const _0x1367c0=_0x228c31,{locale:_0x341925,ui:{ariaLiveAnnouncer:_0x52ffb3}}=this[_0x1367c0(0x1ec)];this[_0x1367c0(0x255)][_0x1367c0(0x22a)]['on'](_0x1367c0(0x1d2),(_0x1a3536,_0xcf89f4,_0x29723e)=>{const _0x51a619=_0x1367c0,_0x2972fc=this[_0x51a619(0x21f)][_0x51a619(0x212)];_0x29723e?_0x52ffb3[_0x51a619(0x26b)](_0x308fb5(_0x341925,_0x51a619(0x272))):_0x2972fc&&_0x52ffb3[_0x51a619(0x26b)](_0x308fb5(_0x341925,_0x51a619(0x221),_0x2972fc),{'politeness':_0x51a619(0x245),'isUnsafeHTML':!0x0});}),this[_0x1367c0(0x255)]['on'](_0x1367c0(0x270),(_0x1a9dd3,_0x275d52,_0x8ff320)=>{const _0x611c40=_0x1367c0;if(_0x8ff320){const _0x3a53b3=this[_0x611c40(0x255)][_0x611c40(0x20e)][_0x611c40(0x276)];_0x52ffb3[_0x611c40(0x26b)](_0x308fb5(_0x341925,_0x611c40(0x24e),_0x3a53b3));}});}[_0x228c31(0x24a)](_0x355b23){const _0x152f5e=_0x228c31,_0x54ed45=this[_0x152f5e(0x256)][_0x152f5e(0x22c)](_0x355b23),_0x537ca7=this[_0x152f5e(0x1ec)],_0x3efe78=_0x537ca7[_0x152f5e(0x239)][_0x152f5e(0x243)][_0x152f5e(0x23e)],_0x4e8538=_0x537ca7[_0x152f5e(0x232)][_0x152f5e(0x22c)](_0x152f5e(0x266)),_0x276c79=_0x537ca7[_0x152f5e(0x203)][_0x152f5e(0x22c)](_0x2a0107),_0x2efd86=''+(_0x54ed45[_0x152f5e(0x244)]!==_0x1ccd98?_0x54ed45[_0x152f5e(0x20d)]+':\x20':'')+_0x54ed45[_0x152f5e(0x229)];if(!0x1!==_0x54ed45[_0x152f5e(0x205)]&&_0x3efe78[_0x152f5e(0x231)]){const _0x592165=_0x4b4caf(_0x3efe78[_0x152f5e(0x1f2)]())||_0x537ca7[_0x152f5e(0x239)][_0x152f5e(0x275)][_0x152f5e(0x22d)](_0x3efe78);_0x537ca7[_0x152f5e(0x239)][_0x152f5e(0x213)](_0x301e90=>{const _0x6e4f1=_0x152f5e;_0x301e90[_0x6e4f1(0x236)](_0x592165,'in');});}_0x276c79[_0x152f5e(0x201)](),_0x4e8538[_0x152f5e(0x1fa)](_0x54ed45[_0x152f5e(0x1fc)],_0x2efd86,_0x152f5e(0x25f)+_0x355b23);}[_0x228c31(0x1d3)](_0x56d397,_0x2a9c09,_0x3be6ef,_0x2a9a90){const _0x469648=_0x228c31,_0x316ebc=this[_0x469648(0x1ec)],_0x464ade=_0x316ebc[_0x469648(0x21b)],_0x38362e=new _0x29465d(_0x464ade),_0x46b77d=U(_0x316ebc,_0x3be6ef)[_0x469648(0x1eb)](_0x2fea77=>_0x2fea77[_0x469648(0x232)][_0x469648(0x1df)]);0x1===_0x46b77d[_0x469648(0x1df)]?this[_0x469648(0x1ce)]({'command':_0x56d397,'commands':_0x46b77d[0x0][_0x469648(0x232)],'parentMenuView':_0x2a9c09,'onExecute':_0x2a9a90})[_0x469648(0x20c)](_0x31c988=>_0x38362e[_0x469648(0x1d8)][_0x469648(0x1ee)](_0x31c988)):_0x46b77d[_0x469648(0x20c)](({groupId:_0x1dbc94,groupLabel:_0x31af4f,commands:_0x1f0a92})=>{const _0x2e671b=_0x469648,_0x10b2ac=new _0x61441c(_0x464ade,_0x2a9c09),_0x317ec9=new _0x46ff07(_0x464ade),_0x5dc43e=new _0x29465d(_0x464ade),_0x3ed4a6=this[_0x2e671b(0x1ce)]({'command':_0x56d397,'commands':_0x1f0a92,'parentMenuView':_0x317ec9,'onExecute':_0x2a9a90});_0x317ec9[_0x2e671b(0x21c)][_0x2e671b(0x1f5)]({'label':_0x31af4f||_0x1dbc94}),_0x317ec9[_0x2e671b(0x200)](_0x2e671b(0x1fa))['to'](_0x2a9c09),_0x5dc43e[_0x2e671b(0x1d8)][_0x2e671b(0x23b)](_0x3ed4a6),_0x317ec9[_0x2e671b(0x1ca)][_0x2e671b(0x1e5)][_0x2e671b(0x1ee)](_0x5dc43e),_0x10b2ac[_0x2e671b(0x1e5)][_0x2e671b(0x1ee)](_0x317ec9),_0x38362e[_0x2e671b(0x1d8)][_0x2e671b(0x1ee)](_0x10b2ac);}),_0x2a9c09[_0x469648(0x1ca)][_0x469648(0x1e5)][_0x469648(0x1ee)](_0x38362e);}[_0x228c31(0x1ce)]({command:_0x34ef8e,commands:_0x162a7a,parentMenuView:_0x5b6452,onExecute:_0x157c17}){const _0x508912=_0x228c31,_0x251cf6=this[_0x508912(0x1ec)],_0x461281=_0x251cf6[_0x508912(0x21b)];return U(_0x251cf6,_0x162a7a)[_0x508912(0x1d9)](_0x4ef5f4=>{const _0x2a5fa7=_0x508912,_0x3a0dd0=new _0x61441c(_0x461281,_0x5b6452),_0x389f9d=new _0x1460d3(_0x461281);return _0x389f9d[_0x2a5fa7(0x1f5)]({'label':_0x4ef5f4[_0x2a5fa7(0x229)]}),_0x389f9d[_0x2a5fa7(0x200)](_0x2a5fa7(0x1fa))['to'](_0x5b6452),_0x389f9d['on'](_0x2a5fa7(0x1fa),()=>_0x157c17(_0x4ef5f4['id'])),_0x389f9d[_0x2a5fa7(0x22b)](_0x2a5fa7(0x23d))['to'](_0x34ef8e,_0x2a5fa7(0x1d1),_0x4be459=>_0x4be459[_0x2a5fa7(0x1dd)](_0x4ef5f4['id'])),_0x3a0dd0[_0x2a5fa7(0x1e5)][_0x2a5fa7(0x1ee)](_0x389f9d),_0x3a0dd0;});}}function T(_0x1777d1,_0x3662a6){const _0x5b4483=_0x228c31;return void 0x0!==_0x1777d1[_0x5b4483(0x216)]&&void 0x0===_0x3662a6[_0x5b4483(0x216)]?0x1:void 0x0===_0x1777d1[_0x5b4483(0x216)]&&void 0x0!==_0x3662a6[_0x5b4483(0x216)]?-0x1:void 0x0!==_0x1777d1[_0x5b4483(0x216)]&&void 0x0!==_0x3662a6[_0x5b4483(0x216)]?_0x1777d1[_0x5b4483(0x216)]-_0x3662a6[_0x5b4483(0x216)]:0x0;}function U(_0x12b280,_0x1f1cbe){const _0x17bbb8=_0x228c31;_0x1f1cbe[_0x17bbb8(0x271)](T);const _0x3431de={},_0x330650=[];for(const _0x37018e of _0x1f1cbe)if(void 0x0!==_0x37018e[_0x17bbb8(0x216)]){if(_0x37018e[_0x17bbb8(0x216)]in _0x3431de)throw new _0x2f40c8(_0x17bbb8(0x267),_0x12b280,{'conflictingDefinitions':[_0x37018e,_0x3431de[_0x37018e[_0x17bbb8(0x216)]]]});_0x3431de[_0x37018e[_0x17bbb8(0x216)]]=_0x37018e,_0x330650[_0x17bbb8(0x20a)](_0x37018e[_0x17bbb8(0x216)],0x0,_0x37018e);}else _0x330650[_0x17bbb8(0x25a)](_0x37018e);return _0x330650;}
|
|
23
|
+
function _0x76db(){const _0x42ffc6=['menuView','hideFakeVisualSelection','menuBar:aiCommands','editing','set','updateView','isPremiumPlugin','pluginName','destroy','change','featureNotAllowed','buttons','</p>','trialLimit','aiLicenseKeyDomainLimit','menuBar:aiAssistant','config','view','ai.assistant.commands','show','model','contentArea','expired','buttonView','aiAssistant','queryView','children','bind','execute','currentContext','showUI','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyValid','_getResolvedCommandsDefinitions','media','values','_onExecute','_commandDefinitions','updatePosition','requires','replace','fieldView','push','focus','editor','length','_aiAssistantController','init','enabledCommandsIds','text','aiLicenseKeyEvaluationLimit','isEnabled','add','reset','comment','wasMoved','change:isProcessing','678dRTuHN','insertContent','4972692OxOjUZ','_uiCssClasses','usageLimit','665WggEhq','polite','from','_licenseKeyCheckInterval','ck-ai-assistant-ui','get','ai.assistant.disabledElements','change:enabledCommandsIds','errorView','groupLabel','_initAriaAiStatusChangeAnnouncements','AI\x20Commands','panelView','\x20ck-ai-assistant-ui_theme','getSelectedElement','requiresContent','once','_initView','showAIAssistant','Generated\x20content:\x20%0','promptView','delegate','hideUI','<p>','document','aiCommands','evaluationLimit','splice','186AfGemh','INSERT','menuitemcheckbox','order','_aiAdapter','render','_getMenuBarGroupButtons','change:value','selection','55hnxtEt','isCollapsed','rawHtml','schema','showFakeVisualSelection','_forceMarkersCopy','getData','aiLicenseKeyTrialLimit','aiLicenseKeyUsageLimit','setSelection','sort','REPLACE','1004193gFjjyC','announce','define','filter','_populateMenuBarMenu','command:','update','AIAssistant','forEach','aiLicenseKeyNotAllowed','copy','groupId','invalid','plugins','hide','trim','text/html','change:isError','items','getRanges','menuPanelClass','getSelectedBlocks','AI\x20is\x20writing','_formView','aiLicenseKeyInvalid','aiLicenseKeyExpired','DataTransfer','ck-ai-commands-dropdown\x20','2780OoekLS','9627xBNMIG','isFlat','isOn','prompt','licenseKey','includes','getLimitElement','AI\x20Assistant','_createAIAssistantUIButton','custom','textAdapter','componentFactory','3091TjOvuM','_dialog','tableOfContents','fire','commands','_showLicenseError','ai.assistant.contentAreaCssClass','238351IbCUHR','AIAssistantUI','ai.assistant.useTheme','locale','map','ck-ai-assistant-button\x20','isOfficialPlugin','8nrJWXV','EDITOR_TOP_SIDE','replaceContent','ai-commands-config-order-collision','domainLimit','label','125936RGiYwE','source','body','addMany','listenTo','insertContentBelow'];_0x76db=function(){return _0x42ffc6;};return _0x76db();}const _0x488f64=_0x36db;(function(_0x5bfad6,_0x2c0d00){const _0x5d05f3=_0x36db,_0x152b5e=_0x5bfad6();while(!![]){try{const _0x5403b7=parseInt(_0x5d05f3(0x138))/0x1+parseInt(_0x5d05f3(0x1a5))/0x2*(-parseInt(_0x5d05f3(0x125))/0x3)+-parseInt(_0x5d05f3(0x145))/0x4*(parseInt(_0x5d05f3(0x1ae))/0x5)+-parseInt(_0x5d05f3(0x184))/0x6*(-parseInt(_0x5d05f3(0x189))/0x7)+-parseInt(_0x5d05f3(0x13f))/0x8*(-parseInt(_0x5d05f3(0x1ba))/0x9)+-parseInt(_0x5d05f3(0x124))/0xa*(-parseInt(_0x5d05f3(0x131))/0xb)+parseInt(_0x5d05f3(0x186))/0xc;if(_0x5403b7===_0x2c0d00)break;else _0x152b5e['push'](_0x152b5e['shift']());}catch(_0x19af80){_0x152b5e['push'](_0x152b5e['shift']());}}}(_0x76db,0x32e1b));import{Plugin as _0x57de6e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x17cf3a,IconRobotPencil as _0x1d72b7}from'ckeditor5/src/icons.js';import{first as _0x46a915,CKEditorError as _0xe9b8d3}from'ckeditor5/src/utils.js';import{createDropdown as _0x513755,addMenuToDropdown as _0x29a5b3,ButtonView as _0x100ddf,MenuBarMenuListItemButtonView as _0x1495d9,Dialog as _0x232e46,DialogViewPosition as _0xba5e78,MenuBarMenuView as _0x26f33e,MenuBarMenuListView as _0x211562,MenuBarMenuListItemView as _0x473b65}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x18af09,UNGROUPED_COMMANDS_GROUP_ID as _0x35aa4e}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x38f8c5}from'./aiassistantediting.js';import{AIAdapter as _0x207f39}from'./adapters/aiadapter.js';import{getTranslation as _0x341649}from'./utils/common-translations.js';function _0x36db(_0x6fb05d,_0x14f5ed){const _0x76dbbb=_0x76db();return _0x36db=function(_0x36db58,_0x45252e){_0x36db58=_0x36db58-0x113;let _0x48d2f8=_0x76dbbb[_0x36db58];return _0x48d2f8;},_0x36db(_0x6fb05d,_0x14f5ed);}import{ShowAIAssistantCommand as _0x499c53}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x34ee0c}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x171da8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x499cb0}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x488f64(0x122)];import{ClipboardMarkersUtils as _0x377884}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5ca291,ViewDataTransfer as _0x4c8b02}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x57de6e{[_0x488f64(0x129)];[_0x488f64(0x18c)];[_0x488f64(0x132)];[_0x488f64(0x11f)];[_0x488f64(0x1a9)];[_0x488f64(0x179)];[_0x488f64(0x187)]='';static get[_0x488f64(0x152)](){const _0x265294=_0x488f64;return _0x265294(0x139);}static get[_0x488f64(0x13e)](){return!0x0;}static get[_0x488f64(0x151)](){return!0x0;}static get[_0x488f64(0x172)](){return[_0x377884,_0x38f8c5,_0x207f39,_0x232e46];}constructor(_0x1b24dc){const _0x34d161=_0x488f64;super(_0x1b24dc),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x18f),[_0x34d161(0x16d),_0x34d161(0x1b0),_0x34d161(0x133)]),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x137),''),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x13a),!0x0),this[_0x34d161(0x187)]=_0x34d161(0x18d)+(_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x18e)](_0x34d161(0x13a))?_0x34d161(0x196):'');}[_0x488f64(0x17a)](){const _0x7a0138=_0x488f64,{editor:_0x45608c}=this;this[_0x7a0138(0x1a9)]=_0x45608c[_0x7a0138(0x115)][_0x7a0138(0x18e)](_0x207f39),this[_0x7a0138(0x132)]=_0x45608c[_0x7a0138(0x115)][_0x7a0138(0x18e)](_0x232e46),this[_0x7a0138(0x11f)]=null,this[_0x7a0138(0x170)]=this[_0x7a0138(0x16c)]();const _0x1926ce=new _0x499c53(_0x45608c,Array[_0x7a0138(0x18b)](this[_0x7a0138(0x170)][_0x7a0138(0x16e)]()));_0x45608c[_0x7a0138(0x135)][_0x7a0138(0x17f)](_0x7a0138(0x19b),_0x1926ce),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x1a2),_0xbf9bc4=>{const _0x585d29=_0x7a0138,_0x403f1b=_0x513755(_0xbf9bc4);return _0x403f1b[_0x585d29(0x14f)]({'class':_0x585d29(0x123)+this[_0x585d29(0x187)]}),_0x403f1b[_0x585d29(0x162)][_0x585d29(0x14f)]({'label':_0x341649(_0xbf9bc4,_0x585d29(0x194)),'icon':_0x17cf3a,'tooltip':!0x0}),_0x403f1b['on'](_0x585d29(0x167),_0x5627c9=>this[_0x585d29(0x16f)](_0x5627c9[_0x585d29(0x146)]['id'])),_0x29a5b3(_0x403f1b,_0x45608c['ui'][_0x585d29(0x15c)][_0x585d29(0x147)],function(_0x3132b1){const _0x3913e6=_0x585d29,_0x28f442=_0x18af09(_0x3132b1[_0x3913e6(0x15b)][_0x3913e6(0x18e)](_0x3913e6(0x15d)),_0x3132b1[_0x3913e6(0x13b)]),_0x3e9ce4=hi(_0x3132b1,_0x28f442)[_0x3913e6(0x1bd)](_0x1799e8=>_0x1799e8[_0x3913e6(0x135)][_0x3913e6(0x178)]);if(0x1===_0x3e9ce4[_0x3913e6(0x178)])return hi(_0x3132b1,_0x3e9ce4[0x0][_0x3913e6(0x135)])[_0x3913e6(0x13c)](_0x5ef891=>({'id':_0x5ef891['id'],'label':_0x5ef891[_0x3913e6(0x144)]}));return _0x3e9ce4[_0x3913e6(0x13c)](_0x3d4349=>{const _0x420954=_0x3913e6,{groupId:_0x46d072,groupLabel:_0x147598,commands:_0xe62ef7}=_0x3d4349,_0x44956c=hi(_0x3132b1,_0xe62ef7)[_0x420954(0x13c)](_0xb1287e=>({'id':_0xb1287e['id'],'label':_0xb1287e[_0x420954(0x144)]}));return{'id':_0x46d072,'menu':_0x147598||_0x46d072,'children':_0x44956c};});}(_0x45608c),{'ariaLabel':_0x341649(_0xbf9bc4,_0x585d29(0x194))}),_0x403f1b[_0x585d29(0x14b)][_0x585d29(0x11c)]=_0x585d29(0x123)+this[_0x585d29(0x187)],_0x1926ce['on'](_0x585d29(0x190),_0x1e1b61),_0x403f1b[_0x585d29(0x14b)][_0x585d29(0x199)](_0x585d29(0x1aa),_0x1e1b61),_0x403f1b;function _0x1e1b61(){const _0x18a4d0=_0x585d29;_0x403f1b[_0x18a4d0(0x17e)]=_0x1926ce[_0x18a4d0(0x17b)][_0x18a4d0(0x178)]>0x0;for(const _0x45cf8a of _0x403f1b[_0x18a4d0(0x14b)][_0x18a4d0(0x156)])_0x45cf8a[_0x18a4d0(0x17e)]=_0x1926ce[_0x18a4d0(0x17b)][_0x18a4d0(0x12a)](_0x45cf8a['id']);}}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x14d),_0x478617=>{const _0x2615cf=_0x7a0138,_0x315740=new _0x26f33e(_0x478617);_0x315740[_0x2615cf(0x162)][_0x2615cf(0x14f)]({'label':_0x341649(_0x478617,_0x2615cf(0x194)),'icon':_0x17cf3a}),_0x315740[_0x2615cf(0x166)](_0x2615cf(0x17e))['to'](_0x1926ce,_0x2615cf(0x17b),_0x4d7a11=>_0x4d7a11[_0x2615cf(0x178)]>0x0);const _0x5365bb=_0x18af09(_0x45608c[_0x2615cf(0x15b)][_0x2615cf(0x18e)](_0x2615cf(0x15d)),_0x478617);return this[_0x2615cf(0x1be)](_0x1926ce,_0x315740,_0x5365bb,_0x93e0bf=>this[_0x2615cf(0x16f)](_0x93e0bf)),_0x315740;}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x163),()=>{const _0x5b5df5=_0x7a0138,_0x4441e3=this[_0x5b5df5(0x12d)](_0x100ddf);return _0x4441e3[_0x5b5df5(0x14f)]({'tooltip':!0x0,'class':_0x5b5df5(0x13d)+this[_0x5b5df5(0x187)]}),_0x4441e3;}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x15a),()=>{const _0x55685c=_0x7a0138,_0x150364=this[_0x55685c(0x12d)](_0x1495d9);return _0x150364[_0x55685c(0x14f)]({'role':_0x55685c(0x1a7)}),_0x150364;}),this[_0x7a0138(0x129)]=this[_0x7a0138(0x177)][_0x7a0138(0x15b)][_0x7a0138(0x18e)](_0x7a0138(0x129));const _0x21e440=this[_0x7a0138(0x177)];this[_0x7a0138(0x18c)]=setInterval(()=>{const _0x11d85b=_0x7a0138;let _0x416024;for(const _0x40a91c in _0x21e440){const _0x3b78f6=_0x40a91c,_0x492556=_0x21e440[_0x3b78f6];if(_0x11d85b(0x16b)==_0x492556||_0x11d85b(0x120)==_0x492556||_0x11d85b(0x121)==_0x492556||_0x11d85b(0x159)==_0x492556||_0x11d85b(0x1c3)==_0x492556||_0x11d85b(0x17d)==_0x492556||_0x11d85b(0x1b5)==_0x492556||_0x11d85b(0x1b6)==_0x492556){delete _0x21e440[_0x3b78f6],_0x416024=_0x492556,clearInterval(this[_0x11d85b(0x18c)]),this[_0x11d85b(0x18c)]=void 0x0;break;}}_0x11d85b(0x120)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x114)),_0x11d85b(0x121)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x161)),_0x11d85b(0x159)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x143)),_0x11d85b(0x1c3)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x155),_0x11d85b(0x1c1)),_0x11d85b(0x17d)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x1a3)),_0x11d85b(0x1b5)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x158)),_0x11d85b(0x1b6)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x188));},0x3e8);}[_0x488f64(0x153)](){const _0x4f3fbd=_0x488f64;super[_0x4f3fbd(0x153)](),this[_0x4f3fbd(0x18c)]&&clearInterval(this[_0x4f3fbd(0x18c)]);}[_0x488f64(0x169)](_0x2ab78e='',_0x1d7809='',_0x1aec48=_0x488f64(0x12e)){const _0x17c378=_0x488f64,_0x21b8be=this[_0x17c378(0x177)],_0x127353=_0x21b8be[_0x17c378(0x14e)][_0x17c378(0x15c)],_0x4e7a43=_0x21b8be[_0x17c378(0x115)][_0x17c378(0x18e)](_0x38f8c5),_0x1f71bc=_0x21b8be[_0x17c378(0x115)][_0x17c378(0x18e)](_0x377884);_0x4e7a43[_0x17c378(0x1b2)]();const _0xbee77f=new J(),_0x67e250=new ClipboardEvent(_0x17c378(0x1c4),{'clipboardData':_0xbee77f}),_0x88b47a=new _0x4c8b02(_0xbee77f),_0x4118b1=new _0x5ca291(_0x127353,_0x67e250,{'dataTransfer':_0x88b47a});_0x1f71bc[_0x17c378(0x1b3)](_0x17c378(0x181),()=>{const _0x413f7f=_0x17c378;_0x127353[_0x413f7f(0x1a1)][_0x413f7f(0x134)](_0x413f7f(0x1c4),_0x4118b1);}),this[_0x17c378(0x11f)]||(this[_0x17c378(0x19a)](),this[_0x17c378(0x179)]=new _0x34ee0c(_0x21b8be,this[_0x17c378(0x1a9)][_0x17c378(0x12f)],this[_0x17c378(0x11f)]));let _0x1418d2=_0x88b47a[_0x17c378(0x1b4)](_0x17c378(0x118));const _0x3fb7f4=_0x21b8be[_0x17c378(0x15f)][_0x17c378(0x1a1)][_0x17c378(0x1ad)],_0x4e4870=Array[_0x17c378(0x18b)](_0x3fb7f4[_0x17c378(0x11b)]());0x1===_0x4e4870[_0x17c378(0x178)]&&_0x4e4870[0x0][_0x17c378(0x126)]&&!_0x3fb7f4[_0x17c378(0x197)]()&&''!==_0x1418d2[_0x17c378(0x173)](/ /g,'')[_0x17c378(0x117)]()&&(_0x1418d2=_0x17c378(0x1a0)+_0x1418d2+_0x17c378(0x157)),this[_0x17c378(0x179)][_0x17c378(0x150)]({'actionId':_0x1aec48,'query':_0x2ab78e,'htmlContent':_0x1418d2,'label':_0x1d7809,'mainActionLabel':_0x499cb0[_0x21b8be[_0x17c378(0x15f)][_0x17c378(0x1a1)][_0x17c378(0x1ad)][_0x17c378(0x1af)]?_0x17c378(0x1a6):_0x17c378(0x1b9)]}),_0x17c378(0x163)!==this[_0x17c378(0x132)]['id']?this[_0x17c378(0x132)][_0x17c378(0x15e)]({'id':_0x17c378(0x163),'icon':_0x1d72b7,'title':_0x341649(this[_0x17c378(0x177)][_0x17c378(0x13b)],_0x17c378(0x12c)),'content':this[_0x17c378(0x11f)],'position':_0xba5e78[_0x17c378(0x140)],'onShow':()=>{const _0x15a9a8=_0x17c378;this[_0x15a9a8(0x11f)][_0x15a9a8(0x176)]();},'onHide':()=>{const _0x21607f=_0x17c378;this[_0x21607f(0x179)][_0x21607f(0x180)](),_0x4e7a43[_0x21607f(0x14c)]();}}):this[_0x17c378(0x132)][_0x17c378(0x15c)][_0x17c378(0x182)]||this[_0x17c378(0x132)][_0x17c378(0x15c)][_0x17c378(0x171)]();}[_0x488f64(0x19f)](){const _0x8878db=_0x488f64;this[_0x8878db(0x132)][_0x8878db(0x116)]();}[_0x488f64(0x16c)](){const _0x5d25d9=_0x488f64,_0x29d9e6=new Map(),_0x166e3e=_0x18af09(this[_0x5d25d9(0x177)][_0x5d25d9(0x15b)][_0x5d25d9(0x18e)](_0x5d25d9(0x15d)),this[_0x5d25d9(0x177)][_0x5d25d9(0x13b)]);for(const _0x5be5ce of _0x166e3e)for(const _0x13b51a of _0x5be5ce[_0x5d25d9(0x135)])_0x29d9e6[_0x5d25d9(0x14f)](_0x13b51a['id'],{..._0x13b51a,'groupId':_0x5be5ce[_0x5d25d9(0x113)],'groupLabel':_0x5be5ce[_0x5d25d9(0x192)]||_0x5be5ce[_0x5d25d9(0x113)]});return _0x29d9e6;}[_0x488f64(0x12d)](_0x2b360c){const _0xd2fafe=_0x488f64,_0x2f7340=this[_0xd2fafe(0x177)],_0xe37741=_0x2f7340[_0xd2fafe(0x135)][_0xd2fafe(0x18e)](_0xd2fafe(0x19b)),_0x44ff23=new _0x2b360c(_0x2f7340[_0xd2fafe(0x13b)]);return _0x44ff23[_0xd2fafe(0x14f)]({'label':_0x341649(_0x2f7340[_0xd2fafe(0x13b)],_0xd2fafe(0x12c)),'icon':_0x1d72b7,'isToggleable':!0x0}),_0x44ff23[_0xd2fafe(0x166)](_0xd2fafe(0x17e))['to'](_0xe37741),_0x44ff23[_0xd2fafe(0x166)](_0xd2fafe(0x127))['to'](this[_0xd2fafe(0x132)],'id',_0x56bb8e=>_0xd2fafe(0x163)===_0x56bb8e),this[_0xd2fafe(0x149)](_0x44ff23,_0xd2fafe(0x167),()=>{const _0x3c1b30=_0xd2fafe;_0x44ff23[_0x3c1b30(0x127)]?this[_0x3c1b30(0x19f)]():_0xe37741[_0x3c1b30(0x167)]();}),_0x44ff23;}[_0x488f64(0x19a)](){const _0x715e94=_0x488f64,_0x372549=this[_0x715e94(0x177)][_0x715e94(0x115)][_0x715e94(0x18e)](_0x38f8c5);this[_0x715e94(0x11f)]=new _0x171da8(this[_0x715e94(0x177)][_0x715e94(0x13b)],this[_0x715e94(0x187)],this[_0x715e94(0x177)][_0x715e94(0x15b)][_0x715e94(0x18e)](_0x715e94(0x137))),this[_0x715e94(0x11f)]['on'](_0x715e94(0x1ac),()=>{const _0x1541d3=_0x715e94;this[_0x1541d3(0x132)][_0x1541d3(0x15c)][_0x1541d3(0x182)]||this[_0x1541d3(0x132)][_0x1541d3(0x15c)][_0x1541d3(0x171)]();}),this[_0x715e94(0x11f)][_0x715e94(0x19d)][_0x715e94(0x164)][_0x715e94(0x174)]['on'](_0x715e94(0x1c0),()=>{const _0x4f3850=_0x715e94;this[_0x4f3850(0x132)][_0x4f3850(0x15c)][_0x4f3850(0x182)]||this[_0x4f3850(0x132)][_0x4f3850(0x15c)][_0x4f3850(0x171)]();}),this[_0x715e94(0x149)](this[_0x715e94(0x11f)],_0x715e94(0x141),()=>{const _0x483f50=_0x715e94;_0x372549[_0x483f50(0x185)](this[_0x483f50(0x179)][_0x483f50(0x168)]),this[_0x483f50(0x19f)]();}),this[_0x715e94(0x149)](this[_0x715e94(0x11f)],_0x715e94(0x14a),()=>{const _0x167623=_0x715e94;_0x372549[_0x167623(0x14a)](this[_0x167623(0x179)][_0x167623(0x168)]),this[_0x167623(0x19f)]();}),this[_0x715e94(0x193)]();}[_0x488f64(0x193)](){const _0x453f7f=_0x488f64,{locale:_0xd5f4a5,ui:{ariaLiveAnnouncer:_0x40ea43}}=this[_0x453f7f(0x177)];this[_0x453f7f(0x11f)][_0x453f7f(0x160)]['on'](_0x453f7f(0x183),(_0x541258,_0x40c66f,_0x26a5f1)=>{const _0x39ae15=_0x453f7f,_0x31cad8=this[_0x39ae15(0x179)][_0x39ae15(0x168)];_0x26a5f1?_0x40ea43[_0x39ae15(0x1bb)](_0x341649(_0xd5f4a5,_0x39ae15(0x11e))):_0x31cad8&&_0x40ea43[_0x39ae15(0x1bb)](_0x341649(_0xd5f4a5,_0x39ae15(0x19c),_0x31cad8),{'politeness':_0x39ae15(0x18a),'isUnsafeHTML':!0x0});}),this[_0x453f7f(0x11f)]['on'](_0x453f7f(0x119),(_0x41c84d,_0x16c83a,_0x1ef9ce)=>{const _0x49c320=_0x453f7f;if(_0x1ef9ce){const _0x4be255=this[_0x49c320(0x11f)][_0x49c320(0x191)][_0x49c320(0x17c)];_0x40ea43[_0x49c320(0x1bb)](_0x341649(_0xd5f4a5,_0x49c320(0x16a),_0x4be255));}});}[_0x488f64(0x16f)](_0x14a3e6){const _0x44292b=_0x488f64,_0xed8b26=this[_0x44292b(0x170)][_0x44292b(0x18e)](_0x14a3e6),_0x1396d9=this[_0x44292b(0x177)],_0x372064=_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x1a1)][_0x44292b(0x1ad)],_0x168e21=_0x1396d9[_0x44292b(0x135)][_0x44292b(0x18e)](_0x44292b(0x19b)),_0x383abf=_0x1396d9[_0x44292b(0x115)][_0x44292b(0x18e)](_0x38f8c5),_0x314bd4=''+(_0xed8b26[_0x44292b(0x113)]!==_0x35aa4e?_0xed8b26[_0x44292b(0x192)]+':\x20':'')+_0xed8b26[_0x44292b(0x144)];if(!0x1!==_0xed8b26[_0x44292b(0x198)]&&_0x372064[_0x44292b(0x1af)]){const _0xe31bdf=_0x46a915(_0x372064[_0x44292b(0x11d)]())||_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x1b1)][_0x44292b(0x12b)](_0x372064);_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x154)](_0x352a72=>{const _0x487ed6=_0x44292b;_0x352a72[_0x487ed6(0x1b7)](_0xe31bdf,'in');});}_0x383abf[_0x44292b(0x1b2)](),_0x168e21[_0x44292b(0x167)](_0xed8b26[_0x44292b(0x128)],_0x314bd4,_0x44292b(0x1bf)+_0x14a3e6);}[_0x488f64(0x1be)](_0x31def8,_0x42fb03,_0x474e8a,_0x4ed94e){const _0x4bfdc9=_0x488f64,_0x21ff39=this[_0x4bfdc9(0x177)],_0x1289e7=_0x21ff39[_0x4bfdc9(0x13b)],_0xd1f8a7=new _0x211562(_0x1289e7),_0x39efe0=hi(_0x21ff39,_0x474e8a)[_0x4bfdc9(0x1bd)](_0x15c8f7=>_0x15c8f7[_0x4bfdc9(0x135)][_0x4bfdc9(0x178)]);0x1===_0x39efe0[_0x4bfdc9(0x178)]?this[_0x4bfdc9(0x1ab)]({'command':_0x31def8,'commands':_0x39efe0[0x0][_0x4bfdc9(0x135)],'parentMenuView':_0x42fb03,'onExecute':_0x4ed94e})[_0x4bfdc9(0x1c2)](_0x1991a0=>_0xd1f8a7[_0x4bfdc9(0x11a)][_0x4bfdc9(0x17f)](_0x1991a0)):_0x39efe0[_0x4bfdc9(0x1c2)](({groupId:_0x1d1363,groupLabel:_0x13fc49,commands:_0x44d465})=>{const _0x403637=_0x4bfdc9,_0x48786b=new _0x473b65(_0x1289e7,_0x42fb03),_0x285eb9=new _0x26f33e(_0x1289e7),_0xbfc6c2=new _0x211562(_0x1289e7),_0x309be=this[_0x403637(0x1ab)]({'command':_0x31def8,'commands':_0x44d465,'parentMenuView':_0x285eb9,'onExecute':_0x4ed94e});_0x285eb9[_0x403637(0x162)][_0x403637(0x14f)]({'label':_0x13fc49||_0x1d1363}),_0x285eb9[_0x403637(0x19e)](_0x403637(0x167))['to'](_0x42fb03),_0xbfc6c2[_0x403637(0x11a)][_0x403637(0x148)](_0x309be),_0x285eb9[_0x403637(0x195)][_0x403637(0x165)][_0x403637(0x17f)](_0xbfc6c2),_0x48786b[_0x403637(0x165)][_0x403637(0x17f)](_0x285eb9),_0xd1f8a7[_0x403637(0x11a)][_0x403637(0x17f)](_0x48786b);}),_0x42fb03[_0x4bfdc9(0x195)][_0x4bfdc9(0x165)][_0x4bfdc9(0x17f)](_0xd1f8a7);}[_0x488f64(0x1ab)]({command:_0x2f92c4,commands:_0x368d71,parentMenuView:_0x1e2049,onExecute:_0x53ae02}){const _0x17f5f5=_0x488f64,_0x5b33cf=this[_0x17f5f5(0x177)],_0x336aef=_0x5b33cf[_0x17f5f5(0x13b)];return hi(_0x5b33cf,_0x368d71)[_0x17f5f5(0x13c)](_0x24f4a1=>{const _0x34801c=_0x17f5f5,_0x5d0fef=new _0x473b65(_0x336aef,_0x1e2049),_0x167b4c=new _0x1495d9(_0x336aef);return _0x167b4c[_0x34801c(0x14f)]({'label':_0x24f4a1[_0x34801c(0x144)]}),_0x167b4c[_0x34801c(0x19e)](_0x34801c(0x167))['to'](_0x1e2049),_0x167b4c['on'](_0x34801c(0x167),()=>_0x53ae02(_0x24f4a1['id'])),_0x167b4c[_0x34801c(0x166)](_0x34801c(0x17e))['to'](_0x2f92c4,_0x34801c(0x17b),_0x555f21=>_0x555f21[_0x34801c(0x12a)](_0x24f4a1['id'])),_0x5d0fef[_0x34801c(0x165)][_0x34801c(0x17f)](_0x167b4c),_0x5d0fef;});}}function li(_0x2b66e6,_0x4ccef4){const _0x4fa311=_0x488f64;return void 0x0!==_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0===_0x4ccef4[_0x4fa311(0x1a8)]?0x1:void 0x0===_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0!==_0x4ccef4[_0x4fa311(0x1a8)]?-0x1:void 0x0!==_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0!==_0x4ccef4[_0x4fa311(0x1a8)]?_0x2b66e6[_0x4fa311(0x1a8)]-_0x4ccef4[_0x4fa311(0x1a8)]:0x0;}function hi(_0x4ccafc,_0x5a0f47){const _0x20f3e5=_0x488f64;_0x5a0f47[_0x20f3e5(0x1b8)](li);const _0x1143a5={},_0x5166bc=[];for(const _0x5876e7 of _0x5a0f47)if(void 0x0!==_0x5876e7[_0x20f3e5(0x1a8)]){if(_0x5876e7[_0x20f3e5(0x1a8)]in _0x1143a5)throw new _0xe9b8d3(_0x20f3e5(0x142),_0x4ccafc,{'conflictingDefinitions':[_0x5876e7,_0x1143a5[_0x5876e7[_0x20f3e5(0x1a8)]]]});_0x1143a5[_0x5876e7[_0x20f3e5(0x1a8)]]=_0x5876e7,_0x5166bc[_0x20f3e5(0x1a4)](_0x5876e7[_0x20f3e5(0x1a8)],0x0,_0x5876e7);}else _0x5166bc[_0x20f3e5(0x175)](_0x5876e7);return _0x5166bc;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x546ba1,_0x2806c7){var _0x1a8c6b=_0x46ae,_0x149f6f=_0x546ba1();while(!![]){try{var _0x48f2b9=parseInt(_0x1a8c6b(0x1e7))/0x1+-parseInt(_0x1a8c6b(0x1e6))/0x2*(parseInt(_0x1a8c6b(0x1e1))/0x3)+-parseInt(_0x1a8c6b(0x1e2))/0x4+-parseInt(_0x1a8c6b(0x1e3))/0x5*(-parseInt(_0x1a8c6b(0x1e0))/0x6)+parseInt(_0x1a8c6b(0x1e5))/0x7+-parseInt(_0x1a8c6b(0x1df))/0x8+parseInt(_0x1a8c6b(0x1e4))/0x9;if(_0x48f2b9===_0x2806c7)break;else _0x149f6f['push'](_0x149f6f['shift']());}catch(_0x47bfeb){_0x149f6f['push'](_0x149f6f['shift']());}}}(_0x1e31,0xc8475));function _0x46ae(_0xbab8ab,_0x7825a7){var _0x1e3131=_0x1e31();return _0x46ae=function(_0x46ae7b,_0x424e68){_0x46ae7b=_0x46ae7b-0x1df;var _0x1938e1=_0x1e3131[_0x46ae7b];return _0x1938e1;},_0x46ae(_0xbab8ab,_0x7825a7);}import{CKEditorError as _0x1f3842}from'ckeditor5/src/utils.js';function _0x1e31(){var _0x347c25=['1409319AbSVxC','12040672PRiwWP','6yWJLOI','1452972oxicmB','3226160jaPyjj','5512405XReiQu','6466986vjfVZZ','2701545RaofVY','2xuCnOW'];_0x1e31=function(){return _0x347c25;};return _0x1e31();}
|