@ckeditor/ckeditor5-ai 47.4.0-alpha.1 → 47.4.0-alpha.2
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/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/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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewmodegeneralerrorview.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/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d38b1=_0x5dba;(function(_0x1bb1d8,_0x1e03f9){const _0x1f1d24=_0x5dba,_0x4eb0e4=_0x1bb1d8();while(!![]){try{const _0x26e019=parseInt(_0x1f1d24(0xc2))/0x1*(parseInt(_0x1f1d24(0xb5))/0x2)+parseInt(_0x1f1d24(0xb6))/0x3*(parseInt(_0x1f1d24(0xd1))/0x4)+parseInt(_0x1f1d24(0xb7))/0x5+parseInt(_0x1f1d24(0xbc))/0x6+-parseInt(_0x1f1d24(0xd0))/0x7*(-parseInt(_0x1f1d24(0xca))/0x8)+parseInt(_0x1f1d24(0xcd))/0x9*(parseInt(_0x1f1d24(0xc3))/0xa)+parseInt(_0x1f1d24(0xc0))/0xb*(-parseInt(_0x1f1d24(0xc9))/0xc);if(_0x26e019===_0x1e03f9)break;else _0x4eb0e4['push'](_0x4eb0e4['shift']());}catch(_0x4ba8ee){_0x4eb0e4['push'](_0x4eb0e4['shift']());}}}(_0x471d,0x6d10f));import{Plugin as _0x1ecb25}from'ckeditor5/src/core.js';function _0x5dba(_0xd6f676,_0x4edb6d){const _0x471da8=_0x471d();return _0x5dba=function(_0x5dba0d,_0x1dade8){_0x5dba0d=_0x5dba0d-0xb3;let _0x4782c5=_0x471da8[_0x5dba0d];return _0x4782c5;},_0x5dba(_0xd6f676,_0x4edb6d);}import{CKEditorError as _0x2217fb}from'ckeditor5/src/utils.js';import{AIAdapter as _0x5af9c4,AIRequestError as _0x5c1253}from'./aiadapter.js';function _0x471d(){const _0x16cf71=['107xBfAZq','10HYcrXd','resolve','_prepareRequestParameters','object','AI_ERROR_GET_HEADERS','locale','12ERfldf','344608AXShnu','application/json','abortController','2434041CPrqgc','name','makeRequest','84TCpBlC','4yGcpnR','plugins','_prepareRequestHeaders','AI_ERROR_GET_PARAMETERS','aborted','sendRequest','abort','get','requires','catch','assign','1712CPHZys','508551NUFQvT','800800WRmBYs','aitextadapter-send-request-failed','init','textAdapter','AbortError','3384456uFFbKF','editor','error','reject','14585681AMhCRc','signal'];_0x471d=function(){return _0x16cf71;};return _0x471d();}import{getTranslation as _0x123609}from'../utils/common-translations.js';export class AITextAdapter extends _0x1ecb25{[_0x5d38b1(0xcc)];static get[_0x5d38b1(0xd9)](){return[_0x5af9c4];}constructor(_0x51989f){const _0x1bbc16=_0x5d38b1;super(_0x51989f),this[_0x1bbc16(0xcc)]=new AbortController();}[_0x5d38b1(0xb9)](){const _0x1dc3d7=_0x5d38b1;this[_0x1dc3d7(0xbd)][_0x1dc3d7(0xd2)][_0x1dc3d7(0xd8)](_0x5af9c4)[_0x1dc3d7(0xba)]=this;}[_0x5d38b1(0xd7)](){const _0x20343a=_0x5d38b1;this[_0x20343a(0xcc)][_0x20343a(0xc1)][_0x20343a(0xd5)]||(this[_0x20343a(0xcc)][_0x20343a(0xd7)](),this[_0x20343a(0xcc)]=new AbortController());}async[_0x5d38b1(0xcf)](_0x8eb1a5){const _0x32fa13=_0x5d38b1;return this[_0x32fa13(0xd6)](_0x8eb1a5)[_0x32fa13(0xb3)](_0x3a7b03=>{const _0x1db3e9=_0x32fa13;if(_0x3a7b03 instanceof _0x5c1253)return Promise[_0x1db3e9(0xbf)](_0x3a7b03);if(_0x1db3e9(0xbb)==_0x3a7b03[_0x1db3e9(0xce)])return Promise[_0x1db3e9(0xc4)]();throw console[_0x1db3e9(0xbe)](_0x3a7b03),new _0x2217fb(_0x1db3e9(0xb8),null);});}async[_0x5d38b1(0xd3)](_0x58627e,_0x20615f){const _0x5c041d=_0x5d38b1,_0xefb2bf=this[_0x5c041d(0xbd)][_0x5c041d(0xc8)],_0x2d541b={'Content-Type':_0x5c041d(0xcb)};if(_0x5c041d(0xc6)==typeof _0x58627e)Object[_0x5c041d(0xb4)](_0x2d541b,_0x58627e);else{if(_0x58627e)try{const _0x31ea50=await _0x58627e(_0x20615f);Object[_0x5c041d(0xb4)](_0x2d541b,_0x31ea50);}catch{return Promise[_0x5c041d(0xbf)](new _0x5c1253(_0x123609(_0xefb2bf,_0x5c041d(0xc7))));}}return _0x2d541b;}async[_0x5d38b1(0xc5)](_0x1e98bd,_0x25de4d){const _0x10298b=_0x5d38b1,_0x2bf3fc=this[_0x10298b(0xbd)][_0x10298b(0xc8)];if(_0x10298b(0xc6)==typeof _0x1e98bd)return _0x1e98bd;try{return await _0x1e98bd(_0x25de4d);}catch{return Promise[_0x10298b(0xbf)](new _0x5c1253(_0x123609(_0x2bf3fc,_0x10298b(0xd4))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cd555=_0x1bad;function _0x1bad(_0x2ef437,_0x4dc6d0){const _0x27df12=_0x27df();return _0x1bad=function(_0x1bad7c,_0x584de7){_0x1bad7c=_0x1bad7c-0x188;let _0xa5bb0c=_0x27df12[_0x1bad7c];return _0xa5bb0c;},_0x1bad(_0x2ef437,_0x4dc6d0);}(function(_0x2e150d,_0x5a7a8c){const _0x3df112=_0x1bad,_0x3b9151=_0x2e150d();while(!![]){try{const _0xdf7386=-parseInt(_0x3df112(0x19c))/0x1*(parseInt(_0x3df112(0x1d6))/0x2)+-parseInt(_0x3df112(0x196))/0x3+-parseInt(_0x3df112(0x1d1))/0x4*(-parseInt(_0x3df112(0x1ac))/0x5)+parseInt(_0x3df112(0x1a6))/0x6+parseInt(_0x3df112(0x1c0))/0x7+parseInt(_0x3df112(0x1aa))/0x8+parseInt(_0x3df112(0x1bc))/0x9;if(_0xdf7386===_0x5a7a8c)break;else _0x3b9151['push'](_0x3b9151['shift']());}catch(_0x2e8782){_0x3b9151['push'](_0x3b9151['shift']());}}}(_0x27df,0xeb5ea));import{AITextAdapter as _0x9b4d36}from'./aitextadapter.js';import{AIRequestError as _0x5235d8}from'./aiadapter.js';import{BedrockRuntimeClient as _0x56179b,InvokeModelCommand as _0x44042c,InvokeModelWithResponseStreamCommand as _0x1814fa}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x1146f9}from'../utils/common-translations.js';function _0x27df(){const _0x4fe4c0=['Instruction:\x0a','_readStreamableResponse','_getGeneratedText','700854dsiRYv','_apiUrl','cohere.command','ai21.j2','ai.assistant.adapter.aws.requestHeaders','AI_ERROR_UNSUPPORTED_MODEL','length','resolve','utf-8','application/json','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.','getModelFamily','ai.assistant.adapter.aws.bedrockClientConfig','generations','_bedrockClientConfig','filter','stringify','225184xFnWGd','get','preparePrompt','chunk','locale','805338rhFIpg','POST','send','_readStaticResponse','_prepareRequestParameters','anthropic.claude-v2','generation','define','join','Human:\x0a','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.','AWSTextAdapter','anthropic.claude','\x0a[/INST]','<<SYS>>\x0a','5262093wWRKkL','_prepareRequestHeaders','_requestParameters','pluginName','test','split','3cAvIPG','bedrock-2023-05-31','text','completions','completion','sendRequest','config','decode','ai.assistant.adapter.aws.requestParameters','_processAWSRequest','9527724FMgZGf','parse','json','getReader','12125184jNuKdn','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','60oOploz','\x0a\x0aAssistant:','ai.assistant.adapter.aws.apiUrl','body','map','_requestHeaders','read','\x0a<</SYS>>\x0a[INST]\x0a','signal','meta.llama','bytes','_readAsyncIterableResponse','data','_processProxyRequest','editor','abortController','421524XOdAyu'];_0x27df=function(){return _0x4fe4c0;};return _0x27df();}export class AWSTextAdapter extends _0x9b4d36{[_0x5cd555(0x1c1)];[_0x5cd555(0x1b1)];[_0x5cd555(0x1ce)];[_0x5cd555(0x198)];static get[_0x5cd555(0x199)](){const _0x2228f6=_0x5cd555;return _0x2228f6(0x192);}constructor(_0x457b06){const _0x3771ca=_0x5cd555;super(_0x457b06),_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1a4))||_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x18e)](_0x3771ca(0x1a4),{'model':_0x3771ca(0x18c),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x3771ca(0x19d),'stream':!0x0}),this[_0x3771ca(0x1c1)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1ae)),this[_0x3771ca(0x1ce)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1cc)),this[_0x3771ca(0x1b1)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1c4)),this[_0x3771ca(0x198)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1a4));}async[_0x5cd555(0x1a1)]({query:_0x5dbd37,context:_0xbd1d66,onData:_0x1cc513,actionId:_0x5dc071}){const _0x4ff155=_0x5cd555,{model:_0x2d95c9,stream:_0x53dd59,..._0x272d7a}=await this[_0x4ff155(0x18b)](this[_0x4ff155(0x198)],_0x5dc071),_0x179cd6={'prompt':await this[_0x4ff155(0x1d3)](_0x5dbd37,_0xbd1d66,_0x2d95c9,_0x5dc071),..._0x272d7a};this[_0x4ff155(0x1c1)]?await this[_0x4ff155(0x1b9)](_0x179cd6,_0x2d95c9,_0x53dd59,_0x1cc513,_0x5dc071):await this[_0x4ff155(0x1a5)](_0x179cd6,_0x2d95c9,_0x53dd59,_0x1cc513);}async[_0x5cd555(0x1d3)](_0x1489c8,_0x20b057,_0x1f5bb3,_0xbdaadb){const _0x17723e=_0x5cd555;let _0x1c5429,_0x12badf;return _0x20b057?(_0x1c5429=_0x17723e(0x191),_0x12badf=_0x17723e(0x1bd)+_0x1489c8+_0x17723e(0x1ab)+_0x20b057):(_0x1c5429=_0x17723e(0x1ca),_0x12badf=_0x1489c8),_0x17723e(0x1b5)==this[_0x17723e(0x1cb)](_0x1f5bb3)?_0x17723e(0x195)+_0x1c5429+_0x17723e(0x1b3)+_0x12badf+_0x17723e(0x194):_0x17723e(0x190)+_0x1c5429+'\x0a'+_0x12badf+_0x17723e(0x1ad);}[_0x5cd555(0x1cb)](_0x321cea){const _0x14dc2b=_0x5cd555;if(/^anthropic\.claude/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x193);if(/^ai21\.j2/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x1c3);if(/^cohere\.command/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x1c2);if(/^meta\.llama/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x1b5);throw new _0x5235d8(_0x1146f9(this[_0x14dc2b(0x1ba)][_0x14dc2b(0x1d5)],_0x14dc2b(0x1c5),_0x321cea));}async[_0x5cd555(0x1b9)](_0x1f9c0f,_0x17e6ac,_0x1cc951,_0x1197eb,_0x5ef3a2){const _0x71618a=_0x5cd555,_0x3f7654={'method':_0x71618a(0x188),'headers':await this[_0x71618a(0x197)](this[_0x71618a(0x1b1)],_0x5ef3a2),'body':JSON[_0x71618a(0x1d0)]({..._0x1f9c0f,'model':_0x17e6ac,'stream':_0x1cc951}),'signal':this[_0x71618a(0x1bb)][_0x71618a(0x1b4)]},_0xb6c0cb=await fetch(this[_0x71618a(0x1c1)],_0x3f7654);_0x1cc951?await this[_0x71618a(0x1be)](_0xb6c0cb,_0x17e6ac,_0x1197eb):await this[_0x71618a(0x18a)](_0xb6c0cb,_0x17e6ac,_0x1197eb);}async[_0x5cd555(0x1a5)](_0x9f7105,_0x436584,_0x2e4570,_0x4c21eb){const _0x332152=_0x5cd555,_0x57ab6a=new _0x56179b(this[_0x332152(0x1ce)]),_0x2df5c6={'body':JSON[_0x332152(0x1d0)](_0x9f7105),'contentType':_0x332152(0x1c9),'accept':_0x332152(0x1c9),'modelId':_0x436584};let _0x50d674;if(_0x2e4570){const _0x1fca5c=new _0x1814fa(_0x2df5c6);_0x50d674=await _0x57ab6a[_0x332152(0x189)](_0x1fca5c,{'abortSignal':this[_0x332152(0x1bb)][_0x332152(0x1b4)]}),await this[_0x332152(0x1b7)](_0x50d674,_0x436584,_0x4c21eb);}else{const _0x37b5b1=new _0x44042c(_0x2df5c6);_0x50d674=await _0x57ab6a[_0x332152(0x189)](_0x37b5b1,{'abortSignal':this[_0x332152(0x1bb)][_0x332152(0x1b4)]}),await this[_0x332152(0x18a)](_0x50d674,_0x436584,_0x4c21eb);}}async[_0x5cd555(0x1b7)](_0x1c51a3,_0x4ff105,_0x4768e6){const _0x26fec6=_0x5cd555,_0x4a615f=_0x1c51a3[_0x26fec6(0x1af)],_0x55c965=new TextDecoder(_0x26fec6(0x1c8));let _0x3454ce='';for await(const _0x57c6b0 of _0x4a615f)if(_0x57c6b0[_0x26fec6(0x1d4)]){const _0x25780b=_0x55c965[_0x26fec6(0x1a3)](_0x57c6b0[_0x26fec6(0x1d4)][_0x26fec6(0x1b6)]),_0x4e599e=JSON[_0x26fec6(0x1a7)](_0x25780b);_0x3454ce+=this[_0x26fec6(0x1bf)](_0x4e599e,_0x4ff105),_0x4768e6(_0x3454ce);}return Promise[_0x26fec6(0x1c7)]();}async[_0x5cd555(0x1be)](_0x5630ad,_0x4a63ac,_0x32ecba){const _0x1019f8=_0x5cd555,_0x407b2a=_0x5630ad[_0x1019f8(0x1af)],_0x3b9991=new TextDecoder(_0x1019f8(0x1c8)),_0x474b3b=_0x407b2a[_0x1019f8(0x1a9)]();let _0x1d9f2c='',_0x28e7a2='',_0x4c352a=!0x1;for(;!_0x4c352a;){const {done:_0x42bb91,value:_0xa8f788}=await _0x474b3b[_0x1019f8(0x1b2)]();if(_0x4c352a=_0x42bb91,_0x4c352a)break;const _0x521236=(_0x1d9f2c+_0x3b9991[_0x1019f8(0x1a3)](_0xa8f788))[_0x1019f8(0x19b)]('\x0a')[_0x1019f8(0x1b0)](_0x4b893b=>{const _0x421340=_0x1019f8;try{return _0x1d9f2c='',JSON[_0x421340(0x1a7)](_0x4b893b);}catch{return _0x1d9f2c=_0x4b893b,null;}})[_0x1019f8(0x1cf)](_0x342c19=>null!==_0x342c19);_0x521236[_0x1019f8(0x1c6)]&&(_0x28e7a2+=_0x521236[_0x1019f8(0x1b0)](_0xc44f61=>this[_0x1019f8(0x1bf)](_0xc44f61,_0x4a63ac))[_0x1019f8(0x18f)](''),_0x32ecba(_0x28e7a2));}return Promise[_0x1019f8(0x1c7)]();}async[_0x5cd555(0x18a)](_0x2aaa9f,_0x285afb,_0x284871){const _0x5cc6d7=_0x5cd555;let _0x268ec6;return _0x268ec6=_0x2aaa9f instanceof Response?await _0x2aaa9f[_0x5cc6d7(0x1a8)]():JSON[_0x5cc6d7(0x1a7)](new TextDecoder(_0x5cc6d7(0x1c8))[_0x5cc6d7(0x1a3)](_0x2aaa9f[_0x5cc6d7(0x1af)])),(_0x284871(this[_0x5cc6d7(0x1bf)](_0x268ec6,_0x285afb)),Promise[_0x5cc6d7(0x1c7)]());}[_0x5cd555(0x1bf)](_0x116536,_0x53376d){const _0x4b5a96=_0x5cd555;switch(this[_0x4b5a96(0x1cb)](_0x53376d)){case _0x4b5a96(0x193):return _0x116536[_0x4b5a96(0x1a0)];case _0x4b5a96(0x1c3):return _0x116536[_0x4b5a96(0x19f)][0x0][_0x4b5a96(0x1b8)][_0x4b5a96(0x19e)];case _0x4b5a96(0x1c2):return _0x116536[_0x4b5a96(0x1cd)][0x0][_0x4b5a96(0x19e)];case _0x4b5a96(0x1b5):return _0x116536[_0x4b5a96(0x18d)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1665(_0x42e1e9,_0x3c35bb){const _0x23cd0f=_0x23cd();return _0x1665=function(_0x1665b3,_0x43bc17){_0x1665b3=_0x1665b3-0x66;let _0x5607d2=_0x23cd0f[_0x1665b3];return _0x5607d2;},_0x1665(_0x42e1e9,_0x3c35bb);}const _0x2ef6cf=_0x1665;(function(_0x18edbf,_0x273a39){const _0x121fdd=_0x1665,_0xce54d8=_0x18edbf();while(!![]){try{const _0x4fa600=-parseInt(_0x121fdd(0x96))/0x1*(parseInt(_0x121fdd(0x97))/0x2)+parseInt(_0x121fdd(0x8b))/0x3+-parseInt(_0x121fdd(0x88))/0x4+-parseInt(_0x121fdd(0xab))/0x5*(-parseInt(_0x121fdd(0x8a))/0x6)+parseInt(_0x121fdd(0x9b))/0x7*(-parseInt(_0x121fdd(0x98))/0x8)+parseInt(_0x121fdd(0x71))/0x9+parseInt(_0x121fdd(0x80))/0xa;if(_0x4fa600===_0x273a39)break;else _0xce54d8['push'](_0xce54d8['shift']());}catch(_0x1192b2){_0xce54d8['push'](_0xce54d8['shift']());}}}(_0x23cd,0x2b425));function _0x23cd(){const _0x5985de=['stream','reject','editor','signal','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','delta','stringify','filter','resolve','user','define','_prepareRequestHeaders','abortController','_requestHeaders','3903510puwXjw','_apiUrl','split','[DONE]','body','_requestParameters','_isBufferIncomplete','context_length_exceeded','754096SUzCVx','json','6Oldxaf','729345DGWdRv','_prepareRequestParameters','replace','AI_ERROR_MODERATION','get','https://api.openai.com/v1/chat/completions','includes','text','decode','_readStreamableResponse','_readStaticResponse','211573atdDzB','2scdHvz','8FYFdfk','OpenAITextAdapter','POST','2145850seBvjp','data:\x20','config','_cleanUpData','content','length','choices','sendRequest','parse','locale','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.','read','map','ai.assistant.adapter.openAI.requestHeaders','join','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','631870DKQfsz','getReader','gpt-4o','Instruction:\x0a','system','Moderation','AI_ERROR_CONTEXT_LENGTH','ai.assistant.adapter.openAI.requestParameters','ai.assistant.adapter.openAI.apiUrl','pluginName','prepareMessages','message','1115964OQtvds'];_0x23cd=function(){return _0x5985de;};return _0x23cd();}import{AITextAdapter as _0x554217}from'./aitextadapter.js';import{AIRequestError as _0x2e3ae}from'./aiadapter.js';import{getTranslation as _0x1dd9fa}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x554217{[_0x2ef6cf(0x81)];[_0x2ef6cf(0x7f)];[_0x2ef6cf(0x85)];static get[_0x2ef6cf(0x6e)](){const _0x21a27e=_0x2ef6cf;return _0x21a27e(0x99);}constructor(_0x899bf7){const _0x5d6816=_0x2ef6cf;super(_0x899bf7),_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x7c)](_0x5d6816(0x6d),_0x5d6816(0x90)),_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0x6c))||_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x7c)](_0x5d6816(0x6c),{'model':_0x5d6816(0x67),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x5d6816(0x81)]=_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0x6d)),this[_0x5d6816(0x7f)]=_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0xa8))||{},this[_0x5d6816(0x85)]=_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0x6c));}async[_0x2ef6cf(0xa2)]({query:_0x45663c,context:_0x3fb3f7,onData:_0x4260b9,actionId:_0x5617c4}){const _0x2a16f9=_0x2ef6cf,_0x322420=this[_0x2a16f9(0x74)][_0x2a16f9(0xa4)],_0x455683=await this[_0x2a16f9(0x6f)](_0x45663c,_0x3fb3f7,_0x5617c4),_0x3ac66d=await this[_0x2a16f9(0x7d)](this[_0x2a16f9(0x7f)],_0x5617c4),_0x5f1fc1=await this[_0x2a16f9(0x8c)](this[_0x2a16f9(0x85)],_0x5617c4),_0x148088={'messages':_0x455683,..._0x5f1fc1},_0x5e178d={'method':_0x2a16f9(0x9a),'headers':_0x3ac66d,'body':JSON[_0x2a16f9(0x78)](_0x148088),'signal':this[_0x2a16f9(0x7e)][_0x2a16f9(0x75)]},_0x7d8c5f=await fetch(this[_0x2a16f9(0x81)],_0x5e178d);if(_0x7d8c5f['ok'])return _0x5f1fc1[_0x2a16f9(0x72)]?await this[_0x2a16f9(0x94)](_0x7d8c5f,_0x4260b9):await this[_0x2a16f9(0x95)](_0x7d8c5f,_0x4260b9),Promise[_0x2a16f9(0x7a)]();{const _0x599d5b=await _0x7d8c5f[_0x2a16f9(0x92)]();return _0x599d5b[_0x2a16f9(0x91)](_0x2a16f9(0x87))?Promise[_0x2a16f9(0x73)](new _0x2e3ae(_0x1dd9fa(_0x322420,_0x2a16f9(0x6b)))):_0x599d5b[_0x2a16f9(0x91)](_0x2a16f9(0x6a))?Promise[_0x2a16f9(0x73)](new _0x2e3ae(_0x1dd9fa(_0x322420,_0x2a16f9(0x8e)))):Promise[_0x2a16f9(0x73)](new Error(_0x599d5b));}}async[_0x2ef6cf(0x6f)](_0x2e9c9d,_0x4f923d,_0x50c098){const _0x144067=_0x2ef6cf;let _0x981604,_0x545547;return _0x4f923d?(_0x981604=_0x144067(0x76),_0x545547=_0x144067(0x68)+_0x2e9c9d+_0x144067(0xaa)+_0x4f923d):(_0x981604=_0x144067(0xa5),_0x545547=_0x2e9c9d),[{'role':_0x144067(0x69),'content':_0x981604},{'role':_0x144067(0x7b),'content':_0x545547}];}async[_0x2ef6cf(0x94)](_0x29a318,_0x373bce){const _0x29a1f3=_0x2ef6cf,_0x8ed086=_0x29a318[_0x29a1f3(0x84)][_0x29a1f3(0x66)](),_0x2d6939=new TextDecoder();let _0x4ca3bb='',_0x187fb0='',_0x118fbd='',_0x5235ee=!0x1;for(;!_0x5235ee;){const {done:_0x4226fa,value:_0x4cc22d}=await _0x8ed086[_0x29a1f3(0xa6)](),_0x34502f=_0x4ca3bb+_0x2d6939[_0x29a1f3(0x93)](_0x4cc22d);let _0x2a8091='';_0x5235ee=_0x4226fa;try{_0x2a8091=this[_0x29a1f3(0x9e)](_0x34502f),_0x4ca3bb='';}catch{_0x4ca3bb=_0x34502f;continue;}_0x187fb0+=_0x2a8091,!_0x5235ee&&this[_0x29a1f3(0x86)](_0x187fb0)||_0x187fb0&&(_0x118fbd+=_0x187fb0,_0x187fb0='',_0x373bce(_0x118fbd));}return Promise[_0x29a1f3(0x7a)]();}async[_0x2ef6cf(0x95)](_0x4d7c95,_0x265046){const _0x5b50ff=_0x2ef6cf;return _0x265046((await _0x4d7c95[_0x5b50ff(0x89)]())[_0x5b50ff(0xa1)][0x0][_0x5b50ff(0x70)][_0x5b50ff(0x9f)]),Promise[_0x5b50ff(0x7a)]();}[_0x2ef6cf(0x86)](_0x4b4b14){const _0xdb033d=_0x2ef6cf,_0x5453ce=_0x4b4b14[_0xdb033d(0x82)]('<')[_0xdb033d(0xa0)]!==_0x4b4b14[_0xdb033d(0x82)]('>')[_0xdb033d(0xa0)],_0xfe609=_0x4b4b14[_0xdb033d(0xa0)]<0x1e;return _0x5453ce&&_0xfe609;}[_0x2ef6cf(0x9e)](_0x15c77e){const _0x5b878f=_0x2ef6cf;return _0x15c77e[_0x5b878f(0x82)](/\n(?![^{]*\})/g)[_0x5b878f(0xa7)](_0x6cb43f=>_0x6cb43f[_0x5b878f(0x8d)](_0x5b878f(0x9c),''))[_0x5b878f(0x79)](_0x50f952=>_0x50f952&&_0x50f952[_0x5b878f(0xa0)]>0x0&&_0x5b878f(0x83)!==_0x50f952)[_0x5b878f(0xa7)](_0x486c7f=>{const _0x22dc78=_0x5b878f,{choices:_0x190e84}=JSON[_0x22dc78(0xa3)](_0x486c7f);if(_0x190e84[0x0]?.[_0x22dc78(0x77)]?.[_0x22dc78(0x9f)])return _0x190e84[0x0][_0x22dc78(0x77)][_0x22dc78(0x9f)];})[_0x5b878f(0x79)](_0x4e9861=>_0x4e9861)[_0x5b878f(0xa9)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42dfc2=_0x4e5a;(function(_0x5b587e,_0x1ffc09){const _0x5423b7=_0x4e5a,_0x344d6c=_0x5b587e();while(!![]){try{const _0x4ffe53=-parseInt(_0x5423b7(0xcd))/0x1+-parseInt(_0x5423b7(0xb8))/0x2*(parseInt(_0x5423b7(0x9e))/0x3)+-parseInt(_0x5423b7(0xb1))/0x4+parseInt(_0x5423b7(0x8d))/0x5*(parseInt(_0x5423b7(0xd3))/0x6)+-parseInt(_0x5423b7(0x7d))/0x7+parseInt(_0x5423b7(0x69))/0x8*(-parseInt(_0x5423b7(0xb9))/0x9)+-parseInt(_0x5423b7(0xa0))/0xa*(-parseInt(_0x5423b7(0xc9))/0xb);if(_0x4ffe53===_0x1ffc09)break;else _0x344d6c['push'](_0x344d6c['shift']());}catch(_0x3dc302){_0x344d6c['push'](_0x344d6c['shift']());}}}(_0x5dd2,0x5eeb5));function _0x4e5a(_0x2d4b7a,_0x48b7e4){const _0x5dd2a7=_0x5dd2();return _0x4e5a=function(_0x4e5ac4,_0x4012f4){_0x4e5ac4=_0x4e5ac4-0x67;let _0x449c95=_0x5dd2a7[_0x4e5ac4];return _0x449c95;},_0x4e5a(_0x2d4b7a,_0x48b7e4);}function _0x5dd2(){const _0x59828f=['Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','13975niPKEI','translateEnglish','Poetic','improveWriting','German','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','locale','Translate\x20the\x20content\x20to\x20English\x20language.','Edit\x20or\x20review','Confident','Generate\x20from\x20selection','define','confident','translateHindi','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Friendly','friendly','6pVkyhZ','changeTone','1802420AeBMdy','set','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','filter','Translate\x20the\x20content\x20to\x20German\x20language.','ai.assistant.commands','commands','isOfficialPlugin','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Simplify\x20language','forEach','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate','French','English','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translatePortuguese','1805024SSHxMt','Improve\x20writing','continue','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','config','Hindi','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','64620onLGTi','2396943cgprIe','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateChinese','simplifyLanguage','casual','Spanish','ai.assistant.extraCommandGroups','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Summarize','direct','Translate\x20the\x20content\x20to\x20French\x20language.','translateArabic','Simplified\x20Chinese','makeShorter','Make\x20shorter','Legal','110nKzoKv','Journalism','includes','isPremiumPlugin','357088dGqzWs','makeLonger','changeStyle','Business','groupId','pluginName','846bvUAKW','Casual','summarize','Translate\x20the\x20content\x20to\x20Hindi\x20language.','business','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','8ibEksE','Change\x20style','Make\x20longer','Direct','find','professional','translateGerman','poetic','Professional','translate','AIAssistant','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','concat','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','editOrReview','ai.assistant.preserveComments','translateSpanish','journalism','Portuguese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','4679045SCZElw','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','ai.assistant.removeCommands','Change\x20tone','Arabic','generate','requires','push','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateFrench','legal','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Continue','get'];_0x5dd2=function(){return _0x59828f;};return _0x5dd2();}import{Plugin as _0x1c26a3}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x53379f}from'./aiassistantui.js';import{AIAssistantEditing as _0x232e1d}from'./aiassistantediting.js';import{getTranslation as _0x4f99ee}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x57e28d}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x1c26a3{static get[_0x42dfc2(0x83)](){return[_0x53379f,_0x232e1d];}static get[_0x42dfc2(0xd2)](){const _0x38c9b0=_0x42dfc2;return _0x38c9b0(0x73);}static get[_0x42dfc2(0xa7)](){return!0x0;}static get[_0x42dfc2(0xcc)](){return!0x0;}constructor(_0x20f940){const _0x50dfb6=_0x42dfc2;super(_0x20f940);const _0x536734=_0x20f940[_0x50dfb6(0xb5)],_0x50ea37=_0x20f940[_0x50dfb6(0x93)];_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0x78),!0x0),_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0xa5),getDefaultAICommands(_0x50ea37)),_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0xbf),[]),_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0x7f),[]);let _0x19b8dc=_0x57e28d(_0x536734[_0x50dfb6(0x8b)](_0x50dfb6(0xa5)),_0x50ea37);const _0xc8492a=_0x536734[_0x50dfb6(0x8b)](_0x50dfb6(0xbf)),_0x164220=_0x536734[_0x50dfb6(0x8b)](_0x50dfb6(0x7f));_0xc8492a[_0x50dfb6(0xaa)](_0x4fa01f=>{const _0x2b49e2=_0x50dfb6,_0x5a8132=_0x19b8dc[_0x2b49e2(0x6d)](_0x2c4a29=>_0x2c4a29[_0x2b49e2(0xd1)]===_0x4fa01f[_0x2b49e2(0xd1)]);_0x5a8132?_0x5a8132[_0x2b49e2(0xa6)]=_0x5a8132[_0x2b49e2(0xa6)][_0x2b49e2(0x75)](_0x4fa01f[_0x2b49e2(0xa6)]):_0x19b8dc[_0x2b49e2(0x84)](_0x4fa01f);}),_0x19b8dc=_0x19b8dc[_0x50dfb6(0xa3)](_0x334c2e=>!_0x164220[_0x50dfb6(0xcb)](_0x334c2e[_0x50dfb6(0xd1)])),_0x19b8dc[_0x50dfb6(0xaa)](_0x5ec082=>{const _0x1d0bce=_0x50dfb6;_0x5ec082[_0x1d0bce(0xa6)]=_0x5ec082[_0x1d0bce(0xa6)][_0x1d0bce(0xa3)](_0x5367fd=>!_0x164220[_0x1d0bce(0xcb)](_0x5367fd['id']));}),_0x536734[_0x50dfb6(0xa1)](_0x50dfb6(0xa5),_0x19b8dc);}}export function getDefaultAICommands(_0x5e4346){const _0x2521a4=_0x42dfc2;return[{'groupId':_0x2521a4(0x77),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x95)),'commands':[{'id':_0x2521a4(0x90),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xb2)),'prompt':_0x2521a4(0x7e)},{'id':_0x2521a4(0xc6),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc7)),'prompt':_0x2521a4(0xb4)},{'id':_0x2521a4(0xce),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x6b)),'prompt':_0x2521a4(0xab)},{'id':_0x2521a4(0xbc),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xa9)),'prompt':_0x2521a4(0xc0)}]},{'groupId':_0x2521a4(0x82),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x97)),'commands':[{'id':_0x2521a4(0xd5),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc1)),'prompt':_0x2521a4(0x8c)},{'id':_0x2521a4(0xb3),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x8a)),'prompt':_0x2521a4(0x68)}]},{'groupId':_0x2521a4(0x9f),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x80)),'commands':[{'id':_0x2521a4(0x6e),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x71)),'prompt':_0x2521a4(0x92)},{'id':_0x2521a4(0xbd),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xd4)),'prompt':_0x2521a4(0x89)},{'id':_0x2521a4(0xc2),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x6c)),'prompt':_0x2521a4(0xa8)},{'id':_0x2521a4(0x99),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x96)),'prompt':_0x2521a4(0x7c)},{'id':_0x2521a4(0x9d),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x9c)),'prompt':_0x2521a4(0xa2)}]},{'groupId':_0x2521a4(0xcf),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x6a)),'commands':[{'id':_0x2521a4(0x67),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xd0)),'prompt':_0x2521a4(0x74)},{'id':_0x2521a4(0x87),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc8)),'prompt':_0x2521a4(0x9b)},{'id':_0x2521a4(0x7a),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xca)),'prompt':_0x2521a4(0xaf)},{'id':_0x2521a4(0x70),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x8f)),'prompt':_0x2521a4(0x88)}]},{'groupId':_0x2521a4(0x72),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0xac)),'commands':[{'id':_0x2521a4(0x8e),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xae)),'prompt':_0x2521a4(0x94)},{'id':_0x2521a4(0x79),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xbe)),'prompt':_0x2521a4(0xba)},{'id':_0x2521a4(0xb0),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x7b)),'prompt':_0x2521a4(0x76)},{'id':_0x2521a4(0x6f),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x91)),'prompt':_0x2521a4(0xa4)},{'id':_0x2521a4(0x86),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xad)),'prompt':_0x2521a4(0xc3)},{'id':_0x2521a4(0xbb),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc5)),'prompt':_0x2521a4(0xb7)},{'id':_0x2521a4(0x9a),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xb6)),'prompt':_0x2521a4(0xd6)},{'id':_0x2521a4(0xc4),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x81)),'prompt':_0x2521a4(0x85)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xca0b17=_0x2634;(function(_0xe01bd7,_0x4b8be3){const _0x49916a=_0x2634,_0x412af7=_0xe01bd7();while(!![]){try{const _0x32e3ab=parseInt(_0x49916a(0x144))/0x1+parseInt(_0x49916a(0x13b))/0x2+-parseInt(_0x49916a(0x18b))/0x3+parseInt(_0x49916a(0x14e))/0x4+parseInt(_0x49916a(0x16b))/0x5+-parseInt(_0x49916a(0x138))/0x6*(-parseInt(_0x49916a(0x17a))/0x7)+parseInt(_0x49916a(0x171))/0x8*(-parseInt(_0x49916a(0x174))/0x9);if(_0x32e3ab===_0x4b8be3)break;else _0x412af7['push'](_0x412af7['shift']());}catch(_0x189ecb){_0x412af7['push'](_0x412af7['shift']());}}}(_0x26f4,0x5a383));import{uid as _0x413d74}from'ckeditor5/src/utils.js';function _0x2634(_0x6ae39b,_0xb43297){const _0x26f471=_0x26f4();return _0x2634=function(_0x263418,_0x2337a3){_0x263418=_0x263418-0x135;let _0x15de23=_0x26f471[_0x263418];return _0x15de23;},_0x2634(_0x6ae39b,_0xb43297);}import{Plugin as _0x4c13ab}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x566f0d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1c5088,ViewDataTransfer as _0x54c248}from'ckeditor5/src/engine.js';function _0x26f4(){const _0x57b25d=['createSelection','length','createRange','8iYgBhc','end','schema','14853411ljpnLA','removeMarker','href','insertContent','table','isPremiumPlugin','4407151FeEXJe','getChildren','canEditAt','get','isCollapsed','createPositionAt','join','ck-fake-ai-selection','hideFakeVisualSelection','pop','createPositionAfter','_pasteHTMLUsingClipboard','once','addMarker','setData','model','ck-fake-ai-selection_collapsed','598644wfEjfY','forEach','isAtEnd','resultRange','getMarkersGroup','for','getFirstRange','afterInit','TableUtils','getSelectedTableCells','AIAssistantEditing','deleteContent','getRange','getSelectedBlocks','markers','updateMarker','last','editor','ai-ui','DataTransfer','fromCharCode','getColumnIndexes','_prepareTableInsertBelowPosition','isOfficialPlugin','data','pluginName','6VXwexR','_getTableRowCountFromContent','init','357072RTEIEQ','document','_getDefaultInsertBelowPosition','editing','conversion','off','change','getRows','getRowIndexes','477958omUrcm','contentInsertion','insertRows','_getAISelection','ck-ai-assistant-ui_theme','createUIElement','has','getChild','markerToElement','insertContentBelow','2552724QDNZVL','lowest','element','from','markerToHighlight','editingDowncast','setSelection','start','text/html','selection','getLastPosition','paste','push','getRanges','fire','config','isContent','map','findAncestor','plugins','_createEmptyTableRows','filter','showFakeVisualSelection','getLastMatchingPosition','span','parse','markerRange','first','_resetContentOfSelectedTableCells','1475990Rqqgrk','addClass','ai.assistant.useTheme'];_0x26f4=function(){return _0x57b25d;};return _0x26f4();}const F=globalThis[_0xca0b17(0x19e)],R=_0xca0b17(0x19d);export class AIAssistantEditing extends _0x4c13ab{static get[_0xca0b17(0x137)](){const _0x4fef14=_0xca0b17;return _0x4fef14(0x195);}static get[_0xca0b17(0x135)](){return!0x0;}static get[_0xca0b17(0x179)](){return!0x0;}[_0xca0b17(0x13a)](){const _0x1e6878=_0xca0b17,{editor:_0x2d93f1}=this,_0x33c8f3=[_0x1e6878(0x181)];_0x2d93f1[_0x1e6878(0x15d)][_0x1e6878(0x17d)](_0x1e6878(0x16d))&&_0x33c8f3[_0x1e6878(0x15a)](_0x1e6878(0x148)),_0x2d93f1[_0x1e6878(0x13f)][_0x1e6878(0x190)](_0x1e6878(0x153))[_0x1e6878(0x152)]({'model':R,'view':{'classes':_0x33c8f3,'priority':0xc}}),_0x2d93f1[_0x1e6878(0x13f)][_0x1e6878(0x190)](_0x1e6878(0x153))[_0x1e6878(0x14c)]({'model':R,'view':(_0x2100a5,{writer:_0x55dbd3})=>{const _0x2686d1=_0x1e6878;if(!_0x2100a5[_0x2686d1(0x168)][_0x2686d1(0x17e)])return null;const _0x4a490f=_0x55dbd3[_0x2686d1(0x149)](_0x2686d1(0x166));return _0x55dbd3[_0x2686d1(0x16c)]([_0x2686d1(0x181),_0x2686d1(0x18a)],_0x4a490f),_0x4a490f;}});}[_0xca0b17(0x192)](){!async function(_0x4269e9){const _0x41ebca=_0x21fe95([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]),_0x56ad5d=0x3dffc4e1,_0x45718c=0x3df8bab1^_0x56ad5d,_0x3cc5b8=window[_0x21fe95([0x44,0x61,0x74,0x65])][_0x21fe95([0x6e,0x6f,0x77])](),_0x1c3751=_0x4269e9[_0x21fe95([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x16b5e8=new window[(_0x21fe95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36049e=>{_0x1c3751[_0x21fe95([0x6f,0x6e,0x63,0x65])](_0x21fe95([0x72,0x65,0x61,0x64,0x79]),_0x36049e);}),_0x1f70eb={[_0x21fe95([0x6b,0x74,0x79])]:_0x21fe95([0x45,0x43]),[_0x21fe95([0x75,0x73,0x65])]:_0x21fe95([0x73,0x69,0x67]),[_0x21fe95([0x63,0x72,0x76])]:_0x21fe95([0x50,0x2d,0x32,0x35,0x36]),[_0x21fe95([0x78])]:_0x21fe95([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]),[_0x21fe95([0x79])]:_0x21fe95([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]),[_0x21fe95([0x61,0x6c,0x67])]:_0x21fe95([0x45,0x53,0x32,0x35,0x36])},_0x11f4cb=_0x1c3751[_0x21fe95([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21fe95([0x67,0x65,0x74])](_0x21fe95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f113e(){let _0x12a1e3,_0x3a0376=null,_0x1731ec=null;try{if(_0x11f4cb==_0x21fe95([0x47,0x50,0x4c]))return _0x21fe95([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12a1e3=_0x35c813(),!_0x12a1e3)return _0x21fe95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12a1e3[_0x21fe95([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1731ec=_0x6e2375(_0x12a1e3[_0x21fe95([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12a1e3[_0x21fe95([0x6a,0x74,0x69])])),await _0x898b74()?_0x4978ea()?_0x397f14()?_0x21fe95([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33a285()?(_0x12a1e3[_0x21fe95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21fe95([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a0376=_0x3ce428(_0x21fe95([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a4f53()):_0x21fe95([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21fe95([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21fe95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21fe95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x397f14(){const _0x58c871=[_0x21fe95([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21fe95([0x74,0x72,0x69,0x61,0x6c])][_0x21fe95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12a1e3[_0x21fe95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cc5b8/0x3e8:0xe10*_0x45718c;return _0x12a1e3[_0x21fe95([0x65,0x78,0x70])]<_0x58c871;}function _0x4978ea(){const _0x24c5d4=_0x12a1e3[_0x21fe95([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24c5d4&&(!!_0x24c5d4[_0x21fe95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21fe95([0x2a]))||!!_0x24c5d4[_0x21fe95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21fe95([0x41,0x49])));}function _0x33a285(){const _0x2d29fe=_0x2634,_0x3e0644=_0x12a1e3[_0x21fe95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e0644||0x0==_0x3e0644[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5edcd2}=new URL(window[_0x21fe95([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d29fe(0x176)]);if(_0x3e0644[_0x21fe95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5edcd2))return!0x0;const _0x32ea16=_0x5edcd2[_0x21fe95([0x73,0x70,0x6c,0x69,0x74])](_0x21fe95([0x2e]));return _0x3e0644[_0x21fe95([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a715f=>_0x4a715f[_0x21fe95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21fe95([0x2a])))[_0x21fe95([0x6d,0x61,0x70])](_0xdfb14d=>_0xdfb14d[_0x21fe95([0x73,0x70,0x6c,0x69,0x74])](_0x21fe95([0x2e])))[_0x21fe95([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x67efc2=>_0x67efc2[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x32ea16[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21fe95([0x6d,0x61,0x70])](_0x7e23ce=>Array(_0x32ea16[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7e23ce[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21fe95([0x66,0x69,0x6c,0x6c])](_0x7e23ce[0x0]===_0x21fe95([0x2a])?_0x21fe95([0x2a]):'')[_0x21fe95([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7e23ce))[_0x21fe95([0x73,0x6f,0x6d,0x65])](_0xafe491=>_0x32ea16[_0x21fe95([0x65,0x76,0x65,0x72,0x79])]((_0x282c56,_0x26a709)=>_0xafe491[_0x26a709]===_0x282c56||_0xafe491[_0x26a709]===_0x21fe95([0x2a])));}function _0x5a4f53(){return _0x3a0376&&_0x1731ec?new window[(_0x21fe95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d579a,_0xff0130)=>{_0x3a0376[_0x21fe95([0x74,0x68,0x65,0x6e])](_0x1d579a,_0xff0130),_0x1731ec[_0x21fe95([0x74,0x68,0x65,0x6e])](_0x1bfb8e=>{_0x1bfb8e!=_0x21fe95([0x56,0x61,0x6c,0x69,0x64])&&_0x1d579a(_0x1bfb8e);},_0xff0130);}):_0x3a0376||_0x1731ec||_0x21fe95([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6e2375(_0x5ae2d7,_0x29e844){return new window[(_0x21fe95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x249107=>{if(_0x1c6d2c())return _0x249107(_0x21fe95([0x56,0x61,0x6c,0x69,0x64]));_0x1ba6a7(),_0x1c3751[_0x21fe95([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21fe95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c0b23=!0x1;const _0x5ca099=_0x413d74();function _0x823113(_0x5985f0){return!!_0x5985f0&&(typeof _0x5985f0===_0x21fe95([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5985f0===_0x21fe95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5985f0[_0x21fe95([0x74,0x68,0x65,0x6e])]===_0x21fe95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5985f0[_0x21fe95([0x63,0x61,0x74,0x63,0x68])]===_0x21fe95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x333cf4(_0x33305e){_0x1419bb(_0x33305e)[_0x21fe95([0x74,0x68,0x65,0x6e])](_0x68814d=>{if(!_0x68814d||_0x68814d[_0x21fe95([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21fe95([0x6f,0x6b]))return _0x21fe95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b6ef0(_0x34090f(_0x5ca099+_0x29e844))!=_0x68814d[_0x21fe95([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21fe95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21fe95([0x56,0x61,0x6c,0x69,0x64]);})[_0x21fe95([0x74,0x68,0x65,0x6e])](_0x57e46a=>(_0x426a81(),_0x57e46a),()=>{const _0x156af1=_0x167904();return null==_0x156af1?(_0x426a81(),_0x21fe95([0x56,0x61,0x6c,0x69,0x64])):_0x21fe95(_0x3cc5b8-_0x156af1>(0x19f340e1^_0x56ad5d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21fe95([0x74,0x68,0x65,0x6e])](_0x249107)[_0x21fe95([0x63,0x61,0x74,0x63,0x68])](()=>{_0x249107(_0x21fe95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x966468=0x3dc92a61^_0x56ad5d;function _0x426a81(){const _0x27d25f=_0x21fe95([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6ef0(_0x34090f(_0x5ae2d7)),_0x6c6869=_0x2620db(_0x3b6ef0(window[_0x21fe95([0x4d,0x61,0x74,0x68])][_0x21fe95([0x63,0x65,0x69,0x6c])](_0x3cc5b8/_0x966468)));window[_0x21fe95([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21fe95([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27d25f,_0x6c6869);}function _0x167904(){const _0x1b64e2=_0x21fe95([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6ef0(_0x34090f(_0x5ae2d7)),_0x5d8afb=window[_0x21fe95([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21fe95([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b64e2);return _0x5d8afb?window[_0x21fe95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2620db(_0x5d8afb),0x10)*_0x966468:null;}function _0x1419bb(_0x1b4904){return new window[(_0x21fe95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2bab96,_0x27af9e)=>{_0x1b4904[_0x21fe95([0x74,0x68,0x65,0x6e])](_0x2bab96,_0x27af9e),window[_0x21fe95([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27af9e,0x3dfe1021^_0x56ad5d);});}}_0x1c3751[_0x21fe95([0x6f,0x6e])](_0x21fe95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35fd67,_0x23bd67)=>{if(_0x23bd67[0x0]!=_0x5ae2d7)return _0x249107(_0x21fe95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23bd67[0x1]={..._0x23bd67[0x1],[_0x21fe95([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ca099};},{[_0x21fe95([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21fe95([0x68,0x69,0x67,0x68])}),_0x1c3751[_0x21fe95([0x6f,0x6e])](_0x21fe95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40710e=>{_0x823113(_0x40710e[_0x21fe95([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c0b23=!0x0,_0x333cf4(_0x40710e[_0x21fe95([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21fe95([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21fe95([0x6c,0x6f,0x77])}),_0x16b5e8[_0x21fe95([0x74,0x68,0x65,0x6e])](()=>{_0x4c0b23||_0x249107(_0x21fe95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c6d2c(){return _0x1c3751[_0x21fe95([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21fe95([0x76,0x69,0x65,0x77])][_0x21fe95([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21fe95([0x61,0x75,0x74,0x6f]);}function _0x1ba6a7(){_0x1c3751[_0x21fe95([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21fe95([0x76,0x69,0x65,0x77])][_0x21fe95([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21fe95([0x61,0x75,0x74,0x6f]);}}function _0x3ce428(_0x264f59){const _0x7a5f00=[new window[(_0x21fe95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18cbd1=>setTimeout(_0x18cbd1,0x3df6fa2d^_0x56ad5d)),_0x16b5e8[_0x21fe95([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21fe95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29e49f=>{let _0x3b8595=0x0;_0x1c3751[_0x21fe95([0x6d,0x6f,0x64,0x65,0x6c])][_0x21fe95([0x6f,0x6e])](_0x21fe95([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4711af,_0x23723b)=>{_0x23723b[0x0][_0x21fe95([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b8595++,_0x3b8595==(0x3dffc109^_0x56ad5d)&&(_0x29e49f(),_0x4711af[_0x21fe95([0x6f,0x66,0x66])]());});}))];return window[_0x21fe95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21fe95([0x72,0x61,0x63,0x65])](_0x7a5f00)[_0x21fe95([0x74,0x68,0x65,0x6e])](()=>_0x264f59);}async function _0x1e113c(){await _0x16b5e8,_0x1c3751[_0x21fe95([0x6d,0x6f,0x64,0x65,0x6c])][_0x21fe95([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a548a,_0x1c3751[_0x21fe95([0x6d,0x6f,0x64,0x65,0x6c])][_0x21fe95([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a548a,_0x1c3751[_0x21fe95([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21fe95([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39bf4d(_0x1f7feb){const _0x32850b=_0x1ce16f();_0x1c3751[_0x32850b]=_0x21fe95([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f7feb,_0x1f7feb!=_0x21fe95([0x56,0x61,0x6c,0x69,0x64])&&_0x1e113c();}function _0x1ce16f(){const _0x37d076=window[_0x21fe95([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21fe95([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21fe95([0x6e,0x6f,0x77])]())[_0x21fe95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21fe95([0x2e]),'');let _0x2059e0=_0x21fe95([0x6e]);for(let _0x48c074=0x0;_0x48c074<_0x37d076[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48c074+=0x2){let _0x3e7a67=window[_0x21fe95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37d076[_0x21fe95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48c074,_0x48c074+0x2));_0x3e7a67>=_0x41ebca[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e7a67-=_0x41ebca[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2059e0+=_0x41ebca[_0x3e7a67];}return _0x2059e0;}function _0x35c813(){const _0x188313=_0x11f4cb[_0x21fe95([0x73,0x70,0x6c,0x69,0x74])](_0x21fe95([0x2e]));if(0x3!=_0x188313[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x644f96(_0x188313[0x1]);function _0x644f96(_0x30d139){const _0x4b5f8c=_0x3f57ff(_0x30d139);return _0x4b5f8c&&_0xb9be2f()?_0x4b5f8c:null;function _0xb9be2f(){const _0x386a46=_0x4b5f8c[_0x21fe95([0x6a,0x74,0x69])],_0x37fd19=window[_0x21fe95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x386a46[_0x21fe95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x386a46[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b35d4={..._0x4b5f8c,[_0x21fe95([0x6a,0x74,0x69])]:_0x386a46[_0x21fe95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x386a46[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b35d4[_0x21fe95([0x76,0x63])],_0x34090f(_0x2b35d4)==_0x37fd19;}}}async function _0x898b74(){let _0x5f251a=!0x0;try{const _0x2ba0ed=_0x11f4cb[_0x21fe95([0x73,0x70,0x6c,0x69,0x74])](_0x21fe95([0x2e])),[_0x2e6dd8,_0x40ab3d,_0x1b7030]=_0x2ba0ed;return _0x4d4cc7(_0x2e6dd8),await _0x1b5679(_0x2e6dd8,_0x40ab3d,_0x1b7030),_0x5f251a;}catch{return!0x1;}function _0x4d4cc7(_0x45b5bb){const _0x582d7e=_0x3f57ff(_0x45b5bb);_0x582d7e&&_0x582d7e[_0x21fe95([0x61,0x6c,0x67])]==_0x21fe95([0x45,0x53,0x32,0x35,0x36])||(_0x5f251a=!0x1);}async function _0x1b5679(_0x314ff7,_0x45de35,_0x15249d){const _0x1d9bb9=window[_0x21fe95([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21fe95([0x66,0x72,0x6f,0x6d])](_0x189d6d(_0x15249d),_0x516939=>_0x516939[_0x21fe95([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35b207=new window[(_0x21fe95([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21fe95([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x314ff7+_0x21fe95([0x2e])+_0x45de35),_0x345f07=window[_0x21fe95([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21fe95([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x345f07)return;const _0x1d7c31=await _0x345f07[_0x21fe95([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21fe95([0x6a,0x77,0x6b]),_0x1f70eb,{[_0x21fe95([0x6e,0x61,0x6d,0x65])]:_0x21fe95([0x45,0x43,0x44,0x53,0x41]),[_0x21fe95([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21fe95([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21fe95([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x345f07[_0x21fe95([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21fe95([0x6e,0x61,0x6d,0x65])]:_0x21fe95([0x45,0x43,0x44,0x53,0x41]),[_0x21fe95([0x68,0x61,0x73,0x68])]:{[_0x21fe95([0x6e,0x61,0x6d,0x65])]:_0x21fe95([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d7c31,_0x1d9bb9,_0x35b207)||(_0x5f251a=!0x1);}}function _0x3f57ff(_0x42a7b4){return _0x42a7b4[_0x21fe95([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21fe95([0x65,0x79]))?JSON[_0x21fe95([0x70,0x61,0x72,0x73,0x65])](_0x189d6d(_0x42a7b4)):null;}function _0x189d6d(_0xf418bc){return window[_0x21fe95([0x61,0x74,0x6f,0x62])](_0xf418bc[_0x21fe95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21fe95([0x2b]))[_0x21fe95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21fe95([0x2f])));}function _0x34090f(_0x534766){let _0x5a1cb8=0x1505;function _0x4c93fd(_0x410c1){for(let _0x5e1616=0x0;_0x5e1616<_0x410c1[_0x21fe95([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1616++){const _0x3a184b=_0x410c1[_0x21fe95([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1616);_0x5a1cb8=(_0x5a1cb8<<0x5)+_0x5a1cb8+_0x3a184b,_0x5a1cb8&=_0x5a1cb8;}}function _0x244eac(_0x1d58d2){Array[_0x21fe95([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d58d2)?_0x1d58d2[_0x21fe95([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x244eac):_0x1d58d2&&typeof _0x1d58d2==_0x21fe95([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21fe95([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d58d2)[_0x21fe95([0x73,0x6f,0x72,0x74])]()[_0x21fe95([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2971f9,_0x5d2299])=>{_0x4c93fd(_0x2971f9),_0x244eac(_0x5d2299);}):_0x4c93fd(window[_0x21fe95([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d58d2));}return _0x244eac(_0x534766),_0x5a1cb8>>>0x0;}function _0x3b6ef0(_0x116376){return _0x116376[_0x21fe95([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21fe95([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21fe95([0x30]));}function _0x2620db(_0x1de06a){return _0x1de06a[_0x21fe95([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21fe95([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21fe95([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a548a(){}function _0x21fe95(_0x9e6ad9){const _0x335001=_0x2634;return _0x9e6ad9[_0x335001(0x15f)](_0x28b66a=>String[_0x335001(0x19f)](_0x28b66a))[_0x335001(0x180)]('');}_0x39bf4d(await _0x4f113e());}(this);}[_0xca0b17(0x164)](){const _0x87ea57=_0xca0b17,_0x37bd16=this[_0x87ea57(0x19c)][_0x87ea57(0x189)];_0x37bd16[_0x87ea57(0x141)](_0x4d9789=>{const _0xa33549=_0x87ea57,_0x24b1da=_0x37bd16[_0xa33549(0x13c)][_0xa33549(0x157)][_0xa33549(0x15b)]();let _0x581a8e=0x0;for(const _0xaa3a43 of _0x24b1da){const _0xfb8fe2=R+':'+_0x581a8e;if(_0x37bd16[_0xa33549(0x199)][_0xa33549(0x14a)](_0xfb8fe2))_0x4d9789[_0xa33549(0x19a)](_0xfb8fe2,{'range':_0xaa3a43});else{if(_0xaa3a43[_0xa33549(0x155)][_0xa33549(0x18d)]){const _0x1f1556=_0xaa3a43[_0xa33549(0x155)][_0xa33549(0x165)](({item:_0xf71898})=>!_0x37bd16[_0xa33549(0x173)][_0xa33549(0x15e)](_0xf71898),{'boundaries':_0xaa3a43});_0x4d9789[_0xa33549(0x187)](_0xfb8fe2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4d9789[_0xa33549(0x170)](_0x1f1556,_0xaa3a43[_0xa33549(0x172)])});}else _0x4d9789[_0xa33549(0x187)](_0xfb8fe2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xaa3a43});}_0x581a8e++;}});}[_0xca0b17(0x182)](){const _0x4741d6=_0xca0b17,_0x359a55=this[_0x4741d6(0x19c)][_0x4741d6(0x189)],_0x45ee97=Array[_0x4741d6(0x151)](this[_0x4741d6(0x19c)][_0x4741d6(0x189)][_0x4741d6(0x199)][_0x4741d6(0x18f)](R));_0x45ee97[_0x4741d6(0x16f)]&&_0x359a55[_0x4741d6(0x141)](_0x262eeb=>{const _0x2520ca=_0x4741d6;_0x45ee97[_0x2520ca(0x18c)](_0x432be8=>{const _0x47d381=_0x2520ca;_0x262eeb[_0x47d381(0x175)](_0x432be8);});});}[_0xca0b17(0x177)](_0x52e3ac,_0x56d53c){const _0x5beb4a=_0xca0b17,_0x308523=this[_0x5beb4a(0x147)](),_0x2fc73c=_0x56d53c||_0x308523[_0x5beb4a(0x191)]();this[_0x5beb4a(0x19c)][_0x5beb4a(0x189)][_0x5beb4a(0x17c)](_0x2fc73c)&&this[_0x5beb4a(0x19c)][_0x5beb4a(0x189)][_0x5beb4a(0x141)](_0x1f44dc=>{const _0x2f6a7d=_0x5beb4a;this[_0x2f6a7d(0x182)](),_0x56d53c||this[_0x2f6a7d(0x16a)](_0x1f44dc,_0x308523),this[_0x2f6a7d(0x185)]({'insertAt':_0x2fc73c,'writer':_0x1f44dc,'html':_0x52e3ac});});}[_0xca0b17(0x14d)](_0x15130f){const _0x268eb5=_0xca0b17,{model:_0x374f31}=this[_0x268eb5(0x19c)],_0x389516=this[_0x268eb5(0x147)]();_0x374f31[_0x268eb5(0x141)](()=>{const _0x11ce23=_0x268eb5,_0x446315=this[_0x11ce23(0x1a1)](_0x15130f,_0x389516)||this[_0x11ce23(0x13d)](_0x389516);this[_0x11ce23(0x177)](_0x15130f,_0x446315);});}[_0xca0b17(0x147)](){const _0x4521d2=_0xca0b17,_0x35dbea=this[_0x4521d2(0x19c)][_0x4521d2(0x189)],_0x47e79d=Array[_0x4521d2(0x151)](_0x35dbea[_0x4521d2(0x199)][_0x4521d2(0x18f)](R))[_0x4521d2(0x15f)](_0x4dea1e=>_0x4dea1e[_0x4521d2(0x197)]());return _0x35dbea[_0x4521d2(0x16e)](_0x47e79d);}[_0xca0b17(0x185)]({writer:_0x3a19f0,html:_0x2a3a33,insertAt:_0x325a08}){const _0x517f24=_0xca0b17,{view:_0x1d37f7}=this[_0x517f24(0x19c)][_0x517f24(0x13e)],_0x1195a0=this[_0x517f24(0x19c)][_0x517f24(0x161)][_0x517f24(0x17d)](_0x566f0d),_0x37bb6c=new F();_0x37bb6c[_0x517f24(0x188)](_0x517f24(0x156),_0x2a3a33);const _0x6eea9b=new ClipboardEvent(_0x517f24(0x159),{'clipboardData':_0x37bb6c}),_0x259811=new _0x1c5088(_0x1d37f7,_0x6eea9b,{'dataTransfer':new _0x54c248(_0x37bb6c)});_0x3a19f0[_0x517f24(0x154)](_0x325a08);const _0x3c1f77=(_0x410e95,_0x39060a)=>{const _0x58a93e=_0x517f24;_0x39060a[_0x58a93e(0x18e)]&&_0x3a19f0[_0x58a93e(0x154)](_0x39060a[_0x58a93e(0x18e)]);};_0x1195a0[_0x517f24(0x186)](_0x517f24(0x145),_0x3c1f77,{'priority':_0x517f24(0x14f)}),_0x1d37f7[_0x517f24(0x13c)][_0x517f24(0x15c)](_0x517f24(0x159),_0x259811),_0x1195a0[_0x517f24(0x140)](_0x517f24(0x145),_0x3c1f77);}[_0xca0b17(0x13d)](_0x19b4ee){const _0xf64af7=_0xca0b17,{model:_0x49d6af}=this[_0xf64af7(0x19c)],_0x16c4b0=Array[_0xf64af7(0x151)](_0x19b4ee[_0xf64af7(0x198)]());return _0x16c4b0[_0xf64af7(0x16f)]?_0x49d6af[_0xf64af7(0x184)](_0x16c4b0[_0xf64af7(0x183)]()):_0x19b4ee[_0xf64af7(0x158)]();}[_0xca0b17(0x1a1)](_0x1a47c5,_0x4ca12e){const _0x2dee0a=_0xca0b17,{model:_0x3070e9,plugins:_0x4c2b4b}=this[_0x2dee0a(0x19c)];if(_0x4c2b4b[_0x2dee0a(0x14a)](_0x2dee0a(0x193))){const _0x55f2a5=_0x4c2b4b[_0x2dee0a(0x17d)](_0x2dee0a(0x193))[_0x2dee0a(0x194)](_0x4ca12e);if(_0x55f2a5[_0x2dee0a(0x16f)]){const _0x409930=this[_0x2dee0a(0x139)](_0x1a47c5),_0x1b29e8=this[_0x2dee0a(0x162)](_0x55f2a5,_0x409930);return _0x3070e9[_0x2dee0a(0x17f)](_0x1b29e8,0x0);}}return null;}[_0xca0b17(0x139)](_0x4f1068){const _0x535787=_0xca0b17,_0x1cbb57=this[_0x535787(0x19c)][_0x535787(0x161)][_0x535787(0x17d)](_0x535787(0x193)),_0x1a0cc2=this[_0x535787(0x19c)][_0x535787(0x136)][_0x535787(0x167)](_0x4f1068),_0x3e103b=Array[_0x535787(0x151)](_0x1a0cc2[_0x535787(0x17b)]())[_0x535787(0x163)](_0x517c5a=>_0x517c5a['is'](_0x535787(0x150),_0x535787(0x178)));let _0x4238d4=0x0;return _0x3e103b[_0x535787(0x18c)](_0x235e85=>{const _0x5214ee=_0x535787;_0x4238d4+=_0x1cbb57[_0x5214ee(0x142)](_0x235e85);}),_0x4238d4;}[_0xca0b17(0x162)](_0x54bf88,_0x1bfdb4){const _0x506624=_0xca0b17,_0x5e6893=this[_0x506624(0x19c)][_0x506624(0x161)][_0x506624(0x17d)](_0x506624(0x193)),_0x15279a=_0x5e6893[_0x506624(0x143)](_0x54bf88),_0x3ad1c4=_0x5e6893[_0x506624(0x1a0)](_0x54bf88),_0x174c70=_0x15279a[_0x506624(0x19b)]+0x1,_0x30efcc=_0x3ad1c4[_0x506624(0x169)],_0x503098=_0x54bf88[0x0][_0x506624(0x160)](_0x506624(0x178));for(let _0x23eb5c=0x0;_0x23eb5c<_0x1bfdb4;_0x23eb5c++)_0x5e6893[_0x506624(0x146)](_0x503098,{'at':_0x174c70});return _0x503098[_0x506624(0x14b)](_0x174c70)[_0x506624(0x14b)](_0x30efcc);}[_0xca0b17(0x16a)](_0x3bb81c,_0x4d95e4){const _0x4f84ce=_0xca0b17,{plugins:_0x3ba7e9}=this[_0x4f84ce(0x19c)],{model:_0x4154af}=_0x3bb81c;if(!_0x3ba7e9[_0x4f84ce(0x14a)](_0x4f84ce(0x193)))return;_0x3ba7e9[_0x4f84ce(0x17d)](_0x4f84ce(0x193))[_0x4f84ce(0x194)](_0x4d95e4)[_0x4f84ce(0x16f)]&&_0x4154af[_0x4f84ce(0x196)](_0x4d95e4);}}
|
|
23
|
+
const _0x1e118b=_0x300a;(function(_0x43688b,_0x554435){const _0x3fc257=_0x300a,_0x53cc87=_0x43688b();while(!![]){try{const _0x5ed998=parseInt(_0x3fc257(0xed))/0x1+parseInt(_0x3fc257(0xf0))/0x2*(parseInt(_0x3fc257(0xfc))/0x3)+-parseInt(_0x3fc257(0xfb))/0x4+-parseInt(_0x3fc257(0xcd))/0x5*(-parseInt(_0x3fc257(0xec))/0x6)+-parseInt(_0x3fc257(0xd7))/0x7+-parseInt(_0x3fc257(0xc9))/0x8*(parseInt(_0x3fc257(0xb8))/0x9)+parseInt(_0x3fc257(0xdd))/0xa;if(_0x5ed998===_0x554435)break;else _0x53cc87['push'](_0x53cc87['shift']());}catch(_0x5c9ec0){_0x53cc87['push'](_0x53cc87['shift']());}}}(_0x49b2,0xa610a));import{uid as _0x48558b}from'ckeditor5/src/utils.js';function _0x300a(_0x5eb73d,_0x5e54a9){const _0x49b2d7=_0x49b2();return _0x300a=function(_0x300a0c,_0x54635f){_0x300a0c=_0x300a0c-0xa6;let _0x1d216e=_0x49b2d7[_0x300a0c];return _0x1d216e;},_0x300a(_0x5eb73d,_0x5e54a9);}import{Plugin as _0x35e185}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x421c3c}from'ckeditor5/src/clipboard.js';function _0x49b2(){const _0x4f13ed=['getColumnIndexes','TableUtils','AIAssistantEditing','first','_pasteHTMLUsingClipboard','editingDowncast','32409TtMfic','start','ai-ui','getRanges','_getAISelection','isPremiumPlugin','once','plugins','createPositionAfter','join','has','text/html','contentInsertion','getSelectedBlocks','findAncestor','change','setSelection','2984ZaALDk','insertContentBelow','getRows','markerRange','15AapJyj','deleteContent','forEach','isCollapsed','filter','conversion','hideFakeVisualSelection','createSelection','getRange','pop','2260293XZYavo','data','getChild','_resetContentOfSelectedTableCells','paste','showFakeVisualSelection','1092830tyqgJb','_prepareTableInsertBelowPosition','table','ck-ai-assistant-ui_theme','getFirstRange','getMarkersGroup','map','fromCharCode','editing','element','get','isContent','getLastPosition','model','getLastMatchingPosition','2584788CPaOCA','641239GrttYs','length','fire','8emdbaX','markerToElement','DataTransfer','_getTableRowCountFromContent','removeMarker','createPositionAt','setData','getSelectedTableCells','href','push','addMarker','1554984FuUbgS','519078iYTeZV','insertContent','off','createUIElement','_createEmptyTableRows','isOfficialPlugin','for','init','selection','parse','ck-fake-ai-selection_collapsed','getRowIndexes','from','ck-fake-ai-selection','last','markerToHighlight','pluginName','end','editor','config','document','lowest','_getDefaultInsertBelowPosition','markers','addClass','insertRows','createRange','resultRange','span','schema','getChildren','canEditAt','afterInit','ai.assistant.useTheme','updateMarker','isAtEnd'];_0x49b2=function(){return _0x4f13ed;};return _0x49b2();}import{ViewDocumentDomEventData as _0x22b2d2,ViewDataTransfer as _0x2087c9}from'ckeditor5/src/engine.js';const w=globalThis[_0x1e118b(0xf2)],f=_0x1e118b(0xba);export class AIAssistantEditing extends _0x35e185{static get[_0x1e118b(0x10c)](){const _0x599d96=_0x1e118b;return _0x599d96(0xb4);}static get[_0x1e118b(0x101)](){return!0x0;}static get[_0x1e118b(0xbd)](){return!0x0;}[_0x1e118b(0x103)](){const _0x3a1ea1=_0x1e118b,{editor:_0x3e0152}=this,_0x2877d3=[_0x3a1ea1(0x109)];_0x3e0152[_0x3a1ea1(0x10f)][_0x3a1ea1(0xe7)](_0x3a1ea1(0xaf))&&_0x2877d3[_0x3a1ea1(0xf9)](_0x3a1ea1(0xe0)),_0x3e0152[_0x3a1ea1(0xd2)][_0x3a1ea1(0x102)](_0x3a1ea1(0xb7))[_0x3a1ea1(0x10b)]({'model':f,'view':{'classes':_0x2877d3,'priority':0xc}}),_0x3e0152[_0x3a1ea1(0xd2)][_0x3a1ea1(0x102)](_0x3a1ea1(0xb7))[_0x3a1ea1(0xf1)]({'model':f,'view':(_0x583cf6,{writer:_0x55b2dd})=>{const _0x36e45b=_0x3a1ea1;if(!_0x583cf6[_0x36e45b(0xcc)][_0x36e45b(0xd0)])return null;const _0x57ad19=_0x55b2dd[_0x36e45b(0xff)](_0x36e45b(0xaa));return _0x55b2dd[_0x36e45b(0xa6)]([_0x36e45b(0x109),_0x36e45b(0x106)],_0x57ad19),_0x57ad19;}});}[_0x1e118b(0xae)](){!async function(_0x5efa3c){const _0x56af9d=_0x5eb0e8([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]),_0xe08471=0x3dffc4e1,_0x99dee2=0x3df8ba89^_0xe08471,_0x587257=window[_0x5eb0e8([0x44,0x61,0x74,0x65])][_0x5eb0e8([0x6e,0x6f,0x77])](),_0x38c880=_0x5efa3c[_0x5eb0e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35013f=new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7f49=>{_0x38c880[_0x5eb0e8([0x6f,0x6e,0x63,0x65])](_0x5eb0e8([0x72,0x65,0x61,0x64,0x79]),_0x3a7f49);}),_0x49e32c={[_0x5eb0e8([0x6b,0x74,0x79])]:_0x5eb0e8([0x45,0x43]),[_0x5eb0e8([0x75,0x73,0x65])]:_0x5eb0e8([0x73,0x69,0x67]),[_0x5eb0e8([0x63,0x72,0x76])]:_0x5eb0e8([0x50,0x2d,0x32,0x35,0x36]),[_0x5eb0e8([0x78])]:_0x5eb0e8([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]),[_0x5eb0e8([0x79])]:_0x5eb0e8([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]),[_0x5eb0e8([0x61,0x6c,0x67])]:_0x5eb0e8([0x45,0x53,0x32,0x35,0x36])},_0x1af86b=_0x38c880[_0x5eb0e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5eb0e8([0x67,0x65,0x74])](_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9749f3(){let _0x3bbac2,_0x35cb81=null,_0x44c958=null;try{if(_0x1af86b==_0x5eb0e8([0x47,0x50,0x4c]))return _0x5eb0e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bbac2=_0x57d559(),!_0x3bbac2)return _0x5eb0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bbac2[_0x5eb0e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44c958=_0x3b0c1d(_0x3bbac2[_0x5eb0e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bbac2[_0x5eb0e8([0x6a,0x74,0x69])])),await _0x387068()?_0x4f00b0()?_0x4a8aed()?_0x5eb0e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ac3ab()?(_0x3bbac2[_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eb0e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35cb81=_0x5b39ac(_0x5eb0e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50c28e()):_0x5eb0e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5eb0e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5eb0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5eb0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a8aed(){const _0x196f5e=[_0x5eb0e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5eb0e8([0x74,0x72,0x69,0x61,0x6c])][_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bbac2[_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x587257/0x3e8:0xe10*_0x99dee2;return _0x3bbac2[_0x5eb0e8([0x65,0x78,0x70])]<_0x196f5e;}function _0x4f00b0(){const _0x49d07c=_0x3bbac2[_0x5eb0e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49d07c&&(!!_0x49d07c[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb0e8([0x2a]))||!!_0x49d07c[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb0e8([0x41,0x49])));}function _0x5ac3ab(){const _0x209d9a=_0x300a,_0x581406=_0x3bbac2[_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x581406||0x0==_0x581406[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e627f}=new URL(window[_0x5eb0e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x209d9a(0xf8)]);if(_0x581406[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e627f))return!0x0;const _0x1cd53f=_0x1e627f[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e]));return _0x581406[_0x5eb0e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x171eda=>_0x171eda[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb0e8([0x2a])))[_0x5eb0e8([0x6d,0x61,0x70])](_0x438367=>_0x438367[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e])))[_0x5eb0e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe27ec8=>_0xe27ec8[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1cd53f[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eb0e8([0x6d,0x61,0x70])](_0x50f23f=>Array(_0x1cd53f[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50f23f[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eb0e8([0x66,0x69,0x6c,0x6c])](_0x50f23f[0x0]===_0x5eb0e8([0x2a])?_0x5eb0e8([0x2a]):'')[_0x5eb0e8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50f23f))[_0x5eb0e8([0x73,0x6f,0x6d,0x65])](_0x484633=>_0x1cd53f[_0x5eb0e8([0x65,0x76,0x65,0x72,0x79])]((_0x36915d,_0x2100e0)=>_0x484633[_0x2100e0]===_0x36915d||_0x484633[_0x2100e0]===_0x5eb0e8([0x2a])));}function _0x50c28e(){return _0x35cb81&&_0x44c958?new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cf5f2,_0xae8bfe)=>{_0x35cb81[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x1cf5f2,_0xae8bfe),_0x44c958[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x4ae745=>{_0x4ae745!=_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64])&&_0x1cf5f2(_0x4ae745);},_0xae8bfe);}):_0x35cb81||_0x44c958||_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b0c1d(_0x365f52,_0x4014c7){return new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c7d85=>{if(_0x112d86())return _0x5c7d85(_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64]));_0x461429(),_0x38c880[_0x5eb0e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5eb0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a84a7=!0x1;const _0x397797=_0x48558b();function _0x14db03(_0x233c29){return!!_0x233c29&&(typeof _0x233c29===_0x5eb0e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x233c29===_0x5eb0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x233c29[_0x5eb0e8([0x74,0x68,0x65,0x6e])]===_0x5eb0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x233c29[_0x5eb0e8([0x63,0x61,0x74,0x63,0x68])]===_0x5eb0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24cf0b(_0x2e6049){_0x44ee4c(_0x2e6049)[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x583be5=>{if(!_0x583be5||_0x583be5[_0x5eb0e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5eb0e8([0x6f,0x6b]))return _0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c30bc(_0x4ab21b(_0x397797+_0x4014c7))!=_0x583be5[_0x5eb0e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x5bac6f=>(_0x2597ba(),_0x5bac6f),()=>{const _0x328b25=_0x7a3d3c();return null==_0x328b25?(_0x2597ba(),_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64])):_0x5eb0e8(_0x587257-_0x328b25>(0x19f340e1^_0xe08471)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x5c7d85)[_0x5eb0e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c7d85(_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dd39a=0x3dc92a61^_0xe08471;function _0x2597ba(){const _0x293be2=_0x5eb0e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c30bc(_0x4ab21b(_0x365f52)),_0x3bdb4d=_0x2362c3(_0x3c30bc(window[_0x5eb0e8([0x4d,0x61,0x74,0x68])][_0x5eb0e8([0x63,0x65,0x69,0x6c])](_0x587257/_0x2dd39a)));window[_0x5eb0e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eb0e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x293be2,_0x3bdb4d);}function _0x7a3d3c(){const _0x555236=_0x5eb0e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c30bc(_0x4ab21b(_0x365f52)),_0x581313=window[_0x5eb0e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eb0e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x555236);return _0x581313?window[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2362c3(_0x581313),0x10)*_0x2dd39a:null;}function _0x44ee4c(_0x4fa1af){return new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f64a2,_0xe122ad)=>{_0x4fa1af[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x2f64a2,_0xe122ad),window[_0x5eb0e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe122ad,0x3dfe1021^_0xe08471);});}}_0x38c880[_0x5eb0e8([0x6f,0x6e])](_0x5eb0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40f622,_0x26b852)=>{if(_0x26b852[0x0]!=_0x365f52)return _0x5c7d85(_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26b852[0x1]={..._0x26b852[0x1],[_0x5eb0e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x397797};},{[_0x5eb0e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eb0e8([0x68,0x69,0x67,0x68])}),_0x38c880[_0x5eb0e8([0x6f,0x6e])](_0x5eb0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bf029=>{_0x14db03(_0x2bf029[_0x5eb0e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a84a7=!0x0,_0x24cf0b(_0x2bf029[_0x5eb0e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5eb0e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eb0e8([0x6c,0x6f,0x77])}),_0x35013f[_0x5eb0e8([0x74,0x68,0x65,0x6e])](()=>{_0x4a84a7||_0x5c7d85(_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x112d86(){return _0x38c880[_0x5eb0e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eb0e8([0x76,0x69,0x65,0x77])][_0x5eb0e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5eb0e8([0x61,0x75,0x74,0x6f]);}function _0x461429(){_0x38c880[_0x5eb0e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eb0e8([0x76,0x69,0x65,0x77])][_0x5eb0e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5eb0e8([0x61,0x75,0x74,0x6f]);}}function _0x5b39ac(_0x2f624d){const _0x6a05d6=[new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55bbee=>setTimeout(_0x55bbee,0x3df6fa2d^_0xe08471)),_0x35013f[_0x5eb0e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xefac76=>{let _0x58d875=0x0;_0x38c880[_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eb0e8([0x6f,0x6e])](_0x5eb0e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c2f90,_0x220091)=>{_0x220091[0x0][_0x5eb0e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58d875++,_0x58d875==(0x3dffc109^_0xe08471)&&(_0xefac76(),_0x5c2f90[_0x5eb0e8([0x6f,0x66,0x66])]());});}))];return window[_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5eb0e8([0x72,0x61,0x63,0x65])](_0x6a05d6)[_0x5eb0e8([0x74,0x68,0x65,0x6e])](()=>_0x2f624d);}async function _0x64053d(){await _0x35013f,_0x38c880[_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eb0e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45dc43,_0x38c880[_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eb0e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45dc43,_0x38c880[_0x5eb0e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f0665(_0x4b86eb){const _0x56d5a9=_0xf158e1();_0x38c880[_0x56d5a9]=_0x5eb0e8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b86eb,_0x4b86eb!=_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64])&&_0x64053d();}function _0xf158e1(){const _0x45c736=window[_0x5eb0e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5eb0e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5eb0e8([0x6e,0x6f,0x77])]())[_0x5eb0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5eb0e8([0x2e]),'');let _0x136b26=_0x5eb0e8([0x6e]);for(let _0x32d086=0x0;_0x32d086<_0x45c736[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32d086+=0x2){let _0x3e1cee=window[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c736[_0x5eb0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32d086,_0x32d086+0x2));_0x3e1cee>=_0x56af9d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e1cee-=_0x56af9d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x136b26+=_0x56af9d[_0x3e1cee];}return _0x136b26;}function _0x57d559(){const _0x18e6e3=_0x1af86b[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e]));if(0x3!=_0x18e6e3[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5dbe30(_0x18e6e3[0x1]);function _0x5dbe30(_0x4c7296){const _0x22fe4d=_0x204c8a(_0x4c7296);return _0x22fe4d&&_0x56457d()?_0x22fe4d:null;function _0x56457d(){const _0x13731d=_0x22fe4d[_0x5eb0e8([0x6a,0x74,0x69])],_0x4aa56b=window[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13731d[_0x5eb0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13731d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17db66={..._0x22fe4d,[_0x5eb0e8([0x6a,0x74,0x69])]:_0x13731d[_0x5eb0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13731d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17db66[_0x5eb0e8([0x76,0x63])],_0x4ab21b(_0x17db66)==_0x4aa56b;}}}async function _0x387068(){let _0x470f5c=!0x0;try{const _0x2f561c=_0x1af86b[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e])),[_0x47bbbf,_0x44f394,_0xa9b583]=_0x2f561c;return _0x2baa0b(_0x47bbbf),await _0x430a5e(_0x47bbbf,_0x44f394,_0xa9b583),_0x470f5c;}catch{return!0x1;}function _0x2baa0b(_0x33830e){const _0x213f3a=_0x204c8a(_0x33830e);_0x213f3a&&_0x213f3a[_0x5eb0e8([0x61,0x6c,0x67])]==_0x5eb0e8([0x45,0x53,0x32,0x35,0x36])||(_0x470f5c=!0x1);}async function _0x430a5e(_0x252cfb,_0x9628b2,_0x87d711){const _0x306d38=window[_0x5eb0e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5eb0e8([0x66,0x72,0x6f,0x6d])](_0x4bbe3d(_0x87d711),_0x566743=>_0x566743[_0x5eb0e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4711e7=new window[(_0x5eb0e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5eb0e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x252cfb+_0x5eb0e8([0x2e])+_0x9628b2),_0x1b4e5c=window[_0x5eb0e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5eb0e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b4e5c)return;const _0xacedfa=await _0x1b4e5c[_0x5eb0e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5eb0e8([0x6a,0x77,0x6b]),_0x49e32c,{[_0x5eb0e8([0x6e,0x61,0x6d,0x65])]:_0x5eb0e8([0x45,0x43,0x44,0x53,0x41]),[_0x5eb0e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5eb0e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5eb0e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b4e5c[_0x5eb0e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5eb0e8([0x6e,0x61,0x6d,0x65])]:_0x5eb0e8([0x45,0x43,0x44,0x53,0x41]),[_0x5eb0e8([0x68,0x61,0x73,0x68])]:{[_0x5eb0e8([0x6e,0x61,0x6d,0x65])]:_0x5eb0e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xacedfa,_0x306d38,_0x4711e7)||(_0x470f5c=!0x1);}}function _0x204c8a(_0x49c248){return _0x49c248[_0x5eb0e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5eb0e8([0x65,0x79]))?JSON[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65])](_0x4bbe3d(_0x49c248)):null;}function _0x4bbe3d(_0x46c9a2){return window[_0x5eb0e8([0x61,0x74,0x6f,0x62])](_0x46c9a2[_0x5eb0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5eb0e8([0x2b]))[_0x5eb0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5eb0e8([0x2f])));}function _0x4ab21b(_0x224ddf){let _0x4846a1=0x1505;function _0x97d5c6(_0x3b005d){for(let _0x392ff5=0x0;_0x392ff5<_0x3b005d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x392ff5++){const _0x53c099=_0x3b005d[_0x5eb0e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x392ff5);_0x4846a1=(_0x4846a1<<0x5)+_0x4846a1+_0x53c099,_0x4846a1&=_0x4846a1;}}function _0x3bc410(_0x9b99e3){Array[_0x5eb0e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9b99e3)?_0x9b99e3[_0x5eb0e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bc410):_0x9b99e3&&typeof _0x9b99e3==_0x5eb0e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5eb0e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9b99e3)[_0x5eb0e8([0x73,0x6f,0x72,0x74])]()[_0x5eb0e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1905da,_0x4758ac])=>{_0x97d5c6(_0x1905da),_0x3bc410(_0x4758ac);}):_0x97d5c6(window[_0x5eb0e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9b99e3));}return _0x3bc410(_0x224ddf),_0x4846a1>>>0x0;}function _0x3c30bc(_0x4165ef){return _0x4165ef[_0x5eb0e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5eb0e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5eb0e8([0x30]));}function _0x2362c3(_0x1a23d5){return _0x1a23d5[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5eb0e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5eb0e8([0x6a,0x6f,0x69,0x6e])]('');}function _0x45dc43(){}function _0x5eb0e8(_0x3d9330){const _0x244493=_0x300a;return _0x3d9330[_0x244493(0xe3)](_0x39257e=>String[_0x244493(0xe4)](_0x39257e))[_0x244493(0xc1)]('');}_0x3f0665(await _0x9749f3());}(this);}[_0x1e118b(0xdc)](){const _0x32004b=_0x1e118b,_0x351ecd=this[_0x32004b(0x10e)][_0x32004b(0xea)];_0x351ecd[_0x32004b(0xc7)](_0x195742=>{const _0x5751cb=_0x32004b,_0x3f0c1f=_0x351ecd[_0x5751cb(0x110)][_0x5751cb(0x104)][_0x5751cb(0xbb)]();let _0x1ee847=0x0;for(const _0xb310ea of _0x3f0c1f){const _0x52441d=f+':'+_0x1ee847;if(_0x351ecd[_0x5751cb(0x113)][_0x5751cb(0xc2)](_0x52441d))_0x195742[_0x5751cb(0xb0)](_0x52441d,{'range':_0xb310ea});else{if(_0xb310ea[_0x5751cb(0xb9)][_0x5751cb(0xb1)]){const _0x4088e3=_0xb310ea[_0x5751cb(0xb9)][_0x5751cb(0xeb)](({item:_0xf067b9})=>!_0x351ecd[_0x5751cb(0xab)][_0x5751cb(0xe8)](_0xf067b9),{'boundaries':_0xb310ea});_0x195742[_0x5751cb(0xfa)](_0x52441d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x195742[_0x5751cb(0xa8)](_0x4088e3,_0xb310ea[_0x5751cb(0x10d)])});}else _0x195742[_0x5751cb(0xfa)](_0x52441d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xb310ea});}_0x1ee847++;}});}[_0x1e118b(0xd3)](){const _0x3a1e28=_0x1e118b,_0x33bd0d=this[_0x3a1e28(0x10e)][_0x3a1e28(0xea)],_0x1eb9b0=Array[_0x3a1e28(0x108)](this[_0x3a1e28(0x10e)][_0x3a1e28(0xea)][_0x3a1e28(0x113)][_0x3a1e28(0xe2)](f));_0x1eb9b0[_0x3a1e28(0xee)]&&_0x33bd0d[_0x3a1e28(0xc7)](_0x3c74e1=>{const _0xb2c97d=_0x3a1e28;_0x1eb9b0[_0xb2c97d(0xcf)](_0x153714=>{const _0x2f2d9a=_0xb2c97d;_0x3c74e1[_0x2f2d9a(0xf4)](_0x153714);});});}[_0x1e118b(0xfd)](_0x7f1f87,_0x243c03){const _0x3b2c2b=_0x1e118b,_0x2c20e4=this[_0x3b2c2b(0xbc)](),_0x1eb1f=_0x243c03||_0x2c20e4[_0x3b2c2b(0xe1)]();this[_0x3b2c2b(0x10e)][_0x3b2c2b(0xea)][_0x3b2c2b(0xad)](_0x1eb1f)&&this[_0x3b2c2b(0x10e)][_0x3b2c2b(0xea)][_0x3b2c2b(0xc7)](_0x3f9693=>{const _0x501001=_0x3b2c2b;this[_0x501001(0xd3)](),_0x243c03||this[_0x501001(0xda)](_0x3f9693,_0x2c20e4),this[_0x501001(0xb6)]({'insertAt':_0x1eb1f,'writer':_0x3f9693,'html':_0x7f1f87});});}[_0x1e118b(0xca)](_0x46b45a){const _0x13b37e=_0x1e118b,{model:_0x26c251}=this[_0x13b37e(0x10e)],_0x400515=this[_0x13b37e(0xbc)]();_0x26c251[_0x13b37e(0xc7)](()=>{const _0x58a382=_0x13b37e,_0x5c866d=this[_0x58a382(0xde)](_0x46b45a,_0x400515)||this[_0x58a382(0x112)](_0x400515);this[_0x58a382(0xfd)](_0x46b45a,_0x5c866d);});}[_0x1e118b(0xbc)](){const _0x247cb2=_0x1e118b,_0x38a700=this[_0x247cb2(0x10e)][_0x247cb2(0xea)],_0xa8ce39=Array[_0x247cb2(0x108)](_0x38a700[_0x247cb2(0x113)][_0x247cb2(0xe2)](f))[_0x247cb2(0xe3)](_0xd14c7e=>_0xd14c7e[_0x247cb2(0xd5)]());return _0x38a700[_0x247cb2(0xd4)](_0xa8ce39);}[_0x1e118b(0xb6)]({writer:_0x3e25cc,html:_0x5a56a8,insertAt:_0x10ecfd}){const _0x2683bc=_0x1e118b,{view:_0x6a3f05}=this[_0x2683bc(0x10e)][_0x2683bc(0xe5)],_0x4dd0e5=this[_0x2683bc(0x10e)][_0x2683bc(0xbf)][_0x2683bc(0xe7)](_0x421c3c),_0x1373a1=new w();_0x1373a1[_0x2683bc(0xf6)](_0x2683bc(0xc3),_0x5a56a8);const _0x49e68b=new ClipboardEvent(_0x2683bc(0xdb),{'clipboardData':_0x1373a1}),_0x347297=new _0x22b2d2(_0x6a3f05,_0x49e68b,{'dataTransfer':new _0x2087c9(_0x1373a1)});_0x3e25cc[_0x2683bc(0xc8)](_0x10ecfd);const _0x3d935c=(_0x45bd3f,_0x7fedca)=>{const _0xa01c3c=_0x2683bc;_0x7fedca[_0xa01c3c(0xa9)]&&_0x3e25cc[_0xa01c3c(0xc8)](_0x7fedca[_0xa01c3c(0xa9)]);};_0x4dd0e5[_0x2683bc(0xbe)](_0x2683bc(0xc4),_0x3d935c,{'priority':_0x2683bc(0x111)}),_0x6a3f05[_0x2683bc(0x110)][_0x2683bc(0xef)](_0x2683bc(0xdb),_0x347297),_0x4dd0e5[_0x2683bc(0xfe)](_0x2683bc(0xc4),_0x3d935c);}[_0x1e118b(0x112)](_0x180bd0){const _0xb37d41=_0x1e118b,{model:_0x2ff68c}=this[_0xb37d41(0x10e)],_0x71e086=Array[_0xb37d41(0x108)](_0x180bd0[_0xb37d41(0xc5)]());return _0x71e086[_0xb37d41(0xee)]?_0x2ff68c[_0xb37d41(0xc0)](_0x71e086[_0xb37d41(0xd6)]()):_0x180bd0[_0xb37d41(0xe9)]();}[_0x1e118b(0xde)](_0x994a61,_0x47e835){const _0x493579=_0x1e118b,{model:_0x4e0af7,plugins:_0x1100c3}=this[_0x493579(0x10e)];if(_0x1100c3[_0x493579(0xc2)](_0x493579(0xb3))){const _0x3ff423=_0x1100c3[_0x493579(0xe7)](_0x493579(0xb3))[_0x493579(0xf7)](_0x47e835);if(_0x3ff423[_0x493579(0xee)]){const _0x3482ee=this[_0x493579(0xf3)](_0x994a61),_0x577019=this[_0x493579(0x100)](_0x3ff423,_0x3482ee);return _0x4e0af7[_0x493579(0xf5)](_0x577019,0x0);}}return null;}[_0x1e118b(0xf3)](_0x5e264b){const _0x5f1a7a=_0x1e118b,_0x149129=this[_0x5f1a7a(0x10e)][_0x5f1a7a(0xbf)][_0x5f1a7a(0xe7)](_0x5f1a7a(0xb3)),_0x575b48=this[_0x5f1a7a(0x10e)][_0x5f1a7a(0xd8)][_0x5f1a7a(0x105)](_0x5e264b),_0x212470=Array[_0x5f1a7a(0x108)](_0x575b48[_0x5f1a7a(0xac)]())[_0x5f1a7a(0xd1)](_0x21c8a9=>_0x21c8a9['is'](_0x5f1a7a(0xe6),_0x5f1a7a(0xdf)));let _0x3cd57b=0x0;return _0x212470[_0x5f1a7a(0xcf)](_0x583cf0=>{const _0x2e1fcf=_0x5f1a7a;_0x3cd57b+=_0x149129[_0x2e1fcf(0xcb)](_0x583cf0);}),_0x3cd57b;}[_0x1e118b(0x100)](_0x1e0391,_0x114125){const _0x470069=_0x1e118b,_0xc82a5f=this[_0x470069(0x10e)][_0x470069(0xbf)][_0x470069(0xe7)](_0x470069(0xb3)),_0x598832=_0xc82a5f[_0x470069(0x107)](_0x1e0391),_0x2ff7c9=_0xc82a5f[_0x470069(0xb2)](_0x1e0391),_0x403268=_0x598832[_0x470069(0x10a)]+0x1,_0x17da4e=_0x2ff7c9[_0x470069(0xb5)],_0x476f15=_0x1e0391[0x0][_0x470069(0xc6)](_0x470069(0xdf));for(let _0x279abd=0x0;_0x279abd<_0x114125;_0x279abd++)_0xc82a5f[_0x470069(0xa7)](_0x476f15,{'at':_0x403268});return _0x476f15[_0x470069(0xd9)](_0x403268)[_0x470069(0xd9)](_0x17da4e);}[_0x1e118b(0xda)](_0x38b7d0,_0x51083f){const _0x5e6a47=_0x1e118b,{plugins:_0x33ec15}=this[_0x5e6a47(0x10e)],{model:_0x175e04}=_0x38b7d0;if(!_0x33ec15[_0x5e6a47(0xc2)](_0x5e6a47(0xb3)))return;_0x33ec15[_0x5e6a47(0xe7)](_0x5e6a47(0xb3))[_0x5e6a47(0xf7)](_0x51083f)[_0x5e6a47(0xee)]&&_0x175e04[_0x5e6a47(0xce)](_0x51083f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x19dced=_0x3b6a;(function(_0x57c69f,_0x1700a1){const _0x5be498=_0x3b6a,_0x41bd16=_0x57c69f();while(!![]){try{const _0x3b1e5d=parseInt(_0x5be498(0x210))/0x1*(-parseInt(_0x5be498(0x1ef))/0x2)+-parseInt(_0x5be498(0x1b2))/0x3+-parseInt(_0x5be498(0x189))/0x4+-parseInt(_0x5be498(0x1b4))/0x5+parseInt(_0x5be498(0x195))/0x6*(parseInt(_0x5be498(0x180))/0x7)+parseInt(_0x5be498(0x1a2))/0x8+parseInt(_0x5be498(0x1f0))/0x9;if(_0x3b1e5d===_0x1700a1)break;else _0x41bd16['push'](_0x41bd16['shift']());}catch(_0x2f6ba6){_0x41bd16['push'](_0x41bd16['shift']());}}}(_0x4b22,0xdf077));import{Plugin as _0xdf76af}from'ckeditor5/src/core.js';import{IconMagicWand as _0x37c14a,IconRobotPencil as _0x3cf486}from'ckeditor5/src/icons.js';import{first as _0x24cc93,CKEditorError as _0x49637b}from'ckeditor5/src/utils.js';import{createDropdown as _0x3147e0,addMenuToDropdown as _0x2f68aa,ButtonView as _0x3dd2ac,MenuBarMenuListItemButtonView as _0x14af1f,Dialog as _0x5dddc7,DialogViewPosition as _0x1a7ebc,MenuBarMenuView as _0x438f85,MenuBarMenuListView as _0x43b9a9,MenuBarMenuListItemView as _0x50e3e7}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x43a4de,UNGROUPED_COMMANDS_GROUP_ID as _0x21dea6}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x168e16}from'./aiassistantediting.js';import{AIAdapter as _0x297a10}from'./adapters/aiadapter.js';import{getTranslation as _0x2f1b61}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x48fac7}from'./ui/showaiassistantcommand.js';function _0x3b6a(_0x2259c2,_0x1a28aa){const _0x4b225f=_0x4b22();return _0x3b6a=function(_0x3b6ac2,_0x599b71){_0x3b6ac2=_0x3b6ac2-0x17b;let _0x2297c2=_0x4b225f[_0x3b6ac2];return _0x2297c2;},_0x3b6a(_0x2259c2,_0x1a28aa);}import{AIAssistantController as _0x2b3111}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x40be5d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x338e1b}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x4b22(){const _0x4b0591=['announce','2039317TqUmmj','invalid','updatePosition','domainLimit','destroy','isCollapsed','isPremiumPlugin','get','</p>','49384bShXjH','_formView','_initAriaAiStatusChangeAnnouncements','command:','trim','define','_aiAdapter','forEach','includes','hideFakeVisualSelection','focus','view','12TRHjZy','menuitemcheckbox','AIAssistant','schema','text','insertContentBelow','isFlat','licenseKey','execute','menuView','_licenseKeyCheckInterval','showUI','requires','2952880ZcMoBN','custom','_commandDefinitions','add','document','aiLicenseKeyExpired','REPLACE','requiresContent','once','INSERT','hideUI','change:isError','source','body','copy','aiLicenseKeyNotAllowed','5111088Dfbfaw','ai.assistant.disabledElements','2196955npQDvN','Generated\x20content:\x20%0','selection','buttonView','Error\x20during\x20AI\x20content\x20generation:\x20%0','order','aiLicenseKeyDomainLimit','promptView','wasMoved','_aiAssistantController','\x20ck-ai-assistant-ui_theme','_onExecute','menuBar:aiAssistant','push','isOfficialPlugin','queryView','model','aiLicenseKeyInvalid','expired','children','delegate','isOn','hide','_forceMarkersCopy','_createAIAssistantUIButton','aiAssistant','showFakeVisualSelection','ck-ai-assistant-ui','insertContent','sort','ck-ai-commands-dropdown\x20','pluginName','componentFactory','featureNotAllowed','getLimitElement','init','_initView','map','groupLabel','contentArea','items','enabledCommandsIds','update','values','_getMenuBarGroupButtons','setSelection','listenTo','fieldView','change:value','change:enabledCommandsIds','getSelectedElement','media','from','reset','AI\x20Commands','updateView','AIAssistantUI','fire','change:isProcessing','2ejqVtz','22245129uuiriZ','ai.assistant.contentAreaCssClass','EDITOR_TOP_SIDE','set','show','aiCommands','replace','filter','bind','replaceContent','_dialog','editing','editor','config','aiLicenseKeyValid','panelView','buttons','locale','currentContext','AI\x20Assistant','textAdapter','getRanges','showAIAssistant','ai-commands-config-order-collision','_getResolvedCommandsDefinitions','_populateMenuBarMenu','polite','menuPanelClass','ai.assistant.useTheme','commands','<p>','ck-ai-assistant-button\x20','354493iDzlQl','comment','_showLicenseError','label','groupId','isEnabled','prompt','rawHtml','usageLimit','evaluationLimit','aiLicenseKeyUsageLimit','tableOfContents','menuBar:aiCommands','text/html','getSelectedBlocks','getData','_uiCssClasses','addMany','plugins','errorView','render','DataTransfer','change','aiLicenseKeyEvaluationLimit','AI\x20is\x20writing','length','splice','ai.assistant.commands'];_0x4b22=function(){return _0x4b0591;};return _0x4b22();}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const F=globalThis[_0x19dced(0x225)];import{ClipboardMarkersUtils as _0x4a598e}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x271538,ViewDataTransfer as _0x1d442a}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xdf76af{[_0x19dced(0x19c)];[_0x19dced(0x19f)];[_0x19dced(0x1fa)];[_0x19dced(0x18a)];[_0x19dced(0x18f)];[_0x19dced(0x1bd)];[_0x19dced(0x220)]='';static get[_0x19dced(0x1d3)](){const _0x5d7473=_0x19dced;return _0x5d7473(0x1ec);}static get[_0x19dced(0x1c2)](){return!0x0;}static get[_0x19dced(0x186)](){return!0x0;}static get[_0x19dced(0x1a1)](){return[_0x4a598e,_0x168e16,_0x297a10,_0x5dddc7];}constructor(_0x528366){const _0x14397a=_0x19dced;super(_0x528366),_0x528366[_0x14397a(0x1fd)][_0x14397a(0x18e)](_0x14397a(0x1b3),[_0x14397a(0x1e7),_0x14397a(0x217),_0x14397a(0x21b)]),_0x528366[_0x14397a(0x1fd)][_0x14397a(0x18e)](_0x14397a(0x1f1),''),_0x528366[_0x14397a(0x1fd)][_0x14397a(0x18e)](_0x14397a(0x20c),!0x0),this[_0x14397a(0x220)]=_0x14397a(0x1cf)+(_0x528366[_0x14397a(0x1fd)][_0x14397a(0x187)](_0x14397a(0x20c))?_0x14397a(0x1be):'');}[_0x19dced(0x1d7)](){const _0x430df7=_0x19dced,{editor:_0x4ebaaa}=this;this[_0x430df7(0x18f)]=_0x4ebaaa[_0x430df7(0x222)][_0x430df7(0x187)](_0x297a10),this[_0x430df7(0x1fa)]=_0x4ebaaa[_0x430df7(0x222)][_0x430df7(0x187)](_0x5dddc7),this[_0x430df7(0x18a)]=null,this[_0x430df7(0x1a4)]=this[_0x430df7(0x208)]();const _0x151999=new _0x48fac7(_0x4ebaaa,Array[_0x430df7(0x1e8)](this[_0x430df7(0x1a4)][_0x430df7(0x1df)]()));_0x4ebaaa[_0x430df7(0x20d)][_0x430df7(0x1a5)](_0x430df7(0x206),_0x151999),_0x4ebaaa['ui'][_0x430df7(0x1d4)][_0x430df7(0x1a5)](_0x430df7(0x1f5),_0x33ab32=>{const _0x20d468=_0x430df7,_0x2de850=_0x3147e0(_0x33ab32);return _0x2de850[_0x20d468(0x1f3)]({'class':_0x20d468(0x1d2)+this[_0x20d468(0x220)]}),_0x2de850[_0x20d468(0x1b7)][_0x20d468(0x1f3)]({'label':_0x2f1b61(_0x33ab32,_0x20d468(0x1ea)),'icon':_0x37c14a,'tooltip':!0x0}),_0x2de850['on'](_0x20d468(0x19d),_0x574d79=>this[_0x20d468(0x1bf)](_0x574d79[_0x20d468(0x1ae)]['id'])),_0x2f68aa(_0x2de850,_0x4ebaaa['ui'][_0x20d468(0x194)][_0x20d468(0x1af)],function(_0x2c2b55){const _0x114a6e=_0x20d468,_0x6ab3b2=_0x43a4de(_0x2c2b55[_0x114a6e(0x1fd)][_0x114a6e(0x187)](_0x114a6e(0x17e)),_0x2c2b55[_0x114a6e(0x201)]),_0x4d578c=ei(_0x2c2b55,_0x6ab3b2)[_0x114a6e(0x1f7)](_0x452768=>_0x452768[_0x114a6e(0x20d)][_0x114a6e(0x17c)]);if(0x1===_0x4d578c[_0x114a6e(0x17c)])return ei(_0x2c2b55,_0x4d578c[0x0][_0x114a6e(0x20d)])[_0x114a6e(0x1d9)](_0x5b5b7a=>({'id':_0x5b5b7a['id'],'label':_0x5b5b7a[_0x114a6e(0x213)]}));return _0x4d578c[_0x114a6e(0x1d9)](_0x3e87c2=>{const _0xa9f6db=_0x114a6e,{groupId:_0x1f7014,groupLabel:_0x407491,commands:_0x78797b}=_0x3e87c2,_0x323748=ei(_0x2c2b55,_0x78797b)[_0xa9f6db(0x1d9)](_0x3e10c5=>({'id':_0x3e10c5['id'],'label':_0x3e10c5[_0xa9f6db(0x213)]}));return{'id':_0x1f7014,'menu':_0x407491||_0x1f7014,'children':_0x323748};});}(_0x4ebaaa),{'ariaLabel':_0x2f1b61(_0x33ab32,_0x20d468(0x1ea))}),_0x2de850[_0x20d468(0x19e)][_0x20d468(0x20b)]=_0x20d468(0x1d2)+this[_0x20d468(0x220)],_0x151999['on'](_0x20d468(0x1e5),_0x51834f),_0x2de850[_0x20d468(0x19e)][_0x20d468(0x1aa)](_0x20d468(0x224),_0x51834f),_0x2de850;function _0x51834f(){const _0x149190=_0x20d468;_0x2de850[_0x149190(0x215)]=_0x151999[_0x149190(0x1dd)][_0x149190(0x17c)]>0x0;for(const _0x247626 of _0x2de850[_0x149190(0x19e)][_0x149190(0x200)])_0x247626[_0x149190(0x215)]=_0x151999[_0x149190(0x1dd)][_0x149190(0x191)](_0x247626['id']);}}),_0x4ebaaa['ui'][_0x430df7(0x1d4)][_0x430df7(0x1a5)](_0x430df7(0x21c),_0x176233=>{const _0x668946=_0x430df7,_0x39b82a=new _0x438f85(_0x176233);_0x39b82a[_0x668946(0x1b7)][_0x668946(0x1f3)]({'label':_0x2f1b61(_0x176233,_0x668946(0x1ea)),'icon':_0x37c14a}),_0x39b82a[_0x668946(0x1f8)](_0x668946(0x215))['to'](_0x151999,_0x668946(0x1dd),_0x44bd01=>_0x44bd01[_0x668946(0x17c)]>0x0);const _0x210984=_0x43a4de(_0x4ebaaa[_0x668946(0x1fd)][_0x668946(0x187)](_0x668946(0x17e)),_0x176233);return this[_0x668946(0x209)](_0x151999,_0x39b82a,_0x210984,_0x19296f=>this[_0x668946(0x1bf)](_0x19296f)),_0x39b82a;}),_0x4ebaaa['ui'][_0x430df7(0x1d4)][_0x430df7(0x1a5)](_0x430df7(0x1cd),()=>{const _0x5a94a7=_0x430df7,_0xe8b3a5=this[_0x5a94a7(0x1cc)](_0x3dd2ac);return _0xe8b3a5[_0x5a94a7(0x1f3)]({'tooltip':!0x0,'class':_0x5a94a7(0x20f)+this[_0x5a94a7(0x220)]}),_0xe8b3a5;}),_0x4ebaaa['ui'][_0x430df7(0x1d4)][_0x430df7(0x1a5)](_0x430df7(0x1c0),()=>{const _0x28e971=_0x430df7,_0x5ea3a6=this[_0x28e971(0x1cc)](_0x14af1f);return _0x5ea3a6[_0x28e971(0x1f3)]({'role':_0x28e971(0x196)}),_0x5ea3a6;}),this[_0x430df7(0x19c)]=this[_0x430df7(0x1fc)][_0x430df7(0x1fd)][_0x430df7(0x187)](_0x430df7(0x19c));const _0x1f6adb=this[_0x430df7(0x1fc)];this[_0x430df7(0x19f)]=setInterval(()=>{const _0x213fed=_0x430df7;let _0x267c1a;for(const _0x1303dd in _0x1f6adb){const _0x20480f=_0x1303dd,_0x29ee6b=_0x1f6adb[_0x20480f];if(_0x213fed(0x1fe)==_0x29ee6b||_0x213fed(0x1c5)==_0x29ee6b||_0x213fed(0x1a7)==_0x29ee6b||_0x213fed(0x1ba)==_0x29ee6b||_0x213fed(0x1b1)==_0x29ee6b||_0x213fed(0x227)==_0x29ee6b||_0x213fed(0x21a)==_0x29ee6b){delete _0x1f6adb[_0x20480f],_0x267c1a=_0x29ee6b,clearInterval(this[_0x213fed(0x19f)]),this[_0x213fed(0x19f)]=void 0x0;break;}}_0x213fed(0x1c5)==_0x267c1a&&_0x1f6adb[_0x213fed(0x212)](_0x213fed(0x181)),_0x213fed(0x1a7)==_0x267c1a&&_0x1f6adb[_0x213fed(0x212)](_0x213fed(0x1c6)),_0x213fed(0x1ba)==_0x267c1a&&_0x1f6adb[_0x213fed(0x212)](_0x213fed(0x183)),_0x213fed(0x1b1)==_0x267c1a&&_0x1f6adb[_0x213fed(0x212)](_0x213fed(0x1d5),_0x213fed(0x197)),_0x213fed(0x227)==_0x267c1a&&_0x1f6adb[_0x213fed(0x212)](_0x213fed(0x219)),_0x213fed(0x21a)==_0x267c1a&&_0x1f6adb[_0x213fed(0x212)](_0x213fed(0x218));},0x3e8);}[_0x19dced(0x184)](){const _0x41a99e=_0x19dced;super[_0x41a99e(0x184)](),this[_0x41a99e(0x19f)]&&clearInterval(this[_0x41a99e(0x19f)]);}[_0x19dced(0x1a0)](_0xc461fb='',_0x5ee203='',_0x486efc=_0x19dced(0x1a3)){const _0x4260e8=_0x19dced,_0xfcd169=this[_0x4260e8(0x1fc)],_0x53340e=_0xfcd169[_0x4260e8(0x1fb)][_0x4260e8(0x194)],_0x2b4325=_0xfcd169[_0x4260e8(0x222)][_0x4260e8(0x187)](_0x168e16),_0x1bfee4=_0xfcd169[_0x4260e8(0x222)][_0x4260e8(0x187)](_0x4a598e);_0x2b4325[_0x4260e8(0x1ce)]();const _0xae29b0=new F(),_0x43338f=new ClipboardEvent(_0x4260e8(0x1b0),{'clipboardData':_0xae29b0}),_0x31816f=new _0x1d442a(_0xae29b0),_0x3ee650=new _0x271538(_0x53340e,_0x43338f,{'dataTransfer':_0x31816f});_0x1bfee4[_0x4260e8(0x1cb)](_0x4260e8(0x211),()=>{const _0x23fdb7=_0x4260e8;_0x53340e[_0x23fdb7(0x1a6)][_0x23fdb7(0x1ed)](_0x23fdb7(0x1b0),_0x3ee650);}),this[_0x4260e8(0x18a)]||(this[_0x4260e8(0x1d8)](),this[_0x4260e8(0x1bd)]=new _0x2b3111(_0xfcd169,this[_0x4260e8(0x18f)][_0x4260e8(0x204)],this[_0x4260e8(0x18a)]));let _0x33b8cd=_0x31816f[_0x4260e8(0x21f)](_0x4260e8(0x21d));const _0x296791=_0xfcd169[_0x4260e8(0x1c4)][_0x4260e8(0x1a6)][_0x4260e8(0x1b6)],_0x22e5e1=Array[_0x4260e8(0x1e8)](_0x296791[_0x4260e8(0x205)]());0x1===_0x22e5e1[_0x4260e8(0x17c)]&&_0x22e5e1[0x0][_0x4260e8(0x19b)]&&!_0x296791[_0x4260e8(0x1e6)]()&&''!==_0x33b8cd[_0x4260e8(0x1f6)](/ /g,'')[_0x4260e8(0x18d)]()&&(_0x33b8cd=_0x4260e8(0x20e)+_0x33b8cd+_0x4260e8(0x188)),this[_0x4260e8(0x1bd)][_0x4260e8(0x1eb)]({'actionId':_0x486efc,'query':_0xc461fb,'htmlContent':_0x33b8cd,'label':_0x5ee203,'mainActionLabel':_0x338e1b[_0xfcd169[_0x4260e8(0x1c4)][_0x4260e8(0x1a6)][_0x4260e8(0x1b6)][_0x4260e8(0x185)]?_0x4260e8(0x1ab):_0x4260e8(0x1a8)]}),_0x4260e8(0x1cd)!==this[_0x4260e8(0x1fa)]['id']?this[_0x4260e8(0x1fa)][_0x4260e8(0x1f4)]({'id':_0x4260e8(0x1cd),'icon':_0x3cf486,'title':_0x2f1b61(this[_0x4260e8(0x1fc)][_0x4260e8(0x201)],_0x4260e8(0x203)),'content':this[_0x4260e8(0x18a)],'position':_0x1a7ebc[_0x4260e8(0x1f2)],'onShow':()=>{const _0x40426e=_0x4260e8;this[_0x40426e(0x18a)][_0x40426e(0x193)]();},'onHide':()=>{const _0x1a0659=_0x4260e8;this[_0x1a0659(0x1bd)][_0x1a0659(0x1e9)](),_0x2b4325[_0x1a0659(0x192)]();}}):this[_0x4260e8(0x1fa)][_0x4260e8(0x194)][_0x4260e8(0x1bc)]||this[_0x4260e8(0x1fa)][_0x4260e8(0x194)][_0x4260e8(0x182)]();}[_0x19dced(0x1ac)](){const _0x1f0498=_0x19dced;this[_0x1f0498(0x1fa)][_0x1f0498(0x1ca)]();}[_0x19dced(0x208)](){const _0x10bf63=_0x19dced,_0x556b06=new Map(),_0xda9744=_0x43a4de(this[_0x10bf63(0x1fc)][_0x10bf63(0x1fd)][_0x10bf63(0x187)](_0x10bf63(0x17e)),this[_0x10bf63(0x1fc)][_0x10bf63(0x201)]);for(const _0x45683b of _0xda9744)for(const _0x292ef0 of _0x45683b[_0x10bf63(0x20d)])_0x556b06[_0x10bf63(0x1f3)](_0x292ef0['id'],{..._0x292ef0,'groupId':_0x45683b[_0x10bf63(0x214)],'groupLabel':_0x45683b[_0x10bf63(0x1da)]||_0x45683b[_0x10bf63(0x214)]});return _0x556b06;}[_0x19dced(0x1cc)](_0x540cd2){const _0x3be59e=_0x19dced,_0x2cfb7c=this[_0x3be59e(0x1fc)],_0x843b5c=_0x2cfb7c[_0x3be59e(0x20d)][_0x3be59e(0x187)](_0x3be59e(0x206)),_0x144b31=new _0x540cd2(_0x2cfb7c[_0x3be59e(0x201)]);return _0x144b31[_0x3be59e(0x1f3)]({'label':_0x2f1b61(_0x2cfb7c[_0x3be59e(0x201)],_0x3be59e(0x203)),'icon':_0x3cf486,'isToggleable':!0x0}),_0x144b31[_0x3be59e(0x1f8)](_0x3be59e(0x215))['to'](_0x843b5c),_0x144b31[_0x3be59e(0x1f8)](_0x3be59e(0x1c9))['to'](this[_0x3be59e(0x1fa)],'id',_0x33003e=>_0x3be59e(0x1cd)===_0x33003e),this[_0x3be59e(0x1e2)](_0x144b31,_0x3be59e(0x19d),()=>{const _0x3df8e1=_0x3be59e;_0x144b31[_0x3df8e1(0x1c9)]?this[_0x3df8e1(0x1ac)]():_0x843b5c[_0x3df8e1(0x19d)]();}),_0x144b31;}[_0x19dced(0x1d8)](){const _0x4d502e=_0x19dced,_0x39fb7d=this[_0x4d502e(0x1fc)][_0x4d502e(0x222)][_0x4d502e(0x187)](_0x168e16);this[_0x4d502e(0x18a)]=new _0x40be5d(this[_0x4d502e(0x1fc)][_0x4d502e(0x201)],this[_0x4d502e(0x220)],this[_0x4d502e(0x1fc)][_0x4d502e(0x1fd)][_0x4d502e(0x187)](_0x4d502e(0x1f1))),this[_0x4d502e(0x18a)]['on'](_0x4d502e(0x1e4),()=>{const _0x28fc5e=_0x4d502e;this[_0x28fc5e(0x1fa)][_0x28fc5e(0x194)][_0x28fc5e(0x1bc)]||this[_0x28fc5e(0x1fa)][_0x28fc5e(0x194)][_0x28fc5e(0x182)]();}),this[_0x4d502e(0x18a)][_0x4d502e(0x1bb)][_0x4d502e(0x1c3)][_0x4d502e(0x1e3)]['on'](_0x4d502e(0x1de),()=>{const _0x2eb25a=_0x4d502e;this[_0x2eb25a(0x1fa)][_0x2eb25a(0x194)][_0x2eb25a(0x1bc)]||this[_0x2eb25a(0x1fa)][_0x2eb25a(0x194)][_0x2eb25a(0x182)]();}),this[_0x4d502e(0x1e2)](this[_0x4d502e(0x18a)],_0x4d502e(0x1f9),()=>{const _0x2585e9=_0x4d502e;_0x39fb7d[_0x2585e9(0x1d0)](this[_0x2585e9(0x1bd)][_0x2585e9(0x202)]),this[_0x2585e9(0x1ac)]();}),this[_0x4d502e(0x1e2)](this[_0x4d502e(0x18a)],_0x4d502e(0x19a),()=>{const _0x1c0357=_0x4d502e;_0x39fb7d[_0x1c0357(0x19a)](this[_0x1c0357(0x1bd)][_0x1c0357(0x202)]),this[_0x1c0357(0x1ac)]();}),this[_0x4d502e(0x18b)]();}[_0x19dced(0x18b)](){const _0x18f987=_0x19dced,{locale:_0x55db36,ui:{ariaLiveAnnouncer:_0x1eda16}}=this[_0x18f987(0x1fc)];this[_0x18f987(0x18a)][_0x18f987(0x1db)]['on'](_0x18f987(0x1ee),(_0x9dac16,_0x52f20c,_0x471b2f)=>{const _0x5b92fa=_0x18f987,_0x232f8c=this[_0x5b92fa(0x1bd)][_0x5b92fa(0x202)];_0x471b2f?_0x1eda16[_0x5b92fa(0x17f)](_0x2f1b61(_0x55db36,_0x5b92fa(0x17b))):_0x232f8c&&_0x1eda16[_0x5b92fa(0x17f)](_0x2f1b61(_0x55db36,_0x5b92fa(0x1b5),_0x232f8c),{'politeness':_0x5b92fa(0x20a),'isUnsafeHTML':!0x0});}),this[_0x18f987(0x18a)]['on'](_0x18f987(0x1ad),(_0x5b3c83,_0x4b056c,_0x4fbf7d)=>{const _0x2f31d5=_0x18f987;if(_0x4fbf7d){const _0x4de16c=this[_0x2f31d5(0x18a)][_0x2f31d5(0x223)][_0x2f31d5(0x199)];_0x1eda16[_0x2f31d5(0x17f)](_0x2f1b61(_0x55db36,_0x2f31d5(0x1b8),_0x4de16c));}});}[_0x19dced(0x1bf)](_0x2b51f0){const _0x1135a5=_0x19dced,_0x5b2a2c=this[_0x1135a5(0x1a4)][_0x1135a5(0x187)](_0x2b51f0),_0x5822a5=this[_0x1135a5(0x1fc)],_0x245764=_0x5822a5[_0x1135a5(0x1c4)][_0x1135a5(0x1a6)][_0x1135a5(0x1b6)],_0x2d42aa=_0x5822a5[_0x1135a5(0x20d)][_0x1135a5(0x187)](_0x1135a5(0x206)),_0x29634b=_0x5822a5[_0x1135a5(0x222)][_0x1135a5(0x187)](_0x168e16),_0x5e5ecc=''+(_0x5b2a2c[_0x1135a5(0x214)]!==_0x21dea6?_0x5b2a2c[_0x1135a5(0x1da)]+':\x20':'')+_0x5b2a2c[_0x1135a5(0x213)];if(!0x1!==_0x5b2a2c[_0x1135a5(0x1a9)]&&_0x245764[_0x1135a5(0x185)]){const _0x3b70df=_0x24cc93(_0x245764[_0x1135a5(0x21e)]())||_0x5822a5[_0x1135a5(0x1c4)][_0x1135a5(0x198)][_0x1135a5(0x1d6)](_0x245764);_0x5822a5[_0x1135a5(0x1c4)][_0x1135a5(0x226)](_0x3307d7=>{const _0x50e3ac=_0x1135a5;_0x3307d7[_0x50e3ac(0x1e1)](_0x3b70df,'in');});}_0x29634b[_0x1135a5(0x1ce)](),_0x2d42aa[_0x1135a5(0x19d)](_0x5b2a2c[_0x1135a5(0x216)],_0x5e5ecc,_0x1135a5(0x18c)+_0x2b51f0);}[_0x19dced(0x209)](_0x6b9935,_0x30cea2,_0x2e0cc2,_0xa97696){const _0x4903a1=_0x19dced,_0x164600=this[_0x4903a1(0x1fc)],_0x41265b=_0x164600[_0x4903a1(0x201)],_0xe6d2ef=new _0x43b9a9(_0x41265b),_0x165f6f=ei(_0x164600,_0x2e0cc2)[_0x4903a1(0x1f7)](_0x313654=>_0x313654[_0x4903a1(0x20d)][_0x4903a1(0x17c)]);0x1===_0x165f6f[_0x4903a1(0x17c)]?this[_0x4903a1(0x1e0)]({'command':_0x6b9935,'commands':_0x165f6f[0x0][_0x4903a1(0x20d)],'parentMenuView':_0x30cea2,'onExecute':_0xa97696})[_0x4903a1(0x190)](_0x5e28bd=>_0xe6d2ef[_0x4903a1(0x1dc)][_0x4903a1(0x1a5)](_0x5e28bd)):_0x165f6f[_0x4903a1(0x190)](({groupId:_0x2acab4,groupLabel:_0x493180,commands:_0x1b5f9d})=>{const _0x54d306=_0x4903a1,_0x4c2a26=new _0x50e3e7(_0x41265b,_0x30cea2),_0x500dc5=new _0x438f85(_0x41265b),_0x3e00c1=new _0x43b9a9(_0x41265b),_0x55ff89=this[_0x54d306(0x1e0)]({'command':_0x6b9935,'commands':_0x1b5f9d,'parentMenuView':_0x500dc5,'onExecute':_0xa97696});_0x500dc5[_0x54d306(0x1b7)][_0x54d306(0x1f3)]({'label':_0x493180||_0x2acab4}),_0x500dc5[_0x54d306(0x1c8)](_0x54d306(0x19d))['to'](_0x30cea2),_0x3e00c1[_0x54d306(0x1dc)][_0x54d306(0x221)](_0x55ff89),_0x500dc5[_0x54d306(0x1ff)][_0x54d306(0x1c7)][_0x54d306(0x1a5)](_0x3e00c1),_0x4c2a26[_0x54d306(0x1c7)][_0x54d306(0x1a5)](_0x500dc5),_0xe6d2ef[_0x54d306(0x1dc)][_0x54d306(0x1a5)](_0x4c2a26);}),_0x30cea2[_0x4903a1(0x1ff)][_0x4903a1(0x1c7)][_0x4903a1(0x1a5)](_0xe6d2ef);}[_0x19dced(0x1e0)]({command:_0x3b2887,commands:_0x448653,parentMenuView:_0x3cbc31,onExecute:_0x13b8fb}){const _0x363184=_0x19dced,_0x28d225=this[_0x363184(0x1fc)],_0x508143=_0x28d225[_0x363184(0x201)];return ei(_0x28d225,_0x448653)[_0x363184(0x1d9)](_0x38c628=>{const _0x810630=_0x363184,_0x42dd0d=new _0x50e3e7(_0x508143,_0x3cbc31),_0x548f95=new _0x14af1f(_0x508143);return _0x548f95[_0x810630(0x1f3)]({'label':_0x38c628[_0x810630(0x213)]}),_0x548f95[_0x810630(0x1c8)](_0x810630(0x19d))['to'](_0x3cbc31),_0x548f95['on'](_0x810630(0x19d),()=>_0x13b8fb(_0x38c628['id'])),_0x548f95[_0x810630(0x1f8)](_0x810630(0x215))['to'](_0x3b2887,_0x810630(0x1dd),_0x73114d=>_0x73114d[_0x810630(0x191)](_0x38c628['id'])),_0x42dd0d[_0x810630(0x1c7)][_0x810630(0x1a5)](_0x548f95),_0x42dd0d;});}}function si(_0x3f40b0,_0x47101b){const _0x4cde37=_0x19dced;return void 0x0!==_0x3f40b0[_0x4cde37(0x1b9)]&&void 0x0===_0x47101b[_0x4cde37(0x1b9)]?0x1:void 0x0===_0x3f40b0[_0x4cde37(0x1b9)]&&void 0x0!==_0x47101b[_0x4cde37(0x1b9)]?-0x1:void 0x0!==_0x3f40b0[_0x4cde37(0x1b9)]&&void 0x0!==_0x47101b[_0x4cde37(0x1b9)]?_0x3f40b0[_0x4cde37(0x1b9)]-_0x47101b[_0x4cde37(0x1b9)]:0x0;}function ei(_0x3b76c1,_0x47c4ea){const _0x1d6c0d=_0x19dced;_0x47c4ea[_0x1d6c0d(0x1d1)](si);const _0x32fd9e={},_0x311497=[];for(const _0x2697c8 of _0x47c4ea)if(void 0x0!==_0x2697c8[_0x1d6c0d(0x1b9)]){if(_0x2697c8[_0x1d6c0d(0x1b9)]in _0x32fd9e)throw new _0x49637b(_0x1d6c0d(0x207),_0x3b76c1,{'conflictingDefinitions':[_0x2697c8,_0x32fd9e[_0x2697c8[_0x1d6c0d(0x1b9)]]]});_0x32fd9e[_0x2697c8[_0x1d6c0d(0x1b9)]]=_0x2697c8,_0x311497[_0x1d6c0d(0x17d)](_0x2697c8[_0x1d6c0d(0x1b9)],0x0,_0x2697c8);}else _0x311497[_0x1d6c0d(0x1c1)](_0x2697c8);return _0x311497;}
|
|
23
|
+
function _0x1a8a(_0x2686ec,_0x90fb11){const _0xe8a83a=_0xe8a8();return _0x1a8a=function(_0x1a8abc,_0x333d93){_0x1a8abc=_0x1a8abc-0x67;let _0x36e9c2=_0xe8a83a[_0x1a8abc];return _0x36e9c2;},_0x1a8a(_0x2686ec,_0x90fb11);}const _0x391543=_0x1a8a;(function(_0x364364,_0x2c8357){const _0x5b3947=_0x1a8a,_0x7fdb22=_0x364364();while(!![]){try{const _0x2bdaa0=-parseInt(_0x5b3947(0xc8))/0x1+parseInt(_0x5b3947(0x7a))/0x2*(-parseInt(_0x5b3947(0xe1))/0x3)+-parseInt(_0x5b3947(0xd5))/0x4*(-parseInt(_0x5b3947(0x103))/0x5)+parseInt(_0x5b3947(0xad))/0x6+parseInt(_0x5b3947(0xf4))/0x7+-parseInt(_0x5b3947(0xd2))/0x8*(parseInt(_0x5b3947(0xc7))/0x9)+parseInt(_0x5b3947(0xfc))/0xa*(parseInt(_0x5b3947(0x6b))/0xb);if(_0x2bdaa0===_0x2c8357)break;else _0x7fdb22['push'](_0x7fdb22['shift']());}catch(_0x1596da){_0x7fdb22['push'](_0x7fdb22['shift']());}}}(_0xe8a8,0xea7c3));import{Plugin as _0x369633}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4089ed,IconRobotPencil as _0x319d6c}from'ckeditor5/src/icons.js';import{first as _0x8f1d7e,CKEditorError as _0x327e74}from'ckeditor5/src/utils.js';import{createDropdown as _0x1dc081,addMenuToDropdown as _0x33a7d9,ButtonView as _0x54bfc4,MenuBarMenuListItemButtonView as _0x580d61,Dialog as _0x14c242,DialogViewPosition as _0xc7e1,MenuBarMenuView as _0xa39b5c,MenuBarMenuListView as _0x512992,MenuBarMenuListItemView as _0x5368be}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x2851b4,UNGROUPED_COMMANDS_GROUP_ID as _0x1f97b1}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x559023}from'./aiassistantediting.js';import{AIAdapter as _0xee77fb}from'./adapters/aiadapter.js';import{getTranslation as _0x39e7b5}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x430a5e}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1df1f5}from'./ui/aiassistantcontroller.js';function _0xe8a8(){const _0x2ee006=['forEach','media','updateView','INSERT','aiLicenseKeyInvalid','replaceContent','menuitemcheckbox','fieldView','once','featureNotAllowed','Generated\x20content:\x20%0','panelView','AIAssistant','getLimitElement','focus','Error\x20during\x20AI\x20content\x20generation:\x20%0','getRanges','change:isError','listenTo','ai.assistant.contentAreaCssClass','update','insertContent','aiLicenseKeyDomainLimit','_licenseKeyCheckInterval','setSelection','commands','_populateMenuBarMenu','map','editing','3720852yEejow','getData','fire','items','evaluationLimit','contentArea','tableOfContents','_formView','pluginName','expired','AIAssistantUI','_getResolvedCommandsDefinitions','order','aiLicenseKeyEvaluationLimit','from','isCollapsed','_createAIAssistantUIButton','document','menuPanelClass','polite','<p>','get','getSelectedBlocks','_uiCssClasses','_showLicenseError','includes','72612gffdif','1290439LANLtj','addMany','buttonView','editor','enabledCommandsIds','ai-commands-config-order-collision','text','aiLicenseKeyNotAllowed','change','filter','920yeDQQM','replace','groupLabel','4OvOoMG','requires','add','getSelectedElement','change:isProcessing','isEnabled','source','show','bind','prompt','custom','_initAriaAiStatusChangeAnnouncements','114GZwliX','splice','selection','usageLimit','delegate','length','comment','trim','menuBar:aiAssistant','updatePosition','label','sort','_forceMarkersCopy','set','init','body','_getMenuBarGroupButtons','aiCommands','copy','971586YdLjVe','REPLACE','ai.assistant.useTheme','ck-ai-assistant-ui','values','change:value','render','command:','30uEtwAo','aiLicenseKeyValid','ck-ai-assistant-button\x20','menuBar:aiCommands','domainLimit','change:enabledCommandsIds','children','7992245ROHfCg','_commandDefinitions','plugins','AI\x20is\x20writing','hideUI','menuView','showUI','ai.assistant.commands','isOfficialPlugin','text/html','AI\x20Commands','licenseKey','EDITOR_TOP_SIDE','define','isPremiumPlugin','DataTransfer','locale','buttons','hide','aiAssistant','view','showAIAssistant','destroy','8915621efgWRY','currentContext','textAdapter','ai.assistant.disabledElements','_onExecute','_aiAdapter','queryView','push','_dialog','_aiAssistantController','aiLicenseKeyUsageLimit','announce','isFlat','_initView','</p>','84748JilWPy','rawHtml','componentFactory','reset','showFakeVisualSelection','insertContentBelow','groupId','aiLicenseKeyExpired','isOn','\x20ck-ai-assistant-ui_theme','schema','AI\x20Assistant','config','ck-ai-commands-dropdown\x20','model','promptView','hideFakeVisualSelection','wasMoved','errorView','requiresContent','invalid','execute'];_0xe8a8=function(){return _0x2ee006;};return _0xe8a8();}import{AIFormView as _0x3e9c07}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x13b3a9}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x391543(0x112)];import{ClipboardMarkersUtils as _0x11415f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1cef16,ViewDataTransfer as _0x3c4292}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x369633{[_0x391543(0x10e)];[_0x391543(0xa7)];[_0x391543(0x73)];[_0x391543(0xb4)];[_0x391543(0x70)];[_0x391543(0x74)];[_0x391543(0xc4)]='';static get[_0x391543(0xb5)](){const _0x4173ab=_0x391543;return _0x4173ab(0xb7);}static get[_0x391543(0x10b)](){return!0x0;}static get[_0x391543(0x111)](){return!0x0;}static get[_0x391543(0xd6)](){return[_0x11415f,_0x559023,_0xee77fb,_0x14c242];}constructor(_0x4dd7ab){const _0x5f5754=_0x391543;super(_0x4dd7ab),_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0x110)](_0x5f5754(0x6e),[_0x5f5754(0x91),_0x5f5754(0x7b),_0x5f5754(0xb3)]),_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0x110)](_0x5f5754(0xa3),''),_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0x110)](_0x5f5754(0xf6),!0x0),this[_0x5f5754(0xc4)]=_0x5f5754(0xf7)+(_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0xc2)](_0x5f5754(0xf6))?_0x5f5754(0x83):'');}[_0x391543(0xef)](){const _0xefd118=_0x391543,{editor:_0x5a35b5}=this;this[_0xefd118(0x70)]=_0x5a35b5[_0xefd118(0x105)][_0xefd118(0xc2)](_0xee77fb),this[_0xefd118(0x73)]=_0x5a35b5[_0xefd118(0x105)][_0xefd118(0xc2)](_0x14c242),this[_0xefd118(0xb4)]=null,this[_0xefd118(0x104)]=this[_0xefd118(0xb8)]();const _0x2e06c7=new _0x430a5e(_0x5a35b5,Array[_0xefd118(0xbb)](this[_0xefd118(0x104)][_0xefd118(0xf8)]()));_0x5a35b5[_0xefd118(0xa9)][_0xefd118(0xd7)](_0xefd118(0x69),_0x2e06c7),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0xf2),_0xd14bfd=>{const _0x1148c3=_0xefd118,_0x38b04e=_0x1dc081(_0xd14bfd);return _0x38b04e[_0x1148c3(0xee)]({'class':_0x1148c3(0x87)+this[_0x1148c3(0xc4)]}),_0x38b04e[_0x1148c3(0xca)][_0x1148c3(0xee)]({'label':_0x39e7b5(_0xd14bfd,_0x1148c3(0x10d)),'icon':_0x4089ed,'tooltip':!0x0}),_0x38b04e['on'](_0x1148c3(0x8f),_0x487aaa=>this[_0x1148c3(0x6f)](_0x487aaa[_0x1148c3(0xdb)]['id'])),_0x33a7d9(_0x38b04e,_0x5a35b5['ui'][_0x1148c3(0x68)][_0x1148c3(0xf0)],function(_0x15035b){const _0x1a398e=_0x1148c3,_0x387775=_0x2851b4(_0x15035b[_0x1a398e(0x86)][_0x1a398e(0xc2)](_0x1a398e(0x10a)),_0x15035b[_0x1a398e(0x113)]),_0x16f4b8=B(_0x15035b,_0x387775)[_0x1a398e(0xd1)](_0x2e9064=>_0x2e9064[_0x1a398e(0xa9)][_0x1a398e(0xe6)]);if(0x1===_0x16f4b8[_0x1a398e(0xe6)])return B(_0x15035b,_0x16f4b8[0x0][_0x1a398e(0xa9)])[_0x1a398e(0xab)](_0x20cddd=>({'id':_0x20cddd['id'],'label':_0x20cddd[_0x1a398e(0xeb)]}));return _0x16f4b8[_0x1a398e(0xab)](_0x32b6d9=>{const _0x283295=_0x1a398e,{groupId:_0x4b9ee3,groupLabel:_0x662477,commands:_0x4e18eb}=_0x32b6d9,_0x5a4999=B(_0x15035b,_0x4e18eb)[_0x283295(0xab)](_0x18e5d4=>({'id':_0x18e5d4['id'],'label':_0x18e5d4[_0x283295(0xeb)]}));return{'id':_0x4b9ee3,'menu':_0x662477||_0x4b9ee3,'children':_0x5a4999};});}(_0x5a35b5),{'ariaLabel':_0x39e7b5(_0xd14bfd,_0x1148c3(0x10d))}),_0x38b04e[_0x1148c3(0x108)][_0x1148c3(0xbf)]=_0x1148c3(0x87)+this[_0x1148c3(0xc4)],_0x2e06c7['on'](_0x1148c3(0x101),_0x32e36f),_0x38b04e[_0x1148c3(0x108)][_0x1148c3(0x98)](_0x1148c3(0xfa),_0x32e36f),_0x38b04e;function _0x32e36f(){const _0x5167b4=_0x1148c3;_0x38b04e[_0x5167b4(0xda)]=_0x2e06c7[_0x5167b4(0xcc)][_0x5167b4(0xe6)]>0x0;for(const _0x5b93a3 of _0x38b04e[_0x5167b4(0x108)][_0x5167b4(0x114)])_0x5b93a3[_0x5167b4(0xda)]=_0x2e06c7[_0x5167b4(0xcc)][_0x5167b4(0xc6)](_0x5b93a3['id']);}}),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0xff),_0x459cf7=>{const _0xe7d9ea=_0xefd118,_0x4d8a9d=new _0xa39b5c(_0x459cf7);_0x4d8a9d[_0xe7d9ea(0xca)][_0xe7d9ea(0xee)]({'label':_0x39e7b5(_0x459cf7,_0xe7d9ea(0x10d)),'icon':_0x4089ed}),_0x4d8a9d[_0xe7d9ea(0xdd)](_0xe7d9ea(0xda))['to'](_0x2e06c7,_0xe7d9ea(0xcc),_0x3b4b36=>_0x3b4b36[_0xe7d9ea(0xe6)]>0x0);const _0x80a518=_0x2851b4(_0x5a35b5[_0xe7d9ea(0x86)][_0xe7d9ea(0xc2)](_0xe7d9ea(0x10a)),_0x459cf7);return this[_0xe7d9ea(0xaa)](_0x2e06c7,_0x4d8a9d,_0x80a518,_0x106011=>this[_0xe7d9ea(0x6f)](_0x106011)),_0x4d8a9d;}),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0x67),()=>{const _0x2ffbb9=_0xefd118,_0x101d31=this[_0x2ffbb9(0xbd)](_0x54bfc4);return _0x101d31[_0x2ffbb9(0xee)]({'tooltip':!0x0,'class':_0x2ffbb9(0xfe)+this[_0x2ffbb9(0xc4)]}),_0x101d31;}),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0xe9),()=>{const _0x538f5d=_0xefd118,_0x128267=this[_0x538f5d(0xbd)](_0x580d61);return _0x128267[_0x538f5d(0xee)]({'role':_0x538f5d(0x96)}),_0x128267;}),this[_0xefd118(0x10e)]=this[_0xefd118(0xcb)][_0xefd118(0x86)][_0xefd118(0xc2)](_0xefd118(0x10e));const _0x4a2dba=this[_0xefd118(0xcb)];this[_0xefd118(0xa7)]=setInterval(()=>{const _0x480745=_0xefd118;let _0x350318;for(const _0x3c1240 in _0x4a2dba){const _0x3f9bc2=_0x3c1240,_0x2daafd=_0x4a2dba[_0x3f9bc2];if(_0x480745(0xfd)==_0x2daafd||_0x480745(0x94)==_0x2daafd||_0x480745(0x81)==_0x2daafd||_0x480745(0xa6)==_0x2daafd||_0x480745(0xcf)==_0x2daafd||_0x480745(0xba)==_0x2daafd||_0x480745(0x75)==_0x2daafd){delete _0x4a2dba[_0x3f9bc2],_0x350318=_0x2daafd,clearInterval(this[_0x480745(0xa7)]),this[_0x480745(0xa7)]=void 0x0;break;}}_0x480745(0x94)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0x8e)),_0x480745(0x81)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0xb6)),_0x480745(0xa6)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0x100)),_0x480745(0xcf)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0x99),_0x480745(0x9c)),_0x480745(0xba)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0xb1)),_0x480745(0x75)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0xe4));},0x3e8);}[_0x391543(0x6a)](){const _0x5b24f6=_0x391543;super[_0x5b24f6(0x6a)](),this[_0x5b24f6(0xa7)]&&clearInterval(this[_0x5b24f6(0xa7)]);}[_0x391543(0x109)](_0x2edcfa='',_0x5140c2='',_0x1cf82a=_0x391543(0xdf)){const _0x3226af=_0x391543,_0x3b69fb=this[_0x3226af(0xcb)],_0x873576=_0x3b69fb[_0x3226af(0xac)][_0x3226af(0x68)],_0x2870e2=_0x3b69fb[_0x3226af(0x105)][_0x3226af(0xc2)](_0x559023),_0x1d5f3e=_0x3b69fb[_0x3226af(0x105)][_0x3226af(0xc2)](_0x11415f);_0x2870e2[_0x3226af(0x7e)]();const _0x38ec52=new w(),_0x5a42d2=new ClipboardEvent(_0x3226af(0xf3),{'clipboardData':_0x38ec52}),_0x3c1d93=new _0x3c4292(_0x38ec52),_0x8dde2b=new _0x1cef16(_0x873576,_0x5a42d2,{'dataTransfer':_0x3c1d93});_0x1d5f3e[_0x3226af(0xed)](_0x3226af(0xe7),()=>{const _0x245963=_0x3226af;_0x873576[_0x245963(0xbe)][_0x245963(0xaf)](_0x245963(0xf3),_0x8dde2b);}),this[_0x3226af(0xb4)]||(this[_0x3226af(0x78)](),this[_0x3226af(0x74)]=new _0x1df1f5(_0x3b69fb,this[_0x3226af(0x70)][_0x3226af(0x6d)],this[_0x3226af(0xb4)]));let _0x3eb258=_0x3c1d93[_0x3226af(0xae)](_0x3226af(0x10c));const _0x4a88ce=_0x3b69fb[_0x3226af(0x88)][_0x3226af(0xbe)][_0x3226af(0xe3)],_0x1ae2f3=Array[_0x3226af(0xbb)](_0x4a88ce[_0x3226af(0xa0)]());0x1===_0x1ae2f3[_0x3226af(0xe6)]&&_0x1ae2f3[0x0][_0x3226af(0x77)]&&!_0x4a88ce[_0x3226af(0xd8)]()&&''!==_0x3eb258[_0x3226af(0xd3)](/ /g,'')[_0x3226af(0xe8)]()&&(_0x3eb258=_0x3226af(0xc1)+_0x3eb258+_0x3226af(0x79)),this[_0x3226af(0x74)][_0x3226af(0x92)]({'actionId':_0x1cf82a,'query':_0x2edcfa,'htmlContent':_0x3eb258,'label':_0x5140c2,'mainActionLabel':_0x13b3a9[_0x3b69fb[_0x3226af(0x88)][_0x3226af(0xbe)][_0x3226af(0xe3)][_0x3226af(0xbc)]?_0x3226af(0x93):_0x3226af(0xf5)]}),_0x3226af(0x67)!==this[_0x3226af(0x73)]['id']?this[_0x3226af(0x73)][_0x3226af(0xdc)]({'id':_0x3226af(0x67),'icon':_0x319d6c,'title':_0x39e7b5(this[_0x3226af(0xcb)][_0x3226af(0x113)],_0x3226af(0x85)),'content':this[_0x3226af(0xb4)],'position':_0xc7e1[_0x3226af(0x10f)],'onShow':()=>{const _0x214176=_0x3226af;this[_0x214176(0xb4)][_0x214176(0x9e)]();},'onHide':()=>{const _0x3760b3=_0x3226af;this[_0x3760b3(0x74)][_0x3760b3(0x7d)](),_0x2870e2[_0x3760b3(0x8a)]();}}):this[_0x3226af(0x73)][_0x3226af(0x68)][_0x3226af(0x8b)]||this[_0x3226af(0x73)][_0x3226af(0x68)][_0x3226af(0xea)]();}[_0x391543(0x107)](){const _0x2f6a15=_0x391543;this[_0x2f6a15(0x73)][_0x2f6a15(0x115)]();}[_0x391543(0xb8)](){const _0x27f9fa=_0x391543,_0x29fead=new Map(),_0x55c4fa=_0x2851b4(this[_0x27f9fa(0xcb)][_0x27f9fa(0x86)][_0x27f9fa(0xc2)](_0x27f9fa(0x10a)),this[_0x27f9fa(0xcb)][_0x27f9fa(0x113)]);for(const _0x21c85e of _0x55c4fa)for(const _0x1ccd4e of _0x21c85e[_0x27f9fa(0xa9)])_0x29fead[_0x27f9fa(0xee)](_0x1ccd4e['id'],{..._0x1ccd4e,'groupId':_0x21c85e[_0x27f9fa(0x80)],'groupLabel':_0x21c85e[_0x27f9fa(0xd4)]||_0x21c85e[_0x27f9fa(0x80)]});return _0x29fead;}[_0x391543(0xbd)](_0x41b8b0){const _0x5df5d3=_0x391543,_0x1cff86=this[_0x5df5d3(0xcb)],_0x48bf33=_0x1cff86[_0x5df5d3(0xa9)][_0x5df5d3(0xc2)](_0x5df5d3(0x69)),_0x2e8bc6=new _0x41b8b0(_0x1cff86[_0x5df5d3(0x113)]);return _0x2e8bc6[_0x5df5d3(0xee)]({'label':_0x39e7b5(_0x1cff86[_0x5df5d3(0x113)],_0x5df5d3(0x85)),'icon':_0x319d6c,'isToggleable':!0x0}),_0x2e8bc6[_0x5df5d3(0xdd)](_0x5df5d3(0xda))['to'](_0x48bf33),_0x2e8bc6[_0x5df5d3(0xdd)](_0x5df5d3(0x82))['to'](this[_0x5df5d3(0x73)],'id',_0x18742f=>_0x5df5d3(0x67)===_0x18742f),this[_0x5df5d3(0xa2)](_0x2e8bc6,_0x5df5d3(0x8f),()=>{const _0x5434a4=_0x5df5d3;_0x2e8bc6[_0x5434a4(0x82)]?this[_0x5434a4(0x107)]():_0x48bf33[_0x5434a4(0x8f)]();}),_0x2e8bc6;}[_0x391543(0x78)](){const _0x5d7f12=_0x391543,_0x52d6bd=this[_0x5d7f12(0xcb)][_0x5d7f12(0x105)][_0x5d7f12(0xc2)](_0x559023);this[_0x5d7f12(0xb4)]=new _0x3e9c07(this[_0x5d7f12(0xcb)][_0x5d7f12(0x113)],this[_0x5d7f12(0xc4)],this[_0x5d7f12(0xcb)][_0x5d7f12(0x86)][_0x5d7f12(0xc2)](_0x5d7f12(0xa3))),this[_0x5d7f12(0xb4)]['on'](_0x5d7f12(0xf9),()=>{const _0xb564e5=_0x5d7f12;this[_0xb564e5(0x73)][_0xb564e5(0x68)][_0xb564e5(0x8b)]||this[_0xb564e5(0x73)][_0xb564e5(0x68)][_0xb564e5(0xea)]();}),this[_0x5d7f12(0xb4)][_0x5d7f12(0x89)][_0x5d7f12(0x71)][_0x5d7f12(0x97)]['on'](_0x5d7f12(0xa4),()=>{const _0x4d6e8e=_0x5d7f12;this[_0x4d6e8e(0x73)][_0x4d6e8e(0x68)][_0x4d6e8e(0x8b)]||this[_0x4d6e8e(0x73)][_0x4d6e8e(0x68)][_0x4d6e8e(0xea)]();}),this[_0x5d7f12(0xa2)](this[_0x5d7f12(0xb4)],_0x5d7f12(0x95),()=>{const _0x47d5de=_0x5d7f12;_0x52d6bd[_0x47d5de(0xa5)](this[_0x47d5de(0x74)][_0x47d5de(0x6c)]),this[_0x47d5de(0x107)]();}),this[_0x5d7f12(0xa2)](this[_0x5d7f12(0xb4)],_0x5d7f12(0x7f),()=>{const _0x263836=_0x5d7f12;_0x52d6bd[_0x263836(0x7f)](this[_0x263836(0x74)][_0x263836(0x6c)]),this[_0x263836(0x107)]();}),this[_0x5d7f12(0xe0)]();}[_0x391543(0xe0)](){const _0x5bc053=_0x391543,{locale:_0x228b11,ui:{ariaLiveAnnouncer:_0x25e38f}}=this[_0x5bc053(0xcb)];this[_0x5bc053(0xb4)][_0x5bc053(0xb2)]['on'](_0x5bc053(0xd9),(_0x571581,_0x548222,_0x4677b7)=>{const _0x4eb5c5=_0x5bc053,_0x3d73a4=this[_0x4eb5c5(0x74)][_0x4eb5c5(0x6c)];_0x4677b7?_0x25e38f[_0x4eb5c5(0x76)](_0x39e7b5(_0x228b11,_0x4eb5c5(0x106))):_0x3d73a4&&_0x25e38f[_0x4eb5c5(0x76)](_0x39e7b5(_0x228b11,_0x4eb5c5(0x9a),_0x3d73a4),{'politeness':_0x4eb5c5(0xc0),'isUnsafeHTML':!0x0});}),this[_0x5bc053(0xb4)]['on'](_0x5bc053(0xa1),(_0x46684c,_0x51e85c,_0x111678)=>{const _0x36ada2=_0x5bc053;if(_0x111678){const _0x34c210=this[_0x36ada2(0xb4)][_0x36ada2(0x8c)][_0x36ada2(0xce)];_0x25e38f[_0x36ada2(0x76)](_0x39e7b5(_0x228b11,_0x36ada2(0x9f),_0x34c210));}});}[_0x391543(0x6f)](_0x396349){const _0x2bb458=_0x391543,_0x452057=this[_0x2bb458(0x104)][_0x2bb458(0xc2)](_0x396349),_0x1a05bd=this[_0x2bb458(0xcb)],_0x52984b=_0x1a05bd[_0x2bb458(0x88)][_0x2bb458(0xbe)][_0x2bb458(0xe3)],_0x3be596=_0x1a05bd[_0x2bb458(0xa9)][_0x2bb458(0xc2)](_0x2bb458(0x69)),_0xc9bd85=_0x1a05bd[_0x2bb458(0x105)][_0x2bb458(0xc2)](_0x559023),_0x273b1f=''+(_0x452057[_0x2bb458(0x80)]!==_0x1f97b1?_0x452057[_0x2bb458(0xd4)]+':\x20':'')+_0x452057[_0x2bb458(0xeb)];if(!0x1!==_0x452057[_0x2bb458(0x8d)]&&_0x52984b[_0x2bb458(0xbc)]){const _0x40f802=_0x8f1d7e(_0x52984b[_0x2bb458(0xc3)]())||_0x1a05bd[_0x2bb458(0x88)][_0x2bb458(0x84)][_0x2bb458(0x9d)](_0x52984b);_0x1a05bd[_0x2bb458(0x88)][_0x2bb458(0xd0)](_0x8e7f2a=>{const _0x4ef8a1=_0x2bb458;_0x8e7f2a[_0x4ef8a1(0xa8)](_0x40f802,'in');});}_0xc9bd85[_0x2bb458(0x7e)](),_0x3be596[_0x2bb458(0x8f)](_0x452057[_0x2bb458(0xde)],_0x273b1f,_0x2bb458(0xfb)+_0x396349);}[_0x391543(0xaa)](_0x3f74ea,_0x12f192,_0x546e69,_0x5e67bc){const _0x3cc7c5=_0x391543,_0x4373cb=this[_0x3cc7c5(0xcb)],_0x298eaf=_0x4373cb[_0x3cc7c5(0x113)],_0x4231c2=new _0x512992(_0x298eaf),_0x363fec=B(_0x4373cb,_0x546e69)[_0x3cc7c5(0xd1)](_0x3f9bbe=>_0x3f9bbe[_0x3cc7c5(0xa9)][_0x3cc7c5(0xe6)]);0x1===_0x363fec[_0x3cc7c5(0xe6)]?this[_0x3cc7c5(0xf1)]({'command':_0x3f74ea,'commands':_0x363fec[0x0][_0x3cc7c5(0xa9)],'parentMenuView':_0x12f192,'onExecute':_0x5e67bc})[_0x3cc7c5(0x90)](_0x238c9d=>_0x4231c2[_0x3cc7c5(0xb0)][_0x3cc7c5(0xd7)](_0x238c9d)):_0x363fec[_0x3cc7c5(0x90)](({groupId:_0x5b2bb4,groupLabel:_0x37188d,commands:_0x18e722})=>{const _0x59c0ef=_0x3cc7c5,_0x45e127=new _0x5368be(_0x298eaf,_0x12f192),_0x4898ff=new _0xa39b5c(_0x298eaf),_0x51234f=new _0x512992(_0x298eaf),_0x45805a=this[_0x59c0ef(0xf1)]({'command':_0x3f74ea,'commands':_0x18e722,'parentMenuView':_0x4898ff,'onExecute':_0x5e67bc});_0x4898ff[_0x59c0ef(0xca)][_0x59c0ef(0xee)]({'label':_0x37188d||_0x5b2bb4}),_0x4898ff[_0x59c0ef(0xe5)](_0x59c0ef(0x8f))['to'](_0x12f192),_0x51234f[_0x59c0ef(0xb0)][_0x59c0ef(0xc9)](_0x45805a),_0x4898ff[_0x59c0ef(0x9b)][_0x59c0ef(0x102)][_0x59c0ef(0xd7)](_0x51234f),_0x45e127[_0x59c0ef(0x102)][_0x59c0ef(0xd7)](_0x4898ff),_0x4231c2[_0x59c0ef(0xb0)][_0x59c0ef(0xd7)](_0x45e127);}),_0x12f192[_0x3cc7c5(0x9b)][_0x3cc7c5(0x102)][_0x3cc7c5(0xd7)](_0x4231c2);}[_0x391543(0xf1)]({command:_0x58d514,commands:_0x5cb5d7,parentMenuView:_0x2bd934,onExecute:_0x32cc96}){const _0x20232c=_0x391543,_0x37b051=this[_0x20232c(0xcb)],_0x401ce8=_0x37b051[_0x20232c(0x113)];return B(_0x37b051,_0x5cb5d7)[_0x20232c(0xab)](_0x5cf3c2=>{const _0x13bc41=_0x20232c,_0x5a4d58=new _0x5368be(_0x401ce8,_0x2bd934),_0x44c638=new _0x580d61(_0x401ce8);return _0x44c638[_0x13bc41(0xee)]({'label':_0x5cf3c2[_0x13bc41(0xeb)]}),_0x44c638[_0x13bc41(0xe5)](_0x13bc41(0x8f))['to'](_0x2bd934),_0x44c638['on'](_0x13bc41(0x8f),()=>_0x32cc96(_0x5cf3c2['id'])),_0x44c638[_0x13bc41(0xdd)](_0x13bc41(0xda))['to'](_0x58d514,_0x13bc41(0xcc),_0x34ac2d=>_0x34ac2d[_0x13bc41(0xc6)](_0x5cf3c2['id'])),_0x5a4d58[_0x13bc41(0x102)][_0x13bc41(0xd7)](_0x44c638),_0x5a4d58;});}}function U(_0x112722,_0x55c535){const _0x23c8db=_0x391543;return void 0x0!==_0x112722[_0x23c8db(0xb9)]&&void 0x0===_0x55c535[_0x23c8db(0xb9)]?0x1:void 0x0===_0x112722[_0x23c8db(0xb9)]&&void 0x0!==_0x55c535[_0x23c8db(0xb9)]?-0x1:void 0x0!==_0x112722[_0x23c8db(0xb9)]&&void 0x0!==_0x55c535[_0x23c8db(0xb9)]?_0x112722[_0x23c8db(0xb9)]-_0x55c535[_0x23c8db(0xb9)]:0x0;}function B(_0x273fb2,_0x4fc632){const _0x5d8bcf=_0x391543;_0x4fc632[_0x5d8bcf(0xec)](U);const _0x4dd99c={},_0x3ab596=[];for(const _0x11f48f of _0x4fc632)if(void 0x0!==_0x11f48f[_0x5d8bcf(0xb9)]){if(_0x11f48f[_0x5d8bcf(0xb9)]in _0x4dd99c)throw new _0x327e74(_0x5d8bcf(0xcd),_0x273fb2,{'conflictingDefinitions':[_0x11f48f,_0x4dd99c[_0x11f48f[_0x5d8bcf(0xb9)]]]});_0x4dd99c[_0x11f48f[_0x5d8bcf(0xb9)]]=_0x11f48f,_0x3ab596[_0x5d8bcf(0xe2)](_0x11f48f[_0x5d8bcf(0xb9)],0x0,_0x11f48f);}else _0x3ab596[_0x5d8bcf(0x72)](_0x11f48f);return _0x3ab596;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5b86(_0x2f7a70,_0x2a17a4){var _0x530aa7=_0x530a();return _0x5b86=function(_0x5b86e0,_0x562b5b){_0x5b86e0=_0x5b86e0-0x162;var _0x505b6c=_0x530aa7[_0x5b86e0];return _0x505b6c;},_0x5b86(_0x2f7a70,_0x2a17a4);}(function(_0x5b102b,_0x22b923){var _0x1d0146=_0x5b86,_0x547578=_0x5b102b();while(!![]){try{var _0x5abc9d=-parseInt(_0x1d0146(0x163))/0x1+-parseInt(_0x1d0146(0x169))/0x2*(-parseInt(_0x1d0146(0x162))/0x3)+-parseInt(_0x1d0146(0x168))/0x4+parseInt(_0x1d0146(0x167))/0x5+-parseInt(_0x1d0146(0x164))/0x6*(-parseInt(_0x1d0146(0x166))/0x7)+-parseInt(_0x1d0146(0x165))/0x8+parseInt(_0x1d0146(0x16a))/0x9;if(_0x5abc9d===_0x22b923)break;else _0x547578['push'](_0x547578['shift']());}catch(_0x205781){_0x547578['push'](_0x547578['shift']());}}}(_0x530a,0x2796b));function _0x530a(){var _0x1f28c6=['1012236IvCVrz','311736AKappw','1359819zfrvbL','6JMvKGZ','238228orOBsi','6fujDYz','501872VEwRiO','28721fTqWTz','1246230iZsPfu'];_0x530a=function(){return _0x1f28c6;};return _0x530a();}import{CKEditorError as _0x2c4594}from'ckeditor5/src/utils.js';
|