@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.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-editor.css +114 -12
- package/dist/index.css +114 -12
- package/dist/index.js +4 -4
- 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/lang/contexts.json +36 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- 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/aiconfig.d.ts +16 -0
- 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/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.d.ts +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/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/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
- package/src/aireviewmode/aireviewmode.d.ts +37 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
- 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.d.ts +6 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
- 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/aireviewmodeformamanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +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/index.d.ts +3 -2
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls.css +4 -0
- package/theme/aichat/aichatfeed.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/src/aireviewmode/utils/common-translations.d.ts +0 -9
- package/src/aireviewmode/utils/common-translations.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b3ef5=_0x31ea;function _0x1647(){const _0x31c15b=['gpt-4o','6757848PyDzdA','30meRlIx','pluginName','AI_ERROR_MODERATION','abortController','ai.assistant.adapter.openAI.apiUrl','get','stream','7392285bHcZqB','reject','config','context_length_exceeded','delta','body','AI_ERROR_CONTEXT_LENGTH','[DONE]','includes','user','128382moZWee','editor','899352DdqpvG','map','signal','content','Moderation','ai.assistant.adapter.openAI.requestHeaders','system','resolve','getReader','1krWega','ai.assistant.adapter.openAI.requestParameters','length','text','join','_isBufferIncomplete','POST','_requestParameters','2999520WWvGPE','decode','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.','replace','_apiUrl','sendRequest','parse','Instruction:\x0a','https://api.openai.com/v1/chat/completions','filter','_cleanUpData','locale','stringify','data:\x20','split','OpenAITextAdapter','choices','read','66152zrVRCm','_prepareRequestParameters','message','_requestHeaders','json','define','prepareMessages','3101028mxoSvm','_readStaticResponse','_prepareRequestHeaders','_readStreamableResponse','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.','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'];_0x1647=function(){return _0x31c15b;};return _0x1647();}(function(_0x5d42bc,_0x24ca2e){const _0x3788af=_0x31ea,_0x53db1a=_0x5d42bc();while(!![]){try{const _0x3e256c=-parseInt(_0x3788af(0x206))/0x1*(parseInt(_0x3788af(0x1fb))/0x2)+-parseInt(_0x3788af(0x1fd))/0x3+parseInt(_0x3788af(0x220))/0x4*(-parseInt(_0x3788af(0x22f))/0x5)+parseInt(_0x3788af(0x20e))/0x6+parseInt(_0x3788af(0x227))/0x7+-parseInt(_0x3788af(0x22e))/0x8+parseInt(_0x3788af(0x1f1))/0x9;if(_0x3e256c===_0x24ca2e)break;else _0x53db1a['push'](_0x53db1a['shift']());}catch(_0x302415){_0x53db1a['push'](_0x53db1a['shift']());}}}(_0x1647,0x6f6a3));import{AITextAdapter as _0x1c437d}from'./aitextadapter.js';import{AIRequestError as _0x47b65e}from'./aiadapter.js';function _0x31ea(_0x392e5d,_0x1443c8){const _0x1647cc=_0x1647();return _0x31ea=function(_0x31ea9d,_0x1aebbf){_0x31ea9d=_0x31ea9d-0x1ef;let _0x2c65b9=_0x1647cc[_0x31ea9d];return _0x2c65b9;},_0x31ea(_0x392e5d,_0x1443c8);}import{getTranslation as _0xe2745a}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x1c437d{[_0x5b3ef5(0x212)];[_0x5b3ef5(0x223)];[_0x5b3ef5(0x20d)];static get[_0x5b3ef5(0x230)](){const _0x1dd109=_0x5b3ef5;return _0x1dd109(0x21d);}constructor(_0x16db0c){const _0x112f32=_0x5b3ef5;super(_0x16db0c),_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x225)](_0x112f32(0x233),_0x112f32(0x216)),_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x207))||_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x225)](_0x112f32(0x207),{'model':_0x112f32(0x22d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x112f32(0x212)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x233)),this[_0x112f32(0x223)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x202))||{},this[_0x112f32(0x20d)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x207));}async[_0x5b3ef5(0x213)]({query:_0x353016,context:_0x13314d,onData:_0x56e80a,actionId:_0x18367c}){const _0x1c37ee=_0x5b3ef5,_0x1a7a4d=this[_0x1c37ee(0x1fc)][_0x1c37ee(0x219)],_0x5f3442=await this[_0x1c37ee(0x226)](_0x353016,_0x13314d,_0x18367c),_0x589865=await this[_0x1c37ee(0x229)](this[_0x1c37ee(0x223)],_0x18367c),_0x4423fc=await this[_0x1c37ee(0x221)](this[_0x1c37ee(0x20d)],_0x18367c),_0x580f35={'messages':_0x5f3442,..._0x4423fc},_0x87ca94={'method':_0x1c37ee(0x20c),'headers':_0x589865,'body':JSON[_0x1c37ee(0x21a)](_0x580f35),'signal':this[_0x1c37ee(0x232)][_0x1c37ee(0x1ff)]},_0x3ef9dc=await fetch(this[_0x1c37ee(0x212)],_0x87ca94);if(_0x3ef9dc['ok'])return _0x4423fc[_0x1c37ee(0x1f0)]?await this[_0x1c37ee(0x22a)](_0x3ef9dc,_0x56e80a):await this[_0x1c37ee(0x228)](_0x3ef9dc,_0x56e80a),Promise[_0x1c37ee(0x204)]();{const _0x49898b=await _0x3ef9dc[_0x1c37ee(0x209)]();return _0x49898b[_0x1c37ee(0x1f9)](_0x1c37ee(0x1f4))?Promise[_0x1c37ee(0x1f2)](new _0x47b65e(_0xe2745a(_0x1a7a4d,_0x1c37ee(0x1f7)))):_0x49898b[_0x1c37ee(0x1f9)](_0x1c37ee(0x201))?Promise[_0x1c37ee(0x1f2)](new _0x47b65e(_0xe2745a(_0x1a7a4d,_0x1c37ee(0x231)))):Promise[_0x1c37ee(0x1f2)](new Error(_0x49898b));}}async[_0x5b3ef5(0x226)](_0x569653,_0x4d9753,_0x52ca60){const _0x2c8415=_0x5b3ef5;let _0x1fd20f,_0x5ea3b2;return _0x4d9753?(_0x1fd20f=_0x2c8415(0x210),_0x5ea3b2=_0x2c8415(0x215)+_0x569653+_0x2c8415(0x22c)+_0x4d9753):(_0x1fd20f=_0x2c8415(0x22b),_0x5ea3b2=_0x569653),[{'role':_0x2c8415(0x203),'content':_0x1fd20f},{'role':_0x2c8415(0x1fa),'content':_0x5ea3b2}];}async[_0x5b3ef5(0x22a)](_0x45ed57,_0x2e65ee){const _0x398e08=_0x5b3ef5,_0x389916=_0x45ed57[_0x398e08(0x1f6)][_0x398e08(0x205)](),_0x23ef8f=new TextDecoder();let _0x3beb94='',_0x4a3d47='',_0x47a151='',_0x331998=!0x1;for(;!_0x331998;){const {done:_0x1cd44c,value:_0x534c75}=await _0x389916[_0x398e08(0x21f)](),_0x4cac92=_0x3beb94+_0x23ef8f[_0x398e08(0x20f)](_0x534c75);let _0x405c54='';_0x331998=_0x1cd44c;try{_0x405c54=this[_0x398e08(0x218)](_0x4cac92),_0x3beb94='';}catch{_0x3beb94=_0x4cac92;continue;}_0x4a3d47+=_0x405c54,!_0x331998&&this[_0x398e08(0x20b)](_0x4a3d47)||_0x4a3d47&&(_0x47a151+=_0x4a3d47,_0x4a3d47='',_0x2e65ee(_0x47a151));}return Promise[_0x398e08(0x204)]();}async[_0x5b3ef5(0x228)](_0x1cab28,_0x8b4ef1){const _0x907f3a=_0x5b3ef5;return _0x8b4ef1((await _0x1cab28[_0x907f3a(0x224)]())[_0x907f3a(0x21e)][0x0][_0x907f3a(0x222)][_0x907f3a(0x200)]),Promise[_0x907f3a(0x204)]();}[_0x5b3ef5(0x20b)](_0x34d8f1){const _0x3fef70=_0x5b3ef5,_0x4d32e0=_0x34d8f1[_0x3fef70(0x21c)]('<')[_0x3fef70(0x208)]!==_0x34d8f1[_0x3fef70(0x21c)]('>')[_0x3fef70(0x208)],_0x27d0ab=_0x34d8f1[_0x3fef70(0x208)]<0x1e;return _0x4d32e0&&_0x27d0ab;}[_0x5b3ef5(0x218)](_0x162941){const _0x568d5f=_0x5b3ef5;return _0x162941[_0x568d5f(0x21c)](/\n(?![^{]*\})/g)[_0x568d5f(0x1fe)](_0x3432b8=>_0x3432b8[_0x568d5f(0x211)](_0x568d5f(0x21b),''))[_0x568d5f(0x217)](_0x135807=>_0x135807&&_0x135807[_0x568d5f(0x208)]>0x0&&_0x568d5f(0x1f8)!==_0x135807)[_0x568d5f(0x1fe)](_0x296167=>{const _0x2f0150=_0x568d5f,{choices:_0x1cd2a5}=JSON[_0x2f0150(0x214)](_0x296167);if(_0x1cd2a5[0x0]?.[_0x2f0150(0x1f5)]?.[_0x2f0150(0x200)])return _0x1cd2a5[0x0][_0x2f0150(0x1f5)][_0x2f0150(0x200)];})[_0x568d5f(0x217)](_0x4c8460=>_0x4c8460)[_0x568d5f(0x20a)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x393b3a=_0x256c;function _0x256c(_0x3ef6b3,_0x1cb8ee){const _0x235808=_0x2358();return _0x256c=function(_0x256c21,_0x52490f){_0x256c21=_0x256c21-0x1f0;let _0x151719=_0x235808[_0x256c21];return _0x151719;},_0x256c(_0x3ef6b3,_0x1cb8ee);}(function(_0x2cb827,_0x30e86e){const _0x321220=_0x256c,_0x2fef3f=_0x2cb827();while(!![]){try{const _0x5008af=-parseInt(_0x321220(0x23c))/0x1*(parseInt(_0x321220(0x231))/0x2)+parseInt(_0x321220(0x21f))/0x3+parseInt(_0x321220(0x20f))/0x4+parseInt(_0x321220(0x240))/0x5*(-parseInt(_0x321220(0x1fb))/0x6)+parseInt(_0x321220(0x25e))/0x7+-parseInt(_0x321220(0x222))/0x8+-parseInt(_0x321220(0x239))/0x9*(-parseInt(_0x321220(0x23f))/0xa);if(_0x5008af===_0x30e86e)break;else _0x2fef3f['push'](_0x2fef3f['shift']());}catch(_0x2066a4){_0x2fef3f['push'](_0x2fef3f['shift']());}}}(_0x2358,0x47d01));import{Plugin as _0x2b3907}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x397952}from'./aiassistantui.js';import{AIAssistantEditing as _0x25154c}from'./aiassistantediting.js';function _0x2358(){const _0x1a1263=['define','includes','direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','ai.assistant.removeCommands','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateFrench','commands','translateChinese','legal','config','Generate\x20from\x20selection','groupId','get','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','locale','Summarize','1530312osObpo','casual','requires','improveWriting','ai.assistant.preserveComments','translateGerman','English','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','makeLonger','Change\x20style','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','generate','Hindi','Make\x20longer','Simplify\x20language','simplifyLanguage','717072FJKVGq','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Legal','1738744BQWTNH','German','translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','professional','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','ai.assistant.commands','translatePortuguese','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','filter','translateHindi','AIAssistant','Improve\x20writing','pluginName','114378QmtrWm','translateSpanish','translateEnglish','changeStyle','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','summarize','ai.assistant.extraCommandGroups','4022901lrSwsc','Make\x20shorter','Simplified\x20Chinese','9lInHZk','Journalism','Arabic','10GYOMgv','41165oNNWyy','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Change\x20tone','editOrReview','poetic','Confident','changeTone','Continue','Translate\x20the\x20content\x20to\x20German\x20language.','Translate','Direct','concat','Professional','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','makeShorter','Portuguese','continue','set','Business','confident','Spanish','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20French\x20language.','French','push','find','Casual','business','isOfficialPlugin','1028699rcASgW','friendly','Poetic','forEach','journalism','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Friendly','Translate\x20the\x20content\x20to\x20English\x20language.','translateArabic','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Edit\x20or\x20review','138ubsuxO'];_0x2358=function(){return _0x1a1263;};return _0x2358();}import{getTranslation as _0x2d0f8c}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2f78c1}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2b3907{static get[_0x393b3a(0x211)](){return[_0x397952,_0x25154c];}static get[_0x393b3a(0x230)](){const _0x1074df=_0x393b3a;return _0x1074df(0x22e);}static get[_0x393b3a(0x25d)](){return!0x0;}static get[_0x393b3a(0x20a)](){return!0x0;}constructor(_0x2d54b3){const _0x46959b=_0x393b3a;super(_0x2d54b3);const _0x713383=_0x2d54b3[_0x46959b(0x206)],_0x12f57b=_0x2d54b3[_0x46959b(0x20d)];_0x713383[_0x46959b(0x1fc)](_0x46959b(0x213),!0x0),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x228),getDefaultAICommands(_0x12f57b)),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x238),[]),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x200),[]);let _0x4a5b06=_0x2f78c1(_0x713383[_0x46959b(0x209)](_0x46959b(0x228)),_0x12f57b);const _0x5e5358=_0x713383[_0x46959b(0x209)](_0x46959b(0x238)),_0x2ce758=_0x713383[_0x46959b(0x209)](_0x46959b(0x200));_0x5e5358[_0x46959b(0x1f2)](_0x3b1314=>{const _0x5a5bcb=_0x46959b,_0x827bdb=_0x4a5b06[_0x5a5bcb(0x25a)](_0x1a020a=>_0x1a020a[_0x5a5bcb(0x208)]===_0x3b1314[_0x5a5bcb(0x208)]);_0x827bdb?_0x827bdb[_0x5a5bcb(0x203)]=_0x827bdb[_0x5a5bcb(0x203)][_0x5a5bcb(0x24c)](_0x3b1314[_0x5a5bcb(0x203)]):_0x4a5b06[_0x5a5bcb(0x259)](_0x3b1314);}),_0x4a5b06=_0x4a5b06[_0x46959b(0x22c)](_0x2b9db6=>!_0x2ce758[_0x46959b(0x1fd)](_0x2b9db6[_0x46959b(0x208)])),_0x4a5b06[_0x46959b(0x1f2)](_0x53d4cd=>{const _0x23db5e=_0x46959b;_0x53d4cd[_0x23db5e(0x203)]=_0x53d4cd[_0x23db5e(0x203)][_0x23db5e(0x22c)](_0x13bd3e=>!_0x2ce758[_0x23db5e(0x1fd)](_0x13bd3e['id']));}),_0x713383[_0x46959b(0x252)](_0x46959b(0x228),_0x4a5b06);}}export function getDefaultAICommands(_0x2817a7){const _0x56605b=_0x393b3a;return[{'groupId':_0x56605b(0x244),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x1fa)),'commands':[{'id':_0x56605b(0x212),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x22f)),'prompt':_0x56605b(0x216)},{'id':_0x56605b(0x24f),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23a)),'prompt':_0x56605b(0x256)},{'id':_0x56605b(0x217),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21c)),'prompt':_0x56605b(0x219)},{'id':_0x56605b(0x21e),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21d)),'prompt':_0x56605b(0x220)}]},{'groupId':_0x56605b(0x21a),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x207)),'commands':[{'id':_0x56605b(0x237),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x20e)),'prompt':_0x56605b(0x225)},{'id':_0x56605b(0x251),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x248)),'prompt':_0x56605b(0x241)}]},{'groupId':_0x56605b(0x247),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x243)),'commands':[{'id':_0x56605b(0x226),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x24d)),'prompt':_0x56605b(0x22a)},{'id':_0x56605b(0x210),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x25b)),'prompt':_0x56605b(0x1f5)},{'id':_0x56605b(0x1fe),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x24b)),'prompt':_0x56605b(0x1f9)},{'id':_0x56605b(0x254),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x246)),'prompt':_0x56605b(0x20c)},{'id':_0x56605b(0x1f0),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x1f6)),'prompt':_0x56605b(0x242)}]},{'groupId':_0x56605b(0x234),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x218)),'commands':[{'id':_0x56605b(0x25c),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x253)),'prompt':_0x56605b(0x1ff)},{'id':_0x56605b(0x205),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x221)),'prompt':_0x56605b(0x24e)},{'id':_0x56605b(0x1f3),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23d)),'prompt':_0x56605b(0x227)},{'id':_0x56605b(0x245),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x1f1)),'prompt':_0x56605b(0x235)}]},{'groupId':_0x56605b(0x224),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x24a)),'commands':[{'id':_0x56605b(0x233),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x215)),'prompt':_0x56605b(0x1f7)},{'id':_0x56605b(0x232),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x255)),'prompt':_0x56605b(0x20b)},{'id':_0x56605b(0x229),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x250)),'prompt':_0x56605b(0x201)},{'id':_0x56605b(0x214),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x223)),'prompt':_0x56605b(0x249)},{'id':_0x56605b(0x202),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x258)),'prompt':_0x56605b(0x257)},{'id':_0x56605b(0x204),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23b)),'prompt':_0x56605b(0x236)},{'id':_0x56605b(0x22d),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21b)),'prompt':_0x56605b(0x1f4)},{'id':_0x56605b(0x1f8),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23e)),'prompt':_0x56605b(0x22b)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x424078=_0xc6e9;(function(_0x3013f0,_0x1963cf){const _0x78d037=_0xc6e9,_0x514266=_0x3013f0();while(!![]){try{const _0x4a5019=parseInt(_0x78d037(0xde))/0x1*(-parseInt(_0x78d037(0x101))/0x2)+-parseInt(_0x78d037(0xc9))/0x3*(parseInt(_0x78d037(0xeb))/0x4)+-parseInt(_0x78d037(0xaa))/0x5+-parseInt(_0x78d037(0xa0))/0x6+-parseInt(_0x78d037(0xa3))/0x7+parseInt(_0x78d037(0xda))/0x8+parseInt(_0x78d037(0xa5))/0x9;if(_0x4a5019===_0x1963cf)break;else _0x514266['push'](_0x514266['shift']());}catch(_0x491abe){_0x514266['push'](_0x514266['shift']());}}}(_0xc507,0xb0d8c));import{uid as _0x1e76a1}from'ckeditor5/src/utils.js';import{Plugin as _0x802f1a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x329cab}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1ccf6f,ViewDataTransfer as _0x3e7694}from'ckeditor5/src/engine.js';function _0xc507(){const _0x58a00d=['markers','getSelectedBlocks','conversion','editor','off','ai-ui','TableUtils','4551276NcvLTO','join','fire','2918881wQPyfq','_pasteHTMLUsingClipboard','22764204btqyKU','isOfficialPlugin','setData','findAncestor','updateMarker','2870655chZMcE','change','start','getRange','getRanges','_createEmptyTableRows','createUIElement','schema','markerRange','DataTransfer','first','removeMarker','markerToElement','editingDowncast','createPositionAfter','model','contentInsertion','href','forEach','get','insertContent','pop','setSelection','_getTableRowCountFromContent','isCollapsed','has','resultRange','_prepareTableInsertBelowPosition','once','paste','span','100869OJKoZb','_getDefaultInsertBelowPosition','getRowIndexes','getColumnIndexes','lowest','afterInit','selection','for','AIAssistantEditing','last','showFakeVisualSelection','addClass','from','editing','plugins','document','element','471744gvePIN','createRange','insertContentBelow','getMarkersGroup','1ixGWOx','getChildren','config','getRows','hideFakeVisualSelection','table','isAtEnd','isContent','getChild','pluginName','data','filter','map','4xmtFtB','deleteContent','init','ck-ai-assistant-ui_theme','getSelectedTableCells','ai.assistant.useTheme','push','addMarker','_resetContentOfSelectedTableCells','ck-fake-ai-selection_collapsed','createSelection','getFirstRange','parse','createPositionAt','isPremiumPlugin','getLastMatchingPosition','end','canEditAt','_getAISelection','length','ck-fake-ai-selection','markerToHighlight','161354SiMSBc','getLastPosition','fromCharCode','text/html','insertRows'];_0xc507=function(){return _0x58a00d;};return _0xc507();}const D=globalThis[_0x424078(0xb3)],O=_0x424078(0x9e);function _0xc6e9(_0x353788,_0x43c23f){const _0xc507f5=_0xc507();return _0xc6e9=function(_0xc6e9b9,_0x46064f){_0xc6e9b9=_0xc6e9b9-0x9e;let _0x1f6724=_0xc507f5[_0xc6e9b9];return _0x1f6724;},_0xc6e9(_0x353788,_0x43c23f);}export class AIAssistantEditing extends _0x802f1a{static get[_0x424078(0xe7)](){const _0x4a5f31=_0x424078;return _0x4a5f31(0xd1);}static get[_0x424078(0xa6)](){return!0x0;}static get[_0x424078(0xf9)](){return!0x0;}[_0x424078(0xed)](){const _0x47a0e6=_0x424078,{editor:_0x2615ad}=this,_0x436a27=[_0x47a0e6(0xff)];_0x2615ad[_0x47a0e6(0xe0)][_0x47a0e6(0xbd)](_0x47a0e6(0xf0))&&_0x436a27[_0x47a0e6(0xf1)](_0x47a0e6(0xee)),_0x2615ad[_0x47a0e6(0x108)][_0x47a0e6(0xd0)](_0x47a0e6(0xb7))[_0x47a0e6(0x100)]({'model':O,'view':{'classes':_0x436a27,'priority':0xc}}),_0x2615ad[_0x47a0e6(0x108)][_0x47a0e6(0xd0)](_0x47a0e6(0xb7))[_0x47a0e6(0xb6)]({'model':O,'view':(_0xf28ce3,{writer:_0x1195fe})=>{const _0x36f147=_0x47a0e6;if(!_0xf28ce3[_0x36f147(0xb2)][_0x36f147(0xc2)])return null;const _0x40604b=_0x1195fe[_0x36f147(0xb0)](_0x36f147(0xc8));return _0x1195fe[_0x36f147(0xd4)]([_0x36f147(0xff),_0x36f147(0xf4)],_0x40604b),_0x40604b;}});}[_0x424078(0xce)](){!async function(_0x5d48d9){const _0x521a80=_0x126c94([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]),_0x3df6ff=0x3dffc4e1,_0x4a9e3d=0x3df8b0a9^_0x3df6ff,_0x4c125d=window[_0x126c94([0x44,0x61,0x74,0x65])][_0x126c94([0x6e,0x6f,0x77])](),_0xecd27a=_0x5d48d9[_0x126c94([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x577a89=new window[(_0x126c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18d6b8=>{_0xecd27a[_0x126c94([0x6f,0x6e,0x63,0x65])](_0x126c94([0x72,0x65,0x61,0x64,0x79]),_0x18d6b8);}),_0x2fe7ad={[_0x126c94([0x6b,0x74,0x79])]:_0x126c94([0x45,0x43]),[_0x126c94([0x75,0x73,0x65])]:_0x126c94([0x73,0x69,0x67]),[_0x126c94([0x63,0x72,0x76])]:_0x126c94([0x50,0x2d,0x32,0x35,0x36]),[_0x126c94([0x78])]:_0x126c94([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]),[_0x126c94([0x79])]:_0x126c94([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]),[_0x126c94([0x61,0x6c,0x67])]:_0x126c94([0x45,0x53,0x32,0x35,0x36])},_0x3931db=_0xecd27a[_0x126c94([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x126c94([0x67,0x65,0x74])](_0x126c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4db90b(){let _0x41c209,_0x5efdf9=null,_0x4cb07d=null;try{if(_0x3931db==_0x126c94([0x47,0x50,0x4c]))return _0x126c94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41c209=_0x4b8ce6(),!_0x41c209)return _0x126c94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41c209[_0x126c94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4cb07d=_0x4aa695(_0x41c209[_0x126c94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41c209[_0x126c94([0x6a,0x74,0x69])])),await _0x261f3e()?_0x5973da()?_0x4e91ab()?_0x126c94([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3122e6()?(_0x41c209[_0x126c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x126c94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5efdf9=_0x504a27(_0x126c94([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x41c209[_0x126c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x126c94([0x74,0x72,0x69,0x61,0x6c])&&(_0x5efdf9=_0x504a27(_0x126c94([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35cc34()):_0x126c94([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x126c94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x126c94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x126c94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e91ab(){const _0x176ba3=[_0x126c94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x126c94([0x74,0x72,0x69,0x61,0x6c])][_0x126c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c209[_0x126c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c125d/0x3e8:0xe10*_0x4a9e3d;return _0x41c209[_0x126c94([0x65,0x78,0x70])]<_0x176ba3;}function _0x5973da(){const _0x6ba707=_0x41c209[_0x126c94([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x6ba707&&(!!_0x6ba707[_0x126c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126c94([0x2a]))||!!_0x6ba707[_0x126c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126c94([0x41,0x49])));}function _0x3122e6(){const _0x539a8c=_0xc6e9,_0x89b9d5=_0x41c209[_0x126c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x89b9d5||0x0==_0x89b9d5[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3827f2}=new URL(window[_0x126c94([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x539a8c(0xbb)]);if(_0x89b9d5[_0x126c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3827f2))return!0x0;const _0x51737c=_0x3827f2[_0x126c94([0x73,0x70,0x6c,0x69,0x74])](_0x126c94([0x2e]));return _0x89b9d5[_0x126c94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ecea6=>_0x2ecea6[_0x126c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126c94([0x2a])))[_0x126c94([0x6d,0x61,0x70])](_0x373b51=>_0x373b51[_0x126c94([0x73,0x70,0x6c,0x69,0x74])](_0x126c94([0x2e])))[_0x126c94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59e562=>_0x59e562[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51737c[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126c94([0x6d,0x61,0x70])](_0x35c623=>Array(_0x51737c[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35c623[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126c94([0x66,0x69,0x6c,0x6c])](_0x35c623[0x0]===_0x126c94([0x2a])?_0x126c94([0x2a]):'')[_0x126c94([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35c623))[_0x126c94([0x73,0x6f,0x6d,0x65])](_0x4b8915=>_0x51737c[_0x126c94([0x65,0x76,0x65,0x72,0x79])]((_0x3b98d7,_0x3855ba)=>_0x4b8915[_0x3855ba]===_0x3b98d7||_0x4b8915[_0x3855ba]===_0x126c94([0x2a])));}function _0x35cc34(){return _0x5efdf9&&_0x4cb07d?new window[(_0x126c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2feb05,_0x364053)=>{_0x5efdf9[_0x126c94([0x74,0x68,0x65,0x6e])](_0x2feb05,_0x364053),_0x4cb07d[_0x126c94([0x74,0x68,0x65,0x6e])](_0x538fc6=>{_0x538fc6!=_0x126c94([0x56,0x61,0x6c,0x69,0x64])&&_0x2feb05(_0x538fc6);},_0x364053);}):_0x5efdf9||_0x4cb07d||_0x126c94([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4aa695(_0x31d749,_0x2cfaef){return new window[(_0x126c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fcf2a=>{if(_0x38c31a())return _0x4fcf2a(_0x126c94([0x56,0x61,0x6c,0x69,0x64]));_0x2f7efc(),_0xecd27a[_0x126c94([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x126c94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ed0df=!0x1;const _0x506be2=_0x1e76a1();function _0x257060(_0x3f5945){return!!_0x3f5945&&(typeof _0x3f5945===_0x126c94([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f5945===_0x126c94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f5945[_0x126c94([0x74,0x68,0x65,0x6e])]===_0x126c94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f5945[_0x126c94([0x63,0x61,0x74,0x63,0x68])]===_0x126c94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x586728(_0x59f943){_0x4c168b(_0x59f943)[_0x126c94([0x74,0x68,0x65,0x6e])](_0x4f9fb9=>{if(!_0x4f9fb9||_0x4f9fb9[_0x126c94([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x126c94([0x6f,0x6b]))return _0x126c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8a638b(_0x196847(_0x506be2+_0x2cfaef))!=_0x4f9fb9[_0x126c94([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x126c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x126c94([0x56,0x61,0x6c,0x69,0x64]);})[_0x126c94([0x74,0x68,0x65,0x6e])](_0x2820fd=>(_0x37ef41(),_0x2820fd),()=>{const _0x1ab03a=_0xa197be();return null==_0x1ab03a?(_0x37ef41(),_0x126c94([0x56,0x61,0x6c,0x69,0x64])):_0x126c94(_0x4c125d-_0x1ab03a>(0x19f340e1^_0x3df6ff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x126c94([0x74,0x68,0x65,0x6e])](_0x4fcf2a)[_0x126c94([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fcf2a(_0x126c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x301523=0x3dc92a61^_0x3df6ff;function _0x37ef41(){const _0x30f46c=_0x126c94([0x6c,0x6c,0x63,0x74,0x2d])+_0x8a638b(_0x196847(_0x31d749)),_0x1251ad=_0x3f4deb(_0x8a638b(window[_0x126c94([0x4d,0x61,0x74,0x68])][_0x126c94([0x63,0x65,0x69,0x6c])](_0x4c125d/_0x301523)));window[_0x126c94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126c94([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30f46c,_0x1251ad);}function _0xa197be(){const _0x4d511f=_0x126c94([0x6c,0x6c,0x63,0x74,0x2d])+_0x8a638b(_0x196847(_0x31d749)),_0x1a634b=window[_0x126c94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126c94([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d511f);return _0x1a634b?window[_0x126c94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f4deb(_0x1a634b),0x10)*_0x301523:null;}function _0x4c168b(_0x20c7fe){return new window[(_0x126c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47e2fe,_0x3a46c4)=>{_0x20c7fe[_0x126c94([0x74,0x68,0x65,0x6e])](_0x47e2fe,_0x3a46c4),window[_0x126c94([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a46c4,0x3dfe1021^_0x3df6ff);});}}_0xecd27a[_0x126c94([0x6f,0x6e])](_0x126c94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x393a13,_0x396c62)=>{if(_0x396c62[0x0]!=_0x31d749)return _0x4fcf2a(_0x126c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x396c62[0x1]={..._0x396c62[0x1],[_0x126c94([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x506be2};},{[_0x126c94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126c94([0x68,0x69,0x67,0x68])}),_0xecd27a[_0x126c94([0x6f,0x6e])](_0x126c94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x142d21=>{_0x257060(_0x142d21[_0x126c94([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ed0df=!0x0,_0x586728(_0x142d21[_0x126c94([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x126c94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126c94([0x6c,0x6f,0x77])}),_0x577a89[_0x126c94([0x74,0x68,0x65,0x6e])](()=>{_0x4ed0df||_0x4fcf2a(_0x126c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38c31a(){return _0xecd27a[_0x126c94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126c94([0x76,0x69,0x65,0x77])][_0x126c94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x126c94([0x61,0x75,0x74,0x6f]);}function _0x2f7efc(){_0xecd27a[_0x126c94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126c94([0x76,0x69,0x65,0x77])][_0x126c94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x126c94([0x61,0x75,0x74,0x6f]);}}function _0x504a27(_0x45a3de){const _0x2faca8=[new window[(_0x126c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x148b04=>setTimeout(_0x148b04,0x3df6fa2d^_0x3df6ff)),_0x577a89[_0x126c94([0x74,0x68,0x65,0x6e])](()=>new window[(_0x126c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeed7da=>{let _0x22813f=0x0;_0xecd27a[_0x126c94([0x6d,0x6f,0x64,0x65,0x6c])][_0x126c94([0x6f,0x6e])](_0x126c94([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4368a2,_0x274f31)=>{_0x274f31[0x0][_0x126c94([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22813f++,_0x22813f==(0x3dffc519^_0x3df6ff)&&(_0xeed7da(),_0x4368a2[_0x126c94([0x6f,0x66,0x66])]());});}))];return window[_0x126c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x126c94([0x72,0x61,0x63,0x65])](_0x2faca8)[_0x126c94([0x74,0x68,0x65,0x6e])](()=>_0x45a3de);}async function _0x510e1b(){await _0x577a89,_0xecd27a[_0x126c94([0x6d,0x6f,0x64,0x65,0x6c])][_0x126c94([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ada4d,_0xecd27a[_0x126c94([0x6d,0x6f,0x64,0x65,0x6c])][_0x126c94([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ada4d,_0xecd27a[_0x126c94([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x126c94([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x420331(_0x69776a){const _0x126624=_0x3eb706();_0xecd27a[_0x126624]=_0x126c94([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x69776a,_0x69776a!=_0x126c94([0x56,0x61,0x6c,0x69,0x64])&&_0x510e1b();}function _0x3eb706(){const _0x587a56=window[_0x126c94([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x126c94([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x126c94([0x6e,0x6f,0x77])]())[_0x126c94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x126c94([0x2e]),'');let _0x23a5ba=_0x126c94([0x6e]);for(let _0x472dfa=0x0;_0x472dfa<_0x587a56[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x472dfa+=0x2){let _0x4b0f59=window[_0x126c94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x587a56[_0x126c94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x472dfa,_0x472dfa+0x2));_0x4b0f59>=_0x521a80[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b0f59-=_0x521a80[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23a5ba+=_0x521a80[_0x4b0f59];}return _0x23a5ba;}function _0x4b8ce6(){const _0x58534b=_0x3931db[_0x126c94([0x73,0x70,0x6c,0x69,0x74])](_0x126c94([0x2e]));if(0x3!=_0x58534b[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x409599(_0x58534b[0x1]);function _0x409599(_0x18ce7d){const _0x560f9a=_0x52a435(_0x18ce7d);return _0x560f9a&&_0x4e709e()?_0x560f9a:null;function _0x4e709e(){const _0x53248a=_0x560f9a[_0x126c94([0x6a,0x74,0x69])],_0x49e78a=window[_0x126c94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53248a[_0x126c94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53248a[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf14e7a={..._0x560f9a,[_0x126c94([0x6a,0x74,0x69])]:_0x53248a[_0x126c94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53248a[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf14e7a[_0x126c94([0x76,0x63])],_0x196847(_0xf14e7a)==_0x49e78a;}}}async function _0x261f3e(){let _0x3ca81a=!0x0;try{const _0x1fdab0=_0x3931db[_0x126c94([0x73,0x70,0x6c,0x69,0x74])](_0x126c94([0x2e])),[_0x577f29,_0x44ad42,_0x107f52]=_0x1fdab0;return _0x4fdc01(_0x577f29),await _0x2f6177(_0x577f29,_0x44ad42,_0x107f52),_0x3ca81a;}catch{return!0x1;}function _0x4fdc01(_0x1bce75){const _0x5cf31d=_0x52a435(_0x1bce75);_0x5cf31d&&_0x5cf31d[_0x126c94([0x61,0x6c,0x67])]==_0x126c94([0x45,0x53,0x32,0x35,0x36])||(_0x3ca81a=!0x1);}async function _0x2f6177(_0xc476a2,_0x1cc4d2,_0x5cfc5a){const _0x46c281=window[_0x126c94([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x126c94([0x66,0x72,0x6f,0x6d])](_0x2120d9(_0x5cfc5a),_0x5d9ba2=>_0x5d9ba2[_0x126c94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fd242=new window[(_0x126c94([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x126c94([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc476a2+_0x126c94([0x2e])+_0x1cc4d2),_0x546807=window[_0x126c94([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x126c94([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x546807)return;const _0x31215e=await _0x546807[_0x126c94([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x126c94([0x6a,0x77,0x6b]),_0x2fe7ad,{[_0x126c94([0x6e,0x61,0x6d,0x65])]:_0x126c94([0x45,0x43,0x44,0x53,0x41]),[_0x126c94([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x126c94([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x126c94([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x546807[_0x126c94([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x126c94([0x6e,0x61,0x6d,0x65])]:_0x126c94([0x45,0x43,0x44,0x53,0x41]),[_0x126c94([0x68,0x61,0x73,0x68])]:{[_0x126c94([0x6e,0x61,0x6d,0x65])]:_0x126c94([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31215e,_0x46c281,_0x1fd242)||(_0x3ca81a=!0x1);}}function _0x52a435(_0x50c750){return _0x50c750[_0x126c94([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x126c94([0x65,0x79]))?JSON[_0x126c94([0x70,0x61,0x72,0x73,0x65])](_0x2120d9(_0x50c750)):null;}function _0x2120d9(_0x5beac6){return window[_0x126c94([0x61,0x74,0x6f,0x62])](_0x5beac6[_0x126c94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x126c94([0x2b]))[_0x126c94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x126c94([0x2f])));}function _0x196847(_0x195d32){let _0x6a8d6e=0x1505;function _0x8488b4(_0x45c755){for(let _0x4df4d6=0x0;_0x4df4d6<_0x45c755[_0x126c94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4df4d6++){const _0x1ac58d=_0x45c755[_0x126c94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4df4d6);_0x6a8d6e=(_0x6a8d6e<<0x5)+_0x6a8d6e+_0x1ac58d,_0x6a8d6e&=_0x6a8d6e;}}function _0x1573ca(_0x5b4ad6){Array[_0x126c94([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b4ad6)?_0x5b4ad6[_0x126c94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1573ca):_0x5b4ad6&&typeof _0x5b4ad6==_0x126c94([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x126c94([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b4ad6)[_0x126c94([0x73,0x6f,0x72,0x74])]()[_0x126c94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf0b419,_0x5ab7d9])=>{_0x8488b4(_0xf0b419),_0x1573ca(_0x5ab7d9);}):_0x8488b4(window[_0x126c94([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b4ad6));}return _0x1573ca(_0x195d32),_0x6a8d6e>>>0x0;}function _0x8a638b(_0xa6b41c){return _0xa6b41c[_0x126c94([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x126c94([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x126c94([0x30]));}function _0x3f4deb(_0x1fdec3){return _0x1fdec3[_0x126c94([0x73,0x70,0x6c,0x69,0x74])]('')[_0x126c94([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x126c94([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ada4d(){}function _0x126c94(_0x19a93a){const _0x1faf46=_0xc6e9;return _0x19a93a[_0x1faf46(0xea)](_0x1c9f1c=>String[_0x1faf46(0x103)](_0x1c9f1c))[_0x1faf46(0xa1)]('');}_0x420331(await _0x4db90b());}(this);}[_0x424078(0xd3)](){const _0x2eade6=_0x424078,_0x149de4=this[_0x2eade6(0x109)][_0x2eade6(0xb9)];_0x149de4[_0x2eade6(0xab)](_0x1747fc=>{const _0x5daf3b=_0x2eade6,_0x529cb6=_0x149de4[_0x5daf3b(0xd8)][_0x5daf3b(0xcf)][_0x5daf3b(0xae)]();let _0x5bbddd=0x0;for(const _0x4786ac of _0x529cb6){const _0x1de1a8=O+':'+_0x5bbddd;if(_0x149de4[_0x5daf3b(0x106)][_0x5daf3b(0xc3)](_0x1de1a8))_0x1747fc[_0x5daf3b(0xa9)](_0x1de1a8,{'range':_0x4786ac});else{if(_0x4786ac[_0x5daf3b(0xac)][_0x5daf3b(0xe4)]){const _0x4fa7d3=_0x4786ac[_0x5daf3b(0xac)][_0x5daf3b(0xfa)](({item:_0x32e2bb})=>!_0x149de4[_0x5daf3b(0xb1)][_0x5daf3b(0xe5)](_0x32e2bb),{'boundaries':_0x4786ac});_0x1747fc[_0x5daf3b(0xf2)](_0x1de1a8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1747fc[_0x5daf3b(0xdb)](_0x4fa7d3,_0x4786ac[_0x5daf3b(0xfb)])});}else _0x1747fc[_0x5daf3b(0xf2)](_0x1de1a8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4786ac});}_0x5bbddd++;}});}[_0x424078(0xe2)](){const _0xbc4e16=_0x424078,_0x128355=this[_0xbc4e16(0x109)][_0xbc4e16(0xb9)],_0x4980be=Array[_0xbc4e16(0xd5)](this[_0xbc4e16(0x109)][_0xbc4e16(0xb9)][_0xbc4e16(0x106)][_0xbc4e16(0xdd)](O));_0x4980be[_0xbc4e16(0xfe)]&&_0x128355[_0xbc4e16(0xab)](_0x444184=>{const _0x47a62d=_0xbc4e16;_0x4980be[_0x47a62d(0xbc)](_0x115dd9=>{const _0x2335bd=_0x47a62d;_0x444184[_0x2335bd(0xb5)](_0x115dd9);});});}[_0x424078(0xbe)](_0x55e1dd,_0x1c99cf){const _0x42d7bd=_0x424078,_0x76ff74=this[_0x42d7bd(0xfd)](),_0x154937=_0x1c99cf||_0x76ff74[_0x42d7bd(0xf6)]();this[_0x42d7bd(0x109)][_0x42d7bd(0xb9)][_0x42d7bd(0xfc)](_0x154937)&&this[_0x42d7bd(0x109)][_0x42d7bd(0xb9)][_0x42d7bd(0xab)](_0x344db5=>{const _0x4deb97=_0x42d7bd;this[_0x4deb97(0xe2)](),_0x1c99cf||this[_0x4deb97(0xf3)](_0x344db5,_0x76ff74),this[_0x4deb97(0xa4)]({'insertAt':_0x154937,'writer':_0x344db5,'html':_0x55e1dd});});}[_0x424078(0xdc)](_0x2e0980){const _0x17336e=_0x424078,{model:_0x451816}=this[_0x17336e(0x109)],_0x15c45d=this[_0x17336e(0xfd)]();_0x451816[_0x17336e(0xab)](()=>{const _0x3abef5=_0x17336e,_0x1ed915=this[_0x3abef5(0xc5)](_0x2e0980,_0x15c45d)||this[_0x3abef5(0xca)](_0x15c45d);this[_0x3abef5(0xbe)](_0x2e0980,_0x1ed915);});}[_0x424078(0xfd)](){const _0x285f24=_0x424078,_0x414b3a=this[_0x285f24(0x109)][_0x285f24(0xb9)],_0x2c9329=Array[_0x285f24(0xd5)](_0x414b3a[_0x285f24(0x106)][_0x285f24(0xdd)](O))[_0x285f24(0xea)](_0x5291bc=>_0x5291bc[_0x285f24(0xad)]());return _0x414b3a[_0x285f24(0xf5)](_0x2c9329);}[_0x424078(0xa4)]({writer:_0x27a856,html:_0x49a4b3,insertAt:_0x21eba0}){const _0x4fa82d=_0x424078,{view:_0x24090d}=this[_0x4fa82d(0x109)][_0x4fa82d(0xd6)],_0x447693=this[_0x4fa82d(0x109)][_0x4fa82d(0xd7)][_0x4fa82d(0xbd)](_0x329cab),_0x1f4582=new D();_0x1f4582[_0x4fa82d(0xa7)](_0x4fa82d(0x104),_0x49a4b3);const _0x1c233a=new ClipboardEvent(_0x4fa82d(0xc7),{'clipboardData':_0x1f4582}),_0x21b160=new _0x1ccf6f(_0x24090d,_0x1c233a,{'dataTransfer':new _0x3e7694(_0x1f4582)});_0x27a856[_0x4fa82d(0xc0)](_0x21eba0);const _0x340f6f=(_0x2a90b0,_0x5a4bb1)=>{const _0x4fa9b4=_0x4fa82d;_0x5a4bb1[_0x4fa9b4(0xc4)]&&_0x27a856[_0x4fa9b4(0xc0)](_0x5a4bb1[_0x4fa9b4(0xc4)]);};_0x447693[_0x4fa82d(0xc6)](_0x4fa82d(0xba),_0x340f6f,{'priority':_0x4fa82d(0xcd)}),_0x24090d[_0x4fa82d(0xd8)][_0x4fa82d(0xa2)](_0x4fa82d(0xc7),_0x21b160),_0x447693[_0x4fa82d(0x10a)](_0x4fa82d(0xba),_0x340f6f);}[_0x424078(0xca)](_0x2a0afc){const _0x3221d2=_0x424078,{model:_0x3fd8e9}=this[_0x3221d2(0x109)],_0x5de6ab=Array[_0x3221d2(0xd5)](_0x2a0afc[_0x3221d2(0x107)]());return _0x5de6ab[_0x3221d2(0xfe)]?_0x3fd8e9[_0x3221d2(0xb8)](_0x5de6ab[_0x3221d2(0xbf)]()):_0x2a0afc[_0x3221d2(0x102)]();}[_0x424078(0xc5)](_0x29bf2c,_0x2d9523){const _0x40e8a7=_0x424078,{model:_0x1325fd,plugins:_0x277f4b}=this[_0x40e8a7(0x109)];if(_0x277f4b[_0x40e8a7(0xc3)](_0x40e8a7(0x9f))){const _0x1763c3=_0x277f4b[_0x40e8a7(0xbd)](_0x40e8a7(0x9f))[_0x40e8a7(0xef)](_0x2d9523);if(_0x1763c3[_0x40e8a7(0xfe)]){const _0x37da5c=this[_0x40e8a7(0xc1)](_0x29bf2c),_0x2d9c23=this[_0x40e8a7(0xaf)](_0x1763c3,_0x37da5c);return _0x1325fd[_0x40e8a7(0xf8)](_0x2d9c23,0x0);}}return null;}[_0x424078(0xc1)](_0x37be57){const _0x57e3db=_0x424078,_0x598ee3=this[_0x57e3db(0x109)][_0x57e3db(0xd7)][_0x57e3db(0xbd)](_0x57e3db(0x9f)),_0x33a3f8=this[_0x57e3db(0x109)][_0x57e3db(0xe8)][_0x57e3db(0xf7)](_0x37be57),_0x45d5a9=Array[_0x57e3db(0xd5)](_0x33a3f8[_0x57e3db(0xdf)]())[_0x57e3db(0xe9)](_0x471139=>_0x471139['is'](_0x57e3db(0xd9),_0x57e3db(0xe3)));let _0x1bcb30=0x0;return _0x45d5a9[_0x57e3db(0xbc)](_0x2723bc=>{const _0x4254e7=_0x57e3db;_0x1bcb30+=_0x598ee3[_0x4254e7(0xe1)](_0x2723bc);}),_0x1bcb30;}[_0x424078(0xaf)](_0x3bac94,_0x5c19f0){const _0xcc8cf2=_0x424078,_0x3471f8=this[_0xcc8cf2(0x109)][_0xcc8cf2(0xd7)][_0xcc8cf2(0xbd)](_0xcc8cf2(0x9f)),_0x5f56b4=_0x3471f8[_0xcc8cf2(0xcb)](_0x3bac94),_0x313b86=_0x3471f8[_0xcc8cf2(0xcc)](_0x3bac94),_0x1a06f8=_0x5f56b4[_0xcc8cf2(0xd2)]+0x1,_0x28c90d=_0x313b86[_0xcc8cf2(0xb4)],_0x38f4d7=_0x3bac94[0x0][_0xcc8cf2(0xa8)](_0xcc8cf2(0xe3));for(let _0x44eb19=0x0;_0x44eb19<_0x5c19f0;_0x44eb19++)_0x3471f8[_0xcc8cf2(0x105)](_0x38f4d7,{'at':_0x1a06f8});return _0x38f4d7[_0xcc8cf2(0xe6)](_0x1a06f8)[_0xcc8cf2(0xe6)](_0x28c90d);}[_0x424078(0xf3)](_0x383d30,_0x593f7b){const _0x456f31=_0x424078,{plugins:_0x4cfc90}=this[_0x456f31(0x109)],{model:_0x37a76a}=_0x383d30;if(!_0x4cfc90[_0x456f31(0xc3)](_0x456f31(0x9f)))return;_0x4cfc90[_0x456f31(0xbd)](_0x456f31(0x9f))[_0x456f31(0xef)](_0x593f7b)[_0x456f31(0xfe)]&&_0x37a76a[_0x456f31(0xec)](_0x593f7b);}}
|
|
23
|
+
const _0xaacf7a=_0x1790;(function(_0x5cecb6,_0x270c31){const _0x239eec=_0x1790,_0x535215=_0x5cecb6();while(!![]){try{const _0x21f457=parseInt(_0x239eec(0x70))/0x1+parseInt(_0x239eec(0xa4))/0x2+parseInt(_0x239eec(0x94))/0x3+parseInt(_0x239eec(0xd6))/0x4*(parseInt(_0x239eec(0x92))/0x5)+parseInt(_0x239eec(0x8b))/0x6+-parseInt(_0x239eec(0x83))/0x7+-parseInt(_0x239eec(0x96))/0x8*(parseInt(_0x239eec(0xd4))/0x9);if(_0x21f457===_0x270c31)break;else _0x535215['push'](_0x535215['shift']());}catch(_0x495cdc){_0x535215['push'](_0x535215['shift']());}}}(_0x12be,0x6d6d8));import{uid as _0x489ab3}from'ckeditor5/src/utils.js';import{Plugin as _0x3350ff}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x12f2dc}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1695fa,ViewDataTransfer as _0x2ab642}from'ckeditor5/src/engine.js';function _0x12be(){const _0x3fcd0f=['last','_getAISelection','selection','afterInit','filter','createPositionAt','change','schema','removeMarker','findAncestor','editing','createUIElement','_getDefaultInsertBelowPosition','for','text/html','pluginName','model','ck-ai-assistant-ui_theme','element','ck-fake-ai-selection','getRange','getRows','getSelectedTableCells','createRange','updateMarker','_pasteHTMLUsingClipboard','table','AIAssistantEditing','showFakeVisualSelection','2007cSPZoA','getChildren','4eoBWEQ','has','map','plugins','parse','editor','forEach','156832aXdsaZ','markerToHighlight','init','getChild','hideFakeVisualSelection','DataTransfer','_prepareTableInsertBelowPosition','getLastMatchingPosition','ck-fake-ai-selection_collapsed','addMarker','get','getMarkersGroup','off','addClass','contentInsertion','start','_getTableRowCountFromContent','pop','span','1260525cqhpbm','createSelection','data','insertRows','ai-ui','insertContent','resultRange','canEditAt','1957284kEiMjh','TableUtils','createPositionAfter','deleteContent','lowest','_createEmptyTableRows','isPremiumPlugin','3919135CyOdbv','conversion','1440267RawnoZ','isAtEnd','64496RnUkaN','first','markers','fromCharCode','markerRange','ai.assistant.useTheme','getColumnIndexes','isOfficialPlugin','getFirstRange','end','once','config','href','join','1358310wGoRoW','markerToElement','document','length','getRanges','getRowIndexes','isContent','editingDowncast','_resetContentOfSelectedTableCells','from','paste','push','insertContentBelow','isCollapsed','getSelectedBlocks','setSelection','getLastPosition','fire','setData'];_0x12be=function(){return _0x3fcd0f;};return _0x12be();}const l=globalThis[_0xaacf7a(0x75)],w=_0xaacf7a(0x87);function _0x1790(_0x150803,_0x21bd0b){const _0x12be15=_0x12be();return _0x1790=function(_0x179066,_0x31316a){_0x179066=_0x179066-0x6f;let _0x42f021=_0x12be15[_0x179066];return _0x42f021;},_0x1790(_0x150803,_0x21bd0b);}export class AIAssistantEditing extends _0x3350ff{static get[_0xaacf7a(0xc6)](){const _0x5545ee=_0xaacf7a;return _0x5545ee(0xd2);}static get[_0xaacf7a(0x9d)](){return!0x0;}static get[_0xaacf7a(0x91)](){return!0x0;}[_0xaacf7a(0x72)](){const _0x56b8aa=_0xaacf7a,{editor:_0x2ba112}=this,_0xbca28a=[_0x56b8aa(0xca)];_0x2ba112[_0x56b8aa(0xa1)][_0x56b8aa(0x7a)](_0x56b8aa(0x9b))&&_0xbca28a[_0x56b8aa(0xaf)](_0x56b8aa(0xc8)),_0x2ba112[_0x56b8aa(0x93)][_0x56b8aa(0xc4)](_0x56b8aa(0xab))[_0x56b8aa(0x71)]({'model':w,'view':{'classes':_0xbca28a,'priority':0xc}}),_0x2ba112[_0x56b8aa(0x93)][_0x56b8aa(0xc4)](_0x56b8aa(0xab))[_0x56b8aa(0xa5)]({'model':w,'view':(_0x632437,{writer:_0x1f0109})=>{const _0x49ecdb=_0x56b8aa;if(!_0x632437[_0x49ecdb(0x9a)][_0x49ecdb(0xb1)])return null;const _0x370ca2=_0x1f0109[_0x49ecdb(0xc2)](_0x49ecdb(0x82));return _0x1f0109[_0x49ecdb(0x7d)]([_0x49ecdb(0xca),_0x49ecdb(0x78)],_0x370ca2),_0x370ca2;}});}[_0xaacf7a(0xba)](){!async function(_0x4a7da6){const _0x5abb61=_0x3467bb([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]),_0x396303=0x3dffc4e1,_0x22777b=0x3df8b099^_0x396303,_0x439d4a=window[_0x3467bb([0x44,0x61,0x74,0x65])][_0x3467bb([0x6e,0x6f,0x77])](),_0x1af4e3=_0x4a7da6[_0x3467bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fe656=new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0e56=>{_0x1af4e3[_0x3467bb([0x6f,0x6e,0x63,0x65])](_0x3467bb([0x72,0x65,0x61,0x64,0x79]),_0x2f0e56);}),_0x2cff10={[_0x3467bb([0x6b,0x74,0x79])]:_0x3467bb([0x45,0x43]),[_0x3467bb([0x75,0x73,0x65])]:_0x3467bb([0x73,0x69,0x67]),[_0x3467bb([0x63,0x72,0x76])]:_0x3467bb([0x50,0x2d,0x32,0x35,0x36]),[_0x3467bb([0x78])]:_0x3467bb([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]),[_0x3467bb([0x79])]:_0x3467bb([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]),[_0x3467bb([0x61,0x6c,0x67])]:_0x3467bb([0x45,0x53,0x32,0x35,0x36])},_0x243b54=_0x1af4e3[_0x3467bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3467bb([0x67,0x65,0x74])](_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x267b55(){let _0x326448,_0x153b92=null,_0x517681=null;try{if(_0x243b54==_0x3467bb([0x47,0x50,0x4c]))return _0x3467bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x326448=_0x20144f(),!_0x326448)return _0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x326448[_0x3467bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x517681=_0x28b2d6(_0x326448[_0x3467bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x326448[_0x3467bb([0x6a,0x74,0x69])])),await _0x336989()?_0x4d13f1()?_0x5ec6b7()?_0x3467bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x360b1a()?(_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3467bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x153b92=_0xe30778(_0x3467bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3467bb([0x74,0x72,0x69,0x61,0x6c])&&(_0x153b92=_0xe30778(_0x3467bb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x208e14()):_0x3467bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3467bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ec6b7(){const _0x1a20d9=[_0x3467bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3467bb([0x74,0x72,0x69,0x61,0x6c])][_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x439d4a/0x3e8:0xe10*_0x22777b;return _0x326448[_0x3467bb([0x65,0x78,0x70])]<_0x1a20d9;}function _0x4d13f1(){const _0x52e346=_0x326448[_0x3467bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52e346&&(!!_0x52e346[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x2a]))||!!_0x52e346[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x41,0x49])));}function _0x360b1a(){const _0x5263b0=_0x1790,_0x7626ab=_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7626ab||0x0==_0x7626ab[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4742f1}=new URL(window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5263b0(0xa2)]);if(_0x7626ab[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4742f1))return!0x0;const _0x3f061d=_0x4742f1[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e]));return _0x7626ab[_0x3467bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x453a09=>_0x453a09[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x2a])))[_0x3467bb([0x6d,0x61,0x70])](_0x3ac8ae=>_0x3ac8ae[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e])))[_0x3467bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ec437=>_0x1ec437[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f061d[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3467bb([0x6d,0x61,0x70])](_0x15d025=>Array(_0x3f061d[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15d025[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3467bb([0x66,0x69,0x6c,0x6c])](_0x15d025[0x0]===_0x3467bb([0x2a])?_0x3467bb([0x2a]):'')[_0x3467bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15d025))[_0x3467bb([0x73,0x6f,0x6d,0x65])](_0x4e6ece=>_0x3f061d[_0x3467bb([0x65,0x76,0x65,0x72,0x79])]((_0xbb8b53,_0x3cb14f)=>_0x4e6ece[_0x3cb14f]===_0xbb8b53||_0x4e6ece[_0x3cb14f]===_0x3467bb([0x2a])));}function _0x208e14(){return _0x153b92&&_0x517681?new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14ee5c,_0x6c6934)=>{_0x153b92[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x14ee5c,_0x6c6934),_0x517681[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x41818a=>{_0x41818a!=_0x3467bb([0x56,0x61,0x6c,0x69,0x64])&&_0x14ee5c(_0x41818a);},_0x6c6934);}):_0x153b92||_0x517681||_0x3467bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28b2d6(_0x5a2936,_0x27cad9){return new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49960a=>{if(_0x42661e())return _0x49960a(_0x3467bb([0x56,0x61,0x6c,0x69,0x64]));_0x3c4419(),_0x1af4e3[_0x3467bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31d139=!0x1;const _0x5d9c5b=_0x489ab3();function _0x43a2e0(_0x3d76ec){return!!_0x3d76ec&&(typeof _0x3d76ec===_0x3467bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d76ec===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d76ec[_0x3467bb([0x74,0x68,0x65,0x6e])]===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d76ec[_0x3467bb([0x63,0x61,0x74,0x63,0x68])]===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f6e7a(_0x210768){_0x13f3d6(_0x210768)[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x2e50c0=>{if(!_0x2e50c0||_0x2e50c0[_0x3467bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3467bb([0x6f,0x6b]))return _0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x201d54(_0x45d25f(_0x5d9c5b+_0x27cad9))!=_0x2e50c0[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3467bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x397f76=>(_0x56318a(),_0x397f76),()=>{const _0x5d7642=_0x3c1616();return null==_0x5d7642?(_0x56318a(),_0x3467bb([0x56,0x61,0x6c,0x69,0x64])):_0x3467bb(_0x439d4a-_0x5d7642>(0x19f340e1^_0x396303)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x49960a)[_0x3467bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56cd55=0x3dc92a61^_0x396303;function _0x56318a(){const _0x9798c6=_0x3467bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x201d54(_0x45d25f(_0x5a2936)),_0x3f0063=_0x4481d4(_0x201d54(window[_0x3467bb([0x4d,0x61,0x74,0x68])][_0x3467bb([0x63,0x65,0x69,0x6c])](_0x439d4a/_0x56cd55)));window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3467bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9798c6,_0x3f0063);}function _0x3c1616(){const _0x76bc72=_0x3467bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x201d54(_0x45d25f(_0x5a2936)),_0x48ca83=window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3467bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x76bc72);return _0x48ca83?window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4481d4(_0x48ca83),0x10)*_0x56cd55:null;}function _0x13f3d6(_0x1b7fc7){return new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a5794,_0x131cc6)=>{_0x1b7fc7[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x4a5794,_0x131cc6),window[_0x3467bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x131cc6,0x3dfe1021^_0x396303);});}}_0x1af4e3[_0x3467bb([0x6f,0x6e])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x419dc4,_0x1f14f6)=>{if(_0x1f14f6[0x0]!=_0x5a2936)return _0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f14f6[0x1]={..._0x1f14f6[0x1],[_0x3467bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d9c5b};},{[_0x3467bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3467bb([0x68,0x69,0x67,0x68])}),_0x1af4e3[_0x3467bb([0x6f,0x6e])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19456b=>{_0x43a2e0(_0x19456b[_0x3467bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31d139=!0x0,_0x1f6e7a(_0x19456b[_0x3467bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3467bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3467bb([0x6c,0x6f,0x77])}),_0x3fe656[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>{_0x31d139||_0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42661e(){return _0x1af4e3[_0x3467bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3467bb([0x76,0x69,0x65,0x77])][_0x3467bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3467bb([0x61,0x75,0x74,0x6f]);}function _0x3c4419(){_0x1af4e3[_0x3467bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3467bb([0x76,0x69,0x65,0x77])][_0x3467bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3467bb([0x61,0x75,0x74,0x6f]);}}function _0xe30778(_0x2e4c7a){const _0x106e81=[new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3686c6=>setTimeout(_0x3686c6,0x3df6fa2d^_0x396303)),_0x3fe656[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269e05=>{let _0xc472=0x0;_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x6f,0x6e])](_0x3467bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x197e19,_0x263810)=>{_0x263810[0x0][_0x3467bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc472++,_0xc472==(0x3dffc519^_0x396303)&&(_0x269e05(),_0x197e19[_0x3467bb([0x6f,0x66,0x66])]());});}))];return window[_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3467bb([0x72,0x61,0x63,0x65])](_0x106e81)[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>_0x2e4c7a);}async function _0x27a1d1(){await _0x3fe656,_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2261bb,_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2261bb,_0x1af4e3[_0x3467bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dc586(_0x384a0b){const _0x1fde40=_0x5e1265();_0x1af4e3[_0x1fde40]=_0x3467bb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x384a0b,_0x384a0b!=_0x3467bb([0x56,0x61,0x6c,0x69,0x64])&&_0x27a1d1();}function _0x5e1265(){const _0x3fe8c6=window[_0x3467bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3467bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3467bb([0x6e,0x6f,0x77])]())[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3467bb([0x2e]),'');let _0x29e15f=_0x3467bb([0x6e]);for(let _0x97b32e=0x0;_0x97b32e<_0x3fe8c6[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x97b32e+=0x2){let _0x22ef22=window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe8c6[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x97b32e,_0x97b32e+0x2));_0x22ef22>=_0x5abb61[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22ef22-=_0x5abb61[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29e15f+=_0x5abb61[_0x22ef22];}return _0x29e15f;}function _0x20144f(){const _0x89816a=_0x243b54[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e]));if(0x3!=_0x89816a[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29ec70(_0x89816a[0x1]);function _0x29ec70(_0x133a13){const _0x1e9dce=_0x18532f(_0x133a13);return _0x1e9dce&&_0x1f08ab()?_0x1e9dce:null;function _0x1f08ab(){const _0x5dee04=_0x1e9dce[_0x3467bb([0x6a,0x74,0x69])],_0x70c92=window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dee04[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dee04[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30479d={..._0x1e9dce,[_0x3467bb([0x6a,0x74,0x69])]:_0x5dee04[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dee04[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30479d[_0x3467bb([0x76,0x63])],_0x45d25f(_0x30479d)==_0x70c92;}}}async function _0x336989(){let _0x1b7da0=!0x0;try{const _0x1a9e1e=_0x243b54[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e])),[_0x3dab70,_0x4c047f,_0x4127f0]=_0x1a9e1e;return _0x450f5c(_0x3dab70),await _0x112c7d(_0x3dab70,_0x4c047f,_0x4127f0),_0x1b7da0;}catch{return!0x1;}function _0x450f5c(_0x5aa569){const _0x435ea8=_0x18532f(_0x5aa569);_0x435ea8&&_0x435ea8[_0x3467bb([0x61,0x6c,0x67])]==_0x3467bb([0x45,0x53,0x32,0x35,0x36])||(_0x1b7da0=!0x1);}async function _0x112c7d(_0x23a26c,_0x4d5251,_0x7b2db2){const _0x1b8138=window[_0x3467bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3467bb([0x66,0x72,0x6f,0x6d])](_0x541964(_0x7b2db2),_0x5b4f16=>_0x5b4f16[_0x3467bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bb750=new window[(_0x3467bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3467bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23a26c+_0x3467bb([0x2e])+_0x4d5251),_0x4bf92b=window[_0x3467bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3467bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bf92b)return;const _0x4b31c1=await _0x4bf92b[_0x3467bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3467bb([0x6a,0x77,0x6b]),_0x2cff10,{[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x45,0x43,0x44,0x53,0x41]),[_0x3467bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3467bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bf92b[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x45,0x43,0x44,0x53,0x41]),[_0x3467bb([0x68,0x61,0x73,0x68])]:{[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b31c1,_0x1b8138,_0x4bb750)||(_0x1b7da0=!0x1);}}function _0x18532f(_0x32c573){return _0x32c573[_0x3467bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3467bb([0x65,0x79]))?JSON[_0x3467bb([0x70,0x61,0x72,0x73,0x65])](_0x541964(_0x32c573)):null;}function _0x541964(_0x7ebcf8){return window[_0x3467bb([0x61,0x74,0x6f,0x62])](_0x7ebcf8[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3467bb([0x2b]))[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3467bb([0x2f])));}function _0x45d25f(_0x28b8d0){let _0x139ca6=0x1505;function _0xc7edf8(_0x588cde){for(let _0x53583c=0x0;_0x53583c<_0x588cde[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53583c++){const _0x3c49b0=_0x588cde[_0x3467bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53583c);_0x139ca6=(_0x139ca6<<0x5)+_0x139ca6+_0x3c49b0,_0x139ca6&=_0x139ca6;}}function _0x28b4b9(_0x109628){Array[_0x3467bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x109628)?_0x109628[_0x3467bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28b4b9):_0x109628&&typeof _0x109628==_0x3467bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3467bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x109628)[_0x3467bb([0x73,0x6f,0x72,0x74])]()[_0x3467bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e9347,_0x291397])=>{_0xc7edf8(_0x5e9347),_0x28b4b9(_0x291397);}):_0xc7edf8(window[_0x3467bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x109628));}return _0x28b4b9(_0x28b8d0),_0x139ca6>>>0x0;}function _0x201d54(_0x2fc6b9){return _0x2fc6b9[_0x3467bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3467bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3467bb([0x30]));}function _0x4481d4(_0x1960e5){return _0x1960e5[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3467bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3467bb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2261bb(){}function _0x3467bb(_0x5ed3cd){const _0x3e84b2=_0x1790;return _0x5ed3cd[_0x3e84b2(0xd8)](_0x5d6313=>String[_0x3e84b2(0x99)](_0x5d6313))[_0x3e84b2(0xa3)]('');}_0x3dc586(await _0x267b55());}(this);}[_0xaacf7a(0xd3)](){const _0x4aedda=_0xaacf7a,_0x4ddf51=this[_0x4aedda(0xdb)][_0x4aedda(0xc7)];_0x4ddf51[_0x4aedda(0xbd)](_0x263824=>{const _0x192635=_0x4aedda,_0x2e5b9f=_0x4ddf51[_0x192635(0xa6)][_0x192635(0xb9)][_0x192635(0xa8)]();let _0x55d6a3=0x0;for(const _0x32c6ac of _0x2e5b9f){const _0x25d4e5=w+':'+_0x55d6a3;if(_0x4ddf51[_0x192635(0x98)][_0x192635(0xd7)](_0x25d4e5))_0x263824[_0x192635(0xcf)](_0x25d4e5,{'range':_0x32c6ac});else{if(_0x32c6ac[_0x192635(0x7f)][_0x192635(0x95)]){const _0x4db622=_0x32c6ac[_0x192635(0x7f)][_0x192635(0x77)](({item:_0x5534a2})=>!_0x4ddf51[_0x192635(0xbe)][_0x192635(0xaa)](_0x5534a2),{'boundaries':_0x32c6ac});_0x263824[_0x192635(0x79)](_0x25d4e5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x263824[_0x192635(0xce)](_0x4db622,_0x32c6ac[_0x192635(0x9f)])});}else _0x263824[_0x192635(0x79)](_0x25d4e5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x32c6ac});}_0x55d6a3++;}});}[_0xaacf7a(0x74)](){const _0x1eb923=_0xaacf7a,_0xe36d89=this[_0x1eb923(0xdb)][_0x1eb923(0xc7)],_0x4c5fd4=Array[_0x1eb923(0xad)](this[_0x1eb923(0xdb)][_0x1eb923(0xc7)][_0x1eb923(0x98)][_0x1eb923(0x7b)](w));_0x4c5fd4[_0x1eb923(0xa7)]&&_0xe36d89[_0x1eb923(0xbd)](_0x17e29e=>{const _0x28d837=_0x1eb923;_0x4c5fd4[_0x28d837(0x6f)](_0x230ae3=>{const _0x20ef78=_0x28d837;_0x17e29e[_0x20ef78(0xbf)](_0x230ae3);});});}[_0xaacf7a(0x88)](_0xdc72a2,_0x30a858){const _0x742f25=_0xaacf7a,_0x1ffa35=this[_0x742f25(0xb8)](),_0x5320bd=_0x30a858||_0x1ffa35[_0x742f25(0x9e)]();this[_0x742f25(0xdb)][_0x742f25(0xc7)][_0x742f25(0x8a)](_0x5320bd)&&this[_0x742f25(0xdb)][_0x742f25(0xc7)][_0x742f25(0xbd)](_0x45ed47=>{const _0x57e443=_0x742f25;this[_0x57e443(0x74)](),_0x30a858||this[_0x57e443(0xac)](_0x45ed47,_0x1ffa35),this[_0x57e443(0xd0)]({'insertAt':_0x5320bd,'writer':_0x45ed47,'html':_0xdc72a2});});}[_0xaacf7a(0xb0)](_0x1848a2){const _0x16ebd1=_0xaacf7a,{model:_0x550449}=this[_0x16ebd1(0xdb)],_0x3a8f39=this[_0x16ebd1(0xb8)]();_0x550449[_0x16ebd1(0xbd)](()=>{const _0x482b94=_0x16ebd1,_0x62d397=this[_0x482b94(0x76)](_0x1848a2,_0x3a8f39)||this[_0x482b94(0xc3)](_0x3a8f39);this[_0x482b94(0x88)](_0x1848a2,_0x62d397);});}[_0xaacf7a(0xb8)](){const _0x9b6e8e=_0xaacf7a,_0x135925=this[_0x9b6e8e(0xdb)][_0x9b6e8e(0xc7)],_0x42b2b9=Array[_0x9b6e8e(0xad)](_0x135925[_0x9b6e8e(0x98)][_0x9b6e8e(0x7b)](w))[_0x9b6e8e(0xd8)](_0xb41fdb=>_0xb41fdb[_0x9b6e8e(0xcb)]());return _0x135925[_0x9b6e8e(0x84)](_0x42b2b9);}[_0xaacf7a(0xd0)]({writer:_0x51b329,html:_0x2805d8,insertAt:_0x490d0f}){const _0x3b9c61=_0xaacf7a,{view:_0x363dcd}=this[_0x3b9c61(0xdb)][_0x3b9c61(0xc1)],_0x501cf6=this[_0x3b9c61(0xdb)][_0x3b9c61(0xd9)][_0x3b9c61(0x7a)](_0x12f2dc),_0x3f243b=new l();_0x3f243b[_0x3b9c61(0xb6)](_0x3b9c61(0xc5),_0x2805d8);const _0x45f41a=new ClipboardEvent(_0x3b9c61(0xae),{'clipboardData':_0x3f243b}),_0x43eb06=new _0x1695fa(_0x363dcd,_0x45f41a,{'dataTransfer':new _0x2ab642(_0x3f243b)});_0x51b329[_0x3b9c61(0xb3)](_0x490d0f);const _0x118eef=(_0x14b756,_0x33303b)=>{const _0x5dd117=_0x3b9c61;_0x33303b[_0x5dd117(0x89)]&&_0x51b329[_0x5dd117(0xb3)](_0x33303b[_0x5dd117(0x89)]);};_0x501cf6[_0x3b9c61(0xa0)](_0x3b9c61(0x7e),_0x118eef,{'priority':_0x3b9c61(0x8f)}),_0x363dcd[_0x3b9c61(0xa6)][_0x3b9c61(0xb5)](_0x3b9c61(0xae),_0x43eb06),_0x501cf6[_0x3b9c61(0x7c)](_0x3b9c61(0x7e),_0x118eef);}[_0xaacf7a(0xc3)](_0x3115a5){const _0x518c0d=_0xaacf7a,{model:_0x9aed07}=this[_0x518c0d(0xdb)],_0x312665=Array[_0x518c0d(0xad)](_0x3115a5[_0x518c0d(0xb2)]());return _0x312665[_0x518c0d(0xa7)]?_0x9aed07[_0x518c0d(0x8d)](_0x312665[_0x518c0d(0x81)]()):_0x3115a5[_0x518c0d(0xb4)]();}[_0xaacf7a(0x76)](_0x3a667f,_0x3bfb11){const _0x11d70c=_0xaacf7a,{model:_0x2515ad,plugins:_0x2b0e82}=this[_0x11d70c(0xdb)];if(_0x2b0e82[_0x11d70c(0xd7)](_0x11d70c(0x8c))){const _0x306c22=_0x2b0e82[_0x11d70c(0x7a)](_0x11d70c(0x8c))[_0x11d70c(0xcd)](_0x3bfb11);if(_0x306c22[_0x11d70c(0xa7)]){const _0x2a2abd=this[_0x11d70c(0x80)](_0x3a667f),_0x4bd60b=this[_0x11d70c(0x90)](_0x306c22,_0x2a2abd);return _0x2515ad[_0x11d70c(0xbc)](_0x4bd60b,0x0);}}return null;}[_0xaacf7a(0x80)](_0x5848bb){const _0x8d1513=_0xaacf7a,_0x3aac4f=this[_0x8d1513(0xdb)][_0x8d1513(0xd9)][_0x8d1513(0x7a)](_0x8d1513(0x8c)),_0x233eec=this[_0x8d1513(0xdb)][_0x8d1513(0x85)][_0x8d1513(0xda)](_0x5848bb),_0x532705=Array[_0x8d1513(0xad)](_0x233eec[_0x8d1513(0xd5)]())[_0x8d1513(0xbb)](_0x3abeb5=>_0x3abeb5['is'](_0x8d1513(0xc9),_0x8d1513(0xd1)));let _0x160788=0x0;return _0x532705[_0x8d1513(0x6f)](_0x252c2b=>{const _0x37e326=_0x8d1513;_0x160788+=_0x3aac4f[_0x37e326(0xcc)](_0x252c2b);}),_0x160788;}[_0xaacf7a(0x90)](_0x33ea7d,_0x1692b8){const _0x26c0d6=_0xaacf7a,_0x85eeda=this[_0x26c0d6(0xdb)][_0x26c0d6(0xd9)][_0x26c0d6(0x7a)](_0x26c0d6(0x8c)),_0x1b95e9=_0x85eeda[_0x26c0d6(0xa9)](_0x33ea7d),_0x195b52=_0x85eeda[_0x26c0d6(0x9c)](_0x33ea7d),_0x362aec=_0x1b95e9[_0x26c0d6(0xb7)]+0x1,_0x25597d=_0x195b52[_0x26c0d6(0x97)],_0x2ad9dc=_0x33ea7d[0x0][_0x26c0d6(0xc0)](_0x26c0d6(0xd1));for(let _0x1bfe1c=0x0;_0x1bfe1c<_0x1692b8;_0x1bfe1c++)_0x85eeda[_0x26c0d6(0x86)](_0x2ad9dc,{'at':_0x362aec});return _0x2ad9dc[_0x26c0d6(0x73)](_0x362aec)[_0x26c0d6(0x73)](_0x25597d);}[_0xaacf7a(0xac)](_0x5cd37f,_0x78f407){const _0x47448e=_0xaacf7a,{plugins:_0xb54d47}=this[_0x47448e(0xdb)],{model:_0x3d866c}=_0x5cd37f;if(!_0xb54d47[_0x47448e(0xd7)](_0x47448e(0x8c)))return;_0xb54d47[_0x47448e(0x7a)](_0x47448e(0x8c))[_0x47448e(0xcd)](_0x78f407)[_0x47448e(0xa7)]&&_0x3d866c[_0x47448e(0x8e)](_0x78f407);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9db610=_0x293d;(function(_0x32d71c,_0x335b9b){const _0x4817db=_0x293d,_0x424a36=_0x32d71c();while(!![]){try{const _0xc1e242=parseInt(_0x4817db(0xe6))/0x1+-parseInt(_0x4817db(0x12b))/0x2+-parseInt(_0x4817db(0x143))/0x3+parseInt(_0x4817db(0xc3))/0x4+-parseInt(_0x4817db(0x134))/0x5*(-parseInt(_0x4817db(0xbb))/0x6)+-parseInt(_0x4817db(0xc7))/0x7*(parseInt(_0x4817db(0xf9))/0x8)+parseInt(_0x4817db(0xb5))/0x9*(parseInt(_0x4817db(0xb4))/0xa);if(_0xc1e242===_0x335b9b)break;else _0x424a36['push'](_0x424a36['shift']());}catch(_0x4b95ee){_0x424a36['push'](_0x424a36['shift']());}}}(_0x2d30,0x9c2a9));function _0x2d30(){const _0x597ae6=['_showLicenseError','isOn','setSelection','_getMenuBarGroupButtons','schema','AI\x20Assistant','getLimitElement','source','config','requires','menuBar:aiAssistant','requiresContent','selection','execute','128iJaIeM','pluginName','ck-ai-assistant-ui','children','contentArea','AIAssistant','<p>','_dialog','document','show','from','_getResolvedCommandsDefinitions','aiCommands','ai.assistant.contentAreaCssClass','menuView','_aiAdapter','splice','AI\x20is\x20writing','promptView','set','editing','licenseKey','isCollapsed','map','isPremiumPlugin','isFlat','aiLicenseKeyExpired','prompt','forEach','_licenseKeyCheckInterval','AIAssistantUI','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','_forceMarkersCopy','currentContext','AI\x20Commands','aiLicenseKeyUsageLimit','aiLicenseKeyTrialLimit','media','_populateMenuBarMenu','view','change:isError','aiLicenseKeyEvaluationLimit','command:','push','Generated\x20content:\x20%0','ai.assistant.commands','menuPanelClass','locale','length','904006TBqOSq','commands','panelView','aiLicenseKeyInvalid','tableOfContents','expired','editor','usageLimit','REPLACE','5TgaPHL','includes','reset','add','define','ck-ai-assistant-button\x20','text/html','ai.assistant.disabledElements','polite','hide','queryView','items','showAIAssistant','replaceContent','isOfficialPlugin','3126642fQZFZY','\x20ck-ai-assistant-ui_theme','change:enabledCommandsIds','EDITOR_TOP_SIDE','sort','getSelectedBlocks','updatePosition','insertContentBelow','body','update','aiLicenseKeyNotAllowed','bind','_commandDefinitions','menuBar:aiCommands','hideUI','domainLimit','showUI','model','ai.assistant.useTheme','_createAIAssistantUIButton','replace','</p>','fire','DataTransfer','_initAriaAiStatusChangeAnnouncements','render','wasMoved','announce','comment','_aiAssistantController','filter','getSelectedElement','destroy','40WFWzzM','1995831bKpLgz','text','rawHtml','_uiCssClasses','order','featureNotAllowed','4183266iYvQrq','INSERT','change','groupId','aiLicenseKeyDomainLimit','ck-ai-commands-dropdown\x20','errorView','once','3130432htYBBM','custom','addMany','menuitemcheckbox','397502KkUOKK','listenTo','focus','showFakeVisualSelection','ai-commands-config-order-collision','trialLimit','isEnabled','label','_onExecute','init','invalid','delegate','getData','componentFactory','values','getRanges','aiAssistant','textAdapter','enabledCommandsIds','hideFakeVisualSelection','buttonView','aiLicenseKeyValid','fieldView','trim','insertContent','groupLabel','buttons','change:value','updateView','copy','change:isProcessing','675595HuKULK','_initView','get','evaluationLimit','plugins'];_0x2d30=function(){return _0x597ae6;};return _0x2d30();}import{Plugin as _0x83829b}from'ckeditor5/src/core.js';import{IconMagicWand as _0x5e689c,IconRobotPencil as _0x2f7e43}from'ckeditor5/src/icons.js';import{first as _0x4a2642,CKEditorError as _0x2c48b7}from'ckeditor5/src/utils.js';import{createDropdown as _0x27042c,addMenuToDropdown as _0x50cd2e,ButtonView as _0x160fce,MenuBarMenuListItemButtonView as _0x31e1aa,Dialog as _0x123943,DialogViewPosition as _0x4394be,MenuBarMenuView as _0x5d56b4,MenuBarMenuListView as _0x3b42fb,MenuBarMenuListItemView as _0xb4ef28}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4f0037,UNGROUPED_COMMANDS_GROUP_ID as _0x3b53e3}from'./utils/normalizecommandsconfig.js';function _0x293d(_0x4722c5,_0x5c343f){const _0x2d30bd=_0x2d30();return _0x293d=function(_0x293d91,_0x553976){_0x293d91=_0x293d91-0x9c;let _0x563150=_0x2d30bd[_0x293d91];return _0x563150;},_0x293d(_0x4722c5,_0x5c343f);}import{AIAssistantEditing as _0x3a98ea}from'./aiassistantediting.js';import{AIAdapter as _0x3e17e3}from'./adapters/aiadapter.js';import{getTranslation as _0x4f1a7f}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x192c9d}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0xe6df2f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x464f10}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x472fa6}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const D=globalThis[_0x9db610(0xaa)];import{ClipboardMarkersUtils as _0xeaadb4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4cb9cb,ViewDataTransfer as _0x5a423e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x83829b{[_0x9db610(0x10e)];[_0x9db610(0x116)];[_0x9db610(0x100)];[_0x9db610(0x118)];[_0x9db610(0x108)];[_0x9db610(0xb0)];[_0x9db610(0xb8)]='';static get[_0x9db610(0xfa)](){const _0x5f976c=_0x9db610;return _0x5f976c(0x117);}static get[_0x9db610(0x142)](){return!0x0;}static get[_0x9db610(0x111)](){return!0x0;}static get[_0x9db610(0xf4)](){return[_0xeaadb4,_0x3a98ea,_0x3e17e3,_0x123943];}constructor(_0x2b1450){const _0x212ca3=_0x9db610;super(_0x2b1450),_0x2b1450[_0x212ca3(0xf3)][_0x212ca3(0x138)](_0x212ca3(0x13b),[_0x212ca3(0x11f),_0x212ca3(0xb7),_0x212ca3(0x12f)]),_0x2b1450[_0x212ca3(0xf3)][_0x212ca3(0x138)](_0x212ca3(0x106),''),_0x2b1450[_0x212ca3(0xf3)][_0x212ca3(0x138)](_0x212ca3(0xa5),!0x0),this[_0x212ca3(0xb8)]=_0x212ca3(0xfb)+(_0x2b1450[_0x212ca3(0xf3)][_0x212ca3(0xe8)](_0x212ca3(0xa5))?_0x212ca3(0x144):'');}[_0x9db610(0xd0)](){const _0x4bccf4=_0x9db610,{editor:_0x5acd21}=this;this[_0x4bccf4(0x108)]=_0x5acd21[_0x4bccf4(0xea)][_0x4bccf4(0xe8)](_0x3e17e3),this[_0x4bccf4(0x100)]=_0x5acd21[_0x4bccf4(0xea)][_0x4bccf4(0xe8)](_0x123943),this[_0x4bccf4(0x118)]=null,this[_0x4bccf4(0x9f)]=this[_0x4bccf4(0x104)]();const _0x1d80d7=new _0x192c9d(_0x5acd21,Array[_0x4bccf4(0x103)](this[_0x4bccf4(0x9f)][_0x4bccf4(0xd5)]()));_0x5acd21[_0x4bccf4(0x12c)][_0x4bccf4(0x137)](_0x4bccf4(0x140),_0x1d80d7),_0x5acd21['ui'][_0x4bccf4(0xd4)][_0x4bccf4(0x137)](_0x4bccf4(0x105),_0x3c8024=>{const _0x26c2f5=_0x4bccf4,_0x461128=_0x27042c(_0x3c8024);return _0x461128[_0x26c2f5(0x10c)]({'class':_0x26c2f5(0xc0)+this[_0x26c2f5(0xb8)]}),_0x461128[_0x26c2f5(0xdb)][_0x26c2f5(0x10c)]({'label':_0x4f1a7f(_0x3c8024,_0x26c2f5(0x11c)),'icon':_0x5e689c,'tooltip':!0x0}),_0x461128['on'](_0x26c2f5(0xf8),_0x418565=>this[_0x26c2f5(0xcf)](_0x418565[_0x26c2f5(0xf2)]['id'])),_0x50cd2e(_0x461128,_0x5acd21['ui'][_0x26c2f5(0x121)][_0x26c2f5(0x14b)],function(_0x30ac06){const _0x40d1cc=_0x26c2f5,_0x146d28=_0x4f0037(_0x30ac06[_0x40d1cc(0xf3)][_0x40d1cc(0xe8)](_0x40d1cc(0x127)),_0x30ac06[_0x40d1cc(0x129)]),_0x5df1db=Q(_0x30ac06,_0x146d28)[_0x40d1cc(0xb1)](_0x1c0ea6=>_0x1c0ea6[_0x40d1cc(0x12c)][_0x40d1cc(0x12a)]);if(0x1===_0x5df1db[_0x40d1cc(0x12a)])return Q(_0x30ac06,_0x5df1db[0x0][_0x40d1cc(0x12c)])[_0x40d1cc(0x110)](_0x5976e7=>({'id':_0x5976e7['id'],'label':_0x5976e7[_0x40d1cc(0xce)]}));return _0x5df1db[_0x40d1cc(0x110)](_0x31fa40=>{const _0x32e3ec=_0x40d1cc,{groupId:_0x1e8089,groupLabel:_0x30222c,commands:_0x2818c3}=_0x31fa40,_0x37bc8f=Q(_0x30ac06,_0x2818c3)[_0x32e3ec(0x110)](_0x2dc5af=>({'id':_0x2dc5af['id'],'label':_0x2dc5af[_0x32e3ec(0xce)]}));return{'id':_0x1e8089,'menu':_0x30222c||_0x1e8089,'children':_0x37bc8f};});}(_0x5acd21),{'ariaLabel':_0x4f1a7f(_0x3c8024,_0x26c2f5(0x11c))}),_0x461128[_0x26c2f5(0x107)][_0x26c2f5(0x128)]=_0x26c2f5(0xc0)+this[_0x26c2f5(0xb8)],_0x1d80d7['on'](_0x26c2f5(0x145),_0x3c34cf),_0x461128[_0x26c2f5(0x107)][_0x26c2f5(0xc2)](_0x26c2f5(0xac),_0x3c34cf),_0x461128;function _0x3c34cf(){const _0x23a19a=_0x26c2f5;_0x461128[_0x23a19a(0xcd)]=_0x1d80d7[_0x23a19a(0xd9)][_0x23a19a(0x12a)]>0x0;for(const _0x2d7eb6 of _0x461128[_0x23a19a(0x107)][_0x23a19a(0xe1)])_0x2d7eb6[_0x23a19a(0xcd)]=_0x1d80d7[_0x23a19a(0xd9)][_0x23a19a(0x135)](_0x2d7eb6['id']);}}),_0x5acd21['ui'][_0x4bccf4(0xd4)][_0x4bccf4(0x137)](_0x4bccf4(0xa0),_0x1f071f=>{const _0x42a7eb=_0x4bccf4,_0x17ca4f=new _0x5d56b4(_0x1f071f);_0x17ca4f[_0x42a7eb(0xdb)][_0x42a7eb(0x10c)]({'label':_0x4f1a7f(_0x1f071f,_0x42a7eb(0x11c)),'icon':_0x5e689c}),_0x17ca4f[_0x42a7eb(0x9e)](_0x42a7eb(0xcd))['to'](_0x1d80d7,_0x42a7eb(0xd9),_0x59d74b=>_0x59d74b[_0x42a7eb(0x12a)]>0x0);const _0x367d2b=_0x4f0037(_0x5acd21[_0x42a7eb(0xf3)][_0x42a7eb(0xe8)](_0x42a7eb(0x127)),_0x1f071f);return this[_0x42a7eb(0x120)](_0x1d80d7,_0x17ca4f,_0x367d2b,_0x416f0f=>this[_0x42a7eb(0xcf)](_0x416f0f)),_0x17ca4f;}),_0x5acd21['ui'][_0x4bccf4(0xd4)][_0x4bccf4(0x137)](_0x4bccf4(0xd7),()=>{const _0x2c5cb3=_0x4bccf4,_0x20d486=this[_0x2c5cb3(0xa6)](_0x160fce);return _0x20d486[_0x2c5cb3(0x10c)]({'tooltip':!0x0,'class':_0x2c5cb3(0x139)+this[_0x2c5cb3(0xb8)]}),_0x20d486;}),_0x5acd21['ui'][_0x4bccf4(0xd4)][_0x4bccf4(0x137)](_0x4bccf4(0xf5),()=>{const _0x47d331=_0x4bccf4,_0x2c6f40=this[_0x47d331(0xa6)](_0x31e1aa);return _0x2c6f40[_0x47d331(0x10c)]({'role':_0x47d331(0xc6)}),_0x2c6f40;}),this[_0x4bccf4(0x10e)]=this[_0x4bccf4(0x131)][_0x4bccf4(0xf3)][_0x4bccf4(0xe8)](_0x4bccf4(0x10e));const _0x348a6d=this[_0x4bccf4(0x131)];this[_0x4bccf4(0x116)]=setInterval(()=>{const _0x67c64c=_0x4bccf4;let _0x1397de;for(const _0x20d1bd in _0x348a6d){const _0xccff7e=_0x20d1bd,_0x30621e=_0x348a6d[_0xccff7e];if(_0x67c64c(0xdc)==_0x30621e||_0x67c64c(0x12e)==_0x30621e||_0x67c64c(0x113)==_0x30621e||_0x67c64c(0xbf)==_0x30621e||_0x67c64c(0x9d)==_0x30621e||_0x67c64c(0x123)==_0x30621e||_0x67c64c(0x11e)==_0x30621e||_0x67c64c(0x11d)==_0x30621e){delete _0x348a6d[_0xccff7e],_0x1397de=_0x30621e,clearInterval(this[_0x67c64c(0x116)]),this[_0x67c64c(0x116)]=void 0x0;break;}}_0x67c64c(0x12e)==_0x1397de&&_0x348a6d[_0x67c64c(0xeb)](_0x67c64c(0xd1)),_0x67c64c(0x113)==_0x1397de&&_0x348a6d[_0x67c64c(0xeb)](_0x67c64c(0x130)),_0x67c64c(0xbf)==_0x1397de&&_0x348a6d[_0x67c64c(0xeb)](_0x67c64c(0xa2)),_0x67c64c(0x9d)==_0x1397de&&_0x348a6d[_0x67c64c(0xeb)](_0x67c64c(0xba),_0x67c64c(0xfe)),_0x67c64c(0x123)==_0x1397de&&_0x348a6d[_0x67c64c(0xeb)](_0x67c64c(0xe9)),_0x67c64c(0x11e)==_0x1397de&&_0x348a6d[_0x67c64c(0xeb)](_0x67c64c(0xcc)),_0x67c64c(0x11d)==_0x1397de&&_0x348a6d[_0x67c64c(0xeb)](_0x67c64c(0x132));},0x3e8);}[_0x9db610(0xb3)](){const _0x2b5c57=_0x9db610;super[_0x2b5c57(0xb3)](),this[_0x2b5c57(0x116)]&&clearInterval(this[_0x2b5c57(0x116)]);}[_0x9db610(0xa3)](_0x39a82d='',_0xaac19a='',_0xd23f0f=_0x9db610(0xc4)){const _0x186a4d=_0x9db610,_0x5ec535=this[_0x186a4d(0x131)],_0x1678e5=_0x5ec535[_0x186a4d(0x10d)][_0x186a4d(0x121)],_0x472600=_0x5ec535[_0x186a4d(0xea)][_0x186a4d(0xe8)](_0x3a98ea),_0x6f568b=_0x5ec535[_0x186a4d(0xea)][_0x186a4d(0xe8)](_0xeaadb4);_0x472600[_0x186a4d(0xca)]();const _0x194440=new D(),_0x31be43=new ClipboardEvent(_0x186a4d(0xe4),{'clipboardData':_0x194440}),_0x5c47c8=new _0x5a423e(_0x194440),_0x4d6e15=new _0x4cb9cb(_0x1678e5,_0x31be43,{'dataTransfer':_0x5c47c8});_0x6f568b[_0x186a4d(0x11a)](_0x186a4d(0xaf),()=>{const _0x3c0a0a=_0x186a4d;_0x1678e5[_0x3c0a0a(0x101)][_0x3c0a0a(0xa9)](_0x3c0a0a(0xe4),_0x4d6e15);}),this[_0x186a4d(0x118)]||(this[_0x186a4d(0xe7)](),this[_0x186a4d(0xb0)]=new _0xe6df2f(_0x5ec535,this[_0x186a4d(0x108)][_0x186a4d(0xd8)],this[_0x186a4d(0x118)]));let _0x30c56f=_0x5c47c8[_0x186a4d(0xd3)](_0x186a4d(0x13a));const _0x51a9af=_0x5ec535[_0x186a4d(0xa4)][_0x186a4d(0x101)][_0x186a4d(0xf7)],_0x4dd161=Array[_0x186a4d(0x103)](_0x51a9af[_0x186a4d(0xd6)]());0x1===_0x4dd161[_0x186a4d(0x12a)]&&_0x4dd161[0x0][_0x186a4d(0x112)]&&!_0x51a9af[_0x186a4d(0xb2)]()&&''!==_0x30c56f[_0x186a4d(0xa7)](/ /g,'')[_0x186a4d(0xde)]()&&(_0x30c56f=_0x186a4d(0xff)+_0x30c56f+_0x186a4d(0xa8)),this[_0x186a4d(0xb0)][_0x186a4d(0xe3)]({'actionId':_0xd23f0f,'query':_0x39a82d,'htmlContent':_0x30c56f,'label':_0xaac19a,'mainActionLabel':_0x472fa6[_0x5ec535[_0x186a4d(0xa4)][_0x186a4d(0x101)][_0x186a4d(0xf7)][_0x186a4d(0x10f)]?_0x186a4d(0xbc):_0x186a4d(0x133)]}),_0x186a4d(0xd7)!==this[_0x186a4d(0x100)]['id']?this[_0x186a4d(0x100)][_0x186a4d(0x102)]({'id':_0x186a4d(0xd7),'icon':_0x2f7e43,'title':_0x4f1a7f(this[_0x186a4d(0x131)][_0x186a4d(0x129)],_0x186a4d(0xf0)),'content':this[_0x186a4d(0x118)],'position':_0x4394be[_0x186a4d(0x146)],'onShow':()=>{const _0x4f219f=_0x186a4d;this[_0x4f219f(0x118)][_0x4f219f(0xc9)]();},'onHide':()=>{const _0x5a14f2=_0x186a4d;this[_0x5a14f2(0xb0)][_0x5a14f2(0x136)](),_0x472600[_0x5a14f2(0xda)]();}}):this[_0x186a4d(0x100)][_0x186a4d(0x121)][_0x186a4d(0xad)]||this[_0x186a4d(0x100)][_0x186a4d(0x121)][_0x186a4d(0x149)]();}[_0x9db610(0xa1)](){const _0x376a47=_0x9db610;this[_0x376a47(0x100)][_0x376a47(0x13d)]();}[_0x9db610(0x104)](){const _0x5f143b=_0x9db610,_0x23b2f6=new Map(),_0x230302=_0x4f0037(this[_0x5f143b(0x131)][_0x5f143b(0xf3)][_0x5f143b(0xe8)](_0x5f143b(0x127)),this[_0x5f143b(0x131)][_0x5f143b(0x129)]);for(const _0x2aae7d of _0x230302)for(const _0x3dd3eb of _0x2aae7d[_0x5f143b(0x12c)])_0x23b2f6[_0x5f143b(0x10c)](_0x3dd3eb['id'],{..._0x3dd3eb,'groupId':_0x2aae7d[_0x5f143b(0xbe)],'groupLabel':_0x2aae7d[_0x5f143b(0xe0)]||_0x2aae7d[_0x5f143b(0xbe)]});return _0x23b2f6;}[_0x9db610(0xa6)](_0x1a72da){const _0x5898c8=_0x9db610,_0x135208=this[_0x5898c8(0x131)],_0x12391d=_0x135208[_0x5898c8(0x12c)][_0x5898c8(0xe8)](_0x5898c8(0x140)),_0x4b5a28=new _0x1a72da(_0x135208[_0x5898c8(0x129)]);return _0x4b5a28[_0x5898c8(0x10c)]({'label':_0x4f1a7f(_0x135208[_0x5898c8(0x129)],_0x5898c8(0xf0)),'icon':_0x2f7e43,'isToggleable':!0x0}),_0x4b5a28[_0x5898c8(0x9e)](_0x5898c8(0xcd))['to'](_0x12391d),_0x4b5a28[_0x5898c8(0x9e)](_0x5898c8(0xec))['to'](this[_0x5898c8(0x100)],'id',_0x22d03e=>_0x5898c8(0xd7)===_0x22d03e),this[_0x5898c8(0xc8)](_0x4b5a28,_0x5898c8(0xf8),()=>{const _0x4c5be2=_0x5898c8;_0x4b5a28[_0x4c5be2(0xec)]?this[_0x4c5be2(0xa1)]():_0x12391d[_0x4c5be2(0xf8)]();}),_0x4b5a28;}[_0x9db610(0xe7)](){const _0x755965=_0x9db610,_0x474eff=this[_0x755965(0x131)][_0x755965(0xea)][_0x755965(0xe8)](_0x3a98ea);this[_0x755965(0x118)]=new _0x464f10(this[_0x755965(0x131)][_0x755965(0x129)],this[_0x755965(0xb8)],this[_0x755965(0x131)][_0x755965(0xf3)][_0x755965(0xe8)](_0x755965(0x106))),this[_0x755965(0x118)]['on'](_0x755965(0xe2),()=>{const _0x4ddb88=_0x755965;this[_0x4ddb88(0x100)][_0x4ddb88(0x121)][_0x4ddb88(0xad)]||this[_0x4ddb88(0x100)][_0x4ddb88(0x121)][_0x4ddb88(0x149)]();}),this[_0x755965(0x118)][_0x755965(0x10b)][_0x755965(0x13e)][_0x755965(0xdd)]['on'](_0x755965(0x9c),()=>{const _0x31ea52=_0x755965;this[_0x31ea52(0x100)][_0x31ea52(0x121)][_0x31ea52(0xad)]||this[_0x31ea52(0x100)][_0x31ea52(0x121)][_0x31ea52(0x149)]();}),this[_0x755965(0xc8)](this[_0x755965(0x118)],_0x755965(0x141),()=>{const _0x4a9099=_0x755965;_0x474eff[_0x4a9099(0xdf)](this[_0x4a9099(0xb0)][_0x4a9099(0x11b)]),this[_0x4a9099(0xa1)]();}),this[_0x755965(0xc8)](this[_0x755965(0x118)],_0x755965(0x14a),()=>{const _0x25cab4=_0x755965;_0x474eff[_0x25cab4(0x14a)](this[_0x25cab4(0xb0)][_0x25cab4(0x11b)]),this[_0x25cab4(0xa1)]();}),this[_0x755965(0xab)]();}[_0x9db610(0xab)](){const _0x1b8a3d=_0x9db610,{locale:_0x1e6e63,ui:{ariaLiveAnnouncer:_0x162837}}=this[_0x1b8a3d(0x131)];this[_0x1b8a3d(0x118)][_0x1b8a3d(0xfd)]['on'](_0x1b8a3d(0xe5),(_0x1c0e1a,_0x30fda1,_0x395a8d)=>{const _0xe92138=_0x1b8a3d,_0x4d383c=this[_0xe92138(0xb0)][_0xe92138(0x11b)];_0x395a8d?_0x162837[_0xe92138(0xae)](_0x4f1a7f(_0x1e6e63,_0xe92138(0x10a))):_0x4d383c&&_0x162837[_0xe92138(0xae)](_0x4f1a7f(_0x1e6e63,_0xe92138(0x126),_0x4d383c),{'politeness':_0xe92138(0x13c),'isUnsafeHTML':!0x0});}),this[_0x1b8a3d(0x118)]['on'](_0x1b8a3d(0x122),(_0x11e899,_0xdd87c7,_0x298389)=>{const _0x4e050c=_0x1b8a3d;if(_0x298389){const _0x3d5b87=this[_0x4e050c(0x118)][_0x4e050c(0xc1)][_0x4e050c(0xb6)];_0x162837[_0x4e050c(0xae)](_0x4f1a7f(_0x1e6e63,_0x4e050c(0x119),_0x3d5b87));}});}[_0x9db610(0xcf)](_0x19d852){const _0x1f8e82=_0x9db610,_0x214c61=this[_0x1f8e82(0x9f)][_0x1f8e82(0xe8)](_0x19d852),_0x12de80=this[_0x1f8e82(0x131)],_0x282ffa=_0x12de80[_0x1f8e82(0xa4)][_0x1f8e82(0x101)][_0x1f8e82(0xf7)],_0x3b5db0=_0x12de80[_0x1f8e82(0x12c)][_0x1f8e82(0xe8)](_0x1f8e82(0x140)),_0x23cd19=_0x12de80[_0x1f8e82(0xea)][_0x1f8e82(0xe8)](_0x3a98ea),_0x31cf73=''+(_0x214c61[_0x1f8e82(0xbe)]!==_0x3b53e3?_0x214c61[_0x1f8e82(0xe0)]+':\x20':'')+_0x214c61[_0x1f8e82(0xce)];if(!0x1!==_0x214c61[_0x1f8e82(0xf6)]&&_0x282ffa[_0x1f8e82(0x10f)]){const _0x180f22=_0x4a2642(_0x282ffa[_0x1f8e82(0x148)]())||_0x12de80[_0x1f8e82(0xa4)][_0x1f8e82(0xef)][_0x1f8e82(0xf1)](_0x282ffa);_0x12de80[_0x1f8e82(0xa4)][_0x1f8e82(0xbd)](_0x2debfd=>{const _0x4c804c=_0x1f8e82;_0x2debfd[_0x4c804c(0xed)](_0x180f22,'in');});}_0x23cd19[_0x1f8e82(0xca)](),_0x3b5db0[_0x1f8e82(0xf8)](_0x214c61[_0x1f8e82(0x114)],_0x31cf73,_0x1f8e82(0x124)+_0x19d852);}[_0x9db610(0x120)](_0xd1cfeb,_0x3e7e61,_0xa45a19,_0x3d3090){const _0x1f49dd=_0x9db610,_0x508a54=this[_0x1f49dd(0x131)],_0x4d35bd=_0x508a54[_0x1f49dd(0x129)],_0x5e9af5=new _0x3b42fb(_0x4d35bd),_0xf72182=Q(_0x508a54,_0xa45a19)[_0x1f49dd(0xb1)](_0x74689a=>_0x74689a[_0x1f49dd(0x12c)][_0x1f49dd(0x12a)]);0x1===_0xf72182[_0x1f49dd(0x12a)]?this[_0x1f49dd(0xee)]({'command':_0xd1cfeb,'commands':_0xf72182[0x0][_0x1f49dd(0x12c)],'parentMenuView':_0x3e7e61,'onExecute':_0x3d3090})[_0x1f49dd(0x115)](_0x182a51=>_0x5e9af5[_0x1f49dd(0x13f)][_0x1f49dd(0x137)](_0x182a51)):_0xf72182[_0x1f49dd(0x115)](({groupId:_0x4cd4d1,groupLabel:_0x122f64,commands:_0x1c0d08})=>{const _0x42b471=_0x1f49dd,_0xd87a40=new _0xb4ef28(_0x4d35bd,_0x3e7e61),_0x403c13=new _0x5d56b4(_0x4d35bd),_0x48bc47=new _0x3b42fb(_0x4d35bd),_0x2cc3d7=this[_0x42b471(0xee)]({'command':_0xd1cfeb,'commands':_0x1c0d08,'parentMenuView':_0x403c13,'onExecute':_0x3d3090});_0x403c13[_0x42b471(0xdb)][_0x42b471(0x10c)]({'label':_0x122f64||_0x4cd4d1}),_0x403c13[_0x42b471(0xd2)](_0x42b471(0xf8))['to'](_0x3e7e61),_0x48bc47[_0x42b471(0x13f)][_0x42b471(0xc5)](_0x2cc3d7),_0x403c13[_0x42b471(0x12d)][_0x42b471(0xfc)][_0x42b471(0x137)](_0x48bc47),_0xd87a40[_0x42b471(0xfc)][_0x42b471(0x137)](_0x403c13),_0x5e9af5[_0x42b471(0x13f)][_0x42b471(0x137)](_0xd87a40);}),_0x3e7e61[_0x1f49dd(0x12d)][_0x1f49dd(0xfc)][_0x1f49dd(0x137)](_0x5e9af5);}[_0x9db610(0xee)]({command:_0x201327,commands:_0x43cc01,parentMenuView:_0x5ddccb,onExecute:_0x835ae6}){const _0x48fdf3=_0x9db610,_0x122694=this[_0x48fdf3(0x131)],_0x336c9a=_0x122694[_0x48fdf3(0x129)];return Q(_0x122694,_0x43cc01)[_0x48fdf3(0x110)](_0x42d897=>{const _0x3c1a70=_0x48fdf3,_0x281bba=new _0xb4ef28(_0x336c9a,_0x5ddccb),_0x111ee5=new _0x31e1aa(_0x336c9a);return _0x111ee5[_0x3c1a70(0x10c)]({'label':_0x42d897[_0x3c1a70(0xce)]}),_0x111ee5[_0x3c1a70(0xd2)](_0x3c1a70(0xf8))['to'](_0x5ddccb),_0x111ee5['on'](_0x3c1a70(0xf8),()=>_0x835ae6(_0x42d897['id'])),_0x111ee5[_0x3c1a70(0x9e)](_0x3c1a70(0xcd))['to'](_0x201327,_0x3c1a70(0xd9),_0x5ed3af=>_0x5ed3af[_0x3c1a70(0x135)](_0x42d897['id'])),_0x281bba[_0x3c1a70(0xfc)][_0x3c1a70(0x137)](_0x111ee5),_0x281bba;});}}function J(_0x48ed5d,_0x4698e6){const _0x49470d=_0x9db610;return void 0x0!==_0x48ed5d[_0x49470d(0xb9)]&&void 0x0===_0x4698e6[_0x49470d(0xb9)]?0x1:void 0x0===_0x48ed5d[_0x49470d(0xb9)]&&void 0x0!==_0x4698e6[_0x49470d(0xb9)]?-0x1:void 0x0!==_0x48ed5d[_0x49470d(0xb9)]&&void 0x0!==_0x4698e6[_0x49470d(0xb9)]?_0x48ed5d[_0x49470d(0xb9)]-_0x4698e6[_0x49470d(0xb9)]:0x0;}function Q(_0x37ed26,_0x58644c){const _0x525783=_0x9db610;_0x58644c[_0x525783(0x147)](J);const _0x9d43d8={},_0x2a481a=[];for(const _0x5bf1a9 of _0x58644c)if(void 0x0!==_0x5bf1a9[_0x525783(0xb9)]){if(_0x5bf1a9[_0x525783(0xb9)]in _0x9d43d8)throw new _0x2c48b7(_0x525783(0xcb),_0x37ed26,{'conflictingDefinitions':[_0x5bf1a9,_0x9d43d8[_0x5bf1a9[_0x525783(0xb9)]]]});_0x9d43d8[_0x5bf1a9[_0x525783(0xb9)]]=_0x5bf1a9,_0x2a481a[_0x525783(0x109)](_0x5bf1a9[_0x525783(0xb9)],0x0,_0x5bf1a9);}else _0x2a481a[_0x525783(0x125)](_0x5bf1a9);return _0x2a481a;}
|
|
23
|
+
function _0x55eb(_0x3d1c85,_0x2d869d){const _0x3a8cf7=_0x3a8c();return _0x55eb=function(_0x55eb67,_0x301b56){_0x55eb67=_0x55eb67-0x1b1;let _0x1888d3=_0x3a8cf7[_0x55eb67];return _0x1888d3;},_0x55eb(_0x3d1c85,_0x2d869d);}const _0xed0db0=_0x55eb;(function(_0x426bbd,_0x54529f){const _0x4f317a=_0x55eb,_0x3c1db9=_0x426bbd();while(!![]){try{const _0x3865a1=-parseInt(_0x4f317a(0x1c9))/0x1+-parseInt(_0x4f317a(0x206))/0x2*(-parseInt(_0x4f317a(0x225))/0x3)+-parseInt(_0x4f317a(0x1de))/0x4+parseInt(_0x4f317a(0x1c7))/0x5+-parseInt(_0x4f317a(0x1ba))/0x6*(parseInt(_0x4f317a(0x236))/0x7)+parseInt(_0x4f317a(0x1f0))/0x8+-parseInt(_0x4f317a(0x242))/0x9*(-parseInt(_0x4f317a(0x20a))/0xa);if(_0x3865a1===_0x54529f)break;else _0x3c1db9['push'](_0x3c1db9['shift']());}catch(_0x4ecafd){_0x3c1db9['push'](_0x3c1db9['shift']());}}}(_0x3a8c,0x8eeb7));import{Plugin as _0x4c9783}from'ckeditor5/src/core.js';import{IconMagicWand as _0xfce511,IconRobotPencil as _0x2b6e2b}from'ckeditor5/src/icons.js';import{first as _0x133307,CKEditorError as _0x44dbf3}from'ckeditor5/src/utils.js';import{createDropdown as _0x65eaee,addMenuToDropdown as _0x2cfd02,ButtonView as _0x4e217a,MenuBarMenuListItemButtonView as _0x3c03f4,Dialog as _0x4fb2dd,DialogViewPosition as _0xca2be2,MenuBarMenuView as _0x1a6e2f,MenuBarMenuListView as _0x484258,MenuBarMenuListItemView as _0xb8f339}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x45dc8c,UNGROUPED_COMMANDS_GROUP_ID as _0x32d7ff}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5d827e}from'./aiassistantediting.js';import{AIAdapter as _0x2de7e7}from'./adapters/aiadapter.js';import{getTranslation as _0x467e65}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x26443c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x343221}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x5a3b7f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2a4a9a}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x3a8c(){const _0xb055bf=['aiLicenseKeyExpired','ai-commands-config-order-collision','_createAIAssistantUIButton','replaceContent','textAdapter','media','getRanges','REPLACE','featureNotAllowed','aiLicenseKeyUsageLimit','queryView','ck-ai-commands-dropdown\x20','18IkmBsl','updateView','aiLicenseKeyNotAllowed','expired','4220TFzAgP','_populateMenuBarMenu','comment','AI\x20Commands','plugins','define','domainLimit','_getMenuBarGroupButtons','editing','custom','aiCommands','_onExecute','schema','forEach','evaluationLimit','add','isCollapsed','selection','_aiAdapter','rawHtml','getSelectedElement','fire','_commandDefinitions','aiAssistant','\x20ck-ai-assistant-ui_theme','listenTo','aiLicenseKeyValid','30900SzIneH','DataTransfer','Error\x20during\x20AI\x20content\x20generation:\x20%0','model','delegate','hideUI','updatePosition','requiresContent','ai.assistant.disabledElements','_aiAssistantController','change','ai.assistant.commands','enabledCommandsIds','locale','panelView','menuitemcheckbox','AI\x20Assistant','2429wOBLdw','groupLabel','tableOfContents','menuBar:aiCommands','getSelectedBlocks','menuView','buttons','Generated\x20content:\x20%0','groupId','_uiCssClasses','polite','ai.assistant.useTheme','16479HlqmTU','isPremiumPlugin','showFakeVisualSelection','_showLicenseError','body','ck-ai-assistant-ui','fieldView','addMany','aiLicenseKeyDomainLimit','label','</p>','menuBar:aiAssistant','insertContentBelow','includes','items','_licenseKeyCheckInterval','editor','isOn','errorView','values','getLimitElement','AI\x20is\x20writing','<p>','_initView','hide','ai.assistant.contentAreaCssClass','prompt','source','length','change:value','splice','trim','change:isError','filter','destroy','buttonView','_forceMarkersCopy','children','aiLicenseKeyInvalid','commands','12222XeLGtr','currentContext','isFlat','push','showUI','get','_getResolvedCommandsDefinitions','init','setSelection','wasMoved','reset','order','requires','2004020NQTvHF','ck-ai-assistant-button\x20','438610DsSRBz','_initAriaAiStatusChangeAnnouncements','document','isEnabled','showAIAssistant','hideFakeVisualSelection','_formView','replace','command:','getData','AIAssistantUI','sort','view','invalid','_dialog','licenseKey','AIAssistant','text/html','EDITOR_TOP_SIDE','text','show','2082644qWmRaD','isOfficialPlugin','execute','INSERT','change:isProcessing','aiLicenseKeyEvaluationLimit','change:enabledCommandsIds','insertContent','contentArea','render','bind','componentFactory','trialLimit','set','focus','map','aiLicenseKeyTrialLimit','announce','7882584aeFRIe','from','update','copy','once','pluginName','menuPanelClass','config','promptView','usageLimit'];_0x3a8c=function(){return _0xb055bf;};return _0x3a8c();}const l=globalThis[_0xed0db0(0x226)];import{ClipboardMarkersUtils as _0x31938b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3afc2f,ViewDataTransfer as _0x29b9d9}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4c9783{[_0xed0db0(0x1d8)];[_0xed0db0(0x251)];[_0xed0db0(0x1d7)];[_0xed0db0(0x1cf)];[_0xed0db0(0x21c)];[_0xed0db0(0x22e)];[_0xed0db0(0x23f)]='';static get[_0xed0db0(0x1f5)](){const _0x1ec584=_0xed0db0;return _0x1ec584(0x1d3);}static get[_0xed0db0(0x1df)](){return!0x0;}static get[_0xed0db0(0x243)](){return!0x0;}static get[_0xed0db0(0x1c6)](){return[_0x31938b,_0x5d827e,_0x2de7e7,_0x4fb2dd];}constructor(_0x22a2ba){const _0x7f21c1=_0xed0db0;super(_0x22a2ba),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x22d),[_0x7f21c1(0x1ff),_0x7f21c1(0x21d),_0x7f21c1(0x238)]),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x25b),''),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x241),!0x0),this[_0x7f21c1(0x23f)]=_0x7f21c1(0x247)+(_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x1bf)](_0x7f21c1(0x241))?_0x7f21c1(0x222):'');}[_0xed0db0(0x1c1)](){const _0x2ce207=_0xed0db0,{editor:_0x3905db}=this;this[_0x2ce207(0x21c)]=_0x3905db[_0x2ce207(0x20e)][_0x2ce207(0x1bf)](_0x2de7e7),this[_0x2ce207(0x1d7)]=_0x3905db[_0x2ce207(0x20e)][_0x2ce207(0x1bf)](_0x4fb2dd),this[_0x2ce207(0x1cf)]=null,this[_0x2ce207(0x220)]=this[_0x2ce207(0x1c0)]();const _0x5223e5=new _0x26443c(_0x3905db,Array[_0x2ce207(0x1f1)](this[_0x2ce207(0x220)][_0x2ce207(0x255)]()));_0x3905db[_0x2ce207(0x1b9)][_0x2ce207(0x219)](_0x2ce207(0x1cd),_0x5223e5),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x214),_0x3e8bd5=>{const _0x25e00d=_0x2ce207,_0x835816=_0x65eaee(_0x3e8bd5);return _0x835816[_0x25e00d(0x1eb)]({'class':_0x25e00d(0x205)+this[_0x25e00d(0x23f)]}),_0x835816[_0x25e00d(0x1b5)][_0x25e00d(0x1eb)]({'label':_0x467e65(_0x3e8bd5,_0x25e00d(0x20d)),'icon':_0xfce511,'tooltip':!0x0}),_0x835816['on'](_0x25e00d(0x1e0),_0x3e906f=>this[_0x25e00d(0x215)](_0x3e906f[_0x25e00d(0x25d)]['id'])),_0x2cfd02(_0x835816,_0x3905db['ui'][_0x25e00d(0x1d5)][_0x25e00d(0x246)],function(_0x27dba6){const _0x441aad=_0x25e00d,_0x282690=_0x45dc8c(_0x27dba6[_0x441aad(0x1f7)][_0x441aad(0x1bf)](_0x441aad(0x230)),_0x27dba6[_0x441aad(0x232)]),_0x3f3b83=U(_0x27dba6,_0x282690)[_0x441aad(0x1b3)](_0x4f5ecb=>_0x4f5ecb[_0x441aad(0x1b9)][_0x441aad(0x25e)]);if(0x1===_0x3f3b83[_0x441aad(0x25e)])return U(_0x27dba6,_0x3f3b83[0x0][_0x441aad(0x1b9)])[_0x441aad(0x1ed)](_0x5f1879=>({'id':_0x5f1879['id'],'label':_0x5f1879[_0x441aad(0x24b)]}));return _0x3f3b83[_0x441aad(0x1ed)](_0x2d8ca4=>{const _0x1a0a06=_0x441aad,{groupId:_0x1f47cf,groupLabel:_0x5d69c2,commands:_0x5e1210}=_0x2d8ca4,_0x273bcb=U(_0x27dba6,_0x5e1210)[_0x1a0a06(0x1ed)](_0x1565dc=>({'id':_0x1565dc['id'],'label':_0x1565dc[_0x1a0a06(0x24b)]}));return{'id':_0x1f47cf,'menu':_0x5d69c2||_0x1f47cf,'children':_0x273bcb};});}(_0x3905db),{'ariaLabel':_0x467e65(_0x3e8bd5,_0x25e00d(0x20d))}),_0x835816[_0x25e00d(0x23b)][_0x25e00d(0x1f6)]=_0x25e00d(0x205)+this[_0x25e00d(0x23f)],_0x5223e5['on'](_0x25e00d(0x1e4),_0x2f9f42),_0x835816[_0x25e00d(0x23b)][_0x25e00d(0x1f4)](_0x25e00d(0x1e7),_0x2f9f42),_0x835816;function _0x2f9f42(){const _0x2a96c5=_0x25e00d;_0x835816[_0x2a96c5(0x1cc)]=_0x5223e5[_0x2a96c5(0x231)][_0x2a96c5(0x25e)]>0x0;for(const _0x13266a of _0x835816[_0x2a96c5(0x23b)][_0x2a96c5(0x23c)])_0x13266a[_0x2a96c5(0x1cc)]=_0x5223e5[_0x2a96c5(0x231)][_0x2a96c5(0x24f)](_0x13266a['id']);}}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x239),_0x25058f=>{const _0x5752e7=_0x2ce207,_0x30933c=new _0x1a6e2f(_0x25058f);_0x30933c[_0x5752e7(0x1b5)][_0x5752e7(0x1eb)]({'label':_0x467e65(_0x25058f,_0x5752e7(0x20d)),'icon':_0xfce511}),_0x30933c[_0x5752e7(0x1e8)](_0x5752e7(0x1cc))['to'](_0x5223e5,_0x5752e7(0x231),_0x52ac5e=>_0x52ac5e[_0x5752e7(0x25e)]>0x0);const _0x5d4868=_0x45dc8c(_0x3905db[_0x5752e7(0x1f7)][_0x5752e7(0x1bf)](_0x5752e7(0x230)),_0x25058f);return this[_0x5752e7(0x20b)](_0x5223e5,_0x30933c,_0x5d4868,_0x58286b=>this[_0x5752e7(0x215)](_0x58286b)),_0x30933c;}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x221),()=>{const _0x5e6a7b=_0x2ce207,_0x498c45=this[_0x5e6a7b(0x1fc)](_0x4e217a);return _0x498c45[_0x5e6a7b(0x1eb)]({'tooltip':!0x0,'class':_0x5e6a7b(0x1c8)+this[_0x5e6a7b(0x23f)]}),_0x498c45;}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x24d),()=>{const _0x52fbfe=_0x2ce207,_0x6d9d2b=this[_0x52fbfe(0x1fc)](_0x3c03f4);return _0x6d9d2b[_0x52fbfe(0x1eb)]({'role':_0x52fbfe(0x234)}),_0x6d9d2b;}),this[_0x2ce207(0x1d8)]=this[_0x2ce207(0x252)][_0x2ce207(0x1f7)][_0x2ce207(0x1bf)](_0x2ce207(0x1d8));const _0x2c9206=this[_0x2ce207(0x252)];this[_0x2ce207(0x251)]=setInterval(()=>{const _0x5a1b95=_0x2ce207;let _0x2d47cd;for(const _0x33517 in _0x2c9206){const _0xc7ae2e=_0x33517,_0x476a1e=_0x2c9206[_0xc7ae2e];if(_0x5a1b95(0x224)==_0x476a1e||_0x5a1b95(0x1b8)==_0x476a1e||_0x5a1b95(0x1fa)==_0x476a1e||_0x5a1b95(0x24a)==_0x476a1e||_0x5a1b95(0x208)==_0x476a1e||_0x5a1b95(0x1e3)==_0x476a1e||_0x5a1b95(0x1ee)==_0x476a1e||_0x5a1b95(0x203)==_0x476a1e){delete _0x2c9206[_0xc7ae2e],_0x2d47cd=_0x476a1e,clearInterval(this[_0x5a1b95(0x251)]),this[_0x5a1b95(0x251)]=void 0x0;break;}}_0x5a1b95(0x1b8)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1d6)),_0x5a1b95(0x1fa)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x209)),_0x5a1b95(0x24a)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x210)),_0x5a1b95(0x208)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x202),_0x5a1b95(0x1d9)),_0x5a1b95(0x1e3)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x218)),_0x5a1b95(0x1ee)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1ea)),_0x5a1b95(0x203)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1f9));},0x3e8);}[_0xed0db0(0x1b4)](){const _0x157a39=_0xed0db0;super[_0x157a39(0x1b4)](),this[_0x157a39(0x251)]&&clearInterval(this[_0x157a39(0x251)]);}[_0xed0db0(0x1be)](_0xfb2dfc='',_0x597559='',_0x287d00=_0xed0db0(0x213)){const _0x156939=_0xed0db0,_0x4f562f=this[_0x156939(0x252)],_0x104918=_0x4f562f[_0x156939(0x212)][_0x156939(0x1d5)],_0x53ab7b=_0x4f562f[_0x156939(0x20e)][_0x156939(0x1bf)](_0x5d827e),_0x48152c=_0x4f562f[_0x156939(0x20e)][_0x156939(0x1bf)](_0x31938b);_0x53ab7b[_0x156939(0x244)]();const _0x2834ac=new l(),_0x1d5dbf=new ClipboardEvent(_0x156939(0x1f3),{'clipboardData':_0x2834ac}),_0x9edefe=new _0x29b9d9(_0x2834ac),_0x57539b=new _0x3afc2f(_0x104918,_0x1d5dbf,{'dataTransfer':_0x9edefe});_0x48152c[_0x156939(0x1b6)](_0x156939(0x20c),()=>{const _0x2fd386=_0x156939;_0x104918[_0x2fd386(0x1cb)][_0x2fd386(0x21f)](_0x2fd386(0x1f3),_0x57539b);}),this[_0x156939(0x1cf)]||(this[_0x156939(0x259)](),this[_0x156939(0x22e)]=new _0x343221(_0x4f562f,this[_0x156939(0x21c)][_0x156939(0x1fe)],this[_0x156939(0x1cf)]));let _0x3cc263=_0x9edefe[_0x156939(0x1d2)](_0x156939(0x1da));const _0x4beff3=_0x4f562f[_0x156939(0x228)][_0x156939(0x1cb)][_0x156939(0x21b)],_0x3e4fe3=Array[_0x156939(0x1f1)](_0x4beff3[_0x156939(0x200)]());0x1===_0x3e4fe3[_0x156939(0x25e)]&&_0x3e4fe3[0x0][_0x156939(0x1bc)]&&!_0x4beff3[_0x156939(0x21e)]()&&''!==_0x3cc263[_0x156939(0x1d0)](/ /g,'')[_0x156939(0x1b1)]()&&(_0x3cc263=_0x156939(0x258)+_0x3cc263+_0x156939(0x24c)),this[_0x156939(0x22e)][_0x156939(0x207)]({'actionId':_0x287d00,'query':_0xfb2dfc,'htmlContent':_0x3cc263,'label':_0x597559,'mainActionLabel':_0x2a4a9a[_0x4f562f[_0x156939(0x228)][_0x156939(0x1cb)][_0x156939(0x21b)][_0x156939(0x21a)]?_0x156939(0x1e1):_0x156939(0x201)]}),_0x156939(0x221)!==this[_0x156939(0x1d7)]['id']?this[_0x156939(0x1d7)][_0x156939(0x1dd)]({'id':_0x156939(0x221),'icon':_0x2b6e2b,'title':_0x467e65(this[_0x156939(0x252)][_0x156939(0x232)],_0x156939(0x235)),'content':this[_0x156939(0x1cf)],'position':_0xca2be2[_0x156939(0x1db)],'onShow':()=>{const _0x3412ba=_0x156939;this[_0x3412ba(0x1cf)][_0x3412ba(0x1ec)]();},'onHide':()=>{const _0x11cb30=_0x156939;this[_0x11cb30(0x22e)][_0x11cb30(0x1c4)](),_0x53ab7b[_0x11cb30(0x1ce)]();}}):this[_0x156939(0x1d7)][_0x156939(0x1d5)][_0x156939(0x1c3)]||this[_0x156939(0x1d7)][_0x156939(0x1d5)][_0x156939(0x22b)]();}[_0xed0db0(0x22a)](){const _0x4ae324=_0xed0db0;this[_0x4ae324(0x1d7)][_0x4ae324(0x25a)]();}[_0xed0db0(0x1c0)](){const _0x2ecc62=_0xed0db0,_0x3b66a5=new Map(),_0x1dcb36=_0x45dc8c(this[_0x2ecc62(0x252)][_0x2ecc62(0x1f7)][_0x2ecc62(0x1bf)](_0x2ecc62(0x230)),this[_0x2ecc62(0x252)][_0x2ecc62(0x232)]);for(const _0xef75df of _0x1dcb36)for(const _0x3f2759 of _0xef75df[_0x2ecc62(0x1b9)])_0x3b66a5[_0x2ecc62(0x1eb)](_0x3f2759['id'],{..._0x3f2759,'groupId':_0xef75df[_0x2ecc62(0x23e)],'groupLabel':_0xef75df[_0x2ecc62(0x237)]||_0xef75df[_0x2ecc62(0x23e)]});return _0x3b66a5;}[_0xed0db0(0x1fc)](_0x224829){const _0x2e7e05=_0xed0db0,_0xc851b4=this[_0x2e7e05(0x252)],_0x2f854d=_0xc851b4[_0x2e7e05(0x1b9)][_0x2e7e05(0x1bf)](_0x2e7e05(0x1cd)),_0x18121d=new _0x224829(_0xc851b4[_0x2e7e05(0x232)]);return _0x18121d[_0x2e7e05(0x1eb)]({'label':_0x467e65(_0xc851b4[_0x2e7e05(0x232)],_0x2e7e05(0x235)),'icon':_0x2b6e2b,'isToggleable':!0x0}),_0x18121d[_0x2e7e05(0x1e8)](_0x2e7e05(0x1cc))['to'](_0x2f854d),_0x18121d[_0x2e7e05(0x1e8)](_0x2e7e05(0x253))['to'](this[_0x2e7e05(0x1d7)],'id',_0x314c11=>_0x2e7e05(0x221)===_0x314c11),this[_0x2e7e05(0x223)](_0x18121d,_0x2e7e05(0x1e0),()=>{const _0x136e9a=_0x2e7e05;_0x18121d[_0x136e9a(0x253)]?this[_0x136e9a(0x22a)]():_0x2f854d[_0x136e9a(0x1e0)]();}),_0x18121d;}[_0xed0db0(0x259)](){const _0x3ff28b=_0xed0db0,_0x1ecc13=this[_0x3ff28b(0x252)][_0x3ff28b(0x20e)][_0x3ff28b(0x1bf)](_0x5d827e);this[_0x3ff28b(0x1cf)]=new _0x5a3b7f(this[_0x3ff28b(0x252)][_0x3ff28b(0x232)],this[_0x3ff28b(0x23f)],this[_0x3ff28b(0x252)][_0x3ff28b(0x1f7)][_0x3ff28b(0x1bf)](_0x3ff28b(0x25b))),this[_0x3ff28b(0x1cf)]['on'](_0x3ff28b(0x25f),()=>{const _0x70084e=_0x3ff28b;this[_0x70084e(0x1d7)][_0x70084e(0x1d5)][_0x70084e(0x1c3)]||this[_0x70084e(0x1d7)][_0x70084e(0x1d5)][_0x70084e(0x22b)]();}),this[_0x3ff28b(0x1cf)][_0x3ff28b(0x1f8)][_0x3ff28b(0x204)][_0x3ff28b(0x248)]['on'](_0x3ff28b(0x1f2),()=>{const _0x5191c5=_0x3ff28b;this[_0x5191c5(0x1d7)][_0x5191c5(0x1d5)][_0x5191c5(0x1c3)]||this[_0x5191c5(0x1d7)][_0x5191c5(0x1d5)][_0x5191c5(0x22b)]();}),this[_0x3ff28b(0x223)](this[_0x3ff28b(0x1cf)],_0x3ff28b(0x1fd),()=>{const _0x2a9604=_0x3ff28b;_0x1ecc13[_0x2a9604(0x1e5)](this[_0x2a9604(0x22e)][_0x2a9604(0x1bb)]),this[_0x2a9604(0x22a)]();}),this[_0x3ff28b(0x223)](this[_0x3ff28b(0x1cf)],_0x3ff28b(0x24e),()=>{const _0x3b9e02=_0x3ff28b;_0x1ecc13[_0x3b9e02(0x24e)](this[_0x3b9e02(0x22e)][_0x3b9e02(0x1bb)]),this[_0x3b9e02(0x22a)]();}),this[_0x3ff28b(0x1ca)]();}[_0xed0db0(0x1ca)](){const _0x45ab8e=_0xed0db0,{locale:_0x46f501,ui:{ariaLiveAnnouncer:_0x51f354}}=this[_0x45ab8e(0x252)];this[_0x45ab8e(0x1cf)][_0x45ab8e(0x1e6)]['on'](_0x45ab8e(0x1e2),(_0x99c37,_0xf8a767,_0x2f8374)=>{const _0x3d5bc4=_0x45ab8e,_0x353185=this[_0x3d5bc4(0x22e)][_0x3d5bc4(0x1bb)];_0x2f8374?_0x51f354[_0x3d5bc4(0x1ef)](_0x467e65(_0x46f501,_0x3d5bc4(0x257))):_0x353185&&_0x51f354[_0x3d5bc4(0x1ef)](_0x467e65(_0x46f501,_0x3d5bc4(0x23d),_0x353185),{'politeness':_0x3d5bc4(0x240),'isUnsafeHTML':!0x0});}),this[_0x45ab8e(0x1cf)]['on'](_0x45ab8e(0x1b2),(_0x5179d8,_0x1177d2,_0x366ddd)=>{const _0x44c9e3=_0x45ab8e;if(_0x366ddd){const _0x2a9a1c=this[_0x44c9e3(0x1cf)][_0x44c9e3(0x254)][_0x44c9e3(0x1dc)];_0x51f354[_0x44c9e3(0x1ef)](_0x467e65(_0x46f501,_0x44c9e3(0x227),_0x2a9a1c));}});}[_0xed0db0(0x215)](_0x396040){const _0x133f5b=_0xed0db0,_0x1d099d=this[_0x133f5b(0x220)][_0x133f5b(0x1bf)](_0x396040),_0x552e53=this[_0x133f5b(0x252)],_0x35bc82=_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x1cb)][_0x133f5b(0x21b)],_0x4423dc=_0x552e53[_0x133f5b(0x1b9)][_0x133f5b(0x1bf)](_0x133f5b(0x1cd)),_0x5cc2ae=_0x552e53[_0x133f5b(0x20e)][_0x133f5b(0x1bf)](_0x5d827e),_0x34cb64=''+(_0x1d099d[_0x133f5b(0x23e)]!==_0x32d7ff?_0x1d099d[_0x133f5b(0x237)]+':\x20':'')+_0x1d099d[_0x133f5b(0x24b)];if(!0x1!==_0x1d099d[_0x133f5b(0x22c)]&&_0x35bc82[_0x133f5b(0x21a)]){const _0x5335cd=_0x133307(_0x35bc82[_0x133f5b(0x23a)]())||_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x216)][_0x133f5b(0x256)](_0x35bc82);_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x22f)](_0x592976=>{const _0x322bfd=_0x133f5b;_0x592976[_0x322bfd(0x1c2)](_0x5335cd,'in');});}_0x5cc2ae[_0x133f5b(0x244)](),_0x4423dc[_0x133f5b(0x1e0)](_0x1d099d[_0x133f5b(0x25c)],_0x34cb64,_0x133f5b(0x1d1)+_0x396040);}[_0xed0db0(0x20b)](_0xb6597c,_0x424754,_0xc9f471,_0xd26761){const _0x16f964=_0xed0db0,_0x327f8b=this[_0x16f964(0x252)],_0x17e62e=_0x327f8b[_0x16f964(0x232)],_0x5d2a31=new _0x484258(_0x17e62e),_0x3f5d0e=U(_0x327f8b,_0xc9f471)[_0x16f964(0x1b3)](_0x3787ae=>_0x3787ae[_0x16f964(0x1b9)][_0x16f964(0x25e)]);0x1===_0x3f5d0e[_0x16f964(0x25e)]?this[_0x16f964(0x211)]({'command':_0xb6597c,'commands':_0x3f5d0e[0x0][_0x16f964(0x1b9)],'parentMenuView':_0x424754,'onExecute':_0xd26761})[_0x16f964(0x217)](_0x20752a=>_0x5d2a31[_0x16f964(0x250)][_0x16f964(0x219)](_0x20752a)):_0x3f5d0e[_0x16f964(0x217)](({groupId:_0x418025,groupLabel:_0x4c372e,commands:_0x56e667})=>{const _0xd51e71=_0x16f964,_0x57d022=new _0xb8f339(_0x17e62e,_0x424754),_0x3945c7=new _0x1a6e2f(_0x17e62e),_0x3ac5da=new _0x484258(_0x17e62e),_0x529ee3=this[_0xd51e71(0x211)]({'command':_0xb6597c,'commands':_0x56e667,'parentMenuView':_0x3945c7,'onExecute':_0xd26761});_0x3945c7[_0xd51e71(0x1b5)][_0xd51e71(0x1eb)]({'label':_0x4c372e||_0x418025}),_0x3945c7[_0xd51e71(0x229)](_0xd51e71(0x1e0))['to'](_0x424754),_0x3ac5da[_0xd51e71(0x250)][_0xd51e71(0x249)](_0x529ee3),_0x3945c7[_0xd51e71(0x233)][_0xd51e71(0x1b7)][_0xd51e71(0x219)](_0x3ac5da),_0x57d022[_0xd51e71(0x1b7)][_0xd51e71(0x219)](_0x3945c7),_0x5d2a31[_0xd51e71(0x250)][_0xd51e71(0x219)](_0x57d022);}),_0x424754[_0x16f964(0x233)][_0x16f964(0x1b7)][_0x16f964(0x219)](_0x5d2a31);}[_0xed0db0(0x211)]({command:_0x169644,commands:_0x40bc2e,parentMenuView:_0x1b9cd3,onExecute:_0x2be021}){const _0x111d7=_0xed0db0,_0x4e1e1e=this[_0x111d7(0x252)],_0x56aec1=_0x4e1e1e[_0x111d7(0x232)];return U(_0x4e1e1e,_0x40bc2e)[_0x111d7(0x1ed)](_0x436352=>{const _0x479c8e=_0x111d7,_0x2fffee=new _0xb8f339(_0x56aec1,_0x1b9cd3),_0x560895=new _0x3c03f4(_0x56aec1);return _0x560895[_0x479c8e(0x1eb)]({'label':_0x436352[_0x479c8e(0x24b)]}),_0x560895[_0x479c8e(0x229)](_0x479c8e(0x1e0))['to'](_0x1b9cd3),_0x560895['on'](_0x479c8e(0x1e0),()=>_0x2be021(_0x436352['id'])),_0x560895[_0x479c8e(0x1e8)](_0x479c8e(0x1cc))['to'](_0x169644,_0x479c8e(0x231),_0x3bf74d=>_0x3bf74d[_0x479c8e(0x24f)](_0x436352['id'])),_0x2fffee[_0x479c8e(0x1b7)][_0x479c8e(0x219)](_0x560895),_0x2fffee;});}}function T(_0xf11338,_0x2d5db3){const _0x5a3006=_0xed0db0;return void 0x0!==_0xf11338[_0x5a3006(0x1c5)]&&void 0x0===_0x2d5db3[_0x5a3006(0x1c5)]?0x1:void 0x0===_0xf11338[_0x5a3006(0x1c5)]&&void 0x0!==_0x2d5db3[_0x5a3006(0x1c5)]?-0x1:void 0x0!==_0xf11338[_0x5a3006(0x1c5)]&&void 0x0!==_0x2d5db3[_0x5a3006(0x1c5)]?_0xf11338[_0x5a3006(0x1c5)]-_0x2d5db3[_0x5a3006(0x1c5)]:0x0;}function U(_0x3798b9,_0x4c7efc){const _0x4d2d7a=_0xed0db0;_0x4c7efc[_0x4d2d7a(0x1d4)](T);const _0x4d19d2={},_0x1ba0d3=[];for(const _0xe8d075 of _0x4c7efc)if(void 0x0!==_0xe8d075[_0x4d2d7a(0x1c5)]){if(_0xe8d075[_0x4d2d7a(0x1c5)]in _0x4d19d2)throw new _0x44dbf3(_0x4d2d7a(0x1fb),_0x3798b9,{'conflictingDefinitions':[_0xe8d075,_0x4d19d2[_0xe8d075[_0x4d2d7a(0x1c5)]]]});_0x4d19d2[_0xe8d075[_0x4d2d7a(0x1c5)]]=_0xe8d075,_0x1ba0d3[_0x4d2d7a(0x260)](_0xe8d075[_0x4d2d7a(0x1c5)],0x0,_0xe8d075);}else _0x1ba0d3[_0x4d2d7a(0x1bd)](_0xe8d075);return _0x1ba0d3;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35778b,_0x5387fc){var _0x2039cb=_0x3e26,_0x10f64d=_0x35778b();while(!![]){try{var _0x5b7006=-parseInt(_0x2039cb(0x7f))/0x1+-parseInt(_0x2039cb(0x76))/0x2+-parseInt(_0x2039cb(0x75))/0x3*(parseInt(_0x2039cb(0x79))/0x4)+parseInt(_0x2039cb(0x7e))/0x5*(parseInt(_0x2039cb(0x78))/0x6)+parseInt(_0x2039cb(0x7c))/0x7+-parseInt(_0x2039cb(0x7b))/0x8*(-parseInt(_0x2039cb(0x77))/0x9)+parseInt(_0x2039cb(0x7d))/0xa*(parseInt(_0x2039cb(0x7a))/0xb);if(_0x5b7006===_0x5387fc)break;else _0x10f64d['push'](_0x10f64d['shift']());}catch(_0x52bba0){_0x10f64d['push'](_0x10f64d['shift']());}}}(_0x3d81,0x6e56f));import{CKEditorError as _0x4a37a4}from'ckeditor5/src/utils.js';function _0x3e26(_0x5c3d08,_0x381bb){var _0x3d8107=_0x3d81();return _0x3e26=function(_0x3e2618,_0x133f25){_0x3e2618=_0x3e2618-0x75;var _0xcb9db5=_0x3d8107[_0x3e2618];return _0xcb9db5;},_0x3e26(_0x5c3d08,_0x381bb);}function _0x3d81(){var _0x1d5360=['741062apNgYX','5364150wcfxpd','210MUXZsZ','740108mutMbp','6873JvTKHf','1343666dRXBLU','1539CLmwTT','119856HXZdsG','236xwTsMg','11zOsnyH','24224LitRuw'];_0x3d81=function(){return _0x1d5360;};return _0x3d81();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x31c39=_0x1bb2;function _0x1bb2(_0x419aa7,_0x450be5){const _0x5852c7=_0x5852();return _0x1bb2=function(_0x1bb2eb,_0x2c74a4){_0x1bb2eb=_0x1bb2eb-0x11d;let _0x19e252=_0x5852c7[_0x1bb2eb];return _0x19e252;},_0x1bb2(_0x419aa7,_0x450be5);}(function(_0x59b57a,_0x256f99){const _0x140a39=_0x1bb2,_0x461835=_0x59b57a();while(!![]){try{const _0x50e6aa=parseInt(_0x140a39(0x144))/0x1+-parseInt(_0x140a39(0x17c))/0x2*(parseInt(_0x140a39(0x17a))/0x3)+parseInt(_0x140a39(0x15a))/0x4*(parseInt(_0x140a39(0x129))/0x5)+-parseInt(_0x140a39(0x130))/0x6+parseInt(_0x140a39(0x11f))/0x7*(parseInt(_0x140a39(0x166))/0x8)+-parseInt(_0x140a39(0x13a))/0x9+-parseInt(_0x140a39(0x165))/0xa*(-parseInt(_0x140a39(0x15d))/0xb);if(_0x50e6aa===_0x256f99)break;else _0x461835['push'](_0x461835['shift']());}catch(_0x3e1dac){_0x461835['push'](_0x461835['shift']());}}}(_0x5852,0x65b1e));import{ObservableMixin as _0x53c574}from'ckeditor5/src/utils.js';import{AIRequestError as _0x13dcef}from'../adapters/aiadapter.js';import{Matcher as _0x32541f,ViewUpcastWriter as _0x1a477d}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x53c574(){[_0x31c39(0x15b)];[_0x31c39(0x176)];[_0x31c39(0x16d)];[_0x31c39(0x12c)];[_0x31c39(0x128)];[_0x31c39(0x175)];constructor(_0x4a191c,_0x3bee05,_0x2b55d8){const _0x7ec3b2=_0x31c39;super(),this[_0x7ec3b2(0x15b)]=_0x4a191c,this[_0x7ec3b2(0x176)]=_0x3bee05,this[_0x7ec3b2(0x12c)]=document[_0x7ec3b2(0x120)](_0x7ec3b2(0x121)),this[_0x7ec3b2(0x128)]=new DOMParser(),this[_0x7ec3b2(0x175)]=new XMLSerializer(),this[_0x7ec3b2(0x16d)]=_0x2b55d8,this[_0x7ec3b2(0x17f)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x7ec3b2(0x11e),(_0x27c564,_0x596193,_0x103cdf)=>{const _0x5d8ade=_0x7ec3b2;this[_0x5d8ade(0x16d)][_0x5d8ade(0x127)]=this[_0x5d8ade(0x123)](_0x103cdf);}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x125),(_0x5b1923,_0x25bda8)=>{const _0x170f9d=_0x7ec3b2,_0x571a0b=this[_0x170f9d(0x163)]||this[_0x170f9d(0x180)];this[_0x170f9d(0x12e)](_0x25bda8,_0x571a0b,_0x170f9d(0x155));}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x14a),()=>{const _0x3bdf85=_0x7ec3b2;this[_0x3bdf85(0x16d)][_0x3bdf85(0x17d)]=this[_0x3bdf85(0x179)],this[_0x3bdf85(0x12e)](this[_0x3bdf85(0x172)],this[_0x3bdf85(0x167)],this[_0x3bdf85(0x14f)],this[_0x3bdf85(0x179)]);}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x153),()=>{const _0x47161e=_0x7ec3b2;this[_0x47161e(0x153)]();});}[_0x31c39(0x13b)](){const _0x5f31ef=_0x31c39;this[_0x5f31ef(0x146)]();}async[_0x31c39(0x171)]({actionId:_0x3cb945,query:_0x8e40ea,htmlContent:_0x5615f2,label:_0x52ae67,mainActionLabel:_0x2fa745}){const _0x143ef1=_0x31c39;this[_0x143ef1(0x16d)][_0x143ef1(0x17d)]=_0x52ae67,this[_0x143ef1(0x16d)][_0x143ef1(0x16b)]=_0x2fa745,this[_0x143ef1(0x180)]=_0x5615f2,_0x8e40ea&&(this[_0x143ef1(0x16d)][_0x143ef1(0x14e)]?this[_0x143ef1(0x12e)](_0x8e40ea,_0x5615f2,_0x3cb945,_0x52ae67):this[_0x143ef1(0x16d)][_0x143ef1(0x12d)](_0x143ef1(0x13e),()=>{const _0x9d989a=_0x143ef1;this[_0x9d989a(0x12e)](_0x8e40ea,_0x5615f2,_0x3cb945,_0x52ae67);}));}[_0x31c39(0x153)](){const _0x2c1fda=_0x31c39;this[_0x2c1fda(0x17e)]&&(this[_0x2c1fda(0x17e)]=!0x1,this[_0x2c1fda(0x16d)][_0x2c1fda(0x14c)](),this[_0x2c1fda(0x176)][_0x2c1fda(0x15e)]());}[_0x31c39(0x15f)](){const _0xf696bd=_0x31c39;this[_0xf696bd(0x180)]='',this[_0xf696bd(0x163)]='',this[_0xf696bd(0x13d)]='',this[_0xf696bd(0x167)]='',this[_0xf696bd(0x172)]='',this[_0xf696bd(0x179)]='',this[_0xf696bd(0x14f)]=void 0x0,this[_0xf696bd(0x16d)][_0xf696bd(0x15f)](),this[_0xf696bd(0x153)]();}async[_0x31c39(0x12e)](_0x498295,_0x37f991,_0x55c284,_0x31f7f9){const _0x778e88=_0x31c39;return this[_0x778e88(0x17e)]=!0x0,this[_0x778e88(0x16d)][_0x778e88(0x16a)](),this[_0x778e88(0x167)]=_0x37f991,this[_0x778e88(0x172)]=_0x498295,this[_0x778e88(0x179)]=_0x31f7f9||_0x498295,this[_0x778e88(0x14f)]=_0x55c284,new Promise(_0x52f48c=>{const _0x3687fc=_0x778e88;this[_0x3687fc(0x176)][_0x3687fc(0x174)]({'query':_0x498295,'context':_0x37f991,'onData':_0x4286ea=>{const _0xa51bec=_0x3687fc;this[_0xa51bec(0x13d)]=_0x4286ea,this[_0xa51bec(0x163)]=this[_0xa51bec(0x135)](this[_0xa51bec(0x13d)]);},'actionId':_0x55c284})[_0x3687fc(0x137)](()=>{const _0x405920=_0x3687fc;!this[_0x405920(0x163)]&&this[_0x405920(0x13d)]&&(this[_0x405920(0x163)]=this[_0x405920(0x135)](this[_0x405920(0x13d)],!0x0));})[_0x3687fc(0x136)](_0x16cdf9=>{const _0x4aaa88=_0x3687fc;_0x16cdf9 instanceof _0x13dcef?this[_0x4aaa88(0x16d)][_0x4aaa88(0x134)](_0x16cdf9[_0x4aaa88(0x147)]):this[_0x4aaa88(0x16d)][_0x4aaa88(0x134)](),_0x52f48c();})[_0x3687fc(0x160)](()=>{const _0x45ce09=_0x3687fc;this[_0x45ce09(0x153)](),_0x52f48c();});});}[_0x31c39(0x135)](_0x5eef6f,_0x27d469=!0x1){const _0x1bf47c=_0x31c39,_0x39561a=hs[_0x1bf47c(0x16e)](_0x5eef6f);_0x5eef6f=_0x39561a?_0x5eef6f[_0x1bf47c(0x170)](_0x39561a[0x1][_0x1bf47c(0x12f)]):_0x5eef6f[_0x1bf47c(0x12f)]<0x64&&!_0x27d469?'':this[_0x1bf47c(0x168)](_0x5eef6f);const _0x399212=this[_0x1bf47c(0x128)][_0x1bf47c(0x13c)](_0x5eef6f,_0x1bf47c(0x14b));if(_0x39561a){const _0x44f4a2=Array[_0x1bf47c(0x138)](_0x399212[_0x1bf47c(0x132)][_0x1bf47c(0x15c)]);_0x44f4a2[_0x1bf47c(0x124)]();for(const _0x315df0 of _0x44f4a2){if(_0x315df0[_0x1bf47c(0x169)]==Node[_0x1bf47c(0x122)])break;_0x315df0[_0x1bf47c(0x12b)]();}}const _0x10711f=this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x162)][_0x1bf47c(0x159)](this[_0x1bf47c(0x175)][_0x1bf47c(0x177)](_0x399212[_0x1bf47c(0x132)]));this[_0x1bf47c(0x161)]()||this[_0x1bf47c(0x178)](_0x10711f);const _0xf72bf=this[_0x1bf47c(0x15b)][_0x1bf47c(0x149)][_0x1bf47c(0x12a)](_0x1bf47c(0x158)),_0x39c523=this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x156)](_0x10711f);return _0xf72bf||_0x39c523[_0x1bf47c(0x148)][_0x1bf47c(0x181)](),this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x143)](_0x39c523);}[_0x31c39(0x178)](_0xc42a97){const _0x4d01df=_0x31c39,_0x98c001=new _0x1a477d(this[_0x4d01df(0x15b)][_0x4d01df(0x13f)][_0x4d01df(0x16d)][_0x4d01df(0x133)]),_0x381f4a=new _0x32541f({'name':/^h[1-5]$/}),_0x1a867c=[];let _0x49c911=!0x1;for(const _0x539744 of _0xc42a97)_0x539744['is'](_0x4d01df(0x152))&&_0x381f4a[_0x4d01df(0x16c)](_0x539744)&&(_0x1a867c[_0x4d01df(0x139)](_0x539744),'h1'==_0x539744[_0x4d01df(0x150)]&&(_0x49c911=!0x0));if(_0x49c911){for(const _0x4d93a2 of _0x1a867c)_0x98c001[_0x4d01df(0x11d)]('h'+(parseInt(_0x4d93a2[_0x4d01df(0x150)][0x1])+0x1),_0x4d93a2);}}[_0x31c39(0x161)](){const _0x2b4561=_0x31c39,{data:_0x45419c,editing:_0x1b1825}=this[_0x2b4561(0x15b)],_0x2e3d8d=_0x45419c[_0x2b4561(0x16f)][_0x2b4561(0x159)](_0x2b4561(0x173)),_0x360fa7=_0x45419c[_0x2b4561(0x159)](_0x45419c[_0x2b4561(0x156)](_0x2e3d8d));return!!_0x1b1825[_0x2b4561(0x16d)][_0x2b4561(0x131)][_0x2b4561(0x140)](_0x360fa7)[_0x2b4561(0x126)]('h1');}[_0x31c39(0x123)](_0x4f80b2){const _0x59cc2e=_0x31c39;return this[_0x59cc2e(0x15b)][_0x59cc2e(0x13f)][_0x59cc2e(0x16d)][_0x59cc2e(0x131)][_0x59cc2e(0x154)](this[_0x59cc2e(0x12c)],_0x4f80b2),this[_0x59cc2e(0x12c)][_0x59cc2e(0x142)];}[_0x31c39(0x168)](_0x1a41b5){const _0xb2964d=_0x31c39,_0x94a201=_0x1a41b5[_0xb2964d(0x151)]();return _0x94a201[_0xb2964d(0x14d)](_0xb2964d(0x141))?_0x94a201[_0xb2964d(0x164)](_0xb2964d(0x145))?_0x94a201[_0xb2964d(0x170)](0x7,_0x94a201[_0xb2964d(0x12f)]-0x3):_0x94a201[_0xb2964d(0x170)](0x7):_0x1a41b5;}}function _0x5852(){const _0x294746=['reset','finally','_isH1TagSupportEnabled','processor','currentContext','endsWith','19430zqTfUt','27704HmxroX','previousContext','_stripMarkdownSyntax','nodeType','startProcessing','mainAction','match','view','exec','htmlProcessor','substring','updateView','previousQuery','<h1></h1>','makeRequest','_xmlSerializer','textAdapter','serializeToString','_normalizeResponseHeadings','previousLabel','6pbvQth','listenTo','264202WaOaqo','prompt','isProcessing','set','initialContext','clear','rename','set:currentContext','203zYOiBL','createElement','div','ELEMENT_NODE','_sanitizeHTML','reverse','submitPrompt','querySelector','value','_domParser','3590CQvdEe','get','remove','_sanitizationContainer','once','_handleQuery','length','3019548SwWhbi','domConverter','body','document','handleError','_parseAndNormalizeContent','catch','then','from','push','1064538tYUKAX','destroy','parseFromString','currentResponse','render','editing','viewToDom','```html','innerHTML','stringify','694609HfxuYq','```','stopListening','message','markers','config','tryAgainEvent','text/html','finishProcessing','startsWith','isRendered','previousActionId','name','trim','element','stopProcessing','setContentOf','custom','toModel','data','ai.assistant.preserveComments','toView','2696yYlIdL','editor','childNodes','132yYTxFp','abort'];_0x5852=function(){return _0x294746;};return _0x5852();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x557356=_0x199f;(function(_0x31abe4,_0xca49c0){const _0x3fd41f=_0x199f,_0x242fae=_0x31abe4();while(!![]){try{const _0x3dcd41=-parseInt(_0x3fd41f(0x1f3))/0x1+-parseInt(_0x3fd41f(0x1eb))/0x2+-parseInt(_0x3fd41f(0x1e9))/0x3*(-parseInt(_0x3fd41f(0x220))/0x4)+parseInt(_0x3fd41f(0x222))/0x5+parseInt(_0x3fd41f(0x1fd))/0x6+-parseInt(_0x3fd41f(0x20e))/0x7+parseInt(_0x3fd41f(0x20a))/0x8*(parseInt(_0x3fd41f(0x1e3))/0x9);if(_0x3dcd41===_0xca49c0)break;else _0x242fae['push'](_0x242fae['shift']());}catch(_0x5b1b31){_0x242fae['push'](_0x242fae['shift']());}}}(_0x3e17,0x74eb2));function _0x3e17(){const _0x37e5ca=['copyButtonView','smooth','555888rwGaHL','setContent','_createLoader','bindTemplate','_createCopyButton','render','ck-ai-form__content-area-wrapper','mousedown','AI\x20is\x20writing...','appendLoader','firstElementChild','body','textContent','60696HxrCCp','isEnabled','focus','setEndBefore','4687333RcVeJC','set','addRange','appendChild','left','loaderView','remove','value','isProcessing','ck-reset_all-excluded','ck-ai-form__content-area--processing','listenTo','style','createRange','clipboard','<span>]</span>','contentFieldView','<span>[</span>','12EKwlhG','absolute','2017355KBUSmo','change:value','createElement','text/plain','ck-ai-form__content-field','isVisible','-9999px','ck-content','position','\x20ck-ai-form__copy-button--copied','element','_copyHTMLToClipboard','getSelection','setTemplate','locale','scrollHeight','bind','execute','ck-ai-form__copy-button-wrapper','innerHTML','ck-ai-form__copy-button','1152dqnjQW','setStartAfter','Copy','scrollTo','.ck-ai-form__loader','copy','945501pzjitx','removeAllRanges','1183688lyDWwy','text/html','ClipboardItem','change:isProcessing','querySelector','lastElementChild','ck-ai-form__loader','ck-hidden','672395VrssNL','icon','write','wheel','class','execCommand','div','ck-ai-form__content-area'];_0x3e17=function(){return _0x37e5ca;};return _0x3e17();}import{global as _0x101b5f}from'ckeditor5/src/utils.js';import{View as _0x1994c7,ButtonView as _0xe4119a,SpinnerView as _0x26fcf3}from'ckeditor5/src/ui.js';function _0x199f(_0x57b534,_0x1a008f){const _0x3e1782=_0x3e17();return _0x199f=function(_0x199f8e,_0xa6f64c){_0x199f8e=_0x199f8e-0x1d7;let _0x326a38=_0x3e1782[_0x199f8e];return _0x326a38;},_0x199f(_0x57b534,_0x1a008f);}import{IconCheck as _0x48733f,IconCopy as _0x34479e}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e37e3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1994c7{[_0x557356(0x21e)];[_0x557356(0x1fb)];constructor(_0x33b920,_0x3cd633=''){const _0x18d9fb=_0x557356;super(_0x33b920),this[_0x18d9fb(0x20f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x22800a=this[_0x18d9fb(0x200)];this[_0x18d9fb(0x21e)]=new ContentFieldView(_0x33b920,_0x3cd633),this[_0x18d9fb(0x1fb)]=this[_0x18d9fb(0x201)](),this[_0x18d9fb(0x1db)]({'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x203),_0x22800a['if'](_0x18d9fb(0x227),_0x18d9fb(0x1f2),_0x32738d=>!_0x32738d)],'tabindex':'-1'},'children':[{'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x1fa),_0x22800a['if'](_0x18d9fb(0x216),_0x18d9fb(0x218))]},'children':[this[_0x18d9fb(0x21e)],{'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x1e0)]},'children':[this[_0x18d9fb(0x1fb)]]}]}]});}[_0x557356(0x202)](){const _0x2fad75=_0x557356;super[_0x2fad75(0x202)](),this[_0x2fad75(0x215)]&&this[_0x2fad75(0x21e)][_0x2fad75(0x1fe)](this[_0x2fad75(0x215)]);let _0x4d2aea=!0x1;this['on'](_0x2fad75(0x223),(_0x2de64e,_0x523757,_0x9f56b0)=>{const _0x2cd3ea=_0x2fad75,_0x134f17=!this[_0x2cd3ea(0x21e)][_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1ef)](_0x2cd3ea(0x1e7));this[_0x2cd3ea(0x21e)][_0x2cd3ea(0x1fe)](_0x9f56b0),this[_0x2cd3ea(0x216)]&&_0x134f17&&!_0x4d2aea&&this[_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1e6)]({'top':this[_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1dd)],'behavior':_0x2cd3ea(0x1fc)});}),this['on'](_0x2fad75(0x1ee),(_0x170625,_0x2edae2,_0x1c4e1d)=>{const _0x4365a5=_0x2fad75;_0x4d2aea=!0x1,_0x1c4e1d?(this[_0x4365a5(0x215)]=null,this[_0x4365a5(0x21e)][_0x4365a5(0x206)]()):this[_0x4365a5(0x215)]||this[_0x4365a5(0x21e)][_0x4365a5(0x1fe)]('');}),this[_0x2fad75(0x219)](this[_0x2fad75(0x1d8)],_0x2fad75(0x1f6),()=>{_0x4d2aea=!0x0;}),this[_0x2fad75(0x219)](this[_0x2fad75(0x1d8)],_0x2fad75(0x204),()=>{_0x4d2aea=!0x0;});}[_0x557356(0x20c)](){const _0x2093b4=_0x557356;this[_0x2093b4(0x1d8)][_0x2093b4(0x20c)]();}[_0x557356(0x201)](){const _0xf3bfdf=_0x557356,_0x5c00a5=this[_0xf3bfdf(0x1dc)],_0x8879d8=new _0xe4119a(this[_0xf3bfdf(0x1dc)]),_0x4c4a82=_0xf3bfdf(0x1e2);return _0x8879d8[_0xf3bfdf(0x20f)]({'label':_0x5e37e3(_0x5c00a5,_0xf3bfdf(0x1e5)),'icon':_0x34479e,'class':_0x4c4a82,'tooltip':!0x0}),_0x8879d8[_0xf3bfdf(0x1de)](_0xf3bfdf(0x227))['to'](this,_0xf3bfdf(0x215),_0x3f8c08=>!!_0x3f8c08),_0x8879d8[_0xf3bfdf(0x1de)](_0xf3bfdf(0x20b))['to'](this,_0xf3bfdf(0x216),_0x87129a=>!_0x87129a),_0x8879d8['on'](_0xf3bfdf(0x1df),()=>{const _0x47c7c8=_0xf3bfdf;this[_0x47c7c8(0x1d9)](this[_0x47c7c8(0x21e)][_0x47c7c8(0x1d8)]),_0x8879d8[_0x47c7c8(0x1f4)]=_0x48733f,_0x8879d8[_0x47c7c8(0x1f7)]=_0x4c4a82+_0x47c7c8(0x1d7),this[_0x47c7c8(0x20c)](),setTimeout(()=>{const _0x217210=_0x47c7c8;_0x8879d8[_0x217210(0x1f4)]=_0x34479e,_0x8879d8[_0x217210(0x1f7)]=_0x4c4a82;},0x3e8);}),_0x8879d8;}[_0x557356(0x1d9)](_0x179849){const _0x191971=_0x557356,{window:_0x18c07c,document:_0x6726ea}=_0x101b5f;if(_0x18c07c[_0x191971(0x1ed)]){const {Blob:_0xcb6dc8,ClipboardItem:_0x16ad7b}=_0x18c07c,_0x32e112=[new _0x16ad7b({'text/html':new _0xcb6dc8([_0x179849[_0x191971(0x1e1)]],{'type':_0x191971(0x1ec)}),'text/plain':new _0xcb6dc8([_0x179849[_0x191971(0x209)]||''],{'type':_0x191971(0x225)})})];navigator[_0x191971(0x21c)][_0x191971(0x1f5)](_0x32e112);}else{const _0x43fecc=_0x6726ea[_0x191971(0x224)](_0x191971(0x1f9));_0x43fecc[_0x191971(0x21a)][_0x191971(0x22a)]=_0x191971(0x221),_0x43fecc[_0x191971(0x21a)][_0x191971(0x212)]=_0x191971(0x228),_0x43fecc[_0x191971(0x1e1)]=_0x191971(0x21f)+_0x179849[_0x191971(0x1e1)]+_0x191971(0x21d),_0x6726ea[_0x191971(0x208)][_0x191971(0x211)](_0x43fecc);const _0x5517bf=_0x6726ea[_0x191971(0x21b)]();_0x5517bf[_0x191971(0x1e4)](_0x43fecc[_0x191971(0x207)]),_0x5517bf[_0x191971(0x20d)](_0x43fecc[_0x191971(0x1f0)]);const _0x4523d6=_0x18c07c[_0x191971(0x1da)]();_0x4523d6[_0x191971(0x1ea)](),_0x4523d6[_0x191971(0x210)](_0x5517bf),_0x6726ea[_0x191971(0x1f8)](_0x191971(0x1e8)),_0x43fecc[_0x191971(0x214)]();}}}export class ContentFieldView extends _0x1994c7{constructor(_0x532516,_0x25725b=''){const _0x302d06=_0x557356;super(_0x532516),this[_0x302d06(0x213)]=this[_0x302d06(0x1ff)](),this[_0x302d06(0x1db)]({'tag':_0x302d06(0x1f9),'attributes':{'class':['ck',_0x302d06(0x229),_0x25725b,_0x302d06(0x217),_0x302d06(0x226)]}});}[_0x557356(0x1fe)](_0x15fa85){const _0x59ab99=_0x557356;this[_0x59ab99(0x1d8)][_0x59ab99(0x1e1)]=_0x15fa85;}[_0x557356(0x206)](){const _0x47e82e=_0x557356;this[_0x47e82e(0x1d8)][_0x47e82e(0x211)](this[_0x47e82e(0x213)][_0x47e82e(0x1d8)]);}[_0x557356(0x1ff)](){const _0x4ad2ed=_0x557356,_0x2403eb=new _0x1994c7(),_0x92a953=this[_0x4ad2ed(0x1dc)],_0x102f03=new _0x26fcf3();return _0x102f03[_0x4ad2ed(0x227)]=!0x0,_0x2403eb[_0x4ad2ed(0x1db)]({'tag':_0x4ad2ed(0x1f9),'attributes':{'class':['ck',_0x4ad2ed(0x1f1)]},'children':[_0x102f03,{'text':_0x5e37e3(_0x92a953,_0x4ad2ed(0x205))}]}),_0x2403eb[_0x4ad2ed(0x202)](),_0x2403eb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3ff7(){const _0x2391a1=['742etbVqm','55931LJQFVx','5150eFDLui','bindTemplate','ck-ai-form__error','2311080IUNGrx','117928LlNcla','5255205YgaRoF','text','div','604EphlxR','54208629ORPIVd','2872710DRjADa','setTemplate','content','set'];_0x3ff7=function(){return _0x2391a1;};return _0x3ff7();}(function(_0x48b03b,_0x1f0930){const _0x280f3c=_0x405b,_0x1b8278=_0x48b03b();while(!![]){try{const _0x5a5532=parseInt(_0x280f3c(0x85))/0x1+-parseInt(_0x280f3c(0x79))/0x2+-parseInt(_0x280f3c(0x7b))/0x3+parseInt(_0x280f3c(0x7e))/0x4*(-parseInt(_0x280f3c(0x86))/0x5)+-parseInt(_0x280f3c(0x80))/0x6+-parseInt(_0x280f3c(0x84))/0x7*(parseInt(_0x280f3c(0x7a))/0x8)+parseInt(_0x280f3c(0x7f))/0x9;if(_0x5a5532===_0x1f0930)break;else _0x1b8278['push'](_0x1b8278['shift']());}catch(_0x2b6877){_0x1b8278['push'](_0x1b8278['shift']());}}}(_0x3ff7,0xee080));import{IconError as _0x4f520b}from'ckeditor5/src/icons.js';import{View as _0x22bdc9,IconView as _0x342d1f}from'ckeditor5/src/ui.js';function _0x405b(_0x3d9b5e,_0x4684b6){const _0x3ff78d=_0x3ff7();return _0x405b=function(_0x405b10,_0x436964){_0x405b10=_0x405b10-0x79;let _0x5a93e5=_0x3ff78d[_0x405b10];return _0x5a93e5;},_0x405b(_0x3d9b5e,_0x4684b6);}export class AIFormErrorView extends _0x22bdc9{constructor(_0x586f78,_0x3faedb=''){const _0x215710=_0x405b;super(_0x586f78);const _0x5c3a70=new _0x342d1f(),_0x4096ae=this[_0x215710(0x87)];this[_0x215710(0x83)](_0x215710(0x7c),_0x3faedb),_0x5c3a70[_0x215710(0x82)]=_0x4f520b,this[_0x215710(0x81)]({'tag':_0x215710(0x7d),'attributes':{'class':['ck',_0x215710(0x88)]},'children':[_0x5c3a70,{'text':_0x4096ae['to'](_0x215710(0x7c))}]});}}
|