@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 47.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index-editor.css +10 -1
- package/dist/index.css +10 -1
- 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/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/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/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.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x99128=_0x1a92;(function(_0x40aefa,_0x1fd761){const _0x303528=_0x1a92,_0x3c03e9=_0x40aefa();while(!![]){try{const _0x2e50cf=-parseInt(_0x303528(0xd3))/0x1*(parseInt(_0x303528(0x84))/0x2)+parseInt(_0x303528(0x11c))/0x3+-parseInt(_0x303528(0xc4))/0x4+-parseInt(_0x303528(0xd0))/0x5+-parseInt(_0x303528(0xd4))/0x6+parseInt(_0x303528(0x125))/0x7*(parseInt(_0x303528(0x11d))/0x8)+-parseInt(_0x303528(0xec))/0x9*(parseInt(_0x303528(0x111))/0xa);if(_0x2e50cf===_0x1fd761)break;else _0x3c03e9['push'](_0x3c03e9['shift']());}catch(_0xa47256){_0x3c03e9['push'](_0x3c03e9['shift']());}}}(_0x51ad,0x4bc45));import{Plugin as _0x5782a2}from'ckeditor5/src/core.js';function _0x1a92(_0x2d81b2,_0x3527a7){const _0x51ad29=_0x51ad();return _0x1a92=function(_0x1a92f9,_0x142ad0){_0x1a92f9=_0x1a92f9-0x80;let _0x2fa4a4=_0x51ad29[_0x1a92f9];return _0x2fa4a4;},_0x1a92(_0x2d81b2,_0x3527a7);}import{IconMagicWand as _0x1d2529,IconRobotPencil as _0x50d794}from'ckeditor5/src/icons.js';import{first as _0x10acd5,CKEditorError as _0xdedca4}from'ckeditor5/src/utils.js';import{createDropdown as _0x3e2fbd,addMenuToDropdown as _0x386107,ButtonView as _0x556107,MenuBarMenuListItemButtonView as _0x3779a9,Dialog as _0x3dce9e,DialogViewPosition as _0x1db7a1,MenuBarMenuView as _0x337e20,MenuBarMenuListView as _0x908e98,MenuBarMenuListItemView as _0x17731e}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x56ed73,UNGROUPED_COMMANDS_GROUP_ID as _0x32534a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3c4c62}from'./aiassistantediting.js';import{AIAdapter as _0x324ec0}from'./adapters/aiadapter.js';import{getTranslation as _0x4ae4f2}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x32b20e}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1fcfe0}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x530bf2}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2df4cd}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x51ad(){const _0x466edd=['AI\x20Assistant','licenseKey','define','plugins','showUI','schema','polite','focus','110600xPRHAt','_initView','buttonView','delegate','editor','ai-commands-config-order-collision','comment','</p>','AIAssistantUI','panelView','queryView','1728330nKJGLw','3564928LENZrn','isCollapsed','push','groupId','init','requires','getSelectedBlocks','values','7gOcfuu','_getMenuBarGroupButtons','getRanges','_commandDefinitions','_showLicenseError','isOn','showFakeVisualSelection','update','_dialog','updateView','set','currentContext','aiLicenseKeyNotAllowed','isOfficialPlugin','hideFakeVisualSelection','1362BbeLaq','text','listenTo','view','tableOfContents','aiLicenseKeyInvalid','commands','_createAIAssistantUIButton','menuBar:aiAssistant','componentFactory','isEnabled','ai.assistant.contentAreaCssClass','updatePosition','Generated\x20content:\x20%0','buttons','_aiAdapter','change:isProcessing','forEach','replace','map','evaluationLimit','sort','AIAssistant','getLimitElement','splice','insertContentBelow','menuitemcheckbox','domainLimit','editing','trim','<p>','body','ck-ai-assistant-ui','change:enabledCommandsIds','change:value','once','children','_licenseKeyCheckInterval','_forceMarkersCopy','_uiCssClasses','config','copy','media','locale','source','_getResolvedCommandsDefinitions','ai.assistant.commands','pluginName','fire','includes','items','isFlat','ck-ai-assistant-button\x20','bind','DataTransfer','destroy','contentArea','announce','aiLicenseKeyExpired','\x20ck-ai-assistant-ui_theme','setSelection','_aiAssistantController','hideUI','expired','880276ssfCcV','featureNotAllowed','selection','INSERT','Error\x20during\x20AI\x20content\x20generation:\x20%0','isPremiumPlugin','aiLicenseKeyDomainLimit','prompt','model','groupLabel','show','aiLicenseKeyUsageLimit','218370TrXrHF','fieldView','AI\x20is\x20writing','155CTTHDQ','260802ZrJEuS','order','filter','addMany','aiLicenseKeyEvaluationLimit','showAIAssistant','getSelectedElement','invalid','errorView','execute','_populateMenuBarMenu','document','insertContent','REPLACE','aiLicenseKeyValid','hide','trialLimit','textAdapter','change:isError','_onExecute','render','custom','text/html','aiAssistant','243jEfzSd','menuView','ai.assistant.useTheme','ai.assistant.disabledElements','getData','replaceContent','command:','AI\x20Commands','_initAriaAiStatusChangeAnnouncements','from','aiLicenseKeyTrialLimit','ck-ai-commands-dropdown\x20','change','_formView','wasMoved','promptView','reset','get','label','EDITOR_TOP_SIDE','length','rawHtml','requiresContent','add','menuPanelClass','aiCommands','menuBar:aiCommands','enabledCommandsIds','usageLimit'];_0x51ad=function(){return _0x466edd;};return _0x51ad();}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const O=globalThis[_0x99128(0xba)];import{ClipboardMarkersUtils as _0x2c973f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x35c322,ViewDataTransfer as _0x504261}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x5782a2{[_0x99128(0x10a)];[_0x99128(0xa9)];[_0x99128(0x12d)];[_0x99128(0xf9)];[_0x99128(0x93)];[_0x99128(0xc1)];[_0x99128(0xab)]='';static get[_0x99128(0xb3)](){const _0x4fcf52=_0x99128;return _0x4fcf52(0x119);}static get[_0x99128(0x82)](){return!0x0;}static get[_0x99128(0xc9)](){return!0x0;}static get[_0x99128(0x122)](){return[_0x2c973f,_0x3c4c62,_0x324ec0,_0x3dce9e];}constructor(_0x45b355){const _0x29b0c9=_0x99128;super(_0x45b355),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0xef),[_0x29b0c9(0xae),_0x29b0c9(0x101),_0x29b0c9(0x88)]),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0x8f),''),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0xee),!0x0),this[_0x29b0c9(0xab)]=_0x29b0c9(0xa4)+(_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0xfd)](_0x29b0c9(0xee))?_0x29b0c9(0xbf):'');}[_0x99128(0x121)](){const _0x2e6ea1=_0x99128,{editor:_0xb27179}=this;this[_0x2e6ea1(0x93)]=_0xb27179[_0x2e6ea1(0x10c)][_0x2e6ea1(0xfd)](_0x324ec0),this[_0x2e6ea1(0x12d)]=_0xb27179[_0x2e6ea1(0x10c)][_0x2e6ea1(0xfd)](_0x3dce9e),this[_0x2e6ea1(0xf9)]=null,this[_0x2e6ea1(0x128)]=this[_0x2e6ea1(0xb1)]();const _0x5f5115=new _0x32b20e(_0xb27179,Array[_0x2e6ea1(0xf5)](this[_0x2e6ea1(0x128)][_0x2e6ea1(0x124)]()));_0xb27179[_0x2e6ea1(0x8a)][_0x2e6ea1(0x103)](_0x2e6ea1(0xd9),_0x5f5115),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x105),_0x35a57f=>{const _0x1d876c=_0x2e6ea1,_0x2a63b8=_0x3e2fbd(_0x35a57f);return _0x2a63b8[_0x1d876c(0x12f)]({'class':_0x1d876c(0xf7)+this[_0x1d876c(0xab)]}),_0x2a63b8[_0x1d876c(0x113)][_0x1d876c(0x12f)]({'label':_0x4ae4f2(_0x35a57f,_0x1d876c(0xf3)),'icon':_0x1d2529,'tooltip':!0x0}),_0x2a63b8['on'](_0x1d876c(0xdd),_0x6b007d=>this[_0x1d876c(0xe7)](_0x6b007d[_0x1d876c(0xb0)]['id'])),_0x386107(_0x2a63b8,_0xb27179['ui'][_0x1d876c(0x87)][_0x1d876c(0xa3)],function(_0x1f8416){const _0x3f7f34=_0x1d876c,_0x2263ed=_0x56ed73(_0x1f8416[_0x3f7f34(0xac)][_0x3f7f34(0xfd)](_0x3f7f34(0xb2)),_0x1f8416[_0x3f7f34(0xaf)]),_0x4bdd41=W(_0x1f8416,_0x2263ed)[_0x3f7f34(0xd6)](_0x5fae4f=>_0x5fae4f[_0x3f7f34(0x8a)][_0x3f7f34(0x100)]);if(0x1===_0x4bdd41[_0x3f7f34(0x100)])return W(_0x1f8416,_0x4bdd41[0x0][_0x3f7f34(0x8a)])[_0x3f7f34(0x97)](_0x5d55d8=>({'id':_0x5d55d8['id'],'label':_0x5d55d8[_0x3f7f34(0xfe)]}));return _0x4bdd41[_0x3f7f34(0x97)](_0x97af6d=>{const _0x172dc9=_0x3f7f34,{groupId:_0x2eaed3,groupLabel:_0x134d4c,commands:_0x1e44d8}=_0x97af6d,_0x494e33=W(_0x1f8416,_0x1e44d8)[_0x172dc9(0x97)](_0x215b99=>({'id':_0x215b99['id'],'label':_0x215b99[_0x172dc9(0xfe)]}));return{'id':_0x2eaed3,'menu':_0x134d4c||_0x2eaed3,'children':_0x494e33};});}(_0xb27179),{'ariaLabel':_0x4ae4f2(_0x35a57f,_0x1d876c(0xf3))}),_0x2a63b8[_0x1d876c(0xed)][_0x1d876c(0x104)]=_0x1d876c(0xf7)+this[_0x1d876c(0xab)],_0x5f5115['on'](_0x1d876c(0xa5),_0x198547),_0x2a63b8[_0x1d876c(0xed)][_0x1d876c(0xa7)](_0x1d876c(0xe8),_0x198547),_0x2a63b8;function _0x198547(){const _0x1a5221=_0x1d876c;_0x2a63b8[_0x1a5221(0x8e)]=_0x5f5115[_0x1a5221(0x107)][_0x1a5221(0x100)]>0x0;for(const _0x57f4f9 of _0x2a63b8[_0x1a5221(0xed)][_0x1a5221(0x92)])_0x57f4f9[_0x1a5221(0x8e)]=_0x5f5115[_0x1a5221(0x107)][_0x1a5221(0xb5)](_0x57f4f9['id']);}}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x106),_0x25531c=>{const _0x7d462=_0x2e6ea1,_0x39dd5a=new _0x337e20(_0x25531c);_0x39dd5a[_0x7d462(0x113)][_0x7d462(0x12f)]({'label':_0x4ae4f2(_0x25531c,_0x7d462(0xf3)),'icon':_0x1d2529}),_0x39dd5a[_0x7d462(0xb9)](_0x7d462(0x8e))['to'](_0x5f5115,_0x7d462(0x107),_0x77d1fd=>_0x77d1fd[_0x7d462(0x100)]>0x0);const _0x3778ab=_0x56ed73(_0xb27179[_0x7d462(0xac)][_0x7d462(0xfd)](_0x7d462(0xb2)),_0x25531c);return this[_0x7d462(0xde)](_0x5f5115,_0x39dd5a,_0x3778ab,_0x4a6e49=>this[_0x7d462(0xe7)](_0x4a6e49)),_0x39dd5a;}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0xeb),()=>{const _0x39349c=_0x2e6ea1,_0x1c81ce=this[_0x39349c(0x8b)](_0x556107);return _0x1c81ce[_0x39349c(0x12f)]({'tooltip':!0x0,'class':_0x39349c(0xb8)+this[_0x39349c(0xab)]}),_0x1c81ce;}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x8c),()=>{const _0x22863b=_0x2e6ea1,_0x4261ec=this[_0x22863b(0x8b)](_0x3779a9);return _0x4261ec[_0x22863b(0x12f)]({'role':_0x22863b(0x9e)}),_0x4261ec;}),this[_0x2e6ea1(0x10a)]=this[_0x2e6ea1(0x115)][_0x2e6ea1(0xac)][_0x2e6ea1(0xfd)](_0x2e6ea1(0x10a));const _0x14bad6=this[_0x2e6ea1(0x115)];this[_0x2e6ea1(0xa9)]=setInterval(()=>{const _0x47375a=_0x2e6ea1;let _0xf415a8;for(const _0x18d025 in _0x14bad6){const _0x415325=_0x18d025,_0x50cd0a=_0x14bad6[_0x415325];if(_0x47375a(0xe2)==_0x50cd0a||_0x47375a(0x89)==_0x50cd0a||_0x47375a(0xbe)==_0x50cd0a||_0x47375a(0xca)==_0x50cd0a||_0x47375a(0x81)==_0x50cd0a||_0x47375a(0xd8)==_0x50cd0a||_0x47375a(0xf6)==_0x50cd0a||_0x47375a(0xcf)==_0x50cd0a){delete _0x14bad6[_0x415325],_0xf415a8=_0x50cd0a,clearInterval(this[_0x47375a(0xa9)]),this[_0x47375a(0xa9)]=void 0x0;break;}}_0x47375a(0x89)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xdb)),_0x47375a(0xbe)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xc3)),_0x47375a(0xca)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x9f)),_0x47375a(0x81)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xc5),_0x47375a(0x9a)),_0x47375a(0xd8)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x98)),_0x47375a(0xf6)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xe4)),_0x47375a(0xcf)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x108));},0x3e8);}[_0x99128(0xbb)](){const _0x9377d2=_0x99128;super[_0x9377d2(0xbb)](),this[_0x9377d2(0xa9)]&&clearInterval(this[_0x9377d2(0xa9)]);}[_0x99128(0x10d)](_0x24ae4b='',_0x516c75='',_0x2ff27a=_0x99128(0xe9)){const _0x2d5585=_0x99128,_0x25cbb0=this[_0x2d5585(0x115)],_0x453b65=_0x25cbb0[_0x2d5585(0xa0)][_0x2d5585(0x87)],_0x212409=_0x25cbb0[_0x2d5585(0x10c)][_0x2d5585(0xfd)](_0x3c4c62),_0x138e05=_0x25cbb0[_0x2d5585(0x10c)][_0x2d5585(0xfd)](_0x2c973f);_0x212409[_0x2d5585(0x12b)]();const _0x293a9c=new O(),_0x2b99fb=new ClipboardEvent(_0x2d5585(0xad),{'clipboardData':_0x293a9c}),_0x2f93b5=new _0x504261(_0x293a9c),_0x4fa0fd=new _0x35c322(_0x453b65,_0x2b99fb,{'dataTransfer':_0x2f93b5});_0x138e05[_0x2d5585(0xaa)](_0x2d5585(0x117),()=>{const _0x248b44=_0x2d5585;_0x453b65[_0x248b44(0xdf)][_0x248b44(0xb4)](_0x248b44(0xad),_0x4fa0fd);}),this[_0x2d5585(0xf9)]||(this[_0x2d5585(0x112)](),this[_0x2d5585(0xc1)]=new _0x1fcfe0(_0x25cbb0,this[_0x2d5585(0x93)][_0x2d5585(0xe5)],this[_0x2d5585(0xf9)]));let _0x160932=_0x2f93b5[_0x2d5585(0xf0)](_0x2d5585(0xea));const _0x27451e=_0x25cbb0[_0x2d5585(0xcc)][_0x2d5585(0xdf)][_0x2d5585(0xc6)],_0x532a95=Array[_0x2d5585(0xf5)](_0x27451e[_0x2d5585(0x127)]());0x1===_0x532a95[_0x2d5585(0x100)]&&_0x532a95[0x0][_0x2d5585(0xb7)]&&!_0x27451e[_0x2d5585(0xda)]()&&''!==_0x160932[_0x2d5585(0x96)](/ /g,'')[_0x2d5585(0xa1)]()&&(_0x160932=_0x2d5585(0xa2)+_0x160932+_0x2d5585(0x118)),this[_0x2d5585(0xc1)][_0x2d5585(0x12e)]({'actionId':_0x2ff27a,'query':_0x24ae4b,'htmlContent':_0x160932,'label':_0x516c75,'mainActionLabel':_0x2df4cd[_0x25cbb0[_0x2d5585(0xcc)][_0x2d5585(0xdf)][_0x2d5585(0xc6)][_0x2d5585(0x11e)]?_0x2d5585(0xc7):_0x2d5585(0xe1)]}),_0x2d5585(0xeb)!==this[_0x2d5585(0x12d)]['id']?this[_0x2d5585(0x12d)][_0x2d5585(0xce)]({'id':_0x2d5585(0xeb),'icon':_0x50d794,'title':_0x4ae4f2(this[_0x2d5585(0x115)][_0x2d5585(0xaf)],_0x2d5585(0x109)),'content':this[_0x2d5585(0xf9)],'position':_0x1db7a1[_0x2d5585(0xff)],'onShow':()=>{const _0x3fcf8e=_0x2d5585;this[_0x3fcf8e(0xf9)][_0x3fcf8e(0x110)]();},'onHide':()=>{const _0x4a0ffc=_0x2d5585;this[_0x4a0ffc(0xc1)][_0x4a0ffc(0xfc)](),_0x212409[_0x4a0ffc(0x83)]();}}):this[_0x2d5585(0x12d)][_0x2d5585(0x87)][_0x2d5585(0xfa)]||this[_0x2d5585(0x12d)][_0x2d5585(0x87)][_0x2d5585(0x90)]();}[_0x99128(0xc2)](){const _0x171f2b=_0x99128;this[_0x171f2b(0x12d)][_0x171f2b(0xe3)]();}[_0x99128(0xb1)](){const _0xc316c0=_0x99128,_0x480074=new Map(),_0x1e40a8=_0x56ed73(this[_0xc316c0(0x115)][_0xc316c0(0xac)][_0xc316c0(0xfd)](_0xc316c0(0xb2)),this[_0xc316c0(0x115)][_0xc316c0(0xaf)]);for(const _0x5cbf98 of _0x1e40a8)for(const _0x4f70c1 of _0x5cbf98[_0xc316c0(0x8a)])_0x480074[_0xc316c0(0x12f)](_0x4f70c1['id'],{..._0x4f70c1,'groupId':_0x5cbf98[_0xc316c0(0x120)],'groupLabel':_0x5cbf98[_0xc316c0(0xcd)]||_0x5cbf98[_0xc316c0(0x120)]});return _0x480074;}[_0x99128(0x8b)](_0xc2e424){const _0x2952c6=_0x99128,_0x50217c=this[_0x2952c6(0x115)],_0x36b3dc=_0x50217c[_0x2952c6(0x8a)][_0x2952c6(0xfd)](_0x2952c6(0xd9)),_0x24eb97=new _0xc2e424(_0x50217c[_0x2952c6(0xaf)]);return _0x24eb97[_0x2952c6(0x12f)]({'label':_0x4ae4f2(_0x50217c[_0x2952c6(0xaf)],_0x2952c6(0x109)),'icon':_0x50d794,'isToggleable':!0x0}),_0x24eb97[_0x2952c6(0xb9)](_0x2952c6(0x8e))['to'](_0x36b3dc),_0x24eb97[_0x2952c6(0xb9)](_0x2952c6(0x12a))['to'](this[_0x2952c6(0x12d)],'id',_0x123304=>_0x2952c6(0xeb)===_0x123304),this[_0x2952c6(0x86)](_0x24eb97,_0x2952c6(0xdd),()=>{const _0x95e36d=_0x2952c6;_0x24eb97[_0x95e36d(0x12a)]?this[_0x95e36d(0xc2)]():_0x36b3dc[_0x95e36d(0xdd)]();}),_0x24eb97;}[_0x99128(0x112)](){const _0x2a80db=_0x99128,_0x31f730=this[_0x2a80db(0x115)][_0x2a80db(0x10c)][_0x2a80db(0xfd)](_0x3c4c62);this[_0x2a80db(0xf9)]=new _0x530bf2(this[_0x2a80db(0x115)][_0x2a80db(0xaf)],this[_0x2a80db(0xab)],this[_0x2a80db(0x115)][_0x2a80db(0xac)][_0x2a80db(0xfd)](_0x2a80db(0x8f))),this[_0x2a80db(0xf9)]['on'](_0x2a80db(0xa6),()=>{const _0x49bd01=_0x2a80db;this[_0x49bd01(0x12d)][_0x49bd01(0x87)][_0x49bd01(0xfa)]||this[_0x49bd01(0x12d)][_0x49bd01(0x87)][_0x49bd01(0x90)]();}),this[_0x2a80db(0xf9)][_0x2a80db(0xfb)][_0x2a80db(0x11b)][_0x2a80db(0xd1)]['on'](_0x2a80db(0x12c),()=>{const _0x3c9181=_0x2a80db;this[_0x3c9181(0x12d)][_0x3c9181(0x87)][_0x3c9181(0xfa)]||this[_0x3c9181(0x12d)][_0x3c9181(0x87)][_0x3c9181(0x90)]();}),this[_0x2a80db(0x86)](this[_0x2a80db(0xf9)],_0x2a80db(0xf1),()=>{const _0x2442f8=_0x2a80db;_0x31f730[_0x2442f8(0xe0)](this[_0x2442f8(0xc1)][_0x2442f8(0x80)]),this[_0x2442f8(0xc2)]();}),this[_0x2a80db(0x86)](this[_0x2a80db(0xf9)],_0x2a80db(0x9d),()=>{const _0x4bcd3e=_0x2a80db;_0x31f730[_0x4bcd3e(0x9d)](this[_0x4bcd3e(0xc1)][_0x4bcd3e(0x80)]),this[_0x4bcd3e(0xc2)]();}),this[_0x2a80db(0xf4)]();}[_0x99128(0xf4)](){const _0x57303a=_0x99128,{locale:_0x35642f,ui:{ariaLiveAnnouncer:_0x11e542}}=this[_0x57303a(0x115)];this[_0x57303a(0xf9)][_0x57303a(0xbc)]['on'](_0x57303a(0x94),(_0x32d71a,_0x688caf,_0x136f38)=>{const _0x3be1f7=_0x57303a,_0x577ad9=this[_0x3be1f7(0xc1)][_0x3be1f7(0x80)];_0x136f38?_0x11e542[_0x3be1f7(0xbd)](_0x4ae4f2(_0x35642f,_0x3be1f7(0xd2))):_0x577ad9&&_0x11e542[_0x3be1f7(0xbd)](_0x4ae4f2(_0x35642f,_0x3be1f7(0x91),_0x577ad9),{'politeness':_0x3be1f7(0x10f),'isUnsafeHTML':!0x0});}),this[_0x57303a(0xf9)]['on'](_0x57303a(0xe6),(_0x4aee58,_0x3cbc9a,_0x379c05)=>{const _0xc8054a=_0x57303a;if(_0x379c05){const _0x2dbe8d=this[_0xc8054a(0xf9)][_0xc8054a(0xdc)][_0xc8054a(0x85)];_0x11e542[_0xc8054a(0xbd)](_0x4ae4f2(_0x35642f,_0xc8054a(0xc8),_0x2dbe8d));}});}[_0x99128(0xe7)](_0x361a8b){const _0x322417=_0x99128,_0x42f282=this[_0x322417(0x128)][_0x322417(0xfd)](_0x361a8b),_0x4ac251=this[_0x322417(0x115)],_0x5a23ec=_0x4ac251[_0x322417(0xcc)][_0x322417(0xdf)][_0x322417(0xc6)],_0x32261e=_0x4ac251[_0x322417(0x8a)][_0x322417(0xfd)](_0x322417(0xd9)),_0x575d67=_0x4ac251[_0x322417(0x10c)][_0x322417(0xfd)](_0x3c4c62),_0x289faa=''+(_0x42f282[_0x322417(0x120)]!==_0x32534a?_0x42f282[_0x322417(0xcd)]+':\x20':'')+_0x42f282[_0x322417(0xfe)];if(!0x1!==_0x42f282[_0x322417(0x102)]&&_0x5a23ec[_0x322417(0x11e)]){const _0x12b8a7=_0x10acd5(_0x5a23ec[_0x322417(0x123)]())||_0x4ac251[_0x322417(0xcc)][_0x322417(0x10e)][_0x322417(0x9b)](_0x5a23ec);_0x4ac251[_0x322417(0xcc)][_0x322417(0xf8)](_0x2a297f=>{const _0x37cc29=_0x322417;_0x2a297f[_0x37cc29(0xc0)](_0x12b8a7,'in');});}_0x575d67[_0x322417(0x12b)](),_0x32261e[_0x322417(0xdd)](_0x42f282[_0x322417(0xcb)],_0x289faa,_0x322417(0xf2)+_0x361a8b);}[_0x99128(0xde)](_0x4eb3a4,_0xa5081b,_0x3c11b3,_0x11cffe){const _0x529b04=_0x99128,_0xd010c1=this[_0x529b04(0x115)],_0x4d7cd7=_0xd010c1[_0x529b04(0xaf)],_0x1b5897=new _0x908e98(_0x4d7cd7),_0x8649fa=W(_0xd010c1,_0x3c11b3)[_0x529b04(0xd6)](_0x58f419=>_0x58f419[_0x529b04(0x8a)][_0x529b04(0x100)]);0x1===_0x8649fa[_0x529b04(0x100)]?this[_0x529b04(0x126)]({'command':_0x4eb3a4,'commands':_0x8649fa[0x0][_0x529b04(0x8a)],'parentMenuView':_0xa5081b,'onExecute':_0x11cffe})[_0x529b04(0x95)](_0x4f58d1=>_0x1b5897[_0x529b04(0xb6)][_0x529b04(0x103)](_0x4f58d1)):_0x8649fa[_0x529b04(0x95)](({groupId:_0x5e24d3,groupLabel:_0x3d1734,commands:_0x489e46})=>{const _0x340e77=_0x529b04,_0x30a507=new _0x17731e(_0x4d7cd7,_0xa5081b),_0x580168=new _0x337e20(_0x4d7cd7),_0x11ce43=new _0x908e98(_0x4d7cd7),_0x3c07b9=this[_0x340e77(0x126)]({'command':_0x4eb3a4,'commands':_0x489e46,'parentMenuView':_0x580168,'onExecute':_0x11cffe});_0x580168[_0x340e77(0x113)][_0x340e77(0x12f)]({'label':_0x3d1734||_0x5e24d3}),_0x580168[_0x340e77(0x114)](_0x340e77(0xdd))['to'](_0xa5081b),_0x11ce43[_0x340e77(0xb6)][_0x340e77(0xd7)](_0x3c07b9),_0x580168[_0x340e77(0x11a)][_0x340e77(0xa8)][_0x340e77(0x103)](_0x11ce43),_0x30a507[_0x340e77(0xa8)][_0x340e77(0x103)](_0x580168),_0x1b5897[_0x340e77(0xb6)][_0x340e77(0x103)](_0x30a507);}),_0xa5081b[_0x529b04(0x11a)][_0x529b04(0xa8)][_0x529b04(0x103)](_0x1b5897);}[_0x99128(0x126)]({command:_0x3aafdf,commands:_0x336379,parentMenuView:_0x34afac,onExecute:_0x11a82c}){const _0x292c0a=_0x99128,_0x2bd733=this[_0x292c0a(0x115)],_0x228c33=_0x2bd733[_0x292c0a(0xaf)];return W(_0x2bd733,_0x336379)[_0x292c0a(0x97)](_0x298e01=>{const _0xcdb24a=_0x292c0a,_0x342ff1=new _0x17731e(_0x228c33,_0x34afac),_0x166751=new _0x3779a9(_0x228c33);return _0x166751[_0xcdb24a(0x12f)]({'label':_0x298e01[_0xcdb24a(0xfe)]}),_0x166751[_0xcdb24a(0x114)](_0xcdb24a(0xdd))['to'](_0x34afac),_0x166751['on'](_0xcdb24a(0xdd),()=>_0x11a82c(_0x298e01['id'])),_0x166751[_0xcdb24a(0xb9)](_0xcdb24a(0x8e))['to'](_0x3aafdf,_0xcdb24a(0x107),_0x2048fe=>_0x2048fe[_0xcdb24a(0xb5)](_0x298e01['id'])),_0x342ff1[_0xcdb24a(0xa8)][_0xcdb24a(0x103)](_0x166751),_0x342ff1;});}}function Q(_0x56c350,_0xf1c416){const _0x5745b0=_0x99128;return void 0x0!==_0x56c350[_0x5745b0(0xd5)]&&void 0x0===_0xf1c416[_0x5745b0(0xd5)]?0x1:void 0x0===_0x56c350[_0x5745b0(0xd5)]&&void 0x0!==_0xf1c416[_0x5745b0(0xd5)]?-0x1:void 0x0!==_0x56c350[_0x5745b0(0xd5)]&&void 0x0!==_0xf1c416[_0x5745b0(0xd5)]?_0x56c350[_0x5745b0(0xd5)]-_0xf1c416[_0x5745b0(0xd5)]:0x0;}function W(_0x5363d9,_0x36323e){const _0x596cab=_0x99128;_0x36323e[_0x596cab(0x99)](Q);const _0x4fc8b4={},_0x54d46a=[];for(const _0xa39683 of _0x36323e)if(void 0x0!==_0xa39683[_0x596cab(0xd5)]){if(_0xa39683[_0x596cab(0xd5)]in _0x4fc8b4)throw new _0xdedca4(_0x596cab(0x116),_0x5363d9,{'conflictingDefinitions':[_0xa39683,_0x4fc8b4[_0xa39683[_0x596cab(0xd5)]]]});_0x4fc8b4[_0xa39683[_0x596cab(0xd5)]]=_0xa39683,_0x54d46a[_0x596cab(0x9c)](_0xa39683[_0x596cab(0xd5)],0x0,_0xa39683);}else _0x54d46a[_0x596cab(0x11f)](_0xa39683);return _0x54d46a;}
|
|
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;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xed79(){var _0x318971=['7MZQXFW','312952ZYvjlP','870036lSUNUV','532983qBUAtT','660272nUHMEZ','22UHXXTp','22563tzuLaf','327925eVEmax','3488508APHkSu'];_0xed79=function(){return _0x318971;};return _0xed79();}function _0x2467(_0x4ab280,_0x318dde){var _0xed791=_0xed79();return _0x2467=function(_0x246740,_0x166396){_0x246740=_0x246740-0xeb;var _0x12e836=_0xed791[_0x246740];return _0x12e836;},_0x2467(_0x4ab280,_0x318dde);}(function(_0x2de795,_0x2bbb85){var _0x3d81b4=_0x2467,_0x22da6a=_0x2de795();while(!![]){try{var _0x4855e5=-parseInt(_0x3d81b4(0xf2))/0x1*(parseInt(_0x3d81b4(0xf1))/0x2)+-parseInt(_0x3d81b4(0xef))/0x3+parseInt(_0x3d81b4(0xf0))/0x4+-parseInt(_0x3d81b4(0xf3))/0x5+parseInt(_0x3d81b4(0xee))/0x6*(parseInt(_0x3d81b4(0xec))/0x7)+-parseInt(_0x3d81b4(0xed))/0x8+parseInt(_0x3d81b4(0xeb))/0x9;if(_0x4855e5===_0x2bbb85)break;else _0x22da6a['push'](_0x22da6a['shift']());}catch(_0xcc766b){_0x22da6a['push'](_0x22da6a['shift']());}}}(_0xed79,0x28cd8));import{CKEditorError as _0x541de2}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x11b8e9=_0xb138;(function(_0x92ebed,_0x406182){const _0x428cf1=_0xb138,_0x47f1e6=_0x92ebed();while(!![]){try{const _0xd6430f=parseInt(_0x428cf1(0x134))/0x1*(parseInt(_0x428cf1(0x12f))/0x2)+-parseInt(_0x428cf1(0x17d))/0x3*(parseInt(_0x428cf1(0x157))/0x4)+-parseInt(_0x428cf1(0x17a))/0x5*(parseInt(_0x428cf1(0x171))/0x6)+-parseInt(_0x428cf1(0x144))/0x7+parseInt(_0x428cf1(0x143))/0x8*(parseInt(_0x428cf1(0x158))/0x9)+-parseInt(_0x428cf1(0x179))/0xa+parseInt(_0x428cf1(0x146))/0xb;if(_0xd6430f===_0x406182)break;else _0x47f1e6['push'](_0x47f1e6['shift']());}catch(_0x48a84c){_0x47f1e6['push'](_0x47f1e6['shift']());}}}(_0x4776,0xcbdaf));import{ObservableMixin as _0x8123ee}from'ckeditor5/src/utils.js';import{AIRequestError as _0x25bf25}from'../adapters/aiadapter.js';function _0x4776(){const _0x3a3076=['parseFromString','textAdapter','_stripMarkdownSyntax','mainAction','_domParser','text/html','value','previousLabel','stopListening','394FapWHS','querySelector','exec','rename','custom','7764UnlEgz','startsWith','data','abort','htmlProcessor','tryAgainEvent','set:currentContext','_handleQuery','previousActionId','set','_isH1TagSupportEnabled','listenTo','isRendered','clear','serializeToString','23584ozoIXp','2935499czEjfh','_sanitizeHTML','9795588tUPvgb','makeRequest','catch','createElement','finally','remove','stopProcessing','processor','nodeType','_xmlSerializer','submitPrompt','editor','destroy','currentContext','match','reset','view','24pqCvTi','2718JMWUXS','```html','ELEMENT_NODE','previousContext','startProcessing','updateView','div','then','viewToDom','from','<h1></h1>','_parseAndNormalizeContent','toView','handleError','isProcessing','currentResponse','message','get','setContentOf','markers','render','innerHTML','body','length','stringify','2923614GpbfpS','reverse','ai.assistant.preserveComments','childNodes','toModel','domConverter','finishProcessing','name','7511290APQljm','5dMcnoP','element','previousQuery','408783RLuyPj','config','initialContext','_normalizeResponseHeadings','trim','editing','push','_sanitizationContainer','endsWith','prompt','```','substring','document','once'];_0x4776=function(){return _0x3a3076;};return _0x4776();}function _0xb138(_0x419186,_0x11a917){const _0x4776ce=_0x4776();return _0xb138=function(_0xb13809,_0xaa52af){_0xb13809=_0xb13809-0x12c;let _0x1c3fbd=_0x4776ce[_0xb13809];return _0x1c3fbd;},_0xb138(_0x419186,_0x11a917);}import{Matcher as _0x2c0d38,ViewUpcastWriter as _0x8a59d3}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x8123ee(){[_0x11b8e9(0x151)];[_0x11b8e9(0x18c)];[_0x11b8e9(0x156)];[_0x11b8e9(0x184)];[_0x11b8e9(0x18f)];[_0x11b8e9(0x14f)];constructor(_0x1a38c5,_0xf53b4,_0x455af9){const _0x2eb6e8=_0x11b8e9;super(),this[_0x2eb6e8(0x151)]=_0x1a38c5,this[_0x2eb6e8(0x18c)]=_0xf53b4,this[_0x2eb6e8(0x184)]=document[_0x2eb6e8(0x149)](_0x2eb6e8(0x15e)),this[_0x2eb6e8(0x18f)]=new DOMParser(),this[_0x2eb6e8(0x14f)]=new XMLSerializer(),this[_0x2eb6e8(0x156)]=_0x455af9,this[_0x2eb6e8(0x13d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2eb6e8(0x13a),(_0x8eb5d,_0x376f99,_0x4d93a3)=>{const _0x1884f9=_0x2eb6e8;this[_0x1884f9(0x156)][_0x1884f9(0x12c)]=this[_0x1884f9(0x145)](_0x4d93a3);}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x150),(_0x4cbceb,_0x5aaf75)=>{const _0x4101ea=_0x2eb6e8,_0x2139fe=this[_0x4101ea(0x153)]||this[_0x4101ea(0x17f)];this[_0x4101ea(0x13b)](_0x5aaf75,_0x2139fe,_0x4101ea(0x133));}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x139),()=>{const _0x9049e2=_0x2eb6e8;this[_0x9049e2(0x156)][_0x9049e2(0x186)]=this[_0x9049e2(0x12d)],this[_0x9049e2(0x13b)](this[_0x9049e2(0x17c)],this[_0x9049e2(0x15b)],this[_0x9049e2(0x13c)],this[_0x9049e2(0x12d)]);}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x14c),()=>{const _0x5645e6=_0x2eb6e8;this[_0x5645e6(0x14c)]();});}[_0x11b8e9(0x152)](){const _0x1b71ce=_0x11b8e9;this[_0x1b71ce(0x12e)]();}async[_0x11b8e9(0x15d)]({actionId:_0x5096b3,query:_0x3b9d5d,htmlContent:_0x976450,label:_0x9fed43,mainActionLabel:_0x1eb118}){const _0x5da65d=_0x11b8e9;this[_0x5da65d(0x156)][_0x5da65d(0x186)]=_0x9fed43,this[_0x5da65d(0x156)][_0x5da65d(0x18e)]=_0x1eb118,this[_0x5da65d(0x17f)]=_0x976450,_0x3b9d5d&&(this[_0x5da65d(0x156)][_0x5da65d(0x140)]?this[_0x5da65d(0x13b)](_0x3b9d5d,_0x976450,_0x5096b3,_0x9fed43):this[_0x5da65d(0x156)][_0x5da65d(0x18a)](_0x5da65d(0x16c),()=>{const _0x5be848=_0x5da65d;this[_0x5be848(0x13b)](_0x3b9d5d,_0x976450,_0x5096b3,_0x9fed43);}));}[_0x11b8e9(0x14c)](){const _0x2ccc66=_0x11b8e9;this[_0x2ccc66(0x166)]&&(this[_0x2ccc66(0x166)]=!0x1,this[_0x2ccc66(0x156)][_0x2ccc66(0x177)](),this[_0x2ccc66(0x18c)][_0x2ccc66(0x137)]());}[_0x11b8e9(0x155)](){const _0x536784=_0x11b8e9;this[_0x536784(0x17f)]='',this[_0x536784(0x153)]='',this[_0x536784(0x167)]='',this[_0x536784(0x15b)]='',this[_0x536784(0x17c)]='',this[_0x536784(0x12d)]='',this[_0x536784(0x13c)]=void 0x0,this[_0x536784(0x156)][_0x536784(0x155)](),this[_0x536784(0x14c)]();}async[_0x11b8e9(0x13b)](_0x3bf61b,_0x30a42a,_0x5f01fc,_0x41665b){const _0x285910=_0x11b8e9;return this[_0x285910(0x166)]=!0x0,this[_0x285910(0x156)][_0x285910(0x15c)](),this[_0x285910(0x15b)]=_0x30a42a,this[_0x285910(0x17c)]=_0x3bf61b,this[_0x285910(0x12d)]=_0x41665b||_0x3bf61b,this[_0x285910(0x13c)]=_0x5f01fc,new Promise(_0x31e985=>{const _0x44bddb=_0x285910;this[_0x44bddb(0x18c)][_0x44bddb(0x147)]({'query':_0x3bf61b,'context':_0x30a42a,'onData':_0x7d60ab=>{const _0x25e637=_0x44bddb;this[_0x25e637(0x167)]=_0x7d60ab,this[_0x25e637(0x153)]=this[_0x25e637(0x163)](this[_0x25e637(0x167)]);},'actionId':_0x5f01fc})[_0x44bddb(0x15f)](()=>{const _0x79c354=_0x44bddb;!this[_0x79c354(0x153)]&&this[_0x79c354(0x167)]&&(this[_0x79c354(0x153)]=this[_0x79c354(0x163)](this[_0x79c354(0x167)],!0x0));})[_0x44bddb(0x148)](_0x16f2a4=>{const _0x1f062a=_0x44bddb;_0x16f2a4 instanceof _0x25bf25?this[_0x1f062a(0x156)][_0x1f062a(0x165)](_0x16f2a4[_0x1f062a(0x168)]):this[_0x1f062a(0x156)][_0x1f062a(0x165)](),_0x31e985();})[_0x44bddb(0x14a)](()=>{const _0x516fe6=_0x44bddb;this[_0x516fe6(0x14c)](),_0x31e985();});});}[_0x11b8e9(0x163)](_0x233bbe,_0x5bb814=!0x1){const _0x1ae2ef=_0x11b8e9,_0x33a2a3=hs[_0x1ae2ef(0x131)](_0x233bbe);_0x233bbe=_0x33a2a3?_0x233bbe[_0x1ae2ef(0x188)](_0x33a2a3[0x1][_0x1ae2ef(0x16f)]):_0x233bbe[_0x1ae2ef(0x16f)]<0x64&&!_0x5bb814?'':this[_0x1ae2ef(0x18d)](_0x233bbe);const _0x56a2c5=this[_0x1ae2ef(0x18f)][_0x1ae2ef(0x18b)](_0x233bbe,_0x1ae2ef(0x190));if(_0x33a2a3){const _0x4bc3be=Array[_0x1ae2ef(0x161)](_0x56a2c5[_0x1ae2ef(0x16e)][_0x1ae2ef(0x174)]);_0x4bc3be[_0x1ae2ef(0x172)]();for(const _0x5b1806 of _0x4bc3be){if(_0x5b1806[_0x1ae2ef(0x14e)]==Node[_0x1ae2ef(0x15a)])break;_0x5b1806[_0x1ae2ef(0x14b)]();}}const _0x1cf85e=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x14d)][_0x1ae2ef(0x164)](this[_0x1ae2ef(0x14f)][_0x1ae2ef(0x142)](_0x56a2c5[_0x1ae2ef(0x16e)]));this[_0x1ae2ef(0x13e)]()||this[_0x1ae2ef(0x180)](_0x1cf85e);const _0x3440ef=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x17e)][_0x1ae2ef(0x169)](_0x1ae2ef(0x173)),_0x1a4111=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x175)](_0x1cf85e);return _0x3440ef||_0x1a4111[_0x1ae2ef(0x16b)][_0x1ae2ef(0x141)](),this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x170)](_0x1a4111);}[_0x11b8e9(0x180)](_0x56939f){const _0xe0af6e=_0x11b8e9,_0x1c2055=new _0x8a59d3(this[_0xe0af6e(0x151)][_0xe0af6e(0x182)][_0xe0af6e(0x156)][_0xe0af6e(0x189)]),_0x4092b5=new _0x2c0d38({'name':/^h[1-5]$/}),_0x2a12e0=[];let _0x2fa9cc=!0x1;for(const _0x37d0b3 of _0x56939f)_0x37d0b3['is'](_0xe0af6e(0x17b))&&_0x4092b5[_0xe0af6e(0x154)](_0x37d0b3)&&(_0x2a12e0[_0xe0af6e(0x183)](_0x37d0b3),'h1'==_0x37d0b3[_0xe0af6e(0x178)]&&(_0x2fa9cc=!0x0));if(_0x2fa9cc){for(const _0x1ecfc8 of _0x2a12e0)_0x1c2055[_0xe0af6e(0x132)]('h'+(parseInt(_0x1ecfc8[_0xe0af6e(0x178)][0x1])+0x1),_0x1ecfc8);}}[_0x11b8e9(0x13e)](){const _0x40818e=_0x11b8e9,{data:_0x5cf659,editing:_0x248510}=this[_0x40818e(0x151)],_0x188764=_0x5cf659[_0x40818e(0x138)][_0x40818e(0x164)](_0x40818e(0x162)),_0x346772=_0x5cf659[_0x40818e(0x164)](_0x5cf659[_0x40818e(0x175)](_0x188764));return!!_0x248510[_0x40818e(0x156)][_0x40818e(0x176)][_0x40818e(0x160)](_0x346772)[_0x40818e(0x130)]('h1');}[_0x11b8e9(0x145)](_0x14df88){const _0xe63799=_0x11b8e9;return this[_0xe63799(0x151)][_0xe63799(0x182)][_0xe63799(0x156)][_0xe63799(0x176)][_0xe63799(0x16a)](this[_0xe63799(0x184)],_0x14df88),this[_0xe63799(0x184)][_0xe63799(0x16d)];}[_0x11b8e9(0x18d)](_0x174fa){const _0x1840f7=_0x11b8e9,_0x3c30c7=_0x174fa[_0x1840f7(0x181)]();return _0x3c30c7[_0x1840f7(0x135)](_0x1840f7(0x159))?_0x3c30c7[_0x1840f7(0x185)](_0x1840f7(0x187))?_0x3c30c7[_0x1840f7(0x188)](0x7,_0x3c30c7[_0x1840f7(0x16f)]-0x3):_0x3c30c7[_0x1840f7(0x188)](0x7):_0x174fa;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52d49c=_0x4fca;(function(_0x4e8205,_0x278cb2){const _0x25db2b=_0x4fca,_0x2d8954=_0x4e8205();while(!![]){try{const _0x5d5b90=parseInt(_0x25db2b(0x14f))/0x1*(parseInt(_0x25db2b(0x163))/0x2)+-parseInt(_0x25db2b(0x19c))/0x3+parseInt(_0x25db2b(0x161))/0x4+-parseInt(_0x25db2b(0x1a3))/0x5*(parseInt(_0x25db2b(0x160))/0x6)+-parseInt(_0x25db2b(0x152))/0x7+parseInt(_0x25db2b(0x19d))/0x8+parseInt(_0x25db2b(0x192))/0x9*(parseInt(_0x25db2b(0x196))/0xa);if(_0x5d5b90===_0x278cb2)break;else _0x2d8954['push'](_0x2d8954['shift']());}catch(_0x3a4c78){_0x2d8954['push'](_0x2d8954['shift']());}}}(_0x3c33,0x318f9));import{global as _0x115a69}from'ckeditor5/src/utils.js';function _0x4fca(_0x97ff55,_0x57cf9b){const _0x3c33d5=_0x3c33();return _0x4fca=function(_0x4fca88,_0x4532ba){_0x4fca88=_0x4fca88-0x14f;let _0x37b730=_0x3c33d5[_0x4fca88];return _0x37b730;},_0x4fca(_0x97ff55,_0x57cf9b);}import{View as _0x914233,ButtonView as _0x58106f,SpinnerView as _0x5084d6}from'ckeditor5/src/ui.js';function _0x3c33(){const _0x87b298=['bind','position','isProcessing','-9999px','style','78258RxkJqz','70340KbPFrL','class','6gKOadp','copy','write','remove','scrollHeight','setContent','scrollTo','div','getSelection','ck-ai-form__content-area','AI\x20is\x20writing...','copyButtonView','lastElementChild','change:value','left','isVisible','ck-reset_all-excluded','locale','textContent','ck-ai-form__content-area-wrapper','setTemplate','ck-hidden','text/html','appendChild','mousedown','contentFieldView','querySelector','ck-ai-form__loader','execCommand','<span>]</span>','appendLoader','clipboard','innerHTML','value','ck-ai-form__copy-button-wrapper','set','createElement','ClipboardItem','body','change:isProcessing','absolute','createRange','<span>[</span>','setEndBefore','loaderView','Copy','listenTo','2358801nVmcbr','focus','removeAllRanges','ck-ai-form__content-area--processing','10GwjlvP','wheel','ck-ai-form__copy-button','icon','ck-ai-form__content-field','smooth','863976mIxNAl','1074960HTWGtK','firstElementChild','text/plain','_createCopyButton','element','.ck-ai-form__loader','45COBIfP','79467xzBVWc','execute','ck-content','308455zgjzcE','_copyHTMLToClipboard','_createLoader','isEnabled','setStartAfter','bindTemplate','render','\x20ck-ai-form__copy-button--copied','addRange'];_0x3c33=function(){return _0x87b298;};return _0x3c33();}import{IconCheck as _0xeb2435,IconCopy as _0x35bb15}from'ckeditor5/src/icons.js';import{getTranslation as _0x44e4f2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x914233{[_0x52d49c(0x17c)];[_0x52d49c(0x16e)];constructor(_0x38006e,_0x4f8963=''){const _0x4da235=_0x52d49c;super(_0x38006e),this[_0x4da235(0x186)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x258c82=this[_0x4da235(0x157)];this[_0x4da235(0x17c)]=new ContentFieldView(_0x38006e,_0x4f8963),this[_0x4da235(0x16e)]=this[_0x4da235(0x1a0)](),this[_0x4da235(0x177)]({'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x176),_0x258c82['if'](_0x4da235(0x172),_0x4da235(0x178),_0x22a7c9=>!_0x22a7c9)],'tabindex':'-1'},'children':[{'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x16c),_0x258c82['if'](_0x4da235(0x15d),_0x4da235(0x195))]},'children':[this[_0x4da235(0x17c)],{'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x185)]},'children':[this[_0x4da235(0x16e)]]}]}]});}[_0x52d49c(0x158)](){const _0x302821=_0x52d49c;super[_0x302821(0x158)](),this[_0x302821(0x184)]&&this[_0x302821(0x17c)][_0x302821(0x168)](this[_0x302821(0x184)]);let _0x56ade5=!0x1;this['on'](_0x302821(0x170),(_0x204550,_0x257518,_0x15677c)=>{const _0x226194=_0x302821,_0x3791dd=!this[_0x226194(0x17c)][_0x226194(0x1a1)][_0x226194(0x17d)](_0x226194(0x1a2));this[_0x226194(0x17c)][_0x226194(0x168)](_0x15677c),this[_0x226194(0x15d)]&&_0x3791dd&&!_0x56ade5&&this[_0x226194(0x1a1)][_0x226194(0x169)]({'top':this[_0x226194(0x1a1)][_0x226194(0x167)],'behavior':_0x226194(0x19b)});}),this['on'](_0x302821(0x18a),(_0x4213fe,_0x21c362,_0x457ed1)=>{const _0x60e960=_0x302821;_0x56ade5=!0x1,_0x457ed1?(this[_0x60e960(0x184)]=null,this[_0x60e960(0x17c)][_0x60e960(0x181)]()):this[_0x60e960(0x184)]||this[_0x60e960(0x17c)][_0x60e960(0x168)]('');}),this[_0x302821(0x191)](this[_0x302821(0x1a1)],_0x302821(0x197),()=>{_0x56ade5=!0x0;}),this[_0x302821(0x191)](this[_0x302821(0x1a1)],_0x302821(0x17b),()=>{_0x56ade5=!0x0;});}[_0x52d49c(0x193)](){const _0xb89cad=_0x52d49c;this[_0xb89cad(0x1a1)][_0xb89cad(0x193)]();}[_0x52d49c(0x1a0)](){const _0x613730=_0x52d49c,_0x3bbb82=this[_0x613730(0x174)],_0x448d97=new _0x58106f(this[_0x613730(0x174)]),_0x532c1f=_0x613730(0x198);return _0x448d97[_0x613730(0x186)]({'label':_0x44e4f2(_0x3bbb82,_0x613730(0x190)),'icon':_0x35bb15,'class':_0x532c1f,'tooltip':!0x0}),_0x448d97[_0x613730(0x15b)](_0x613730(0x172))['to'](this,_0x613730(0x184),_0x5e421f=>!!_0x5e421f),_0x448d97[_0x613730(0x15b)](_0x613730(0x155))['to'](this,_0x613730(0x15d),_0x42e21f=>!_0x42e21f),_0x448d97['on'](_0x613730(0x150),()=>{const _0x1c8f2c=_0x613730;this[_0x1c8f2c(0x153)](this[_0x1c8f2c(0x17c)][_0x1c8f2c(0x1a1)]),_0x448d97[_0x1c8f2c(0x199)]=_0xeb2435,_0x448d97[_0x1c8f2c(0x162)]=_0x532c1f+_0x1c8f2c(0x159),this[_0x1c8f2c(0x193)](),setTimeout(()=>{const _0x306fbc=_0x1c8f2c;_0x448d97[_0x306fbc(0x199)]=_0x35bb15,_0x448d97[_0x306fbc(0x162)]=_0x532c1f;},0x3e8);}),_0x448d97;}[_0x52d49c(0x153)](_0x5bfb25){const _0x2b185d=_0x52d49c,{window:_0x274674,document:_0x364825}=_0x115a69;if(_0x274674[_0x2b185d(0x188)]){const {Blob:_0x1e031e,ClipboardItem:_0x1801a0}=_0x274674,_0x461cbf=[new _0x1801a0({'text/html':new _0x1e031e([_0x5bfb25[_0x2b185d(0x183)]],{'type':_0x2b185d(0x179)}),'text/plain':new _0x1e031e([_0x5bfb25[_0x2b185d(0x175)]||''],{'type':_0x2b185d(0x19f)})})];navigator[_0x2b185d(0x182)][_0x2b185d(0x165)](_0x461cbf);}else{const _0x515c87=_0x364825[_0x2b185d(0x187)](_0x2b185d(0x16a));_0x515c87[_0x2b185d(0x15f)][_0x2b185d(0x15c)]=_0x2b185d(0x18b),_0x515c87[_0x2b185d(0x15f)][_0x2b185d(0x171)]=_0x2b185d(0x15e),_0x515c87[_0x2b185d(0x183)]=_0x2b185d(0x18d)+_0x5bfb25[_0x2b185d(0x183)]+_0x2b185d(0x180),_0x364825[_0x2b185d(0x189)][_0x2b185d(0x17a)](_0x515c87);const _0x28bfa8=_0x364825[_0x2b185d(0x18c)]();_0x28bfa8[_0x2b185d(0x156)](_0x515c87[_0x2b185d(0x19e)]),_0x28bfa8[_0x2b185d(0x18e)](_0x515c87[_0x2b185d(0x16f)]);const _0x5ef69e=_0x274674[_0x2b185d(0x16b)]();_0x5ef69e[_0x2b185d(0x194)](),_0x5ef69e[_0x2b185d(0x15a)](_0x28bfa8),_0x364825[_0x2b185d(0x17f)](_0x2b185d(0x164)),_0x515c87[_0x2b185d(0x166)]();}}}export class ContentFieldView extends _0x914233{constructor(_0x4f95dd,_0x43a453=''){const _0x1b0dfa=_0x52d49c;super(_0x4f95dd),this[_0x1b0dfa(0x18f)]=this[_0x1b0dfa(0x154)](),this[_0x1b0dfa(0x177)]({'tag':_0x1b0dfa(0x16a),'attributes':{'class':['ck',_0x1b0dfa(0x151),_0x43a453,_0x1b0dfa(0x173),_0x1b0dfa(0x19a)]}});}[_0x52d49c(0x168)](_0xdeda52){const _0x496b5f=_0x52d49c;this[_0x496b5f(0x1a1)][_0x496b5f(0x183)]=_0xdeda52;}[_0x52d49c(0x181)](){const _0x3c2bf2=_0x52d49c;this[_0x3c2bf2(0x1a1)][_0x3c2bf2(0x17a)](this[_0x3c2bf2(0x18f)][_0x3c2bf2(0x1a1)]);}[_0x52d49c(0x154)](){const _0x5558d4=_0x52d49c,_0x2e8e72=new _0x914233(),_0x57918d=this[_0x5558d4(0x174)],_0x2c2aff=new _0x5084d6();return _0x2c2aff[_0x5558d4(0x172)]=!0x0,_0x2e8e72[_0x5558d4(0x177)]({'tag':_0x5558d4(0x16a),'attributes':{'class':['ck',_0x5558d4(0x17e)]},'children':[_0x2c2aff,{'text':_0x44e4f2(_0x57918d,_0x5558d4(0x16d))}]}),_0x2e8e72[_0x5558d4(0x158)](),_0x2e8e72;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x74981f,_0x41cde0){const _0x5bc623=_0x1834,_0x5b7941=_0x74981f();while(!![]){try{const _0x26cefd=-parseInt(_0x5bc623(0x136))/0x1+-parseInt(_0x5bc623(0x135))/0x2*(parseInt(_0x5bc623(0x12f))/0x3)+-parseInt(_0x5bc623(0x13d))/0x4*(-parseInt(_0x5bc623(0x13c))/0x5)+-parseInt(_0x5bc623(0x13e))/0x6+parseInt(_0x5bc623(0x131))/0x7*(-parseInt(_0x5bc623(0x133))/0x8)+parseInt(_0x5bc623(0x132))/0x9+-parseInt(_0x5bc623(0x137))/0xa*(-parseInt(_0x5bc623(0x13a))/0xb);if(_0x26cefd===_0x41cde0)break;else _0x5b7941['push'](_0x5b7941['shift']());}catch(_0x56af1d){_0x5b7941['push'](_0x5b7941['shift']());}}}(_0x4063,0xdb5ab));function _0x1834(_0x1edfbc,_0xc1456d){const _0x4063e9=_0x4063();return _0x1834=function(_0x1834c1,_0x5364dc){_0x1834c1=_0x1834c1-0x12e;let _0x101fcb=_0x4063e9[_0x1834c1];return _0x101fcb;},_0x1834(_0x1edfbc,_0xc1456d);}import{IconError as _0x5b8902}from'ckeditor5/src/icons.js';import{View as _0x4e0c6d,IconView as _0x3c4c67}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4e0c6d{constructor(_0x538878,_0x2b648c=''){const _0x2df515=_0x1834;super(_0x538878);const _0x41842a=new _0x3c4c67(),_0x30d427=this[_0x2df515(0x130)];this[_0x2df515(0x134)](_0x2df515(0x13f),_0x2b648c),_0x41842a[_0x2df515(0x12e)]=_0x5b8902,this[_0x2df515(0x13b)]({'tag':_0x2df515(0x138),'attributes':{'class':['ck',_0x2df515(0x139)]},'children':[_0x41842a,{'text':_0x30d427['to'](_0x2df515(0x13f))}]});}}function _0x4063(){const _0x21d46d=['text','content','3ukeHhF','bindTemplate','7nNCEVK','1475676woPaoE','8268056sZvhax','set','424250kparvY','1261481KrfLuW','22244090jQBpgf','div','ck-ai-form__error','11LKsSuc','setTemplate','110MBjeuM','323788wevulY','4581714DmNRna'];_0x4063=function(){return _0x21d46d;};return _0x4063();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31e038=_0xf129;(function(_0x33e25f,_0x5a10d1){const _0xd18192=_0xf129,_0x375ed4=_0x33e25f();while(!![]){try{const _0x5dd1cf=-parseInt(_0xd18192(0x127))/0x1*(parseInt(_0xd18192(0x134))/0x2)+-parseInt(_0xd18192(0x14e))/0x3*(-parseInt(_0xd18192(0x12f))/0x4)+parseInt(_0xd18192(0x149))/0x5*(-parseInt(_0xd18192(0x12b))/0x6)+-parseInt(_0xd18192(0x119))/0x7*(parseInt(_0xd18192(0x11c))/0x8)+-parseInt(_0xd18192(0x141))/0x9+-parseInt(_0xd18192(0x151))/0xa*(parseInt(_0xd18192(0x144))/0xb)+parseInt(_0xd18192(0x13d))/0xc;if(_0x5dd1cf===_0x5a10d1)break;else _0x375ed4['push'](_0x375ed4['shift']());}catch(_0x3b9a90){_0x375ed4['push'](_0x375ed4['shift']());}}}(_0x40d0,0x34660));function _0x40d0(){const _0x56aea9=['requestAnimationFrame','ck-ai-form__toggle-history','enter','4aCuRWn','execute','filteredView','queryView','keystrokes','excludeScrollbarsAndBorders','right','isEnabled','minRows','18210876aUxhiL','fire','locale','value','3236193OWywAH','History','set','11tzZvbB','render','submitButtonView','target','Submit','50zuuVsg','fieldWrapperChildren','focusCycler','_createSubmitButton','isOn','6wLGzqj','resultsView','rtl','3339670BcPJRd','uiLanguageDirection','style','add','213535xVcQtO','window','focusFirst','40TCUKuz','focus','update','children','ck-ai-form__submit','focusableChildren','bind','left','focusLast','_createShowHistoryButton','fieldView','113451JJsENE','showHistoryButtonView','isVisible','submit','192702LzFSfX','maxRows','element','isEmpty','182384iGISEc','width'];_0x40d0=function(){return _0x56aea9;};return _0x40d0();}import{Rect as _0x1bd6dc,global as _0x14aaa4,isVisible as _0x376d80}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x3f3ec5,IconSubmit as _0x1dff50}from'ckeditor5/src/icons.js';import{AutocompleteView as _0xd836d4,ButtonView as _0x24ff35}from'ckeditor5/src/ui.js';import{getTranslation as _0xddab86}from'../../utils/common-translations.js';function _0xf129(_0xcefecc,_0x4bab34){const _0x40d051=_0x40d0();return _0xf129=function(_0xf1295e,_0x57325c){_0xf1295e=_0xf1295e-0x118;let _0x2d37f0=_0x40d051[_0xf1295e];return _0x2d37f0;},_0xf129(_0xcefecc,_0x4bab34);}export class AIFormPromptView extends _0xd836d4{[_0x31e038(0x146)];[_0x31e038(0x128)];constructor(_0xd45f4d,_0x1c15e6){const _0x3fa4d2=_0x31e038;super(_0xd45f4d,_0x1c15e6),this[_0x3fa4d2(0x137)][_0x3fa4d2(0x126)][_0x3fa4d2(0x13c)]=0x1,this[_0x3fa4d2(0x137)][_0x3fa4d2(0x126)][_0x3fa4d2(0x12c)]=0x3,this[_0x3fa4d2(0x146)]=this[_0x3fa4d2(0x14c)](),this[_0x3fa4d2(0x128)]=this[_0x3fa4d2(0x125)](),this[_0x3fa4d2(0x121)][_0x3fa4d2(0x118)](this[_0x3fa4d2(0x128)],0x1),this[_0x3fa4d2(0x121)][_0x3fa4d2(0x118)](this[_0x3fa4d2(0x146)]);}[_0x31e038(0x145)](){const _0x139130=_0x31e038;super[_0x139130(0x145)](),this[_0x139130(0x137)][_0x139130(0x14a)][_0x139130(0x118)](this[_0x139130(0x128)]),this[_0x139130(0x11f)][_0x139130(0x118)](this[_0x139130(0x146)]),this[_0x139130(0x138)][_0x139130(0x143)](_0x139130(0x133),(_0x2f27cd,_0xdfcb4)=>{const _0x2ecb37=_0x139130;_0x2f27cd[_0x2ecb37(0x147)]==this[_0x2ecb37(0x137)][_0x2ecb37(0x126)][_0x2ecb37(0x12d)]&&(this[_0x2ecb37(0x12a)](),_0xdfcb4());});}[_0x31e038(0x14c)](){const _0x68abfc=_0x31e038,_0x4a94fb=new _0x24ff35(this[_0x68abfc(0x13f)]),_0x476ce2=this[_0x68abfc(0x13f)];return _0x4a94fb[_0x68abfc(0x143)]({'icon':_0x1dff50,'label':_0xddab86(_0x476ce2,_0x68abfc(0x148)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x68abfc(0x120)}),_0x4a94fb['on'](_0x68abfc(0x135),()=>{const _0x3f2a3e=_0x68abfc;this[_0x3f2a3e(0x12a)]();}),_0x4a94fb[_0x68abfc(0x122)](_0x68abfc(0x13b))['to'](this[_0x68abfc(0x137)][_0x68abfc(0x126)],_0x68abfc(0x12e),this,_0x68abfc(0x13b),(_0x278fc9,_0x28ac41)=>!_0x278fc9&&_0x28ac41),_0x4a94fb;}[_0x31e038(0x125)](){const _0x183399=_0x31e038,_0x56cdfb=new _0x24ff35(this[_0x183399(0x13f)]),_0x5e745d=this[_0x183399(0x14f)],_0x51af9a=this[_0x183399(0x13f)];_0x56cdfb[_0x183399(0x143)]({'label':_0xddab86(_0x51af9a,_0x183399(0x142)),'withText':!0x1,'icon':_0x3f3ec5,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x183399(0x132)}),_0x56cdfb[_0x183399(0x122)](_0x183399(0x14d))['to'](_0x5e745d,_0x183399(0x129)),_0x56cdfb[_0x183399(0x122)](_0x183399(0x13b))['to'](this,_0x183399(0x13b)),_0x56cdfb['on'](_0x183399(0x135),()=>{const _0x321291=_0x183399;_0x5e745d[_0x321291(0x129)]=!_0x5e745d[_0x321291(0x129)],_0x5e745d[_0x321291(0x129)]?this[_0x321291(0x136)][_0x321291(0x11d)]():this[_0x321291(0x11d)]();});const _0x59cdb4=()=>{const _0x34ae59=_0x183399;_0x14aaa4[_0x34ae59(0x11a)][_0x34ae59(0x131)](()=>{const _0x1f25e7=_0x34ae59;if(_0x376d80(this[_0x1f25e7(0x12d)])){const _0x20f396=new _0x1bd6dc(this[_0x1f25e7(0x137)][_0x1f25e7(0x126)][_0x1f25e7(0x12d)]),_0x1c74d7=_0x20f396[_0x1f25e7(0x130)],_0x5ae0b5=_0x1f25e7(0x150)===_0x51af9a[_0x1f25e7(0x152)]?_0x1f25e7(0x123):_0x1f25e7(0x13a);_0x20f396[_0x1f25e7(0x139)](),_0x56cdfb[_0x1f25e7(0x12d)][_0x1f25e7(0x153)][_0x5ae0b5]=_0x1c74d7-_0x20f396[_0x1f25e7(0x130)]+0x1+'px';}});};return this[_0x183399(0x137)][_0x183399(0x126)]['on'](_0x183399(0x11e),_0x59cdb4),this['on'](_0x183399(0x145),_0x59cdb4),_0x56cdfb;}[_0x31e038(0x12a)](){const _0x22d40f=_0x31e038,_0x3347c5=this[_0x22d40f(0x137)][_0x22d40f(0x126)][_0x22d40f(0x12d)][_0x22d40f(0x140)];this[_0x22d40f(0x13e)](_0x22d40f(0x12a),_0x3347c5);}[_0x31e038(0x11d)](_0x2bc6ba){const _0x5ef83a=_0x31e038;-0x1===_0x2bc6ba?this[_0x5ef83a(0x14b)][_0x5ef83a(0x124)]():this[_0x5ef83a(0x14b)][_0x5ef83a(0x11b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1729(_0x30ce86,_0x33c9ae){const _0x2678a7=_0x2678();return _0x1729=function(_0x17296f,_0x305ee4){_0x17296f=_0x17296f-0x165;let _0x1a128a=_0x2678a7[_0x17296f];return _0x1a128a;},_0x1729(_0x30ce86,_0x33c9ae);}const _0x49e063=_0x1729;(function(_0x2db5eb,_0x2ab20c){const _0x598a83=_0x1729,_0x547591=_0x2db5eb();while(!![]){try{const _0x43dac6=parseInt(_0x598a83(0x16f))/0x1*(parseInt(_0x598a83(0x172))/0x2)+-parseInt(_0x598a83(0x16c))/0x3*(parseInt(_0x598a83(0x185))/0x4)+-parseInt(_0x598a83(0x186))/0x5+parseInt(_0x598a83(0x17a))/0x6+-parseInt(_0x598a83(0x181))/0x7+parseInt(_0x598a83(0x183))/0x8*(parseInt(_0x598a83(0x17f))/0x9)+-parseInt(_0x598a83(0x167))/0xa*(-parseInt(_0x598a83(0x16a))/0xb);if(_0x43dac6===_0x2ab20c)break;else _0x547591['push'](_0x547591['shift']());}catch(_0xf70d2f){_0x547591['push'](_0x547591['shift']());}}}(_0x2678,0xb9218));import{ToolbarView as _0x2080c5,ButtonView as _0x19b934}from'ckeditor5/src/ui.js';function _0x2678(){const _0x21c4d5=['replace','1035xWmrfp','extendTemplate','4966136ZEKjqM','tryAgainButton','53464pODhmQ','ck-ai-form__toolbar','4POcIOi','5664125JcfIwe','toUpperCase','items','Stop','insert','addMany','stopButton','20794210tvIIuY','insertButton','label','11uakwEd','isVisible','3506619tvVrYR','_createButton','set','807BvADOY','bindTemplate','ck-hidden','422FyzQSo','mainAction','locale','Try\x20again','_CONTENT','Insert\x20below','AI_','ck-button-action','4507194nqbDQg','replaceButton','REPLACE','bind'];_0x2678=function(){return _0x21c4d5;};return _0x2678();}import{getTranslation as _0x235c8e}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x49e063(0x17e),'INSERT':_0x49e063(0x18a)};export class AIFormToolbarView extends _0x2080c5{constructor(_0x352d01){const _0x1e5b5e=_0x49e063;super(_0x352d01),this[_0x1e5b5e(0x16e)](_0x1e5b5e(0x16b),!0x1),this[_0x1e5b5e(0x16e)](_0x1e5b5e(0x173),AIFormToolbarViewMainActionLabel[_0x1e5b5e(0x17c)]),this[_0x1e5b5e(0x17b)]=this[_0x1e5b5e(0x16d)]('',_0x1e5b5e(0x179)),this[_0x1e5b5e(0x17b)][_0x1e5b5e(0x17d)](_0x1e5b5e(0x169))['to'](this,_0x1e5b5e(0x173),_0x3ab93d=>_0x235c8e(_0x352d01,_0x1e5b5e(0x178)+_0x3ab93d[_0x1e5b5e(0x187)]()+_0x1e5b5e(0x176))),this[_0x1e5b5e(0x168)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x177))),this[_0x1e5b5e(0x182)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x175))),this[_0x1e5b5e(0x166)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x189)));const _0x56e52f=this[_0x1e5b5e(0x170)];this[_0x1e5b5e(0x180)]({'attributes':{'class':[_0x1e5b5e(0x184),_0x56e52f['if'](_0x1e5b5e(0x16b),_0x1e5b5e(0x171),_0x342ec8=>!_0x342ec8)]}}),this[_0x1e5b5e(0x188)][_0x1e5b5e(0x165)]([this[_0x1e5b5e(0x17b)],this[_0x1e5b5e(0x168)],this[_0x1e5b5e(0x182)],this[_0x1e5b5e(0x166)]]);}[_0x49e063(0x16d)](_0x6fa4a0,_0x4a7b8d){const _0x2fcd6e=_0x49e063,_0x3e7497=new _0x19b934(this[_0x2fcd6e(0x174)]);return _0x3e7497[_0x2fcd6e(0x16e)]({'label':_0x6fa4a0,'class':_0x4a7b8d||'','isVisible':!0x0,'withText':!0x0}),_0x3e7497;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f4e46=_0x3b7a;(function(_0x2fe0cd,_0x286a2d){const _0x4a2a98=_0x3b7a,_0x3dc935=_0x2fe0cd();while(!![]){try{const _0x4c115a=parseInt(_0x4a2a98(0x95))/0x1+parseInt(_0x4a2a98(0xab))/0x2*(parseInt(_0x4a2a98(0x9b))/0x3)+-parseInt(_0x4a2a98(0xc9))/0x4*(parseInt(_0x4a2a98(0xb9))/0x5)+-parseInt(_0x4a2a98(0xb1))/0x6+-parseInt(_0x4a2a98(0x8d))/0x7*(-parseInt(_0x4a2a98(0x94))/0x8)+parseInt(_0x4a2a98(0xc4))/0x9+-parseInt(_0x4a2a98(0xb7))/0xa;if(_0x4c115a===_0x286a2d)break;else _0x3dc935['push'](_0x3dc935['shift']());}catch(_0x491b7d){_0x3dc935['push'](_0x3dc935['shift']());}}}(_0xc36f,0x4ab18));function _0xc36f(){const _0x51213c=['locale','set','clear','_promptHistory','isProcessing','145176ryRDvx','178400YDkQxf','delegate','high','submitPrompt','keystrokes','startProcessing','9393RQhpVD','focusLast','focusTracker','focusCycler','setTemplate','finishProcessing','ck-ai-form','Empty\x20history','isEnabled','text','fieldView','prompt','trim','isVisible','ck-ai-form-content','replaceContent','186riyjNj','focus','toolbar','tryAgainEvent','reset','div','3046902TWbMfB','bindTo','render','bindTemplate','tryAgainButton','listenTo','270190uOQedS','replaceButton','5EUKvgV','ck-hidden','fire','label','Ask\x20AI\x20to\x20edit\x20or\x20generate','stopProcessing','errorView','value','mainAction','stopButton','insertContentBelow','2888442zkzsPJ','items','contentArea','execute','bind','1976604CXNNfn','handleError','Ask\x20AI\x20to\x20improve\x20generated\x20text','promptView','_createHistoryView','_createPromptView','AI_ERROR_FAILED','add','element','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','chain','clearHistory','search','submit','tab','_focusables','_createToolbar','historyGroupView','insertButton','copyButtonView','queryView','focusFirst','createCollection','REPLACE','shift\x20+\x20tab','210Anuhab','isError'];_0xc36f=function(){return _0x51213c;};return _0xc36f();}import{FocusTracker as _0x2e66a9,KeystrokeHandler as _0x1977e2}from'ckeditor5/src/utils.js';import{View as _0x1f4034,FocusCycler as _0x4ed635,createLabeledTextarea as _0x327137}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x345ef8,AIFormToolbarViewMainActionLabel as _0x3c7c64}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x42b794}from'./aiformcontentarea.js';import{AIFormErrorView as _0x3f693c}from'./aiformerrorview.js';import{AIFormPromptView as _0x1b4955}from'./aiformpromptview.js';import{AIHistoryListView as _0x4c3fde}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x2f5f59}from'./aihistorylistitemview.js';function _0x3b7a(_0x5df2cc,_0x2c184a){const _0xc36fbc=_0xc36f();return _0x3b7a=function(_0x3b7adf,_0x201ce0){_0x3b7adf=_0x3b7adf-0x8b;let _0x1b2abe=_0xc36fbc[_0x3b7adf];return _0x1b2abe;},_0x3b7a(_0x5df2cc,_0x2c184a);}import{PromptHistory as _0x563f69}from'./prompthistory.js';import{getTranslation as _0x4d68d1}from'../../utils/common-translations.js';import{escape as _0x45a6e7}from'es-toolkit/compat';export class AIFormView extends _0x1f4034{[_0x3f4e46(0x9d)];[_0x3f4e46(0x99)];[_0x3f4e46(0xc6)];[_0x3f4e46(0xad)];[_0x3f4e46(0xcc)];[_0x3f4e46(0xbf)];[_0x3f4e46(0xd8)];[_0x3f4e46(0x9e)];[_0x3f4e46(0x92)];constructor(_0x2d450b,_0x15d7ee,_0x136897=''){const _0x1629bf=_0x3f4e46;super(_0x2d450b),this[_0x1629bf(0x90)](_0x1629bf(0xa3),!0x0),this[_0x1629bf(0x90)](_0x1629bf(0x93),!0x1),this[_0x1629bf(0x90)](_0x1629bf(0xa6),''),this[_0x1629bf(0x90)](_0x1629bf(0xc0),''),this[_0x1629bf(0x90)](_0x1629bf(0x8e),!0x1),this[_0x1629bf(0x90)](_0x1629bf(0xc1),_0x3c7c64[_0x1629bf(0x8b)]),this[_0x1629bf(0x92)]=new _0x563f69(),this[_0x1629bf(0xbf)]=new _0x3f693c(_0x2d450b),this[_0x1629bf(0xc6)]=new _0x42b794(_0x2d450b,_0x136897),this[_0x1629bf(0xc6)][_0x1629bf(0xc8)](_0x1629bf(0x93))['to'](this),this[_0x1629bf(0xc6)][_0x1629bf(0xc8)](_0x1629bf(0xc0))['to'](this),this[_0x1629bf(0xad)]=this[_0x1629bf(0xd9)](),this[_0x1629bf(0xad)][_0x1629bf(0xc8)](_0x1629bf(0xc1))['to'](this),this[_0x1629bf(0xcc)]=this[_0x1629bf(0xce)](),this[_0x1629bf(0x9d)]=new _0x2e66a9(),this[_0x1629bf(0x99)]=new _0x1977e2(),this[_0x1629bf(0xd8)]=this[_0x1629bf(0xdf)]([this[_0x1629bf(0xc6)],this[_0x1629bf(0xc6)][_0x1629bf(0xdc)],this[_0x1629bf(0xad)],this[_0x1629bf(0xcc)]]),this[_0x1629bf(0x9e)]=new _0x4ed635({'focusables':this[_0x1629bf(0xd8)],'focusTracker':this[_0x1629bf(0x9d)],'keystrokeHandler':this[_0x1629bf(0x99)],'actions':{'focusPrevious':_0x1629bf(0x8c),'focusNext':_0x1629bf(0xd7)}}),this[_0x1629bf(0x9e)][_0x1629bf(0xd3)](this[_0x1629bf(0xcc)][_0x1629bf(0x9e)]),this[_0x1629bf(0xcc)][_0x1629bf(0xdd)][_0x1629bf(0xa5)][_0x1629bf(0xc8)](_0x1629bf(0xc0))['to'](this,_0x1629bf(0xa6));const _0x941b0b=this[_0x1629bf(0xb4)];this[_0x1629bf(0x9f)]({'tag':_0x1629bf(0xb0),'attributes':{'class':['ck',_0x1629bf(0xa1),_0x15d7ee],'tabindex':'-1'},'children':[{'tag':_0x1629bf(0xb0),'attributes':{'class':['ck',_0x1629bf(0xa9)]},'children':[{'tag':_0x1629bf(0xb0),'attributes':{'class':[_0x941b0b['if'](_0x1629bf(0x8e),_0x1629bf(0xba),_0x54e5fe=>!_0x54e5fe)]},'children':[this[_0x1629bf(0xbf)]]},this[_0x1629bf(0xc6)],this[_0x1629bf(0xad)],this[_0x1629bf(0xcc)]]}]});}[_0x3f4e46(0xb3)](){const _0x5f72ed=_0x3f4e46;super[_0x5f72ed(0xb3)](),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xc6)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xc6)][_0x5f72ed(0xdc)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xad)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xcc)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x99)][_0x5f72ed(0xb6)](this[_0x5f72ed(0xd1)]);}[_0x3f4e46(0xac)](_0x872e74=0x1){const _0x109699=_0x3f4e46;-0x1===_0x872e74?this[_0x109699(0x9e)][_0x109699(0x9c)]():this[_0x109699(0x9e)][_0x109699(0xde)]();}[_0x3f4e46(0xaf)](){const _0x29fb97=_0x3f4e46;this[_0x29fb97(0xa6)]='',this[_0x29fb97(0xc0)]='',this[_0x29fb97(0x8e)]=!0x1,this[_0x29fb97(0xcc)][_0x29fb97(0xaf)](),this[_0x29fb97(0xc6)][_0x29fb97(0xa8)]=!0x1,this[_0x29fb97(0xad)][_0x29fb97(0xa8)]=!0x1;}[_0x3f4e46(0xce)](){const _0x63c771=_0x3f4e46,_0x23579f=this[_0x63c771(0x8f)],_0x55881d=new _0x1b4955(_0x23579f,{'queryView':{'label':_0x4d68d1(_0x23579f,_0x63c771(0xbd)),'creator':_0x327137,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4d68d1(_0x23579f,_0x63c771(0xa2)),'secondary':_0x4d68d1(_0x23579f,_0x63c771(0xd2))}}},'filteredView':this[_0x63c771(0xcd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x55881d[_0x63c771(0xc8)](_0x63c771(0xa3))['to'](this,_0x63c771(0xa3),this,_0x63c771(0x93),(_0x255006,_0x2f93bb)=>_0x255006&&!_0x2f93bb),this[_0x63c771(0xb6)](_0x55881d,_0x63c771(0xd6),(_0x1de43a,_0x524c67)=>{const _0x3a20c9=_0x63c771;this[_0x3a20c9(0xa6)]=_0x524c67;const _0xef7e56=_0x45a6e7(_0x524c67);this[_0x3a20c9(0xbb)](_0x3a20c9(0x98),_0xef7e56),_0x524c67[_0x3a20c9(0xa7)]()&&this[_0x3a20c9(0x92)][_0x3a20c9(0xd0)]({'prompt':_0xef7e56},0x0);},{'priority':_0x63c771(0x97)}),_0x55881d;}[_0x3f4e46(0xcd)](){const _0x547132=_0x3f4e46,_0x48f35d=new _0x4c3fde(this[_0x547132(0x8f)]);return _0x48f35d[_0x547132(0xda)][_0x547132(0xc5)][_0x547132(0xb2)](this[_0x547132(0x92)])['as'](_0x2f5f59),_0x48f35d['on'](_0x547132(0xd4),()=>{const _0x43e6a1=_0x547132;this[_0x43e6a1(0x92)][_0x43e6a1(0x91)](),this[_0x43e6a1(0xcc)][_0x43e6a1(0xd5)](''),this[_0x43e6a1(0xcc)][_0x43e6a1(0xac)]();}),_0x48f35d;}[_0x3f4e46(0xd9)](){const _0x48f9ea=_0x3f4e46,_0x420b64=new _0x345ef8(this[_0x48f9ea(0x8f)]);return _0x420b64[_0x48f9ea(0xb8)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0xa3),this,_0x48f9ea(0x93),this,_0x48f9ea(0xc0),(_0x50d774,_0x480772,_0x42b91a)=>_0x50d774&&!_0x480772&&!!_0x42b91a),_0x420b64[_0x48f9ea(0xb8)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xaa)),_0x420b64[_0x48f9ea(0xdb)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0xa3),this,_0x48f9ea(0x93),this,_0x48f9ea(0xc0),(_0x5b095e,_0x5d9822,_0x53a35d)=>_0x5b095e&&!_0x5d9822&&!!_0x53a35d),_0x420b64[_0x48f9ea(0xdb)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xc3)),_0x420b64[_0x48f9ea(0xb5)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0xa3),this,_0x48f9ea(0x93),(_0x4099ec,_0x2b2c84)=>_0x4099ec&&!_0x2b2c84),_0x420b64[_0x48f9ea(0xb5)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xae)),_0x420b64[_0x48f9ea(0xc2)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0x93)),_0x420b64[_0x48f9ea(0xc2)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xbe)),_0x420b64;}[_0x3f4e46(0x9a)](){const _0x2294e6=_0x3f4e46;this[_0x2294e6(0xc0)]='',this[_0x2294e6(0x8e)]=!0x1,this[_0x2294e6(0x93)]=!0x0,this[_0x2294e6(0xc6)][_0x2294e6(0xa8)]=!0x0,this[_0x2294e6(0xad)][_0x2294e6(0xa8)]=!0x0,this[_0x2294e6(0xc6)][_0x2294e6(0xac)]();}[_0x3f4e46(0xa0)](){const _0x20116b=_0x3f4e46,_0x2abb45=this[_0x20116b(0x8f)];this[_0x20116b(0x93)]=!0x1,this[_0x20116b(0xa6)]='',this[_0x20116b(0xcc)][_0x20116b(0xaf)](),this[_0x20116b(0xc0)]&&(this[_0x20116b(0xcc)][_0x20116b(0xdd)][_0x20116b(0xbc)]=_0x4d68d1(_0x2abb45,_0x20116b(0xcb)));}[_0x3f4e46(0xca)](_0x59f89c){const _0x1f5a1a=_0x3f4e46,_0x473f35=this[_0x1f5a1a(0x8f)];this[_0x1f5a1a(0xa0)](),this[_0x1f5a1a(0x8e)]=!0x0,this[_0x1f5a1a(0xbf)][_0x1f5a1a(0xa4)]=_0x59f89c||_0x4d68d1(_0x473f35,_0x1f5a1a(0xcf)),this[_0x1f5a1a(0xc0)]||(this[_0x1f5a1a(0xc6)][_0x1f5a1a(0xa8)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xfbb414,_0x3af3be){const _0x124738=_0x18f7,_0x403cdf=_0xfbb414();while(!![]){try{const _0x30e9f1=parseInt(_0x124738(0xef))/0x1*(-parseInt(_0x124738(0xe5))/0x2)+parseInt(_0x124738(0xe2))/0x3*(-parseInt(_0x124738(0xe8))/0x4)+parseInt(_0x124738(0xe3))/0x5*(parseInt(_0x124738(0xea))/0x6)+-parseInt(_0x124738(0xed))/0x7+-parseInt(_0x124738(0xe6))/0x8*(-parseInt(_0x124738(0xe1))/0x9)+-parseInt(_0x124738(0xec))/0xa*(parseInt(_0x124738(0xe4))/0xb)+parseInt(_0x124738(0xeb))/0xc*(parseInt(_0x124738(0xf4))/0xd);if(_0x30e9f1===_0x3af3be)break;else _0x403cdf['push'](_0x403cdf['shift']());}catch(_0x4a277e){_0x403cdf['push'](_0x403cdf['shift']());}}}(_0x4c8f,0x28323));function _0x18f7(_0x51e893,_0x4010ac){const _0x4c8f58=_0x4c8f();return _0x18f7=function(_0x18f7f3,_0x28b2ae){_0x18f7f3=_0x18f7f3-0xe1;let _0x168f89=_0x4c8f58[_0x18f7f3];return _0x168f89;},_0x18f7(_0x51e893,_0x4010ac);}import{ListItemView as _0x45708e,ButtonView as _0x188fc3,ButtonLabelView as _0xd9530b}from'ckeditor5/src/ui.js';import{unescape as _0x2a64f1}from'es-toolkit/compat';function _0x4c8f(){const _0x314d3f=['833200iXupJe','children','43664SLVsPV','add','12OljyuC','1624728JFDwDc','2260990FFrhbO','1510880XpbOKL','fire','3SfWYiq','prompt','locale','set','execute','65ihTzrr','18bSmNBp','57jEthWJ','136805aFKuBE','11bGLDEl','84004INJjqx'];_0x4c8f=function(){return _0x314d3f;};return _0x4c8f();}export class AIHistoryListItemView extends _0x45708e{constructor(_0x3187e6){const _0x33afbe=_0x18f7;super();const _0x74d0d7=new _0xd9530b(),_0x50fc40=new _0x188fc3(this[_0x33afbe(0xf1)],_0x74d0d7);this[_0x33afbe(0xe7)][_0x33afbe(0xe9)](_0x50fc40),_0x50fc40[_0x33afbe(0xf2)]({'label':_0x3187e6[_0x33afbe(0xf0)],'withText':!0x0}),_0x50fc40['on'](_0x33afbe(0xf3),()=>{const _0x157845=_0x33afbe;this[_0x157845(0xee)](_0x157845(0xf3),{'value':_0x2a64f1(_0x3187e6[_0x157845(0xf0)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e9a0d=_0x37b2;function _0x37b2(_0x2e9e74,_0x3a7616){const _0x21d3c2=_0x21d3();return _0x37b2=function(_0x37b2b1,_0xba2ac){_0x37b2b1=_0x37b2b1-0xfa;let _0x1e4ea8=_0x21d3c2[_0x37b2b1];return _0x1e4ea8;},_0x37b2(_0x2e9e74,_0x3a7616);}(function(_0x4febc0,_0x54b518){const _0x2f8629=_0x37b2,_0x2f5964=_0x4febc0();while(!![]){try{const _0x9fef71=-parseInt(_0x2f8629(0x104))/0x1*(parseInt(_0x2f8629(0x10d))/0x2)+parseInt(_0x2f8629(0x109))/0x3+parseInt(_0x2f8629(0x114))/0x4+-parseInt(_0x2f8629(0x108))/0x5*(-parseInt(_0x2f8629(0x113))/0x6)+-parseInt(_0x2f8629(0x10f))/0x7+-parseInt(_0x2f8629(0x101))/0x8*(-parseInt(_0x2f8629(0xfb))/0x9)+-parseInt(_0x2f8629(0x10c))/0xa;if(_0x9fef71===_0x54b518)break;else _0x2f5964['push'](_0x2f5964['shift']());}catch(_0x3537a2){_0x2f5964['push'](_0x2f5964['shift']());}}}(_0x21d3,0x3bbb9));import{ListView as _0x5f3f8c,ListItemGroupView as _0x1fab9e,ButtonView as _0x58b49f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5851bd}from'../../utils/common-translations.js';function _0x21d3(){const _0x3ccc61=['delegate','8108390zwFuSl','55116VpMKNb','set','225673zNmyyF','locale','length','add','120nQbdVu','1104516CnacIJ','_createClearHistoryButton','171fgXYbL','execute','children','Prompt\x20history','fire','label','18856qixNrb','items','historyGroupView','3bbaMZW','clearHistory','clearHistoryButton','Clear','106385kSHPwo','1271895zvnklX','filter'];_0x21d3=function(){return _0x3ccc61;};return _0x21d3();}export class AIHistoryListView extends _0x5f3f8c{[_0x3e9a0d(0x103)];[_0x3e9a0d(0x106)];constructor(_0xc77a07){const _0x4b4753=_0x3e9a0d;super(_0xc77a07),this[_0x4b4753(0x106)]=this[_0x4b4753(0xfa)](),this[_0x4b4753(0x103)]=new _0x1fab9e(),this[_0x4b4753(0x103)][_0x4b4753(0xfd)][_0x4b4753(0x112)](this[_0x4b4753(0x106)],0x1),this[_0x4b4753(0x103)][_0x4b4753(0x100)]=_0x5851bd(_0xc77a07,_0x4b4753(0xfe)),this[_0x4b4753(0x103)][_0x4b4753(0x102)][_0x4b4753(0x10b)](_0x4b4753(0xfc))['to'](this),this[_0x4b4753(0x102)][_0x4b4753(0x112)](this[_0x4b4753(0x103)]);}[_0x3e9a0d(0x10a)](){const _0x307d9b=_0x3e9a0d;let _0x206ec4=0x0;for(const _0x28b1d9 of this[_0x307d9b(0x102)])_0x206ec4+=_0x28b1d9[_0x307d9b(0x102)][_0x307d9b(0x111)];return{'resultsCount':_0x206ec4,'totalItemsCount':_0x206ec4};}[_0x3e9a0d(0xfa)](){const _0x349b6a=_0x3e9a0d,_0x2460c2=this[_0x349b6a(0x110)],_0x9dd890=new _0x58b49f(this[_0x349b6a(0x110)]);return _0x9dd890[_0x349b6a(0x10e)]({'label':'('+_0x5851bd(_0x2460c2,_0x349b6a(0x107))+')','withText':!0x0}),_0x9dd890['on'](_0x349b6a(0xfc),()=>this[_0x349b6a(0xff)](_0x349b6a(0x105))),_0x9dd890;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1f3a(_0x4d1343,_0x3c972e){const _0x4ff215=_0x4ff2();return _0x1f3a=function(_0x1f3a53,_0x5b3eca){_0x1f3a53=_0x1f3a53-0x139;let _0x4be375=_0x4ff215[_0x1f3a53];return _0x4be375;},_0x1f3a(_0x4d1343,_0x3c972e);}const _0x363416=_0x1f3a;(function(_0x29cdc6,_0x24b2b1){const _0x2b5307=_0x1f3a,_0x235d4c=_0x29cdc6();while(!![]){try{const _0x261d68=-parseInt(_0x2b5307(0x139))/0x1+parseInt(_0x2b5307(0x149))/0x2*(parseInt(_0x2b5307(0x14d))/0x3)+-parseInt(_0x2b5307(0x14b))/0x4*(-parseInt(_0x2b5307(0x14a))/0x5)+-parseInt(_0x2b5307(0x142))/0x6+-parseInt(_0x2b5307(0x152))/0x7*(-parseInt(_0x2b5307(0x14e))/0x8)+parseInt(_0x2b5307(0x13f))/0x9+-parseInt(_0x2b5307(0x143))/0xa*(-parseInt(_0x2b5307(0x13b))/0xb);if(_0x261d68===_0x24b2b1)break;else _0x235d4c['push'](_0x235d4c['shift']());}catch(_0x9da206){_0x235d4c['push'](_0x235d4c['shift']());}}}(_0x4ff2,0x49754));import{Collection as _0x51b0cb}from'ckeditor5/src/utils.js';function _0x4ff2(){const _0x4170e3=['69399jBTgwT','_loadFromSessionStorage','prompt','add','873846wuiFvF','getItem','stringify','582606fhsRqR','210PUYULp','_saveToSessionStorage','trim','CKEditor/AIFormView/PromptHistory','last','toLowerCase','10438YrjQqY','988105LyUbdR','8MsVWeB','remove','21qrmoEd','72ocXNQG','parse','map','addMany','175000SsyCpt','length','488373RgBFuB','setItem'];_0x4ff2=function(){return _0x4170e3;};return _0x4ff2();}const so=_0x363416(0x146);export class PromptHistory extends _0x51b0cb{constructor(){const _0x5b082a=_0x363416;super(),this[_0x5b082a(0x13c)](),this['on'](_0x5b082a(0x13e),(_0x5dd273,_0x4c83de)=>{const _0x35bd64=_0x5b082a,_0x2d6ef3=no(_0x4c83de[_0x35bd64(0x13d)]);for(const _0x126771 of this)if(_0x126771!=_0x4c83de&&no(_0x126771[_0x35bd64(0x13d)])===_0x2d6ef3){this[_0x35bd64(0x14c)](_0x126771);break;}this[_0x35bd64(0x153)]>0x14&&this[_0x35bd64(0x14c)](this[_0x35bd64(0x147)]),this[_0x35bd64(0x144)]();}),this['on'](_0x5b082a(0x14c),()=>{const _0x53f8a7=_0x5b082a;this[_0x53f8a7(0x144)]();});}[_0x363416(0x13c)](){const _0x240cf5=_0x363416,_0x330759=sessionStorage[_0x240cf5(0x140)](so)||'[]';this[_0x240cf5(0x151)](JSON[_0x240cf5(0x14f)](_0x330759));}[_0x363416(0x144)](){const _0x3735a6=_0x363416;sessionStorage[_0x3735a6(0x13a)](so,JSON[_0x3735a6(0x141)](this[_0x3735a6(0x150)](_0x1b84b1=>_0x1b84b1)));}}function no(_0x35b70e){const _0x1bc65f=_0x363416;return _0x35b70e[_0x1bc65f(0x148)]()[_0x1bc65f(0x145)]();}
|