@ckeditor/ckeditor5-ai 47.3.0-alpha.5 → 47.3.0-alpha.7
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/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/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/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/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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/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/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4790fe=_0xa073;function _0xa073(_0x368994,_0x36ebe1){const _0xf78704=_0xf787();return _0xa073=function(_0xa07397,_0x2d86d0){_0xa07397=_0xa07397-0x1b0;let _0x360bc3=_0xf78704[_0xa07397];return _0x360bc3;},_0xa073(_0x368994,_0x36ebe1);}(function(_0x51c6bd,_0x314805){const _0x4a3da4=_0xa073,_0x4d27f9=_0x51c6bd();while(!![]){try{const _0x38fbdd=-parseInt(_0x4a3da4(0x1ea))/0x1*(parseInt(_0x4a3da4(0x1b7))/0x2)+parseInt(_0x4a3da4(0x1b9))/0x3+parseInt(_0x4a3da4(0x1bf))/0x4*(parseInt(_0x4a3da4(0x1dd))/0x5)+parseInt(_0x4a3da4(0x1bd))/0x6+parseInt(_0x4a3da4(0x1c8))/0x7+-parseInt(_0x4a3da4(0x1d7))/0x8*(parseInt(_0x4a3da4(0x1b4))/0x9)+parseInt(_0x4a3da4(0x1bb))/0xa*(-parseInt(_0x4a3da4(0x1c7))/0xb);if(_0x38fbdd===_0x314805)break;else _0x4d27f9['push'](_0x4d27f9['shift']());}catch(_0x5f3a38){_0x4d27f9['push'](_0x4d27f9['shift']());}}}(_0xf787,0x77214));import{Command as _0x1a91cf}from'ckeditor5/src/core.js';function _0xf787(){const _0x321ce2=['schema','ACTION','get','isCollapsed','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','752bsBCbx','label','getSelectedBlocks','chat','setSelection','ask-ai','4228370LOswvM','AITabs','focusPromptInput','model','args','document','editor','_handleAIActionsAction','_handleAIChatAction','AIReviewMode','has','sendMessage','ai-quick-actions-plugin-not-found','59TmxMvO','actionName','_handleAIActionsActionLabel','REVIEW','AIChat','type','_expandSelectionIfCollapsed','locale','47529ooTuIS','startConversation','addSelectionToChatContext','19622LhIfpe','AIActions','1813782wTZswr','displayedPrompt','370ZHrxbV','handleAIReviewAction','1633050VTBKHH','change','4BkiWme','getLimitElement','prompt','AIChatController','other','view','parent','removeSelectionFromChatContext','51832bGMZPX','105840imNtAX','plugins','icon','executeAction','_handleAIReviewAction','CHAT','selection','execute','activateTab','log'];_0xf787=function(){return _0x321ce2;};return _0xf787();}import{CKEditorError as _0x296e23,first as _0x6542be}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4e5207}from'./aiquickactionsui.js';import{getTranslation as _0x256a7f}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x1a91cf{[_0x4790fe(0x1cf)](_0x3c9ec0){const _0x470def=_0x4790fe;switch(this[_0x470def(0x1b2)](),_0x3c9ec0[_0x470def(0x1b1)]){case _0x4e5207[_0x470def(0x1cd)]:if(!this[_0x470def(0x1e3)][_0x470def(0x1c9)][_0x470def(0x1e7)](_0x470def(0x1b0))){const _0x5026d7=_0x256a7f(this[_0x470def(0x1e3)][_0x470def(0x1b3)],_0x470def(0x1d6),_0x470def(0x1b0));throw new _0x296e23(_0x470def(0x1e9),this[_0x470def(0x1e3)],{'errorMessage':_0x5026d7});}this[_0x470def(0x1e5)](_0x3c9ec0);break;case _0x4e5207[_0x470def(0x1d3)]:if(!this[_0x470def(0x1e3)][_0x470def(0x1c9)][_0x470def(0x1e7)](_0x470def(0x1b8))){const _0x5ea9ad=_0x256a7f(this[_0x470def(0x1e3)][_0x470def(0x1b3)],_0x470def(0x1d6),_0x470def(0x1b8));throw new _0x296e23(_0x470def(0x1e9),this[_0x470def(0x1e3)],{'errorMessage':_0x5ea9ad});}this[_0x470def(0x1e4)](_0x3c9ec0);break;case _0x4e5207[_0x470def(0x1ed)]:if(!this[_0x470def(0x1e3)][_0x470def(0x1c9)][_0x470def(0x1e7)](_0x470def(0x1e6))){const _0xa02da6=_0x256a7f(this[_0x470def(0x1e3)][_0x470def(0x1b3)],_0x470def(0x1d6),_0x470def(0x1e6));throw new _0x296e23(_0x470def(0x1e9),this[_0x470def(0x1e3)],{'errorMessage':_0xa02da6});}this[_0x470def(0x1cc)](_0x3c9ec0);}}async[_0x4790fe(0x1e5)](_0x347b9a){const _0x4fc407=_0x4790fe,_0x2cc8f8=this[_0x4fc407(0x1e3)][_0x4fc407(0x1c9)][_0x4fc407(0x1d4)](_0x4fc407(0x1b0)),_0x2ee48d=this[_0x4fc407(0x1e3)][_0x4fc407(0x1c9)][_0x4fc407(0x1d4)](_0x4fc407(0x1c2));if(this[_0x4fc407(0x1e3)][_0x4fc407(0x1c9)][_0x4fc407(0x1d4)](_0x4fc407(0x1de))[_0x4fc407(0x1c4)][_0x4fc407(0x1d0)](_0x4fc407(0x1da)),_0x4fc407(0x1dc)===_0x347b9a['id'])_0x2ee48d[_0x4fc407(0x1c6)](),await _0x2cc8f8[_0x4fc407(0x1b6)](),_0x2cc8f8[_0x4fc407(0x1df)]();else await _0x2cc8f8[_0x4fc407(0x1b5)](),_0x2ee48d[_0x4fc407(0x1c6)](),await _0x2cc8f8[_0x4fc407(0x1b6)](),_0x2cc8f8[_0x4fc407(0x1df)](),await _0x2cc8f8[_0x4fc407(0x1e8)]({'message':_0x347b9a[_0x4fc407(0x1c1)]||_0x347b9a[_0x4fc407(0x1ba)],'quickActionData':{'id':_0x347b9a['id'],'displayedPrompt':_0x347b9a[_0x4fc407(0x1ba)]}});}[_0x4790fe(0x1b2)](){const _0x35ffab=_0x4790fe,_0xf805ea=this[_0x35ffab(0x1e3)],_0x1e943f=_0xf805ea[_0x35ffab(0x1e0)][_0x35ffab(0x1e2)][_0x35ffab(0x1ce)];if(!_0x1e943f[_0x35ffab(0x1d5)])return;const _0x236d8f=_0x6542be(_0x1e943f[_0x35ffab(0x1d9)]())||_0xf805ea[_0x35ffab(0x1e0)][_0x35ffab(0x1d2)][_0x35ffab(0x1c0)](_0x1e943f);_0xf805ea[_0x35ffab(0x1e0)][_0x35ffab(0x1be)](_0x254abf=>{const _0x2d2355=_0x35ffab;_0x254abf[_0x2d2355(0x1db)](_0x236d8f,'in');});}[_0x4790fe(0x1ec)](_0x16f6f7){const _0x308367=_0x4790fe;return _0x16f6f7[_0x308367(0x1c5)]?.[_0x308367(0x1d8)]&&_0x308367(0x1c3)!==_0x16f6f7[_0x308367(0x1c5)]?.['id']?_0x16f6f7[_0x308367(0x1c5)][_0x308367(0x1d8)]+':\x20'+_0x16f6f7[_0x308367(0x1ba)]:_0x16f6f7[_0x308367(0x1ba)];}async[_0x4790fe(0x1e4)](_0xd2e998){const _0x3d963b=_0x4790fe,_0x4448f2=this[_0x3d963b(0x1e3)][_0x3d963b(0x1c9)][_0x3d963b(0x1d4)](_0x3d963b(0x1b8)),_0x37802c=_0xd2e998[_0x3d963b(0x1c1)]?{'userMessage':_0xd2e998[_0x3d963b(0x1c1)],'model':_0xd2e998[_0x3d963b(0x1e0)]}:{'actionName':_0xd2e998[_0x3d963b(0x1eb)]||_0xd2e998['id'],'args':_0xd2e998[_0x3d963b(0x1e1)]},_0x15cd47=this[_0x3d963b(0x1ec)](_0xd2e998);await _0x4448f2[_0x3d963b(0x1cb)](_0x37802c,_0x15cd47,_0xd2e998[_0x3d963b(0x1ca)]);}async[_0x4790fe(0x1cc)](_0x4db06d){const _0x19d9e3=_0x4790fe;console[_0x19d9e3(0x1d1)](_0x19d9e3(0x1bc),_0x4db06d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44fd9f=_0xf689;(function(_0x1633b0,_0x2c7df8){const _0x51d5e5=_0xf689,_0x4ab6dd=_0x1633b0();while(!![]){try{const _0x567196=parseInt(_0x51d5e5(0xef))/0x1+parseInt(_0x51d5e5(0xf7))/0x2+-parseInt(_0x51d5e5(0xf3))/0x3*(parseInt(_0x51d5e5(0xf2))/0x4)+parseInt(_0x51d5e5(0xe0))/0x5+parseInt(_0x51d5e5(0xeb))/0x6*(parseInt(_0x51d5e5(0xe3))/0x7)+parseInt(_0x51d5e5(0xe6))/0x8*(-parseInt(_0x51d5e5(0xe4))/0x9)+-parseInt(_0x51d5e5(0xf5))/0xa;if(_0x567196===_0x2c7df8)break;else _0x4ab6dd['push'](_0x4ab6dd['shift']());}catch(_0x302f58){_0x4ab6dd['push'](_0x4ab6dd['shift']());}}}(_0xb3af,0xeb815));function _0xf689(_0x3ffd7d,_0x3fd362){const _0xb3af1d=_0xb3af();return _0xf689=function(_0xf68921,_0x5cad6c){_0xf68921=_0xf68921-0xdf;let _0x2ba953=_0xb3af1d[_0xf68921];return _0x2ba953;},_0xf689(_0x3ffd7d,_0x3fd362);}function _0xb3af(){const _0x1b0470=['directChange','55979pEgGYv','9Hroyxh','editor','12729896CEmoFT','AIChat','removeSelectionFromChatContext','plugins','selection','396tvAmUj','has','commands','init','1101601iRTvvS','isOfficialPlugin','change:range','1732396sBUlff','3mJfxbr','model','21130710NAvRBj','add','3790662SYZhGd','aiQuickAction','AIQuickActionsEditing','document','isPremiumPlugin','pluginName','7886510AnBmaC','get'];_0xb3af=function(){return _0x1b0470;};return _0xb3af();}import{Plugin as _0x8b25b5}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0xbfdcb9}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x8b25b5{static get[_0x44fd9f(0xdf)](){const _0x1263fc=_0x44fd9f;return _0x1263fc(0xf9);}static get[_0x44fd9f(0xf0)](){return!0x0;}static get[_0x44fd9f(0xfb)](){return!0x0;}[_0x44fd9f(0xee)](){const _0x485cdf=_0x44fd9f,_0x5bc0d9=this[_0x485cdf(0xe5)],_0x130a31=new _0xbfdcb9(this[_0x485cdf(0xe5)]);if(_0x5bc0d9[_0x485cdf(0xed)][_0x485cdf(0xf6)](_0x485cdf(0xf8),_0x130a31),_0x5bc0d9[_0x485cdf(0xe9)][_0x485cdf(0xec)](_0x485cdf(0xe7))){const _0x41ec08=this[_0x485cdf(0xe5)][_0x485cdf(0xe9)][_0x485cdf(0xe1)](_0x485cdf(0xe7));_0x5bc0d9[_0x485cdf(0xf4)][_0x485cdf(0xfa)][_0x485cdf(0xea)]['on'](_0x485cdf(0xf1),(_0x27514c,_0x22d6e9)=>{const _0x3b61a3=_0x485cdf;_0x22d6e9[_0x3b61a3(0xe2)]&&_0x41ec08[_0x3b61a3(0xe8)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x473535=_0x5bce;(function(_0x36fc99,_0x10090f){const _0x3b27af=_0x5bce,_0x2cdb02=_0x36fc99();while(!![]){try{const _0x231def=parseInt(_0x3b27af(0xef))/0x1+parseInt(_0x3b27af(0x100))/0x2+parseInt(_0x3b27af(0x142))/0x3+-parseInt(_0x3b27af(0x186))/0x4+parseInt(_0x3b27af(0x10e))/0x5*(parseInt(_0x3b27af(0x166))/0x6)+parseInt(_0x3b27af(0x168))/0x7+-parseInt(_0x3b27af(0x110))/0x8;if(_0x231def===_0x10090f)break;else _0x2cdb02['push'](_0x2cdb02['shift']());}catch(_0x5c4d57){_0x2cdb02['push'](_0x2cdb02['shift']());}}}(_0x31fd,0x4c770));import{IconAIAdjustLength as _0x1daa13,IconAIChangeTone as _0x3ad661,IconAIChatCommands as _0x231f99,IconAIContinueWriting as _0x2db8b6,IconAIGrammarCheck as _0x3afd8b,IconAIImproveWriting as _0x56b902,IconAIOther as _0x454173,IconAIQuickActions as _0x3a3e55,IconAITranslate as _0x4d7f3a}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xbd6e76}from'ckeditor5/src/core.js';import{CKEditorError as _0x4fa506,logError as _0x5b7dcb}from'ckeditor5/src/utils.js';import{getTranslation as _0x44cbba}from'../aicore/utils/common-translations.js';function _0x31fd(){const _0x296fd8=['componentFactory','includes','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','ai-quick-actions-models-unable-to-retrieve','10jiOEBE','config','6108912emGdMX','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','summarize','ai.quickActions.isSearchEnabled','change-tone','AIChat','find','isOfficialPlugin','CHAT','requires','plugins','ACTION','init','REVIEW','translate-to-english','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate-to-chinese','AI_QUICK_ACTIONS_SUMMARIZE','forEach','_shouldIncludeAction','_initializeQuickActionsComponents','icon','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','fix-grammar','_initializeQuickActionsComponentsAndCommands','chat-commands','AIQuickActionsUI','AI_QUICK_ACTIONS_MORE_FRIENDLY','italian','make-tone-friendly','english','panelView','make-tone-confident','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','getAvailableModels','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','make-tone-direct','chinese','korean','values','filter','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','highlight-key-points','delegate','_getDefaultAndCustomActions','448428EZuCGF','menuitem','french','has','improve-writing','add','translate-to-italian','type','AI_QUICK_ACTIONS_MAKE_LONGER','locale','explain','menu','_prepareQuickActionsDefinition','ai.chat.models.displayedModels','translate-to-portuguese','AI_QUICK_ACTIONS_CHANGE_TONE','close','make-tone-professional','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','execute','focus','AI_QUICK_ACTIONS_OTHER','adjust-length','translate-to-french','AIConnector','displayedPrompt','make-tone-casual','AI_QUICK_ACTIONS_HEADING','label','make-longer','other','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','language','DisplayNames','push','1161192zRMwuN','AI_QUICK_ACTIONS_MORE_DIRECT','2094764zQoHPm','japanese','AIReviewMode','editing','AI_QUICK_ACTIONS_MORE_CASUAL','English','actions','pluginName','spanish','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','get','uiLanguage','map','ai-quick-actions-unavailable-model','editor','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','isEnabled','aiQuickAction','commands','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_ADJUST_LENGTH','length','model','AI_QUICK_ACTIONS_ASK_AI','attachToDom','translate','view','russian','translate-to-japanese','2239768hMMynt','german','translate-to-spanish','message','AIActions','buttonView','continue','AI_QUICK_ACTIONS_CONTINUE_WRITING','219342RGPPUq','isPremiumPlugin','<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>','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','some','children','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_executeQuickAction','set','items','_initializeQuickActionsDropdown','getDefaultQuickActions','portuguese','menuBar:aiQuickActions','translate-to-german','replace','1163244hdMGnd','aiQuickActions','_quickActionsDefinition','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','_initializeQuickActionsMenuBar','ai.quickActions.removeCommands','<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-russian'];_0x31fd=function(){return _0x296fd8;};return _0x31fd();}import{aiQuickActionsDropdownCreator as _0x3e2283}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1c80c8}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x32cbd1,BalloonToolbar as _0x4fb9f6,MenuBarMenuView as _0x184759,MenuBarMenuListView as _0x358c51,MenuBarMenuListItemView as _0x439ce9,MenuBarMenuListItemButtonView as _0x2e9108}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x18f143}from'../aicore/model/aimodels.js';const ae=_0x473535(0x154),se=_0x473535(0xf1),re=_0x473535(0x107);export var AIQuickActionType;!function(_0x52a49d){const _0x501d46=_0x473535;_0x52a49d[_0x501d46(0x119)]=_0x501d46(0x119),_0x52a49d[_0x501d46(0x11c)]=_0x501d46(0x11c),_0x52a49d[_0x501d46(0x11e)]=_0x501d46(0x11e);}(AIQuickActionType||(AIQuickActionType={}));function _0x5bce(_0x5b5141,_0x53555a){const _0x31fd64=_0x31fd();return _0x5bce=function(_0x5bce3a,_0x21b229){_0x5bce3a=_0x5bce3a-0xe8;let _0x1d9f53=_0x31fd64[_0x5bce3a];return _0x1d9f53;},_0x5bce(_0x5b5141,_0x53555a);}export var AIQuickActionTypeToPluginName;!function(_0x9bf1f2){const _0x4a01e8=_0x473535;_0x9bf1f2[_0x4a01e8(0x119)]=_0x4a01e8(0x116),_0x9bf1f2[_0x4a01e8(0x11c)]=_0x4a01e8(0xeb),_0x9bf1f2[_0x4a01e8(0x11e)]=_0x4a01e8(0x16a);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xbd6e76{static get[_0x473535(0x11a)](){return[_0x4fb9f6];}static get[_0x473535(0x16f)](){const _0x31462f=_0x473535;return _0x31462f(0x12b);}static get[_0x473535(0x118)](){return!0x0;}static get[_0x473535(0xf0)](){return!0x0;}async[_0x473535(0x11d)](){const _0x2b49bd=_0x473535,_0x5b11a3=await this[_0x2b49bd(0x141)]();this[_0x2b49bd(0x14e)](_0x5b11a3),this[_0x2b49bd(0x129)]();}static[_0x473535(0xfb)](_0x30ba4d){return function(_0x5a200e){const _0x10ef70=_0x5bce,_0x15e4d1=new Intl[(_0x10ef70(0x164))](['en'],{'type':_0x10ef70(0x163)})['of'](_0x5a200e[_0x10ef70(0x174)]),_0x519f0f=_0x15e4d1||_0x10ef70(0x16d),_0x441256=[{'id':_0x10ef70(0x103),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x180)),'type':AIQuickActionType[_0x10ef70(0x119)],'icon':_0x231f99},{'id':_0x10ef70(0x12a),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x111)),'icon':_0x231f99,'actions':[{'id':_0x10ef70(0x14c),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x132)),'prompt':ae[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]},{'id':_0x10ef70(0x113),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x122)),'prompt':se[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]},{'id':_0x10ef70(0x13f),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x162)),'prompt':re[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]}]},{'id':_0x10ef70(0x146),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x13d)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x56b902},{'id':_0x10ef70(0xed),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xee)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x2db8b6},{'id':_0x10ef70(0x128),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x135)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x3afd8b},{'id':_0x10ef70(0x159),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x17d)),'icon':_0x1daa13,'actions':[{'id':_0x10ef70(0xf2),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x17c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x160),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x14a)),'type':AIQuickActionType[_0x10ef70(0x11c)]}]},{'id':_0x10ef70(0x115),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x151)),'icon':_0x3ad661,'actions':[{'id':_0x10ef70(0x15d),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x16c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x136),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x167)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x12e),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x12c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x131),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x120)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x153),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xf6)),'type':AIQuickActionType[_0x10ef70(0x11c)]}]},{'id':_0x10ef70(0x182),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x13c)),'icon':_0x4d7f3a,'actions':[{'id':_0x10ef70(0x11f),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x127)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x12f)}},{'id':_0x10ef70(0x121),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x13e)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x137)}},{'id':_0x10ef70(0xe9),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x172)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x170)}},{'id':_0x10ef70(0xfe),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x104)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0xe8)}},{'id':_0x10ef70(0x15a),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x155)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x144)}},{'id':_0x10ef70(0x185),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xf3)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x169)}},{'id':_0x10ef70(0x150),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x112)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0xfc)}},{'id':_0x10ef70(0x10b),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x10c)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x138)}},{'id':_0x10ef70(0x148),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x178)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x12d)}},{'id':_0x10ef70(0x108),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x133)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x184)}}]},{'id':_0x10ef70(0x161),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x158)),'icon':_0x454173,'actions':[]}];return _0x441256;}(_0x30ba4d);}async[_0x473535(0x141)](){const _0x2dd9a4=_0x473535,_0x3695c6=AIQuickActionsUI[_0x2dd9a4(0xfb)](this[_0x2dd9a4(0x177)][_0x2dd9a4(0x14b)]),_0x55a626=this[_0x2dd9a4(0x177)][_0x2dd9a4(0x10f)][_0x2dd9a4(0x173)](_0x2dd9a4(0x13b))||[];let _0x175ba6=[];try{_0x175ba6=await new _0x18f143({'connector':this[_0x2dd9a4(0x177)][_0x2dd9a4(0x11b)][_0x2dd9a4(0x173)](_0x2dd9a4(0x15b)),'availableModels':this[_0x2dd9a4(0x177)][_0x2dd9a4(0x10f)][_0x2dd9a4(0x173)](_0x2dd9a4(0x14f))})[_0x2dd9a4(0x134)]();}catch(_0x1c1e50){const _0xf9ae31=new _0x4fa506(_0x2dd9a4(0x10d),this,{'error':_0x1c1e50});_0x5b7dcb(_0xf9ae31[_0x2dd9a4(0xea)]);}finally{const _0x3580e4=_0x55a626[_0x2dd9a4(0x175)](_0x3375f0=>({..._0x3375f0,'icon':void 0x0}));_0x3695c6[_0x2dd9a4(0x117)](_0x39c8bc=>_0x2dd9a4(0x161)===_0x39c8bc['id'])[_0x2dd9a4(0x16e)][_0x2dd9a4(0x165)](..._0x3580e4),_0x3695c6[_0x2dd9a4(0x123)](_0x13123a=>{const _0xf3ae6c=_0x2dd9a4;if(_0xf3ae6c(0x16e)in _0x13123a)_0x13123a[_0xf3ae6c(0x16e)][_0xf3ae6c(0x123)](_0x5ed823=>{const _0x30e1a7=_0xf3ae6c;if(_0x5ed823[_0x30e1a7(0x179)]=!!_0x175ba6[_0x30e1a7(0x117)](_0x2b88df=>_0x2b88df['id']===_0x5ed823[_0x30e1a7(0x17f)])||void 0x0===_0x5ed823[_0x30e1a7(0x17f)],!_0x5ed823[_0x30e1a7(0x179)]){const _0x479e04=new _0x4fa506(_0x30e1a7(0x176),this,{'actionId':_0x5ed823['id'],'modelId':_0x5ed823[_0x30e1a7(0x17f)]});_0x5b7dcb(_0x479e04[_0x30e1a7(0xea)]);}});else{if(_0x13123a[_0xf3ae6c(0x179)]=!!_0x175ba6[_0xf3ae6c(0x117)](_0x42acab=>_0x42acab['id']===_0x13123a[_0xf3ae6c(0x17f)])||void 0x0===_0x13123a[_0xf3ae6c(0x17f)],!_0x13123a[_0xf3ae6c(0x179)]){const _0x596cb8=new _0x4fa506(_0xf3ae6c(0x176),this,{'actionId':_0x13123a['id'],'modelId':_0x13123a[_0xf3ae6c(0x17f)]});_0x5b7dcb(_0x596cb8[_0xf3ae6c(0xea)]);}}});}return _0x3695c6;}[_0x473535(0x129)](){const _0x42ebb6=_0x473535,_0x230086=new _0x32cbd1(this[_0x42ebb6(0x177)][_0x42ebb6(0x14b)]);_0x230086[_0x42ebb6(0x181)](),this[_0x42ebb6(0xfa)](_0x230086),this[_0x42ebb6(0x105)](),this[_0x42ebb6(0x125)](_0x230086);}[_0x473535(0xfa)](_0x4d9284){const _0x18fab2=_0x473535,_0x3ed380=this[_0x18fab2(0x177)][_0x18fab2(0x10f)][_0x18fab2(0x173)](_0x18fab2(0x114))??!0x0;this[_0x18fab2(0x177)]['ui'][_0x18fab2(0x109)][_0x18fab2(0x147)](_0x18fab2(0x101),_0x3e2283({'editor':this[_0x18fab2(0x177)],'content':this[_0x18fab2(0x102)],'buttonDefinition':{'icon':_0x3a3e55,'label':_0x44cbba(this[_0x18fab2(0x177)][_0x18fab2(0x14b)],_0x18fab2(0x15e))},'bodyCollection':_0x4d9284,'hasSearch':_0x3ed380}));}[_0x473535(0x14e)](_0x212988){const _0x375207=_0x473535;this[_0x375207(0x102)]=_0x212988[_0x375207(0x175)](_0x5d2b1d=>{const _0xffc035=_0x375207;if(_0xffc035(0x16e)in _0x5d2b1d){const _0x5665e2=_0x5d2b1d;return{..._0x5665e2,'actions':_0x5665e2[_0xffc035(0x16e)][_0xffc035(0x175)](_0x4bfff4=>{const {actions:_0x4a96b2,..._0x147716}=_0x5665e2;return{..._0x4bfff4,'parent':_0x147716};})[_0xffc035(0x13a)](_0x6b823f=>this[_0xffc035(0x124)](_0x6b823f))};}return _0x5d2b1d;})[_0x375207(0x13a)](_0x38c3d3=>_0x375207(0x16e)in _0x38c3d3?_0x38c3d3[_0x375207(0x16e)][_0x375207(0x17e)]>0x0:this[_0x375207(0x124)](_0x38c3d3));}[_0x473535(0x124)](_0x18c989){const _0x5c4d27=_0x473535,_0x54b07b=this[_0x5c4d27(0x177)][_0x5c4d27(0x10f)][_0x5c4d27(0x173)](_0x5c4d27(0x106))||[];return this[_0x5c4d27(0x177)][_0x5c4d27(0x11b)][_0x5c4d27(0x145)](AIQuickActionTypeToPluginName[_0x18c989[_0x5c4d27(0x149)]])&&!_0x54b07b[_0x5c4d27(0x10a)](_0x18c989['id']);}[_0x473535(0x125)](_0x54a793){const _0x57cc87=_0x473535;this[_0x57cc87(0x102)][_0x57cc87(0x123)](_0x59ddb5=>{const _0x414bf8=_0x57cc87;if(_0x414bf8(0x16e)in _0x59ddb5){const _0x4f772e=_0x3e2283({'editor':this[_0x414bf8(0x177)],'content':_0x59ddb5[_0x414bf8(0x16e)],'buttonDefinition':_0x59ddb5,'bodyCollection':_0x54a793});this[_0x414bf8(0x177)]['ui'][_0x414bf8(0x109)][_0x414bf8(0x147)](_0x59ddb5['id'],_0x4f772e),_0x59ddb5[_0x414bf8(0x16e)][_0x414bf8(0x123)](_0x18993f=>{const _0x3bf0c2=_0x414bf8,_0x5cdd4e=_0x1c80c8({'editor':this[_0x3bf0c2(0x177)],'action':_0x18993f});this[_0x3bf0c2(0x177)]['ui'][_0x3bf0c2(0x109)][_0x3bf0c2(0x147)](_0x18993f['id'],_0x5cdd4e);});}else{const _0x397dc7=_0x1c80c8({'editor':this[_0x414bf8(0x177)],'action':_0x59ddb5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x414bf8(0x177)]['ui'][_0x414bf8(0x109)][_0x414bf8(0x147)](_0x59ddb5['id'],_0x397dc7);}});}[_0x473535(0x105)](){const _0x2ab0dc=_0x473535;this[_0x2ab0dc(0x177)]['ui'][_0x2ab0dc(0x109)][_0x2ab0dc(0x147)](_0x2ab0dc(0xfd),_0x29e416=>{const _0x3d19e9=_0x2ab0dc,_0xbd82cd=new _0x184759(_0x29e416),_0x48cbef=_0x44cbba(_0x29e416,_0x3d19e9(0x15e));_0xbd82cd[_0x3d19e9(0xec)][_0x3d19e9(0xf8)]({'label':_0x48cbef,'icon':_0x3a3e55});const _0x22b4f0=new _0x358c51(_0x29e416);_0x22b4f0[_0x3d19e9(0xf8)]({'ariaLabel':_0x48cbef,'role':_0x3d19e9(0x14d)}),this[_0x3d19e9(0x102)][_0x3d19e9(0x123)](_0x357693=>{const _0x2c0c1f=_0x3d19e9;if(_0x2c0c1f(0x16e)in _0x357693){const _0x227bcc=_0x357693,_0x5072a2=new _0x439ce9(_0x29e416,_0xbd82cd),_0xafa16b=new _0x184759(_0x29e416),_0x1157b5=new _0x358c51(_0x29e416);_0xafa16b[_0x2c0c1f(0xec)][_0x2c0c1f(0xf8)]({'label':_0x227bcc[_0x2c0c1f(0x15f)],'icon':_0x227bcc[_0x2c0c1f(0x126)]}),_0x227bcc[_0x2c0c1f(0x16e)][_0x2c0c1f(0x123)](_0x5380e7=>{const _0x52aea0=_0x2c0c1f,_0x458260=new _0x439ce9(_0x29e416,_0xafa16b),_0x33a28d=new _0x2e9108(_0x29e416);_0x33a28d[_0x52aea0(0xf8)]({'label':_0x5380e7[_0x52aea0(0x15c)],'icon':_0x5380e7[_0x52aea0(0x126)],'role':_0x52aea0(0x143),'isEnabled':_0x5380e7[_0x52aea0(0x179)]}),_0x33a28d['on'](_0x52aea0(0x156),()=>{const _0xa8b92a=_0x52aea0;this[_0xa8b92a(0xf7)](_0x5380e7);}),_0x33a28d[_0x52aea0(0x140)](_0x52aea0(0x156))['to'](_0xafa16b),_0x458260[_0x52aea0(0xf5)][_0x52aea0(0x147)](_0x33a28d),_0x1157b5[_0x52aea0(0xf9)][_0x52aea0(0x147)](_0x458260);}),_0xafa16b[_0x2c0c1f(0x130)][_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0x1157b5),_0x5072a2[_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0xafa16b),_0x22b4f0[_0x2c0c1f(0xf9)][_0x2c0c1f(0x147)](_0x5072a2);}else{const _0x3844d6=_0x357693,_0x5af06c=new _0x439ce9(_0x29e416,_0xbd82cd),_0x17c117=new _0x2e9108(_0x29e416);_0x17c117[_0x2c0c1f(0xf8)]({'label':_0x3844d6[_0x2c0c1f(0x15c)],'icon':_0x3844d6[_0x2c0c1f(0x126)],'role':_0x2c0c1f(0x143),'isEnabled':_0x3844d6[_0x2c0c1f(0x179)]}),_0x17c117['on'](_0x2c0c1f(0x156),()=>{const _0x5a9621=_0x2c0c1f;this[_0x5a9621(0xf7)](_0x3844d6);}),_0x17c117[_0x2c0c1f(0x140)](_0x2c0c1f(0x156))['to'](_0xbd82cd),_0x5af06c[_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0x17c117),_0x22b4f0[_0x2c0c1f(0xf9)][_0x2c0c1f(0x147)](_0x5af06c);}});const _0x56f4c7=Object[_0x3d19e9(0x139)](AIQuickActionTypeToPluginName)[_0x3d19e9(0xf4)](_0x49303d=>this[_0x3d19e9(0x177)][_0x3d19e9(0x11b)][_0x3d19e9(0x145)](_0x49303d));return _0xbd82cd[_0x3d19e9(0xf8)]({'isEnabled':_0x56f4c7}),_0xbd82cd[_0x3d19e9(0x130)][_0x3d19e9(0xf5)][_0x3d19e9(0x147)](_0x22b4f0),_0xbd82cd;});}[_0x473535(0xf7)](_0x6e91a5){const _0x29c7dd=_0x473535,_0xd8e9d9=this[_0x29c7dd(0x177)];_0xd8e9d9[_0x29c7dd(0x16b)][_0x29c7dd(0x183)][_0x29c7dd(0x157)](),_0xd8e9d9[_0x29c7dd(0x17b)][_0x29c7dd(0x156)](_0x29c7dd(0x17a),_0x6e91a5);const _0x1cf952=_0xd8e9d9['ui'][_0x29c7dd(0x183)][_0x29c7dd(0x171)];_0x1cf952&&_0x1cf952[_0x29c7dd(0x152)]&&_0x1cf952[_0x29c7dd(0x152)]();}}
|
|
23
|
+
const _0x51878a=_0x5767;(function(_0x5bbc84,_0x3c74dc){const _0x208b72=_0x5767,_0x2e8f41=_0x5bbc84();while(!![]){try{const _0x35b87d=-parseInt(_0x208b72(0x147))/0x1+parseInt(_0x208b72(0x112))/0x2*(parseInt(_0x208b72(0x10d))/0x3)+parseInt(_0x208b72(0x185))/0x4+parseInt(_0x208b72(0x188))/0x5*(-parseInt(_0x208b72(0x114))/0x6)+parseInt(_0x208b72(0x12a))/0x7+-parseInt(_0x208b72(0x158))/0x8+parseInt(_0x208b72(0x17c))/0x9*(parseInt(_0x208b72(0x10c))/0xa);if(_0x35b87d===_0x3c74dc)break;else _0x2e8f41['push'](_0x2e8f41['shift']());}catch(_0x2ef82c){_0x2e8f41['push'](_0x2e8f41['shift']());}}}(_0xcfa5,0xb5d97));function _0xcfa5(){const _0x3448c2=['AIChat','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','make-tone-direct','isOfficialPlugin','11835405IekwUn','length','find','make-shorter','model','type','menuBarView','forEach','AI_QUICK_ACTIONS_SUMMARIZE','3228688fyLybB','language','french','5eiBVpk','translate-to-german','japanese','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','make-tone-friendly','locale','panelView','has','AI_QUICK_ACTIONS_ASK_AI','plugins','includes','icon','AI_QUICK_ACTIONS_MORE_CASUAL','CHAT','AI_QUICK_ACTIONS_EXPLAIN','ai.quickActions.extraCommands','AIReviewMode','korean','<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>','spanish','values','attachToDom','summarize','AI_QUICK_ACTIONS_ADJUST_LENGTH','focus','ai.quickActions.isSearchEnabled','make-tone-confident','items','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','set','continue','componentFactory','AI_QUICK_ACTIONS_CHANGE_TONE','ai-quick-actions-unavailable-model','translate-to-french','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_CHAT_COMMANDS','20DGVVvB','1311891cwhmqO','editing','pluginName','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','2RuTJli','config','7732086voQOHR','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','view','message','children','isEnabled','improve-writing','translate-to-russian','other','_shouldIncludeAction','chat-commands','add','requires','translate-to-korean','change-tone','make-tone-casual','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_CONFIDENT','fix-grammar','ai-quick-actions-models-unable-to-retrieve','_quickActionsDefinition','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','806085nSHYoL','buttonView','english','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','explain','translate','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AIQuickActionsUI','ACTION','highlight-key-points','aiQuickAction','make-tone-professional','italian','translate-to-spanish','AI_QUICK_ACTIONS_CONTINUE_WRITING','delegate','REVIEW','_initializeQuickActionsDropdown','displayedPrompt','uiLanguage','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','replace','AI_QUICK_ACTIONS_OTHER','ai.chat.models.displayedModels','get','make-longer','1007827RlWeRL','execute','_initializeQuickActionsMenuBar','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsComponents','_executeQuickAction','menuitem','german','AI_QUICK_ACTIONS_MAKE_SHORTER','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIActions','menu','commands','translate-to-english','7586808UpOuin','AI_QUICK_ACTIONS_IMPROVE_WRITING','aiQuickActions','translate-to-japanese','getDefaultQuickActions','label','AI_QUICK_ACTIONS_TRANSLATE','getAvailableModels','editor','translate-to-portuguese','push','_initializeQuickActionsComponentsAndCommands','menuBar:aiQuickActions','ask-ai','portuguese','actions','translate-to-chinese','some','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','isPremiumPlugin','map','<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>','chinese','AIConnector','DisplayNames','close','init','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','filter','English','russian'];_0xcfa5=function(){return _0x3448c2;};return _0xcfa5();}import{IconAIAdjustLength as _0x3f2134,IconAIChangeTone as _0x7a0b1e,IconAIChatCommands as _0x53eed0,IconAIContinueWriting as _0x37717f,IconAIGrammarCheck as _0xe9081,IconAIImproveWriting as _0x2f2ef3,IconAIOther as _0x313c56,IconAIQuickActions as _0xccffc5,IconAITranslate as _0x41261e}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1373f0}from'ckeditor5/src/core.js';import{CKEditorError as _0x1355c0,logError as _0x22e57e}from'ckeditor5/src/utils.js';import{getTranslation as _0x85cae3}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x22e3b3}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0xd2fdb}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x5d4f5a,BalloonToolbar as _0x2535f2,MenuBarMenuView as _0x2a79a5,MenuBarMenuListView as _0x31ee78,MenuBarMenuListItemView as _0x1f2ef7,MenuBarMenuListItemButtonView as _0x493ee2}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x38bc83}from'../aicore/model/aimodels.js';const Wt=_0x51878a(0x131),Bt=_0x51878a(0x19a),Jt=_0x51878a(0x16e);export var AIQuickActionType;!function(_0xa764a0){const _0xd26754=_0x51878a;_0xa764a0[_0xd26754(0x195)]=_0xd26754(0x195),_0xa764a0[_0xd26754(0x135)]=_0xd26754(0x135),_0xa764a0[_0xd26754(0x13d)]=_0xd26754(0x13d);}(AIQuickActionType||(AIQuickActionType={}));function _0x5767(_0x106c6a,_0x551602){const _0xcfa565=_0xcfa5();return _0x5767=function(_0x576759,_0x58ac9d){_0x576759=_0x576759-0xff;let _0x2e5fb2=_0xcfa565[_0x576759];return _0x2e5fb2;},_0x5767(_0x106c6a,_0x551602);}export var AIQuickActionTypeToPluginName;!function(_0x5cdc78){const _0x540025=_0x51878a;_0x5cdc78[_0x540025(0x195)]=_0x540025(0x178),_0x5cdc78[_0x540025(0x135)]=_0x540025(0x154),_0x5cdc78[_0x540025(0x13d)]=_0x540025(0x198);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1373f0{static get[_0x51878a(0x120)](){return[_0x2535f2];}static get[_0x51878a(0x10f)](){const _0x9e51b8=_0x51878a;return _0x9e51b8(0x134);}static get[_0x51878a(0x17b)](){return!0x0;}static get[_0x51878a(0x16c)](){return!0x0;}async[_0x51878a(0x173)](){const _0x18ef12=_0x51878a,_0x4f65e4=await this[_0x18ef12(0x124)]();this[_0x18ef12(0x16a)](_0x4f65e4),this[_0x18ef12(0x163)]();}static[_0x51878a(0x15c)](_0x43bb13){return function(_0x35b695){const _0x135ee7=_0x5767,_0x47fc13=new Intl[(_0x135ee7(0x171))](['en'],{'type':_0x135ee7(0x186)})['of'](_0x35b695[_0x135ee7(0x140)]),_0x2f0d71=_0x47fc13||_0x135ee7(0x176),_0x3bedf1=[{'id':_0x135ee7(0x165),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x190)),'type':AIQuickActionType[_0x135ee7(0x195)],'icon':_0x53eed0},{'id':_0x135ee7(0x11e),'label':_0x85cae3(_0x35b695,_0x135ee7(0x10b)),'icon':_0x53eed0,'actions':[{'id':_0x135ee7(0x12e),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x196)),'prompt':Wt[_0x135ee7(0x142)]('%0',_0x2f0d71),'type':AIQuickActionType[_0x135ee7(0x195)]},{'id':_0x135ee7(0x19e),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x184)),'prompt':Bt[_0x135ee7(0x142)]('%0',_0x2f0d71),'type':AIQuickActionType[_0x135ee7(0x195)]},{'id':_0x135ee7(0x136),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x12d)),'prompt':Jt[_0x135ee7(0x142)]('%0',_0x2f0d71),'type':AIQuickActionType[_0x135ee7(0x195)]}]},{'id':_0x135ee7(0x11a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x159)),'type':AIQuickActionType[_0x135ee7(0x135)],'icon':_0x2f2ef3},{'id':_0x135ee7(0x105),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x13b)),'type':AIQuickActionType[_0x135ee7(0x135)],'icon':_0x37717f},{'id':_0x135ee7(0x126),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x129)),'type':AIQuickActionType[_0x135ee7(0x135)],'icon':_0xe9081},{'id':_0x135ee7(0x111),'label':_0x85cae3(_0x35b695,_0x135ee7(0x19f)),'icon':_0x3f2134,'actions':[{'id':_0x135ee7(0x17f),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x151)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x146),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x110)),'type':AIQuickActionType[_0x135ee7(0x135)]}]},{'id':_0x135ee7(0x122),'label':_0x85cae3(_0x35b695,_0x135ee7(0x107)),'icon':_0x7a0b1e,'actions':[{'id':_0x135ee7(0x123),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x194)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x17a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x132)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x18c),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x14c)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x101),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x125)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x138),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x141)),'type':AIQuickActionType[_0x135ee7(0x135)]}]},{'id':_0x135ee7(0x12f),'label':_0x85cae3(_0x35b695,_0x135ee7(0x15e)),'icon':_0x41261e,'actions':[{'id':_0x135ee7(0x157),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x130)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x12c)}},{'id':_0x135ee7(0x168),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x179)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x16f)}},{'id':_0x135ee7(0x13a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x18b)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x19b)}},{'id':_0x135ee7(0x189),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x133)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x150)}},{'id':_0x135ee7(0x109),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x103)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x187)}},{'id':_0x135ee7(0x15b),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x16b)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x18a)}},{'id':_0x135ee7(0x161),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x115)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x166)}},{'id':_0x135ee7(0x121),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x174)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x199)}},{'id':_0x135ee7(0x14a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x153)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x139)}},{'id':_0x135ee7(0x11b),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x14b)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x177)}}]},{'id':_0x135ee7(0x11c),'label':_0x85cae3(_0x35b695,_0x135ee7(0x143)),'icon':_0x313c56,'actions':[]}];return _0x3bedf1;}(_0x43bb13);}async[_0x51878a(0x124)](){const _0x1e5e9f=_0x51878a,_0x6dacd5=AIQuickActionsUI[_0x1e5e9f(0x15c)](this[_0x1e5e9f(0x160)][_0x1e5e9f(0x18d)]),_0x54f75a=this[_0x1e5e9f(0x160)][_0x1e5e9f(0x113)][_0x1e5e9f(0x145)](_0x1e5e9f(0x197))||[];let _0x304997=[];try{_0x304997=await new _0x38bc83({'connector':this[_0x1e5e9f(0x160)][_0x1e5e9f(0x191)][_0x1e5e9f(0x145)](_0x1e5e9f(0x170)),'availableModels':this[_0x1e5e9f(0x160)][_0x1e5e9f(0x113)][_0x1e5e9f(0x145)](_0x1e5e9f(0x144))})[_0x1e5e9f(0x15f)]();}catch(_0x10e9f9){const _0x25d81f=new _0x1355c0(_0x1e5e9f(0x127),this,{'error':_0x10e9f9});_0x22e57e(_0x25d81f[_0x1e5e9f(0x117)]);}finally{const _0x1e3dcf=_0x54f75a[_0x1e5e9f(0x16d)](_0x5002a3=>({..._0x5002a3,'icon':void 0x0}));_0x6dacd5[_0x1e5e9f(0x17e)](_0x6bb2bf=>_0x1e5e9f(0x11c)===_0x6bb2bf['id'])[_0x1e5e9f(0x167)][_0x1e5e9f(0x162)](..._0x1e3dcf),_0x6dacd5[_0x1e5e9f(0x183)](_0x53e448=>{const _0x3b4191=_0x1e5e9f;if(_0x3b4191(0x167)in _0x53e448)_0x53e448[_0x3b4191(0x167)][_0x3b4191(0x183)](_0x3c0b14=>{const _0x307601=_0x3b4191;if(_0x3c0b14[_0x307601(0x119)]=!!_0x304997[_0x307601(0x17e)](_0x1700b0=>_0x1700b0['id']===_0x3c0b14[_0x307601(0x180)])||void 0x0===_0x3c0b14[_0x307601(0x180)],!_0x3c0b14[_0x307601(0x119)]){const _0x20349e=new _0x1355c0(_0x307601(0x108),this,{'actionId':_0x3c0b14['id'],'modelId':_0x3c0b14[_0x307601(0x180)]});_0x22e57e(_0x20349e[_0x307601(0x117)]);}});else{if(_0x53e448[_0x3b4191(0x119)]=!!_0x304997[_0x3b4191(0x17e)](_0x40900e=>_0x40900e['id']===_0x53e448[_0x3b4191(0x180)])||void 0x0===_0x53e448[_0x3b4191(0x180)],!_0x53e448[_0x3b4191(0x119)]){const _0x107740=new _0x1355c0(_0x3b4191(0x108),this,{'actionId':_0x53e448['id'],'modelId':_0x53e448[_0x3b4191(0x180)]});_0x22e57e(_0x107740[_0x3b4191(0x117)]);}}});}return _0x6dacd5;}[_0x51878a(0x163)](){const _0x47fd36=_0x51878a,_0x11150b=new _0x5d4f5a(this[_0x47fd36(0x160)][_0x47fd36(0x18d)]);_0x11150b[_0x47fd36(0x19d)](),this[_0x47fd36(0x13e)](_0x11150b),this[_0x47fd36(0x149)](),this[_0x47fd36(0x14d)](_0x11150b);}[_0x51878a(0x13e)](_0x5bc930){const _0x4154f9=_0x51878a,_0x131bd2=this[_0x4154f9(0x160)][_0x4154f9(0x113)][_0x4154f9(0x145)](_0x4154f9(0x100))??!0x0;this[_0x4154f9(0x160)]['ui'][_0x4154f9(0x106)][_0x4154f9(0x11f)](_0x4154f9(0x15a),_0x22e3b3({'editor':this[_0x4154f9(0x160)],'content':this[_0x4154f9(0x128)],'buttonDefinition':{'icon':_0xccffc5,'label':_0x85cae3(this[_0x4154f9(0x160)][_0x4154f9(0x18d)],_0x4154f9(0x10a))},'bodyCollection':_0x5bc930,'hasSearch':_0x131bd2}));}[_0x51878a(0x16a)](_0x37d6ce){const _0x7dff5d=_0x51878a;this[_0x7dff5d(0x128)]=_0x37d6ce[_0x7dff5d(0x16d)](_0x1cd48c=>{const _0x2bff7a=_0x7dff5d;if(_0x2bff7a(0x167)in _0x1cd48c){const _0x2b1dda=_0x1cd48c;return{..._0x2b1dda,'actions':_0x2b1dda[_0x2bff7a(0x167)][_0x2bff7a(0x16d)](_0x7f10e0=>{const {actions:_0x53da9a,..._0x53c18c}=_0x2b1dda;return{..._0x7f10e0,'parent':_0x53c18c};})[_0x2bff7a(0x175)](_0x3ab0d3=>this[_0x2bff7a(0x11d)](_0x3ab0d3))};}return _0x1cd48c;})[_0x7dff5d(0x175)](_0xd3e71=>_0x7dff5d(0x167)in _0xd3e71?_0xd3e71[_0x7dff5d(0x167)][_0x7dff5d(0x17d)]>0x0:this[_0x7dff5d(0x11d)](_0xd3e71));}[_0x51878a(0x11d)](_0x4fbb46){const _0x11a0f=_0x51878a,_0x3d7bf4=this[_0x11a0f(0x160)][_0x11a0f(0x113)][_0x11a0f(0x145)](_0x11a0f(0x152))||[];return this[_0x11a0f(0x160)][_0x11a0f(0x191)][_0x11a0f(0x18f)](AIQuickActionTypeToPluginName[_0x4fbb46[_0x11a0f(0x181)]])&&!_0x3d7bf4[_0x11a0f(0x192)](_0x4fbb46['id']);}[_0x51878a(0x14d)](_0x37d98b){const _0x52859f=_0x51878a;this[_0x52859f(0x128)][_0x52859f(0x183)](_0x2ddc4f=>{const _0x867977=_0x52859f;if(_0x867977(0x167)in _0x2ddc4f){const _0xbd5117=_0x22e3b3({'editor':this[_0x867977(0x160)],'content':_0x2ddc4f[_0x867977(0x167)],'buttonDefinition':_0x2ddc4f,'bodyCollection':_0x37d98b});this[_0x867977(0x160)]['ui'][_0x867977(0x106)][_0x867977(0x11f)](_0x2ddc4f['id'],_0xbd5117),_0x2ddc4f[_0x867977(0x167)][_0x867977(0x183)](_0x354db8=>{const _0x12091b=_0x867977,_0x2dc8ec=_0xd2fdb({'editor':this[_0x12091b(0x160)],'action':_0x354db8});this[_0x12091b(0x160)]['ui'][_0x12091b(0x106)][_0x12091b(0x11f)](_0x354db8['id'],_0x2dc8ec);});}else{const _0x5a94d8=_0xd2fdb({'editor':this[_0x867977(0x160)],'action':_0x2ddc4f,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x867977(0x160)]['ui'][_0x867977(0x106)][_0x867977(0x11f)](_0x2ddc4f['id'],_0x5a94d8);}});}[_0x51878a(0x149)](){const _0x5db3c3=_0x51878a;this[_0x5db3c3(0x160)]['ui'][_0x5db3c3(0x106)][_0x5db3c3(0x11f)](_0x5db3c3(0x164),_0x2b0b70=>{const _0x2ce6c3=_0x5db3c3,_0x47d71f=new _0x2a79a5(_0x2b0b70),_0x520910=_0x85cae3(_0x2b0b70,_0x2ce6c3(0x10a));_0x47d71f[_0x2ce6c3(0x12b)][_0x2ce6c3(0x104)]({'label':_0x520910,'icon':_0xccffc5});const _0x463e11=new _0x31ee78(_0x2b0b70);_0x463e11[_0x2ce6c3(0x104)]({'ariaLabel':_0x520910,'role':_0x2ce6c3(0x155)}),this[_0x2ce6c3(0x128)][_0x2ce6c3(0x183)](_0x4d658b=>{const _0x29b808=_0x2ce6c3;if(_0x29b808(0x167)in _0x4d658b){const _0x2c33a8=_0x4d658b,_0x1c1b14=new _0x1f2ef7(_0x2b0b70,_0x47d71f),_0x12b95d=new _0x2a79a5(_0x2b0b70),_0x266567=new _0x31ee78(_0x2b0b70);_0x12b95d[_0x29b808(0x12b)][_0x29b808(0x104)]({'label':_0x2c33a8[_0x29b808(0x15d)],'icon':_0x2c33a8[_0x29b808(0x193)]}),_0x2c33a8[_0x29b808(0x167)][_0x29b808(0x183)](_0x3ca333=>{const _0x4e36e2=_0x29b808,_0x3ee7a6=new _0x1f2ef7(_0x2b0b70,_0x12b95d),_0xefef15=new _0x493ee2(_0x2b0b70);_0xefef15[_0x4e36e2(0x104)]({'label':_0x3ca333[_0x4e36e2(0x13f)],'icon':_0x3ca333[_0x4e36e2(0x193)],'role':_0x4e36e2(0x14f),'isEnabled':_0x3ca333[_0x4e36e2(0x119)]}),_0xefef15['on'](_0x4e36e2(0x148),()=>{const _0x2dc4a3=_0x4e36e2;this[_0x2dc4a3(0x14e)](_0x3ca333);}),_0xefef15[_0x4e36e2(0x13c)](_0x4e36e2(0x148))['to'](_0x12b95d),_0x3ee7a6[_0x4e36e2(0x118)][_0x4e36e2(0x11f)](_0xefef15),_0x266567[_0x4e36e2(0x102)][_0x4e36e2(0x11f)](_0x3ee7a6);}),_0x12b95d[_0x29b808(0x18e)][_0x29b808(0x118)][_0x29b808(0x11f)](_0x266567),_0x1c1b14[_0x29b808(0x118)][_0x29b808(0x11f)](_0x12b95d),_0x463e11[_0x29b808(0x102)][_0x29b808(0x11f)](_0x1c1b14);}else{const _0x504118=_0x4d658b,_0x57607c=new _0x1f2ef7(_0x2b0b70,_0x47d71f),_0x53267a=new _0x493ee2(_0x2b0b70);_0x53267a[_0x29b808(0x104)]({'label':_0x504118[_0x29b808(0x13f)],'icon':_0x504118[_0x29b808(0x193)],'role':_0x29b808(0x14f),'isEnabled':_0x504118[_0x29b808(0x119)]}),_0x53267a['on'](_0x29b808(0x148),()=>{const _0x13bae3=_0x29b808;this[_0x13bae3(0x14e)](_0x504118);}),_0x53267a[_0x29b808(0x13c)](_0x29b808(0x148))['to'](_0x47d71f),_0x57607c[_0x29b808(0x118)][_0x29b808(0x11f)](_0x53267a),_0x463e11[_0x29b808(0x102)][_0x29b808(0x11f)](_0x57607c);}});const _0x2e3d50=Object[_0x2ce6c3(0x19c)](AIQuickActionTypeToPluginName)[_0x2ce6c3(0x169)](_0x2baf5d=>this[_0x2ce6c3(0x160)][_0x2ce6c3(0x191)][_0x2ce6c3(0x18f)](_0x2baf5d));return _0x47d71f[_0x2ce6c3(0x104)]({'isEnabled':_0x2e3d50}),_0x47d71f[_0x2ce6c3(0x18e)][_0x2ce6c3(0x118)][_0x2ce6c3(0x11f)](_0x463e11),_0x47d71f;});}[_0x51878a(0x14e)](_0x4005c3){const _0x1f91c7=_0x51878a,_0x2d89c1=this[_0x1f91c7(0x160)];_0x2d89c1[_0x1f91c7(0x10e)][_0x1f91c7(0x116)][_0x1f91c7(0xff)](),_0x2d89c1[_0x1f91c7(0x156)][_0x1f91c7(0x148)](_0x1f91c7(0x137),_0x4005c3);const _0x8bde6d=_0x2d89c1['ui'][_0x1f91c7(0x116)][_0x1f91c7(0x182)];_0x8bde6d&&_0x8bde6d[_0x1f91c7(0x172)]&&_0x8bde6d[_0x1f91c7(0x172)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x134bed,_0x48ab07){const _0xd221bb=_0x10c0,_0x28326f=_0x134bed();while(!![]){try{const _0x3458bf=parseInt(_0xd221bb(0x127))/0x1*(parseInt(_0xd221bb(0x130))/0x2)+-parseInt(_0xd221bb(0x128))/0x3+-parseInt(_0xd221bb(0x11f))/0x4*(parseInt(_0xd221bb(0x12c))/0x5)+parseInt(_0xd221bb(0x136))/0x6*(parseInt(_0xd221bb(0x12f))/0x7)+parseInt(_0xd221bb(0x124))/0x8+parseInt(_0xd221bb(0x134))/0x9+parseInt(_0xd221bb(0x132))/0xa*(-parseInt(_0xd221bb(0x135))/0xb);if(_0x3458bf===_0x48ab07)break;else _0x28326f['push'](_0x28326f['shift']());}catch(_0xb38cb2){_0x28326f['push'](_0x28326f['shift']());}}}(_0x25a7,0xd30d9));import{ButtonView as _0x41ec81}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5ae941}from'@ckeditor/ckeditor5-icons';function _0x10c0(_0xdec2a6,_0x4999aa){const _0x25a719=_0x25a7();return _0x10c0=function(_0x10c0da,_0x124710){_0x10c0da=_0x10c0da-0x11f;let _0x341789=_0x25a719[_0x10c0da];return _0x341789;},_0x10c0(_0xdec2a6,_0x4999aa);}export function aiQuickActionsButtonCreator(_0x3b4f3c){const {editor:_0x17c3bf,action:_0x5b565b,withText:_0x5af955=!0x1,withIcon:_0x3e2528=!0x0,isInDropdown:_0x549ded=!0x0,shouldPreventFocus:_0x456553=!0x1}=_0x3b4f3c;return()=>{const _0xfb752a=_0x10c0,_0x1103f1=_0x17c3bf[_0xfb752a(0x122)],_0x51357a=new _0x41ec81(_0x1103f1),_0x3ca737=_0x51357a[_0xfb752a(0x123)];_0x549ded&&_0x51357a[_0xfb752a(0x121)]({'on':{'mouseenter':_0x3ca737['to'](()=>{const _0x194157=_0xfb752a;_0x456553&&_0x456553()||_0x51357a[_0x194157(0x129)]();})}});const _0x6ff17a=_0x5b565b[_0xfb752a(0x138)]??_0x5b565b[_0xfb752a(0x139)]?.[_0xfb752a(0x138)];return _0x51357a[_0xfb752a(0x125)]({'label':_0x5b565b[_0xfb752a(0x126)],'withText':_0x5af955,'role':_0xfb752a(0x120),'icon':_0x3e2528?_0x6ff17a??_0x5ae941:void 0x0,'tooltip':!_0x5af955,'class':_0xfb752a(0x133),'isEnabled':_0x5b565b[_0xfb752a(0x12a)]}),_0x51357a['on'](_0xfb752a(0x12e),()=>{const _0x329b72=_0xfb752a;_0x17c3bf[_0x329b72(0x137)][_0x329b72(0x12d)][_0x329b72(0x129)](),_0x17c3bf[_0x329b72(0x12b)][_0x329b72(0x12e)](_0x329b72(0x131),_0x5b565b);}),_0x51357a;};}function _0x25a7(){const _0x20e4f2=['bindTemplate','7578344reNXIq','set','displayedPrompt','365uaplzc','2009055veXrbI','focus','isEnabled','commands','3525AQSHju','view','execute','10832507UBMxdA','2504rIQeXW','aiQuickAction','40kUDwfN','ck-ai-quick-actions-button','9182187rOdQDm','5015461xuHQir','6scQmtI','editing','icon','parent','3484gDFySQ','menuitem','extendTemplate','locale'];_0x25a7=function(){return _0x20e4f2;};return _0x25a7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x121638=_0x10ee;(function(_0x43a0b8,_0x560b26){const _0x5b5e29=_0x10ee,_0x32b84c=_0x43a0b8();while(!![]){try{const _0x221c9d=-parseInt(_0x5b5e29(0x97))/0x1+-parseInt(_0x5b5e29(0xdb))/0x2*(parseInt(_0x5b5e29(0xd3))/0x3)+parseInt(_0x5b5e29(0x7b))/0x4+-parseInt(_0x5b5e29(0xd0))/0x5+parseInt(_0x5b5e29(0xb7))/0x6+-parseInt(_0x5b5e29(0xe9))/0x7+parseInt(_0x5b5e29(0xee))/0x8;if(_0x221c9d===_0x560b26)break;else _0x32b84c['push'](_0x32b84c['shift']());}catch(_0x33fc48){_0x32b84c['push'](_0x32b84c['shift']());}}}(_0x21d0,0x67bd3));import{View as _0x1e1c5b,ListItemView as _0x4d7315,ListView as _0x21114f,BalloonPanelView as _0x42cc37,DropdownMenuPanelPositioningFunctions as _0x2faa24,ViewCollection as _0x483ab5,FocusCycler as _0x2d2d95,ButtonView as _0x55eba0,IconView as _0x5d2d3f,HighlightedTextView as _0x1b40c6,ButtonLabelWithHighlightView as _0x7e57a6,SearchTextView as _0x48ed18}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xe0896b}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x137515,KeystrokeHandler as _0x2cf6c8}from'ckeditor5/src/utils.js';function _0x21d0(){const _0x325a76=['_showNestedPanel','eastSouth','isEnabled','parent','ck-ai-quick-actions-search-result-button','10HwLWmq','bindTemplate','ck-button','_searchTextView','aiQuickAction','_createSearchTextView','items','queryView','focusCycler','addMany','fire','execute','delete','forEach','2670367rTJBXL','focus','get','ck-ai-quick-actions-group-list','_createListItems','6740192Klfaed','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','addEventListener','editing','setTemplate','commands','destroy','children','ck-ai-quick-actions-button','_createSearchResultActionButton','ck-rounded-corners','_createSearchResultIndividualActionButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','push','ck-ai-quick-actions-button_with-group','key','_isMovingToNestedMenu','ck-ai-quick-actions-button_with-group__open-paren','resetSearch','2221288rZptbl','_createSearchResultGroupRow','ck-reset_all','menu','pin','some','focusTracker','fieldView','rtl','locale','extendTemplate','_openNestedPanels','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result__content','span','_createActionButton','ck-button_with-text','ck-ai-quick-actions-search-result__action-row','_createSearchResultActionRow','first','_getPanelKeystroke','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions','_hasSearch','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','.ck-ai-quick-actions-group-button','_hideAllNestedPanels','_handlePanelKeydown','138382hGOowG','mouseleave','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH','reset','ck-dropdown-menu__nested-menu__panel','relatedTarget','_focusables','optionsListView','icon','hide','_setupActionButtonExecution','ck-ai-quick-actions-search-result__group-row','activeElement','keystrokes','.ck-ai-quick-actions-group-panel','view','element','_isSearchFocused','ck-dropdown-menu-list','ck-ai-quick-actions-search','_hideNestedPanel','menuitem','button','clear','text','add','uiLanguageDirection','_createGroupActionsList','ck-ai-quick-actions-search-result-button_with-group','_setupGroupMenuBehavior','displayedPrompt','1969434lIbXTB','_createSearchResultContentView','actions','label','isVisible','isOn','ck-ai-quick-actions-group-button','set','div','ArrowRight','closest','content','show','ownerDocument','ck-ai-quick-actions-button_with-group__close-paren','contains','_bodyCollection','render','ck-ai-quick-actions-button__group-icon','_allSearchableItems','ArrowLeft','_createActionGroupButton','detachFromDom','bind','chain','1436760OFxFmi','role','_createSearchResultGroupedActionButton','296373pmAHsH','ck-ai-quick-actions-group-panel','_getButtonKeystroke'];_0x21d0=function(){return _0x325a76;};return _0x21d0();}import{aiQuickActionsButtonCreator as _0x7e7af8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x550e80}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x52bbd3}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x55605e}from'./aiquickactionsfilteredlistview.js';const ys=_0x121638(0x7e),Ts=_0x121638(0xad);function _0x10ee(_0x4f6735,_0x96ca6d){const _0x21d014=_0x21d0();return _0x10ee=function(_0x10ee1f,_0x2714e8){_0x10ee1f=_0x10ee1f-0x76;let _0x545dc4=_0x21d014[_0x10ee1f];return _0x545dc4;},_0x10ee(_0x4f6735,_0x96ca6d);}export class AIQuickActionsDropdownContentView extends _0x1e1c5b{[_0x121638(0xc7)];[_0x121638(0x9f)];[_0x121638(0xde)]=null;[_0x121638(0xca)]=[];[_0x121638(0xf5)];[_0x121638(0x81)];[_0x121638(0xa5)];[_0x121638(0x9e)];[_0x121638(0xe3)];[_0x121638(0x86)]=new Set();[_0x121638(0x92)];constructor(_0x5f54e9,_0x526d35,_0x5e333c,_0x3403,_0x364c3e=!0x1){const _0x343248=_0x121638,_0x1166b1=_0x5f54e9[_0x343248(0x84)];super(_0x1166b1),this[_0x343248(0xc7)]=_0x3403,this[_0x343248(0x92)]=_0x364c3e;const _0x474f4d=this[_0x343248(0xed)](_0x5f54e9,_0x526d35,_0x5e333c);this[_0x343248(0x9f)]=new _0x55605e(_0x1166b1,_0x474f4d,this[_0x343248(0xca)]),this[_0x343248(0x9f)][_0x343248(0xd1)]=ys,this[_0x343248(0x9f)][_0x343248(0xe1)][_0x343248(0xe4)](_0x474f4d),this[_0x343248(0x81)]=new _0x137515(),this[_0x343248(0xa5)]=new _0x2cf6c8(),_0x364c3e&&(this[_0x343248(0xde)]=this[_0x343248(0xe0)]()),this[_0x343248(0x9e)]=_0x474f4d,this[_0x343248(0xe3)]=new _0x2d2d95({'focusables':this[_0x343248(0x9e)],'focusTracker':this[_0x343248(0x81)],'keystrokeHandler':this[_0x343248(0xa5)]}),_0x364c3e&&this[_0x343248(0xde)]&&this[_0x343248(0xe3)][_0x343248(0xcf)](this[_0x343248(0xde)][_0x343248(0xe3)]);const _0x1c70ac=_0x364c3e&&this[_0x343248(0xde)]?[this[_0x343248(0xde)]]:[this[_0x343248(0x9f)]];this[_0x343248(0xf5)]=new _0x483ab5(_0x1c70ac),this[_0x343248(0xf2)]({'tag':_0x343248(0xbf),'attributes':{'class':['ck',_0x343248(0x7d),_0x343248(0x91),_0x343248(0xf8)],'dir':_0x1166b1[_0x343248(0xb2)]},'children':this[_0x343248(0xf5)]});}[_0x121638(0xe0)](){const _0x534423=_0x121638;return new _0x48ed18(this[_0x534423(0x84)],{'filteredView':this[_0x534423(0x9f)],'queryView':{'label':_0x52bbd3(this[_0x534423(0x84)],_0x534423(0x9a))},'class':_0x534423(0xab),'infoView':{'text':{'notFound':{'primary':_0x52bbd3(this[_0x534423(0x84)],_0x534423(0x93))}}}});}[_0x121638(0xa9)](){const _0x269ab8=_0x121638;if(!this[_0x269ab8(0x92)]||!this[_0x269ab8(0xde)]||!this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)])return!0x1;const _0x59e751=this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)][_0x269ab8(0xc4)]?.[_0x269ab8(0xa4)];return this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)][_0x269ab8(0xc6)](_0x59e751);}[_0x121638(0xed)](_0x251135,_0x26a6fe,_0xa79786){const _0x35bb57=_0x121638,_0x2a968f=new _0x483ab5();return _0x26a6fe[_0x35bb57(0xe8)](_0x493f7b=>{const _0x207da1=_0x35bb57;if(_0x207da1(0xb9)in _0x493f7b){const {listItem:_0x291f06}=this[_0x207da1(0xcc)](_0x251135,_0x493f7b,_0xa79786);_0x2a968f[_0x207da1(0xb1)](_0x291f06),_0x493f7b[_0x207da1(0xb9)][_0x207da1(0xe8)](_0x1b640d=>{const _0x335efb=_0x207da1;this[_0x335efb(0x8a)](_0x251135,_0x1b640d,_0x493f7b[_0x335efb(0xba)],_0x493f7b[_0x335efb(0xa0)]);const {listItem:_0x56aec7,highlightViews:_0x1375cf}=this[_0x335efb(0xf7)](_0x251135,_0x1b640d,_0x493f7b[_0x335efb(0xba)],_0x493f7b[_0x335efb(0xa0)]);this[_0x335efb(0xca)][_0x335efb(0xfb)]({'item':_0x56aec7,'label':_0x1b640d[_0x335efb(0xb6)],'groupLabel':_0x493f7b[_0x335efb(0xba)],'highlightViews':_0x1375cf});});}else{const {listItem:_0x444914}=this[_0x207da1(0x8a)](_0x251135,_0x493f7b);_0x2a968f[_0x207da1(0xb1)](_0x444914);const _0x243296=_0x444914[_0x207da1(0xf5)][_0x207da1(0x8e)];if(_0x243296){const {listItem:_0x18f6ee,highlightViews:_0xdc533e}=this[_0x207da1(0xf7)](_0x251135,_0x493f7b);this[_0x207da1(0xca)][_0x207da1(0xfb)]({'item':_0x18f6ee,'label':_0x243296[_0x207da1(0xba)]||'','highlightViews':_0xdc533e});}}}),_0x2a968f;}[_0x121638(0x8a)](_0x598dc8,_0x1124a1,_0x1ab9e0,_0x381227){const _0x406526=_0x121638,_0x548705=new _0x4d7315(this[_0x406526(0x84)]);if(_0x1ab9e0&&_0x381227){const _0x179637=new _0x55eba0(this[_0x406526(0x84)]),_0xc1a8ae=_0x179637[_0x406526(0xdc)],_0x2e8376=new _0x1b40c6();_0x2e8376[_0x406526(0xb0)]=_0x1124a1[_0x406526(0xb6)];const _0x585230=new _0x1b40c6();_0x585230[_0x406526(0xb0)]=_0x1ab9e0;const _0xe739dd=new _0x5d2d3f();_0xe739dd[_0x406526(0xc2)]=_0x381227,_0xe739dd[_0x406526(0x85)]({'attributes':{'class':_0x406526(0xc9)}});const _0x21965c=new _0x1e1c5b(this[_0x406526(0x84)]);_0x21965c[_0x406526(0xf2)]({'tag':_0x406526(0x89),'attributes':{'class':_0x406526(0x79)},'children':[{'text':'\x20('}]});const _0x280897=new _0x1e1c5b(this[_0x406526(0x84)]);return _0x280897[_0x406526(0xf2)]({'tag':_0x406526(0x89),'attributes':{'class':_0x406526(0xc5)},'children':[{'text':')'}]}),_0x179637[_0x406526(0xbe)]({'label':_0x1124a1[_0x406526(0xb6)]+'\x20('+_0x1ab9e0+')','withText':!0x0,'role':_0x406526(0xad),'class':_0x406526(0xfa),'tooltip':!0x1}),_0x179637[_0x406526(0xf2)]({'tag':_0x406526(0xae),'attributes':{'class':['ck',_0x406526(0xdd),_0x406526(0x8b),_0x406526(0xf6),_0x406526(0x76)],'type':_0x406526(0xae),'role':_0x406526(0xad),'tabindex':'-1'},'children':[_0x2e8376,_0x21965c,_0xe739dd,_0x585230,_0x280897],'on':{'mouseenter':_0xc1a8ae['to'](()=>{const _0x10bbaa=_0x406526;this[_0x10bbaa(0xa9)]()||_0x179637[_0x10bbaa(0xea)]();}),'click':_0xc1a8ae['to'](()=>{const _0x46675c=_0x406526;_0x179637[_0x46675c(0xe5)](_0x46675c(0xe6));})}}),_0x179637['on'](_0x406526(0xe6),()=>{const _0x350ac0=_0x406526;_0x598dc8[_0x350ac0(0xf1)][_0x350ac0(0xa7)][_0x350ac0(0xea)](),_0x598dc8[_0x350ac0(0xf3)][_0x350ac0(0xe6)](_0x350ac0(0xdf),_0x1124a1);}),_0x548705[_0x406526(0xf5)][_0x406526(0xb1)](_0x179637),{'listItem':_0x548705,'highlightViews':[_0x2e8376,_0x585230]};}{const _0x5838fe=new _0x7e57a6(),_0x140ad5=new _0x55eba0(this[_0x406526(0x84)],_0x5838fe),_0x38399f=_0x140ad5[_0x406526(0xdc)],_0x25d5e8=_0x1124a1[_0x406526(0xa0)]??_0x1124a1[_0x406526(0xd9)]?.[_0x406526(0xa0)],_0x4ac312=void 0x0!==_0x1124a1[_0x406526(0xa0)];return _0x140ad5[_0x406526(0xbe)]({'label':_0x1124a1[_0x406526(0xb6)],'withText':!0x0,'role':_0x406526(0xad),'icon':_0x4ac312?_0x25d5e8??_0xe0896b:void 0x0,'tooltip':!0x1,'class':_0x406526(0xf6)}),_0x140ad5[_0x406526(0x85)]({'on':{'mouseenter':_0x38399f['to'](()=>{const _0x26c390=_0x406526;this[_0x26c390(0xa9)]()||_0x140ad5[_0x26c390(0xea)]();})}}),_0x140ad5['on'](_0x406526(0xe6),()=>{const _0x4b9537=_0x406526;_0x598dc8[_0x4b9537(0xf1)][_0x4b9537(0xa7)][_0x4b9537(0xea)](),_0x598dc8[_0x4b9537(0xf3)][_0x4b9537(0xe6)](_0x4b9537(0xdf),_0x1124a1);}),_0x548705[_0x406526(0xf5)][_0x406526(0xb1)](_0x140ad5),{'listItem':_0x548705,'highlightViews':[_0x5838fe]};}}[_0x121638(0xf7)](_0x2d26f3,_0x2ff032,_0x2f6058,_0x16fbb9){const _0x247ac4=_0x121638;return _0x2f6058&&_0x16fbb9?this[_0x247ac4(0xd2)](_0x2d26f3,_0x2ff032,_0x2f6058,_0x16fbb9):this[_0x247ac4(0xf9)](_0x2d26f3,_0x2ff032);}[_0x121638(0xd2)](_0x584033,_0x3eb302,_0x2632db,_0x4e8a80){const _0xf2879a=_0x121638,_0x25d826=new _0x4d7315(this[_0xf2879a(0x84)]),_0x307b64=new _0x55eba0(this[_0xf2879a(0x84)]),_0x459d8d=_0x307b64[_0xf2879a(0xdc)],{view:_0xac4a3,highlightView:_0x29057c}=this[_0xf2879a(0x7c)](_0x2632db,_0x4e8a80),{view:_0x2d452b,highlightView:_0x46b9d2}=this[_0xf2879a(0x8d)](_0x3eb302[_0xf2879a(0xb6)]),_0x1a5b1c=this[_0xf2879a(0xb8)](_0xac4a3,_0x2d452b);return _0x307b64[_0xf2879a(0xbe)]({'label':_0x3eb302[_0xf2879a(0xb6)],'withText':!0x0,'role':_0xf2879a(0xad),'class':_0xf2879a(0xef),'tooltip':!0x1}),_0x307b64[_0xf2879a(0xf2)]({'tag':_0xf2879a(0xae),'attributes':{'class':['ck',_0xf2879a(0xdd),_0xf2879a(0x8b),_0xf2879a(0xf6),_0xf2879a(0xda),_0xf2879a(0xb4)],'type':_0xf2879a(0xae),'role':_0xf2879a(0xad),'tabindex':'-1'},'children':[_0x1a5b1c],'on':{'mouseenter':_0x459d8d['to'](()=>{const _0x482872=_0xf2879a;this[_0x482872(0xa9)]()||_0x307b64[_0x482872(0xea)]();}),'click':_0x459d8d['to'](()=>{const _0x5e4456=_0xf2879a;this[_0x5e4456(0x99)](_0x307b64);})}}),this[_0xf2879a(0xa2)](_0x307b64,_0x584033,_0x3eb302),_0x25d826[_0xf2879a(0xf5)][_0xf2879a(0xb1)](_0x307b64),{'listItem':_0x25d826,'highlightViews':[_0x29057c,_0x46b9d2]};}[_0x121638(0xf9)](_0x2f50a5,_0x548004){const _0x3ee90f=_0x121638,_0x34da94=new _0x4d7315(this[_0x3ee90f(0x84)]),_0x5d3dc6=new _0x7e57a6(),_0x355d75=new _0x55eba0(this[_0x3ee90f(0x84)],_0x5d3dc6),_0x104835=_0x355d75[_0x3ee90f(0xdc)];return _0x355d75[_0x3ee90f(0xbe)]({'label':_0x548004[_0x3ee90f(0xb6)],'withText':!0x0,'role':_0x3ee90f(0xad),'icon':void 0x0,'tooltip':!0x1,'class':_0x3ee90f(0x90)}),_0x355d75[_0x3ee90f(0x85)]({'on':{'mouseenter':_0x104835['to'](()=>{const _0x5eced7=_0x3ee90f;this[_0x5eced7(0xa9)]()||_0x355d75[_0x5eced7(0xea)]();})}}),this[_0x3ee90f(0xa2)](_0x355d75,_0x2f50a5,_0x548004),_0x34da94[_0x3ee90f(0xf5)][_0x3ee90f(0xb1)](_0x355d75),{'listItem':_0x34da94,'highlightViews':[_0x5d3dc6]};}[_0x121638(0x7c)](_0x51fd39,_0x393f07){const _0x2be341=_0x121638,_0xa6b674=new _0x1e1c5b(this[_0x2be341(0x84)]),_0x543d59=new _0x5d2d3f();_0x543d59[_0x2be341(0xc2)]=_0x393f07,_0x543d59[_0x2be341(0x85)]({'attributes':{'class':_0x2be341(0xc9)}});const _0x442058=new _0x1b40c6();return _0x442058[_0x2be341(0xb0)]=_0x51fd39,_0xa6b674[_0x2be341(0xf2)]({'tag':_0x2be341(0xbf),'attributes':{'class':_0x2be341(0xa3)},'children':[_0x543d59,_0x442058]}),{'view':_0xa6b674,'highlightView':_0x442058};}[_0x121638(0x8d)](_0x1c424d){const _0x59f444=_0x121638,_0x5607bb=new _0x1e1c5b(this[_0x59f444(0x84)]),_0x4d7197=new _0x1b40c6();return _0x4d7197[_0x59f444(0xb0)]=_0x1c424d,_0x5607bb[_0x59f444(0xf2)]({'tag':_0x59f444(0xbf),'attributes':{'class':_0x59f444(0x8c)},'children':[_0x4d7197]}),{'view':_0x5607bb,'highlightView':_0x4d7197};}[_0x121638(0xb8)](_0x72d315,_0x221821){const _0x1ec5e6=_0x121638,_0x1b456c=new _0x1e1c5b(this[_0x1ec5e6(0x84)]);return _0x1b456c[_0x1ec5e6(0xf2)]({'tag':_0x1ec5e6(0xbf),'attributes':{'class':_0x1ec5e6(0x88)},'children':[_0x72d315,_0x221821]}),_0x1b456c;}[_0x121638(0xa2)](_0x27eaa9,_0x2600e3,_0x4b4021){const _0x12be5f=_0x121638;_0x27eaa9['on'](_0x12be5f(0xe6),()=>{const _0x30a7e5=_0x12be5f;_0x2600e3[_0x30a7e5(0xf1)][_0x30a7e5(0xa7)][_0x30a7e5(0xea)](),_0x2600e3[_0x30a7e5(0xf3)][_0x30a7e5(0xe6)](_0x30a7e5(0xdf),_0x4b4021);});}[_0x121638(0xcc)](_0xfaecad,_0x2aaaa0,_0x2ad92f){const _0xff5562=_0x121638,_0x5d6e98=new _0x4d7315(this[_0xff5562(0x84)]),_0x26dbc3=new _0x7e57a6(),_0x415853=new _0x550e80(this[_0xff5562(0x84)],_0x26dbc3),_0x1ec4c4=_0x415853[_0xff5562(0xdc)],_0x29ec51=this[_0xff5562(0x8f)](_0x2ad92f),_0xf9c57a=this[_0xff5562(0xb3)](_0xfaecad,_0x2aaaa0[_0xff5562(0xb9)],_0x2ad92f);_0x415853[_0xff5562(0xbe)]({'label':_0x2aaaa0[_0xff5562(0xba)],'withText':!0x0,'role':Ts,'icon':_0x2aaaa0[_0xff5562(0xa0)]??_0xe0896b,'isEnabled':_0x2aaaa0[_0xff5562(0xb9)][_0xff5562(0x80)](_0x219023=>_0x219023[_0xff5562(0xd8)])}),_0x415853[_0xff5562(0x85)]({'on':{'mouseenter':_0x1ec4c4['to'](()=>{const _0x1dc682=_0xff5562;this[_0x1dc682(0xa9)]()||_0x415853[_0x1dc682(0xea)]();})}});const _0x3197eb=new _0x42cc37(this[_0xff5562(0x84)]);return _0x3197eb[_0xff5562(0x85)]({'attributes':{'class':['ck',_0xff5562(0x7d),_0xff5562(0xd4),_0xff5562(0x9c)]},'on':{'keydown':_0x1ec4c4['to'](_0xb33c91=>{const _0x3305a9=_0xff5562;this[_0x3305a9(0x96)](_0xb33c91,_0x29ec51,_0x415853,_0x3197eb);})}}),_0x415853[_0xff5562(0xce)](_0xff5562(0xbc))['to'](_0x3197eb,_0xff5562(0xbb)),this[_0xff5562(0xc7)][_0xff5562(0xb1)](_0x3197eb),_0x3197eb[_0xff5562(0xc2)][_0xff5562(0xb1)](_0xf9c57a),this[_0xff5562(0xb5)](_0x415853,_0x3197eb),_0x5d6e98[_0xff5562(0xf5)][_0xff5562(0xb1)](_0x415853),{'listItem':_0x5d6e98,'highlightView':_0x26dbc3};}[_0x121638(0xb3)](_0x3738d2,_0x21dc2e,_0x12fe95){const _0x1228d3=_0x121638,_0x2ea856=new _0x21114f(this[_0x1228d3(0x84)]);return _0x2ea856[_0x1228d3(0x85)]({'attributes':{'class':['ck',_0x1228d3(0x7d),_0x1228d3(0xec),_0x1228d3(0xaa)]}}),_0x21dc2e[_0x1228d3(0xe8)](_0x125e0c=>{const _0x3d1236=_0x1228d3,_0x59abf2=new _0x4d7315(this[_0x3d1236(0x84)]),_0x5199fa=_0x7e7af8({'editor':_0x3738d2,'action':_0x125e0c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x3d1236(0xa9)]()})();_0x59abf2[_0x3d1236(0xf5)][_0x3d1236(0xb1)](_0x5199fa),_0x12fe95[_0x3d1236(0x81)][_0x3d1236(0xb1)](_0x5199fa),_0x2ea856[_0x3d1236(0xe1)][_0x3d1236(0xb1)](_0x59abf2);}),_0x2ea856;}[_0x121638(0xb5)](_0x2827d2,_0x540883){const _0xc9ffd3=_0x121638,_0x360945=_0x2827d2[_0xc9ffd3(0xdc)],_0x3d0787=this[_0xc9ffd3(0xd5)](_0x2827d2);_0x2827d2[_0xc9ffd3(0x85)]({'attributes':{'class':[_0xc9ffd3(0xbd)]},'on':{'mouseenter':_0x360945['to'](()=>{const _0x2ef847=_0xc9ffd3;this[_0x2ef847(0xd6)](_0x540883,_0x2827d2);}),'mouseleave':_0x360945['to'](_0x3bd32d=>{const _0x56f92b=_0xc9ffd3,_0x38393a=_0x3bd32d[_0x56f92b(0x9d)];this[_0x56f92b(0x78)](_0x38393a,_0x540883)||this[_0x56f92b(0xac)](_0x540883);}),'keydown':_0x360945['to'](_0x236b51=>{const _0x7d66b5=_0xc9ffd3;_0x236b51[_0x7d66b5(0x77)]==_0x3d0787&&(this[_0x7d66b5(0xd6)](_0x540883,_0x2827d2),_0x540883[_0x7d66b5(0xc2)][_0x7d66b5(0xeb)](0x0)[_0x7d66b5(0xea)]());})}}),_0x540883['on'](_0xc9ffd3(0xc8),()=>{const _0x2152fd=_0xc9ffd3;_0x540883[_0x2152fd(0xa8)]?.[_0x2152fd(0xf0)](_0x2152fd(0x98),_0x4cd843=>{const _0x1c267e=_0x2152fd,_0x265a90=_0x4cd843[_0x1c267e(0x9d)];_0x2827d2[_0x1c267e(0xa8)]?.[_0x1c267e(0xc6)](_0x265a90)||this[_0x1c267e(0x78)](_0x265a90,_0x540883)||this[_0x1c267e(0xac)](_0x540883);});});}[_0x121638(0xd6)](_0x460034,_0x4648df){const _0x399939=_0x121638;this[_0x399939(0x86)][_0x399939(0xe8)](_0x3b9084=>{const _0x5f2361=_0x399939;_0x3b9084!==_0x460034&&_0x3b9084[_0x5f2361(0xbb)]&&_0x3b9084[_0x5f2361(0xa1)]();}),_0x460034[_0x399939(0xc3)](),_0x460034[_0x399939(0x7f)]({'positions':[_0x2faa24[_0x399939(0xd7)]],'target':_0x4648df[_0x399939(0xa8)],'fitInViewport':!0x0}),this[_0x399939(0x86)][_0x399939(0xb1)](_0x460034);}[_0x121638(0xac)](_0x9971ff){const _0x3a0124=_0x121638;_0x9971ff[_0x3a0124(0xa1)](),this[_0x3a0124(0x86)][_0x3a0124(0xe7)](_0x9971ff);}[_0x121638(0x95)](){const _0x231e28=_0x121638;this[_0x231e28(0x86)][_0x231e28(0xe8)](_0x4f2c4c=>_0x4f2c4c[_0x231e28(0xa1)]()),this[_0x231e28(0x86)][_0x231e28(0xaf)]();}[_0x121638(0x78)](_0xce40f1,_0x7fd0f5){const _0x43a3f8=_0x121638;if(!_0xce40f1)return!0x1;if(_0x7fd0f5[_0x43a3f8(0xa8)]?.[_0x43a3f8(0xc6)](_0xce40f1))return!0x0;const _0x47e4b7=_0xce40f1;return _0x47e4b7[_0x43a3f8(0xc1)]&&(null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0xa6))||null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0x87))||null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0x94)));}[_0x121638(0x7a)](){const _0x130a49=_0x121638;this[_0x130a49(0xde)]&&this[_0x130a49(0xde)][_0x130a49(0x9b)]();}[_0x121638(0xf4)](){const _0x2b2aa6=_0x121638;this[_0x2b2aa6(0x95)](),this[_0x2b2aa6(0xc7)][_0x2b2aa6(0xcd)](),super[_0x2b2aa6(0xf4)]();}[_0x121638(0xea)](){const _0x265689=_0x121638;this[_0x265689(0xde)]?this[_0x265689(0xde)][_0x265689(0xea)]():this[_0x265689(0x9f)][_0x265689(0xea)]();}[_0x121638(0x8f)](_0x212a74){const _0x568480=_0x121638;return _0x568480(0x83)===_0x212a74[_0x568480(0x84)][_0x568480(0xb2)]?_0x568480(0xc0):_0x568480(0xcb);}[_0x121638(0xd5)](_0xd4370a){const _0x413947=_0x121638;return _0x413947(0x83)===_0xd4370a[_0x413947(0x84)][_0x413947(0xb2)]?_0x413947(0xcb):_0x413947(0xc0);}[_0x121638(0x96)](_0x248d13,_0x5982ac,_0x2aaef2,_0x1504f3){const _0x378ba2=_0x121638;_0x248d13[_0x378ba2(0x77)]==_0x5982ac&&(_0x2aaef2[_0x378ba2(0xea)](),this[_0x378ba2(0xac)](_0x1504f3));}[_0x121638(0x99)](_0x4899f9){const _0x55ce95=_0x121638;_0x4899f9[_0x55ce95(0xe5)](_0x55ce95(0xe6));}}
|
|
23
|
+
const _0x6c500c=_0x56f5;(function(_0x2b27fb,_0x855457){const _0x39323c=_0x56f5,_0x297e46=_0x2b27fb();while(!![]){try{const _0x2ebbfd=parseInt(_0x39323c(0xb7))/0x1*(-parseInt(_0x39323c(0xcd))/0x2)+-parseInt(_0x39323c(0xb8))/0x3+-parseInt(_0x39323c(0x11a))/0x4*(parseInt(_0x39323c(0xc4))/0x5)+parseInt(_0x39323c(0xc8))/0x6+parseInt(_0x39323c(0xeb))/0x7+parseInt(_0x39323c(0x107))/0x8*(-parseInt(_0x39323c(0x12f))/0x9)+parseInt(_0x39323c(0x10f))/0xa*(parseInt(_0x39323c(0xf9))/0xb);if(_0x2ebbfd===_0x855457)break;else _0x297e46['push'](_0x297e46['shift']());}catch(_0x45d105){_0x297e46['push'](_0x297e46['shift']());}}}(_0x2cd8,0xdc1d9));import{View as _0x447a2e,ListItemView as _0x380b6b,ListView as _0x3feba1,BalloonPanelView as _0x4ed007,DropdownMenuPanelPositioningFunctions as _0x2df1a9,ViewCollection as _0x193c07,FocusCycler as _0x1b06d2,ButtonView as _0x31eac1,IconView as _0x5ecb93,HighlightedTextView as _0x1072ac,ButtonLabelWithHighlightView as _0x13f353,SearchTextView as _0x4f144f}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x429a7c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x106e59,KeystrokeHandler as _0x373c45}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0xbf5bf8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1e10ca}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x2db9ee}from'../../aicore/utils/common-translations.js';function _0x56f5(_0x48781a,_0x506c4c){const _0x2cd839=_0x2cd8();return _0x56f5=function(_0x56f5b0,_0x22a20a){_0x56f5b0=_0x56f5b0-0xa8;let _0x2a8d5f=_0x2cd839[_0x56f5b0];return _0x2a8d5f;},_0x56f5(_0x48781a,_0x506c4c);}import{AIQuickActionsFilteredListView as _0x56dc69}from'./aiquickactionsfilteredlistview.js';const Ts=_0x6c500c(0xee),Rs=_0x6c500c(0x108);function _0x2cd8(){const _0x33609b=['_hasSearch','_createSearchResultGroupRow','13643060ZLsuKt','_createSearchResultGroupedActionButton','_allSearchableItems','_isMovingToNestedMenu','addMany','element','extendTemplate','_handlePanelKeydown','some','_createSearchResultActionButton','displayedPrompt','3243364WAuQWJ','mouseleave','ck-ai-quick-actions-button_with-group__close-paren','first','_handleSearchResultButtonClick','ck-ai-quick-actions-group-list','_focusables','optionsListView','ck-ai-quick-actions-button_with-group','detachFromDom','ck-dropdown-menu__nested-menu__panel','_searchTextView','parent','destroy','editing','get','_getPanelKeystroke','_createSearchResultIndividualActionButton','text','_openNestedPanels','focusCycler','747zDfntC','_createGroupActionsList','ArrowRight','closest','_createListItems','addEventListener','_setupGroupMenuBehavior','relatedTarget','ck-ai-quick-actions-search-result-button','reset','_createActionGroupButton','focus','delete','set','ck-dropdown-menu-list','eastSouth','ck-ai-quick-actions-search-result__content','41nIoOhG','1363323CJDmTS','add','.ck-ai-quick-actions-group-button','ck-button_with-text','span','ck-ai-quick-actions-button_with-group__open-paren','focusTracker','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button__group-icon','isVisible','activeElement','isOn','5kdOzqE','label','push','items','7394736AMHsUv','hide','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','chain','ck-ai-quick-actions-group-panel','17846mLjtIT','ck-ai-quick-actions-search-result__action-row','keystrokes','_createSearchTextView','AI_QUICK_ACTIONS_SEARCH','ck-button','ck-ai-quick-actions','resetSearch','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultContentView','fieldView','ck-reset_all','content','button','_setupActionButtonExecution','view','_createSearchResultActionRow','ck-ai-quick-actions-search','uiLanguageDirection','_isSearchFocused','forEach','_hideNestedPanel','_hideAllNestedPanels','locale','contains','role','div','_getButtonKeystroke','key','isEnabled','766318uygmfD','bindTemplate','setTemplate','menu','clear','bind','_bodyCollection','aiQuickAction','_createActionButton','show','icon','actions','execute','.ck-ai-quick-actions-group-list','22LxMtDS','queryView','ownerDocument','children','.ck-ai-quick-actions-group-panel','pin','ck-rounded-corners','ck-ai-quick-actions-search-result__group-row','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','render','ck-ai-quick-actions-button','_showNestedPanel','ck-ai-quick-actions-group-button','148224jGhvvD','menuitem','fire','rtl','ArrowLeft','commands'];_0x2cd8=function(){return _0x33609b;};return _0x2cd8();}export class AIQuickActionsDropdownContentView extends _0x447a2e{[_0x6c500c(0xf1)];[_0x6c500c(0x121)];[_0x6c500c(0x125)]=null;[_0x6c500c(0x111)]=[];[_0x6c500c(0xfc)];[_0x6c500c(0xbe)];[_0x6c500c(0xcf)];[_0x6c500c(0x120)];[_0x6c500c(0x12e)];[_0x6c500c(0x12d)]=new Set();[_0x6c500c(0x10d)];constructor(_0x840913,_0x26cd9e,_0x4ac040,_0x506119,_0x572c28=!0x1){const _0x139444=_0x6c500c,_0x4a3c62=_0x840913[_0x139444(0xe4)];super(_0x4a3c62),this[_0x139444(0xf1)]=_0x506119,this[_0x139444(0x10d)]=_0x572c28;const _0x102c1a=this[_0x139444(0xaa)](_0x840913,_0x26cd9e,_0x4ac040);this[_0x139444(0x121)]=new _0x56dc69(_0x4a3c62,_0x102c1a,this[_0x139444(0x111)]),this[_0x139444(0x121)][_0x139444(0xe6)]=Ts,this[_0x139444(0x121)][_0x139444(0xc7)][_0x139444(0x113)](_0x102c1a),this[_0x139444(0xbe)]=new _0x106e59(),this[_0x139444(0xcf)]=new _0x373c45(),_0x572c28&&(this[_0x139444(0x125)]=this[_0x139444(0xd0)]()),this[_0x139444(0x120)]=_0x102c1a,this[_0x139444(0x12e)]=new _0x1b06d2({'focusables':this[_0x139444(0x120)],'focusTracker':this[_0x139444(0xbe)],'keystrokeHandler':this[_0x139444(0xcf)]}),_0x572c28&&this[_0x139444(0x125)]&&this[_0x139444(0x12e)][_0x139444(0xcb)](this[_0x139444(0x125)][_0x139444(0x12e)]);const _0x38064b=_0x572c28&&this[_0x139444(0x125)]?[this[_0x139444(0x125)]]:[this[_0x139444(0x121)]];this[_0x139444(0xfc)]=new _0x193c07(_0x38064b),this[_0x139444(0xed)]({'tag':_0x139444(0xe7),'attributes':{'class':['ck',_0x139444(0xd8),_0x139444(0xd3),_0x139444(0xff)],'dir':_0x4a3c62[_0x139444(0xdf)]},'children':this[_0x139444(0xfc)]});}[_0x6c500c(0xd0)](){const _0x414fdb=_0x6c500c;return new _0x4f144f(this[_0x414fdb(0xe4)],{'filteredView':this[_0x414fdb(0x121)],'queryView':{'label':_0x2db9ee(this[_0x414fdb(0xe4)],_0x414fdb(0xd1))},'class':_0x414fdb(0xde),'infoView':{'text':{'notFound':{'primary':_0x2db9ee(this[_0x414fdb(0xe4)],_0x414fdb(0x101))}}}});}[_0x6c500c(0xe0)](){const _0x9ca6b4=_0x6c500c;if(!this[_0x9ca6b4(0x10d)]||!this[_0x9ca6b4(0x125)]||!this[_0x9ca6b4(0x125)][_0x9ca6b4(0xfa)][_0x9ca6b4(0xd7)][_0x9ca6b4(0x114)])return!0x1;const _0x36bc32=this[_0x9ca6b4(0x125)][_0x9ca6b4(0xfa)][_0x9ca6b4(0xd7)][_0x9ca6b4(0x114)][_0x9ca6b4(0xfb)]?.[_0x9ca6b4(0xc2)];return this[_0x9ca6b4(0x125)][_0x9ca6b4(0xfa)][_0x9ca6b4(0xd7)][_0x9ca6b4(0x114)][_0x9ca6b4(0xe5)](_0x36bc32);}[_0x6c500c(0xaa)](_0x103338,_0x471866,_0x5c4cea){const _0x2fd3d3=_0x6c500c,_0x1ffbe5=new _0x193c07();return _0x471866[_0x2fd3d3(0xe1)](_0x15d9d2=>{const _0x1851a8=_0x2fd3d3;if(_0x1851a8(0xf6)in _0x15d9d2){const {listItem:_0x1bc778}=this[_0x1851a8(0xb0)](_0x103338,_0x15d9d2,_0x5c4cea);_0x1ffbe5[_0x1851a8(0xb9)](_0x1bc778),_0x15d9d2[_0x1851a8(0xf6)][_0x1851a8(0xe1)](_0x187ac4=>{const _0x4d560b=_0x1851a8;this[_0x4d560b(0xf3)](_0x103338,_0x187ac4,_0x15d9d2[_0x4d560b(0xc5)],_0x15d9d2[_0x4d560b(0xf5)]);const {listItem:_0x60d22,highlightViews:_0x3d2526}=this[_0x4d560b(0x118)](_0x103338,_0x187ac4,_0x15d9d2[_0x4d560b(0xc5)],_0x15d9d2[_0x4d560b(0xf5)]);this[_0x4d560b(0x111)][_0x4d560b(0xc6)]({'item':_0x60d22,'label':_0x187ac4[_0x4d560b(0x119)],'groupLabel':_0x15d9d2[_0x4d560b(0xc5)],'highlightViews':_0x3d2526});});}else{const {listItem:_0x52de52}=this[_0x1851a8(0xf3)](_0x103338,_0x15d9d2);_0x1ffbe5[_0x1851a8(0xb9)](_0x52de52);const _0x2f932a=_0x52de52[_0x1851a8(0xfc)][_0x1851a8(0x11d)];if(_0x2f932a){const {listItem:_0x551241,highlightViews:_0x15eef4}=this[_0x1851a8(0x118)](_0x103338,_0x15d9d2);this[_0x1851a8(0x111)][_0x1851a8(0xc6)]({'item':_0x551241,'label':_0x2f932a[_0x1851a8(0xc5)]||'','highlightViews':_0x15eef4});}}}),_0x1ffbe5;}[_0x6c500c(0xf3)](_0x209538,_0x10467a,_0x5d17e0,_0x1e0423){const _0x10822e=_0x6c500c,_0x1d096c=new _0x380b6b(this[_0x10822e(0xe4)]);if(_0x5d17e0&&_0x1e0423){const _0x2873b1=new _0x31eac1(this[_0x10822e(0xe4)]),_0x78695c=_0x2873b1[_0x10822e(0xec)],_0x2155bb=new _0x1072ac();_0x2155bb[_0x10822e(0x12c)]=_0x10467a[_0x10822e(0x119)];const _0x208e3e=new _0x1072ac();_0x208e3e[_0x10822e(0x12c)]=_0x5d17e0;const _0x4f938a=new _0x5ecb93();_0x4f938a[_0x10822e(0xd9)]=_0x1e0423,_0x4f938a[_0x10822e(0x115)]({'attributes':{'class':_0x10822e(0xc0)}});const _0x466c4c=new _0x447a2e(this[_0x10822e(0xe4)]);_0x466c4c[_0x10822e(0xed)]({'tag':_0x10822e(0xbc),'attributes':{'class':_0x10822e(0xbd)},'children':[{'text':'\x20('}]});const _0x5f5d6c=new _0x447a2e(this[_0x10822e(0xe4)]);return _0x5f5d6c[_0x10822e(0xed)]({'tag':_0x10822e(0xbc),'attributes':{'class':_0x10822e(0x11c)},'children':[{'text':')'}]}),_0x2873b1[_0x10822e(0xb3)]({'label':_0x10467a[_0x10822e(0x119)]+'\x20('+_0x5d17e0+')','withText':!0x0,'role':_0x10822e(0x108),'class':_0x10822e(0xd5),'tooltip':!0x1}),_0x2873b1[_0x10822e(0xed)]({'tag':_0x10822e(0xda),'attributes':{'class':['ck',_0x10822e(0xd2),_0x10822e(0xbb),_0x10822e(0x104),_0x10822e(0x122)],'type':_0x10822e(0xda),'role':_0x10822e(0x108),'tabindex':'-1'},'children':[_0x2155bb,_0x466c4c,_0x4f938a,_0x208e3e,_0x5f5d6c],'on':{'mouseenter':_0x78695c['to'](()=>{const _0x458837=_0x10822e;this[_0x458837(0xe0)]()||_0x2873b1[_0x458837(0xb1)]();}),'click':_0x78695c['to'](()=>{const _0x198d4a=_0x10822e;_0x2873b1[_0x198d4a(0x109)](_0x198d4a(0xf7));})}}),_0x2873b1['on'](_0x10822e(0xf7),()=>{const _0x227c16=_0x10822e;_0x209538[_0x227c16(0x128)][_0x227c16(0xdc)][_0x227c16(0xb1)](),_0x209538[_0x227c16(0x10c)][_0x227c16(0xf7)](_0x227c16(0xf2),_0x10467a);}),_0x1d096c[_0x10822e(0xfc)][_0x10822e(0xb9)](_0x2873b1),{'listItem':_0x1d096c,'highlightViews':[_0x2155bb,_0x208e3e]};}{const _0x5f5065=new _0x13f353(),_0x383e2d=new _0x31eac1(this[_0x10822e(0xe4)],_0x5f5065),_0x2f7cde=_0x383e2d[_0x10822e(0xec)],_0x166c78=_0x10467a[_0x10822e(0xf5)]??_0x10467a[_0x10822e(0x126)]?.[_0x10822e(0xf5)],_0x1c22c5=void 0x0!==_0x10467a[_0x10822e(0xf5)];return _0x383e2d[_0x10822e(0xb3)]({'label':_0x10467a[_0x10822e(0x119)],'withText':!0x0,'role':_0x10822e(0x108),'icon':_0x1c22c5?_0x166c78??_0x429a7c:void 0x0,'tooltip':!0x1,'class':_0x10822e(0x104)}),_0x383e2d[_0x10822e(0x115)]({'on':{'mouseenter':_0x2f7cde['to'](()=>{const _0x2b9657=_0x10822e;this[_0x2b9657(0xe0)]()||_0x383e2d[_0x2b9657(0xb1)]();})}}),_0x383e2d['on'](_0x10822e(0xf7),()=>{const _0x246f4a=_0x10822e;_0x209538[_0x246f4a(0x128)][_0x246f4a(0xdc)][_0x246f4a(0xb1)](),_0x209538[_0x246f4a(0x10c)][_0x246f4a(0xf7)](_0x246f4a(0xf2),_0x10467a);}),_0x1d096c[_0x10822e(0xfc)][_0x10822e(0xb9)](_0x383e2d),{'listItem':_0x1d096c,'highlightViews':[_0x5f5065]};}}[_0x6c500c(0x118)](_0x5bbf7e,_0xaf7596,_0x232c5a,_0x1124be){const _0x428494=_0x6c500c;return _0x232c5a&&_0x1124be?this[_0x428494(0x110)](_0x5bbf7e,_0xaf7596,_0x232c5a,_0x1124be):this[_0x428494(0x12b)](_0x5bbf7e,_0xaf7596);}[_0x6c500c(0x110)](_0x12853d,_0x2f8b98,_0x1da43a,_0x11857a){const _0x2d9fc5=_0x6c500c,_0xf3e99c=new _0x380b6b(this[_0x2d9fc5(0xe4)]),_0x5c4356=new _0x31eac1(this[_0x2d9fc5(0xe4)]),_0x103435=_0x5c4356[_0x2d9fc5(0xec)],{view:_0xba8d32,highlightView:_0x535daf}=this[_0x2d9fc5(0x10e)](_0x1da43a,_0x11857a),{view:_0xebf695,highlightView:_0x594b5f}=this[_0x2d9fc5(0xdd)](_0x2f8b98[_0x2d9fc5(0x119)]),_0x22d943=this[_0x2d9fc5(0xd6)](_0xba8d32,_0xebf695);return _0x5c4356[_0x2d9fc5(0xb3)]({'label':_0x2f8b98[_0x2d9fc5(0x119)],'withText':!0x0,'role':_0x2d9fc5(0x108),'class':_0x2d9fc5(0x102),'tooltip':!0x1}),_0x5c4356[_0x2d9fc5(0xed)]({'tag':_0x2d9fc5(0xda),'attributes':{'class':['ck',_0x2d9fc5(0xd2),_0x2d9fc5(0xbb),_0x2d9fc5(0x104),_0x2d9fc5(0xae),_0x2d9fc5(0xbf)],'type':_0x2d9fc5(0xda),'role':_0x2d9fc5(0x108),'tabindex':'-1'},'children':[_0x22d943],'on':{'mouseenter':_0x103435['to'](()=>{const _0x515718=_0x2d9fc5;this[_0x515718(0xe0)]()||_0x5c4356[_0x515718(0xb1)]();}),'click':_0x103435['to'](()=>{const _0x3533e4=_0x2d9fc5;this[_0x3533e4(0x11e)](_0x5c4356);})}}),this[_0x2d9fc5(0xdb)](_0x5c4356,_0x12853d,_0x2f8b98),_0xf3e99c[_0x2d9fc5(0xfc)][_0x2d9fc5(0xb9)](_0x5c4356),{'listItem':_0xf3e99c,'highlightViews':[_0x535daf,_0x594b5f]};}[_0x6c500c(0x12b)](_0xba8c3d,_0x3edff9){const _0x23fd31=_0x6c500c,_0x2b9847=new _0x380b6b(this[_0x23fd31(0xe4)]),_0x5d5837=new _0x13f353(),_0x4113f9=new _0x31eac1(this[_0x23fd31(0xe4)],_0x5d5837),_0x38f9be=_0x4113f9[_0x23fd31(0xec)];return _0x4113f9[_0x23fd31(0xb3)]({'label':_0x3edff9[_0x23fd31(0x119)],'withText':!0x0,'role':_0x23fd31(0x108),'icon':void 0x0,'tooltip':!0x1,'class':_0x23fd31(0xca)}),_0x4113f9[_0x23fd31(0x115)]({'on':{'mouseenter':_0x38f9be['to'](()=>{const _0x541333=_0x23fd31;this[_0x541333(0xe0)]()||_0x4113f9[_0x541333(0xb1)]();})}}),this[_0x23fd31(0xdb)](_0x4113f9,_0xba8c3d,_0x3edff9),_0x2b9847[_0x23fd31(0xfc)][_0x23fd31(0xb9)](_0x4113f9),{'listItem':_0x2b9847,'highlightViews':[_0x5d5837]};}[_0x6c500c(0x10e)](_0x2b2ed0,_0xb2cc3a){const _0xd0cc6a=_0x6c500c,_0x33b53c=new _0x447a2e(this[_0xd0cc6a(0xe4)]),_0x1b1f54=new _0x5ecb93();_0x1b1f54[_0xd0cc6a(0xd9)]=_0xb2cc3a,_0x1b1f54[_0xd0cc6a(0x115)]({'attributes':{'class':_0xd0cc6a(0xc0)}});const _0x1f9066=new _0x1072ac();return _0x1f9066[_0xd0cc6a(0x12c)]=_0x2b2ed0,_0x33b53c[_0xd0cc6a(0xed)]({'tag':_0xd0cc6a(0xe7),'attributes':{'class':_0xd0cc6a(0x100)},'children':[_0x1b1f54,_0x1f9066]}),{'view':_0x33b53c,'highlightView':_0x1f9066};}[_0x6c500c(0xdd)](_0x52efd2){const _0x134758=_0x6c500c,_0x35d27d=new _0x447a2e(this[_0x134758(0xe4)]),_0x44f6ae=new _0x1072ac();return _0x44f6ae[_0x134758(0x12c)]=_0x52efd2,_0x35d27d[_0x134758(0xed)]({'tag':_0x134758(0xe7),'attributes':{'class':_0x134758(0xce)},'children':[_0x44f6ae]}),{'view':_0x35d27d,'highlightView':_0x44f6ae};}[_0x6c500c(0xd6)](_0x4e33f5,_0x86273b){const _0x269cb4=_0x6c500c,_0x25b569=new _0x447a2e(this[_0x269cb4(0xe4)]);return _0x25b569[_0x269cb4(0xed)]({'tag':_0x269cb4(0xe7),'attributes':{'class':_0x269cb4(0xb6)},'children':[_0x4e33f5,_0x86273b]}),_0x25b569;}[_0x6c500c(0xdb)](_0x4ed0b0,_0xe2c53f,_0x3eda49){const _0x5cf7e8=_0x6c500c;_0x4ed0b0['on'](_0x5cf7e8(0xf7),()=>{const _0x557d15=_0x5cf7e8;_0xe2c53f[_0x557d15(0x128)][_0x557d15(0xdc)][_0x557d15(0xb1)](),_0xe2c53f[_0x557d15(0x10c)][_0x557d15(0xf7)](_0x557d15(0xf2),_0x3eda49);});}[_0x6c500c(0xb0)](_0x579b46,_0x567ac4,_0x466c8b){const _0x2513a0=_0x6c500c,_0x15d0ae=new _0x380b6b(this[_0x2513a0(0xe4)]),_0x3aa020=new _0x13f353(),_0x4344c6=new _0x1e10ca(this[_0x2513a0(0xe4)],_0x3aa020),_0x24e923=_0x4344c6[_0x2513a0(0xec)],_0x3982bc=this[_0x2513a0(0x12a)](_0x466c8b),_0x4ab5ae=this[_0x2513a0(0x130)](_0x579b46,_0x567ac4[_0x2513a0(0xf6)],_0x466c8b);_0x4344c6[_0x2513a0(0xb3)]({'label':_0x567ac4[_0x2513a0(0xc5)],'withText':!0x0,'role':Rs,'icon':_0x567ac4[_0x2513a0(0xf5)]??_0x429a7c,'isEnabled':_0x567ac4[_0x2513a0(0xf6)][_0x2513a0(0x117)](_0x489398=>_0x489398[_0x2513a0(0xea)])}),_0x4344c6[_0x2513a0(0x115)]({'on':{'mouseenter':_0x24e923['to'](()=>{const _0x521bdb=_0x2513a0;this[_0x521bdb(0xe0)]()||_0x4344c6[_0x521bdb(0xb1)]();})}});const _0x59767d=new _0x4ed007(this[_0x2513a0(0xe4)]);return _0x59767d[_0x2513a0(0x115)]({'attributes':{'class':['ck',_0x2513a0(0xd8),_0x2513a0(0xcc),_0x2513a0(0x124)]},'on':{'keydown':_0x24e923['to'](_0x24ce41=>{const _0x276e0b=_0x2513a0;this[_0x276e0b(0x116)](_0x24ce41,_0x3982bc,_0x4344c6,_0x59767d);})}}),_0x4344c6[_0x2513a0(0xf0)](_0x2513a0(0xc3))['to'](_0x59767d,_0x2513a0(0xc1)),this[_0x2513a0(0xf1)][_0x2513a0(0xb9)](_0x59767d),_0x59767d[_0x2513a0(0xd9)][_0x2513a0(0xb9)](_0x4ab5ae),this[_0x2513a0(0xac)](_0x4344c6,_0x59767d),_0x15d0ae[_0x2513a0(0xfc)][_0x2513a0(0xb9)](_0x4344c6),{'listItem':_0x15d0ae,'highlightView':_0x3aa020};}[_0x6c500c(0x130)](_0x1649c6,_0x5a5a01,_0x5d0428){const _0x7ff040=_0x6c500c,_0x5c9c54=new _0x3feba1(this[_0x7ff040(0xe4)]);return _0x5c9c54[_0x7ff040(0x115)]({'attributes':{'class':['ck',_0x7ff040(0xd8),_0x7ff040(0x11f),_0x7ff040(0xb4)]}}),_0x5a5a01[_0x7ff040(0xe1)](_0x4cbdea=>{const _0x4c631e=_0x7ff040,_0x5dca55=new _0x380b6b(this[_0x4c631e(0xe4)]),_0x218c31=_0xbf5bf8({'editor':_0x1649c6,'action':_0x4cbdea,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4c631e(0xe0)]()})();_0x5dca55[_0x4c631e(0xfc)][_0x4c631e(0xb9)](_0x218c31),_0x5d0428[_0x4c631e(0xbe)][_0x4c631e(0xb9)](_0x218c31),_0x5c9c54[_0x4c631e(0xc7)][_0x4c631e(0xb9)](_0x5dca55);}),_0x5c9c54;}[_0x6c500c(0xac)](_0x36d106,_0x4adb1a){const _0x4663e=_0x6c500c,_0x2e5757=_0x36d106[_0x4663e(0xec)],_0x4768ba=this[_0x4663e(0xe8)](_0x36d106);_0x36d106[_0x4663e(0x115)]({'attributes':{'class':[_0x4663e(0x106)]},'on':{'mouseenter':_0x2e5757['to'](()=>{const _0x528478=_0x4663e;this[_0x528478(0x105)](_0x4adb1a,_0x36d106);}),'mouseleave':_0x2e5757['to'](_0x1c0676=>{const _0x2e5797=_0x4663e,_0x12fbec=_0x1c0676[_0x2e5797(0xad)];this[_0x2e5797(0x112)](_0x12fbec,_0x4adb1a)||this[_0x2e5797(0xe2)](_0x4adb1a);}),'keydown':_0x2e5757['to'](_0x2b71a1=>{const _0x24595b=_0x4663e;_0x2b71a1[_0x24595b(0xe9)]==_0x4768ba&&(this[_0x24595b(0x105)](_0x4adb1a,_0x36d106),_0x4adb1a[_0x24595b(0xd9)][_0x24595b(0x129)](0x0)[_0x24595b(0xb1)]());})}}),_0x4adb1a['on'](_0x4663e(0x103),()=>{const _0x10829e=_0x4663e;_0x4adb1a[_0x10829e(0x114)]?.[_0x10829e(0xab)](_0x10829e(0x11b),_0x45bcae=>{const _0xc8c5cd=_0x10829e,_0x316d46=_0x45bcae[_0xc8c5cd(0xad)];_0x36d106[_0xc8c5cd(0x114)]?.[_0xc8c5cd(0xe5)](_0x316d46)||this[_0xc8c5cd(0x112)](_0x316d46,_0x4adb1a)||this[_0xc8c5cd(0xe2)](_0x4adb1a);});});}[_0x6c500c(0x105)](_0x1d06ca,_0x17ab62){const _0x3f03ae=_0x6c500c;this[_0x3f03ae(0x12d)][_0x3f03ae(0xe1)](_0x1850b3=>{const _0x153b63=_0x3f03ae;_0x1850b3!==_0x1d06ca&&_0x1850b3[_0x153b63(0xc1)]&&_0x1850b3[_0x153b63(0xc9)]();}),_0x1d06ca[_0x3f03ae(0xf4)](),_0x1d06ca[_0x3f03ae(0xfe)]({'positions':[_0x2df1a9[_0x3f03ae(0xb5)]],'target':_0x17ab62[_0x3f03ae(0x114)],'fitInViewport':!0x0}),this[_0x3f03ae(0x12d)][_0x3f03ae(0xb9)](_0x1d06ca);}[_0x6c500c(0xe2)](_0x5f5296){const _0x285703=_0x6c500c;_0x5f5296[_0x285703(0xc9)](),this[_0x285703(0x12d)][_0x285703(0xb2)](_0x5f5296);}[_0x6c500c(0xe3)](){const _0x1091c5=_0x6c500c;this[_0x1091c5(0x12d)][_0x1091c5(0xe1)](_0x418d40=>_0x418d40[_0x1091c5(0xc9)]()),this[_0x1091c5(0x12d)][_0x1091c5(0xef)]();}[_0x6c500c(0x112)](_0x574fa9,_0x5b7298){const _0x1bb4cc=_0x6c500c;if(!_0x574fa9)return!0x1;if(_0x5b7298[_0x1bb4cc(0x114)]?.[_0x1bb4cc(0xe5)](_0x574fa9))return!0x0;const _0x133289=_0x574fa9;return _0x133289[_0x1bb4cc(0xa9)]&&(null!==_0x133289[_0x1bb4cc(0xa9)](_0x1bb4cc(0xfd))||null!==_0x133289[_0x1bb4cc(0xa9)](_0x1bb4cc(0xf8))||null!==_0x133289[_0x1bb4cc(0xa9)](_0x1bb4cc(0xba)));}[_0x6c500c(0xd4)](){const _0x43b77e=_0x6c500c;this[_0x43b77e(0x125)]&&this[_0x43b77e(0x125)][_0x43b77e(0xaf)]();}[_0x6c500c(0x127)](){const _0x1c3b07=_0x6c500c;this[_0x1c3b07(0xe3)](),this[_0x1c3b07(0xf1)][_0x1c3b07(0x123)](),super[_0x1c3b07(0x127)]();}[_0x6c500c(0xb1)](){const _0x4d9be0=_0x6c500c;this[_0x4d9be0(0x125)]?this[_0x4d9be0(0x125)][_0x4d9be0(0xb1)]():this[_0x4d9be0(0x121)][_0x4d9be0(0xb1)]();}[_0x6c500c(0x12a)](_0x2bfcef){const _0x4c56df=_0x6c500c;return _0x4c56df(0x10a)===_0x2bfcef[_0x4c56df(0xe4)][_0x4c56df(0xdf)]?_0x4c56df(0xa8):_0x4c56df(0x10b);}[_0x6c500c(0xe8)](_0x217957){const _0x251401=_0x6c500c;return _0x251401(0x10a)===_0x217957[_0x251401(0xe4)][_0x251401(0xdf)]?_0x251401(0x10b):_0x251401(0xa8);}[_0x6c500c(0x116)](_0x25c460,_0x192799,_0x3c5d3b,_0x273e61){const _0x593dda=_0x6c500c;_0x25c460[_0x593dda(0xe9)]==_0x192799&&(_0x3c5d3b[_0x593dda(0xb1)](),this[_0x593dda(0xe2)](_0x273e61));}[_0x6c500c(0x11e)](_0x34de86){const _0x4ee09e=_0x6c500c;_0x34de86[_0x4ee09e(0x109)](_0x4ee09e(0xf7));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4f1937,_0x549f37){const _0x31736d=_0x881b,_0x37a421=_0x4f1937();while(!![]){try{const _0x2dfef3=-parseInt(_0x31736d(0x82))/0x1*(parseInt(_0x31736d(0x92))/0x2)+parseInt(_0x31736d(0x88))/0x3*(-parseInt(_0x31736d(0x7e))/0x4)+-parseInt(_0x31736d(0xa0))/0x5+parseInt(_0x31736d(0xa2))/0x6*(parseInt(_0x31736d(0x90))/0x7)+-parseInt(_0x31736d(0x9b))/0x8*(-parseInt(_0x31736d(0x91))/0x9)+parseInt(_0x31736d(0x8e))/0xa*(parseInt(_0x31736d(0x8b))/0xb)+-parseInt(_0x31736d(0x9e))/0xc*(-parseInt(_0x31736d(0x84))/0xd);if(_0x2dfef3===_0x549f37)break;else _0x37a421['push'](_0x37a421['shift']());}catch(_0x4d4147){_0x37a421['push'](_0x37a421['shift']());}}}(_0x5d20,0xd8006));function _0x881b(_0x4a9d3c,_0x218d6a){const _0x5d2007=_0x5d20();return _0x881b=function(_0x881b23,_0x29208a){_0x881b23=_0x881b23-0x7e;let _0x18b0ad=_0x5d2007[_0x881b23];return _0x18b0ad;},_0x881b(_0x4a9d3c,_0x218d6a);}import{createDropdown as _0x252fe1}from'ckeditor5/src/ui.js';function _0x5d20(){const _0x27d1aa=['12RfmMbt','hideFakeVisualSelection','7359520GaXbIm','label','3306tAnvuS','55324NhJsuv','children','ck-ai-quick-actions-dropdown','get','2762OpBgYj','panelView','14708902SHusuE','plugins','model','showFakeVisualSelection','12MnHzKz','add','locale','264SnOscz','from','set','140260yvvtEz','AIEditing','6181WycozF','45wponCw','906wZNXPy','resetSearch','icon','ai-quick-actions-dropdown-selection','selection','change:isOpen','has','buttonView','document','2733672oNclxX','getRanges','length'];_0x5d20=function(){return _0x27d1aa;};return _0x5d20();}import{IconAIQuickActions as _0x400a84}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0xea09b5}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x5f27fe}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x53c84c){const {editor:_0x49cae4,content:_0x385c48,buttonDefinition:_0x22da33,bodyCollection:_0x9acde,hasSearch:_0x5d0a26=!0x1}=_0x53c84c;return()=>{const _0x243e6b=_0x881b,_0x1d9111=_0x49cae4[_0x243e6b(0x8a)],_0x42c893=_0x252fe1(_0x1d9111);_0x42c893[_0x243e6b(0x99)][_0x243e6b(0x8d)]({'icon':_0x22da33[_0x243e6b(0x94)]??_0x400a84,'label':_0x22da33[_0x243e6b(0xa1)],'tooltip':!0x0}),_0x42c893[_0x243e6b(0x8d)]({'class':_0x243e6b(0x80)});const _0x3c88e0=new _0xea09b5(_0x49cae4,_0x385c48,_0x42c893,_0x9acde,_0x5d0a26);if(_0x42c893[_0x243e6b(0x83)][_0x243e6b(0x7f)][_0x243e6b(0x89)](_0x3c88e0),_0x5d0a26){const _0x59c74b=_0x243e6b(0x95);_0x42c893['on'](_0x243e6b(0x97),(_0x35fb90,_0x3a699f,_0x146949)=>{const _0x487c2f=_0x243e6b;if(_0x146949){if(_0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x98)](_0x487c2f(0x8f))){const _0x17fb77=_0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x81)](_0x5f27fe),_0x43b739=_0x49cae4[_0x487c2f(0x86)][_0x487c2f(0x9a)][_0x487c2f(0x96)],_0x38fe43=Array[_0x487c2f(0x8c)](_0x43b739[_0x487c2f(0x9c)]());_0x38fe43[_0x487c2f(0x9d)]>0x0&&_0x17fb77[_0x487c2f(0x87)](_0x38fe43,_0x59c74b,!0x1,!0x0);}}else _0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x98)](_0x487c2f(0x8f))&&_0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x81)](_0x5f27fe)[_0x487c2f(0x9f)](_0x59c74b),_0x3c88e0[_0x487c2f(0x93)]();});}return _0x42c893;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1ef1(_0x3bf7bf,_0x56c810){const _0x4d0f66=_0x4d0f();return _0x1ef1=function(_0x1ef141,_0x38469c){_0x1ef141=_0x1ef141-0x130;let _0x2ae424=_0x4d0f66[_0x1ef141];return _0x2ae424;},_0x1ef1(_0x3bf7bf,_0x56c810);}const _0xdc9d52=_0x1ef1;(function(_0x857a88,_0x14ca3b){const _0x2bd518=_0x1ef1,_0x1d45fe=_0x857a88();while(!![]){try{const _0x29903b=parseInt(_0x2bd518(0x134))/0x1+-parseInt(_0x2bd518(0x13e))/0x2+parseInt(_0x2bd518(0x130))/0x3+parseInt(_0x2bd518(0x136))/0x4+parseInt(_0x2bd518(0x137))/0x5+-parseInt(_0x2bd518(0x142))/0x6+-parseInt(_0x2bd518(0x145))/0x7*(parseInt(_0x2bd518(0x147))/0x8);if(_0x29903b===_0x14ca3b)break;else _0x1d45fe['push'](_0x1d45fe['shift']());}catch(_0x4d6060){_0x1d45fe['push'](_0x1d45fe['shift']());}}}(_0x4d0f,0x60f0f));import{ListView as _0x336ae7}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x5a4384}from'es-toolkit/compat';function _0x4d0f(){const _0x4e0ecb=['includes','map','filter','toLowerCase','916614WzbpdS','_allListItems','clear','highlightViews','3361188wyvqKj','function','groupLabel','4627kVMWvm','label','6864NfNUrt','_allSearchableItems','source','item','sort','items','length','2306049FzSFFd','forEach','_clearHighlight','trim','684627HrFcRd','_highlightQuery','1828192zgxjOh','361780aNOsYh','highlightText','addMany'];_0x4d0f=function(){return _0x4e0ecb;};return _0x4d0f();}export class AIQuickActionsFilteredListView extends _0x336ae7{[_0xdc9d52(0x13f)];[_0xdc9d52(0x148)];constructor(_0x1e499f,_0x5967d1,_0x49515e){const _0x4adb53=_0xdc9d52;super(_0x1e499f),this[_0x4adb53(0x13f)]=_0x5967d1,this[_0x4adb53(0x148)]=_0x49515e;}[_0xdc9d52(0x13c)](_0x56cc84){const _0xbe695b=_0xdc9d52;if(!_0x56cc84)return this[_0xbe695b(0x14c)][_0xbe695b(0x140)](),this[_0xbe695b(0x14c)][_0xbe695b(0x139)](this[_0xbe695b(0x13f)]),this[_0xbe695b(0x132)](),{'resultsCount':this[_0xbe695b(0x13f)][_0xbe695b(0x14d)],'totalItemsCount':this[_0xbe695b(0x13f)][_0xbe695b(0x14d)]};const _0x55dfda=_0x56cc84[_0xbe695b(0x149)][_0xbe695b(0x13d)]()[_0xbe695b(0x133)](),_0x34633a=this[_0xbe695b(0x148)][_0xbe695b(0x13c)](_0xa68100=>(_0xa68100[_0xbe695b(0x144)]?_0xa68100[_0xbe695b(0x146)]+'\x20('+_0xa68100[_0xbe695b(0x144)]+')':_0xa68100[_0xbe695b(0x146)])[_0xbe695b(0x13d)]()[_0xbe695b(0x13a)](_0x55dfda));return this[_0xbe695b(0x14c)][_0xbe695b(0x140)](),this[_0xbe695b(0x14c)][_0xbe695b(0x139)](_0x34633a[_0xbe695b(0x14b)]((_0x447817,_0x343951)=>{const _0x351c4f=_0xbe695b,_0x27096a=_0x447817[_0x351c4f(0x144)],_0x56eabe=_0x343951[_0x351c4f(0x144)];return _0x27096a||_0x56eabe?_0x27096a?0x1:-0x1:0x0;})[_0xbe695b(0x13b)](_0x220a7b=>_0x220a7b[_0xbe695b(0x14a)])),this[_0xbe695b(0x135)](_0x55dfda,_0x34633a),{'resultsCount':_0x34633a[_0xbe695b(0x14d)],'totalItemsCount':this[_0xbe695b(0x148)][_0xbe695b(0x14d)]};}[_0xdc9d52(0x135)](_0x5eb60e,_0x492169){const _0x4019b0=_0xdc9d52;if(!_0x5eb60e)return;const _0x486138=new RegExp(_0x5a4384(_0x5eb60e),'gi');_0x492169[_0x4019b0(0x131)](_0x797dc1=>{const _0x5b33d9=_0x4019b0;_0x797dc1[_0x5b33d9(0x141)]&&_0x797dc1[_0x5b33d9(0x141)][_0x5b33d9(0x131)](_0x507dfe=>{const _0x416722=_0x5b33d9;_0x416722(0x143)==typeof _0x507dfe[_0x416722(0x138)]&&_0x507dfe[_0x416722(0x138)](_0x486138);});});}[_0xdc9d52(0x132)](){const _0x5dfd71=_0xdc9d52;this[_0x5dfd71(0x148)][_0x5dfd71(0x131)](_0x210b04=>{const _0x5d3a46=_0x5dfd71;_0x210b04[_0x5d3a46(0x141)]&&_0x210b04[_0x5d3a46(0x141)][_0x5d3a46(0x131)](_0x56b629=>{const _0x2c6d97=_0x5d3a46;_0x2c6d97(0x143)==typeof _0x56b629[_0x2c6d97(0x138)]&&_0x56b629[_0x2c6d97(0x138)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3661(){const _0x2ab977=['content','menuitem','660200dBtXCp','1460735UklXLf','isOn','add','set','8236096tWbfVK','bindTemplate','84EQBmHL','737320oRadUc','154902pQbCgu','ck-dropdown-menu-list__nested-menu__button','render','arrowView','313629dTAFyG','ck-dropdown-menu-list__nested-menu__button__arrow','334646RDrcPL','extendTemplate','_createArrowView','children','mouseenter'];_0x3661=function(){return _0x2ab977;};return _0x3661();}function _0x51ee(_0x5d620f,_0x21cfe5){const _0x3661ef=_0x3661();return _0x51ee=function(_0x51ee2e,_0xc7e7e0){_0x51ee2e=_0x51ee2e-0x15a;let _0x2956ed=_0x3661ef[_0x51ee2e];return _0x2956ed;},_0x51ee(_0x5d620f,_0x21cfe5);}const _0x14ac84=_0x51ee;(function(_0x5a11ac,_0x557858){const _0x554b51=_0x51ee,_0x824755=_0x5a11ac();while(!![]){try{const _0x39a3b3=-parseInt(_0x554b51(0x16e))/0x1+-parseInt(_0x554b51(0x167))/0x2+parseInt(_0x554b51(0x16c))/0x3+-parseInt(_0x554b51(0x15f))/0x4+parseInt(_0x554b51(0x160))/0x5+parseInt(_0x554b51(0x168))/0x6*(-parseInt(_0x554b51(0x166))/0x7)+parseInt(_0x554b51(0x164))/0x8;if(_0x39a3b3===_0x557858)break;else _0x824755['push'](_0x824755['shift']());}catch(_0x552668){_0x824755['push'](_0x824755['shift']());}}}(_0x3661,0x3c8ea));import{IconView as _0x55f3a4,ListItemButtonView as _0x53aa48}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x2dc7c4}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x53aa48{[_0x14ac84(0x16b)];constructor(_0x3571ef,_0x167a7e){const _0x3d41bd=_0x14ac84;super(_0x3571ef,_0x167a7e);const _0x528c3b=this[_0x3d41bd(0x165)];this[_0x3d41bd(0x163)]({'withText':!0x0,'role':_0x3d41bd(0x15e)}),this[_0x3d41bd(0x16b)]=this[_0x3d41bd(0x15a)](),this[_0x3d41bd(0x16f)]({'attributes':{'class':[_0x3d41bd(0x169)],'aria-haspopup':!0x0,'aria-expanded':this[_0x3d41bd(0x165)]['to'](_0x3d41bd(0x161),_0x5b18b4=>String(_0x5b18b4)),'data-cke-tooltip-disabled':_0x528c3b['to'](_0x3d41bd(0x161))},'on':{'mouseenter':_0x528c3b['to'](_0x3d41bd(0x15c))}});}[_0x14ac84(0x16a)](){const _0x1beaf5=_0x14ac84;super[_0x1beaf5(0x16a)](),this[_0x1beaf5(0x15b)][_0x1beaf5(0x162)](this[_0x1beaf5(0x16b)]);}[_0x14ac84(0x15a)](){const _0x45169d=_0x14ac84,_0xb6b45e=new _0x55f3a4();return _0xb6b45e[_0x45169d(0x15d)]=_0x2dc7c4,_0xb6b45e[_0x45169d(0x16f)]({'attributes':{'class':_0x45169d(0x16d)}}),_0xb6b45e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36850a=_0x3389;(function(_0x226d6c,_0x51119b){const _0x23205f=_0x3389,_0x43755a=_0x226d6c();while(!![]){try{const _0x41f61c=-parseInt(_0x23205f(0x96))/0x1*(parseInt(_0x23205f(0xb6))/0x2)+parseInt(_0x23205f(0x76))/0x3*(-parseInt(_0x23205f(0x99))/0x4)+parseInt(_0x23205f(0x8e))/0x5+parseInt(_0x23205f(0xa0))/0x6+parseInt(_0x23205f(0x82))/0x7*(parseInt(_0x23205f(0x87))/0x8)+-parseInt(_0x23205f(0x7b))/0x9*(parseInt(_0x23205f(0xae))/0xa)+-parseInt(_0x23205f(0x9a))/0xb;if(_0x41f61c===_0x51119b)break;else _0x43755a['push'](_0x43755a['shift']());}catch(_0x3ab1e9){_0x43755a['push'](_0x43755a['shift']());}}}(_0x230c,0x8522e));function _0x230c(){const _0x538ffb=['confident','spanish','german','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','russian','5018315bGbYPM','portuguese','Translate\x20the\x20text\x20into\x20another\x20language.','english','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','longer','Italian','french','10cOmvMe','Portuguese','Korean','4eqagbs','1522048PCAXrW','language','French','Longer','japanese','Adjust\x20tone\x20and\x20style','1822428wJCovF','Adjust\x20length','make-tone','Friendly','Confident','professional','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','friendly','Japanese','dropdown','shorter','Readability','Professional','Custom\x20command','293510BwSrKR','italian','translate','clarity','custom','korean','make','Russian','115716zHEptP','Clarity','Translate','Direct','English','49929gCMziG','readability','chinese','Shorter','Casual','144tfAjpn','Correctness','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','German','direct','correctness','257327sQqNFb','Chinese\x20(Simplified)','casual','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Spanish','96FpvTZz','Select\x20language'];_0x230c=function(){return _0x538ffb;};return _0x230c();}function _0x3389(_0x164203,_0x202978){const _0x230c1f=_0x230c();return _0x3389=function(_0x338944,_0x409549){_0x338944=_0x338944-0x73;let _0x43ac63=_0x230c1f[_0x338944];return _0x43ac63;},_0x3389(_0x164203,_0x202978);}export const AI_REVIEW_CHECKS=[{'id':_0x36850a(0xb2),'title':_0x36850a(0xad),'description':_0x36850a(0x85),'isParameterized':!0x0},{'id':_0x36850a(0x81),'title':_0x36850a(0x7c),'description':_0x36850a(0x7d),'isParameterized':!0x1},{'id':_0x36850a(0xb1),'title':_0x36850a(0xb7),'description':_0x36850a(0xa6),'isParameterized':!0x1},{'id':_0x36850a(0x77),'title':_0x36850a(0xab),'description':_0x36850a(0x7e),'isParameterized':!0x1},{'id':_0x36850a(0xb4),'title':_0x36850a(0xa1),'description':_0x36850a(0x8c),'isParameterized':!0x0,'options':[{'formType':_0x36850a(0xa9),'label':_0x36850a(0xa1),'default':_0x36850a(0x93),'data':[{'label':_0x36850a(0x9d),'id':_0x36850a(0x93)},{'label':_0x36850a(0x79),'id':_0x36850a(0xaa)}]}]},{'id':_0x36850a(0xa2),'title':_0x36850a(0x9f),'description':_0x36850a(0x92),'isParameterized':!0x0,'options':[{'formType':_0x36850a(0xa9),'label':_0x36850a(0x9f),'default':_0x36850a(0x84),'data':[{'label':_0x36850a(0x7a),'id':_0x36850a(0x84)},{'label':_0x36850a(0x74),'id':_0x36850a(0x80)},{'label':_0x36850a(0xa3),'id':_0x36850a(0xa7)},{'label':_0x36850a(0xa4),'id':_0x36850a(0x89)},{'label':_0x36850a(0xac),'id':_0x36850a(0xa5)}]}]},{'id':_0x36850a(0xb0),'title':_0x36850a(0x73),'description':_0x36850a(0x90),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x36850a(0xa9),'label':_0x36850a(0x88),'argsKey':_0x36850a(0x9b),'data':[{'label':_0x36850a(0x75),'id':_0x36850a(0x91)},{'label':_0x36850a(0x86),'id':_0x36850a(0x8a)},{'label':_0x36850a(0x9c),'id':_0x36850a(0x95)},{'label':_0x36850a(0x7f),'id':_0x36850a(0x8b)},{'label':_0x36850a(0x83),'id':_0x36850a(0x78)},{'label':_0x36850a(0xa8),'id':_0x36850a(0x9e)},{'label':_0x36850a(0xb5),'id':_0x36850a(0x8d)},{'label':_0x36850a(0x97),'id':_0x36850a(0x8f)},{'label':_0x36850a(0x98),'id':_0x36850a(0xb3)},{'label':_0x36850a(0x94),'id':_0x36850a(0xaf)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x27aa(_0x529347,_0x2bc911){var _0x40d991=_0x40d9();return _0x27aa=function(_0x27aa28,_0x5ac8a9){_0x27aa28=_0x27aa28-0x95;var _0x477c15=_0x40d991[_0x27aa28];return _0x477c15;},_0x27aa(_0x529347,_0x2bc911);}var _0x35ebae=_0x27aa;(function(_0x5e14e5,_0x1ed656){var _0x1ebe0f=_0x27aa,_0x1006e2=_0x5e14e5();while(!![]){try{var _0x4a41d8=parseInt(_0x1ebe0f(0xa0))/0x1*(-parseInt(_0x1ebe0f(0x96))/0x2)+-parseInt(_0x1ebe0f(0xa3))/0x3*(parseInt(_0x1ebe0f(0x9b))/0x4)+-parseInt(_0x1ebe0f(0x97))/0x5*(-parseInt(_0x1ebe0f(0x9a))/0x6)+-parseInt(_0x1ebe0f(0x99))/0x7*(parseInt(_0x1ebe0f(0xa4))/0x8)+parseInt(_0x1ebe0f(0x95))/0x9+-parseInt(_0x1ebe0f(0x9f))/0xa+-parseInt(_0x1ebe0f(0x9e))/0xb*(-parseInt(_0x1ebe0f(0xa5))/0xc);if(_0x4a41d8===_0x1ed656)break;else _0x1006e2['push'](_0x1006e2['shift']());}catch(_0x2bca8d){_0x1006e2['push'](_0x1006e2['shift']());}}}(_0x40d9,0xd4334));import{ContextPlugin as _0xb8a7c1}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4a0381}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x1aca1e}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x2fc68a}from'./aireviewmodeediting.js';export class AIReviewMode extends _0xb8a7c1{static get[_0x35ebae(0x9c)](){return[_0x4a0381,_0x1aca1e,_0x2fc68a];}static get[_0x35ebae(0xa2)](){var _0x52ac41=_0x35ebae;return _0x52ac41(0x98);}static get[_0x35ebae(0x9d)](){return!0x0;}static get[_0x35ebae(0xa1)](){return!0x0;}}function _0x40d9(){var _0x44c740=['5805603LwzeKC','12GJyMBF','105ELBpry','AIReviewMode','5495sYJXwh','439782ZElOes','4011740CfBUUM','requires','isOfficialPlugin','25712599yhgZca','11067110pvSpPZ','108670aoSldc','isPremiumPlugin','pluginName','3JlwTMJ','9080tDfCNR','12iJFIps'];_0x40d9=function(){return _0x44c740;};return _0x40d9();}
|