@ckeditor/ckeditor5-ai 47.7.2 → 47.7.3
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
|
-
|
|
23
|
+
const _0x56798a=_0x5991;(function(_0x16adfc,_0x277574){const _0x2c4dad=_0x5991,_0x69c743=_0x16adfc();while(!![]){try{const _0x26e9ba=parseInt(_0x2c4dad(0xea))/0x1+-parseInt(_0x2c4dad(0xf3))/0x2*(-parseInt(_0x2c4dad(0xe4))/0x3)+parseInt(_0x2c4dad(0xdc))/0x4*(-parseInt(_0x2c4dad(0xe7))/0x5)+parseInt(_0x2c4dad(0xe6))/0x6+-parseInt(_0x2c4dad(0xde))/0x7+parseInt(_0x2c4dad(0xee))/0x8+-parseInt(_0x2c4dad(0xe2))/0x9;if(_0x26e9ba===_0x277574)break;else _0x69c743['push'](_0x69c743['shift']());}catch(_0x329387){_0x69c743['push'](_0x69c743['shift']());}}}(_0x362b,0xcdf90));import{Plugin as _0x4952c2}from'ckeditor5/src/core.js';function _0x5991(_0x4d0b0e,_0xd0ee5a){const _0x362bdd=_0x362b();return _0x5991=function(_0x59911e,_0x2364af){_0x59911e=_0x59911e-0xda;let _0x49e09a=_0x362bdd[_0x59911e];return _0x49e09a;},_0x5991(_0x4d0b0e,_0xd0ee5a);}function _0x362b(){const _0x618483=['removeSelectionFromChatContext','121245LkrDDY','directChange','10034286yyhsVO','23540ifToOI','editor','has','873399LFOeDk','pluginName','AIQuickActionsEditing','change:range','1713136ypQzSJ','plugins','selection','AIChat','document','14DADjhH','isPremiumPlugin','get','add','init','1072hvfjVA','model','312970XTxcsR','commands','aiQuickAction','isOfficialPlugin','8034381zwLwHa'];_0x362b=function(){return _0x618483;};return _0x362b();}import{AIQuickActionsCommand as _0x194e04}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x4952c2{static get[_0x56798a(0xeb)](){const _0x1e57bf=_0x56798a;return _0x1e57bf(0xec);}static get[_0x56798a(0xe1)](){return!0x0;}static get[_0x56798a(0xf4)](){return!0x0;}[_0x56798a(0xdb)](){const _0x507ace=_0x56798a,_0x37d798=this[_0x507ace(0xe8)],_0x4b1d74=new _0x194e04(this[_0x507ace(0xe8)]);if(_0x37d798[_0x507ace(0xdf)][_0x507ace(0xda)](_0x507ace(0xe0),_0x4b1d74),_0x37d798[_0x507ace(0xef)][_0x507ace(0xe9)](_0x507ace(0xf1))){const _0x1cf946=this[_0x507ace(0xe8)][_0x507ace(0xef)][_0x507ace(0xf5)](_0x507ace(0xf1));_0x37d798[_0x507ace(0xdd)][_0x507ace(0xf2)][_0x507ace(0xf0)]['on'](_0x507ace(0xed),(_0x6e263,_0x46c64e)=>{const _0x437cee=_0x507ace;_0x46c64e[_0x437cee(0xe5)]&&_0x1cf946[_0x437cee(0xe3)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x332c23=_0x2ccc;(function(_0x3556a9,_0x19a833){const _0x4ffe2b=_0x2ccc,_0x212c60=_0x3556a9();while(!![]){try{const _0x3ad484=parseInt(_0x4ffe2b(0x1e1))/0x1*(-parseInt(_0x4ffe2b(0x1db))/0x2)+parseInt(_0x4ffe2b(0x1fa))/0x3*(parseInt(_0x4ffe2b(0x1f4))/0x4)+parseInt(_0x4ffe2b(0x1cf))/0x5+parseInt(_0x4ffe2b(0x1e9))/0x6*(parseInt(_0x4ffe2b(0x1d5))/0x7)+parseInt(_0x4ffe2b(0x1e8))/0x8*(parseInt(_0x4ffe2b(0x231))/0x9)+parseInt(_0x4ffe2b(0x221))/0xa+-parseInt(_0x4ffe2b(0x243))/0xb;if(_0x3ad484===_0x19a833)break;else _0x212c60['push'](_0x212c60['shift']());}catch(_0x21c0c6){_0x212c60['push'](_0x212c60['shift']());}}}(_0x4928,0xdbb9e));import{IconAIAdjustLength as _0x557265,IconAIChangeTone as _0x5c8e41,IconAIChatCommands as _0x27788d,IconAIContinueWriting as _0x46a027,IconAIGrammarCheck as _0x27d4db,IconAIImproveWriting as _0x2b6e2d,IconAIOther as _0x492433,IconAIQuickActions as _0x43d553,IconAITranslate as _0x23e066}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1bea86}from'ckeditor5/src/core.js';import{CKEditorError as _0x5bec33,logError as _0x42458c}from'ckeditor5/src/utils.js';import{getTranslation as _0x23ce49}from'../aicore/utils/common-translations.js';function _0x2ccc(_0x3d1459,_0x560861){const _0x4928b2=_0x4928();return _0x2ccc=function(_0x2cccbc,_0x10f37e){_0x2cccbc=_0x2cccbc-0x1ca;let _0x52db27=_0x4928b2[_0x2cccbc];return _0x52db27;},_0x2ccc(_0x3d1459,_0x560861);}import{aiQuickActionsDropdownCreator as _0x55546c}from'./ui/aiquickactionsdropdowncreator.js';function _0x4928(){const _0x157b05=['AI_QUICK_ACTIONS_TRANSLATE_SPANISH','<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>','_prepareQuickActionsDefinition','getAll','focus','_initializeQuickActionsMenuBar','config','AI_QUICK_ACTIONS_TRANSLATE','translate-to-chinese','german','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','ai.quickActions.removeCommands','_quickActionsDefinition','ai-quick-actions-unavailable-model','displayedPrompt','panelView','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_initializeQuickActionsComponents','_initializeQuickActionsComponentsAndCommands','french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','make-longer','pluginName','_initializeQuickActionsDropdown','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_DIRECT','english','commands','buttonView','translate-to-portuguese','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','get','7958480JGFxMc','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_ASK_AI','find','_executeQuickAction','model','message','<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>','_getDefaultAndCustomActions','translate-to-japanese','portuguese','set','translate-to-french','AI_QUICK_ACTIONS_MAKE_LONGER','init','126TwDMUc','ai-quick-actions-models-unable-to-retrieve','AIReviewMode','AI_QUICK_ACTIONS_EXPLAIN','add','fix-grammar','uiLanguage','translate-to-italian','chinese','filter','getDefaultQuickActions','translate','has','make-tone-professional','korean','translate-to-spanish','japanese','type','56754137VhZSie','plugins','map','language','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_IMPROVE_WRITING','componentFactory','AIActions','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','adjust-length','AI_QUICK_ACTIONS_CONTINUE_WRITING','values','menuBarView','ACTION','improve-writing','aiQuickActions','chat-commands','attachToDom','italian','isEnabled','requires','make-tone-casual','spanish','DisplayNames','label','includes','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-korean','REVIEW','translate-to-german','English','change-tone','_shouldIncludeAction','translate-to-russian','children','<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>','menuitem','AI_QUICK_ACTIONS_MAKE_SHORTER','aiQuickAction','length','locale','close','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','CHAT','7499140iNJrBd','make-tone-friendly','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','delegate','continue','10060351HMMvsf','russian','summarize','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','AIQuickActionsUI','771004EOwdvS','isOfficialPlugin','other','ai.chat.context.document.enabled','menuBar:aiQuickActions','highlight-key-points','2IhEPqh','AI_QUICK_ACTIONS_OTHER','forEach','editing','some','view','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','819344FPaKhP','6NgJYMk','push','make-tone-confident','menu','explain','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIConnector','ai.quickActions.isSearchEnabled','AIChat','ask-ai','execute','4sGAGhm','icon','replace','isPremiumPlugin','make-tone-direct','items','4991244irbfjH','actions'];_0x4928=function(){return _0x157b05;};return _0x4928();}import{aiQuickActionsButtonCreator as _0x2c1156}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3be191,BalloonToolbar as _0x387e4f,MenuBarMenuView as _0x4936f8,MenuBarMenuListView as _0x3f2803,MenuBarMenuListItemView as _0x3d2684,MenuBarMenuListItemButtonView as _0x5a135c}from'ckeditor5/src/ui.js';import{AIModels as _0x2163c0}from'../aicore/model/aimodels.js';import{AIConnector as _0x3ec9b0}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x332c23(0x268),ie=_0x332c23(0x1fd),ne=_0x332c23(0x229);export var AIQuickActionType;!function(_0x785045){const _0x53ed15=_0x332c23;_0x785045[_0x53ed15(0x1ce)]=_0x53ed15(0x1ce),_0x785045[_0x53ed15(0x252)]=_0x53ed15(0x252),_0x785045[_0x53ed15(0x261)]=_0x53ed15(0x261);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2d27bc){const _0x23c549=_0x332c23;_0x2d27bc[_0x23c549(0x1ce)]=_0x23c549(0x1f1),_0x2d27bc[_0x23c549(0x252)]=_0x23c549(0x24b),_0x2d27bc[_0x23c549(0x261)]=_0x23c549(0x233);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1bea86{static get[_0x332c23(0x259)](){return[_0x387e4f,_0x3ec9b0];}static get[_0x332c23(0x216)](){const _0x51c094=_0x332c23;return _0x51c094(0x1da);}static get[_0x332c23(0x1dc)](){return!0x0;}static get[_0x332c23(0x1f7)](){return!0x0;}async[_0x332c23(0x230)](){const _0x44bbb1=_0x332c23,_0x2c188e=await this[_0x44bbb1(0x22a)]();this[_0x44bbb1(0x1fe)](_0x2c188e),this[_0x44bbb1(0x210)]();}static[_0x332c23(0x23b)](_0x2a683e){return function(_0x5b0829){const _0x43c982=_0x2ccc,_0x1a167d=new Intl[(_0x43c982(0x25c))](['en'],{'type':_0x43c982(0x246)})['of'](_0x5b0829[_0x43c982(0x237)]),_0x4f8c8f=_0x1a167d||_0x43c982(0x263),_0x5509ea=[{'id':_0x43c982(0x1f2),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x224)),'type':AIQuickActionType[_0x43c982(0x1ce)],'icon':_0x27788d},{'id':_0x43c982(0x255),'label':_0x23ce49(_0x5b0829,_0x43c982(0x1d8)),'icon':_0x27788d,'actions':[{'id':_0x43c982(0x1ed),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x234)),'prompt':ee[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]},{'id':_0x43c982(0x1d7),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1d1)),'prompt':ie[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]},{'id':_0x43c982(0x1e0),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1ee)),'prompt':ne[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]}]},{'id':_0x43c982(0x253),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x249)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x2b6e2d},{'id':_0x43c982(0x1d4),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x24f)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x46a027},{'id':_0x43c982(0x236),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x248)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x27d4db},{'id':_0x43c982(0x24e),'label':_0x23ce49(_0x5b0829,_0x43c982(0x24c)),'icon':_0x557265,'actions':[{'id':_0x43c982(0x213),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x26a)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x215),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x22f)),'type':AIQuickActionType[_0x43c982(0x252)]}]},{'id':_0x43c982(0x264),'label':_0x23ce49(_0x5b0829,_0x43c982(0x21e)),'icon':_0x5c8e41,'actions':[{'id':_0x43c982(0x25a),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x25f)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1f8),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x219)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1d0),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x222)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1eb),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x223)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x23e),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x20e)),'type':AIQuickActionType[_0x43c982(0x252)]}]},{'id':_0x43c982(0x23c),'label':_0x23ce49(_0x5b0829,_0x43c982(0x203)),'icon':_0x23e066,'actions':[{'id':_0x43c982(0x1d2),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x24d)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x21a)}},{'id':_0x43c982(0x204),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1cd)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x239)}},{'id':_0x43c982(0x240),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1fc)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x25b)}},{'id':_0x43c982(0x262),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1e7)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x205)}},{'id':_0x43c982(0x22e),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x247)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x211)}},{'id':_0x43c982(0x22b),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x206)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x241)}},{'id':_0x43c982(0x21d),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x21f)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x22c)}},{'id':_0x43c982(0x260),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x212)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x23f)}},{'id':_0x43c982(0x238),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x20c)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x257)}},{'id':_0x43c982(0x266),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x214)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x1d6)}}]},{'id':_0x43c982(0x1dd),'label':_0x23ce49(_0x5b0829,_0x43c982(0x1e2)),'icon':_0x492433,'actions':[]}];return _0x5509ea;}(_0x2a683e);}async[_0x332c23(0x22a)](){const _0x476527=_0x332c23,_0x5a6684=AIQuickActionsUI[_0x476527(0x23b)](this[_0x476527(0x1d9)][_0x476527(0x1cb)]),_0x5a88c5=this[_0x476527(0x1d9)][_0x476527(0x202)][_0x476527(0x220)](_0x476527(0x218))||[];let _0x3e8058=[];try{_0x3e8058=await new _0x2163c0({'connector':this[_0x476527(0x1d9)][_0x476527(0x244)][_0x476527(0x220)](_0x476527(0x1ef)),'locale':this[_0x476527(0x1d9)][_0x476527(0x1cb)]})[_0x476527(0x1ff)]();}catch(_0x4e116b){const _0x4d4980=new _0x5bec33(_0x476527(0x232),this,{'error':_0x4e116b});_0x42458c(_0x4d4980[_0x476527(0x228)]);}finally{const _0x2dc92f=_0x5a88c5[_0x476527(0x245)](_0x418d3c=>({..._0x418d3c,'icon':void 0x0}));_0x5a6684[_0x476527(0x225)](_0x1fc899=>_0x476527(0x1dd)===_0x1fc899['id'])[_0x476527(0x1fb)][_0x476527(0x1ea)](..._0x2dc92f),_0x5a6684[_0x476527(0x1e3)](_0x213eec=>{const _0x480900=_0x476527;if(_0x480900(0x1fb)in _0x213eec)_0x213eec[_0x480900(0x1fb)][_0x480900(0x1e3)](_0x1eebcf=>{const _0x44cb25=_0x480900;if(_0x1eebcf[_0x44cb25(0x258)]=!!_0x3e8058[_0x44cb25(0x225)](_0x17fba8=>_0x17fba8['id']===_0x1eebcf[_0x44cb25(0x227)])||void 0x0===_0x1eebcf[_0x44cb25(0x227)],!_0x1eebcf[_0x44cb25(0x258)]){const _0x683c20=new _0x5bec33(_0x44cb25(0x209),this,{'actionId':_0x1eebcf['id'],'modelId':_0x1eebcf[_0x44cb25(0x227)]});_0x42458c(_0x683c20[_0x44cb25(0x228)]);}});else{if(_0x213eec[_0x480900(0x258)]=!!_0x3e8058[_0x480900(0x225)](_0x39ec82=>_0x39ec82['id']===_0x213eec[_0x480900(0x227)])||void 0x0===_0x213eec[_0x480900(0x227)],!_0x213eec[_0x480900(0x258)]){const _0x28e00b=new _0x5bec33(_0x480900(0x209),this,{'actionId':_0x213eec['id'],'modelId':_0x213eec[_0x480900(0x227)]});_0x42458c(_0x28e00b[_0x480900(0x228)]);}}});}return _0x5a6684;}[_0x332c23(0x210)](){const _0xe718e0=_0x332c23,_0x169256=new _0x3be191(this[_0xe718e0(0x1d9)][_0xe718e0(0x1cb)]);_0x169256[_0xe718e0(0x256)](),this[_0xe718e0(0x217)](_0x169256),this[_0xe718e0(0x201)](),this[_0xe718e0(0x20f)](_0x169256);}[_0x332c23(0x217)](_0x9b2408){const _0x690eb9=_0x332c23,_0x2ae991=this[_0x690eb9(0x1d9)][_0x690eb9(0x202)][_0x690eb9(0x220)](_0x690eb9(0x1f0))??!0x0;this[_0x690eb9(0x1d9)]['ui'][_0x690eb9(0x24a)][_0x690eb9(0x235)](_0x690eb9(0x254),_0x55546c({'editor':this[_0x690eb9(0x1d9)],'content':this[_0x690eb9(0x208)],'buttonDefinition':{'icon':_0x43d553,'label':_0x23ce49(this[_0x690eb9(0x1d9)][_0x690eb9(0x1cb)],_0x690eb9(0x20d))},'bodyCollection':_0x9b2408,'hasSearch':_0x2ae991}));}[_0x332c23(0x1fe)](_0xb7ad6f){const _0x58334e=_0x332c23;this[_0x58334e(0x208)]=_0xb7ad6f[_0x58334e(0x245)](_0x4360e0=>{const _0x3b559c=_0x58334e;if(_0x3b559c(0x1fb)in _0x4360e0){const _0x4975de=_0x4360e0;return{..._0x4975de,'actions':_0x4975de[_0x3b559c(0x1fb)][_0x3b559c(0x245)](_0xd509fe=>{const {actions:_0x2c2b9a,..._0x2c47d7}=_0x4975de;return{..._0xd509fe,'parent':_0x2c47d7};})[_0x3b559c(0x23a)](_0x49bcbd=>this[_0x3b559c(0x265)](_0x49bcbd))};}return _0x4360e0;})[_0x58334e(0x23a)](_0x37b7a3=>_0x58334e(0x1fb)in _0x37b7a3?_0x37b7a3[_0x58334e(0x1fb)][_0x58334e(0x1ca)]>0x0:this[_0x58334e(0x265)](_0x37b7a3));}[_0x332c23(0x265)](_0x29f5f0){const _0x5c1f5e=_0x332c23,_0x51eced=this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x202)][_0x5c1f5e(0x220)](_0x5c1f5e(0x207))||[];return this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x244)][_0x5c1f5e(0x23d)](AIQuickActionTypeToPluginName[_0x29f5f0[_0x5c1f5e(0x242)]])&&!_0x51eced[_0x5c1f5e(0x25e)](_0x29f5f0['id'])&&!(_0x29f5f0[_0x5c1f5e(0x242)]===AIQuickActionType[_0x5c1f5e(0x1ce)]&&!0x1===this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x202)][_0x5c1f5e(0x220)](_0x5c1f5e(0x1de)));}[_0x332c23(0x20f)](_0x156666){const _0x235808=_0x332c23;this[_0x235808(0x208)][_0x235808(0x1e3)](_0x19f9c0=>{const _0x3a121f=_0x235808;if(_0x3a121f(0x1fb)in _0x19f9c0){const _0x2d8426=_0x55546c({'editor':this[_0x3a121f(0x1d9)],'content':_0x19f9c0[_0x3a121f(0x1fb)],'buttonDefinition':_0x19f9c0,'bodyCollection':_0x156666});this[_0x3a121f(0x1d9)]['ui'][_0x3a121f(0x24a)][_0x3a121f(0x235)](_0x19f9c0['id'],_0x2d8426),_0x19f9c0[_0x3a121f(0x1fb)][_0x3a121f(0x1e3)](_0x419b3c=>{const _0x13a9d1=_0x3a121f,_0x1bc27a=_0x2c1156({'editor':this[_0x13a9d1(0x1d9)],'action':_0x419b3c});this[_0x13a9d1(0x1d9)]['ui'][_0x13a9d1(0x24a)][_0x13a9d1(0x235)](_0x419b3c['id'],_0x1bc27a);});}else{const _0x3f3476=_0x2c1156({'editor':this[_0x3a121f(0x1d9)],'action':_0x19f9c0,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3a121f(0x1d9)]['ui'][_0x3a121f(0x24a)][_0x3a121f(0x235)](_0x19f9c0['id'],_0x3f3476);}});}[_0x332c23(0x201)](){const _0x301011=_0x332c23;this[_0x301011(0x1d9)]['ui'][_0x301011(0x24a)][_0x301011(0x235)](_0x301011(0x1df),_0x5d84ca=>{const _0x58ba12=_0x301011,_0x33d92f=new _0x4936f8(_0x5d84ca),_0x2f0717=_0x23ce49(_0x5d84ca,_0x58ba12(0x20d));_0x33d92f[_0x58ba12(0x21c)][_0x58ba12(0x22d)]({'label':_0x2f0717,'icon':_0x43d553});const _0x51d2c3=new _0x3f2803(_0x5d84ca);_0x51d2c3[_0x58ba12(0x22d)]({'ariaLabel':_0x2f0717,'role':_0x58ba12(0x1ec)}),this[_0x58ba12(0x208)][_0x58ba12(0x1e3)](_0x1ddb1=>{const _0x46d207=_0x58ba12;if(_0x46d207(0x1fb)in _0x1ddb1){const _0xd2d0b1=_0x1ddb1,_0xb9e9f3=new _0x3d2684(_0x5d84ca,_0x33d92f),_0x23258e=new _0x4936f8(_0x5d84ca),_0x474dca=new _0x3f2803(_0x5d84ca);_0x23258e[_0x46d207(0x21c)][_0x46d207(0x22d)]({'label':_0xd2d0b1[_0x46d207(0x25d)],'icon':_0xd2d0b1[_0x46d207(0x1f5)]}),_0xd2d0b1[_0x46d207(0x1fb)][_0x46d207(0x1e3)](_0x2631b4=>{const _0x4f27ec=_0x46d207,_0x81f81c=new _0x3d2684(_0x5d84ca,_0x23258e),_0x2beea5=new _0x5a135c(_0x5d84ca);_0x2beea5[_0x4f27ec(0x22d)]({'label':_0x2631b4[_0x4f27ec(0x20a)],'icon':_0x2631b4[_0x4f27ec(0x1f5)],'role':_0x4f27ec(0x269),'isEnabled':_0x2631b4[_0x4f27ec(0x258)]}),_0x2beea5['on'](_0x4f27ec(0x1f3),()=>{const _0xee17ca=_0x4f27ec;this[_0xee17ca(0x226)](_0x2631b4);}),_0x2beea5[_0x4f27ec(0x1d3)](_0x4f27ec(0x1f3))['to'](_0x23258e),_0x81f81c[_0x4f27ec(0x267)][_0x4f27ec(0x235)](_0x2beea5),_0x474dca[_0x4f27ec(0x1f9)][_0x4f27ec(0x235)](_0x81f81c);}),_0x23258e[_0x46d207(0x20b)][_0x46d207(0x267)][_0x46d207(0x235)](_0x474dca),_0xb9e9f3[_0x46d207(0x267)][_0x46d207(0x235)](_0x23258e),_0x51d2c3[_0x46d207(0x1f9)][_0x46d207(0x235)](_0xb9e9f3);}else{const _0xaa07c0=_0x1ddb1,_0x54b0c1=new _0x3d2684(_0x5d84ca,_0x33d92f),_0x207ea7=new _0x5a135c(_0x5d84ca);_0x207ea7[_0x46d207(0x22d)]({'label':_0xaa07c0[_0x46d207(0x20a)],'icon':_0xaa07c0[_0x46d207(0x1f5)],'role':_0x46d207(0x269),'isEnabled':_0xaa07c0[_0x46d207(0x258)]}),_0x207ea7['on'](_0x46d207(0x1f3),()=>{const _0x16b9c0=_0x46d207;this[_0x16b9c0(0x226)](_0xaa07c0);}),_0x207ea7[_0x46d207(0x1d3)](_0x46d207(0x1f3))['to'](_0x33d92f),_0x54b0c1[_0x46d207(0x267)][_0x46d207(0x235)](_0x207ea7),_0x51d2c3[_0x46d207(0x1f9)][_0x46d207(0x235)](_0x54b0c1);}});const _0x2ff44b=Object[_0x58ba12(0x250)](AIQuickActionTypeToPluginName)[_0x58ba12(0x1e5)](_0x5229b1=>this[_0x58ba12(0x1d9)][_0x58ba12(0x244)][_0x58ba12(0x23d)](_0x5229b1));return _0x33d92f[_0x58ba12(0x22d)]({'isEnabled':_0x2ff44b}),_0x33d92f[_0x58ba12(0x20b)][_0x58ba12(0x267)][_0x58ba12(0x235)](_0x51d2c3),_0x33d92f;});}[_0x332c23(0x226)](_0x59e723){const _0x42f4d4=_0x332c23,_0x3a28c9=this[_0x42f4d4(0x1d9)];_0x3a28c9[_0x42f4d4(0x1e4)][_0x42f4d4(0x1e6)][_0x42f4d4(0x200)](),_0x3a28c9[_0x42f4d4(0x21b)][_0x42f4d4(0x1f3)](_0x42f4d4(0x26b),_0x59e723);const _0x4b9b90=_0x3a28c9['ui'][_0x42f4d4(0x1e6)][_0x42f4d4(0x251)];_0x4b9b90&&_0x4b9b90[_0x42f4d4(0x1cc)]&&_0x4b9b90[_0x42f4d4(0x1cc)]();}}
|
|
23
|
+
const _0xbcb715=_0x536b;(function(_0x21dff1,_0x1ee5b9){const _0x4b5ee2=_0x536b,_0x169f83=_0x21dff1();while(!![]){try{const _0x17e130=-parseInt(_0x4b5ee2(0x105))/0x1+parseInt(_0x4b5ee2(0xfa))/0x2+-parseInt(_0x4b5ee2(0xe3))/0x3+parseInt(_0x4b5ee2(0xea))/0x4*(-parseInt(_0x4b5ee2(0xd0))/0x5)+-parseInt(_0x4b5ee2(0xfb))/0x6*(-parseInt(_0x4b5ee2(0xfe))/0x7)+-parseInt(_0x4b5ee2(0xa5))/0x8+parseInt(_0x4b5ee2(0xdf))/0x9;if(_0x17e130===_0x1ee5b9)break;else _0x169f83['push'](_0x169f83['shift']());}catch(_0x213cfd){_0x169f83['push'](_0x169f83['shift']());}}}(_0x3243,0x88727));import{IconAIAdjustLength as _0x54ddc1,IconAIChangeTone as _0x4f6977,IconAIChatCommands as _0x2af880,IconAIContinueWriting as _0x4122c8,IconAIGrammarCheck as _0x1641b3,IconAIImproveWriting as _0x5a9f6e,IconAIOther as _0x36119c,IconAIQuickActions as _0xcd496d,IconAITranslate as _0x33d87c}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5df337}from'ckeditor5/src/core.js';import{CKEditorError as _0x3660,logError as _0x4aad12}from'ckeditor5/src/utils.js';import{getTranslation as _0x31dc0d}from'../aicore/utils/common-translations.js';function _0x3243(){const _0x19da2b=['AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_MORE_CONFIDENT','<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>','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','forEach','translate-to-english','AI_QUICK_ACTIONS_CHANGE_TONE','portuguese','summarize','AIChat','editing','ai.chat.context.document.enabled','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','explain','AI_QUICK_ACTIONS_ADJUST_LENGTH','chinese','_getDefaultAndCustomActions','uiLanguage','translate-to-german','focus','english','get','make-shorter','delegate','fix-grammar','60pQhFSI','push','make-tone-friendly','plugins','AI_QUICK_ACTIONS_TRANSLATE','replace','AIActions','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','displayedPrompt','English','russian','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','REVIEW','buttonView','19407249LCtMuz','pluginName','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_IMPROVE_WRITING','230313SbVfKO','translate-to-portuguese','improve-writing','other','add','aiQuickActions','children','143540xEmZxQ','make-tone-casual','values','label','isEnabled','locale','AIConnector','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','set','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','menuBarView','_quickActionsDefinition','<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>','execute','AIReviewMode','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','204462OjsWXg','840168vUoLKq','highlight-key-points','_shouldIncludeAction','7kApEse','filter','getAll','CHAT','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','<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>','type','939682sBvhqE','find','includes','editor','aiQuickAction','translate-to-spanish','japanese','icon','_prepareQuickActionsDefinition','getDefaultQuickActions','continue','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-russian','view','make-tone-direct','translate-to-italian','translate-to-french','french','german','change-tone','map','ai.quickActions.extraCommands','some','message','close','length','translate','attachToDom','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','config','chat-commands','AIQuickActionsUI','items','requires','isOfficialPlugin','spanish','DisplayNames','model','korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','translate-to-chinese','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-professional','menuitem','_executeQuickAction','panelView','italian','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','has','ai.quickActions.isSearchEnabled','_initializeQuickActionsMenuBar','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_SUMMARIZE','actions','init','AI_QUICK_ACTIONS_MORE_FRIENDLY','ask-ai','isPremiumPlugin','3141280vQwwcR','language','AI_QUICK_ACTIONS_ASK_AI','make-longer','ai-quick-actions-unavailable-model','menu','commands','AI_QUICK_ACTIONS_CHAT_COMMANDS','translate-to-japanese','AI_QUICK_ACTIONS_OTHER','ai-quick-actions-models-unable-to-retrieve','componentFactory','menuBar:aiQuickActions','_initializeQuickActionsComponents','ACTION'];_0x3243=function(){return _0x19da2b;};return _0x3243();}import{aiQuickActionsDropdownCreator as _0x5a7ac0}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5d0eed}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x48a703,BalloonToolbar as _0x2f32bd,MenuBarMenuView as _0x592187,MenuBarMenuListView as _0x382f7d,MenuBarMenuListItemView as _0x357dba,MenuBarMenuListItemButtonView as _0x218a5a}from'ckeditor5/src/ui.js';import{AIModels as _0x2fc1b8}from'../aicore/model/aimodels.js';import{AIConnector as _0x2e1232}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x536b(_0x5b5c77,_0xbfe099){const _0x3243fd=_0x3243();return _0x536b=function(_0x536b4e,_0x42452e){_0x536b4e=_0x536b4e-0xa0;let _0x455a47=_0x3243fd[_0x536b4e];return _0x455a47;},_0x536b(_0x5b5c77,_0xbfe099);}const ee=_0xbcb715(0x103),ie=_0xbcb715(0xb6),ne=_0xbcb715(0xf6);export var AIQuickActionType;!function(_0x1f9ed0){const _0x1180c2=_0xbcb715;_0x1f9ed0[_0x1180c2(0x101)]=_0x1180c2(0x101),_0x1f9ed0[_0x1180c2(0xb3)]=_0x1180c2(0xb3),_0x1f9ed0[_0x1180c2(0xdd)]=_0x1180c2(0xdd);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xb54832){const _0x5052d0=_0xbcb715;_0xb54832[_0x5052d0(0x101)]=_0x5052d0(0xbf),_0xb54832[_0x5052d0(0xb3)]=_0x5052d0(0xd6),_0xb54832[_0x5052d0(0xdd)]=_0x5052d0(0xf8);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5df337{static get[_0xbcb715(0x128)](){return[_0x2f32bd,_0x2e1232];}static get[_0xbcb715(0xe0)](){const _0x1f4840=_0xbcb715;return _0x1f4840(0x126);}static get[_0xbcb715(0x129)](){return!0x0;}static get[_0xbcb715(0xa4)](){return!0x0;}async[_0xbcb715(0xa1)](){const _0x53983d=_0xbcb715,_0x17b9a5=await this[_0x53983d(0xc7)]();this[_0x53983d(0x10d)](_0x17b9a5),this[_0x53983d(0xe1)]();}static[_0xbcb715(0x10e)](_0x6e5294){return function(_0x156b30){const _0x2c3648=_0x536b,_0x4b1d83=new Intl[(_0x2c3648(0x12b))](['en'],{'type':_0x2c3648(0xa6)})['of'](_0x156b30[_0x2c3648(0xc8)]),_0x281460=_0x4b1d83||_0x2c3648(0xd9),_0x38e733=[{'id':_0x2c3648(0xa3),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa7)),'type':AIQuickActionType[_0x2c3648(0x101)],'icon':_0x2af880},{'id':_0x2c3648(0x125),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xac)),'icon':_0x2af880,'actions':[{'id':_0x2c3648(0xc4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xdb)),'prompt':ee[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xbe),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13f)),'prompt':ie[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xfc),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf9)),'prompt':ne[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]}]},{'id':_0x2c3648(0xe5),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xe2)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x5a9f6e},{'id':_0x2c3648(0x10f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x122)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x4122c8},{'id':_0x2c3648(0xcf),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb9)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x1641b3},{'id':_0x2c3648(0x131),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xc5)),'icon':_0x54ddc1,'actions':[{'id':_0x2c3648(0xcd),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x110)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xa8),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x130)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x118),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xbc)),'icon':_0x4f6977,'actions':[{'id':_0x2c3648(0xeb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb4)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x113),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x121)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xd2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa2)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xc2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb5)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x135),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x134)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x11f),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xd4)),'icon':_0x33d87c,'actions':[{'id':_0x2c3648(0xbb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xd7)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xcb)}},{'id':_0x2c3648(0x12f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xc6)}},{'id':_0x2c3648(0x10a),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13a)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12a)}},{'id':_0x2c3648(0xc9),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xc3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x117)}},{'id':_0x2c3648(0x115),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb8)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x116)}},{'id':_0x2c3648(0xad),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x123)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x10b)}},{'id':_0x2c3648(0xe4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x133)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xbd)}},{'id':_0x2c3648(0xb7),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x12e)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12d)}},{'id':_0x2c3648(0x114),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf1)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x139)}},{'id':_0x2c3648(0x111),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x102)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xda)}}]},{'id':_0x2c3648(0xe6),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xae)),'icon':_0x36119c,'actions':[]}];return _0x38e733;}(_0x6e5294);}async[_0xbcb715(0xc7)](){const _0x304068=_0xbcb715,_0x57c724=AIQuickActionsUI[_0x304068(0x10e)](this[_0x304068(0x108)][_0x304068(0xef)]),_0xad09ca=this[_0x304068(0x108)][_0x304068(0x124)][_0x304068(0xcc)](_0x304068(0x11a))||[];let _0x202070=[];try{_0x202070=await new _0x2fc1b8({'connector':this[_0x304068(0x108)][_0x304068(0xd3)][_0x304068(0xcc)](_0x304068(0xf0)),'locale':this[_0x304068(0x108)][_0x304068(0xef)]})[_0x304068(0x100)]();}catch(_0x528d8e){const _0x275af6=new _0x3660(_0x304068(0xaf),this,{'error':_0x528d8e});_0x4aad12(_0x275af6[_0x304068(0x11c)]);}finally{const _0x37f672=_0xad09ca[_0x304068(0x119)](_0x2df003=>({..._0x2df003,'icon':void 0x0}));_0x57c724[_0x304068(0x106)](_0x4a6c3e=>_0x304068(0xe6)===_0x4a6c3e['id'])[_0x304068(0xa0)][_0x304068(0xd1)](..._0x37f672),_0x57c724[_0x304068(0xba)](_0x327e53=>{const _0x4f55b0=_0x304068;if(_0x4f55b0(0xa0)in _0x327e53)_0x327e53[_0x4f55b0(0xa0)][_0x4f55b0(0xba)](_0x320bf2=>{const _0x290990=_0x4f55b0;if(_0x320bf2[_0x290990(0xee)]=!!_0x202070[_0x290990(0x106)](_0x3ce550=>_0x3ce550['id']===_0x320bf2[_0x290990(0x12c)])||void 0x0===_0x320bf2[_0x290990(0x12c)],!_0x320bf2[_0x290990(0xee)]){const _0x1db870=new _0x3660(_0x290990(0xa9),this,{'actionId':_0x320bf2['id'],'modelId':_0x320bf2[_0x290990(0x12c)]});_0x4aad12(_0x1db870[_0x290990(0x11c)]);}});else{if(_0x327e53[_0x4f55b0(0xee)]=!!_0x202070[_0x4f55b0(0x106)](_0x30f0b4=>_0x30f0b4['id']===_0x327e53[_0x4f55b0(0x12c)])||void 0x0===_0x327e53[_0x4f55b0(0x12c)],!_0x327e53[_0x4f55b0(0xee)]){const _0x55bd7c=new _0x3660(_0x4f55b0(0xa9),this,{'actionId':_0x327e53['id'],'modelId':_0x327e53[_0x4f55b0(0x12c)]});_0x4aad12(_0x55bd7c[_0x4f55b0(0x11c)]);}}});}return _0x57c724;}[_0xbcb715(0xe1)](){const _0x52df13=_0xbcb715,_0x874860=new _0x48a703(this[_0x52df13(0x108)][_0x52df13(0xef)]);_0x874860[_0x52df13(0x120)](),this[_0x52df13(0x132)](_0x874860),this[_0x52df13(0x13d)](),this[_0x52df13(0xb2)](_0x874860);}[_0xbcb715(0x132)](_0x1f8295){const _0x5f03a0=_0xbcb715,_0xbc9e7d=this[_0x5f03a0(0x108)][_0x5f03a0(0x124)][_0x5f03a0(0xcc)](_0x5f03a0(0x13c))??!0x0;this[_0x5f03a0(0x108)]['ui'][_0x5f03a0(0xb0)][_0x5f03a0(0xe7)](_0x5f03a0(0xe8),_0x5a7ac0({'editor':this[_0x5f03a0(0x108)],'content':this[_0x5f03a0(0xf5)],'buttonDefinition':{'icon':_0xcd496d,'label':_0x31dc0d(this[_0x5f03a0(0x108)][_0x5f03a0(0xef)],_0x5f03a0(0xdc))},'bodyCollection':_0x1f8295,'hasSearch':_0xbc9e7d}));}[_0xbcb715(0x10d)](_0x3e722f){const _0x34df97=_0xbcb715;this[_0x34df97(0xf5)]=_0x3e722f[_0x34df97(0x119)](_0x4e2e72=>{const _0x187328=_0x34df97;if(_0x187328(0xa0)in _0x4e2e72){const _0x30b143=_0x4e2e72;return{..._0x30b143,'actions':_0x30b143[_0x187328(0xa0)][_0x187328(0x119)](_0xe5b56f=>{const {actions:_0x5b8077,..._0x2bf284}=_0x30b143;return{..._0xe5b56f,'parent':_0x2bf284};})[_0x187328(0xff)](_0x64e7fe=>this[_0x187328(0xfd)](_0x64e7fe))};}return _0x4e2e72;})[_0x34df97(0xff)](_0x726219=>_0x34df97(0xa0)in _0x726219?_0x726219[_0x34df97(0xa0)][_0x34df97(0x11e)]>0x0:this[_0x34df97(0xfd)](_0x726219));}[_0xbcb715(0xfd)](_0x57e292){const _0x1db925=_0xbcb715,_0x1cdc9f=this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0x13e))||[];return this[_0x1db925(0x108)][_0x1db925(0xd3)][_0x1db925(0x13b)](AIQuickActionTypeToPluginName[_0x57e292[_0x1db925(0x104)]])&&!_0x1cdc9f[_0x1db925(0x107)](_0x57e292['id'])&&!(_0x57e292[_0x1db925(0x104)]===AIQuickActionType[_0x1db925(0x101)]&&!0x1===this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0xc1)));}[_0xbcb715(0xb2)](_0x389fb9){const _0x13c96e=_0xbcb715;this[_0x13c96e(0xf5)][_0x13c96e(0xba)](_0x4a68e5=>{const _0x32c94e=_0x13c96e;if(_0x32c94e(0xa0)in _0x4a68e5){const _0x517ab8=_0x5a7ac0({'editor':this[_0x32c94e(0x108)],'content':_0x4a68e5[_0x32c94e(0xa0)],'buttonDefinition':_0x4a68e5,'bodyCollection':_0x389fb9});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x517ab8),_0x4a68e5[_0x32c94e(0xa0)][_0x32c94e(0xba)](_0x5aa6bf=>{const _0x7f27be=_0x32c94e,_0x6f9c03=_0x5d0eed({'editor':this[_0x7f27be(0x108)],'action':_0x5aa6bf});this[_0x7f27be(0x108)]['ui'][_0x7f27be(0xb0)][_0x7f27be(0xe7)](_0x5aa6bf['id'],_0x6f9c03);});}else{const _0x1f3c12=_0x5d0eed({'editor':this[_0x32c94e(0x108)],'action':_0x4a68e5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x1f3c12);}});}[_0xbcb715(0x13d)](){const _0x59d370=_0xbcb715;this[_0x59d370(0x108)]['ui'][_0x59d370(0xb0)][_0x59d370(0xe7)](_0x59d370(0xb1),_0x5d6310=>{const _0x3375f2=_0x59d370,_0x2623fd=new _0x592187(_0x5d6310),_0x59c579=_0x31dc0d(_0x5d6310,_0x3375f2(0xdc));_0x2623fd[_0x3375f2(0xde)][_0x3375f2(0xf2)]({'label':_0x59c579,'icon':_0xcd496d});const _0x3f8344=new _0x382f7d(_0x5d6310);_0x3f8344[_0x3375f2(0xf2)]({'ariaLabel':_0x59c579,'role':_0x3375f2(0xaa)}),this[_0x3375f2(0xf5)][_0x3375f2(0xba)](_0x10420a=>{const _0x575da3=_0x3375f2;if(_0x575da3(0xa0)in _0x10420a){const _0x2944b9=_0x10420a,_0x14ae40=new _0x357dba(_0x5d6310,_0x2623fd),_0x242fea=new _0x592187(_0x5d6310),_0x323eeb=new _0x382f7d(_0x5d6310);_0x242fea[_0x575da3(0xde)][_0x575da3(0xf2)]({'label':_0x2944b9[_0x575da3(0xed)],'icon':_0x2944b9[_0x575da3(0x10c)]}),_0x2944b9[_0x575da3(0xa0)][_0x575da3(0xba)](_0x2f754a=>{const _0x11e071=_0x575da3,_0x504fa3=new _0x357dba(_0x5d6310,_0x242fea),_0x484c46=new _0x218a5a(_0x5d6310);_0x484c46[_0x11e071(0xf2)]({'label':_0x2f754a[_0x11e071(0xd8)],'icon':_0x2f754a[_0x11e071(0x10c)],'role':_0x11e071(0x136),'isEnabled':_0x2f754a[_0x11e071(0xee)]}),_0x484c46['on'](_0x11e071(0xf7),()=>{const _0x2fb78d=_0x11e071;this[_0x2fb78d(0x137)](_0x2f754a);}),_0x484c46[_0x11e071(0xce)](_0x11e071(0xf7))['to'](_0x242fea),_0x504fa3[_0x11e071(0xe9)][_0x11e071(0xe7)](_0x484c46),_0x323eeb[_0x11e071(0x127)][_0x11e071(0xe7)](_0x504fa3);}),_0x242fea[_0x575da3(0x138)][_0x575da3(0xe9)][_0x575da3(0xe7)](_0x323eeb),_0x14ae40[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x242fea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x14ae40);}else{const _0x248824=_0x10420a,_0x3fad12=new _0x357dba(_0x5d6310,_0x2623fd),_0x3d03ea=new _0x218a5a(_0x5d6310);_0x3d03ea[_0x575da3(0xf2)]({'label':_0x248824[_0x575da3(0xd8)],'icon':_0x248824[_0x575da3(0x10c)],'role':_0x575da3(0x136),'isEnabled':_0x248824[_0x575da3(0xee)]}),_0x3d03ea['on'](_0x575da3(0xf7),()=>{const _0x5a0a55=_0x575da3;this[_0x5a0a55(0x137)](_0x248824);}),_0x3d03ea[_0x575da3(0xce)](_0x575da3(0xf7))['to'](_0x2623fd),_0x3fad12[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x3d03ea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x3fad12);}});const _0x59cb50=Object[_0x3375f2(0xec)](AIQuickActionTypeToPluginName)[_0x3375f2(0x11b)](_0x50fd6b=>this[_0x3375f2(0x108)][_0x3375f2(0xd3)][_0x3375f2(0x13b)](_0x50fd6b));return _0x2623fd[_0x3375f2(0xf2)]({'isEnabled':_0x59cb50}),_0x2623fd[_0x3375f2(0x138)][_0x3375f2(0xe9)][_0x3375f2(0xe7)](_0x3f8344),_0x2623fd;});}[_0xbcb715(0x137)](_0x1d1ee6){const _0x2d58d1=_0xbcb715,_0x1dd3fd=this[_0x2d58d1(0x108)];_0x1dd3fd[_0x2d58d1(0xc0)][_0x2d58d1(0x112)][_0x2d58d1(0xca)](),_0x1dd3fd[_0x2d58d1(0xab)][_0x2d58d1(0xf7)](_0x2d58d1(0x109),_0x1d1ee6);const _0x25fbf5=_0x1dd3fd['ui'][_0x2d58d1(0x112)][_0x2d58d1(0xf4)];_0x25fbf5&&_0x25fbf5[_0x2d58d1(0x11d)]&&_0x25fbf5[_0x2d58d1(0x11d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1a3824,_0x4e54bd){const _0x571824=_0x5216,_0x2493cc=_0x1a3824();while(!![]){try{const _0x1c337e=-parseInt(_0x571824(0x134))/0x1*(-parseInt(_0x571824(0x144))/0x2)+parseInt(_0x571824(0x149))/0x3*(parseInt(_0x571824(0x14d))/0x4)+-parseInt(_0x571824(0x139))/0x5*(parseInt(_0x571824(0x148))/0x6)+parseInt(_0x571824(0x140))/0x7+parseInt(_0x571824(0x147))/0x8+-parseInt(_0x571824(0x13a))/0x9*(-parseInt(_0x571824(0x138))/0xa)+-parseInt(_0x571824(0x14b))/0xb*(parseInt(_0x571824(0x14a))/0xc);if(_0x1c337e===_0x4e54bd)break;else _0x2493cc['push'](_0x2493cc['shift']());}catch(_0xfe0071){_0x2493cc['push'](_0x2493cc['shift']());}}}(_0x4a21,0xae932));function _0x5216(_0x346b99,_0x1df2b4){const _0x4a215d=_0x4a21();return _0x5216=function(_0x521655,_0x77622c){_0x521655=_0x521655-0x134;let _0x473dce=_0x4a215d[_0x521655];return _0x473dce;},_0x5216(_0x346b99,_0x1df2b4);}import{ButtonView as _0x1b60ca}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x47f0c6}from'@ckeditor/ckeditor5-icons';function _0x4a21(){const _0x210c01=['focus','14146YNrzgj','icon','extendTemplate','view','3317130CqghzH','4850RPNagg','36uMFKhz','parent','bindTemplate','commands','ck-ai-quick-actions-button','execute','1379336ADXiNU','aiQuickAction','displayedPrompt','isEnabled','8SXPexG','locale','editing','1865896rlcYAN','354pBtvtp','59013rMfUQZ','15504asQxZI','17743qXXagw','menuitem','212RGQECs','set'];_0x4a21=function(){return _0x210c01;};return _0x4a21();}export function aiQuickActionsButtonCreator(_0xb808c2){const {editor:_0xa41a0,action:_0x253edf,withText:_0x29f843=!0x1,withIcon:_0x4958ec=!0x0,isInDropdown:_0x253a9d=!0x0,shouldPreventFocus:_0x4ef819=!0x1}=_0xb808c2;return()=>{const _0x4ccd97=_0x5216,_0x176ff2=_0xa41a0[_0x4ccd97(0x145)],_0x508464=new _0x1b60ca(_0x176ff2),_0x4b0c24=_0x508464[_0x4ccd97(0x13c)];_0x253a9d&&_0x508464[_0x4ccd97(0x136)]({'on':{'mouseenter':_0x4b0c24['to'](()=>{const _0x6a2a25=_0x4ccd97;_0x4ef819&&_0x4ef819()||_0x508464[_0x6a2a25(0x14f)]();})}});const _0x35f806=_0x253edf[_0x4ccd97(0x135)]??_0x253edf[_0x4ccd97(0x13b)]?.[_0x4ccd97(0x135)];return _0x508464[_0x4ccd97(0x14e)]({'label':_0x253edf[_0x4ccd97(0x142)],'withText':_0x29f843,'role':_0x4ccd97(0x14c),'icon':_0x4958ec?_0x35f806??_0x47f0c6:void 0x0,'tooltip':!_0x29f843,'class':_0x4ccd97(0x13e),'isEnabled':_0x253edf[_0x4ccd97(0x143)]}),_0x508464['on'](_0x4ccd97(0x13f),()=>{const _0x4d14cd=_0x4ccd97;_0xa41a0[_0x4d14cd(0x146)][_0x4d14cd(0x137)][_0x4d14cd(0x14f)](),_0xa41a0[_0x4d14cd(0x13d)][_0x4d14cd(0x13f)](_0x4d14cd(0x141),_0x253edf);}),_0x508464;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2dcbe9=_0x5651;(function(_0x44b547,_0x33c05a){const _0x37f170=_0x5651,_0x433f87=_0x44b547();while(!![]){try{const _0x184479=-parseInt(_0x37f170(0x17b))/0x1*(-parseInt(_0x37f170(0x141))/0x2)+parseInt(_0x37f170(0x16c))/0x3+-parseInt(_0x37f170(0x177))/0x4+parseInt(_0x37f170(0x179))/0x5+-parseInt(_0x37f170(0x12c))/0x6+-parseInt(_0x37f170(0x126))/0x7+parseInt(_0x37f170(0x14d))/0x8;if(_0x184479===_0x33c05a)break;else _0x433f87['push'](_0x433f87['shift']());}catch(_0x24746c){_0x433f87['push'](_0x433f87['shift']());}}}(_0x5bf1,0xe7ec2));import{View as _0x5f4784,ListItemView as _0x2c7cb0,ListView as _0x563593,BalloonPanelView as _0x3eb81d,DropdownMenuPanelPositioningFunctions as _0x255859,ViewCollection as _0x28adf9,FocusCycler as _0x483b2e,ButtonView as _0x9d50e5,IconView as _0x21c088,HighlightedTextView as _0x41cc49,ButtonLabelWithHighlightView as _0x149ebb,SearchTextView as _0x1c9c78}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x50c411}from'@ckeditor/ckeditor5-icons';function _0x5bf1(){const _0x4f0593=['get','_createActionGroupButton','div','_createListItems','button','14597080kQJhPZ','_createSearchTextView','ck-dropdown-menu-list','.ck-ai-quick-actions-group-button','contains','ck-button','clear','_openNestedPanels','focusCycler','first','mouseleave','ck-ai-quick-actions-search-result-button','extendTemplate','_createSearchResultIndividualActionButton','span','_allSearchableItems','keystrokes','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','detachFromDom','isVisible','rtl','reset','ck-ai-quick-actions','displayedPrompt','items','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_handlePanelKeydown','.ck-ai-quick-actions-group-list','_showNestedPanel','ck-ai-quick-actions-search-result-button_with-group','1531284SxutkT','_setupActionButtonExecution','ck-ai-quick-actions-button','editing','focusTracker','_searchTextView','render','ck-ai-quick-actions-button_with-group','_hideAllNestedPanels','bindTemplate','key','7544208kulHgx','label','7963625qPBATI','_hideNestedPanel','143320XcwltZ','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-button__group-icon','ArrowLeft','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','_isSearchFocused','_createSearchResultContentView','fieldView','closest','.ck-ai-quick-actions-group-panel','focus','pin','forEach','fire','content','_hasSearch','_createSearchResultActionButton','eastSouth','ArrowRight','ownerDocument','hide','aiQuickAction','_setupGroupMenuBehavior','ck-ai-quick-actions-group-panel','_createActionButton','_createSearchResultActionRow','ck-reset_all','add','locale','uiLanguageDirection','_isMovingToNestedMenu','_handleSearchResultButtonClick','isEnabled','execute','ck-button_with-text','_bodyCollection','children','queryView','show','_getPanelKeystroke','push','menuitem','ck-rounded-corners','menu','isOn','4845806qAWnvP','commands','_createGroupActionsList','activeElement','addMany','parent','8416584hNwiUo','setTemplate','set','chain','view','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultGroupRow','resetSearch','_createSearchResultGroupedActionButton','role','element','ck-ai-quick-actions-search-result__action-row','bind','ck-ai-quick-actions-search-result__content','some','ck-ai-quick-actions-button_with-group__close-paren','optionsListView','addEventListener','destroy','icon','_getButtonKeystroke','14QCJIvR','relatedTarget','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','delete','_focusables','actions','text'];_0x5bf1=function(){return _0x4f0593;};return _0x5bf1();}import{FocusTracker as _0x30a7ca,KeystrokeHandler as _0x202db3}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4a36d1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1daa59}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x8e7bef}from'../../aicore/utils/common-translations.js';function _0x5651(_0x3b7dce,_0xe17e0a){const _0x5bf158=_0x5bf1();return _0x5651=function(_0x5651d8,_0x1d227b){_0x5651d8=_0x5651d8-0xf9;let _0x4ec00c=_0x5bf158[_0x5651d8];return _0x4ec00c;},_0x5651(_0x3b7dce,_0xe17e0a);}import{AIQuickActionsFilteredListView as _0x5f4507}from'./aiquickactionsfilteredlistview.js';const Qs=_0x2dcbe9(0x124),Gs=_0x2dcbe9(0x122);export class AIQuickActionsDropdownContentView extends _0x5f4784{[_0x2dcbe9(0x11c)];[_0x2dcbe9(0x13c)];[_0x2dcbe9(0x171)]=null;[_0x2dcbe9(0x15c)]=[];[_0x2dcbe9(0x11d)];[_0x2dcbe9(0x170)];[_0x2dcbe9(0x15d)];[_0x2dcbe9(0x145)];[_0x2dcbe9(0x155)];[_0x2dcbe9(0x154)]=new Set();[_0x2dcbe9(0x108)];constructor(_0x2b66c7,_0x167371,_0x541a74,_0x355ece,_0x43d130=!0x1){const _0x3d19cc=_0x2dcbe9,_0x28b2b5=_0x2b66c7[_0x3d19cc(0x115)];super(_0x28b2b5),this[_0x3d19cc(0x11c)]=_0x355ece,this[_0x3d19cc(0x108)]=_0x43d130;const _0x3a5bda=this[_0x3d19cc(0x14b)](_0x2b66c7,_0x167371,_0x541a74);this[_0x3d19cc(0x13c)]=new _0x5f4507(_0x28b2b5,_0x3a5bda,this[_0x3d19cc(0x15c)]),this[_0x3d19cc(0x13c)][_0x3d19cc(0x135)]=Qs,this[_0x3d19cc(0x13c)][_0x3d19cc(0x166)][_0x3d19cc(0x12a)](_0x3a5bda),this[_0x3d19cc(0x170)]=new _0x30a7ca(),this[_0x3d19cc(0x15d)]=new _0x202db3(),_0x43d130&&(this[_0x3d19cc(0x171)]=this[_0x3d19cc(0x14e)]()),this[_0x3d19cc(0x145)]=_0x3a5bda,this[_0x3d19cc(0x155)]=new _0x483b2e({'focusables':this[_0x3d19cc(0x145)],'focusTracker':this[_0x3d19cc(0x170)],'keystrokeHandler':this[_0x3d19cc(0x15d)]}),_0x43d130&&this[_0x3d19cc(0x171)]&&this[_0x3d19cc(0x155)][_0x3d19cc(0x12f)](this[_0x3d19cc(0x171)][_0x3d19cc(0x155)]);const _0x34a7e4=_0x43d130&&this[_0x3d19cc(0x171)]?[this[_0x3d19cc(0x171)]]:[this[_0x3d19cc(0x13c)]];this[_0x3d19cc(0x11d)]=new _0x28adf9(_0x34a7e4),this[_0x3d19cc(0x12d)]({'tag':_0x3d19cc(0x14a),'attributes':{'class':['ck',_0x3d19cc(0x113),_0x3d19cc(0x164),_0x3d19cc(0x123)],'dir':_0x28b2b5[_0x3d19cc(0x116)]},'children':this[_0x3d19cc(0x11d)]});}[_0x2dcbe9(0x14e)](){const _0x1f6a8d=_0x2dcbe9;return new _0x1c9c78(this[_0x1f6a8d(0x115)],{'filteredView':this[_0x1f6a8d(0x13c)],'queryView':{'label':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x17e))},'class':_0x1f6a8d(0x17d),'infoView':{'text':{'notFound':{'primary':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x167))}}}});}[_0x2dcbe9(0xfe)](){const _0x30195a=_0x2dcbe9;if(!this[_0x30195a(0x108)]||!this[_0x30195a(0x171)]||!this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)])return!0x1;const _0x1e0733=this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x10c)]?.[_0x30195a(0x129)];return this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x151)](_0x1e0733);}[_0x2dcbe9(0x14b)](_0x2a8573,_0x2319ef,_0x1ecbe5){const _0x41d7d3=_0x2dcbe9,_0x20948d=new _0x28adf9();return _0x2319ef[_0x41d7d3(0x105)](_0x592005=>{const _0x31c448=_0x41d7d3;if(_0x31c448(0x146)in _0x592005){const {listItem:_0x3a0015}=this[_0x31c448(0x149)](_0x2a8573,_0x592005,_0x1ecbe5);_0x20948d[_0x31c448(0x114)](_0x3a0015),_0x592005[_0x31c448(0x146)][_0x31c448(0x105)](_0x15c6c8=>{const _0x270ed2=_0x31c448;this[_0x270ed2(0x111)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);const {listItem:_0x54ea94,highlightViews:_0x5d138e}=this[_0x270ed2(0x109)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);this[_0x270ed2(0x15c)][_0x270ed2(0x121)]({'item':_0x54ea94,'label':_0x15c6c8[_0x270ed2(0x165)],'groupLabel':_0x592005[_0x270ed2(0x178)],'highlightViews':_0x5d138e});});}else{const {listItem:_0x1c0809}=this[_0x31c448(0x111)](_0x2a8573,_0x592005);_0x20948d[_0x31c448(0x114)](_0x1c0809);const _0x5b771f=_0x1c0809[_0x31c448(0x11d)][_0x31c448(0x156)];if(_0x5b771f){const {listItem:_0x396192,highlightViews:_0xed9745}=this[_0x31c448(0x109)](_0x2a8573,_0x592005);this[_0x31c448(0x15c)][_0x31c448(0x121)]({'item':_0x396192,'label':_0x5b771f[_0x31c448(0x178)]||'','highlightViews':_0xed9745});}}}),_0x20948d;}[_0x2dcbe9(0x111)](_0xf097de,_0x280cf7,_0x49a63b,_0x1caf58){const _0x3eb26f=_0x2dcbe9,_0x31ac7c=new _0x2c7cb0(this[_0x3eb26f(0x115)]);if(_0x49a63b&&_0x1caf58){const _0x4b8740=new _0x9d50e5(this[_0x3eb26f(0x115)]),_0x3ec571=_0x4b8740[_0x3eb26f(0x175)],_0x1eae75=new _0x41cc49();_0x1eae75[_0x3eb26f(0x147)]=_0x280cf7[_0x3eb26f(0x165)];const _0x24ffed=new _0x41cc49();_0x24ffed[_0x3eb26f(0x147)]=_0x49a63b;const _0x32c833=new _0x21c088();_0x32c833[_0x3eb26f(0x107)]=_0x1caf58,_0x32c833[_0x3eb26f(0x159)]({'attributes':{'class':_0x3eb26f(0xf9)}});const _0x52751e=new _0x5f4784(this[_0x3eb26f(0x115)]);_0x52751e[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0xfb)},'children':[{'text':'\x20('}]});const _0x58c168=new _0x5f4784(this[_0x3eb26f(0x115)]);return _0x58c168[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0x13b)},'children':[{'text':')'}]}),_0x4b8740[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)]+'\x20('+_0x49a63b+')','withText':!0x0,'role':_0x3eb26f(0x122),'class':_0x3eb26f(0x131),'tooltip':!0x1}),_0x4b8740[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x14c),'attributes':{'class':['ck',_0x3eb26f(0x152),_0x3eb26f(0x11b),_0x3eb26f(0x16e),_0x3eb26f(0x173)],'type':_0x3eb26f(0x14c),'role':_0x3eb26f(0x122),'tabindex':'-1'},'children':[_0x1eae75,_0x52751e,_0x32c833,_0x24ffed,_0x58c168],'on':{'mouseenter':_0x3ec571['to'](()=>{const _0x307d80=_0x3eb26f;this[_0x307d80(0xfe)]()||_0x4b8740[_0x307d80(0x103)]();}),'click':_0x3ec571['to'](()=>{const _0x22fe7e=_0x3eb26f;_0x4b8740[_0x22fe7e(0x106)](_0x22fe7e(0x11a));})}}),_0x4b8740['on'](_0x3eb26f(0x11a),()=>{const _0x306dbb=_0x3eb26f;_0xf097de[_0x306dbb(0x16f)][_0x306dbb(0x130)][_0x306dbb(0x103)](),_0xf097de[_0x306dbb(0x127)][_0x306dbb(0x11a)](_0x306dbb(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x4b8740),{'listItem':_0x31ac7c,'highlightViews':[_0x1eae75,_0x24ffed]};}{const _0x506dd4=new _0x149ebb(),_0x34ab22=new _0x9d50e5(this[_0x3eb26f(0x115)],_0x506dd4),_0x4765ec=_0x34ab22[_0x3eb26f(0x175)],_0x25b9f5=_0x280cf7[_0x3eb26f(0x13f)]??_0x280cf7[_0x3eb26f(0x12b)]?.[_0x3eb26f(0x13f)],_0x3f6d41=void 0x0!==_0x280cf7[_0x3eb26f(0x13f)];return _0x34ab22[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)],'withText':!0x0,'role':_0x3eb26f(0x122),'icon':_0x3f6d41?_0x25b9f5??_0x50c411:void 0x0,'tooltip':!0x1,'class':_0x3eb26f(0x16e)}),_0x34ab22[_0x3eb26f(0x159)]({'on':{'mouseenter':_0x4765ec['to'](()=>{const _0x22fe6e=_0x3eb26f;this[_0x22fe6e(0xfe)]()||_0x34ab22[_0x22fe6e(0x103)]();})}}),_0x34ab22['on'](_0x3eb26f(0x11a),()=>{const _0x5e6b43=_0x3eb26f;_0xf097de[_0x5e6b43(0x16f)][_0x5e6b43(0x130)][_0x5e6b43(0x103)](),_0xf097de[_0x5e6b43(0x127)][_0x5e6b43(0x11a)](_0x5e6b43(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x34ab22),{'listItem':_0x31ac7c,'highlightViews':[_0x506dd4]};}}[_0x2dcbe9(0x109)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6){const _0x32e4e3=_0x2dcbe9;return _0x37417b&&_0x28bde6?this[_0x32e4e3(0x134)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6):this[_0x32e4e3(0x15a)](_0x4b2249,_0x1e2187);}[_0x2dcbe9(0x134)](_0x338d7b,_0x45c4d8,_0x109278,_0x2f061a){const _0x5947de=_0x2dcbe9,_0x522958=new _0x2c7cb0(this[_0x5947de(0x115)]),_0x51a9c4=new _0x9d50e5(this[_0x5947de(0x115)]),_0x595ec4=_0x51a9c4[_0x5947de(0x175)],{view:_0x559ef2,highlightView:_0x3cf61a}=this[_0x5947de(0x132)](_0x109278,_0x2f061a),{view:_0x53a6a8,highlightView:_0x5c9aa3}=this[_0x5947de(0x112)](_0x45c4d8[_0x5947de(0x165)]),_0x197fe5=this[_0x5947de(0xff)](_0x559ef2,_0x53a6a8);return _0x51a9c4[_0x5947de(0x12e)]({'label':_0x45c4d8[_0x5947de(0x165)],'withText':!0x0,'role':_0x5947de(0x122),'class':_0x5947de(0x143),'tooltip':!0x1}),_0x51a9c4[_0x5947de(0x12d)]({'tag':_0x5947de(0x14c),'attributes':{'class':['ck',_0x5947de(0x152),_0x5947de(0x11b),_0x5947de(0x16e),_0x5947de(0x158),_0x5947de(0x16b)],'type':_0x5947de(0x14c),'role':_0x5947de(0x122),'tabindex':'-1'},'children':[_0x197fe5],'on':{'mouseenter':_0x595ec4['to'](()=>{const _0xaee498=_0x5947de;this[_0xaee498(0xfe)]()||_0x51a9c4[_0xaee498(0x103)]();}),'click':_0x595ec4['to'](()=>{const _0x1673c4=_0x5947de;this[_0x1673c4(0x118)](_0x51a9c4);})}}),this[_0x5947de(0x16d)](_0x51a9c4,_0x338d7b,_0x45c4d8),_0x522958[_0x5947de(0x11d)][_0x5947de(0x114)](_0x51a9c4),{'listItem':_0x522958,'highlightViews':[_0x3cf61a,_0x5c9aa3]};}[_0x2dcbe9(0x15a)](_0x16a670,_0x2ff34c){const _0x14eca4=_0x2dcbe9,_0x1db5c1=new _0x2c7cb0(this[_0x14eca4(0x115)]),_0x289f50=new _0x149ebb(),_0x5200a8=new _0x9d50e5(this[_0x14eca4(0x115)],_0x289f50),_0xd11002=_0x5200a8[_0x14eca4(0x175)];return _0x5200a8[_0x14eca4(0x12e)]({'label':_0x2ff34c[_0x14eca4(0x165)],'withText':!0x0,'role':_0x14eca4(0x122),'icon':void 0x0,'tooltip':!0x1,'class':_0x14eca4(0x15f)}),_0x5200a8[_0x14eca4(0x159)]({'on':{'mouseenter':_0xd11002['to'](()=>{const _0x1dc7ef=_0x14eca4;this[_0x1dc7ef(0xfe)]()||_0x5200a8[_0x1dc7ef(0x103)]();})}}),this[_0x14eca4(0x16d)](_0x5200a8,_0x16a670,_0x2ff34c),_0x1db5c1[_0x14eca4(0x11d)][_0x14eca4(0x114)](_0x5200a8),{'listItem':_0x1db5c1,'highlightViews':[_0x289f50]};}[_0x2dcbe9(0x132)](_0x775655,_0x2fa19d){const _0x58694b=_0x2dcbe9,_0x124305=new _0x5f4784(this[_0x58694b(0x115)]),_0x3340c8=new _0x21c088();_0x3340c8[_0x58694b(0x107)]=_0x2fa19d,_0x3340c8[_0x58694b(0x159)]({'attributes':{'class':_0x58694b(0xf9)}});const _0x378667=new _0x41cc49();return _0x378667[_0x58694b(0x147)]=_0x775655,_0x124305[_0x58694b(0x12d)]({'tag':_0x58694b(0x14a),'attributes':{'class':_0x58694b(0x15e)},'children':[_0x3340c8,_0x378667]}),{'view':_0x124305,'highlightView':_0x378667};}[_0x2dcbe9(0x112)](_0x19a17f){const _0x4c2bae=_0x2dcbe9,_0x2419cb=new _0x5f4784(this[_0x4c2bae(0x115)]),_0x2a5ac5=new _0x41cc49();return _0x2a5ac5[_0x4c2bae(0x147)]=_0x19a17f,_0x2419cb[_0x4c2bae(0x12d)]({'tag':_0x4c2bae(0x14a),'attributes':{'class':_0x4c2bae(0x137)},'children':[_0x2a5ac5]}),{'view':_0x2419cb,'highlightView':_0x2a5ac5};}[_0x2dcbe9(0xff)](_0x4c1121,_0x56d014){const _0x4efc9c=_0x2dcbe9,_0x5a1a50=new _0x5f4784(this[_0x4efc9c(0x115)]);return _0x5a1a50[_0x4efc9c(0x12d)]({'tag':_0x4efc9c(0x14a),'attributes':{'class':_0x4efc9c(0x139)},'children':[_0x4c1121,_0x56d014]}),_0x5a1a50;}[_0x2dcbe9(0x16d)](_0x5bed96,_0x3b4d22,_0x5676ba){const _0x756e76=_0x2dcbe9;_0x5bed96['on'](_0x756e76(0x11a),()=>{const _0x16919b=_0x756e76;_0x3b4d22[_0x16919b(0x16f)][_0x16919b(0x130)][_0x16919b(0x103)](),_0x3b4d22[_0x16919b(0x127)][_0x16919b(0x11a)](_0x16919b(0x10e),_0x5676ba);});}[_0x2dcbe9(0x149)](_0xff93e5,_0x1abd0e,_0x35b4fa){const _0x355336=_0x2dcbe9,_0x579d35=new _0x2c7cb0(this[_0x355336(0x115)]),_0x37d0f6=new _0x149ebb(),_0x233e3e=new _0x1daa59(this[_0x355336(0x115)],_0x37d0f6),_0x4ad501=_0x233e3e[_0x355336(0x175)],_0x4a64ec=this[_0x355336(0x120)](_0x35b4fa),_0x5f07be=this[_0x355336(0x128)](_0xff93e5,_0x1abd0e[_0x355336(0x146)],_0x35b4fa);_0x233e3e[_0x355336(0x12e)]({'label':_0x1abd0e[_0x355336(0x178)],'withText':!0x0,'role':Gs,'icon':_0x1abd0e[_0x355336(0x13f)]??_0x50c411,'isEnabled':_0x1abd0e[_0x355336(0x146)][_0x355336(0x13a)](_0x2cc14f=>_0x2cc14f[_0x355336(0x119)])}),_0x233e3e[_0x355336(0x159)]({'on':{'mouseenter':_0x4ad501['to'](()=>{const _0x16b824=_0x355336;this[_0x16b824(0xfe)]()||_0x233e3e[_0x16b824(0x103)]();})}});const _0xd2ba13=new _0x3eb81d(this[_0x355336(0x115)]);return _0xd2ba13[_0x355336(0x159)]({'attributes':{'class':['ck',_0x355336(0x113),_0x355336(0x110),_0x355336(0xfd)]},'on':{'keydown':_0x4ad501['to'](_0x4eae22=>{const _0x5cd4fa=_0x355336;this[_0x5cd4fa(0x168)](_0x4eae22,_0x4a64ec,_0x233e3e,_0xd2ba13);})}}),_0x233e3e[_0x355336(0x138)](_0x355336(0x125))['to'](_0xd2ba13,_0x355336(0x161)),this[_0x355336(0x11c)][_0x355336(0x114)](_0xd2ba13),_0xd2ba13[_0x355336(0x107)][_0x355336(0x114)](_0x5f07be),this[_0x355336(0x10f)](_0x233e3e,_0xd2ba13),_0x579d35[_0x355336(0x11d)][_0x355336(0x114)](_0x233e3e),{'listItem':_0x579d35,'highlightView':_0x37d0f6};}[_0x2dcbe9(0x128)](_0x3b6922,_0x223b98,_0x2b93f4){const _0x1e3d5f=_0x2dcbe9,_0x382cfa=new _0x563593(this[_0x1e3d5f(0x115)]);return _0x382cfa[_0x1e3d5f(0x159)]({'attributes':{'class':['ck',_0x1e3d5f(0x113),_0x1e3d5f(0xfc),_0x1e3d5f(0x14f)]}}),_0x223b98[_0x1e3d5f(0x105)](_0x26217d=>{const _0x26fca9=_0x1e3d5f,_0x33c14f=new _0x2c7cb0(this[_0x26fca9(0x115)]),_0x515af8=_0x4a36d1({'editor':_0x3b6922,'action':_0x26217d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x26fca9(0xfe)]()})();_0x33c14f[_0x26fca9(0x11d)][_0x26fca9(0x114)](_0x515af8),_0x2b93f4[_0x26fca9(0x170)][_0x26fca9(0x114)](_0x515af8),_0x382cfa[_0x26fca9(0x166)][_0x26fca9(0x114)](_0x33c14f);}),_0x382cfa;}[_0x2dcbe9(0x10f)](_0x1539dd,_0x3f6c06){const _0x3e01db=_0x2dcbe9,_0x299696=_0x1539dd[_0x3e01db(0x175)],_0x204bab=this[_0x3e01db(0x140)](_0x1539dd);_0x1539dd[_0x3e01db(0x159)]({'attributes':{'class':[_0x3e01db(0x17c)]},'on':{'mouseenter':_0x299696['to'](()=>{const _0x2dc2c1=_0x3e01db;this[_0x2dc2c1(0x16a)](_0x3f6c06,_0x1539dd);}),'mouseleave':_0x299696['to'](_0x2e546f=>{const _0x475e71=_0x3e01db,_0x3a2e1a=_0x2e546f[_0x475e71(0x142)];this[_0x475e71(0x117)](_0x3a2e1a,_0x3f6c06)||this[_0x475e71(0x17a)](_0x3f6c06);}),'keydown':_0x299696['to'](_0x21f6f2=>{const _0x1e05f7=_0x3e01db;_0x21f6f2[_0x1e05f7(0x176)]==_0x204bab&&(this[_0x1e05f7(0x16a)](_0x3f6c06,_0x1539dd),_0x3f6c06[_0x1e05f7(0x107)][_0x1e05f7(0x148)](0x0)[_0x1e05f7(0x103)]());})}}),_0x3f6c06['on'](_0x3e01db(0x172),()=>{const _0x1a3d86=_0x3e01db;_0x3f6c06[_0x1a3d86(0x136)]?.[_0x1a3d86(0x13d)](_0x1a3d86(0x157),_0x4d438d=>{const _0x1ebf3c=_0x1a3d86,_0x35b00f=_0x4d438d[_0x1ebf3c(0x142)];_0x1539dd[_0x1ebf3c(0x136)]?.[_0x1ebf3c(0x151)](_0x35b00f)||this[_0x1ebf3c(0x117)](_0x35b00f,_0x3f6c06)||this[_0x1ebf3c(0x17a)](_0x3f6c06);});});}[_0x2dcbe9(0x16a)](_0x1d6070,_0x4661ef){const _0x56037e=_0x2dcbe9;this[_0x56037e(0x154)][_0x56037e(0x105)](_0x3fb701=>{const _0xd94da3=_0x56037e;_0x3fb701!==_0x1d6070&&_0x3fb701[_0xd94da3(0x161)]&&_0x3fb701[_0xd94da3(0x10d)]();}),_0x1d6070[_0x56037e(0x11f)](),_0x1d6070[_0x56037e(0x104)]({'positions':[_0x255859[_0x56037e(0x10a)]],'target':_0x4661ef[_0x56037e(0x136)],'fitInViewport':!0x0}),this[_0x56037e(0x154)][_0x56037e(0x114)](_0x1d6070);}[_0x2dcbe9(0x17a)](_0x2d6610){const _0x3cb36e=_0x2dcbe9;_0x2d6610[_0x3cb36e(0x10d)](),this[_0x3cb36e(0x154)][_0x3cb36e(0x144)](_0x2d6610);}[_0x2dcbe9(0x174)](){const _0x15f1a0=_0x2dcbe9;this[_0x15f1a0(0x154)][_0x15f1a0(0x105)](_0x4c221d=>_0x4c221d[_0x15f1a0(0x10d)]()),this[_0x15f1a0(0x154)][_0x15f1a0(0x153)]();}[_0x2dcbe9(0x117)](_0x37ef34,_0x242efb){const _0x59d60f=_0x2dcbe9;if(!_0x37ef34)return!0x1;if(_0x242efb[_0x59d60f(0x136)]?.[_0x59d60f(0x151)](_0x37ef34))return!0x0;const _0x13b734=_0x37ef34;return _0x13b734[_0x59d60f(0x101)]&&(null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x102))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x169))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x150)));}[_0x2dcbe9(0x133)](){const _0x505762=_0x2dcbe9;this[_0x505762(0x171)]&&this[_0x505762(0x171)][_0x505762(0x163)]();}[_0x2dcbe9(0x13e)](){const _0x16d59c=_0x2dcbe9;this[_0x16d59c(0x174)](),this[_0x16d59c(0x11c)][_0x16d59c(0x160)](),super[_0x16d59c(0x13e)]();}[_0x2dcbe9(0x103)](){const _0x4d2e11=_0x2dcbe9;this[_0x4d2e11(0x171)]?this[_0x4d2e11(0x171)][_0x4d2e11(0x103)]():this[_0x4d2e11(0x13c)][_0x4d2e11(0x103)]();}[_0x2dcbe9(0x120)](_0x334750){const _0x1171a0=_0x2dcbe9;return _0x1171a0(0x162)===_0x334750[_0x1171a0(0x115)][_0x1171a0(0x116)]?_0x1171a0(0x10b):_0x1171a0(0xfa);}[_0x2dcbe9(0x140)](_0x137cd4){const _0x37a134=_0x2dcbe9;return _0x37a134(0x162)===_0x137cd4[_0x37a134(0x115)][_0x37a134(0x116)]?_0x37a134(0xfa):_0x37a134(0x10b);}[_0x2dcbe9(0x168)](_0x54fa0e,_0x51b11b,_0x218c40,_0x362a8a){const _0x363dfe=_0x2dcbe9;_0x54fa0e[_0x363dfe(0x176)]==_0x51b11b&&(_0x218c40[_0x363dfe(0x103)](),this[_0x363dfe(0x17a)](_0x362a8a));}[_0x2dcbe9(0x118)](_0x5d9d8d){const _0x43545b=_0x2dcbe9;_0x5d9d8d[_0x43545b(0x106)](_0x43545b(0x11a));}}
|
|
23
|
+
const _0x41295f=_0x5bfc;(function(_0x5a5faf,_0x16d5b5){const _0x2d6cc6=_0x5bfc,_0x528d18=_0x5a5faf();while(!![]){try{const _0xb317d8=parseInt(_0x2d6cc6(0x1b1))/0x1*(-parseInt(_0x2d6cc6(0x194))/0x2)+parseInt(_0x2d6cc6(0x1c0))/0x3+-parseInt(_0x2d6cc6(0x19f))/0x4*(-parseInt(_0x2d6cc6(0x1c7))/0x5)+parseInt(_0x2d6cc6(0x149))/0x6*(-parseInt(_0x2d6cc6(0x1c2))/0x7)+parseInt(_0x2d6cc6(0x1cf))/0x8+parseInt(_0x2d6cc6(0x15b))/0x9+parseInt(_0x2d6cc6(0x19d))/0xa*(-parseInt(_0x2d6cc6(0x16a))/0xb);if(_0xb317d8===_0x16d5b5)break;else _0x528d18['push'](_0x528d18['shift']());}catch(_0x4ae9ae){_0x528d18['push'](_0x528d18['shift']());}}}(_0x6a22,0xdc765));import{View as _0x175687,ListItemView as _0x418749,ListView as _0x4a04ed,BalloonPanelView as _0x11e77d,DropdownMenuPanelPositioningFunctions as _0x24667e,ViewCollection as _0x48c253,FocusCycler as _0x5d5f4d,ButtonView as _0x4a837b,IconView as _0x1f3fe7,HighlightedTextView as _0x2be017,ButtonLabelWithHighlightView as _0x43a709,SearchTextView as _0x221a20}from'ckeditor5/src/ui.js';function _0x6a22(){const _0x49245e=['ck-ai-quick-actions-search-result__group-row','add','menu','ck-reset_all','.ck-ai-quick-actions-group-button','get','_allSearchableItems','_searchTextView','detachFromDom','ownerDocument','first','ck-ai-quick-actions-button__group-icon','_createSearchResultActionButton','ck-ai-quick-actions-button_with-group__close-paren','3941112KxpoEr','some','8244089sEFRDA','_handlePanelKeydown','_focusables','isOn','closest','2967985rHFifH','_createGroupActionsList','ck-button_with-text','destroy','aiQuickAction','contains','hide','reset','4193496nvdfNL','button','element','6SOzsfp','icon','execute','_createSearchResultGroupedActionButton','_createActionButton','pin','.ck-ai-quick-actions-group-panel','optionsListView','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','addMany','push','_hideAllNestedPanels','span','_isMovingToNestedMenu','editing','ck-ai-quick-actions-search','_createSearchResultContentView','15639525pgNqkH','ck-ai-quick-actions-group-panel','keystrokes','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','menuitem','text','_createActionGroupButton','addEventListener','commands','_getButtonKeystroke','ck-ai-quick-actions-button','items','ck-dropdown-menu__nested-menu__panel','chain','delete','11492679yUPSqi','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','queryView','parent','ck-button','_createSearchTextView','isVisible','clear','fire','setTemplate','_showNestedPanel','bind','focusCycler','displayedPrompt','_createSearchResultGroupRow','_setupActionButtonExecution','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-group-button','_isSearchFocused','key','ck-ai-quick-actions','fieldView','ck-ai-quick-actions-group-list','extendTemplate','forEach','ArrowRight','isEnabled','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH','show','label','activeElement','ck-ai-quick-actions-search-result__content','ck-dropdown-menu-list','children','set','render','uiLanguageDirection','bindTemplate','focus','_getPanelKeystroke','locale','3274562tZPiLf','ArrowLeft','ck-ai-quick-actions-button_with-group','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_setupGroupMenuBehavior','_openNestedPanels','ck-ai-quick-actions-search-result__action-row','eastSouth','_hasSearch','10jIIMDV','ck-ai-quick-actions-button_with-group__open-paren','8WAShdS','_createListItems','content','relatedTarget','ck-ai-quick-actions-search-result-button','view','rtl','_bodyCollection','role','_createSearchResultIndividualActionButton','resetSearch','.ck-ai-quick-actions-group-list','actions','div','ck-rounded-corners','_createSearchResultActionRow','focusTracker','_hideNestedPanel','1hXhSfY'];_0x6a22=function(){return _0x49245e;};return _0x6a22();}import{IconAIQuickActions as _0x4546e8}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x8c0ec4,KeystrokeHandler as _0x4590d8}from'ckeditor5/src/utils.js';function _0x5bfc(_0x326e89,_0x1bc3c0){const _0x6a228d=_0x6a22();return _0x5bfc=function(_0x5bfcf1,_0x31c6ca){_0x5bfcf1=_0x5bfcf1-0x149;let _0x54d762=_0x6a228d[_0x5bfcf1];return _0x54d762;},_0x5bfc(_0x326e89,_0x1bc3c0);}import{aiQuickActionsButtonCreator as _0x174688}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x56be4e}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x43102f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x34d511}from'./aiquickactionsfilteredlistview.js';const Qs=_0x41295f(0x1b4),Gs=_0x41295f(0x15f);export class AIQuickActionsDropdownContentView extends _0x175687{[_0x41295f(0x1a6)];[_0x41295f(0x150)];[_0x41295f(0x1b9)]=null;[_0x41295f(0x1b8)]=[];[_0x41295f(0x18c)];[_0x41295f(0x1af)];[_0x41295f(0x15d)];[_0x41295f(0x1c4)];[_0x41295f(0x176)];[_0x41295f(0x199)]=new Set();[_0x41295f(0x19c)];constructor(_0x173a88,_0x37a279,_0x12655f,_0x3e0d72,_0x252605=!0x1){const _0x207989=_0x41295f,_0x759dd6=_0x173a88[_0x207989(0x193)];super(_0x759dd6),this[_0x207989(0x1a6)]=_0x3e0d72,this[_0x207989(0x19c)]=_0x252605;const _0x127b3f=this[_0x207989(0x1a0)](_0x173a88,_0x37a279,_0x12655f);this[_0x207989(0x150)]=new _0x34d511(_0x759dd6,_0x127b3f,this[_0x207989(0x1b8)]),this[_0x207989(0x150)][_0x207989(0x1a7)]=Qs,this[_0x207989(0x150)][_0x207989(0x166)][_0x207989(0x153)](_0x127b3f),this[_0x207989(0x1af)]=new _0x8c0ec4(),this[_0x207989(0x15d)]=new _0x4590d8(),_0x252605&&(this[_0x207989(0x1b9)]=this[_0x207989(0x16f)]()),this[_0x207989(0x1c4)]=_0x127b3f,this[_0x207989(0x176)]=new _0x5d5f4d({'focusables':this[_0x207989(0x1c4)],'focusTracker':this[_0x207989(0x1af)],'keystrokeHandler':this[_0x207989(0x15d)]}),_0x252605&&this[_0x207989(0x1b9)]&&this[_0x207989(0x176)][_0x207989(0x168)](this[_0x207989(0x1b9)][_0x207989(0x176)]);const _0x37a00a=_0x252605&&this[_0x207989(0x1b9)]?[this[_0x207989(0x1b9)]]:[this[_0x207989(0x150)]];this[_0x207989(0x18c)]=new _0x48c253(_0x37a00a),this[_0x207989(0x173)]({'tag':_0x207989(0x1ac),'attributes':{'class':['ck',_0x207989(0x1b5),_0x207989(0x17e),_0x207989(0x1ad)],'dir':_0x759dd6[_0x207989(0x18f)]},'children':this[_0x207989(0x18c)]});}[_0x41295f(0x16f)](){const _0x446326=_0x41295f;return new _0x221a20(this[_0x446326(0x193)],{'filteredView':this[_0x446326(0x150)],'queryView':{'label':_0x43102f(this[_0x446326(0x193)],_0x446326(0x186))},'class':_0x446326(0x159),'infoView':{'text':{'notFound':{'primary':_0x43102f(this[_0x446326(0x193)],_0x446326(0x197))}}}});}[_0x41295f(0x17c)](){const _0x22178d=_0x41295f;if(!this[_0x22178d(0x19c)]||!this[_0x22178d(0x1b9)]||!this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)])return!0x1;const _0x3786db=this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1bb)]?.[_0x22178d(0x189)];return this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1cc)](_0x3786db);}[_0x41295f(0x1a0)](_0x430240,_0x1e3f99,_0x24bbcf){const _0x1bd673=_0x41295f,_0x3b52a6=new _0x48c253();return _0x1e3f99[_0x1bd673(0x182)](_0x3d131e=>{const _0x343582=_0x1bd673;if(_0x343582(0x1ab)in _0x3d131e){const {listItem:_0x4d9521}=this[_0x343582(0x161)](_0x430240,_0x3d131e,_0x24bbcf);_0x3b52a6[_0x343582(0x1b3)](_0x4d9521),_0x3d131e[_0x343582(0x1ab)][_0x343582(0x182)](_0x5b839a=>{const _0x454282=_0x343582;this[_0x454282(0x14d)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);const {listItem:_0x462957,highlightViews:_0x5311bb}=this[_0x454282(0x1be)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);this[_0x454282(0x1b8)][_0x454282(0x154)]({'item':_0x462957,'label':_0x5b839a[_0x454282(0x177)],'groupLabel':_0x3d131e[_0x454282(0x188)],'highlightViews':_0x5311bb});});}else{const {listItem:_0x2d9c28}=this[_0x343582(0x14d)](_0x430240,_0x3d131e);_0x3b52a6[_0x343582(0x1b3)](_0x2d9c28);const _0x9c065a=_0x2d9c28[_0x343582(0x18c)][_0x343582(0x1bc)];if(_0x9c065a){const {listItem:_0x2b2a9c,highlightViews:_0x3bd4d3}=this[_0x343582(0x1be)](_0x430240,_0x3d131e);this[_0x343582(0x1b8)][_0x343582(0x154)]({'item':_0x2b2a9c,'label':_0x9c065a[_0x343582(0x188)]||'','highlightViews':_0x3bd4d3});}}}),_0x3b52a6;}[_0x41295f(0x14d)](_0x36d711,_0x850dbf,_0x259ee2,_0x28632b){const _0x426431=_0x41295f,_0x5373ee=new _0x418749(this[_0x426431(0x193)]);if(_0x259ee2&&_0x28632b){const _0x561b40=new _0x4a837b(this[_0x426431(0x193)]),_0x42048f=_0x561b40[_0x426431(0x190)],_0x583efc=new _0x2be017();_0x583efc[_0x426431(0x160)]=_0x850dbf[_0x426431(0x177)];const _0x3b86ed=new _0x2be017();_0x3b86ed[_0x426431(0x160)]=_0x259ee2;const _0x270446=new _0x1f3fe7();_0x270446[_0x426431(0x1a1)]=_0x28632b,_0x270446[_0x426431(0x181)]({'attributes':{'class':_0x426431(0x1bd)}});const _0x272e83=new _0x175687(this[_0x426431(0x193)]);_0x272e83[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x19e)},'children':[{'text':'\x20('}]});const _0xf55722=new _0x175687(this[_0x426431(0x193)]);return _0xf55722[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x1bf)},'children':[{'text':')'}]}),_0x561b40[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)]+'\x20('+_0x259ee2+')','withText':!0x0,'role':_0x426431(0x15f),'class':_0x426431(0x15e),'tooltip':!0x1}),_0x561b40[_0x426431(0x173)]({'tag':_0x426431(0x1d0),'attributes':{'class':['ck',_0x426431(0x16e),_0x426431(0x1c9),_0x426431(0x165),_0x426431(0x196)],'type':_0x426431(0x1d0),'role':_0x426431(0x15f),'tabindex':'-1'},'children':[_0x583efc,_0x272e83,_0x270446,_0x3b86ed,_0xf55722],'on':{'mouseenter':_0x42048f['to'](()=>{const _0x260ebe=_0x426431;this[_0x260ebe(0x17c)]()||_0x561b40[_0x260ebe(0x191)]();}),'click':_0x42048f['to'](()=>{const _0x461576=_0x426431;_0x561b40[_0x461576(0x172)](_0x461576(0x14b));})}}),_0x561b40['on'](_0x426431(0x14b),()=>{const _0x27714b=_0x426431;_0x36d711[_0x27714b(0x158)][_0x27714b(0x1a4)][_0x27714b(0x191)](),_0x36d711[_0x27714b(0x163)][_0x27714b(0x14b)](_0x27714b(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x561b40),{'listItem':_0x5373ee,'highlightViews':[_0x583efc,_0x3b86ed]};}{const _0x543646=new _0x43a709(),_0x5d3759=new _0x4a837b(this[_0x426431(0x193)],_0x543646),_0x1c1e8c=_0x5d3759[_0x426431(0x190)],_0x274070=_0x850dbf[_0x426431(0x14a)]??_0x850dbf[_0x426431(0x16d)]?.[_0x426431(0x14a)],_0x37bc38=void 0x0!==_0x850dbf[_0x426431(0x14a)];return _0x5d3759[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)],'withText':!0x0,'role':_0x426431(0x15f),'icon':_0x37bc38?_0x274070??_0x4546e8:void 0x0,'tooltip':!0x1,'class':_0x426431(0x165)}),_0x5d3759[_0x426431(0x181)]({'on':{'mouseenter':_0x1c1e8c['to'](()=>{const _0x411233=_0x426431;this[_0x411233(0x17c)]()||_0x5d3759[_0x411233(0x191)]();})}}),_0x5d3759['on'](_0x426431(0x14b),()=>{const _0x48f1d8=_0x426431;_0x36d711[_0x48f1d8(0x158)][_0x48f1d8(0x1a4)][_0x48f1d8(0x191)](),_0x36d711[_0x48f1d8(0x163)][_0x48f1d8(0x14b)](_0x48f1d8(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x5d3759),{'listItem':_0x5373ee,'highlightViews':[_0x543646]};}}[_0x41295f(0x1be)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402){const _0x1060b9=_0x41295f;return _0x5a108d&&_0x5e6402?this[_0x1060b9(0x14c)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402):this[_0x1060b9(0x1a8)](_0x203bf2,_0x12032c);}[_0x41295f(0x14c)](_0x44bfe9,_0x5f4c00,_0x2cbfbe,_0x553ec7){const _0x3b7fdc=_0x41295f,_0xcbd185=new _0x418749(this[_0x3b7fdc(0x193)]),_0x5e4954=new _0x4a837b(this[_0x3b7fdc(0x193)]),_0x600096=_0x5e4954[_0x3b7fdc(0x190)],{view:_0x510451,highlightView:_0x161ea6}=this[_0x3b7fdc(0x178)](_0x2cbfbe,_0x553ec7),{view:_0x38ea7f,highlightView:_0xdfd054}=this[_0x3b7fdc(0x1ae)](_0x5f4c00[_0x3b7fdc(0x177)]),_0x563641=this[_0x3b7fdc(0x15a)](_0x510451,_0x38ea7f);return _0x5e4954[_0x3b7fdc(0x18d)]({'label':_0x5f4c00[_0x3b7fdc(0x177)],'withText':!0x0,'role':_0x3b7fdc(0x15f),'class':_0x3b7fdc(0x152),'tooltip':!0x1}),_0x5e4954[_0x3b7fdc(0x173)]({'tag':_0x3b7fdc(0x1d0),'attributes':{'class':['ck',_0x3b7fdc(0x16e),_0x3b7fdc(0x1c9),_0x3b7fdc(0x165),_0x3b7fdc(0x1a3),_0x3b7fdc(0x17a)],'type':_0x3b7fdc(0x1d0),'role':_0x3b7fdc(0x15f),'tabindex':'-1'},'children':[_0x563641],'on':{'mouseenter':_0x600096['to'](()=>{const _0x4c1ce7=_0x3b7fdc;this[_0x4c1ce7(0x17c)]()||_0x5e4954[_0x4c1ce7(0x191)]();}),'click':_0x600096['to'](()=>{const _0xef97a8=_0x3b7fdc;this[_0xef97a8(0x185)](_0x5e4954);})}}),this[_0x3b7fdc(0x179)](_0x5e4954,_0x44bfe9,_0x5f4c00),_0xcbd185[_0x3b7fdc(0x18c)][_0x3b7fdc(0x1b3)](_0x5e4954),{'listItem':_0xcbd185,'highlightViews':[_0x161ea6,_0xdfd054]};}[_0x41295f(0x1a8)](_0x1e543b,_0x403a61){const _0x105bad=_0x41295f,_0x279cdd=new _0x418749(this[_0x105bad(0x193)]),_0x5042a0=new _0x43a709(),_0xcefeca=new _0x4a837b(this[_0x105bad(0x193)],_0x5042a0),_0x103f12=_0xcefeca[_0x105bad(0x190)];return _0xcefeca[_0x105bad(0x18d)]({'label':_0x403a61[_0x105bad(0x177)],'withText':!0x0,'role':_0x105bad(0x15f),'icon':void 0x0,'tooltip':!0x1,'class':_0x105bad(0x16b)}),_0xcefeca[_0x105bad(0x181)]({'on':{'mouseenter':_0x103f12['to'](()=>{const _0x153c1d=_0x105bad;this[_0x153c1d(0x17c)]()||_0xcefeca[_0x153c1d(0x191)]();})}}),this[_0x105bad(0x179)](_0xcefeca,_0x1e543b,_0x403a61),_0x279cdd[_0x105bad(0x18c)][_0x105bad(0x1b3)](_0xcefeca),{'listItem':_0x279cdd,'highlightViews':[_0x5042a0]};}[_0x41295f(0x178)](_0x51eea8,_0x41f027){const _0x5404c3=_0x41295f,_0x3a9e6e=new _0x175687(this[_0x5404c3(0x193)]),_0x230323=new _0x1f3fe7();_0x230323[_0x5404c3(0x1a1)]=_0x41f027,_0x230323[_0x5404c3(0x181)]({'attributes':{'class':_0x5404c3(0x1bd)}});const _0x588a75=new _0x2be017();return _0x588a75[_0x5404c3(0x160)]=_0x51eea8,_0x3a9e6e[_0x5404c3(0x173)]({'tag':_0x5404c3(0x1ac),'attributes':{'class':_0x5404c3(0x1b2)},'children':[_0x230323,_0x588a75]}),{'view':_0x3a9e6e,'highlightView':_0x588a75};}[_0x41295f(0x1ae)](_0x1c7035){const _0x463149=_0x41295f,_0x5ed4ff=new _0x175687(this[_0x463149(0x193)]),_0x5d3be2=new _0x2be017();return _0x5d3be2[_0x463149(0x160)]=_0x1c7035,_0x5ed4ff[_0x463149(0x173)]({'tag':_0x463149(0x1ac),'attributes':{'class':_0x463149(0x19a)},'children':[_0x5d3be2]}),{'view':_0x5ed4ff,'highlightView':_0x5d3be2};}[_0x41295f(0x15a)](_0x21c864,_0x26cbb5){const _0x4d8727=_0x41295f,_0xce959d=new _0x175687(this[_0x4d8727(0x193)]);return _0xce959d[_0x4d8727(0x173)]({'tag':_0x4d8727(0x1ac),'attributes':{'class':_0x4d8727(0x18a)},'children':[_0x21c864,_0x26cbb5]}),_0xce959d;}[_0x41295f(0x179)](_0x36cb3b,_0x12f578,_0x128327){const _0x22ec4a=_0x41295f;_0x36cb3b['on'](_0x22ec4a(0x14b),()=>{const _0x2b63c6=_0x22ec4a;_0x12f578[_0x2b63c6(0x158)][_0x2b63c6(0x1a4)][_0x2b63c6(0x191)](),_0x12f578[_0x2b63c6(0x163)][_0x2b63c6(0x14b)](_0x2b63c6(0x1cb),_0x128327);});}[_0x41295f(0x161)](_0x1b1094,_0x26cdd7,_0x18da1){const _0x1cded3=_0x41295f,_0x4cd5a1=new _0x418749(this[_0x1cded3(0x193)]),_0x15ef16=new _0x43a709(),_0x44f82d=new _0x56be4e(this[_0x1cded3(0x193)],_0x15ef16),_0x52889a=_0x44f82d[_0x1cded3(0x190)],_0x130dcd=this[_0x1cded3(0x192)](_0x18da1),_0xc8fe70=this[_0x1cded3(0x1c8)](_0x1b1094,_0x26cdd7[_0x1cded3(0x1ab)],_0x18da1);_0x44f82d[_0x1cded3(0x18d)]({'label':_0x26cdd7[_0x1cded3(0x188)],'withText':!0x0,'role':Gs,'icon':_0x26cdd7[_0x1cded3(0x14a)]??_0x4546e8,'isEnabled':_0x26cdd7[_0x1cded3(0x1ab)][_0x1cded3(0x1c1)](_0x44bd61=>_0x44bd61[_0x1cded3(0x184)])}),_0x44f82d[_0x1cded3(0x181)]({'on':{'mouseenter':_0x52889a['to'](()=>{const _0x2e9b99=_0x1cded3;this[_0x2e9b99(0x17c)]()||_0x44f82d[_0x2e9b99(0x191)]();})}});const _0x5b9437=new _0x11e77d(this[_0x1cded3(0x193)]);return _0x5b9437[_0x1cded3(0x181)]({'attributes':{'class':['ck',_0x1cded3(0x1b5),_0x1cded3(0x15c),_0x1cded3(0x167)]},'on':{'keydown':_0x52889a['to'](_0x46f3ad=>{const _0x4356cc=_0x1cded3;this[_0x4356cc(0x1c3)](_0x46f3ad,_0x130dcd,_0x44f82d,_0x5b9437);})}}),_0x44f82d[_0x1cded3(0x175)](_0x1cded3(0x1c5))['to'](_0x5b9437,_0x1cded3(0x170)),this[_0x1cded3(0x1a6)][_0x1cded3(0x1b3)](_0x5b9437),_0x5b9437[_0x1cded3(0x1a1)][_0x1cded3(0x1b3)](_0xc8fe70),this[_0x1cded3(0x198)](_0x44f82d,_0x5b9437),_0x4cd5a1[_0x1cded3(0x18c)][_0x1cded3(0x1b3)](_0x44f82d),{'listItem':_0x4cd5a1,'highlightView':_0x15ef16};}[_0x41295f(0x1c8)](_0x4e5635,_0x3348bd,_0x1d9b4e){const _0x44c081=_0x41295f,_0x3171a6=new _0x4a04ed(this[_0x44c081(0x193)]);return _0x3171a6[_0x44c081(0x181)]({'attributes':{'class':['ck',_0x44c081(0x1b5),_0x44c081(0x180),_0x44c081(0x18b)]}}),_0x3348bd[_0x44c081(0x182)](_0x52041a=>{const _0x309692=_0x44c081,_0x575fb7=new _0x418749(this[_0x309692(0x193)]),_0x551b2f=_0x174688({'editor':_0x4e5635,'action':_0x52041a,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x309692(0x17c)]()})();_0x575fb7[_0x309692(0x18c)][_0x309692(0x1b3)](_0x551b2f),_0x1d9b4e[_0x309692(0x1af)][_0x309692(0x1b3)](_0x551b2f),_0x3171a6[_0x309692(0x166)][_0x309692(0x1b3)](_0x575fb7);}),_0x3171a6;}[_0x41295f(0x198)](_0x533cb2,_0x422596){const _0x2c023e=_0x41295f,_0x1fe1bc=_0x533cb2[_0x2c023e(0x190)],_0x316f8d=this[_0x2c023e(0x164)](_0x533cb2);_0x533cb2[_0x2c023e(0x181)]({'attributes':{'class':[_0x2c023e(0x17b)]},'on':{'mouseenter':_0x1fe1bc['to'](()=>{const _0x99aa61=_0x2c023e;this[_0x99aa61(0x174)](_0x422596,_0x533cb2);}),'mouseleave':_0x1fe1bc['to'](_0x2aa332=>{const _0x267325=_0x2c023e,_0x1ab201=_0x2aa332[_0x267325(0x1a2)];this[_0x267325(0x157)](_0x1ab201,_0x422596)||this[_0x267325(0x1b0)](_0x422596);}),'keydown':_0x1fe1bc['to'](_0xc58e34=>{const _0x34d258=_0x2c023e;_0xc58e34[_0x34d258(0x17d)]==_0x316f8d&&(this[_0x34d258(0x174)](_0x422596,_0x533cb2),_0x422596[_0x34d258(0x1a1)][_0x34d258(0x1b7)](0x0)[_0x34d258(0x191)]());})}}),_0x422596['on'](_0x2c023e(0x18e),()=>{const _0x1db35f=_0x2c023e;_0x422596[_0x1db35f(0x1d1)]?.[_0x1db35f(0x162)](_0x1db35f(0x151),_0x3ab853=>{const _0x5e7f34=_0x1db35f,_0x580588=_0x3ab853[_0x5e7f34(0x1a2)];_0x533cb2[_0x5e7f34(0x1d1)]?.[_0x5e7f34(0x1cc)](_0x580588)||this[_0x5e7f34(0x157)](_0x580588,_0x422596)||this[_0x5e7f34(0x1b0)](_0x422596);});});}[_0x41295f(0x174)](_0x55a4ec,_0x34cfbd){const _0x106559=_0x41295f;this[_0x106559(0x199)][_0x106559(0x182)](_0x2fbfe3=>{const _0x1dee8b=_0x106559;_0x2fbfe3!==_0x55a4ec&&_0x2fbfe3[_0x1dee8b(0x170)]&&_0x2fbfe3[_0x1dee8b(0x1cd)]();}),_0x55a4ec[_0x106559(0x187)](),_0x55a4ec[_0x106559(0x14e)]({'positions':[_0x24667e[_0x106559(0x19b)]],'target':_0x34cfbd[_0x106559(0x1d1)],'fitInViewport':!0x0}),this[_0x106559(0x199)][_0x106559(0x1b3)](_0x55a4ec);}[_0x41295f(0x1b0)](_0x49de80){const _0x3746d3=_0x41295f;_0x49de80[_0x3746d3(0x1cd)](),this[_0x3746d3(0x199)][_0x3746d3(0x169)](_0x49de80);}[_0x41295f(0x155)](){const _0x3ec98b=_0x41295f;this[_0x3ec98b(0x199)][_0x3ec98b(0x182)](_0xac02fd=>_0xac02fd[_0x3ec98b(0x1cd)]()),this[_0x3ec98b(0x199)][_0x3ec98b(0x171)]();}[_0x41295f(0x157)](_0x1c52b8,_0x3554a8){const _0xfa7713=_0x41295f;if(!_0x1c52b8)return!0x1;if(_0x3554a8[_0xfa7713(0x1d1)]?.[_0xfa7713(0x1cc)](_0x1c52b8))return!0x0;const _0x28b21b=_0x1c52b8;return _0x28b21b[_0xfa7713(0x1c6)]&&(null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x14f))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1aa))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1b6)));}[_0x41295f(0x1a9)](){const _0x2d8ece=_0x41295f;this[_0x2d8ece(0x1b9)]&&this[_0x2d8ece(0x1b9)][_0x2d8ece(0x1ce)]();}[_0x41295f(0x1ca)](){const _0x5a259a=_0x41295f;this[_0x5a259a(0x155)](),this[_0x5a259a(0x1a6)][_0x5a259a(0x1ba)](),super[_0x5a259a(0x1ca)]();}[_0x41295f(0x191)](){const _0x10f1f9=_0x41295f;this[_0x10f1f9(0x1b9)]?this[_0x10f1f9(0x1b9)][_0x10f1f9(0x191)]():this[_0x10f1f9(0x150)][_0x10f1f9(0x191)]();}[_0x41295f(0x192)](_0x16bb16){const _0x3d73e6=_0x41295f;return _0x3d73e6(0x1a5)===_0x16bb16[_0x3d73e6(0x193)][_0x3d73e6(0x18f)]?_0x3d73e6(0x183):_0x3d73e6(0x195);}[_0x41295f(0x164)](_0x5247ac){const _0x1e9d45=_0x41295f;return _0x1e9d45(0x1a5)===_0x5247ac[_0x1e9d45(0x193)][_0x1e9d45(0x18f)]?_0x1e9d45(0x195):_0x1e9d45(0x183);}[_0x41295f(0x1c3)](_0x39f978,_0x9324f6,_0x1beeb3,_0x29152b){const _0x4549bc=_0x41295f;_0x39f978[_0x4549bc(0x17d)]==_0x9324f6&&(_0x1beeb3[_0x4549bc(0x191)](),this[_0x4549bc(0x1b0)](_0x29152b));}[_0x41295f(0x185)](_0x1e219d){const _0x567ce6=_0x41295f;_0x1e219d[_0x567ce6(0x172)](_0x567ce6(0x14b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x34ce15,_0xabd0b7){const _0x375b36=_0x26dd,_0x3f21e3=_0x34ce15();while(!![]){try{const _0x4bd203=-parseInt(_0x375b36(0x192))/0x1+parseInt(_0x375b36(0x18b))/0x2*(-parseInt(_0x375b36(0x19f))/0x3)+-parseInt(_0x375b36(0x198))/0x4*(-parseInt(_0x375b36(0x194))/0x5)+-parseInt(_0x375b36(0x193))/0x6*(parseInt(_0x375b36(0x19d))/0x7)+parseInt(_0x375b36(0x187))/0x8+-parseInt(_0x375b36(0x196))/0x9*(-parseInt(_0x375b36(0x18c))/0xa)+-parseInt(_0x375b36(0x183))/0xb;if(_0x4bd203===_0xabd0b7)break;else _0x3f21e3['push'](_0x3f21e3['shift']());}catch(_0x19fc94){_0x3f21e3['push'](_0x3f21e3['shift']());}}}(_0x1437,0xc248f));import{createDropdown as _0x435461}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2b6bc9}from'@ckeditor/ckeditor5-icons';function _0x1437(){const _0x1b7009=['icon','children','7745336POgTEa','length','resetSearch','label','2HGMiHC','10XxlRhV','from','selection','buttonView','change:isOpen','locale','151592YTeVzC','60faZsKm','710KmbeFO','ck-ai-quick-actions-dropdown','6677361RKhzXv','panelView','11268SkrIBa','set','showFakeVisualSelection','model','document','191849zsjbQy','ai-quick-actions-dropdown-selection','365979bMUeLy','get','hideFakeVisualSelection','getRanges','AIEditing','add','plugins','8433304hgwdNV','has'];_0x1437=function(){return _0x1b7009;};return _0x1437();}function _0x26dd(_0x5cbb8f,_0x9d3aba){const _0x14377=_0x1437();return _0x26dd=function(_0x26dd52,_0x1ec5ac){_0x26dd52=_0x26dd52-0x17f;let _0x162f45=_0x14377[_0x26dd52];return _0x162f45;},_0x26dd(_0x5cbb8f,_0x9d3aba);}import{AIQuickActionsDropdownContentView as _0x216f4c}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x1fa42e}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x39cd4a){const {editor:_0x5c474f,content:_0x16c24b,buttonDefinition:_0x266506,bodyCollection:_0x5ca021,hasSearch:_0x400283=!0x1}=_0x39cd4a;return()=>{const _0x5d82ec=_0x26dd,_0x3da3e8=_0x5c474f[_0x5d82ec(0x191)],_0x3ebd79=_0x435461(_0x3da3e8);_0x3ebd79[_0x5d82ec(0x18f)][_0x5d82ec(0x199)]({'icon':_0x266506[_0x5d82ec(0x185)]??_0x2b6bc9,'label':_0x266506[_0x5d82ec(0x18a)],'tooltip':!0x0}),_0x3ebd79[_0x5d82ec(0x199)]({'class':_0x5d82ec(0x195)});const _0x281791=new _0x216f4c(_0x5c474f,_0x16c24b,_0x3ebd79,_0x5ca021,_0x400283);if(_0x3ebd79[_0x5d82ec(0x197)][_0x5d82ec(0x186)][_0x5d82ec(0x181)](_0x281791),_0x400283){const _0x549ce3=_0x5d82ec(0x19e);_0x3ebd79['on'](_0x5d82ec(0x190),(_0xf46cfd,_0x5ebabd,_0x325272)=>{const _0x39ba89=_0x5d82ec;if(_0x325272){if(_0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x184)](_0x39ba89(0x180))){const _0x4bc823=_0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x1a0)](_0x1fa42e),_0x16adf5=_0x5c474f[_0x39ba89(0x19b)][_0x39ba89(0x19c)][_0x39ba89(0x18e)],_0x29d317=Array[_0x39ba89(0x18d)](_0x16adf5[_0x39ba89(0x17f)]());_0x29d317[_0x39ba89(0x188)]>0x0&&_0x4bc823[_0x39ba89(0x19a)](_0x29d317,_0x549ce3,!0x1,!0x0);}}else _0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x184)](_0x39ba89(0x180))&&_0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x1a0)](_0x1fa42e)[_0x39ba89(0x1a1)](_0x549ce3),_0x281791[_0x39ba89(0x189)]();});}return _0x3ebd79;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5aa8(_0x483c1c,_0x29c8b2){const _0x446862=_0x4468();return _0x5aa8=function(_0x5aa8bb,_0x543a74){_0x5aa8bb=_0x5aa8bb-0x87;let _0x19dcc7=_0x446862[_0x5aa8bb];return _0x19dcc7;},_0x5aa8(_0x483c1c,_0x29c8b2);}const _0x1bb34b=_0x5aa8;function _0x4468(){const _0x697dd4=['3954deEqzD','source','_allSearchableItems','1468780iUMnIc','groupLabel','_clearHighlight','item','label','trim','342488qqGYlD','highlightText','2063511bwybnC','toLowerCase','forEach','341619xtDUYE','highlightViews','length','filter','496fyNpSW','function','5NMgZVI','items','clear','4166970FXyJjB','addMany','2xKzPlu','map','includes','_highlightQuery','16564064RJZmoo','_allListItems','28JdEjHP','sort'];_0x4468=function(){return _0x697dd4;};return _0x4468();}(function(_0x190b77,_0x3c6b22){const _0xf7b0a1=_0x5aa8,_0x19bb1c=_0x190b77();while(!![]){try{const _0x3e1e03=parseInt(_0xf7b0a1(0xa2))/0x1*(-parseInt(_0xf7b0a1(0x8c))/0x2)+-parseInt(_0xf7b0a1(0x94))/0x3*(parseInt(_0xf7b0a1(0xa6))/0x4)+-parseInt(_0xf7b0a1(0x87))/0x5*(parseInt(_0xf7b0a1(0x8a))/0x6)+-parseInt(_0xf7b0a1(0x92))/0x7*(-parseInt(_0xf7b0a1(0x9d))/0x8)+-parseInt(_0xf7b0a1(0x9f))/0x9+parseInt(_0xf7b0a1(0x97))/0xa+parseInt(_0xf7b0a1(0x90))/0xb;if(_0x3e1e03===_0x3c6b22)break;else _0x19bb1c['push'](_0x19bb1c['shift']());}catch(_0x39b81c){_0x19bb1c['push'](_0x19bb1c['shift']());}}}(_0x4468,0x60771));import{ListView as _0x2b4e99}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x2bf5de}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x2b4e99{[_0x1bb34b(0x91)];[_0x1bb34b(0x96)];constructor(_0x1b5729,_0x546fca,_0x57901c){const _0x541bb3=_0x1bb34b;super(_0x1b5729),this[_0x541bb3(0x91)]=_0x546fca,this[_0x541bb3(0x96)]=_0x57901c;}[_0x1bb34b(0xa5)](_0x4a6035){const _0x20871e=_0x1bb34b;if(!_0x4a6035)return this[_0x20871e(0x88)][_0x20871e(0x89)](),this[_0x20871e(0x88)][_0x20871e(0x8b)](this[_0x20871e(0x91)]),this[_0x20871e(0x99)](),{'resultsCount':this[_0x20871e(0x91)][_0x20871e(0xa4)],'totalItemsCount':this[_0x20871e(0x91)][_0x20871e(0xa4)]};const _0x31c07b=_0x4a6035[_0x20871e(0x95)][_0x20871e(0xa0)]()[_0x20871e(0x9c)](),_0x10a8f5=this[_0x20871e(0x96)][_0x20871e(0xa5)](_0x38fc2f=>(_0x38fc2f[_0x20871e(0x98)]?_0x38fc2f[_0x20871e(0x9b)]+'\x20('+_0x38fc2f[_0x20871e(0x98)]+')':_0x38fc2f[_0x20871e(0x9b)])[_0x20871e(0xa0)]()[_0x20871e(0x8e)](_0x31c07b));return this[_0x20871e(0x88)][_0x20871e(0x89)](),this[_0x20871e(0x88)][_0x20871e(0x8b)](_0x10a8f5[_0x20871e(0x93)]((_0x2c4282,_0x2c725)=>{const _0x53f0f6=_0x20871e,_0x5a0e95=_0x2c4282[_0x53f0f6(0x98)],_0x126c35=_0x2c725[_0x53f0f6(0x98)];return _0x5a0e95||_0x126c35?_0x5a0e95?0x1:-0x1:0x0;})[_0x20871e(0x8d)](_0x21141e=>_0x21141e[_0x20871e(0x9a)])),this[_0x20871e(0x8f)](_0x31c07b,_0x10a8f5),{'resultsCount':_0x10a8f5[_0x20871e(0xa4)],'totalItemsCount':this[_0x20871e(0x96)][_0x20871e(0xa4)]};}[_0x1bb34b(0x8f)](_0x4dbf02,_0x44db5f){const _0xa3e383=_0x1bb34b;if(!_0x4dbf02)return;const _0x26af1f=new RegExp(_0x2bf5de(_0x4dbf02),'gi');_0x44db5f[_0xa3e383(0xa1)](_0x20ef4d=>{const _0xcd8be1=_0xa3e383;_0x20ef4d[_0xcd8be1(0xa3)]&&_0x20ef4d[_0xcd8be1(0xa3)][_0xcd8be1(0xa1)](_0x1eb19f=>{const _0x42ab48=_0xcd8be1;_0x42ab48(0xa7)==typeof _0x1eb19f[_0x42ab48(0x9e)]&&_0x1eb19f[_0x42ab48(0x9e)](_0x26af1f);});});}[_0x1bb34b(0x99)](){const _0x3aa34b=_0x1bb34b;this[_0x3aa34b(0x96)][_0x3aa34b(0xa1)](_0x42e3b0=>{const _0x3c27db=_0x3aa34b;_0x42e3b0[_0x3c27db(0xa3)]&&_0x42e3b0[_0x3c27db(0xa3)][_0x3c27db(0xa1)](_0x3fc8ae=>{const _0x4b9d30=_0x3c27db;_0x4b9d30(0xa7)==typeof _0x3fc8ae[_0x4b9d30(0x9e)]&&_0x3fc8ae[_0x4b9d30(0x9e)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5e3af7,_0x5bb398){var _0x482954=_0x2910,_0x1d574f=_0x5e3af7();while(!![]){try{var _0x359479=parseInt(_0x482954(0x116))/0x1*(parseInt(_0x482954(0x11f))/0x2)+parseInt(_0x482954(0x111))/0x3*(parseInt(_0x482954(0x10f))/0x4)+parseInt(_0x482954(0x11b))/0x5+-parseInt(_0x482954(0x117))/0x6*(-parseInt(_0x482954(0x11e))/0x7)+-parseInt(_0x482954(0x11d))/0x8+-parseInt(_0x482954(0x110))/0x9*(-parseInt(_0x482954(0x114))/0xa)+parseInt(_0x482954(0x119))/0xb*(-parseInt(_0x482954(0x11c))/0xc);if(_0x359479===_0x5bb398)break;else _0x1d574f['push'](_0x1d574f['shift']());}catch(_0x164382){_0x1d574f['push'](_0x1d574f['shift']());}}}(_0x37f6,0xed16d));function _0x37f6(){var _0x728557=['7380MtPuhD','18MFQunM','ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','23390ubaLVr','div','1aJAHYk','5639766SqKljX','AI_DISCLAIMER_TEXT','124883zxJZkp','setTemplate','40485yDRYzW','3564mSmhhS','11338432TKyvrC','7HxZuYc','3411572fPcsCa','792292ceRQpN'];_0x37f6=function(){return _0x728557;};return _0x37f6();}import{View as _0xe8ef7e}from'ckeditor5/src/ui.js';import{getTranslation as _0x19c865}from'../../../aicore/utils/common-translations.js';function _0x2910(_0x416049,_0x2e2b98){var _0x37f6a5=_0x37f6();return _0x2910=function(_0x2910be,_0x929542){_0x2910be=_0x2910be-0x10f;var _0xbc515c=_0x37f6a5[_0x2910be];return _0xbc515c;},_0x2910(_0x416049,_0x2e2b98);}export class AIActionsBalloonDisclaimerView extends _0xe8ef7e{constructor(_0x3f1421){var _0x342dcc=_0x2910;super(_0x3f1421),this[_0x342dcc(0x11a)]({'tag':_0x342dcc(0x115),'attributes':{'class':['ck',_0x342dcc(0x112)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x342dcc(0x113)]},'children':[{'text':_0x19c865(_0x3f1421,_0x342dcc(0x118))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f3e3c=_0x3674;function _0x9473(){const _0x1d6bfb=['bind','351992GlStqT','1831260IAYvWn','_createButton','AI_BALLOON_SUGGEST_BUTTON','AI_BALLOON_APPLY_BUTTON','7HZAyPT','isVisible','items','applyButton','20812446szZLvn','add','ck-ai-button-secondary','locale','1672720PlmPCN','308AwCGXu','ck-ai-button-primary','extendTemplate','765714lFHbpO','set','5896bhOhUg','62795FUrtNr','setButtonsVisibility','suggestButton','isEnabled','ck-ai-balloon__toolbar'];_0x9473=function(){return _0x1d6bfb;};return _0x9473();}(function(_0x5bf35a,_0x26f11c){const _0x12910f=_0x3674,_0x543991=_0x5bf35a();while(!![]){try{const _0x1dde6a=-parseInt(_0x12910f(0x1cb))/0x1*(parseInt(_0x12910f(0x1d0))/0x2)+-parseInt(_0x12910f(0x1d8))/0x3+-parseInt(_0x12910f(0x1d7))/0x4+parseInt(_0x12910f(0x1d1))/0x5+parseInt(_0x12910f(0x1ce))/0x6*(parseInt(_0x12910f(0x1c2))/0x7)+-parseInt(_0x12910f(0x1ca))/0x8+parseInt(_0x12910f(0x1c6))/0x9;if(_0x1dde6a===_0x26f11c)break;else _0x543991['push'](_0x543991['shift']());}catch(_0x57bfe6){_0x543991['push'](_0x543991['shift']());}}}(_0x9473,0x9b8fc));function _0x3674(_0x3179c4,_0x373953){const _0x947357=_0x9473();return _0x3674=function(_0x367403,_0x4c1493){_0x367403=_0x367403-0x1c1;let _0x4b1b1f=_0x947357[_0x367403];return _0x4b1b1f;},_0x3674(_0x3179c4,_0x373953);}import{ToolbarView as _0x47590d,ButtonView as _0x1f06d9}from'ckeditor5/src/ui.js';import{getTranslation as _0x27c9ea}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x47590d{constructor(_0x4078ac,_0x22333f=!0x0,_0x380684=!0x0){const _0x117f4b=_0x3674;super(_0x4078ac),this[_0x117f4b(0x1cf)](_0x117f4b(0x1d4),!0x1),_0x22333f&&(this[_0x117f4b(0x1c5)]=this[_0x117f4b(0x1d9)](_0x27c9ea(_0x4078ac,_0x117f4b(0x1c1)),_0x117f4b(0x1cc)),this[_0x117f4b(0x1c5)][_0x117f4b(0x1d6)](_0x117f4b(0x1d4))['to'](this),this[_0x117f4b(0x1c4)][_0x117f4b(0x1c7)](this[_0x117f4b(0x1c5)])),_0x380684&&(this[_0x117f4b(0x1d3)]=this[_0x117f4b(0x1d9)](_0x27c9ea(_0x4078ac,_0x117f4b(0x1da)),_0x22333f?_0x117f4b(0x1c8):_0x117f4b(0x1cc)),this[_0x117f4b(0x1d3)][_0x117f4b(0x1d6)](_0x117f4b(0x1d4))['to'](this),this[_0x117f4b(0x1c4)][_0x117f4b(0x1c7)](this[_0x117f4b(0x1d3)])),this[_0x117f4b(0x1d2)]({'showApplyButton':_0x22333f,'showSuggestButton':_0x380684}),this[_0x117f4b(0x1cd)]({'attributes':{'class':[_0x117f4b(0x1d5)]}});}[_0x2f3e3c(0x1d2)]({showApplyButton:_0x4d045a,showSuggestButton:_0x1a0803}){const _0x2146a2=_0x2f3e3c;this[_0x2146a2(0x1c5)]&&(this[_0x2146a2(0x1c5)][_0x2146a2(0x1c3)]=_0x4d045a),this[_0x2146a2(0x1d3)]&&(this[_0x2146a2(0x1d3)][_0x2146a2(0x1c3)]=_0x1a0803);}[_0x2f3e3c(0x1d9)](_0x816e23,_0x22b61e){const _0x54990d=_0x2f3e3c,_0x27b0a0=new _0x1f06d9(this[_0x54990d(0x1c9)]);return _0x27b0a0[_0x54990d(0x1cf)]({'label':_0x816e23,'class':_0x22b61e,'isVisible':!0x0,'withText':!0x0}),_0x27b0a0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1909(){const _0x4248ce=['insertSuggestion','isBusy','_addDisclaimerView','disableMiniToolbarButtons','_createMiniToolbar','_focusTracker','addMiniToolbarItem','showError','change:isTrackChangesOn','ck-ai-actions-balloon-content','801241GbBfTR','_streamableContentView','_navigationCounter','_hasError','stop','77sYhNcM','add','has','ck-ai-navigation-button\x20ck-ai-previous-button','hideError','_dialogContent','ck-ai-actions-balloon-content-wrapper','execute','AI_ACTIONS_PREVIOUS_INTERACTION','focus','1/1','_addToolbar','15305ydsMML','_miniToolbarView','remove','clearErrorState','bind','256130JXXznZ','246uCwCwe','miniToolbarConfig','49596sQRnyR','toggleShowChanges','setErrorState','4578581EjubJL','AI_ACTIONS_NEXT_INTERACTION','hideLoader','start','listenTo','tryAgain','setInteractionCount','_focusables','tab','locale','_toggleToolbarButtonsVisibility','destroy','set','applySuggestion','focusFirst','36AJyfwb','toggleSuggestionDisplayMode','element','isShowChangesOn','_contentWrapper','removeMiniToolbarItem','stopAutoScroll','5982280AiULBX','updateMiniToolbarButtons','updateContent','addMany','_isLoading','ck-ai-interaction-counter','_createStreamableContentView','_toolbarView','includes','3AjXmBv','suggestButton','2gOTsUv','setTemplate','setButtonsVisibility','focusCycler','ck-ai-actions-balloon-main','availableActions','clearContent','render','div','interactionCount','_navigationPreviousButton','_errorView','_config','update','_loaderView','showPrevious','focusLast','_disclaimerView','createCollection','resetShowChangesButton','startAutoScroll','_getScrollableElement','applyButton','251564JRpfNO','isTrackChangesOn','ck-ai-navigation-button\x20ck-ai-next-button','shift\x20+\x20tab','_keystrokes','isEnabled','showNext','_initializeScrollManager','clear','_setupMiniToolbarButtons','fire','toggleIsLoading','isVisible','_scrollManager','ck-ai-custom-action-button','_addContentWrapper','showLoader','showBlockingError','_createLoaderView','setIsLoading','_navigationTryAgainButton','delegate','items','span','toggleShowChangesEnabled','AI_ACTIONS_TRY_AGAIN','_navigationNextButton','bindTemplate'];_0x1909=function(){return _0x4248ce;};return _0x1909();}const _0x3dafb1=_0x1fde;function _0x1fde(_0x4caf16,_0xec4841){const _0x19097e=_0x1909();return _0x1fde=function(_0x1fde3b,_0x532eb7){_0x1fde3b=_0x1fde3b-0x1b7;let _0x294135=_0x19097e[_0x1fde3b];return _0x294135;},_0x1fde(_0x4caf16,_0xec4841);}(function(_0x1d6b69,_0x12ff64){const _0x4e6125=_0x1fde,_0x23bb9f=_0x1d6b69();while(!![]){try{const _0xc24f17=-parseInt(_0x4e6125(0x1ff))/0x1*(parseInt(_0x4e6125(0x1c2))/0x2)+parseInt(_0x4e6125(0x1c0))/0x3*(parseInt(_0x4e6125(0x1d9))/0x4)+parseInt(_0x4e6125(0x210))/0x5*(-parseInt(_0x4e6125(0x216))/0x6)+parseInt(_0x4e6125(0x21b))/0x7+parseInt(_0x4e6125(0x1b7))/0x8+parseInt(_0x4e6125(0x22a))/0x9*(-parseInt(_0x4e6125(0x215))/0xa)+parseInt(_0x4e6125(0x204))/0xb*(-parseInt(_0x4e6125(0x218))/0xc);if(_0xc24f17===_0x12ff64)break;else _0x23bb9f['push'](_0x23bb9f['shift']());}catch(_0x1ca2c0){_0x23bb9f['push'](_0x23bb9f['shift']());}}}(_0x1909,0x6346a));import{ViewCollection as _0x573ad5,FocusCycler as _0x43354a,ButtonView as _0x5326df,View as _0x1af01d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5eb51f,KeystrokeHandler as _0xe144c3}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x548025}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x161270}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x467e4}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x36c737}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x558ec6}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x5649d1}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x55a717}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x4f4f1e,IconPreviousArrow as _0x5001e4,IconRefresh as _0x403fa7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3dfcce}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x5c3c3e}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3dafb1(0x228),_0x3dafb1(0x1f5)];export class AIActionsBalloonView extends _0x5c3c3e{[_0x3dafb1(0x1c5)];[_0x3dafb1(0x1ce)];[_0x3dafb1(0x22e)];[_0x3dafb1(0x200)];[_0x3dafb1(0x1be)];[_0x3dafb1(0x211)];[_0x3dafb1(0x1d0)];[_0x3dafb1(0x1d3)];[_0x3dafb1(0x1fa)];[_0x3dafb1(0x1dd)];[_0x3dafb1(0x209)];[_0x3dafb1(0x222)];[_0x3dafb1(0x1e6)];[_0x3dafb1(0x1cc)];[_0x3dafb1(0x1f3)];[_0x3dafb1(0x1ed)];[_0x3dafb1(0x201)];constructor(_0x5170a9,_0x466b91){const _0x297785=_0x3dafb1;super(_0x5170a9),this[_0x297785(0x227)](_0x297785(0x1f6),!0x1),this[_0x297785(0x227)](_0x297785(0x1da),!0x1),this[_0x297785(0x227)](_0x297785(0x1bb),!0x1),this[_0x297785(0x227)](_0x297785(0x202),!0x1),this[_0x297785(0x1ce)]=_0x466b91,this[_0x297785(0x1fa)]=new _0x5eb51f(),this[_0x297785(0x1dd)]=new _0xe144c3(),this[_0x297785(0x222)]=this[_0x297785(0x1d4)](),this[_0x297785(0x1c5)]=new _0x43354a({'focusables':this[_0x297785(0x222)],'focusTracker':this[_0x297785(0x1fa)],'keystrokeHandler':this[_0x297785(0x1dd)],'actions':{'focusPrevious':_0x297785(0x1dc),'focusNext':_0x297785(0x223)}}),this[_0x297785(0x209)]=new _0x573ad5(),this[_0x297785(0x1e8)](_0x466b91),this[_0x297785(0x1f7)](),this[_0x297785(0x20f)](_0x466b91),this[_0x297785(0x222)][_0x297785(0x1e1)](),this[_0x297785(0x222)][_0x297785(0x1ba)]([this[_0x297785(0x1be)]]),this[_0x297785(0x1c3)]({'tag':_0x297785(0x1ca),'attributes':{'class':[_0x297785(0x1c6)]},'children':this[_0x297785(0x209)]}),this['on'](_0x297785(0x1fd),()=>{const _0x13f5cb=_0x297785;this[_0x13f5cb(0x225)](_0x466b91);});}[_0x3dafb1(0x1c9)](){const _0x94ce07=_0x3dafb1;super[_0x94ce07(0x1c9)]();for(const _0x1cdd5c of this[_0x94ce07(0x222)])this[_0x94ce07(0x1fa)][_0x94ce07(0x205)](_0x1cdd5c[_0x94ce07(0x22c)]);this[_0x94ce07(0x1dd)][_0x94ce07(0x21f)](this[_0x94ce07(0x22c)]),this[_0x94ce07(0x1e0)]();}[_0x3dafb1(0x226)](){const _0x4ba37f=_0x3dafb1;super[_0x4ba37f(0x226)](),this[_0x4ba37f(0x1e6)]&&this[_0x4ba37f(0x1e6)][_0x4ba37f(0x226)]();}[_0x3dafb1(0x20d)](_0xaec695){const _0x3b58fa=_0x3dafb1;-0x1===_0xaec695?this[_0x3b58fa(0x1c5)][_0x3b58fa(0x1d2)]():this[_0x3b58fa(0x1c5)][_0x3b58fa(0x229)]();}[_0x3dafb1(0x1ec)](_0x4b138d){const _0x3d0929=_0x3dafb1;this[_0x3d0929(0x1bb)]=_0x4b138d;}[_0x3dafb1(0x21a)](){const _0x1460bd=_0x3dafb1;this[_0x1460bd(0x202)]=!0x0,this[_0x1460bd(0x211)][_0x1460bd(0x1f1)](!0x1);}[_0x3dafb1(0x213)](){const _0xd8c504=_0x3dafb1;this[_0xd8c504(0x202)]=!0x1,this[_0xd8c504(0x211)][_0xd8c504(0x1f1)](!0x0);}[_0x3dafb1(0x1fc)](_0x1ed0e7){const _0x341d21=_0x3dafb1;super[_0x341d21(0x1fc)](_0x1ed0e7),this[_0x341d21(0x209)][_0x341d21(0x206)](this[_0x341d21(0x1cd)])||this[_0x341d21(0x209)][_0x341d21(0x205)](this[_0x341d21(0x1cd)],0x0);}[_0x3dafb1(0x208)](){const _0x523a54=_0x3dafb1;super[_0x523a54(0x208)](),this[_0x523a54(0x213)]();}[_0x3dafb1(0x1ea)](_0x23f453){const _0x47035e=_0x3dafb1;super[_0x47035e(0x1ea)](_0x23f453),this[_0x47035e(0x21a)]();}[_0x3dafb1(0x1fb)](_0x4fb3ed){const _0x4ad77d=_0x3dafb1;this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x206)](_0x4fb3ed)||this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x205)](_0x4fb3ed);}[_0x3dafb1(0x22f)](_0x5dff33){const _0x147be6=_0x3dafb1;this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x206)](_0x5dff33)&&this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x212)](_0x5dff33);}[_0x3dafb1(0x1e9)](){const _0xd3ca3e=_0x3dafb1;this[_0xd3ca3e(0x1d0)]&&(this[_0xd3ca3e(0x1bb)]=!0x0);}[_0x3dafb1(0x21d)](){const _0x24ae3a=_0x3dafb1;this[_0x24ae3a(0x1d0)]&&(this[_0x24ae3a(0x1bb)]=!0x1);}[_0x3dafb1(0x225)]({showApplyButton:_0xa4b112,showSuggestButton:_0xb583e0}){const _0x2eb299=_0x3dafb1;_0xa4b112=_0xa4b112&&!this[_0x2eb299(0x1da)]&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x228)),_0xb583e0=_0xb583e0&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x1f5)),this[_0x2eb299(0x1be)][_0x2eb299(0x1c4)]({'showApplyButton':_0xa4b112,'showSuggestButton':_0xb583e0});}async[_0x3dafb1(0x1b9)](_0x452eea){const _0xb2facc=_0x3dafb1;await this[_0xb2facc(0x200)][_0xb2facc(0x1cf)](_0x452eea);}[_0x3dafb1(0x1c8)](){const _0x2bb123=_0x3dafb1;this[_0x2bb123(0x200)][_0x2bb123(0x1e1)]();}[_0x3dafb1(0x1e8)](_0x2d15bd){const _0x3939e1=_0x3dafb1;this[_0x3939e1(0x22e)]=new _0x1af01d(this[_0x3939e1(0x224)]),this[_0x3939e1(0x22e)][_0x3939e1(0x1c3)]({'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x1fe)]},'children':[{'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x20a)]},'children':[this[_0x3939e1(0x1eb)](),this[_0x3939e1(0x1bd)]()]},this[_0x3939e1(0x1f9)](_0x2d15bd[_0x3939e1(0x217)])]}),this[_0x3939e1(0x209)][_0x3939e1(0x205)](this[_0x3939e1(0x22e)]);}[_0x3dafb1(0x1f7)](){const _0x56c1d0=_0x3dafb1;this[_0x56c1d0(0x1d3)]=new _0x161270(this[_0x56c1d0(0x224)]),this[_0x56c1d0(0x209)][_0x56c1d0(0x205)](this[_0x56c1d0(0x1d3)]);}[_0x3dafb1(0x20f)]({showApplyButton:_0x4c03cc,showSuggestButton:_0xc5bb40}){const _0x4940e7=_0x3dafb1;this[_0x4940e7(0x1be)]=new _0x548025(this[_0x4940e7(0x224)],_0x4c03cc,_0xc5bb40),this[_0x4940e7(0x1be)][_0x4940e7(0x1d8)]?.['on'](_0x4940e7(0x20b),()=>{const _0x45e44b=_0x4940e7;this[_0x45e44b(0x1e3)](_0x45e44b(0x228));}),this[_0x4940e7(0x1be)][_0x4940e7(0x1c1)]?.['on'](_0x4940e7(0x20b),()=>{const _0xb8be30=_0x4940e7;this[_0xb8be30(0x1e3)](_0xb8be30(0x1f5));}),this[_0x4940e7(0x1be)][_0x4940e7(0x214)](_0x4940e7(0x1de))['to'](this,_0x4940e7(0x1f6),this,_0x4940e7(0x1bb),this,_0x4940e7(0x202),(_0x5a0bcd,_0x48be0d,_0x28b5d7)=>!(_0x5a0bcd||_0x48be0d||_0x28b5d7)),this[_0x4940e7(0x225)]({'showApplyButton':_0x4c03cc,'showSuggestButton':_0xc5bb40}),this[_0x4940e7(0x209)][_0x4940e7(0x205)](this[_0x4940e7(0x1be)]);}[_0x3dafb1(0x1f9)](_0x1bb418){const _0x372b10=_0x3dafb1;return this[_0x372b10(0x211)]=new _0x36c737(this[_0x372b10(0x224)],_0x1bb418),this[_0x372b10(0x211)][_0x372b10(0x1ee)](..._0x558ec6)['to'](this),this[_0x372b10(0x211)]['on'](_0x372b10(0x219),()=>{const _0x2ac285=_0x372b10;this[_0x2ac285(0x211)][_0x2ac285(0x22d)]=!this[_0x2ac285(0x211)][_0x2ac285(0x22d)],this[_0x2ac285(0x1e3)](_0x2ac285(0x22b),{'showDiff':this[_0x2ac285(0x211)][_0x2ac285(0x22d)]});}),this[_0x372b10(0x211)][_0x372b10(0x214)](_0x372b10(0x1de))['to'](this,_0x372b10(0x1f6),this,_0x372b10(0x1bb),(_0x1643a3,_0x24d4de)=>!(_0x1643a3||_0x24d4de)),this[_0x372b10(0x211)];}[_0x3dafb1(0x1eb)](){const _0x2a4fa0=_0x3dafb1;return this[_0x2a4fa0(0x1d0)]=new _0x5649d1(this[_0x2a4fa0(0x224)]),this[_0x2a4fa0(0x1d0)][_0x2a4fa0(0x214)](_0x2a4fa0(0x1e5))['to'](this,_0x2a4fa0(0x1bb)),this[_0x2a4fa0(0x1d0)];}[_0x3dafb1(0x1bd)](){const _0x508355=_0x3dafb1;return this[_0x508355(0x200)]=new _0x55a717(this[_0x508355(0x224)]),this[_0x508355(0x200)];}[_0x3dafb1(0x1e2)](){const _0x3ebe73=_0x3dafb1,_0x15802b=new _0x5326df(this[_0x3ebe73(0x224)]),_0x39e4fa=new _0x5326df(this[_0x3ebe73(0x224)]),_0x205140=new AIActionsBalloonNavigationCounterView(this[_0x3ebe73(0x224)]),_0x330138=new _0x5326df(this[_0x3ebe73(0x224)]);_0x15802b[_0x3ebe73(0x227)]({'icon':_0x403fa7,'label':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x1f2)),'tooltip':!0x0,'class':_0x3ebe73(0x1e7)}),_0x39e4fa[_0x3ebe73(0x227)]({'icon':_0x5001e4,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x20c)),'class':_0x3ebe73(0x207)}),_0x330138[_0x3ebe73(0x227)]({'icon':_0x4f4f1e,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x21c)),'class':_0x3ebe73(0x1db)}),_0x15802b[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2d44ad=>!_0x2d44ad),_0x15802b['on'](_0x3ebe73(0x20b),()=>{const _0x27219e=_0x3ebe73;this[_0x27219e(0x1e3)](_0x27219e(0x220));}),_0x39e4fa[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2821b6=>!_0x2821b6),_0x39e4fa['on'](_0x3ebe73(0x20b),()=>{const _0xbe7467=_0x3ebe73;this[_0xbe7467(0x1e3)](_0xbe7467(0x1d1));}),_0x330138[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x4a5173=>!_0x4a5173),_0x330138['on'](_0x3ebe73(0x20b),()=>{const _0x484c95=_0x3ebe73;this[_0x484c95(0x1e3)](_0x484c95(0x1df));}),this[_0x3ebe73(0x1cc)]=_0x39e4fa,this[_0x3ebe73(0x201)]=_0x205140,this[_0x3ebe73(0x1f3)]=_0x330138,this[_0x3ebe73(0x1ed)]=_0x15802b;}[_0x3dafb1(0x1b8)](_0x2a7282,_0x35b152){const _0x493c1f=_0x3dafb1;this[_0x493c1f(0x1cc)]||this[_0x493c1f(0x1e2)]();const _0x229786=_0x2a7282>0x1;if(this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1ed)]),_0x229786){this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1f3)]);const _0x440388=_0x2a7282-_0x35b152;this[_0x493c1f(0x201)][_0x493c1f(0x221)](_0x440388+'/'+_0x2a7282),this[_0x493c1f(0x1cc)][_0x493c1f(0x1de)]=_0x35b152<_0x2a7282-0x1,this[_0x493c1f(0x1f3)][_0x493c1f(0x1de)]=_0x35b152>0x0;}else this[_0x493c1f(0x22f)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x1f3)]);}[_0x3dafb1(0x1f8)](){const _0x40c78d=_0x3dafb1;this[_0x40c78d(0x1ed)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1cc)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1f3)][_0x40c78d(0x1de)]=!0x1;}[_0x3dafb1(0x1d6)](){const _0x3d89b3=_0x3dafb1;this[_0x3d89b3(0x1e0)](),this[_0x3d89b3(0x1e6)]&&this[_0x3d89b3(0x1e6)][_0x3d89b3(0x21e)]();}[_0x3dafb1(0x230)](){const _0x19b553=_0x3dafb1;this[_0x19b553(0x1e6)]&&this[_0x19b553(0x1e6)][_0x19b553(0x203)]();}[_0x3dafb1(0x1e4)](_0x41672f){const _0x574b8f=_0x3dafb1;this[_0x574b8f(0x1bb)]=_0x41672f;}[_0x3dafb1(0x1d5)](){const _0x3ef78c=_0x3dafb1;this[_0x3ef78c(0x211)][_0x3ef78c(0x22d)]=!0x1;}[_0x3dafb1(0x1e0)](){const _0x218b00=_0x3dafb1,_0x3b319=this[_0x218b00(0x1d7)]();_0x3b319&&!this[_0x218b00(0x1e6)]&&(this[_0x218b00(0x1e6)]=new _0x467e4(_0x3b319));}[_0x3dafb1(0x1d7)](){const _0x465efa=_0x3dafb1;return this[_0x465efa(0x200)][_0x465efa(0x22c)];}}class AIActionsBalloonNavigationCounterView extends _0x1af01d{constructor(_0x4d5bb3){const _0x1ac39c=_0x3dafb1;super(_0x4d5bb3);const _0x3f0e62=this[_0x1ac39c(0x1f4)];this[_0x1ac39c(0x227)](_0x1ac39c(0x1cb),_0x1ac39c(0x20e)),this[_0x1ac39c(0x1c3)]({'tag':_0x1ac39c(0x1f0),'attributes':{'class':[_0x1ac39c(0x1bc)]},'children':[{'text':_0x3f0e62['to'](_0x1ac39c(0x1cb))}]});}[_0x3dafb1(0x221)](_0x214d91){const _0x8adbfb=_0x3dafb1;this[_0x8adbfb(0x227)](_0x8adbfb(0x1cb),_0x214d91);}}
|
|
23
|
+
const _0x53e5ed=_0x595d;(function(_0x314081,_0x1dc74d){const _0x3d71ee=_0x595d,_0x18ac40=_0x314081();while(!![]){try{const _0x37ab21=parseInt(_0x3d71ee(0x19a))/0x1*(parseInt(_0x3d71ee(0x1cd))/0x2)+parseInt(_0x3d71ee(0x1c1))/0x3*(-parseInt(_0x3d71ee(0x1be))/0x4)+parseInt(_0x3d71ee(0x1b1))/0x5+-parseInt(_0x3d71ee(0x1ee))/0x6*(-parseInt(_0x3d71ee(0x196))/0x7)+-parseInt(_0x3d71ee(0x1b2))/0x8+parseInt(_0x3d71ee(0x1b5))/0x9*(parseInt(_0x3d71ee(0x201))/0xa)+-parseInt(_0x3d71ee(0x1a5))/0xb*(parseInt(_0x3d71ee(0x1c3))/0xc);if(_0x37ab21===_0x1dc74d)break;else _0x18ac40['push'](_0x18ac40['shift']());}catch(_0x5551c3){_0x18ac40['push'](_0x18ac40['shift']());}}}(_0x57e8,0xb6168));import{ViewCollection as _0x50f887,FocusCycler as _0x152fde,ButtonView as _0x56f8b2,View as _0x5d49bb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2ad1bc,KeystrokeHandler as _0xe5df2f}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x3f19aa}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1e26c1}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3eb9d6}from'../../../aicore/utils/scrollmanager.js';function _0x595d(_0x1eaa48,_0xfa61ac){const _0x57e880=_0x57e8();return _0x595d=function(_0x595d2d,_0x293598){_0x595d2d=_0x595d2d-0x189;let _0x1055a1=_0x57e880[_0x595d2d];return _0x1055a1;},_0x595d(_0x1eaa48,_0xfa61ac);}import{AIMiniToolbarView as _0x44a68c}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xa2c8e2}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x2a097a}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x2b6dbc}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';function _0x57e8(){const _0x57bd10=['_createMiniToolbar','availableActions','clear','_miniToolbarView','updateContent','_scrollManager','tryAgain','remove','AI_ACTIONS_PREVIOUS_INTERACTION','AI_ACTIONS_NEXT_INTERACTION','stop','6482cZJxvM','toggleIsLoading','ck-ai-actions-balloon-main','isVisible','43960IdyRoQ','focusFirst','miniToolbarConfig','ck-ai-actions-balloon-content','_toolbarView','_focusTracker','ck-ai-actions-balloon-content-wrapper','removeMiniToolbarItem','_navigationNextButton','disableMiniToolbarButtons','element','4398691IVizYx','focusCycler','AI_ACTIONS_TRY_AGAIN','showError','change:isTrackChangesOn','fire','span','showLoader','start','ck-ai-interaction-counter','includes','update','2522975FoaLsU','11216664vTeqgu','_keystrokes','has','1737jVddic','showBlockingError','_navigationTryAgainButton','_hasError','_setupMiniToolbarButtons','isEnabled','clearErrorState','addMany','ck-ai-navigation-button\x20ck-ai-next-button','15800wniidN','_addToolbar','execute','408KzkCew','add','12hWvSuv','ck-ai-custom-action-button','setErrorState','setIsLoading','tab','_isLoading','createCollection','_addContentWrapper','_initializeScrollManager','showNext','28vHZBZZ','_createStreamableContentView','interactionCount','applyButton','_disclaimerView','_getScrollableElement','_addDisclaimerView','_streamableContentView','hideLoader','focus','1/1','suggestButton','toggleSuggestionDisplayMode','showPrevious','addMiniToolbarItem','ck-ai-navigation-button\x20ck-ai-previous-button','setInteractionCount','isTrackChangesOn','isShowChangesOn','destroy','delegate','_navigationCounter','shift\x20+\x20tab','_contentWrapper','bind','stopAutoScroll','set','toggleShowChangesEnabled','resetShowChangesButton','_toggleToolbarButtonsVisibility','_createLoaderView','isBusy','startAutoScroll','7686OwGzdd','_errorView','applySuggestion','locale','items','_config','_loaderView','_navigationPreviousButton','updateMiniToolbarButtons','_focusables','render','setButtonsVisibility','focusLast','setTemplate','toggleShowChanges','hideError','insertSuggestion','listenTo','clearContent','40350roPebv','_dialogContent','div','bindTemplate'];_0x57e8=function(){return _0x57bd10;};return _0x57e8();}import{IconNextArrow as _0x38150b,IconPreviousArrow as _0x59eed5,IconRefresh as _0x532c6b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2ea00b}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x56d2f3}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x53e5ed(0x1f0),_0x53e5ed(0x1fe)];export class AIActionsBalloonView extends _0x56d2f3{[_0x53e5ed(0x1a6)];[_0x53e5ed(0x1f3)];[_0x53e5ed(0x1e4)];[_0x53e5ed(0x1d4)];[_0x53e5ed(0x19e)];[_0x53e5ed(0x18e)];[_0x53e5ed(0x1f4)];[_0x53e5ed(0x1d1)];[_0x53e5ed(0x19f)];[_0x53e5ed(0x1b3)];[_0x53e5ed(0x202)];[_0x53e5ed(0x1f7)];[_0x53e5ed(0x190)];[_0x53e5ed(0x1f5)];[_0x53e5ed(0x1a2)];[_0x53e5ed(0x1b7)];[_0x53e5ed(0x1e2)];constructor(_0x1c54df,_0x3f5ff5){const _0x5a65fe=_0x53e5ed;super(_0x1c54df),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1ec),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1de),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1c8),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1b8),!0x1),this[_0x5a65fe(0x1f3)]=_0x3f5ff5,this[_0x5a65fe(0x19f)]=new _0x2ad1bc(),this[_0x5a65fe(0x1b3)]=new _0xe5df2f(),this[_0x5a65fe(0x1f7)]=this[_0x5a65fe(0x1c9)](),this[_0x5a65fe(0x1a6)]=new _0x152fde({'focusables':this[_0x5a65fe(0x1f7)],'focusTracker':this[_0x5a65fe(0x19f)],'keystrokeHandler':this[_0x5a65fe(0x1b3)],'actions':{'focusPrevious':_0x5a65fe(0x1e3),'focusNext':_0x5a65fe(0x1c7)}}),this[_0x5a65fe(0x202)]=new _0x50f887(),this[_0x5a65fe(0x1ca)](_0x3f5ff5),this[_0x5a65fe(0x1d3)](),this[_0x5a65fe(0x1bf)](_0x3f5ff5),this[_0x5a65fe(0x1f7)][_0x5a65fe(0x18d)](),this[_0x5a65fe(0x1f7)][_0x5a65fe(0x1bc)]([this[_0x5a65fe(0x19e)]]),this[_0x5a65fe(0x1fb)]({'tag':_0x5a65fe(0x189),'attributes':{'class':[_0x5a65fe(0x198)]},'children':this[_0x5a65fe(0x202)]}),this['on'](_0x5a65fe(0x1a9),()=>{const _0x504aa5=_0x5a65fe;this[_0x504aa5(0x1ea)](_0x3f5ff5);});}[_0x53e5ed(0x1f8)](){const _0x589567=_0x53e5ed;super[_0x589567(0x1f8)]();for(const _0x179702 of this[_0x589567(0x1f7)])this[_0x589567(0x19f)][_0x589567(0x1c2)](_0x179702[_0x589567(0x1a4)]);this[_0x589567(0x1b3)][_0x589567(0x1ff)](this[_0x589567(0x1a4)]),this[_0x589567(0x1cb)]();}[_0x53e5ed(0x1e0)](){const _0x428427=_0x53e5ed;super[_0x428427(0x1e0)](),this[_0x428427(0x190)]&&this[_0x428427(0x190)][_0x428427(0x1e0)]();}[_0x53e5ed(0x1d6)](_0x26b699){const _0x3c1504=_0x53e5ed;-0x1===_0x26b699?this[_0x3c1504(0x1a6)][_0x3c1504(0x1fa)]():this[_0x3c1504(0x1a6)][_0x3c1504(0x19b)]();}[_0x53e5ed(0x1c6)](_0x3382d1){const _0x53ca6b=_0x53e5ed;this[_0x53ca6b(0x1c8)]=_0x3382d1;}[_0x53e5ed(0x1c5)](){const _0x259736=_0x53e5ed;this[_0x259736(0x1b8)]=!0x0,this[_0x259736(0x18e)][_0x259736(0x1e8)](!0x1);}[_0x53e5ed(0x1bb)](){const _0x5c576f=_0x53e5ed;this[_0x5c576f(0x1b8)]=!0x1,this[_0x5c576f(0x18e)][_0x5c576f(0x1e8)](!0x0);}[_0x53e5ed(0x1a8)](_0x639b0a){const _0x277727=_0x53e5ed;super[_0x277727(0x1a8)](_0x639b0a),this[_0x277727(0x202)][_0x277727(0x1b4)](this[_0x277727(0x1ef)])||this[_0x277727(0x202)][_0x277727(0x1c2)](this[_0x277727(0x1ef)],0x0);}[_0x53e5ed(0x1fd)](){const _0x3e8866=_0x53e5ed;super[_0x3e8866(0x1fd)](),this[_0x3e8866(0x1bb)]();}[_0x53e5ed(0x1b6)](_0x567758){const _0x1ec774=_0x53e5ed;super[_0x1ec774(0x1b6)](_0x567758),this[_0x1ec774(0x1c5)]();}[_0x53e5ed(0x1db)](_0x593da4){const _0x448063=_0x53e5ed;this[_0x448063(0x18e)][_0x448063(0x1f2)][_0x448063(0x1b4)](_0x593da4)||this[_0x448063(0x18e)][_0x448063(0x1f2)][_0x448063(0x1c2)](_0x593da4);}[_0x53e5ed(0x1a1)](_0x1a3f66){const _0x135a4c=_0x53e5ed;this[_0x135a4c(0x18e)][_0x135a4c(0x1f2)][_0x135a4c(0x1b4)](_0x1a3f66)&&this[_0x135a4c(0x18e)][_0x135a4c(0x1f2)][_0x135a4c(0x192)](_0x1a3f66);}[_0x53e5ed(0x1ac)](){const _0xbe970a=_0x53e5ed;this[_0xbe970a(0x1f4)]&&(this[_0xbe970a(0x1c8)]=!0x0);}[_0x53e5ed(0x1d5)](){const _0x5a7009=_0x53e5ed;this[_0x5a7009(0x1f4)]&&(this[_0x5a7009(0x1c8)]=!0x1);}[_0x53e5ed(0x1ea)]({showApplyButton:_0x4075bd,showSuggestButton:_0x504644}){const _0x3103de=_0x53e5ed;_0x4075bd=_0x4075bd&&!this[_0x3103de(0x1de)]&&this[_0x3103de(0x1f3)][_0x3103de(0x18c)][_0x3103de(0x1af)](_0x3103de(0x1f0)),_0x504644=_0x504644&&this[_0x3103de(0x1f3)][_0x3103de(0x18c)][_0x3103de(0x1af)](_0x3103de(0x1fe)),this[_0x3103de(0x19e)][_0x3103de(0x1f9)]({'showApplyButton':_0x4075bd,'showSuggestButton':_0x504644});}async[_0x53e5ed(0x18f)](_0x5b2f86){const _0x44241f=_0x53e5ed;await this[_0x44241f(0x1d4)][_0x44241f(0x1b0)](_0x5b2f86);}[_0x53e5ed(0x200)](){const _0x402132=_0x53e5ed;this[_0x402132(0x1d4)][_0x402132(0x18d)]();}[_0x53e5ed(0x1ca)](_0x409f6d){const _0x149f99=_0x53e5ed;this[_0x149f99(0x1e4)]=new _0x5d49bb(this[_0x149f99(0x1f1)]),this[_0x149f99(0x1e4)][_0x149f99(0x1fb)]({'tag':_0x149f99(0x189),'attributes':{'class':[_0x149f99(0x19d)]},'children':[{'tag':_0x149f99(0x189),'attributes':{'class':[_0x149f99(0x1a0)]},'children':[this[_0x149f99(0x1eb)](),this[_0x149f99(0x1ce)]()]},this[_0x149f99(0x18b)](_0x409f6d[_0x149f99(0x19c)])]}),this[_0x149f99(0x202)][_0x149f99(0x1c2)](this[_0x149f99(0x1e4)]);}[_0x53e5ed(0x1d3)](){const _0x5d95b1=_0x53e5ed;this[_0x5d95b1(0x1d1)]=new _0x1e26c1(this[_0x5d95b1(0x1f1)]),this[_0x5d95b1(0x202)][_0x5d95b1(0x1c2)](this[_0x5d95b1(0x1d1)]);}[_0x53e5ed(0x1bf)]({showApplyButton:_0x186656,showSuggestButton:_0x2237b5}){const _0x24d448=_0x53e5ed;this[_0x24d448(0x19e)]=new _0x3f19aa(this[_0x24d448(0x1f1)],_0x186656,_0x2237b5),this[_0x24d448(0x19e)][_0x24d448(0x1d0)]?.['on'](_0x24d448(0x1c0),()=>{const _0x3543ed=_0x24d448;this[_0x3543ed(0x1aa)](_0x3543ed(0x1f0));}),this[_0x24d448(0x19e)][_0x24d448(0x1d8)]?.['on'](_0x24d448(0x1c0),()=>{const _0x331697=_0x24d448;this[_0x331697(0x1aa)](_0x331697(0x1fe));}),this[_0x24d448(0x19e)][_0x24d448(0x1e5)](_0x24d448(0x1ba))['to'](this,_0x24d448(0x1ec),this,_0x24d448(0x1c8),this,_0x24d448(0x1b8),(_0x2ea52e,_0x3e3785,_0x458dc6)=>!(_0x2ea52e||_0x3e3785||_0x458dc6)),this[_0x24d448(0x1ea)]({'showApplyButton':_0x186656,'showSuggestButton':_0x2237b5}),this[_0x24d448(0x202)][_0x24d448(0x1c2)](this[_0x24d448(0x19e)]);}[_0x53e5ed(0x18b)](_0x139cff){const _0x59429d=_0x53e5ed;return this[_0x59429d(0x18e)]=new _0x44a68c(this[_0x59429d(0x1f1)],_0x139cff),this[_0x59429d(0x18e)][_0x59429d(0x1e1)](..._0xa2c8e2)['to'](this),this[_0x59429d(0x18e)]['on'](_0x59429d(0x1fc),()=>{const _0x407903=_0x59429d;this[_0x407903(0x18e)][_0x407903(0x1df)]=!this[_0x407903(0x18e)][_0x407903(0x1df)],this[_0x407903(0x1aa)](_0x407903(0x1d9),{'showDiff':this[_0x407903(0x18e)][_0x407903(0x1df)]});}),this[_0x59429d(0x18e)][_0x59429d(0x1e5)](_0x59429d(0x1ba))['to'](this,_0x59429d(0x1ec),this,_0x59429d(0x1c8),(_0x58bafe,_0x586227)=>!(_0x58bafe||_0x586227)),this[_0x59429d(0x18e)];}[_0x53e5ed(0x1eb)](){const _0x42ac0a=_0x53e5ed;return this[_0x42ac0a(0x1f4)]=new _0x2a097a(this[_0x42ac0a(0x1f1)]),this[_0x42ac0a(0x1f4)][_0x42ac0a(0x1e5)](_0x42ac0a(0x199))['to'](this,_0x42ac0a(0x1c8)),this[_0x42ac0a(0x1f4)];}[_0x53e5ed(0x1ce)](){const _0x13f442=_0x53e5ed;return this[_0x13f442(0x1d4)]=new _0x2b6dbc(this[_0x13f442(0x1f1)]),this[_0x13f442(0x1d4)];}[_0x53e5ed(0x1b9)](){const _0x1a7a6c=_0x53e5ed,_0x5b74b0=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]),_0x5abd99=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]),_0x94e289=new AIActionsBalloonNavigationCounterView(this[_0x1a7a6c(0x1f1)]),_0x538385=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]);_0x5b74b0[_0x1a7a6c(0x1e7)]({'icon':_0x532c6b,'label':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x1a7)),'tooltip':!0x0,'class':_0x1a7a6c(0x1c4)}),_0x5abd99[_0x1a7a6c(0x1e7)]({'icon':_0x59eed5,'tooltip':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x193)),'class':_0x1a7a6c(0x1dc)}),_0x538385[_0x1a7a6c(0x1e7)]({'icon':_0x38150b,'tooltip':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x194)),'class':_0x1a7a6c(0x1bd)}),_0x5b74b0[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x3f4323=>!_0x3f4323),_0x5b74b0['on'](_0x1a7a6c(0x1c0),()=>{const _0x45d779=_0x1a7a6c;this[_0x45d779(0x1aa)](_0x45d779(0x191));}),_0x5abd99[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x39ea84=>!_0x39ea84),_0x5abd99['on'](_0x1a7a6c(0x1c0),()=>{const _0x5e421f=_0x1a7a6c;this[_0x5e421f(0x1aa)](_0x5e421f(0x1da));}),_0x538385[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x5a8639=>!_0x5a8639),_0x538385['on'](_0x1a7a6c(0x1c0),()=>{const _0x2d0c6a=_0x1a7a6c;this[_0x2d0c6a(0x1aa)](_0x2d0c6a(0x1cc));}),this[_0x1a7a6c(0x1f5)]=_0x5abd99,this[_0x1a7a6c(0x1e2)]=_0x94e289,this[_0x1a7a6c(0x1a2)]=_0x538385,this[_0x1a7a6c(0x1b7)]=_0x5b74b0;}[_0x53e5ed(0x1f6)](_0x10d60f,_0x2a71d0){const _0x5c1b33=_0x53e5ed;this[_0x5c1b33(0x1f5)]||this[_0x5c1b33(0x1b9)]();const _0x369ce8=_0x10d60f>0x1;if(this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1b7)]),_0x369ce8){this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1f5)]),this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1e2)]),this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1a2)]);const _0x4e8c71=_0x10d60f-_0x2a71d0;this[_0x5c1b33(0x1e2)][_0x5c1b33(0x1dd)](_0x4e8c71+'/'+_0x10d60f),this[_0x5c1b33(0x1f5)][_0x5c1b33(0x1ba)]=_0x2a71d0<_0x10d60f-0x1,this[_0x5c1b33(0x1a2)][_0x5c1b33(0x1ba)]=_0x2a71d0>0x0;}else this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1f5)]),this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1e2)]),this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1a2)]);}[_0x53e5ed(0x1a3)](){const _0x4c55a7=_0x53e5ed;this[_0x4c55a7(0x1b7)][_0x4c55a7(0x1ba)]=!0x1,this[_0x4c55a7(0x1f5)][_0x4c55a7(0x1ba)]=!0x1,this[_0x4c55a7(0x1a2)][_0x4c55a7(0x1ba)]=!0x1;}[_0x53e5ed(0x1ed)](){const _0x36d74c=_0x53e5ed;this[_0x36d74c(0x1cb)](),this[_0x36d74c(0x190)]&&this[_0x36d74c(0x190)][_0x36d74c(0x1ad)]();}[_0x53e5ed(0x1e6)](){const _0x5444f7=_0x53e5ed;this[_0x5444f7(0x190)]&&this[_0x5444f7(0x190)][_0x5444f7(0x195)]();}[_0x53e5ed(0x197)](_0x22e96d){const _0x30d366=_0x53e5ed;this[_0x30d366(0x1c8)]=_0x22e96d;}[_0x53e5ed(0x1e9)](){const _0x2a5f0b=_0x53e5ed;this[_0x2a5f0b(0x18e)][_0x2a5f0b(0x1df)]=!0x1;}[_0x53e5ed(0x1cb)](){const _0x1e2f1e=_0x53e5ed,_0xe6d888=this[_0x1e2f1e(0x1d2)]();_0xe6d888&&!this[_0x1e2f1e(0x190)]&&(this[_0x1e2f1e(0x190)]=new _0x3eb9d6(_0xe6d888));}[_0x53e5ed(0x1d2)](){const _0x3596dc=_0x53e5ed;return this[_0x3596dc(0x1d4)][_0x3596dc(0x1a4)];}}class AIActionsBalloonNavigationCounterView extends _0x5d49bb{constructor(_0x5e4365){const _0x4b1704=_0x53e5ed;super(_0x5e4365);const _0x263fb2=this[_0x4b1704(0x18a)];this[_0x4b1704(0x1e7)](_0x4b1704(0x1cf),_0x4b1704(0x1d7)),this[_0x4b1704(0x1fb)]({'tag':_0x4b1704(0x1ab),'attributes':{'class':[_0x4b1704(0x1ae)]},'children':[{'text':_0x263fb2['to'](_0x4b1704(0x1cf))}]});}[_0x53e5ed(0x1dd)](_0x22d566){const _0x38371e=_0x53e5ed;this[_0x38371e(0x1e7)](_0x38371e(0x1cf),_0x22d566);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x220a17=_0xd6d4;function _0xd6d4(_0x358c8c,_0x37b2db){const _0x49099e=_0x4909();return _0xd6d4=function(_0xd6d44a,_0x11517d){_0xd6d44a=_0xd6d44a-0xb3;let _0x21f1fc=_0x49099e[_0xd6d44a];return _0x21f1fc;},_0xd6d4(_0x358c8c,_0x37b2db);}(function(_0x5876dc,_0x3e9023){const _0x51d260=_0xd6d4,_0x5db6b8=_0x5876dc();while(!![]){try{const _0x230e21=parseInt(_0x51d260(0xc9))/0x1*(parseInt(_0x51d260(0xba))/0x2)+parseInt(_0x51d260(0xb3))/0x3*(parseInt(_0x51d260(0xc0))/0x4)+parseInt(_0x51d260(0xb9))/0x5*(-parseInt(_0x51d260(0xbd))/0x6)+-parseInt(_0x51d260(0xb6))/0x7+-parseInt(_0x51d260(0xbf))/0x8+-parseInt(_0x51d260(0xb7))/0x9*(-parseInt(_0x51d260(0xc1))/0xa)+parseInt(_0x51d260(0xc3))/0xb;if(_0x230e21===_0x3e9023)break;else _0x5db6b8['push'](_0x5db6b8['shift']());}catch(_0x4d6826){_0x5db6b8['push'](_0x5db6b8['shift']());}}}(_0x4909,0x1ebcc));import{IconView as _0x25d4bb,ListItemButtonView as _0x1cd15b}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x5a7078}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x1cd15b{[_0x220a17(0xb8)];constructor(_0x5c6def,_0x289260){const _0x1de284=_0x220a17;super(_0x5c6def,_0x289260);const _0x3e11ff=this[_0x1de284(0xcb)];this[_0x1de284(0xb4)]({'withText':!0x0,'role':_0x1de284(0xbe)}),this[_0x1de284(0xb8)]=this[_0x1de284(0xc4)](),this[_0x1de284(0xc6)]({'attributes':{'class':[_0x1de284(0xc8)],'aria-haspopup':!0x0,'aria-expanded':this[_0x1de284(0xcb)]['to'](_0x1de284(0xbc),_0x4f9e1c=>String(_0x4f9e1c)),'data-cke-tooltip-disabled':_0x3e11ff['to'](_0x1de284(0xbc))},'on':{'mouseenter':_0x3e11ff['to'](_0x1de284(0xc7))}});}[_0x220a17(0xca)](){const _0x529520=_0x220a17;super[_0x529520(0xca)](),this[_0x529520(0xc2)][_0x529520(0xc5)](this[_0x529520(0xb8)]);}[_0x220a17(0xc4)](){const _0x107042=_0x220a17,_0x32b84b=new _0x25d4bb();return _0x32b84b[_0x107042(0xb5)]=_0x5a7078,_0x32b84b[_0x107042(0xc6)]({'attributes':{'class':_0x107042(0xbb)}}),_0x32b84b;}}function _0x4909(){const _0x5458e6=['render','bindTemplate','28965CFIeAL','set','content','584990JVOtwT','9aRgsQv','arrowView','745duCIBD','418978ppedAq','ck-dropdown-menu-list__nested-menu__button__arrow','isOn','6618MROwYC','menuitem','1724984OszBGV','20PPbXhJ','1981740CDoypo','children','1468522EziLAE','_createArrowView','add','extendTemplate','mouseenter','ck-dropdown-menu-list__nested-menu__button','1wxDddy'];_0x4909=function(){return _0x5458e6;};return _0x4909();}
|