@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e019f=_0x2ff8;(function(_0x1ef433,_0x4ff931){const _0x296e99=_0x2ff8,_0x92eac=_0x1ef433();while(!![]){try{const _0x1763f2=parseInt(_0x296e99(0x1bd))/0x1*(parseInt(_0x296e99(0x19c))/0x2)+-parseInt(_0x296e99(0x1d4))/0x3*(-parseInt(_0x296e99(0x1a4))/0x4)+-parseInt(_0x296e99(0x1d5))/0x5+-parseInt(_0x296e99(0x1c3))/0x6+parseInt(_0x296e99(0x1b4))/0x7*(-parseInt(_0x296e99(0x1c1))/0x8)+parseInt(_0x296e99(0x1d3))/0x9+-parseInt(_0x296e99(0x1c7))/0xa*(parseInt(_0x296e99(0x1bf))/0xb);if(_0x1763f2===_0x4ff931)break;else _0x92eac['push'](_0x92eac['shift']());}catch(_0x3a81a5){_0x92eac['push'](_0x92eac['shift']());}}}(_0x4c9e,0xa23c0));import _0x32fe16 from'morphdom';import{NodeWithChildren as _0x32f782,Text as _0x41f42d,Element as _0x5564c5,isText as _0x750932,isDocument as _0x5be66c,isTag as _0x27722e,cloneNode as _0x4eeea1,getChildren as _0x4a11ea,prepend as _0x3958cf,removeElement as _0x51dbde,textContent as _0x2f005c,render as _0x533db8}from'./htmlparser.js';export class HTMLStreamer{[_0x2e019f(0x19e)];[_0x2e019f(0x1c2)]=!0x1;[_0x2e019f(0x1a7)]=null;[_0x2e019f(0x1a6)]=[];[_0x2e019f(0x1cb)]=0x0;[_0x2e019f(0x1be)]=null;[_0x2e019f(0x1c4)]=0x0;constructor(_0x1dfdb6){const _0x1d0dc9=_0x2e019f;this[_0x1d0dc9(0x19e)]={'delay':_0x1dfdb6[_0x1d0dc9(0x1b2)]??0x14,'textNodeStyle':_0x1dfdb6[_0x1d0dc9(0x19a)],'onStreamUpdate':_0x1dfdb6[_0x1d0dc9(0x1b7)]||(()=>{})};}async[_0x2e019f(0x1b3)]({document:_0x2fd1f8,targetElement:_0x3e15af,abortSignal:_0x3a5822}){const _0x1438dc=_0x2e019f;this[_0x1438dc(0x1c2)]&&this[_0x1438dc(0x1bc)](),_0x3a5822?.[_0x1438dc(0x1a8)](_0x1438dc(0x1a3),this[_0x1438dc(0x1bc)][_0x1438dc(0x1ae)](this)),this[_0x1438dc(0x1a7)]=_0x4eeea1(_0x2fd1f8,!0x0),this[_0x1438dc(0x1a6)]=this[_0x1438dc(0x1a9)](),this[_0x1438dc(0x1c2)]=!0x0,this[_0x1438dc(0x1cb)]>this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)]&&(this[_0x1438dc(0x1cb)]=this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)]);for(let _0x2ed78b=0x0;_0x2ed78b<this[_0x1438dc(0x1cb)];_0x2ed78b++)this[_0x1438dc(0x1a6)][_0x2ed78b][_0x1438dc(0x1d1)]=!0x0;do{const _0x4c6f87=Date[_0x1438dc(0x1bb)](),_0x2b02ad=this[_0x1438dc(0x1a6)][this[_0x1438dc(0x1cb)]],_0x12d857=_0x4c6f87-this[_0x1438dc(0x1c4)];if(_0x2b02ad){_0x2b02ad[_0x1438dc(0x1d1)]=!0x0;let _0x2766e5=_0x2b02ad[_0x1438dc(0x1aa)];for(;_0x2766e5;)_0x2766e5[_0x1438dc(0x1d1)]=!0x0,_0x2766e5=_0x2766e5[_0x1438dc(0x1aa)];}if(_0x12d857<this[_0x1438dc(0x19e)][_0x1438dc(0x1b2)])try{const {promise:_0x1e3f80,abortController:_0x284bfa}=Os(this[_0x1438dc(0x19e)][_0x1438dc(0x1b2)]-_0x12d857);this[_0x1438dc(0x1be)]=_0x284bfa,await _0x1e3f80;}catch(_0x33a921){return;}_0x32fe16(_0x3e15af,'<'+_0x3e15af[_0x1438dc(0x19f)]+'>'+this[_0x1438dc(0x1d0)](this[_0x1438dc(0x1a7)])+'</'+_0x3e15af[_0x1438dc(0x19f)]+'>',{'childrenOnly':!0x0}),this[_0x1438dc(0x19e)][_0x1438dc(0x1b7)]&&this[_0x1438dc(0x19e)][_0x1438dc(0x1b7)](),this[_0x1438dc(0x1cb)]++,this[_0x1438dc(0x1c4)]=Date[_0x1438dc(0x1bb)]();}while(this[_0x1438dc(0x1cb)]<this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)]);this[_0x1438dc(0x1cb)]=this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)],this[_0x1438dc(0x1c2)]=!0x1;}[_0x2e019f(0x1ad)](){const _0x27669c=_0x2e019f;this[_0x27669c(0x1c2)]=!0x1,this[_0x27669c(0x1a7)]=null,this[_0x27669c(0x1a6)]=[],this[_0x27669c(0x1cb)]=0x0,this[_0x27669c(0x1be)]=null;}[_0x2e019f(0x1a2)]({targetElement:_0x155889}){const _0x1a98c5=_0x2e019f;Array[_0x1a98c5(0x1b5)](_0x155889[_0x1a98c5(0x1d7)](_0x1a98c5(0x1c5)))[_0x1a98c5(0x1ca)]()[_0x1a98c5(0x1ce)](_0x477d3e=>{const _0x17296e=_0x1a98c5;_0x477d3e[_0x17296e(0x1ba)](_0x477d3e[_0x17296e(0x1c0)][0x0]);});}[_0x2e019f(0x1bc)](){const _0x1f163f=_0x2e019f;this[_0x1f163f(0x1c2)]=!0x1,this[_0x1f163f(0x1be)]&&(this[_0x1f163f(0x1be)][_0x1f163f(0x1a3)](),this[_0x1f163f(0x1be)]=null);}[_0x2e019f(0x1d0)](_0x22567e){const _0x44970c=_0x2e019f;let _0x85fb22='';if(function(_0x287a78){return _0x5be66c(_0x287a78);}(_0x22567e)){for(const _0x189d4f of _0x22567e[_0x44970c(0x1ab)])_0x85fb22+=this[_0x44970c(0x1d0)](_0x189d4f);}else{if(Ls(_0x22567e)){if(!_0x22567e[_0x44970c(0x1d1)])return'';const _0x46ee92=_0x22567e,_0x137701=Object[_0x44970c(0x1cf)](_0x46ee92[_0x44970c(0x1a5)])[_0x44970c(0x1b1)](([_0x46bd52,_0xa3007d])=>_0x46bd52+'=\x22'+_0xa3007d+'\x22')[_0x44970c(0x1d2)]('\x20');_0x85fb22+='<'+_0x46ee92[_0x44970c(0x19f)]+(_0x137701?'\x20'+_0x137701:'')+'>';for(const _0x26f17d of _0x4a11ea(_0x46ee92))_0x85fb22+=this[_0x44970c(0x1d0)](_0x26f17d);_0x85fb22+='</'+_0x46ee92[_0x44970c(0x19f)]+'>';}else{if(!Ts(_0x22567e))return'';if(!_0x22567e[_0x44970c(0x1d1)])return'';!function(_0x831fa0){const _0x987adb=_0x44970c;if(!_0x831fa0[_0x987adb(0x1aa)]||!Ls(_0x831fa0[_0x987adb(0x1aa)]))return!0x1;if(!ys[_0x987adb(0x19b)](_0x831fa0[_0x987adb(0x1aa)][_0x987adb(0x19f)]))return!0x1;return!_0x2f005c(_0x831fa0)[_0x987adb(0x1cd)](/^\s*[<>]\s*$/);}(_0x22567e)?_0x85fb22+=_0x533db8(_0x22567e):_0x85fb22+=_0x533db8(new _0x5564c5(_0x44970c(0x1a1),{'data-ck-html-streamer-word-chunk':'','style':this[_0x44970c(0x19e)][_0x44970c(0x19a)]},[_0x22567e]));}}return _0x85fb22;}[_0x2e019f(0x1a9)](){const _0x2a6a5f=_0x2e019f,_0x375cd8=[];return function(_0x2f6bbd,_0x220012){const _0xa84360=_0x2ff8,_0x45041b=_0x1a5f92=>{const _0x1236f7=_0x2ff8;if(_0x220012(_0x1a5f92),_0x1a5f92 instanceof _0x32f782)for(let _0x339f72=0x0;_0x339f72<_0x1a5f92[_0x1236f7(0x1ab)][_0x1236f7(0x1c8)];_0x339f72++){const _0x1683c1=_0x1a5f92[_0x1236f7(0x1ab)][_0x339f72];_0x45041b(_0x1683c1);}};for(let _0x1befaf=0x0;_0x1befaf<_0x2f6bbd[_0xa84360(0x1ab)][_0xa84360(0x1c8)];_0x1befaf++)_0x45041b(_0x2f6bbd[_0xa84360(0x1ab)][_0x1befaf]);}(this[_0x2a6a5f(0x1a7)],_0x242573=>{const _0x42bcff=_0x2a6a5f;if(Ts(_0x242573)){const _0x291bff=this[_0x42bcff(0x1b0)](_0x242573);_0x291bff[_0x42bcff(0x1c8)]&&_0x375cd8[_0x42bcff(0x1d6)](..._0x291bff);}_0x242573[_0x42bcff(0x1a0)]||_0x242573[_0x42bcff(0x1d8)]||_0x375cd8[_0x42bcff(0x1d6)](_0x242573);}),_0x375cd8;}[_0x2e019f(0x1b0)](_0x3ceae3){const _0x3f67e5=_0x2e019f;if(_0x3ceae3[_0x3f67e5(0x1a0)]||_0x3ceae3[_0x3f67e5(0x1d8)])return[];const _0x3cd1b7=_0x2f005c(_0x3ceae3)[_0x3f67e5(0x1cd)](/(?:\s*\S+\s*)/g),_0x2e819e=[];if(_0x3cd1b7&&_0x3cd1b7[_0x3f67e5(0x1c8)]>0x1){for(const _0x34e958 of _0x3cd1b7){const _0x15ce38=new _0x41f42d(_0x34e958);_0x15ce38[_0x3f67e5(0x1d8)]=!0x0,_0x3958cf(_0x3ceae3,_0x15ce38),_0x2e819e[_0x3f67e5(0x1d6)](_0x15ce38);}_0x3ceae3[_0x3f67e5(0x1a0)]=!0x0,_0x51dbde(_0x3ceae3);}return _0x2e819e;}}const ys=['p','li','td','th',_0x2e019f(0x1a1),'h1','h2','h3','h4','h5','h6','b',_0x2e019f(0x1b8),'i','em',_0x2e019f(0x1b6),_0x2e019f(0x19d),_0x2e019f(0x1af),_0x2e019f(0x1cc),_0x2e019f(0x1c6),'a',_0x2e019f(0x1ac),_0x2e019f(0x1c9)];function Ts(_0x3c8b4d){return _0x750932(_0x3c8b4d);}function _0x2ff8(_0x521eb6,_0x1a8e83){const _0x4c9ed6=_0x4c9e();return _0x2ff8=function(_0x2ff8b7,_0x18e63a){_0x2ff8b7=_0x2ff8b7-0x19a;let _0x12194d=_0x4c9ed6[_0x2ff8b7];return _0x12194d;},_0x2ff8(_0x521eb6,_0x1a8e83);}function _0x4c9e(){const _0xdaed1b=['ins','splitTextNodeIntoWordNodes','map','delay','stream','21aNvVRk','from','mark','onStreamUpdate','strong','signal','replaceWith','now','stop','3rSuItu','timeoutAbortController','103609akMrpS','childNodes','2077592zASjjA','isStreaming','3155364naVpMv','lastUpdateTime','span[data-ck-html-streamer-word-chunk]','sub','70tqjOGf','length','div','reverse','currentIndex','sup','match','forEach','entries','renderNode','shouldBeStreamed','join','10824777AnrCDI','1421733PNwUHA','1739680UMMQMC','push','querySelectorAll','isWordSplitResult','textNodeStyle','includes','155198ySBtfg','del','options','tagName','isWordSplitSource','span','cleanUpAnimations','abort','8kEPUGp','attribs','nodesList','document','addEventListener','getParsedDocumentNodeList','parent','children','code','reset','bind'];_0x4c9e=function(){return _0xdaed1b;};return _0x4c9e();}function Ls(_0x1c4429){return _0x27722e(_0x1c4429);}function Os(_0x277084){const _0x19a5eb=new AbortController();return{'promise':new Promise((_0x3f1ef7,_0x1cac26)=>{const _0x389061=_0x2ff8,_0x4bfb44=setTimeout(_0x3f1ef7,_0x277084);_0x19a5eb[_0x389061(0x1b9)][_0x389061(0x1a8)](_0x389061(0x1a3),()=>{clearTimeout(_0x4bfb44),_0x1cac26();});}),'abortController':_0x19a5eb};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2fa32b=_0x204b;(function(_0x5032fc,_0x1da44d){const _0x5d3d35=_0x204b,_0x3fcd7f=_0x5032fc();while(!![]){try{const _0x5c4bc6=parseInt(_0x5d3d35(0x16d))/0x1*(parseInt(_0x5d3d35(0x152))/0x2)+parseInt(_0x5d3d35(0x154))/0x3*(parseInt(_0x5d3d35(0x153))/0x4)+parseInt(_0x5d3d35(0x166))/0x5+parseInt(_0x5d3d35(0x172))/0x6*(parseInt(_0x5d3d35(0x15c))/0x7)+-parseInt(_0x5d3d35(0x15f))/0x8*(-parseInt(_0x5d3d35(0x14a))/0x9)+parseInt(_0x5d3d35(0x16f))/0xa*(parseInt(_0x5d3d35(0x149))/0xb)+parseInt(_0x5d3d35(0x16a))/0xc*(-parseInt(_0x5d3d35(0x16e))/0xd);if(_0x5c4bc6===_0x1da44d)break;else _0x3fcd7f['push'](_0x3fcd7f['shift']());}catch(_0x55132e){_0x3fcd7f['push'](_0x3fcd7f['shift']());}}}(_0x53b7,0x2c925));function _0x204b(_0x320631,_0x5e7471){const _0x53b7f0=_0x53b7();return _0x204b=function(_0x204b02,_0x464426){_0x204b02=_0x204b02-0x145;let _0x413445=_0x53b7f0[_0x204b02];return _0x413445;},_0x204b(_0x320631,_0x5e7471);}const Fs=[_0x2fa32b(0x14b),_0x2fa32b(0x16c),_0x2fa32b(0x167),_0x2fa32b(0x14c)],qs=[_0x2fa32b(0x158),_0x2fa32b(0x162),_0x2fa32b(0x147),_0x2fa32b(0x169),_0x2fa32b(0x14f),_0x2fa32b(0x157),'\x20'];export class ScrollManager{[_0x2fa32b(0x148)];[_0x2fa32b(0x150)];[_0x2fa32b(0x15a)];[_0x2fa32b(0x156)];[_0x2fa32b(0x164)];constructor(_0x24b63d){const _0x3e18e7=_0x2fa32b;this[_0x3e18e7(0x148)]=_0x24b63d,this[_0x3e18e7(0x150)]=null,this[_0x3e18e7(0x15a)]=!0x1,this[_0x3e18e7(0x156)]=new AbortController(),this[_0x3e18e7(0x164)]=!0x1;for(const _0x547713 of Fs){const _0x27efbc=_0x3e18e7(0x14c)!==_0x547713;this[_0x3e18e7(0x148)][_0x3e18e7(0x146)](_0x547713,this[_0x3e18e7(0x165)][_0x3e18e7(0x14d)](this),{'passive':_0x27efbc,'signal':this[_0x3e18e7(0x156)][_0x3e18e7(0x168)]});}}[_0x2fa32b(0x155)](){const _0x3cdf88=_0x2fa32b;this[_0x3cdf88(0x15a)]||(this[_0x3cdf88(0x15a)]=!0x0,this[_0x3cdf88(0x164)]=!0x1,this[_0x3cdf88(0x150)]=requestAnimationFrame(this[_0x3cdf88(0x14e)][_0x3cdf88(0x14d)](this)));}[_0x2fa32b(0x145)](){requestAnimationFrame(()=>{const _0x4d4b40=_0x204b;this[_0x4d4b40(0x159)]();});}[_0x2fa32b(0x160)](){const _0x271763=_0x2fa32b;this[_0x271763(0x159)](),this[_0x271763(0x156)][_0x271763(0x15e)]();}[_0x2fa32b(0x159)](){const _0x1982b7=_0x2fa32b;null!==this[_0x1982b7(0x150)]&&(cancelAnimationFrame(this[_0x1982b7(0x150)]),this[_0x1982b7(0x150)]=null),this[_0x1982b7(0x15a)]&&(this[_0x1982b7(0x15a)]=!0x1),this[_0x1982b7(0x164)]=!0x1;}[_0x2fa32b(0x165)](_0x506404){const _0x4d3a2c=_0x2fa32b;if(this[_0x4d3a2c(0x15a)]){if(_0x4d3a2c(0x14c)===_0x506404[_0x4d3a2c(0x15d)]){const _0x5757b4=_0x506404[_0x4d3a2c(0x15b)];if(!qs[_0x4d3a2c(0x170)](_0x5757b4))return;}_0x506404 instanceof WheelEvent?_0x506404[_0x4d3a2c(0x163)]<0x0?this[_0x4d3a2c(0x164)]=!0x0:this[_0x4d3a2c(0x164)]=!this[_0x4d3a2c(0x151)]():this[_0x4d3a2c(0x164)]=!0x0;}}[_0x2fa32b(0x151)](){const _0x4e201c=_0x2fa32b,{scrollTop:_0x12a608,scrollHeight:_0x1bacf5,clientHeight:_0x23b024}=this[_0x4e201c(0x148)];return _0x1bacf5-_0x12a608-_0x23b024<=0x5;}[_0x2fa32b(0x14e)](){const _0x2e8c00=_0x2fa32b;this[_0x2e8c00(0x15a)]&&(this[_0x2e8c00(0x164)]||this[_0x2e8c00(0x148)][_0x2e8c00(0x161)]({'top':this[_0x2e8c00(0x148)][_0x2e8c00(0x171)],'behavior':_0x2e8c00(0x16b)}),this[_0x2e8c00(0x150)]=requestAnimationFrame(this[_0x2e8c00(0x14e)][_0x2e8c00(0x14d)](this)));}}function _0x53b7(){const _0x1ddd3a=['_onUserEvent','515945VDJJmj','pointerdown','signal','PageDown','3084BkTgAu','auto','touchstart','33DWlEcJ','62283iMKWWa','396080HnLdbI','includes','scrollHeight','767310WfEAuB','stop','addEventListener','PageUp','element','77jxUQqe','700767lVhtnZ','wheel','keydown','bind','_rafUpdate','Home','animationFrameId','_isAtBottom','20108pWCJHQ','28LSAIhG','124341Msqgqy','start','abortController','End','ArrowUp','_stop','isRunning','key','14QkXQxU','type','abort','16cRPdMz','destroy','scrollTo','ArrowDown','deltaY','isUserPaused'];_0x53b7=function(){return _0x1ddd3a;};return _0x53b7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xe165f=_0x2797;(function(_0x3b77e6,_0x5d7f4b){var _0x2e5a20=_0x2797,_0x405170=_0x3b77e6();while(!![]){try{var _0x315948=parseInt(_0x2e5a20(0xec))/0x1*(-parseInt(_0x2e5a20(0xe6))/0x2)+-parseInt(_0x2e5a20(0xe8))/0x3+-parseInt(_0x2e5a20(0xe7))/0x4+-parseInt(_0x2e5a20(0xee))/0x5+parseInt(_0x2e5a20(0xeb))/0x6*(-parseInt(_0x2e5a20(0xe9))/0x7)+-parseInt(_0x2e5a20(0xe3))/0x8+parseInt(_0x2e5a20(0xea))/0x9*(parseInt(_0x2e5a20(0xe5))/0xa);if(_0x315948===_0x5d7f4b)break;else _0x405170['push'](_0x405170['shift']());}catch(_0x45491a){_0x405170['push'](_0x405170['shift']());}}}(_0x286b,0x201c9));function _0x2797(_0x33b557,_0x5253f4){var _0x286b13=_0x286b();return _0x2797=function(_0x2797e5,_0x38b137){_0x2797e5=_0x2797e5-0xe2;var _0x23b9b5=_0x286b13[_0x2797e5];return _0x23b9b5;},_0x2797(_0x33b557,_0x5253f4);}import{Plugin as _0x3ec4a0}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x5f1ca5}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x2956dd}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x2fd2c7}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x3ec4a0{static get[_0xe165f(0xed)](){return[_0x5f1ca5,_0x2956dd,_0x2fd2c7];}static get[_0xe165f(0xe4)](){var _0xa8a94=_0xe165f;return _0xa8a94(0xe2);}static get[_0xe165f(0xf0)](){return!0x0;}static get[_0xe165f(0xef)](){return!0x0;}}function _0x286b(){var _0x3c5963=['requires','296510yKGpKk','isPremiumPlugin','isOfficialPlugin','AIEditorIntegration','1939488IQLxkE','pluginName','1491330pvJaHa','4DotonX','130348mzgZEf','145377KvxKnR','16562QQWgoq','45DsjFfC','438GwjwCv','29317ljwGDT'];_0x286b=function(){return _0x3c5963;};return _0x286b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe395ea=_0xdf74;(function(_0x2aeaa3,_0xcb7382){const _0x46d618=_0xdf74,_0x1654d3=_0x2aeaa3();while(!![]){try{const _0x207920=-parseInt(_0x46d618(0xc3))/0x1+parseInt(_0x46d618(0xaa))/0x2*(-parseInt(_0x46d618(0xb7))/0x3)+-parseInt(_0x46d618(0xbb))/0x4+-parseInt(_0x46d618(0xc5))/0x5+parseInt(_0x46d618(0xb3))/0x6*(parseInt(_0x46d618(0xbd))/0x7)+parseInt(_0x46d618(0xca))/0x8*(-parseInt(_0x46d618(0xac))/0x9)+-parseInt(_0x46d618(0xc6))/0xa*(-parseInt(_0x46d618(0xb9))/0xb);if(_0x207920===_0xcb7382)break;else _0x1654d3['push'](_0x1654d3['shift']());}catch(_0x3c62c2){_0x1654d3['push'](_0x1654d3['shift']());}}}(_0x4de0,0xc1b87));import{Plugin as _0x19138f}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x30f793}from'./toggleaicommand.js';import{ButtonView as _0xdd31e6,MenuBarMenuListItemButtonView as _0x132f64}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x512424}from'@ckeditor/ckeditor5-icons';function _0x4de0(){const _0xb6861e=['36rhSYuK','get','requires','init','pluginName','_createAIUIButton','isPremiumPlugin','149412TXlafl','toggleAi','componentFactory','locale','1374213mqbZrM','menuBar:toggleAi','1342KiykVf','execute','344968sqfAhD','listenTo','427IOkjEB','bind','isEnabled','isOn','value','editor','1519664aWxLLr','set','130340FvgzMQ','127030WrKUVO','isOfficialPlugin','ck-ai-toggle-button','menuitemcheckbox','370528SLazNg','commands','AI_TOGGLE_BUTTON_LABEL','add','2ICQSeG','AIToggleButtonUI'];_0x4de0=function(){return _0xb6861e;};return _0x4de0();}import{getTranslation as _0x23aa80}from'../../aicore/utils/common-translations.js';import{AITabs as _0x43c0f8}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0xdf74(_0x5b275c,_0xf7b7){const _0x4de05f=_0x4de0();return _0xdf74=function(_0xdf74d1,_0xee795d){_0xdf74d1=_0xdf74d1-0xa9;let _0x1ec74d=_0x4de05f[_0xdf74d1];return _0x1ec74d;},_0xdf74(_0x5b275c,_0xf7b7);}export class AIToggleButtonUI extends _0x19138f{static get[_0xe395ea(0xae)](){return[_0x43c0f8];}static get[_0xe395ea(0xb0)](){const _0x3bb4e4=_0xe395ea;return _0x3bb4e4(0xab);}static get[_0xe395ea(0xc7)](){return!0x0;}static get[_0xe395ea(0xb2)](){return!0x0;}[_0xe395ea(0xaf)](){const _0x37878c=_0xe395ea,_0x41db3b=this[_0x37878c(0xc2)];_0x41db3b[_0x37878c(0xcb)][_0x37878c(0xa9)](_0x37878c(0xb4),new _0x30f793(_0x41db3b)),_0x41db3b['ui'][_0x37878c(0xb5)][_0x37878c(0xa9)](_0x37878c(0xb4),()=>{const _0x11608d=_0x37878c,_0x57144a=this[_0x11608d(0xb1)](_0xdd31e6);return _0x57144a[_0x11608d(0xc4)]({'tooltip':!0x0,'class':_0x11608d(0xc8)}),_0x57144a;}),_0x41db3b['ui'][_0x37878c(0xb5)][_0x37878c(0xa9)](_0x37878c(0xb8),()=>{const _0x364515=_0x37878c,_0x4cb586=this[_0x364515(0xb1)](_0x132f64);return _0x4cb586[_0x364515(0xc4)]({'role':_0x364515(0xc9)}),_0x4cb586;});}[_0xe395ea(0xb1)](_0x987163){const _0x198997=_0xe395ea,_0x323cd6=this[_0x198997(0xc2)],_0x53c7be=_0x323cd6[_0x198997(0xcb)][_0x198997(0xad)](_0x198997(0xb4)),_0x5d647b=new _0x987163(_0x323cd6[_0x198997(0xb6)]);return _0x5d647b[_0x198997(0xc4)]({'label':_0x23aa80(_0x323cd6[_0x198997(0xb6)],_0x198997(0xcc)),'icon':_0x512424,'isToggleable':!0x0}),_0x5d647b[_0x198997(0xbe)](_0x198997(0xbf))['to'](_0x53c7be),_0x5d647b[_0x198997(0xbe)](_0x198997(0xc0))['to'](_0x53c7be,_0x198997(0xc1),_0x5a67d6=>!!_0x5a67d6),this[_0x198997(0xbc)](_0x5d647b,_0x198997(0xba),()=>{const _0x40185e=_0x198997;_0x53c7be[_0x40185e(0xba)]();}),_0x5d647b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2e7c(){const _0x32db24=['202545NZCtJv','84978LAPPDa','3579560jnwykp','isEnabled','1828589IbQfWY','5sheepe','414056NaQVgN','AITabs','execute','202364IyBXBv','editor','137765qkohPl','view','value','bind','plugins','get','isVisible'];_0x2e7c=function(){return _0x32db24;};return _0x2e7c();}const _0x11c5dd=_0x1b7c;(function(_0x28bd3c,_0x52f0aa){const _0x33713e=_0x1b7c,_0x3beb6b=_0x28bd3c();while(!![]){try{const _0x2da958=parseInt(_0x33713e(0x79))/0x1+parseInt(_0x33713e(0x74))/0x2+parseInt(_0x33713e(0x6e))/0x3+-parseInt(_0x33713e(0x77))/0x4*(parseInt(_0x33713e(0x73))/0x5)+parseInt(_0x33713e(0x6f))/0x6+parseInt(_0x33713e(0x72))/0x7+-parseInt(_0x33713e(0x70))/0x8;if(_0x2da958===_0x52f0aa)break;else _0x3beb6b['push'](_0x3beb6b['shift']());}catch(_0x38c07f){_0x3beb6b['push'](_0x3beb6b['shift']());}}}(_0x2e7c,0x2e4de));function _0x1b7c(_0x36c488,_0x12c90b){const _0x2e7c9f=_0x2e7c();return _0x1b7c=function(_0x1b7cf1,_0x3ed78c){_0x1b7cf1=_0x1b7cf1-0x6c;let _0x5a00cc=_0x2e7c9f[_0x1b7cf1];return _0x5a00cc;},_0x1b7c(_0x36c488,_0x12c90b);}import{Command as _0x321dcd}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x321dcd{constructor(_0x439e05){const _0x35af54=_0x1b7c;super(_0x439e05);const _0x57de18=_0x439e05[_0x35af54(0x7d)][_0x35af54(0x6c)](_0x35af54(0x75))[_0x35af54(0x7a)];this[_0x35af54(0x7c)](_0x35af54(0x7b))['to'](_0x57de18,_0x35af54(0x6d)),this[_0x35af54(0x71)]=!0x0;}[_0x11c5dd(0x76)](){const _0x57735e=_0x11c5dd,_0x47e690=this[_0x57735e(0x78)][_0x57735e(0x7d)][_0x57735e(0x6c)](_0x57735e(0x75))[_0x57735e(0x7a)];_0x47e690[_0x57735e(0x6d)]=!_0x47e690[_0x57735e(0x6d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x41846b=_0x29e0;(function(_0x3beb89,_0x56ddc5){var _0x1495be=_0x29e0,_0x23a511=_0x3beb89();while(!![]){try{var _0x563844=parseInt(_0x1495be(0x191))/0x1*(-parseInt(_0x1495be(0x189))/0x2)+-parseInt(_0x1495be(0x181))/0x3*(-parseInt(_0x1495be(0x18c))/0x4)+parseInt(_0x1495be(0x18a))/0x5+parseInt(_0x1495be(0x185))/0x6+parseInt(_0x1495be(0x193))/0x7*(parseInt(_0x1495be(0x192))/0x8)+parseInt(_0x1495be(0x184))/0x9*(parseInt(_0x1495be(0x18e))/0xa)+-parseInt(_0x1495be(0x18d))/0xb*(parseInt(_0x1495be(0x188))/0xc);if(_0x563844===_0x56ddc5)break;else _0x23a511['push'](_0x23a511['shift']());}catch(_0x5f46fe){_0x23a511['push'](_0x23a511['shift']());}}}(_0x4849,0x96a6e));function _0x4849(){var _0x1f0ac0=['10mRYvaa','AIQuickActions','pluginName','38243AorcXJ','128bKNfkX','295827BueoEo','ai.quickActions','1932369FwmtzX','define','isPremiumPlugin','10198431ZGaStP','101292LfQito','config','isOfficialPlugin','144KUEmEI','46SBaaRA','5487235mFkQTY','requires','4isiLQB','1898534zqkTok'];_0x4849=function(){return _0x1f0ac0;};return _0x4849();}import{Plugin as _0x126698}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x42b233}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x1f0c78}from'./aiquickactionsediting.js';function _0x29e0(_0x34f7df,_0x4b4855){var _0x484928=_0x4849();return _0x29e0=function(_0x29e0b5,_0x4ab96b){_0x29e0b5=_0x29e0b5-0x181;var _0x544c25=_0x484928[_0x29e0b5];return _0x544c25;},_0x29e0(_0x34f7df,_0x4b4855);}import{AIActions as _0x2d927c}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x126698{static get[_0x41846b(0x18b)](){return[_0x42b233,_0x1f0c78,_0x2d927c];}static get[_0x41846b(0x190)](){var _0x3b055e=_0x41846b;return _0x3b055e(0x18f);}static get[_0x41846b(0x187)](){return!0x0;}static get[_0x41846b(0x183)](){return!0x0;}constructor(_0xcfa388){var _0x283b17=_0x41846b;super(_0xcfa388),_0xcfa388[_0x283b17(0x186)][_0x283b17(0x182)](_0x283b17(0x194),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x187aef=_0x34d5;function _0x34d5(_0x4e5379,_0x4b7a3a){const _0x15cf57=_0x15cf();return _0x34d5=function(_0x34d570,_0x81bd9){_0x34d570=_0x34d570-0x140;let _0xb78377=_0x15cf57[_0x34d570];return _0xb78377;},_0x34d5(_0x4e5379,_0x4b7a3a);}function _0x15cf(){const _0x153698=['AIReviewMode','view','icon','locale','146cfFUKt','34252pWYyGG','args','getLimitElement','document','ai-quick-actions-plugin-not-found','REVIEW','1925tWshlJ','handleAIReviewAction','_handleAIActionsActionLabel','53283EqLqSp','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','log','CHAT','1117419xgbjQL','_handleAIActionsAction','getSelectedBlocks','selection','_expandSelectionIfCollapsed','23892jYzXtd','95PTTcfp','get','_handleAIReviewAction','editor','addSelectionToChatContext','24650aWaMtN','parent','ask-ai','chat','514512xQepRx','focusPromptInput','displayedPrompt','executeAction','isVisible','AIChat','setSelection','removeSelectionFromChatContext','startConversation','prompt','AITabs','other','_handleAIChatAction','isCollapsed','plugins','AIChatController','schema','has','model','activeTab','4581GBplwg','sendMessage','AIActions','activateTab','label','type','11089Cobeva','ACTION','8416vLGKAp','28rvcTAP','actionName','execute','change'];_0x15cf=function(){return _0x153698;};return _0x15cf();}(function(_0x1b330,_0x1cb551){const _0x146158=_0x34d5,_0x2c2406=_0x1b330();while(!![]){try{const _0x11d5bb=parseInt(_0x146158(0x15b))/0x1+parseInt(_0x146158(0x14d))/0x2*(-parseInt(_0x146158(0x157))/0x3)+-parseInt(_0x146158(0x14e))/0x4*(parseInt(_0x146158(0x161))/0x5)+parseInt(_0x146158(0x16a))/0x6*(parseInt(_0x146158(0x145))/0x7)+parseInt(_0x146158(0x144))/0x8*(-parseInt(_0x146158(0x17e))/0x9)+parseInt(_0x146158(0x166))/0xa*(-parseInt(_0x146158(0x154))/0xb)+parseInt(_0x146158(0x160))/0xc*(parseInt(_0x146158(0x142))/0xd);if(_0x11d5bb===_0x1cb551)break;else _0x2c2406['push'](_0x2c2406['shift']());}catch(_0x4d2408){_0x2c2406['push'](_0x2c2406['shift']());}}}(_0x15cf,0xb2df1));import{Command as _0x501af2}from'ckeditor5/src/core.js';import{CKEditorError as _0x26aa07,first as _0x3baf0a}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x214366}from'./aiquickactionsui.js';import{getTranslation as _0x575e58}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x501af2{[_0x187aef(0x147)](_0x478460){const _0x46efa9=_0x187aef;switch(this[_0x46efa9(0x15f)](),_0x478460[_0x46efa9(0x141)]){case _0x214366[_0x46efa9(0x15a)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x16f))){const _0x156bab=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x16f));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x156bab});}this[_0x46efa9(0x176)](_0x478460);break;case _0x214366[_0x46efa9(0x143)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x180))){const _0x36c9a1=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x180));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x36c9a1});}this[_0x46efa9(0x15c)](_0x478460);break;case _0x214366[_0x46efa9(0x153)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x149))){const _0x4be51a=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x149));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x4be51a});}this[_0x46efa9(0x163)](_0x478460);}}async[_0x187aef(0x176)](_0x1ad4b2){const _0x125cd9=_0x187aef,_0x303b77=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x16f)),_0x4cf4c4=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x179)),_0x5da4a0=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x174))[_0x125cd9(0x14a)];if(_0x5da4a0[_0x125cd9(0x16e)]||(_0x5da4a0[_0x125cd9(0x16e)]=!0x0),_0x125cd9(0x169)!==_0x5da4a0[_0x125cd9(0x17d)]&&_0x5da4a0[_0x125cd9(0x181)](_0x125cd9(0x169)),_0x125cd9(0x168)===_0x1ad4b2['id'])_0x4cf4c4[_0x125cd9(0x171)](),await _0x303b77[_0x125cd9(0x165)](),_0x303b77[_0x125cd9(0x16b)]();else await _0x303b77[_0x125cd9(0x172)](),_0x4cf4c4[_0x125cd9(0x171)](),await _0x303b77[_0x125cd9(0x165)](),_0x303b77[_0x125cd9(0x16b)](),await _0x303b77[_0x125cd9(0x17f)]({'message':_0x1ad4b2[_0x125cd9(0x173)]||_0x1ad4b2[_0x125cd9(0x16c)],'attributes':{'quickActionData':{'id':_0x1ad4b2['id']},'displayedPrompt':_0x1ad4b2[_0x125cd9(0x16c)]}});}[_0x187aef(0x15f)](){const _0x1699ed=_0x187aef,_0x133abd=this[_0x1699ed(0x164)],_0x3bbca4=_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x151)][_0x1699ed(0x15e)];if(!_0x3bbca4[_0x1699ed(0x177)])return;const _0x5030e2=_0x3baf0a(_0x3bbca4[_0x1699ed(0x15d)]())||_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x17a)][_0x1699ed(0x150)](_0x3bbca4);_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x148)](_0x57838d=>{const _0x1a61d1=_0x1699ed;_0x57838d[_0x1a61d1(0x170)](_0x5030e2,'in');});}[_0x187aef(0x156)](_0x381648){const _0xd910de=_0x187aef;return _0x381648[_0xd910de(0x167)]?.[_0xd910de(0x140)]&&_0xd910de(0x175)!==_0x381648[_0xd910de(0x167)]?.['id']?_0x381648[_0xd910de(0x167)][_0xd910de(0x140)]+':\x20'+_0x381648[_0xd910de(0x16c)]:_0x381648[_0xd910de(0x16c)];}async[_0x187aef(0x15c)](_0x103ca6){const _0xcf1926=_0x187aef,_0x489b73=this[_0xcf1926(0x164)][_0xcf1926(0x178)][_0xcf1926(0x162)](_0xcf1926(0x180)),_0x2e7f74=_0x103ca6[_0xcf1926(0x173)]?{'userMessage':_0x103ca6[_0xcf1926(0x173)],'model':_0x103ca6[_0xcf1926(0x17c)]}:{'actionName':_0x103ca6[_0xcf1926(0x146)]||_0x103ca6['id'],'args':_0x103ca6[_0xcf1926(0x14f)]},_0x3c1b8b=this[_0xcf1926(0x156)](_0x103ca6);await _0x489b73[_0xcf1926(0x16d)](_0x2e7f74,_0x3c1b8b,_0x103ca6[_0xcf1926(0x14b)]);}async[_0x187aef(0x163)](_0x2dc317){const _0x547dfb=_0x187aef;console[_0x547dfb(0x159)](_0x547dfb(0x155),_0x2dc317);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x56b095=_0x59f3;(function(_0x541670,_0x2ba21d){const _0xa510ba=_0x59f3,_0x15f064=_0x541670();while(!![]){try{const _0x1b25ac=parseInt(_0xa510ba(0x1b2))/0x1+-parseInt(_0xa510ba(0x1b7))/0x2*(-parseInt(_0xa510ba(0x1ca))/0x3)+-parseInt(_0xa510ba(0x1b9))/0x4*(-parseInt(_0xa510ba(0x1b6))/0x5)+-parseInt(_0xa510ba(0x1b3))/0x6*(parseInt(_0xa510ba(0x1ab))/0x7)+-parseInt(_0xa510ba(0x1c1))/0x8*(-parseInt(_0xa510ba(0x1c8))/0x9)+-parseInt(_0xa510ba(0x1bc))/0xa*(parseInt(_0xa510ba(0x1c9))/0xb)+-parseInt(_0xa510ba(0x1ba))/0xc*(parseInt(_0xa510ba(0x1c7))/0xd);if(_0x1b25ac===_0x2ba21d)break;else _0x15f064['push'](_0x15f064['shift']());}catch(_0x37ed6b){_0x15f064['push'](_0x15f064['shift']());}}}(_0x326d,0xe08c9));function _0x326d(){const _0x1ba205=['model','directChange','selection','AIChat','14514904eSqHgP','has','pluginName','removeSelectionFromChatContext','isOfficialPlugin','add','52lvIybd','9wEzrCb','11Gofvfs','1277568ZhBDML','425089UYZoRZ','editor','aiQuickAction','plugins','AIQuickActionsEditing','get','change:range','1409423QMLxyA','90kmiXlw','init','document','240DtFxDH','2HyDelU','commands','97368EntzTs','8699148EgPiRP','isPremiumPlugin','876840tctFEX'];_0x326d=function(){return _0x1ba205;};return _0x326d();}import{Plugin as _0x1be0b5}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3d3c27}from'./aiquickactionscommand.js';function _0x59f3(_0x5c985a,_0x9fdef0){const _0x326db5=_0x326d();return _0x59f3=function(_0x59f32c,_0x1285c2){_0x59f32c=_0x59f32c-0x1ab;let _0x263509=_0x326db5[_0x59f32c];return _0x263509;},_0x59f3(_0x5c985a,_0x9fdef0);}export class AIQuickActionsEditing extends _0x1be0b5{static get[_0x56b095(0x1c3)](){const _0x1734bf=_0x56b095;return _0x1734bf(0x1af);}static get[_0x56b095(0x1c5)](){return!0x0;}static get[_0x56b095(0x1bb)](){return!0x0;}[_0x56b095(0x1b4)](){const _0x3c1e4b=_0x56b095,_0x48c990=this[_0x3c1e4b(0x1ac)],_0x262f68=new _0x3d3c27(this[_0x3c1e4b(0x1ac)]);if(_0x48c990[_0x3c1e4b(0x1b8)][_0x3c1e4b(0x1c6)](_0x3c1e4b(0x1ad),_0x262f68),_0x48c990[_0x3c1e4b(0x1ae)][_0x3c1e4b(0x1c2)](_0x3c1e4b(0x1c0))){const _0x5dcd46=this[_0x3c1e4b(0x1ac)][_0x3c1e4b(0x1ae)][_0x3c1e4b(0x1b0)](_0x3c1e4b(0x1c0));_0x48c990[_0x3c1e4b(0x1bd)][_0x3c1e4b(0x1b5)][_0x3c1e4b(0x1bf)]['on'](_0x3c1e4b(0x1b1),(_0x346287,_0x59bfb5)=>{const _0x3dc21f=_0x3c1e4b;_0x59bfb5[_0x3dc21f(0x1be)]&&_0x5dcd46[_0x3dc21f(0x1c4)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f2a1d=_0x308c;(function(_0x111d55,_0x320b59){const _0x58d30b=_0x308c,_0x4d047e=_0x111d55();while(!![]){try{const _0xd2b0ae=-parseInt(_0x58d30b(0x1b8))/0x1+-parseInt(_0x58d30b(0x210))/0x2*(-parseInt(_0x58d30b(0x201))/0x3)+parseInt(_0x58d30b(0x1c0))/0x4*(-parseInt(_0x58d30b(0x182))/0x5)+-parseInt(_0x58d30b(0x199))/0x6*(parseInt(_0x58d30b(0x216))/0x7)+parseInt(_0x58d30b(0x1ab))/0x8+parseInt(_0x58d30b(0x212))/0x9*(parseInt(_0x58d30b(0x187))/0xa)+parseInt(_0x58d30b(0x18d))/0xb*(parseInt(_0x58d30b(0x206))/0xc);if(_0xd2b0ae===_0x320b59)break;else _0x4d047e['push'](_0x4d047e['shift']());}catch(_0x2c389f){_0x4d047e['push'](_0x4d047e['shift']());}}}(_0x3ca8,0xbcc3a));import{IconAIAdjustLength as _0x260c2f,IconAIChangeTone as _0x21bd6f,IconAIChatCommands as _0x497f58,IconAIContinueWriting as _0x3935ea,IconAIGrammarCheck as _0x1060a4,IconAIImproveWriting as _0x2be68e,IconAIOther as _0x4586ce,IconAIQuickActions as _0x2a9af0,IconAITranslate as _0x3bda67}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x13663d}from'ckeditor5/src/core.js';import{CKEditorError as _0xf1313f,logError as _0x1749c9}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b31e7}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x2e9e9e}from'./ui/aiquickactionsdropdowncreator.js';function _0x3ca8(){const _0x40800e=['message','pluginName','locale','translate-to-english','view','_getDefaultAndCustomActions','ai.quickActions.isSearchEnabled','AIActions','translate-to-german','french','_initializeQuickActionsDropdown','translate','improve-writing','focus','values','attachToDom','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_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>','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AIReviewMode','make-longer','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_IMPROVE_WRITING','requires','continue','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','spanish','_shouldIncludeAction','translate-to-russian','REVIEW','AI_QUICK_ACTIONS_MAKE_SHORTER','has','ask-ai','ai.chat.context.document.enabled','korean','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HEADING','_prepareQuickActionsDefinition','menuitem','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_TRANSLATE','buttonView','_initializeQuickActionsMenuBar','2792967vmLnxa','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_initializeQuickActionsComponents','make-tone-casual','186756RQLpgK','push','translate-to-italian','explain','make-tone-friendly','make-tone-direct','filter','adjust-length','isEnabled','items','2jqwYDO','set','9KmpUTi','aiQuickAction','chinese','execute','459634loKUsK','other','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-chinese','editor','AI_QUICK_ACTIONS_MAKE_LONGER','summarize','isPremiumPlugin','AI_QUICK_ACTIONS_CONTINUE_WRITING','init','icon','fix-grammar','getDefaultQuickActions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-confident','3505qqBLvp','includes','commands','AIConnector','translate-to-japanese','14226910zxfmph','DisplayNames','<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>','make-shorter','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','33QwOFyC','AIChat','menu','AI_QUICK_ACTIONS_CHANGE_TONE','change-tone','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','CHAT','forEach','model','menuBarView','_executeQuickAction','54bmDIeG','English','editing','close','AI_QUICK_ACTIONS_MORE_CONFIDENT','chat-commands','label','translate-to-portuguese','AI_QUICK_ACTIONS_EXPLAIN','config','componentFactory','uiLanguage','russian','isOfficialPlugin','type','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_ADJUST_LENGTH','menuBar:aiQuickActions','10343560ZxSYYE','ai-quick-actions-unavailable-model','language','actions','children','make-tone-professional','AI_QUICK_ACTIONS_SUMMARIZE','aiQuickActions','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','english','german','_quickActionsDefinition','italian','1300110jovJwJ','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai-quick-actions-models-unable-to-retrieve','AIQuickActionsUI','portuguese','<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>','plugins','ACTION','5872bYWwOV','panelView','length','get','getAll','japanese','replace','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','find','displayedPrompt','delegate','map','some','_initializeQuickActionsComponentsAndCommands','translate-to-korean','add'];_0x3ca8=function(){return _0x40800e;};return _0x3ca8();}import{aiQuickActionsButtonCreator as _0x2371d0}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2a3f9c,BalloonToolbar as _0x707910,MenuBarMenuView as _0x2513e4,MenuBarMenuListView as _0x3280af,MenuBarMenuListItemView as _0x1914cc,MenuBarMenuListItemButtonView as _0x32109f}from'ckeditor5/src/ui.js';import{AIModels as _0x15d3ee}from'../aicore/model/aimodels.js';import{AIConnector as _0x12c42f}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x308c(_0x252d14,_0x22f913){const _0x3ca849=_0x3ca8();return _0x308c=function(_0x308cb6,_0x1eeb96){_0x308cb6=_0x308cb6-0x17c;let _0x324fce=_0x3ca849[_0x308cb6];return _0x324fce;},_0x308c(_0x252d14,_0x22f913);}const ee=_0x3f2a1d(0x189),ie=_0x3f2a1d(0x1e5),ne=_0x3f2a1d(0x1bd);export var AIQuickActionType;!function(_0x25a6d4){const _0x58bdf7=_0x3f2a1d;_0x25a6d4[_0x58bdf7(0x194)]=_0x58bdf7(0x194),_0x25a6d4[_0x58bdf7(0x1bf)]=_0x58bdf7(0x1bf),_0x25a6d4[_0x58bdf7(0x1f3)]=_0x58bdf7(0x1f3);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x5d8fc5){const _0x5cbde1=_0x3f2a1d;_0x5d8fc5[_0x5cbde1(0x194)]=_0x5cbde1(0x18e),_0x5d8fc5[_0x5cbde1(0x1bf)]=_0x5cbde1(0x1da),_0x5d8fc5[_0x5cbde1(0x1f3)]=_0x5cbde1(0x1e7);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x13663d{static get[_0x3f2a1d(0x1ec)](){return[_0x707910,_0x12c42f];}static get[_0x3f2a1d(0x1d4)](){const _0x54b8c8=_0x3f2a1d;return _0x54b8c8(0x1bb);}static get[_0x3f2a1d(0x1a6)](){return!0x0;}static get[_0x3f2a1d(0x21d)](){return!0x0;}async[_0x3f2a1d(0x17c)](){const _0x1fc166=_0x3f2a1d,_0x5059a8=await this[_0x1fc166(0x1d8)]();this[_0x1fc166(0x1fb)](_0x5059a8),this[_0x1fc166(0x1d0)]();}static[_0x3f2a1d(0x17f)](_0xf2003d){return function(_0x1d9fd9){const _0x4a3b99=_0x308c,_0x2dc9ba=new Intl[(_0x4a3b99(0x188))](['en'],{'type':_0x4a3b99(0x1ad)})['of'](_0x1d9fd9[_0x4a3b99(0x1a4)]),_0x38dce3=_0x2dc9ba||_0x4a3b99(0x19a),_0x4388e3=[{'id':_0x4a3b99(0x1f6),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1c7)),'type':AIQuickActionType[_0x4a3b99(0x194)],'icon':_0x497f58},{'id':_0x4a3b99(0x19e),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1b9)),'icon':_0x497f58,'actions':[{'id':_0x4a3b99(0x209),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1a1)),'prompt':ee[_0x4a3b99(0x1c6)]('%0',_0x38dce3),'type':AIQuickActionType[_0x4a3b99(0x194)]},{'id':_0x4a3b99(0x21c),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1b1)),'prompt':ie[_0x4a3b99(0x1c6)]('%0',_0x38dce3),'type':AIQuickActionType[_0x4a3b99(0x194)]},{'id':_0x4a3b99(0x1e3),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1a8)),'prompt':ne[_0x4a3b99(0x1c6)]('%0',_0x38dce3),'type':AIQuickActionType[_0x4a3b99(0x194)]}]},{'id':_0x4a3b99(0x1df),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1eb)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'icon':_0x2be68e},{'id':_0x4a3b99(0x1ed),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x21e)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'icon':_0x3935ea},{'id':_0x4a3b99(0x17e),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1b3)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'icon':_0x1060a4},{'id':_0x4a3b99(0x20d),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1a9)),'icon':_0x260c2f,'actions':[{'id':_0x4a3b99(0x18a),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1f4)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x1e8),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x21b)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]}]},{'id':_0x4a3b99(0x191),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x190)),'icon':_0x21bd6f,'actions':[{'id':_0x4a3b99(0x205),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x218)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x20b),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1c9)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x20a),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x192)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x181),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x19d)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x1b0),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x180)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]}]},{'id':_0x4a3b99(0x1de),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1fe)),'icon':_0x3bda67,'actions':[{'id':_0x4a3b99(0x1d6),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1ca)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1b4)}},{'id':_0x4a3b99(0x219),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1e9)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x214)}},{'id':_0x4a3b99(0x18b),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1e6)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1f0)}},{'id':_0x4a3b99(0x1db),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x193)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1b5)}},{'id':_0x4a3b99(0x202),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x203)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1dc)}},{'id':_0x4a3b99(0x186),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x18c)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1c5)}},{'id':_0x4a3b99(0x1a0),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1fd)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1bc)}},{'id':_0x4a3b99(0x1d1),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1e4)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1f8)}},{'id':_0x4a3b99(0x208),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1f9)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1b7)}},{'id':_0x4a3b99(0x1f2),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1ef)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1a5)}}]},{'id':_0x4a3b99(0x217),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1c8)),'icon':_0x4586ce,'actions':[]}];return _0x4388e3;}(_0xf2003d);}async[_0x3f2a1d(0x1d8)](){const _0x144f44=_0x3f2a1d,_0x5a613c=AIQuickActionsUI[_0x144f44(0x17f)](this[_0x144f44(0x21a)][_0x144f44(0x1d5)]),_0x57e9f0=this[_0x144f44(0x21a)][_0x144f44(0x1a2)][_0x144f44(0x1c3)](_0x144f44(0x1ea))||[];let _0x44da7f=[];try{_0x44da7f=await new _0x15d3ee({'connector':this[_0x144f44(0x21a)][_0x144f44(0x1be)][_0x144f44(0x1c3)](_0x144f44(0x185)),'locale':this[_0x144f44(0x21a)][_0x144f44(0x1d5)]})[_0x144f44(0x1c4)]();}catch(_0xdb6871){const _0x203e33=new _0xf1313f(_0x144f44(0x1ba),this,{'error':_0xdb6871});_0x1749c9(_0x203e33[_0x144f44(0x1d3)]);}finally{const _0xc33348=_0x57e9f0[_0x144f44(0x1ce)](_0xa38606=>({..._0xa38606,'icon':void 0x0}));_0x5a613c[_0x144f44(0x1cb)](_0x48ab73=>_0x144f44(0x217)===_0x48ab73['id'])[_0x144f44(0x1ae)][_0x144f44(0x207)](..._0xc33348),_0x5a613c[_0x144f44(0x195)](_0x2062ac=>{const _0x2f8d2c=_0x144f44;if(_0x2f8d2c(0x1ae)in _0x2062ac)_0x2062ac[_0x2f8d2c(0x1ae)][_0x2f8d2c(0x195)](_0x1de6dd=>{const _0x47c6f0=_0x2f8d2c;if(_0x1de6dd[_0x47c6f0(0x20e)]=!!_0x44da7f[_0x47c6f0(0x1cb)](_0x6c958a=>_0x6c958a['id']===_0x1de6dd[_0x47c6f0(0x196)])||void 0x0===_0x1de6dd[_0x47c6f0(0x196)],!_0x1de6dd[_0x47c6f0(0x20e)]){const _0x594525=new _0xf1313f(_0x47c6f0(0x1ac),this,{'actionId':_0x1de6dd['id'],'modelId':_0x1de6dd[_0x47c6f0(0x196)]});_0x1749c9(_0x594525[_0x47c6f0(0x1d3)]);}});else{if(_0x2062ac[_0x2f8d2c(0x20e)]=!!_0x44da7f[_0x2f8d2c(0x1cb)](_0x50cd28=>_0x50cd28['id']===_0x2062ac[_0x2f8d2c(0x196)])||void 0x0===_0x2062ac[_0x2f8d2c(0x196)],!_0x2062ac[_0x2f8d2c(0x20e)]){const _0x2ebc34=new _0xf1313f(_0x2f8d2c(0x1ac),this,{'actionId':_0x2062ac['id'],'modelId':_0x2062ac[_0x2f8d2c(0x196)]});_0x1749c9(_0x2ebc34[_0x2f8d2c(0x1d3)]);}}});}return _0x5a613c;}[_0x3f2a1d(0x1d0)](){const _0x316315=_0x3f2a1d,_0x4ecdf7=new _0x2a3f9c(this[_0x316315(0x21a)][_0x316315(0x1d5)]);_0x4ecdf7[_0x316315(0x1e2)](),this[_0x316315(0x1dd)](_0x4ecdf7),this[_0x316315(0x200)](),this[_0x316315(0x204)](_0x4ecdf7);}[_0x3f2a1d(0x1dd)](_0x3e6262){const _0x473c1e=_0x3f2a1d,_0x5c5b86=this[_0x473c1e(0x21a)][_0x473c1e(0x1a2)][_0x473c1e(0x1c3)](_0x473c1e(0x1d9))??!0x0;this[_0x473c1e(0x21a)]['ui'][_0x473c1e(0x1a3)][_0x473c1e(0x1d2)](_0x473c1e(0x1b2),_0x2e9e9e({'editor':this[_0x473c1e(0x21a)],'content':this[_0x473c1e(0x1b6)],'buttonDefinition':{'icon':_0x2a9af0,'label':_0x1b31e7(this[_0x473c1e(0x21a)][_0x473c1e(0x1d5)],_0x473c1e(0x1fa))},'bodyCollection':_0x3e6262,'hasSearch':_0x5c5b86}));}[_0x3f2a1d(0x1fb)](_0x53a700){const _0x4c20ac=_0x3f2a1d;this[_0x4c20ac(0x1b6)]=_0x53a700[_0x4c20ac(0x1ce)](_0x44b199=>{const _0x776c72=_0x4c20ac;if(_0x776c72(0x1ae)in _0x44b199){const _0x192d45=_0x44b199;return{..._0x192d45,'actions':_0x192d45[_0x776c72(0x1ae)][_0x776c72(0x1ce)](_0x2e50d3=>{const {actions:_0x2c160b,..._0x4bdcb1}=_0x192d45;return{..._0x2e50d3,'parent':_0x4bdcb1};})[_0x776c72(0x20c)](_0x33f762=>this[_0x776c72(0x1f1)](_0x33f762))};}return _0x44b199;})[_0x4c20ac(0x20c)](_0x1f6c34=>_0x4c20ac(0x1ae)in _0x1f6c34?_0x1f6c34[_0x4c20ac(0x1ae)][_0x4c20ac(0x1c2)]>0x0:this[_0x4c20ac(0x1f1)](_0x1f6c34));}[_0x3f2a1d(0x1f1)](_0x542edc){const _0x547a04=_0x3f2a1d,_0x2b34d6=this[_0x547a04(0x21a)][_0x547a04(0x1a2)][_0x547a04(0x1c3)](_0x547a04(0x1ee))||[];return this[_0x547a04(0x21a)][_0x547a04(0x1be)][_0x547a04(0x1f5)](AIQuickActionTypeToPluginName[_0x542edc[_0x547a04(0x1a7)]])&&!_0x2b34d6[_0x547a04(0x183)](_0x542edc['id'])&&!(_0x542edc[_0x547a04(0x1a7)]===AIQuickActionType[_0x547a04(0x194)]&&!0x1===this[_0x547a04(0x21a)][_0x547a04(0x1a2)][_0x547a04(0x1c3)](_0x547a04(0x1f7)));}[_0x3f2a1d(0x204)](_0x365d87){const _0x7c463d=_0x3f2a1d;this[_0x7c463d(0x1b6)][_0x7c463d(0x195)](_0x390c03=>{const _0x38d478=_0x7c463d;if(_0x38d478(0x1ae)in _0x390c03){const _0x3e1445=_0x2e9e9e({'editor':this[_0x38d478(0x21a)],'content':_0x390c03[_0x38d478(0x1ae)],'buttonDefinition':_0x390c03,'bodyCollection':_0x365d87});this[_0x38d478(0x21a)]['ui'][_0x38d478(0x1a3)][_0x38d478(0x1d2)](_0x390c03['id'],_0x3e1445),_0x390c03[_0x38d478(0x1ae)][_0x38d478(0x195)](_0x1935a7=>{const _0x5e12f5=_0x38d478,_0x346985=_0x2371d0({'editor':this[_0x5e12f5(0x21a)],'action':_0x1935a7});this[_0x5e12f5(0x21a)]['ui'][_0x5e12f5(0x1a3)][_0x5e12f5(0x1d2)](_0x1935a7['id'],_0x346985);});}else{const _0x6df563=_0x2371d0({'editor':this[_0x38d478(0x21a)],'action':_0x390c03,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x38d478(0x21a)]['ui'][_0x38d478(0x1a3)][_0x38d478(0x1d2)](_0x390c03['id'],_0x6df563);}});}[_0x3f2a1d(0x200)](){const _0x44fd4d=_0x3f2a1d;this[_0x44fd4d(0x21a)]['ui'][_0x44fd4d(0x1a3)][_0x44fd4d(0x1d2)](_0x44fd4d(0x1aa),_0x37f07d=>{const _0x27d711=_0x44fd4d,_0x452295=new _0x2513e4(_0x37f07d),_0x1c5f7d=_0x1b31e7(_0x37f07d,_0x27d711(0x1fa));_0x452295[_0x27d711(0x1ff)][_0x27d711(0x211)]({'label':_0x1c5f7d,'icon':_0x2a9af0});const _0x2c99e0=new _0x3280af(_0x37f07d);_0x2c99e0[_0x27d711(0x211)]({'ariaLabel':_0x1c5f7d,'role':_0x27d711(0x18f)}),this[_0x27d711(0x1b6)][_0x27d711(0x195)](_0x456731=>{const _0x1787f1=_0x27d711;if(_0x1787f1(0x1ae)in _0x456731){const _0x285576=_0x456731,_0xfb1b68=new _0x1914cc(_0x37f07d,_0x452295),_0x5d594e=new _0x2513e4(_0x37f07d),_0x1bc747=new _0x3280af(_0x37f07d);_0x5d594e[_0x1787f1(0x1ff)][_0x1787f1(0x211)]({'label':_0x285576[_0x1787f1(0x19f)],'icon':_0x285576[_0x1787f1(0x17d)]}),_0x285576[_0x1787f1(0x1ae)][_0x1787f1(0x195)](_0x484060=>{const _0x3f04f6=_0x1787f1,_0x748337=new _0x1914cc(_0x37f07d,_0x5d594e),_0xee0e15=new _0x32109f(_0x37f07d);_0xee0e15[_0x3f04f6(0x211)]({'label':_0x484060[_0x3f04f6(0x1cc)],'icon':_0x484060[_0x3f04f6(0x17d)],'role':_0x3f04f6(0x1fc),'isEnabled':_0x484060[_0x3f04f6(0x20e)]}),_0xee0e15['on'](_0x3f04f6(0x215),()=>{const _0x19258b=_0x3f04f6;this[_0x19258b(0x198)](_0x484060);}),_0xee0e15[_0x3f04f6(0x1cd)](_0x3f04f6(0x215))['to'](_0x5d594e),_0x748337[_0x3f04f6(0x1af)][_0x3f04f6(0x1d2)](_0xee0e15),_0x1bc747[_0x3f04f6(0x20f)][_0x3f04f6(0x1d2)](_0x748337);}),_0x5d594e[_0x1787f1(0x1c1)][_0x1787f1(0x1af)][_0x1787f1(0x1d2)](_0x1bc747),_0xfb1b68[_0x1787f1(0x1af)][_0x1787f1(0x1d2)](_0x5d594e),_0x2c99e0[_0x1787f1(0x20f)][_0x1787f1(0x1d2)](_0xfb1b68);}else{const _0x12fff1=_0x456731,_0x4a4961=new _0x1914cc(_0x37f07d,_0x452295),_0x3e10ea=new _0x32109f(_0x37f07d);_0x3e10ea[_0x1787f1(0x211)]({'label':_0x12fff1[_0x1787f1(0x1cc)],'icon':_0x12fff1[_0x1787f1(0x17d)],'role':_0x1787f1(0x1fc),'isEnabled':_0x12fff1[_0x1787f1(0x20e)]}),_0x3e10ea['on'](_0x1787f1(0x215),()=>{const _0x3e8dad=_0x1787f1;this[_0x3e8dad(0x198)](_0x12fff1);}),_0x3e10ea[_0x1787f1(0x1cd)](_0x1787f1(0x215))['to'](_0x452295),_0x4a4961[_0x1787f1(0x1af)][_0x1787f1(0x1d2)](_0x3e10ea),_0x2c99e0[_0x1787f1(0x20f)][_0x1787f1(0x1d2)](_0x4a4961);}});const _0x5286af=Object[_0x27d711(0x1e1)](AIQuickActionTypeToPluginName)[_0x27d711(0x1cf)](_0xce8858=>this[_0x27d711(0x21a)][_0x27d711(0x1be)][_0x27d711(0x1f5)](_0xce8858));return _0x452295[_0x27d711(0x211)]({'isEnabled':_0x5286af}),_0x452295[_0x27d711(0x1c1)][_0x27d711(0x1af)][_0x27d711(0x1d2)](_0x2c99e0),_0x452295;});}[_0x3f2a1d(0x198)](_0x4dedcf){const _0x5f375d=_0x3f2a1d,_0x528c2f=this[_0x5f375d(0x21a)];_0x528c2f[_0x5f375d(0x19b)][_0x5f375d(0x1d7)][_0x5f375d(0x1e0)](),_0x528c2f[_0x5f375d(0x184)][_0x5f375d(0x215)](_0x5f375d(0x213),_0x4dedcf);const _0x3b917d=_0x528c2f['ui'][_0x5f375d(0x1d7)][_0x5f375d(0x197)];_0x3b917d&&_0x3b917d[_0x5f375d(0x19c)]&&_0x3b917d[_0x5f375d(0x19c)]();}}
|
|
23
|
+
const _0x12867d=_0xe7bb;(function(_0x5b96f2,_0x3ae006){const _0x1a6e41=_0xe7bb,_0x3f3bd0=_0x5b96f2();while(!![]){try{const _0x5bbe05=-parseInt(_0x1a6e41(0x124))/0x1+-parseInt(_0x1a6e41(0x118))/0x2+parseInt(_0x1a6e41(0xc5))/0x3+parseInt(_0x1a6e41(0xa9))/0x4*(-parseInt(_0x1a6e41(0x127))/0x5)+parseInt(_0x1a6e41(0x10a))/0x6*(parseInt(_0x1a6e41(0xe7))/0x7)+parseInt(_0x1a6e41(0xd0))/0x8+parseInt(_0x1a6e41(0x13d))/0x9*(parseInt(_0x1a6e41(0x115))/0xa);if(_0x5bbe05===_0x3ae006)break;else _0x3f3bd0['push'](_0x3f3bd0['shift']());}catch(_0x136b45){_0x3f3bd0['push'](_0x3f3bd0['shift']());}}}(_0x3eb5,0xb2270));import{IconAIAdjustLength as _0x3f1d28,IconAIChangeTone as _0x2182c7,IconAIChatCommands as _0x4e3522,IconAIContinueWriting as _0x197a53,IconAIGrammarCheck as _0x592d1f,IconAIImproveWriting as _0x2e8cd6,IconAIOther as _0x8d1c54,IconAIQuickActions as _0x4690e6,IconAITranslate as _0x400a8c}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1ea037}from'ckeditor5/src/core.js';import{CKEditorError as _0x160cd5,logError as _0x4b5475}from'ckeditor5/src/utils.js';import{getTranslation as _0x136237}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4bc92b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x55fccd}from'./ui/aiquickactionsbuttoncreator.js';function _0xe7bb(_0x5e782e,_0x131fbe){const _0x3eb5a8=_0x3eb5();return _0xe7bb=function(_0xe7bbec,_0x1eeb29){_0xe7bbec=_0xe7bbec-0xa0;let _0x1d1950=_0x3eb5a8[_0xe7bbec];return _0x1d1950;},_0xe7bb(_0x5e782e,_0x131fbe);}import{BodyCollection as _0x3f8741,BalloonToolbar as _0x5677f6,MenuBarMenuView as _0x12067d,MenuBarMenuListView as _0x4687a4,MenuBarMenuListItemView as _0x14d2db,MenuBarMenuListItemButtonView as _0x330456}from'ckeditor5/src/ui.js';import{AIModels as _0x1999eb}from'../aicore/model/aimodels.js';import{AIConnector as _0x285015}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x12867d(0xf6),ie=_0x12867d(0x10b),ne=_0x12867d(0x106);export var AIQuickActionType;!function(_0x43134c){const _0x90daa5=_0x12867d;_0x43134c[_0x90daa5(0xe6)]=_0x90daa5(0xe6),_0x43134c[_0x90daa5(0xfa)]=_0x90daa5(0xfa),_0x43134c[_0x90daa5(0xd2)]=_0x90daa5(0xd2);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x38279a){const _0x158a63=_0x12867d;_0x38279a[_0x158a63(0xe6)]=_0x158a63(0xef),_0x38279a[_0x158a63(0xfa)]=_0x158a63(0xf2),_0x38279a[_0x158a63(0xd2)]=_0x158a63(0xca);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1ea037{static get[_0x12867d(0xc0)](){return[_0x5677f6,_0x285015];}static get[_0x12867d(0x116)](){const _0x137bb7=_0x12867d;return _0x137bb7(0x12e);}static get[_0x12867d(0xa4)](){return!0x0;}static get[_0x12867d(0x105)](){return!0x0;}async[_0x12867d(0xbe)](){const _0x3b5d3a=_0x12867d,_0x23bac8=await this[_0x3b5d3a(0xae)]();this[_0x3b5d3a(0xd7)](_0x23bac8),this[_0x3b5d3a(0xde)]();}static[_0x12867d(0xf3)](_0x1aeee4){return function(_0x263fef){const _0xdf8972=_0xe7bb,_0x270c26=new Intl[(_0xdf8972(0xf9))](['en'],{'type':_0xdf8972(0x100)})['of'](_0x263fef[_0xdf8972(0x114)]),_0x526885=_0x270c26||_0xdf8972(0xea),_0x2dc68d=[{'id':_0xdf8972(0xfd),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xbb)),'type':AIQuickActionType[_0xdf8972(0xe6)],'icon':_0x4e3522},{'id':_0xdf8972(0xa3),'label':_0x136237(_0x263fef,_0xdf8972(0xa7)),'icon':_0x4e3522,'actions':[{'id':_0xdf8972(0x102),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x11d)),'prompt':ee[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]},{'id':_0xdf8972(0xc7),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x12f)),'prompt':ie[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]},{'id':_0xdf8972(0xee),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xf1)),'prompt':ne[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]}]},{'id':_0xdf8972(0x13f),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb1)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x2e8cd6},{'id':_0xdf8972(0xb0),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x11f)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x197a53},{'id':_0xdf8972(0x111),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb7)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x592d1f},{'id':_0xdf8972(0xec),'label':_0x136237(_0x263fef,_0xdf8972(0xad)),'icon':_0x3f1d28,'actions':[{'id':_0xdf8972(0x136),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10e)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xda),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x110)),'type':AIQuickActionType[_0xdf8972(0xfa)]}]},{'id':_0xdf8972(0xbf),'label':_0x136237(_0x263fef,_0xdf8972(0xfb)),'icon':_0x2182c7,'actions':[{'id':_0xdf8972(0x137),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xc9)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xdf),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10d)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xb8),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xaf)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0x130),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe1)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xcd),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb5)),'type':AIQuickActionType[_0xdf8972(0xfa)]}]},{'id':_0xdf8972(0xce),'label':_0x136237(_0x263fef,_0xdf8972(0xfc)),'icon':_0x400a8c,'actions':[{'id':_0xdf8972(0xed),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe9)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xd8)}},{'id':_0xdf8972(0x119),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb4)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x11a)}},{'id':_0xdf8972(0xd5),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xd3)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xc8)}},{'id':_0xdf8972(0x13a),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xa8)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x131)}},{'id':_0xdf8972(0xcb),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe2)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xf0)}},{'id':_0xdf8972(0x113),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x101)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x11e)}},{'id':_0xdf8972(0xff),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x13b)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x138)}},{'id':_0xdf8972(0xfe),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10f)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x104)}},{'id':_0xdf8972(0xba),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10c)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x121)}},{'id':_0xdf8972(0x135),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x128)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xaa)}}]},{'id':_0xdf8972(0x112),'label':_0x136237(_0x263fef,_0xdf8972(0xb3)),'icon':_0x8d1c54,'actions':[]}];return _0x2dc68d;}(_0x1aeee4);}async[_0x12867d(0xae)](){const _0x1dd5f4=_0x12867d,_0x17e048=AIQuickActionsUI[_0x1dd5f4(0xf3)](this[_0x1dd5f4(0x139)][_0x1dd5f4(0xac)]),_0xfb5417=this[_0x1dd5f4(0x139)][_0x1dd5f4(0x11c)][_0x1dd5f4(0x108)](_0x1dd5f4(0xb9))||[];let _0x16ae56=[];try{_0x16ae56=await new _0x1999eb({'connector':this[_0x1dd5f4(0x139)][_0x1dd5f4(0x125)][_0x1dd5f4(0x108)](_0x1dd5f4(0xe3)),'locale':this[_0x1dd5f4(0x139)][_0x1dd5f4(0xac)]})[_0x1dd5f4(0x103)]();}catch(_0x4dd0a0){const _0x460b99=new _0x160cd5(_0x1dd5f4(0x11b),this,{'error':_0x4dd0a0});_0x4b5475(_0x460b99[_0x1dd5f4(0xb2)]);}finally{const _0x32c3ed=_0xfb5417[_0x1dd5f4(0xa0)](_0x2676bc=>({..._0x2676bc,'icon':void 0x0}));_0x17e048[_0x1dd5f4(0xe5)](_0x3085cb=>_0x1dd5f4(0x112)===_0x3085cb['id'])[_0x1dd5f4(0xd6)][_0x1dd5f4(0xe4)](..._0x32c3ed),_0x17e048[_0x1dd5f4(0x12b)](_0x45c5f5=>{const _0x55f12e=_0x1dd5f4;if(_0x55f12e(0xd6)in _0x45c5f5)_0x45c5f5[_0x55f12e(0xd6)][_0x55f12e(0x12b)](_0x29a16f=>{const _0x2cb32f=_0x55f12e;if(_0x29a16f[_0x2cb32f(0xb6)]=!!_0x16ae56[_0x2cb32f(0xe5)](_0x201f86=>_0x201f86['id']===_0x29a16f[_0x2cb32f(0x134)])||void 0x0===_0x29a16f[_0x2cb32f(0x134)],!_0x29a16f[_0x2cb32f(0xb6)]){const _0x3d476a=new _0x160cd5(_0x2cb32f(0x140),this,{'actionId':_0x29a16f['id'],'modelId':_0x29a16f[_0x2cb32f(0x134)]});_0x4b5475(_0x3d476a[_0x2cb32f(0xb2)]);}});else{if(_0x45c5f5[_0x55f12e(0xb6)]=!!_0x16ae56[_0x55f12e(0xe5)](_0xb7e63c=>_0xb7e63c['id']===_0x45c5f5[_0x55f12e(0x134)])||void 0x0===_0x45c5f5[_0x55f12e(0x134)],!_0x45c5f5[_0x55f12e(0xb6)]){const _0x3be286=new _0x160cd5(_0x55f12e(0x140),this,{'actionId':_0x45c5f5['id'],'modelId':_0x45c5f5[_0x55f12e(0x134)]});_0x4b5475(_0x3be286[_0x55f12e(0xb2)]);}}});}return _0x17e048;}[_0x12867d(0xde)](){const _0x7344df=_0x12867d,_0x22e0c2=new _0x3f8741(this[_0x7344df(0x139)][_0x7344df(0xac)]);_0x22e0c2[_0x7344df(0xf5)](),this[_0x7344df(0xc1)](_0x22e0c2),this[_0x7344df(0xcf)](),this[_0x7344df(0x12a)](_0x22e0c2);}[_0x12867d(0xc1)](_0x28f779){const _0x207f51=_0x12867d,_0x5216e8=this[_0x207f51(0x139)][_0x207f51(0x11c)][_0x207f51(0x108)](_0x207f51(0xc3))??!0x0;this[_0x207f51(0x139)]['ui'][_0x207f51(0x109)][_0x207f51(0xa5)](_0x207f51(0xd1),_0x4bc92b({'editor':this[_0x207f51(0x139)],'content':this[_0x207f51(0x123)],'buttonDefinition':{'icon':_0x4690e6,'label':_0x136237(this[_0x207f51(0x139)][_0x207f51(0xac)],_0x207f51(0xa1))},'bodyCollection':_0x28f779,'hasSearch':_0x5216e8}));}[_0x12867d(0xd7)](_0x43bc38){const _0x3c1c3c=_0x12867d;this[_0x3c1c3c(0x123)]=_0x43bc38[_0x3c1c3c(0xa0)](_0x5214d9=>{const _0x3d0b4d=_0x3c1c3c;if(_0x3d0b4d(0xd6)in _0x5214d9){const _0x1fae32=_0x5214d9;return{..._0x1fae32,'actions':_0x1fae32[_0x3d0b4d(0xd6)][_0x3d0b4d(0xa0)](_0xefed40=>{const {actions:_0x37f500,..._0x161575}=_0x1fae32;return{..._0xefed40,'parent':_0x161575};})[_0x3d0b4d(0x126)](_0x4e3b91=>this[_0x3d0b4d(0xdb)](_0x4e3b91))};}return _0x5214d9;})[_0x3c1c3c(0x126)](_0x3d5239=>_0x3c1c3c(0xd6)in _0x3d5239?_0x3d5239[_0x3c1c3c(0xd6)][_0x3c1c3c(0xa2)]>0x0:this[_0x3c1c3c(0xdb)](_0x3d5239));}[_0x12867d(0xdb)](_0x2e9538){const _0x26bfe1=_0x12867d,_0xcc086b=this[_0x26bfe1(0x139)][_0x26bfe1(0x11c)][_0x26bfe1(0x108)](_0x26bfe1(0xe0))||[];return this[_0x26bfe1(0x139)][_0x26bfe1(0x125)][_0x26bfe1(0xbc)](AIQuickActionTypeToPluginName[_0x2e9538[_0x26bfe1(0xc2)]])&&!_0xcc086b[_0x26bfe1(0xd4)](_0x2e9538['id'])&&!(_0x2e9538[_0x26bfe1(0xc2)]===AIQuickActionType[_0x26bfe1(0xe6)]&&!0x1===this[_0x26bfe1(0x139)][_0x26bfe1(0x11c)][_0x26bfe1(0x108)](_0x26bfe1(0xdd)));}[_0x12867d(0x12a)](_0x2ca2c6){const _0x110f38=_0x12867d;this[_0x110f38(0x123)][_0x110f38(0x12b)](_0x51c092=>{const _0x1da64c=_0x110f38;if(_0x1da64c(0xd6)in _0x51c092){const _0x4219cd=_0x4bc92b({'editor':this[_0x1da64c(0x139)],'content':_0x51c092[_0x1da64c(0xd6)],'buttonDefinition':_0x51c092,'bodyCollection':_0x2ca2c6});this[_0x1da64c(0x139)]['ui'][_0x1da64c(0x109)][_0x1da64c(0xa5)](_0x51c092['id'],_0x4219cd),_0x51c092[_0x1da64c(0xd6)][_0x1da64c(0x12b)](_0x1f122c=>{const _0x5e4ce0=_0x1da64c,_0x215ec6=_0x55fccd({'editor':this[_0x5e4ce0(0x139)],'action':_0x1f122c});this[_0x5e4ce0(0x139)]['ui'][_0x5e4ce0(0x109)][_0x5e4ce0(0xa5)](_0x1f122c['id'],_0x215ec6);});}else{const _0x4fda4b=_0x55fccd({'editor':this[_0x1da64c(0x139)],'action':_0x51c092,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x1da64c(0x139)]['ui'][_0x1da64c(0x109)][_0x1da64c(0xa5)](_0x51c092['id'],_0x4fda4b);}});}[_0x12867d(0xcf)](){const _0x275fd0=_0x12867d;this[_0x275fd0(0x139)]['ui'][_0x275fd0(0x109)][_0x275fd0(0xa5)](_0x275fd0(0x132),_0x181b5d=>{const _0x45d264=_0x275fd0,_0x3bd075=new _0x12067d(_0x181b5d),_0x1401bd=_0x136237(_0x181b5d,_0x45d264(0xa1));_0x3bd075[_0x45d264(0xc4)][_0x45d264(0x13e)]({'label':_0x1401bd,'icon':_0x4690e6});const _0x16bfe0=new _0x4687a4(_0x181b5d);_0x16bfe0[_0x45d264(0x13e)]({'ariaLabel':_0x1401bd,'role':_0x45d264(0xc6)}),this[_0x45d264(0x123)][_0x45d264(0x12b)](_0x45b74f=>{const _0x54b5cd=_0x45d264;if(_0x54b5cd(0xd6)in _0x45b74f){const _0x413e0b=_0x45b74f,_0xb8f738=new _0x14d2db(_0x181b5d,_0x3bd075),_0x3bfc28=new _0x12067d(_0x181b5d),_0x5454e2=new _0x4687a4(_0x181b5d);_0x3bfc28[_0x54b5cd(0xc4)][_0x54b5cd(0x13e)]({'label':_0x413e0b[_0x54b5cd(0x122)],'icon':_0x413e0b[_0x54b5cd(0x117)]}),_0x413e0b[_0x54b5cd(0xd6)][_0x54b5cd(0x12b)](_0x69ea1b=>{const _0x2cb492=_0x54b5cd,_0x535d57=new _0x14d2db(_0x181b5d,_0x3bfc28),_0x48b77c=new _0x330456(_0x181b5d);_0x48b77c[_0x2cb492(0x13e)]({'label':_0x69ea1b[_0x2cb492(0xf4)],'icon':_0x69ea1b[_0x2cb492(0x117)],'role':_0x2cb492(0x107),'isEnabled':_0x69ea1b[_0x2cb492(0xb6)]}),_0x48b77c['on'](_0x2cb492(0x133),()=>{const _0x1a4728=_0x2cb492;this[_0x1a4728(0xf8)](_0x69ea1b);}),_0x48b77c[_0x2cb492(0xeb)](_0x2cb492(0x133))['to'](_0x3bfc28),_0x535d57[_0x2cb492(0xf7)][_0x2cb492(0xa5)](_0x48b77c),_0x5454e2[_0x2cb492(0xab)][_0x2cb492(0xa5)](_0x535d57);}),_0x3bfc28[_0x54b5cd(0x120)][_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x5454e2),_0xb8f738[_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x3bfc28),_0x16bfe0[_0x54b5cd(0xab)][_0x54b5cd(0xa5)](_0xb8f738);}else{const _0x548d71=_0x45b74f,_0x437254=new _0x14d2db(_0x181b5d,_0x3bd075),_0x3610c1=new _0x330456(_0x181b5d);_0x3610c1[_0x54b5cd(0x13e)]({'label':_0x548d71[_0x54b5cd(0xf4)],'icon':_0x548d71[_0x54b5cd(0x117)],'role':_0x54b5cd(0x107),'isEnabled':_0x548d71[_0x54b5cd(0xb6)]}),_0x3610c1['on'](_0x54b5cd(0x133),()=>{const _0x37f90b=_0x54b5cd;this[_0x37f90b(0xf8)](_0x548d71);}),_0x3610c1[_0x54b5cd(0xeb)](_0x54b5cd(0x133))['to'](_0x3bd075),_0x437254[_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x3610c1),_0x16bfe0[_0x54b5cd(0xab)][_0x54b5cd(0xa5)](_0x437254);}});const _0x2b52af=Object[_0x45d264(0xd9)](AIQuickActionTypeToPluginName)[_0x45d264(0xbd)](_0x5132cf=>this[_0x45d264(0x139)][_0x45d264(0x125)][_0x45d264(0xbc)](_0x5132cf));return _0x3bd075[_0x45d264(0x13e)]({'isEnabled':_0x2b52af}),_0x3bd075[_0x45d264(0x120)][_0x45d264(0xf7)][_0x45d264(0xa5)](_0x16bfe0),_0x3bd075;});}[_0x12867d(0xf8)](_0x5df2e5){const _0xbc84e7=_0x12867d,_0x570482=this[_0xbc84e7(0x139)];_0x570482[_0xbc84e7(0xe8)][_0xbc84e7(0xa6)][_0xbc84e7(0x12d)](),_0x570482[_0xbc84e7(0x129)][_0xbc84e7(0x133)](_0xbc84e7(0x13c),_0x5df2e5);const _0x2d2ed3=_0x570482['ui'][_0xbc84e7(0xa6)][_0xbc84e7(0xdc)];_0x2d2ed3&&_0x2d2ed3[_0xbc84e7(0xcc)]&&_0x2d2ed3[_0xbc84e7(0xcc)]();}}function _0x3eb5(){const _0x110dc3=['AI_QUICK_ACTIONS_ASK_AI','has','some','init','change-tone','requires','_initializeQuickActionsDropdown','type','ai.quickActions.isSearchEnabled','buttonView','2827830wmEqAl','menu','summarize','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','AIReviewMode','translate-to-french','close','make-tone-professional','translate','_initializeQuickActionsMenuBar','6146128OGljEP','aiQuickActions','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','includes','translate-to-spanish','actions','_prepareQuickActionsDefinition','english','values','make-longer','_shouldIncludeAction','menuBarView','ai.chat.context.document.enabled','_initializeQuickActionsComponentsAndCommands','make-tone-direct','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AIConnector','push','find','CHAT','28YiDoxF','editing','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','English','delegate','adjust-length','translate-to-english','highlight-key-points','AIChat','french','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIActions','getDefaultQuickActions','displayedPrompt','attachToDom','<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>','children','_executeQuickAction','DisplayNames','ACTION','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_TRANSLATE','ask-ai','translate-to-korean','translate-to-portuguese','language','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','explain','getAll','korean','isPremiumPlugin','<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>','menuitem','get','componentFactory','1275066WbfcWA','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MAKE_LONGER','fix-grammar','other','translate-to-japanese','uiLanguage','19100MbeSJj','pluginName','icon','1699842ICZStO','translate-to-chinese','chinese','ai-quick-actions-models-unable-to-retrieve','config','AI_QUICK_ACTIONS_EXPLAIN','japanese','AI_QUICK_ACTIONS_CONTINUE_WRITING','panelView','italian','label','_quickActionsDefinition','920629jDoPmh','plugins','filter','2013895myVlXS','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','commands','_initializeQuickActionsComponents','forEach','replace','focus','AIQuickActionsUI','AI_QUICK_ACTIONS_SUMMARIZE','make-tone-confident','german','menuBar:aiQuickActions','execute','model','translate-to-russian','make-shorter','make-tone-casual','portuguese','editor','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','aiQuickAction','3510OHakbX','set','improve-writing','ai-quick-actions-unavailable-model','map','AI_QUICK_ACTIONS_HEADING','length','chat-commands','isOfficialPlugin','add','view','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','8rSAHUu','russian','items','locale','AI_QUICK_ACTIONS_ADJUST_LENGTH','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_FRIENDLY','continue','AI_QUICK_ACTIONS_IMPROVE_WRITING','message','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','isEnabled','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','make-tone-friendly','ai.quickActions.extraCommands','translate-to-italian'];_0x3eb5=function(){return _0x110dc3;};return _0x3eb5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b0b53,_0x3094c4){const _0x3d4de5=_0x3506,_0x3e2066=_0x4b0b53();while(!![]){try{const _0x19b7fb=-parseInt(_0x3d4de5(0x1dc))/0x1+parseInt(_0x3d4de5(0x1d8))/0x2+parseInt(_0x3d4de5(0x1cd))/0x3+parseInt(_0x3d4de5(0x1dd))/0x4+parseInt(_0x3d4de5(0x1cb))/0x5*(-parseInt(_0x3d4de5(0x1c7))/0x6)+-parseInt(_0x3d4de5(0x1d5))/0x7+parseInt(_0x3d4de5(0x1c9))/0x8;if(_0x19b7fb===_0x3094c4)break;else _0x3e2066['push'](_0x3e2066['shift']());}catch(_0x5eb2d9){_0x3e2066['push'](_0x3e2066['shift']());}}}(_0x4e05,0x453dc));import{ButtonView as _0x5c5603}from'ckeditor5/src/ui.js';function _0x4e05(){const _0x3fead6=['execute','16350LTMozZ','icon','2315056TcFMlu','isEnabled','425IXVPYv','locale','1202760kuIfFu','parent','commands','displayedPrompt','menuitem','editing','focus','set','3458406lZTvHu','ck-ai-quick-actions-button','aiQuickAction','346980Jmjytq','bindTemplate','extendTemplate','view','84801pKDrjX','921216HtIoZJ'];_0x4e05=function(){return _0x3fead6;};return _0x4e05();}import{IconAIQuickActions as _0x192e74}from'@ckeditor/ckeditor5-icons';function _0x3506(_0x5b2c62,_0x3467d7){const _0x4e05d0=_0x4e05();return _0x3506=function(_0x3506b6,_0x3d991b){_0x3506b6=_0x3506b6-0x1c7;let _0x107d6b=_0x4e05d0[_0x3506b6];return _0x107d6b;},_0x3506(_0x5b2c62,_0x3467d7);}export function aiQuickActionsButtonCreator(_0x175620){const {editor:_0x5d6461,action:_0x3ab84e,withText:_0x2a9445=!0x1,withIcon:_0x5269dd=!0x0,isInDropdown:_0x3d704e=!0x0,shouldPreventFocus:_0x5b9a39=!0x1}=_0x175620;return()=>{const _0xfdaca0=_0x3506,_0x5da3fe=_0x5d6461[_0xfdaca0(0x1cc)],_0xcf61fe=new _0x5c5603(_0x5da3fe),_0x3c2716=_0xcf61fe[_0xfdaca0(0x1d9)];_0x3d704e&&_0xcf61fe[_0xfdaca0(0x1da)]({'on':{'mouseenter':_0x3c2716['to'](()=>{const _0x1f28d4=_0xfdaca0;_0x5b9a39&&_0x5b9a39()||_0xcf61fe[_0x1f28d4(0x1d3)]();})}});const _0x5578c7=_0x3ab84e[_0xfdaca0(0x1c8)]??_0x3ab84e[_0xfdaca0(0x1ce)]?.[_0xfdaca0(0x1c8)];return _0xcf61fe[_0xfdaca0(0x1d4)]({'label':_0x3ab84e[_0xfdaca0(0x1d0)],'withText':_0x2a9445,'role':_0xfdaca0(0x1d1),'icon':_0x5269dd?_0x5578c7??_0x192e74:void 0x0,'tooltip':!_0x2a9445,'class':_0xfdaca0(0x1d6),'isEnabled':_0x3ab84e[_0xfdaca0(0x1ca)]}),_0xcf61fe['on'](_0xfdaca0(0x1de),()=>{const _0x44e726=_0xfdaca0;_0x5d6461[_0x44e726(0x1d2)][_0x44e726(0x1db)][_0x44e726(0x1d3)](),_0x5d6461[_0x44e726(0x1cf)][_0x44e726(0x1de)](_0x44e726(0x1d7),_0x3ab84e);}),_0xcf61fe;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bfb55=_0x1749;(function(_0x4fd1c4,_0x3c176f){const _0x4c01fb=_0x1749,_0x2a051a=_0x4fd1c4();while(!![]){try{const _0x177b94=parseInt(_0x4c01fb(0x1b6))/0x1*(-parseInt(_0x4c01fb(0x1d3))/0x2)+parseInt(_0x4c01fb(0x20d))/0x3*(parseInt(_0x4c01fb(0x1dc))/0x4)+-parseInt(_0x4c01fb(0x223))/0x5*(-parseInt(_0x4c01fb(0x1cf))/0x6)+-parseInt(_0x4c01fb(0x1b9))/0x7+parseInt(_0x4c01fb(0x1de))/0x8+parseInt(_0x4c01fb(0x1ce))/0x9+-parseInt(_0x4c01fb(0x1be))/0xa;if(_0x177b94===_0x3c176f)break;else _0x2a051a['push'](_0x2a051a['shift']());}catch(_0x5555e4){_0x2a051a['push'](_0x2a051a['shift']());}}}(_0x3661,0x76696));import{View as _0x1ba25d,ListItemView as _0x9ab537,ListView as _0x2f1f48,BalloonPanelView as _0x283fb6,DropdownMenuPanelPositioningFunctions as _0x263d64,ViewCollection as _0x2b9722,FocusCycler as _0x4ccf29,ButtonView as _0x184fa2,IconView as _0x5ed056,HighlightedTextView as _0x58823d,ButtonLabelWithHighlightView as _0x17cac4,SearchTextView as _0x2e423b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x163621}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4b3696,KeystrokeHandler as _0x20db37}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1f6150}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x22d4b7}from'./dropdownmenubuttonwithhighlightview.js';function _0x1749(_0x52cccd,_0x4dd7bf){const _0x3661af=_0x3661();return _0x1749=function(_0x1749ca,_0x23b569){_0x1749ca=_0x1749ca-0x1a3;let _0xa28c70=_0x3661af[_0x1749ca];return _0xa28c70;},_0x1749(_0x52cccd,_0x4dd7bf);}function _0x3661(){const _0x5a99b5=['ck-ai-quick-actions-group-button','delete','653961vUAQwl','ck-ai-quick-actions-search-result-button','focusTracker','_hideNestedPanel','forEach','16441050jrHTpr','_handlePanelKeydown','icon','aiQuickAction','extendTemplate','_searchTextView','menuitem','_focusables','_createSearchTextView','_isSearchFocused','ArrowRight','content','.ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_setupActionButtonExecution','8353971RenhoY','66BICJxr','_createSearchResultGroupRow','locale','addMany','13082yhVZBI','closest','ck-reset_all','_createSearchResultActionButton','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-group-list','relatedTarget','resetSearch','isVisible','4QJruvA','.ck-ai-quick-actions-group-panel','7504624ZMQEWZ','bind','reset','_hasSearch','ck-dropdown-menu-list','render','pin','rtl','contains','ArrowLeft','some','actions','detachFromDom','fieldView','hide','_hideAllNestedPanels','focusCycler','bindTemplate','push','set','editing','show','ck-button','chain','get','addEventListener','execute','parent','ck-ai-quick-actions-button','destroy','_createSearchResultActionRow','_bodyCollection','optionsListView','_createGroupActionsList','add','_isMovingToNestedMenu','_createSearchResultGroupedActionButton','clear','div','fire','commands','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-search','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','span','_createActionButton','element','939621kKXPdZ','_createSearchResultIndividualActionButton','ck-rounded-corners','eastSouth','ck-ai-quick-actions-button_with-group__open-paren','isEnabled','_createSearchResultContentView','menu','_createListItems','text','label','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','isOn','focus','setTemplate','first','_allSearchableItems','mouseleave','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button_with-group__close-paren','_getButtonKeystroke','queryView','105785fiYtTo','role','_setupGroupMenuBehavior','_showNestedPanel','items','AI_QUICK_ACTIONS_SEARCH','_getPanelKeystroke','_handleSearchResultButtonClick','ck-ai-quick-actions-button__group-icon','keystrokes','ck-ai-quick-actions','ck-button_with-text','_openNestedPanels','children','button','ownerDocument','_createActionGroupButton','activeElement','ck-ai-quick-actions-group-panel','displayedPrompt','ck-ai-quick-actions-search-result__group-row','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-search-result__action-row','view','uiLanguageDirection','ck-ai-quick-actions-button_with-group','key','29LJrzFE'];_0x3661=function(){return _0x5a99b5;};return _0x3661();}import{getTranslation as _0x56551f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x27d52d}from'./aiquickactionsfilteredlistview.js';const Js=_0x1bfb55(0x214),Ws=_0x1bfb55(0x1c4);export class AIQuickActionsDropdownContentView extends _0x1ba25d{[_0x1bfb55(0x1fd)];[_0x1bfb55(0x1fe)];[_0x1bfb55(0x1c3)]=null;[_0x1bfb55(0x21d)]=[];[_0x1bfb55(0x1a8)];[_0x1bfb55(0x1bb)];[_0x1bfb55(0x1a4)];[_0x1bfb55(0x1c5)];[_0x1bfb55(0x1ee)];[_0x1bfb55(0x1a7)]=new Set();[_0x1bfb55(0x1e1)];constructor(_0x502c11,_0x5be6c8,_0x1b7b8c,_0x4f5701,_0x52c4e7=!0x1){const _0x1ef536=_0x1bfb55,_0x4d690b=_0x502c11[_0x1ef536(0x1d1)];super(_0x4d690b),this[_0x1ef536(0x1fd)]=_0x4f5701,this[_0x1ef536(0x1e1)]=_0x52c4e7;const _0x8080fa=this[_0x1ef536(0x215)](_0x502c11,_0x5be6c8,_0x1b7b8c);this[_0x1ef536(0x1fe)]=new _0x27d52d(_0x4d690b,_0x8080fa,this[_0x1ef536(0x21d)]),this[_0x1ef536(0x1fe)][_0x1ef536(0x224)]=Js,this[_0x1ef536(0x1fe)][_0x1ef536(0x227)][_0x1ef536(0x1d2)](_0x8080fa),this[_0x1ef536(0x1bb)]=new _0x4b3696(),this[_0x1ef536(0x1a4)]=new _0x20db37(),_0x52c4e7&&(this[_0x1ef536(0x1c3)]=this[_0x1ef536(0x1c6)]()),this[_0x1ef536(0x1c5)]=_0x8080fa,this[_0x1ef536(0x1ee)]=new _0x4ccf29({'focusables':this[_0x1ef536(0x1c5)],'focusTracker':this[_0x1ef536(0x1bb)],'keystrokeHandler':this[_0x1ef536(0x1a4)]}),_0x52c4e7&&this[_0x1ef536(0x1c3)]&&this[_0x1ef536(0x1ee)][_0x1ef536(0x1f5)](this[_0x1ef536(0x1c3)][_0x1ef536(0x1ee)]);const _0x433eac=_0x52c4e7&&this[_0x1ef536(0x1c3)]?[this[_0x1ef536(0x1c3)]]:[this[_0x1ef536(0x1fe)]];this[_0x1ef536(0x1a8)]=new _0x2b9722(_0x433eac),this[_0x1ef536(0x21b)]({'tag':_0x1ef536(0x204),'attributes':{'class':['ck',_0x1ef536(0x1d5),_0x1ef536(0x1a5),_0x1ef536(0x20f)],'dir':_0x4d690b[_0x1ef536(0x1b3)]},'children':this[_0x1ef536(0x1a8)]});}[_0x1bfb55(0x1c6)](){const _0xe188ce=_0x1bfb55;return new _0x2e423b(this[_0xe188ce(0x1d1)],{'filteredView':this[_0xe188ce(0x1fe)],'queryView':{'label':_0x56551f(this[_0xe188ce(0x1d1)],_0xe188ce(0x228))},'class':_0xe188ce(0x208),'infoView':{'text':{'notFound':{'primary':_0x56551f(this[_0xe188ce(0x1d1)],_0xe188ce(0x1b0))}}}});}[_0x1bfb55(0x1c7)](){const _0x2f4ec3=_0x1bfb55;if(!this[_0x2f4ec3(0x1e1)]||!this[_0x2f4ec3(0x1c3)]||!this[_0x2f4ec3(0x1c3)][_0x2f4ec3(0x222)][_0x2f4ec3(0x1eb)][_0x2f4ec3(0x20c)])return!0x1;const _0x56b1f6=this[_0x2f4ec3(0x1c3)][_0x2f4ec3(0x222)][_0x2f4ec3(0x1eb)][_0x2f4ec3(0x20c)][_0x2f4ec3(0x1aa)]?.[_0x2f4ec3(0x1ac)];return this[_0x2f4ec3(0x1c3)][_0x2f4ec3(0x222)][_0x2f4ec3(0x1eb)][_0x2f4ec3(0x20c)][_0x2f4ec3(0x1e6)](_0x56b1f6);}[_0x1bfb55(0x215)](_0x46a74a,_0x31ecbe,_0x82dce6){const _0x3e709c=_0x1bfb55,_0xfb84f7=new _0x2b9722();return _0x31ecbe[_0x3e709c(0x1bd)](_0x60cf09=>{const _0x18d8f7=_0x3e709c;if(_0x18d8f7(0x1e9)in _0x60cf09){const {listItem:_0x35a9a0}=this[_0x18d8f7(0x1ab)](_0x46a74a,_0x60cf09,_0x82dce6);_0xfb84f7[_0x18d8f7(0x200)](_0x35a9a0),_0x60cf09[_0x18d8f7(0x1e9)][_0x18d8f7(0x1bd)](_0x1ff668=>{const _0x1ca463=_0x18d8f7;this[_0x1ca463(0x20b)](_0x46a74a,_0x1ff668,_0x60cf09[_0x1ca463(0x217)],_0x60cf09[_0x1ca463(0x1c0)]);const {listItem:_0xbfcfad,highlightViews:_0x5741bf}=this[_0x1ca463(0x1d6)](_0x46a74a,_0x1ff668,_0x60cf09[_0x1ca463(0x217)],_0x60cf09[_0x1ca463(0x1c0)]);this[_0x1ca463(0x21d)][_0x1ca463(0x1f0)]({'item':_0xbfcfad,'label':_0x1ff668[_0x1ca463(0x1ae)],'groupLabel':_0x60cf09[_0x1ca463(0x217)],'highlightViews':_0x5741bf});});}else{const {listItem:_0x2f1020}=this[_0x18d8f7(0x20b)](_0x46a74a,_0x60cf09);_0xfb84f7[_0x18d8f7(0x200)](_0x2f1020);const _0x4d1a0a=_0x2f1020[_0x18d8f7(0x1a8)][_0x18d8f7(0x21c)];if(_0x4d1a0a){const {listItem:_0xc2fdf9,highlightViews:_0xe4e7bf}=this[_0x18d8f7(0x1d6)](_0x46a74a,_0x60cf09);this[_0x18d8f7(0x21d)][_0x18d8f7(0x1f0)]({'item':_0xc2fdf9,'label':_0x4d1a0a[_0x18d8f7(0x217)]||'','highlightViews':_0xe4e7bf});}}}),_0xfb84f7;}[_0x1bfb55(0x20b)](_0x2194fd,_0x1d54c,_0x4a0c0c,_0x2c4974){const _0x2919e3=_0x1bfb55,_0x39b902=new _0x9ab537(this[_0x2919e3(0x1d1)]);if(_0x4a0c0c&&_0x2c4974){const _0x5ba85b=new _0x184fa2(this[_0x2919e3(0x1d1)]),_0x55b338=_0x5ba85b[_0x2919e3(0x1ef)],_0x20674e=new _0x58823d();_0x20674e[_0x2919e3(0x216)]=_0x1d54c[_0x2919e3(0x1ae)];const _0x38666c=new _0x58823d();_0x38666c[_0x2919e3(0x216)]=_0x4a0c0c;const _0x1ec2f0=new _0x5ed056();_0x1ec2f0[_0x2919e3(0x1c9)]=_0x2c4974,_0x1ec2f0[_0x2919e3(0x1c2)]({'attributes':{'class':_0x2919e3(0x1a3)}});const _0x3e40a4=new _0x1ba25d(this[_0x2919e3(0x1d1)]);_0x3e40a4[_0x2919e3(0x21b)]({'tag':_0x2919e3(0x20a),'attributes':{'class':_0x2919e3(0x211)},'children':[{'text':'\x20('}]});const _0x230ede=new _0x1ba25d(this[_0x2919e3(0x1d1)]);return _0x230ede[_0x2919e3(0x21b)]({'tag':_0x2919e3(0x20a),'attributes':{'class':_0x2919e3(0x220)},'children':[{'text':')'}]}),_0x5ba85b[_0x2919e3(0x1f1)]({'label':_0x1d54c[_0x2919e3(0x1ae)]+'\x20('+_0x4a0c0c+')','withText':!0x0,'role':_0x2919e3(0x1c4),'class':_0x2919e3(0x218),'tooltip':!0x1}),_0x5ba85b[_0x2919e3(0x21b)]({'tag':_0x2919e3(0x1a9),'attributes':{'class':['ck',_0x2919e3(0x1f4),_0x2919e3(0x1a6),_0x2919e3(0x1fa),_0x2919e3(0x1b4)],'type':_0x2919e3(0x1a9),'role':_0x2919e3(0x1c4),'tabindex':'-1'},'children':[_0x20674e,_0x3e40a4,_0x1ec2f0,_0x38666c,_0x230ede],'on':{'mouseenter':_0x55b338['to'](()=>{const _0x3145a1=_0x2919e3;this[_0x3145a1(0x1c7)]()||_0x5ba85b[_0x3145a1(0x21a)]();}),'click':_0x55b338['to'](()=>{const _0x46a239=_0x2919e3;_0x5ba85b[_0x46a239(0x205)](_0x46a239(0x1f8));})}}),_0x5ba85b['on'](_0x2919e3(0x1f8),()=>{const _0x268101=_0x2919e3;_0x2194fd[_0x268101(0x1f2)][_0x268101(0x1b2)][_0x268101(0x21a)](),_0x2194fd[_0x268101(0x206)][_0x268101(0x1f8)](_0x268101(0x1c1),_0x1d54c);}),_0x39b902[_0x2919e3(0x1a8)][_0x2919e3(0x200)](_0x5ba85b),{'listItem':_0x39b902,'highlightViews':[_0x20674e,_0x38666c]};}{const _0xbfe21b=new _0x17cac4(),_0x4aecef=new _0x184fa2(this[_0x2919e3(0x1d1)],_0xbfe21b),_0x391709=_0x4aecef[_0x2919e3(0x1ef)],_0x404b01=_0x1d54c[_0x2919e3(0x1c0)]??_0x1d54c[_0x2919e3(0x1f9)]?.[_0x2919e3(0x1c0)],_0x35443c=void 0x0!==_0x1d54c[_0x2919e3(0x1c0)];return _0x4aecef[_0x2919e3(0x1f1)]({'label':_0x1d54c[_0x2919e3(0x1ae)],'withText':!0x0,'role':_0x2919e3(0x1c4),'icon':_0x35443c?_0x404b01??_0x163621:void 0x0,'tooltip':!0x1,'class':_0x2919e3(0x1fa)}),_0x4aecef[_0x2919e3(0x1c2)]({'on':{'mouseenter':_0x391709['to'](()=>{const _0x17ce4b=_0x2919e3;this[_0x17ce4b(0x1c7)]()||_0x4aecef[_0x17ce4b(0x21a)]();})}}),_0x4aecef['on'](_0x2919e3(0x1f8),()=>{const _0x5b36c9=_0x2919e3;_0x2194fd[_0x5b36c9(0x1f2)][_0x5b36c9(0x1b2)][_0x5b36c9(0x21a)](),_0x2194fd[_0x5b36c9(0x206)][_0x5b36c9(0x1f8)](_0x5b36c9(0x1c1),_0x1d54c);}),_0x39b902[_0x2919e3(0x1a8)][_0x2919e3(0x200)](_0x4aecef),{'listItem':_0x39b902,'highlightViews':[_0xbfe21b]};}}[_0x1bfb55(0x1d6)](_0x19bf1a,_0x485305,_0x46101e,_0x3ad111){const _0xa869b5=_0x1bfb55;return _0x46101e&&_0x3ad111?this[_0xa869b5(0x202)](_0x19bf1a,_0x485305,_0x46101e,_0x3ad111):this[_0xa869b5(0x20e)](_0x19bf1a,_0x485305);}[_0x1bfb55(0x202)](_0x5ba138,_0x42ab05,_0xd63f2d,_0x4ce972){const _0x206ab4=_0x1bfb55,_0x46602e=new _0x9ab537(this[_0x206ab4(0x1d1)]),_0x59bb17=new _0x184fa2(this[_0x206ab4(0x1d1)]),_0x3d1e1f=_0x59bb17[_0x206ab4(0x1ef)],{view:_0x123aa2,highlightView:_0x886514}=this[_0x206ab4(0x1d0)](_0xd63f2d,_0x4ce972),{view:_0x42d3de,highlightView:_0x5d2603}=this[_0x206ab4(0x1fc)](_0x42ab05[_0x206ab4(0x1ae)]),_0x489359=this[_0x206ab4(0x213)](_0x123aa2,_0x42d3de);return _0x59bb17[_0x206ab4(0x1f1)]({'label':_0x42ab05[_0x206ab4(0x1ae)],'withText':!0x0,'role':_0x206ab4(0x1c4),'class':_0x206ab4(0x209),'tooltip':!0x1}),_0x59bb17[_0x206ab4(0x21b)]({'tag':_0x206ab4(0x1a9),'attributes':{'class':['ck',_0x206ab4(0x1f4),_0x206ab4(0x1a6),_0x206ab4(0x1fa),_0x206ab4(0x1ba),_0x206ab4(0x21f)],'type':_0x206ab4(0x1a9),'role':_0x206ab4(0x1c4),'tabindex':'-1'},'children':[_0x489359],'on':{'mouseenter':_0x3d1e1f['to'](()=>{const _0x3b4867=_0x206ab4;this[_0x3b4867(0x1c7)]()||_0x59bb17[_0x3b4867(0x21a)]();}),'click':_0x3d1e1f['to'](()=>{const _0x1bb340=_0x206ab4;this[_0x1bb340(0x22a)](_0x59bb17);})}}),this[_0x206ab4(0x1cd)](_0x59bb17,_0x5ba138,_0x42ab05),_0x46602e[_0x206ab4(0x1a8)][_0x206ab4(0x200)](_0x59bb17),{'listItem':_0x46602e,'highlightViews':[_0x886514,_0x5d2603]};}[_0x1bfb55(0x20e)](_0x1731ca,_0x5de86b){const _0x101868=_0x1bfb55,_0x375c3c=new _0x9ab537(this[_0x101868(0x1d1)]),_0x3a91d1=new _0x17cac4(),_0x6c3ee8=new _0x184fa2(this[_0x101868(0x1d1)],_0x3a91d1),_0x123894=_0x6c3ee8[_0x101868(0x1ef)];return _0x6c3ee8[_0x101868(0x1f1)]({'label':_0x5de86b[_0x101868(0x1ae)],'withText':!0x0,'role':_0x101868(0x1c4),'icon':void 0x0,'tooltip':!0x1,'class':_0x101868(0x1cc)}),_0x6c3ee8[_0x101868(0x1c2)]({'on':{'mouseenter':_0x123894['to'](()=>{const _0x6c733a=_0x101868;this[_0x6c733a(0x1c7)]()||_0x6c3ee8[_0x6c733a(0x21a)]();})}}),this[_0x101868(0x1cd)](_0x6c3ee8,_0x1731ca,_0x5de86b),_0x375c3c[_0x101868(0x1a8)][_0x101868(0x200)](_0x6c3ee8),{'listItem':_0x375c3c,'highlightViews':[_0x3a91d1]};}[_0x1bfb55(0x1d0)](_0x5e3b00,_0x208db0){const _0x5f4e53=_0x1bfb55,_0x161b1f=new _0x1ba25d(this[_0x5f4e53(0x1d1)]),_0x4f2143=new _0x5ed056();_0x4f2143[_0x5f4e53(0x1c9)]=_0x208db0,_0x4f2143[_0x5f4e53(0x1c2)]({'attributes':{'class':_0x5f4e53(0x1a3)}});const _0x1fd0a8=new _0x58823d();return _0x1fd0a8[_0x5f4e53(0x216)]=_0x5e3b00,_0x161b1f[_0x5f4e53(0x21b)]({'tag':_0x5f4e53(0x204),'attributes':{'class':_0x5f4e53(0x1af)},'children':[_0x4f2143,_0x1fd0a8]}),{'view':_0x161b1f,'highlightView':_0x1fd0a8};}[_0x1bfb55(0x1fc)](_0x5c2e34){const _0x4895cc=_0x1bfb55,_0x1c6ec3=new _0x1ba25d(this[_0x4895cc(0x1d1)]),_0x15656d=new _0x58823d();return _0x15656d[_0x4895cc(0x216)]=_0x5c2e34,_0x1c6ec3[_0x4895cc(0x21b)]({'tag':_0x4895cc(0x204),'attributes':{'class':_0x4895cc(0x1b1)},'children':[_0x15656d]}),{'view':_0x1c6ec3,'highlightView':_0x15656d};}[_0x1bfb55(0x213)](_0x522763,_0x117f63){const _0xde30d2=_0x1bfb55,_0x4a2d23=new _0x1ba25d(this[_0xde30d2(0x1d1)]);return _0x4a2d23[_0xde30d2(0x21b)]({'tag':_0xde30d2(0x204),'attributes':{'class':_0xde30d2(0x1d7)},'children':[_0x522763,_0x117f63]}),_0x4a2d23;}[_0x1bfb55(0x1cd)](_0x58d624,_0x11fbff,_0x3d903a){const _0x589c1a=_0x1bfb55;_0x58d624['on'](_0x589c1a(0x1f8),()=>{const _0x515af1=_0x589c1a;_0x11fbff[_0x515af1(0x1f2)][_0x515af1(0x1b2)][_0x515af1(0x21a)](),_0x11fbff[_0x515af1(0x206)][_0x515af1(0x1f8)](_0x515af1(0x1c1),_0x3d903a);});}[_0x1bfb55(0x1ab)](_0x5e77cc,_0x214ebe,_0x3feb18){const _0x2f35ec=_0x1bfb55,_0x7e8858=new _0x9ab537(this[_0x2f35ec(0x1d1)]),_0x13426e=new _0x17cac4(),_0x1c9f48=new _0x22d4b7(this[_0x2f35ec(0x1d1)],_0x13426e),_0x32352e=_0x1c9f48[_0x2f35ec(0x1ef)],_0x194166=this[_0x2f35ec(0x229)](_0x3feb18),_0x328776=this[_0x2f35ec(0x1ff)](_0x5e77cc,_0x214ebe[_0x2f35ec(0x1e9)],_0x3feb18);_0x1c9f48[_0x2f35ec(0x1f1)]({'label':_0x214ebe[_0x2f35ec(0x217)],'withText':!0x0,'role':Ws,'icon':_0x214ebe[_0x2f35ec(0x1c0)]??_0x163621,'isEnabled':_0x214ebe[_0x2f35ec(0x1e9)][_0x2f35ec(0x1e8)](_0x272c3c=>_0x272c3c[_0x2f35ec(0x212)])}),_0x1c9f48[_0x2f35ec(0x1c2)]({'on':{'mouseenter':_0x32352e['to'](()=>{const _0x7e5cba=_0x2f35ec;this[_0x7e5cba(0x1c7)]()||_0x1c9f48[_0x7e5cba(0x21a)]();})}});const _0x209279=new _0x283fb6(this[_0x2f35ec(0x1d1)]);return _0x209279[_0x2f35ec(0x1c2)]({'attributes':{'class':['ck',_0x2f35ec(0x1d5),_0x2f35ec(0x1ad),_0x2f35ec(0x1cb)]},'on':{'keydown':_0x32352e['to'](_0x43ddba=>{const _0x564583=_0x2f35ec;this[_0x564583(0x1bf)](_0x43ddba,_0x194166,_0x1c9f48,_0x209279);})}}),_0x1c9f48[_0x2f35ec(0x1df)](_0x2f35ec(0x219))['to'](_0x209279,_0x2f35ec(0x1db)),this[_0x2f35ec(0x1fd)][_0x2f35ec(0x200)](_0x209279),_0x209279[_0x2f35ec(0x1c9)][_0x2f35ec(0x200)](_0x328776),this[_0x2f35ec(0x225)](_0x1c9f48,_0x209279),_0x7e8858[_0x2f35ec(0x1a8)][_0x2f35ec(0x200)](_0x1c9f48),{'listItem':_0x7e8858,'highlightView':_0x13426e};}[_0x1bfb55(0x1ff)](_0x17d7b5,_0x201a2d,_0x5b4771){const _0x52a37f=_0x1bfb55,_0x9b4ce8=new _0x2f1f48(this[_0x52a37f(0x1d1)]);return _0x9b4ce8[_0x52a37f(0x1c2)]({'attributes':{'class':['ck',_0x52a37f(0x1d5),_0x52a37f(0x1d8),_0x52a37f(0x1e2)]}}),_0x201a2d[_0x52a37f(0x1bd)](_0x22e521=>{const _0x4234dd=_0x52a37f,_0x598ce7=new _0x9ab537(this[_0x4234dd(0x1d1)]),_0x2ceb28=_0x1f6150({'editor':_0x17d7b5,'action':_0x22e521,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4234dd(0x1c7)]()})();_0x598ce7[_0x4234dd(0x1a8)][_0x4234dd(0x200)](_0x2ceb28),_0x5b4771[_0x4234dd(0x1bb)][_0x4234dd(0x200)](_0x2ceb28),_0x9b4ce8[_0x4234dd(0x227)][_0x4234dd(0x200)](_0x598ce7);}),_0x9b4ce8;}[_0x1bfb55(0x225)](_0x525020,_0x1bfc8a){const _0x540bd7=_0x1bfb55,_0x4fe661=_0x525020[_0x540bd7(0x1ef)],_0x1bbfdf=this[_0x540bd7(0x221)](_0x525020);_0x525020[_0x540bd7(0x1c2)]({'attributes':{'class':[_0x540bd7(0x1b7)]},'on':{'mouseenter':_0x4fe661['to'](()=>{const _0x22ab42=_0x540bd7;this[_0x22ab42(0x226)](_0x1bfc8a,_0x525020);}),'mouseleave':_0x4fe661['to'](_0x4b8ffe=>{const _0x5b1020=_0x540bd7,_0x544d23=_0x4b8ffe[_0x5b1020(0x1d9)];this[_0x5b1020(0x201)](_0x544d23,_0x1bfc8a)||this[_0x5b1020(0x1bc)](_0x1bfc8a);}),'keydown':_0x4fe661['to'](_0x57908a=>{const _0xb61b26=_0x540bd7;_0x57908a[_0xb61b26(0x1b5)]==_0x1bbfdf&&(this[_0xb61b26(0x226)](_0x1bfc8a,_0x525020),_0x1bfc8a[_0xb61b26(0x1c9)][_0xb61b26(0x1f6)](0x0)[_0xb61b26(0x21a)]());})}}),_0x1bfc8a['on'](_0x540bd7(0x1e3),()=>{const _0x398ca6=_0x540bd7;_0x1bfc8a[_0x398ca6(0x20c)]?.[_0x398ca6(0x1f7)](_0x398ca6(0x21e),_0x5e817=>{const _0x6ce60a=_0x398ca6,_0x390319=_0x5e817[_0x6ce60a(0x1d9)];_0x525020[_0x6ce60a(0x20c)]?.[_0x6ce60a(0x1e6)](_0x390319)||this[_0x6ce60a(0x201)](_0x390319,_0x1bfc8a)||this[_0x6ce60a(0x1bc)](_0x1bfc8a);});});}[_0x1bfb55(0x226)](_0x51a8aa,_0x28df72){const _0x2a7941=_0x1bfb55;this[_0x2a7941(0x1a7)][_0x2a7941(0x1bd)](_0x185ffd=>{const _0x507ede=_0x2a7941;_0x185ffd!==_0x51a8aa&&_0x185ffd[_0x507ede(0x1db)]&&_0x185ffd[_0x507ede(0x1ec)]();}),_0x51a8aa[_0x2a7941(0x1f3)](),_0x51a8aa[_0x2a7941(0x1e4)]({'positions':[_0x263d64[_0x2a7941(0x210)]],'target':_0x28df72[_0x2a7941(0x20c)],'fitInViewport':!0x0}),this[_0x2a7941(0x1a7)][_0x2a7941(0x200)](_0x51a8aa);}[_0x1bfb55(0x1bc)](_0x33e08d){const _0x15cfa6=_0x1bfb55;_0x33e08d[_0x15cfa6(0x1ec)](),this[_0x15cfa6(0x1a7)][_0x15cfa6(0x1b8)](_0x33e08d);}[_0x1bfb55(0x1ed)](){const _0x124ee8=_0x1bfb55;this[_0x124ee8(0x1a7)][_0x124ee8(0x1bd)](_0x1c748d=>_0x1c748d[_0x124ee8(0x1ec)]()),this[_0x124ee8(0x1a7)][_0x124ee8(0x203)]();}[_0x1bfb55(0x201)](_0x1be188,_0x317855){const _0x139764=_0x1bfb55;if(!_0x1be188)return!0x1;if(_0x317855[_0x139764(0x20c)]?.[_0x139764(0x1e6)](_0x1be188))return!0x0;const _0x1fcd40=_0x1be188;return _0x1fcd40[_0x139764(0x1d4)]&&(null!==_0x1fcd40[_0x139764(0x1d4)](_0x139764(0x1dd))||null!==_0x1fcd40[_0x139764(0x1d4)](_0x139764(0x1ca))||null!==_0x1fcd40[_0x139764(0x1d4)](_0x139764(0x207)));}[_0x1bfb55(0x1da)](){const _0x2a7f61=_0x1bfb55;this[_0x2a7f61(0x1c3)]&&this[_0x2a7f61(0x1c3)][_0x2a7f61(0x1e0)]();}[_0x1bfb55(0x1fb)](){const _0x39eef2=_0x1bfb55;this[_0x39eef2(0x1ed)](),this[_0x39eef2(0x1fd)][_0x39eef2(0x1ea)](),super[_0x39eef2(0x1fb)]();}[_0x1bfb55(0x21a)](){const _0x3dc0b4=_0x1bfb55;this[_0x3dc0b4(0x1c3)]?this[_0x3dc0b4(0x1c3)][_0x3dc0b4(0x21a)]():this[_0x3dc0b4(0x1fe)][_0x3dc0b4(0x21a)]();}[_0x1bfb55(0x229)](_0x4cb2f2){const _0x55fcd2=_0x1bfb55;return _0x55fcd2(0x1e5)===_0x4cb2f2[_0x55fcd2(0x1d1)][_0x55fcd2(0x1b3)]?_0x55fcd2(0x1c8):_0x55fcd2(0x1e7);}[_0x1bfb55(0x221)](_0x4cb1ff){const _0x168e71=_0x1bfb55;return _0x168e71(0x1e5)===_0x4cb1ff[_0x168e71(0x1d1)][_0x168e71(0x1b3)]?_0x168e71(0x1e7):_0x168e71(0x1c8);}[_0x1bfb55(0x1bf)](_0x447e9e,_0x58b6d1,_0x410de4,_0x4d1d5b){const _0x2a91b2=_0x1bfb55;_0x447e9e[_0x2a91b2(0x1b5)]==_0x58b6d1&&(_0x410de4[_0x2a91b2(0x21a)](),this[_0x2a91b2(0x1bc)](_0x4d1d5b));}[_0x1bfb55(0x22a)](_0xd738ff){const _0x576367=_0x1bfb55;_0xd738ff[_0x576367(0x205)](_0x576367(0x1f8));}}
|
|
23
|
+
const _0x5ec767=_0x25f8;(function(_0x32d0b1,_0x5dae0d){const _0x1ac7c3=_0x25f8,_0x37a8e9=_0x32d0b1();while(!![]){try{const _0x5a43f5=-parseInt(_0x1ac7c3(0x139))/0x1*(-parseInt(_0x1ac7c3(0x17d))/0x2)+-parseInt(_0x1ac7c3(0x161))/0x3*(-parseInt(_0x1ac7c3(0x13b))/0x4)+parseInt(_0x1ac7c3(0x12f))/0x5+parseInt(_0x1ac7c3(0x13a))/0x6+-parseInt(_0x1ac7c3(0x143))/0x7+-parseInt(_0x1ac7c3(0xfe))/0x8+-parseInt(_0x1ac7c3(0x153))/0x9;if(_0x5a43f5===_0x5dae0d)break;else _0x37a8e9['push'](_0x37a8e9['shift']());}catch(_0xed6f25){_0x37a8e9['push'](_0x37a8e9['shift']());}}}(_0x1fbd,0x91b07));import{View as _0xb74707,ListItemView as _0x22b8ba,ListView as _0x3f96aa,BalloonPanelView as _0x271ef6,DropdownMenuPanelPositioningFunctions as _0x48b61b,ViewCollection as _0x290b31,FocusCycler as _0x224dcc,ButtonView as _0x1b6dda,IconView as _0xf08085,HighlightedTextView as _0x365385,ButtonLabelWithHighlightView as _0xb31c85,SearchTextView as _0x2f5b11}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5108ee}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2f0975,KeystrokeHandler as _0xacd6d0}from'ckeditor5/src/utils.js';function _0x1fbd(){const _0x1a0880=['isVisible','actions','2073514kpzEmp','isEnabled','reset','ck-ai-quick-actions-search-result__group-row','_createSearchResultIndividualActionButton','fieldView','set','queryView','4457400rfXMvZ','ck-ai-quick-actions-group-button','_createSearchResultGroupedActionButton','role','ck-ai-quick-actions-button__group-icon','_hideAllNestedPanels','closest','ck-ai-quick-actions-group-panel','fire','children','_allSearchableItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','clear','_searchTextView','displayedPrompt','addMany','bindTemplate','extendTemplate','element','get','_setupActionButtonExecution','execute','span','activeElement','addEventListener','ck-ai-quick-actions-button_with-group__close-paren','pin','editing','isOn','add','_createListItems','focusCycler','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','items','.ck-ai-quick-actions-group-button','rtl','ck-rounded-corners','_createSearchResultActionButton','keystrokes','mouseleave','setTemplate','delete','_hasSearch','locale','_createSearchResultGroupRow','render','_openNestedPanels','chain','aiQuickAction','282535zpBHjT','focusTracker','push','ck-ai-quick-actions','ck-ai-quick-actions-search-result__action-row','eastSouth','_createActionGroupButton','_focusables','ownerDocument','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','1qNojbC','1606938QlkkKm','4399544OIaOzQ','forEach','optionsListView','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH','first','uiLanguageDirection','989205EdqoTM','destroy','_handlePanelKeydown','_handleSearchResultButtonClick','resetSearch','ck-ai-quick-actions-button','ArrowLeft','key','icon','menu','menuitem','_getPanelKeystroke','_hideNestedPanel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','content','detachFromDom','10491660ReBFff','div','button','relatedTarget','ck-ai-quick-actions-search-result-button_with-group','ck-button_with-text','hide','show','ck-ai-quick-actions-button_with-group__open-paren','_createSearchTextView','commands','_showNestedPanel','_isSearchFocused','label','3ABLYDX','_createGroupActionsList','contains','focus','_getButtonKeystroke','parent','_createSearchResultContentView','_isMovingToNestedMenu','ArrowRight','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-search-result__content','_createActionButton','_bodyCollection','_setupGroupMenuBehavior','_createSearchResultActionRow','text','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search','ck-ai-quick-actions-button_with-group','.ck-ai-quick-actions-group-panel','bind','some','ck-button','view','ck-dropdown-menu-list','ck-reset_all'];_0x1fbd=function(){return _0x1a0880;};return _0x1fbd();}import{aiQuickActionsButtonCreator as _0x12dc38}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x47710c}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x90d739}from'../../aicore/utils/common-translations.js';function _0x25f8(_0x5e2cb9,_0x599855){const _0x1fbd3e=_0x1fbd();return _0x25f8=function(_0x25f89c,_0x282763){_0x25f89c=_0x25f89c-0xfb;let _0x2e621d=_0x1fbd3e[_0x25f89c];return _0x2e621d;},_0x25f8(_0x5e2cb9,_0x599855);}import{AIQuickActionsFilteredListView as _0x104ea5}from'./aiquickactionsfilteredlistview.js';const Js=_0x5ec767(0x14c),Ws=_0x5ec767(0x14d);export class AIQuickActionsDropdownContentView extends _0xb74707{[_0x5ec767(0x16d)];[_0x5ec767(0x13d)];[_0x5ec767(0x10b)]=null;[_0x5ec767(0x108)]=[];[_0x5ec767(0x107)];[_0x5ec767(0x130)];[_0x5ec767(0x124)];[_0x5ec767(0x136)];[_0x5ec767(0x11d)];[_0x5ec767(0x12c)]=new Set();[_0x5ec767(0x128)];constructor(_0x5f1a79,_0x546842,_0x2bfa53,_0x3c6659,_0x31e8b2=!0x1){const _0x1bea2d=_0x5ec767,_0x14ac8d=_0x5f1a79[_0x1bea2d(0x129)];super(_0x14ac8d),this[_0x1bea2d(0x16d)]=_0x3c6659,this[_0x1bea2d(0x128)]=_0x31e8b2;const _0x236b1e=this[_0x1bea2d(0x11c)](_0x5f1a79,_0x546842,_0x2bfa53);this[_0x1bea2d(0x13d)]=new _0x104ea5(_0x14ac8d,_0x236b1e,this[_0x1bea2d(0x108)]),this[_0x1bea2d(0x13d)][_0x1bea2d(0x101)]=Js,this[_0x1bea2d(0x13d)][_0x1bea2d(0x11f)][_0x1bea2d(0x10d)](_0x236b1e),this[_0x1bea2d(0x130)]=new _0x2f0975(),this[_0x1bea2d(0x124)]=new _0xacd6d0(),_0x31e8b2&&(this[_0x1bea2d(0x10b)]=this[_0x1bea2d(0x15c)]()),this[_0x1bea2d(0x136)]=_0x236b1e,this[_0x1bea2d(0x11d)]=new _0x224dcc({'focusables':this[_0x1bea2d(0x136)],'focusTracker':this[_0x1bea2d(0x130)],'keystrokeHandler':this[_0x1bea2d(0x124)]}),_0x31e8b2&&this[_0x1bea2d(0x10b)]&&this[_0x1bea2d(0x11d)][_0x1bea2d(0x12d)](this[_0x1bea2d(0x10b)][_0x1bea2d(0x11d)]);const _0x350f03=_0x31e8b2&&this[_0x1bea2d(0x10b)]?[this[_0x1bea2d(0x10b)]]:[this[_0x1bea2d(0x13d)]];this[_0x1bea2d(0x107)]=new _0x290b31(_0x350f03),this[_0x1bea2d(0x126)]({'tag':_0x1bea2d(0x154),'attributes':{'class':['ck',_0x1bea2d(0x17a),_0x1bea2d(0x132),_0x1bea2d(0x122)],'dir':_0x14ac8d[_0x1bea2d(0x142)]},'children':this[_0x1bea2d(0x107)]});}[_0x5ec767(0x15c)](){const _0x1f6ee4=_0x5ec767;return new _0x2f5b11(this[_0x1f6ee4(0x129)],{'filteredView':this[_0x1f6ee4(0x13d)],'queryView':{'label':_0x90d739(this[_0x1f6ee4(0x129)],_0x1f6ee4(0x140))},'class':_0x1f6ee4(0x172),'infoView':{'text':{'notFound':{'primary':_0x90d739(this[_0x1f6ee4(0x129)],_0x1f6ee4(0x138))}}}});}[_0x5ec767(0x15f)](){const _0x31cfb9=_0x5ec767;if(!this[_0x31cfb9(0x128)]||!this[_0x31cfb9(0x10b)]||!this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)])return!0x1;const _0x474b3c=this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)][_0x31cfb9(0x137)]?.[_0x31cfb9(0x115)];return this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)][_0x31cfb9(0x163)](_0x474b3c);}[_0x5ec767(0x11c)](_0x2736f7,_0x48428c,_0x1429b4){const _0x555c75=_0x5ec767,_0x365adf=new _0x290b31();return _0x48428c[_0x555c75(0x13c)](_0xaf9606=>{const _0x3a829b=_0x555c75;if(_0x3a829b(0x17c)in _0xaf9606){const {listItem:_0xb397a3}=this[_0x3a829b(0x135)](_0x2736f7,_0xaf9606,_0x1429b4);_0x365adf[_0x3a829b(0x11b)](_0xb397a3),_0xaf9606[_0x3a829b(0x17c)][_0x3a829b(0x13c)](_0x2d4158=>{const _0x3986ac=_0x3a829b;this[_0x3986ac(0x16c)](_0x2736f7,_0x2d4158,_0xaf9606[_0x3986ac(0x160)],_0xaf9606[_0x3986ac(0x14b)]);const {listItem:_0x36fc54,highlightViews:_0x1f0e05}=this[_0x3986ac(0x123)](_0x2736f7,_0x2d4158,_0xaf9606[_0x3986ac(0x160)],_0xaf9606[_0x3986ac(0x14b)]);this[_0x3986ac(0x108)][_0x3986ac(0x131)]({'item':_0x36fc54,'label':_0x2d4158[_0x3986ac(0x10c)],'groupLabel':_0xaf9606[_0x3986ac(0x160)],'highlightViews':_0x1f0e05});});}else{const {listItem:_0x5973e7}=this[_0x3a829b(0x16c)](_0x2736f7,_0xaf9606);_0x365adf[_0x3a829b(0x11b)](_0x5973e7);const _0x23caf1=_0x5973e7[_0x3a829b(0x107)][_0x3a829b(0x141)];if(_0x23caf1){const {listItem:_0xa19359,highlightViews:_0x5a3391}=this[_0x3a829b(0x123)](_0x2736f7,_0xaf9606);this[_0x3a829b(0x108)][_0x3a829b(0x131)]({'item':_0xa19359,'label':_0x23caf1[_0x3a829b(0x160)]||'','highlightViews':_0x5a3391});}}}),_0x365adf;}[_0x5ec767(0x16c)](_0x13cbc6,_0x2f20ee,_0x4818f8,_0x55adb6){const _0x2e3f2b=_0x5ec767,_0x320db3=new _0x22b8ba(this[_0x2e3f2b(0x129)]);if(_0x4818f8&&_0x55adb6){const _0x568caf=new _0x1b6dda(this[_0x2e3f2b(0x129)]),_0x48dde3=_0x568caf[_0x2e3f2b(0x10e)],_0x56d9d8=new _0x365385();_0x56d9d8[_0x2e3f2b(0x170)]=_0x2f20ee[_0x2e3f2b(0x10c)];const _0x5c6f31=new _0x365385();_0x5c6f31[_0x2e3f2b(0x170)]=_0x4818f8;const _0x38dc50=new _0xf08085();_0x38dc50[_0x2e3f2b(0x151)]=_0x55adb6,_0x38dc50[_0x2e3f2b(0x10f)]({'attributes':{'class':_0x2e3f2b(0x102)}});const _0x41ff58=new _0xb74707(this[_0x2e3f2b(0x129)]);_0x41ff58[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x114),'attributes':{'class':_0x2e3f2b(0x15b)},'children':[{'text':'\x20('}]});const _0x201611=new _0xb74707(this[_0x2e3f2b(0x129)]);return _0x201611[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x114),'attributes':{'class':_0x2e3f2b(0x117)},'children':[{'text':')'}]}),_0x568caf[_0x2e3f2b(0xfc)]({'label':_0x2f20ee[_0x2e3f2b(0x10c)]+'\x20('+_0x4818f8+')','withText':!0x0,'role':_0x2e3f2b(0x14d),'class':_0x2e3f2b(0x150),'tooltip':!0x1}),_0x568caf[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x155),'attributes':{'class':['ck',_0x2e3f2b(0x177),_0x2e3f2b(0x158),_0x2e3f2b(0x148),_0x2e3f2b(0x173)],'type':_0x2e3f2b(0x155),'role':_0x2e3f2b(0x14d),'tabindex':'-1'},'children':[_0x56d9d8,_0x41ff58,_0x38dc50,_0x5c6f31,_0x201611],'on':{'mouseenter':_0x48dde3['to'](()=>{const _0x5e2db2=_0x2e3f2b;this[_0x5e2db2(0x15f)]()||_0x568caf[_0x5e2db2(0x164)]();}),'click':_0x48dde3['to'](()=>{const _0x5044d3=_0x2e3f2b;_0x568caf[_0x5044d3(0x106)](_0x5044d3(0x113));})}}),_0x568caf['on'](_0x2e3f2b(0x113),()=>{const _0x2d7a90=_0x2e3f2b;_0x13cbc6[_0x2d7a90(0x119)][_0x2d7a90(0x178)][_0x2d7a90(0x164)](),_0x13cbc6[_0x2d7a90(0x15d)][_0x2d7a90(0x113)](_0x2d7a90(0x12e),_0x2f20ee);}),_0x320db3[_0x2e3f2b(0x107)][_0x2e3f2b(0x11b)](_0x568caf),{'listItem':_0x320db3,'highlightViews':[_0x56d9d8,_0x5c6f31]};}{const _0x54cdb7=new _0xb31c85(),_0x30dbe6=new _0x1b6dda(this[_0x2e3f2b(0x129)],_0x54cdb7),_0x5f57c9=_0x30dbe6[_0x2e3f2b(0x10e)],_0x39a02c=_0x2f20ee[_0x2e3f2b(0x14b)]??_0x2f20ee[_0x2e3f2b(0x166)]?.[_0x2e3f2b(0x14b)],_0x39fd33=void 0x0!==_0x2f20ee[_0x2e3f2b(0x14b)];return _0x30dbe6[_0x2e3f2b(0xfc)]({'label':_0x2f20ee[_0x2e3f2b(0x10c)],'withText':!0x0,'role':_0x2e3f2b(0x14d),'icon':_0x39fd33?_0x39a02c??_0x5108ee:void 0x0,'tooltip':!0x1,'class':_0x2e3f2b(0x148)}),_0x30dbe6[_0x2e3f2b(0x10f)]({'on':{'mouseenter':_0x5f57c9['to'](()=>{const _0x16fe80=_0x2e3f2b;this[_0x16fe80(0x15f)]()||_0x30dbe6[_0x16fe80(0x164)]();})}}),_0x30dbe6['on'](_0x2e3f2b(0x113),()=>{const _0x430e98=_0x2e3f2b;_0x13cbc6[_0x430e98(0x119)][_0x430e98(0x178)][_0x430e98(0x164)](),_0x13cbc6[_0x430e98(0x15d)][_0x430e98(0x113)](_0x430e98(0x12e),_0x2f20ee);}),_0x320db3[_0x2e3f2b(0x107)][_0x2e3f2b(0x11b)](_0x30dbe6),{'listItem':_0x320db3,'highlightViews':[_0x54cdb7]};}}[_0x5ec767(0x123)](_0x537f5c,_0x55f94b,_0x393980,_0x425647){const _0x26d449=_0x5ec767;return _0x393980&&_0x425647?this[_0x26d449(0x100)](_0x537f5c,_0x55f94b,_0x393980,_0x425647):this[_0x26d449(0x181)](_0x537f5c,_0x55f94b);}[_0x5ec767(0x100)](_0x58f288,_0xea109,_0x363746,_0x2db276){const _0x2a7695=_0x5ec767,_0x1fbe09=new _0x22b8ba(this[_0x2a7695(0x129)]),_0x2eb6e6=new _0x1b6dda(this[_0x2a7695(0x129)]),_0x1bd923=_0x2eb6e6[_0x2a7695(0x10e)],{view:_0x2bafed,highlightView:_0xbacc61}=this[_0x2a7695(0x12a)](_0x363746,_0x2db276),{view:_0xfdbfe4,highlightView:_0x1c987d}=this[_0x2a7695(0x16f)](_0xea109[_0x2a7695(0x10c)]),_0x6e99c3=this[_0x2a7695(0x167)](_0x2bafed,_0xfdbfe4);return _0x2eb6e6[_0x2a7695(0xfc)]({'label':_0xea109[_0x2a7695(0x10c)],'withText':!0x0,'role':_0x2a7695(0x14d),'class':_0x2a7695(0x11e),'tooltip':!0x1}),_0x2eb6e6[_0x2a7695(0x126)]({'tag':_0x2a7695(0x155),'attributes':{'class':['ck',_0x2a7695(0x177),_0x2a7695(0x158),_0x2a7695(0x148),_0x2a7695(0x13f),_0x2a7695(0x157)],'type':_0x2a7695(0x155),'role':_0x2a7695(0x14d),'tabindex':'-1'},'children':[_0x6e99c3],'on':{'mouseenter':_0x1bd923['to'](()=>{const _0x234ea0=_0x2a7695;this[_0x234ea0(0x15f)]()||_0x2eb6e6[_0x234ea0(0x164)]();}),'click':_0x1bd923['to'](()=>{const _0x3a55c3=_0x2a7695;this[_0x3a55c3(0x146)](_0x2eb6e6);})}}),this[_0x2a7695(0x112)](_0x2eb6e6,_0x58f288,_0xea109),_0x1fbe09[_0x2a7695(0x107)][_0x2a7695(0x11b)](_0x2eb6e6),{'listItem':_0x1fbe09,'highlightViews':[_0xbacc61,_0x1c987d]};}[_0x5ec767(0x181)](_0x18233e,_0x3c6092){const _0x1f54d7=_0x5ec767,_0x32238b=new _0x22b8ba(this[_0x1f54d7(0x129)]),_0x5c4cac=new _0xb31c85(),_0x374d0f=new _0x1b6dda(this[_0x1f54d7(0x129)],_0x5c4cac),_0x44f04c=_0x374d0f[_0x1f54d7(0x10e)];return _0x374d0f[_0x1f54d7(0xfc)]({'label':_0x3c6092[_0x1f54d7(0x10c)],'withText':!0x0,'role':_0x1f54d7(0x14d),'icon':void 0x0,'tooltip':!0x1,'class':_0x1f54d7(0x109)}),_0x374d0f[_0x1f54d7(0x10f)]({'on':{'mouseenter':_0x44f04c['to'](()=>{const _0x2ff031=_0x1f54d7;this[_0x2ff031(0x15f)]()||_0x374d0f[_0x2ff031(0x164)]();})}}),this[_0x1f54d7(0x112)](_0x374d0f,_0x18233e,_0x3c6092),_0x32238b[_0x1f54d7(0x107)][_0x1f54d7(0x11b)](_0x374d0f),{'listItem':_0x32238b,'highlightViews':[_0x5c4cac]};}[_0x5ec767(0x12a)](_0x57bde1,_0x29a3f6){const _0x380644=_0x5ec767,_0x441739=new _0xb74707(this[_0x380644(0x129)]),_0x249bed=new _0xf08085();_0x249bed[_0x380644(0x151)]=_0x29a3f6,_0x249bed[_0x380644(0x10f)]({'attributes':{'class':_0x380644(0x102)}});const _0x43ef50=new _0x365385();return _0x43ef50[_0x380644(0x170)]=_0x57bde1,_0x441739[_0x380644(0x126)]({'tag':_0x380644(0x154),'attributes':{'class':_0x380644(0x180)},'children':[_0x249bed,_0x43ef50]}),{'view':_0x441739,'highlightView':_0x43ef50};}[_0x5ec767(0x16f)](_0x2731b0){const _0x8aec8c=_0x5ec767,_0x2f4cc2=new _0xb74707(this[_0x8aec8c(0x129)]),_0x58462e=new _0x365385();return _0x58462e[_0x8aec8c(0x170)]=_0x2731b0,_0x2f4cc2[_0x8aec8c(0x126)]({'tag':_0x8aec8c(0x154),'attributes':{'class':_0x8aec8c(0x133)},'children':[_0x58462e]}),{'view':_0x2f4cc2,'highlightView':_0x58462e};}[_0x5ec767(0x167)](_0x5575d8,_0x2189e4){const _0x4b1757=_0x5ec767,_0x16b8e2=new _0xb74707(this[_0x4b1757(0x129)]);return _0x16b8e2[_0x4b1757(0x126)]({'tag':_0x4b1757(0x154),'attributes':{'class':_0x4b1757(0x16b)},'children':[_0x5575d8,_0x2189e4]}),_0x16b8e2;}[_0x5ec767(0x112)](_0xc0dc6e,_0x4b5975,_0x574970){const _0xc85f61=_0x5ec767;_0xc0dc6e['on'](_0xc85f61(0x113),()=>{const _0x1f6cb0=_0xc85f61;_0x4b5975[_0x1f6cb0(0x119)][_0x1f6cb0(0x178)][_0x1f6cb0(0x164)](),_0x4b5975[_0x1f6cb0(0x15d)][_0x1f6cb0(0x113)](_0x1f6cb0(0x12e),_0x574970);});}[_0x5ec767(0x135)](_0x5dcc8c,_0x66563c,_0x195487){const _0x4fa37f=_0x5ec767,_0x34704a=new _0x22b8ba(this[_0x4fa37f(0x129)]),_0x25a204=new _0xb31c85(),_0x425f69=new _0x47710c(this[_0x4fa37f(0x129)],_0x25a204),_0x311ab2=_0x425f69[_0x4fa37f(0x10e)],_0x5306bc=this[_0x4fa37f(0x14e)](_0x195487),_0x409a52=this[_0x4fa37f(0x162)](_0x5dcc8c,_0x66563c[_0x4fa37f(0x17c)],_0x195487);_0x425f69[_0x4fa37f(0xfc)]({'label':_0x66563c[_0x4fa37f(0x160)],'withText':!0x0,'role':Ws,'icon':_0x66563c[_0x4fa37f(0x14b)]??_0x5108ee,'isEnabled':_0x66563c[_0x4fa37f(0x17c)][_0x4fa37f(0x176)](_0x1d82ea=>_0x1d82ea[_0x4fa37f(0x17e)])}),_0x425f69[_0x4fa37f(0x10f)]({'on':{'mouseenter':_0x311ab2['to'](()=>{const _0x3ec721=_0x4fa37f;this[_0x3ec721(0x15f)]()||_0x425f69[_0x3ec721(0x164)]();})}});const _0x1212d8=new _0x271ef6(this[_0x4fa37f(0x129)]);return _0x1212d8[_0x4fa37f(0x10f)]({'attributes':{'class':['ck',_0x4fa37f(0x17a),_0x4fa37f(0x105),_0x4fa37f(0x16a)]},'on':{'keydown':_0x311ab2['to'](_0x3ab0f3=>{const _0x202ef8=_0x4fa37f;this[_0x202ef8(0x145)](_0x3ab0f3,_0x5306bc,_0x425f69,_0x1212d8);})}}),_0x425f69[_0x4fa37f(0x175)](_0x4fa37f(0x11a))['to'](_0x1212d8,_0x4fa37f(0x17b)),this[_0x4fa37f(0x16d)][_0x4fa37f(0x11b)](_0x1212d8),_0x1212d8[_0x4fa37f(0x151)][_0x4fa37f(0x11b)](_0x409a52),this[_0x4fa37f(0x16e)](_0x425f69,_0x1212d8),_0x34704a[_0x4fa37f(0x107)][_0x4fa37f(0x11b)](_0x425f69),{'listItem':_0x34704a,'highlightView':_0x25a204};}[_0x5ec767(0x162)](_0x6656ee,_0x33c57d,_0x2e0e8d){const _0x186180=_0x5ec767,_0x4c55ba=new _0x3f96aa(this[_0x186180(0x129)]);return _0x4c55ba[_0x186180(0x10f)]({'attributes':{'class':['ck',_0x186180(0x17a),_0x186180(0x13e),_0x186180(0x179)]}}),_0x33c57d[_0x186180(0x13c)](_0xa8108=>{const _0x31b7d6=_0x186180,_0x3cbced=new _0x22b8ba(this[_0x31b7d6(0x129)]),_0x261eb3=_0x12dc38({'editor':_0x6656ee,'action':_0xa8108,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x31b7d6(0x15f)]()})();_0x3cbced[_0x31b7d6(0x107)][_0x31b7d6(0x11b)](_0x261eb3),_0x2e0e8d[_0x31b7d6(0x130)][_0x31b7d6(0x11b)](_0x261eb3),_0x4c55ba[_0x31b7d6(0x11f)][_0x31b7d6(0x11b)](_0x3cbced);}),_0x4c55ba;}[_0x5ec767(0x16e)](_0x3fa296,_0x17882e){const _0x4f1ba1=_0x5ec767,_0x1931a6=_0x3fa296[_0x4f1ba1(0x10e)],_0x20c9ff=this[_0x4f1ba1(0x165)](_0x3fa296);_0x3fa296[_0x4f1ba1(0x10f)]({'attributes':{'class':[_0x4f1ba1(0xff)]},'on':{'mouseenter':_0x1931a6['to'](()=>{const _0x253a22=_0x4f1ba1;this[_0x253a22(0x15e)](_0x17882e,_0x3fa296);}),'mouseleave':_0x1931a6['to'](_0x3f8e93=>{const _0x314463=_0x4f1ba1,_0x7c1ec0=_0x3f8e93[_0x314463(0x156)];this[_0x314463(0x168)](_0x7c1ec0,_0x17882e)||this[_0x314463(0x14f)](_0x17882e);}),'keydown':_0x1931a6['to'](_0x23c048=>{const _0x35bc08=_0x4f1ba1;_0x23c048[_0x35bc08(0x14a)]==_0x20c9ff&&(this[_0x35bc08(0x15e)](_0x17882e,_0x3fa296),_0x17882e[_0x35bc08(0x151)][_0x35bc08(0x111)](0x0)[_0x35bc08(0x164)]());})}}),_0x17882e['on'](_0x4f1ba1(0x12b),()=>{const _0x43ac30=_0x4f1ba1;_0x17882e[_0x43ac30(0x110)]?.[_0x43ac30(0x116)](_0x43ac30(0x125),_0xf95960=>{const _0x127cfc=_0x43ac30,_0x5c907c=_0xf95960[_0x127cfc(0x156)];_0x3fa296[_0x127cfc(0x110)]?.[_0x127cfc(0x163)](_0x5c907c)||this[_0x127cfc(0x168)](_0x5c907c,_0x17882e)||this[_0x127cfc(0x14f)](_0x17882e);});});}[_0x5ec767(0x15e)](_0x3a0e41,_0x12d258){const _0x561e17=_0x5ec767;this[_0x561e17(0x12c)][_0x561e17(0x13c)](_0x46b4d9=>{const _0x23657a=_0x561e17;_0x46b4d9!==_0x3a0e41&&_0x46b4d9[_0x23657a(0x17b)]&&_0x46b4d9[_0x23657a(0x159)]();}),_0x3a0e41[_0x561e17(0x15a)](),_0x3a0e41[_0x561e17(0x118)]({'positions':[_0x48b61b[_0x561e17(0x134)]],'target':_0x12d258[_0x561e17(0x110)],'fitInViewport':!0x0}),this[_0x561e17(0x12c)][_0x561e17(0x11b)](_0x3a0e41);}[_0x5ec767(0x14f)](_0x5d73df){const _0x1904a0=_0x5ec767;_0x5d73df[_0x1904a0(0x159)](),this[_0x1904a0(0x12c)][_0x1904a0(0x127)](_0x5d73df);}[_0x5ec767(0x103)](){const _0xa11282=_0x5ec767;this[_0xa11282(0x12c)][_0xa11282(0x13c)](_0x4109ce=>_0x4109ce[_0xa11282(0x159)]()),this[_0xa11282(0x12c)][_0xa11282(0x10a)]();}[_0x5ec767(0x168)](_0x477dac,_0x11149d){const _0x282dd2=_0x5ec767;if(!_0x477dac)return!0x1;if(_0x11149d[_0x282dd2(0x110)]?.[_0x282dd2(0x163)](_0x477dac))return!0x0;const _0x11ad12=_0x477dac;return _0x11ad12[_0x282dd2(0x104)]&&(null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x174))||null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x171))||null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x120)));}[_0x5ec767(0x147)](){const _0x55b8af=_0x5ec767;this[_0x55b8af(0x10b)]&&this[_0x55b8af(0x10b)][_0x55b8af(0x17f)]();}[_0x5ec767(0x144)](){const _0x1af86c=_0x5ec767;this[_0x1af86c(0x103)](),this[_0x1af86c(0x16d)][_0x1af86c(0x152)](),super[_0x1af86c(0x144)]();}[_0x5ec767(0x164)](){const _0x51918b=_0x5ec767;this[_0x51918b(0x10b)]?this[_0x51918b(0x10b)][_0x51918b(0x164)]():this[_0x51918b(0x13d)][_0x51918b(0x164)]();}[_0x5ec767(0x14e)](_0x1cb537){const _0x4371ef=_0x5ec767;return _0x4371ef(0x121)===_0x1cb537[_0x4371ef(0x129)][_0x4371ef(0x142)]?_0x4371ef(0x169):_0x4371ef(0x149);}[_0x5ec767(0x165)](_0x1885d2){const _0x555dec=_0x5ec767;return _0x555dec(0x121)===_0x1885d2[_0x555dec(0x129)][_0x555dec(0x142)]?_0x555dec(0x149):_0x555dec(0x169);}[_0x5ec767(0x145)](_0x642ec9,_0x56b144,_0x19388b,_0x477abd){const _0x3a4427=_0x5ec767;_0x642ec9[_0x3a4427(0x14a)]==_0x56b144&&(_0x19388b[_0x3a4427(0x164)](),this[_0x3a4427(0x14f)](_0x477abd));}[_0x5ec767(0x146)](_0x31b70d){const _0x381f96=_0x5ec767;_0x31b70d[_0x381f96(0x106)](_0x381f96(0x113));}}
|