@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x596d(){const _0x21f085=['add','aiQuickAction','get','commands','directChange','6vMgVcq','144159uyHWwe','6110478VNptmD','model','AIChat','pluginName','12mDmGwB','1011868ZjZDUs','selection','removeSelectionFromChatContext','document','isPremiumPlugin','AIQuickActionsEditing','32YfMLkD','282JtqKld','editor','init','6102341frRhPy','change:range','4065300dHMErQ','57755CrEEuH','60498gedeOl','8eimEUb','isOfficialPlugin','has','plugins'];_0x596d=function(){return _0x21f085;};return _0x596d();}function _0x4769(_0x47ecdd,_0x397261){const _0x596d89=_0x596d();return _0x4769=function(_0x476931,_0x203dc6){_0x476931=_0x476931-0x18a;let _0x4484dc=_0x596d89[_0x476931];return _0x4484dc;},_0x4769(_0x47ecdd,_0x397261);}const _0xb3313d=_0x4769;(function(_0xb23c56,_0x57d7e9){const _0x2b450b=_0x4769,_0x1db250=_0xb23c56();while(!![]){try{const _0x4144f7=parseInt(_0x2b450b(0x1a7))/0x1*(parseInt(_0x2b450b(0x1a6))/0x2)+-parseInt(_0x2b450b(0x19c))/0x3*(-parseInt(_0x2b450b(0x194))/0x4)+parseInt(_0x2b450b(0x19b))/0x5*(parseInt(_0x2b450b(0x195))/0x6)+-parseInt(_0x2b450b(0x198))/0x7*(parseInt(_0x2b450b(0x19d))/0x8)+parseInt(_0x2b450b(0x1a8))/0x9+-parseInt(_0x2b450b(0x19a))/0xa+-parseInt(_0x2b450b(0x18e))/0xb*(parseInt(_0x2b450b(0x18d))/0xc);if(_0x4144f7===_0x57d7e9)break;else _0x1db250['push'](_0x1db250['shift']());}catch(_0x13dc1d){_0x1db250['push'](_0x1db250['shift']());}}}(_0x596d,0x6cbb3));import{Plugin as _0x58b525}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x17bcbb}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x58b525{static get[_0xb3313d(0x18c)](){const _0x2c32c8=_0xb3313d;return _0x2c32c8(0x193);}static get[_0xb3313d(0x19e)](){return!0x0;}static get[_0xb3313d(0x192)](){return!0x0;}[_0xb3313d(0x197)](){const _0x4d8fdc=_0xb3313d,_0x220b2b=this[_0x4d8fdc(0x196)],_0x33e657=new _0x17bcbb(this[_0x4d8fdc(0x196)]);if(_0x220b2b[_0x4d8fdc(0x1a4)][_0x4d8fdc(0x1a1)](_0x4d8fdc(0x1a2),_0x33e657),_0x220b2b[_0x4d8fdc(0x1a0)][_0x4d8fdc(0x19f)](_0x4d8fdc(0x18b))){const _0x21da63=this[_0x4d8fdc(0x196)][_0x4d8fdc(0x1a0)][_0x4d8fdc(0x1a3)](_0x4d8fdc(0x18b));_0x220b2b[_0x4d8fdc(0x18a)][_0x4d8fdc(0x191)][_0x4d8fdc(0x18f)]['on'](_0x4d8fdc(0x199),(_0x40ec20,_0x399a5)=>{const _0x1d5d5d=_0x4d8fdc;_0x399a5[_0x1d5d5d(0x1a5)]&&_0x21da63[_0x1d5d5d(0x190)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xecefba=_0x3c13;(function(_0x286190,_0x1389c9){const _0x4789e3=_0x3c13,_0x4d977b=_0x286190();while(!![]){try{const _0x18f736=parseInt(_0x4789e3(0xe1))/0x1+parseInt(_0x4789e3(0xba))/0x2+-parseInt(_0x4789e3(0x112))/0x3*(parseInt(_0x4789e3(0x99))/0x4)+-parseInt(_0x4789e3(0xa5))/0x5+-parseInt(_0x4789e3(0xc3))/0x6*(parseInt(_0x4789e3(0x101))/0x7)+-parseInt(_0x4789e3(0x95))/0x8*(parseInt(_0x4789e3(0xd6))/0x9)+-parseInt(_0x4789e3(0x104))/0xa*(-parseInt(_0x4789e3(0xd8))/0xb);if(_0x18f736===_0x1389c9)break;else _0x4d977b['push'](_0x4d977b['shift']());}catch(_0x5eec21){_0x4d977b['push'](_0x4d977b['shift']());}}}(_0x284b,0xe26be));import{IconAIAdjustLength as _0x68ccf,IconAIChangeTone as _0x57876d,IconAIChatCommands as _0x1375e4,IconAIContinueWriting as _0x35a675,IconAIGrammarCheck as _0x5afde5,IconAIImproveWriting as _0x223b32,IconAIOther as _0x5a3c6d,IconAIQuickActions as _0x5bca1b,IconAITranslate as _0x523434}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xc6c7d}from'ckeditor5/src/core.js';import{CKEditorError as _0x5effee,logError as _0x4809a2}from'ckeditor5/src/utils.js';import{getTranslation as _0x497050}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x24b69d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2f799d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4f3aa5,BalloonToolbar as _0x18bdd7,MenuBarMenuView as _0xb704cf,MenuBarMenuListView as _0x5ae8ab,MenuBarMenuListItemView as _0x30b9f1,MenuBarMenuListItemButtonView as _0x38ee9f}from'ckeditor5/src/ui.js';function _0x3c13(_0x56db22,_0x37b99d){const _0x284bf6=_0x284b();return _0x3c13=function(_0x3c13b0,_0x3b309b){_0x3c13b0=_0x3c13b0-0x86;let _0x49644d=_0x284bf6[_0x3c13b0];return _0x49644d;},_0x3c13(_0x56db22,_0x37b99d);}import{AIModels as _0x1c6f9d}from'../aicore/model/aimodels.js';import{AIConnector as _0xef3921}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0xecefba(0xf2),ie=_0xecefba(0xac),ne=_0xecefba(0xda);export var AIQuickActionType;!function(_0x159e59){const _0x2bacde=_0xecefba;_0x159e59[_0x2bacde(0x96)]=_0x2bacde(0x96),_0x159e59[_0x2bacde(0xef)]=_0x2bacde(0xef),_0x159e59[_0x2bacde(0x114)]=_0x2bacde(0x114);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x474a59){const _0x2e4ec0=_0xecefba;_0x474a59[_0x2e4ec0(0x96)]=_0x2e4ec0(0x10f),_0x474a59[_0x2e4ec0(0xef)]=_0x2e4ec0(0xe7),_0x474a59[_0x2e4ec0(0x114)]=_0x2e4ec0(0xc5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xc6c7d{static get[_0xecefba(0x9d)](){return[_0x18bdd7,_0xef3921];}static get[_0xecefba(0xdb)](){const _0x41cacb=_0xecefba;return _0x41cacb(0xc6);}static get[_0xecefba(0xf1)](){return!0x0;}static get[_0xecefba(0xb3)](){return!0x0;}async[_0xecefba(0xe4)](){const _0x140806=_0xecefba,_0x4ab27c=await this[_0x140806(0xe3)]();this[_0x140806(0xfc)](_0x4ab27c),this[_0x140806(0xa7)]();}static[_0xecefba(0x10d)](_0x5ab2a1){return function(_0x1c5f7c){const _0x28679f=_0x3c13,_0x349b06=new Intl[(_0x28679f(0xa8))](['en'],{'type':_0x28679f(0xa1)})['of'](_0x1c5f7c[_0x28679f(0x121)]),_0x2b6f6b=_0x349b06||_0x28679f(0xa2),_0x2fa0a5=[{'id':_0x28679f(0xbc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xd1)),'type':AIQuickActionType[_0x28679f(0x96)],'icon':_0x1375e4},{'id':_0x28679f(0x125),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd7)),'icon':_0x1375e4,'actions':[{'id':_0x28679f(0xe0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x124)),'prompt':ee[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0x115),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x126)),'prompt':ie[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0xcf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb0)),'prompt':ne[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]}]},{'id':_0x28679f(0xbb),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x97)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x223b32},{'id':_0x28679f(0x117),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9a)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x35a675},{'id':_0x28679f(0xab),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x120)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x5afde5},{'id':_0x28679f(0x11c),'label':_0x497050(_0x1c5f7c,_0x28679f(0xbe)),'icon':_0x68ccf,'actions':[{'id':_0x28679f(0x119),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb2)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x105),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xdd)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xae),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd3)),'icon':_0x57876d,'actions':[{'id':_0x28679f(0xd2),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x109)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x116),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb7)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x10e),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xa6)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0xcc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11f)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x11a),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xed)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xb4),'label':_0x497050(_0x1c5f7c,_0x28679f(0xc0)),'icon':_0x523434,'actions':[{'id':_0x28679f(0xde),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9f)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8c)}},{'id':_0x28679f(0xdf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x102)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xb5)}},{'id':_0x28679f(0x91),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x90)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xfb)}},{'id':_0x28679f(0xff),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xc2)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xf9)}},{'id':_0x28679f(0xe8),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x87)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xe9)}},{'id':_0x28679f(0x94),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xf7)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8e)}},{'id':_0x28679f(0xea),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x106)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x98)}},{'id':_0x28679f(0x107),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11d)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x10b)}},{'id':_0x28679f(0x122),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xad)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x103)}},{'id':_0x28679f(0xa0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xe5)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xee)}}]},{'id':_0x28679f(0xaa),'label':_0x497050(_0x1c5f7c,_0x28679f(0xf3)),'icon':_0x5a3c6d,'actions':[]}];return _0x2fa0a5;}(_0x5ab2a1);}async[_0xecefba(0xe3)](){const _0x22c7cf=_0xecefba,_0x403636=AIQuickActionsUI[_0x22c7cf(0x10d)](this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]),_0x1c1178=this[_0x22c7cf(0xfe)][_0x22c7cf(0xfd)][_0x22c7cf(0x8b)](_0x22c7cf(0x9c))||[];let _0x5bf431=[];try{_0x5bf431=await new _0x1c6f9d({'connector':this[_0x22c7cf(0xfe)][_0x22c7cf(0x8a)][_0x22c7cf(0x8b)](_0x22c7cf(0xcd)),'locale':this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]})[_0x22c7cf(0x123)]();}catch(_0x57ecd2){const _0x42c00e=new _0x5effee(_0x22c7cf(0xdc),this,{'error':_0x57ecd2});_0x4809a2(_0x42c00e[_0x22c7cf(0xc7)]);}finally{const _0x20f690=_0x1c1178[_0x22c7cf(0xb6)](_0xe43a86=>({..._0xe43a86,'icon':void 0x0}));_0x403636[_0x22c7cf(0xfa)](_0x501028=>_0x22c7cf(0xaa)===_0x501028['id'])[_0x22c7cf(0xca)][_0x22c7cf(0xce)](..._0x20f690),_0x403636[_0x22c7cf(0x127)](_0x5f0ca9=>{const _0x4e0be0=_0x22c7cf;if(_0x4e0be0(0xca)in _0x5f0ca9)_0x5f0ca9[_0x4e0be0(0xca)][_0x4e0be0(0x127)](_0x59ba74=>{const _0x2ae851=_0x4e0be0;if(_0x59ba74[_0x2ae851(0xa9)]=!!_0x5bf431[_0x2ae851(0xfa)](_0x88ba35=>_0x88ba35['id']===_0x59ba74[_0x2ae851(0xd0)])||void 0x0===_0x59ba74[_0x2ae851(0xd0)],!_0x59ba74[_0x2ae851(0xa9)]){const _0x429422=new _0x5effee(_0x2ae851(0x93),this,{'actionId':_0x59ba74['id'],'modelId':_0x59ba74[_0x2ae851(0xd0)]});_0x4809a2(_0x429422[_0x2ae851(0xc7)]);}});else{if(_0x5f0ca9[_0x4e0be0(0xa9)]=!!_0x5bf431[_0x4e0be0(0xfa)](_0x2fef5a=>_0x2fef5a['id']===_0x5f0ca9[_0x4e0be0(0xd0)])||void 0x0===_0x5f0ca9[_0x4e0be0(0xd0)],!_0x5f0ca9[_0x4e0be0(0xa9)]){const _0x502701=new _0x5effee(_0x4e0be0(0x93),this,{'actionId':_0x5f0ca9['id'],'modelId':_0x5f0ca9[_0x4e0be0(0xd0)]});_0x4809a2(_0x502701[_0x4e0be0(0xc7)]);}}});}return _0x403636;}[_0xecefba(0xa7)](){const _0x39be17=_0xecefba,_0x2984c2=new _0x4f3aa5(this[_0x39be17(0xfe)][_0x39be17(0xb9)]);_0x2984c2[_0x39be17(0x11b)](),this[_0x39be17(0xf5)](_0x2984c2),this[_0x39be17(0xc8)](),this[_0x39be17(0xf0)](_0x2984c2);}[_0xecefba(0xf5)](_0x16018c){const _0x4cca6e=_0xecefba,_0x5953df=this[_0x4cca6e(0xfe)][_0x4cca6e(0xfd)][_0x4cca6e(0x8b)](_0x4cca6e(0x100))??!0x0;this[_0x4cca6e(0xfe)]['ui'][_0x4cca6e(0x92)][_0x4cca6e(0xb1)](_0x4cca6e(0x10c),_0x24b69d({'editor':this[_0x4cca6e(0xfe)],'content':this[_0x4cca6e(0x113)],'buttonDefinition':{'icon':_0x5bca1b,'label':_0x497050(this[_0x4cca6e(0xfe)][_0x4cca6e(0xb9)],_0x4cca6e(0x9b))},'bodyCollection':_0x16018c,'hasSearch':_0x5953df}));}[_0xecefba(0xfc)](_0x188114){const _0x1c240c=_0xecefba;this[_0x1c240c(0x113)]=_0x188114[_0x1c240c(0xb6)](_0x3a2858=>{const _0x158df0=_0x1c240c;if(_0x158df0(0xca)in _0x3a2858){const _0x12362a=_0x3a2858;return{..._0x12362a,'actions':_0x12362a[_0x158df0(0xca)][_0x158df0(0xb6)](_0x20c372=>{const {actions:_0x4d346b,..._0x5c3151}=_0x12362a;return{..._0x20c372,'parent':_0x5c3151};})[_0x158df0(0xbd)](_0x1a332e=>this[_0x158df0(0x11e)](_0x1a332e))};}return _0x3a2858;})[_0x1c240c(0xbd)](_0x3cce85=>_0x1c240c(0xca)in _0x3cce85?_0x3cce85[_0x1c240c(0xca)][_0x1c240c(0xb8)]>0x0:this[_0x1c240c(0x11e)](_0x3cce85));}[_0xecefba(0x11e)](_0x3ef928){const _0x148779=_0xecefba,_0x5c5dae=this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x118))||[];return this[_0x148779(0xfe)][_0x148779(0x8a)][_0x148779(0xd5)](AIQuickActionTypeToPluginName[_0x3ef928[_0x148779(0xaf)]])&&!_0x5c5dae[_0x148779(0x89)](_0x3ef928['id'])&&!(_0x3ef928[_0x148779(0xaf)]===AIQuickActionType[_0x148779(0x96)]&&!0x1===this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x9e)));}[_0xecefba(0xf0)](_0x26dde9){const _0xc3780=_0xecefba;this[_0xc3780(0x113)][_0xc3780(0x127)](_0x40127b=>{const _0x28613b=_0xc3780;if(_0x28613b(0xca)in _0x40127b){const _0xef4a04=_0x24b69d({'editor':this[_0x28613b(0xfe)],'content':_0x40127b[_0x28613b(0xca)],'buttonDefinition':_0x40127b,'bodyCollection':_0x26dde9});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0xef4a04),_0x40127b[_0x28613b(0xca)][_0x28613b(0x127)](_0x5be72a=>{const _0x4f003d=_0x28613b,_0x71b46=_0x2f799d({'editor':this[_0x4f003d(0xfe)],'action':_0x5be72a});this[_0x4f003d(0xfe)]['ui'][_0x4f003d(0x92)][_0x4f003d(0xb1)](_0x5be72a['id'],_0x71b46);});}else{const _0x435bd8=_0x2f799d({'editor':this[_0x28613b(0xfe)],'action':_0x40127b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0x435bd8);}});}[_0xecefba(0xc8)](){const _0x104e28=_0xecefba;this[_0x104e28(0xfe)]['ui'][_0x104e28(0x92)][_0x104e28(0xb1)](_0x104e28(0xeb),_0x58483d=>{const _0x7c80fc=_0x104e28,_0x2b9139=new _0xb704cf(_0x58483d),_0x3b01a3=_0x497050(_0x58483d,_0x7c80fc(0x9b));_0x2b9139[_0x7c80fc(0x108)][_0x7c80fc(0x10a)]({'label':_0x3b01a3,'icon':_0x5bca1b});const _0x2c15df=new _0x5ae8ab(_0x58483d);_0x2c15df[_0x7c80fc(0x10a)]({'ariaLabel':_0x3b01a3,'role':_0x7c80fc(0x110)}),this[_0x7c80fc(0x113)][_0x7c80fc(0x127)](_0x5a4a3f=>{const _0x3de1f7=_0x7c80fc;if(_0x3de1f7(0xca)in _0x5a4a3f){const _0x18f5c6=_0x5a4a3f,_0x311d07=new _0x30b9f1(_0x58483d,_0x2b9139),_0x1f506a=new _0xb704cf(_0x58483d),_0x50815c=new _0x5ae8ab(_0x58483d);_0x1f506a[_0x3de1f7(0x108)][_0x3de1f7(0x10a)]({'label':_0x18f5c6[_0x3de1f7(0xe6)],'icon':_0x18f5c6[_0x3de1f7(0x88)]}),_0x18f5c6[_0x3de1f7(0xca)][_0x3de1f7(0x127)](_0x5ed170=>{const _0x2f02d1=_0x3de1f7,_0x41869f=new _0x30b9f1(_0x58483d,_0x1f506a),_0x236651=new _0x38ee9f(_0x58483d);_0x236651[_0x2f02d1(0x10a)]({'label':_0x5ed170[_0x2f02d1(0xf4)],'icon':_0x5ed170[_0x2f02d1(0x88)],'role':_0x2f02d1(0xa4),'isEnabled':_0x5ed170[_0x2f02d1(0xa9)]}),_0x236651['on'](_0x2f02d1(0xd4),()=>{const _0x43fced=_0x2f02d1;this[_0x43fced(0xd9)](_0x5ed170);}),_0x236651[_0x2f02d1(0xec)](_0x2f02d1(0xd4))['to'](_0x1f506a),_0x41869f[_0x2f02d1(0xc1)][_0x2f02d1(0xb1)](_0x236651),_0x50815c[_0x2f02d1(0xc4)][_0x2f02d1(0xb1)](_0x41869f);}),_0x1f506a[_0x3de1f7(0xe2)][_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x50815c),_0x311d07[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x1f506a),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x311d07);}else{const _0x1778ea=_0x5a4a3f,_0x2657f4=new _0x30b9f1(_0x58483d,_0x2b9139),_0x3717ec=new _0x38ee9f(_0x58483d);_0x3717ec[_0x3de1f7(0x10a)]({'label':_0x1778ea[_0x3de1f7(0xf4)],'icon':_0x1778ea[_0x3de1f7(0x88)],'role':_0x3de1f7(0xa4),'isEnabled':_0x1778ea[_0x3de1f7(0xa9)]}),_0x3717ec['on'](_0x3de1f7(0xd4),()=>{const _0x33b83b=_0x3de1f7;this[_0x33b83b(0xd9)](_0x1778ea);}),_0x3717ec[_0x3de1f7(0xec)](_0x3de1f7(0xd4))['to'](_0x2b9139),_0x2657f4[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x3717ec),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x2657f4);}});const _0x3a666e=Object[_0x7c80fc(0xc9)](AIQuickActionTypeToPluginName)[_0x7c80fc(0xf6)](_0x4a09d2=>this[_0x7c80fc(0xfe)][_0x7c80fc(0x8a)][_0x7c80fc(0xd5)](_0x4a09d2));return _0x2b9139[_0x7c80fc(0x10a)]({'isEnabled':_0x3a666e}),_0x2b9139[_0x7c80fc(0xe2)][_0x7c80fc(0xc1)][_0x7c80fc(0xb1)](_0x2c15df),_0x2b9139;});}[_0xecefba(0xd9)](_0x31dd8a){const _0x458fba=_0xecefba,_0x2a3953=this[_0x458fba(0xfe)];_0x2a3953[_0x458fba(0xbf)][_0x458fba(0x86)][_0x458fba(0x111)](),_0x2a3953[_0x458fba(0xf8)][_0x458fba(0xd4)](_0x458fba(0xa3),_0x31dd8a);const _0x16d449=_0x2a3953['ui'][_0x458fba(0x86)][_0x458fba(0xcb)];_0x16d449&&_0x16d449[_0x458fba(0x8d)]&&_0x16d449[_0x458fba(0x8d)]();}}function _0x284b(){const _0x5a84ae=['chinese','map','AI_QUICK_ACTIONS_MORE_DIRECT','length','locale','1089874PizWNg','improve-writing','ask-ai','filter','AI_QUICK_ACTIONS_ADJUST_LENGTH','editing','AI_QUICK_ACTIONS_TRANSLATE','children','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','679182kzLKEr','items','AIReviewMode','AIQuickActionsUI','message','_initializeQuickActionsMenuBar','values','actions','menuBarView','make-tone-confident','AIConnector','push','highlight-key-points','model','AI_QUICK_ACTIONS_ASK_AI','make-tone-casual','AI_QUICK_ACTIONS_CHANGE_TONE','execute','has','1575jSfojp','AI_QUICK_ACTIONS_CHAT_COMMANDS','3014bOoyMc','_executeQuickAction','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','pluginName','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-english','translate-to-chinese','explain','315945AwoOOf','panelView','_getDefaultAndCustomActions','init','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','label','AIActions','translate-to-french','french','translate-to-portuguese','menuBar:aiQuickActions','delegate','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','russian','ACTION','_initializeQuickActionsComponents','isOfficialPlugin','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_OTHER','displayedPrompt','_initializeQuickActionsDropdown','some','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','commands','german','find','spanish','_prepareQuickActionsDefinition','config','editor','translate-to-german','ai.quickActions.isSearchEnabled','49sdIMId','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','italian','88670AhwtSe','make-longer','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-korean','buttonView','AI_QUICK_ACTIONS_MORE_CASUAL','set','korean','aiQuickActions','getDefaultQuickActions','make-tone-friendly','AIChat','menu','focus','3ETBSCs','_quickActionsDefinition','REVIEW','summarize','make-tone-direct','continue','ai.quickActions.removeCommands','make-shorter','make-tone-professional','attachToDom','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','uiLanguage','translate-to-italian','getAll','AI_QUICK_ACTIONS_EXPLAIN','chat-commands','AI_QUICK_ACTIONS_SUMMARIZE','forEach','view','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','icon','includes','plugins','get','english','close','japanese','replace','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-spanish','componentFactory','ai-quick-actions-unavailable-model','translate-to-japanese','32024HjcJGy','CHAT','AI_QUICK_ACTIONS_IMPROVE_WRITING','portuguese','1451896gxiign','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_HEADING','ai.quickActions.extraCommands','requires','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-russian','language','English','aiQuickAction','menuitem','2535700KzuodG','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsComponentsAndCommands','DisplayNames','isEnabled','other','fix-grammar','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','change-tone','type','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','add','AI_QUICK_ACTIONS_MAKE_SHORTER','isPremiumPlugin','translate'];_0x284b=function(){return _0x5a84ae;};return _0x284b();}
|
|
23
|
+
const _0x4428c6=_0x22af;(function(_0x322061,_0x239586){const _0x198a41=_0x22af,_0x2b0988=_0x322061();while(!![]){try{const _0x2086f0=-parseInt(_0x198a41(0x235))/0x1+parseInt(_0x198a41(0x22f))/0x2*(parseInt(_0x198a41(0x1b4))/0x3)+-parseInt(_0x198a41(0x1c7))/0x4+-parseInt(_0x198a41(0x1ba))/0x5+parseInt(_0x198a41(0x1fc))/0x6*(-parseInt(_0x198a41(0x1b0))/0x7)+-parseInt(_0x198a41(0x223))/0x8+parseInt(_0x198a41(0x1e5))/0x9;if(_0x2086f0===_0x239586)break;else _0x2b0988['push'](_0x2b0988['shift']());}catch(_0x55a3b6){_0x2b0988['push'](_0x2b0988['shift']());}}}(_0x136f,0x9c879));import{IconAIAdjustLength as _0x4d5d22,IconAIChangeTone as _0x20bb24,IconAIChatCommands as _0x1df0de,IconAIContinueWriting as _0x286609,IconAIGrammarCheck as _0x13d782,IconAIImproveWriting as _0x284f05,IconAIOther as _0x526eb9,IconAIQuickActions as _0x339892,IconAITranslate as _0x441d8f}from'@ckeditor/ckeditor5-icons';function _0x22af(_0x6d34b2,_0x5af386){const _0x136fc1=_0x136f();return _0x22af=function(_0x22afe1,_0x4cfec5){_0x22afe1=_0x22afe1-0x19e;let _0x331d55=_0x136fc1[_0x22afe1];return _0x331d55;},_0x22af(_0x6d34b2,_0x5af386);}import{Plugin as _0x38b5c6}from'ckeditor5/src/core.js';import{CKEditorError as _0x32cd60,logError as _0x52bcf5}from'ckeditor5/src/utils.js';import{getTranslation as _0x19f43c}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1cae4b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x49519d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4f0fd3,BalloonToolbar as _0x470195,MenuBarMenuView as _0xe58947,MenuBarMenuListView as _0x4496e7,MenuBarMenuListItemView as _0x59942f,MenuBarMenuListItemButtonView as _0x3ff79f}from'ckeditor5/src/ui.js';import{AIModels as _0x424c9f}from'../aicore/model/aimodels.js';import{AIConnector as _0x3278df}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x4428c6(0x215),ie=_0x4428c6(0x1a4),ne=_0x4428c6(0x1b8);export var AIQuickActionType;!function(_0x54359f){const _0x224c04=_0x4428c6;_0x54359f[_0x224c04(0x1ee)]=_0x224c04(0x1ee),_0x54359f[_0x224c04(0x230)]=_0x224c04(0x230),_0x54359f[_0x224c04(0x23c)]=_0x224c04(0x23c);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x593a7d){const _0x502184=_0x4428c6;_0x593a7d[_0x502184(0x1ee)]=_0x502184(0x1ed),_0x593a7d[_0x502184(0x230)]=_0x502184(0x21f),_0x593a7d[_0x502184(0x23c)]=_0x502184(0x1a5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x136f(){const _0x3ca2b1=['ai.quickActions.isSearchEnabled','menuBar:aiQuickActions','AI_QUICK_ACTIONS_HEADING','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','ai.quickActions.extraCommands','translate','make-shorter','forEach','editing','displayedPrompt','menu','panelView','highlight-key-points','AIActions','items','make-tone-friendly','replace','6383728rqGZcR','translate-to-portuguese','model','init','buttonView','find','_quickActionsDefinition','uiLanguage','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','translate-to-japanese','AI_QUICK_ACTIONS_OTHER','910534URSIpq','ACTION','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','italian','translate-to-chinese','add','1226319QBgIFV','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','russian','children','translate-to-italian','REVIEW','AI_QUICK_ACTIONS_MORE_CASUAL','push','has','pluginName','DisplayNames','execute','AI_QUICK_ACTIONS_MAKE_SHORTER','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AIReviewMode','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','view','some','AI_QUICK_ACTIONS_SUMMARIZE','focus','includes','delegate','4061631HwAbYa','_getDefaultAndCustomActions','editor','translate-to-english','3cjksgS','plugins','componentFactory','AI_QUICK_ACTIONS_ASK_AI','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','aiQuickAction','5008690zxHyJT','ai-quick-actions-unavailable-model','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','_initializeQuickActionsComponents','requires','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_MORE_DIRECT','make-tone-professional','other','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','3238464HkeMBv','getDefaultQuickActions','message','explain','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','type','english','improve-writing','isEnabled','_initializeQuickActionsDropdown','continue','commands','close','AI_QUICK_ACTIONS_MORE_FRIENDLY','ask-ai','isOfficialPlugin','_shouldIncludeAction','aiQuickActions','get','chinese','AI_QUICK_ACTIONS_EXPLAIN','getAll','ai.chat.context.document.enabled','make-tone-casual','_initializeQuickActionsMenuBar','summarize','locale','_executeQuickAction','AIQuickActionsUI','config','41415750QhHEWy','label','attachToDom','make-longer','set','portuguese','ai-quick-actions-models-unable-to-retrieve','menuitem','AIChat','CHAT','translate-to-korean','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-russian','filter','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','English','korean','change-tone','icon','isPremiumPlugin','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','6UdiZuQ','menuBarView','AIConnector','language','french','german','translate-to-german','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate-to-french','length','AI_QUICK_ACTIONS_CHANGE_TONE','fix-grammar','AI_QUICK_ACTIONS_ADJUST_LENGTH','japanese','translate-to-spanish','spanish','values','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','map','AI_QUICK_ACTIONS_TRANSLATE','actions'];_0x136f=function(){return _0x3ca2b1;};return _0x136f();}export class AIQuickActionsUI extends _0x38b5c6{static get[_0x4428c6(0x1bf)](){return[_0x470195,_0x3278df];}static get[_0x4428c6(0x1a0)](){const _0x5879d7=_0x4428c6;return _0x5879d7(0x1e3);}static get[_0x4428c6(0x1d6)](){return!0x0;}static get[_0x4428c6(0x1f9)](){return!0x0;}async[_0x4428c6(0x226)](){const _0x4c3ec3=_0x4428c6,_0x316d98=await this[_0x4c3ec3(0x1b1)]();this[_0x4c3ec3(0x237)](_0x316d98),this[_0x4c3ec3(0x1f0)]();}static[_0x4428c6(0x1c8)](_0x14bc65){return function(_0x4aa737){const _0x577750=_0x22af,_0x3e9ab5=new Intl[(_0x577750(0x1a1))](['en'],{'type':_0x577750(0x1ff)})['of'](_0x4aa737[_0x577750(0x22a)]),_0x39e943=_0x3e9ab5||_0x577750(0x1f5),_0x40db0e=[{'id':_0x577750(0x1d5),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1b7)),'type':AIQuickActionType[_0x577750(0x1ee)],'icon':_0x1df0de},{'id':_0x577750(0x1c0),'label':_0x19f43c(_0x4aa737,_0x577750(0x1a7)),'icon':_0x1df0de,'actions':[{'id':_0x577750(0x1ca),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1db)),'prompt':ee[_0x577750(0x222)]('%0',_0x39e943),'type':AIQuickActionType[_0x577750(0x1ee)]},{'id':_0x577750(0x1e0),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1ac)),'prompt':ie[_0x577750(0x222)]('%0',_0x39e943),'type':AIQuickActionType[_0x577750(0x1ee)]},{'id':_0x577750(0x21e),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a9)),'prompt':ne[_0x577750(0x222)]('%0',_0x39e943),'type':AIQuickActionType[_0x577750(0x1ee)]}]},{'id':_0x577750(0x1ce),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x203)),'type':AIQuickActionType[_0x577750(0x230)],'icon':_0x284f05},{'id':_0x577750(0x1d1),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a6)),'type':AIQuickActionType[_0x577750(0x230)],'icon':_0x286609},{'id':_0x577750(0x207),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1cb)),'type':AIQuickActionType[_0x577750(0x230)],'icon':_0x13d782},{'id':_0x577750(0x22c),'label':_0x19f43c(_0x4aa737,_0x577750(0x208)),'icon':_0x4d5d22,'actions':[{'id':_0x577750(0x218),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a3)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x1e8),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x22b)),'type':AIQuickActionType[_0x577750(0x230)]}]},{'id':_0x577750(0x1f7),'label':_0x19f43c(_0x4aa737,_0x577750(0x206)),'icon':_0x20bb24,'actions':[{'id':_0x577750(0x1de),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x23d)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x1fa),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c3)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x221),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1d4)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x20d),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c2)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x1c4),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c6)),'type':AIQuickActionType[_0x577750(0x230)]}]},{'id':_0x577750(0x217),'label':_0x19f43c(_0x4aa737,_0x577750(0x210)),'icon':_0x441d8f,'actions':[{'id':_0x577750(0x1b3),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x238)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1cd)}},{'id':_0x577750(0x233),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1fb)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1da)}},{'id':_0x577750(0x20a),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1f1)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x20b)}},{'id':_0x577750(0x202),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1f4)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x201)}},{'id':_0x577750(0x204),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x231)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x200)}},{'id':_0x577750(0x22d),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1bd)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x209)}},{'id':_0x577750(0x224),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c1)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1ea)}},{'id':_0x577750(0x1ef),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x236)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1f6)}},{'id':_0x577750(0x23b),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a8)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x232)}},{'id':_0x577750(0x1f2),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x20e)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x239)}}]},{'id':_0x577750(0x1c5),'label':_0x19f43c(_0x4aa737,_0x577750(0x22e)),'icon':_0x526eb9,'actions':[]}];return _0x40db0e;}(_0x14bc65);}async[_0x4428c6(0x1b1)](){const _0xc8f49f=_0x4428c6,_0x524d6=AIQuickActionsUI[_0xc8f49f(0x1c8)](this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1e1)]),_0x1346e1=this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1e4)][_0xc8f49f(0x1d9)](_0xc8f49f(0x216))||[];let _0x9f37c6=[];try{_0x9f37c6=await new _0x424c9f({'connector':this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1b5)][_0xc8f49f(0x1d9)](_0xc8f49f(0x1fe)),'locale':this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1e1)]})[_0xc8f49f(0x1dc)]();}catch(_0xb0e89e){const _0x5c4e4=new _0x32cd60(_0xc8f49f(0x1eb),this,{'error':_0xb0e89e});_0x52bcf5(_0x5c4e4[_0xc8f49f(0x1c9)]);}finally{const _0x4c1dc1=_0x1346e1[_0xc8f49f(0x20f)](_0x18b511=>({..._0x18b511,'icon':void 0x0}));_0x524d6[_0xc8f49f(0x228)](_0x1d105a=>_0xc8f49f(0x1c5)===_0x1d105a['id'])[_0xc8f49f(0x211)][_0xc8f49f(0x19e)](..._0x4c1dc1),_0x524d6[_0xc8f49f(0x219)](_0x537255=>{const _0x5904b0=_0xc8f49f;if(_0x5904b0(0x211)in _0x537255)_0x537255[_0x5904b0(0x211)][_0x5904b0(0x219)](_0x5c3dac=>{const _0x2aafe=_0x5904b0;if(_0x5c3dac[_0x2aafe(0x1cf)]=!!_0x9f37c6[_0x2aafe(0x228)](_0x1beaa7=>_0x1beaa7['id']===_0x5c3dac[_0x2aafe(0x225)])||void 0x0===_0x5c3dac[_0x2aafe(0x225)],!_0x5c3dac[_0x2aafe(0x1cf)]){const _0x465ef0=new _0x32cd60(_0x2aafe(0x1bb),this,{'actionId':_0x5c3dac['id'],'modelId':_0x5c3dac[_0x2aafe(0x225)]});_0x52bcf5(_0x465ef0[_0x2aafe(0x1c9)]);}});else{if(_0x537255[_0x5904b0(0x1cf)]=!!_0x9f37c6[_0x5904b0(0x228)](_0xd0f1fd=>_0xd0f1fd['id']===_0x537255[_0x5904b0(0x225)])||void 0x0===_0x537255[_0x5904b0(0x225)],!_0x537255[_0x5904b0(0x1cf)]){const _0x20f226=new _0x32cd60(_0x5904b0(0x1bb),this,{'actionId':_0x537255['id'],'modelId':_0x537255[_0x5904b0(0x225)]});_0x52bcf5(_0x20f226[_0x5904b0(0x1c9)]);}}});}return _0x524d6;}[_0x4428c6(0x1f0)](){const _0x35e53f=_0x4428c6,_0x3a6558=new _0x4f0fd3(this[_0x35e53f(0x1b2)][_0x35e53f(0x1e1)]);_0x3a6558[_0x35e53f(0x1e7)](),this[_0x35e53f(0x1d0)](_0x3a6558),this[_0x35e53f(0x1df)](),this[_0x35e53f(0x1be)](_0x3a6558);}[_0x4428c6(0x1d0)](_0x1ede6d){const _0x1c3f4f=_0x4428c6,_0x763c8=this[_0x1c3f4f(0x1b2)][_0x1c3f4f(0x1e4)][_0x1c3f4f(0x1d9)](_0x1c3f4f(0x212))??!0x0;this[_0x1c3f4f(0x1b2)]['ui'][_0x1c3f4f(0x1b6)][_0x1c3f4f(0x234)](_0x1c3f4f(0x1d8),_0x1cae4b({'editor':this[_0x1c3f4f(0x1b2)],'content':this[_0x1c3f4f(0x229)],'buttonDefinition':{'icon':_0x339892,'label':_0x19f43c(this[_0x1c3f4f(0x1b2)][_0x1c3f4f(0x1e1)],_0x1c3f4f(0x214))},'bodyCollection':_0x1ede6d,'hasSearch':_0x763c8}));}[_0x4428c6(0x237)](_0x1c5246){const _0x26b8a3=_0x4428c6;this[_0x26b8a3(0x229)]=_0x1c5246[_0x26b8a3(0x20f)](_0x45a25e=>{const _0x3e1310=_0x26b8a3;if(_0x3e1310(0x211)in _0x45a25e){const _0x4818e0=_0x45a25e;return{..._0x4818e0,'actions':_0x4818e0[_0x3e1310(0x211)][_0x3e1310(0x20f)](_0x129eca=>{const {actions:_0x4b2d98,..._0x1a4b1b}=_0x4818e0;return{..._0x129eca,'parent':_0x1a4b1b};})[_0x3e1310(0x1f3)](_0x2b2b43=>this[_0x3e1310(0x1d7)](_0x2b2b43))};}return _0x45a25e;})[_0x26b8a3(0x1f3)](_0x1e5c8b=>_0x26b8a3(0x211)in _0x1e5c8b?_0x1e5c8b[_0x26b8a3(0x211)][_0x26b8a3(0x205)]>0x0:this[_0x26b8a3(0x1d7)](_0x1e5c8b));}[_0x4428c6(0x1d7)](_0x318fa8){const _0xd61286=_0x4428c6,_0x3754a7=this[_0xd61286(0x1b2)][_0xd61286(0x1e4)][_0xd61286(0x1d9)](_0xd61286(0x1bc))||[];return this[_0xd61286(0x1b2)][_0xd61286(0x1b5)][_0xd61286(0x19f)](AIQuickActionTypeToPluginName[_0x318fa8[_0xd61286(0x1cc)]])&&!_0x3754a7[_0xd61286(0x1ae)](_0x318fa8['id'])&&!(_0x318fa8[_0xd61286(0x1cc)]===AIQuickActionType[_0xd61286(0x1ee)]&&!0x1===this[_0xd61286(0x1b2)][_0xd61286(0x1e4)][_0xd61286(0x1d9)](_0xd61286(0x1dd)));}[_0x4428c6(0x1be)](_0x1be53f){const _0xde7153=_0x4428c6;this[_0xde7153(0x229)][_0xde7153(0x219)](_0x5520af=>{const _0x3a384f=_0xde7153;if(_0x3a384f(0x211)in _0x5520af){const _0x28aa5d=_0x1cae4b({'editor':this[_0x3a384f(0x1b2)],'content':_0x5520af[_0x3a384f(0x211)],'buttonDefinition':_0x5520af,'bodyCollection':_0x1be53f});this[_0x3a384f(0x1b2)]['ui'][_0x3a384f(0x1b6)][_0x3a384f(0x234)](_0x5520af['id'],_0x28aa5d),_0x5520af[_0x3a384f(0x211)][_0x3a384f(0x219)](_0x1b2318=>{const _0x5edc77=_0x3a384f,_0x29cb2c=_0x49519d({'editor':this[_0x5edc77(0x1b2)],'action':_0x1b2318});this[_0x5edc77(0x1b2)]['ui'][_0x5edc77(0x1b6)][_0x5edc77(0x234)](_0x1b2318['id'],_0x29cb2c);});}else{const _0x417bb3=_0x49519d({'editor':this[_0x3a384f(0x1b2)],'action':_0x5520af,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3a384f(0x1b2)]['ui'][_0x3a384f(0x1b6)][_0x3a384f(0x234)](_0x5520af['id'],_0x417bb3);}});}[_0x4428c6(0x1df)](){const _0x14c4d6=_0x4428c6;this[_0x14c4d6(0x1b2)]['ui'][_0x14c4d6(0x1b6)][_0x14c4d6(0x234)](_0x14c4d6(0x213),_0x394547=>{const _0x55e91b=_0x14c4d6,_0x355a9c=new _0xe58947(_0x394547),_0x2e56f1=_0x19f43c(_0x394547,_0x55e91b(0x214));_0x355a9c[_0x55e91b(0x227)][_0x55e91b(0x1e9)]({'label':_0x2e56f1,'icon':_0x339892});const _0x5949bd=new _0x4496e7(_0x394547);_0x5949bd[_0x55e91b(0x1e9)]({'ariaLabel':_0x2e56f1,'role':_0x55e91b(0x21c)}),this[_0x55e91b(0x229)][_0x55e91b(0x219)](_0x19a6ee=>{const _0x32cbeb=_0x55e91b;if(_0x32cbeb(0x211)in _0x19a6ee){const _0x4e8b44=_0x19a6ee,_0x3a7586=new _0x59942f(_0x394547,_0x355a9c),_0x32edaa=new _0xe58947(_0x394547),_0x31397e=new _0x4496e7(_0x394547);_0x32edaa[_0x32cbeb(0x227)][_0x32cbeb(0x1e9)]({'label':_0x4e8b44[_0x32cbeb(0x1e6)],'icon':_0x4e8b44[_0x32cbeb(0x1f8)]}),_0x4e8b44[_0x32cbeb(0x211)][_0x32cbeb(0x219)](_0x18f266=>{const _0x161ddf=_0x32cbeb,_0x4e9db6=new _0x59942f(_0x394547,_0x32edaa),_0x4e6153=new _0x3ff79f(_0x394547);_0x4e6153[_0x161ddf(0x1e9)]({'label':_0x18f266[_0x161ddf(0x21b)],'icon':_0x18f266[_0x161ddf(0x1f8)],'role':_0x161ddf(0x1ec),'isEnabled':_0x18f266[_0x161ddf(0x1cf)]}),_0x4e6153['on'](_0x161ddf(0x1a2),()=>{const _0x141476=_0x161ddf;this[_0x141476(0x1e2)](_0x18f266);}),_0x4e6153[_0x161ddf(0x1af)](_0x161ddf(0x1a2))['to'](_0x32edaa),_0x4e9db6[_0x161ddf(0x23a)][_0x161ddf(0x234)](_0x4e6153),_0x31397e[_0x161ddf(0x220)][_0x161ddf(0x234)](_0x4e9db6);}),_0x32edaa[_0x32cbeb(0x21d)][_0x32cbeb(0x23a)][_0x32cbeb(0x234)](_0x31397e),_0x3a7586[_0x32cbeb(0x23a)][_0x32cbeb(0x234)](_0x32edaa),_0x5949bd[_0x32cbeb(0x220)][_0x32cbeb(0x234)](_0x3a7586);}else{const _0x12212=_0x19a6ee,_0x4634dd=new _0x59942f(_0x394547,_0x355a9c),_0x5bc464=new _0x3ff79f(_0x394547);_0x5bc464[_0x32cbeb(0x1e9)]({'label':_0x12212[_0x32cbeb(0x21b)],'icon':_0x12212[_0x32cbeb(0x1f8)],'role':_0x32cbeb(0x1ec),'isEnabled':_0x12212[_0x32cbeb(0x1cf)]}),_0x5bc464['on'](_0x32cbeb(0x1a2),()=>{const _0x592075=_0x32cbeb;this[_0x592075(0x1e2)](_0x12212);}),_0x5bc464[_0x32cbeb(0x1af)](_0x32cbeb(0x1a2))['to'](_0x355a9c),_0x4634dd[_0x32cbeb(0x23a)][_0x32cbeb(0x234)](_0x5bc464),_0x5949bd[_0x32cbeb(0x220)][_0x32cbeb(0x234)](_0x4634dd);}});const _0x3b9a07=Object[_0x55e91b(0x20c)](AIQuickActionTypeToPluginName)[_0x55e91b(0x1ab)](_0x53d051=>this[_0x55e91b(0x1b2)][_0x55e91b(0x1b5)][_0x55e91b(0x19f)](_0x53d051));return _0x355a9c[_0x55e91b(0x1e9)]({'isEnabled':_0x3b9a07}),_0x355a9c[_0x55e91b(0x21d)][_0x55e91b(0x23a)][_0x55e91b(0x234)](_0x5949bd),_0x355a9c;});}[_0x4428c6(0x1e2)](_0x3cfbe6){const _0xe75042=_0x4428c6,_0x500f08=this[_0xe75042(0x1b2)];_0x500f08[_0xe75042(0x21a)][_0xe75042(0x1aa)][_0xe75042(0x1ad)](),_0x500f08[_0xe75042(0x1d2)][_0xe75042(0x1a2)](_0xe75042(0x1b9),_0x3cfbe6);const _0x3809b3=_0x500f08['ui'][_0xe75042(0x1aa)][_0xe75042(0x1fd)];_0x3809b3&&_0x3809b3[_0xe75042(0x1d3)]&&_0x3809b3[_0xe75042(0x1d3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e5b59,_0xf6aaf6){const _0xf6894=_0x57d2,_0x355143=_0x4e5b59();while(!![]){try{const _0x320040=-parseInt(_0xf6894(0x113))/0x1+-parseInt(_0xf6894(0x117))/0x2*(-parseInt(_0xf6894(0x121))/0x3)+parseInt(_0xf6894(0x11f))/0x4+-parseInt(_0xf6894(0x114))/0x5+parseInt(_0xf6894(0x11c))/0x6+-parseInt(_0xf6894(0x124))/0x7+parseInt(_0xf6894(0x110))/0x8;if(_0x320040===_0xf6aaf6)break;else _0x355143['push'](_0x355143['shift']());}catch(_0x2d6cc9){_0x355143['push'](_0x355143['shift']());}}}(_0x3cc3,0xd9877));function _0x3cc3(){const _0x1ff7a3=['aiQuickAction','6DuUyRq','view','isEnabled','5982816yzXVYS','ck-ai-quick-actions-button','locale','extendTemplate','7359552hNPKQE','execute','parent','511176ZrRgjr','4004000rDjvTl','bindTemplate','set','364606wRMEdr','focus','displayedPrompt','commands','editing','7384182iyDtAH','menuitem','icon','2169664tRakwL'];_0x3cc3=function(){return _0x1ff7a3;};return _0x3cc3();}import{ButtonView as _0x5c6c7e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3d38fa}from'@ckeditor/ckeditor5-icons';function _0x57d2(_0x1fc51b,_0x3731ac){const _0x3cc3f2=_0x3cc3();return _0x57d2=function(_0x57d2a1,_0x9d9b44){_0x57d2a1=_0x57d2a1-0x10d;let _0x3489c2=_0x3cc3f2[_0x57d2a1];return _0x3489c2;},_0x57d2(_0x1fc51b,_0x3731ac);}export function aiQuickActionsButtonCreator(_0x2867f9){const {editor:_0x5101b4,action:_0x200d68,withText:_0x209e3c=!0x1,withIcon:_0x4f2803=!0x0,isInDropdown:_0x520427=!0x0,shouldPreventFocus:_0x4fcbb3=!0x1}=_0x2867f9;return()=>{const _0x2b742a=_0x57d2,_0x280978=_0x5101b4[_0x2b742a(0x10e)],_0x4c5164=new _0x5c6c7e(_0x280978),_0x4953d4=_0x4c5164[_0x2b742a(0x115)];_0x520427&&_0x4c5164[_0x2b742a(0x10f)]({'on':{'mouseenter':_0x4953d4['to'](()=>{const _0x3f78bd=_0x2b742a;_0x4fcbb3&&_0x4fcbb3()||_0x4c5164[_0x3f78bd(0x118)]();})}});const _0x22f610=_0x200d68[_0x2b742a(0x11e)]??_0x200d68[_0x2b742a(0x112)]?.[_0x2b742a(0x11e)];return _0x4c5164[_0x2b742a(0x116)]({'label':_0x200d68[_0x2b742a(0x119)],'withText':_0x209e3c,'role':_0x2b742a(0x11d),'icon':_0x4f2803?_0x22f610??_0x3d38fa:void 0x0,'tooltip':!_0x209e3c,'class':_0x2b742a(0x10d),'isEnabled':_0x200d68[_0x2b742a(0x123)]}),_0x4c5164['on'](_0x2b742a(0x111),()=>{const _0x3f8944=_0x2b742a;_0x5101b4[_0x3f8944(0x11b)][_0x3f8944(0x122)][_0x3f8944(0x118)](),_0x5101b4[_0x3f8944(0x11a)][_0x3f8944(0x111)](_0x3f8944(0x120),_0x200d68);}),_0x4c5164;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4eec1e=_0x5c0d;(function(_0x1eca11,_0x388cfc){const _0x26c761=_0x5c0d,_0x464d85=_0x1eca11();while(!![]){try{const _0x4b71d2=parseInt(_0x26c761(0x178))/0x1*(-parseInt(_0x26c761(0x186))/0x2)+-parseInt(_0x26c761(0x1c8))/0x3*(-parseInt(_0x26c761(0x1ab))/0x4)+-parseInt(_0x26c761(0x17e))/0x5+-parseInt(_0x26c761(0x170))/0x6*(-parseInt(_0x26c761(0x1d3))/0x7)+parseInt(_0x26c761(0x1ae))/0x8+-parseInt(_0x26c761(0x188))/0x9*(-parseInt(_0x26c761(0x1c1))/0xa)+-parseInt(_0x26c761(0x1bd))/0xb;if(_0x4b71d2===_0x388cfc)break;else _0x464d85['push'](_0x464d85['shift']());}catch(_0x1b4f0e){_0x464d85['push'](_0x464d85['shift']());}}}(_0x9047,0x28a76));import{View as _0x45c967,ListItemView as _0x35e844,ListView as _0x4be61f,BalloonPanelView as _0x4d67bd,DropdownMenuPanelPositioningFunctions as _0x5d4a51,ViewCollection as _0xd9893,FocusCycler as _0x3488dd,ButtonView as _0x33a04f,IconView as _0xa2158d,HighlightedTextView as _0x34286d,ButtonLabelWithHighlightView as _0x1fec51,SearchTextView as _0x1c839a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x526784}from'@ckeditor/ckeditor5-icons';function _0x9047(){const _0x52d4a2=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','81907CgZmkB','ArrowRight','text','queryView','relatedTarget','button','ownerDocument','fieldView','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-search-result-button_with-group','_createGroupActionsList','menuitem','focusCycler','_handleSearchResultButtonClick','ck-ai-quick-actions-group-button','_allSearchableItems','_openNestedPanels','_isSearchFocused','_hideAllNestedPanels','locale','displayedPrompt','ck-ai-quick-actions-button_with-group__open-paren','addEventListener','fire','element','mouseleave','label','_createSearchTextView','items','actions','_createSearchResultGroupRow','execute','_createSearchResultActionRow','_bodyCollection','span','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','focusTracker','138cqDfKw','pin','keystrokes','_handlePanelKeydown','contains','parent','commands','ck-ai-quick-actions','15205ucUiHW','activeElement','isOn','some','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-button','1251860RriwuR','ck-reset_all','.ck-ai-quick-actions-group-panel','.ck-ai-quick-actions-group-button','_createActionButton','ck-dropdown-menu__nested-menu__panel','setTemplate','show','40wBspPQ','_getButtonKeystroke','39303laiMFk','ck-rounded-corners','_createListItems','ck-ai-quick-actions-search','ArrowLeft','add','children','_getPanelKeystroke','content','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','role','render','_setupGroupMenuBehavior','_hideNestedPanel','forEach','AI_QUICK_ACTIONS_SEARCH','closest','optionsListView','get','push','_createSearchResultGroupedActionButton','rtl','_setupActionButtonExecution','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','first','ck-ai-quick-actions-search-result-button','eastSouth','view','chain','clear','ck-ai-quick-actions-group-list','_showNestedPanel','icon','menu','ck-ai-quick-actions-button__group-icon','4ceBIFE','div','aiQuickAction','2354800EVxLdM','detachFromDom','ck-ai-quick-actions-search-result__action-row','_createActionGroupButton','addMany','delete','bindTemplate','_searchTextView','uiLanguageDirection','focus','isVisible','ck-ai-quick-actions-button_with-group','extendTemplate','ck-button','isEnabled','4046812GnGWzM','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button_with-group__close-paren','ck-button_with-text','650tGmRsz','set','hide','bind','_createSearchResultIndividualActionButton','_hasSearch','key','724662ZZRber','_createSearchResultContentView','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_focusables','reset','_createSearchResultActionButton','resetSearch','_isMovingToNestedMenu','editing'];_0x9047=function(){return _0x52d4a2;};return _0x9047();}import{FocusTracker as _0x35c5f3,KeystrokeHandler as _0x2ecb17}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x459ac1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1635ae}from'./dropdownmenubuttonwithhighlightview.js';function _0x5c0d(_0x9eb44a,_0x4f704f){const _0x904762=_0x9047();return _0x5c0d=function(_0x5c0d36,_0x34a41e){_0x5c0d36=_0x5c0d36-0x14f;let _0xbbc7c1=_0x904762[_0x5c0d36];return _0xbbc7c1;},_0x5c0d(_0x9eb44a,_0x4f704f);}import{getTranslation as _0x3e6d6e}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x764af4}from'./aiquickactionsfilteredlistview.js';const Qs=_0x4eec1e(0x1a9),Gs=_0x4eec1e(0x155);export class AIQuickActionsDropdownContentView extends _0x45c967{[_0x4eec1e(0x16b)];[_0x4eec1e(0x199)];[_0x4eec1e(0x1b5)]=null;[_0x4eec1e(0x159)]=[];[_0x4eec1e(0x18e)];[_0x4eec1e(0x16f)];[_0x4eec1e(0x172)];[_0x4eec1e(0x1cc)];[_0x4eec1e(0x156)];[_0x4eec1e(0x15a)]=new Set();[_0x4eec1e(0x1c6)];constructor(_0x2ece58,_0x3a2697,_0x57242b,_0x260aae,_0x599494=!0x1){const _0x482cf1=_0x4eec1e,_0x1fb69e=_0x2ece58[_0x482cf1(0x15d)];super(_0x1fb69e),this[_0x482cf1(0x16b)]=_0x260aae,this[_0x482cf1(0x1c6)]=_0x599494;const _0x1f4948=this[_0x482cf1(0x18a)](_0x2ece58,_0x3a2697,_0x57242b);this[_0x482cf1(0x199)]=new _0x764af4(_0x1fb69e,_0x1f4948,this[_0x482cf1(0x159)]),this[_0x482cf1(0x199)][_0x482cf1(0x192)]=Qs,this[_0x482cf1(0x199)][_0x482cf1(0x166)][_0x482cf1(0x1b2)](_0x1f4948),this[_0x482cf1(0x16f)]=new _0x35c5f3(),this[_0x482cf1(0x172)]=new _0x2ecb17(),_0x599494&&(this[_0x482cf1(0x1b5)]=this[_0x482cf1(0x165)]()),this[_0x482cf1(0x1cc)]=_0x1f4948,this[_0x482cf1(0x156)]=new _0x3488dd({'focusables':this[_0x482cf1(0x1cc)],'focusTracker':this[_0x482cf1(0x16f)],'keystrokeHandler':this[_0x482cf1(0x172)]}),_0x599494&&this[_0x482cf1(0x1b5)]&&this[_0x482cf1(0x156)][_0x482cf1(0x1a4)](this[_0x482cf1(0x1b5)][_0x482cf1(0x156)]);const _0x4e4de6=_0x599494&&this[_0x482cf1(0x1b5)]?[this[_0x482cf1(0x1b5)]]:[this[_0x482cf1(0x199)]];this[_0x482cf1(0x18e)]=new _0xd9893(_0x4e4de6),this[_0x482cf1(0x184)]({'tag':_0x482cf1(0x1ac),'attributes':{'class':['ck',_0x482cf1(0x17f),_0x482cf1(0x177),_0x482cf1(0x189)],'dir':_0x1fb69e[_0x482cf1(0x1b6)]},'children':this[_0x482cf1(0x18e)]});}[_0x4eec1e(0x165)](){const _0x57ba75=_0x4eec1e;return new _0x1c839a(this[_0x57ba75(0x15d)],{'filteredView':this[_0x57ba75(0x199)],'queryView':{'label':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x197))},'class':_0x57ba75(0x18b),'infoView':{'text':{'notFound':{'primary':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x191))}}}});}[_0x4eec1e(0x15b)](){const _0x42f1b0=_0x4eec1e;if(!this[_0x42f1b0(0x1c6)]||!this[_0x42f1b0(0x1b5)]||!this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)])return!0x1;const _0x225ce4=this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x150)]?.[_0x42f1b0(0x179)];return this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x174)](_0x225ce4);}[_0x4eec1e(0x18a)](_0xeeaf4,_0x1b07b5,_0x2cc0fe){const _0x1866a3=_0x4eec1e,_0x2d3323=new _0xd9893();return _0x1b07b5[_0x1866a3(0x196)](_0x12b028=>{const _0x55c158=_0x1866a3;if(_0x55c158(0x167)in _0x12b028){const {listItem:_0xcf900b}=this[_0x55c158(0x1b1)](_0xeeaf4,_0x12b028,_0x2cc0fe);_0x2d3323[_0x55c158(0x18d)](_0xcf900b),_0x12b028[_0x55c158(0x167)][_0x55c158(0x196)](_0x134c62=>{const _0xc2081d=_0x55c158;this[_0xc2081d(0x182)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);const {listItem:_0x575ff9,highlightViews:_0x15372d}=this[_0xc2081d(0x1ce)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);this[_0xc2081d(0x159)][_0xc2081d(0x19b)]({'item':_0x575ff9,'label':_0x134c62[_0xc2081d(0x15e)],'groupLabel':_0x12b028[_0xc2081d(0x164)],'highlightViews':_0x15372d});});}else{const {listItem:_0x3a9170}=this[_0x55c158(0x182)](_0xeeaf4,_0x12b028);_0x2d3323[_0x55c158(0x18d)](_0x3a9170);const _0x570cb8=_0x3a9170[_0x55c158(0x18e)][_0x55c158(0x1a0)];if(_0x570cb8){const {listItem:_0x11b9c1,highlightViews:_0x28f3c1}=this[_0x55c158(0x1ce)](_0xeeaf4,_0x12b028);this[_0x55c158(0x159)][_0x55c158(0x19b)]({'item':_0x11b9c1,'label':_0x570cb8[_0x55c158(0x164)]||'','highlightViews':_0x28f3c1});}}}),_0x2d3323;}[_0x4eec1e(0x182)](_0x37d823,_0xc66cee,_0x28aa4d,_0x2b9331){const _0x9cd1e9=_0x4eec1e,_0x4e3f5c=new _0x35e844(this[_0x9cd1e9(0x15d)]);if(_0x28aa4d&&_0x2b9331){const _0x308fd6=new _0x33a04f(this[_0x9cd1e9(0x15d)]),_0x14de76=_0x308fd6[_0x9cd1e9(0x1b4)],_0x16a2b3=new _0x34286d();_0x16a2b3[_0x9cd1e9(0x1d5)]=_0xc66cee[_0x9cd1e9(0x15e)];const _0x5c1491=new _0x34286d();_0x5c1491[_0x9cd1e9(0x1d5)]=_0x28aa4d;const _0x4130dd=new _0xa2158d();_0x4130dd[_0x9cd1e9(0x190)]=_0x2b9331,_0x4130dd[_0x9cd1e9(0x1ba)]({'attributes':{'class':_0x9cd1e9(0x1aa)}});const _0x19c0a6=new _0x45c967(this[_0x9cd1e9(0x15d)]);_0x19c0a6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x15f)},'children':[{'text':'\x20('}]});const _0x134b1e=new _0x45c967(this[_0x9cd1e9(0x15d)]);return _0x134b1e[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x1bf)},'children':[{'text':')'}]}),_0x308fd6[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)]+'\x20('+_0x28aa4d+')','withText':!0x0,'role':_0x9cd1e9(0x155),'class':_0x9cd1e9(0x1cb),'tooltip':!0x1}),_0x308fd6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x14f),'attributes':{'class':['ck',_0x9cd1e9(0x1bb),_0x9cd1e9(0x1c0),_0x9cd1e9(0x17d),_0x9cd1e9(0x1b9)],'type':_0x9cd1e9(0x14f),'role':_0x9cd1e9(0x155),'tabindex':'-1'},'children':[_0x16a2b3,_0x19c0a6,_0x4130dd,_0x5c1491,_0x134b1e],'on':{'mouseenter':_0x14de76['to'](()=>{const _0x54e7dc=_0x9cd1e9;this[_0x54e7dc(0x15b)]()||_0x308fd6[_0x54e7dc(0x1b7)]();}),'click':_0x14de76['to'](()=>{const _0x321b83=_0x9cd1e9;_0x308fd6[_0x321b83(0x161)](_0x321b83(0x169));})}}),_0x308fd6['on'](_0x9cd1e9(0x169),()=>{const _0x3d9602=_0x9cd1e9;_0x37d823[_0x3d9602(0x1d1)][_0x3d9602(0x1a3)][_0x3d9602(0x1b7)](),_0x37d823[_0x3d9602(0x176)][_0x3d9602(0x169)](_0x3d9602(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x308fd6),{'listItem':_0x4e3f5c,'highlightViews':[_0x16a2b3,_0x5c1491]};}{const _0x308028=new _0x1fec51(),_0x1ca105=new _0x33a04f(this[_0x9cd1e9(0x15d)],_0x308028),_0x4a419a=_0x1ca105[_0x9cd1e9(0x1b4)],_0x1a2e92=_0xc66cee[_0x9cd1e9(0x1a8)]??_0xc66cee[_0x9cd1e9(0x175)]?.[_0x9cd1e9(0x1a8)],_0x39fc6e=void 0x0!==_0xc66cee[_0x9cd1e9(0x1a8)];return _0x1ca105[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)],'withText':!0x0,'role':_0x9cd1e9(0x155),'icon':_0x39fc6e?_0x1a2e92??_0x526784:void 0x0,'tooltip':!0x1,'class':_0x9cd1e9(0x17d)}),_0x1ca105[_0x9cd1e9(0x1ba)]({'on':{'mouseenter':_0x4a419a['to'](()=>{const _0x70fe8c=_0x9cd1e9;this[_0x70fe8c(0x15b)]()||_0x1ca105[_0x70fe8c(0x1b7)]();})}}),_0x1ca105['on'](_0x9cd1e9(0x169),()=>{const _0x2214c4=_0x9cd1e9;_0x37d823[_0x2214c4(0x1d1)][_0x2214c4(0x1a3)][_0x2214c4(0x1b7)](),_0x37d823[_0x2214c4(0x176)][_0x2214c4(0x169)](_0x2214c4(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x1ca105),{'listItem':_0x4e3f5c,'highlightViews':[_0x308028]};}}[_0x4eec1e(0x1ce)](_0x46363f,_0x43777a,_0x52262f,_0x27603f){const _0x167c62=_0x4eec1e;return _0x52262f&&_0x27603f?this[_0x167c62(0x19c)](_0x46363f,_0x43777a,_0x52262f,_0x27603f):this[_0x167c62(0x1c5)](_0x46363f,_0x43777a);}[_0x4eec1e(0x19c)](_0x34605f,_0x1d2ddd,_0x18c466,_0x261918){const _0x185228=_0x4eec1e,_0x22164f=new _0x35e844(this[_0x185228(0x15d)]),_0x2496f8=new _0x33a04f(this[_0x185228(0x15d)]),_0xdca9d1=_0x2496f8[_0x185228(0x1b4)],{view:_0x51765e,highlightView:_0x4fac33}=this[_0x185228(0x168)](_0x18c466,_0x261918),{view:_0x3b567d,highlightView:_0x2b7ab3}=this[_0x185228(0x16a)](_0x1d2ddd[_0x185228(0x15e)]),_0x2e61cf=this[_0x185228(0x1c9)](_0x51765e,_0x3b567d);return _0x2496f8[_0x185228(0x1c2)]({'label':_0x1d2ddd[_0x185228(0x15e)],'withText':!0x0,'role':_0x185228(0x155),'class':_0x185228(0x1d2),'tooltip':!0x1}),_0x2496f8[_0x185228(0x184)]({'tag':_0x185228(0x14f),'attributes':{'class':['ck',_0x185228(0x1bb),_0x185228(0x1c0),_0x185228(0x17d),_0x185228(0x1a1),_0x185228(0x153)],'type':_0x185228(0x14f),'role':_0x185228(0x155),'tabindex':'-1'},'children':[_0x2e61cf],'on':{'mouseenter':_0xdca9d1['to'](()=>{const _0x2c4a2a=_0x185228;this[_0x2c4a2a(0x15b)]()||_0x2496f8[_0x2c4a2a(0x1b7)]();}),'click':_0xdca9d1['to'](()=>{const _0x6e6c3b=_0x185228;this[_0x6e6c3b(0x157)](_0x2496f8);})}}),this[_0x185228(0x19e)](_0x2496f8,_0x34605f,_0x1d2ddd),_0x22164f[_0x185228(0x18e)][_0x185228(0x18d)](_0x2496f8),{'listItem':_0x22164f,'highlightViews':[_0x4fac33,_0x2b7ab3]};}[_0x4eec1e(0x1c5)](_0x206cf2,_0x333d70){const _0x55667b=_0x4eec1e,_0x2e4753=new _0x35e844(this[_0x55667b(0x15d)]),_0x551b58=new _0x1fec51(),_0x3cddcd=new _0x33a04f(this[_0x55667b(0x15d)],_0x551b58),_0x5dc793=_0x3cddcd[_0x55667b(0x1b4)];return _0x3cddcd[_0x55667b(0x1c2)]({'label':_0x333d70[_0x55667b(0x15e)],'withText':!0x0,'role':_0x55667b(0x155),'icon':void 0x0,'tooltip':!0x1,'class':_0x55667b(0x19f)}),_0x3cddcd[_0x55667b(0x1ba)]({'on':{'mouseenter':_0x5dc793['to'](()=>{const _0x8ce460=_0x55667b;this[_0x8ce460(0x15b)]()||_0x3cddcd[_0x8ce460(0x1b7)]();})}}),this[_0x55667b(0x19e)](_0x3cddcd,_0x206cf2,_0x333d70),_0x2e4753[_0x55667b(0x18e)][_0x55667b(0x18d)](_0x3cddcd),{'listItem':_0x2e4753,'highlightViews':[_0x551b58]};}[_0x4eec1e(0x168)](_0x2dab68,_0x28cde7){const _0x42265a=_0x4eec1e,_0x3d6db3=new _0x45c967(this[_0x42265a(0x15d)]),_0x3ba61e=new _0xa2158d();_0x3ba61e[_0x42265a(0x190)]=_0x28cde7,_0x3ba61e[_0x42265a(0x1ba)]({'attributes':{'class':_0x42265a(0x1aa)}});const _0xee6a7a=new _0x34286d();return _0xee6a7a[_0x42265a(0x1d5)]=_0x2dab68,_0x3d6db3[_0x42265a(0x184)]({'tag':_0x42265a(0x1ac),'attributes':{'class':_0x42265a(0x16d)},'children':[_0x3ba61e,_0xee6a7a]}),{'view':_0x3d6db3,'highlightView':_0xee6a7a};}[_0x4eec1e(0x16a)](_0x2930d2){const _0x149e0f=_0x4eec1e,_0x45ccc8=new _0x45c967(this[_0x149e0f(0x15d)]),_0x15a947=new _0x34286d();return _0x15a947[_0x149e0f(0x1d5)]=_0x2930d2,_0x45ccc8[_0x149e0f(0x184)]({'tag':_0x149e0f(0x1ac),'attributes':{'class':_0x149e0f(0x1b0)},'children':[_0x15a947]}),{'view':_0x45ccc8,'highlightView':_0x15a947};}[_0x4eec1e(0x1c9)](_0x590a86,_0xd595e7){const _0x106fcb=_0x4eec1e,_0x55ed84=new _0x45c967(this[_0x106fcb(0x15d)]);return _0x55ed84[_0x106fcb(0x184)]({'tag':_0x106fcb(0x1ac),'attributes':{'class':_0x106fcb(0x152)},'children':[_0x590a86,_0xd595e7]}),_0x55ed84;}[_0x4eec1e(0x19e)](_0x280c19,_0x17d89c,_0x24e23a){const _0x327bdc=_0x4eec1e;_0x280c19['on'](_0x327bdc(0x169),()=>{const _0x5af84b=_0x327bdc;_0x17d89c[_0x5af84b(0x1d1)][_0x5af84b(0x1a3)][_0x5af84b(0x1b7)](),_0x17d89c[_0x5af84b(0x176)][_0x5af84b(0x169)](_0x5af84b(0x1ad),_0x24e23a);});}[_0x4eec1e(0x1b1)](_0x225aff,_0x5b1965,_0x1659d6){const _0x2d8245=_0x4eec1e,_0x3e75ed=new _0x35e844(this[_0x2d8245(0x15d)]),_0x30c124=new _0x1fec51(),_0x51a44b=new _0x1635ae(this[_0x2d8245(0x15d)],_0x30c124),_0x3a076a=_0x51a44b[_0x2d8245(0x1b4)],_0x3b59ff=this[_0x2d8245(0x18f)](_0x1659d6),_0x5f1d9e=this[_0x2d8245(0x154)](_0x225aff,_0x5b1965[_0x2d8245(0x167)],_0x1659d6);_0x51a44b[_0x2d8245(0x1c2)]({'label':_0x5b1965[_0x2d8245(0x164)],'withText':!0x0,'role':Gs,'icon':_0x5b1965[_0x2d8245(0x1a8)]??_0x526784,'isEnabled':_0x5b1965[_0x2d8245(0x167)][_0x2d8245(0x17b)](_0x5c711e=>_0x5c711e[_0x2d8245(0x1bc)])}),_0x51a44b[_0x2d8245(0x1ba)]({'on':{'mouseenter':_0x3a076a['to'](()=>{const _0x1e8213=_0x2d8245;this[_0x1e8213(0x15b)]()||_0x51a44b[_0x1e8213(0x1b7)]();})}});const _0x5f34b5=new _0x4d67bd(this[_0x2d8245(0x15d)]);return _0x5f34b5[_0x2d8245(0x1ba)]({'attributes':{'class':['ck',_0x2d8245(0x17f),_0x2d8245(0x1be),_0x2d8245(0x183)]},'on':{'keydown':_0x3a076a['to'](_0x22c303=>{const _0x537325=_0x2d8245;this[_0x537325(0x173)](_0x22c303,_0x3b59ff,_0x51a44b,_0x5f34b5);})}}),_0x51a44b[_0x2d8245(0x1c4)](_0x2d8245(0x17a))['to'](_0x5f34b5,_0x2d8245(0x1b8)),this[_0x2d8245(0x16b)][_0x2d8245(0x18d)](_0x5f34b5),_0x5f34b5[_0x2d8245(0x190)][_0x2d8245(0x18d)](_0x5f1d9e),this[_0x2d8245(0x194)](_0x51a44b,_0x5f34b5),_0x3e75ed[_0x2d8245(0x18e)][_0x2d8245(0x18d)](_0x51a44b),{'listItem':_0x3e75ed,'highlightView':_0x30c124};}[_0x4eec1e(0x154)](_0x39f7c4,_0x133e0d,_0x394c60){const _0x161e36=_0x4eec1e,_0x38f9e9=new _0x4be61f(this[_0x161e36(0x15d)]);return _0x38f9e9[_0x161e36(0x1ba)]({'attributes':{'class':['ck',_0x161e36(0x17f),_0x161e36(0x1a6),_0x161e36(0x16e)]}}),_0x133e0d[_0x161e36(0x196)](_0x207d2c=>{const _0x12a42a=_0x161e36,_0x2e6a3f=new _0x35e844(this[_0x12a42a(0x15d)]),_0x35a23a=_0x459ac1({'editor':_0x39f7c4,'action':_0x207d2c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x12a42a(0x15b)]()})();_0x2e6a3f[_0x12a42a(0x18e)][_0x12a42a(0x18d)](_0x35a23a),_0x394c60[_0x12a42a(0x16f)][_0x12a42a(0x18d)](_0x35a23a),_0x38f9e9[_0x12a42a(0x166)][_0x12a42a(0x18d)](_0x2e6a3f);}),_0x38f9e9;}[_0x4eec1e(0x194)](_0x2c7cc2,_0x423aea){const _0x24d456=_0x4eec1e,_0x1a89ab=_0x2c7cc2[_0x24d456(0x1b4)],_0x3bcc10=this[_0x24d456(0x187)](_0x2c7cc2);_0x2c7cc2[_0x24d456(0x1ba)]({'attributes':{'class':[_0x24d456(0x158)]},'on':{'mouseenter':_0x1a89ab['to'](()=>{const _0x52c6af=_0x24d456;this[_0x52c6af(0x1a7)](_0x423aea,_0x2c7cc2);}),'mouseleave':_0x1a89ab['to'](_0x232ddf=>{const _0x3c2cf4=_0x24d456,_0x25ac7e=_0x232ddf[_0x3c2cf4(0x1d7)];this[_0x3c2cf4(0x1d0)](_0x25ac7e,_0x423aea)||this[_0x3c2cf4(0x195)](_0x423aea);}),'keydown':_0x1a89ab['to'](_0x586eb7=>{const _0x93508a=_0x24d456;_0x586eb7[_0x93508a(0x1c7)]==_0x3bcc10&&(this[_0x93508a(0x1a7)](_0x423aea,_0x2c7cc2),_0x423aea[_0x93508a(0x190)][_0x93508a(0x19a)](0x0)[_0x93508a(0x1b7)]());})}}),_0x423aea['on'](_0x24d456(0x193),()=>{const _0x37c073=_0x24d456;_0x423aea[_0x37c073(0x162)]?.[_0x37c073(0x160)](_0x37c073(0x163),_0x5cda87=>{const _0x58564e=_0x37c073,_0x31e7c5=_0x5cda87[_0x58564e(0x1d7)];_0x2c7cc2[_0x58564e(0x162)]?.[_0x58564e(0x174)](_0x31e7c5)||this[_0x58564e(0x1d0)](_0x31e7c5,_0x423aea)||this[_0x58564e(0x195)](_0x423aea);});});}[_0x4eec1e(0x1a7)](_0x564942,_0x2dc7d2){const _0x428a72=_0x4eec1e;this[_0x428a72(0x15a)][_0x428a72(0x196)](_0x37fd83=>{const _0x460517=_0x428a72;_0x37fd83!==_0x564942&&_0x37fd83[_0x460517(0x1b8)]&&_0x37fd83[_0x460517(0x1c3)]();}),_0x564942[_0x428a72(0x185)](),_0x564942[_0x428a72(0x171)]({'positions':[_0x5d4a51[_0x428a72(0x1a2)]],'target':_0x2dc7d2[_0x428a72(0x162)],'fitInViewport':!0x0}),this[_0x428a72(0x15a)][_0x428a72(0x18d)](_0x564942);}[_0x4eec1e(0x195)](_0x1d79a3){const _0x2ccb87=_0x4eec1e;_0x1d79a3[_0x2ccb87(0x1c3)](),this[_0x2ccb87(0x15a)][_0x2ccb87(0x1b3)](_0x1d79a3);}[_0x4eec1e(0x15c)](){const _0x41c630=_0x4eec1e;this[_0x41c630(0x15a)][_0x41c630(0x196)](_0x1551da=>_0x1551da[_0x41c630(0x1c3)]()),this[_0x41c630(0x15a)][_0x41c630(0x1a5)]();}[_0x4eec1e(0x1d0)](_0x4a26e1,_0x29943b){const _0x22b292=_0x4eec1e;if(!_0x4a26e1)return!0x1;if(_0x29943b[_0x22b292(0x162)]?.[_0x22b292(0x174)](_0x4a26e1))return!0x0;const _0x149006=_0x4a26e1;return _0x149006[_0x22b292(0x198)]&&(null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x180))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x17c))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x181)));}[_0x4eec1e(0x1cf)](){const _0x12d4bf=_0x4eec1e;this[_0x12d4bf(0x1b5)]&&this[_0x12d4bf(0x1b5)][_0x12d4bf(0x1cd)]();}[_0x4eec1e(0x1ca)](){const _0x2d7889=_0x4eec1e;this[_0x2d7889(0x15c)](),this[_0x2d7889(0x16b)][_0x2d7889(0x1af)](),super[_0x2d7889(0x1ca)]();}[_0x4eec1e(0x1b7)](){const _0x551657=_0x4eec1e;this[_0x551657(0x1b5)]?this[_0x551657(0x1b5)][_0x551657(0x1b7)]():this[_0x551657(0x199)][_0x551657(0x1b7)]();}[_0x4eec1e(0x18f)](_0x1dd9fd){const _0x12f6dc=_0x4eec1e;return _0x12f6dc(0x19d)===_0x1dd9fd[_0x12f6dc(0x15d)][_0x12f6dc(0x1b6)]?_0x12f6dc(0x1d4):_0x12f6dc(0x18c);}[_0x4eec1e(0x187)](_0x1310c4){const _0x4dd9ae=_0x4eec1e;return _0x4dd9ae(0x19d)===_0x1310c4[_0x4dd9ae(0x15d)][_0x4dd9ae(0x1b6)]?_0x4dd9ae(0x18c):_0x4dd9ae(0x1d4);}[_0x4eec1e(0x173)](_0x2ab881,_0x137e1f,_0x373e65,_0x4514ac){const _0x44df87=_0x4eec1e;_0x2ab881[_0x44df87(0x1c7)]==_0x137e1f&&(_0x373e65[_0x44df87(0x1b7)](),this[_0x44df87(0x195)](_0x4514ac));}[_0x4eec1e(0x157)](_0x598019){const _0x136d20=_0x4eec1e;_0x598019[_0x136d20(0x161)](_0x136d20(0x169));}}
|
|
23
|
+
const _0x453d1c=_0x402e;(function(_0x2262aa,_0x4a9f03){const _0x568a31=_0x402e,_0x4d36b0=_0x2262aa();while(!![]){try{const _0x2deb6b=parseInt(_0x568a31(0x1c0))/0x1+parseInt(_0x568a31(0x1d8))/0x2*(parseInt(_0x568a31(0x190))/0x3)+-parseInt(_0x568a31(0x1cf))/0x4*(parseInt(_0x568a31(0x162))/0x5)+-parseInt(_0x568a31(0x1e4))/0x6*(parseInt(_0x568a31(0x1da))/0x7)+-parseInt(_0x568a31(0x1e5))/0x8*(-parseInt(_0x568a31(0x1cc))/0x9)+parseInt(_0x568a31(0x1d3))/0xa+-parseInt(_0x568a31(0x194))/0xb*(parseInt(_0x568a31(0x196))/0xc);if(_0x2deb6b===_0x4a9f03)break;else _0x4d36b0['push'](_0x4d36b0['shift']());}catch(_0x3b33b4){_0x4d36b0['push'](_0x4d36b0['shift']());}}}(_0x2d5c,0x28852));import{View as _0x26e0ec,ListItemView as _0x3fb246,ListView as _0x4e6a78,BalloonPanelView as _0x26a4e9,DropdownMenuPanelPositioningFunctions as _0x1ac682,ViewCollection as _0x4622ed,FocusCycler as _0x36dfba,ButtonView as _0x45d368,IconView as _0x282034,HighlightedTextView as _0x525326,ButtonLabelWithHighlightView as _0x123b6a,SearchTextView as _0x38bea7}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3b3cb4}from'@ckeditor/ckeditor5-icons';function _0x2d5c(){const _0x43c774=['_setupActionButtonExecution','icon','span','contains','_handlePanelKeydown','isEnabled','_createActionGroupButton','_isSearchFocused','first','clear','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','optionsListView','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-button_with-text','ck-ai-quick-actions-search-result__group-row','destroy','addMany','.ck-ai-quick-actions-group-list','queryView','_setupGroupMenuBehavior','ck-reset_all','aiQuickAction','bind','273445anDnkS','ck-ai-quick-actions','hide','show','ownerDocument','activeElement','_hideAllNestedPanels','bindTemplate','ck-ai-quick-actions-search-result__action-row','_focusables','.ck-ai-quick-actions-group-panel','isVisible','29412wMyeZg','ck-ai-quick-actions-button_with-group__close-paren','element','68BhoFuo','_allSearchableItems','children','menu','3190020nWEEep','get','key','_createSearchTextView','mouseleave','730tBGuyX','ck-ai-quick-actions-group-button','35rxHcEw','eastSouth','detachFromDom','content','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','actions','ck-ai-quick-actions-button_with-group__open-paren','delete','_hasSearch','button','362106JRlsTQ','440PEWHEN','_getPanelKeystroke','ck-rounded-corners','_createSearchResultGroupedActionButton','ck-button','resetSearch','keystrokes','30295IcWyXe','_createGroupActionsList','push','text','ck-ai-quick-actions-button__group-icon','ck-ai-quick-actions-search','set','_createSearchResultGroupRow','ck-ai-quick-actions-search-result-button_with-group','_createActionButton','_createSearchResultContentView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','render','ck-ai-quick-actions-search-result-button','view','displayedPrompt','_createSearchResultActionButton','_isMovingToNestedMenu','focusCycler','some','reset','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-button','extendTemplate','forEach','addEventListener','uiLanguageDirection','_hideNestedPanel','fieldView','AI_QUICK_ACTIONS_SEARCH','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-panel','ck-dropdown-menu-list','rtl','ck-ai-quick-actions-button_with-group','_bodyCollection','_openNestedPanels','ck-ai-quick-actions-group-list','div','_getButtonKeystroke','parent','ArrowRight','chain','add','_createListItems','setTemplate','1203hiEKHW','ArrowLeft','editing','fire','11TYftMm','focusTracker','4173888rwtyUB','role','ck-dropdown-menu__nested-menu__panel','relatedTarget','label','_createSearchResultActionRow','focus','execute','_createSearchResultIndividualActionButton','menuitem','_showNestedPanel','isOn','_searchTextView','locale','closest','pin','items','commands'];_0x2d5c=function(){return _0x43c774;};return _0x2d5c();}import{FocusTracker as _0x1602c9,KeystrokeHandler as _0x31a2ba}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x523208}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5b7f62}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4021be}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x108440}from'./aiquickactionsfilteredlistview.js';function _0x402e(_0x7bf537,_0x449ee2){const _0x2d5c83=_0x2d5c();return _0x402e=function(_0x402eb4,_0x540a7b){_0x402eb4=_0x402eb4-0x15e;let _0x788287=_0x2d5c83[_0x402eb4];return _0x788287;},_0x402e(_0x7bf537,_0x449ee2);}const Qs=_0x453d1c(0x1d2),Gs=_0x453d1c(0x19f);export class AIQuickActionsDropdownContentView extends _0x26e0ec{[_0x453d1c(0x185)];[_0x453d1c(0x1b3)];[_0x453d1c(0x1a2)]=null;[_0x453d1c(0x1d0)]=[];[_0x453d1c(0x1d1)];[_0x453d1c(0x195)];[_0x453d1c(0x161)];[_0x453d1c(0x1c9)];[_0x453d1c(0x174)];[_0x453d1c(0x186)]=new Set();[_0x453d1c(0x1e2)];constructor(_0x47664a,_0x597a56,_0x5ceb2e,_0xa1046b,_0xbf1974=!0x1){const _0x2bef45=_0x453d1c,_0x22c9e2=_0x47664a[_0x2bef45(0x1a3)];super(_0x22c9e2),this[_0x2bef45(0x185)]=_0xa1046b,this[_0x2bef45(0x1e2)]=_0xbf1974;const _0x293113=this[_0x2bef45(0x18e)](_0x47664a,_0x597a56,_0x5ceb2e);this[_0x2bef45(0x1b3)]=new _0x108440(_0x22c9e2,_0x293113,this[_0x2bef45(0x1d0)]),this[_0x2bef45(0x1b3)][_0x2bef45(0x197)]=Qs,this[_0x2bef45(0x1b3)][_0x2bef45(0x1a6)][_0x2bef45(0x1b9)](_0x293113),this[_0x2bef45(0x195)]=new _0x1602c9(),this[_0x2bef45(0x161)]=new _0x31a2ba(),_0xbf1974&&(this[_0x2bef45(0x1a2)]=this[_0x2bef45(0x1d6)]()),this[_0x2bef45(0x1c9)]=_0x293113,this[_0x2bef45(0x174)]=new _0x36dfba({'focusables':this[_0x2bef45(0x1c9)],'focusTracker':this[_0x2bef45(0x195)],'keystrokeHandler':this[_0x2bef45(0x161)]}),_0xbf1974&&this[_0x2bef45(0x1a2)]&&this[_0x2bef45(0x174)][_0x2bef45(0x18c)](this[_0x2bef45(0x1a2)][_0x2bef45(0x174)]);const _0x53f801=_0xbf1974&&this[_0x2bef45(0x1a2)]?[this[_0x2bef45(0x1a2)]]:[this[_0x2bef45(0x1b3)]];this[_0x2bef45(0x1d1)]=new _0x4622ed(_0x53f801),this[_0x2bef45(0x18f)]({'tag':_0x2bef45(0x188),'attributes':{'class':['ck',_0x2bef45(0x1bd),_0x2bef45(0x1c1),_0x2bef45(0x1e7)],'dir':_0x22c9e2[_0x2bef45(0x17c)]},'children':this[_0x2bef45(0x1d1)]});}[_0x453d1c(0x1d6)](){const _0x37374=_0x453d1c;return new _0x38bea7(this[_0x37374(0x1a3)],{'filteredView':this[_0x37374(0x1b3)],'queryView':{'label':_0x4021be(this[_0x37374(0x1a3)],_0x37374(0x17f))},'class':_0x37374(0x167),'infoView':{'text':{'notFound':{'primary':_0x4021be(this[_0x37374(0x1a3)],_0x37374(0x1b5))}}}});}[_0x453d1c(0x1af)](){const _0x3caf76=_0x453d1c;if(!this[_0x3caf76(0x1e2)]||!this[_0x3caf76(0x1a2)]||!this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)])return!0x1;const _0x1d6e2c=this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)][_0x3caf76(0x1c4)]?.[_0x3caf76(0x1c5)];return this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)][_0x3caf76(0x1ab)](_0x1d6e2c);}[_0x453d1c(0x18e)](_0xcb0aa7,_0x253d3a,_0x16bc15){const _0x2bdb44=_0x453d1c,_0x50e10b=new _0x4622ed();return _0x253d3a[_0x2bdb44(0x17a)](_0x2cf42f=>{const _0x55442f=_0x2bdb44;if(_0x55442f(0x1df)in _0x2cf42f){const {listItem:_0x3eda88}=this[_0x55442f(0x1ae)](_0xcb0aa7,_0x2cf42f,_0x16bc15);_0x50e10b[_0x55442f(0x18d)](_0x3eda88),_0x2cf42f[_0x55442f(0x1df)][_0x55442f(0x17a)](_0x360fc2=>{const _0x1cc37a=_0x55442f;this[_0x1cc37a(0x16b)](_0xcb0aa7,_0x360fc2,_0x2cf42f[_0x1cc37a(0x19a)],_0x2cf42f[_0x1cc37a(0x1a9)]);const {listItem:_0x5d8d81,highlightViews:_0x162ca9}=this[_0x1cc37a(0x172)](_0xcb0aa7,_0x360fc2,_0x2cf42f[_0x1cc37a(0x19a)],_0x2cf42f[_0x1cc37a(0x1a9)]);this[_0x1cc37a(0x1d0)][_0x1cc37a(0x164)]({'item':_0x5d8d81,'label':_0x360fc2[_0x1cc37a(0x171)],'groupLabel':_0x2cf42f[_0x1cc37a(0x19a)],'highlightViews':_0x162ca9});});}else{const {listItem:_0x3c6279}=this[_0x55442f(0x16b)](_0xcb0aa7,_0x2cf42f);_0x50e10b[_0x55442f(0x18d)](_0x3c6279);const _0x81e365=_0x3c6279[_0x55442f(0x1d1)][_0x55442f(0x1b0)];if(_0x81e365){const {listItem:_0x572050,highlightViews:_0xf3f29b}=this[_0x55442f(0x172)](_0xcb0aa7,_0x2cf42f);this[_0x55442f(0x1d0)][_0x55442f(0x164)]({'item':_0x572050,'label':_0x81e365[_0x55442f(0x19a)]||'','highlightViews':_0xf3f29b});}}}),_0x50e10b;}[_0x453d1c(0x16b)](_0x2ceee7,_0x32e9a1,_0x454e3b,_0x385e10){const _0x3e59d4=_0x453d1c,_0x281fd4=new _0x3fb246(this[_0x3e59d4(0x1a3)]);if(_0x454e3b&&_0x385e10){const _0x329f4a=new _0x45d368(this[_0x3e59d4(0x1a3)]),_0x2d463c=_0x329f4a[_0x3e59d4(0x1c7)],_0x4582bf=new _0x525326();_0x4582bf[_0x3e59d4(0x165)]=_0x32e9a1[_0x3e59d4(0x171)];const _0xb6b1ab=new _0x525326();_0xb6b1ab[_0x3e59d4(0x165)]=_0x454e3b;const _0x152096=new _0x282034();_0x152096[_0x3e59d4(0x1dd)]=_0x385e10,_0x152096[_0x3e59d4(0x179)]({'attributes':{'class':_0x3e59d4(0x166)}});const _0x5c4cbd=new _0x26e0ec(this[_0x3e59d4(0x1a3)]);_0x5c4cbd[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1aa),'attributes':{'class':_0x3e59d4(0x1e0)},'children':[{'text':'\x20('}]});const _0x2d3aba=new _0x26e0ec(this[_0x3e59d4(0x1a3)]);return _0x2d3aba[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1aa),'attributes':{'class':_0x3e59d4(0x1cd)},'children':[{'text':')'}]}),_0x329f4a[_0x3e59d4(0x168)]({'label':_0x32e9a1[_0x3e59d4(0x171)]+'\x20('+_0x454e3b+')','withText':!0x0,'role':_0x3e59d4(0x19f),'class':_0x3e59d4(0x1de),'tooltip':!0x1}),_0x329f4a[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1e3),'attributes':{'class':['ck',_0x3e59d4(0x15f),_0x3e59d4(0x1b6),_0x3e59d4(0x178),_0x3e59d4(0x184)],'type':_0x3e59d4(0x1e3),'role':_0x3e59d4(0x19f),'tabindex':'-1'},'children':[_0x4582bf,_0x5c4cbd,_0x152096,_0xb6b1ab,_0x2d3aba],'on':{'mouseenter':_0x2d463c['to'](()=>{const _0x6a850c=_0x3e59d4;this[_0x6a850c(0x1af)]()||_0x329f4a[_0x6a850c(0x19c)]();}),'click':_0x2d463c['to'](()=>{const _0x28b95b=_0x3e59d4;_0x329f4a[_0x28b95b(0x193)](_0x28b95b(0x19d));})}}),_0x329f4a['on'](_0x3e59d4(0x19d),()=>{const _0x535b0e=_0x3e59d4;_0x2ceee7[_0x535b0e(0x192)][_0x535b0e(0x170)][_0x535b0e(0x19c)](),_0x2ceee7[_0x535b0e(0x1a7)][_0x535b0e(0x19d)](_0x535b0e(0x1be),_0x32e9a1);}),_0x281fd4[_0x3e59d4(0x1d1)][_0x3e59d4(0x18d)](_0x329f4a),{'listItem':_0x281fd4,'highlightViews':[_0x4582bf,_0xb6b1ab]};}{const _0x41f2ae=new _0x123b6a(),_0xa6ed4f=new _0x45d368(this[_0x3e59d4(0x1a3)],_0x41f2ae),_0x37dc7b=_0xa6ed4f[_0x3e59d4(0x1c7)],_0x200192=_0x32e9a1[_0x3e59d4(0x1a9)]??_0x32e9a1[_0x3e59d4(0x18a)]?.[_0x3e59d4(0x1a9)],_0x41c93f=void 0x0!==_0x32e9a1[_0x3e59d4(0x1a9)];return _0xa6ed4f[_0x3e59d4(0x168)]({'label':_0x32e9a1[_0x3e59d4(0x171)],'withText':!0x0,'role':_0x3e59d4(0x19f),'icon':_0x41c93f?_0x200192??_0x3b3cb4:void 0x0,'tooltip':!0x1,'class':_0x3e59d4(0x178)}),_0xa6ed4f[_0x3e59d4(0x179)]({'on':{'mouseenter':_0x37dc7b['to'](()=>{const _0x118e66=_0x3e59d4;this[_0x118e66(0x1af)]()||_0xa6ed4f[_0x118e66(0x19c)]();})}}),_0xa6ed4f['on'](_0x3e59d4(0x19d),()=>{const _0x351a80=_0x3e59d4;_0x2ceee7[_0x351a80(0x192)][_0x351a80(0x170)][_0x351a80(0x19c)](),_0x2ceee7[_0x351a80(0x1a7)][_0x351a80(0x19d)](_0x351a80(0x1be),_0x32e9a1);}),_0x281fd4[_0x3e59d4(0x1d1)][_0x3e59d4(0x18d)](_0xa6ed4f),{'listItem':_0x281fd4,'highlightViews':[_0x41f2ae]};}}[_0x453d1c(0x172)](_0x256f9c,_0x56ade1,_0x106d90,_0x2b267f){const _0x87a0ef=_0x453d1c;return _0x106d90&&_0x2b267f?this[_0x87a0ef(0x15e)](_0x256f9c,_0x56ade1,_0x106d90,_0x2b267f):this[_0x87a0ef(0x19e)](_0x256f9c,_0x56ade1);}[_0x453d1c(0x15e)](_0x4ab5d3,_0x5d837c,_0x230e85,_0x2366d8){const _0x30ebd3=_0x453d1c,_0x27fdad=new _0x3fb246(this[_0x30ebd3(0x1a3)]),_0x2836e8=new _0x45d368(this[_0x30ebd3(0x1a3)]),_0x460e66=_0x2836e8[_0x30ebd3(0x1c7)],{view:_0x47ba1f,highlightView:_0x2c3bd5}=this[_0x30ebd3(0x169)](_0x230e85,_0x2366d8),{view:_0x3b9eea,highlightView:_0x3ba9d9}=this[_0x30ebd3(0x19b)](_0x5d837c[_0x30ebd3(0x171)]),_0x3555b5=this[_0x30ebd3(0x16c)](_0x47ba1f,_0x3b9eea);return _0x2836e8[_0x30ebd3(0x168)]({'label':_0x5d837c[_0x30ebd3(0x171)],'withText':!0x0,'role':_0x30ebd3(0x19f),'class':_0x30ebd3(0x1b2),'tooltip':!0x1}),_0x2836e8[_0x30ebd3(0x18f)]({'tag':_0x30ebd3(0x1e3),'attributes':{'class':['ck',_0x30ebd3(0x15f),_0x30ebd3(0x1b6),_0x30ebd3(0x178),_0x30ebd3(0x16f),_0x30ebd3(0x16a)],'type':_0x30ebd3(0x1e3),'role':_0x30ebd3(0x19f),'tabindex':'-1'},'children':[_0x3555b5],'on':{'mouseenter':_0x460e66['to'](()=>{const _0x1e51cc=_0x30ebd3;this[_0x1e51cc(0x1af)]()||_0x2836e8[_0x1e51cc(0x19c)]();}),'click':_0x460e66['to'](()=>{const _0x3d85eb=_0x30ebd3;this[_0x3d85eb(0x1b4)](_0x2836e8);})}}),this[_0x30ebd3(0x1a8)](_0x2836e8,_0x4ab5d3,_0x5d837c),_0x27fdad[_0x30ebd3(0x1d1)][_0x30ebd3(0x18d)](_0x2836e8),{'listItem':_0x27fdad,'highlightViews':[_0x2c3bd5,_0x3ba9d9]};}[_0x453d1c(0x19e)](_0x2bb09c,_0x5eed60){const _0x57f94a=_0x453d1c,_0x40d41b=new _0x3fb246(this[_0x57f94a(0x1a3)]),_0x22c396=new _0x123b6a(),_0x6ae468=new _0x45d368(this[_0x57f94a(0x1a3)],_0x22c396),_0xebe232=_0x6ae468[_0x57f94a(0x1c7)];return _0x6ae468[_0x57f94a(0x168)]({'label':_0x5eed60[_0x57f94a(0x171)],'withText':!0x0,'role':_0x57f94a(0x19f),'icon':void 0x0,'tooltip':!0x1,'class':_0x57f94a(0x16d)}),_0x6ae468[_0x57f94a(0x179)]({'on':{'mouseenter':_0xebe232['to'](()=>{const _0x921dd6=_0x57f94a;this[_0x921dd6(0x1af)]()||_0x6ae468[_0x921dd6(0x19c)]();})}}),this[_0x57f94a(0x1a8)](_0x6ae468,_0x2bb09c,_0x5eed60),_0x40d41b[_0x57f94a(0x1d1)][_0x57f94a(0x18d)](_0x6ae468),{'listItem':_0x40d41b,'highlightViews':[_0x22c396]};}[_0x453d1c(0x169)](_0x31cf2b,_0x3f9c04){const _0x4c4d11=_0x453d1c,_0xe701ba=new _0x26e0ec(this[_0x4c4d11(0x1a3)]),_0x18169e=new _0x282034();_0x18169e[_0x4c4d11(0x1dd)]=_0x3f9c04,_0x18169e[_0x4c4d11(0x179)]({'attributes':{'class':_0x4c4d11(0x166)}});const _0x57f8c2=new _0x525326();return _0x57f8c2[_0x4c4d11(0x165)]=_0x31cf2b,_0xe701ba[_0x4c4d11(0x18f)]({'tag':_0x4c4d11(0x188),'attributes':{'class':_0x4c4d11(0x1b7)},'children':[_0x18169e,_0x57f8c2]}),{'view':_0xe701ba,'highlightView':_0x57f8c2};}[_0x453d1c(0x19b)](_0x34cce8){const _0x5437eb=_0x453d1c,_0x1283fe=new _0x26e0ec(this[_0x5437eb(0x1a3)]),_0x3c695c=new _0x525326();return _0x3c695c[_0x5437eb(0x165)]=_0x34cce8,_0x1283fe[_0x5437eb(0x18f)]({'tag':_0x5437eb(0x188),'attributes':{'class':_0x5437eb(0x1c8)},'children':[_0x3c695c]}),{'view':_0x1283fe,'highlightView':_0x3c695c};}[_0x453d1c(0x16c)](_0x39eac4,_0x3ce376){const _0x2e50c6=_0x453d1c,_0x2cdf5a=new _0x26e0ec(this[_0x2e50c6(0x1a3)]);return _0x2cdf5a[_0x2e50c6(0x18f)]({'tag':_0x2e50c6(0x188),'attributes':{'class':_0x2e50c6(0x177)},'children':[_0x39eac4,_0x3ce376]}),_0x2cdf5a;}[_0x453d1c(0x1a8)](_0x2ca687,_0x4bb214,_0x223ce8){const _0x2d39b2=_0x453d1c;_0x2ca687['on'](_0x2d39b2(0x19d),()=>{const _0xd93ef2=_0x2d39b2;_0x4bb214[_0xd93ef2(0x192)][_0xd93ef2(0x170)][_0xd93ef2(0x19c)](),_0x4bb214[_0xd93ef2(0x1a7)][_0xd93ef2(0x19d)](_0xd93ef2(0x1be),_0x223ce8);});}[_0x453d1c(0x1ae)](_0x40f5a4,_0x1460d6,_0x3f6649){const _0x53c897=_0x453d1c,_0x18a3f8=new _0x3fb246(this[_0x53c897(0x1a3)]),_0x3c6e36=new _0x123b6a(),_0x3a33a2=new _0x5b7f62(this[_0x53c897(0x1a3)],_0x3c6e36),_0x8951f7=_0x3a33a2[_0x53c897(0x1c7)],_0x14e43c=this[_0x53c897(0x1e6)](_0x3f6649),_0x4fcbd0=this[_0x53c897(0x163)](_0x40f5a4,_0x1460d6[_0x53c897(0x1df)],_0x3f6649);_0x3a33a2[_0x53c897(0x168)]({'label':_0x1460d6[_0x53c897(0x19a)],'withText':!0x0,'role':Gs,'icon':_0x1460d6[_0x53c897(0x1a9)]??_0x3b3cb4,'isEnabled':_0x1460d6[_0x53c897(0x1df)][_0x53c897(0x175)](_0x36fcd1=>_0x36fcd1[_0x53c897(0x1ad)])}),_0x3a33a2[_0x53c897(0x179)]({'on':{'mouseenter':_0x8951f7['to'](()=>{const _0x16c4f0=_0x53c897;this[_0x16c4f0(0x1af)]()||_0x3a33a2[_0x16c4f0(0x19c)]();})}});const _0x3e1e69=new _0x26a4e9(this[_0x53c897(0x1a3)]);return _0x3e1e69[_0x53c897(0x179)]({'attributes':{'class':['ck',_0x53c897(0x1bd),_0x53c897(0x181),_0x53c897(0x198)]},'on':{'keydown':_0x8951f7['to'](_0x2d6800=>{const _0x6a3d8e=_0x53c897;this[_0x6a3d8e(0x1ac)](_0x2d6800,_0x14e43c,_0x3a33a2,_0x3e1e69);})}}),_0x3a33a2[_0x53c897(0x1bf)](_0x53c897(0x1a1))['to'](_0x3e1e69,_0x53c897(0x1cb)),this[_0x53c897(0x185)][_0x53c897(0x18d)](_0x3e1e69),_0x3e1e69[_0x53c897(0x1dd)][_0x53c897(0x18d)](_0x4fcbd0),this[_0x53c897(0x1bc)](_0x3a33a2,_0x3e1e69),_0x18a3f8[_0x53c897(0x1d1)][_0x53c897(0x18d)](_0x3a33a2),{'listItem':_0x18a3f8,'highlightView':_0x3c6e36};}[_0x453d1c(0x163)](_0xf6fb44,_0x47deb8,_0x52d05a){const _0x31b529=_0x453d1c,_0x334b3d=new _0x4e6a78(this[_0x31b529(0x1a3)]);return _0x334b3d[_0x31b529(0x179)]({'attributes':{'class':['ck',_0x31b529(0x1bd),_0x31b529(0x187),_0x31b529(0x182)]}}),_0x47deb8[_0x31b529(0x17a)](_0x2cb029=>{const _0xdc3806=_0x31b529,_0x2db5c1=new _0x3fb246(this[_0xdc3806(0x1a3)]),_0x25e766=_0x523208({'editor':_0xf6fb44,'action':_0x2cb029,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0xdc3806(0x1af)]()})();_0x2db5c1[_0xdc3806(0x1d1)][_0xdc3806(0x18d)](_0x25e766),_0x52d05a[_0xdc3806(0x195)][_0xdc3806(0x18d)](_0x25e766),_0x334b3d[_0xdc3806(0x1a6)][_0xdc3806(0x18d)](_0x2db5c1);}),_0x334b3d;}[_0x453d1c(0x1bc)](_0x498702,_0x297134){const _0x4d322c=_0x453d1c,_0x530656=_0x498702[_0x4d322c(0x1c7)],_0x24f2e2=this[_0x4d322c(0x189)](_0x498702);_0x498702[_0x4d322c(0x179)]({'attributes':{'class':[_0x4d322c(0x1d9)]},'on':{'mouseenter':_0x530656['to'](()=>{const _0x14b89f=_0x4d322c;this[_0x14b89f(0x1a0)](_0x297134,_0x498702);}),'mouseleave':_0x530656['to'](_0x57cca4=>{const _0x3e9d3c=_0x4d322c,_0x4e50e7=_0x57cca4[_0x3e9d3c(0x199)];this[_0x3e9d3c(0x173)](_0x4e50e7,_0x297134)||this[_0x3e9d3c(0x17d)](_0x297134);}),'keydown':_0x530656['to'](_0x5289c2=>{const _0x155ae2=_0x4d322c;_0x5289c2[_0x155ae2(0x1d5)]==_0x24f2e2&&(this[_0x155ae2(0x1a0)](_0x297134,_0x498702),_0x297134[_0x155ae2(0x1dd)][_0x155ae2(0x1d4)](0x0)[_0x155ae2(0x19c)]());})}}),_0x297134['on'](_0x4d322c(0x16e),()=>{const _0x22c82a=_0x4d322c;_0x297134[_0x22c82a(0x1ce)]?.[_0x22c82a(0x17b)](_0x22c82a(0x1d7),_0x5906c5=>{const _0x594e32=_0x22c82a,_0x5ddc9e=_0x5906c5[_0x594e32(0x199)];_0x498702[_0x594e32(0x1ce)]?.[_0x594e32(0x1ab)](_0x5ddc9e)||this[_0x594e32(0x173)](_0x5ddc9e,_0x297134)||this[_0x594e32(0x17d)](_0x297134);});});}[_0x453d1c(0x1a0)](_0x609784,_0x47ff5d){const _0x432a6d=_0x453d1c;this[_0x432a6d(0x186)][_0x432a6d(0x17a)](_0x2c8632=>{const _0x550e08=_0x432a6d;_0x2c8632!==_0x609784&&_0x2c8632[_0x550e08(0x1cb)]&&_0x2c8632[_0x550e08(0x1c2)]();}),_0x609784[_0x432a6d(0x1c3)](),_0x609784[_0x432a6d(0x1a5)]({'positions':[_0x1ac682[_0x432a6d(0x1db)]],'target':_0x47ff5d[_0x432a6d(0x1ce)],'fitInViewport':!0x0}),this[_0x432a6d(0x186)][_0x432a6d(0x18d)](_0x609784);}[_0x453d1c(0x17d)](_0x4b8969){const _0x585cd6=_0x453d1c;_0x4b8969[_0x585cd6(0x1c2)](),this[_0x585cd6(0x186)][_0x585cd6(0x1e1)](_0x4b8969);}[_0x453d1c(0x1c6)](){const _0x18992f=_0x453d1c;this[_0x18992f(0x186)][_0x18992f(0x17a)](_0x4ac141=>_0x4ac141[_0x18992f(0x1c2)]()),this[_0x18992f(0x186)][_0x18992f(0x1b1)]();}[_0x453d1c(0x173)](_0x459c10,_0x49bc71){const _0x501d5a=_0x453d1c;if(!_0x459c10)return!0x1;if(_0x49bc71[_0x501d5a(0x1ce)]?.[_0x501d5a(0x1ab)](_0x459c10))return!0x0;const _0x697063=_0x459c10;return _0x697063[_0x501d5a(0x1a4)]&&(null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x1ca))||null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x1ba))||null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x180)));}[_0x453d1c(0x160)](){const _0x4c0b60=_0x453d1c;this[_0x4c0b60(0x1a2)]&&this[_0x4c0b60(0x1a2)][_0x4c0b60(0x176)]();}[_0x453d1c(0x1b8)](){const _0x2adea9=_0x453d1c;this[_0x2adea9(0x1c6)](),this[_0x2adea9(0x185)][_0x2adea9(0x1dc)](),super[_0x2adea9(0x1b8)]();}[_0x453d1c(0x19c)](){const _0x255b4a=_0x453d1c;this[_0x255b4a(0x1a2)]?this[_0x255b4a(0x1a2)][_0x255b4a(0x19c)]():this[_0x255b4a(0x1b3)][_0x255b4a(0x19c)]();}[_0x453d1c(0x1e6)](_0xd92e9e){const _0xb0d4ef=_0x453d1c;return _0xb0d4ef(0x183)===_0xd92e9e[_0xb0d4ef(0x1a3)][_0xb0d4ef(0x17c)]?_0xb0d4ef(0x18b):_0xb0d4ef(0x191);}[_0x453d1c(0x189)](_0x456b7b){const _0x172396=_0x453d1c;return _0x172396(0x183)===_0x456b7b[_0x172396(0x1a3)][_0x172396(0x17c)]?_0x172396(0x191):_0x172396(0x18b);}[_0x453d1c(0x1ac)](_0x703dca,_0x426b21,_0x4f74c9,_0x89d99d){const _0x1aefe3=_0x453d1c;_0x703dca[_0x1aefe3(0x1d5)]==_0x426b21&&(_0x4f74c9[_0x1aefe3(0x19c)](),this[_0x1aefe3(0x17d)](_0x89d99d));}[_0x453d1c(0x1b4)](_0x3e7fa2){const _0x234059=_0x453d1c;_0x3e7fa2[_0x234059(0x193)](_0x234059(0x19d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf261(_0x3816c4,_0x3a1841){const _0x53ac4b=_0x53ac();return _0xf261=function(_0xf261c1,_0x2b12ad){_0xf261c1=_0xf261c1-0x153;let _0x13c5d0=_0x53ac4b[_0xf261c1];return _0x13c5d0;},_0xf261(_0x3816c4,_0x3a1841);}(function(_0x1d114b,_0x4675d9){const _0x2261c9=_0xf261,_0x627fcc=_0x1d114b();while(!![]){try{const _0x1b5970=-parseInt(_0x2261c9(0x169))/0x1+parseInt(_0x2261c9(0x15a))/0x2+parseInt(_0x2261c9(0x15f))/0x3*(parseInt(_0x2261c9(0x153))/0x4)+-parseInt(_0x2261c9(0x15d))/0x5*(parseInt(_0x2261c9(0x164))/0x6)+parseInt(_0x2261c9(0x16f))/0x7+parseInt(_0x2261c9(0x16d))/0x8*(parseInt(_0x2261c9(0x163))/0x9)+-parseInt(_0x2261c9(0x160))/0xa;if(_0x1b5970===_0x4675d9)break;else _0x627fcc['push'](_0x627fcc['shift']());}catch(_0x662a33){_0x627fcc['push'](_0x627fcc['shift']());}}}(_0x53ac,0x8c0f6));function _0x53ac(){const _0x2eae8b=['add','getRanges','259334YKVyZg','icon','has','259345zZnCgH','children','2636331lHPnXn','3109500lOkCBd','plugins','hideFakeVisualSelection','400077CJhBaC','102WzYZBJ','resetSearch','selection','label','showFakeVisualSelection','557712rctpjz','change:isOpen','get','from','72xHAeFZ','panelView','6409200fOWbvx','set','length','ck-ai-quick-actions-dropdown','model','AIEditing','4exnKDU','ai-quick-actions-dropdown-selection','buttonView','document','locale'];_0x53ac=function(){return _0x2eae8b;};return _0x53ac();}import{createDropdown as _0x1f7eff}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2f197e}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x5dc09a}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x4e2d11}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x30e724){const {editor:_0x5ea642,content:_0x1621ae,buttonDefinition:_0x4b46d1,bodyCollection:_0x211574,hasSearch:_0x1d8c4a=!0x1}=_0x30e724;return()=>{const _0x162443=_0xf261,_0x262bab=_0x5ea642[_0x162443(0x157)],_0x316333=_0x1f7eff(_0x262bab);_0x316333[_0x162443(0x155)][_0x162443(0x170)]({'icon':_0x4b46d1[_0x162443(0x15b)]??_0x2f197e,'label':_0x4b46d1[_0x162443(0x167)],'tooltip':!0x0}),_0x316333[_0x162443(0x170)]({'class':_0x162443(0x172)});const _0x31b951=new _0x5dc09a(_0x5ea642,_0x1621ae,_0x316333,_0x211574,_0x1d8c4a);if(_0x316333[_0x162443(0x16e)][_0x162443(0x15e)][_0x162443(0x158)](_0x31b951),_0x1d8c4a){const _0x52d41e=_0x162443(0x154);_0x316333['on'](_0x162443(0x16a),(_0x5e5cb1,_0x128ee1,_0x4a57dd)=>{const _0x46bca8=_0x162443;if(_0x4a57dd){if(_0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x15c)](_0x46bca8(0x174))){const _0x9da5c9=_0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x16b)](_0x4e2d11),_0x1122a9=_0x5ea642[_0x46bca8(0x173)][_0x46bca8(0x156)][_0x46bca8(0x166)],_0x1b1543=Array[_0x46bca8(0x16c)](_0x1122a9[_0x46bca8(0x159)]());_0x1b1543[_0x46bca8(0x171)]>0x0&&_0x9da5c9[_0x46bca8(0x168)](_0x1b1543,_0x52d41e,!0x1,!0x0);}}else _0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x15c)](_0x46bca8(0x174))&&_0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x16b)](_0x4e2d11)[_0x46bca8(0x162)](_0x52d41e),_0x31b951[_0x46bca8(0x165)]();});}return _0x316333;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5ada90=_0xa0f1;(function(_0x243547,_0x460519){const _0x4c6118=_0xa0f1,_0x1564ca=_0x243547();while(!![]){try{const _0x5c10c0=-parseInt(_0x4c6118(0xe6))/0x1*(-parseInt(_0x4c6118(0xef))/0x2)+-parseInt(_0x4c6118(0xfe))/0x3*(parseInt(_0x4c6118(0xfb))/0x4)+parseInt(_0x4c6118(0xf6))/0x5*(-parseInt(_0x4c6118(0xf5))/0x6)+parseInt(_0x4c6118(0xe8))/0x7*(parseInt(_0x4c6118(0xe5))/0x8)+-parseInt(_0x4c6118(0xec))/0x9+-parseInt(_0x4c6118(0x102))/0xa+parseInt(_0x4c6118(0xf9))/0xb*(parseInt(_0x4c6118(0x101))/0xc);if(_0x5c10c0===_0x460519)break;else _0x1564ca['push'](_0x1564ca['shift']());}catch(_0x4ef23b){_0x1564ca['push'](_0x1564ca['shift']());}}}(_0x564d,0x78c61));function _0xa0f1(_0x376668,_0x5b90d0){const _0x564d31=_0x564d();return _0xa0f1=function(_0xa0f11,_0x1179fc){_0xa0f11=_0xa0f11-0xe3;let _0x307dba=_0x564d31[_0xa0f11];return _0x307dba;},_0xa0f1(_0x376668,_0x5b90d0);}import{ListView as _0x52ca53}from'ckeditor5/src/ui.js';function _0x564d(){const _0x555868=['_allSearchableItems','length','items','1889766FSJXTz','function','source','4418ijrTVp','_allListItems','sort','forEach','map','label','994614QAhjxM','5WeKPBO','_clearHighlight','includes','1692152aAULWE','groupLabel','3916ClbrDI','highlightText','trim','2985pbiptX','toLowerCase','clear','96CHtwFw','5514610TWSwoD','highlightViews','filter','item','_highlightQuery','7064pCHsrm','149ZxnkFW','addMany','6629Atvecm'];_0x564d=function(){return _0x555868;};return _0x564d();}import{escapeRegExp as _0x9e2f82}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x52ca53{[_0x5ada90(0xf0)];[_0x5ada90(0xe9)];constructor(_0x172c50,_0x1236c7,_0x2eab67){const _0x425d49=_0x5ada90;super(_0x172c50),this[_0x425d49(0xf0)]=_0x1236c7,this[_0x425d49(0xe9)]=_0x2eab67;}[_0x5ada90(0x104)](_0x5d90a8){const _0x328306=_0x5ada90;if(!_0x5d90a8)return this[_0x328306(0xeb)][_0x328306(0x100)](),this[_0x328306(0xeb)][_0x328306(0xe7)](this[_0x328306(0xf0)]),this[_0x328306(0xf7)](),{'resultsCount':this[_0x328306(0xf0)][_0x328306(0xea)],'totalItemsCount':this[_0x328306(0xf0)][_0x328306(0xea)]};const _0x23147d=_0x5d90a8[_0x328306(0xee)][_0x328306(0xff)]()[_0x328306(0xfd)](),_0xe23369=this[_0x328306(0xe9)][_0x328306(0x104)](_0x143753=>(_0x143753[_0x328306(0xfa)]?_0x143753[_0x328306(0xf4)]+'\x20('+_0x143753[_0x328306(0xfa)]+')':_0x143753[_0x328306(0xf4)])[_0x328306(0xff)]()[_0x328306(0xf8)](_0x23147d));return this[_0x328306(0xeb)][_0x328306(0x100)](),this[_0x328306(0xeb)][_0x328306(0xe7)](_0xe23369[_0x328306(0xf1)]((_0x296935,_0x5296e0)=>{const _0x27c61d=_0x328306,_0x58e4c0=_0x296935[_0x27c61d(0xfa)],_0x5d0ab6=_0x5296e0[_0x27c61d(0xfa)];return _0x58e4c0||_0x5d0ab6?_0x58e4c0?0x1:-0x1:0x0;})[_0x328306(0xf3)](_0x2d09d8=>_0x2d09d8[_0x328306(0xe3)])),this[_0x328306(0xe4)](_0x23147d,_0xe23369),{'resultsCount':_0xe23369[_0x328306(0xea)],'totalItemsCount':this[_0x328306(0xe9)][_0x328306(0xea)]};}[_0x5ada90(0xe4)](_0x4f43e4,_0x1c593f){const _0x544dc3=_0x5ada90;if(!_0x4f43e4)return;const _0x393110=new RegExp(_0x9e2f82(_0x4f43e4),'gi');_0x1c593f[_0x544dc3(0xf2)](_0x25744c=>{const _0x2f15b8=_0x544dc3;_0x25744c[_0x2f15b8(0x103)]&&_0x25744c[_0x2f15b8(0x103)][_0x2f15b8(0xf2)](_0x489fff=>{const _0x290051=_0x2f15b8;_0x290051(0xed)==typeof _0x489fff[_0x290051(0xfc)]&&_0x489fff[_0x290051(0xfc)](_0x393110);});});}[_0x5ada90(0xf7)](){const _0x494609=_0x5ada90;this[_0x494609(0xe9)][_0x494609(0xf2)](_0x57c3e9=>{const _0x23a05c=_0x494609;_0x57c3e9[_0x23a05c(0x103)]&&_0x57c3e9[_0x23a05c(0x103)][_0x23a05c(0xf2)](_0x4bd1a9=>{const _0x35fa1b=_0x23a05c;_0x35fa1b(0xed)==typeof _0x4bd1a9[_0x35fa1b(0xfc)]&&_0x4bd1a9[_0x35fa1b(0xfc)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x25935b,_0x3e6a46){var _0x24ba43=_0x23af,_0x87dd99=_0x25935b();while(!![]){try{var _0x300945=parseInt(_0x24ba43(0x163))/0x1*(-parseInt(_0x24ba43(0x165))/0x2)+-parseInt(_0x24ba43(0x16b))/0x3*(-parseInt(_0x24ba43(0x16a))/0x4)+parseInt(_0x24ba43(0x15f))/0x5+parseInt(_0x24ba43(0x162))/0x6*(parseInt(_0x24ba43(0x160))/0x7)+parseInt(_0x24ba43(0x168))/0x8+-parseInt(_0x24ba43(0x161))/0x9+parseInt(_0x24ba43(0x167))/0xa;if(_0x300945===_0x3e6a46)break;else _0x87dd99['push'](_0x87dd99['shift']());}catch(_0x44c039){_0x87dd99['push'](_0x87dd99['shift']());}}}(_0x2595,0x5efd8));function _0x2595(){var _0x294f60=['2013EgSNMs','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','52555cpQFwj','1337iyinOe','2180646aqNxJo','11208FVUkAE','5947ZeFMDi','div','158aANajo','AI_DISCLAIMER_TEXT','5623980bpTGXE','335896vuxzmF','setTemplate','772wHcDHN'];_0x2595=function(){return _0x294f60;};return _0x2595();}import{View as _0x5142d3}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e8e14}from'../../../aicore/utils/common-translations.js';function _0x23af(_0x3a0cd3,_0xc6be61){var _0x25953b=_0x2595();return _0x23af=function(_0x23afee,_0x167757){_0x23afee=_0x23afee-0x15d;var _0x303a90=_0x25953b[_0x23afee];return _0x303a90;},_0x23af(_0x3a0cd3,_0xc6be61);}export class AIActionsBalloonDisclaimerView extends _0x5142d3{constructor(_0x117de8){var _0x3339e0=_0x23af;super(_0x117de8),this[_0x3339e0(0x169)]({'tag':_0x3339e0(0x164),'attributes':{'class':['ck',_0x3339e0(0x15e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3339e0(0x15d)]},'children':[{'text':_0x3e8e14(_0x117de8,_0x3339e0(0x166))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2364dc=_0x3159;function _0x3159(_0x109a7,_0x458c6a){const _0x30d53c=_0x30d5();return _0x3159=function(_0x31591d,_0x2338b0){_0x31591d=_0x31591d-0x65;let _0x1e8bc8=_0x30d53c[_0x31591d];return _0x1e8bc8;},_0x3159(_0x109a7,_0x458c6a);}(function(_0x44cd44,_0x442145){const _0x1dd7a0=_0x3159,_0x329093=_0x44cd44();while(!![]){try{const _0x734e55=parseInt(_0x1dd7a0(0x81))/0x1*(parseInt(_0x1dd7a0(0x80))/0x2)+parseInt(_0x1dd7a0(0x6e))/0x3*(-parseInt(_0x1dd7a0(0x69))/0x4)+parseInt(_0x1dd7a0(0x6a))/0x5+-parseInt(_0x1dd7a0(0x73))/0x6*(parseInt(_0x1dd7a0(0x65))/0x7)+-parseInt(_0x1dd7a0(0x75))/0x8+-parseInt(_0x1dd7a0(0x79))/0x9*(-parseInt(_0x1dd7a0(0x7f))/0xa)+-parseInt(_0x1dd7a0(0x6c))/0xb*(parseInt(_0x1dd7a0(0x72))/0xc);if(_0x734e55===_0x442145)break;else _0x329093['push'](_0x329093['shift']());}catch(_0x3114ac){_0x329093['push'](_0x329093['shift']());}}}(_0x30d5,0x38614));import{ToolbarView as _0x4596f8,ButtonView as _0x3e172c}from'ckeditor5/src/ui.js';import{getTranslation as _0x9da661}from'../../../aicore/utils/common-translations.js';function _0x30d5(){const _0x1d845e=['_createButton','suggestButton','ck-ai-button-secondary','548208Duqass','1590MtlOrJ','AI_BALLOON_SUGGEST_BUTTON','1469208lNXBXe','isEnabled','AI_BALLOON_APPLY_BUTTON','locale','21825BIiplb','add','extendTemplate','applyButton','items','set','1810fgrahF','429314VcCKJZ','1kJhLBr','1309YJcWrC','isVisible','bind','ck-ai-button-primary','12jsZNFk','2183535fOVwvP','setButtonsVisibility','77lHtrIC','ck-ai-balloon__toolbar','306363EqoPLX'];_0x30d5=function(){return _0x1d845e;};return _0x30d5();}export class AIActionsBalloonToolbarView extends _0x4596f8{constructor(_0x2c11ed,_0x1bdd66=!0x0,_0x5b37a0=!0x0){const _0x421868=_0x3159;super(_0x2c11ed),this[_0x421868(0x7e)](_0x421868(0x76),!0x1),_0x1bdd66&&(this[_0x421868(0x7c)]=this[_0x421868(0x6f)](_0x9da661(_0x2c11ed,_0x421868(0x77)),_0x421868(0x68)),this[_0x421868(0x7c)][_0x421868(0x67)](_0x421868(0x76))['to'](this),this[_0x421868(0x7d)][_0x421868(0x7a)](this[_0x421868(0x7c)])),_0x5b37a0&&(this[_0x421868(0x70)]=this[_0x421868(0x6f)](_0x9da661(_0x2c11ed,_0x421868(0x74)),_0x1bdd66?_0x421868(0x71):_0x421868(0x68)),this[_0x421868(0x70)][_0x421868(0x67)](_0x421868(0x76))['to'](this),this[_0x421868(0x7d)][_0x421868(0x7a)](this[_0x421868(0x70)])),this[_0x421868(0x6b)]({'showApplyButton':_0x1bdd66,'showSuggestButton':_0x5b37a0}),this[_0x421868(0x7b)]({'attributes':{'class':[_0x421868(0x6d)]}});}[_0x2364dc(0x6b)]({showApplyButton:_0x305957,showSuggestButton:_0x506f70}){const _0x38fbea=_0x2364dc;this[_0x38fbea(0x7c)]&&(this[_0x38fbea(0x7c)][_0x38fbea(0x66)]=_0x305957),this[_0x38fbea(0x70)]&&(this[_0x38fbea(0x70)][_0x38fbea(0x66)]=_0x506f70);}[_0x2364dc(0x6f)](_0x91ca56,_0x20b263){const _0xb49dce=_0x2364dc,_0x55ae23=new _0x3e172c(this[_0xb49dce(0x78)]);return _0x55ae23[_0xb49dce(0x7e)]({'label':_0x91ca56,'class':_0x20b263,'isVisible':!0x0,'withText':!0x0}),_0x55ae23;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x224eea=_0x3efb;(function(_0xeeecb1,_0x1ad771){const _0xda0870=_0x3efb,_0x534434=_0xeeecb1();while(!![]){try{const _0xe91b0=parseInt(_0xda0870(0x1b6))/0x1*(-parseInt(_0xda0870(0x1c8))/0x2)+parseInt(_0xda0870(0x1fa))/0x3*(parseInt(_0xda0870(0x1a5))/0x4)+-parseInt(_0xda0870(0x1c2))/0x5+-parseInt(_0xda0870(0x1d3))/0x6*(-parseInt(_0xda0870(0x1eb))/0x7)+parseInt(_0xda0870(0x1e8))/0x8+parseInt(_0xda0870(0x20a))/0x9+-parseInt(_0xda0870(0x1a9))/0xa;if(_0xe91b0===_0x1ad771)break;else _0x534434['push'](_0x534434['shift']());}catch(_0x18f2c6){_0x534434['push'](_0x534434['shift']());}}}(_0x34bc,0x29d3d));import{ViewCollection as _0xb26f8b,FocusCycler as _0x426db6,ButtonView as _0x4fba18,View as _0x171f90}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1b9f11,KeystrokeHandler as _0x454d60}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x5a0661}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x530772}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x44eeaa}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1ca934}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x363485}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x9d482e}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x268c6f}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x27158a,IconPreviousArrow as _0x6c249c,IconRefresh as _0x2a0d6c}from'@ckeditor/ckeditor5-icons';function _0x3efb(_0x1cdf02,_0x65cc5a){const _0x34bc49=_0x34bc();return _0x3efb=function(_0x3efbd7,_0x191621){_0x3efbd7=_0x3efbd7-0x193;let _0x58d912=_0x34bc49[_0x3efbd7];return _0x58d912;},_0x3efb(_0x1cdf02,_0x65cc5a);}import{getTranslation as _0x2b10cc}from'../../../aicore/utils/common-translations.js';function _0x34bc(){const _0xf2dbd8=['_addToolbar','clear','setTemplate','focus','set','ck-ai-navigation-button\x20ck-ai-previous-button','toggleIsLoading','_keystrokes','1300372kbQxOU','_streamableContentView','_errorView','_addContentWrapper','2661950nJUcjG','focusCycler','element','change:isTrackChangesOn','_navigationTryAgainButton','AI_ACTIONS_TRY_AGAIN','_toolbarView','toggleShowChanges','tab','ck-ai-actions-balloon-content','_miniToolbarView','_getScrollableElement','_createMiniToolbar','16574eiQjOJ','div','_focusables','stopAutoScroll','_config','stop','tryAgain','ck-ai-navigation-button\x20ck-ai-next-button','_hasError','showPrevious','shift\x20+\x20tab','_disclaimerView','994630EmgNcZ','_scrollManager','destroy','ck-ai-custom-action-button','_navigationPreviousButton','1/1','10bjhsGz','removeMiniToolbarItem','resetShowChangesButton','_createStreamableContentView','addMiniToolbarItem','bind','_setupMiniToolbarButtons','ck-ai-actions-balloon-content-wrapper','applySuggestion','focusLast','showNext','6CRaYvS','isBusy','setErrorState','listenTo','toggleSuggestionDisplayMode','_navigationCounter','add','hideError','isEnabled','render','_dialogContent','span','AI_ACTIONS_NEXT_INTERACTION','suggestButton','showLoader','isTrackChangesOn','_navigationNextButton','createCollection','addMany','_focusTracker','setIsLoading','52600FXaxrf','includes','items','1764469NHXQFJ','update','availableActions','execute','disableMiniToolbarButtons','_createLoaderView','setButtonsVisibility','_toggleToolbarButtonsVisibility','setInteractionCount','has','showError','applyButton','showBlockingError','remove','start','3Hcoyyf','toggleShowChangesEnabled','AI_ACTIONS_PREVIOUS_INTERACTION','ck-ai-interaction-counter','focusFirst','_isLoading','isShowChangesOn','_loaderView','fire','insertSuggestion','locale','delegate','ck-ai-actions-balloon-main','miniToolbarConfig','_addDisclaimerView','_contentWrapper','1220229kcfmYd','updateMiniToolbarButtons','updateContent','hideLoader','startAutoScroll','clearErrorState','_initializeScrollManager','bindTemplate','clearContent','isVisible','interactionCount'];_0x34bc=function(){return _0xf2dbd8;};return _0x34bc();}import{AIBalloonView as _0x13836e}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x224eea(0x1d0),_0x224eea(0x203)];export class AIActionsBalloonView extends _0x13836e{[_0x224eea(0x1aa)];[_0x224eea(0x1ba)];[_0x224eea(0x209)];[_0x224eea(0x1a6)];[_0x224eea(0x1af)];[_0x224eea(0x1b3)];[_0x224eea(0x201)];[_0x224eea(0x1c1)];[_0x224eea(0x1e6)];[_0x224eea(0x1a4)];[_0x224eea(0x1dd)];[_0x224eea(0x1b8)];[_0x224eea(0x1c3)];[_0x224eea(0x1c6)];[_0x224eea(0x1e3)];[_0x224eea(0x1ad)];[_0x224eea(0x1d8)];constructor(_0x33506c,_0x118c6e){const _0x71a51d=_0x224eea;super(_0x33506c),this[_0x71a51d(0x1a1)](_0x71a51d(0x1d4),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1e2),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1ff),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1be),!0x1),this[_0x71a51d(0x1ba)]=_0x118c6e,this[_0x71a51d(0x1e6)]=new _0x1b9f11(),this[_0x71a51d(0x1a4)]=new _0x454d60(),this[_0x71a51d(0x1b8)]=this[_0x71a51d(0x1e4)](),this[_0x71a51d(0x1aa)]=new _0x426db6({'focusables':this[_0x71a51d(0x1b8)],'focusTracker':this[_0x71a51d(0x1e6)],'keystrokeHandler':this[_0x71a51d(0x1a4)],'actions':{'focusPrevious':_0x71a51d(0x1c0),'focusNext':_0x71a51d(0x1b1)}}),this[_0x71a51d(0x1dd)]=new _0xb26f8b(),this[_0x71a51d(0x1a8)](_0x118c6e),this[_0x71a51d(0x208)](),this[_0x71a51d(0x19d)](_0x118c6e),this[_0x71a51d(0x1b8)][_0x71a51d(0x19e)](),this[_0x71a51d(0x1b8)][_0x71a51d(0x1e5)]([this[_0x71a51d(0x1af)]]),this[_0x71a51d(0x19f)]({'tag':_0x71a51d(0x1b7),'attributes':{'class':[_0x71a51d(0x206)]},'children':this[_0x71a51d(0x1dd)]}),this['on'](_0x71a51d(0x1ac),()=>{const _0x238838=_0x71a51d;this[_0x238838(0x1f2)](_0x118c6e);});}[_0x224eea(0x1dc)](){const _0x120372=_0x224eea;super[_0x120372(0x1dc)]();for(const _0x5a4f8d of this[_0x120372(0x1b8)])this[_0x120372(0x1e6)][_0x120372(0x1d9)](_0x5a4f8d[_0x120372(0x1ab)]);this[_0x120372(0x1a4)][_0x120372(0x1d6)](this[_0x120372(0x1ab)]),this[_0x120372(0x198)]();}[_0x224eea(0x1c4)](){const _0x4072ea=_0x224eea;super[_0x4072ea(0x1c4)](),this[_0x4072ea(0x1c3)]&&this[_0x4072ea(0x1c3)][_0x4072ea(0x1c4)]();}[_0x224eea(0x1a0)](_0x4b00a6){const _0x5e7133=_0x224eea;-0x1===_0x4b00a6?this[_0x5e7133(0x1aa)][_0x5e7133(0x1d1)]():this[_0x5e7133(0x1aa)][_0x5e7133(0x1fe)]();}[_0x224eea(0x1e7)](_0x17b155){const _0x27b18b=_0x224eea;this[_0x27b18b(0x1ff)]=_0x17b155;}[_0x224eea(0x1d5)](){const _0x361908=_0x224eea;this[_0x361908(0x1be)]=!0x0,this[_0x361908(0x1b3)][_0x361908(0x1fb)](!0x1);}[_0x224eea(0x197)](){const _0x293b6a=_0x224eea;this[_0x293b6a(0x1be)]=!0x1,this[_0x293b6a(0x1b3)][_0x293b6a(0x1fb)](!0x0);}[_0x224eea(0x1f5)](_0x4ea2a7){const _0x396ff7=_0x224eea;super[_0x396ff7(0x1f5)](_0x4ea2a7),this[_0x396ff7(0x1dd)][_0x396ff7(0x1f4)](this[_0x396ff7(0x1a7)])||this[_0x396ff7(0x1dd)][_0x396ff7(0x1d9)](this[_0x396ff7(0x1a7)],0x0);}[_0x224eea(0x1da)](){const _0x518bfe=_0x224eea;super[_0x518bfe(0x1da)](),this[_0x518bfe(0x197)]();}[_0x224eea(0x1f7)](_0x25d3ca){const _0x275362=_0x224eea;super[_0x275362(0x1f7)](_0x25d3ca),this[_0x275362(0x1d5)]();}[_0x224eea(0x1cc)](_0x2f524f){const _0x5690b0=_0x224eea;this[_0x5690b0(0x1b3)][_0x5690b0(0x1ea)][_0x5690b0(0x1f4)](_0x2f524f)||this[_0x5690b0(0x1b3)][_0x5690b0(0x1ea)][_0x5690b0(0x1d9)](_0x2f524f);}[_0x224eea(0x1c9)](_0x4627a6){const _0x1fc79d=_0x224eea;this[_0x1fc79d(0x1b3)][_0x1fc79d(0x1ea)][_0x1fc79d(0x1f4)](_0x4627a6)&&this[_0x1fc79d(0x1b3)][_0x1fc79d(0x1ea)][_0x1fc79d(0x1f8)](_0x4627a6);}[_0x224eea(0x1e1)](){const _0x9c667=_0x224eea;this[_0x9c667(0x201)]&&(this[_0x9c667(0x1ff)]=!0x0);}[_0x224eea(0x195)](){const _0x4ab9a4=_0x224eea;this[_0x4ab9a4(0x201)]&&(this[_0x4ab9a4(0x1ff)]=!0x1);}[_0x224eea(0x1f2)]({showApplyButton:_0x3d5186,showSuggestButton:_0x2d1f97}){const _0x4b99d9=_0x224eea;_0x3d5186=_0x3d5186&&!this[_0x4b99d9(0x1e2)]&&this[_0x4b99d9(0x1ba)][_0x4b99d9(0x1ed)][_0x4b99d9(0x1e9)](_0x4b99d9(0x1d0)),_0x2d1f97=_0x2d1f97&&this[_0x4b99d9(0x1ba)][_0x4b99d9(0x1ed)][_0x4b99d9(0x1e9)](_0x4b99d9(0x203)),this[_0x4b99d9(0x1af)][_0x4b99d9(0x1f1)]({'showApplyButton':_0x3d5186,'showSuggestButton':_0x2d1f97});}async[_0x224eea(0x194)](_0x570789){const _0x43b3d4=_0x224eea;await this[_0x43b3d4(0x1a6)][_0x43b3d4(0x1ec)](_0x570789);}[_0x224eea(0x19a)](){const _0x542081=_0x224eea;this[_0x542081(0x1a6)][_0x542081(0x19e)]();}[_0x224eea(0x1a8)](_0x3527ae){const _0x181406=_0x224eea;this[_0x181406(0x209)]=new _0x171f90(this[_0x181406(0x204)]),this[_0x181406(0x209)][_0x181406(0x19f)]({'tag':_0x181406(0x1b7),'attributes':{'class':[_0x181406(0x1b2)]},'children':[{'tag':_0x181406(0x1b7),'attributes':{'class':[_0x181406(0x1cf)]},'children':[this[_0x181406(0x1f0)](),this[_0x181406(0x1cb)]()]},this[_0x181406(0x1b5)](_0x3527ae[_0x181406(0x207)])]}),this[_0x181406(0x1dd)][_0x181406(0x1d9)](this[_0x181406(0x209)]);}[_0x224eea(0x208)](){const _0x3779c0=_0x224eea;this[_0x3779c0(0x1c1)]=new _0x530772(this[_0x3779c0(0x204)]),this[_0x3779c0(0x1dd)][_0x3779c0(0x1d9)](this[_0x3779c0(0x1c1)]);}[_0x224eea(0x19d)]({showApplyButton:_0x1fb0d6,showSuggestButton:_0xbf7474}){const _0x526616=_0x224eea;this[_0x526616(0x1af)]=new _0x5a0661(this[_0x526616(0x204)],_0x1fb0d6,_0xbf7474),this[_0x526616(0x1af)][_0x526616(0x1f6)]?.['on'](_0x526616(0x1ee),()=>{const _0x284367=_0x526616;this[_0x284367(0x202)](_0x284367(0x1d0));}),this[_0x526616(0x1af)][_0x526616(0x1e0)]?.['on'](_0x526616(0x1ee),()=>{const _0x36aa4c=_0x526616;this[_0x36aa4c(0x202)](_0x36aa4c(0x203));}),this[_0x526616(0x1af)][_0x526616(0x1cd)](_0x526616(0x1db))['to'](this,_0x526616(0x1d4),this,_0x526616(0x1ff),this,_0x526616(0x1be),(_0x50504a,_0x398f6e,_0x324dc2)=>!(_0x50504a||_0x398f6e||_0x324dc2)),this[_0x526616(0x1f2)]({'showApplyButton':_0x1fb0d6,'showSuggestButton':_0xbf7474}),this[_0x526616(0x1dd)][_0x526616(0x1d9)](this[_0x526616(0x1af)]);}[_0x224eea(0x1b5)](_0x26d182){const _0x3f9855=_0x224eea;return this[_0x3f9855(0x1b3)]=new _0x1ca934(this[_0x3f9855(0x204)],_0x26d182),this[_0x3f9855(0x1b3)][_0x3f9855(0x205)](..._0x363485)['to'](this),this[_0x3f9855(0x1b3)]['on'](_0x3f9855(0x1b0),()=>{const _0x257f3d=_0x3f9855;this[_0x257f3d(0x1b3)][_0x257f3d(0x200)]=!this[_0x257f3d(0x1b3)][_0x257f3d(0x200)],this[_0x257f3d(0x202)](_0x257f3d(0x1d7),{'showDiff':this[_0x257f3d(0x1b3)][_0x257f3d(0x200)]});}),this[_0x3f9855(0x1b3)][_0x3f9855(0x1cd)](_0x3f9855(0x1db))['to'](this,_0x3f9855(0x1d4),this,_0x3f9855(0x1ff),(_0x16a1ec,_0x52dfee)=>!(_0x16a1ec||_0x52dfee)),this[_0x3f9855(0x1b3)];}[_0x224eea(0x1f0)](){const _0x2bcb4e=_0x224eea;return this[_0x2bcb4e(0x201)]=new _0x9d482e(this[_0x2bcb4e(0x204)]),this[_0x2bcb4e(0x201)][_0x2bcb4e(0x1cd)](_0x2bcb4e(0x19b))['to'](this,_0x2bcb4e(0x1ff)),this[_0x2bcb4e(0x201)];}[_0x224eea(0x1cb)](){const _0x89956a=_0x224eea;return this[_0x89956a(0x1a6)]=new _0x268c6f(this[_0x89956a(0x204)]),this[_0x89956a(0x1a6)];}[_0x224eea(0x1ce)](){const _0x53472e=_0x224eea,_0xe694e7=new _0x4fba18(this[_0x53472e(0x204)]),_0xfe6a4e=new _0x4fba18(this[_0x53472e(0x204)]),_0x21ba48=new Ln(this[_0x53472e(0x204)]),_0xbbcd5c=new _0x4fba18(this[_0x53472e(0x204)]);_0xe694e7[_0x53472e(0x1a1)]({'icon':_0x2a0d6c,'label':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1ae)),'tooltip':!0x0,'class':_0x53472e(0x1c5)}),_0xfe6a4e[_0x53472e(0x1a1)]({'icon':_0x6c249c,'tooltip':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1fc)),'class':_0x53472e(0x1a2)}),_0xbbcd5c[_0x53472e(0x1a1)]({'icon':_0x27158a,'tooltip':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1df)),'class':_0x53472e(0x1bd)}),_0xe694e7[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x2ab933=>!_0x2ab933),_0xe694e7['on'](_0x53472e(0x1ee),()=>{const _0x32bf14=_0x53472e;this[_0x32bf14(0x202)](_0x32bf14(0x1bc));}),_0xfe6a4e[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x5c975d=>!_0x5c975d),_0xfe6a4e['on'](_0x53472e(0x1ee),()=>{const _0xa4d974=_0x53472e;this[_0xa4d974(0x202)](_0xa4d974(0x1bf));}),_0xbbcd5c[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x3ffd5a=>!_0x3ffd5a),_0xbbcd5c['on'](_0x53472e(0x1ee),()=>{const _0x4b817d=_0x53472e;this[_0x4b817d(0x202)](_0x4b817d(0x1d2));}),this[_0x53472e(0x1c6)]=_0xfe6a4e,this[_0x53472e(0x1d8)]=_0x21ba48,this[_0x53472e(0x1e3)]=_0xbbcd5c,this[_0x53472e(0x1ad)]=_0xe694e7;}[_0x224eea(0x193)](_0x2082af,_0x5c380e){const _0xcb2743=_0x224eea;this[_0xcb2743(0x1c6)]||this[_0xcb2743(0x1ce)]();const _0x22ac3f=_0x2082af>0x1;if(this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1ad)]),_0x22ac3f){this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1c6)]),this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1d8)]),this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1e3)]);const _0x3ec545=_0x2082af-_0x5c380e;this[_0xcb2743(0x1d8)][_0xcb2743(0x1f3)](_0x3ec545+'/'+_0x2082af),this[_0xcb2743(0x1c6)][_0xcb2743(0x1db)]=_0x5c380e<_0x2082af-0x1,this[_0xcb2743(0x1e3)][_0xcb2743(0x1db)]=_0x5c380e>0x0;}else this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1c6)]),this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1d8)]),this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1e3)]);}[_0x224eea(0x1ef)](){const _0x210cff=_0x224eea;this[_0x210cff(0x1ad)][_0x210cff(0x1db)]=!0x1,this[_0x210cff(0x1c6)][_0x210cff(0x1db)]=!0x1,this[_0x210cff(0x1e3)][_0x210cff(0x1db)]=!0x1;}[_0x224eea(0x196)](){const _0xd39736=_0x224eea;this[_0xd39736(0x198)](),this[_0xd39736(0x1c3)]&&this[_0xd39736(0x1c3)][_0xd39736(0x1f9)]();}[_0x224eea(0x1b9)](){const _0x330b5c=_0x224eea;this[_0x330b5c(0x1c3)]&&this[_0x330b5c(0x1c3)][_0x330b5c(0x1bb)]();}[_0x224eea(0x1a3)](_0x281b7b){const _0x4d9ce9=_0x224eea;this[_0x4d9ce9(0x1ff)]=_0x281b7b;}[_0x224eea(0x1ca)](){const _0x11c2a7=_0x224eea;this[_0x11c2a7(0x1b3)][_0x11c2a7(0x200)]=!0x1;}[_0x224eea(0x198)](){const _0x1c35b4=_0x224eea,_0x5c6f1e=this[_0x1c35b4(0x1b4)]();_0x5c6f1e&&!this[_0x1c35b4(0x1c3)]&&(this[_0x1c35b4(0x1c3)]=new _0x44eeaa(_0x5c6f1e));}[_0x224eea(0x1b4)](){const _0x4d4db0=_0x224eea;return this[_0x4d4db0(0x1a6)][_0x4d4db0(0x1ab)];}}class Ln extends _0x171f90{constructor(_0x56e102){const _0x161768=_0x224eea;super(_0x56e102);const _0x44560e=this[_0x161768(0x199)];this[_0x161768(0x1a1)](_0x161768(0x19c),_0x161768(0x1c7)),this[_0x161768(0x19f)]({'tag':_0x161768(0x1de),'attributes':{'class':[_0x161768(0x1fd)]},'children':[{'text':_0x44560e['to'](_0x161768(0x19c))}]});}[_0x224eea(0x1f3)](_0x44bf84){const _0x4c1a10=_0x224eea;this[_0x4c1a10(0x1a1)](_0x4c1a10(0x19c),_0x44bf84);}}
|
|
23
|
+
const _0x5ee445=_0x4de9;(function(_0x1ac377,_0x33cc77){const _0x1b4396=_0x4de9,_0x13bbb1=_0x1ac377();while(!![]){try{const _0x19c3fa=parseInt(_0x1b4396(0x6b))/0x1+-parseInt(_0x1b4396(0xb1))/0x2+-parseInt(_0x1b4396(0xd8))/0x3*(-parseInt(_0x1b4396(0x6c))/0x4)+parseInt(_0x1b4396(0xbc))/0x5+parseInt(_0x1b4396(0xaf))/0x6*(-parseInt(_0x1b4396(0x7b))/0x7)+-parseInt(_0x1b4396(0xb6))/0x8+parseInt(_0x1b4396(0xc2))/0x9;if(_0x19c3fa===_0x33cc77)break;else _0x13bbb1['push'](_0x13bbb1['shift']());}catch(_0x341b20){_0x13bbb1['push'](_0x13bbb1['shift']());}}}(_0x3b0b,0xdbf15));import{ViewCollection as _0x1764e5,FocusCycler as _0x7bb7e4,ButtonView as _0x1c9e4c,View as _0x3a5e41}from'ckeditor5/src/ui.js';import{FocusTracker as _0x631450,KeystrokeHandler as _0x3c8e9d}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x37a825}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x10a431}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5a5d2d}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1aa1a1}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5a6a18}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x4970b5}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x4de9(_0x422798,_0x24c8fa){const _0x3b0bbc=_0x3b0b();return _0x4de9=function(_0x4de927,_0x2f3e34){_0x4de927=_0x4de927-0x65;let _0x33e6a1=_0x3b0bbc[_0x4de927];return _0x33e6a1;},_0x4de9(_0x422798,_0x24c8fa);}import{AISuggestionStreamableContentView as _0x1f28a9}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x3b2817,IconPreviousArrow as _0x35e375,IconRefresh as _0x51f6d5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4ae0a0}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x4f0782}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x5ee445(0x82),_0x5ee445(0x70)];export class AIActionsBalloonView extends _0x4f0782{[_0x5ee445(0x6a)];[_0x5ee445(0xab)];[_0x5ee445(0xb0)];[_0x5ee445(0xca)];[_0x5ee445(0x65)];[_0x5ee445(0x91)];[_0x5ee445(0x76)];[_0x5ee445(0xb8)];[_0x5ee445(0x77)];[_0x5ee445(0x93)];[_0x5ee445(0xa2)];[_0x5ee445(0xbf)];[_0x5ee445(0xa3)];[_0x5ee445(0xac)];[_0x5ee445(0x96)];[_0x5ee445(0x67)];[_0x5ee445(0xb4)];constructor(_0x3105ac,_0x37a59f){const _0x514c67=_0x5ee445;super(_0x3105ac),this[_0x514c67(0xa5)](_0x514c67(0xb3),!0x1),this[_0x514c67(0xa5)](_0x514c67(0xa1),!0x1),this[_0x514c67(0xa5)](_0x514c67(0x9b),!0x1),this[_0x514c67(0xa5)](_0x514c67(0xc0),!0x1),this[_0x514c67(0xab)]=_0x37a59f,this[_0x514c67(0x77)]=new _0x631450(),this[_0x514c67(0x93)]=new _0x3c8e9d(),this[_0x514c67(0xbf)]=this[_0x514c67(0xc1)](),this[_0x514c67(0x6a)]=new _0x7bb7e4({'focusables':this[_0x514c67(0xbf)],'focusTracker':this[_0x514c67(0x77)],'keystrokeHandler':this[_0x514c67(0x93)],'actions':{'focusPrevious':_0x514c67(0xa7),'focusNext':_0x514c67(0x8f)}}),this[_0x514c67(0xa2)]=new _0x1764e5(),this[_0x514c67(0xd9)](_0x37a59f),this[_0x514c67(0x90)](),this[_0x514c67(0x78)](_0x37a59f),this[_0x514c67(0xbf)][_0x514c67(0xc3)](),this[_0x514c67(0xbf)][_0x514c67(0xbd)]([this[_0x514c67(0x65)]]),this[_0x514c67(0xda)]({'tag':_0x514c67(0x8a),'attributes':{'class':[_0x514c67(0xc9)]},'children':this[_0x514c67(0xa2)]}),this['on'](_0x514c67(0x99),()=>{const _0x3ac55c=_0x514c67;this[_0x3ac55c(0xd4)](_0x37a59f);});}[_0x5ee445(0x86)](){const _0xd6943f=_0x5ee445;super[_0xd6943f(0x86)]();for(const _0x13656c of this[_0xd6943f(0xbf)])this[_0xd6943f(0x77)][_0xd6943f(0xc6)](_0x13656c[_0xd6943f(0xaa)]);this[_0xd6943f(0x93)][_0xd6943f(0x7d)](this[_0xd6943f(0xaa)]),this[_0xd6943f(0xb5)]();}[_0x5ee445(0xa8)](){const _0x2d63c5=_0x5ee445;super[_0x2d63c5(0xa8)](),this[_0x2d63c5(0xa3)]&&this[_0x2d63c5(0xa3)][_0x2d63c5(0xa8)]();}[_0x5ee445(0xcf)](_0xc15e41){const _0x4b3c25=_0x5ee445;-0x1===_0xc15e41?this[_0x4b3c25(0x6a)][_0x4b3c25(0x7f)]():this[_0x4b3c25(0x6a)][_0x4b3c25(0xad)]();}[_0x5ee445(0x73)](_0x4c63a4){const _0x34f1cf=_0x5ee445;this[_0x34f1cf(0x9b)]=_0x4c63a4;}[_0x5ee445(0x9f)](){const _0x1a2922=_0x5ee445;this[_0x1a2922(0xc0)]=!0x0,this[_0x1a2922(0x91)][_0x1a2922(0x81)](!0x1);}[_0x5ee445(0xa4)](){const _0x472407=_0x5ee445;this[_0x472407(0xc0)]=!0x1,this[_0x472407(0x91)][_0x472407(0x81)](!0x0);}[_0x5ee445(0x75)](_0x26a256){const _0x394333=_0x5ee445;super[_0x394333(0x75)](_0x26a256),this[_0x394333(0xa2)][_0x394333(0xa6)](this[_0x394333(0x79)])||this[_0x394333(0xa2)][_0x394333(0xc6)](this[_0x394333(0x79)],0x0);}[_0x5ee445(0x8c)](){const _0xe980b5=_0x5ee445;super[_0xe980b5(0x8c)](),this[_0xe980b5(0xa4)]();}[_0x5ee445(0xd6)](_0x20f371){const _0x8d91cf=_0x5ee445;super[_0x8d91cf(0xd6)](_0x20f371),this[_0x8d91cf(0x9f)]();}[_0x5ee445(0x9c)](_0x2fc726){const _0xbd8804=_0x5ee445;this[_0xbd8804(0x91)][_0xbd8804(0xc5)][_0xbd8804(0xa6)](_0x2fc726)||this[_0xbd8804(0x91)][_0xbd8804(0xc5)][_0xbd8804(0xc6)](_0x2fc726);}[_0x5ee445(0x87)](_0x457e49){const _0x69bf88=_0x5ee445;this[_0x69bf88(0x91)][_0x69bf88(0xc5)][_0x69bf88(0xa6)](_0x457e49)&&this[_0x69bf88(0x91)][_0x69bf88(0xc5)][_0x69bf88(0xa9)](_0x457e49);}[_0x5ee445(0x68)](){const _0x592768=_0x5ee445;this[_0x592768(0x76)]&&(this[_0x592768(0x9b)]=!0x0);}[_0x5ee445(0x6d)](){const _0x32a9d6=_0x5ee445;this[_0x32a9d6(0x76)]&&(this[_0x32a9d6(0x9b)]=!0x1);}[_0x5ee445(0xd4)]({showApplyButton:_0x5392f0,showSuggestButton:_0x526283}){const _0x4827f3=_0x5ee445;_0x5392f0=_0x5392f0&&!this[_0x4827f3(0xa1)]&&this[_0x4827f3(0xab)][_0x4827f3(0x97)][_0x4827f3(0xb9)](_0x4827f3(0x82)),_0x526283=_0x526283&&this[_0x4827f3(0xab)][_0x4827f3(0x97)][_0x4827f3(0xb9)](_0x4827f3(0x70)),this[_0x4827f3(0x65)][_0x4827f3(0x95)]({'showApplyButton':_0x5392f0,'showSuggestButton':_0x526283});}async[_0x5ee445(0x85)](_0x3dae6c){const _0x10b309=_0x5ee445;await this[_0x10b309(0xca)][_0x10b309(0xb2)](_0x3dae6c);}[_0x5ee445(0xae)](){const _0x10ad3f=_0x5ee445;this[_0x10ad3f(0xca)][_0x10ad3f(0xc3)]();}[_0x5ee445(0xd9)](_0xd24049){const _0x31d87c=_0x5ee445;this[_0x31d87c(0xb0)]=new _0x3a5e41(this[_0x31d87c(0x71)]),this[_0x31d87c(0xb0)][_0x31d87c(0xda)]({'tag':_0x31d87c(0x8a),'attributes':{'class':[_0x31d87c(0xba)]},'children':[{'tag':_0x31d87c(0x8a),'attributes':{'class':[_0x31d87c(0xd7)]},'children':[this[_0x31d87c(0xbb)](),this[_0x31d87c(0xc4)]()]},this[_0x31d87c(0x69)](_0xd24049[_0x31d87c(0xcb)])]}),this[_0x31d87c(0xa2)][_0x31d87c(0xc6)](this[_0x31d87c(0xb0)]);}[_0x5ee445(0x90)](){const _0x5dc70b=_0x5ee445;this[_0x5dc70b(0xb8)]=new _0x10a431(this[_0x5dc70b(0x71)]),this[_0x5dc70b(0xa2)][_0x5dc70b(0xc6)](this[_0x5dc70b(0xb8)]);}[_0x5ee445(0x78)]({showApplyButton:_0x3dd2db,showSuggestButton:_0x4a7bd7}){const _0x58486b=_0x5ee445;this[_0x58486b(0x65)]=new _0x37a825(this[_0x58486b(0x71)],_0x3dd2db,_0x4a7bd7),this[_0x58486b(0x65)][_0x58486b(0xd5)]?.['on'](_0x58486b(0x8b),()=>{const _0x389c2d=_0x58486b;this[_0x389c2d(0x8e)](_0x389c2d(0x82));}),this[_0x58486b(0x65)][_0x58486b(0xbe)]?.['on'](_0x58486b(0x8b),()=>{const _0x530dcc=_0x58486b;this[_0x530dcc(0x8e)](_0x530dcc(0x70));}),this[_0x58486b(0x65)][_0x58486b(0xc8)](_0x58486b(0x89))['to'](this,_0x58486b(0xb3),this,_0x58486b(0x9b),this,_0x58486b(0xc0),(_0xe0452d,_0x4e1e24,_0x35994e)=>!(_0xe0452d||_0x4e1e24||_0x35994e)),this[_0x58486b(0xd4)]({'showApplyButton':_0x3dd2db,'showSuggestButton':_0x4a7bd7}),this[_0x58486b(0xa2)][_0x58486b(0xc6)](this[_0x58486b(0x65)]);}[_0x5ee445(0x69)](_0x48b600){const _0x49c1fd=_0x5ee445;return this[_0x49c1fd(0x91)]=new _0x1aa1a1(this[_0x49c1fd(0x71)],_0x48b600),this[_0x49c1fd(0x91)][_0x49c1fd(0xc7)](..._0x5a6a18)['to'](this),this[_0x49c1fd(0x91)]['on'](_0x49c1fd(0x9e),()=>{const _0x1d6212=_0x49c1fd;this[_0x1d6212(0x91)][_0x1d6212(0xcd)]=!this[_0x1d6212(0x91)][_0x1d6212(0xcd)],this[_0x1d6212(0x8e)](_0x1d6212(0xd1),{'showDiff':this[_0x1d6212(0x91)][_0x1d6212(0xcd)]});}),this[_0x49c1fd(0x91)][_0x49c1fd(0xc8)](_0x49c1fd(0x89))['to'](this,_0x49c1fd(0xb3),this,_0x49c1fd(0x9b),(_0x2aeadf,_0x25edf7)=>!(_0x2aeadf||_0x25edf7)),this[_0x49c1fd(0x91)];}[_0x5ee445(0xbb)](){const _0x3339ed=_0x5ee445;return this[_0x3339ed(0x76)]=new _0x4970b5(this[_0x3339ed(0x71)]),this[_0x3339ed(0x76)][_0x3339ed(0xc8)](_0x3339ed(0xdb))['to'](this,_0x3339ed(0x9b)),this[_0x3339ed(0x76)];}[_0x5ee445(0xc4)](){const _0x1efa7d=_0x5ee445;return this[_0x1efa7d(0xca)]=new _0x1f28a9(this[_0x1efa7d(0x71)]),this[_0x1efa7d(0xca)];}[_0x5ee445(0x74)](){const _0x16186a=_0x5ee445,_0x2b3db3=new _0x1c9e4c(this[_0x16186a(0x71)]),_0xabc2a6=new _0x1c9e4c(this[_0x16186a(0x71)]),_0x22e9a4=new AIActionsBalloonNavigationCounterView(this[_0x16186a(0x71)]),_0x194566=new _0x1c9e4c(this[_0x16186a(0x71)]);_0x2b3db3[_0x16186a(0xa5)]({'icon':_0x51f6d5,'label':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0x80)),'tooltip':!0x0,'class':_0x16186a(0x98)}),_0xabc2a6[_0x16186a(0xa5)]({'icon':_0x35e375,'tooltip':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0xd3)),'class':_0x16186a(0x88)}),_0x194566[_0x16186a(0xa5)]({'icon':_0x3b2817,'tooltip':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0x66)),'class':_0x16186a(0xd0)}),_0x2b3db3[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x2109d3=>!_0x2109d3),_0x2b3db3['on'](_0x16186a(0x8b),()=>{const _0x476dc4=_0x16186a;this[_0x476dc4(0x8e)](_0x476dc4(0x9d));}),_0xabc2a6[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x464066=>!_0x464066),_0xabc2a6['on'](_0x16186a(0x8b),()=>{const _0x42d8a3=_0x16186a;this[_0x42d8a3(0x8e)](_0x42d8a3(0x84));}),_0x194566[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x4b02da=>!_0x4b02da),_0x194566['on'](_0x16186a(0x8b),()=>{const _0x13f7ac=_0x16186a;this[_0x13f7ac(0x8e)](_0x13f7ac(0x83));}),this[_0x16186a(0xac)]=_0xabc2a6,this[_0x16186a(0xb4)]=_0x22e9a4,this[_0x16186a(0x96)]=_0x194566,this[_0x16186a(0x67)]=_0x2b3db3;}[_0x5ee445(0xcc)](_0x36f48c,_0x2bf093){const _0x18c5ab=_0x5ee445;this[_0x18c5ab(0xac)]||this[_0x18c5ab(0x74)]();const _0x5d6539=_0x36f48c>0x1;if(this[_0x18c5ab(0x9c)](this[_0x18c5ab(0x67)]),_0x5d6539){this[_0x18c5ab(0x9c)](this[_0x18c5ab(0xac)]),this[_0x18c5ab(0x9c)](this[_0x18c5ab(0xb4)]),this[_0x18c5ab(0x9c)](this[_0x18c5ab(0x96)]);const _0xc4aad6=_0x36f48c-_0x2bf093;this[_0x18c5ab(0xb4)][_0x18c5ab(0xa0)](_0xc4aad6+'/'+_0x36f48c),this[_0x18c5ab(0xac)][_0x18c5ab(0x89)]=_0x2bf093<_0x36f48c-0x1,this[_0x18c5ab(0x96)][_0x18c5ab(0x89)]=_0x2bf093>0x0;}else this[_0x18c5ab(0x87)](this[_0x18c5ab(0xac)]),this[_0x18c5ab(0x87)](this[_0x18c5ab(0xb4)]),this[_0x18c5ab(0x87)](this[_0x18c5ab(0x96)]);}[_0x5ee445(0x7e)](){const _0x3c9dd8=_0x5ee445;this[_0x3c9dd8(0x67)][_0x3c9dd8(0x89)]=!0x1,this[_0x3c9dd8(0xac)][_0x3c9dd8(0x89)]=!0x1,this[_0x3c9dd8(0x96)][_0x3c9dd8(0x89)]=!0x1;}[_0x5ee445(0x6f)](){const _0x5b560=_0x5ee445;this[_0x5b560(0xb5)](),this[_0x5b560(0xa3)]&&this[_0x5b560(0xa3)][_0x5b560(0x9a)]();}[_0x5ee445(0xd2)](){const _0x2ce00d=_0x5ee445;this[_0x2ce00d(0xa3)]&&this[_0x2ce00d(0xa3)][_0x2ce00d(0xb7)]();}[_0x5ee445(0x92)](_0xd6709a){const _0x48c4b5=_0x5ee445;this[_0x48c4b5(0x9b)]=_0xd6709a;}[_0x5ee445(0x7c)](){const _0x39ec48=_0x5ee445;this[_0x39ec48(0x91)][_0x39ec48(0xcd)]=!0x1;}[_0x5ee445(0xb5)](){const _0x5569a6=_0x5ee445,_0x465549=this[_0x5569a6(0x72)]();_0x465549&&!this[_0x5569a6(0xa3)]&&(this[_0x5569a6(0xa3)]=new _0x5a5d2d(_0x465549));}[_0x5ee445(0x72)](){const _0x1f02c1=_0x5ee445;return this[_0x1f02c1(0xca)][_0x1f02c1(0xaa)];}}class AIActionsBalloonNavigationCounterView extends _0x3a5e41{constructor(_0x58bb1b){const _0x402a30=_0x5ee445;super(_0x58bb1b);const _0x145b38=this[_0x402a30(0x7a)];this[_0x402a30(0xa5)](_0x402a30(0xce),_0x402a30(0x94)),this[_0x402a30(0xda)]({'tag':_0x402a30(0x8d),'attributes':{'class':[_0x402a30(0x6e)]},'children':[{'text':_0x145b38['to'](_0x402a30(0xce))}]});}[_0x5ee445(0xa0)](_0x360547){const _0x2aa446=_0x5ee445;this[_0x2aa446(0xa5)](_0x2aa446(0xce),_0x360547);}}function _0x3b0b(){const _0x170dd0=['isShowChangesOn','interactionCount','focus','ck-ai-navigation-button\x20ck-ai-next-button','toggleSuggestionDisplayMode','stopAutoScroll','AI_ACTIONS_PREVIOUS_INTERACTION','_toggleToolbarButtonsVisibility','applyButton','showBlockingError','ck-ai-actions-balloon-content-wrapper','16131HWHOkt','_addContentWrapper','setTemplate','isVisible','_toolbarView','AI_ACTIONS_NEXT_INTERACTION','_navigationTryAgainButton','showLoader','_createMiniToolbar','focusCycler','455153aplySz','640dsuqgm','hideLoader','ck-ai-interaction-counter','startAutoScroll','insertSuggestion','locale','_getScrollableElement','setIsLoading','_setupMiniToolbarButtons','showError','_loaderView','_focusTracker','_addToolbar','_errorView','bindTemplate','2490292HgcYKw','resetShowChangesButton','listenTo','disableMiniToolbarButtons','focusLast','AI_ACTIONS_TRY_AGAIN','toggleShowChangesEnabled','applySuggestion','showNext','showPrevious','updateContent','render','removeMiniToolbarItem','ck-ai-navigation-button\x20ck-ai-previous-button','isEnabled','div','execute','hideError','span','fire','tab','_addDisclaimerView','_miniToolbarView','toggleIsLoading','_keystrokes','1/1','setButtonsVisibility','_navigationNextButton','availableActions','ck-ai-custom-action-button','change:isTrackChangesOn','start','_isLoading','addMiniToolbarItem','tryAgain','toggleShowChanges','setErrorState','setInteractionCount','isTrackChangesOn','_dialogContent','_scrollManager','clearErrorState','set','has','shift\x20+\x20tab','destroy','remove','element','_config','_navigationPreviousButton','focusFirst','clearContent','18EgtbrU','_contentWrapper','2852848NyFtkn','update','isBusy','_navigationCounter','_initializeScrollManager','11664480IByagO','stop','_disclaimerView','includes','ck-ai-actions-balloon-content','_createLoaderView','2490790oJBJxO','addMany','suggestButton','_focusables','_hasError','createCollection','27351054xGYaJV','clear','_createStreamableContentView','items','add','delegate','bind','ck-ai-actions-balloon-main','_streamableContentView','miniToolbarConfig','updateMiniToolbarButtons'];_0x3b0b=function(){return _0x170dd0;};return _0x3b0b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x531594=_0xbd7a;function _0x1c9c(){const _0x2a5020=['235115xYMcUu','7176127gwFxJx','extendTemplate','2150433OhlTDp','18XQHnEb','add','30pZnZYX','_createArrowView','ck-dropdown-menu-list__nested-menu__button','3ywHWgq','set','render','isOn','5798397HDdbVt','1455844cYIqPr','8JfgTOL','mouseenter','arrowView','content','ck-dropdown-menu-list__nested-menu__button__arrow','222958bBiiSn','15471408muCwSD','menuitem','children','3swKtoe','bindTemplate'];_0x1c9c=function(){return _0x2a5020;};return _0x1c9c();}(function(_0x41f4c1,_0x8156e1){const _0xfe9b09=_0xbd7a,_0x1d3ca8=_0x41f4c1();while(!![]){try{const _0x353ad5=-parseInt(_0xfe9b09(0x93))/0x1*(-parseInt(_0xfe9b09(0x8f))/0x2)+-parseInt(_0xfe9b09(0x9e))/0x3*(parseInt(_0xfe9b09(0xa3))/0x4)+parseInt(_0xfe9b09(0x95))/0x5*(parseInt(_0xfe9b09(0x99))/0x6)+parseInt(_0xfe9b09(0x96))/0x7*(-parseInt(_0xfe9b09(0xa4))/0x8)+parseInt(_0xfe9b09(0x98))/0x9*(parseInt(_0xfe9b09(0x9b))/0xa)+-parseInt(_0xfe9b09(0xa2))/0xb+parseInt(_0xfe9b09(0x90))/0xc;if(_0x353ad5===_0x8156e1)break;else _0x1d3ca8['push'](_0x1d3ca8['shift']());}catch(_0x26f568){_0x1d3ca8['push'](_0x1d3ca8['shift']());}}}(_0x1c9c,0x8a068));import{IconView as _0x1ac0dd,ListItemButtonView as _0x40db6f}from'ckeditor5/src/ui.js';function _0xbd7a(_0x99c5f9,_0x29db6f){const _0x1c9c81=_0x1c9c();return _0xbd7a=function(_0xbd7a92,_0x5080e6){_0xbd7a92=_0xbd7a92-0x8d;let _0x3c0e74=_0x1c9c81[_0xbd7a92];return _0x3c0e74;},_0xbd7a(_0x99c5f9,_0x29db6f);}import{IconDropdownArrow as _0xb1a2e}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x40db6f{[_0x531594(0xa6)];constructor(_0x421439,_0x744528){const _0x48b95d=_0x531594;super(_0x421439,_0x744528);const _0x5390ab=this[_0x48b95d(0x94)];this[_0x48b95d(0x9f)]({'withText':!0x0,'role':_0x48b95d(0x91)}),this[_0x48b95d(0xa6)]=this[_0x48b95d(0x9c)](),this[_0x48b95d(0x97)]({'attributes':{'class':[_0x48b95d(0x9d)],'aria-haspopup':!0x0,'aria-expanded':this[_0x48b95d(0x94)]['to'](_0x48b95d(0xa1),_0x573a2a=>String(_0x573a2a)),'data-cke-tooltip-disabled':_0x5390ab['to'](_0x48b95d(0xa1))},'on':{'mouseenter':_0x5390ab['to'](_0x48b95d(0xa5))}});}[_0x531594(0xa0)](){const _0x3e0945=_0x531594;super[_0x3e0945(0xa0)](),this[_0x3e0945(0x92)][_0x3e0945(0x9a)](this[_0x3e0945(0xa6)]);}[_0x531594(0x9c)](){const _0x2ed9d7=_0x531594,_0x33c36a=new _0x1ac0dd();return _0x33c36a[_0x2ed9d7(0x8d)]=_0xb1a2e,_0x33c36a[_0x2ed9d7(0x97)]({'attributes':{'class':_0x2ed9d7(0x8e)}}),_0x33c36a;}}
|