@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 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
|
-
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
|
-
const
|
|
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
|
-
function
|
|
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 _0x5ce31b=_0x3593;(function(_0x165f79,_0x481c4c){const _0x34b1ac=_0x3593,_0x1c36c5=_0x165f79();while(!![]){try{const _0x5fee45=-parseInt(_0x34b1ac(0xfd))/0x1*(parseInt(_0x34b1ac(0xeb))/0x2)+-parseInt(_0x34b1ac(0xea))/0x3*(parseInt(_0x34b1ac(0xe0))/0x4)+-parseInt(_0x34b1ac(0xf5))/0x5*(-parseInt(_0x34b1ac(0x101))/0x6)+parseInt(_0x34b1ac(0x138))/0x7+-parseInt(_0x34b1ac(0x112))/0x8*(parseInt(_0x34b1ac(0x13e))/0x9)+parseInt(_0x34b1ac(0xf1))/0xa*(-parseInt(_0x34b1ac(0x142))/0xb)+-parseInt(_0x34b1ac(0x13a))/0xc*(parseInt(_0x34b1ac(0x127))/0xd);if(_0x5fee45===_0x481c4c)break;else _0x1c36c5['push'](_0x1c36c5['shift']());}catch(_0x384a41){_0x1c36c5['push'](_0x1c36c5['shift']());}}}(_0xb37c,0x658e6));import{uid as _0x526a37}from'ckeditor5/src/utils.js';import{Plugin as _0x3c93c1}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x48ddc3}from'ckeditor5/src/clipboard.js';function _0x3593(_0x5121aa,_0x2a3343){const _0xb37c8d=_0xb37c();return _0x3593=function(_0x359337,_0x1c952b){_0x359337=_0x359337-0xd7;let _0x3b277b=_0xb37c8d[_0x359337];return _0x3b277b;},_0x3593(_0x5121aa,_0x2a3343);}import{ViewDocumentDomEventData as _0x197994,ViewDataTransfer as _0x4d6a73}from'ckeditor5/src/engine.js';function _0xb37c(){const _0x54b6c8=['lowest','insertContent','parse','2685496OHknGN','markerRange','hideFakeVisualSelection','map','push','addMarker','DataTransfer','removeMarker','_getAISelection','start','afterInit','updateMarker','schema','ck-fake-ai-selection','first','1952ZPoFCW','selection','getSelectedTableCells','conversion','getRows','getChildren','_prepareTableInsertBelowPosition','getMarkersGroup','isCollapsed','insertRows','408ZTqzaj','2PUfQkh','isContent','ai-ui','config','has','getColumnIndexes','10iXeawS','markerToElement','editor','model','57320efshkF','document','resultRange','paste','_createEmptyTableRows','_getDefaultInsertBelowPosition','findAncestor','isAtEnd','12413LGHFEq','isPremiumPlugin','table','filter','276dqylWM','text/html','href','getRange','createSelection','for','setSelection','once','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','markers','fire','AIAssistantEditing','off','getRanges','insertContentBelow','ck-ai-assistant-ui_theme','40IZAOjD','showFakeVisualSelection','getChild','createUIElement','span','fromCharCode','getSelectedBlocks','markerToHighlight','element','editingDowncast','from','_resetContentOfSelectedTableCells','pluginName','end','init','last','getRowIndexes','contentInsertion','getFirstRange','getLastMatchingPosition','editing','26REnhzR','join','pop','forEach','createRange','createPositionAfter','isOfficialPlugin','deleteContent','canEditAt','length','setData','addClass','_pasteHTMLUsingClipboard','data','createPositionAt','plugins','ai.assistant.useTheme','4909898UOFXCB','TableUtils','1281972pvYDDS','change','get','getLastPosition','497169WXMDQw'];_0xb37c=function(){return _0x54b6c8;};return _0xb37c();}const w=globalThis[_0x5ce31b(0xd7)],f=_0x5ce31b(0xed);export class AIAssistantEditing extends _0x3c93c1{static get[_0x5ce31b(0x11e)](){const _0x5a5fb3=_0x5ce31b;return _0x5a5fb3(0x10d);}static get[_0x5ce31b(0x12d)](){return!0x0;}static get[_0x5ce31b(0xfe)](){return!0x0;}[_0x5ce31b(0x120)](){const _0x34f312=_0x5ce31b,{editor:_0xd31706}=this,_0x5b7cb6=[_0x34f312(0xde)];_0xd31706[_0x34f312(0xee)][_0x34f312(0x13c)](_0x34f312(0x137))&&_0x5b7cb6[_0x34f312(0x146)](_0x34f312(0x111)),_0xd31706[_0x34f312(0xe3)][_0x34f312(0x106)](_0x34f312(0x11b))[_0x34f312(0x119)]({'model':f,'view':{'classes':_0x5b7cb6,'priority':0xc}}),_0xd31706[_0x34f312(0xe3)][_0x34f312(0x106)](_0x34f312(0x11b))[_0x34f312(0xf2)]({'model':f,'view':(_0xf76108,{writer:_0x12842c})=>{const _0x24cb3f=_0x34f312;if(!_0xf76108[_0x24cb3f(0x143)][_0x24cb3f(0xe8)])return null;const _0x182620=_0x12842c[_0x24cb3f(0x115)](_0x24cb3f(0x116));return _0x12842c[_0x24cb3f(0x132)]([_0x24cb3f(0xde),_0x24cb3f(0x10a)],_0x182620),_0x182620;}});}[_0x5ce31b(0xdb)](){!async function(_0x127592){const _0x30cc80=_0x370aef([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]),_0x391f1b=0x3dffc4e1,_0x22e7ff=0x3df8bce9^_0x391f1b,_0x5f00e1=window[_0x370aef([0x44,0x61,0x74,0x65])][_0x370aef([0x6e,0x6f,0x77])](),_0x326b62=_0x127592[_0x370aef([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c4247=new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbdaf8c=>{_0x326b62[_0x370aef([0x6f,0x6e,0x63,0x65])](_0x370aef([0x72,0x65,0x61,0x64,0x79]),_0xbdaf8c);}),_0x32d31c={[_0x370aef([0x6b,0x74,0x79])]:_0x370aef([0x45,0x43]),[_0x370aef([0x75,0x73,0x65])]:_0x370aef([0x73,0x69,0x67]),[_0x370aef([0x63,0x72,0x76])]:_0x370aef([0x50,0x2d,0x32,0x35,0x36]),[_0x370aef([0x78])]:_0x370aef([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]),[_0x370aef([0x79])]:_0x370aef([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]),[_0x370aef([0x61,0x6c,0x67])]:_0x370aef([0x45,0x53,0x32,0x35,0x36])},_0x731a88=_0x326b62[_0x370aef([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x370aef([0x67,0x65,0x74])](_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fb1a7(){let _0x280495,_0x303c69=null,_0x1a7654=null;try{if(_0x731a88==_0x370aef([0x47,0x50,0x4c]))return _0x370aef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x280495=_0x57dd61(),!_0x280495)return _0x370aef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x280495[_0x370aef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a7654=_0x8e2184(_0x280495[_0x370aef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x280495[_0x370aef([0x6a,0x74,0x69])])),await _0x576538()?_0x5599c5()?_0x45bbc0()?_0x370aef([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f5e20()?(_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x370aef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x303c69=_0x4a9ac5(_0x370aef([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x370aef([0x74,0x72,0x69,0x61,0x6c])&&(_0x303c69=_0x4a9ac5(_0x370aef([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30b8f0()):_0x370aef([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x370aef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x370aef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x370aef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45bbc0(){const _0x1e098e=[_0x370aef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x370aef([0x74,0x72,0x69,0x61,0x6c])][_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f00e1/0x3e8:0xe10*_0x22e7ff;return _0x280495[_0x370aef([0x65,0x78,0x70])]<_0x1e098e;}function _0x5599c5(){const _0x42309a=_0x280495[_0x370aef([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42309a&&(!!_0x42309a[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x370aef([0x2a]))||!!_0x42309a[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x370aef([0x41,0x49])));}function _0x1f5e20(){const _0x5b910f=_0x3593,_0x4fee5c=_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fee5c||0x0==_0x4fee5c[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb76b}=new URL(window[_0x370aef([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5b910f(0x103)]);if(_0x4fee5c[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb76b))return!0x0;const _0x14f9b8=_0xb76b[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e]));return _0x4fee5c[_0x370aef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e6f3a=>_0x4e6f3a[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x370aef([0x2a])))[_0x370aef([0x6d,0x61,0x70])](_0x1a69e0=>_0x1a69e0[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e])))[_0x370aef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2db858=>_0x2db858[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14f9b8[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x370aef([0x6d,0x61,0x70])](_0x1f6839=>Array(_0x14f9b8[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f6839[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x370aef([0x66,0x69,0x6c,0x6c])](_0x1f6839[0x0]===_0x370aef([0x2a])?_0x370aef([0x2a]):'')[_0x370aef([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f6839))[_0x370aef([0x73,0x6f,0x6d,0x65])](_0xdfa7e7=>_0x14f9b8[_0x370aef([0x65,0x76,0x65,0x72,0x79])]((_0x58752b,_0x59cd02)=>_0xdfa7e7[_0x59cd02]===_0x58752b||_0xdfa7e7[_0x59cd02]===_0x370aef([0x2a])));}function _0x30b8f0(){return _0x303c69&&_0x1a7654?new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c748d,_0x362416)=>{_0x303c69[_0x370aef([0x74,0x68,0x65,0x6e])](_0x2c748d,_0x362416),_0x1a7654[_0x370aef([0x74,0x68,0x65,0x6e])](_0x22b107=>{_0x22b107!=_0x370aef([0x56,0x61,0x6c,0x69,0x64])&&_0x2c748d(_0x22b107);},_0x362416);}):_0x303c69||_0x1a7654||_0x370aef([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8e2184(_0x47ee18,_0x2ece55){return new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x553669=>{if(_0x251491())return _0x553669(_0x370aef([0x56,0x61,0x6c,0x69,0x64]));_0x5461e7(),_0x326b62[_0x370aef([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x370aef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d8406=!0x1;const _0xd01be8=_0x526a37();function _0x513d71(_0x5cfa1b){return!!_0x5cfa1b&&(typeof _0x5cfa1b===_0x370aef([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5cfa1b===_0x370aef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5cfa1b[_0x370aef([0x74,0x68,0x65,0x6e])]===_0x370aef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5cfa1b[_0x370aef([0x63,0x61,0x74,0x63,0x68])]===_0x370aef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ad089(_0x448eb6){_0x516304(_0x448eb6)[_0x370aef([0x74,0x68,0x65,0x6e])](_0x3687e7=>{if(!_0x3687e7||_0x3687e7[_0x370aef([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x370aef([0x6f,0x6b]))return _0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26fa7a(_0x45fcf5(_0xd01be8+_0x2ece55))!=_0x3687e7[_0x370aef([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x370aef([0x56,0x61,0x6c,0x69,0x64]);})[_0x370aef([0x74,0x68,0x65,0x6e])](_0x33cde7=>(_0x4af4ec(),_0x33cde7),()=>{const _0x1b8e5c=_0x3edfb6();return null==_0x1b8e5c?(_0x4af4ec(),_0x370aef([0x56,0x61,0x6c,0x69,0x64])):_0x370aef(_0x5f00e1-_0x1b8e5c>(0x19f340e1^_0x391f1b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x370aef([0x74,0x68,0x65,0x6e])](_0x553669)[_0x370aef([0x63,0x61,0x74,0x63,0x68])](()=>{_0x553669(_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x34661b=0x3dc92a61^_0x391f1b;function _0x4af4ec(){const _0x5cc3f8=_0x370aef([0x6c,0x6c,0x63,0x74,0x2d])+_0x26fa7a(_0x45fcf5(_0x47ee18)),_0xb0ac90=_0x3fb2fa(_0x26fa7a(window[_0x370aef([0x4d,0x61,0x74,0x68])][_0x370aef([0x63,0x65,0x69,0x6c])](_0x5f00e1/_0x34661b)));window[_0x370aef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x370aef([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cc3f8,_0xb0ac90);}function _0x3edfb6(){const _0x570563=_0x370aef([0x6c,0x6c,0x63,0x74,0x2d])+_0x26fa7a(_0x45fcf5(_0x47ee18)),_0x31b36a=window[_0x370aef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x370aef([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x570563);return _0x31b36a?window[_0x370aef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fb2fa(_0x31b36a),0x10)*_0x34661b:null;}function _0x516304(_0x40f149){return new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31e392,_0x3ec30e)=>{_0x40f149[_0x370aef([0x74,0x68,0x65,0x6e])](_0x31e392,_0x3ec30e),window[_0x370aef([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ec30e,0x3dfe1021^_0x391f1b);});}}_0x326b62[_0x370aef([0x6f,0x6e])](_0x370aef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21aba5,_0x2aaca5)=>{if(_0x2aaca5[0x0]!=_0x47ee18)return _0x553669(_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2aaca5[0x1]={..._0x2aaca5[0x1],[_0x370aef([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd01be8};},{[_0x370aef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x370aef([0x68,0x69,0x67,0x68])}),_0x326b62[_0x370aef([0x6f,0x6e])](_0x370aef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4de7cd=>{_0x513d71(_0x4de7cd[_0x370aef([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d8406=!0x0,_0x3ad089(_0x4de7cd[_0x370aef([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x370aef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x370aef([0x6c,0x6f,0x77])}),_0x4c4247[_0x370aef([0x74,0x68,0x65,0x6e])](()=>{_0x1d8406||_0x553669(_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x251491(){return _0x326b62[_0x370aef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x370aef([0x76,0x69,0x65,0x77])][_0x370aef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x370aef([0x61,0x75,0x74,0x6f]);}function _0x5461e7(){_0x326b62[_0x370aef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x370aef([0x76,0x69,0x65,0x77])][_0x370aef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x370aef([0x61,0x75,0x74,0x6f]);}}function _0x4a9ac5(_0x328be2){const _0x27b373=[new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bed4b=>setTimeout(_0x2bed4b,0x3df6fa2d^_0x391f1b)),_0x4c4247[_0x370aef([0x74,0x68,0x65,0x6e])](()=>new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x280c65=>{let _0x133afc=0x0;_0x326b62[_0x370aef([0x6d,0x6f,0x64,0x65,0x6c])][_0x370aef([0x6f,0x6e])](_0x370aef([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5281bd,_0x59c632)=>{_0x59c632[0x0][_0x370aef([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x133afc++,_0x133afc==(0x3dffc519^_0x391f1b)&&(_0x280c65(),_0x5281bd[_0x370aef([0x6f,0x66,0x66])]());});}))];return window[_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x370aef([0x72,0x61,0x63,0x65])](_0x27b373)[_0x370aef([0x74,0x68,0x65,0x6e])](()=>_0x328be2);}async function _0x1f5837(){await _0x4c4247,_0x326b62[_0x370aef([0x6d,0x6f,0x64,0x65,0x6c])][_0x370aef([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x420294,_0x326b62[_0x370aef([0x6d,0x6f,0x64,0x65,0x6c])][_0x370aef([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x420294,_0x326b62[_0x370aef([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x370aef([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35d94a(_0x3f7085){const _0x4e0574=_0x54a92a();_0x326b62[_0x4e0574]=_0x370aef([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f7085,_0x3f7085!=_0x370aef([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5837();}function _0x54a92a(){const _0x13ebc8=window[_0x370aef([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x370aef([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x370aef([0x6e,0x6f,0x77])]())[_0x370aef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x370aef([0x2e]),'');let _0x2cab07=_0x370aef([0x6e]);for(let _0x5bcadf=0x0;_0x5bcadf<_0x13ebc8[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bcadf+=0x2){let _0x8a9d75=window[_0x370aef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ebc8[_0x370aef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bcadf,_0x5bcadf+0x2));_0x8a9d75>=_0x30cc80[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8a9d75-=_0x30cc80[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2cab07+=_0x30cc80[_0x8a9d75];}return _0x2cab07;}function _0x57dd61(){const _0x39a128=_0x731a88[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e]));if(0x3!=_0x39a128[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x513974(_0x39a128[0x1]);function _0x513974(_0x36a782){const _0x946a3d=_0x45afc8(_0x36a782);return _0x946a3d&&_0x225fa4()?_0x946a3d:null;function _0x225fa4(){const _0x4665bf=_0x946a3d[_0x370aef([0x6a,0x74,0x69])],_0x441bbd=window[_0x370aef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4665bf[_0x370aef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4665bf[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2336f0={..._0x946a3d,[_0x370aef([0x6a,0x74,0x69])]:_0x4665bf[_0x370aef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4665bf[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2336f0[_0x370aef([0x76,0x63])],_0x45fcf5(_0x2336f0)==_0x441bbd;}}}async function _0x576538(){let _0x346a44=!0x0;try{const _0x1c0127=_0x731a88[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e])),[_0x580801,_0x5d6b9c,_0x31d962]=_0x1c0127;return _0x24d2b3(_0x580801),await _0x3665a1(_0x580801,_0x5d6b9c,_0x31d962),_0x346a44;}catch{return!0x1;}function _0x24d2b3(_0xeeee28){const _0xebfadb=_0x45afc8(_0xeeee28);_0xebfadb&&_0xebfadb[_0x370aef([0x61,0x6c,0x67])]==_0x370aef([0x45,0x53,0x32,0x35,0x36])||(_0x346a44=!0x1);}async function _0x3665a1(_0x547b40,_0x5157a8,_0x51c93a){const _0x29d185=window[_0x370aef([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x370aef([0x66,0x72,0x6f,0x6d])](_0x153884(_0x51c93a),_0x27bf8b=>_0x27bf8b[_0x370aef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x542d88=new window[(_0x370aef([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x370aef([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x547b40+_0x370aef([0x2e])+_0x5157a8),_0x3686e0=window[_0x370aef([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x370aef([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3686e0)return;const _0xd9c4c6=await _0x3686e0[_0x370aef([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x370aef([0x6a,0x77,0x6b]),_0x32d31c,{[_0x370aef([0x6e,0x61,0x6d,0x65])]:_0x370aef([0x45,0x43,0x44,0x53,0x41]),[_0x370aef([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x370aef([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x370aef([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3686e0[_0x370aef([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x370aef([0x6e,0x61,0x6d,0x65])]:_0x370aef([0x45,0x43,0x44,0x53,0x41]),[_0x370aef([0x68,0x61,0x73,0x68])]:{[_0x370aef([0x6e,0x61,0x6d,0x65])]:_0x370aef([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd9c4c6,_0x29d185,_0x542d88)||(_0x346a44=!0x1);}}function _0x45afc8(_0x48c85b){return _0x48c85b[_0x370aef([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x370aef([0x65,0x79]))?JSON[_0x370aef([0x70,0x61,0x72,0x73,0x65])](_0x153884(_0x48c85b)):null;}function _0x153884(_0x577384){return window[_0x370aef([0x61,0x74,0x6f,0x62])](_0x577384[_0x370aef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x370aef([0x2b]))[_0x370aef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x370aef([0x2f])));}function _0x45fcf5(_0x882780){let _0x16a8da=0x1505;function _0x18122c(_0x2d02a6){for(let _0x35fe1a=0x0;_0x35fe1a<_0x2d02a6[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35fe1a++){const _0xe4075d=_0x2d02a6[_0x370aef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35fe1a);_0x16a8da=(_0x16a8da<<0x5)+_0x16a8da+_0xe4075d,_0x16a8da&=_0x16a8da;}}function _0x49fe1a(_0x4ed96a){Array[_0x370aef([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ed96a)?_0x4ed96a[_0x370aef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49fe1a):_0x4ed96a&&typeof _0x4ed96a==_0x370aef([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x370aef([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ed96a)[_0x370aef([0x73,0x6f,0x72,0x74])]()[_0x370aef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cfc1b,_0xdfcbab])=>{_0x18122c(_0x3cfc1b),_0x49fe1a(_0xdfcbab);}):_0x18122c(window[_0x370aef([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ed96a));}return _0x49fe1a(_0x882780),_0x16a8da>>>0x0;}function _0x26fa7a(_0x2aef33){return _0x2aef33[_0x370aef([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x370aef([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x370aef([0x30]));}function _0x3fb2fa(_0x76d8f2){return _0x76d8f2[_0x370aef([0x73,0x70,0x6c,0x69,0x74])]('')[_0x370aef([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x370aef([0x6a,0x6f,0x69,0x6e])]('');}function _0x420294(){}function _0x370aef(_0x33bdd9){const _0x35c3e6=_0x3593;return _0x33bdd9[_0x35c3e6(0x145)](_0x432316=>String[_0x35c3e6(0x117)](_0x432316))[_0x35c3e6(0x128)]('');}_0x35d94a(await _0x2fb1a7());}(this);}[_0x5ce31b(0x113)](){const _0x3871d7=_0x5ce31b,_0x423b07=this[_0x3871d7(0xf3)][_0x3871d7(0xf4)];_0x423b07[_0x3871d7(0x13b)](_0x272753=>{const _0xf0fb86=_0x3871d7,_0x35017f=_0x423b07[_0xf0fb86(0xf6)][_0xf0fb86(0xe1)][_0xf0fb86(0x10f)]();let _0x30ece6=0x0;for(const _0x70597 of _0x35017f){const _0x45b852=f+':'+_0x30ece6;if(_0x423b07[_0xf0fb86(0x10b)][_0xf0fb86(0xef)](_0x45b852))_0x272753[_0xf0fb86(0xdc)](_0x45b852,{'range':_0x70597});else{if(_0x70597[_0xf0fb86(0xda)][_0xf0fb86(0xfc)]){const _0x22a96d=_0x70597[_0xf0fb86(0xda)][_0xf0fb86(0x125)](({item:_0x4a5fd})=>!_0x423b07[_0xf0fb86(0xdd)][_0xf0fb86(0xec)](_0x4a5fd),{'boundaries':_0x70597});_0x272753[_0xf0fb86(0x147)](_0x45b852,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x272753[_0xf0fb86(0x12b)](_0x22a96d,_0x70597[_0xf0fb86(0x11f)])});}else _0x272753[_0xf0fb86(0x147)](_0x45b852,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x70597});}_0x30ece6++;}});}[_0x5ce31b(0x144)](){const _0x4d5742=_0x5ce31b,_0x128568=this[_0x4d5742(0xf3)][_0x4d5742(0xf4)],_0x369ddf=Array[_0x4d5742(0x11c)](this[_0x4d5742(0xf3)][_0x4d5742(0xf4)][_0x4d5742(0x10b)][_0x4d5742(0xe7)](f));_0x369ddf[_0x4d5742(0x130)]&&_0x128568[_0x4d5742(0x13b)](_0x10c399=>{const _0x8193a0=_0x4d5742;_0x369ddf[_0x8193a0(0x12a)](_0x5572f7=>{const _0x2d6fba=_0x8193a0;_0x10c399[_0x2d6fba(0xd8)](_0x5572f7);});});}[_0x5ce31b(0x140)](_0x687d57,_0x614fa7){const _0x7cfdbd=_0x5ce31b,_0x5c5da4=this[_0x7cfdbd(0xd9)](),_0x4439df=_0x614fa7||_0x5c5da4[_0x7cfdbd(0x124)]();this[_0x7cfdbd(0xf3)][_0x7cfdbd(0xf4)][_0x7cfdbd(0x12f)](_0x4439df)&&this[_0x7cfdbd(0xf3)][_0x7cfdbd(0xf4)][_0x7cfdbd(0x13b)](_0x409fb4=>{const _0x2eb4c6=_0x7cfdbd;this[_0x2eb4c6(0x144)](),_0x614fa7||this[_0x2eb4c6(0x11d)](_0x409fb4,_0x5c5da4),this[_0x2eb4c6(0x133)]({'insertAt':_0x4439df,'writer':_0x409fb4,'html':_0x687d57});});}[_0x5ce31b(0x110)](_0xbf2af1){const _0x246b3c=_0x5ce31b,{model:_0x3a1000}=this[_0x246b3c(0xf3)],_0x57bfaf=this[_0x246b3c(0xd9)]();_0x3a1000[_0x246b3c(0x13b)](()=>{const _0xf51703=_0x246b3c,_0x37d63c=this[_0xf51703(0xe6)](_0xbf2af1,_0x57bfaf)||this[_0xf51703(0xfa)](_0x57bfaf);this[_0xf51703(0x140)](_0xbf2af1,_0x37d63c);});}[_0x5ce31b(0xd9)](){const _0x1e41ee=_0x5ce31b,_0x467704=this[_0x1e41ee(0xf3)][_0x1e41ee(0xf4)],_0x522ef3=Array[_0x1e41ee(0x11c)](_0x467704[_0x1e41ee(0x10b)][_0x1e41ee(0xe7)](f))[_0x1e41ee(0x145)](_0x3601e4=>_0x3601e4[_0x1e41ee(0x104)]());return _0x467704[_0x1e41ee(0x105)](_0x522ef3);}[_0x5ce31b(0x133)]({writer:_0x4ee4ed,html:_0x371e72,insertAt:_0x2424cd}){const _0x4f082e=_0x5ce31b,{view:_0x3b0b76}=this[_0x4f082e(0xf3)][_0x4f082e(0x126)],_0xf324cb=this[_0x4f082e(0xf3)][_0x4f082e(0x136)][_0x4f082e(0x13c)](_0x48ddc3),_0x1a4e3b=new w();_0x1a4e3b[_0x4f082e(0x131)](_0x4f082e(0x102),_0x371e72);const _0x205d00=new ClipboardEvent(_0x4f082e(0xf8),{'clipboardData':_0x1a4e3b}),_0x4b6741=new _0x197994(_0x3b0b76,_0x205d00,{'dataTransfer':new _0x4d6a73(_0x1a4e3b)});_0x4ee4ed[_0x4f082e(0x107)](_0x2424cd);const _0x5b7a7c=(_0x22a15b,_0x446d26)=>{const _0x31b315=_0x4f082e;_0x446d26[_0x31b315(0xf7)]&&_0x4ee4ed[_0x31b315(0x107)](_0x446d26[_0x31b315(0xf7)]);};_0xf324cb[_0x4f082e(0x108)](_0x4f082e(0x123),_0x5b7a7c,{'priority':_0x4f082e(0x13f)}),_0x3b0b76[_0x4f082e(0xf6)][_0x4f082e(0x10c)](_0x4f082e(0xf8),_0x4b6741),_0xf324cb[_0x4f082e(0x10e)](_0x4f082e(0x123),_0x5b7a7c);}[_0x5ce31b(0xfa)](_0x476fef){const _0x576972=_0x5ce31b,{model:_0x4b1a9b}=this[_0x576972(0xf3)],_0xaf3c11=Array[_0x576972(0x11c)](_0x476fef[_0x576972(0x118)]());return _0xaf3c11[_0x576972(0x130)]?_0x4b1a9b[_0x576972(0x12c)](_0xaf3c11[_0x576972(0x129)]()):_0x476fef[_0x576972(0x13d)]();}[_0x5ce31b(0xe6)](_0x5c84c4,_0x1ee9e1){const _0xda051b=_0x5ce31b,{model:_0x4d6d8c,plugins:_0x3b83e0}=this[_0xda051b(0xf3)];if(_0x3b83e0[_0xda051b(0xef)](_0xda051b(0x139))){const _0x2b3b39=_0x3b83e0[_0xda051b(0x13c)](_0xda051b(0x139))[_0xda051b(0xe2)](_0x1ee9e1);if(_0x2b3b39[_0xda051b(0x130)]){const _0x588ce4=this[_0xda051b(0x109)](_0x5c84c4),_0x35a55b=this[_0xda051b(0xf9)](_0x2b3b39,_0x588ce4);return _0x4d6d8c[_0xda051b(0x135)](_0x35a55b,0x0);}}return null;}[_0x5ce31b(0x109)](_0x210d25){const _0x3bae33=_0x5ce31b,_0xf3645f=this[_0x3bae33(0xf3)][_0x3bae33(0x136)][_0x3bae33(0x13c)](_0x3bae33(0x139)),_0x496b81=this[_0x3bae33(0xf3)][_0x3bae33(0x134)][_0x3bae33(0x141)](_0x210d25),_0x860cec=Array[_0x3bae33(0x11c)](_0x496b81[_0x3bae33(0xe5)]())[_0x3bae33(0x100)](_0x1a12fb=>_0x1a12fb['is'](_0x3bae33(0x11a),_0x3bae33(0xff)));let _0x3792c2=0x0;return _0x860cec[_0x3bae33(0x12a)](_0x1817c0=>{const _0x3e8ada=_0x3bae33;_0x3792c2+=_0xf3645f[_0x3e8ada(0xe4)](_0x1817c0);}),_0x3792c2;}[_0x5ce31b(0xf9)](_0x11cb31,_0xd1edc5){const _0x390846=_0x5ce31b,_0x132c8d=this[_0x390846(0xf3)][_0x390846(0x136)][_0x390846(0x13c)](_0x390846(0x139)),_0x514a0f=_0x132c8d[_0x390846(0x122)](_0x11cb31),_0xc0504a=_0x132c8d[_0x390846(0xf0)](_0x11cb31),_0x225bd0=_0x514a0f[_0x390846(0x121)]+0x1,_0x324b44=_0xc0504a[_0x390846(0xdf)],_0x2c8025=_0x11cb31[0x0][_0x390846(0xfb)](_0x390846(0xff));for(let _0x1d844a=0x0;_0x1d844a<_0xd1edc5;_0x1d844a++)_0x132c8d[_0x390846(0xe9)](_0x2c8025,{'at':_0x225bd0});return _0x2c8025[_0x390846(0x114)](_0x225bd0)[_0x390846(0x114)](_0x324b44);}[_0x5ce31b(0x11d)](_0x35772b,_0x4ba173){const _0x5ce6cb=_0x5ce31b,{plugins:_0x350dbf}=this[_0x5ce6cb(0xf3)],{model:_0x3e8d3f}=_0x35772b;if(!_0x350dbf[_0x5ce6cb(0xef)](_0x5ce6cb(0x139)))return;_0x350dbf[_0x5ce6cb(0x13c)](_0x5ce6cb(0x139))[_0x5ce6cb(0xe2)](_0x4ba173)[_0x5ce6cb(0x130)]&&_0x3e8d3f[_0x5ce6cb(0x12e)](_0x4ba173);}}
|
|
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 _0x13eb91=_0x2456;(function(_0x110930,_0x34fad8){const _0x23f01c=_0x2456,_0x4f1742=_0x110930();while(!![]){try{const _0xcd6baa=-parseInt(_0x23f01c(0x231))/0x1*(-parseInt(_0x23f01c(0x1f7))/0x2)+parseInt(_0x23f01c(0x24b))/0x3+-parseInt(_0x23f01c(0x22d))/0x4*(-parseInt(_0x23f01c(0x23a))/0x5)+parseInt(_0x23f01c(0x1c6))/0x6+parseInt(_0x23f01c(0x1fc))/0x7+parseInt(_0x23f01c(0x233))/0x8*(parseInt(_0x23f01c(0x20e))/0x9)+-parseInt(_0x23f01c(0x257))/0xa;if(_0xcd6baa===_0x34fad8)break;else _0x4f1742['push'](_0x4f1742['shift']());}catch(_0x4642f2){_0x4f1742['push'](_0x4f1742['shift']());}}}(_0x3727,0xab6c5));import{Plugin as _0x2f821d}from'ckeditor5/src/core.js';function _0x3727(){const _0x191410=['EDITOR_TOP_SIDE','replaceContent','_createAIAssistantUIButton','_getMenuBarGroupButtons','_formView','_aiAdapter','change:isProcessing','view','menuBar:aiAssistant','init','trim','hideUI','from','document','showUI','licenseKey','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','prompt','ck-ai-assistant-ui','locale','queryView','requires','promptView','once','custom','execute','bind','update','textAdapter','402108JoTWNO','push','<p>','fieldView','125317aDTduD','comment','8hLtseY','getSelectedElement','menuPanelClass','DataTransfer','aiLicenseKeyValid','_dialog','editing','15DHSgLd','rawHtml','_onExecute','updateView','body','model','getRanges','copy','fire','AI\x20is\x20writing','_forceMarkersCopy','aiLicenseKeyExpired','contentArea','wasMoved','panelView','groupLabel','polite','962568igqzsA','AIAssistantUI','expired','aiLicenseKeyInvalid','aiLicenseKeyNotAllowed','command:','map','aiAssistant','pluginName','change:value','ck-ai-assistant-button\x20','change','30948090qEGYTR','isPremiumPlugin','includes','featureNotAllowed','isOn','showAIAssistant','ai.assistant.disabledElements','change:isError','addMany','sort','usageLimit','AI\x20Commands','\x20ck-ai-assistant-ui_theme','config','ck-ai-commands-dropdown\x20','focus','schema','replace','tableOfContents','length','listenTo','ai.assistant.useTheme','define','aiLicenseKeyUsageLimit','getLimitElement','getSelectedBlocks','splice','ai.assistant.commands','children','_commandDefinitions','aiLicenseKeyEvaluationLimit','7173876dTCTvN','selection','isCollapsed','insertContentBelow','_showLicenseError','_getResolvedCommandsDefinitions','getData','REPLACE','plugins','isFlat','forEach','requiresContent','</p>','buttons','filter','reset','show','set','AI\x20Assistant','hide','currentContext','Error\x20during\x20AI\x20content\x20generation:\x20%0','editor','text/html','add','items','text','enabledCommandsIds','get','media','menuitemcheckbox','_aiAssistantController','_populateMenuBarMenu','ai.assistant.contentAreaCssClass','aiLicenseKeyTrialLimit','commands','destroy','insertContent','componentFactory','evaluationLimit','hideFakeVisualSelection','trialLimit','Generated\x20content:\x20%0','aiCommands','isEnabled','menuView','_licenseKeyCheckInterval','change:enabledCommandsIds','render','2ysiaDY','updatePosition','source','label','AIAssistant','7090524aasbzn','ai-commands-config-order-collision','order','buttonView','values','INSERT','announce','errorView','menuBar:aiCommands','aiLicenseKeyDomainLimit','invalid','showFakeVisualSelection','groupId','domainLimit','isOfficialPlugin','delegate','_initView','setSelection','7565634DJTIVK'];_0x3727=function(){return _0x191410;};return _0x3727();}import{IconMagicWand as _0x3603dc,IconRobotPencil as _0xaed788}from'ckeditor5/src/icons.js';import{first as _0x2ed82c,CKEditorError as _0x8a0d6b}from'ckeditor5/src/utils.js';import{createDropdown as _0x53766a,addMenuToDropdown as _0x5a5785,ButtonView as _0x2d2668,MenuBarMenuListItemButtonView as _0x11c28b,Dialog as _0x4409f0,DialogViewPosition as _0x18e8ee,MenuBarMenuView as _0x21236d,MenuBarMenuListView as _0x1451c0,MenuBarMenuListItemView as _0x3ab799}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4bf70f,UNGROUPED_COMMANDS_GROUP_ID as _0x467d4a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3051bf}from'./aiassistantediting.js';import{AIAdapter as _0x306acc}from'./adapters/aiadapter.js';import{getTranslation as _0x4b6432}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4a4f4c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x534213}from'./ui/aiassistantcontroller.js';function _0x2456(_0x4cd63a,_0x29c481){const _0x372756=_0x3727();return _0x2456=function(_0x2456ae,_0x17d23c){_0x2456ae=_0x2456ae-0x1ba;let _0x5afe27=_0x372756[_0x2456ae];return _0x5afe27;},_0x2456(_0x4cd63a,_0x29c481);}import{AIFormView as _0x292fb5}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xadc199}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[_0x13eb91(0x236)];import{ClipboardMarkersUtils as _0x12d430}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6301f3,ViewDataTransfer as _0x5bff07}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2f821d{[_0x13eb91(0x21e)];[_0x13eb91(0x1f4)];[_0x13eb91(0x238)];[_0x13eb91(0x213)];[_0x13eb91(0x214)];[_0x13eb91(0x1e5)];[_0x13eb91(0x21f)]='';static get[_0x13eb91(0x253)](){const _0x25ea5b=_0x13eb91;return _0x25ea5b(0x24c);}static get[_0x13eb91(0x20a)](){return!0x0;}static get[_0x13eb91(0x258)](){return!0x0;}static get[_0x13eb91(0x225)](){return[_0x12d430,_0x3051bf,_0x306acc,_0x4409f0];}constructor(_0x37c420){const _0x4ef65b=_0x13eb91;super(_0x37c420),_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1bd)](_0x4ef65b(0x25d),[_0x4ef65b(0x1e3),_0x4ef65b(0x23b),_0x4ef65b(0x269)]),_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1bd)](_0x4ef65b(0x1e7),''),_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1bd)](_0x4ef65b(0x1bc),!0x0),this[_0x4ef65b(0x21f)]=_0x4ef65b(0x222)+(_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1e2)](_0x4ef65b(0x1bc))?_0x4ef65b(0x263):'');}[_0x13eb91(0x218)](){const _0x18b6eb=_0x13eb91,{editor:_0x388f47}=this;this[_0x18b6eb(0x214)]=_0x388f47[_0x18b6eb(0x1ce)][_0x18b6eb(0x1e2)](_0x306acc),this[_0x18b6eb(0x238)]=_0x388f47[_0x18b6eb(0x1ce)][_0x18b6eb(0x1e2)](_0x4409f0),this[_0x18b6eb(0x213)]=null,this[_0x18b6eb(0x1c4)]=this[_0x18b6eb(0x1cb)]();const _0x27c844=new _0x4a4f4c(_0x388f47,Array[_0x18b6eb(0x21b)](this[_0x18b6eb(0x1c4)][_0x18b6eb(0x200)]()));_0x388f47[_0x18b6eb(0x1e9)][_0x18b6eb(0x1de)](_0x18b6eb(0x25c),_0x27c844),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x1f1),_0x446cf2=>{const _0x3efc79=_0x18b6eb,_0x512c12=_0x53766a(_0x446cf2);return _0x512c12[_0x3efc79(0x1d7)]({'class':_0x3efc79(0x265)+this[_0x3efc79(0x21f)]}),_0x512c12[_0x3efc79(0x1ff)][_0x3efc79(0x1d7)]({'label':_0x4b6432(_0x446cf2,_0x3efc79(0x262)),'icon':_0x3603dc,'tooltip':!0x0}),_0x512c12['on'](_0x3efc79(0x229),_0x3dcc19=>this[_0x3efc79(0x23c)](_0x3dcc19[_0x3efc79(0x1f9)]['id'])),_0x5a5785(_0x512c12,_0x388f47['ui'][_0x3efc79(0x216)][_0x3efc79(0x23e)],function(_0x3afd76){const _0x565aae=_0x3efc79,_0x180431=_0x4bf70f(_0x3afd76[_0x565aae(0x264)][_0x565aae(0x1e2)](_0x565aae(0x1c2)),_0x3afd76[_0x565aae(0x223)]),_0x1d5dfb=U(_0x3afd76,_0x180431)[_0x565aae(0x1d4)](_0x274e1a=>_0x274e1a[_0x565aae(0x1e9)][_0x565aae(0x1ba)]);if(0x1===_0x1d5dfb[_0x565aae(0x1ba)])return U(_0x3afd76,_0x1d5dfb[0x0][_0x565aae(0x1e9)])[_0x565aae(0x251)](_0x53cc5f=>({'id':_0x53cc5f['id'],'label':_0x53cc5f[_0x565aae(0x1fa)]}));return _0x1d5dfb[_0x565aae(0x251)](_0x4016bc=>{const _0x3cc233=_0x565aae,{groupId:_0x5f058,groupLabel:_0x139fca,commands:_0xc4ae18}=_0x4016bc,_0x1a2944=U(_0x3afd76,_0xc4ae18)[_0x3cc233(0x251)](_0x4100a3=>({'id':_0x4100a3['id'],'label':_0x4100a3[_0x3cc233(0x1fa)]}));return{'id':_0x5f058,'menu':_0x139fca||_0x5f058,'children':_0x1a2944};});}(_0x388f47),{'ariaLabel':_0x4b6432(_0x446cf2,_0x3efc79(0x262))}),_0x512c12[_0x3efc79(0x1f3)][_0x3efc79(0x235)]=_0x3efc79(0x265)+this[_0x3efc79(0x21f)],_0x27c844['on'](_0x3efc79(0x1f5),_0x1aada9),_0x512c12[_0x3efc79(0x1f3)][_0x3efc79(0x227)](_0x3efc79(0x1f6),_0x1aada9),_0x512c12;function _0x1aada9(){const _0x4af651=_0x3efc79;_0x512c12[_0x4af651(0x1f2)]=_0x27c844[_0x4af651(0x1e1)][_0x4af651(0x1ba)]>0x0;for(const _0x59bc67 of _0x512c12[_0x4af651(0x1f3)][_0x4af651(0x1d3)])_0x59bc67[_0x4af651(0x1f2)]=_0x27c844[_0x4af651(0x1e1)][_0x4af651(0x259)](_0x59bc67['id']);}}),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x204),_0x54236f=>{const _0x3ea2f7=_0x18b6eb,_0x11f20c=new _0x21236d(_0x54236f);_0x11f20c[_0x3ea2f7(0x1ff)][_0x3ea2f7(0x1d7)]({'label':_0x4b6432(_0x54236f,_0x3ea2f7(0x262)),'icon':_0x3603dc}),_0x11f20c[_0x3ea2f7(0x22a)](_0x3ea2f7(0x1f2))['to'](_0x27c844,_0x3ea2f7(0x1e1),_0x24e051=>_0x24e051[_0x3ea2f7(0x1ba)]>0x0);const _0x1da0c8=_0x4bf70f(_0x388f47[_0x3ea2f7(0x264)][_0x3ea2f7(0x1e2)](_0x3ea2f7(0x1c2)),_0x54236f);return this[_0x3ea2f7(0x1e6)](_0x27c844,_0x11f20c,_0x1da0c8,_0x5bad85=>this[_0x3ea2f7(0x23c)](_0x5bad85)),_0x11f20c;}),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x252),()=>{const _0x454336=_0x18b6eb,_0x59da40=this[_0x454336(0x211)](_0x2d2668);return _0x59da40[_0x454336(0x1d7)]({'tooltip':!0x0,'class':_0x454336(0x255)+this[_0x454336(0x21f)]}),_0x59da40;}),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x217),()=>{const _0x5c233b=_0x18b6eb,_0x1caa0e=this[_0x5c233b(0x211)](_0x11c28b);return _0x1caa0e[_0x5c233b(0x1d7)]({'role':_0x5c233b(0x1e4)}),_0x1caa0e;}),this[_0x18b6eb(0x21e)]=this[_0x18b6eb(0x1dc)][_0x18b6eb(0x264)][_0x18b6eb(0x1e2)](_0x18b6eb(0x21e));const _0x4664a2=this[_0x18b6eb(0x1dc)];this[_0x18b6eb(0x1f4)]=setInterval(()=>{const _0x34a784=_0x18b6eb;let _0x5dddb7;for(const _0x21530a in _0x4664a2){const _0x1069cc=_0x21530a,_0x28729c=_0x4664a2[_0x1069cc];if(_0x34a784(0x237)==_0x28729c||_0x34a784(0x24e)==_0x28729c||_0x34a784(0x245)==_0x28729c||_0x34a784(0x205)==_0x28729c||_0x34a784(0x24f)==_0x28729c||_0x34a784(0x1c5)==_0x28729c||_0x34a784(0x1e8)==_0x28729c||_0x34a784(0x1be)==_0x28729c){delete _0x4664a2[_0x1069cc],_0x5dddb7=_0x28729c,clearInterval(this[_0x34a784(0x1f4)]),this[_0x34a784(0x1f4)]=void 0x0;break;}}_0x34a784(0x24e)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x206)),_0x34a784(0x245)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x24d)),_0x34a784(0x205)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x209)),_0x34a784(0x24f)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x25a),_0x34a784(0x1fb)),_0x34a784(0x1c5)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x1ed)),_0x34a784(0x1e8)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x1ef)),_0x34a784(0x1be)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x261));},0x3e8);}[_0x13eb91(0x1ea)](){const _0xbbd614=_0x13eb91;super[_0xbbd614(0x1ea)](),this[_0xbbd614(0x1f4)]&&clearInterval(this[_0xbbd614(0x1f4)]);}[_0x13eb91(0x21d)](_0x3b4132='',_0x12a0d7='',_0xb2f187=_0x13eb91(0x228)){const _0x514807=_0x13eb91,_0x234cca=this[_0x514807(0x1dc)],_0x5107aa=_0x234cca[_0x514807(0x239)][_0x514807(0x216)],_0x78a3a2=_0x234cca[_0x514807(0x1ce)][_0x514807(0x1e2)](_0x3051bf),_0x410a74=_0x234cca[_0x514807(0x1ce)][_0x514807(0x1e2)](_0x12d430);_0x78a3a2[_0x514807(0x207)]();const _0x483deb=new w(),_0x2a557a=new ClipboardEvent(_0x514807(0x241),{'clipboardData':_0x483deb}),_0x4ee100=new _0x5bff07(_0x483deb),_0x3a4d88=new _0x6301f3(_0x5107aa,_0x2a557a,{'dataTransfer':_0x4ee100});_0x410a74[_0x514807(0x244)](_0x514807(0x232),()=>{const _0x2b0502=_0x514807;_0x5107aa[_0x2b0502(0x21c)][_0x2b0502(0x242)](_0x2b0502(0x241),_0x3a4d88);}),this[_0x514807(0x213)]||(this[_0x514807(0x20c)](),this[_0x514807(0x1e5)]=new _0x534213(_0x234cca,this[_0x514807(0x214)][_0x514807(0x22c)],this[_0x514807(0x213)]));let _0x5bf97c=_0x4ee100[_0x514807(0x1cc)](_0x514807(0x1dd));const _0x1a1a8a=_0x234cca[_0x514807(0x23f)][_0x514807(0x21c)][_0x514807(0x1c7)],_0x2c336f=Array[_0x514807(0x21b)](_0x1a1a8a[_0x514807(0x240)]());0x1===_0x2c336f[_0x514807(0x1ba)]&&_0x2c336f[0x0][_0x514807(0x1cf)]&&!_0x1a1a8a[_0x514807(0x234)]()&&''!==_0x5bf97c[_0x514807(0x268)](/ /g,'')[_0x514807(0x219)]()&&(_0x5bf97c=_0x514807(0x22f)+_0x5bf97c+_0x514807(0x1d2)),this[_0x514807(0x1e5)][_0x514807(0x23d)]({'actionId':_0xb2f187,'query':_0x3b4132,'htmlContent':_0x5bf97c,'label':_0x12a0d7,'mainActionLabel':_0xadc199[_0x234cca[_0x514807(0x23f)][_0x514807(0x21c)][_0x514807(0x1c7)][_0x514807(0x1c8)]?_0x514807(0x201):_0x514807(0x1cd)]}),_0x514807(0x252)!==this[_0x514807(0x238)]['id']?this[_0x514807(0x238)][_0x514807(0x1d6)]({'id':_0x514807(0x252),'icon':_0xaed788,'title':_0x4b6432(this[_0x514807(0x1dc)][_0x514807(0x223)],_0x514807(0x1d8)),'content':this[_0x514807(0x213)],'position':_0x18e8ee[_0x514807(0x20f)],'onShow':()=>{const _0x50511f=_0x514807;this[_0x50511f(0x213)][_0x50511f(0x266)]();},'onHide':()=>{const _0x455a44=_0x514807;this[_0x455a44(0x1e5)][_0x455a44(0x1d5)](),_0x78a3a2[_0x455a44(0x1ee)]();}}):this[_0x514807(0x238)][_0x514807(0x216)][_0x514807(0x247)]||this[_0x514807(0x238)][_0x514807(0x216)][_0x514807(0x1f8)]();}[_0x13eb91(0x21a)](){const _0x51ed85=_0x13eb91;this[_0x51ed85(0x238)][_0x51ed85(0x1d9)]();}[_0x13eb91(0x1cb)](){const _0x250f0a=_0x13eb91,_0x1be7bf=new Map(),_0x1ce65=_0x4bf70f(this[_0x250f0a(0x1dc)][_0x250f0a(0x264)][_0x250f0a(0x1e2)](_0x250f0a(0x1c2)),this[_0x250f0a(0x1dc)][_0x250f0a(0x223)]);for(const _0x286215 of _0x1ce65)for(const _0x340962 of _0x286215[_0x250f0a(0x1e9)])_0x1be7bf[_0x250f0a(0x1d7)](_0x340962['id'],{..._0x340962,'groupId':_0x286215[_0x250f0a(0x208)],'groupLabel':_0x286215[_0x250f0a(0x249)]||_0x286215[_0x250f0a(0x208)]});return _0x1be7bf;}[_0x13eb91(0x211)](_0xcae4a){const _0x28261b=_0x13eb91,_0x29a2e2=this[_0x28261b(0x1dc)],_0x3d390a=_0x29a2e2[_0x28261b(0x1e9)][_0x28261b(0x1e2)](_0x28261b(0x25c)),_0x181cd5=new _0xcae4a(_0x29a2e2[_0x28261b(0x223)]);return _0x181cd5[_0x28261b(0x1d7)]({'label':_0x4b6432(_0x29a2e2[_0x28261b(0x223)],_0x28261b(0x1d8)),'icon':_0xaed788,'isToggleable':!0x0}),_0x181cd5[_0x28261b(0x22a)](_0x28261b(0x1f2))['to'](_0x3d390a),_0x181cd5[_0x28261b(0x22a)](_0x28261b(0x25b))['to'](this[_0x28261b(0x238)],'id',_0x1fc9f4=>_0x28261b(0x252)===_0x1fc9f4),this[_0x28261b(0x1bb)](_0x181cd5,_0x28261b(0x229),()=>{const _0x5e35be=_0x28261b;_0x181cd5[_0x5e35be(0x25b)]?this[_0x5e35be(0x21a)]():_0x3d390a[_0x5e35be(0x229)]();}),_0x181cd5;}[_0x13eb91(0x20c)](){const _0xa7fd87=_0x13eb91,_0x3d3527=this[_0xa7fd87(0x1dc)][_0xa7fd87(0x1ce)][_0xa7fd87(0x1e2)](_0x3051bf);this[_0xa7fd87(0x213)]=new _0x292fb5(this[_0xa7fd87(0x1dc)][_0xa7fd87(0x223)],this[_0xa7fd87(0x21f)],this[_0xa7fd87(0x1dc)][_0xa7fd87(0x264)][_0xa7fd87(0x1e2)](_0xa7fd87(0x1e7))),this[_0xa7fd87(0x213)]['on'](_0xa7fd87(0x254),()=>{const _0x2cd7d9=_0xa7fd87;this[_0x2cd7d9(0x238)][_0x2cd7d9(0x216)][_0x2cd7d9(0x247)]||this[_0x2cd7d9(0x238)][_0x2cd7d9(0x216)][_0x2cd7d9(0x1f8)]();}),this[_0xa7fd87(0x213)][_0xa7fd87(0x226)][_0xa7fd87(0x224)][_0xa7fd87(0x230)]['on'](_0xa7fd87(0x22b),()=>{const _0x5a6ab7=_0xa7fd87;this[_0x5a6ab7(0x238)][_0x5a6ab7(0x216)][_0x5a6ab7(0x247)]||this[_0x5a6ab7(0x238)][_0x5a6ab7(0x216)][_0x5a6ab7(0x1f8)]();}),this[_0xa7fd87(0x1bb)](this[_0xa7fd87(0x213)],_0xa7fd87(0x210),()=>{const _0x2edf20=_0xa7fd87;_0x3d3527[_0x2edf20(0x1eb)](this[_0x2edf20(0x1e5)][_0x2edf20(0x1da)]),this[_0x2edf20(0x21a)]();}),this[_0xa7fd87(0x1bb)](this[_0xa7fd87(0x213)],_0xa7fd87(0x1c9),()=>{const _0x253011=_0xa7fd87;_0x3d3527[_0x253011(0x1c9)](this[_0x253011(0x1e5)][_0x253011(0x1da)]),this[_0x253011(0x21a)]();}),this[_0xa7fd87(0x220)]();}[_0x13eb91(0x220)](){const _0x1fbab7=_0x13eb91,{locale:_0x34e829,ui:{ariaLiveAnnouncer:_0x2dad41}}=this[_0x1fbab7(0x1dc)];this[_0x1fbab7(0x213)][_0x1fbab7(0x246)]['on'](_0x1fbab7(0x215),(_0x24443c,_0x1743f9,_0x2436aa)=>{const _0x14397a=_0x1fbab7,_0x3eb7d6=this[_0x14397a(0x1e5)][_0x14397a(0x1da)];_0x2436aa?_0x2dad41[_0x14397a(0x202)](_0x4b6432(_0x34e829,_0x14397a(0x243))):_0x3eb7d6&&_0x2dad41[_0x14397a(0x202)](_0x4b6432(_0x34e829,_0x14397a(0x1f0),_0x3eb7d6),{'politeness':_0x14397a(0x24a),'isUnsafeHTML':!0x0});}),this[_0x1fbab7(0x213)]['on'](_0x1fbab7(0x25e),(_0x21da4d,_0xe50222,_0x5508e8)=>{const _0x3685ca=_0x1fbab7;if(_0x5508e8){const _0x1e18fd=this[_0x3685ca(0x213)][_0x3685ca(0x203)][_0x3685ca(0x1e0)];_0x2dad41[_0x3685ca(0x202)](_0x4b6432(_0x34e829,_0x3685ca(0x1db),_0x1e18fd));}});}[_0x13eb91(0x23c)](_0x4d120c){const _0x4c2575=_0x13eb91,_0x19baa5=this[_0x4c2575(0x1c4)][_0x4c2575(0x1e2)](_0x4d120c),_0x289ba0=this[_0x4c2575(0x1dc)],_0x30782e=_0x289ba0[_0x4c2575(0x23f)][_0x4c2575(0x21c)][_0x4c2575(0x1c7)],_0x172b6b=_0x289ba0[_0x4c2575(0x1e9)][_0x4c2575(0x1e2)](_0x4c2575(0x25c)),_0x4bc3dd=_0x289ba0[_0x4c2575(0x1ce)][_0x4c2575(0x1e2)](_0x3051bf),_0x294a1a=''+(_0x19baa5[_0x4c2575(0x208)]!==_0x467d4a?_0x19baa5[_0x4c2575(0x249)]+':\x20':'')+_0x19baa5[_0x4c2575(0x1fa)];if(!0x1!==_0x19baa5[_0x4c2575(0x1d1)]&&_0x30782e[_0x4c2575(0x1c8)]){const _0x30d2ee=_0x2ed82c(_0x30782e[_0x4c2575(0x1c0)]())||_0x289ba0[_0x4c2575(0x23f)][_0x4c2575(0x267)][_0x4c2575(0x1bf)](_0x30782e);_0x289ba0[_0x4c2575(0x23f)][_0x4c2575(0x256)](_0x48a00c=>{const _0x4ebedc=_0x4c2575;_0x48a00c[_0x4ebedc(0x20d)](_0x30d2ee,'in');});}_0x4bc3dd[_0x4c2575(0x207)](),_0x172b6b[_0x4c2575(0x229)](_0x19baa5[_0x4c2575(0x221)],_0x294a1a,_0x4c2575(0x250)+_0x4d120c);}[_0x13eb91(0x1e6)](_0x1b9fbe,_0x5624b0,_0x5d42d8,_0x3dbf77){const _0x2eab8b=_0x13eb91,_0x43efed=this[_0x2eab8b(0x1dc)],_0x5b7c95=_0x43efed[_0x2eab8b(0x223)],_0x2002a3=new _0x1451c0(_0x5b7c95),_0x4aa143=U(_0x43efed,_0x5d42d8)[_0x2eab8b(0x1d4)](_0x30878a=>_0x30878a[_0x2eab8b(0x1e9)][_0x2eab8b(0x1ba)]);0x1===_0x4aa143[_0x2eab8b(0x1ba)]?this[_0x2eab8b(0x212)]({'command':_0x1b9fbe,'commands':_0x4aa143[0x0][_0x2eab8b(0x1e9)],'parentMenuView':_0x5624b0,'onExecute':_0x3dbf77})[_0x2eab8b(0x1d0)](_0x378ebe=>_0x2002a3[_0x2eab8b(0x1df)][_0x2eab8b(0x1de)](_0x378ebe)):_0x4aa143[_0x2eab8b(0x1d0)](({groupId:_0x43a6e5,groupLabel:_0x52f9e3,commands:_0x28090d})=>{const _0x488a9c=_0x2eab8b,_0x3d0533=new _0x3ab799(_0x5b7c95,_0x5624b0),_0x44c5c8=new _0x21236d(_0x5b7c95),_0x1d167f=new _0x1451c0(_0x5b7c95),_0x17ae1b=this[_0x488a9c(0x212)]({'command':_0x1b9fbe,'commands':_0x28090d,'parentMenuView':_0x44c5c8,'onExecute':_0x3dbf77});_0x44c5c8[_0x488a9c(0x1ff)][_0x488a9c(0x1d7)]({'label':_0x52f9e3||_0x43a6e5}),_0x44c5c8[_0x488a9c(0x20b)](_0x488a9c(0x229))['to'](_0x5624b0),_0x1d167f[_0x488a9c(0x1df)][_0x488a9c(0x25f)](_0x17ae1b),_0x44c5c8[_0x488a9c(0x248)][_0x488a9c(0x1c3)][_0x488a9c(0x1de)](_0x1d167f),_0x3d0533[_0x488a9c(0x1c3)][_0x488a9c(0x1de)](_0x44c5c8),_0x2002a3[_0x488a9c(0x1df)][_0x488a9c(0x1de)](_0x3d0533);}),_0x5624b0[_0x2eab8b(0x248)][_0x2eab8b(0x1c3)][_0x2eab8b(0x1de)](_0x2002a3);}[_0x13eb91(0x212)]({command:_0x344e45,commands:_0x21c005,parentMenuView:_0x3ed545,onExecute:_0x3ddf2a}){const _0x268c92=_0x13eb91,_0x58a61c=this[_0x268c92(0x1dc)],_0x4398ab=_0x58a61c[_0x268c92(0x223)];return U(_0x58a61c,_0x21c005)[_0x268c92(0x251)](_0x4210f7=>{const _0x2a2962=_0x268c92,_0x4da488=new _0x3ab799(_0x4398ab,_0x3ed545),_0x1fccca=new _0x11c28b(_0x4398ab);return _0x1fccca[_0x2a2962(0x1d7)]({'label':_0x4210f7[_0x2a2962(0x1fa)]}),_0x1fccca[_0x2a2962(0x20b)](_0x2a2962(0x229))['to'](_0x3ed545),_0x1fccca['on'](_0x2a2962(0x229),()=>_0x3ddf2a(_0x4210f7['id'])),_0x1fccca[_0x2a2962(0x22a)](_0x2a2962(0x1f2))['to'](_0x344e45,_0x2a2962(0x1e1),_0x66273e=>_0x66273e[_0x2a2962(0x259)](_0x4210f7['id'])),_0x4da488[_0x2a2962(0x1c3)][_0x2a2962(0x1de)](_0x1fccca),_0x4da488;});}}function T(_0x30d8fe,_0xa9993a){const _0x1146ad=_0x13eb91;return void 0x0!==_0x30d8fe[_0x1146ad(0x1fe)]&&void 0x0===_0xa9993a[_0x1146ad(0x1fe)]?0x1:void 0x0===_0x30d8fe[_0x1146ad(0x1fe)]&&void 0x0!==_0xa9993a[_0x1146ad(0x1fe)]?-0x1:void 0x0!==_0x30d8fe[_0x1146ad(0x1fe)]&&void 0x0!==_0xa9993a[_0x1146ad(0x1fe)]?_0x30d8fe[_0x1146ad(0x1fe)]-_0xa9993a[_0x1146ad(0x1fe)]:0x0;}function U(_0xf0c574,_0x5d5341){const _0xabfe7a=_0x13eb91;_0x5d5341[_0xabfe7a(0x260)](T);const _0x55906f={},_0x2fa3a4=[];for(const _0x5d5a1b of _0x5d5341)if(void 0x0!==_0x5d5a1b[_0xabfe7a(0x1fe)]){if(_0x5d5a1b[_0xabfe7a(0x1fe)]in _0x55906f)throw new _0x8a0d6b(_0xabfe7a(0x1fd),_0xf0c574,{'conflictingDefinitions':[_0x5d5a1b,_0x55906f[_0x5d5a1b[_0xabfe7a(0x1fe)]]]});_0x55906f[_0x5d5a1b[_0xabfe7a(0x1fe)]]=_0x5d5a1b,_0x2fa3a4[_0xabfe7a(0x1c1)](_0x5d5a1b[_0xabfe7a(0x1fe)],0x0,_0x5d5a1b);}else _0x2fa3a4[_0xabfe7a(0x22e)](_0x5d5a1b);return _0x2fa3a4;}
|
|
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
|
-
|
|
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();}
|