@ckeditor/ckeditor5-ai 47.3.0-alpha.4 → 47.3.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3507(_0x251f21,_0x8a9729){const _0x35626a=_0x3562();return _0x3507=function(_0x350740,_0x52fb83){_0x350740=_0x350740-0x12f;let _0x5e4422=_0x35626a[_0x350740];return _0x5e4422;},_0x3507(_0x251f21,_0x8a9729);}function _0x3562(){const _0x2ca630=['isOfficialPlugin','2383795AENlds','filter','1059882JnoIEV','_prepareTableInsertBelowPosition','markers','showFakeVisualSelection','setSelection','map','afterInit','from','markerToHighlight','getRange','createUIElement','last','225531EkRawE','table','ai-ui','DataTransfer','TableUtils','data','get','has','ck-fake-ai-selection_collapsed','isContent','ck-fake-ai-selection','conversion','lowest','forEach','insertContentBelow','getChildren','href','model','createRange','getChild','getLastMatchingPosition','element','_getAISelection','editingDowncast','AIAssistantEditing','for','_pasteHTMLUsingClipboard','600623hhlOee','createPositionAt','fire','setData','_getDefaultInsertBelowPosition','getColumnIndexes','addClass','111405PeRQOe','getSelectedBlocks','resultRange','2622368DubBKk','getRanges','insertRows','7GOBuSC','pop','getRows','markerToElement','removeMarker','isPremiumPlugin','off','getRowIndexes','schema','_createEmptyTableRows','editing','init','createSelection','parse','createPositionAfter','isCollapsed','markerRange','first','paste','canEditAt','_resetContentOfSelectedTableCells','editor','join','plugins','_getTableRowCountFromContent','text/html','config','getLastPosition','span','length','start','getMarkersGroup','findAncestor','fromCharCode','once','end','30LMXlYV','ck-ai-assistant-ui_theme','44HRCuGS','push','deleteContent','3272016ovIsnD','document','pluginName','updateMarker','selection','contentInsertion','isAtEnd','getSelectedTableCells','addMarker','getFirstRange','hideFakeVisualSelection','ai.assistant.useTheme','insertContent','change'];_0x3562=function(){return _0x2ca630;};return _0x3562();}const _0x399264=_0x3507;(function(_0x28461b,_0x4a47e3){const _0x1ad5d1=_0x3507,_0x159646=_0x28461b();while(!![]){try{const _0x5a6361=parseInt(_0x1ad5d1(0x175))/0x1+-parseInt(_0x1ad5d1(0x14e))/0x2+parseInt(_0x1ad5d1(0x17c))/0x3*(-parseInt(_0x1ad5d1(0x13a))/0x4)+parseInt(_0x1ad5d1(0x14c))/0x5+parseInt(_0x1ad5d1(0x13d))/0x6*(parseInt(_0x1ad5d1(0x182))/0x7)+-parseInt(_0x1ad5d1(0x17f))/0x8+-parseInt(_0x1ad5d1(0x15a))/0x9*(-parseInt(_0x1ad5d1(0x138))/0xa);if(_0x5a6361===_0x4a47e3)break;else _0x159646['push'](_0x159646['shift']());}catch(_0x22f66d){_0x159646['push'](_0x159646['shift']());}}}(_0x3562,0x69639));import{uid as _0x12f85d}from'ckeditor5/src/utils.js';import{Plugin as _0x2ef6b9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x490f6e}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x589f99,ViewDataTransfer as _0x823348}from'ckeditor5/src/engine.js';const w=globalThis[_0x399264(0x15d)],f=_0x399264(0x15c);export class AIAssistantEditing extends _0x2ef6b9{static get[_0x399264(0x13f)](){const _0x721bc6=_0x399264;return _0x721bc6(0x172);}static get[_0x399264(0x14b)](){return!0x0;}static get[_0x399264(0x187)](){return!0x0;}[_0x399264(0x18d)](){const _0x480bd1=_0x399264,{editor:_0x1f9011}=this,_0x1c9bd0=[_0x480bd1(0x164)];_0x1f9011[_0x480bd1(0x19c)][_0x480bd1(0x160)](_0x480bd1(0x148))&&_0x1c9bd0[_0x480bd1(0x13b)](_0x480bd1(0x139)),_0x1f9011[_0x480bd1(0x165)][_0x480bd1(0x173)](_0x480bd1(0x171))[_0x480bd1(0x156)]({'model':f,'view':{'classes':_0x1c9bd0,'priority':0xc}}),_0x1f9011[_0x480bd1(0x165)][_0x480bd1(0x173)](_0x480bd1(0x171))[_0x480bd1(0x185)]({'model':f,'view':(_0x465fab,{writer:_0x5c4545})=>{const _0x3e4851=_0x480bd1;if(!_0x465fab[_0x3e4851(0x192)][_0x3e4851(0x191)])return null;const _0x5814f3=_0x5c4545[_0x3e4851(0x158)](_0x3e4851(0x130));return _0x5c4545[_0x3e4851(0x17b)]([_0x3e4851(0x164),_0x3e4851(0x162)],_0x5814f3),_0x5814f3;}});}[_0x399264(0x154)](){!async function(_0x4d5e77){const _0x154523=_0x3b9a7e([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]),_0x3ef076=0x3dffc4e1,_0x1e909a=0x3df8be71^_0x3ef076,_0x610c93=window[_0x3b9a7e([0x44,0x61,0x74,0x65])][_0x3b9a7e([0x6e,0x6f,0x77])](),_0x22a121=_0x4d5e77[_0x3b9a7e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ddd14=new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf337d3=>{_0x22a121[_0x3b9a7e([0x6f,0x6e,0x63,0x65])](_0x3b9a7e([0x72,0x65,0x61,0x64,0x79]),_0xf337d3);}),_0x5d928b={[_0x3b9a7e([0x6b,0x74,0x79])]:_0x3b9a7e([0x45,0x43]),[_0x3b9a7e([0x75,0x73,0x65])]:_0x3b9a7e([0x73,0x69,0x67]),[_0x3b9a7e([0x63,0x72,0x76])]:_0x3b9a7e([0x50,0x2d,0x32,0x35,0x36]),[_0x3b9a7e([0x78])]:_0x3b9a7e([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]),[_0x3b9a7e([0x79])]:_0x3b9a7e([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]),[_0x3b9a7e([0x61,0x6c,0x67])]:_0x3b9a7e([0x45,0x53,0x32,0x35,0x36])},_0x3fada7=_0x22a121[_0x3b9a7e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b9a7e([0x67,0x65,0x74])](_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd77d78(){let _0x50cedf,_0x31b006=null,_0x2667bb=null;try{if(_0x3fada7==_0x3b9a7e([0x47,0x50,0x4c]))return _0x3b9a7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50cedf=_0x1b372c(),!_0x50cedf)return _0x3b9a7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50cedf[_0x3b9a7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2667bb=_0x88de8f(_0x50cedf[_0x3b9a7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50cedf[_0x3b9a7e([0x6a,0x74,0x69])])),await _0xabfb66()?_0x53af52()?_0x43cb82()?_0x3b9a7e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe68868()?(_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b9a7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31b006=_0x5c278f(_0x3b9a7e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b9a7e([0x74,0x72,0x69,0x61,0x6c])&&(_0x31b006=_0x5c278f(_0x3b9a7e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7f206d()):_0x3b9a7e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b9a7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b9a7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b9a7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43cb82(){const _0x1f0527=[_0x3b9a7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b9a7e([0x74,0x72,0x69,0x61,0x6c])][_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x610c93/0x3e8:0xe10*_0x1e909a;return _0x50cedf[_0x3b9a7e([0x65,0x78,0x70])]<_0x1f0527;}function _0x53af52(){const _0x3158c2=_0x50cedf[_0x3b9a7e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3158c2&&(!!_0x3158c2[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9a7e([0x2a]))||!!_0x3158c2[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9a7e([0x41,0x49])));}function _0xe68868(){const _0x4fff09=_0x3507,_0x138853=_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x138853||0x0==_0x138853[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ea9e1}=new URL(window[_0x3b9a7e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4fff09(0x16a)]);if(_0x138853[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ea9e1))return!0x0;const _0x5a3590=_0x1ea9e1[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e]));return _0x138853[_0x3b9a7e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5102d6=>_0x5102d6[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9a7e([0x2a])))[_0x3b9a7e([0x6d,0x61,0x70])](_0x5e2f34=>_0x5e2f34[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e])))[_0x3b9a7e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3687e1=>_0x3687e1[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a3590[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b9a7e([0x6d,0x61,0x70])](_0x43f93c=>Array(_0x5a3590[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43f93c[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b9a7e([0x66,0x69,0x6c,0x6c])](_0x43f93c[0x0]===_0x3b9a7e([0x2a])?_0x3b9a7e([0x2a]):'')[_0x3b9a7e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43f93c))[_0x3b9a7e([0x73,0x6f,0x6d,0x65])](_0x5ab2b5=>_0x5a3590[_0x3b9a7e([0x65,0x76,0x65,0x72,0x79])]((_0x364b4a,_0xb77c4e)=>_0x5ab2b5[_0xb77c4e]===_0x364b4a||_0x5ab2b5[_0xb77c4e]===_0x3b9a7e([0x2a])));}function _0x7f206d(){return _0x31b006&&_0x2667bb?new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dc56b,_0x5eda70)=>{_0x31b006[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x1dc56b,_0x5eda70),_0x2667bb[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x456cec=>{_0x456cec!=_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64])&&_0x1dc56b(_0x456cec);},_0x5eda70);}):_0x31b006||_0x2667bb||_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x88de8f(_0x10186d,_0x265059){return new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38cfc9=>{if(_0xc78348())return _0x38cfc9(_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64]));_0x44684a(),_0x22a121[_0x3b9a7e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b9a7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22beab=!0x1;const _0x1c5ad2=_0x12f85d();function _0x22e624(_0x291b1e){return!!_0x291b1e&&(typeof _0x291b1e===_0x3b9a7e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x291b1e===_0x3b9a7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x291b1e[_0x3b9a7e([0x74,0x68,0x65,0x6e])]===_0x3b9a7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x291b1e[_0x3b9a7e([0x63,0x61,0x74,0x63,0x68])]===_0x3b9a7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24f263(_0x415998){_0x315cbd(_0x415998)[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x919263=>{if(!_0x919263||_0x919263[_0x3b9a7e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b9a7e([0x6f,0x6b]))return _0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e32a8(_0x50761d(_0x1c5ad2+_0x265059))!=_0x919263[_0x3b9a7e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x15b6a8=>(_0x1f3d11(),_0x15b6a8),()=>{const _0x56212f=_0x4906a9();return null==_0x56212f?(_0x1f3d11(),_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64])):_0x3b9a7e(_0x610c93-_0x56212f>(0x19f340e1^_0x3ef076)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x38cfc9)[_0x3b9a7e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38cfc9(_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a6db3=0x3dc92a61^_0x3ef076;function _0x1f3d11(){const _0x3da36f=_0x3b9a7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e32a8(_0x50761d(_0x10186d)),_0x2a980a=_0xd3fb20(_0x5e32a8(window[_0x3b9a7e([0x4d,0x61,0x74,0x68])][_0x3b9a7e([0x63,0x65,0x69,0x6c])](_0x610c93/_0x1a6db3)));window[_0x3b9a7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b9a7e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3da36f,_0x2a980a);}function _0x4906a9(){const _0x13f76b=_0x3b9a7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e32a8(_0x50761d(_0x10186d)),_0x11df73=window[_0x3b9a7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b9a7e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13f76b);return _0x11df73?window[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd3fb20(_0x11df73),0x10)*_0x1a6db3:null;}function _0x315cbd(_0x3b6e57){return new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5be14a,_0x51bc93)=>{_0x3b6e57[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x5be14a,_0x51bc93),window[_0x3b9a7e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51bc93,0x3dfe1021^_0x3ef076);});}}_0x22a121[_0x3b9a7e([0x6f,0x6e])](_0x3b9a7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x485c85,_0x250ac9)=>{if(_0x250ac9[0x0]!=_0x10186d)return _0x38cfc9(_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x250ac9[0x1]={..._0x250ac9[0x1],[_0x3b9a7e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c5ad2};},{[_0x3b9a7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b9a7e([0x68,0x69,0x67,0x68])}),_0x22a121[_0x3b9a7e([0x6f,0x6e])](_0x3b9a7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x871935=>{_0x22e624(_0x871935[_0x3b9a7e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22beab=!0x0,_0x24f263(_0x871935[_0x3b9a7e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b9a7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b9a7e([0x6c,0x6f,0x77])}),_0x4ddd14[_0x3b9a7e([0x74,0x68,0x65,0x6e])](()=>{_0x22beab||_0x38cfc9(_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc78348(){return _0x22a121[_0x3b9a7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b9a7e([0x76,0x69,0x65,0x77])][_0x3b9a7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b9a7e([0x61,0x75,0x74,0x6f]);}function _0x44684a(){_0x22a121[_0x3b9a7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b9a7e([0x76,0x69,0x65,0x77])][_0x3b9a7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b9a7e([0x61,0x75,0x74,0x6f]);}}function _0x5c278f(_0x2472df){const _0xa21225=[new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21f84c=>setTimeout(_0x21f84c,0x3df6fa2d^_0x3ef076)),_0x4ddd14[_0x3b9a7e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ba8c5=>{let _0x3cc38d=0x0;_0x22a121[_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b9a7e([0x6f,0x6e])](_0x3b9a7e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x418a83,_0x323733)=>{_0x323733[0x0][_0x3b9a7e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cc38d++,_0x3cc38d==(0x3dffc519^_0x3ef076)&&(_0x3ba8c5(),_0x418a83[_0x3b9a7e([0x6f,0x66,0x66])]());});}))];return window[_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b9a7e([0x72,0x61,0x63,0x65])](_0xa21225)[_0x3b9a7e([0x74,0x68,0x65,0x6e])](()=>_0x2472df);}async function _0x242f6a(){await _0x4ddd14,_0x22a121[_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b9a7e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba6ea,_0x22a121[_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b9a7e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba6ea,_0x22a121[_0x3b9a7e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28ba00(_0x46c2a8){const _0x2cd4a3=_0x327420();_0x22a121[_0x2cd4a3]=_0x3b9a7e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46c2a8,_0x46c2a8!=_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64])&&_0x242f6a();}function _0x327420(){const _0x27b0f7=window[_0x3b9a7e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b9a7e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b9a7e([0x6e,0x6f,0x77])]())[_0x3b9a7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b9a7e([0x2e]),'');let _0x514240=_0x3b9a7e([0x6e]);for(let _0xe62964=0x0;_0xe62964<_0x27b0f7[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe62964+=0x2){let _0x496077=window[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27b0f7[_0x3b9a7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe62964,_0xe62964+0x2));_0x496077>=_0x154523[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x496077-=_0x154523[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x514240+=_0x154523[_0x496077];}return _0x514240;}function _0x1b372c(){const _0x2c4398=_0x3fada7[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e]));if(0x3!=_0x2c4398[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39682f(_0x2c4398[0x1]);function _0x39682f(_0x3090df){const _0x43a4d5=_0x2dca92(_0x3090df);return _0x43a4d5&&_0x587cfd()?_0x43a4d5:null;function _0x587cfd(){const _0x3597cf=_0x43a4d5[_0x3b9a7e([0x6a,0x74,0x69])],_0x361d77=window[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3597cf[_0x3b9a7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3597cf[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ccedc={..._0x43a4d5,[_0x3b9a7e([0x6a,0x74,0x69])]:_0x3597cf[_0x3b9a7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3597cf[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ccedc[_0x3b9a7e([0x76,0x63])],_0x50761d(_0x2ccedc)==_0x361d77;}}}async function _0xabfb66(){let _0x421cdf=!0x0;try{const _0x162854=_0x3fada7[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e])),[_0x552d6d,_0x4a622b,_0xb48fef]=_0x162854;return _0x270cf8(_0x552d6d),await _0x5a9b62(_0x552d6d,_0x4a622b,_0xb48fef),_0x421cdf;}catch{return!0x1;}function _0x270cf8(_0x47b432){const _0x42fdd9=_0x2dca92(_0x47b432);_0x42fdd9&&_0x42fdd9[_0x3b9a7e([0x61,0x6c,0x67])]==_0x3b9a7e([0x45,0x53,0x32,0x35,0x36])||(_0x421cdf=!0x1);}async function _0x5a9b62(_0x58914e,_0x499487,_0x52fafc){const _0x4ea58a=window[_0x3b9a7e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b9a7e([0x66,0x72,0x6f,0x6d])](_0x5f3fa0(_0x52fafc),_0x48c39e=>_0x48c39e[_0x3b9a7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe2525e=new window[(_0x3b9a7e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b9a7e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58914e+_0x3b9a7e([0x2e])+_0x499487),_0x13a857=window[_0x3b9a7e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b9a7e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13a857)return;const _0x2df968=await _0x13a857[_0x3b9a7e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b9a7e([0x6a,0x77,0x6b]),_0x5d928b,{[_0x3b9a7e([0x6e,0x61,0x6d,0x65])]:_0x3b9a7e([0x45,0x43,0x44,0x53,0x41]),[_0x3b9a7e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b9a7e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b9a7e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13a857[_0x3b9a7e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b9a7e([0x6e,0x61,0x6d,0x65])]:_0x3b9a7e([0x45,0x43,0x44,0x53,0x41]),[_0x3b9a7e([0x68,0x61,0x73,0x68])]:{[_0x3b9a7e([0x6e,0x61,0x6d,0x65])]:_0x3b9a7e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2df968,_0x4ea58a,_0xe2525e)||(_0x421cdf=!0x1);}}function _0x2dca92(_0x4bf2ff){return _0x4bf2ff[_0x3b9a7e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b9a7e([0x65,0x79]))?JSON[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65])](_0x5f3fa0(_0x4bf2ff)):null;}function _0x5f3fa0(_0x5d1348){return window[_0x3b9a7e([0x61,0x74,0x6f,0x62])](_0x5d1348[_0x3b9a7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b9a7e([0x2b]))[_0x3b9a7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b9a7e([0x2f])));}function _0x50761d(_0x2af1d5){let _0x7a7b82=0x1505;function _0x5048f6(_0xa37d50){for(let _0xff5e8c=0x0;_0xff5e8c<_0xa37d50[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xff5e8c++){const _0x295051=_0xa37d50[_0x3b9a7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xff5e8c);_0x7a7b82=(_0x7a7b82<<0x5)+_0x7a7b82+_0x295051,_0x7a7b82&=_0x7a7b82;}}function _0x250887(_0x376b0b){Array[_0x3b9a7e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x376b0b)?_0x376b0b[_0x3b9a7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x250887):_0x376b0b&&typeof _0x376b0b==_0x3b9a7e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b9a7e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x376b0b)[_0x3b9a7e([0x73,0x6f,0x72,0x74])]()[_0x3b9a7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e1caa,_0x556dd7])=>{_0x5048f6(_0x4e1caa),_0x250887(_0x556dd7);}):_0x5048f6(window[_0x3b9a7e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x376b0b));}return _0x250887(_0x2af1d5),_0x7a7b82>>>0x0;}function _0x5e32a8(_0x3a0619){return _0x3a0619[_0x3b9a7e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b9a7e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b9a7e([0x30]));}function _0xd3fb20(_0x1d6c86){return _0x1d6c86[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b9a7e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b9a7e([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ba6ea(){}function _0x3b9a7e(_0xb1ff77){const _0x4c15b6=_0x3507;return _0xb1ff77[_0x4c15b6(0x153)](_0x3c1f64=>String[_0x4c15b6(0x135)](_0x3c1f64))[_0x4c15b6(0x198)]('');}_0x28ba00(await _0xd77d78());}(this);}[_0x399264(0x151)](){const _0xa8cd54=_0x399264,_0x1d1023=this[_0xa8cd54(0x197)][_0xa8cd54(0x16b)];_0x1d1023[_0xa8cd54(0x14a)](_0x8a2fb2=>{const _0x2027aa=_0xa8cd54,_0x318821=_0x1d1023[_0x2027aa(0x13e)][_0x2027aa(0x141)][_0x2027aa(0x180)]();let _0x3bdf1d=0x0;for(const _0x5b24ab of _0x318821){const _0x15b740=f+':'+_0x3bdf1d;if(_0x1d1023[_0x2027aa(0x150)][_0x2027aa(0x161)](_0x15b740))_0x8a2fb2[_0x2027aa(0x140)](_0x15b740,{'range':_0x5b24ab});else{if(_0x5b24ab[_0x2027aa(0x132)][_0x2027aa(0x143)]){const _0x45680b=_0x5b24ab[_0x2027aa(0x132)][_0x2027aa(0x16e)](({item:_0x59fd99})=>!_0x1d1023[_0x2027aa(0x18a)][_0x2027aa(0x163)](_0x59fd99),{'boundaries':_0x5b24ab});_0x8a2fb2[_0x2027aa(0x145)](_0x15b740,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8a2fb2[_0x2027aa(0x16c)](_0x45680b,_0x5b24ab[_0x2027aa(0x137)])});}else _0x8a2fb2[_0x2027aa(0x145)](_0x15b740,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5b24ab});}_0x3bdf1d++;}});}[_0x399264(0x147)](){const _0x2944d1=_0x399264,_0x3fd9ed=this[_0x2944d1(0x197)][_0x2944d1(0x16b)],_0x5731ce=Array[_0x2944d1(0x155)](this[_0x2944d1(0x197)][_0x2944d1(0x16b)][_0x2944d1(0x150)][_0x2944d1(0x133)](f));_0x5731ce[_0x2944d1(0x131)]&&_0x3fd9ed[_0x2944d1(0x14a)](_0x1e457f=>{const _0x1309d7=_0x2944d1;_0x5731ce[_0x1309d7(0x167)](_0x5ad85b=>{const _0x3c3c6f=_0x1309d7;_0x1e457f[_0x3c3c6f(0x186)](_0x5ad85b);});});}[_0x399264(0x149)](_0x510c0f,_0x511895){const _0x1079bf=_0x399264,_0x2113cc=this[_0x1079bf(0x170)](),_0x2c16fe=_0x511895||_0x2113cc[_0x1079bf(0x146)]();this[_0x1079bf(0x197)][_0x1079bf(0x16b)][_0x1079bf(0x195)](_0x2c16fe)&&this[_0x1079bf(0x197)][_0x1079bf(0x16b)][_0x1079bf(0x14a)](_0x23dba0=>{const _0x28f625=_0x1079bf;this[_0x28f625(0x147)](),_0x511895||this[_0x28f625(0x196)](_0x23dba0,_0x2113cc),this[_0x28f625(0x174)]({'insertAt':_0x2c16fe,'writer':_0x23dba0,'html':_0x510c0f});});}[_0x399264(0x168)](_0x458990){const _0x14d52f=_0x399264,{model:_0x59c8de}=this[_0x14d52f(0x197)],_0x2197d5=this[_0x14d52f(0x170)]();_0x59c8de[_0x14d52f(0x14a)](()=>{const _0x1f1d71=_0x14d52f,_0x3b7926=this[_0x1f1d71(0x14f)](_0x458990,_0x2197d5)||this[_0x1f1d71(0x179)](_0x2197d5);this[_0x1f1d71(0x149)](_0x458990,_0x3b7926);});}[_0x399264(0x170)](){const _0x38833b=_0x399264,_0x2ccb2f=this[_0x38833b(0x197)][_0x38833b(0x16b)],_0x2f1352=Array[_0x38833b(0x155)](_0x2ccb2f[_0x38833b(0x150)][_0x38833b(0x133)](f))[_0x38833b(0x153)](_0x2b3248=>_0x2b3248[_0x38833b(0x157)]());return _0x2ccb2f[_0x38833b(0x18e)](_0x2f1352);}[_0x399264(0x174)]({writer:_0x4f6ee3,html:_0x181076,insertAt:_0x4f1232}){const _0x377869=_0x399264,{view:_0x20f8ac}=this[_0x377869(0x197)][_0x377869(0x18c)],_0x14f259=this[_0x377869(0x197)][_0x377869(0x199)][_0x377869(0x160)](_0x490f6e),_0x2dab02=new w();_0x2dab02[_0x377869(0x178)](_0x377869(0x19b),_0x181076);const _0x517a3f=new ClipboardEvent(_0x377869(0x194),{'clipboardData':_0x2dab02}),_0x5d2017=new _0x589f99(_0x20f8ac,_0x517a3f,{'dataTransfer':new _0x823348(_0x2dab02)});_0x4f6ee3[_0x377869(0x152)](_0x4f1232);const _0x35e9f1=(_0x2290de,_0x56fcf1)=>{const _0x4f53d0=_0x377869;_0x56fcf1[_0x4f53d0(0x17e)]&&_0x4f6ee3[_0x4f53d0(0x152)](_0x56fcf1[_0x4f53d0(0x17e)]);};_0x14f259[_0x377869(0x136)](_0x377869(0x142),_0x35e9f1,{'priority':_0x377869(0x166)}),_0x20f8ac[_0x377869(0x13e)][_0x377869(0x177)](_0x377869(0x194),_0x5d2017),_0x14f259[_0x377869(0x188)](_0x377869(0x142),_0x35e9f1);}[_0x399264(0x179)](_0x4c3c91){const _0x330aec=_0x399264,{model:_0x385160}=this[_0x330aec(0x197)],_0x573585=Array[_0x330aec(0x155)](_0x4c3c91[_0x330aec(0x17d)]());return _0x573585[_0x330aec(0x131)]?_0x385160[_0x330aec(0x190)](_0x573585[_0x330aec(0x183)]()):_0x4c3c91[_0x330aec(0x12f)]();}[_0x399264(0x14f)](_0x575d1c,_0x4af530){const _0x2887d2=_0x399264,{model:_0x481373,plugins:_0x3f195c}=this[_0x2887d2(0x197)];if(_0x3f195c[_0x2887d2(0x161)](_0x2887d2(0x15e))){const _0x4b25ae=_0x3f195c[_0x2887d2(0x160)](_0x2887d2(0x15e))[_0x2887d2(0x144)](_0x4af530);if(_0x4b25ae[_0x2887d2(0x131)]){const _0x59be35=this[_0x2887d2(0x19a)](_0x575d1c),_0xdfd3d8=this[_0x2887d2(0x18b)](_0x4b25ae,_0x59be35);return _0x481373[_0x2887d2(0x176)](_0xdfd3d8,0x0);}}return null;}[_0x399264(0x19a)](_0x12a79b){const _0x5ae310=_0x399264,_0x2df599=this[_0x5ae310(0x197)][_0x5ae310(0x199)][_0x5ae310(0x160)](_0x5ae310(0x15e)),_0xeab7ff=this[_0x5ae310(0x197)][_0x5ae310(0x15f)][_0x5ae310(0x18f)](_0x12a79b),_0x4d15d7=Array[_0x5ae310(0x155)](_0xeab7ff[_0x5ae310(0x169)]())[_0x5ae310(0x14d)](_0x55beb2=>_0x55beb2['is'](_0x5ae310(0x16f),_0x5ae310(0x15b)));let _0x1c5e58=0x0;return _0x4d15d7[_0x5ae310(0x167)](_0x760f83=>{const _0x208f55=_0x5ae310;_0x1c5e58+=_0x2df599[_0x208f55(0x184)](_0x760f83);}),_0x1c5e58;}[_0x399264(0x18b)](_0x2e5416,_0xe7b6aa){const _0x5809d8=_0x399264,_0x37d6bc=this[_0x5809d8(0x197)][_0x5809d8(0x199)][_0x5809d8(0x160)](_0x5809d8(0x15e)),_0x4c6287=_0x37d6bc[_0x5809d8(0x189)](_0x2e5416),_0x183be0=_0x37d6bc[_0x5809d8(0x17a)](_0x2e5416),_0xe33db=_0x4c6287[_0x5809d8(0x159)]+0x1,_0x1d3b04=_0x183be0[_0x5809d8(0x193)],_0x252b5f=_0x2e5416[0x0][_0x5809d8(0x134)](_0x5809d8(0x15b));for(let _0xdd1e05=0x0;_0xdd1e05<_0xe7b6aa;_0xdd1e05++)_0x37d6bc[_0x5809d8(0x181)](_0x252b5f,{'at':_0xe33db});return _0x252b5f[_0x5809d8(0x16d)](_0xe33db)[_0x5809d8(0x16d)](_0x1d3b04);}[_0x399264(0x196)](_0x423152,_0x2324f1){const _0xdf2812=_0x399264,{plugins:_0x16d397}=this[_0xdf2812(0x197)],{model:_0x2f2bd2}=_0x423152;if(!_0x16d397[_0xdf2812(0x161)](_0xdf2812(0x15e)))return;_0x16d397[_0xdf2812(0x160)](_0xdf2812(0x15e))[_0xdf2812(0x144)](_0x2324f1)[_0xdf2812(0x131)]&&_0x2f2bd2[_0xdf2812(0x13c)](_0x2324f1);}}
|
|
23
|
+
function _0x2d96(_0x55325a,_0xb382dd){const _0x74d2ab=_0x74d2();return _0x2d96=function(_0x2d964c,_0x12fd3a){_0x2d964c=_0x2d964c-0xda;let _0x3fb832=_0x74d2ab[_0x2d964c];return _0x3fb832;},_0x2d96(_0x55325a,_0xb382dd);}function _0x74d2(){const _0x47ec3f=['markerToHighlight','join','editor','_pasteHTMLUsingClipboard','isCollapsed','updateMarker','schema','init','getFirstRange','fromCharCode','has','from','insertContent','model','afterInit','541138phQHlF','5071pdGZYu','editingDowncast','document','canEditAt','conversion','832479aXmNDa','isContent','createUIElement','get','ck-fake-ai-selection_collapsed','getChildren','length','showFakeVisualSelection','getMarkersGroup','parse','deleteContent','806823aSuVYk','config','8zHIhNh','98244NgAIDQ','start','hideFakeVisualSelection','ai-ui','getSelectedTableCells','text/html','push','for','findAncestor','span','editing','isPremiumPlugin','createRange','plugins','href','_createEmptyTableRows','4enYeKu','change','DataTransfer','contentInsertion','_getAISelection','getRanges','2089465KUYUCJ','map','6730530TxzXfe','TableUtils','getColumnIndexes','createPositionAt','isOfficialPlugin','last','ck-ai-assistant-ui_theme','getRows','getSelectedBlocks','pluginName','off','addClass','_getTableRowCountFromContent','5GureRy','markerRange','data','insertRows','pop','getRange','createSelection','once','paste','end','insertContentBelow','getChild','removeMarker','lowest','8158800SHTlSR','addMarker','setSelection','selection','isAtEnd','table','_prepareTableInsertBelowPosition','ai.assistant.useTheme','_getDefaultInsertBelowPosition','8TEXgJE','forEach','getLastPosition','ck-fake-ai-selection','fire','AIAssistantEditing','element','getLastMatchingPosition','setData','first','markers','createPositionAfter','markerToElement','_resetContentOfSelectedTableCells','resultRange','filter','getRowIndexes'];_0x74d2=function(){return _0x47ec3f;};return _0x74d2();}const _0x16b1d9=_0x2d96;(function(_0x464d68,_0x25753a){const _0x15e81b=_0x2d96,_0x27f953=_0x464d68();while(!![]){try{const _0xa496d0=parseInt(_0x15e81b(0x110))/0x1*(-parseInt(_0x15e81b(0xec))/0x2)+-parseInt(_0x15e81b(0xf2))/0x3*(parseInt(_0x15e81b(0x13c))/0x4)+-parseInt(_0x15e81b(0x125))/0x5*(parseInt(_0x15e81b(0x118))/0x6)+parseInt(_0x15e81b(0x116))/0x7*(parseInt(_0x15e81b(0xff))/0x8)+parseInt(_0x15e81b(0xfd))/0x9+-parseInt(_0x15e81b(0x133))/0xa+parseInt(_0x15e81b(0xed))/0xb*(parseInt(_0x15e81b(0x100))/0xc);if(_0xa496d0===_0x25753a)break;else _0x27f953['push'](_0x27f953['shift']());}catch(_0xd0a87d){_0x27f953['push'](_0x27f953['shift']());}}}(_0x74d2,0x8f6bc));import{uid as _0x333fc2}from'ckeditor5/src/utils.js';import{Plugin as _0x24d362}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x27948a}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x489851,ViewDataTransfer as _0x15c5ab}from'ckeditor5/src/engine.js';const pt=globalThis[_0x16b1d9(0x112)],yt=_0x16b1d9(0x103);export class AIAssistantEditing extends _0x24d362{static get[_0x16b1d9(0x121)](){const _0x4f6309=_0x16b1d9;return _0x4f6309(0x141);}static get[_0x16b1d9(0x11c)](){return!0x0;}static get[_0x16b1d9(0x10b)](){return!0x0;}[_0x16b1d9(0xe4)](){const _0x31e135=_0x16b1d9,{editor:_0x678bf4}=this,_0x484d19=[_0x31e135(0x13f)];_0x678bf4[_0x31e135(0xfe)][_0x31e135(0xf5)](_0x31e135(0x13a))&&_0x484d19[_0x31e135(0x106)](_0x31e135(0x11e)),_0x678bf4[_0x31e135(0xf1)][_0x31e135(0x107)](_0x31e135(0xee))[_0x31e135(0xdd)]({'model':yt,'view':{'classes':_0x484d19,'priority':0xc}}),_0x678bf4[_0x31e135(0xf1)][_0x31e135(0x107)](_0x31e135(0xee))[_0x31e135(0x148)]({'model':yt,'view':(_0x5175cf,{writer:_0x14d93d})=>{const _0x20a41f=_0x31e135;if(!_0x5175cf[_0x20a41f(0x126)][_0x20a41f(0xe1)])return null;const _0x480c08=_0x14d93d[_0x20a41f(0xf4)](_0x20a41f(0x109));return _0x14d93d[_0x20a41f(0x123)]([_0x20a41f(0x13f),_0x20a41f(0xf6)],_0x480c08),_0x480c08;}});}[_0x16b1d9(0xeb)](){!async function(_0x217a35){const _0xdd50d3=_0x4a6be8([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]),_0x42d86c=0x3dffc4e1,_0x46abb8=0x3df8be21^_0x42d86c,_0x5e763b=window[_0x4a6be8([0x44,0x61,0x74,0x65])][_0x4a6be8([0x6e,0x6f,0x77])](),_0x57ab79=_0x217a35[_0x4a6be8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f2701=new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x188a9c=>{_0x57ab79[_0x4a6be8([0x6f,0x6e,0x63,0x65])](_0x4a6be8([0x72,0x65,0x61,0x64,0x79]),_0x188a9c);}),_0x456a08={[_0x4a6be8([0x6b,0x74,0x79])]:_0x4a6be8([0x45,0x43]),[_0x4a6be8([0x75,0x73,0x65])]:_0x4a6be8([0x73,0x69,0x67]),[_0x4a6be8([0x63,0x72,0x76])]:_0x4a6be8([0x50,0x2d,0x32,0x35,0x36]),[_0x4a6be8([0x78])]:_0x4a6be8([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]),[_0x4a6be8([0x79])]:_0x4a6be8([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]),[_0x4a6be8([0x61,0x6c,0x67])]:_0x4a6be8([0x45,0x53,0x32,0x35,0x36])},_0x4a0f59=_0x57ab79[_0x4a6be8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a6be8([0x67,0x65,0x74])](_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49372a(){let _0x53ef57,_0x2128b7=null,_0x28c985=null;try{if(_0x4a0f59==_0x4a6be8([0x47,0x50,0x4c]))return _0x4a6be8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ef57=_0x1cf0a0(),!_0x53ef57)return _0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ef57[_0x4a6be8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28c985=_0x37458a(_0x53ef57[_0x4a6be8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ef57[_0x4a6be8([0x6a,0x74,0x69])])),await _0x5967ac()?_0x39786b()?_0x4d21d1()?_0x4a6be8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x89ec8a()?(_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a6be8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2128b7=_0x3f30cd(_0x4a6be8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a6be8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2128b7=_0x3f30cd(_0x4a6be8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f0950()):_0x4a6be8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a6be8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d21d1(){const _0x2a0612=[_0x4a6be8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a6be8([0x74,0x72,0x69,0x61,0x6c])][_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e763b/0x3e8:0xe10*_0x46abb8;return _0x53ef57[_0x4a6be8([0x65,0x78,0x70])]<_0x2a0612;}function _0x39786b(){const _0x451b5f=_0x53ef57[_0x4a6be8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x451b5f&&(!!_0x451b5f[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x2a]))||!!_0x451b5f[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x41,0x49])));}function _0x89ec8a(){const _0x144ef9=_0x2d96,_0x37b4c9=_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b4c9||0x0==_0x37b4c9[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a4d2f}=new URL(window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x144ef9(0x10e)]);if(_0x37b4c9[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a4d2f))return!0x0;const _0x362c9d=_0x4a4d2f[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e]));return _0x37b4c9[_0x4a6be8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1da1d5=>_0x1da1d5[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x2a])))[_0x4a6be8([0x6d,0x61,0x70])](_0x5c904c=>_0x5c904c[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e])))[_0x4a6be8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x302fbb=>_0x302fbb[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x362c9d[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a6be8([0x6d,0x61,0x70])](_0x25518b=>Array(_0x362c9d[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25518b[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a6be8([0x66,0x69,0x6c,0x6c])](_0x25518b[0x0]===_0x4a6be8([0x2a])?_0x4a6be8([0x2a]):'')[_0x4a6be8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25518b))[_0x4a6be8([0x73,0x6f,0x6d,0x65])](_0x2e5e03=>_0x362c9d[_0x4a6be8([0x65,0x76,0x65,0x72,0x79])]((_0x110700,_0x51bab5)=>_0x2e5e03[_0x51bab5]===_0x110700||_0x2e5e03[_0x51bab5]===_0x4a6be8([0x2a])));}function _0x1f0950(){return _0x2128b7&&_0x28c985?new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x477899,_0x394d7d)=>{_0x2128b7[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x477899,_0x394d7d),_0x28c985[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x5053eb=>{_0x5053eb!=_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])&&_0x477899(_0x5053eb);},_0x394d7d);}):_0x2128b7||_0x28c985||_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37458a(_0x3ce62c,_0x34444a){return new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a403=>{if(_0x10e7cb())return _0x47a403(_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]));_0x5dabbd(),_0x57ab79[_0x4a6be8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49fe30=!0x1;const _0x583844=_0x333fc2();function _0x261dc6(_0x7fc5ef){return!!_0x7fc5ef&&(typeof _0x7fc5ef===_0x4a6be8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7fc5ef===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7fc5ef[_0x4a6be8([0x74,0x68,0x65,0x6e])]===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7fc5ef[_0x4a6be8([0x63,0x61,0x74,0x63,0x68])]===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x64249c(_0x1d0f75){_0x783fc1(_0x1d0f75)[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x58a89a=>{if(!_0x58a89a||_0x58a89a[_0x4a6be8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a6be8([0x6f,0x6b]))return _0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b8a77(_0x3fcc38(_0x583844+_0x34444a))!=_0x58a89a[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x4b2ad8=>(_0x4d5ec5(),_0x4b2ad8),()=>{const _0x36b835=_0x1209af();return null==_0x36b835?(_0x4d5ec5(),_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])):_0x4a6be8(_0x5e763b-_0x36b835>(0x19f340e1^_0x42d86c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x47a403)[_0x4a6be8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9a3bd3=0x3dc92a61^_0x42d86c;function _0x4d5ec5(){const _0x2bafd1=_0x4a6be8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8a77(_0x3fcc38(_0x3ce62c)),_0x303b91=_0x5c39b3(_0x1b8a77(window[_0x4a6be8([0x4d,0x61,0x74,0x68])][_0x4a6be8([0x63,0x65,0x69,0x6c])](_0x5e763b/_0x9a3bd3)));window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a6be8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bafd1,_0x303b91);}function _0x1209af(){const _0x36112f=_0x4a6be8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8a77(_0x3fcc38(_0x3ce62c)),_0x4d95ca=window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a6be8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36112f);return _0x4d95ca?window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c39b3(_0x4d95ca),0x10)*_0x9a3bd3:null;}function _0x783fc1(_0x1a6547){return new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb5ec84,_0x29e703)=>{_0x1a6547[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0xb5ec84,_0x29e703),window[_0x4a6be8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29e703,0x3dfe1021^_0x42d86c);});}}_0x57ab79[_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ed015,_0x383b22)=>{if(_0x383b22[0x0]!=_0x3ce62c)return _0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x383b22[0x1]={..._0x383b22[0x1],[_0x4a6be8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x583844};},{[_0x4a6be8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a6be8([0x68,0x69,0x67,0x68])}),_0x57ab79[_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf98d80=>{_0x261dc6(_0xf98d80[_0x4a6be8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49fe30=!0x0,_0x64249c(_0xf98d80[_0x4a6be8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a6be8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a6be8([0x6c,0x6f,0x77])}),_0x2f2701[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>{_0x49fe30||_0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10e7cb(){return _0x57ab79[_0x4a6be8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a6be8([0x76,0x69,0x65,0x77])][_0x4a6be8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a6be8([0x61,0x75,0x74,0x6f]);}function _0x5dabbd(){_0x57ab79[_0x4a6be8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a6be8([0x76,0x69,0x65,0x77])][_0x4a6be8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a6be8([0x61,0x75,0x74,0x6f]);}}function _0x3f30cd(_0x2862bd){const _0x33ae5d=[new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48606e=>setTimeout(_0x48606e,0x3df6fa2d^_0x42d86c)),_0x2f2701[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58dbe1=>{let _0x481071=0x0;_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11b0e2,_0x527d0d)=>{_0x527d0d[0x0][_0x4a6be8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x481071++,_0x481071==(0x3dffc519^_0x42d86c)&&(_0x58dbe1(),_0x11b0e2[_0x4a6be8([0x6f,0x66,0x66])]());});}))];return window[_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a6be8([0x72,0x61,0x63,0x65])](_0x33ae5d)[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>_0x2862bd);}async function _0x5bc0c3(){await _0x2f2701,_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54949a,_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54949a,_0x57ab79[_0x4a6be8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x254ff1(_0x45084e){const _0x36d28b=_0x3bac6f();_0x57ab79[_0x36d28b]=_0x4a6be8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45084e,_0x45084e!=_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])&&_0x5bc0c3();}function _0x3bac6f(){const _0x37be8f=window[_0x4a6be8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a6be8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a6be8([0x6e,0x6f,0x77])]())[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a6be8([0x2e]),'');let _0x4f1f97=_0x4a6be8([0x6e]);for(let _0x4ee406=0x0;_0x4ee406<_0x37be8f[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ee406+=0x2){let _0x4ac815=window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37be8f[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ee406,_0x4ee406+0x2));_0x4ac815>=_0xdd50d3[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ac815-=_0xdd50d3[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f1f97+=_0xdd50d3[_0x4ac815];}return _0x4f1f97;}function _0x1cf0a0(){const _0x798e49=_0x4a0f59[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e]));if(0x3!=_0x798e49[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55a90e(_0x798e49[0x1]);function _0x55a90e(_0x226ec1){const _0x5eb513=_0x269474(_0x226ec1);return _0x5eb513&&_0x4150a2()?_0x5eb513:null;function _0x4150a2(){const _0x2cb410=_0x5eb513[_0x4a6be8([0x6a,0x74,0x69])],_0x21ab9d=window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb410[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cb410[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3554d2={..._0x5eb513,[_0x4a6be8([0x6a,0x74,0x69])]:_0x2cb410[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cb410[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3554d2[_0x4a6be8([0x76,0x63])],_0x3fcc38(_0x3554d2)==_0x21ab9d;}}}async function _0x5967ac(){let _0x533073=!0x0;try{const _0x16cf1c=_0x4a0f59[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e])),[_0x62dbce,_0x5ed624,_0x5a3dcb]=_0x16cf1c;return _0x23615f(_0x62dbce),await _0x42b700(_0x62dbce,_0x5ed624,_0x5a3dcb),_0x533073;}catch{return!0x1;}function _0x23615f(_0x3d3a55){const _0x190ab1=_0x269474(_0x3d3a55);_0x190ab1&&_0x190ab1[_0x4a6be8([0x61,0x6c,0x67])]==_0x4a6be8([0x45,0x53,0x32,0x35,0x36])||(_0x533073=!0x1);}async function _0x42b700(_0x54feb7,_0x1530f9,_0x1e2902){const _0x188508=window[_0x4a6be8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a6be8([0x66,0x72,0x6f,0x6d])](_0x3c0533(_0x1e2902),_0x2e2442=>_0x2e2442[_0x4a6be8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f4519=new window[(_0x4a6be8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a6be8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54feb7+_0x4a6be8([0x2e])+_0x1530f9),_0x2835b5=window[_0x4a6be8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a6be8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2835b5)return;const _0x3e4ea5=await _0x2835b5[_0x4a6be8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a6be8([0x6a,0x77,0x6b]),_0x456a08,{[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x45,0x43,0x44,0x53,0x41]),[_0x4a6be8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a6be8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2835b5[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x45,0x43,0x44,0x53,0x41]),[_0x4a6be8([0x68,0x61,0x73,0x68])]:{[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e4ea5,_0x188508,_0x4f4519)||(_0x533073=!0x1);}}function _0x269474(_0x182343){return _0x182343[_0x4a6be8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a6be8([0x65,0x79]))?JSON[_0x4a6be8([0x70,0x61,0x72,0x73,0x65])](_0x3c0533(_0x182343)):null;}function _0x3c0533(_0xd8707d){return window[_0x4a6be8([0x61,0x74,0x6f,0x62])](_0xd8707d[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a6be8([0x2b]))[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a6be8([0x2f])));}function _0x3fcc38(_0x5a1c15){let _0x42eb64=0x1505;function _0x1d1ed6(_0x43a47f){for(let _0x372c90=0x0;_0x372c90<_0x43a47f[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372c90++){const _0x7add24=_0x43a47f[_0x4a6be8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x372c90);_0x42eb64=(_0x42eb64<<0x5)+_0x42eb64+_0x7add24,_0x42eb64&=_0x42eb64;}}function _0x52c14b(_0x225ba7){Array[_0x4a6be8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x225ba7)?_0x225ba7[_0x4a6be8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52c14b):_0x225ba7&&typeof _0x225ba7==_0x4a6be8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a6be8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x225ba7)[_0x4a6be8([0x73,0x6f,0x72,0x74])]()[_0x4a6be8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38e110,_0x34b78c])=>{_0x1d1ed6(_0x38e110),_0x52c14b(_0x34b78c);}):_0x1d1ed6(window[_0x4a6be8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x225ba7));}return _0x52c14b(_0x5a1c15),_0x42eb64>>>0x0;}function _0x1b8a77(_0x3e16b6){return _0x3e16b6[_0x4a6be8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a6be8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a6be8([0x30]));}function _0x5c39b3(_0x24f2db){return _0x24f2db[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a6be8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a6be8([0x6a,0x6f,0x69,0x6e])]('');}function _0x54949a(){}function _0x4a6be8(_0x262d47){const _0x15dee4=_0x2d96;return _0x262d47[_0x15dee4(0x117)](_0x583842=>String[_0x15dee4(0xe6)](_0x583842))[_0x15dee4(0xde)]('');}_0x254ff1(await _0x49372a());}(this);}[_0x16b1d9(0xf9)](){const _0x15ca0b=_0x16b1d9,_0x4e8e72=this[_0x15ca0b(0xdf)][_0x15ca0b(0xea)];_0x4e8e72[_0x15ca0b(0x111)](_0x333e53=>{const _0x4bf4e0=_0x15ca0b,_0x15b2ee=_0x4e8e72[_0x4bf4e0(0xef)][_0x4bf4e0(0x136)][_0x4bf4e0(0x115)]();let _0xdf625c=0x0;for(const _0x2e4b9b of _0x15b2ee){const _0x4c2c51=yt+':'+_0xdf625c;if(_0x4e8e72[_0x4bf4e0(0x146)][_0x4bf4e0(0xe7)](_0x4c2c51))_0x333e53[_0x4bf4e0(0xe2)](_0x4c2c51,{'range':_0x2e4b9b});else{if(_0x2e4b9b[_0x4bf4e0(0x101)][_0x4bf4e0(0x137)]){const _0x13e952=_0x2e4b9b[_0x4bf4e0(0x101)][_0x4bf4e0(0x143)](({item:_0x4f77a6})=>!_0x4e8e72[_0x4bf4e0(0xe3)][_0x4bf4e0(0xf3)](_0x4f77a6),{'boundaries':_0x2e4b9b});_0x333e53[_0x4bf4e0(0x134)](_0x4c2c51,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x333e53[_0x4bf4e0(0x10c)](_0x13e952,_0x2e4b9b[_0x4bf4e0(0x12e)])});}else _0x333e53[_0x4bf4e0(0x134)](_0x4c2c51,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e4b9b});}_0xdf625c++;}});}[_0x16b1d9(0x102)](){const _0x4caa83=_0x16b1d9,_0x5ca0b3=this[_0x4caa83(0xdf)][_0x4caa83(0xea)],_0x5d75ea=Array[_0x4caa83(0xe8)](this[_0x4caa83(0xdf)][_0x4caa83(0xea)][_0x4caa83(0x146)][_0x4caa83(0xfa)](yt));_0x5d75ea[_0x4caa83(0xf8)]&&_0x5ca0b3[_0x4caa83(0x111)](_0x734495=>{const _0x5c091e=_0x4caa83;_0x5d75ea[_0x5c091e(0x13d)](_0x3309cb=>{const _0x20d23d=_0x5c091e;_0x734495[_0x20d23d(0x131)](_0x3309cb);});});}[_0x16b1d9(0xe9)](_0x2c19af,_0x12a49c){const _0x574919=_0x16b1d9,_0x333b26=this[_0x574919(0x114)](),_0x4c4a1c=_0x12a49c||_0x333b26[_0x574919(0xe5)]();this[_0x574919(0xdf)][_0x574919(0xea)][_0x574919(0xf0)](_0x4c4a1c)&&this[_0x574919(0xdf)][_0x574919(0xea)][_0x574919(0x111)](_0x5e781a=>{const _0x48708b=_0x574919;this[_0x48708b(0x102)](),_0x12a49c||this[_0x48708b(0x149)](_0x5e781a,_0x333b26),this[_0x48708b(0xe0)]({'insertAt':_0x4c4a1c,'writer':_0x5e781a,'html':_0x2c19af});});}[_0x16b1d9(0x12f)](_0x42ba35){const _0x2ac05b=_0x16b1d9,{model:_0x11d1bf}=this[_0x2ac05b(0xdf)],_0x2dd27c=this[_0x2ac05b(0x114)]();_0x11d1bf[_0x2ac05b(0x111)](()=>{const _0x22a587=_0x2ac05b,_0x15f146=this[_0x22a587(0x139)](_0x42ba35,_0x2dd27c)||this[_0x22a587(0x13b)](_0x2dd27c);this[_0x22a587(0xe9)](_0x42ba35,_0x15f146);});}[_0x16b1d9(0x114)](){const _0x102098=_0x16b1d9,_0x33c0ef=this[_0x102098(0xdf)][_0x102098(0xea)],_0x599d30=Array[_0x102098(0xe8)](_0x33c0ef[_0x102098(0x146)][_0x102098(0xfa)](yt))[_0x102098(0x117)](_0x3c66b9=>_0x3c66b9[_0x102098(0x12a)]());return _0x33c0ef[_0x102098(0x12b)](_0x599d30);}[_0x16b1d9(0xe0)]({writer:_0x3c5ecc,html:_0x2cba6e,insertAt:_0x2e25a3}){const _0x2ea078=_0x16b1d9,{view:_0x33fe58}=this[_0x2ea078(0xdf)][_0x2ea078(0x10a)],_0x591cc9=this[_0x2ea078(0xdf)][_0x2ea078(0x10d)][_0x2ea078(0xf5)](_0x27948a),_0xcb4f59=new pt();_0xcb4f59[_0x2ea078(0x144)](_0x2ea078(0x105),_0x2cba6e);const _0x14a90a=new ClipboardEvent(_0x2ea078(0x12d),{'clipboardData':_0xcb4f59}),_0x572716=new _0x489851(_0x33fe58,_0x14a90a,{'dataTransfer':new _0x15c5ab(_0xcb4f59)});_0x3c5ecc[_0x2ea078(0x135)](_0x2e25a3);const _0x4cc250=(_0x20bf87,_0x4262d5)=>{const _0x3c16d6=_0x2ea078;_0x4262d5[_0x3c16d6(0xda)]&&_0x3c5ecc[_0x3c16d6(0x135)](_0x4262d5[_0x3c16d6(0xda)]);};_0x591cc9[_0x2ea078(0x12c)](_0x2ea078(0x113),_0x4cc250,{'priority':_0x2ea078(0x132)}),_0x33fe58[_0x2ea078(0xef)][_0x2ea078(0x140)](_0x2ea078(0x12d),_0x572716),_0x591cc9[_0x2ea078(0x122)](_0x2ea078(0x113),_0x4cc250);}[_0x16b1d9(0x13b)](_0x105dfe){const _0x17d88c=_0x16b1d9,{model:_0xb68de2}=this[_0x17d88c(0xdf)],_0x1d8eb1=Array[_0x17d88c(0xe8)](_0x105dfe[_0x17d88c(0x120)]());return _0x1d8eb1[_0x17d88c(0xf8)]?_0xb68de2[_0x17d88c(0x147)](_0x1d8eb1[_0x17d88c(0x129)]()):_0x105dfe[_0x17d88c(0x13e)]();}[_0x16b1d9(0x139)](_0x4d1646,_0xbbb2ad){const _0x29bf45=_0x16b1d9,{model:_0x3b6e18,plugins:_0x638c4}=this[_0x29bf45(0xdf)];if(_0x638c4[_0x29bf45(0xe7)](_0x29bf45(0x119))){const _0x4afa36=_0x638c4[_0x29bf45(0xf5)](_0x29bf45(0x119))[_0x29bf45(0x104)](_0xbbb2ad);if(_0x4afa36[_0x29bf45(0xf8)]){const _0x29ba25=this[_0x29bf45(0x124)](_0x4d1646),_0xa3c1f2=this[_0x29bf45(0x10f)](_0x4afa36,_0x29ba25);return _0x3b6e18[_0x29bf45(0x11b)](_0xa3c1f2,0x0);}}return null;}[_0x16b1d9(0x124)](_0x144fa8){const _0x5d2bf3=_0x16b1d9,_0x4eac48=this[_0x5d2bf3(0xdf)][_0x5d2bf3(0x10d)][_0x5d2bf3(0xf5)](_0x5d2bf3(0x119)),_0x4d5727=this[_0x5d2bf3(0xdf)][_0x5d2bf3(0x127)][_0x5d2bf3(0xfb)](_0x144fa8),_0x5e25b5=Array[_0x5d2bf3(0xe8)](_0x4d5727[_0x5d2bf3(0xf7)]())[_0x5d2bf3(0xdb)](_0x5adf8a=>_0x5adf8a['is'](_0x5d2bf3(0x142),_0x5d2bf3(0x138)));let _0x10f731=0x0;return _0x5e25b5[_0x5d2bf3(0x13d)](_0xf73206=>{const _0x5530a6=_0x5d2bf3;_0x10f731+=_0x4eac48[_0x5530a6(0x11f)](_0xf73206);}),_0x10f731;}[_0x16b1d9(0x10f)](_0x19c7bf,_0x15291f){const _0x5e7820=_0x16b1d9,_0xc35c18=this[_0x5e7820(0xdf)][_0x5e7820(0x10d)][_0x5e7820(0xf5)](_0x5e7820(0x119)),_0xe9e83=_0xc35c18[_0x5e7820(0xdc)](_0x19c7bf),_0x1bee9b=_0xc35c18[_0x5e7820(0x11a)](_0x19c7bf),_0x33a7a9=_0xe9e83[_0x5e7820(0x11d)]+0x1,_0x3687c0=_0x1bee9b[_0x5e7820(0x145)],_0x4e19aa=_0x19c7bf[0x0][_0x5e7820(0x108)](_0x5e7820(0x138));for(let _0x108e13=0x0;_0x108e13<_0x15291f;_0x108e13++)_0xc35c18[_0x5e7820(0x128)](_0x4e19aa,{'at':_0x33a7a9});return _0x4e19aa[_0x5e7820(0x130)](_0x33a7a9)[_0x5e7820(0x130)](_0x3687c0);}[_0x16b1d9(0x149)](_0x3e9da4,_0x3d4eef){const _0x30ee4f=_0x16b1d9,{plugins:_0x41bb43}=this[_0x30ee4f(0xdf)],{model:_0x5a7659}=_0x3e9da4;if(!_0x41bb43[_0x30ee4f(0xe7)](_0x30ee4f(0x119)))return;_0x41bb43[_0x30ee4f(0xf5)](_0x30ee4f(0x119))[_0x30ee4f(0x104)](_0x3d4eef)[_0x30ee4f(0xf8)]&&_0x5a7659[_0x30ee4f(0xfc)](_0x3d4eef);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3192e1=_0x17e2;(function(_0x4a5b1c,_0x514984){const _0x3c2058=_0x17e2,_0x5710e8=_0x4a5b1c();while(!![]){try{const _0x5379ee=parseInt(_0x3c2058(0x106))/0x1*(parseInt(_0x3c2058(0x118))/0x2)+-parseInt(_0x3c2058(0x13c))/0x3*(parseInt(_0x3c2058(0xa7))/0x4)+parseInt(_0x3c2058(0xae))/0x5*(-parseInt(_0x3c2058(0x11c))/0x6)+parseInt(_0x3c2058(0xe9))/0x7*(parseInt(_0x3c2058(0x101))/0x8)+parseInt(_0x3c2058(0x11a))/0x9*(parseInt(_0x3c2058(0xe7))/0xa)+parseInt(_0x3c2058(0xdc))/0xb*(parseInt(_0x3c2058(0x115))/0xc)+parseInt(_0x3c2058(0x123))/0xd*(-parseInt(_0x3c2058(0xdd))/0xe);if(_0x5379ee===_0x514984)break;else _0x5710e8['push'](_0x5710e8['shift']());}catch(_0x562453){_0x5710e8['push'](_0x5710e8['shift']());}}}(_0x30c3,0x51705));import{Plugin as _0x3d6ad9}from'ckeditor5/src/core.js';import{IconMagicWand as _0x539a3d,IconRobotPencil as _0x35e308}from'ckeditor5/src/icons.js';import{first as _0x31acb4,CKEditorError as _0x4060d6}from'ckeditor5/src/utils.js';import{createDropdown as _0x46b82f,addMenuToDropdown as _0x1b00b4,ButtonView as _0x18c953,MenuBarMenuListItemButtonView as _0x13b031,Dialog as _0x53c204,DialogViewPosition as _0x3acec1,MenuBarMenuView as _0x238b37,MenuBarMenuListView as _0x2804d7,MenuBarMenuListItemView as _0x76ebf}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x321029,UNGROUPED_COMMANDS_GROUP_ID as _0x5655a5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x275f0b}from'./aiassistantediting.js';import{AIAdapter as _0x4939f2}from'./adapters/aiadapter.js';import{getTranslation as _0x477761}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x14c123}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4e03c2}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x49fe40}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x8509f0}from'./ui/form/aiformtoolbarview.js';function _0x17e2(_0x272e1e,_0x403f8c){const _0x30c359=_0x30c3();return _0x17e2=function(_0x17e28f,_0x2ebe36){_0x17e28f=_0x17e28f-0x93;let _0x31b72d=_0x30c359[_0x17e28f];return _0x31b72d;},_0x17e2(_0x272e1e,_0x403f8c);}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x3192e1(0xea)];function _0x30c3(){const _0x53d381=['children','getSelectedBlocks','aiLicenseKeyDomainLimit','wasMoved','queryView','enabledCommandsIds','editing','menuView','INSERT','polite','_getResolvedCommandsDefinitions','_aiAdapter','ck-ai-assistant-button\x20','sort','732CJOFet','ai.assistant.useTheme','ai.assistant.disabledElements','5002yyaNua','destroy','333yAIYSu','change:isProcessing','2679762ibbKIU','execute','includes','editor','getLimitElement','groupId','_createAIAssistantUIButton','26GkhKpA','_forceMarkersCopy','isEnabled','getRanges','length','licenseKey','add','getData','define','reset','hide','aiLicenseKeyInvalid','update','show','AI\x20is\x20writing','hideUI','currentContext','listenTo','filter','ai.assistant.commands','updatePosition','invalid','label','showFakeVisualSelection','featureNotAllowed','852603UpKlXW','evaluationLimit','config','_commandDefinitions','change:isError','change','domainLimit','updateView','replaceContent','menuPanelClass','map','AIAssistantUI','_uiCssClasses','focus','source','change:enabledCommandsIds','copy','set','rawHtml','splice','requires','menuBar:aiCommands','text/html','tableOfContents','promptView','_licenseKeyCheckInterval','push','_initAriaAiStatusChangeAnnouncements','contentArea','insertContent','_aiAssistantController','4bALyQD','aiLicenseKeyTrialLimit','isFlat','addMany','schema','insertContentBelow','pluginName','5tYqjLV','aiLicenseKeyNotAllowed','<p>','order','view','buttons','ck-ai-assistant-ui','_getMenuBarGroupButtons','items','usageLimit','aiLicenseKeyEvaluationLimit','get','requiresContent','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','commands','render','showAIAssistant','AI\x20Commands','aiLicenseKeyValid','menuBar:aiAssistant','values','delegate','_initView','showUI','\x20ck-ai-assistant-ui_theme','announce','once','_dialog','AIAssistant','ai.assistant.contentAreaCssClass','fire','aiCommands','model','REPLACE','</p>','Generated\x20content:\x20%0','panelView','trialLimit','plugins','aiLicenseKeyExpired','isCollapsed','aiAssistant','expired','_populateMenuBarMenu','forEach','45089TdVVRo','4065992bcgGcM','isOn','ai-commands-config-order-collision','aiLicenseKeyUsageLimit','_showLicenseError','body','locale','prompt','isPremiumPlugin','bind','101930iEGgJu','ck-ai-commands-dropdown\x20','14jgcgib','DataTransfer','change:value','selection','media','groupLabel','trim','command:','buttonView','hideFakeVisualSelection','componentFactory','getSelectedElement','custom','replace','isOfficialPlugin','init','menuitemcheckbox','text','errorView','fieldView','_onExecute','textAdapter','setSelection','AI\x20Assistant','2621728BMXwbt','EDITOR_TOP_SIDE','document','from','comment','145PYbPmt'];_0x30c3=function(){return _0x53d381;};return _0x30c3();}import{ClipboardMarkersUtils as _0x312703}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xae3675,ViewDataTransfer as _0x65201e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3d6ad9{[_0x3192e1(0x128)];[_0x3192e1(0xa1)];[_0x3192e1(0xca)];[_0x3192e1(0xbb)];[_0x3192e1(0x112)];[_0x3192e1(0xa6)];[_0x3192e1(0x94)]='';static get[_0x3192e1(0xad)](){const _0x50b62e=_0x3192e1;return _0x50b62e(0x93);}static get[_0x3192e1(0xf7)](){return!0x0;}static get[_0x3192e1(0xe5)](){return!0x0;}static get[_0x3192e1(0x9c)](){return[_0x312703,_0x275f0b,_0x4939f2,_0x53c204];}constructor(_0x513e7d){const _0x1a8cc9=_0x3192e1;super(_0x513e7d),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0x117),[_0x1a8cc9(0xed),_0x1a8cc9(0x9a),_0x1a8cc9(0x9f)]),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0xcc),''),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0x116),!0x0),this[_0x1a8cc9(0x94)]=_0x1a8cc9(0xb4)+(_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0xb9)](_0x1a8cc9(0x116))?_0x1a8cc9(0xc7):'');}[_0x3192e1(0xf8)](){const _0x5bdcfc=_0x3192e1,{editor:_0x76abb7}=this;this[_0x5bdcfc(0x112)]=_0x76abb7[_0x5bdcfc(0xd5)][_0x5bdcfc(0xb9)](_0x4939f2),this[_0x5bdcfc(0xca)]=_0x76abb7[_0x5bdcfc(0xd5)][_0x5bdcfc(0xb9)](_0x53c204),this[_0x5bdcfc(0xbb)]=null,this[_0x5bdcfc(0x13f)]=this[_0x5bdcfc(0x111)]();const _0x23a35c=new _0x14c123(_0x76abb7,Array[_0x5bdcfc(0x104)](this[_0x5bdcfc(0x13f)][_0x5bdcfc(0xc3)]()));_0x76abb7[_0x5bdcfc(0xbd)][_0x5bdcfc(0x129)](_0x5bdcfc(0xbf),_0x23a35c),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xce),_0x27f518=>{const _0xe5bf86=_0x5bdcfc,_0xb446f7=_0x46b82f(_0x27f518);return _0xb446f7[_0xe5bf86(0x99)]({'class':_0xe5bf86(0xe8)+this[_0xe5bf86(0x94)]}),_0xb446f7[_0xe5bf86(0xf1)][_0xe5bf86(0x99)]({'label':_0x477761(_0x27f518,_0xe5bf86(0xc0)),'icon':_0x539a3d,'tooltip':!0x0}),_0xb446f7['on'](_0xe5bf86(0x11d),_0x4fabef=>this[_0xe5bf86(0xfd)](_0x4fabef[_0xe5bf86(0x96)]['id'])),_0x1b00b4(_0xb446f7,_0x76abb7['ui'][_0xe5bf86(0xb2)][_0xe5bf86(0xe2)],function(_0x50daf4){const _0x5cf6c2=_0xe5bf86,_0x181d33=_0x321029(_0x50daf4[_0x5cf6c2(0x13e)][_0x5cf6c2(0xb9)](_0x5cf6c2(0x136)),_0x50daf4[_0x5cf6c2(0xe3)]),_0x437cd1=U(_0x50daf4,_0x181d33)[_0x5cf6c2(0x135)](_0x491bab=>_0x491bab[_0x5cf6c2(0xbd)][_0x5cf6c2(0x127)]);if(0x1===_0x437cd1[_0x5cf6c2(0x127)])return U(_0x50daf4,_0x437cd1[0x0][_0x5cf6c2(0xbd)])[_0x5cf6c2(0x146)](_0x2544f0=>({'id':_0x2544f0['id'],'label':_0x2544f0[_0x5cf6c2(0x139)]}));return _0x437cd1[_0x5cf6c2(0x146)](_0x31fd41=>{const _0x403811=_0x5cf6c2,{groupId:_0x24755d,groupLabel:_0x24d32a,commands:_0x120774}=_0x31fd41,_0x5b3227=U(_0x50daf4,_0x120774)[_0x403811(0x146)](_0x30e923=>({'id':_0x30e923['id'],'label':_0x30e923[_0x403811(0x139)]}));return{'id':_0x24755d,'menu':_0x24d32a||_0x24755d,'children':_0x5b3227};});}(_0x76abb7),{'ariaLabel':_0x477761(_0x27f518,_0xe5bf86(0xc0))}),_0xb446f7[_0xe5bf86(0x10e)][_0xe5bf86(0x145)]=_0xe5bf86(0xe8)+this[_0xe5bf86(0x94)],_0x23a35c['on'](_0xe5bf86(0x97),_0x389c8b),_0xb446f7[_0xe5bf86(0x10e)][_0xe5bf86(0xc9)](_0xe5bf86(0xbe),_0x389c8b),_0xb446f7;function _0x389c8b(){const _0x337628=_0xe5bf86;_0xb446f7[_0x337628(0x125)]=_0x23a35c[_0x337628(0x10c)][_0x337628(0x127)]>0x0;for(const _0x2a2bfa of _0xb446f7[_0x337628(0x10e)][_0x337628(0xb3)])_0x2a2bfa[_0x337628(0x125)]=_0x23a35c[_0x337628(0x10c)][_0x337628(0x11e)](_0x2a2bfa['id']);}}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0x9d),_0x22d022=>{const _0x4ab6fb=_0x5bdcfc,_0x6ba37e=new _0x238b37(_0x22d022);_0x6ba37e[_0x4ab6fb(0xf1)][_0x4ab6fb(0x99)]({'label':_0x477761(_0x22d022,_0x4ab6fb(0xc0)),'icon':_0x539a3d}),_0x6ba37e[_0x4ab6fb(0xe6)](_0x4ab6fb(0x125))['to'](_0x23a35c,_0x4ab6fb(0x10c),_0xf16167=>_0xf16167[_0x4ab6fb(0x127)]>0x0);const _0x39e5a9=_0x321029(_0x76abb7[_0x4ab6fb(0x13e)][_0x4ab6fb(0xb9)](_0x4ab6fb(0x136)),_0x22d022);return this[_0x4ab6fb(0xda)](_0x23a35c,_0x6ba37e,_0x39e5a9,_0x12ebb2=>this[_0x4ab6fb(0xfd)](_0x12ebb2)),_0x6ba37e;}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xd8),()=>{const _0x3788d5=_0x5bdcfc,_0x35daf8=this[_0x3788d5(0x122)](_0x18c953);return _0x35daf8[_0x3788d5(0x99)]({'tooltip':!0x0,'class':_0x3788d5(0x113)+this[_0x3788d5(0x94)]}),_0x35daf8;}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xc2),()=>{const _0xab2478=_0x5bdcfc,_0x3a145f=this[_0xab2478(0x122)](_0x13b031);return _0x3a145f[_0xab2478(0x99)]({'role':_0xab2478(0xf9)}),_0x3a145f;}),this[_0x5bdcfc(0x128)]=this[_0x5bdcfc(0x11f)][_0x5bdcfc(0x13e)][_0x5bdcfc(0xb9)](_0x5bdcfc(0x128));const _0x4a9fc7=this[_0x5bdcfc(0x11f)];this[_0x5bdcfc(0xa1)]=setInterval(()=>{const _0x384324=_0x5bdcfc;let _0x205eb5;for(const _0x19024b in _0x4a9fc7){const _0xf45c8=_0x19024b,_0x56c5bd=_0x4a9fc7[_0xf45c8];if(_0x384324(0xc1)==_0x56c5bd||_0x384324(0x12e)==_0x56c5bd||_0x384324(0xd6)==_0x56c5bd||_0x384324(0x109)==_0x56c5bd||_0x384324(0xaf)==_0x56c5bd||_0x384324(0xb8)==_0x56c5bd||_0x384324(0xa8)==_0x56c5bd||_0x384324(0xe0)==_0x56c5bd){delete _0x4a9fc7[_0xf45c8],_0x205eb5=_0x56c5bd,clearInterval(this[_0x384324(0xa1)]),this[_0x384324(0xa1)]=void 0x0;break;}}_0x384324(0x12e)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x138)),_0x384324(0xd6)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xd9)),_0x384324(0x109)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x142)),_0x384324(0xaf)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x13b),_0x384324(0xcb)),_0x384324(0xb8)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x13d)),_0x384324(0xa8)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xd4)),_0x384324(0xe0)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xb7));},0x3e8);}[_0x3192e1(0x119)](){const _0x3855b5=_0x3192e1;super[_0x3855b5(0x119)](),this[_0x3855b5(0xa1)]&&clearInterval(this[_0x3855b5(0xa1)]);}[_0x3192e1(0xc6)](_0x4acbc0='',_0x1055f2='',_0x3e7ed4=_0x3192e1(0xf5)){const _0x5580b7=_0x3192e1,_0x554337=this[_0x5580b7(0x11f)],_0x3dd0e2=_0x554337[_0x5580b7(0x10d)][_0x5580b7(0xb2)],_0x1749b6=_0x554337[_0x5580b7(0xd5)][_0x5580b7(0xb9)](_0x275f0b),_0x203fbd=_0x554337[_0x5580b7(0xd5)][_0x5580b7(0xb9)](_0x312703);_0x1749b6[_0x5580b7(0x13a)]();const _0x35724e=new w(),_0x3df0b6=new ClipboardEvent(_0x5580b7(0x98),{'clipboardData':_0x35724e}),_0x533066=new _0x65201e(_0x35724e),_0x4fee30=new _0xae3675(_0x3dd0e2,_0x3df0b6,{'dataTransfer':_0x533066});_0x203fbd[_0x5580b7(0x124)](_0x5580b7(0x105),()=>{const _0x14e096=_0x5580b7;_0x3dd0e2[_0x14e096(0x103)][_0x14e096(0xcd)](_0x14e096(0x98),_0x4fee30);}),this[_0x5580b7(0xbb)]||(this[_0x5580b7(0xc5)](),this[_0x5580b7(0xa6)]=new _0x4e03c2(_0x554337,this[_0x5580b7(0x112)][_0x5580b7(0xfe)],this[_0x5580b7(0xbb)]));let _0x5d0263=_0x533066[_0x5580b7(0x12a)](_0x5580b7(0x9e));const _0x4c51c0=_0x554337[_0x5580b7(0xcf)][_0x5580b7(0x103)][_0x5580b7(0xec)],_0xfeb5f5=Array[_0x5580b7(0x104)](_0x4c51c0[_0x5580b7(0x126)]());0x1===_0xfeb5f5[_0x5580b7(0x127)]&&_0xfeb5f5[0x0][_0x5580b7(0xa9)]&&!_0x4c51c0[_0x5580b7(0xf4)]()&&''!==_0x5d0263[_0x5580b7(0xf6)](/ /g,'')[_0x5580b7(0xef)]()&&(_0x5d0263=_0x5580b7(0xb0)+_0x5d0263+_0x5580b7(0xd1)),this[_0x5580b7(0xa6)][_0x5580b7(0x143)]({'actionId':_0x3e7ed4,'query':_0x4acbc0,'htmlContent':_0x5d0263,'label':_0x1055f2,'mainActionLabel':_0x8509f0[_0x554337[_0x5580b7(0xcf)][_0x5580b7(0x103)][_0x5580b7(0xec)][_0x5580b7(0xd7)]?_0x5580b7(0x10f):_0x5580b7(0xd0)]}),_0x5580b7(0xd8)!==this[_0x5580b7(0xca)]['id']?this[_0x5580b7(0xca)][_0x5580b7(0x130)]({'id':_0x5580b7(0xd8),'icon':_0x35e308,'title':_0x477761(this[_0x5580b7(0x11f)][_0x5580b7(0xe3)],_0x5580b7(0x100)),'content':this[_0x5580b7(0xbb)],'position':_0x3acec1[_0x5580b7(0x102)],'onShow':()=>{const _0x1de012=_0x5580b7;this[_0x1de012(0xbb)][_0x1de012(0x95)]();},'onHide':()=>{const _0x4a47f7=_0x5580b7;this[_0x4a47f7(0xa6)][_0x4a47f7(0x12c)](),_0x1749b6[_0x4a47f7(0xf2)]();}}):this[_0x5580b7(0xca)][_0x5580b7(0xb2)][_0x5580b7(0x10a)]||this[_0x5580b7(0xca)][_0x5580b7(0xb2)][_0x5580b7(0x137)]();}[_0x3192e1(0x132)](){const _0x1c17e1=_0x3192e1;this[_0x1c17e1(0xca)][_0x1c17e1(0x12d)]();}[_0x3192e1(0x111)](){const _0x1a3763=_0x3192e1,_0x57de01=new Map(),_0x43f19f=_0x321029(this[_0x1a3763(0x11f)][_0x1a3763(0x13e)][_0x1a3763(0xb9)](_0x1a3763(0x136)),this[_0x1a3763(0x11f)][_0x1a3763(0xe3)]);for(const _0x1b5cd0 of _0x43f19f)for(const _0x405071 of _0x1b5cd0[_0x1a3763(0xbd)])_0x57de01[_0x1a3763(0x99)](_0x405071['id'],{..._0x405071,'groupId':_0x1b5cd0[_0x1a3763(0x121)],'groupLabel':_0x1b5cd0[_0x1a3763(0xee)]||_0x1b5cd0[_0x1a3763(0x121)]});return _0x57de01;}[_0x3192e1(0x122)](_0x505c6f){const _0xa687cc=_0x3192e1,_0x49413a=this[_0xa687cc(0x11f)],_0x296588=_0x49413a[_0xa687cc(0xbd)][_0xa687cc(0xb9)](_0xa687cc(0xbf)),_0x85eddb=new _0x505c6f(_0x49413a[_0xa687cc(0xe3)]);return _0x85eddb[_0xa687cc(0x99)]({'label':_0x477761(_0x49413a[_0xa687cc(0xe3)],_0xa687cc(0x100)),'icon':_0x35e308,'isToggleable':!0x0}),_0x85eddb[_0xa687cc(0xe6)](_0xa687cc(0x125))['to'](_0x296588),_0x85eddb[_0xa687cc(0xe6)](_0xa687cc(0xde))['to'](this[_0xa687cc(0xca)],'id',_0x23b00d=>_0xa687cc(0xd8)===_0x23b00d),this[_0xa687cc(0x134)](_0x85eddb,_0xa687cc(0x11d),()=>{const _0xeac6e2=_0xa687cc;_0x85eddb[_0xeac6e2(0xde)]?this[_0xeac6e2(0x132)]():_0x296588[_0xeac6e2(0x11d)]();}),_0x85eddb;}[_0x3192e1(0xc5)](){const _0x1513a0=_0x3192e1,_0x57dc4e=this[_0x1513a0(0x11f)][_0x1513a0(0xd5)][_0x1513a0(0xb9)](_0x275f0b);this[_0x1513a0(0xbb)]=new _0x49fe40(this[_0x1513a0(0x11f)][_0x1513a0(0xe3)],this[_0x1513a0(0x94)],this[_0x1513a0(0x11f)][_0x1513a0(0x13e)][_0x1513a0(0xb9)](_0x1513a0(0xcc))),this[_0x1513a0(0xbb)]['on'](_0x1513a0(0xeb),()=>{const _0x15738e=_0x1513a0;this[_0x15738e(0xca)][_0x15738e(0xb2)][_0x15738e(0x10a)]||this[_0x15738e(0xca)][_0x15738e(0xb2)][_0x15738e(0x137)]();}),this[_0x1513a0(0xbb)][_0x1513a0(0xa0)][_0x1513a0(0x10b)][_0x1513a0(0xfc)]['on'](_0x1513a0(0x12f),()=>{const _0x5ac0ab=_0x1513a0;this[_0x5ac0ab(0xca)][_0x5ac0ab(0xb2)][_0x5ac0ab(0x10a)]||this[_0x5ac0ab(0xca)][_0x5ac0ab(0xb2)][_0x5ac0ab(0x137)]();}),this[_0x1513a0(0x134)](this[_0x1513a0(0xbb)],_0x1513a0(0x144),()=>{const _0x1b361d=_0x1513a0;_0x57dc4e[_0x1b361d(0xa5)](this[_0x1b361d(0xa6)][_0x1b361d(0x133)]),this[_0x1b361d(0x132)]();}),this[_0x1513a0(0x134)](this[_0x1513a0(0xbb)],_0x1513a0(0xac),()=>{const _0x30a69f=_0x1513a0;_0x57dc4e[_0x30a69f(0xac)](this[_0x30a69f(0xa6)][_0x30a69f(0x133)]),this[_0x30a69f(0x132)]();}),this[_0x1513a0(0xa3)]();}[_0x3192e1(0xa3)](){const _0x48fab4=_0x3192e1,{locale:_0x204dc8,ui:{ariaLiveAnnouncer:_0x582389}}=this[_0x48fab4(0x11f)];this[_0x48fab4(0xbb)][_0x48fab4(0xa4)]['on'](_0x48fab4(0x11b),(_0x1749f7,_0xb49eed,_0x2453b0)=>{const _0x4eafbf=_0x48fab4,_0x439f2e=this[_0x4eafbf(0xa6)][_0x4eafbf(0x133)];_0x2453b0?_0x582389[_0x4eafbf(0xc8)](_0x477761(_0x204dc8,_0x4eafbf(0x131))):_0x439f2e&&_0x582389[_0x4eafbf(0xc8)](_0x477761(_0x204dc8,_0x4eafbf(0xd2),_0x439f2e),{'politeness':_0x4eafbf(0x110),'isUnsafeHTML':!0x0});}),this[_0x48fab4(0xbb)]['on'](_0x48fab4(0x140),(_0x36ffa4,_0x1907e3,_0x547f7d)=>{const _0x49d608=_0x48fab4;if(_0x547f7d){const _0x56dafb=this[_0x49d608(0xbb)][_0x49d608(0xfb)][_0x49d608(0xfa)];_0x582389[_0x49d608(0xc8)](_0x477761(_0x204dc8,_0x49d608(0xbc),_0x56dafb));}});}[_0x3192e1(0xfd)](_0x2e0163){const _0x479881=_0x3192e1,_0x3e50c7=this[_0x479881(0x13f)][_0x479881(0xb9)](_0x2e0163),_0x1d0729=this[_0x479881(0x11f)],_0x4f6d7b=_0x1d0729[_0x479881(0xcf)][_0x479881(0x103)][_0x479881(0xec)],_0x15de96=_0x1d0729[_0x479881(0xbd)][_0x479881(0xb9)](_0x479881(0xbf)),_0x1b1dcc=_0x1d0729[_0x479881(0xd5)][_0x479881(0xb9)](_0x275f0b),_0x54ddb3=''+(_0x3e50c7[_0x479881(0x121)]!==_0x5655a5?_0x3e50c7[_0x479881(0xee)]+':\x20':'')+_0x3e50c7[_0x479881(0x139)];if(!0x1!==_0x3e50c7[_0x479881(0xba)]&&_0x4f6d7b[_0x479881(0xd7)]){const _0x582c77=_0x31acb4(_0x4f6d7b[_0x479881(0x108)]())||_0x1d0729[_0x479881(0xcf)][_0x479881(0xab)][_0x479881(0x120)](_0x4f6d7b);_0x1d0729[_0x479881(0xcf)][_0x479881(0x141)](_0x59a6aa=>{const _0x2601fe=_0x479881;_0x59a6aa[_0x2601fe(0xff)](_0x582c77,'in');});}_0x1b1dcc[_0x479881(0x13a)](),_0x15de96[_0x479881(0x11d)](_0x3e50c7[_0x479881(0xe4)],_0x54ddb3,_0x479881(0xf0)+_0x2e0163);}[_0x3192e1(0xda)](_0x331c61,_0x5d3add,_0x409257,_0x1437cc){const _0x3fc174=_0x3192e1,_0x282105=this[_0x3fc174(0x11f)],_0x5e547b=_0x282105[_0x3fc174(0xe3)],_0x3bd5d0=new _0x2804d7(_0x5e547b),_0x542b73=U(_0x282105,_0x409257)[_0x3fc174(0x135)](_0x283cc9=>_0x283cc9[_0x3fc174(0xbd)][_0x3fc174(0x127)]);0x1===_0x542b73[_0x3fc174(0x127)]?this[_0x3fc174(0xb5)]({'command':_0x331c61,'commands':_0x542b73[0x0][_0x3fc174(0xbd)],'parentMenuView':_0x5d3add,'onExecute':_0x1437cc})[_0x3fc174(0xdb)](_0xd40e26=>_0x3bd5d0[_0x3fc174(0xb6)][_0x3fc174(0x129)](_0xd40e26)):_0x542b73[_0x3fc174(0xdb)](({groupId:_0x515e1f,groupLabel:_0x13039f,commands:_0x2f2d6f})=>{const _0x405afe=_0x3fc174,_0x3a5129=new _0x76ebf(_0x5e547b,_0x5d3add),_0x2299eb=new _0x238b37(_0x5e547b),_0x4c93d4=new _0x2804d7(_0x5e547b),_0x36d7c3=this[_0x405afe(0xb5)]({'command':_0x331c61,'commands':_0x2f2d6f,'parentMenuView':_0x2299eb,'onExecute':_0x1437cc});_0x2299eb[_0x405afe(0xf1)][_0x405afe(0x99)]({'label':_0x13039f||_0x515e1f}),_0x2299eb[_0x405afe(0xc4)](_0x405afe(0x11d))['to'](_0x5d3add),_0x4c93d4[_0x405afe(0xb6)][_0x405afe(0xaa)](_0x36d7c3),_0x2299eb[_0x405afe(0xd3)][_0x405afe(0x107)][_0x405afe(0x129)](_0x4c93d4),_0x3a5129[_0x405afe(0x107)][_0x405afe(0x129)](_0x2299eb),_0x3bd5d0[_0x405afe(0xb6)][_0x405afe(0x129)](_0x3a5129);}),_0x5d3add[_0x3fc174(0xd3)][_0x3fc174(0x107)][_0x3fc174(0x129)](_0x3bd5d0);}[_0x3192e1(0xb5)]({command:_0x512467,commands:_0x51a4f6,parentMenuView:_0x4f267e,onExecute:_0x46adfb}){const _0x9ad733=_0x3192e1,_0x12b086=this[_0x9ad733(0x11f)],_0xb8604d=_0x12b086[_0x9ad733(0xe3)];return U(_0x12b086,_0x51a4f6)[_0x9ad733(0x146)](_0x3fef6d=>{const _0x21bf2e=_0x9ad733,_0x1d1d7=new _0x76ebf(_0xb8604d,_0x4f267e),_0xf80b3e=new _0x13b031(_0xb8604d);return _0xf80b3e[_0x21bf2e(0x99)]({'label':_0x3fef6d[_0x21bf2e(0x139)]}),_0xf80b3e[_0x21bf2e(0xc4)](_0x21bf2e(0x11d))['to'](_0x4f267e),_0xf80b3e['on'](_0x21bf2e(0x11d),()=>_0x46adfb(_0x3fef6d['id'])),_0xf80b3e[_0x21bf2e(0xe6)](_0x21bf2e(0x125))['to'](_0x512467,_0x21bf2e(0x10c),_0x43c4cb=>_0x43c4cb[_0x21bf2e(0x11e)](_0x3fef6d['id'])),_0x1d1d7[_0x21bf2e(0x107)][_0x21bf2e(0x129)](_0xf80b3e),_0x1d1d7;});}}function T(_0x57960a,_0x161eb4){const _0x2e256e=_0x3192e1;return void 0x0!==_0x57960a[_0x2e256e(0xb1)]&&void 0x0===_0x161eb4[_0x2e256e(0xb1)]?0x1:void 0x0===_0x57960a[_0x2e256e(0xb1)]&&void 0x0!==_0x161eb4[_0x2e256e(0xb1)]?-0x1:void 0x0!==_0x57960a[_0x2e256e(0xb1)]&&void 0x0!==_0x161eb4[_0x2e256e(0xb1)]?_0x57960a[_0x2e256e(0xb1)]-_0x161eb4[_0x2e256e(0xb1)]:0x0;}function U(_0x2ddb5b,_0x17ef04){const _0x451fcf=_0x3192e1;_0x17ef04[_0x451fcf(0x114)](T);const _0x2d9623={},_0x44b850=[];for(const _0x4dbf60 of _0x17ef04)if(void 0x0!==_0x4dbf60[_0x451fcf(0xb1)]){if(_0x4dbf60[_0x451fcf(0xb1)]in _0x2d9623)throw new _0x4060d6(_0x451fcf(0xdf),_0x2ddb5b,{'conflictingDefinitions':[_0x4dbf60,_0x2d9623[_0x4dbf60[_0x451fcf(0xb1)]]]});_0x2d9623[_0x4dbf60[_0x451fcf(0xb1)]]=_0x4dbf60,_0x44b850[_0x451fcf(0x9b)](_0x4dbf60[_0x451fcf(0xb1)],0x0,_0x4dbf60);}else _0x44b850[_0x451fcf(0xa2)](_0x4dbf60);return _0x44b850;}
|
|
23
|
+
const _0x4f2563=_0x575c;(function(_0x103aa5,_0x37ca03){const _0x4c846a=_0x575c,_0x4c6a38=_0x103aa5();while(!![]){try{const _0x28a7d2=-parseInt(_0x4c846a(0x8e))/0x1+parseInt(_0x4c846a(0x9e))/0x2*(parseInt(_0x4c846a(0xef))/0x3)+-parseInt(_0x4c846a(0x104))/0x4*(-parseInt(_0x4c846a(0xd4))/0x5)+-parseInt(_0x4c846a(0x8c))/0x6*(parseInt(_0x4c846a(0x83))/0x7)+-parseInt(_0x4c846a(0xbc))/0x8*(-parseInt(_0x4c846a(0xa1))/0x9)+parseInt(_0x4c846a(0xd0))/0xa*(-parseInt(_0x4c846a(0x115))/0xb)+parseInt(_0x4c846a(0x8d))/0xc*(-parseInt(_0x4c846a(0x10f))/0xd);if(_0x28a7d2===_0x37ca03)break;else _0x4c6a38['push'](_0x4c6a38['shift']());}catch(_0x420eff){_0x4c6a38['push'](_0x4c6a38['shift']());}}}(_0x7dc3,0xa1f45));import{Plugin as _0x2348ad}from'ckeditor5/src/core.js';import{IconMagicWand as _0x30689d,IconRobotPencil as _0x10d475}from'ckeditor5/src/icons.js';function _0x575c(_0x220754,_0x19a8ab){const _0x7dc34=_0x7dc3();return _0x575c=function(_0x575c5d,_0x1e961a){_0x575c5d=_0x575c5d-0x76;let _0x210c42=_0x7dc34[_0x575c5d];return _0x210c42;},_0x575c(_0x220754,_0x19a8ab);}import{first as _0x399f84,CKEditorError as _0x4c59f3}from'ckeditor5/src/utils.js';import{createDropdown as _0x1c7a1c,addMenuToDropdown as _0x10caa4,ButtonView as _0xcbe5f8,MenuBarMenuListItemButtonView as _0x3ed841,Dialog as _0x13e6da,DialogViewPosition as _0x1279a6,MenuBarMenuView as _0x21d2d8,MenuBarMenuListView as _0x41054e,MenuBarMenuListItemView as _0x39ce9b}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1ef966,UNGROUPED_COMMANDS_GROUP_ID as _0xa8b680}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1e01a6}from'./aiassistantediting.js';import{AIAdapter as _0xafe8a2}from'./adapters/aiadapter.js';import{getTranslation as _0x3e4d20}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3c22ea}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1fa64f}from'./ui/aiassistantcontroller.js';function _0x7dc3(){const _0x31d55c=['errorView','35hlOzlY','menuPanelClass','menuView','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:enabledCommandsIds','queryView','view','insertContent','command:','330984TDsQAx','69036cicjfy','121107vHazDv','_initView','custom','_licenseKeyCheckInterval','invalid','trialLimit','isOn','add','\x20ck-ai-assistant-ui_theme','bind','aiAssistant','aiLicenseKeyTrialLimit','fire','_aiAdapter','_formView','polite','120shTPnr','menuitemcheckbox','order','9zDhvBl','panelView','get','change','requires','getData','buttons','execute','show','showUI','aiLicenseKeyDomainLimit','hideUI','_initAriaAiStatusChangeAnnouncements','map','AI\x20is\x20writing','isPremiumPlugin','items','length','tableOfContents','from','plugins','update','sort','DataTransfer','componentFactory','set','replace','3849648SMMtxC','commands','splice','AI\x20Assistant','_showLicenseError','ai.assistant.contentAreaCssClass','schema','announce','document','usageLimit','aiLicenseKeyUsageLimit','_uiCssClasses','aiLicenseKeyInvalid','setSelection','model','<p>','enabledCommandsIds','hideFakeVisualSelection','fieldView','reset','30170yczjFW','_createAIAssistantUIButton','EDITOR_TOP_SIDE','aiLicenseKeyValid','5927005kaNMkB','requiresContent','addMany','showFakeVisualSelection','push','render','isCollapsed','AIAssistantUI','_onExecute','listenTo','groupId','evaluationLimit','_getResolvedCommandsDefinitions','insertContentBelow','define','editor','aiLicenseKeyExpired','locale','copy','isOfficialPlugin','ck-ai-commands-dropdown\x20','rawHtml','menuBar:aiCommands','_forceMarkersCopy','includes','promptView','focus','38355QrVmXM','text','media','trim','REPLACE','showAIAssistant','isEnabled','comment','AIAssistant','_commandDefinitions','getSelectedElement','hide','currentContext','source','updatePosition','wasMoved','getLimitElement','licenseKey','textAdapter','_getMenuBarGroupButtons','init','4rlyXrF','Generated\x20content:\x20%0','getRanges','label','ck-ai-assistant-ui','replaceContent','contentArea','selection','filter','isFlat','change:value','806SCHlqp','</p>','domainLimit','text/html','change:isProcessing','aiLicenseKeyEvaluationLimit','3707upGBbf','pluginName','ai.assistant.useTheme','INSERT','_dialog','ai-commands-config-order-collision','ck-ai-assistant-button\x20','expired','aiCommands','_populateMenuBarMenu','_aiAssistantController','body','ai.assistant.commands','getSelectedBlocks','values','featureNotAllowed','destroy','groupLabel','once','forEach','change:isError','editing','children','aiLicenseKeyNotAllowed','updateView','AI\x20Commands','ai.assistant.disabledElements','prompt','menuBar:aiAssistant','delegate','config','buttonView'];_0x7dc3=function(){return _0x31d55c;};return _0x7dc3();}import{AIFormView as _0x51423d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2274a5}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const pt=globalThis[_0x4f2563(0xb8)];import{ClipboardMarkersUtils as _0x33a0d4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5cea20,ViewDataTransfer as _0x4df611}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2348ad{[_0x4f2563(0x100)];[_0x4f2563(0x91)];[_0x4f2563(0x119)];[_0x4f2563(0x9c)];[_0x4f2563(0x9b)];[_0x4f2563(0x11f)];[_0x4f2563(0xc7)]='';static get[_0x4f2563(0x116)](){const _0x4ef2ff=_0x4f2563;return _0x4ef2ff(0xdb);}static get[_0x4f2563(0xe7)](){return!0x0;}static get[_0x4f2563(0xb0)](){return!0x0;}static get[_0x4f2563(0xa5)](){return[_0x33a0d4,_0x1e01a6,_0xafe8a2,_0x13e6da];}constructor(_0x3651b7){const _0x2b5aa4=_0x4f2563;super(_0x3651b7),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0x7c),[_0x2b5aa4(0xf1),_0x2b5aa4(0xe9),_0x2b5aa4(0xb3)]),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0xc1),''),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0x117),!0x0),this[_0x2b5aa4(0xc7)]=_0x2b5aa4(0x108)+(_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xa3)](_0x2b5aa4(0x117))?_0x2b5aa4(0x96):'');}[_0x4f2563(0x103)](){const _0x224d9a=_0x4f2563,{editor:_0x14a16f}=this;this[_0x224d9a(0x9b)]=_0x14a16f[_0x224d9a(0xb5)][_0x224d9a(0xa3)](_0xafe8a2),this[_0x224d9a(0x119)]=_0x14a16f[_0x224d9a(0xb5)][_0x224d9a(0xa3)](_0x13e6da),this[_0x224d9a(0x9c)]=null,this[_0x224d9a(0xf8)]=this[_0x224d9a(0xe0)]();const _0x254cd7=new _0x3c22ea(_0x14a16f,Array[_0x224d9a(0xb4)](this[_0x224d9a(0xf8)][_0x224d9a(0x123)]()));_0x14a16f[_0x224d9a(0xbd)][_0x224d9a(0x95)](_0x224d9a(0xf4),_0x254cd7),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x11d),_0x7b1022=>{const _0x4b33f1=_0x224d9a,_0x20510c=_0x1c7a1c(_0x7b1022);return _0x20510c[_0x4b33f1(0xba)]({'class':_0x4b33f1(0xe8)+this[_0x4b33f1(0xc7)]}),_0x20510c[_0x4b33f1(0x81)][_0x4b33f1(0xba)]({'label':_0x3e4d20(_0x7b1022,_0x4b33f1(0x7b)),'icon':_0x30689d,'tooltip':!0x0}),_0x20510c['on'](_0x4b33f1(0xa8),_0x5d2969=>this[_0x4b33f1(0xdc)](_0x5d2969[_0x4b33f1(0xfc)]['id'])),_0x10caa4(_0x20510c,_0x14a16f['ui'][_0x4b33f1(0x89)][_0x4b33f1(0x120)],function(_0xaea5b7){const _0x9477ca=_0x4b33f1,_0x3fd81a=_0x1ef966(_0xaea5b7[_0x9477ca(0x80)][_0x9477ca(0xa3)](_0x9477ca(0x121)),_0xaea5b7[_0x9477ca(0xe5)]),_0x5bc76b=wi(_0xaea5b7,_0x3fd81a)[_0x9477ca(0x10c)](_0xeecd20=>_0xeecd20[_0x9477ca(0xbd)][_0x9477ca(0xb2)]);if(0x1===_0x5bc76b[_0x9477ca(0xb2)])return wi(_0xaea5b7,_0x5bc76b[0x0][_0x9477ca(0xbd)])[_0x9477ca(0xae)](_0x5e5fae=>({'id':_0x5e5fae['id'],'label':_0x5e5fae[_0x9477ca(0x107)]}));return _0x5bc76b[_0x9477ca(0xae)](_0x1fc5f6=>{const _0x45e27b=_0x9477ca,{groupId:_0xbba598,groupLabel:_0xb36901,commands:_0x39c453}=_0x1fc5f6,_0x38838c=wi(_0xaea5b7,_0x39c453)[_0x45e27b(0xae)](_0x10c3d2=>({'id':_0x10c3d2['id'],'label':_0x10c3d2[_0x45e27b(0x107)]}));return{'id':_0xbba598,'menu':_0xb36901||_0xbba598,'children':_0x38838c};});}(_0x14a16f),{'ariaLabel':_0x3e4d20(_0x7b1022,_0x4b33f1(0x7b))}),_0x20510c[_0x4b33f1(0x85)][_0x4b33f1(0x84)]=_0x4b33f1(0xe8)+this[_0x4b33f1(0xc7)],_0x254cd7['on'](_0x4b33f1(0x87),_0x42752a),_0x20510c[_0x4b33f1(0x85)][_0x4b33f1(0x127)](_0x4b33f1(0xd9),_0x42752a),_0x20510c;function _0x42752a(){const _0x2b05c4=_0x4b33f1;_0x20510c[_0x2b05c4(0xf5)]=_0x254cd7[_0x2b05c4(0xcc)][_0x2b05c4(0xb2)]>0x0;for(const _0x4d511f of _0x20510c[_0x2b05c4(0x85)][_0x2b05c4(0xa7)])_0x4d511f[_0x2b05c4(0xf5)]=_0x254cd7[_0x2b05c4(0xcc)][_0x2b05c4(0xec)](_0x4d511f['id']);}}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0xea),_0x712408=>{const _0x43d21b=_0x224d9a,_0x1f943c=new _0x21d2d8(_0x712408);_0x1f943c[_0x43d21b(0x81)][_0x43d21b(0xba)]({'label':_0x3e4d20(_0x712408,_0x43d21b(0x7b)),'icon':_0x30689d}),_0x1f943c[_0x43d21b(0x97)](_0x43d21b(0xf5))['to'](_0x254cd7,_0x43d21b(0xcc),_0x17a975=>_0x17a975[_0x43d21b(0xb2)]>0x0);const _0x5d0bc5=_0x1ef966(_0x14a16f[_0x43d21b(0x80)][_0x43d21b(0xa3)](_0x43d21b(0x121)),_0x712408);return this[_0x43d21b(0x11e)](_0x254cd7,_0x1f943c,_0x5d0bc5,_0x1b8d20=>this[_0x43d21b(0xdc)](_0x1b8d20)),_0x1f943c;}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x98),()=>{const _0xda2df9=_0x224d9a,_0x16a81c=this[_0xda2df9(0xd1)](_0xcbe5f8);return _0x16a81c[_0xda2df9(0xba)]({'tooltip':!0x0,'class':_0xda2df9(0x11b)+this[_0xda2df9(0xc7)]}),_0x16a81c;}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x7e),()=>{const _0xcd902d=_0x224d9a,_0x4055e8=this[_0xcd902d(0xd1)](_0x3ed841);return _0x4055e8[_0xcd902d(0xba)]({'role':_0xcd902d(0x9f)}),_0x4055e8;}),this[_0x224d9a(0x100)]=this[_0x224d9a(0xe3)][_0x224d9a(0x80)][_0x224d9a(0xa3)](_0x224d9a(0x100));const _0x4a4042=this[_0x224d9a(0xe3)];this[_0x224d9a(0x91)]=setInterval(()=>{const _0x1887d2=_0x224d9a;let _0x4c23d7;for(const _0x20bc57 in _0x4a4042){const _0x5bd47e=_0x20bc57,_0x82b1fd=_0x4a4042[_0x5bd47e];if(_0x1887d2(0xd3)==_0x82b1fd||_0x1887d2(0xc8)==_0x82b1fd||_0x1887d2(0xe4)==_0x82b1fd||_0x1887d2(0xab)==_0x82b1fd||_0x1887d2(0x79)==_0x82b1fd||_0x1887d2(0x114)==_0x82b1fd||_0x1887d2(0x99)==_0x82b1fd||_0x1887d2(0xc6)==_0x82b1fd){delete _0x4a4042[_0x5bd47e],_0x4c23d7=_0x82b1fd,clearInterval(this[_0x1887d2(0x91)]),this[_0x1887d2(0x91)]=void 0x0;break;}}_0x1887d2(0xc8)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x92)),_0x1887d2(0xe4)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x11c)),_0x1887d2(0xab)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x111)),_0x1887d2(0x79)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x124),_0x1887d2(0xf7)),_0x1887d2(0x114)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0xdf)),_0x1887d2(0x99)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x93)),_0x1887d2(0xc6)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0xc5));},0x3e8);}[_0x4f2563(0x125)](){const _0x51bee4=_0x4f2563;super[_0x51bee4(0x125)](),this[_0x51bee4(0x91)]&&clearInterval(this[_0x51bee4(0x91)]);}[_0x4f2563(0xaa)](_0x3c0587='',_0x362990='',_0x48564c=_0x4f2563(0x90)){const _0x53c8c5=_0x4f2563,_0x5e12f6=this[_0x53c8c5(0xe3)],_0x38bc5c=_0x5e12f6[_0x53c8c5(0x77)][_0x53c8c5(0x89)],_0x15c2db=_0x5e12f6[_0x53c8c5(0xb5)][_0x53c8c5(0xa3)](_0x1e01a6),_0x3bfa7b=_0x5e12f6[_0x53c8c5(0xb5)][_0x53c8c5(0xa3)](_0x33a0d4);_0x15c2db[_0x53c8c5(0xd7)]();const _0x4fdf17=new pt(),_0x19a369=new ClipboardEvent(_0x53c8c5(0xe6),{'clipboardData':_0x4fdf17}),_0x56e231=new _0x4df611(_0x4fdf17),_0x1d5a2b=new _0x5cea20(_0x38bc5c,_0x19a369,{'dataTransfer':_0x56e231});_0x3bfa7b[_0x53c8c5(0xeb)](_0x53c8c5(0xf6),()=>{const _0x587dff=_0x53c8c5;_0x38bc5c[_0x587dff(0xc4)][_0x587dff(0x9a)](_0x587dff(0xe6),_0x1d5a2b);}),this[_0x53c8c5(0x9c)]||(this[_0x53c8c5(0x8f)](),this[_0x53c8c5(0x11f)]=new _0x1fa64f(_0x5e12f6,this[_0x53c8c5(0x9b)][_0x53c8c5(0x101)],this[_0x53c8c5(0x9c)]));let _0x212018=_0x56e231[_0x53c8c5(0xa6)](_0x53c8c5(0x112));const _0x577e12=_0x5e12f6[_0x53c8c5(0xca)][_0x53c8c5(0xc4)][_0x53c8c5(0x10b)],_0x203db1=Array[_0x53c8c5(0xb4)](_0x577e12[_0x53c8c5(0x106)]());0x1===_0x203db1[_0x53c8c5(0xb2)]&&_0x203db1[0x0][_0x53c8c5(0x10d)]&&!_0x577e12[_0x53c8c5(0xf9)]()&&''!==_0x212018[_0x53c8c5(0xbb)](/ /g,'')[_0x53c8c5(0xf2)]()&&(_0x212018=_0x53c8c5(0xcb)+_0x212018+_0x53c8c5(0x110)),this[_0x53c8c5(0x11f)][_0x53c8c5(0x7a)]({'actionId':_0x48564c,'query':_0x3c0587,'htmlContent':_0x212018,'label':_0x362990,'mainActionLabel':_0x2274a5[_0x5e12f6[_0x53c8c5(0xca)][_0x53c8c5(0xc4)][_0x53c8c5(0x10b)][_0x53c8c5(0xda)]?_0x53c8c5(0x118):_0x53c8c5(0xf3)]}),_0x53c8c5(0x98)!==this[_0x53c8c5(0x119)]['id']?this[_0x53c8c5(0x119)][_0x53c8c5(0xa9)]({'id':_0x53c8c5(0x98),'icon':_0x10d475,'title':_0x3e4d20(this[_0x53c8c5(0xe3)][_0x53c8c5(0xe5)],_0x53c8c5(0xbf)),'content':this[_0x53c8c5(0x9c)],'position':_0x1279a6[_0x53c8c5(0xd2)],'onShow':()=>{const _0x454e1c=_0x53c8c5;this[_0x454e1c(0x9c)][_0x454e1c(0xee)]();},'onHide':()=>{const _0x44a07d=_0x53c8c5;this[_0x44a07d(0x11f)][_0x44a07d(0xcf)](),_0x15c2db[_0x44a07d(0xcd)]();}}):this[_0x53c8c5(0x119)][_0x53c8c5(0x89)][_0x53c8c5(0xfe)]||this[_0x53c8c5(0x119)][_0x53c8c5(0x89)][_0x53c8c5(0xfd)]();}[_0x4f2563(0xac)](){const _0x4b6781=_0x4f2563;this[_0x4b6781(0x119)][_0x4b6781(0xfa)]();}[_0x4f2563(0xe0)](){const _0x8301c5=_0x4f2563,_0x1bf618=new Map(),_0xf7d95c=_0x1ef966(this[_0x8301c5(0xe3)][_0x8301c5(0x80)][_0x8301c5(0xa3)](_0x8301c5(0x121)),this[_0x8301c5(0xe3)][_0x8301c5(0xe5)]);for(const _0x4cecbd of _0xf7d95c)for(const _0xd0418b of _0x4cecbd[_0x8301c5(0xbd)])_0x1bf618[_0x8301c5(0xba)](_0xd0418b['id'],{..._0xd0418b,'groupId':_0x4cecbd[_0x8301c5(0xde)],'groupLabel':_0x4cecbd[_0x8301c5(0x126)]||_0x4cecbd[_0x8301c5(0xde)]});return _0x1bf618;}[_0x4f2563(0xd1)](_0x4d4af0){const _0x264625=_0x4f2563,_0x35f053=this[_0x264625(0xe3)],_0x388f63=_0x35f053[_0x264625(0xbd)][_0x264625(0xa3)](_0x264625(0xf4)),_0x2e3e8a=new _0x4d4af0(_0x35f053[_0x264625(0xe5)]);return _0x2e3e8a[_0x264625(0xba)]({'label':_0x3e4d20(_0x35f053[_0x264625(0xe5)],_0x264625(0xbf)),'icon':_0x10d475,'isToggleable':!0x0}),_0x2e3e8a[_0x264625(0x97)](_0x264625(0xf5))['to'](_0x388f63),_0x2e3e8a[_0x264625(0x97)](_0x264625(0x94))['to'](this[_0x264625(0x119)],'id',_0x300790=>_0x264625(0x98)===_0x300790),this[_0x264625(0xdd)](_0x2e3e8a,_0x264625(0xa8),()=>{const _0x43c018=_0x264625;_0x2e3e8a[_0x43c018(0x94)]?this[_0x43c018(0xac)]():_0x388f63[_0x43c018(0xa8)]();}),_0x2e3e8a;}[_0x4f2563(0x8f)](){const _0x4d8a03=_0x4f2563,_0x373629=this[_0x4d8a03(0xe3)][_0x4d8a03(0xb5)][_0x4d8a03(0xa3)](_0x1e01a6);this[_0x4d8a03(0x9c)]=new _0x51423d(this[_0x4d8a03(0xe3)][_0x4d8a03(0xe5)],this[_0x4d8a03(0xc7)],this[_0x4d8a03(0xe3)][_0x4d8a03(0x80)][_0x4d8a03(0xa3)](_0x4d8a03(0xc1))),this[_0x4d8a03(0x9c)]['on'](_0x4d8a03(0x10e),()=>{const _0x1d44f3=_0x4d8a03;this[_0x1d44f3(0x119)][_0x1d44f3(0x89)][_0x1d44f3(0xfe)]||this[_0x1d44f3(0x119)][_0x1d44f3(0x89)][_0x1d44f3(0xfd)]();}),this[_0x4d8a03(0x9c)][_0x4d8a03(0xed)][_0x4d8a03(0x88)][_0x4d8a03(0xce)]['on'](_0x4d8a03(0xb6),()=>{const _0x56c6b7=_0x4d8a03;this[_0x56c6b7(0x119)][_0x56c6b7(0x89)][_0x56c6b7(0xfe)]||this[_0x56c6b7(0x119)][_0x56c6b7(0x89)][_0x56c6b7(0xfd)]();}),this[_0x4d8a03(0xdd)](this[_0x4d8a03(0x9c)],_0x4d8a03(0x109),()=>{const _0xd47874=_0x4d8a03;_0x373629[_0xd47874(0x8a)](this[_0xd47874(0x11f)][_0xd47874(0xfb)]),this[_0xd47874(0xac)]();}),this[_0x4d8a03(0xdd)](this[_0x4d8a03(0x9c)],_0x4d8a03(0xe1),()=>{const _0x332097=_0x4d8a03;_0x373629[_0x332097(0xe1)](this[_0x332097(0x11f)][_0x332097(0xfb)]),this[_0x332097(0xac)]();}),this[_0x4d8a03(0xad)]();}[_0x4f2563(0xad)](){const _0x721d82=_0x4f2563,{locale:_0x4a77ec,ui:{ariaLiveAnnouncer:_0x396fb2}}=this[_0x721d82(0xe3)];this[_0x721d82(0x9c)][_0x721d82(0x10a)]['on'](_0x721d82(0x113),(_0xb6936c,_0x28f08d,_0x2b19ea)=>{const _0x589c35=_0x721d82,_0x2a0881=this[_0x589c35(0x11f)][_0x589c35(0xfb)];_0x2b19ea?_0x396fb2[_0x589c35(0xc3)](_0x3e4d20(_0x4a77ec,_0x589c35(0xaf))):_0x2a0881&&_0x396fb2[_0x589c35(0xc3)](_0x3e4d20(_0x4a77ec,_0x589c35(0x105),_0x2a0881),{'politeness':_0x589c35(0x9d),'isUnsafeHTML':!0x0});}),this[_0x721d82(0x9c)]['on'](_0x721d82(0x76),(_0xe8e74,_0x5619bb,_0x383098)=>{const _0x300b2a=_0x721d82;if(_0x383098){const _0x203654=this[_0x300b2a(0x9c)][_0x300b2a(0x82)][_0x300b2a(0xf0)];_0x396fb2[_0x300b2a(0xc3)](_0x3e4d20(_0x4a77ec,_0x300b2a(0x86),_0x203654));}});}[_0x4f2563(0xdc)](_0x48fc21){const _0x1d6ce7=_0x4f2563,_0x1bf201=this[_0x1d6ce7(0xf8)][_0x1d6ce7(0xa3)](_0x48fc21),_0x3e3682=this[_0x1d6ce7(0xe3)],_0x426c87=_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xc4)][_0x1d6ce7(0x10b)],_0x32bdcb=_0x3e3682[_0x1d6ce7(0xbd)][_0x1d6ce7(0xa3)](_0x1d6ce7(0xf4)),_0x3639d5=_0x3e3682[_0x1d6ce7(0xb5)][_0x1d6ce7(0xa3)](_0x1e01a6),_0x5bdcf0=''+(_0x1bf201[_0x1d6ce7(0xde)]!==_0xa8b680?_0x1bf201[_0x1d6ce7(0x126)]+':\x20':'')+_0x1bf201[_0x1d6ce7(0x107)];if(!0x1!==_0x1bf201[_0x1d6ce7(0xd5)]&&_0x426c87[_0x1d6ce7(0xda)]){const _0x3cdd8f=_0x399f84(_0x426c87[_0x1d6ce7(0x122)]())||_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xc2)][_0x1d6ce7(0xff)](_0x426c87);_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xa4)](_0x54aa7a=>{const _0x1476e2=_0x1d6ce7;_0x54aa7a[_0x1476e2(0xc9)](_0x3cdd8f,'in');});}_0x3639d5[_0x1d6ce7(0xd7)](),_0x32bdcb[_0x1d6ce7(0xa8)](_0x1bf201[_0x1d6ce7(0x7d)],_0x5bdcf0,_0x1d6ce7(0x8b)+_0x48fc21);}[_0x4f2563(0x11e)](_0x533d5c,_0x484859,_0x30f6fd,_0x482b8d){const _0x5ec23e=_0x4f2563,_0x337c9f=this[_0x5ec23e(0xe3)],_0x515bda=_0x337c9f[_0x5ec23e(0xe5)],_0x5c7136=new _0x41054e(_0x515bda),_0x174632=wi(_0x337c9f,_0x30f6fd)[_0x5ec23e(0x10c)](_0x2e6253=>_0x2e6253[_0x5ec23e(0xbd)][_0x5ec23e(0xb2)]);0x1===_0x174632[_0x5ec23e(0xb2)]?this[_0x5ec23e(0x102)]({'command':_0x533d5c,'commands':_0x174632[0x0][_0x5ec23e(0xbd)],'parentMenuView':_0x484859,'onExecute':_0x482b8d})[_0x5ec23e(0x128)](_0x278636=>_0x5c7136[_0x5ec23e(0xb1)][_0x5ec23e(0x95)](_0x278636)):_0x174632[_0x5ec23e(0x128)](({groupId:_0x282873,groupLabel:_0x4a324a,commands:_0x1feebf})=>{const _0x411c2d=_0x5ec23e,_0x3fd069=new _0x39ce9b(_0x515bda,_0x484859),_0x2c6bca=new _0x21d2d8(_0x515bda),_0x2a896d=new _0x41054e(_0x515bda),_0x384c37=this[_0x411c2d(0x102)]({'command':_0x533d5c,'commands':_0x1feebf,'parentMenuView':_0x2c6bca,'onExecute':_0x482b8d});_0x2c6bca[_0x411c2d(0x81)][_0x411c2d(0xba)]({'label':_0x4a324a||_0x282873}),_0x2c6bca[_0x411c2d(0x7f)](_0x411c2d(0xa8))['to'](_0x484859),_0x2a896d[_0x411c2d(0xb1)][_0x411c2d(0xd6)](_0x384c37),_0x2c6bca[_0x411c2d(0xa2)][_0x411c2d(0x78)][_0x411c2d(0x95)](_0x2a896d),_0x3fd069[_0x411c2d(0x78)][_0x411c2d(0x95)](_0x2c6bca),_0x5c7136[_0x411c2d(0xb1)][_0x411c2d(0x95)](_0x3fd069);}),_0x484859[_0x5ec23e(0xa2)][_0x5ec23e(0x78)][_0x5ec23e(0x95)](_0x5c7136);}[_0x4f2563(0x102)]({command:_0x4cb4ee,commands:_0x460159,parentMenuView:_0x1f95eb,onExecute:_0x27f673}){const _0x3d24db=_0x4f2563,_0x4812fc=this[_0x3d24db(0xe3)],_0xaff701=_0x4812fc[_0x3d24db(0xe5)];return wi(_0x4812fc,_0x460159)[_0x3d24db(0xae)](_0x4bdf1f=>{const _0x1f5654=_0x3d24db,_0x151af7=new _0x39ce9b(_0xaff701,_0x1f95eb),_0x377b60=new _0x3ed841(_0xaff701);return _0x377b60[_0x1f5654(0xba)]({'label':_0x4bdf1f[_0x1f5654(0x107)]}),_0x377b60[_0x1f5654(0x7f)](_0x1f5654(0xa8))['to'](_0x1f95eb),_0x377b60['on'](_0x1f5654(0xa8),()=>_0x27f673(_0x4bdf1f['id'])),_0x377b60[_0x1f5654(0x97)](_0x1f5654(0xf5))['to'](_0x4cb4ee,_0x1f5654(0xcc),_0x4be403=>_0x4be403[_0x1f5654(0xec)](_0x4bdf1f['id'])),_0x151af7[_0x1f5654(0x78)][_0x1f5654(0x95)](_0x377b60),_0x151af7;});}}function Ai(_0x38717e,_0x35d2d5){const _0x3ef0c0=_0x4f2563;return void 0x0!==_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0===_0x35d2d5[_0x3ef0c0(0xa0)]?0x1:void 0x0===_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0!==_0x35d2d5[_0x3ef0c0(0xa0)]?-0x1:void 0x0!==_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0!==_0x35d2d5[_0x3ef0c0(0xa0)]?_0x38717e[_0x3ef0c0(0xa0)]-_0x35d2d5[_0x3ef0c0(0xa0)]:0x0;}function wi(_0x44ace5,_0x52376){const _0x4b9849=_0x4f2563;_0x52376[_0x4b9849(0xb7)](Ai);const _0x13ed41={},_0x4802fe=[];for(const _0xb22251 of _0x52376)if(void 0x0!==_0xb22251[_0x4b9849(0xa0)]){if(_0xb22251[_0x4b9849(0xa0)]in _0x13ed41)throw new _0x4c59f3(_0x4b9849(0x11a),_0x44ace5,{'conflictingDefinitions':[_0xb22251,_0x13ed41[_0xb22251[_0x4b9849(0xa0)]]]});_0x13ed41[_0xb22251[_0x4b9849(0xa0)]]=_0xb22251,_0x4802fe[_0x4b9849(0xbe)](_0xb22251[_0x4b9849(0xa0)],0x0,_0xb22251);}else _0x4802fe[_0x4b9849(0xd8)](_0xb22251);return _0x4802fe;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3b4149,_0x1e8e8a){var _0x17b73f=_0x6f59,_0x2fce11=_0x3b4149();while(!![]){try{var _0x3d8ee2=parseInt(_0x17b73f(0xbe))/0x1*(-parseInt(_0x17b73f(0xbf))/0x2)+parseInt(_0x17b73f(0xba))/0x3*(parseInt(_0x17b73f(0xc3))/0x4)+parseInt(_0x17b73f(0xb9))/0x5*(-parseInt(_0x17b73f(0xbd))/0x6)+parseInt(_0x17b73f(0xbc))/0x7+parseInt(_0x17b73f(0xc1))/0x8*(parseInt(_0x17b73f(0xc0))/0x9)+-parseInt(_0x17b73f(0xbb))/0xa+parseInt(_0x17b73f(0xc2))/0xb;if(_0x3d8ee2===_0x1e8e8a)break;else _0x2fce11['push'](_0x2fce11['shift']());}catch(_0x2eae7e){_0x2fce11['push'](_0x2fce11['shift']());}}}(_0x4d6f,0x5a035));function _0x6f59(_0x389b28,_0x484f2e){var _0x4d6fd9=_0x4d6f();return _0x6f59=function(_0x6f59ef,_0x2d81f6){_0x6f59ef=_0x6f59ef-0xb9;var _0x4d2b79=_0x4d6fd9[_0x6f59ef];return _0x4d2b79;},_0x6f59(_0x389b28,_0x484f2e);}import{CKEditorError as _0x29053a}from'ckeditor5/src/utils.js';function _0x4d6f(){var _0x5c5490=['1299690UlehyS','780YROxyW','1uWMffQ','636070ngiZZF','891JxTXnI','5240UEmLUz','6442711vpaZGK','11056gmNqMf','21835efmQDh','489fkQTeQ','323100RcuhiU'];_0x4d6f=function(){return _0x5c5490;};return _0x4d6f();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xcefd84=_0x5769;(function(_0x107876,_0x1f3b07){const _0xb71aed=_0x5769,_0x69dbbd=_0x107876();while(!![]){try{const _0x32dcbb=parseInt(_0xb71aed(0x1a3))/0x1+parseInt(_0xb71aed(0x1b5))/0x2*(-parseInt(_0xb71aed(0x19b))/0x3)+-parseInt(_0xb71aed(0x1c9))/0x4*(-parseInt(_0xb71aed(0x1e5))/0x5)+-parseInt(_0xb71aed(0x1f2))/0x6*(-parseInt(_0xb71aed(0x19d))/0x7)+-parseInt(_0xb71aed(0x1b7))/0x8+parseInt(_0xb71aed(0x1b4))/0x9*(-parseInt(_0xb71aed(0x1bb))/0xa)+-parseInt(_0xb71aed(0x1e2))/0xb;if(_0x32dcbb===_0x1f3b07)break;else _0x69dbbd['push'](_0x69dbbd['shift']());}catch(_0x3f5694){_0x69dbbd['push'](_0x69dbbd['shift']());}}}(_0x1557,0x94a03));import{ObservableMixin as _0x237de0}from'ckeditor5/src/utils.js';import{AIRequestError as _0x18eaa3}from'../adapters/aiadapter.js';import{Matcher as _0x16d2d5,ViewUpcastWriter as _0x323b0e}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x1557(){const _0x52b8e5=['73190kfXGct','previousActionId','609568LFhOSD','remove','tryAgainEvent','then','2361210vKxWFW','_sanitizationContainer','currentResponse','_xmlSerializer','clear','htmlProcessor','finishProcessing','setContentOf','textAdapter','toModel','createElement','endsWith','_stripMarkdownSyntax','length','4BJzlsP','ELEMENT_NODE','body','set:currentContext','handleError','initialContext','startsWith','push','custom','prompt','currentContext','toView','nodeType','_domParser','set','get','isProcessing','viewToDom','trim','_isH1TagSupportEnabled','view','abort','name','render','document','17779696iMqEAD','rename','from','3089860qBENIZ','submitPrompt','mainAction','isRendered','parseFromString','data','querySelector','listenTo','<h1></h1>','div','previousContext','catch','message','6NHrhlf','previousLabel','_normalizeResponseHeadings','ai.assistant.preserveComments','editing','```','childNodes','element','_handleQuery','substring','reset','destroy','stringify','domConverter','3kjzKQZ','_sanitizeHTML','5942804lswBnW','once','match','stopProcessing','finally','processor','1107075SRHJBG','startProcessing','reverse','exec','updateView','text/html','config','editor','_parseAndNormalizeContent','previousQuery','markers','makeRequest','```html','value','serializeToString','innerHTML','stopListening','9uOEmjf'];_0x1557=function(){return _0x52b8e5;};return _0x1557();}function _0x5769(_0x5c92f1,_0x2b6ce9){const _0x155734=_0x1557();return _0x5769=function(_0x57697e,_0x4ed159){_0x57697e=_0x57697e-0x196;let _0x192aaa=_0x155734[_0x57697e];return _0x192aaa;},_0x5769(_0x5c92f1,_0x2b6ce9);}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x237de0(){[_0xcefd84(0x1aa)];[_0xcefd84(0x1c3)];[_0xcefd84(0x1dd)];[_0xcefd84(0x1bc)];[_0xcefd84(0x1d6)];[_0xcefd84(0x1be)];constructor(_0x547c43,_0x528264,_0x4b2129){const _0x1a3875=_0xcefd84;super(),this[_0x1a3875(0x1aa)]=_0x547c43,this[_0x1a3875(0x1c3)]=_0x528264,this[_0x1a3875(0x1bc)]=document[_0x1a3875(0x1c5)](_0x1a3875(0x1ee)),this[_0x1a3875(0x1d6)]=new DOMParser(),this[_0x1a3875(0x1be)]=new XMLSerializer(),this[_0x1a3875(0x1dd)]=_0x4b2129,this[_0x1a3875(0x1d7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1a3875(0x1cc),(_0x3851fd,_0x1bcae3,_0x4087db)=>{const _0x358ade=_0x1a3875;this[_0x358ade(0x1dd)][_0x358ade(0x1b0)]=this[_0x358ade(0x19c)](_0x4087db);}),this[_0x1a3875(0x1ec)](this[_0x1a3875(0x1dd)],_0x1a3875(0x1e6),(_0x3e0b6d,_0x25c0ef)=>{const _0x32cde3=_0x1a3875,_0x360537=this[_0x32cde3(0x1d3)]||this[_0x32cde3(0x1ce)];this[_0x32cde3(0x1fa)](_0x25c0ef,_0x360537,_0x32cde3(0x1d1));}),this[_0x1a3875(0x1ec)](this[_0x1a3875(0x1dd)],_0x1a3875(0x1b9),()=>{const _0x24b289=_0x1a3875;this[_0x24b289(0x1dd)][_0x24b289(0x1d2)]=this[_0x24b289(0x1f3)],this[_0x24b289(0x1fa)](this[_0x24b289(0x1ac)],this[_0x24b289(0x1ef)],this[_0x24b289(0x1b6)],this[_0x24b289(0x1f3)]);}),this[_0x1a3875(0x1ec)](this[_0x1a3875(0x1dd)],_0x1a3875(0x1a0),()=>{const _0x40a412=_0x1a3875;this[_0x40a412(0x1a0)]();});}[_0xcefd84(0x198)](){const _0x45f935=_0xcefd84;this[_0x45f935(0x1b3)]();}async[_0xcefd84(0x1a7)]({actionId:_0x23482f,query:_0xa0ec32,htmlContent:_0x292127,label:_0x3e8e74,mainActionLabel:_0x56ccf0}){const _0x4fc7d0=_0xcefd84;this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x1d2)]=_0x3e8e74,this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x1e7)]=_0x56ccf0,this[_0x4fc7d0(0x1ce)]=_0x292127,_0xa0ec32&&(this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x1e8)]?this[_0x4fc7d0(0x1fa)](_0xa0ec32,_0x292127,_0x23482f,_0x3e8e74):this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x19e)](_0x4fc7d0(0x1e0),()=>{const _0x1120e3=_0x4fc7d0;this[_0x1120e3(0x1fa)](_0xa0ec32,_0x292127,_0x23482f,_0x3e8e74);}));}[_0xcefd84(0x1a0)](){const _0x451f8f=_0xcefd84;this[_0x451f8f(0x1d9)]&&(this[_0x451f8f(0x1d9)]=!0x1,this[_0x451f8f(0x1dd)][_0x451f8f(0x1c1)](),this[_0x451f8f(0x1c3)][_0x451f8f(0x1de)]());}[_0xcefd84(0x197)](){const _0x475f8e=_0xcefd84;this[_0x475f8e(0x1ce)]='',this[_0x475f8e(0x1d3)]='',this[_0x475f8e(0x1bd)]='',this[_0x475f8e(0x1ef)]='',this[_0x475f8e(0x1ac)]='',this[_0x475f8e(0x1f3)]='',this[_0x475f8e(0x1b6)]=void 0x0,this[_0x475f8e(0x1dd)][_0x475f8e(0x197)](),this[_0x475f8e(0x1a0)]();}async[_0xcefd84(0x1fa)](_0x31a81b,_0x5519e0,_0x1feb4b,_0x2530c3){const _0x452069=_0xcefd84;return this[_0x452069(0x1d9)]=!0x0,this[_0x452069(0x1dd)][_0x452069(0x1a4)](),this[_0x452069(0x1ef)]=_0x5519e0,this[_0x452069(0x1ac)]=_0x31a81b,this[_0x452069(0x1f3)]=_0x2530c3||_0x31a81b,this[_0x452069(0x1b6)]=_0x1feb4b,new Promise(_0x3410f1=>{const _0x4ffd8f=_0x452069;this[_0x4ffd8f(0x1c3)][_0x4ffd8f(0x1ae)]({'query':_0x31a81b,'context':_0x5519e0,'onData':_0x4dccf0=>{const _0x3f67b5=_0x4ffd8f;this[_0x3f67b5(0x1bd)]=_0x4dccf0,this[_0x3f67b5(0x1d3)]=this[_0x3f67b5(0x1ab)](this[_0x3f67b5(0x1bd)]);},'actionId':_0x1feb4b})[_0x4ffd8f(0x1ba)](()=>{const _0x2d716f=_0x4ffd8f;!this[_0x2d716f(0x1d3)]&&this[_0x2d716f(0x1bd)]&&(this[_0x2d716f(0x1d3)]=this[_0x2d716f(0x1ab)](this[_0x2d716f(0x1bd)],!0x0));})[_0x4ffd8f(0x1f0)](_0x55a46e=>{const _0x1ff2cc=_0x4ffd8f;_0x55a46e instanceof _0x18eaa3?this[_0x1ff2cc(0x1dd)][_0x1ff2cc(0x1cd)](_0x55a46e[_0x1ff2cc(0x1f1)]):this[_0x1ff2cc(0x1dd)][_0x1ff2cc(0x1cd)](),_0x3410f1();})[_0x4ffd8f(0x1a1)](()=>{const _0xf6756b=_0x4ffd8f;this[_0xf6756b(0x1a0)](),_0x3410f1();});});}[_0xcefd84(0x1ab)](_0x337fc4,_0x1ccaac=!0x1){const _0x5f403e=_0xcefd84,_0x129dbb=fs[_0x5f403e(0x1a6)](_0x337fc4);_0x337fc4=_0x129dbb?_0x337fc4[_0x5f403e(0x196)](_0x129dbb[0x1][_0x5f403e(0x1c8)]):_0x337fc4[_0x5f403e(0x1c8)]<0x64&&!_0x1ccaac?'':this[_0x5f403e(0x1c7)](_0x337fc4);const _0x523e07=this[_0x5f403e(0x1d6)][_0x5f403e(0x1e9)](_0x337fc4,_0x5f403e(0x1a8));if(_0x129dbb){const _0x25dff2=Array[_0x5f403e(0x1e4)](_0x523e07[_0x5f403e(0x1cb)][_0x5f403e(0x1f8)]);_0x25dff2[_0x5f403e(0x1a5)]();for(const _0x3f5f92 of _0x25dff2){if(_0x3f5f92[_0x5f403e(0x1d5)]==Node[_0x5f403e(0x1ca)])break;_0x3f5f92[_0x5f403e(0x1b8)]();}}const _0x398b88=this[_0x5f403e(0x1aa)][_0x5f403e(0x1ea)][_0x5f403e(0x1a2)][_0x5f403e(0x1d4)](this[_0x5f403e(0x1be)][_0x5f403e(0x1b1)](_0x523e07[_0x5f403e(0x1cb)]));this[_0x5f403e(0x1dc)]()||this[_0x5f403e(0x1f4)](_0x398b88);const _0x52f7cd=this[_0x5f403e(0x1aa)][_0x5f403e(0x1a9)][_0x5f403e(0x1d8)](_0x5f403e(0x1f5)),_0x51a822=this[_0x5f403e(0x1aa)][_0x5f403e(0x1ea)][_0x5f403e(0x1c4)](_0x398b88);return _0x52f7cd||_0x51a822[_0x5f403e(0x1ad)][_0x5f403e(0x1bf)](),this[_0x5f403e(0x1aa)][_0x5f403e(0x1ea)][_0x5f403e(0x199)](_0x51a822);}[_0xcefd84(0x1f4)](_0x16f3a8){const _0x2756d0=_0xcefd84,_0x174045=new _0x323b0e(this[_0x2756d0(0x1aa)][_0x2756d0(0x1f6)][_0x2756d0(0x1dd)][_0x2756d0(0x1e1)]),_0x339efb=new _0x16d2d5({'name':/^h[1-5]$/}),_0x1fed14=[];let _0x372815=!0x1;for(const _0xb1f8ad of _0x16f3a8)_0xb1f8ad['is'](_0x2756d0(0x1f9))&&_0x339efb[_0x2756d0(0x19f)](_0xb1f8ad)&&(_0x1fed14[_0x2756d0(0x1d0)](_0xb1f8ad),'h1'==_0xb1f8ad[_0x2756d0(0x1df)]&&(_0x372815=!0x0));if(_0x372815){for(const _0x1c8102 of _0x1fed14)_0x174045[_0x2756d0(0x1e3)]('h'+(parseInt(_0x1c8102[_0x2756d0(0x1df)][0x1])+0x1),_0x1c8102);}}[_0xcefd84(0x1dc)](){const _0x4d0a98=_0xcefd84,{data:_0x501028,editing:_0xc76f1f}=this[_0x4d0a98(0x1aa)],_0x35a554=_0x501028[_0x4d0a98(0x1c0)][_0x4d0a98(0x1d4)](_0x4d0a98(0x1ed)),_0x2ea64e=_0x501028[_0x4d0a98(0x1d4)](_0x501028[_0x4d0a98(0x1c4)](_0x35a554));return!!_0xc76f1f[_0x4d0a98(0x1dd)][_0x4d0a98(0x19a)][_0x4d0a98(0x1da)](_0x2ea64e)[_0x4d0a98(0x1eb)]('h1');}[_0xcefd84(0x19c)](_0x1b02d9){const _0x1c99db=_0xcefd84;return this[_0x1c99db(0x1aa)][_0x1c99db(0x1f6)][_0x1c99db(0x1dd)][_0x1c99db(0x19a)][_0x1c99db(0x1c2)](this[_0x1c99db(0x1bc)],_0x1b02d9),this[_0x1c99db(0x1bc)][_0x1c99db(0x1b2)];}[_0xcefd84(0x1c7)](_0x410a33){const _0x41a226=_0xcefd84,_0x696924=_0x410a33[_0x41a226(0x1db)]();return _0x696924[_0x41a226(0x1cf)](_0x41a226(0x1af))?_0x696924[_0x41a226(0x1c6)](_0x41a226(0x1f7))?_0x696924[_0x41a226(0x196)](0x7,_0x696924[_0x41a226(0x1c8)]-0x3):_0x696924[_0x41a226(0x196)](0x7):_0x410a33;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17a00e=_0x9fe7;function _0x9fe7(_0xa84fb4,_0x148073){const _0x33e888=_0x33e8();return _0x9fe7=function(_0x9fe7bd,_0x22b8f9){_0x9fe7bd=_0x9fe7bd-0x65;let _0x19969e=_0x33e888[_0x9fe7bd];return _0x19969e;},_0x9fe7(_0xa84fb4,_0x148073);}function _0x33e8(){const _0x1747c9=['value','appendLoader','ck-ai-form__content-area','text/plain','execute','copyButtonView','absolute','mousedown','focus','element','2524539CYlUSr','isEnabled','ck-hidden','setStartAfter','createRange','body','appendChild','render','30MNQmSx','_copyHTMLToClipboard','div','bindTemplate','<span>]</span>','575396HNboeh','_createCopyButton','450578eKgWWn','wheel','Copy','position','smooth','4976fEvqYx','getSelection','firstElementChild','ClipboardItem','write','AI\x20is\x20writing...','execCommand','locale','_createLoader','-9999px','14247KXAjzW','left','.ck-ai-form__loader','createElement','15wnaxDv','150492szZcbd','icon','innerHTML','scrollTo','copy','text/html','ck-ai-form__copy-button','listenTo','ck-ai-form__content-area--processing','setTemplate','scrollHeight','addRange','clipboard','contentFieldView','isProcessing','ck-content','style','1fnrnRP','loaderView','<span>[</span>','bind','ck-reset_all-excluded','textContent','remove','2548640DjkoDY','change:isProcessing','class','lastElementChild','setContent','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area-wrapper','2409rpjjgV','querySelector','removeAllRanges','ck-ai-form__loader','change:value','\x20ck-ai-form__copy-button--copied','isVisible','ck-ai-form__content-field','setEndBefore','set','1614935awPnpu'];_0x33e8=function(){return _0x1747c9;};return _0x33e8();}(function(_0x5b1b83,_0x1870b7){const _0x33be85=_0x9fe7,_0x296e23=_0x5b1b83();while(!![]){try{const _0x2da727=parseInt(_0x33be85(0xb7))/0x1*(parseInt(_0x33be85(0x92))/0x2)+parseInt(_0x33be85(0x83))/0x3+parseInt(_0x33be85(0x90))/0x4*(parseInt(_0x33be85(0xa5))/0x5)+parseInt(_0x33be85(0x8b))/0x6*(parseInt(_0x33be85(0x78))/0x7)+parseInt(_0x33be85(0x97))/0x8*(parseInt(_0x33be85(0xa1))/0x9)+-parseInt(_0x33be85(0x67))/0xa+-parseInt(_0x33be85(0x6e))/0xb*(parseInt(_0x33be85(0xa6))/0xc);if(_0x2da727===_0x1870b7)break;else _0x296e23['push'](_0x296e23['shift']());}catch(_0x5d27da){_0x296e23['push'](_0x296e23['shift']());}}}(_0x33e8,0x9b115));import{global as _0x3a19de}from'ckeditor5/src/utils.js';import{View as _0x5b879e,ButtonView as _0x5ecce2,SpinnerView as _0x5af789}from'ckeditor5/src/ui.js';import{IconCheck as _0x372fc0,IconCopy as _0xa5c834}from'ckeditor5/src/icons.js';import{getTranslation as _0x24b5d7}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x5b879e{[_0x17a00e(0xb3)];[_0x17a00e(0x7e)];constructor(_0x330854,_0x1b93ac=''){const _0x3f8388=_0x17a00e;super(_0x330854),this[_0x3f8388(0x77)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3357dc=this[_0x3f8388(0x8e)];this[_0x3f8388(0xb3)]=new ContentFieldView(_0x330854,_0x1b93ac),this[_0x3f8388(0x7e)]=this[_0x3f8388(0x91)](),this[_0x3f8388(0xaf)]({'tag':_0x3f8388(0x8d),'attributes':{'class':['ck',_0x3f8388(0x6d),_0x3357dc['if'](_0x3f8388(0x74),_0x3f8388(0x85),_0x127c91=>!_0x127c91)],'tabindex':'-1'},'children':[{'tag':_0x3f8388(0x8d),'attributes':{'class':['ck',_0x3f8388(0x7b),_0x3357dc['if'](_0x3f8388(0xb4),_0x3f8388(0xae))]},'children':[this[_0x3f8388(0xb3)],{'tag':_0x3f8388(0x8d),'attributes':{'class':['ck',_0x3f8388(0x6c)]},'children':[this[_0x3f8388(0x7e)]]}]}]});}[_0x17a00e(0x8a)](){const _0x30d800=_0x17a00e;super[_0x30d800(0x8a)](),this[_0x30d800(0x79)]&&this[_0x30d800(0xb3)][_0x30d800(0x6b)](this[_0x30d800(0x79)]);let _0xc5075f=!0x1;this['on'](_0x30d800(0x72),(_0x23fea7,_0x39a867,_0x128b32)=>{const _0x3530de=_0x30d800,_0x4756ba=!this[_0x3530de(0xb3)][_0x3530de(0x82)][_0x3530de(0x6f)](_0x3530de(0xa3));this[_0x3530de(0xb3)][_0x3530de(0x6b)](_0x128b32),this[_0x3530de(0xb4)]&&_0x4756ba&&!_0xc5075f&&this[_0x3530de(0x82)][_0x3530de(0xa9)]({'top':this[_0x3530de(0x82)][_0x3530de(0xb0)],'behavior':_0x3530de(0x96)});}),this['on'](_0x30d800(0x68),(_0x177791,_0x1fd06c,_0x23b224)=>{const _0x273ff4=_0x30d800;_0xc5075f=!0x1,_0x23b224?(this[_0x273ff4(0x79)]=null,this[_0x273ff4(0xb3)][_0x273ff4(0x7a)]()):this[_0x273ff4(0x79)]||this[_0x273ff4(0xb3)][_0x273ff4(0x6b)]('');}),this[_0x30d800(0xad)](this[_0x30d800(0x82)],_0x30d800(0x93),()=>{_0xc5075f=!0x0;}),this[_0x30d800(0xad)](this[_0x30d800(0x82)],_0x30d800(0x80),()=>{_0xc5075f=!0x0;});}[_0x17a00e(0x81)](){const _0x40a52c=_0x17a00e;this[_0x40a52c(0x82)][_0x40a52c(0x81)]();}[_0x17a00e(0x91)](){const _0x5d5a1d=_0x17a00e,_0x855b43=this[_0x5d5a1d(0x9e)],_0x1e2c8d=new _0x5ecce2(this[_0x5d5a1d(0x9e)]),_0x12a122=_0x5d5a1d(0xac);return _0x1e2c8d[_0x5d5a1d(0x77)]({'label':_0x24b5d7(_0x855b43,_0x5d5a1d(0x94)),'icon':_0xa5c834,'class':_0x12a122,'tooltip':!0x0}),_0x1e2c8d[_0x5d5a1d(0xba)](_0x5d5a1d(0x74))['to'](this,_0x5d5a1d(0x79),_0x5cb4ac=>!!_0x5cb4ac),_0x1e2c8d[_0x5d5a1d(0xba)](_0x5d5a1d(0x84))['to'](this,_0x5d5a1d(0xb4),_0x23ccd3=>!_0x23ccd3),_0x1e2c8d['on'](_0x5d5a1d(0x7d),()=>{const _0x19e568=_0x5d5a1d;this[_0x19e568(0x8c)](this[_0x19e568(0xb3)][_0x19e568(0x82)]),_0x1e2c8d[_0x19e568(0xa7)]=_0x372fc0,_0x1e2c8d[_0x19e568(0x69)]=_0x12a122+_0x19e568(0x73),this[_0x19e568(0x81)](),setTimeout(()=>{const _0x2e7b2c=_0x19e568;_0x1e2c8d[_0x2e7b2c(0xa7)]=_0xa5c834,_0x1e2c8d[_0x2e7b2c(0x69)]=_0x12a122;},0x3e8);}),_0x1e2c8d;}[_0x17a00e(0x8c)](_0x8f6f13){const _0xc1eef6=_0x17a00e,{window:_0x3a1845,document:_0xc00896}=_0x3a19de;if(_0x3a1845[_0xc1eef6(0x9a)]){const {Blob:_0x514087,ClipboardItem:_0x4f1571}=_0x3a1845,_0x2a8ad0=[new _0x4f1571({'text/html':new _0x514087([_0x8f6f13[_0xc1eef6(0xa8)]],{'type':_0xc1eef6(0xab)}),'text/plain':new _0x514087([_0x8f6f13[_0xc1eef6(0x65)]||''],{'type':_0xc1eef6(0x7c)})})];navigator[_0xc1eef6(0xb2)][_0xc1eef6(0x9b)](_0x2a8ad0);}else{const _0x319982=_0xc00896[_0xc1eef6(0xa4)](_0xc1eef6(0x8d));_0x319982[_0xc1eef6(0xb6)][_0xc1eef6(0x95)]=_0xc1eef6(0x7f),_0x319982[_0xc1eef6(0xb6)][_0xc1eef6(0xa2)]=_0xc1eef6(0xa0),_0x319982[_0xc1eef6(0xa8)]=_0xc1eef6(0xb9)+_0x8f6f13[_0xc1eef6(0xa8)]+_0xc1eef6(0x8f),_0xc00896[_0xc1eef6(0x88)][_0xc1eef6(0x89)](_0x319982);const _0xb51e2b=_0xc00896[_0xc1eef6(0x87)]();_0xb51e2b[_0xc1eef6(0x86)](_0x319982[_0xc1eef6(0x99)]),_0xb51e2b[_0xc1eef6(0x76)](_0x319982[_0xc1eef6(0x6a)]);const _0x2d09fa=_0x3a1845[_0xc1eef6(0x98)]();_0x2d09fa[_0xc1eef6(0x70)](),_0x2d09fa[_0xc1eef6(0xb1)](_0xb51e2b),_0xc00896[_0xc1eef6(0x9d)](_0xc1eef6(0xaa)),_0x319982[_0xc1eef6(0x66)]();}}}export class ContentFieldView extends _0x5b879e{constructor(_0x16da36,_0x59a6b9=''){const _0x2c3d5e=_0x17a00e;super(_0x16da36),this[_0x2c3d5e(0xb8)]=this[_0x2c3d5e(0x9f)](),this[_0x2c3d5e(0xaf)]({'tag':_0x2c3d5e(0x8d),'attributes':{'class':['ck',_0x2c3d5e(0xb5),_0x59a6b9,_0x2c3d5e(0xbb),_0x2c3d5e(0x75)]}});}[_0x17a00e(0x6b)](_0x1c66e4){const _0x3a2515=_0x17a00e;this[_0x3a2515(0x82)][_0x3a2515(0xa8)]=_0x1c66e4;}[_0x17a00e(0x7a)](){const _0x53802a=_0x17a00e;this[_0x53802a(0x82)][_0x53802a(0x89)](this[_0x53802a(0xb8)][_0x53802a(0x82)]);}[_0x17a00e(0x9f)](){const _0x3875f3=_0x17a00e,_0x282f79=new _0x5b879e(),_0x5ec5fc=this[_0x3875f3(0x9e)],_0x17622c=new _0x5af789();return _0x17622c[_0x3875f3(0x74)]=!0x0,_0x282f79[_0x3875f3(0xaf)]({'tag':_0x3875f3(0x8d),'attributes':{'class':['ck',_0x3875f3(0x71)]},'children':[_0x17622c,{'text':_0x24b5d7(_0x5ec5fc,_0x3875f3(0x9c))}]}),_0x282f79[_0x3875f3(0x8a)](),_0x282f79;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3b26(){const _0x108598=['95256fzzciy','1224909CBBrqw','div','466106bbdvXc','ck-ai-form__error','bindTemplate','742970JLGqGN','setTemplate','1VuzrMf','38787CDXCgP','set','16ABgaIB','4sSHmol','36327ERRIIm','content','text','4348256XoGEqN','55PSsFUz'];_0x3b26=function(){return _0x108598;};return _0x3b26();}(function(_0x25828a,_0x1cc8f4){const _0x4db06c=_0x5688,_0x298802=_0x25828a();while(!![]){try{const _0x2b79f7=parseInt(_0x4db06c(0x1d4))/0x1*(-parseInt(_0x4db06c(0x1e1))/0x2)+-parseInt(_0x4db06c(0x1d9))/0x3*(-parseInt(_0x4db06c(0x1d8))/0x4)+-parseInt(_0x4db06c(0x1dd))/0x5*(parseInt(_0x4db06c(0x1de))/0x6)+parseInt(_0x4db06c(0x1d5))/0x7*(-parseInt(_0x4db06c(0x1d7))/0x8)+parseInt(_0x4db06c(0x1df))/0x9+parseInt(_0x4db06c(0x1e4))/0xa+parseInt(_0x4db06c(0x1dc))/0xb;if(_0x2b79f7===_0x1cc8f4)break;else _0x298802['push'](_0x298802['shift']());}catch(_0x4a9cf4){_0x298802['push'](_0x298802['shift']());}}}(_0x3b26,0x30978));import{IconError as _0x5bffca}from'ckeditor5/src/icons.js';function _0x5688(_0x39bcee,_0x300e03){const _0x3b26ff=_0x3b26();return _0x5688=function(_0x5688b5,_0x59e433){_0x5688b5=_0x5688b5-0x1d3;let _0x37a3d1=_0x3b26ff[_0x5688b5];return _0x37a3d1;},_0x5688(_0x39bcee,_0x300e03);}import{View as _0x49a8ef,IconView as _0xc7c405}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x49a8ef{constructor(_0x1750ce,_0x437870=''){const _0x49421e=_0x5688;super(_0x1750ce);const _0x1576ec=new _0xc7c405(),_0x5581b0=this[_0x49421e(0x1e3)];this[_0x49421e(0x1d6)](_0x49421e(0x1db),_0x437870),_0x1576ec[_0x49421e(0x1da)]=_0x5bffca,this[_0x49421e(0x1d3)]({'tag':_0x49421e(0x1e0),'attributes':{'class':['ck',_0x49421e(0x1e2)]},'children':[_0x1576ec,{'text':_0x5581b0['to'](_0x49421e(0x1db))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e6826=_0x352c;(function(_0x441748,_0x23718f){const _0x3b082e=_0x352c,_0x27b5a6=_0x441748();while(!![]){try{const _0x27ef3c=-parseInt(_0x3b082e(0xf2))/0x1*(-parseInt(_0x3b082e(0xdf))/0x2)+parseInt(_0x3b082e(0xea))/0x3*(parseInt(_0x3b082e(0x102))/0x4)+-parseInt(_0x3b082e(0xe0))/0x5+-parseInt(_0x3b082e(0xdd))/0x6*(parseInt(_0x3b082e(0xd7))/0x7)+-parseInt(_0x3b082e(0xca))/0x8*(parseInt(_0x3b082e(0xcf))/0x9)+-parseInt(_0x3b082e(0xd3))/0xa*(parseInt(_0x3b082e(0xda))/0xb)+parseInt(_0x3b082e(0xf6))/0xc;if(_0x27ef3c===_0x23718f)break;else _0x27b5a6['push'](_0x27b5a6['shift']());}catch(_0x4a71c2){_0x27b5a6['push'](_0x27b5a6['shift']());}}}(_0x575f,0xa3799));function _0x352c(_0x437fb2,_0x3ea86b){const _0x575f46=_0x575f();return _0x352c=function(_0x352c99,_0x45b70e){_0x352c99=_0x352c99-0xc9;let _0x3c23b1=_0x575f46[_0x352c99];return _0x3c23b1;},_0x352c(_0x437fb2,_0x3ea86b);}import{Rect as _0x3cfded,global as _0x339580,isVisible as _0x13522b}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1ef8dc,IconSubmit as _0x44aa94}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x8ab146,ButtonView as _0x3c2786}from'ckeditor5/src/ui.js';import{getTranslation as _0x544d56}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x8ab146{[_0x1e6826(0xf4)];[_0x1e6826(0xe9)];constructor(_0x3013dc,_0x5e43dd){const _0x736fba=_0x1e6826;super(_0x3013dc,_0x5e43dd),this[_0x736fba(0xdb)][_0x736fba(0xf5)][_0x736fba(0xe8)]=0x1,this[_0x736fba(0xdb)][_0x736fba(0xf5)][_0x736fba(0xe1)]=0x3,this[_0x736fba(0xf4)]=this[_0x736fba(0x103)](),this[_0x736fba(0xe9)]=this[_0x736fba(0xd5)](),this[_0x736fba(0xec)][_0x736fba(0xd8)](this[_0x736fba(0xe9)],0x1),this[_0x736fba(0xec)][_0x736fba(0xd8)](this[_0x736fba(0xf4)]);}[_0x1e6826(0xe5)](){const _0x379152=_0x1e6826;super[_0x379152(0xe5)](),this[_0x379152(0xdb)][_0x379152(0xd6)][_0x379152(0xd8)](this[_0x379152(0xe9)]),this[_0x379152(0xe6)][_0x379152(0xd8)](this[_0x379152(0xf4)]),this[_0x379152(0xeb)][_0x379152(0xfd)](_0x379152(0xf7),(_0x4e6740,_0x32de4d)=>{const _0x299a44=_0x379152;_0x4e6740[_0x299a44(0xe3)]==this[_0x299a44(0xdb)][_0x299a44(0xf5)][_0x299a44(0xe2)]&&(this[_0x299a44(0xcc)](),_0x32de4d());});}[_0x1e6826(0x103)](){const _0x2d0c4e=_0x1e6826,_0x5070bf=new _0x3c2786(this[_0x2d0c4e(0xf0)]),_0x579cab=this[_0x2d0c4e(0xf0)];return _0x5070bf[_0x2d0c4e(0xfd)]({'icon':_0x44aa94,'label':_0x544d56(_0x579cab,_0x2d0c4e(0xff)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2d0c4e(0xfc)}),_0x5070bf['on'](_0x2d0c4e(0xe7),()=>{const _0x5c1d37=_0x2d0c4e;this[_0x5c1d37(0xcc)]();}),_0x5070bf[_0x2d0c4e(0x101)](_0x2d0c4e(0xfa))['to'](this[_0x2d0c4e(0xdb)][_0x2d0c4e(0xf5)],_0x2d0c4e(0xde),this,_0x2d0c4e(0xfa),(_0x5c0e34,_0x442cf1)=>!_0x5c0e34&&_0x442cf1),_0x5070bf;}[_0x1e6826(0xd5)](){const _0x2e9c88=_0x1e6826,_0x1953b9=new _0x3c2786(this[_0x2e9c88(0xf0)]),_0x1f13ac=this[_0x2e9c88(0xd9)],_0x11aadb=this[_0x2e9c88(0xf0)];_0x1953b9[_0x2e9c88(0xfd)]({'label':_0x544d56(_0x11aadb,_0x2e9c88(0xef)),'withText':!0x1,'icon':_0x1ef8dc,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2e9c88(0xd1)}),_0x1953b9[_0x2e9c88(0x101)](_0x2e9c88(0xf1))['to'](_0x1f13ac,_0x2e9c88(0xd4)),_0x1953b9[_0x2e9c88(0x101)](_0x2e9c88(0xfa))['to'](this,_0x2e9c88(0xfa)),_0x1953b9['on'](_0x2e9c88(0xe7),()=>{const _0x17c3b9=_0x2e9c88;_0x1f13ac[_0x17c3b9(0xd4)]=!_0x1f13ac[_0x17c3b9(0xd4)],_0x1f13ac[_0x17c3b9(0xd4)]?this[_0x17c3b9(0xd0)][_0x17c3b9(0xdc)]():this[_0x17c3b9(0xdc)]();});const _0x29e799=()=>{const _0x57922e=_0x2e9c88;_0x339580[_0x57922e(0x104)][_0x57922e(0xf9)](()=>{const _0x43e4da=_0x57922e;if(_0x13522b(this[_0x43e4da(0xe2)])){const _0x5479a3=new _0x3cfded(this[_0x43e4da(0xdb)][_0x43e4da(0xf5)][_0x43e4da(0xe2)]),_0x4328e8=_0x5479a3[_0x43e4da(0xfb)],_0x5547fb=_0x43e4da(0xcb)===_0x11aadb[_0x43e4da(0xf3)]?_0x43e4da(0xcd):_0x43e4da(0xed);_0x5479a3[_0x43e4da(0xd2)](),_0x1953b9[_0x43e4da(0xe2)][_0x43e4da(0xce)][_0x5547fb]=_0x4328e8-_0x5479a3[_0x43e4da(0xfb)]+0x1+'px';}});};return this[_0x2e9c88(0xdb)][_0x2e9c88(0xf5)]['on'](_0x2e9c88(0xc9),_0x29e799),this['on'](_0x2e9c88(0xe5),_0x29e799),_0x1953b9;}[_0x1e6826(0xcc)](){const _0x5a5702=_0x1e6826,_0x541b0c=this[_0x5a5702(0xdb)][_0x5a5702(0xf5)][_0x5a5702(0xe2)][_0x5a5702(0xe4)];this[_0x5a5702(0xfe)](_0x5a5702(0xcc),_0x541b0c);}[_0x1e6826(0xdc)](_0xffc245){const _0x1c4a9c=_0x1e6826;-0x1===_0xffc245?this[_0x1c4a9c(0xee)][_0x1c4a9c(0xf8)]():this[_0x1c4a9c(0xee)][_0x1c4a9c(0x100)]();}}function _0x575f(){const _0x225c3b=['Submit','focusFirst','bind','3788xUxYFe','_createSubmitButton','window','update','184mHPTmz','rtl','submit','left','style','347625XYOpJd','filteredView','ck-ai-form__toggle-history','excludeScrollbarsAndBorders','122620hGesuO','isVisible','_createShowHistoryButton','fieldWrapperChildren','561036mnxQdD','add','resultsView','627UGkwuI','queryView','focus','6wOHEqi','isEmpty','53260ZFwyea','4254250vwiteN','maxRows','element','target','value','render','children','execute','minRows','showHistoryButtonView','1221wEKOcd','keystrokes','focusableChildren','right','focusCycler','History','locale','isOn','42tztCoy','uiLanguageDirection','submitButtonView','fieldView','20208132LiIIIq','enter','focusLast','requestAnimationFrame','isEnabled','width','ck-ai-form__submit','set','fire'];_0x575f=function(){return _0x225c3b;};return _0x575f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2a1dee=_0x5311;(function(_0x2e55e8,_0x36a5d3){const _0x5c7b01=_0x5311,_0x175d29=_0x2e55e8();while(!![]){try{const _0x3de83f=-parseInt(_0x5c7b01(0x120))/0x1+parseInt(_0x5c7b01(0x11c))/0x2*(parseInt(_0x5c7b01(0x135))/0x3)+-parseInt(_0x5c7b01(0x116))/0x4+-parseInt(_0x5c7b01(0x114))/0x5*(-parseInt(_0x5c7b01(0x127))/0x6)+-parseInt(_0x5c7b01(0x11f))/0x7+-parseInt(_0x5c7b01(0x131))/0x8+-parseInt(_0x5c7b01(0x12b))/0x9*(-parseInt(_0x5c7b01(0x11a))/0xa);if(_0x3de83f===_0x36a5d3)break;else _0x175d29['push'](_0x175d29['shift']());}catch(_0x65954c){_0x175d29['push'](_0x175d29['shift']());}}}(_0x57b0,0x44d98));import{ToolbarView as _0x249488,ButtonView as _0x1a6c62}from'ckeditor5/src/ui.js';import{getTranslation as _0x1d05e0}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2a1dee(0x133),'INSERT':_0x2a1dee(0x115)};function _0x5311(_0x101395,_0x3d06bc){const _0x57b0c0=_0x57b0();return _0x5311=function(_0x53111f,_0x4cfd3b){_0x53111f=_0x53111f-0x112;let _0x2ecfff=_0x57b0c0[_0x53111f];return _0x2ecfff;},_0x5311(_0x101395,_0x3d06bc);}function _0x57b0(){const _0x14e1a0=['376034whZJEJ','insertButton','ck-ai-form__toolbar','ck-button-action','Stop','_createButton','_CONTENT','61926Jseopm','addMany','mainAction','locale','119097GtGfBL','Try\x20again','extendTemplate','replaceButton','items','toUpperCase','3608560vFTfEV','bind','replace','REPLACE','183597oVdEcH','label','AI_','tryAgainButton','215quvres','insert','429356yZEmvI','stopButton','ck-hidden','bindTemplate','530oDGPHY','set','4NCuJII','isVisible','Insert\x20below','357693XvzdTD'];_0x57b0=function(){return _0x14e1a0;};return _0x57b0();}export class AIFormToolbarView extends _0x249488{constructor(_0x2dc66e){const _0x5566ba=_0x2a1dee;super(_0x2dc66e),this[_0x5566ba(0x11b)](_0x5566ba(0x11d),!0x1),this[_0x5566ba(0x11b)](_0x5566ba(0x129),AIFormToolbarViewMainActionLabel[_0x5566ba(0x134)]),this[_0x5566ba(0x12e)]=this[_0x5566ba(0x125)]('',_0x5566ba(0x123)),this[_0x5566ba(0x12e)][_0x5566ba(0x132)](_0x5566ba(0x136))['to'](this,_0x5566ba(0x129),_0x31f22d=>_0x1d05e0(_0x2dc66e,_0x5566ba(0x112)+_0x31f22d[_0x5566ba(0x130)]()+_0x5566ba(0x126))),this[_0x5566ba(0x121)]=this[_0x5566ba(0x125)](_0x1d05e0(_0x2dc66e,_0x5566ba(0x11e))),this[_0x5566ba(0x113)]=this[_0x5566ba(0x125)](_0x1d05e0(_0x2dc66e,_0x5566ba(0x12c))),this[_0x5566ba(0x117)]=this[_0x5566ba(0x125)](_0x1d05e0(_0x2dc66e,_0x5566ba(0x124)));const _0x1c4bc9=this[_0x5566ba(0x119)];this[_0x5566ba(0x12d)]({'attributes':{'class':[_0x5566ba(0x122),_0x1c4bc9['if'](_0x5566ba(0x11d),_0x5566ba(0x118),_0x2eec84=>!_0x2eec84)]}}),this[_0x5566ba(0x12f)][_0x5566ba(0x128)]([this[_0x5566ba(0x12e)],this[_0x5566ba(0x121)],this[_0x5566ba(0x113)],this[_0x5566ba(0x117)]]);}[_0x2a1dee(0x125)](_0x50ed62,_0x1f406c){const _0x546a79=_0x2a1dee,_0x4413b9=new _0x1a6c62(this[_0x546a79(0x12a)]);return _0x4413b9[_0x546a79(0x11b)]({'label':_0x50ed62,'class':_0x1f406c||'','isVisible':!0x0,'withText':!0x0}),_0x4413b9;}}
|