@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19567f=_0x5a0f;function _0x5a0f(_0x51a9b5,_0x244e68){const _0x3ac3db=_0x3ac3();return _0x5a0f=function(_0x5a0ffb,_0x47adba){_0x5a0ffb=_0x5a0ffb-0x162;let _0x44f9ea=_0x3ac3db[_0x5a0ffb];return _0x44f9ea;},_0x5a0f(_0x51a9b5,_0x244e68);}function _0x3ac3(){const _0x56bc96=['code','reverse','ins','signal','343848JlaJZP','116422DgLsLZ','bind','from','1373724WdtPJO','15AMCigQ','options','sup','now','delay','forEach','childNodes','querySelectorAll','isWordSplitSource','sub','onStreamUpdate','shouldBeStreamed','cleanUpAnimations','includes','lastUpdateTime','splitTextNodeIntoWordNodes','799530viHWdr','872VaJMBe','span[data-ck-html-streamer-word-chunk]','match','isStreaming','911548pforbv','tagName','parent','addEventListener','isWordSplitResult','renderNode','push','reset','replaceWith','div','nodesList','strong','attribs','mark','entries','timeoutAbortController','currentIndex','355071HdIAHF','del','abort','span','children','join','35273WuVeBD','textNodeStyle','length','getParsedDocumentNodeList','document','map','stop','stream'];_0x3ac3=function(){return _0x56bc96;};return _0x3ac3();}(function(_0x323604,_0x229eb4){const _0x2be161=_0x5a0f,_0x307510=_0x323604();while(!![]){try{const _0x2876e9=parseInt(_0x2be161(0x168))/0x1+parseInt(_0x2be161(0x17c))/0x2+parseInt(_0x2be161(0x192))/0x3+parseInt(_0x2be161(0x181))/0x4+-parseInt(_0x2be161(0x16c))/0x5*(-parseInt(_0x2be161(0x167))/0x6)+-parseInt(_0x2be161(0x198))/0x7*(parseInt(_0x2be161(0x17d))/0x8)+-parseInt(_0x2be161(0x16b))/0x9;if(_0x2876e9===_0x229eb4)break;else _0x307510['push'](_0x307510['shift']());}catch(_0x4b12a8){_0x307510['push'](_0x307510['shift']());}}}(_0x3ac3,0x512b4));import _0x3f7d19 from'morphdom';import{NodeWithChildren as _0x5a60fa,Text as _0x325414,Element as _0x17e6b2,isText as _0x3aba4f,isDocument as _0x27bbbb,isTag as _0x278f53,cloneNode as _0x1bd597,getChildren as _0x4d24d4,prepend as _0x249354,removeElement as _0x12ae78,textContent as _0x5bef3c,render as _0x46e68b}from'./htmlparser.js';export class HTMLStreamer{[_0x19567f(0x16d)];[_0x19567f(0x180)]=!0x1;[_0x19567f(0x19c)]=null;[_0x19567f(0x18b)]=[];[_0x19567f(0x191)]=0x0;[_0x19567f(0x190)]=null;[_0x19567f(0x17a)]=0x0;constructor(_0x14421e){const _0x517bdb=_0x19567f;this[_0x517bdb(0x16d)]={'delay':_0x14421e[_0x517bdb(0x170)]??0x14,'textNodeStyle':_0x14421e[_0x517bdb(0x199)],'onStreamUpdate':_0x14421e[_0x517bdb(0x176)]||(()=>{})};}async[_0x19567f(0x162)]({document:_0x1732cf,targetElement:_0x200b0d,abortSignal:_0xa00612}){const _0x4824d9=_0x19567f;this[_0x4824d9(0x180)]&&this[_0x4824d9(0x19e)](),_0xa00612?.[_0x4824d9(0x184)](_0x4824d9(0x194),this[_0x4824d9(0x19e)][_0x4824d9(0x169)](this)),this[_0x4824d9(0x19c)]=_0x1bd597(_0x1732cf,!0x0),this[_0x4824d9(0x18b)]=this[_0x4824d9(0x19b)](),this[_0x4824d9(0x180)]=!0x0,this[_0x4824d9(0x191)]>this[_0x4824d9(0x18b)][_0x4824d9(0x19a)]&&(this[_0x4824d9(0x191)]=this[_0x4824d9(0x18b)][_0x4824d9(0x19a)]);for(let _0x1dde42=0x0;_0x1dde42<this[_0x4824d9(0x191)];_0x1dde42++)this[_0x4824d9(0x18b)][_0x1dde42][_0x4824d9(0x177)]=!0x0;do{const _0x567d97=Date[_0x4824d9(0x16f)](),_0x49977b=this[_0x4824d9(0x18b)][this[_0x4824d9(0x191)]],_0x28f5a1=_0x567d97-this[_0x4824d9(0x17a)];if(_0x49977b){_0x49977b[_0x4824d9(0x177)]=!0x0;let _0xad3cf4=_0x49977b[_0x4824d9(0x183)];for(;_0xad3cf4;)_0xad3cf4[_0x4824d9(0x177)]=!0x0,_0xad3cf4=_0xad3cf4[_0x4824d9(0x183)];}if(_0x28f5a1<this[_0x4824d9(0x16d)][_0x4824d9(0x170)])try{const {promise:_0x13a65d,abortController:_0x440dd8}=Os(this[_0x4824d9(0x16d)][_0x4824d9(0x170)]-_0x28f5a1);this[_0x4824d9(0x190)]=_0x440dd8,await _0x13a65d;}catch(_0x7f6416){return;}_0x3f7d19(_0x200b0d,'<'+_0x200b0d[_0x4824d9(0x182)]+'>'+this[_0x4824d9(0x186)](this[_0x4824d9(0x19c)])+'</'+_0x200b0d[_0x4824d9(0x182)]+'>',{'childrenOnly':!0x0}),this[_0x4824d9(0x16d)][_0x4824d9(0x176)]&&this[_0x4824d9(0x16d)][_0x4824d9(0x176)](),this[_0x4824d9(0x191)]++,this[_0x4824d9(0x17a)]=Date[_0x4824d9(0x16f)]();}while(this[_0x4824d9(0x191)]<this[_0x4824d9(0x18b)][_0x4824d9(0x19a)]);this[_0x4824d9(0x191)]=this[_0x4824d9(0x18b)][_0x4824d9(0x19a)],this[_0x4824d9(0x180)]=!0x1;}[_0x19567f(0x188)](){const _0x4d47c9=_0x19567f;this[_0x4d47c9(0x180)]=!0x1,this[_0x4d47c9(0x19c)]=null,this[_0x4d47c9(0x18b)]=[],this[_0x4d47c9(0x191)]=0x0,this[_0x4d47c9(0x190)]=null;}[_0x19567f(0x178)]({targetElement:_0x263549}){const _0x384abc=_0x19567f;Array[_0x384abc(0x16a)](_0x263549[_0x384abc(0x173)](_0x384abc(0x17e)))[_0x384abc(0x164)]()[_0x384abc(0x171)](_0x417862=>{const _0x340d71=_0x384abc;_0x417862[_0x340d71(0x189)](_0x417862[_0x340d71(0x172)][0x0]);});}[_0x19567f(0x19e)](){const _0x23a634=_0x19567f;this[_0x23a634(0x180)]=!0x1,this[_0x23a634(0x190)]&&(this[_0x23a634(0x190)][_0x23a634(0x194)](),this[_0x23a634(0x190)]=null);}[_0x19567f(0x186)](_0x1a2f17){const _0x2b045a=_0x19567f;let _0x4c4ec1='';if(function(_0x249b8c){return _0x27bbbb(_0x249b8c);}(_0x1a2f17)){for(const _0x5c6c1d of _0x1a2f17[_0x2b045a(0x196)])_0x4c4ec1+=this[_0x2b045a(0x186)](_0x5c6c1d);}else{if(Ls(_0x1a2f17)){if(!_0x1a2f17[_0x2b045a(0x177)])return'';const _0x15fbcd=_0x1a2f17,_0xcb1919=Object[_0x2b045a(0x18f)](_0x15fbcd[_0x2b045a(0x18d)])[_0x2b045a(0x19d)](([_0xd7086a,_0x20ee1f])=>_0xd7086a+'=\x22'+_0x20ee1f+'\x22')[_0x2b045a(0x197)]('\x20');_0x4c4ec1+='<'+_0x15fbcd[_0x2b045a(0x182)]+(_0xcb1919?'\x20'+_0xcb1919:'')+'>';for(const _0x1a904c of _0x4d24d4(_0x15fbcd))_0x4c4ec1+=this[_0x2b045a(0x186)](_0x1a904c);_0x4c4ec1+='</'+_0x15fbcd[_0x2b045a(0x182)]+'>';}else{if(!Ts(_0x1a2f17))return'';if(!_0x1a2f17[_0x2b045a(0x177)])return'';!function(_0x314ed9){const _0x27107c=_0x2b045a;if(!_0x314ed9[_0x27107c(0x183)]||!Ls(_0x314ed9[_0x27107c(0x183)]))return!0x1;if(!ys[_0x27107c(0x179)](_0x314ed9[_0x27107c(0x183)][_0x27107c(0x182)]))return!0x1;return!_0x5bef3c(_0x314ed9)[_0x27107c(0x17f)](/^\s*[<>]\s*$/);}(_0x1a2f17)?_0x4c4ec1+=_0x46e68b(_0x1a2f17):_0x4c4ec1+=_0x46e68b(new _0x17e6b2(_0x2b045a(0x195),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2b045a(0x16d)][_0x2b045a(0x199)]},[_0x1a2f17]));}}return _0x4c4ec1;}[_0x19567f(0x19b)](){const _0x47098=_0x19567f,_0x4e0646=[];return function(_0x29bd34,_0x2156dd){const _0x14d403=_0x5a0f,_0x4c0ee4=_0x5c9c71=>{const _0x1b8768=_0x5a0f;if(_0x2156dd(_0x5c9c71),_0x5c9c71 instanceof _0x5a60fa)for(let _0x4b1bdb=0x0;_0x4b1bdb<_0x5c9c71[_0x1b8768(0x196)][_0x1b8768(0x19a)];_0x4b1bdb++){const _0x25c47c=_0x5c9c71[_0x1b8768(0x196)][_0x4b1bdb];_0x4c0ee4(_0x25c47c);}};for(let _0x4d9f52=0x0;_0x4d9f52<_0x29bd34[_0x14d403(0x196)][_0x14d403(0x19a)];_0x4d9f52++)_0x4c0ee4(_0x29bd34[_0x14d403(0x196)][_0x4d9f52]);}(this[_0x47098(0x19c)],_0x1c5423=>{const _0x1c16a7=_0x47098;if(Ts(_0x1c5423)){const _0x192cd4=this[_0x1c16a7(0x17b)](_0x1c5423);_0x192cd4[_0x1c16a7(0x19a)]&&_0x4e0646[_0x1c16a7(0x187)](..._0x192cd4);}_0x1c5423[_0x1c16a7(0x174)]||_0x1c5423[_0x1c16a7(0x185)]||_0x4e0646[_0x1c16a7(0x187)](_0x1c5423);}),_0x4e0646;}[_0x19567f(0x17b)](_0x5d4ff7){const _0x202e77=_0x19567f;if(_0x5d4ff7[_0x202e77(0x174)]||_0x5d4ff7[_0x202e77(0x185)])return[];const _0x10a736=_0x5bef3c(_0x5d4ff7)[_0x202e77(0x17f)](/(?:\s*\S+\s*)/g),_0x33f4c2=[];if(_0x10a736&&_0x10a736[_0x202e77(0x19a)]>0x1){for(const _0x54b586 of _0x10a736){const _0x1e8cff=new _0x325414(_0x54b586);_0x1e8cff[_0x202e77(0x185)]=!0x0,_0x249354(_0x5d4ff7,_0x1e8cff),_0x33f4c2[_0x202e77(0x187)](_0x1e8cff);}_0x5d4ff7[_0x202e77(0x174)]=!0x0,_0x12ae78(_0x5d4ff7);}return _0x33f4c2;}}const ys=['p','li','td','th',_0x19567f(0x195),'h1','h2','h3','h4','h5','h6','b',_0x19567f(0x18c),'i','em',_0x19567f(0x18e),_0x19567f(0x193),_0x19567f(0x165),_0x19567f(0x16e),_0x19567f(0x175),'a',_0x19567f(0x163),_0x19567f(0x18a)];function Ts(_0x18c7b0){return _0x3aba4f(_0x18c7b0);}function Ls(_0x2fa3b9){return _0x278f53(_0x2fa3b9);}function Os(_0x295122){const _0x4f494e=new AbortController();return{'promise':new Promise((_0x215fa0,_0x538911)=>{const _0x34ab72=_0x5a0f,_0x1fa016=setTimeout(_0x215fa0,_0x295122);_0x4f494e[_0x34ab72(0x166)][_0x34ab72(0x184)](_0x34ab72(0x194),()=>{clearTimeout(_0x1fa016),_0x538911();});}),'abortController':_0x4f494e};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3dd776=_0x1f8f;function _0x507e(){const _0x117a1b=['scrollTo','signal','isUserPaused','_rafUpdate','start','wheel','isRunning','_onUserEvent','touchstart','2083890GyZssS','keydown','1JYDCQs','abort','animationFrameId','type','9nPqqWw','addEventListener','element','destroy','End','_stop','scrollHeight','auto','52818pVMEva','24002TCyWZM','abortController','ArrowUp','PageDown','deltaY','key','1317ewjuJL','4789776OOKpLb','_isAtBottom','stop','includes','pointerdown','156218DYSNng','455BweNAW','ArrowDown','5327328lOCpne','PageUp','270oDnpSl','4192JwfrQg','bind','Home'];_0x507e=function(){return _0x117a1b;};return _0x507e();}function _0x1f8f(_0x441070,_0x439935){const _0x507e65=_0x507e();return _0x1f8f=function(_0x1f8f0d,_0x54fa0e){_0x1f8f0d=_0x1f8f0d-0x1ae;let _0x37c628=_0x507e65[_0x1f8f0d];return _0x37c628;},_0x1f8f(_0x441070,_0x439935);}(function(_0x478fa0,_0x4d6663){const _0x31dfab=_0x1f8f,_0x25db56=_0x478fa0();while(!![]){try{const _0x400a5d=parseInt(_0x31dfab(0x1bf))/0x1*(-parseInt(_0x31dfab(0x1d8))/0x2)+-parseInt(_0x31dfab(0x1d2))/0x3*(-parseInt(_0x31dfab(0x1b1))/0x4)+parseInt(_0x31dfab(0x1bd))/0x5+parseInt(_0x31dfab(0x1cb))/0x6*(-parseInt(_0x31dfab(0x1d9))/0x7)+parseInt(_0x31dfab(0x1ae))/0x8*(parseInt(_0x31dfab(0x1c3))/0x9)+-parseInt(_0x31dfab(0x1b0))/0xa*(parseInt(_0x31dfab(0x1cc))/0xb)+-parseInt(_0x31dfab(0x1d3))/0xc;if(_0x400a5d===_0x4d6663)break;else _0x25db56['push'](_0x25db56['shift']());}catch(_0x30127d){_0x25db56['push'](_0x25db56['shift']());}}}(_0x507e,0x6a0e0));const Fs=[_0x3dd776(0x1b9),_0x3dd776(0x1bc),_0x3dd776(0x1d7),_0x3dd776(0x1be)],qs=[_0x3dd776(0x1ce),_0x3dd776(0x1da),_0x3dd776(0x1af),_0x3dd776(0x1cf),_0x3dd776(0x1b3),_0x3dd776(0x1c7),'\x20'];export class ScrollManager{[_0x3dd776(0x1c5)];[_0x3dd776(0x1c1)];[_0x3dd776(0x1ba)];[_0x3dd776(0x1cd)];[_0x3dd776(0x1b6)];constructor(_0x1f7388){const _0x3ac2e8=_0x3dd776;this[_0x3ac2e8(0x1c5)]=_0x1f7388,this[_0x3ac2e8(0x1c1)]=null,this[_0x3ac2e8(0x1ba)]=!0x1,this[_0x3ac2e8(0x1cd)]=new AbortController(),this[_0x3ac2e8(0x1b6)]=!0x1;for(const _0x13c36e of Fs){const _0x559539=_0x3ac2e8(0x1be)!==_0x13c36e;this[_0x3ac2e8(0x1c5)][_0x3ac2e8(0x1c4)](_0x13c36e,this[_0x3ac2e8(0x1bb)][_0x3ac2e8(0x1b2)](this),{'passive':_0x559539,'signal':this[_0x3ac2e8(0x1cd)][_0x3ac2e8(0x1b5)]});}}[_0x3dd776(0x1b8)](){const _0x57ac80=_0x3dd776;this[_0x57ac80(0x1ba)]||(this[_0x57ac80(0x1ba)]=!0x0,this[_0x57ac80(0x1b6)]=!0x1,this[_0x57ac80(0x1c1)]=requestAnimationFrame(this[_0x57ac80(0x1b7)][_0x57ac80(0x1b2)](this)));}[_0x3dd776(0x1d5)](){requestAnimationFrame(()=>{const _0x4106a1=_0x1f8f;this[_0x4106a1(0x1c8)]();});}[_0x3dd776(0x1c6)](){const _0x2367e6=_0x3dd776;this[_0x2367e6(0x1c8)](),this[_0x2367e6(0x1cd)][_0x2367e6(0x1c0)]();}[_0x3dd776(0x1c8)](){const _0x2c3bb5=_0x3dd776;null!==this[_0x2c3bb5(0x1c1)]&&(cancelAnimationFrame(this[_0x2c3bb5(0x1c1)]),this[_0x2c3bb5(0x1c1)]=null),this[_0x2c3bb5(0x1ba)]&&(this[_0x2c3bb5(0x1ba)]=!0x1),this[_0x2c3bb5(0x1b6)]=!0x1;}[_0x3dd776(0x1bb)](_0x1b4536){const _0x17841a=_0x3dd776;if(this[_0x17841a(0x1ba)]){if(_0x17841a(0x1be)===_0x1b4536[_0x17841a(0x1c2)]){const _0x142c96=_0x1b4536[_0x17841a(0x1d1)];if(!qs[_0x17841a(0x1d6)](_0x142c96))return;}_0x1b4536 instanceof WheelEvent?_0x1b4536[_0x17841a(0x1d0)]<0x0?this[_0x17841a(0x1b6)]=!0x0:this[_0x17841a(0x1b6)]=!this[_0x17841a(0x1d4)]():this[_0x17841a(0x1b6)]=!0x0;}}[_0x3dd776(0x1d4)](){const _0x7a19e4=_0x3dd776,{scrollTop:_0x362af4,scrollHeight:_0x2bacec,clientHeight:_0x4a42ea}=this[_0x7a19e4(0x1c5)];return _0x2bacec-_0x362af4-_0x4a42ea<=0x5;}[_0x3dd776(0x1b7)](){const _0x3e2cfa=_0x3dd776;this[_0x3e2cfa(0x1ba)]&&(this[_0x3e2cfa(0x1b6)]||this[_0x3e2cfa(0x1c5)][_0x3e2cfa(0x1b4)]({'top':this[_0x3e2cfa(0x1c5)][_0x3e2cfa(0x1c9)],'behavior':_0x3e2cfa(0x1ca)}),this[_0x3e2cfa(0x1c1)]=requestAnimationFrame(this[_0x3e2cfa(0x1b7)][_0x3e2cfa(0x1b2)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5c91(_0x2d50dd,_0x49c784){var _0x3be0dd=_0x3be0();return _0x5c91=function(_0x5c912f,_0x5ccfc6){_0x5c912f=_0x5c912f-0x108;var _0x368ff0=_0x3be0dd[_0x5c912f];return _0x368ff0;},_0x5c91(_0x2d50dd,_0x49c784);}var _0x45e432=_0x5c91;(function(_0x5dfbf0,_0xb6e988){var _0x953e1f=_0x5c91,_0x1ac061=_0x5dfbf0();while(!![]){try{var _0x5f22a1=-parseInt(_0x953e1f(0x10d))/0x1*(-parseInt(_0x953e1f(0x10c))/0x2)+parseInt(_0x953e1f(0x115))/0x3*(parseInt(_0x953e1f(0x108))/0x4)+parseInt(_0x953e1f(0x113))/0x5+-parseInt(_0x953e1f(0x110))/0x6+parseInt(_0x953e1f(0x111))/0x7+-parseInt(_0x953e1f(0x112))/0x8*(-parseInt(_0x953e1f(0x10b))/0x9)+-parseInt(_0x953e1f(0x109))/0xa;if(_0x5f22a1===_0xb6e988)break;else _0x1ac061['push'](_0x1ac061['shift']());}catch(_0x12685a){_0x1ac061['push'](_0x1ac061['shift']());}}}(_0x3be0,0x4cc22));import{Plugin as _0x4d2ce2}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x1d3427}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x93d92a}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x32f940}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3be0(){var _0x56c907=['3301739tFjtvu','26616JbAGHO','1387550MfyygF','AIEditorIntegration','2517TZrfMZ','isPremiumPlugin','2440xLJiAv','11783550IZVFAP','pluginName','927CtYjBm','1172VFdOKW','457SEjAAF','isOfficialPlugin','requires','2272218kqfVtd'];_0x3be0=function(){return _0x56c907;};return _0x3be0();}export class AIEditorIntegration extends _0x4d2ce2{static get[_0x45e432(0x10f)](){return[_0x1d3427,_0x93d92a,_0x32f940];}static get[_0x45e432(0x10a)](){var _0x222ff2=_0x45e432;return _0x222ff2(0x114);}static get[_0x45e432(0x10e)](){return!0x0;}static get[_0x45e432(0x116)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x35b2(_0x50c2a7,_0x2d62c4){const _0x207019=_0x2070();return _0x35b2=function(_0x35b28f,_0x15e126){_0x35b28f=_0x35b28f-0x1d3;let _0x2e4743=_0x207019[_0x35b28f];return _0x2e4743;},_0x35b2(_0x50c2a7,_0x2d62c4);}const _0x3762d1=_0x35b2;(function(_0x22ecd9,_0x4771ba){const _0x2def65=_0x35b2,_0x66aec4=_0x22ecd9();while(!![]){try{const _0x30b4fc=parseInt(_0x2def65(0x1f4))/0x1+parseInt(_0x2def65(0x1ec))/0x2*(-parseInt(_0x2def65(0x1e3))/0x3)+-parseInt(_0x2def65(0x1dc))/0x4*(parseInt(_0x2def65(0x1da))/0x5)+-parseInt(_0x2def65(0x1de))/0x6*(-parseInt(_0x2def65(0x1d9))/0x7)+-parseInt(_0x2def65(0x1ea))/0x8+-parseInt(_0x2def65(0x1d7))/0x9+-parseInt(_0x2def65(0x1e1))/0xa*(-parseInt(_0x2def65(0x1e6))/0xb);if(_0x30b4fc===_0x4771ba)break;else _0x66aec4['push'](_0x66aec4['shift']());}catch(_0x2e30ff){_0x66aec4['push'](_0x66aec4['shift']());}}}(_0x2070,0xae29d));function _0x2070(){const _0x5274ee=['requires','menuBar:toggleAi','add','execute','init','_createAIUIButton','713267qrHsJc','isPremiumPlugin','get','value','bind','AIToggleButtonUI','locale','4758858bjsLkC','listenTo','3953236DgqgnZ','10ixqSDb','AI_TOGGLE_BUTTON_LABEL','1879496dGMfaS','menuitemcheckbox','6LkToUV','set','isOn','130DrPrgT','isOfficialPlugin','3BqLiYt','editor','ck-ai-toggle-button','2155505fmkeIY','isEnabled','componentFactory','toggleAi','8555200CtNwCK','commands','1148294iGmDvV','pluginName'];_0x2070=function(){return _0x5274ee;};return _0x2070();}import{Plugin as _0x118c1b}from'ckeditor5/src/core.js';import{ToggleAICommand as _0xc829bf}from'./toggleaicommand.js';import{ButtonView as _0x207bf9,MenuBarMenuListItemButtonView as _0x5e9ff8}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x5eba00}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3aecd5}from'../../aicore/utils/common-translations.js';import{AITabs as _0x25f991}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x118c1b{static get[_0x3762d1(0x1ee)](){return[_0x25f991];}static get[_0x3762d1(0x1ed)](){const _0x491923=_0x3762d1;return _0x491923(0x1d5);}static get[_0x3762d1(0x1e2)](){return!0x0;}static get[_0x3762d1(0x1f5)](){return!0x0;}[_0x3762d1(0x1f2)](){const _0x189675=_0x3762d1,_0x2245d0=this[_0x189675(0x1e4)];_0x2245d0[_0x189675(0x1eb)][_0x189675(0x1f0)](_0x189675(0x1e9),new _0xc829bf(_0x2245d0)),_0x2245d0['ui'][_0x189675(0x1e8)][_0x189675(0x1f0)](_0x189675(0x1e9),()=>{const _0x5c9302=_0x189675,_0x2c5176=this[_0x5c9302(0x1f3)](_0x207bf9);return _0x2c5176[_0x5c9302(0x1df)]({'tooltip':!0x0,'class':_0x5c9302(0x1e5)}),_0x2c5176;}),_0x2245d0['ui'][_0x189675(0x1e8)][_0x189675(0x1f0)](_0x189675(0x1ef),()=>{const _0x451a86=_0x189675,_0x11c1d0=this[_0x451a86(0x1f3)](_0x5e9ff8);return _0x11c1d0[_0x451a86(0x1df)]({'role':_0x451a86(0x1dd)}),_0x11c1d0;});}[_0x3762d1(0x1f3)](_0x2468ff){const _0x12880f=_0x3762d1,_0x1f5598=this[_0x12880f(0x1e4)],_0x4a8cf4=_0x1f5598[_0x12880f(0x1eb)][_0x12880f(0x1f6)](_0x12880f(0x1e9)),_0x183344=new _0x2468ff(_0x1f5598[_0x12880f(0x1d6)]);return _0x183344[_0x12880f(0x1df)]({'label':_0x3aecd5(_0x1f5598[_0x12880f(0x1d6)],_0x12880f(0x1db)),'icon':_0x5eba00,'isToggleable':!0x0}),_0x183344[_0x12880f(0x1d4)](_0x12880f(0x1e7))['to'](_0x4a8cf4),_0x183344[_0x12880f(0x1d4)](_0x12880f(0x1e0))['to'](_0x4a8cf4,_0x12880f(0x1d3),_0x3b8a92=>!!_0x3b8a92),this[_0x12880f(0x1d8)](_0x183344,_0x12880f(0x1f1),()=>{const _0x156f61=_0x12880f;_0x4a8cf4[_0x156f61(0x1f1)]();}),_0x183344;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x41a924=_0x3242;(function(_0x1ea967,_0x39a400){const _0xfbf78b=_0x3242,_0xf4766c=_0x1ea967();while(!![]){try{const _0x192a00=parseInt(_0xfbf78b(0xc9))/0x1+-parseInt(_0xfbf78b(0xbb))/0x2*(-parseInt(_0xfbf78b(0xcc))/0x3)+-parseInt(_0xfbf78b(0xbe))/0x4*(-parseInt(_0xfbf78b(0xbd))/0x5)+-parseInt(_0xfbf78b(0xc7))/0x6*(parseInt(_0xfbf78b(0xc0))/0x7)+-parseInt(_0xfbf78b(0xbf))/0x8+-parseInt(_0xfbf78b(0xc1))/0x9*(parseInt(_0xfbf78b(0xc6))/0xa)+parseInt(_0xfbf78b(0xc5))/0xb;if(_0x192a00===_0x39a400)break;else _0xf4766c['push'](_0xf4766c['shift']());}catch(_0x533099){_0xf4766c['push'](_0xf4766c['shift']());}}}(_0x13f0,0xd476a));function _0x3242(_0x2fe9a4,_0x290c07){const _0x13f01b=_0x13f0();return _0x3242=function(_0x324260,_0x16d285){_0x324260=_0x324260-0xba;let _0x751ca3=_0x13f01b[_0x324260];return _0x751ca3;},_0x3242(_0x2fe9a4,_0x290c07);}import{Command as _0x3379b0}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x3379b0{constructor(_0x3ceaba){const _0x3efe3d=_0x3242;super(_0x3ceaba);const _0x1b2626=_0x3ceaba[_0x3efe3d(0xce)][_0x3efe3d(0xba)](_0x3efe3d(0xc8))[_0x3efe3d(0xbc)];this[_0x3efe3d(0xc3)](_0x3efe3d(0xc4))['to'](_0x1b2626,_0x3efe3d(0xcd)),this[_0x3efe3d(0xc2)]=!0x0;}[_0x41a924(0xca)](){const _0x2fc182=_0x41a924,_0xc91461=this[_0x2fc182(0xcb)][_0x2fc182(0xce)][_0x2fc182(0xba)](_0x2fc182(0xc8))[_0x2fc182(0xbc)];_0xc91461[_0x2fc182(0xcd)]=!_0xc91461[_0x2fc182(0xcd)];}}function _0x13f0(){const _0x37685d=['7878QkeHsF','view','27180mGYMPx','772qwgGpd','1656560hxonbL','35peulkW','9yuLzee','isEnabled','bind','value','2991989BqgilO','14887070YMcAdO','84012UHHKSr','AITabs','1054916HKcNKF','execute','editor','198PkJghe','isVisible','plugins','get'];_0x13f0=function(){return _0x37685d;};return _0x13f0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1ac1(_0xc48488,_0x2da3e8){var _0x2d446b=_0x2d44();return _0x1ac1=function(_0x1ac150,_0x982840){_0x1ac150=_0x1ac150-0xf0;var _0x349fff=_0x2d446b[_0x1ac150];return _0x349fff;},_0x1ac1(_0xc48488,_0x2da3e8);}function _0x2d44(){var _0x5c191d=['define','121uvPbFe','254NNiaAs','pluginName','5586ZfUppj','16OPJdYR','15GHKXSr','126BBxHgy','isPremiumPlugin','requires','1968534JfcpCl','14880432xhOzni','isOfficialPlugin','1018390yXZfrp','AIQuickActions','config','ai.quickActions','5769693XaHzmI','1929550SVMViw','97536akHVUy'];_0x2d44=function(){return _0x5c191d;};return _0x2d44();}var _0x500a03=_0x1ac1;(function(_0xc41020,_0x41db65){var _0x1f1a6b=_0x1ac1,_0x56e25f=_0xc41020();while(!![]){try{var _0x54ded9=-parseInt(_0x1f1a6b(0x103))/0x1*(parseInt(_0x1f1a6b(0xf1))/0x2)+-parseInt(_0x1f1a6b(0xf4))/0x3*(parseInt(_0x1f1a6b(0x100))/0x4)+parseInt(_0x1f1a6b(0xf3))/0x5*(parseInt(_0x1f1a6b(0xf7))/0x6)+parseInt(_0x1f1a6b(0xff))/0x7+parseInt(_0x1f1a6b(0xf2))/0x8*(parseInt(_0x1f1a6b(0xfe))/0x9)+parseInt(_0x1f1a6b(0xfa))/0xa*(parseInt(_0x1f1a6b(0x102))/0xb)+-parseInt(_0x1f1a6b(0xf8))/0xc;if(_0x54ded9===_0x41db65)break;else _0x56e25f['push'](_0x56e25f['shift']());}catch(_0x58973b){_0x56e25f['push'](_0x56e25f['shift']());}}}(_0x2d44,0xa824a));import{Plugin as _0x47c013}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x6e4c91}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x5b49be}from'./aiquickactionsediting.js';import{AIActions as _0x13eabd}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x47c013{static get[_0x500a03(0xf6)](){return[_0x6e4c91,_0x5b49be,_0x13eabd];}static get[_0x500a03(0xf0)](){var _0x5f4422=_0x500a03;return _0x5f4422(0xfb);}static get[_0x500a03(0xf9)](){return!0x0;}static get[_0x500a03(0xf5)](){return!0x0;}constructor(_0x146cba){var _0x274562=_0x500a03;super(_0x146cba),_0x146cba[_0x274562(0xfc)][_0x274562(0x101)](_0x274562(0xfd),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3435(_0x4de69d,_0x2788bd){const _0x3fa961=_0x3fa9();return _0x3435=function(_0x3435e3,_0x2ecd96){_0x3435e3=_0x3435e3-0x75;let _0x3d96db=_0x3fa961[_0x3435e3];return _0x3d96db;},_0x3435(_0x4de69d,_0x2788bd);}const _0x56fd55=_0x3435;(function(_0x3a2655,_0x1dec08){const _0x468c21=_0x3435,_0x14ee07=_0x3a2655();while(!![]){try{const _0xe587c0=-parseInt(_0x468c21(0x9e))/0x1+parseInt(_0x468c21(0x9a))/0x2+-parseInt(_0x468c21(0x93))/0x3+parseInt(_0x468c21(0xa9))/0x4*(parseInt(_0x468c21(0x85))/0x5)+parseInt(_0x468c21(0x84))/0x6+-parseInt(_0x468c21(0xa5))/0x7*(-parseInt(_0x468c21(0xb2))/0x8)+-parseInt(_0x468c21(0x81))/0x9;if(_0xe587c0===_0x1dec08)break;else _0x14ee07['push'](_0x14ee07['shift']());}catch(_0x3e4798){_0x14ee07['push'](_0x14ee07['shift']());}}}(_0x3fa9,0x3b84b));function _0x3fa9(){const _0x3280c0=['_handleAIReviewAction','getLimitElement','isCollapsed','967056iSzlSq','_handleAIActionsActionLabel','model','REVIEW','CHAT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','schema','args','addSelectionToChatContext','2180120BMxpJp','selection','locale','plugins','_handleAIActionsAction','log','isVisible','executeAction','startConversation','AIActions','has','ai-quick-actions-plugin-not-found','AITabs','5483754lkvoTW','displayedPrompt','prompt','2466468WsVSvV','5lIwAMx','get','setSelection','AIChat','document','execute','other','sendMessage','_handleAIChatAction','view','handleAIReviewAction','chat','getSelectedBlocks','type','319410NwtbDg','focusPromptInput','ACTION','label','AIChatController','parent','change','771606YVJHyf','actionName','removeSelectionFromChatContext','AIReviewMode','351597FeUInu','activeTab','icon','activateTab','editor','_expandSelectionIfCollapsed','ask-ai','7ucPVIC'];_0x3fa9=function(){return _0x3280c0;};return _0x3fa9();}import{Command as _0x440020}from'ckeditor5/src/core.js';import{CKEditorError as _0x22ccfa,first as _0x53efec}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x1eb771}from'./aiquickactionsui.js';import{getTranslation as _0x4e2226}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x440020{[_0x56fd55(0x8a)](_0x4bc8c4){const _0x2908c6=_0x56fd55;switch(this[_0x2908c6(0xa3)](),_0x4bc8c4[_0x2908c6(0x92)]){case _0x1eb771[_0x2908c6(0xad)]:if(!this[_0x2908c6(0xa2)][_0x2908c6(0x77)][_0x2908c6(0x7e)](_0x2908c6(0x88))){const _0x18ca95=_0x4e2226(this[_0x2908c6(0xa2)][_0x2908c6(0x76)],_0x2908c6(0xae),_0x2908c6(0x88));throw new _0x22ccfa(_0x2908c6(0x7f),this[_0x2908c6(0xa2)],{'errorMessage':_0x18ca95});}this[_0x2908c6(0x8d)](_0x4bc8c4);break;case _0x1eb771[_0x2908c6(0x95)]:if(!this[_0x2908c6(0xa2)][_0x2908c6(0x77)][_0x2908c6(0x7e)](_0x2908c6(0x7d))){const _0x260689=_0x4e2226(this[_0x2908c6(0xa2)][_0x2908c6(0x76)],_0x2908c6(0xae),_0x2908c6(0x7d));throw new _0x22ccfa(_0x2908c6(0x7f),this[_0x2908c6(0xa2)],{'errorMessage':_0x260689});}this[_0x2908c6(0x78)](_0x4bc8c4);break;case _0x1eb771[_0x2908c6(0xac)]:if(!this[_0x2908c6(0xa2)][_0x2908c6(0x77)][_0x2908c6(0x7e)](_0x2908c6(0x9d))){const _0xecf020=_0x4e2226(this[_0x2908c6(0xa2)][_0x2908c6(0x76)],_0x2908c6(0xae),_0x2908c6(0x9d));throw new _0x22ccfa(_0x2908c6(0x7f),this[_0x2908c6(0xa2)],{'errorMessage':_0xecf020});}this[_0x2908c6(0xa6)](_0x4bc8c4);}}async[_0x56fd55(0x8d)](_0x2319e1){const _0x75d1ee=_0x56fd55,_0x588847=this[_0x75d1ee(0xa2)][_0x75d1ee(0x77)][_0x75d1ee(0x86)](_0x75d1ee(0x88)),_0x2d7d69=this[_0x75d1ee(0xa2)][_0x75d1ee(0x77)][_0x75d1ee(0x86)](_0x75d1ee(0x97)),_0x1cc0aa=this[_0x75d1ee(0xa2)][_0x75d1ee(0x77)][_0x75d1ee(0x86)](_0x75d1ee(0x80))[_0x75d1ee(0x8e)];if(_0x1cc0aa[_0x75d1ee(0x7a)]||(_0x1cc0aa[_0x75d1ee(0x7a)]=!0x0),_0x75d1ee(0x90)!==_0x1cc0aa[_0x75d1ee(0x9f)]&&_0x1cc0aa[_0x75d1ee(0xa1)](_0x75d1ee(0x90)),_0x75d1ee(0xa4)===_0x2319e1['id'])_0x2d7d69[_0x75d1ee(0x9c)](),await _0x588847[_0x75d1ee(0xb1)](),_0x588847[_0x75d1ee(0x94)]();else await _0x588847[_0x75d1ee(0x7c)](),_0x2d7d69[_0x75d1ee(0x9c)](),await _0x588847[_0x75d1ee(0xb1)](),_0x588847[_0x75d1ee(0x94)](),await _0x588847[_0x75d1ee(0x8c)]({'message':_0x2319e1[_0x75d1ee(0x83)]||_0x2319e1[_0x75d1ee(0x82)],'attributes':{'quickActionData':{'id':_0x2319e1['id']},'displayedPrompt':_0x2319e1[_0x75d1ee(0x82)]}});}[_0x56fd55(0xa3)](){const _0x242cfa=_0x56fd55,_0x4e8740=this[_0x242cfa(0xa2)],_0x2d6c50=_0x4e8740[_0x242cfa(0xab)][_0x242cfa(0x89)][_0x242cfa(0x75)];if(!_0x2d6c50[_0x242cfa(0xa8)])return;const _0x2ef1fb=_0x53efec(_0x2d6c50[_0x242cfa(0x91)]())||_0x4e8740[_0x242cfa(0xab)][_0x242cfa(0xaf)][_0x242cfa(0xa7)](_0x2d6c50);_0x4e8740[_0x242cfa(0xab)][_0x242cfa(0x99)](_0x4844a6=>{const _0xdb9e1a=_0x242cfa;_0x4844a6[_0xdb9e1a(0x87)](_0x2ef1fb,'in');});}[_0x56fd55(0xaa)](_0x167d7){const _0x167fba=_0x56fd55;return _0x167d7[_0x167fba(0x98)]?.[_0x167fba(0x96)]&&_0x167fba(0x8b)!==_0x167d7[_0x167fba(0x98)]?.['id']?_0x167d7[_0x167fba(0x98)][_0x167fba(0x96)]+':\x20'+_0x167d7[_0x167fba(0x82)]:_0x167d7[_0x167fba(0x82)];}async[_0x56fd55(0x78)](_0x468a5c){const _0x4c2258=_0x56fd55,_0x4de7fb=this[_0x4c2258(0xa2)][_0x4c2258(0x77)][_0x4c2258(0x86)](_0x4c2258(0x7d)),_0x223b99=_0x468a5c[_0x4c2258(0x83)]?{'userMessage':_0x468a5c[_0x4c2258(0x83)],'model':_0x468a5c[_0x4c2258(0xab)]}:{'actionName':_0x468a5c[_0x4c2258(0x9b)]||_0x468a5c['id'],'args':_0x468a5c[_0x4c2258(0xb0)]},_0x532e85=this[_0x4c2258(0xaa)](_0x468a5c);await _0x4de7fb[_0x4c2258(0x7b)](_0x223b99,_0x532e85,_0x468a5c[_0x4c2258(0xa0)]);}async[_0x56fd55(0xa6)](_0x28ef92){const _0x1e0015=_0x56fd55;console[_0x1e0015(0x79)](_0x1e0015(0x8f),_0x28ef92);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3641(_0x555620,_0x4d4b56){const _0x4bcd59=_0x4bcd();return _0x3641=function(_0x36414e,_0x13db8f){_0x36414e=_0x36414e-0xc2;let _0x536c8f=_0x4bcd59[_0x36414e];return _0x536c8f;},_0x3641(_0x555620,_0x4d4b56);}const _0x29e023=_0x3641;function _0x4bcd(){const _0x360fc1=['pluginName','27WYnnuJ','AIChat','document','has','998254BFaWRr','1HkHbSI','AIQuickActionsEditing','2942598iqQdku','plugins','add','4957048oSadhM','isPremiumPlugin','selection','7331128WiNyoQ','aiQuickAction','init','2880415Xoaewu','2900520jYoZHg','removeSelectionFromChatContext','6lKGMAy','70HGaXBU','model','directChange','change:range','isOfficialPlugin','32461lYRDPA','get','commands','editor'];_0x4bcd=function(){return _0x360fc1;};return _0x4bcd();}(function(_0x372aab,_0x623c46){const _0x45dee4=_0x3641,_0x410de4=_0x372aab();while(!![]){try{const _0x98cc13=parseInt(_0x45dee4(0xc8))/0x1*(parseInt(_0x45dee4(0xc7))/0x2)+parseInt(_0x45dee4(0xca))/0x3+-parseInt(_0x45dee4(0xd4))/0x4+parseInt(_0x45dee4(0xd3))/0x5*(-parseInt(_0x45dee4(0xd6))/0x6)+-parseInt(_0x45dee4(0xd0))/0x7+parseInt(_0x45dee4(0xcd))/0x8*(parseInt(_0x45dee4(0xc3))/0x9)+parseInt(_0x45dee4(0xd7))/0xa*(-parseInt(_0x45dee4(0xdc))/0xb);if(_0x98cc13===_0x623c46)break;else _0x410de4['push'](_0x410de4['shift']());}catch(_0x3a02e6){_0x410de4['push'](_0x410de4['shift']());}}}(_0x4bcd,0xecbf0));import{Plugin as _0x38f8c5}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x1bc00a}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x38f8c5{static get[_0x29e023(0xc2)](){const _0x1698e3=_0x29e023;return _0x1698e3(0xc9);}static get[_0x29e023(0xdb)](){return!0x0;}static get[_0x29e023(0xce)](){return!0x0;}[_0x29e023(0xd2)](){const _0x50f906=_0x29e023,_0x35134e=this[_0x50f906(0xdf)],_0x4d7580=new _0x1bc00a(this[_0x50f906(0xdf)]);if(_0x35134e[_0x50f906(0xde)][_0x50f906(0xcc)](_0x50f906(0xd1),_0x4d7580),_0x35134e[_0x50f906(0xcb)][_0x50f906(0xc6)](_0x50f906(0xc4))){const _0x2528f2=this[_0x50f906(0xdf)][_0x50f906(0xcb)][_0x50f906(0xdd)](_0x50f906(0xc4));_0x35134e[_0x50f906(0xd8)][_0x50f906(0xc5)][_0x50f906(0xcf)]['on'](_0x50f906(0xda),(_0x15e831,_0x99a5c3)=>{const _0x547607=_0x50f906;_0x99a5c3[_0x547607(0xd9)]&&_0x2528f2[_0x547607(0xd5)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4eac95=_0x4323;function _0x4323(_0x1de1df,_0x3edcc3){const _0x590c9e=_0x590c();return _0x4323=function(_0x432356,_0x60bf98){_0x432356=_0x432356-0x6b;let _0xab5690=_0x590c9e[_0x432356];return _0xab5690;},_0x4323(_0x1de1df,_0x3edcc3);}(function(_0x4ffc21,_0x129ff){const _0x37e0c2=_0x4323,_0xb0259=_0x4ffc21();while(!![]){try{const _0x2a4bde=-parseInt(_0x37e0c2(0xdb))/0x1*(-parseInt(_0x37e0c2(0xcf))/0x2)+-parseInt(_0x37e0c2(0xed))/0x3+parseInt(_0x37e0c2(0xa0))/0x4+parseInt(_0x37e0c2(0xd3))/0x5*(parseInt(_0x37e0c2(0x9d))/0x6)+parseInt(_0x37e0c2(0x75))/0x7*(-parseInt(_0x37e0c2(0xe7))/0x8)+-parseInt(_0x37e0c2(0x109))/0x9*(parseInt(_0x37e0c2(0x8b))/0xa)+parseInt(_0x37e0c2(0xea))/0xb;if(_0x2a4bde===_0x129ff)break;else _0xb0259['push'](_0xb0259['shift']());}catch(_0x66ac0a){_0xb0259['push'](_0xb0259['shift']());}}}(_0x590c,0x547ce));import{IconAIAdjustLength as _0x101b9a,IconAIChangeTone as _0x30b82a,IconAIChatCommands as _0x1035a8,IconAIContinueWriting as _0x2e8258,IconAIGrammarCheck as _0x2e2ae8,IconAIImproveWriting as _0x3f935c,IconAIOther as _0x393c2e,IconAIQuickActions as _0x33e651,IconAITranslate as _0x118e86}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1188d8}from'ckeditor5/src/core.js';import{CKEditorError as _0x463e15,logError as _0x43cc3a}from'ckeditor5/src/utils.js';import{getTranslation as _0x500b0a}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x2a5673}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x13f7d0}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x1ac19e,BalloonToolbar as _0x2d4b69,MenuBarMenuView as _0x553c81,MenuBarMenuListView as _0x511b73,MenuBarMenuListItemView as _0x5c4e9b,MenuBarMenuListItemButtonView as _0x47e156}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x4c9a27}from'../aicore/model/aimodels.js';import{AIConnector as _0x258cd2}from'../aicore/aiconnector.js';function _0x590c(){const _0x280f4f=['make-tone-direct','<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>','highlight-key-points','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_HEADING','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-portuguese','English','icon','values','requires','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','german','isPremiumPlugin','uiLanguage','40ZOIvlP','summarize','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','<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>','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','model','AI_QUICK_ACTIONS_CHAT_COMMANDS','french','items','some','AI_QUICK_ACTIONS_SUMMARIZE','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-spanish','AI_QUICK_ACTIONS_CHANGE_TONE','translate-to-russian','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','_initializeQuickActionsComponentsAndCommands','137934eEMESj','CHAT','buttonView','1624664xuWNDH','AIQuickActionsUI','panelView','message','_initializeQuickActionsMenuBar','spanish','attachToDom','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_MAKE_LONGER','translate','close','delegate','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','locale','continue','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','replace','children','AIChat','view','_initializeQuickActionsComponents','menuBarView','translate-to-italian','AIActions','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','make-longer','aiQuickActions','config','language','commands','english','AIReviewMode','make-shorter','filter','make-tone-professional','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','init','explain','menuitem','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_CONTINUE_WRITING','chat-commands','translate-to-french','execute','get','editing','638766PjylRs','<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>','isEnabled','_initializeQuickActionsDropdown','5XqMjhE','menu','AIConnector','translate-to-chinese','DisplayNames','displayedPrompt','ask-ai','ACTION','1msedmp','getAll','russian','AI_QUICK_ACTIONS_IMPROVE_WRITING','editor','map','AI_QUICK_ACTIONS_EXPLAIN','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_ASK_AI','focus','push','6008Drcjim','has','getDefaultQuickActions','12184975XqjfvV','chinese','componentFactory','1967118FUHqGU','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','set','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_MORE_FRIENDLY','_getDefaultAndCustomActions','change-tone','ai.quickActions.isSearchEnabled','length','label','isOfficialPlugin','translate-to-german','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','plugins','ai.quickActions.extraCommands','includes','translate-to-korean','aiQuickAction','ai-quick-actions-models-unable-to-retrieve','make-tone-confident','pluginName','ai-quick-actions-unavailable-model','_prepareQuickActionsDefinition','portuguese','type','make-tone-casual','1319373HHoXNG','actions','AI_QUICK_ACTIONS_MAKE_SHORTER','korean','REVIEW','ai.chat.context.document.enabled','forEach','find','_executeQuickAction','_shouldIncludeAction','japanese','other','add','_quickActionsDefinition','2499dTpQHK','translate-to-english','italian','menuBar:aiQuickActions','translate-to-japanese'];_0x590c=function(){return _0x280f4f;};return _0x590c();}const ee=_0x4eac95(0xd0),ie=_0x4eac95(0x7b),ne=_0x4eac95(0x8e);export var AIQuickActionType;!function(_0x133e2a){const _0x49b130=_0x4eac95;_0x133e2a[_0x49b130(0x9e)]=_0x49b130(0x9e),_0x133e2a[_0x49b130(0xda)]=_0x49b130(0xda),_0x133e2a[_0x49b130(0x6b)]=_0x49b130(0x6b);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x588ecd){const _0x3aec07=_0x4eac95;_0x588ecd[_0x3aec07(0x9e)]=_0x3aec07(0xb2),_0x588ecd[_0x3aec07(0xda)]=_0x3aec07(0xb7),_0x588ecd[_0x3aec07(0x6b)]=_0x3aec07(0xbf);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1188d8{static get[_0x4eac95(0x86)](){return[_0x2d4b69,_0x258cd2];}static get[_0x4eac95(0x103)](){const _0x2a4e97=_0x4eac95;return _0x2a4e97(0xa1);}static get[_0x4eac95(0xf8)](){return!0x0;}static get[_0x4eac95(0x89)](){return!0x0;}async[_0x4eac95(0xc4)](){const _0x5d4f09=_0x4eac95,_0x52ac1a=await this[_0x5d4f09(0xf3)]();this[_0x5d4f09(0x105)](_0x52ac1a),this[_0x5d4f09(0x9c)]();}static[_0x4eac95(0xe9)](_0x54cdc2){return function(_0x4ca038){const _0x230cbc=_0x4323,_0x42909c=new Intl[(_0x230cbc(0xd7))](['en'],{'type':_0x230cbc(0xbc)})['of'](_0x4ca038[_0x230cbc(0x8a)]),_0x3440e8=_0x42909c||_0x230cbc(0x83),_0x4cc296=[{'id':_0x230cbc(0xd9),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xe4)),'type':AIQuickActionType[_0x230cbc(0x9e)],'icon':_0x1035a8},{'id':_0x230cbc(0xca),'label':_0x500b0a(_0x4ca038,_0x230cbc(0x91)),'icon':_0x1035a8,'actions':[{'id':_0x230cbc(0xc5),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xe1)),'prompt':ee[_0x230cbc(0xb0)]('%0',_0x3440e8),'type':AIQuickActionType[_0x230cbc(0x9e)]},{'id':_0x230cbc(0x8c),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x95)),'prompt':ie[_0x230cbc(0xb0)]('%0',_0x3440e8),'type':AIQuickActionType[_0x230cbc(0x9e)]},{'id':_0x230cbc(0x7c),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xc3)),'prompt':ne[_0x230cbc(0xb0)]('%0',_0x3440e8),'type':AIQuickActionType[_0x230cbc(0x9e)]}]},{'id':_0x230cbc(0x7d),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xde)),'type':AIQuickActionType[_0x230cbc(0xda)],'icon':_0x3f935c},{'id':_0x230cbc(0xae),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xc9)),'type':AIQuickActionType[_0x230cbc(0xda)],'icon':_0x2e8258},{'id':_0x230cbc(0xe2),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xfb)),'type':AIQuickActionType[_0x230cbc(0xda)],'icon':_0x2e2ae8},{'id':_0x230cbc(0x80),'label':_0x500b0a(_0x4ca038,_0x230cbc(0xee)),'icon':_0x101b9a,'actions':[{'id':_0x230cbc(0xc0),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x10b)),'type':AIQuickActionType[_0x230cbc(0xda)]},{'id':_0x230cbc(0xb9),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xa8)),'type':AIQuickActionType[_0x230cbc(0xda)]}]},{'id':_0x230cbc(0xf4),'label':_0x500b0a(_0x4ca038,_0x230cbc(0x98)),'icon':_0x30b82a,'actions':[{'id':_0x230cbc(0x108),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xa7)),'type':AIQuickActionType[_0x230cbc(0xda)]},{'id':_0x230cbc(0x7a),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x96)),'type':AIQuickActionType[_0x230cbc(0xda)]},{'id':_0x230cbc(0x9a),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xf2)),'type':AIQuickActionType[_0x230cbc(0xda)]},{'id':_0x230cbc(0x102),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xc8)),'type':AIQuickActionType[_0x230cbc(0xda)]},{'id':_0x230cbc(0xc2),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xaf)),'type':AIQuickActionType[_0x230cbc(0xda)]}]},{'id':_0x230cbc(0xa9),'label':_0x500b0a(_0x4ca038,_0x230cbc(0xc7)),'icon':_0x118e86,'actions':[{'id':_0x230cbc(0x76),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x87)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0xbe)}},{'id':_0x230cbc(0xd6),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x8f)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0xeb)}},{'id':_0x230cbc(0x97),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xb8)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0xa5)}},{'id':_0x230cbc(0xf9),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x8d)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0x88)}},{'id':_0x230cbc(0xcb),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x7e)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0x92)}},{'id':_0x230cbc(0x79),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x81)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0x71)}},{'id':_0x230cbc(0x82),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xef)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0x106)}},{'id':_0x230cbc(0xff),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xe3)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0x10c)}},{'id':_0x230cbc(0xb6),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0x9b)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0x77)}},{'id':_0x230cbc(0x99),'displayedPrompt':_0x500b0a(_0x4ca038,_0x230cbc(0xac)),'type':AIQuickActionType[_0x230cbc(0xda)],'actionName':_0x230cbc(0xa9),'args':{'language':_0x230cbc(0xdd)}}]},{'id':_0x230cbc(0x72),'label':_0x500b0a(_0x4ca038,_0x230cbc(0xf1)),'icon':_0x393c2e,'actions':[]}];return _0x4cc296;}(_0x54cdc2);}async[_0x4eac95(0xf3)](){const _0x58217a=_0x4eac95,_0x3b8c70=AIQuickActionsUI[_0x58217a(0xe9)](this[_0x58217a(0xdf)][_0x58217a(0xad)]),_0x388fb5=this[_0x58217a(0xdf)][_0x58217a(0xbb)][_0x58217a(0xcd)](_0x58217a(0xfd))||[];let _0x33006f=[];try{_0x33006f=await new _0x4c9a27({'connector':this[_0x58217a(0xdf)][_0x58217a(0xfc)][_0x58217a(0xcd)](_0x58217a(0xd5)),'locale':this[_0x58217a(0xdf)][_0x58217a(0xad)]})[_0x58217a(0xdc)]();}catch(_0x4061b3){const _0x4dab5e=new _0x463e15(_0x58217a(0x101),this,{'error':_0x4061b3});_0x43cc3a(_0x4dab5e[_0x58217a(0xa3)]);}finally{const _0x130e1e=_0x388fb5[_0x58217a(0xe0)](_0x52629f=>({..._0x52629f,'icon':void 0x0}));_0x3b8c70[_0x58217a(0x6e)](_0x106c3f=>_0x58217a(0x72)===_0x106c3f['id'])[_0x58217a(0x10a)][_0x58217a(0xe6)](..._0x130e1e),_0x3b8c70[_0x58217a(0x6d)](_0x126488=>{const _0x5c8274=_0x58217a;if(_0x5c8274(0x10a)in _0x126488)_0x126488[_0x5c8274(0x10a)][_0x5c8274(0x6d)](_0x1027ce=>{const _0x35e8bc=_0x5c8274;if(_0x1027ce[_0x35e8bc(0xd1)]=!!_0x33006f[_0x35e8bc(0x6e)](_0x46b6f0=>_0x46b6f0['id']===_0x1027ce[_0x35e8bc(0x90)])||void 0x0===_0x1027ce[_0x35e8bc(0x90)],!_0x1027ce[_0x35e8bc(0xd1)]){const _0x611e57=new _0x463e15(_0x35e8bc(0x104),this,{'actionId':_0x1027ce['id'],'modelId':_0x1027ce[_0x35e8bc(0x90)]});_0x43cc3a(_0x611e57[_0x35e8bc(0xa3)]);}});else{if(_0x126488[_0x5c8274(0xd1)]=!!_0x33006f[_0x5c8274(0x6e)](_0x30e8bc=>_0x30e8bc['id']===_0x126488[_0x5c8274(0x90)])||void 0x0===_0x126488[_0x5c8274(0x90)],!_0x126488[_0x5c8274(0xd1)]){const _0xa06174=new _0x463e15(_0x5c8274(0x104),this,{'actionId':_0x126488['id'],'modelId':_0x126488[_0x5c8274(0x90)]});_0x43cc3a(_0xa06174[_0x5c8274(0xa3)]);}}});}return _0x3b8c70;}[_0x4eac95(0x9c)](){const _0x51a997=_0x4eac95,_0x523254=new _0x1ac19e(this[_0x51a997(0xdf)][_0x51a997(0xad)]);_0x523254[_0x51a997(0xa6)](),this[_0x51a997(0xd2)](_0x523254),this[_0x51a997(0xa4)](),this[_0x51a997(0xb4)](_0x523254);}[_0x4eac95(0xd2)](_0x21365f){const _0x3484a3=_0x4eac95,_0x444ed2=this[_0x3484a3(0xdf)][_0x3484a3(0xbb)][_0x3484a3(0xcd)](_0x3484a3(0xf5))??!0x0;this[_0x3484a3(0xdf)]['ui'][_0x3484a3(0xec)][_0x3484a3(0x73)](_0x3484a3(0xba),_0x2a5673({'editor':this[_0x3484a3(0xdf)],'content':this[_0x3484a3(0x74)],'buttonDefinition':{'icon':_0x33e651,'label':_0x500b0a(this[_0x3484a3(0xdf)][_0x3484a3(0xad)],_0x3484a3(0x7f))},'bodyCollection':_0x21365f,'hasSearch':_0x444ed2}));}[_0x4eac95(0x105)](_0x18d225){const _0x11665a=_0x4eac95;this[_0x11665a(0x74)]=_0x18d225[_0x11665a(0xe0)](_0x328224=>{const _0x1a6df6=_0x11665a;if(_0x1a6df6(0x10a)in _0x328224){const _0x3b1043=_0x328224;return{..._0x3b1043,'actions':_0x3b1043[_0x1a6df6(0x10a)][_0x1a6df6(0xe0)](_0xce7545=>{const {actions:_0x180868,..._0x99c74a}=_0x3b1043;return{..._0xce7545,'parent':_0x99c74a};})[_0x1a6df6(0xc1)](_0xe8a0dd=>this[_0x1a6df6(0x70)](_0xe8a0dd))};}return _0x328224;})[_0x11665a(0xc1)](_0x217841=>_0x11665a(0x10a)in _0x217841?_0x217841[_0x11665a(0x10a)][_0x11665a(0xf6)]>0x0:this[_0x11665a(0x70)](_0x217841));}[_0x4eac95(0x70)](_0x14dbbe){const _0x327bb7=_0x4eac95,_0xc441c7=this[_0x327bb7(0xdf)][_0x327bb7(0xbb)][_0x327bb7(0xcd)](_0x327bb7(0xfa))||[];return this[_0x327bb7(0xdf)][_0x327bb7(0xfc)][_0x327bb7(0xe8)](AIQuickActionTypeToPluginName[_0x14dbbe[_0x327bb7(0x107)]])&&!_0xc441c7[_0x327bb7(0xfe)](_0x14dbbe['id'])&&!(_0x14dbbe[_0x327bb7(0x107)]===AIQuickActionType[_0x327bb7(0x9e)]&&!0x1===this[_0x327bb7(0xdf)][_0x327bb7(0xbb)][_0x327bb7(0xcd)](_0x327bb7(0x6c)));}[_0x4eac95(0xb4)](_0x26aa63){const _0x5f6da9=_0x4eac95;this[_0x5f6da9(0x74)][_0x5f6da9(0x6d)](_0x4de2c5=>{const _0x317b8e=_0x5f6da9;if(_0x317b8e(0x10a)in _0x4de2c5){const _0x15fe8f=_0x2a5673({'editor':this[_0x317b8e(0xdf)],'content':_0x4de2c5[_0x317b8e(0x10a)],'buttonDefinition':_0x4de2c5,'bodyCollection':_0x26aa63});this[_0x317b8e(0xdf)]['ui'][_0x317b8e(0xec)][_0x317b8e(0x73)](_0x4de2c5['id'],_0x15fe8f),_0x4de2c5[_0x317b8e(0x10a)][_0x317b8e(0x6d)](_0x2b3088=>{const _0xb58056=_0x317b8e,_0x3b4c2c=_0x13f7d0({'editor':this[_0xb58056(0xdf)],'action':_0x2b3088});this[_0xb58056(0xdf)]['ui'][_0xb58056(0xec)][_0xb58056(0x73)](_0x2b3088['id'],_0x3b4c2c);});}else{const _0x4b1d24=_0x13f7d0({'editor':this[_0x317b8e(0xdf)],'action':_0x4de2c5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x317b8e(0xdf)]['ui'][_0x317b8e(0xec)][_0x317b8e(0x73)](_0x4de2c5['id'],_0x4b1d24);}});}[_0x4eac95(0xa4)](){const _0x3abd18=_0x4eac95;this[_0x3abd18(0xdf)]['ui'][_0x3abd18(0xec)][_0x3abd18(0x73)](_0x3abd18(0x78),_0xdd97bb=>{const _0x3ed205=_0x3abd18,_0x3330ed=new _0x553c81(_0xdd97bb),_0x2c1972=_0x500b0a(_0xdd97bb,_0x3ed205(0x7f));_0x3330ed[_0x3ed205(0x9f)][_0x3ed205(0xf0)]({'label':_0x2c1972,'icon':_0x33e651});const _0x3ef730=new _0x511b73(_0xdd97bb);_0x3ef730[_0x3ed205(0xf0)]({'ariaLabel':_0x2c1972,'role':_0x3ed205(0xd4)}),this[_0x3ed205(0x74)][_0x3ed205(0x6d)](_0x55e8b6=>{const _0x8379a5=_0x3ed205;if(_0x8379a5(0x10a)in _0x55e8b6){const _0x3221c4=_0x55e8b6,_0x28141f=new _0x5c4e9b(_0xdd97bb,_0x3330ed),_0xb4a317=new _0x553c81(_0xdd97bb),_0x199e73=new _0x511b73(_0xdd97bb);_0xb4a317[_0x8379a5(0x9f)][_0x8379a5(0xf0)]({'label':_0x3221c4[_0x8379a5(0xf7)],'icon':_0x3221c4[_0x8379a5(0x84)]}),_0x3221c4[_0x8379a5(0x10a)][_0x8379a5(0x6d)](_0x3bb82c=>{const _0x563371=_0x8379a5,_0x334691=new _0x5c4e9b(_0xdd97bb,_0xb4a317),_0x19dd1f=new _0x47e156(_0xdd97bb);_0x19dd1f[_0x563371(0xf0)]({'label':_0x3bb82c[_0x563371(0xd8)],'icon':_0x3bb82c[_0x563371(0x84)],'role':_0x563371(0xc6),'isEnabled':_0x3bb82c[_0x563371(0xd1)]}),_0x19dd1f['on'](_0x563371(0xcc),()=>{const _0x58814d=_0x563371;this[_0x58814d(0x6f)](_0x3bb82c);}),_0x19dd1f[_0x563371(0xab)](_0x563371(0xcc))['to'](_0xb4a317),_0x334691[_0x563371(0xb1)][_0x563371(0x73)](_0x19dd1f),_0x199e73[_0x563371(0x93)][_0x563371(0x73)](_0x334691);}),_0xb4a317[_0x8379a5(0xa2)][_0x8379a5(0xb1)][_0x8379a5(0x73)](_0x199e73),_0x28141f[_0x8379a5(0xb1)][_0x8379a5(0x73)](_0xb4a317),_0x3ef730[_0x8379a5(0x93)][_0x8379a5(0x73)](_0x28141f);}else{const _0x54295d=_0x55e8b6,_0x5407d8=new _0x5c4e9b(_0xdd97bb,_0x3330ed),_0x65f79d=new _0x47e156(_0xdd97bb);_0x65f79d[_0x8379a5(0xf0)]({'label':_0x54295d[_0x8379a5(0xd8)],'icon':_0x54295d[_0x8379a5(0x84)],'role':_0x8379a5(0xc6),'isEnabled':_0x54295d[_0x8379a5(0xd1)]}),_0x65f79d['on'](_0x8379a5(0xcc),()=>{const _0x47ea44=_0x8379a5;this[_0x47ea44(0x6f)](_0x54295d);}),_0x65f79d[_0x8379a5(0xab)](_0x8379a5(0xcc))['to'](_0x3330ed),_0x5407d8[_0x8379a5(0xb1)][_0x8379a5(0x73)](_0x65f79d),_0x3ef730[_0x8379a5(0x93)][_0x8379a5(0x73)](_0x5407d8);}});const _0x299e0c=Object[_0x3ed205(0x85)](AIQuickActionTypeToPluginName)[_0x3ed205(0x94)](_0x59644b=>this[_0x3ed205(0xdf)][_0x3ed205(0xfc)][_0x3ed205(0xe8)](_0x59644b));return _0x3330ed[_0x3ed205(0xf0)]({'isEnabled':_0x299e0c}),_0x3330ed[_0x3ed205(0xa2)][_0x3ed205(0xb1)][_0x3ed205(0x73)](_0x3ef730),_0x3330ed;});}[_0x4eac95(0x6f)](_0x46ffb9){const _0x250c41=_0x4eac95,_0x5c64f1=this[_0x250c41(0xdf)];_0x5c64f1[_0x250c41(0xce)][_0x250c41(0xb3)][_0x250c41(0xe5)](),_0x5c64f1[_0x250c41(0xbd)][_0x250c41(0xcc)](_0x250c41(0x100),_0x46ffb9);const _0x271de1=_0x5c64f1['ui'][_0x250c41(0xb3)][_0x250c41(0xb5)];_0x271de1&&_0x271de1[_0x250c41(0xaa)]&&_0x271de1[_0x250c41(0xaa)]();}}
|
|
23
|
+
const _0x3bd1c2=_0x2cd7;(function(_0x17ddff,_0x58ea01){const _0x2e976f=_0x2cd7,_0x3e632c=_0x17ddff();while(!![]){try{const _0x3a1ab3=-parseInt(_0x2e976f(0x22d))/0x1+-parseInt(_0x2e976f(0x200))/0x2*(parseInt(_0x2e976f(0x218))/0x3)+parseInt(_0x2e976f(0x1dc))/0x4*(parseInt(_0x2e976f(0x1f7))/0x5)+parseInt(_0x2e976f(0x1ed))/0x6*(-parseInt(_0x2e976f(0x1c2))/0x7)+-parseInt(_0x2e976f(0x232))/0x8*(parseInt(_0x2e976f(0x224))/0x9)+parseInt(_0x2e976f(0x21c))/0xa+parseInt(_0x2e976f(0x1a7))/0xb;if(_0x3a1ab3===_0x58ea01)break;else _0x3e632c['push'](_0x3e632c['shift']());}catch(_0x2ee149){_0x3e632c['push'](_0x3e632c['shift']());}}}(_0x43a1,0x2d5ea));import{IconAIAdjustLength as _0x486a06,IconAIChangeTone as _0x1b4135,IconAIChatCommands as _0x230ce9,IconAIContinueWriting as _0x3c45a7,IconAIGrammarCheck as _0x463ea8,IconAIImproveWriting as _0x34ddeb,IconAIOther as _0x216c8c,IconAIQuickActions as _0x3bd664,IconAITranslate as _0x201db2}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xa2e7b0}from'ckeditor5/src/core.js';import{CKEditorError as _0x48e463,logError as _0x56f8ec}from'ckeditor5/src/utils.js';import{getTranslation as _0x85c19e}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5a12f9}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4826fe}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x1013be,BalloonToolbar as _0x5e3b0b,MenuBarMenuView as _0x42e294,MenuBarMenuListView as _0x40ef93,MenuBarMenuListItemView as _0x40a404,MenuBarMenuListItemButtonView as _0x8be692}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x2cd7(_0x11a1e6,_0x119448){const _0x43a152=_0x43a1();return _0x2cd7=function(_0x2cd742,_0x43109c){_0x2cd742=_0x2cd742-0x1a6;let _0x11ba29=_0x43a152[_0x2cd742];return _0x11ba29;},_0x2cd7(_0x11a1e6,_0x119448);}import{AIModels as _0x583df7}from'../aicore/model/aimodels.js';function _0x43a1(){const _0x2bef26=['german','make-tone-professional','ai.quickActions.extraCommands','373285OnAXVa','icon','config','pluginName','getDefaultQuickActions','<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>','adjust-length','_quickActionsDefinition','continue','5714toHCUz','AI_QUICK_ACTIONS_IMPROVE_WRITING','other','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','replace','AI_QUICK_ACTIONS_SUMMARIZE','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate-to-japanese','componentFactory','translate-to-russian','fix-grammar','model','_getDefaultAndCustomActions','includes','plugins','menuBar:aiQuickActions','translate-to-german','editor','ACTION','find','init','AIReviewMode','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','66oycbnL','improve-writing','commands','translate','1712190QFMpLJ','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_executeQuickAction','translate-to-english','make-tone-casual','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_MORE_CASUAL','2431395AekUyR','isOfficialPlugin','make-tone-direct','highlight-key-points','<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>','ai-quick-actions-models-unable-to-retrieve','isEnabled','make-longer','_initializeQuickActionsComponents','139298aWaPgl','add','russian','label','English','8KJGYFj','forEach','menu','<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_OTHER','push','AI_QUICK_ACTIONS_EXPLAIN','DisplayNames','delegate','make-shorter','execute','actions','aiQuickActions','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-spanish','getAll','uiLanguage','translate-to-chinese','AI_QUICK_ACTIONS_MORE_DIRECT','message','ai.quickActions.isSearchEnabled','has','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','6821298ZhPyqv','some','set','AIChat','values','explain','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','french','type','translate-to-korean','translate-to-italian','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','close','aiQuickAction','korean','spanish','menuitem','ai.chat.context.document.enabled','panelView','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_MAKE_SHORTER','CHAT','editing','chinese','AI_QUICK_ACTIONS_MORE_CONFIDENT','map','7yZGsot','AIConnector','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_ASK_AI','isPremiumPlugin','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_shouldIncludeAction','attachToDom','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AIActions','japanese','filter','language','summarize','children','translate-to-french','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_CONTINUE_WRITING','ask-ai','italian','menuBarView','AI_QUICK_ACTIONS_CHAT_COMMANDS','_initializeQuickActionsComponentsAndCommands','focus','translate-to-portuguese','buttonView','4JoGHGw','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','displayedPrompt','get','english','AI_QUICK_ACTIONS_HEADING','length','_initializeQuickActionsMenuBar','make-tone-friendly','change-tone','AIQuickActionsUI','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE','ai-quick-actions-unavailable-model','items','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','_prepareQuickActionsDefinition','1247118Torhnr','make-tone-confident','locale','AI_QUICK_ACTIONS_CHANGE_TONE','portuguese','view','requires'];_0x43a1=function(){return _0x2bef26;};return _0x43a1();}import{AIConnector as _0x36b84b}from'../aicore/aiconnector.js';const ee=_0x3bd1c2(0x1fc),ie=_0x3bd1c2(0x235),ne=_0x3bd1c2(0x228);export var AIQuickActionType;!function(_0x8403d0){const _0x381b1f=_0x3bd1c2;_0x8403d0[_0x381b1f(0x1bd)]=_0x381b1f(0x1bd),_0x8403d0[_0x381b1f(0x213)]=_0x381b1f(0x213),_0x8403d0[_0x381b1f(0x203)]=_0x381b1f(0x203);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2fbac7){const _0x1e3e80=_0x3bd1c2;_0x2fbac7[_0x1e3e80(0x1bd)]=_0x1e3e80(0x1aa),_0x2fbac7[_0x1e3e80(0x213)]=_0x1e3e80(0x1cb),_0x2fbac7[_0x1e3e80(0x203)]=_0x1e3e80(0x216);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xa2e7b0{static get[_0x3bd1c2(0x1f3)](){return[_0x5e3b0b,_0x36b84b];}static get[_0x3bd1c2(0x1fa)](){const _0x591330=_0x3bd1c2;return _0x591330(0x1e6);}static get[_0x3bd1c2(0x225)](){return!0x0;}static get[_0x3bd1c2(0x1c6)](){return!0x0;}async[_0x3bd1c2(0x215)](){const _0x41e928=_0x3bd1c2,_0xbab7a3=await this[_0x41e928(0x20d)]();this[_0x41e928(0x1ec)](_0xbab7a3),this[_0x41e928(0x1d8)]();}static[_0x3bd1c2(0x1fb)](_0x5800c2){return function(_0x114a81){const _0x4c19b4=_0x2cd7,_0x4c0350=new Intl[(_0x4c19b4(0x239))](['en'],{'type':_0x4c19b4(0x1ce)})['of'](_0x114a81[_0x4c19b4(0x242)]),_0x2a1536=_0x4c0350||_0x4c19b4(0x231),_0x56972c=[{'id':_0x4c19b4(0x1d4),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1c5)),'type':AIQuickActionType[_0x4c19b4(0x1bd)],'icon':_0x230ce9},{'id':_0x4c19b4(0x21d),'label':_0x85c19e(_0x114a81,_0x4c19b4(0x1d7)),'icon':_0x230ce9,'actions':[{'id':_0x4c19b4(0x1ac),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x238)),'prompt':ee[_0x4c19b4(0x205)]('%0',_0x2a1536),'type':AIQuickActionType[_0x4c19b4(0x1bd)]},{'id':_0x4c19b4(0x1cf),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x206)),'prompt':ie[_0x4c19b4(0x205)]('%0',_0x2a1536),'type':AIQuickActionType[_0x4c19b4(0x1bd)]},{'id':_0x4c19b4(0x227),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x207)),'prompt':ne[_0x4c19b4(0x205)]('%0',_0x2a1536),'type':AIQuickActionType[_0x4c19b4(0x1bd)]}]},{'id':_0x4c19b4(0x219),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x201)),'type':AIQuickActionType[_0x4c19b4(0x213)],'icon':_0x34ddeb},{'id':_0x4c19b4(0x1ff),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1d3)),'type':AIQuickActionType[_0x4c19b4(0x213)],'icon':_0x3c45a7},{'id':_0x4c19b4(0x20b),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1b3)),'type':AIQuickActionType[_0x4c19b4(0x213)],'icon':_0x463ea8},{'id':_0x4c19b4(0x1fd),'label':_0x85c19e(_0x114a81,_0x4c19b4(0x23f)),'icon':_0x486a06,'actions':[{'id':_0x4c19b4(0x23b),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1bc)),'type':AIQuickActionType[_0x4c19b4(0x213)]},{'id':_0x4c19b4(0x22b),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1c4)),'type':AIQuickActionType[_0x4c19b4(0x213)]}]},{'id':_0x4c19b4(0x1e5),'label':_0x85c19e(_0x114a81,_0x4c19b4(0x1f0)),'icon':_0x1b4135,'actions':[{'id':_0x4c19b4(0x221),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x223)),'type':AIQuickActionType[_0x4c19b4(0x213)]},{'id':_0x4c19b4(0x226),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x244)),'type':AIQuickActionType[_0x4c19b4(0x213)]},{'id':_0x4c19b4(0x1e4),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1d2)),'type':AIQuickActionType[_0x4c19b4(0x213)]},{'id':_0x4c19b4(0x1ee),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1c0)),'type':AIQuickActionType[_0x4c19b4(0x213)]},{'id':_0x4c19b4(0x1f5),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1dd)),'type':AIQuickActionType[_0x4c19b4(0x213)]}]},{'id':_0x4c19b4(0x21b),'label':_0x85c19e(_0x114a81,_0x4c19b4(0x1e8)),'icon':_0x201db2,'actions':[{'id':_0x4c19b4(0x220),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1bb)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1e0)}},{'id':_0x4c19b4(0x243),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1c7)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1bf)}},{'id':_0x4c19b4(0x240),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x204)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1b7)}},{'id':_0x4c19b4(0x211),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x217)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1f4)}},{'id':_0x4c19b4(0x1d1),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x21e)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1af)}},{'id':_0x4c19b4(0x208),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1ad)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1cc)}},{'id':_0x4c19b4(0x1da),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1ca)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1f1)}},{'id':_0x4c19b4(0x1b1),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1ae)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1b6)}},{'id':_0x4c19b4(0x1b2),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1eb)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x1d5)}},{'id':_0x4c19b4(0x20a),'displayedPrompt':_0x85c19e(_0x114a81,_0x4c19b4(0x1a6)),'type':AIQuickActionType[_0x4c19b4(0x213)],'actionName':_0x4c19b4(0x21b),'args':{'language':_0x4c19b4(0x22f)}}]},{'id':_0x4c19b4(0x202),'label':_0x85c19e(_0x114a81,_0x4c19b4(0x236)),'icon':_0x216c8c,'actions':[]}];return _0x56972c;}(_0x5800c2);}async[_0x3bd1c2(0x20d)](){const _0x329b7c=_0x3bd1c2,_0x339868=AIQuickActionsUI[_0x329b7c(0x1fb)](this[_0x329b7c(0x212)][_0x329b7c(0x1ef)]),_0x3a38f0=this[_0x329b7c(0x212)][_0x329b7c(0x1f9)][_0x329b7c(0x1df)](_0x329b7c(0x1f6))||[];let _0x54999c=[];try{_0x54999c=await new _0x583df7({'connector':this[_0x329b7c(0x212)][_0x329b7c(0x20f)][_0x329b7c(0x1df)](_0x329b7c(0x1c3)),'locale':this[_0x329b7c(0x212)][_0x329b7c(0x1ef)]})[_0x329b7c(0x241)]();}catch(_0x2fd09c){const _0x1e670c=new _0x48e463(_0x329b7c(0x229),this,{'error':_0x2fd09c});_0x56f8ec(_0x1e670c[_0x329b7c(0x245)]);}finally{const _0x1f30de=_0x3a38f0[_0x329b7c(0x1c1)](_0x55a53d=>({..._0x55a53d,'icon':void 0x0}));_0x339868[_0x329b7c(0x214)](_0x535311=>_0x329b7c(0x202)===_0x535311['id'])[_0x329b7c(0x23d)][_0x329b7c(0x237)](..._0x1f30de),_0x339868[_0x329b7c(0x233)](_0x226d3c=>{const _0x3fe66f=_0x329b7c;if(_0x3fe66f(0x23d)in _0x226d3c)_0x226d3c[_0x3fe66f(0x23d)][_0x3fe66f(0x233)](_0x3adc6d=>{const _0x270977=_0x3fe66f;if(_0x3adc6d[_0x270977(0x22a)]=!!_0x54999c[_0x270977(0x214)](_0x2ca6e8=>_0x2ca6e8['id']===_0x3adc6d[_0x270977(0x20c)])||void 0x0===_0x3adc6d[_0x270977(0x20c)],!_0x3adc6d[_0x270977(0x22a)]){const _0x1dccd1=new _0x48e463(_0x270977(0x1e9),this,{'actionId':_0x3adc6d['id'],'modelId':_0x3adc6d[_0x270977(0x20c)]});_0x56f8ec(_0x1dccd1[_0x270977(0x245)]);}});else{if(_0x226d3c[_0x3fe66f(0x22a)]=!!_0x54999c[_0x3fe66f(0x214)](_0x5975d9=>_0x5975d9['id']===_0x226d3c[_0x3fe66f(0x20c)])||void 0x0===_0x226d3c[_0x3fe66f(0x20c)],!_0x226d3c[_0x3fe66f(0x22a)]){const _0x485285=new _0x48e463(_0x3fe66f(0x1e9),this,{'actionId':_0x226d3c['id'],'modelId':_0x226d3c[_0x3fe66f(0x20c)]});_0x56f8ec(_0x485285[_0x3fe66f(0x245)]);}}});}return _0x339868;}[_0x3bd1c2(0x1d8)](){const _0x5bf517=_0x3bd1c2,_0x4fc006=new _0x1013be(this[_0x5bf517(0x212)][_0x5bf517(0x1ef)]);_0x4fc006[_0x5bf517(0x1c9)](),this[_0x5bf517(0x222)](_0x4fc006),this[_0x5bf517(0x1e3)](),this[_0x5bf517(0x22c)](_0x4fc006);}[_0x3bd1c2(0x222)](_0x29e37f){const _0x48eb85=_0x3bd1c2,_0x2ce421=this[_0x48eb85(0x212)][_0x48eb85(0x1f9)][_0x48eb85(0x1df)](_0x48eb85(0x246))??!0x0;this[_0x48eb85(0x212)]['ui'][_0x48eb85(0x209)][_0x48eb85(0x22e)](_0x48eb85(0x23e),_0x5a12f9({'editor':this[_0x48eb85(0x212)],'content':this[_0x48eb85(0x1fe)],'buttonDefinition':{'icon':_0x3bd664,'label':_0x85c19e(this[_0x48eb85(0x212)][_0x48eb85(0x1ef)],_0x48eb85(0x1e1))},'bodyCollection':_0x29e37f,'hasSearch':_0x2ce421}));}[_0x3bd1c2(0x1ec)](_0x2ae093){const _0x5d1dab=_0x3bd1c2;this[_0x5d1dab(0x1fe)]=_0x2ae093[_0x5d1dab(0x1c1)](_0x555858=>{const _0xebb498=_0x5d1dab;if(_0xebb498(0x23d)in _0x555858){const _0x3e2829=_0x555858;return{..._0x3e2829,'actions':_0x3e2829[_0xebb498(0x23d)][_0xebb498(0x1c1)](_0x3485a7=>{const {actions:_0x2f84b8,..._0x5c49ba}=_0x3e2829;return{..._0x3485a7,'parent':_0x5c49ba};})[_0xebb498(0x1cd)](_0x2e91d1=>this[_0xebb498(0x1c8)](_0x2e91d1))};}return _0x555858;})[_0x5d1dab(0x1cd)](_0x3cf060=>_0x5d1dab(0x23d)in _0x3cf060?_0x3cf060[_0x5d1dab(0x23d)][_0x5d1dab(0x1e2)]>0x0:this[_0x5d1dab(0x1c8)](_0x3cf060));}[_0x3bd1c2(0x1c8)](_0x34ab8f){const _0x5b7096=_0x3bd1c2,_0x59b5bb=this[_0x5b7096(0x212)][_0x5b7096(0x1f9)][_0x5b7096(0x1df)](_0x5b7096(0x1e7))||[];return this[_0x5b7096(0x212)][_0x5b7096(0x20f)][_0x5b7096(0x247)](AIQuickActionTypeToPluginName[_0x34ab8f[_0x5b7096(0x1b0)]])&&!_0x59b5bb[_0x5b7096(0x20e)](_0x34ab8f['id'])&&!(_0x34ab8f[_0x5b7096(0x1b0)]===AIQuickActionType[_0x5b7096(0x1bd)]&&!0x1===this[_0x5b7096(0x212)][_0x5b7096(0x1f9)][_0x5b7096(0x1df)](_0x5b7096(0x1b9)));}[_0x3bd1c2(0x22c)](_0xbf6852){const _0x4204e0=_0x3bd1c2;this[_0x4204e0(0x1fe)][_0x4204e0(0x233)](_0x2d7cd4=>{const _0x467465=_0x4204e0;if(_0x467465(0x23d)in _0x2d7cd4){const _0x38c538=_0x5a12f9({'editor':this[_0x467465(0x212)],'content':_0x2d7cd4[_0x467465(0x23d)],'buttonDefinition':_0x2d7cd4,'bodyCollection':_0xbf6852});this[_0x467465(0x212)]['ui'][_0x467465(0x209)][_0x467465(0x22e)](_0x2d7cd4['id'],_0x38c538),_0x2d7cd4[_0x467465(0x23d)][_0x467465(0x233)](_0x580b2b=>{const _0x28c073=_0x467465,_0x27b3e7=_0x4826fe({'editor':this[_0x28c073(0x212)],'action':_0x580b2b});this[_0x28c073(0x212)]['ui'][_0x28c073(0x209)][_0x28c073(0x22e)](_0x580b2b['id'],_0x27b3e7);});}else{const _0x501c58=_0x4826fe({'editor':this[_0x467465(0x212)],'action':_0x2d7cd4,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x467465(0x212)]['ui'][_0x467465(0x209)][_0x467465(0x22e)](_0x2d7cd4['id'],_0x501c58);}});}[_0x3bd1c2(0x1e3)](){const _0x2a1bcb=_0x3bd1c2;this[_0x2a1bcb(0x212)]['ui'][_0x2a1bcb(0x209)][_0x2a1bcb(0x22e)](_0x2a1bcb(0x210),_0x2f79cf=>{const _0x44d921=_0x2a1bcb,_0x14306f=new _0x42e294(_0x2f79cf),_0x2f64c5=_0x85c19e(_0x2f79cf,_0x44d921(0x1e1));_0x14306f[_0x44d921(0x1db)][_0x44d921(0x1a9)]({'label':_0x2f64c5,'icon':_0x3bd664});const _0x2f7a0f=new _0x40ef93(_0x2f79cf);_0x2f7a0f[_0x44d921(0x1a9)]({'ariaLabel':_0x2f64c5,'role':_0x44d921(0x234)}),this[_0x44d921(0x1fe)][_0x44d921(0x233)](_0x590ceb=>{const _0x4b685a=_0x44d921;if(_0x4b685a(0x23d)in _0x590ceb){const _0x4ed18e=_0x590ceb,_0x64dc1a=new _0x40a404(_0x2f79cf,_0x14306f),_0x6ca532=new _0x42e294(_0x2f79cf),_0x5950d2=new _0x40ef93(_0x2f79cf);_0x6ca532[_0x4b685a(0x1db)][_0x4b685a(0x1a9)]({'label':_0x4ed18e[_0x4b685a(0x230)],'icon':_0x4ed18e[_0x4b685a(0x1f8)]}),_0x4ed18e[_0x4b685a(0x23d)][_0x4b685a(0x233)](_0x265411=>{const _0x4773ee=_0x4b685a,_0x26ae85=new _0x40a404(_0x2f79cf,_0x6ca532),_0x1354bf=new _0x8be692(_0x2f79cf);_0x1354bf[_0x4773ee(0x1a9)]({'label':_0x265411[_0x4773ee(0x1de)],'icon':_0x265411[_0x4773ee(0x1f8)],'role':_0x4773ee(0x1b8),'isEnabled':_0x265411[_0x4773ee(0x22a)]}),_0x1354bf['on'](_0x4773ee(0x23c),()=>{const _0x347d7f=_0x4773ee;this[_0x347d7f(0x21f)](_0x265411);}),_0x1354bf[_0x4773ee(0x23a)](_0x4773ee(0x23c))['to'](_0x6ca532),_0x26ae85[_0x4773ee(0x1d0)][_0x4773ee(0x22e)](_0x1354bf),_0x5950d2[_0x4773ee(0x1ea)][_0x4773ee(0x22e)](_0x26ae85);}),_0x6ca532[_0x4b685a(0x1ba)][_0x4b685a(0x1d0)][_0x4b685a(0x22e)](_0x5950d2),_0x64dc1a[_0x4b685a(0x1d0)][_0x4b685a(0x22e)](_0x6ca532),_0x2f7a0f[_0x4b685a(0x1ea)][_0x4b685a(0x22e)](_0x64dc1a);}else{const _0xb7ee89=_0x590ceb,_0x3973cc=new _0x40a404(_0x2f79cf,_0x14306f),_0x2846e9=new _0x8be692(_0x2f79cf);_0x2846e9[_0x4b685a(0x1a9)]({'label':_0xb7ee89[_0x4b685a(0x1de)],'icon':_0xb7ee89[_0x4b685a(0x1f8)],'role':_0x4b685a(0x1b8),'isEnabled':_0xb7ee89[_0x4b685a(0x22a)]}),_0x2846e9['on'](_0x4b685a(0x23c),()=>{const _0x5258d4=_0x4b685a;this[_0x5258d4(0x21f)](_0xb7ee89);}),_0x2846e9[_0x4b685a(0x23a)](_0x4b685a(0x23c))['to'](_0x14306f),_0x3973cc[_0x4b685a(0x1d0)][_0x4b685a(0x22e)](_0x2846e9),_0x2f7a0f[_0x4b685a(0x1ea)][_0x4b685a(0x22e)](_0x3973cc);}});const _0x576498=Object[_0x44d921(0x1ab)](AIQuickActionTypeToPluginName)[_0x44d921(0x1a8)](_0x388624=>this[_0x44d921(0x212)][_0x44d921(0x20f)][_0x44d921(0x247)](_0x388624));return _0x14306f[_0x44d921(0x1a9)]({'isEnabled':_0x576498}),_0x14306f[_0x44d921(0x1ba)][_0x44d921(0x1d0)][_0x44d921(0x22e)](_0x2f7a0f),_0x14306f;});}[_0x3bd1c2(0x21f)](_0x587f77){const _0x389507=_0x3bd1c2,_0x29413e=this[_0x389507(0x212)];_0x29413e[_0x389507(0x1be)][_0x389507(0x1f2)][_0x389507(0x1d9)](),_0x29413e[_0x389507(0x21a)][_0x389507(0x23c)](_0x389507(0x1b5),_0x587f77);const _0x439921=_0x29413e['ui'][_0x389507(0x1f2)][_0x389507(0x1d6)];_0x439921&&_0x439921[_0x389507(0x1b4)]&&_0x439921[_0x389507(0x1b4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x215d(){const _0x5d03c5=['8VZMwyn','1179753XKVTEv','35137vqqpAE','locale','icon','focus','1333912eFDhUH','bindTemplate','displayedPrompt','parent','view','72wdbgLZ','execute','2vjJJlj','commands','isEnabled','2986207SmPlCX','113014KgCzOk','extendTemplate','menuitem','ck-ai-quick-actions-button','aiQuickAction','450UcDsfC','set','3790Gxogku','30cFkYub','editing','207828RbqRmV'];_0x215d=function(){return _0x5d03c5;};return _0x215d();}function _0x29d5(_0x4be99c,_0xdba7ec){const _0x215ddf=_0x215d();return _0x29d5=function(_0x29d519,_0x499f6b){_0x29d519=_0x29d519-0xcf;let _0x594b9d=_0x215ddf[_0x29d519];return _0x594b9d;},_0x29d5(_0x4be99c,_0xdba7ec);}(function(_0x26b9ab,_0x2be3de){const _0x2a94b2=_0x29d5,_0x274183=_0x26b9ab();while(!![]){try{const _0x4c386b=parseInt(_0x2a94b2(0xda))/0x1+parseInt(_0x2a94b2(0xe5))/0x2*(parseInt(_0x2a94b2(0xd9))/0x3)+-parseInt(_0x2a94b2(0xde))/0x4+-parseInt(_0x2a94b2(0xd5))/0x5*(parseInt(_0x2a94b2(0xd7))/0x6)+parseInt(_0x2a94b2(0xe8))/0x7*(parseInt(_0x2a94b2(0xd8))/0x8)+-parseInt(_0x2a94b2(0xd2))/0x9*(-parseInt(_0x2a94b2(0xd4))/0xa)+parseInt(_0x2a94b2(0xe9))/0xb*(parseInt(_0x2a94b2(0xe3))/0xc);if(_0x4c386b===_0x2be3de)break;else _0x274183['push'](_0x274183['shift']());}catch(_0x4d861e){_0x274183['push'](_0x274183['shift']());}}}(_0x215d,0x60425));import{ButtonView as _0x150d5e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4e3836}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3f884d){const {editor:_0x209a8b,action:_0x3f6a77,withText:_0x47ef93=!0x1,withIcon:_0x515db0=!0x0,isInDropdown:_0x579f08=!0x0,shouldPreventFocus:_0x4adce8=!0x1}=_0x3f884d;return()=>{const _0x38a2a6=_0x29d5,_0x38d25d=_0x209a8b[_0x38a2a6(0xdb)],_0x5c6ddb=new _0x150d5e(_0x38d25d),_0x48e277=_0x5c6ddb[_0x38a2a6(0xdf)];_0x579f08&&_0x5c6ddb[_0x38a2a6(0xea)]({'on':{'mouseenter':_0x48e277['to'](()=>{const _0x1b87c1=_0x38a2a6;_0x4adce8&&_0x4adce8()||_0x5c6ddb[_0x1b87c1(0xdd)]();})}});const _0x43cfca=_0x3f6a77[_0x38a2a6(0xdc)]??_0x3f6a77[_0x38a2a6(0xe1)]?.[_0x38a2a6(0xdc)];return _0x5c6ddb[_0x38a2a6(0xd3)]({'label':_0x3f6a77[_0x38a2a6(0xe0)],'withText':_0x47ef93,'role':_0x38a2a6(0xcf),'icon':_0x515db0?_0x43cfca??_0x4e3836:void 0x0,'tooltip':!_0x47ef93,'class':_0x38a2a6(0xd0),'isEnabled':_0x3f6a77[_0x38a2a6(0xe7)]}),_0x5c6ddb['on'](_0x38a2a6(0xe4),()=>{const _0x37c91e=_0x38a2a6;_0x209a8b[_0x37c91e(0xd6)][_0x37c91e(0xe2)][_0x37c91e(0xdd)](),_0x209a8b[_0x37c91e(0xe6)][_0x37c91e(0xe4)](_0x37c91e(0xd1),_0x3f6a77);}),_0x5c6ddb;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3dd9bb=_0x3b02;function _0x3b02(_0x276c04,_0x2e0fa4){const _0x2ad01a=_0x2ad0();return _0x3b02=function(_0x3b026b,_0x38aff8){_0x3b026b=_0x3b026b-0xff;let _0x53417b=_0x2ad01a[_0x3b026b];return _0x53417b;},_0x3b02(_0x276c04,_0x2e0fa4);}(function(_0xa11c74,_0x51335a){const _0x219b9c=_0x3b02,_0x5f5497=_0xa11c74();while(!![]){try{const _0x1ca7b8=-parseInt(_0x219b9c(0x141))/0x1+-parseInt(_0x219b9c(0x14c))/0x2+-parseInt(_0x219b9c(0x137))/0x3*(parseInt(_0x219b9c(0x126))/0x4)+parseInt(_0x219b9c(0x166))/0x5*(-parseInt(_0x219b9c(0x118))/0x6)+parseInt(_0x219b9c(0x15d))/0x7*(-parseInt(_0x219b9c(0x119))/0x8)+-parseInt(_0x219b9c(0x134))/0x9*(-parseInt(_0x219b9c(0x181))/0xa)+parseInt(_0x219b9c(0x146))/0xb;if(_0x1ca7b8===_0x51335a)break;else _0x5f5497['push'](_0x5f5497['shift']());}catch(_0x59aa07){_0x5f5497['push'](_0x5f5497['shift']());}}}(_0x2ad0,0x88b55));import{View as _0x28ddef,ListItemView as _0x15802c,ListView as _0x2a8de6,BalloonPanelView as _0x5a8d88,DropdownMenuPanelPositioningFunctions as _0x2e150d,ViewCollection as _0x4a151e,FocusCycler as _0x535d2d,ButtonView as _0x2ab002,IconView as _0x1df39f,HighlightedTextView as _0x56cc7e,ButtonLabelWithHighlightView as _0x24aeea,SearchTextView as _0x41213d}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x357d90}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x220895,KeystrokeHandler as _0x53bfcb}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x29d237}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1835d1}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x52d760}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x3e96ee}from'./aiquickactionsfilteredlistview.js';const Qs=_0x3dd9bb(0x13d),Gs=_0x3dd9bb(0x140);export class AIQuickActionsDropdownContentView extends _0x28ddef{[_0x3dd9bb(0x180)];[_0x3dd9bb(0x133)];[_0x3dd9bb(0x142)]=null;[_0x3dd9bb(0x183)]=[];[_0x3dd9bb(0x151)];[_0x3dd9bb(0x17e)];[_0x3dd9bb(0x173)];[_0x3dd9bb(0x14f)];[_0x3dd9bb(0x177)];[_0x3dd9bb(0x147)]=new Set();[_0x3dd9bb(0x184)];constructor(_0x78758f,_0x195902,_0x362f80,_0x1de5cd,_0x419b73=!0x1){const _0x4ddbbd=_0x3dd9bb,_0x1cac20=_0x78758f[_0x4ddbbd(0x156)];super(_0x1cac20),this[_0x4ddbbd(0x180)]=_0x1de5cd,this[_0x4ddbbd(0x184)]=_0x419b73;const _0x510c76=this[_0x4ddbbd(0x15a)](_0x78758f,_0x195902,_0x362f80);this[_0x4ddbbd(0x133)]=new _0x3e96ee(_0x1cac20,_0x510c76,this[_0x4ddbbd(0x183)]),this[_0x4ddbbd(0x133)][_0x4ddbbd(0x109)]=Qs,this[_0x4ddbbd(0x133)][_0x4ddbbd(0x13b)][_0x4ddbbd(0x120)](_0x510c76),this[_0x4ddbbd(0x17e)]=new _0x220895(),this[_0x4ddbbd(0x173)]=new _0x53bfcb(),_0x419b73&&(this[_0x4ddbbd(0x142)]=this[_0x4ddbbd(0x100)]()),this[_0x4ddbbd(0x14f)]=_0x510c76,this[_0x4ddbbd(0x177)]=new _0x535d2d({'focusables':this[_0x4ddbbd(0x14f)],'focusTracker':this[_0x4ddbbd(0x17e)],'keystrokeHandler':this[_0x4ddbbd(0x173)]}),_0x419b73&&this[_0x4ddbbd(0x142)]&&this[_0x4ddbbd(0x177)][_0x4ddbbd(0x104)](this[_0x4ddbbd(0x142)][_0x4ddbbd(0x177)]);const _0xe911bd=_0x419b73&&this[_0x4ddbbd(0x142)]?[this[_0x4ddbbd(0x142)]]:[this[_0x4ddbbd(0x133)]];this[_0x4ddbbd(0x151)]=new _0x4a151e(_0xe911bd),this[_0x4ddbbd(0x11d)]({'tag':_0x4ddbbd(0x14b),'attributes':{'class':['ck',_0x4ddbbd(0x161),_0x4ddbbd(0x162),_0x4ddbbd(0x164)],'dir':_0x1cac20[_0x4ddbbd(0x11b)]},'children':this[_0x4ddbbd(0x151)]});}[_0x3dd9bb(0x100)](){const _0x547462=_0x3dd9bb;return new _0x41213d(this[_0x547462(0x156)],{'filteredView':this[_0x547462(0x133)],'queryView':{'label':_0x52d760(this[_0x547462(0x156)],_0x547462(0x11a))},'class':_0x547462(0x115),'infoView':{'text':{'notFound':{'primary':_0x52d760(this[_0x547462(0x156)],_0x547462(0x186))}}}});}[_0x3dd9bb(0x16e)](){const _0x4e2d70=_0x3dd9bb;if(!this[_0x4e2d70(0x184)]||!this[_0x4e2d70(0x142)]||!this[_0x4e2d70(0x142)][_0x4e2d70(0x138)][_0x4e2d70(0x175)][_0x4e2d70(0x11c)])return!0x1;const _0x332602=this[_0x4e2d70(0x142)][_0x4e2d70(0x138)][_0x4e2d70(0x175)][_0x4e2d70(0x11c)][_0x4e2d70(0x10c)]?.[_0x4e2d70(0x107)];return this[_0x4e2d70(0x142)][_0x4e2d70(0x138)][_0x4e2d70(0x175)][_0x4e2d70(0x11c)][_0x4e2d70(0x108)](_0x332602);}[_0x3dd9bb(0x15a)](_0x15fded,_0x3121ce,_0x3da7bb){const _0x26ee49=_0x3dd9bb,_0x62f05e=new _0x4a151e();return _0x3121ce[_0x26ee49(0x10b)](_0x2ffa01=>{const _0x178a5e=_0x26ee49;if(_0x178a5e(0x10e)in _0x2ffa01){const {listItem:_0x393bb3}=this[_0x178a5e(0x125)](_0x15fded,_0x2ffa01,_0x3da7bb);_0x62f05e[_0x178a5e(0x13e)](_0x393bb3),_0x2ffa01[_0x178a5e(0x10e)][_0x178a5e(0x10b)](_0x31a3f9=>{const _0x645c1e=_0x178a5e;this[_0x645c1e(0x17c)](_0x15fded,_0x31a3f9,_0x2ffa01[_0x645c1e(0x122)],_0x2ffa01[_0x645c1e(0x12b)]);const {listItem:_0x1352fa,highlightViews:_0x5b3aa1}=this[_0x645c1e(0x15f)](_0x15fded,_0x31a3f9,_0x2ffa01[_0x645c1e(0x122)],_0x2ffa01[_0x645c1e(0x12b)]);this[_0x645c1e(0x183)][_0x645c1e(0x155)]({'item':_0x1352fa,'label':_0x31a3f9[_0x645c1e(0xff)],'groupLabel':_0x2ffa01[_0x645c1e(0x122)],'highlightViews':_0x5b3aa1});});}else{const {listItem:_0x164d6e}=this[_0x178a5e(0x17c)](_0x15fded,_0x2ffa01);_0x62f05e[_0x178a5e(0x13e)](_0x164d6e);const _0x29527a=_0x164d6e[_0x178a5e(0x151)][_0x178a5e(0x12f)];if(_0x29527a){const {listItem:_0xf6f1ed,highlightViews:_0x21c451}=this[_0x178a5e(0x15f)](_0x15fded,_0x2ffa01);this[_0x178a5e(0x183)][_0x178a5e(0x155)]({'item':_0xf6f1ed,'label':_0x29527a[_0x178a5e(0x122)]||'','highlightViews':_0x21c451});}}}),_0x62f05e;}[_0x3dd9bb(0x17c)](_0x44b428,_0x319db2,_0x1606da,_0x2eb84c){const _0x4274dc=_0x3dd9bb,_0x230152=new _0x15802c(this[_0x4274dc(0x156)]);if(_0x1606da&&_0x2eb84c){const _0x3c59e1=new _0x2ab002(this[_0x4274dc(0x156)]),_0x3c42fb=_0x3c59e1[_0x4274dc(0x153)],_0x2e8e7f=new _0x56cc7e();_0x2e8e7f[_0x4274dc(0x10a)]=_0x319db2[_0x4274dc(0xff)];const _0xfc133b=new _0x56cc7e();_0xfc133b[_0x4274dc(0x10a)]=_0x1606da;const _0x41f9f4=new _0x1df39f();_0x41f9f4[_0x4274dc(0x17a)]=_0x2eb84c,_0x41f9f4[_0x4274dc(0x116)]({'attributes':{'class':_0x4274dc(0x16d)}});const _0x36c833=new _0x28ddef(this[_0x4274dc(0x156)]);_0x36c833[_0x4274dc(0x11d)]({'tag':_0x4274dc(0x105),'attributes':{'class':_0x4274dc(0x169)},'children':[{'text':'\x20('}]});const _0x36d241=new _0x28ddef(this[_0x4274dc(0x156)]);return _0x36d241[_0x4274dc(0x11d)]({'tag':_0x4274dc(0x105),'attributes':{'class':_0x4274dc(0x11e)},'children':[{'text':')'}]}),_0x3c59e1[_0x4274dc(0x148)]({'label':_0x319db2[_0x4274dc(0xff)]+'\x20('+_0x1606da+')','withText':!0x0,'role':_0x4274dc(0x140),'class':_0x4274dc(0x174),'tooltip':!0x1}),_0x3c59e1[_0x4274dc(0x11d)]({'tag':_0x4274dc(0x145),'attributes':{'class':['ck',_0x4274dc(0x135),_0x4274dc(0x16f),_0x4274dc(0x10d),_0x4274dc(0x114)],'type':_0x4274dc(0x145),'role':_0x4274dc(0x140),'tabindex':'-1'},'children':[_0x2e8e7f,_0x36c833,_0x41f9f4,_0xfc133b,_0x36d241],'on':{'mouseenter':_0x3c42fb['to'](()=>{const _0x1debd9=_0x4274dc;this[_0x1debd9(0x16e)]()||_0x3c59e1[_0x1debd9(0x112)]();}),'click':_0x3c42fb['to'](()=>{const _0x4f066d=_0x4274dc;_0x3c59e1[_0x4f066d(0x187)](_0x4f066d(0x12c));})}}),_0x3c59e1['on'](_0x4274dc(0x12c),()=>{const _0xf055aa=_0x4274dc;_0x44b428[_0xf055aa(0x176)][_0xf055aa(0x117)][_0xf055aa(0x112)](),_0x44b428[_0xf055aa(0x14d)][_0xf055aa(0x12c)](_0xf055aa(0x159),_0x319db2);}),_0x230152[_0x4274dc(0x151)][_0x4274dc(0x13e)](_0x3c59e1),{'listItem':_0x230152,'highlightViews':[_0x2e8e7f,_0xfc133b]};}{const _0x5f1e3f=new _0x24aeea(),_0x1da76e=new _0x2ab002(this[_0x4274dc(0x156)],_0x5f1e3f),_0x510c0c=_0x1da76e[_0x4274dc(0x153)],_0x16d2f5=_0x319db2[_0x4274dc(0x12b)]??_0x319db2[_0x4274dc(0x17f)]?.[_0x4274dc(0x12b)],_0x4e9465=void 0x0!==_0x319db2[_0x4274dc(0x12b)];return _0x1da76e[_0x4274dc(0x148)]({'label':_0x319db2[_0x4274dc(0xff)],'withText':!0x0,'role':_0x4274dc(0x140),'icon':_0x4e9465?_0x16d2f5??_0x357d90:void 0x0,'tooltip':!0x1,'class':_0x4274dc(0x10d)}),_0x1da76e[_0x4274dc(0x116)]({'on':{'mouseenter':_0x510c0c['to'](()=>{const _0x50e838=_0x4274dc;this[_0x50e838(0x16e)]()||_0x1da76e[_0x50e838(0x112)]();})}}),_0x1da76e['on'](_0x4274dc(0x12c),()=>{const _0x5b1ee6=_0x4274dc;_0x44b428[_0x5b1ee6(0x176)][_0x5b1ee6(0x117)][_0x5b1ee6(0x112)](),_0x44b428[_0x5b1ee6(0x14d)][_0x5b1ee6(0x12c)](_0x5b1ee6(0x159),_0x319db2);}),_0x230152[_0x4274dc(0x151)][_0x4274dc(0x13e)](_0x1da76e),{'listItem':_0x230152,'highlightViews':[_0x5f1e3f]};}}[_0x3dd9bb(0x15f)](_0x68cf40,_0x5c1f14,_0x648a4e,_0x318e2d){const _0x2716a6=_0x3dd9bb;return _0x648a4e&&_0x318e2d?this[_0x2716a6(0x152)](_0x68cf40,_0x5c1f14,_0x648a4e,_0x318e2d):this[_0x2716a6(0x101)](_0x68cf40,_0x5c1f14);}[_0x3dd9bb(0x152)](_0x27f2ea,_0x5aefe4,_0x1bf9ba,_0x454701){const _0x56f789=_0x3dd9bb,_0x4d4506=new _0x15802c(this[_0x56f789(0x156)]),_0x40a568=new _0x2ab002(this[_0x56f789(0x156)]),_0x5918f8=_0x40a568[_0x56f789(0x153)],{view:_0x3abef4,highlightView:_0x425764}=this[_0x56f789(0x121)](_0x1bf9ba,_0x454701),{view:_0x3f0d45,highlightView:_0x767527}=this[_0x56f789(0x127)](_0x5aefe4[_0x56f789(0xff)]),_0x3bf09f=this[_0x56f789(0x13a)](_0x3abef4,_0x3f0d45);return _0x40a568[_0x56f789(0x148)]({'label':_0x5aefe4[_0x56f789(0xff)],'withText':!0x0,'role':_0x56f789(0x140),'class':_0x56f789(0x163),'tooltip':!0x1}),_0x40a568[_0x56f789(0x11d)]({'tag':_0x56f789(0x145),'attributes':{'class':['ck',_0x56f789(0x135),_0x56f789(0x16f),_0x56f789(0x10d),_0x56f789(0x170),_0x56f789(0x154)],'type':_0x56f789(0x145),'role':_0x56f789(0x140),'tabindex':'-1'},'children':[_0x3bf09f],'on':{'mouseenter':_0x5918f8['to'](()=>{const _0x85e4c9=_0x56f789;this[_0x85e4c9(0x16e)]()||_0x40a568[_0x85e4c9(0x112)]();}),'click':_0x5918f8['to'](()=>{const _0x55067c=_0x56f789;this[_0x55067c(0x17d)](_0x40a568);})}}),this[_0x56f789(0x103)](_0x40a568,_0x27f2ea,_0x5aefe4),_0x4d4506[_0x56f789(0x151)][_0x56f789(0x13e)](_0x40a568),{'listItem':_0x4d4506,'highlightViews':[_0x425764,_0x767527]};}[_0x3dd9bb(0x101)](_0x441398,_0x1ffe11){const _0x3fd0b4=_0x3dd9bb,_0x3ef212=new _0x15802c(this[_0x3fd0b4(0x156)]),_0x17365b=new _0x24aeea(),_0x43681c=new _0x2ab002(this[_0x3fd0b4(0x156)],_0x17365b),_0x273a5d=_0x43681c[_0x3fd0b4(0x153)];return _0x43681c[_0x3fd0b4(0x148)]({'label':_0x1ffe11[_0x3fd0b4(0xff)],'withText':!0x0,'role':_0x3fd0b4(0x140),'icon':void 0x0,'tooltip':!0x1,'class':_0x3fd0b4(0x16c)}),_0x43681c[_0x3fd0b4(0x116)]({'on':{'mouseenter':_0x273a5d['to'](()=>{const _0x388283=_0x3fd0b4;this[_0x388283(0x16e)]()||_0x43681c[_0x388283(0x112)]();})}}),this[_0x3fd0b4(0x103)](_0x43681c,_0x441398,_0x1ffe11),_0x3ef212[_0x3fd0b4(0x151)][_0x3fd0b4(0x13e)](_0x43681c),{'listItem':_0x3ef212,'highlightViews':[_0x17365b]};}[_0x3dd9bb(0x121)](_0x342287,_0x578ddc){const _0x842ae6=_0x3dd9bb,_0x37f737=new _0x28ddef(this[_0x842ae6(0x156)]),_0x819482=new _0x1df39f();_0x819482[_0x842ae6(0x17a)]=_0x578ddc,_0x819482[_0x842ae6(0x116)]({'attributes':{'class':_0x842ae6(0x16d)}});const _0x37d9bd=new _0x56cc7e();return _0x37d9bd[_0x842ae6(0x10a)]=_0x342287,_0x37f737[_0x842ae6(0x11d)]({'tag':_0x842ae6(0x14b),'attributes':{'class':_0x842ae6(0x11f)},'children':[_0x819482,_0x37d9bd]}),{'view':_0x37f737,'highlightView':_0x37d9bd};}[_0x3dd9bb(0x127)](_0x42cb77){const _0x2ce5a0=_0x3dd9bb,_0x3a3809=new _0x28ddef(this[_0x2ce5a0(0x156)]),_0x2c6ee6=new _0x56cc7e();return _0x2c6ee6[_0x2ce5a0(0x10a)]=_0x42cb77,_0x3a3809[_0x2ce5a0(0x11d)]({'tag':_0x2ce5a0(0x14b),'attributes':{'class':_0x2ce5a0(0x129)},'children':[_0x2c6ee6]}),{'view':_0x3a3809,'highlightView':_0x2c6ee6};}[_0x3dd9bb(0x13a)](_0x3d5546,_0x5ee94c){const _0x4b3334=_0x3dd9bb,_0x31d167=new _0x28ddef(this[_0x4b3334(0x156)]);return _0x31d167[_0x4b3334(0x11d)]({'tag':_0x4b3334(0x14b),'attributes':{'class':_0x4b3334(0x128)},'children':[_0x3d5546,_0x5ee94c]}),_0x31d167;}[_0x3dd9bb(0x103)](_0x5eeceb,_0x55d9ac,_0xadd257){const _0x21a61d=_0x3dd9bb;_0x5eeceb['on'](_0x21a61d(0x12c),()=>{const _0x5cdd62=_0x21a61d;_0x55d9ac[_0x5cdd62(0x176)][_0x5cdd62(0x117)][_0x5cdd62(0x112)](),_0x55d9ac[_0x5cdd62(0x14d)][_0x5cdd62(0x12c)](_0x5cdd62(0x159),_0xadd257);});}[_0x3dd9bb(0x125)](_0x4278ee,_0x4577a5,_0x28cf08){const _0x39cbf1=_0x3dd9bb,_0x4963cc=new _0x15802c(this[_0x39cbf1(0x156)]),_0x2f69eb=new _0x24aeea(),_0x2c4eca=new _0x1835d1(this[_0x39cbf1(0x156)],_0x2f69eb),_0x4ebfef=_0x2c4eca[_0x39cbf1(0x153)],_0x38f1f1=this[_0x39cbf1(0x130)](_0x28cf08),_0x2f773f=this[_0x39cbf1(0x185)](_0x4278ee,_0x4577a5[_0x39cbf1(0x10e)],_0x28cf08);_0x2c4eca[_0x39cbf1(0x148)]({'label':_0x4577a5[_0x39cbf1(0x122)],'withText':!0x0,'role':Gs,'icon':_0x4577a5[_0x39cbf1(0x12b)]??_0x357d90,'isEnabled':_0x4577a5[_0x39cbf1(0x10e)][_0x39cbf1(0x16a)](_0xa6a237=>_0xa6a237[_0x39cbf1(0x14e)])}),_0x2c4eca[_0x39cbf1(0x116)]({'on':{'mouseenter':_0x4ebfef['to'](()=>{const _0x34fed1=_0x39cbf1;this[_0x34fed1(0x16e)]()||_0x2c4eca[_0x34fed1(0x112)]();})}});const _0x22a029=new _0x5a8d88(this[_0x39cbf1(0x156)]);return _0x22a029[_0x39cbf1(0x116)]({'attributes':{'class':['ck',_0x39cbf1(0x161),_0x39cbf1(0x178),_0x39cbf1(0x15c)]},'on':{'keydown':_0x4ebfef['to'](_0x5cd7a0=>{const _0x4b1f4c=_0x39cbf1;this[_0x4b1f4c(0x113)](_0x5cd7a0,_0x38f1f1,_0x2c4eca,_0x22a029);})}}),_0x2c4eca[_0x39cbf1(0x10f)](_0x39cbf1(0x150))['to'](_0x22a029,_0x39cbf1(0x160)),this[_0x39cbf1(0x180)][_0x39cbf1(0x13e)](_0x22a029),_0x22a029[_0x39cbf1(0x17a)][_0x39cbf1(0x13e)](_0x2f773f),this[_0x39cbf1(0x16b)](_0x2c4eca,_0x22a029),_0x4963cc[_0x39cbf1(0x151)][_0x39cbf1(0x13e)](_0x2c4eca),{'listItem':_0x4963cc,'highlightView':_0x2f69eb};}[_0x3dd9bb(0x185)](_0x3f5da9,_0x1ce4b8,_0x27a10c){const _0x8cc6bf=_0x3dd9bb,_0x9ae123=new _0x2a8de6(this[_0x8cc6bf(0x156)]);return _0x9ae123[_0x8cc6bf(0x116)]({'attributes':{'class':['ck',_0x8cc6bf(0x161),_0x8cc6bf(0x14a),_0x8cc6bf(0x13c)]}}),_0x1ce4b8[_0x8cc6bf(0x10b)](_0x599494=>{const _0x2e51c1=_0x8cc6bf,_0x4dc9f8=new _0x15802c(this[_0x2e51c1(0x156)]),_0x27bde0=_0x29d237({'editor':_0x3f5da9,'action':_0x599494,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x2e51c1(0x16e)]()})();_0x4dc9f8[_0x2e51c1(0x151)][_0x2e51c1(0x13e)](_0x27bde0),_0x27a10c[_0x2e51c1(0x17e)][_0x2e51c1(0x13e)](_0x27bde0),_0x9ae123[_0x2e51c1(0x13b)][_0x2e51c1(0x13e)](_0x4dc9f8);}),_0x9ae123;}[_0x3dd9bb(0x16b)](_0x342345,_0x2556a6){const _0x95eff7=_0x3dd9bb,_0x2768f0=_0x342345[_0x95eff7(0x153)],_0x57a674=this[_0x95eff7(0x132)](_0x342345);_0x342345[_0x95eff7(0x116)]({'attributes':{'class':[_0x95eff7(0x17b)]},'on':{'mouseenter':_0x2768f0['to'](()=>{const _0x7c43e3=_0x95eff7;this[_0x7c43e3(0x111)](_0x2556a6,_0x342345);}),'mouseleave':_0x2768f0['to'](_0x4d9b11=>{const _0x59b901=_0x95eff7,_0x1dd1e9=_0x4d9b11[_0x59b901(0x165)];this[_0x59b901(0x136)](_0x1dd1e9,_0x2556a6)||this[_0x59b901(0x124)](_0x2556a6);}),'keydown':_0x2768f0['to'](_0x30d1d7=>{const _0x172ad9=_0x95eff7;_0x30d1d7[_0x172ad9(0x143)]==_0x57a674&&(this[_0x172ad9(0x111)](_0x2556a6,_0x342345),_0x2556a6[_0x172ad9(0x17a)][_0x172ad9(0x123)](0x0)[_0x172ad9(0x112)]());})}}),_0x2556a6['on'](_0x95eff7(0x131),()=>{const _0x5f41d0=_0x95eff7;_0x2556a6[_0x5f41d0(0x11c)]?.[_0x5f41d0(0x102)](_0x5f41d0(0x157),_0x5bbe71=>{const _0x5df6d6=_0x5f41d0,_0x3deb99=_0x5bbe71[_0x5df6d6(0x165)];_0x342345[_0x5df6d6(0x11c)]?.[_0x5df6d6(0x108)](_0x3deb99)||this[_0x5df6d6(0x136)](_0x3deb99,_0x2556a6)||this[_0x5df6d6(0x124)](_0x2556a6);});});}[_0x3dd9bb(0x111)](_0x3d2ee2,_0x3e6bc3){const _0x23add5=_0x3dd9bb;this[_0x23add5(0x147)][_0x23add5(0x10b)](_0x718f7d=>{const _0x57d104=_0x23add5;_0x718f7d!==_0x3d2ee2&&_0x718f7d[_0x57d104(0x160)]&&_0x718f7d[_0x57d104(0x12e)]();}),_0x3d2ee2[_0x23add5(0x167)](),_0x3d2ee2[_0x23add5(0x12d)]({'positions':[_0x2e150d[_0x23add5(0x13f)]],'target':_0x3e6bc3[_0x23add5(0x11c)],'fitInViewport':!0x0}),this[_0x23add5(0x147)][_0x23add5(0x13e)](_0x3d2ee2);}[_0x3dd9bb(0x124)](_0x3b06c2){const _0x43a0db=_0x3dd9bb;_0x3b06c2[_0x43a0db(0x12e)](),this[_0x43a0db(0x147)][_0x43a0db(0x139)](_0x3b06c2);}[_0x3dd9bb(0x110)](){const _0x4f46f5=_0x3dd9bb;this[_0x4f46f5(0x147)][_0x4f46f5(0x10b)](_0xc15b3=>_0xc15b3[_0x4f46f5(0x12e)]()),this[_0x4f46f5(0x147)][_0x4f46f5(0x172)]();}[_0x3dd9bb(0x136)](_0x4bd34f,_0x4986fb){const _0x3ad822=_0x3dd9bb;if(!_0x4bd34f)return!0x1;if(_0x4986fb[_0x3ad822(0x11c)]?.[_0x3ad822(0x108)](_0x4bd34f))return!0x0;const _0xcfed68=_0x4bd34f;return _0xcfed68[_0x3ad822(0x179)]&&(null!==_0xcfed68[_0x3ad822(0x179)](_0x3ad822(0x15b))||null!==_0xcfed68[_0x3ad822(0x179)](_0x3ad822(0x171))||null!==_0xcfed68[_0x3ad822(0x179)](_0x3ad822(0x158)));}[_0x3dd9bb(0x168)](){const _0x1e5384=_0x3dd9bb;this[_0x1e5384(0x142)]&&this[_0x1e5384(0x142)][_0x1e5384(0x182)]();}[_0x3dd9bb(0x149)](){const _0x3cb36a=_0x3dd9bb;this[_0x3cb36a(0x110)](),this[_0x3cb36a(0x180)][_0x3cb36a(0x15e)](),super[_0x3cb36a(0x149)]();}[_0x3dd9bb(0x112)](){const _0x22e129=_0x3dd9bb;this[_0x22e129(0x142)]?this[_0x22e129(0x142)][_0x22e129(0x112)]():this[_0x22e129(0x133)][_0x22e129(0x112)]();}[_0x3dd9bb(0x130)](_0x4d1a68){const _0xc4bad5=_0x3dd9bb;return _0xc4bad5(0x106)===_0x4d1a68[_0xc4bad5(0x156)][_0xc4bad5(0x11b)]?_0xc4bad5(0x12a):_0xc4bad5(0x144);}[_0x3dd9bb(0x132)](_0x9edac7){const _0x3730e0=_0x3dd9bb;return _0x3730e0(0x106)===_0x9edac7[_0x3730e0(0x156)][_0x3730e0(0x11b)]?_0x3730e0(0x144):_0x3730e0(0x12a);}[_0x3dd9bb(0x113)](_0x2e3c8b,_0x4decde,_0x2f582d,_0x1aa7d5){const _0x283859=_0x3dd9bb;_0x2e3c8b[_0x283859(0x143)]==_0x4decde&&(_0x2f582d[_0x283859(0x112)](),this[_0x283859(0x124)](_0x1aa7d5));}[_0x3dd9bb(0x17d)](_0x4c8c0b){const _0x36e5e8=_0x3dd9bb;_0x4c8c0b[_0x36e5e8(0x187)](_0x36e5e8(0x12c));}}function _0x2ad0(){const _0x5687f5=['24rNfEqq','AI_QUICK_ACTIONS_SEARCH','uiLanguageDirection','element','setTemplate','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions-search-result__group-row','addMany','_createSearchResultGroupRow','label','get','_hideNestedPanel','_createActionGroupButton','33556mwAFbm','_createSearchResultActionRow','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-search-result__action-row','ArrowRight','icon','execute','pin','hide','first','_getPanelKeystroke','render','_getButtonKeystroke','optionsListView','18xLXrBj','ck-button','_isMovingToNestedMenu','57nMFWLS','queryView','delete','_createSearchResultContentView','items','ck-dropdown-menu-list','menu','add','eastSouth','menuitem','402031PGxxhR','_searchTextView','key','ArrowLeft','button','26584613ErgYAK','_openNestedPanels','set','destroy','ck-ai-quick-actions-group-list','div','432478bvVGLP','commands','isEnabled','_focusables','isOn','children','_createSearchResultGroupedActionButton','bindTemplate','ck-ai-quick-actions-search-result-button_with-group','push','locale','mouseleave','.ck-ai-quick-actions-group-button','aiQuickAction','_createListItems','.ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel','1977479akVZJG','detachFromDom','_createSearchResultActionButton','isVisible','ck-reset_all','ck-ai-quick-actions','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-rounded-corners','relatedTarget','11160ZDVwcl','show','resetSearch','ck-ai-quick-actions-button_with-group__open-paren','some','_setupGroupMenuBehavior','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button__group-icon','_isSearchFocused','ck-button_with-text','ck-ai-quick-actions-search-result-button','.ck-ai-quick-actions-group-list','clear','keystrokes','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','fieldView','editing','focusCycler','ck-ai-quick-actions-group-panel','closest','content','ck-ai-quick-actions-group-button','_createActionButton','_handleSearchResultButtonClick','focusTracker','parent','_bodyCollection','24590CcIvbr','reset','_allSearchableItems','_hasSearch','_createGroupActionsList','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','fire','displayedPrompt','_createSearchTextView','_createSearchResultIndividualActionButton','addEventListener','_setupActionButtonExecution','chain','span','rtl','activeElement','contains','role','text','forEach','ownerDocument','ck-ai-quick-actions-button','actions','bind','_hideAllNestedPanels','_showNestedPanel','focus','_handlePanelKeydown','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-search','extendTemplate','view','636XhgMjw'];_0x2ad0=function(){return _0x5687f5;};return _0x2ad0();}
|
|
23
|
+
const _0x58551c=_0x525a;(function(_0x17b40d,_0x3835fb){const _0x380456=_0x525a,_0x3ef55c=_0x17b40d();while(!![]){try{const _0x2de780=parseInt(_0x380456(0x186))/0x1*(parseInt(_0x380456(0x14b))/0x2)+parseInt(_0x380456(0x149))/0x3+parseInt(_0x380456(0x1ad))/0x4*(parseInt(_0x380456(0x18a))/0x5)+parseInt(_0x380456(0x176))/0x6*(-parseInt(_0x380456(0x12f))/0x7)+-parseInt(_0x380456(0x17c))/0x8+-parseInt(_0x380456(0x18f))/0x9+parseInt(_0x380456(0x182))/0xa;if(_0x2de780===_0x3835fb)break;else _0x3ef55c['push'](_0x3ef55c['shift']());}catch(_0x27e128){_0x3ef55c['push'](_0x3ef55c['shift']());}}}(_0x10f4,0x95f2e));import{View as _0x4d913a,ListItemView as _0x2537a8,ListView as _0x586b77,BalloonPanelView as _0x48a4ff,DropdownMenuPanelPositioningFunctions as _0xd00be9,ViewCollection as _0x4fd52e,FocusCycler as _0x5b6975,ButtonView as _0x1224b5,IconView as _0x2eee3a,HighlightedTextView as _0xfaddf3,ButtonLabelWithHighlightView as _0x1d123a,SearchTextView as _0x3526e7}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x213604}from'@ckeditor/ckeditor5-icons';function _0x10f4(){const _0xda621e=['destroy','rtl','push','ck-ai-quick-actions-group-list','locale','clear','ck-dropdown-menu-list','.ck-ai-quick-actions-group-list','AI_QUICK_ACTIONS_SEARCH','displayedPrompt','reset','focusTracker','fire','chain','2281356oXdvLS','ck-ai-quick-actions-button__group-icon','4GPVFJb','_hasSearch','aiQuickAction','first','parent','some','resetSearch','_createSearchResultActionButton','ck-ai-quick-actions-search-result__group-row','_setupActionButtonExecution','bind','children','_createSearchResultIndividualActionButton','relatedTarget','_createActionGroupButton','_getButtonKeystroke','fieldView','label','key','_focusables','contains','_createListItems','delete','element','ck-dropdown-menu__nested-menu__panel','uiLanguageDirection','text','setTemplate','_createActionButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-button','editing','menu','_createSearchResultGroupedActionButton','.ck-ai-quick-actions-group-button','addMany','_isMovingToNestedMenu','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','items','actions','ck-reset_all','_createSearchTextView','28038nVcXaE','content','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-group-button','get','ck-ai-quick-actions-group-panel','402224YHMwYQ','ck-ai-quick-actions-search-result-button','ck-rounded-corners','_handlePanelKeydown','extendTemplate','span','10446100WoqiCt','pin','_hideAllNestedPanels','mouseleave','107857qtIzoV','commands','ArrowRight','_bodyCollection','1250ttIYuB','set','_createSearchResultContentView','hide','detachFromDom','9995481HNJVJz','ownerDocument','_isSearchFocused','_hideNestedPanel','ck-ai-quick-actions-button_with-group__close-paren','ArrowLeft','_createSearchResultActionRow','menuitem','isEnabled','bindTemplate','_showNestedPanel','render','_createSearchResultGroupRow','_createGroupActionsList','keystrokes','role','isOn','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','div','_getPanelKeystroke','_searchTextView','addEventListener','activeElement','ck-ai-quick-actions-search','ck-ai-quick-actions-search-result__action-row','execute','forEach','isVisible','_handleSearchResultButtonClick','8256FadabE','view','_setupGroupMenuBehavior','eastSouth','optionsListView','ck-ai-quick-actions','add','.ck-ai-quick-actions-group-panel','focus','icon','1141FjcJSS','_openNestedPanels','queryView','ck-button_with-text','show','closest','button','ck-ai-quick-actions-button_with-group','ck-button','ck-ai-quick-actions-search-result-button_with-group','focusCycler','_allSearchableItems'];_0x10f4=function(){return _0xda621e;};return _0x10f4();}import{FocusTracker as _0x82e8b5,KeystrokeHandler as _0xcee6da}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x58f0ef}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x21546e}from'./dropdownmenubuttonwithhighlightview.js';function _0x525a(_0x1dc715,_0x59d83c){const _0x10f428=_0x10f4();return _0x525a=function(_0x525a58,_0x597eb4){_0x525a58=_0x525a58-0x12e;let _0x112311=_0x10f428[_0x525a58];return _0x112311;},_0x525a(_0x1dc715,_0x59d83c);}import{getTranslation as _0xe0b114}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x115324}from'./aiquickactionsfilteredlistview.js';const Js=_0x58551c(0x16c),Ws=_0x58551c(0x196);export class AIQuickActionsDropdownContentView extends _0x4d913a{[_0x58551c(0x189)];[_0x58551c(0x1b1)];[_0x58551c(0x1a4)]=null;[_0x58551c(0x13a)]=[];[_0x58551c(0x156)];[_0x58551c(0x146)];[_0x58551c(0x19d)];[_0x58551c(0x15e)];[_0x58551c(0x139)];[_0x58551c(0x130)]=new Set();[_0x58551c(0x14c)];constructor(_0x40728d,_0x4a92ef,_0x38b098,_0x165749,_0x21c98e=!0x1){const _0x162ebd=_0x58551c,_0x18fe06=_0x40728d[_0x162ebd(0x13f)];super(_0x18fe06),this[_0x162ebd(0x189)]=_0x165749,this[_0x162ebd(0x14c)]=_0x21c98e;const _0x44dbd9=this[_0x162ebd(0x160)](_0x40728d,_0x4a92ef,_0x38b098);this[_0x162ebd(0x1b1)]=new _0x115324(_0x18fe06,_0x44dbd9,this[_0x162ebd(0x13a)]),this[_0x162ebd(0x1b1)][_0x162ebd(0x19e)]=Js,this[_0x162ebd(0x1b1)][_0x162ebd(0x172)][_0x162ebd(0x16f)](_0x44dbd9),this[_0x162ebd(0x146)]=new _0x82e8b5(),this[_0x162ebd(0x19d)]=new _0xcee6da(),_0x21c98e&&(this[_0x162ebd(0x1a4)]=this[_0x162ebd(0x175)]()),this[_0x162ebd(0x15e)]=_0x44dbd9,this[_0x162ebd(0x139)]=new _0x5b6975({'focusables':this[_0x162ebd(0x15e)],'focusTracker':this[_0x162ebd(0x146)],'keystrokeHandler':this[_0x162ebd(0x19d)]}),_0x21c98e&&this[_0x162ebd(0x1a4)]&&this[_0x162ebd(0x139)][_0x162ebd(0x148)](this[_0x162ebd(0x1a4)][_0x162ebd(0x139)]);const _0x22fdbb=_0x21c98e&&this[_0x162ebd(0x1a4)]?[this[_0x162ebd(0x1a4)]]:[this[_0x162ebd(0x1b1)]];this[_0x162ebd(0x156)]=new _0x4fd52e(_0x22fdbb),this[_0x162ebd(0x166)]({'tag':_0x162ebd(0x1a2),'attributes':{'class':['ck',_0x162ebd(0x174),_0x162ebd(0x1b2),_0x162ebd(0x17e)],'dir':_0x18fe06[_0x162ebd(0x164)]},'children':this[_0x162ebd(0x156)]});}[_0x58551c(0x175)](){const _0x37d98a=_0x58551c;return new _0x3526e7(this[_0x37d98a(0x13f)],{'filteredView':this[_0x37d98a(0x1b1)],'queryView':{'label':_0xe0b114(this[_0x37d98a(0x13f)],_0x37d98a(0x143))},'class':_0x37d98a(0x1a7),'infoView':{'text':{'notFound':{'primary':_0xe0b114(this[_0x37d98a(0x13f)],_0x37d98a(0x178))}}}});}[_0x58551c(0x191)](){const _0x24da32=_0x58551c;if(!this[_0x24da32(0x14c)]||!this[_0x24da32(0x1a4)]||!this[_0x24da32(0x1a4)][_0x24da32(0x131)][_0x24da32(0x15b)][_0x24da32(0x162)])return!0x1;const _0x548ab5=this[_0x24da32(0x1a4)][_0x24da32(0x131)][_0x24da32(0x15b)][_0x24da32(0x162)][_0x24da32(0x190)]?.[_0x24da32(0x1a6)];return this[_0x24da32(0x1a4)][_0x24da32(0x131)][_0x24da32(0x15b)][_0x24da32(0x162)][_0x24da32(0x15f)](_0x548ab5);}[_0x58551c(0x160)](_0x3015ae,_0x1c277d,_0x2ee52a){const _0x571db9=_0x58551c,_0x2242d4=new _0x4fd52e();return _0x1c277d[_0x571db9(0x1aa)](_0xbc92df=>{const _0x1c6ba5=_0x571db9;if(_0x1c6ba5(0x173)in _0xbc92df){const {listItem:_0x236ae9}=this[_0x1c6ba5(0x159)](_0x3015ae,_0xbc92df,_0x2ee52a);_0x2242d4[_0x1c6ba5(0x1b3)](_0x236ae9),_0xbc92df[_0x1c6ba5(0x173)][_0x1c6ba5(0x1aa)](_0x5e219a=>{const _0x327d87=_0x1c6ba5;this[_0x327d87(0x167)](_0x3015ae,_0x5e219a,_0xbc92df[_0x327d87(0x15c)],_0xbc92df[_0x327d87(0x12e)]);const {listItem:_0x191c85,highlightViews:_0x583d22}=this[_0x327d87(0x152)](_0x3015ae,_0x5e219a,_0xbc92df[_0x327d87(0x15c)],_0xbc92df[_0x327d87(0x12e)]);this[_0x327d87(0x13a)][_0x327d87(0x13d)]({'item':_0x191c85,'label':_0x5e219a[_0x327d87(0x144)],'groupLabel':_0xbc92df[_0x327d87(0x15c)],'highlightViews':_0x583d22});});}else{const {listItem:_0x212cd6}=this[_0x1c6ba5(0x167)](_0x3015ae,_0xbc92df);_0x2242d4[_0x1c6ba5(0x1b3)](_0x212cd6);const _0x240000=_0x212cd6[_0x1c6ba5(0x156)][_0x1c6ba5(0x14e)];if(_0x240000){const {listItem:_0x2b8f42,highlightViews:_0x72aaef}=this[_0x1c6ba5(0x152)](_0x3015ae,_0xbc92df);this[_0x1c6ba5(0x13a)][_0x1c6ba5(0x13d)]({'item':_0x2b8f42,'label':_0x240000[_0x1c6ba5(0x15c)]||'','highlightViews':_0x72aaef});}}}),_0x2242d4;}[_0x58551c(0x167)](_0x29f0aa,_0x2282cd,_0x24eb96,_0x3ec594){const _0x8c95a1=_0x58551c,_0x4334c8=new _0x2537a8(this[_0x8c95a1(0x13f)]);if(_0x24eb96&&_0x3ec594){const _0x528448=new _0x1224b5(this[_0x8c95a1(0x13f)]),_0x2fbbe3=_0x528448[_0x8c95a1(0x198)],_0x3b636b=new _0xfaddf3();_0x3b636b[_0x8c95a1(0x165)]=_0x2282cd[_0x8c95a1(0x144)];const _0x2901fb=new _0xfaddf3();_0x2901fb[_0x8c95a1(0x165)]=_0x24eb96;const _0x510345=new _0x2eee3a();_0x510345[_0x8c95a1(0x177)]=_0x3ec594,_0x510345[_0x8c95a1(0x180)]({'attributes':{'class':_0x8c95a1(0x14a)}});const _0x5e622b=new _0x4d913a(this[_0x8c95a1(0x13f)]);_0x5e622b[_0x8c95a1(0x166)]({'tag':_0x8c95a1(0x181),'attributes':{'class':_0x8c95a1(0x169)},'children':[{'text':'\x20('}]});const _0x4cda58=new _0x4d913a(this[_0x8c95a1(0x13f)]);return _0x4cda58[_0x8c95a1(0x166)]({'tag':_0x8c95a1(0x181),'attributes':{'class':_0x8c95a1(0x193)},'children':[{'text':')'}]}),_0x528448[_0x8c95a1(0x18b)]({'label':_0x2282cd[_0x8c95a1(0x144)]+'\x20('+_0x24eb96+')','withText':!0x0,'role':_0x8c95a1(0x196),'class':_0x8c95a1(0x168),'tooltip':!0x1}),_0x528448[_0x8c95a1(0x166)]({'tag':_0x8c95a1(0x135),'attributes':{'class':['ck',_0x8c95a1(0x137),_0x8c95a1(0x132),_0x8c95a1(0x16a),_0x8c95a1(0x136)],'type':_0x8c95a1(0x135),'role':_0x8c95a1(0x196),'tabindex':'-1'},'children':[_0x3b636b,_0x5e622b,_0x510345,_0x2901fb,_0x4cda58],'on':{'mouseenter':_0x2fbbe3['to'](()=>{const _0x202549=_0x8c95a1;this[_0x202549(0x191)]()||_0x528448[_0x202549(0x1b5)]();}),'click':_0x2fbbe3['to'](()=>{const _0x3b4d3d=_0x8c95a1;_0x528448[_0x3b4d3d(0x147)](_0x3b4d3d(0x1a9));})}}),_0x528448['on'](_0x8c95a1(0x1a9),()=>{const _0xb4cd08=_0x8c95a1;_0x29f0aa[_0xb4cd08(0x16b)][_0xb4cd08(0x1ae)][_0xb4cd08(0x1b5)](),_0x29f0aa[_0xb4cd08(0x187)][_0xb4cd08(0x1a9)](_0xb4cd08(0x14d),_0x2282cd);}),_0x4334c8[_0x8c95a1(0x156)][_0x8c95a1(0x1b3)](_0x528448),{'listItem':_0x4334c8,'highlightViews':[_0x3b636b,_0x2901fb]};}{const _0x537c18=new _0x1d123a(),_0xeb14ce=new _0x1224b5(this[_0x8c95a1(0x13f)],_0x537c18),_0x59d0be=_0xeb14ce[_0x8c95a1(0x198)],_0x4ef26d=_0x2282cd[_0x8c95a1(0x12e)]??_0x2282cd[_0x8c95a1(0x14f)]?.[_0x8c95a1(0x12e)],_0x5d94cf=void 0x0!==_0x2282cd[_0x8c95a1(0x12e)];return _0xeb14ce[_0x8c95a1(0x18b)]({'label':_0x2282cd[_0x8c95a1(0x144)],'withText':!0x0,'role':_0x8c95a1(0x196),'icon':_0x5d94cf?_0x4ef26d??_0x213604:void 0x0,'tooltip':!0x1,'class':_0x8c95a1(0x16a)}),_0xeb14ce[_0x8c95a1(0x180)]({'on':{'mouseenter':_0x59d0be['to'](()=>{const _0x250462=_0x8c95a1;this[_0x250462(0x191)]()||_0xeb14ce[_0x250462(0x1b5)]();})}}),_0xeb14ce['on'](_0x8c95a1(0x1a9),()=>{const _0x46bd76=_0x8c95a1;_0x29f0aa[_0x46bd76(0x16b)][_0x46bd76(0x1ae)][_0x46bd76(0x1b5)](),_0x29f0aa[_0x46bd76(0x187)][_0x46bd76(0x1a9)](_0x46bd76(0x14d),_0x2282cd);}),_0x4334c8[_0x8c95a1(0x156)][_0x8c95a1(0x1b3)](_0xeb14ce),{'listItem':_0x4334c8,'highlightViews':[_0x537c18]};}}[_0x58551c(0x152)](_0xf5ce5c,_0x41c60f,_0x3ca551,_0x5cb835){const _0x134072=_0x58551c;return _0x3ca551&&_0x5cb835?this[_0x134072(0x16d)](_0xf5ce5c,_0x41c60f,_0x3ca551,_0x5cb835):this[_0x134072(0x157)](_0xf5ce5c,_0x41c60f);}[_0x58551c(0x16d)](_0x24240e,_0x16d14e,_0x232c6c,_0x2884a2){const _0x16ddfd=_0x58551c,_0x2eb60b=new _0x2537a8(this[_0x16ddfd(0x13f)]),_0x23c373=new _0x1224b5(this[_0x16ddfd(0x13f)]),_0x66e8fc=_0x23c373[_0x16ddfd(0x198)],{view:_0x411d7e,highlightView:_0x463c5d}=this[_0x16ddfd(0x19b)](_0x232c6c,_0x2884a2),{view:_0x4925fe,highlightView:_0x5aa363}=this[_0x16ddfd(0x195)](_0x16d14e[_0x16ddfd(0x144)]),_0xbb8678=this[_0x16ddfd(0x18c)](_0x411d7e,_0x4925fe);return _0x23c373[_0x16ddfd(0x18b)]({'label':_0x16d14e[_0x16ddfd(0x144)],'withText':!0x0,'role':_0x16ddfd(0x196),'class':_0x16ddfd(0x1a1),'tooltip':!0x1}),_0x23c373[_0x16ddfd(0x166)]({'tag':_0x16ddfd(0x135),'attributes':{'class':['ck',_0x16ddfd(0x137),_0x16ddfd(0x132),_0x16ddfd(0x16a),_0x16ddfd(0x17d),_0x16ddfd(0x138)],'type':_0x16ddfd(0x135),'role':_0x16ddfd(0x196),'tabindex':'-1'},'children':[_0xbb8678],'on':{'mouseenter':_0x66e8fc['to'](()=>{const _0x3497ec=_0x16ddfd;this[_0x3497ec(0x191)]()||_0x23c373[_0x3497ec(0x1b5)]();}),'click':_0x66e8fc['to'](()=>{const _0x3ca00d=_0x16ddfd;this[_0x3ca00d(0x1ac)](_0x23c373);})}}),this[_0x16ddfd(0x154)](_0x23c373,_0x24240e,_0x16d14e),_0x2eb60b[_0x16ddfd(0x156)][_0x16ddfd(0x1b3)](_0x23c373),{'listItem':_0x2eb60b,'highlightViews':[_0x463c5d,_0x5aa363]};}[_0x58551c(0x157)](_0x3dc4bc,_0x5bd009){const _0x2fe136=_0x58551c,_0xf9bdf0=new _0x2537a8(this[_0x2fe136(0x13f)]),_0x7ce41b=new _0x1d123a(),_0x28747c=new _0x1224b5(this[_0x2fe136(0x13f)],_0x7ce41b),_0x435c5d=_0x28747c[_0x2fe136(0x198)];return _0x28747c[_0x2fe136(0x18b)]({'label':_0x5bd009[_0x2fe136(0x144)],'withText':!0x0,'role':_0x2fe136(0x196),'icon':void 0x0,'tooltip':!0x1,'class':_0x2fe136(0x171)}),_0x28747c[_0x2fe136(0x180)]({'on':{'mouseenter':_0x435c5d['to'](()=>{const _0x13d08f=_0x2fe136;this[_0x13d08f(0x191)]()||_0x28747c[_0x13d08f(0x1b5)]();})}}),this[_0x2fe136(0x154)](_0x28747c,_0x3dc4bc,_0x5bd009),_0xf9bdf0[_0x2fe136(0x156)][_0x2fe136(0x1b3)](_0x28747c),{'listItem':_0xf9bdf0,'highlightViews':[_0x7ce41b]};}[_0x58551c(0x19b)](_0x3ec0cd,_0x4b0b8e){const _0x141c4f=_0x58551c,_0x1af30a=new _0x4d913a(this[_0x141c4f(0x13f)]),_0xbbbda7=new _0x2eee3a();_0xbbbda7[_0x141c4f(0x177)]=_0x4b0b8e,_0xbbbda7[_0x141c4f(0x180)]({'attributes':{'class':_0x141c4f(0x14a)}});const _0x252d9c=new _0xfaddf3();return _0x252d9c[_0x141c4f(0x165)]=_0x3ec0cd,_0x1af30a[_0x141c4f(0x166)]({'tag':_0x141c4f(0x1a2),'attributes':{'class':_0x141c4f(0x153)},'children':[_0xbbbda7,_0x252d9c]}),{'view':_0x1af30a,'highlightView':_0x252d9c};}[_0x58551c(0x195)](_0x215c67){const _0x25fc88=_0x58551c,_0x5669e3=new _0x4d913a(this[_0x25fc88(0x13f)]),_0x2e1f73=new _0xfaddf3();return _0x2e1f73[_0x25fc88(0x165)]=_0x215c67,_0x5669e3[_0x25fc88(0x166)]({'tag':_0x25fc88(0x1a2),'attributes':{'class':_0x25fc88(0x1a8)},'children':[_0x2e1f73]}),{'view':_0x5669e3,'highlightView':_0x2e1f73};}[_0x58551c(0x18c)](_0x23729a,_0x260c99){const _0x2c0aca=_0x58551c,_0x4a035a=new _0x4d913a(this[_0x2c0aca(0x13f)]);return _0x4a035a[_0x2c0aca(0x166)]({'tag':_0x2c0aca(0x1a2),'attributes':{'class':_0x2c0aca(0x1a0)},'children':[_0x23729a,_0x260c99]}),_0x4a035a;}[_0x58551c(0x154)](_0x1b9b1d,_0x40ba82,_0x4bb96c){const _0x52b427=_0x58551c;_0x1b9b1d['on'](_0x52b427(0x1a9),()=>{const _0x5afe26=_0x52b427;_0x40ba82[_0x5afe26(0x16b)][_0x5afe26(0x1ae)][_0x5afe26(0x1b5)](),_0x40ba82[_0x5afe26(0x187)][_0x5afe26(0x1a9)](_0x5afe26(0x14d),_0x4bb96c);});}[_0x58551c(0x159)](_0x4b0e5d,_0x4eeb3c,_0x440b37){const _0x36ad94=_0x58551c,_0x5b86e9=new _0x2537a8(this[_0x36ad94(0x13f)]),_0x37bda8=new _0x1d123a(),_0x389d0a=new _0x21546e(this[_0x36ad94(0x13f)],_0x37bda8),_0xcd6e36=_0x389d0a[_0x36ad94(0x198)],_0x450c1b=this[_0x36ad94(0x1a3)](_0x440b37),_0x4e9bba=this[_0x36ad94(0x19c)](_0x4b0e5d,_0x4eeb3c[_0x36ad94(0x173)],_0x440b37);_0x389d0a[_0x36ad94(0x18b)]({'label':_0x4eeb3c[_0x36ad94(0x15c)],'withText':!0x0,'role':Ws,'icon':_0x4eeb3c[_0x36ad94(0x12e)]??_0x213604,'isEnabled':_0x4eeb3c[_0x36ad94(0x173)][_0x36ad94(0x150)](_0x10cb9b=>_0x10cb9b[_0x36ad94(0x197)])}),_0x389d0a[_0x36ad94(0x180)]({'on':{'mouseenter':_0xcd6e36['to'](()=>{const _0x43c2c9=_0x36ad94;this[_0x43c2c9(0x191)]()||_0x389d0a[_0x43c2c9(0x1b5)]();})}});const _0x5d16ad=new _0x48a4ff(this[_0x36ad94(0x13f)]);return _0x5d16ad[_0x36ad94(0x180)]({'attributes':{'class':['ck',_0x36ad94(0x174),_0x36ad94(0x17b),_0x36ad94(0x163)]},'on':{'keydown':_0xcd6e36['to'](_0x3b54b3=>{const _0x2b92a6=_0x36ad94;this[_0x2b92a6(0x17f)](_0x3b54b3,_0x450c1b,_0x389d0a,_0x5d16ad);})}}),_0x389d0a[_0x36ad94(0x155)](_0x36ad94(0x19f))['to'](_0x5d16ad,_0x36ad94(0x1ab)),this[_0x36ad94(0x189)][_0x36ad94(0x1b3)](_0x5d16ad),_0x5d16ad[_0x36ad94(0x177)][_0x36ad94(0x1b3)](_0x4e9bba),this[_0x36ad94(0x1af)](_0x389d0a,_0x5d16ad),_0x5b86e9[_0x36ad94(0x156)][_0x36ad94(0x1b3)](_0x389d0a),{'listItem':_0x5b86e9,'highlightView':_0x37bda8};}[_0x58551c(0x19c)](_0x572902,_0x5c7a2f,_0x5dc37f){const _0xcfdeb2=_0x58551c,_0x5c6633=new _0x586b77(this[_0xcfdeb2(0x13f)]);return _0x5c6633[_0xcfdeb2(0x180)]({'attributes':{'class':['ck',_0xcfdeb2(0x174),_0xcfdeb2(0x13e),_0xcfdeb2(0x141)]}}),_0x5c7a2f[_0xcfdeb2(0x1aa)](_0x26048c=>{const _0x1741b4=_0xcfdeb2,_0x5e8842=new _0x2537a8(this[_0x1741b4(0x13f)]),_0x5cf558=_0x58f0ef({'editor':_0x572902,'action':_0x26048c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x1741b4(0x191)]()})();_0x5e8842[_0x1741b4(0x156)][_0x1741b4(0x1b3)](_0x5cf558),_0x5dc37f[_0x1741b4(0x146)][_0x1741b4(0x1b3)](_0x5cf558),_0x5c6633[_0x1741b4(0x172)][_0x1741b4(0x1b3)](_0x5e8842);}),_0x5c6633;}[_0x58551c(0x1af)](_0x2cc304,_0x43ee3f){const _0x130a60=_0x58551c,_0x5bae69=_0x2cc304[_0x130a60(0x198)],_0x121979=this[_0x130a60(0x15a)](_0x2cc304);_0x2cc304[_0x130a60(0x180)]({'attributes':{'class':[_0x130a60(0x179)]},'on':{'mouseenter':_0x5bae69['to'](()=>{const _0x30585a=_0x130a60;this[_0x30585a(0x199)](_0x43ee3f,_0x2cc304);}),'mouseleave':_0x5bae69['to'](_0x1945e5=>{const _0x17016d=_0x130a60,_0x313464=_0x1945e5[_0x17016d(0x158)];this[_0x17016d(0x170)](_0x313464,_0x43ee3f)||this[_0x17016d(0x192)](_0x43ee3f);}),'keydown':_0x5bae69['to'](_0xcdaa1=>{const _0xa24094=_0x130a60;_0xcdaa1[_0xa24094(0x15d)]==_0x121979&&(this[_0xa24094(0x199)](_0x43ee3f,_0x2cc304),_0x43ee3f[_0xa24094(0x177)][_0xa24094(0x17a)](0x0)[_0xa24094(0x1b5)]());})}}),_0x43ee3f['on'](_0x130a60(0x19a),()=>{const _0x3b4d4e=_0x130a60;_0x43ee3f[_0x3b4d4e(0x162)]?.[_0x3b4d4e(0x1a5)](_0x3b4d4e(0x185),_0x13a007=>{const _0x2ce220=_0x3b4d4e,_0x5925b5=_0x13a007[_0x2ce220(0x158)];_0x2cc304[_0x2ce220(0x162)]?.[_0x2ce220(0x15f)](_0x5925b5)||this[_0x2ce220(0x170)](_0x5925b5,_0x43ee3f)||this[_0x2ce220(0x192)](_0x43ee3f);});});}[_0x58551c(0x199)](_0x1048b6,_0x46a332){const _0x3df84b=_0x58551c;this[_0x3df84b(0x130)][_0x3df84b(0x1aa)](_0x3eb649=>{const _0x590813=_0x3df84b;_0x3eb649!==_0x1048b6&&_0x3eb649[_0x590813(0x1ab)]&&_0x3eb649[_0x590813(0x18d)]();}),_0x1048b6[_0x3df84b(0x133)](),_0x1048b6[_0x3df84b(0x183)]({'positions':[_0xd00be9[_0x3df84b(0x1b0)]],'target':_0x46a332[_0x3df84b(0x162)],'fitInViewport':!0x0}),this[_0x3df84b(0x130)][_0x3df84b(0x1b3)](_0x1048b6);}[_0x58551c(0x192)](_0x22e048){const _0xc48255=_0x58551c;_0x22e048[_0xc48255(0x18d)](),this[_0xc48255(0x130)][_0xc48255(0x161)](_0x22e048);}[_0x58551c(0x184)](){const _0x5c1655=_0x58551c;this[_0x5c1655(0x130)][_0x5c1655(0x1aa)](_0x9f632c=>_0x9f632c[_0x5c1655(0x18d)]()),this[_0x5c1655(0x130)][_0x5c1655(0x140)]();}[_0x58551c(0x170)](_0x5889e9,_0x3f3cbe){const _0x4641b9=_0x58551c;if(!_0x5889e9)return!0x1;if(_0x3f3cbe[_0x4641b9(0x162)]?.[_0x4641b9(0x15f)](_0x5889e9))return!0x0;const _0x500ff6=_0x5889e9;return _0x500ff6[_0x4641b9(0x134)]&&(null!==_0x500ff6[_0x4641b9(0x134)](_0x4641b9(0x1b4))||null!==_0x500ff6[_0x4641b9(0x134)](_0x4641b9(0x142))||null!==_0x500ff6[_0x4641b9(0x134)](_0x4641b9(0x16e)));}[_0x58551c(0x151)](){const _0x3b91b8=_0x58551c;this[_0x3b91b8(0x1a4)]&&this[_0x3b91b8(0x1a4)][_0x3b91b8(0x145)]();}[_0x58551c(0x13b)](){const _0x38fe7b=_0x58551c;this[_0x38fe7b(0x184)](),this[_0x38fe7b(0x189)][_0x38fe7b(0x18e)](),super[_0x38fe7b(0x13b)]();}[_0x58551c(0x1b5)](){const _0xaa4055=_0x58551c;this[_0xaa4055(0x1a4)]?this[_0xaa4055(0x1a4)][_0xaa4055(0x1b5)]():this[_0xaa4055(0x1b1)][_0xaa4055(0x1b5)]();}[_0x58551c(0x1a3)](_0x1dd7a6){const _0x53f124=_0x58551c;return _0x53f124(0x13c)===_0x1dd7a6[_0x53f124(0x13f)][_0x53f124(0x164)]?_0x53f124(0x188):_0x53f124(0x194);}[_0x58551c(0x15a)](_0x2e053f){const _0x2d6f36=_0x58551c;return _0x2d6f36(0x13c)===_0x2e053f[_0x2d6f36(0x13f)][_0x2d6f36(0x164)]?_0x2d6f36(0x194):_0x2d6f36(0x188);}[_0x58551c(0x17f)](_0x4457b3,_0x370ab3,_0x3b82dc,_0x4c34e5){const _0x27f4de=_0x58551c;_0x4457b3[_0x27f4de(0x15d)]==_0x370ab3&&(_0x3b82dc[_0x27f4de(0x1b5)](),this[_0x27f4de(0x192)](_0x4c34e5));}[_0x58551c(0x1ac)](_0x5d8dd6){const _0x2c9d60=_0x58551c;_0x5d8dd6[_0x2c9d60(0x147)](_0x2c9d60(0x1a9));}}
|