@ckeditor/ckeditor5-ai 47.7.5-alpha.0 → 47.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/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
|
+
function _0x47e3(_0x2fbe42,_0x2a2b92){const _0x9ba52d=_0x9ba5();return _0x47e3=function(_0x47e3d7,_0x20bbe8){_0x47e3d7=_0x47e3d7-0x133;let _0x2f85eb=_0x9ba52d[_0x47e3d7];return _0x2f85eb;},_0x47e3(_0x2fbe42,_0x2a2b92);}function _0x9ba5(){const _0x33f4bc=['removeSelectionFromChatContext','isPremiumPlugin','plugins','32EuJLXk','5966RvfvHW','directChange','document','has','editor','pluginName','837515lnAtCR','init','31906pJVZHP','AIQuickActionsEditing','12725080upZjjs','aiQuickAction','model','add','278ZQCglr','selection','isOfficialPlugin','commands','2663364TaZpZp','get','AIChat','change:range','708849WIytlr','1153593sFweOi','8xYLJcB'];_0x9ba5=function(){return _0x33f4bc;};return _0x9ba5();}const _0xb12868=_0x47e3;(function(_0x4261e4,_0x185243){const _0x6f56ea=_0x47e3,_0x41b5ed=_0x4261e4();while(!![]){try{const _0x50fcb7=parseInt(_0x6f56ea(0x14d))/0x1*(-parseInt(_0x6f56ea(0x13e))/0x2)+-parseInt(_0x6f56ea(0x146))/0x3+-parseInt(_0x6f56ea(0x148))/0x4*(-parseInt(_0x6f56ea(0x136))/0x5)+-parseInt(_0x6f56ea(0x142))/0x6+-parseInt(_0x6f56ea(0x138))/0x7+-parseInt(_0x6f56ea(0x14c))/0x8*(-parseInt(_0x6f56ea(0x147))/0x9)+parseInt(_0x6f56ea(0x13a))/0xa;if(_0x50fcb7===_0x185243)break;else _0x41b5ed['push'](_0x41b5ed['shift']());}catch(_0x4dc81){_0x41b5ed['push'](_0x41b5ed['shift']());}}}(_0x9ba5,0x94005));import{Plugin as _0x3622e8}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x192047}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3622e8{static get[_0xb12868(0x135)](){const _0x2f22c2=_0xb12868;return _0x2f22c2(0x139);}static get[_0xb12868(0x140)](){return!0x0;}static get[_0xb12868(0x14a)](){return!0x0;}[_0xb12868(0x137)](){const _0x508eb7=_0xb12868,_0x17b15d=this[_0x508eb7(0x134)],_0x5b1807=new _0x192047(this[_0x508eb7(0x134)]);if(_0x17b15d[_0x508eb7(0x141)][_0x508eb7(0x13d)](_0x508eb7(0x13b),_0x5b1807),_0x17b15d[_0x508eb7(0x14b)][_0x508eb7(0x133)](_0x508eb7(0x144))){const _0x35a03e=this[_0x508eb7(0x134)][_0x508eb7(0x14b)][_0x508eb7(0x143)](_0x508eb7(0x144));_0x17b15d[_0x508eb7(0x13c)][_0x508eb7(0x14f)][_0x508eb7(0x13f)]['on'](_0x508eb7(0x145),(_0x4942c1,_0x2682a5)=>{const _0x26ea05=_0x508eb7;_0x2682a5[_0x26ea05(0x14e)]&&_0x35a03e[_0x26ea05(0x149)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf5c796=_0x428e;(function(_0x268bee,_0x57638c){const _0x43e86f=_0x428e,_0x47d4b0=_0x268bee();while(!![]){try{const _0x1e34b8=parseInt(_0x43e86f(0x20f))/0x1*(-parseInt(_0x43e86f(0x1aa))/0x2)+-parseInt(_0x43e86f(0x1fd))/0x3+-parseInt(_0x43e86f(0x1f6))/0x4+-parseInt(_0x43e86f(0x23f))/0x5*(parseInt(_0x43e86f(0x1dc))/0x6)+parseInt(_0x43e86f(0x20e))/0x7+parseInt(_0x43e86f(0x235))/0x8*(parseInt(_0x43e86f(0x210))/0x9)+parseInt(_0x43e86f(0x20a))/0xa;if(_0x1e34b8===_0x57638c)break;else _0x47d4b0['push'](_0x47d4b0['shift']());}catch(_0x53a98d){_0x47d4b0['push'](_0x47d4b0['shift']());}}}(_0x2370,0x5e493));import{IconAIAdjustLength as _0x25e570,IconAIChangeTone as _0x524c89,IconAIChatCommands as _0x24cc98,IconAIContinueWriting as _0xd4535b,IconAIGrammarCheck as _0x12ce52,IconAIImproveWriting as _0x206885,IconAIOther as _0x5a5a7e,IconAIQuickActions as _0x81f496,IconAITranslate as _0x2fb030}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x398bed}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ca179,logError as _0x41fc90}from'ckeditor5/src/utils.js';function _0x428e(_0x9454cb,_0xd4fb06){const _0x2370f5=_0x2370();return _0x428e=function(_0x428e3c,_0x1dcbc5){_0x428e3c=_0x428e3c-0x1a4;let _0x513ff5=_0x2370f5[_0x428e3c];return _0x513ff5;},_0x428e(_0x9454cb,_0xd4fb06);}import{getTranslation as _0x2d8fd4}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x163034}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4645a7}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x351ee1,BalloonToolbar as _0x53d03c,MenuBarMenuView as _0x2e779f,MenuBarMenuListView as _0x4251ea,MenuBarMenuListItemView as _0x2ae5f0,MenuBarMenuListItemButtonView as _0x5923ca}from'ckeditor5/src/ui.js';import{AIModels as _0x3075b6}from'../aicore/model/aimodels.js';function _0x2370(){const _0x486bb7=['actions','isEnabled','<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>','focus','language','translate-to-japanese','AIConnector','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','children','replace','add','AI_QUICK_ACTIONS_SUMMARIZE','buttonView','ai.quickActions.removeCommands','map','translate-to-french','ai-quick-actions-unavailable-model','english','items','AI_QUICK_ACTIONS_ASK_AI','_getDefaultAndCustomActions','attachToDom','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','954100uduxcr','make-tone-friendly','ask-ai','AI_QUICK_ACTIONS_CHANGE_TONE','translate-to-chinese','close','ai-quick-actions-models-unable-to-retrieve','179880AxTGwT','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIChat','uiLanguage','spanish','pluginName','commands','improve-writing','translate','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_MORE_CONFIDENT','_initializeQuickActionsDropdown','translate-to-portuguese','6219540bDfeES','menuitem','AI_QUICK_ACTIONS_IMPROVE_WRITING','adjust-length','1998990SPjYEh','1OpYBIk','954144HmQxEA','CHAT','chat-commands','length','find','menu','japanese','AI_QUICK_ACTIONS_CHAT_COMMANDS','displayedPrompt','isOfficialPlugin','change-tone','AIReviewMode','execute','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','some','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','korean','values','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','russian','make-longer','continue','includes','isPremiumPlugin','ACTION','menuBarView','ai.quickActions.isSearchEnabled','summarize','aiQuickAction','message','german','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-italian','init','16cdxpRe','AI_QUICK_ACTIONS_ADJUST_LENGTH','_initializeQuickActionsComponents','view','_initializeQuickActionsMenuBar','type','delegate','English','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_CASUAL','136660FaOJVa','AIQuickActionsUI','editing','componentFactory','label','portuguese','french','AI_QUICK_ACTIONS_MAKE_SHORTER','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','_executeQuickAction','268448Syqsjh','_quickActionsDefinition','REVIEW','has','make-shorter','set','highlight-key-points','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','getDefaultQuickActions','explain','menuBar:aiQuickActions','panelView','fix-grammar','push','translate-to-english','make-tone-professional','translate-to-spanish','AI_QUICK_ACTIONS_EXPLAIN','DisplayNames','make-tone-casual','filter','<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>','translate-to-german','icon','translate-to-russian','_shouldIncludeAction','model','requires','getAll','aiQuickActions','editor','AI_QUICK_ACTIONS_MORE_DIRECT','italian','AI_QUICK_ACTIONS_OTHER','chinese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','forEach','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','other','AI_QUICK_ACTIONS_HEADING','plugins','config','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','_prepareQuickActionsDefinition','<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>','get','make-tone-direct','locale','66nRCcZA','AIActions','make-tone-confident'];_0x2370=function(){return _0x486bb7;};return _0x2370();}import{AIConnector as _0x4fda03}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const vt=_0xf5c796(0x1d8),Pt=_0xf5c796(0x1e1),Kt=_0xf5c796(0x1bf);export var AIQuickActionType;!function(_0x8e28e2){const _0x207958=_0xf5c796;_0x8e28e2[_0x207958(0x211)]=_0x207958(0x211),_0x8e28e2[_0x207958(0x22b)]=_0x207958(0x22b),_0x8e28e2[_0x207958(0x1ac)]=_0x207958(0x1ac);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x15558e){const _0xd7f557=_0xf5c796;_0x15558e[_0xd7f557(0x211)]=_0xd7f557(0x1ff),_0x15558e[_0xd7f557(0x22b)]=_0xd7f557(0x1dd),_0x15558e[_0xd7f557(0x1ac)]=_0xd7f557(0x21b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x398bed{static get[_0xf5c796(0x1c5)](){return[_0x53d03c,_0x4fda03];}static get[_0xf5c796(0x202)](){const _0x445cae=_0xf5c796;return _0x445cae(0x240);}static get[_0xf5c796(0x219)](){return!0x0;}static get[_0xf5c796(0x22a)](){return!0x0;}async[_0xf5c796(0x234)](){const _0x34ace2=_0xf5c796,_0x31b47c=await this[_0x34ace2(0x1f3)]();this[_0x34ace2(0x1d7)](_0x31b47c),this[_0x34ace2(0x1a6)]();}static[_0xf5c796(0x1b2)](_0x2ed5f1){return function(_0x442b38){const _0x4a2d3c=_0x428e,_0x492bdd=new Intl[(_0x4a2d3c(0x1bc))](['en'],{'type':_0x4a2d3c(0x1e3)})['of'](_0x442b38[_0x4a2d3c(0x200)]),_0x5740ac=_0x492bdd||_0x4a2d3c(0x23c),_0x21bd57=[{'id':_0x4a2d3c(0x1f8),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1f2)),'type':AIQuickActionType[_0x4a2d3c(0x211)],'icon':_0x24cc98},{'id':_0x4a2d3c(0x212),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x217)),'icon':_0x24cc98,'actions':[{'id':_0x4a2d3c(0x1b3),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1bb)),'prompt':vt[_0x4a2d3c(0x1e8)]('%0',_0x5740ac),'type':AIQuickActionType[_0x4a2d3c(0x211)]},{'id':_0x4a2d3c(0x22e),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1ea)),'prompt':Pt[_0x4a2d3c(0x1e8)]('%0',_0x5740ac),'type':AIQuickActionType[_0x4a2d3c(0x211)]},{'id':_0x4a2d3c(0x1b0),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1b1)),'prompt':Kt[_0x4a2d3c(0x1e8)]('%0',_0x5740ac),'type':AIQuickActionType[_0x4a2d3c(0x211)]}]},{'id':_0x4a2d3c(0x204),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x20c)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'icon':_0x206885},{'id':_0x4a2d3c(0x228),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x232)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'icon':_0xd4535b},{'id':_0x4a2d3c(0x1b6),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x21e)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'icon':_0x12ce52},{'id':_0x4a2d3c(0x20d),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x236)),'icon':_0x25e570,'actions':[{'id':_0x4a2d3c(0x1ae),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1a5)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x227),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x21d)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]}]},{'id':_0x4a2d3c(0x21a),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1f9)),'icon':_0x524c89,'actions':[{'id':_0x4a2d3c(0x1bd),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x23e)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1da),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1c9)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1f7),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x224)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1de),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x207)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1b9),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1cd)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]}]},{'id':_0x4a2d3c(0x205),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1a7)),'icon':_0x2fb030,'actions':[{'id':_0x4a2d3c(0x1b8),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1fe)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1f0)}},{'id':_0x4a2d3c(0x1fa),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x220)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1cc)}},{'id':_0x4a2d3c(0x1ba),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1d0)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x201)}},{'id':_0x4a2d3c(0x1c0),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1a8)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x231)}},{'id':_0x4a2d3c(0x1ee),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x225)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1a4)}},{'id':_0x4a2d3c(0x1e4),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1d5)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x216)}},{'id':_0x4a2d3c(0x209),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1f5)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x244)}},{'id':_0x4a2d3c(0x1cf),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1e6)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x221)}},{'id':_0x4a2d3c(0x233),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x206)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1ca)}},{'id':_0x4a2d3c(0x1c2),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1d6)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x226)}}]},{'id':_0x4a2d3c(0x1d1),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1cb)),'icon':_0x5a5a7e,'actions':[]}];return _0x21bd57;}(_0x2ed5f1);}async[_0xf5c796(0x1f3)](){const _0x433824=_0xf5c796,_0x3fe87c=AIQuickActionsUI[_0x433824(0x1b2)](this[_0x433824(0x1c8)][_0x433824(0x1db)]),_0x2afdf2=this[_0x433824(0x1c8)][_0x433824(0x1d4)][_0x433824(0x1d9)](_0x433824(0x23d))||[];let _0x3b69a0=[];try{_0x3b69a0=await new _0x3075b6({'connector':this[_0x433824(0x1c8)][_0x433824(0x1d3)][_0x433824(0x1d9)](_0x433824(0x1e5)),'locale':this[_0x433824(0x1c8)][_0x433824(0x1db)]})[_0x433824(0x1c6)]();}catch(_0x161177){const _0x18e1ce=new _0x4ca179(_0x433824(0x1fc),this,{'error':_0x161177});_0x41fc90(_0x18e1ce[_0x433824(0x230)]);}finally{const _0x108d8f=_0x2afdf2[_0x433824(0x1ed)](_0x320595=>({..._0x320595,'icon':void 0x0}));_0x3fe87c[_0x433824(0x214)](_0xb22150=>_0x433824(0x1d1)===_0xb22150['id'])[_0x433824(0x1df)][_0x433824(0x1b7)](..._0x108d8f),_0x3fe87c[_0x433824(0x1ce)](_0x1fa2c4=>{const _0x15d6dd=_0x433824;if(_0x15d6dd(0x1df)in _0x1fa2c4)_0x1fa2c4[_0x15d6dd(0x1df)][_0x15d6dd(0x1ce)](_0x575dce=>{const _0x2bce4c=_0x15d6dd;if(_0x575dce[_0x2bce4c(0x1e0)]=!!_0x3b69a0[_0x2bce4c(0x214)](_0x4e6480=>_0x4e6480['id']===_0x575dce[_0x2bce4c(0x1c4)])||void 0x0===_0x575dce[_0x2bce4c(0x1c4)],!_0x575dce[_0x2bce4c(0x1e0)]){const _0x583736=new _0x4ca179(_0x2bce4c(0x1ef),this,{'actionId':_0x575dce['id'],'modelId':_0x575dce[_0x2bce4c(0x1c4)]});_0x41fc90(_0x583736[_0x2bce4c(0x230)]);}});else{if(_0x1fa2c4[_0x15d6dd(0x1e0)]=!!_0x3b69a0[_0x15d6dd(0x214)](_0x5122a3=>_0x5122a3['id']===_0x1fa2c4[_0x15d6dd(0x1c4)])||void 0x0===_0x1fa2c4[_0x15d6dd(0x1c4)],!_0x1fa2c4[_0x15d6dd(0x1e0)]){const _0x414a2f=new _0x4ca179(_0x15d6dd(0x1ef),this,{'actionId':_0x1fa2c4['id'],'modelId':_0x1fa2c4[_0x15d6dd(0x1c4)]});_0x41fc90(_0x414a2f[_0x15d6dd(0x230)]);}}});}return _0x3fe87c;}[_0xf5c796(0x1a6)](){const _0x18b3dc=_0xf5c796,_0x7961e4=new _0x351ee1(this[_0x18b3dc(0x1c8)][_0x18b3dc(0x1db)]);_0x7961e4[_0x18b3dc(0x1f4)](),this[_0x18b3dc(0x208)](_0x7961e4),this[_0x18b3dc(0x239)](),this[_0x18b3dc(0x237)](_0x7961e4);}[_0xf5c796(0x208)](_0x397907){const _0x5735f7=_0xf5c796,_0xf91d2b=this[_0x5735f7(0x1c8)][_0x5735f7(0x1d4)][_0x5735f7(0x1d9)](_0x5735f7(0x22d))??!0x0;this[_0x5735f7(0x1c8)]['ui'][_0x5735f7(0x242)][_0x5735f7(0x1e9)](_0x5735f7(0x1c7),_0x163034({'editor':this[_0x5735f7(0x1c8)],'content':this[_0x5735f7(0x1ab)],'buttonDefinition':{'icon':_0x81f496,'label':_0x2d8fd4(this[_0x5735f7(0x1c8)][_0x5735f7(0x1db)],_0x5735f7(0x1d2))},'bodyCollection':_0x397907,'hasSearch':_0xf91d2b}));}[_0xf5c796(0x1d7)](_0x371d80){const _0x2c80bb=_0xf5c796;this[_0x2c80bb(0x1ab)]=_0x371d80[_0x2c80bb(0x1ed)](_0x283a65=>{const _0x4a34a7=_0x2c80bb;if(_0x4a34a7(0x1df)in _0x283a65){const _0x3fb27b=_0x283a65;return{..._0x3fb27b,'actions':_0x3fb27b[_0x4a34a7(0x1df)][_0x4a34a7(0x1ed)](_0x2d3819=>{const {actions:_0x421cc9,..._0x260ef4}=_0x3fb27b;return{..._0x2d3819,'parent':_0x260ef4};})[_0x4a34a7(0x1be)](_0x553e28=>this[_0x4a34a7(0x1c3)](_0x553e28))};}return _0x283a65;})[_0x2c80bb(0x1be)](_0x550443=>_0x2c80bb(0x1df)in _0x550443?_0x550443[_0x2c80bb(0x1df)][_0x2c80bb(0x213)]>0x0:this[_0x2c80bb(0x1c3)](_0x550443));}[_0xf5c796(0x1c3)](_0xb6451f){const _0x58a222=_0xf5c796,_0x2f7bdb=this[_0x58a222(0x1c8)][_0x58a222(0x1d4)][_0x58a222(0x1d9)](_0x58a222(0x1ec))||[];return this[_0x58a222(0x1c8)][_0x58a222(0x1d3)][_0x58a222(0x1ad)](AIQuickActionTypeToPluginName[_0xb6451f[_0x58a222(0x23a)]])&&!_0x2f7bdb[_0x58a222(0x229)](_0xb6451f['id'])&&!(_0xb6451f[_0x58a222(0x23a)]===AIQuickActionType[_0x58a222(0x211)]&&!0x1===this[_0x58a222(0x1c8)][_0x58a222(0x1d4)][_0x58a222(0x1d9)](_0x58a222(0x223)));}[_0xf5c796(0x237)](_0x29ffef){const _0x4df234=_0xf5c796;this[_0x4df234(0x1ab)][_0x4df234(0x1ce)](_0x2c364c=>{const _0x16d423=_0x4df234;if(_0x16d423(0x1df)in _0x2c364c){const _0x1b62e6=_0x163034({'editor':this[_0x16d423(0x1c8)],'content':_0x2c364c[_0x16d423(0x1df)],'buttonDefinition':_0x2c364c,'bodyCollection':_0x29ffef});this[_0x16d423(0x1c8)]['ui'][_0x16d423(0x242)][_0x16d423(0x1e9)](_0x2c364c['id'],_0x1b62e6),_0x2c364c[_0x16d423(0x1df)][_0x16d423(0x1ce)](_0x3683a9=>{const _0x39756a=_0x16d423,_0x18559f=_0x4645a7({'editor':this[_0x39756a(0x1c8)],'action':_0x3683a9});this[_0x39756a(0x1c8)]['ui'][_0x39756a(0x242)][_0x39756a(0x1e9)](_0x3683a9['id'],_0x18559f);});}else{const _0x17a6e4=_0x4645a7({'editor':this[_0x16d423(0x1c8)],'action':_0x2c364c,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x16d423(0x1c8)]['ui'][_0x16d423(0x242)][_0x16d423(0x1e9)](_0x2c364c['id'],_0x17a6e4);}});}[_0xf5c796(0x239)](){const _0x1936b0=_0xf5c796;this[_0x1936b0(0x1c8)]['ui'][_0x1936b0(0x242)][_0x1936b0(0x1e9)](_0x1936b0(0x1b4),_0x469480=>{const _0x472e1a=_0x1936b0,_0x2c55c6=new _0x2e779f(_0x469480),_0x119e52=_0x2d8fd4(_0x469480,_0x472e1a(0x1d2));_0x2c55c6[_0x472e1a(0x1eb)][_0x472e1a(0x1af)]({'label':_0x119e52,'icon':_0x81f496});const _0x39e05a=new _0x4251ea(_0x469480);_0x39e05a[_0x472e1a(0x1af)]({'ariaLabel':_0x119e52,'role':_0x472e1a(0x215)}),this[_0x472e1a(0x1ab)][_0x472e1a(0x1ce)](_0x38741c=>{const _0xec184e=_0x472e1a;if(_0xec184e(0x1df)in _0x38741c){const _0x5a805b=_0x38741c,_0x1a2815=new _0x2ae5f0(_0x469480,_0x2c55c6),_0x18e513=new _0x2e779f(_0x469480),_0x140ff0=new _0x4251ea(_0x469480);_0x18e513[_0xec184e(0x1eb)][_0xec184e(0x1af)]({'label':_0x5a805b[_0xec184e(0x243)],'icon':_0x5a805b[_0xec184e(0x1c1)]}),_0x5a805b[_0xec184e(0x1df)][_0xec184e(0x1ce)](_0x4cb826=>{const _0x123866=_0xec184e,_0x3369ef=new _0x2ae5f0(_0x469480,_0x18e513),_0x2ec5bb=new _0x5923ca(_0x469480);_0x2ec5bb[_0x123866(0x1af)]({'label':_0x4cb826[_0x123866(0x218)],'icon':_0x4cb826[_0x123866(0x1c1)],'role':_0x123866(0x20b),'isEnabled':_0x4cb826[_0x123866(0x1e0)]}),_0x2ec5bb['on'](_0x123866(0x21c),()=>{const _0x2efd73=_0x123866;this[_0x2efd73(0x1a9)](_0x4cb826);}),_0x2ec5bb[_0x123866(0x23b)](_0x123866(0x21c))['to'](_0x18e513),_0x3369ef[_0x123866(0x1e7)][_0x123866(0x1e9)](_0x2ec5bb),_0x140ff0[_0x123866(0x1f1)][_0x123866(0x1e9)](_0x3369ef);}),_0x18e513[_0xec184e(0x1b5)][_0xec184e(0x1e7)][_0xec184e(0x1e9)](_0x140ff0),_0x1a2815[_0xec184e(0x1e7)][_0xec184e(0x1e9)](_0x18e513),_0x39e05a[_0xec184e(0x1f1)][_0xec184e(0x1e9)](_0x1a2815);}else{const _0x186285=_0x38741c,_0x163f9a=new _0x2ae5f0(_0x469480,_0x2c55c6),_0x22d95c=new _0x5923ca(_0x469480);_0x22d95c[_0xec184e(0x1af)]({'label':_0x186285[_0xec184e(0x218)],'icon':_0x186285[_0xec184e(0x1c1)],'role':_0xec184e(0x20b),'isEnabled':_0x186285[_0xec184e(0x1e0)]}),_0x22d95c['on'](_0xec184e(0x21c),()=>{const _0x3f6b20=_0xec184e;this[_0x3f6b20(0x1a9)](_0x186285);}),_0x22d95c[_0xec184e(0x23b)](_0xec184e(0x21c))['to'](_0x2c55c6),_0x163f9a[_0xec184e(0x1e7)][_0xec184e(0x1e9)](_0x22d95c),_0x39e05a[_0xec184e(0x1f1)][_0xec184e(0x1e9)](_0x163f9a);}});const _0x56cc93=Object[_0x472e1a(0x222)](AIQuickActionTypeToPluginName)[_0x472e1a(0x21f)](_0x6216ad=>this[_0x472e1a(0x1c8)][_0x472e1a(0x1d3)][_0x472e1a(0x1ad)](_0x6216ad));return _0x2c55c6[_0x472e1a(0x1af)]({'isEnabled':_0x56cc93}),_0x2c55c6[_0x472e1a(0x1b5)][_0x472e1a(0x1e7)][_0x472e1a(0x1e9)](_0x39e05a),_0x2c55c6;});}[_0xf5c796(0x1a9)](_0x3a9dbe){const _0x42f8f9=_0xf5c796,_0x4f0686=this[_0x42f8f9(0x1c8)];_0x4f0686[_0x42f8f9(0x241)][_0x42f8f9(0x238)][_0x42f8f9(0x1e2)](),_0x4f0686[_0x42f8f9(0x203)][_0x42f8f9(0x21c)](_0x42f8f9(0x22f),_0x3a9dbe);const _0x32f5d6=_0x4f0686['ui'][_0x42f8f9(0x238)][_0x42f8f9(0x22c)];_0x32f5d6&&_0x32f5d6[_0x42f8f9(0x1fb)]&&_0x32f5d6[_0x42f8f9(0x1fb)]();}}
|
|
23
|
+
const _0x3417dd=_0x3076;(function(_0x1d1ddc,_0x2fad87){const _0x7a7b6e=_0x3076,_0x54cc5e=_0x1d1ddc();while(!![]){try{const _0x426f7c=-parseInt(_0x7a7b6e(0x118))/0x1+-parseInt(_0x7a7b6e(0x7f))/0x2*(parseInt(_0x7a7b6e(0x9e))/0x3)+parseInt(_0x7a7b6e(0x11d))/0x4*(-parseInt(_0x7a7b6e(0xc6))/0x5)+parseInt(_0x7a7b6e(0x11a))/0x6+parseInt(_0x7a7b6e(0x9b))/0x7+parseInt(_0x7a7b6e(0xfe))/0x8+-parseInt(_0x7a7b6e(0xec))/0x9;if(_0x426f7c===_0x2fad87)break;else _0x54cc5e['push'](_0x54cc5e['shift']());}catch(_0x4e4849){_0x54cc5e['push'](_0x54cc5e['shift']());}}}(_0x5b29,0xe31d3));import{IconAIAdjustLength as _0x9e404d,IconAIChangeTone as _0xca82c,IconAIChatCommands as _0x3b7cfc,IconAIContinueWriting as _0x53099f,IconAIGrammarCheck as _0x786902,IconAIImproveWriting as _0x123251,IconAIOther as _0x15920a,IconAIQuickActions as _0x9859ba,IconAITranslate as _0x4d00df}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5c48d2}from'ckeditor5/src/core.js';import{CKEditorError as _0x454834,logError as _0x3468dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x351381}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5a8ece}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x156fdb}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x1b43ef,BalloonToolbar as _0x567921,MenuBarMenuView as _0x2c5128,MenuBarMenuListView as _0x1730f0,MenuBarMenuListItemView as _0x322a42,MenuBarMenuListItemButtonView as _0x5e787a}from'ckeditor5/src/ui.js';function _0x3076(_0x3c1d53,_0x384fad){const _0x5b297a=_0x5b29();return _0x3076=function(_0x307650,_0x8b785c){_0x307650=_0x307650-0x7f;let _0x5dca92=_0x5b297a[_0x307650];return _0x5dca92;},_0x3076(_0x3c1d53,_0x384fad);}import{AIModels as _0x36189c}from'../aicore/model/aimodels.js';import{AIConnector as _0xad5f3a}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ie=_0x3417dd(0x90),ne=_0x3417dd(0x106),oe=_0x3417dd(0xcd);export var AIQuickActionType;!function(_0x4430f0){const _0x19f388=_0x3417dd;_0x4430f0[_0x19f388(0x9c)]=_0x19f388(0x9c),_0x4430f0[_0x19f388(0x9f)]=_0x19f388(0x9f),_0x4430f0[_0x19f388(0xbb)]=_0x19f388(0xbb);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x5bf1d6){const _0x5560c2=_0x3417dd;_0x5bf1d6[_0x5560c2(0x9c)]=_0x5560c2(0x10f),_0x5bf1d6[_0x5560c2(0x9f)]=_0x5560c2(0xb7),_0x5bf1d6[_0x5560c2(0xbb)]=_0x5560c2(0xa9);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x5b29(){const _0x12ebbb=['AI_QUICK_ACTIONS_TRANSLATE_SPANISH','displayedPrompt','DisplayNames','execute','AI_QUICK_ACTIONS_MAKE_SHORTER','items','12629939xVFsey','CHAT','AI_QUICK_ACTIONS_HEADING','3274548RhxjsE','ACTION','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-spanish','chinese','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','locale','AI_QUICK_ACTIONS_ASK_AI','_getDefaultAndCustomActions','pluginName','filter','AIReviewMode','config','_initializeQuickActionsMenuBar','continue','model','aiQuickActions','translate-to-italian','has','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','init','make-shorter','replace','AIQuickActionsUI','make-longer','AIActions','make-tone-confident','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_MORE_CASUAL','REVIEW','translate-to-korean','_initializeQuickActionsDropdown','language','add','make-tone-casual','_shouldIncludeAction','AI_QUICK_ACTIONS_ADJUST_LENGTH','fix-grammar','menuBarView','translate-to-chinese','5736140OSSyrk','make-tone-professional','attachToDom','translate','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','forEach','label','<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>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','view','ai.quickActions.removeCommands','delegate','translate-to-french','summarize','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-portuguese','type','message','get','find','close','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','make-tone-friendly','adjust-length','german','isOfficialPlugin','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_CHANGE_TONE','chat-commands','ask-ai','AI_QUICK_ACTIONS_MAKE_LONGER','menuitem','russian','componentFactory','7167960fjWYzl','plugins','french','AI_QUICK_ACTIONS_MORE_DIRECT','editor','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_SUMMARIZE','highlight-key-points','panelView','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AIConnector','requires','AI_QUICK_ACTIONS_IMPROVE_WRITING','uiLanguage','ai-quick-actions-models-unable-to-retrieve','focus','editing','ai.chat.context.document.enabled','12991104bWAKAC','spanish','map','set','values','_prepareQuickActionsDefinition','make-tone-direct','AI_QUICK_ACTIONS_CONTINUE_WRITING','<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>','isEnabled','push','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','ai-quick-actions-unavailable-model','improve-writing','_quickActionsDefinition','change-tone','includes','AIChat','explain','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','buttonView','english','getAll','_initializeQuickActionsComponents','_executeQuickAction','icon','64510BvElcL','length','3610728sMFahc','translate-to-japanese','japanese','4BMAEhN','translate-to-russian','2jAeEXY','korean','portuguese','menu','actions','some','translate-to-english','getDefaultQuickActions','ai.quickActions.extraCommands','aiQuickAction','isPremiumPlugin','children','other','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_OTHER','English','menuBar:aiQuickActions','<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>','translate-to-german','commands','italian','AI_QUICK_ACTIONS_TRANSLATE'];_0x5b29=function(){return _0x12ebbb;};return _0x5b29();}export class AIQuickActionsUI extends _0x5c48d2{static get[_0x3417dd(0xf7)](){return[_0x567921,_0xad5f3a];}static get[_0x3417dd(0xa7)](){const _0x5193f9=_0x3417dd;return _0x5193f9(0xb5);}static get[_0x3417dd(0xe2)](){return!0x0;}static get[_0x3417dd(0x89)](){return!0x0;}async[_0x3417dd(0xb2)](){const _0x5cc209=_0x3417dd,_0x10f819=await this[_0x5cc209(0xa6)]();this[_0x5cc209(0x103)](_0x10f819),this[_0x5cc209(0x8c)]();}static[_0x3417dd(0x86)](_0x327661){return function(_0x2b5d8e){const _0x3c7bac=_0x3076,_0x2c2d20=new Intl[(_0x3c7bac(0x97))](['en'],{'type':_0x3c7bac(0xbe)})['of'](_0x2b5d8e[_0x3c7bac(0xf9)]),_0xe897fd=_0x2c2d20||_0x3c7bac(0x8e),_0x433c4b=[{'id':_0x3c7bac(0xe7),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xa5)),'type':AIQuickActionType[_0x3c7bac(0x9c)],'icon':_0x3b7cfc},{'id':_0x3c7bac(0xe6),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0xb9)),'icon':_0x3b7cfc,'actions':[{'id':_0x3c7bac(0x110),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xcf)),'prompt':ie[_0x3c7bac(0xb4)]('%0',_0xe897fd),'type':AIQuickActionType[_0x3c7bac(0x9c)]},{'id':_0x3c7bac(0xd5),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf2)),'prompt':ne[_0x3c7bac(0xb4)]('%0',_0xe897fd),'type':AIQuickActionType[_0x3c7bac(0x9c)]},{'id':_0x3c7bac(0xf3),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x111)),'prompt':oe[_0x3c7bac(0xb4)]('%0',_0xe897fd),'type':AIQuickActionType[_0x3c7bac(0x9c)]}]},{'id':_0x3c7bac(0x10b),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf8)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'icon':_0x123251},{'id':_0x3c7bac(0xac),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x105)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'icon':_0x53099f},{'id':_0x3c7bac(0xc3),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x109)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'icon':_0x786902},{'id':_0x3c7bac(0xe0),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0xc2)),'icon':_0x9e404d,'actions':[{'id':_0x3c7bac(0xb3),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x99)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xb6),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xe8)),'type':AIQuickActionType[_0x3c7bac(0x9f)]}]},{'id':_0x3c7bac(0x10d),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0xe5)),'icon':_0xca82c,'actions':[{'id':_0x3c7bac(0xc0),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xba)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0x104),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xef)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xdf),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xd7)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xb8),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf1)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xc7),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xca)),'type':AIQuickActionType[_0x3c7bac(0x9f)]}]},{'id':_0x3c7bac(0xc9),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0x94)),'icon':_0x4d00df,'actions':[{'id':_0x3c7bac(0x85),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xe4)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x113)}},{'id':_0x3c7bac(0xc5),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf5)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xa2)}},{'id':_0x3c7bac(0xa1),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x95)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xff)}},{'id':_0x3c7bac(0x91),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xd0)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xe1)}},{'id':_0x3c7bac(0xd4),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xb1)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xee)}},{'id':_0x3c7bac(0x11b),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xa0)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x11c)}},{'id':_0x3c7bac(0xd8),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xa3)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x81)}},{'id':_0x3c7bac(0xbc),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xd6)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x80)}},{'id':_0x3c7bac(0xaf),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xce)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x93)}},{'id':_0x3c7bac(0x11e),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xde)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xea)}}]},{'id':_0x3c7bac(0x8b),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0x8d)),'icon':_0x15920a,'actions':[]}];return _0x433c4b;}(_0x327661);}async[_0x3417dd(0xa6)](){const _0xeb1f33=_0x3417dd,_0x1df939=AIQuickActionsUI[_0xeb1f33(0x86)](this[_0xeb1f33(0xf0)][_0xeb1f33(0xa4)]),_0xb345d=this[_0xeb1f33(0xf0)][_0xeb1f33(0xaa)][_0xeb1f33(0xdb)](_0xeb1f33(0x87))||[];let _0x5cef65=[];try{_0x5cef65=await new _0x36189c({'connector':this[_0xeb1f33(0xf0)][_0xeb1f33(0xed)][_0xeb1f33(0xdb)](_0xeb1f33(0xf6)),'locale':this[_0xeb1f33(0xf0)][_0xeb1f33(0xa4)]})[_0xeb1f33(0x114)]();}catch(_0x8ff963){const _0x23af88=new _0x454834(_0xeb1f33(0xfa),this,{'error':_0x8ff963});_0x3468dd(_0x23af88[_0xeb1f33(0xda)]);}finally{const _0x1953dd=_0xb345d[_0xeb1f33(0x100)](_0x38d195=>({..._0x38d195,'icon':void 0x0}));_0x1df939[_0xeb1f33(0xdc)](_0x19f3e8=>_0xeb1f33(0x8b)===_0x19f3e8['id'])[_0xeb1f33(0x83)][_0xeb1f33(0x108)](..._0x1953dd),_0x1df939[_0xeb1f33(0xcb)](_0x2cbbd7=>{const _0x2152a6=_0xeb1f33;if(_0x2152a6(0x83)in _0x2cbbd7)_0x2cbbd7[_0x2152a6(0x83)][_0x2152a6(0xcb)](_0x1f91c1=>{const _0x4972a6=_0x2152a6;if(_0x1f91c1[_0x4972a6(0x107)]=!!_0x5cef65[_0x4972a6(0xdc)](_0x42efe4=>_0x42efe4['id']===_0x1f91c1[_0x4972a6(0xad)])||void 0x0===_0x1f91c1[_0x4972a6(0xad)],!_0x1f91c1[_0x4972a6(0x107)]){const _0x3c8d48=new _0x454834(_0x4972a6(0x10a),this,{'actionId':_0x1f91c1['id'],'modelId':_0x1f91c1[_0x4972a6(0xad)]});_0x3468dd(_0x3c8d48[_0x4972a6(0xda)]);}});else{if(_0x2cbbd7[_0x2152a6(0x107)]=!!_0x5cef65[_0x2152a6(0xdc)](_0x33d664=>_0x33d664['id']===_0x2cbbd7[_0x2152a6(0xad)])||void 0x0===_0x2cbbd7[_0x2152a6(0xad)],!_0x2cbbd7[_0x2152a6(0x107)]){const _0x4d3904=new _0x454834(_0x2152a6(0x10a),this,{'actionId':_0x2cbbd7['id'],'modelId':_0x2cbbd7[_0x2152a6(0xad)]});_0x3468dd(_0x4d3904[_0x2152a6(0xda)]);}}});}return _0x1df939;}[_0x3417dd(0x8c)](){const _0x31c87d=_0x3417dd,_0x297913=new _0x1b43ef(this[_0x31c87d(0xf0)][_0x31c87d(0xa4)]);_0x297913[_0x31c87d(0xc8)](),this[_0x31c87d(0xbd)](_0x297913),this[_0x31c87d(0xab)](),this[_0x31c87d(0x115)](_0x297913);}[_0x3417dd(0xbd)](_0x6a14d0){const _0xbd6663=_0x3417dd,_0x1cfe89=this[_0xbd6663(0xf0)][_0xbd6663(0xaa)][_0xbd6663(0xdb)](_0xbd6663(0xe3))??!0x0;this[_0xbd6663(0xf0)]['ui'][_0xbd6663(0xeb)][_0xbd6663(0xbf)](_0xbd6663(0xae),_0x5a8ece({'editor':this[_0xbd6663(0xf0)],'content':this[_0xbd6663(0x10c)],'buttonDefinition':{'icon':_0x9859ba,'label':_0x351381(this[_0xbd6663(0xf0)][_0xbd6663(0xa4)],_0xbd6663(0x9d))},'bodyCollection':_0x6a14d0,'hasSearch':_0x1cfe89}));}[_0x3417dd(0x103)](_0x32fbfa){const _0x905da6=_0x3417dd;this[_0x905da6(0x10c)]=_0x32fbfa[_0x905da6(0x100)](_0x31987d=>{const _0x95f97e=_0x905da6;if(_0x95f97e(0x83)in _0x31987d){const _0x174c72=_0x31987d;return{..._0x174c72,'actions':_0x174c72[_0x95f97e(0x83)][_0x95f97e(0x100)](_0x314790=>{const {actions:_0x219040,..._0x42f567}=_0x174c72;return{..._0x314790,'parent':_0x42f567};})[_0x95f97e(0xa8)](_0x44c295=>this[_0x95f97e(0xc1)](_0x44c295))};}return _0x31987d;})[_0x905da6(0xa8)](_0xe47e35=>_0x905da6(0x83)in _0xe47e35?_0xe47e35[_0x905da6(0x83)][_0x905da6(0x119)]>0x0:this[_0x905da6(0xc1)](_0xe47e35));}[_0x3417dd(0xc1)](_0x356fd5){const _0x4d92c6=_0x3417dd,_0x23c108=this[_0x4d92c6(0xf0)][_0x4d92c6(0xaa)][_0x4d92c6(0xdb)](_0x4d92c6(0xd2))||[];return this[_0x4d92c6(0xf0)][_0x4d92c6(0xed)][_0x4d92c6(0xb0)](AIQuickActionTypeToPluginName[_0x356fd5[_0x4d92c6(0xd9)]])&&!_0x23c108[_0x4d92c6(0x10e)](_0x356fd5['id'])&&!(_0x356fd5[_0x4d92c6(0xd9)]===AIQuickActionType[_0x4d92c6(0x9c)]&&!0x1===this[_0x4d92c6(0xf0)][_0x4d92c6(0xaa)][_0x4d92c6(0xdb)](_0x4d92c6(0xfd)));}[_0x3417dd(0x115)](_0x6a0c0c){const _0xac7795=_0x3417dd;this[_0xac7795(0x10c)][_0xac7795(0xcb)](_0x321e40=>{const _0x55872e=_0xac7795;if(_0x55872e(0x83)in _0x321e40){const _0x2eda77=_0x5a8ece({'editor':this[_0x55872e(0xf0)],'content':_0x321e40[_0x55872e(0x83)],'buttonDefinition':_0x321e40,'bodyCollection':_0x6a0c0c});this[_0x55872e(0xf0)]['ui'][_0x55872e(0xeb)][_0x55872e(0xbf)](_0x321e40['id'],_0x2eda77),_0x321e40[_0x55872e(0x83)][_0x55872e(0xcb)](_0x1d25f1=>{const _0x1461f0=_0x55872e,_0x543ce8=_0x156fdb({'editor':this[_0x1461f0(0xf0)],'action':_0x1d25f1});this[_0x1461f0(0xf0)]['ui'][_0x1461f0(0xeb)][_0x1461f0(0xbf)](_0x1d25f1['id'],_0x543ce8);});}else{const _0x2f2d6c=_0x156fdb({'editor':this[_0x55872e(0xf0)],'action':_0x321e40,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x55872e(0xf0)]['ui'][_0x55872e(0xeb)][_0x55872e(0xbf)](_0x321e40['id'],_0x2f2d6c);}});}[_0x3417dd(0xab)](){const _0x554244=_0x3417dd;this[_0x554244(0xf0)]['ui'][_0x554244(0xeb)][_0x554244(0xbf)](_0x554244(0x8f),_0x19ce1a=>{const _0x564201=_0x554244,_0x16d01b=new _0x2c5128(_0x19ce1a),_0x17cde0=_0x351381(_0x19ce1a,_0x564201(0x9d));_0x16d01b[_0x564201(0x112)][_0x564201(0x101)]({'label':_0x17cde0,'icon':_0x9859ba});const _0x2c440a=new _0x1730f0(_0x19ce1a);_0x2c440a[_0x564201(0x101)]({'ariaLabel':_0x17cde0,'role':_0x564201(0x82)}),this[_0x564201(0x10c)][_0x564201(0xcb)](_0x2770bb=>{const _0x350119=_0x564201;if(_0x350119(0x83)in _0x2770bb){const _0x59fe6c=_0x2770bb,_0x3424da=new _0x322a42(_0x19ce1a,_0x16d01b),_0x60b5fa=new _0x2c5128(_0x19ce1a),_0x31d4df=new _0x1730f0(_0x19ce1a);_0x60b5fa[_0x350119(0x112)][_0x350119(0x101)]({'label':_0x59fe6c[_0x350119(0xcc)],'icon':_0x59fe6c[_0x350119(0x117)]}),_0x59fe6c[_0x350119(0x83)][_0x350119(0xcb)](_0x21da6c=>{const _0x214db3=_0x350119,_0xf8e071=new _0x322a42(_0x19ce1a,_0x60b5fa),_0x14e8b4=new _0x5e787a(_0x19ce1a);_0x14e8b4[_0x214db3(0x101)]({'label':_0x21da6c[_0x214db3(0x96)],'icon':_0x21da6c[_0x214db3(0x117)],'role':_0x214db3(0xe9),'isEnabled':_0x21da6c[_0x214db3(0x107)]}),_0x14e8b4['on'](_0x214db3(0x98),()=>{const _0xfb62aa=_0x214db3;this[_0xfb62aa(0x116)](_0x21da6c);}),_0x14e8b4[_0x214db3(0xd3)](_0x214db3(0x98))['to'](_0x60b5fa),_0xf8e071[_0x214db3(0x8a)][_0x214db3(0xbf)](_0x14e8b4),_0x31d4df[_0x214db3(0x9a)][_0x214db3(0xbf)](_0xf8e071);}),_0x60b5fa[_0x350119(0xf4)][_0x350119(0x8a)][_0x350119(0xbf)](_0x31d4df),_0x3424da[_0x350119(0x8a)][_0x350119(0xbf)](_0x60b5fa),_0x2c440a[_0x350119(0x9a)][_0x350119(0xbf)](_0x3424da);}else{const _0x89cc66=_0x2770bb,_0x22ba64=new _0x322a42(_0x19ce1a,_0x16d01b),_0x513207=new _0x5e787a(_0x19ce1a);_0x513207[_0x350119(0x101)]({'label':_0x89cc66[_0x350119(0x96)],'icon':_0x89cc66[_0x350119(0x117)],'role':_0x350119(0xe9),'isEnabled':_0x89cc66[_0x350119(0x107)]}),_0x513207['on'](_0x350119(0x98),()=>{const _0x545383=_0x350119;this[_0x545383(0x116)](_0x89cc66);}),_0x513207[_0x350119(0xd3)](_0x350119(0x98))['to'](_0x16d01b),_0x22ba64[_0x350119(0x8a)][_0x350119(0xbf)](_0x513207),_0x2c440a[_0x350119(0x9a)][_0x350119(0xbf)](_0x22ba64);}});const _0x21c278=Object[_0x564201(0x102)](AIQuickActionTypeToPluginName)[_0x564201(0x84)](_0x401191=>this[_0x564201(0xf0)][_0x564201(0xed)][_0x564201(0xb0)](_0x401191));return _0x16d01b[_0x564201(0x101)]({'isEnabled':_0x21c278}),_0x16d01b[_0x564201(0xf4)][_0x564201(0x8a)][_0x564201(0xbf)](_0x2c440a),_0x16d01b;});}[_0x3417dd(0x116)](_0x161b72){const _0x4070b0=_0x3417dd,_0x23a871=this[_0x4070b0(0xf0)];_0x23a871[_0x4070b0(0xfc)][_0x4070b0(0xd1)][_0x4070b0(0xfb)](),_0x23a871[_0x4070b0(0x92)][_0x4070b0(0x98)](_0x4070b0(0x88),_0x161b72);const _0x33da68=_0x23a871['ui'][_0x4070b0(0xd1)][_0x4070b0(0xc4)];_0x33da68&&_0x33da68[_0x4070b0(0xdd)]&&_0x33da68[_0x4070b0(0xdd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40c61f,_0x441738){const _0x4f7e8e=_0x1065,_0x70c8c7=_0x40c61f();while(!![]){try{const _0x8f7f70=-parseInt(_0x4f7e8e(0xbd))/0x1+-parseInt(_0x4f7e8e(0xc6))/0x2+parseInt(_0x4f7e8e(0xc4))/0x3+parseInt(_0x4f7e8e(0xcf))/0x4+parseInt(_0x4f7e8e(0xc2))/0x5+parseInt(_0x4f7e8e(0xd3))/0x6*(parseInt(_0x4f7e8e(0xc7))/0x7)+-parseInt(_0x4f7e8e(0xd2))/0x8;if(_0x8f7f70===_0x441738)break;else _0x70c8c7['push'](_0x70c8c7['shift']());}catch(_0x441f1e){_0x70c8c7['push'](_0x70c8c7['shift']());}}}(_0x3ad0,0x4633e));import{ButtonView as _0x56f12f}from'ckeditor5/src/ui.js';function _0x1065(_0xc0085,_0x57ab64){const _0x3ad0e8=_0x3ad0();return _0x1065=function(_0x1065ef,_0x97e7fc){_0x1065ef=_0x1065ef-0xbd;let _0x303e12=_0x3ad0e8[_0x1065ef];return _0x303e12;},_0x1065(_0xc0085,_0x57ab64);}import{IconAIQuickActions as _0x267be2}from'@ckeditor/ckeditor5-icons';function _0x3ad0(){const _0x265b23=['execute','702396IHZMSp','icon','648656evzEMA','290136iLMKzI','view','focus','extendTemplate','menuitem','bindTemplate','set','locale','1107956fKnYpn','commands','displayedPrompt','5488656MGYCTR','42apBCsk','isEnabled','74157POctqD','ck-ai-quick-actions-button','aiQuickAction','parent','editing','2854300XDLsJN'];_0x3ad0=function(){return _0x265b23;};return _0x3ad0();}export function aiQuickActionsButtonCreator(_0x2ccbc8){const {editor:_0x4290cf,action:_0x2016cc,withText:_0x266dd9=!0x1,withIcon:_0x4f9784=!0x0,isInDropdown:_0xda50a0=!0x0,shouldPreventFocus:_0x20aebc=!0x1}=_0x2ccbc8;return()=>{const _0x2f696b=_0x1065,_0x7a6d54=_0x4290cf[_0x2f696b(0xce)],_0x2115f6=new _0x56f12f(_0x7a6d54),_0x4d5c43=_0x2115f6[_0x2f696b(0xcc)];_0xda50a0&&_0x2115f6[_0x2f696b(0xca)]({'on':{'mouseenter':_0x4d5c43['to'](()=>{const _0xd21766=_0x2f696b;_0x20aebc&&_0x20aebc()||_0x2115f6[_0xd21766(0xc9)]();})}});const _0x205423=_0x2016cc[_0x2f696b(0xc5)]??_0x2016cc[_0x2f696b(0xc0)]?.[_0x2f696b(0xc5)];return _0x2115f6[_0x2f696b(0xcd)]({'label':_0x2016cc[_0x2f696b(0xd1)],'withText':_0x266dd9,'role':_0x2f696b(0xcb),'icon':_0x4f9784?_0x205423??_0x267be2:void 0x0,'tooltip':!_0x266dd9,'class':_0x2f696b(0xbe),'isEnabled':_0x2016cc[_0x2f696b(0xd4)]}),_0x2115f6['on'](_0x2f696b(0xc3),()=>{const _0x4576e3=_0x2f696b;_0x4290cf[_0x4576e3(0xc1)][_0x4576e3(0xc8)][_0x4576e3(0xc9)](),_0x4290cf[_0x4576e3(0xd0)][_0x4576e3(0xc3)](_0x4576e3(0xbf),_0x2016cc);}),_0x2115f6;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x441253=_0x32af;(function(_0x27ef55,_0x1ca7eb){const _0x5d2a24=_0x32af,_0x52b861=_0x27ef55();while(!![]){try{const _0x5e59f8=parseInt(_0x5d2a24(0x9b))/0x1+parseInt(_0x5d2a24(0xf1))/0x2*(parseInt(_0x5d2a24(0xc5))/0x3)+parseInt(_0x5d2a24(0x9f))/0x4*(parseInt(_0x5d2a24(0xb0))/0x5)+parseInt(_0x5d2a24(0xfe))/0x6*(-parseInt(_0x5d2a24(0xa0))/0x7)+parseInt(_0x5d2a24(0xde))/0x8+parseInt(_0x5d2a24(0xd1))/0x9*(parseInt(_0x5d2a24(0xe0))/0xa)+-parseInt(_0x5d2a24(0xea))/0xb;if(_0x5e59f8===_0x1ca7eb)break;else _0x52b861['push'](_0x52b861['shift']());}catch(_0x3d5dd0){_0x52b861['push'](_0x52b861['shift']());}}}(_0x5a5d,0xb6f08));import{View as _0x45d5fc,ListItemView as _0x404174,ListView as _0x395cee,BalloonPanelView as _0x4c43d7,DropdownMenuPanelPositioningFunctions as _0x446d2b,ViewCollection as _0x3a0b4c,FocusCycler as _0x4470d5,ButtonView as _0x657f81,IconView as _0xfc5224,HighlightedTextView as _0x191b50,ButtonLabelWithHighlightView as _0x40d143,SearchTextView as _0x1e4ff6}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4cd896}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4f5ec6,KeystrokeHandler as _0x1cdcff}from'ckeditor5/src/utils.js';function _0x32af(_0xd67562,_0x5c1812){const _0x5a5da1=_0x5a5d();return _0x32af=function(_0x32af32,_0x4766ef){_0x32af32=_0x32af32-0x82;let _0x2bc393=_0x5a5da1[_0x32af32];return _0x2bc393;},_0x32af(_0xd67562,_0x5c1812);}import{aiQuickActionsButtonCreator as _0x2b6fb1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x570437}from'./dropdownmenubuttonwithhighlightview.js';function _0x5a5d(){const _0x300e2d=['ck-reset_all','destroy','relatedTarget','ck-ai-quick-actions-search','_getButtonKeystroke','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createGroupActionsList','ck-ai-quick-actions-search-result-button','33225786xsYySi','ck-button','render','activeElement','content','queryView','_createSearchResultGroupRow','2IpWaIG','ck-dropdown-menu-list','_handleSearchResultButtonClick','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result__group-row','_createSearchResultGroupedActionButton','div','set','_createSearchTextView','ck-ai-quick-actions-group-button','aiQuickAction','contains','AI_QUICK_ACTIONS_SEARCH','1518ZjuHQG','closest','button','isOn','addMany','ck-ai-quick-actions-button_with-group__open-paren','span','commands','_createSearchResultContentView','ArrowRight','text','label','items','_createSearchResultActionButton','isEnabled','fire','pin','focus','role','_createActionGroupButton','_hideNestedPanel','forEach','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_openNestedPanels','reset','actions','push','ck-ai-quick-actions-button_with-group__close-paren','ownerDocument','eastSouth','displayedPrompt','bindTemplate','ck-ai-quick-actions-button__group-icon','view','_allSearchableItems','optionsListView','fieldView','extendTemplate','1263096Ttdxvh','show','execute','clear','9848xpxZnI','9933qfGJIs','first','ck-ai-quick-actions','children','focusTracker','menu','addEventListener','setTemplate','mouseleave','detachFromDom','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','element','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-button_with-group','515asbCeA','_setupActionButtonExecution','focusCycler','.ck-ai-quick-actions-group-list','_createSearchResultIndividualActionButton','ArrowLeft','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result__content','_bodyCollection','isVisible','menuitem','parent','_createSearchResultActionRow','_focusables','key','.ck-ai-quick-actions-group-panel','keystrokes','_setupGroupMenuBehavior','_createActionButton','resetSearch','ck-ai-quick-actions-button','2954541xIHrPB','_isMovingToNestedMenu','ck-ai-quick-actions-search-result-button_with-group','_searchTextView','_isSearchFocused','_showNestedPanel','add','_hasSearch','editing','icon','some','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','38997PUcSlb','ck-rounded-corners','_createListItems','locale','delete','uiLanguageDirection','get','hide','_getPanelKeystroke','ck-dropdown-menu__nested-menu__panel','_hideAllNestedPanels','chain','ck-button_with-text','2168760EYsRqx','bind','3130AFncBZ','rtl'];_0x5a5d=function(){return _0x300e2d;};return _0x5a5d();}import{getTranslation as _0xfae790}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x2243de}from'./aiquickactionsfilteredlistview.js';const Gs=_0x441253(0xa5),Ks=_0x441253(0xba);export class AIQuickActionsDropdownContentView extends _0x45d5fc{[_0x441253(0xb8)];[_0x441253(0x98)];[_0x441253(0xc8)]=null;[_0x441253(0x97)]=[];[_0x441253(0xa3)];[_0x441253(0xa4)];[_0x441253(0xc0)];[_0x441253(0xbd)];[_0x441253(0xb2)];[_0x441253(0x8c)]=new Set();[_0x441253(0xcc)];constructor(_0x1291f0,_0x5cc8a8,_0x4505ab,_0x2c3885,_0x739c72=!0x1){const _0x22b849=_0x441253,_0x3aed20=_0x1291f0[_0x22b849(0xd4)];super(_0x3aed20),this[_0x22b849(0xb8)]=_0x2c3885,this[_0x22b849(0xcc)]=_0x739c72;const _0x26d2d2=this[_0x22b849(0xd3)](_0x1291f0,_0x5cc8a8,_0x4505ab);this[_0x22b849(0x98)]=new _0x2243de(_0x3aed20,_0x26d2d2,this[_0x22b849(0x97)]),this[_0x22b849(0x98)][_0x22b849(0x87)]=Gs,this[_0x22b849(0x98)][_0x22b849(0x10a)][_0x22b849(0x102)](_0x26d2d2),this[_0x22b849(0xa4)]=new _0x4f5ec6(),this[_0x22b849(0xc0)]=new _0x1cdcff(),_0x739c72&&(this[_0x22b849(0xc8)]=this[_0x22b849(0xf9)]()),this[_0x22b849(0xbd)]=_0x26d2d2,this[_0x22b849(0xb2)]=new _0x4470d5({'focusables':this[_0x22b849(0xbd)],'focusTracker':this[_0x22b849(0xa4)],'keystrokeHandler':this[_0x22b849(0xc0)]}),_0x739c72&&this[_0x22b849(0xc8)]&&this[_0x22b849(0xb2)][_0x22b849(0xdc)](this[_0x22b849(0xc8)][_0x22b849(0xb2)]);const _0x2ff2ae=_0x739c72&&this[_0x22b849(0xc8)]?[this[_0x22b849(0xc8)]]:[this[_0x22b849(0x98)]];this[_0x22b849(0xa3)]=new _0x3a0b4c(_0x2ff2ae),this[_0x22b849(0xa7)]({'tag':_0x22b849(0xf7),'attributes':{'class':['ck',_0x22b849(0xe2),_0x22b849(0xa2),_0x22b849(0xd2)],'dir':_0x3aed20[_0x22b849(0xd6)]},'children':this[_0x22b849(0xa3)]});}[_0x441253(0xf9)](){const _0x35f5dc=_0x441253;return new _0x1e4ff6(this[_0x35f5dc(0xd4)],{'filteredView':this[_0x35f5dc(0x98)],'queryView':{'label':_0xfae790(this[_0x35f5dc(0xd4)],_0x35f5dc(0xfd))},'class':_0x35f5dc(0xe5),'infoView':{'text':{'notFound':{'primary':_0xfae790(this[_0x35f5dc(0xd4)],_0x35f5dc(0xe7))}}}});}[_0x441253(0xc9)](){const _0x59b884=_0x441253;if(!this[_0x59b884(0xcc)]||!this[_0x59b884(0xc8)]||!this[_0x59b884(0xc8)][_0x59b884(0xef)][_0x59b884(0x99)][_0x59b884(0xab)])return!0x1;const _0x4ac54c=this[_0x59b884(0xc8)][_0x59b884(0xef)][_0x59b884(0x99)][_0x59b884(0xab)][_0x59b884(0x91)]?.[_0x59b884(0xed)];return this[_0x59b884(0xc8)][_0x59b884(0xef)][_0x59b884(0x99)][_0x59b884(0xab)][_0x59b884(0xfc)](_0x4ac54c);}[_0x441253(0xd3)](_0x310ddf,_0x3eacdb,_0x1f17bc){const _0x32ca41=_0x441253,_0x3696ae=new _0x3a0b4c();return _0x3eacdb[_0x32ca41(0x8a)](_0x435120=>{const _0x58b4a9=_0x32ca41;if(_0x58b4a9(0x8e)in _0x435120){const {listItem:_0x574da7}=this[_0x58b4a9(0x88)](_0x310ddf,_0x435120,_0x1f17bc);_0x3696ae[_0x58b4a9(0xcb)](_0x574da7),_0x435120[_0x58b4a9(0x8e)][_0x58b4a9(0x8a)](_0x46cae2=>{const _0x5c2e2f=_0x58b4a9;this[_0x5c2e2f(0xc2)](_0x310ddf,_0x46cae2,_0x435120[_0x5c2e2f(0x109)],_0x435120[_0x5c2e2f(0xce)]);const {listItem:_0x2e88d5,highlightViews:_0x51b851}=this[_0x5c2e2f(0x82)](_0x310ddf,_0x46cae2,_0x435120[_0x5c2e2f(0x109)],_0x435120[_0x5c2e2f(0xce)]);this[_0x5c2e2f(0x97)][_0x5c2e2f(0x8f)]({'item':_0x2e88d5,'label':_0x46cae2[_0x5c2e2f(0x93)],'groupLabel':_0x435120[_0x5c2e2f(0x109)],'highlightViews':_0x51b851});});}else{const {listItem:_0x2dc312}=this[_0x58b4a9(0xc2)](_0x310ddf,_0x435120);_0x3696ae[_0x58b4a9(0xcb)](_0x2dc312);const _0x53fa25=_0x2dc312[_0x58b4a9(0xa3)][_0x58b4a9(0xa1)];if(_0x53fa25){const {listItem:_0x20f6eb,highlightViews:_0x2200b0}=this[_0x58b4a9(0x82)](_0x310ddf,_0x435120);this[_0x58b4a9(0x97)][_0x58b4a9(0x8f)]({'item':_0x20f6eb,'label':_0x53fa25[_0x58b4a9(0x109)]||'','highlightViews':_0x2200b0});}}}),_0x3696ae;}[_0x441253(0xc2)](_0x4e986a,_0x25af11,_0x415ef2,_0x20409a){const _0x352d07=_0x441253,_0x35e13d=new _0x404174(this[_0x352d07(0xd4)]);if(_0x415ef2&&_0x20409a){const _0x4ae279=new _0x657f81(this[_0x352d07(0xd4)]),_0x3da59e=_0x4ae279[_0x352d07(0x94)],_0x5e8e02=new _0x191b50();_0x5e8e02[_0x352d07(0x108)]=_0x25af11[_0x352d07(0x93)];const _0x2e0828=new _0x191b50();_0x2e0828[_0x352d07(0x108)]=_0x415ef2;const _0x2a4a1f=new _0xfc5224();_0x2a4a1f[_0x352d07(0xee)]=_0x20409a,_0x2a4a1f[_0x352d07(0x9a)]({'attributes':{'class':_0x352d07(0x95)}});const _0xc1482a=new _0x45d5fc(this[_0x352d07(0xd4)]);_0xc1482a[_0x352d07(0xa7)]({'tag':_0x352d07(0x104),'attributes':{'class':_0x352d07(0x103)},'children':[{'text':'\x20('}]});const _0x30fd07=new _0x45d5fc(this[_0x352d07(0xd4)]);return _0x30fd07[_0x352d07(0xa7)]({'tag':_0x352d07(0x104),'attributes':{'class':_0x352d07(0x90)},'children':[{'text':')'}]}),_0x4ae279[_0x352d07(0xf8)]({'label':_0x25af11[_0x352d07(0x93)]+'\x20('+_0x415ef2+')','withText':!0x0,'role':_0x352d07(0xba),'class':_0x352d07(0xaa),'tooltip':!0x1}),_0x4ae279[_0x352d07(0xa7)]({'tag':_0x352d07(0x100),'attributes':{'class':['ck',_0x352d07(0xeb),_0x352d07(0xdd),_0x352d07(0xc4),_0x352d07(0xaf)],'type':_0x352d07(0x100),'role':_0x352d07(0xba),'tabindex':'-1'},'children':[_0x5e8e02,_0xc1482a,_0x2a4a1f,_0x2e0828,_0x30fd07],'on':{'mouseenter':_0x3da59e['to'](()=>{const _0x31ce49=_0x352d07;this[_0x31ce49(0xc9)]()||_0x4ae279[_0x31ce49(0x86)]();}),'click':_0x3da59e['to'](()=>{const _0x3aed43=_0x352d07;_0x4ae279[_0x3aed43(0x84)](_0x3aed43(0x9d));})}}),_0x4ae279['on'](_0x352d07(0x9d),()=>{const _0x16fa2a=_0x352d07;_0x4e986a[_0x16fa2a(0xcd)][_0x16fa2a(0x96)][_0x16fa2a(0x86)](),_0x4e986a[_0x16fa2a(0x105)][_0x16fa2a(0x9d)](_0x16fa2a(0xfb),_0x25af11);}),_0x35e13d[_0x352d07(0xa3)][_0x352d07(0xcb)](_0x4ae279),{'listItem':_0x35e13d,'highlightViews':[_0x5e8e02,_0x2e0828]};}{const _0x44573e=new _0x40d143(),_0x581868=new _0x657f81(this[_0x352d07(0xd4)],_0x44573e),_0xb53506=_0x581868[_0x352d07(0x94)],_0x3e6abc=_0x25af11[_0x352d07(0xce)]??_0x25af11[_0x352d07(0xbb)]?.[_0x352d07(0xce)],_0x5e1649=void 0x0!==_0x25af11[_0x352d07(0xce)];return _0x581868[_0x352d07(0xf8)]({'label':_0x25af11[_0x352d07(0x93)],'withText':!0x0,'role':_0x352d07(0xba),'icon':_0x5e1649?_0x3e6abc??_0x4cd896:void 0x0,'tooltip':!0x1,'class':_0x352d07(0xc4)}),_0x581868[_0x352d07(0x9a)]({'on':{'mouseenter':_0xb53506['to'](()=>{const _0x25ac4f=_0x352d07;this[_0x25ac4f(0xc9)]()||_0x581868[_0x25ac4f(0x86)]();})}}),_0x581868['on'](_0x352d07(0x9d),()=>{const _0x12c00c=_0x352d07;_0x4e986a[_0x12c00c(0xcd)][_0x12c00c(0x96)][_0x12c00c(0x86)](),_0x4e986a[_0x12c00c(0x105)][_0x12c00c(0x9d)](_0x12c00c(0xfb),_0x25af11);}),_0x35e13d[_0x352d07(0xa3)][_0x352d07(0xcb)](_0x581868),{'listItem':_0x35e13d,'highlightViews':[_0x44573e]};}}[_0x441253(0x82)](_0x26fc7f,_0x1ba6fd,_0x114288,_0x3d935a){const _0xe3b8d0=_0x441253;return _0x114288&&_0x3d935a?this[_0xe3b8d0(0xf6)](_0x26fc7f,_0x1ba6fd,_0x114288,_0x3d935a):this[_0xe3b8d0(0xb4)](_0x26fc7f,_0x1ba6fd);}[_0x441253(0xf6)](_0x2536dc,_0x551962,_0x55d38e,_0x2e6a5a){const _0x45bb6a=_0x441253,_0x1fe6e2=new _0x404174(this[_0x45bb6a(0xd4)]),_0x274567=new _0x657f81(this[_0x45bb6a(0xd4)]),_0x11d86e=_0x274567[_0x45bb6a(0x94)],{view:_0x486b46,highlightView:_0x54a79d}=this[_0x45bb6a(0xf0)](_0x55d38e,_0x2e6a5a),{view:_0x4aed0a,highlightView:_0x2c7c12}=this[_0x45bb6a(0xbc)](_0x551962[_0x45bb6a(0x93)]),_0x8fd1ab=this[_0x45bb6a(0x106)](_0x486b46,_0x4aed0a);return _0x274567[_0x45bb6a(0xf8)]({'label':_0x551962[_0x45bb6a(0x93)],'withText':!0x0,'role':_0x45bb6a(0xba),'class':_0x45bb6a(0xd0),'tooltip':!0x1}),_0x274567[_0x45bb6a(0xa7)]({'tag':_0x45bb6a(0x100),'attributes':{'class':['ck',_0x45bb6a(0xeb),_0x45bb6a(0xdd),_0x45bb6a(0xc4),_0x45bb6a(0xe9),_0x45bb6a(0xc7)],'type':_0x45bb6a(0x100),'role':_0x45bb6a(0xba),'tabindex':'-1'},'children':[_0x8fd1ab],'on':{'mouseenter':_0x11d86e['to'](()=>{const _0x2446ed=_0x45bb6a;this[_0x2446ed(0xc9)]()||_0x274567[_0x2446ed(0x86)]();}),'click':_0x11d86e['to'](()=>{const _0x456195=_0x45bb6a;this[_0x456195(0xf3)](_0x274567);})}}),this[_0x45bb6a(0xb1)](_0x274567,_0x2536dc,_0x551962),_0x1fe6e2[_0x45bb6a(0xa3)][_0x45bb6a(0xcb)](_0x274567),{'listItem':_0x1fe6e2,'highlightViews':[_0x54a79d,_0x2c7c12]};}[_0x441253(0xb4)](_0xb259b6,_0x2ec89c){const _0x12db65=_0x441253,_0x59a433=new _0x404174(this[_0x12db65(0xd4)]),_0x4d445b=new _0x40d143(),_0x5d92c2=new _0x657f81(this[_0x12db65(0xd4)],_0x4d445b),_0x25db84=_0x5d92c2[_0x12db65(0x94)];return _0x5d92c2[_0x12db65(0xf8)]({'label':_0x2ec89c[_0x12db65(0x93)],'withText':!0x0,'role':_0x12db65(0xba),'icon':void 0x0,'tooltip':!0x1,'class':_0x12db65(0x8b)}),_0x5d92c2[_0x12db65(0x9a)]({'on':{'mouseenter':_0x25db84['to'](()=>{const _0xd12a27=_0x12db65;this[_0xd12a27(0xc9)]()||_0x5d92c2[_0xd12a27(0x86)]();})}}),this[_0x12db65(0xb1)](_0x5d92c2,_0xb259b6,_0x2ec89c),_0x59a433[_0x12db65(0xa3)][_0x12db65(0xcb)](_0x5d92c2),{'listItem':_0x59a433,'highlightViews':[_0x4d445b]};}[_0x441253(0xf0)](_0x700293,_0x18c189){const _0x8bdd4e=_0x441253,_0x478b06=new _0x45d5fc(this[_0x8bdd4e(0xd4)]),_0x500357=new _0xfc5224();_0x500357[_0x8bdd4e(0xee)]=_0x18c189,_0x500357[_0x8bdd4e(0x9a)]({'attributes':{'class':_0x8bdd4e(0x95)}});const _0x502802=new _0x191b50();return _0x502802[_0x8bdd4e(0x108)]=_0x700293,_0x478b06[_0x8bdd4e(0xa7)]({'tag':_0x8bdd4e(0xf7),'attributes':{'class':_0x8bdd4e(0xf5)},'children':[_0x500357,_0x502802]}),{'view':_0x478b06,'highlightView':_0x502802};}[_0x441253(0xbc)](_0x326b1a){const _0x2a7ce9=_0x441253,_0xe4c8c5=new _0x45d5fc(this[_0x2a7ce9(0xd4)]),_0x5f1e1d=new _0x191b50();return _0x5f1e1d[_0x2a7ce9(0x108)]=_0x326b1a,_0xe4c8c5[_0x2a7ce9(0xa7)]({'tag':_0x2a7ce9(0xf7),'attributes':{'class':_0x2a7ce9(0xac)},'children':[_0x5f1e1d]}),{'view':_0xe4c8c5,'highlightView':_0x5f1e1d};}[_0x441253(0x106)](_0x3dff90,_0x57e66a){const _0x585e91=_0x441253,_0x49af1d=new _0x45d5fc(this[_0x585e91(0xd4)]);return _0x49af1d[_0x585e91(0xa7)]({'tag':_0x585e91(0xf7),'attributes':{'class':_0x585e91(0xb7)},'children':[_0x3dff90,_0x57e66a]}),_0x49af1d;}[_0x441253(0xb1)](_0x1a1980,_0x263d3c,_0x5c2a10){const _0x3b3300=_0x441253;_0x1a1980['on'](_0x3b3300(0x9d),()=>{const _0xa1ec64=_0x3b3300;_0x263d3c[_0xa1ec64(0xcd)][_0xa1ec64(0x96)][_0xa1ec64(0x86)](),_0x263d3c[_0xa1ec64(0x105)][_0xa1ec64(0x9d)](_0xa1ec64(0xfb),_0x5c2a10);});}[_0x441253(0x88)](_0x20d762,_0x5a14dd,_0x558209){const _0x404340=_0x441253,_0x2bc106=new _0x404174(this[_0x404340(0xd4)]),_0x2d9868=new _0x40d143(),_0x5f13cf=new _0x570437(this[_0x404340(0xd4)],_0x2d9868),_0x1252b2=_0x5f13cf[_0x404340(0x94)],_0x51f096=this[_0x404340(0xd9)](_0x558209),_0x1643f4=this[_0x404340(0xe8)](_0x20d762,_0x5a14dd[_0x404340(0x8e)],_0x558209);_0x5f13cf[_0x404340(0xf8)]({'label':_0x5a14dd[_0x404340(0x109)],'withText':!0x0,'role':Ks,'icon':_0x5a14dd[_0x404340(0xce)]??_0x4cd896,'isEnabled':_0x5a14dd[_0x404340(0x8e)][_0x404340(0xcf)](_0x1fd570=>_0x1fd570[_0x404340(0x83)])}),_0x5f13cf[_0x404340(0x9a)]({'on':{'mouseenter':_0x1252b2['to'](()=>{const _0x176d60=_0x404340;this[_0x176d60(0xc9)]()||_0x5f13cf[_0x176d60(0x86)]();})}});const _0x31523d=new _0x4c43d7(this[_0x404340(0xd4)]);return _0x31523d[_0x404340(0x9a)]({'attributes':{'class':['ck',_0x404340(0xe2),_0x404340(0xf4),_0x404340(0xda)]},'on':{'keydown':_0x1252b2['to'](_0x362e2b=>{const _0x2462f7=_0x404340;this[_0x2462f7(0xad)](_0x362e2b,_0x51f096,_0x5f13cf,_0x31523d);})}}),_0x5f13cf[_0x404340(0xdf)](_0x404340(0x101))['to'](_0x31523d,_0x404340(0xb9)),this[_0x404340(0xb8)][_0x404340(0xcb)](_0x31523d),_0x31523d[_0x404340(0xee)][_0x404340(0xcb)](_0x1643f4),this[_0x404340(0xc1)](_0x5f13cf,_0x31523d),_0x2bc106[_0x404340(0xa3)][_0x404340(0xcb)](_0x5f13cf),{'listItem':_0x2bc106,'highlightView':_0x2d9868};}[_0x441253(0xe8)](_0x101748,_0x22344e,_0x35cbb4){const _0xc19a48=_0x441253,_0x31e489=new _0x395cee(this[_0xc19a48(0xd4)]);return _0x31e489[_0xc19a48(0x9a)]({'attributes':{'class':['ck',_0xc19a48(0xe2),_0xc19a48(0xb6),_0xc19a48(0xf2)]}}),_0x22344e[_0xc19a48(0x8a)](_0x4cf545=>{const _0x229f53=_0xc19a48,_0x14dcd2=new _0x404174(this[_0x229f53(0xd4)]),_0x2dc842=_0x2b6fb1({'editor':_0x101748,'action':_0x4cf545,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x229f53(0xc9)]()})();_0x14dcd2[_0x229f53(0xa3)][_0x229f53(0xcb)](_0x2dc842),_0x35cbb4[_0x229f53(0xa4)][_0x229f53(0xcb)](_0x2dc842),_0x31e489[_0x229f53(0x10a)][_0x229f53(0xcb)](_0x14dcd2);}),_0x31e489;}[_0x441253(0xc1)](_0x2a2431,_0xabdd78){const _0x2c9c8c=_0x441253,_0x2b22bc=_0x2a2431[_0x2c9c8c(0x94)],_0x41acd4=this[_0x2c9c8c(0xe6)](_0x2a2431);_0x2a2431[_0x2c9c8c(0x9a)]({'attributes':{'class':[_0x2c9c8c(0xfa)]},'on':{'mouseenter':_0x2b22bc['to'](()=>{const _0x4dedcf=_0x2c9c8c;this[_0x4dedcf(0xca)](_0xabdd78,_0x2a2431);}),'mouseleave':_0x2b22bc['to'](_0xa92686=>{const _0x30cd77=_0x2c9c8c,_0x1fcec5=_0xa92686[_0x30cd77(0xe4)];this[_0x30cd77(0xc6)](_0x1fcec5,_0xabdd78)||this[_0x30cd77(0x89)](_0xabdd78);}),'keydown':_0x2b22bc['to'](_0x244cf5=>{const _0x8b2038=_0x2c9c8c;_0x244cf5[_0x8b2038(0xbe)]==_0x41acd4&&(this[_0x8b2038(0xca)](_0xabdd78,_0x2a2431),_0xabdd78[_0x8b2038(0xee)][_0x8b2038(0xd7)](0x0)[_0x8b2038(0x86)]());})}}),_0xabdd78['on'](_0x2c9c8c(0xec),()=>{const _0x3f2876=_0x2c9c8c;_0xabdd78[_0x3f2876(0xab)]?.[_0x3f2876(0xa6)](_0x3f2876(0xa8),_0x3dded8=>{const _0x50cc21=_0x3f2876,_0x2edbe5=_0x3dded8[_0x50cc21(0xe4)];_0x2a2431[_0x50cc21(0xab)]?.[_0x50cc21(0xfc)](_0x2edbe5)||this[_0x50cc21(0xc6)](_0x2edbe5,_0xabdd78)||this[_0x50cc21(0x89)](_0xabdd78);});});}[_0x441253(0xca)](_0x46321c,_0x4d2ca2){const _0x8407e0=_0x441253;this[_0x8407e0(0x8c)][_0x8407e0(0x8a)](_0x5a1dfd=>{const _0x50470a=_0x8407e0;_0x5a1dfd!==_0x46321c&&_0x5a1dfd[_0x50470a(0xb9)]&&_0x5a1dfd[_0x50470a(0xd8)]();}),_0x46321c[_0x8407e0(0x9c)](),_0x46321c[_0x8407e0(0x85)]({'positions':[_0x446d2b[_0x8407e0(0x92)]],'target':_0x4d2ca2[_0x8407e0(0xab)],'fitInViewport':!0x0}),this[_0x8407e0(0x8c)][_0x8407e0(0xcb)](_0x46321c);}[_0x441253(0x89)](_0xf924f6){const _0x3bb383=_0x441253;_0xf924f6[_0x3bb383(0xd8)](),this[_0x3bb383(0x8c)][_0x3bb383(0xd5)](_0xf924f6);}[_0x441253(0xdb)](){const _0x18cc37=_0x441253;this[_0x18cc37(0x8c)][_0x18cc37(0x8a)](_0x5e9225=>_0x5e9225[_0x18cc37(0xd8)]()),this[_0x18cc37(0x8c)][_0x18cc37(0x9e)]();}[_0x441253(0xc6)](_0x4818da,_0x5c04b6){const _0x3e55ee=_0x441253;if(!_0x4818da)return!0x1;if(_0x5c04b6[_0x3e55ee(0xab)]?.[_0x3e55ee(0xfc)](_0x4818da))return!0x0;const _0x4d4a82=_0x4818da;return _0x4d4a82[_0x3e55ee(0xff)]&&(null!==_0x4d4a82[_0x3e55ee(0xff)](_0x3e55ee(0xbf))||null!==_0x4d4a82[_0x3e55ee(0xff)](_0x3e55ee(0xb3))||null!==_0x4d4a82[_0x3e55ee(0xff)](_0x3e55ee(0xae)));}[_0x441253(0xc3)](){const _0x5a2f8a=_0x441253;this[_0x5a2f8a(0xc8)]&&this[_0x5a2f8a(0xc8)][_0x5a2f8a(0x8d)]();}[_0x441253(0xe3)](){const _0x1b62dc=_0x441253;this[_0x1b62dc(0xdb)](),this[_0x1b62dc(0xb8)][_0x1b62dc(0xa9)](),super[_0x1b62dc(0xe3)]();}[_0x441253(0x86)](){const _0x387cec=_0x441253;this[_0x387cec(0xc8)]?this[_0x387cec(0xc8)][_0x387cec(0x86)]():this[_0x387cec(0x98)][_0x387cec(0x86)]();}[_0x441253(0xd9)](_0x233e34){const _0x3d0522=_0x441253;return _0x3d0522(0xe1)===_0x233e34[_0x3d0522(0xd4)][_0x3d0522(0xd6)]?_0x3d0522(0x107):_0x3d0522(0xb5);}[_0x441253(0xe6)](_0x3b78d9){const _0xb85d88=_0x441253;return _0xb85d88(0xe1)===_0x3b78d9[_0xb85d88(0xd4)][_0xb85d88(0xd6)]?_0xb85d88(0xb5):_0xb85d88(0x107);}[_0x441253(0xad)](_0x3b3962,_0x16ccdd,_0x2dd570,_0x1d6f82){const _0x3a9b79=_0x441253;_0x3b3962[_0x3a9b79(0xbe)]==_0x16ccdd&&(_0x2dd570[_0x3a9b79(0x86)](),this[_0x3a9b79(0x89)](_0x1d6f82));}[_0x441253(0xf3)](_0x36235f){const _0x218c3f=_0x441253;_0x36235f[_0x218c3f(0x84)](_0x218c3f(0x9d));}}
|
|
23
|
+
const _0x299e06=_0x439a;(function(_0x337c53,_0x120092){const _0x383d00=_0x439a,_0x3750e1=_0x337c53();while(!![]){try{const _0x15b46d=-parseInt(_0x383d00(0x157))/0x1*(-parseInt(_0x383d00(0x101))/0x2)+-parseInt(_0x383d00(0x10a))/0x3*(parseInt(_0x383d00(0x16c))/0x4)+parseInt(_0x383d00(0x126))/0x5*(-parseInt(_0x383d00(0xfc))/0x6)+parseInt(_0x383d00(0x128))/0x7*(-parseInt(_0x383d00(0x127))/0x8)+parseInt(_0x383d00(0x154))/0x9*(-parseInt(_0x383d00(0x15e))/0xa)+parseInt(_0x383d00(0x163))/0xb*(-parseInt(_0x383d00(0x171))/0xc)+-parseInt(_0x383d00(0x138))/0xd*(-parseInt(_0x383d00(0x129))/0xe);if(_0x15b46d===_0x120092)break;else _0x3750e1['push'](_0x3750e1['shift']());}catch(_0x22fa72){_0x3750e1['push'](_0x3750e1['shift']());}}}(_0x2e97,0xde392));import{View as _0x20145e,ListItemView as _0x1a3510,ListView as _0x535d67,BalloonPanelView as _0x234345,DropdownMenuPanelPositioningFunctions as _0x3ea1df,ViewCollection as _0x456b15,FocusCycler as _0x2d7dd1,ButtonView as _0x2fae3e,IconView as _0x118de9,HighlightedTextView as _0x5a9875,ButtonLabelWithHighlightView as _0x672726,SearchTextView as _0x1d0c37}from'ckeditor5/src/ui.js';function _0x2e97(){const _0x538c0e=['ck-button','.ck-ai-quick-actions-group-button','rtl','10vaDvQW','_createSearchResultActionRow','icon','button','children','10869518LygucO','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','_openNestedPanels','commands','_createSearchTextView','ck-ai-quick-actions-search-result__action-row','aiQuickAction','_hasSearch','_setupActionButtonExecution','4zpERaR','ck-ai-quick-actions-button_with-group__close-paren','_getPanelKeystroke','displayedPrompt','_focusables','12sTCrgj','eastSouth','isVisible','setTemplate','ck-ai-quick-actions-button__group-icon','ck-ai-quick-actions-button','_isMovingToNestedMenu','relatedTarget','locale','first','content','ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result-button','ArrowRight','isOn','uiLanguageDirection','show','set','ck-ai-quick-actions','fieldView','ck-dropdown-menu-list','queryView','18EXRuds','_createSearchResultGroupRow','_handleSearchResultButtonClick','ck-button_with-text','get','26AhcXuQ','_createSearchResultContentView','detachFromDom','addEventListener','clear','isEnabled','ck-reset_all','chain','focusCycler','1776561bVwXVK','text','execute','span','add','div','element','ck-dropdown-menu__nested-menu__panel','some','render','ck-ai-quick-actions-button_with-group__open-paren','parent','forEach','editing','ck-ai-quick-actions-button_with-group','_createSearchResultActionButton','menu','focusTracker','keystrokes','label','_searchTextView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultIndividualActionButton','push','closest','reset','optionsListView','_handlePanelKeydown','1406695pgSBQE','96248rxPGYZ','511OGOOyZ','70BCyFwD','resetSearch','_createSearchResultGroupedActionButton','focus','ck-ai-quick-actions-search-result__content','addMany','activeElement','_createActionGroupButton','role','hide','_setupGroupMenuBehavior','mouseleave','_createListItems','AI_QUICK_ACTIONS_SEARCH','ownerDocument','12201436ZOaUQb','ck-rounded-corners','_bodyCollection','ArrowLeft','items','_createGroupActionsList','bind','bindTemplate','.ck-ai-quick-actions-group-panel','extendTemplate','_hideAllNestedPanels','_hideNestedPanel','ck-ai-quick-actions-search-result-button_with-group','fire','.ck-ai-quick-actions-group-list','_isSearchFocused','_allSearchableItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','destroy','_createActionButton','menuitem','pin','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search','key','_getButtonKeystroke','view','actions','12456324OGVMKQ','_showNestedPanel','contains','69539GDadCD','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','delete','ck-ai-quick-actions-search-result__group-row'];_0x2e97=function(){return _0x538c0e;};return _0x2e97();}import{IconAIQuickActions as _0xb6a722}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x5793c9,KeystrokeHandler as _0x22d95b}from'ckeditor5/src/utils.js';function _0x439a(_0x4b3d39,_0x5e8c19){const _0x2e97c8=_0x2e97();return _0x439a=function(_0x439a7a,_0x5d56ef){_0x439a7a=_0x439a7a-0xf0;let _0xc34573=_0x2e97c8[_0x439a7a];return _0xc34573;},_0x439a(_0x4b3d39,_0x5e8c19);}import{aiQuickActionsButtonCreator as _0x166192}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5fbcb8}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x1740b0}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x2af806}from'./aiquickactionsfilteredlistview.js';const Qs=_0x299e06(0x11a),Gs=_0x299e06(0x14c);export class AIQuickActionsDropdownContentView extends _0x20145e{[_0x299e06(0x13a)];[_0x299e06(0x124)];[_0x299e06(0x11e)]=null;[_0x299e06(0x148)]=[];[_0x299e06(0x162)];[_0x299e06(0x11b)];[_0x299e06(0x11c)];[_0x299e06(0x170)];[_0x299e06(0x109)];[_0x299e06(0x165)]=new Set();[_0x299e06(0x16a)];constructor(_0x321837,_0x25f91c,_0xae593a,_0x2a9a69,_0x32b8ef=!0x1){const _0x120c7f=_0x299e06,_0x1cbb97=_0x321837[_0x120c7f(0x179)];super(_0x1cbb97),this[_0x120c7f(0x13a)]=_0x2a9a69,this[_0x120c7f(0x16a)]=_0x32b8ef;const _0x9ba252=this[_0x120c7f(0x135)](_0x321837,_0x25f91c,_0xae593a);this[_0x120c7f(0x124)]=new _0x2af806(_0x1cbb97,_0x9ba252,this[_0x120c7f(0x148)]),this[_0x120c7f(0x124)][_0x120c7f(0x131)]=Qs,this[_0x120c7f(0x124)][_0x120c7f(0x13c)][_0x120c7f(0x12e)](_0x9ba252),this[_0x120c7f(0x11b)]=new _0x5793c9(),this[_0x120c7f(0x11c)]=new _0x22d95b(),_0x32b8ef&&(this[_0x120c7f(0x11e)]=this[_0x120c7f(0x167)]()),this[_0x120c7f(0x170)]=_0x9ba252,this[_0x120c7f(0x109)]=new _0x2d7dd1({'focusables':this[_0x120c7f(0x170)],'focusTracker':this[_0x120c7f(0x11b)],'keystrokeHandler':this[_0x120c7f(0x11c)]}),_0x32b8ef&&this[_0x120c7f(0x11e)]&&this[_0x120c7f(0x109)][_0x120c7f(0x108)](this[_0x120c7f(0x11e)][_0x120c7f(0x109)]);const _0x59120b=_0x32b8ef&&this[_0x120c7f(0x11e)]?[this[_0x120c7f(0x11e)]]:[this[_0x120c7f(0x124)]];this[_0x120c7f(0x162)]=new _0x456b15(_0x59120b),this[_0x120c7f(0x174)]({'tag':_0x120c7f(0x10f),'attributes':{'class':['ck',_0x120c7f(0x107),_0x120c7f(0xf8),_0x120c7f(0x139)],'dir':_0x1cbb97[_0x120c7f(0xf5)]},'children':this[_0x120c7f(0x162)]});}[_0x299e06(0x167)](){const _0x4f0748=_0x299e06;return new _0x1d0c37(this[_0x4f0748(0x179)],{'filteredView':this[_0x4f0748(0x124)],'queryView':{'label':_0x1740b0(this[_0x4f0748(0x179)],_0x4f0748(0x136))},'class':_0x4f0748(0x14f),'infoView':{'text':{'notFound':{'primary':_0x1740b0(this[_0x4f0748(0x179)],_0x4f0748(0x158))}}}});}[_0x299e06(0x147)](){const _0x18c42e=_0x299e06;if(!this[_0x18c42e(0x16a)]||!this[_0x18c42e(0x11e)]||!this[_0x18c42e(0x11e)][_0x18c42e(0xfb)][_0x18c42e(0xf9)][_0x18c42e(0x110)])return!0x1;const _0x3c5b2c=this[_0x18c42e(0x11e)][_0x18c42e(0xfb)][_0x18c42e(0xf9)][_0x18c42e(0x110)][_0x18c42e(0x137)]?.[_0x18c42e(0x12f)];return this[_0x18c42e(0x11e)][_0x18c42e(0xfb)][_0x18c42e(0xf9)][_0x18c42e(0x110)][_0x18c42e(0x156)](_0x3c5b2c);}[_0x299e06(0x135)](_0x1eae3c,_0x5342df,_0x3bd6de){const _0x5e82f6=_0x299e06,_0x347a96=new _0x456b15();return _0x5342df[_0x5e82f6(0x116)](_0x10823d=>{const _0x37d034=_0x5e82f6;if(_0x37d034(0x153)in _0x10823d){const {listItem:_0xdf70e5}=this[_0x37d034(0x130)](_0x1eae3c,_0x10823d,_0x3bd6de);_0x347a96[_0x37d034(0x10e)](_0xdf70e5),_0x10823d[_0x37d034(0x153)][_0x37d034(0x116)](_0x29e86c=>{const _0x5e52cd=_0x37d034;this[_0x5e52cd(0x14b)](_0x1eae3c,_0x29e86c,_0x10823d[_0x5e52cd(0x11d)],_0x10823d[_0x5e52cd(0x160)]);const {listItem:_0xbe4818,highlightViews:_0x5d27b3}=this[_0x5e52cd(0x119)](_0x1eae3c,_0x29e86c,_0x10823d[_0x5e52cd(0x11d)],_0x10823d[_0x5e52cd(0x160)]);this[_0x5e52cd(0x148)][_0x5e52cd(0x121)]({'item':_0xbe4818,'label':_0x29e86c[_0x5e52cd(0x16f)],'groupLabel':_0x10823d[_0x5e52cd(0x11d)],'highlightViews':_0x5d27b3});});}else{const {listItem:_0x5bd847}=this[_0x37d034(0x14b)](_0x1eae3c,_0x10823d);_0x347a96[_0x37d034(0x10e)](_0x5bd847);const _0x4d3abe=_0x5bd847[_0x37d034(0x162)][_0x37d034(0x17a)];if(_0x4d3abe){const {listItem:_0x164357,highlightViews:_0x2521a1}=this[_0x37d034(0x119)](_0x1eae3c,_0x10823d);this[_0x37d034(0x148)][_0x37d034(0x121)]({'item':_0x164357,'label':_0x4d3abe[_0x37d034(0x11d)]||'','highlightViews':_0x2521a1});}}}),_0x347a96;}[_0x299e06(0x14b)](_0x39ffb0,_0x40170a,_0x3ec1c4,_0x4a2b91){const _0x4abd0e=_0x299e06,_0x5e8afe=new _0x1a3510(this[_0x4abd0e(0x179)]);if(_0x3ec1c4&&_0x4a2b91){const _0x5b0c38=new _0x2fae3e(this[_0x4abd0e(0x179)]),_0x2d3b75=_0x5b0c38[_0x4abd0e(0x13f)],_0x5ad8e7=new _0x5a9875();_0x5ad8e7[_0x4abd0e(0x10b)]=_0x40170a[_0x4abd0e(0x16f)];const _0x1fe64a=new _0x5a9875();_0x1fe64a[_0x4abd0e(0x10b)]=_0x3ec1c4;const _0x230ff3=new _0x118de9();_0x230ff3[_0x4abd0e(0x17b)]=_0x4a2b91,_0x230ff3[_0x4abd0e(0x141)]({'attributes':{'class':_0x4abd0e(0x175)}});const _0x5f4df3=new _0x20145e(this[_0x4abd0e(0x179)]);_0x5f4df3[_0x4abd0e(0x174)]({'tag':_0x4abd0e(0x10d),'attributes':{'class':_0x4abd0e(0x114)},'children':[{'text':'\x20('}]});const _0x200674=new _0x20145e(this[_0x4abd0e(0x179)]);return _0x200674[_0x4abd0e(0x174)]({'tag':_0x4abd0e(0x10d),'attributes':{'class':_0x4abd0e(0x16d)},'children':[{'text':')'}]}),_0x5b0c38[_0x4abd0e(0xf7)]({'label':_0x40170a[_0x4abd0e(0x16f)]+'\x20('+_0x3ec1c4+')','withText':!0x0,'role':_0x4abd0e(0x14c),'class':_0x4abd0e(0x11f),'tooltip':!0x1}),_0x5b0c38[_0x4abd0e(0x174)]({'tag':_0x4abd0e(0x161),'attributes':{'class':['ck',_0x4abd0e(0x15b),_0x4abd0e(0xff),_0x4abd0e(0x176),_0x4abd0e(0x118)],'type':_0x4abd0e(0x161),'role':_0x4abd0e(0x14c),'tabindex':'-1'},'children':[_0x5ad8e7,_0x5f4df3,_0x230ff3,_0x1fe64a,_0x200674],'on':{'mouseenter':_0x2d3b75['to'](()=>{const _0xaf9196=_0x4abd0e;this[_0xaf9196(0x147)]()||_0x5b0c38[_0xaf9196(0x12c)]();}),'click':_0x2d3b75['to'](()=>{const _0x27666f=_0x4abd0e;_0x5b0c38[_0x27666f(0x145)](_0x27666f(0x10c));})}}),_0x5b0c38['on'](_0x4abd0e(0x10c),()=>{const _0x569044=_0x4abd0e;_0x39ffb0[_0x569044(0x117)][_0x569044(0x152)][_0x569044(0x12c)](),_0x39ffb0[_0x569044(0x166)][_0x569044(0x10c)](_0x569044(0x169),_0x40170a);}),_0x5e8afe[_0x4abd0e(0x162)][_0x4abd0e(0x10e)](_0x5b0c38),{'listItem':_0x5e8afe,'highlightViews':[_0x5ad8e7,_0x1fe64a]};}{const _0x556cd1=new _0x672726(),_0x279316=new _0x2fae3e(this[_0x4abd0e(0x179)],_0x556cd1),_0x1ac7d0=_0x279316[_0x4abd0e(0x13f)],_0x556edc=_0x40170a[_0x4abd0e(0x160)]??_0x40170a[_0x4abd0e(0x115)]?.[_0x4abd0e(0x160)],_0x4e45d9=void 0x0!==_0x40170a[_0x4abd0e(0x160)];return _0x279316[_0x4abd0e(0xf7)]({'label':_0x40170a[_0x4abd0e(0x16f)],'withText':!0x0,'role':_0x4abd0e(0x14c),'icon':_0x4e45d9?_0x556edc??_0xb6a722:void 0x0,'tooltip':!0x1,'class':_0x4abd0e(0x176)}),_0x279316[_0x4abd0e(0x141)]({'on':{'mouseenter':_0x1ac7d0['to'](()=>{const _0x751704=_0x4abd0e;this[_0x751704(0x147)]()||_0x279316[_0x751704(0x12c)]();})}}),_0x279316['on'](_0x4abd0e(0x10c),()=>{const _0x1c3f97=_0x4abd0e;_0x39ffb0[_0x1c3f97(0x117)][_0x1c3f97(0x152)][_0x1c3f97(0x12c)](),_0x39ffb0[_0x1c3f97(0x166)][_0x1c3f97(0x10c)](_0x1c3f97(0x169),_0x40170a);}),_0x5e8afe[_0x4abd0e(0x162)][_0x4abd0e(0x10e)](_0x279316),{'listItem':_0x5e8afe,'highlightViews':[_0x556cd1]};}}[_0x299e06(0x119)](_0x1d7554,_0x34b0ac,_0x3787fc,_0x4441af){const _0x3232d8=_0x299e06;return _0x3787fc&&_0x4441af?this[_0x3232d8(0x12b)](_0x1d7554,_0x34b0ac,_0x3787fc,_0x4441af):this[_0x3232d8(0x120)](_0x1d7554,_0x34b0ac);}[_0x299e06(0x12b)](_0x407659,_0x5648db,_0x385001,_0x12a738){const _0x323f0e=_0x299e06,_0x270a03=new _0x1a3510(this[_0x323f0e(0x179)]),_0x35499a=new _0x2fae3e(this[_0x323f0e(0x179)]),_0x3cefe4=_0x35499a[_0x323f0e(0x13f)],{view:_0x457eae,highlightView:_0xba71a3}=this[_0x323f0e(0xfd)](_0x385001,_0x12a738),{view:_0x30f215,highlightView:_0x3f3e12}=this[_0x323f0e(0x15f)](_0x5648db[_0x323f0e(0x16f)]),_0x5b2ab2=this[_0x323f0e(0x102)](_0x457eae,_0x30f215);return _0x35499a[_0x323f0e(0xf7)]({'label':_0x5648db[_0x323f0e(0x16f)],'withText':!0x0,'role':_0x323f0e(0x14c),'class':_0x323f0e(0x164),'tooltip':!0x1}),_0x35499a[_0x323f0e(0x174)]({'tag':_0x323f0e(0x161),'attributes':{'class':['ck',_0x323f0e(0x15b),_0x323f0e(0xff),_0x323f0e(0x176),_0x323f0e(0xf2),_0x323f0e(0x144)],'type':_0x323f0e(0x161),'role':_0x323f0e(0x14c),'tabindex':'-1'},'children':[_0x5b2ab2],'on':{'mouseenter':_0x3cefe4['to'](()=>{const _0x1716df=_0x323f0e;this[_0x1716df(0x147)]()||_0x35499a[_0x1716df(0x12c)]();}),'click':_0x3cefe4['to'](()=>{const _0x2b150d=_0x323f0e;this[_0x2b150d(0xfe)](_0x35499a);})}}),this[_0x323f0e(0x16b)](_0x35499a,_0x407659,_0x5648db),_0x270a03[_0x323f0e(0x162)][_0x323f0e(0x10e)](_0x35499a),{'listItem':_0x270a03,'highlightViews':[_0xba71a3,_0x3f3e12]};}[_0x299e06(0x120)](_0x4bce5e,_0x291e74){const _0x5e6fec=_0x299e06,_0x17faae=new _0x1a3510(this[_0x5e6fec(0x179)]),_0x2d1649=new _0x672726(),_0x2f20f3=new _0x2fae3e(this[_0x5e6fec(0x179)],_0x2d1649),_0x41595b=_0x2f20f3[_0x5e6fec(0x13f)];return _0x2f20f3[_0x5e6fec(0xf7)]({'label':_0x291e74[_0x5e6fec(0x16f)],'withText':!0x0,'role':_0x5e6fec(0x14c),'icon':void 0x0,'tooltip':!0x1,'class':_0x5e6fec(0x149)}),_0x2f20f3[_0x5e6fec(0x141)]({'on':{'mouseenter':_0x41595b['to'](()=>{const _0x38a1b9=_0x5e6fec;this[_0x38a1b9(0x147)]()||_0x2f20f3[_0x38a1b9(0x12c)]();})}}),this[_0x5e6fec(0x16b)](_0x2f20f3,_0x4bce5e,_0x291e74),_0x17faae[_0x5e6fec(0x162)][_0x5e6fec(0x10e)](_0x2f20f3),{'listItem':_0x17faae,'highlightViews':[_0x2d1649]};}[_0x299e06(0xfd)](_0x53d5f3,_0x29a2e1){const _0x13640f=_0x299e06,_0x5b8de7=new _0x20145e(this[_0x13640f(0x179)]),_0xb8889c=new _0x118de9();_0xb8889c[_0x13640f(0x17b)]=_0x29a2e1,_0xb8889c[_0x13640f(0x141)]({'attributes':{'class':_0x13640f(0x175)}});const _0x486352=new _0x5a9875();return _0x486352[_0x13640f(0x10b)]=_0x53d5f3,_0x5b8de7[_0x13640f(0x174)]({'tag':_0x13640f(0x10f),'attributes':{'class':_0x13640f(0x15a)},'children':[_0xb8889c,_0x486352]}),{'view':_0x5b8de7,'highlightView':_0x486352};}[_0x299e06(0x15f)](_0x2c29d5){const _0x197332=_0x299e06,_0x32ad8c=new _0x20145e(this[_0x197332(0x179)]),_0x5607c5=new _0x5a9875();return _0x5607c5[_0x197332(0x10b)]=_0x2c29d5,_0x32ad8c[_0x197332(0x174)]({'tag':_0x197332(0x10f),'attributes':{'class':_0x197332(0x168)},'children':[_0x5607c5]}),{'view':_0x32ad8c,'highlightView':_0x5607c5};}[_0x299e06(0x102)](_0x4baf86,_0x3e1f88){const _0x1a8994=_0x299e06,_0x10c012=new _0x20145e(this[_0x1a8994(0x179)]);return _0x10c012[_0x1a8994(0x174)]({'tag':_0x1a8994(0x10f),'attributes':{'class':_0x1a8994(0x12d)},'children':[_0x4baf86,_0x3e1f88]}),_0x10c012;}[_0x299e06(0x16b)](_0x5285d8,_0x169922,_0x42dff6){const _0x573502=_0x299e06;_0x5285d8['on'](_0x573502(0x10c),()=>{const _0x2c75e5=_0x573502;_0x169922[_0x2c75e5(0x117)][_0x2c75e5(0x152)][_0x2c75e5(0x12c)](),_0x169922[_0x2c75e5(0x166)][_0x2c75e5(0x10c)](_0x2c75e5(0x169),_0x42dff6);});}[_0x299e06(0x130)](_0x3bd0b7,_0x20cf66,_0x5e8638){const _0x25c7fc=_0x299e06,_0x3a50fb=new _0x1a3510(this[_0x25c7fc(0x179)]),_0x4a0e3c=new _0x672726(),_0x304721=new _0x5fbcb8(this[_0x25c7fc(0x179)],_0x4a0e3c),_0x1a4f72=_0x304721[_0x25c7fc(0x13f)],_0x95bafe=this[_0x25c7fc(0x16e)](_0x5e8638),_0x2186df=this[_0x25c7fc(0x13d)](_0x3bd0b7,_0x20cf66[_0x25c7fc(0x153)],_0x5e8638);_0x304721[_0x25c7fc(0xf7)]({'label':_0x20cf66[_0x25c7fc(0x11d)],'withText':!0x0,'role':Gs,'icon':_0x20cf66[_0x25c7fc(0x160)]??_0xb6a722,'isEnabled':_0x20cf66[_0x25c7fc(0x153)][_0x25c7fc(0x112)](_0x86b8bf=>_0x86b8bf[_0x25c7fc(0x106)])}),_0x304721[_0x25c7fc(0x141)]({'on':{'mouseenter':_0x1a4f72['to'](()=>{const _0x1e67bd=_0x25c7fc;this[_0x1e67bd(0x147)]()||_0x304721[_0x1e67bd(0x12c)]();})}});const _0x572f72=new _0x234345(this[_0x25c7fc(0x179)]);return _0x572f72[_0x25c7fc(0x141)]({'attributes':{'class':['ck',_0x25c7fc(0x107),_0x25c7fc(0x14e),_0x25c7fc(0x111)]},'on':{'keydown':_0x1a4f72['to'](_0x5f5945=>{const _0x272af6=_0x25c7fc;this[_0x272af6(0x125)](_0x5f5945,_0x95bafe,_0x304721,_0x572f72);})}}),_0x304721[_0x25c7fc(0x13e)](_0x25c7fc(0xf4))['to'](_0x572f72,_0x25c7fc(0x173)),this[_0x25c7fc(0x13a)][_0x25c7fc(0x10e)](_0x572f72),_0x572f72[_0x25c7fc(0x17b)][_0x25c7fc(0x10e)](_0x2186df),this[_0x25c7fc(0x133)](_0x304721,_0x572f72),_0x3a50fb[_0x25c7fc(0x162)][_0x25c7fc(0x10e)](_0x304721),{'listItem':_0x3a50fb,'highlightView':_0x4a0e3c};}[_0x299e06(0x13d)](_0x2f0dd3,_0x4c0aaf,_0x22cf8f){const _0x2732a6=_0x299e06,_0x2c313f=new _0x535d67(this[_0x2732a6(0x179)]);return _0x2c313f[_0x2732a6(0x141)]({'attributes':{'class':['ck',_0x2732a6(0x107),_0x2732a6(0xf1),_0x2732a6(0xfa)]}}),_0x4c0aaf[_0x2732a6(0x116)](_0x519aa0=>{const _0x1523e1=_0x2732a6,_0x17908b=new _0x1a3510(this[_0x1523e1(0x179)]),_0x5ac946=_0x166192({'editor':_0x2f0dd3,'action':_0x519aa0,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x1523e1(0x147)]()})();_0x17908b[_0x1523e1(0x162)][_0x1523e1(0x10e)](_0x5ac946),_0x22cf8f[_0x1523e1(0x11b)][_0x1523e1(0x10e)](_0x5ac946),_0x2c313f[_0x1523e1(0x13c)][_0x1523e1(0x10e)](_0x17908b);}),_0x2c313f;}[_0x299e06(0x133)](_0x332473,_0x1c9830){const _0x5430e4=_0x299e06,_0x29e189=_0x332473[_0x5430e4(0x13f)],_0x47524b=this[_0x5430e4(0x151)](_0x332473);_0x332473[_0x5430e4(0x141)]({'attributes':{'class':[_0x5430e4(0xf0)]},'on':{'mouseenter':_0x29e189['to'](()=>{const _0x3de751=_0x5430e4;this[_0x3de751(0x155)](_0x1c9830,_0x332473);}),'mouseleave':_0x29e189['to'](_0xab7ab4=>{const _0x3eb51b=_0x5430e4,_0x229797=_0xab7ab4[_0x3eb51b(0x178)];this[_0x3eb51b(0x177)](_0x229797,_0x1c9830)||this[_0x3eb51b(0x143)](_0x1c9830);}),'keydown':_0x29e189['to'](_0x5d2290=>{const _0x38275f=_0x5430e4;_0x5d2290[_0x38275f(0x150)]==_0x47524b&&(this[_0x38275f(0x155)](_0x1c9830,_0x332473),_0x1c9830[_0x38275f(0x17b)][_0x38275f(0x100)](0x0)[_0x38275f(0x12c)]());})}}),_0x1c9830['on'](_0x5430e4(0x113),()=>{const _0x3d98d2=_0x5430e4;_0x1c9830[_0x3d98d2(0x110)]?.[_0x3d98d2(0x104)](_0x3d98d2(0x134),_0x4011cb=>{const _0x420ba6=_0x3d98d2,_0x47f649=_0x4011cb[_0x420ba6(0x178)];_0x332473[_0x420ba6(0x110)]?.[_0x420ba6(0x156)](_0x47f649)||this[_0x420ba6(0x177)](_0x47f649,_0x1c9830)||this[_0x420ba6(0x143)](_0x1c9830);});});}[_0x299e06(0x155)](_0x827a10,_0x5ce053){const _0x2fd723=_0x299e06;this[_0x2fd723(0x165)][_0x2fd723(0x116)](_0x1d3f12=>{const _0x1ac9c6=_0x2fd723;_0x1d3f12!==_0x827a10&&_0x1d3f12[_0x1ac9c6(0x173)]&&_0x1d3f12[_0x1ac9c6(0x132)]();}),_0x827a10[_0x2fd723(0xf6)](),_0x827a10[_0x2fd723(0x14d)]({'positions':[_0x3ea1df[_0x2fd723(0x172)]],'target':_0x5ce053[_0x2fd723(0x110)],'fitInViewport':!0x0}),this[_0x2fd723(0x165)][_0x2fd723(0x10e)](_0x827a10);}[_0x299e06(0x143)](_0x41db22){const _0x17f034=_0x299e06;_0x41db22[_0x17f034(0x132)](),this[_0x17f034(0x165)][_0x17f034(0x159)](_0x41db22);}[_0x299e06(0x142)](){const _0x68304c=_0x299e06;this[_0x68304c(0x165)][_0x68304c(0x116)](_0x5e9db8=>_0x5e9db8[_0x68304c(0x132)]()),this[_0x68304c(0x165)][_0x68304c(0x105)]();}[_0x299e06(0x177)](_0xb39bdb,_0x364175){const _0x300f06=_0x299e06;if(!_0xb39bdb)return!0x1;if(_0x364175[_0x300f06(0x110)]?.[_0x300f06(0x156)](_0xb39bdb))return!0x0;const _0x5762bc=_0xb39bdb;return _0x5762bc[_0x300f06(0x122)]&&(null!==_0x5762bc[_0x300f06(0x122)](_0x300f06(0x140))||null!==_0x5762bc[_0x300f06(0x122)](_0x300f06(0x146))||null!==_0x5762bc[_0x300f06(0x122)](_0x300f06(0x15c)));}[_0x299e06(0x12a)](){const _0x31d359=_0x299e06;this[_0x31d359(0x11e)]&&this[_0x31d359(0x11e)][_0x31d359(0x123)]();}[_0x299e06(0x14a)](){const _0x438784=_0x299e06;this[_0x438784(0x142)](),this[_0x438784(0x13a)][_0x438784(0x103)](),super[_0x438784(0x14a)]();}[_0x299e06(0x12c)](){const _0x245830=_0x299e06;this[_0x245830(0x11e)]?this[_0x245830(0x11e)][_0x245830(0x12c)]():this[_0x245830(0x124)][_0x245830(0x12c)]();}[_0x299e06(0x16e)](_0x19730e){const _0x3bb2bb=_0x299e06;return _0x3bb2bb(0x15d)===_0x19730e[_0x3bb2bb(0x179)][_0x3bb2bb(0xf5)]?_0x3bb2bb(0xf3):_0x3bb2bb(0x13b);}[_0x299e06(0x151)](_0x209617){const _0x24a767=_0x299e06;return _0x24a767(0x15d)===_0x209617[_0x24a767(0x179)][_0x24a767(0xf5)]?_0x24a767(0x13b):_0x24a767(0xf3);}[_0x299e06(0x125)](_0x21d4de,_0x2ee028,_0x589d9e,_0x5708d2){const _0x2bc088=_0x299e06;_0x21d4de[_0x2bc088(0x150)]==_0x2ee028&&(_0x589d9e[_0x2bc088(0x12c)](),this[_0x2bc088(0x143)](_0x5708d2));}[_0x299e06(0xfe)](_0x543a42){const _0x3edacf=_0x299e06;_0x543a42[_0x3edacf(0x145)](_0x3edacf(0x10c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x37057d,_0x3cbab4){const _0x5447fb=_0x54a2,_0x206451=_0x37057d();while(!![]){try{const _0x1d3157=-parseInt(_0x5447fb(0xba))/0x1*(-parseInt(_0x5447fb(0xcd))/0x2)+-parseInt(_0x5447fb(0xc6))/0x3*(-parseInt(_0x5447fb(0xbd))/0x4)+-parseInt(_0x5447fb(0xc4))/0x5*(-parseInt(_0x5447fb(0xce))/0x6)+parseInt(_0x5447fb(0xcc))/0x7*(-parseInt(_0x5447fb(0xb0))/0x8)+-parseInt(_0x5447fb(0xb1))/0x9+parseInt(_0x5447fb(0xb6))/0xa+-parseInt(_0x5447fb(0xb2))/0xb*(-parseInt(_0x5447fb(0xb7))/0xc);if(_0x1d3157===_0x3cbab4)break;else _0x206451['push'](_0x206451['shift']());}catch(_0x3a8f58){_0x206451['push'](_0x206451['shift']());}}}(_0x57bc,0x24ec8));import{createDropdown as _0x597f3a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x189b40}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2456ee}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x44fba5}from'../../aicore/aiediting.js';function _0x54a2(_0x3552d2,_0x40cb40){const _0x57bcb8=_0x57bc();return _0x54a2=function(_0x54a244,_0x23117d){_0x54a244=_0x54a244-0xad;let _0x32c075=_0x57bcb8[_0x54a244];return _0x32c075;},_0x54a2(_0x3552d2,_0x40cb40);}export function aiQuickActionsDropdownCreator(_0x367a35){const {editor:_0xd8e4d4,content:_0x3c71f1,buttonDefinition:_0x3fb013,bodyCollection:_0x4d39d8,hasSearch:_0x1319fe=!0x1}=_0x367a35;return()=>{const _0x468d76=_0x54a2,_0x2b013b=_0xd8e4d4[_0x468d76(0xbb)],_0xdda7d=_0x597f3a(_0x2b013b);_0xdda7d[_0x468d76(0xae)][_0x468d76(0xbe)]({'icon':_0x3fb013[_0x468d76(0xd0)]??_0x189b40,'label':_0x3fb013[_0x468d76(0xb3)],'tooltip':!0x0}),_0xdda7d[_0x468d76(0xbe)]({'class':_0x468d76(0xb8)});const _0xa2d7e6=new _0x2456ee(_0xd8e4d4,_0x3c71f1,_0xdda7d,_0x4d39d8,_0x1319fe);if(_0xdda7d[_0x468d76(0xc5)][_0x468d76(0xc7)][_0x468d76(0xca)](_0xa2d7e6),_0x1319fe){const _0x20a220=_0x468d76(0xbf);_0xdda7d['on'](_0x468d76(0xaf),(_0x212fbf,_0x1e9c3d,_0x2fa7e9)=>{const _0x3fe6ea=_0x468d76;if(_0x2fa7e9){if(_0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xad)](_0x3fe6ea(0xcf))){const _0x221766=_0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xc0)](_0x44fba5),_0x55b09e=_0xd8e4d4[_0x3fe6ea(0xb5)][_0x3fe6ea(0xbc)][_0x3fe6ea(0xc3)],_0x4ced82=Array[_0x3fe6ea(0xc8)](_0x55b09e[_0x3fe6ea(0xb9)]());_0x4ced82[_0x3fe6ea(0xc1)]>0x0&&_0x221766[_0x3fe6ea(0xc9)](_0x4ced82,_0x20a220,!0x1,!0x0);}}else _0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xad)](_0x3fe6ea(0xcf))&&_0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xc0)](_0x44fba5)[_0x3fe6ea(0xc2)](_0x20a220),_0xa2d7e6[_0x3fe6ea(0xcb)]();});}return _0xdda7d;};}function _0x57bc(){const _0x4d8ed8=['from','showFakeVisualSelection','add','resetSearch','574KKtqEZ','186742GOuknD','6tKHBrc','AIEditing','icon','has','buttonView','change:isOpen','23768FdLIGI','577332QApzwh','671NyZnDm','label','plugins','model','427840XTxucc','6948BrpSqw','ck-ai-quick-actions-dropdown','getRanges','3WwkPJw','locale','document','68bJcUOY','set','ai-quick-actions-dropdown-selection','get','length','hideFakeVisualSelection','selection','117815scxwPS','panelView','13629ToJpNO','children'];_0x57bc=function(){return _0x4d8ed8;};return _0x57bc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x84cf(){const _0x3c6d38=['items','forEach','groupLabel','clear','highlightViews','366136NlTFcH','145254hZlZSy','includes','filter','7006203LWDshn','trim','label','toLowerCase','item','461301xYTCil','1266eCbakJ','addMany','function','_clearHighlight','8PwEzkL','length','_allSearchableItems','8476167WuhHsg','10iBKfwp','_highlightQuery','highlightText','20275boGyVe','source','sort','_allListItems','27393102uaeaPE','map','3aCnlKj'];_0x84cf=function(){return _0x3c6d38;};return _0x84cf();}const _0x41e01b=_0x1718;function _0x1718(_0xe5be23,_0x566ee5){const _0x84cfdb=_0x84cf();return _0x1718=function(_0x171814,_0x7f87b0){_0x171814=_0x171814-0x104;let _0x2b089c=_0x84cfdb[_0x171814];return _0x2b089c;},_0x1718(_0xe5be23,_0x566ee5);}(function(_0x361048,_0x2fcf17){const _0x1432b3=_0x1718,_0xf27a11=_0x361048();while(!![]){try{const _0x3c3697=-parseInt(_0x1432b3(0x110))/0x1+-parseInt(_0x1432b3(0x108))/0x2*(-parseInt(_0x1432b3(0x122))/0x3)+-parseInt(_0x1432b3(0x107))/0x4+parseInt(_0x1432b3(0x11c))/0x5*(-parseInt(_0x1432b3(0x111))/0x6)+-parseInt(_0x1432b3(0x118))/0x7*(parseInt(_0x1432b3(0x115))/0x8)+-parseInt(_0x1432b3(0x10b))/0x9*(-parseInt(_0x1432b3(0x119))/0xa)+parseInt(_0x1432b3(0x120))/0xb;if(_0x3c3697===_0x2fcf17)break;else _0xf27a11['push'](_0xf27a11['shift']());}catch(_0x1d9e52){_0xf27a11['push'](_0xf27a11['shift']());}}}(_0x84cf,0xb0487));import{ListView as _0x323616}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3e12d6}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x323616{[_0x41e01b(0x11f)];[_0x41e01b(0x117)];constructor(_0x2d0c3f,_0x3dd66d,_0x1d7f00){const _0x4310be=_0x41e01b;super(_0x2d0c3f),this[_0x4310be(0x11f)]=_0x3dd66d,this[_0x4310be(0x117)]=_0x1d7f00;}[_0x41e01b(0x10a)](_0x5a83e2){const _0x5e3502=_0x41e01b;if(!_0x5a83e2)return this[_0x5e3502(0x123)][_0x5e3502(0x105)](),this[_0x5e3502(0x123)][_0x5e3502(0x112)](this[_0x5e3502(0x11f)]),this[_0x5e3502(0x114)](),{'resultsCount':this[_0x5e3502(0x11f)][_0x5e3502(0x116)],'totalItemsCount':this[_0x5e3502(0x11f)][_0x5e3502(0x116)]};const _0x99897c=_0x5a83e2[_0x5e3502(0x11d)][_0x5e3502(0x10e)]()[_0x5e3502(0x10c)](),_0x506d90=this[_0x5e3502(0x117)][_0x5e3502(0x10a)](_0x423bd4=>(_0x423bd4[_0x5e3502(0x104)]?_0x423bd4[_0x5e3502(0x10d)]+'\x20('+_0x423bd4[_0x5e3502(0x104)]+')':_0x423bd4[_0x5e3502(0x10d)])[_0x5e3502(0x10e)]()[_0x5e3502(0x109)](_0x99897c));return this[_0x5e3502(0x123)][_0x5e3502(0x105)](),this[_0x5e3502(0x123)][_0x5e3502(0x112)](_0x506d90[_0x5e3502(0x11e)]((_0x5b296c,_0xfec3e4)=>{const _0x4727c9=_0x5e3502,_0x181baf=_0x5b296c[_0x4727c9(0x104)],_0x8b9c58=_0xfec3e4[_0x4727c9(0x104)];return _0x181baf||_0x8b9c58?_0x181baf?0x1:-0x1:0x0;})[_0x5e3502(0x121)](_0x52f1d5=>_0x52f1d5[_0x5e3502(0x10f)])),this[_0x5e3502(0x11a)](_0x99897c,_0x506d90),{'resultsCount':_0x506d90[_0x5e3502(0x116)],'totalItemsCount':this[_0x5e3502(0x117)][_0x5e3502(0x116)]};}[_0x41e01b(0x11a)](_0x5b0a0d,_0x7c7067){const _0x3c1d83=_0x41e01b;if(!_0x5b0a0d)return;const _0x3844e9=new RegExp(_0x3e12d6(_0x5b0a0d),'gi');_0x7c7067[_0x3c1d83(0x124)](_0x55f3b9=>{const _0x1168c9=_0x3c1d83;_0x55f3b9[_0x1168c9(0x106)]&&_0x55f3b9[_0x1168c9(0x106)][_0x1168c9(0x124)](_0x4eb2d8=>{const _0x220017=_0x1168c9;_0x220017(0x113)==typeof _0x4eb2d8[_0x220017(0x11b)]&&_0x4eb2d8[_0x220017(0x11b)](_0x3844e9);});});}[_0x41e01b(0x114)](){const _0x346af6=_0x41e01b;this[_0x346af6(0x117)][_0x346af6(0x124)](_0x24891f=>{const _0x1a02fa=_0x346af6;_0x24891f[_0x1a02fa(0x106)]&&_0x24891f[_0x1a02fa(0x106)][_0x1a02fa(0x124)](_0x5618ff=>{const _0x5cbb8c=_0x1a02fa;_0x5cbb8c(0x113)==typeof _0x5618ff[_0x5cbb8c(0x11b)]&&_0x5618ff[_0x5cbb8c(0x11b)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x32b2(){var _0x411cf9=['115306JGbACw','811090ofeCCH','18dhSsOs','1812720UTccnM','98324pTfqMZ','setTemplate','ck-ai-balloon__disclaimer-content','223722cMJuQi','div','5289776WwRkir','AI_DISCLAIMER_TEXT','ck-ai-balloon__disclaimer','1557850nwTvCn'];_0x32b2=function(){return _0x411cf9;};return _0x32b2();}(function(_0x43d507,_0x41de4a){var _0x3d7d98=_0x25e9,_0x18acb4=_0x43d507();while(!![]){try{var _0x5d5817=-parseInt(_0x3d7d98(0x124))/0x1+parseInt(_0x3d7d98(0x11d))/0x2*(-parseInt(_0x3d7d98(0x11f))/0x3)+-parseInt(_0x3d7d98(0x121))/0x4+-parseInt(_0x3d7d98(0x11c))/0x5+parseInt(_0x3d7d98(0x120))/0x6+parseInt(_0x3d7d98(0x11e))/0x7+parseInt(_0x3d7d98(0x119))/0x8;if(_0x5d5817===_0x41de4a)break;else _0x18acb4['push'](_0x18acb4['shift']());}catch(_0x2f6f84){_0x18acb4['push'](_0x18acb4['shift']());}}}(_0x32b2,0x2a56d));import{View as _0x2384b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x410454}from'../../../aicore/utils/common-translations.js';function _0x25e9(_0x490b92,_0x419962){var _0x32b251=_0x32b2();return _0x25e9=function(_0x25e91b,_0x18b43b){_0x25e91b=_0x25e91b-0x119;var _0x5c516e=_0x32b251[_0x25e91b];return _0x5c516e;},_0x25e9(_0x490b92,_0x419962);}export class AIActionsBalloonDisclaimerView extends _0x2384b8{constructor(_0x205a8a){var _0x7e369a=_0x25e9;super(_0x205a8a),this[_0x7e369a(0x122)]({'tag':_0x7e369a(0x125),'attributes':{'class':['ck',_0x7e369a(0x11b)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x7e369a(0x123)]},'children':[{'text':_0x410454(_0x205a8a,_0x7e369a(0x11a))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xe7fe4=_0x3e5f;(function(_0x4e696c,_0x1f20f3){const _0xef89cb=_0x3e5f,_0x5c38f3=_0x4e696c();while(!![]){try{const _0x4bd6d2=parseInt(_0xef89cb(0x1d6))/0x1+-parseInt(_0xef89cb(0x1c3))/0x2*(parseInt(_0xef89cb(0x1c0))/0x3)+parseInt(_0xef89cb(0x1d3))/0x4+-parseInt(_0xef89cb(0x1d2))/0x5+parseInt(_0xef89cb(0x1c9))/0x6+parseInt(_0xef89cb(0x1d8))/0x7*(-parseInt(_0xef89cb(0x1d7))/0x8)+parseInt(_0xef89cb(0x1d5))/0x9*(parseInt(_0xef89cb(0x1cb))/0xa);if(_0x4bd6d2===_0x1f20f3)break;else _0x5c38f3['push'](_0x5c38f3['shift']());}catch(_0x313c9d){_0x5c38f3['push'](_0x5c38f3['shift']());}}}(_0x183b,0xb8332));import{ToolbarView as _0x5b0f29,ButtonView as _0x1bbc61}from'ckeditor5/src/ui.js';import{getTranslation as _0x37205b}from'../../../aicore/utils/common-translations.js';function _0x3e5f(_0x19c93a,_0x2c93bd){const _0x183b17=_0x183b();return _0x3e5f=function(_0x3e5f6f,_0x22882e){_0x3e5f6f=_0x3e5f6f-0x1be;let _0x36851d=_0x183b17[_0x3e5f6f];return _0x36851d;},_0x3e5f(_0x19c93a,_0x2c93bd);}export class AIActionsBalloonToolbarView extends _0x5b0f29{constructor(_0x1ba5ba,_0x123092=!0x0,_0x1aafce=!0x0){const _0x432c73=_0x3e5f;super(_0x1ba5ba),this[_0x432c73(0x1cc)](_0x432c73(0x1c2),!0x1),_0x123092&&(this[_0x432c73(0x1cd)]=this[_0x432c73(0x1cf)](_0x37205b(_0x1ba5ba,_0x432c73(0x1bf)),_0x432c73(0x1d1)),this[_0x432c73(0x1cd)][_0x432c73(0x1c5)](_0x432c73(0x1c2))['to'](this),this[_0x432c73(0x1ca)][_0x432c73(0x1d0)](this[_0x432c73(0x1cd)])),_0x1aafce&&(this[_0x432c73(0x1be)]=this[_0x432c73(0x1cf)](_0x37205b(_0x1ba5ba,_0x432c73(0x1c7)),_0x123092?_0x432c73(0x1c8):_0x432c73(0x1d1)),this[_0x432c73(0x1be)][_0x432c73(0x1c5)](_0x432c73(0x1c2))['to'](this),this[_0x432c73(0x1ca)][_0x432c73(0x1d0)](this[_0x432c73(0x1be)])),this[_0x432c73(0x1c6)]({'showApplyButton':_0x123092,'showSuggestButton':_0x1aafce}),this[_0x432c73(0x1ce)]({'attributes':{'class':[_0x432c73(0x1c1)]}});}[_0xe7fe4(0x1c6)]({showApplyButton:_0x4fe293,showSuggestButton:_0x5278f9}){const _0x23233f=_0xe7fe4;this[_0x23233f(0x1cd)]&&(this[_0x23233f(0x1cd)][_0x23233f(0x1c4)]=_0x4fe293),this[_0x23233f(0x1be)]&&(this[_0x23233f(0x1be)][_0x23233f(0x1c4)]=_0x5278f9);}[_0xe7fe4(0x1cf)](_0xe95b0b,_0x5ff161){const _0x192d88=_0xe7fe4,_0x1be114=new _0x1bbc61(this[_0x192d88(0x1d4)]);return _0x1be114[_0x192d88(0x1cc)]({'label':_0xe95b0b,'class':_0x5ff161,'isVisible':!0x0,'withText':!0x0}),_0x1be114;}}function _0x183b(){const _0x1159e7=['2730750pflsCh','1060032ApnqVc','locale','117009GymNWZ','1406451fNMpcy','96mPITWa','439607UegZzK','suggestButton','AI_BALLOON_APPLY_BUTTON','29613QLQBes','ck-ai-balloon__toolbar','isEnabled','110bxRHVr','isVisible','bind','setButtonsVisibility','AI_BALLOON_SUGGEST_BUTTON','ck-ai-button-secondary','2511906LficOJ','items','390LMwihJ','set','applyButton','extendTemplate','_createButton','add','ck-ai-button-primary'];_0x183b=function(){return _0x1159e7;};return _0x183b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x50a566=_0x55ec;(function(_0x406096,_0x4d03e5){const _0x11afe1=_0x55ec,_0x253b4f=_0x406096();while(!![]){try{const _0x4d2333=-parseInt(_0x11afe1(0x151))/0x1*(parseInt(_0x11afe1(0x12c))/0x2)+-parseInt(_0x11afe1(0x16d))/0x3+-parseInt(_0x11afe1(0x127))/0x4+-parseInt(_0x11afe1(0x10b))/0x5*(-parseInt(_0x11afe1(0xf8))/0x6)+-parseInt(_0x11afe1(0x13d))/0x7*(parseInt(_0x11afe1(0x12a))/0x8)+-parseInt(_0x11afe1(0xf7))/0x9+parseInt(_0x11afe1(0x12f))/0xa;if(_0x4d2333===_0x4d03e5)break;else _0x253b4f['push'](_0x253b4f['shift']());}catch(_0x52fe75){_0x253b4f['push'](_0x253b4f['shift']());}}}(_0x1b12,0x6fd21));import{ViewCollection as _0x23b5e7,FocusCycler as _0x1bb34e,ButtonView as _0xd3d49f,View as _0xfb2c27}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2d10a0,KeystrokeHandler as _0x3faeef}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x4dc29d}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1be731}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5b364a}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1ce7a1}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x8dbc24}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x384d8b}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x2b498c}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x154d71,IconPreviousArrow as _0x5770cf,IconRefresh as _0x4a3055}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1c9b7f}from'../../../aicore/utils/common-translations.js';function _0x1b12(){const _0x2f7788=['addMiniToolbarItem','_createLoaderView','isVisible','_scrollManager','_disclaimerView','shift\x20+\x20tab','hideLoader','3565416INzNvg','showBlockingError','showPrevious','8zvdhbj','_hasError','1688OXNtmz','isBusy','_navigationCounter','31521430ZxVVvl','AI_ACTIONS_PREVIOUS_INTERACTION','render','resetShowChangesButton','clearContent','disableMiniToolbarButtons','_createStreamableContentView','span','_initializeScrollManager','isShowChangesOn','_getScrollableElement','interactionCount','setButtonsVisibility','add','4266941FoYhmW','isTrackChangesOn','listenTo','execute','setErrorState','applySuggestion','toggleShowChangesEnabled','showNext','hideError','bindTemplate','clearErrorState','AI_ACTIONS_TRY_AGAIN','_streamableContentView','showError','delegate','toggleSuggestionDisplayMode','toggleShowChanges','removeMiniToolbarItem','applyButton','_toggleToolbarButtonsVisibility','326gNtNDz','fire','_focusables','_keystrokes','update','miniToolbarConfig','ck-ai-actions-balloon-content','_config','showLoader','_focusTracker','clear','ck-ai-custom-action-button','setTemplate','stop','focusLast','updateContent','_addDisclaimerView','focus','tab','ck-ai-actions-balloon-main','createCollection','setIsLoading','_isLoading','remove','_navigationNextButton','_navigationPreviousButton','items','stopAutoScroll','1927419GRSyGf','locale','3613572RwxCQJ','36qanlns','_contentWrapper','_createMiniToolbar','tryAgain','addMany','bind','element','1/1','_addContentWrapper','availableActions','_errorView','change:isTrackChangesOn','_dialogContent','ck-ai-navigation-button\x20ck-ai-next-button','_setupMiniToolbarButtons','insertSuggestion','AI_ACTIONS_NEXT_INTERACTION','toggleIsLoading','focusCycler','104930aifMwK','_miniToolbarView','ck-ai-actions-balloon-content-wrapper','focusFirst','startAutoScroll','ck-ai-navigation-button\x20ck-ai-previous-button','_navigationTryAgainButton','set','isEnabled','_toolbarView','start','_loaderView','has','destroy','suggestButton','setInteractionCount','div','includes','ck-ai-interaction-counter','updateMiniToolbarButtons','_addToolbar'];_0x1b12=function(){return _0x2f7788;};return _0x1b12();}function _0x55ec(_0x26b4f9,_0x443712){const _0x1b128c=_0x1b12();return _0x55ec=function(_0x55eca1,_0x1538c7){_0x55eca1=_0x55eca1-0xf6;let _0x4b79e0=_0x1b128c[_0x55eca1];return _0x4b79e0;},_0x55ec(_0x26b4f9,_0x443712);}import{AIBalloonView as _0x72efb5}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x50a566(0x142),_0x50a566(0x107)];export class AIActionsBalloonView extends _0x72efb5{[_0x50a566(0x10a)];[_0x50a566(0x158)];[_0x50a566(0xf9)];[_0x50a566(0x149)];[_0x50a566(0x114)];[_0x50a566(0x10c)];[_0x50a566(0x116)];[_0x50a566(0x124)];[_0x50a566(0x15a)];[_0x50a566(0x154)];[_0x50a566(0x104)];[_0x50a566(0x153)];[_0x50a566(0x123)];[_0x50a566(0x16a)];[_0x50a566(0x169)];[_0x50a566(0x111)];[_0x50a566(0x12e)];constructor(_0x5f5d3b,_0x22a18d){const _0x350b73=_0x50a566;super(_0x5f5d3b),this[_0x350b73(0x112)](_0x350b73(0x12d),!0x1),this[_0x350b73(0x112)](_0x350b73(0x13e),!0x1),this[_0x350b73(0x112)](_0x350b73(0x167),!0x1),this[_0x350b73(0x112)](_0x350b73(0x12b),!0x1),this[_0x350b73(0x158)]=_0x22a18d,this[_0x350b73(0x15a)]=new _0x2d10a0(),this[_0x350b73(0x154)]=new _0x3faeef(),this[_0x350b73(0x153)]=this[_0x350b73(0x165)](),this[_0x350b73(0x10a)]=new _0x1bb34e({'focusables':this[_0x350b73(0x153)],'focusTracker':this[_0x350b73(0x15a)],'keystrokeHandler':this[_0x350b73(0x154)],'actions':{'focusPrevious':_0x350b73(0x125),'focusNext':_0x350b73(0x163)}}),this[_0x350b73(0x104)]=new _0x23b5e7(),this[_0x350b73(0x100)](_0x22a18d),this[_0x350b73(0x161)](),this[_0x350b73(0x11f)](_0x22a18d),this[_0x350b73(0x153)][_0x350b73(0x15b)](),this[_0x350b73(0x153)][_0x350b73(0xfc)]([this[_0x350b73(0x114)]]),this[_0x350b73(0x15d)]({'tag':_0x350b73(0x11b),'attributes':{'class':[_0x350b73(0x164)]},'children':this[_0x350b73(0x104)]}),this['on'](_0x350b73(0x103),()=>{const _0x4c5143=_0x350b73;this[_0x4c5143(0x150)](_0x22a18d);});}[_0x50a566(0x131)](){const _0x2a183e=_0x50a566;super[_0x2a183e(0x131)]();for(const _0x46b860 of this[_0x2a183e(0x153)])this[_0x2a183e(0x15a)][_0x2a183e(0x13c)](_0x46b860[_0x2a183e(0xfe)]);this[_0x2a183e(0x154)][_0x2a183e(0x13f)](this[_0x2a183e(0xfe)]),this[_0x2a183e(0x137)]();}[_0x50a566(0x118)](){const _0xaab9b8=_0x50a566;super[_0xaab9b8(0x118)](),this[_0xaab9b8(0x123)]&&this[_0xaab9b8(0x123)][_0xaab9b8(0x118)]();}[_0x50a566(0x162)](_0x33f16a){const _0x44f19f=_0x50a566;-0x1===_0x33f16a?this[_0x44f19f(0x10a)][_0x44f19f(0x15f)]():this[_0x44f19f(0x10a)][_0x44f19f(0x10e)]();}[_0x50a566(0x166)](_0x1d6243){const _0x4ebcfb=_0x50a566;this[_0x4ebcfb(0x167)]=_0x1d6243;}[_0x50a566(0x141)](){const _0xf2daba=_0x50a566;this[_0xf2daba(0x12b)]=!0x0,this[_0xf2daba(0x10c)][_0xf2daba(0x143)](!0x1);}[_0x50a566(0x147)](){const _0x5bb5dc=_0x50a566;this[_0x5bb5dc(0x12b)]=!0x1,this[_0x5bb5dc(0x10c)][_0x5bb5dc(0x143)](!0x0);}[_0x50a566(0x14a)](_0x19fd60){const _0x4fc619=_0x50a566;super[_0x4fc619(0x14a)](_0x19fd60),this[_0x4fc619(0x104)][_0x4fc619(0x117)](this[_0x4fc619(0x102)])||this[_0x4fc619(0x104)][_0x4fc619(0x13c)](this[_0x4fc619(0x102)],0x0);}[_0x50a566(0x145)](){const _0x595b86=_0x50a566;super[_0x595b86(0x145)](),this[_0x595b86(0x147)]();}[_0x50a566(0x128)](_0x3f1cb4){const _0x4483e9=_0x50a566;super[_0x4483e9(0x128)](_0x3f1cb4),this[_0x4483e9(0x141)]();}[_0x50a566(0x120)](_0x2fa9b4){const _0xd75d02=_0x50a566;this[_0xd75d02(0x10c)][_0xd75d02(0x16b)][_0xd75d02(0x117)](_0x2fa9b4)||this[_0xd75d02(0x10c)][_0xd75d02(0x16b)][_0xd75d02(0x13c)](_0x2fa9b4);}[_0x50a566(0x14e)](_0x3cbcab){const _0x3852f1=_0x50a566;this[_0x3852f1(0x10c)][_0x3852f1(0x16b)][_0x3852f1(0x117)](_0x3cbcab)&&this[_0x3852f1(0x10c)][_0x3852f1(0x16b)][_0x3852f1(0x168)](_0x3cbcab);}[_0x50a566(0x159)](){const _0x214402=_0x50a566;this[_0x214402(0x116)]&&(this[_0x214402(0x167)]=!0x0);}[_0x50a566(0x126)](){const _0x1f1a0c=_0x50a566;this[_0x1f1a0c(0x116)]&&(this[_0x1f1a0c(0x167)]=!0x1);}[_0x50a566(0x150)]({showApplyButton:_0x5662bd,showSuggestButton:_0x5be3d8}){const _0x38a83a=_0x50a566;_0x5662bd=_0x5662bd&&!this[_0x38a83a(0x13e)]&&this[_0x38a83a(0x158)][_0x38a83a(0x101)][_0x38a83a(0x11c)](_0x38a83a(0x142)),_0x5be3d8=_0x5be3d8&&this[_0x38a83a(0x158)][_0x38a83a(0x101)][_0x38a83a(0x11c)](_0x38a83a(0x107)),this[_0x38a83a(0x114)][_0x38a83a(0x13b)]({'showApplyButton':_0x5662bd,'showSuggestButton':_0x5be3d8});}async[_0x50a566(0x160)](_0x23bd5a){const _0x230772=_0x50a566;await this[_0x230772(0x149)][_0x230772(0x155)](_0x23bd5a);}[_0x50a566(0x133)](){const _0x59e3aa=_0x50a566;this[_0x59e3aa(0x149)][_0x59e3aa(0x15b)]();}[_0x50a566(0x100)](_0x2e24be){const _0x2153e9=_0x50a566;this[_0x2153e9(0xf9)]=new _0xfb2c27(this[_0x2153e9(0xf6)]),this[_0x2153e9(0xf9)][_0x2153e9(0x15d)]({'tag':_0x2153e9(0x11b),'attributes':{'class':[_0x2153e9(0x157)]},'children':[{'tag':_0x2153e9(0x11b),'attributes':{'class':[_0x2153e9(0x10d)]},'children':[this[_0x2153e9(0x121)](),this[_0x2153e9(0x135)]()]},this[_0x2153e9(0xfa)](_0x2e24be[_0x2153e9(0x156)])]}),this[_0x2153e9(0x104)][_0x2153e9(0x13c)](this[_0x2153e9(0xf9)]);}[_0x50a566(0x161)](){const _0x109fc6=_0x50a566;this[_0x109fc6(0x124)]=new _0x1be731(this[_0x109fc6(0xf6)]),this[_0x109fc6(0x104)][_0x109fc6(0x13c)](this[_0x109fc6(0x124)]);}[_0x50a566(0x11f)]({showApplyButton:_0x1944cf,showSuggestButton:_0x1e260e}){const _0x4bc3fb=_0x50a566;this[_0x4bc3fb(0x114)]=new _0x4dc29d(this[_0x4bc3fb(0xf6)],_0x1944cf,_0x1e260e),this[_0x4bc3fb(0x114)][_0x4bc3fb(0x14f)]?.['on'](_0x4bc3fb(0x140),()=>{const _0x1e1e4b=_0x4bc3fb;this[_0x1e1e4b(0x152)](_0x1e1e4b(0x142));}),this[_0x4bc3fb(0x114)][_0x4bc3fb(0x119)]?.['on'](_0x4bc3fb(0x140),()=>{const _0x1e5acd=_0x4bc3fb;this[_0x1e5acd(0x152)](_0x1e5acd(0x107));}),this[_0x4bc3fb(0x114)][_0x4bc3fb(0xfd)](_0x4bc3fb(0x113))['to'](this,_0x4bc3fb(0x12d),this,_0x4bc3fb(0x167),this,_0x4bc3fb(0x12b),(_0x521295,_0x42f8dd,_0x34a689)=>!(_0x521295||_0x42f8dd||_0x34a689)),this[_0x4bc3fb(0x150)]({'showApplyButton':_0x1944cf,'showSuggestButton':_0x1e260e}),this[_0x4bc3fb(0x104)][_0x4bc3fb(0x13c)](this[_0x4bc3fb(0x114)]);}[_0x50a566(0xfa)](_0xc2bf4a){const _0x496537=_0x50a566;return this[_0x496537(0x10c)]=new _0x1ce7a1(this[_0x496537(0xf6)],_0xc2bf4a),this[_0x496537(0x10c)][_0x496537(0x14b)](..._0x8dbc24)['to'](this),this[_0x496537(0x10c)]['on'](_0x496537(0x14d),()=>{const _0x2cdb1a=_0x496537;this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)]=!this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)],this[_0x2cdb1a(0x152)](_0x2cdb1a(0x14c),{'showDiff':this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)]});}),this[_0x496537(0x10c)][_0x496537(0xfd)](_0x496537(0x113))['to'](this,_0x496537(0x12d),this,_0x496537(0x167),(_0x1fab4d,_0x3ac677)=>!(_0x1fab4d||_0x3ac677)),this[_0x496537(0x10c)];}[_0x50a566(0x121)](){const _0x211be7=_0x50a566;return this[_0x211be7(0x116)]=new _0x384d8b(this[_0x211be7(0xf6)]),this[_0x211be7(0x116)][_0x211be7(0xfd)](_0x211be7(0x122))['to'](this,_0x211be7(0x167)),this[_0x211be7(0x116)];}[_0x50a566(0x135)](){const _0x50662a=_0x50a566;return this[_0x50662a(0x149)]=new _0x2b498c(this[_0x50662a(0xf6)]),this[_0x50662a(0x149)];}[_0x50a566(0x106)](){const _0x216777=_0x50a566,_0xba7d59=new _0xd3d49f(this[_0x216777(0xf6)]),_0x50d9aa=new _0xd3d49f(this[_0x216777(0xf6)]),_0x4283ed=new AIActionsBalloonNavigationCounterView(this[_0x216777(0xf6)]),_0x391617=new _0xd3d49f(this[_0x216777(0xf6)]);_0xba7d59[_0x216777(0x112)]({'icon':_0x4a3055,'label':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x148)),'tooltip':!0x0,'class':_0x216777(0x15c)}),_0x50d9aa[_0x216777(0x112)]({'icon':_0x5770cf,'tooltip':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x130)),'class':_0x216777(0x110)}),_0x391617[_0x216777(0x112)]({'icon':_0x154d71,'tooltip':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x108)),'class':_0x216777(0x105)}),_0xba7d59[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x28052f=>!_0x28052f),_0xba7d59['on'](_0x216777(0x140),()=>{const _0x28e93f=_0x216777;this[_0x28e93f(0x152)](_0x28e93f(0xfb));}),_0x50d9aa[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x5142fd=>!_0x5142fd),_0x50d9aa['on'](_0x216777(0x140),()=>{const _0x14f4c7=_0x216777;this[_0x14f4c7(0x152)](_0x14f4c7(0x129));}),_0x391617[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x256845=>!_0x256845),_0x391617['on'](_0x216777(0x140),()=>{const _0x3f90b9=_0x216777;this[_0x3f90b9(0x152)](_0x3f90b9(0x144));}),this[_0x216777(0x16a)]=_0x50d9aa,this[_0x216777(0x12e)]=_0x4283ed,this[_0x216777(0x169)]=_0x391617,this[_0x216777(0x111)]=_0xba7d59;}[_0x50a566(0x11e)](_0x47b829,_0xbe9b75){const _0x1e0607=_0x50a566;this[_0x1e0607(0x16a)]||this[_0x1e0607(0x106)]();const _0x3a5b3a=_0x47b829>0x1;if(this[_0x1e0607(0x120)](this[_0x1e0607(0x111)]),_0x3a5b3a){this[_0x1e0607(0x120)](this[_0x1e0607(0x16a)]),this[_0x1e0607(0x120)](this[_0x1e0607(0x12e)]),this[_0x1e0607(0x120)](this[_0x1e0607(0x169)]);const _0x1de482=_0x47b829-_0xbe9b75;this[_0x1e0607(0x12e)][_0x1e0607(0x11a)](_0x1de482+'/'+_0x47b829),this[_0x1e0607(0x16a)][_0x1e0607(0x113)]=_0xbe9b75<_0x47b829-0x1,this[_0x1e0607(0x169)][_0x1e0607(0x113)]=_0xbe9b75>0x0;}else this[_0x1e0607(0x14e)](this[_0x1e0607(0x16a)]),this[_0x1e0607(0x14e)](this[_0x1e0607(0x12e)]),this[_0x1e0607(0x14e)](this[_0x1e0607(0x169)]);}[_0x50a566(0x134)](){const _0x4dda38=_0x50a566;this[_0x4dda38(0x111)][_0x4dda38(0x113)]=!0x1,this[_0x4dda38(0x16a)][_0x4dda38(0x113)]=!0x1,this[_0x4dda38(0x169)][_0x4dda38(0x113)]=!0x1;}[_0x50a566(0x10f)](){const _0x1b3c46=_0x50a566;this[_0x1b3c46(0x137)](),this[_0x1b3c46(0x123)]&&this[_0x1b3c46(0x123)][_0x1b3c46(0x115)]();}[_0x50a566(0x16c)](){const _0x2902ae=_0x50a566;this[_0x2902ae(0x123)]&&this[_0x2902ae(0x123)][_0x2902ae(0x15e)]();}[_0x50a566(0x109)](_0x4b0fde){const _0x299b3f=_0x50a566;this[_0x299b3f(0x167)]=_0x4b0fde;}[_0x50a566(0x132)](){const _0xf409b2=_0x50a566;this[_0xf409b2(0x10c)][_0xf409b2(0x138)]=!0x1;}[_0x50a566(0x137)](){const _0x29d96e=_0x50a566,_0x42c8bb=this[_0x29d96e(0x139)]();_0x42c8bb&&!this[_0x29d96e(0x123)]&&(this[_0x29d96e(0x123)]=new _0x5b364a(_0x42c8bb));}[_0x50a566(0x139)](){const _0x99876=_0x50a566;return this[_0x99876(0x149)][_0x99876(0xfe)];}}class AIActionsBalloonNavigationCounterView extends _0xfb2c27{constructor(_0xc36232){const _0x1bcd58=_0x50a566;super(_0xc36232);const _0x12f712=this[_0x1bcd58(0x146)];this[_0x1bcd58(0x112)](_0x1bcd58(0x13a),_0x1bcd58(0xff)),this[_0x1bcd58(0x15d)]({'tag':_0x1bcd58(0x136),'attributes':{'class':[_0x1bcd58(0x11d)]},'children':[{'text':_0x12f712['to'](_0x1bcd58(0x13a))}]});}[_0x50a566(0x11a)](_0x4c2cd6){const _0xa3ef99=_0x50a566;this[_0xa3ef99(0x112)](_0xa3ef99(0x13a),_0x4c2cd6);}}
|
|
23
|
+
const _0x31f01d=_0x7b7d;function _0x7b7d(_0x53d750,_0x4b3196){const _0x5eb698=_0x5eb6();return _0x7b7d=function(_0x7b7dce,_0x3bf937){_0x7b7dce=_0x7b7dce-0x184;let _0x24cc5c=_0x5eb698[_0x7b7dce];return _0x24cc5c;},_0x7b7d(_0x53d750,_0x4b3196);}(function(_0x55f27c,_0x30cd0d){const _0x2fc415=_0x7b7d,_0x3cfea0=_0x55f27c();while(!![]){try{const _0x10e2f5=parseInt(_0x2fc415(0x18d))/0x1+-parseInt(_0x2fc415(0x1ac))/0x2+-parseInt(_0x2fc415(0x1f6))/0x3+-parseInt(_0x2fc415(0x1a7))/0x4*(parseInt(_0x2fc415(0x1db))/0x5)+parseInt(_0x2fc415(0x1d1))/0x6+parseInt(_0x2fc415(0x1e9))/0x7+parseInt(_0x2fc415(0x1b1))/0x8;if(_0x10e2f5===_0x30cd0d)break;else _0x3cfea0['push'](_0x3cfea0['shift']());}catch(_0x1b0d4f){_0x3cfea0['push'](_0x3cfea0['shift']());}}}(_0x5eb6,0x9773f));import{ViewCollection as _0x421dea,FocusCycler as _0x2ad982,ButtonView as _0x47f436,View as _0x58ae5a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x54c2bf,KeystrokeHandler as _0x5ed474}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x38d15a}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x55c82a}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x384307}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x3dafb0}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2a86cf}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x14bb72}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x5b6c50}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x29c553,IconPreviousArrow as _0x335a92,IconRefresh as _0x1a855a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x28f864}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x33e501}from'../../../aiballoon/ui/aiballoonview.js';function _0x5eb6(){const _0x48719d=['_config','ck-ai-actions-balloon-content-wrapper','bind','stopAutoScroll','element','clearContent','insertSuggestion','_addContentWrapper','_initializeScrollManager','tryAgain','1/1','AI_ACTIONS_NEXT_INTERACTION','ck-ai-navigation-button\x20ck-ai-previous-button','isTrackChangesOn','5415936PEtdGG','showPrevious','_scrollManager','shift\x20+\x20tab','start','items','isEnabled','update','toggleShowChangesEnabled','delegate','25PuobSP','span','applySuggestion','_getScrollableElement','setErrorState','updateContent','_miniToolbarView','miniToolbarConfig','_addToolbar','clear','div','addMiniToolbarItem','setInteractionCount','ck-ai-actions-balloon-content','1285732JZDjXz','ck-ai-interaction-counter','hideLoader','startAutoScroll','includes','_navigationTryAgainButton','has','bindTemplate','_addDisclaimerView','_createStreamableContentView','setButtonsVisibility','_navigationPreviousButton','_createMiniToolbar','3193644FFpKRX','_setupMiniToolbarButtons','hideError','_navigationCounter','_loaderView','_toolbarView','setIsLoading','_streamableContentView','_keystrokes','isShowChangesOn','execute','removeMiniToolbarItem','applyButton','113125xbMcZU','focusLast','stop','ck-ai-navigation-button\x20ck-ai-next-button','showLoader','destroy','_focusTracker','addMany','tab','clearErrorState','ck-ai-actions-balloon-main','_hasError','_dialogContent','_isLoading','availableActions','toggleSuggestionDisplayMode','set','toggleIsLoading','_errorView','_disclaimerView','isVisible','createCollection','_createLoaderView','AI_ACTIONS_TRY_AGAIN','toggleShowChanges','disableMiniToolbarButtons','243884yrABfQ','_contentWrapper','listenTo','showBlockingError','_navigationNextButton','1929096yiAywc','showError','isBusy','AI_ACTIONS_PREVIOUS_INTERACTION','locale','14038760pLAtrh','render','setTemplate','fire','updateMiniToolbarButtons','add','focusFirst','ck-ai-custom-action-button','suggestButton','_focusables','showNext','focusCycler','_toggleToolbarButtonsVisibility','interactionCount','remove','resetShowChangesButton','focus','change:isTrackChangesOn'];_0x5eb6=function(){return _0x48719d;};return _0x5eb6();}import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x31f01d(0x1dd),_0x31f01d(0x1c9)];export class AIActionsBalloonView extends _0x33e501{[_0x31f01d(0x1bc)];[_0x31f01d(0x1c3)];[_0x31f01d(0x1a8)];[_0x31f01d(0x187)];[_0x31f01d(0x185)];[_0x31f01d(0x1e1)];[_0x31f01d(0x184)];[_0x31f01d(0x1a0)];[_0x31f01d(0x193)];[_0x31f01d(0x188)];[_0x31f01d(0x199)];[_0x31f01d(0x1ba)];[_0x31f01d(0x1d3)];[_0x31f01d(0x1f4)];[_0x31f01d(0x1ab)];[_0x31f01d(0x1ee)];[_0x31f01d(0x1f9)];constructor(_0x6f008b,_0xff3626){const _0x2846d4=_0x31f01d;super(_0x6f008b),this[_0x2846d4(0x19d)](_0x2846d4(0x1ae),!0x1),this[_0x2846d4(0x19d)](_0x2846d4(0x1d0),!0x1),this[_0x2846d4(0x19d)](_0x2846d4(0x19a),!0x1),this[_0x2846d4(0x19d)](_0x2846d4(0x198),!0x1),this[_0x2846d4(0x1c3)]=_0xff3626,this[_0x2846d4(0x193)]=new _0x54c2bf(),this[_0x2846d4(0x188)]=new _0x5ed474(),this[_0x2846d4(0x1ba)]=this[_0x2846d4(0x1a2)](),this[_0x2846d4(0x1bc)]=new _0x2ad982({'focusables':this[_0x2846d4(0x1ba)],'focusTracker':this[_0x2846d4(0x193)],'keystrokeHandler':this[_0x2846d4(0x188)],'actions':{'focusPrevious':_0x2846d4(0x1d4),'focusNext':_0x2846d4(0x195)}}),this[_0x2846d4(0x199)]=new _0x421dea(),this[_0x2846d4(0x1ca)](_0xff3626),this[_0x2846d4(0x1f1)](),this[_0x2846d4(0x1e3)](_0xff3626),this[_0x2846d4(0x1ba)][_0x2846d4(0x1e4)](),this[_0x2846d4(0x1ba)][_0x2846d4(0x194)]([this[_0x2846d4(0x185)]]),this[_0x2846d4(0x1b3)]({'tag':_0x2846d4(0x1e5),'attributes':{'class':[_0x2846d4(0x197)]},'children':this[_0x2846d4(0x199)]}),this['on'](_0x2846d4(0x1c2),()=>{const _0x31f02b=_0x2846d4;this[_0x31f02b(0x1bd)](_0xff3626);});}[_0x31f01d(0x1b2)](){const _0x2414ca=_0x31f01d;super[_0x2414ca(0x1b2)]();for(const _0x5488f0 of this[_0x2414ca(0x1ba)])this[_0x2414ca(0x193)][_0x2414ca(0x1b6)](_0x5488f0[_0x2414ca(0x1c7)]);this[_0x2414ca(0x188)][_0x2414ca(0x1a9)](this[_0x2414ca(0x1c7)]),this[_0x2414ca(0x1cb)]();}[_0x31f01d(0x192)](){const _0x256a25=_0x31f01d;super[_0x256a25(0x192)](),this[_0x256a25(0x1d3)]&&this[_0x256a25(0x1d3)][_0x256a25(0x192)]();}[_0x31f01d(0x1c1)](_0x59e3cd){const _0x5c00fb=_0x31f01d;-0x1===_0x59e3cd?this[_0x5c00fb(0x1bc)][_0x5c00fb(0x18e)]():this[_0x5c00fb(0x1bc)][_0x5c00fb(0x1b7)]();}[_0x31f01d(0x186)](_0x99e8fe){const _0xdbe55b=_0x31f01d;this[_0xdbe55b(0x19a)]=_0x99e8fe;}[_0x31f01d(0x1df)](){const _0x259474=_0x31f01d;this[_0x259474(0x198)]=!0x0,this[_0x259474(0x1e1)][_0x259474(0x1d9)](!0x1);}[_0x31f01d(0x196)](){const _0x257b46=_0x31f01d;this[_0x257b46(0x198)]=!0x1,this[_0x257b46(0x1e1)][_0x257b46(0x1d9)](!0x0);}[_0x31f01d(0x1ad)](_0x2e1d99){const _0x553617=_0x31f01d;super[_0x553617(0x1ad)](_0x2e1d99),this[_0x553617(0x199)][_0x553617(0x1ef)](this[_0x553617(0x19f)])||this[_0x553617(0x199)][_0x553617(0x1b6)](this[_0x553617(0x19f)],0x0);}[_0x31f01d(0x1f8)](){const _0xb94aae=_0x31f01d;super[_0xb94aae(0x1f8)](),this[_0xb94aae(0x196)]();}[_0x31f01d(0x1aa)](_0x3c7adc){const _0x1dc4b1=_0x31f01d;super[_0x1dc4b1(0x1aa)](_0x3c7adc),this[_0x1dc4b1(0x1df)]();}[_0x31f01d(0x1e6)](_0x592d56){const _0x3145b4=_0x31f01d;this[_0x3145b4(0x1e1)][_0x3145b4(0x1d6)][_0x3145b4(0x1ef)](_0x592d56)||this[_0x3145b4(0x1e1)][_0x3145b4(0x1d6)][_0x3145b4(0x1b6)](_0x592d56);}[_0x31f01d(0x18b)](_0x576e17){const _0xff574a=_0x31f01d;this[_0xff574a(0x1e1)][_0xff574a(0x1d6)][_0xff574a(0x1ef)](_0x576e17)&&this[_0xff574a(0x1e1)][_0xff574a(0x1d6)][_0xff574a(0x1bf)](_0x576e17);}[_0x31f01d(0x191)](){const _0x221ec9=_0x31f01d;this[_0x221ec9(0x184)]&&(this[_0x221ec9(0x19a)]=!0x0);}[_0x31f01d(0x1eb)](){const _0x3fec67=_0x31f01d;this[_0x3fec67(0x184)]&&(this[_0x3fec67(0x19a)]=!0x1);}[_0x31f01d(0x1bd)]({showApplyButton:_0x35362a,showSuggestButton:_0x5a6eed}){const _0x5b390a=_0x31f01d;_0x35362a=_0x35362a&&!this[_0x5b390a(0x1d0)]&&this[_0x5b390a(0x1c3)][_0x5b390a(0x19b)][_0x5b390a(0x1ed)](_0x5b390a(0x1dd)),_0x5a6eed=_0x5a6eed&&this[_0x5b390a(0x1c3)][_0x5b390a(0x19b)][_0x5b390a(0x1ed)](_0x5b390a(0x1c9)),this[_0x5b390a(0x185)][_0x5b390a(0x1f3)]({'showApplyButton':_0x35362a,'showSuggestButton':_0x5a6eed});}async[_0x31f01d(0x1e0)](_0x4d9377){const _0x310630=_0x31f01d;await this[_0x310630(0x187)][_0x310630(0x1d8)](_0x4d9377);}[_0x31f01d(0x1c8)](){const _0x2d51ac=_0x31f01d;this[_0x2d51ac(0x187)][_0x2d51ac(0x1e4)]();}[_0x31f01d(0x1ca)](_0x45f631){const _0x3c344e=_0x31f01d;this[_0x3c344e(0x1a8)]=new _0x58ae5a(this[_0x3c344e(0x1b0)]),this[_0x3c344e(0x1a8)][_0x3c344e(0x1b3)]({'tag':_0x3c344e(0x1e5),'attributes':{'class':[_0x3c344e(0x1e8)]},'children':[{'tag':_0x3c344e(0x1e5),'attributes':{'class':[_0x3c344e(0x1c4)]},'children':[this[_0x3c344e(0x1a3)](),this[_0x3c344e(0x1f2)]()]},this[_0x3c344e(0x1f5)](_0x45f631[_0x3c344e(0x1e2)])]}),this[_0x3c344e(0x199)][_0x3c344e(0x1b6)](this[_0x3c344e(0x1a8)]);}[_0x31f01d(0x1f1)](){const _0x5664c1=_0x31f01d;this[_0x5664c1(0x1a0)]=new _0x55c82a(this[_0x5664c1(0x1b0)]),this[_0x5664c1(0x199)][_0x5664c1(0x1b6)](this[_0x5664c1(0x1a0)]);}[_0x31f01d(0x1e3)]({showApplyButton:_0x52e93a,showSuggestButton:_0x2bf680}){const _0x3e7c28=_0x31f01d;this[_0x3e7c28(0x185)]=new _0x38d15a(this[_0x3e7c28(0x1b0)],_0x52e93a,_0x2bf680),this[_0x3e7c28(0x185)][_0x3e7c28(0x18c)]?.['on'](_0x3e7c28(0x18a),()=>{const _0x2cdd80=_0x3e7c28;this[_0x2cdd80(0x1b4)](_0x2cdd80(0x1dd));}),this[_0x3e7c28(0x185)][_0x3e7c28(0x1b9)]?.['on'](_0x3e7c28(0x18a),()=>{const _0x4f22f5=_0x3e7c28;this[_0x4f22f5(0x1b4)](_0x4f22f5(0x1c9));}),this[_0x3e7c28(0x185)][_0x3e7c28(0x1c5)](_0x3e7c28(0x1d7))['to'](this,_0x3e7c28(0x1ae),this,_0x3e7c28(0x19a),this,_0x3e7c28(0x198),(_0x5bf9a0,_0xc9b8bb,_0x1b9116)=>!(_0x5bf9a0||_0xc9b8bb||_0x1b9116)),this[_0x3e7c28(0x1bd)]({'showApplyButton':_0x52e93a,'showSuggestButton':_0x2bf680}),this[_0x3e7c28(0x199)][_0x3e7c28(0x1b6)](this[_0x3e7c28(0x185)]);}[_0x31f01d(0x1f5)](_0x385bb7){const _0x17fc58=_0x31f01d;return this[_0x17fc58(0x1e1)]=new _0x3dafb0(this[_0x17fc58(0x1b0)],_0x385bb7),this[_0x17fc58(0x1e1)][_0x17fc58(0x1da)](..._0x2a86cf)['to'](this),this[_0x17fc58(0x1e1)]['on'](_0x17fc58(0x1a5),()=>{const _0x2955c7=_0x17fc58;this[_0x2955c7(0x1e1)][_0x2955c7(0x189)]=!this[_0x2955c7(0x1e1)][_0x2955c7(0x189)],this[_0x2955c7(0x1b4)](_0x2955c7(0x19c),{'showDiff':this[_0x2955c7(0x1e1)][_0x2955c7(0x189)]});}),this[_0x17fc58(0x1e1)][_0x17fc58(0x1c5)](_0x17fc58(0x1d7))['to'](this,_0x17fc58(0x1ae),this,_0x17fc58(0x19a),(_0x1ffb87,_0x1c7fd4)=>!(_0x1ffb87||_0x1c7fd4)),this[_0x17fc58(0x1e1)];}[_0x31f01d(0x1a3)](){const _0x956d57=_0x31f01d;return this[_0x956d57(0x184)]=new _0x14bb72(this[_0x956d57(0x1b0)]),this[_0x956d57(0x184)][_0x956d57(0x1c5)](_0x956d57(0x1a1))['to'](this,_0x956d57(0x19a)),this[_0x956d57(0x184)];}[_0x31f01d(0x1f2)](){const _0x452b94=_0x31f01d;return this[_0x452b94(0x187)]=new _0x5b6c50(this[_0x452b94(0x1b0)]),this[_0x452b94(0x187)];}[_0x31f01d(0x1f7)](){const _0x1084fa=_0x31f01d,_0x14c9b5=new _0x47f436(this[_0x1084fa(0x1b0)]),_0x1ff580=new _0x47f436(this[_0x1084fa(0x1b0)]),_0x56c659=new AIActionsBalloonNavigationCounterView(this[_0x1084fa(0x1b0)]),_0x2f5426=new _0x47f436(this[_0x1084fa(0x1b0)]);_0x14c9b5[_0x1084fa(0x19d)]({'icon':_0x1a855a,'label':_0x28f864(this[_0x1084fa(0x1b0)],_0x1084fa(0x1a4)),'tooltip':!0x0,'class':_0x1084fa(0x1b8)}),_0x1ff580[_0x1084fa(0x19d)]({'icon':_0x335a92,'tooltip':_0x28f864(this[_0x1084fa(0x1b0)],_0x1084fa(0x1af)),'class':_0x1084fa(0x1cf)}),_0x2f5426[_0x1084fa(0x19d)]({'icon':_0x29c553,'tooltip':_0x28f864(this[_0x1084fa(0x1b0)],_0x1084fa(0x1ce)),'class':_0x1084fa(0x190)}),_0x14c9b5[_0x1084fa(0x1c5)](_0x1084fa(0x1d7))['to'](this,_0x1084fa(0x1ae),_0x1b1b8f=>!_0x1b1b8f),_0x14c9b5['on'](_0x1084fa(0x18a),()=>{const _0x3a0cf7=_0x1084fa;this[_0x3a0cf7(0x1b4)](_0x3a0cf7(0x1cc));}),_0x1ff580[_0x1084fa(0x1c5)](_0x1084fa(0x1d7))['to'](this,_0x1084fa(0x1ae),_0x4b2aea=>!_0x4b2aea),_0x1ff580['on'](_0x1084fa(0x18a),()=>{const _0xf20ab5=_0x1084fa;this[_0xf20ab5(0x1b4)](_0xf20ab5(0x1d2));}),_0x2f5426[_0x1084fa(0x1c5)](_0x1084fa(0x1d7))['to'](this,_0x1084fa(0x1ae),_0x28a1b4=>!_0x28a1b4),_0x2f5426['on'](_0x1084fa(0x18a),()=>{const _0x24326f=_0x1084fa;this[_0x24326f(0x1b4)](_0x24326f(0x1bb));}),this[_0x1084fa(0x1f4)]=_0x1ff580,this[_0x1084fa(0x1f9)]=_0x56c659,this[_0x1084fa(0x1ab)]=_0x2f5426,this[_0x1084fa(0x1ee)]=_0x14c9b5;}[_0x31f01d(0x1b5)](_0x231185,_0xb0a0a1){const _0x131b99=_0x31f01d;this[_0x131b99(0x1f4)]||this[_0x131b99(0x1f7)]();const _0x385e89=_0x231185>0x1;if(this[_0x131b99(0x1e6)](this[_0x131b99(0x1ee)]),_0x385e89){this[_0x131b99(0x1e6)](this[_0x131b99(0x1f4)]),this[_0x131b99(0x1e6)](this[_0x131b99(0x1f9)]),this[_0x131b99(0x1e6)](this[_0x131b99(0x1ab)]);const _0x54d386=_0x231185-_0xb0a0a1;this[_0x131b99(0x1f9)][_0x131b99(0x1e7)](_0x54d386+'/'+_0x231185),this[_0x131b99(0x1f4)][_0x131b99(0x1d7)]=_0xb0a0a1<_0x231185-0x1,this[_0x131b99(0x1ab)][_0x131b99(0x1d7)]=_0xb0a0a1>0x0;}else this[_0x131b99(0x18b)](this[_0x131b99(0x1f4)]),this[_0x131b99(0x18b)](this[_0x131b99(0x1f9)]),this[_0x131b99(0x18b)](this[_0x131b99(0x1ab)]);}[_0x31f01d(0x1a6)](){const _0x1ed245=_0x31f01d;this[_0x1ed245(0x1ee)][_0x1ed245(0x1d7)]=!0x1,this[_0x1ed245(0x1f4)][_0x1ed245(0x1d7)]=!0x1,this[_0x1ed245(0x1ab)][_0x1ed245(0x1d7)]=!0x1;}[_0x31f01d(0x1ec)](){const _0x98303d=_0x31f01d;this[_0x98303d(0x1cb)](),this[_0x98303d(0x1d3)]&&this[_0x98303d(0x1d3)][_0x98303d(0x1d5)]();}[_0x31f01d(0x1c6)](){const _0x54051f=_0x31f01d;this[_0x54051f(0x1d3)]&&this[_0x54051f(0x1d3)][_0x54051f(0x18f)]();}[_0x31f01d(0x19e)](_0x288d61){const _0x55619b=_0x31f01d;this[_0x55619b(0x19a)]=_0x288d61;}[_0x31f01d(0x1c0)](){const _0x247e60=_0x31f01d;this[_0x247e60(0x1e1)][_0x247e60(0x189)]=!0x1;}[_0x31f01d(0x1cb)](){const _0x44748f=_0x31f01d,_0x1c00a5=this[_0x44748f(0x1de)]();_0x1c00a5&&!this[_0x44748f(0x1d3)]&&(this[_0x44748f(0x1d3)]=new _0x384307(_0x1c00a5));}[_0x31f01d(0x1de)](){const _0x303d03=_0x31f01d;return this[_0x303d03(0x187)][_0x303d03(0x1c7)];}}class AIActionsBalloonNavigationCounterView extends _0x58ae5a{constructor(_0x524a14){const _0x4f1ed3=_0x31f01d;super(_0x524a14);const _0x35bf0b=this[_0x4f1ed3(0x1f0)];this[_0x4f1ed3(0x19d)](_0x4f1ed3(0x1be),_0x4f1ed3(0x1cd)),this[_0x4f1ed3(0x1b3)]({'tag':_0x4f1ed3(0x1dc),'attributes':{'class':[_0x4f1ed3(0x1ea)]},'children':[{'text':_0x35bf0b['to'](_0x4f1ed3(0x1be))}]});}[_0x31f01d(0x1e7)](_0x541801){const _0xd35271=_0x31f01d;this[_0xd35271(0x19d)](_0xd35271(0x1be),_0x541801);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x43bf(_0x1fda36,_0x248c5f){const _0xdae02a=_0xdae0();return _0x43bf=function(_0x43bf52,_0x14875e){_0x43bf52=_0x43bf52-0x174;let _0x434090=_0xdae02a[_0x43bf52];return _0x434090;},_0x43bf(_0x1fda36,_0x248c5f);}const _0x41aa6d=_0x43bf;function _0xdae0(){const _0x348685=['3454608HwAIay','set','add','70EhZMqi','arrowView','91cGVLBE','extendTemplate','menuitem','ck-dropdown-menu-list__nested-menu__button','22756LVgTZc','485148CfbXJt','bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','964935dBdXTQ','13149030HPDWpP','_createArrowView','mouseenter','30AxUcIH','children','content','537076cEhvhb','render','isOn','93150xYEgwY'];_0xdae0=function(){return _0x348685;};return _0xdae0();}(function(_0x40c40f,_0x5a9d1c){const _0x105882=_0x43bf,_0x1b5d15=_0x40c40f();while(!![]){try{const _0x360edd=-parseInt(_0x105882(0x180))/0x1*(parseInt(_0x105882(0x184))/0x2)+-parseInt(_0x105882(0x17a))/0x3+-parseInt(_0x105882(0x177))/0x4*(parseInt(_0x105882(0x174))/0x5)+-parseInt(_0x105882(0x185))/0x6*(-parseInt(_0x105882(0x17e))/0x7)+parseInt(_0x105882(0x17b))/0x8+-parseInt(_0x105882(0x188))/0x9+parseInt(_0x105882(0x189))/0xa;if(_0x360edd===_0x5a9d1c)break;else _0x1b5d15['push'](_0x1b5d15['shift']());}catch(_0x2274e5){_0x1b5d15['push'](_0x1b5d15['shift']());}}}(_0xdae0,0x8ca20));import{IconView as _0x2c3097,ListItemButtonView as _0x500ddc}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x8b9e31}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x500ddc{[_0x41aa6d(0x17f)];constructor(_0x1c1085,_0xb00652){const _0x95fe0c=_0x41aa6d;super(_0x1c1085,_0xb00652);const _0x1670a9=this[_0x95fe0c(0x186)];this[_0x95fe0c(0x17c)]({'withText':!0x0,'role':_0x95fe0c(0x182)}),this[_0x95fe0c(0x17f)]=this[_0x95fe0c(0x18a)](),this[_0x95fe0c(0x181)]({'attributes':{'class':[_0x95fe0c(0x183)],'aria-haspopup':!0x0,'aria-expanded':this[_0x95fe0c(0x186)]['to'](_0x95fe0c(0x179),_0x43de4a=>String(_0x43de4a)),'data-cke-tooltip-disabled':_0x1670a9['to'](_0x95fe0c(0x179))},'on':{'mouseenter':_0x1670a9['to'](_0x95fe0c(0x18b))}});}[_0x41aa6d(0x178)](){const _0x43dcf0=_0x41aa6d;super[_0x43dcf0(0x178)](),this[_0x43dcf0(0x175)][_0x43dcf0(0x17d)](this[_0x43dcf0(0x17f)]);}[_0x41aa6d(0x18a)](){const _0x478f30=_0x41aa6d,_0x2aee06=new _0x2c3097();return _0x2aee06[_0x478f30(0x176)]=_0x8b9e31,_0x2aee06[_0x478f30(0x181)]({'attributes':{'class':_0x478f30(0x187)}}),_0x2aee06;}}
|