@ckeditor/ckeditor5-ai 47.3.0-alpha.6 → 47.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35eafd=_0x4a04;(function(_0x2ef118,_0x12713a){const _0x53bd25=_0x4a04,_0x598a1d=_0x2ef118();while(!![]){try{const _0x5caa83=-parseInt(_0x53bd25(0x81))/0x1*(parseInt(_0x53bd25(0xa6))/0x2)+parseInt(_0x53bd25(0x94))/0x3+parseInt(_0x53bd25(0xa7))/0x4+-parseInt(_0x53bd25(0x8c))/0x5*(-parseInt(_0x53bd25(0x9b))/0x6)+-parseInt(_0x53bd25(0xb1))/0x7+parseInt(_0x53bd25(0xb8))/0x8+-parseInt(_0x53bd25(0x80))/0x9;if(_0x5caa83===_0x12713a)break;else _0x598a1d['push'](_0x598a1d['shift']());}catch(_0x303f25){_0x598a1d['push'](_0x598a1d['shift']());}}}(_0x165d,0x75915));import _0x33cccb from'morphdom';import{NodeWithChildren as _0x2b1aae,Text as _0x29994f,Element as _0x29b305,isText as _0x3097ad,isDocument as _0x365d06,isTag as _0x5d29d2,cloneNode as _0x20eedc,getChildren as _0x1c5e71,prepend as _0x2d03c2,removeElement as _0x5736b9,textContent as _0x7f31e,render as _0x1314dd}from'./htmlparser.js';import{logWarning as _0x4689d7}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x35eafd(0xb0)];[_0x35eafd(0xa2)]=!0x1;[_0x35eafd(0xb4)]=null;[_0x35eafd(0x95)]=[];[_0x35eafd(0xb2)]=0x0;[_0x35eafd(0x96)]=null;constructor(_0x3865fe){const _0x4d358f=_0x35eafd;this[_0x4d358f(0xb0)]={'delay':_0x3865fe[_0x4d358f(0x9f)]??0x14,'textNodeStyle':_0x3865fe[_0x4d358f(0x92)],'onStreamUpdate':_0x3865fe[_0x4d358f(0x89)]||(()=>{})};}async[_0x35eafd(0xaa)]({document:_0x27548d,targetElement:_0x4cd2d5,abortSignal:_0x93bc47}){const _0x5c1c74=_0x35eafd;this[_0x5c1c74(0xa2)]&&this[_0x5c1c74(0x99)](),_0x93bc47?.[_0x5c1c74(0xb9)](_0x5c1c74(0xad),this[_0x5c1c74(0x99)][_0x5c1c74(0xa0)](this)),this[_0x5c1c74(0xb4)]=_0x20eedc(_0x27548d,!0x0),this[_0x5c1c74(0x95)]=this[_0x5c1c74(0x8b)](),this[_0x5c1c74(0xa2)]=!0x0,this[_0x5c1c74(0xb2)]>this[_0x5c1c74(0x95)][_0x5c1c74(0x83)]&&(_0x4689d7(_0x5c1c74(0x9d),{'currentIndex':this[_0x5c1c74(0xb2)],'nodeList':this[_0x5c1c74(0x95)]}),this[_0x5c1c74(0xb2)]=this[_0x5c1c74(0x95)][_0x5c1c74(0x83)]);for(let _0x401df2=0x0;_0x401df2<this[_0x5c1c74(0xb2)];_0x401df2++)this[_0x5c1c74(0x95)][_0x401df2][_0x5c1c74(0xa9)]=!0x0;let _0xac39d6=0x0;for(let _0x17d591=this[_0x5c1c74(0xb2)];_0x17d591<this[_0x5c1c74(0x95)][_0x5c1c74(0x83)];_0x17d591++){const _0x222449=Date[_0x5c1c74(0x88)](),_0x1271cd=this[_0x5c1c74(0x95)][_0x17d591],_0xc0cd0f=_0x222449-_0xac39d6;_0x1271cd[_0x5c1c74(0xa9)]=!0x0;let _0x25dddf=_0x1271cd[_0x5c1c74(0x8d)];for(;_0x25dddf;)_0x25dddf[_0x5c1c74(0xa9)]=!0x0,_0x25dddf=_0x25dddf[_0x5c1c74(0x8d)];if(_0xc0cd0f<this[_0x5c1c74(0xb0)][_0x5c1c74(0x9f)])try{const {promise:_0x3bcee2,abortController:_0x3b2c62}=pr(this[_0x5c1c74(0xb0)][_0x5c1c74(0x9f)]-_0xc0cd0f);this[_0x5c1c74(0x96)]=_0x3b2c62,await _0x3bcee2;}catch(_0xf1a223){return;}_0x33cccb(_0x4cd2d5,'<'+_0x4cd2d5[_0x5c1c74(0xb7)]+'>'+this[_0x5c1c74(0x85)](this[_0x5c1c74(0xb4)])+'</'+_0x4cd2d5[_0x5c1c74(0xb7)]+'>',{'childrenOnly':!0x0}),this[_0x5c1c74(0xb0)][_0x5c1c74(0x89)]&&this[_0x5c1c74(0xb0)][_0x5c1c74(0x89)](),this[_0x5c1c74(0xb2)]=_0x17d591,_0xac39d6=Date[_0x5c1c74(0x88)]();}this[_0x5c1c74(0xa2)]=!0x1;}[_0x35eafd(0x9e)]({targetElement:_0x5a3a6d}){const _0x863c47=_0x35eafd;Array[_0x863c47(0x97)](_0x5a3a6d[_0x863c47(0xa5)](_0x863c47(0x98)))[_0x863c47(0x9c)]()[_0x863c47(0x9a)](_0x54729a=>{const _0x452d90=_0x863c47;_0x54729a[_0x452d90(0xa4)](_0x54729a[_0x452d90(0xab)][0x0]);});}[_0x35eafd(0x99)](){const _0x699664=_0x35eafd;this[_0x699664(0xa2)]=!0x1,this[_0x699664(0x96)]&&(this[_0x699664(0x96)][_0x699664(0xad)](),this[_0x699664(0x96)]=null);}[_0x35eafd(0x85)](_0x30b337){const _0x90c59=_0x35eafd;let _0x41c724='';if(function(_0x407b36){return _0x365d06(_0x407b36);}(_0x30b337)){for(const _0x5a6375 of _0x30b337[_0x90c59(0x82)])_0x41c724+=this[_0x90c59(0x85)](_0x5a6375);}else{if(dr(_0x30b337)){if(!_0x30b337[_0x90c59(0xa9)])return'';const _0x3d8f1d=_0x30b337,_0x23ac34=Object[_0x90c59(0xa8)](_0x3d8f1d[_0x90c59(0xb3)])[_0x90c59(0x8e)](([_0x3e8c96,_0x52503])=>_0x3e8c96+'=\x22'+_0x52503+'\x22')[_0x90c59(0xa1)]('\x20');_0x41c724+='<'+_0x3d8f1d[_0x90c59(0xb7)]+(_0x23ac34?'\x20'+_0x23ac34:'')+'>';for(const _0x3a6f67 of _0x1c5e71(_0x3d8f1d))_0x41c724+=this[_0x90c59(0x85)](_0x3a6f67);_0x41c724+='</'+_0x3d8f1d[_0x90c59(0xb7)]+'>';}else{if(!ar(_0x30b337))return'';if(!_0x30b337[_0x90c59(0xa9)])return'';!function(_0x558583){const _0x28cd30=_0x90c59;if(!_0x558583[_0x28cd30(0x8d)]||!dr(_0x558583[_0x28cd30(0x8d)]))return!0x1;if(!cr[_0x28cd30(0x86)](_0x558583[_0x28cd30(0x8d)][_0x28cd30(0xb7)]))return!0x1;return!_0x7f31e(_0x558583)[_0x28cd30(0x7e)](/^\s*[<>]\s*$/);}(_0x30b337)?_0x41c724+=_0x1314dd(_0x30b337):_0x41c724+=_0x1314dd(new _0x29b305(_0x90c59(0x93),{'data-ck-html-streamer-word-chunk':'','style':this[_0x90c59(0xb0)][_0x90c59(0x92)]},[_0x30b337]));}}return _0x41c724;}[_0x35eafd(0x8b)](){const _0x590f87=_0x35eafd,_0x5787f9=[];return function(_0x32b967,_0x5110d3){const _0x3bfc0d=_0x4a04,_0x59c1a7=_0x4a046f=>{const _0x3246b7=_0x4a04;if(_0x5110d3(_0x4a046f),_0x4a046f instanceof _0x2b1aae)for(let _0x3e4c6c=0x0;_0x3e4c6c<_0x4a046f[_0x3246b7(0x82)][_0x3246b7(0x83)];_0x3e4c6c++){const _0x36f872=_0x4a046f[_0x3246b7(0x82)][_0x3e4c6c];_0x59c1a7(_0x36f872);}};for(let _0x7eb30e=0x0;_0x7eb30e<_0x32b967[_0x3bfc0d(0x82)][_0x3bfc0d(0x83)];_0x7eb30e++)_0x59c1a7(_0x32b967[_0x3bfc0d(0x82)][_0x7eb30e]);}(this[_0x590f87(0xb4)],_0x31dfcb=>{const _0x442042=_0x590f87;if(ar(_0x31dfcb)){const _0x51de93=this[_0x442042(0x8f)](_0x31dfcb);_0x51de93[_0x442042(0x83)]&&_0x5787f9[_0x442042(0xaf)](..._0x51de93);}_0x31dfcb[_0x442042(0xb5)]||_0x31dfcb[_0x442042(0xb6)]||_0x5787f9[_0x442042(0xaf)](_0x31dfcb);}),_0x5787f9;}[_0x35eafd(0x8f)](_0x58bd64){const _0x5deab0=_0x35eafd;if(_0x58bd64[_0x5deab0(0xb5)]||_0x58bd64[_0x5deab0(0xb6)])return[];const _0x55ec3c=_0x7f31e(_0x58bd64)[_0x5deab0(0x7e)](/(?:\s*\S+\s*)/g),_0x1bfae4=[];if(_0x55ec3c&&_0x55ec3c[_0x5deab0(0x83)]>0x1){for(const _0x13cccb of _0x55ec3c){const _0x5c30d9=new _0x29994f(_0x13cccb);_0x5c30d9[_0x5deab0(0xb6)]=!0x0,_0x2d03c2(_0x58bd64,_0x5c30d9),_0x1bfae4[_0x5deab0(0xaf)](_0x5c30d9);}_0x58bd64[_0x5deab0(0xb5)]=!0x0,_0x5736b9(_0x58bd64);}return _0x1bfae4;}}const cr=['p','li','td','th',_0x35eafd(0x93),'h1','h2','h3','h4','h5','h6','b',_0x35eafd(0x8a),'i','em',_0x35eafd(0x7f),_0x35eafd(0x90),_0x35eafd(0x91),_0x35eafd(0x84),_0x35eafd(0xa3),'a',_0x35eafd(0xac),_0x35eafd(0x87)];function _0x165d(){const _0x3c5276=['attribs','document','isWordSplitSource','isWordSplitResult','tagName','7532344ScJbDN','addEventListener','match','mark','12505743sLFvnf','213ToOYNg','children','length','sup','renderNode','includes','div','now','onStreamUpdate','strong','getParsedDocumentNodeList','2099815gPCtgO','parent','map','splitTextNodeIntoWordNodes','del','ins','textNodeStyle','span','2080629zQzoJA','nodesList','timeoutAbortController','from','span[data-ck-html-streamer-word-chunk]','stop','forEach','6BGbtRE','reverse','ai-html-streamer-current-index-out-of-bounds','cleanUpAnimations','delay','bind','join','isStreaming','sub','replaceWith','querySelectorAll','1642BAxqCv','685704xtbmWk','entries','shouldBeStreamed','stream','childNodes','code','abort','signal','push','options','1263626OHKBio','currentIndex'];_0x165d=function(){return _0x3c5276;};return _0x165d();}function ar(_0x1fd527){return _0x3097ad(_0x1fd527);}function _0x4a04(_0x42dc20,_0x1fa6b1){const _0x165d14=_0x165d();return _0x4a04=function(_0x4a045d,_0x2f46c6){_0x4a045d=_0x4a045d-0x7e;let _0x2a0c5e=_0x165d14[_0x4a045d];return _0x2a0c5e;},_0x4a04(_0x42dc20,_0x1fa6b1);}function dr(_0x366d2e){return _0x5d29d2(_0x366d2e);}function pr(_0x1ac950){const _0x399231=new AbortController();return{'promise':new Promise((_0xcff079,_0x4e35fe)=>{const _0x8f5ed7=_0x4a04,_0x44015b=setTimeout(_0xcff079,_0x1ac950);_0x399231[_0x8f5ed7(0xae)][_0x8f5ed7(0xb9)](_0x8f5ed7(0xad),()=>{clearTimeout(_0x44015b),_0x4e35fe();});}),'abortController':_0x399231};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xc845(){const _0x77bc0f=['type','Home','2644270hcYWhj','signal','stop','touchstart','bind','scrollTo','auto','45BjvEIP','key','addEventListener','animationFrameId','61229UCmTxE','_rafUpdate','8156XlNnCZ','PageDown','isRunning','106190KNLSfp','_onUserEvent','keydown','deltaY','ArrowUp','21uCtuwg','End','2694320xocluF','1942228mLiUxm','element','3126414sHcbgj','ArrowDown','PageUp','360KGObQg','start','isUserPaused','destroy','pointerdown','_stop','_isAtBottom','includes','wheel','abortController','scrollHeight','abort'];_0xc845=function(){return _0x77bc0f;};return _0xc845();}function _0x51c9(_0x3e259c,_0x179967){const _0xc8455e=_0xc845();return _0x51c9=function(_0x51c910,_0x430e18){_0x51c910=_0x51c910-0x1cd;let _0x445af4=_0xc8455e[_0x51c910];return _0x445af4;},_0x51c9(_0x3e259c,_0x179967);}const _0x3f35b6=_0x51c9;(function(_0x32b4d2,_0x2625c9){const _0x5bab94=_0x51c9,_0x50f2e5=_0x32b4d2();while(!![]){try{const _0x3f0ef1=-parseInt(_0x5bab94(0x1e6))/0x1+-parseInt(_0x5bab94(0x1e3))/0x2*(-parseInt(_0x5bab94(0x1eb))/0x3)+-parseInt(_0x5bab94(0x1ee))/0x4+parseInt(_0x5bab94(0x1ed))/0x5+-parseInt(_0x5bab94(0x1f0))/0x6+-parseInt(_0x5bab94(0x1e1))/0x7*(parseInt(_0x5bab94(0x1f3))/0x8)+-parseInt(_0x5bab94(0x1dd))/0x9*(-parseInt(_0x5bab94(0x1d6))/0xa);if(_0x3f0ef1===_0x2625c9)break;else _0x50f2e5['push'](_0x50f2e5['shift']());}catch(_0x103b1c){_0x50f2e5['push'](_0x50f2e5['shift']());}}}(_0xc845,0x5d88a));const ws=[_0x3f35b6(0x1d0),_0x3f35b6(0x1d9),_0x3f35b6(0x1f7),_0x3f35b6(0x1e8)],Fs=[_0x3f35b6(0x1ea),_0x3f35b6(0x1f1),_0x3f35b6(0x1f2),_0x3f35b6(0x1e4),_0x3f35b6(0x1d5),_0x3f35b6(0x1ec),'\x20'];export class ScrollManager{[_0x3f35b6(0x1ef)];[_0x3f35b6(0x1e0)];[_0x3f35b6(0x1e5)];[_0x3f35b6(0x1d1)];[_0x3f35b6(0x1f5)];constructor(_0x114651){const _0x2e95e8=_0x3f35b6;this[_0x2e95e8(0x1ef)]=_0x114651,this[_0x2e95e8(0x1e0)]=null,this[_0x2e95e8(0x1e5)]=!0x1,this[_0x2e95e8(0x1d1)]=new AbortController(),this[_0x2e95e8(0x1f5)]=!0x1;for(const _0x1d924f of ws){const _0x526170=_0x2e95e8(0x1e8)!==_0x1d924f;this[_0x2e95e8(0x1ef)][_0x2e95e8(0x1df)](_0x1d924f,this[_0x2e95e8(0x1e7)][_0x2e95e8(0x1da)](this),{'passive':_0x526170,'signal':this[_0x2e95e8(0x1d1)][_0x2e95e8(0x1d7)]});}}[_0x3f35b6(0x1f4)](){const _0x297062=_0x3f35b6;this[_0x297062(0x1e5)]||(this[_0x297062(0x1e5)]=!0x0,this[_0x297062(0x1f5)]=!0x1,this[_0x297062(0x1e0)]=requestAnimationFrame(this[_0x297062(0x1e2)][_0x297062(0x1da)](this)));}[_0x3f35b6(0x1d8)](){requestAnimationFrame(()=>{const _0x298a21=_0x51c9;this[_0x298a21(0x1cd)]();});}[_0x3f35b6(0x1f6)](){const _0x19de68=_0x3f35b6;this[_0x19de68(0x1cd)](),this[_0x19de68(0x1d1)][_0x19de68(0x1d3)]();}[_0x3f35b6(0x1cd)](){const _0x1495c1=_0x3f35b6;null!==this[_0x1495c1(0x1e0)]&&(cancelAnimationFrame(this[_0x1495c1(0x1e0)]),this[_0x1495c1(0x1e0)]=null),this[_0x1495c1(0x1e5)]&&(this[_0x1495c1(0x1e5)]=!0x1),this[_0x1495c1(0x1f5)]=!0x1;}[_0x3f35b6(0x1e7)](_0x3f3399){const _0x3358cd=_0x3f35b6;if(this[_0x3358cd(0x1e5)]){if(_0x3358cd(0x1e8)===_0x3f3399[_0x3358cd(0x1d4)]){const _0x527024=_0x3f3399[_0x3358cd(0x1de)];if(!Fs[_0x3358cd(0x1cf)](_0x527024))return;}_0x3f3399 instanceof WheelEvent?_0x3f3399[_0x3358cd(0x1e9)]<0x0?this[_0x3358cd(0x1f5)]=!0x0:this[_0x3358cd(0x1f5)]=!this[_0x3358cd(0x1ce)]():this[_0x3358cd(0x1f5)]=!0x0;}}[_0x3f35b6(0x1ce)](){const _0x1ff4c2=_0x3f35b6,{scrollTop:_0x50beb6,scrollHeight:_0x25946a,clientHeight:_0x240c01}=this[_0x1ff4c2(0x1ef)];return _0x25946a-_0x50beb6-_0x240c01<=0x5;}[_0x3f35b6(0x1e2)](){const _0x66e2a9=_0x3f35b6;this[_0x66e2a9(0x1e5)]&&(this[_0x66e2a9(0x1f5)]||this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1db)]({'top':this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1d2)],'behavior':_0x66e2a9(0x1dc)}),this[_0x66e2a9(0x1e0)]=requestAnimationFrame(this[_0x66e2a9(0x1e2)][_0x66e2a9(0x1da)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x241b(){var _0x494e83=['112ahpoQG','1042317WRnojP','2Zlervs','8014788RPpZJZ','4xOxOuS','113561kNPLjg','isPremiumPlugin','105YpHWYH','171128ChftJn','pluginName','10iCpNbf','AIEditorIntegration','isOfficialPlugin','888063FsdalL','requires','73296HwisTC','177702MphuCG'];_0x241b=function(){return _0x494e83;};return _0x241b();}function _0x2141(_0x53ca59,_0x2fd0a9){var _0x241bce=_0x241b();return _0x2141=function(_0x2141ec,_0x4718bc){_0x2141ec=_0x2141ec-0x148;var _0x3200f1=_0x241bce[_0x2141ec];return _0x3200f1;},_0x2141(_0x53ca59,_0x2fd0a9);}var _0x3409ed=_0x2141;(function(_0x333ff3,_0x17ae17){var _0x30e452=_0x2141,_0x15d072=_0x333ff3();while(!![]){try{var _0x3d1836=-parseInt(_0x30e452(0x14d))/0x1*(parseInt(_0x30e452(0x14a))/0x2)+-parseInt(_0x30e452(0x158))/0x3*(parseInt(_0x30e452(0x14c))/0x4)+-parseInt(_0x30e452(0x14f))/0x5*(-parseInt(_0x30e452(0x157))/0x6)+-parseInt(_0x30e452(0x148))/0x7*(parseInt(_0x30e452(0x150))/0x8)+parseInt(_0x30e452(0x149))/0x9*(-parseInt(_0x30e452(0x152))/0xa)+-parseInt(_0x30e452(0x155))/0xb+parseInt(_0x30e452(0x14b))/0xc;if(_0x3d1836===_0x17ae17)break;else _0x15d072['push'](_0x15d072['shift']());}catch(_0x1cd5bf){_0x15d072['push'](_0x15d072['shift']());}}}(_0x241b,0x33f66));import{Plugin as _0x11660b}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x45697c}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x4b8de4}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x11660b{static get[_0x3409ed(0x156)](){return[_0x45697c,_0x4b8de4];}static get[_0x3409ed(0x151)](){var _0x437e6e=_0x3409ed;return _0x437e6e(0x153);}static get[_0x3409ed(0x154)](){return!0x0;}static get[_0x3409ed(0x14e)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x370358=_0x47db;function _0x47db(_0x14e40b,_0x2ed049){const _0x46251b=_0x4625();return _0x47db=function(_0x47dba9,_0x4ad445){_0x47dba9=_0x47dba9-0x74;let _0x21b8ce=_0x46251b[_0x47dba9];return _0x21b8ce;},_0x47db(_0x14e40b,_0x2ed049);}(function(_0x525e00,_0x5bf53d){const _0x136a24=_0x47db,_0x1a471a=_0x525e00();while(!![]){try{const _0x20a41f=parseInt(_0x136a24(0x7e))/0x1+-parseInt(_0x136a24(0x90))/0x2+-parseInt(_0x136a24(0x7b))/0x3*(-parseInt(_0x136a24(0x91))/0x4)+parseInt(_0x136a24(0x89))/0x5*(-parseInt(_0x136a24(0x94))/0x6)+-parseInt(_0x136a24(0x77))/0x7*(parseInt(_0x136a24(0x96))/0x8)+parseInt(_0x136a24(0x74))/0x9*(-parseInt(_0x136a24(0x83))/0xa)+-parseInt(_0x136a24(0x7c))/0xb*(-parseInt(_0x136a24(0x92))/0xc);if(_0x20a41f===_0x5bf53d)break;else _0x1a471a['push'](_0x1a471a['shift']());}catch(_0x19cae7){_0x1a471a['push'](_0x1a471a['shift']());}}}(_0x4625,0x4e67f));import{Plugin as _0x2d0a07}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x403256}from'./toggleaicommand.js';import{ButtonView as _0x2e207c,MenuBarMenuListItemButtonView as _0x1dac5a}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x5916f5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1ec051}from'../../aicore/utils/common-translations.js';import{AITabs as _0x3f4906}from'../../aitabs/aitabs.js';function _0x4625(){const _0x2ccc36=['commands','menuitemcheckbox','615120ClPPma','193868iMyJdp','12WVjIgB','AIToggleButtonUI','6lMzBPW','pluginName','2531216wVUJNb','_createAIUIButton','get','462339ELoRex','add','isPremiumPlugin','14gUyDHx','bind','isEnabled','listenTo','33hiQiOm','16507711KbFZHO','value','84689RJkKNu','editor','isOn','set','AI_TOGGLE_BUTTON_LABEL','70wllGnp','requires','init','toggleAi','execute','menuBar:toggleAi','2487075lQoXan','ck-ai-toggle-button','locale','isOfficialPlugin','componentFactory'];_0x4625=function(){return _0x2ccc36;};return _0x4625();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2d0a07{static get[_0x370358(0x84)](){return[_0x3f4906];}static get[_0x370358(0x95)](){const _0x29d2d9=_0x370358;return _0x29d2d9(0x93);}static get[_0x370358(0x8c)](){return!0x0;}static get[_0x370358(0x76)](){return!0x0;}[_0x370358(0x85)](){const _0x131168=_0x370358,_0x26bfeb=this[_0x131168(0x7f)];_0x26bfeb[_0x131168(0x8e)][_0x131168(0x75)](_0x131168(0x86),new _0x403256(_0x26bfeb)),_0x26bfeb['ui'][_0x131168(0x8d)][_0x131168(0x75)](_0x131168(0x86),()=>{const _0x3d5359=_0x131168,_0x42c19c=this[_0x3d5359(0x97)](_0x2e207c);return _0x42c19c[_0x3d5359(0x81)]({'tooltip':!0x0,'class':_0x3d5359(0x8a)}),_0x42c19c;}),_0x26bfeb['ui'][_0x131168(0x8d)][_0x131168(0x75)](_0x131168(0x88),()=>{const _0x59ce1f=_0x131168,_0x315e30=this[_0x59ce1f(0x97)](_0x1dac5a);return _0x315e30[_0x59ce1f(0x81)]({'role':_0x59ce1f(0x8f)}),_0x315e30;});}[_0x370358(0x97)](_0x1d3aa2){const _0x55bb1c=_0x370358,_0x40edb5=this[_0x55bb1c(0x7f)],_0xe2e02b=_0x40edb5[_0x55bb1c(0x8e)][_0x55bb1c(0x98)](_0x55bb1c(0x86)),_0x2f4f28=new _0x1d3aa2(_0x40edb5[_0x55bb1c(0x8b)]);return _0x2f4f28[_0x55bb1c(0x81)]({'label':_0x1ec051(_0x40edb5[_0x55bb1c(0x8b)],_0x55bb1c(0x82)),'icon':_0x5916f5,'isToggleable':!0x0}),_0x2f4f28[_0x55bb1c(0x78)](_0x55bb1c(0x79))['to'](_0xe2e02b),_0x2f4f28[_0x55bb1c(0x78)](_0x55bb1c(0x80))['to'](_0xe2e02b,_0x55bb1c(0x7d),_0x4142eb=>!!_0x4142eb),this[_0x55bb1c(0x7a)](_0x2f4f28,_0x55bb1c(0x87),()=>{const _0x4a79e8=_0x55bb1c;_0xe2e02b[_0x4a79e8(0x87)]();}),_0x2f4f28;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c0533=_0x523c;function _0x1c3d(){const _0x3ccc93=['1686474VXnxjp','get','execute','bind','isVisible','AITabs','2jkKqGe','isEnabled','99030gUENZK','44ORrRrd','516eWQeMM','plugins','8tmbJkC','3826963FIsyBg','125MthmSS','editor','value','148668dFqSAC','70353LpyQwU','view','71809AZxfHF','330242tkdacW','10KrlRxG'];_0x1c3d=function(){return _0x3ccc93;};return _0x1c3d();}(function(_0x1c3423,_0x3934b5){const _0x2898a1=_0x523c,_0x9b3677=_0x1c3423();while(!![]){try{const _0x337afb=parseInt(_0x2898a1(0xf5))/0x1*(-parseInt(_0x2898a1(0xfe))/0x2)+-parseInt(_0x2898a1(0xf3))/0x3*(parseInt(_0x2898a1(0x101))/0x4)+parseInt(_0x2898a1(0xef))/0x5*(parseInt(_0x2898a1(0x100))/0x6)+-parseInt(_0x2898a1(0xee))/0x7*(-parseInt(_0x2898a1(0x104))/0x8)+-parseInt(_0x2898a1(0xf8))/0x9*(-parseInt(_0x2898a1(0xf7))/0xa)+-parseInt(_0x2898a1(0xf6))/0xb+parseInt(_0x2898a1(0x102))/0xc*(-parseInt(_0x2898a1(0xf2))/0xd);if(_0x337afb===_0x3934b5)break;else _0x9b3677['push'](_0x9b3677['shift']());}catch(_0x53362b){_0x9b3677['push'](_0x9b3677['shift']());}}}(_0x1c3d,0x4810c));import{Command as _0x4a5aa2}from'ckeditor5/src/core.js';function _0x523c(_0x5decb7,_0x547eb9){const _0x1c3d5e=_0x1c3d();return _0x523c=function(_0x523c9c,_0x3ad72f){_0x523c9c=_0x523c9c-0xee;let _0x3dd997=_0x1c3d5e[_0x523c9c];return _0x3dd997;},_0x523c(_0x5decb7,_0x547eb9);}export class ToggleAICommand extends _0x4a5aa2{constructor(_0x8c80c0){const _0xa34bfc=_0x523c;super(_0x8c80c0);const _0xcc5699=_0x8c80c0[_0xa34bfc(0x103)][_0xa34bfc(0xf9)](_0xa34bfc(0xfd))[_0xa34bfc(0xf4)];this[_0xa34bfc(0xfb)](_0xa34bfc(0xf1))['to'](_0xcc5699,_0xa34bfc(0xfc)),this[_0xa34bfc(0xff)]=!0x0;}[_0x1c0533(0xfa)](){const _0x36ae29=_0x1c0533,_0x3345cf=this[_0x36ae29(0xf0)][_0x36ae29(0x103)][_0x36ae29(0xf9)](_0x36ae29(0xfd))[_0x36ae29(0xf4)];_0x3345cf[_0x36ae29(0xfc)]=!_0x3345cf[_0x36ae29(0xfc)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5e9b(){var _0x17f686=['requires','isPremiumPlugin','define','pluginName','840tKqQCy','5sLxNhG','4280FHWuXu','426064vQLSdZ','545394gzVBbf','config','16504PAjeJR','1435KSjkvx','26550quOVxi','isOfficialPlugin','ai.quickActions','898641hJlkCQ','AIQuickActions','718316LLzJrj'];_0x5e9b=function(){return _0x17f686;};return _0x5e9b();}var _0x334a47=_0x227d;(function(_0x34a28d,_0x315f26){var _0x3bdc53=_0x227d,_0x3ee805=_0x34a28d();while(!![]){try{var _0x2d2684=-parseInt(_0x3bdc53(0x161))/0x1+-parseInt(_0x3bdc53(0x164))/0x2+-parseInt(_0x3bdc53(0x15a))/0x3+-parseInt(_0x3bdc53(0x15c))/0x4+-parseInt(_0x3bdc53(0x162))/0x5*(-parseInt(_0x3bdc53(0x153))/0x6)+-parseInt(_0x3bdc53(0x156))/0x7*(parseInt(_0x3bdc53(0x155))/0x8)+parseInt(_0x3bdc53(0x157))/0x9*(parseInt(_0x3bdc53(0x163))/0xa);if(_0x2d2684===_0x315f26)break;else _0x3ee805['push'](_0x3ee805['shift']());}catch(_0x4c47c4){_0x3ee805['push'](_0x3ee805['shift']());}}}(_0x5e9b,0x3a012));import{Plugin as _0x1ba35a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0xb70250}from'./aiquickactionsui.js';function _0x227d(_0x1b7c12,_0x31d53c){var _0x5e9b6f=_0x5e9b();return _0x227d=function(_0x227d4d,_0x239788){_0x227d4d=_0x227d4d-0x153;var _0x138c33=_0x5e9b6f[_0x227d4d];return _0x138c33;},_0x227d(_0x1b7c12,_0x31d53c);}import{AIQuickActionsEditing as _0x382042}from'./aiquickactionsediting.js';import{AIActions as _0x2f620a}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x1ba35a{static get[_0x334a47(0x15d)](){return[_0xb70250,_0x382042,_0x2f620a];}static get[_0x334a47(0x160)](){var _0x5089b7=_0x334a47;return _0x5089b7(0x15b);}static get[_0x334a47(0x158)](){return!0x0;}static get[_0x334a47(0x15e)](){return!0x0;}constructor(_0x1ad326){var _0x5e59d9=_0x334a47;super(_0x1ad326),_0x1ad326[_0x5e59d9(0x154)][_0x5e59d9(0x15f)](_0x5e59d9(0x159),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4790fe=_0xa073;function _0xa073(_0x368994,_0x36ebe1){const _0xf78704=_0xf787();return _0xa073=function(_0xa07397,_0x2d86d0){_0xa07397=_0xa07397-0x1b0;let _0x360bc3=_0xf78704[_0xa07397];return _0x360bc3;},_0xa073(_0x368994,_0x36ebe1);}(function(_0x51c6bd,_0x314805){const _0x4a3da4=_0xa073,_0x4d27f9=_0x51c6bd();while(!![]){try{const _0x38fbdd=-parseInt(_0x4a3da4(0x1ea))/0x1*(parseInt(_0x4a3da4(0x1b7))/0x2)+parseInt(_0x4a3da4(0x1b9))/0x3+parseInt(_0x4a3da4(0x1bf))/0x4*(parseInt(_0x4a3da4(0x1dd))/0x5)+parseInt(_0x4a3da4(0x1bd))/0x6+parseInt(_0x4a3da4(0x1c8))/0x7+-parseInt(_0x4a3da4(0x1d7))/0x8*(parseInt(_0x4a3da4(0x1b4))/0x9)+parseInt(_0x4a3da4(0x1bb))/0xa*(-parseInt(_0x4a3da4(0x1c7))/0xb);if(_0x38fbdd===_0x314805)break;else _0x4d27f9['push'](_0x4d27f9['shift']());}catch(_0x5f3a38){_0x4d27f9['push'](_0x4d27f9['shift']());}}}(_0xf787,0x77214));import{Command as _0x1a91cf}from'ckeditor5/src/core.js';function _0xf787(){const _0x321ce2=['schema','ACTION','get','isCollapsed','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','752bsBCbx','label','getSelectedBlocks','chat','setSelection','ask-ai','4228370LOswvM','AITabs','focusPromptInput','model','args','document','editor','_handleAIActionsAction','_handleAIChatAction','AIReviewMode','has','sendMessage','ai-quick-actions-plugin-not-found','59TmxMvO','actionName','_handleAIActionsActionLabel','REVIEW','AIChat','type','_expandSelectionIfCollapsed','locale','47529ooTuIS','startConversation','addSelectionToChatContext','19622LhIfpe','AIActions','1813782wTZswr','displayedPrompt','370ZHrxbV','handleAIReviewAction','1633050VTBKHH','change','4BkiWme','getLimitElement','prompt','AIChatController','other','view','parent','removeSelectionFromChatContext','51832bGMZPX','105840imNtAX','plugins','icon','executeAction','_handleAIReviewAction','CHAT','selection','execute','activateTab','log'];_0xf787=function(){return _0x321ce2;};return _0xf787();}import{CKEditorError as _0x296e23,first as _0x6542be}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4e5207}from'./aiquickactionsui.js';import{getTranslation as _0x256a7f}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x1a91cf{[_0x4790fe(0x1cf)](_0x3c9ec0){const _0x470def=_0x4790fe;switch(this[_0x470def(0x1b2)](),_0x3c9ec0[_0x470def(0x1b1)]){case _0x4e5207[_0x470def(0x1cd)]:if(!this[_0x470def(0x1e3)][_0x470def(0x1c9)][_0x470def(0x1e7)](_0x470def(0x1b0))){const _0x5026d7=_0x256a7f(this[_0x470def(0x1e3)][_0x470def(0x1b3)],_0x470def(0x1d6),_0x470def(0x1b0));throw new _0x296e23(_0x470def(0x1e9),this[_0x470def(0x1e3)],{'errorMessage':_0x5026d7});}this[_0x470def(0x1e5)](_0x3c9ec0);break;case _0x4e5207[_0x470def(0x1d3)]:if(!this[_0x470def(0x1e3)][_0x470def(0x1c9)][_0x470def(0x1e7)](_0x470def(0x1b8))){const _0x5ea9ad=_0x256a7f(this[_0x470def(0x1e3)][_0x470def(0x1b3)],_0x470def(0x1d6),_0x470def(0x1b8));throw new _0x296e23(_0x470def(0x1e9),this[_0x470def(0x1e3)],{'errorMessage':_0x5ea9ad});}this[_0x470def(0x1e4)](_0x3c9ec0);break;case _0x4e5207[_0x470def(0x1ed)]:if(!this[_0x470def(0x1e3)][_0x470def(0x1c9)][_0x470def(0x1e7)](_0x470def(0x1e6))){const _0xa02da6=_0x256a7f(this[_0x470def(0x1e3)][_0x470def(0x1b3)],_0x470def(0x1d6),_0x470def(0x1e6));throw new _0x296e23(_0x470def(0x1e9),this[_0x470def(0x1e3)],{'errorMessage':_0xa02da6});}this[_0x470def(0x1cc)](_0x3c9ec0);}}async[_0x4790fe(0x1e5)](_0x347b9a){const _0x4fc407=_0x4790fe,_0x2cc8f8=this[_0x4fc407(0x1e3)][_0x4fc407(0x1c9)][_0x4fc407(0x1d4)](_0x4fc407(0x1b0)),_0x2ee48d=this[_0x4fc407(0x1e3)][_0x4fc407(0x1c9)][_0x4fc407(0x1d4)](_0x4fc407(0x1c2));if(this[_0x4fc407(0x1e3)][_0x4fc407(0x1c9)][_0x4fc407(0x1d4)](_0x4fc407(0x1de))[_0x4fc407(0x1c4)][_0x4fc407(0x1d0)](_0x4fc407(0x1da)),_0x4fc407(0x1dc)===_0x347b9a['id'])_0x2ee48d[_0x4fc407(0x1c6)](),await _0x2cc8f8[_0x4fc407(0x1b6)](),_0x2cc8f8[_0x4fc407(0x1df)]();else await _0x2cc8f8[_0x4fc407(0x1b5)](),_0x2ee48d[_0x4fc407(0x1c6)](),await _0x2cc8f8[_0x4fc407(0x1b6)](),_0x2cc8f8[_0x4fc407(0x1df)](),await _0x2cc8f8[_0x4fc407(0x1e8)]({'message':_0x347b9a[_0x4fc407(0x1c1)]||_0x347b9a[_0x4fc407(0x1ba)],'quickActionData':{'id':_0x347b9a['id'],'displayedPrompt':_0x347b9a[_0x4fc407(0x1ba)]}});}[_0x4790fe(0x1b2)](){const _0x35ffab=_0x4790fe,_0xf805ea=this[_0x35ffab(0x1e3)],_0x1e943f=_0xf805ea[_0x35ffab(0x1e0)][_0x35ffab(0x1e2)][_0x35ffab(0x1ce)];if(!_0x1e943f[_0x35ffab(0x1d5)])return;const _0x236d8f=_0x6542be(_0x1e943f[_0x35ffab(0x1d9)]())||_0xf805ea[_0x35ffab(0x1e0)][_0x35ffab(0x1d2)][_0x35ffab(0x1c0)](_0x1e943f);_0xf805ea[_0x35ffab(0x1e0)][_0x35ffab(0x1be)](_0x254abf=>{const _0x2d2355=_0x35ffab;_0x254abf[_0x2d2355(0x1db)](_0x236d8f,'in');});}[_0x4790fe(0x1ec)](_0x16f6f7){const _0x308367=_0x4790fe;return _0x16f6f7[_0x308367(0x1c5)]?.[_0x308367(0x1d8)]&&_0x308367(0x1c3)!==_0x16f6f7[_0x308367(0x1c5)]?.['id']?_0x16f6f7[_0x308367(0x1c5)][_0x308367(0x1d8)]+':\x20'+_0x16f6f7[_0x308367(0x1ba)]:_0x16f6f7[_0x308367(0x1ba)];}async[_0x4790fe(0x1e4)](_0xd2e998){const _0x3d963b=_0x4790fe,_0x4448f2=this[_0x3d963b(0x1e3)][_0x3d963b(0x1c9)][_0x3d963b(0x1d4)](_0x3d963b(0x1b8)),_0x37802c=_0xd2e998[_0x3d963b(0x1c1)]?{'userMessage':_0xd2e998[_0x3d963b(0x1c1)],'model':_0xd2e998[_0x3d963b(0x1e0)]}:{'actionName':_0xd2e998[_0x3d963b(0x1eb)]||_0xd2e998['id'],'args':_0xd2e998[_0x3d963b(0x1e1)]},_0x15cd47=this[_0x3d963b(0x1ec)](_0xd2e998);await _0x4448f2[_0x3d963b(0x1cb)](_0x37802c,_0x15cd47,_0xd2e998[_0x3d963b(0x1ca)]);}async[_0x4790fe(0x1cc)](_0x4db06d){const _0x19d9e3=_0x4790fe;console[_0x19d9e3(0x1d1)](_0x19d9e3(0x1bc),_0x4db06d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44fd9f=_0xf689;(function(_0x1633b0,_0x2c7df8){const _0x51d5e5=_0xf689,_0x4ab6dd=_0x1633b0();while(!![]){try{const _0x567196=parseInt(_0x51d5e5(0xef))/0x1+parseInt(_0x51d5e5(0xf7))/0x2+-parseInt(_0x51d5e5(0xf3))/0x3*(parseInt(_0x51d5e5(0xf2))/0x4)+parseInt(_0x51d5e5(0xe0))/0x5+parseInt(_0x51d5e5(0xeb))/0x6*(parseInt(_0x51d5e5(0xe3))/0x7)+parseInt(_0x51d5e5(0xe6))/0x8*(-parseInt(_0x51d5e5(0xe4))/0x9)+-parseInt(_0x51d5e5(0xf5))/0xa;if(_0x567196===_0x2c7df8)break;else _0x4ab6dd['push'](_0x4ab6dd['shift']());}catch(_0x302f58){_0x4ab6dd['push'](_0x4ab6dd['shift']());}}}(_0xb3af,0xeb815));function _0xf689(_0x3ffd7d,_0x3fd362){const _0xb3af1d=_0xb3af();return _0xf689=function(_0xf68921,_0x5cad6c){_0xf68921=_0xf68921-0xdf;let _0x2ba953=_0xb3af1d[_0xf68921];return _0x2ba953;},_0xf689(_0x3ffd7d,_0x3fd362);}function _0xb3af(){const _0x1b0470=['directChange','55979pEgGYv','9Hroyxh','editor','12729896CEmoFT','AIChat','removeSelectionFromChatContext','plugins','selection','396tvAmUj','has','commands','init','1101601iRTvvS','isOfficialPlugin','change:range','1732396sBUlff','3mJfxbr','model','21130710NAvRBj','add','3790662SYZhGd','aiQuickAction','AIQuickActionsEditing','document','isPremiumPlugin','pluginName','7886510AnBmaC','get'];_0xb3af=function(){return _0x1b0470;};return _0xb3af();}import{Plugin as _0x8b25b5}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0xbfdcb9}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x8b25b5{static get[_0x44fd9f(0xdf)](){const _0x1263fc=_0x44fd9f;return _0x1263fc(0xf9);}static get[_0x44fd9f(0xf0)](){return!0x0;}static get[_0x44fd9f(0xfb)](){return!0x0;}[_0x44fd9f(0xee)](){const _0x485cdf=_0x44fd9f,_0x5bc0d9=this[_0x485cdf(0xe5)],_0x130a31=new _0xbfdcb9(this[_0x485cdf(0xe5)]);if(_0x5bc0d9[_0x485cdf(0xed)][_0x485cdf(0xf6)](_0x485cdf(0xf8),_0x130a31),_0x5bc0d9[_0x485cdf(0xe9)][_0x485cdf(0xec)](_0x485cdf(0xe7))){const _0x41ec08=this[_0x485cdf(0xe5)][_0x485cdf(0xe9)][_0x485cdf(0xe1)](_0x485cdf(0xe7));_0x5bc0d9[_0x485cdf(0xf4)][_0x485cdf(0xfa)][_0x485cdf(0xea)]['on'](_0x485cdf(0xf1),(_0x27514c,_0x22d6e9)=>{const _0x3b61a3=_0x485cdf;_0x22d6e9[_0x3b61a3(0xe2)]&&_0x41ec08[_0x3b61a3(0xe8)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x478cbf=_0x4905;(function(_0x685f6e,_0x5893d8){const _0xa00d84=_0x4905,_0x1ff95c=_0x685f6e();while(!![]){try{const _0x253e36=-parseInt(_0xa00d84(0x1bf))/0x1*(parseInt(_0xa00d84(0x1cd))/0x2)+-parseInt(_0xa00d84(0x177))/0x3+parseInt(_0xa00d84(0x1b5))/0x4+parseInt(_0xa00d84(0x172))/0x5+parseInt(_0xa00d84(0x1c3))/0x6*(-parseInt(_0xa00d84(0x17e))/0x7)+parseInt(_0xa00d84(0x1a6))/0x8+-parseInt(_0xa00d84(0x173))/0x9*(-parseInt(_0xa00d84(0x1ca))/0xa);if(_0x253e36===_0x5893d8)break;else _0x1ff95c['push'](_0x1ff95c['shift']());}catch(_0x469fdd){_0x1ff95c['push'](_0x1ff95c['shift']());}}}(_0x5cff,0x70acb));import{IconAIAdjustLength as _0x40b26b,IconAIChangeTone as _0x8c87c7,IconAIChatCommands as _0x49fea5,IconAIContinueWriting as _0x1dfd88,IconAIGrammarCheck as _0x502223,IconAIImproveWriting as _0x56c052,IconAIOther as _0x253779,IconAIQuickActions as _0x4fc483,IconAITranslate as _0x37128b}from'@ckeditor/ckeditor5-icons';function _0x4905(_0x5daffd,_0x4d7440){const _0x5cff2b=_0x5cff();return _0x4905=function(_0x490502,_0x1ab096){_0x490502=_0x490502-0x147;let _0x27131e=_0x5cff2b[_0x490502];return _0x27131e;},_0x4905(_0x5daffd,_0x4d7440);}import{Plugin as _0x42c531}from'ckeditor5/src/core.js';import{CKEditorError as _0x3336d7,logError as _0x31e67a}from'ckeditor5/src/utils.js';import{getTranslation as _0x542ec2}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xcf5db3}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x24e08d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x13c1b9,BalloonToolbar as _0x36cb7,MenuBarMenuView as _0x422edf,MenuBarMenuListView as _0x1bf45e,MenuBarMenuListItemView as _0xdde5f6,MenuBarMenuListItemButtonView as _0xaa55d5}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x8e8595}from'../aicore/model/aimodels.js';const Lt=_0x478cbf(0x184),Dt=_0x478cbf(0x1cc),Ht=_0x478cbf(0x1a4);export var AIQuickActionType;!function(_0x1c8204){const _0x101b01=_0x478cbf;_0x1c8204[_0x101b01(0x1a5)]=_0x101b01(0x1a5),_0x1c8204[_0x101b01(0x192)]=_0x101b01(0x192),_0x1c8204[_0x101b01(0x1d6)]=_0x101b01(0x1d6);}(AIQuickActionType||(AIQuickActionType={}));function _0x5cff(){const _0x1b13d8=['translate-to-spanish','spanish','map','_executeQuickAction','russian','AI_QUICK_ACTIONS_HEADING','2326612XXKrfx','AIChat','make-tone-friendly','add','buttonView','icon','AIQuickActionsUI','ai.quickActions.isSearchEnabled','make-tone-confident','_initializeQuickActionsComponentsAndCommands','90239zFlzZl','AI_QUICK_ACTIONS_TRANSLATE','ai-quick-actions-unavailable-model','menuBarView','66gUCTuT','chinese','replace','explain','ai-quick-actions-models-unable-to-retrieve','korean','AI_QUICK_ACTIONS_ADJUST_LENGTH','21010PeHomr','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','<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>','4KzXFMP','make-tone-professional','improve-writing','language','AI_QUICK_ACTIONS_CHAT_COMMANDS','summarize','filter','attachToDom','ai.quickActions.removeCommands','REVIEW','editing','plugins','has','panelView','AI_QUICK_ACTIONS_OTHER','pluginName','forEach','_getDefaultAndCustomActions','other','AI_QUICK_ACTIONS_EXPLAIN','DisplayNames','AI_QUICK_ACTIONS_MORE_FRIENDLY','message','isPremiumPlugin','children','japanese','label','german','find','translate-to-italian','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MAKE_LONGER','_prepareQuickActionsDefinition','translate-to-russian','values','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','ask-ai','translate','uiLanguage','push','commands','highlight-key-points','menu','translate-to-english','close','model','_initializeQuickActionsMenuBar','get','AI_QUICK_ACTIONS_MAKE_SHORTER','adjust-length','componentFactory','french','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_CHANGE_TONE','requires','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','execute','make-shorter','make-tone-casual','focus','getAvailableModels','AI_QUICK_ACTIONS_MORE_CONFIDENT','make-longer','some','AIReviewMode','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_CONTINUE_WRITING','displayedPrompt','aiQuickActions','2471690vOnUXp','2079XqrHpD','getDefaultQuickActions','_shouldIncludeAction','AI_QUICK_ACTIONS_SUMMARIZE','2088903PrrPdQ','portuguese','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','init','config','items','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','550459GTFtRV','delegate','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-chinese','view','chat-commands','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','type','translate-to-portuguese','English','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','editor','AIActions','includes','locale','change-tone','set','isOfficialPlugin','continue','ACTION','_quickActionsDefinition','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIConnector','_initializeQuickActionsDropdown','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MORE_DIRECT','isEnabled','make-tone-direct','italian','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','length','actions','ai.chat.models.displayedModels','english','AI_QUICK_ACTIONS_IMPROVE_WRITING','<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>','CHAT','5135832ZuxNrt','AI_QUICK_ACTIONS_ASK_AI','menuitem','translate-to-french','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-korean','translate-to-german','_initializeQuickActionsComponents'];_0x5cff=function(){return _0x1b13d8;};return _0x5cff();}export var AIQuickActionTypeToPluginName;!function(_0xafa73f){const _0x456ce8=_0x478cbf;_0xafa73f[_0x456ce8(0x1a5)]=_0x456ce8(0x1b6),_0xafa73f[_0x456ce8(0x192)]=_0x456ce8(0x18b),_0xafa73f[_0x456ce8(0x1d6)]=_0x456ce8(0x16d);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x42c531{static get[_0x478cbf(0x163)](){return[_0x36cb7];}static get[_0x478cbf(0x1dc)](){const _0x4aa745=_0x478cbf;return _0x4aa745(0x1bb);}static get[_0x478cbf(0x190)](){return!0x0;}static get[_0x478cbf(0x1e4)](){return!0x0;}async[_0x478cbf(0x17a)](){const _0x22b40f=_0x478cbf,_0x33e741=await this[_0x22b40f(0x1de)]();this[_0x22b40f(0x14c)](_0x33e741),this[_0x22b40f(0x1be)]();}static[_0x478cbf(0x174)](_0x4696e2){return function(_0x2a49ee){const _0x2faac3=_0x4905,_0x3dcf05=new Intl[(_0x2faac3(0x1e1))](['en'],{'type':_0x2faac3(0x1d0)})['of'](_0x2a49ee[_0x2faac3(0x152)]),_0x55e4a3=_0x3dcf05||_0x2faac3(0x187),_0x3969c4=[{'id':_0x2faac3(0x150),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1a7)),'type':AIQuickActionType[_0x2faac3(0x1a5)],'icon':_0x49fea5},{'id':_0x2faac3(0x183),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1d1)),'icon':_0x49fea5,'actions':[{'id':_0x2faac3(0x1c6),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1e0)),'prompt':Lt[_0x2faac3(0x1c5)]('%0',_0x55e4a3),'type':AIQuickActionType[_0x2faac3(0x1a5)]},{'id':_0x2faac3(0x1d2),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x176)),'prompt':Dt[_0x2faac3(0x1c5)]('%0',_0x55e4a3),'type':AIQuickActionType[_0x2faac3(0x1a5)]},{'id':_0x2faac3(0x155),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x194)),'prompt':Ht[_0x2faac3(0x1c5)]('%0',_0x55e4a3),'type':AIQuickActionType[_0x2faac3(0x1a5)]}]},{'id':_0x2faac3(0x1cf),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1a3)),'type':AIQuickActionType[_0x2faac3(0x192)],'icon':_0x56c052},{'id':_0x2faac3(0x191),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x16f)),'type':AIQuickActionType[_0x2faac3(0x192)],'icon':_0x1dfd88},{'id':_0x2faac3(0x19d),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x189)),'type':AIQuickActionType[_0x2faac3(0x192)],'icon':_0x502223},{'id':_0x2faac3(0x15d),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1c9)),'icon':_0x40b26b,'actions':[{'id':_0x2faac3(0x166),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x15c)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x16b),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x14b)),'type':AIQuickActionType[_0x2faac3(0x192)]}]},{'id':_0x2faac3(0x18e),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x162)),'icon':_0x8c87c7,'actions':[{'id':_0x2faac3(0x167),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x180)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x19a),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x198)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x1b7),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1e2)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x1bd),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x16a)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x1ce),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x14f)),'type':AIQuickActionType[_0x2faac3(0x192)]}]},{'id':_0x2faac3(0x151),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1c0)),'icon':_0x37128b,'actions':[{'id':_0x2faac3(0x157),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x17d)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1a2)}},{'id':_0x2faac3(0x181),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1cb)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1c4)}},{'id':_0x2faac3(0x1af),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x179)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1b0)}},{'id':_0x2faac3(0x1ad),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x16e)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x147)}},{'id':_0x2faac3(0x1a9),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x188)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x15f)}},{'id':_0x2faac3(0x1aa),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1ab)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1e6)}},{'id':_0x2faac3(0x186),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x19e)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x178)}},{'id':_0x2faac3(0x1ac),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x161)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1c8)}},{'id':_0x2faac3(0x149),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x19c)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x19b)}},{'id':_0x2faac3(0x14d),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x164)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1b3)}}]},{'id':_0x2faac3(0x1df),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1db)),'icon':_0x253779,'actions':[]}];return _0x3969c4;}(_0x4696e2);}async[_0x478cbf(0x1de)](){const _0x2ec372=_0x478cbf,_0xce9f20=AIQuickActionsUI[_0x2ec372(0x174)](this[_0x2ec372(0x18a)][_0x2ec372(0x18d)]),_0x5b1f4a=this[_0x2ec372(0x18a)][_0x2ec372(0x17b)][_0x2ec372(0x15b)](_0x2ec372(0x14a))||[];let _0x16b102=[];try{_0x16b102=await new _0x8e8595({'connector':this[_0x2ec372(0x18a)][_0x2ec372(0x1d8)][_0x2ec372(0x15b)](_0x2ec372(0x195)),'availableModels':this[_0x2ec372(0x18a)][_0x2ec372(0x17b)][_0x2ec372(0x15b)](_0x2ec372(0x1a1))})[_0x2ec372(0x169)]();}catch(_0x50f0e4){const _0x3a9902=new _0x3336d7(_0x2ec372(0x1c7),this,{'error':_0x50f0e4});_0x31e67a(_0x3a9902[_0x2ec372(0x1e3)]);}finally{const _0xe2bd49=_0x5b1f4a[_0x2ec372(0x1b1)](_0x25ff85=>({..._0x25ff85,'icon':void 0x0}));_0xce9f20[_0x2ec372(0x148)](_0x3f05a1=>_0x2ec372(0x1df)===_0x3f05a1['id'])[_0x2ec372(0x1a0)][_0x2ec372(0x153)](..._0xe2bd49),_0xce9f20[_0x2ec372(0x1dd)](_0x2690e6=>{const _0xa93e9a=_0x2ec372;if(_0xa93e9a(0x1a0)in _0x2690e6)_0x2690e6[_0xa93e9a(0x1a0)][_0xa93e9a(0x1dd)](_0x7c3cb5=>{const _0x380482=_0xa93e9a;if(_0x7c3cb5[_0x380482(0x199)]=!!_0x16b102[_0x380482(0x148)](_0x2679af=>_0x2679af['id']===_0x7c3cb5[_0x380482(0x159)])||void 0x0===_0x7c3cb5[_0x380482(0x159)],!_0x7c3cb5[_0x380482(0x199)]){const _0xcaf66c=new _0x3336d7(_0x380482(0x1c1),this,{'actionId':_0x7c3cb5['id'],'modelId':_0x7c3cb5[_0x380482(0x159)]});_0x31e67a(_0xcaf66c[_0x380482(0x1e3)]);}});else{if(_0x2690e6[_0xa93e9a(0x199)]=!!_0x16b102[_0xa93e9a(0x148)](_0x4cd65c=>_0x4cd65c['id']===_0x2690e6[_0xa93e9a(0x159)])||void 0x0===_0x2690e6[_0xa93e9a(0x159)],!_0x2690e6[_0xa93e9a(0x199)]){const _0xd6100a=new _0x3336d7(_0xa93e9a(0x1c1),this,{'actionId':_0x2690e6['id'],'modelId':_0x2690e6[_0xa93e9a(0x159)]});_0x31e67a(_0xd6100a[_0xa93e9a(0x1e3)]);}}});}return _0xce9f20;}[_0x478cbf(0x1be)](){const _0x38c4a9=_0x478cbf,_0x9666ae=new _0x13c1b9(this[_0x38c4a9(0x18a)][_0x38c4a9(0x18d)]);_0x9666ae[_0x38c4a9(0x1d4)](),this[_0x38c4a9(0x196)](_0x9666ae),this[_0x38c4a9(0x15a)](),this[_0x38c4a9(0x1ae)](_0x9666ae);}[_0x478cbf(0x196)](_0x25f887){const _0x4679af=_0x478cbf,_0x29d993=this[_0x4679af(0x18a)][_0x4679af(0x17b)][_0x4679af(0x15b)](_0x4679af(0x1bc))??!0x0;this[_0x4679af(0x18a)]['ui'][_0x4679af(0x15e)][_0x4679af(0x1b8)](_0x4679af(0x171),_0xcf5db3({'editor':this[_0x4679af(0x18a)],'content':this[_0x4679af(0x193)],'buttonDefinition':{'icon':_0x4fc483,'label':_0x542ec2(this[_0x4679af(0x18a)][_0x4679af(0x18d)],_0x4679af(0x1b4))},'bodyCollection':_0x25f887,'hasSearch':_0x29d993}));}[_0x478cbf(0x14c)](_0x39e4db){const _0x5ee56e=_0x478cbf;this[_0x5ee56e(0x193)]=_0x39e4db[_0x5ee56e(0x1b1)](_0x47eef3=>{const _0x5e4f79=_0x5ee56e;if(_0x5e4f79(0x1a0)in _0x47eef3){const _0x8c4748=_0x47eef3;return{..._0x8c4748,'actions':_0x8c4748[_0x5e4f79(0x1a0)][_0x5e4f79(0x1b1)](_0x2bf0ad=>{const {actions:_0x240e40,..._0x216b5f}=_0x8c4748;return{..._0x2bf0ad,'parent':_0x216b5f};})[_0x5e4f79(0x1d3)](_0xabd628=>this[_0x5e4f79(0x175)](_0xabd628))};}return _0x47eef3;})[_0x5ee56e(0x1d3)](_0x3a6c8d=>_0x5ee56e(0x1a0)in _0x3a6c8d?_0x3a6c8d[_0x5ee56e(0x1a0)][_0x5ee56e(0x19f)]>0x0:this[_0x5ee56e(0x175)](_0x3a6c8d));}[_0x478cbf(0x175)](_0x480b1e){const _0x4148c9=_0x478cbf,_0x44ef9b=this[_0x4148c9(0x18a)][_0x4148c9(0x17b)][_0x4148c9(0x15b)](_0x4148c9(0x1d5))||[];return this[_0x4148c9(0x18a)][_0x4148c9(0x1d8)][_0x4148c9(0x1d9)](AIQuickActionTypeToPluginName[_0x480b1e[_0x4148c9(0x185)]])&&!_0x44ef9b[_0x4148c9(0x18c)](_0x480b1e['id']);}[_0x478cbf(0x1ae)](_0x517a41){const _0x3b5393=_0x478cbf;this[_0x3b5393(0x193)][_0x3b5393(0x1dd)](_0x6e61b3=>{const _0x5463e5=_0x3b5393;if(_0x5463e5(0x1a0)in _0x6e61b3){const _0x284ba0=_0xcf5db3({'editor':this[_0x5463e5(0x18a)],'content':_0x6e61b3[_0x5463e5(0x1a0)],'buttonDefinition':_0x6e61b3,'bodyCollection':_0x517a41});this[_0x5463e5(0x18a)]['ui'][_0x5463e5(0x15e)][_0x5463e5(0x1b8)](_0x6e61b3['id'],_0x284ba0),_0x6e61b3[_0x5463e5(0x1a0)][_0x5463e5(0x1dd)](_0x11cc2e=>{const _0x4744a6=_0x5463e5,_0x95a015=_0x24e08d({'editor':this[_0x4744a6(0x18a)],'action':_0x11cc2e});this[_0x4744a6(0x18a)]['ui'][_0x4744a6(0x15e)][_0x4744a6(0x1b8)](_0x11cc2e['id'],_0x95a015);});}else{const _0x53f73b=_0x24e08d({'editor':this[_0x5463e5(0x18a)],'action':_0x6e61b3,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x5463e5(0x18a)]['ui'][_0x5463e5(0x15e)][_0x5463e5(0x1b8)](_0x6e61b3['id'],_0x53f73b);}});}[_0x478cbf(0x15a)](){const _0x53bb00=_0x478cbf;this[_0x53bb00(0x18a)]['ui'][_0x53bb00(0x15e)][_0x53bb00(0x1b8)](_0x53bb00(0x197),_0x5110cc=>{const _0x431e9d=_0x53bb00,_0x1eb584=new _0x422edf(_0x5110cc),_0x13952f=_0x542ec2(_0x5110cc,_0x431e9d(0x1b4));_0x1eb584[_0x431e9d(0x1b9)][_0x431e9d(0x18f)]({'label':_0x13952f,'icon':_0x4fc483});const _0x473718=new _0x1bf45e(_0x5110cc);_0x473718[_0x431e9d(0x18f)]({'ariaLabel':_0x13952f,'role':_0x431e9d(0x156)}),this[_0x431e9d(0x193)][_0x431e9d(0x1dd)](_0x19d3f1=>{const _0x243581=_0x431e9d;if(_0x243581(0x1a0)in _0x19d3f1){const _0x1b6eac=_0x19d3f1,_0x1770b7=new _0xdde5f6(_0x5110cc,_0x1eb584),_0x231c0d=new _0x422edf(_0x5110cc),_0x108797=new _0x1bf45e(_0x5110cc);_0x231c0d[_0x243581(0x1b9)][_0x243581(0x18f)]({'label':_0x1b6eac[_0x243581(0x1e7)],'icon':_0x1b6eac[_0x243581(0x1ba)]}),_0x1b6eac[_0x243581(0x1a0)][_0x243581(0x1dd)](_0x2327c4=>{const _0x356299=_0x243581,_0x20e076=new _0xdde5f6(_0x5110cc,_0x231c0d),_0x13c50b=new _0xaa55d5(_0x5110cc);_0x13c50b[_0x356299(0x18f)]({'label':_0x2327c4[_0x356299(0x170)],'icon':_0x2327c4[_0x356299(0x1ba)],'role':_0x356299(0x1a8),'isEnabled':_0x2327c4[_0x356299(0x199)]}),_0x13c50b['on'](_0x356299(0x165),()=>{const _0x4e83a8=_0x356299;this[_0x4e83a8(0x1b2)](_0x2327c4);}),_0x13c50b[_0x356299(0x17f)](_0x356299(0x165))['to'](_0x231c0d),_0x20e076[_0x356299(0x1e5)][_0x356299(0x1b8)](_0x13c50b),_0x108797[_0x356299(0x17c)][_0x356299(0x1b8)](_0x20e076);}),_0x231c0d[_0x243581(0x1da)][_0x243581(0x1e5)][_0x243581(0x1b8)](_0x108797),_0x1770b7[_0x243581(0x1e5)][_0x243581(0x1b8)](_0x231c0d),_0x473718[_0x243581(0x17c)][_0x243581(0x1b8)](_0x1770b7);}else{const _0x56e0d6=_0x19d3f1,_0x46773a=new _0xdde5f6(_0x5110cc,_0x1eb584),_0x66a8c5=new _0xaa55d5(_0x5110cc);_0x66a8c5[_0x243581(0x18f)]({'label':_0x56e0d6[_0x243581(0x170)],'icon':_0x56e0d6[_0x243581(0x1ba)],'role':_0x243581(0x1a8),'isEnabled':_0x56e0d6[_0x243581(0x199)]}),_0x66a8c5['on'](_0x243581(0x165),()=>{const _0x3ebfdf=_0x243581;this[_0x3ebfdf(0x1b2)](_0x56e0d6);}),_0x66a8c5[_0x243581(0x17f)](_0x243581(0x165))['to'](_0x1eb584),_0x46773a[_0x243581(0x1e5)][_0x243581(0x1b8)](_0x66a8c5),_0x473718[_0x243581(0x17c)][_0x243581(0x1b8)](_0x46773a);}});const _0x25f0f0=Object[_0x431e9d(0x14e)](AIQuickActionTypeToPluginName)[_0x431e9d(0x16c)](_0x532ac7=>this[_0x431e9d(0x18a)][_0x431e9d(0x1d8)][_0x431e9d(0x1d9)](_0x532ac7));return _0x1eb584[_0x431e9d(0x18f)]({'isEnabled':_0x25f0f0}),_0x1eb584[_0x431e9d(0x1da)][_0x431e9d(0x1e5)][_0x431e9d(0x1b8)](_0x473718),_0x1eb584;});}[_0x478cbf(0x1b2)](_0x2f561b){const _0x4a9549=_0x478cbf,_0x37ac05=this[_0x4a9549(0x18a)];_0x37ac05[_0x4a9549(0x1d7)][_0x4a9549(0x182)][_0x4a9549(0x168)](),_0x37ac05[_0x4a9549(0x154)][_0x4a9549(0x165)](_0x4a9549(0x160),_0x2f561b);const _0x432102=_0x37ac05['ui'][_0x4a9549(0x182)][_0x4a9549(0x1c2)];_0x432102&&_0x432102[_0x4a9549(0x158)]&&_0x432102[_0x4a9549(0x158)]();}}
|
|
23
|
+
const _0x51878a=_0x5767;(function(_0x5bbc84,_0x3c74dc){const _0x208b72=_0x5767,_0x2e8f41=_0x5bbc84();while(!![]){try{const _0x35b87d=-parseInt(_0x208b72(0x147))/0x1+parseInt(_0x208b72(0x112))/0x2*(parseInt(_0x208b72(0x10d))/0x3)+parseInt(_0x208b72(0x185))/0x4+parseInt(_0x208b72(0x188))/0x5*(-parseInt(_0x208b72(0x114))/0x6)+parseInt(_0x208b72(0x12a))/0x7+-parseInt(_0x208b72(0x158))/0x8+parseInt(_0x208b72(0x17c))/0x9*(parseInt(_0x208b72(0x10c))/0xa);if(_0x35b87d===_0x3c74dc)break;else _0x2e8f41['push'](_0x2e8f41['shift']());}catch(_0x2ef82c){_0x2e8f41['push'](_0x2e8f41['shift']());}}}(_0xcfa5,0xb5d97));function _0xcfa5(){const _0x3448c2=['AIChat','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','make-tone-direct','isOfficialPlugin','11835405IekwUn','length','find','make-shorter','model','type','menuBarView','forEach','AI_QUICK_ACTIONS_SUMMARIZE','3228688fyLybB','language','french','5eiBVpk','translate-to-german','japanese','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','make-tone-friendly','locale','panelView','has','AI_QUICK_ACTIONS_ASK_AI','plugins','includes','icon','AI_QUICK_ACTIONS_MORE_CASUAL','CHAT','AI_QUICK_ACTIONS_EXPLAIN','ai.quickActions.extraCommands','AIReviewMode','korean','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','spanish','values','attachToDom','summarize','AI_QUICK_ACTIONS_ADJUST_LENGTH','focus','ai.quickActions.isSearchEnabled','make-tone-confident','items','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','set','continue','componentFactory','AI_QUICK_ACTIONS_CHANGE_TONE','ai-quick-actions-unavailable-model','translate-to-french','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_CHAT_COMMANDS','20DGVVvB','1311891cwhmqO','editing','pluginName','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','2RuTJli','config','7732086voQOHR','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','view','message','children','isEnabled','improve-writing','translate-to-russian','other','_shouldIncludeAction','chat-commands','add','requires','translate-to-korean','change-tone','make-tone-casual','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_CONFIDENT','fix-grammar','ai-quick-actions-models-unable-to-retrieve','_quickActionsDefinition','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','806085nSHYoL','buttonView','english','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','explain','translate','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AIQuickActionsUI','ACTION','highlight-key-points','aiQuickAction','make-tone-professional','italian','translate-to-spanish','AI_QUICK_ACTIONS_CONTINUE_WRITING','delegate','REVIEW','_initializeQuickActionsDropdown','displayedPrompt','uiLanguage','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','replace','AI_QUICK_ACTIONS_OTHER','ai.chat.models.displayedModels','get','make-longer','1007827RlWeRL','execute','_initializeQuickActionsMenuBar','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsComponents','_executeQuickAction','menuitem','german','AI_QUICK_ACTIONS_MAKE_SHORTER','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIActions','menu','commands','translate-to-english','7586808UpOuin','AI_QUICK_ACTIONS_IMPROVE_WRITING','aiQuickActions','translate-to-japanese','getDefaultQuickActions','label','AI_QUICK_ACTIONS_TRANSLATE','getAvailableModels','editor','translate-to-portuguese','push','_initializeQuickActionsComponentsAndCommands','menuBar:aiQuickActions','ask-ai','portuguese','actions','translate-to-chinese','some','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','isPremiumPlugin','map','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','chinese','AIConnector','DisplayNames','close','init','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','filter','English','russian'];_0xcfa5=function(){return _0x3448c2;};return _0xcfa5();}import{IconAIAdjustLength as _0x3f2134,IconAIChangeTone as _0x7a0b1e,IconAIChatCommands as _0x53eed0,IconAIContinueWriting as _0x37717f,IconAIGrammarCheck as _0xe9081,IconAIImproveWriting as _0x2f2ef3,IconAIOther as _0x313c56,IconAIQuickActions as _0xccffc5,IconAITranslate as _0x41261e}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1373f0}from'ckeditor5/src/core.js';import{CKEditorError as _0x1355c0,logError as _0x22e57e}from'ckeditor5/src/utils.js';import{getTranslation as _0x85cae3}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x22e3b3}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0xd2fdb}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x5d4f5a,BalloonToolbar as _0x2535f2,MenuBarMenuView as _0x2a79a5,MenuBarMenuListView as _0x31ee78,MenuBarMenuListItemView as _0x1f2ef7,MenuBarMenuListItemButtonView as _0x493ee2}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x38bc83}from'../aicore/model/aimodels.js';const Wt=_0x51878a(0x131),Bt=_0x51878a(0x19a),Jt=_0x51878a(0x16e);export var AIQuickActionType;!function(_0xa764a0){const _0xd26754=_0x51878a;_0xa764a0[_0xd26754(0x195)]=_0xd26754(0x195),_0xa764a0[_0xd26754(0x135)]=_0xd26754(0x135),_0xa764a0[_0xd26754(0x13d)]=_0xd26754(0x13d);}(AIQuickActionType||(AIQuickActionType={}));function _0x5767(_0x106c6a,_0x551602){const _0xcfa565=_0xcfa5();return _0x5767=function(_0x576759,_0x58ac9d){_0x576759=_0x576759-0xff;let _0x2e5fb2=_0xcfa565[_0x576759];return _0x2e5fb2;},_0x5767(_0x106c6a,_0x551602);}export var AIQuickActionTypeToPluginName;!function(_0x5cdc78){const _0x540025=_0x51878a;_0x5cdc78[_0x540025(0x195)]=_0x540025(0x178),_0x5cdc78[_0x540025(0x135)]=_0x540025(0x154),_0x5cdc78[_0x540025(0x13d)]=_0x540025(0x198);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1373f0{static get[_0x51878a(0x120)](){return[_0x2535f2];}static get[_0x51878a(0x10f)](){const _0x9e51b8=_0x51878a;return _0x9e51b8(0x134);}static get[_0x51878a(0x17b)](){return!0x0;}static get[_0x51878a(0x16c)](){return!0x0;}async[_0x51878a(0x173)](){const _0x18ef12=_0x51878a,_0x4f65e4=await this[_0x18ef12(0x124)]();this[_0x18ef12(0x16a)](_0x4f65e4),this[_0x18ef12(0x163)]();}static[_0x51878a(0x15c)](_0x43bb13){return function(_0x35b695){const _0x135ee7=_0x5767,_0x47fc13=new Intl[(_0x135ee7(0x171))](['en'],{'type':_0x135ee7(0x186)})['of'](_0x35b695[_0x135ee7(0x140)]),_0x2f0d71=_0x47fc13||_0x135ee7(0x176),_0x3bedf1=[{'id':_0x135ee7(0x165),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x190)),'type':AIQuickActionType[_0x135ee7(0x195)],'icon':_0x53eed0},{'id':_0x135ee7(0x11e),'label':_0x85cae3(_0x35b695,_0x135ee7(0x10b)),'icon':_0x53eed0,'actions':[{'id':_0x135ee7(0x12e),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x196)),'prompt':Wt[_0x135ee7(0x142)]('%0',_0x2f0d71),'type':AIQuickActionType[_0x135ee7(0x195)]},{'id':_0x135ee7(0x19e),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x184)),'prompt':Bt[_0x135ee7(0x142)]('%0',_0x2f0d71),'type':AIQuickActionType[_0x135ee7(0x195)]},{'id':_0x135ee7(0x136),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x12d)),'prompt':Jt[_0x135ee7(0x142)]('%0',_0x2f0d71),'type':AIQuickActionType[_0x135ee7(0x195)]}]},{'id':_0x135ee7(0x11a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x159)),'type':AIQuickActionType[_0x135ee7(0x135)],'icon':_0x2f2ef3},{'id':_0x135ee7(0x105),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x13b)),'type':AIQuickActionType[_0x135ee7(0x135)],'icon':_0x37717f},{'id':_0x135ee7(0x126),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x129)),'type':AIQuickActionType[_0x135ee7(0x135)],'icon':_0xe9081},{'id':_0x135ee7(0x111),'label':_0x85cae3(_0x35b695,_0x135ee7(0x19f)),'icon':_0x3f2134,'actions':[{'id':_0x135ee7(0x17f),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x151)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x146),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x110)),'type':AIQuickActionType[_0x135ee7(0x135)]}]},{'id':_0x135ee7(0x122),'label':_0x85cae3(_0x35b695,_0x135ee7(0x107)),'icon':_0x7a0b1e,'actions':[{'id':_0x135ee7(0x123),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x194)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x17a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x132)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x18c),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x14c)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x101),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x125)),'type':AIQuickActionType[_0x135ee7(0x135)]},{'id':_0x135ee7(0x138),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x141)),'type':AIQuickActionType[_0x135ee7(0x135)]}]},{'id':_0x135ee7(0x12f),'label':_0x85cae3(_0x35b695,_0x135ee7(0x15e)),'icon':_0x41261e,'actions':[{'id':_0x135ee7(0x157),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x130)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x12c)}},{'id':_0x135ee7(0x168),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x179)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x16f)}},{'id':_0x135ee7(0x13a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x18b)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x19b)}},{'id':_0x135ee7(0x189),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x133)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x150)}},{'id':_0x135ee7(0x109),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x103)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x187)}},{'id':_0x135ee7(0x15b),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x16b)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x18a)}},{'id':_0x135ee7(0x161),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x115)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x166)}},{'id':_0x135ee7(0x121),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x174)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x199)}},{'id':_0x135ee7(0x14a),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x153)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x139)}},{'id':_0x135ee7(0x11b),'displayedPrompt':_0x85cae3(_0x35b695,_0x135ee7(0x14b)),'type':AIQuickActionType[_0x135ee7(0x135)],'actionName':_0x135ee7(0x12f),'args':{'language':_0x135ee7(0x177)}}]},{'id':_0x135ee7(0x11c),'label':_0x85cae3(_0x35b695,_0x135ee7(0x143)),'icon':_0x313c56,'actions':[]}];return _0x3bedf1;}(_0x43bb13);}async[_0x51878a(0x124)](){const _0x1e5e9f=_0x51878a,_0x6dacd5=AIQuickActionsUI[_0x1e5e9f(0x15c)](this[_0x1e5e9f(0x160)][_0x1e5e9f(0x18d)]),_0x54f75a=this[_0x1e5e9f(0x160)][_0x1e5e9f(0x113)][_0x1e5e9f(0x145)](_0x1e5e9f(0x197))||[];let _0x304997=[];try{_0x304997=await new _0x38bc83({'connector':this[_0x1e5e9f(0x160)][_0x1e5e9f(0x191)][_0x1e5e9f(0x145)](_0x1e5e9f(0x170)),'availableModels':this[_0x1e5e9f(0x160)][_0x1e5e9f(0x113)][_0x1e5e9f(0x145)](_0x1e5e9f(0x144))})[_0x1e5e9f(0x15f)]();}catch(_0x10e9f9){const _0x25d81f=new _0x1355c0(_0x1e5e9f(0x127),this,{'error':_0x10e9f9});_0x22e57e(_0x25d81f[_0x1e5e9f(0x117)]);}finally{const _0x1e3dcf=_0x54f75a[_0x1e5e9f(0x16d)](_0x5002a3=>({..._0x5002a3,'icon':void 0x0}));_0x6dacd5[_0x1e5e9f(0x17e)](_0x6bb2bf=>_0x1e5e9f(0x11c)===_0x6bb2bf['id'])[_0x1e5e9f(0x167)][_0x1e5e9f(0x162)](..._0x1e3dcf),_0x6dacd5[_0x1e5e9f(0x183)](_0x53e448=>{const _0x3b4191=_0x1e5e9f;if(_0x3b4191(0x167)in _0x53e448)_0x53e448[_0x3b4191(0x167)][_0x3b4191(0x183)](_0x3c0b14=>{const _0x307601=_0x3b4191;if(_0x3c0b14[_0x307601(0x119)]=!!_0x304997[_0x307601(0x17e)](_0x1700b0=>_0x1700b0['id']===_0x3c0b14[_0x307601(0x180)])||void 0x0===_0x3c0b14[_0x307601(0x180)],!_0x3c0b14[_0x307601(0x119)]){const _0x20349e=new _0x1355c0(_0x307601(0x108),this,{'actionId':_0x3c0b14['id'],'modelId':_0x3c0b14[_0x307601(0x180)]});_0x22e57e(_0x20349e[_0x307601(0x117)]);}});else{if(_0x53e448[_0x3b4191(0x119)]=!!_0x304997[_0x3b4191(0x17e)](_0x40900e=>_0x40900e['id']===_0x53e448[_0x3b4191(0x180)])||void 0x0===_0x53e448[_0x3b4191(0x180)],!_0x53e448[_0x3b4191(0x119)]){const _0x107740=new _0x1355c0(_0x3b4191(0x108),this,{'actionId':_0x53e448['id'],'modelId':_0x53e448[_0x3b4191(0x180)]});_0x22e57e(_0x107740[_0x3b4191(0x117)]);}}});}return _0x6dacd5;}[_0x51878a(0x163)](){const _0x47fd36=_0x51878a,_0x11150b=new _0x5d4f5a(this[_0x47fd36(0x160)][_0x47fd36(0x18d)]);_0x11150b[_0x47fd36(0x19d)](),this[_0x47fd36(0x13e)](_0x11150b),this[_0x47fd36(0x149)](),this[_0x47fd36(0x14d)](_0x11150b);}[_0x51878a(0x13e)](_0x5bc930){const _0x4154f9=_0x51878a,_0x131bd2=this[_0x4154f9(0x160)][_0x4154f9(0x113)][_0x4154f9(0x145)](_0x4154f9(0x100))??!0x0;this[_0x4154f9(0x160)]['ui'][_0x4154f9(0x106)][_0x4154f9(0x11f)](_0x4154f9(0x15a),_0x22e3b3({'editor':this[_0x4154f9(0x160)],'content':this[_0x4154f9(0x128)],'buttonDefinition':{'icon':_0xccffc5,'label':_0x85cae3(this[_0x4154f9(0x160)][_0x4154f9(0x18d)],_0x4154f9(0x10a))},'bodyCollection':_0x5bc930,'hasSearch':_0x131bd2}));}[_0x51878a(0x16a)](_0x37d6ce){const _0x7dff5d=_0x51878a;this[_0x7dff5d(0x128)]=_0x37d6ce[_0x7dff5d(0x16d)](_0x1cd48c=>{const _0x2bff7a=_0x7dff5d;if(_0x2bff7a(0x167)in _0x1cd48c){const _0x2b1dda=_0x1cd48c;return{..._0x2b1dda,'actions':_0x2b1dda[_0x2bff7a(0x167)][_0x2bff7a(0x16d)](_0x7f10e0=>{const {actions:_0x53da9a,..._0x53c18c}=_0x2b1dda;return{..._0x7f10e0,'parent':_0x53c18c};})[_0x2bff7a(0x175)](_0x3ab0d3=>this[_0x2bff7a(0x11d)](_0x3ab0d3))};}return _0x1cd48c;})[_0x7dff5d(0x175)](_0xd3e71=>_0x7dff5d(0x167)in _0xd3e71?_0xd3e71[_0x7dff5d(0x167)][_0x7dff5d(0x17d)]>0x0:this[_0x7dff5d(0x11d)](_0xd3e71));}[_0x51878a(0x11d)](_0x4fbb46){const _0x11a0f=_0x51878a,_0x3d7bf4=this[_0x11a0f(0x160)][_0x11a0f(0x113)][_0x11a0f(0x145)](_0x11a0f(0x152))||[];return this[_0x11a0f(0x160)][_0x11a0f(0x191)][_0x11a0f(0x18f)](AIQuickActionTypeToPluginName[_0x4fbb46[_0x11a0f(0x181)]])&&!_0x3d7bf4[_0x11a0f(0x192)](_0x4fbb46['id']);}[_0x51878a(0x14d)](_0x37d98b){const _0x52859f=_0x51878a;this[_0x52859f(0x128)][_0x52859f(0x183)](_0x2ddc4f=>{const _0x867977=_0x52859f;if(_0x867977(0x167)in _0x2ddc4f){const _0xbd5117=_0x22e3b3({'editor':this[_0x867977(0x160)],'content':_0x2ddc4f[_0x867977(0x167)],'buttonDefinition':_0x2ddc4f,'bodyCollection':_0x37d98b});this[_0x867977(0x160)]['ui'][_0x867977(0x106)][_0x867977(0x11f)](_0x2ddc4f['id'],_0xbd5117),_0x2ddc4f[_0x867977(0x167)][_0x867977(0x183)](_0x354db8=>{const _0x12091b=_0x867977,_0x2dc8ec=_0xd2fdb({'editor':this[_0x12091b(0x160)],'action':_0x354db8});this[_0x12091b(0x160)]['ui'][_0x12091b(0x106)][_0x12091b(0x11f)](_0x354db8['id'],_0x2dc8ec);});}else{const _0x5a94d8=_0xd2fdb({'editor':this[_0x867977(0x160)],'action':_0x2ddc4f,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x867977(0x160)]['ui'][_0x867977(0x106)][_0x867977(0x11f)](_0x2ddc4f['id'],_0x5a94d8);}});}[_0x51878a(0x149)](){const _0x5db3c3=_0x51878a;this[_0x5db3c3(0x160)]['ui'][_0x5db3c3(0x106)][_0x5db3c3(0x11f)](_0x5db3c3(0x164),_0x2b0b70=>{const _0x2ce6c3=_0x5db3c3,_0x47d71f=new _0x2a79a5(_0x2b0b70),_0x520910=_0x85cae3(_0x2b0b70,_0x2ce6c3(0x10a));_0x47d71f[_0x2ce6c3(0x12b)][_0x2ce6c3(0x104)]({'label':_0x520910,'icon':_0xccffc5});const _0x463e11=new _0x31ee78(_0x2b0b70);_0x463e11[_0x2ce6c3(0x104)]({'ariaLabel':_0x520910,'role':_0x2ce6c3(0x155)}),this[_0x2ce6c3(0x128)][_0x2ce6c3(0x183)](_0x4d658b=>{const _0x29b808=_0x2ce6c3;if(_0x29b808(0x167)in _0x4d658b){const _0x2c33a8=_0x4d658b,_0x1c1b14=new _0x1f2ef7(_0x2b0b70,_0x47d71f),_0x12b95d=new _0x2a79a5(_0x2b0b70),_0x266567=new _0x31ee78(_0x2b0b70);_0x12b95d[_0x29b808(0x12b)][_0x29b808(0x104)]({'label':_0x2c33a8[_0x29b808(0x15d)],'icon':_0x2c33a8[_0x29b808(0x193)]}),_0x2c33a8[_0x29b808(0x167)][_0x29b808(0x183)](_0x3ca333=>{const _0x4e36e2=_0x29b808,_0x3ee7a6=new _0x1f2ef7(_0x2b0b70,_0x12b95d),_0xefef15=new _0x493ee2(_0x2b0b70);_0xefef15[_0x4e36e2(0x104)]({'label':_0x3ca333[_0x4e36e2(0x13f)],'icon':_0x3ca333[_0x4e36e2(0x193)],'role':_0x4e36e2(0x14f),'isEnabled':_0x3ca333[_0x4e36e2(0x119)]}),_0xefef15['on'](_0x4e36e2(0x148),()=>{const _0x2dc4a3=_0x4e36e2;this[_0x2dc4a3(0x14e)](_0x3ca333);}),_0xefef15[_0x4e36e2(0x13c)](_0x4e36e2(0x148))['to'](_0x12b95d),_0x3ee7a6[_0x4e36e2(0x118)][_0x4e36e2(0x11f)](_0xefef15),_0x266567[_0x4e36e2(0x102)][_0x4e36e2(0x11f)](_0x3ee7a6);}),_0x12b95d[_0x29b808(0x18e)][_0x29b808(0x118)][_0x29b808(0x11f)](_0x266567),_0x1c1b14[_0x29b808(0x118)][_0x29b808(0x11f)](_0x12b95d),_0x463e11[_0x29b808(0x102)][_0x29b808(0x11f)](_0x1c1b14);}else{const _0x504118=_0x4d658b,_0x57607c=new _0x1f2ef7(_0x2b0b70,_0x47d71f),_0x53267a=new _0x493ee2(_0x2b0b70);_0x53267a[_0x29b808(0x104)]({'label':_0x504118[_0x29b808(0x13f)],'icon':_0x504118[_0x29b808(0x193)],'role':_0x29b808(0x14f),'isEnabled':_0x504118[_0x29b808(0x119)]}),_0x53267a['on'](_0x29b808(0x148),()=>{const _0x13bae3=_0x29b808;this[_0x13bae3(0x14e)](_0x504118);}),_0x53267a[_0x29b808(0x13c)](_0x29b808(0x148))['to'](_0x47d71f),_0x57607c[_0x29b808(0x118)][_0x29b808(0x11f)](_0x53267a),_0x463e11[_0x29b808(0x102)][_0x29b808(0x11f)](_0x57607c);}});const _0x2e3d50=Object[_0x2ce6c3(0x19c)](AIQuickActionTypeToPluginName)[_0x2ce6c3(0x169)](_0x2baf5d=>this[_0x2ce6c3(0x160)][_0x2ce6c3(0x191)][_0x2ce6c3(0x18f)](_0x2baf5d));return _0x47d71f[_0x2ce6c3(0x104)]({'isEnabled':_0x2e3d50}),_0x47d71f[_0x2ce6c3(0x18e)][_0x2ce6c3(0x118)][_0x2ce6c3(0x11f)](_0x463e11),_0x47d71f;});}[_0x51878a(0x14e)](_0x4005c3){const _0x1f91c7=_0x51878a,_0x2d89c1=this[_0x1f91c7(0x160)];_0x2d89c1[_0x1f91c7(0x10e)][_0x1f91c7(0x116)][_0x1f91c7(0xff)](),_0x2d89c1[_0x1f91c7(0x156)][_0x1f91c7(0x148)](_0x1f91c7(0x137),_0x4005c3);const _0x8bde6d=_0x2d89c1['ui'][_0x1f91c7(0x116)][_0x1f91c7(0x182)];_0x8bde6d&&_0x8bde6d[_0x1f91c7(0x172)]&&_0x8bde6d[_0x1f91c7(0x172)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x134bed,_0x48ab07){const _0xd221bb=_0x10c0,_0x28326f=_0x134bed();while(!![]){try{const _0x3458bf=parseInt(_0xd221bb(0x127))/0x1*(parseInt(_0xd221bb(0x130))/0x2)+-parseInt(_0xd221bb(0x128))/0x3+-parseInt(_0xd221bb(0x11f))/0x4*(parseInt(_0xd221bb(0x12c))/0x5)+parseInt(_0xd221bb(0x136))/0x6*(parseInt(_0xd221bb(0x12f))/0x7)+parseInt(_0xd221bb(0x124))/0x8+parseInt(_0xd221bb(0x134))/0x9+parseInt(_0xd221bb(0x132))/0xa*(-parseInt(_0xd221bb(0x135))/0xb);if(_0x3458bf===_0x48ab07)break;else _0x28326f['push'](_0x28326f['shift']());}catch(_0xb38cb2){_0x28326f['push'](_0x28326f['shift']());}}}(_0x25a7,0xd30d9));import{ButtonView as _0x41ec81}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5ae941}from'@ckeditor/ckeditor5-icons';function _0x10c0(_0xdec2a6,_0x4999aa){const _0x25a719=_0x25a7();return _0x10c0=function(_0x10c0da,_0x124710){_0x10c0da=_0x10c0da-0x11f;let _0x341789=_0x25a719[_0x10c0da];return _0x341789;},_0x10c0(_0xdec2a6,_0x4999aa);}export function aiQuickActionsButtonCreator(_0x3b4f3c){const {editor:_0x17c3bf,action:_0x5b565b,withText:_0x5af955=!0x1,withIcon:_0x3e2528=!0x0,isInDropdown:_0x549ded=!0x0,shouldPreventFocus:_0x456553=!0x1}=_0x3b4f3c;return()=>{const _0xfb752a=_0x10c0,_0x1103f1=_0x17c3bf[_0xfb752a(0x122)],_0x51357a=new _0x41ec81(_0x1103f1),_0x3ca737=_0x51357a[_0xfb752a(0x123)];_0x549ded&&_0x51357a[_0xfb752a(0x121)]({'on':{'mouseenter':_0x3ca737['to'](()=>{const _0x194157=_0xfb752a;_0x456553&&_0x456553()||_0x51357a[_0x194157(0x129)]();})}});const _0x6ff17a=_0x5b565b[_0xfb752a(0x138)]??_0x5b565b[_0xfb752a(0x139)]?.[_0xfb752a(0x138)];return _0x51357a[_0xfb752a(0x125)]({'label':_0x5b565b[_0xfb752a(0x126)],'withText':_0x5af955,'role':_0xfb752a(0x120),'icon':_0x3e2528?_0x6ff17a??_0x5ae941:void 0x0,'tooltip':!_0x5af955,'class':_0xfb752a(0x133),'isEnabled':_0x5b565b[_0xfb752a(0x12a)]}),_0x51357a['on'](_0xfb752a(0x12e),()=>{const _0x329b72=_0xfb752a;_0x17c3bf[_0x329b72(0x137)][_0x329b72(0x12d)][_0x329b72(0x129)](),_0x17c3bf[_0x329b72(0x12b)][_0x329b72(0x12e)](_0x329b72(0x131),_0x5b565b);}),_0x51357a;};}function _0x25a7(){const _0x20e4f2=['bindTemplate','7578344reNXIq','set','displayedPrompt','365uaplzc','2009055veXrbI','focus','isEnabled','commands','3525AQSHju','view','execute','10832507UBMxdA','2504rIQeXW','aiQuickAction','40kUDwfN','ck-ai-quick-actions-button','9182187rOdQDm','5015461xuHQir','6scQmtI','editing','icon','parent','3484gDFySQ','menuitem','extendTemplate','locale'];_0x25a7=function(){return _0x20e4f2;};return _0x25a7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3072(_0x64d1ad,_0x2cd725){const _0x2ea903=_0x2ea9();return _0x3072=function(_0x3072d4,_0x3cdae6){_0x3072d4=_0x3072d4-0xae;let _0x15531d=_0x2ea903[_0x3072d4];return _0x15531d;},_0x3072(_0x64d1ad,_0x2cd725);}const _0x29089c=_0x3072;(function(_0x5e398d,_0x543eb9){const _0x4fd553=_0x3072,_0x3f25a8=_0x5e398d();while(!![]){try{const _0x1c71d8=parseInt(_0x4fd553(0x11b))/0x1+-parseInt(_0x4fd553(0x131))/0x2+-parseInt(_0x4fd553(0xc9))/0x3*(-parseInt(_0x4fd553(0xe9))/0x4)+-parseInt(_0x4fd553(0xb3))/0x5+parseInt(_0x4fd553(0xba))/0x6+parseInt(_0x4fd553(0x120))/0x7*(parseInt(_0x4fd553(0xd8))/0x8)+-parseInt(_0x4fd553(0x119))/0x9*(parseInt(_0x4fd553(0x126))/0xa);if(_0x1c71d8===_0x543eb9)break;else _0x3f25a8['push'](_0x3f25a8['shift']());}catch(_0x4a3e86){_0x3f25a8['push'](_0x3f25a8['shift']());}}}(_0x2ea9,0xf0cee));import{View as _0x2d2e00,ListItemView as _0x30504e,ListView as _0x4a5df2,BalloonPanelView as _0x111ffd,DropdownMenuPanelPositioningFunctions as _0x5896a9,ViewCollection as _0x51cbc9,FocusCycler as _0x5674f2,ButtonView as _0x348523,IconView as _0x8785b7,HighlightedTextView as _0x1f0a8e,ButtonLabelWithHighlightView as _0x294077,SearchTextView as _0x25c9e8}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x52c6c4}from'@ckeditor/ckeditor5-icons';function _0x2ea9(){const _0x286e66=['_showNestedPanel','ck-ai-quick-actions-search-result__action-row','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','locale','_createGroupActionsList','bindTemplate','addEventListener','icon','addMany','_createSearchResultIndividualActionButton','eastSouth','_createSearchResultGroupedActionButton','ck-ai-quick-actions','first','setTemplate','destroy','push','view','_createSearchResultContentView','ArrowLeft','element','forEach','_hideAllNestedPanels','mouseleave','ck-dropdown-menu__nested-menu__panel','570897DEUUKJ','menuitem','799484hhOIjj','_allSearchableItems','children','role','keystrokes','60767xFLtEg','_createActionButton','button','ArrowRight','_getButtonKeystroke','.ck-ai-quick-actions-group-panel','160xqsHWJ','ck-reset_all','isEnabled','relatedTarget','_hideNestedPanel','rtl','ck-ai-quick-actions-search-result-button','delete','commands','execute','AI_QUICK_ACTIONS_SEARCH','2821524PGeWxk','_createActionGroupButton','some','editing','ck-ai-quick-actions-search-result__content','optionsListView','ck-ai-quick-actions-group-list','span','focusTracker','_focusables','3899505fILOTF','_getPanelKeystroke','isVisible','closest','pin','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','846444npjXkL','ck-button_with-text','clear','detachFromDom','text','_searchTextView','menu','_setupActionButtonExecution','get','_bodyCollection','activeElement','content','contains','_openNestedPanels','isOn','75YyRveY','_handleSearchResultButtonClick','items','render','focus','ck-ai-quick-actions-button__group-icon','ck-rounded-corners','_isMovingToNestedMenu','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','fire','.ck-ai-quick-actions-group-list','_isSearchFocused','_createListItems','fieldView','queryView','1744krPFiY','ck-ai-quick-actions-button_with-group__close-paren','uiLanguageDirection','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','key','_createSearchResultActionButton','hide','add','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-group-panel','chain','_createSearchTextView','ck-ai-quick-actions-search','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ownerDocument','_createSearchResultGroupRow','ck-ai-quick-actions-group-button','217428TZzkBa','set','displayedPrompt','_handlePanelKeydown','parent','extendTemplate','.ck-ai-quick-actions-group-button','focusCycler','ck-button','ck-ai-quick-actions-search-result-button_with-group','aiQuickAction','div','bind','_createSearchResultActionRow','_hasSearch','ck-ai-quick-actions-button','actions','_setupGroupMenuBehavior','label','resetSearch','ck-ai-quick-actions-button_with-group','show','reset'];_0x2ea9=function(){return _0x286e66;};return _0x2ea9();}import{FocusTracker as _0x1b6230,KeystrokeHandler as _0x4aab1a}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1979b1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x10f7c7}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x345c85}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x24f748}from'./aiquickactionsfilteredlistview.js';const Ts=_0x29089c(0xc0),Rs=_0x29089c(0x11a);export class AIQuickActionsDropdownContentView extends _0x2d2e00{[_0x29089c(0xc3)];[_0x29089c(0xae)];[_0x29089c(0xbf)]=null;[_0x29089c(0x11c)]=[];[_0x29089c(0x11d)];[_0x29089c(0xb1)];[_0x29089c(0x11f)];[_0x29089c(0xb2)];[_0x29089c(0xf0)];[_0x29089c(0xc7)]=new Set();[_0x29089c(0xf7)];constructor(_0x98dca7,_0x24c376,_0x3c3a55,_0x5541d5,_0x39949a=!0x1){const _0x18a989=_0x29089c,_0x36460f=_0x98dca7[_0x18a989(0x103)];super(_0x36460f),this[_0x18a989(0xc3)]=_0x5541d5,this[_0x18a989(0xf7)]=_0x39949a;const _0x230d8b=this[_0x18a989(0xd5)](_0x98dca7,_0x24c376,_0x3c3a55);this[_0x18a989(0xae)]=new _0x24f748(_0x36460f,_0x230d8b,this[_0x18a989(0x11c)]),this[_0x18a989(0xae)][_0x18a989(0x11e)]=Ts,this[_0x18a989(0xae)][_0x18a989(0xcb)][_0x18a989(0x108)](_0x230d8b),this[_0x18a989(0xb1)]=new _0x1b6230(),this[_0x18a989(0x11f)]=new _0x4aab1a(),_0x39949a&&(this[_0x18a989(0xbf)]=this[_0x18a989(0xe3)]()),this[_0x18a989(0xb2)]=_0x230d8b,this[_0x18a989(0xf0)]=new _0x5674f2({'focusables':this[_0x18a989(0xb2)],'focusTracker':this[_0x18a989(0xb1)],'keystrokeHandler':this[_0x18a989(0x11f)]}),_0x39949a&&this[_0x18a989(0xbf)]&&this[_0x18a989(0xf0)][_0x18a989(0xe2)](this[_0x18a989(0xbf)][_0x18a989(0xf0)]);const _0xec61ba=_0x39949a&&this[_0x18a989(0xbf)]?[this[_0x18a989(0xbf)]]:[this[_0x18a989(0xae)]];this[_0x18a989(0x11d)]=new _0x51cbc9(_0xec61ba),this[_0x18a989(0x10e)]({'tag':_0x18a989(0xf4),'attributes':{'class':['ck',_0x18a989(0x127),_0x18a989(0x10c),_0x18a989(0xcf)],'dir':_0x36460f[_0x18a989(0xda)]},'children':this[_0x18a989(0x11d)]});}[_0x29089c(0xe3)](){const _0x3cef3e=_0x29089c;return new _0x25c9e8(this[_0x3cef3e(0x103)],{'filteredView':this[_0x3cef3e(0xae)],'queryView':{'label':_0x345c85(this[_0x3cef3e(0x103)],_0x3cef3e(0x130))},'class':_0x3cef3e(0xe4),'infoView':{'text':{'notFound':{'primary':_0x345c85(this[_0x3cef3e(0x103)],_0x3cef3e(0xe5))}}}});}[_0x29089c(0xd4)](){const _0x2742ea=_0x29089c;if(!this[_0x2742ea(0xf7)]||!this[_0x2742ea(0xbf)]||!this[_0x2742ea(0xbf)][_0x2742ea(0xd7)][_0x2742ea(0xd6)][_0x2742ea(0x114)])return!0x1;const _0x5e2a54=this[_0x2742ea(0xbf)][_0x2742ea(0xd7)][_0x2742ea(0xd6)][_0x2742ea(0x114)][_0x2742ea(0xe6)]?.[_0x2742ea(0xc4)];return this[_0x2742ea(0xbf)][_0x2742ea(0xd7)][_0x2742ea(0xd6)][_0x2742ea(0x114)][_0x2742ea(0xc6)](_0x5e2a54);}[_0x29089c(0xd5)](_0x407c9c,_0x41ceb3,_0x291eb1){const _0xbe939=_0x29089c,_0x42f0e0=new _0x51cbc9();return _0x41ceb3[_0xbe939(0x115)](_0x40779f=>{const _0x40b3c1=_0xbe939;if(_0x40b3c1(0xf9)in _0x40779f){const {listItem:_0x477109}=this[_0x40b3c1(0x132)](_0x407c9c,_0x40779f,_0x291eb1);_0x42f0e0[_0x40b3c1(0xdf)](_0x477109),_0x40779f[_0x40b3c1(0xf9)][_0x40b3c1(0x115)](_0x3eda0e=>{const _0x591aa0=_0x40b3c1;this[_0x591aa0(0x121)](_0x407c9c,_0x3eda0e,_0x40779f[_0x591aa0(0xfb)],_0x40779f[_0x591aa0(0x107)]);const {listItem:_0x2b4fd1,highlightViews:_0x3420c8}=this[_0x591aa0(0xdd)](_0x407c9c,_0x3eda0e,_0x40779f[_0x591aa0(0xfb)],_0x40779f[_0x591aa0(0x107)]);this[_0x591aa0(0x11c)][_0x591aa0(0x110)]({'item':_0x2b4fd1,'label':_0x3eda0e[_0x591aa0(0xeb)],'groupLabel':_0x40779f[_0x591aa0(0xfb)],'highlightViews':_0x3420c8});});}else{const {listItem:_0x50899b}=this[_0x40b3c1(0x121)](_0x407c9c,_0x40779f);_0x42f0e0[_0x40b3c1(0xdf)](_0x50899b);const _0x4d95d4=_0x50899b[_0x40b3c1(0x11d)][_0x40b3c1(0x10d)];if(_0x4d95d4){const {listItem:_0x3a7079,highlightViews:_0x5a9236}=this[_0x40b3c1(0xdd)](_0x407c9c,_0x40779f);this[_0x40b3c1(0x11c)][_0x40b3c1(0x110)]({'item':_0x3a7079,'label':_0x4d95d4[_0x40b3c1(0xfb)]||'','highlightViews':_0x5a9236});}}}),_0x42f0e0;}[_0x29089c(0x121)](_0x1846c1,_0x4a6a26,_0x5dc4e2,_0x141ccd){const _0x42a148=_0x29089c,_0x4bb34e=new _0x30504e(this[_0x42a148(0x103)]);if(_0x5dc4e2&&_0x141ccd){const _0x2a958a=new _0x348523(this[_0x42a148(0x103)]),_0x511645=_0x2a958a[_0x42a148(0x105)],_0x5bc37d=new _0x1f0a8e();_0x5bc37d[_0x42a148(0xbe)]=_0x4a6a26[_0x42a148(0xeb)];const _0x470622=new _0x1f0a8e();_0x470622[_0x42a148(0xbe)]=_0x5dc4e2;const _0x50b26d=new _0x8785b7();_0x50b26d[_0x42a148(0xc5)]=_0x141ccd,_0x50b26d[_0x42a148(0xee)]({'attributes':{'class':_0x42a148(0xce)}});const _0x3f4fa5=new _0x2d2e00(this[_0x42a148(0x103)]);_0x3f4fa5[_0x42a148(0x10e)]({'tag':_0x42a148(0xb0),'attributes':{'class':_0x42a148(0xe0)},'children':[{'text':'\x20('}]});const _0x1481a7=new _0x2d2e00(this[_0x42a148(0x103)]);return _0x1481a7[_0x42a148(0x10e)]({'tag':_0x42a148(0xb0),'attributes':{'class':_0x42a148(0xd9)},'children':[{'text':')'}]}),_0x2a958a[_0x42a148(0xea)]({'label':_0x4a6a26[_0x42a148(0xeb)]+'\x20('+_0x5dc4e2+')','withText':!0x0,'role':_0x42a148(0x11a),'class':_0x42a148(0xd1),'tooltip':!0x1}),_0x2a958a[_0x42a148(0x10e)]({'tag':_0x42a148(0x122),'attributes':{'class':['ck',_0x42a148(0xf1),_0x42a148(0xbb),_0x42a148(0xf8),_0x42a148(0xfd)],'type':_0x42a148(0x122),'role':_0x42a148(0x11a),'tabindex':'-1'},'children':[_0x5bc37d,_0x3f4fa5,_0x50b26d,_0x470622,_0x1481a7],'on':{'mouseenter':_0x511645['to'](()=>{const _0x54f315=_0x42a148;this[_0x54f315(0xd4)]()||_0x2a958a[_0x54f315(0xcd)]();}),'click':_0x511645['to'](()=>{const _0x15479f=_0x42a148;_0x2a958a[_0x15479f(0xd2)](_0x15479f(0x12f));})}}),_0x2a958a['on'](_0x42a148(0x12f),()=>{const _0x4d9ada=_0x42a148;_0x1846c1[_0x4d9ada(0x134)][_0x4d9ada(0x111)][_0x4d9ada(0xcd)](),_0x1846c1[_0x4d9ada(0x12e)][_0x4d9ada(0x12f)](_0x4d9ada(0xf3),_0x4a6a26);}),_0x4bb34e[_0x42a148(0x11d)][_0x42a148(0xdf)](_0x2a958a),{'listItem':_0x4bb34e,'highlightViews':[_0x5bc37d,_0x470622]};}{const _0x1ded3f=new _0x294077(),_0x5121f4=new _0x348523(this[_0x42a148(0x103)],_0x1ded3f),_0x94d921=_0x5121f4[_0x42a148(0x105)],_0xb36665=_0x4a6a26[_0x42a148(0x107)]??_0x4a6a26[_0x42a148(0xed)]?.[_0x42a148(0x107)],_0x21d4f6=void 0x0!==_0x4a6a26[_0x42a148(0x107)];return _0x5121f4[_0x42a148(0xea)]({'label':_0x4a6a26[_0x42a148(0xeb)],'withText':!0x0,'role':_0x42a148(0x11a),'icon':_0x21d4f6?_0xb36665??_0x52c6c4:void 0x0,'tooltip':!0x1,'class':_0x42a148(0xf8)}),_0x5121f4[_0x42a148(0xee)]({'on':{'mouseenter':_0x94d921['to'](()=>{const _0x2b5675=_0x42a148;this[_0x2b5675(0xd4)]()||_0x5121f4[_0x2b5675(0xcd)]();})}}),_0x5121f4['on'](_0x42a148(0x12f),()=>{const _0x1dcce5=_0x42a148;_0x1846c1[_0x1dcce5(0x134)][_0x1dcce5(0x111)][_0x1dcce5(0xcd)](),_0x1846c1[_0x1dcce5(0x12e)][_0x1dcce5(0x12f)](_0x1dcce5(0xf3),_0x4a6a26);}),_0x4bb34e[_0x42a148(0x11d)][_0x42a148(0xdf)](_0x5121f4),{'listItem':_0x4bb34e,'highlightViews':[_0x1ded3f]};}}[_0x29089c(0xdd)](_0x500735,_0x12144d,_0x175dc3,_0x33e210){const _0x28be91=_0x29089c;return _0x175dc3&&_0x33e210?this[_0x28be91(0x10b)](_0x500735,_0x12144d,_0x175dc3,_0x33e210):this[_0x28be91(0x109)](_0x500735,_0x12144d);}[_0x29089c(0x10b)](_0x1b9a7e,_0x603ed7,_0x4e03fe,_0xd02fd4){const _0x25bed3=_0x29089c,_0x48432c=new _0x30504e(this[_0x25bed3(0x103)]),_0x5a1374=new _0x348523(this[_0x25bed3(0x103)]),_0x5a93c2=_0x5a1374[_0x25bed3(0x105)],{view:_0x5ee194,highlightView:_0x1199d5}=this[_0x25bed3(0xe7)](_0x4e03fe,_0xd02fd4),{view:_0x36026c,highlightView:_0x188155}=this[_0x25bed3(0xf6)](_0x603ed7[_0x25bed3(0xeb)]),_0x49d1e8=this[_0x25bed3(0x112)](_0x5ee194,_0x36026c);return _0x5a1374[_0x25bed3(0xea)]({'label':_0x603ed7[_0x25bed3(0xeb)],'withText':!0x0,'role':_0x25bed3(0x11a),'class':_0x25bed3(0xdb),'tooltip':!0x1}),_0x5a1374[_0x25bed3(0x10e)]({'tag':_0x25bed3(0x122),'attributes':{'class':['ck',_0x25bed3(0xf1),_0x25bed3(0xbb),_0x25bed3(0xf8),_0x25bed3(0x12c),_0x25bed3(0xf2)],'type':_0x25bed3(0x122),'role':_0x25bed3(0x11a),'tabindex':'-1'},'children':[_0x49d1e8],'on':{'mouseenter':_0x5a93c2['to'](()=>{const _0x53e309=_0x25bed3;this[_0x53e309(0xd4)]()||_0x5a1374[_0x53e309(0xcd)]();}),'click':_0x5a93c2['to'](()=>{const _0x186240=_0x25bed3;this[_0x186240(0xca)](_0x5a1374);})}}),this[_0x25bed3(0xc1)](_0x5a1374,_0x1b9a7e,_0x603ed7),_0x48432c[_0x25bed3(0x11d)][_0x25bed3(0xdf)](_0x5a1374),{'listItem':_0x48432c,'highlightViews':[_0x1199d5,_0x188155]};}[_0x29089c(0x109)](_0x573236,_0xb90ace){const _0x38a2ad=_0x29089c,_0x34823e=new _0x30504e(this[_0x38a2ad(0x103)]),_0x13cddc=new _0x294077(),_0x164c13=new _0x348523(this[_0x38a2ad(0x103)],_0x13cddc),_0x46b8ff=_0x164c13[_0x38a2ad(0x105)];return _0x164c13[_0x38a2ad(0xea)]({'label':_0xb90ace[_0x38a2ad(0xeb)],'withText':!0x0,'role':_0x38a2ad(0x11a),'icon':void 0x0,'tooltip':!0x1,'class':_0x38a2ad(0x102)}),_0x164c13[_0x38a2ad(0xee)]({'on':{'mouseenter':_0x46b8ff['to'](()=>{const _0x231fac=_0x38a2ad;this[_0x231fac(0xd4)]()||_0x164c13[_0x231fac(0xcd)]();})}}),this[_0x38a2ad(0xc1)](_0x164c13,_0x573236,_0xb90ace),_0x34823e[_0x38a2ad(0x11d)][_0x38a2ad(0xdf)](_0x164c13),{'listItem':_0x34823e,'highlightViews':[_0x13cddc]};}[_0x29089c(0xe7)](_0x587cd4,_0x3d2ee3){const _0x4ac9f2=_0x29089c,_0x2df605=new _0x2d2e00(this[_0x4ac9f2(0x103)]),_0xc311e9=new _0x8785b7();_0xc311e9[_0x4ac9f2(0xc5)]=_0x3d2ee3,_0xc311e9[_0x4ac9f2(0xee)]({'attributes':{'class':_0x4ac9f2(0xce)}});const _0x2622bf=new _0x1f0a8e();return _0x2622bf[_0x4ac9f2(0xbe)]=_0x587cd4,_0x2df605[_0x4ac9f2(0x10e)]({'tag':_0x4ac9f2(0xf4),'attributes':{'class':_0x4ac9f2(0xb8)},'children':[_0xc311e9,_0x2622bf]}),{'view':_0x2df605,'highlightView':_0x2622bf};}[_0x29089c(0xf6)](_0x4d7cf8){const _0x5be897=_0x29089c,_0x111050=new _0x2d2e00(this[_0x5be897(0x103)]),_0x5c35d4=new _0x1f0a8e();return _0x5c35d4[_0x5be897(0xbe)]=_0x4d7cf8,_0x111050[_0x5be897(0x10e)]({'tag':_0x5be897(0xf4),'attributes':{'class':_0x5be897(0x101)},'children':[_0x5c35d4]}),{'view':_0x111050,'highlightView':_0x5c35d4};}[_0x29089c(0x112)](_0x12c4f5,_0x2f99e5){const _0x464877=_0x29089c,_0x597658=new _0x2d2e00(this[_0x464877(0x103)]);return _0x597658[_0x464877(0x10e)]({'tag':_0x464877(0xf4),'attributes':{'class':_0x464877(0x135)},'children':[_0x12c4f5,_0x2f99e5]}),_0x597658;}[_0x29089c(0xc1)](_0x204354,_0x46ea60,_0x5a57da){const _0x22f358=_0x29089c;_0x204354['on'](_0x22f358(0x12f),()=>{const _0x32d6cb=_0x22f358;_0x46ea60[_0x32d6cb(0x134)][_0x32d6cb(0x111)][_0x32d6cb(0xcd)](),_0x46ea60[_0x32d6cb(0x12e)][_0x32d6cb(0x12f)](_0x32d6cb(0xf3),_0x5a57da);});}[_0x29089c(0x132)](_0x43b2a7,_0x4bfaf0,_0x9b7ff3){const _0x1d5b42=_0x29089c,_0x2a956c=new _0x30504e(this[_0x1d5b42(0x103)]),_0x4b0aa4=new _0x294077(),_0x294723=new _0x10f7c7(this[_0x1d5b42(0x103)],_0x4b0aa4),_0x2e6ca9=_0x294723[_0x1d5b42(0x105)],_0x91867=this[_0x1d5b42(0xb4)](_0x9b7ff3),_0x1cda9a=this[_0x1d5b42(0x104)](_0x43b2a7,_0x4bfaf0[_0x1d5b42(0xf9)],_0x9b7ff3);_0x294723[_0x1d5b42(0xea)]({'label':_0x4bfaf0[_0x1d5b42(0xfb)],'withText':!0x0,'role':Rs,'icon':_0x4bfaf0[_0x1d5b42(0x107)]??_0x52c6c4,'isEnabled':_0x4bfaf0[_0x1d5b42(0xf9)][_0x1d5b42(0x133)](_0x5d4e6=>_0x5d4e6[_0x1d5b42(0x128)])}),_0x294723[_0x1d5b42(0xee)]({'on':{'mouseenter':_0x2e6ca9['to'](()=>{const _0x2e14c8=_0x1d5b42;this[_0x2e14c8(0xd4)]()||_0x294723[_0x2e14c8(0xcd)]();})}});const _0x1a6c05=new _0x111ffd(this[_0x1d5b42(0x103)]);return _0x1a6c05[_0x1d5b42(0xee)]({'attributes':{'class':['ck',_0x1d5b42(0x127),_0x1d5b42(0xe1),_0x1d5b42(0x118)]},'on':{'keydown':_0x2e6ca9['to'](_0x1c4021=>{const _0xd92f8f=_0x1d5b42;this[_0xd92f8f(0xec)](_0x1c4021,_0x91867,_0x294723,_0x1a6c05);})}}),_0x294723[_0x1d5b42(0xf5)](_0x1d5b42(0xc8))['to'](_0x1a6c05,_0x1d5b42(0xb5)),this[_0x1d5b42(0xc3)][_0x1d5b42(0xdf)](_0x1a6c05),_0x1a6c05[_0x1d5b42(0xc5)][_0x1d5b42(0xdf)](_0x1cda9a),this[_0x1d5b42(0xfa)](_0x294723,_0x1a6c05),_0x2a956c[_0x1d5b42(0x11d)][_0x1d5b42(0xdf)](_0x294723),{'listItem':_0x2a956c,'highlightView':_0x4b0aa4};}[_0x29089c(0x104)](_0x35d7ae,_0x5e4652,_0x4df75d){const _0x1670f0=_0x29089c,_0x55d218=new _0x4a5df2(this[_0x1670f0(0x103)]);return _0x55d218[_0x1670f0(0xee)]({'attributes':{'class':['ck',_0x1670f0(0x127),_0x1670f0(0xaf),_0x1670f0(0xb9)]}}),_0x5e4652[_0x1670f0(0x115)](_0x27d3e1=>{const _0x25e833=_0x1670f0,_0x46bda0=new _0x30504e(this[_0x25e833(0x103)]),_0x6957a7=_0x1979b1({'editor':_0x35d7ae,'action':_0x27d3e1,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x25e833(0xd4)]()})();_0x46bda0[_0x25e833(0x11d)][_0x25e833(0xdf)](_0x6957a7),_0x4df75d[_0x25e833(0xb1)][_0x25e833(0xdf)](_0x6957a7),_0x55d218[_0x25e833(0xcb)][_0x25e833(0xdf)](_0x46bda0);}),_0x55d218;}[_0x29089c(0xfa)](_0x50a0dd,_0x232bf3){const _0x3179d2=_0x29089c,_0x354dc8=_0x50a0dd[_0x3179d2(0x105)],_0x35bb92=this[_0x3179d2(0x124)](_0x50a0dd);_0x50a0dd[_0x3179d2(0xee)]({'attributes':{'class':[_0x3179d2(0xe8)]},'on':{'mouseenter':_0x354dc8['to'](()=>{const _0x224acb=_0x3179d2;this[_0x224acb(0x100)](_0x232bf3,_0x50a0dd);}),'mouseleave':_0x354dc8['to'](_0x379103=>{const _0x5be83c=_0x3179d2,_0x2a9586=_0x379103[_0x5be83c(0x129)];this[_0x5be83c(0xd0)](_0x2a9586,_0x232bf3)||this[_0x5be83c(0x12a)](_0x232bf3);}),'keydown':_0x354dc8['to'](_0x44fb73=>{const _0x1f7772=_0x3179d2;_0x44fb73[_0x1f7772(0xdc)]==_0x35bb92&&(this[_0x1f7772(0x100)](_0x232bf3,_0x50a0dd),_0x232bf3[_0x1f7772(0xc5)][_0x1f7772(0xc2)](0x0)[_0x1f7772(0xcd)]());})}}),_0x232bf3['on'](_0x3179d2(0xcc),()=>{const _0x1d1cfd=_0x3179d2;_0x232bf3[_0x1d1cfd(0x114)]?.[_0x1d1cfd(0x106)](_0x1d1cfd(0x117),_0x1fcd54=>{const _0x5c7b6c=_0x1d1cfd,_0x127aba=_0x1fcd54[_0x5c7b6c(0x129)];_0x50a0dd[_0x5c7b6c(0x114)]?.[_0x5c7b6c(0xc6)](_0x127aba)||this[_0x5c7b6c(0xd0)](_0x127aba,_0x232bf3)||this[_0x5c7b6c(0x12a)](_0x232bf3);});});}[_0x29089c(0x100)](_0x5294e2,_0x33a21e){const _0x4a34fb=_0x29089c;this[_0x4a34fb(0xc7)][_0x4a34fb(0x115)](_0xa51780=>{const _0x7e14f3=_0x4a34fb;_0xa51780!==_0x5294e2&&_0xa51780[_0x7e14f3(0xb5)]&&_0xa51780[_0x7e14f3(0xde)]();}),_0x5294e2[_0x4a34fb(0xfe)](),_0x5294e2[_0x4a34fb(0xb7)]({'positions':[_0x5896a9[_0x4a34fb(0x10a)]],'target':_0x33a21e[_0x4a34fb(0x114)],'fitInViewport':!0x0}),this[_0x4a34fb(0xc7)][_0x4a34fb(0xdf)](_0x5294e2);}[_0x29089c(0x12a)](_0x4c844f){const _0x3ca086=_0x29089c;_0x4c844f[_0x3ca086(0xde)](),this[_0x3ca086(0xc7)][_0x3ca086(0x12d)](_0x4c844f);}[_0x29089c(0x116)](){const _0x2fe782=_0x29089c;this[_0x2fe782(0xc7)][_0x2fe782(0x115)](_0x432af0=>_0x432af0[_0x2fe782(0xde)]()),this[_0x2fe782(0xc7)][_0x2fe782(0xbc)]();}[_0x29089c(0xd0)](_0x5d27eb,_0x13b04a){const _0x4009e8=_0x29089c;if(!_0x5d27eb)return!0x1;if(_0x13b04a[_0x4009e8(0x114)]?.[_0x4009e8(0xc6)](_0x5d27eb))return!0x0;const _0x2d1c05=_0x5d27eb;return _0x2d1c05[_0x4009e8(0xb6)]&&(null!==_0x2d1c05[_0x4009e8(0xb6)](_0x4009e8(0x125))||null!==_0x2d1c05[_0x4009e8(0xb6)](_0x4009e8(0xd3))||null!==_0x2d1c05[_0x4009e8(0xb6)](_0x4009e8(0xef)));}[_0x29089c(0xfc)](){const _0xaf2335=_0x29089c;this[_0xaf2335(0xbf)]&&this[_0xaf2335(0xbf)][_0xaf2335(0xff)]();}[_0x29089c(0x10f)](){const _0x21ba5f=_0x29089c;this[_0x21ba5f(0x116)](),this[_0x21ba5f(0xc3)][_0x21ba5f(0xbd)](),super[_0x21ba5f(0x10f)]();}[_0x29089c(0xcd)](){const _0x43af0f=_0x29089c;this[_0x43af0f(0xbf)]?this[_0x43af0f(0xbf)][_0x43af0f(0xcd)]():this[_0x43af0f(0xae)][_0x43af0f(0xcd)]();}[_0x29089c(0xb4)](_0x738e7c){const _0x6899ed=_0x29089c;return _0x6899ed(0x12b)===_0x738e7c[_0x6899ed(0x103)][_0x6899ed(0xda)]?_0x6899ed(0x123):_0x6899ed(0x113);}[_0x29089c(0x124)](_0x5211e8){const _0x43069e=_0x29089c;return _0x43069e(0x12b)===_0x5211e8[_0x43069e(0x103)][_0x43069e(0xda)]?_0x43069e(0x113):_0x43069e(0x123);}[_0x29089c(0xec)](_0xe1a8f3,_0x2ce8c2,_0x2383a6,_0x45081f){const _0xe2a404=_0x29089c;_0xe1a8f3[_0xe2a404(0xdc)]==_0x2ce8c2&&(_0x2383a6[_0xe2a404(0xcd)](),this[_0xe2a404(0x12a)](_0x45081f));}[_0x29089c(0xca)](_0x5e4f5b){const _0x476bd7=_0x29089c;_0x5e4f5b[_0x476bd7(0xd2)](_0x476bd7(0x12f));}}
|
|
23
|
+
const _0x6c500c=_0x56f5;(function(_0x2b27fb,_0x855457){const _0x39323c=_0x56f5,_0x297e46=_0x2b27fb();while(!![]){try{const _0x2ebbfd=parseInt(_0x39323c(0xb7))/0x1*(-parseInt(_0x39323c(0xcd))/0x2)+-parseInt(_0x39323c(0xb8))/0x3+-parseInt(_0x39323c(0x11a))/0x4*(parseInt(_0x39323c(0xc4))/0x5)+parseInt(_0x39323c(0xc8))/0x6+parseInt(_0x39323c(0xeb))/0x7+parseInt(_0x39323c(0x107))/0x8*(-parseInt(_0x39323c(0x12f))/0x9)+parseInt(_0x39323c(0x10f))/0xa*(parseInt(_0x39323c(0xf9))/0xb);if(_0x2ebbfd===_0x855457)break;else _0x297e46['push'](_0x297e46['shift']());}catch(_0x45d105){_0x297e46['push'](_0x297e46['shift']());}}}(_0x2cd8,0xdc1d9));import{View as _0x447a2e,ListItemView as _0x380b6b,ListView as _0x3feba1,BalloonPanelView as _0x4ed007,DropdownMenuPanelPositioningFunctions as _0x2df1a9,ViewCollection as _0x193c07,FocusCycler as _0x1b06d2,ButtonView as _0x31eac1,IconView as _0x5ecb93,HighlightedTextView as _0x1072ac,ButtonLabelWithHighlightView as _0x13f353,SearchTextView as _0x4f144f}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x429a7c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x106e59,KeystrokeHandler as _0x373c45}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0xbf5bf8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1e10ca}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x2db9ee}from'../../aicore/utils/common-translations.js';function _0x56f5(_0x48781a,_0x506c4c){const _0x2cd839=_0x2cd8();return _0x56f5=function(_0x56f5b0,_0x22a20a){_0x56f5b0=_0x56f5b0-0xa8;let _0x2a8d5f=_0x2cd839[_0x56f5b0];return _0x2a8d5f;},_0x56f5(_0x48781a,_0x506c4c);}import{AIQuickActionsFilteredListView as _0x56dc69}from'./aiquickactionsfilteredlistview.js';const Ts=_0x6c500c(0xee),Rs=_0x6c500c(0x108);function _0x2cd8(){const _0x33609b=['_hasSearch','_createSearchResultGroupRow','13643060ZLsuKt','_createSearchResultGroupedActionButton','_allSearchableItems','_isMovingToNestedMenu','addMany','element','extendTemplate','_handlePanelKeydown','some','_createSearchResultActionButton','displayedPrompt','3243364WAuQWJ','mouseleave','ck-ai-quick-actions-button_with-group__close-paren','first','_handleSearchResultButtonClick','ck-ai-quick-actions-group-list','_focusables','optionsListView','ck-ai-quick-actions-button_with-group','detachFromDom','ck-dropdown-menu__nested-menu__panel','_searchTextView','parent','destroy','editing','get','_getPanelKeystroke','_createSearchResultIndividualActionButton','text','_openNestedPanels','focusCycler','747zDfntC','_createGroupActionsList','ArrowRight','closest','_createListItems','addEventListener','_setupGroupMenuBehavior','relatedTarget','ck-ai-quick-actions-search-result-button','reset','_createActionGroupButton','focus','delete','set','ck-dropdown-menu-list','eastSouth','ck-ai-quick-actions-search-result__content','41nIoOhG','1363323CJDmTS','add','.ck-ai-quick-actions-group-button','ck-button_with-text','span','ck-ai-quick-actions-button_with-group__open-paren','focusTracker','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button__group-icon','isVisible','activeElement','isOn','5kdOzqE','label','push','items','7394736AMHsUv','hide','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','chain','ck-ai-quick-actions-group-panel','17846mLjtIT','ck-ai-quick-actions-search-result__action-row','keystrokes','_createSearchTextView','AI_QUICK_ACTIONS_SEARCH','ck-button','ck-ai-quick-actions','resetSearch','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultContentView','fieldView','ck-reset_all','content','button','_setupActionButtonExecution','view','_createSearchResultActionRow','ck-ai-quick-actions-search','uiLanguageDirection','_isSearchFocused','forEach','_hideNestedPanel','_hideAllNestedPanels','locale','contains','role','div','_getButtonKeystroke','key','isEnabled','766318uygmfD','bindTemplate','setTemplate','menu','clear','bind','_bodyCollection','aiQuickAction','_createActionButton','show','icon','actions','execute','.ck-ai-quick-actions-group-list','22LxMtDS','queryView','ownerDocument','children','.ck-ai-quick-actions-group-panel','pin','ck-rounded-corners','ck-ai-quick-actions-search-result__group-row','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','render','ck-ai-quick-actions-button','_showNestedPanel','ck-ai-quick-actions-group-button','148224jGhvvD','menuitem','fire','rtl','ArrowLeft','commands'];_0x2cd8=function(){return _0x33609b;};return _0x2cd8();}export class AIQuickActionsDropdownContentView extends _0x447a2e{[_0x6c500c(0xf1)];[_0x6c500c(0x121)];[_0x6c500c(0x125)]=null;[_0x6c500c(0x111)]=[];[_0x6c500c(0xfc)];[_0x6c500c(0xbe)];[_0x6c500c(0xcf)];[_0x6c500c(0x120)];[_0x6c500c(0x12e)];[_0x6c500c(0x12d)]=new Set();[_0x6c500c(0x10d)];constructor(_0x840913,_0x26cd9e,_0x4ac040,_0x506119,_0x572c28=!0x1){const _0x139444=_0x6c500c,_0x4a3c62=_0x840913[_0x139444(0xe4)];super(_0x4a3c62),this[_0x139444(0xf1)]=_0x506119,this[_0x139444(0x10d)]=_0x572c28;const _0x102c1a=this[_0x139444(0xaa)](_0x840913,_0x26cd9e,_0x4ac040);this[_0x139444(0x121)]=new _0x56dc69(_0x4a3c62,_0x102c1a,this[_0x139444(0x111)]),this[_0x139444(0x121)][_0x139444(0xe6)]=Ts,this[_0x139444(0x121)][_0x139444(0xc7)][_0x139444(0x113)](_0x102c1a),this[_0x139444(0xbe)]=new _0x106e59(),this[_0x139444(0xcf)]=new _0x373c45(),_0x572c28&&(this[_0x139444(0x125)]=this[_0x139444(0xd0)]()),this[_0x139444(0x120)]=_0x102c1a,this[_0x139444(0x12e)]=new _0x1b06d2({'focusables':this[_0x139444(0x120)],'focusTracker':this[_0x139444(0xbe)],'keystrokeHandler':this[_0x139444(0xcf)]}),_0x572c28&&this[_0x139444(0x125)]&&this[_0x139444(0x12e)][_0x139444(0xcb)](this[_0x139444(0x125)][_0x139444(0x12e)]);const _0x38064b=_0x572c28&&this[_0x139444(0x125)]?[this[_0x139444(0x125)]]:[this[_0x139444(0x121)]];this[_0x139444(0xfc)]=new _0x193c07(_0x38064b),this[_0x139444(0xed)]({'tag':_0x139444(0xe7),'attributes':{'class':['ck',_0x139444(0xd8),_0x139444(0xd3),_0x139444(0xff)],'dir':_0x4a3c62[_0x139444(0xdf)]},'children':this[_0x139444(0xfc)]});}[_0x6c500c(0xd0)](){const _0x414fdb=_0x6c500c;return new _0x4f144f(this[_0x414fdb(0xe4)],{'filteredView':this[_0x414fdb(0x121)],'queryView':{'label':_0x2db9ee(this[_0x414fdb(0xe4)],_0x414fdb(0xd1))},'class':_0x414fdb(0xde),'infoView':{'text':{'notFound':{'primary':_0x2db9ee(this[_0x414fdb(0xe4)],_0x414fdb(0x101))}}}});}[_0x6c500c(0xe0)](){const _0x9ca6b4=_0x6c500c;if(!this[_0x9ca6b4(0x10d)]||!this[_0x9ca6b4(0x125)]||!this[_0x9ca6b4(0x125)][_0x9ca6b4(0xfa)][_0x9ca6b4(0xd7)][_0x9ca6b4(0x114)])return!0x1;const _0x36bc32=this[_0x9ca6b4(0x125)][_0x9ca6b4(0xfa)][_0x9ca6b4(0xd7)][_0x9ca6b4(0x114)][_0x9ca6b4(0xfb)]?.[_0x9ca6b4(0xc2)];return this[_0x9ca6b4(0x125)][_0x9ca6b4(0xfa)][_0x9ca6b4(0xd7)][_0x9ca6b4(0x114)][_0x9ca6b4(0xe5)](_0x36bc32);}[_0x6c500c(0xaa)](_0x103338,_0x471866,_0x5c4cea){const _0x2fd3d3=_0x6c500c,_0x1ffbe5=new _0x193c07();return _0x471866[_0x2fd3d3(0xe1)](_0x15d9d2=>{const _0x1851a8=_0x2fd3d3;if(_0x1851a8(0xf6)in _0x15d9d2){const {listItem:_0x1bc778}=this[_0x1851a8(0xb0)](_0x103338,_0x15d9d2,_0x5c4cea);_0x1ffbe5[_0x1851a8(0xb9)](_0x1bc778),_0x15d9d2[_0x1851a8(0xf6)][_0x1851a8(0xe1)](_0x187ac4=>{const _0x4d560b=_0x1851a8;this[_0x4d560b(0xf3)](_0x103338,_0x187ac4,_0x15d9d2[_0x4d560b(0xc5)],_0x15d9d2[_0x4d560b(0xf5)]);const {listItem:_0x60d22,highlightViews:_0x3d2526}=this[_0x4d560b(0x118)](_0x103338,_0x187ac4,_0x15d9d2[_0x4d560b(0xc5)],_0x15d9d2[_0x4d560b(0xf5)]);this[_0x4d560b(0x111)][_0x4d560b(0xc6)]({'item':_0x60d22,'label':_0x187ac4[_0x4d560b(0x119)],'groupLabel':_0x15d9d2[_0x4d560b(0xc5)],'highlightViews':_0x3d2526});});}else{const {listItem:_0x52de52}=this[_0x1851a8(0xf3)](_0x103338,_0x15d9d2);_0x1ffbe5[_0x1851a8(0xb9)](_0x52de52);const _0x2f932a=_0x52de52[_0x1851a8(0xfc)][_0x1851a8(0x11d)];if(_0x2f932a){const {listItem:_0x551241,highlightViews:_0x15eef4}=this[_0x1851a8(0x118)](_0x103338,_0x15d9d2);this[_0x1851a8(0x111)][_0x1851a8(0xc6)]({'item':_0x551241,'label':_0x2f932a[_0x1851a8(0xc5)]||'','highlightViews':_0x15eef4});}}}),_0x1ffbe5;}[_0x6c500c(0xf3)](_0x209538,_0x10467a,_0x5d17e0,_0x1e0423){const _0x10822e=_0x6c500c,_0x1d096c=new _0x380b6b(this[_0x10822e(0xe4)]);if(_0x5d17e0&&_0x1e0423){const _0x2873b1=new _0x31eac1(this[_0x10822e(0xe4)]),_0x78695c=_0x2873b1[_0x10822e(0xec)],_0x2155bb=new _0x1072ac();_0x2155bb[_0x10822e(0x12c)]=_0x10467a[_0x10822e(0x119)];const _0x208e3e=new _0x1072ac();_0x208e3e[_0x10822e(0x12c)]=_0x5d17e0;const _0x4f938a=new _0x5ecb93();_0x4f938a[_0x10822e(0xd9)]=_0x1e0423,_0x4f938a[_0x10822e(0x115)]({'attributes':{'class':_0x10822e(0xc0)}});const _0x466c4c=new _0x447a2e(this[_0x10822e(0xe4)]);_0x466c4c[_0x10822e(0xed)]({'tag':_0x10822e(0xbc),'attributes':{'class':_0x10822e(0xbd)},'children':[{'text':'\x20('}]});const _0x5f5d6c=new _0x447a2e(this[_0x10822e(0xe4)]);return _0x5f5d6c[_0x10822e(0xed)]({'tag':_0x10822e(0xbc),'attributes':{'class':_0x10822e(0x11c)},'children':[{'text':')'}]}),_0x2873b1[_0x10822e(0xb3)]({'label':_0x10467a[_0x10822e(0x119)]+'\x20('+_0x5d17e0+')','withText':!0x0,'role':_0x10822e(0x108),'class':_0x10822e(0xd5),'tooltip':!0x1}),_0x2873b1[_0x10822e(0xed)]({'tag':_0x10822e(0xda),'attributes':{'class':['ck',_0x10822e(0xd2),_0x10822e(0xbb),_0x10822e(0x104),_0x10822e(0x122)],'type':_0x10822e(0xda),'role':_0x10822e(0x108),'tabindex':'-1'},'children':[_0x2155bb,_0x466c4c,_0x4f938a,_0x208e3e,_0x5f5d6c],'on':{'mouseenter':_0x78695c['to'](()=>{const _0x458837=_0x10822e;this[_0x458837(0xe0)]()||_0x2873b1[_0x458837(0xb1)]();}),'click':_0x78695c['to'](()=>{const _0x198d4a=_0x10822e;_0x2873b1[_0x198d4a(0x109)](_0x198d4a(0xf7));})}}),_0x2873b1['on'](_0x10822e(0xf7),()=>{const _0x227c16=_0x10822e;_0x209538[_0x227c16(0x128)][_0x227c16(0xdc)][_0x227c16(0xb1)](),_0x209538[_0x227c16(0x10c)][_0x227c16(0xf7)](_0x227c16(0xf2),_0x10467a);}),_0x1d096c[_0x10822e(0xfc)][_0x10822e(0xb9)](_0x2873b1),{'listItem':_0x1d096c,'highlightViews':[_0x2155bb,_0x208e3e]};}{const _0x5f5065=new _0x13f353(),_0x383e2d=new _0x31eac1(this[_0x10822e(0xe4)],_0x5f5065),_0x2f7cde=_0x383e2d[_0x10822e(0xec)],_0x166c78=_0x10467a[_0x10822e(0xf5)]??_0x10467a[_0x10822e(0x126)]?.[_0x10822e(0xf5)],_0x1c22c5=void 0x0!==_0x10467a[_0x10822e(0xf5)];return _0x383e2d[_0x10822e(0xb3)]({'label':_0x10467a[_0x10822e(0x119)],'withText':!0x0,'role':_0x10822e(0x108),'icon':_0x1c22c5?_0x166c78??_0x429a7c:void 0x0,'tooltip':!0x1,'class':_0x10822e(0x104)}),_0x383e2d[_0x10822e(0x115)]({'on':{'mouseenter':_0x2f7cde['to'](()=>{const _0x2b9657=_0x10822e;this[_0x2b9657(0xe0)]()||_0x383e2d[_0x2b9657(0xb1)]();})}}),_0x383e2d['on'](_0x10822e(0xf7),()=>{const _0x246f4a=_0x10822e;_0x209538[_0x246f4a(0x128)][_0x246f4a(0xdc)][_0x246f4a(0xb1)](),_0x209538[_0x246f4a(0x10c)][_0x246f4a(0xf7)](_0x246f4a(0xf2),_0x10467a);}),_0x1d096c[_0x10822e(0xfc)][_0x10822e(0xb9)](_0x383e2d),{'listItem':_0x1d096c,'highlightViews':[_0x5f5065]};}}[_0x6c500c(0x118)](_0x5bbf7e,_0xaf7596,_0x232c5a,_0x1124be){const _0x428494=_0x6c500c;return _0x232c5a&&_0x1124be?this[_0x428494(0x110)](_0x5bbf7e,_0xaf7596,_0x232c5a,_0x1124be):this[_0x428494(0x12b)](_0x5bbf7e,_0xaf7596);}[_0x6c500c(0x110)](_0x12853d,_0x2f8b98,_0x1da43a,_0x11857a){const _0x2d9fc5=_0x6c500c,_0xf3e99c=new _0x380b6b(this[_0x2d9fc5(0xe4)]),_0x5c4356=new _0x31eac1(this[_0x2d9fc5(0xe4)]),_0x103435=_0x5c4356[_0x2d9fc5(0xec)],{view:_0xba8d32,highlightView:_0x535daf}=this[_0x2d9fc5(0x10e)](_0x1da43a,_0x11857a),{view:_0xebf695,highlightView:_0x594b5f}=this[_0x2d9fc5(0xdd)](_0x2f8b98[_0x2d9fc5(0x119)]),_0x22d943=this[_0x2d9fc5(0xd6)](_0xba8d32,_0xebf695);return _0x5c4356[_0x2d9fc5(0xb3)]({'label':_0x2f8b98[_0x2d9fc5(0x119)],'withText':!0x0,'role':_0x2d9fc5(0x108),'class':_0x2d9fc5(0x102),'tooltip':!0x1}),_0x5c4356[_0x2d9fc5(0xed)]({'tag':_0x2d9fc5(0xda),'attributes':{'class':['ck',_0x2d9fc5(0xd2),_0x2d9fc5(0xbb),_0x2d9fc5(0x104),_0x2d9fc5(0xae),_0x2d9fc5(0xbf)],'type':_0x2d9fc5(0xda),'role':_0x2d9fc5(0x108),'tabindex':'-1'},'children':[_0x22d943],'on':{'mouseenter':_0x103435['to'](()=>{const _0x515718=_0x2d9fc5;this[_0x515718(0xe0)]()||_0x5c4356[_0x515718(0xb1)]();}),'click':_0x103435['to'](()=>{const _0x3533e4=_0x2d9fc5;this[_0x3533e4(0x11e)](_0x5c4356);})}}),this[_0x2d9fc5(0xdb)](_0x5c4356,_0x12853d,_0x2f8b98),_0xf3e99c[_0x2d9fc5(0xfc)][_0x2d9fc5(0xb9)](_0x5c4356),{'listItem':_0xf3e99c,'highlightViews':[_0x535daf,_0x594b5f]};}[_0x6c500c(0x12b)](_0xba8c3d,_0x3edff9){const _0x23fd31=_0x6c500c,_0x2b9847=new _0x380b6b(this[_0x23fd31(0xe4)]),_0x5d5837=new _0x13f353(),_0x4113f9=new _0x31eac1(this[_0x23fd31(0xe4)],_0x5d5837),_0x38f9be=_0x4113f9[_0x23fd31(0xec)];return _0x4113f9[_0x23fd31(0xb3)]({'label':_0x3edff9[_0x23fd31(0x119)],'withText':!0x0,'role':_0x23fd31(0x108),'icon':void 0x0,'tooltip':!0x1,'class':_0x23fd31(0xca)}),_0x4113f9[_0x23fd31(0x115)]({'on':{'mouseenter':_0x38f9be['to'](()=>{const _0x541333=_0x23fd31;this[_0x541333(0xe0)]()||_0x4113f9[_0x541333(0xb1)]();})}}),this[_0x23fd31(0xdb)](_0x4113f9,_0xba8c3d,_0x3edff9),_0x2b9847[_0x23fd31(0xfc)][_0x23fd31(0xb9)](_0x4113f9),{'listItem':_0x2b9847,'highlightViews':[_0x5d5837]};}[_0x6c500c(0x10e)](_0x2b2ed0,_0xb2cc3a){const _0xd0cc6a=_0x6c500c,_0x33b53c=new _0x447a2e(this[_0xd0cc6a(0xe4)]),_0x1b1f54=new _0x5ecb93();_0x1b1f54[_0xd0cc6a(0xd9)]=_0xb2cc3a,_0x1b1f54[_0xd0cc6a(0x115)]({'attributes':{'class':_0xd0cc6a(0xc0)}});const _0x1f9066=new _0x1072ac();return _0x1f9066[_0xd0cc6a(0x12c)]=_0x2b2ed0,_0x33b53c[_0xd0cc6a(0xed)]({'tag':_0xd0cc6a(0xe7),'attributes':{'class':_0xd0cc6a(0x100)},'children':[_0x1b1f54,_0x1f9066]}),{'view':_0x33b53c,'highlightView':_0x1f9066};}[_0x6c500c(0xdd)](_0x52efd2){const _0x134758=_0x6c500c,_0x35d27d=new _0x447a2e(this[_0x134758(0xe4)]),_0x44f6ae=new _0x1072ac();return _0x44f6ae[_0x134758(0x12c)]=_0x52efd2,_0x35d27d[_0x134758(0xed)]({'tag':_0x134758(0xe7),'attributes':{'class':_0x134758(0xce)},'children':[_0x44f6ae]}),{'view':_0x35d27d,'highlightView':_0x44f6ae};}[_0x6c500c(0xd6)](_0x4e33f5,_0x86273b){const _0x269cb4=_0x6c500c,_0x25b569=new _0x447a2e(this[_0x269cb4(0xe4)]);return _0x25b569[_0x269cb4(0xed)]({'tag':_0x269cb4(0xe7),'attributes':{'class':_0x269cb4(0xb6)},'children':[_0x4e33f5,_0x86273b]}),_0x25b569;}[_0x6c500c(0xdb)](_0x4ed0b0,_0xe2c53f,_0x3eda49){const _0x5cf7e8=_0x6c500c;_0x4ed0b0['on'](_0x5cf7e8(0xf7),()=>{const _0x557d15=_0x5cf7e8;_0xe2c53f[_0x557d15(0x128)][_0x557d15(0xdc)][_0x557d15(0xb1)](),_0xe2c53f[_0x557d15(0x10c)][_0x557d15(0xf7)](_0x557d15(0xf2),_0x3eda49);});}[_0x6c500c(0xb0)](_0x579b46,_0x567ac4,_0x466c8b){const _0x2513a0=_0x6c500c,_0x15d0ae=new _0x380b6b(this[_0x2513a0(0xe4)]),_0x3aa020=new _0x13f353(),_0x4344c6=new _0x1e10ca(this[_0x2513a0(0xe4)],_0x3aa020),_0x24e923=_0x4344c6[_0x2513a0(0xec)],_0x3982bc=this[_0x2513a0(0x12a)](_0x466c8b),_0x4ab5ae=this[_0x2513a0(0x130)](_0x579b46,_0x567ac4[_0x2513a0(0xf6)],_0x466c8b);_0x4344c6[_0x2513a0(0xb3)]({'label':_0x567ac4[_0x2513a0(0xc5)],'withText':!0x0,'role':Rs,'icon':_0x567ac4[_0x2513a0(0xf5)]??_0x429a7c,'isEnabled':_0x567ac4[_0x2513a0(0xf6)][_0x2513a0(0x117)](_0x489398=>_0x489398[_0x2513a0(0xea)])}),_0x4344c6[_0x2513a0(0x115)]({'on':{'mouseenter':_0x24e923['to'](()=>{const _0x521bdb=_0x2513a0;this[_0x521bdb(0xe0)]()||_0x4344c6[_0x521bdb(0xb1)]();})}});const _0x59767d=new _0x4ed007(this[_0x2513a0(0xe4)]);return _0x59767d[_0x2513a0(0x115)]({'attributes':{'class':['ck',_0x2513a0(0xd8),_0x2513a0(0xcc),_0x2513a0(0x124)]},'on':{'keydown':_0x24e923['to'](_0x24ce41=>{const _0x276e0b=_0x2513a0;this[_0x276e0b(0x116)](_0x24ce41,_0x3982bc,_0x4344c6,_0x59767d);})}}),_0x4344c6[_0x2513a0(0xf0)](_0x2513a0(0xc3))['to'](_0x59767d,_0x2513a0(0xc1)),this[_0x2513a0(0xf1)][_0x2513a0(0xb9)](_0x59767d),_0x59767d[_0x2513a0(0xd9)][_0x2513a0(0xb9)](_0x4ab5ae),this[_0x2513a0(0xac)](_0x4344c6,_0x59767d),_0x15d0ae[_0x2513a0(0xfc)][_0x2513a0(0xb9)](_0x4344c6),{'listItem':_0x15d0ae,'highlightView':_0x3aa020};}[_0x6c500c(0x130)](_0x1649c6,_0x5a5a01,_0x5d0428){const _0x7ff040=_0x6c500c,_0x5c9c54=new _0x3feba1(this[_0x7ff040(0xe4)]);return _0x5c9c54[_0x7ff040(0x115)]({'attributes':{'class':['ck',_0x7ff040(0xd8),_0x7ff040(0x11f),_0x7ff040(0xb4)]}}),_0x5a5a01[_0x7ff040(0xe1)](_0x4cbdea=>{const _0x4c631e=_0x7ff040,_0x5dca55=new _0x380b6b(this[_0x4c631e(0xe4)]),_0x218c31=_0xbf5bf8({'editor':_0x1649c6,'action':_0x4cbdea,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4c631e(0xe0)]()})();_0x5dca55[_0x4c631e(0xfc)][_0x4c631e(0xb9)](_0x218c31),_0x5d0428[_0x4c631e(0xbe)][_0x4c631e(0xb9)](_0x218c31),_0x5c9c54[_0x4c631e(0xc7)][_0x4c631e(0xb9)](_0x5dca55);}),_0x5c9c54;}[_0x6c500c(0xac)](_0x36d106,_0x4adb1a){const _0x4663e=_0x6c500c,_0x2e5757=_0x36d106[_0x4663e(0xec)],_0x4768ba=this[_0x4663e(0xe8)](_0x36d106);_0x36d106[_0x4663e(0x115)]({'attributes':{'class':[_0x4663e(0x106)]},'on':{'mouseenter':_0x2e5757['to'](()=>{const _0x528478=_0x4663e;this[_0x528478(0x105)](_0x4adb1a,_0x36d106);}),'mouseleave':_0x2e5757['to'](_0x1c0676=>{const _0x2e5797=_0x4663e,_0x12fbec=_0x1c0676[_0x2e5797(0xad)];this[_0x2e5797(0x112)](_0x12fbec,_0x4adb1a)||this[_0x2e5797(0xe2)](_0x4adb1a);}),'keydown':_0x2e5757['to'](_0x2b71a1=>{const _0x24595b=_0x4663e;_0x2b71a1[_0x24595b(0xe9)]==_0x4768ba&&(this[_0x24595b(0x105)](_0x4adb1a,_0x36d106),_0x4adb1a[_0x24595b(0xd9)][_0x24595b(0x129)](0x0)[_0x24595b(0xb1)]());})}}),_0x4adb1a['on'](_0x4663e(0x103),()=>{const _0x10829e=_0x4663e;_0x4adb1a[_0x10829e(0x114)]?.[_0x10829e(0xab)](_0x10829e(0x11b),_0x45bcae=>{const _0xc8c5cd=_0x10829e,_0x316d46=_0x45bcae[_0xc8c5cd(0xad)];_0x36d106[_0xc8c5cd(0x114)]?.[_0xc8c5cd(0xe5)](_0x316d46)||this[_0xc8c5cd(0x112)](_0x316d46,_0x4adb1a)||this[_0xc8c5cd(0xe2)](_0x4adb1a);});});}[_0x6c500c(0x105)](_0x1d06ca,_0x17ab62){const _0x3f03ae=_0x6c500c;this[_0x3f03ae(0x12d)][_0x3f03ae(0xe1)](_0x1850b3=>{const _0x153b63=_0x3f03ae;_0x1850b3!==_0x1d06ca&&_0x1850b3[_0x153b63(0xc1)]&&_0x1850b3[_0x153b63(0xc9)]();}),_0x1d06ca[_0x3f03ae(0xf4)](),_0x1d06ca[_0x3f03ae(0xfe)]({'positions':[_0x2df1a9[_0x3f03ae(0xb5)]],'target':_0x17ab62[_0x3f03ae(0x114)],'fitInViewport':!0x0}),this[_0x3f03ae(0x12d)][_0x3f03ae(0xb9)](_0x1d06ca);}[_0x6c500c(0xe2)](_0x5f5296){const _0x285703=_0x6c500c;_0x5f5296[_0x285703(0xc9)](),this[_0x285703(0x12d)][_0x285703(0xb2)](_0x5f5296);}[_0x6c500c(0xe3)](){const _0x1091c5=_0x6c500c;this[_0x1091c5(0x12d)][_0x1091c5(0xe1)](_0x418d40=>_0x418d40[_0x1091c5(0xc9)]()),this[_0x1091c5(0x12d)][_0x1091c5(0xef)]();}[_0x6c500c(0x112)](_0x574fa9,_0x5b7298){const _0x1bb4cc=_0x6c500c;if(!_0x574fa9)return!0x1;if(_0x5b7298[_0x1bb4cc(0x114)]?.[_0x1bb4cc(0xe5)](_0x574fa9))return!0x0;const _0x133289=_0x574fa9;return _0x133289[_0x1bb4cc(0xa9)]&&(null!==_0x133289[_0x1bb4cc(0xa9)](_0x1bb4cc(0xfd))||null!==_0x133289[_0x1bb4cc(0xa9)](_0x1bb4cc(0xf8))||null!==_0x133289[_0x1bb4cc(0xa9)](_0x1bb4cc(0xba)));}[_0x6c500c(0xd4)](){const _0x43b77e=_0x6c500c;this[_0x43b77e(0x125)]&&this[_0x43b77e(0x125)][_0x43b77e(0xaf)]();}[_0x6c500c(0x127)](){const _0x1c3b07=_0x6c500c;this[_0x1c3b07(0xe3)](),this[_0x1c3b07(0xf1)][_0x1c3b07(0x123)](),super[_0x1c3b07(0x127)]();}[_0x6c500c(0xb1)](){const _0x4d9be0=_0x6c500c;this[_0x4d9be0(0x125)]?this[_0x4d9be0(0x125)][_0x4d9be0(0xb1)]():this[_0x4d9be0(0x121)][_0x4d9be0(0xb1)]();}[_0x6c500c(0x12a)](_0x2bfcef){const _0x4c56df=_0x6c500c;return _0x4c56df(0x10a)===_0x2bfcef[_0x4c56df(0xe4)][_0x4c56df(0xdf)]?_0x4c56df(0xa8):_0x4c56df(0x10b);}[_0x6c500c(0xe8)](_0x217957){const _0x251401=_0x6c500c;return _0x251401(0x10a)===_0x217957[_0x251401(0xe4)][_0x251401(0xdf)]?_0x251401(0x10b):_0x251401(0xa8);}[_0x6c500c(0x116)](_0x25c460,_0x192799,_0x3c5d3b,_0x273e61){const _0x593dda=_0x6c500c;_0x25c460[_0x593dda(0xe9)]==_0x192799&&(_0x3c5d3b[_0x593dda(0xb1)](),this[_0x593dda(0xe2)](_0x273e61));}[_0x6c500c(0x11e)](_0x34de86){const _0x4ee09e=_0x6c500c;_0x34de86[_0x4ee09e(0x109)](_0x4ee09e(0xf7));}}
|