@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2972(_0x381db3,_0x1d593b){const _0xa075f0=_0xa075();return _0x2972=function(_0x297217,_0x2c3977){_0x297217=_0x297217-0xd9;let _0x6b43e=_0xa075f0[_0x297217];return _0x6b43e;},_0x2972(_0x381db3,_0x1d593b);}const _0x5f0cb1=_0x2972;(function(_0x1b1bd0,_0x1231e3){const _0x5b6dd1=_0x2972,_0x3e2bf0=_0x1b1bd0();while(!![]){try{const _0x105bb3=-parseInt(_0x5b6dd1(0xf3))/0x1*(-parseInt(_0x5b6dd1(0xda))/0x2)+parseInt(_0x5b6dd1(0x10e))/0x3+-parseInt(_0x5b6dd1(0x105))/0x4+parseInt(_0x5b6dd1(0x10b))/0x5+-parseInt(_0x5b6dd1(0x10d))/0x6+parseInt(_0x5b6dd1(0xf4))/0x7+parseInt(_0x5b6dd1(0xf5))/0x8*(parseInt(_0x5b6dd1(0xeb))/0x9);if(_0x105bb3===_0x1231e3)break;else _0x3e2bf0['push'](_0x3e2bf0['shift']());}catch(_0x41991b){_0x3e2bf0['push'](_0x3e2bf0['shift']());}}}(_0xa075,0x25478));import _0x56713d from'morphdom';import{NodeWithChildren as _0xab6dba,Text as _0x3a8b96,Element as _0x24accd,isText as _0x302bbe,isDocument as _0x576df8,isTag as _0x522a2d,cloneNode as _0x3723c3,getChildren as _0x5d029f,prepend as _0x42d82f,removeElement as _0x3e3dfb,textContent as _0x3b37a9,render as _0xaa08ce}from'./htmlparser.js';export class HTMLStreamer{[_0x5f0cb1(0xf8)];[_0x5f0cb1(0x109)]=!0x1;[_0x5f0cb1(0x102)]=null;[_0x5f0cb1(0xe9)]=[];[_0x5f0cb1(0xe8)]=0x0;[_0x5f0cb1(0xea)]=null;[_0x5f0cb1(0x112)]=0x0;constructor(_0x51a989){const _0x44f05e=_0x5f0cb1;this[_0x44f05e(0xf8)]={'delay':_0x51a989[_0x44f05e(0xe3)]??0x14,'textNodeStyle':_0x51a989[_0x44f05e(0xe2)],'onStreamUpdate':_0x51a989[_0x44f05e(0xef)]||(()=>{})};}async[_0x5f0cb1(0xfa)]({document:_0x57ef71,targetElement:_0x3461be,abortSignal:_0xa7fa26}){const _0x2393ce=_0x5f0cb1;this[_0x2393ce(0x109)]&&this[_0x2393ce(0xfb)](),_0xa7fa26?.[_0x2393ce(0xde)](_0x2393ce(0x111),this[_0x2393ce(0xfb)][_0x2393ce(0xdf)](this)),this[_0x2393ce(0x102)]=_0x3723c3(_0x57ef71,!0x0),this[_0x2393ce(0xe9)]=this[_0x2393ce(0x113)](),this[_0x2393ce(0x109)]=!0x0,this[_0x2393ce(0xe8)]>this[_0x2393ce(0xe9)][_0x2393ce(0xe6)]&&(this[_0x2393ce(0xe8)]=this[_0x2393ce(0xe9)][_0x2393ce(0xe6)]);for(let _0x314219=0x0;_0x314219<this[_0x2393ce(0xe8)];_0x314219++)this[_0x2393ce(0xe9)][_0x314219][_0x2393ce(0x104)]=!0x0;do{const _0x75db62=Date[_0x2393ce(0xe7)](),_0x5ecef5=this[_0x2393ce(0xe9)][this[_0x2393ce(0xe8)]],_0x2f63b1=_0x75db62-this[_0x2393ce(0x112)];if(_0x5ecef5){_0x5ecef5[_0x2393ce(0x104)]=!0x0;let _0x5df105=_0x5ecef5[_0x2393ce(0x101)];for(;_0x5df105;)_0x5df105[_0x2393ce(0x104)]=!0x0,_0x5df105=_0x5df105[_0x2393ce(0x101)];}if(_0x2f63b1<this[_0x2393ce(0xf8)][_0x2393ce(0xe3)])try{const {promise:_0x2978e5,abortController:_0x48539d}=Os(this[_0x2393ce(0xf8)][_0x2393ce(0xe3)]-_0x2f63b1);this[_0x2393ce(0xea)]=_0x48539d,await _0x2978e5;}catch(_0xf3ff1){return;}_0x56713d(_0x3461be,'<'+_0x3461be[_0x2393ce(0xf2)]+'>'+this[_0x2393ce(0x106)](this[_0x2393ce(0x102)])+'</'+_0x3461be[_0x2393ce(0xf2)]+'>',{'childrenOnly':!0x0}),this[_0x2393ce(0xf8)][_0x2393ce(0xef)]&&this[_0x2393ce(0xf8)][_0x2393ce(0xef)](),this[_0x2393ce(0xe8)]++,this[_0x2393ce(0x112)]=Date[_0x2393ce(0xe7)]();}while(this[_0x2393ce(0xe8)]<this[_0x2393ce(0xe9)][_0x2393ce(0xe6)]);this[_0x2393ce(0xe8)]=this[_0x2393ce(0xe9)][_0x2393ce(0xe6)],this[_0x2393ce(0x109)]=!0x1;}[_0x5f0cb1(0xe1)](){const _0x2eaa94=_0x5f0cb1;this[_0x2eaa94(0x109)]=!0x1,this[_0x2eaa94(0x102)]=null,this[_0x2eaa94(0xe9)]=[],this[_0x2eaa94(0xe8)]=0x0,this[_0x2eaa94(0xea)]=null;}[_0x5f0cb1(0xdd)]({targetElement:_0x55f228}){const _0x33de3d=_0x5f0cb1;Array[_0x33de3d(0xf0)](_0x55f228[_0x33de3d(0xf6)](_0x33de3d(0x100)))[_0x33de3d(0xdb)]()[_0x33de3d(0xf9)](_0x2a3ade=>{const _0x4b7f7a=_0x33de3d;_0x2a3ade[_0x4b7f7a(0xff)](_0x2a3ade[_0x4b7f7a(0x107)][0x0]);});}[_0x5f0cb1(0xfb)](){const _0xb38a45=_0x5f0cb1;this[_0xb38a45(0x109)]=!0x1,this[_0xb38a45(0xea)]&&(this[_0xb38a45(0xea)][_0xb38a45(0x111)](),this[_0xb38a45(0xea)]=null);}[_0x5f0cb1(0x106)](_0x5ceaaf){const _0x374082=_0x5f0cb1;let _0x26b148='';if(function(_0x19f421){return _0x576df8(_0x19f421);}(_0x5ceaaf)){for(const _0x38d569 of _0x5ceaaf[_0x374082(0xe0)])_0x26b148+=this[_0x374082(0x106)](_0x38d569);}else{if(Ls(_0x5ceaaf)){if(!_0x5ceaaf[_0x374082(0x104)])return'';const _0x34f511=_0x5ceaaf,_0x238e73=Object[_0x374082(0xd9)](_0x34f511[_0x374082(0x108)])[_0x374082(0x103)](([_0x140db3,_0x4e89ba])=>_0x140db3+'=\x22'+_0x4e89ba+'\x22')[_0x374082(0xec)]('\x20');_0x26b148+='<'+_0x34f511[_0x374082(0xf2)]+(_0x238e73?'\x20'+_0x238e73:'')+'>';for(const _0x27bbe4 of _0x5d029f(_0x34f511))_0x26b148+=this[_0x374082(0x106)](_0x27bbe4);_0x26b148+='</'+_0x34f511[_0x374082(0xf2)]+'>';}else{if(!Ts(_0x5ceaaf))return'';if(!_0x5ceaaf[_0x374082(0x104)])return'';!function(_0x16a181){const _0x2645a0=_0x374082;if(!_0x16a181[_0x2645a0(0x101)]||!Ls(_0x16a181[_0x2645a0(0x101)]))return!0x1;if(!ys[_0x2645a0(0xdc)](_0x16a181[_0x2645a0(0x101)][_0x2645a0(0xf2)]))return!0x1;return!_0x3b37a9(_0x16a181)[_0x2645a0(0x10a)](/^\s*[<>]\s*$/);}(_0x5ceaaf)?_0x26b148+=_0xaa08ce(_0x5ceaaf):_0x26b148+=_0xaa08ce(new _0x24accd(_0x374082(0xe5),{'data-ck-html-streamer-word-chunk':'','style':this[_0x374082(0xf8)][_0x374082(0xe2)]},[_0x5ceaaf]));}}return _0x26b148;}[_0x5f0cb1(0x113)](){const _0x59943b=_0x5f0cb1,_0x85ca58=[];return function(_0x3723b8,_0x52020e){const _0x413927=_0x2972,_0x2468ba=_0x15cdee=>{const _0x2ffffa=_0x2972;if(_0x52020e(_0x15cdee),_0x15cdee instanceof _0xab6dba)for(let _0x53596a=0x0;_0x53596a<_0x15cdee[_0x2ffffa(0xe0)][_0x2ffffa(0xe6)];_0x53596a++){const _0x3ea53a=_0x15cdee[_0x2ffffa(0xe0)][_0x53596a];_0x2468ba(_0x3ea53a);}};for(let _0x1e4df4=0x0;_0x1e4df4<_0x3723b8[_0x413927(0xe0)][_0x413927(0xe6)];_0x1e4df4++)_0x2468ba(_0x3723b8[_0x413927(0xe0)][_0x1e4df4]);}(this[_0x59943b(0x102)],_0x2cbb92=>{const _0x31806b=_0x59943b;if(Ts(_0x2cbb92)){const _0x150b50=this[_0x31806b(0xe4)](_0x2cbb92);_0x150b50[_0x31806b(0xe6)]&&_0x85ca58[_0x31806b(0x114)](..._0x150b50);}_0x2cbb92[_0x31806b(0x10c)]||_0x2cbb92[_0x31806b(0xfd)]||_0x85ca58[_0x31806b(0x114)](_0x2cbb92);}),_0x85ca58;}[_0x5f0cb1(0xe4)](_0x11a9e4){const _0x29094d=_0x5f0cb1;if(_0x11a9e4[_0x29094d(0x10c)]||_0x11a9e4[_0x29094d(0xfd)])return[];const _0x32d64b=_0x3b37a9(_0x11a9e4)[_0x29094d(0x10a)](/(?:\s*\S+\s*)/g),_0x1d8a8d=[];if(_0x32d64b&&_0x32d64b[_0x29094d(0xe6)]>0x1){for(const _0x5ea503 of _0x32d64b){const _0x23f293=new _0x3a8b96(_0x5ea503);_0x23f293[_0x29094d(0xfd)]=!0x0,_0x42d82f(_0x11a9e4,_0x23f293),_0x1d8a8d[_0x29094d(0x114)](_0x23f293);}_0x11a9e4[_0x29094d(0x10c)]=!0x0,_0x3e3dfb(_0x11a9e4);}return _0x1d8a8d;}}const ys=['p','li','td','th',_0x5f0cb1(0xe5),'h1','h2','h3','h4','h5','h6','b',_0x5f0cb1(0xee),'i','em',_0x5f0cb1(0xfc),_0x5f0cb1(0xfe),_0x5f0cb1(0xed),_0x5f0cb1(0x110),_0x5f0cb1(0x115),'a',_0x5f0cb1(0xf7),_0x5f0cb1(0x10f)];function _0xa075(){const _0x2d83be=['parent','document','map','shouldBeStreamed','856040HUWyWi','renderNode','childNodes','attribs','isStreaming','match','173950mvgXkS','isWordSplitSource','1008024KMpini','102048vIOYaT','div','sup','abort','lastUpdateTime','getParsedDocumentNodeList','push','sub','entries','2aooFkK','reverse','includes','cleanUpAnimations','addEventListener','bind','children','reset','textNodeStyle','delay','splitTextNodeIntoWordNodes','span','length','now','currentIndex','nodesList','timeoutAbortController','9eoPPJe','join','ins','strong','onStreamUpdate','from','signal','tagName','99129Nacear','812798FfMcGt','2005288JjgRVG','querySelectorAll','code','options','forEach','stream','stop','mark','isWordSplitResult','del','replaceWith','span[data-ck-html-streamer-word-chunk]'];_0xa075=function(){return _0x2d83be;};return _0xa075();}function Ts(_0x473b2){return _0x302bbe(_0x473b2);}function Ls(_0x117f9a){return _0x522a2d(_0x117f9a);}function Os(_0x2aae9d){const _0x153b2e=new AbortController();return{'promise':new Promise((_0x2ae286,_0x2f2ab6)=>{const _0xb8c1e0=_0x2972,_0x5b82b4=setTimeout(_0x2ae286,_0x2aae9d);_0x153b2e[_0xb8c1e0(0xf1)][_0xb8c1e0(0xde)](_0xb8c1e0(0x111),()=>{clearTimeout(_0x5b82b4),_0x2f2ab6();});}),'abortController':_0x153b2e};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x21d8ea=_0x500f;(function(_0x9b3d26,_0xa64007){const _0x5a1b10=_0x500f,_0x5e276d=_0x9b3d26();while(!![]){try{const _0x113e57=parseInt(_0x5a1b10(0xb6))/0x1+-parseInt(_0x5a1b10(0xba))/0x2*(-parseInt(_0x5a1b10(0xcb))/0x3)+parseInt(_0x5a1b10(0xcc))/0x4+parseInt(_0x5a1b10(0xd8))/0x5*(-parseInt(_0x5a1b10(0xbd))/0x6)+parseInt(_0x5a1b10(0xc7))/0x7*(parseInt(_0x5a1b10(0xbc))/0x8)+parseInt(_0x5a1b10(0xca))/0x9+-parseInt(_0x5a1b10(0xb2))/0xa;if(_0x113e57===_0xa64007)break;else _0x5e276d['push'](_0x5e276d['shift']());}catch(_0x5ae129){_0x5e276d['push'](_0x5e276d['shift']());}}}(_0x1a99,0x1b9a4));const Fs=[_0x21d8ea(0xc5),_0x21d8ea(0xc2),_0x21d8ea(0xb7),_0x21d8ea(0xd2)],qs=[_0x21d8ea(0xb9),_0x21d8ea(0xb3),_0x21d8ea(0xcd),_0x21d8ea(0xb4),_0x21d8ea(0xd4),_0x21d8ea(0xb1),'\x20'];export class ScrollManager{[_0x21d8ea(0xd5)];[_0x21d8ea(0xc6)];[_0x21d8ea(0xaf)];[_0x21d8ea(0xc9)];[_0x21d8ea(0xb5)];constructor(_0x3b6671){const _0x3e2aab=_0x21d8ea;this[_0x3e2aab(0xd5)]=_0x3b6671,this[_0x3e2aab(0xc6)]=null,this[_0x3e2aab(0xaf)]=!0x1,this[_0x3e2aab(0xc9)]=new AbortController(),this[_0x3e2aab(0xb5)]=!0x1;for(const _0x51d511 of Fs){const _0x4e837c=_0x3e2aab(0xd2)!==_0x51d511;this[_0x3e2aab(0xd5)][_0x3e2aab(0xd1)](_0x51d511,this[_0x3e2aab(0xce)][_0x3e2aab(0xc3)](this),{'passive':_0x4e837c,'signal':this[_0x3e2aab(0xc9)][_0x3e2aab(0xd7)]});}}[_0x21d8ea(0xc4)](){const _0x555f9e=_0x21d8ea;this[_0x555f9e(0xaf)]||(this[_0x555f9e(0xaf)]=!0x0,this[_0x555f9e(0xb5)]=!0x1,this[_0x555f9e(0xc6)]=requestAnimationFrame(this[_0x555f9e(0xb8)][_0x555f9e(0xc3)](this)));}[_0x21d8ea(0xd3)](){requestAnimationFrame(()=>{const _0x5dabd8=_0x500f;this[_0x5dabd8(0xc0)]();});}[_0x21d8ea(0xd9)](){const _0x2f840f=_0x21d8ea;this[_0x2f840f(0xc0)](),this[_0x2f840f(0xc9)][_0x2f840f(0xd0)]();}[_0x21d8ea(0xc0)](){const _0x114ebd=_0x21d8ea;null!==this[_0x114ebd(0xc6)]&&(cancelAnimationFrame(this[_0x114ebd(0xc6)]),this[_0x114ebd(0xc6)]=null),this[_0x114ebd(0xaf)]&&(this[_0x114ebd(0xaf)]=!0x1),this[_0x114ebd(0xb5)]=!0x1;}[_0x21d8ea(0xce)](_0x417eb8){const _0x3f227a=_0x21d8ea;if(this[_0x3f227a(0xaf)]){if(_0x3f227a(0xd2)===_0x417eb8[_0x3f227a(0xbe)]){const _0x155360=_0x417eb8[_0x3f227a(0xc8)];if(!qs[_0x3f227a(0xd6)](_0x155360))return;}_0x417eb8 instanceof WheelEvent?_0x417eb8[_0x3f227a(0xb0)]<0x0?this[_0x3f227a(0xb5)]=!0x0:this[_0x3f227a(0xb5)]=!this[_0x3f227a(0xcf)]():this[_0x3f227a(0xb5)]=!0x0;}}[_0x21d8ea(0xcf)](){const _0x24321e=_0x21d8ea,{scrollTop:_0x4fead0,scrollHeight:_0x33e00a,clientHeight:_0x488b45}=this[_0x24321e(0xd5)];return _0x33e00a-_0x4fead0-_0x488b45<=0x5;}[_0x21d8ea(0xb8)](){const _0x504442=_0x21d8ea;this[_0x504442(0xaf)]&&(this[_0x504442(0xb5)]||this[_0x504442(0xd5)][_0x504442(0xbb)]({'top':this[_0x504442(0xd5)][_0x504442(0xc1)],'behavior':_0x504442(0xbf)}),this[_0x504442(0xc6)]=requestAnimationFrame(this[_0x504442(0xb8)][_0x504442(0xc3)](this)));}}function _0x500f(_0x54ae01,_0x255794){const _0x1a993c=_0x1a99();return _0x500f=function(_0x500fb7,_0xde8d5b){_0x500fb7=_0x500fb7-0xaf;let _0x235f19=_0x1a993c[_0x500fb7];return _0x235f19;},_0x500f(_0x54ae01,_0x255794);}function _0x1a99(){const _0x5e412d=['key','abortController','1638009JxYCEN','440037txrJzU','631180LyfpMz','PageUp','_onUserEvent','_isAtBottom','abort','addEventListener','keydown','stop','Home','element','includes','signal','10ZGGzPz','destroy','isRunning','deltaY','End','3648820uXiUYZ','ArrowDown','PageDown','isUserPaused','128353cvdafE','pointerdown','_rafUpdate','ArrowUp','2bcOGrp','scrollTo','1880KyMAve','489618Hrccad','type','auto','_stop','scrollHeight','touchstart','bind','start','wheel','animationFrameId','784RoRtQS'];_0x1a99=function(){return _0x5e412d;};return _0x1a99();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x18cd(){var _0x17cd8a=['15xFqZRi','requires','AIEditorIntegration','isPremiumPlugin','371944pFfOdN','pluginName','20886tqUoQN','1785684ZCsdfl','isOfficialPlugin','227227pocxPj','208zAMEVm','7985709ArMqum','13hnMriD','1491730NiEmiX','11rGpCnV','18CtOPZe','62cdhhXv','7407660TFfdbH'];_0x18cd=function(){return _0x17cd8a;};return _0x18cd();}var _0x50dda9=_0x5bf4;(function(_0x5b67b2,_0x5c3a61){var _0x5c480d=_0x5bf4,_0x52fd59=_0x5b67b2();while(!![]){try{var _0x3eac57=parseInt(_0x5c480d(0x148))/0x1*(parseInt(_0x5c480d(0x150))/0x2)+-parseInt(_0x5c480d(0x147))/0x3*(parseInt(_0x5c480d(0x14e))/0x4)+-parseInt(_0x5c480d(0x14a))/0x5*(-parseInt(_0x5c480d(0x13f))/0x6)+-parseInt(_0x5c480d(0x141))/0x7*(-parseInt(_0x5c480d(0x142))/0x8)+-parseInt(_0x5c480d(0x143))/0x9+-parseInt(_0x5c480d(0x145))/0xa*(-parseInt(_0x5c480d(0x146))/0xb)+-parseInt(_0x5c480d(0x149))/0xc*(parseInt(_0x5c480d(0x144))/0xd);if(_0x3eac57===_0x5c3a61)break;else _0x52fd59['push'](_0x52fd59['shift']());}catch(_0x4eb0fa){_0x52fd59['push'](_0x52fd59['shift']());}}}(_0x18cd,0x72fa1));import{Plugin as _0x4c9c6c}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x5c9ce1}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x712640}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x3a3110}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5bf4(_0x1b85d9,_0x46b501){var _0x18cd6c=_0x18cd();return _0x5bf4=function(_0x5bf4eb,_0xed6064){_0x5bf4eb=_0x5bf4eb-0x13f;var _0x3ae53a=_0x18cd6c[_0x5bf4eb];return _0x3ae53a;},_0x5bf4(_0x1b85d9,_0x46b501);}export class AIEditorIntegration extends _0x4c9c6c{static get[_0x50dda9(0x14b)](){return[_0x5c9ce1,_0x712640,_0x3a3110];}static get[_0x50dda9(0x14f)](){var _0x20c80a=_0x50dda9;return _0x20c80a(0x14c);}static get[_0x50dda9(0x140)](){return!0x0;}static get[_0x50dda9(0x14d)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x472c1e=_0x4e84;(function(_0x1ee6ab,_0x3ea720){const _0x425d2a=_0x4e84,_0x47dbb4=_0x1ee6ab();while(!![]){try{const _0x378aa0=-parseInt(_0x425d2a(0x124))/0x1*(parseInt(_0x425d2a(0x11c))/0x2)+-parseInt(_0x425d2a(0x112))/0x3*(parseInt(_0x425d2a(0x11e))/0x4)+parseInt(_0x425d2a(0x134))/0x5*(-parseInt(_0x425d2a(0x122))/0x6)+-parseInt(_0x425d2a(0x125))/0x7+-parseInt(_0x425d2a(0x121))/0x8+-parseInt(_0x425d2a(0x131))/0x9*(-parseInt(_0x425d2a(0x11a))/0xa)+parseInt(_0x425d2a(0x11f))/0xb;if(_0x378aa0===_0x3ea720)break;else _0x47dbb4['push'](_0x47dbb4['shift']());}catch(_0x36e1e3){_0x47dbb4['push'](_0x47dbb4['shift']());}}}(_0x1c2d,0x1eafb));import{Plugin as _0x348263}from'ckeditor5/src/core.js';function _0x1c2d(){const _0x3fb9fd=['22012CxxLHs','8282307deLWgR','menuBar:toggleAi','676648KfulYV','12TQKTVg','ck-ai-toggle-button','502NPYqfH','1249899kKzqdU','commands','isPremiumPlugin','AIToggleButtonUI','AI_TOGGLE_BUTTON_LABEL','bind','menuitemcheckbox','get','listenTo','_createAIUIButton','editor','toggleAi','1045881rEmSrn','isEnabled','requires','128270cWPGcR','locale','111Tbfaae','componentFactory','set','execute','add','isOn','value','init','10FYKBCE','isOfficialPlugin','898epsVTn','pluginName'];_0x1c2d=function(){return _0x3fb9fd;};return _0x1c2d();}import{ToggleAICommand as _0x5b7dc4}from'./toggleaicommand.js';import{ButtonView as _0x114fab,MenuBarMenuListItemButtonView as _0x4cc146}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x5a890f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3def43}from'../../aicore/utils/common-translations.js';import{AITabs as _0x281104}from'../../aitabs/aitabs.js';function _0x4e84(_0x23859d,_0x2e90eb){const _0x1c2d43=_0x1c2d();return _0x4e84=function(_0x4e84b5,_0x55910e){_0x4e84b5=_0x4e84b5-0x111;let _0x554e80=_0x1c2d43[_0x4e84b5];return _0x554e80;},_0x4e84(_0x23859d,_0x2e90eb);}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x348263{static get[_0x472c1e(0x133)](){return[_0x281104];}static get[_0x472c1e(0x11d)](){const _0x1503be=_0x472c1e;return _0x1503be(0x128);}static get[_0x472c1e(0x11b)](){return!0x0;}static get[_0x472c1e(0x127)](){return!0x0;}[_0x472c1e(0x119)](){const _0x45867d=_0x472c1e,_0x501943=this[_0x45867d(0x12f)];_0x501943[_0x45867d(0x126)][_0x45867d(0x116)](_0x45867d(0x130),new _0x5b7dc4(_0x501943)),_0x501943['ui'][_0x45867d(0x113)][_0x45867d(0x116)](_0x45867d(0x130),()=>{const _0x257138=_0x45867d,_0x3a6fb7=this[_0x257138(0x12e)](_0x114fab);return _0x3a6fb7[_0x257138(0x114)]({'tooltip':!0x0,'class':_0x257138(0x123)}),_0x3a6fb7;}),_0x501943['ui'][_0x45867d(0x113)][_0x45867d(0x116)](_0x45867d(0x120),()=>{const _0x56c3f1=_0x45867d,_0x4602c6=this[_0x56c3f1(0x12e)](_0x4cc146);return _0x4602c6[_0x56c3f1(0x114)]({'role':_0x56c3f1(0x12b)}),_0x4602c6;});}[_0x472c1e(0x12e)](_0x222876){const _0x23e30a=_0x472c1e,_0x183924=this[_0x23e30a(0x12f)],_0x4be5d4=_0x183924[_0x23e30a(0x126)][_0x23e30a(0x12c)](_0x23e30a(0x130)),_0x48a67f=new _0x222876(_0x183924[_0x23e30a(0x111)]);return _0x48a67f[_0x23e30a(0x114)]({'label':_0x3def43(_0x183924[_0x23e30a(0x111)],_0x23e30a(0x129)),'icon':_0x5a890f,'isToggleable':!0x0}),_0x48a67f[_0x23e30a(0x12a)](_0x23e30a(0x132))['to'](_0x4be5d4),_0x48a67f[_0x23e30a(0x12a)](_0x23e30a(0x117))['to'](_0x4be5d4,_0x23e30a(0x118),_0x280561=>!!_0x280561),this[_0x23e30a(0x12d)](_0x48a67f,_0x23e30a(0x115),()=>{const _0x35b828=_0x23e30a;_0x4be5d4[_0x35b828(0x115)]();}),_0x48a67f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x523558=_0x1ca2;function _0x1ca2(_0x25e126,_0x33c57e){const _0x34aaa3=_0x34aa();return _0x1ca2=function(_0x1ca218,_0xeacfce){_0x1ca218=_0x1ca218-0x68;let _0x29f967=_0x34aaa3[_0x1ca218];return _0x29f967;},_0x1ca2(_0x25e126,_0x33c57e);}function _0x34aa(){const _0x5f0c73=['1413012wQntGP','565308KyEOWb','editor','bind','isEnabled','isVisible','AITabs','176284rLWOyy','value','3324528WhQPzc','execute','357639rFpPEL','plugins','7oghSUH','2474896Pkyddf','3WxBUZT','1216815fRdaun','view','get'];_0x34aa=function(){return _0x5f0c73;};return _0x34aa();}(function(_0x4e8c40,_0x569e76){const _0x5bb9b1=_0x1ca2,_0x56805a=_0x4e8c40();while(!![]){try{const _0xa49968=-parseInt(_0x5bb9b1(0x79))/0x1+parseInt(_0x5bb9b1(0x75))/0x2+parseInt(_0x5bb9b1(0x6a))/0x3*(-parseInt(_0x5bb9b1(0x6e))/0x4)+parseInt(_0x5bb9b1(0x6b))/0x5+-parseInt(_0x5bb9b1(0x6f))/0x6+parseInt(_0x5bb9b1(0x68))/0x7*(parseInt(_0x5bb9b1(0x69))/0x8)+parseInt(_0x5bb9b1(0x77))/0x9;if(_0xa49968===_0x569e76)break;else _0x56805a['push'](_0x56805a['shift']());}catch(_0x4af528){_0x56805a['push'](_0x56805a['shift']());}}}(_0x34aa,0x3215d));import{Command as _0x5cee0c}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x5cee0c{constructor(_0x3f9015){const _0x384630=_0x1ca2;super(_0x3f9015);const _0x391d9e=_0x3f9015[_0x384630(0x7a)][_0x384630(0x6d)](_0x384630(0x74))[_0x384630(0x6c)];this[_0x384630(0x71)](_0x384630(0x76))['to'](_0x391d9e,_0x384630(0x73)),this[_0x384630(0x72)]=!0x0;}[_0x523558(0x78)](){const _0x2ad51a=_0x523558,_0x4509a0=this[_0x2ad51a(0x70)][_0x2ad51a(0x7a)][_0x2ad51a(0x6d)](_0x2ad51a(0x74))[_0x2ad51a(0x6c)];_0x4509a0[_0x2ad51a(0x73)]=!_0x4509a0[_0x2ad51a(0x73)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x43a7(){var _0x166d64=['1505054ghGZpw','2618934yYKfPA','3569544FaXmmA','AIQuickActions','1154484zzzrRP','12152390tMiYzS','config','pluginName','isOfficialPlugin','2824516eDhyto','define','1eCnEvH','isPremiumPlugin','requires','21jjzCLa','126696koAQkM','ai.quickActions','10LUhvFX'];_0x43a7=function(){return _0x166d64;};return _0x43a7();}var _0x21e7fa=_0x58cd;(function(_0x229f43,_0x9a485a){var _0x18d915=_0x58cd,_0xcf5f83=_0x229f43();while(!![]){try{var _0x499697=-parseInt(_0x18d915(0x153))/0x1*(parseInt(_0x18d915(0x148))/0x2)+parseInt(_0x18d915(0x149))/0x3+-parseInt(_0x18d915(0x151))/0x4+parseInt(_0x18d915(0x147))/0x5*(parseInt(_0x18d915(0x14c))/0x6)+-parseInt(_0x18d915(0x144))/0x7*(parseInt(_0x18d915(0x145))/0x8)+-parseInt(_0x18d915(0x14a))/0x9+parseInt(_0x18d915(0x14d))/0xa;if(_0x499697===_0x9a485a)break;else _0xcf5f83['push'](_0xcf5f83['shift']());}catch(_0x269fbc){_0xcf5f83['push'](_0xcf5f83['shift']());}}}(_0x43a7,0x8b396));import{Plugin as _0x33bdfc}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x27dfda}from'./aiquickactionsui.js';function _0x58cd(_0x441564,_0x4991e6){var _0x43a7d3=_0x43a7();return _0x58cd=function(_0x58cd2b,_0x582287){_0x58cd2b=_0x58cd2b-0x144;var _0x4ecf0e=_0x43a7d3[_0x58cd2b];return _0x4ecf0e;},_0x58cd(_0x441564,_0x4991e6);}import{AIQuickActionsEditing as _0x59b519}from'./aiquickactionsediting.js';import{AIActions as _0x4652ae}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x33bdfc{static get[_0x21e7fa(0x155)](){return[_0x27dfda,_0x59b519,_0x4652ae];}static get[_0x21e7fa(0x14f)](){var _0x260bf2=_0x21e7fa;return _0x260bf2(0x14b);}static get[_0x21e7fa(0x150)](){return!0x0;}static get[_0x21e7fa(0x154)](){return!0x0;}constructor(_0x16b26d){var _0xf5437e=_0x21e7fa;super(_0x16b26d),_0x16b26d[_0xf5437e(0x14e)][_0xf5437e(0x152)](_0xf5437e(0x146),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5086fd=_0x6e1e;(function(_0x4d366c,_0x562d4c){const _0x3375de=_0x6e1e,_0x50fb62=_0x4d366c();while(!![]){try{const _0x2fc647=-parseInt(_0x3375de(0x17e))/0x1+-parseInt(_0x3375de(0x195))/0x2*(-parseInt(_0x3375de(0x198))/0x3)+-parseInt(_0x3375de(0x185))/0x4+-parseInt(_0x3375de(0x16e))/0x5+-parseInt(_0x3375de(0x190))/0x6+-parseInt(_0x3375de(0x18a))/0x7*(-parseInt(_0x3375de(0x180))/0x8)+parseInt(_0x3375de(0x178))/0x9;if(_0x2fc647===_0x562d4c)break;else _0x50fb62['push'](_0x50fb62['shift']());}catch(_0x217330){_0x50fb62['push'](_0x50fb62['shift']());}}}(_0x2805,0x3deed));import{Command as _0x9277de}from'ckeditor5/src/core.js';function _0x6e1e(_0x168db6,_0x316862){const _0x280511=_0x2805();return _0x6e1e=function(_0x6e1e73,_0x5c0e55){_0x6e1e73=_0x6e1e73-0x15b;let _0x180adb=_0x280511[_0x6e1e73];return _0x180adb;},_0x6e1e(_0x168db6,_0x316862);}import{CKEditorError as _0x23c43e,first as _0xa56940}from'ckeditor5/src/utils.js';function _0x2805(){const _0x561646=['addSelectionToChatContext','change','_handleAIActionsActionLabel','removeSelectionFromChatContext','log','executeAction','model','locale','focusPromptInput','editor','AIChat','sendMessage','_handleAIReviewAction','isCollapsed','AIReviewMode','type','ai-quick-actions-plugin-not-found','1744380cwprzE','CHAT','document','getLimitElement','icon','REVIEW','activateTab','AIActions','execute','label','8820180MaFkWy','isVisible','actionName','setSelection','ACTION','startConversation','376070vLPlwS','_expandSelectionIfCollapsed','1720vBrqha','chat','activeTab','handleAIReviewAction','AITabs','886160bOfIOn','view','args','_handleAIChatAction','plugins','1603KNPqHt','ask-ai','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','has','get','selection','565056CDENOV','AIChatController','schema','_handleAIActionsAction','other','2yCdhOo','prompt','getSelectedBlocks','795252eYVStG','displayedPrompt','parent'];_0x2805=function(){return _0x561646;};return _0x2805();}import{AIQuickActionType as _0x52b3ec}from'./aiquickactionsui.js';import{getTranslation as _0x30ae75}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x9277de{[_0x5086fd(0x176)](_0xa53267){const _0x12e9a2=_0x5086fd;switch(this[_0x12e9a2(0x17f)](),_0xa53267[_0x12e9a2(0x16c)]){case _0x52b3ec[_0x12e9a2(0x16f)]:if(!this[_0x12e9a2(0x166)][_0x12e9a2(0x189)][_0x12e9a2(0x18d)](_0x12e9a2(0x167))){const _0x28b687=_0x30ae75(this[_0x12e9a2(0x166)][_0x12e9a2(0x164)],_0x12e9a2(0x18c),_0x12e9a2(0x167));throw new _0x23c43e(_0x12e9a2(0x16d),this[_0x12e9a2(0x166)],{'errorMessage':_0x28b687});}this[_0x12e9a2(0x188)](_0xa53267);break;case _0x52b3ec[_0x12e9a2(0x17c)]:if(!this[_0x12e9a2(0x166)][_0x12e9a2(0x189)][_0x12e9a2(0x18d)](_0x12e9a2(0x175))){const _0x1e0da1=_0x30ae75(this[_0x12e9a2(0x166)][_0x12e9a2(0x164)],_0x12e9a2(0x18c),_0x12e9a2(0x175));throw new _0x23c43e(_0x12e9a2(0x16d),this[_0x12e9a2(0x166)],{'errorMessage':_0x1e0da1});}this[_0x12e9a2(0x193)](_0xa53267);break;case _0x52b3ec[_0x12e9a2(0x173)]:if(!this[_0x12e9a2(0x166)][_0x12e9a2(0x189)][_0x12e9a2(0x18d)](_0x12e9a2(0x16b))){const _0x385f55=_0x30ae75(this[_0x12e9a2(0x166)][_0x12e9a2(0x164)],_0x12e9a2(0x18c),_0x12e9a2(0x16b));throw new _0x23c43e(_0x12e9a2(0x16d),this[_0x12e9a2(0x166)],{'errorMessage':_0x385f55});}this[_0x12e9a2(0x169)](_0xa53267);}}async[_0x5086fd(0x188)](_0x25fa4f){const _0x5c2289=_0x5086fd,_0x12d8b2=this[_0x5c2289(0x166)][_0x5c2289(0x189)][_0x5c2289(0x18e)](_0x5c2289(0x167)),_0x1a8d31=this[_0x5c2289(0x166)][_0x5c2289(0x189)][_0x5c2289(0x18e)](_0x5c2289(0x191)),_0x59a625=this[_0x5c2289(0x166)][_0x5c2289(0x189)][_0x5c2289(0x18e)](_0x5c2289(0x184))[_0x5c2289(0x186)];if(_0x59a625[_0x5c2289(0x179)]||(_0x59a625[_0x5c2289(0x179)]=!0x0),_0x5c2289(0x181)!==_0x59a625[_0x5c2289(0x182)]&&_0x59a625[_0x5c2289(0x174)](_0x5c2289(0x181)),_0x5c2289(0x18b)===_0x25fa4f['id'])_0x1a8d31[_0x5c2289(0x160)](),await _0x12d8b2[_0x5c2289(0x15d)](),_0x12d8b2[_0x5c2289(0x165)]();else await _0x12d8b2[_0x5c2289(0x17d)](),_0x1a8d31[_0x5c2289(0x160)](),await _0x12d8b2[_0x5c2289(0x15d)](),_0x12d8b2[_0x5c2289(0x165)](),await _0x12d8b2[_0x5c2289(0x168)]({'message':_0x25fa4f[_0x5c2289(0x196)]||_0x25fa4f[_0x5c2289(0x15b)],'attributes':{'quickActionData':{'id':_0x25fa4f['id']},'displayedPrompt':_0x25fa4f[_0x5c2289(0x15b)]}});}[_0x5086fd(0x17f)](){const _0x1644be=_0x5086fd,_0x16ae8b=this[_0x1644be(0x166)],_0x5dd7ca=_0x16ae8b[_0x1644be(0x163)][_0x1644be(0x170)][_0x1644be(0x18f)];if(!_0x5dd7ca[_0x1644be(0x16a)])return;const _0x1af7fa=_0xa56940(_0x5dd7ca[_0x1644be(0x197)]())||_0x16ae8b[_0x1644be(0x163)][_0x1644be(0x192)][_0x1644be(0x171)](_0x5dd7ca);_0x16ae8b[_0x1644be(0x163)][_0x1644be(0x15e)](_0x526c28=>{const _0x48e450=_0x1644be;_0x526c28[_0x48e450(0x17b)](_0x1af7fa,'in');});}[_0x5086fd(0x15f)](_0x3e3093){const _0x5c004a=_0x5086fd;return _0x3e3093[_0x5c004a(0x15c)]?.[_0x5c004a(0x177)]&&_0x5c004a(0x194)!==_0x3e3093[_0x5c004a(0x15c)]?.['id']?_0x3e3093[_0x5c004a(0x15c)][_0x5c004a(0x177)]+':\x20'+_0x3e3093[_0x5c004a(0x15b)]:_0x3e3093[_0x5c004a(0x15b)];}async[_0x5086fd(0x193)](_0x5b5930){const _0x5ebff0=_0x5086fd,_0x1ee01f=this[_0x5ebff0(0x166)][_0x5ebff0(0x189)][_0x5ebff0(0x18e)](_0x5ebff0(0x175)),_0x2eaaed=_0x5b5930[_0x5ebff0(0x196)]?{'userMessage':_0x5b5930[_0x5ebff0(0x196)],'model':_0x5b5930[_0x5ebff0(0x163)]}:{'actionName':_0x5b5930[_0x5ebff0(0x17a)]||_0x5b5930['id'],'args':_0x5b5930[_0x5ebff0(0x187)]},_0x4c3fda=this[_0x5ebff0(0x15f)](_0x5b5930);await _0x1ee01f[_0x5ebff0(0x162)](_0x2eaaed,_0x4c3fda,_0x5b5930[_0x5ebff0(0x172)]);}async[_0x5086fd(0x169)](_0x2c7e4d){const _0x2e853a=_0x5086fd;console[_0x2e853a(0x161)](_0x2e853a(0x183),_0x2c7e4d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x574e3b=_0x4920;(function(_0x27f35c,_0x4a2f87){const _0x6cc77a=_0x4920,_0x46ade6=_0x27f35c();while(!![]){try{const _0x501d26=parseInt(_0x6cc77a(0x17f))/0x1+parseInt(_0x6cc77a(0x176))/0x2+parseInt(_0x6cc77a(0x17b))/0x3*(-parseInt(_0x6cc77a(0x173))/0x4)+parseInt(_0x6cc77a(0x172))/0x5*(parseInt(_0x6cc77a(0x185))/0x6)+-parseInt(_0x6cc77a(0x177))/0x7+parseInt(_0x6cc77a(0x17d))/0x8+-parseInt(_0x6cc77a(0x16f))/0x9*(parseInt(_0x6cc77a(0x17e))/0xa);if(_0x501d26===_0x4a2f87)break;else _0x46ade6['push'](_0x46ade6['shift']());}catch(_0x4ddece){_0x46ade6['push'](_0x46ade6['shift']());}}}(_0x1580,0xf2c37));function _0x1580(){const _0x5f0576=['2082pAIjfi','isPremiumPlugin','4971288XGFUzx','250Bxcjdo','1398221dtvgBZ','removeSelectionFromChatContext','document','selection','AIChat','pluginName','1314xcquwW','AIQuickActionsEditing','init','add','plugins','get','model','433764PnRBUk','directChange','isOfficialPlugin','17975KAwMbI','2292nqTSaB','editor','commands','367658xIHfgH','2756915TyjvHC','aiQuickAction','has','change:range'];_0x1580=function(){return _0x5f0576;};return _0x1580();}import{Plugin as _0xe6842d}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x445142}from'./aiquickactionscommand.js';function _0x4920(_0x1a73c2,_0x5b1a4e){const _0x15800b=_0x1580();return _0x4920=function(_0x4920db,_0x450fc7){_0x4920db=_0x4920db-0x16b;let _0x4cc4ba=_0x15800b[_0x4920db];return _0x4cc4ba;},_0x4920(_0x1a73c2,_0x5b1a4e);}export class AIQuickActionsEditing extends _0xe6842d{static get[_0x574e3b(0x184)](){const _0x25a1c4=_0x574e3b;return _0x25a1c4(0x186);}static get[_0x574e3b(0x171)](){return!0x0;}static get[_0x574e3b(0x17c)](){return!0x0;}[_0x574e3b(0x187)](){const _0x5b113d=_0x574e3b,_0xa80ed5=this[_0x5b113d(0x174)],_0x3ef479=new _0x445142(this[_0x5b113d(0x174)]);if(_0xa80ed5[_0x5b113d(0x175)][_0x5b113d(0x16b)](_0x5b113d(0x178),_0x3ef479),_0xa80ed5[_0x5b113d(0x16c)][_0x5b113d(0x179)](_0x5b113d(0x183))){const _0x5e600c=this[_0x5b113d(0x174)][_0x5b113d(0x16c)][_0x5b113d(0x16d)](_0x5b113d(0x183));_0xa80ed5[_0x5b113d(0x16e)][_0x5b113d(0x181)][_0x5b113d(0x182)]['on'](_0x5b113d(0x17a),(_0x497206,_0x3abacd)=>{const _0x4bf62f=_0x5b113d;_0x3abacd[_0x4bf62f(0x170)]&&_0x5e600c[_0x4bf62f(0x180)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f2a1d=_0x308c;(function(_0x111d55,_0x320b59){const _0x58d30b=_0x308c,_0x4d047e=_0x111d55();while(!![]){try{const _0xd2b0ae=-parseInt(_0x58d30b(0x1b8))/0x1+-parseInt(_0x58d30b(0x210))/0x2*(-parseInt(_0x58d30b(0x201))/0x3)+parseInt(_0x58d30b(0x1c0))/0x4*(-parseInt(_0x58d30b(0x182))/0x5)+-parseInt(_0x58d30b(0x199))/0x6*(parseInt(_0x58d30b(0x216))/0x7)+parseInt(_0x58d30b(0x1ab))/0x8+parseInt(_0x58d30b(0x212))/0x9*(parseInt(_0x58d30b(0x187))/0xa)+parseInt(_0x58d30b(0x18d))/0xb*(parseInt(_0x58d30b(0x206))/0xc);if(_0xd2b0ae===_0x320b59)break;else _0x4d047e['push'](_0x4d047e['shift']());}catch(_0x2c389f){_0x4d047e['push'](_0x4d047e['shift']());}}}(_0x3ca8,0xbcc3a));import{IconAIAdjustLength as _0x260c2f,IconAIChangeTone as _0x21bd6f,IconAIChatCommands as _0x497f58,IconAIContinueWriting as _0x3935ea,IconAIGrammarCheck as _0x1060a4,IconAIImproveWriting as _0x2be68e,IconAIOther as _0x4586ce,IconAIQuickActions as _0x2a9af0,IconAITranslate as _0x3bda67}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x13663d}from'ckeditor5/src/core.js';import{CKEditorError as _0xf1313f,logError as _0x1749c9}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b31e7}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x2e9e9e}from'./ui/aiquickactionsdropdowncreator.js';function _0x3ca8(){const _0x40800e=['message','pluginName','locale','translate-to-english','view','_getDefaultAndCustomActions','ai.quickActions.isSearchEnabled','AIActions','translate-to-german','french','_initializeQuickActionsDropdown','translate','improve-writing','focus','values','attachToDom','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AIReviewMode','make-longer','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_IMPROVE_WRITING','requires','continue','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','spanish','_shouldIncludeAction','translate-to-russian','REVIEW','AI_QUICK_ACTIONS_MAKE_SHORTER','has','ask-ai','ai.chat.context.document.enabled','korean','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HEADING','_prepareQuickActionsDefinition','menuitem','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_TRANSLATE','buttonView','_initializeQuickActionsMenuBar','2792967vmLnxa','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_initializeQuickActionsComponents','make-tone-casual','186756RQLpgK','push','translate-to-italian','explain','make-tone-friendly','make-tone-direct','filter','adjust-length','isEnabled','items','2jqwYDO','set','9KmpUTi','aiQuickAction','chinese','execute','459634loKUsK','other','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-chinese','editor','AI_QUICK_ACTIONS_MAKE_LONGER','summarize','isPremiumPlugin','AI_QUICK_ACTIONS_CONTINUE_WRITING','init','icon','fix-grammar','getDefaultQuickActions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-confident','3505qqBLvp','includes','commands','AIConnector','translate-to-japanese','14226910zxfmph','DisplayNames','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-shorter','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','33QwOFyC','AIChat','menu','AI_QUICK_ACTIONS_CHANGE_TONE','change-tone','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','CHAT','forEach','model','menuBarView','_executeQuickAction','54bmDIeG','English','editing','close','AI_QUICK_ACTIONS_MORE_CONFIDENT','chat-commands','label','translate-to-portuguese','AI_QUICK_ACTIONS_EXPLAIN','config','componentFactory','uiLanguage','russian','isOfficialPlugin','type','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_ADJUST_LENGTH','menuBar:aiQuickActions','10343560ZxSYYE','ai-quick-actions-unavailable-model','language','actions','children','make-tone-professional','AI_QUICK_ACTIONS_SUMMARIZE','aiQuickActions','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','english','german','_quickActionsDefinition','italian','1300110jovJwJ','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai-quick-actions-models-unable-to-retrieve','AIQuickActionsUI','portuguese','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','plugins','ACTION','5872bYWwOV','panelView','length','get','getAll','japanese','replace','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','find','displayedPrompt','delegate','map','some','_initializeQuickActionsComponentsAndCommands','translate-to-korean','add'];_0x3ca8=function(){return _0x40800e;};return _0x3ca8();}import{aiQuickActionsButtonCreator as _0x2371d0}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2a3f9c,BalloonToolbar as _0x707910,MenuBarMenuView as _0x2513e4,MenuBarMenuListView as _0x3280af,MenuBarMenuListItemView as _0x1914cc,MenuBarMenuListItemButtonView as _0x32109f}from'ckeditor5/src/ui.js';import{AIModels as _0x15d3ee}from'../aicore/model/aimodels.js';import{AIConnector as _0x12c42f}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x308c(_0x252d14,_0x22f913){const _0x3ca849=_0x3ca8();return _0x308c=function(_0x308cb6,_0x1eeb96){_0x308cb6=_0x308cb6-0x17c;let _0x324fce=_0x3ca849[_0x308cb6];return _0x324fce;},_0x308c(_0x252d14,_0x22f913);}const ee=_0x3f2a1d(0x189),ie=_0x3f2a1d(0x1e5),ne=_0x3f2a1d(0x1bd);export var AIQuickActionType;!function(_0x25a6d4){const _0x58bdf7=_0x3f2a1d;_0x25a6d4[_0x58bdf7(0x194)]=_0x58bdf7(0x194),_0x25a6d4[_0x58bdf7(0x1bf)]=_0x58bdf7(0x1bf),_0x25a6d4[_0x58bdf7(0x1f3)]=_0x58bdf7(0x1f3);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x5d8fc5){const _0x5cbde1=_0x3f2a1d;_0x5d8fc5[_0x5cbde1(0x194)]=_0x5cbde1(0x18e),_0x5d8fc5[_0x5cbde1(0x1bf)]=_0x5cbde1(0x1da),_0x5d8fc5[_0x5cbde1(0x1f3)]=_0x5cbde1(0x1e7);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x13663d{static get[_0x3f2a1d(0x1ec)](){return[_0x707910,_0x12c42f];}static get[_0x3f2a1d(0x1d4)](){const _0x54b8c8=_0x3f2a1d;return _0x54b8c8(0x1bb);}static get[_0x3f2a1d(0x1a6)](){return!0x0;}static get[_0x3f2a1d(0x21d)](){return!0x0;}async[_0x3f2a1d(0x17c)](){const _0x1fc166=_0x3f2a1d,_0x5059a8=await this[_0x1fc166(0x1d8)]();this[_0x1fc166(0x1fb)](_0x5059a8),this[_0x1fc166(0x1d0)]();}static[_0x3f2a1d(0x17f)](_0xf2003d){return function(_0x1d9fd9){const _0x4a3b99=_0x308c,_0x2dc9ba=new Intl[(_0x4a3b99(0x188))](['en'],{'type':_0x4a3b99(0x1ad)})['of'](_0x1d9fd9[_0x4a3b99(0x1a4)]),_0x38dce3=_0x2dc9ba||_0x4a3b99(0x19a),_0x4388e3=[{'id':_0x4a3b99(0x1f6),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1c7)),'type':AIQuickActionType[_0x4a3b99(0x194)],'icon':_0x497f58},{'id':_0x4a3b99(0x19e),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1b9)),'icon':_0x497f58,'actions':[{'id':_0x4a3b99(0x209),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1a1)),'prompt':ee[_0x4a3b99(0x1c6)]('%0',_0x38dce3),'type':AIQuickActionType[_0x4a3b99(0x194)]},{'id':_0x4a3b99(0x21c),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1b1)),'prompt':ie[_0x4a3b99(0x1c6)]('%0',_0x38dce3),'type':AIQuickActionType[_0x4a3b99(0x194)]},{'id':_0x4a3b99(0x1e3),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1a8)),'prompt':ne[_0x4a3b99(0x1c6)]('%0',_0x38dce3),'type':AIQuickActionType[_0x4a3b99(0x194)]}]},{'id':_0x4a3b99(0x1df),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1eb)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'icon':_0x2be68e},{'id':_0x4a3b99(0x1ed),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x21e)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'icon':_0x3935ea},{'id':_0x4a3b99(0x17e),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1b3)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'icon':_0x1060a4},{'id':_0x4a3b99(0x20d),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1a9)),'icon':_0x260c2f,'actions':[{'id':_0x4a3b99(0x18a),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1f4)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x1e8),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x21b)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]}]},{'id':_0x4a3b99(0x191),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x190)),'icon':_0x21bd6f,'actions':[{'id':_0x4a3b99(0x205),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x218)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x20b),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1c9)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x20a),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x192)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x181),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x19d)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]},{'id':_0x4a3b99(0x1b0),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x180)),'type':AIQuickActionType[_0x4a3b99(0x1bf)]}]},{'id':_0x4a3b99(0x1de),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1fe)),'icon':_0x3bda67,'actions':[{'id':_0x4a3b99(0x1d6),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1ca)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1b4)}},{'id':_0x4a3b99(0x219),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1e9)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x214)}},{'id':_0x4a3b99(0x18b),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1e6)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1f0)}},{'id':_0x4a3b99(0x1db),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x193)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1b5)}},{'id':_0x4a3b99(0x202),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x203)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1dc)}},{'id':_0x4a3b99(0x186),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x18c)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1c5)}},{'id':_0x4a3b99(0x1a0),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1fd)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1bc)}},{'id':_0x4a3b99(0x1d1),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1e4)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1f8)}},{'id':_0x4a3b99(0x208),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1f9)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1b7)}},{'id':_0x4a3b99(0x1f2),'displayedPrompt':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1ef)),'type':AIQuickActionType[_0x4a3b99(0x1bf)],'actionName':_0x4a3b99(0x1de),'args':{'language':_0x4a3b99(0x1a5)}}]},{'id':_0x4a3b99(0x217),'label':_0x1b31e7(_0x1d9fd9,_0x4a3b99(0x1c8)),'icon':_0x4586ce,'actions':[]}];return _0x4388e3;}(_0xf2003d);}async[_0x3f2a1d(0x1d8)](){const _0x144f44=_0x3f2a1d,_0x5a613c=AIQuickActionsUI[_0x144f44(0x17f)](this[_0x144f44(0x21a)][_0x144f44(0x1d5)]),_0x57e9f0=this[_0x144f44(0x21a)][_0x144f44(0x1a2)][_0x144f44(0x1c3)](_0x144f44(0x1ea))||[];let _0x44da7f=[];try{_0x44da7f=await new _0x15d3ee({'connector':this[_0x144f44(0x21a)][_0x144f44(0x1be)][_0x144f44(0x1c3)](_0x144f44(0x185)),'locale':this[_0x144f44(0x21a)][_0x144f44(0x1d5)]})[_0x144f44(0x1c4)]();}catch(_0xdb6871){const _0x203e33=new _0xf1313f(_0x144f44(0x1ba),this,{'error':_0xdb6871});_0x1749c9(_0x203e33[_0x144f44(0x1d3)]);}finally{const _0xc33348=_0x57e9f0[_0x144f44(0x1ce)](_0xa38606=>({..._0xa38606,'icon':void 0x0}));_0x5a613c[_0x144f44(0x1cb)](_0x48ab73=>_0x144f44(0x217)===_0x48ab73['id'])[_0x144f44(0x1ae)][_0x144f44(0x207)](..._0xc33348),_0x5a613c[_0x144f44(0x195)](_0x2062ac=>{const _0x2f8d2c=_0x144f44;if(_0x2f8d2c(0x1ae)in _0x2062ac)_0x2062ac[_0x2f8d2c(0x1ae)][_0x2f8d2c(0x195)](_0x1de6dd=>{const _0x47c6f0=_0x2f8d2c;if(_0x1de6dd[_0x47c6f0(0x20e)]=!!_0x44da7f[_0x47c6f0(0x1cb)](_0x6c958a=>_0x6c958a['id']===_0x1de6dd[_0x47c6f0(0x196)])||void 0x0===_0x1de6dd[_0x47c6f0(0x196)],!_0x1de6dd[_0x47c6f0(0x20e)]){const _0x594525=new _0xf1313f(_0x47c6f0(0x1ac),this,{'actionId':_0x1de6dd['id'],'modelId':_0x1de6dd[_0x47c6f0(0x196)]});_0x1749c9(_0x594525[_0x47c6f0(0x1d3)]);}});else{if(_0x2062ac[_0x2f8d2c(0x20e)]=!!_0x44da7f[_0x2f8d2c(0x1cb)](_0x50cd28=>_0x50cd28['id']===_0x2062ac[_0x2f8d2c(0x196)])||void 0x0===_0x2062ac[_0x2f8d2c(0x196)],!_0x2062ac[_0x2f8d2c(0x20e)]){const _0x2ebc34=new _0xf1313f(_0x2f8d2c(0x1ac),this,{'actionId':_0x2062ac['id'],'modelId':_0x2062ac[_0x2f8d2c(0x196)]});_0x1749c9(_0x2ebc34[_0x2f8d2c(0x1d3)]);}}});}return _0x5a613c;}[_0x3f2a1d(0x1d0)](){const _0x316315=_0x3f2a1d,_0x4ecdf7=new _0x2a3f9c(this[_0x316315(0x21a)][_0x316315(0x1d5)]);_0x4ecdf7[_0x316315(0x1e2)](),this[_0x316315(0x1dd)](_0x4ecdf7),this[_0x316315(0x200)](),this[_0x316315(0x204)](_0x4ecdf7);}[_0x3f2a1d(0x1dd)](_0x3e6262){const _0x473c1e=_0x3f2a1d,_0x5c5b86=this[_0x473c1e(0x21a)][_0x473c1e(0x1a2)][_0x473c1e(0x1c3)](_0x473c1e(0x1d9))??!0x0;this[_0x473c1e(0x21a)]['ui'][_0x473c1e(0x1a3)][_0x473c1e(0x1d2)](_0x473c1e(0x1b2),_0x2e9e9e({'editor':this[_0x473c1e(0x21a)],'content':this[_0x473c1e(0x1b6)],'buttonDefinition':{'icon':_0x2a9af0,'label':_0x1b31e7(this[_0x473c1e(0x21a)][_0x473c1e(0x1d5)],_0x473c1e(0x1fa))},'bodyCollection':_0x3e6262,'hasSearch':_0x5c5b86}));}[_0x3f2a1d(0x1fb)](_0x53a700){const _0x4c20ac=_0x3f2a1d;this[_0x4c20ac(0x1b6)]=_0x53a700[_0x4c20ac(0x1ce)](_0x44b199=>{const _0x776c72=_0x4c20ac;if(_0x776c72(0x1ae)in _0x44b199){const _0x192d45=_0x44b199;return{..._0x192d45,'actions':_0x192d45[_0x776c72(0x1ae)][_0x776c72(0x1ce)](_0x2e50d3=>{const {actions:_0x2c160b,..._0x4bdcb1}=_0x192d45;return{..._0x2e50d3,'parent':_0x4bdcb1};})[_0x776c72(0x20c)](_0x33f762=>this[_0x776c72(0x1f1)](_0x33f762))};}return _0x44b199;})[_0x4c20ac(0x20c)](_0x1f6c34=>_0x4c20ac(0x1ae)in _0x1f6c34?_0x1f6c34[_0x4c20ac(0x1ae)][_0x4c20ac(0x1c2)]>0x0:this[_0x4c20ac(0x1f1)](_0x1f6c34));}[_0x3f2a1d(0x1f1)](_0x542edc){const _0x547a04=_0x3f2a1d,_0x2b34d6=this[_0x547a04(0x21a)][_0x547a04(0x1a2)][_0x547a04(0x1c3)](_0x547a04(0x1ee))||[];return this[_0x547a04(0x21a)][_0x547a04(0x1be)][_0x547a04(0x1f5)](AIQuickActionTypeToPluginName[_0x542edc[_0x547a04(0x1a7)]])&&!_0x2b34d6[_0x547a04(0x183)](_0x542edc['id'])&&!(_0x542edc[_0x547a04(0x1a7)]===AIQuickActionType[_0x547a04(0x194)]&&!0x1===this[_0x547a04(0x21a)][_0x547a04(0x1a2)][_0x547a04(0x1c3)](_0x547a04(0x1f7)));}[_0x3f2a1d(0x204)](_0x365d87){const _0x7c463d=_0x3f2a1d;this[_0x7c463d(0x1b6)][_0x7c463d(0x195)](_0x390c03=>{const _0x38d478=_0x7c463d;if(_0x38d478(0x1ae)in _0x390c03){const _0x3e1445=_0x2e9e9e({'editor':this[_0x38d478(0x21a)],'content':_0x390c03[_0x38d478(0x1ae)],'buttonDefinition':_0x390c03,'bodyCollection':_0x365d87});this[_0x38d478(0x21a)]['ui'][_0x38d478(0x1a3)][_0x38d478(0x1d2)](_0x390c03['id'],_0x3e1445),_0x390c03[_0x38d478(0x1ae)][_0x38d478(0x195)](_0x1935a7=>{const _0x5e12f5=_0x38d478,_0x346985=_0x2371d0({'editor':this[_0x5e12f5(0x21a)],'action':_0x1935a7});this[_0x5e12f5(0x21a)]['ui'][_0x5e12f5(0x1a3)][_0x5e12f5(0x1d2)](_0x1935a7['id'],_0x346985);});}else{const _0x6df563=_0x2371d0({'editor':this[_0x38d478(0x21a)],'action':_0x390c03,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x38d478(0x21a)]['ui'][_0x38d478(0x1a3)][_0x38d478(0x1d2)](_0x390c03['id'],_0x6df563);}});}[_0x3f2a1d(0x200)](){const _0x44fd4d=_0x3f2a1d;this[_0x44fd4d(0x21a)]['ui'][_0x44fd4d(0x1a3)][_0x44fd4d(0x1d2)](_0x44fd4d(0x1aa),_0x37f07d=>{const _0x27d711=_0x44fd4d,_0x452295=new _0x2513e4(_0x37f07d),_0x1c5f7d=_0x1b31e7(_0x37f07d,_0x27d711(0x1fa));_0x452295[_0x27d711(0x1ff)][_0x27d711(0x211)]({'label':_0x1c5f7d,'icon':_0x2a9af0});const _0x2c99e0=new _0x3280af(_0x37f07d);_0x2c99e0[_0x27d711(0x211)]({'ariaLabel':_0x1c5f7d,'role':_0x27d711(0x18f)}),this[_0x27d711(0x1b6)][_0x27d711(0x195)](_0x456731=>{const _0x1787f1=_0x27d711;if(_0x1787f1(0x1ae)in _0x456731){const _0x285576=_0x456731,_0xfb1b68=new _0x1914cc(_0x37f07d,_0x452295),_0x5d594e=new _0x2513e4(_0x37f07d),_0x1bc747=new _0x3280af(_0x37f07d);_0x5d594e[_0x1787f1(0x1ff)][_0x1787f1(0x211)]({'label':_0x285576[_0x1787f1(0x19f)],'icon':_0x285576[_0x1787f1(0x17d)]}),_0x285576[_0x1787f1(0x1ae)][_0x1787f1(0x195)](_0x484060=>{const _0x3f04f6=_0x1787f1,_0x748337=new _0x1914cc(_0x37f07d,_0x5d594e),_0xee0e15=new _0x32109f(_0x37f07d);_0xee0e15[_0x3f04f6(0x211)]({'label':_0x484060[_0x3f04f6(0x1cc)],'icon':_0x484060[_0x3f04f6(0x17d)],'role':_0x3f04f6(0x1fc),'isEnabled':_0x484060[_0x3f04f6(0x20e)]}),_0xee0e15['on'](_0x3f04f6(0x215),()=>{const _0x19258b=_0x3f04f6;this[_0x19258b(0x198)](_0x484060);}),_0xee0e15[_0x3f04f6(0x1cd)](_0x3f04f6(0x215))['to'](_0x5d594e),_0x748337[_0x3f04f6(0x1af)][_0x3f04f6(0x1d2)](_0xee0e15),_0x1bc747[_0x3f04f6(0x20f)][_0x3f04f6(0x1d2)](_0x748337);}),_0x5d594e[_0x1787f1(0x1c1)][_0x1787f1(0x1af)][_0x1787f1(0x1d2)](_0x1bc747),_0xfb1b68[_0x1787f1(0x1af)][_0x1787f1(0x1d2)](_0x5d594e),_0x2c99e0[_0x1787f1(0x20f)][_0x1787f1(0x1d2)](_0xfb1b68);}else{const _0x12fff1=_0x456731,_0x4a4961=new _0x1914cc(_0x37f07d,_0x452295),_0x3e10ea=new _0x32109f(_0x37f07d);_0x3e10ea[_0x1787f1(0x211)]({'label':_0x12fff1[_0x1787f1(0x1cc)],'icon':_0x12fff1[_0x1787f1(0x17d)],'role':_0x1787f1(0x1fc),'isEnabled':_0x12fff1[_0x1787f1(0x20e)]}),_0x3e10ea['on'](_0x1787f1(0x215),()=>{const _0x3e8dad=_0x1787f1;this[_0x3e8dad(0x198)](_0x12fff1);}),_0x3e10ea[_0x1787f1(0x1cd)](_0x1787f1(0x215))['to'](_0x452295),_0x4a4961[_0x1787f1(0x1af)][_0x1787f1(0x1d2)](_0x3e10ea),_0x2c99e0[_0x1787f1(0x20f)][_0x1787f1(0x1d2)](_0x4a4961);}});const _0x5286af=Object[_0x27d711(0x1e1)](AIQuickActionTypeToPluginName)[_0x27d711(0x1cf)](_0xce8858=>this[_0x27d711(0x21a)][_0x27d711(0x1be)][_0x27d711(0x1f5)](_0xce8858));return _0x452295[_0x27d711(0x211)]({'isEnabled':_0x5286af}),_0x452295[_0x27d711(0x1c1)][_0x27d711(0x1af)][_0x27d711(0x1d2)](_0x2c99e0),_0x452295;});}[_0x3f2a1d(0x198)](_0x4dedcf){const _0x5f375d=_0x3f2a1d,_0x528c2f=this[_0x5f375d(0x21a)];_0x528c2f[_0x5f375d(0x19b)][_0x5f375d(0x1d7)][_0x5f375d(0x1e0)](),_0x528c2f[_0x5f375d(0x184)][_0x5f375d(0x215)](_0x5f375d(0x213),_0x4dedcf);const _0x3b917d=_0x528c2f['ui'][_0x5f375d(0x1d7)][_0x5f375d(0x197)];_0x3b917d&&_0x3b917d[_0x5f375d(0x19c)]&&_0x3b917d[_0x5f375d(0x19c)]();}}
|
|
23
|
+
const _0x2e60be=_0x11ab;(function(_0x366dd3,_0x169c1f){const _0x187ef1=_0x11ab,_0x4f3cae=_0x366dd3();while(!![]){try{const _0x2b0916=-parseInt(_0x187ef1(0x17b))/0x1*(parseInt(_0x187ef1(0x1d6))/0x2)+-parseInt(_0x187ef1(0x1bf))/0x3*(-parseInt(_0x187ef1(0x1bc))/0x4)+-parseInt(_0x187ef1(0x1a8))/0x5*(-parseInt(_0x187ef1(0x1a6))/0x6)+-parseInt(_0x187ef1(0x187))/0x7+-parseInt(_0x187ef1(0x14d))/0x8*(-parseInt(_0x187ef1(0x1cf))/0x9)+parseInt(_0x187ef1(0x150))/0xa+parseInt(_0x187ef1(0x19f))/0xb*(-parseInt(_0x187ef1(0x18b))/0xc);if(_0x2b0916===_0x169c1f)break;else _0x4f3cae['push'](_0x4f3cae['shift']());}catch(_0x2bf4cb){_0x4f3cae['push'](_0x4f3cae['shift']());}}}(_0xb9a6,0xe0ee1));function _0xb9a6(){const _0x3a373a=['actions','AIQuickActionsUI','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_EXPLAIN','make-longer','8352232vCpwOM','values','AI_QUICK_ACTIONS_OTHER','includes','10337772WmYnWO','make-tone-direct','items','continue','editor','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_CHANGE_TONE','forEach','AIReviewMode','set','ACTION','push','ai.quickActions.isSearchEnabled','aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','isPremiumPlugin','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_MORE_DIRECT','22MEoqwx','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_MORE_CASUAL','isEnabled','locale','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','replace','78BLZKDB','_initializeQuickActionsComponentsAndCommands','69140whCAJJ','config','isOfficialPlugin','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','menuitem','italian','language','ai-quick-actions-models-unable-to-retrieve','get','AIActions','AI_QUICK_ACTIONS_MORE_FRIENDLY','commands','displayedPrompt','AI_QUICK_ACTIONS_TRANSLATE','componentFactory','translate-to-chinese','chat-commands','add','some','15564zhOPUk','other','_getDefaultAndCustomActions','1269fRFaGX','change-tone','length','translate-to-korean','japanese','translate-to-german','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MAKE_SHORTER','make-tone-professional','view','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','execute','REVIEW','ai-quick-actions-unavailable-model','attachToDom','russian','13320UrwugH','_shouldIncludeAction','filter','improve-writing','explain','AI_QUICK_ACTIONS_SUMMARIZE','french','2zwARVj','translate-to-spanish','editing','menu','ask-ai','_prepareQuickActionsDefinition','translate-to-russian','map','make-tone-casual','translate-to-italian','DisplayNames','ai.chat.context.document.enabled','panelView','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','uiLanguage','find','AI_QUICK_ACTIONS_HEADING','pluginName','CHAT','portuguese','plugins','_initializeQuickActionsComponents','_initializeQuickActionsMenuBar','korean','buttonView','AI_QUICK_ACTIONS_CONTINUE_WRITING','9704JzEXpW','children','icon','6185850FcTRTT','English','type','close','AI_QUICK_ACTIONS_ADJUST_LENGTH','has','message','translate-to-portuguese','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','adjust-length','make-tone-friendly','chinese','ai.quickActions.removeCommands','highlight-key-points','AIConnector','translate-to-french','model','AIChat','getDefaultQuickActions','requires','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-japanese','_initializeQuickActionsDropdown','make-tone-confident','fix-grammar','focus','make-shorter','delegate','_executeQuickAction','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-english','german','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_MAKE_LONGER','summarize','english','translate','getAll','label','AI_QUICK_ACTIONS_MORE_CONFIDENT','_quickActionsDefinition','init','402031EHjwSi','<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>','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','spanish'];_0xb9a6=function(){return _0x3a373a;};return _0xb9a6();}import{IconAIAdjustLength as _0x193c83,IconAIChangeTone as _0x19bec5,IconAIChatCommands as _0x5c926d,IconAIContinueWriting as _0x74075f,IconAIGrammarCheck as _0x16fa0b,IconAIImproveWriting as _0x740b37,IconAIOther as _0x1e5243,IconAIQuickActions as _0x500e86,IconAITranslate as _0xed8b72}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x184f7f}from'ckeditor5/src/core.js';import{CKEditorError as _0xf9378b,logError as _0x572108}from'ckeditor5/src/utils.js';import{getTranslation as _0x55adfd}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x39f147}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5d2fe4}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x310e13,BalloonToolbar as _0x21f000,MenuBarMenuView as _0x281ee2,MenuBarMenuListView as _0x25e0f1,MenuBarMenuListItemView as _0xd9320a,MenuBarMenuListItemButtonView as _0x1aef65}from'ckeditor5/src/ui.js';import{AIModels as _0x41814f}from'../aicore/model/aimodels.js';import{AIConnector as _0x1a4a4b}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';function _0x11ab(_0x4dc8fc,_0x4fb21f){const _0xb9a689=_0xb9a6();return _0x11ab=function(_0x11abb6,_0x45caed){_0x11abb6=_0x11abb6-0x147;let _0x181c83=_0xb9a689[_0x11abb6];return _0x181c83;},_0x11ab(_0x4dc8fc,_0x4fb21f);}import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x2e60be(0x16e),ie=_0x2e60be(0x17c),ne=_0x2e60be(0x158);export var AIQuickActionType;!function(_0x127986){const _0x3c8602=_0x2e60be;_0x127986[_0x3c8602(0x1e8)]=_0x3c8602(0x1e8),_0x127986[_0x3c8602(0x195)]=_0x3c8602(0x195),_0x127986[_0x3c8602(0x1cb)]=_0x3c8602(0x1cb);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x21ad6a){const _0x17fe5d=_0x2e60be;_0x21ad6a[_0x17fe5d(0x1e8)]=_0x17fe5d(0x161),_0x21ad6a[_0x17fe5d(0x195)]=_0x17fe5d(0x1b2),_0x21ad6a[_0x17fe5d(0x1cb)]=_0x17fe5d(0x193);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x184f7f{static get[_0x2e60be(0x163)](){return[_0x21f000,_0x1a4a4b];}static get[_0x2e60be(0x1e7)](){const _0x2318e2=_0x2e60be;return _0x2318e2(0x181);}static get[_0x2e60be(0x1aa)](){return!0x0;}static get[_0x2e60be(0x19b)](){return!0x0;}async[_0x2e60be(0x17a)](){const _0x2ea849=_0x2e60be,_0x2f6039=await this[_0x2ea849(0x1be)]();this[_0x2ea849(0x1db)](_0x2f6039),this[_0x2ea849(0x1a7)]();}static[_0x2e60be(0x162)](_0x12e12d){return function(_0x1b0273){const _0x256f37=_0x11ab,_0x437542=new Intl[(_0x256f37(0x1e0))](['en'],{'type':_0x256f37(0x1af)})['of'](_0x1b0273[_0x256f37(0x1e4)]),_0x3b0e4f=_0x437542||_0x256f37(0x151),_0x1d8728=[{'id':_0x256f37(0x1da),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1a0)),'type':AIQuickActionType[_0x256f37(0x1e8)],'icon':_0x5c926d},{'id':_0x256f37(0x1b9),'label':_0x55adfd(_0x1b0273,_0x256f37(0x182)),'icon':_0x5c926d,'actions':[{'id':_0x256f37(0x1d3),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x185)),'prompt':ee[_0x256f37(0x1a5)]('%0',_0x3b0e4f),'type':AIQuickActionType[_0x256f37(0x1e8)]},{'id':_0x256f37(0x173),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1d4)),'prompt':ie[_0x256f37(0x1a5)]('%0',_0x3b0e4f),'type':AIQuickActionType[_0x256f37(0x1e8)]},{'id':_0x256f37(0x15d),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x19a)),'prompt':ne[_0x256f37(0x1a5)]('%0',_0x3b0e4f),'type':AIQuickActionType[_0x256f37(0x1e8)]}]},{'id':_0x256f37(0x1d2),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x171)),'type':AIQuickActionType[_0x256f37(0x195)],'icon':_0x740b37},{'id':_0x256f37(0x18e),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x14c)),'type':AIQuickActionType[_0x256f37(0x195)],'icon':_0x74075f},{'id':_0x256f37(0x169),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1a4)),'type':AIQuickActionType[_0x256f37(0x195)],'icon':_0x16fa0b},{'id':_0x256f37(0x159),'label':_0x55adfd(_0x1b0273,_0x256f37(0x154)),'icon':_0x193c83,'actions':[{'id':_0x256f37(0x16b),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1c6)),'type':AIQuickActionType[_0x256f37(0x195)]},{'id':_0x256f37(0x186),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x172)),'type':AIQuickActionType[_0x256f37(0x195)]}]},{'id':_0x256f37(0x1c0),'label':_0x55adfd(_0x1b0273,_0x256f37(0x191)),'icon':_0x19bec5,'actions':[{'id':_0x256f37(0x1de),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1a1)),'type':AIQuickActionType[_0x256f37(0x195)]},{'id':_0x256f37(0x18c),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x19e)),'type':AIQuickActionType[_0x256f37(0x195)]},{'id':_0x256f37(0x15a),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1b3)),'type':AIQuickActionType[_0x256f37(0x195)]},{'id':_0x256f37(0x168),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x178)),'type':AIQuickActionType[_0x256f37(0x195)]},{'id':_0x256f37(0x1c7),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x19d)),'type':AIQuickActionType[_0x256f37(0x195)]}]},{'id':_0x256f37(0x175),'label':_0x55adfd(_0x1b0273,_0x256f37(0x1b6)),'icon':_0xed8b72,'actions':[{'id':_0x256f37(0x16f),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x17e)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x174)}},{'id':_0x256f37(0x1b8),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1c9)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x15b)}},{'id':_0x256f37(0x1d7),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x165)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x17f)}},{'id':_0x256f37(0x1c4),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x183)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x170)}},{'id':_0x256f37(0x15f),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1e3)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x1d5)}},{'id':_0x256f37(0x166),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x190)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x1c3)}},{'id':_0x256f37(0x157),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x199)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x1e9)}},{'id':_0x256f37(0x1c2),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x1ac)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x14a)}},{'id':_0x256f37(0x1df),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x164)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x1ae)}},{'id':_0x256f37(0x1dc),'displayedPrompt':_0x55adfd(_0x1b0273,_0x256f37(0x184)),'type':AIQuickActionType[_0x256f37(0x195)],'actionName':_0x256f37(0x175),'args':{'language':_0x256f37(0x1ce)}}]},{'id':_0x256f37(0x1bd),'label':_0x55adfd(_0x1b0273,_0x256f37(0x189)),'icon':_0x1e5243,'actions':[]}];return _0x1d8728;}(_0x12e12d);}async[_0x2e60be(0x1be)](){const _0x3b1028=_0x2e60be,_0x54b196=AIQuickActionsUI[_0x3b1028(0x162)](this[_0x3b1028(0x18f)][_0x3b1028(0x1a3)]),_0x1848ae=this[_0x3b1028(0x18f)][_0x3b1028(0x1a9)][_0x3b1028(0x1b1)](_0x3b1028(0x1c5))||[];let _0x55f4d9=[];try{_0x55f4d9=await new _0x41814f({'connector':this[_0x3b1028(0x18f)][_0x3b1028(0x147)][_0x3b1028(0x1b1)](_0x3b1028(0x15e)),'locale':this[_0x3b1028(0x18f)][_0x3b1028(0x1a3)]})[_0x3b1028(0x176)]();}catch(_0xb3d1bc){const _0x286eea=new _0xf9378b(_0x3b1028(0x1b0),this,{'error':_0xb3d1bc});_0x572108(_0x286eea[_0x3b1028(0x156)]);}finally{const _0x2b4d8c=_0x1848ae[_0x3b1028(0x1dd)](_0x42abfe=>({..._0x42abfe,'icon':void 0x0}));_0x54b196[_0x3b1028(0x1e5)](_0xefaa2f=>_0x3b1028(0x1bd)===_0xefaa2f['id'])[_0x3b1028(0x180)][_0x3b1028(0x196)](..._0x2b4d8c),_0x54b196[_0x3b1028(0x192)](_0x200f3a=>{const _0x2b5af6=_0x3b1028;if(_0x2b5af6(0x180)in _0x200f3a)_0x200f3a[_0x2b5af6(0x180)][_0x2b5af6(0x192)](_0x468823=>{const _0x2c25e3=_0x2b5af6;if(_0x468823[_0x2c25e3(0x1a2)]=!!_0x55f4d9[_0x2c25e3(0x1e5)](_0x644546=>_0x644546['id']===_0x468823[_0x2c25e3(0x160)])||void 0x0===_0x468823[_0x2c25e3(0x160)],!_0x468823[_0x2c25e3(0x1a2)]){const _0x52d7e8=new _0xf9378b(_0x2c25e3(0x1cc),this,{'actionId':_0x468823['id'],'modelId':_0x468823[_0x2c25e3(0x160)]});_0x572108(_0x52d7e8[_0x2c25e3(0x156)]);}});else{if(_0x200f3a[_0x2b5af6(0x1a2)]=!!_0x55f4d9[_0x2b5af6(0x1e5)](_0x3435c6=>_0x3435c6['id']===_0x200f3a[_0x2b5af6(0x160)])||void 0x0===_0x200f3a[_0x2b5af6(0x160)],!_0x200f3a[_0x2b5af6(0x1a2)]){const _0x11fa38=new _0xf9378b(_0x2b5af6(0x1cc),this,{'actionId':_0x200f3a['id'],'modelId':_0x200f3a[_0x2b5af6(0x160)]});_0x572108(_0x11fa38[_0x2b5af6(0x156)]);}}});}return _0x54b196;}[_0x2e60be(0x1a7)](){const _0x20060d=_0x2e60be,_0x3c673f=new _0x310e13(this[_0x20060d(0x18f)][_0x20060d(0x1a3)]);_0x3c673f[_0x20060d(0x1cd)](),this[_0x20060d(0x167)](_0x3c673f),this[_0x20060d(0x149)](),this[_0x20060d(0x148)](_0x3c673f);}[_0x2e60be(0x167)](_0x4df8cc){const _0x51855=_0x2e60be,_0x3e64b5=this[_0x51855(0x18f)][_0x51855(0x1a9)][_0x51855(0x1b1)](_0x51855(0x197))??!0x0;this[_0x51855(0x18f)]['ui'][_0x51855(0x1b7)][_0x51855(0x1ba)](_0x51855(0x198),_0x39f147({'editor':this[_0x51855(0x18f)],'content':this[_0x51855(0x179)],'buttonDefinition':{'icon':_0x500e86,'label':_0x55adfd(this[_0x51855(0x18f)][_0x51855(0x1a3)],_0x51855(0x1e6))},'bodyCollection':_0x4df8cc,'hasSearch':_0x3e64b5}));}[_0x2e60be(0x1db)](_0x4d6aaf){const _0x9c2f7=_0x2e60be;this[_0x9c2f7(0x179)]=_0x4d6aaf[_0x9c2f7(0x1dd)](_0x56307f=>{const _0xc47c50=_0x9c2f7;if(_0xc47c50(0x180)in _0x56307f){const _0x38f50c=_0x56307f;return{..._0x38f50c,'actions':_0x38f50c[_0xc47c50(0x180)][_0xc47c50(0x1dd)](_0x155194=>{const {actions:_0x5887eb,..._0x332798}=_0x38f50c;return{..._0x155194,'parent':_0x332798};})[_0xc47c50(0x1d1)](_0x419539=>this[_0xc47c50(0x1d0)](_0x419539))};}return _0x56307f;})[_0x9c2f7(0x1d1)](_0x250bc0=>_0x9c2f7(0x180)in _0x250bc0?_0x250bc0[_0x9c2f7(0x180)][_0x9c2f7(0x1c1)]>0x0:this[_0x9c2f7(0x1d0)](_0x250bc0));}[_0x2e60be(0x1d0)](_0x392b37){const _0x181cbb=_0x2e60be,_0xb72cab=this[_0x181cbb(0x18f)][_0x181cbb(0x1a9)][_0x181cbb(0x1b1)](_0x181cbb(0x15c))||[];return this[_0x181cbb(0x18f)][_0x181cbb(0x147)][_0x181cbb(0x155)](AIQuickActionTypeToPluginName[_0x392b37[_0x181cbb(0x152)]])&&!_0xb72cab[_0x181cbb(0x18a)](_0x392b37['id'])&&!(_0x392b37[_0x181cbb(0x152)]===AIQuickActionType[_0x181cbb(0x1e8)]&&!0x1===this[_0x181cbb(0x18f)][_0x181cbb(0x1a9)][_0x181cbb(0x1b1)](_0x181cbb(0x1e1)));}[_0x2e60be(0x148)](_0x49091e){const _0x46160b=_0x2e60be;this[_0x46160b(0x179)][_0x46160b(0x192)](_0x47f6eb=>{const _0x3b91c0=_0x46160b;if(_0x3b91c0(0x180)in _0x47f6eb){const _0x589710=_0x39f147({'editor':this[_0x3b91c0(0x18f)],'content':_0x47f6eb[_0x3b91c0(0x180)],'buttonDefinition':_0x47f6eb,'bodyCollection':_0x49091e});this[_0x3b91c0(0x18f)]['ui'][_0x3b91c0(0x1b7)][_0x3b91c0(0x1ba)](_0x47f6eb['id'],_0x589710),_0x47f6eb[_0x3b91c0(0x180)][_0x3b91c0(0x192)](_0x22e75f=>{const _0x5bfbf1=_0x3b91c0,_0x254fba=_0x5d2fe4({'editor':this[_0x5bfbf1(0x18f)],'action':_0x22e75f});this[_0x5bfbf1(0x18f)]['ui'][_0x5bfbf1(0x1b7)][_0x5bfbf1(0x1ba)](_0x22e75f['id'],_0x254fba);});}else{const _0x1473cc=_0x5d2fe4({'editor':this[_0x3b91c0(0x18f)],'action':_0x47f6eb,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3b91c0(0x18f)]['ui'][_0x3b91c0(0x1b7)][_0x3b91c0(0x1ba)](_0x47f6eb['id'],_0x1473cc);}});}[_0x2e60be(0x149)](){const _0x5d7b5f=_0x2e60be;this[_0x5d7b5f(0x18f)]['ui'][_0x5d7b5f(0x1b7)][_0x5d7b5f(0x1ba)](_0x5d7b5f(0x19c),_0x3ac41a=>{const _0x5d5aec=_0x5d7b5f,_0xc367ad=new _0x281ee2(_0x3ac41a),_0x21baef=_0x55adfd(_0x3ac41a,_0x5d5aec(0x1e6));_0xc367ad[_0x5d5aec(0x14b)][_0x5d5aec(0x194)]({'label':_0x21baef,'icon':_0x500e86});const _0x3fd65e=new _0x25e0f1(_0x3ac41a);_0x3fd65e[_0x5d5aec(0x194)]({'ariaLabel':_0x21baef,'role':_0x5d5aec(0x1d9)}),this[_0x5d5aec(0x179)][_0x5d5aec(0x192)](_0x4280f7=>{const _0x3ef0b1=_0x5d5aec;if(_0x3ef0b1(0x180)in _0x4280f7){const _0x21bec1=_0x4280f7,_0x18d7bf=new _0xd9320a(_0x3ac41a,_0xc367ad),_0x11b05b=new _0x281ee2(_0x3ac41a),_0x864c4=new _0x25e0f1(_0x3ac41a);_0x11b05b[_0x3ef0b1(0x14b)][_0x3ef0b1(0x194)]({'label':_0x21bec1[_0x3ef0b1(0x177)],'icon':_0x21bec1[_0x3ef0b1(0x14f)]}),_0x21bec1[_0x3ef0b1(0x180)][_0x3ef0b1(0x192)](_0x1065c9=>{const _0x2448ce=_0x3ef0b1,_0x7ed269=new _0xd9320a(_0x3ac41a,_0x11b05b),_0x111812=new _0x1aef65(_0x3ac41a);_0x111812[_0x2448ce(0x194)]({'label':_0x1065c9[_0x2448ce(0x1b5)],'icon':_0x1065c9[_0x2448ce(0x14f)],'role':_0x2448ce(0x1ad),'isEnabled':_0x1065c9[_0x2448ce(0x1a2)]}),_0x111812['on'](_0x2448ce(0x1ca),()=>{const _0x5e458e=_0x2448ce;this[_0x5e458e(0x16d)](_0x1065c9);}),_0x111812[_0x2448ce(0x16c)](_0x2448ce(0x1ca))['to'](_0x11b05b),_0x7ed269[_0x2448ce(0x14e)][_0x2448ce(0x1ba)](_0x111812),_0x864c4[_0x2448ce(0x18d)][_0x2448ce(0x1ba)](_0x7ed269);}),_0x11b05b[_0x3ef0b1(0x1e2)][_0x3ef0b1(0x14e)][_0x3ef0b1(0x1ba)](_0x864c4),_0x18d7bf[_0x3ef0b1(0x14e)][_0x3ef0b1(0x1ba)](_0x11b05b),_0x3fd65e[_0x3ef0b1(0x18d)][_0x3ef0b1(0x1ba)](_0x18d7bf);}else{const _0x2dd9ce=_0x4280f7,_0x2dbc4d=new _0xd9320a(_0x3ac41a,_0xc367ad),_0x4e39dd=new _0x1aef65(_0x3ac41a);_0x4e39dd[_0x3ef0b1(0x194)]({'label':_0x2dd9ce[_0x3ef0b1(0x1b5)],'icon':_0x2dd9ce[_0x3ef0b1(0x14f)],'role':_0x3ef0b1(0x1ad),'isEnabled':_0x2dd9ce[_0x3ef0b1(0x1a2)]}),_0x4e39dd['on'](_0x3ef0b1(0x1ca),()=>{const _0x86f3e5=_0x3ef0b1;this[_0x86f3e5(0x16d)](_0x2dd9ce);}),_0x4e39dd[_0x3ef0b1(0x16c)](_0x3ef0b1(0x1ca))['to'](_0xc367ad),_0x2dbc4d[_0x3ef0b1(0x14e)][_0x3ef0b1(0x1ba)](_0x4e39dd),_0x3fd65e[_0x3ef0b1(0x18d)][_0x3ef0b1(0x1ba)](_0x2dbc4d);}});const _0x1ac766=Object[_0x5d5aec(0x188)](AIQuickActionTypeToPluginName)[_0x5d5aec(0x1bb)](_0x3d419a=>this[_0x5d5aec(0x18f)][_0x5d5aec(0x147)][_0x5d5aec(0x155)](_0x3d419a));return _0xc367ad[_0x5d5aec(0x194)]({'isEnabled':_0x1ac766}),_0xc367ad[_0x5d5aec(0x1e2)][_0x5d5aec(0x14e)][_0x5d5aec(0x1ba)](_0x3fd65e),_0xc367ad;});}[_0x2e60be(0x16d)](_0x42ae1b){const _0x298bcb=_0x2e60be,_0x38eddc=this[_0x298bcb(0x18f)];_0x38eddc[_0x298bcb(0x1d8)][_0x298bcb(0x1c8)][_0x298bcb(0x16a)](),_0x38eddc[_0x298bcb(0x1b4)][_0x298bcb(0x1ca)](_0x298bcb(0x1ab),_0x42ae1b);const _0x1acf56=_0x38eddc['ui'][_0x298bcb(0x1c8)][_0x298bcb(0x17d)];_0x1acf56&&_0x1acf56[_0x298bcb(0x153)]&&_0x1acf56[_0x298bcb(0x153)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5587(_0xdd7b81,_0x1cee5d){const _0x58585e=_0x5858();return _0x5587=function(_0x558714,_0x3505fc){_0x558714=_0x558714-0x1bb;let _0x5a21eb=_0x58585e[_0x558714];return _0x5a21eb;},_0x5587(_0xdd7b81,_0x1cee5d);}(function(_0x380f8a,_0x58799e){const _0x390fcd=_0x5587,_0x5e3667=_0x380f8a();while(!![]){try{const _0x3a4f43=parseInt(_0x390fcd(0x1cc))/0x1*(-parseInt(_0x390fcd(0x1c4))/0x2)+parseInt(_0x390fcd(0x1cb))/0x3+-parseInt(_0x390fcd(0x1c5))/0x4*(-parseInt(_0x390fcd(0x1d1))/0x5)+-parseInt(_0x390fcd(0x1c6))/0x6+parseInt(_0x390fcd(0x1d4))/0x7+-parseInt(_0x390fcd(0x1c0))/0x8*(-parseInt(_0x390fcd(0x1bb))/0x9)+-parseInt(_0x390fcd(0x1be))/0xa;if(_0x3a4f43===_0x58799e)break;else _0x5e3667['push'](_0x5e3667['shift']());}catch(_0x5753fc){_0x5e3667['push'](_0x5e3667['shift']());}}}(_0x5858,0x3625b));function _0x5858(){const _0x1fdc33=['parent','156710oSLvjr','menuitem','ck-ai-quick-actions-button','2934519JmONVV','18JgJVKk','locale','aiQuickAction','3721580XWYVaM','icon','1182784qWFhwE','commands','set','execute','4018JSwqqK','36bcOIvw','2380422pfnsUp','displayedPrompt','extendTemplate','focus','bindTemplate','312558bAPNHJ','55XymiMh','view','isEnabled','editing'];_0x5858=function(){return _0x1fdc33;};return _0x5858();}import{ButtonView as _0x419bcb}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2b229e}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3facf0){const {editor:_0x27575e,action:_0x3b491f,withText:_0x5a7569=!0x1,withIcon:_0x2c671d=!0x0,isInDropdown:_0x1e132f=!0x0,shouldPreventFocus:_0x134667=!0x1}=_0x3facf0;return()=>{const _0x374a54=_0x5587,_0x58a0f6=_0x27575e[_0x374a54(0x1bc)],_0x2fc261=new _0x419bcb(_0x58a0f6),_0x1d9ea0=_0x2fc261[_0x374a54(0x1ca)];_0x1e132f&&_0x2fc261[_0x374a54(0x1c8)]({'on':{'mouseenter':_0x1d9ea0['to'](()=>{const _0x2e2790=_0x374a54;_0x134667&&_0x134667()||_0x2fc261[_0x2e2790(0x1c9)]();})}});const _0x3c187e=_0x3b491f[_0x374a54(0x1bf)]??_0x3b491f[_0x374a54(0x1d0)]?.[_0x374a54(0x1bf)];return _0x2fc261[_0x374a54(0x1c2)]({'label':_0x3b491f[_0x374a54(0x1c7)],'withText':_0x5a7569,'role':_0x374a54(0x1d2),'icon':_0x2c671d?_0x3c187e??_0x2b229e:void 0x0,'tooltip':!_0x5a7569,'class':_0x374a54(0x1d3),'isEnabled':_0x3b491f[_0x374a54(0x1ce)]}),_0x2fc261['on'](_0x374a54(0x1c3),()=>{const _0xed81c7=_0x374a54;_0x27575e[_0xed81c7(0x1cf)][_0xed81c7(0x1cd)][_0xed81c7(0x1c9)](),_0x27575e[_0xed81c7(0x1c1)][_0xed81c7(0x1c3)](_0xed81c7(0x1bd),_0x3b491f);}),_0x2fc261;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bfb55=_0x1749;(function(_0x4fd1c4,_0x3c176f){const _0x4c01fb=_0x1749,_0x2a051a=_0x4fd1c4();while(!![]){try{const _0x177b94=parseInt(_0x4c01fb(0x1b6))/0x1*(-parseInt(_0x4c01fb(0x1d3))/0x2)+parseInt(_0x4c01fb(0x20d))/0x3*(parseInt(_0x4c01fb(0x1dc))/0x4)+-parseInt(_0x4c01fb(0x223))/0x5*(-parseInt(_0x4c01fb(0x1cf))/0x6)+-parseInt(_0x4c01fb(0x1b9))/0x7+parseInt(_0x4c01fb(0x1de))/0x8+parseInt(_0x4c01fb(0x1ce))/0x9+-parseInt(_0x4c01fb(0x1be))/0xa;if(_0x177b94===_0x3c176f)break;else _0x2a051a['push'](_0x2a051a['shift']());}catch(_0x5555e4){_0x2a051a['push'](_0x2a051a['shift']());}}}(_0x3661,0x76696));import{View as _0x1ba25d,ListItemView as _0x9ab537,ListView as _0x2f1f48,BalloonPanelView as _0x283fb6,DropdownMenuPanelPositioningFunctions as _0x263d64,ViewCollection as _0x2b9722,FocusCycler as _0x4ccf29,ButtonView as _0x184fa2,IconView as _0x5ed056,HighlightedTextView as _0x58823d,ButtonLabelWithHighlightView as _0x17cac4,SearchTextView as _0x2e423b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x163621}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4b3696,KeystrokeHandler as _0x20db37}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1f6150}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x22d4b7}from'./dropdownmenubuttonwithhighlightview.js';function _0x1749(_0x52cccd,_0x4dd7bf){const _0x3661af=_0x3661();return _0x1749=function(_0x1749ca,_0x23b569){_0x1749ca=_0x1749ca-0x1a3;let _0xa28c70=_0x3661af[_0x1749ca];return _0xa28c70;},_0x1749(_0x52cccd,_0x4dd7bf);}function _0x3661(){const _0x5a99b5=['ck-ai-quick-actions-group-button','delete','653961vUAQwl','ck-ai-quick-actions-search-result-button','focusTracker','_hideNestedPanel','forEach','16441050jrHTpr','_handlePanelKeydown','icon','aiQuickAction','extendTemplate','_searchTextView','menuitem','_focusables','_createSearchTextView','_isSearchFocused','ArrowRight','content','.ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_setupActionButtonExecution','8353971RenhoY','66BICJxr','_createSearchResultGroupRow','locale','addMany','13082yhVZBI','closest','ck-reset_all','_createSearchResultActionButton','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-group-list','relatedTarget','resetSearch','isVisible','4QJruvA','.ck-ai-quick-actions-group-panel','7504624ZMQEWZ','bind','reset','_hasSearch','ck-dropdown-menu-list','render','pin','rtl','contains','ArrowLeft','some','actions','detachFromDom','fieldView','hide','_hideAllNestedPanels','focusCycler','bindTemplate','push','set','editing','show','ck-button','chain','get','addEventListener','execute','parent','ck-ai-quick-actions-button','destroy','_createSearchResultActionRow','_bodyCollection','optionsListView','_createGroupActionsList','add','_isMovingToNestedMenu','_createSearchResultGroupedActionButton','clear','div','fire','commands','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-search','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','span','_createActionButton','element','939621kKXPdZ','_createSearchResultIndividualActionButton','ck-rounded-corners','eastSouth','ck-ai-quick-actions-button_with-group__open-paren','isEnabled','_createSearchResultContentView','menu','_createListItems','text','label','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','isOn','focus','setTemplate','first','_allSearchableItems','mouseleave','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button_with-group__close-paren','_getButtonKeystroke','queryView','105785fiYtTo','role','_setupGroupMenuBehavior','_showNestedPanel','items','AI_QUICK_ACTIONS_SEARCH','_getPanelKeystroke','_handleSearchResultButtonClick','ck-ai-quick-actions-button__group-icon','keystrokes','ck-ai-quick-actions','ck-button_with-text','_openNestedPanels','children','button','ownerDocument','_createActionGroupButton','activeElement','ck-ai-quick-actions-group-panel','displayedPrompt','ck-ai-quick-actions-search-result__group-row','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-search-result__action-row','view','uiLanguageDirection','ck-ai-quick-actions-button_with-group','key','29LJrzFE'];_0x3661=function(){return _0x5a99b5;};return _0x3661();}import{getTranslation as _0x56551f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x27d52d}from'./aiquickactionsfilteredlistview.js';const Js=_0x1bfb55(0x214),Ws=_0x1bfb55(0x1c4);export class AIQuickActionsDropdownContentView extends _0x1ba25d{[_0x1bfb55(0x1fd)];[_0x1bfb55(0x1fe)];[_0x1bfb55(0x1c3)]=null;[_0x1bfb55(0x21d)]=[];[_0x1bfb55(0x1a8)];[_0x1bfb55(0x1bb)];[_0x1bfb55(0x1a4)];[_0x1bfb55(0x1c5)];[_0x1bfb55(0x1ee)];[_0x1bfb55(0x1a7)]=new Set();[_0x1bfb55(0x1e1)];constructor(_0x502c11,_0x5be6c8,_0x1b7b8c,_0x4f5701,_0x52c4e7=!0x1){const _0x1ef536=_0x1bfb55,_0x4d690b=_0x502c11[_0x1ef536(0x1d1)];super(_0x4d690b),this[_0x1ef536(0x1fd)]=_0x4f5701,this[_0x1ef536(0x1e1)]=_0x52c4e7;const _0x8080fa=this[_0x1ef536(0x215)](_0x502c11,_0x5be6c8,_0x1b7b8c);this[_0x1ef536(0x1fe)]=new _0x27d52d(_0x4d690b,_0x8080fa,this[_0x1ef536(0x21d)]),this[_0x1ef536(0x1fe)][_0x1ef536(0x224)]=Js,this[_0x1ef536(0x1fe)][_0x1ef536(0x227)][_0x1ef536(0x1d2)](_0x8080fa),this[_0x1ef536(0x1bb)]=new _0x4b3696(),this[_0x1ef536(0x1a4)]=new _0x20db37(),_0x52c4e7&&(this[_0x1ef536(0x1c3)]=this[_0x1ef536(0x1c6)]()),this[_0x1ef536(0x1c5)]=_0x8080fa,this[_0x1ef536(0x1ee)]=new _0x4ccf29({'focusables':this[_0x1ef536(0x1c5)],'focusTracker':this[_0x1ef536(0x1bb)],'keystrokeHandler':this[_0x1ef536(0x1a4)]}),_0x52c4e7&&this[_0x1ef536(0x1c3)]&&this[_0x1ef536(0x1ee)][_0x1ef536(0x1f5)](this[_0x1ef536(0x1c3)][_0x1ef536(0x1ee)]);const _0x433eac=_0x52c4e7&&this[_0x1ef536(0x1c3)]?[this[_0x1ef536(0x1c3)]]:[this[_0x1ef536(0x1fe)]];this[_0x1ef536(0x1a8)]=new _0x2b9722(_0x433eac),this[_0x1ef536(0x21b)]({'tag':_0x1ef536(0x204),'attributes':{'class':['ck',_0x1ef536(0x1d5),_0x1ef536(0x1a5),_0x1ef536(0x20f)],'dir':_0x4d690b[_0x1ef536(0x1b3)]},'children':this[_0x1ef536(0x1a8)]});}[_0x1bfb55(0x1c6)](){const _0xe188ce=_0x1bfb55;return new _0x2e423b(this[_0xe188ce(0x1d1)],{'filteredView':this[_0xe188ce(0x1fe)],'queryView':{'label':_0x56551f(this[_0xe188ce(0x1d1)],_0xe188ce(0x228))},'class':_0xe188ce(0x208),'infoView':{'text':{'notFound':{'primary':_0x56551f(this[_0xe188ce(0x1d1)],_0xe188ce(0x1b0))}}}});}[_0x1bfb55(0x1c7)](){const _0x2f4ec3=_0x1bfb55;if(!this[_0x2f4ec3(0x1e1)]||!this[_0x2f4ec3(0x1c3)]||!this[_0x2f4ec3(0x1c3)][_0x2f4ec3(0x222)][_0x2f4ec3(0x1eb)][_0x2f4ec3(0x20c)])return!0x1;const _0x56b1f6=this[_0x2f4ec3(0x1c3)][_0x2f4ec3(0x222)][_0x2f4ec3(0x1eb)][_0x2f4ec3(0x20c)][_0x2f4ec3(0x1aa)]?.[_0x2f4ec3(0x1ac)];return this[_0x2f4ec3(0x1c3)][_0x2f4ec3(0x222)][_0x2f4ec3(0x1eb)][_0x2f4ec3(0x20c)][_0x2f4ec3(0x1e6)](_0x56b1f6);}[_0x1bfb55(0x215)](_0x46a74a,_0x31ecbe,_0x82dce6){const _0x3e709c=_0x1bfb55,_0xfb84f7=new _0x2b9722();return _0x31ecbe[_0x3e709c(0x1bd)](_0x60cf09=>{const _0x18d8f7=_0x3e709c;if(_0x18d8f7(0x1e9)in _0x60cf09){const {listItem:_0x35a9a0}=this[_0x18d8f7(0x1ab)](_0x46a74a,_0x60cf09,_0x82dce6);_0xfb84f7[_0x18d8f7(0x200)](_0x35a9a0),_0x60cf09[_0x18d8f7(0x1e9)][_0x18d8f7(0x1bd)](_0x1ff668=>{const _0x1ca463=_0x18d8f7;this[_0x1ca463(0x20b)](_0x46a74a,_0x1ff668,_0x60cf09[_0x1ca463(0x217)],_0x60cf09[_0x1ca463(0x1c0)]);const {listItem:_0xbfcfad,highlightViews:_0x5741bf}=this[_0x1ca463(0x1d6)](_0x46a74a,_0x1ff668,_0x60cf09[_0x1ca463(0x217)],_0x60cf09[_0x1ca463(0x1c0)]);this[_0x1ca463(0x21d)][_0x1ca463(0x1f0)]({'item':_0xbfcfad,'label':_0x1ff668[_0x1ca463(0x1ae)],'groupLabel':_0x60cf09[_0x1ca463(0x217)],'highlightViews':_0x5741bf});});}else{const {listItem:_0x2f1020}=this[_0x18d8f7(0x20b)](_0x46a74a,_0x60cf09);_0xfb84f7[_0x18d8f7(0x200)](_0x2f1020);const _0x4d1a0a=_0x2f1020[_0x18d8f7(0x1a8)][_0x18d8f7(0x21c)];if(_0x4d1a0a){const {listItem:_0xc2fdf9,highlightViews:_0xe4e7bf}=this[_0x18d8f7(0x1d6)](_0x46a74a,_0x60cf09);this[_0x18d8f7(0x21d)][_0x18d8f7(0x1f0)]({'item':_0xc2fdf9,'label':_0x4d1a0a[_0x18d8f7(0x217)]||'','highlightViews':_0xe4e7bf});}}}),_0xfb84f7;}[_0x1bfb55(0x20b)](_0x2194fd,_0x1d54c,_0x4a0c0c,_0x2c4974){const _0x2919e3=_0x1bfb55,_0x39b902=new _0x9ab537(this[_0x2919e3(0x1d1)]);if(_0x4a0c0c&&_0x2c4974){const _0x5ba85b=new _0x184fa2(this[_0x2919e3(0x1d1)]),_0x55b338=_0x5ba85b[_0x2919e3(0x1ef)],_0x20674e=new _0x58823d();_0x20674e[_0x2919e3(0x216)]=_0x1d54c[_0x2919e3(0x1ae)];const _0x38666c=new _0x58823d();_0x38666c[_0x2919e3(0x216)]=_0x4a0c0c;const _0x1ec2f0=new _0x5ed056();_0x1ec2f0[_0x2919e3(0x1c9)]=_0x2c4974,_0x1ec2f0[_0x2919e3(0x1c2)]({'attributes':{'class':_0x2919e3(0x1a3)}});const _0x3e40a4=new _0x1ba25d(this[_0x2919e3(0x1d1)]);_0x3e40a4[_0x2919e3(0x21b)]({'tag':_0x2919e3(0x20a),'attributes':{'class':_0x2919e3(0x211)},'children':[{'text':'\x20('}]});const _0x230ede=new _0x1ba25d(this[_0x2919e3(0x1d1)]);return _0x230ede[_0x2919e3(0x21b)]({'tag':_0x2919e3(0x20a),'attributes':{'class':_0x2919e3(0x220)},'children':[{'text':')'}]}),_0x5ba85b[_0x2919e3(0x1f1)]({'label':_0x1d54c[_0x2919e3(0x1ae)]+'\x20('+_0x4a0c0c+')','withText':!0x0,'role':_0x2919e3(0x1c4),'class':_0x2919e3(0x218),'tooltip':!0x1}),_0x5ba85b[_0x2919e3(0x21b)]({'tag':_0x2919e3(0x1a9),'attributes':{'class':['ck',_0x2919e3(0x1f4),_0x2919e3(0x1a6),_0x2919e3(0x1fa),_0x2919e3(0x1b4)],'type':_0x2919e3(0x1a9),'role':_0x2919e3(0x1c4),'tabindex':'-1'},'children':[_0x20674e,_0x3e40a4,_0x1ec2f0,_0x38666c,_0x230ede],'on':{'mouseenter':_0x55b338['to'](()=>{const _0x3145a1=_0x2919e3;this[_0x3145a1(0x1c7)]()||_0x5ba85b[_0x3145a1(0x21a)]();}),'click':_0x55b338['to'](()=>{const _0x46a239=_0x2919e3;_0x5ba85b[_0x46a239(0x205)](_0x46a239(0x1f8));})}}),_0x5ba85b['on'](_0x2919e3(0x1f8),()=>{const _0x268101=_0x2919e3;_0x2194fd[_0x268101(0x1f2)][_0x268101(0x1b2)][_0x268101(0x21a)](),_0x2194fd[_0x268101(0x206)][_0x268101(0x1f8)](_0x268101(0x1c1),_0x1d54c);}),_0x39b902[_0x2919e3(0x1a8)][_0x2919e3(0x200)](_0x5ba85b),{'listItem':_0x39b902,'highlightViews':[_0x20674e,_0x38666c]};}{const _0xbfe21b=new _0x17cac4(),_0x4aecef=new _0x184fa2(this[_0x2919e3(0x1d1)],_0xbfe21b),_0x391709=_0x4aecef[_0x2919e3(0x1ef)],_0x404b01=_0x1d54c[_0x2919e3(0x1c0)]??_0x1d54c[_0x2919e3(0x1f9)]?.[_0x2919e3(0x1c0)],_0x35443c=void 0x0!==_0x1d54c[_0x2919e3(0x1c0)];return _0x4aecef[_0x2919e3(0x1f1)]({'label':_0x1d54c[_0x2919e3(0x1ae)],'withText':!0x0,'role':_0x2919e3(0x1c4),'icon':_0x35443c?_0x404b01??_0x163621:void 0x0,'tooltip':!0x1,'class':_0x2919e3(0x1fa)}),_0x4aecef[_0x2919e3(0x1c2)]({'on':{'mouseenter':_0x391709['to'](()=>{const _0x17ce4b=_0x2919e3;this[_0x17ce4b(0x1c7)]()||_0x4aecef[_0x17ce4b(0x21a)]();})}}),_0x4aecef['on'](_0x2919e3(0x1f8),()=>{const _0x5b36c9=_0x2919e3;_0x2194fd[_0x5b36c9(0x1f2)][_0x5b36c9(0x1b2)][_0x5b36c9(0x21a)](),_0x2194fd[_0x5b36c9(0x206)][_0x5b36c9(0x1f8)](_0x5b36c9(0x1c1),_0x1d54c);}),_0x39b902[_0x2919e3(0x1a8)][_0x2919e3(0x200)](_0x4aecef),{'listItem':_0x39b902,'highlightViews':[_0xbfe21b]};}}[_0x1bfb55(0x1d6)](_0x19bf1a,_0x485305,_0x46101e,_0x3ad111){const _0xa869b5=_0x1bfb55;return _0x46101e&&_0x3ad111?this[_0xa869b5(0x202)](_0x19bf1a,_0x485305,_0x46101e,_0x3ad111):this[_0xa869b5(0x20e)](_0x19bf1a,_0x485305);}[_0x1bfb55(0x202)](_0x5ba138,_0x42ab05,_0xd63f2d,_0x4ce972){const _0x206ab4=_0x1bfb55,_0x46602e=new _0x9ab537(this[_0x206ab4(0x1d1)]),_0x59bb17=new _0x184fa2(this[_0x206ab4(0x1d1)]),_0x3d1e1f=_0x59bb17[_0x206ab4(0x1ef)],{view:_0x123aa2,highlightView:_0x886514}=this[_0x206ab4(0x1d0)](_0xd63f2d,_0x4ce972),{view:_0x42d3de,highlightView:_0x5d2603}=this[_0x206ab4(0x1fc)](_0x42ab05[_0x206ab4(0x1ae)]),_0x489359=this[_0x206ab4(0x213)](_0x123aa2,_0x42d3de);return _0x59bb17[_0x206ab4(0x1f1)]({'label':_0x42ab05[_0x206ab4(0x1ae)],'withText':!0x0,'role':_0x206ab4(0x1c4),'class':_0x206ab4(0x209),'tooltip':!0x1}),_0x59bb17[_0x206ab4(0x21b)]({'tag':_0x206ab4(0x1a9),'attributes':{'class':['ck',_0x206ab4(0x1f4),_0x206ab4(0x1a6),_0x206ab4(0x1fa),_0x206ab4(0x1ba),_0x206ab4(0x21f)],'type':_0x206ab4(0x1a9),'role':_0x206ab4(0x1c4),'tabindex':'-1'},'children':[_0x489359],'on':{'mouseenter':_0x3d1e1f['to'](()=>{const _0x3b4867=_0x206ab4;this[_0x3b4867(0x1c7)]()||_0x59bb17[_0x3b4867(0x21a)]();}),'click':_0x3d1e1f['to'](()=>{const _0x1bb340=_0x206ab4;this[_0x1bb340(0x22a)](_0x59bb17);})}}),this[_0x206ab4(0x1cd)](_0x59bb17,_0x5ba138,_0x42ab05),_0x46602e[_0x206ab4(0x1a8)][_0x206ab4(0x200)](_0x59bb17),{'listItem':_0x46602e,'highlightViews':[_0x886514,_0x5d2603]};}[_0x1bfb55(0x20e)](_0x1731ca,_0x5de86b){const _0x101868=_0x1bfb55,_0x375c3c=new _0x9ab537(this[_0x101868(0x1d1)]),_0x3a91d1=new _0x17cac4(),_0x6c3ee8=new _0x184fa2(this[_0x101868(0x1d1)],_0x3a91d1),_0x123894=_0x6c3ee8[_0x101868(0x1ef)];return _0x6c3ee8[_0x101868(0x1f1)]({'label':_0x5de86b[_0x101868(0x1ae)],'withText':!0x0,'role':_0x101868(0x1c4),'icon':void 0x0,'tooltip':!0x1,'class':_0x101868(0x1cc)}),_0x6c3ee8[_0x101868(0x1c2)]({'on':{'mouseenter':_0x123894['to'](()=>{const _0x6c733a=_0x101868;this[_0x6c733a(0x1c7)]()||_0x6c3ee8[_0x6c733a(0x21a)]();})}}),this[_0x101868(0x1cd)](_0x6c3ee8,_0x1731ca,_0x5de86b),_0x375c3c[_0x101868(0x1a8)][_0x101868(0x200)](_0x6c3ee8),{'listItem':_0x375c3c,'highlightViews':[_0x3a91d1]};}[_0x1bfb55(0x1d0)](_0x5e3b00,_0x208db0){const _0x5f4e53=_0x1bfb55,_0x161b1f=new _0x1ba25d(this[_0x5f4e53(0x1d1)]),_0x4f2143=new _0x5ed056();_0x4f2143[_0x5f4e53(0x1c9)]=_0x208db0,_0x4f2143[_0x5f4e53(0x1c2)]({'attributes':{'class':_0x5f4e53(0x1a3)}});const _0x1fd0a8=new _0x58823d();return _0x1fd0a8[_0x5f4e53(0x216)]=_0x5e3b00,_0x161b1f[_0x5f4e53(0x21b)]({'tag':_0x5f4e53(0x204),'attributes':{'class':_0x5f4e53(0x1af)},'children':[_0x4f2143,_0x1fd0a8]}),{'view':_0x161b1f,'highlightView':_0x1fd0a8};}[_0x1bfb55(0x1fc)](_0x5c2e34){const _0x4895cc=_0x1bfb55,_0x1c6ec3=new _0x1ba25d(this[_0x4895cc(0x1d1)]),_0x15656d=new _0x58823d();return _0x15656d[_0x4895cc(0x216)]=_0x5c2e34,_0x1c6ec3[_0x4895cc(0x21b)]({'tag':_0x4895cc(0x204),'attributes':{'class':_0x4895cc(0x1b1)},'children':[_0x15656d]}),{'view':_0x1c6ec3,'highlightView':_0x15656d};}[_0x1bfb55(0x213)](_0x522763,_0x117f63){const _0xde30d2=_0x1bfb55,_0x4a2d23=new _0x1ba25d(this[_0xde30d2(0x1d1)]);return _0x4a2d23[_0xde30d2(0x21b)]({'tag':_0xde30d2(0x204),'attributes':{'class':_0xde30d2(0x1d7)},'children':[_0x522763,_0x117f63]}),_0x4a2d23;}[_0x1bfb55(0x1cd)](_0x58d624,_0x11fbff,_0x3d903a){const _0x589c1a=_0x1bfb55;_0x58d624['on'](_0x589c1a(0x1f8),()=>{const _0x515af1=_0x589c1a;_0x11fbff[_0x515af1(0x1f2)][_0x515af1(0x1b2)][_0x515af1(0x21a)](),_0x11fbff[_0x515af1(0x206)][_0x515af1(0x1f8)](_0x515af1(0x1c1),_0x3d903a);});}[_0x1bfb55(0x1ab)](_0x5e77cc,_0x214ebe,_0x3feb18){const _0x2f35ec=_0x1bfb55,_0x7e8858=new _0x9ab537(this[_0x2f35ec(0x1d1)]),_0x13426e=new _0x17cac4(),_0x1c9f48=new _0x22d4b7(this[_0x2f35ec(0x1d1)],_0x13426e),_0x32352e=_0x1c9f48[_0x2f35ec(0x1ef)],_0x194166=this[_0x2f35ec(0x229)](_0x3feb18),_0x328776=this[_0x2f35ec(0x1ff)](_0x5e77cc,_0x214ebe[_0x2f35ec(0x1e9)],_0x3feb18);_0x1c9f48[_0x2f35ec(0x1f1)]({'label':_0x214ebe[_0x2f35ec(0x217)],'withText':!0x0,'role':Ws,'icon':_0x214ebe[_0x2f35ec(0x1c0)]??_0x163621,'isEnabled':_0x214ebe[_0x2f35ec(0x1e9)][_0x2f35ec(0x1e8)](_0x272c3c=>_0x272c3c[_0x2f35ec(0x212)])}),_0x1c9f48[_0x2f35ec(0x1c2)]({'on':{'mouseenter':_0x32352e['to'](()=>{const _0x7e5cba=_0x2f35ec;this[_0x7e5cba(0x1c7)]()||_0x1c9f48[_0x7e5cba(0x21a)]();})}});const _0x209279=new _0x283fb6(this[_0x2f35ec(0x1d1)]);return _0x209279[_0x2f35ec(0x1c2)]({'attributes':{'class':['ck',_0x2f35ec(0x1d5),_0x2f35ec(0x1ad),_0x2f35ec(0x1cb)]},'on':{'keydown':_0x32352e['to'](_0x43ddba=>{const _0x564583=_0x2f35ec;this[_0x564583(0x1bf)](_0x43ddba,_0x194166,_0x1c9f48,_0x209279);})}}),_0x1c9f48[_0x2f35ec(0x1df)](_0x2f35ec(0x219))['to'](_0x209279,_0x2f35ec(0x1db)),this[_0x2f35ec(0x1fd)][_0x2f35ec(0x200)](_0x209279),_0x209279[_0x2f35ec(0x1c9)][_0x2f35ec(0x200)](_0x328776),this[_0x2f35ec(0x225)](_0x1c9f48,_0x209279),_0x7e8858[_0x2f35ec(0x1a8)][_0x2f35ec(0x200)](_0x1c9f48),{'listItem':_0x7e8858,'highlightView':_0x13426e};}[_0x1bfb55(0x1ff)](_0x17d7b5,_0x201a2d,_0x5b4771){const _0x52a37f=_0x1bfb55,_0x9b4ce8=new _0x2f1f48(this[_0x52a37f(0x1d1)]);return _0x9b4ce8[_0x52a37f(0x1c2)]({'attributes':{'class':['ck',_0x52a37f(0x1d5),_0x52a37f(0x1d8),_0x52a37f(0x1e2)]}}),_0x201a2d[_0x52a37f(0x1bd)](_0x22e521=>{const _0x4234dd=_0x52a37f,_0x598ce7=new _0x9ab537(this[_0x4234dd(0x1d1)]),_0x2ceb28=_0x1f6150({'editor':_0x17d7b5,'action':_0x22e521,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4234dd(0x1c7)]()})();_0x598ce7[_0x4234dd(0x1a8)][_0x4234dd(0x200)](_0x2ceb28),_0x5b4771[_0x4234dd(0x1bb)][_0x4234dd(0x200)](_0x2ceb28),_0x9b4ce8[_0x4234dd(0x227)][_0x4234dd(0x200)](_0x598ce7);}),_0x9b4ce8;}[_0x1bfb55(0x225)](_0x525020,_0x1bfc8a){const _0x540bd7=_0x1bfb55,_0x4fe661=_0x525020[_0x540bd7(0x1ef)],_0x1bbfdf=this[_0x540bd7(0x221)](_0x525020);_0x525020[_0x540bd7(0x1c2)]({'attributes':{'class':[_0x540bd7(0x1b7)]},'on':{'mouseenter':_0x4fe661['to'](()=>{const _0x22ab42=_0x540bd7;this[_0x22ab42(0x226)](_0x1bfc8a,_0x525020);}),'mouseleave':_0x4fe661['to'](_0x4b8ffe=>{const _0x5b1020=_0x540bd7,_0x544d23=_0x4b8ffe[_0x5b1020(0x1d9)];this[_0x5b1020(0x201)](_0x544d23,_0x1bfc8a)||this[_0x5b1020(0x1bc)](_0x1bfc8a);}),'keydown':_0x4fe661['to'](_0x57908a=>{const _0xb61b26=_0x540bd7;_0x57908a[_0xb61b26(0x1b5)]==_0x1bbfdf&&(this[_0xb61b26(0x226)](_0x1bfc8a,_0x525020),_0x1bfc8a[_0xb61b26(0x1c9)][_0xb61b26(0x1f6)](0x0)[_0xb61b26(0x21a)]());})}}),_0x1bfc8a['on'](_0x540bd7(0x1e3),()=>{const _0x398ca6=_0x540bd7;_0x1bfc8a[_0x398ca6(0x20c)]?.[_0x398ca6(0x1f7)](_0x398ca6(0x21e),_0x5e817=>{const _0x6ce60a=_0x398ca6,_0x390319=_0x5e817[_0x6ce60a(0x1d9)];_0x525020[_0x6ce60a(0x20c)]?.[_0x6ce60a(0x1e6)](_0x390319)||this[_0x6ce60a(0x201)](_0x390319,_0x1bfc8a)||this[_0x6ce60a(0x1bc)](_0x1bfc8a);});});}[_0x1bfb55(0x226)](_0x51a8aa,_0x28df72){const _0x2a7941=_0x1bfb55;this[_0x2a7941(0x1a7)][_0x2a7941(0x1bd)](_0x185ffd=>{const _0x507ede=_0x2a7941;_0x185ffd!==_0x51a8aa&&_0x185ffd[_0x507ede(0x1db)]&&_0x185ffd[_0x507ede(0x1ec)]();}),_0x51a8aa[_0x2a7941(0x1f3)](),_0x51a8aa[_0x2a7941(0x1e4)]({'positions':[_0x263d64[_0x2a7941(0x210)]],'target':_0x28df72[_0x2a7941(0x20c)],'fitInViewport':!0x0}),this[_0x2a7941(0x1a7)][_0x2a7941(0x200)](_0x51a8aa);}[_0x1bfb55(0x1bc)](_0x33e08d){const _0x15cfa6=_0x1bfb55;_0x33e08d[_0x15cfa6(0x1ec)](),this[_0x15cfa6(0x1a7)][_0x15cfa6(0x1b8)](_0x33e08d);}[_0x1bfb55(0x1ed)](){const _0x124ee8=_0x1bfb55;this[_0x124ee8(0x1a7)][_0x124ee8(0x1bd)](_0x1c748d=>_0x1c748d[_0x124ee8(0x1ec)]()),this[_0x124ee8(0x1a7)][_0x124ee8(0x203)]();}[_0x1bfb55(0x201)](_0x1be188,_0x317855){const _0x139764=_0x1bfb55;if(!_0x1be188)return!0x1;if(_0x317855[_0x139764(0x20c)]?.[_0x139764(0x1e6)](_0x1be188))return!0x0;const _0x1fcd40=_0x1be188;return _0x1fcd40[_0x139764(0x1d4)]&&(null!==_0x1fcd40[_0x139764(0x1d4)](_0x139764(0x1dd))||null!==_0x1fcd40[_0x139764(0x1d4)](_0x139764(0x1ca))||null!==_0x1fcd40[_0x139764(0x1d4)](_0x139764(0x207)));}[_0x1bfb55(0x1da)](){const _0x2a7f61=_0x1bfb55;this[_0x2a7f61(0x1c3)]&&this[_0x2a7f61(0x1c3)][_0x2a7f61(0x1e0)]();}[_0x1bfb55(0x1fb)](){const _0x39eef2=_0x1bfb55;this[_0x39eef2(0x1ed)](),this[_0x39eef2(0x1fd)][_0x39eef2(0x1ea)](),super[_0x39eef2(0x1fb)]();}[_0x1bfb55(0x21a)](){const _0x3dc0b4=_0x1bfb55;this[_0x3dc0b4(0x1c3)]?this[_0x3dc0b4(0x1c3)][_0x3dc0b4(0x21a)]():this[_0x3dc0b4(0x1fe)][_0x3dc0b4(0x21a)]();}[_0x1bfb55(0x229)](_0x4cb2f2){const _0x55fcd2=_0x1bfb55;return _0x55fcd2(0x1e5)===_0x4cb2f2[_0x55fcd2(0x1d1)][_0x55fcd2(0x1b3)]?_0x55fcd2(0x1c8):_0x55fcd2(0x1e7);}[_0x1bfb55(0x221)](_0x4cb1ff){const _0x168e71=_0x1bfb55;return _0x168e71(0x1e5)===_0x4cb1ff[_0x168e71(0x1d1)][_0x168e71(0x1b3)]?_0x168e71(0x1e7):_0x168e71(0x1c8);}[_0x1bfb55(0x1bf)](_0x447e9e,_0x58b6d1,_0x410de4,_0x4d1d5b){const _0x2a91b2=_0x1bfb55;_0x447e9e[_0x2a91b2(0x1b5)]==_0x58b6d1&&(_0x410de4[_0x2a91b2(0x21a)](),this[_0x2a91b2(0x1bc)](_0x4d1d5b));}[_0x1bfb55(0x22a)](_0xd738ff){const _0x576367=_0x1bfb55;_0xd738ff[_0x576367(0x205)](_0x576367(0x1f8));}}
|
|
23
|
+
function _0x5101(_0x36c1fc,_0x25bbb1){const _0x433914=_0x4339();return _0x5101=function(_0x510121,_0x33f6c1){_0x510121=_0x510121-0x194;let _0x3f1d52=_0x433914[_0x510121];return _0x3f1d52;},_0x5101(_0x36c1fc,_0x25bbb1);}const _0x3bc300=_0x5101;(function(_0x1888b0,_0x4bc619){const _0x4e8c85=_0x5101,_0x438f63=_0x1888b0();while(!![]){try{const _0x530a66=parseInt(_0x4e8c85(0x1ec))/0x1+-parseInt(_0x4e8c85(0x1f9))/0x2+-parseInt(_0x4e8c85(0x1b9))/0x3*(parseInt(_0x4e8c85(0x211))/0x4)+-parseInt(_0x4e8c85(0x209))/0x5*(-parseInt(_0x4e8c85(0x1e6))/0x6)+-parseInt(_0x4e8c85(0x20e))/0x7*(parseInt(_0x4e8c85(0x1c9))/0x8)+-parseInt(_0x4e8c85(0x20b))/0x9*(-parseInt(_0x4e8c85(0x1fb))/0xa)+-parseInt(_0x4e8c85(0x1c1))/0xb*(-parseInt(_0x4e8c85(0x1d9))/0xc);if(_0x530a66===_0x4bc619)break;else _0x438f63['push'](_0x438f63['shift']());}catch(_0x2c6a50){_0x438f63['push'](_0x438f63['shift']());}}}(_0x4339,0xbe84d));import{View as _0x48bdb1,ListItemView as _0x23a4f5,ListView as _0x2c3412,BalloonPanelView as _0x3e6721,DropdownMenuPanelPositioningFunctions as _0x5b2a58,ViewCollection as _0x209c20,FocusCycler as _0xc47f87,ButtonView as _0x344610,IconView as _0x3fde26,HighlightedTextView as _0x356f3c,ButtonLabelWithHighlightView as _0x2d0bed,SearchTextView as _0x27c911}from'ckeditor5/src/ui.js';function _0x4339(){const _0x4c9761=['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','label','_createSearchResultContentView','ck-ai-quick-actions-button_with-group','isVisible','ck-ai-quick-actions-group-button','addMany','74930UbJbpG','bind','28062PNZZut','_openNestedPanels','ck-dropdown-menu__nested-menu__panel','4711PTnNVT','_isSearchFocused','push','2628eKewrX','_createSearchResultActionRow','ck-button_with-text','pin','icon','show','AI_QUICK_ACTIONS_SEARCH','_createSearchTextView','div','_allSearchableItems','_createGroupActionsList','resetSearch','keystrokes','_focusables','isOn','_hideNestedPanel','eastSouth','_handlePanelKeydown','focus','_createActionGroupButton','span','relatedTarget','chain','_createListItems','focusTracker','_searchTextView','button','activeElement','clear','ck-ai-quick-actions-search-result__action-row','_handleSearchResultButtonClick','parent','_bodyCollection','children','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','render','mouseleave','locale','fire','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','.ck-ai-quick-actions-group-panel','rtl','_setupActionButtonExecution','actions','_isMovingToNestedMenu','_createSearchResultIndividualActionButton','content','hide','element','2778YPeLmp','items','setTemplate','contains','ck-ai-quick-actions-button__group-icon','destroy','text','ck-dropdown-menu-list','70092AuNaJc','optionsListView','_getButtonKeystroke','bindTemplate','add','fieldView','ArrowLeft','ck-reset_all','6904gmsyML','uiLanguageDirection','extendTemplate','view','focusCycler','ck-rounded-corners','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-search-result__group-row','reset','ck-ai-quick-actions-button','get','menuitem','ck-ai-quick-actions-search-result-button_with-group','_createSearchResultActionButton','delete','isEnabled','912TOMqSh','ck-ai-quick-actions-search-result__content','_showNestedPanel','editing','ck-ai-quick-actions-group-list','ownerDocument','_createSearchResultGroupedActionButton','some','forEach','detachFromDom','_setupGroupMenuBehavior','closest','execute','618NdgLwi','ck-button','menu','commands','queryView','_getPanelKeystroke','560321FTDmZr','ArrowRight','_hideAllNestedPanels','addEventListener','role','.ck-ai-quick-actions-group-button','displayedPrompt','_hasSearch','ck-ai-quick-actions-button_with-group__close-paren','_createSearchResultGroupRow','ck-ai-quick-actions-search-result-button','set','.ck-ai-quick-actions-group-list','1555246GUNSWD','_createActionButton','510xweFNI','ck-ai-quick-actions','ck-ai-quick-actions-search','first','key','aiQuickAction'];_0x4339=function(){return _0x4c9761;};return _0x4339();}import{IconAIQuickActions as _0x4a255c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x362cf2,KeystrokeHandler as _0x589c8e}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x23156a}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x534bd1}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x70a6f1}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0xed6f65}from'./aiquickactionsfilteredlistview.js';const Js=_0x3bc300(0x1e8),Ws=_0x3bc300(0x1d4);export class AIQuickActionsDropdownContentView extends _0x48bdb1{[_0x3bc300(0x1a7)];[_0x3bc300(0x1c2)];[_0x3bc300(0x1a0)]=null;[_0x3bc300(0x21a)]=[];[_0x3bc300(0x1a8)];[_0x3bc300(0x19f)];[_0x3bc300(0x21d)];[_0x3bc300(0x194)];[_0x3bc300(0x1cd)];[_0x3bc300(0x20c)]=new Set();[_0x3bc300(0x1f3)];constructor(_0xd7ee16,_0x3ff2d3,_0x325d84,_0x105e75,_0x20a444=!0x1){const _0x24f8ed=_0x3bc300,_0xb88b70=_0xd7ee16[_0x24f8ed(0x1ad)];super(_0xb88b70),this[_0x24f8ed(0x1a7)]=_0x105e75,this[_0x24f8ed(0x1f3)]=_0x20a444;const _0x53d71f=this[_0x24f8ed(0x19e)](_0xd7ee16,_0x3ff2d3,_0x325d84);this[_0x24f8ed(0x1c2)]=new _0xed6f65(_0xb88b70,_0x53d71f,this[_0x24f8ed(0x21a)]),this[_0x24f8ed(0x1c2)][_0x24f8ed(0x1f0)]=Js,this[_0x24f8ed(0x1c2)][_0x24f8ed(0x1ba)][_0x24f8ed(0x208)](_0x53d71f),this[_0x24f8ed(0x19f)]=new _0x362cf2(),this[_0x24f8ed(0x21d)]=new _0x589c8e(),_0x20a444&&(this[_0x24f8ed(0x1a0)]=this[_0x24f8ed(0x218)]()),this[_0x24f8ed(0x194)]=_0x53d71f,this[_0x24f8ed(0x1cd)]=new _0xc47f87({'focusables':this[_0x24f8ed(0x194)],'focusTracker':this[_0x24f8ed(0x19f)],'keystrokeHandler':this[_0x24f8ed(0x21d)]}),_0x20a444&&this[_0x24f8ed(0x1a0)]&&this[_0x24f8ed(0x1cd)][_0x24f8ed(0x19d)](this[_0x24f8ed(0x1a0)][_0x24f8ed(0x1cd)]);const _0x574925=_0x20a444&&this[_0x24f8ed(0x1a0)]?[this[_0x24f8ed(0x1a0)]]:[this[_0x24f8ed(0x1c2)]];this[_0x24f8ed(0x1a8)]=new _0x209c20(_0x574925),this[_0x24f8ed(0x1bb)]({'tag':_0x24f8ed(0x219),'attributes':{'class':['ck',_0x24f8ed(0x1c8),_0x24f8ed(0x1fc),_0x24f8ed(0x1ce)],'dir':_0xb88b70[_0x24f8ed(0x1ca)]},'children':this[_0x24f8ed(0x1a8)]});}[_0x3bc300(0x218)](){const _0x5b8c29=_0x3bc300;return new _0x27c911(this[_0x5b8c29(0x1ad)],{'filteredView':this[_0x5b8c29(0x1c2)],'queryView':{'label':_0x70a6f1(this[_0x5b8c29(0x1ad)],_0x5b8c29(0x217))},'class':_0x5b8c29(0x1fd),'infoView':{'text':{'notFound':{'primary':_0x70a6f1(this[_0x5b8c29(0x1ad)],_0x5b8c29(0x201))}}}});}[_0x3bc300(0x20f)](){const _0x489789=_0x3bc300;if(!this[_0x489789(0x1f3)]||!this[_0x489789(0x1a0)]||!this[_0x489789(0x1a0)][_0x489789(0x1ea)][_0x489789(0x1c6)][_0x489789(0x1b8)])return!0x1;const _0x5ca82d=this[_0x489789(0x1a0)][_0x489789(0x1ea)][_0x489789(0x1c6)][_0x489789(0x1b8)][_0x489789(0x1de)]?.[_0x489789(0x1a2)];return this[_0x489789(0x1a0)][_0x489789(0x1ea)][_0x489789(0x1c6)][_0x489789(0x1b8)][_0x489789(0x1bc)](_0x5ca82d);}[_0x3bc300(0x19e)](_0x431fd9,_0x3121d3,_0x2921c8){const _0x837c6b=_0x3bc300,_0x50177f=new _0x209c20();return _0x3121d3[_0x837c6b(0x1e1)](_0x467d27=>{const _0xcad3c9=_0x837c6b;if(_0xcad3c9(0x1b3)in _0x467d27){const {listItem:_0x4f56d4}=this[_0xcad3c9(0x19a)](_0x431fd9,_0x467d27,_0x2921c8);_0x50177f[_0xcad3c9(0x1c5)](_0x4f56d4),_0x467d27[_0xcad3c9(0x1b3)][_0xcad3c9(0x1e1)](_0x329def=>{const _0x5d5fae=_0xcad3c9;this[_0x5d5fae(0x1fa)](_0x431fd9,_0x329def,_0x467d27[_0x5d5fae(0x203)],_0x467d27[_0x5d5fae(0x215)]);const {listItem:_0x159036,highlightViews:_0xef5089}=this[_0x5d5fae(0x1d6)](_0x431fd9,_0x329def,_0x467d27[_0x5d5fae(0x203)],_0x467d27[_0x5d5fae(0x215)]);this[_0x5d5fae(0x21a)][_0x5d5fae(0x210)]({'item':_0x159036,'label':_0x329def[_0x5d5fae(0x1f2)],'groupLabel':_0x467d27[_0x5d5fae(0x203)],'highlightViews':_0xef5089});});}else{const {listItem:_0x411eb3}=this[_0xcad3c9(0x1fa)](_0x431fd9,_0x467d27);_0x50177f[_0xcad3c9(0x1c5)](_0x411eb3);const _0x1336f7=_0x411eb3[_0xcad3c9(0x1a8)][_0xcad3c9(0x1fe)];if(_0x1336f7){const {listItem:_0x2d1307,highlightViews:_0x1d2527}=this[_0xcad3c9(0x1d6)](_0x431fd9,_0x467d27);this[_0xcad3c9(0x21a)][_0xcad3c9(0x210)]({'item':_0x2d1307,'label':_0x1336f7[_0xcad3c9(0x203)]||'','highlightViews':_0x1d2527});}}}),_0x50177f;}[_0x3bc300(0x1fa)](_0x4b8b50,_0x1fa05f,_0x4668ea,_0x1213ce){const _0x3991f5=_0x3bc300,_0x45af12=new _0x23a4f5(this[_0x3991f5(0x1ad)]);if(_0x4668ea&&_0x1213ce){const _0x333ba8=new _0x344610(this[_0x3991f5(0x1ad)]),_0xb35d7f=_0x333ba8[_0x3991f5(0x1c4)],_0x59864e=new _0x356f3c();_0x59864e[_0x3991f5(0x1bf)]=_0x1fa05f[_0x3991f5(0x1f2)];const _0x28ce94=new _0x356f3c();_0x28ce94[_0x3991f5(0x1bf)]=_0x4668ea;const _0x185e2f=new _0x3fde26();_0x185e2f[_0x3991f5(0x1b6)]=_0x1213ce,_0x185e2f[_0x3991f5(0x1cb)]({'attributes':{'class':_0x3991f5(0x1bd)}});const _0x46fe5c=new _0x48bdb1(this[_0x3991f5(0x1ad)]);_0x46fe5c[_0x3991f5(0x1bb)]({'tag':_0x3991f5(0x19b),'attributes':{'class':_0x3991f5(0x1cf)},'children':[{'text':'\x20('}]});const _0x20f16c=new _0x48bdb1(this[_0x3991f5(0x1ad)]);return _0x20f16c[_0x3991f5(0x1bb)]({'tag':_0x3991f5(0x19b),'attributes':{'class':_0x3991f5(0x1f4)},'children':[{'text':')'}]}),_0x333ba8[_0x3991f5(0x1f7)]({'label':_0x1fa05f[_0x3991f5(0x1f2)]+'\x20('+_0x4668ea+')','withText':!0x0,'role':_0x3991f5(0x1d4),'class':_0x3991f5(0x1aa),'tooltip':!0x1}),_0x333ba8[_0x3991f5(0x1bb)]({'tag':_0x3991f5(0x1a1),'attributes':{'class':['ck',_0x3991f5(0x1e7),_0x3991f5(0x213),_0x3991f5(0x1d2),_0x3991f5(0x205)],'type':_0x3991f5(0x1a1),'role':_0x3991f5(0x1d4),'tabindex':'-1'},'children':[_0x59864e,_0x46fe5c,_0x185e2f,_0x28ce94,_0x20f16c],'on':{'mouseenter':_0xb35d7f['to'](()=>{const _0x49b126=_0x3991f5;this[_0x49b126(0x20f)]()||_0x333ba8[_0x49b126(0x199)]();}),'click':_0xb35d7f['to'](()=>{const _0x5ed6bb=_0x3991f5;_0x333ba8[_0x5ed6bb(0x1ae)](_0x5ed6bb(0x1e5));})}}),_0x333ba8['on'](_0x3991f5(0x1e5),()=>{const _0x29c721=_0x3991f5;_0x4b8b50[_0x29c721(0x1dc)][_0x29c721(0x1cc)][_0x29c721(0x199)](),_0x4b8b50[_0x29c721(0x1e9)][_0x29c721(0x1e5)](_0x29c721(0x200),_0x1fa05f);}),_0x45af12[_0x3991f5(0x1a8)][_0x3991f5(0x1c5)](_0x333ba8),{'listItem':_0x45af12,'highlightViews':[_0x59864e,_0x28ce94]};}{const _0x3f226d=new _0x2d0bed(),_0x403aa3=new _0x344610(this[_0x3991f5(0x1ad)],_0x3f226d),_0x46a3de=_0x403aa3[_0x3991f5(0x1c4)],_0x54ce04=_0x1fa05f[_0x3991f5(0x215)]??_0x1fa05f[_0x3991f5(0x1a6)]?.[_0x3991f5(0x215)],_0x226148=void 0x0!==_0x1fa05f[_0x3991f5(0x215)];return _0x403aa3[_0x3991f5(0x1f7)]({'label':_0x1fa05f[_0x3991f5(0x1f2)],'withText':!0x0,'role':_0x3991f5(0x1d4),'icon':_0x226148?_0x54ce04??_0x4a255c:void 0x0,'tooltip':!0x1,'class':_0x3991f5(0x1d2)}),_0x403aa3[_0x3991f5(0x1cb)]({'on':{'mouseenter':_0x46a3de['to'](()=>{const _0x3f17c8=_0x3991f5;this[_0x3f17c8(0x20f)]()||_0x403aa3[_0x3f17c8(0x199)]();})}}),_0x403aa3['on'](_0x3991f5(0x1e5),()=>{const _0x5e44be=_0x3991f5;_0x4b8b50[_0x5e44be(0x1dc)][_0x5e44be(0x1cc)][_0x5e44be(0x199)](),_0x4b8b50[_0x5e44be(0x1e9)][_0x5e44be(0x1e5)](_0x5e44be(0x200),_0x1fa05f);}),_0x45af12[_0x3991f5(0x1a8)][_0x3991f5(0x1c5)](_0x403aa3),{'listItem':_0x45af12,'highlightViews':[_0x3f226d]};}}[_0x3bc300(0x1d6)](_0x1360ab,_0x25a788,_0xb30c0a,_0x190b89){const _0x1cb166=_0x3bc300;return _0xb30c0a&&_0x190b89?this[_0x1cb166(0x1df)](_0x1360ab,_0x25a788,_0xb30c0a,_0x190b89):this[_0x1cb166(0x1b5)](_0x1360ab,_0x25a788);}[_0x3bc300(0x1df)](_0x3b2dd4,_0x52c1f4,_0x4c3463,_0x21ea81){const _0x4b1fff=_0x3bc300,_0x3f2dc1=new _0x23a4f5(this[_0x4b1fff(0x1ad)]),_0x57f5a4=new _0x344610(this[_0x4b1fff(0x1ad)]),_0x359c60=_0x57f5a4[_0x4b1fff(0x1c4)],{view:_0xf802eb,highlightView:_0x1c0198}=this[_0x4b1fff(0x1f5)](_0x4c3463,_0x21ea81),{view:_0x55fe4d,highlightView:_0x1bdceb}=this[_0x4b1fff(0x212)](_0x52c1f4[_0x4b1fff(0x1f2)]),_0xe4396c=this[_0x4b1fff(0x204)](_0xf802eb,_0x55fe4d);return _0x57f5a4[_0x4b1fff(0x1f7)]({'label':_0x52c1f4[_0x4b1fff(0x1f2)],'withText':!0x0,'role':_0x4b1fff(0x1d4),'class':_0x4b1fff(0x202),'tooltip':!0x1}),_0x57f5a4[_0x4b1fff(0x1bb)]({'tag':_0x4b1fff(0x1a1),'attributes':{'class':['ck',_0x4b1fff(0x1e7),_0x4b1fff(0x213),_0x4b1fff(0x1d2),_0x4b1fff(0x1f6),_0x4b1fff(0x1d5)],'type':_0x4b1fff(0x1a1),'role':_0x4b1fff(0x1d4),'tabindex':'-1'},'children':[_0xe4396c],'on':{'mouseenter':_0x359c60['to'](()=>{const _0x270044=_0x4b1fff;this[_0x270044(0x20f)]()||_0x57f5a4[_0x270044(0x199)]();}),'click':_0x359c60['to'](()=>{const _0x3d500c=_0x4b1fff;this[_0x3d500c(0x1a5)](_0x57f5a4);})}}),this[_0x4b1fff(0x1b2)](_0x57f5a4,_0x3b2dd4,_0x52c1f4),_0x3f2dc1[_0x4b1fff(0x1a8)][_0x4b1fff(0x1c5)](_0x57f5a4),{'listItem':_0x3f2dc1,'highlightViews':[_0x1c0198,_0x1bdceb]};}[_0x3bc300(0x1b5)](_0x6dca05,_0x3319c9){const _0x16fcde=_0x3bc300,_0x48cc2c=new _0x23a4f5(this[_0x16fcde(0x1ad)]),_0x256ea6=new _0x2d0bed(),_0x50772f=new _0x344610(this[_0x16fcde(0x1ad)],_0x256ea6),_0x309d78=_0x50772f[_0x16fcde(0x1c4)];return _0x50772f[_0x16fcde(0x1f7)]({'label':_0x3319c9[_0x16fcde(0x1f2)],'withText':!0x0,'role':_0x16fcde(0x1d4),'icon':void 0x0,'tooltip':!0x1,'class':_0x16fcde(0x1af)}),_0x50772f[_0x16fcde(0x1cb)]({'on':{'mouseenter':_0x309d78['to'](()=>{const _0x106f48=_0x16fcde;this[_0x106f48(0x20f)]()||_0x50772f[_0x106f48(0x199)]();})}}),this[_0x16fcde(0x1b2)](_0x50772f,_0x6dca05,_0x3319c9),_0x48cc2c[_0x16fcde(0x1a8)][_0x16fcde(0x1c5)](_0x50772f),{'listItem':_0x48cc2c,'highlightViews':[_0x256ea6]};}[_0x3bc300(0x1f5)](_0x5a860c,_0x151055){const _0x24f16a=_0x3bc300,_0x108813=new _0x48bdb1(this[_0x24f16a(0x1ad)]),_0x4c6e8d=new _0x3fde26();_0x4c6e8d[_0x24f16a(0x1b6)]=_0x151055,_0x4c6e8d[_0x24f16a(0x1cb)]({'attributes':{'class':_0x24f16a(0x1bd)}});const _0x2c6152=new _0x356f3c();return _0x2c6152[_0x24f16a(0x1bf)]=_0x5a860c,_0x108813[_0x24f16a(0x1bb)]({'tag':_0x24f16a(0x219),'attributes':{'class':_0x24f16a(0x1d0)},'children':[_0x4c6e8d,_0x2c6152]}),{'view':_0x108813,'highlightView':_0x2c6152};}[_0x3bc300(0x212)](_0x36e1a7){const _0x5a8a27=_0x3bc300,_0x4447e6=new _0x48bdb1(this[_0x5a8a27(0x1ad)]),_0x32af02=new _0x356f3c();return _0x32af02[_0x5a8a27(0x1bf)]=_0x36e1a7,_0x4447e6[_0x5a8a27(0x1bb)]({'tag':_0x5a8a27(0x219),'attributes':{'class':_0x5a8a27(0x1a4)},'children':[_0x32af02]}),{'view':_0x4447e6,'highlightView':_0x32af02};}[_0x3bc300(0x204)](_0x37a7b4,_0x145e0f){const _0x3ad3b5=_0x3bc300,_0x14f1cb=new _0x48bdb1(this[_0x3ad3b5(0x1ad)]);return _0x14f1cb[_0x3ad3b5(0x1bb)]({'tag':_0x3ad3b5(0x219),'attributes':{'class':_0x3ad3b5(0x1da)},'children':[_0x37a7b4,_0x145e0f]}),_0x14f1cb;}[_0x3bc300(0x1b2)](_0x267dd2,_0xcab9c0,_0x53d9e0){const _0x3a8684=_0x3bc300;_0x267dd2['on'](_0x3a8684(0x1e5),()=>{const _0x26dca1=_0x3a8684;_0xcab9c0[_0x26dca1(0x1dc)][_0x26dca1(0x1cc)][_0x26dca1(0x199)](),_0xcab9c0[_0x26dca1(0x1e9)][_0x26dca1(0x1e5)](_0x26dca1(0x200),_0x53d9e0);});}[_0x3bc300(0x19a)](_0x488e89,_0xda4652,_0x214f74){const _0x11156d=_0x3bc300,_0x5eaa0=new _0x23a4f5(this[_0x11156d(0x1ad)]),_0x51c0c7=new _0x2d0bed(),_0x190931=new _0x534bd1(this[_0x11156d(0x1ad)],_0x51c0c7),_0x3ac396=_0x190931[_0x11156d(0x1c4)],_0x2d256d=this[_0x11156d(0x1eb)](_0x214f74),_0x3eb0b2=this[_0x11156d(0x21b)](_0x488e89,_0xda4652[_0x11156d(0x1b3)],_0x214f74);_0x190931[_0x11156d(0x1f7)]({'label':_0xda4652[_0x11156d(0x203)],'withText':!0x0,'role':Ws,'icon':_0xda4652[_0x11156d(0x215)]??_0x4a255c,'isEnabled':_0xda4652[_0x11156d(0x1b3)][_0x11156d(0x1e0)](_0x1cd90f=>_0x1cd90f[_0x11156d(0x1d8)])}),_0x190931[_0x11156d(0x1cb)]({'on':{'mouseenter':_0x3ac396['to'](()=>{const _0x532dd5=_0x11156d;this[_0x532dd5(0x20f)]()||_0x190931[_0x532dd5(0x199)]();})}});const _0x61e9c6=new _0x3e6721(this[_0x11156d(0x1ad)]);return _0x61e9c6[_0x11156d(0x1cb)]({'attributes':{'class':['ck',_0x11156d(0x1c8),_0x11156d(0x1a9),_0x11156d(0x20d)]},'on':{'keydown':_0x3ac396['to'](_0x313168=>{const _0x164236=_0x11156d;this[_0x164236(0x198)](_0x313168,_0x2d256d,_0x190931,_0x61e9c6);})}}),_0x190931[_0x11156d(0x20a)](_0x11156d(0x195))['to'](_0x61e9c6,_0x11156d(0x206)),this[_0x11156d(0x1a7)][_0x11156d(0x1c5)](_0x61e9c6),_0x61e9c6[_0x11156d(0x1b6)][_0x11156d(0x1c5)](_0x3eb0b2),this[_0x11156d(0x1e3)](_0x190931,_0x61e9c6),_0x5eaa0[_0x11156d(0x1a8)][_0x11156d(0x1c5)](_0x190931),{'listItem':_0x5eaa0,'highlightView':_0x51c0c7};}[_0x3bc300(0x21b)](_0xf80007,_0x57be18,_0x5709a5){const _0x3944e9=_0x3bc300,_0x1cb886=new _0x2c3412(this[_0x3944e9(0x1ad)]);return _0x1cb886[_0x3944e9(0x1cb)]({'attributes':{'class':['ck',_0x3944e9(0x1c8),_0x3944e9(0x1dd),_0x3944e9(0x1c0)]}}),_0x57be18[_0x3944e9(0x1e1)](_0x245ef1=>{const _0x4d2460=_0x3944e9,_0x3faf87=new _0x23a4f5(this[_0x4d2460(0x1ad)]),_0x45e2a1=_0x23156a({'editor':_0xf80007,'action':_0x245ef1,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4d2460(0x20f)]()})();_0x3faf87[_0x4d2460(0x1a8)][_0x4d2460(0x1c5)](_0x45e2a1),_0x5709a5[_0x4d2460(0x19f)][_0x4d2460(0x1c5)](_0x45e2a1),_0x1cb886[_0x4d2460(0x1ba)][_0x4d2460(0x1c5)](_0x3faf87);}),_0x1cb886;}[_0x3bc300(0x1e3)](_0x345c07,_0x2ad594){const _0x29894e=_0x3bc300,_0xe5b35f=_0x345c07[_0x29894e(0x1c4)],_0x12ac1f=this[_0x29894e(0x1c3)](_0x345c07);_0x345c07[_0x29894e(0x1cb)]({'attributes':{'class':[_0x29894e(0x207)]},'on':{'mouseenter':_0xe5b35f['to'](()=>{const _0x26164f=_0x29894e;this[_0x26164f(0x1db)](_0x2ad594,_0x345c07);}),'mouseleave':_0xe5b35f['to'](_0x43484d=>{const _0x1e8e4e=_0x29894e,_0x3b1c23=_0x43484d[_0x1e8e4e(0x19c)];this[_0x1e8e4e(0x1b4)](_0x3b1c23,_0x2ad594)||this[_0x1e8e4e(0x196)](_0x2ad594);}),'keydown':_0xe5b35f['to'](_0x4b9c48=>{const _0x14800c=_0x29894e;_0x4b9c48[_0x14800c(0x1ff)]==_0x12ac1f&&(this[_0x14800c(0x1db)](_0x2ad594,_0x345c07),_0x2ad594[_0x14800c(0x1b6)][_0x14800c(0x1d3)](0x0)[_0x14800c(0x199)]());})}}),_0x2ad594['on'](_0x29894e(0x1ab),()=>{const _0x74246d=_0x29894e;_0x2ad594[_0x74246d(0x1b8)]?.[_0x74246d(0x1ef)](_0x74246d(0x1ac),_0x3b657a=>{const _0x5fad05=_0x74246d,_0x1b3d73=_0x3b657a[_0x5fad05(0x19c)];_0x345c07[_0x5fad05(0x1b8)]?.[_0x5fad05(0x1bc)](_0x1b3d73)||this[_0x5fad05(0x1b4)](_0x1b3d73,_0x2ad594)||this[_0x5fad05(0x196)](_0x2ad594);});});}[_0x3bc300(0x1db)](_0x1712ab,_0x2a42ee){const _0x6324da=_0x3bc300;this[_0x6324da(0x20c)][_0x6324da(0x1e1)](_0x1775ff=>{const _0x5ce68c=_0x6324da;_0x1775ff!==_0x1712ab&&_0x1775ff[_0x5ce68c(0x206)]&&_0x1775ff[_0x5ce68c(0x1b7)]();}),_0x1712ab[_0x6324da(0x216)](),_0x1712ab[_0x6324da(0x214)]({'positions':[_0x5b2a58[_0x6324da(0x197)]],'target':_0x2a42ee[_0x6324da(0x1b8)],'fitInViewport':!0x0}),this[_0x6324da(0x20c)][_0x6324da(0x1c5)](_0x1712ab);}[_0x3bc300(0x196)](_0x1cf297){const _0x507515=_0x3bc300;_0x1cf297[_0x507515(0x1b7)](),this[_0x507515(0x20c)][_0x507515(0x1d7)](_0x1cf297);}[_0x3bc300(0x1ee)](){const _0x595222=_0x3bc300;this[_0x595222(0x20c)][_0x595222(0x1e1)](_0x2d70f4=>_0x2d70f4[_0x595222(0x1b7)]()),this[_0x595222(0x20c)][_0x595222(0x1a3)]();}[_0x3bc300(0x1b4)](_0x5c2537,_0x4d04ba){const _0x1e5680=_0x3bc300;if(!_0x5c2537)return!0x1;if(_0x4d04ba[_0x1e5680(0x1b8)]?.[_0x1e5680(0x1bc)](_0x5c2537))return!0x0;const _0x301179=_0x5c2537;return _0x301179[_0x1e5680(0x1e4)]&&(null!==_0x301179[_0x1e5680(0x1e4)](_0x1e5680(0x1b0))||null!==_0x301179[_0x1e5680(0x1e4)](_0x1e5680(0x1f8))||null!==_0x301179[_0x1e5680(0x1e4)](_0x1e5680(0x1f1)));}[_0x3bc300(0x21c)](){const _0x52e151=_0x3bc300;this[_0x52e151(0x1a0)]&&this[_0x52e151(0x1a0)][_0x52e151(0x1d1)]();}[_0x3bc300(0x1be)](){const _0x97f431=_0x3bc300;this[_0x97f431(0x1ee)](),this[_0x97f431(0x1a7)][_0x97f431(0x1e2)](),super[_0x97f431(0x1be)]();}[_0x3bc300(0x199)](){const _0x5d9c2f=_0x3bc300;this[_0x5d9c2f(0x1a0)]?this[_0x5d9c2f(0x1a0)][_0x5d9c2f(0x199)]():this[_0x5d9c2f(0x1c2)][_0x5d9c2f(0x199)]();}[_0x3bc300(0x1eb)](_0x4fb3c4){const _0x3ce8ff=_0x3bc300;return _0x3ce8ff(0x1b1)===_0x4fb3c4[_0x3ce8ff(0x1ad)][_0x3ce8ff(0x1ca)]?_0x3ce8ff(0x1ed):_0x3ce8ff(0x1c7);}[_0x3bc300(0x1c3)](_0x29d840){const _0x33a429=_0x3bc300;return _0x33a429(0x1b1)===_0x29d840[_0x33a429(0x1ad)][_0x33a429(0x1ca)]?_0x33a429(0x1c7):_0x33a429(0x1ed);}[_0x3bc300(0x198)](_0xe595c9,_0x147b76,_0x487048,_0x5c439a){const _0x166a51=_0x3bc300;_0xe595c9[_0x166a51(0x1ff)]==_0x147b76&&(_0x487048[_0x166a51(0x199)](),this[_0x166a51(0x196)](_0x5c439a));}[_0x3bc300(0x1a5)](_0x3a8d00){const _0x1dcb2f=_0x3bc300;_0x3a8d00[_0x1dcb2f(0x1ae)](_0x1dcb2f(0x1e5));}}
|