@ckeditor/ckeditor5-ai 47.2.0-alpha.2 → 47.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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.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 _0xcbaedf=_0x3b44;function _0x5a83(){const _0x4a4e02=['1372779DPfmll','_prepareRequestHeaders','editor','3QCIaKB','application/json','13569992XAXQII','makeRequest','AI_ERROR_GET_PARAMETERS','catch','resolve','error','6139bNqMpy','aborted','114020yfHZaE','6795092TfxFeH','2104138btwxgb','aitextadapter-send-request-failed','requires','abortController','reject','get','AbortError','sendRequest','assign','object','abort','AI_ERROR_GET_HEADERS','_prepareRequestParameters','signal','1107010ividnp','init','plugins','locale','1758UKAWhc','name','textAdapter','108LbHiJF'];_0x5a83=function(){return _0x4a4e02;};return _0x5a83();}(function(_0xeb393d,_0x448e5c){const _0xb9bde5=_0x3b44,_0x5d98b2=_0xeb393d();while(!![]){try{const _0x2947cd=parseInt(_0xb9bde5(0xc7))/0x1+-parseInt(_0xb9bde5(0xb1))/0x2+parseInt(_0xb9bde5(0xca))/0x3*(-parseInt(_0xb9bde5(0xb0))/0x4)+parseInt(_0xb9bde5(0xbf))/0x5+-parseInt(_0xb9bde5(0xc3))/0x6*(-parseInt(_0xb9bde5(0xd2))/0x7)+parseInt(_0xb9bde5(0xcc))/0x8+-parseInt(_0xb9bde5(0xc6))/0x9*(-parseInt(_0xb9bde5(0xaf))/0xa);if(_0x2947cd===_0x448e5c)break;else _0x5d98b2['push'](_0x5d98b2['shift']());}catch(_0x18101d){_0x5d98b2['push'](_0x5d98b2['shift']());}}}(_0x5a83,0xe3dfd));import{Plugin as _0x46df95}from'ckeditor5/src/core.js';function _0x3b44(_0x4c57a8,_0x307758){const _0x5a83c3=_0x5a83();return _0x3b44=function(_0x3b4482,_0x4df24f){_0x3b4482=_0x3b4482-0xae;let _0x1e2e11=_0x5a83c3[_0x3b4482];return _0x1e2e11;},_0x3b44(_0x4c57a8,_0x307758);}import{CKEditorError as _0x337572}from'ckeditor5/src/utils.js';import{AIAdapter as _0x5432a3,AIRequestError as _0x1b61a5}from'./aiadapter.js';import{getTranslation as _0xfd455c}from'../utils/common-translations.js';export class AITextAdapter extends _0x46df95{[_0xcbaedf(0xb4)];static get[_0xcbaedf(0xb3)](){return[_0x5432a3];}constructor(_0x4b07f9){const _0x4d141b=_0xcbaedf;super(_0x4b07f9),this[_0x4d141b(0xb4)]=new AbortController();}[_0xcbaedf(0xc0)](){const _0x4d6295=_0xcbaedf;this[_0x4d6295(0xc9)][_0x4d6295(0xc1)][_0x4d6295(0xb6)](_0x5432a3)[_0x4d6295(0xc5)]=this;}[_0xcbaedf(0xbb)](){const _0x1b6d7a=_0xcbaedf;this[_0x1b6d7a(0xb4)][_0x1b6d7a(0xbe)][_0x1b6d7a(0xae)]||(this[_0x1b6d7a(0xb4)][_0x1b6d7a(0xbb)](),this[_0x1b6d7a(0xb4)]=new AbortController());}async[_0xcbaedf(0xcd)](_0x5b2bbb){const _0x419dce=_0xcbaedf;return this[_0x419dce(0xb8)](_0x5b2bbb)[_0x419dce(0xcf)](_0x39e1b1=>{const _0x367287=_0x419dce;if(_0x39e1b1 instanceof _0x1b61a5)return Promise[_0x367287(0xb5)](_0x39e1b1);if(_0x367287(0xb7)==_0x39e1b1[_0x367287(0xc4)])return Promise[_0x367287(0xd0)]();throw console[_0x367287(0xd1)](_0x39e1b1),new _0x337572(_0x367287(0xb2),null);});}async[_0xcbaedf(0xc8)](_0x2a6d28,_0x40953a){const _0x215126=_0xcbaedf,_0x2820bf=this[_0x215126(0xc9)][_0x215126(0xc2)],_0x9c1a48={'Content-Type':_0x215126(0xcb)};if(_0x215126(0xba)==typeof _0x2a6d28)Object[_0x215126(0xb9)](_0x9c1a48,_0x2a6d28);else{if(_0x2a6d28)try{const _0x5713f2=await _0x2a6d28(_0x40953a);Object[_0x215126(0xb9)](_0x9c1a48,_0x5713f2);}catch{return Promise[_0x215126(0xb5)](new _0x1b61a5(_0xfd455c(_0x2820bf,_0x215126(0xbc))));}}return _0x9c1a48;}async[_0xcbaedf(0xbd)](_0x500a06,_0x3ba620){const _0x56162c=_0xcbaedf,_0x2777dc=this[_0x56162c(0xc9)][_0x56162c(0xc2)];if(_0x56162c(0xba)==typeof _0x500a06)return _0x500a06;try{return await _0x500a06(_0x3ba620);}catch{return Promise[_0x56162c(0xb5)](new _0x1b61a5(_0xfd455c(_0x2777dc,_0x56162c(0xce))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4346b1=_0x254d;(function(_0x5e7bc8,_0x4a6390){const _0x36c1c1=_0x254d,_0x404787=_0x5e7bc8();while(!![]){try{const _0x2c68e8=parseInt(_0x36c1c1(0x130))/0x1*(-parseInt(_0x36c1c1(0x175))/0x2)+-parseInt(_0x36c1c1(0x14f))/0x3*(parseInt(_0x36c1c1(0x133))/0x4)+-parseInt(_0x36c1c1(0x169))/0x5*(parseInt(_0x36c1c1(0x141))/0x6)+parseInt(_0x36c1c1(0x143))/0x7+parseInt(_0x36c1c1(0x135))/0x8+parseInt(_0x36c1c1(0x127))/0x9*(-parseInt(_0x36c1c1(0x13e))/0xa)+parseInt(_0x36c1c1(0x14a))/0xb;if(_0x2c68e8===_0x4a6390)break;else _0x404787['push'](_0x404787['shift']());}catch(_0x384c72){_0x404787['push'](_0x404787['shift']());}}}(_0x3a71,0x37e12));function _0x254d(_0x753e2d,_0x49b661){const _0x3a7106=_0x3a71();return _0x254d=function(_0x254d5c,_0xc12c9c){_0x254d5c=_0x254d5c-0x126;let _0x3b909d=_0x3a7106[_0x254d5c];return _0x3b909d;},_0x254d(_0x753e2d,_0x49b661);}import{AITextAdapter as _0x6629e3}from'./aitextadapter.js';import{AIRequestError as _0x50b021}from'./aiadapter.js';function _0x3a71(){const _0x3ad13f=['read','_requestParameters','522HiQdev','_readAsyncIterableResponse','1685852iAuvMX','editor','\x0a[/INST]','completion','resolve','json','ai.assistant.adapter.aws.requestParameters','12235355bTdbUc','AWSTextAdapter','anthropic.claude-v2','_getGeneratedText','define','200058uIWYJZ','split','ai.assistant.adapter.aws.requestHeaders','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.','data','_readStreamableResponse','text','send','preparePrompt','get','POST','Instruction:\x0a','generation','parse','ai.assistant.adapter.aws.bedrockClientConfig','meta.llama','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','getModelFamily','_apiUrl','config','ai.assistant.adapter.aws.apiUrl','chunk','_processAWSRequest','sendRequest','body','_requestHeaders','14270qaTTeU','\x0a\x0aAssistant:','length','join','generations','_readStaticResponse','Human:\x0a','\x0a<</SYS>>\x0a[INST]\x0a','cohere.command','test','locale','_bedrockClientConfig','4166ytTavT','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.','4113pWUoOw','getReader','_prepareRequestHeaders','<<SYS>>\x0a','abortController','bedrock-2023-05-31','application/json','completions','filter','207zonSHo','_processProxyRequest','signal','12hlNZCA','ai21.j2','305288HcrDwH','decode','utf-8','_prepareRequestParameters','bytes','map','AI_ERROR_UNSUPPORTED_MODEL','anthropic.claude','pluginName','6190sPzOFg'];_0x3a71=function(){return _0x3ad13f;};return _0x3a71();}import{BedrockRuntimeClient as _0x567944,InvokeModelCommand as _0x39c29f,InvokeModelWithResponseStreamCommand as _0x3199b2}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x137ae6}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x6629e3{[_0x4346b1(0x161)];[_0x4346b1(0x168)];[_0x4346b1(0x174)];[_0x4346b1(0x140)];static get[_0x4346b1(0x13d)](){const _0x14937c=_0x4346b1;return _0x14937c(0x14b);}constructor(_0x441187){const _0x440d55=_0x4346b1;super(_0x441187),_0x441187[_0x440d55(0x162)][_0x440d55(0x158)](_0x440d55(0x149))||_0x441187[_0x440d55(0x162)][_0x440d55(0x14e)](_0x440d55(0x149),{'model':_0x440d55(0x14c),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x440d55(0x12c),'stream':!0x0}),this[_0x440d55(0x161)]=_0x441187[_0x440d55(0x162)][_0x440d55(0x158)](_0x440d55(0x163)),this[_0x440d55(0x174)]=_0x441187[_0x440d55(0x162)][_0x440d55(0x158)](_0x440d55(0x15d)),this[_0x440d55(0x168)]=_0x441187[_0x440d55(0x162)][_0x440d55(0x158)](_0x440d55(0x151)),this[_0x440d55(0x140)]=_0x441187[_0x440d55(0x162)][_0x440d55(0x158)](_0x440d55(0x149));}async[_0x4346b1(0x166)]({query:_0x6a6da5,context:_0x463721,onData:_0x3abd44,actionId:_0x56be57}){const _0x280674=_0x4346b1,{model:_0x2501f1,stream:_0x1ddf1e,..._0x3e8eb4}=await this[_0x280674(0x138)](this[_0x280674(0x140)],_0x56be57),_0x5e3a73={'prompt':await this[_0x280674(0x157)](_0x6a6da5,_0x463721,_0x2501f1,_0x56be57),..._0x3e8eb4};this[_0x280674(0x161)]?await this[_0x280674(0x131)](_0x5e3a73,_0x2501f1,_0x1ddf1e,_0x3abd44,_0x56be57):await this[_0x280674(0x165)](_0x5e3a73,_0x2501f1,_0x1ddf1e,_0x3abd44);}async[_0x4346b1(0x157)](_0x2c240f,_0x40b894,_0xff440d,_0x275577){const _0x542f9a=_0x4346b1;let _0x1b5586,_0x50fc04;return _0x40b894?(_0x1b5586=_0x542f9a(0x126),_0x50fc04=_0x542f9a(0x15a)+_0x2c240f+_0x542f9a(0x15f)+_0x40b894):(_0x1b5586=_0x542f9a(0x152),_0x50fc04=_0x2c240f),_0x542f9a(0x15e)==this[_0x542f9a(0x160)](_0xff440d)?_0x542f9a(0x12a)+_0x1b5586+_0x542f9a(0x170)+_0x50fc04+_0x542f9a(0x145):_0x542f9a(0x16f)+_0x1b5586+'\x0a'+_0x50fc04+_0x542f9a(0x16a);}[_0x4346b1(0x160)](_0x3f8213){const _0xd2e60c=_0x4346b1;if(/^anthropic\.claude/[_0xd2e60c(0x172)](_0x3f8213))return _0xd2e60c(0x13c);if(/^ai21\.j2/[_0xd2e60c(0x172)](_0x3f8213))return _0xd2e60c(0x134);if(/^cohere\.command/[_0xd2e60c(0x172)](_0x3f8213))return _0xd2e60c(0x171);if(/^meta\.llama/[_0xd2e60c(0x172)](_0x3f8213))return _0xd2e60c(0x15e);throw new _0x50b021(_0x137ae6(this[_0xd2e60c(0x144)][_0xd2e60c(0x173)],_0xd2e60c(0x13b),_0x3f8213));}async[_0x4346b1(0x131)](_0x1110b0,_0x1296f7,_0x45cf93,_0x51271d,_0xc270c5){const _0x34248d=_0x4346b1,_0x20cec5={'method':_0x34248d(0x159),'headers':await this[_0x34248d(0x129)](this[_0x34248d(0x168)],_0xc270c5),'body':JSON[_0x34248d(0x176)]({..._0x1110b0,'model':_0x1296f7,'stream':_0x45cf93}),'signal':this[_0x34248d(0x12b)][_0x34248d(0x132)]},_0x4c4c3f=await fetch(this[_0x34248d(0x161)],_0x20cec5);_0x45cf93?await this[_0x34248d(0x154)](_0x4c4c3f,_0x1296f7,_0x51271d):await this[_0x34248d(0x16e)](_0x4c4c3f,_0x1296f7,_0x51271d);}async[_0x4346b1(0x165)](_0x47fdcf,_0x4bd3af,_0x41df97,_0x468eb5){const _0x43b374=_0x4346b1,_0x112546=new _0x567944(this[_0x43b374(0x174)]),_0x4db539={'body':JSON[_0x43b374(0x176)](_0x47fdcf),'contentType':_0x43b374(0x12d),'accept':_0x43b374(0x12d),'modelId':_0x4bd3af};let _0x2f4302;if(_0x41df97){const _0x5040c5=new _0x3199b2(_0x4db539);_0x2f4302=await _0x112546[_0x43b374(0x156)](_0x5040c5,{'abortSignal':this[_0x43b374(0x12b)][_0x43b374(0x132)]}),await this[_0x43b374(0x142)](_0x2f4302,_0x4bd3af,_0x468eb5);}else{const _0x1d6c17=new _0x39c29f(_0x4db539);_0x2f4302=await _0x112546[_0x43b374(0x156)](_0x1d6c17,{'abortSignal':this[_0x43b374(0x12b)][_0x43b374(0x132)]}),await this[_0x43b374(0x16e)](_0x2f4302,_0x4bd3af,_0x468eb5);}}async[_0x4346b1(0x142)](_0x572e1b,_0x512a5f,_0x6263f9){const _0x25497c=_0x4346b1,_0x10b529=_0x572e1b[_0x25497c(0x167)],_0xe58c23=new TextDecoder(_0x25497c(0x137));let _0x552148='';for await(const _0x4d6c53 of _0x10b529)if(_0x4d6c53[_0x25497c(0x164)]){const _0x1f02df=_0xe58c23[_0x25497c(0x136)](_0x4d6c53[_0x25497c(0x164)][_0x25497c(0x139)]),_0x35d58a=JSON[_0x25497c(0x15c)](_0x1f02df);_0x552148+=this[_0x25497c(0x14d)](_0x35d58a,_0x512a5f),_0x6263f9(_0x552148);}return Promise[_0x25497c(0x147)]();}async[_0x4346b1(0x154)](_0x25faa0,_0x29efee,_0x3dea31){const _0x300556=_0x4346b1,_0x472fca=_0x25faa0[_0x300556(0x167)],_0x220009=new TextDecoder(_0x300556(0x137)),_0x4457ac=_0x472fca[_0x300556(0x128)]();let _0x2931e9='',_0x448b52='',_0x38f5f7=!0x1;for(;!_0x38f5f7;){const {done:_0x3ca7db,value:_0x5921cf}=await _0x4457ac[_0x300556(0x13f)]();if(_0x38f5f7=_0x3ca7db,_0x38f5f7)break;const _0x1431c7=(_0x2931e9+_0x220009[_0x300556(0x136)](_0x5921cf))[_0x300556(0x150)]('\x0a')[_0x300556(0x13a)](_0x110c77=>{const _0x5e8403=_0x300556;try{return _0x2931e9='',JSON[_0x5e8403(0x15c)](_0x110c77);}catch{return _0x2931e9=_0x110c77,null;}})[_0x300556(0x12f)](_0x26a06b=>null!==_0x26a06b);_0x1431c7[_0x300556(0x16b)]&&(_0x448b52+=_0x1431c7[_0x300556(0x13a)](_0x26c83f=>this[_0x300556(0x14d)](_0x26c83f,_0x29efee))[_0x300556(0x16c)](''),_0x3dea31(_0x448b52));}return Promise[_0x300556(0x147)]();}async[_0x4346b1(0x16e)](_0x418c0b,_0x465b16,_0x308f35){const _0x1895b8=_0x4346b1;let _0x5b0c1a;return _0x5b0c1a=_0x418c0b instanceof Response?await _0x418c0b[_0x1895b8(0x148)]():JSON[_0x1895b8(0x15c)](new TextDecoder(_0x1895b8(0x137))[_0x1895b8(0x136)](_0x418c0b[_0x1895b8(0x167)])),(_0x308f35(this[_0x1895b8(0x14d)](_0x5b0c1a,_0x465b16)),Promise[_0x1895b8(0x147)]());}[_0x4346b1(0x14d)](_0x2b7e81,_0x51e6d9){const _0x1d51af=_0x4346b1;switch(this[_0x1d51af(0x160)](_0x51e6d9)){case _0x1d51af(0x13c):return _0x2b7e81[_0x1d51af(0x146)];case _0x1d51af(0x134):return _0x2b7e81[_0x1d51af(0x12e)][0x0][_0x1d51af(0x153)][_0x1d51af(0x155)];case _0x1d51af(0x171):return _0x2b7e81[_0x1d51af(0x16d)][0x0][_0x1d51af(0x155)];case _0x1d51af(0x15e):return _0x2b7e81[_0x1d51af(0x15b)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x486e25=_0x2786;function _0x4c97(){const _0x1f8621=['ai.assistant.adapter.openAI.requestParameters','1fFdHSf','_readStaticResponse','3154949UmODgI','includes','_isBufferIncomplete','define','locale','POST','_readStreamableResponse','user','AI_ERROR_MODERATION','3308DAobZj','1029hIrWfF','choices','decode','editor','get','OpenAITextAdapter','text','Instruction:\x0a','filter','read','2383995tNIfxf','context_length_exceeded','_requestHeaders','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.','config','[DONE]','_apiUrl','join','_prepareRequestHeaders','_cleanUpData','json','message','612vSdasj','2760474lnafIK','stream','_prepareRequestParameters','resolve','14368970zuNldh','parse','split','https://api.openai.com/v1/chat/completions','prepareMessages','pluginName','reject','ai.assistant.adapter.openAI.apiUrl','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.','map','317330nbIuTF','content','delta','_requestParameters','length','system','stringify','36056ipTIGE','signal','gpt-4o','getReader','ai.assistant.adapter.openAI.requestHeaders','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','replace','AI_ERROR_CONTEXT_LENGTH','body','abortController','sendRequest','data:\x20','Moderation'];_0x4c97=function(){return _0x1f8621;};return _0x4c97();}(function(_0x2427bb,_0x2a5231){const _0x4aeafa=_0x2786,_0x3edcbb=_0x2427bb();while(!![]){try{const _0x5e3fa4=-parseInt(_0x4aeafa(0x171))/0x1*(parseInt(_0x4aeafa(0x15c))/0x2)+-parseInt(_0x4aeafa(0x17d))/0x3*(parseInt(_0x4aeafa(0x17c))/0x4)+parseInt(_0x4aeafa(0x187))/0x5+-parseInt(_0x4aeafa(0x14e))/0x6+-parseInt(_0x4aeafa(0x173))/0x7+parseInt(_0x4aeafa(0x163))/0x8*(-parseInt(_0x4aeafa(0x14d))/0x9)+parseInt(_0x4aeafa(0x152))/0xa;if(_0x5e3fa4===_0x2a5231)break;else _0x3edcbb['push'](_0x3edcbb['shift']());}catch(_0x384186){_0x3edcbb['push'](_0x3edcbb['shift']());}}}(_0x4c97,0x3e09c));import{AITextAdapter as _0xc9f1cd}from'./aitextadapter.js';import{AIRequestError as _0xba21b6}from'./aiadapter.js';function _0x2786(_0x45cdd3,_0x1f860a){const _0x4c9738=_0x4c97();return _0x2786=function(_0x278670,_0x4ba8bc){_0x278670=_0x278670-0x146;let _0x4f67e1=_0x4c9738[_0x278670];return _0x4f67e1;},_0x2786(_0x45cdd3,_0x1f860a);}import{getTranslation as _0x2991c5}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0xc9f1cd{[_0x486e25(0x147)];[_0x486e25(0x189)];[_0x486e25(0x15f)];static get[_0x486e25(0x157)](){const _0x5bdf8a=_0x486e25;return _0x5bdf8a(0x182);}constructor(_0xa5cb09){const _0x42ee44=_0x486e25;super(_0xa5cb09),_0xa5cb09[_0x42ee44(0x18b)][_0x42ee44(0x176)](_0x42ee44(0x159),_0x42ee44(0x155)),_0xa5cb09[_0x42ee44(0x18b)][_0x42ee44(0x181)](_0x42ee44(0x170))||_0xa5cb09[_0x42ee44(0x18b)][_0x42ee44(0x176)](_0x42ee44(0x170),{'model':_0x42ee44(0x165),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x42ee44(0x147)]=_0xa5cb09[_0x42ee44(0x18b)][_0x42ee44(0x181)](_0x42ee44(0x159)),this[_0x42ee44(0x189)]=_0xa5cb09[_0x42ee44(0x18b)][_0x42ee44(0x181)](_0x42ee44(0x167))||{},this[_0x42ee44(0x15f)]=_0xa5cb09[_0x42ee44(0x18b)][_0x42ee44(0x181)](_0x42ee44(0x170));}async[_0x486e25(0x16d)]({query:_0x302606,context:_0x34eaf6,onData:_0x5cab87,actionId:_0x37b892}){const _0x56f48c=_0x486e25,_0x4d570c=this[_0x56f48c(0x180)][_0x56f48c(0x177)],_0x4d0ef9=await this[_0x56f48c(0x156)](_0x302606,_0x34eaf6,_0x37b892),_0x3bcb4b=await this[_0x56f48c(0x149)](this[_0x56f48c(0x189)],_0x37b892),_0x10ec48=await this[_0x56f48c(0x150)](this[_0x56f48c(0x15f)],_0x37b892),_0x57ed60={'messages':_0x4d0ef9,..._0x10ec48},_0x4dd589={'method':_0x56f48c(0x178),'headers':_0x3bcb4b,'body':JSON[_0x56f48c(0x162)](_0x57ed60),'signal':this[_0x56f48c(0x16c)][_0x56f48c(0x164)]},_0x4e7411=await fetch(this[_0x56f48c(0x147)],_0x4dd589);if(_0x4e7411['ok'])return _0x10ec48[_0x56f48c(0x14f)]?await this[_0x56f48c(0x179)](_0x4e7411,_0x5cab87):await this[_0x56f48c(0x172)](_0x4e7411,_0x5cab87),Promise[_0x56f48c(0x151)]();{const _0x1bbdb5=await _0x4e7411[_0x56f48c(0x183)]();return _0x1bbdb5[_0x56f48c(0x174)](_0x56f48c(0x188))?Promise[_0x56f48c(0x158)](new _0xba21b6(_0x2991c5(_0x4d570c,_0x56f48c(0x16a)))):_0x1bbdb5[_0x56f48c(0x174)](_0x56f48c(0x16f))?Promise[_0x56f48c(0x158)](new _0xba21b6(_0x2991c5(_0x4d570c,_0x56f48c(0x17b)))):Promise[_0x56f48c(0x158)](new Error(_0x1bbdb5));}}async[_0x486e25(0x156)](_0x21b1e9,_0x563b65,_0x207d9a){const _0x2fcdbe=_0x486e25;let _0x13e0ee,_0x258457;return _0x563b65?(_0x13e0ee=_0x2fcdbe(0x18a),_0x258457=_0x2fcdbe(0x184)+_0x21b1e9+_0x2fcdbe(0x168)+_0x563b65):(_0x13e0ee=_0x2fcdbe(0x15a),_0x258457=_0x21b1e9),[{'role':_0x2fcdbe(0x161),'content':_0x13e0ee},{'role':_0x2fcdbe(0x17a),'content':_0x258457}];}async[_0x486e25(0x179)](_0x12ad39,_0x554920){const _0x122591=_0x486e25,_0x11ad55=_0x12ad39[_0x122591(0x16b)][_0x122591(0x166)](),_0x580578=new TextDecoder();let _0x5b26cb='',_0x1ec1fc='',_0x1d7146='',_0x35b621=!0x1;for(;!_0x35b621;){const {done:_0x53a71b,value:_0x1c327f}=await _0x11ad55[_0x122591(0x186)](),_0x494643=_0x5b26cb+_0x580578[_0x122591(0x17f)](_0x1c327f);let _0x51c58d='';_0x35b621=_0x53a71b;try{_0x51c58d=this[_0x122591(0x14a)](_0x494643),_0x5b26cb='';}catch{_0x5b26cb=_0x494643;continue;}_0x1ec1fc+=_0x51c58d,!_0x35b621&&this[_0x122591(0x175)](_0x1ec1fc)||_0x1ec1fc&&(_0x1d7146+=_0x1ec1fc,_0x1ec1fc='',_0x554920(_0x1d7146));}return Promise[_0x122591(0x151)]();}async[_0x486e25(0x172)](_0x2edcb5,_0x38a87d){const _0x3f7896=_0x486e25;return _0x38a87d((await _0x2edcb5[_0x3f7896(0x14b)]())[_0x3f7896(0x17e)][0x0][_0x3f7896(0x14c)][_0x3f7896(0x15d)]),Promise[_0x3f7896(0x151)]();}[_0x486e25(0x175)](_0x226f8f){const _0x49e376=_0x486e25,_0x384547=_0x226f8f[_0x49e376(0x154)]('<')[_0x49e376(0x160)]!==_0x226f8f[_0x49e376(0x154)]('>')[_0x49e376(0x160)],_0x1f25bd=_0x226f8f[_0x49e376(0x160)]<0x1e;return _0x384547&&_0x1f25bd;}[_0x486e25(0x14a)](_0x21d13e){const _0xc72932=_0x486e25;return _0x21d13e[_0xc72932(0x154)](/\n(?![^{]*\})/g)[_0xc72932(0x15b)](_0x245826=>_0x245826[_0xc72932(0x169)](_0xc72932(0x16e),''))[_0xc72932(0x185)](_0x269c50=>_0x269c50&&_0x269c50[_0xc72932(0x160)]>0x0&&_0xc72932(0x146)!==_0x269c50)[_0xc72932(0x15b)](_0x389ce4=>{const _0x457f0d=_0xc72932,{choices:_0x2ba9a5}=JSON[_0x457f0d(0x153)](_0x389ce4);if(_0x2ba9a5[0x0]?.[_0x457f0d(0x15e)]?.[_0x457f0d(0x15d)])return _0x2ba9a5[0x0][_0x457f0d(0x15e)][_0x457f0d(0x15d)];})[_0xc72932(0x185)](_0x7d2270=>_0x7d2270)[_0xc72932(0x148)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x214625=_0x2db9;(function(_0x3248a0,_0x29c751){const _0x1d6ffd=_0x2db9,_0x4e1e51=_0x3248a0();while(!![]){try{const _0x28b418=parseInt(_0x1d6ffd(0xba))/0x1*(-parseInt(_0x1d6ffd(0xb0))/0x2)+parseInt(_0x1d6ffd(0xfc))/0x3+parseInt(_0x1d6ffd(0xa1))/0x4+parseInt(_0x1d6ffd(0xfd))/0x5+-parseInt(_0x1d6ffd(0xaf))/0x6*(-parseInt(_0x1d6ffd(0xea))/0x7)+parseInt(_0x1d6ffd(0xd2))/0x8+-parseInt(_0x1d6ffd(0xd1))/0x9*(parseInt(_0x1d6ffd(0xdd))/0xa);if(_0x28b418===_0x29c751)break;else _0x4e1e51['push'](_0x4e1e51['shift']());}catch(_0x1b22e9){_0x4e1e51['push'](_0x4e1e51['shift']());}}}(_0x4970,0xa4558));import{Plugin as _0x3f7123}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x14f7be}from'./aiassistantui.js';import{AIAssistantEditing as _0x19b1df}from'./aiassistantediting.js';function _0x2db9(_0x2a1ce9,_0x209abd){const _0x4970b3=_0x4970();return _0x2db9=function(_0x2db9af,_0x42966a){_0x2db9af=_0x2db9af-0x8f;let _0x4b8643=_0x4970b3[_0x2db9af];return _0x4b8643;},_0x2db9(_0x2a1ce9,_0x209abd);}import{getTranslation as _0x585881}from'./utils/common-translations.js';function _0x4970(){const _0x1ef941=['filter','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Improve\x20writing','English','groupId','Confident','20PYEuSH','Make\x20longer','translateEnglish','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','editOrReview','define','simplifyLanguage','makeLonger','Simplify\x20language','find','Generate\x20from\x20selection','concat','218743VXcdAw','translateGerman','changeStyle','casual','translatePortuguese','changeTone','Legal','summarize','locale','Translate\x20the\x20content\x20to\x20German\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Casual','ai.assistant.preserveComments','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateArabic','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Direct','Continue','1108767pWaWQB','4645855wfmQzc','Spanish','Edit\x20or\x20review','translateChinese','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','get','requires','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','generate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','config','ai.assistant.removeCommands','translateFrench','poetic','translateHindi','forEach','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','1841296QbREEg','Portuguese','continue','set','direct','confident','isPremiumPlugin','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Friendly','translateSpanish','AIAssistant','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','ai.assistant.commands','journalism','6eAbJkA','543722bkCDVg','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','legal','German','Hindi','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate','makeShorter','3OKmsdc','Translate\x20the\x20content\x20to\x20French\x20language.','Business','push','includes','French','Summarize','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Professional','Arabic','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','commands','Change\x20style','improveWriting','professional','ai.assistant.extraCommandGroups','isOfficialPlugin','Journalism','Change\x20tone','Simplified\x20Chinese','business','translate','1756422wjPYwz','709424HVONfj','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Make\x20shorter','pluginName','friendly'];_0x4970=function(){return _0x1ef941;};return _0x4970();}import{normalizeCommandsConfig as _0x5d7919}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x3f7123{static get[_0x214625(0x94)](){return[_0x14f7be,_0x19b1df];}static get[_0x214625(0xd5)](){const _0x3aa50c=_0x214625;return _0x3aa50c(0xab);}static get[_0x214625(0xcb)](){return!0x0;}static get[_0x214625(0xa7)](){return!0x0;}constructor(_0x385117){const _0x48b8e1=_0x214625;super(_0x385117);const _0x18e3f2=_0x385117[_0x48b8e1(0x9a)],_0x443e02=_0x385117[_0x48b8e1(0xf2)];_0x18e3f2[_0x48b8e1(0xe3)](_0x48b8e1(0xf6),!0x0),_0x18e3f2[_0x48b8e1(0xe3)](_0x48b8e1(0xad),getDefaultAICommands(_0x443e02)),_0x18e3f2[_0x48b8e1(0xe3)](_0x48b8e1(0xca),[]),_0x18e3f2[_0x48b8e1(0xe3)](_0x48b8e1(0x9b),[]);let _0x3ac907=_0x5d7919(_0x18e3f2[_0x48b8e1(0x93)](_0x48b8e1(0xad)),_0x443e02);const _0x45f856=_0x18e3f2[_0x48b8e1(0x93)](_0x48b8e1(0xca)),_0x2e7208=_0x18e3f2[_0x48b8e1(0x93)](_0x48b8e1(0x9b));_0x45f856[_0x48b8e1(0x9f)](_0x32d9c1=>{const _0x11394f=_0x48b8e1,_0x47d532=_0x3ac907[_0x11394f(0xe7)](_0x478ca8=>_0x478ca8[_0x11394f(0xdb)]===_0x32d9c1[_0x11394f(0xdb)]);_0x47d532?_0x47d532[_0x11394f(0xc6)]=_0x47d532[_0x11394f(0xc6)][_0x11394f(0xe9)](_0x32d9c1[_0x11394f(0xc6)]):_0x3ac907[_0x11394f(0xbd)](_0x32d9c1);}),_0x3ac907=_0x3ac907[_0x48b8e1(0xd7)](_0x4a3eda=>!_0x2e7208[_0x48b8e1(0xbe)](_0x4a3eda[_0x48b8e1(0xdb)])),_0x3ac907[_0x48b8e1(0x9f)](_0xa6bb63=>{const _0x4f9d33=_0x48b8e1;_0xa6bb63[_0x4f9d33(0xc6)]=_0xa6bb63[_0x4f9d33(0xc6)][_0x4f9d33(0xd7)](_0x24b248=>!_0x2e7208[_0x4f9d33(0xbe)](_0x24b248['id']));}),_0x18e3f2[_0x48b8e1(0xa4)](_0x48b8e1(0xad),_0x3ac907);}}export function getDefaultAICommands(_0x201792){const _0x938bc9=_0x214625;return[{'groupId':_0x938bc9(0xe2),'groupLabel':_0x585881(_0x201792,_0x938bc9(0x90)),'commands':[{'id':_0x938bc9(0xc8),'label':_0x585881(_0x201792,_0x938bc9(0xd9)),'prompt':_0x938bc9(0xb1)},{'id':_0x938bc9(0xb9),'label':_0x585881(_0x201792,_0x938bc9(0xd4)),'prompt':_0x938bc9(0xe0)},{'id':_0x938bc9(0xe5),'label':_0x585881(_0x201792,_0x938bc9(0xde)),'prompt':_0x938bc9(0xa0)},{'id':_0x938bc9(0xe4),'label':_0x585881(_0x201792,_0x938bc9(0xe6)),'prompt':_0x938bc9(0x92)}]},{'groupId':_0x938bc9(0x96),'groupLabel':_0x585881(_0x201792,_0x938bc9(0xe8)),'commands':[{'id':_0x938bc9(0xf1),'label':_0x585881(_0x201792,_0x938bc9(0xc0)),'prompt':_0x938bc9(0xd3)},{'id':_0x938bc9(0xa3),'label':_0x585881(_0x201792,_0x938bc9(0xfb)),'prompt':_0x938bc9(0xa8)}]},{'groupId':_0x938bc9(0xef),'groupLabel':_0x585881(_0x201792,_0x938bc9(0xcd)),'commands':[{'id':_0x938bc9(0xc9),'label':_0x585881(_0x201792,_0x938bc9(0xc3)),'prompt':_0x938bc9(0xac)},{'id':_0x938bc9(0xed),'label':_0x585881(_0x201792,_0x938bc9(0xf5)),'prompt':_0x938bc9(0x99)},{'id':_0x938bc9(0xa5),'label':_0x585881(_0x201792,_0x938bc9(0xfa)),'prompt':_0x938bc9(0xd8)},{'id':_0x938bc9(0xa6),'label':_0x585881(_0x201792,_0x938bc9(0xdc)),'prompt':_0x938bc9(0xb2)},{'id':_0x938bc9(0xd6),'label':_0x585881(_0x201792,_0x938bc9(0xa9)),'prompt':_0x938bc9(0xc5)}]},{'groupId':_0x938bc9(0xec),'groupLabel':_0x585881(_0x201792,_0x938bc9(0xc7)),'commands':[{'id':_0x938bc9(0xcf),'label':_0x585881(_0x201792,_0x938bc9(0xbc)),'prompt':_0x938bc9(0xf7)},{'id':_0x938bc9(0xb4),'label':_0x585881(_0x201792,_0x938bc9(0xf0)),'prompt':_0x938bc9(0xb3)},{'id':_0x938bc9(0xae),'label':_0x585881(_0x201792,_0x938bc9(0xcc)),'prompt':_0x938bc9(0xb7)},{'id':_0x938bc9(0x9d),'label':_0x585881(_0x201792,_0x938bc9(0xc1)),'prompt':_0x938bc9(0xc2)}]},{'groupId':_0x938bc9(0xd0),'groupLabel':_0x585881(_0x201792,_0x938bc9(0xb8)),'commands':[{'id':_0x938bc9(0xdf),'label':_0x585881(_0x201792,_0x938bc9(0xda)),'prompt':_0x938bc9(0x98)},{'id':_0x938bc9(0xaa),'label':_0x585881(_0x201792,_0x938bc9(0x8f)),'prompt':_0x938bc9(0xf4)},{'id':_0x938bc9(0xee),'label':_0x585881(_0x201792,_0x938bc9(0xa2)),'prompt':_0x938bc9(0xf9)},{'id':_0x938bc9(0xeb),'label':_0x585881(_0x201792,_0x938bc9(0xb5)),'prompt':_0x938bc9(0xf3)},{'id':_0x938bc9(0x9c),'label':_0x585881(_0x201792,_0x938bc9(0xbf)),'prompt':_0x938bc9(0xbb)},{'id':_0x938bc9(0x91),'label':_0x585881(_0x201792,_0x938bc9(0xce)),'prompt':_0x938bc9(0x95)},{'id':_0x938bc9(0x9e),'label':_0x585881(_0x201792,_0x938bc9(0xb6)),'prompt':_0x938bc9(0x97)},{'id':_0x938bc9(0xf8),'label':_0x585881(_0x201792,_0x938bc9(0xc4)),'prompt':_0x938bc9(0xe1)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3bccf7=_0x4a71;(function(_0x22e5cf,_0x517350){const _0x118d94=_0x4a71,_0x120794=_0x22e5cf();while(!![]){try{const _0x275873=-parseInt(_0x118d94(0x228))/0x1+parseInt(_0x118d94(0x1f0))/0x2+-parseInt(_0x118d94(0x22a))/0x3*(-parseInt(_0x118d94(0x238))/0x4)+parseInt(_0x118d94(0x213))/0x5+parseInt(_0x118d94(0x1e5))/0x6+parseInt(_0x118d94(0x1fa))/0x7*(-parseInt(_0x118d94(0x223))/0x8)+parseInt(_0x118d94(0x1e2))/0x9;if(_0x275873===_0x517350)break;else _0x120794['push'](_0x120794['shift']());}catch(_0x6933e3){_0x120794['push'](_0x120794['shift']());}}}(_0x4b9c,0x7aa99));import{uid as _0x56f711}from'ckeditor5/src/utils.js';import{Plugin as _0x3d4183}from'ckeditor5/src/core.js';function _0x4b9c(){const _0x24691a=['addClass','markerRange','off','end','insertRows','schema','last','getRowIndexes','_pasteHTMLUsingClipboard','isOfficialPlugin','plugins','getLastMatchingPosition','insertContent','markers','ai.assistant.useTheme','getFirstRange','contentInsertion','getSelectedBlocks','537345HambwU','getMarkersGroup','TableUtils','1307532QMwdNP','fromCharCode','_getDefaultInsertBelowPosition','has','getRanges','_getAISelection','getRows','createPositionAfter','pluginName','model','addMarker','1695156nLoUgr','deleteContent','span','getChildren','filter','DataTransfer','findAncestor','paste','ck-ai-assistant-ui_theme','createPositionAt','2323461GlxfIc','first','showFakeVisualSelection','start','afterInit','removeMarker','ai-ui','map','join','config','canEditAt','from','isAtEnd','change','getLastPosition','setSelection','for','_resetContentOfSelectedTableCells','push','forEach','conversion','_getTableRowCountFromContent','text/html','createUIElement','get','574725cATnlP','isPremiumPlugin','fire','document','isContent','ck-fake-ai-selection_collapsed','parse','setData','getSelectedTableCells','editing','table','init','hideFakeVisualSelection','ck-fake-ai-selection','length','createSelection','24UAtZji','editingDowncast','resultRange','createRange','once','73392VILqvf','markerToElement','142044lKwhDp','editor','insertContentBelow','_createEmptyTableRows','pop','getChild','getColumnIndexes','updateMarker','data','isCollapsed','AIAssistantEditing','lowest','element','selection','28TqbxbA','_prepareTableInsertBelowPosition','getRange','markerToHighlight','href'];_0x4b9c=function(){return _0x24691a;};return _0x4b9c();}import{ClipboardPipeline as _0x4fc660}from'ckeditor5/src/clipboard.js';function _0x4a71(_0xb02d6f,_0xe8e151){const _0x4b9cae=_0x4b9c();return _0x4a71=function(_0x4a711e,_0x27bd11){_0x4a711e=_0x4a711e-0x1e2;let _0x22d4b3=_0x4b9cae[_0x4a711e];return _0x22d4b3;},_0x4a71(_0xb02d6f,_0xe8e151);}import{ViewDocumentDomEventData as _0x22fe80,ViewDataTransfer as _0x30fc3c}from'ckeditor5/src/engine.js';const Ft=globalThis[_0x3bccf7(0x1f5)],Vt=_0x3bccf7(0x200);export class AIAssistantEditing extends _0x3d4183{static get[_0x3bccf7(0x1ed)](){const _0x5be944=_0x3bccf7;return _0x5be944(0x234);}static get[_0x3bccf7(0x246)](){return!0x0;}static get[_0x3bccf7(0x214)](){return!0x0;}[_0x3bccf7(0x21e)](){const _0x2185bb=_0x3bccf7,{editor:_0x53f893}=this,_0x19c7bb=[_0x2185bb(0x220)];_0x53f893[_0x2185bb(0x203)][_0x2185bb(0x212)](_0x2185bb(0x24b))&&_0x19c7bb[_0x2185bb(0x20c)](_0x2185bb(0x1f8)),_0x53f893[_0x2185bb(0x20e)][_0x2185bb(0x20a)](_0x2185bb(0x224))[_0x2185bb(0x23b)]({'model':Vt,'view':{'classes':_0x19c7bb,'priority':0xc}}),_0x53f893[_0x2185bb(0x20e)][_0x2185bb(0x20a)](_0x2185bb(0x224))[_0x2185bb(0x229)]({'model':Vt,'view':(_0x416f50,{writer:_0x44c774})=>{const _0x1e1d39=_0x2185bb;if(!_0x416f50[_0x1e1d39(0x23e)][_0x1e1d39(0x233)])return null;const _0x33c49d=_0x44c774[_0x1e1d39(0x211)](_0x1e1d39(0x1f2));return _0x44c774[_0x1e1d39(0x23d)]([_0x1e1d39(0x220),_0x1e1d39(0x218)],_0x33c49d),_0x33c49d;}});}[_0x3bccf7(0x1fe)](){!async function(_0xe09f14){const _0x16ed24=_0xe32ab([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]),_0x2fa9a9=0x3dffc4e1,_0x24cac6=0x3df8b321^_0x2fa9a9,_0x528ab6=window[_0xe32ab([0x44,0x61,0x74,0x65])][_0xe32ab([0x6e,0x6f,0x77])](),_0x22037f=_0xe09f14[_0xe32ab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x119ab9=new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ceaab=>{_0x22037f[_0xe32ab([0x6f,0x6e,0x63,0x65])](_0xe32ab([0x72,0x65,0x61,0x64,0x79]),_0x5ceaab);}),_0xe1e4b9={[_0xe32ab([0x6b,0x74,0x79])]:_0xe32ab([0x45,0x43]),[_0xe32ab([0x75,0x73,0x65])]:_0xe32ab([0x73,0x69,0x67]),[_0xe32ab([0x63,0x72,0x76])]:_0xe32ab([0x50,0x2d,0x32,0x35,0x36]),[_0xe32ab([0x78])]:_0xe32ab([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]),[_0xe32ab([0x79])]:_0xe32ab([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]),[_0xe32ab([0x61,0x6c,0x67])]:_0xe32ab([0x45,0x53,0x32,0x35,0x36])},_0x5db1ef=_0x22037f[_0xe32ab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe32ab([0x67,0x65,0x74])](_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5398bd(){let _0x4a64a0,_0x43e29c=null,_0xb3374c=null;try{if(_0x5db1ef==_0xe32ab([0x47,0x50,0x4c]))return _0xe32ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a64a0=_0x283741(),!_0x4a64a0)return _0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a64a0[_0xe32ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb3374c=_0x41c3ba(_0x4a64a0[_0xe32ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a64a0[_0xe32ab([0x6a,0x74,0x69])])),await _0x3a25f7()?_0x5c79b1()?_0x198a85()?_0xe32ab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x358367()?(_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe32ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43e29c=_0x431353(_0xe32ab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe32ab([0x74,0x72,0x69,0x61,0x6c])&&(_0x43e29c=_0x431353(_0xe32ab([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13fd9c()):_0xe32ab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe32ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x198a85(){const _0x3d7eb7=[_0xe32ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe32ab([0x74,0x72,0x69,0x61,0x6c])][_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x528ab6/0x3e8:0xe10*_0x24cac6;return _0x4a64a0[_0xe32ab([0x65,0x78,0x70])]<_0x3d7eb7;}function _0x5c79b1(){const _0xf3b65d=_0x4a64a0[_0xe32ab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf3b65d&&(!!_0xf3b65d[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x2a]))||!!_0xf3b65d[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x41,0x49])));}function _0x358367(){const _0x5dd722=_0x4a71,_0x10a0a4=_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10a0a4||0x0==_0x10a0a4[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ebdba}=new URL(window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5dd722(0x23c)]);if(_0x10a0a4[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ebdba))return!0x0;const _0x191e9c=_0x4ebdba[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e]));return _0x10a0a4[_0xe32ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43f5cc=>_0x43f5cc[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x2a])))[_0xe32ab([0x6d,0x61,0x70])](_0x22b926=>_0x22b926[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e])))[_0xe32ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x355431=>_0x355431[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x191e9c[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe32ab([0x6d,0x61,0x70])](_0x4cc4fd=>Array(_0x191e9c[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4cc4fd[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe32ab([0x66,0x69,0x6c,0x6c])](_0x4cc4fd[0x0]===_0xe32ab([0x2a])?_0xe32ab([0x2a]):'')[_0xe32ab([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4cc4fd))[_0xe32ab([0x73,0x6f,0x6d,0x65])](_0x24720d=>_0x191e9c[_0xe32ab([0x65,0x76,0x65,0x72,0x79])]((_0x33cebe,_0x2d6d80)=>_0x24720d[_0x2d6d80]===_0x33cebe||_0x24720d[_0x2d6d80]===_0xe32ab([0x2a])));}function _0x13fd9c(){return _0x43e29c&&_0xb3374c?new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf18b6c,_0x41992c)=>{_0x43e29c[_0xe32ab([0x74,0x68,0x65,0x6e])](_0xf18b6c,_0x41992c),_0xb3374c[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x15be15=>{_0x15be15!=_0xe32ab([0x56,0x61,0x6c,0x69,0x64])&&_0xf18b6c(_0x15be15);},_0x41992c);}):_0x43e29c||_0xb3374c||_0xe32ab([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41c3ba(_0x4973e9,_0x549e29){return new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29750e=>{if(_0xd6c230())return _0x29750e(_0xe32ab([0x56,0x61,0x6c,0x69,0x64]));_0x5f27c4(),_0x22037f[_0xe32ab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfeeae5=!0x1;const _0x3e1b4f=_0x56f711();function _0x589532(_0x2af697){return!!_0x2af697&&(typeof _0x2af697===_0xe32ab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2af697===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2af697[_0xe32ab([0x74,0x68,0x65,0x6e])]===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2af697[_0xe32ab([0x63,0x61,0x74,0x63,0x68])]===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2deb13(_0x585c4a){_0xf7196c(_0x585c4a)[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x463efe=>{if(!_0x463efe||_0x463efe[_0xe32ab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe32ab([0x6f,0x6b]))return _0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c5d68(_0x352a7c(_0x3e1b4f+_0x549e29))!=_0x463efe[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe32ab([0x56,0x61,0x6c,0x69,0x64]);})[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x16ee38=>(_0x61e1e8(),_0x16ee38),()=>{const _0x716acd=_0x449d11();return null==_0x716acd?(_0x61e1e8(),_0xe32ab([0x56,0x61,0x6c,0x69,0x64])):_0xe32ab(_0x528ab6-_0x716acd>(0x19f340e1^_0x2fa9a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x29750e)[_0xe32ab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdd445d=0x3dc92a61^_0x2fa9a9;function _0x61e1e8(){const _0x4a26c7=_0xe32ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5d68(_0x352a7c(_0x4973e9)),_0x2de1d2=_0x39f21a(_0x1c5d68(window[_0xe32ab([0x4d,0x61,0x74,0x68])][_0xe32ab([0x63,0x65,0x69,0x6c])](_0x528ab6/_0xdd445d)));window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe32ab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a26c7,_0x2de1d2);}function _0x449d11(){const _0x406de9=_0xe32ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5d68(_0x352a7c(_0x4973e9)),_0x35551c=window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe32ab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x406de9);return _0x35551c?window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39f21a(_0x35551c),0x10)*_0xdd445d:null;}function _0xf7196c(_0x177986){return new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2aa7c7,_0x5d4ed2)=>{_0x177986[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x2aa7c7,_0x5d4ed2),window[_0xe32ab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d4ed2,0x3dfe1021^_0x2fa9a9);});}}_0x22037f[_0xe32ab([0x6f,0x6e])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24a169,_0x4b7b89)=>{if(_0x4b7b89[0x0]!=_0x4973e9)return _0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b7b89[0x1]={..._0x4b7b89[0x1],[_0xe32ab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e1b4f};},{[_0xe32ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe32ab([0x68,0x69,0x67,0x68])}),_0x22037f[_0xe32ab([0x6f,0x6e])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1588d3=>{_0x589532(_0x1588d3[_0xe32ab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfeeae5=!0x0,_0x2deb13(_0x1588d3[_0xe32ab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe32ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe32ab([0x6c,0x6f,0x77])}),_0x119ab9[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>{_0xfeeae5||_0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd6c230(){return _0x22037f[_0xe32ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe32ab([0x76,0x69,0x65,0x77])][_0xe32ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe32ab([0x61,0x75,0x74,0x6f]);}function _0x5f27c4(){_0x22037f[_0xe32ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe32ab([0x76,0x69,0x65,0x77])][_0xe32ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe32ab([0x61,0x75,0x74,0x6f]);}}function _0x431353(_0x394439){const _0x2c569c=[new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x865f6=>setTimeout(_0x865f6,0x3df6fa2d^_0x2fa9a9)),_0x119ab9[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fbb6e=>{let _0x58c2c6=0x0;_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x6f,0x6e])](_0xe32ab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c6d3a,_0x5c1ad8)=>{_0x5c1ad8[0x0][_0xe32ab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58c2c6++,_0x58c2c6==(0x3dffc519^_0x2fa9a9)&&(_0x7fbb6e(),_0x4c6d3a[_0xe32ab([0x6f,0x66,0x66])]());});}))];return window[_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe32ab([0x72,0x61,0x63,0x65])](_0x2c569c)[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>_0x394439);}async function _0x54f679(){await _0x119ab9,_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48d5d4,_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48d5d4,_0x22037f[_0xe32ab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb37a24(_0x2a6267){const _0x3ac107=_0x4ed8b2();_0x22037f[_0x3ac107]=_0xe32ab([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a6267,_0x2a6267!=_0xe32ab([0x56,0x61,0x6c,0x69,0x64])&&_0x54f679();}function _0x4ed8b2(){const _0x2485a9=window[_0xe32ab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe32ab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe32ab([0x6e,0x6f,0x77])]())[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe32ab([0x2e]),'');let _0x28a325=_0xe32ab([0x6e]);for(let _0x4496ef=0x0;_0x4496ef<_0x2485a9[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4496ef+=0x2){let _0x86690d=window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2485a9[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4496ef,_0x4496ef+0x2));_0x86690d>=_0x16ed24[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x86690d-=_0x16ed24[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28a325+=_0x16ed24[_0x86690d];}return _0x28a325;}function _0x283741(){const _0x40b35b=_0x5db1ef[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e]));if(0x3!=_0x40b35b[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4aae1a(_0x40b35b[0x1]);function _0x4aae1a(_0x141d0c){const _0x16f262=_0x20a07c(_0x141d0c);return _0x16f262&&_0x2c32db()?_0x16f262:null;function _0x2c32db(){const _0x3e93ba=_0x16f262[_0xe32ab([0x6a,0x74,0x69])],_0x3c7112=window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e93ba[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e93ba[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x700319={..._0x16f262,[_0xe32ab([0x6a,0x74,0x69])]:_0x3e93ba[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e93ba[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x700319[_0xe32ab([0x76,0x63])],_0x352a7c(_0x700319)==_0x3c7112;}}}async function _0x3a25f7(){let _0x399c4d=!0x0;try{const _0x55b5dc=_0x5db1ef[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e])),[_0xa5cce3,_0x122248,_0x3719e5]=_0x55b5dc;return _0x4948df(_0xa5cce3),await _0x35725a(_0xa5cce3,_0x122248,_0x3719e5),_0x399c4d;}catch{return!0x1;}function _0x4948df(_0xea3300){const _0x312c36=_0x20a07c(_0xea3300);_0x312c36&&_0x312c36[_0xe32ab([0x61,0x6c,0x67])]==_0xe32ab([0x45,0x53,0x32,0x35,0x36])||(_0x399c4d=!0x1);}async function _0x35725a(_0x5529ed,_0x214590,_0x146b24){const _0xad9a3b=window[_0xe32ab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe32ab([0x66,0x72,0x6f,0x6d])](_0x503af4(_0x146b24),_0x3e888c=>_0x3e888c[_0xe32ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x433928=new window[(_0xe32ab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe32ab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5529ed+_0xe32ab([0x2e])+_0x214590),_0x7bfc7=window[_0xe32ab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe32ab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7bfc7)return;const _0x572e28=await _0x7bfc7[_0xe32ab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe32ab([0x6a,0x77,0x6b]),_0xe1e4b9,{[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x45,0x43,0x44,0x53,0x41]),[_0xe32ab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe32ab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7bfc7[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x45,0x43,0x44,0x53,0x41]),[_0xe32ab([0x68,0x61,0x73,0x68])]:{[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x572e28,_0xad9a3b,_0x433928)||(_0x399c4d=!0x1);}}function _0x20a07c(_0x4b170d){return _0x4b170d[_0xe32ab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe32ab([0x65,0x79]))?JSON[_0xe32ab([0x70,0x61,0x72,0x73,0x65])](_0x503af4(_0x4b170d)):null;}function _0x503af4(_0xf625f9){return window[_0xe32ab([0x61,0x74,0x6f,0x62])](_0xf625f9[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe32ab([0x2b]))[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe32ab([0x2f])));}function _0x352a7c(_0x22deb1){let _0x10bac8=0x1505;function _0x4547fe(_0x21283e){for(let _0x3f4bfa=0x0;_0x3f4bfa<_0x21283e[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f4bfa++){const _0x397fae=_0x21283e[_0xe32ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f4bfa);_0x10bac8=(_0x10bac8<<0x5)+_0x10bac8+_0x397fae,_0x10bac8&=_0x10bac8;}}function _0x377b9d(_0x288bd7){Array[_0xe32ab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x288bd7)?_0x288bd7[_0xe32ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x377b9d):_0x288bd7&&typeof _0x288bd7==_0xe32ab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe32ab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x288bd7)[_0xe32ab([0x73,0x6f,0x72,0x74])]()[_0xe32ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fb65e,_0x3de37d])=>{_0x4547fe(_0x3fb65e),_0x377b9d(_0x3de37d);}):_0x4547fe(window[_0xe32ab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x288bd7));}return _0x377b9d(_0x22deb1),_0x10bac8>>>0x0;}function _0x1c5d68(_0x47337e){return _0x47337e[_0xe32ab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe32ab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe32ab([0x30]));}function _0x39f21a(_0x5adcec){return _0x5adcec[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe32ab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe32ab([0x6a,0x6f,0x69,0x6e])]('');}function _0x48d5d4(){}function _0xe32ab(_0x2fd837){const _0x36ce86=_0x4a71;return _0x2fd837[_0x36ce86(0x201)](_0x49fca9=>String[_0x36ce86(0x1e6)](_0x49fca9))[_0x36ce86(0x202)]('');}_0xb37a24(await _0x5398bd());}(this);}[_0x3bccf7(0x1fc)](){const _0x11ad4c=_0x3bccf7,_0xc37133=this[_0x11ad4c(0x22b)][_0x11ad4c(0x1ee)];_0xc37133[_0x11ad4c(0x207)](_0x20ac8c=>{const _0x481b3d=_0x11ad4c,_0x12eb89=_0xc37133[_0x481b3d(0x216)][_0x481b3d(0x237)][_0x481b3d(0x1e9)]();let _0x351fde=0x0;for(const _0x45ae08 of _0x12eb89){const _0x103ec4=Vt+':'+_0x351fde;if(_0xc37133[_0x481b3d(0x24a)][_0x481b3d(0x1e8)](_0x103ec4))_0x20ac8c[_0x481b3d(0x231)](_0x103ec4,{'range':_0x45ae08});else{if(_0x45ae08[_0x481b3d(0x1fd)][_0x481b3d(0x206)]){const _0x125ebe=_0x45ae08[_0x481b3d(0x1fd)][_0x481b3d(0x248)](({item:_0x536fe8})=>!_0xc37133[_0x481b3d(0x242)][_0x481b3d(0x217)](_0x536fe8),{'boundaries':_0x45ae08});_0x20ac8c[_0x481b3d(0x1ef)](_0x103ec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x20ac8c[_0x481b3d(0x226)](_0x125ebe,_0x45ae08[_0x481b3d(0x240)])});}else _0x20ac8c[_0x481b3d(0x1ef)](_0x103ec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45ae08});}_0x351fde++;}});}[_0x3bccf7(0x21f)](){const _0x1caa1c=_0x3bccf7,_0x7cc186=this[_0x1caa1c(0x22b)][_0x1caa1c(0x1ee)],_0x2710e3=Array[_0x1caa1c(0x205)](this[_0x1caa1c(0x22b)][_0x1caa1c(0x1ee)][_0x1caa1c(0x24a)][_0x1caa1c(0x1e3)](Vt));_0x2710e3[_0x1caa1c(0x221)]&&_0x7cc186[_0x1caa1c(0x207)](_0x31927b=>{const _0x148d27=_0x1caa1c;_0x2710e3[_0x148d27(0x20d)](_0x426c7e=>{const _0xf7b8a=_0x148d27;_0x31927b[_0xf7b8a(0x1ff)](_0x426c7e);});});}[_0x3bccf7(0x249)](_0x4d14e2,_0x50965d){const _0x2880d6=_0x3bccf7,_0x5694b9=this[_0x2880d6(0x1ea)](),_0x48fa14=_0x50965d||_0x5694b9[_0x2880d6(0x24c)]();this[_0x2880d6(0x22b)][_0x2880d6(0x1ee)][_0x2880d6(0x204)](_0x48fa14)&&this[_0x2880d6(0x22b)][_0x2880d6(0x1ee)][_0x2880d6(0x207)](_0x16a411=>{const _0x377707=_0x2880d6;this[_0x377707(0x21f)](),_0x50965d||this[_0x377707(0x20b)](_0x16a411,_0x5694b9),this[_0x377707(0x245)]({'insertAt':_0x48fa14,'writer':_0x16a411,'html':_0x4d14e2});});}[_0x3bccf7(0x22c)](_0x18aa2a){const _0x147523=_0x3bccf7,{model:_0x5596a2}=this[_0x147523(0x22b)],_0x421145=this[_0x147523(0x1ea)]();_0x5596a2[_0x147523(0x207)](()=>{const _0x2db944=_0x147523,_0xe184f2=this[_0x2db944(0x239)](_0x18aa2a,_0x421145)||this[_0x2db944(0x1e7)](_0x421145);this[_0x2db944(0x249)](_0x18aa2a,_0xe184f2);});}[_0x3bccf7(0x1ea)](){const _0x5461ac=_0x3bccf7,_0x2ae477=this[_0x5461ac(0x22b)][_0x5461ac(0x1ee)],_0x176a0b=Array[_0x5461ac(0x205)](_0x2ae477[_0x5461ac(0x24a)][_0x5461ac(0x1e3)](Vt))[_0x5461ac(0x201)](_0x2bd365=>_0x2bd365[_0x5461ac(0x23a)]());return _0x2ae477[_0x5461ac(0x222)](_0x176a0b);}[_0x3bccf7(0x245)]({writer:_0x34c551,html:_0x56d04a,insertAt:_0xf7e6e2}){const _0x18c01b=_0x3bccf7,{view:_0x13f677}=this[_0x18c01b(0x22b)][_0x18c01b(0x21c)],_0xfee7d6=this[_0x18c01b(0x22b)][_0x18c01b(0x247)][_0x18c01b(0x212)](_0x4fc660),_0x2371cc=new Ft();_0x2371cc[_0x18c01b(0x21a)](_0x18c01b(0x210),_0x56d04a);const _0x3f9570=new ClipboardEvent(_0x18c01b(0x1f7),{'clipboardData':_0x2371cc}),_0xe5f872=new _0x22fe80(_0x13f677,_0x3f9570,{'dataTransfer':new _0x30fc3c(_0x2371cc)});_0x34c551[_0x18c01b(0x209)](_0xf7e6e2);const _0x5ada49=(_0x57ebbb,_0x323f92)=>{const _0x15efbb=_0x18c01b;_0x323f92[_0x15efbb(0x225)]&&_0x34c551[_0x15efbb(0x209)](_0x323f92[_0x15efbb(0x225)]);};_0xfee7d6[_0x18c01b(0x227)](_0x18c01b(0x24d),_0x5ada49,{'priority':_0x18c01b(0x235)}),_0x13f677[_0x18c01b(0x216)][_0x18c01b(0x215)](_0x18c01b(0x1f7),_0xe5f872),_0xfee7d6[_0x18c01b(0x23f)](_0x18c01b(0x24d),_0x5ada49);}[_0x3bccf7(0x1e7)](_0x4f45d5){const _0xc70241=_0x3bccf7,{model:_0x8bbc3e}=this[_0xc70241(0x22b)],_0x36c25b=Array[_0xc70241(0x205)](_0x4f45d5[_0xc70241(0x24e)]());return _0x36c25b[_0xc70241(0x221)]?_0x8bbc3e[_0xc70241(0x1ec)](_0x36c25b[_0xc70241(0x22e)]()):_0x4f45d5[_0xc70241(0x208)]();}[_0x3bccf7(0x239)](_0x28ea6a,_0x1e0160){const _0x3a4aac=_0x3bccf7,{model:_0x3c8d6e,plugins:_0x56c201}=this[_0x3a4aac(0x22b)];if(_0x56c201[_0x3a4aac(0x1e8)](_0x3a4aac(0x1e4))){const _0x2ab2f5=_0x56c201[_0x3a4aac(0x212)](_0x3a4aac(0x1e4))[_0x3a4aac(0x21b)](_0x1e0160);if(_0x2ab2f5[_0x3a4aac(0x221)]){const _0x355a39=this[_0x3a4aac(0x20f)](_0x28ea6a),_0x371cb6=this[_0x3a4aac(0x22d)](_0x2ab2f5,_0x355a39);return _0x3c8d6e[_0x3a4aac(0x1f9)](_0x371cb6,0x0);}}return null;}[_0x3bccf7(0x20f)](_0x3ec94e){const _0x1d181b=_0x3bccf7,_0x51a538=this[_0x1d181b(0x22b)][_0x1d181b(0x247)][_0x1d181b(0x212)](_0x1d181b(0x1e4)),_0x29c806=this[_0x1d181b(0x22b)][_0x1d181b(0x232)][_0x1d181b(0x219)](_0x3ec94e),_0x42c565=Array[_0x1d181b(0x205)](_0x29c806[_0x1d181b(0x1f3)]())[_0x1d181b(0x1f4)](_0x14f481=>_0x14f481['is'](_0x1d181b(0x236),_0x1d181b(0x21d)));let _0xca9cd0=0x0;return _0x42c565[_0x1d181b(0x20d)](_0x356906=>{const _0x4c3ddd=_0x1d181b;_0xca9cd0+=_0x51a538[_0x4c3ddd(0x1eb)](_0x356906);}),_0xca9cd0;}[_0x3bccf7(0x22d)](_0x2d8b8e,_0x4b0d14){const _0x2be020=_0x3bccf7,_0x18f961=this[_0x2be020(0x22b)][_0x2be020(0x247)][_0x2be020(0x212)](_0x2be020(0x1e4)),_0x57fc84=_0x18f961[_0x2be020(0x244)](_0x2d8b8e),_0x23f020=_0x18f961[_0x2be020(0x230)](_0x2d8b8e),_0x600932=_0x57fc84[_0x2be020(0x243)]+0x1,_0x8484b4=_0x23f020[_0x2be020(0x1fb)],_0x194f55=_0x2d8b8e[0x0][_0x2be020(0x1f6)](_0x2be020(0x21d));for(let _0x311450=0x0;_0x311450<_0x4b0d14;_0x311450++)_0x18f961[_0x2be020(0x241)](_0x194f55,{'at':_0x600932});return _0x194f55[_0x2be020(0x22f)](_0x600932)[_0x2be020(0x22f)](_0x8484b4);}[_0x3bccf7(0x20b)](_0x53a514,_0x703e95){const _0x1f8343=_0x3bccf7,{plugins:_0x4d79eb}=this[_0x1f8343(0x22b)],{model:_0x317f45}=_0x53a514;if(!_0x4d79eb[_0x1f8343(0x1e8)](_0x1f8343(0x1e4)))return;_0x4d79eb[_0x1f8343(0x212)](_0x1f8343(0x1e4))[_0x1f8343(0x21b)](_0x703e95)[_0x1f8343(0x221)]&&_0x317f45[_0x1f8343(0x1f1)](_0x703e95);}}
|
|
23
|
+
function _0x40c1(_0x10cc15,_0x341ecf){const _0x1d2d87=_0x1d2d();return _0x40c1=function(_0x40c105,_0x1eebc4){_0x40c105=_0x40c105-0x197;let _0x17ca4c=_0x1d2d87[_0x40c105];return _0x17ca4c;},_0x40c1(_0x10cc15,_0x341ecf);}const _0xf90718=_0x40c1;(function(_0x457cdd,_0x2f5dde){const _0x1cca1a=_0x40c1,_0x194ee1=_0x457cdd();while(!![]){try{const _0x4212eb=parseInt(_0x1cca1a(0x1c0))/0x1+parseInt(_0x1cca1a(0x1f3))/0x2+-parseInt(_0x1cca1a(0x202))/0x3*(parseInt(_0x1cca1a(0x1ed))/0x4)+-parseInt(_0x1cca1a(0x1b8))/0x5+-parseInt(_0x1cca1a(0x1fc))/0x6+parseInt(_0x1cca1a(0x1a3))/0x7+parseInt(_0x1cca1a(0x1a2))/0x8*(parseInt(_0x1cca1a(0x1cd))/0x9);if(_0x4212eb===_0x2f5dde)break;else _0x194ee1['push'](_0x194ee1['shift']());}catch(_0x81b746){_0x194ee1['push'](_0x194ee1['shift']());}}}(_0x1d2d,0x9c9db));import{uid as _0x46b583}from'ckeditor5/src/utils.js';function _0x1d2d(){const _0xb475d8=['getColumnIndexes','4PpyzmX','href','removeMarker','_pasteHTMLUsingClipboard','ai.assistant.useTheme','addClass','2307104XXRZBK','_getTableRowCountFromContent','afterInit','createPositionAt','paste','start','fire','ck-fake-ai-selection_collapsed','editor','4933782ECPBTv','off','change','getRanges','join','_getDefaultInsertBelowPosition','457035DRXvDq','schema','insertContentBelow','insertRows','DataTransfer','map','getLastPosition','ck-ai-assistant-ui_theme','editing','_createEmptyTableRows','selection','pluginName','end','1739960WuZhWP','1735552ZbGmSc','getSelectedTableCells','createSelection','setData','forEach','isPremiumPlugin','markerRange','resultRange','editingDowncast','getChildren','lowest','getRange','createUIElement','filter','first','plugins','length','model','element','TableUtils','getRowIndexes','2254775GemIpI','pop','getRows','findAncestor','fromCharCode','last','setSelection','document','448113cYcRjo','getChild','isCollapsed','isAtEnd','getLastMatchingPosition','contentInsertion','config','canEditAt','_prepareTableInsertBelowPosition','push','markers','addMarker','table','9IYpOjl','span','for','_getAISelection','AIAssistantEditing','ai-ui','createPositionAfter','getSelectedBlocks','isContent','markerToHighlight','get','_resetContentOfSelectedTableCells','init','getFirstRange','hideFakeVisualSelection','text/html','ck-fake-ai-selection','updateMarker','from','showFakeVisualSelection','data','markerToElement','getMarkersGroup','deleteContent','has','createRange','insertContent','once','parse','isOfficialPlugin','conversion'];_0x1d2d=function(){return _0xb475d8;};return _0x1d2d();}import{Plugin as _0x19d530}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x27f224}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x26e663,ViewDataTransfer as _0x5d96c3}from'ckeditor5/src/engine.js';const dt=globalThis[_0xf90718(0x199)],pt=_0xf90718(0x1d2);export class AIAssistantEditing extends _0x19d530{static get[_0xf90718(0x1a0)](){const _0x205459=_0xf90718;return _0x205459(0x1d1);}static get[_0xf90718(0x1ea)](){return!0x0;}static get[_0xf90718(0x1a8)](){return!0x0;}[_0xf90718(0x1d9)](){const _0x181175=_0xf90718,{editor:_0x4a7e0d}=this,_0x21198f=[_0x181175(0x1dd)];_0x4a7e0d[_0x181175(0x1c6)][_0x181175(0x1d7)](_0x181175(0x1f1))&&_0x21198f[_0x181175(0x1c9)](_0x181175(0x19c)),_0x4a7e0d[_0x181175(0x1eb)][_0x181175(0x1cf)](_0x181175(0x1ab))[_0x181175(0x1d6)]({'model':pt,'view':{'classes':_0x21198f,'priority':0xc}}),_0x4a7e0d[_0x181175(0x1eb)][_0x181175(0x1cf)](_0x181175(0x1ab))[_0x181175(0x1e2)]({'model':pt,'view':(_0x2aed9e,{writer:_0x5d40da})=>{const _0x4ff385=_0x181175;if(!_0x2aed9e[_0x4ff385(0x1a9)][_0x4ff385(0x1c2)])return null;const _0x1121d6=_0x5d40da[_0x4ff385(0x1af)](_0x4ff385(0x1ce));return _0x5d40da[_0x4ff385(0x1f2)]([_0x4ff385(0x1dd),_0x4ff385(0x1fa)],_0x1121d6),_0x1121d6;}});}[_0xf90718(0x1f5)](){!async function(_0x4ff03d){const _0x5b6485=_0x3bd442([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]),_0x25105b=0x3dffc4e1,_0x59ab80=0x3df8b311^_0x25105b,_0x2d93f9=window[_0x3bd442([0x44,0x61,0x74,0x65])][_0x3bd442([0x6e,0x6f,0x77])](),_0x199578=_0x4ff03d[_0x3bd442([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2dffc7=new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327584=>{_0x199578[_0x3bd442([0x6f,0x6e,0x63,0x65])](_0x3bd442([0x72,0x65,0x61,0x64,0x79]),_0x327584);}),_0x59e8c2={[_0x3bd442([0x6b,0x74,0x79])]:_0x3bd442([0x45,0x43]),[_0x3bd442([0x75,0x73,0x65])]:_0x3bd442([0x73,0x69,0x67]),[_0x3bd442([0x63,0x72,0x76])]:_0x3bd442([0x50,0x2d,0x32,0x35,0x36]),[_0x3bd442([0x78])]:_0x3bd442([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]),[_0x3bd442([0x79])]:_0x3bd442([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]),[_0x3bd442([0x61,0x6c,0x67])]:_0x3bd442([0x45,0x53,0x32,0x35,0x36])},_0x2b3d77=_0x199578[_0x3bd442([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bd442([0x67,0x65,0x74])](_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fe5b4(){let _0x355b01,_0x5c2e00=null,_0x130ad0=null;try{if(_0x2b3d77==_0x3bd442([0x47,0x50,0x4c]))return _0x3bd442([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x355b01=_0x479f4b(),!_0x355b01)return _0x3bd442([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x355b01[_0x3bd442([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x130ad0=_0x1f777a(_0x355b01[_0x3bd442([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x355b01[_0x3bd442([0x6a,0x74,0x69])])),await _0x351969()?_0x24aa6b()?_0xb0b102()?_0x3bd442([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d5180()?(_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd442([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c2e00=_0x488432(_0x3bd442([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd442([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c2e00=_0x488432(_0x3bd442([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x130373()):_0x3bd442([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd442([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bd442([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bd442([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb0b102(){const _0x47aa8b=[_0x3bd442([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bd442([0x74,0x72,0x69,0x61,0x6c])][_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d93f9/0x3e8:0xe10*_0x59ab80;return _0x355b01[_0x3bd442([0x65,0x78,0x70])]<_0x47aa8b;}function _0x24aa6b(){const _0x5ee1b7=_0x355b01[_0x3bd442([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ee1b7&&(!!_0x5ee1b7[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd442([0x2a]))||!!_0x5ee1b7[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd442([0x41,0x49])));}function _0x4d5180(){const _0x5add3f=_0x40c1,_0x21266a=_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21266a||0x0==_0x21266a[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x378f85}=new URL(window[_0x3bd442([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5add3f(0x1ee)]);if(_0x21266a[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378f85))return!0x0;const _0x4ff0c6=_0x378f85[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e]));return _0x21266a[_0x3bd442([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4330e0=>_0x4330e0[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd442([0x2a])))[_0x3bd442([0x6d,0x61,0x70])](_0xf341a5=>_0xf341a5[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e])))[_0x3bd442([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a7ffe=>_0x5a7ffe[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ff0c6[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd442([0x6d,0x61,0x70])](_0xba1d71=>Array(_0x4ff0c6[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xba1d71[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd442([0x66,0x69,0x6c,0x6c])](_0xba1d71[0x0]===_0x3bd442([0x2a])?_0x3bd442([0x2a]):'')[_0x3bd442([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xba1d71))[_0x3bd442([0x73,0x6f,0x6d,0x65])](_0x1cd493=>_0x4ff0c6[_0x3bd442([0x65,0x76,0x65,0x72,0x79])]((_0x1a31be,_0x5c6986)=>_0x1cd493[_0x5c6986]===_0x1a31be||_0x1cd493[_0x5c6986]===_0x3bd442([0x2a])));}function _0x130373(){return _0x5c2e00&&_0x130ad0?new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21c3d1,_0x2d8cdc)=>{_0x5c2e00[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x21c3d1,_0x2d8cdc),_0x130ad0[_0x3bd442([0x74,0x68,0x65,0x6e])](_0xe9c6d9=>{_0xe9c6d9!=_0x3bd442([0x56,0x61,0x6c,0x69,0x64])&&_0x21c3d1(_0xe9c6d9);},_0x2d8cdc);}):_0x5c2e00||_0x130ad0||_0x3bd442([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f777a(_0x3ec1b8,_0x328966){return new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fbf56=>{if(_0xcd0de())return _0x3fbf56(_0x3bd442([0x56,0x61,0x6c,0x69,0x64]));_0x496207(),_0x199578[_0x3bd442([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bd442([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36513f=!0x1;const _0x2cd210=_0x46b583();function _0x4f7a86(_0x5d21f0){return!!_0x5d21f0&&(typeof _0x5d21f0===_0x3bd442([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d21f0===_0x3bd442([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d21f0[_0x3bd442([0x74,0x68,0x65,0x6e])]===_0x3bd442([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d21f0[_0x3bd442([0x63,0x61,0x74,0x63,0x68])]===_0x3bd442([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f0867(_0x1a4776){_0x251d7a(_0x1a4776)[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x44baa9=>{if(!_0x44baa9||_0x44baa9[_0x3bd442([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bd442([0x6f,0x6b]))return _0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d65c9(_0x255255(_0x2cd210+_0x328966))!=_0x44baa9[_0x3bd442([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd442([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x3c0c86=>(_0x19e6ab(),_0x3c0c86),()=>{const _0x5d3b74=_0x1112d1();return null==_0x5d3b74?(_0x19e6ab(),_0x3bd442([0x56,0x61,0x6c,0x69,0x64])):_0x3bd442(_0x2d93f9-_0x5d3b74>(0x19f340e1^_0x25105b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x3fbf56)[_0x3bd442([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fbf56(_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15094f=0x3dc92a61^_0x25105b;function _0x19e6ab(){const _0x36711a=_0x3bd442([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d65c9(_0x255255(_0x3ec1b8)),_0xf7b7fd=_0x58d903(_0x3d65c9(window[_0x3bd442([0x4d,0x61,0x74,0x68])][_0x3bd442([0x63,0x65,0x69,0x6c])](_0x2d93f9/_0x15094f)));window[_0x3bd442([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd442([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36711a,_0xf7b7fd);}function _0x1112d1(){const _0x126309=_0x3bd442([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d65c9(_0x255255(_0x3ec1b8)),_0x3c03b2=window[_0x3bd442([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd442([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x126309);return _0x3c03b2?window[_0x3bd442([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58d903(_0x3c03b2),0x10)*_0x15094f:null;}function _0x251d7a(_0x442111){return new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ef3a0,_0x1482ff)=>{_0x442111[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x1ef3a0,_0x1482ff),window[_0x3bd442([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1482ff,0x3dfe1021^_0x25105b);});}}_0x199578[_0x3bd442([0x6f,0x6e])](_0x3bd442([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52820a,_0x32a399)=>{if(_0x32a399[0x0]!=_0x3ec1b8)return _0x3fbf56(_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32a399[0x1]={..._0x32a399[0x1],[_0x3bd442([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cd210};},{[_0x3bd442([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd442([0x68,0x69,0x67,0x68])}),_0x199578[_0x3bd442([0x6f,0x6e])](_0x3bd442([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x82dc6c=>{_0x4f7a86(_0x82dc6c[_0x3bd442([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36513f=!0x0,_0x5f0867(_0x82dc6c[_0x3bd442([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bd442([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd442([0x6c,0x6f,0x77])}),_0x2dffc7[_0x3bd442([0x74,0x68,0x65,0x6e])](()=>{_0x36513f||_0x3fbf56(_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xcd0de(){return _0x199578[_0x3bd442([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd442([0x76,0x69,0x65,0x77])][_0x3bd442([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bd442([0x61,0x75,0x74,0x6f]);}function _0x496207(){_0x199578[_0x3bd442([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd442([0x76,0x69,0x65,0x77])][_0x3bd442([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bd442([0x61,0x75,0x74,0x6f]);}}function _0x488432(_0x2799b0){const _0x325ca1=[new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369032=>setTimeout(_0x369032,0x3df6fa2d^_0x25105b)),_0x2dffc7[_0x3bd442([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27e137=>{let _0x2a4eed=0x0;_0x199578[_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd442([0x6f,0x6e])](_0x3bd442([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1facde,_0x4550eb)=>{_0x4550eb[0x0][_0x3bd442([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a4eed++,_0x2a4eed==(0x3dffc519^_0x25105b)&&(_0x27e137(),_0x1facde[_0x3bd442([0x6f,0x66,0x66])]());});}))];return window[_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bd442([0x72,0x61,0x63,0x65])](_0x325ca1)[_0x3bd442([0x74,0x68,0x65,0x6e])](()=>_0x2799b0);}async function _0x1dd186(){await _0x2dffc7,_0x199578[_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd442([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3564dd,_0x199578[_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd442([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3564dd,_0x199578[_0x3bd442([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x598934(_0x2a9c36){const _0x41d850=_0x376826();_0x199578[_0x41d850]=_0x3bd442([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a9c36,_0x2a9c36!=_0x3bd442([0x56,0x61,0x6c,0x69,0x64])&&_0x1dd186();}function _0x376826(){const _0x20d3b8=window[_0x3bd442([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bd442([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bd442([0x6e,0x6f,0x77])]())[_0x3bd442([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bd442([0x2e]),'');let _0x1869c3=_0x3bd442([0x6e]);for(let _0x220304=0x0;_0x220304<_0x20d3b8[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x220304+=0x2){let _0x29e53b=window[_0x3bd442([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20d3b8[_0x3bd442([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x220304,_0x220304+0x2));_0x29e53b>=_0x5b6485[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29e53b-=_0x5b6485[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1869c3+=_0x5b6485[_0x29e53b];}return _0x1869c3;}function _0x479f4b(){const _0x176620=_0x2b3d77[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e]));if(0x3!=_0x176620[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59416e(_0x176620[0x1]);function _0x59416e(_0x4b4cd7){const _0x454fc9=_0x34f408(_0x4b4cd7);return _0x454fc9&&_0x3790da()?_0x454fc9:null;function _0x3790da(){const _0x36366a=_0x454fc9[_0x3bd442([0x6a,0x74,0x69])],_0x3fa7c9=window[_0x3bd442([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36366a[_0x3bd442([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36366a[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44336f={..._0x454fc9,[_0x3bd442([0x6a,0x74,0x69])]:_0x36366a[_0x3bd442([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36366a[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44336f[_0x3bd442([0x76,0x63])],_0x255255(_0x44336f)==_0x3fa7c9;}}}async function _0x351969(){let _0x58152a=!0x0;try{const _0x55b5a3=_0x2b3d77[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e])),[_0x501049,_0x53236b,_0x3c8743]=_0x55b5a3;return _0xfb9be4(_0x501049),await _0x5d7fb1(_0x501049,_0x53236b,_0x3c8743),_0x58152a;}catch{return!0x1;}function _0xfb9be4(_0x591e17){const _0x542524=_0x34f408(_0x591e17);_0x542524&&_0x542524[_0x3bd442([0x61,0x6c,0x67])]==_0x3bd442([0x45,0x53,0x32,0x35,0x36])||(_0x58152a=!0x1);}async function _0x5d7fb1(_0x17c6f9,_0x13e2e1,_0x4dadcb){const _0xc404c0=window[_0x3bd442([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bd442([0x66,0x72,0x6f,0x6d])](_0x32946a(_0x4dadcb),_0x8f4b=>_0x8f4b[_0x3bd442([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53f5b9=new window[(_0x3bd442([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bd442([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17c6f9+_0x3bd442([0x2e])+_0x13e2e1),_0xfa005e=window[_0x3bd442([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bd442([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfa005e)return;const _0xf1757e=await _0xfa005e[_0x3bd442([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bd442([0x6a,0x77,0x6b]),_0x59e8c2,{[_0x3bd442([0x6e,0x61,0x6d,0x65])]:_0x3bd442([0x45,0x43,0x44,0x53,0x41]),[_0x3bd442([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bd442([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bd442([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfa005e[_0x3bd442([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bd442([0x6e,0x61,0x6d,0x65])]:_0x3bd442([0x45,0x43,0x44,0x53,0x41]),[_0x3bd442([0x68,0x61,0x73,0x68])]:{[_0x3bd442([0x6e,0x61,0x6d,0x65])]:_0x3bd442([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf1757e,_0xc404c0,_0x53f5b9)||(_0x58152a=!0x1);}}function _0x34f408(_0x3a223f){return _0x3a223f[_0x3bd442([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bd442([0x65,0x79]))?JSON[_0x3bd442([0x70,0x61,0x72,0x73,0x65])](_0x32946a(_0x3a223f)):null;}function _0x32946a(_0x2efd22){return window[_0x3bd442([0x61,0x74,0x6f,0x62])](_0x2efd22[_0x3bd442([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bd442([0x2b]))[_0x3bd442([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bd442([0x2f])));}function _0x255255(_0x5ce31d){let _0xca182a=0x1505;function _0x3a34b7(_0x186ef2){for(let _0x3cef3a=0x0;_0x3cef3a<_0x186ef2[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cef3a++){const _0x1f2b30=_0x186ef2[_0x3bd442([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cef3a);_0xca182a=(_0xca182a<<0x5)+_0xca182a+_0x1f2b30,_0xca182a&=_0xca182a;}}function _0x169742(_0x2cc5cf){Array[_0x3bd442([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2cc5cf)?_0x2cc5cf[_0x3bd442([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x169742):_0x2cc5cf&&typeof _0x2cc5cf==_0x3bd442([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bd442([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2cc5cf)[_0x3bd442([0x73,0x6f,0x72,0x74])]()[_0x3bd442([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cf675,_0x7fc0b2])=>{_0x3a34b7(_0x2cf675),_0x169742(_0x7fc0b2);}):_0x3a34b7(window[_0x3bd442([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2cc5cf));}return _0x169742(_0x5ce31d),_0xca182a>>>0x0;}function _0x3d65c9(_0x3746f9){return _0x3746f9[_0x3bd442([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bd442([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bd442([0x30]));}function _0x58d903(_0x232d90){return _0x232d90[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bd442([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bd442([0x6a,0x6f,0x69,0x6e])]('');}function _0x3564dd(){}function _0x3bd442(_0x5acbaf){const _0x40aadb=_0x40c1;return _0x5acbaf[_0x40aadb(0x19a)](_0x2e0f7b=>String[_0x40aadb(0x1bc)](_0x2e0f7b))[_0x40aadb(0x200)]('');}_0x598934(await _0x3fe5b4());}(this);}[_0xf90718(0x1e0)](){const _0x3dedb0=_0xf90718,_0x340123=this[_0x3dedb0(0x1fb)][_0x3dedb0(0x1b4)];_0x340123[_0x3dedb0(0x1fe)](_0x49adc7=>{const _0x3e1a3d=_0x3dedb0,_0x361a92=_0x340123[_0x3e1a3d(0x1bf)][_0x3e1a3d(0x19f)][_0x3e1a3d(0x1ff)]();let _0xc2ac8d=0x0;for(const _0x1470b6 of _0x361a92){const _0x32f3bf=pt+':'+_0xc2ac8d;if(_0x340123[_0x3e1a3d(0x1ca)][_0x3e1a3d(0x1e5)](_0x32f3bf))_0x49adc7[_0x3e1a3d(0x1de)](_0x32f3bf,{'range':_0x1470b6});else{if(_0x1470b6[_0x3e1a3d(0x1f8)][_0x3e1a3d(0x1c3)]){const _0x1b4756=_0x1470b6[_0x3e1a3d(0x1f8)][_0x3e1a3d(0x1c4)](({item:_0x6b99e7})=>!_0x340123[_0x3e1a3d(0x203)][_0x3e1a3d(0x1d5)](_0x6b99e7),{'boundaries':_0x1470b6});_0x49adc7[_0x3e1a3d(0x1cb)](_0x32f3bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49adc7[_0x3e1a3d(0x1e6)](_0x1b4756,_0x1470b6[_0x3e1a3d(0x1a1)])});}else _0x49adc7[_0x3e1a3d(0x1cb)](_0x32f3bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1470b6});}_0xc2ac8d++;}});}[_0xf90718(0x1db)](){const _0xdc6e44=_0xf90718,_0x453148=this[_0xdc6e44(0x1fb)][_0xdc6e44(0x1b4)],_0x8a8a34=Array[_0xdc6e44(0x1df)](this[_0xdc6e44(0x1fb)][_0xdc6e44(0x1b4)][_0xdc6e44(0x1ca)][_0xdc6e44(0x1e3)](pt));_0x8a8a34[_0xdc6e44(0x1b3)]&&_0x453148[_0xdc6e44(0x1fe)](_0x108d0b=>{const _0x4e4a61=_0xdc6e44;_0x8a8a34[_0x4e4a61(0x1a7)](_0x145245=>{const _0x34bb56=_0x4e4a61;_0x108d0b[_0x34bb56(0x1ef)](_0x145245);});});}[_0xf90718(0x1e7)](_0x16ef12,_0x21dba4){const _0x35964a=_0xf90718,_0x584170=this[_0x35964a(0x1d0)](),_0xdf25d0=_0x21dba4||_0x584170[_0x35964a(0x1da)]();this[_0x35964a(0x1fb)][_0x35964a(0x1b4)][_0x35964a(0x1c7)](_0xdf25d0)&&this[_0x35964a(0x1fb)][_0x35964a(0x1b4)][_0x35964a(0x1fe)](_0x2700b7=>{const _0x83a606=_0x35964a;this[_0x83a606(0x1db)](),_0x21dba4||this[_0x83a606(0x1d8)](_0x2700b7,_0x584170),this[_0x83a606(0x1f0)]({'insertAt':_0xdf25d0,'writer':_0x2700b7,'html':_0x16ef12});});}[_0xf90718(0x197)](_0x1afe18){const _0x2a587f=_0xf90718,{model:_0x476eee}=this[_0x2a587f(0x1fb)],_0xcc0481=this[_0x2a587f(0x1d0)]();_0x476eee[_0x2a587f(0x1fe)](()=>{const _0x202792=_0x2a587f,_0x1cdcaa=this[_0x202792(0x1c8)](_0x1afe18,_0xcc0481)||this[_0x202792(0x201)](_0xcc0481);this[_0x202792(0x1e7)](_0x1afe18,_0x1cdcaa);});}[_0xf90718(0x1d0)](){const _0x4e14e6=_0xf90718,_0x1c8f22=this[_0x4e14e6(0x1fb)][_0x4e14e6(0x1b4)],_0x242345=Array[_0x4e14e6(0x1df)](_0x1c8f22[_0x4e14e6(0x1ca)][_0x4e14e6(0x1e3)](pt))[_0x4e14e6(0x19a)](_0x4ff008=>_0x4ff008[_0x4e14e6(0x1ae)]());return _0x1c8f22[_0x4e14e6(0x1a5)](_0x242345);}[_0xf90718(0x1f0)]({writer:_0xb07e86,html:_0xcefc74,insertAt:_0x45362d}){const _0x43f0b2=_0xf90718,{view:_0x54ec84}=this[_0x43f0b2(0x1fb)][_0x43f0b2(0x19d)],_0x1b878d=this[_0x43f0b2(0x1fb)][_0x43f0b2(0x1b2)][_0x43f0b2(0x1d7)](_0x27f224),_0x5703bd=new dt();_0x5703bd[_0x43f0b2(0x1a6)](_0x43f0b2(0x1dc),_0xcefc74);const _0x33a93b=new ClipboardEvent(_0x43f0b2(0x1f7),{'clipboardData':_0x5703bd}),_0x5667d3=new _0x26e663(_0x54ec84,_0x33a93b,{'dataTransfer':new _0x5d96c3(_0x5703bd)});_0xb07e86[_0x43f0b2(0x1be)](_0x45362d);const _0x2aec71=(_0x4aec76,_0x19a828)=>{const _0x52954=_0x43f0b2;_0x19a828[_0x52954(0x1aa)]&&_0xb07e86[_0x52954(0x1be)](_0x19a828[_0x52954(0x1aa)]);};_0x1b878d[_0x43f0b2(0x1e8)](_0x43f0b2(0x1c5),_0x2aec71,{'priority':_0x43f0b2(0x1ad)}),_0x54ec84[_0x43f0b2(0x1bf)][_0x43f0b2(0x1f9)](_0x43f0b2(0x1f7),_0x5667d3),_0x1b878d[_0x43f0b2(0x1fd)](_0x43f0b2(0x1c5),_0x2aec71);}[_0xf90718(0x201)](_0x368316){const _0x18f4c2=_0xf90718,{model:_0x290a57}=this[_0x18f4c2(0x1fb)],_0x40584f=Array[_0x18f4c2(0x1df)](_0x368316[_0x18f4c2(0x1d4)]());return _0x40584f[_0x18f4c2(0x1b3)]?_0x290a57[_0x18f4c2(0x1d3)](_0x40584f[_0x18f4c2(0x1b9)]()):_0x368316[_0x18f4c2(0x19b)]();}[_0xf90718(0x1c8)](_0x1bd3fa,_0x5d190f){const _0x393b92=_0xf90718,{model:_0x2fea64,plugins:_0xe3f84d}=this[_0x393b92(0x1fb)];if(_0xe3f84d[_0x393b92(0x1e5)](_0x393b92(0x1b6))){const _0x76b0d9=_0xe3f84d[_0x393b92(0x1d7)](_0x393b92(0x1b6))[_0x393b92(0x1a4)](_0x5d190f);if(_0x76b0d9[_0x393b92(0x1b3)]){const _0x3df1ba=this[_0x393b92(0x1f4)](_0x1bd3fa),_0x21655a=this[_0x393b92(0x19e)](_0x76b0d9,_0x3df1ba);return _0x2fea64[_0x393b92(0x1f6)](_0x21655a,0x0);}}return null;}[_0xf90718(0x1f4)](_0x42b55f){const _0x2a55e5=_0xf90718,_0x55d87a=this[_0x2a55e5(0x1fb)][_0x2a55e5(0x1b2)][_0x2a55e5(0x1d7)](_0x2a55e5(0x1b6)),_0x213b1b=this[_0x2a55e5(0x1fb)][_0x2a55e5(0x1e1)][_0x2a55e5(0x1e9)](_0x42b55f),_0x1689de=Array[_0x2a55e5(0x1df)](_0x213b1b[_0x2a55e5(0x1ac)]())[_0x2a55e5(0x1b0)](_0x120a5d=>_0x120a5d['is'](_0x2a55e5(0x1b5),_0x2a55e5(0x1cc)));let _0x2458a3=0x0;return _0x1689de[_0x2a55e5(0x1a7)](_0xce8ce1=>{const _0x33affc=_0x2a55e5;_0x2458a3+=_0x55d87a[_0x33affc(0x1ba)](_0xce8ce1);}),_0x2458a3;}[_0xf90718(0x19e)](_0x197a67,_0x40ede2){const _0x2ff5c0=_0xf90718,_0x5644d2=this[_0x2ff5c0(0x1fb)][_0x2ff5c0(0x1b2)][_0x2ff5c0(0x1d7)](_0x2ff5c0(0x1b6)),_0x39abe2=_0x5644d2[_0x2ff5c0(0x1b7)](_0x197a67),_0x57901a=_0x5644d2[_0x2ff5c0(0x1ec)](_0x197a67),_0x1cd36c=_0x39abe2[_0x2ff5c0(0x1bd)]+0x1,_0x55c723=_0x57901a[_0x2ff5c0(0x1b1)],_0x391eb0=_0x197a67[0x0][_0x2ff5c0(0x1bb)](_0x2ff5c0(0x1cc));for(let _0x2abef0=0x0;_0x2abef0<_0x40ede2;_0x2abef0++)_0x5644d2[_0x2ff5c0(0x198)](_0x391eb0,{'at':_0x1cd36c});return _0x391eb0[_0x2ff5c0(0x1c1)](_0x1cd36c)[_0x2ff5c0(0x1c1)](_0x55c723);}[_0xf90718(0x1d8)](_0x5bdaaa,_0x3ecdec){const _0x40b5f8=_0xf90718,{plugins:_0x103041}=this[_0x40b5f8(0x1fb)],{model:_0x3ee111}=_0x5bdaaa;if(!_0x103041[_0x40b5f8(0x1e5)](_0x40b5f8(0x1b6)))return;_0x103041[_0x40b5f8(0x1d7)](_0x40b5f8(0x1b6))[_0x40b5f8(0x1a4)](_0x3ecdec)[_0x40b5f8(0x1b3)]&&_0x3ee111[_0x40b5f8(0x1e4)](_0x3ecdec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52f099=_0x3e9e;(function(_0xc2b62e,_0x525c34){const _0x4d6453=_0x3e9e,_0x1ec123=_0xc2b62e();while(!![]){try{const _0x4aa8ca=-parseInt(_0x4d6453(0x20f))/0x1*(parseInt(_0x4d6453(0x20e))/0x2)+parseInt(_0x4d6453(0x1d9))/0x3*(parseInt(_0x4d6453(0x1be))/0x4)+parseInt(_0x4d6453(0x188))/0x5+parseInt(_0x4d6453(0x185))/0x6*(-parseInt(_0x4d6453(0x18a))/0x7)+-parseInt(_0x4d6453(0x1aa))/0x8*(parseInt(_0x4d6453(0x212))/0x9)+parseInt(_0x4d6453(0x227))/0xa*(parseInt(_0x4d6453(0x198))/0xb)+parseInt(_0x4d6453(0x1f2))/0xc;if(_0x4aa8ca===_0x525c34)break;else _0x1ec123['push'](_0x1ec123['shift']());}catch(_0xf8b1be){_0x1ec123['push'](_0x1ec123['shift']());}}}(_0x17ed,0x7fea1));import{Plugin as _0x9eb238}from'ckeditor5/src/core.js';import{IconMagicWand as _0x42ec7e,IconRobotPencil as _0x44c99d}from'ckeditor5/src/icons.js';import{first as _0x376934,CKEditorError as _0x1f169e}from'ckeditor5/src/utils.js';import{createDropdown as _0x297d73,addMenuToDropdown as _0x44d818,ButtonView as _0x5d7c1b,MenuBarMenuListItemButtonView as _0x1aee99,Dialog as _0x1b3c9d,DialogViewPosition as _0x5c900d,MenuBarMenuView as _0xbb3816,MenuBarMenuListView as _0x14ace5,MenuBarMenuListItemView as _0xc52802}from'ckeditor5/src/ui.js';function _0x3e9e(_0x55e587,_0x4b1d12){const _0x17ed6e=_0x17ed();return _0x3e9e=function(_0x3e9e42,_0x581cdf){_0x3e9e42=_0x3e9e42-0x17f;let _0x4e1519=_0x17ed6e[_0x3e9e42];return _0x4e1519;},_0x3e9e(_0x55e587,_0x4b1d12);}import{normalizeCommandsConfig as _0x803027,UNGROUPED_COMMANDS_GROUP_ID as _0x166b98}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2fa7e3}from'./aiassistantediting.js';import{AIAdapter as _0x385691}from'./adapters/aiadapter.js';import{getTranslation as _0x4eb821}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1eeb8a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x248123}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2c023c}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x495547}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const Ft=globalThis[_0x52f099(0x191)];import{ClipboardMarkersUtils as _0x41d8d9}from'ckeditor5/src/clipboard.js';function _0x17ed(){const _0x38d276=['requires','destroy','_createAIAssistantUIButton','DataTransfer','show','insertContent','update','change:enabledCommandsIds','ai.assistant.disabledElements','polite','2957427qEcegu','focus','command:','evaluationLimit','addMany','enabledCommandsIds','groupId','aiLicenseKeyUsageLimit','prompt','ck-ai-assistant-button\x20','_showLicenseError','ai.assistant.commands','wasMoved','_aiAssistantController','commands','expired','isOn','insertContentBelow','7771328GOHfMh','aiLicenseKeyNotAllowed','isPremiumPlugin','_formView','isEnabled','execute','custom','_populateMenuBarMenu','filter','invalid','values','aiLicenseKeyInvalid','change:isError','text/html','showFakeVisualSelection','getRanges','selection','getData','_getMenuBarGroupButtons','forEach','2387492qQYTMk','tableOfContents','init','errorView','AI\x20Commands','length','licenseKey','map','getLimitElement','aiAssistant','requiresContent','once','aiLicenseKeyTrialLimit','contentArea','editing','AI\x20Assistant','promptView','menuBar:aiAssistant','announce','editor','change:isProcessing','menuitemcheckbox','buttonView','ck-ai-commands-dropdown\x20','items','sort','_commandDefinitions','3JhdUpR','panelView','children','order','splice','setSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuView','view','source','comment','change:value','from','aiLicenseKeyExpired','aiCommands','textAdapter','reset','_getResolvedCommandsDefinitions','get','push','aiLicenseKeyValid','pluginName','queryView','define','INSERT','4821000YzXVXy','render','trialLimit','usageLimit','_forceMarkersCopy','_dialog','replace','locale','hideFakeVisualSelection','ai.assistant.contentAreaCssClass','AIAssistant','<p>','AIAssistantUI','_licenseKeyCheckInterval','config','trim','aiLicenseKeyEvaluationLimit','_onExecute','domainLimit','copy','listenTo','text','ai-commands-config-order-collision','_initView','_initAriaAiStatusChangeAnnouncements','body','showAIAssistant','menuBar:aiCommands','28zyPaAY','18251cGBpKH','bind','aiLicenseKeyDomainLimit','9eacLfn','componentFactory','label','\x20ck-ai-assistant-ui_theme','hideUI','buttons','set','</p>','featureNotAllowed','document','isFlat','media','rawHtml','ck-ai-assistant-ui','EDITOR_TOP_SIDE','Generated\x20content:\x20%0','add','_uiCssClasses','schema','_aiAdapter','model','20vSlmRt','delegate','includes','isOfficialPlugin','AI\x20is\x20writing','fire','currentContext','replaceContent','hide','getSelectedBlocks','groupLabel','updatePosition','updateView','fieldView','getSelectedElement','ai.assistant.useTheme','402lpINwB','plugins','REPLACE','4420975iWzzxh','isCollapsed','69965PUVNtc','change','showUI','menuPanelClass'];_0x17ed=function(){return _0x38d276;};return _0x17ed();}import{ViewDocumentDomEventData as _0x2e95f4,ViewDataTransfer as _0x4d3ebb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x9eb238{[_0x52f099(0x1c4)];[_0x52f099(0x1ff)];[_0x52f099(0x1f7)];[_0x52f099(0x1ad)];[_0x52f099(0x225)];[_0x52f099(0x1a5)];[_0x52f099(0x223)]='';static get[_0x52f099(0x1ee)](){const _0x4218de=_0x52f099;return _0x4218de(0x1fe);}static get[_0x52f099(0x22a)](){return!0x0;}static get[_0x52f099(0x1ac)](){return!0x0;}static get[_0x52f099(0x18e)](){return[_0x41d8d9,_0x2fa7e3,_0x385691,_0x1b3c9d];}constructor(_0x3e84a3){const _0x30e304=_0x52f099;super(_0x3e84a3),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x196),[_0x30e304(0x21d),_0x30e304(0x21e),_0x30e304(0x1bf)]),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x1fb),''),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x184),!0x0),this[_0x30e304(0x223)]=_0x30e304(0x21f)+(_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1eb)](_0x30e304(0x184))?_0x30e304(0x215):'');}[_0x52f099(0x1c0)](){const _0x3c348c=_0x52f099,{editor:_0x54e6c0}=this;this[_0x3c348c(0x225)]=_0x54e6c0[_0x3c348c(0x186)][_0x3c348c(0x1eb)](_0x385691),this[_0x3c348c(0x1f7)]=_0x54e6c0[_0x3c348c(0x186)][_0x3c348c(0x1eb)](_0x1b3c9d),this[_0x3c348c(0x1ad)]=null,this[_0x3c348c(0x1d8)]=this[_0x3c348c(0x1ea)]();const _0x16509e=new _0x1eeb8a(_0x54e6c0,Array[_0x3c348c(0x1e5)](this[_0x3c348c(0x1d8)][_0x3c348c(0x1b4)]()));_0x54e6c0[_0x3c348c(0x1a6)][_0x3c348c(0x222)](_0x3c348c(0x20c),_0x16509e),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1e7),_0x228cfd=>{const _0x9d9297=_0x3c348c,_0xae450b=_0x297d73(_0x228cfd);return _0xae450b[_0x9d9297(0x218)]({'class':_0x9d9297(0x1d5)+this[_0x9d9297(0x223)]}),_0xae450b[_0x9d9297(0x1d4)][_0x9d9297(0x218)]({'label':_0x4eb821(_0x228cfd,_0x9d9297(0x1c2)),'icon':_0x42ec7e,'tooltip':!0x0}),_0xae450b['on'](_0x9d9297(0x1af),_0x2ebd33=>this[_0x9d9297(0x203)](_0x2ebd33[_0x9d9297(0x1e2)]['id'])),_0x44d818(_0xae450b,_0x54e6c0['ui'][_0x9d9297(0x1e1)][_0x9d9297(0x20b)],function(_0x3e302b){const _0x5071d4=_0x9d9297,_0xe886ac=_0x803027(_0x3e302b[_0x5071d4(0x200)][_0x5071d4(0x1eb)](_0x5071d4(0x1a3)),_0x3e302b[_0x5071d4(0x1f9)]),_0x2706a4=yi(_0x3e302b,_0xe886ac)[_0x5071d4(0x1b2)](_0x466aa6=>_0x466aa6[_0x5071d4(0x1a6)][_0x5071d4(0x1c3)]);if(0x1===_0x2706a4[_0x5071d4(0x1c3)])return yi(_0x3e302b,_0x2706a4[0x0][_0x5071d4(0x1a6)])[_0x5071d4(0x1c5)](_0x166994=>({'id':_0x166994['id'],'label':_0x166994[_0x5071d4(0x214)]}));return _0x2706a4[_0x5071d4(0x1c5)](_0x15be94=>{const _0x1fc16a=_0x5071d4,{groupId:_0x440a2d,groupLabel:_0x4f9f43,commands:_0x130fa3}=_0x15be94,_0x443ad2=yi(_0x3e302b,_0x130fa3)[_0x1fc16a(0x1c5)](_0x187b66=>({'id':_0x187b66['id'],'label':_0x187b66[_0x1fc16a(0x214)]}));return{'id':_0x440a2d,'menu':_0x4f9f43||_0x440a2d,'children':_0x443ad2};});}(_0x54e6c0),{'ariaLabel':_0x4eb821(_0x228cfd,_0x9d9297(0x1c2))}),_0xae450b[_0x9d9297(0x1e0)][_0x9d9297(0x18d)]=_0x9d9297(0x1d5)+this[_0x9d9297(0x223)],_0x16509e['on'](_0x9d9297(0x195),_0x38df73),_0xae450b[_0x9d9297(0x1e0)][_0x9d9297(0x1c9)](_0x9d9297(0x1f3),_0x38df73),_0xae450b;function _0x38df73(){const _0x69b01d=_0x9d9297;_0xae450b[_0x69b01d(0x1ae)]=_0x16509e[_0x69b01d(0x19d)][_0x69b01d(0x1c3)]>0x0;for(const _0x2a7631 of _0xae450b[_0x69b01d(0x1e0)][_0x69b01d(0x217)])_0x2a7631[_0x69b01d(0x1ae)]=_0x16509e[_0x69b01d(0x19d)][_0x69b01d(0x229)](_0x2a7631['id']);}}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x20d),_0x46adc5=>{const _0x227118=_0x3c348c,_0x59e029=new _0xbb3816(_0x46adc5);_0x59e029[_0x227118(0x1d4)][_0x227118(0x218)]({'label':_0x4eb821(_0x46adc5,_0x227118(0x1c2)),'icon':_0x42ec7e}),_0x59e029[_0x227118(0x210)](_0x227118(0x1ae))['to'](_0x16509e,_0x227118(0x19d),_0x234aca=>_0x234aca[_0x227118(0x1c3)]>0x0);const _0x18bb43=_0x803027(_0x54e6c0[_0x227118(0x200)][_0x227118(0x1eb)](_0x227118(0x1a3)),_0x46adc5);return this[_0x227118(0x1b1)](_0x16509e,_0x59e029,_0x18bb43,_0x47bf68=>this[_0x227118(0x203)](_0x47bf68)),_0x59e029;}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1c7),()=>{const _0x5693db=_0x3c348c,_0x42540d=this[_0x5693db(0x190)](_0x5d7c1b);return _0x42540d[_0x5693db(0x218)]({'tooltip':!0x0,'class':_0x5693db(0x1a1)+this[_0x5693db(0x223)]}),_0x42540d;}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1cf),()=>{const _0x1529ba=_0x3c348c,_0x1b1282=this[_0x1529ba(0x190)](_0x1aee99);return _0x1b1282[_0x1529ba(0x218)]({'role':_0x1529ba(0x1d3)}),_0x1b1282;}),this[_0x3c348c(0x1c4)]=this[_0x3c348c(0x1d1)][_0x3c348c(0x200)][_0x3c348c(0x1eb)](_0x3c348c(0x1c4));const _0x7dcb6f=this[_0x3c348c(0x1d1)];this[_0x3c348c(0x1ff)]=setInterval(()=>{const _0x3357f4=_0x3c348c;let _0x1e1daa;for(const _0x3e5c4e in _0x7dcb6f){const _0x31cc41=_0x3e5c4e,_0x41367d=_0x7dcb6f[_0x31cc41];if(_0x3357f4(0x1ed)==_0x41367d||_0x3357f4(0x1b5)==_0x41367d||_0x3357f4(0x1e6)==_0x41367d||_0x3357f4(0x211)==_0x41367d||_0x3357f4(0x1ab)==_0x41367d||_0x3357f4(0x202)==_0x41367d||_0x3357f4(0x1ca)==_0x41367d||_0x3357f4(0x19f)==_0x41367d){delete _0x7dcb6f[_0x31cc41],_0x1e1daa=_0x41367d,clearInterval(this[_0x3357f4(0x1ff)]),this[_0x3357f4(0x1ff)]=void 0x0;break;}}_0x3357f4(0x1b5)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1b3)),_0x3357f4(0x1e6)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1a7)),_0x3357f4(0x211)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x204)),_0x3357f4(0x1ab)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x21a),_0x3357f4(0x1fc)),_0x3357f4(0x202)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x19b)),_0x3357f4(0x1ca)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1f4)),_0x3357f4(0x19f)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1f5));},0x3e8);}[_0x52f099(0x18f)](){const _0x47b3fe=_0x52f099;super[_0x47b3fe(0x18f)](),this[_0x47b3fe(0x1ff)]&&clearInterval(this[_0x47b3fe(0x1ff)]);}[_0x52f099(0x18c)](_0x542e28='',_0x47974f='',_0x9fd855=_0x52f099(0x1b0)){const _0x548031=_0x52f099,_0x44f756=this[_0x548031(0x1d1)],_0x2d3e0f=_0x44f756[_0x548031(0x1cc)][_0x548031(0x1e1)],_0x100fa0=_0x44f756[_0x548031(0x186)][_0x548031(0x1eb)](_0x2fa7e3),_0x141bc9=_0x44f756[_0x548031(0x186)][_0x548031(0x1eb)](_0x41d8d9);_0x100fa0[_0x548031(0x1b8)]();const _0x23aaa9=new Ft(),_0x588d7e=new ClipboardEvent(_0x548031(0x205),{'clipboardData':_0x23aaa9}),_0x45056f=new _0x4d3ebb(_0x23aaa9),_0x38a885=new _0x2e95f4(_0x2d3e0f,_0x588d7e,{'dataTransfer':_0x45056f});_0x141bc9[_0x548031(0x1f6)](_0x548031(0x1e3),()=>{const _0x4d1616=_0x548031;_0x2d3e0f[_0x4d1616(0x21b)][_0x4d1616(0x22c)](_0x4d1616(0x205),_0x38a885);}),this[_0x548031(0x1ad)]||(this[_0x548031(0x209)](),this[_0x548031(0x1a5)]=new _0x248123(_0x44f756,this[_0x548031(0x225)][_0x548031(0x1e8)],this[_0x548031(0x1ad)]));let _0x56190f=_0x45056f[_0x548031(0x1bb)](_0x548031(0x1b7));const _0x584111=_0x44f756[_0x548031(0x226)][_0x548031(0x21b)][_0x548031(0x1ba)],_0x1c9081=Array[_0x548031(0x1e5)](_0x584111[_0x548031(0x1b9)]());0x1===_0x1c9081[_0x548031(0x1c3)]&&_0x1c9081[0x0][_0x548031(0x21c)]&&!_0x584111[_0x548031(0x183)]()&&''!==_0x56190f[_0x548031(0x1f8)](/ /g,'')[_0x548031(0x201)]()&&(_0x56190f=_0x548031(0x1fd)+_0x56190f+_0x548031(0x219)),this[_0x548031(0x1a5)][_0x548031(0x181)]({'actionId':_0x9fd855,'query':_0x542e28,'htmlContent':_0x56190f,'label':_0x47974f,'mainActionLabel':_0x495547[_0x44f756[_0x548031(0x226)][_0x548031(0x21b)][_0x548031(0x1ba)][_0x548031(0x189)]?_0x548031(0x1f1):_0x548031(0x187)]}),_0x548031(0x1c7)!==this[_0x548031(0x1f7)]['id']?this[_0x548031(0x1f7)][_0x548031(0x192)]({'id':_0x548031(0x1c7),'icon':_0x44c99d,'title':_0x4eb821(this[_0x548031(0x1d1)][_0x548031(0x1f9)],_0x548031(0x1cd)),'content':this[_0x548031(0x1ad)],'position':_0x5c900d[_0x548031(0x220)],'onShow':()=>{const _0x1eaa43=_0x548031;this[_0x1eaa43(0x1ad)][_0x1eaa43(0x199)]();},'onHide':()=>{const _0x2942b8=_0x548031;this[_0x2942b8(0x1a5)][_0x2942b8(0x1e9)](),_0x100fa0[_0x2942b8(0x1fa)]();}}):this[_0x548031(0x1f7)][_0x548031(0x1e1)][_0x548031(0x1a4)]||this[_0x548031(0x1f7)][_0x548031(0x1e1)][_0x548031(0x180)]();}[_0x52f099(0x216)](){const _0x4cfa69=_0x52f099;this[_0x4cfa69(0x1f7)][_0x4cfa69(0x22f)]();}[_0x52f099(0x1ea)](){const _0x4a3c3c=_0x52f099,_0x43f45b=new Map(),_0x2cbce6=_0x803027(this[_0x4a3c3c(0x1d1)][_0x4a3c3c(0x200)][_0x4a3c3c(0x1eb)](_0x4a3c3c(0x1a3)),this[_0x4a3c3c(0x1d1)][_0x4a3c3c(0x1f9)]);for(const _0x2c6bdf of _0x2cbce6)for(const _0x4a90bc of _0x2c6bdf[_0x4a3c3c(0x1a6)])_0x43f45b[_0x4a3c3c(0x218)](_0x4a90bc['id'],{..._0x4a90bc,'groupId':_0x2c6bdf[_0x4a3c3c(0x19e)],'groupLabel':_0x2c6bdf[_0x4a3c3c(0x17f)]||_0x2c6bdf[_0x4a3c3c(0x19e)]});return _0x43f45b;}[_0x52f099(0x190)](_0x571db5){const _0x12af05=_0x52f099,_0x12a521=this[_0x12af05(0x1d1)],_0x3f37b8=_0x12a521[_0x12af05(0x1a6)][_0x12af05(0x1eb)](_0x12af05(0x20c)),_0x4c4243=new _0x571db5(_0x12a521[_0x12af05(0x1f9)]);return _0x4c4243[_0x12af05(0x218)]({'label':_0x4eb821(_0x12a521[_0x12af05(0x1f9)],_0x12af05(0x1cd)),'icon':_0x44c99d,'isToggleable':!0x0}),_0x4c4243[_0x12af05(0x210)](_0x12af05(0x1ae))['to'](_0x3f37b8),_0x4c4243[_0x12af05(0x210)](_0x12af05(0x1a8))['to'](this[_0x12af05(0x1f7)],'id',_0x16aa57=>_0x12af05(0x1c7)===_0x16aa57),this[_0x12af05(0x206)](_0x4c4243,_0x12af05(0x1af),()=>{const _0x584b0c=_0x12af05;_0x4c4243[_0x584b0c(0x1a8)]?this[_0x584b0c(0x216)]():_0x3f37b8[_0x584b0c(0x1af)]();}),_0x4c4243;}[_0x52f099(0x209)](){const _0x2d877b=_0x52f099,_0x319a62=this[_0x2d877b(0x1d1)][_0x2d877b(0x186)][_0x2d877b(0x1eb)](_0x2fa7e3);this[_0x2d877b(0x1ad)]=new _0x2c023c(this[_0x2d877b(0x1d1)][_0x2d877b(0x1f9)],this[_0x2d877b(0x223)],this[_0x2d877b(0x1d1)][_0x2d877b(0x200)][_0x2d877b(0x1eb)](_0x2d877b(0x1fb))),this[_0x2d877b(0x1ad)]['on'](_0x2d877b(0x1e4),()=>{const _0x9dfefd=_0x2d877b;this[_0x9dfefd(0x1f7)][_0x9dfefd(0x1e1)][_0x9dfefd(0x1a4)]||this[_0x9dfefd(0x1f7)][_0x9dfefd(0x1e1)][_0x9dfefd(0x180)]();}),this[_0x2d877b(0x1ad)][_0x2d877b(0x1ce)][_0x2d877b(0x1ef)][_0x2d877b(0x182)]['on'](_0x2d877b(0x194),()=>{const _0x379a73=_0x2d877b;this[_0x379a73(0x1f7)][_0x379a73(0x1e1)][_0x379a73(0x1a4)]||this[_0x379a73(0x1f7)][_0x379a73(0x1e1)][_0x379a73(0x180)]();}),this[_0x2d877b(0x206)](this[_0x2d877b(0x1ad)],_0x2d877b(0x22e),()=>{const _0x14ae5b=_0x2d877b;_0x319a62[_0x14ae5b(0x193)](this[_0x14ae5b(0x1a5)][_0x14ae5b(0x22d)]),this[_0x14ae5b(0x216)]();}),this[_0x2d877b(0x206)](this[_0x2d877b(0x1ad)],_0x2d877b(0x1a9),()=>{const _0x4d7995=_0x2d877b;_0x319a62[_0x4d7995(0x1a9)](this[_0x4d7995(0x1a5)][_0x4d7995(0x22d)]),this[_0x4d7995(0x216)]();}),this[_0x2d877b(0x20a)]();}[_0x52f099(0x20a)](){const _0x280945=_0x52f099,{locale:_0x411f33,ui:{ariaLiveAnnouncer:_0x375d7e}}=this[_0x280945(0x1d1)];this[_0x280945(0x1ad)][_0x280945(0x1cb)]['on'](_0x280945(0x1d2),(_0x2e1c17,_0x28fef3,_0x43d757)=>{const _0x423094=_0x280945,_0x5bfc4e=this[_0x423094(0x1a5)][_0x423094(0x22d)];_0x43d757?_0x375d7e[_0x423094(0x1d0)](_0x4eb821(_0x411f33,_0x423094(0x22b))):_0x5bfc4e&&_0x375d7e[_0x423094(0x1d0)](_0x4eb821(_0x411f33,_0x423094(0x221),_0x5bfc4e),{'politeness':_0x423094(0x197),'isUnsafeHTML':!0x0});}),this[_0x280945(0x1ad)]['on'](_0x280945(0x1b6),(_0x524ecb,_0x3f695c,_0x5d52a6)=>{const _0x2db574=_0x280945;if(_0x5d52a6){const _0x1f82b7=this[_0x2db574(0x1ad)][_0x2db574(0x1c1)][_0x2db574(0x207)];_0x375d7e[_0x2db574(0x1d0)](_0x4eb821(_0x411f33,_0x2db574(0x1df),_0x1f82b7));}});}[_0x52f099(0x203)](_0x48ba7b){const _0x36535b=_0x52f099,_0x48f445=this[_0x36535b(0x1d8)][_0x36535b(0x1eb)](_0x48ba7b),_0x37bf7d=this[_0x36535b(0x1d1)],_0x5b3a93=_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x21b)][_0x36535b(0x1ba)],_0x12be3e=_0x37bf7d[_0x36535b(0x1a6)][_0x36535b(0x1eb)](_0x36535b(0x20c)),_0x561450=_0x37bf7d[_0x36535b(0x186)][_0x36535b(0x1eb)](_0x2fa7e3),_0x19882e=''+(_0x48f445[_0x36535b(0x19e)]!==_0x166b98?_0x48f445[_0x36535b(0x17f)]+':\x20':'')+_0x48f445[_0x36535b(0x214)];if(!0x1!==_0x48f445[_0x36535b(0x1c8)]&&_0x5b3a93[_0x36535b(0x189)]){const _0x248f84=_0x376934(_0x5b3a93[_0x36535b(0x230)]())||_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x224)][_0x36535b(0x1c6)](_0x5b3a93);_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x18b)](_0x268efd=>{const _0x1c6051=_0x36535b;_0x268efd[_0x1c6051(0x1de)](_0x248f84,'in');});}_0x561450[_0x36535b(0x1b8)](),_0x12be3e[_0x36535b(0x1af)](_0x48f445[_0x36535b(0x1a0)],_0x19882e,_0x36535b(0x19a)+_0x48ba7b);}[_0x52f099(0x1b1)](_0x23ea8d,_0x48247e,_0x16e6b4,_0x50bbe5){const _0xcb953a=_0x52f099,_0x56712b=this[_0xcb953a(0x1d1)],_0x37f161=_0x56712b[_0xcb953a(0x1f9)],_0x585705=new _0x14ace5(_0x37f161),_0x717d5f=yi(_0x56712b,_0x16e6b4)[_0xcb953a(0x1b2)](_0x5d99c7=>_0x5d99c7[_0xcb953a(0x1a6)][_0xcb953a(0x1c3)]);0x1===_0x717d5f[_0xcb953a(0x1c3)]?this[_0xcb953a(0x1bc)]({'command':_0x23ea8d,'commands':_0x717d5f[0x0][_0xcb953a(0x1a6)],'parentMenuView':_0x48247e,'onExecute':_0x50bbe5})[_0xcb953a(0x1bd)](_0x28c18c=>_0x585705[_0xcb953a(0x1d6)][_0xcb953a(0x222)](_0x28c18c)):_0x717d5f[_0xcb953a(0x1bd)](({groupId:_0x24eee1,groupLabel:_0x3ffd71,commands:_0x4b3d48})=>{const _0x2a7241=_0xcb953a,_0x30a414=new _0xc52802(_0x37f161,_0x48247e),_0x454140=new _0xbb3816(_0x37f161),_0x456f29=new _0x14ace5(_0x37f161),_0x4f7b9d=this[_0x2a7241(0x1bc)]({'command':_0x23ea8d,'commands':_0x4b3d48,'parentMenuView':_0x454140,'onExecute':_0x50bbe5});_0x454140[_0x2a7241(0x1d4)][_0x2a7241(0x218)]({'label':_0x3ffd71||_0x24eee1}),_0x454140[_0x2a7241(0x228)](_0x2a7241(0x1af))['to'](_0x48247e),_0x456f29[_0x2a7241(0x1d6)][_0x2a7241(0x19c)](_0x4f7b9d),_0x454140[_0x2a7241(0x1da)][_0x2a7241(0x1db)][_0x2a7241(0x222)](_0x456f29),_0x30a414[_0x2a7241(0x1db)][_0x2a7241(0x222)](_0x454140),_0x585705[_0x2a7241(0x1d6)][_0x2a7241(0x222)](_0x30a414);}),_0x48247e[_0xcb953a(0x1da)][_0xcb953a(0x1db)][_0xcb953a(0x222)](_0x585705);}[_0x52f099(0x1bc)]({command:_0x732720,commands:_0x2a2221,parentMenuView:_0x3ce72f,onExecute:_0x374db2}){const _0x2589e2=_0x52f099,_0x5dc6d0=this[_0x2589e2(0x1d1)],_0x1f66da=_0x5dc6d0[_0x2589e2(0x1f9)];return yi(_0x5dc6d0,_0x2a2221)[_0x2589e2(0x1c5)](_0x56e6be=>{const _0x22cb86=_0x2589e2,_0x4464f5=new _0xc52802(_0x1f66da,_0x3ce72f),_0x3efd57=new _0x1aee99(_0x1f66da);return _0x3efd57[_0x22cb86(0x218)]({'label':_0x56e6be[_0x22cb86(0x214)]}),_0x3efd57[_0x22cb86(0x228)](_0x22cb86(0x1af))['to'](_0x3ce72f),_0x3efd57['on'](_0x22cb86(0x1af),()=>_0x374db2(_0x56e6be['id'])),_0x3efd57[_0x22cb86(0x210)](_0x22cb86(0x1ae))['to'](_0x732720,_0x22cb86(0x19d),_0x46ecb2=>_0x46ecb2[_0x22cb86(0x229)](_0x56e6be['id'])),_0x4464f5[_0x22cb86(0x1db)][_0x22cb86(0x222)](_0x3efd57),_0x4464f5;});}}function vi(_0x20ea2e,_0x6d9976){const _0x4a4628=_0x52f099;return void 0x0!==_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0===_0x6d9976[_0x4a4628(0x1dc)]?0x1:void 0x0===_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0!==_0x6d9976[_0x4a4628(0x1dc)]?-0x1:void 0x0!==_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0!==_0x6d9976[_0x4a4628(0x1dc)]?_0x20ea2e[_0x4a4628(0x1dc)]-_0x6d9976[_0x4a4628(0x1dc)]:0x0;}function yi(_0x8cb88e,_0x3545fb){const _0x288b8f=_0x52f099;_0x3545fb[_0x288b8f(0x1d7)](vi);const _0xb8cc6c={},_0x204c71=[];for(const _0x20296f of _0x3545fb)if(void 0x0!==_0x20296f[_0x288b8f(0x1dc)]){if(_0x20296f[_0x288b8f(0x1dc)]in _0xb8cc6c)throw new _0x1f169e(_0x288b8f(0x208),_0x8cb88e,{'conflictingDefinitions':[_0x20296f,_0xb8cc6c[_0x20296f[_0x288b8f(0x1dc)]]]});_0xb8cc6c[_0x20296f[_0x288b8f(0x1dc)]]=_0x20296f,_0x204c71[_0x288b8f(0x1dd)](_0x20296f[_0x288b8f(0x1dc)],0x0,_0x20296f);}else _0x204c71[_0x288b8f(0x1ec)](_0x20296f);return _0x204c71;}
|
|
23
|
+
const _0x1533c9=_0x3a54;(function(_0x3ef7f2,_0x34f1be){const _0x566601=_0x3a54,_0x15cc90=_0x3ef7f2();while(!![]){try{const _0x30c39f=parseInt(_0x566601(0xb1))/0x1+parseInt(_0x566601(0xf7))/0x2+-parseInt(_0x566601(0x11f))/0x3*(-parseInt(_0x566601(0x9b))/0x4)+-parseInt(_0x566601(0xcf))/0x5*(parseInt(_0x566601(0x110))/0x6)+-parseInt(_0x566601(0x93))/0x7+-parseInt(_0x566601(0xde))/0x8*(-parseInt(_0x566601(0xe0))/0x9)+parseInt(_0x566601(0xa9))/0xa;if(_0x30c39f===_0x34f1be)break;else _0x15cc90['push'](_0x15cc90['shift']());}catch(_0x5d520d){_0x15cc90['push'](_0x15cc90['shift']());}}}(_0x4819,0xb7d66));import{Plugin as _0x44d3db}from'ckeditor5/src/core.js';import{IconMagicWand as _0xdfc3fb,IconRobotPencil as _0x475697}from'ckeditor5/src/icons.js';import{first as _0x31c0b7,CKEditorError as _0x2c17c9}from'ckeditor5/src/utils.js';import{createDropdown as _0x211f57,addMenuToDropdown as _0x34f181,ButtonView as _0x1fd6bd,MenuBarMenuListItemButtonView as _0x33c6f8,Dialog as _0xa4faf5,DialogViewPosition as _0x36e89b,MenuBarMenuView as _0xe7f99d,MenuBarMenuListView as _0x42ae4f,MenuBarMenuListItemView as _0x5041df}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x432a7b,UNGROUPED_COMMANDS_GROUP_ID as _0x17c029}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2bef2f}from'./aiassistantediting.js';import{AIAdapter as _0x46fd2e}from'./adapters/aiadapter.js';import{getTranslation as _0x5d78bc}from'./utils/common-translations.js';function _0x4819(){const _0x192786=['children','model','config','update','destroy','editor','plugins','once','aiLicenseKeyNotAllowed','2170950wWzFWy','commands','AI\x20Commands','editing','buttonView','contentArea','aiLicenseKeyTrialLimit','text/html','23842EByHRc','push','map','queryView','selection','isOn','licenseKey','wasMoved','aiLicenseKeyInvalid','insertContentBelow','body','init','getSelectedElement','_aiAssistantController','order','panelView','ck-ai-assistant-ui','_getMenuBarGroupButtons','DataTransfer','hideFakeVisualSelection','hide','promptView','expired','fire','from','delegate','schema','_forceMarkersCopy','requires','polite','300525HqtRQQ','menuitemcheckbox','isCollapsed','showAIAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','ck-ai-commands-dropdown\x20','_onExecute','INSERT','copy','_initAriaAiStatusChangeAnnouncements','\x20ck-ai-assistant-ui_theme','errorView','menuPanelClass','show','AI\x20Assistant','3971872doZIfv','requiresContent','18SZWwMF','_aiAdapter','get','values','isPremiumPlugin','menuBar:aiCommands','text','aiLicenseKeyDomainLimit','AIAssistantUI','aiLicenseKeyEvaluationLimit','rawHtml','REPLACE','getData','trialLimit','_licenseKeyCheckInterval','componentFactory','reset','sort','source','trim','enabledCommandsIds','prompt','menuView','1266720vrCdMw','</p>','add','isFlat','isOfficialPlugin','hideUI','splice','showUI','define','usageLimit','_formView','domainLimit','_populateMenuBarMenu','AI\x20is\x20writing','includes','pluginName','_uiCssClasses','updatePosition','groupId','invalid','_commandDefinitions','_initView','bind','buttons','ai-commands-config-order-collision','102LpsPJy','label','updateView','getRanges','tableOfContents','insertContent','execute','EDITOR_TOP_SIDE','comment','replaceContent','showFakeVisualSelection','announce','length','aiLicenseKeyUsageLimit','aiCommands','308565fmWWWS','media','ck-ai-assistant-button\x20','forEach','evaluationLimit','document','change:value','getSelectedBlocks','currentContext','ai.assistant.commands','_getResolvedCommandsDefinitions','replace','ai.assistant.disabledElements','textAdapter','_dialog','ai.assistant.useTheme','<p>','_createAIAssistantUIButton','change:enabledCommandsIds','setSelection','Generated\x20content:\x20%0','change','AIAssistant','aiLicenseKeyExpired','_showLicenseError','set','aiAssistant','addMany','fieldView','command:','view','filter','getLimitElement','ai.assistant.contentAreaCssClass','render','focus','10007179wIzOmM','change:isError','locale','groupLabel','menuBar:aiAssistant','custom','featureNotAllowed','change:isProcessing','52RINkeG','aiLicenseKeyValid','listenTo','isEnabled','items'];_0x4819=function(){return _0x192786;};return _0x4819();}import{ShowAIAssistantCommand as _0xf47d1e}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4e3be7}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x44f31f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x13fa0b}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x3a54(_0x2e9db4,_0x25f07c){const _0x481937=_0x4819();return _0x3a54=function(_0x3a5434,_0x5ea2d3){_0x3a5434=_0x3a5434-0x7b;let _0x129a5c=_0x481937[_0x3a5434];return _0x129a5c;},_0x3a54(_0x2e9db4,_0x25f07c);}const dt=globalThis[_0x1533c9(0xc3)];import{ClipboardMarkersUtils as _0x6cb3}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x256c3c,ViewDataTransfer as _0x197819}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x44d3db{[_0x1533c9(0xb7)];[_0x1533c9(0xee)];[_0x1533c9(0x7d)];[_0x1533c9(0x101)];[_0x1533c9(0xe1)];[_0x1533c9(0xbe)];[_0x1533c9(0x107)]='';static get[_0x1533c9(0x106)](){const _0x158218=_0x1533c9;return _0x158218(0xe8);}static get[_0x1533c9(0xfb)](){return!0x0;}static get[_0x1533c9(0xe4)](){return!0x0;}static get[_0x1533c9(0xcd)](){return[_0x6cb3,_0x2bef2f,_0x46fd2e,_0xa4faf5];}constructor(_0xf4277c){const _0x54b321=_0x1533c9;super(_0xf4277c),_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xff)](_0x54b321(0x7b),[_0x54b321(0x120),_0x54b321(0xea),_0x54b321(0x114)]),_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xff)](_0x54b321(0x90),''),_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xff)](_0x54b321(0x7e),!0x0),this[_0x54b321(0x107)]=_0x54b321(0xc1)+(_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xe2)](_0x54b321(0x7e))?_0x54b321(0xd9):'');}[_0x1533c9(0xbc)](){const _0x581993=_0x1533c9,{editor:_0x45dd4c}=this;this[_0x581993(0xe1)]=_0x45dd4c[_0x581993(0xa6)][_0x581993(0xe2)](_0x46fd2e),this[_0x581993(0x7d)]=_0x45dd4c[_0x581993(0xa6)][_0x581993(0xe2)](_0xa4faf5),this[_0x581993(0x101)]=null,this[_0x581993(0x10b)]=this[_0x581993(0x129)]();const _0x993b6d=new _0xf47d1e(_0x45dd4c,Array[_0x581993(0xc9)](this[_0x581993(0x10b)][_0x581993(0xe3)]()));_0x45dd4c[_0x581993(0xaa)][_0x581993(0xf9)](_0x581993(0xd2),_0x993b6d),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0x11e),_0x511b80=>{const _0x2c2aa6=_0x581993,_0x3a88db=_0x211f57(_0x511b80);return _0x3a88db[_0x2c2aa6(0x88)]({'class':_0x2c2aa6(0xd4)+this[_0x2c2aa6(0x107)]}),_0x3a88db[_0x2c2aa6(0xad)][_0x2c2aa6(0x88)]({'label':_0x5d78bc(_0x511b80,_0x2c2aa6(0xab)),'icon':_0xdfc3fb,'tooltip':!0x0}),_0x3a88db['on'](_0x2c2aa6(0x116),_0x5453eb=>this[_0x2c2aa6(0xd5)](_0x5453eb[_0x2c2aa6(0xf2)]['id'])),_0x34f181(_0x3a88db,_0x45dd4c['ui'][_0x2c2aa6(0x8d)][_0x2c2aa6(0xbb)],function(_0xebdbaa){const _0x1ac730=_0x2c2aa6,_0x94d652=_0x432a7b(_0xebdbaa[_0x1ac730(0xa2)][_0x1ac730(0xe2)](_0x1ac730(0x128)),_0xebdbaa[_0x1ac730(0x95)]),_0x4cd785=wi(_0xebdbaa,_0x94d652)[_0x1ac730(0x8e)](_0x4bd6c1=>_0x4bd6c1[_0x1ac730(0xaa)][_0x1ac730(0x11c)]);if(0x1===_0x4cd785[_0x1ac730(0x11c)])return wi(_0xebdbaa,_0x4cd785[0x0][_0x1ac730(0xaa)])[_0x1ac730(0xb3)](_0xe5b293=>({'id':_0xe5b293['id'],'label':_0xe5b293[_0x1ac730(0x111)]}));return _0x4cd785[_0x1ac730(0xb3)](_0x2a3d53=>{const _0x43f5fa=_0x1ac730,{groupId:_0x9daf7b,groupLabel:_0x1450b4,commands:_0x209642}=_0x2a3d53,_0xcb39ae=wi(_0xebdbaa,_0x209642)[_0x43f5fa(0xb3)](_0x3e2bb3=>({'id':_0x3e2bb3['id'],'label':_0x3e2bb3[_0x43f5fa(0x111)]}));return{'id':_0x9daf7b,'menu':_0x1450b4||_0x9daf7b,'children':_0xcb39ae};});}(_0x45dd4c),{'ariaLabel':_0x5d78bc(_0x511b80,_0x2c2aa6(0xab))}),_0x3a88db[_0x2c2aa6(0xf6)][_0x2c2aa6(0xdb)]=_0x2c2aa6(0xd4)+this[_0x2c2aa6(0x107)],_0x993b6d['on'](_0x2c2aa6(0x81),_0x550db8),_0x3a88db[_0x2c2aa6(0xf6)][_0x2c2aa6(0xa7)](_0x2c2aa6(0x91),_0x550db8),_0x3a88db;function _0x550db8(){const _0x4d0ef4=_0x2c2aa6;_0x3a88db[_0x4d0ef4(0x9e)]=_0x993b6d[_0x4d0ef4(0xf4)][_0x4d0ef4(0x11c)]>0x0;for(const _0xdad47e of _0x3a88db[_0x4d0ef4(0xf6)][_0x4d0ef4(0x10e)])_0xdad47e[_0x4d0ef4(0x9e)]=_0x993b6d[_0x4d0ef4(0xf4)][_0x4d0ef4(0x105)](_0xdad47e['id']);}}),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0xe5),_0x15a090=>{const _0x35b494=_0x581993,_0x5dd0de=new _0xe7f99d(_0x15a090);_0x5dd0de[_0x35b494(0xad)][_0x35b494(0x88)]({'label':_0x5d78bc(_0x15a090,_0x35b494(0xab)),'icon':_0xdfc3fb}),_0x5dd0de[_0x35b494(0x10d)](_0x35b494(0x9e))['to'](_0x993b6d,_0x35b494(0xf4),_0x37282e=>_0x37282e[_0x35b494(0x11c)]>0x0);const _0x2d1c27=_0x432a7b(_0x45dd4c[_0x35b494(0xa2)][_0x35b494(0xe2)](_0x35b494(0x128)),_0x15a090);return this[_0x35b494(0x103)](_0x993b6d,_0x5dd0de,_0x2d1c27,_0x138f26=>this[_0x35b494(0xd5)](_0x138f26)),_0x5dd0de;}),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0x89),()=>{const _0x29dae3=_0x581993,_0x3de3fc=this[_0x29dae3(0x80)](_0x1fd6bd);return _0x3de3fc[_0x29dae3(0x88)]({'tooltip':!0x0,'class':_0x29dae3(0x121)+this[_0x29dae3(0x107)]}),_0x3de3fc;}),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0x97),()=>{const _0x18fbee=_0x581993,_0x2ed655=this[_0x18fbee(0x80)](_0x33c6f8);return _0x2ed655[_0x18fbee(0x88)]({'role':_0x18fbee(0xd0)}),_0x2ed655;}),this[_0x581993(0xb7)]=this[_0x581993(0xa5)][_0x581993(0xa2)][_0x581993(0xe2)](_0x581993(0xb7));const _0x342966=this[_0x581993(0xa5)];this[_0x581993(0xee)]=setInterval(()=>{const _0x4febb1=_0x581993;let _0x395b8f;for(const _0x3699f9 in _0x342966){const _0x1e0cbc=_0x3699f9,_0x3e006b=_0x342966[_0x1e0cbc];if(_0x4febb1(0x9c)==_0x3e006b||_0x4febb1(0xb9)==_0x3e006b||_0x4febb1(0x86)==_0x3e006b||_0x4febb1(0xe7)==_0x3e006b||_0x4febb1(0xa8)==_0x3e006b||_0x4febb1(0xe9)==_0x3e006b||_0x4febb1(0xaf)==_0x3e006b||_0x4febb1(0x11d)==_0x3e006b){delete _0x342966[_0x1e0cbc],_0x395b8f=_0x3e006b,clearInterval(this[_0x4febb1(0xee)]),this[_0x4febb1(0xee)]=void 0x0;break;}}_0x4febb1(0xb9)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x10a)),_0x4febb1(0x86)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0xc7)),_0x4febb1(0xe7)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x102)),_0x4febb1(0xa8)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x99),_0x4febb1(0x85)),_0x4febb1(0xe9)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x123)),_0x4febb1(0xaf)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0xed)),_0x4febb1(0x11d)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x100));},0x3e8);}[_0x1533c9(0xa4)](){const _0x3c4606=_0x1533c9;super[_0x3c4606(0xa4)](),this[_0x3c4606(0xee)]&&clearInterval(this[_0x3c4606(0xee)]);}[_0x1533c9(0xfe)](_0x277768='',_0x36999e='',_0x3cbc7b=_0x1533c9(0x98)){const _0x1ffdde=_0x1533c9,_0x74f69=this[_0x1ffdde(0xa5)],_0xdc99fd=_0x74f69[_0x1ffdde(0xac)][_0x1ffdde(0x8d)],_0x3c034d=_0x74f69[_0x1ffdde(0xa6)][_0x1ffdde(0xe2)](_0x2bef2f),_0x43bdd1=_0x74f69[_0x1ffdde(0xa6)][_0x1ffdde(0xe2)](_0x6cb3);_0x3c034d[_0x1ffdde(0x11a)]();const _0x3e9db5=new dt(),_0x1c1796=new ClipboardEvent(_0x1ffdde(0xd7),{'clipboardData':_0x3e9db5}),_0x27c7c7=new _0x197819(_0x3e9db5),_0x101e50=new _0x256c3c(_0xdc99fd,_0x1c1796,{'dataTransfer':_0x27c7c7});_0x43bdd1[_0x1ffdde(0xcc)](_0x1ffdde(0x118),()=>{const _0x2f380e=_0x1ffdde;_0xdc99fd[_0x2f380e(0x124)][_0x2f380e(0xc8)](_0x2f380e(0xd7),_0x101e50);}),this[_0x1ffdde(0x101)]||(this[_0x1ffdde(0x10c)](),this[_0x1ffdde(0xbe)]=new _0x4e3be7(_0x74f69,this[_0x1ffdde(0xe1)][_0x1ffdde(0x7c)],this[_0x1ffdde(0x101)]));let _0x561925=_0x27c7c7[_0x1ffdde(0xec)](_0x1ffdde(0xb0));const _0x3c0984=_0x74f69[_0x1ffdde(0xa1)][_0x1ffdde(0x124)][_0x1ffdde(0xb5)],_0xc4e637=Array[_0x1ffdde(0xc9)](_0x3c0984[_0x1ffdde(0x113)]());0x1===_0xc4e637[_0x1ffdde(0x11c)]&&_0xc4e637[0x0][_0x1ffdde(0xfa)]&&!_0x3c0984[_0x1ffdde(0xbd)]()&&''!==_0x561925[_0x1ffdde(0x12a)](/ /g,'')[_0x1ffdde(0xf3)]()&&(_0x561925=_0x1ffdde(0x7f)+_0x561925+_0x1ffdde(0xf8)),this[_0x1ffdde(0xbe)][_0x1ffdde(0x112)]({'actionId':_0x3cbc7b,'query':_0x277768,'htmlContent':_0x561925,'label':_0x36999e,'mainActionLabel':_0x13fa0b[_0x74f69[_0x1ffdde(0xa1)][_0x1ffdde(0x124)][_0x1ffdde(0xb5)][_0x1ffdde(0xd1)]?_0x1ffdde(0xd6):_0x1ffdde(0xeb)]}),_0x1ffdde(0x89)!==this[_0x1ffdde(0x7d)]['id']?this[_0x1ffdde(0x7d)][_0x1ffdde(0xdc)]({'id':_0x1ffdde(0x89),'icon':_0x475697,'title':_0x5d78bc(this[_0x1ffdde(0xa5)][_0x1ffdde(0x95)],_0x1ffdde(0xdd)),'content':this[_0x1ffdde(0x101)],'position':_0x36e89b[_0x1ffdde(0x117)],'onShow':()=>{const _0x4dcef7=_0x1ffdde;this[_0x4dcef7(0x101)][_0x4dcef7(0x92)]();},'onHide':()=>{const _0x35f0ea=_0x1ffdde;this[_0x35f0ea(0xbe)][_0x35f0ea(0xf0)](),_0x3c034d[_0x35f0ea(0xc4)]();}}):this[_0x1ffdde(0x7d)][_0x1ffdde(0x8d)][_0x1ffdde(0xb8)]||this[_0x1ffdde(0x7d)][_0x1ffdde(0x8d)][_0x1ffdde(0x108)]();}[_0x1533c9(0xfc)](){const _0x2dec09=_0x1533c9;this[_0x2dec09(0x7d)][_0x2dec09(0xc5)]();}[_0x1533c9(0x129)](){const _0x1a39a9=_0x1533c9,_0x466b6a=new Map(),_0x203962=_0x432a7b(this[_0x1a39a9(0xa5)][_0x1a39a9(0xa2)][_0x1a39a9(0xe2)](_0x1a39a9(0x128)),this[_0x1a39a9(0xa5)][_0x1a39a9(0x95)]);for(const _0x41a399 of _0x203962)for(const _0xdbe5ce of _0x41a399[_0x1a39a9(0xaa)])_0x466b6a[_0x1a39a9(0x88)](_0xdbe5ce['id'],{..._0xdbe5ce,'groupId':_0x41a399[_0x1a39a9(0x109)],'groupLabel':_0x41a399[_0x1a39a9(0x96)]||_0x41a399[_0x1a39a9(0x109)]});return _0x466b6a;}[_0x1533c9(0x80)](_0x2f1268){const _0x23b9de=_0x1533c9,_0x293a38=this[_0x23b9de(0xa5)],_0x406d50=_0x293a38[_0x23b9de(0xaa)][_0x23b9de(0xe2)](_0x23b9de(0xd2)),_0x1727f6=new _0x2f1268(_0x293a38[_0x23b9de(0x95)]);return _0x1727f6[_0x23b9de(0x88)]({'label':_0x5d78bc(_0x293a38[_0x23b9de(0x95)],_0x23b9de(0xdd)),'icon':_0x475697,'isToggleable':!0x0}),_0x1727f6[_0x23b9de(0x10d)](_0x23b9de(0x9e))['to'](_0x406d50),_0x1727f6[_0x23b9de(0x10d)](_0x23b9de(0xb6))['to'](this[_0x23b9de(0x7d)],'id',_0x13e278=>_0x23b9de(0x89)===_0x13e278),this[_0x23b9de(0x9d)](_0x1727f6,_0x23b9de(0x116),()=>{const _0x509021=_0x23b9de;_0x1727f6[_0x509021(0xb6)]?this[_0x509021(0xfc)]():_0x406d50[_0x509021(0x116)]();}),_0x1727f6;}[_0x1533c9(0x10c)](){const _0x52007e=_0x1533c9,_0x37f10d=this[_0x52007e(0xa5)][_0x52007e(0xa6)][_0x52007e(0xe2)](_0x2bef2f);this[_0x52007e(0x101)]=new _0x44f31f(this[_0x52007e(0xa5)][_0x52007e(0x95)],this[_0x52007e(0x107)],this[_0x52007e(0xa5)][_0x52007e(0xa2)][_0x52007e(0xe2)](_0x52007e(0x90))),this[_0x52007e(0x101)]['on'](_0x52007e(0x125),()=>{const _0x3c9da4=_0x52007e;this[_0x3c9da4(0x7d)][_0x3c9da4(0x8d)][_0x3c9da4(0xb8)]||this[_0x3c9da4(0x7d)][_0x3c9da4(0x8d)][_0x3c9da4(0x108)]();}),this[_0x52007e(0x101)][_0x52007e(0xc6)][_0x52007e(0xb4)][_0x52007e(0x8b)]['on'](_0x52007e(0xa3),()=>{const _0x386c77=_0x52007e;this[_0x386c77(0x7d)][_0x386c77(0x8d)][_0x386c77(0xb8)]||this[_0x386c77(0x7d)][_0x386c77(0x8d)][_0x386c77(0x108)]();}),this[_0x52007e(0x9d)](this[_0x52007e(0x101)],_0x52007e(0x119),()=>{const _0xf05df7=_0x52007e;_0x37f10d[_0xf05df7(0x115)](this[_0xf05df7(0xbe)][_0xf05df7(0x127)]),this[_0xf05df7(0xfc)]();}),this[_0x52007e(0x9d)](this[_0x52007e(0x101)],_0x52007e(0xba),()=>{const _0x236ad3=_0x52007e;_0x37f10d[_0x236ad3(0xba)](this[_0x236ad3(0xbe)][_0x236ad3(0x127)]),this[_0x236ad3(0xfc)]();}),this[_0x52007e(0xd8)]();}[_0x1533c9(0xd8)](){const _0x10d702=_0x1533c9,{locale:_0x1bcf9d,ui:{ariaLiveAnnouncer:_0x4786f8}}=this[_0x10d702(0xa5)];this[_0x10d702(0x101)][_0x10d702(0xae)]['on'](_0x10d702(0x9a),(_0x3eaad9,_0x1ab83d,_0x5e2420)=>{const _0xfc2e78=_0x10d702,_0x3cac35=this[_0xfc2e78(0xbe)][_0xfc2e78(0x127)];_0x5e2420?_0x4786f8[_0xfc2e78(0x11b)](_0x5d78bc(_0x1bcf9d,_0xfc2e78(0x104))):_0x3cac35&&_0x4786f8[_0xfc2e78(0x11b)](_0x5d78bc(_0x1bcf9d,_0xfc2e78(0x83),_0x3cac35),{'politeness':_0xfc2e78(0xce),'isUnsafeHTML':!0x0});}),this[_0x10d702(0x101)]['on'](_0x10d702(0x94),(_0x8c243c,_0x1fe61b,_0x105922)=>{const _0x581121=_0x10d702;if(_0x105922){const _0xa30a44=this[_0x581121(0x101)][_0x581121(0xda)][_0x581121(0xe6)];_0x4786f8[_0x581121(0x11b)](_0x5d78bc(_0x1bcf9d,_0x581121(0xd3),_0xa30a44));}});}[_0x1533c9(0xd5)](_0x1aab7c){const _0x16bbc0=_0x1533c9,_0xbcdd92=this[_0x16bbc0(0x10b)][_0x16bbc0(0xe2)](_0x1aab7c),_0x217cb0=this[_0x16bbc0(0xa5)],_0x4696ce=_0x217cb0[_0x16bbc0(0xa1)][_0x16bbc0(0x124)][_0x16bbc0(0xb5)],_0x466770=_0x217cb0[_0x16bbc0(0xaa)][_0x16bbc0(0xe2)](_0x16bbc0(0xd2)),_0x949fe1=_0x217cb0[_0x16bbc0(0xa6)][_0x16bbc0(0xe2)](_0x2bef2f),_0xc792fd=''+(_0xbcdd92[_0x16bbc0(0x109)]!==_0x17c029?_0xbcdd92[_0x16bbc0(0x96)]+':\x20':'')+_0xbcdd92[_0x16bbc0(0x111)];if(!0x1!==_0xbcdd92[_0x16bbc0(0xdf)]&&_0x4696ce[_0x16bbc0(0xd1)]){const _0x81b630=_0x31c0b7(_0x4696ce[_0x16bbc0(0x126)]())||_0x217cb0[_0x16bbc0(0xa1)][_0x16bbc0(0xcb)][_0x16bbc0(0x8f)](_0x4696ce);_0x217cb0[_0x16bbc0(0xa1)][_0x16bbc0(0x84)](_0x9f53e=>{const _0x33ca53=_0x16bbc0;_0x9f53e[_0x33ca53(0x82)](_0x81b630,'in');});}_0x949fe1[_0x16bbc0(0x11a)](),_0x466770[_0x16bbc0(0x116)](_0xbcdd92[_0x16bbc0(0xf5)],_0xc792fd,_0x16bbc0(0x8c)+_0x1aab7c);}[_0x1533c9(0x103)](_0x45f25d,_0x2b51e6,_0x36dadc,_0x1b5a15){const _0x42f363=_0x1533c9,_0x481ae1=this[_0x42f363(0xa5)],_0x26eb30=_0x481ae1[_0x42f363(0x95)],_0x5dd0ef=new _0x42ae4f(_0x26eb30),_0x428a30=wi(_0x481ae1,_0x36dadc)[_0x42f363(0x8e)](_0x35241c=>_0x35241c[_0x42f363(0xaa)][_0x42f363(0x11c)]);0x1===_0x428a30[_0x42f363(0x11c)]?this[_0x42f363(0xc2)]({'command':_0x45f25d,'commands':_0x428a30[0x0][_0x42f363(0xaa)],'parentMenuView':_0x2b51e6,'onExecute':_0x1b5a15})[_0x42f363(0x122)](_0x5caf18=>_0x5dd0ef[_0x42f363(0x9f)][_0x42f363(0xf9)](_0x5caf18)):_0x428a30[_0x42f363(0x122)](({groupId:_0x2d2c11,groupLabel:_0x128b4c,commands:_0x2d5c02})=>{const _0x3e4fa3=_0x42f363,_0x4b021b=new _0x5041df(_0x26eb30,_0x2b51e6),_0x531746=new _0xe7f99d(_0x26eb30),_0x2050f8=new _0x42ae4f(_0x26eb30),_0x4f4bd4=this[_0x3e4fa3(0xc2)]({'command':_0x45f25d,'commands':_0x2d5c02,'parentMenuView':_0x531746,'onExecute':_0x1b5a15});_0x531746[_0x3e4fa3(0xad)][_0x3e4fa3(0x88)]({'label':_0x128b4c||_0x2d2c11}),_0x531746[_0x3e4fa3(0xca)](_0x3e4fa3(0x116))['to'](_0x2b51e6),_0x2050f8[_0x3e4fa3(0x9f)][_0x3e4fa3(0x8a)](_0x4f4bd4),_0x531746[_0x3e4fa3(0xc0)][_0x3e4fa3(0xa0)][_0x3e4fa3(0xf9)](_0x2050f8),_0x4b021b[_0x3e4fa3(0xa0)][_0x3e4fa3(0xf9)](_0x531746),_0x5dd0ef[_0x3e4fa3(0x9f)][_0x3e4fa3(0xf9)](_0x4b021b);}),_0x2b51e6[_0x42f363(0xc0)][_0x42f363(0xa0)][_0x42f363(0xf9)](_0x5dd0ef);}[_0x1533c9(0xc2)]({command:_0x9d6aff,commands:_0x312ef0,parentMenuView:_0x4b3f47,onExecute:_0x228dd3}){const _0x29c982=_0x1533c9,_0x3c9d78=this[_0x29c982(0xa5)],_0x5ed9db=_0x3c9d78[_0x29c982(0x95)];return wi(_0x3c9d78,_0x312ef0)[_0x29c982(0xb3)](_0x3d304a=>{const _0x3992ec=_0x29c982,_0x5c7404=new _0x5041df(_0x5ed9db,_0x4b3f47),_0x326198=new _0x33c6f8(_0x5ed9db);return _0x326198[_0x3992ec(0x88)]({'label':_0x3d304a[_0x3992ec(0x111)]}),_0x326198[_0x3992ec(0xca)](_0x3992ec(0x116))['to'](_0x4b3f47),_0x326198['on'](_0x3992ec(0x116),()=>_0x228dd3(_0x3d304a['id'])),_0x326198[_0x3992ec(0x10d)](_0x3992ec(0x9e))['to'](_0x9d6aff,_0x3992ec(0xf4),_0xf45d68=>_0xf45d68[_0x3992ec(0x105)](_0x3d304a['id'])),_0x5c7404[_0x3992ec(0xa0)][_0x3992ec(0xf9)](_0x326198),_0x5c7404;});}}function Ai(_0x4b07b4,_0x28e4ba){const _0x2c2075=_0x1533c9;return void 0x0!==_0x4b07b4[_0x2c2075(0xbf)]&&void 0x0===_0x28e4ba[_0x2c2075(0xbf)]?0x1:void 0x0===_0x4b07b4[_0x2c2075(0xbf)]&&void 0x0!==_0x28e4ba[_0x2c2075(0xbf)]?-0x1:void 0x0!==_0x4b07b4[_0x2c2075(0xbf)]&&void 0x0!==_0x28e4ba[_0x2c2075(0xbf)]?_0x4b07b4[_0x2c2075(0xbf)]-_0x28e4ba[_0x2c2075(0xbf)]:0x0;}function wi(_0x466e2a,_0x4988f8){const _0x507a13=_0x1533c9;_0x4988f8[_0x507a13(0xf1)](Ai);const _0x5b963c={},_0x19e7c3=[];for(const _0x1b802b of _0x4988f8)if(void 0x0!==_0x1b802b[_0x507a13(0xbf)]){if(_0x1b802b[_0x507a13(0xbf)]in _0x5b963c)throw new _0x2c17c9(_0x507a13(0x10f),_0x466e2a,{'conflictingDefinitions':[_0x1b802b,_0x5b963c[_0x1b802b[_0x507a13(0xbf)]]]});_0x5b963c[_0x1b802b[_0x507a13(0xbf)]]=_0x1b802b,_0x19e7c3[_0x507a13(0xfd)](_0x1b802b[_0x507a13(0xbf)],0x0,_0x1b802b);}else _0x19e7c3[_0x507a13(0xb2)](_0x1b802b);return _0x19e7c3;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2630(_0x19e7cc,_0x25311d){var _0x489abf=_0x489a();return _0x2630=function(_0x26301c,_0x141006){_0x26301c=_0x26301c-0x172;var _0x309eab=_0x489abf[_0x26301c];return _0x309eab;},_0x2630(_0x19e7cc,_0x25311d);}(function(_0x2981e1,_0x5961da){var _0x21609b=_0x2630,_0x9cff3d=_0x2981e1();while(!![]){try{var _0x1cec5c=-parseInt(_0x21609b(0x17c))/0x1+-parseInt(_0x21609b(0x174))/0x2*(-parseInt(_0x21609b(0x17a))/0x3)+-parseInt(_0x21609b(0x172))/0x4+parseInt(_0x21609b(0x179))/0x5+-parseInt(_0x21609b(0x177))/0x6*(-parseInt(_0x21609b(0x17b))/0x7)+-parseInt(_0x21609b(0x176))/0x8*(-parseInt(_0x21609b(0x178))/0x9)+parseInt(_0x21609b(0x173))/0xa*(-parseInt(_0x21609b(0x175))/0xb);if(_0x1cec5c===_0x5961da)break;else _0x9cff3d['push'](_0x9cff3d['shift']());}catch(_0x2f5442){_0x9cff3d['push'](_0x9cff3d['shift']());}}}(_0x489a,0xd46f7));import{CKEditorError as _0x524e72}from'ckeditor5/src/utils.js';function _0x489a(){var _0x27075d=['4359mqxcyL','21iEGjYV','187263hVjBAl','6889908kgwNcK','45300NjbfzO','1250rkuttu','737sKMIRs','32MSKcgb','923514XfFXki','192600odqWYq','8139515AUAdrO'];_0x489a=function(){return _0x27075d;};return _0x489a();}
|