@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -0
- package/build/ai.js +1 -1
- package/dist/index-editor.css +54 -18
- package/dist/index.css +64 -19
- 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 +5 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +0 -2
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
- 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.d.ts +3 -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.d.ts +7 -2
- 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.d.ts +4 -0
- 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.d.ts +1 -0
- 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.d.ts +8 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
- 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 +17 -0
- package/src/aicore/aiconnector.d.ts +13 -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.d.ts +41 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.d.ts +2 -2
- 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 +16 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +17 -4
- package/theme/aichat/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +6 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
- package/theme/aitabs/aitabsview.css +6 -1
- package/theme/common/aibutton.css +0 -4
- package/theme/common/aiheader.css +1 -0
- package/src/aiquickactions/utils/common-translations.d.ts +0 -9
- package/src/aiquickactions/utils/common-translations.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x9a32(){const _0x36e0dd=['_getAISelection','join','getChild','isAtEnd','DataTransfer','editing','forEach','getRange','last','length','map','once','_getDefaultInsertBelowPosition','model','conversion','createPositionAt','push','createPositionAfter','251680QTmrIs','element','getLastMatchingPosition','markers','off','isPremiumPlugin','deleteContent','getLastPosition','updateMarker','_pasteHTMLUsingClipboard','for','href','AIAssistantEditing','setData','insertContentBelow','paste','editingDowncast','markerToHighlight','addMarker','start','document','init','isCollapsed','span','pluginName','ck-fake-ai-selection','createSelection','lowest','markerToElement','isOfficialPlugin','table','ai-ui','_createEmptyTableRows','_resetContentOfSelectedTableCells','removeMarker','getSelectedBlocks','hideFakeVisualSelection','resultRange','fire','_getTableRowCountFromContent','config','getFirstRange','747befcmk','first','6086120yhEReE','insertContent','2787uhPEco','createUIElement','getSelectedTableCells','getRanges','showFakeVisualSelection','end','TableUtils','createRange','getChildren','insertRows','getColumnIndexes','_prepareTableInsertBelowPosition','canEditAt','fromCharCode','addClass','pop','plugins','afterInit','ck-fake-ai-selection_collapsed','change','ai.assistant.useTheme','isContent','ck-ai-assistant-ui_theme','14oRSyFz','markerRange','setSelection','6765055nqrIBt','7036bNzrRD','schema','parse','get','2221242wwuxPE','contentInsertion','findAncestor','95350dlxlnc','editor','data','selection','getRowIndexes','from','filter','40241509WiLwbr','text/html','getMarkersGroup','getRows','has','6PZLiCN'];_0x9a32=function(){return _0x36e0dd;};return _0x9a32();}const _0x332ddc=_0x1b49;(function(_0x16eaa0,_0x44db6c){const _0x224f76=_0x1b49,_0x610c60=_0x16eaa0();while(!![]){try{const _0x29215d=-parseInt(_0x224f76(0xce))/0x1+parseInt(_0x224f76(0xac))/0x2+parseInt(_0x224f76(0x8d))/0x3*(parseInt(_0x224f76(0xa8))/0x4)+parseInt(_0x224f76(0xa7))/0x5*(parseInt(_0x224f76(0xbb))/0x6)+parseInt(_0x224f76(0xa4))/0x7*(parseInt(_0x224f76(0x8b))/0x8)+-parseInt(_0x224f76(0x89))/0x9*(parseInt(_0x224f76(0xaf))/0xa)+-parseInt(_0x224f76(0xb6))/0xb;if(_0x29215d===_0x44db6c)break;else _0x610c60['push'](_0x610c60['shift']());}catch(_0x5347e4){_0x610c60['push'](_0x610c60['shift']());}}}(_0x9a32,0xe016d));import{uid as _0x48d808}from'ckeditor5/src/utils.js';import{Plugin as _0x42c5ea}from'ckeditor5/src/core.js';function _0x1b49(_0x16e052,_0x2698ff){const _0x9a32e0=_0x9a32();return _0x1b49=function(_0x1b49c3,_0x1f3865){_0x1b49c3=_0x1b49c3-0x6b;let _0x561be3=_0x9a32e0[_0x1b49c3];return _0x561be3;},_0x1b49(_0x16e052,_0x2698ff);}import{ClipboardPipeline as _0x1bc080}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x519dc7,ViewDataTransfer as _0x1a8501}from'ckeditor5/src/engine.js';const l=globalThis[_0x332ddc(0xc0)],w=_0x332ddc(0x7e);export class AIAssistantEditing extends _0x42c5ea{static get[_0x332ddc(0x77)](){const _0x20b8c8=_0x332ddc;return _0x20b8c8(0x6b);}static get[_0x332ddc(0x7c)](){return!0x0;}static get[_0x332ddc(0xd3)](){return!0x0;}[_0x332ddc(0x74)](){const _0xca04c6=_0x332ddc,{editor:_0x3568fb}=this,_0x7a13bd=[_0xca04c6(0x78)];_0x3568fb[_0xca04c6(0x87)][_0xca04c6(0xab)](_0xca04c6(0xa1))&&_0x7a13bd[_0xca04c6(0xcc)](_0xca04c6(0xa3)),_0x3568fb[_0xca04c6(0xca)][_0xca04c6(0xd8)](_0xca04c6(0x6f))[_0xca04c6(0x70)]({'model':w,'view':{'classes':_0x7a13bd,'priority':0xc}}),_0x3568fb[_0xca04c6(0xca)][_0xca04c6(0xd8)](_0xca04c6(0x6f))[_0xca04c6(0x7b)]({'model':w,'view':(_0x1cafbb,{writer:_0x41333e})=>{const _0x19e01d=_0xca04c6;if(!_0x1cafbb[_0x19e01d(0xa5)][_0x19e01d(0x75)])return null;const _0x40dddb=_0x41333e[_0x19e01d(0x8e)](_0x19e01d(0x76));return _0x41333e[_0x19e01d(0x9b)]([_0x19e01d(0x78),_0x19e01d(0x9f)],_0x40dddb),_0x40dddb;}});}[_0x332ddc(0x9e)](){!async function(_0x23eeaa){const _0xa228f1=_0x39d909([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]),_0x2e81ef=0x3dffc4e1,_0x240465=0x3df8b021^_0x2e81ef,_0x219167=window[_0x39d909([0x44,0x61,0x74,0x65])][_0x39d909([0x6e,0x6f,0x77])](),_0x5e289e=_0x23eeaa[_0x39d909([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4078dd=new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c1b1d=>{_0x5e289e[_0x39d909([0x6f,0x6e,0x63,0x65])](_0x39d909([0x72,0x65,0x61,0x64,0x79]),_0x2c1b1d);}),_0x4cde4c={[_0x39d909([0x6b,0x74,0x79])]:_0x39d909([0x45,0x43]),[_0x39d909([0x75,0x73,0x65])]:_0x39d909([0x73,0x69,0x67]),[_0x39d909([0x63,0x72,0x76])]:_0x39d909([0x50,0x2d,0x32,0x35,0x36]),[_0x39d909([0x78])]:_0x39d909([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]),[_0x39d909([0x79])]:_0x39d909([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]),[_0x39d909([0x61,0x6c,0x67])]:_0x39d909([0x45,0x53,0x32,0x35,0x36])},_0x44b18c=_0x5e289e[_0x39d909([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39d909([0x67,0x65,0x74])](_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d5b44(){let _0x149238,_0x1a35d8=null,_0x43feed=null;try{if(_0x44b18c==_0x39d909([0x47,0x50,0x4c]))return _0x39d909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x149238=_0xe7057b(),!_0x149238)return _0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x149238[_0x39d909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43feed=_0x4f556f(_0x149238[_0x39d909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x149238[_0x39d909([0x6a,0x74,0x69])])),await _0xe5e9()?_0x95457()?_0x23db34()?_0x39d909([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5108d0()?(_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a35d8=_0x1de513(_0x39d909([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d909([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a35d8=_0x1de513(_0x39d909([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x534e0d()):_0x39d909([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39d909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23db34(){const _0x16a796=[_0x39d909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39d909([0x74,0x72,0x69,0x61,0x6c])][_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x219167/0x3e8:0xe10*_0x240465;return _0x149238[_0x39d909([0x65,0x78,0x70])]<_0x16a796;}function _0x95457(){const _0x3bf3c4=_0x149238[_0x39d909([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bf3c4&&(!!_0x3bf3c4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x2a]))||!!_0x3bf3c4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x41,0x49])));}function _0x5108d0(){const _0x261905=_0x1b49,_0x7f7dc4=_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7f7dc4||0x0==_0x7f7dc4[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4404e8}=new URL(window[_0x39d909([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x261905(0xd9)]);if(_0x7f7dc4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4404e8))return!0x0;const _0x49a34b=_0x4404e8[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e]));return _0x7f7dc4[_0x39d909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23fdc0=>_0x23fdc0[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x2a])))[_0x39d909([0x6d,0x61,0x70])](_0x158f1a=>_0x158f1a[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e])))[_0x39d909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x63b74c=>_0x63b74c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49a34b[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d909([0x6d,0x61,0x70])](_0x9fa784=>Array(_0x49a34b[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9fa784[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d909([0x66,0x69,0x6c,0x6c])](_0x9fa784[0x0]===_0x39d909([0x2a])?_0x39d909([0x2a]):'')[_0x39d909([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9fa784))[_0x39d909([0x73,0x6f,0x6d,0x65])](_0x3829fe=>_0x49a34b[_0x39d909([0x65,0x76,0x65,0x72,0x79])]((_0x4c816f,_0x32bc0d)=>_0x3829fe[_0x32bc0d]===_0x4c816f||_0x3829fe[_0x32bc0d]===_0x39d909([0x2a])));}function _0x534e0d(){return _0x1a35d8&&_0x43feed?new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bb550,_0x5b18b8)=>{_0x1a35d8[_0x39d909([0x74,0x68,0x65,0x6e])](_0x4bb550,_0x5b18b8),_0x43feed[_0x39d909([0x74,0x68,0x65,0x6e])](_0x4a31b3=>{_0x4a31b3!=_0x39d909([0x56,0x61,0x6c,0x69,0x64])&&_0x4bb550(_0x4a31b3);},_0x5b18b8);}):_0x1a35d8||_0x43feed||_0x39d909([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f556f(_0x393044,_0xec4b53){return new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf11c6=>{if(_0x52b0e3())return _0xcf11c6(_0x39d909([0x56,0x61,0x6c,0x69,0x64]));_0x550252(),_0x5e289e[_0x39d909([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x287853=!0x1;const _0x30fff0=_0x48d808();function _0x5e2f35(_0x1ffb21){return!!_0x1ffb21&&(typeof _0x1ffb21===_0x39d909([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ffb21===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ffb21[_0x39d909([0x74,0x68,0x65,0x6e])]===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ffb21[_0x39d909([0x63,0x61,0x74,0x63,0x68])]===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3aa8a3(_0x44ea1a){_0x7e2ef7(_0x44ea1a)[_0x39d909([0x74,0x68,0x65,0x6e])](_0x1f1a13=>{if(!_0x1f1a13||_0x1f1a13[_0x39d909([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39d909([0x6f,0x6b]))return _0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1be04b(_0xa05e22(_0x30fff0+_0xec4b53))!=_0x1f1a13[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39d909([0x56,0x61,0x6c,0x69,0x64]);})[_0x39d909([0x74,0x68,0x65,0x6e])](_0x1ba37a=>(_0x1bb40e(),_0x1ba37a),()=>{const _0xd245b5=_0x4d260a();return null==_0xd245b5?(_0x1bb40e(),_0x39d909([0x56,0x61,0x6c,0x69,0x64])):_0x39d909(_0x219167-_0xd245b5>(0x19f340e1^_0x2e81ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39d909([0x74,0x68,0x65,0x6e])](_0xcf11c6)[_0x39d909([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27e3a3=0x3dc92a61^_0x2e81ef;function _0x1bb40e(){const _0x546167=_0x39d909([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be04b(_0xa05e22(_0x393044)),_0x3092ee=_0x4d9c22(_0x1be04b(window[_0x39d909([0x4d,0x61,0x74,0x68])][_0x39d909([0x63,0x65,0x69,0x6c])](_0x219167/_0x27e3a3)));window[_0x39d909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d909([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x546167,_0x3092ee);}function _0x4d260a(){const _0x5ecc9a=_0x39d909([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be04b(_0xa05e22(_0x393044)),_0x218ec9=window[_0x39d909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d909([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ecc9a);return _0x218ec9?window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d9c22(_0x218ec9),0x10)*_0x27e3a3:null;}function _0x7e2ef7(_0x26cea5){return new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfa0715,_0x23c4fe)=>{_0x26cea5[_0x39d909([0x74,0x68,0x65,0x6e])](_0xfa0715,_0x23c4fe),window[_0x39d909([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23c4fe,0x3dfe1021^_0x2e81ef);});}}_0x5e289e[_0x39d909([0x6f,0x6e])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x144874,_0x3c0948)=>{if(_0x3c0948[0x0]!=_0x393044)return _0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c0948[0x1]={..._0x3c0948[0x1],[_0x39d909([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30fff0};},{[_0x39d909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d909([0x68,0x69,0x67,0x68])}),_0x5e289e[_0x39d909([0x6f,0x6e])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d7ad5=>{_0x5e2f35(_0x4d7ad5[_0x39d909([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x287853=!0x0,_0x3aa8a3(_0x4d7ad5[_0x39d909([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39d909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d909([0x6c,0x6f,0x77])}),_0x4078dd[_0x39d909([0x74,0x68,0x65,0x6e])](()=>{_0x287853||_0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52b0e3(){return _0x5e289e[_0x39d909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d909([0x76,0x69,0x65,0x77])][_0x39d909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39d909([0x61,0x75,0x74,0x6f]);}function _0x550252(){_0x5e289e[_0x39d909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d909([0x76,0x69,0x65,0x77])][_0x39d909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39d909([0x61,0x75,0x74,0x6f]);}}function _0x1de513(_0x48706d){const _0x264c94=[new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd34c4e=>setTimeout(_0xd34c4e,0x3df6fa2d^_0x2e81ef)),_0x4078dd[_0x39d909([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aa9ed=>{let _0x343237=0x0;_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x6f,0x6e])](_0x39d909([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a7590,_0x5dc572)=>{_0x5dc572[0x0][_0x39d909([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x343237++,_0x343237==(0x3dffc519^_0x2e81ef)&&(_0x5aa9ed(),_0x4a7590[_0x39d909([0x6f,0x66,0x66])]());});}))];return window[_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39d909([0x72,0x61,0x63,0x65])](_0x264c94)[_0x39d909([0x74,0x68,0x65,0x6e])](()=>_0x48706d);}async function _0x11dd01(){await _0x4078dd,_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bea5a,_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bea5a,_0x5e289e[_0x39d909([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39d909([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d3b07(_0x3857af){const _0x14dd26=_0x280cd6();_0x5e289e[_0x14dd26]=_0x39d909([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3857af,_0x3857af!=_0x39d909([0x56,0x61,0x6c,0x69,0x64])&&_0x11dd01();}function _0x280cd6(){const _0x5641c0=window[_0x39d909([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39d909([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39d909([0x6e,0x6f,0x77])]())[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39d909([0x2e]),'');let _0x8e7db3=_0x39d909([0x6e]);for(let _0x324ce1=0x0;_0x324ce1<_0x5641c0[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x324ce1+=0x2){let _0x9f0f0f=window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5641c0[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x324ce1,_0x324ce1+0x2));_0x9f0f0f>=_0xa228f1[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9f0f0f-=_0xa228f1[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8e7db3+=_0xa228f1[_0x9f0f0f];}return _0x8e7db3;}function _0xe7057b(){const _0x422277=_0x44b18c[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e]));if(0x3!=_0x422277[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x559b5f(_0x422277[0x1]);function _0x559b5f(_0x5898f3){const _0x3219b8=_0x404914(_0x5898f3);return _0x3219b8&&_0xaf807a()?_0x3219b8:null;function _0xaf807a(){const _0x5a1b2c=_0x3219b8[_0x39d909([0x6a,0x74,0x69])],_0x2d71ec=window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a1b2c[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a1b2c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x88327d={..._0x3219b8,[_0x39d909([0x6a,0x74,0x69])]:_0x5a1b2c[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a1b2c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x88327d[_0x39d909([0x76,0x63])],_0xa05e22(_0x88327d)==_0x2d71ec;}}}async function _0xe5e9(){let _0x591937=!0x0;try{const _0x5c3c3d=_0x44b18c[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e])),[_0x1437ac,_0x5178bc,_0x19ab87]=_0x5c3c3d;return _0x5c1f3e(_0x1437ac),await _0x3c4f84(_0x1437ac,_0x5178bc,_0x19ab87),_0x591937;}catch{return!0x1;}function _0x5c1f3e(_0x551cd8){const _0x5c323f=_0x404914(_0x551cd8);_0x5c323f&&_0x5c323f[_0x39d909([0x61,0x6c,0x67])]==_0x39d909([0x45,0x53,0x32,0x35,0x36])||(_0x591937=!0x1);}async function _0x3c4f84(_0x5da2c0,_0x9281ce,_0x2044d8){const _0xc7e1d6=window[_0x39d909([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39d909([0x66,0x72,0x6f,0x6d])](_0x49a1d9(_0x2044d8),_0x6c85ad=>_0x6c85ad[_0x39d909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xba5c5e=new window[(_0x39d909([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39d909([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da2c0+_0x39d909([0x2e])+_0x9281ce),_0x41a084=window[_0x39d909([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39d909([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41a084)return;const _0x59cffc=await _0x41a084[_0x39d909([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39d909([0x6a,0x77,0x6b]),_0x4cde4c,{[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x45,0x43,0x44,0x53,0x41]),[_0x39d909([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39d909([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41a084[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x45,0x43,0x44,0x53,0x41]),[_0x39d909([0x68,0x61,0x73,0x68])]:{[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59cffc,_0xc7e1d6,_0xba5c5e)||(_0x591937=!0x1);}}function _0x404914(_0xb1c093){return _0xb1c093[_0x39d909([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39d909([0x65,0x79]))?JSON[_0x39d909([0x70,0x61,0x72,0x73,0x65])](_0x49a1d9(_0xb1c093)):null;}function _0x49a1d9(_0x20955e){return window[_0x39d909([0x61,0x74,0x6f,0x62])](_0x20955e[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39d909([0x2b]))[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39d909([0x2f])));}function _0xa05e22(_0x651f6d){let _0x43fa42=0x1505;function _0x21443f(_0x1e4d80){for(let _0x41b7cf=0x0;_0x41b7cf<_0x1e4d80[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41b7cf++){const _0x2ae632=_0x1e4d80[_0x39d909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41b7cf);_0x43fa42=(_0x43fa42<<0x5)+_0x43fa42+_0x2ae632,_0x43fa42&=_0x43fa42;}}function _0x3eb233(_0x25784b){Array[_0x39d909([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x25784b)?_0x25784b[_0x39d909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3eb233):_0x25784b&&typeof _0x25784b==_0x39d909([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39d909([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x25784b)[_0x39d909([0x73,0x6f,0x72,0x74])]()[_0x39d909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e8a0,_0x3114a8])=>{_0x21443f(_0x10e8a0),_0x3eb233(_0x3114a8);}):_0x21443f(window[_0x39d909([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x25784b));}return _0x3eb233(_0x651f6d),_0x43fa42>>>0x0;}function _0x1be04b(_0x428a16){return _0x428a16[_0x39d909([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39d909([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39d909([0x30]));}function _0x4d9c22(_0x5d682e){return _0x5d682e[_0x39d909([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39d909([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39d909([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bea5a(){}function _0x39d909(_0x357e5c){const _0x11a520=_0x1b49;return _0x357e5c[_0x11a520(0xc6)](_0x351337=>String[_0x11a520(0x9a)](_0x351337))[_0x11a520(0xbd)]('');}_0x1d3b07(await _0x2d5b44());}(this);}[_0x332ddc(0x91)](){const _0x2dd09f=_0x332ddc,_0x5f24e4=this[_0x2dd09f(0xb0)][_0x2dd09f(0xc9)];_0x5f24e4[_0x2dd09f(0xa0)](_0x1d40dd=>{const _0x14ac3a=_0x2dd09f,_0x5d8fa2=_0x5f24e4[_0x14ac3a(0x73)][_0x14ac3a(0xb2)][_0x14ac3a(0x90)]();let _0x160d15=0x0;for(const _0x51c556 of _0x5d8fa2){const _0x180439=w+':'+_0x160d15;if(_0x5f24e4[_0x14ac3a(0xd1)][_0x14ac3a(0xba)](_0x180439))_0x1d40dd[_0x14ac3a(0xd6)](_0x180439,{'range':_0x51c556});else{if(_0x51c556[_0x14ac3a(0x72)][_0x14ac3a(0xbf)]){const _0x5662ef=_0x51c556[_0x14ac3a(0x72)][_0x14ac3a(0xd0)](({item:_0x576417})=>!_0x5f24e4[_0x14ac3a(0xa9)][_0x14ac3a(0xa2)](_0x576417),{'boundaries':_0x51c556});_0x1d40dd[_0x14ac3a(0x71)](_0x180439,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d40dd[_0x14ac3a(0x94)](_0x5662ef,_0x51c556[_0x14ac3a(0x92)])});}else _0x1d40dd[_0x14ac3a(0x71)](_0x180439,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x51c556});}_0x160d15++;}});}[_0x332ddc(0x83)](){const _0x5f5d8f=_0x332ddc,_0x27fad1=this[_0x5f5d8f(0xb0)][_0x5f5d8f(0xc9)],_0x4d006b=Array[_0x5f5d8f(0xb4)](this[_0x5f5d8f(0xb0)][_0x5f5d8f(0xc9)][_0x5f5d8f(0xd1)][_0x5f5d8f(0xb8)](w));_0x4d006b[_0x5f5d8f(0xc5)]&&_0x27fad1[_0x5f5d8f(0xa0)](_0x81f422=>{const _0x1b40d1=_0x5f5d8f;_0x4d006b[_0x1b40d1(0xc2)](_0x554132=>{const _0x12ca08=_0x1b40d1;_0x81f422[_0x12ca08(0x81)](_0x554132);});});}[_0x332ddc(0x8c)](_0x3d3d79,_0x2903fc){const _0x1a66e7=_0x332ddc,_0x568322=this[_0x1a66e7(0xbc)](),_0x4bc9c1=_0x2903fc||_0x568322[_0x1a66e7(0x88)]();this[_0x1a66e7(0xb0)][_0x1a66e7(0xc9)][_0x1a66e7(0x99)](_0x4bc9c1)&&this[_0x1a66e7(0xb0)][_0x1a66e7(0xc9)][_0x1a66e7(0xa0)](_0x68dac8=>{const _0x3008ae=_0x1a66e7;this[_0x3008ae(0x83)](),_0x2903fc||this[_0x3008ae(0x80)](_0x68dac8,_0x568322),this[_0x3008ae(0xd7)]({'insertAt':_0x4bc9c1,'writer':_0x68dac8,'html':_0x3d3d79});});}[_0x332ddc(0x6d)](_0x4f1bfe){const _0xc1c2fb=_0x332ddc,{model:_0x8f3aa5}=this[_0xc1c2fb(0xb0)],_0x39cf78=this[_0xc1c2fb(0xbc)]();_0x8f3aa5[_0xc1c2fb(0xa0)](()=>{const _0x57313c=_0xc1c2fb,_0x41ddd4=this[_0x57313c(0x98)](_0x4f1bfe,_0x39cf78)||this[_0x57313c(0xc8)](_0x39cf78);this[_0x57313c(0x8c)](_0x4f1bfe,_0x41ddd4);});}[_0x332ddc(0xbc)](){const _0x94a347=_0x332ddc,_0x5546ae=this[_0x94a347(0xb0)][_0x94a347(0xc9)],_0x1f36f5=Array[_0x94a347(0xb4)](_0x5546ae[_0x94a347(0xd1)][_0x94a347(0xb8)](w))[_0x94a347(0xc6)](_0x8a5799=>_0x8a5799[_0x94a347(0xc3)]());return _0x5546ae[_0x94a347(0x79)](_0x1f36f5);}[_0x332ddc(0xd7)]({writer:_0x328bd7,html:_0x38e701,insertAt:_0x440748}){const _0x2a6eb8=_0x332ddc,{view:_0x32cb93}=this[_0x2a6eb8(0xb0)][_0x2a6eb8(0xc1)],_0x3496b8=this[_0x2a6eb8(0xb0)][_0x2a6eb8(0x9d)][_0x2a6eb8(0xab)](_0x1bc080),_0x5a5b60=new l();_0x5a5b60[_0x2a6eb8(0x6c)](_0x2a6eb8(0xb7),_0x38e701);const _0xa0b7dc=new ClipboardEvent(_0x2a6eb8(0x6e),{'clipboardData':_0x5a5b60}),_0x44aa51=new _0x519dc7(_0x32cb93,_0xa0b7dc,{'dataTransfer':new _0x1a8501(_0x5a5b60)});_0x328bd7[_0x2a6eb8(0xa6)](_0x440748);const _0x376132=(_0x174a92,_0x138fb4)=>{const _0xfb5fa=_0x2a6eb8;_0x138fb4[_0xfb5fa(0x84)]&&_0x328bd7[_0xfb5fa(0xa6)](_0x138fb4[_0xfb5fa(0x84)]);};_0x3496b8[_0x2a6eb8(0xc7)](_0x2a6eb8(0xad),_0x376132,{'priority':_0x2a6eb8(0x7a)}),_0x32cb93[_0x2a6eb8(0x73)][_0x2a6eb8(0x85)](_0x2a6eb8(0x6e),_0x44aa51),_0x3496b8[_0x2a6eb8(0xd2)](_0x2a6eb8(0xad),_0x376132);}[_0x332ddc(0xc8)](_0x468e43){const _0x1bf9be=_0x332ddc,{model:_0x10b6ac}=this[_0x1bf9be(0xb0)],_0x1f22ab=Array[_0x1bf9be(0xb4)](_0x468e43[_0x1bf9be(0x82)]());return _0x1f22ab[_0x1bf9be(0xc5)]?_0x10b6ac[_0x1bf9be(0xcd)](_0x1f22ab[_0x1bf9be(0x9c)]()):_0x468e43[_0x1bf9be(0xd5)]();}[_0x332ddc(0x98)](_0x5f31bf,_0x57cf94){const _0x27e642=_0x332ddc,{model:_0x353abe,plugins:_0x45450d}=this[_0x27e642(0xb0)];if(_0x45450d[_0x27e642(0xba)](_0x27e642(0x93))){const _0x576415=_0x45450d[_0x27e642(0xab)](_0x27e642(0x93))[_0x27e642(0x8f)](_0x57cf94);if(_0x576415[_0x27e642(0xc5)]){const _0x581b31=this[_0x27e642(0x86)](_0x5f31bf),_0x2c0d5d=this[_0x27e642(0x7f)](_0x576415,_0x581b31);return _0x353abe[_0x27e642(0xcb)](_0x2c0d5d,0x0);}}return null;}[_0x332ddc(0x86)](_0x2a29eb){const _0x45e8f6=_0x332ddc,_0x539742=this[_0x45e8f6(0xb0)][_0x45e8f6(0x9d)][_0x45e8f6(0xab)](_0x45e8f6(0x93)),_0x2f2e0f=this[_0x45e8f6(0xb0)][_0x45e8f6(0xb1)][_0x45e8f6(0xaa)](_0x2a29eb),_0x50772d=Array[_0x45e8f6(0xb4)](_0x2f2e0f[_0x45e8f6(0x95)]())[_0x45e8f6(0xb5)](_0x16998a=>_0x16998a['is'](_0x45e8f6(0xcf),_0x45e8f6(0x7d)));let _0x1c02fd=0x0;return _0x50772d[_0x45e8f6(0xc2)](_0x5141ad=>{const _0x39145f=_0x45e8f6;_0x1c02fd+=_0x539742[_0x39145f(0xb9)](_0x5141ad);}),_0x1c02fd;}[_0x332ddc(0x7f)](_0x18d04c,_0x9c776e){const _0x3822c2=_0x332ddc,_0x101a27=this[_0x3822c2(0xb0)][_0x3822c2(0x9d)][_0x3822c2(0xab)](_0x3822c2(0x93)),_0x1b67fd=_0x101a27[_0x3822c2(0xb3)](_0x18d04c),_0x3ed887=_0x101a27[_0x3822c2(0x97)](_0x18d04c),_0x5ca4ce=_0x1b67fd[_0x3822c2(0xc4)]+0x1,_0x2fe3e7=_0x3ed887[_0x3822c2(0x8a)],_0x11f314=_0x18d04c[0x0][_0x3822c2(0xae)](_0x3822c2(0x7d));for(let _0x3101e7=0x0;_0x3101e7<_0x9c776e;_0x3101e7++)_0x101a27[_0x3822c2(0x96)](_0x11f314,{'at':_0x5ca4ce});return _0x11f314[_0x3822c2(0xbe)](_0x5ca4ce)[_0x3822c2(0xbe)](_0x2fe3e7);}[_0x332ddc(0x80)](_0x230e74,_0x270ea5){const _0x4adb6f=_0x332ddc,{plugins:_0x592a37}=this[_0x4adb6f(0xb0)],{model:_0x66c797}=_0x230e74;if(!_0x592a37[_0x4adb6f(0xba)](_0x4adb6f(0x93)))return;_0x592a37[_0x4adb6f(0xab)](_0x4adb6f(0x93))[_0x4adb6f(0x8f)](_0x270ea5)[_0x4adb6f(0xc5)]&&_0x66c797[_0x4adb6f(0xd4)](_0x270ea5);}}
|
|
23
|
+
const _0x70adfb=_0x46e7;(function(_0x30e8d5,_0x137018){const _0x20597a=_0x46e7,_0x1c75d5=_0x30e8d5();while(!![]){try{const _0x692701=-parseInt(_0x20597a(0xdb))/0x1+parseInt(_0x20597a(0x117))/0x2*(parseInt(_0x20597a(0xf9))/0x3)+parseInt(_0x20597a(0xc7))/0x4*(parseInt(_0x20597a(0x126))/0x5)+parseInt(_0x20597a(0xf1))/0x6*(parseInt(_0x20597a(0xc1))/0x7)+parseInt(_0x20597a(0xdf))/0x8+-parseInt(_0x20597a(0xe0))/0x9*(-parseInt(_0x20597a(0xd5))/0xa)+-parseInt(_0x20597a(0x10e))/0xb*(parseInt(_0x20597a(0x127))/0xc);if(_0x692701===_0x137018)break;else _0x1c75d5['push'](_0x1c75d5['shift']());}catch(_0x51e2e3){_0x1c75d5['push'](_0x1c75d5['shift']());}}}(_0x1057,0x4c52e));import{uid as _0x5eded6}from'ckeditor5/src/utils.js';import{Plugin as _0x37bea0}from'ckeditor5/src/core.js';function _0x46e7(_0x740dbb,_0x970c79){const _0x10578b=_0x1057();return _0x46e7=function(_0x46e797,_0x98a93d){_0x46e797=_0x46e797-0xba;let _0x992358=_0x10578b[_0x46e797];return _0x992358;},_0x46e7(_0x740dbb,_0x970c79);}import{ClipboardPipeline as _0x1a5419}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xde72bc,ViewDataTransfer as _0x511870}from'ckeditor5/src/engine.js';const P=globalThis[_0x70adfb(0xd8)],B=_0x70adfb(0x11b);export class AIAssistantEditing extends _0x37bea0{static get[_0x70adfb(0xd9)](){const _0x9405d0=_0x70adfb;return _0x9405d0(0x107);}static get[_0x70adfb(0xdc)](){return!0x0;}static get[_0x70adfb(0x128)](){return!0x0;}[_0x70adfb(0xfd)](){const _0x135ea3=_0x70adfb,{editor:_0xa3e3b7}=this,_0x25856c=[_0x135ea3(0xf0)];_0xa3e3b7[_0x135ea3(0x10d)][_0x135ea3(0x101)](_0x135ea3(0x106))&&_0x25856c[_0x135ea3(0xba)](_0x135ea3(0xee)),_0xa3e3b7[_0x135ea3(0x109)][_0x135ea3(0xda)](_0x135ea3(0xc8))[_0x135ea3(0xf6)]({'model':B,'view':{'classes':_0x25856c,'priority':0xc}}),_0xa3e3b7[_0x135ea3(0x109)][_0x135ea3(0xda)](_0x135ea3(0xc8))[_0x135ea3(0xd1)]({'model':B,'view':(_0x233cd2,{writer:_0x4c7856})=>{const _0x6cad6a=_0x135ea3;if(!_0x233cd2[_0x6cad6a(0x113)][_0x6cad6a(0x115)])return null;const _0x45db28=_0x4c7856[_0x6cad6a(0xca)](_0x6cad6a(0xcd));return _0x4c7856[_0x6cad6a(0x11d)]([_0x6cad6a(0xf0),_0x6cad6a(0x100)],_0x45db28),_0x45db28;}});}[_0x70adfb(0xbe)](){!async function(_0x44b6bb){const _0x5e65b6=_0x431ef5([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]),_0x2e9efb=0x3dffc4e1,_0x3a5c02=0x3df8b039^_0x2e9efb,_0x154d89=window[_0x431ef5([0x44,0x61,0x74,0x65])][_0x431ef5([0x6e,0x6f,0x77])](),_0x308bbf=_0x44b6bb[_0x431ef5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4840ec=new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eb267=>{_0x308bbf[_0x431ef5([0x6f,0x6e,0x63,0x65])](_0x431ef5([0x72,0x65,0x61,0x64,0x79]),_0x5eb267);}),_0x4f3d77={[_0x431ef5([0x6b,0x74,0x79])]:_0x431ef5([0x45,0x43]),[_0x431ef5([0x75,0x73,0x65])]:_0x431ef5([0x73,0x69,0x67]),[_0x431ef5([0x63,0x72,0x76])]:_0x431ef5([0x50,0x2d,0x32,0x35,0x36]),[_0x431ef5([0x78])]:_0x431ef5([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]),[_0x431ef5([0x79])]:_0x431ef5([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]),[_0x431ef5([0x61,0x6c,0x67])]:_0x431ef5([0x45,0x53,0x32,0x35,0x36])},_0x5528a7=_0x308bbf[_0x431ef5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x431ef5([0x67,0x65,0x74])](_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7e4c4b(){let _0x256970,_0x4130ae=null,_0x557d74=null;try{if(_0x5528a7==_0x431ef5([0x47,0x50,0x4c]))return _0x431ef5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x256970=_0x3b1abd(),!_0x256970)return _0x431ef5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x256970[_0x431ef5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x557d74=_0xb3cf47(_0x256970[_0x431ef5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x256970[_0x431ef5([0x6a,0x74,0x69])])),await _0x389479()?_0x481dbe()?_0x13cb66()?_0x431ef5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50de6f()?(_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431ef5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4130ae=_0x20db85(_0x431ef5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431ef5([0x74,0x72,0x69,0x61,0x6c])&&(_0x4130ae=_0x20db85(_0x431ef5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x274a6f()):_0x431ef5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x431ef5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x431ef5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x431ef5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13cb66(){const _0x15a246=[_0x431ef5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x431ef5([0x74,0x72,0x69,0x61,0x6c])][_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x154d89/0x3e8:0xe10*_0x3a5c02;return _0x256970[_0x431ef5([0x65,0x78,0x70])]<_0x15a246;}function _0x481dbe(){const _0x33d39c=_0x256970[_0x431ef5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33d39c&&(!!_0x33d39c[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431ef5([0x2a]))||!!_0x33d39c[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431ef5([0x41,0x49])));}function _0x50de6f(){const _0xa4c1b0=_0x46e7,_0x2ee15a=_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ee15a||0x0==_0x2ee15a[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x147155}=new URL(window[_0x431ef5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa4c1b0(0xff)]);if(_0x2ee15a[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147155))return!0x0;const _0x53c78b=_0x147155[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e]));return _0x2ee15a[_0x431ef5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3241c6=>_0x3241c6[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431ef5([0x2a])))[_0x431ef5([0x6d,0x61,0x70])](_0x454744=>_0x454744[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e])))[_0x431ef5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32669d=>_0x32669d[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53c78b[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431ef5([0x6d,0x61,0x70])](_0x3c58c2=>Array(_0x53c78b[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c58c2[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431ef5([0x66,0x69,0x6c,0x6c])](_0x3c58c2[0x0]===_0x431ef5([0x2a])?_0x431ef5([0x2a]):'')[_0x431ef5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c58c2))[_0x431ef5([0x73,0x6f,0x6d,0x65])](_0x474442=>_0x53c78b[_0x431ef5([0x65,0x76,0x65,0x72,0x79])]((_0x158441,_0x3f50d3)=>_0x474442[_0x3f50d3]===_0x158441||_0x474442[_0x3f50d3]===_0x431ef5([0x2a])));}function _0x274a6f(){return _0x4130ae&&_0x557d74?new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5329d9,_0x5d8e37)=>{_0x4130ae[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x5329d9,_0x5d8e37),_0x557d74[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x320a96=>{_0x320a96!=_0x431ef5([0x56,0x61,0x6c,0x69,0x64])&&_0x5329d9(_0x320a96);},_0x5d8e37);}):_0x4130ae||_0x557d74||_0x431ef5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb3cf47(_0x14e794,_0x56a4aa){return new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d1777=>{if(_0x1f9b7a())return _0x4d1777(_0x431ef5([0x56,0x61,0x6c,0x69,0x64]));_0x274774(),_0x308bbf[_0x431ef5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x431ef5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d6f77=!0x1;const _0x30838b=_0x5eded6();function _0x480623(_0x2ca263){return!!_0x2ca263&&(typeof _0x2ca263===_0x431ef5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ca263===_0x431ef5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ca263[_0x431ef5([0x74,0x68,0x65,0x6e])]===_0x431ef5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ca263[_0x431ef5([0x63,0x61,0x74,0x63,0x68])]===_0x431ef5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fd2d2(_0x405ba0){_0x5e042d(_0x405ba0)[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x115603=>{if(!_0x115603||_0x115603[_0x431ef5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x431ef5([0x6f,0x6b]))return _0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a4e93(_0x856c7d(_0x30838b+_0x56a4aa))!=_0x115603[_0x431ef5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x431ef5([0x56,0x61,0x6c,0x69,0x64]);})[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x4f5bc7=>(_0x555428(),_0x4f5bc7),()=>{const _0x41698a=_0x20aef5();return null==_0x41698a?(_0x555428(),_0x431ef5([0x56,0x61,0x6c,0x69,0x64])):_0x431ef5(_0x154d89-_0x41698a>(0x19f340e1^_0x2e9efb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x4d1777)[_0x431ef5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d1777(_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe7f52a=0x3dc92a61^_0x2e9efb;function _0x555428(){const _0x50d34b=_0x431ef5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a4e93(_0x856c7d(_0x14e794)),_0x4a4d4c=_0x11625a(_0x4a4e93(window[_0x431ef5([0x4d,0x61,0x74,0x68])][_0x431ef5([0x63,0x65,0x69,0x6c])](_0x154d89/_0xe7f52a)));window[_0x431ef5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431ef5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50d34b,_0x4a4d4c);}function _0x20aef5(){const _0x2e0b26=_0x431ef5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a4e93(_0x856c7d(_0x14e794)),_0xa1ece7=window[_0x431ef5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431ef5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e0b26);return _0xa1ece7?window[_0x431ef5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11625a(_0xa1ece7),0x10)*_0xe7f52a:null;}function _0x5e042d(_0x4b2774){return new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29b88f,_0x4ca795)=>{_0x4b2774[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x29b88f,_0x4ca795),window[_0x431ef5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ca795,0x3dfe1021^_0x2e9efb);});}}_0x308bbf[_0x431ef5([0x6f,0x6e])](_0x431ef5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c3813,_0x5c9030)=>{if(_0x5c9030[0x0]!=_0x14e794)return _0x4d1777(_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c9030[0x1]={..._0x5c9030[0x1],[_0x431ef5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30838b};},{[_0x431ef5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431ef5([0x68,0x69,0x67,0x68])}),_0x308bbf[_0x431ef5([0x6f,0x6e])](_0x431ef5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d8775=>{_0x480623(_0x4d8775[_0x431ef5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d6f77=!0x0,_0x2fd2d2(_0x4d8775[_0x431ef5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x431ef5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431ef5([0x6c,0x6f,0x77])}),_0x4840ec[_0x431ef5([0x74,0x68,0x65,0x6e])](()=>{_0x4d6f77||_0x4d1777(_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f9b7a(){return _0x308bbf[_0x431ef5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431ef5([0x76,0x69,0x65,0x77])][_0x431ef5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x431ef5([0x61,0x75,0x74,0x6f]);}function _0x274774(){_0x308bbf[_0x431ef5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431ef5([0x76,0x69,0x65,0x77])][_0x431ef5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x431ef5([0x61,0x75,0x74,0x6f]);}}function _0x20db85(_0x70c8cb){const _0x594c31=[new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x72bdf0=>setTimeout(_0x72bdf0,0x3df6fa2d^_0x2e9efb)),_0x4840ec[_0x431ef5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x359f55=>{let _0x22a1d9=0x0;_0x308bbf[_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c])][_0x431ef5([0x6f,0x6e])](_0x431ef5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58fd2c,_0x1d72d4)=>{_0x1d72d4[0x0][_0x431ef5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22a1d9++,_0x22a1d9==(0x3dffc519^_0x2e9efb)&&(_0x359f55(),_0x58fd2c[_0x431ef5([0x6f,0x66,0x66])]());});}))];return window[_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x431ef5([0x72,0x61,0x63,0x65])](_0x594c31)[_0x431ef5([0x74,0x68,0x65,0x6e])](()=>_0x70c8cb);}async function _0x569ef8(){await _0x4840ec,_0x308bbf[_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c])][_0x431ef5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55dc8c,_0x308bbf[_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c])][_0x431ef5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55dc8c,_0x308bbf[_0x431ef5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b1663(_0x216dc9){const _0x1ba661=_0x38349f();_0x308bbf[_0x1ba661]=_0x431ef5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x216dc9,_0x216dc9!=_0x431ef5([0x56,0x61,0x6c,0x69,0x64])&&_0x569ef8();}function _0x38349f(){const _0x492343=window[_0x431ef5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x431ef5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x431ef5([0x6e,0x6f,0x77])]())[_0x431ef5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x431ef5([0x2e]),'');let _0x4ec9d4=_0x431ef5([0x6e]);for(let _0x485119=0x0;_0x485119<_0x492343[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x485119+=0x2){let _0x37b4be=window[_0x431ef5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x492343[_0x431ef5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x485119,_0x485119+0x2));_0x37b4be>=_0x5e65b6[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37b4be-=_0x5e65b6[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ec9d4+=_0x5e65b6[_0x37b4be];}return _0x4ec9d4;}function _0x3b1abd(){const _0x55ed77=_0x5528a7[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e]));if(0x3!=_0x55ed77[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x144896(_0x55ed77[0x1]);function _0x144896(_0x436f99){const _0x5c66bf=_0x4dfd50(_0x436f99);return _0x5c66bf&&_0x44b809()?_0x5c66bf:null;function _0x44b809(){const _0x50c2ed=_0x5c66bf[_0x431ef5([0x6a,0x74,0x69])],_0x160d39=window[_0x431ef5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50c2ed[_0x431ef5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50c2ed[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x428cd6={..._0x5c66bf,[_0x431ef5([0x6a,0x74,0x69])]:_0x50c2ed[_0x431ef5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50c2ed[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x428cd6[_0x431ef5([0x76,0x63])],_0x856c7d(_0x428cd6)==_0x160d39;}}}async function _0x389479(){let _0x465c83=!0x0;try{const _0x579326=_0x5528a7[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e])),[_0x432239,_0x41887d,_0xa6464a]=_0x579326;return _0x45496a(_0x432239),await _0x22b86c(_0x432239,_0x41887d,_0xa6464a),_0x465c83;}catch{return!0x1;}function _0x45496a(_0x264d6c){const _0x5edf10=_0x4dfd50(_0x264d6c);_0x5edf10&&_0x5edf10[_0x431ef5([0x61,0x6c,0x67])]==_0x431ef5([0x45,0x53,0x32,0x35,0x36])||(_0x465c83=!0x1);}async function _0x22b86c(_0x183391,_0x645652,_0x31f3bd){const _0x1e9e30=window[_0x431ef5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x431ef5([0x66,0x72,0x6f,0x6d])](_0x120e0e(_0x31f3bd),_0x37bd53=>_0x37bd53[_0x431ef5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cb994=new window[(_0x431ef5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x431ef5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x183391+_0x431ef5([0x2e])+_0x645652),_0x10e2e5=window[_0x431ef5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x431ef5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10e2e5)return;const _0xee9318=await _0x10e2e5[_0x431ef5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x431ef5([0x6a,0x77,0x6b]),_0x4f3d77,{[_0x431ef5([0x6e,0x61,0x6d,0x65])]:_0x431ef5([0x45,0x43,0x44,0x53,0x41]),[_0x431ef5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x431ef5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x431ef5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10e2e5[_0x431ef5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x431ef5([0x6e,0x61,0x6d,0x65])]:_0x431ef5([0x45,0x43,0x44,0x53,0x41]),[_0x431ef5([0x68,0x61,0x73,0x68])]:{[_0x431ef5([0x6e,0x61,0x6d,0x65])]:_0x431ef5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xee9318,_0x1e9e30,_0x3cb994)||(_0x465c83=!0x1);}}function _0x4dfd50(_0x191708){return _0x191708[_0x431ef5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x431ef5([0x65,0x79]))?JSON[_0x431ef5([0x70,0x61,0x72,0x73,0x65])](_0x120e0e(_0x191708)):null;}function _0x120e0e(_0x51d835){return window[_0x431ef5([0x61,0x74,0x6f,0x62])](_0x51d835[_0x431ef5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x431ef5([0x2b]))[_0x431ef5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x431ef5([0x2f])));}function _0x856c7d(_0x1f71eb){let _0x421f73=0x1505;function _0x187bd3(_0x2978dc){for(let _0x27d7b2=0x0;_0x27d7b2<_0x2978dc[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27d7b2++){const _0x47520f=_0x2978dc[_0x431ef5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27d7b2);_0x421f73=(_0x421f73<<0x5)+_0x421f73+_0x47520f,_0x421f73&=_0x421f73;}}function _0x370a6e(_0x4b0045){Array[_0x431ef5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b0045)?_0x4b0045[_0x431ef5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x370a6e):_0x4b0045&&typeof _0x4b0045==_0x431ef5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x431ef5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b0045)[_0x431ef5([0x73,0x6f,0x72,0x74])]()[_0x431ef5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5502ad,_0x178041])=>{_0x187bd3(_0x5502ad),_0x370a6e(_0x178041);}):_0x187bd3(window[_0x431ef5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b0045));}return _0x370a6e(_0x1f71eb),_0x421f73>>>0x0;}function _0x4a4e93(_0x472553){return _0x472553[_0x431ef5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x431ef5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x431ef5([0x30]));}function _0x11625a(_0x562607){return _0x562607[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x431ef5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x431ef5([0x6a,0x6f,0x69,0x6e])]('');}function _0x55dc8c(){}function _0x431ef5(_0x223fb0){const _0x42b717=_0x46e7;return _0x223fb0[_0x42b717(0xd4)](_0x4de6b5=>String[_0x42b717(0xe9)](_0x4de6b5))[_0x42b717(0xfb)]('');}_0x4b1663(await _0x7e4c4b());}(this);}[_0x70adfb(0xed)](){const _0x82f3f0=_0x70adfb,_0x38c5c5=this[_0x82f3f0(0xbd)][_0x82f3f0(0xe7)];_0x38c5c5[_0x82f3f0(0xec)](_0x1d1772=>{const _0x32a123=_0x82f3f0,_0x1e43f9=_0x38c5c5[_0x32a123(0x105)][_0x32a123(0xcf)][_0x32a123(0x11c)]();let _0x1a333a=0x0;for(const _0x5928b3 of _0x1e43f9){const _0x43b560=B+':'+_0x1a333a;if(_0x38c5c5[_0x32a123(0x10b)][_0x32a123(0x10f)](_0x43b560))_0x1d1772[_0x32a123(0xd7)](_0x43b560,{'range':_0x5928b3});else{if(_0x5928b3[_0x32a123(0x110)][_0x32a123(0xc3)]){const _0x13ded1=_0x5928b3[_0x32a123(0x110)][_0x32a123(0x114)](({item:_0x26cd30})=>!_0x38c5c5[_0x32a123(0xe4)][_0x32a123(0xfa)](_0x26cd30),{'boundaries':_0x5928b3});_0x1d1772[_0x32a123(0x129)](_0x43b560,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d1772[_0x32a123(0x11f)](_0x13ded1,_0x5928b3[_0x32a123(0x111)])});}else _0x1d1772[_0x32a123(0x129)](_0x43b560,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5928b3});}_0x1a333a++;}});}[_0x70adfb(0x123)](){const _0x5973db=_0x70adfb,_0x20f191=this[_0x5973db(0xbd)][_0x5973db(0xe7)],_0xc7a86c=Array[_0x5973db(0xef)](this[_0x5973db(0xbd)][_0x5973db(0xe7)][_0x5973db(0x10b)][_0x5973db(0xe5)](B));_0xc7a86c[_0x5973db(0xfc)]&&_0x20f191[_0x5973db(0xec)](_0x230629=>{const _0x10e4da=_0x5973db;_0xc7a86c[_0x10e4da(0x11e)](_0xbefad6=>{const _0x4280c2=_0x10e4da;_0x230629[_0x4280c2(0xbc)](_0xbefad6);});});}[_0x70adfb(0x10c)](_0x362dd5,_0x42b015){const _0x35554b=_0x70adfb,_0x280ca0=this[_0x35554b(0xc4)](),_0x415e6d=_0x42b015||_0x280ca0[_0x35554b(0xbb)]();this[_0x35554b(0xbd)][_0x35554b(0xe7)][_0x35554b(0x125)](_0x415e6d)&&this[_0x35554b(0xbd)][_0x35554b(0xe7)][_0x35554b(0xec)](_0x45f06a=>{const _0x48c5a7=_0x35554b;this[_0x48c5a7(0x123)](),_0x42b015||this[_0x48c5a7(0xf3)](_0x45f06a,_0x280ca0),this[_0x48c5a7(0xe2)]({'insertAt':_0x415e6d,'writer':_0x45f06a,'html':_0x362dd5});});}[_0x70adfb(0x103)](_0x369cb1){const _0x37ce22=_0x70adfb,{model:_0x2f4293}=this[_0x37ce22(0xbd)],_0x5bf1f8=this[_0x37ce22(0xc4)]();_0x2f4293[_0x37ce22(0xec)](()=>{const _0x1b69e4=_0x37ce22,_0x3a19e7=this[_0x1b69e4(0x112)](_0x369cb1,_0x5bf1f8)||this[_0x1b69e4(0x10a)](_0x5bf1f8);this[_0x1b69e4(0x10c)](_0x369cb1,_0x3a19e7);});}[_0x70adfb(0xc4)](){const _0x22f411=_0x70adfb,_0x4d3149=this[_0x22f411(0xbd)][_0x22f411(0xe7)],_0x3f995d=Array[_0x22f411(0xef)](_0x4d3149[_0x22f411(0x10b)][_0x22f411(0xe5)](B))[_0x22f411(0xd4)](_0x384065=>_0x384065[_0x22f411(0xe6)]());return _0x4d3149[_0x22f411(0x108)](_0x3f995d);}[_0x70adfb(0xe2)]({writer:_0xcae92,html:_0x3d1a33,insertAt:_0x171f98}){const _0x23b111=_0x70adfb,{view:_0x25e1da}=this[_0x23b111(0xbd)][_0x23b111(0xc6)],_0x32f1bf=this[_0x23b111(0xbd)][_0x23b111(0xcb)][_0x23b111(0x101)](_0x1a5419),_0x3c5f6b=new P();_0x3c5f6b[_0x23b111(0x124)](_0x23b111(0x116),_0x3d1a33);const _0xcdc338=new ClipboardEvent(_0x23b111(0xf7),{'clipboardData':_0x3c5f6b}),_0x2fb414=new _0xde72bc(_0x25e1da,_0xcdc338,{'dataTransfer':new _0x511870(_0x3c5f6b)});_0xcae92[_0x23b111(0xc9)](_0x171f98);const _0x2fc8e0=(_0x2fb8e5,_0x5945e0)=>{const _0x1326ce=_0x23b111;_0x5945e0[_0x1326ce(0x119)]&&_0xcae92[_0x1326ce(0xc9)](_0x5945e0[_0x1326ce(0x119)]);};_0x32f1bf[_0x23b111(0xe3)](_0x23b111(0xe1),_0x2fc8e0,{'priority':_0x23b111(0xf5)}),_0x25e1da[_0x23b111(0x105)][_0x23b111(0xea)](_0x23b111(0xf7),_0x2fb414),_0x32f1bf[_0x23b111(0xc2)](_0x23b111(0xe1),_0x2fc8e0);}[_0x70adfb(0x10a)](_0x1a2801){const _0x496a87=_0x70adfb,{model:_0x3dab95}=this[_0x496a87(0xbd)],_0x79e3eb=Array[_0x496a87(0xef)](_0x1a2801[_0x496a87(0xf2)]());return _0x79e3eb[_0x496a87(0xfc)]?_0x3dab95[_0x496a87(0xbf)](_0x79e3eb[_0x496a87(0x122)]()):_0x1a2801[_0x496a87(0x104)]();}[_0x70adfb(0x112)](_0x28b591,_0x4f8b7e){const _0x1c7e5f=_0x70adfb,{model:_0x5f054d,plugins:_0x16e88a}=this[_0x1c7e5f(0xbd)];if(_0x16e88a[_0x1c7e5f(0x10f)](_0x1c7e5f(0x11a))){const _0x1c1d20=_0x16e88a[_0x1c7e5f(0x101)](_0x1c7e5f(0x11a))[_0x1c7e5f(0xeb)](_0x4f8b7e);if(_0x1c1d20[_0x1c7e5f(0xfc)]){const _0x432609=this[_0x1c7e5f(0xcc)](_0x28b591),_0x327f31=this[_0x1c7e5f(0x102)](_0x1c1d20,_0x432609);return _0x5f054d[_0x1c7e5f(0xf4)](_0x327f31,0x0);}}return null;}[_0x70adfb(0xcc)](_0x476e9e){const _0x44e4af=_0x70adfb,_0x5544f7=this[_0x44e4af(0xbd)][_0x44e4af(0xcb)][_0x44e4af(0x101)](_0x44e4af(0x11a)),_0x34f8d6=this[_0x44e4af(0xbd)][_0x44e4af(0xde)][_0x44e4af(0xc0)](_0x476e9e),_0xee92b3=Array[_0x44e4af(0xef)](_0x34f8d6[_0x44e4af(0xc5)]())[_0x44e4af(0xdd)](_0x56dd38=>_0x56dd38['is'](_0x44e4af(0xd0),_0x44e4af(0x120)));let _0x2c74ec=0x0;return _0xee92b3[_0x44e4af(0x11e)](_0x392cab=>{const _0x47d82a=_0x44e4af;_0x2c74ec+=_0x5544f7[_0x47d82a(0xf8)](_0x392cab);}),_0x2c74ec;}[_0x70adfb(0x102)](_0xfafb6,_0x36c52c){const _0x46d810=_0x70adfb,_0x39ff74=this[_0x46d810(0xbd)][_0x46d810(0xcb)][_0x46d810(0x101)](_0x46d810(0x11a)),_0x522823=_0x39ff74[_0x46d810(0xfe)](_0xfafb6),_0xa6c84e=_0x39ff74[_0x46d810(0xce)](_0xfafb6),_0x55d8d3=_0x522823[_0x46d810(0xd2)]+0x1,_0x592b9f=_0xa6c84e[_0x46d810(0xd3)],_0x2db0c4=_0xfafb6[0x0][_0x46d810(0xe8)](_0x46d810(0x120));for(let _0x2960c0=0x0;_0x2960c0<_0x36c52c;_0x2960c0++)_0x39ff74[_0x46d810(0x121)](_0x2db0c4,{'at':_0x55d8d3});return _0x2db0c4[_0x46d810(0xd6)](_0x55d8d3)[_0x46d810(0xd6)](_0x592b9f);}[_0x70adfb(0xf3)](_0x548312,_0x4ad1ba){const _0x346731=_0x70adfb,{plugins:_0x23da04}=this[_0x346731(0xbd)],{model:_0x28d5fd}=_0x548312;if(!_0x23da04[_0x346731(0x10f)](_0x346731(0x11a)))return;_0x23da04[_0x346731(0x101)](_0x346731(0x11a))[_0x346731(0xeb)](_0x4ad1ba)[_0x346731(0xfc)]&&_0x28d5fd[_0x346731(0x118)](_0x4ad1ba);}}function _0x1057(){const _0x3fe0ce=['getRowIndexes','href','ck-fake-ai-selection_collapsed','get','_createEmptyTableRows','insertContentBelow','getLastPosition','document','ai.assistant.useTheme','AIAssistantEditing','createSelection','conversion','_getDefaultInsertBelowPosition','markers','insertContent','config','1111FhuEAN','has','start','end','_prepareTableInsertBelowPosition','markerRange','getLastMatchingPosition','isCollapsed','text/html','1074YZhpne','deleteContent','resultRange','TableUtils','ai-ui','getRanges','addClass','forEach','createRange','table','insertRows','pop','hideFakeVisualSelection','setData','canEditAt','369925OOsHDa','143196WXEmUJ','isPremiumPlugin','addMarker','push','getFirstRange','removeMarker','editor','afterInit','createPositionAfter','parse','1402261ojyzzZ','off','isAtEnd','_getAISelection','getChildren','editing','32mHxqFu','editingDowncast','setSelection','createUIElement','plugins','_getTableRowCountFromContent','span','getColumnIndexes','selection','element','markerToElement','last','first','map','90nuDBYA','getChild','updateMarker','DataTransfer','pluginName','for','248139fYaDSH','isOfficialPlugin','filter','data','1538328uMRmFe','611271JKQlfV','contentInsertion','_pasteHTMLUsingClipboard','once','schema','getMarkersGroup','getRange','model','findAncestor','fromCharCode','fire','getSelectedTableCells','change','showFakeVisualSelection','ck-ai-assistant-ui_theme','from','ck-fake-ai-selection','6aGrXMu','getSelectedBlocks','_resetContentOfSelectedTableCells','createPositionAt','lowest','markerToHighlight','paste','getRows','951tZeLKL','isContent','join','length','init'];_0x1057=function(){return _0x3fe0ce;};return _0x1057();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x242380=_0x533e;function _0x533e(_0x255172,_0x30c1ce){const _0x1176d1=_0x1176();return _0x533e=function(_0x533e75,_0x16a6c1){_0x533e75=_0x533e75-0xe6;let _0xe8037d=_0x1176d1[_0x533e75];return _0xe8037d;},_0x533e(_0x255172,_0x30c1ce);}(function(_0xa4264a,_0x2e68f8){const _0x42c2b0=_0x533e,_0x253400=_0xa4264a();while(!![]){try{const _0x4f7857=parseInt(_0x42c2b0(0x122))/0x1*(-parseInt(_0x42c2b0(0x134))/0x2)+-parseInt(_0x42c2b0(0x120))/0x3*(-parseInt(_0x42c2b0(0x195))/0x4)+parseInt(_0x42c2b0(0x15f))/0x5+-parseInt(_0x42c2b0(0x147))/0x6*(-parseInt(_0x42c2b0(0x171))/0x7)+parseInt(_0x42c2b0(0xf6))/0x8+-parseInt(_0x42c2b0(0xe9))/0x9*(parseInt(_0x42c2b0(0x177))/0xa)+parseInt(_0x42c2b0(0x143))/0xb;if(_0x4f7857===_0x2e68f8)break;else _0x253400['push'](_0x253400['shift']());}catch(_0x5808ee){_0x253400['push'](_0x253400['shift']());}}}(_0x1176,0x67a4e));import{Plugin as _0x33bc2a}from'ckeditor5/src/core.js';import{IconMagicWand as _0x15d1f6,IconRobotPencil as _0x26a6ac}from'ckeditor5/src/icons.js';import{first as _0x5b0d27,CKEditorError as _0x1bda40}from'ckeditor5/src/utils.js';import{createDropdown as _0x2cf320,addMenuToDropdown as _0x50ca9a,ButtonView as _0x1de4a3,MenuBarMenuListItemButtonView as _0x51a049,Dialog as _0x3d0c59,DialogViewPosition as _0x5a316f,MenuBarMenuView as _0x4f7934,MenuBarMenuListView as _0x577c8d,MenuBarMenuListItemView as _0x28e5d7}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x445e28,UNGROUPED_COMMANDS_GROUP_ID as _0x2fbc7f}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x19b752}from'./aiassistantediting.js';import{AIAdapter as _0x4a67d2}from'./adapters/aiadapter.js';import{getTranslation as _0x2f87f7}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4870c9}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x25bfb0}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x113205}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5310f3}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const l=globalThis[_0x242380(0x17b)];import{ClipboardMarkersUtils as _0x471c05}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xfbe513,ViewDataTransfer as _0x1842ac}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x33bc2a{[_0x242380(0x12f)];[_0x242380(0x148)];[_0x242380(0x138)];[_0x242380(0x12c)];[_0x242380(0x14f)];[_0x242380(0xfa)];[_0x242380(0x168)]='';static get[_0x242380(0x160)](){const _0x160006=_0x242380;return _0x160006(0x154);}static get[_0x242380(0x164)](){return!0x0;}static get[_0x242380(0xf2)](){return!0x0;}static get[_0x242380(0x162)](){return[_0x471c05,_0x19b752,_0x4a67d2,_0x3d0c59];}constructor(_0x18c3bb){const _0x3fa5e5=_0x242380;super(_0x18c3bb),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x196),[_0x3fa5e5(0x12b),_0x3fa5e5(0x125),_0x3fa5e5(0x193)]),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x102),''),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x136),!0x0),this[_0x3fa5e5(0x168)]=_0x3fa5e5(0xef)+(_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x14d)](_0x3fa5e5(0x136))?_0x3fa5e5(0x150):'');}[_0x242380(0x13d)](){const _0x14b756=_0x242380,{editor:_0x12c790}=this;this[_0x14b756(0x14f)]=_0x12c790[_0x14b756(0xf8)][_0x14b756(0x14d)](_0x4a67d2),this[_0x14b756(0x138)]=_0x12c790[_0x14b756(0xf8)][_0x14b756(0x14d)](_0x3d0c59),this[_0x14b756(0x12c)]=null,this[_0x14b756(0x107)]=this[_0x14b756(0xfd)]();const _0x3aca94=new _0x4870c9(_0x12c790,Array[_0x14b756(0x194)](this[_0x14b756(0x107)][_0x14b756(0x15b)]()));_0x12c790[_0x14b756(0x109)][_0x14b756(0xea)](_0x14b756(0xe7),_0x3aca94),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x16f),_0x5d26fb=>{const _0x1020c3=_0x14b756,_0x365343=_0x2cf320(_0x5d26fb);return _0x365343[_0x1020c3(0x16b)]({'class':_0x1020c3(0x14b)+this[_0x1020c3(0x168)]}),_0x365343[_0x1020c3(0x103)][_0x1020c3(0x16b)]({'label':_0x2f87f7(_0x5d26fb,_0x1020c3(0x191)),'icon':_0x15d1f6,'tooltip':!0x0}),_0x365343['on'](_0x1020c3(0x127),_0x4ac3ed=>this[_0x1020c3(0x132)](_0x4ac3ed[_0x1020c3(0xf9)]['id'])),_0x50ca9a(_0x365343,_0x12c790['ui'][_0x1020c3(0x18e)][_0x1020c3(0x146)],function(_0xd12cf0){const _0x24fb7d=_0x1020c3,_0x567e4c=_0x445e28(_0xd12cf0[_0x24fb7d(0x152)][_0x24fb7d(0x14d)](_0x24fb7d(0xff)),_0xd12cf0[_0x24fb7d(0x108)]),_0x11ea46=U(_0xd12cf0,_0x567e4c)[_0x24fb7d(0x140)](_0x46a4de=>_0x46a4de[_0x24fb7d(0x109)][_0x24fb7d(0x10f)]);if(0x1===_0x11ea46[_0x24fb7d(0x10f)])return U(_0xd12cf0,_0x11ea46[0x0][_0x24fb7d(0x109)])[_0x24fb7d(0x156)](_0x3fa204=>({'id':_0x3fa204['id'],'label':_0x3fa204[_0x24fb7d(0x11f)]}));return _0x11ea46[_0x24fb7d(0x156)](_0x12dc2a=>{const _0x4322ce=_0x24fb7d,{groupId:_0x2d63ef,groupLabel:_0x546eca,commands:_0x56185b}=_0x12dc2a,_0x38ff90=U(_0xd12cf0,_0x56185b)[_0x4322ce(0x156)](_0x1dc39e=>({'id':_0x1dc39e['id'],'label':_0x1dc39e[_0x4322ce(0x11f)]}));return{'id':_0x2d63ef,'menu':_0x546eca||_0x2d63ef,'children':_0x38ff90};});}(_0x12c790),{'ariaLabel':_0x2f87f7(_0x5d26fb,_0x1020c3(0x191))}),_0x365343[_0x1020c3(0x172)][_0x1020c3(0xe6)]=_0x1020c3(0x14b)+this[_0x1020c3(0x168)],_0x3aca94['on'](_0x1020c3(0x176),_0x4defb8),_0x365343[_0x1020c3(0x172)][_0x1020c3(0x126)](_0x1020c3(0x187),_0x4defb8),_0x365343;function _0x4defb8(){const _0x3596ce=_0x1020c3;_0x365343[_0x3596ce(0x101)]=_0x3aca94[_0x3596ce(0x10c)][_0x3596ce(0x10f)]>0x0;for(const _0x1b158a of _0x365343[_0x3596ce(0x172)][_0x3596ce(0x11c)])_0x1b158a[_0x3596ce(0x101)]=_0x3aca94[_0x3596ce(0x10c)][_0x3596ce(0x155)](_0x1b158a['id']);}}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0xed),_0x18bebf=>{const _0x1514b3=_0x14b756,_0x5e9fd8=new _0x4f7934(_0x18bebf);_0x5e9fd8[_0x1514b3(0x103)][_0x1514b3(0x16b)]({'label':_0x2f87f7(_0x18bebf,_0x1514b3(0x191)),'icon':_0x15d1f6}),_0x5e9fd8[_0x1514b3(0x13e)](_0x1514b3(0x101))['to'](_0x3aca94,_0x1514b3(0x10c),_0x2c9c82=>_0x2c9c82[_0x1514b3(0x10f)]>0x0);const _0x105554=_0x445e28(_0x12c790[_0x1514b3(0x152)][_0x1514b3(0x14d)](_0x1514b3(0xff)),_0x18bebf);return this[_0x1514b3(0x104)](_0x3aca94,_0x5e9fd8,_0x105554,_0x2340e8=>this[_0x1514b3(0x132)](_0x2340e8)),_0x5e9fd8;}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x17d),()=>{const _0xb1b0e9=_0x14b756,_0x482735=this[_0xb1b0e9(0x133)](_0x1de4a3);return _0x482735[_0xb1b0e9(0x16b)]({'tooltip':!0x0,'class':_0xb1b0e9(0x169)+this[_0xb1b0e9(0x168)]}),_0x482735;}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x13a),()=>{const _0x355a9a=_0x14b756,_0x2e0443=this[_0x355a9a(0x133)](_0x51a049);return _0x2e0443[_0x355a9a(0x16b)]({'role':_0x355a9a(0x149)}),_0x2e0443;}),this[_0x14b756(0x12f)]=this[_0x14b756(0x141)][_0x14b756(0x152)][_0x14b756(0x14d)](_0x14b756(0x12f));const _0x49925d=this[_0x14b756(0x141)];this[_0x14b756(0x148)]=setInterval(()=>{const _0x59473b=_0x14b756;let _0x4a9e5e;for(const _0x107274 in _0x49925d){const _0x12d04a=_0x107274,_0x119a04=_0x49925d[_0x12d04a];if(_0x59473b(0x17a)==_0x119a04||_0x59473b(0x192)==_0x119a04||_0x59473b(0x18c)==_0x119a04||_0x59473b(0x17e)==_0x119a04||_0x59473b(0x175)==_0x119a04||_0x59473b(0x13b)==_0x119a04||_0x59473b(0xfb)==_0x119a04||_0x59473b(0x186)==_0x119a04){delete _0x49925d[_0x12d04a],_0x4a9e5e=_0x119a04,clearInterval(this[_0x59473b(0x148)]),this[_0x59473b(0x148)]=void 0x0;break;}}_0x59473b(0x192)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0xf0)),_0x59473b(0x18c)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10a)),_0x59473b(0x17e)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x119)),_0x59473b(0x175)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10e),_0x59473b(0x173)),_0x59473b(0x13b)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10b)),_0x59473b(0xfb)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x145)),_0x59473b(0x186)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0xe8));},0x3e8);}[_0x242380(0x128)](){const _0x4d8545=_0x242380;super[_0x4d8545(0x128)](),this[_0x4d8545(0x148)]&&clearInterval(this[_0x4d8545(0x148)]);}[_0x242380(0x159)](_0x4749c0='',_0x557aa1='',_0x55b37c=_0x242380(0x178)){const _0x2c57e9=_0x242380,_0x3f3ace=this[_0x2c57e9(0x141)],_0x21399e=_0x3f3ace[_0x2c57e9(0x124)][_0x2c57e9(0x18e)],_0x2eba11=_0x3f3ace[_0x2c57e9(0xf8)][_0x2c57e9(0x14d)](_0x19b752),_0x26f6f5=_0x3f3ace[_0x2c57e9(0xf8)][_0x2c57e9(0x14d)](_0x471c05);_0x2eba11[_0x2c57e9(0x121)]();const _0x587d0e=new l(),_0xa9d7cd=new ClipboardEvent(_0x2c57e9(0x142),{'clipboardData':_0x587d0e}),_0x49d0c7=new _0x1842ac(_0x587d0e),_0xf5a2dc=new _0xfbe513(_0x21399e,_0xa9d7cd,{'dataTransfer':_0x49d0c7});_0x26f6f5[_0x2c57e9(0x15a)](_0x2c57e9(0xf3),()=>{const _0x5e3436=_0x2c57e9;_0x21399e[_0x5e3436(0x10d)][_0x5e3436(0x16c)](_0x5e3436(0x142),_0xf5a2dc);}),this[_0x2c57e9(0x12c)]||(this[_0x2c57e9(0x117)](),this[_0x2c57e9(0xfa)]=new _0x25bfb0(_0x3f3ace,this[_0x2c57e9(0x14f)][_0x2c57e9(0xeb)],this[_0x2c57e9(0x12c)]));let _0xb01be9=_0x49d0c7[_0x2c57e9(0x184)](_0x2c57e9(0x163));const _0x3af493=_0x3f3ace[_0x2c57e9(0x189)][_0x2c57e9(0x10d)][_0x2c57e9(0x14a)],_0x3c5d7b=Array[_0x2c57e9(0x194)](_0x3af493[_0x2c57e9(0x151)]());0x1===_0x3c5d7b[_0x2c57e9(0x10f)]&&_0x3c5d7b[0x0][_0x2c57e9(0x153)]&&!_0x3af493[_0x2c57e9(0x17c)]()&&''!==_0xb01be9[_0x2c57e9(0x16e)](/ /g,'')[_0x2c57e9(0x130)]()&&(_0xb01be9=_0x2c57e9(0x18b)+_0xb01be9+_0x2c57e9(0x15c)),this[_0x2c57e9(0xfa)][_0x2c57e9(0x181)]({'actionId':_0x55b37c,'query':_0x4749c0,'htmlContent':_0xb01be9,'label':_0x557aa1,'mainActionLabel':_0x5310f3[_0x3f3ace[_0x2c57e9(0x189)][_0x2c57e9(0x10d)][_0x2c57e9(0x14a)][_0x2c57e9(0xf1)]?_0x2c57e9(0xfe):_0x2c57e9(0xec)]}),_0x2c57e9(0x17d)!==this[_0x2c57e9(0x138)]['id']?this[_0x2c57e9(0x138)][_0x2c57e9(0xee)]({'id':_0x2c57e9(0x17d),'icon':_0x26a6ac,'title':_0x2f87f7(this[_0x2c57e9(0x141)][_0x2c57e9(0x108)],_0x2c57e9(0x11e)),'content':this[_0x2c57e9(0x12c)],'position':_0x5a316f[_0x2c57e9(0x11b)],'onShow':()=>{const _0x58cfb9=_0x2c57e9;this[_0x58cfb9(0x12c)][_0x58cfb9(0x18d)]();},'onHide':()=>{const _0x3d35f8=_0x2c57e9;this[_0x3d35f8(0xfa)][_0x3d35f8(0x165)](),_0x2eba11[_0x3d35f8(0x185)]();}}):this[_0x2c57e9(0x138)][_0x2c57e9(0x18e)][_0x2c57e9(0x11d)]||this[_0x2c57e9(0x138)][_0x2c57e9(0x18e)][_0x2c57e9(0x118)]();}[_0x242380(0x123)](){const _0x209c3b=_0x242380;this[_0x209c3b(0x138)][_0x209c3b(0x166)]();}[_0x242380(0xfd)](){const _0x2e99fc=_0x242380,_0x230163=new Map(),_0x35b7a6=_0x445e28(this[_0x2e99fc(0x141)][_0x2e99fc(0x152)][_0x2e99fc(0x14d)](_0x2e99fc(0xff)),this[_0x2e99fc(0x141)][_0x2e99fc(0x108)]);for(const _0x3992b7 of _0x35b7a6)for(const _0x59d4c7 of _0x3992b7[_0x2e99fc(0x109)])_0x230163[_0x2e99fc(0x16b)](_0x59d4c7['id'],{..._0x59d4c7,'groupId':_0x3992b7[_0x2e99fc(0x139)],'groupLabel':_0x3992b7[_0x2e99fc(0x18a)]||_0x3992b7[_0x2e99fc(0x139)]});return _0x230163;}[_0x242380(0x133)](_0x10eb19){const _0x33bee1=_0x242380,_0x5d6536=this[_0x33bee1(0x141)],_0x371706=_0x5d6536[_0x33bee1(0x109)][_0x33bee1(0x14d)](_0x33bee1(0xe7)),_0x15fc85=new _0x10eb19(_0x5d6536[_0x33bee1(0x108)]);return _0x15fc85[_0x33bee1(0x16b)]({'label':_0x2f87f7(_0x5d6536[_0x33bee1(0x108)],_0x33bee1(0x11e)),'icon':_0x26a6ac,'isToggleable':!0x0}),_0x15fc85[_0x33bee1(0x13e)](_0x33bee1(0x101))['to'](_0x371706),_0x15fc85[_0x33bee1(0x13e)](_0x33bee1(0x174))['to'](this[_0x33bee1(0x138)],'id',_0x558e8e=>_0x33bee1(0x17d)===_0x558e8e),this[_0x33bee1(0x112)](_0x15fc85,_0x33bee1(0x127),()=>{const _0x36eec9=_0x33bee1;_0x15fc85[_0x36eec9(0x174)]?this[_0x36eec9(0x123)]():_0x371706[_0x36eec9(0x127)]();}),_0x15fc85;}[_0x242380(0x117)](){const _0x47ed66=_0x242380,_0x441b5e=this[_0x47ed66(0x141)][_0x47ed66(0xf8)][_0x47ed66(0x14d)](_0x19b752);this[_0x47ed66(0x12c)]=new _0x113205(this[_0x47ed66(0x141)][_0x47ed66(0x108)],this[_0x47ed66(0x168)],this[_0x47ed66(0x141)][_0x47ed66(0x152)][_0x47ed66(0x14d)](_0x47ed66(0x102))),this[_0x47ed66(0x12c)]['on'](_0x47ed66(0x16a),()=>{const _0x4fd20e=_0x47ed66;this[_0x4fd20e(0x138)][_0x4fd20e(0x18e)][_0x4fd20e(0x11d)]||this[_0x4fd20e(0x138)][_0x4fd20e(0x18e)][_0x4fd20e(0x118)]();}),this[_0x47ed66(0x12c)][_0x47ed66(0x157)][_0x47ed66(0xf5)][_0x47ed66(0x179)]['on'](_0x47ed66(0x158),()=>{const _0x58ec2a=_0x47ed66;this[_0x58ec2a(0x138)][_0x58ec2a(0x18e)][_0x58ec2a(0x11d)]||this[_0x58ec2a(0x138)][_0x58ec2a(0x18e)][_0x58ec2a(0x118)]();}),this[_0x47ed66(0x112)](this[_0x47ed66(0x12c)],_0x47ed66(0x105),()=>{const _0xab56a4=_0x47ed66;_0x441b5e[_0xab56a4(0x131)](this[_0xab56a4(0xfa)][_0xab56a4(0x12e)]),this[_0xab56a4(0x123)]();}),this[_0x47ed66(0x112)](this[_0x47ed66(0x12c)],_0x47ed66(0x12a),()=>{const _0x127606=_0x47ed66;_0x441b5e[_0x127606(0x12a)](this[_0x127606(0xfa)][_0x127606(0x12e)]),this[_0x127606(0x123)]();}),this[_0x47ed66(0x167)]();}[_0x242380(0x167)](){const _0x5b2139=_0x242380,{locale:_0x1bdc22,ui:{ariaLiveAnnouncer:_0x491ca4}}=this[_0x5b2139(0x141)];this[_0x5b2139(0x12c)][_0x5b2139(0x114)]['on'](_0x5b2139(0x11a),(_0x3ac579,_0x15427e,_0x249889)=>{const _0x11c713=_0x5b2139,_0x5b6f0f=this[_0x11c713(0xfa)][_0x11c713(0x12e)];_0x249889?_0x491ca4[_0x11c713(0x188)](_0x2f87f7(_0x1bdc22,_0x11c713(0x100))):_0x5b6f0f&&_0x491ca4[_0x11c713(0x188)](_0x2f87f7(_0x1bdc22,_0x11c713(0x16d),_0x5b6f0f),{'politeness':_0x11c713(0x18f),'isUnsafeHTML':!0x0});}),this[_0x5b2139(0x12c)]['on'](_0x5b2139(0x144),(_0x205f44,_0x59589f,_0x2292f9)=>{const _0xc0109d=_0x5b2139;if(_0x2292f9){const _0x12b6ef=this[_0xc0109d(0x12c)][_0xc0109d(0x129)][_0xc0109d(0x15d)];_0x491ca4[_0xc0109d(0x188)](_0x2f87f7(_0x1bdc22,_0xc0109d(0x182),_0x12b6ef));}});}[_0x242380(0x132)](_0x4ac212){const _0x4d3909=_0x242380,_0x1c1c8d=this[_0x4d3909(0x107)][_0x4d3909(0x14d)](_0x4ac212),_0x33a237=this[_0x4d3909(0x141)],_0x3df905=_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x10d)][_0x4d3909(0x14a)],_0x594b=_0x33a237[_0x4d3909(0x109)][_0x4d3909(0x14d)](_0x4d3909(0xe7)),_0x5c473f=_0x33a237[_0x4d3909(0xf8)][_0x4d3909(0x14d)](_0x19b752),_0x2d7055=''+(_0x1c1c8d[_0x4d3909(0x139)]!==_0x2fbc7f?_0x1c1c8d[_0x4d3909(0x18a)]+':\x20':'')+_0x1c1c8d[_0x4d3909(0x11f)];if(!0x1!==_0x1c1c8d[_0x4d3909(0x137)]&&_0x3df905[_0x4d3909(0xf1)]){const _0x182582=_0x5b0d27(_0x3df905[_0x4d3909(0xfc)]())||_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x170)][_0x4d3909(0x113)](_0x3df905);_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x13f)](_0xd91102=>{const _0x48c959=_0x4d3909;_0xd91102[_0x48c959(0x110)](_0x182582,'in');});}_0x5c473f[_0x4d3909(0x121)](),_0x594b[_0x4d3909(0x127)](_0x1c1c8d[_0x4d3909(0x190)],_0x2d7055,_0x4d3909(0x135)+_0x4ac212);}[_0x242380(0x104)](_0x5b0cfb,_0x454348,_0x5e028f,_0x5545ec){const _0x4ddab7=_0x242380,_0x4b633a=this[_0x4ddab7(0x141)],_0x78742a=_0x4b633a[_0x4ddab7(0x108)],_0x22625b=new _0x577c8d(_0x78742a),_0x5538ac=U(_0x4b633a,_0x5e028f)[_0x4ddab7(0x140)](_0x36661a=>_0x36661a[_0x4ddab7(0x109)][_0x4ddab7(0x10f)]);0x1===_0x5538ac[_0x4ddab7(0x10f)]?this[_0x4ddab7(0x14e)]({'command':_0x5b0cfb,'commands':_0x5538ac[0x0][_0x4ddab7(0x109)],'parentMenuView':_0x454348,'onExecute':_0x5545ec})[_0x4ddab7(0x106)](_0x2d9c4b=>_0x22625b[_0x4ddab7(0x183)][_0x4ddab7(0xea)](_0x2d9c4b)):_0x5538ac[_0x4ddab7(0x106)](({groupId:_0x380fc5,groupLabel:_0x1a4330,commands:_0x2f1500})=>{const _0x176aa2=_0x4ddab7,_0x5235c2=new _0x28e5d7(_0x78742a,_0x454348),_0x46c96d=new _0x4f7934(_0x78742a),_0x44a147=new _0x577c8d(_0x78742a),_0x10c4a6=this[_0x176aa2(0x14e)]({'command':_0x5b0cfb,'commands':_0x2f1500,'parentMenuView':_0x46c96d,'onExecute':_0x5545ec});_0x46c96d[_0x176aa2(0x103)][_0x176aa2(0x16b)]({'label':_0x1a4330||_0x380fc5}),_0x46c96d[_0x176aa2(0x13c)](_0x176aa2(0x127))['to'](_0x454348),_0x44a147[_0x176aa2(0x183)][_0x176aa2(0xf7)](_0x10c4a6),_0x46c96d[_0x176aa2(0x161)][_0x176aa2(0x12d)][_0x176aa2(0xea)](_0x44a147),_0x5235c2[_0x176aa2(0x12d)][_0x176aa2(0xea)](_0x46c96d),_0x22625b[_0x176aa2(0x183)][_0x176aa2(0xea)](_0x5235c2);}),_0x454348[_0x4ddab7(0x161)][_0x4ddab7(0x12d)][_0x4ddab7(0xea)](_0x22625b);}[_0x242380(0x14e)]({command:_0x2fcf71,commands:_0x2a3282,parentMenuView:_0x1ad67b,onExecute:_0x53f175}){const _0x20fa18=_0x242380,_0x388352=this[_0x20fa18(0x141)],_0x3552e3=_0x388352[_0x20fa18(0x108)];return U(_0x388352,_0x2a3282)[_0x20fa18(0x156)](_0x46eaa9=>{const _0x5696ad=_0x20fa18,_0x2ad1bc=new _0x28e5d7(_0x3552e3,_0x1ad67b),_0x17e0d4=new _0x51a049(_0x3552e3);return _0x17e0d4[_0x5696ad(0x16b)]({'label':_0x46eaa9[_0x5696ad(0x11f)]}),_0x17e0d4[_0x5696ad(0x13c)](_0x5696ad(0x127))['to'](_0x1ad67b),_0x17e0d4['on'](_0x5696ad(0x127),()=>_0x53f175(_0x46eaa9['id'])),_0x17e0d4[_0x5696ad(0x13e)](_0x5696ad(0x101))['to'](_0x2fcf71,_0x5696ad(0x10c),_0x3205a6=>_0x3205a6[_0x5696ad(0x155)](_0x46eaa9['id'])),_0x2ad1bc[_0x5696ad(0x12d)][_0x5696ad(0xea)](_0x17e0d4),_0x2ad1bc;});}}function _0x1176(){const _0x59f8c2=['ai.assistant.commands','AI\x20is\x20writing','isEnabled','ai.assistant.contentAreaCssClass','buttonView','_populateMenuBarMenu','replaceContent','forEach','_commandDefinitions','locale','commands','expired','evaluationLimit','enabledCommandsIds','document','featureNotAllowed','length','setSelection','push','listenTo','getLimitElement','contentArea','ai-commands-config-order-collision','_showLicenseError','_initView','updatePosition','domainLimit','change:isProcessing','EDITOR_TOP_SIDE','buttons','wasMoved','AI\x20Assistant','label','670107pYhNKp','showFakeVisualSelection','56702PGmyAm','hideUI','editing','rawHtml','once','execute','destroy','errorView','insertContentBelow','media','_formView','children','currentContext','licenseKey','trim','insertContent','_onExecute','_createAIAssistantUIButton','22FsnXqN','command:','ai.assistant.useTheme','requiresContent','_dialog','groupId','menuBar:aiAssistant','aiLicenseKeyEvaluationLimit','delegate','init','bind','change','filter','editor','copy','8516750pSapaP','change:isError','trialLimit','body','12Msdxfk','_licenseKeyCheckInterval','menuitemcheckbox','selection','ck-ai-commands-dropdown\x20','sort','get','_getMenuBarGroupButtons','_aiAdapter','\x20ck-ai-assistant-ui_theme','getRanges','config','isFlat','AIAssistantUI','includes','map','promptView','update','showUI','_forceMarkersCopy','values','</p>','text','order','375630LOYhVT','pluginName','panelView','requires','text/html','isOfficialPlugin','reset','hide','_initAriaAiStatusChangeAnnouncements','_uiCssClasses','ck-ai-assistant-button\x20','change:value','set','fire','Generated\x20content:\x20%0','replace','aiCommands','schema','139769HhrutW','menuView','AIAssistant','isOn','aiLicenseKeyNotAllowed','change:enabledCommandsIds','5378080gKzPzi','custom','fieldView','aiLicenseKeyValid','DataTransfer','getSelectedElement','aiAssistant','aiLicenseKeyDomainLimit','define','componentFactory','updateView','Error\x20during\x20AI\x20content\x20generation:\x20%0','items','getData','hideFakeVisualSelection','aiLicenseKeyUsageLimit','render','announce','model','groupLabel','<p>','aiLicenseKeyExpired','focus','view','polite','prompt','AI\x20Commands','aiLicenseKeyInvalid','tableOfContents','from','4cLXHUL','ai.assistant.disabledElements','menuPanelClass','showAIAssistant','usageLimit','9TCyOCj','add','textAdapter','REPLACE','menuBar:aiCommands','show','ck-ai-assistant-ui','invalid','isCollapsed','isPremiumPlugin','comment','splice','queryView','3787016BvwVCE','addMany','plugins','source','_aiAssistantController','aiLicenseKeyTrialLimit','getSelectedBlocks','_getResolvedCommandsDefinitions','INSERT'];_0x1176=function(){return _0x59f8c2;};return _0x1176();}function T(_0x3f0c86,_0x277416){const _0x4ae8a0=_0x242380;return void 0x0!==_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0===_0x277416[_0x4ae8a0(0x15e)]?0x1:void 0x0===_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0!==_0x277416[_0x4ae8a0(0x15e)]?-0x1:void 0x0!==_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0!==_0x277416[_0x4ae8a0(0x15e)]?_0x3f0c86[_0x4ae8a0(0x15e)]-_0x277416[_0x4ae8a0(0x15e)]:0x0;}function U(_0x192f7a,_0x3bc396){const _0x12b015=_0x242380;_0x3bc396[_0x12b015(0x14c)](T);const _0x2fedb0={},_0x4bc4b4=[];for(const _0x2035b9 of _0x3bc396)if(void 0x0!==_0x2035b9[_0x12b015(0x15e)]){if(_0x2035b9[_0x12b015(0x15e)]in _0x2fedb0)throw new _0x1bda40(_0x12b015(0x115),_0x192f7a,{'conflictingDefinitions':[_0x2035b9,_0x2fedb0[_0x2035b9[_0x12b015(0x15e)]]]});_0x2fedb0[_0x2035b9[_0x12b015(0x15e)]]=_0x2035b9,_0x4bc4b4[_0x12b015(0xf4)](_0x2035b9[_0x12b015(0x15e)],0x0,_0x2035b9);}else _0x4bc4b4[_0x12b015(0x111)](_0x2035b9);return _0x4bc4b4;}
|
|
23
|
+
const _0x124b14=_0xd3f4;(function(_0x51e10e,_0x36e33f){const _0x439c05=_0xd3f4,_0x4de038=_0x51e10e();while(!![]){try{const _0x20610f=parseInt(_0x439c05(0x163))/0x1+parseInt(_0x439c05(0x147))/0x2*(-parseInt(_0x439c05(0x16b))/0x3)+parseInt(_0x439c05(0x158))/0x4+-parseInt(_0x439c05(0x172))/0x5+-parseInt(_0x439c05(0x187))/0x6*(-parseInt(_0x439c05(0x119))/0x7)+parseInt(_0x439c05(0x14f))/0x8*(-parseInt(_0x439c05(0x100))/0x9)+parseInt(_0x439c05(0x14a))/0xa;if(_0x20610f===_0x36e33f)break;else _0x4de038['push'](_0x4de038['shift']());}catch(_0x2f6ebc){_0x4de038['push'](_0x4de038['shift']());}}}(_0x4b8d,0xa32e7));import{Plugin as _0xd35726}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3fa76f,IconRobotPencil as _0x46f9d9}from'ckeditor5/src/icons.js';import{first as _0x2c15f0,CKEditorError as _0x24ca44}from'ckeditor5/src/utils.js';import{createDropdown as _0x1ecba1,addMenuToDropdown as _0x47df5a,ButtonView as _0x20ead3,MenuBarMenuListItemButtonView as _0x5761f1,Dialog as _0x5a98ca,DialogViewPosition as _0xef1c83,MenuBarMenuView as _0x5e430c,MenuBarMenuListView as _0x5e8d02,MenuBarMenuListItemView as _0x3825de}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x7b9b42,UNGROUPED_COMMANDS_GROUP_ID as _0x5efa83}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3bdfb0}from'./aiassistantediting.js';import{AIAdapter as _0x4702e8}from'./adapters/aiadapter.js';import{getTranslation as _0x3855bf}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4b7453}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x30d01e}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3562ca}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5e25db}from'./ui/form/aiformtoolbarview.js';function _0xd3f4(_0x555fe9,_0x458e28){const _0x4b8db7=_0x4b8d();return _0xd3f4=function(_0xd3f476,_0x1099f3){_0xd3f476=_0xd3f476-0xea;let _0x224e1d=_0x4b8db7[_0xd3f476];return _0x224e1d;},_0xd3f4(_0x555fe9,_0x458e28);}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';function _0x4b8d(){const _0x2f274e=['_getResolvedCommandsDefinitions','isOfficialPlugin','init','aiLicenseKeyExpired','show','replace','isPremiumPlugin','updatePosition','wasMoved','AI\x20Commands','domainLimit','_populateMenuBarMenu','insertContentBelow','ai.assistant.contentAreaCssClass','replaceContent','ai-commands-config-order-collision','listenTo','529484khrklu','includes','invalid','17740940xZXViF','commands','usageLimit','text/html','expired','9033544fxgBcV','label','config','view','isOn','aiAssistant','change','custom','ai.assistant.commands','2212184PkDNoP','enabledCommandsIds','showAIAssistant','map','getLimitElement','ai.assistant.useTheme','comment','DataTransfer','evaluationLimit','forEach','add','317609WjemCr','text','tableOfContents','Generated\x20content:\x20%0','showUI','menuBar:aiAssistant','aiLicenseKeyDomainLimit','ck-ai-assistant-ui','3loDvdO','ai.assistant.disabledElements','aiCommands','aiLicenseKeyEvaluationLimit','items','_aiAdapter','_commandDefinitions','5639640SJbJPR','push','media','textAdapter','hide','render','queryView','sort','setSelection','model','aiLicenseKeyTrialLimit','_dialog','polite','menuPanelClass','announce','destroy','hideFakeVisualSelection','plugins','update','schema','buttonView','1091010zxfQDA','command:','buttons','_licenseKeyCheckInterval','from','panelView','locale','delegate','_formView','execute','change:isError','fire','order','aiLicenseKeyNotAllowed','trialLimit','menuView','errorView','once','values','filter','menuBar:aiCommands','aiLicenseKeyValid','_onExecute','currentContext','\x20ck-ai-assistant-ui_theme','bind','get','groupLabel','requires','_initView','body','featureNotAllowed','_aiAssistantController','showFakeVisualSelection','EDITOR_TOP_SIDE','licenseKey','contentArea','INSERT','componentFactory','children','splice','9cZctOY','<p>','rawHtml','define','</p>','prompt','_createAIAssistantUIButton','_initAriaAiStatusChangeAnnouncements','isEnabled','AIAssistantUI','AI\x20Assistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','length','_uiCssClasses','editing','_getMenuBarGroupButtons','REPLACE','set','getSelectedElement','change:enabledCommandsIds','focus','source','hideUI','_forceMarkersCopy','isFlat','21sOxNTR','selection','getData','isCollapsed','promptView','aiLicenseKeyUsageLimit','change:value','updateView','document','AIAssistant','getRanges','getSelectedBlocks','addMany','ck-ai-assistant-button\x20','aiLicenseKeyInvalid','change:isProcessing','menuitemcheckbox','_showLicenseError','requiresContent','copy','groupId','insertContent','fieldView','editor','AI\x20is\x20writing','ck-ai-commands-dropdown\x20','pluginName','reset','trim'];_0x4b8d=function(){return _0x2f274e;};return _0x4b8d();}import'../../theme/aiassistant/ai-form.css';const P=globalThis[_0x124b14(0x15f)];import{ClipboardMarkersUtils as _0x33521b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x19da95,ViewDataTransfer as _0x5c581a}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd35726{[_0x124b14(0xfa)];[_0x124b14(0x18a)];[_0x124b14(0x17d)];[_0x124b14(0x18f)];[_0x124b14(0x170)];[_0x124b14(0xf7)];[_0x124b14(0x10d)]='';static get[_0x124b14(0x133)](){const _0x23a846=_0x124b14;return _0x23a846(0x109);}static get[_0x124b14(0x137)](){return!0x0;}static get[_0x124b14(0x13c)](){return!0x0;}static get[_0x124b14(0xf3)](){return[_0x33521b,_0x3bdfb0,_0x4702e8,_0x5a98ca];}constructor(_0x5197d6){const _0x248e08=_0x124b14;super(_0x5197d6),_0x5197d6[_0x248e08(0x151)][_0x248e08(0x103)](_0x248e08(0x16c),[_0x248e08(0x174),_0x248e08(0x102),_0x248e08(0x165)]),_0x5197d6[_0x248e08(0x151)][_0x248e08(0x103)](_0x248e08(0x143),''),_0x5197d6[_0x248e08(0x151)][_0x248e08(0x103)](_0x248e08(0x15d),!0x0),this[_0x248e08(0x10d)]=_0x248e08(0x16a)+(_0x5197d6[_0x248e08(0x151)][_0x248e08(0xf1)](_0x248e08(0x15d))?_0x248e08(0xef):'');}[_0x124b14(0x138)](){const _0x398abd=_0x124b14,{editor:_0x3e3b1a}=this;this[_0x398abd(0x170)]=_0x3e3b1a[_0x398abd(0x183)][_0x398abd(0xf1)](_0x4702e8),this[_0x398abd(0x17d)]=_0x3e3b1a[_0x398abd(0x183)][_0x398abd(0xf1)](_0x5a98ca),this[_0x398abd(0x18f)]=null,this[_0x398abd(0x171)]=this[_0x398abd(0x136)]();const _0x56b6d7=new _0x4b7453(_0x3e3b1a,Array[_0x398abd(0x18b)](this[_0x398abd(0x171)][_0x398abd(0x199)]()));_0x3e3b1a[_0x398abd(0x14b)][_0x398abd(0x162)](_0x398abd(0x15a),_0x56b6d7),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0x16d),_0x33f874=>{const _0x3e9f63=_0x398abd,_0x307864=_0x1ecba1(_0x33f874);return _0x307864[_0x3e9f63(0x111)]({'class':_0x3e9f63(0x132)+this[_0x3e9f63(0x10d)]}),_0x307864[_0x3e9f63(0x186)][_0x3e9f63(0x111)]({'label':_0x3855bf(_0x33f874,_0x3e9f63(0x13f)),'icon':_0x3fa76f,'tooltip':!0x0}),_0x307864['on'](_0x3e9f63(0x190),_0x51fe89=>this[_0x3e9f63(0xed)](_0x51fe89[_0x3e9f63(0x115)]['id'])),_0x47df5a(_0x307864,_0x3e3b1a['ui'][_0x3e9f63(0x152)][_0x3e9f63(0xf5)],function(_0x408021){const _0x4c14ae=_0x3e9f63,_0x30b632=_0x7b9b42(_0x408021[_0x4c14ae(0x151)][_0x4c14ae(0xf1)](_0x4c14ae(0x157)),_0x408021[_0x4c14ae(0x18d)]),_0x4a1695=ii(_0x408021,_0x30b632)[_0x4c14ae(0xea)](_0x9b5ca8=>_0x9b5ca8[_0x4c14ae(0x14b)][_0x4c14ae(0x10c)]);if(0x1===_0x4a1695[_0x4c14ae(0x10c)])return ii(_0x408021,_0x4a1695[0x0][_0x4c14ae(0x14b)])[_0x4c14ae(0x15b)](_0x4ba266=>({'id':_0x4ba266['id'],'label':_0x4ba266[_0x4c14ae(0x150)]}));return _0x4a1695[_0x4c14ae(0x15b)](_0x4c2f58=>{const _0x37a691=_0x4c14ae,{groupId:_0x2512f6,groupLabel:_0x3331c2,commands:_0x52b745}=_0x4c2f58,_0x28cb48=ii(_0x408021,_0x52b745)[_0x37a691(0x15b)](_0x2b1b73=>({'id':_0x2b1b73['id'],'label':_0x2b1b73[_0x37a691(0x150)]}));return{'id':_0x2512f6,'menu':_0x3331c2||_0x2512f6,'children':_0x28cb48};});}(_0x3e3b1a),{'ariaLabel':_0x3855bf(_0x33f874,_0x3e9f63(0x13f))}),_0x307864[_0x3e9f63(0x196)][_0x3e9f63(0x17f)]=_0x3e9f63(0x132)+this[_0x3e9f63(0x10d)],_0x56b6d7['on'](_0x3e9f63(0x113),_0x11493a),_0x307864[_0x3e9f63(0x196)][_0x3e9f63(0x198)](_0x3e9f63(0x177),_0x11493a),_0x307864;function _0x11493a(){const _0x6323e9=_0x3e9f63;_0x307864[_0x6323e9(0x108)]=_0x56b6d7[_0x6323e9(0x159)][_0x6323e9(0x10c)]>0x0;for(const _0x48a3fe of _0x307864[_0x6323e9(0x196)][_0x6323e9(0x189)])_0x48a3fe[_0x6323e9(0x108)]=_0x56b6d7[_0x6323e9(0x159)][_0x6323e9(0x148)](_0x48a3fe['id']);}}),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0xeb),_0x5ba636=>{const _0x54222f=_0x398abd,_0xd9112f=new _0x5e430c(_0x5ba636);_0xd9112f[_0x54222f(0x186)][_0x54222f(0x111)]({'label':_0x3855bf(_0x5ba636,_0x54222f(0x13f)),'icon':_0x3fa76f}),_0xd9112f[_0x54222f(0xf0)](_0x54222f(0x108))['to'](_0x56b6d7,_0x54222f(0x159),_0x9d5cc7=>_0x9d5cc7[_0x54222f(0x10c)]>0x0);const _0x8b0599=_0x7b9b42(_0x3e3b1a[_0x54222f(0x151)][_0x54222f(0xf1)](_0x54222f(0x157)),_0x5ba636);return this[_0x54222f(0x141)](_0x56b6d7,_0xd9112f,_0x8b0599,_0x38ac9e=>this[_0x54222f(0xed)](_0x38ac9e)),_0xd9112f;}),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0x154),()=>{const _0x2f13b5=_0x398abd,_0x192739=this[_0x2f13b5(0x106)](_0x20ead3);return _0x192739[_0x2f13b5(0x111)]({'tooltip':!0x0,'class':_0x2f13b5(0x126)+this[_0x2f13b5(0x10d)]}),_0x192739;}),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0x168),()=>{const _0x121f0e=_0x398abd,_0x5c3649=this[_0x121f0e(0x106)](_0x5761f1);return _0x5c3649[_0x121f0e(0x111)]({'role':_0x121f0e(0x129)}),_0x5c3649;}),this[_0x398abd(0xfa)]=this[_0x398abd(0x130)][_0x398abd(0x151)][_0x398abd(0xf1)](_0x398abd(0xfa));const _0x13169a=this[_0x398abd(0x130)];this[_0x398abd(0x18a)]=setInterval(()=>{const _0x340142=_0x398abd;let _0x2f57f6;for(const _0xa24277 in _0x13169a){const _0x19fe9a=_0xa24277,_0x1d0c37=_0x13169a[_0x19fe9a];if(_0x340142(0xec)==_0x1d0c37||_0x340142(0x127)==_0x1d0c37||_0x340142(0x139)==_0x1d0c37||_0x340142(0x169)==_0x1d0c37||_0x340142(0x194)==_0x1d0c37||_0x340142(0x16e)==_0x1d0c37||_0x340142(0x17c)==_0x1d0c37||_0x340142(0x11e)==_0x1d0c37){delete _0x13169a[_0x19fe9a],_0x2f57f6=_0x1d0c37,clearInterval(this[_0x340142(0x18a)]),this[_0x340142(0x18a)]=void 0x0;break;}}_0x340142(0x127)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x149)),_0x340142(0x139)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x14e)),_0x340142(0x169)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x140)),_0x340142(0x194)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0xf6),_0x340142(0x122)),_0x340142(0x16e)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x160)),_0x340142(0x17c)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x195)),_0x340142(0x11e)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x14c));},0x3e8);}[_0x124b14(0x181)](){const _0x512ea6=_0x124b14;super[_0x512ea6(0x181)](),this[_0x512ea6(0x18a)]&&clearInterval(this[_0x512ea6(0x18a)]);}[_0x124b14(0x167)](_0x2567d0='',_0x32cd42='',_0x4a74fc=_0x124b14(0x156)){const _0x3b318b=_0x124b14,_0xc99a8=this[_0x3b318b(0x130)],_0x2ce8a3=_0xc99a8[_0x3b318b(0x10e)][_0x3b318b(0x152)],_0x5e7dfe=_0xc99a8[_0x3b318b(0x183)][_0x3b318b(0xf1)](_0x3bdfb0),_0x293409=_0xc99a8[_0x3b318b(0x183)][_0x3b318b(0xf1)](_0x33521b);_0x5e7dfe[_0x3b318b(0xf8)]();const _0x425d82=new P(),_0x14d72a=new ClipboardEvent(_0x3b318b(0x12c),{'clipboardData':_0x425d82}),_0x41a7bf=new _0x5c581a(_0x425d82),_0x2519a2=new _0x19da95(_0x2ce8a3,_0x14d72a,{'dataTransfer':_0x41a7bf});_0x293409[_0x3b318b(0x117)](_0x3b318b(0x15e),()=>{const _0x20e4f8=_0x3b318b;_0x2ce8a3[_0x20e4f8(0x121)][_0x20e4f8(0x192)](_0x20e4f8(0x12c),_0x2519a2);}),this[_0x3b318b(0x18f)]||(this[_0x3b318b(0xf4)](),this[_0x3b318b(0xf7)]=new _0x30d01e(_0xc99a8,this[_0x3b318b(0x170)][_0x3b318b(0x175)],this[_0x3b318b(0x18f)]));let _0xfc1acf=_0x41a7bf[_0x3b318b(0x11b)](_0x3b318b(0x14d));const _0x1d03e9=_0xc99a8[_0x3b318b(0x17b)][_0x3b318b(0x121)][_0x3b318b(0x11a)],_0xc202e0=Array[_0x3b318b(0x18b)](_0x1d03e9[_0x3b318b(0x123)]());0x1===_0xc202e0[_0x3b318b(0x10c)]&&_0xc202e0[0x0][_0x3b318b(0x118)]&&!_0x1d03e9[_0x3b318b(0x112)]()&&''!==_0xfc1acf[_0x3b318b(0x13b)](/ /g,'')[_0x3b318b(0x135)]()&&(_0xfc1acf=_0x3b318b(0x101)+_0xfc1acf+_0x3b318b(0x104)),this[_0x3b318b(0xf7)][_0x3b318b(0x120)]({'actionId':_0x4a74fc,'query':_0x2567d0,'htmlContent':_0xfc1acf,'label':_0x32cd42,'mainActionLabel':_0x5e25db[_0xc99a8[_0x3b318b(0x17b)][_0x3b318b(0x121)][_0x3b318b(0x11a)][_0x3b318b(0x11c)]?_0x3b318b(0xfc):_0x3b318b(0x110)]}),_0x3b318b(0x154)!==this[_0x3b318b(0x17d)]['id']?this[_0x3b318b(0x17d)][_0x3b318b(0x13a)]({'id':_0x3b318b(0x154),'icon':_0x46f9d9,'title':_0x3855bf(this[_0x3b318b(0x130)][_0x3b318b(0x18d)],_0x3b318b(0x10a)),'content':this[_0x3b318b(0x18f)],'position':_0xef1c83[_0x3b318b(0xf9)],'onShow':()=>{const _0x3e358c=_0x3b318b;this[_0x3e358c(0x18f)][_0x3e358c(0x114)]();},'onHide':()=>{const _0x562fdb=_0x3b318b;this[_0x562fdb(0xf7)][_0x562fdb(0x134)](),_0x5e7dfe[_0x562fdb(0x182)]();}}):this[_0x3b318b(0x17d)][_0x3b318b(0x152)][_0x3b318b(0x13e)]||this[_0x3b318b(0x17d)][_0x3b318b(0x152)][_0x3b318b(0x13d)]();}[_0x124b14(0x116)](){const _0x703fbc=_0x124b14;this[_0x703fbc(0x17d)][_0x703fbc(0x176)]();}[_0x124b14(0x136)](){const _0x4682a0=_0x124b14,_0x548346=new Map(),_0x1dfba3=_0x7b9b42(this[_0x4682a0(0x130)][_0x4682a0(0x151)][_0x4682a0(0xf1)](_0x4682a0(0x157)),this[_0x4682a0(0x130)][_0x4682a0(0x18d)]);for(const _0x41e289 of _0x1dfba3)for(const _0x4b9084 of _0x41e289[_0x4682a0(0x14b)])_0x548346[_0x4682a0(0x111)](_0x4b9084['id'],{..._0x4b9084,'groupId':_0x41e289[_0x4682a0(0x12d)],'groupLabel':_0x41e289[_0x4682a0(0xf2)]||_0x41e289[_0x4682a0(0x12d)]});return _0x548346;}[_0x124b14(0x106)](_0x2759af){const _0xad154e=_0x124b14,_0x4207cc=this[_0xad154e(0x130)],_0x493b03=_0x4207cc[_0xad154e(0x14b)][_0xad154e(0xf1)](_0xad154e(0x15a)),_0x3f1257=new _0x2759af(_0x4207cc[_0xad154e(0x18d)]);return _0x3f1257[_0xad154e(0x111)]({'label':_0x3855bf(_0x4207cc[_0xad154e(0x18d)],_0xad154e(0x10a)),'icon':_0x46f9d9,'isToggleable':!0x0}),_0x3f1257[_0xad154e(0xf0)](_0xad154e(0x108))['to'](_0x493b03),_0x3f1257[_0xad154e(0xf0)](_0xad154e(0x153))['to'](this[_0xad154e(0x17d)],'id',_0x532fb6=>_0xad154e(0x154)===_0x532fb6),this[_0xad154e(0x146)](_0x3f1257,_0xad154e(0x190),()=>{const _0x47f1ff=_0xad154e;_0x3f1257[_0x47f1ff(0x153)]?this[_0x47f1ff(0x116)]():_0x493b03[_0x47f1ff(0x190)]();}),_0x3f1257;}[_0x124b14(0xf4)](){const _0x1e834c=_0x124b14,_0x525f7e=this[_0x1e834c(0x130)][_0x1e834c(0x183)][_0x1e834c(0xf1)](_0x3bdfb0);this[_0x1e834c(0x18f)]=new _0x3562ca(this[_0x1e834c(0x130)][_0x1e834c(0x18d)],this[_0x1e834c(0x10d)],this[_0x1e834c(0x130)][_0x1e834c(0x151)][_0x1e834c(0xf1)](_0x1e834c(0x143))),this[_0x1e834c(0x18f)]['on'](_0x1e834c(0x11f),()=>{const _0x5cd447=_0x1e834c;this[_0x5cd447(0x17d)][_0x5cd447(0x152)][_0x5cd447(0x13e)]||this[_0x5cd447(0x17d)][_0x5cd447(0x152)][_0x5cd447(0x13d)]();}),this[_0x1e834c(0x18f)][_0x1e834c(0x11d)][_0x1e834c(0x178)][_0x1e834c(0x12f)]['on'](_0x1e834c(0x184),()=>{const _0x3bdd6d=_0x1e834c;this[_0x3bdd6d(0x17d)][_0x3bdd6d(0x152)][_0x3bdd6d(0x13e)]||this[_0x3bdd6d(0x17d)][_0x3bdd6d(0x152)][_0x3bdd6d(0x13d)]();}),this[_0x1e834c(0x146)](this[_0x1e834c(0x18f)],_0x1e834c(0x144),()=>{const _0x1ede11=_0x1e834c;_0x525f7e[_0x1ede11(0x12e)](this[_0x1ede11(0xf7)][_0x1ede11(0xee)]),this[_0x1ede11(0x116)]();}),this[_0x1e834c(0x146)](this[_0x1e834c(0x18f)],_0x1e834c(0x142),()=>{const _0x41c45f=_0x1e834c;_0x525f7e[_0x41c45f(0x142)](this[_0x41c45f(0xf7)][_0x41c45f(0xee)]),this[_0x41c45f(0x116)]();}),this[_0x1e834c(0x107)]();}[_0x124b14(0x107)](){const _0x1c0a7e=_0x124b14,{locale:_0x35cda2,ui:{ariaLiveAnnouncer:_0x58eb8d}}=this[_0x1c0a7e(0x130)];this[_0x1c0a7e(0x18f)][_0x1c0a7e(0xfb)]['on'](_0x1c0a7e(0x128),(_0x34334f,_0x48fa8e,_0x27c45a)=>{const _0x1eff60=_0x1c0a7e,_0x404a87=this[_0x1eff60(0xf7)][_0x1eff60(0xee)];_0x27c45a?_0x58eb8d[_0x1eff60(0x180)](_0x3855bf(_0x35cda2,_0x1eff60(0x131))):_0x404a87&&_0x58eb8d[_0x1eff60(0x180)](_0x3855bf(_0x35cda2,_0x1eff60(0x166),_0x404a87),{'politeness':_0x1eff60(0x17e),'isUnsafeHTML':!0x0});}),this[_0x1c0a7e(0x18f)]['on'](_0x1c0a7e(0x191),(_0x3661e2,_0x57cb36,_0x81b772)=>{const _0x2e18ea=_0x1c0a7e;if(_0x81b772){const _0x4a6e24=this[_0x2e18ea(0x18f)][_0x2e18ea(0x197)][_0x2e18ea(0x164)];_0x58eb8d[_0x2e18ea(0x180)](_0x3855bf(_0x35cda2,_0x2e18ea(0x10b),_0x4a6e24));}});}[_0x124b14(0xed)](_0x3db373){const _0x25760a=_0x124b14,_0x1cf1e1=this[_0x25760a(0x171)][_0x25760a(0xf1)](_0x3db373),_0xc495d5=this[_0x25760a(0x130)],_0x50e1a7=_0xc495d5[_0x25760a(0x17b)][_0x25760a(0x121)][_0x25760a(0x11a)],_0xd55b54=_0xc495d5[_0x25760a(0x14b)][_0x25760a(0xf1)](_0x25760a(0x15a)),_0x14ef7b=_0xc495d5[_0x25760a(0x183)][_0x25760a(0xf1)](_0x3bdfb0),_0x2a22e7=''+(_0x1cf1e1[_0x25760a(0x12d)]!==_0x5efa83?_0x1cf1e1[_0x25760a(0xf2)]+':\x20':'')+_0x1cf1e1[_0x25760a(0x150)];if(!0x1!==_0x1cf1e1[_0x25760a(0x12b)]&&_0x50e1a7[_0x25760a(0x11c)]){const _0x21d2ac=_0x2c15f0(_0x50e1a7[_0x25760a(0x124)]())||_0xc495d5[_0x25760a(0x17b)][_0x25760a(0x185)][_0x25760a(0x15c)](_0x50e1a7);_0xc495d5[_0x25760a(0x17b)][_0x25760a(0x155)](_0x2c1b62=>{const _0x1d5b70=_0x25760a;_0x2c1b62[_0x1d5b70(0x17a)](_0x21d2ac,'in');});}_0x14ef7b[_0x25760a(0xf8)](),_0xd55b54[_0x25760a(0x190)](_0x1cf1e1[_0x25760a(0x105)],_0x2a22e7,_0x25760a(0x188)+_0x3db373);}[_0x124b14(0x141)](_0x3ac024,_0x2237fc,_0x14a4cc,_0x3feb31){const _0x6a03c6=_0x124b14,_0xa82768=this[_0x6a03c6(0x130)],_0x95baa4=_0xa82768[_0x6a03c6(0x18d)],_0x1b7968=new _0x5e8d02(_0x95baa4),_0x2d5649=ii(_0xa82768,_0x14a4cc)[_0x6a03c6(0xea)](_0x5d977b=>_0x5d977b[_0x6a03c6(0x14b)][_0x6a03c6(0x10c)]);0x1===_0x2d5649[_0x6a03c6(0x10c)]?this[_0x6a03c6(0x10f)]({'command':_0x3ac024,'commands':_0x2d5649[0x0][_0x6a03c6(0x14b)],'parentMenuView':_0x2237fc,'onExecute':_0x3feb31})[_0x6a03c6(0x161)](_0x49af77=>_0x1b7968[_0x6a03c6(0x16f)][_0x6a03c6(0x162)](_0x49af77)):_0x2d5649[_0x6a03c6(0x161)](({groupId:_0x3abba4,groupLabel:_0x15732c,commands:_0x3188b1})=>{const _0x13e626=_0x6a03c6,_0xcac3bd=new _0x3825de(_0x95baa4,_0x2237fc),_0x360550=new _0x5e430c(_0x95baa4),_0x5443f5=new _0x5e8d02(_0x95baa4),_0x588d6c=this[_0x13e626(0x10f)]({'command':_0x3ac024,'commands':_0x3188b1,'parentMenuView':_0x360550,'onExecute':_0x3feb31});_0x360550[_0x13e626(0x186)][_0x13e626(0x111)]({'label':_0x15732c||_0x3abba4}),_0x360550[_0x13e626(0x18e)](_0x13e626(0x190))['to'](_0x2237fc),_0x5443f5[_0x13e626(0x16f)][_0x13e626(0x125)](_0x588d6c),_0x360550[_0x13e626(0x18c)][_0x13e626(0xfe)][_0x13e626(0x162)](_0x5443f5),_0xcac3bd[_0x13e626(0xfe)][_0x13e626(0x162)](_0x360550),_0x1b7968[_0x13e626(0x16f)][_0x13e626(0x162)](_0xcac3bd);}),_0x2237fc[_0x6a03c6(0x18c)][_0x6a03c6(0xfe)][_0x6a03c6(0x162)](_0x1b7968);}[_0x124b14(0x10f)]({command:_0x5ed38,commands:_0x20c2e9,parentMenuView:_0x42280f,onExecute:_0x53dafb}){const _0xfa32e2=_0x124b14,_0x1607ec=this[_0xfa32e2(0x130)],_0xb7083b=_0x1607ec[_0xfa32e2(0x18d)];return ii(_0x1607ec,_0x20c2e9)[_0xfa32e2(0x15b)](_0x4860a=>{const _0x4bdb81=_0xfa32e2,_0x18bab0=new _0x3825de(_0xb7083b,_0x42280f),_0x5f40d6=new _0x5761f1(_0xb7083b);return _0x5f40d6[_0x4bdb81(0x111)]({'label':_0x4860a[_0x4bdb81(0x150)]}),_0x5f40d6[_0x4bdb81(0x18e)](_0x4bdb81(0x190))['to'](_0x42280f),_0x5f40d6['on'](_0x4bdb81(0x190),()=>_0x53dafb(_0x4860a['id'])),_0x5f40d6[_0x4bdb81(0xf0)](_0x4bdb81(0x108))['to'](_0x5ed38,_0x4bdb81(0x159),_0x5e6525=>_0x5e6525[_0x4bdb81(0x148)](_0x4860a['id'])),_0x18bab0[_0x4bdb81(0xfe)][_0x4bdb81(0x162)](_0x5f40d6),_0x18bab0;});}}function Z(_0x25c564,_0x109128){const _0x5a2831=_0x124b14;return void 0x0!==_0x25c564[_0x5a2831(0x193)]&&void 0x0===_0x109128[_0x5a2831(0x193)]?0x1:void 0x0===_0x25c564[_0x5a2831(0x193)]&&void 0x0!==_0x109128[_0x5a2831(0x193)]?-0x1:void 0x0!==_0x25c564[_0x5a2831(0x193)]&&void 0x0!==_0x109128[_0x5a2831(0x193)]?_0x25c564[_0x5a2831(0x193)]-_0x109128[_0x5a2831(0x193)]:0x0;}function ii(_0xb8dad,_0x318807){const _0x232ddd=_0x124b14;_0x318807[_0x232ddd(0x179)](Z);const _0x3b71f5={},_0x1d3d29=[];for(const _0x468d6d of _0x318807)if(void 0x0!==_0x468d6d[_0x232ddd(0x193)]){if(_0x468d6d[_0x232ddd(0x193)]in _0x3b71f5)throw new _0x24ca44(_0x232ddd(0x145),_0xb8dad,{'conflictingDefinitions':[_0x468d6d,_0x3b71f5[_0x468d6d[_0x232ddd(0x193)]]]});_0x3b71f5[_0x468d6d[_0x232ddd(0x193)]]=_0x468d6d,_0x1d3d29[_0x232ddd(0xff)](_0x468d6d[_0x232ddd(0x193)],0x0,_0x468d6d);}else _0x1d3d29[_0x232ddd(0x173)](_0x468d6d);return _0x1d3d29;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x57c9f3,_0x5a7f7c){var _0x472064=_0xad40,_0x53548e=_0x57c9f3();while(!![]){try{var _0xe5cd51=parseInt(_0x472064(0x86))/0x1*(-parseInt(_0x472064(0x80))/0x2)+parseInt(_0x472064(0x81))/0x3+parseInt(_0x472064(0x7d))/0x4+-parseInt(_0x472064(0x84))/0x5*(parseInt(_0x472064(0x7f))/0x6)+parseInt(_0x472064(0x82))/0x7+-parseInt(_0x472064(0x7e))/0x8*(parseInt(_0x472064(0x85))/0x9)+parseInt(_0x472064(0x83))/0xa;if(_0xe5cd51===_0x5a7f7c)break;else _0x53548e['push'](_0x53548e['shift']());}catch(_0x278385){_0x53548e['push'](_0x53548e['shift']());}}}(_0xb268,0x93877));import{CKEditorError as _0x4aa90b}from'ckeditor5/src/utils.js';function _0xad40(_0x2b7197,_0x3d744c){var _0xb268d1=_0xb268();return _0xad40=function(_0xad40fb,_0x4ba053){_0xad40fb=_0xad40fb-0x7d;var _0x441561=_0xb268d1[_0xad40fb];return _0x441561;},_0xad40(_0x2b7197,_0x3d744c);}function _0xb268(){var _0xb2927=['2680250pDefen','5vGcKYQ','9847638cIwdGr','7457EbyPWB','2507096oLWINr','8vEIuUv','185508ZfDpYE','68PUjPUr','312786DneKRk','6886992mpHwTo'];_0xb268=function(){return _0xb2927;};return _0xb268();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x576e(_0xeb05de,_0xa2f747){const _0x3295e1=_0x3295();return _0x576e=function(_0x576e74,_0xc0470c){_0x576e74=_0x576e74-0x98;let _0x27446a=_0x3295e1[_0x576e74];return _0x27446a;},_0x576e(_0xeb05de,_0xa2f747);}const _0x5c1261=_0x576e;function _0x3295(){const _0x1e5cee=['substring','match','then','34632Pdwzlz','destroy','exec','once','custom','_xmlSerializer','113218frzyvV','```html','finally','mainAction','remove','parseFromString','_domParser','previousActionId','processor','config','document','ELEMENT_NODE','isRendered','currentResponse','startProcessing','endsWith','querySelector','render','977383qRGkMH','viewToDom','prompt','get','ai.assistant.preserveComments','rename','_normalizeResponseHeadings','trim','innerHTML','clear','previousContext','2pWiIjF','40HuxvWC','239745ZprGwh','domConverter','div','_sanitizeHTML','listenTo','element','toModel','handleError','12ffIAdJ','makeRequest','stopListening','currentContext','body','name','length','setContentOf','reverse','finishProcessing','push','serializeToString','reset','previousLabel','6312Ajpeuc','toView','value','message','initialContext','_stripMarkdownSyntax','tryAgainEvent','_sanitizationContainer','stopProcessing','createElement','774MhLHrU','childNodes','previousQuery','editor','nodeType','234736XiSOOl','isProcessing','updateView','```','catch','submitPrompt','data','309078hcPRbd','_isH1TagSupportEnabled','startsWith','set','htmlProcessor','text/html','stringify','set:currentContext','from','_parseAndNormalizeContent','_handleQuery','markers','textAdapter','<h1></h1>','editing','view','abort'];_0x3295=function(){return _0x1e5cee;};return _0x3295();}(function(_0xda7a0d,_0x40126f){const _0x2856ff=_0x576e,_0x29bd10=_0xda7a0d();while(!![]){try{const _0x2c361e=parseInt(_0x2856ff(0x9c))/0x1*(-parseInt(_0x2856ff(0xda))/0x2)+-parseInt(_0x2856ff(0xe4))/0x3*(parseInt(_0x2856ff(0xb7))/0x4)+parseInt(_0x2856ff(0xdc))/0x5+-parseInt(_0x2856ff(0xa3))/0x6+-parseInt(_0x2856ff(0xbd))/0x7+parseInt(_0x2856ff(0xf2))/0x8*(parseInt(_0x2856ff(0xfc))/0x9)+parseInt(_0x2856ff(0xdb))/0xa*(parseInt(_0x2856ff(0xcf))/0xb);if(_0x2c361e===_0x40126f)break;else _0x29bd10['push'](_0x29bd10['shift']());}catch(_0x16b8d2){_0x29bd10['push'](_0x29bd10['shift']());}}}(_0x3295,0x20c10));import{ObservableMixin as _0x4993d4}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1aa8ab}from'../adapters/aiadapter.js';import{Matcher as _0x3d0deb,ViewUpcastWriter as _0x2b3af7}from'ckeditor5/src/engine.js';const ns=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4993d4(){[_0x5c1261(0x9a)];[_0x5c1261(0xaf)];[_0x5c1261(0xb2)];[_0x5c1261(0xf9)];[_0x5c1261(0xc3)];[_0x5c1261(0xbc)];constructor(_0x39e25f,_0x56b4b7,_0x3b4152){const _0xae81b1=_0x5c1261;super(),this[_0xae81b1(0x9a)]=_0x39e25f,this[_0xae81b1(0xaf)]=_0x56b4b7,this[_0xae81b1(0xf9)]=document[_0xae81b1(0xfb)](_0xae81b1(0xde)),this[_0xae81b1(0xc3)]=new DOMParser(),this[_0xae81b1(0xbc)]=new XMLSerializer(),this[_0xae81b1(0xb2)]=_0x3b4152,this[_0xae81b1(0xa6)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xae81b1(0xaa),(_0x50124d,_0x757b80,_0xe82d1c)=>{const _0x1c9066=_0xae81b1;this[_0x1c9066(0xb2)][_0x1c9066(0xf4)]=this[_0x1c9066(0xdf)](_0xe82d1c);}),this[_0xae81b1(0xe0)](this[_0xae81b1(0xb2)],_0xae81b1(0xa1),(_0x548d2d,_0x10c27b)=>{const _0x3f11ff=_0xae81b1,_0x32fa97=this[_0x3f11ff(0xe7)]||this[_0x3f11ff(0xf6)];this[_0x3f11ff(0xad)](_0x10c27b,_0x32fa97,_0x3f11ff(0xbb));}),this[_0xae81b1(0xe0)](this[_0xae81b1(0xb2)],_0xae81b1(0xf8),()=>{const _0x570025=_0xae81b1;this[_0x570025(0xb2)][_0x570025(0xd1)]=this[_0x570025(0xf1)],this[_0x570025(0xad)](this[_0x570025(0x99)],this[_0x570025(0xd9)],this[_0x570025(0xc4)],this[_0x570025(0xf1)]);}),this[_0xae81b1(0xe0)](this[_0xae81b1(0xb2)],_0xae81b1(0xfa),()=>{const _0x2aa75b=_0xae81b1;this[_0x2aa75b(0xfa)]();});}[_0x5c1261(0xb8)](){const _0xfcae2f=_0x5c1261;this[_0xfcae2f(0xe6)]();}async[_0x5c1261(0x9e)]({actionId:_0x280a05,query:_0x483f52,htmlContent:_0x2b7a86,label:_0x158236,mainActionLabel:_0x24c8d4}){const _0x17c242=_0x5c1261;this[_0x17c242(0xb2)][_0x17c242(0xd1)]=_0x158236,this[_0x17c242(0xb2)][_0x17c242(0xc0)]=_0x24c8d4,this[_0x17c242(0xf6)]=_0x2b7a86,_0x483f52&&(this[_0x17c242(0xb2)][_0x17c242(0xc9)]?this[_0x17c242(0xad)](_0x483f52,_0x2b7a86,_0x280a05,_0x158236):this[_0x17c242(0xb2)][_0x17c242(0xba)](_0x17c242(0xce),()=>{const _0x5f1ae4=_0x17c242;this[_0x5f1ae4(0xad)](_0x483f52,_0x2b7a86,_0x280a05,_0x158236);}));}[_0x5c1261(0xfa)](){const _0x1e927d=_0x5c1261;this[_0x1e927d(0x9d)]&&(this[_0x1e927d(0x9d)]=!0x1,this[_0x1e927d(0xb2)][_0x1e927d(0xed)](),this[_0x1e927d(0xaf)][_0x1e927d(0xb3)]());}[_0x5c1261(0xf0)](){const _0x3a6746=_0x5c1261;this[_0x3a6746(0xf6)]='',this[_0x3a6746(0xe7)]='',this[_0x3a6746(0xca)]='',this[_0x3a6746(0xd9)]='',this[_0x3a6746(0x99)]='',this[_0x3a6746(0xf1)]='',this[_0x3a6746(0xc4)]=void 0x0,this[_0x3a6746(0xb2)][_0x3a6746(0xf0)](),this[_0x3a6746(0xfa)]();}async[_0x5c1261(0xad)](_0x43f3ff,_0x15ad51,_0x227806,_0x1edb82){const _0x20c5e9=_0x5c1261;return this[_0x20c5e9(0x9d)]=!0x0,this[_0x20c5e9(0xb2)][_0x20c5e9(0xcb)](),this[_0x20c5e9(0xd9)]=_0x15ad51,this[_0x20c5e9(0x99)]=_0x43f3ff,this[_0x20c5e9(0xf1)]=_0x1edb82||_0x43f3ff,this[_0x20c5e9(0xc4)]=_0x227806,new Promise(_0x6017=>{const _0x3f27b9=_0x20c5e9;this[_0x3f27b9(0xaf)][_0x3f27b9(0xe5)]({'query':_0x43f3ff,'context':_0x15ad51,'onData':_0x11ccc3=>{const _0x2293bc=_0x3f27b9;this[_0x2293bc(0xca)]=_0x11ccc3,this[_0x2293bc(0xe7)]=this[_0x2293bc(0xac)](this[_0x2293bc(0xca)]);},'actionId':_0x227806})[_0x3f27b9(0xb6)](()=>{const _0x5e2f5e=_0x3f27b9;!this[_0x5e2f5e(0xe7)]&&this[_0x5e2f5e(0xca)]&&(this[_0x5e2f5e(0xe7)]=this[_0x5e2f5e(0xac)](this[_0x5e2f5e(0xca)],!0x0));})[_0x3f27b9(0xa0)](_0x48f8c9=>{const _0x52f7bd=_0x3f27b9;_0x48f8c9 instanceof _0x1aa8ab?this[_0x52f7bd(0xb2)][_0x52f7bd(0xe3)](_0x48f8c9[_0x52f7bd(0xf5)]):this[_0x52f7bd(0xb2)][_0x52f7bd(0xe3)](),_0x6017();})[_0x3f27b9(0xbf)](()=>{const _0x527157=_0x3f27b9;this[_0x527157(0xfa)](),_0x6017();});});}[_0x5c1261(0xac)](_0x801d22,_0x55a31e=!0x1){const _0x5c12f7=_0x5c1261,_0xb67724=ns[_0x5c12f7(0xb9)](_0x801d22);_0x801d22=_0xb67724?_0x801d22[_0x5c12f7(0xb4)](_0xb67724[0x1][_0x5c12f7(0xea)]):_0x801d22[_0x5c12f7(0xea)]<0x64&&!_0x55a31e?'':this[_0x5c12f7(0xf7)](_0x801d22);const _0x4372e1=this[_0x5c12f7(0xc3)][_0x5c12f7(0xc2)](_0x801d22,_0x5c12f7(0xa8));if(_0xb67724){const _0x46f236=Array[_0x5c12f7(0xab)](_0x4372e1[_0x5c12f7(0xe8)][_0x5c12f7(0x98)]);_0x46f236[_0x5c12f7(0xec)]();for(const _0x46c38c of _0x46f236){if(_0x46c38c[_0x5c12f7(0x9b)]==Node[_0x5c12f7(0xc8)])break;_0x46c38c[_0x5c12f7(0xc1)]();}}const _0x51c518=this[_0x5c12f7(0x9a)][_0x5c12f7(0xa2)][_0x5c12f7(0xc5)][_0x5c12f7(0xf3)](this[_0x5c12f7(0xbc)][_0x5c12f7(0xef)](_0x4372e1[_0x5c12f7(0xe8)]));this[_0x5c12f7(0xa4)]()||this[_0x5c12f7(0xd5)](_0x51c518);const _0x1ac6ca=this[_0x5c12f7(0x9a)][_0x5c12f7(0xc6)][_0x5c12f7(0xd2)](_0x5c12f7(0xd3)),_0x462843=this[_0x5c12f7(0x9a)][_0x5c12f7(0xa2)][_0x5c12f7(0xe2)](_0x51c518);return _0x1ac6ca||_0x462843[_0x5c12f7(0xae)][_0x5c12f7(0xd8)](),this[_0x5c12f7(0x9a)][_0x5c12f7(0xa2)][_0x5c12f7(0xa9)](_0x462843);}[_0x5c1261(0xd5)](_0x51f4b8){const _0x405d36=_0x5c1261,_0x290991=new _0x2b3af7(this[_0x405d36(0x9a)][_0x405d36(0xb1)][_0x405d36(0xb2)][_0x405d36(0xc7)]),_0x4ac077=new _0x3d0deb({'name':/^h[1-5]$/}),_0x16a5c2=[];let _0x46c61a=!0x1;for(const _0x28853e of _0x51f4b8)_0x28853e['is'](_0x405d36(0xe1))&&_0x4ac077[_0x405d36(0xb5)](_0x28853e)&&(_0x16a5c2[_0x405d36(0xee)](_0x28853e),'h1'==_0x28853e[_0x405d36(0xe9)]&&(_0x46c61a=!0x0));if(_0x46c61a){for(const _0x1f1cdd of _0x16a5c2)_0x290991[_0x405d36(0xd4)]('h'+(parseInt(_0x1f1cdd[_0x405d36(0xe9)][0x1])+0x1),_0x1f1cdd);}}[_0x5c1261(0xa4)](){const _0x1206ac=_0x5c1261,{data:_0x5dbbfc,editing:_0x2134d2}=this[_0x1206ac(0x9a)],_0x19393e=_0x5dbbfc[_0x1206ac(0xa7)][_0x1206ac(0xf3)](_0x1206ac(0xb0)),_0x56a65c=_0x5dbbfc[_0x1206ac(0xf3)](_0x5dbbfc[_0x1206ac(0xe2)](_0x19393e));return!!_0x2134d2[_0x1206ac(0xb2)][_0x1206ac(0xdd)][_0x1206ac(0xd0)](_0x56a65c)[_0x1206ac(0xcd)]('h1');}[_0x5c1261(0xdf)](_0x689f98){const _0x567417=_0x5c1261;return this[_0x567417(0x9a)][_0x567417(0xb1)][_0x567417(0xb2)][_0x567417(0xdd)][_0x567417(0xeb)](this[_0x567417(0xf9)],_0x689f98),this[_0x567417(0xf9)][_0x567417(0xd7)];}[_0x5c1261(0xf7)](_0x4d49c0){const _0x856316=_0x5c1261,_0x20798e=_0x4d49c0[_0x856316(0xd6)]();return _0x20798e[_0x856316(0xa5)](_0x856316(0xbe))?_0x20798e[_0x856316(0xcc)](_0x856316(0x9f))?_0x20798e[_0x856316(0xb4)](0x7,_0x20798e[_0x856316(0xea)]-0x3):_0x20798e[_0x856316(0xb4)](0x7):_0x4d49c0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x420a47=_0x3b4d;(function(_0x94a560,_0x308a0c){const _0xb70dfd=_0x3b4d,_0x5c8d97=_0x94a560();while(!![]){try{const _0x360f4f=-parseInt(_0xb70dfd(0x1f9))/0x1*(parseInt(_0xb70dfd(0x1d9))/0x2)+-parseInt(_0xb70dfd(0x200))/0x3+parseInt(_0xb70dfd(0x20f))/0x4+parseInt(_0xb70dfd(0x1f6))/0x5*(-parseInt(_0xb70dfd(0x1f2))/0x6)+parseInt(_0xb70dfd(0x1fe))/0x7+-parseInt(_0xb70dfd(0x1cc))/0x8+parseInt(_0xb70dfd(0x201))/0x9;if(_0x360f4f===_0x308a0c)break;else _0x5c8d97['push'](_0x5c8d97['shift']());}catch(_0x3b58c0){_0x5c8d97['push'](_0x5c8d97['shift']());}}}(_0x55d2,0xd6f62));import{global as _0x4af705}from'ckeditor5/src/utils.js';import{View as _0xb4d81,ButtonView as _0x3431cc,SpinnerView as _0x438690}from'ckeditor5/src/ui.js';function _0x55d2(){const _0x48b6d0=['3175444CXhUGQ','lastElementChild','AI\x20is\x20writing...','smooth','left','copy','ClipboardItem','addRange','div','ck-ai-form__content-area','isProcessing','clipboard','copyButtonView','change:isProcessing','createElement','setEndBefore','remove','9102488RZTKXZ','ck-ai-form__content-area-wrapper','icon','position','execCommand','bindTemplate','ck-reset_all-excluded','firstElementChild','innerHTML','isEnabled','\x20ck-ai-form__copy-button--copied','isVisible','ck-ai-form__content-field','706886IBIpAs','element','querySelector','<span>]</span>','text/plain','appendChild','setStartAfter','class','Copy','removeAllRanges','execute','text/html','scrollTo','_copyHTMLToClipboard','ck-ai-form__loader','contentFieldView','ck-hidden','absolute','locale','setTemplate','<span>[</span>','mousedown','bind','change:value','getSelection','114xrPpbN','value','textContent','focus','268295dOIzuf','loaderView','ck-ai-form__copy-button-wrapper','1ZRdxRm','write','ck-ai-form__content-area--processing','createRange','setContent','8159144sGWJRx','scrollHeight','2848563AoBwHC','21431925btWvge','listenTo','-9999px','style','_createLoader','_createCopyButton','render','ck-content','ck-ai-form__copy-button','set','.ck-ai-form__loader','body','wheel','appendLoader'];_0x55d2=function(){return _0x48b6d0;};return _0x55d2();}import{IconCheck as _0x46100c,IconCopy as _0x51a911}from'ckeditor5/src/icons.js';import{getTranslation as _0x330aaa}from'../../utils/common-translations.js';function _0x3b4d(_0x7e57b2,_0x30fbfc){const _0x55d27f=_0x55d2();return _0x3b4d=function(_0x3b4d58,_0x3c8082){_0x3b4d58=_0x3b4d58-0x1cb;let _0x4d9cbd=_0x55d27f[_0x3b4d58];return _0x4d9cbd;},_0x3b4d(_0x7e57b2,_0x30fbfc);}export class AIFormContentArea extends _0xb4d81{[_0x420a47(0x1e8)];[_0x420a47(0x21b)];constructor(_0x21c44b,_0x19dff4=''){const _0x27ead7=_0x420a47;super(_0x21c44b),this[_0x27ead7(0x20a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x37e7b4=this[_0x27ead7(0x1d1)];this[_0x27ead7(0x1e8)]=new ContentFieldView(_0x21c44b,_0x19dff4),this[_0x27ead7(0x21b)]=this[_0x27ead7(0x206)](),this[_0x27ead7(0x1ec)]({'tag':_0x27ead7(0x217),'attributes':{'class':['ck',_0x27ead7(0x1cd),_0x37e7b4['if'](_0x27ead7(0x1d7),_0x27ead7(0x1e9),_0x188612=>!_0x188612)],'tabindex':'-1'},'children':[{'tag':_0x27ead7(0x217),'attributes':{'class':['ck',_0x27ead7(0x218),_0x37e7b4['if'](_0x27ead7(0x219),_0x27ead7(0x1fb))]},'children':[this[_0x27ead7(0x1e8)],{'tag':_0x27ead7(0x217),'attributes':{'class':['ck',_0x27ead7(0x1f8)]},'children':[this[_0x27ead7(0x21b)]]}]}]});}[_0x420a47(0x207)](){const _0x394f71=_0x420a47;super[_0x394f71(0x207)](),this[_0x394f71(0x1f3)]&&this[_0x394f71(0x1e8)][_0x394f71(0x1fd)](this[_0x394f71(0x1f3)]);let _0x32b728=!0x1;this['on'](_0x394f71(0x1f0),(_0x52bedf,_0x513539,_0x14e029)=>{const _0x114878=_0x394f71,_0x3a5e8c=!this[_0x114878(0x1e8)][_0x114878(0x1da)][_0x114878(0x1db)](_0x114878(0x20b));this[_0x114878(0x1e8)][_0x114878(0x1fd)](_0x14e029),this[_0x114878(0x219)]&&_0x3a5e8c&&!_0x32b728&&this[_0x114878(0x1da)][_0x114878(0x1e5)]({'top':this[_0x114878(0x1da)][_0x114878(0x1ff)],'behavior':_0x114878(0x212)});}),this['on'](_0x394f71(0x21c),(_0x30c556,_0x523852,_0x4c101c)=>{const _0x145d94=_0x394f71;_0x32b728=!0x1,_0x4c101c?(this[_0x145d94(0x1f3)]=null,this[_0x145d94(0x1e8)][_0x145d94(0x20e)]()):this[_0x145d94(0x1f3)]||this[_0x145d94(0x1e8)][_0x145d94(0x1fd)]('');}),this[_0x394f71(0x202)](this[_0x394f71(0x1da)],_0x394f71(0x20d),()=>{_0x32b728=!0x0;}),this[_0x394f71(0x202)](this[_0x394f71(0x1da)],_0x394f71(0x1ee),()=>{_0x32b728=!0x0;});}[_0x420a47(0x1f5)](){const _0x15ad53=_0x420a47;this[_0x15ad53(0x1da)][_0x15ad53(0x1f5)]();}[_0x420a47(0x206)](){const _0x3a524c=_0x420a47,_0x399292=this[_0x3a524c(0x1eb)],_0x295665=new _0x3431cc(this[_0x3a524c(0x1eb)]),_0xd5a4e8=_0x3a524c(0x209);return _0x295665[_0x3a524c(0x20a)]({'label':_0x330aaa(_0x399292,_0x3a524c(0x1e1)),'icon':_0x51a911,'class':_0xd5a4e8,'tooltip':!0x0}),_0x295665[_0x3a524c(0x1ef)](_0x3a524c(0x1d7))['to'](this,_0x3a524c(0x1f3),_0x39f147=>!!_0x39f147),_0x295665[_0x3a524c(0x1ef)](_0x3a524c(0x1d5))['to'](this,_0x3a524c(0x219),_0x15f4a6=>!_0x15f4a6),_0x295665['on'](_0x3a524c(0x1e3),()=>{const _0x1ecb64=_0x3a524c;this[_0x1ecb64(0x1e6)](this[_0x1ecb64(0x1e8)][_0x1ecb64(0x1da)]),_0x295665[_0x1ecb64(0x1ce)]=_0x46100c,_0x295665[_0x1ecb64(0x1e0)]=_0xd5a4e8+_0x1ecb64(0x1d6),this[_0x1ecb64(0x1f5)](),setTimeout(()=>{const _0x3c3193=_0x1ecb64;_0x295665[_0x3c3193(0x1ce)]=_0x51a911,_0x295665[_0x3c3193(0x1e0)]=_0xd5a4e8;},0x3e8);}),_0x295665;}[_0x420a47(0x1e6)](_0x3f8d74){const _0x21f55a=_0x420a47,{window:_0x5ba145,document:_0x26ef04}=_0x4af705;if(_0x5ba145[_0x21f55a(0x215)]){const {Blob:_0x364886,ClipboardItem:_0x507a3f}=_0x5ba145,_0x542d36=[new _0x507a3f({'text/html':new _0x364886([_0x3f8d74[_0x21f55a(0x1d4)]],{'type':_0x21f55a(0x1e4)}),'text/plain':new _0x364886([_0x3f8d74[_0x21f55a(0x1f4)]||''],{'type':_0x21f55a(0x1dd)})})];navigator[_0x21f55a(0x21a)][_0x21f55a(0x1fa)](_0x542d36);}else{const _0x2106e4=_0x26ef04[_0x21f55a(0x21d)](_0x21f55a(0x217));_0x2106e4[_0x21f55a(0x204)][_0x21f55a(0x1cf)]=_0x21f55a(0x1ea),_0x2106e4[_0x21f55a(0x204)][_0x21f55a(0x213)]=_0x21f55a(0x203),_0x2106e4[_0x21f55a(0x1d4)]=_0x21f55a(0x1ed)+_0x3f8d74[_0x21f55a(0x1d4)]+_0x21f55a(0x1dc),_0x26ef04[_0x21f55a(0x20c)][_0x21f55a(0x1de)](_0x2106e4);const _0x5a02a6=_0x26ef04[_0x21f55a(0x1fc)]();_0x5a02a6[_0x21f55a(0x1df)](_0x2106e4[_0x21f55a(0x1d3)]),_0x5a02a6[_0x21f55a(0x21e)](_0x2106e4[_0x21f55a(0x210)]);const _0x1beb41=_0x5ba145[_0x21f55a(0x1f1)]();_0x1beb41[_0x21f55a(0x1e2)](),_0x1beb41[_0x21f55a(0x216)](_0x5a02a6),_0x26ef04[_0x21f55a(0x1d0)](_0x21f55a(0x214)),_0x2106e4[_0x21f55a(0x1cb)]();}}}export class ContentFieldView extends _0xb4d81{constructor(_0x1f9116,_0x4e8595=''){const _0x34976d=_0x420a47;super(_0x1f9116),this[_0x34976d(0x1f7)]=this[_0x34976d(0x205)](),this[_0x34976d(0x1ec)]({'tag':_0x34976d(0x217),'attributes':{'class':['ck',_0x34976d(0x208),_0x4e8595,_0x34976d(0x1d2),_0x34976d(0x1d8)]}});}[_0x420a47(0x1fd)](_0x3bf70c){const _0x227b92=_0x420a47;this[_0x227b92(0x1da)][_0x227b92(0x1d4)]=_0x3bf70c;}[_0x420a47(0x20e)](){const _0xe08859=_0x420a47;this[_0xe08859(0x1da)][_0xe08859(0x1de)](this[_0xe08859(0x1f7)][_0xe08859(0x1da)]);}[_0x420a47(0x205)](){const _0x4d436=_0x420a47,_0x29fffb=new _0xb4d81(),_0x24fd9c=this[_0x4d436(0x1eb)],_0x583db8=new _0x438690();return _0x583db8[_0x4d436(0x1d7)]=!0x0,_0x29fffb[_0x4d436(0x1ec)]({'tag':_0x4d436(0x217),'attributes':{'class':['ck',_0x4d436(0x1e7)]},'children':[_0x583db8,{'text':_0x330aaa(_0x24fd9c,_0x4d436(0x211))}]}),_0x29fffb[_0x4d436(0x207)](),_0x29fffb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4f4199,_0x21a84e){const _0x4aca08=_0x42bc,_0x87703e=_0x4f4199();while(!![]){try{const _0x39856c=parseInt(_0x4aca08(0x1a6))/0x1*(parseInt(_0x4aca08(0x1a0))/0x2)+parseInt(_0x4aca08(0x19a))/0x3+-parseInt(_0x4aca08(0x1a8))/0x4+-parseInt(_0x4aca08(0x1a2))/0x5+parseInt(_0x4aca08(0x1a9))/0x6*(-parseInt(_0x4aca08(0x1a1))/0x7)+-parseInt(_0x4aca08(0x1a5))/0x8*(parseInt(_0x4aca08(0x1a7))/0x9)+parseInt(_0x4aca08(0x19c))/0xa;if(_0x39856c===_0x21a84e)break;else _0x87703e['push'](_0x87703e['shift']());}catch(_0x503245){_0x87703e['push'](_0x87703e['shift']());}}}(_0x51cf,0x27617));function _0x51cf(){const _0x512074=['374396uOfqyD','1266BKfczf','text','263124SJOtqc','bindTemplate','6553110yIYrRb','ck-ai-form__error','set','content','93454VSXqiJ','5719MrdHdh','1177895vmnHtC','div','setTemplate','28896BTzOXs','3ThQPFA','549GXWZgc'];_0x51cf=function(){return _0x512074;};return _0x51cf();}import{IconError as _0x17f4c7}from'ckeditor5/src/icons.js';function _0x42bc(_0x309004,_0x2a2ffd){const _0x51cf7a=_0x51cf();return _0x42bc=function(_0x42bcc1,_0x5f04c6){_0x42bcc1=_0x42bcc1-0x19a;let _0x262e12=_0x51cf7a[_0x42bcc1];return _0x262e12;},_0x42bc(_0x309004,_0x2a2ffd);}import{View as _0x1bd488,IconView as _0x3a5731}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x1bd488{constructor(_0x3eb34a,_0x360180=''){const _0x418339=_0x42bc;super(_0x3eb34a);const _0x3c07ef=new _0x3a5731(),_0x1ffe54=this[_0x418339(0x19b)];this[_0x418339(0x19e)](_0x418339(0x1aa),_0x360180),_0x3c07ef[_0x418339(0x19f)]=_0x17f4c7,this[_0x418339(0x1a4)]({'tag':_0x418339(0x1a3),'attributes':{'class':['ck',_0x418339(0x19d)]},'children':[_0x3c07ef,{'text':_0x1ffe54['to'](_0x418339(0x1aa))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16cac5=_0x10a2;(function(_0x5e938d,_0x38f8b5){const _0x3894c8=_0x10a2,_0x55afa7=_0x5e938d();while(!![]){try{const _0x33e172=-parseInt(_0x3894c8(0x225))/0x1*(parseInt(_0x3894c8(0x21c))/0x2)+parseInt(_0x3894c8(0x1f8))/0x3*(-parseInt(_0x3894c8(0x218))/0x4)+-parseInt(_0x3894c8(0x201))/0x5*(-parseInt(_0x3894c8(0x219))/0x6)+-parseInt(_0x3894c8(0x21a))/0x7*(parseInt(_0x3894c8(0x1ed))/0x8)+-parseInt(_0x3894c8(0x1f6))/0x9*(parseInt(_0x3894c8(0x1ea))/0xa)+parseInt(_0x3894c8(0x1eb))/0xb+-parseInt(_0x3894c8(0x220))/0xc*(-parseInt(_0x3894c8(0x20e))/0xd);if(_0x33e172===_0x38f8b5)break;else _0x55afa7['push'](_0x55afa7['shift']());}catch(_0x4b825d){_0x55afa7['push'](_0x55afa7['shift']());}}}(_0x24ec,0x60b00));import{Rect as _0x3d3cc4,global as _0x3a4600,isVisible as _0x1549b1}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4cc4ae,IconSubmit as _0x36c82f}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x5eab47,ButtonView as _0x182fc9}from'ckeditor5/src/ui.js';import{getTranslation as _0x6ebb7e}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x5eab47{[_0x16cac5(0x1f7)];[_0x16cac5(0x208)];constructor(_0x43cc4a,_0x26c55c){const _0x25d3d1=_0x16cac5;super(_0x43cc4a,_0x26c55c),this[_0x25d3d1(0x207)][_0x25d3d1(0x1fc)][_0x25d3d1(0x202)]=0x1,this[_0x25d3d1(0x207)][_0x25d3d1(0x1fc)][_0x25d3d1(0x206)]=0x3,this[_0x25d3d1(0x1f7)]=this[_0x25d3d1(0x1f5)](),this[_0x25d3d1(0x208)]=this[_0x25d3d1(0x221)](),this[_0x25d3d1(0x20d)][_0x25d3d1(0x21b)](this[_0x25d3d1(0x208)],0x1),this[_0x25d3d1(0x20d)][_0x25d3d1(0x21b)](this[_0x25d3d1(0x1f7)]);}[_0x16cac5(0x216)](){const _0x4e1ede=_0x16cac5;super[_0x4e1ede(0x216)](),this[_0x4e1ede(0x207)][_0x4e1ede(0x21e)][_0x4e1ede(0x21b)](this[_0x4e1ede(0x208)]),this[_0x4e1ede(0x204)][_0x4e1ede(0x21b)](this[_0x4e1ede(0x1f7)]),this[_0x4e1ede(0x211)][_0x4e1ede(0x226)](_0x4e1ede(0x1fa),(_0x10c537,_0x169ff3)=>{const _0x164f73=_0x4e1ede;_0x10c537[_0x164f73(0x212)]==this[_0x164f73(0x207)][_0x164f73(0x1fc)][_0x164f73(0x1fd)]&&(this[_0x164f73(0x224)](),_0x169ff3());});}[_0x16cac5(0x1f5)](){const _0x115ab2=_0x16cac5,_0x5894ef=new _0x182fc9(this[_0x115ab2(0x1f2)]),_0x33ec2e=this[_0x115ab2(0x1f2)];return _0x5894ef[_0x115ab2(0x226)]({'icon':_0x36c82f,'label':_0x6ebb7e(_0x33ec2e,_0x115ab2(0x223)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x115ab2(0x20b)}),_0x5894ef['on'](_0x115ab2(0x1f1),()=>{const _0x3132f1=_0x115ab2;this[_0x3132f1(0x224)]();}),_0x5894ef[_0x115ab2(0x214)](_0x115ab2(0x1ec))['to'](this[_0x115ab2(0x207)][_0x115ab2(0x1fc)],_0x115ab2(0x200),this,_0x115ab2(0x1ec),(_0x10cbf9,_0x40fcf0)=>!_0x10cbf9&&_0x40fcf0),_0x5894ef;}[_0x16cac5(0x221)](){const _0x4231a0=_0x16cac5,_0x1afe27=new _0x182fc9(this[_0x4231a0(0x1f2)]),_0x102add=this[_0x4231a0(0x222)],_0x1633ad=this[_0x4231a0(0x1f2)];_0x1afe27[_0x4231a0(0x226)]({'label':_0x6ebb7e(_0x1633ad,_0x4231a0(0x21f)),'withText':!0x1,'icon':_0x4cc4ae,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4231a0(0x1fb)}),_0x1afe27[_0x4231a0(0x214)](_0x4231a0(0x1f9))['to'](_0x102add,_0x4231a0(0x215)),_0x1afe27[_0x4231a0(0x214)](_0x4231a0(0x1ec))['to'](this,_0x4231a0(0x1ec)),_0x1afe27['on'](_0x4231a0(0x1f1),()=>{const _0x5d0896=_0x4231a0;_0x102add[_0x5d0896(0x215)]=!_0x102add[_0x5d0896(0x215)],_0x102add[_0x5d0896(0x215)]?this[_0x5d0896(0x1f3)][_0x5d0896(0x209)]():this[_0x5d0896(0x209)]();});const _0xc5eca4=()=>{const _0x8b7b02=_0x4231a0;_0x3a4600[_0x8b7b02(0x1f0)][_0x8b7b02(0x20f)](()=>{const _0x1b2338=_0x8b7b02;if(_0x1549b1(this[_0x1b2338(0x1fd)])){const _0x42ce05=new _0x3d3cc4(this[_0x1b2338(0x207)][_0x1b2338(0x1fc)][_0x1b2338(0x1fd)]),_0x33d11f=_0x42ce05[_0x1b2338(0x20a)],_0x454a67=_0x1b2338(0x1ee)===_0x1633ad[_0x1b2338(0x203)]?_0x1b2338(0x1ef):_0x1b2338(0x217);_0x42ce05[_0x1b2338(0x205)](),_0x1afe27[_0x1b2338(0x1fd)][_0x1b2338(0x210)][_0x454a67]=_0x33d11f-_0x42ce05[_0x1b2338(0x20a)]+0x1+'px';}});};return this[_0x4231a0(0x207)][_0x4231a0(0x1fc)]['on'](_0x4231a0(0x213),_0xc5eca4),this['on'](_0x4231a0(0x216),_0xc5eca4),_0x1afe27;}[_0x16cac5(0x224)](){const _0x5ca3c1=_0x16cac5,_0x2299b2=this[_0x5ca3c1(0x207)][_0x5ca3c1(0x1fc)][_0x5ca3c1(0x1fd)][_0x5ca3c1(0x21d)];this[_0x5ca3c1(0x1ff)](_0x5ca3c1(0x224),_0x2299b2);}[_0x16cac5(0x209)](_0x3b581a){const _0x1f8b9d=_0x16cac5;-0x1===_0x3b581a?this[_0x1f8b9d(0x20c)][_0x1f8b9d(0x1f4)]():this[_0x1f8b9d(0x20c)][_0x1f8b9d(0x1fe)]();}}function _0x10a2(_0x170fb9,_0x236fb5){const _0x24ec81=_0x24ec();return _0x10a2=function(_0x10a28a,_0x3b6c3a){_0x10a28a=_0x10a28a-0x1ea;let _0x1f7e97=_0x24ec81[_0x10a28a];return _0x1f7e97;},_0x10a2(_0x170fb9,_0x236fb5);}function _0x24ec(){const _0x566562=['ck-ai-form__submit','focusCycler','focusableChildren','13SPgTjv','requestAnimationFrame','style','keystrokes','target','update','bind','isVisible','render','right','1636HfgEmj','18uBHdVU','434RPYSYE','add','618294iGXpyG','value','fieldWrapperChildren','History','12559032QuvRDu','_createShowHistoryButton','resultsView','Submit','submit','2FoIjGV','set','366200LMLYkC','8158634ZkqdKS','isEnabled','25944grIGSM','rtl','left','window','execute','locale','filteredView','focusLast','_createSubmitButton','99tdSHWp','submitButtonView','1902hGWfkB','isOn','enter','ck-ai-form__toggle-history','fieldView','element','focusFirst','fire','isEmpty','148730DyLlNf','minRows','uiLanguageDirection','children','excludeScrollbarsAndBorders','maxRows','queryView','showHistoryButtonView','focus','width'];_0x24ec=function(){return _0x566562;};return _0x24ec();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xd48f(_0x1b6e8a,_0x3d61f3){const _0x31be1b=_0x31be();return _0xd48f=function(_0xd48f34,_0x169206){_0xd48f34=_0xd48f34-0x190;let _0x59fa32=_0x31be1b[_0xd48f34];return _0x59fa32;},_0xd48f(_0x1b6e8a,_0x3d61f3);}const _0x4e91bd=_0xd48f;function _0x31be(){const _0x17e136=['ck-hidden','4096sSCwbL','mainAction','locale','1828955uEcFAA','3314423SSNbcK','addMany','bind','ck-button-action','3249looWNI','_createButton','ck-ai-form__toolbar','label','insertButton','insert','replaceButton','stopButton','Try\x20again','Insert\x20below','REPLACE','extendTemplate','2590860RhAKXm','bindTemplate','Stop','_CONTENT','toUpperCase','replace','isVisible','2158472gCNIJG','AI_','12673110VjPSPV','items','tryAgainButton','6ebUPJI','1317165DJghNP','27qaDYVj','set'];_0x31be=function(){return _0x17e136;};return _0x31be();}(function(_0x40dd92,_0x32ef61){const _0x4456ed=_0xd48f,_0x2cae3a=_0x40dd92();while(!![]){try{const _0x2ddd22=-parseInt(_0x4456ed(0x1b4))/0x1+parseInt(_0x4456ed(0x1a7))/0x2+parseInt(_0x4456ed(0x19b))/0x3*(parseInt(_0x4456ed(0x193))/0x4)+parseInt(_0x4456ed(0x196))/0x5*(-parseInt(_0x4456ed(0x1b3))/0x6)+-parseInt(_0x4456ed(0x197))/0x7+parseInt(_0x4456ed(0x1ae))/0x8*(-parseInt(_0x4456ed(0x190))/0x9)+parseInt(_0x4456ed(0x1b0))/0xa;if(_0x2ddd22===_0x32ef61)break;else _0x2cae3a['push'](_0x2cae3a['shift']());}catch(_0x318385){_0x2cae3a['push'](_0x2cae3a['shift']());}}}(_0x31be,0xac545));import{ToolbarView as _0x18b60a,ButtonView as _0x47fd5c}from'ckeditor5/src/ui.js';import{getTranslation as _0x13083f}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4e91bd(0x1ac),'INSERT':_0x4e91bd(0x1a0)};export class AIFormToolbarView extends _0x18b60a{constructor(_0x27d4b){const _0x551af3=_0x4e91bd;super(_0x27d4b),this[_0x551af3(0x191)](_0x551af3(0x1ad),!0x1),this[_0x551af3(0x191)](_0x551af3(0x194),AIFormToolbarViewMainActionLabel[_0x551af3(0x1a5)]),this[_0x551af3(0x1a1)]=this[_0x551af3(0x19c)]('',_0x551af3(0x19a)),this[_0x551af3(0x1a1)][_0x551af3(0x199)](_0x551af3(0x19e))['to'](this,_0x551af3(0x194),_0x3d617a=>_0x13083f(_0x27d4b,_0x551af3(0x1af)+_0x3d617a[_0x551af3(0x1ab)]()+_0x551af3(0x1aa))),this[_0x551af3(0x19f)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a4))),this[_0x551af3(0x1b2)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a3))),this[_0x551af3(0x1a2)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a9)));const _0x1187b8=this[_0x551af3(0x1a8)];this[_0x551af3(0x1a6)]({'attributes':{'class':[_0x551af3(0x19d),_0x1187b8['if'](_0x551af3(0x1ad),_0x551af3(0x192),_0x381351=>!_0x381351)]}}),this[_0x551af3(0x1b1)][_0x551af3(0x198)]([this[_0x551af3(0x1a1)],this[_0x551af3(0x19f)],this[_0x551af3(0x1b2)],this[_0x551af3(0x1a2)]]);}[_0x4e91bd(0x19c)](_0x154f04,_0x458609){const _0x5088b3=_0x4e91bd,_0x84e4f4=new _0x47fd5c(this[_0x5088b3(0x195)]);return _0x84e4f4[_0x5088b3(0x191)]({'label':_0x154f04,'class':_0x458609||'','isVisible':!0x0,'withText':!0x0}),_0x84e4f4;}}
|