@ckeditor/ckeditor5-ai 47.6.0-alpha.8 → 47.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26e356=_0xa198;(function(_0x4d0fb3,_0x15548e){const _0x3c8d66=_0xa198,_0x44e1bc=_0x4d0fb3();while(!![]){try{const _0x41e5f2=-parseInt(_0x3c8d66(0xab))/0x1+parseInt(_0x3c8d66(0x87))/0x2*(-parseInt(_0x3c8d66(0x79))/0x3)+-parseInt(_0x3c8d66(0x8b))/0x4*(-parseInt(_0x3c8d66(0x86))/0x5)+-parseInt(_0x3c8d66(0x84))/0x6+-parseInt(_0x3c8d66(0x9f))/0x7+-parseInt(_0x3c8d66(0x88))/0x8*(parseInt(_0x3c8d66(0x75))/0x9)+parseInt(_0x3c8d66(0x81))/0xa;if(_0x41e5f2===_0x15548e)break;else _0x44e1bc['push'](_0x44e1bc['shift']());}catch(_0x12ed9a){_0x44e1bc['push'](_0x44e1bc['shift']());}}}(_0x5db8,0x92b89));import _0x6f56c from'morphdom';import{NodeWithChildren as _0x36a8be,Text as _0x52611d,Element as _0x198d3e,isText as _0xf1ca07,isDocument as _0x4ebe62,isTag as _0x3ed40c,cloneNode as _0x4c6e33,getChildren as _0x47a462,prepend as _0x19f685,removeElement as _0x119874,textContent as _0x1e90de,render as _0x326061}from'./htmlparser.js';export class HTMLStreamer{[_0x26e356(0x97)];[_0x26e356(0x85)]=!0x1;[_0x26e356(0xa4)]=null;[_0x26e356(0x93)]=[];[_0x26e356(0x74)]=0x0;[_0x26e356(0x83)]=null;[_0x26e356(0x78)]=0x0;constructor(_0x5c7b5d){const _0x32a1fe=_0x26e356;this[_0x32a1fe(0x97)]={'delay':_0x5c7b5d[_0x32a1fe(0x72)]??0x14,'textNodeStyle':_0x5c7b5d[_0x32a1fe(0xa1)],'onStreamUpdate':_0x5c7b5d[_0x32a1fe(0x8e)]||(()=>{})};}async[_0x26e356(0xa3)]({document:_0x1a8f4e,targetElement:_0x1c60c0,abortSignal:_0x48ae2f}){const _0x4905d0=_0x26e356;this[_0x4905d0(0x85)]&&this[_0x4905d0(0x80)](),_0x48ae2f?.[_0x4905d0(0x9e)](_0x4905d0(0xae),this[_0x4905d0(0x80)][_0x4905d0(0xa2)](this)),this[_0x4905d0(0xa4)]=_0x4c6e33(_0x1a8f4e,!0x0),this[_0x4905d0(0x93)]=this[_0x4905d0(0x7e)](),this[_0x4905d0(0x85)]=!0x0,this[_0x4905d0(0x74)]>this[_0x4905d0(0x93)][_0x4905d0(0x98)]&&(this[_0x4905d0(0x74)]=this[_0x4905d0(0x93)][_0x4905d0(0x98)]);for(let _0x546672=0x0;_0x546672<this[_0x4905d0(0x74)];_0x546672++)this[_0x4905d0(0x93)][_0x546672][_0x4905d0(0x89)]=!0x0;do{const _0x459482=Date[_0x4905d0(0xa9)](),_0x16b423=this[_0x4905d0(0x93)][this[_0x4905d0(0x74)]],_0x41de98=_0x459482-this[_0x4905d0(0x78)];if(_0x16b423){_0x16b423[_0x4905d0(0x89)]=!0x0;let _0x5c95cf=_0x16b423[_0x4905d0(0x9d)];for(;_0x5c95cf;)_0x5c95cf[_0x4905d0(0x89)]=!0x0,_0x5c95cf=_0x5c95cf[_0x4905d0(0x9d)];}if(_0x41de98<this[_0x4905d0(0x97)][_0x4905d0(0x72)])try{const {promise:_0x36f72f,abortController:_0x16cad5}=Os(this[_0x4905d0(0x97)][_0x4905d0(0x72)]-_0x41de98);this[_0x4905d0(0x83)]=_0x16cad5,await _0x36f72f;}catch(_0xbc44f8){return;}_0x6f56c(_0x1c60c0,'<'+_0x1c60c0[_0x4905d0(0xaa)]+'>'+this[_0x4905d0(0x8f)](this[_0x4905d0(0xa4)])+'</'+_0x1c60c0[_0x4905d0(0xaa)]+'>',{'childrenOnly':!0x0}),this[_0x4905d0(0x97)][_0x4905d0(0x8e)]&&this[_0x4905d0(0x97)][_0x4905d0(0x8e)](),this[_0x4905d0(0x74)]++,this[_0x4905d0(0x78)]=Date[_0x4905d0(0xa9)]();}while(this[_0x4905d0(0x74)]<this[_0x4905d0(0x93)][_0x4905d0(0x98)]);this[_0x4905d0(0x74)]=this[_0x4905d0(0x93)][_0x4905d0(0x98)],this[_0x4905d0(0x85)]=!0x1;}[_0x26e356(0x90)](){const _0x33166e=_0x26e356;this[_0x33166e(0x85)]=!0x1,this[_0x33166e(0xa4)]=null,this[_0x33166e(0x93)]=[],this[_0x33166e(0x74)]=0x0,this[_0x33166e(0x83)]=null;}[_0x26e356(0x9a)]({targetElement:_0x13e9c0}){const _0x3e1335=_0x26e356;Array[_0x3e1335(0xac)](_0x13e9c0[_0x3e1335(0x82)](_0x3e1335(0x77)))[_0x3e1335(0x7d)]()[_0x3e1335(0xaf)](_0x44c6cf=>{const _0x3cb49e=_0x3e1335;_0x44c6cf[_0x3cb49e(0xad)](_0x44c6cf[_0x3cb49e(0x91)][0x0]);});}[_0x26e356(0x80)](){const _0x511d57=_0x26e356;this[_0x511d57(0x85)]=!0x1,this[_0x511d57(0x83)]&&(this[_0x511d57(0x83)][_0x511d57(0xae)](),this[_0x511d57(0x83)]=null);}[_0x26e356(0x8f)](_0x96f83){const _0x3979bd=_0x26e356;let _0x2b0cd4='';if(function(_0x1dbb32){return _0x4ebe62(_0x1dbb32);}(_0x96f83)){for(const _0x478b3e of _0x96f83[_0x3979bd(0x99)])_0x2b0cd4+=this[_0x3979bd(0x8f)](_0x478b3e);}else{if(Us(_0x96f83)){if(!_0x96f83[_0x3979bd(0x89)])return'';const _0x43cd1a=_0x96f83,_0x48cf7e=Object[_0x3979bd(0x76)](_0x43cd1a[_0x3979bd(0x9b)])[_0x3979bd(0x8a)](([_0x55066,_0x3a245b])=>_0x55066+'=\x22'+_0x3a245b+'\x22')[_0x3979bd(0x95)]('\x20');_0x2b0cd4+='<'+_0x43cd1a[_0x3979bd(0xaa)]+(_0x48cf7e?'\x20'+_0x48cf7e:'')+'>';for(const _0x1e7efd of _0x47a462(_0x43cd1a))_0x2b0cd4+=this[_0x3979bd(0x8f)](_0x1e7efd);_0x2b0cd4+='</'+_0x43cd1a[_0x3979bd(0xaa)]+'>';}else{if(!Ls(_0x96f83))return'';if(!_0x96f83[_0x3979bd(0x89)])return'';!function(_0x394b2b){const _0x404147=_0x3979bd;if(!_0x394b2b[_0x404147(0x9d)]||!Us(_0x394b2b[_0x404147(0x9d)]))return!0x1;if(!Ts[_0x404147(0x9c)](_0x394b2b[_0x404147(0x9d)][_0x404147(0xaa)]))return!0x1;return!_0x1e90de(_0x394b2b)[_0x404147(0x8d)](/^\s*[<>]\s*$/);}(_0x96f83)?_0x2b0cd4+=_0x326061(_0x96f83):_0x2b0cd4+=_0x326061(new _0x198d3e(_0x3979bd(0xa5),{'data-ck-html-streamer-word-chunk':'','style':this[_0x3979bd(0x97)][_0x3979bd(0xa1)]},[_0x96f83]));}}return _0x2b0cd4;}[_0x26e356(0x7e)](){const _0xca71e7=_0x26e356,_0x5db7b9=[];return function(_0x38590c,_0x3bd33d){const _0x505f15=_0xa198,_0x2bf7fe=_0xc2d46e=>{const _0x2c1309=_0xa198;if(_0x3bd33d(_0xc2d46e),_0xc2d46e instanceof _0x36a8be)for(let _0x2a7b1c=0x0;_0x2a7b1c<_0xc2d46e[_0x2c1309(0x99)][_0x2c1309(0x98)];_0x2a7b1c++){const _0x29de2e=_0xc2d46e[_0x2c1309(0x99)][_0x2a7b1c];_0x2bf7fe(_0x29de2e);}};for(let _0x2d69a4=0x0;_0x2d69a4<_0x38590c[_0x505f15(0x99)][_0x505f15(0x98)];_0x2d69a4++)_0x2bf7fe(_0x38590c[_0x505f15(0x99)][_0x2d69a4]);}(this[_0xca71e7(0xa4)],_0x1baf23=>{const _0x1767e3=_0xca71e7;if(Ls(_0x1baf23)){const _0x36f703=this[_0x1767e3(0x73)](_0x1baf23);_0x36f703[_0x1767e3(0x98)]&&_0x5db7b9[_0x1767e3(0xa6)](..._0x36f703);}_0x1baf23[_0x1767e3(0x94)]||_0x1baf23[_0x1767e3(0xa8)]||_0x5db7b9[_0x1767e3(0xa6)](_0x1baf23);}),_0x5db7b9;}[_0x26e356(0x73)](_0x5116a0){const _0x27cc3c=_0x26e356;if(_0x5116a0[_0x27cc3c(0x94)]||_0x5116a0[_0x27cc3c(0xa8)])return[];const _0x57a97a=_0x1e90de(_0x5116a0)[_0x27cc3c(0x8d)](/(?:\s*\S+\s*)/g),_0x4e6a5d=[];if(_0x57a97a&&_0x57a97a[_0x27cc3c(0x98)]>0x1){for(const _0x5b1131 of _0x57a97a){const _0xf0c5e8=new _0x52611d(_0x5b1131);_0xf0c5e8[_0x27cc3c(0xa8)]=!0x0,_0x19f685(_0x5116a0,_0xf0c5e8),_0x4e6a5d[_0x27cc3c(0xa6)](_0xf0c5e8);}_0x5116a0[_0x27cc3c(0x94)]=!0x0,_0x119874(_0x5116a0);}return _0x4e6a5d;}}const Ts=['p','li','td','th',_0x26e356(0xa5),'h1','h2','h3','h4','h5','h6','b',_0x26e356(0x7a),'i','em',_0x26e356(0xa0),_0x26e356(0x96),_0x26e356(0x7b),_0x26e356(0xa7),_0x26e356(0x7c),'a',_0x26e356(0x8c),_0x26e356(0x92)];function Ls(_0x371fdf){return _0xf1ca07(_0x371fdf);}function Us(_0x35adc1){return _0x3ed40c(_0x35adc1);}function _0xa198(_0x119ba8,_0x298b16){const _0x5db855=_0x5db8();return _0xa198=function(_0xa19872,_0x1c2f03){_0xa19872=_0xa19872-0x72;let _0x50d9c5=_0x5db855[_0xa19872];return _0x50d9c5;},_0xa198(_0x119ba8,_0x298b16);}function Os(_0xd8fc9b){const _0x15b07f=new AbortController();return{'promise':new Promise((_0x3fbb19,_0x41ae37)=>{const _0x118236=_0xa198,_0x123959=setTimeout(_0x3fbb19,_0xd8fc9b);_0x15b07f[_0x118236(0x7f)][_0x118236(0x9e)](_0x118236(0xae),()=>{clearTimeout(_0x123959),_0x41ae37();});}),'abortController':_0x15b07f};}function _0x5db8(){const _0xb47ff3=['childNodes','div','nodesList','isWordSplitSource','join','del','options','length','children','cleanUpAnimations','attribs','includes','parent','addEventListener','3474723UYQxsM','mark','textNodeStyle','bind','stream','document','span','push','sup','isWordSplitResult','now','tagName','294913dZiMKN','from','replaceWith','abort','forEach','delay','splitTextNodeIntoWordNodes','currentIndex','2445642leuWvX','entries','span[data-ck-html-streamer-word-chunk]','lastUpdateTime','2226KqBAmR','strong','ins','sub','reverse','getParsedDocumentNodeList','signal','stop','24717740lkOwQM','querySelectorAll','timeoutAbortController','1903362DePBGs','isStreaming','732630mzzlTY','2902aveEZR','8kgnrzM','shouldBeStreamed','map','16GtSDLO','code','match','onStreamUpdate','renderNode','reset'];_0x5db8=function(){return _0xb47ff3;};return _0x5db8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x37ea(_0x53af6c,_0x3bf9d6){const _0x2890c1=_0x2890();return _0x37ea=function(_0x37eaf1,_0x271ba8){_0x37eaf1=_0x37eaf1-0x1c3;let _0xf7c077=_0x2890c1[_0x37eaf1];return _0xf7c077;},_0x37ea(_0x53af6c,_0x3bf9d6);}const _0x2b3470=_0x37ea;function _0x2890(){const _0x99b3b6=['scrollTo','406940qaIHgV','auto','End','isRunning','pointerdown','includes','_isAtBottom','addEventListener','isUserPaused','wheel','PageDown','ArrowUp','destroy','ArrowDown','69298mPYYed','11xUmnVD','scrollHeight','abort','66598knhaiy','element','10199952emMJAb','start','abortController','deltaY','touchstart','_stop','keydown','animationFrameId','signal','key','stop','823869YthtUg','PageUp','_rafUpdate','196MQlmEd','33050XwLgqx','5aCwHWW','bind','56IgSuwh','type','_onUserEvent','48UxELKH','Home','876816UtkRzh'];_0x2890=function(){return _0x99b3b6;};return _0x2890();}(function(_0x5fc770,_0x4d66c6){const _0x2f30e0=_0x37ea,_0x25169d=_0x5fc770();while(!![]){try{const _0x35a739=parseInt(_0x2f30e0(0x1cf))/0x1*(-parseInt(_0x2f30e0(0x1e6))/0x2)+parseInt(_0x2f30e0(0x1d6))/0x3+-parseInt(_0x2f30e0(0x1cd))/0x4*(-parseInt(_0x2f30e0(0x1ce))/0x5)+parseInt(_0x2f30e0(0x1d4))/0x6*(parseInt(_0x2f30e0(0x1ea))/0x7)+parseInt(_0x2f30e0(0x1d1))/0x8*(parseInt(_0x2f30e0(0x1ca))/0x9)+-parseInt(_0x2f30e0(0x1d8))/0xa*(-parseInt(_0x2f30e0(0x1e7))/0xb)+-parseInt(_0x2f30e0(0x1ec))/0xc;if(_0x35a739===_0x4d66c6)break;else _0x25169d['push'](_0x25169d['shift']());}catch(_0x3a0801){_0x25169d['push'](_0x25169d['shift']());}}}(_0x2890,0x55932));const Fs=[_0x2b3470(0x1e1),_0x2b3470(0x1c3),_0x2b3470(0x1dc),_0x2b3470(0x1c5)],qs=[_0x2b3470(0x1e3),_0x2b3470(0x1e5),_0x2b3470(0x1cb),_0x2b3470(0x1e2),_0x2b3470(0x1d5),_0x2b3470(0x1da),'\x20'];export class ScrollManager{[_0x2b3470(0x1eb)];[_0x2b3470(0x1c6)];[_0x2b3470(0x1db)];[_0x2b3470(0x1ee)];[_0x2b3470(0x1e0)];constructor(_0x1078d0){const _0x243ca9=_0x2b3470;this[_0x243ca9(0x1eb)]=_0x1078d0,this[_0x243ca9(0x1c6)]=null,this[_0x243ca9(0x1db)]=!0x1,this[_0x243ca9(0x1ee)]=new AbortController(),this[_0x243ca9(0x1e0)]=!0x1;for(const _0x43c099 of Fs){const _0x3dafbc=_0x243ca9(0x1c5)!==_0x43c099;this[_0x243ca9(0x1eb)][_0x243ca9(0x1df)](_0x43c099,this[_0x243ca9(0x1d3)][_0x243ca9(0x1d0)](this),{'passive':_0x3dafbc,'signal':this[_0x243ca9(0x1ee)][_0x243ca9(0x1c7)]});}}[_0x2b3470(0x1ed)](){const _0x202a2f=_0x2b3470;this[_0x202a2f(0x1db)]||(this[_0x202a2f(0x1db)]=!0x0,this[_0x202a2f(0x1e0)]=!0x1,this[_0x202a2f(0x1c6)]=requestAnimationFrame(this[_0x202a2f(0x1cc)][_0x202a2f(0x1d0)](this)));}[_0x2b3470(0x1c9)](){requestAnimationFrame(()=>{const _0x2f0ab2=_0x37ea;this[_0x2f0ab2(0x1c4)]();});}[_0x2b3470(0x1e4)](){const _0x49dde7=_0x2b3470;this[_0x49dde7(0x1c4)](),this[_0x49dde7(0x1ee)][_0x49dde7(0x1e9)]();}[_0x2b3470(0x1c4)](){const _0x5ddafa=_0x2b3470;null!==this[_0x5ddafa(0x1c6)]&&(cancelAnimationFrame(this[_0x5ddafa(0x1c6)]),this[_0x5ddafa(0x1c6)]=null),this[_0x5ddafa(0x1db)]&&(this[_0x5ddafa(0x1db)]=!0x1),this[_0x5ddafa(0x1e0)]=!0x1;}[_0x2b3470(0x1d3)](_0x4e6043){const _0x113cb9=_0x2b3470;if(this[_0x113cb9(0x1db)]){if(_0x113cb9(0x1c5)===_0x4e6043[_0x113cb9(0x1d2)]){const _0x4ed3fd=_0x4e6043[_0x113cb9(0x1c8)];if(!qs[_0x113cb9(0x1dd)](_0x4ed3fd))return;}_0x4e6043 instanceof WheelEvent?_0x4e6043[_0x113cb9(0x1ef)]<0x0?this[_0x113cb9(0x1e0)]=!0x0:this[_0x113cb9(0x1e0)]=!this[_0x113cb9(0x1de)]():this[_0x113cb9(0x1e0)]=!0x0;}}[_0x2b3470(0x1de)](){const _0x2dcf78=_0x2b3470,{scrollTop:_0x5245e2,scrollHeight:_0x524fed,clientHeight:_0x351dc7}=this[_0x2dcf78(0x1eb)];return _0x524fed-_0x5245e2-_0x351dc7<=0x5;}[_0x2b3470(0x1cc)](){const _0x169536=_0x2b3470;this[_0x169536(0x1db)]&&(this[_0x169536(0x1e0)]||this[_0x169536(0x1eb)][_0x169536(0x1d7)]({'top':this[_0x169536(0x1eb)][_0x169536(0x1e8)],'behavior':_0x169536(0x1d9)}),this[_0x169536(0x1c6)]=requestAnimationFrame(this[_0x169536(0x1cc)][_0x169536(0x1d0)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x527fe1=_0x20a9;function _0x20a9(_0x3b0444,_0x4a3392){var _0x704eea=_0x704e();return _0x20a9=function(_0x20a99b,_0x1a00df){_0x20a99b=_0x20a99b-0xa4;var _0x46ec0f=_0x704eea[_0x20a99b];return _0x46ec0f;},_0x20a9(_0x3b0444,_0x4a3392);}(function(_0x30161c,_0x2ba51a){var _0x4df897=_0x20a9,_0x46c94e=_0x30161c();while(!![]){try{var _0x11cd84=parseInt(_0x4df897(0xac))/0x1*(parseInt(_0x4df897(0xab))/0x2)+-parseInt(_0x4df897(0xb2))/0x3*(parseInt(_0x4df897(0xae))/0x4)+parseInt(_0x4df897(0xb3))/0x5*(-parseInt(_0x4df897(0xa8))/0x6)+-parseInt(_0x4df897(0xb0))/0x7+parseInt(_0x4df897(0xad))/0x8*(-parseInt(_0x4df897(0xaa))/0x9)+-parseInt(_0x4df897(0xa6))/0xa+parseInt(_0x4df897(0xa9))/0xb;if(_0x11cd84===_0x2ba51a)break;else _0x46c94e['push'](_0x46c94e['shift']());}catch(_0x3dbcd5){_0x46c94e['push'](_0x46c94e['shift']());}}}(_0x704e,0x5c4b1));import{Plugin as _0x4e97b7}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x445429}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x302d12}from'../aichat/aichatballoon.js';function _0x704e(){var _0x1193aa=['12oMnvMy','pluginName','1133104hKmSGe','AIEditorIntegration','591285dwuhpB','20yDtyEm','isOfficialPlugin','requires','2645330QOBLMV','isPremiumPlugin','209286CgWkoq','17868807hvQsYT','489897AqclQF','86wZKzxP','6787hIkkAX','56klNEPm'];_0x704e=function(){return _0x1193aa;};return _0x704e();}import{SuggestionsConversion as _0x3fd556}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x4e97b7{static get[_0x527fe1(0xa5)](){return[_0x445429,_0x302d12,_0x3fd556];}static get[_0x527fe1(0xaf)](){var _0x313d9a=_0x527fe1;return _0x313d9a(0xb1);}static get[_0x527fe1(0xa4)](){return!0x0;}static get[_0x527fe1(0xa7)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1daa4e=_0x237d;(function(_0x3568f8,_0x5eead1){const _0x167b17=_0x237d,_0x1033a3=_0x3568f8();while(!![]){try{const _0x593fd3=parseInt(_0x167b17(0x197))/0x1*(-parseInt(_0x167b17(0x19e))/0x2)+-parseInt(_0x167b17(0x18d))/0x3*(-parseInt(_0x167b17(0x196))/0x4)+parseInt(_0x167b17(0x19a))/0x5+-parseInt(_0x167b17(0x192))/0x6*(-parseInt(_0x167b17(0x199))/0x7)+-parseInt(_0x167b17(0x18f))/0x8+-parseInt(_0x167b17(0x19b))/0x9+parseInt(_0x167b17(0x18a))/0xa;if(_0x593fd3===_0x5eead1)break;else _0x1033a3['push'](_0x1033a3['shift']());}catch(_0x2e00ed){_0x1033a3['push'](_0x1033a3['shift']());}}}(_0x2c74,0x90bcc));import{Plugin as _0x182217}from'ckeditor5/src/core.js';import{ToggleAICommand as _0xde7be9}from'./toggleaicommand.js';import{ButtonView as _0x4c91ec,MenuBarMenuListItemButtonView as _0x2bcbf6}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x390fef}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x29cf26}from'../../aicore/utils/common-translations.js';function _0x2c74(){const _0x4dd724=['locale','isOfficialPlugin','isOn','requires','get','AI_TOGGLE_BUTTON_LABEL','pluginName','_createAIUIButton','menuBar:toggleAi','bind','4562540lBbEbe','componentFactory','execute','14310XPTPoH','value','8229856IYqaoe','menuitemcheckbox','ck-ai-toggle-button','177708vZhOAF','AIToggleButtonUI','set','toggleAi','324FSZBmx','1694TeAxWA','listenTo','266XmYufn','5457485dvBrwP','9633879kJBAnY','init','commands','434DWcVay','editor','isPremiumPlugin','isEnabled','add'];_0x2c74=function(){return _0x4dd724;};return _0x2c74();}import{AITabs as _0x2741bb}from'../../aitabs/aitabs.js';function _0x237d(_0x1e45c2,_0x209915){const _0x2c7457=_0x2c74();return _0x237d=function(_0x237d8b,_0x8ccce2){_0x237d8b=_0x237d8b-0x182;let _0xf98b3e=_0x2c7457[_0x237d8b];return _0xf98b3e;},_0x237d(_0x1e45c2,_0x209915);}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x182217{static get[_0x1daa4e(0x183)](){return[_0x2741bb];}static get[_0x1daa4e(0x186)](){const _0x27f98f=_0x1daa4e;return _0x27f98f(0x193);}static get[_0x1daa4e(0x1a4)](){return!0x0;}static get[_0x1daa4e(0x1a0)](){return!0x0;}[_0x1daa4e(0x19c)](){const _0x5c05a6=_0x1daa4e,_0x2d5dde=this[_0x5c05a6(0x19f)];_0x2d5dde[_0x5c05a6(0x19d)][_0x5c05a6(0x1a2)](_0x5c05a6(0x195),new _0xde7be9(_0x2d5dde)),_0x2d5dde['ui'][_0x5c05a6(0x18b)][_0x5c05a6(0x1a2)](_0x5c05a6(0x195),()=>{const _0x194f10=_0x5c05a6,_0x5a9cca=this[_0x194f10(0x187)](_0x4c91ec);return _0x5a9cca[_0x194f10(0x194)]({'tooltip':!0x0,'class':_0x194f10(0x191)}),_0x5a9cca;}),_0x2d5dde['ui'][_0x5c05a6(0x18b)][_0x5c05a6(0x1a2)](_0x5c05a6(0x188),()=>{const _0x414ca9=_0x5c05a6,_0x322b38=this[_0x414ca9(0x187)](_0x2bcbf6);return _0x322b38[_0x414ca9(0x194)]({'role':_0x414ca9(0x190)}),_0x322b38;});}[_0x1daa4e(0x187)](_0x21249f){const _0x2636a1=_0x1daa4e,_0x31d20a=this[_0x2636a1(0x19f)],_0x712b39=_0x31d20a[_0x2636a1(0x19d)][_0x2636a1(0x184)](_0x2636a1(0x195)),_0x430953=new _0x21249f(_0x31d20a[_0x2636a1(0x1a3)]);return _0x430953[_0x2636a1(0x194)]({'label':_0x29cf26(_0x31d20a[_0x2636a1(0x1a3)],_0x2636a1(0x185)),'icon':_0x390fef,'isToggleable':!0x0}),_0x430953[_0x2636a1(0x189)](_0x2636a1(0x1a1))['to'](_0x712b39),_0x430953[_0x2636a1(0x189)](_0x2636a1(0x182))['to'](_0x712b39,_0x2636a1(0x18e),_0x6cf2e2=>!!_0x6cf2e2),this[_0x2636a1(0x198)](_0x430953,_0x2636a1(0x18c),()=>{const _0x2e6bcc=_0x2636a1;_0x712b39[_0x2e6bcc(0x18c)]();}),_0x430953;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2380(_0xfec035,_0x12e02d){const _0x1167be=_0x1167();return _0x2380=function(_0x238059,_0x1c9f26){_0x238059=_0x238059-0x102;let _0x30a180=_0x1167be[_0x238059];return _0x30a180;},_0x2380(_0xfec035,_0x12e02d);}const _0x206cb9=_0x2380;(function(_0xaa68c5,_0xaa6e94){const _0x476b5f=_0x2380,_0x490bd9=_0xaa68c5();while(!![]){try{const _0x45b1c7=parseInt(_0x476b5f(0x113))/0x1+parseInt(_0x476b5f(0x104))/0x2*(parseInt(_0x476b5f(0x10a))/0x3)+parseInt(_0x476b5f(0x105))/0x4+-parseInt(_0x476b5f(0x10e))/0x5*(-parseInt(_0x476b5f(0x10c))/0x6)+-parseInt(_0x476b5f(0x10b))/0x7+-parseInt(_0x476b5f(0x114))/0x8*(-parseInt(_0x476b5f(0x102))/0x9)+parseInt(_0x476b5f(0x10d))/0xa*(-parseInt(_0x476b5f(0x116))/0xb);if(_0x45b1c7===_0xaa6e94)break;else _0x490bd9['push'](_0x490bd9['shift']());}catch(_0x4795bd){_0x490bd9['push'](_0x490bd9['shift']());}}}(_0x1167,0xabad4));import{Command as _0x29bf7a}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x29bf7a{constructor(_0x4e4183){const _0x256f1a=_0x2380;super(_0x4e4183);const _0x4a1725=_0x4e4183[_0x256f1a(0x109)][_0x256f1a(0x115)](_0x256f1a(0x111))[_0x256f1a(0x112)];this[_0x256f1a(0x103)](_0x256f1a(0x108))['to'](_0x4a1725,_0x256f1a(0x106)),this[_0x256f1a(0x110)]=!0x0;}[_0x206cb9(0x10f)](){const _0x11a4aa=_0x206cb9,_0x4ac75e=this[_0x11a4aa(0x107)][_0x11a4aa(0x109)][_0x11a4aa(0x115)](_0x11a4aa(0x111))[_0x11a4aa(0x112)];_0x4ac75e[_0x11a4aa(0x106)]=!_0x4ac75e[_0x11a4aa(0x106)];}}function _0x1167(){const _0x20d125=['view','1138784SQoBsv','472UfIsjV','get','38779697NkGFPG','161523wdGTOj','bind','688lBQSxC','4669576jrSIJi','isVisible','editor','value','plugins','9183vSgOFX','7808430VLKFsU','185214dIIugu','10GdkXOK','150ijprDp','execute','isEnabled','AITabs'];_0x1167=function(){return _0x20d125;};return _0x1167();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x12352a=_0x1bdf;(function(_0x150b24,_0x3013f4){var _0x14616b=_0x1bdf,_0x1ed41c=_0x150b24();while(!![]){try{var _0x28ac76=-parseInt(_0x14616b(0x1fb))/0x1*(parseInt(_0x14616b(0x1f3))/0x2)+-parseInt(_0x14616b(0x1f4))/0x3+-parseInt(_0x14616b(0x1f2))/0x4+parseInt(_0x14616b(0x1fa))/0x5*(parseInt(_0x14616b(0x1f6))/0x6)+parseInt(_0x14616b(0x1f5))/0x7+parseInt(_0x14616b(0x1f8))/0x8*(-parseInt(_0x14616b(0x1f1))/0x9)+parseInt(_0x14616b(0x1f0))/0xa;if(_0x28ac76===_0x3013f4)break;else _0x1ed41c['push'](_0x1ed41c['shift']());}catch(_0xf30ba3){_0x1ed41c['push'](_0x1ed41c['shift']());}}}(_0x4df0,0xb7d6b));import{Plugin as _0x3cc9dd}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x4fc4fc}from'./aiquickactionsui.js';function _0x4df0(){var _0x184f84=['isPremiumPlugin','pluginName','isOfficialPlugin','24482470sgewkm','9EtvcpH','2013436kbTPPI','855464VPMDSA','1462686xVWdFg','5797470mlYDTn','61812BjvhwF','AIQuickActions','8713192hWYjkQ','requires','200BivtzT','2cLHHsB','ai.quickActions','config','define'];_0x4df0=function(){return _0x184f84;};return _0x4df0();}function _0x1bdf(_0x5db0bc,_0x143437){var _0x4df0fa=_0x4df0();return _0x1bdf=function(_0x1bdf03,_0x203faf){_0x1bdf03=_0x1bdf03-0x1eb;var _0x47df72=_0x4df0fa[_0x1bdf03];return _0x47df72;},_0x1bdf(_0x5db0bc,_0x143437);}import{AIQuickActionsEditing as _0x5781e0}from'./aiquickactionsediting.js';import{AIActions as _0x4204c0}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x3cc9dd{static get[_0x12352a(0x1f9)](){return[_0x4fc4fc,_0x5781e0,_0x4204c0];}static get[_0x12352a(0x1ee)](){var _0x387124=_0x12352a;return _0x387124(0x1f7);}static get[_0x12352a(0x1ef)](){return!0x0;}static get[_0x12352a(0x1ed)](){return!0x0;}constructor(_0x23c7ee){var _0x1e7c81=_0x12352a;super(_0x23c7ee),_0x23c7ee[_0x1e7c81(0x1eb)][_0x1e7c81(0x1ec)](_0x1e7c81(0x1fc),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c1675=_0x540c;(function(_0x40333e,_0x5151e9){const _0x473f94=_0x540c,_0x3c9f77=_0x40333e();while(!![]){try{const _0x150ab1=parseInt(_0x473f94(0x8c))/0x1+parseInt(_0x473f94(0x90))/0x2+-parseInt(_0x473f94(0x80))/0x3+parseInt(_0x473f94(0x7a))/0x4*(-parseInt(_0x473f94(0xa2))/0x5)+-parseInt(_0x473f94(0x83))/0x6+-parseInt(_0x473f94(0x99))/0x7+parseInt(_0x473f94(0x76))/0x8;if(_0x150ab1===_0x5151e9)break;else _0x3c9f77['push'](_0x3c9f77['shift']());}catch(_0x5468be){_0x3c9f77['push'](_0x3c9f77['shift']());}}}(_0x405c,0x3a555));import{Command as _0x33fbeb}from'ckeditor5/src/core.js';function _0x405c(){const _0x162bce=['isVisible','ACTION','view','parent','actionName','REVIEW','AIActions','model','document','ai-quick-actions-plugin-not-found','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','executeAction','8341896eVXBoN','has','editor','focusPromptInput','212CLCqlj','args','locale','startConversation','get','sendMessage','1022064uvMJVY','CHAT','AIChat','1093122WIWwmv','getSelectedBlocks','_expandSelectionIfCollapsed','label','removeSelectionFromChatContext','selection','icon','_handleAIChatAction','other','375523ueyxlo','schema','handleAIReviewAction','isCollapsed','165656uGwmSB','_handleAIReviewAction','activateTab','plugins','_handleAIActionsActionLabel','execute','chat','change','activeTab','3175641fPbqjk','AIChatController','log','setSelection','type','prompt','ask-ai','_handleAIActionsAction','addSelectionToChatContext','26945blCjFY','AIReviewMode','getLimitElement','displayedPrompt','AITabs'];_0x405c=function(){return _0x162bce;};return _0x405c();}import{CKEditorError as _0x341fe5,first as _0xfa1ee6}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x274ee3}from'./aiquickactionsui.js';import{getTranslation as _0x593d22}from'../aicore/utils/common-translations.js';function _0x540c(_0x351daf,_0x4cbc3c){const _0x405ccb=_0x405c();return _0x540c=function(_0x540c5f,_0x41a2d1){_0x540c5f=_0x540c5f-0x73;let _0x1a930f=_0x405ccb[_0x540c5f];return _0x1a930f;},_0x540c(_0x351daf,_0x4cbc3c);}export class AIQuickActionsCommand extends _0x33fbeb{[_0x4c1675(0x95)](_0x2875d9){const _0x2f311f=_0x4c1675;switch(this[_0x2f311f(0x85)](),_0x2875d9[_0x2f311f(0x9d)]){case _0x274ee3[_0x2f311f(0x81)]:if(!this[_0x2f311f(0x78)][_0x2f311f(0x93)][_0x2f311f(0x77)](_0x2f311f(0x82))){const _0x4cfba0=_0x593d22(this[_0x2f311f(0x78)][_0x2f311f(0x7c)],_0x2f311f(0x74),_0x2f311f(0x82));throw new _0x341fe5(_0x2f311f(0x73),this[_0x2f311f(0x78)],{'errorMessage':_0x4cfba0});}this[_0x2f311f(0x8a)](_0x2875d9);break;case _0x274ee3[_0x2f311f(0xa8)]:if(!this[_0x2f311f(0x78)][_0x2f311f(0x93)][_0x2f311f(0x77)](_0x2f311f(0xad))){const _0x3b50fb=_0x593d22(this[_0x2f311f(0x78)][_0x2f311f(0x7c)],_0x2f311f(0x74),_0x2f311f(0xad));throw new _0x341fe5(_0x2f311f(0x73),this[_0x2f311f(0x78)],{'errorMessage':_0x3b50fb});}this[_0x2f311f(0xa0)](_0x2875d9);break;case _0x274ee3[_0x2f311f(0xac)]:if(!this[_0x2f311f(0x78)][_0x2f311f(0x93)][_0x2f311f(0x77)](_0x2f311f(0xa3))){const _0x1191d6=_0x593d22(this[_0x2f311f(0x78)][_0x2f311f(0x7c)],_0x2f311f(0x74),_0x2f311f(0xa3));throw new _0x341fe5(_0x2f311f(0x73),this[_0x2f311f(0x78)],{'errorMessage':_0x1191d6});}this[_0x2f311f(0x91)](_0x2875d9);}}async[_0x4c1675(0x8a)](_0xbb3ce2){const _0x52835d=_0x4c1675,_0x3e307b=this[_0x52835d(0x78)][_0x52835d(0x93)][_0x52835d(0x7e)](_0x52835d(0x82)),_0x4871b3=this[_0x52835d(0x78)][_0x52835d(0x93)][_0x52835d(0x7e)](_0x52835d(0x9a)),_0x54ebda=this[_0x52835d(0x78)][_0x52835d(0x93)][_0x52835d(0x7e)](_0x52835d(0xa6))[_0x52835d(0xa9)];if(_0x54ebda[_0x52835d(0xa7)]||(_0x54ebda[_0x52835d(0xa7)]=!0x0),_0x52835d(0x96)!==_0x54ebda[_0x52835d(0x98)]&&_0x54ebda[_0x52835d(0x92)](_0x52835d(0x96)),_0x52835d(0x9f)===_0xbb3ce2['id'])_0x4871b3[_0x52835d(0x87)](),await _0x3e307b[_0x52835d(0xa1)](),_0x3e307b[_0x52835d(0x79)]();else await _0x3e307b[_0x52835d(0x7d)](),_0x4871b3[_0x52835d(0x87)](),await _0x3e307b[_0x52835d(0xa1)](),_0x3e307b[_0x52835d(0x79)](),await _0x3e307b[_0x52835d(0x7f)]({'message':_0xbb3ce2[_0x52835d(0x9e)]||_0xbb3ce2[_0x52835d(0xa5)],'attributes':{'quickActionData':{'id':_0xbb3ce2['id']},'displayedPrompt':_0xbb3ce2[_0x52835d(0xa5)]}});}[_0x4c1675(0x85)](){const _0x31f04b=_0x4c1675,_0x110156=this[_0x31f04b(0x78)],_0x571ffb=_0x110156[_0x31f04b(0xae)][_0x31f04b(0xaf)][_0x31f04b(0x88)];if(!_0x571ffb[_0x31f04b(0x8f)])return;const _0x1bb096=_0xfa1ee6(_0x571ffb[_0x31f04b(0x84)]())||_0x110156[_0x31f04b(0xae)][_0x31f04b(0x8d)][_0x31f04b(0xa4)](_0x571ffb);_0x110156[_0x31f04b(0xae)][_0x31f04b(0x97)](_0x3286e1=>{const _0x1b3cbb=_0x31f04b;_0x3286e1[_0x1b3cbb(0x9c)](_0x1bb096,'in');});}[_0x4c1675(0x94)](_0x13287d){const _0x489ac1=_0x4c1675;return _0x13287d[_0x489ac1(0xaa)]?.[_0x489ac1(0x86)]&&_0x489ac1(0x8b)!==_0x13287d[_0x489ac1(0xaa)]?.['id']?_0x13287d[_0x489ac1(0xaa)][_0x489ac1(0x86)]+':\x20'+_0x13287d[_0x489ac1(0xa5)]:_0x13287d[_0x489ac1(0xa5)];}async[_0x4c1675(0xa0)](_0x12b3c0){const _0x3ae6fb=_0x4c1675,_0x4c66c5=this[_0x3ae6fb(0x78)][_0x3ae6fb(0x93)][_0x3ae6fb(0x7e)](_0x3ae6fb(0xad)),_0x5b0473=_0x12b3c0[_0x3ae6fb(0x9e)]?{'userMessage':_0x12b3c0[_0x3ae6fb(0x9e)],'model':_0x12b3c0[_0x3ae6fb(0xae)]}:{'actionName':_0x12b3c0[_0x3ae6fb(0xab)]||_0x12b3c0['id'],'args':_0x12b3c0[_0x3ae6fb(0x7b)]},_0x1a2a5b=this[_0x3ae6fb(0x94)](_0x12b3c0);await _0x4c66c5[_0x3ae6fb(0x75)](_0x5b0473,_0x1a2a5b,_0x12b3c0[_0x3ae6fb(0x89)]);}async[_0x4c1675(0x91)](_0xd49429){const _0x199af5=_0x4c1675;console[_0x199af5(0x9b)](_0x199af5(0x8e),_0xd49429);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x420e(_0x14f71e,_0xdcf614){const _0x35989e=_0x3598();return _0x420e=function(_0x420e3c,_0x1cdd2f){_0x420e3c=_0x420e3c-0x1b9;let _0x4ffd3b=_0x35989e[_0x420e3c];return _0x4ffd3b;},_0x420e(_0x14f71e,_0xdcf614);}const _0x29bb37=_0x420e;(function(_0x3ccaab,_0x196da1){const _0x498309=_0x420e,_0x4aef2b=_0x3ccaab();while(!![]){try{const _0x455861=-parseInt(_0x498309(0x1c2))/0x1*(-parseInt(_0x498309(0x1bb))/0x2)+parseInt(_0x498309(0x1c8))/0x3*(-parseInt(_0x498309(0x1c5))/0x4)+parseInt(_0x498309(0x1c3))/0x5*(parseInt(_0x498309(0x1bd))/0x6)+-parseInt(_0x498309(0x1ca))/0x7+-parseInt(_0x498309(0x1d2))/0x8*(-parseInt(_0x498309(0x1d6))/0x9)+-parseInt(_0x498309(0x1ce))/0xa+parseInt(_0x498309(0x1ba))/0xb*(-parseInt(_0x498309(0x1bf))/0xc);if(_0x455861===_0x196da1)break;else _0x4aef2b['push'](_0x4aef2b['shift']());}catch(_0x14393f){_0x4aef2b['push'](_0x4aef2b['shift']());}}}(_0x3598,0xa8d7e));import{Plugin as _0x426470}from'ckeditor5/src/core.js';function _0x3598(){const _0x20a7dd=['9ixjPsn','model','document','149281jCyGIH','53446TVHtmL','directChange','12yxbVeM','selection','84OtSLlT','editor','removeSelectionFromChatContext','2UFoFxz','1159275rJDaPt','init','4kOenwU','AIQuickActionsEditing','isOfficialPlugin','2596056IGeGic','get','426797JzYJka','isPremiumPlugin','commands','aiQuickAction','942980ROlXEZ','change:range','has','add','10320352tuzWWK','pluginName','plugins','AIChat'];_0x3598=function(){return _0x20a7dd;};return _0x3598();}import{AIQuickActionsCommand as _0x2ec139}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x426470{static get[_0x29bb37(0x1d3)](){const _0x2ffc3f=_0x29bb37;return _0x2ffc3f(0x1c6);}static get[_0x29bb37(0x1c7)](){return!0x0;}static get[_0x29bb37(0x1cb)](){return!0x0;}[_0x29bb37(0x1c4)](){const _0x1a7adc=_0x29bb37,_0x308b28=this[_0x1a7adc(0x1c0)],_0x3f503e=new _0x2ec139(this[_0x1a7adc(0x1c0)]);if(_0x308b28[_0x1a7adc(0x1cc)][_0x1a7adc(0x1d1)](_0x1a7adc(0x1cd),_0x3f503e),_0x308b28[_0x1a7adc(0x1d4)][_0x1a7adc(0x1d0)](_0x1a7adc(0x1d5))){const _0x2948cf=this[_0x1a7adc(0x1c0)][_0x1a7adc(0x1d4)][_0x1a7adc(0x1c9)](_0x1a7adc(0x1d5));_0x308b28[_0x1a7adc(0x1d7)][_0x1a7adc(0x1b9)][_0x1a7adc(0x1be)]['on'](_0x1a7adc(0x1cf),(_0x57674c,_0x57d046)=>{const _0x58b7c4=_0x1a7adc;_0x57d046[_0x58b7c4(0x1bc)]&&_0x2948cf[_0x58b7c4(0x1c1)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x411a42=_0x3884;(function(_0xed4c3e,_0x58c406){const _0x4dc642=_0x3884,_0x182017=_0xed4c3e();while(!![]){try{const _0x4253f3=parseInt(_0x4dc642(0x112))/0x1*(parseInt(_0x4dc642(0x18e))/0x2)+-parseInt(_0x4dc642(0xfd))/0x3*(-parseInt(_0x4dc642(0xfc))/0x4)+-parseInt(_0x4dc642(0x153))/0x5*(-parseInt(_0x4dc642(0x11a))/0x6)+parseInt(_0x4dc642(0x162))/0x7*(-parseInt(_0x4dc642(0x165))/0x8)+-parseInt(_0x4dc642(0x113))/0x9+parseInt(_0x4dc642(0x16f))/0xa+parseInt(_0x4dc642(0x107))/0xb;if(_0x4253f3===_0x58c406)break;else _0x182017['push'](_0x182017['shift']());}catch(_0x30bd08){_0x182017['push'](_0x182017['shift']());}}}(_0x1271,0xa9e1c));import{IconAIAdjustLength as _0x41e9e7,IconAIChangeTone as _0x4cb95d,IconAIChatCommands as _0x7741eb,IconAIContinueWriting as _0xbf7fce,IconAIGrammarCheck as _0x42782c,IconAIImproveWriting as _0x1da44c,IconAIOther as _0x170132,IconAIQuickActions as _0x22c788,IconAITranslate as _0x1c02b0}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xb75ddf}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f1cd5,logError as _0x1027f5}from'ckeditor5/src/utils.js';import{getTranslation as _0xa2b1a2}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1f5f00}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x26e5e5}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x535ceb,BalloonToolbar as _0x28a66b,MenuBarMenuView as _0x4d7551,MenuBarMenuListView as _0x4488f3,MenuBarMenuListItemView as _0x503ab1,MenuBarMenuListItemButtonView as _0x5f1728}from'ckeditor5/src/ui.js';import{AIModels as _0x79a5f0}from'../aicore/model/aimodels.js';import{AIConnector as _0xa47554}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x411a42(0x133),ie=_0x411a42(0x134),ne=_0x411a42(0x109);export var AIQuickActionType;!function(_0x277c99){const _0x2f9db3=_0x411a42;_0x277c99[_0x2f9db3(0x102)]=_0x2f9db3(0x102),_0x277c99[_0x2f9db3(0x125)]=_0x2f9db3(0x125),_0x277c99[_0x2f9db3(0x12d)]=_0x2f9db3(0x12d);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x3884(_0x125ac8,_0x3812bd){const _0x127127=_0x1271();return _0x3884=function(_0x38841f,_0x401319){_0x38841f=_0x38841f-0xf6;let _0x4b7182=_0x127127[_0x38841f];return _0x4b7182;},_0x3884(_0x125ac8,_0x3812bd);}!function(_0x79da92){const _0x4ff06f=_0x411a42;_0x79da92[_0x4ff06f(0x102)]=_0x4ff06f(0x137),_0x79da92[_0x4ff06f(0x125)]=_0x4ff06f(0x195),_0x79da92[_0x4ff06f(0x12d)]=_0x4ff06f(0x17b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xb75ddf{static get[_0x411a42(0x18a)](){return[_0x28a66b,_0xa47554];}static get[_0x411a42(0x103)](){const _0x252b29=_0x411a42;return _0x252b29(0x139);}static get[_0x411a42(0x123)](){return!0x0;}static get[_0x411a42(0x13d)](){return!0x0;}async[_0x411a42(0x14c)](){const _0x1703b5=_0x411a42,_0xb85fa1=await this[_0x1703b5(0x119)]();this[_0x1703b5(0x141)](_0xb85fa1),this[_0x1703b5(0x145)]();}static[_0x411a42(0x142)](_0x5beb60){return function(_0x5d0dd5){const _0x216643=_0x3884,_0x2a9d42=new Intl[(_0x216643(0x194))](['en'],{'type':_0x216643(0x15b)})['of'](_0x5d0dd5[_0x216643(0x110)]),_0x297fbf=_0x2a9d42||_0x216643(0x11b),_0x3cd8b7=[{'id':_0x216643(0x13a),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x168)),'type':AIQuickActionType[_0x216643(0x102)],'icon':_0x7741eb},{'id':_0x216643(0x105),'label':_0xa2b1a2(_0x5d0dd5,_0x216643(0x135)),'icon':_0x7741eb,'actions':[{'id':_0x216643(0x182),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x143)),'prompt':ee[_0x216643(0xff)]('%0',_0x297fbf),'type':AIQuickActionType[_0x216643(0x102)]},{'id':_0x216643(0x166),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x138)),'prompt':ie[_0x216643(0xff)]('%0',_0x297fbf),'type':AIQuickActionType[_0x216643(0x102)]},{'id':_0x216643(0x170),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x160)),'prompt':ne[_0x216643(0xff)]('%0',_0x297fbf),'type':AIQuickActionType[_0x216643(0x102)]}]},{'id':_0x216643(0x124),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x132)),'type':AIQuickActionType[_0x216643(0x125)],'icon':_0x1da44c},{'id':_0x216643(0x147),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x17f)),'type':AIQuickActionType[_0x216643(0x125)],'icon':_0xbf7fce},{'id':_0x216643(0x101),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x127)),'type':AIQuickActionType[_0x216643(0x125)],'icon':_0x42782c},{'id':_0x216643(0x10e),'label':_0xa2b1a2(_0x5d0dd5,_0x216643(0x156)),'icon':_0x41e9e7,'actions':[{'id':_0x216643(0x10c),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0xf7)),'type':AIQuickActionType[_0x216643(0x125)]},{'id':_0x216643(0x131),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x128)),'type':AIQuickActionType[_0x216643(0x125)]}]},{'id':_0x216643(0xfb),'label':_0xa2b1a2(_0x5d0dd5,_0x216643(0x188)),'icon':_0x4cb95d,'actions':[{'id':_0x216643(0x189),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x174)),'type':AIQuickActionType[_0x216643(0x125)]},{'id':_0x216643(0x12c),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x13c)),'type':AIQuickActionType[_0x216643(0x125)]},{'id':_0x216643(0xfa),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x13e)),'type':AIQuickActionType[_0x216643(0x125)]},{'id':_0x216643(0x148),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x16e)),'type':AIQuickActionType[_0x216643(0x125)]},{'id':_0x216643(0x196),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x187)),'type':AIQuickActionType[_0x216643(0x125)]}]},{'id':_0x216643(0x16b),'label':_0xa2b1a2(_0x5d0dd5,_0x216643(0x175)),'icon':_0x1c02b0,'actions':[{'id':_0x216643(0xf9),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x10d)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x12f)}},{'id':_0x216643(0x10a),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x186)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x14a)}},{'id':_0x216643(0x18f),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0xfe)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x197)}},{'id':_0x216643(0x161),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x18b)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x130)}},{'id':_0x216643(0xf6),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x15f)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x15a)}},{'id':_0x216643(0x155),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x17a)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x11d)}},{'id':_0x216643(0x14b),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x172)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x17d)}},{'id':_0x216643(0x13f),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x120)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x11f)}},{'id':_0x216643(0x106),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x12e)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x176)}},{'id':_0x216643(0x16c),'displayedPrompt':_0xa2b1a2(_0x5d0dd5,_0x216643(0x18d)),'type':AIQuickActionType[_0x216643(0x125)],'actionName':_0x216643(0x16b),'args':{'language':_0x216643(0x190)}}]},{'id':_0x216643(0x180),'label':_0xa2b1a2(_0x5d0dd5,_0x216643(0x173)),'icon':_0x170132,'actions':[]}];return _0x3cd8b7;}(_0x5beb60);}async[_0x411a42(0x119)](){const _0x1eb283=_0x411a42,_0x441e7e=AIQuickActionsUI[_0x1eb283(0x142)](this[_0x1eb283(0x17e)][_0x1eb283(0x11e)]),_0x49e2f0=this[_0x1eb283(0x17e)][_0x1eb283(0x15d)][_0x1eb283(0x114)](_0x1eb283(0x146))||[];let _0x285fbe=[];try{_0x285fbe=await new _0x79a5f0({'connector':this[_0x1eb283(0x17e)][_0x1eb283(0x12a)][_0x1eb283(0x114)](_0x1eb283(0x154)),'locale':this[_0x1eb283(0x17e)][_0x1eb283(0x11e)]})[_0x1eb283(0x178)]();}catch(_0x2c4267){const _0x36468d=new _0x2f1cd5(_0x1eb283(0x18c),this,{'error':_0x2c4267});_0x1027f5(_0x36468d[_0x1eb283(0x129)]);}finally{const _0x3739de=_0x49e2f0[_0x1eb283(0xf8)](_0x40d988=>({..._0x40d988,'icon':void 0x0}));_0x441e7e[_0x1eb283(0x15e)](_0x55ba8c=>_0x1eb283(0x180)===_0x55ba8c['id'])[_0x1eb283(0x191)][_0x1eb283(0x193)](..._0x3739de),_0x441e7e[_0x1eb283(0x126)](_0x5a84ad=>{const _0x3fd5e8=_0x1eb283;if(_0x3fd5e8(0x191)in _0x5a84ad)_0x5a84ad[_0x3fd5e8(0x191)][_0x3fd5e8(0x126)](_0x2d57de=>{const _0xfa9341=_0x3fd5e8;if(_0x2d57de[_0xfa9341(0x10f)]=!!_0x285fbe[_0xfa9341(0x15e)](_0x2f22db=>_0x2f22db['id']===_0x2d57de[_0xfa9341(0x177)])||void 0x0===_0x2d57de[_0xfa9341(0x177)],!_0x2d57de[_0xfa9341(0x10f)]){const _0xb2283b=new _0x2f1cd5(_0xfa9341(0x184),this,{'actionId':_0x2d57de['id'],'modelId':_0x2d57de[_0xfa9341(0x177)]});_0x1027f5(_0xb2283b[_0xfa9341(0x129)]);}});else{if(_0x5a84ad[_0x3fd5e8(0x10f)]=!!_0x285fbe[_0x3fd5e8(0x15e)](_0x1dc1ae=>_0x1dc1ae['id']===_0x5a84ad[_0x3fd5e8(0x177)])||void 0x0===_0x5a84ad[_0x3fd5e8(0x177)],!_0x5a84ad[_0x3fd5e8(0x10f)]){const _0x357875=new _0x2f1cd5(_0x3fd5e8(0x184),this,{'actionId':_0x5a84ad['id'],'modelId':_0x5a84ad[_0x3fd5e8(0x177)]});_0x1027f5(_0x357875[_0x3fd5e8(0x129)]);}}});}return _0x441e7e;}[_0x411a42(0x145)](){const _0x34230c=_0x411a42,_0x3a8c0b=new _0x535ceb(this[_0x34230c(0x17e)][_0x34230c(0x11e)]);_0x3a8c0b[_0x34230c(0x118)](),this[_0x34230c(0x179)](_0x3a8c0b),this[_0x34230c(0x136)](),this[_0x34230c(0x14e)](_0x3a8c0b);}[_0x411a42(0x179)](_0xd6baec){const _0x53f2fa=_0x411a42,_0x1e0e7f=this[_0x53f2fa(0x17e)][_0x53f2fa(0x15d)][_0x53f2fa(0x114)](_0x53f2fa(0x185))??!0x0;this[_0x53f2fa(0x17e)]['ui'][_0x53f2fa(0x150)][_0x53f2fa(0x122)](_0x53f2fa(0x163),_0x1f5f00({'editor':this[_0x53f2fa(0x17e)],'content':this[_0x53f2fa(0x10b)],'buttonDefinition':{'icon':_0x22c788,'label':_0xa2b1a2(this[_0x53f2fa(0x17e)][_0x53f2fa(0x11e)],_0x53f2fa(0x151))},'bodyCollection':_0xd6baec,'hasSearch':_0x1e0e7f}));}[_0x411a42(0x141)](_0x61f7f1){const _0x33644f=_0x411a42;this[_0x33644f(0x10b)]=_0x61f7f1[_0x33644f(0xf8)](_0x402ef7=>{const _0x3f614d=_0x33644f;if(_0x3f614d(0x191)in _0x402ef7){const _0x5500c3=_0x402ef7;return{..._0x5500c3,'actions':_0x5500c3[_0x3f614d(0x191)][_0x3f614d(0xf8)](_0x2ba74e=>{const {actions:_0x3d77d9,..._0x3ced5a}=_0x5500c3;return{..._0x2ba74e,'parent':_0x3ced5a};})[_0x3f614d(0x12b)](_0x4de570=>this[_0x3f614d(0x115)](_0x4de570))};}return _0x402ef7;})[_0x33644f(0x12b)](_0x96de76=>_0x33644f(0x191)in _0x96de76?_0x96de76[_0x33644f(0x191)][_0x33644f(0x16d)]>0x0:this[_0x33644f(0x115)](_0x96de76));}[_0x411a42(0x115)](_0x3f3714){const _0x111afd=_0x411a42,_0x3a875f=this[_0x111afd(0x17e)][_0x111afd(0x15d)][_0x111afd(0x114)](_0x111afd(0x144))||[];return this[_0x111afd(0x17e)][_0x111afd(0x12a)][_0x111afd(0x169)](AIQuickActionTypeToPluginName[_0x3f3714[_0x111afd(0x183)]])&&!_0x3a875f[_0x111afd(0x13b)](_0x3f3714['id'])&&!(_0x3f3714[_0x111afd(0x183)]===AIQuickActionType[_0x111afd(0x102)]&&!0x1===this[_0x111afd(0x17e)][_0x111afd(0x15d)][_0x111afd(0x114)](_0x111afd(0x140)));}[_0x411a42(0x14e)](_0x4cfedf){const _0x38af71=_0x411a42;this[_0x38af71(0x10b)][_0x38af71(0x126)](_0x703327=>{const _0x2433f6=_0x38af71;if(_0x2433f6(0x191)in _0x703327){const _0x5e5d74=_0x1f5f00({'editor':this[_0x2433f6(0x17e)],'content':_0x703327[_0x2433f6(0x191)],'buttonDefinition':_0x703327,'bodyCollection':_0x4cfedf});this[_0x2433f6(0x17e)]['ui'][_0x2433f6(0x150)][_0x2433f6(0x122)](_0x703327['id'],_0x5e5d74),_0x703327[_0x2433f6(0x191)][_0x2433f6(0x126)](_0x2f8c8c=>{const _0x4fd82b=_0x2433f6,_0x382be5=_0x26e5e5({'editor':this[_0x4fd82b(0x17e)],'action':_0x2f8c8c});this[_0x4fd82b(0x17e)]['ui'][_0x4fd82b(0x150)][_0x4fd82b(0x122)](_0x2f8c8c['id'],_0x382be5);});}else{const _0x5464f7=_0x26e5e5({'editor':this[_0x2433f6(0x17e)],'action':_0x703327,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x2433f6(0x17e)]['ui'][_0x2433f6(0x150)][_0x2433f6(0x122)](_0x703327['id'],_0x5464f7);}});}[_0x411a42(0x136)](){const _0x29e8a6=_0x411a42;this[_0x29e8a6(0x17e)]['ui'][_0x29e8a6(0x150)][_0x29e8a6(0x122)](_0x29e8a6(0x108),_0x3e3264=>{const _0x5c5de9=_0x29e8a6,_0x44652f=new _0x4d7551(_0x3e3264),_0x2cf660=_0xa2b1a2(_0x3e3264,_0x5c5de9(0x151));_0x44652f[_0x5c5de9(0x157)][_0x5c5de9(0x171)]({'label':_0x2cf660,'icon':_0x22c788});const _0x210e6a=new _0x4488f3(_0x3e3264);_0x210e6a[_0x5c5de9(0x171)]({'ariaLabel':_0x2cf660,'role':_0x5c5de9(0x159)}),this[_0x5c5de9(0x10b)][_0x5c5de9(0x126)](_0x1f97d0=>{const _0x3f127f=_0x5c5de9;if(_0x3f127f(0x191)in _0x1f97d0){const _0x5c6ae3=_0x1f97d0,_0x2bb1a=new _0x503ab1(_0x3e3264,_0x44652f),_0x7073c=new _0x4d7551(_0x3e3264),_0x148114=new _0x4488f3(_0x3e3264);_0x7073c[_0x3f127f(0x157)][_0x3f127f(0x171)]({'label':_0x5c6ae3[_0x3f127f(0x17c)],'icon':_0x5c6ae3[_0x3f127f(0x15c)]}),_0x5c6ae3[_0x3f127f(0x191)][_0x3f127f(0x126)](_0x591646=>{const _0x448aa6=_0x3f127f,_0x20ad3c=new _0x503ab1(_0x3e3264,_0x7073c),_0x573b1f=new _0x5f1728(_0x3e3264);_0x573b1f[_0x448aa6(0x171)]({'label':_0x591646[_0x448aa6(0x16a)],'icon':_0x591646[_0x448aa6(0x15c)],'role':_0x448aa6(0x121),'isEnabled':_0x591646[_0x448aa6(0x10f)]}),_0x573b1f['on'](_0x448aa6(0x111),()=>{const _0x1c3e29=_0x448aa6;this[_0x1c3e29(0x164)](_0x591646);}),_0x573b1f[_0x448aa6(0x14d)](_0x448aa6(0x111))['to'](_0x7073c),_0x20ad3c[_0x448aa6(0x152)][_0x448aa6(0x122)](_0x573b1f),_0x148114[_0x448aa6(0x104)][_0x448aa6(0x122)](_0x20ad3c);}),_0x7073c[_0x3f127f(0x11c)][_0x3f127f(0x152)][_0x3f127f(0x122)](_0x148114),_0x2bb1a[_0x3f127f(0x152)][_0x3f127f(0x122)](_0x7073c),_0x210e6a[_0x3f127f(0x104)][_0x3f127f(0x122)](_0x2bb1a);}else{const _0x3a2b4a=_0x1f97d0,_0x2a70dc=new _0x503ab1(_0x3e3264,_0x44652f),_0x5e3b6f=new _0x5f1728(_0x3e3264);_0x5e3b6f[_0x3f127f(0x171)]({'label':_0x3a2b4a[_0x3f127f(0x16a)],'icon':_0x3a2b4a[_0x3f127f(0x15c)],'role':_0x3f127f(0x121),'isEnabled':_0x3a2b4a[_0x3f127f(0x10f)]}),_0x5e3b6f['on'](_0x3f127f(0x111),()=>{const _0x476848=_0x3f127f;this[_0x476848(0x164)](_0x3a2b4a);}),_0x5e3b6f[_0x3f127f(0x14d)](_0x3f127f(0x111))['to'](_0x44652f),_0x2a70dc[_0x3f127f(0x152)][_0x3f127f(0x122)](_0x5e3b6f),_0x210e6a[_0x3f127f(0x104)][_0x3f127f(0x122)](_0x2a70dc);}});const _0x36fa50=Object[_0x5c5de9(0x100)](AIQuickActionTypeToPluginName)[_0x5c5de9(0x181)](_0x2b6355=>this[_0x5c5de9(0x17e)][_0x5c5de9(0x12a)][_0x5c5de9(0x169)](_0x2b6355));return _0x44652f[_0x5c5de9(0x171)]({'isEnabled':_0x36fa50}),_0x44652f[_0x5c5de9(0x11c)][_0x5c5de9(0x152)][_0x5c5de9(0x122)](_0x210e6a),_0x44652f;});}[_0x411a42(0x164)](_0x5f9546){const _0x54aa4d=_0x411a42,_0x4556d9=this[_0x54aa4d(0x17e)];_0x4556d9[_0x54aa4d(0x117)][_0x54aa4d(0x192)][_0x54aa4d(0x116)](),_0x4556d9[_0x54aa4d(0x158)][_0x54aa4d(0x111)](_0x54aa4d(0x167),_0x5f9546);const _0x58677e=_0x4556d9['ui'][_0x54aa4d(0x192)][_0x54aa4d(0x14f)];_0x58677e&&_0x58677e[_0x54aa4d(0x149)]&&_0x58677e[_0x54aa4d(0x149)]();}}function _0x1271(){const _0x1e73f2=['AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CHANGE_TONE','make-tone-casual','requires','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','88hfxbVL','translate-to-spanish','russian','actions','view','push','DisplayNames','AIActions','make-tone-professional','spanish','translate-to-french','AI_QUICK_ACTIONS_MAKE_SHORTER','map','translate-to-english','make-tone-friendly','change-tone','36YSjebd','47001uHPkSH','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','replace','values','fix-grammar','CHAT','pluginName','items','chat-commands','translate-to-italian','15520945uwvyEU','menuBar:aiQuickActions','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-chinese','_quickActionsDefinition','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','adjust-length','isEnabled','uiLanguage','execute','1514DeSUBA','9027531SkRuPk','get','_shouldIncludeAction','focus','editing','attachToDom','_getDefaultAndCustomActions','6FTEQfQ','English','panelView','japanese','locale','korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','menuitem','add','isOfficialPlugin','improve-writing','ACTION','forEach','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_MAKE_LONGER','message','plugins','filter','make-tone-direct','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','english','german','make-longer','AI_QUICK_ACTIONS_IMPROVE_WRITING','<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>','<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_CHAT_COMMANDS','_initializeQuickActionsMenuBar','AIChat','AI_QUICK_ACTIONS_SUMMARIZE','AIQuickActionsUI','ask-ai','includes','AI_QUICK_ACTIONS_MORE_DIRECT','isPremiumPlugin','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-korean','ai.chat.context.document.enabled','_prepareQuickActionsDefinition','getDefaultQuickActions','AI_QUICK_ACTIONS_EXPLAIN','ai.quickActions.removeCommands','_initializeQuickActionsComponentsAndCommands','ai.quickActions.extraCommands','continue','make-tone-confident','close','chinese','translate-to-portuguese','init','delegate','_initializeQuickActionsComponents','menuBarView','componentFactory','AI_QUICK_ACTIONS_HEADING','children','3856445wjCjyX','AIConnector','translate-to-japanese','AI_QUICK_ACTIONS_ADJUST_LENGTH','buttonView','commands','menu','french','language','icon','config','find','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate-to-german','1805265HIfFQF','aiQuickActions','_executeQuickAction','24PWdNkI','summarize','aiQuickAction','AI_QUICK_ACTIONS_ASK_AI','has','displayedPrompt','translate','translate-to-russian','length','AI_QUICK_ACTIONS_MORE_CONFIDENT','826770BnYaAj','highlight-key-points','set','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_TRANSLATE','italian','model','getAll','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AIReviewMode','label','portuguese','editor','AI_QUICK_ACTIONS_CONTINUE_WRITING','other','some','explain','type','ai-quick-actions-unavailable-model','ai.quickActions.isSearchEnabled'];_0x1271=function(){return _0x1e73f2;};return _0x1271();}
|
|
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)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x467b02,_0x83f68f){const _0x1bc686=_0x5423,_0x3f734c=_0x467b02();while(!![]){try{const _0x47efea=parseInt(_0x1bc686(0x1c6))/0x1*(-parseInt(_0x1bc686(0x1bb))/0x2)+parseInt(_0x1bc686(0x1cf))/0x3+-parseInt(_0x1bc686(0x1ca))/0x4*(-parseInt(_0x1bc686(0x1c1))/0x5)+parseInt(_0x1bc686(0x1c2))/0x6+-parseInt(_0x1bc686(0x1c9))/0x7+-parseInt(_0x1bc686(0x1bf))/0x8+parseInt(_0x1bc686(0x1cd))/0x9;if(_0x47efea===_0x83f68f)break;else _0x3f734c['push'](_0x3f734c['shift']());}catch(_0x297c05){_0x3f734c['push'](_0x3f734c['shift']());}}}(_0x5b74,0xbb195));function _0x5b74(){const _0x54e80e=['execute','locale','parent','16577gbNjbU','view','extendTemplate','10371697usGKYA','372608wEArji','editing','icon','6695307fRxOVG','displayedPrompt','3339690XRlYan','commands','set','ck-ai-quick-actions-button','menuitem','134WcUohf','aiQuickAction','isEnabled','bindTemplate','2909056sgWycA','focus','20xsVxHB','8955348vcPAzH'];_0x5b74=function(){return _0x54e80e;};return _0x5b74();}import{ButtonView as _0x528c66}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x147acb}from'@ckeditor/ckeditor5-icons';function _0x5423(_0x59a79a,_0x1bee19){const _0x5b7428=_0x5b74();return _0x5423=function(_0x5423d9,_0x33999a){_0x5423d9=_0x5423d9-0x1b7;let _0x1a1ce7=_0x5b7428[_0x5423d9];return _0x1a1ce7;},_0x5423(_0x59a79a,_0x1bee19);}export function aiQuickActionsButtonCreator(_0x5272c9){const {editor:_0x37f3a6,action:_0x107a4e,withText:_0x4ce2e7=!0x1,withIcon:_0x17dcba=!0x0,isInDropdown:_0x5e40c3=!0x0,shouldPreventFocus:_0x1706b0=!0x1}=_0x5272c9;return()=>{const _0x588a15=_0x5423,_0x102214=_0x37f3a6[_0x588a15(0x1c4)],_0x9864b3=new _0x528c66(_0x102214),_0x1df316=_0x9864b3[_0x588a15(0x1be)];_0x5e40c3&&_0x9864b3[_0x588a15(0x1c8)]({'on':{'mouseenter':_0x1df316['to'](()=>{const _0xabc637=_0x588a15;_0x1706b0&&_0x1706b0()||_0x9864b3[_0xabc637(0x1c0)]();})}});const _0x5ce438=_0x107a4e[_0x588a15(0x1cc)]??_0x107a4e[_0x588a15(0x1c5)]?.[_0x588a15(0x1cc)];return _0x9864b3[_0x588a15(0x1b8)]({'label':_0x107a4e[_0x588a15(0x1ce)],'withText':_0x4ce2e7,'role':_0x588a15(0x1ba),'icon':_0x17dcba?_0x5ce438??_0x147acb:void 0x0,'tooltip':!_0x4ce2e7,'class':_0x588a15(0x1b9),'isEnabled':_0x107a4e[_0x588a15(0x1bd)]}),_0x9864b3['on'](_0x588a15(0x1c3),()=>{const _0x28da28=_0x588a15;_0x37f3a6[_0x28da28(0x1cb)][_0x28da28(0x1c7)][_0x28da28(0x1c0)](),_0x37f3a6[_0x28da28(0x1b7)][_0x28da28(0x1c3)](_0x28da28(0x1bc),_0x107a4e);}),_0x9864b3;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xfb39e3=_0x5f04;(function(_0x8dbdfe,_0x15d957){const _0x4e7701=_0x5f04,_0x42bddf=_0x8dbdfe();while(!![]){try{const _0x2e44a5=-parseInt(_0x4e7701(0x1a4))/0x1*(parseInt(_0x4e7701(0x1fd))/0x2)+-parseInt(_0x4e7701(0x20d))/0x3+-parseInt(_0x4e7701(0x1b1))/0x4+-parseInt(_0x4e7701(0x225))/0x5*(parseInt(_0x4e7701(0x220))/0x6)+-parseInt(_0x4e7701(0x1be))/0x7*(-parseInt(_0x4e7701(0x22a))/0x8)+parseInt(_0x4e7701(0x1ed))/0x9+parseInt(_0x4e7701(0x1c7))/0xa*(parseInt(_0x4e7701(0x1b8))/0xb);if(_0x2e44a5===_0x15d957)break;else _0x42bddf['push'](_0x42bddf['shift']());}catch(_0x2720eb){_0x42bddf['push'](_0x42bddf['shift']());}}}(_0x2db4,0x9230c));import{View as _0x1d77bb,ListItemView as _0x18a937,ListView as _0x474969,BalloonPanelView as _0x473e74,DropdownMenuPanelPositioningFunctions as _0x56ff9a,ViewCollection as _0x36ee73,FocusCycler as _0x5bb9b7,ButtonView as _0xfda851,IconView as _0x2d6dbe,HighlightedTextView as _0x40b743,ButtonLabelWithHighlightView as _0x5962fd,SearchTextView as _0x365cf1}from'ckeditor5/src/ui.js';function _0x5f04(_0x4a8b9e,_0x356b77){const _0x2db447=_0x2db4();return _0x5f04=function(_0x5f04e8,_0x5b1e7d){_0x5f04e8=_0x5f04e8-0x1a3;let _0x43c85e=_0x2db447[_0x5f04e8];return _0x43c85e;},_0x5f04(_0x4a8b9e,_0x356b77);}function _0x2db4(){const _0x457b21=['get','fire','_createListItems','ck-reset_all','ck-ai-quick-actions-search','.ck-ai-quick-actions-group-panel','_createSearchResultGroupedActionButton','2018rmJjmw','ck-rounded-corners','ck-ai-quick-actions-search-result__content','parent','_hideNestedPanel','_createSearchResultGroupRow','destroy','.ck-ai-quick-actions-group-button','_createSearchResultIndividualActionButton','menuitem','ArrowRight','execute','clear','label','_hideAllNestedPanels','_createActionGroupButton','1276821WRzrJu','displayedPrompt','_bodyCollection','_createActionButton','content','items','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','add','show','button','_isMovingToNestedMenu','_focusables','ck-ai-quick-actions-group-list','_createSearchResultContentView','_openNestedPanels','_createGroupActionsList','addEventListener','ck-ai-quick-actions-button_with-group__close-paren','resetSearch','6ERtsVB','role','fieldView','_createSearchResultActionRow','rtl','3909155frmNTQ','element','_allSearchableItems','uiLanguageDirection','ck-ai-quick-actions-search-result__action-row','8LMYjTd','key','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','959XPWiqn','_getButtonKeystroke','relatedTarget','forEach','ck-ai-quick-actions-group-panel','aiQuickAction','ck-ai-quick-actions-button','ck-ai-quick-actions-group-button','view','_setupGroupMenuBehavior','actions','ck-dropdown-menu-list','mouseleave','2900756AfEIjr','_searchTextView','text','isOn','ck-ai-quick-actions-button_with-group__open-paren','ownerDocument','closest','7316012VEUlCv','hide','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','focusTracker','_hasSearch','ck-ai-quick-actions-search-result__group-row','3018757aIdeOV','_setupActionButtonExecution','_showNestedPanel','icon','div','focus','isVisible','chain','keystrokes','30nTKRdA','ck-dropdown-menu__nested-menu__panel','ck-button','reset','_handleSearchResultButtonClick','ck-ai-quick-actions-button__group-icon','ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-search-result-button_with-group','queryView','activeElement','isEnabled','ck-ai-quick-actions','bindTemplate','bind','some','editing','_isSearchFocused','ck-ai-quick-actions-button_with-group','_getPanelKeystroke','ArrowLeft','_createSearchResultActionButton','eastSouth','pin','children','_handlePanelKeydown','_createSearchTextView','first','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','span','push','setTemplate','optionsListView','set','render','addMany','focusCycler','ck-button_with-text','9652743rGMKRf','delete','extendTemplate','menu','locale','commands','contains','.ck-ai-quick-actions-group-list','detachFromDom'];_0x2db4=function(){return _0x457b21;};return _0x2db4();}import{IconAIQuickActions as _0x1d5a12}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x18053b,KeystrokeHandler as _0x535ebb}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0xcd6566}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x4e1d8b}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x2a26a7}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x412891}from'./aiquickactionsfilteredlistview.js';const Js=_0xfb39e3(0x1f0),Ws=_0xfb39e3(0x206);export class AIQuickActionsDropdownContentView extends _0x1d77bb{[_0xfb39e3(0x20f)];[_0xfb39e3(0x1e7)];[_0xfb39e3(0x1b2)]=null;[_0xfb39e3(0x227)]=[];[_0xfb39e3(0x1df)];[_0xfb39e3(0x1bb)];[_0xfb39e3(0x1c6)];[_0xfb39e3(0x218)];[_0xfb39e3(0x1eb)];[_0xfb39e3(0x21b)]=new Set();[_0xfb39e3(0x1bc)];constructor(_0xb26641,_0x5c92bd,_0x232785,_0x31df12,_0x442704=!0x1){const _0x511bcf=_0xfb39e3,_0x5beb73=_0xb26641[_0x511bcf(0x1f1)];super(_0x5beb73),this[_0x511bcf(0x20f)]=_0x31df12,this[_0x511bcf(0x1bc)]=_0x442704;const _0x15173d=this[_0x511bcf(0x1f8)](_0xb26641,_0x5c92bd,_0x232785);this[_0x511bcf(0x1e7)]=new _0x412891(_0x5beb73,_0x15173d,this[_0x511bcf(0x227)]),this[_0x511bcf(0x1e7)][_0x511bcf(0x221)]=Js,this[_0x511bcf(0x1e7)][_0x511bcf(0x212)][_0x511bcf(0x1ea)](_0x15173d),this[_0x511bcf(0x1bb)]=new _0x18053b(),this[_0x511bcf(0x1c6)]=new _0x535ebb(),_0x442704&&(this[_0x511bcf(0x1b2)]=this[_0x511bcf(0x1e1)]()),this[_0x511bcf(0x218)]=_0x15173d,this[_0x511bcf(0x1eb)]=new _0x5bb9b7({'focusables':this[_0x511bcf(0x218)],'focusTracker':this[_0x511bcf(0x1bb)],'keystrokeHandler':this[_0x511bcf(0x1c6)]}),_0x442704&&this[_0x511bcf(0x1b2)]&&this[_0x511bcf(0x1eb)][_0x511bcf(0x1c5)](this[_0x511bcf(0x1b2)][_0x511bcf(0x1eb)]);const _0x3ecd57=_0x442704&&this[_0x511bcf(0x1b2)]?[this[_0x511bcf(0x1b2)]]:[this[_0x511bcf(0x1e7)]];this[_0x511bcf(0x1df)]=new _0x36ee73(_0x3ecd57),this[_0x511bcf(0x1e6)]({'tag':_0x511bcf(0x1c2),'attributes':{'class':['ck',_0x511bcf(0x1f9),_0x511bcf(0x1d3),_0x511bcf(0x1fe)],'dir':_0x5beb73[_0x511bcf(0x228)]},'children':this[_0x511bcf(0x1df)]});}[_0xfb39e3(0x1e1)](){const _0x1f801c=_0xfb39e3;return new _0x365cf1(this[_0x1f801c(0x1f1)],{'filteredView':this[_0x1f801c(0x1e7)],'queryView':{'label':_0x2a26a7(this[_0x1f801c(0x1f1)],_0x1f801c(0x1ce))},'class':_0x1f801c(0x1fa),'infoView':{'text':{'notFound':{'primary':_0x2a26a7(this[_0x1f801c(0x1f1)],_0x1f801c(0x1e3))}}}});}[_0xfb39e3(0x1d8)](){const _0x5c4414=_0xfb39e3;if(!this[_0x5c4414(0x1bc)]||!this[_0x5c4414(0x1b2)]||!this[_0x5c4414(0x1b2)][_0x5c4414(0x1d0)][_0x5c4414(0x222)][_0x5c4414(0x226)])return!0x1;const _0x4da662=this[_0x5c4414(0x1b2)][_0x5c4414(0x1d0)][_0x5c4414(0x222)][_0x5c4414(0x226)][_0x5c4414(0x1b6)]?.[_0x5c4414(0x1d1)];return this[_0x5c4414(0x1b2)][_0x5c4414(0x1d0)][_0x5c4414(0x222)][_0x5c4414(0x226)][_0x5c4414(0x1f3)](_0x4da662);}[_0xfb39e3(0x1f8)](_0x358557,_0x2ba982,_0x1a5f07){const _0x1f284b=_0xfb39e3,_0x403572=new _0x36ee73();return _0x2ba982[_0x1f284b(0x1a7)](_0x566fcc=>{const _0x1dde7c=_0x1f284b;if(_0x1dde7c(0x1ae)in _0x566fcc){const {listItem:_0x10f062}=this[_0x1dde7c(0x20c)](_0x358557,_0x566fcc,_0x1a5f07);_0x403572[_0x1dde7c(0x214)](_0x10f062),_0x566fcc[_0x1dde7c(0x1ae)][_0x1dde7c(0x1a7)](_0x287def=>{const _0x2897bd=_0x1dde7c;this[_0x2897bd(0x210)](_0x358557,_0x287def,_0x566fcc[_0x2897bd(0x20a)],_0x566fcc[_0x2897bd(0x1c1)]);const {listItem:_0x2efd32,highlightViews:_0x19aa01}=this[_0x2897bd(0x1dc)](_0x358557,_0x287def,_0x566fcc[_0x2897bd(0x20a)],_0x566fcc[_0x2897bd(0x1c1)]);this[_0x2897bd(0x227)][_0x2897bd(0x1e5)]({'item':_0x2efd32,'label':_0x287def[_0x2897bd(0x20e)],'groupLabel':_0x566fcc[_0x2897bd(0x20a)],'highlightViews':_0x19aa01});});}else{const {listItem:_0x3271bc}=this[_0x1dde7c(0x210)](_0x358557,_0x566fcc);_0x403572[_0x1dde7c(0x214)](_0x3271bc);const _0x3f333a=_0x3271bc[_0x1dde7c(0x1df)][_0x1dde7c(0x1e2)];if(_0x3f333a){const {listItem:_0x19db11,highlightViews:_0x2eec02}=this[_0x1dde7c(0x1dc)](_0x358557,_0x566fcc);this[_0x1dde7c(0x227)][_0x1dde7c(0x1e5)]({'item':_0x19db11,'label':_0x3f333a[_0x1dde7c(0x20a)]||'','highlightViews':_0x2eec02});}}}),_0x403572;}[_0xfb39e3(0x210)](_0xf6ab01,_0x2f6d6e,_0x1bdfed,_0x2827a3){const _0x5c60fa=_0xfb39e3,_0x5edeed=new _0x18a937(this[_0x5c60fa(0x1f1)]);if(_0x1bdfed&&_0x2827a3){const _0x163e57=new _0xfda851(this[_0x5c60fa(0x1f1)]),_0x4ec2ab=_0x163e57[_0x5c60fa(0x1d4)],_0x577796=new _0x40b743();_0x577796[_0x5c60fa(0x1b3)]=_0x2f6d6e[_0x5c60fa(0x20e)];const _0x423926=new _0x40b743();_0x423926[_0x5c60fa(0x1b3)]=_0x1bdfed;const _0x225025=new _0x2d6dbe();_0x225025[_0x5c60fa(0x211)]=_0x2827a3,_0x225025[_0x5c60fa(0x1ef)]({'attributes':{'class':_0x5c60fa(0x1cc)}});const _0x4a603f=new _0x1d77bb(this[_0x5c60fa(0x1f1)]);_0x4a603f[_0x5c60fa(0x1e6)]({'tag':_0x5c60fa(0x1e4),'attributes':{'class':_0x5c60fa(0x1b5)},'children':[{'text':'\x20('}]});const _0x11469a=new _0x1d77bb(this[_0x5c60fa(0x1f1)]);return _0x11469a[_0x5c60fa(0x1e6)]({'tag':_0x5c60fa(0x1e4),'attributes':{'class':_0x5c60fa(0x21e)},'children':[{'text':')'}]}),_0x163e57[_0x5c60fa(0x1e8)]({'label':_0x2f6d6e[_0x5c60fa(0x20e)]+'\x20('+_0x1bdfed+')','withText':!0x0,'role':_0x5c60fa(0x206),'class':_0x5c60fa(0x213),'tooltip':!0x1}),_0x163e57[_0x5c60fa(0x1e6)]({'tag':_0x5c60fa(0x216),'attributes':{'class':['ck',_0x5c60fa(0x1c9),_0x5c60fa(0x1ec),_0x5c60fa(0x1aa),_0x5c60fa(0x1d9)],'type':_0x5c60fa(0x216),'role':_0x5c60fa(0x206),'tabindex':'-1'},'children':[_0x577796,_0x4a603f,_0x225025,_0x423926,_0x11469a],'on':{'mouseenter':_0x4ec2ab['to'](()=>{const _0x5920fd=_0x5c60fa;this[_0x5920fd(0x1d8)]()||_0x163e57[_0x5920fd(0x1c3)]();}),'click':_0x4ec2ab['to'](()=>{const _0x2de09c=_0x5c60fa;_0x163e57[_0x2de09c(0x1f7)](_0x2de09c(0x208));})}}),_0x163e57['on'](_0x5c60fa(0x208),()=>{const _0x1c114f=_0x5c60fa;_0xf6ab01[_0x1c114f(0x1d7)][_0x1c114f(0x1ac)][_0x1c114f(0x1c3)](),_0xf6ab01[_0x1c114f(0x1f2)][_0x1c114f(0x208)](_0x1c114f(0x1a9),_0x2f6d6e);}),_0x5edeed[_0x5c60fa(0x1df)][_0x5c60fa(0x214)](_0x163e57),{'listItem':_0x5edeed,'highlightViews':[_0x577796,_0x423926]};}{const _0x1cbc4d=new _0x5962fd(),_0x27d77a=new _0xfda851(this[_0x5c60fa(0x1f1)],_0x1cbc4d),_0x421a27=_0x27d77a[_0x5c60fa(0x1d4)],_0x23857a=_0x2f6d6e[_0x5c60fa(0x1c1)]??_0x2f6d6e[_0x5c60fa(0x200)]?.[_0x5c60fa(0x1c1)],_0x39ab46=void 0x0!==_0x2f6d6e[_0x5c60fa(0x1c1)];return _0x27d77a[_0x5c60fa(0x1e8)]({'label':_0x2f6d6e[_0x5c60fa(0x20e)],'withText':!0x0,'role':_0x5c60fa(0x206),'icon':_0x39ab46?_0x23857a??_0x1d5a12:void 0x0,'tooltip':!0x1,'class':_0x5c60fa(0x1aa)}),_0x27d77a[_0x5c60fa(0x1ef)]({'on':{'mouseenter':_0x421a27['to'](()=>{const _0x3b3537=_0x5c60fa;this[_0x3b3537(0x1d8)]()||_0x27d77a[_0x3b3537(0x1c3)]();})}}),_0x27d77a['on'](_0x5c60fa(0x208),()=>{const _0x3a6c0d=_0x5c60fa;_0xf6ab01[_0x3a6c0d(0x1d7)][_0x3a6c0d(0x1ac)][_0x3a6c0d(0x1c3)](),_0xf6ab01[_0x3a6c0d(0x1f2)][_0x3a6c0d(0x208)](_0x3a6c0d(0x1a9),_0x2f6d6e);}),_0x5edeed[_0x5c60fa(0x1df)][_0x5c60fa(0x214)](_0x27d77a),{'listItem':_0x5edeed,'highlightViews':[_0x1cbc4d]};}}[_0xfb39e3(0x1dc)](_0x3ed357,_0x18e0c7,_0x2a700e,_0x57cc64){const _0x3ffa5e=_0xfb39e3;return _0x2a700e&&_0x57cc64?this[_0x3ffa5e(0x1fc)](_0x3ed357,_0x18e0c7,_0x2a700e,_0x57cc64):this[_0x3ffa5e(0x205)](_0x3ed357,_0x18e0c7);}[_0xfb39e3(0x1fc)](_0x261a2b,_0x9cd66,_0x46d01d,_0x4f6a80){const _0x1ba98e=_0xfb39e3,_0xdd2409=new _0x18a937(this[_0x1ba98e(0x1f1)]),_0x558fe8=new _0xfda851(this[_0x1ba98e(0x1f1)]),_0x13e485=_0x558fe8[_0x1ba98e(0x1d4)],{view:_0x1b7de7,highlightView:_0xa767a0}=this[_0x1ba98e(0x202)](_0x46d01d,_0x4f6a80),{view:_0x20ca3a,highlightView:_0x4fdbb1}=this[_0x1ba98e(0x223)](_0x9cd66[_0x1ba98e(0x20e)]),_0x55c8ab=this[_0x1ba98e(0x21a)](_0x1b7de7,_0x20ca3a);return _0x558fe8[_0x1ba98e(0x1e8)]({'label':_0x9cd66[_0x1ba98e(0x20e)],'withText':!0x0,'role':_0x1ba98e(0x206),'class':_0x1ba98e(0x1a3),'tooltip':!0x1}),_0x558fe8[_0x1ba98e(0x1e6)]({'tag':_0x1ba98e(0x216),'attributes':{'class':['ck',_0x1ba98e(0x1c9),_0x1ba98e(0x1ec),_0x1ba98e(0x1aa),_0x1ba98e(0x1cd),_0x1ba98e(0x1cf)],'type':_0x1ba98e(0x216),'role':_0x1ba98e(0x206),'tabindex':'-1'},'children':[_0x55c8ab],'on':{'mouseenter':_0x13e485['to'](()=>{const _0x2e9dc7=_0x1ba98e;this[_0x2e9dc7(0x1d8)]()||_0x558fe8[_0x2e9dc7(0x1c3)]();}),'click':_0x13e485['to'](()=>{const _0x54d65a=_0x1ba98e;this[_0x54d65a(0x1cb)](_0x558fe8);})}}),this[_0x1ba98e(0x1bf)](_0x558fe8,_0x261a2b,_0x9cd66),_0xdd2409[_0x1ba98e(0x1df)][_0x1ba98e(0x214)](_0x558fe8),{'listItem':_0xdd2409,'highlightViews':[_0xa767a0,_0x4fdbb1]};}[_0xfb39e3(0x205)](_0x270a7b,_0x298529){const _0xcb2b8a=_0xfb39e3,_0x1b8927=new _0x18a937(this[_0xcb2b8a(0x1f1)]),_0x427bdf=new _0x5962fd(),_0x2c92e7=new _0xfda851(this[_0xcb2b8a(0x1f1)],_0x427bdf),_0x5c0b92=_0x2c92e7[_0xcb2b8a(0x1d4)];return _0x2c92e7[_0xcb2b8a(0x1e8)]({'label':_0x298529[_0xcb2b8a(0x20e)],'withText':!0x0,'role':_0xcb2b8a(0x206),'icon':void 0x0,'tooltip':!0x1,'class':_0xcb2b8a(0x1ba)}),_0x2c92e7[_0xcb2b8a(0x1ef)]({'on':{'mouseenter':_0x5c0b92['to'](()=>{const _0x9a212d=_0xcb2b8a;this[_0x9a212d(0x1d8)]()||_0x2c92e7[_0x9a212d(0x1c3)]();})}}),this[_0xcb2b8a(0x1bf)](_0x2c92e7,_0x270a7b,_0x298529),_0x1b8927[_0xcb2b8a(0x1df)][_0xcb2b8a(0x214)](_0x2c92e7),{'listItem':_0x1b8927,'highlightViews':[_0x427bdf]};}[_0xfb39e3(0x202)](_0x478eb8,_0x597e59){const _0x3d5b25=_0xfb39e3,_0x2ad021=new _0x1d77bb(this[_0x3d5b25(0x1f1)]),_0x4becc2=new _0x2d6dbe();_0x4becc2[_0x3d5b25(0x211)]=_0x597e59,_0x4becc2[_0x3d5b25(0x1ef)]({'attributes':{'class':_0x3d5b25(0x1cc)}});const _0x2f03e3=new _0x40b743();return _0x2f03e3[_0x3d5b25(0x1b3)]=_0x478eb8,_0x2ad021[_0x3d5b25(0x1e6)]({'tag':_0x3d5b25(0x1c2),'attributes':{'class':_0x3d5b25(0x1bd)},'children':[_0x4becc2,_0x2f03e3]}),{'view':_0x2ad021,'highlightView':_0x2f03e3};}[_0xfb39e3(0x223)](_0x2f6bfe){const _0x1e70a9=_0xfb39e3,_0x138997=new _0x1d77bb(this[_0x1e70a9(0x1f1)]),_0x47b939=new _0x40b743();return _0x47b939[_0x1e70a9(0x1b3)]=_0x2f6bfe,_0x138997[_0x1e70a9(0x1e6)]({'tag':_0x1e70a9(0x1c2),'attributes':{'class':_0x1e70a9(0x229)},'children':[_0x47b939]}),{'view':_0x138997,'highlightView':_0x47b939};}[_0xfb39e3(0x21a)](_0x298c0b,_0x5b9239){const _0x430905=_0xfb39e3,_0xf66208=new _0x1d77bb(this[_0x430905(0x1f1)]);return _0xf66208[_0x430905(0x1e6)]({'tag':_0x430905(0x1c2),'attributes':{'class':_0x430905(0x1ff)},'children':[_0x298c0b,_0x5b9239]}),_0xf66208;}[_0xfb39e3(0x1bf)](_0x23b221,_0x3e65fb,_0x496aba){const _0x4b98d4=_0xfb39e3;_0x23b221['on'](_0x4b98d4(0x208),()=>{const _0x20c1d0=_0x4b98d4;_0x3e65fb[_0x20c1d0(0x1d7)][_0x20c1d0(0x1ac)][_0x20c1d0(0x1c3)](),_0x3e65fb[_0x20c1d0(0x1f2)][_0x20c1d0(0x208)](_0x20c1d0(0x1a9),_0x496aba);});}[_0xfb39e3(0x20c)](_0x6deebd,_0x7423eb,_0x5993f4){const _0x12627a=_0xfb39e3,_0x313d8c=new _0x18a937(this[_0x12627a(0x1f1)]),_0x4510c3=new _0x5962fd(),_0x3570a5=new _0x4e1d8b(this[_0x12627a(0x1f1)],_0x4510c3),_0xec147f=_0x3570a5[_0x12627a(0x1d4)],_0x171101=this[_0x12627a(0x1da)](_0x5993f4),_0x9ba340=this[_0x12627a(0x21c)](_0x6deebd,_0x7423eb[_0x12627a(0x1ae)],_0x5993f4);_0x3570a5[_0x12627a(0x1e8)]({'label':_0x7423eb[_0x12627a(0x20a)],'withText':!0x0,'role':Ws,'icon':_0x7423eb[_0x12627a(0x1c1)]??_0x1d5a12,'isEnabled':_0x7423eb[_0x12627a(0x1ae)][_0x12627a(0x1d6)](_0x1c069c=>_0x1c069c[_0x12627a(0x1d2)])}),_0x3570a5[_0x12627a(0x1ef)]({'on':{'mouseenter':_0xec147f['to'](()=>{const _0x49c50f=_0x12627a;this[_0x49c50f(0x1d8)]()||_0x3570a5[_0x49c50f(0x1c3)]();})}});const _0x4e1cb8=new _0x473e74(this[_0x12627a(0x1f1)]);return _0x4e1cb8[_0x12627a(0x1ef)]({'attributes':{'class':['ck',_0x12627a(0x1f9),_0x12627a(0x1a8),_0x12627a(0x1c8)]},'on':{'keydown':_0xec147f['to'](_0x5b14a0=>{const _0xc4f0d2=_0x12627a;this[_0xc4f0d2(0x1e0)](_0x5b14a0,_0x171101,_0x3570a5,_0x4e1cb8);})}}),_0x3570a5[_0x12627a(0x1d5)](_0x12627a(0x1b4))['to'](_0x4e1cb8,_0x12627a(0x1c4)),this[_0x12627a(0x20f)][_0x12627a(0x214)](_0x4e1cb8),_0x4e1cb8[_0x12627a(0x211)][_0x12627a(0x214)](_0x9ba340),this[_0x12627a(0x1ad)](_0x3570a5,_0x4e1cb8),_0x313d8c[_0x12627a(0x1df)][_0x12627a(0x214)](_0x3570a5),{'listItem':_0x313d8c,'highlightView':_0x4510c3};}[_0xfb39e3(0x21c)](_0x580449,_0x22a1cb,_0x1fc2e9){const _0x26d23d=_0xfb39e3,_0x1b3bec=new _0x474969(this[_0x26d23d(0x1f1)]);return _0x1b3bec[_0x26d23d(0x1ef)]({'attributes':{'class':['ck',_0x26d23d(0x1f9),_0x26d23d(0x219),_0x26d23d(0x1af)]}}),_0x22a1cb[_0x26d23d(0x1a7)](_0x3dd5ce=>{const _0x5543c6=_0x26d23d,_0x37c130=new _0x18a937(this[_0x5543c6(0x1f1)]),_0x4be59e=_0xcd6566({'editor':_0x580449,'action':_0x3dd5ce,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x5543c6(0x1d8)]()})();_0x37c130[_0x5543c6(0x1df)][_0x5543c6(0x214)](_0x4be59e),_0x1fc2e9[_0x5543c6(0x1bb)][_0x5543c6(0x214)](_0x4be59e),_0x1b3bec[_0x5543c6(0x212)][_0x5543c6(0x214)](_0x37c130);}),_0x1b3bec;}[_0xfb39e3(0x1ad)](_0x4cc442,_0x43af5b){const _0x252bc7=_0xfb39e3,_0x412a4b=_0x4cc442[_0x252bc7(0x1d4)],_0x4af08c=this[_0x252bc7(0x1a5)](_0x4cc442);_0x4cc442[_0x252bc7(0x1ef)]({'attributes':{'class':[_0x252bc7(0x1ab)]},'on':{'mouseenter':_0x412a4b['to'](()=>{const _0x776ba1=_0x252bc7;this[_0x776ba1(0x1c0)](_0x43af5b,_0x4cc442);}),'mouseleave':_0x412a4b['to'](_0x15f54d=>{const _0x5e5575=_0x252bc7,_0x550cb1=_0x15f54d[_0x5e5575(0x1a6)];this[_0x5e5575(0x217)](_0x550cb1,_0x43af5b)||this[_0x5e5575(0x201)](_0x43af5b);}),'keydown':_0x412a4b['to'](_0x288193=>{const _0x561c06=_0x252bc7;_0x288193[_0x561c06(0x22b)]==_0x4af08c&&(this[_0x561c06(0x1c0)](_0x43af5b,_0x4cc442),_0x43af5b[_0x561c06(0x211)][_0x561c06(0x1f6)](0x0)[_0x561c06(0x1c3)]());})}}),_0x43af5b['on'](_0x252bc7(0x1e9),()=>{const _0x56f597=_0x252bc7;_0x43af5b[_0x56f597(0x226)]?.[_0x56f597(0x21d)](_0x56f597(0x1b0),_0x27801a=>{const _0x58f052=_0x56f597,_0x3ae38a=_0x27801a[_0x58f052(0x1a6)];_0x4cc442[_0x58f052(0x226)]?.[_0x58f052(0x1f3)](_0x3ae38a)||this[_0x58f052(0x217)](_0x3ae38a,_0x43af5b)||this[_0x58f052(0x201)](_0x43af5b);});});}[_0xfb39e3(0x1c0)](_0x33c5ed,_0x378050){const _0xd470dd=_0xfb39e3;this[_0xd470dd(0x21b)][_0xd470dd(0x1a7)](_0x3e0e85=>{const _0xdb6da8=_0xd470dd;_0x3e0e85!==_0x33c5ed&&_0x3e0e85[_0xdb6da8(0x1c4)]&&_0x3e0e85[_0xdb6da8(0x1b9)]();}),_0x33c5ed[_0xd470dd(0x215)](),_0x33c5ed[_0xd470dd(0x1de)]({'positions':[_0x56ff9a[_0xd470dd(0x1dd)]],'target':_0x378050[_0xd470dd(0x226)],'fitInViewport':!0x0}),this[_0xd470dd(0x21b)][_0xd470dd(0x214)](_0x33c5ed);}[_0xfb39e3(0x201)](_0x12789d){const _0x10fbec=_0xfb39e3;_0x12789d[_0x10fbec(0x1b9)](),this[_0x10fbec(0x21b)][_0x10fbec(0x1ee)](_0x12789d);}[_0xfb39e3(0x20b)](){const _0x3ec11a=_0xfb39e3;this[_0x3ec11a(0x21b)][_0x3ec11a(0x1a7)](_0x4c1aaf=>_0x4c1aaf[_0x3ec11a(0x1b9)]()),this[_0x3ec11a(0x21b)][_0x3ec11a(0x209)]();}[_0xfb39e3(0x217)](_0x1ebf22,_0x4a4e06){const _0x5aa6f4=_0xfb39e3;if(!_0x1ebf22)return!0x1;if(_0x4a4e06[_0x5aa6f4(0x226)]?.[_0x5aa6f4(0x1f3)](_0x1ebf22))return!0x0;const _0x4e8085=_0x1ebf22;return _0x4e8085[_0x5aa6f4(0x1b7)]&&(null!==_0x4e8085[_0x5aa6f4(0x1b7)](_0x5aa6f4(0x1fb))||null!==_0x4e8085[_0x5aa6f4(0x1b7)](_0x5aa6f4(0x1f4))||null!==_0x4e8085[_0x5aa6f4(0x1b7)](_0x5aa6f4(0x204)));}[_0xfb39e3(0x21f)](){const _0xe0c8b=_0xfb39e3;this[_0xe0c8b(0x1b2)]&&this[_0xe0c8b(0x1b2)][_0xe0c8b(0x1ca)]();}[_0xfb39e3(0x203)](){const _0x995e64=_0xfb39e3;this[_0x995e64(0x20b)](),this[_0x995e64(0x20f)][_0x995e64(0x1f5)](),super[_0x995e64(0x203)]();}[_0xfb39e3(0x1c3)](){const _0x3d97b6=_0xfb39e3;this[_0x3d97b6(0x1b2)]?this[_0x3d97b6(0x1b2)][_0x3d97b6(0x1c3)]():this[_0x3d97b6(0x1e7)][_0x3d97b6(0x1c3)]();}[_0xfb39e3(0x1da)](_0x308367){const _0xa185d9=_0xfb39e3;return _0xa185d9(0x224)===_0x308367[_0xa185d9(0x1f1)][_0xa185d9(0x228)]?_0xa185d9(0x207):_0xa185d9(0x1db);}[_0xfb39e3(0x1a5)](_0x5aaafe){const _0x454f59=_0xfb39e3;return _0x454f59(0x224)===_0x5aaafe[_0x454f59(0x1f1)][_0x454f59(0x228)]?_0x454f59(0x1db):_0x454f59(0x207);}[_0xfb39e3(0x1e0)](_0x1c4bc7,_0x272bca,_0x5eb193,_0x319e64){const _0x491395=_0xfb39e3;_0x1c4bc7[_0x491395(0x22b)]==_0x272bca&&(_0x5eb193[_0x491395(0x1c3)](),this[_0x491395(0x201)](_0x319e64));}[_0xfb39e3(0x1cb)](_0x100790){const _0x375352=_0xfb39e3;_0x100790[_0x375352(0x1f7)](_0x375352(0x208));}}
|
|
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));}}
|