@ckeditor/ckeditor5-ai 47.0.0 → 47.1.0-alpha.1
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/ckeditor5-metadata.json +9 -2
- package/dist/index-editor.css +119 -34
- package/dist/index.css +144 -35
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +5 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.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.d.ts +3 -3
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +6 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +2 -4
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +11 -4
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +4 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.d.ts +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +2 -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.d.ts +2 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +3 -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.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -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.d.ts +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.d.ts +4 -0
- 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.d.ts +5 -0
- package/src/errors.js +23 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
- package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
- package/theme/aichat/aichat-controls.css +1 -0
- package/theme/aichat/aichat.css +0 -1
- package/theme/aichat/aichatfeed.css +9 -0
- package/theme/aichat/aisuggestioncontainer.css +7 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
- package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
- package/theme/aitabs/aitabsview.css +2 -2
- package/theme/aitabs/tabs/tabsview.css +13 -3
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x37d0(_0x396a39,_0x53912b){const _0x355d7d=_0x355d();return _0x37d0=function(_0x37d0ce,_0x1117d9){_0x37d0ce=_0x37d0ce-0x112;let _0x171c69=_0x355d7d[_0x37d0ce];return _0x171c69;},_0x37d0(_0x396a39,_0x53912b);}function _0x355d(){const _0x3af993=['conversion','getSelectedTableCells','hideFakeVisualSelection','editingDowncast','pop','off','join','has','createSelection','257150FUpTyR','markerRange','createPositionAt','ck-fake-ai-selection_collapsed','markerToHighlight','data','once','map','3201318axQSnW','table','getChild','element','updateMarker','fire','isPremiumPlugin','from','153wZLKmO','addClass','AIAssistantEditing','getChildren','_getAISelection','getMarkersGroup','editing','markerToElement','span','resultRange','change','_pasteHTMLUsingClipboard','config','plugins','ck-fake-ai-selection','pluginName','insertRows','ai-ui','4hbZMpR','href','last','filter','selection','lowest','init','text/html','getLastPosition','setData','ai.assistant.useTheme','setSelection','forEach','1768109hdfqdB','getRange','getFirstRange','_createEmptyTableRows','getSelectedBlocks','3199992DEnpZz','editor','createUIElement','push','contentInsertion','afterInit','paste','removeMarker','isOfficialPlugin','isAtEnd','canEditAt','insertContentBelow','DataTransfer','model','insertContent','markers','_prepareTableInsertBelowPosition','getRanges','897435SizgZI','findAncestor','_getTableRowCountFromContent','getLastMatchingPosition','ck-ai-assistant-ui_theme','_resetContentOfSelectedTableCells','_getDefaultInsertBelowPosition','deleteContent','for','isCollapsed','first','28916GTSHcp','1788357ghHLHF','getRowIndexes','schema','start','document','getColumnIndexes','getRows','addMarker','showFakeVisualSelection','length','TableUtils','createRange','isContent','createPositionAfter','fromCharCode','get','end','parse','37jpBuqR'];_0x355d=function(){return _0x3af993;};return _0x355d();}const _0x231f8c=_0x37d0;(function(_0x583997,_0x415c67){const _0x1fd32f=_0x37d0,_0x26a9ed=_0x583997();while(!![]){try{const _0xc30699=parseInt(_0x1fd32f(0x14b))/0x1*(parseInt(_0x1fd32f(0x138))/0x2)+-parseInt(_0x1fd32f(0x139))/0x3*(parseInt(_0x1fd32f(0x177))/0x4)+-parseInt(_0x1fd32f(0x12d))/0x5+-parseInt(_0x1fd32f(0x15d))/0x6+parseInt(_0x1fd32f(0x116))/0x7+parseInt(_0x1fd32f(0x11b))/0x8+parseInt(_0x1fd32f(0x165))/0x9*(parseInt(_0x1fd32f(0x155))/0xa);if(_0xc30699===_0x415c67)break;else _0x26a9ed['push'](_0x26a9ed['shift']());}catch(_0x306988){_0x26a9ed['push'](_0x26a9ed['shift']());}}}(_0x355d,0x4d088));import{uid as _0x333fbb}from'ckeditor5/src/utils.js';import{Plugin as _0xf1aa99}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x38dd16}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x566b33,ViewDataTransfer as _0x1ccf42}from'ckeditor5/src/engine.js';const y=globalThis[_0x231f8c(0x127)],b=_0x231f8c(0x176);export class AIAssistantEditing extends _0xf1aa99{static get[_0x231f8c(0x174)](){const _0x2f8912=_0x231f8c;return _0x2f8912(0x167);}static get[_0x231f8c(0x123)](){return!0x0;}static get[_0x231f8c(0x163)](){return!0x0;}[_0x231f8c(0x17d)](){const _0x3ca373=_0x231f8c,{editor:_0x4fd646}=this,_0x58ee2b=[_0x3ca373(0x173)];_0x4fd646[_0x3ca373(0x171)][_0x3ca373(0x148)](_0x3ca373(0x113))&&_0x58ee2b[_0x3ca373(0x11e)](_0x3ca373(0x131)),_0x4fd646[_0x3ca373(0x14c)][_0x3ca373(0x135)](_0x3ca373(0x14f))[_0x3ca373(0x159)]({'model':b,'view':{'classes':_0x58ee2b,'priority':0xc}}),_0x4fd646[_0x3ca373(0x14c)][_0x3ca373(0x135)](_0x3ca373(0x14f))[_0x3ca373(0x16c)]({'model':b,'view':(_0x1a5de8,{writer:_0x25d1f1})=>{const _0x2e5f36=_0x3ca373;if(!_0x1a5de8[_0x2e5f36(0x156)][_0x2e5f36(0x136)])return null;const _0x21b8f9=_0x25d1f1[_0x2e5f36(0x11d)](_0x2e5f36(0x16d));return _0x25d1f1[_0x2e5f36(0x166)]([_0x2e5f36(0x173),_0x2e5f36(0x158)],_0x21b8f9),_0x21b8f9;}});}[_0x231f8c(0x120)](){!async function(_0x58d37c){const _0xd35074=_0x347d27([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]),_0x5fffbd=0x3dffc4e1,_0x53a2c2=0x3df8b011^_0x5fffbd,_0x5c3e99=window[_0x347d27([0x44,0x61,0x74,0x65])][_0x347d27([0x6e,0x6f,0x77])](),_0x38a2e4=_0x58d37c[_0x347d27([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59669c=new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b607=>{_0x38a2e4[_0x347d27([0x6f,0x6e,0x63,0x65])](_0x347d27([0x72,0x65,0x61,0x64,0x79]),_0x31b607);}),_0x13c23a={[_0x347d27([0x6b,0x74,0x79])]:_0x347d27([0x45,0x43]),[_0x347d27([0x75,0x73,0x65])]:_0x347d27([0x73,0x69,0x67]),[_0x347d27([0x63,0x72,0x76])]:_0x347d27([0x50,0x2d,0x32,0x35,0x36]),[_0x347d27([0x78])]:_0x347d27([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]),[_0x347d27([0x79])]:_0x347d27([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]),[_0x347d27([0x61,0x6c,0x67])]:_0x347d27([0x45,0x53,0x32,0x35,0x36])},_0x12736d=_0x38a2e4[_0x347d27([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x347d27([0x67,0x65,0x74])](_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x305276(){let _0x6c39e7,_0x567d48=null,_0x1a9189=null;try{if(_0x12736d==_0x347d27([0x47,0x50,0x4c]))return _0x347d27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6c39e7=_0x1a447a(),!_0x6c39e7)return _0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6c39e7[_0x347d27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a9189=_0x19dfad(_0x6c39e7[_0x347d27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6c39e7[_0x347d27([0x6a,0x74,0x69])])),await _0x27472d()?_0x13d0a5()?_0x2c67bb()?_0x347d27([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x246493()?(_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x347d27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567d48=_0x4ef2a9(_0x347d27([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x347d27([0x74,0x72,0x69,0x61,0x6c])&&(_0x567d48=_0x4ef2a9(_0x347d27([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e4199()):_0x347d27([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x347d27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c67bb(){const _0x2b3043=[_0x347d27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x347d27([0x74,0x72,0x69,0x61,0x6c])][_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c3e99/0x3e8:0xe10*_0x53a2c2;return _0x6c39e7[_0x347d27([0x65,0x78,0x70])]<_0x2b3043;}function _0x13d0a5(){const _0x4d9b9e=_0x6c39e7[_0x347d27([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d9b9e&&(!!_0x4d9b9e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x2a]))||!!_0x4d9b9e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x41,0x49])));}function _0x246493(){const _0x59606e=_0x37d0,_0x3beb7e=_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3beb7e||0x0==_0x3beb7e[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35b247}=new URL(window[_0x347d27([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59606e(0x178)]);if(_0x3beb7e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b247))return!0x0;const _0x247a44=_0x35b247[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e]));return _0x3beb7e[_0x347d27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e8fa=>_0x47e8fa[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x2a])))[_0x347d27([0x6d,0x61,0x70])](_0x334765=>_0x334765[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e])))[_0x347d27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7e81ce=>_0x7e81ce[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x247a44[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x347d27([0x6d,0x61,0x70])](_0x439933=>Array(_0x247a44[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x439933[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x347d27([0x66,0x69,0x6c,0x6c])](_0x439933[0x0]===_0x347d27([0x2a])?_0x347d27([0x2a]):'')[_0x347d27([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x439933))[_0x347d27([0x73,0x6f,0x6d,0x65])](_0x473e3e=>_0x247a44[_0x347d27([0x65,0x76,0x65,0x72,0x79])]((_0x30627c,_0x23957b)=>_0x473e3e[_0x23957b]===_0x30627c||_0x473e3e[_0x23957b]===_0x347d27([0x2a])));}function _0x5e4199(){return _0x567d48&&_0x1a9189?new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433687,_0x4d92a6)=>{_0x567d48[_0x347d27([0x74,0x68,0x65,0x6e])](_0x433687,_0x4d92a6),_0x1a9189[_0x347d27([0x74,0x68,0x65,0x6e])](_0x44d9d2=>{_0x44d9d2!=_0x347d27([0x56,0x61,0x6c,0x69,0x64])&&_0x433687(_0x44d9d2);},_0x4d92a6);}):_0x567d48||_0x1a9189||_0x347d27([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19dfad(_0x7630ac,_0x2ec91c){return new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49d52e=>{if(_0x16eac0())return _0x49d52e(_0x347d27([0x56,0x61,0x6c,0x69,0x64]));_0x36029f(),_0x38a2e4[_0x347d27([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x485294=!0x1;const _0x41d016=_0x333fbb();function _0x3436b9(_0x3ec449){return!!_0x3ec449&&(typeof _0x3ec449===_0x347d27([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ec449===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ec449[_0x347d27([0x74,0x68,0x65,0x6e])]===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ec449[_0x347d27([0x63,0x61,0x74,0x63,0x68])]===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d0eb4(_0x1f4c7d){_0x23e222(_0x1f4c7d)[_0x347d27([0x74,0x68,0x65,0x6e])](_0x3768dd=>{if(!_0x3768dd||_0x3768dd[_0x347d27([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x347d27([0x6f,0x6b]))return _0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1166ca(_0x527e58(_0x41d016+_0x2ec91c))!=_0x3768dd[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x347d27([0x56,0x61,0x6c,0x69,0x64]);})[_0x347d27([0x74,0x68,0x65,0x6e])](_0x1f5af9=>(_0x1144ed(),_0x1f5af9),()=>{const _0x198773=_0x51bc2b();return null==_0x198773?(_0x1144ed(),_0x347d27([0x56,0x61,0x6c,0x69,0x64])):_0x347d27(_0x5c3e99-_0x198773>(0x19f340e1^_0x5fffbd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x347d27([0x74,0x68,0x65,0x6e])](_0x49d52e)[_0x347d27([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b856d=0x3dc92a61^_0x5fffbd;function _0x1144ed(){const _0x399dd4=_0x347d27([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166ca(_0x527e58(_0x7630ac)),_0x3c57e1=_0x2b17a9(_0x1166ca(window[_0x347d27([0x4d,0x61,0x74,0x68])][_0x347d27([0x63,0x65,0x69,0x6c])](_0x5c3e99/_0x2b856d)));window[_0x347d27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x347d27([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x399dd4,_0x3c57e1);}function _0x51bc2b(){const _0x2f39e6=_0x347d27([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166ca(_0x527e58(_0x7630ac)),_0x2c2535=window[_0x347d27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x347d27([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f39e6);return _0x2c2535?window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b17a9(_0x2c2535),0x10)*_0x2b856d:null;}function _0x23e222(_0x18b535){return new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23b588,_0x179c25)=>{_0x18b535[_0x347d27([0x74,0x68,0x65,0x6e])](_0x23b588,_0x179c25),window[_0x347d27([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x179c25,0x3dfe1021^_0x5fffbd);});}}_0x38a2e4[_0x347d27([0x6f,0x6e])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3de7b6,_0x11deac)=>{if(_0x11deac[0x0]!=_0x7630ac)return _0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11deac[0x1]={..._0x11deac[0x1],[_0x347d27([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41d016};},{[_0x347d27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x347d27([0x68,0x69,0x67,0x68])}),_0x38a2e4[_0x347d27([0x6f,0x6e])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49deb7=>{_0x3436b9(_0x49deb7[_0x347d27([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x485294=!0x0,_0x2d0eb4(_0x49deb7[_0x347d27([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x347d27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x347d27([0x6c,0x6f,0x77])}),_0x59669c[_0x347d27([0x74,0x68,0x65,0x6e])](()=>{_0x485294||_0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16eac0(){return _0x38a2e4[_0x347d27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x347d27([0x76,0x69,0x65,0x77])][_0x347d27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x347d27([0x61,0x75,0x74,0x6f]);}function _0x36029f(){_0x38a2e4[_0x347d27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x347d27([0x76,0x69,0x65,0x77])][_0x347d27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x347d27([0x61,0x75,0x74,0x6f]);}}function _0x4ef2a9(_0x3fac77){const _0x2d786f=[new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbd96bc=>setTimeout(_0xbd96bc,0x3df6fa2d^_0x5fffbd)),_0x59669c[_0x347d27([0x74,0x68,0x65,0x6e])](()=>new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4624a8=>{let _0x49a707=0x0;_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x6f,0x6e])](_0x347d27([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148756,_0x4dd12d)=>{_0x4dd12d[0x0][_0x347d27([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49a707++,_0x49a707==(0x3dffc519^_0x5fffbd)&&(_0x4624a8(),_0x148756[_0x347d27([0x6f,0x66,0x66])]());});}))];return window[_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x347d27([0x72,0x61,0x63,0x65])](_0x2d786f)[_0x347d27([0x74,0x68,0x65,0x6e])](()=>_0x3fac77);}async function _0x4005d2(){await _0x59669c,_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54f682,_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54f682,_0x38a2e4[_0x347d27([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x347d27([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58a8cb(_0x1bee6c){const _0xf4bb68=_0x23f400();_0x38a2e4[_0xf4bb68]=_0x347d27([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bee6c,_0x1bee6c!=_0x347d27([0x56,0x61,0x6c,0x69,0x64])&&_0x4005d2();}function _0x23f400(){const _0x3f6195=window[_0x347d27([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x347d27([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x347d27([0x6e,0x6f,0x77])]())[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x347d27([0x2e]),'');let _0x47d7f6=_0x347d27([0x6e]);for(let _0x409e1c=0x0;_0x409e1c<_0x3f6195[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x409e1c+=0x2){let _0x4369ff=window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f6195[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x409e1c,_0x409e1c+0x2));_0x4369ff>=_0xd35074[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4369ff-=_0xd35074[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47d7f6+=_0xd35074[_0x4369ff];}return _0x47d7f6;}function _0x1a447a(){const _0x359c93=_0x12736d[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e]));if(0x3!=_0x359c93[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c6075(_0x359c93[0x1]);function _0x1c6075(_0x2ef557){const _0x55094a=_0x546430(_0x2ef557);return _0x55094a&&_0x14f246()?_0x55094a:null;function _0x14f246(){const _0x14c05f=_0x55094a[_0x347d27([0x6a,0x74,0x69])],_0x1bfdf5=window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14c05f[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14c05f[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12abbb={..._0x55094a,[_0x347d27([0x6a,0x74,0x69])]:_0x14c05f[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14c05f[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12abbb[_0x347d27([0x76,0x63])],_0x527e58(_0x12abbb)==_0x1bfdf5;}}}async function _0x27472d(){let _0x4fee71=!0x0;try{const _0x491d42=_0x12736d[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e])),[_0x2ff257,_0x478518,_0x226616]=_0x491d42;return _0x18c9b8(_0x2ff257),await _0x31a8df(_0x2ff257,_0x478518,_0x226616),_0x4fee71;}catch{return!0x1;}function _0x18c9b8(_0x2e39da){const _0x262c1a=_0x546430(_0x2e39da);_0x262c1a&&_0x262c1a[_0x347d27([0x61,0x6c,0x67])]==_0x347d27([0x45,0x53,0x32,0x35,0x36])||(_0x4fee71=!0x1);}async function _0x31a8df(_0x502c84,_0x55be71,_0x5650f5){const _0x504633=window[_0x347d27([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x347d27([0x66,0x72,0x6f,0x6d])](_0x265b41(_0x5650f5),_0x126731=>_0x126731[_0x347d27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x480111=new window[(_0x347d27([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x347d27([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x502c84+_0x347d27([0x2e])+_0x55be71),_0x3295ea=window[_0x347d27([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x347d27([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3295ea)return;const _0x206b27=await _0x3295ea[_0x347d27([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x347d27([0x6a,0x77,0x6b]),_0x13c23a,{[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x45,0x43,0x44,0x53,0x41]),[_0x347d27([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x347d27([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3295ea[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x45,0x43,0x44,0x53,0x41]),[_0x347d27([0x68,0x61,0x73,0x68])]:{[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x206b27,_0x504633,_0x480111)||(_0x4fee71=!0x1);}}function _0x546430(_0x3e8083){return _0x3e8083[_0x347d27([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x347d27([0x65,0x79]))?JSON[_0x347d27([0x70,0x61,0x72,0x73,0x65])](_0x265b41(_0x3e8083)):null;}function _0x265b41(_0x4e10ae){return window[_0x347d27([0x61,0x74,0x6f,0x62])](_0x4e10ae[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x347d27([0x2b]))[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x347d27([0x2f])));}function _0x527e58(_0x433e6c){let _0x136fe8=0x1505;function _0x59b911(_0x5d620b){for(let _0x168a32=0x0;_0x168a32<_0x5d620b[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x168a32++){const _0x31af52=_0x5d620b[_0x347d27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x168a32);_0x136fe8=(_0x136fe8<<0x5)+_0x136fe8+_0x31af52,_0x136fe8&=_0x136fe8;}}function _0x5b1679(_0x5c653f){Array[_0x347d27([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c653f)?_0x5c653f[_0x347d27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b1679):_0x5c653f&&typeof _0x5c653f==_0x347d27([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x347d27([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c653f)[_0x347d27([0x73,0x6f,0x72,0x74])]()[_0x347d27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xca1c46,_0x279845])=>{_0x59b911(_0xca1c46),_0x5b1679(_0x279845);}):_0x59b911(window[_0x347d27([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c653f));}return _0x5b1679(_0x433e6c),_0x136fe8>>>0x0;}function _0x1166ca(_0x51fe64){return _0x51fe64[_0x347d27([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x347d27([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x347d27([0x30]));}function _0x2b17a9(_0x2ffbb1){return _0x2ffbb1[_0x347d27([0x73,0x70,0x6c,0x69,0x74])]('')[_0x347d27([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x347d27([0x6a,0x6f,0x69,0x6e])]('');}function _0x54f682(){}function _0x347d27(_0x35a95f){const _0x37ee45=_0x37d0;return _0x35a95f[_0x37ee45(0x15c)](_0x379b09=>String[_0x37ee45(0x147)](_0x379b09))[_0x37ee45(0x152)]('');}_0x58a8cb(await _0x305276());}(this);}[_0x231f8c(0x141)](){const _0x11049d=_0x231f8c,_0xadeb96=this[_0x11049d(0x11c)][_0x11049d(0x128)];_0xadeb96[_0x11049d(0x16f)](_0x4ec796=>{const _0x14d404=_0x11049d,_0x4ee9c4=_0xadeb96[_0x14d404(0x13d)][_0x14d404(0x17b)][_0x14d404(0x12c)]();let _0x26bbb=0x0;for(const _0x4b5fb8 of _0x4ee9c4){const _0x5974ff=b+':'+_0x26bbb;if(_0xadeb96[_0x14d404(0x12a)][_0x14d404(0x153)](_0x5974ff))_0x4ec796[_0x14d404(0x161)](_0x5974ff,{'range':_0x4b5fb8});else{if(_0x4b5fb8[_0x14d404(0x13c)][_0x14d404(0x124)]){const _0x4faab5=_0x4b5fb8[_0x14d404(0x13c)][_0x14d404(0x130)](({item:_0x43f728})=>!_0xadeb96[_0x14d404(0x13b)][_0x14d404(0x145)](_0x43f728),{'boundaries':_0x4b5fb8});_0x4ec796[_0x14d404(0x140)](_0x5974ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ec796[_0x14d404(0x144)](_0x4faab5,_0x4b5fb8[_0x14d404(0x149)])});}else _0x4ec796[_0x14d404(0x140)](_0x5974ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b5fb8});}_0x26bbb++;}});}[_0x231f8c(0x14e)](){const _0x1fb442=_0x231f8c,_0x12ef9a=this[_0x1fb442(0x11c)][_0x1fb442(0x128)],_0x57719f=Array[_0x1fb442(0x164)](this[_0x1fb442(0x11c)][_0x1fb442(0x128)][_0x1fb442(0x12a)][_0x1fb442(0x16a)](b));_0x57719f[_0x1fb442(0x142)]&&_0x12ef9a[_0x1fb442(0x16f)](_0x3b8e8a=>{const _0x1a6c01=_0x1fb442;_0x57719f[_0x1a6c01(0x115)](_0x2ac5=>{const _0x590292=_0x1a6c01;_0x3b8e8a[_0x590292(0x122)](_0x2ac5);});});}[_0x231f8c(0x129)](_0x9251ea,_0x42cb42){const _0x24afb7=_0x231f8c,_0x54e1ee=this[_0x24afb7(0x169)](),_0x575b88=_0x42cb42||_0x54e1ee[_0x24afb7(0x118)]();this[_0x24afb7(0x11c)][_0x24afb7(0x128)][_0x24afb7(0x125)](_0x575b88)&&this[_0x24afb7(0x11c)][_0x24afb7(0x128)][_0x24afb7(0x16f)](_0x5beaad=>{const _0x535306=_0x24afb7;this[_0x535306(0x14e)](),_0x42cb42||this[_0x535306(0x132)](_0x5beaad,_0x54e1ee),this[_0x535306(0x170)]({'insertAt':_0x575b88,'writer':_0x5beaad,'html':_0x9251ea});});}[_0x231f8c(0x126)](_0x142913){const _0x5ac3eb=_0x231f8c,{model:_0x59f28c}=this[_0x5ac3eb(0x11c)],_0x17099a=this[_0x5ac3eb(0x169)]();_0x59f28c[_0x5ac3eb(0x16f)](()=>{const _0x990374=_0x5ac3eb,_0x34e465=this[_0x990374(0x12b)](_0x142913,_0x17099a)||this[_0x990374(0x133)](_0x17099a);this[_0x990374(0x129)](_0x142913,_0x34e465);});}[_0x231f8c(0x169)](){const _0x4027a2=_0x231f8c,_0x24bf02=this[_0x4027a2(0x11c)][_0x4027a2(0x128)],_0x10c139=Array[_0x4027a2(0x164)](_0x24bf02[_0x4027a2(0x12a)][_0x4027a2(0x16a)](b))[_0x4027a2(0x15c)](_0x424bb8=>_0x424bb8[_0x4027a2(0x117)]());return _0x24bf02[_0x4027a2(0x154)](_0x10c139);}[_0x231f8c(0x170)]({writer:_0x4b188f,html:_0x2e35cb,insertAt:_0x65ccd3}){const _0x5ca30c=_0x231f8c,{view:_0x4fc07a}=this[_0x5ca30c(0x11c)][_0x5ca30c(0x16b)],_0x50fb8c=this[_0x5ca30c(0x11c)][_0x5ca30c(0x172)][_0x5ca30c(0x148)](_0x38dd16),_0x8dad65=new y();_0x8dad65[_0x5ca30c(0x112)](_0x5ca30c(0x17e),_0x2e35cb);const _0x442e57=new ClipboardEvent(_0x5ca30c(0x121),{'clipboardData':_0x8dad65}),_0x40c6b1=new _0x566b33(_0x4fc07a,_0x442e57,{'dataTransfer':new _0x1ccf42(_0x8dad65)});_0x4b188f[_0x5ca30c(0x114)](_0x65ccd3);const _0x3736cc=(_0x4fa554,_0x105954)=>{const _0x2a8ab2=_0x5ca30c;_0x105954[_0x2a8ab2(0x16e)]&&_0x4b188f[_0x2a8ab2(0x114)](_0x105954[_0x2a8ab2(0x16e)]);};_0x50fb8c[_0x5ca30c(0x15b)](_0x5ca30c(0x11f),_0x3736cc,{'priority':_0x5ca30c(0x17c)}),_0x4fc07a[_0x5ca30c(0x13d)][_0x5ca30c(0x162)](_0x5ca30c(0x121),_0x40c6b1),_0x50fb8c[_0x5ca30c(0x151)](_0x5ca30c(0x11f),_0x3736cc);}[_0x231f8c(0x133)](_0x228b7b){const _0x3efdd1=_0x231f8c,{model:_0x1f1ec7}=this[_0x3efdd1(0x11c)],_0x38f943=Array[_0x3efdd1(0x164)](_0x228b7b[_0x3efdd1(0x11a)]());return _0x38f943[_0x3efdd1(0x142)]?_0x1f1ec7[_0x3efdd1(0x146)](_0x38f943[_0x3efdd1(0x150)]()):_0x228b7b[_0x3efdd1(0x17f)]();}[_0x231f8c(0x12b)](_0x5e48a5,_0x293adc){const _0x4f197c=_0x231f8c,{model:_0x14e86e,plugins:_0x3506a4}=this[_0x4f197c(0x11c)];if(_0x3506a4[_0x4f197c(0x153)](_0x4f197c(0x143))){const _0x8d75b9=_0x3506a4[_0x4f197c(0x148)](_0x4f197c(0x143))[_0x4f197c(0x14d)](_0x293adc);if(_0x8d75b9[_0x4f197c(0x142)]){const _0x5d67fc=this[_0x4f197c(0x12f)](_0x5e48a5),_0x4bf809=this[_0x4f197c(0x119)](_0x8d75b9,_0x5d67fc);return _0x14e86e[_0x4f197c(0x157)](_0x4bf809,0x0);}}return null;}[_0x231f8c(0x12f)](_0x5bc71e){const _0x4700c1=_0x231f8c,_0x5a4006=this[_0x4700c1(0x11c)][_0x4700c1(0x172)][_0x4700c1(0x148)](_0x4700c1(0x143)),_0x15df8d=this[_0x4700c1(0x11c)][_0x4700c1(0x15a)][_0x4700c1(0x14a)](_0x5bc71e),_0x3216bd=Array[_0x4700c1(0x164)](_0x15df8d[_0x4700c1(0x168)]())[_0x4700c1(0x17a)](_0x2a3359=>_0x2a3359['is'](_0x4700c1(0x160),_0x4700c1(0x15e)));let _0x2cb80e=0x0;return _0x3216bd[_0x4700c1(0x115)](_0x2aae4b=>{const _0x516c13=_0x4700c1;_0x2cb80e+=_0x5a4006[_0x516c13(0x13f)](_0x2aae4b);}),_0x2cb80e;}[_0x231f8c(0x119)](_0x396142,_0x3475f3){const _0x17aa91=_0x231f8c,_0x39751b=this[_0x17aa91(0x11c)][_0x17aa91(0x172)][_0x17aa91(0x148)](_0x17aa91(0x143)),_0x210c16=_0x39751b[_0x17aa91(0x13a)](_0x396142),_0x1219e6=_0x39751b[_0x17aa91(0x13e)](_0x396142),_0x4e3f61=_0x210c16[_0x17aa91(0x179)]+0x1,_0x375026=_0x1219e6[_0x17aa91(0x137)],_0x2f0648=_0x396142[0x0][_0x17aa91(0x12e)](_0x17aa91(0x15e));for(let _0x525193=0x0;_0x525193<_0x3475f3;_0x525193++)_0x39751b[_0x17aa91(0x175)](_0x2f0648,{'at':_0x4e3f61});return _0x2f0648[_0x17aa91(0x15f)](_0x4e3f61)[_0x17aa91(0x15f)](_0x375026);}[_0x231f8c(0x132)](_0x1cef33,_0xd7949f){const _0x583193=_0x231f8c,{plugins:_0x2826bf}=this[_0x583193(0x11c)],{model:_0x4986cd}=_0x1cef33;if(!_0x2826bf[_0x583193(0x153)](_0x583193(0x143)))return;_0x2826bf[_0x583193(0x148)](_0x583193(0x143))[_0x583193(0x14d)](_0xd7949f)[_0x583193(0x142)]&&_0x4986cd[_0x583193(0x134)](_0xd7949f);}}
|
|
23
|
+
const _0x4c036d=_0x3015;function _0x3015(_0x2cefcd,_0x8b3deb){const _0x5240cf=_0x5240();return _0x3015=function(_0x30155c,_0x3cd48c){_0x30155c=_0x30155c-0x190;let _0x5a0ef7=_0x5240cf[_0x30155c];return _0x5a0ef7;},_0x3015(_0x2cefcd,_0x8b3deb);}(function(_0x57b248,_0x4ff97a){const _0x17790d=_0x3015,_0x4479fa=_0x57b248();while(!![]){try{const _0x53f195=parseInt(_0x17790d(0x1e0))/0x1+-parseInt(_0x17790d(0x1c8))/0x2+parseInt(_0x17790d(0x1ca))/0x3*(-parseInt(_0x17790d(0x1f0))/0x4)+-parseInt(_0x17790d(0x1fb))/0x5+-parseInt(_0x17790d(0x1d0))/0x6*(parseInt(_0x17790d(0x193))/0x7)+parseInt(_0x17790d(0x1a0))/0x8*(parseInt(_0x17790d(0x1e1))/0x9)+parseInt(_0x17790d(0x1c2))/0xa;if(_0x53f195===_0x4ff97a)break;else _0x4479fa['push'](_0x4479fa['shift']());}catch(_0x45e63a){_0x4479fa['push'](_0x4479fa['shift']());}}}(_0x5240,0xe7d39));import{uid as _0x876c22}from'ckeditor5/src/utils.js';import{Plugin as _0x417339}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3c165e}from'ckeditor5/src/clipboard.js';function _0x5240(){const _0x23fa0f=['_getAISelection','schema','last','getLastMatchingPosition','editor','isContent','off','addClass','1830758XZVaWz','207isyFjJ','has','addMarker','getMarkersGroup','href','pluginName','markers','editingDowncast','updateMarker','markerRange','removeMarker','_createEmptyTableRows','markerToHighlight','parse','showFakeVisualSelection','20ksDcij','paste','AIAssistantEditing','isAtEnd','markerToElement','_getDefaultInsertBelowPosition','ck-fake-ai-selection','isPremiumPlugin','getFirstRange','ai-ui','model','7500580rNOOCa','pop','createSelection','ck-fake-ai-selection_collapsed','length','getRowIndexes','6839JSKYNw','insertRows','selection','setData','getRange','createUIElement','conversion','table','fire','text/html','insertContent','createRange','ck-ai-assistant-ui_theme','345296pTEjAA','getRows','init','lowest','get','setSelection','_pasteHTMLUsingClipboard','join','first','from','hideFakeVisualSelection','fromCharCode','isCollapsed','createPositionAt','for','start','_resetContentOfSelectedTableCells','plugins','TableUtils','contentInsertion','getSelectedTableCells','insertContentBelow','once','_prepareTableInsertBelowPosition','element','change','span','isOfficialPlugin','getChildren','getColumnIndexes','end','data','getRanges','DataTransfer','8361860xMGmvm','_getTableRowCountFromContent','forEach','canEditAt','map','resultRange','408658puWLZl','getLastPosition','288609cBbEFy','config','editing','getChild','document','deleteContent','3222ijQZGp','ai.assistant.useTheme','createPositionAfter','findAncestor','filter','push','getSelectedBlocks','afterInit'];_0x5240=function(){return _0x23fa0f;};return _0x5240();}import{ViewDocumentDomEventData as _0x1ac7ca,ViewDataTransfer as _0x281024}from'ckeditor5/src/engine.js';const w=globalThis[_0x4c036d(0x1c1)],f=_0x4c036d(0x1f9);export class AIAssistantEditing extends _0x417339{static get[_0x4c036d(0x1e6)](){const _0x4c93f8=_0x4c036d;return _0x4c93f8(0x1f2);}static get[_0x4c036d(0x1bb)](){return!0x0;}static get[_0x4c036d(0x1f7)](){return!0x0;}[_0x4c036d(0x1a2)](){const _0x2383e5=_0x4c036d,{editor:_0x45862d}=this,_0x12bc6a=[_0x2383e5(0x1f6)];_0x45862d[_0x2383e5(0x1cb)][_0x2383e5(0x1a4)](_0x2383e5(0x1d1))&&_0x12bc6a[_0x2383e5(0x1d5)](_0x2383e5(0x19f)),_0x45862d[_0x2383e5(0x199)][_0x2383e5(0x1ae)](_0x2383e5(0x1e8))[_0x2383e5(0x1ed)]({'model':f,'view':{'classes':_0x12bc6a,'priority':0xc}}),_0x45862d[_0x2383e5(0x199)][_0x2383e5(0x1ae)](_0x2383e5(0x1e8))[_0x2383e5(0x1f4)]({'model':f,'view':(_0x5852da,{writer:_0x5f2e4d})=>{const _0x5a757d=_0x2383e5;if(!_0x5852da[_0x5a757d(0x1ea)][_0x5a757d(0x1ac)])return null;const _0x1d59c1=_0x5f2e4d[_0x5a757d(0x198)](_0x5a757d(0x1ba));return _0x5f2e4d[_0x5a757d(0x1df)]([_0x5a757d(0x1f6),_0x5a757d(0x190)],_0x1d59c1),_0x1d59c1;}});}[_0x4c036d(0x1d7)](){!async function(_0x5eea20){const _0x4caba8=_0x2d8568([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]),_0x5e4dfa=0x3dffc4e1,_0x4d9115=0x3df8b2a1^_0x5e4dfa,_0x16d752=window[_0x2d8568([0x44,0x61,0x74,0x65])][_0x2d8568([0x6e,0x6f,0x77])](),_0x5a797a=_0x5eea20[_0x2d8568([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xced08a=new window[(_0x2d8568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c15f2=>{_0x5a797a[_0x2d8568([0x6f,0x6e,0x63,0x65])](_0x2d8568([0x72,0x65,0x61,0x64,0x79]),_0x4c15f2);}),_0x145ba6={[_0x2d8568([0x6b,0x74,0x79])]:_0x2d8568([0x45,0x43]),[_0x2d8568([0x75,0x73,0x65])]:_0x2d8568([0x73,0x69,0x67]),[_0x2d8568([0x63,0x72,0x76])]:_0x2d8568([0x50,0x2d,0x32,0x35,0x36]),[_0x2d8568([0x78])]:_0x2d8568([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]),[_0x2d8568([0x79])]:_0x2d8568([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]),[_0x2d8568([0x61,0x6c,0x67])]:_0x2d8568([0x45,0x53,0x32,0x35,0x36])},_0x52d2d1=_0x5a797a[_0x2d8568([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d8568([0x67,0x65,0x74])](_0x2d8568([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2194df(){let _0x1042fa,_0x48d4cf=null,_0x191f41=null;try{if(_0x52d2d1==_0x2d8568([0x47,0x50,0x4c]))return _0x2d8568([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1042fa=_0x333175(),!_0x1042fa)return _0x2d8568([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1042fa[_0x2d8568([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x191f41=_0x22d9d3(_0x1042fa[_0x2d8568([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1042fa[_0x2d8568([0x6a,0x74,0x69])])),await _0x562287()?_0x3e7b40()?_0x365cb2()?_0x2d8568([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e9921()?(_0x1042fa[_0x2d8568([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d8568([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48d4cf=_0x394478(_0x2d8568([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1042fa[_0x2d8568([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d8568([0x74,0x72,0x69,0x61,0x6c])&&(_0x48d4cf=_0x394478(_0x2d8568([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xeec905()):_0x2d8568([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d8568([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d8568([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d8568([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x365cb2(){const _0x29ccbe=[_0x2d8568([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d8568([0x74,0x72,0x69,0x61,0x6c])][_0x2d8568([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1042fa[_0x2d8568([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16d752/0x3e8:0xe10*_0x4d9115;return _0x1042fa[_0x2d8568([0x65,0x78,0x70])]<_0x29ccbe;}function _0x3e7b40(){const _0x5e8504=_0x1042fa[_0x2d8568([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e8504&&(!!_0x5e8504[_0x2d8568([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d8568([0x2a]))||!!_0x5e8504[_0x2d8568([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d8568([0x41,0x49])));}function _0x1e9921(){const _0x1ef426=_0x3015,_0x10f812=_0x1042fa[_0x2d8568([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10f812||0x0==_0x10f812[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c8cf7}=new URL(window[_0x2d8568([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ef426(0x1e5)]);if(_0x10f812[_0x2d8568([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8cf7))return!0x0;const _0x987936=_0x5c8cf7[_0x2d8568([0x73,0x70,0x6c,0x69,0x74])](_0x2d8568([0x2e]));return _0x10f812[_0x2d8568([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41fe86=>_0x41fe86[_0x2d8568([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d8568([0x2a])))[_0x2d8568([0x6d,0x61,0x70])](_0x43bf5e=>_0x43bf5e[_0x2d8568([0x73,0x70,0x6c,0x69,0x74])](_0x2d8568([0x2e])))[_0x2d8568([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14cc87=>_0x14cc87[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x987936[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d8568([0x6d,0x61,0x70])](_0x35ebd2=>Array(_0x987936[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35ebd2[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d8568([0x66,0x69,0x6c,0x6c])](_0x35ebd2[0x0]===_0x2d8568([0x2a])?_0x2d8568([0x2a]):'')[_0x2d8568([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35ebd2))[_0x2d8568([0x73,0x6f,0x6d,0x65])](_0x4bd18e=>_0x987936[_0x2d8568([0x65,0x76,0x65,0x72,0x79])]((_0x3b932e,_0x2a78c6)=>_0x4bd18e[_0x2a78c6]===_0x3b932e||_0x4bd18e[_0x2a78c6]===_0x2d8568([0x2a])));}function _0xeec905(){return _0x48d4cf&&_0x191f41?new window[(_0x2d8568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10fcc3,_0x24249a)=>{_0x48d4cf[_0x2d8568([0x74,0x68,0x65,0x6e])](_0x10fcc3,_0x24249a),_0x191f41[_0x2d8568([0x74,0x68,0x65,0x6e])](_0x1816b0=>{_0x1816b0!=_0x2d8568([0x56,0x61,0x6c,0x69,0x64])&&_0x10fcc3(_0x1816b0);},_0x24249a);}):_0x48d4cf||_0x191f41||_0x2d8568([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22d9d3(_0x68ef80,_0x5f2707){return new window[(_0x2d8568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18c6c9=>{if(_0x118408())return _0x18c6c9(_0x2d8568([0x56,0x61,0x6c,0x69,0x64]));_0x1592d0(),_0x5a797a[_0x2d8568([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d8568([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x445066=!0x1;const _0x11e73f=_0x876c22();function _0x54eb91(_0x491581){return!!_0x491581&&(typeof _0x491581===_0x2d8568([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x491581===_0x2d8568([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x491581[_0x2d8568([0x74,0x68,0x65,0x6e])]===_0x2d8568([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x491581[_0x2d8568([0x63,0x61,0x74,0x63,0x68])]===_0x2d8568([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x447e6c(_0x47315c){_0x3f507f(_0x47315c)[_0x2d8568([0x74,0x68,0x65,0x6e])](_0x1bc054=>{if(!_0x1bc054||_0x1bc054[_0x2d8568([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d8568([0x6f,0x6b]))return _0x2d8568([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2003c8(_0x5b1336(_0x11e73f+_0x5f2707))!=_0x1bc054[_0x2d8568([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d8568([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d8568([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d8568([0x74,0x68,0x65,0x6e])](_0x41f127=>(_0x24fec6(),_0x41f127),()=>{const _0x4a4b0c=_0x10b0aa();return null==_0x4a4b0c?(_0x24fec6(),_0x2d8568([0x56,0x61,0x6c,0x69,0x64])):_0x2d8568(_0x16d752-_0x4a4b0c>(0x19f340e1^_0x5e4dfa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d8568([0x74,0x68,0x65,0x6e])](_0x18c6c9)[_0x2d8568([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18c6c9(_0x2d8568([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f7eff=0x3dc92a61^_0x5e4dfa;function _0x24fec6(){const _0xcb5200=_0x2d8568([0x6c,0x6c,0x63,0x74,0x2d])+_0x2003c8(_0x5b1336(_0x68ef80)),_0x3e934d=_0x460607(_0x2003c8(window[_0x2d8568([0x4d,0x61,0x74,0x68])][_0x2d8568([0x63,0x65,0x69,0x6c])](_0x16d752/_0x1f7eff)));window[_0x2d8568([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d8568([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcb5200,_0x3e934d);}function _0x10b0aa(){const _0x18bd18=_0x2d8568([0x6c,0x6c,0x63,0x74,0x2d])+_0x2003c8(_0x5b1336(_0x68ef80)),_0x22a831=window[_0x2d8568([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d8568([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18bd18);return _0x22a831?window[_0x2d8568([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x460607(_0x22a831),0x10)*_0x1f7eff:null;}function _0x3f507f(_0x5a1122){return new window[(_0x2d8568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa26624,_0x361368)=>{_0x5a1122[_0x2d8568([0x74,0x68,0x65,0x6e])](_0xa26624,_0x361368),window[_0x2d8568([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x361368,0x3dfe1021^_0x5e4dfa);});}}_0x5a797a[_0x2d8568([0x6f,0x6e])](_0x2d8568([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ee1bc,_0x3a9e2f)=>{if(_0x3a9e2f[0x0]!=_0x68ef80)return _0x18c6c9(_0x2d8568([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a9e2f[0x1]={..._0x3a9e2f[0x1],[_0x2d8568([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11e73f};},{[_0x2d8568([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d8568([0x68,0x69,0x67,0x68])}),_0x5a797a[_0x2d8568([0x6f,0x6e])](_0x2d8568([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cf3e9=>{_0x54eb91(_0x2cf3e9[_0x2d8568([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x445066=!0x0,_0x447e6c(_0x2cf3e9[_0x2d8568([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d8568([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d8568([0x6c,0x6f,0x77])}),_0xced08a[_0x2d8568([0x74,0x68,0x65,0x6e])](()=>{_0x445066||_0x18c6c9(_0x2d8568([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x118408(){return _0x5a797a[_0x2d8568([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d8568([0x76,0x69,0x65,0x77])][_0x2d8568([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d8568([0x61,0x75,0x74,0x6f]);}function _0x1592d0(){_0x5a797a[_0x2d8568([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d8568([0x76,0x69,0x65,0x77])][_0x2d8568([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d8568([0x61,0x75,0x74,0x6f]);}}function _0x394478(_0x6f6629){const _0x5b2487=[new window[(_0x2d8568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4942=>setTimeout(_0x2a4942,0x3df6fa2d^_0x5e4dfa)),_0xced08a[_0x2d8568([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d8568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50a7a2=>{let _0xeb6898=0x0;_0x5a797a[_0x2d8568([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d8568([0x6f,0x6e])](_0x2d8568([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23b530,_0x17d936)=>{_0x17d936[0x0][_0x2d8568([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xeb6898++,_0xeb6898==(0x3dffc519^_0x5e4dfa)&&(_0x50a7a2(),_0x23b530[_0x2d8568([0x6f,0x66,0x66])]());});}))];return window[_0x2d8568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d8568([0x72,0x61,0x63,0x65])](_0x5b2487)[_0x2d8568([0x74,0x68,0x65,0x6e])](()=>_0x6f6629);}async function _0xa2afe6(){await _0xced08a,_0x5a797a[_0x2d8568([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d8568([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17f874,_0x5a797a[_0x2d8568([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d8568([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17f874,_0x5a797a[_0x2d8568([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d8568([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x180c6f(_0x59f80a){const _0x1da19c=_0x511b11();_0x5a797a[_0x1da19c]=_0x2d8568([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59f80a,_0x59f80a!=_0x2d8568([0x56,0x61,0x6c,0x69,0x64])&&_0xa2afe6();}function _0x511b11(){const _0x4e518d=window[_0x2d8568([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d8568([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d8568([0x6e,0x6f,0x77])]())[_0x2d8568([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d8568([0x2e]),'');let _0x5b8544=_0x2d8568([0x6e]);for(let _0x519906=0x0;_0x519906<_0x4e518d[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x519906+=0x2){let _0x5332aa=window[_0x2d8568([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e518d[_0x2d8568([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x519906,_0x519906+0x2));_0x5332aa>=_0x4caba8[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5332aa-=_0x4caba8[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b8544+=_0x4caba8[_0x5332aa];}return _0x5b8544;}function _0x333175(){const _0x5de126=_0x52d2d1[_0x2d8568([0x73,0x70,0x6c,0x69,0x74])](_0x2d8568([0x2e]));if(0x3!=_0x5de126[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x238350(_0x5de126[0x1]);function _0x238350(_0x5989a1){const _0x59c25e=_0x5d69d5(_0x5989a1);return _0x59c25e&&_0x92ac06()?_0x59c25e:null;function _0x92ac06(){const _0x39b5ed=_0x59c25e[_0x2d8568([0x6a,0x74,0x69])],_0x3a9155=window[_0x2d8568([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39b5ed[_0x2d8568([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39b5ed[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x496697={..._0x59c25e,[_0x2d8568([0x6a,0x74,0x69])]:_0x39b5ed[_0x2d8568([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39b5ed[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x496697[_0x2d8568([0x76,0x63])],_0x5b1336(_0x496697)==_0x3a9155;}}}async function _0x562287(){let _0x90d3d4=!0x0;try{const _0x1302fc=_0x52d2d1[_0x2d8568([0x73,0x70,0x6c,0x69,0x74])](_0x2d8568([0x2e])),[_0x14e2b4,_0x15b9ea,_0x1e4e30]=_0x1302fc;return _0x143b21(_0x14e2b4),await _0x1b22d5(_0x14e2b4,_0x15b9ea,_0x1e4e30),_0x90d3d4;}catch{return!0x1;}function _0x143b21(_0x4b478d){const _0x230caa=_0x5d69d5(_0x4b478d);_0x230caa&&_0x230caa[_0x2d8568([0x61,0x6c,0x67])]==_0x2d8568([0x45,0x53,0x32,0x35,0x36])||(_0x90d3d4=!0x1);}async function _0x1b22d5(_0x12d311,_0x403558,_0x1a3a15){const _0x213980=window[_0x2d8568([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d8568([0x66,0x72,0x6f,0x6d])](_0x3ade02(_0x1a3a15),_0x32fc95=>_0x32fc95[_0x2d8568([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51e959=new window[(_0x2d8568([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d8568([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12d311+_0x2d8568([0x2e])+_0x403558),_0x5820a7=window[_0x2d8568([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d8568([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5820a7)return;const _0x26a1b2=await _0x5820a7[_0x2d8568([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d8568([0x6a,0x77,0x6b]),_0x145ba6,{[_0x2d8568([0x6e,0x61,0x6d,0x65])]:_0x2d8568([0x45,0x43,0x44,0x53,0x41]),[_0x2d8568([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d8568([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d8568([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5820a7[_0x2d8568([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d8568([0x6e,0x61,0x6d,0x65])]:_0x2d8568([0x45,0x43,0x44,0x53,0x41]),[_0x2d8568([0x68,0x61,0x73,0x68])]:{[_0x2d8568([0x6e,0x61,0x6d,0x65])]:_0x2d8568([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x26a1b2,_0x213980,_0x51e959)||(_0x90d3d4=!0x1);}}function _0x5d69d5(_0x569b75){return _0x569b75[_0x2d8568([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d8568([0x65,0x79]))?JSON[_0x2d8568([0x70,0x61,0x72,0x73,0x65])](_0x3ade02(_0x569b75)):null;}function _0x3ade02(_0xa79eb2){return window[_0x2d8568([0x61,0x74,0x6f,0x62])](_0xa79eb2[_0x2d8568([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d8568([0x2b]))[_0x2d8568([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d8568([0x2f])));}function _0x5b1336(_0x33b5cb){let _0x1eccb3=0x1505;function _0x5d824b(_0x37f918){for(let _0x5f8f7c=0x0;_0x5f8f7c<_0x37f918[_0x2d8568([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f8f7c++){const _0x540cf1=_0x37f918[_0x2d8568([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f8f7c);_0x1eccb3=(_0x1eccb3<<0x5)+_0x1eccb3+_0x540cf1,_0x1eccb3&=_0x1eccb3;}}function _0x1e653a(_0xd23e3a){Array[_0x2d8568([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd23e3a)?_0xd23e3a[_0x2d8568([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e653a):_0xd23e3a&&typeof _0xd23e3a==_0x2d8568([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d8568([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd23e3a)[_0x2d8568([0x73,0x6f,0x72,0x74])]()[_0x2d8568([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbfd17f,_0x4913f7])=>{_0x5d824b(_0xbfd17f),_0x1e653a(_0x4913f7);}):_0x5d824b(window[_0x2d8568([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd23e3a));}return _0x1e653a(_0x33b5cb),_0x1eccb3>>>0x0;}function _0x2003c8(_0x4c96ca){return _0x4c96ca[_0x2d8568([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d8568([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d8568([0x30]));}function _0x460607(_0x46acc4){return _0x46acc4[_0x2d8568([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d8568([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d8568([0x6a,0x6f,0x69,0x6e])]('');}function _0x17f874(){}function _0x2d8568(_0x24603f){const _0x252da1=_0x3015;return _0x24603f[_0x252da1(0x1c6)](_0x1359ef=>String[_0x252da1(0x1ab)](_0x1359ef))[_0x252da1(0x1a7)]('');}_0x180c6f(await _0x2194df());}(this);}[_0x4c036d(0x1ef)](){const _0x41da97=_0x4c036d,_0x92743e=this[_0x41da97(0x1dc)][_0x41da97(0x1fa)];_0x92743e[_0x41da97(0x1b9)](_0x43ad9e=>{const _0x56e0af=_0x41da97,_0x53178e=_0x92743e[_0x56e0af(0x1ce)][_0x56e0af(0x195)][_0x56e0af(0x1c0)]();let _0x4b425c=0x0;for(const _0x565f8f of _0x53178e){const _0x294345=f+':'+_0x4b425c;if(_0x92743e[_0x56e0af(0x1e7)][_0x56e0af(0x1e2)](_0x294345))_0x43ad9e[_0x56e0af(0x1e9)](_0x294345,{'range':_0x565f8f});else{if(_0x565f8f[_0x56e0af(0x1af)][_0x56e0af(0x1f3)]){const _0x5b04c4=_0x565f8f[_0x56e0af(0x1af)][_0x56e0af(0x1db)](({item:_0x4d551c})=>!_0x92743e[_0x56e0af(0x1d9)][_0x56e0af(0x1dd)](_0x4d551c),{'boundaries':_0x565f8f});_0x43ad9e[_0x56e0af(0x1e3)](_0x294345,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x43ad9e[_0x56e0af(0x19e)](_0x5b04c4,_0x565f8f[_0x56e0af(0x1be)])});}else _0x43ad9e[_0x56e0af(0x1e3)](_0x294345,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x565f8f});}_0x4b425c++;}});}[_0x4c036d(0x1aa)](){const _0xd50a47=_0x4c036d,_0xdbda2f=this[_0xd50a47(0x1dc)][_0xd50a47(0x1fa)],_0x228fb5=Array[_0xd50a47(0x1a9)](this[_0xd50a47(0x1dc)][_0xd50a47(0x1fa)][_0xd50a47(0x1e7)][_0xd50a47(0x1e4)](f));_0x228fb5[_0xd50a47(0x191)]&&_0xdbda2f[_0xd50a47(0x1b9)](_0x3af9d4=>{const _0x1fb4ee=_0xd50a47;_0x228fb5[_0x1fb4ee(0x1c4)](_0x7581a7=>{const _0x258140=_0x1fb4ee;_0x3af9d4[_0x258140(0x1eb)](_0x7581a7);});});}[_0x4c036d(0x19d)](_0x1abc42,_0x991cd5){const _0x20a942=_0x4c036d,_0x1c5495=this[_0x20a942(0x1d8)](),_0x2d5dac=_0x991cd5||_0x1c5495[_0x20a942(0x1f8)]();this[_0x20a942(0x1dc)][_0x20a942(0x1fa)][_0x20a942(0x1c5)](_0x2d5dac)&&this[_0x20a942(0x1dc)][_0x20a942(0x1fa)][_0x20a942(0x1b9)](_0x2d2c04=>{const _0x4aa0c5=_0x20a942;this[_0x4aa0c5(0x1aa)](),_0x991cd5||this[_0x4aa0c5(0x1b0)](_0x2d2c04,_0x1c5495),this[_0x4aa0c5(0x1a6)]({'insertAt':_0x2d5dac,'writer':_0x2d2c04,'html':_0x1abc42});});}[_0x4c036d(0x1b5)](_0x5d10fe){const _0x1318c1=_0x4c036d,{model:_0x159530}=this[_0x1318c1(0x1dc)],_0x26d62a=this[_0x1318c1(0x1d8)]();_0x159530[_0x1318c1(0x1b9)](()=>{const _0x392b9b=_0x1318c1,_0x4e1eb1=this[_0x392b9b(0x1b7)](_0x5d10fe,_0x26d62a)||this[_0x392b9b(0x1f5)](_0x26d62a);this[_0x392b9b(0x19d)](_0x5d10fe,_0x4e1eb1);});}[_0x4c036d(0x1d8)](){const _0x403e49=_0x4c036d,_0xfdb9ca=this[_0x403e49(0x1dc)][_0x403e49(0x1fa)],_0x37a240=Array[_0x403e49(0x1a9)](_0xfdb9ca[_0x403e49(0x1e7)][_0x403e49(0x1e4)](f))[_0x403e49(0x1c6)](_0x2f020b=>_0x2f020b[_0x403e49(0x197)]());return _0xfdb9ca[_0x403e49(0x1fd)](_0x37a240);}[_0x4c036d(0x1a6)]({writer:_0x1cf144,html:_0x4d3720,insertAt:_0x529417}){const _0x296311=_0x4c036d,{view:_0x2e5f34}=this[_0x296311(0x1dc)][_0x296311(0x1cc)],_0x1bdcdb=this[_0x296311(0x1dc)][_0x296311(0x1b1)][_0x296311(0x1a4)](_0x3c165e),_0x3e1d8b=new w();_0x3e1d8b[_0x296311(0x196)](_0x296311(0x19c),_0x4d3720);const _0xf8b7e8=new ClipboardEvent(_0x296311(0x1f1),{'clipboardData':_0x3e1d8b}),_0x40d802=new _0x1ac7ca(_0x2e5f34,_0xf8b7e8,{'dataTransfer':new _0x281024(_0x3e1d8b)});_0x1cf144[_0x296311(0x1a5)](_0x529417);const _0x1d6ee6=(_0x237e81,_0x1952cc)=>{const _0x4212d3=_0x296311;_0x1952cc[_0x4212d3(0x1c7)]&&_0x1cf144[_0x4212d3(0x1a5)](_0x1952cc[_0x4212d3(0x1c7)]);};_0x1bdcdb[_0x296311(0x1b6)](_0x296311(0x1b3),_0x1d6ee6,{'priority':_0x296311(0x1a3)}),_0x2e5f34[_0x296311(0x1ce)][_0x296311(0x19b)](_0x296311(0x1f1),_0x40d802),_0x1bdcdb[_0x296311(0x1de)](_0x296311(0x1b3),_0x1d6ee6);}[_0x4c036d(0x1f5)](_0x197983){const _0x532d09=_0x4c036d,{model:_0x5d456e}=this[_0x532d09(0x1dc)],_0x53948e=Array[_0x532d09(0x1a9)](_0x197983[_0x532d09(0x1d6)]());return _0x53948e[_0x532d09(0x191)]?_0x5d456e[_0x532d09(0x1d2)](_0x53948e[_0x532d09(0x1fc)]()):_0x197983[_0x532d09(0x1c9)]();}[_0x4c036d(0x1b7)](_0x29e8d8,_0x53da7b){const _0x32193e=_0x4c036d,{model:_0x25ec4c,plugins:_0x25edd3}=this[_0x32193e(0x1dc)];if(_0x25edd3[_0x32193e(0x1e2)](_0x32193e(0x1b2))){const _0x37115f=_0x25edd3[_0x32193e(0x1a4)](_0x32193e(0x1b2))[_0x32193e(0x1b4)](_0x53da7b);if(_0x37115f[_0x32193e(0x191)]){const _0x471e69=this[_0x32193e(0x1c3)](_0x29e8d8),_0x4bcbf9=this[_0x32193e(0x1ec)](_0x37115f,_0x471e69);return _0x25ec4c[_0x32193e(0x1ad)](_0x4bcbf9,0x0);}}return null;}[_0x4c036d(0x1c3)](_0xc394b7){const _0x54acde=_0x4c036d,_0x2281b1=this[_0x54acde(0x1dc)][_0x54acde(0x1b1)][_0x54acde(0x1a4)](_0x54acde(0x1b2)),_0x6e4dc6=this[_0x54acde(0x1dc)][_0x54acde(0x1bf)][_0x54acde(0x1ee)](_0xc394b7),_0x406b03=Array[_0x54acde(0x1a9)](_0x6e4dc6[_0x54acde(0x1bc)]())[_0x54acde(0x1d4)](_0x570574=>_0x570574['is'](_0x54acde(0x1b8),_0x54acde(0x19a)));let _0x135445=0x0;return _0x406b03[_0x54acde(0x1c4)](_0x5ba080=>{const _0x5f2539=_0x54acde;_0x135445+=_0x2281b1[_0x5f2539(0x1a1)](_0x5ba080);}),_0x135445;}[_0x4c036d(0x1ec)](_0x4f97e9,_0x3e70b8){const _0x5bae6f=_0x4c036d,_0x1bdb85=this[_0x5bae6f(0x1dc)][_0x5bae6f(0x1b1)][_0x5bae6f(0x1a4)](_0x5bae6f(0x1b2)),_0x21a77f=_0x1bdb85[_0x5bae6f(0x192)](_0x4f97e9),_0x398244=_0x1bdb85[_0x5bae6f(0x1bd)](_0x4f97e9),_0x2d2cd0=_0x21a77f[_0x5bae6f(0x1da)]+0x1,_0x4638ac=_0x398244[_0x5bae6f(0x1a8)],_0x52cdc1=_0x4f97e9[0x0][_0x5bae6f(0x1d3)](_0x5bae6f(0x19a));for(let _0x1d8827=0x0;_0x1d8827<_0x3e70b8;_0x1d8827++)_0x1bdb85[_0x5bae6f(0x194)](_0x52cdc1,{'at':_0x2d2cd0});return _0x52cdc1[_0x5bae6f(0x1cd)](_0x2d2cd0)[_0x5bae6f(0x1cd)](_0x4638ac);}[_0x4c036d(0x1b0)](_0xb442fe,_0x290b47){const _0x5821ea=_0x4c036d,{plugins:_0x100e95}=this[_0x5821ea(0x1dc)],{model:_0x194696}=_0xb442fe;if(!_0x100e95[_0x5821ea(0x1e2)](_0x5821ea(0x1b2)))return;_0x100e95[_0x5821ea(0x1a4)](_0x5821ea(0x1b2))[_0x5821ea(0x1b4)](_0x290b47)[_0x5821ea(0x191)]&&_0x194696[_0x5821ea(0x1cf)](_0x290b47);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4fc260=_0x554b;(function(_0x2fa468,_0x5272dd){const _0x2bb5e7=_0x554b,_0x4a0376=_0x2fa468();while(!![]){try{const _0x15d98a=-parseInt(_0x2bb5e7(0xe1))/0x1*(parseInt(_0x2bb5e7(0x10b))/0x2)+parseInt(_0x2bb5e7(0xee))/0x3+parseInt(_0x2bb5e7(0xb6))/0x4+parseInt(_0x2bb5e7(0xbd))/0x5+parseInt(_0x2bb5e7(0xb7))/0x6+parseInt(_0x2bb5e7(0xac))/0x7*(-parseInt(_0x2bb5e7(0xd0))/0x8)+-parseInt(_0x2bb5e7(0x120))/0x9*(parseInt(_0x2bb5e7(0xbb))/0xa);if(_0x15d98a===_0x5272dd)break;else _0x4a0376['push'](_0x4a0376['shift']());}catch(_0x1e5ef0){_0x4a0376['push'](_0x4a0376['shift']());}}}(_0x3c24,0xbce02));function _0x3c24(){const _0x27336b=['wasMoved','set','AI\x20is\x20writing','includes','ai.assistant.useTheme','aiLicenseKeyExpired','updatePosition','replace','_createAIAssistantUIButton','599HIdYPG','_aiAdapter','<p>','filter','change:isProcessing','groupLabel','buttons','componentFactory','aiLicenseKeyTrialLimit','insertContent','command:','media','ck-ai-commands-dropdown\x20','465969FIZHzZ','groupId','ai.assistant.contentAreaCssClass','evaluationLimit','</p>','requires','from','values','requiresContent','_onExecute','aiLicenseKeyEvaluationLimit','focus','render','rawHtml','change:enabledCommandsIds','execute','isOn','ai.assistant.disabledElements','AIAssistantUI','_dialog','_showLicenseError','isFlat','addMany','AI\x20Commands','usageLimit','destroy','AIAssistant','getSelectedBlocks','_populateMenuBarMenu','502spIvcr','items','DataTransfer','\x20ck-ai-assistant-ui_theme','length','isEnabled','delegate','_getMenuBarGroupButtons','listenTo','aiCommands','prompt','Error\x20during\x20AI\x20content\x20generation:\x20%0','expired','selection','_getResolvedCommandsDefinitions','queryView','text','invalid','add','menuBar:aiCommands','getSelectedElement','27NiIQmQ','isOfficialPlugin','config','_uiCssClasses','isPremiumPlugin','once','currentContext','Generated\x20content:\x20%0','domainLimit','label','view','updateView','announce','promptView','update','change:value','textAdapter','contentArea','ck-ai-assistant-ui','document','editing','showAIAssistant','show','licenseKey','errorView','menuPanelClass','aiAssistant','children','forEach','menuView','_aiAssistantController','comment','model','INSERT','ai-commands-config-order-collision','featureNotAllowed','bind','getRanges','ck-ai-assistant-button\x20','editor','aiLicenseKeyInvalid','_forceMarkersCopy','trim','tableOfContents','hideUI','push','setSelection','commands','copy','define','_initView','init','custom','schema','menuBar:aiAssistant','getLimitElement','pluginName','source','EDITOR_TOP_SIDE','REPLACE','7703171WYAFHl','change:isError','body','aiLicenseKeyUsageLimit','aiLicenseKeyValid','panelView','sort','locale','_formView','polite','3688696iclzgX','5569800xpqHSf','buttonView','order','_commandDefinitions','155970Lxgsco','plugins','327150tdIFYn','isCollapsed','reset','_initAriaAiStatusChangeAnnouncements','getData','showFakeVisualSelection','aiLicenseKeyDomainLimit','text/html','replaceContent','insertContentBelow','AI\x20Assistant','fieldView','trialLimit','hideFakeVisualSelection','map','_licenseKeyCheckInterval','change','hide','showUI','8sxOwcy','menuitemcheckbox','aiLicenseKeyNotAllowed','ai.assistant.commands','splice','fire','get','enabledCommandsIds'];_0x3c24=function(){return _0x27336b;};return _0x3c24();}import{Plugin as _0x215bb6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3b6e5f,IconRobotPencil as _0x330c00}from'ckeditor5/src/icons.js';import{first as _0x268d70,CKEditorError as _0x43ac4a}from'ckeditor5/src/utils.js';import{createDropdown as _0x2d6c3b,addMenuToDropdown as _0xcb81fb,ButtonView as _0x1b95e6,MenuBarMenuListItemButtonView as _0x50462a,Dialog as _0x516c3e,DialogViewPosition as _0x28a7c7,MenuBarMenuView as _0x37c10b,MenuBarMenuListView as _0x27ccfd,MenuBarMenuListItemView as _0x39dd39}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x33c588,UNGROUPED_COMMANDS_GROUP_ID as _0x261017}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x571b40}from'./aiassistantediting.js';import{AIAdapter as _0x4b1a3a}from'./adapters/aiadapter.js';import{getTranslation as _0x5dda3e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xfab1a0}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x963771}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x23ca95}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2e6075}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const y=globalThis[_0x4fc260(0x10d)];import{ClipboardMarkersUtils as _0x260b1f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x15da48,ViewDataTransfer as _0x138208}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x215bb6{[_0x4fc260(0x137)];[_0x4fc260(0xcc)];[_0x4fc260(0x101)];[_0x4fc260(0xb4)];[_0x4fc260(0xe2)];[_0x4fc260(0x13e)];[_0x4fc260(0x123)]='';static get[_0x4fc260(0xa8)](){const _0x52a049=_0x4fc260;return _0x52a049(0x100);}static get[_0x4fc260(0x121)](){return!0x0;}static get[_0x4fc260(0x124)](){return!0x0;}static get[_0x4fc260(0xf3)](){return[_0x260b1f,_0x571b40,_0x4b1a3a,_0x516c3e];}constructor(_0x442624){const _0x2059a6=_0x4fc260;super(_0x442624),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xff),[_0x2059a6(0xec),_0x2059a6(0xfb),_0x2059a6(0x9b)]),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xf0),''),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xdc),!0x0),this[_0x2059a6(0x123)]=_0x2059a6(0x132)+(_0x442624[_0x2059a6(0x122)][_0x2059a6(0xd6)](_0x2059a6(0xdc))?_0x2059a6(0x10e):'');}[_0x4fc260(0xa3)](){const _0x230b3a=_0x4fc260,{editor:_0x54719d}=this;this[_0x230b3a(0xe2)]=_0x54719d[_0x230b3a(0xbc)][_0x230b3a(0xd6)](_0x4b1a3a),this[_0x230b3a(0x101)]=_0x54719d[_0x230b3a(0xbc)][_0x230b3a(0xd6)](_0x516c3e),this[_0x230b3a(0xb4)]=null,this[_0x230b3a(0xba)]=this[_0x230b3a(0x119)]();const _0x24f887=new _0xfab1a0(_0x54719d,Array[_0x230b3a(0xf4)](this[_0x230b3a(0xba)][_0x230b3a(0xf5)]()));_0x54719d[_0x230b3a(0x9f)][_0x230b3a(0x11d)](_0x230b3a(0x135),_0x24f887),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x114),_0x37349e=>{const _0x46ea8d=_0x230b3a,_0x563a9a=_0x2d6c3b(_0x37349e);return _0x563a9a[_0x46ea8d(0xd9)]({'class':_0x46ea8d(0xed)+this[_0x46ea8d(0x123)]}),_0x563a9a[_0x46ea8d(0xb8)][_0x46ea8d(0xd9)]({'label':_0x5dda3e(_0x37349e,_0x46ea8d(0x105)),'icon':_0x3b6e5f,'tooltip':!0x0}),_0x563a9a['on'](_0x46ea8d(0xfd),_0x1d5a79=>this[_0x46ea8d(0xf7)](_0x1d5a79[_0x46ea8d(0xa9)]['id'])),_0xcb81fb(_0x563a9a,_0x54719d['ui'][_0x46ea8d(0x12a)][_0x46ea8d(0xae)],function(_0x575b75){const _0x36ba2a=_0x46ea8d,_0x51e6da=_0x33c588(_0x575b75[_0x36ba2a(0x122)][_0x36ba2a(0xd6)](_0x36ba2a(0xd3)),_0x575b75[_0x36ba2a(0xb3)]),_0x478506=O(_0x575b75,_0x51e6da)[_0x36ba2a(0xe4)](_0x4b80f4=>_0x4b80f4[_0x36ba2a(0x9f)][_0x36ba2a(0x10f)]);if(0x1===_0x478506[_0x36ba2a(0x10f)])return O(_0x575b75,_0x478506[0x0][_0x36ba2a(0x9f)])[_0x36ba2a(0xcb)](_0x3a3d73=>({'id':_0x3a3d73['id'],'label':_0x3a3d73[_0x36ba2a(0x129)]}));return _0x478506[_0x36ba2a(0xcb)](_0x1721a0=>{const _0x2f47ce=_0x36ba2a,{groupId:_0x1cf5ac,groupLabel:_0xe7525c,commands:_0xe9344d}=_0x1721a0,_0x42c96=O(_0x575b75,_0xe9344d)[_0x2f47ce(0xcb)](_0x2b8f68=>({'id':_0x2b8f68['id'],'label':_0x2b8f68[_0x2f47ce(0x129)]}));return{'id':_0x1cf5ac,'menu':_0xe7525c||_0x1cf5ac,'children':_0x42c96};});}(_0x54719d),{'ariaLabel':_0x5dda3e(_0x37349e,_0x46ea8d(0x105))}),_0x563a9a[_0x46ea8d(0x13d)][_0x46ea8d(0x139)]=_0x46ea8d(0xed)+this[_0x46ea8d(0x123)],_0x24f887['on'](_0x46ea8d(0xfc),_0x43d04d),_0x563a9a[_0x46ea8d(0x13d)][_0x46ea8d(0x125)](_0x46ea8d(0xfa),_0x43d04d),_0x563a9a;function _0x43d04d(){const _0x148943=_0x46ea8d;_0x563a9a[_0x148943(0x110)]=_0x24f887[_0x148943(0xd7)][_0x148943(0x10f)]>0x0;for(const _0x5f53ba of _0x563a9a[_0x148943(0x13d)][_0x148943(0xe7)])_0x5f53ba[_0x148943(0x110)]=_0x24f887[_0x148943(0xd7)][_0x148943(0xdb)](_0x5f53ba['id']);}}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x11e),_0x56082b=>{const _0x71aff2=_0x230b3a,_0x4e86ca=new _0x37c10b(_0x56082b);_0x4e86ca[_0x71aff2(0xb8)][_0x71aff2(0xd9)]({'label':_0x5dda3e(_0x56082b,_0x71aff2(0x105)),'icon':_0x3b6e5f}),_0x4e86ca[_0x71aff2(0x144)](_0x71aff2(0x110))['to'](_0x24f887,_0x71aff2(0xd7),_0x50ae56=>_0x50ae56[_0x71aff2(0x10f)]>0x0);const _0x2333fd=_0x33c588(_0x54719d[_0x71aff2(0x122)][_0x71aff2(0xd6)](_0x71aff2(0xd3)),_0x56082b);return this[_0x71aff2(0x10a)](_0x24f887,_0x4e86ca,_0x2333fd,_0x97f9e2=>this[_0x71aff2(0xf7)](_0x97f9e2)),_0x4e86ca;}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x13a),()=>{const _0x2174c9=_0x230b3a,_0xa89a33=this[_0x2174c9(0xe0)](_0x1b95e6);return _0xa89a33[_0x2174c9(0xd9)]({'tooltip':!0x0,'class':_0x2174c9(0x146)+this[_0x2174c9(0x123)]}),_0xa89a33;}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0xa6),()=>{const _0x657b10=_0x230b3a,_0x146c8f=this[_0x657b10(0xe0)](_0x50462a);return _0x146c8f[_0x657b10(0xd9)]({'role':_0x657b10(0xd1)}),_0x146c8f;}),this[_0x230b3a(0x137)]=this[_0x230b3a(0x97)][_0x230b3a(0x122)][_0x230b3a(0xd6)](_0x230b3a(0x137));const _0x5e0cca=this[_0x230b3a(0x97)];this[_0x230b3a(0xcc)]=setInterval(()=>{const _0x33f550=_0x230b3a;let _0x5f5b5e;for(const _0x5593be in _0x5e0cca){const _0x17d1ca=_0x5593be,_0x7bbc5c=_0x5e0cca[_0x17d1ca];if(_0x33f550(0xb0)==_0x7bbc5c||_0x33f550(0x98)==_0x7bbc5c||_0x33f550(0xdd)==_0x7bbc5c||_0x33f550(0xc3)==_0x7bbc5c||_0x33f550(0xd2)==_0x7bbc5c||_0x33f550(0xf8)==_0x7bbc5c||_0x33f550(0xe9)==_0x7bbc5c||_0x33f550(0xaf)==_0x7bbc5c){delete _0x5e0cca[_0x17d1ca],_0x5f5b5e=_0x7bbc5c,clearInterval(this[_0x33f550(0xcc)]),this[_0x33f550(0xcc)]=void 0x0;break;}}_0x33f550(0x98)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x11c)),_0x33f550(0xdd)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x117)),_0x33f550(0xc3)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x128)),_0x33f550(0xd2)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x143),_0x33f550(0x108)),_0x33f550(0xf8)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0xf1)),_0x33f550(0xe9)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0xc9)),_0x33f550(0xaf)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x106));},0x3e8);}[_0x4fc260(0x107)](){const _0x478363=_0x4fc260;super[_0x478363(0x107)](),this[_0x478363(0xcc)]&&clearInterval(this[_0x478363(0xcc)]);}[_0x4fc260(0xcf)](_0x4ace33='',_0x28ee91='',_0x505dc8=_0x4fc260(0xa4)){const _0x4a13f9=_0x4fc260,_0x19fd3a=this[_0x4a13f9(0x97)],_0x579a41=_0x19fd3a[_0x4a13f9(0x134)][_0x4a13f9(0x12a)],_0x31edff=_0x19fd3a[_0x4a13f9(0xbc)][_0x4a13f9(0xd6)](_0x571b40),_0x30a70d=_0x19fd3a[_0x4a13f9(0xbc)][_0x4a13f9(0xd6)](_0x260b1f);_0x31edff[_0x4a13f9(0xc2)]();const _0x4b28f7=new y(),_0x584164=new ClipboardEvent(_0x4a13f9(0xa0),{'clipboardData':_0x4b28f7}),_0x302f6e=new _0x138208(_0x4b28f7),_0xa59ea7=new _0x15da48(_0x579a41,_0x584164,{'dataTransfer':_0x302f6e});_0x30a70d[_0x4a13f9(0x99)](_0x4a13f9(0x13f),()=>{const _0xf2fa3d=_0x4a13f9;_0x579a41[_0xf2fa3d(0x133)][_0xf2fa3d(0xd5)](_0xf2fa3d(0xa0),_0xa59ea7);}),this[_0x4a13f9(0xb4)]||(this[_0x4a13f9(0xa2)](),this[_0x4a13f9(0x13e)]=new _0x963771(_0x19fd3a,this[_0x4a13f9(0xe2)][_0x4a13f9(0x130)],this[_0x4a13f9(0xb4)]));let _0x4cb01f=_0x302f6e[_0x4a13f9(0xc1)](_0x4a13f9(0xc4));const _0x825789=_0x19fd3a[_0x4a13f9(0x140)][_0x4a13f9(0x133)][_0x4a13f9(0x118)],_0x505962=Array[_0x4a13f9(0xf4)](_0x825789[_0x4a13f9(0x145)]());0x1===_0x505962[_0x4a13f9(0x10f)]&&_0x505962[0x0][_0x4a13f9(0x103)]&&!_0x825789[_0x4a13f9(0x11f)]()&&''!==_0x4cb01f[_0x4a13f9(0xdf)](/ /g,'')[_0x4a13f9(0x9a)]()&&(_0x4cb01f=_0x4a13f9(0xe3)+_0x4cb01f+_0x4a13f9(0xf2)),this[_0x4a13f9(0x13e)][_0x4a13f9(0x12b)]({'actionId':_0x505dc8,'query':_0x4ace33,'htmlContent':_0x4cb01f,'label':_0x28ee91,'mainActionLabel':_0x2e6075[_0x19fd3a[_0x4a13f9(0x140)][_0x4a13f9(0x133)][_0x4a13f9(0x118)][_0x4a13f9(0xbe)]?_0x4a13f9(0x141):_0x4a13f9(0xab)]}),_0x4a13f9(0x13a)!==this[_0x4a13f9(0x101)]['id']?this[_0x4a13f9(0x101)][_0x4a13f9(0x136)]({'id':_0x4a13f9(0x13a),'icon':_0x330c00,'title':_0x5dda3e(this[_0x4a13f9(0x97)][_0x4a13f9(0xb3)],_0x4a13f9(0xc7)),'content':this[_0x4a13f9(0xb4)],'position':_0x28a7c7[_0x4a13f9(0xaa)],'onShow':()=>{const _0x46da7a=_0x4a13f9;this[_0x46da7a(0xb4)][_0x46da7a(0xf9)]();},'onHide':()=>{const _0x596fc8=_0x4a13f9;this[_0x596fc8(0x13e)][_0x596fc8(0xbf)](),_0x31edff[_0x596fc8(0xca)]();}}):this[_0x4a13f9(0x101)][_0x4a13f9(0x12a)][_0x4a13f9(0xd8)]||this[_0x4a13f9(0x101)][_0x4a13f9(0x12a)][_0x4a13f9(0xde)]();}[_0x4fc260(0x9c)](){const _0x298f8d=_0x4fc260;this[_0x298f8d(0x101)][_0x298f8d(0xce)]();}[_0x4fc260(0x119)](){const _0x2b8d00=_0x4fc260,_0xb6ee35=new Map(),_0x4c6812=_0x33c588(this[_0x2b8d00(0x97)][_0x2b8d00(0x122)][_0x2b8d00(0xd6)](_0x2b8d00(0xd3)),this[_0x2b8d00(0x97)][_0x2b8d00(0xb3)]);for(const _0x2a2054 of _0x4c6812)for(const _0x8fa8ad of _0x2a2054[_0x2b8d00(0x9f)])_0xb6ee35[_0x2b8d00(0xd9)](_0x8fa8ad['id'],{..._0x8fa8ad,'groupId':_0x2a2054[_0x2b8d00(0xef)],'groupLabel':_0x2a2054[_0x2b8d00(0xe6)]||_0x2a2054[_0x2b8d00(0xef)]});return _0xb6ee35;}[_0x4fc260(0xe0)](_0x404500){const _0x30565c=_0x4fc260,_0x414f5f=this[_0x30565c(0x97)],_0x877fde=_0x414f5f[_0x30565c(0x9f)][_0x30565c(0xd6)](_0x30565c(0x135)),_0x1c1aba=new _0x404500(_0x414f5f[_0x30565c(0xb3)]);return _0x1c1aba[_0x30565c(0xd9)]({'label':_0x5dda3e(_0x414f5f[_0x30565c(0xb3)],_0x30565c(0xc7)),'icon':_0x330c00,'isToggleable':!0x0}),_0x1c1aba[_0x30565c(0x144)](_0x30565c(0x110))['to'](_0x877fde),_0x1c1aba[_0x30565c(0x144)](_0x30565c(0xfe))['to'](this[_0x30565c(0x101)],'id',_0x9ddb52=>_0x30565c(0x13a)===_0x9ddb52),this[_0x30565c(0x113)](_0x1c1aba,_0x30565c(0xfd),()=>{const _0x51ea83=_0x30565c;_0x1c1aba[_0x51ea83(0xfe)]?this[_0x51ea83(0x9c)]():_0x877fde[_0x51ea83(0xfd)]();}),_0x1c1aba;}[_0x4fc260(0xa2)](){const _0x1c5fa3=_0x4fc260,_0x1cf978=this[_0x1c5fa3(0x97)][_0x1c5fa3(0xbc)][_0x1c5fa3(0xd6)](_0x571b40);this[_0x1c5fa3(0xb4)]=new _0x23ca95(this[_0x1c5fa3(0x97)][_0x1c5fa3(0xb3)],this[_0x1c5fa3(0x123)],this[_0x1c5fa3(0x97)][_0x1c5fa3(0x122)][_0x1c5fa3(0xd6)](_0x1c5fa3(0xf0))),this[_0x1c5fa3(0xb4)]['on'](_0x1c5fa3(0x12f),()=>{const _0x1cd9d8=_0x1c5fa3;this[_0x1cd9d8(0x101)][_0x1cd9d8(0x12a)][_0x1cd9d8(0xd8)]||this[_0x1cd9d8(0x101)][_0x1cd9d8(0x12a)][_0x1cd9d8(0xde)]();}),this[_0x1c5fa3(0xb4)][_0x1c5fa3(0x12d)][_0x1c5fa3(0x11a)][_0x1c5fa3(0xc8)]['on'](_0x1c5fa3(0x12e),()=>{const _0x80fe11=_0x1c5fa3;this[_0x80fe11(0x101)][_0x80fe11(0x12a)][_0x80fe11(0xd8)]||this[_0x80fe11(0x101)][_0x80fe11(0x12a)][_0x80fe11(0xde)]();}),this[_0x1c5fa3(0x113)](this[_0x1c5fa3(0xb4)],_0x1c5fa3(0xc5),()=>{const _0x460262=_0x1c5fa3;_0x1cf978[_0x460262(0xea)](this[_0x460262(0x13e)][_0x460262(0x126)]),this[_0x460262(0x9c)]();}),this[_0x1c5fa3(0x113)](this[_0x1c5fa3(0xb4)],_0x1c5fa3(0xc6),()=>{const _0x88e985=_0x1c5fa3;_0x1cf978[_0x88e985(0xc6)](this[_0x88e985(0x13e)][_0x88e985(0x126)]),this[_0x88e985(0x9c)]();}),this[_0x1c5fa3(0xc0)]();}[_0x4fc260(0xc0)](){const _0x3ec4f7=_0x4fc260,{locale:_0x3c6a5a,ui:{ariaLiveAnnouncer:_0x273fc0}}=this[_0x3ec4f7(0x97)];this[_0x3ec4f7(0xb4)][_0x3ec4f7(0x131)]['on'](_0x3ec4f7(0xe5),(_0x4787e7,_0x2e0e29,_0x350e4b)=>{const _0x27d997=_0x3ec4f7,_0x4da6af=this[_0x27d997(0x13e)][_0x27d997(0x126)];_0x350e4b?_0x273fc0[_0x27d997(0x12c)](_0x5dda3e(_0x3c6a5a,_0x27d997(0xda))):_0x4da6af&&_0x273fc0[_0x27d997(0x12c)](_0x5dda3e(_0x3c6a5a,_0x27d997(0x127),_0x4da6af),{'politeness':_0x27d997(0xb5),'isUnsafeHTML':!0x0});}),this[_0x3ec4f7(0xb4)]['on'](_0x3ec4f7(0xad),(_0xf44d61,_0x44c169,_0x3e3e6f)=>{const _0x305109=_0x3ec4f7;if(_0x3e3e6f){const _0x2102fd=this[_0x305109(0xb4)][_0x305109(0x138)][_0x305109(0x11b)];_0x273fc0[_0x305109(0x12c)](_0x5dda3e(_0x3c6a5a,_0x305109(0x116),_0x2102fd));}});}[_0x4fc260(0xf7)](_0x95ce35){const _0x3c7351=_0x4fc260,_0x31090e=this[_0x3c7351(0xba)][_0x3c7351(0xd6)](_0x95ce35),_0x31121e=this[_0x3c7351(0x97)],_0xccd785=_0x31121e[_0x3c7351(0x140)][_0x3c7351(0x133)][_0x3c7351(0x118)],_0x15dcc5=_0x31121e[_0x3c7351(0x9f)][_0x3c7351(0xd6)](_0x3c7351(0x135)),_0x149074=_0x31121e[_0x3c7351(0xbc)][_0x3c7351(0xd6)](_0x571b40),_0x41ae15=''+(_0x31090e[_0x3c7351(0xef)]!==_0x261017?_0x31090e[_0x3c7351(0xe6)]+':\x20':'')+_0x31090e[_0x3c7351(0x129)];if(!0x1!==_0x31090e[_0x3c7351(0xf6)]&&_0xccd785[_0x3c7351(0xbe)]){const _0x2caf86=_0x268d70(_0xccd785[_0x3c7351(0x109)]())||_0x31121e[_0x3c7351(0x140)][_0x3c7351(0xa5)][_0x3c7351(0xa7)](_0xccd785);_0x31121e[_0x3c7351(0x140)][_0x3c7351(0xcd)](_0xd4f00b=>{const _0x30c072=_0x3c7351;_0xd4f00b[_0x30c072(0x9e)](_0x2caf86,'in');});}_0x149074[_0x3c7351(0xc2)](),_0x15dcc5[_0x3c7351(0xfd)](_0x31090e[_0x3c7351(0x115)],_0x41ae15,_0x3c7351(0xeb)+_0x95ce35);}[_0x4fc260(0x10a)](_0x4439b0,_0x7df29c,_0x13855d,_0x5611a2){const _0x356d9f=_0x4fc260,_0x5d3e30=this[_0x356d9f(0x97)],_0x2eb4d4=_0x5d3e30[_0x356d9f(0xb3)],_0x562b94=new _0x27ccfd(_0x2eb4d4),_0x3a722e=O(_0x5d3e30,_0x13855d)[_0x356d9f(0xe4)](_0x5eb42d=>_0x5eb42d[_0x356d9f(0x9f)][_0x356d9f(0x10f)]);0x1===_0x3a722e[_0x356d9f(0x10f)]?this[_0x356d9f(0x112)]({'command':_0x4439b0,'commands':_0x3a722e[0x0][_0x356d9f(0x9f)],'parentMenuView':_0x7df29c,'onExecute':_0x5611a2})[_0x356d9f(0x13c)](_0x322162=>_0x562b94[_0x356d9f(0x10c)][_0x356d9f(0x11d)](_0x322162)):_0x3a722e[_0x356d9f(0x13c)](({groupId:_0x1d473f,groupLabel:_0x261bc2,commands:_0x52a091})=>{const _0x219358=_0x356d9f,_0x13c1be=new _0x39dd39(_0x2eb4d4,_0x7df29c),_0x4e9b27=new _0x37c10b(_0x2eb4d4),_0x56d765=new _0x27ccfd(_0x2eb4d4),_0xd5880d=this[_0x219358(0x112)]({'command':_0x4439b0,'commands':_0x52a091,'parentMenuView':_0x4e9b27,'onExecute':_0x5611a2});_0x4e9b27[_0x219358(0xb8)][_0x219358(0xd9)]({'label':_0x261bc2||_0x1d473f}),_0x4e9b27[_0x219358(0x111)](_0x219358(0xfd))['to'](_0x7df29c),_0x56d765[_0x219358(0x10c)][_0x219358(0x104)](_0xd5880d),_0x4e9b27[_0x219358(0xb1)][_0x219358(0x13b)][_0x219358(0x11d)](_0x56d765),_0x13c1be[_0x219358(0x13b)][_0x219358(0x11d)](_0x4e9b27),_0x562b94[_0x219358(0x10c)][_0x219358(0x11d)](_0x13c1be);}),_0x7df29c[_0x356d9f(0xb1)][_0x356d9f(0x13b)][_0x356d9f(0x11d)](_0x562b94);}[_0x4fc260(0x112)]({command:_0x1beacb,commands:_0x477021,parentMenuView:_0x5d0811,onExecute:_0x2d702c}){const _0xd450de=_0x4fc260,_0x4a7a75=this[_0xd450de(0x97)],_0x21ad99=_0x4a7a75[_0xd450de(0xb3)];return O(_0x4a7a75,_0x477021)[_0xd450de(0xcb)](_0x5ec005=>{const _0x5ee373=_0xd450de,_0x56ed7e=new _0x39dd39(_0x21ad99,_0x5d0811),_0x1fb777=new _0x50462a(_0x21ad99);return _0x1fb777[_0x5ee373(0xd9)]({'label':_0x5ec005[_0x5ee373(0x129)]}),_0x1fb777[_0x5ee373(0x111)](_0x5ee373(0xfd))['to'](_0x5d0811),_0x1fb777['on'](_0x5ee373(0xfd),()=>_0x2d702c(_0x5ec005['id'])),_0x1fb777[_0x5ee373(0x144)](_0x5ee373(0x110))['to'](_0x1beacb,_0x5ee373(0xd7),_0x31358c=>_0x31358c[_0x5ee373(0xdb)](_0x5ec005['id'])),_0x56ed7e[_0x5ee373(0x13b)][_0x5ee373(0x11d)](_0x1fb777),_0x56ed7e;});}}function _0x554b(_0x45268b,_0xbf99c8){const _0x3c2464=_0x3c24();return _0x554b=function(_0x554bd2,_0x20aee1){_0x554bd2=_0x554bd2-0x97;let _0x2f3157=_0x3c2464[_0x554bd2];return _0x2f3157;},_0x554b(_0x45268b,_0xbf99c8);}function H(_0x118f22,_0x2093d0){const _0x2a1bfe=_0x4fc260;return void 0x0!==_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0===_0x2093d0[_0x2a1bfe(0xb9)]?0x1:void 0x0===_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0!==_0x2093d0[_0x2a1bfe(0xb9)]?-0x1:void 0x0!==_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0!==_0x2093d0[_0x2a1bfe(0xb9)]?_0x118f22[_0x2a1bfe(0xb9)]-_0x2093d0[_0x2a1bfe(0xb9)]:0x0;}function O(_0x593a0c,_0x2ef2c6){const _0x32092a=_0x4fc260;_0x2ef2c6[_0x32092a(0xb2)](H);const _0xd9484e={},_0x3ea6c0=[];for(const _0x4d0e89 of _0x2ef2c6)if(void 0x0!==_0x4d0e89[_0x32092a(0xb9)]){if(_0x4d0e89[_0x32092a(0xb9)]in _0xd9484e)throw new _0x43ac4a(_0x32092a(0x142),_0x593a0c,{'conflictingDefinitions':[_0x4d0e89,_0xd9484e[_0x4d0e89[_0x32092a(0xb9)]]]});_0xd9484e[_0x4d0e89[_0x32092a(0xb9)]]=_0x4d0e89,_0x3ea6c0[_0x32092a(0xd4)](_0x4d0e89[_0x32092a(0xb9)],0x0,_0x4d0e89);}else _0x3ea6c0[_0x32092a(0x9d)](_0x4d0e89);return _0x3ea6c0;}
|
|
23
|
+
const _0x1bd33a=_0x3e67;(function(_0x3c6b26,_0x2ac9fe){const _0x2151d6=_0x3e67,_0x164b5a=_0x3c6b26();while(!![]){try{const _0x430f10=parseInt(_0x2151d6(0x1af))/0x1+parseInt(_0x2151d6(0x1cd))/0x2+-parseInt(_0x2151d6(0x1d1))/0x3*(parseInt(_0x2151d6(0x221))/0x4)+-parseInt(_0x2151d6(0x233))/0x5*(-parseInt(_0x2151d6(0x21c))/0x6)+-parseInt(_0x2151d6(0x1e9))/0x7+parseInt(_0x2151d6(0x1c5))/0x8*(parseInt(_0x2151d6(0x1a4))/0x9)+-parseInt(_0x2151d6(0x1b9))/0xa*(-parseInt(_0x2151d6(0x20e))/0xb);if(_0x430f10===_0x2ac9fe)break;else _0x164b5a['push'](_0x164b5a['shift']());}catch(_0x5dda44){_0x164b5a['push'](_0x164b5a['shift']());}}}(_0xf7bf,0x1e8cf));import{Plugin as _0x4263a3}from'ckeditor5/src/core.js';import{IconMagicWand as _0x42213e,IconRobotPencil as _0x3e058b}from'ckeditor5/src/icons.js';function _0x3e67(_0x3c2850,_0x3f5fce){const _0xf7bf22=_0xf7bf();return _0x3e67=function(_0x3e671e,_0x25d4e9){_0x3e671e=_0x3e671e-0x198;let _0x3b53cb=_0xf7bf22[_0x3e671e];return _0x3b53cb;},_0x3e67(_0x3c2850,_0x3f5fce);}import{first as _0x568eca,CKEditorError as _0x957f46}from'ckeditor5/src/utils.js';import{createDropdown as _0x4c07bc,addMenuToDropdown as _0x426cb6,ButtonView as _0x216923,MenuBarMenuListItemButtonView as _0x3e6101,Dialog as _0x17316b,DialogViewPosition as _0x5cd45d,MenuBarMenuView as _0x30e70c,MenuBarMenuListView as _0x18f764,MenuBarMenuListItemView as _0x44c908}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x241091,UNGROUPED_COMMANDS_GROUP_ID as _0x14fdfe}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x25c7db}from'./aiassistantediting.js';import{AIAdapter as _0x20d478}from'./adapters/aiadapter.js';import{getTranslation as _0x5905c8}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4143e0}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x15774d}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x5b5d59}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x1e6457}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0xf7bf(){const _0x722f26=['push','media','view','1723176UlyNEC','set','schema','showUI','AI\x20Commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','model','enabledCommandsIds','hideFakeVisualSelection','editing','invalid','execute','ck-ai-assistant-ui','render','buttonView','_uiCssClasses','destroy','_getMenuBarGroupButtons','wasMoved','values','editor','focus','comment','change:isProcessing','INSERT','featureNotAllowed','text/html','aiLicenseKeyInvalid','change:enabledCommandsIds','aiCommands','hide','getLimitElement','define','AI\x20is\x20writing','_populateMenuBarMenu','AIAssistantUI','once','2642398GlPTlP','addMany','errorView','map','domainLimit','forEach','announce','commands','promptView','hideUI','ai.assistant.useTheme','aiAssistant','expired','items','450zeBnkP','show','getSelectedElement','ck-ai-assistant-button\x20','menuView','8bxyeRR','groupLabel','isCollapsed','menuPanelClass','componentFactory','_aiAdapter','_initView','replace','update','menuBar:aiCommands','_commandDefinitions','aiLicenseKeyDomainLimit','change','_licenseKeyCheckInterval','groupId','custom','source','locale','8185hkOVPl','isEnabled','aiLicenseKeyUsageLimit','buttons','change:value','panelView','isPremiumPlugin','change:isError','pluginName','config','</p>','licenseKey','usageLimit','document','requires','showAIAssistant','ai.assistant.contentAreaCssClass','contentArea','isFlat','queryView','getSelectedBlocks','_initAriaAiStatusChangeAnnouncements','ai.assistant.disabledElements','_onExecute','_getResolvedCommandsDefinitions','filter','AIAssistant','init','rawHtml','length','updatePosition','aiLicenseKeyValid','AI\x20Assistant','sort','1323JJgWok','trialLimit','fire','ai.assistant.commands','menuBar:aiAssistant','polite','ck-ai-commands-dropdown\x20','DataTransfer','\x20ck-ai-assistant-ui_theme','textAdapter','aiLicenseKeyExpired','15562IDWekx','_dialog','reset','body','delegate','setSelection','aiLicenseKeyEvaluationLimit','from','plugins','bind','10fOJADW','_createAIAssistantUIButton','includes','splice','label','listenTo','insertContentBelow','tableOfContents','fieldView','add','getData','_showLicenseError','5048MGolWm','copy','_aiAssistantController','getRanges','ai-commands-config-order-collision','<p>','currentContext','aiLicenseKeyNotAllowed','21198jEOnvB','_formView','selection','get','165912LwjRCQ','updateView','order','prompt','menuitemcheckbox','aiLicenseKeyTrialLimit','isOn','insertContent','EDITOR_TOP_SIDE','isOfficialPlugin','evaluationLimit','_forceMarkersCopy','replaceContent','trim','text','children','showFakeVisualSelection','command:','REPLACE','Generated\x20content:\x20%0','requiresContent'];_0xf7bf=function(){return _0x722f26;};return _0xf7bf();}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x1bd33a(0x1ab)];import{ClipboardMarkersUtils as _0x3df15b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x104e1a,ViewDataTransfer as _0x682607}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4263a3{[_0x1bd33a(0x23e)];[_0x1bd33a(0x22e)];[_0x1bd33a(0x1b0)];[_0x1bd33a(0x1ce)];[_0x1bd33a(0x226)];[_0x1bd33a(0x1c7)];[_0x1bd33a(0x1f8)]='';static get[_0x1bd33a(0x23b)](){const _0x1a5b22=_0x1bd33a;return _0x1a5b22(0x20c);}static get[_0x1bd33a(0x1da)](){return!0x0;}static get[_0x1bd33a(0x239)](){return!0x0;}static get[_0x1bd33a(0x241)](){return[_0x3df15b,_0x25c7db,_0x20d478,_0x17316b];}constructor(_0x343c59){const _0x3c4d06=_0x1bd33a;super(_0x343c59),_0x343c59[_0x3c4d06(0x23c)][_0x3c4d06(0x209)](_0x3c4d06(0x198),[_0x3c4d06(0x1e7),_0x3c4d06(0x19e),_0x3c4d06(0x1c0)]),_0x343c59[_0x3c4d06(0x23c)][_0x3c4d06(0x209)](_0x3c4d06(0x243),''),_0x343c59[_0x3c4d06(0x23c)][_0x3c4d06(0x209)](_0x3c4d06(0x218),!0x0),this[_0x3c4d06(0x1f8)]=_0x3c4d06(0x1f5)+(_0x343c59[_0x3c4d06(0x23c)][_0x3c4d06(0x1d0)](_0x3c4d06(0x218))?_0x3c4d06(0x1ac):'');}[_0x1bd33a(0x19d)](){const _0x33551e=_0x1bd33a,{editor:_0x1ec62a}=this;this[_0x33551e(0x226)]=_0x1ec62a[_0x33551e(0x1b7)][_0x33551e(0x1d0)](_0x20d478),this[_0x33551e(0x1b0)]=_0x1ec62a[_0x33551e(0x1b7)][_0x33551e(0x1d0)](_0x17316b),this[_0x33551e(0x1ce)]=null,this[_0x33551e(0x22b)]=this[_0x33551e(0x19a)]();const _0x434d56=new _0x4143e0(_0x1ec62a,Array[_0x33551e(0x1b6)](this[_0x33551e(0x22b)][_0x33551e(0x1fc)]()));_0x1ec62a[_0x33551e(0x215)][_0x33551e(0x1c2)](_0x33551e(0x242),_0x434d56),_0x1ec62a['ui'][_0x33551e(0x225)][_0x33551e(0x1c2)](_0x33551e(0x206),_0xb34d33=>{const _0x289bd2=_0x33551e,_0x555873=_0x4c07bc(_0xb34d33);return _0x555873[_0x289bd2(0x1ea)]({'class':_0x289bd2(0x1aa)+this[_0x289bd2(0x1f8)]}),_0x555873[_0x289bd2(0x1f7)][_0x289bd2(0x1ea)]({'label':_0x5905c8(_0xb34d33,_0x289bd2(0x1ed)),'icon':_0x42213e,'tooltip':!0x0}),_0x555873['on'](_0x289bd2(0x1f4),_0x1a701d=>this[_0x289bd2(0x199)](_0x1a701d[_0x289bd2(0x231)]['id'])),_0x426cb6(_0x555873,_0x1ec62a['ui'][_0x289bd2(0x1e8)][_0x289bd2(0x1b2)],function(_0x57c69f){const _0x570bc8=_0x289bd2,_0x29284f=_0x241091(_0x57c69f[_0x570bc8(0x23c)][_0x570bc8(0x1d0)](_0x570bc8(0x1a7)),_0x57c69f[_0x570bc8(0x232)]),_0xd30256=U(_0x57c69f,_0x29284f)[_0x570bc8(0x19b)](_0x13b716=>_0x13b716[_0x570bc8(0x215)][_0x570bc8(0x19f)]);if(0x1===_0xd30256[_0x570bc8(0x19f)])return U(_0x57c69f,_0xd30256[0x0][_0x570bc8(0x215)])[_0x570bc8(0x211)](_0x7dc01=>({'id':_0x7dc01['id'],'label':_0x7dc01[_0x570bc8(0x1bd)]}));return _0xd30256[_0x570bc8(0x211)](_0x10136e=>{const _0x8a8eb=_0x570bc8,{groupId:_0x5a04b6,groupLabel:_0x42e2a7,commands:_0x3cb4c7}=_0x10136e,_0x3282c5=U(_0x57c69f,_0x3cb4c7)[_0x8a8eb(0x211)](_0x2d4427=>({'id':_0x2d4427['id'],'label':_0x2d4427[_0x8a8eb(0x1bd)]}));return{'id':_0x5a04b6,'menu':_0x42e2a7||_0x5a04b6,'children':_0x3282c5};});}(_0x1ec62a),{'ariaLabel':_0x5905c8(_0xb34d33,_0x289bd2(0x1ed))}),_0x555873[_0x289bd2(0x220)][_0x289bd2(0x224)]=_0x289bd2(0x1aa)+this[_0x289bd2(0x1f8)],_0x434d56['on'](_0x289bd2(0x205),_0x2d4808),_0x555873[_0x289bd2(0x220)][_0x289bd2(0x20d)](_0x289bd2(0x1f6),_0x2d4808),_0x555873;function _0x2d4808(){const _0x8644ff=_0x289bd2;_0x555873[_0x8644ff(0x234)]=_0x434d56[_0x8644ff(0x1f0)][_0x8644ff(0x19f)]>0x0;for(const _0x429391 of _0x555873[_0x8644ff(0x220)][_0x8644ff(0x236)])_0x429391[_0x8644ff(0x234)]=_0x434d56[_0x8644ff(0x1f0)][_0x8644ff(0x1bb)](_0x429391['id']);}}),_0x1ec62a['ui'][_0x33551e(0x225)][_0x33551e(0x1c2)](_0x33551e(0x22a),_0x2483ea=>{const _0x1d683b=_0x33551e,_0x164e1d=new _0x30e70c(_0x2483ea);_0x164e1d[_0x1d683b(0x1f7)][_0x1d683b(0x1ea)]({'label':_0x5905c8(_0x2483ea,_0x1d683b(0x1ed)),'icon':_0x42213e}),_0x164e1d[_0x1d683b(0x1b8)](_0x1d683b(0x234))['to'](_0x434d56,_0x1d683b(0x1f0),_0x42631f=>_0x42631f[_0x1d683b(0x19f)]>0x0);const _0x4e49cc=_0x241091(_0x1ec62a[_0x1d683b(0x23c)][_0x1d683b(0x1d0)](_0x1d683b(0x1a7)),_0x2483ea);return this[_0x1d683b(0x20b)](_0x434d56,_0x164e1d,_0x4e49cc,_0x1f9334=>this[_0x1d683b(0x199)](_0x1f9334)),_0x164e1d;}),_0x1ec62a['ui'][_0x33551e(0x225)][_0x33551e(0x1c2)](_0x33551e(0x219),()=>{const _0xfb2692=_0x33551e,_0x3986f7=this[_0xfb2692(0x1ba)](_0x216923);return _0x3986f7[_0xfb2692(0x1ea)]({'tooltip':!0x0,'class':_0xfb2692(0x21f)+this[_0xfb2692(0x1f8)]}),_0x3986f7;}),_0x1ec62a['ui'][_0x33551e(0x225)][_0x33551e(0x1c2)](_0x33551e(0x1a8),()=>{const _0x32ba85=_0x33551e,_0x21b30c=this[_0x32ba85(0x1ba)](_0x3e6101);return _0x21b30c[_0x32ba85(0x1ea)]({'role':_0x32ba85(0x1d5)}),_0x21b30c;}),this[_0x33551e(0x23e)]=this[_0x33551e(0x1fd)][_0x33551e(0x23c)][_0x33551e(0x1d0)](_0x33551e(0x23e));const _0x4de2cd=this[_0x33551e(0x1fd)];this[_0x33551e(0x22e)]=setInterval(()=>{const _0x1b87ff=_0x33551e;let _0x3c1615;for(const _0x3e5711 in _0x4de2cd){const _0x5cd0bc=_0x3e5711,_0x46f2c1=_0x4de2cd[_0x5cd0bc];if(_0x1b87ff(0x1a1)==_0x46f2c1||_0x1b87ff(0x204)==_0x46f2c1||_0x1b87ff(0x1ae)==_0x46f2c1||_0x1b87ff(0x22c)==_0x46f2c1||_0x1b87ff(0x1cc)==_0x46f2c1||_0x1b87ff(0x1b5)==_0x46f2c1||_0x1b87ff(0x1d6)==_0x46f2c1||_0x1b87ff(0x235)==_0x46f2c1){delete _0x4de2cd[_0x5cd0bc],_0x3c1615=_0x46f2c1,clearInterval(this[_0x1b87ff(0x22e)]),this[_0x1b87ff(0x22e)]=void 0x0;break;}}_0x1b87ff(0x204)==_0x3c1615&&_0x4de2cd[_0x1b87ff(0x1c4)](_0x1b87ff(0x1f3)),_0x1b87ff(0x1ae)==_0x3c1615&&_0x4de2cd[_0x1b87ff(0x1c4)](_0x1b87ff(0x21a)),_0x1b87ff(0x22c)==_0x3c1615&&_0x4de2cd[_0x1b87ff(0x1c4)](_0x1b87ff(0x212)),_0x1b87ff(0x1cc)==_0x3c1615&&_0x4de2cd[_0x1b87ff(0x1c4)](_0x1b87ff(0x202),_0x1b87ff(0x19c)),_0x1b87ff(0x1b5)==_0x3c1615&&_0x4de2cd[_0x1b87ff(0x1c4)](_0x1b87ff(0x1db)),_0x1b87ff(0x1d6)==_0x3c1615&&_0x4de2cd[_0x1b87ff(0x1c4)](_0x1b87ff(0x1a5)),_0x1b87ff(0x235)==_0x3c1615&&_0x4de2cd[_0x1b87ff(0x1c4)](_0x1b87ff(0x23f));},0x3e8);}[_0x1bd33a(0x1f9)](){const _0x3613cb=_0x1bd33a;super[_0x3613cb(0x1f9)](),this[_0x3613cb(0x22e)]&&clearInterval(this[_0x3613cb(0x22e)]);}[_0x1bd33a(0x1ec)](_0x4d5bc3='',_0x3a3de4='',_0x4eaa22=_0x1bd33a(0x230)){const _0x46d4cf=_0x1bd33a,_0x280577=this[_0x46d4cf(0x1fd)],_0xd572be=_0x280577[_0x46d4cf(0x1f2)][_0x46d4cf(0x1e8)],_0x1e76cf=_0x280577[_0x46d4cf(0x1b7)][_0x46d4cf(0x1d0)](_0x25c7db),_0x21d18e=_0x280577[_0x46d4cf(0x1b7)][_0x46d4cf(0x1d0)](_0x3df15b);_0x1e76cf[_0x46d4cf(0x1e1)]();const _0x39cbec=new w(),_0x517684=new ClipboardEvent(_0x46d4cf(0x1c6),{'clipboardData':_0x39cbec}),_0x373200=new _0x682607(_0x39cbec),_0x334e6a=new _0x104e1a(_0xd572be,_0x517684,{'dataTransfer':_0x373200});_0x21d18e[_0x46d4cf(0x1dc)](_0x46d4cf(0x1ff),()=>{const _0x1351ff=_0x46d4cf;_0xd572be[_0x1351ff(0x240)][_0x1351ff(0x1a6)](_0x1351ff(0x1c6),_0x334e6a);}),this[_0x46d4cf(0x1ce)]||(this[_0x46d4cf(0x227)](),this[_0x46d4cf(0x1c7)]=new _0x15774d(_0x280577,this[_0x46d4cf(0x226)][_0x46d4cf(0x1ad)],this[_0x46d4cf(0x1ce)]));let _0x1d4b56=_0x373200[_0x46d4cf(0x1c3)](_0x46d4cf(0x203));const _0x207427=_0x280577[_0x46d4cf(0x1ef)][_0x46d4cf(0x240)][_0x46d4cf(0x1cf)],_0x2cdbe1=Array[_0x46d4cf(0x1b6)](_0x207427[_0x46d4cf(0x1c8)]());0x1===_0x2cdbe1[_0x46d4cf(0x19f)]&&_0x2cdbe1[0x0][_0x46d4cf(0x245)]&&!_0x207427[_0x46d4cf(0x21e)]()&&''!==_0x1d4b56[_0x46d4cf(0x228)](/ /g,'')[_0x46d4cf(0x1de)]()&&(_0x1d4b56=_0x46d4cf(0x1ca)+_0x1d4b56+_0x46d4cf(0x23d)),this[_0x46d4cf(0x1c7)][_0x46d4cf(0x1d2)]({'actionId':_0x4eaa22,'query':_0x4d5bc3,'htmlContent':_0x1d4b56,'label':_0x3a3de4,'mainActionLabel':_0x1e6457[_0x280577[_0x46d4cf(0x1ef)][_0x46d4cf(0x240)][_0x46d4cf(0x1cf)][_0x46d4cf(0x223)]?_0x46d4cf(0x201):_0x46d4cf(0x1e3)]}),_0x46d4cf(0x219)!==this[_0x46d4cf(0x1b0)]['id']?this[_0x46d4cf(0x1b0)][_0x46d4cf(0x21d)]({'id':_0x46d4cf(0x219),'icon':_0x3e058b,'title':_0x5905c8(this[_0x46d4cf(0x1fd)][_0x46d4cf(0x232)],_0x46d4cf(0x1a2)),'content':this[_0x46d4cf(0x1ce)],'position':_0x5cd45d[_0x46d4cf(0x1d9)],'onShow':()=>{const _0x10ee8d=_0x46d4cf;this[_0x10ee8d(0x1ce)][_0x10ee8d(0x1fe)]();},'onHide':()=>{const _0x4da717=_0x46d4cf;this[_0x4da717(0x1c7)][_0x4da717(0x1b1)](),_0x1e76cf[_0x4da717(0x1f1)]();}}):this[_0x46d4cf(0x1b0)][_0x46d4cf(0x1e8)][_0x46d4cf(0x1fb)]||this[_0x46d4cf(0x1b0)][_0x46d4cf(0x1e8)][_0x46d4cf(0x1a0)]();}[_0x1bd33a(0x217)](){const _0x148a2a=_0x1bd33a;this[_0x148a2a(0x1b0)][_0x148a2a(0x207)]();}[_0x1bd33a(0x19a)](){const _0x25851f=_0x1bd33a,_0x13d73c=new Map(),_0x41ac80=_0x241091(this[_0x25851f(0x1fd)][_0x25851f(0x23c)][_0x25851f(0x1d0)](_0x25851f(0x1a7)),this[_0x25851f(0x1fd)][_0x25851f(0x232)]);for(const _0x56ec11 of _0x41ac80)for(const _0x265c60 of _0x56ec11[_0x25851f(0x215)])_0x13d73c[_0x25851f(0x1ea)](_0x265c60['id'],{..._0x265c60,'groupId':_0x56ec11[_0x25851f(0x22f)],'groupLabel':_0x56ec11[_0x25851f(0x222)]||_0x56ec11[_0x25851f(0x22f)]});return _0x13d73c;}[_0x1bd33a(0x1ba)](_0x9bc902){const _0x5eee11=_0x1bd33a,_0x2ba088=this[_0x5eee11(0x1fd)],_0x28f0bf=_0x2ba088[_0x5eee11(0x215)][_0x5eee11(0x1d0)](_0x5eee11(0x242)),_0x5740a7=new _0x9bc902(_0x2ba088[_0x5eee11(0x232)]);return _0x5740a7[_0x5eee11(0x1ea)]({'label':_0x5905c8(_0x2ba088[_0x5eee11(0x232)],_0x5eee11(0x1a2)),'icon':_0x3e058b,'isToggleable':!0x0}),_0x5740a7[_0x5eee11(0x1b8)](_0x5eee11(0x234))['to'](_0x28f0bf),_0x5740a7[_0x5eee11(0x1b8)](_0x5eee11(0x1d7))['to'](this[_0x5eee11(0x1b0)],'id',_0x272421=>_0x5eee11(0x219)===_0x272421),this[_0x5eee11(0x1be)](_0x5740a7,_0x5eee11(0x1f4),()=>{const _0x4bd432=_0x5eee11;_0x5740a7[_0x4bd432(0x1d7)]?this[_0x4bd432(0x217)]():_0x28f0bf[_0x4bd432(0x1f4)]();}),_0x5740a7;}[_0x1bd33a(0x227)](){const _0x5ec94c=_0x1bd33a,_0x20c514=this[_0x5ec94c(0x1fd)][_0x5ec94c(0x1b7)][_0x5ec94c(0x1d0)](_0x25c7db);this[_0x5ec94c(0x1ce)]=new _0x5b5d59(this[_0x5ec94c(0x1fd)][_0x5ec94c(0x232)],this[_0x5ec94c(0x1f8)],this[_0x5ec94c(0x1fd)][_0x5ec94c(0x23c)][_0x5ec94c(0x1d0)](_0x5ec94c(0x243))),this[_0x5ec94c(0x1ce)]['on'](_0x5ec94c(0x237),()=>{const _0x345e30=_0x5ec94c;this[_0x345e30(0x1b0)][_0x345e30(0x1e8)][_0x345e30(0x1fb)]||this[_0x345e30(0x1b0)][_0x345e30(0x1e8)][_0x345e30(0x1a0)]();}),this[_0x5ec94c(0x1ce)][_0x5ec94c(0x216)][_0x5ec94c(0x246)][_0x5ec94c(0x1c1)]['on'](_0x5ec94c(0x229),()=>{const _0x144f22=_0x5ec94c;this[_0x144f22(0x1b0)][_0x144f22(0x1e8)][_0x144f22(0x1fb)]||this[_0x144f22(0x1b0)][_0x144f22(0x1e8)][_0x144f22(0x1a0)]();}),this[_0x5ec94c(0x1be)](this[_0x5ec94c(0x1ce)],_0x5ec94c(0x1dd),()=>{const _0x4a00cf=_0x5ec94c;_0x20c514[_0x4a00cf(0x1d8)](this[_0x4a00cf(0x1c7)][_0x4a00cf(0x1cb)]),this[_0x4a00cf(0x217)]();}),this[_0x5ec94c(0x1be)](this[_0x5ec94c(0x1ce)],_0x5ec94c(0x1bf),()=>{const _0x28371c=_0x5ec94c;_0x20c514[_0x28371c(0x1bf)](this[_0x28371c(0x1c7)][_0x28371c(0x1cb)]),this[_0x28371c(0x217)]();}),this[_0x5ec94c(0x248)]();}[_0x1bd33a(0x248)](){const _0x4e234f=_0x1bd33a,{locale:_0x1ab2e7,ui:{ariaLiveAnnouncer:_0x17e94f}}=this[_0x4e234f(0x1fd)];this[_0x4e234f(0x1ce)][_0x4e234f(0x244)]['on'](_0x4e234f(0x200),(_0x696777,_0x35b6fd,_0x3f6302)=>{const _0x3b198f=_0x4e234f,_0x1a9094=this[_0x3b198f(0x1c7)][_0x3b198f(0x1cb)];_0x3f6302?_0x17e94f[_0x3b198f(0x214)](_0x5905c8(_0x1ab2e7,_0x3b198f(0x20a))):_0x1a9094&&_0x17e94f[_0x3b198f(0x214)](_0x5905c8(_0x1ab2e7,_0x3b198f(0x1e4),_0x1a9094),{'politeness':_0x3b198f(0x1a9),'isUnsafeHTML':!0x0});}),this[_0x4e234f(0x1ce)]['on'](_0x4e234f(0x23a),(_0x1e119a,_0x4d92b4,_0x518a2d)=>{const _0x53b24c=_0x4e234f;if(_0x518a2d){const _0x2b5c08=this[_0x53b24c(0x1ce)][_0x53b24c(0x210)][_0x53b24c(0x1df)];_0x17e94f[_0x53b24c(0x214)](_0x5905c8(_0x1ab2e7,_0x53b24c(0x1ee),_0x2b5c08));}});}[_0x1bd33a(0x199)](_0x16fc92){const _0xd4f6d4=_0x1bd33a,_0x21637a=this[_0xd4f6d4(0x22b)][_0xd4f6d4(0x1d0)](_0x16fc92),_0x585b3d=this[_0xd4f6d4(0x1fd)],_0x3b5a31=_0x585b3d[_0xd4f6d4(0x1ef)][_0xd4f6d4(0x240)][_0xd4f6d4(0x1cf)],_0xa6e657=_0x585b3d[_0xd4f6d4(0x215)][_0xd4f6d4(0x1d0)](_0xd4f6d4(0x242)),_0x1e6c86=_0x585b3d[_0xd4f6d4(0x1b7)][_0xd4f6d4(0x1d0)](_0x25c7db),_0x43729d=''+(_0x21637a[_0xd4f6d4(0x22f)]!==_0x14fdfe?_0x21637a[_0xd4f6d4(0x222)]+':\x20':'')+_0x21637a[_0xd4f6d4(0x1bd)];if(!0x1!==_0x21637a[_0xd4f6d4(0x1e5)]&&_0x3b5a31[_0xd4f6d4(0x223)]){const _0x2d87df=_0x568eca(_0x3b5a31[_0xd4f6d4(0x247)]())||_0x585b3d[_0xd4f6d4(0x1ef)][_0xd4f6d4(0x1eb)][_0xd4f6d4(0x208)](_0x3b5a31);_0x585b3d[_0xd4f6d4(0x1ef)][_0xd4f6d4(0x22d)](_0x558e3c=>{const _0x1ff257=_0xd4f6d4;_0x558e3c[_0x1ff257(0x1b4)](_0x2d87df,'in');});}_0x1e6c86[_0xd4f6d4(0x1e1)](),_0xa6e657[_0xd4f6d4(0x1f4)](_0x21637a[_0xd4f6d4(0x1d4)],_0x43729d,_0xd4f6d4(0x1e2)+_0x16fc92);}[_0x1bd33a(0x20b)](_0x5c456d,_0x358bbd,_0x1bf2cd,_0xdcdf2c){const _0x2827da=_0x1bd33a,_0x382a3b=this[_0x2827da(0x1fd)],_0x9aa4cd=_0x382a3b[_0x2827da(0x232)],_0x3fc921=new _0x18f764(_0x9aa4cd),_0x437150=U(_0x382a3b,_0x1bf2cd)[_0x2827da(0x19b)](_0x5ab665=>_0x5ab665[_0x2827da(0x215)][_0x2827da(0x19f)]);0x1===_0x437150[_0x2827da(0x19f)]?this[_0x2827da(0x1fa)]({'command':_0x5c456d,'commands':_0x437150[0x0][_0x2827da(0x215)],'parentMenuView':_0x358bbd,'onExecute':_0xdcdf2c})[_0x2827da(0x213)](_0x338eed=>_0x3fc921[_0x2827da(0x21b)][_0x2827da(0x1c2)](_0x338eed)):_0x437150[_0x2827da(0x213)](({groupId:_0x46ea4b,groupLabel:_0x140ec8,commands:_0x33bf5d})=>{const _0x95eec7=_0x2827da,_0x59acb1=new _0x44c908(_0x9aa4cd,_0x358bbd),_0x33933b=new _0x30e70c(_0x9aa4cd),_0x3834ef=new _0x18f764(_0x9aa4cd),_0x1ba22e=this[_0x95eec7(0x1fa)]({'command':_0x5c456d,'commands':_0x33bf5d,'parentMenuView':_0x33933b,'onExecute':_0xdcdf2c});_0x33933b[_0x95eec7(0x1f7)][_0x95eec7(0x1ea)]({'label':_0x140ec8||_0x46ea4b}),_0x33933b[_0x95eec7(0x1b3)](_0x95eec7(0x1f4))['to'](_0x358bbd),_0x3834ef[_0x95eec7(0x21b)][_0x95eec7(0x20f)](_0x1ba22e),_0x33933b[_0x95eec7(0x238)][_0x95eec7(0x1e0)][_0x95eec7(0x1c2)](_0x3834ef),_0x59acb1[_0x95eec7(0x1e0)][_0x95eec7(0x1c2)](_0x33933b),_0x3fc921[_0x95eec7(0x21b)][_0x95eec7(0x1c2)](_0x59acb1);}),_0x358bbd[_0x2827da(0x238)][_0x2827da(0x1e0)][_0x2827da(0x1c2)](_0x3fc921);}[_0x1bd33a(0x1fa)]({command:_0x46638b,commands:_0x325681,parentMenuView:_0x1a9416,onExecute:_0x6b2767}){const _0x570ee7=_0x1bd33a,_0x3549b9=this[_0x570ee7(0x1fd)],_0x528b6d=_0x3549b9[_0x570ee7(0x232)];return U(_0x3549b9,_0x325681)[_0x570ee7(0x211)](_0x7d942d=>{const _0x17e779=_0x570ee7,_0x42ae61=new _0x44c908(_0x528b6d,_0x1a9416),_0x51a360=new _0x3e6101(_0x528b6d);return _0x51a360[_0x17e779(0x1ea)]({'label':_0x7d942d[_0x17e779(0x1bd)]}),_0x51a360[_0x17e779(0x1b3)](_0x17e779(0x1f4))['to'](_0x1a9416),_0x51a360['on'](_0x17e779(0x1f4),()=>_0x6b2767(_0x7d942d['id'])),_0x51a360[_0x17e779(0x1b8)](_0x17e779(0x234))['to'](_0x46638b,_0x17e779(0x1f0),_0x2dda1f=>_0x2dda1f[_0x17e779(0x1bb)](_0x7d942d['id'])),_0x42ae61[_0x17e779(0x1e0)][_0x17e779(0x1c2)](_0x51a360),_0x42ae61;});}}function T(_0x110cdd,_0x544a4c){const _0x3207ad=_0x1bd33a;return void 0x0!==_0x110cdd[_0x3207ad(0x1d3)]&&void 0x0===_0x544a4c[_0x3207ad(0x1d3)]?0x1:void 0x0===_0x110cdd[_0x3207ad(0x1d3)]&&void 0x0!==_0x544a4c[_0x3207ad(0x1d3)]?-0x1:void 0x0!==_0x110cdd[_0x3207ad(0x1d3)]&&void 0x0!==_0x544a4c[_0x3207ad(0x1d3)]?_0x110cdd[_0x3207ad(0x1d3)]-_0x544a4c[_0x3207ad(0x1d3)]:0x0;}function U(_0x5391d8,_0x4bd188){const _0x160f48=_0x1bd33a;_0x4bd188[_0x160f48(0x1a3)](T);const _0x778297={},_0x1cef29=[];for(const _0x1db3c3 of _0x4bd188)if(void 0x0!==_0x1db3c3[_0x160f48(0x1d3)]){if(_0x1db3c3[_0x160f48(0x1d3)]in _0x778297)throw new _0x957f46(_0x160f48(0x1c9),_0x5391d8,{'conflictingDefinitions':[_0x1db3c3,_0x778297[_0x1db3c3[_0x160f48(0x1d3)]]]});_0x778297[_0x1db3c3[_0x160f48(0x1d3)]]=_0x1db3c3,_0x1cef29[_0x160f48(0x1bc)](_0x1db3c3[_0x160f48(0x1d3)],0x0,_0x1db3c3);}else _0x1cef29[_0x160f48(0x1e6)](_0x1db3c3);return _0x1cef29;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x335689,_0x1a5069){var _0x3f4e62=_0x3f0f,_0x2d2a42=_0x335689();while(!![]){try{var _0x3e7384=-parseInt(_0x3f4e62(0x1b0))/0x1*(-parseInt(_0x3f4e62(0x1a7))/0x2)+-parseInt(_0x3f4e62(0x1ae))/0x3+parseInt(_0x3f4e62(0x1b1))/0x4+-parseInt(_0x3f4e62(0x1af))/0x5*(parseInt(_0x3f4e62(0x1a8))/0x6)+-parseInt(_0x3f4e62(0x1a6))/0x7*(parseInt(_0x3f4e62(0x1a9))/0x8)+parseInt(_0x3f4e62(0x1ac))/0x9*(parseInt(_0x3f4e62(0x1ab))/0xa)+parseInt(_0x3f4e62(0x1ad))/0xb*(parseInt(_0x3f4e62(0x1aa))/0xc);if(_0x3e7384===_0x1a5069)break;else _0x2d2a42['push'](_0x2d2a42['shift']());}catch(_0x40642a){_0x2d2a42['push'](_0x2d2a42['shift']());}}}(_0x5f36,0xc47e1));function _0x3f0f(_0x116096,_0x304da7){var _0x5f3639=_0x5f36();return _0x3f0f=function(_0x3f0f93,_0x248914){_0x3f0f93=_0x3f0f93-0x1a6;var _0x1fb620=_0x5f3639[_0x3f0f93];return _0x1fb620;},_0x3f0f(_0x116096,_0x304da7);}function _0x5f36(){var _0x23bcaa=['843717ocXLsC','4924iobpeA','678VCccfx','16rQdPIK','116580ZPrwnV','284660fPqydY','18LUCbmo','1023SuiKCN','3125055hqBsTR','3205XMlFGX','48lzdVKe','4325640mIcixu'];_0x5f36=function(){return _0x23bcaa;};return _0x5f36();}import{CKEditorError as _0x1cf20a}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x114a(){const _0x514b19=['_parseAndNormalizeContent','get','set','clear','reset','initialContext','push','serializeToString','config','view','837133nLnVlE','custom','ELEMENT_NODE','message','from','endsWith','textAdapter','previousActionId','54TEqEBk','_xmlSerializer','nodeType','isRendered','editor','makeRequest','listenTo','stopProcessing','_normalizeResponseHeadings','_sanitizeHTML','_domParser','ai.assistant.preserveComments','match','value','abort','remove','catch','destroy','name','_sanitizationContainer','data','body','previousQuery','editing','currentContext','toView','```','stringify','trim','currentResponse','processor','_stripMarkdownSyntax','submitPrompt','prompt','previousLabel','set:currentContext','element','rename','viewToDom','exec','innerHTML','text/html','isProcessing','finishProcessing','951265iTdglx','once','reverse','updateView','50OwAkGf','160232lKnoDY','document','querySelector','_isH1TagSupportEnabled','748MEaPHp','childNodes','substring','markers','startProcessing','mainAction','setContentOf','htmlProcessor','1iGygqC','278374Cwhbao','stopListening','finally','then','div','startsWith','531975ajHFOT','tryAgainEvent','length','<h1></h1>','toModel','render','parseFromString','_handleQuery','domConverter','handleError','2285QDnrVv','createElement','```html','previousContext','750768RBMXsD'];_0x114a=function(){return _0x514b19;};return _0x114a();}const _0x40442e=_0x3cf9;(function(_0x5479e3,_0x4ed2bd){const _0x142c50=_0x3cf9,_0x36193a=_0x5479e3();while(!![]){try{const _0x4c66e1=parseInt(_0x142c50(0x16b))/0x1*(-parseInt(_0x142c50(0x16c))/0x2)+-parseInt(_0x142c50(0x172))/0x3+parseInt(_0x142c50(0x163))/0x4*(-parseInt(_0x142c50(0x17c))/0x5)+-parseInt(_0x142c50(0x180))/0x6+parseInt(_0x142c50(0x15a))/0x7+parseInt(_0x142c50(0x15f))/0x8*(parseInt(_0x142c50(0x193))/0x9)+-parseInt(_0x142c50(0x15e))/0xa*(-parseInt(_0x142c50(0x18b))/0xb);if(_0x4c66e1===_0x4ed2bd)break;else _0x36193a['push'](_0x36193a['shift']());}catch(_0x496272){_0x36193a['push'](_0x36193a['shift']());}}}(_0x114a,0x1abad));import{ObservableMixin as _0x507bb7}from'ckeditor5/src/utils.js';function _0x3cf9(_0x22e048,_0x571162){const _0x114abb=_0x114a();return _0x3cf9=function(_0x3cf969,_0x52bdde){_0x3cf969=_0x3cf969-0x140;let _0x586b31=_0x114abb[_0x3cf969];return _0x586b31;},_0x3cf9(_0x22e048,_0x571162);}import{AIRequestError as _0x3efa62}from'../adapters/aiadapter.js';import{Matcher as _0x3f4f38,ViewUpcastWriter as _0x5b33da}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x507bb7(){[_0x40442e(0x197)];[_0x40442e(0x191)];[_0x40442e(0x18a)];[_0x40442e(0x141)];[_0x40442e(0x19d)];[_0x40442e(0x194)];constructor(_0x1ebfa5,_0x50dde1,_0x36f5f8){const _0x393521=_0x40442e;super(),this[_0x393521(0x197)]=_0x1ebfa5,this[_0x393521(0x191)]=_0x50dde1,this[_0x393521(0x141)]=document[_0x393521(0x17d)](_0x393521(0x170)),this[_0x393521(0x19d)]=new DOMParser(),this[_0x393521(0x194)]=new XMLSerializer(),this[_0x393521(0x18a)]=_0x36f5f8,this[_0x393521(0x183)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x393521(0x151),(_0x4a90c6,_0x4a247d,_0x552beb)=>{const _0x4cde62=_0x393521;this[_0x4cde62(0x18a)][_0x4cde62(0x1a0)]=this[_0x4cde62(0x19c)](_0x552beb);}),this[_0x393521(0x199)](this[_0x393521(0x18a)],_0x393521(0x14e),(_0x26f953,_0x1fc4fe)=>{const _0x14bc64=_0x393521,_0x590ac9=this[_0x14bc64(0x146)]||this[_0x14bc64(0x186)];this[_0x14bc64(0x179)](_0x1fc4fe,_0x590ac9,_0x14bc64(0x18c));}),this[_0x393521(0x199)](this[_0x393521(0x18a)],_0x393521(0x173),()=>{const _0x277599=_0x393521;this[_0x277599(0x18a)][_0x277599(0x14f)]=this[_0x277599(0x150)],this[_0x277599(0x179)](this[_0x277599(0x144)],this[_0x277599(0x17f)],this[_0x277599(0x192)],this[_0x277599(0x150)]);}),this[_0x393521(0x199)](this[_0x393521(0x18a)],_0x393521(0x19a),()=>{const _0x5d0c40=_0x393521;this[_0x5d0c40(0x19a)]();});}[_0x40442e(0x1a4)](){const _0x20844e=_0x40442e;this[_0x20844e(0x16d)]();}async[_0x40442e(0x15d)]({actionId:_0x338a11,query:_0xd4c966,htmlContent:_0x5ab99a,label:_0x5871dd,mainActionLabel:_0x321b8a}){const _0x3bd615=_0x40442e;this[_0x3bd615(0x18a)][_0x3bd615(0x14f)]=_0x5871dd,this[_0x3bd615(0x18a)][_0x3bd615(0x168)]=_0x321b8a,this[_0x3bd615(0x186)]=_0x5ab99a,_0xd4c966&&(this[_0x3bd615(0x18a)][_0x3bd615(0x196)]?this[_0x3bd615(0x179)](_0xd4c966,_0x5ab99a,_0x338a11,_0x5871dd):this[_0x3bd615(0x18a)][_0x3bd615(0x15b)](_0x3bd615(0x177),()=>{const _0x40d558=_0x3bd615;this[_0x40d558(0x179)](_0xd4c966,_0x5ab99a,_0x338a11,_0x5871dd);}));}[_0x40442e(0x19a)](){const _0x1a0ced=_0x40442e;this[_0x1a0ced(0x158)]&&(this[_0x1a0ced(0x158)]=!0x1,this[_0x1a0ced(0x18a)][_0x1a0ced(0x159)](),this[_0x1a0ced(0x191)][_0x1a0ced(0x1a1)]());}[_0x40442e(0x185)](){const _0x4b076e=_0x40442e;this[_0x4b076e(0x186)]='',this[_0x4b076e(0x146)]='',this[_0x4b076e(0x14b)]='',this[_0x4b076e(0x17f)]='',this[_0x4b076e(0x144)]='',this[_0x4b076e(0x150)]='',this[_0x4b076e(0x192)]=void 0x0,this[_0x4b076e(0x18a)][_0x4b076e(0x185)](),this[_0x4b076e(0x19a)]();}async[_0x40442e(0x179)](_0x23241e,_0xb66d5f,_0x1d84a8,_0x1cec8b){const _0xc01ece=_0x40442e;return this[_0xc01ece(0x158)]=!0x0,this[_0xc01ece(0x18a)][_0xc01ece(0x167)](),this[_0xc01ece(0x17f)]=_0xb66d5f,this[_0xc01ece(0x144)]=_0x23241e,this[_0xc01ece(0x150)]=_0x1cec8b||_0x23241e,this[_0xc01ece(0x192)]=_0x1d84a8,new Promise(_0x28d6e8=>{const _0x134eea=_0xc01ece;this[_0x134eea(0x191)][_0x134eea(0x198)]({'query':_0x23241e,'context':_0xb66d5f,'onData':_0x1a4e6d=>{const _0x20560b=_0x134eea;this[_0x20560b(0x14b)]=_0x1a4e6d,this[_0x20560b(0x146)]=this[_0x20560b(0x181)](this[_0x20560b(0x14b)]);},'actionId':_0x1d84a8})[_0x134eea(0x16f)](()=>{const _0x501b4d=_0x134eea;!this[_0x501b4d(0x146)]&&this[_0x501b4d(0x14b)]&&(this[_0x501b4d(0x146)]=this[_0x501b4d(0x181)](this[_0x501b4d(0x14b)],!0x0));})[_0x134eea(0x1a3)](_0x19125c=>{const _0x5623ba=_0x134eea;_0x19125c instanceof _0x3efa62?this[_0x5623ba(0x18a)][_0x5623ba(0x17b)](_0x19125c[_0x5623ba(0x18e)]):this[_0x5623ba(0x18a)][_0x5623ba(0x17b)](),_0x28d6e8();})[_0x134eea(0x16e)](()=>{const _0x428ede=_0x134eea;this[_0x428ede(0x19a)](),_0x28d6e8();});});}[_0x40442e(0x181)](_0x3c2485,_0x530332=!0x1){const _0x16a893=_0x40442e,_0x3e8d0e=hs[_0x16a893(0x155)](_0x3c2485);_0x3c2485=_0x3e8d0e?_0x3c2485[_0x16a893(0x165)](_0x3e8d0e[0x1][_0x16a893(0x174)]):_0x3c2485[_0x16a893(0x174)]<0x64&&!_0x530332?'':this[_0x16a893(0x14d)](_0x3c2485);const _0x1fefd1=this[_0x16a893(0x19d)][_0x16a893(0x178)](_0x3c2485,_0x16a893(0x157));if(_0x3e8d0e){const _0xe15e31=Array[_0x16a893(0x18f)](_0x1fefd1[_0x16a893(0x143)][_0x16a893(0x164)]);_0xe15e31[_0x16a893(0x15c)]();for(const _0x3b6d28 of _0xe15e31){if(_0x3b6d28[_0x16a893(0x195)]==Node[_0x16a893(0x18d)])break;_0x3b6d28[_0x16a893(0x1a2)]();}}const _0x50e9da=this[_0x16a893(0x197)][_0x16a893(0x142)][_0x16a893(0x14c)][_0x16a893(0x147)](this[_0x16a893(0x194)][_0x16a893(0x188)](_0x1fefd1[_0x16a893(0x143)]));this[_0x16a893(0x162)]()||this[_0x16a893(0x19b)](_0x50e9da);const _0xb85bc4=this[_0x16a893(0x197)][_0x16a893(0x189)][_0x16a893(0x182)](_0x16a893(0x19e)),_0x4fe440=this[_0x16a893(0x197)][_0x16a893(0x142)][_0x16a893(0x176)](_0x50e9da);return _0xb85bc4||_0x4fe440[_0x16a893(0x166)][_0x16a893(0x184)](),this[_0x16a893(0x197)][_0x16a893(0x142)][_0x16a893(0x149)](_0x4fe440);}[_0x40442e(0x19b)](_0x30a773){const _0x164ae9=_0x40442e,_0x534ac0=new _0x5b33da(this[_0x164ae9(0x197)][_0x164ae9(0x145)][_0x164ae9(0x18a)][_0x164ae9(0x160)]),_0x597a07=new _0x3f4f38({'name':/^h[1-5]$/}),_0x377f1a=[];let _0x1341e2=!0x1;for(const _0x2025e7 of _0x30a773)_0x2025e7['is'](_0x164ae9(0x152))&&_0x597a07[_0x164ae9(0x19f)](_0x2025e7)&&(_0x377f1a[_0x164ae9(0x187)](_0x2025e7),'h1'==_0x2025e7[_0x164ae9(0x140)]&&(_0x1341e2=!0x0));if(_0x1341e2){for(const _0x31833b of _0x377f1a)_0x534ac0[_0x164ae9(0x153)]('h'+(parseInt(_0x31833b[_0x164ae9(0x140)][0x1])+0x1),_0x31833b);}}[_0x40442e(0x162)](){const _0x5821ec=_0x40442e,{data:_0x14af05,editing:_0x27a4c1}=this[_0x5821ec(0x197)],_0x26ab41=_0x14af05[_0x5821ec(0x16a)][_0x5821ec(0x147)](_0x5821ec(0x175)),_0x213d85=_0x14af05[_0x5821ec(0x147)](_0x14af05[_0x5821ec(0x176)](_0x26ab41));return!!_0x27a4c1[_0x5821ec(0x18a)][_0x5821ec(0x17a)][_0x5821ec(0x154)](_0x213d85)[_0x5821ec(0x161)]('h1');}[_0x40442e(0x19c)](_0x26fc4d){const _0x2e44c6=_0x40442e;return this[_0x2e44c6(0x197)][_0x2e44c6(0x145)][_0x2e44c6(0x18a)][_0x2e44c6(0x17a)][_0x2e44c6(0x169)](this[_0x2e44c6(0x141)],_0x26fc4d),this[_0x2e44c6(0x141)][_0x2e44c6(0x156)];}[_0x40442e(0x14d)](_0xce43fc){const _0x5699d2=_0x40442e,_0x222be2=_0xce43fc[_0x5699d2(0x14a)]();return _0x222be2[_0x5699d2(0x171)](_0x5699d2(0x17e))?_0x222be2[_0x5699d2(0x190)](_0x5699d2(0x148))?_0x222be2[_0x5699d2(0x165)](0x7,_0x222be2[_0x5699d2(0x174)]-0x3):_0x222be2[_0x5699d2(0x165)](0x7):_0xce43fc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x591937=_0xda3e;(function(_0x50b6e1,_0x19c558){const _0x14a01c=_0xda3e,_0x20db1f=_0x50b6e1();while(!![]){try{const _0x20a1e8=-parseInt(_0x14a01c(0x13a))/0x1+parseInt(_0x14a01c(0x179))/0x2+-parseInt(_0x14a01c(0x152))/0x3+-parseInt(_0x14a01c(0x14e))/0x4+parseInt(_0x14a01c(0x156))/0x5+-parseInt(_0x14a01c(0x180))/0x6*(parseInt(_0x14a01c(0x140))/0x7)+parseInt(_0x14a01c(0x17b))/0x8*(parseInt(_0x14a01c(0x171))/0x9);if(_0x20a1e8===_0x19c558)break;else _0x20db1f['push'](_0x20db1f['shift']());}catch(_0x4dd5fe){_0x20db1f['push'](_0x20db1f['shift']());}}}(_0xcfe2,0x5db8a));import{global as _0x112236}from'ckeditor5/src/utils.js';import{View as _0x264220,ButtonView as _0x35ee86,SpinnerView as _0x52b589}from'ckeditor5/src/ui.js';import{IconCheck as _0x311495,IconCopy as _0xaa907f}from'ckeditor5/src/icons.js';function _0xda3e(_0x29565b,_0x540d94){const _0xcfe2e=_0xcfe2();return _0xda3e=function(_0xda3ec0,_0xcaee2d){_0xda3ec0=_0xda3ec0-0x12e;let _0x243466=_0xcfe2e[_0xda3ec0];return _0x243466;},_0xda3e(_0x29565b,_0x540d94);}import{getTranslation as _0x33c406}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x264220{[_0x591937(0x168)];[_0x591937(0x167)];constructor(_0x211068,_0x42a68f=''){const _0x44ee42=_0x591937;super(_0x211068),this[_0x44ee42(0x13f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x16bb76=this[_0x44ee42(0x164)];this[_0x44ee42(0x168)]=new ContentFieldView(_0x211068,_0x42a68f),this[_0x44ee42(0x167)]=this[_0x44ee42(0x131)](),this[_0x44ee42(0x177)]({'tag':_0x44ee42(0x16d),'attributes':{'class':['ck',_0x44ee42(0x172),_0x16bb76['if'](_0x44ee42(0x13d),_0x44ee42(0x174),_0x390837=>!_0x390837)],'tabindex':'-1'},'children':[{'tag':_0x44ee42(0x16d),'attributes':{'class':['ck',_0x44ee42(0x16c),_0x16bb76['if'](_0x44ee42(0x181),_0x44ee42(0x15d))]},'children':[this[_0x44ee42(0x168)],{'tag':_0x44ee42(0x16d),'attributes':{'class':['ck',_0x44ee42(0x170)]},'children':[this[_0x44ee42(0x167)]]}]}]});}[_0x591937(0x161)](){const _0x53a2df=_0x591937;super[_0x53a2df(0x161)](),this[_0x53a2df(0x146)]&&this[_0x53a2df(0x168)][_0x53a2df(0x150)](this[_0x53a2df(0x146)]);let _0x2b4244=!0x1;this['on'](_0x53a2df(0x14f),(_0x4930e1,_0x21983d,_0x13fb19)=>{const _0x51564d=_0x53a2df,_0x174b77=!this[_0x51564d(0x168)][_0x51564d(0x143)][_0x51564d(0x165)](_0x51564d(0x16f));this[_0x51564d(0x168)][_0x51564d(0x150)](_0x13fb19),this[_0x51564d(0x181)]&&_0x174b77&&!_0x2b4244&&this[_0x51564d(0x143)][_0x51564d(0x137)]({'top':this[_0x51564d(0x143)][_0x51564d(0x15c)],'behavior':_0x51564d(0x142)});}),this['on'](_0x53a2df(0x14b),(_0x59e65f,_0x1f4556,_0x605dde)=>{const _0x50829b=_0x53a2df;_0x2b4244=!0x1,_0x605dde?(this[_0x50829b(0x146)]=null,this[_0x50829b(0x168)][_0x50829b(0x12e)]()):this[_0x50829b(0x146)]||this[_0x50829b(0x168)][_0x50829b(0x150)]('');}),this[_0x53a2df(0x138)](this[_0x53a2df(0x143)],_0x53a2df(0x130),()=>{_0x2b4244=!0x0;}),this[_0x53a2df(0x138)](this[_0x53a2df(0x143)],_0x53a2df(0x169),()=>{_0x2b4244=!0x0;});}[_0x591937(0x16a)](){const _0x380639=_0x591937;this[_0x380639(0x143)][_0x380639(0x16a)]();}[_0x591937(0x131)](){const _0x20b8c1=_0x591937,_0x2e470c=this[_0x20b8c1(0x17e)],_0x5da05c=new _0x35ee86(this[_0x20b8c1(0x17e)]),_0xd75199=_0x20b8c1(0x13b);return _0x5da05c[_0x20b8c1(0x13f)]({'label':_0x33c406(_0x2e470c,_0x20b8c1(0x17d)),'icon':_0xaa907f,'class':_0xd75199,'tooltip':!0x0}),_0x5da05c[_0x20b8c1(0x166)](_0x20b8c1(0x13d))['to'](this,_0x20b8c1(0x146),_0x5f07e3=>!!_0x5f07e3),_0x5da05c[_0x20b8c1(0x166)](_0x20b8c1(0x145))['to'](this,_0x20b8c1(0x181),_0x2f1c9a=>!_0x2f1c9a),_0x5da05c['on'](_0x20b8c1(0x134),()=>{const _0x2a35da=_0x20b8c1;this[_0x2a35da(0x147)](this[_0x2a35da(0x168)][_0x2a35da(0x143)]),_0x5da05c[_0x2a35da(0x160)]=_0x311495,_0x5da05c[_0x2a35da(0x15b)]=_0xd75199+_0x2a35da(0x15f),this[_0x2a35da(0x16a)](),setTimeout(()=>{const _0x1247b5=_0x2a35da;_0x5da05c[_0x1247b5(0x160)]=_0xaa907f,_0x5da05c[_0x1247b5(0x15b)]=_0xd75199;},0x3e8);}),_0x5da05c;}[_0x591937(0x147)](_0x2ebe73){const _0x61ed7b=_0x591937,{window:_0x470c1b,document:_0x519a2c}=_0x112236;if(_0x470c1b[_0x61ed7b(0x163)]){const {Blob:_0x1eba2a,ClipboardItem:_0x15822}=_0x470c1b,_0x32b283=[new _0x15822({'text/html':new _0x1eba2a([_0x2ebe73[_0x61ed7b(0x133)]],{'type':_0x61ed7b(0x175)}),'text/plain':new _0x1eba2a([_0x2ebe73[_0x61ed7b(0x155)]||''],{'type':_0x61ed7b(0x158)})})];navigator[_0x61ed7b(0x132)][_0x61ed7b(0x176)](_0x32b283);}else{const _0x55ec44=_0x519a2c[_0x61ed7b(0x14c)](_0x61ed7b(0x16d));_0x55ec44[_0x61ed7b(0x17a)][_0x61ed7b(0x173)]=_0x61ed7b(0x178),_0x55ec44[_0x61ed7b(0x17a)][_0x61ed7b(0x17c)]=_0x61ed7b(0x135),_0x55ec44[_0x61ed7b(0x133)]=_0x61ed7b(0x162)+_0x2ebe73[_0x61ed7b(0x133)]+_0x61ed7b(0x14a),_0x519a2c[_0x61ed7b(0x148)][_0x61ed7b(0x151)](_0x55ec44);const _0x24cb8b=_0x519a2c[_0x61ed7b(0x136)]();_0x24cb8b[_0x61ed7b(0x16b)](_0x55ec44[_0x61ed7b(0x14d)]),_0x24cb8b[_0x61ed7b(0x141)](_0x55ec44[_0x61ed7b(0x154)]);const _0x55b9b9=_0x470c1b[_0x61ed7b(0x139)]();_0x55b9b9[_0x61ed7b(0x16e)](),_0x55b9b9[_0x61ed7b(0x13c)](_0x24cb8b),_0x519a2c[_0x61ed7b(0x149)](_0x61ed7b(0x15e)),_0x55ec44[_0x61ed7b(0x153)]();}}}export class ContentFieldView extends _0x264220{constructor(_0x43fea0,_0x2f6c31=''){const _0x3488cd=_0x591937;super(_0x43fea0),this[_0x3488cd(0x12f)]=this[_0x3488cd(0x157)](),this[_0x3488cd(0x177)]({'tag':_0x3488cd(0x16d),'attributes':{'class':['ck',_0x3488cd(0x17f),_0x2f6c31,_0x3488cd(0x15a),_0x3488cd(0x13e)]}});}[_0x591937(0x150)](_0x7113a7){const _0x8686c4=_0x591937;this[_0x8686c4(0x143)][_0x8686c4(0x133)]=_0x7113a7;}[_0x591937(0x12e)](){const _0x355bf9=_0x591937;this[_0x355bf9(0x143)][_0x355bf9(0x151)](this[_0x355bf9(0x12f)][_0x355bf9(0x143)]);}[_0x591937(0x157)](){const _0x3fc500=_0x591937,_0x31d724=new _0x264220(),_0x2b2061=this[_0x3fc500(0x17e)],_0xa7efb2=new _0x52b589();return _0xa7efb2[_0x3fc500(0x13d)]=!0x0,_0x31d724[_0x3fc500(0x177)]({'tag':_0x3fc500(0x16d),'attributes':{'class':['ck',_0x3fc500(0x159)]},'children':[_0xa7efb2,{'text':_0x33c406(_0x2b2061,_0x3fc500(0x144))}]}),_0x31d724[_0x3fc500(0x161)](),_0x31d724;}}function _0xcfe2(){const _0x4905b8=['createRange','scrollTo','listenTo','getSelection','349223ijbCQB','ck-ai-form__copy-button','addRange','isVisible','ck-ai-form__content-field','set','217zAeEPv','setEndBefore','smooth','element','AI\x20is\x20writing...','isEnabled','value','_copyHTMLToClipboard','body','execCommand','<span>]</span>','change:isProcessing','createElement','firstElementChild','2941932WkrVon','change:value','setContent','appendChild','2141523eIeYFb','remove','lastElementChild','textContent','120375jiwdjA','_createLoader','text/plain','ck-ai-form__loader','ck-reset_all-excluded','class','scrollHeight','ck-ai-form__content-area--processing','copy','\x20ck-ai-form__copy-button--copied','icon','render','<span>[</span>','ClipboardItem','bindTemplate','querySelector','bind','copyButtonView','contentFieldView','mousedown','focus','setStartAfter','ck-ai-form__content-area','div','removeAllRanges','.ck-ai-form__loader','ck-ai-form__copy-button-wrapper','1206KnpVBM','ck-ai-form__content-area-wrapper','position','ck-hidden','text/html','write','setTemplate','absolute','451384Nacskn','style','116360sXlaGI','left','Copy','locale','ck-content','3168chbGXS','isProcessing','appendLoader','loaderView','wheel','_createCopyButton','clipboard','innerHTML','execute','-9999px'];_0xcfe2=function(){return _0x4905b8;};return _0xcfe2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x525bb5,_0x592625){const _0x1d0fef=_0xf5b7,_0x52f806=_0x525bb5();while(!![]){try{const _0x36ce4a=parseInt(_0x1d0fef(0x136))/0x1+parseInt(_0x1d0fef(0x13e))/0x2+-parseInt(_0x1d0fef(0x13a))/0x3+-parseInt(_0x1d0fef(0x133))/0x4*(parseInt(_0x1d0fef(0x137))/0x5)+parseInt(_0x1d0fef(0x138))/0x6*(-parseInt(_0x1d0fef(0x139))/0x7)+-parseInt(_0x1d0fef(0x13b))/0x8*(-parseInt(_0x1d0fef(0x140))/0x9)+parseInt(_0x1d0fef(0x135))/0xa*(-parseInt(_0x1d0fef(0x141))/0xb);if(_0x36ce4a===_0x592625)break;else _0x52f806['push'](_0x52f806['shift']());}catch(_0x8b1e37){_0x52f806['push'](_0x52f806['shift']());}}}(_0x1f0b,0x6fac0));import{IconError as _0x3bd9ca}from'ckeditor5/src/icons.js';function _0xf5b7(_0x5e7d45,_0xeba8a4){const _0x1f0bd8=_0x1f0b();return _0xf5b7=function(_0xf5b795,_0x41e8e4){_0xf5b795=_0xf5b795-0x130;let _0x11d5ea=_0x1f0bd8[_0xf5b795];return _0x11d5ea;},_0xf5b7(_0x5e7d45,_0xeba8a4);}function _0x1f0b(){const _0x362df1=['set','696462SUzOKG','div','9quHjRZ','11PyLtOT','setTemplate','ck-ai-form__error','text','4OufXcK','bindTemplate','416810tTFown','900404pcXjVS','290545VwfSzY','4542knoJpl','4501sAzjAt','1588638reAbDm','2598880mTHBPm','content'];_0x1f0b=function(){return _0x362df1;};return _0x1f0b();}import{View as _0xd9489,IconView as _0x3369a4}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0xd9489{constructor(_0x45521e,_0x31dbf1=''){const _0x105370=_0xf5b7;super(_0x45521e);const _0x14b01e=new _0x3369a4(),_0x17cde8=this[_0x105370(0x134)];this[_0x105370(0x13d)](_0x105370(0x132),_0x31dbf1),_0x14b01e[_0x105370(0x13c)]=_0x3bd9ca,this[_0x105370(0x130)]({'tag':_0x105370(0x13f),'attributes':{'class':['ck',_0x105370(0x131)]},'children':[_0x14b01e,{'text':_0x17cde8['to'](_0x105370(0x132))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8478d5=_0xc0cb;(function(_0x36d0b1,_0x5d840f){const _0x38706b=_0xc0cb,_0x5452e9=_0x36d0b1();while(!![]){try{const _0x1f6590=parseInt(_0x38706b(0x101))/0x1*(parseInt(_0x38706b(0x129))/0x2)+parseInt(_0x38706b(0xf0))/0x3*(parseInt(_0x38706b(0x125))/0x4)+parseInt(_0x38706b(0x107))/0x5*(-parseInt(_0x38706b(0x123))/0x6)+parseInt(_0x38706b(0x10c))/0x7+parseInt(_0x38706b(0x122))/0x8*(parseInt(_0x38706b(0x10a))/0x9)+parseInt(_0x38706b(0x109))/0xa+-parseInt(_0x38706b(0x124))/0xb;if(_0x1f6590===_0x5d840f)break;else _0x5452e9['push'](_0x5452e9['shift']());}catch(_0x4a5863){_0x5452e9['push'](_0x5452e9['shift']());}}}(_0x4281,0x273c4));import{Rect as _0x3015c4,global as _0x578285,isVisible as _0x11005f}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x5d1b01,IconSubmit as _0x589e15}from'ckeditor5/src/icons.js';function _0x4281(){const _0x494509=['isEmpty','excludeScrollbarsAndBorders','update','right','maxRows','target','render','focusFirst','focusLast','left','requestAnimationFrame','execute','queryView','set','fieldWrapperChildren','minRows','keystrokes','History','isOn','resultsView','Submit','16dzzamf','29826onLwTO','7465128QEgixh','12FDQOUY','add','showHistoryButtonView','_createSubmitButton','40164mreMTs','style','166266DQLzvg','focusableChildren','children','ck-ai-form__submit','isEnabled','uiLanguageDirection','width','bind','filteredView','locale','window','ck-ai-form__toggle-history','submit','focus','fieldView','value','fire','5sreUDs','enter','rtl','element','_createShowHistoryButton','isVisible','10kVWQNQ','submitButtonView','2754860TcNzcj','533718ASVzWD','focusCycler','1319724ZlFRiL'];_0x4281=function(){return _0x494509;};return _0x4281();}import{AutocompleteView as _0x445660,ButtonView as _0x47e712}from'ckeditor5/src/ui.js';function _0xc0cb(_0x3395bf,_0x5e62a7){const _0x4281b5=_0x4281();return _0xc0cb=function(_0xc0cb45,_0x372fb6){_0xc0cb45=_0xc0cb45-0xf0;let _0x10c16c=_0x4281b5[_0xc0cb45];return _0x10c16c;},_0xc0cb(_0x3395bf,_0x5e62a7);}import{getTranslation as _0x97571e}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x445660{[_0x8478d5(0x108)];[_0x8478d5(0x127)];constructor(_0x1a8dc2,_0x921292){const _0x4f5290=_0x8478d5;super(_0x1a8dc2,_0x921292),this[_0x4f5290(0x119)][_0x4f5290(0xfe)][_0x4f5290(0x11c)]=0x1,this[_0x4f5290(0x119)][_0x4f5290(0xfe)][_0x4f5290(0x111)]=0x3,this[_0x4f5290(0x108)]=this[_0x4f5290(0x128)](),this[_0x4f5290(0x127)]=this[_0x4f5290(0x105)](),this[_0x4f5290(0xf1)][_0x4f5290(0x126)](this[_0x4f5290(0x127)],0x1),this[_0x4f5290(0xf1)][_0x4f5290(0x126)](this[_0x4f5290(0x108)]);}[_0x8478d5(0x113)](){const _0x30ce0e=_0x8478d5;super[_0x30ce0e(0x113)](),this[_0x30ce0e(0x119)][_0x30ce0e(0x11b)][_0x30ce0e(0x126)](this[_0x30ce0e(0x127)]),this[_0x30ce0e(0xf2)][_0x30ce0e(0x126)](this[_0x30ce0e(0x108)]),this[_0x30ce0e(0x11d)][_0x30ce0e(0x11a)](_0x30ce0e(0x102),(_0x399ca7,_0x88ad5a)=>{const _0x3190e6=_0x30ce0e;_0x399ca7[_0x3190e6(0x112)]==this[_0x3190e6(0x119)][_0x3190e6(0xfe)][_0x3190e6(0x104)]&&(this[_0x3190e6(0xfc)](),_0x88ad5a());});}[_0x8478d5(0x128)](){const _0x2dc712=_0x8478d5,_0x1bf213=new _0x47e712(this[_0x2dc712(0xf9)]),_0x79d0fc=this[_0x2dc712(0xf9)];return _0x1bf213[_0x2dc712(0x11a)]({'icon':_0x589e15,'label':_0x97571e(_0x79d0fc,_0x2dc712(0x121)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2dc712(0xf3)}),_0x1bf213['on'](_0x2dc712(0x118),()=>{const _0x4fe993=_0x2dc712;this[_0x4fe993(0xfc)]();}),_0x1bf213[_0x2dc712(0xf7)](_0x2dc712(0xf4))['to'](this[_0x2dc712(0x119)][_0x2dc712(0xfe)],_0x2dc712(0x10d),this,_0x2dc712(0xf4),(_0x7aaa3e,_0x3eee1b)=>!_0x7aaa3e&&_0x3eee1b),_0x1bf213;}[_0x8478d5(0x105)](){const _0x3347de=_0x8478d5,_0x555f6a=new _0x47e712(this[_0x3347de(0xf9)]),_0xf0825c=this[_0x3347de(0x120)],_0x15d762=this[_0x3347de(0xf9)];_0x555f6a[_0x3347de(0x11a)]({'label':_0x97571e(_0x15d762,_0x3347de(0x11e)),'withText':!0x1,'icon':_0x5d1b01,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3347de(0xfb)}),_0x555f6a[_0x3347de(0xf7)](_0x3347de(0x11f))['to'](_0xf0825c,_0x3347de(0x106)),_0x555f6a[_0x3347de(0xf7)](_0x3347de(0xf4))['to'](this,_0x3347de(0xf4)),_0x555f6a['on'](_0x3347de(0x118),()=>{const _0x284ef3=_0x3347de;_0xf0825c[_0x284ef3(0x106)]=!_0xf0825c[_0x284ef3(0x106)],_0xf0825c[_0x284ef3(0x106)]?this[_0x284ef3(0xf8)][_0x284ef3(0xfd)]():this[_0x284ef3(0xfd)]();});const _0x34e3c8=()=>{const _0x47e76c=_0x3347de;_0x578285[_0x47e76c(0xfa)][_0x47e76c(0x117)](()=>{const _0x1b13ff=_0x47e76c;if(_0x11005f(this[_0x1b13ff(0x104)])){const _0x4270ff=new _0x3015c4(this[_0x1b13ff(0x119)][_0x1b13ff(0xfe)][_0x1b13ff(0x104)]),_0x470a66=_0x4270ff[_0x1b13ff(0xf6)],_0x4b5c46=_0x1b13ff(0x103)===_0x15d762[_0x1b13ff(0xf5)]?_0x1b13ff(0x116):_0x1b13ff(0x110);_0x4270ff[_0x1b13ff(0x10e)](),_0x555f6a[_0x1b13ff(0x104)][_0x1b13ff(0x12a)][_0x4b5c46]=_0x470a66-_0x4270ff[_0x1b13ff(0xf6)]+0x1+'px';}});};return this[_0x3347de(0x119)][_0x3347de(0xfe)]['on'](_0x3347de(0x10f),_0x34e3c8),this['on'](_0x3347de(0x113),_0x34e3c8),_0x555f6a;}[_0x8478d5(0xfc)](){const _0x27858b=_0x8478d5,_0x215689=this[_0x27858b(0x119)][_0x27858b(0xfe)][_0x27858b(0x104)][_0x27858b(0xff)];this[_0x27858b(0x100)](_0x27858b(0xfc),_0x215689);}[_0x8478d5(0xfd)](_0x420419){const _0x113f05=_0x8478d5;-0x1===_0x420419?this[_0x113f05(0x10b)][_0x113f05(0x115)]():this[_0x113f05(0x10b)][_0x113f05(0x114)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5675(_0xfe4bc9,_0xf40e7e){const _0x480f9e=_0x480f();return _0x5675=function(_0x567507,_0x290ad5){_0x567507=_0x567507-0x143;let _0x5c73a1=_0x480f9e[_0x567507];return _0x5c73a1;},_0x5675(_0xfe4bc9,_0xf40e7e);}const _0x278baf=_0x5675;(function(_0x2e48cd,_0x90997b){const _0x274eef=_0x5675,_0x500146=_0x2e48cd();while(!![]){try{const _0x1f41c0=-parseInt(_0x274eef(0x14f))/0x1+parseInt(_0x274eef(0x158))/0x2+parseInt(_0x274eef(0x146))/0x3+parseInt(_0x274eef(0x150))/0x4+-parseInt(_0x274eef(0x153))/0x5+-parseInt(_0x274eef(0x162))/0x6*(-parseInt(_0x274eef(0x15f))/0x7)+-parseInt(_0x274eef(0x161))/0x8;if(_0x1f41c0===_0x90997b)break;else _0x500146['push'](_0x500146['shift']());}catch(_0x1cbb94){_0x500146['push'](_0x500146['shift']());}}}(_0x480f,0xd9e17));import{ToolbarView as _0x5747c5,ButtonView as _0x4b5cd1}from'ckeditor5/src/ui.js';function _0x480f(){const _0x15fa41=['14930000qtmfaM','7980312phsNJe','Insert\x20below','ck-hidden','Stop','tryAgainButton','bindTemplate','items','2618772QgPrFq','locale','_createButton','isVisible','bind','replaceButton','REPLACE','insert','extendTemplate','973443kCNMVc','6827692miLjcu','_CONTENT','ck-ai-form__toolbar','6216300InZZPE','ck-button-action','insertButton','Try\x20again','mainAction','2130986OzTpXj','label','addMany','AI_','set','replace','toUpperCase','7UiIzCO','stopButton'];_0x480f=function(){return _0x15fa41;};return _0x480f();}import{getTranslation as _0x4498f8}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x278baf(0x15d),'INSERT':_0x278baf(0x14d)};export class AIFormToolbarView extends _0x5747c5{constructor(_0x97aa58){const _0x8c38d9=_0x278baf;super(_0x97aa58),this[_0x8c38d9(0x15c)](_0x8c38d9(0x149),!0x1),this[_0x8c38d9(0x15c)](_0x8c38d9(0x157),AIFormToolbarViewMainActionLabel[_0x8c38d9(0x14c)]),this[_0x8c38d9(0x14b)]=this[_0x8c38d9(0x148)]('',_0x8c38d9(0x154)),this[_0x8c38d9(0x14b)][_0x8c38d9(0x14a)](_0x8c38d9(0x159))['to'](this,_0x8c38d9(0x157),_0x5a6949=>_0x4498f8(_0x97aa58,_0x8c38d9(0x15b)+_0x5a6949[_0x8c38d9(0x15e)]()+_0x8c38d9(0x151))),this[_0x8c38d9(0x155)]=this[_0x8c38d9(0x148)](_0x4498f8(_0x97aa58,_0x8c38d9(0x163))),this[_0x8c38d9(0x143)]=this[_0x8c38d9(0x148)](_0x4498f8(_0x97aa58,_0x8c38d9(0x156))),this[_0x8c38d9(0x160)]=this[_0x8c38d9(0x148)](_0x4498f8(_0x97aa58,_0x8c38d9(0x165)));const _0x35a1a6=this[_0x8c38d9(0x144)];this[_0x8c38d9(0x14e)]({'attributes':{'class':[_0x8c38d9(0x152),_0x35a1a6['if'](_0x8c38d9(0x149),_0x8c38d9(0x164),_0x1e95cd=>!_0x1e95cd)]}}),this[_0x8c38d9(0x145)][_0x8c38d9(0x15a)]([this[_0x8c38d9(0x14b)],this[_0x8c38d9(0x155)],this[_0x8c38d9(0x143)],this[_0x8c38d9(0x160)]]);}[_0x278baf(0x148)](_0x4bd761,_0x4731a0){const _0x29860d=_0x278baf,_0x36d6cd=new _0x4b5cd1(this[_0x29860d(0x147)]);return _0x36d6cd[_0x29860d(0x15c)]({'label':_0x4bd761,'class':_0x4731a0||'','isVisible':!0x0,'withText':!0x0}),_0x36d6cd;}}
|