@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +17 -2
- package/dist/index.css +18 -2
- 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 +1 -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.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +2 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +6 -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/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.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.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.d.ts +6 -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/augmentation.d.ts +6 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aisuggestioncontainer.css +8 -2
- package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf9938c=_0x28ff;(function(_0x5a6b8a,_0x42fead){const _0x8705b1=_0x28ff,_0x2b9020=_0x5a6b8a();while(!![]){try{const _0x29b025=-parseInt(_0x8705b1(0x1c1))/0x1*(parseInt(_0x8705b1(0x1c5))/0x2)+parseInt(_0x8705b1(0x19c))/0x3+-parseInt(_0x8705b1(0x1d0))/0x4*(-parseInt(_0x8705b1(0x194))/0x5)+-parseInt(_0x8705b1(0x18e))/0x6+parseInt(_0x8705b1(0x1c3))/0x7+parseInt(_0x8705b1(0x1ca))/0x8+-parseInt(_0x8705b1(0x19b))/0x9*(parseInt(_0x8705b1(0x19f))/0xa);if(_0x29b025===_0x42fead)break;else _0x2b9020['push'](_0x2b9020['shift']());}catch(_0x128a9a){_0x2b9020['push'](_0x2b9020['shift']());}}}(_0x167a,0xed067));import{uid as _0x19c9d3}from'ckeditor5/src/utils.js';import{Plugin as _0x3e020f}from'ckeditor5/src/core.js';function _0x28ff(_0x1ae86f,_0x172868){const _0x167a61=_0x167a();return _0x28ff=function(_0x28ff3d,_0xc2d7ee){_0x28ff3d=_0x28ff3d-0x163;let _0x1fc135=_0x167a61[_0x28ff3d];return _0x1fc135;},_0x28ff(_0x1ae86f,_0x172868);}import{ClipboardPipeline as _0x212add}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xca3d26,ViewDataTransfer as _0x4ddb20}from'ckeditor5/src/engine.js';const it=globalThis[_0xf9938c(0x182)],ot=_0xf9938c(0x192);function _0x167a(){const _0x592edf=['_prepareTableInsertBelowPosition','ai.assistant.useTheme','getRange','afterInit','editing','markerRange','filter','addMarker','getSelectedTableCells','_pasteHTMLUsingClipboard','4556574RZwcRp','getChild','last','canEditAt','ai-ui','insertContentBelow','340KEaTXW','schema','isPremiumPlugin','removeMarker','editingDowncast','has','ck-ai-assistant-ui_theme','35583741uXlYrt','5384757Spqwyc','getLastPosition','push','10YrirbR','_createEmptyTableRows','join','hideFakeVisualSelection','createPositionAt','length','from','lowest','selection','_getTableRowCountFromContent','getMarkersGroup','document','isOfficialPlugin','table','isAtEnd','setSelection','insertContent','map','editor','init','createSelection','href','createUIElement','for','start','plugins','once','pluginName','AIAssistantEditing','get','getSelectedBlocks','deleteContent','_getDefaultInsertBelowPosition','createPositionAfter','13GhYIZn','updateMarker','5618046dOhmch','markerToHighlight','4306FYglHc','markerToElement','getRows','first','element','11409224MYlqTJ','config','TableUtils','insertRows','getRanges','resultRange','99316tmIJwE','model','getChildren','fromCharCode','span','_getAISelection','data','conversion','ck-fake-ai-selection_collapsed','getLastMatchingPosition','getColumnIndexes','fire','paste','parse','isContent','_resetContentOfSelectedTableCells','forEach','setData','end','createRange','markers','change','text/html','ck-fake-ai-selection','getFirstRange','contentInsertion','findAncestor','pop','showFakeVisualSelection','off','getRowIndexes','addClass','DataTransfer','isCollapsed'];_0x167a=function(){return _0x592edf;};return _0x167a();}export class AIAssistantEditing extends _0x3e020f{static get[_0xf9938c(0x1ba)](){const _0x4c55b0=_0xf9938c;return _0x4c55b0(0x1bb);}static get[_0xf9938c(0x1ab)](){return!0x0;}static get[_0xf9938c(0x196)](){return!0x0;}[_0xf9938c(0x1b2)](){const _0x42bdc3=_0xf9938c,{editor:_0x22f094}=this,_0x4318c4=[_0x42bdc3(0x179)];_0x22f094[_0x42bdc3(0x1cb)][_0x42bdc3(0x1bc)](_0x42bdc3(0x185))&&_0x4318c4[_0x42bdc3(0x19e)](_0x42bdc3(0x19a)),_0x22f094[_0x42bdc3(0x169)][_0x42bdc3(0x1b6)](_0x42bdc3(0x198))[_0x42bdc3(0x1c4)]({'model':ot,'view':{'classes':_0x4318c4,'priority':0xc}}),_0x22f094[_0x42bdc3(0x169)][_0x42bdc3(0x1b6)](_0x42bdc3(0x198))[_0x42bdc3(0x1c6)]({'model':ot,'view':(_0x36b7fb,{writer:_0x2d27ec})=>{const _0x31a707=_0x42bdc3;if(!_0x36b7fb[_0x31a707(0x189)][_0x31a707(0x183)])return null;const _0x1d99ad=_0x2d27ec[_0x31a707(0x1b5)](_0x31a707(0x166));return _0x2d27ec[_0x31a707(0x181)]([_0x31a707(0x179),_0x31a707(0x16a)],_0x1d99ad),_0x1d99ad;}});}[_0xf9938c(0x187)](){!async function(_0x9b12cb){const _0x47c155=_0x124380([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]),_0x3c782a=0x3dffc4e1,_0xecfe4c=0x3df8b021^_0x3c782a,_0x447fb2=window[_0x124380([0x44,0x61,0x74,0x65])][_0x124380([0x6e,0x6f,0x77])](),_0x19c310=_0x9b12cb[_0x124380([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x529109=new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5878d1=>{_0x19c310[_0x124380([0x6f,0x6e,0x63,0x65])](_0x124380([0x72,0x65,0x61,0x64,0x79]),_0x5878d1);}),_0x3caad5={[_0x124380([0x6b,0x74,0x79])]:_0x124380([0x45,0x43]),[_0x124380([0x75,0x73,0x65])]:_0x124380([0x73,0x69,0x67]),[_0x124380([0x63,0x72,0x76])]:_0x124380([0x50,0x2d,0x32,0x35,0x36]),[_0x124380([0x78])]:_0x124380([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]),[_0x124380([0x79])]:_0x124380([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]),[_0x124380([0x61,0x6c,0x67])]:_0x124380([0x45,0x53,0x32,0x35,0x36])},_0x4acf5e=_0x19c310[_0x124380([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x124380([0x67,0x65,0x74])](_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6ae923(){let _0x3fe7e2,_0x207329=null,_0x405706=null;try{if(_0x4acf5e==_0x124380([0x47,0x50,0x4c]))return _0x124380([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fe7e2=_0x128383(),!_0x3fe7e2)return _0x124380([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fe7e2[_0x124380([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x405706=_0x523d7c(_0x3fe7e2[_0x124380([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fe7e2[_0x124380([0x6a,0x74,0x69])])),await _0x42a6f5()?_0x575fc8()?_0x14a4d7()?_0x124380([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5417f1()?(_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x124380([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x207329=_0x20db43(_0x124380([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x124380([0x74,0x72,0x69,0x61,0x6c])&&(_0x207329=_0x20db43(_0x124380([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x89d895()):_0x124380([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x124380([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x124380([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x124380([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14a4d7(){const _0x45d5c8=[_0x124380([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x124380([0x74,0x72,0x69,0x61,0x6c])][_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x447fb2/0x3e8:0xe10*_0xecfe4c;return _0x3fe7e2[_0x124380([0x65,0x78,0x70])]<_0x45d5c8;}function _0x575fc8(){const _0xfd80b3=_0x3fe7e2[_0x124380([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xfd80b3&&(!!_0xfd80b3[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x124380([0x2a]))||!!_0xfd80b3[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x124380([0x41,0x49])));}function _0x5417f1(){const _0x5442ee=_0x28ff,_0x4c942d=_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c942d||0x0==_0x4c942d[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3aa665}=new URL(window[_0x124380([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5442ee(0x1b4)]);if(_0x4c942d[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aa665))return!0x0;const _0x1f700d=_0x3aa665[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e]));return _0x4c942d[_0x124380([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f2437=>_0x2f2437[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x124380([0x2a])))[_0x124380([0x6d,0x61,0x70])](_0x3f17d2=>_0x3f17d2[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e])))[_0x124380([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2084c4=>_0x2084c4[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f700d[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x124380([0x6d,0x61,0x70])](_0x2310a1=>Array(_0x1f700d[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2310a1[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x124380([0x66,0x69,0x6c,0x6c])](_0x2310a1[0x0]===_0x124380([0x2a])?_0x124380([0x2a]):'')[_0x124380([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2310a1))[_0x124380([0x73,0x6f,0x6d,0x65])](_0x5f5443=>_0x1f700d[_0x124380([0x65,0x76,0x65,0x72,0x79])]((_0x538e8d,_0x58fdde)=>_0x5f5443[_0x58fdde]===_0x538e8d||_0x5f5443[_0x58fdde]===_0x124380([0x2a])));}function _0x89d895(){return _0x207329&&_0x405706?new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x490629,_0x1e8b45)=>{_0x207329[_0x124380([0x74,0x68,0x65,0x6e])](_0x490629,_0x1e8b45),_0x405706[_0x124380([0x74,0x68,0x65,0x6e])](_0x15c786=>{_0x15c786!=_0x124380([0x56,0x61,0x6c,0x69,0x64])&&_0x490629(_0x15c786);},_0x1e8b45);}):_0x207329||_0x405706||_0x124380([0x56,0x61,0x6c,0x69,0x64]);}}function _0x523d7c(_0xca140f,_0xdb1eb0){return new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47485b=>{if(_0x191369())return _0x47485b(_0x124380([0x56,0x61,0x6c,0x69,0x64]));_0x3d2b7d(),_0x19c310[_0x124380([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x124380([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f5360=!0x1;const _0x5e90d9=_0x19c9d3();function _0x1653a7(_0x4a5c5e){return!!_0x4a5c5e&&(typeof _0x4a5c5e===_0x124380([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a5c5e===_0x124380([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a5c5e[_0x124380([0x74,0x68,0x65,0x6e])]===_0x124380([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a5c5e[_0x124380([0x63,0x61,0x74,0x63,0x68])]===_0x124380([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x509ca7(_0x511702){_0x3e1539(_0x511702)[_0x124380([0x74,0x68,0x65,0x6e])](_0x3c11e7=>{if(!_0x3c11e7||_0x3c11e7[_0x124380([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x124380([0x6f,0x6b]))return _0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a297c(_0x53c299(_0x5e90d9+_0xdb1eb0))!=_0x3c11e7[_0x124380([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x124380([0x56,0x61,0x6c,0x69,0x64]);})[_0x124380([0x74,0x68,0x65,0x6e])](_0x134a69=>(_0x5d5bff(),_0x134a69),()=>{const _0x11e675=_0x22d936();return null==_0x11e675?(_0x5d5bff(),_0x124380([0x56,0x61,0x6c,0x69,0x64])):_0x124380(_0x447fb2-_0x11e675>(0x19f340e1^_0x3c782a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x124380([0x74,0x68,0x65,0x6e])](_0x47485b)[_0x124380([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47485b(_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x180cb9=0x3dc92a61^_0x3c782a;function _0x5d5bff(){const _0x1165d5=_0x124380([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a297c(_0x53c299(_0xca140f)),_0x44d143=_0x1fd55c(_0x5a297c(window[_0x124380([0x4d,0x61,0x74,0x68])][_0x124380([0x63,0x65,0x69,0x6c])](_0x447fb2/_0x180cb9)));window[_0x124380([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x124380([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1165d5,_0x44d143);}function _0x22d936(){const _0x580eed=_0x124380([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a297c(_0x53c299(_0xca140f)),_0x3dfe14=window[_0x124380([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x124380([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x580eed);return _0x3dfe14?window[_0x124380([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fd55c(_0x3dfe14),0x10)*_0x180cb9:null;}function _0x3e1539(_0x552af9){return new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28f9ff,_0x3b608d)=>{_0x552af9[_0x124380([0x74,0x68,0x65,0x6e])](_0x28f9ff,_0x3b608d),window[_0x124380([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b608d,0x3dfe1021^_0x3c782a);});}}_0x19c310[_0x124380([0x6f,0x6e])](_0x124380([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4271bc,_0x29a1a8)=>{if(_0x29a1a8[0x0]!=_0xca140f)return _0x47485b(_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29a1a8[0x1]={..._0x29a1a8[0x1],[_0x124380([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e90d9};},{[_0x124380([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x124380([0x68,0x69,0x67,0x68])}),_0x19c310[_0x124380([0x6f,0x6e])](_0x124380([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e3a39=>{_0x1653a7(_0x1e3a39[_0x124380([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f5360=!0x0,_0x509ca7(_0x1e3a39[_0x124380([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x124380([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x124380([0x6c,0x6f,0x77])}),_0x529109[_0x124380([0x74,0x68,0x65,0x6e])](()=>{_0x1f5360||_0x47485b(_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x191369(){return _0x19c310[_0x124380([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x124380([0x76,0x69,0x65,0x77])][_0x124380([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x124380([0x61,0x75,0x74,0x6f]);}function _0x3d2b7d(){_0x19c310[_0x124380([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x124380([0x76,0x69,0x65,0x77])][_0x124380([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x124380([0x61,0x75,0x74,0x6f]);}}function _0x20db43(_0x3eccab){const _0xa443e=[new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29dafe=>setTimeout(_0x29dafe,0x3df6fa2d^_0x3c782a)),_0x529109[_0x124380([0x74,0x68,0x65,0x6e])](()=>new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31affa=>{let _0x5ebd31=0x0;_0x19c310[_0x124380([0x6d,0x6f,0x64,0x65,0x6c])][_0x124380([0x6f,0x6e])](_0x124380([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b37aa,_0x295dd7)=>{_0x295dd7[0x0][_0x124380([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ebd31++,_0x5ebd31==(0x3dffc519^_0x3c782a)&&(_0x31affa(),_0x1b37aa[_0x124380([0x6f,0x66,0x66])]());});}))];return window[_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x124380([0x72,0x61,0x63,0x65])](_0xa443e)[_0x124380([0x74,0x68,0x65,0x6e])](()=>_0x3eccab);}async function _0x19c339(){await _0x529109,_0x19c310[_0x124380([0x6d,0x6f,0x64,0x65,0x6c])][_0x124380([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c9f1f,_0x19c310[_0x124380([0x6d,0x6f,0x64,0x65,0x6c])][_0x124380([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c9f1f,_0x19c310[_0x124380([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x124380([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55a6aa(_0x44f8ed){const _0x32f629=_0x211e7e();_0x19c310[_0x32f629]=_0x124380([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44f8ed,_0x44f8ed!=_0x124380([0x56,0x61,0x6c,0x69,0x64])&&_0x19c339();}function _0x211e7e(){const _0x12458f=window[_0x124380([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x124380([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x124380([0x6e,0x6f,0x77])]())[_0x124380([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x124380([0x2e]),'');let _0x5aaad6=_0x124380([0x6e]);for(let _0x22dd49=0x0;_0x22dd49<_0x12458f[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22dd49+=0x2){let _0x142842=window[_0x124380([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12458f[_0x124380([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22dd49,_0x22dd49+0x2));_0x142842>=_0x47c155[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x142842-=_0x47c155[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5aaad6+=_0x47c155[_0x142842];}return _0x5aaad6;}function _0x128383(){const _0x37e8a6=_0x4acf5e[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e]));if(0x3!=_0x37e8a6[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x141ac1(_0x37e8a6[0x1]);function _0x141ac1(_0xa07746){const _0x3c41f1=_0x434372(_0xa07746);return _0x3c41f1&&_0x4da66c()?_0x3c41f1:null;function _0x4da66c(){const _0x4299c9=_0x3c41f1[_0x124380([0x6a,0x74,0x69])],_0x5479af=window[_0x124380([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4299c9[_0x124380([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4299c9[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ee372={..._0x3c41f1,[_0x124380([0x6a,0x74,0x69])]:_0x4299c9[_0x124380([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4299c9[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ee372[_0x124380([0x76,0x63])],_0x53c299(_0x5ee372)==_0x5479af;}}}async function _0x42a6f5(){let _0x47283d=!0x0;try{const _0x1afeaa=_0x4acf5e[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e])),[_0x243786,_0x46ae7b,_0x3c0f1d]=_0x1afeaa;return _0x19093b(_0x243786),await _0x290b1c(_0x243786,_0x46ae7b,_0x3c0f1d),_0x47283d;}catch{return!0x1;}function _0x19093b(_0x5033bb){const _0x5c669b=_0x434372(_0x5033bb);_0x5c669b&&_0x5c669b[_0x124380([0x61,0x6c,0x67])]==_0x124380([0x45,0x53,0x32,0x35,0x36])||(_0x47283d=!0x1);}async function _0x290b1c(_0x3ee544,_0x5d2532,_0x161b6c){const _0x2d1781=window[_0x124380([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x124380([0x66,0x72,0x6f,0x6d])](_0xb1dc89(_0x161b6c),_0x25b50c=>_0x25b50c[_0x124380([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x540da9=new window[(_0x124380([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x124380([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ee544+_0x124380([0x2e])+_0x5d2532),_0x1c50bd=window[_0x124380([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x124380([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c50bd)return;const _0x11d62a=await _0x1c50bd[_0x124380([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x124380([0x6a,0x77,0x6b]),_0x3caad5,{[_0x124380([0x6e,0x61,0x6d,0x65])]:_0x124380([0x45,0x43,0x44,0x53,0x41]),[_0x124380([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x124380([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x124380([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c50bd[_0x124380([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x124380([0x6e,0x61,0x6d,0x65])]:_0x124380([0x45,0x43,0x44,0x53,0x41]),[_0x124380([0x68,0x61,0x73,0x68])]:{[_0x124380([0x6e,0x61,0x6d,0x65])]:_0x124380([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11d62a,_0x2d1781,_0x540da9)||(_0x47283d=!0x1);}}function _0x434372(_0x3ff346){return _0x3ff346[_0x124380([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x124380([0x65,0x79]))?JSON[_0x124380([0x70,0x61,0x72,0x73,0x65])](_0xb1dc89(_0x3ff346)):null;}function _0xb1dc89(_0x2fb699){return window[_0x124380([0x61,0x74,0x6f,0x62])](_0x2fb699[_0x124380([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x124380([0x2b]))[_0x124380([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x124380([0x2f])));}function _0x53c299(_0x3b4196){let _0x2f71a0=0x1505;function _0x115c02(_0x29d120){for(let _0x3e3644=0x0;_0x3e3644<_0x29d120[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e3644++){const _0x19e2ed=_0x29d120[_0x124380([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e3644);_0x2f71a0=(_0x2f71a0<<0x5)+_0x2f71a0+_0x19e2ed,_0x2f71a0&=_0x2f71a0;}}function _0x20a408(_0x239ee7){Array[_0x124380([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x239ee7)?_0x239ee7[_0x124380([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20a408):_0x239ee7&&typeof _0x239ee7==_0x124380([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x124380([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x239ee7)[_0x124380([0x73,0x6f,0x72,0x74])]()[_0x124380([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b98ab,_0x1d8ead])=>{_0x115c02(_0x1b98ab),_0x20a408(_0x1d8ead);}):_0x115c02(window[_0x124380([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x239ee7));}return _0x20a408(_0x3b4196),_0x2f71a0>>>0x0;}function _0x5a297c(_0x3a7f73){return _0x3a7f73[_0x124380([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x124380([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x124380([0x30]));}function _0x1fd55c(_0x21f56f){return _0x21f56f[_0x124380([0x73,0x70,0x6c,0x69,0x74])]('')[_0x124380([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x124380([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c9f1f(){}function _0x124380(_0x839eac){const _0x4fc991=_0x28ff;return _0x839eac[_0x4fc991(0x1b0)](_0x5b4e47=>String[_0x4fc991(0x165)](_0x5b4e47))[_0x4fc991(0x1a1)]('');}_0x55a6aa(await _0x6ae923());}(this);}[_0xf9938c(0x17e)](){const _0x7be59f=_0xf9938c,_0x2f12ae=this[_0x7be59f(0x1b1)][_0x7be59f(0x163)];_0x2f12ae[_0x7be59f(0x177)](_0x166776=>{const _0x4f16ee=_0x7be59f,_0x2f171c=_0x2f12ae[_0x4f16ee(0x1aa)][_0x4f16ee(0x1a7)][_0x4f16ee(0x1ce)]();let _0x3dab28=0x0;for(const _0x5cd9a3 of _0x2f171c){const _0x5ba2aa=ot+':'+_0x3dab28;if(_0x2f12ae[_0x4f16ee(0x176)][_0x4f16ee(0x199)](_0x5ba2aa))_0x166776[_0x4f16ee(0x1c2)](_0x5ba2aa,{'range':_0x5cd9a3});else{if(_0x5cd9a3[_0x4f16ee(0x1b7)][_0x4f16ee(0x1ad)]){const _0x394e09=_0x5cd9a3[_0x4f16ee(0x1b7)][_0x4f16ee(0x16b)](({item:_0x21c62b})=>!_0x2f12ae[_0x4f16ee(0x195)][_0x4f16ee(0x170)](_0x21c62b),{'boundaries':_0x5cd9a3});_0x166776[_0x4f16ee(0x18b)](_0x5ba2aa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x166776[_0x4f16ee(0x175)](_0x394e09,_0x5cd9a3[_0x4f16ee(0x174)])});}else _0x166776[_0x4f16ee(0x18b)](_0x5ba2aa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5cd9a3});}_0x3dab28++;}});}[_0xf9938c(0x1a2)](){const _0x5628a5=_0xf9938c,_0x29ea37=this[_0x5628a5(0x1b1)][_0x5628a5(0x163)],_0xadf2a9=Array[_0x5628a5(0x1a5)](this[_0x5628a5(0x1b1)][_0x5628a5(0x163)][_0x5628a5(0x176)][_0x5628a5(0x1a9)](ot));_0xadf2a9[_0x5628a5(0x1a4)]&&_0x29ea37[_0x5628a5(0x177)](_0x15cef6=>{const _0x248be3=_0x5628a5;_0xadf2a9[_0x248be3(0x172)](_0x3f9402=>{const _0x23f31c=_0x248be3;_0x15cef6[_0x23f31c(0x197)](_0x3f9402);});});}[_0xf9938c(0x1af)](_0x210fad,_0x49641a){const _0x4f375e=_0xf9938c,_0x36b7ee=this[_0x4f375e(0x167)](),_0x4cfde1=_0x49641a||_0x36b7ee[_0x4f375e(0x17a)]();this[_0x4f375e(0x1b1)][_0x4f375e(0x163)][_0x4f375e(0x191)](_0x4cfde1)&&this[_0x4f375e(0x1b1)][_0x4f375e(0x163)][_0x4f375e(0x177)](_0xd0cae2=>{const _0x1d6787=_0x4f375e;this[_0x1d6787(0x1a2)](),_0x49641a||this[_0x1d6787(0x171)](_0xd0cae2,_0x36b7ee),this[_0x1d6787(0x18d)]({'insertAt':_0x4cfde1,'writer':_0xd0cae2,'html':_0x210fad});});}[_0xf9938c(0x193)](_0x280d5e){const _0x159477=_0xf9938c,{model:_0x2c4500}=this[_0x159477(0x1b1)],_0x1b6d98=this[_0x159477(0x167)]();_0x2c4500[_0x159477(0x177)](()=>{const _0x571dd2=_0x159477,_0x4bef6e=this[_0x571dd2(0x184)](_0x280d5e,_0x1b6d98)||this[_0x571dd2(0x1bf)](_0x1b6d98);this[_0x571dd2(0x1af)](_0x280d5e,_0x4bef6e);});}[_0xf9938c(0x167)](){const _0x7967a4=_0xf9938c,_0x175a8b=this[_0x7967a4(0x1b1)][_0x7967a4(0x163)],_0x32e05a=Array[_0x7967a4(0x1a5)](_0x175a8b[_0x7967a4(0x176)][_0x7967a4(0x1a9)](ot))[_0x7967a4(0x1b0)](_0x373a08=>_0x373a08[_0x7967a4(0x186)]());return _0x175a8b[_0x7967a4(0x1b3)](_0x32e05a);}[_0xf9938c(0x18d)]({writer:_0x482695,html:_0x29434d,insertAt:_0x2396e7}){const _0x436b1a=_0xf9938c,{view:_0x663c07}=this[_0x436b1a(0x1b1)][_0x436b1a(0x188)],_0x1436f4=this[_0x436b1a(0x1b1)][_0x436b1a(0x1b8)][_0x436b1a(0x1bc)](_0x212add),_0x34471a=new it();_0x34471a[_0x436b1a(0x173)](_0x436b1a(0x178),_0x29434d);const _0x46f045=new ClipboardEvent(_0x436b1a(0x16e),{'clipboardData':_0x34471a}),_0x47801b=new _0xca3d26(_0x663c07,_0x46f045,{'dataTransfer':new _0x4ddb20(_0x34471a)});_0x482695[_0x436b1a(0x1ae)](_0x2396e7);const _0x2448dd=(_0x1f377a,_0x113f92)=>{const _0x167944=_0x436b1a;_0x113f92[_0x167944(0x1cf)]&&_0x482695[_0x167944(0x1ae)](_0x113f92[_0x167944(0x1cf)]);};_0x1436f4[_0x436b1a(0x1b9)](_0x436b1a(0x17b),_0x2448dd,{'priority':_0x436b1a(0x1a6)}),_0x663c07[_0x436b1a(0x1aa)][_0x436b1a(0x16d)](_0x436b1a(0x16e),_0x47801b),_0x1436f4[_0x436b1a(0x17f)](_0x436b1a(0x17b),_0x2448dd);}[_0xf9938c(0x1bf)](_0x1c15ab){const _0x562c6d=_0xf9938c,{model:_0xf1a377}=this[_0x562c6d(0x1b1)],_0x3be426=Array[_0x562c6d(0x1a5)](_0x1c15ab[_0x562c6d(0x1bd)]());return _0x3be426[_0x562c6d(0x1a4)]?_0xf1a377[_0x562c6d(0x1c0)](_0x3be426[_0x562c6d(0x17d)]()):_0x1c15ab[_0x562c6d(0x19d)]();}[_0xf9938c(0x184)](_0x5c6235,_0x3eeadd){const _0x4086f8=_0xf9938c,{model:_0x31cb31,plugins:_0x2079b5}=this[_0x4086f8(0x1b1)];if(_0x2079b5[_0x4086f8(0x199)](_0x4086f8(0x1cc))){const _0x25fb40=_0x2079b5[_0x4086f8(0x1bc)](_0x4086f8(0x1cc))[_0x4086f8(0x18c)](_0x3eeadd);if(_0x25fb40[_0x4086f8(0x1a4)]){const _0x155e4a=this[_0x4086f8(0x1a8)](_0x5c6235),_0x2df168=this[_0x4086f8(0x1a0)](_0x25fb40,_0x155e4a);return _0x31cb31[_0x4086f8(0x1a3)](_0x2df168,0x0);}}return null;}[_0xf9938c(0x1a8)](_0x2fdfd0){const _0x4f1fe7=_0xf9938c,_0x5acca0=this[_0x4f1fe7(0x1b1)][_0x4f1fe7(0x1b8)][_0x4f1fe7(0x1bc)](_0x4f1fe7(0x1cc)),_0x487dbb=this[_0x4f1fe7(0x1b1)][_0x4f1fe7(0x168)][_0x4f1fe7(0x16f)](_0x2fdfd0),_0x2bdbff=Array[_0x4f1fe7(0x1a5)](_0x487dbb[_0x4f1fe7(0x164)]())[_0x4f1fe7(0x18a)](_0x52db49=>_0x52db49['is'](_0x4f1fe7(0x1c9),_0x4f1fe7(0x1ac)));let _0x478117=0x0;return _0x2bdbff[_0x4f1fe7(0x172)](_0x3533e3=>{const _0x4a945c=_0x4f1fe7;_0x478117+=_0x5acca0[_0x4a945c(0x1c7)](_0x3533e3);}),_0x478117;}[_0xf9938c(0x1a0)](_0x5a9d77,_0x29aa9f){const _0x2180f7=_0xf9938c,_0x30964d=this[_0x2180f7(0x1b1)][_0x2180f7(0x1b8)][_0x2180f7(0x1bc)](_0x2180f7(0x1cc)),_0x8fb2b6=_0x30964d[_0x2180f7(0x180)](_0x5a9d77),_0x28a16d=_0x30964d[_0x2180f7(0x16c)](_0x5a9d77),_0x110b7e=_0x8fb2b6[_0x2180f7(0x190)]+0x1,_0x4efb3b=_0x28a16d[_0x2180f7(0x1c8)],_0x342c5d=_0x5a9d77[0x0][_0x2180f7(0x17c)](_0x2180f7(0x1ac));for(let _0x52a3ea=0x0;_0x52a3ea<_0x29aa9f;_0x52a3ea++)_0x30964d[_0x2180f7(0x1cd)](_0x342c5d,{'at':_0x110b7e});return _0x342c5d[_0x2180f7(0x18f)](_0x110b7e)[_0x2180f7(0x18f)](_0x4efb3b);}[_0xf9938c(0x171)](_0xc3256d,_0x4e68a0){const _0x1570a2=_0xf9938c,{plugins:_0x9456b1}=this[_0x1570a2(0x1b1)],{model:_0x50eaed}=_0xc3256d;if(!_0x9456b1[_0x1570a2(0x199)](_0x1570a2(0x1cc)))return;_0x9456b1[_0x1570a2(0x1bc)](_0x1570a2(0x1cc))[_0x1570a2(0x18c)](_0x4e68a0)[_0x1570a2(0x1a4)]&&_0x50eaed[_0x1570a2(0x1be)](_0x4e68a0);}}
|
|
23
|
+
function _0x9a32(){const _0x36e0dd=['_getAISelection','join','getChild','isAtEnd','DataTransfer','editing','forEach','getRange','last','length','map','once','_getDefaultInsertBelowPosition','model','conversion','createPositionAt','push','createPositionAfter','251680QTmrIs','element','getLastMatchingPosition','markers','off','isPremiumPlugin','deleteContent','getLastPosition','updateMarker','_pasteHTMLUsingClipboard','for','href','AIAssistantEditing','setData','insertContentBelow','paste','editingDowncast','markerToHighlight','addMarker','start','document','init','isCollapsed','span','pluginName','ck-fake-ai-selection','createSelection','lowest','markerToElement','isOfficialPlugin','table','ai-ui','_createEmptyTableRows','_resetContentOfSelectedTableCells','removeMarker','getSelectedBlocks','hideFakeVisualSelection','resultRange','fire','_getTableRowCountFromContent','config','getFirstRange','747befcmk','first','6086120yhEReE','insertContent','2787uhPEco','createUIElement','getSelectedTableCells','getRanges','showFakeVisualSelection','end','TableUtils','createRange','getChildren','insertRows','getColumnIndexes','_prepareTableInsertBelowPosition','canEditAt','fromCharCode','addClass','pop','plugins','afterInit','ck-fake-ai-selection_collapsed','change','ai.assistant.useTheme','isContent','ck-ai-assistant-ui_theme','14oRSyFz','markerRange','setSelection','6765055nqrIBt','7036bNzrRD','schema','parse','get','2221242wwuxPE','contentInsertion','findAncestor','95350dlxlnc','editor','data','selection','getRowIndexes','from','filter','40241509WiLwbr','text/html','getMarkersGroup','getRows','has','6PZLiCN'];_0x9a32=function(){return _0x36e0dd;};return _0x9a32();}const _0x332ddc=_0x1b49;(function(_0x16eaa0,_0x44db6c){const _0x224f76=_0x1b49,_0x610c60=_0x16eaa0();while(!![]){try{const _0x29215d=-parseInt(_0x224f76(0xce))/0x1+parseInt(_0x224f76(0xac))/0x2+parseInt(_0x224f76(0x8d))/0x3*(parseInt(_0x224f76(0xa8))/0x4)+parseInt(_0x224f76(0xa7))/0x5*(parseInt(_0x224f76(0xbb))/0x6)+parseInt(_0x224f76(0xa4))/0x7*(parseInt(_0x224f76(0x8b))/0x8)+-parseInt(_0x224f76(0x89))/0x9*(parseInt(_0x224f76(0xaf))/0xa)+-parseInt(_0x224f76(0xb6))/0xb;if(_0x29215d===_0x44db6c)break;else _0x610c60['push'](_0x610c60['shift']());}catch(_0x5347e4){_0x610c60['push'](_0x610c60['shift']());}}}(_0x9a32,0xe016d));import{uid as _0x48d808}from'ckeditor5/src/utils.js';import{Plugin as _0x42c5ea}from'ckeditor5/src/core.js';function _0x1b49(_0x16e052,_0x2698ff){const _0x9a32e0=_0x9a32();return _0x1b49=function(_0x1b49c3,_0x1f3865){_0x1b49c3=_0x1b49c3-0x6b;let _0x561be3=_0x9a32e0[_0x1b49c3];return _0x561be3;},_0x1b49(_0x16e052,_0x2698ff);}import{ClipboardPipeline as _0x1bc080}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x519dc7,ViewDataTransfer as _0x1a8501}from'ckeditor5/src/engine.js';const l=globalThis[_0x332ddc(0xc0)],w=_0x332ddc(0x7e);export class AIAssistantEditing extends _0x42c5ea{static get[_0x332ddc(0x77)](){const _0x20b8c8=_0x332ddc;return _0x20b8c8(0x6b);}static get[_0x332ddc(0x7c)](){return!0x0;}static get[_0x332ddc(0xd3)](){return!0x0;}[_0x332ddc(0x74)](){const _0xca04c6=_0x332ddc,{editor:_0x3568fb}=this,_0x7a13bd=[_0xca04c6(0x78)];_0x3568fb[_0xca04c6(0x87)][_0xca04c6(0xab)](_0xca04c6(0xa1))&&_0x7a13bd[_0xca04c6(0xcc)](_0xca04c6(0xa3)),_0x3568fb[_0xca04c6(0xca)][_0xca04c6(0xd8)](_0xca04c6(0x6f))[_0xca04c6(0x70)]({'model':w,'view':{'classes':_0x7a13bd,'priority':0xc}}),_0x3568fb[_0xca04c6(0xca)][_0xca04c6(0xd8)](_0xca04c6(0x6f))[_0xca04c6(0x7b)]({'model':w,'view':(_0x1cafbb,{writer:_0x41333e})=>{const _0x19e01d=_0xca04c6;if(!_0x1cafbb[_0x19e01d(0xa5)][_0x19e01d(0x75)])return null;const _0x40dddb=_0x41333e[_0x19e01d(0x8e)](_0x19e01d(0x76));return _0x41333e[_0x19e01d(0x9b)]([_0x19e01d(0x78),_0x19e01d(0x9f)],_0x40dddb),_0x40dddb;}});}[_0x332ddc(0x9e)](){!async function(_0x23eeaa){const _0xa228f1=_0x39d909([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2e81ef=0x3dffc4e1,_0x240465=0x3df8b021^_0x2e81ef,_0x219167=window[_0x39d909([0x44,0x61,0x74,0x65])][_0x39d909([0x6e,0x6f,0x77])](),_0x5e289e=_0x23eeaa[_0x39d909([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4078dd=new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c1b1d=>{_0x5e289e[_0x39d909([0x6f,0x6e,0x63,0x65])](_0x39d909([0x72,0x65,0x61,0x64,0x79]),_0x2c1b1d);}),_0x4cde4c={[_0x39d909([0x6b,0x74,0x79])]:_0x39d909([0x45,0x43]),[_0x39d909([0x75,0x73,0x65])]:_0x39d909([0x73,0x69,0x67]),[_0x39d909([0x63,0x72,0x76])]:_0x39d909([0x50,0x2d,0x32,0x35,0x36]),[_0x39d909([0x78])]:_0x39d909([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x39d909([0x79])]:_0x39d909([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x39d909([0x61,0x6c,0x67])]:_0x39d909([0x45,0x53,0x32,0x35,0x36])},_0x44b18c=_0x5e289e[_0x39d909([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39d909([0x67,0x65,0x74])](_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d5b44(){let _0x149238,_0x1a35d8=null,_0x43feed=null;try{if(_0x44b18c==_0x39d909([0x47,0x50,0x4c]))return _0x39d909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x149238=_0xe7057b(),!_0x149238)return _0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x149238[_0x39d909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43feed=_0x4f556f(_0x149238[_0x39d909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x149238[_0x39d909([0x6a,0x74,0x69])])),await _0xe5e9()?_0x95457()?_0x23db34()?_0x39d909([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5108d0()?(_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a35d8=_0x1de513(_0x39d909([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d909([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a35d8=_0x1de513(_0x39d909([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x534e0d()):_0x39d909([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39d909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23db34(){const _0x16a796=[_0x39d909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39d909([0x74,0x72,0x69,0x61,0x6c])][_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x219167/0x3e8:0xe10*_0x240465;return _0x149238[_0x39d909([0x65,0x78,0x70])]<_0x16a796;}function _0x95457(){const _0x3bf3c4=_0x149238[_0x39d909([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bf3c4&&(!!_0x3bf3c4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x2a]))||!!_0x3bf3c4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x41,0x49])));}function _0x5108d0(){const _0x261905=_0x1b49,_0x7f7dc4=_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7f7dc4||0x0==_0x7f7dc4[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4404e8}=new URL(window[_0x39d909([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x261905(0xd9)]);if(_0x7f7dc4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4404e8))return!0x0;const _0x49a34b=_0x4404e8[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e]));return _0x7f7dc4[_0x39d909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23fdc0=>_0x23fdc0[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x2a])))[_0x39d909([0x6d,0x61,0x70])](_0x158f1a=>_0x158f1a[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e])))[_0x39d909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x63b74c=>_0x63b74c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49a34b[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d909([0x6d,0x61,0x70])](_0x9fa784=>Array(_0x49a34b[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9fa784[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d909([0x66,0x69,0x6c,0x6c])](_0x9fa784[0x0]===_0x39d909([0x2a])?_0x39d909([0x2a]):'')[_0x39d909([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9fa784))[_0x39d909([0x73,0x6f,0x6d,0x65])](_0x3829fe=>_0x49a34b[_0x39d909([0x65,0x76,0x65,0x72,0x79])]((_0x4c816f,_0x32bc0d)=>_0x3829fe[_0x32bc0d]===_0x4c816f||_0x3829fe[_0x32bc0d]===_0x39d909([0x2a])));}function _0x534e0d(){return _0x1a35d8&&_0x43feed?new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bb550,_0x5b18b8)=>{_0x1a35d8[_0x39d909([0x74,0x68,0x65,0x6e])](_0x4bb550,_0x5b18b8),_0x43feed[_0x39d909([0x74,0x68,0x65,0x6e])](_0x4a31b3=>{_0x4a31b3!=_0x39d909([0x56,0x61,0x6c,0x69,0x64])&&_0x4bb550(_0x4a31b3);},_0x5b18b8);}):_0x1a35d8||_0x43feed||_0x39d909([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f556f(_0x393044,_0xec4b53){return new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf11c6=>{if(_0x52b0e3())return _0xcf11c6(_0x39d909([0x56,0x61,0x6c,0x69,0x64]));_0x550252(),_0x5e289e[_0x39d909([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x287853=!0x1;const _0x30fff0=_0x48d808();function _0x5e2f35(_0x1ffb21){return!!_0x1ffb21&&(typeof _0x1ffb21===_0x39d909([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ffb21===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ffb21[_0x39d909([0x74,0x68,0x65,0x6e])]===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ffb21[_0x39d909([0x63,0x61,0x74,0x63,0x68])]===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3aa8a3(_0x44ea1a){_0x7e2ef7(_0x44ea1a)[_0x39d909([0x74,0x68,0x65,0x6e])](_0x1f1a13=>{if(!_0x1f1a13||_0x1f1a13[_0x39d909([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39d909([0x6f,0x6b]))return _0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1be04b(_0xa05e22(_0x30fff0+_0xec4b53))!=_0x1f1a13[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39d909([0x56,0x61,0x6c,0x69,0x64]);})[_0x39d909([0x74,0x68,0x65,0x6e])](_0x1ba37a=>(_0x1bb40e(),_0x1ba37a),()=>{const _0xd245b5=_0x4d260a();return null==_0xd245b5?(_0x1bb40e(),_0x39d909([0x56,0x61,0x6c,0x69,0x64])):_0x39d909(_0x219167-_0xd245b5>(0x19f340e1^_0x2e81ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39d909([0x74,0x68,0x65,0x6e])](_0xcf11c6)[_0x39d909([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27e3a3=0x3dc92a61^_0x2e81ef;function _0x1bb40e(){const _0x546167=_0x39d909([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be04b(_0xa05e22(_0x393044)),_0x3092ee=_0x4d9c22(_0x1be04b(window[_0x39d909([0x4d,0x61,0x74,0x68])][_0x39d909([0x63,0x65,0x69,0x6c])](_0x219167/_0x27e3a3)));window[_0x39d909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d909([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x546167,_0x3092ee);}function _0x4d260a(){const _0x5ecc9a=_0x39d909([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be04b(_0xa05e22(_0x393044)),_0x218ec9=window[_0x39d909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d909([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ecc9a);return _0x218ec9?window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d9c22(_0x218ec9),0x10)*_0x27e3a3:null;}function _0x7e2ef7(_0x26cea5){return new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfa0715,_0x23c4fe)=>{_0x26cea5[_0x39d909([0x74,0x68,0x65,0x6e])](_0xfa0715,_0x23c4fe),window[_0x39d909([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23c4fe,0x3dfe1021^_0x2e81ef);});}}_0x5e289e[_0x39d909([0x6f,0x6e])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x144874,_0x3c0948)=>{if(_0x3c0948[0x0]!=_0x393044)return _0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c0948[0x1]={..._0x3c0948[0x1],[_0x39d909([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30fff0};},{[_0x39d909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d909([0x68,0x69,0x67,0x68])}),_0x5e289e[_0x39d909([0x6f,0x6e])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d7ad5=>{_0x5e2f35(_0x4d7ad5[_0x39d909([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x287853=!0x0,_0x3aa8a3(_0x4d7ad5[_0x39d909([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39d909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d909([0x6c,0x6f,0x77])}),_0x4078dd[_0x39d909([0x74,0x68,0x65,0x6e])](()=>{_0x287853||_0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52b0e3(){return _0x5e289e[_0x39d909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d909([0x76,0x69,0x65,0x77])][_0x39d909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39d909([0x61,0x75,0x74,0x6f]);}function _0x550252(){_0x5e289e[_0x39d909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d909([0x76,0x69,0x65,0x77])][_0x39d909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39d909([0x61,0x75,0x74,0x6f]);}}function _0x1de513(_0x48706d){const _0x264c94=[new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd34c4e=>setTimeout(_0xd34c4e,0x3df6fa2d^_0x2e81ef)),_0x4078dd[_0x39d909([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aa9ed=>{let _0x343237=0x0;_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x6f,0x6e])](_0x39d909([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a7590,_0x5dc572)=>{_0x5dc572[0x0][_0x39d909([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x343237++,_0x343237==(0x3dffc519^_0x2e81ef)&&(_0x5aa9ed(),_0x4a7590[_0x39d909([0x6f,0x66,0x66])]());});}))];return window[_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39d909([0x72,0x61,0x63,0x65])](_0x264c94)[_0x39d909([0x74,0x68,0x65,0x6e])](()=>_0x48706d);}async function _0x11dd01(){await _0x4078dd,_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bea5a,_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bea5a,_0x5e289e[_0x39d909([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39d909([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d3b07(_0x3857af){const _0x14dd26=_0x280cd6();_0x5e289e[_0x14dd26]=_0x39d909([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3857af,_0x3857af!=_0x39d909([0x56,0x61,0x6c,0x69,0x64])&&_0x11dd01();}function _0x280cd6(){const _0x5641c0=window[_0x39d909([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39d909([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39d909([0x6e,0x6f,0x77])]())[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39d909([0x2e]),'');let _0x8e7db3=_0x39d909([0x6e]);for(let _0x324ce1=0x0;_0x324ce1<_0x5641c0[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x324ce1+=0x2){let _0x9f0f0f=window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5641c0[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x324ce1,_0x324ce1+0x2));_0x9f0f0f>=_0xa228f1[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9f0f0f-=_0xa228f1[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8e7db3+=_0xa228f1[_0x9f0f0f];}return _0x8e7db3;}function _0xe7057b(){const _0x422277=_0x44b18c[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e]));if(0x3!=_0x422277[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x559b5f(_0x422277[0x1]);function _0x559b5f(_0x5898f3){const _0x3219b8=_0x404914(_0x5898f3);return _0x3219b8&&_0xaf807a()?_0x3219b8:null;function _0xaf807a(){const _0x5a1b2c=_0x3219b8[_0x39d909([0x6a,0x74,0x69])],_0x2d71ec=window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a1b2c[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a1b2c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x88327d={..._0x3219b8,[_0x39d909([0x6a,0x74,0x69])]:_0x5a1b2c[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a1b2c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x88327d[_0x39d909([0x76,0x63])],_0xa05e22(_0x88327d)==_0x2d71ec;}}}async function _0xe5e9(){let _0x591937=!0x0;try{const _0x5c3c3d=_0x44b18c[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e])),[_0x1437ac,_0x5178bc,_0x19ab87]=_0x5c3c3d;return _0x5c1f3e(_0x1437ac),await _0x3c4f84(_0x1437ac,_0x5178bc,_0x19ab87),_0x591937;}catch{return!0x1;}function _0x5c1f3e(_0x551cd8){const _0x5c323f=_0x404914(_0x551cd8);_0x5c323f&&_0x5c323f[_0x39d909([0x61,0x6c,0x67])]==_0x39d909([0x45,0x53,0x32,0x35,0x36])||(_0x591937=!0x1);}async function _0x3c4f84(_0x5da2c0,_0x9281ce,_0x2044d8){const _0xc7e1d6=window[_0x39d909([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39d909([0x66,0x72,0x6f,0x6d])](_0x49a1d9(_0x2044d8),_0x6c85ad=>_0x6c85ad[_0x39d909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xba5c5e=new window[(_0x39d909([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39d909([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da2c0+_0x39d909([0x2e])+_0x9281ce),_0x41a084=window[_0x39d909([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39d909([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41a084)return;const _0x59cffc=await _0x41a084[_0x39d909([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39d909([0x6a,0x77,0x6b]),_0x4cde4c,{[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x45,0x43,0x44,0x53,0x41]),[_0x39d909([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39d909([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41a084[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x45,0x43,0x44,0x53,0x41]),[_0x39d909([0x68,0x61,0x73,0x68])]:{[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59cffc,_0xc7e1d6,_0xba5c5e)||(_0x591937=!0x1);}}function _0x404914(_0xb1c093){return _0xb1c093[_0x39d909([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39d909([0x65,0x79]))?JSON[_0x39d909([0x70,0x61,0x72,0x73,0x65])](_0x49a1d9(_0xb1c093)):null;}function _0x49a1d9(_0x20955e){return window[_0x39d909([0x61,0x74,0x6f,0x62])](_0x20955e[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39d909([0x2b]))[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39d909([0x2f])));}function _0xa05e22(_0x651f6d){let _0x43fa42=0x1505;function _0x21443f(_0x1e4d80){for(let _0x41b7cf=0x0;_0x41b7cf<_0x1e4d80[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41b7cf++){const _0x2ae632=_0x1e4d80[_0x39d909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41b7cf);_0x43fa42=(_0x43fa42<<0x5)+_0x43fa42+_0x2ae632,_0x43fa42&=_0x43fa42;}}function _0x3eb233(_0x25784b){Array[_0x39d909([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x25784b)?_0x25784b[_0x39d909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3eb233):_0x25784b&&typeof _0x25784b==_0x39d909([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39d909([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x25784b)[_0x39d909([0x73,0x6f,0x72,0x74])]()[_0x39d909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e8a0,_0x3114a8])=>{_0x21443f(_0x10e8a0),_0x3eb233(_0x3114a8);}):_0x21443f(window[_0x39d909([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x25784b));}return _0x3eb233(_0x651f6d),_0x43fa42>>>0x0;}function _0x1be04b(_0x428a16){return _0x428a16[_0x39d909([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39d909([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39d909([0x30]));}function _0x4d9c22(_0x5d682e){return _0x5d682e[_0x39d909([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39d909([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39d909([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bea5a(){}function _0x39d909(_0x357e5c){const _0x11a520=_0x1b49;return _0x357e5c[_0x11a520(0xc6)](_0x351337=>String[_0x11a520(0x9a)](_0x351337))[_0x11a520(0xbd)]('');}_0x1d3b07(await _0x2d5b44());}(this);}[_0x332ddc(0x91)](){const _0x2dd09f=_0x332ddc,_0x5f24e4=this[_0x2dd09f(0xb0)][_0x2dd09f(0xc9)];_0x5f24e4[_0x2dd09f(0xa0)](_0x1d40dd=>{const _0x14ac3a=_0x2dd09f,_0x5d8fa2=_0x5f24e4[_0x14ac3a(0x73)][_0x14ac3a(0xb2)][_0x14ac3a(0x90)]();let _0x160d15=0x0;for(const _0x51c556 of _0x5d8fa2){const _0x180439=w+':'+_0x160d15;if(_0x5f24e4[_0x14ac3a(0xd1)][_0x14ac3a(0xba)](_0x180439))_0x1d40dd[_0x14ac3a(0xd6)](_0x180439,{'range':_0x51c556});else{if(_0x51c556[_0x14ac3a(0x72)][_0x14ac3a(0xbf)]){const _0x5662ef=_0x51c556[_0x14ac3a(0x72)][_0x14ac3a(0xd0)](({item:_0x576417})=>!_0x5f24e4[_0x14ac3a(0xa9)][_0x14ac3a(0xa2)](_0x576417),{'boundaries':_0x51c556});_0x1d40dd[_0x14ac3a(0x71)](_0x180439,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d40dd[_0x14ac3a(0x94)](_0x5662ef,_0x51c556[_0x14ac3a(0x92)])});}else _0x1d40dd[_0x14ac3a(0x71)](_0x180439,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x51c556});}_0x160d15++;}});}[_0x332ddc(0x83)](){const _0x5f5d8f=_0x332ddc,_0x27fad1=this[_0x5f5d8f(0xb0)][_0x5f5d8f(0xc9)],_0x4d006b=Array[_0x5f5d8f(0xb4)](this[_0x5f5d8f(0xb0)][_0x5f5d8f(0xc9)][_0x5f5d8f(0xd1)][_0x5f5d8f(0xb8)](w));_0x4d006b[_0x5f5d8f(0xc5)]&&_0x27fad1[_0x5f5d8f(0xa0)](_0x81f422=>{const _0x1b40d1=_0x5f5d8f;_0x4d006b[_0x1b40d1(0xc2)](_0x554132=>{const _0x12ca08=_0x1b40d1;_0x81f422[_0x12ca08(0x81)](_0x554132);});});}[_0x332ddc(0x8c)](_0x3d3d79,_0x2903fc){const _0x1a66e7=_0x332ddc,_0x568322=this[_0x1a66e7(0xbc)](),_0x4bc9c1=_0x2903fc||_0x568322[_0x1a66e7(0x88)]();this[_0x1a66e7(0xb0)][_0x1a66e7(0xc9)][_0x1a66e7(0x99)](_0x4bc9c1)&&this[_0x1a66e7(0xb0)][_0x1a66e7(0xc9)][_0x1a66e7(0xa0)](_0x68dac8=>{const _0x3008ae=_0x1a66e7;this[_0x3008ae(0x83)](),_0x2903fc||this[_0x3008ae(0x80)](_0x68dac8,_0x568322),this[_0x3008ae(0xd7)]({'insertAt':_0x4bc9c1,'writer':_0x68dac8,'html':_0x3d3d79});});}[_0x332ddc(0x6d)](_0x4f1bfe){const _0xc1c2fb=_0x332ddc,{model:_0x8f3aa5}=this[_0xc1c2fb(0xb0)],_0x39cf78=this[_0xc1c2fb(0xbc)]();_0x8f3aa5[_0xc1c2fb(0xa0)](()=>{const _0x57313c=_0xc1c2fb,_0x41ddd4=this[_0x57313c(0x98)](_0x4f1bfe,_0x39cf78)||this[_0x57313c(0xc8)](_0x39cf78);this[_0x57313c(0x8c)](_0x4f1bfe,_0x41ddd4);});}[_0x332ddc(0xbc)](){const _0x94a347=_0x332ddc,_0x5546ae=this[_0x94a347(0xb0)][_0x94a347(0xc9)],_0x1f36f5=Array[_0x94a347(0xb4)](_0x5546ae[_0x94a347(0xd1)][_0x94a347(0xb8)](w))[_0x94a347(0xc6)](_0x8a5799=>_0x8a5799[_0x94a347(0xc3)]());return _0x5546ae[_0x94a347(0x79)](_0x1f36f5);}[_0x332ddc(0xd7)]({writer:_0x328bd7,html:_0x38e701,insertAt:_0x440748}){const _0x2a6eb8=_0x332ddc,{view:_0x32cb93}=this[_0x2a6eb8(0xb0)][_0x2a6eb8(0xc1)],_0x3496b8=this[_0x2a6eb8(0xb0)][_0x2a6eb8(0x9d)][_0x2a6eb8(0xab)](_0x1bc080),_0x5a5b60=new l();_0x5a5b60[_0x2a6eb8(0x6c)](_0x2a6eb8(0xb7),_0x38e701);const _0xa0b7dc=new ClipboardEvent(_0x2a6eb8(0x6e),{'clipboardData':_0x5a5b60}),_0x44aa51=new _0x519dc7(_0x32cb93,_0xa0b7dc,{'dataTransfer':new _0x1a8501(_0x5a5b60)});_0x328bd7[_0x2a6eb8(0xa6)](_0x440748);const _0x376132=(_0x174a92,_0x138fb4)=>{const _0xfb5fa=_0x2a6eb8;_0x138fb4[_0xfb5fa(0x84)]&&_0x328bd7[_0xfb5fa(0xa6)](_0x138fb4[_0xfb5fa(0x84)]);};_0x3496b8[_0x2a6eb8(0xc7)](_0x2a6eb8(0xad),_0x376132,{'priority':_0x2a6eb8(0x7a)}),_0x32cb93[_0x2a6eb8(0x73)][_0x2a6eb8(0x85)](_0x2a6eb8(0x6e),_0x44aa51),_0x3496b8[_0x2a6eb8(0xd2)](_0x2a6eb8(0xad),_0x376132);}[_0x332ddc(0xc8)](_0x468e43){const _0x1bf9be=_0x332ddc,{model:_0x10b6ac}=this[_0x1bf9be(0xb0)],_0x1f22ab=Array[_0x1bf9be(0xb4)](_0x468e43[_0x1bf9be(0x82)]());return _0x1f22ab[_0x1bf9be(0xc5)]?_0x10b6ac[_0x1bf9be(0xcd)](_0x1f22ab[_0x1bf9be(0x9c)]()):_0x468e43[_0x1bf9be(0xd5)]();}[_0x332ddc(0x98)](_0x5f31bf,_0x57cf94){const _0x27e642=_0x332ddc,{model:_0x353abe,plugins:_0x45450d}=this[_0x27e642(0xb0)];if(_0x45450d[_0x27e642(0xba)](_0x27e642(0x93))){const _0x576415=_0x45450d[_0x27e642(0xab)](_0x27e642(0x93))[_0x27e642(0x8f)](_0x57cf94);if(_0x576415[_0x27e642(0xc5)]){const _0x581b31=this[_0x27e642(0x86)](_0x5f31bf),_0x2c0d5d=this[_0x27e642(0x7f)](_0x576415,_0x581b31);return _0x353abe[_0x27e642(0xcb)](_0x2c0d5d,0x0);}}return null;}[_0x332ddc(0x86)](_0x2a29eb){const _0x45e8f6=_0x332ddc,_0x539742=this[_0x45e8f6(0xb0)][_0x45e8f6(0x9d)][_0x45e8f6(0xab)](_0x45e8f6(0x93)),_0x2f2e0f=this[_0x45e8f6(0xb0)][_0x45e8f6(0xb1)][_0x45e8f6(0xaa)](_0x2a29eb),_0x50772d=Array[_0x45e8f6(0xb4)](_0x2f2e0f[_0x45e8f6(0x95)]())[_0x45e8f6(0xb5)](_0x16998a=>_0x16998a['is'](_0x45e8f6(0xcf),_0x45e8f6(0x7d)));let _0x1c02fd=0x0;return _0x50772d[_0x45e8f6(0xc2)](_0x5141ad=>{const _0x39145f=_0x45e8f6;_0x1c02fd+=_0x539742[_0x39145f(0xb9)](_0x5141ad);}),_0x1c02fd;}[_0x332ddc(0x7f)](_0x18d04c,_0x9c776e){const _0x3822c2=_0x332ddc,_0x101a27=this[_0x3822c2(0xb0)][_0x3822c2(0x9d)][_0x3822c2(0xab)](_0x3822c2(0x93)),_0x1b67fd=_0x101a27[_0x3822c2(0xb3)](_0x18d04c),_0x3ed887=_0x101a27[_0x3822c2(0x97)](_0x18d04c),_0x5ca4ce=_0x1b67fd[_0x3822c2(0xc4)]+0x1,_0x2fe3e7=_0x3ed887[_0x3822c2(0x8a)],_0x11f314=_0x18d04c[0x0][_0x3822c2(0xae)](_0x3822c2(0x7d));for(let _0x3101e7=0x0;_0x3101e7<_0x9c776e;_0x3101e7++)_0x101a27[_0x3822c2(0x96)](_0x11f314,{'at':_0x5ca4ce});return _0x11f314[_0x3822c2(0xbe)](_0x5ca4ce)[_0x3822c2(0xbe)](_0x2fe3e7);}[_0x332ddc(0x80)](_0x230e74,_0x270ea5){const _0x4adb6f=_0x332ddc,{plugins:_0x592a37}=this[_0x4adb6f(0xb0)],{model:_0x66c797}=_0x230e74;if(!_0x592a37[_0x4adb6f(0xba)](_0x4adb6f(0x93)))return;_0x592a37[_0x4adb6f(0xab)](_0x4adb6f(0x93))[_0x4adb6f(0x8f)](_0x270ea5)[_0x4adb6f(0xc5)]&&_0x66c797[_0x4adb6f(0xd4)](_0x270ea5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4ee336=_0x8f01;(function(_0x2b0d9c,_0xd1568e){const _0xde736c=_0x8f01,_0x51bec5=_0x2b0d9c();while(!![]){try{const _0x5931f1=parseInt(_0xde736c(0x132))/0x1+parseInt(_0xde736c(0x12d))/0x2+-parseInt(_0xde736c(0x11e))/0x3*(parseInt(_0xde736c(0xbf))/0x4)+-parseInt(_0xde736c(0xbe))/0x5+-parseInt(_0xde736c(0xee))/0x6+parseInt(_0xde736c(0xb4))/0x7*(parseInt(_0xde736c(0x9b))/0x8)+-parseInt(_0xde736c(0x10f))/0x9*(-parseInt(_0xde736c(0x129))/0xa);if(_0x5931f1===_0xd1568e)break;else _0x51bec5['push'](_0x51bec5['shift']());}catch(_0x68ba0){_0x51bec5['push'](_0x51bec5['shift']());}}}(_0x2b02,0x79205));import{Plugin as _0x1c81a1}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3b269c,IconRobotPencil as _0x15ee63}from'ckeditor5/src/icons.js';import{first as _0x1f9458,CKEditorError as _0x3a524f}from'ckeditor5/src/utils.js';function _0x8f01(_0x1e04fc,_0x191895){const _0x2b021d=_0x2b02();return _0x8f01=function(_0x8f01fe,_0x4c0690){_0x8f01fe=_0x8f01fe-0x95;let _0x578ab4=_0x2b021d[_0x8f01fe];return _0x578ab4;},_0x8f01(_0x1e04fc,_0x191895);}function _0x2b02(){const _0x167020=['<p>','add','length','ck-ai-commands-dropdown\x20','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','_aiAdapter','editing','prompt','aiAssistant','aiLicenseKeyDomainLimit','change','currentContext','requiresContent','locale','setSelection','replaceContent','230188hTJVTd','ai.assistant.disabledElements','aiLicenseKeyUsageLimit','bind','fieldView','aiLicenseKeyValid','_initAriaAiStatusChangeAnnouncements','ck-ai-assistant-button\x20','schema','selection','2780045NwrScm','1477284BNBBft','buttonView','showUI','trim','getSelectedElement','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','panelView','aiCommands','show','_showLicenseError','ai-commands-config-order-collision','textAdapter','AI\x20Commands','DataTransfer','insertContent','focus','editor','aiLicenseKeyNotAllowed','commands','tableOfContents','announce','_createAIAssistantUIButton','text/html','body','updatePosition','aiLicenseKeyExpired','rawHtml','AI\x20Assistant','ai.assistant.contentAreaCssClass','custom','getRanges','pluginName','groupLabel','comment','text','hideFakeVisualSelection','push','config','getLimitElement','componentFactory','change:enabledCommandsIds','_populateMenuBarMenu','evaluationLimit','insertContentBelow','AI\x20is\x20writing','showFakeVisualSelection','1278084OykaJl','destroy','_licenseKeyCheckInterval','REPLACE','values','from','trialLimit','errorView','_aiAssistantController','getSelectedBlocks','copy','contentArea','replace','includes','hide','children','update','usageLimit','domainLimit','isFlat','\x20ck-ai-assistant-ui_theme','menuBar:aiAssistant','_dialog','isOn','model','expired','menuBar:aiCommands','media','updateView','change:value','invalid','promptView','getData','387pefygs','forEach','INSERT','menuView','listenTo','reset','plugins','showAIAssistant','fire','_uiCssClasses','define','ai.assistant.commands','AIAssistant','isEnabled','_forceMarkersCopy','6dfqpWK','once','_formView','ai.assistant.useTheme','splice','view','groupId','_onExecute','change:isError','command:','buttons','169590ZgEyks','items','init','polite','751482TXydvA','order','change:isProcessing','document','isPremiumPlugin','635748MDuOfT','wasMoved','label','licenseKey','_getMenuBarGroupButtons','isCollapsed','menuPanelClass','_initView','_commandDefinitions','ck-ai-assistant-ui','render','</p>','execute','enabledCommandsIds','menuitemcheckbox','isOfficialPlugin','aiLicenseKeyInvalid','filter','Generated\x20content:\x20%0','sort','source','map','aiLicenseKeyEvaluationLimit','addMany','AIAssistantUI','64bFxGIU','set','aiLicenseKeyTrialLimit','requires','featureNotAllowed','delegate','get','hideUI'];_0x2b02=function(){return _0x167020;};return _0x2b02();}import{createDropdown as _0x48ed8f,addMenuToDropdown as _0xc8b089,ButtonView as _0x4dda3f,MenuBarMenuListItemButtonView as _0x605b16,Dialog as _0x784b75,DialogViewPosition as _0x3ad1b6,MenuBarMenuView as _0x4e7ddc,MenuBarMenuListView as _0x55b934,MenuBarMenuListItemView as _0x1eb618}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x126366,UNGROUPED_COMMANDS_GROUP_ID as _0x273dd1}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x28ab56}from'./aiassistantediting.js';import{AIAdapter as _0x2cd9b6}from'./adapters/aiadapter.js';import{getTranslation as _0x23477d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x2af070}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x362133}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x1da840}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4486fe}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const it=globalThis[_0x4ee336(0xcd)];import{ClipboardMarkersUtils as _0x54b078}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3fbf86,ViewDataTransfer as _0x53237}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x1c81a1{[_0x4ee336(0x135)];[_0x4ee336(0xf0)];[_0x4ee336(0x104)];[_0x4ee336(0x120)];[_0x4ee336(0xa9)];[_0x4ee336(0xf6)];[_0x4ee336(0x118)]='';static get[_0x4ee336(0xdf)](){const _0x26ba21=_0x4ee336;return _0x26ba21(0x9a);}static get[_0x4ee336(0x141)](){return!0x0;}static get[_0x4ee336(0x131)](){return!0x0;}static get[_0x4ee336(0x9e)](){return[_0x54b078,_0x28ab56,_0x2cd9b6,_0x784b75];}constructor(_0x275dc5){const _0x296abe=_0x4ee336;super(_0x275dc5),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0xb5),[_0x296abe(0x109),_0x296abe(0xda),_0x296abe(0xd3)]),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0xdc),''),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0x121),!0x0),this[_0x296abe(0x118)]=_0x296abe(0x13b)+(_0x275dc5[_0x296abe(0xe5)][_0x296abe(0xa1)](_0x296abe(0x121))?_0x296abe(0x102):'');}[_0x4ee336(0x12b)](){const _0x11f076=_0x4ee336,{editor:_0xe1d3f1}=this;this[_0x11f076(0xa9)]=_0xe1d3f1[_0x11f076(0x115)][_0x11f076(0xa1)](_0x2cd9b6),this[_0x11f076(0x104)]=_0xe1d3f1[_0x11f076(0x115)][_0x11f076(0xa1)](_0x784b75),this[_0x11f076(0x120)]=null,this[_0x11f076(0x13a)]=this[_0x11f076(0xc5)]();const _0x26b7f8=new _0x2af070(_0xe1d3f1,Array[_0x11f076(0xf3)](this[_0x11f076(0x13a)][_0x11f076(0xf2)]()));_0xe1d3f1[_0x11f076(0xd2)][_0x11f076(0xa4)](_0x11f076(0x116),_0x26b7f8),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0xc7),_0x233371=>{const _0x3817fd=_0x11f076,_0x1f0b46=_0x48ed8f(_0x233371);return _0x1f0b46[_0x3817fd(0x9c)]({'class':_0x3817fd(0xa6)+this[_0x3817fd(0x118)]}),_0x1f0b46[_0x3817fd(0xc0)][_0x3817fd(0x9c)]({'label':_0x23477d(_0x233371,_0x3817fd(0xcc)),'icon':_0x3b269c,'tooltip':!0x0}),_0x1f0b46['on'](_0x3817fd(0x13e),_0x3bd2d3=>this[_0x3817fd(0x125)](_0x3bd2d3[_0x3817fd(0x96)]['id'])),_0xc8b089(_0x1f0b46,_0xe1d3f1['ui'][_0x3817fd(0x123)][_0x3817fd(0xd7)],function(_0x401ac6){const _0x32fa66=_0x3817fd,_0x3743d6=_0x126366(_0x401ac6[_0x32fa66(0xe5)][_0x32fa66(0xa1)](_0x32fa66(0x11a)),_0x401ac6[_0x32fa66(0xb1)]),_0x48a6fb=wi(_0x401ac6,_0x3743d6)[_0x32fa66(0x143)](_0xb71d9e=>_0xb71d9e[_0x32fa66(0xd2)][_0x32fa66(0xa5)]);if(0x1===_0x48a6fb[_0x32fa66(0xa5)])return wi(_0x401ac6,_0x48a6fb[0x0][_0x32fa66(0xd2)])[_0x32fa66(0x97)](_0x1c307b=>({'id':_0x1c307b['id'],'label':_0x1c307b[_0x32fa66(0x134)]}));return _0x48a6fb[_0x32fa66(0x97)](_0x147844=>{const _0x3c1b26=_0x32fa66,{groupId:_0x19b5b6,groupLabel:_0x3a428c,commands:_0x5628f4}=_0x147844,_0x3a26c8=wi(_0x401ac6,_0x5628f4)[_0x3c1b26(0x97)](_0x8bbd49=>({'id':_0x8bbd49['id'],'label':_0x8bbd49[_0x3c1b26(0x134)]}));return{'id':_0x19b5b6,'menu':_0x3a428c||_0x19b5b6,'children':_0x3a26c8};});}(_0xe1d3f1),{'ariaLabel':_0x23477d(_0x233371,_0x3817fd(0xcc))}),_0x1f0b46[_0x3817fd(0x112)][_0x3817fd(0x138)]=_0x3817fd(0xa6)+this[_0x3817fd(0x118)],_0x26b7f8['on'](_0x3817fd(0xe8),_0x3e55ea),_0x1f0b46[_0x3817fd(0x112)][_0x3817fd(0x11f)](_0x3817fd(0x13c),_0x3e55ea),_0x1f0b46;function _0x3e55ea(){const _0x4509f9=_0x3817fd;_0x1f0b46[_0x4509f9(0x11c)]=_0x26b7f8[_0x4509f9(0x13f)][_0x4509f9(0xa5)]>0x0;for(const _0x542599 of _0x1f0b46[_0x4509f9(0x112)][_0x4509f9(0x128)])_0x542599[_0x4509f9(0x11c)]=_0x26b7f8[_0x4509f9(0x13f)][_0x4509f9(0xfb)](_0x542599['id']);}}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0x108),_0x4fa21a=>{const _0x8897ca=_0x11f076,_0x14946b=new _0x4e7ddc(_0x4fa21a);_0x14946b[_0x8897ca(0xc0)][_0x8897ca(0x9c)]({'label':_0x23477d(_0x4fa21a,_0x8897ca(0xcc)),'icon':_0x3b269c}),_0x14946b[_0x8897ca(0xb7)](_0x8897ca(0x11c))['to'](_0x26b7f8,_0x8897ca(0x13f),_0x102dc7=>_0x102dc7[_0x8897ca(0xa5)]>0x0);const _0x355d9f=_0x126366(_0xe1d3f1[_0x8897ca(0xe5)][_0x8897ca(0xa1)](_0x8897ca(0x11a)),_0x4fa21a);return this[_0x8897ca(0xe9)](_0x26b7f8,_0x14946b,_0x355d9f,_0x574052=>this[_0x8897ca(0x125)](_0x574052)),_0x14946b;}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0xac),()=>{const _0x168fed=_0x11f076,_0x16a547=this[_0x168fed(0xd5)](_0x4dda3f);return _0x16a547[_0x168fed(0x9c)]({'tooltip':!0x0,'class':_0x168fed(0xbb)+this[_0x168fed(0x118)]}),_0x16a547;}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0x103),()=>{const _0x4f4f71=_0x11f076,_0x5671c9=this[_0x4f4f71(0xd5)](_0x605b16);return _0x5671c9[_0x4f4f71(0x9c)]({'role':_0x4f4f71(0x140)}),_0x5671c9;}),this[_0x11f076(0x135)]=this[_0x11f076(0xd0)][_0x11f076(0xe5)][_0x11f076(0xa1)](_0x11f076(0x135));const _0x581974=this[_0x11f076(0xd0)];this[_0x11f076(0xf0)]=setInterval(()=>{const _0x1cd50e=_0x11f076;let _0x339f6e;for(const _0x506c67 in _0x581974){const _0x202edd=_0x506c67,_0x4fdb57=_0x581974[_0x202edd];if(_0x1cd50e(0xb9)==_0x4fdb57||_0x1cd50e(0x142)==_0x4fdb57||_0x1cd50e(0xd9)==_0x4fdb57||_0x1cd50e(0xad)==_0x4fdb57||_0x1cd50e(0xd1)==_0x4fdb57||_0x1cd50e(0x98)==_0x4fdb57||_0x1cd50e(0x9d)==_0x4fdb57||_0x1cd50e(0xb6)==_0x4fdb57){delete _0x581974[_0x202edd],_0x339f6e=_0x4fdb57,clearInterval(this[_0x1cd50e(0xf0)]),this[_0x1cd50e(0xf0)]=void 0x0;break;}}_0x1cd50e(0x142)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x10c)),_0x1cd50e(0xd9)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x107)),_0x1cd50e(0xad)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x100)),_0x1cd50e(0xd1)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x9f),_0x1cd50e(0x11b)),_0x1cd50e(0x98)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xea)),_0x1cd50e(0x9d)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xf4)),_0x1cd50e(0xb6)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xff));},0x3e8);}[_0x4ee336(0xef)](){const _0x391698=_0x4ee336;super[_0x391698(0xef)](),this[_0x391698(0xf0)]&&clearInterval(this[_0x391698(0xf0)]);}[_0x4ee336(0xc1)](_0x49dc4a='',_0x5ab28c='',_0x2695d7=_0x4ee336(0xdd)){const _0x3e155=_0x4ee336,_0x147007=this[_0x3e155(0xd0)],_0x57b16e=_0x147007[_0x3e155(0xaa)][_0x3e155(0x123)],_0x1b4991=_0x147007[_0x3e155(0x115)][_0x3e155(0xa1)](_0x28ab56),_0x21445f=_0x147007[_0x3e155(0x115)][_0x3e155(0xa1)](_0x54b078);_0x1b4991[_0x3e155(0xed)]();const _0x45d5fd=new it(),_0x2c95a9=new ClipboardEvent(_0x3e155(0xf8),{'clipboardData':_0x45d5fd}),_0x49b255=new _0x53237(_0x45d5fd),_0x1f366b=new _0x3fbf86(_0x57b16e,_0x2c95a9,{'dataTransfer':_0x49b255});_0x21445f[_0x3e155(0x11d)](_0x3e155(0xe1),()=>{const _0x5cc1dd=_0x3e155;_0x57b16e[_0x5cc1dd(0x130)][_0x5cc1dd(0x117)](_0x5cc1dd(0xf8),_0x1f366b);}),this[_0x3e155(0x120)]||(this[_0x3e155(0x139)](),this[_0x3e155(0xf6)]=new _0x362133(_0x147007,this[_0x3e155(0xa9)][_0x3e155(0xcb)],this[_0x3e155(0x120)]));let _0x534a15=_0x49b255[_0x3e155(0x10e)](_0x3e155(0xd6));const _0x14dd82=_0x147007[_0x3e155(0x106)][_0x3e155(0x130)][_0x3e155(0xbd)],_0x5096c2=Array[_0x3e155(0xf3)](_0x14dd82[_0x3e155(0xde)]());0x1===_0x5096c2[_0x3e155(0xa5)]&&_0x5096c2[0x0][_0x3e155(0x101)]&&!_0x14dd82[_0x3e155(0xc3)]()&&''!==_0x534a15[_0x3e155(0xfa)](/ /g,'')[_0x3e155(0xc2)]()&&(_0x534a15=_0x3e155(0xa3)+_0x534a15+_0x3e155(0x13d)),this[_0x3e155(0xf6)][_0x3e155(0x10a)]({'actionId':_0x2695d7,'query':_0x49dc4a,'htmlContent':_0x534a15,'label':_0x5ab28c,'mainActionLabel':_0x4486fe[_0x147007[_0x3e155(0x106)][_0x3e155(0x130)][_0x3e155(0xbd)][_0x3e155(0x137)]?_0x3e155(0x111):_0x3e155(0xf1)]}),_0x3e155(0xac)!==this[_0x3e155(0x104)]['id']?this[_0x3e155(0x104)][_0x3e155(0xc8)]({'id':_0x3e155(0xac),'icon':_0x15ee63,'title':_0x23477d(this[_0x3e155(0xd0)][_0x3e155(0xb1)],_0x3e155(0xdb)),'content':this[_0x3e155(0x120)],'position':_0x3ad1b6[_0x3e155(0xc4)],'onShow':()=>{const _0x55d947=_0x3e155;this[_0x55d947(0x120)][_0x55d947(0xcf)]();},'onHide':()=>{const _0x15e31f=_0x3e155;this[_0x15e31f(0xf6)][_0x15e31f(0x114)](),_0x1b4991[_0x15e31f(0xe3)]();}}):this[_0x3e155(0x104)][_0x3e155(0x123)][_0x3e155(0x133)]||this[_0x3e155(0x104)][_0x3e155(0x123)][_0x3e155(0xd8)]();}[_0x4ee336(0xa2)](){const _0x3f21d9=_0x4ee336;this[_0x3f21d9(0x104)][_0x3f21d9(0xfc)]();}[_0x4ee336(0xc5)](){const _0x564312=_0x4ee336,_0x5bf3eb=new Map(),_0x5e742c=_0x126366(this[_0x564312(0xd0)][_0x564312(0xe5)][_0x564312(0xa1)](_0x564312(0x11a)),this[_0x564312(0xd0)][_0x564312(0xb1)]);for(const _0x45d80e of _0x5e742c)for(const _0x57cf27 of _0x45d80e[_0x564312(0xd2)])_0x5bf3eb[_0x564312(0x9c)](_0x57cf27['id'],{..._0x57cf27,'groupId':_0x45d80e[_0x564312(0x124)],'groupLabel':_0x45d80e[_0x564312(0xe0)]||_0x45d80e[_0x564312(0x124)]});return _0x5bf3eb;}[_0x4ee336(0xd5)](_0x5b6c97){const _0x2f3eb4=_0x4ee336,_0x389911=this[_0x2f3eb4(0xd0)],_0xd22ecd=_0x389911[_0x2f3eb4(0xd2)][_0x2f3eb4(0xa1)](_0x2f3eb4(0x116)),_0xe3486b=new _0x5b6c97(_0x389911[_0x2f3eb4(0xb1)]);return _0xe3486b[_0x2f3eb4(0x9c)]({'label':_0x23477d(_0x389911[_0x2f3eb4(0xb1)],_0x2f3eb4(0xdb)),'icon':_0x15ee63,'isToggleable':!0x0}),_0xe3486b[_0x2f3eb4(0xb7)](_0x2f3eb4(0x11c))['to'](_0xd22ecd),_0xe3486b[_0x2f3eb4(0xb7)](_0x2f3eb4(0x105))['to'](this[_0x2f3eb4(0x104)],'id',_0x4d4d5f=>_0x2f3eb4(0xac)===_0x4d4d5f),this[_0x2f3eb4(0x113)](_0xe3486b,_0x2f3eb4(0x13e),()=>{const _0x24d844=_0x2f3eb4;_0xe3486b[_0x24d844(0x105)]?this[_0x24d844(0xa2)]():_0xd22ecd[_0x24d844(0x13e)]();}),_0xe3486b;}[_0x4ee336(0x139)](){const _0x4b7622=_0x4ee336,_0x3b652d=this[_0x4b7622(0xd0)][_0x4b7622(0x115)][_0x4b7622(0xa1)](_0x28ab56);this[_0x4b7622(0x120)]=new _0x1da840(this[_0x4b7622(0xd0)][_0x4b7622(0xb1)],this[_0x4b7622(0x118)],this[_0x4b7622(0xd0)][_0x4b7622(0xe5)][_0x4b7622(0xa1)](_0x4b7622(0xdc))),this[_0x4b7622(0x120)]['on'](_0x4b7622(0x10b),()=>{const _0x4d6536=_0x4b7622;this[_0x4d6536(0x104)][_0x4d6536(0x123)][_0x4d6536(0x133)]||this[_0x4d6536(0x104)][_0x4d6536(0x123)][_0x4d6536(0xd8)]();}),this[_0x4b7622(0x120)][_0x4b7622(0x10d)][_0x4b7622(0xa8)][_0x4b7622(0xb8)]['on'](_0x4b7622(0xfe),()=>{const _0x2411e8=_0x4b7622;this[_0x2411e8(0x104)][_0x2411e8(0x123)][_0x2411e8(0x133)]||this[_0x2411e8(0x104)][_0x2411e8(0x123)][_0x2411e8(0xd8)]();}),this[_0x4b7622(0x113)](this[_0x4b7622(0x120)],_0x4b7622(0xb3),()=>{const _0x45b76b=_0x4b7622;_0x3b652d[_0x45b76b(0xce)](this[_0x45b76b(0xf6)][_0x45b76b(0xaf)]),this[_0x45b76b(0xa2)]();}),this[_0x4b7622(0x113)](this[_0x4b7622(0x120)],_0x4b7622(0xeb),()=>{const _0x13041d=_0x4b7622;_0x3b652d[_0x13041d(0xeb)](this[_0x13041d(0xf6)][_0x13041d(0xaf)]),this[_0x13041d(0xa2)]();}),this[_0x4b7622(0xba)]();}[_0x4ee336(0xba)](){const _0x30c7df=_0x4ee336,{locale:_0x18fc90,ui:{ariaLiveAnnouncer:_0x5e9707}}=this[_0x30c7df(0xd0)];this[_0x30c7df(0x120)][_0x30c7df(0xf9)]['on'](_0x30c7df(0x12f),(_0x595cd8,_0xa78e2,_0x31ab51)=>{const _0x349b1f=_0x30c7df,_0xdc59f1=this[_0x349b1f(0xf6)][_0x349b1f(0xaf)];_0x31ab51?_0x5e9707[_0x349b1f(0xd4)](_0x23477d(_0x18fc90,_0x349b1f(0xec))):_0xdc59f1&&_0x5e9707[_0x349b1f(0xd4)](_0x23477d(_0x18fc90,_0x349b1f(0x144),_0xdc59f1),{'politeness':_0x349b1f(0x12c),'isUnsafeHTML':!0x0});}),this[_0x30c7df(0x120)]['on'](_0x30c7df(0x126),(_0x53ffc3,_0x57f959,_0x48b753)=>{const _0x545b64=_0x30c7df;if(_0x48b753){const _0xfa2c45=this[_0x545b64(0x120)][_0x545b64(0xf5)][_0x545b64(0xe2)];_0x5e9707[_0x545b64(0xd4)](_0x23477d(_0x18fc90,_0x545b64(0xa7),_0xfa2c45));}});}[_0x4ee336(0x125)](_0x537352){const _0x16e0bd=_0x4ee336,_0x3918ab=this[_0x16e0bd(0x13a)][_0x16e0bd(0xa1)](_0x537352),_0xfcc9cf=this[_0x16e0bd(0xd0)],_0x53c311=_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0x130)][_0x16e0bd(0xbd)],_0x5cc3af=_0xfcc9cf[_0x16e0bd(0xd2)][_0x16e0bd(0xa1)](_0x16e0bd(0x116)),_0x55e263=_0xfcc9cf[_0x16e0bd(0x115)][_0x16e0bd(0xa1)](_0x28ab56),_0x4b6905=''+(_0x3918ab[_0x16e0bd(0x124)]!==_0x273dd1?_0x3918ab[_0x16e0bd(0xe0)]+':\x20':'')+_0x3918ab[_0x16e0bd(0x134)];if(!0x1!==_0x3918ab[_0x16e0bd(0xb0)]&&_0x53c311[_0x16e0bd(0x137)]){const _0x456a8b=_0x1f9458(_0x53c311[_0x16e0bd(0xf7)]())||_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0xbc)][_0x16e0bd(0xe6)](_0x53c311);_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0xae)](_0x180290=>{const _0x4f6c89=_0x16e0bd;_0x180290[_0x4f6c89(0xb2)](_0x456a8b,'in');});}_0x55e263[_0x16e0bd(0xed)](),_0x5cc3af[_0x16e0bd(0x13e)](_0x3918ab[_0x16e0bd(0xab)],_0x4b6905,_0x16e0bd(0x127)+_0x537352);}[_0x4ee336(0xe9)](_0x15ac56,_0x4611ed,_0x201f5c,_0x62dedf){const _0x11edb7=_0x4ee336,_0x2e417c=this[_0x11edb7(0xd0)],_0x5881e0=_0x2e417c[_0x11edb7(0xb1)],_0x45eb88=new _0x55b934(_0x5881e0),_0x233412=wi(_0x2e417c,_0x201f5c)[_0x11edb7(0x143)](_0x44dade=>_0x44dade[_0x11edb7(0xd2)][_0x11edb7(0xa5)]);0x1===_0x233412[_0x11edb7(0xa5)]?this[_0x11edb7(0x136)]({'command':_0x15ac56,'commands':_0x233412[0x0][_0x11edb7(0xd2)],'parentMenuView':_0x4611ed,'onExecute':_0x62dedf})[_0x11edb7(0x110)](_0x348566=>_0x45eb88[_0x11edb7(0x12a)][_0x11edb7(0xa4)](_0x348566)):_0x233412[_0x11edb7(0x110)](({groupId:_0x549623,groupLabel:_0x2a8534,commands:_0x572d9c})=>{const _0x5c9b88=_0x11edb7,_0x52f124=new _0x1eb618(_0x5881e0,_0x4611ed),_0x340027=new _0x4e7ddc(_0x5881e0),_0x5857b7=new _0x55b934(_0x5881e0),_0x4647a0=this[_0x5c9b88(0x136)]({'command':_0x15ac56,'commands':_0x572d9c,'parentMenuView':_0x340027,'onExecute':_0x62dedf});_0x340027[_0x5c9b88(0xc0)][_0x5c9b88(0x9c)]({'label':_0x2a8534||_0x549623}),_0x340027[_0x5c9b88(0xa0)](_0x5c9b88(0x13e))['to'](_0x4611ed),_0x5857b7[_0x5c9b88(0x12a)][_0x5c9b88(0x99)](_0x4647a0),_0x340027[_0x5c9b88(0xc6)][_0x5c9b88(0xfd)][_0x5c9b88(0xa4)](_0x5857b7),_0x52f124[_0x5c9b88(0xfd)][_0x5c9b88(0xa4)](_0x340027),_0x45eb88[_0x5c9b88(0x12a)][_0x5c9b88(0xa4)](_0x52f124);}),_0x4611ed[_0x11edb7(0xc6)][_0x11edb7(0xfd)][_0x11edb7(0xa4)](_0x45eb88);}[_0x4ee336(0x136)]({command:_0x1883a2,commands:_0x595b21,parentMenuView:_0x20792e,onExecute:_0x1e5054}){const _0x3f2482=_0x4ee336,_0x24ad45=this[_0x3f2482(0xd0)],_0x229a7b=_0x24ad45[_0x3f2482(0xb1)];return wi(_0x24ad45,_0x595b21)[_0x3f2482(0x97)](_0x31f292=>{const _0x2e6281=_0x3f2482,_0x3c4eeb=new _0x1eb618(_0x229a7b,_0x20792e),_0x5c3501=new _0x605b16(_0x229a7b);return _0x5c3501[_0x2e6281(0x9c)]({'label':_0x31f292[_0x2e6281(0x134)]}),_0x5c3501[_0x2e6281(0xa0)](_0x2e6281(0x13e))['to'](_0x20792e),_0x5c3501['on'](_0x2e6281(0x13e),()=>_0x1e5054(_0x31f292['id'])),_0x5c3501[_0x2e6281(0xb7)](_0x2e6281(0x11c))['to'](_0x1883a2,_0x2e6281(0x13f),_0x3bbe73=>_0x3bbe73[_0x2e6281(0xfb)](_0x31f292['id'])),_0x3c4eeb[_0x2e6281(0xfd)][_0x2e6281(0xa4)](_0x5c3501),_0x3c4eeb;});}}function Ai(_0x2054b2,_0x237775){const _0x560bdb=_0x4ee336;return void 0x0!==_0x2054b2[_0x560bdb(0x12e)]&&void 0x0===_0x237775[_0x560bdb(0x12e)]?0x1:void 0x0===_0x2054b2[_0x560bdb(0x12e)]&&void 0x0!==_0x237775[_0x560bdb(0x12e)]?-0x1:void 0x0!==_0x2054b2[_0x560bdb(0x12e)]&&void 0x0!==_0x237775[_0x560bdb(0x12e)]?_0x2054b2[_0x560bdb(0x12e)]-_0x237775[_0x560bdb(0x12e)]:0x0;}function wi(_0xe74e5c,_0x528279){const _0x24fbc5=_0x4ee336;_0x528279[_0x24fbc5(0x95)](Ai);const _0x313685={},_0x213cc8=[];for(const _0x1c13d6 of _0x528279)if(void 0x0!==_0x1c13d6[_0x24fbc5(0x12e)]){if(_0x1c13d6[_0x24fbc5(0x12e)]in _0x313685)throw new _0x3a524f(_0x24fbc5(0xca),_0xe74e5c,{'conflictingDefinitions':[_0x1c13d6,_0x313685[_0x1c13d6[_0x24fbc5(0x12e)]]]});_0x313685[_0x1c13d6[_0x24fbc5(0x12e)]]=_0x1c13d6,_0x213cc8[_0x24fbc5(0x122)](_0x1c13d6[_0x24fbc5(0x12e)],0x0,_0x1c13d6);}else _0x213cc8[_0x24fbc5(0xe4)](_0x1c13d6);return _0x213cc8;}
|
|
23
|
+
const _0x242380=_0x533e;function _0x533e(_0x255172,_0x30c1ce){const _0x1176d1=_0x1176();return _0x533e=function(_0x533e75,_0x16a6c1){_0x533e75=_0x533e75-0xe6;let _0xe8037d=_0x1176d1[_0x533e75];return _0xe8037d;},_0x533e(_0x255172,_0x30c1ce);}(function(_0xa4264a,_0x2e68f8){const _0x42c2b0=_0x533e,_0x253400=_0xa4264a();while(!![]){try{const _0x4f7857=parseInt(_0x42c2b0(0x122))/0x1*(-parseInt(_0x42c2b0(0x134))/0x2)+-parseInt(_0x42c2b0(0x120))/0x3*(-parseInt(_0x42c2b0(0x195))/0x4)+parseInt(_0x42c2b0(0x15f))/0x5+-parseInt(_0x42c2b0(0x147))/0x6*(-parseInt(_0x42c2b0(0x171))/0x7)+parseInt(_0x42c2b0(0xf6))/0x8+-parseInt(_0x42c2b0(0xe9))/0x9*(parseInt(_0x42c2b0(0x177))/0xa)+parseInt(_0x42c2b0(0x143))/0xb;if(_0x4f7857===_0x2e68f8)break;else _0x253400['push'](_0x253400['shift']());}catch(_0x5808ee){_0x253400['push'](_0x253400['shift']());}}}(_0x1176,0x67a4e));import{Plugin as _0x33bc2a}from'ckeditor5/src/core.js';import{IconMagicWand as _0x15d1f6,IconRobotPencil as _0x26a6ac}from'ckeditor5/src/icons.js';import{first as _0x5b0d27,CKEditorError as _0x1bda40}from'ckeditor5/src/utils.js';import{createDropdown as _0x2cf320,addMenuToDropdown as _0x50ca9a,ButtonView as _0x1de4a3,MenuBarMenuListItemButtonView as _0x51a049,Dialog as _0x3d0c59,DialogViewPosition as _0x5a316f,MenuBarMenuView as _0x4f7934,MenuBarMenuListView as _0x577c8d,MenuBarMenuListItemView as _0x28e5d7}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x445e28,UNGROUPED_COMMANDS_GROUP_ID as _0x2fbc7f}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x19b752}from'./aiassistantediting.js';import{AIAdapter as _0x4a67d2}from'./adapters/aiadapter.js';import{getTranslation as _0x2f87f7}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4870c9}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x25bfb0}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x113205}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5310f3}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const l=globalThis[_0x242380(0x17b)];import{ClipboardMarkersUtils as _0x471c05}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xfbe513,ViewDataTransfer as _0x1842ac}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x33bc2a{[_0x242380(0x12f)];[_0x242380(0x148)];[_0x242380(0x138)];[_0x242380(0x12c)];[_0x242380(0x14f)];[_0x242380(0xfa)];[_0x242380(0x168)]='';static get[_0x242380(0x160)](){const _0x160006=_0x242380;return _0x160006(0x154);}static get[_0x242380(0x164)](){return!0x0;}static get[_0x242380(0xf2)](){return!0x0;}static get[_0x242380(0x162)](){return[_0x471c05,_0x19b752,_0x4a67d2,_0x3d0c59];}constructor(_0x18c3bb){const _0x3fa5e5=_0x242380;super(_0x18c3bb),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x196),[_0x3fa5e5(0x12b),_0x3fa5e5(0x125),_0x3fa5e5(0x193)]),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x102),''),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x136),!0x0),this[_0x3fa5e5(0x168)]=_0x3fa5e5(0xef)+(_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x14d)](_0x3fa5e5(0x136))?_0x3fa5e5(0x150):'');}[_0x242380(0x13d)](){const _0x14b756=_0x242380,{editor:_0x12c790}=this;this[_0x14b756(0x14f)]=_0x12c790[_0x14b756(0xf8)][_0x14b756(0x14d)](_0x4a67d2),this[_0x14b756(0x138)]=_0x12c790[_0x14b756(0xf8)][_0x14b756(0x14d)](_0x3d0c59),this[_0x14b756(0x12c)]=null,this[_0x14b756(0x107)]=this[_0x14b756(0xfd)]();const _0x3aca94=new _0x4870c9(_0x12c790,Array[_0x14b756(0x194)](this[_0x14b756(0x107)][_0x14b756(0x15b)]()));_0x12c790[_0x14b756(0x109)][_0x14b756(0xea)](_0x14b756(0xe7),_0x3aca94),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x16f),_0x5d26fb=>{const _0x1020c3=_0x14b756,_0x365343=_0x2cf320(_0x5d26fb);return _0x365343[_0x1020c3(0x16b)]({'class':_0x1020c3(0x14b)+this[_0x1020c3(0x168)]}),_0x365343[_0x1020c3(0x103)][_0x1020c3(0x16b)]({'label':_0x2f87f7(_0x5d26fb,_0x1020c3(0x191)),'icon':_0x15d1f6,'tooltip':!0x0}),_0x365343['on'](_0x1020c3(0x127),_0x4ac3ed=>this[_0x1020c3(0x132)](_0x4ac3ed[_0x1020c3(0xf9)]['id'])),_0x50ca9a(_0x365343,_0x12c790['ui'][_0x1020c3(0x18e)][_0x1020c3(0x146)],function(_0xd12cf0){const _0x24fb7d=_0x1020c3,_0x567e4c=_0x445e28(_0xd12cf0[_0x24fb7d(0x152)][_0x24fb7d(0x14d)](_0x24fb7d(0xff)),_0xd12cf0[_0x24fb7d(0x108)]),_0x11ea46=U(_0xd12cf0,_0x567e4c)[_0x24fb7d(0x140)](_0x46a4de=>_0x46a4de[_0x24fb7d(0x109)][_0x24fb7d(0x10f)]);if(0x1===_0x11ea46[_0x24fb7d(0x10f)])return U(_0xd12cf0,_0x11ea46[0x0][_0x24fb7d(0x109)])[_0x24fb7d(0x156)](_0x3fa204=>({'id':_0x3fa204['id'],'label':_0x3fa204[_0x24fb7d(0x11f)]}));return _0x11ea46[_0x24fb7d(0x156)](_0x12dc2a=>{const _0x4322ce=_0x24fb7d,{groupId:_0x2d63ef,groupLabel:_0x546eca,commands:_0x56185b}=_0x12dc2a,_0x38ff90=U(_0xd12cf0,_0x56185b)[_0x4322ce(0x156)](_0x1dc39e=>({'id':_0x1dc39e['id'],'label':_0x1dc39e[_0x4322ce(0x11f)]}));return{'id':_0x2d63ef,'menu':_0x546eca||_0x2d63ef,'children':_0x38ff90};});}(_0x12c790),{'ariaLabel':_0x2f87f7(_0x5d26fb,_0x1020c3(0x191))}),_0x365343[_0x1020c3(0x172)][_0x1020c3(0xe6)]=_0x1020c3(0x14b)+this[_0x1020c3(0x168)],_0x3aca94['on'](_0x1020c3(0x176),_0x4defb8),_0x365343[_0x1020c3(0x172)][_0x1020c3(0x126)](_0x1020c3(0x187),_0x4defb8),_0x365343;function _0x4defb8(){const _0x3596ce=_0x1020c3;_0x365343[_0x3596ce(0x101)]=_0x3aca94[_0x3596ce(0x10c)][_0x3596ce(0x10f)]>0x0;for(const _0x1b158a of _0x365343[_0x3596ce(0x172)][_0x3596ce(0x11c)])_0x1b158a[_0x3596ce(0x101)]=_0x3aca94[_0x3596ce(0x10c)][_0x3596ce(0x155)](_0x1b158a['id']);}}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0xed),_0x18bebf=>{const _0x1514b3=_0x14b756,_0x5e9fd8=new _0x4f7934(_0x18bebf);_0x5e9fd8[_0x1514b3(0x103)][_0x1514b3(0x16b)]({'label':_0x2f87f7(_0x18bebf,_0x1514b3(0x191)),'icon':_0x15d1f6}),_0x5e9fd8[_0x1514b3(0x13e)](_0x1514b3(0x101))['to'](_0x3aca94,_0x1514b3(0x10c),_0x2c9c82=>_0x2c9c82[_0x1514b3(0x10f)]>0x0);const _0x105554=_0x445e28(_0x12c790[_0x1514b3(0x152)][_0x1514b3(0x14d)](_0x1514b3(0xff)),_0x18bebf);return this[_0x1514b3(0x104)](_0x3aca94,_0x5e9fd8,_0x105554,_0x2340e8=>this[_0x1514b3(0x132)](_0x2340e8)),_0x5e9fd8;}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x17d),()=>{const _0xb1b0e9=_0x14b756,_0x482735=this[_0xb1b0e9(0x133)](_0x1de4a3);return _0x482735[_0xb1b0e9(0x16b)]({'tooltip':!0x0,'class':_0xb1b0e9(0x169)+this[_0xb1b0e9(0x168)]}),_0x482735;}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x13a),()=>{const _0x355a9a=_0x14b756,_0x2e0443=this[_0x355a9a(0x133)](_0x51a049);return _0x2e0443[_0x355a9a(0x16b)]({'role':_0x355a9a(0x149)}),_0x2e0443;}),this[_0x14b756(0x12f)]=this[_0x14b756(0x141)][_0x14b756(0x152)][_0x14b756(0x14d)](_0x14b756(0x12f));const _0x49925d=this[_0x14b756(0x141)];this[_0x14b756(0x148)]=setInterval(()=>{const _0x59473b=_0x14b756;let _0x4a9e5e;for(const _0x107274 in _0x49925d){const _0x12d04a=_0x107274,_0x119a04=_0x49925d[_0x12d04a];if(_0x59473b(0x17a)==_0x119a04||_0x59473b(0x192)==_0x119a04||_0x59473b(0x18c)==_0x119a04||_0x59473b(0x17e)==_0x119a04||_0x59473b(0x175)==_0x119a04||_0x59473b(0x13b)==_0x119a04||_0x59473b(0xfb)==_0x119a04||_0x59473b(0x186)==_0x119a04){delete _0x49925d[_0x12d04a],_0x4a9e5e=_0x119a04,clearInterval(this[_0x59473b(0x148)]),this[_0x59473b(0x148)]=void 0x0;break;}}_0x59473b(0x192)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0xf0)),_0x59473b(0x18c)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10a)),_0x59473b(0x17e)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x119)),_0x59473b(0x175)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10e),_0x59473b(0x173)),_0x59473b(0x13b)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10b)),_0x59473b(0xfb)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x145)),_0x59473b(0x186)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0xe8));},0x3e8);}[_0x242380(0x128)](){const _0x4d8545=_0x242380;super[_0x4d8545(0x128)](),this[_0x4d8545(0x148)]&&clearInterval(this[_0x4d8545(0x148)]);}[_0x242380(0x159)](_0x4749c0='',_0x557aa1='',_0x55b37c=_0x242380(0x178)){const _0x2c57e9=_0x242380,_0x3f3ace=this[_0x2c57e9(0x141)],_0x21399e=_0x3f3ace[_0x2c57e9(0x124)][_0x2c57e9(0x18e)],_0x2eba11=_0x3f3ace[_0x2c57e9(0xf8)][_0x2c57e9(0x14d)](_0x19b752),_0x26f6f5=_0x3f3ace[_0x2c57e9(0xf8)][_0x2c57e9(0x14d)](_0x471c05);_0x2eba11[_0x2c57e9(0x121)]();const _0x587d0e=new l(),_0xa9d7cd=new ClipboardEvent(_0x2c57e9(0x142),{'clipboardData':_0x587d0e}),_0x49d0c7=new _0x1842ac(_0x587d0e),_0xf5a2dc=new _0xfbe513(_0x21399e,_0xa9d7cd,{'dataTransfer':_0x49d0c7});_0x26f6f5[_0x2c57e9(0x15a)](_0x2c57e9(0xf3),()=>{const _0x5e3436=_0x2c57e9;_0x21399e[_0x5e3436(0x10d)][_0x5e3436(0x16c)](_0x5e3436(0x142),_0xf5a2dc);}),this[_0x2c57e9(0x12c)]||(this[_0x2c57e9(0x117)](),this[_0x2c57e9(0xfa)]=new _0x25bfb0(_0x3f3ace,this[_0x2c57e9(0x14f)][_0x2c57e9(0xeb)],this[_0x2c57e9(0x12c)]));let _0xb01be9=_0x49d0c7[_0x2c57e9(0x184)](_0x2c57e9(0x163));const _0x3af493=_0x3f3ace[_0x2c57e9(0x189)][_0x2c57e9(0x10d)][_0x2c57e9(0x14a)],_0x3c5d7b=Array[_0x2c57e9(0x194)](_0x3af493[_0x2c57e9(0x151)]());0x1===_0x3c5d7b[_0x2c57e9(0x10f)]&&_0x3c5d7b[0x0][_0x2c57e9(0x153)]&&!_0x3af493[_0x2c57e9(0x17c)]()&&''!==_0xb01be9[_0x2c57e9(0x16e)](/ /g,'')[_0x2c57e9(0x130)]()&&(_0xb01be9=_0x2c57e9(0x18b)+_0xb01be9+_0x2c57e9(0x15c)),this[_0x2c57e9(0xfa)][_0x2c57e9(0x181)]({'actionId':_0x55b37c,'query':_0x4749c0,'htmlContent':_0xb01be9,'label':_0x557aa1,'mainActionLabel':_0x5310f3[_0x3f3ace[_0x2c57e9(0x189)][_0x2c57e9(0x10d)][_0x2c57e9(0x14a)][_0x2c57e9(0xf1)]?_0x2c57e9(0xfe):_0x2c57e9(0xec)]}),_0x2c57e9(0x17d)!==this[_0x2c57e9(0x138)]['id']?this[_0x2c57e9(0x138)][_0x2c57e9(0xee)]({'id':_0x2c57e9(0x17d),'icon':_0x26a6ac,'title':_0x2f87f7(this[_0x2c57e9(0x141)][_0x2c57e9(0x108)],_0x2c57e9(0x11e)),'content':this[_0x2c57e9(0x12c)],'position':_0x5a316f[_0x2c57e9(0x11b)],'onShow':()=>{const _0x58cfb9=_0x2c57e9;this[_0x58cfb9(0x12c)][_0x58cfb9(0x18d)]();},'onHide':()=>{const _0x3d35f8=_0x2c57e9;this[_0x3d35f8(0xfa)][_0x3d35f8(0x165)](),_0x2eba11[_0x3d35f8(0x185)]();}}):this[_0x2c57e9(0x138)][_0x2c57e9(0x18e)][_0x2c57e9(0x11d)]||this[_0x2c57e9(0x138)][_0x2c57e9(0x18e)][_0x2c57e9(0x118)]();}[_0x242380(0x123)](){const _0x209c3b=_0x242380;this[_0x209c3b(0x138)][_0x209c3b(0x166)]();}[_0x242380(0xfd)](){const _0x2e99fc=_0x242380,_0x230163=new Map(),_0x35b7a6=_0x445e28(this[_0x2e99fc(0x141)][_0x2e99fc(0x152)][_0x2e99fc(0x14d)](_0x2e99fc(0xff)),this[_0x2e99fc(0x141)][_0x2e99fc(0x108)]);for(const _0x3992b7 of _0x35b7a6)for(const _0x59d4c7 of _0x3992b7[_0x2e99fc(0x109)])_0x230163[_0x2e99fc(0x16b)](_0x59d4c7['id'],{..._0x59d4c7,'groupId':_0x3992b7[_0x2e99fc(0x139)],'groupLabel':_0x3992b7[_0x2e99fc(0x18a)]||_0x3992b7[_0x2e99fc(0x139)]});return _0x230163;}[_0x242380(0x133)](_0x10eb19){const _0x33bee1=_0x242380,_0x5d6536=this[_0x33bee1(0x141)],_0x371706=_0x5d6536[_0x33bee1(0x109)][_0x33bee1(0x14d)](_0x33bee1(0xe7)),_0x15fc85=new _0x10eb19(_0x5d6536[_0x33bee1(0x108)]);return _0x15fc85[_0x33bee1(0x16b)]({'label':_0x2f87f7(_0x5d6536[_0x33bee1(0x108)],_0x33bee1(0x11e)),'icon':_0x26a6ac,'isToggleable':!0x0}),_0x15fc85[_0x33bee1(0x13e)](_0x33bee1(0x101))['to'](_0x371706),_0x15fc85[_0x33bee1(0x13e)](_0x33bee1(0x174))['to'](this[_0x33bee1(0x138)],'id',_0x558e8e=>_0x33bee1(0x17d)===_0x558e8e),this[_0x33bee1(0x112)](_0x15fc85,_0x33bee1(0x127),()=>{const _0x36eec9=_0x33bee1;_0x15fc85[_0x36eec9(0x174)]?this[_0x36eec9(0x123)]():_0x371706[_0x36eec9(0x127)]();}),_0x15fc85;}[_0x242380(0x117)](){const _0x47ed66=_0x242380,_0x441b5e=this[_0x47ed66(0x141)][_0x47ed66(0xf8)][_0x47ed66(0x14d)](_0x19b752);this[_0x47ed66(0x12c)]=new _0x113205(this[_0x47ed66(0x141)][_0x47ed66(0x108)],this[_0x47ed66(0x168)],this[_0x47ed66(0x141)][_0x47ed66(0x152)][_0x47ed66(0x14d)](_0x47ed66(0x102))),this[_0x47ed66(0x12c)]['on'](_0x47ed66(0x16a),()=>{const _0x4fd20e=_0x47ed66;this[_0x4fd20e(0x138)][_0x4fd20e(0x18e)][_0x4fd20e(0x11d)]||this[_0x4fd20e(0x138)][_0x4fd20e(0x18e)][_0x4fd20e(0x118)]();}),this[_0x47ed66(0x12c)][_0x47ed66(0x157)][_0x47ed66(0xf5)][_0x47ed66(0x179)]['on'](_0x47ed66(0x158),()=>{const _0x58ec2a=_0x47ed66;this[_0x58ec2a(0x138)][_0x58ec2a(0x18e)][_0x58ec2a(0x11d)]||this[_0x58ec2a(0x138)][_0x58ec2a(0x18e)][_0x58ec2a(0x118)]();}),this[_0x47ed66(0x112)](this[_0x47ed66(0x12c)],_0x47ed66(0x105),()=>{const _0xab56a4=_0x47ed66;_0x441b5e[_0xab56a4(0x131)](this[_0xab56a4(0xfa)][_0xab56a4(0x12e)]),this[_0xab56a4(0x123)]();}),this[_0x47ed66(0x112)](this[_0x47ed66(0x12c)],_0x47ed66(0x12a),()=>{const _0x127606=_0x47ed66;_0x441b5e[_0x127606(0x12a)](this[_0x127606(0xfa)][_0x127606(0x12e)]),this[_0x127606(0x123)]();}),this[_0x47ed66(0x167)]();}[_0x242380(0x167)](){const _0x5b2139=_0x242380,{locale:_0x1bdc22,ui:{ariaLiveAnnouncer:_0x491ca4}}=this[_0x5b2139(0x141)];this[_0x5b2139(0x12c)][_0x5b2139(0x114)]['on'](_0x5b2139(0x11a),(_0x3ac579,_0x15427e,_0x249889)=>{const _0x11c713=_0x5b2139,_0x5b6f0f=this[_0x11c713(0xfa)][_0x11c713(0x12e)];_0x249889?_0x491ca4[_0x11c713(0x188)](_0x2f87f7(_0x1bdc22,_0x11c713(0x100))):_0x5b6f0f&&_0x491ca4[_0x11c713(0x188)](_0x2f87f7(_0x1bdc22,_0x11c713(0x16d),_0x5b6f0f),{'politeness':_0x11c713(0x18f),'isUnsafeHTML':!0x0});}),this[_0x5b2139(0x12c)]['on'](_0x5b2139(0x144),(_0x205f44,_0x59589f,_0x2292f9)=>{const _0xc0109d=_0x5b2139;if(_0x2292f9){const _0x12b6ef=this[_0xc0109d(0x12c)][_0xc0109d(0x129)][_0xc0109d(0x15d)];_0x491ca4[_0xc0109d(0x188)](_0x2f87f7(_0x1bdc22,_0xc0109d(0x182),_0x12b6ef));}});}[_0x242380(0x132)](_0x4ac212){const _0x4d3909=_0x242380,_0x1c1c8d=this[_0x4d3909(0x107)][_0x4d3909(0x14d)](_0x4ac212),_0x33a237=this[_0x4d3909(0x141)],_0x3df905=_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x10d)][_0x4d3909(0x14a)],_0x594b=_0x33a237[_0x4d3909(0x109)][_0x4d3909(0x14d)](_0x4d3909(0xe7)),_0x5c473f=_0x33a237[_0x4d3909(0xf8)][_0x4d3909(0x14d)](_0x19b752),_0x2d7055=''+(_0x1c1c8d[_0x4d3909(0x139)]!==_0x2fbc7f?_0x1c1c8d[_0x4d3909(0x18a)]+':\x20':'')+_0x1c1c8d[_0x4d3909(0x11f)];if(!0x1!==_0x1c1c8d[_0x4d3909(0x137)]&&_0x3df905[_0x4d3909(0xf1)]){const _0x182582=_0x5b0d27(_0x3df905[_0x4d3909(0xfc)]())||_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x170)][_0x4d3909(0x113)](_0x3df905);_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x13f)](_0xd91102=>{const _0x48c959=_0x4d3909;_0xd91102[_0x48c959(0x110)](_0x182582,'in');});}_0x5c473f[_0x4d3909(0x121)](),_0x594b[_0x4d3909(0x127)](_0x1c1c8d[_0x4d3909(0x190)],_0x2d7055,_0x4d3909(0x135)+_0x4ac212);}[_0x242380(0x104)](_0x5b0cfb,_0x454348,_0x5e028f,_0x5545ec){const _0x4ddab7=_0x242380,_0x4b633a=this[_0x4ddab7(0x141)],_0x78742a=_0x4b633a[_0x4ddab7(0x108)],_0x22625b=new _0x577c8d(_0x78742a),_0x5538ac=U(_0x4b633a,_0x5e028f)[_0x4ddab7(0x140)](_0x36661a=>_0x36661a[_0x4ddab7(0x109)][_0x4ddab7(0x10f)]);0x1===_0x5538ac[_0x4ddab7(0x10f)]?this[_0x4ddab7(0x14e)]({'command':_0x5b0cfb,'commands':_0x5538ac[0x0][_0x4ddab7(0x109)],'parentMenuView':_0x454348,'onExecute':_0x5545ec})[_0x4ddab7(0x106)](_0x2d9c4b=>_0x22625b[_0x4ddab7(0x183)][_0x4ddab7(0xea)](_0x2d9c4b)):_0x5538ac[_0x4ddab7(0x106)](({groupId:_0x380fc5,groupLabel:_0x1a4330,commands:_0x2f1500})=>{const _0x176aa2=_0x4ddab7,_0x5235c2=new _0x28e5d7(_0x78742a,_0x454348),_0x46c96d=new _0x4f7934(_0x78742a),_0x44a147=new _0x577c8d(_0x78742a),_0x10c4a6=this[_0x176aa2(0x14e)]({'command':_0x5b0cfb,'commands':_0x2f1500,'parentMenuView':_0x46c96d,'onExecute':_0x5545ec});_0x46c96d[_0x176aa2(0x103)][_0x176aa2(0x16b)]({'label':_0x1a4330||_0x380fc5}),_0x46c96d[_0x176aa2(0x13c)](_0x176aa2(0x127))['to'](_0x454348),_0x44a147[_0x176aa2(0x183)][_0x176aa2(0xf7)](_0x10c4a6),_0x46c96d[_0x176aa2(0x161)][_0x176aa2(0x12d)][_0x176aa2(0xea)](_0x44a147),_0x5235c2[_0x176aa2(0x12d)][_0x176aa2(0xea)](_0x46c96d),_0x22625b[_0x176aa2(0x183)][_0x176aa2(0xea)](_0x5235c2);}),_0x454348[_0x4ddab7(0x161)][_0x4ddab7(0x12d)][_0x4ddab7(0xea)](_0x22625b);}[_0x242380(0x14e)]({command:_0x2fcf71,commands:_0x2a3282,parentMenuView:_0x1ad67b,onExecute:_0x53f175}){const _0x20fa18=_0x242380,_0x388352=this[_0x20fa18(0x141)],_0x3552e3=_0x388352[_0x20fa18(0x108)];return U(_0x388352,_0x2a3282)[_0x20fa18(0x156)](_0x46eaa9=>{const _0x5696ad=_0x20fa18,_0x2ad1bc=new _0x28e5d7(_0x3552e3,_0x1ad67b),_0x17e0d4=new _0x51a049(_0x3552e3);return _0x17e0d4[_0x5696ad(0x16b)]({'label':_0x46eaa9[_0x5696ad(0x11f)]}),_0x17e0d4[_0x5696ad(0x13c)](_0x5696ad(0x127))['to'](_0x1ad67b),_0x17e0d4['on'](_0x5696ad(0x127),()=>_0x53f175(_0x46eaa9['id'])),_0x17e0d4[_0x5696ad(0x13e)](_0x5696ad(0x101))['to'](_0x2fcf71,_0x5696ad(0x10c),_0x3205a6=>_0x3205a6[_0x5696ad(0x155)](_0x46eaa9['id'])),_0x2ad1bc[_0x5696ad(0x12d)][_0x5696ad(0xea)](_0x17e0d4),_0x2ad1bc;});}}function _0x1176(){const _0x59f8c2=['ai.assistant.commands','AI\x20is\x20writing','isEnabled','ai.assistant.contentAreaCssClass','buttonView','_populateMenuBarMenu','replaceContent','forEach','_commandDefinitions','locale','commands','expired','evaluationLimit','enabledCommandsIds','document','featureNotAllowed','length','setSelection','push','listenTo','getLimitElement','contentArea','ai-commands-config-order-collision','_showLicenseError','_initView','updatePosition','domainLimit','change:isProcessing','EDITOR_TOP_SIDE','buttons','wasMoved','AI\x20Assistant','label','670107pYhNKp','showFakeVisualSelection','56702PGmyAm','hideUI','editing','rawHtml','once','execute','destroy','errorView','insertContentBelow','media','_formView','children','currentContext','licenseKey','trim','insertContent','_onExecute','_createAIAssistantUIButton','22FsnXqN','command:','ai.assistant.useTheme','requiresContent','_dialog','groupId','menuBar:aiAssistant','aiLicenseKeyEvaluationLimit','delegate','init','bind','change','filter','editor','copy','8516750pSapaP','change:isError','trialLimit','body','12Msdxfk','_licenseKeyCheckInterval','menuitemcheckbox','selection','ck-ai-commands-dropdown\x20','sort','get','_getMenuBarGroupButtons','_aiAdapter','\x20ck-ai-assistant-ui_theme','getRanges','config','isFlat','AIAssistantUI','includes','map','promptView','update','showUI','_forceMarkersCopy','values','</p>','text','order','375630LOYhVT','pluginName','panelView','requires','text/html','isOfficialPlugin','reset','hide','_initAriaAiStatusChangeAnnouncements','_uiCssClasses','ck-ai-assistant-button\x20','change:value','set','fire','Generated\x20content:\x20%0','replace','aiCommands','schema','139769HhrutW','menuView','AIAssistant','isOn','aiLicenseKeyNotAllowed','change:enabledCommandsIds','5378080gKzPzi','custom','fieldView','aiLicenseKeyValid','DataTransfer','getSelectedElement','aiAssistant','aiLicenseKeyDomainLimit','define','componentFactory','updateView','Error\x20during\x20AI\x20content\x20generation:\x20%0','items','getData','hideFakeVisualSelection','aiLicenseKeyUsageLimit','render','announce','model','groupLabel','<p>','aiLicenseKeyExpired','focus','view','polite','prompt','AI\x20Commands','aiLicenseKeyInvalid','tableOfContents','from','4cLXHUL','ai.assistant.disabledElements','menuPanelClass','showAIAssistant','usageLimit','9TCyOCj','add','textAdapter','REPLACE','menuBar:aiCommands','show','ck-ai-assistant-ui','invalid','isCollapsed','isPremiumPlugin','comment','splice','queryView','3787016BvwVCE','addMany','plugins','source','_aiAssistantController','aiLicenseKeyTrialLimit','getSelectedBlocks','_getResolvedCommandsDefinitions','INSERT'];_0x1176=function(){return _0x59f8c2;};return _0x1176();}function T(_0x3f0c86,_0x277416){const _0x4ae8a0=_0x242380;return void 0x0!==_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0===_0x277416[_0x4ae8a0(0x15e)]?0x1:void 0x0===_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0!==_0x277416[_0x4ae8a0(0x15e)]?-0x1:void 0x0!==_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0!==_0x277416[_0x4ae8a0(0x15e)]?_0x3f0c86[_0x4ae8a0(0x15e)]-_0x277416[_0x4ae8a0(0x15e)]:0x0;}function U(_0x192f7a,_0x3bc396){const _0x12b015=_0x242380;_0x3bc396[_0x12b015(0x14c)](T);const _0x2fedb0={},_0x4bc4b4=[];for(const _0x2035b9 of _0x3bc396)if(void 0x0!==_0x2035b9[_0x12b015(0x15e)]){if(_0x2035b9[_0x12b015(0x15e)]in _0x2fedb0)throw new _0x1bda40(_0x12b015(0x115),_0x192f7a,{'conflictingDefinitions':[_0x2035b9,_0x2fedb0[_0x2035b9[_0x12b015(0x15e)]]]});_0x2fedb0[_0x2035b9[_0x12b015(0x15e)]]=_0x2035b9,_0x4bc4b4[_0x12b015(0xf4)](_0x2035b9[_0x12b015(0x15e)],0x0,_0x2035b9);}else _0x4bc4b4[_0x12b015(0x111)](_0x2035b9);return _0x4bc4b4;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3d1b85,_0x328c3a){var _0x2000d9=_0x48b6,_0xea89a=_0x3d1b85();while(!![]){try{var _0x17105c=-parseInt(_0x2000d9(0x1cd))/0x1*(-parseInt(_0x2000d9(0x1ca))/0x2)+parseInt(_0x2000d9(0x1cf))/0x3*(parseInt(_0x2000d9(0x1c6))/0x4)+parseInt(_0x2000d9(0x1cc))/0x5*(-parseInt(_0x2000d9(0x1ce))/0x6)+-parseInt(_0x2000d9(0x1c8))/0x7+-parseInt(_0x2000d9(0x1cb))/0x8+-parseInt(_0x2000d9(0x1c7))/0x9*(parseInt(_0x2000d9(0x1c9))/0xa)+parseInt(_0x2000d9(0x1c5))/0xb;if(_0x17105c===_0x328c3a)break;else _0xea89a['push'](_0xea89a['shift']());}catch(_0x43adca){_0xea89a['push'](_0xea89a['shift']());}}}(_0x4f28,0x6f348));function _0x4f28(){var _0x15c6e7=['60pEIJYA','45DOaXqd','3758944yGrYiQ','359620IfxIPQ','274LhwZVw','1546760WogLyK','5yAyNuW','3934WbORHF','5383842cQBaDc','71193hLVOsK','15048297zvpVuX'];_0x4f28=function(){return _0x15c6e7;};return _0x4f28();}function _0x48b6(_0xf15a5f,_0x2891c6){var _0x4f28cd=_0x4f28();return _0x48b6=function(_0x48b67d,_0x205b0b){_0x48b67d=_0x48b67d-0x1c5;var _0x2d4bb1=_0x4f28cd[_0x48b67d];return _0x2d4bb1;},_0x48b6(_0xf15a5f,_0x2891c6);}import{CKEditorError as _0x1d4580}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x230918=_0x3d2c;function _0x230a(){const _0x1c7031=['textAdapter','substring','```html','finally','_normalizeResponseHeadings','previousActionId','<h1></h1>','body','22XSogYz','domConverter','stringify','_xmlSerializer','exec','previousQuery','name','once','_isH1TagSupportEnabled','rename','processor','length','startsWith','listenTo','parseFromString','view','div','finishProcessing','markers','element','viewToDom','startProcessing','```','previousContext','createElement','toModel','querySelector','data','ELEMENT_NODE','toView','previousLabel','reset','_handleQuery','1929496aXgiKD','stopListening','_stripMarkdownSyntax','clear','347075tSNpZI','_sanitizationContainer','isRendered','childNodes','prompt','abort','_domParser','endsWith','get','remove','nodeType','tryAgainEvent','makeRequest','mainAction','serializeToString','push','submitPrompt','from','catch','render','498990voWnpM','text/html','updateView','stopProcessing','isProcessing','5riqMpW','destroy','config','currentContext','custom','match','document','message','set','663762DZaIeu','set:currentContext','12zBZztw','ai.assistant.preserveComments','reverse','_sanitizeHTML','then','editing','htmlProcessor','editor','innerHTML','_parseAndNormalizeContent','initialContext','24290wTEJVw','currentResponse','setContentOf','trim','974439hSLCPw','handleError','493402OOvLWE','12MJUVTI','value'];_0x230a=function(){return _0x1c7031;};return _0x230a();}(function(_0x3cbeba,_0xf2c543){const _0x558e2e=_0x3d2c,_0x85b82f=_0x3cbeba();while(!![]){try{const _0x4bb569=parseInt(_0x558e2e(0x1e4))/0x1*(-parseInt(_0x558e2e(0x1fa))/0x2)+parseInt(_0x558e2e(0x1ed))/0x3+-parseInt(_0x558e2e(0x1ef))/0x4*(parseInt(_0x558e2e(0x1cb))/0x5)+-parseInt(_0x558e2e(0x19c))/0x6*(-parseInt(_0x558e2e(0x19b))/0x7)+parseInt(_0x558e2e(0x1c7))/0x8+-parseInt(_0x558e2e(0x199))/0x9+-parseInt(_0x558e2e(0x1df))/0xa*(parseInt(_0x558e2e(0x1a6))/0xb);if(_0x4bb569===_0xf2c543)break;else _0x85b82f['push'](_0x85b82f['shift']());}catch(_0x3514cd){_0x85b82f['push'](_0x85b82f['shift']());}}}(_0x230a,0x1eda6));import{ObservableMixin as _0x3689b7}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1c2fda}from'../adapters/aiadapter.js';function _0x3d2c(_0xf6e34b,_0x58cf60){const _0x230ae7=_0x230a();return _0x3d2c=function(_0x3d2c3b,_0x5856ce){_0x3d2c3b=_0x3d2c3b-0x197;let _0x2043ef=_0x230ae7[_0x3d2c3b];return _0x2043ef;},_0x3d2c(_0xf6e34b,_0x58cf60);}import{Matcher as _0x310ef0,ViewUpcastWriter as _0x9f1e5c}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3689b7(){[_0x230918(0x1f6)];[_0x230918(0x19e)];[_0x230918(0x1b5)];[_0x230918(0x1cc)];[_0x230918(0x1d1)];[_0x230918(0x1a9)];constructor(_0x2e83fb,_0x492599,_0x55b292){const _0x59c75c=_0x230918;super(),this[_0x59c75c(0x1f6)]=_0x2e83fb,this[_0x59c75c(0x19e)]=_0x492599,this[_0x59c75c(0x1cc)]=document[_0x59c75c(0x1be)](_0x59c75c(0x1b6)),this[_0x59c75c(0x1d1)]=new DOMParser(),this[_0x59c75c(0x1a9)]=new XMLSerializer(),this[_0x59c75c(0x1b5)]=_0x55b292,this[_0x59c75c(0x1ec)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x59c75c(0x1ee),(_0x561608,_0x5b53d1,_0x11e6ce)=>{const _0xd402a7=_0x59c75c;this[_0xd402a7(0x1b5)][_0xd402a7(0x19d)]=this[_0xd402a7(0x1f2)](_0x11e6ce);}),this[_0x59c75c(0x1b3)](this[_0x59c75c(0x1b5)],_0x59c75c(0x1db),(_0x3acaaf,_0x29fb0d)=>{const _0x3147e9=_0x59c75c,_0x4e1ad5=this[_0x3147e9(0x1e7)]||this[_0x3147e9(0x1f9)];this[_0x3147e9(0x1c6)](_0x29fb0d,_0x4e1ad5,_0x3147e9(0x1e8));}),this[_0x59c75c(0x1b3)](this[_0x59c75c(0x1b5)],_0x59c75c(0x1d6),()=>{const _0x33b31c=_0x59c75c;this[_0x33b31c(0x1b5)][_0x33b31c(0x1cf)]=this[_0x33b31c(0x1c4)],this[_0x33b31c(0x1c6)](this[_0x33b31c(0x1ab)],this[_0x33b31c(0x1bd)],this[_0x33b31c(0x1a3)],this[_0x33b31c(0x1c4)]);}),this[_0x59c75c(0x1b3)](this[_0x59c75c(0x1b5)],_0x59c75c(0x1e2),()=>{const _0x12eacf=_0x59c75c;this[_0x12eacf(0x1e2)]();});}[_0x230918(0x1e5)](){const _0x3f1927=_0x230918;this[_0x3f1927(0x1c8)]();}async[_0x230918(0x1e1)]({actionId:_0x7abe0c,query:_0x20526a,htmlContent:_0x2ccef6,label:_0x203112,mainActionLabel:_0x333fac}){const _0x3646d2=_0x230918;this[_0x3646d2(0x1b5)][_0x3646d2(0x1cf)]=_0x203112,this[_0x3646d2(0x1b5)][_0x3646d2(0x1d8)]=_0x333fac,this[_0x3646d2(0x1f9)]=_0x2ccef6,_0x20526a&&(this[_0x3646d2(0x1b5)][_0x3646d2(0x1cd)]?this[_0x3646d2(0x1c6)](_0x20526a,_0x2ccef6,_0x7abe0c,_0x203112):this[_0x3646d2(0x1b5)][_0x3646d2(0x1ad)](_0x3646d2(0x1de),()=>{const _0x2a76da=_0x3646d2;this[_0x2a76da(0x1c6)](_0x20526a,_0x2ccef6,_0x7abe0c,_0x203112);}));}[_0x230918(0x1e2)](){const _0x3d832b=_0x230918;this[_0x3d832b(0x1e3)]&&(this[_0x3d832b(0x1e3)]=!0x1,this[_0x3d832b(0x1b5)][_0x3d832b(0x1b7)](),this[_0x3d832b(0x19e)][_0x3d832b(0x1d0)]());}[_0x230918(0x1c5)](){const _0x298408=_0x230918;this[_0x298408(0x1f9)]='',this[_0x298408(0x1e7)]='',this[_0x298408(0x1fb)]='',this[_0x298408(0x1bd)]='',this[_0x298408(0x1ab)]='',this[_0x298408(0x1c4)]='',this[_0x298408(0x1a3)]=void 0x0,this[_0x298408(0x1b5)][_0x298408(0x1c5)](),this[_0x298408(0x1e2)]();}async[_0x230918(0x1c6)](_0x284781,_0x211562,_0x2f37b2,_0x4e0964){const _0x1c916e=_0x230918;return this[_0x1c916e(0x1e3)]=!0x0,this[_0x1c916e(0x1b5)][_0x1c916e(0x1bb)](),this[_0x1c916e(0x1bd)]=_0x211562,this[_0x1c916e(0x1ab)]=_0x284781,this[_0x1c916e(0x1c4)]=_0x4e0964||_0x284781,this[_0x1c916e(0x1a3)]=_0x2f37b2,new Promise(_0x3401ee=>{const _0x984e79=_0x1c916e;this[_0x984e79(0x19e)][_0x984e79(0x1d7)]({'query':_0x284781,'context':_0x211562,'onData':_0x102426=>{const _0x14fa7d=_0x984e79;this[_0x14fa7d(0x1fb)]=_0x102426,this[_0x14fa7d(0x1e7)]=this[_0x14fa7d(0x1f8)](this[_0x14fa7d(0x1fb)]);},'actionId':_0x2f37b2})[_0x984e79(0x1f3)](()=>{const _0x3644d0=_0x984e79;!this[_0x3644d0(0x1e7)]&&this[_0x3644d0(0x1fb)]&&(this[_0x3644d0(0x1e7)]=this[_0x3644d0(0x1f8)](this[_0x3644d0(0x1fb)],!0x0));})[_0x984e79(0x1dd)](_0xabd045=>{const _0x4e093f=_0x984e79;_0xabd045 instanceof _0x1c2fda?this[_0x4e093f(0x1b5)][_0x4e093f(0x19a)](_0xabd045[_0x4e093f(0x1eb)]):this[_0x4e093f(0x1b5)][_0x4e093f(0x19a)](),_0x3401ee();})[_0x984e79(0x1a1)](()=>{const _0x429cb3=_0x984e79;this[_0x429cb3(0x1e2)](),_0x3401ee();});});}[_0x230918(0x1f8)](_0xf5e598,_0x4beaca=!0x1){const _0x267922=_0x230918,_0xcf7011=hs[_0x267922(0x1aa)](_0xf5e598);_0xf5e598=_0xcf7011?_0xf5e598[_0x267922(0x19f)](_0xcf7011[0x1][_0x267922(0x1b1)]):_0xf5e598[_0x267922(0x1b1)]<0x64&&!_0x4beaca?'':this[_0x267922(0x1c9)](_0xf5e598);const _0x32d78f=this[_0x267922(0x1d1)][_0x267922(0x1b4)](_0xf5e598,_0x267922(0x1e0));if(_0xcf7011){const _0x176ae3=Array[_0x267922(0x1dc)](_0x32d78f[_0x267922(0x1a5)][_0x267922(0x1ce)]);_0x176ae3[_0x267922(0x1f1)]();for(const _0x101656 of _0x176ae3){if(_0x101656[_0x267922(0x1d5)]==Node[_0x267922(0x1c2)])break;_0x101656[_0x267922(0x1d4)]();}}const _0x4b6bfb=this[_0x267922(0x1f6)][_0x267922(0x1c1)][_0x267922(0x1b0)][_0x267922(0x1c3)](this[_0x267922(0x1a9)][_0x267922(0x1d9)](_0x32d78f[_0x267922(0x1a5)]));this[_0x267922(0x1ae)]()||this[_0x267922(0x1a2)](_0x4b6bfb);const _0x2bc1ef=this[_0x267922(0x1f6)][_0x267922(0x1e6)][_0x267922(0x1d3)](_0x267922(0x1f0)),_0x231224=this[_0x267922(0x1f6)][_0x267922(0x1c1)][_0x267922(0x1bf)](_0x4b6bfb);return _0x2bc1ef||_0x231224[_0x267922(0x1b8)][_0x267922(0x1ca)](),this[_0x267922(0x1f6)][_0x267922(0x1c1)][_0x267922(0x1a8)](_0x231224);}[_0x230918(0x1a2)](_0x1d42cb){const _0x3df810=_0x230918,_0x5f178b=new _0x9f1e5c(this[_0x3df810(0x1f6)][_0x3df810(0x1f4)][_0x3df810(0x1b5)][_0x3df810(0x1ea)]),_0x4a5d63=new _0x310ef0({'name':/^h[1-5]$/}),_0x15f9aa=[];let _0x427298=!0x1;for(const _0x3b8f09 of _0x1d42cb)_0x3b8f09['is'](_0x3df810(0x1b9))&&_0x4a5d63[_0x3df810(0x1e9)](_0x3b8f09)&&(_0x15f9aa[_0x3df810(0x1da)](_0x3b8f09),'h1'==_0x3b8f09[_0x3df810(0x1ac)]&&(_0x427298=!0x0));if(_0x427298){for(const _0x1b8dd1 of _0x15f9aa)_0x5f178b[_0x3df810(0x1af)]('h'+(parseInt(_0x1b8dd1[_0x3df810(0x1ac)][0x1])+0x1),_0x1b8dd1);}}[_0x230918(0x1ae)](){const _0x12394c=_0x230918,{data:_0x347ee0,editing:_0x5f51e9}=this[_0x12394c(0x1f6)],_0x405726=_0x347ee0[_0x12394c(0x1f5)][_0x12394c(0x1c3)](_0x12394c(0x1a4)),_0x2895d9=_0x347ee0[_0x12394c(0x1c3)](_0x347ee0[_0x12394c(0x1bf)](_0x405726));return!!_0x5f51e9[_0x12394c(0x1b5)][_0x12394c(0x1a7)][_0x12394c(0x1ba)](_0x2895d9)[_0x12394c(0x1c0)]('h1');}[_0x230918(0x1f2)](_0x545426){const _0x5474b8=_0x230918;return this[_0x5474b8(0x1f6)][_0x5474b8(0x1f4)][_0x5474b8(0x1b5)][_0x5474b8(0x1a7)][_0x5474b8(0x197)](this[_0x5474b8(0x1cc)],_0x545426),this[_0x5474b8(0x1cc)][_0x5474b8(0x1f7)];}[_0x230918(0x1c9)](_0x4fe7b7){const _0x45aa93=_0x230918,_0x4403fa=_0x4fe7b7[_0x45aa93(0x198)]();return _0x4403fa[_0x45aa93(0x1b2)](_0x45aa93(0x1a0))?_0x4403fa[_0x45aa93(0x1d2)](_0x45aa93(0x1bc))?_0x4403fa[_0x45aa93(0x19f)](0x7,_0x4403fa[_0x45aa93(0x1b1)]-0x3):_0x4403fa[_0x45aa93(0x19f)](0x7):_0x4fe7b7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d5a2d=_0x2fe7;function _0x51b6(){const _0x1f93b5=['firstElementChild','copyButtonView','isVisible','ck-content','text/plain','ck-ai-form__content-area--processing','class','setStartAfter','732475zoiyah','removeAllRanges','32QefATo','change:value','set','1080640VqQlEa','ck-ai-form__copy-button','focus','isEnabled','querySelector','render','clipboard','<span>[</span>','setEndBefore','ck-ai-form__copy-button-wrapper','scrollHeight','appendChild','10276317hkBlzW','ck-hidden','_copyHTMLToClipboard','<span>]</span>','isProcessing','lastElementChild','AI\x20is\x20writing...','createElement','listenTo','setContent','execute','addRange','ck-ai-form__content-area','ck-ai-form__content-area-wrapper','execCommand','ck-reset_all-excluded','body','appendLoader','value','_createCopyButton','write','textContent','bindTemplate','copy','smooth','loaderView','locale','wheel','.ck-ai-form__loader','style','83216Rlhusz','mousedown','bind','absolute','innerHTML','getSelection','position','text/html','scrollTo','setTemplate','\x20ck-ai-form__copy-button--copied','remove','change:isProcessing','32gWrehn','createRange','icon','1098762TzucHf','ClipboardItem','ck-ai-form__loader','-9999px','element','675998iolImE','contentFieldView','left','398415oesiNx','Copy','ck-ai-form__content-field','div','_createLoader'];_0x51b6=function(){return _0x1f93b5;};return _0x51b6();}function _0x2fe7(_0x26e264,_0x4bf95f){const _0x51b6e9=_0x51b6();return _0x2fe7=function(_0x2fe7d7,_0x56c864){_0x2fe7d7=_0x2fe7d7-0x9f;let _0x5dc212=_0x51b6e9[_0x2fe7d7];return _0x5dc212;},_0x2fe7(_0x26e264,_0x4bf95f);}(function(_0x5e3405,_0x521f44){const _0x3b411b=_0x2fe7,_0x409be2=_0x5e3405();while(!![]){try{const _0x467208=parseInt(_0x3b411b(0xe5))/0x1+parseInt(_0x3b411b(0xd5))/0x2+-parseInt(_0x3b411b(0xd8))/0x3*(parseInt(_0x3b411b(0xe7))/0x4)+-parseInt(_0x3b411b(0xea))/0x5+-parseInt(_0x3b411b(0xd0))/0x6+parseInt(_0x3b411b(0xc0))/0x7*(parseInt(_0x3b411b(0xcd))/0x8)+parseInt(_0x3b411b(0xa2))/0x9;if(_0x467208===_0x521f44)break;else _0x409be2['push'](_0x409be2['shift']());}catch(_0x14771e){_0x409be2['push'](_0x409be2['shift']());}}}(_0x51b6,0xc2dc0));import{global as _0x2cb10c}from'ckeditor5/src/utils.js';import{View as _0x424019,ButtonView as _0x3d31ac,SpinnerView as _0x424f9e}from'ckeditor5/src/ui.js';import{IconCheck as _0x16f87e,IconCopy as _0x1d3064}from'ckeditor5/src/icons.js';import{getTranslation as _0x5413d8}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x424019{[_0x2d5a2d(0xd6)];[_0x2d5a2d(0xde)];constructor(_0x3a3184,_0x5f1e12=''){const _0x3023d3=_0x2d5a2d;super(_0x3a3184),this[_0x3023d3(0xe9)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x18fa34=this[_0x3023d3(0xb8)];this[_0x3023d3(0xd6)]=new ContentFieldView(_0x3a3184,_0x5f1e12),this[_0x3023d3(0xde)]=this[_0x3023d3(0xb5)](),this[_0x3023d3(0xc9)]({'tag':_0x3023d3(0xdb),'attributes':{'class':['ck',_0x3023d3(0xaf),_0x18fa34['if'](_0x3023d3(0xdf),_0x3023d3(0xa3),_0x4476cc=>!_0x4476cc)],'tabindex':'-1'},'children':[{'tag':_0x3023d3(0xdb),'attributes':{'class':['ck',_0x3023d3(0xae),_0x18fa34['if'](_0x3023d3(0xa6),_0x3023d3(0xe2))]},'children':[this[_0x3023d3(0xd6)],{'tag':_0x3023d3(0xdb),'attributes':{'class':['ck',_0x3023d3(0x9f)]},'children':[this[_0x3023d3(0xde)]]}]}]});}[_0x2d5a2d(0xef)](){const _0x431cb3=_0x2d5a2d;super[_0x431cb3(0xef)](),this[_0x431cb3(0xb4)]&&this[_0x431cb3(0xd6)][_0x431cb3(0xab)](this[_0x431cb3(0xb4)]);let _0x4be774=!0x1;this['on'](_0x431cb3(0xe8),(_0x5c9de4,_0x2334b8,_0x3b035e)=>{const _0x356064=_0x431cb3,_0x2d28b0=!this[_0x356064(0xd6)][_0x356064(0xd4)][_0x356064(0xee)](_0x356064(0xbe));this[_0x356064(0xd6)][_0x356064(0xab)](_0x3b035e),this[_0x356064(0xa6)]&&_0x2d28b0&&!_0x4be774&&this[_0x356064(0xd4)][_0x356064(0xc8)]({'top':this[_0x356064(0xd4)][_0x356064(0xa0)],'behavior':_0x356064(0xba)});}),this['on'](_0x431cb3(0xcc),(_0x16adfb,_0x16a6b1,_0x17b0b9)=>{const _0x40415a=_0x431cb3;_0x4be774=!0x1,_0x17b0b9?(this[_0x40415a(0xb4)]=null,this[_0x40415a(0xd6)][_0x40415a(0xb3)]()):this[_0x40415a(0xb4)]||this[_0x40415a(0xd6)][_0x40415a(0xab)]('');}),this[_0x431cb3(0xaa)](this[_0x431cb3(0xd4)],_0x431cb3(0xbd),()=>{_0x4be774=!0x0;}),this[_0x431cb3(0xaa)](this[_0x431cb3(0xd4)],_0x431cb3(0xc1),()=>{_0x4be774=!0x0;});}[_0x2d5a2d(0xec)](){const _0x414906=_0x2d5a2d;this[_0x414906(0xd4)][_0x414906(0xec)]();}[_0x2d5a2d(0xb5)](){const _0xd42b8e=_0x2d5a2d,_0x210dc2=this[_0xd42b8e(0xbc)],_0x38ee5a=new _0x3d31ac(this[_0xd42b8e(0xbc)]),_0x1f01d9=_0xd42b8e(0xeb);return _0x38ee5a[_0xd42b8e(0xe9)]({'label':_0x5413d8(_0x210dc2,_0xd42b8e(0xd9)),'icon':_0x1d3064,'class':_0x1f01d9,'tooltip':!0x0}),_0x38ee5a[_0xd42b8e(0xc2)](_0xd42b8e(0xdf))['to'](this,_0xd42b8e(0xb4),_0x1f8ec3=>!!_0x1f8ec3),_0x38ee5a[_0xd42b8e(0xc2)](_0xd42b8e(0xed))['to'](this,_0xd42b8e(0xa6),_0x4b18f0=>!_0x4b18f0),_0x38ee5a['on'](_0xd42b8e(0xac),()=>{const _0x71ee09=_0xd42b8e;this[_0x71ee09(0xa4)](this[_0x71ee09(0xd6)][_0x71ee09(0xd4)]),_0x38ee5a[_0x71ee09(0xcf)]=_0x16f87e,_0x38ee5a[_0x71ee09(0xe3)]=_0x1f01d9+_0x71ee09(0xca),this[_0x71ee09(0xec)](),setTimeout(()=>{const _0x4b3be7=_0x71ee09;_0x38ee5a[_0x4b3be7(0xcf)]=_0x1d3064,_0x38ee5a[_0x4b3be7(0xe3)]=_0x1f01d9;},0x3e8);}),_0x38ee5a;}[_0x2d5a2d(0xa4)](_0x3c731f){const _0x522630=_0x2d5a2d,{window:_0x2eef30,document:_0x156d31}=_0x2cb10c;if(_0x2eef30[_0x522630(0xd1)]){const {Blob:_0x3a8e76,ClipboardItem:_0x2015ed}=_0x2eef30,_0x57e7d8=[new _0x2015ed({'text/html':new _0x3a8e76([_0x3c731f[_0x522630(0xc4)]],{'type':_0x522630(0xc7)}),'text/plain':new _0x3a8e76([_0x3c731f[_0x522630(0xb7)]||''],{'type':_0x522630(0xe1)})})];navigator[_0x522630(0xf0)][_0x522630(0xb6)](_0x57e7d8);}else{const _0x128fe0=_0x156d31[_0x522630(0xa9)](_0x522630(0xdb));_0x128fe0[_0x522630(0xbf)][_0x522630(0xc6)]=_0x522630(0xc3),_0x128fe0[_0x522630(0xbf)][_0x522630(0xd7)]=_0x522630(0xd3),_0x128fe0[_0x522630(0xc4)]=_0x522630(0xf1)+_0x3c731f[_0x522630(0xc4)]+_0x522630(0xa5),_0x156d31[_0x522630(0xb2)][_0x522630(0xa1)](_0x128fe0);const _0x22f9d5=_0x156d31[_0x522630(0xce)]();_0x22f9d5[_0x522630(0xe4)](_0x128fe0[_0x522630(0xdd)]),_0x22f9d5[_0x522630(0xf2)](_0x128fe0[_0x522630(0xa7)]);const _0x2ca8c5=_0x2eef30[_0x522630(0xc5)]();_0x2ca8c5[_0x522630(0xe6)](),_0x2ca8c5[_0x522630(0xad)](_0x22f9d5),_0x156d31[_0x522630(0xb0)](_0x522630(0xb9)),_0x128fe0[_0x522630(0xcb)]();}}}export class ContentFieldView extends _0x424019{constructor(_0x19f389,_0x10212c=''){const _0x1fc5c2=_0x2d5a2d;super(_0x19f389),this[_0x1fc5c2(0xbb)]=this[_0x1fc5c2(0xdc)](),this[_0x1fc5c2(0xc9)]({'tag':_0x1fc5c2(0xdb),'attributes':{'class':['ck',_0x1fc5c2(0xe0),_0x10212c,_0x1fc5c2(0xb1),_0x1fc5c2(0xda)]}});}[_0x2d5a2d(0xab)](_0x4d7dbf){const _0x3ca234=_0x2d5a2d;this[_0x3ca234(0xd4)][_0x3ca234(0xc4)]=_0x4d7dbf;}[_0x2d5a2d(0xb3)](){const _0x3fe66c=_0x2d5a2d;this[_0x3fe66c(0xd4)][_0x3fe66c(0xa1)](this[_0x3fe66c(0xbb)][_0x3fe66c(0xd4)]);}[_0x2d5a2d(0xdc)](){const _0x4b0184=_0x2d5a2d,_0x393a72=new _0x424019(),_0xb05e85=this[_0x4b0184(0xbc)],_0x53ae5d=new _0x424f9e();return _0x53ae5d[_0x4b0184(0xdf)]=!0x0,_0x393a72[_0x4b0184(0xc9)]({'tag':_0x4b0184(0xdb),'attributes':{'class':['ck',_0x4b0184(0xd2)]},'children':[_0x53ae5d,{'text':_0x5413d8(_0xb05e85,_0x4b0184(0xa8))}]}),_0x393a72[_0x4b0184(0xef)](),_0x393a72;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ef1c8,_0x2e22ac){const _0x30b0f4=_0x4e9e,_0x5aefbd=_0x5ef1c8();while(!![]){try{const _0x2d2bff=parseInt(_0x30b0f4(0x204))/0x1+-parseInt(_0x30b0f4(0x203))/0x2*(parseInt(_0x30b0f4(0x201))/0x3)+parseInt(_0x30b0f4(0x1ff))/0x4+-parseInt(_0x30b0f4(0x200))/0x5+parseInt(_0x30b0f4(0x205))/0x6*(-parseInt(_0x30b0f4(0x202))/0x7)+parseInt(_0x30b0f4(0x1f4))/0x8*(parseInt(_0x30b0f4(0x1f6))/0x9)+-parseInt(_0x30b0f4(0x1f8))/0xa*(-parseInt(_0x30b0f4(0x1fe))/0xb);if(_0x2d2bff===_0x2e22ac)break;else _0x5aefbd['push'](_0x5aefbd['shift']());}catch(_0xb7f715){_0x5aefbd['push'](_0x5aefbd['shift']());}}}(_0x3ef6,0x474f4));function _0x3ef6(){const _0x12780e=['1761736pdFset','bindTemplate','18daaPmf','ck-ai-form__error','10OSlGkt','text','setTemplate','div','set','content','1316909VvGlcY','523560ipkbCy','1626335MxUmuv','252237HWUhIc','343jgHrxM','6XrZSFj','257778bhCZyn','9702cBrpMk'];_0x3ef6=function(){return _0x12780e;};return _0x3ef6();}import{IconError as _0x45e6ed}from'ckeditor5/src/icons.js';function _0x4e9e(_0x45a22d,_0xe26760){const _0x3ef656=_0x3ef6();return _0x4e9e=function(_0x4e9e81,_0x32e0ca){_0x4e9e81=_0x4e9e81-0x1f4;let _0x399086=_0x3ef656[_0x4e9e81];return _0x399086;},_0x4e9e(_0x45a22d,_0xe26760);}import{View as _0x2b511a,IconView as _0x209d3c}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x2b511a{constructor(_0x46d1d4,_0x2f4420=''){const _0x1f651b=_0x4e9e;super(_0x46d1d4);const _0x50cae4=new _0x209d3c(),_0x377090=this[_0x1f651b(0x1f5)];this[_0x1f651b(0x1fc)](_0x1f651b(0x1f9),_0x2f4420),_0x50cae4[_0x1f651b(0x1fd)]=_0x45e6ed,this[_0x1f651b(0x1fa)]({'tag':_0x1f651b(0x1fb),'attributes':{'class':['ck',_0x1f651b(0x1f7)]},'children':[_0x50cae4,{'text':_0x377090['to'](_0x1f651b(0x1f9))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cfa25=_0x2e98;(function(_0x30682c,_0x109386){const _0x1f6df2=_0x2e98,_0x409e75=_0x30682c();while(!![]){try{const _0x30ac20=parseInt(_0x1f6df2(0xf7))/0x1+-parseInt(_0x1f6df2(0xc2))/0x2*(-parseInt(_0x1f6df2(0xf4))/0x3)+-parseInt(_0x1f6df2(0xf8))/0x4*(-parseInt(_0x1f6df2(0xf2))/0x5)+-parseInt(_0x1f6df2(0xf0))/0x6*(-parseInt(_0x1f6df2(0xe5))/0x7)+-parseInt(_0x1f6df2(0xe0))/0x8*(parseInt(_0x1f6df2(0xfb))/0x9)+parseInt(_0x1f6df2(0xe2))/0xa+-parseInt(_0x1f6df2(0xc7))/0xb;if(_0x30ac20===_0x109386)break;else _0x409e75['push'](_0x409e75['shift']());}catch(_0x5bb328){_0x409e75['push'](_0x409e75['shift']());}}}(_0x3945,0xe7217));import{Rect as _0x305e5c,global as _0x2dae10,isVisible as _0x15f9cf}from'ckeditor5/src/utils.js';function _0x2e98(_0x1b56e9,_0x241f01){const _0x3945fd=_0x3945();return _0x2e98=function(_0x2e98b5,_0x2cae43){_0x2e98b5=_0x2e98b5-0xc2;let _0x13aee9=_0x3945fd[_0x2e98b5];return _0x13aee9;},_0x2e98(_0x1b56e9,_0x241f01);}import{IconAIHistory as _0x1f9153,IconSubmit as _0x34a478}from'ckeditor5/src/icons.js';function _0x3945(){const _0x2add08=['focusFirst','locale','14609243ltxKqW','isEmpty','render','rtl','right','isVisible','bind','requestAnimationFrame','showHistoryButtonView','focusCycler','fire','_createSubmitButton','queryView','left','ck-ai-form__toggle-history','set','children','focus','submit','minRows','History','element','filteredView','ck-ai-form__submit','submitButtonView','13775728ztkEIY','enter','12039850oAHYhg','execute','style','49JfgqPP','_createShowHistoryButton','update','isEnabled','uiLanguageDirection','Submit','window','maxRows','isOn','resultsView','value','131952Zxtmce','fieldView','69585EVxmIR','fieldWrapperChildren','3LHIXGj','focusLast','focusableChildren','1360185uHPzbR','12QLWCbt','width','keystrokes','9MPMTuk','add','2473850jRvfio','excludeScrollbarsAndBorders','target'];_0x3945=function(){return _0x2add08;};return _0x3945();}import{AutocompleteView as _0x5eea35,ButtonView as _0xa23c8a}from'ckeditor5/src/ui.js';import{getTranslation as _0x466b5a}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x5eea35{[_0x1cfa25(0xdf)];[_0x1cfa25(0xcf)];constructor(_0x252e1b,_0x10f3af){const _0x401213=_0x1cfa25;super(_0x252e1b,_0x10f3af),this[_0x401213(0xd3)][_0x401213(0xf1)][_0x401213(0xda)]=0x1,this[_0x401213(0xd3)][_0x401213(0xf1)][_0x401213(0xec)]=0x3,this[_0x401213(0xdf)]=this[_0x401213(0xd2)](),this[_0x401213(0xcf)]=this[_0x401213(0xe6)](),this[_0x401213(0xf6)][_0x401213(0xfc)](this[_0x401213(0xcf)],0x1),this[_0x401213(0xf6)][_0x401213(0xfc)](this[_0x401213(0xdf)]);}[_0x1cfa25(0xc9)](){const _0x19e292=_0x1cfa25;super[_0x19e292(0xc9)](),this[_0x19e292(0xd3)][_0x19e292(0xf3)][_0x19e292(0xfc)](this[_0x19e292(0xcf)]),this[_0x19e292(0xd7)][_0x19e292(0xfc)](this[_0x19e292(0xdf)]),this[_0x19e292(0xfa)][_0x19e292(0xd6)](_0x19e292(0xe1),(_0x42df26,_0x20a4cb)=>{const _0x418188=_0x19e292;_0x42df26[_0x418188(0xc4)]==this[_0x418188(0xd3)][_0x418188(0xf1)][_0x418188(0xdc)]&&(this[_0x418188(0xd9)](),_0x20a4cb());});}[_0x1cfa25(0xd2)](){const _0x3f051c=_0x1cfa25,_0x3ddd49=new _0xa23c8a(this[_0x3f051c(0xc6)]),_0x17dca4=this[_0x3f051c(0xc6)];return _0x3ddd49[_0x3f051c(0xd6)]({'icon':_0x34a478,'label':_0x466b5a(_0x17dca4,_0x3f051c(0xea)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3f051c(0xde)}),_0x3ddd49['on'](_0x3f051c(0xe3),()=>{const _0xa6e257=_0x3f051c;this[_0xa6e257(0xd9)]();}),_0x3ddd49[_0x3f051c(0xcd)](_0x3f051c(0xe8))['to'](this[_0x3f051c(0xd3)][_0x3f051c(0xf1)],_0x3f051c(0xc8),this,_0x3f051c(0xe8),(_0x49dc8b,_0x6f8319)=>!_0x49dc8b&&_0x6f8319),_0x3ddd49;}[_0x1cfa25(0xe6)](){const _0x5effd7=_0x1cfa25,_0x5f0271=new _0xa23c8a(this[_0x5effd7(0xc6)]),_0x6709c2=this[_0x5effd7(0xee)],_0xdb952a=this[_0x5effd7(0xc6)];_0x5f0271[_0x5effd7(0xd6)]({'label':_0x466b5a(_0xdb952a,_0x5effd7(0xdb)),'withText':!0x1,'icon':_0x1f9153,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5effd7(0xd5)}),_0x5f0271[_0x5effd7(0xcd)](_0x5effd7(0xed))['to'](_0x6709c2,_0x5effd7(0xcc)),_0x5f0271[_0x5effd7(0xcd)](_0x5effd7(0xe8))['to'](this,_0x5effd7(0xe8)),_0x5f0271['on'](_0x5effd7(0xe3),()=>{const _0x2ecd29=_0x5effd7;_0x6709c2[_0x2ecd29(0xcc)]=!_0x6709c2[_0x2ecd29(0xcc)],_0x6709c2[_0x2ecd29(0xcc)]?this[_0x2ecd29(0xdd)][_0x2ecd29(0xd8)]():this[_0x2ecd29(0xd8)]();});const _0x1f8ccb=()=>{const _0x65cb63=_0x5effd7;_0x2dae10[_0x65cb63(0xeb)][_0x65cb63(0xce)](()=>{const _0x744b3=_0x65cb63;if(_0x15f9cf(this[_0x744b3(0xdc)])){const _0x5c82bf=new _0x305e5c(this[_0x744b3(0xd3)][_0x744b3(0xf1)][_0x744b3(0xdc)]),_0x4e3bab=_0x5c82bf[_0x744b3(0xf9)],_0x3cf355=_0x744b3(0xca)===_0xdb952a[_0x744b3(0xe9)]?_0x744b3(0xd4):_0x744b3(0xcb);_0x5c82bf[_0x744b3(0xc3)](),_0x5f0271[_0x744b3(0xdc)][_0x744b3(0xe4)][_0x3cf355]=_0x4e3bab-_0x5c82bf[_0x744b3(0xf9)]+0x1+'px';}});};return this[_0x5effd7(0xd3)][_0x5effd7(0xf1)]['on'](_0x5effd7(0xe7),_0x1f8ccb),this['on'](_0x5effd7(0xc9),_0x1f8ccb),_0x5f0271;}[_0x1cfa25(0xd9)](){const _0x3b2e49=_0x1cfa25,_0x4e413d=this[_0x3b2e49(0xd3)][_0x3b2e49(0xf1)][_0x3b2e49(0xdc)][_0x3b2e49(0xef)];this[_0x3b2e49(0xd1)](_0x3b2e49(0xd9),_0x4e413d);}[_0x1cfa25(0xd8)](_0x501a91){const _0x43b89c=_0x1cfa25;-0x1===_0x501a91?this[_0x43b89c(0xd0)][_0x43b89c(0xf5)]():this[_0x43b89c(0xd0)][_0x43b89c(0xc5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x409013=_0x36c1;(function(_0x2ccf01,_0x28b582){const _0x51aa0b=_0x36c1,_0x288c2d=_0x2ccf01();while(!![]){try{const _0x3e1e50=-parseInt(_0x51aa0b(0x19b))/0x1*(-parseInt(_0x51aa0b(0x1a8))/0x2)+parseInt(_0x51aa0b(0x19e))/0x3*(-parseInt(_0x51aa0b(0x1a3))/0x4)+-parseInt(_0x51aa0b(0x18d))/0x5*(parseInt(_0x51aa0b(0x19d))/0x6)+-parseInt(_0x51aa0b(0x188))/0x7+parseInt(_0x51aa0b(0x1a6))/0x8*(parseInt(_0x51aa0b(0x197))/0x9)+-parseInt(_0x51aa0b(0x18e))/0xa+parseInt(_0x51aa0b(0x193))/0xb;if(_0x3e1e50===_0x28b582)break;else _0x288c2d['push'](_0x288c2d['shift']());}catch(_0x45c960){_0x288c2d['push'](_0x288c2d['shift']());}}}(_0x5d42,0xee848));function _0x5d42(){const _0x67dc65=['set','REPLACE','toUpperCase','3920526Inixld','stopButton','replace','insertButton','2eeGyrw','isVisible','56706KRKUiz','3CSUykA','Try\x20again','_createButton','items','ck-hidden','1468680nYkiYE','locale','bindTemplate','24dFyRZQ','addMany','1292108gMoEot','Insert\x20below','extendTemplate','_CONTENT','replaceButton','tryAgainButton','12760118DomrYO','insert','label','ck-button-action','bind','815ohBBpV','8485170IfXwsf','Stop','AI_','mainAction','ck-ai-form__toolbar','32528012vmhmYV'];_0x5d42=function(){return _0x67dc65;};return _0x5d42();}function _0x36c1(_0xbb83d1,_0x45c9b6){const _0x5d42df=_0x5d42();return _0x36c1=function(_0x36c1e3,_0x9d6328){_0x36c1e3=_0x36c1e3-0x186;let _0x1d90c0=_0x5d42df[_0x36c1e3];return _0x1d90c0;},_0x36c1(_0xbb83d1,_0x45c9b6);}import{ToolbarView as _0x164d05,ButtonView as _0x203593}from'ckeditor5/src/ui.js';import{getTranslation as _0x314832}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x409013(0x199),'INSERT':_0x409013(0x189)};export class AIFormToolbarView extends _0x164d05{constructor(_0x1909ca){const _0x254e29=_0x409013;super(_0x1909ca),this[_0x254e29(0x194)](_0x254e29(0x19c),!0x1),this[_0x254e29(0x194)](_0x254e29(0x191),AIFormToolbarViewMainActionLabel[_0x254e29(0x195)]),this[_0x254e29(0x186)]=this[_0x254e29(0x1a0)]('',_0x254e29(0x18b)),this[_0x254e29(0x186)][_0x254e29(0x18c)](_0x254e29(0x18a))['to'](this,_0x254e29(0x191),_0x1ce18e=>_0x314832(_0x1909ca,_0x254e29(0x190)+_0x1ce18e[_0x254e29(0x196)]()+_0x254e29(0x1ab))),this[_0x254e29(0x19a)]=this[_0x254e29(0x1a0)](_0x314832(_0x1909ca,_0x254e29(0x1a9))),this[_0x254e29(0x187)]=this[_0x254e29(0x1a0)](_0x314832(_0x1909ca,_0x254e29(0x19f))),this[_0x254e29(0x198)]=this[_0x254e29(0x1a0)](_0x314832(_0x1909ca,_0x254e29(0x18f)));const _0xda8fb0=this[_0x254e29(0x1a5)];this[_0x254e29(0x1aa)]({'attributes':{'class':[_0x254e29(0x192),_0xda8fb0['if'](_0x254e29(0x19c),_0x254e29(0x1a2),_0x508550=>!_0x508550)]}}),this[_0x254e29(0x1a1)][_0x254e29(0x1a7)]([this[_0x254e29(0x186)],this[_0x254e29(0x19a)],this[_0x254e29(0x187)],this[_0x254e29(0x198)]]);}[_0x409013(0x1a0)](_0x335328,_0x27d855){const _0x2f6166=_0x409013,_0x4357c6=new _0x203593(this[_0x2f6166(0x1a4)]);return _0x4357c6[_0x2f6166(0x194)]({'label':_0x335328,'class':_0x27d855||'','isVisible':!0x0,'withText':!0x0}),_0x4357c6;}}
|