@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +0 -4
- package/build/ai.js +2 -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/lang/contexts.json +1 -0
- package/package.json +15 -16
- 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.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d7f4c=_0x35b0;(function(_0xec48ac,_0x57341d){const _0x3273e9=_0x35b0,_0x18eb17=_0xec48ac();while(!![]){try{const _0x3a87a9=-parseInt(_0x3273e9(0xcb))/0x1*(parseInt(_0x3273e9(0xc0))/0x2)+parseInt(_0x3273e9(0xa6))/0x3+-parseInt(_0x3273e9(0xaf))/0x4+parseInt(_0x3273e9(0xb9))/0x5*(parseInt(_0x3273e9(0xc8))/0x6)+parseInt(_0x3273e9(0xcc))/0x7+-parseInt(_0x3273e9(0xc2))/0x8+parseInt(_0x3273e9(0xb2))/0x9;if(_0x3a87a9===_0x57341d)break;else _0x18eb17['push'](_0x18eb17['shift']());}catch(_0x5b6be7){_0x18eb17['push'](_0x18eb17['shift']());}}}(_0x5bb3,0x7d3b0));import _0x585284 from'morphdom';import{NodeWithChildren as _0x30aa01,Text as _0x23212d,Element as _0x40e641,isText as _0x3943f3,isDocument as _0x1a5990,isTag as _0x2fcdf3,cloneNode as _0x31c5cb,getChildren as _0x35927e,prepend as _0x1216f7,removeElement as _0x372c22,textContent as _0x18f39,render as _0x5f59e2}from'./htmlparser.js';function _0x35b0(_0x42ea17,_0x904546){const _0x5bb3f2=_0x5bb3();return _0x35b0=function(_0x35b011,_0x595a78){_0x35b011=_0x35b011-0x96;let _0x36feb0=_0x5bb3f2[_0x35b011];return _0x36feb0;},_0x35b0(_0x42ea17,_0x904546);}export class HTMLStreamer{[_0x4d7f4c(0xa1)];[_0x4d7f4c(0xb6)]=!0x1;[_0x4d7f4c(0xce)]=null;[_0x4d7f4c(0xa7)]=[];[_0x4d7f4c(0xab)]=0x0;[_0x4d7f4c(0xa8)]=null;[_0x4d7f4c(0xba)]=0x0;constructor(_0x466f5b){const _0x312408=_0x4d7f4c;this[_0x312408(0xa1)]={'delay':_0x466f5b[_0x312408(0xa9)]??0x14,'textNodeStyle':_0x466f5b[_0x312408(0xa4)],'onStreamUpdate':_0x466f5b[_0x312408(0x96)]||(()=>{})};}async[_0x4d7f4c(0x9c)]({document:_0x48807a,targetElement:_0x5c0559,abortSignal:_0x89de31}){const _0x30abd6=_0x4d7f4c;this[_0x30abd6(0xb6)]&&this[_0x30abd6(0x9d)](),_0x89de31?.[_0x30abd6(0xb8)](_0x30abd6(0xa3),this[_0x30abd6(0x9d)][_0x30abd6(0x9b)](this)),this[_0x30abd6(0xce)]=_0x31c5cb(_0x48807a,!0x0),this[_0x30abd6(0xa7)]=this[_0x30abd6(0xcf)](),this[_0x30abd6(0xb6)]=!0x0,this[_0x30abd6(0xab)]>this[_0x30abd6(0xa7)][_0x30abd6(0xb4)]&&(this[_0x30abd6(0xab)]=this[_0x30abd6(0xa7)][_0x30abd6(0xb4)]);for(let _0x331d36=0x0;_0x331d36<this[_0x30abd6(0xab)];_0x331d36++)this[_0x30abd6(0xa7)][_0x331d36][_0x30abd6(0xbc)]=!0x0;do{const _0x36c8ed=Date[_0x30abd6(0xbb)](),_0x2378c6=this[_0x30abd6(0xa7)][this[_0x30abd6(0xab)]],_0x316c66=_0x36c8ed-this[_0x30abd6(0xba)];if(_0x2378c6){_0x2378c6[_0x30abd6(0xbc)]=!0x0;let _0x38b9a4=_0x2378c6[_0x30abd6(0xc9)];for(;_0x38b9a4;)_0x38b9a4[_0x30abd6(0xbc)]=!0x0,_0x38b9a4=_0x38b9a4[_0x30abd6(0xc9)];}if(_0x316c66<this[_0x30abd6(0xa1)][_0x30abd6(0xa9)])try{const {promise:_0x51cb12,abortController:_0x2e06d1}=Ds(this[_0x30abd6(0xa1)][_0x30abd6(0xa9)]-_0x316c66);this[_0x30abd6(0xa8)]=_0x2e06d1,await _0x51cb12;}catch(_0x233f57){return;}_0x585284(_0x5c0559,'<'+_0x5c0559[_0x30abd6(0xaa)]+'>'+this[_0x30abd6(0xc4)](this[_0x30abd6(0xce)])+'</'+_0x5c0559[_0x30abd6(0xaa)]+'>',{'childrenOnly':!0x0}),this[_0x30abd6(0xa1)][_0x30abd6(0x96)]&&this[_0x30abd6(0xa1)][_0x30abd6(0x96)](),this[_0x30abd6(0xab)]++,this[_0x30abd6(0xba)]=Date[_0x30abd6(0xbb)]();}while(this[_0x30abd6(0xab)]<this[_0x30abd6(0xa7)][_0x30abd6(0xb4)]);this[_0x30abd6(0xab)]=this[_0x30abd6(0xa7)][_0x30abd6(0xb4)],this[_0x30abd6(0xb6)]=!0x1;}[_0x4d7f4c(0xa0)](){const _0x4bd07f=_0x4d7f4c;this[_0x4bd07f(0xb6)]=!0x1,this[_0x4bd07f(0xce)]=null,this[_0x4bd07f(0xa7)]=[],this[_0x4bd07f(0xab)]=0x0,this[_0x4bd07f(0xa8)]=null;}[_0x4d7f4c(0xd2)]({targetElement:_0x4fd17a}){const _0x191d8b=_0x4d7f4c;Array[_0x191d8b(0xa2)](_0x4fd17a[_0x191d8b(0xd1)](_0x191d8b(0xb7)))[_0x191d8b(0xbd)]()[_0x191d8b(0xbf)](_0x5157e0=>{const _0x2d8a2f=_0x191d8b;_0x5157e0[_0x2d8a2f(0xb3)](_0x5157e0[_0x2d8a2f(0x9a)][0x0]);});}[_0x4d7f4c(0x9d)](){const _0x4e4b99=_0x4d7f4c;this[_0x4e4b99(0xb6)]=!0x1,this[_0x4e4b99(0xa8)]&&(this[_0x4e4b99(0xa8)][_0x4e4b99(0xa3)](),this[_0x4e4b99(0xa8)]=null);}[_0x4d7f4c(0xc4)](_0x2977ec){const _0x461e41=_0x4d7f4c;let _0x1a71fd='';if(function(_0xa586a2){return _0x1a5990(_0xa586a2);}(_0x2977ec)){for(const _0x3f41dc of _0x2977ec[_0x461e41(0x9e)])_0x1a71fd+=this[_0x461e41(0xc4)](_0x3f41dc);}else{if(Ts(_0x2977ec)){if(!_0x2977ec[_0x461e41(0xbc)])return'';const _0x54f705=_0x2977ec,_0x4eca33=Object[_0x461e41(0x98)](_0x54f705[_0x461e41(0x97)])[_0x461e41(0xa5)](([_0x4dac95,_0x17e4df])=>_0x4dac95+'=\x22'+_0x17e4df+'\x22')[_0x461e41(0xd0)]('\x20');_0x1a71fd+='<'+_0x54f705[_0x461e41(0xaa)]+(_0x4eca33?'\x20'+_0x4eca33:'')+'>';for(const _0x169e8e of _0x35927e(_0x54f705))_0x1a71fd+=this[_0x461e41(0xc4)](_0x169e8e);_0x1a71fd+='</'+_0x54f705[_0x461e41(0xaa)]+'>';}else{if(!Ns(_0x2977ec))return'';if(!_0x2977ec[_0x461e41(0xbc)])return'';!function(_0x56d1b5){const _0x4b02b4=_0x461e41;if(!_0x56d1b5[_0x4b02b4(0xc9)]||!Ts(_0x56d1b5[_0x4b02b4(0xc9)]))return!0x1;if(!ys[_0x4b02b4(0xc5)](_0x56d1b5[_0x4b02b4(0xc9)][_0x4b02b4(0xaa)]))return!0x1;return!_0x18f39(_0x56d1b5)[_0x4b02b4(0xb5)](/^\s*[<>]\s*$/);}(_0x2977ec)?_0x1a71fd+=_0x5f59e2(_0x2977ec):_0x1a71fd+=_0x5f59e2(new _0x40e641(_0x461e41(0xae),{'data-ck-html-streamer-word-chunk':'','style':this[_0x461e41(0xa1)][_0x461e41(0xa4)]},[_0x2977ec]));}}return _0x1a71fd;}[_0x4d7f4c(0xcf)](){const _0x47d285=_0x4d7f4c,_0x5ac8f3=[];return function(_0x49cf21,_0x4d0262){const _0x1f70e6=_0x35b0,_0x3b1cbf=_0x56d0b1=>{const _0x1b7f95=_0x35b0;if(_0x4d0262(_0x56d0b1),_0x56d0b1 instanceof _0x30aa01)for(let _0x5c63ca=0x0;_0x5c63ca<_0x56d0b1[_0x1b7f95(0x9e)][_0x1b7f95(0xb4)];_0x5c63ca++){const _0x210634=_0x56d0b1[_0x1b7f95(0x9e)][_0x5c63ca];_0x3b1cbf(_0x210634);}};for(let _0x213928=0x0;_0x213928<_0x49cf21[_0x1f70e6(0x9e)][_0x1f70e6(0xb4)];_0x213928++)_0x3b1cbf(_0x49cf21[_0x1f70e6(0x9e)][_0x213928]);}(this[_0x47d285(0xce)],_0x2a48ab=>{const _0x2e0004=_0x47d285;if(Ns(_0x2a48ab)){const _0x3dadb8=this[_0x2e0004(0xb1)](_0x2a48ab);_0x3dadb8[_0x2e0004(0xb4)]&&_0x5ac8f3[_0x2e0004(0x9f)](..._0x3dadb8);}_0x2a48ab[_0x2e0004(0xad)]||_0x2a48ab[_0x2e0004(0xc6)]||_0x5ac8f3[_0x2e0004(0x9f)](_0x2a48ab);}),_0x5ac8f3;}[_0x4d7f4c(0xb1)](_0x4b6468){const _0xb64715=_0x4d7f4c;if(_0x4b6468[_0xb64715(0xad)]||_0x4b6468[_0xb64715(0xc6)])return[];const _0x46962e=_0x18f39(_0x4b6468)[_0xb64715(0xb5)](/(?:\s*\S+\s*)/g),_0x570838=[];if(_0x46962e&&_0x46962e[_0xb64715(0xb4)]>0x1){for(const _0x4db1c5 of _0x46962e){const _0xf2ae26=new _0x23212d(_0x4db1c5);_0xf2ae26[_0xb64715(0xc6)]=!0x0,_0x1216f7(_0x4b6468,_0xf2ae26),_0x570838[_0xb64715(0x9f)](_0xf2ae26);}_0x4b6468[_0xb64715(0xad)]=!0x0,_0x372c22(_0x4b6468);}return _0x570838;}}const ys=['p','li','td','th',_0x4d7f4c(0xae),'h1','h2','h3','h4','h5','h6','b',_0x4d7f4c(0xca),'i','em',_0x4d7f4c(0xcd),_0x4d7f4c(0xbe),_0x4d7f4c(0x99),_0x4d7f4c(0xac),_0x4d7f4c(0xc1),'a',_0x4d7f4c(0xc3),_0x4d7f4c(0xb0)];function Ns(_0x1b1c73){return _0x3943f3(_0x1b1c73);}function Ts(_0x3746d9){return _0x2fcdf3(_0x3746d9);}function _0x5bb3(){const _0xaf508=['signal','131034FmDMcJ','parent','strong','83AxooiX','5561353PcMjgc','mark','document','getParsedDocumentNodeList','join','querySelectorAll','cleanUpAnimations','onStreamUpdate','attribs','entries','ins','childNodes','bind','stream','stop','children','push','reset','options','from','abort','textNodeStyle','map','30693BYnaYU','nodesList','timeoutAbortController','delay','tagName','currentIndex','sup','isWordSplitSource','span','4094180oWGVeq','div','splitTextNodeIntoWordNodes','8969418skydTL','replaceWith','length','match','isStreaming','span[data-ck-html-streamer-word-chunk]','addEventListener','145SGtfLo','lastUpdateTime','now','shouldBeStreamed','reverse','del','forEach','280JrpCRg','sub','7092272MmtQCS','code','renderNode','includes','isWordSplitResult'];_0x5bb3=function(){return _0xaf508;};return _0x5bb3();}function Ds(_0x18cd8f){const _0x9b79bc=new AbortController();return{'promise':new Promise((_0x133588,_0x506d61)=>{const _0x264ffd=_0x35b0,_0x143675=setTimeout(_0x133588,_0x18cd8f);_0x9b79bc[_0x264ffd(0xc7)][_0x264ffd(0xb8)](_0x264ffd(0xa3),()=>{clearTimeout(_0x143675),_0x506d61();});}),'abortController':_0x9b79bc};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa2d9c6=_0x298c;(function(_0x35b937,_0x11b700){const _0x493cd5=_0x298c,_0x542cfc=_0x35b937();while(!![]){try{const _0x4ee6a7=parseInt(_0x493cd5(0xca))/0x1+-parseInt(_0x493cd5(0xcb))/0x2*(parseInt(_0x493cd5(0xac))/0x3)+-parseInt(_0x493cd5(0xb8))/0x4+parseInt(_0x493cd5(0xbf))/0x5*(-parseInt(_0x493cd5(0xbb))/0x6)+parseInt(_0x493cd5(0xbd))/0x7*(parseInt(_0x493cd5(0xd0))/0x8)+-parseInt(_0x493cd5(0xaf))/0x9+-parseInt(_0x493cd5(0xc7))/0xa*(-parseInt(_0x493cd5(0xcf))/0xb);if(_0x4ee6a7===_0x11b700)break;else _0x542cfc['push'](_0x542cfc['shift']());}catch(_0x248298){_0x542cfc['push'](_0x542cfc['shift']());}}}(_0x27d7,0x52de4));function _0x298c(_0x1094e0,_0x405a07){const _0x27d7ec=_0x27d7();return _0x298c=function(_0x298cad,_0x538064){_0x298cad=_0x298cad-0xa9;let _0x289f3=_0x27d7ec[_0x298cad];return _0x289f3;},_0x298c(_0x1094e0,_0x405a07);}const Fs=[_0xa2d9c6(0xbe),_0xa2d9c6(0xab),_0xa2d9c6(0xce),_0xa2d9c6(0xb1)],Us=[_0xa2d9c6(0xcc),_0xa2d9c6(0xd2),_0xa2d9c6(0xd3),_0xa2d9c6(0xc3),_0xa2d9c6(0xb6),_0xa2d9c6(0xc4),'\x20'];export class ScrollManager{[_0xa2d9c6(0xa9)];[_0xa2d9c6(0xb5)];[_0xa2d9c6(0xb9)];[_0xa2d9c6(0xba)];[_0xa2d9c6(0xae)];constructor(_0x1448f4){const _0x448452=_0xa2d9c6;this[_0x448452(0xa9)]=_0x1448f4,this[_0x448452(0xb5)]=null,this[_0x448452(0xb9)]=!0x1,this[_0x448452(0xba)]=new AbortController(),this[_0x448452(0xae)]=!0x1;for(const _0xe2c5a0 of Fs){const _0x378d35=_0x448452(0xb1)!==_0xe2c5a0;this[_0x448452(0xa9)][_0x448452(0xc0)](_0xe2c5a0,this[_0x448452(0xaa)][_0x448452(0xbc)](this),{'passive':_0x378d35,'signal':this[_0x448452(0xba)][_0x448452(0xb2)]});}}[_0xa2d9c6(0xc6)](){const _0x3e7644=_0xa2d9c6;this[_0x3e7644(0xb9)]||(this[_0x3e7644(0xb9)]=!0x0,this[_0x3e7644(0xae)]=!0x1,this[_0x3e7644(0xb5)]=requestAnimationFrame(this[_0x3e7644(0xc5)][_0x3e7644(0xbc)](this)));}[_0xa2d9c6(0xb4)](){requestAnimationFrame(()=>{const _0x33a426=_0x298c;this[_0x33a426(0xb3)]();});}[_0xa2d9c6(0xc9)](){const _0xdbaa7d=_0xa2d9c6;this[_0xdbaa7d(0xb3)](),this[_0xdbaa7d(0xba)][_0xdbaa7d(0xd1)]();}[_0xa2d9c6(0xb3)](){const _0x28d104=_0xa2d9c6;null!==this[_0x28d104(0xb5)]&&(cancelAnimationFrame(this[_0x28d104(0xb5)]),this[_0x28d104(0xb5)]=null),this[_0x28d104(0xb9)]&&(this[_0x28d104(0xb9)]=!0x1),this[_0x28d104(0xae)]=!0x1;}[_0xa2d9c6(0xaa)](_0x3621cf){const _0xe9a1e0=_0xa2d9c6;if(this[_0xe9a1e0(0xb9)]){if(_0xe9a1e0(0xb1)===_0x3621cf[_0xe9a1e0(0xad)]){const _0xa53344=_0x3621cf[_0xe9a1e0(0xcd)];if(!Us[_0xe9a1e0(0xb0)](_0xa53344))return;}_0x3621cf instanceof WheelEvent?_0x3621cf[_0xe9a1e0(0xc2)]<0x0?this[_0xe9a1e0(0xae)]=!0x0:this[_0xe9a1e0(0xae)]=!this[_0xe9a1e0(0xc1)]():this[_0xe9a1e0(0xae)]=!0x0;}}[_0xa2d9c6(0xc1)](){const _0x53ecf0=_0xa2d9c6,{scrollTop:_0xeb5df7,scrollHeight:_0x5cf940,clientHeight:_0x283204}=this[_0x53ecf0(0xa9)];return _0x5cf940-_0xeb5df7-_0x283204<=0x5;}[_0xa2d9c6(0xc5)](){const _0x26e442=_0xa2d9c6;this[_0x26e442(0xb9)]&&(this[_0x26e442(0xae)]||this[_0x26e442(0xa9)][_0x26e442(0xb7)]({'top':this[_0x26e442(0xa9)][_0x26e442(0xd4)],'behavior':_0x26e442(0xc8)}),this[_0x26e442(0xb5)]=requestAnimationFrame(this[_0x26e442(0xc5)][_0x26e442(0xbc)](this)));}}function _0x27d7(){const _0x39501f=['wheel','1999355EpCwDD','addEventListener','_isAtBottom','deltaY','PageDown','End','_rafUpdate','start','40kISryX','auto','destroy','158918zgOsHE','553178CghMdy','ArrowUp','key','pointerdown','3590653dxOGKi','358376tUomut','abort','ArrowDown','PageUp','scrollHeight','element','_onUserEvent','touchstart','3oEWqTp','type','isUserPaused','2962863OiPQNr','includes','keydown','signal','_stop','stop','animationFrameId','Home','scrollTo','1553188wRTJQx','isRunning','abortController','6tMmlBY','bind','42cbyWWb'];_0x27d7=function(){return _0x39501f;};return _0x27d7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1bbb49=_0x43a9;function _0x4136(){var _0x2d1a67=['5oIyUWo','1950390JtTIqi','pluginName','1157391EXgVFJ','24cUobvl','268160saFozq','isOfficialPlugin','requires','338335tpQHeu','2467536aORcNO','AIEditorIntegration','1548279ExqjDf','isPremiumPlugin','5985TlDQZF'];_0x4136=function(){return _0x2d1a67;};return _0x4136();}(function(_0x433465,_0x2ae1ad){var _0x518254=_0x43a9,_0x3b954a=_0x433465();while(!![]){try{var _0x7ded52=-parseInt(_0x518254(0x1ed))/0x1+parseInt(_0x518254(0x1e6))/0x2+-parseInt(_0x518254(0x1f0))/0x3+-parseInt(_0x518254(0x1ea))/0x4*(-parseInt(_0x518254(0x1f3))/0x5)+parseInt(_0x518254(0x1ee))/0x6+parseInt(_0x518254(0x1f2))/0x7*(parseInt(_0x518254(0x1e9))/0x8)+parseInt(_0x518254(0x1e8))/0x9;if(_0x7ded52===_0x2ae1ad)break;else _0x3b954a['push'](_0x3b954a['shift']());}catch(_0x109b29){_0x3b954a['push'](_0x3b954a['shift']());}}}(_0x4136,0xb2473));import{Plugin as _0x263a3a}from'ckeditor5/src/core.js';function _0x43a9(_0x27a3df,_0x338275){var _0x41363c=_0x4136();return _0x43a9=function(_0x43a97a,_0xbe8093){_0x43a97a=_0x43a97a-0x1e6;var _0x23bd02=_0x41363c[_0x43a97a];return _0x23bd02;},_0x43a9(_0x27a3df,_0x338275);}import{AIToggleButtonUI as _0x22b263}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x1a183a}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x5f57a7}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x263a3a{static get[_0x1bbb49(0x1ec)](){return[_0x22b263,_0x1a183a,_0x5f57a7];}static get[_0x1bbb49(0x1e7)](){var _0xf1fd=_0x1bbb49;return _0xf1fd(0x1ef);}static get[_0x1bbb49(0x1eb)](){return!0x0;}static get[_0x1bbb49(0x1f1)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30b55b=_0x547c;(function(_0x472ce0,_0xc2f01a){const _0x1d7794=_0x547c,_0x38268f=_0x472ce0();while(!![]){try{const _0x11383e=parseInt(_0x1d7794(0x20e))/0x1+-parseInt(_0x1d7794(0x1fa))/0x2*(-parseInt(_0x1d7794(0x1f1))/0x3)+-parseInt(_0x1d7794(0x1f8))/0x4+parseInt(_0x1d7794(0x202))/0x5*(parseInt(_0x1d7794(0x20d))/0x6)+parseInt(_0x1d7794(0x20c))/0x7*(-parseInt(_0x1d7794(0x1f6))/0x8)+parseInt(_0x1d7794(0x201))/0x9*(parseInt(_0x1d7794(0x210))/0xa)+parseInt(_0x1d7794(0x208))/0xb*(-parseInt(_0x1d7794(0x1fe))/0xc);if(_0x11383e===_0xc2f01a)break;else _0x38268f['push'](_0x38268f['shift']());}catch(_0x552b3a){_0x38268f['push'](_0x38268f['shift']());}}}(_0x31db,0x4ef04));function _0x31db(){const _0x75e519=['commands','22yOSnfF','AIToggleButtonUI','listenTo','value','350LiOIJv','1974tafcGx','335762sAlCBY','menuBar:toggleAi','60EujaBQ','editor','pluginName','add','AI_TOGGLE_BUTTON_LABEL','get','764328wnLWnA','set','toggleAi','locale','isOn','4304EKkaEA','componentFactory','780676IGKaoy','menuitemcheckbox','4YUGaju','isEnabled','isPremiumPlugin','_createAIUIButton','8278140vxEEjN','ck-ai-toggle-button','requires','784170hfCCpJ','8465VwuivV','bind','isOfficialPlugin','init','execute'];_0x31db=function(){return _0x75e519;};return _0x31db();}import{Plugin as _0x5ec505}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x27cc5d}from'./toggleaicommand.js';import{ButtonView as _0x29ae25,MenuBarMenuListItemButtonView as _0x1b0595}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x3f2b95}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3f3e8a}from'../../aicore/utils/common-translations.js';import{AITabs as _0x580cf9}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x547c(_0x4b95b7,_0x1d56a1){const _0x31dbc8=_0x31db();return _0x547c=function(_0x547c32,_0x460ef9){_0x547c32=_0x547c32-0x1f0;let _0x390ff0=_0x31dbc8[_0x547c32];return _0x390ff0;},_0x547c(_0x4b95b7,_0x1d56a1);}export class AIToggleButtonUI extends _0x5ec505{static get[_0x30b55b(0x200)](){return[_0x580cf9];}static get[_0x30b55b(0x212)](){const _0x22cc97=_0x30b55b;return _0x22cc97(0x209);}static get[_0x30b55b(0x204)](){return!0x0;}static get[_0x30b55b(0x1fc)](){return!0x0;}[_0x30b55b(0x205)](){const _0x214139=_0x30b55b,_0x389bc1=this[_0x214139(0x211)];_0x389bc1[_0x214139(0x207)][_0x214139(0x213)](_0x214139(0x1f3),new _0x27cc5d(_0x389bc1)),_0x389bc1['ui'][_0x214139(0x1f7)][_0x214139(0x213)](_0x214139(0x1f3),()=>{const _0x5c4b78=_0x214139,_0x3a0721=this[_0x5c4b78(0x1fd)](_0x29ae25);return _0x3a0721[_0x5c4b78(0x1f2)]({'tooltip':!0x0,'class':_0x5c4b78(0x1ff)}),_0x3a0721;}),_0x389bc1['ui'][_0x214139(0x1f7)][_0x214139(0x213)](_0x214139(0x20f),()=>{const _0xb6ba36=_0x214139,_0x2b26d5=this[_0xb6ba36(0x1fd)](_0x1b0595);return _0x2b26d5[_0xb6ba36(0x1f2)]({'role':_0xb6ba36(0x1f9)}),_0x2b26d5;});}[_0x30b55b(0x1fd)](_0x5c49ca){const _0x1acbac=_0x30b55b,_0x5deaa0=this[_0x1acbac(0x211)],_0x10be1d=_0x5deaa0[_0x1acbac(0x207)][_0x1acbac(0x1f0)](_0x1acbac(0x1f3)),_0x51fa10=new _0x5c49ca(_0x5deaa0[_0x1acbac(0x1f4)]);return _0x51fa10[_0x1acbac(0x1f2)]({'label':_0x3f3e8a(_0x5deaa0[_0x1acbac(0x1f4)],_0x1acbac(0x214)),'icon':_0x3f2b95,'isToggleable':!0x0}),_0x51fa10[_0x1acbac(0x203)](_0x1acbac(0x1fb))['to'](_0x10be1d),_0x51fa10[_0x1acbac(0x203)](_0x1acbac(0x1f5))['to'](_0x10be1d,_0x1acbac(0x20b),_0x214238=>!!_0x214238),this[_0x1acbac(0x20a)](_0x51fa10,_0x1acbac(0x206),()=>{const _0x5c5159=_0x1acbac;_0x10be1d[_0x5c5159(0x206)]();}),_0x51fa10;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x144a61=_0xffaa;function _0x9666(){const _0x9cea45=['plugins','isEnabled','view','1249858ekhazb','isVisible','4657982EIGuio','351lyqFdd','114147fPvNDW','AITabs','value','get','editor','1007772ILSbYW','145448IxXJWs','2254062PVSbui','18KijFjT','110290kRbBhv','execute','bind'];_0x9666=function(){return _0x9cea45;};return _0x9666();}(function(_0x210be8,_0x3ae124){const _0x150cae=_0xffaa,_0x48d26a=_0x210be8();while(!![]){try{const _0x55e59f=parseInt(_0x150cae(0xd0))/0x1+-parseInt(_0x150cae(0xdf))/0x2+-parseInt(_0x150cae(0xd7))/0x3+parseInt(_0x150cae(0xd5))/0x4+parseInt(_0x150cae(0xd9))/0x5*(parseInt(_0x150cae(0xd8))/0x6)+parseInt(_0x150cae(0xce))/0x7+-parseInt(_0x150cae(0xd6))/0x8*(-parseInt(_0x150cae(0xcf))/0x9);if(_0x55e59f===_0x3ae124)break;else _0x48d26a['push'](_0x48d26a['shift']());}catch(_0x5e7952){_0x48d26a['push'](_0x48d26a['shift']());}}}(_0x9666,0x69182));function _0xffaa(_0x45946a,_0x2d8f22){const _0x96661b=_0x9666();return _0xffaa=function(_0xffaa87,_0x3711cb){_0xffaa87=_0xffaa87-0xcd;let _0x30be39=_0x96661b[_0xffaa87];return _0x30be39;},_0xffaa(_0x45946a,_0x2d8f22);}import{Command as _0x28f602}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x28f602{constructor(_0xb52a16){const _0x1b33a9=_0xffaa;super(_0xb52a16);const _0x2552b8=_0xb52a16[_0x1b33a9(0xdc)][_0x1b33a9(0xd3)](_0x1b33a9(0xd1))[_0x1b33a9(0xde)];this[_0x1b33a9(0xdb)](_0x1b33a9(0xd2))['to'](_0x2552b8,_0x1b33a9(0xcd)),this[_0x1b33a9(0xdd)]=!0x0;}[_0x144a61(0xda)](){const _0x5c9835=_0x144a61,_0x2e2518=this[_0x5c9835(0xd4)][_0x5c9835(0xdc)][_0x5c9835(0xd3)](_0x5c9835(0xd1))[_0x5c9835(0xde)];_0x2e2518[_0x5c9835(0xcd)]=!_0x2e2518[_0x5c9835(0xcd)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x29c4(_0x71b044,_0xb81eb7){var _0x1394ff=_0x1394();return _0x29c4=function(_0x29c4e5,_0x3608dd){_0x29c4e5=_0x29c4e5-0x19f;var _0x20f539=_0x1394ff[_0x29c4e5];return _0x20f539;},_0x29c4(_0x71b044,_0xb81eb7);}var _0x56d273=_0x29c4;(function(_0x254649,_0x38aed6){var _0x5408a3=_0x29c4,_0x3c9348=_0x254649();while(!![]){try{var _0x363dc9=-parseInt(_0x5408a3(0x1a7))/0x1+parseInt(_0x5408a3(0x19f))/0x2+parseInt(_0x5408a3(0x1aa))/0x3+parseInt(_0x5408a3(0x1a6))/0x4*(-parseInt(_0x5408a3(0x1ab))/0x5)+parseInt(_0x5408a3(0x1ae))/0x6*(-parseInt(_0x5408a3(0x1ad))/0x7)+-parseInt(_0x5408a3(0x1a4))/0x8*(parseInt(_0x5408a3(0x1a1))/0x9)+parseInt(_0x5408a3(0x1a5))/0xa;if(_0x363dc9===_0x38aed6)break;else _0x3c9348['push'](_0x3c9348['shift']());}catch(_0x1eef67){_0x3c9348['push'](_0x3c9348['shift']());}}}(_0x1394,0xe6839));import{Plugin as _0x4b6261}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0xdc5d44}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x492937}from'./aiquickactionsediting.js';function _0x1394(){var _0x2cc4f6=['requires','ai.quickActions','3128QxRmil','46764860evMVCf','963212uykdGl','1664239XWmDhW','isOfficialPlugin','pluginName','872385LnXGib','25AymWJn','AIQuickActions','7msHOmY','6034062iuvNiM','isPremiumPlugin','config','666658BzBVvR','define','11106yTcfXw'];_0x1394=function(){return _0x2cc4f6;};return _0x1394();}import{AIActions as _0x57bb30}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x4b6261{static get[_0x56d273(0x1a2)](){return[_0xdc5d44,_0x492937,_0x57bb30];}static get[_0x56d273(0x1a9)](){var _0x2b7955=_0x56d273;return _0x2b7955(0x1ac);}static get[_0x56d273(0x1a8)](){return!0x0;}static get[_0x56d273(0x1af)](){return!0x0;}constructor(_0x26738a){var _0x40dbd5=_0x56d273;super(_0x26738a),_0x26738a[_0x40dbd5(0x1b0)][_0x40dbd5(0x1a0)](_0x40dbd5(0x1a3),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2ec14e=_0x32d4;function _0x32d4(_0x1718d4,_0x3c2eb3){const _0x12786a=_0x1278();return _0x32d4=function(_0x32d481,_0x409c53){_0x32d481=_0x32d481-0x12a;let _0x5ce529=_0x12786a[_0x32d481];return _0x5ce529;},_0x32d4(_0x1718d4,_0x3c2eb3);}(function(_0x5e3c44,_0xeed221){const _0x1c3d38=_0x32d4,_0x360a80=_0x5e3c44();while(!![]){try{const _0x7a7e25=-parseInt(_0x1c3d38(0x13f))/0x1+-parseInt(_0x1c3d38(0x167))/0x2+-parseInt(_0x1c3d38(0x161))/0x3+-parseInt(_0x1c3d38(0x162))/0x4*(parseInt(_0x1c3d38(0x14f))/0x5)+-parseInt(_0x1c3d38(0x15b))/0x6*(parseInt(_0x1c3d38(0x157))/0x7)+parseInt(_0x1c3d38(0x15a))/0x8*(-parseInt(_0x1c3d38(0x166))/0x9)+parseInt(_0x1c3d38(0x159))/0xa*(parseInt(_0x1c3d38(0x160))/0xb);if(_0x7a7e25===_0xeed221)break;else _0x360a80['push'](_0x360a80['shift']());}catch(_0x51c9da){_0x360a80['push'](_0x360a80['shift']());}}}(_0x1278,0x46fc4));function _0x1278(){const _0x442023=['ask-ai','ai-quick-actions-plugin-not-found','model','removeSelectionFromChatContext','view','other','getLimitElement','isCollapsed','startConversation','change','activateTab','_handleAIActionsActionLabel','actionName','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','ACTION','1075220QmiwSv','setSelection','isVisible','prompt','args','_handleAIReviewAction','focusPromptInput','_handleAIActionsAction','600901fxFgPp','locale','422330Ukbcmz','8zeClAS','30Tdhtlp','displayedPrompt','log','executeAction','AITabs','682pAhugS','1130577XKevaQ','4Fldghg','label','chat','editor','4493403fhYLiS','718014vQFAzs','handleAIReviewAction','CHAT','_expandSelectionIfCollapsed','_handleAIChatAction','document','type','parent','getSelectedBlocks','AIActions','icon','AIChat','get','sendMessage','execute','has','addSelectionToChatContext','plugins','AIChatController','REVIEW','activeTab','selection','AIReviewMode','schema','448298NoMhFs'];_0x1278=function(){return _0x442023;};return _0x1278();}import{Command as _0x82e4f3}from'ckeditor5/src/core.js';import{CKEditorError as _0x814c8e,first as _0x304e1c}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x23cdae}from'./aiquickactionsui.js';import{getTranslation as _0x45f31d}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x82e4f3{[_0x2ec14e(0x135)](_0x2c36f0){const _0x278260=_0x2ec14e;switch(this[_0x278260(0x12a)](),_0x2c36f0[_0x278260(0x12d)]){case _0x23cdae[_0x278260(0x169)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x132))){const _0x37e552=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x132));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x37e552});}this[_0x278260(0x12b)](_0x2c36f0);break;case _0x23cdae[_0x278260(0x14e)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x130))){const _0x291f6b=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x130));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x291f6b});}this[_0x278260(0x156)](_0x2c36f0);break;case _0x23cdae[_0x278260(0x13a)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x13d))){const _0x3aa914=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x13d));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x3aa914});}this[_0x278260(0x154)](_0x2c36f0);}}async[_0x2ec14e(0x12b)](_0x3a0710){const _0x198906=_0x2ec14e,_0xe1820b=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x132)),_0x3ff175=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x139)),_0x59d9f0=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x15f))[_0x198906(0x144)];if(_0x59d9f0[_0x198906(0x151)]||(_0x59d9f0[_0x198906(0x151)]=!0x0),_0x198906(0x164)!==_0x59d9f0[_0x198906(0x13b)]&&_0x59d9f0[_0x198906(0x14a)](_0x198906(0x164)),_0x198906(0x140)===_0x3a0710['id'])_0x3ff175[_0x198906(0x143)](),await _0xe1820b[_0x198906(0x137)](),_0xe1820b[_0x198906(0x155)]();else await _0xe1820b[_0x198906(0x148)](),_0x3ff175[_0x198906(0x143)](),await _0xe1820b[_0x198906(0x137)](),_0xe1820b[_0x198906(0x155)](),await _0xe1820b[_0x198906(0x134)]({'message':_0x3a0710[_0x198906(0x152)]||_0x3a0710[_0x198906(0x15c)],'attributes':{'quickActionData':{'id':_0x3a0710['id']},'displayedPrompt':_0x3a0710[_0x198906(0x15c)]}});}[_0x2ec14e(0x12a)](){const _0x509d6b=_0x2ec14e,_0x20b0e4=this[_0x509d6b(0x165)],_0x5c9131=_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x12c)][_0x509d6b(0x13c)];if(!_0x5c9131[_0x509d6b(0x147)])return;const _0x108d34=_0x304e1c(_0x5c9131[_0x509d6b(0x12f)]())||_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x13e)][_0x509d6b(0x146)](_0x5c9131);_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x149)](_0x4c698f=>{const _0x3c9d35=_0x509d6b;_0x4c698f[_0x3c9d35(0x150)](_0x108d34,'in');});}[_0x2ec14e(0x14b)](_0x22091d){const _0x304821=_0x2ec14e;return _0x22091d[_0x304821(0x12e)]?.[_0x304821(0x163)]&&_0x304821(0x145)!==_0x22091d[_0x304821(0x12e)]?.['id']?_0x22091d[_0x304821(0x12e)][_0x304821(0x163)]+':\x20'+_0x22091d[_0x304821(0x15c)]:_0x22091d[_0x304821(0x15c)];}async[_0x2ec14e(0x156)](_0x56ae8d){const _0x52caf7=_0x2ec14e,_0x326d8c=this[_0x52caf7(0x165)][_0x52caf7(0x138)][_0x52caf7(0x133)](_0x52caf7(0x130)),_0x20f827=_0x56ae8d[_0x52caf7(0x152)]?{'userMessage':_0x56ae8d[_0x52caf7(0x152)],'model':_0x56ae8d[_0x52caf7(0x142)]}:{'actionName':_0x56ae8d[_0x52caf7(0x14c)]||_0x56ae8d['id'],'args':_0x56ae8d[_0x52caf7(0x153)]},_0x2c8f35=this[_0x52caf7(0x14b)](_0x56ae8d);await _0x326d8c[_0x52caf7(0x15e)](_0x20f827,_0x2c8f35,_0x56ae8d[_0x52caf7(0x131)]);}async[_0x2ec14e(0x154)](_0x485750){const _0xf419d6=_0x2ec14e;console[_0xf419d6(0x15d)](_0xf419d6(0x168),_0x485750);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e8254=_0x3aab;function _0x3aab(_0x4d9b72,_0xa7652){const _0x4f4e1f=_0x4f4e();return _0x3aab=function(_0x3aab7e,_0x5d88ff){_0x3aab7e=_0x3aab7e-0x1ed;let _0x248f0d=_0x4f4e1f[_0x3aab7e];return _0x248f0d;},_0x3aab(_0x4d9b72,_0xa7652);}(function(_0x5c828a,_0xc517ee){const _0x22cb4b=_0x3aab,_0x43e7a7=_0x5c828a();while(!![]){try{const _0x470103=-parseInt(_0x22cb4b(0x203))/0x1+-parseInt(_0x22cb4b(0x209))/0x2*(parseInt(_0x22cb4b(0x202))/0x3)+parseInt(_0x22cb4b(0x1fa))/0x4*(parseInt(_0x22cb4b(0x205))/0x5)+-parseInt(_0x22cb4b(0x1fc))/0x6+parseInt(_0x22cb4b(0x1f2))/0x7+parseInt(_0x22cb4b(0x204))/0x8+-parseInt(_0x22cb4b(0x1ee))/0x9*(-parseInt(_0x22cb4b(0x1f7))/0xa);if(_0x470103===_0xc517ee)break;else _0x43e7a7['push'](_0x43e7a7['shift']());}catch(_0x18cf21){_0x43e7a7['push'](_0x43e7a7['shift']());}}}(_0x4f4e,0x724d6));import{Plugin as _0x4b0ffd}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x529357}from'./aiquickactionscommand.js';function _0x4f4e(){const _0xa7abcb=['directChange','18516xyMoJE','741893HsjUrK','300848atFubj','8005kwCTiM','init','commands','isOfficialPlugin','88cnwesH','AIChat','8825409aJGXIo','aiQuickAction','selection','isPremiumPlugin','4236141hQvabp','model','plugins','document','get','10gfEHod','has','change:range','492SJBXGz','add','2031900HOKFWJ','pluginName','editor','AIQuickActionsEditing','removeSelectionFromChatContext'];_0x4f4e=function(){return _0xa7abcb;};return _0x4f4e();}export class AIQuickActionsEditing extends _0x4b0ffd{static get[_0x3e8254(0x1fd)](){const _0x58c948=_0x3e8254;return _0x58c948(0x1ff);}static get[_0x3e8254(0x208)](){return!0x0;}static get[_0x3e8254(0x1f1)](){return!0x0;}[_0x3e8254(0x206)](){const _0x3446d7=_0x3e8254,_0x481ffc=this[_0x3446d7(0x1fe)],_0xca2776=new _0x529357(this[_0x3446d7(0x1fe)]);if(_0x481ffc[_0x3446d7(0x207)][_0x3446d7(0x1fb)](_0x3446d7(0x1ef),_0xca2776),_0x481ffc[_0x3446d7(0x1f4)][_0x3446d7(0x1f8)](_0x3446d7(0x1ed))){const _0x5edaea=this[_0x3446d7(0x1fe)][_0x3446d7(0x1f4)][_0x3446d7(0x1f6)](_0x3446d7(0x1ed));_0x481ffc[_0x3446d7(0x1f3)][_0x3446d7(0x1f5)][_0x3446d7(0x1f0)]['on'](_0x3446d7(0x1f9),(_0x5a8872,_0x51b805)=>{const _0xe0738=_0x3446d7;_0x51b805[_0xe0738(0x201)]&&_0x5edaea[_0xe0738(0x200)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xae65(_0x1904d6,_0x4cb046){const _0x328550=_0x3285();return _0xae65=function(_0xae65fb,_0xb42714){_0xae65fb=_0xae65fb-0x1db;let _0x4f2954=_0x328550[_0xae65fb];return _0x4f2954;},_0xae65(_0x1904d6,_0x4cb046);}const _0x4e0b60=_0xae65;(function(_0x422824,_0x2e5392){const _0x121b44=_0xae65,_0xa1c6b7=_0x422824();while(!![]){try{const _0x48086e=-parseInt(_0x121b44(0x1ee))/0x1+parseInt(_0x121b44(0x224))/0x2*(parseInt(_0x121b44(0x210))/0x3)+-parseInt(_0x121b44(0x248))/0x4+-parseInt(_0x121b44(0x1fd))/0x5*(parseInt(_0x121b44(0x21b))/0x6)+-parseInt(_0x121b44(0x257))/0x7*(parseInt(_0x121b44(0x204))/0x8)+-parseInt(_0x121b44(0x279))/0x9+-parseInt(_0x121b44(0x1f0))/0xa*(-parseInt(_0x121b44(0x221))/0xb);if(_0x48086e===_0x2e5392)break;else _0xa1c6b7['push'](_0xa1c6b7['shift']());}catch(_0x4ba746){_0xa1c6b7['push'](_0xa1c6b7['shift']());}}}(_0x3285,0x362f5));import{IconAIAdjustLength as _0x21ef50,IconAIChangeTone as _0x391116,IconAIChatCommands as _0x1e4586,IconAIContinueWriting as _0x5bdbd5,IconAIGrammarCheck as _0x4c2924,IconAIImproveWriting as _0x4dd52e,IconAIOther as _0x5e0792,IconAIQuickActions as _0x22ebf7,IconAITranslate as _0x245953}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x47240f}from'ckeditor5/src/core.js';import{CKEditorError as _0x51c541,logError as _0x3dce0c}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c3791}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x551104}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4571bd}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x32c211,BalloonToolbar as _0x17f215,MenuBarMenuView as _0xb3fbaa,MenuBarMenuListView as _0x3b977f,MenuBarMenuListItemView as _0x34a44b,MenuBarMenuListItemButtonView as _0x3fa13e}from'ckeditor5/src/ui.js';import{AIModels as _0x3ffdae}from'../aicore/model/aimodels.js';import{AIConnector as _0x443288}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x3285(){const _0x1d51e5=['requires','REVIEW','isEnabled','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ACTION','filter','commands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','german','AI_QUICK_ACTIONS_MORE_FRIENDLY','menu','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AIQuickActionsUI','AI_QUICK_ACTIONS_ASK_AI','_prepareQuickActionsDefinition','focus','menuBarView','menuBar:aiQuickActions','make-shorter','other','items','1183292pLdwVp','highlight-key-points','improve-writing','plugins','make-tone-direct','editor','pluginName','map','has','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','locale','translate-to-french','ai.quickActions.isSearchEnabled','english','7oMyuuf','AI_QUICK_ACTIONS_MORE_CONFIDENT','change-tone','make-tone-professional','set','italian','icon','AI_QUICK_ACTIONS_MAKE_LONGER','menuitem','japanese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_quickActionsDefinition','push','isOfficialPlugin','execute','spanish','translate-to-spanish','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_OTHER','delegate','DisplayNames','AI_QUICK_ACTIONS_MORE_CASUAL','ask-ai','AI_QUICK_ACTIONS_CONTINUE_WRITING','russian','CHAT','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-german','_initializeQuickActionsDropdown','39906EmsAre','values','translate-to-italian','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate','adjust-length','AIActions','korean','fix-grammar','AIConnector','<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>','_executeQuickAction','explain','chat-commands','<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>','displayedPrompt','model','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<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>','language','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','portuguese','423975LROtxi','children','4390YNBZpp','get','message','forEach','some','label','make-tone-friendly','config','translate-to-russian','make-tone-casual','attachToDom','ai.quickActions.extraCommands','summarize','268005KiJlbC','panelView','chinese','find','translate-to-japanese','_shouldIncludeAction','aiQuickAction','898656NroPSn','type','AI_QUICK_ACTIONS_CHANGE_TONE','continue','AI_QUICK_ACTIONS_SUMMARIZE','make-tone-confident','translate-to-english','french','isPremiumPlugin','getAll','_getDefaultAndCustomActions','length','216303BZVUbh','getDefaultQuickActions','AI_QUICK_ACTIONS_HEADING','ai.quickActions.removeCommands','editing','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_MAKE_SHORTER','init','view','English','ai-quick-actions-models-unable-to-retrieve','48VjBCmy','uiLanguage','buttonView','includes','_initializeQuickActionsComponentsAndCommands','close','30041Pinfrk','replace','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','8nRzqbt','AIReviewMode','ai.chat.context.document.enabled','ai-quick-actions-unavailable-model','translate-to-portuguese','aiQuickActions','make-longer','add','AIChat','translate-to-chinese','actions','componentFactory'];_0x3285=function(){return _0x1d51e5;};return _0x3285();}const Ut=_0x4e0b60(0x1e9),vt=_0x4e0b60(0x1e5),Pt=_0x4e0b60(0x1e1);export var AIQuickActionType;!function(_0x4753c9){const _0x3b3d9e=_0x4e0b60;_0x4753c9[_0x3b3d9e(0x273)]=_0x3b3d9e(0x273),_0x4753c9[_0x3b3d9e(0x234)]=_0x3b3d9e(0x234),_0x4753c9[_0x3b3d9e(0x231)]=_0x3b3d9e(0x231);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3eca90){const _0x12d65e=_0x4e0b60;_0x3eca90[_0x12d65e(0x273)]=_0x12d65e(0x22c),_0x3eca90[_0x12d65e(0x234)]=_0x12d65e(0x1dd),_0x3eca90[_0x12d65e(0x231)]=_0x12d65e(0x225);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x47240f{static get[_0x4e0b60(0x230)](){return[_0x17f215,_0x443288];}static get[_0x4e0b60(0x24e)](){const _0x376c77=_0x4e0b60;return _0x376c77(0x23f);}static get[_0x4e0b60(0x264)](){return!0x0;}static get[_0x4e0b60(0x20c)](){return!0x0;}async[_0x4e0b60(0x217)](){const _0xc175c4=_0x4e0b60,_0x9f51de=await this[_0xc175c4(0x20e)]();this[_0xc175c4(0x241)](_0x9f51de),this[_0xc175c4(0x21f)]();}static[_0x4e0b60(0x211)](_0x39dc56){return function(_0x71d218){const _0x64ca4d=_0xae65,_0x23c7ec=new Intl[(_0x64ca4d(0x26e))](['en'],{'type':_0x64ca4d(0x1ea)})['of'](_0x71d218[_0x64ca4d(0x21c)]),_0x37589c=_0x23c7ec||_0x64ca4d(0x219),_0x2c5616=[{'id':_0x64ca4d(0x270),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x240)),'type':AIQuickActionType[_0x64ca4d(0x273)],'icon':_0x1e4586},{'id':_0x64ca4d(0x1e4),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x23d)),'icon':_0x1e4586,'actions':[{'id':_0x64ca4d(0x1e3),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26a)),'prompt':Ut[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]},{'id':_0x64ca4d(0x1fc),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x208)),'prompt':vt[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]},{'id':_0x64ca4d(0x249),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x223)),'prompt':Pt[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]}]},{'id':_0x64ca4d(0x24a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x27c)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x4dd52e},{'id':_0x64ca4d(0x207),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x271)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x5bdbd5},{'id':_0x64ca4d(0x1df),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x238)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x4c2924},{'id':_0x64ca4d(0x1dc),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x1ec)),'icon':_0x21ef50,'actions':[{'id':_0x64ca4d(0x245),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x216)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x22a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x25e)),'type':AIQuickActionType[_0x64ca4d(0x234)]}]},{'id':_0x64ca4d(0x259),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x206)),'icon':_0x391116,'actions':[{'id':_0x64ca4d(0x1f9),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26f)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x24c),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23c)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x1f6),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23a)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x209),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x258)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x25a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x261)),'type':AIQuickActionType[_0x64ca4d(0x234)]}]},{'id':_0x64ca4d(0x1db),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x275)),'icon':_0x245953,'actions':[{'id':_0x64ca4d(0x20a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x276)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x256)}},{'id':_0x64ca4d(0x22d),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x1eb)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1ff)}},{'id':_0x64ca4d(0x267),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x237)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x266)}},{'id':_0x64ca4d(0x277),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x233)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x239)}},{'id':_0x64ca4d(0x254),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x252)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x20b)}},{'id':_0x64ca4d(0x201),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x274)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x260)}},{'id':_0x64ca4d(0x228),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x269)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1ed)}},{'id':_0x64ca4d(0x251),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26b)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1de)}},{'id':_0x64ca4d(0x27b),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x1e8)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x25c)}},{'id':_0x64ca4d(0x1f8),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23e)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x272)}}]},{'id':_0x64ca4d(0x246),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x26c)),'icon':_0x5e0792,'actions':[]}];return _0x2c5616;}(_0x39dc56);}async[_0x4e0b60(0x20e)](){const _0x11e843=_0x4e0b60,_0x484c27=AIQuickActionsUI[_0x11e843(0x211)](this[_0x11e843(0x24d)][_0x11e843(0x253)]),_0x239fc7=this[_0x11e843(0x24d)][_0x11e843(0x1f7)][_0x11e843(0x1f1)](_0x11e843(0x1fb))||[];let _0x395cd3=[];try{_0x395cd3=await new _0x3ffdae({'connector':this[_0x11e843(0x24d)][_0x11e843(0x24b)][_0x11e843(0x1f1)](_0x11e843(0x1e0)),'locale':this[_0x11e843(0x24d)][_0x11e843(0x253)]})[_0x11e843(0x20d)]();}catch(_0x206aec){const _0x370bd3=new _0x51c541(_0x11e843(0x21a),this,{'error':_0x206aec});_0x3dce0c(_0x370bd3[_0x11e843(0x1f2)]);}finally{const _0x1709d5=_0x239fc7[_0x11e843(0x24f)](_0x5d2fa8=>({..._0x5d2fa8,'icon':void 0x0}));_0x484c27[_0x11e843(0x200)](_0x5ba14a=>_0x11e843(0x246)===_0x5ba14a['id'])[_0x11e843(0x22e)][_0x11e843(0x263)](..._0x1709d5),_0x484c27[_0x11e843(0x1f3)](_0x2ea794=>{const _0x49c21e=_0x11e843;if(_0x49c21e(0x22e)in _0x2ea794)_0x2ea794[_0x49c21e(0x22e)][_0x49c21e(0x1f3)](_0x46a0a8=>{const _0x42ec4d=_0x49c21e;if(_0x46a0a8[_0x42ec4d(0x232)]=!!_0x395cd3[_0x42ec4d(0x200)](_0x1a9fa5=>_0x1a9fa5['id']===_0x46a0a8[_0x42ec4d(0x1e7)])||void 0x0===_0x46a0a8[_0x42ec4d(0x1e7)],!_0x46a0a8[_0x42ec4d(0x232)]){const _0x71b2f8=new _0x51c541(_0x42ec4d(0x227),this,{'actionId':_0x46a0a8['id'],'modelId':_0x46a0a8[_0x42ec4d(0x1e7)]});_0x3dce0c(_0x71b2f8[_0x42ec4d(0x1f2)]);}});else{if(_0x2ea794[_0x49c21e(0x232)]=!!_0x395cd3[_0x49c21e(0x200)](_0x5d360a=>_0x5d360a['id']===_0x2ea794[_0x49c21e(0x1e7)])||void 0x0===_0x2ea794[_0x49c21e(0x1e7)],!_0x2ea794[_0x49c21e(0x232)]){const _0x143308=new _0x51c541(_0x49c21e(0x227),this,{'actionId':_0x2ea794['id'],'modelId':_0x2ea794[_0x49c21e(0x1e7)]});_0x3dce0c(_0x143308[_0x49c21e(0x1f2)]);}}});}return _0x484c27;}[_0x4e0b60(0x21f)](){const _0x513a94=_0x4e0b60,_0x2d562b=new _0x32c211(this[_0x513a94(0x24d)][_0x513a94(0x253)]);_0x2d562b[_0x513a94(0x1fa)](),this[_0x513a94(0x278)](_0x2d562b),this[_0x513a94(0x268)](),this[_0x513a94(0x215)](_0x2d562b);}[_0x4e0b60(0x278)](_0x322b57){const _0x38a150=_0x4e0b60,_0x4aea3d=this[_0x38a150(0x24d)][_0x38a150(0x1f7)][_0x38a150(0x1f1)](_0x38a150(0x255))??!0x0;this[_0x38a150(0x24d)]['ui'][_0x38a150(0x22f)][_0x38a150(0x22b)](_0x38a150(0x229),_0x551104({'editor':this[_0x38a150(0x24d)],'content':this[_0x38a150(0x262)],'buttonDefinition':{'icon':_0x22ebf7,'label':_0x3c3791(this[_0x38a150(0x24d)][_0x38a150(0x253)],_0x38a150(0x212))},'bodyCollection':_0x322b57,'hasSearch':_0x4aea3d}));}[_0x4e0b60(0x241)](_0x2e2c36){const _0x27d19a=_0x4e0b60;this[_0x27d19a(0x262)]=_0x2e2c36[_0x27d19a(0x24f)](_0x3c8b68=>{const _0x93e3ed=_0x27d19a;if(_0x93e3ed(0x22e)in _0x3c8b68){const _0x563604=_0x3c8b68;return{..._0x563604,'actions':_0x563604[_0x93e3ed(0x22e)][_0x93e3ed(0x24f)](_0x3a97ec=>{const {actions:_0x529d7a,..._0x283629}=_0x563604;return{..._0x3a97ec,'parent':_0x283629};})[_0x93e3ed(0x235)](_0x5c0322=>this[_0x93e3ed(0x202)](_0x5c0322))};}return _0x3c8b68;})[_0x27d19a(0x235)](_0xb23cbb=>_0x27d19a(0x22e)in _0xb23cbb?_0xb23cbb[_0x27d19a(0x22e)][_0x27d19a(0x20f)]>0x0:this[_0x27d19a(0x202)](_0xb23cbb));}[_0x4e0b60(0x202)](_0x7f9162){const _0x6f51d=_0x4e0b60,_0xb2d972=this[_0x6f51d(0x24d)][_0x6f51d(0x1f7)][_0x6f51d(0x1f1)](_0x6f51d(0x213))||[];return this[_0x6f51d(0x24d)][_0x6f51d(0x24b)][_0x6f51d(0x250)](AIQuickActionTypeToPluginName[_0x7f9162[_0x6f51d(0x205)]])&&!_0xb2d972[_0x6f51d(0x21e)](_0x7f9162['id'])&&!(_0x7f9162[_0x6f51d(0x205)]===AIQuickActionType[_0x6f51d(0x273)]&&!0x1===this[_0x6f51d(0x24d)][_0x6f51d(0x1f7)][_0x6f51d(0x1f1)](_0x6f51d(0x226)));}[_0x4e0b60(0x215)](_0xb52cae){const _0x3cfb50=_0x4e0b60;this[_0x3cfb50(0x262)][_0x3cfb50(0x1f3)](_0x41686d=>{const _0x376c63=_0x3cfb50;if(_0x376c63(0x22e)in _0x41686d){const _0x3fdea5=_0x551104({'editor':this[_0x376c63(0x24d)],'content':_0x41686d[_0x376c63(0x22e)],'buttonDefinition':_0x41686d,'bodyCollection':_0xb52cae});this[_0x376c63(0x24d)]['ui'][_0x376c63(0x22f)][_0x376c63(0x22b)](_0x41686d['id'],_0x3fdea5),_0x41686d[_0x376c63(0x22e)][_0x376c63(0x1f3)](_0x454482=>{const _0x2e515a=_0x376c63,_0xc661ad=_0x4571bd({'editor':this[_0x2e515a(0x24d)],'action':_0x454482});this[_0x2e515a(0x24d)]['ui'][_0x2e515a(0x22f)][_0x2e515a(0x22b)](_0x454482['id'],_0xc661ad);});}else{const _0xbf3703=_0x4571bd({'editor':this[_0x376c63(0x24d)],'action':_0x41686d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x376c63(0x24d)]['ui'][_0x376c63(0x22f)][_0x376c63(0x22b)](_0x41686d['id'],_0xbf3703);}});}[_0x4e0b60(0x268)](){const _0xca9af3=_0x4e0b60;this[_0xca9af3(0x24d)]['ui'][_0xca9af3(0x22f)][_0xca9af3(0x22b)](_0xca9af3(0x244),_0xf00f6d=>{const _0x2cf3ec=_0xca9af3,_0x4f52f7=new _0xb3fbaa(_0xf00f6d),_0x117ae4=_0x3c3791(_0xf00f6d,_0x2cf3ec(0x212));_0x4f52f7[_0x2cf3ec(0x21d)][_0x2cf3ec(0x25b)]({'label':_0x117ae4,'icon':_0x22ebf7});const _0x3f5aa2=new _0x3b977f(_0xf00f6d);_0x3f5aa2[_0x2cf3ec(0x25b)]({'ariaLabel':_0x117ae4,'role':_0x2cf3ec(0x23b)}),this[_0x2cf3ec(0x262)][_0x2cf3ec(0x1f3)](_0x1c1822=>{const _0x1c641f=_0x2cf3ec;if(_0x1c641f(0x22e)in _0x1c1822){const _0xa97048=_0x1c1822,_0x3c9b11=new _0x34a44b(_0xf00f6d,_0x4f52f7),_0x57493b=new _0xb3fbaa(_0xf00f6d),_0x36db51=new _0x3b977f(_0xf00f6d);_0x57493b[_0x1c641f(0x21d)][_0x1c641f(0x25b)]({'label':_0xa97048[_0x1c641f(0x1f5)],'icon':_0xa97048[_0x1c641f(0x25d)]}),_0xa97048[_0x1c641f(0x22e)][_0x1c641f(0x1f3)](_0x1cde09=>{const _0x1cc624=_0x1c641f,_0x10b639=new _0x34a44b(_0xf00f6d,_0x57493b),_0x2c4396=new _0x3fa13e(_0xf00f6d);_0x2c4396[_0x1cc624(0x25b)]({'label':_0x1cde09[_0x1cc624(0x1e6)],'icon':_0x1cde09[_0x1cc624(0x25d)],'role':_0x1cc624(0x25f),'isEnabled':_0x1cde09[_0x1cc624(0x232)]}),_0x2c4396['on'](_0x1cc624(0x265),()=>{const _0xddcfa6=_0x1cc624;this[_0xddcfa6(0x1e2)](_0x1cde09);}),_0x2c4396[_0x1cc624(0x26d)](_0x1cc624(0x265))['to'](_0x57493b),_0x10b639[_0x1cc624(0x1ef)][_0x1cc624(0x22b)](_0x2c4396),_0x36db51[_0x1cc624(0x247)][_0x1cc624(0x22b)](_0x10b639);}),_0x57493b[_0x1c641f(0x1fe)][_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x36db51),_0x3c9b11[_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x57493b),_0x3f5aa2[_0x1c641f(0x247)][_0x1c641f(0x22b)](_0x3c9b11);}else{const _0xd0b03=_0x1c1822,_0x429a69=new _0x34a44b(_0xf00f6d,_0x4f52f7),_0x2e5947=new _0x3fa13e(_0xf00f6d);_0x2e5947[_0x1c641f(0x25b)]({'label':_0xd0b03[_0x1c641f(0x1e6)],'icon':_0xd0b03[_0x1c641f(0x25d)],'role':_0x1c641f(0x25f),'isEnabled':_0xd0b03[_0x1c641f(0x232)]}),_0x2e5947['on'](_0x1c641f(0x265),()=>{const _0x3b55e8=_0x1c641f;this[_0x3b55e8(0x1e2)](_0xd0b03);}),_0x2e5947[_0x1c641f(0x26d)](_0x1c641f(0x265))['to'](_0x4f52f7),_0x429a69[_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x2e5947),_0x3f5aa2[_0x1c641f(0x247)][_0x1c641f(0x22b)](_0x429a69);}});const _0x165aef=Object[_0x2cf3ec(0x27a)](AIQuickActionTypeToPluginName)[_0x2cf3ec(0x1f4)](_0x3d2203=>this[_0x2cf3ec(0x24d)][_0x2cf3ec(0x24b)][_0x2cf3ec(0x250)](_0x3d2203));return _0x4f52f7[_0x2cf3ec(0x25b)]({'isEnabled':_0x165aef}),_0x4f52f7[_0x2cf3ec(0x1fe)][_0x2cf3ec(0x1ef)][_0x2cf3ec(0x22b)](_0x3f5aa2),_0x4f52f7;});}[_0x4e0b60(0x1e2)](_0x3bd431){const _0x19ed5b=_0x4e0b60,_0xf9afab=this[_0x19ed5b(0x24d)];_0xf9afab[_0x19ed5b(0x214)][_0x19ed5b(0x218)][_0x19ed5b(0x242)](),_0xf9afab[_0x19ed5b(0x236)][_0x19ed5b(0x265)](_0x19ed5b(0x203),_0x3bd431);const _0x5d4777=_0xf9afab['ui'][_0x19ed5b(0x218)][_0x19ed5b(0x243)];_0x5d4777&&_0x5d4777[_0x19ed5b(0x220)]&&_0x5d4777[_0x19ed5b(0x220)]();}}
|
|
23
|
+
const _0x5aeb24=_0x2e48;(function(_0x3f3448,_0x531ae8){const _0x3a5292=_0x2e48,_0x25d6b0=_0x3f3448();while(!![]){try{const _0x13d06f=-parseInt(_0x3a5292(0x217))/0x1+parseInt(_0x3a5292(0x23a))/0x2+-parseInt(_0x3a5292(0x1f8))/0x3+-parseInt(_0x3a5292(0x223))/0x4+-parseInt(_0x3a5292(0x231))/0x5*(-parseInt(_0x3a5292(0x229))/0x6)+-parseInt(_0x3a5292(0x236))/0x7*(-parseInt(_0x3a5292(0x1e1))/0x8)+-parseInt(_0x3a5292(0x1ef))/0x9;if(_0x13d06f===_0x531ae8)break;else _0x25d6b0['push'](_0x25d6b0['shift']());}catch(_0x344997){_0x25d6b0['push'](_0x25d6b0['shift']());}}}(_0x517a,0x74777));function _0x517a(){const _0x5b8385=['isPremiumPlugin','1510Jfyagi','menuBarView','make-longer','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','ai-quick-actions-models-unable-to-retrieve','781123ONKcoG','isEnabled','_initializeQuickActionsMenuBar','filter','622526bSEHkQ','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','English','_initializeQuickActionsDropdown','values','has','AI_QUICK_ACTIONS_MORE_CONFIDENT','commands','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','type','attachToDom','translate-to-italian','menuBar:aiQuickActions','forEach','getDefaultQuickActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','spanish','panelView','translate-to-japanese','ai-quick-actions-unavailable-model','italian','children','AIChat','items','delegate','editing','chinese','<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>','focus','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','ai.chat.context.document.enabled','displayedPrompt','translate-to-russian','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','other','componentFactory','summarize','icon','_executeQuickAction','AI_QUICK_ACTIONS_MORE_FRIENDLY','locale','label','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','map','explain','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_OTHER','requires','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-chinese','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','add','init','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-spanish','german','make-tone-professional','_quickActionsDefinition','DisplayNames','fix-grammar','translate-to-korean','AI_QUICK_ACTIONS_ASK_AI','uiLanguage','24FoOczd','make-tone-confident','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','some','getAll','length','AI_QUICK_ACTIONS_MAKE_LONGER','config','make-tone-casual','ACTION','language','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','_prepareQuickActionsDefinition','6248349EhtbTD','make-tone-friendly','AI_QUICK_ACTIONS_MORE_CASUAL','get','menu','translate-to-german','highlight-key-points','ai.quickActions.extraCommands','_initializeQuickActionsComponents','293499BjmmpG','russian','message','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','improve-writing','set','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','actions','AI_QUICK_ACTIONS_IMPROVE_WRITING','model','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','continue','push','translate-to-french','translate','REVIEW','french','AI_QUICK_ACTIONS_CHAT_COMMANDS','AIActions','execute','includes','AIConnector','chat-commands','buttonView','translate-to-english','close','AI_QUICK_ACTIONS_CHANGE_TONE','ai.quickActions.isSearchEnabled','translate-to-portuguese','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_SUMMARIZE','111439TBzPym','view','find','change-tone','korean','ask-ai','AIQuickActionsUI','portuguese','editor','isOfficialPlugin','plugins','japanese','336688aOWzOr','CHAT','AIReviewMode','make-tone-direct','pluginName','aiQuickActions','16266UWiJwa','adjust-length','aiQuickAction','AI_QUICK_ACTIONS_HEADING','english','replace','AI_QUICK_ACTIONS_MORE_DIRECT'];_0x517a=function(){return _0x5b8385;};return _0x517a();}import{IconAIAdjustLength as _0x350300,IconAIChangeTone as _0x43c613,IconAIChatCommands as _0x1ab747,IconAIContinueWriting as _0x24e520,IconAIGrammarCheck as _0x4b8727,IconAIImproveWriting as _0x3bbce0,IconAIOther as _0x1e6d1f,IconAIQuickActions as _0x567bfa,IconAITranslate as _0x516f76}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2ca796}from'ckeditor5/src/core.js';import{CKEditorError as _0xfb552,logError as _0x95974c}from'ckeditor5/src/utils.js';import{getTranslation as _0x501a19}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x531a4c}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43a96a}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x8e18dc,BalloonToolbar as _0xa4249a,MenuBarMenuView as _0x39d651,MenuBarMenuListView as _0xf4e266,MenuBarMenuListItemView as _0x12d4c7,MenuBarMenuListItemButtonView as _0x5ebc55}from'ckeditor5/src/ui.js';import{AIModels as _0xe3c4cc}from'../aicore/model/aimodels.js';import{AIConnector as _0x30cf98}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x5aeb24(0x234),ie=_0x5aeb24(0x23b),ne=_0x5aeb24(0x257);export var AIQuickActionType;!function(_0x14ff52){const _0x63a337=_0x5aeb24;_0x14ff52[_0x63a337(0x224)]=_0x63a337(0x224),_0x14ff52[_0x63a337(0x1eb)]=_0x63a337(0x1eb),_0x14ff52[_0x63a337(0x207)]=_0x63a337(0x207);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x256f3e){const _0x332891=_0x5aeb24;_0x256f3e[_0x332891(0x224)]=_0x332891(0x252),_0x256f3e[_0x332891(0x1eb)]=_0x332891(0x20a),_0x256f3e[_0x332891(0x207)]=_0x332891(0x225);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x2e48(_0x14fdaa,_0xc989c4){const _0x517afc=_0x517a();return _0x2e48=function(_0x2e48d8,_0x31acd9){_0x2e48d8=_0x2e48d8-0x1d0;let _0x2beed5=_0x517afc[_0x2e48d8];return _0x2beed5;},_0x2e48(_0x14fdaa,_0xc989c4);}export class AIQuickActionsUI extends _0x2ca796{static get[_0x5aeb24(0x26d)](){return[_0xa4249a,_0x30cf98];}static get[_0x5aeb24(0x227)](){const _0x171ec3=_0x5aeb24;return _0x171ec3(0x21d);}static get[_0x5aeb24(0x220)](){return!0x0;}static get[_0x5aeb24(0x230)](){return!0x0;}async[_0x5aeb24(0x1d3)](){const _0x10df6e=_0x5aeb24,_0x4b1e48=await this[_0x10df6e(0x215)]();this[_0x10df6e(0x1ee)](_0x4b1e48),this[_0x10df6e(0x25e)]();}static[_0x5aeb24(0x249)](_0x467180){return function(_0x267dfd){const _0x160f1d=_0x2e48,_0x195d38=new Intl[(_0x160f1d(0x1dc))](['en'],{'type':_0x160f1d(0x1ec)})['of'](_0x267dfd[_0x160f1d(0x1e0)]),_0x4dd819=_0x195d38||_0x160f1d(0x23d),_0x44a1d4=[{'id':_0x160f1d(0x21c),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1df)),'type':AIQuickActionType[_0x160f1d(0x224)],'icon':_0x1ab747},{'id':_0x160f1d(0x20e),'label':_0x501a19(_0x267dfd,_0x160f1d(0x209)),'icon':_0x1ab747,'actions':[{'id':_0x160f1d(0x26a),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d5)),'prompt':ee[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]},{'id':_0x160f1d(0x262),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x216)),'prompt':ie[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]},{'id':_0x160f1d(0x1f5),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x24a)),'prompt':ne[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]}]},{'id':_0x160f1d(0x1fc),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x200)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x3bbce0},{'id':_0x160f1d(0x203),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x26e)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x24e520},{'id':_0x160f1d(0x1dd),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1ed)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x4b8727},{'id':_0x160f1d(0x22a),'label':_0x501a19(_0x267dfd,_0x160f1d(0x1d7)),'icon':_0x350300,'actions':[{'id':_0x160f1d(0x1e3),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x26b)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x233),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1e8)),'type':AIQuickActionType[_0x160f1d(0x1eb)]}]},{'id':_0x160f1d(0x21a),'label':_0x501a19(_0x267dfd,_0x160f1d(0x212)),'icon':_0x43c613,'actions':[{'id':_0x160f1d(0x1ea),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1f1)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x226),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x22f)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1f0),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x265)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1e2),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x241)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1da),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x25f)),'type':AIQuickActionType[_0x160f1d(0x1eb)]}]},{'id':_0x160f1d(0x206),'label':_0x501a19(_0x267dfd,_0x160f1d(0x1d6)),'icon':_0x516f76,'actions':[{'id':_0x160f1d(0x210),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d0)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x22d)}},{'id':_0x160f1d(0x26f),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x23c)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x256)}},{'id':_0x160f1d(0x1d8),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x202)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x24c)}},{'id':_0x160f1d(0x1f4),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x243)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x1d9)}},{'id':_0x160f1d(0x205),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1fb)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x208)}},{'id':_0x160f1d(0x24e),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1e4)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x222)}},{'id':_0x160f1d(0x214),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x268)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x21e)}},{'id':_0x160f1d(0x1de),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1fe)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x21b)}},{'id':_0x160f1d(0x246),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d1)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x250)}},{'id':_0x160f1d(0x25d),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x25a)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x1f9)}}]},{'id':_0x160f1d(0x260),'label':_0x501a19(_0x267dfd,_0x160f1d(0x26c)),'icon':_0x1e6d1f,'actions':[]}];return _0x44a1d4;}(_0x467180);}async[_0x5aeb24(0x215)](){const _0x2ec2dd=_0x5aeb24,_0x24e243=AIQuickActionsUI[_0x2ec2dd(0x249)](this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x266)]),_0x8803bb=this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x1e9)][_0x2ec2dd(0x1f2)](_0x2ec2dd(0x1f6))||[];let _0x3b2bab=[];try{_0x3b2bab=await new _0xe3c4cc({'connector':this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x221)][_0x2ec2dd(0x1f2)](_0x2ec2dd(0x20d)),'locale':this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x266)]})[_0x2ec2dd(0x1e6)]();}catch(_0x2a50c6){const _0x494a2e=new _0xfb552(_0x2ec2dd(0x235),this,{'error':_0x2a50c6});_0x95974c(_0x494a2e[_0x2ec2dd(0x1fa)]);}finally{const _0x34100a=_0x8803bb[_0x2ec2dd(0x269)](_0x1d9028=>({..._0x1d9028,'icon':void 0x0}));_0x24e243[_0x2ec2dd(0x219)](_0x155d61=>_0x2ec2dd(0x260)===_0x155d61['id'])[_0x2ec2dd(0x1ff)][_0x2ec2dd(0x204)](..._0x34100a),_0x24e243[_0x2ec2dd(0x248)](_0x6f4250=>{const _0x28be51=_0x2ec2dd;if(_0x28be51(0x1ff)in _0x6f4250)_0x6f4250[_0x28be51(0x1ff)][_0x28be51(0x248)](_0x5b5d0a=>{const _0x1e02c1=_0x28be51;if(_0x5b5d0a[_0x1e02c1(0x237)]=!!_0x3b2bab[_0x1e02c1(0x219)](_0x3faa16=>_0x3faa16['id']===_0x5b5d0a[_0x1e02c1(0x201)])||void 0x0===_0x5b5d0a[_0x1e02c1(0x201)],!_0x5b5d0a[_0x1e02c1(0x237)]){const _0x1f2e93=new _0xfb552(_0x1e02c1(0x24f),this,{'actionId':_0x5b5d0a['id'],'modelId':_0x5b5d0a[_0x1e02c1(0x201)]});_0x95974c(_0x1f2e93[_0x1e02c1(0x1fa)]);}});else{if(_0x6f4250[_0x28be51(0x237)]=!!_0x3b2bab[_0x28be51(0x219)](_0x393b3c=>_0x393b3c['id']===_0x6f4250[_0x28be51(0x201)])||void 0x0===_0x6f4250[_0x28be51(0x201)],!_0x6f4250[_0x28be51(0x237)]){const _0x3645f6=new _0xfb552(_0x28be51(0x24f),this,{'actionId':_0x6f4250['id'],'modelId':_0x6f4250[_0x28be51(0x201)]});_0x95974c(_0x3645f6[_0x28be51(0x1fa)]);}}});}return _0x24e243;}[_0x5aeb24(0x25e)](){const _0x2ffb9a=_0x5aeb24,_0x246f03=new _0x8e18dc(this[_0x2ffb9a(0x21f)][_0x2ffb9a(0x266)]);_0x246f03[_0x2ffb9a(0x245)](),this[_0x2ffb9a(0x23e)](_0x246f03),this[_0x2ffb9a(0x238)](),this[_0x2ffb9a(0x1f7)](_0x246f03);}[_0x5aeb24(0x23e)](_0x1acae3){const _0x213e7e=_0x5aeb24,_0x26796d=this[_0x213e7e(0x21f)][_0x213e7e(0x1e9)][_0x213e7e(0x1f2)](_0x213e7e(0x213))??!0x0;this[_0x213e7e(0x21f)]['ui'][_0x213e7e(0x261)][_0x213e7e(0x1d2)](_0x213e7e(0x228),_0x531a4c({'editor':this[_0x213e7e(0x21f)],'content':this[_0x213e7e(0x1db)],'buttonDefinition':{'icon':_0x567bfa,'label':_0x501a19(this[_0x213e7e(0x21f)][_0x213e7e(0x266)],_0x213e7e(0x22c))},'bodyCollection':_0x1acae3,'hasSearch':_0x26796d}));}[_0x5aeb24(0x1ee)](_0x54b120){const _0x14dfc4=_0x5aeb24;this[_0x14dfc4(0x1db)]=_0x54b120[_0x14dfc4(0x269)](_0x4bfb1a=>{const _0x473cb1=_0x14dfc4;if(_0x473cb1(0x1ff)in _0x4bfb1a){const _0x46e01b=_0x4bfb1a;return{..._0x46e01b,'actions':_0x46e01b[_0x473cb1(0x1ff)][_0x473cb1(0x269)](_0xb8c564=>{const {actions:_0x496ca4,..._0x4d2ed1}=_0x46e01b;return{..._0xb8c564,'parent':_0x4d2ed1};})[_0x473cb1(0x239)](_0x3ab44d=>this[_0x473cb1(0x1d4)](_0x3ab44d))};}return _0x4bfb1a;})[_0x14dfc4(0x239)](_0x8b53ec=>_0x14dfc4(0x1ff)in _0x8b53ec?_0x8b53ec[_0x14dfc4(0x1ff)][_0x14dfc4(0x1e7)]>0x0:this[_0x14dfc4(0x1d4)](_0x8b53ec));}[_0x5aeb24(0x1d4)](_0x1f00c4){const _0x4ac0ce=_0x5aeb24,_0x1cde39=this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x1e9)][_0x4ac0ce(0x1f2)](_0x4ac0ce(0x259))||[];return this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x221)][_0x4ac0ce(0x240)](AIQuickActionTypeToPluginName[_0x1f00c4[_0x4ac0ce(0x244)]])&&!_0x1cde39[_0x4ac0ce(0x20c)](_0x1f00c4['id'])&&!(_0x1f00c4[_0x4ac0ce(0x244)]===AIQuickActionType[_0x4ac0ce(0x224)]&&!0x1===this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x1e9)][_0x4ac0ce(0x1f2)](_0x4ac0ce(0x25b)));}[_0x5aeb24(0x1f7)](_0x1374f8){const _0x134120=_0x5aeb24;this[_0x134120(0x1db)][_0x134120(0x248)](_0x4b4808=>{const _0x10de09=_0x134120;if(_0x10de09(0x1ff)in _0x4b4808){const _0x4d6647=_0x531a4c({'editor':this[_0x10de09(0x21f)],'content':_0x4b4808[_0x10de09(0x1ff)],'buttonDefinition':_0x4b4808,'bodyCollection':_0x1374f8});this[_0x10de09(0x21f)]['ui'][_0x10de09(0x261)][_0x10de09(0x1d2)](_0x4b4808['id'],_0x4d6647),_0x4b4808[_0x10de09(0x1ff)][_0x10de09(0x248)](_0x2f6731=>{const _0x474ee5=_0x10de09,_0x329585=_0x43a96a({'editor':this[_0x474ee5(0x21f)],'action':_0x2f6731});this[_0x474ee5(0x21f)]['ui'][_0x474ee5(0x261)][_0x474ee5(0x1d2)](_0x2f6731['id'],_0x329585);});}else{const _0x45c806=_0x43a96a({'editor':this[_0x10de09(0x21f)],'action':_0x4b4808,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x10de09(0x21f)]['ui'][_0x10de09(0x261)][_0x10de09(0x1d2)](_0x4b4808['id'],_0x45c806);}});}[_0x5aeb24(0x238)](){const _0xcdf63e=_0x5aeb24;this[_0xcdf63e(0x21f)]['ui'][_0xcdf63e(0x261)][_0xcdf63e(0x1d2)](_0xcdf63e(0x247),_0x5b985d=>{const _0x51674b=_0xcdf63e,_0x198b16=new _0x39d651(_0x5b985d),_0x37f5bc=_0x501a19(_0x5b985d,_0x51674b(0x22c));_0x198b16[_0x51674b(0x20f)][_0x51674b(0x1fd)]({'label':_0x37f5bc,'icon':_0x567bfa});const _0x37b874=new _0xf4e266(_0x5b985d);_0x37b874[_0x51674b(0x1fd)]({'ariaLabel':_0x37f5bc,'role':_0x51674b(0x1f3)}),this[_0x51674b(0x1db)][_0x51674b(0x248)](_0x24b1ce=>{const _0x1716ee=_0x51674b;if(_0x1716ee(0x1ff)in _0x24b1ce){const _0x48585a=_0x24b1ce,_0x2b236a=new _0x12d4c7(_0x5b985d,_0x198b16),_0x480779=new _0x39d651(_0x5b985d),_0x451479=new _0xf4e266(_0x5b985d);_0x480779[_0x1716ee(0x20f)][_0x1716ee(0x1fd)]({'label':_0x48585a[_0x1716ee(0x267)],'icon':_0x48585a[_0x1716ee(0x263)]}),_0x48585a[_0x1716ee(0x1ff)][_0x1716ee(0x248)](_0x3fa404=>{const _0x4006db=_0x1716ee,_0x3566b3=new _0x12d4c7(_0x5b985d,_0x480779),_0x1ecfd5=new _0x5ebc55(_0x5b985d);_0x1ecfd5[_0x4006db(0x1fd)]({'label':_0x3fa404[_0x4006db(0x25c)],'icon':_0x3fa404[_0x4006db(0x263)],'role':_0x4006db(0x24b),'isEnabled':_0x3fa404[_0x4006db(0x237)]}),_0x1ecfd5['on'](_0x4006db(0x20b),()=>{const _0x3a9775=_0x4006db;this[_0x3a9775(0x264)](_0x3fa404);}),_0x1ecfd5[_0x4006db(0x254)](_0x4006db(0x20b))['to'](_0x480779),_0x3566b3[_0x4006db(0x251)][_0x4006db(0x1d2)](_0x1ecfd5),_0x451479[_0x4006db(0x253)][_0x4006db(0x1d2)](_0x3566b3);}),_0x480779[_0x1716ee(0x24d)][_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x451479),_0x2b236a[_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x480779),_0x37b874[_0x1716ee(0x253)][_0x1716ee(0x1d2)](_0x2b236a);}else{const _0x7dc61f=_0x24b1ce,_0x1b9288=new _0x12d4c7(_0x5b985d,_0x198b16),_0x5c2c49=new _0x5ebc55(_0x5b985d);_0x5c2c49[_0x1716ee(0x1fd)]({'label':_0x7dc61f[_0x1716ee(0x25c)],'icon':_0x7dc61f[_0x1716ee(0x263)],'role':_0x1716ee(0x24b),'isEnabled':_0x7dc61f[_0x1716ee(0x237)]}),_0x5c2c49['on'](_0x1716ee(0x20b),()=>{const _0x12a63e=_0x1716ee;this[_0x12a63e(0x264)](_0x7dc61f);}),_0x5c2c49[_0x1716ee(0x254)](_0x1716ee(0x20b))['to'](_0x198b16),_0x1b9288[_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x5c2c49),_0x37b874[_0x1716ee(0x253)][_0x1716ee(0x1d2)](_0x1b9288);}});const _0x461e45=Object[_0x51674b(0x23f)](AIQuickActionTypeToPluginName)[_0x51674b(0x1e5)](_0x568928=>this[_0x51674b(0x21f)][_0x51674b(0x221)][_0x51674b(0x240)](_0x568928));return _0x198b16[_0x51674b(0x1fd)]({'isEnabled':_0x461e45}),_0x198b16[_0x51674b(0x24d)][_0x51674b(0x251)][_0x51674b(0x1d2)](_0x37b874),_0x198b16;});}[_0x5aeb24(0x264)](_0x4e9310){const _0x55bcdd=_0x5aeb24,_0x1d97ff=this[_0x55bcdd(0x21f)];_0x1d97ff[_0x55bcdd(0x255)][_0x55bcdd(0x218)][_0x55bcdd(0x258)](),_0x1d97ff[_0x55bcdd(0x242)][_0x55bcdd(0x20b)](_0x55bcdd(0x22b),_0x4e9310);const _0x58f9b2=_0x1d97ff['ui'][_0x55bcdd(0x218)][_0x55bcdd(0x232)];_0x58f9b2&&_0x58f9b2[_0x55bcdd(0x211)]&&_0x58f9b2[_0x55bcdd(0x211)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1710(_0x535168,_0x2c5aa2){const _0x58330b=_0x5833();return _0x1710=function(_0x1710f3,_0x2ae622){_0x1710f3=_0x1710f3-0xe6;let _0x2b5dfb=_0x58330b[_0x1710f3];return _0x2b5dfb;},_0x1710(_0x535168,_0x2c5aa2);}(function(_0x5ca500,_0x3b381b){const _0x487fa5=_0x1710,_0x48c8cc=_0x5ca500();while(!![]){try{const _0x295733=parseInt(_0x487fa5(0xf6))/0x1+-parseInt(_0x487fa5(0xef))/0x2+parseInt(_0x487fa5(0xfd))/0x3+-parseInt(_0x487fa5(0xfc))/0x4*(-parseInt(_0x487fa5(0xfa))/0x5)+-parseInt(_0x487fa5(0xfe))/0x6*(-parseInt(_0x487fa5(0xec))/0x7)+-parseInt(_0x487fa5(0xf5))/0x8*(-parseInt(_0x487fa5(0xe8))/0x9)+-parseInt(_0x487fa5(0xe6))/0xa;if(_0x295733===_0x3b381b)break;else _0x48c8cc['push'](_0x48c8cc['shift']());}catch(_0x577015){_0x48c8cc['push'](_0x48c8cc['shift']());}}}(_0x5833,0x880ea));import{ButtonView as _0x1ac1a6}from'ckeditor5/src/ui.js';function _0x5833(){const _0x14fd6e=['bindTemplate','ck-ai-quick-actions-button','execute','14ndWOMJ','set','parent','336152jPNCvW','extendTemplate','isEnabled','view','icon','menuitem','1147096UyEeoq','685861oEUhnW','displayedPrompt','focus','commands','5diaqBZ','aiQuickAction','4040508MHfnxD','995634bnDewX','1212990DtwCtr','editing','18502170TQbnSP','locale','9zjysdD'];_0x5833=function(){return _0x14fd6e;};return _0x5833();}import{IconAIQuickActions as _0x32d7b0}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x4e3949){const {editor:_0x149a53,action:_0x5ac1ed,withText:_0x1fcbb8=!0x1,withIcon:_0x529596=!0x0,isInDropdown:_0x4bb10b=!0x0,shouldPreventFocus:_0x27f0cf=!0x1}=_0x4e3949;return()=>{const _0x4f2ae2=_0x1710,_0x519e39=_0x149a53[_0x4f2ae2(0xe7)],_0x37f663=new _0x1ac1a6(_0x519e39),_0x46e506=_0x37f663[_0x4f2ae2(0xe9)];_0x4bb10b&&_0x37f663[_0x4f2ae2(0xf0)]({'on':{'mouseenter':_0x46e506['to'](()=>{const _0x526d2e=_0x4f2ae2;_0x27f0cf&&_0x27f0cf()||_0x37f663[_0x526d2e(0xf8)]();})}});const _0x44e62a=_0x5ac1ed[_0x4f2ae2(0xf3)]??_0x5ac1ed[_0x4f2ae2(0xee)]?.[_0x4f2ae2(0xf3)];return _0x37f663[_0x4f2ae2(0xed)]({'label':_0x5ac1ed[_0x4f2ae2(0xf7)],'withText':_0x1fcbb8,'role':_0x4f2ae2(0xf4),'icon':_0x529596?_0x44e62a??_0x32d7b0:void 0x0,'tooltip':!_0x1fcbb8,'class':_0x4f2ae2(0xea),'isEnabled':_0x5ac1ed[_0x4f2ae2(0xf1)]}),_0x37f663['on'](_0x4f2ae2(0xeb),()=>{const _0x154cb7=_0x4f2ae2;_0x149a53[_0x154cb7(0xff)][_0x154cb7(0xf2)][_0x154cb7(0xf8)](),_0x149a53[_0x154cb7(0xf9)][_0x154cb7(0xeb)](_0x154cb7(0xfb),_0x5ac1ed);}),_0x37f663;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a04a0=_0x1a0d;(function(_0x585b43,_0x5b1a76){const _0x2fcc06=_0x1a0d,_0x9f839a=_0x585b43();while(!![]){try{const _0x37bbc3=parseInt(_0x2fcc06(0x116))/0x1+-parseInt(_0x2fcc06(0xfa))/0x2*(-parseInt(_0x2fcc06(0x12c))/0x3)+-parseInt(_0x2fcc06(0x112))/0x4*(-parseInt(_0x2fcc06(0x13e))/0x5)+parseInt(_0x2fcc06(0x15f))/0x6+-parseInt(_0x2fcc06(0x124))/0x7+-parseInt(_0x2fcc06(0xf4))/0x8+-parseInt(_0x2fcc06(0x10f))/0x9;if(_0x37bbc3===_0x5b1a76)break;else _0x9f839a['push'](_0x9f839a['shift']());}catch(_0xf8c868){_0x9f839a['push'](_0x9f839a['shift']());}}}(_0x27db,0xbbe1c));import{View as _0x1104c7,ListItemView as _0x4c8075,ListView as _0x4ad703,BalloonPanelView as _0x31c697,DropdownMenuPanelPositioningFunctions as _0x545a15,ViewCollection as _0x131a79,FocusCycler as _0x585f40,ButtonView as _0x3b4add,IconView as _0x3fbb08,HighlightedTextView as _0x2dd6cf,ButtonLabelWithHighlightView as _0x3eac80,SearchTextView as _0x531e47}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xbda05e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4dd6a4,KeystrokeHandler as _0xf6b481}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x77d04a}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x141025}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x6d3e8b}from'../../aicore/utils/common-translations.js';function _0x27db(){const _0xbcfa40=['view','ck-ai-quick-actions-button_with-group__open-paren','relatedTarget','set','ArrowRight','_searchTextView','element','_isSearchFocused','ck-ai-quick-actions-search-result-button','_focusables','.ck-ai-quick-actions-group-list','3113504umlRGx','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_bodyCollection','menu','text','ck-rounded-corners','22cxJJoR','eastSouth','ck-reset_all','ck-ai-quick-actions-search-result__content','children','div','ck-ai-quick-actions-button','clear','render','ck-ai-quick-actions-search-result-button_with-group','focusTracker','ck-dropdown-menu__nested-menu__panel','button','isOn','_hasSearch','menuitem','editing','_createActionGroupButton','_handleSearchResultButtonClick','ck-ai-quick-actions-group-list','label','24121179wCQrhn','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-button_with-group__close-paren','4INKoJw','reset','ck-ai-quick-actions-search','uiLanguageDirection','1387129SmZTbx','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','actions','role','resetSearch','commands','_createSearchResultGroupedActionButton','chain','ArrowLeft','_createListItems','ck-ai-quick-actions-button__group-icon','get','_createSearchResultIndividualActionButton','5443655cRZtKe','_hideNestedPanel','fire','forEach','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createActionButton','detachFromDom','_openNestedPanels','267357lyZBkt','.ck-ai-quick-actions-group-panel','show','_createSearchResultActionRow','setTemplate','contains','ck-dropdown-menu-list','_getPanelKeystroke','ck-ai-quick-actions-group-panel','_getButtonKeystroke','push','ck-button','span','_handlePanelKeydown','content','bindTemplate','_createSearchResultGroupRow','bind','3593175qHXkyx','_setupActionButtonExecution','isEnabled','displayedPrompt','_createSearchResultActionButton','addEventListener','ck-ai-quick-actions-button_with-group','focus','_createSearchTextView','ck-button_with-text','_setupGroupMenuBehavior','items','closest','activeElement','_isMovingToNestedMenu','rtl','_createSearchResultContentView','fieldView','hide','optionsListView','_hideAllNestedPanels','aiQuickAction','ck-ai-quick-actions','some','ownerDocument','focusCycler','ck-ai-quick-actions-search-result__group-row','pin','parent','locale','.ck-ai-quick-actions-group-button','icon','_showNestedPanel','9182850HERGew','add','extendTemplate','first','_createGroupActionsList','execute','ck-ai-quick-actions-search-result__action-row','addMany','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','queryView','delete','key','isVisible','keystrokes','ck-ai-quick-actions-group-button','_allSearchableItems'];_0x27db=function(){return _0xbcfa40;};return _0x27db();}import{AIQuickActionsFilteredListView as _0x552112}from'./aiquickactionsfilteredlistview.js';function _0x1a0d(_0x7ddf81,_0x1e0342){const _0x27dbf2=_0x27db();return _0x1a0d=function(_0x1a0dfa,_0x3bf720){_0x1a0dfa=_0x1a0dfa-0xde;let _0x52d14e=_0x27dbf2[_0x1a0dfa];return _0x52d14e;},_0x1a0d(_0x7ddf81,_0x1e0342);}const Js=_0x4a04a0(0xf7),Xs=_0x4a04a0(0x109);export class AIQuickActionsDropdownContentView extends _0x1104c7{[_0x4a04a0(0xf6)];[_0x4a04a0(0x151)];[_0x4a04a0(0xee)]=null;[_0x4a04a0(0xe8)]=[];[_0x4a04a0(0xfe)];[_0x4a04a0(0x104)];[_0x4a04a0(0xe6)];[_0x4a04a0(0xf2)];[_0x4a04a0(0x157)];[_0x4a04a0(0x12b)]=new Set();[_0x4a04a0(0x108)];constructor(_0x3fcf1a,_0x5d44b5,_0x307de9,_0x20e143,_0x2e42f1=!0x1){const _0x1f5d55=_0x4a04a0,_0x48be60=_0x3fcf1a[_0x1f5d55(0x15b)];super(_0x48be60),this[_0x1f5d55(0xf6)]=_0x20e143,this[_0x1f5d55(0x108)]=_0x2e42f1;const _0x1029bd=this[_0x1f5d55(0x120)](_0x3fcf1a,_0x5d44b5,_0x307de9);this[_0x1f5d55(0x151)]=new _0x552112(_0x48be60,_0x1029bd,this[_0x1f5d55(0xe8)]),this[_0x1f5d55(0x151)][_0x1f5d55(0x11a)]=Js,this[_0x1f5d55(0x151)][_0x1f5d55(0x149)][_0x1f5d55(0xdf)](_0x1029bd),this[_0x1f5d55(0x104)]=new _0x4dd6a4(),this[_0x1f5d55(0xe6)]=new _0xf6b481(),_0x2e42f1&&(this[_0x1f5d55(0xee)]=this[_0x1f5d55(0x146)]()),this[_0x1f5d55(0xf2)]=_0x1029bd,this[_0x1f5d55(0x157)]=new _0x585f40({'focusables':this[_0x1f5d55(0xf2)],'focusTracker':this[_0x1f5d55(0x104)],'keystrokeHandler':this[_0x1f5d55(0xe6)]}),_0x2e42f1&&this[_0x1f5d55(0xee)]&&this[_0x1f5d55(0x157)][_0x1f5d55(0x11e)](this[_0x1f5d55(0xee)][_0x1f5d55(0x157)]);const _0x494374=_0x2e42f1&&this[_0x1f5d55(0xee)]?[this[_0x1f5d55(0xee)]]:[this[_0x1f5d55(0x151)]];this[_0x1f5d55(0xfe)]=new _0x131a79(_0x494374),this[_0x1f5d55(0x130)]({'tag':_0x1f5d55(0xff),'attributes':{'class':['ck',_0x1f5d55(0xfc),_0x1f5d55(0x154),_0x1f5d55(0xf9)],'dir':_0x48be60[_0x1f5d55(0x115)]},'children':this[_0x1f5d55(0xfe)]});}[_0x4a04a0(0x146)](){const _0x52b446=_0x4a04a0;return new _0x531e47(this[_0x52b446(0x15b)],{'filteredView':this[_0x52b446(0x151)],'queryView':{'label':_0x6d3e8b(this[_0x52b446(0x15b)],_0x52b446(0x110))},'class':_0x52b446(0x114),'infoView':{'text':{'notFound':{'primary':_0x6d3e8b(this[_0x52b446(0x15b)],_0x52b446(0x128))}}}});}[_0x4a04a0(0xf0)](){const _0x422bc4=_0x4a04a0;if(!this[_0x422bc4(0x108)]||!this[_0x422bc4(0xee)]||!this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)])return!0x1;const _0x2506f0=this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)][_0x422bc4(0x156)]?.[_0x422bc4(0x14b)];return this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)][_0x422bc4(0x131)](_0x2506f0);}[_0x4a04a0(0x120)](_0x21073c,_0xfcbc19,_0x574a07){const _0x3d4b55=_0x4a04a0,_0x46a7fe=new _0x131a79();return _0xfcbc19[_0x3d4b55(0x127)](_0x42ac25=>{const _0x1648a8=_0x3d4b55;if(_0x1648a8(0x119)in _0x42ac25){const {listItem:_0x3cf406}=this[_0x1648a8(0x10b)](_0x21073c,_0x42ac25,_0x574a07);_0x46a7fe[_0x1648a8(0x160)](_0x3cf406),_0x42ac25[_0x1648a8(0x119)][_0x1648a8(0x127)](_0x31281e=>{const _0x1261fe=_0x1648a8;this[_0x1261fe(0x129)](_0x21073c,_0x31281e,_0x42ac25[_0x1261fe(0x10e)],_0x42ac25[_0x1261fe(0x15d)]);const {listItem:_0x1ff3ca,highlightViews:_0x4abbef}=this[_0x1261fe(0x142)](_0x21073c,_0x31281e,_0x42ac25[_0x1261fe(0x10e)],_0x42ac25[_0x1261fe(0x15d)]);this[_0x1261fe(0xe8)][_0x1261fe(0x136)]({'item':_0x1ff3ca,'label':_0x31281e[_0x1261fe(0x141)],'groupLabel':_0x42ac25[_0x1261fe(0x10e)],'highlightViews':_0x4abbef});});}else{const {listItem:_0x2758ce}=this[_0x1648a8(0x129)](_0x21073c,_0x42ac25);_0x46a7fe[_0x1648a8(0x160)](_0x2758ce);const _0x5b8699=_0x2758ce[_0x1648a8(0xfe)][_0x1648a8(0x162)];if(_0x5b8699){const {listItem:_0x10fe37,highlightViews:_0x23c5a7}=this[_0x1648a8(0x142)](_0x21073c,_0x42ac25);this[_0x1648a8(0xe8)][_0x1648a8(0x136)]({'item':_0x10fe37,'label':_0x5b8699[_0x1648a8(0x10e)]||'','highlightViews':_0x23c5a7});}}}),_0x46a7fe;}[_0x4a04a0(0x129)](_0x6ac896,_0x1c1c88,_0x132304,_0xe4fd2f){const _0x1a70f5=_0x4a04a0,_0x1f0c63=new _0x4c8075(this[_0x1a70f5(0x15b)]);if(_0x132304&&_0xe4fd2f){const _0xc22462=new _0x3b4add(this[_0x1a70f5(0x15b)]),_0x47732e=_0xc22462[_0x1a70f5(0x13b)],_0x4632e0=new _0x2dd6cf();_0x4632e0[_0x1a70f5(0xf8)]=_0x1c1c88[_0x1a70f5(0x141)];const _0x44a8ac=new _0x2dd6cf();_0x44a8ac[_0x1a70f5(0xf8)]=_0x132304;const _0x10585e=new _0x3fbb08();_0x10585e[_0x1a70f5(0x13a)]=_0xe4fd2f,_0x10585e[_0x1a70f5(0x161)]({'attributes':{'class':_0x1a70f5(0x121)}});const _0x2e5bfb=new _0x1104c7(this[_0x1a70f5(0x15b)]);_0x2e5bfb[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x138),'attributes':{'class':_0x1a70f5(0xea)},'children':[{'text':'\x20('}]});const _0x5f5b67=new _0x1104c7(this[_0x1a70f5(0x15b)]);return _0x5f5b67[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x138),'attributes':{'class':_0x1a70f5(0x111)},'children':[{'text':')'}]}),_0xc22462[_0x1a70f5(0xec)]({'label':_0x1c1c88[_0x1a70f5(0x141)]+'\x20('+_0x132304+')','withText':!0x0,'role':_0x1a70f5(0x109),'class':_0x1a70f5(0xf5),'tooltip':!0x1}),_0xc22462[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x106),'attributes':{'class':['ck',_0x1a70f5(0x137),_0x1a70f5(0x147),_0x1a70f5(0x100),_0x1a70f5(0x144)],'type':_0x1a70f5(0x106),'role':_0x1a70f5(0x109),'tabindex':'-1'},'children':[_0x4632e0,_0x2e5bfb,_0x10585e,_0x44a8ac,_0x5f5b67],'on':{'mouseenter':_0x47732e['to'](()=>{const _0x568f61=_0x1a70f5;this[_0x568f61(0xf0)]()||_0xc22462[_0x568f61(0x145)]();}),'click':_0x47732e['to'](()=>{const _0x27c0e1=_0x1a70f5;_0xc22462[_0x27c0e1(0x126)](_0x27c0e1(0x164));})}}),_0xc22462['on'](_0x1a70f5(0x164),()=>{const _0x37dfb6=_0x1a70f5;_0x6ac896[_0x37dfb6(0x10a)][_0x37dfb6(0xe9)][_0x37dfb6(0x145)](),_0x6ac896[_0x37dfb6(0x11c)][_0x37dfb6(0x164)](_0x37dfb6(0x153),_0x1c1c88);}),_0x1f0c63[_0x1a70f5(0xfe)][_0x1a70f5(0x160)](_0xc22462),{'listItem':_0x1f0c63,'highlightViews':[_0x4632e0,_0x44a8ac]};}{const _0x1016b=new _0x3eac80(),_0x2d6587=new _0x3b4add(this[_0x1a70f5(0x15b)],_0x1016b),_0x25847e=_0x2d6587[_0x1a70f5(0x13b)],_0x195267=_0x1c1c88[_0x1a70f5(0x15d)]??_0x1c1c88[_0x1a70f5(0x15a)]?.[_0x1a70f5(0x15d)],_0x22b58a=void 0x0!==_0x1c1c88[_0x1a70f5(0x15d)];return _0x2d6587[_0x1a70f5(0xec)]({'label':_0x1c1c88[_0x1a70f5(0x141)],'withText':!0x0,'role':_0x1a70f5(0x109),'icon':_0x22b58a?_0x195267??_0xbda05e:void 0x0,'tooltip':!0x1,'class':_0x1a70f5(0x100)}),_0x2d6587[_0x1a70f5(0x161)]({'on':{'mouseenter':_0x25847e['to'](()=>{const _0x3f3a43=_0x1a70f5;this[_0x3f3a43(0xf0)]()||_0x2d6587[_0x3f3a43(0x145)]();})}}),_0x2d6587['on'](_0x1a70f5(0x164),()=>{const _0xe2f09b=_0x1a70f5;_0x6ac896[_0xe2f09b(0x10a)][_0xe2f09b(0xe9)][_0xe2f09b(0x145)](),_0x6ac896[_0xe2f09b(0x11c)][_0xe2f09b(0x164)](_0xe2f09b(0x153),_0x1c1c88);}),_0x1f0c63[_0x1a70f5(0xfe)][_0x1a70f5(0x160)](_0x2d6587),{'listItem':_0x1f0c63,'highlightViews':[_0x1016b]};}}[_0x4a04a0(0x142)](_0x444223,_0x3c5a78,_0x51aac7,_0x37a64b){const _0x58a633=_0x4a04a0;return _0x51aac7&&_0x37a64b?this[_0x58a633(0x11d)](_0x444223,_0x3c5a78,_0x51aac7,_0x37a64b):this[_0x58a633(0x123)](_0x444223,_0x3c5a78);}[_0x4a04a0(0x11d)](_0x4e3db9,_0x1fcb93,_0x448ffa,_0x39ae69){const _0x434133=_0x4a04a0,_0x3d6868=new _0x4c8075(this[_0x434133(0x15b)]),_0x533aa5=new _0x3b4add(this[_0x434133(0x15b)]),_0x6b89b9=_0x533aa5[_0x434133(0x13b)],{view:_0x2398d1,highlightView:_0x5b1a04}=this[_0x434133(0x13c)](_0x448ffa,_0x39ae69),{view:_0xc401e2,highlightView:_0xf09545}=this[_0x434133(0x12f)](_0x1fcb93[_0x434133(0x141)]),_0x2f4ff6=this[_0x434133(0x14e)](_0x2398d1,_0xc401e2);return _0x533aa5[_0x434133(0xec)]({'label':_0x1fcb93[_0x434133(0x141)],'withText':!0x0,'role':_0x434133(0x109),'class':_0x434133(0x118),'tooltip':!0x1}),_0x533aa5[_0x434133(0x130)]({'tag':_0x434133(0x106),'attributes':{'class':['ck',_0x434133(0x137),_0x434133(0x147),_0x434133(0x100),_0x434133(0xf1),_0x434133(0x103)],'type':_0x434133(0x106),'role':_0x434133(0x109),'tabindex':'-1'},'children':[_0x2f4ff6],'on':{'mouseenter':_0x6b89b9['to'](()=>{const _0x5aa441=_0x434133;this[_0x5aa441(0xf0)]()||_0x533aa5[_0x5aa441(0x145)]();}),'click':_0x6b89b9['to'](()=>{const _0x518fbf=_0x434133;this[_0x518fbf(0x10c)](_0x533aa5);})}}),this[_0x434133(0x13f)](_0x533aa5,_0x4e3db9,_0x1fcb93),_0x3d6868[_0x434133(0xfe)][_0x434133(0x160)](_0x533aa5),{'listItem':_0x3d6868,'highlightViews':[_0x5b1a04,_0xf09545]};}[_0x4a04a0(0x123)](_0x3656ee,_0x5ea305){const _0x2518c0=_0x4a04a0,_0x5566b7=new _0x4c8075(this[_0x2518c0(0x15b)]),_0x10210f=new _0x3eac80(),_0x57356a=new _0x3b4add(this[_0x2518c0(0x15b)],_0x10210f),_0xf2b4cb=_0x57356a[_0x2518c0(0x13b)];return _0x57356a[_0x2518c0(0xec)]({'label':_0x5ea305[_0x2518c0(0x141)],'withText':!0x0,'role':_0x2518c0(0x109),'icon':void 0x0,'tooltip':!0x1,'class':_0x2518c0(0xe1)}),_0x57356a[_0x2518c0(0x161)]({'on':{'mouseenter':_0xf2b4cb['to'](()=>{const _0x3d520b=_0x2518c0;this[_0x3d520b(0xf0)]()||_0x57356a[_0x3d520b(0x145)]();})}}),this[_0x2518c0(0x13f)](_0x57356a,_0x3656ee,_0x5ea305),_0x5566b7[_0x2518c0(0xfe)][_0x2518c0(0x160)](_0x57356a),{'listItem':_0x5566b7,'highlightViews':[_0x10210f]};}[_0x4a04a0(0x13c)](_0x3c91ce,_0x41a51c){const _0x2f36d2=_0x4a04a0,_0xdb71ca=new _0x1104c7(this[_0x2f36d2(0x15b)]),_0x5e6a7c=new _0x3fbb08();_0x5e6a7c[_0x2f36d2(0x13a)]=_0x41a51c,_0x5e6a7c[_0x2f36d2(0x161)]({'attributes':{'class':_0x2f36d2(0x121)}});const _0x56f4ec=new _0x2dd6cf();return _0x56f4ec[_0x2f36d2(0xf8)]=_0x3c91ce,_0xdb71ca[_0x2f36d2(0x130)]({'tag':_0x2f36d2(0xff),'attributes':{'class':_0x2f36d2(0x158)},'children':[_0x5e6a7c,_0x56f4ec]}),{'view':_0xdb71ca,'highlightView':_0x56f4ec};}[_0x4a04a0(0x12f)](_0x51507a){const _0x16d259=_0x4a04a0,_0x50c1d9=new _0x1104c7(this[_0x16d259(0x15b)]),_0x299817=new _0x2dd6cf();return _0x299817[_0x16d259(0xf8)]=_0x51507a,_0x50c1d9[_0x16d259(0x130)]({'tag':_0x16d259(0xff),'attributes':{'class':_0x16d259(0xde)},'children':[_0x299817]}),{'view':_0x50c1d9,'highlightView':_0x299817};}[_0x4a04a0(0x14e)](_0x352214,_0x4f5042){const _0x4c4965=_0x4a04a0,_0x191746=new _0x1104c7(this[_0x4c4965(0x15b)]);return _0x191746[_0x4c4965(0x130)]({'tag':_0x4c4965(0xff),'attributes':{'class':_0x4c4965(0xfd)},'children':[_0x352214,_0x4f5042]}),_0x191746;}[_0x4a04a0(0x13f)](_0x21f134,_0x4cdcd4,_0x4e336e){const _0x4d7e16=_0x4a04a0;_0x21f134['on'](_0x4d7e16(0x164),()=>{const _0x47e502=_0x4d7e16;_0x4cdcd4[_0x47e502(0x10a)][_0x47e502(0xe9)][_0x47e502(0x145)](),_0x4cdcd4[_0x47e502(0x11c)][_0x47e502(0x164)](_0x47e502(0x153),_0x4e336e);});}[_0x4a04a0(0x10b)](_0x2c00f6,_0x5ef48d,_0x4b6940){const _0x40db9f=_0x4a04a0,_0x508ae0=new _0x4c8075(this[_0x40db9f(0x15b)]),_0x1d7530=new _0x3eac80(),_0x4632ee=new _0x141025(this[_0x40db9f(0x15b)],_0x1d7530),_0x154c75=_0x4632ee[_0x40db9f(0x13b)],_0x330f73=this[_0x40db9f(0x133)](_0x4b6940),_0x128449=this[_0x40db9f(0x163)](_0x2c00f6,_0x5ef48d[_0x40db9f(0x119)],_0x4b6940);_0x4632ee[_0x40db9f(0xec)]({'label':_0x5ef48d[_0x40db9f(0x10e)],'withText':!0x0,'role':Xs,'icon':_0x5ef48d[_0x40db9f(0x15d)]??_0xbda05e,'isEnabled':_0x5ef48d[_0x40db9f(0x119)][_0x40db9f(0x155)](_0x2f34e9=>_0x2f34e9[_0x40db9f(0x140)])}),_0x4632ee[_0x40db9f(0x161)]({'on':{'mouseenter':_0x154c75['to'](()=>{const _0x40b2df=_0x40db9f;this[_0x40b2df(0xf0)]()||_0x4632ee[_0x40b2df(0x145)]();})}});const _0x582dd3=new _0x31c697(this[_0x40db9f(0x15b)]);return _0x582dd3[_0x40db9f(0x161)]({'attributes':{'class':['ck',_0x40db9f(0xfc),_0x40db9f(0x134),_0x40db9f(0x105)]},'on':{'keydown':_0x154c75['to'](_0x15d294=>{const _0x3ce6d9=_0x40db9f;this[_0x3ce6d9(0x139)](_0x15d294,_0x330f73,_0x4632ee,_0x582dd3);})}}),_0x4632ee[_0x40db9f(0x13d)](_0x40db9f(0x107))['to'](_0x582dd3,_0x40db9f(0xe5)),this[_0x40db9f(0xf6)][_0x40db9f(0x160)](_0x582dd3),_0x582dd3[_0x40db9f(0x13a)][_0x40db9f(0x160)](_0x128449),this[_0x40db9f(0x148)](_0x4632ee,_0x582dd3),_0x508ae0[_0x40db9f(0xfe)][_0x40db9f(0x160)](_0x4632ee),{'listItem':_0x508ae0,'highlightView':_0x1d7530};}[_0x4a04a0(0x163)](_0x3e99df,_0x45d64c,_0x41a8f1){const _0x7a0b2e=_0x4a04a0,_0x2292b4=new _0x4ad703(this[_0x7a0b2e(0x15b)]);return _0x2292b4[_0x7a0b2e(0x161)]({'attributes':{'class':['ck',_0x7a0b2e(0xfc),_0x7a0b2e(0x10d),_0x7a0b2e(0x132)]}}),_0x45d64c[_0x7a0b2e(0x127)](_0x172e05=>{const _0x4f8f35=_0x7a0b2e,_0x2ab351=new _0x4c8075(this[_0x4f8f35(0x15b)]),_0x5a5b91=_0x77d04a({'editor':_0x3e99df,'action':_0x172e05,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4f8f35(0xf0)]()})();_0x2ab351[_0x4f8f35(0xfe)][_0x4f8f35(0x160)](_0x5a5b91),_0x41a8f1[_0x4f8f35(0x104)][_0x4f8f35(0x160)](_0x5a5b91),_0x2292b4[_0x4f8f35(0x149)][_0x4f8f35(0x160)](_0x2ab351);}),_0x2292b4;}[_0x4a04a0(0x148)](_0x46a325,_0x4baa66){const _0x51403b=_0x4a04a0,_0x235eb3=_0x46a325[_0x51403b(0x13b)],_0x1fc445=this[_0x51403b(0x135)](_0x46a325);_0x46a325[_0x51403b(0x161)]({'attributes':{'class':[_0x51403b(0xe7)]},'on':{'mouseenter':_0x235eb3['to'](()=>{const _0x3004d8=_0x51403b;this[_0x3004d8(0x15e)](_0x4baa66,_0x46a325);}),'mouseleave':_0x235eb3['to'](_0x1cfbdc=>{const _0x5a6a82=_0x51403b,_0x28f4d3=_0x1cfbdc[_0x5a6a82(0xeb)];this[_0x5a6a82(0x14c)](_0x28f4d3,_0x4baa66)||this[_0x5a6a82(0x125)](_0x4baa66);}),'keydown':_0x235eb3['to'](_0x2a8f95=>{const _0x3a0d47=_0x51403b;_0x2a8f95[_0x3a0d47(0xe4)]==_0x1fc445&&(this[_0x3a0d47(0x15e)](_0x4baa66,_0x46a325),_0x4baa66[_0x3a0d47(0x13a)][_0x3a0d47(0x122)](0x0)[_0x3a0d47(0x145)]());})}}),_0x4baa66['on'](_0x51403b(0x102),()=>{const _0x1583fd=_0x51403b;_0x4baa66[_0x1583fd(0xef)]?.[_0x1583fd(0x143)](_0x1583fd(0xe0),_0xce3d37=>{const _0x1cc0b1=_0x1583fd,_0x1d7224=_0xce3d37[_0x1cc0b1(0xeb)];_0x46a325[_0x1cc0b1(0xef)]?.[_0x1cc0b1(0x131)](_0x1d7224)||this[_0x1cc0b1(0x14c)](_0x1d7224,_0x4baa66)||this[_0x1cc0b1(0x125)](_0x4baa66);});});}[_0x4a04a0(0x15e)](_0x29b157,_0x38f6bc){const _0x571ba0=_0x4a04a0;this[_0x571ba0(0x12b)][_0x571ba0(0x127)](_0x4674b8=>{const _0x1b1460=_0x571ba0;_0x4674b8!==_0x29b157&&_0x4674b8[_0x1b1460(0xe5)]&&_0x4674b8[_0x1b1460(0x150)]();}),_0x29b157[_0x571ba0(0x12e)](),_0x29b157[_0x571ba0(0x159)]({'positions':[_0x545a15[_0x571ba0(0xfb)]],'target':_0x38f6bc[_0x571ba0(0xef)],'fitInViewport':!0x0}),this[_0x571ba0(0x12b)][_0x571ba0(0x160)](_0x29b157);}[_0x4a04a0(0x125)](_0x242536){const _0x2c9be1=_0x4a04a0;_0x242536[_0x2c9be1(0x150)](),this[_0x2c9be1(0x12b)][_0x2c9be1(0xe3)](_0x242536);}[_0x4a04a0(0x152)](){const _0x46acef=_0x4a04a0;this[_0x46acef(0x12b)][_0x46acef(0x127)](_0x3c40d9=>_0x3c40d9[_0x46acef(0x150)]()),this[_0x46acef(0x12b)][_0x46acef(0x101)]();}[_0x4a04a0(0x14c)](_0x1b8072,_0x38a037){const _0x359b7c=_0x4a04a0;if(!_0x1b8072)return!0x1;if(_0x38a037[_0x359b7c(0xef)]?.[_0x359b7c(0x131)](_0x1b8072))return!0x0;const _0x26e7a7=_0x1b8072;return _0x26e7a7[_0x359b7c(0x14a)]&&(null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0x12d))||null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0xf3))||null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0x15c)));}[_0x4a04a0(0x11b)](){const _0x4db8aa=_0x4a04a0;this[_0x4db8aa(0xee)]&&this[_0x4db8aa(0xee)][_0x4db8aa(0x113)]();}[_0x4a04a0(0x117)](){const _0x138855=_0x4a04a0;this[_0x138855(0x152)](),this[_0x138855(0xf6)][_0x138855(0x12a)](),super[_0x138855(0x117)]();}[_0x4a04a0(0x145)](){const _0x365d89=_0x4a04a0;this[_0x365d89(0xee)]?this[_0x365d89(0xee)][_0x365d89(0x145)]():this[_0x365d89(0x151)][_0x365d89(0x145)]();}[_0x4a04a0(0x133)](_0x19c57d){const _0x4ab57d=_0x4a04a0;return _0x4ab57d(0x14d)===_0x19c57d[_0x4ab57d(0x15b)][_0x4ab57d(0x115)]?_0x4ab57d(0xed):_0x4ab57d(0x11f);}[_0x4a04a0(0x135)](_0x12208d){const _0x2ebe32=_0x4a04a0;return _0x2ebe32(0x14d)===_0x12208d[_0x2ebe32(0x15b)][_0x2ebe32(0x115)]?_0x2ebe32(0x11f):_0x2ebe32(0xed);}[_0x4a04a0(0x139)](_0x1a6298,_0x4a5cf6,_0x20ed1f,_0x4b3cfc){const _0x56d97b=_0x4a04a0;_0x1a6298[_0x56d97b(0xe4)]==_0x4a5cf6&&(_0x20ed1f[_0x56d97b(0x145)](),this[_0x56d97b(0x125)](_0x4b3cfc));}[_0x4a04a0(0x10c)](_0x2bd12a){const _0x36902e=_0x4a04a0;_0x2bd12a[_0x36902e(0x126)](_0x36902e(0x164));}}
|
|
23
|
+
const _0x31b758=_0x31b1;(function(_0x5d2dbe,_0x28b354){const _0x996e2=_0x31b1,_0x155db6=_0x5d2dbe();while(!![]){try{const _0x52ff1f=-parseInt(_0x996e2(0x113))/0x1*(-parseInt(_0x996e2(0xc0))/0x2)+parseInt(_0x996e2(0xfd))/0x3+parseInt(_0x996e2(0xfb))/0x4+parseInt(_0x996e2(0xf3))/0x5*(parseInt(_0x996e2(0xc5))/0x6)+-parseInt(_0x996e2(0xe9))/0x7+-parseInt(_0x996e2(0x10f))/0x8*(-parseInt(_0x996e2(0x100))/0x9)+-parseInt(_0x996e2(0xbb))/0xa;if(_0x52ff1f===_0x28b354)break;else _0x155db6['push'](_0x155db6['shift']());}catch(_0xf55bff){_0x155db6['push'](_0x155db6['shift']());}}}(_0x2ca8,0xa3c89));import{View as _0x2de5d0,ListItemView as _0x5b930b,ListView as _0x1ef31f,BalloonPanelView as _0x18e612,DropdownMenuPanelPositioningFunctions as _0xeac3cd,ViewCollection as _0x534115,FocusCycler as _0x1d8c71,ButtonView as _0x36ddcf,IconView as _0x473eb9,HighlightedTextView as _0x5d06cc,ButtonLabelWithHighlightView as _0x2efd8b,SearchTextView as _0x2701e4}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x1638a6}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x277567,KeystrokeHandler as _0x4d6868}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x2a181d}from'./aiquickactionsbuttoncreator.js';function _0x31b1(_0xf1f80a,_0x567a8e){const _0x2ca8c8=_0x2ca8();return _0x31b1=function(_0x31b1b9,_0x2c6b94){_0x31b1b9=_0x31b1b9-0xa2;let _0x53c342=_0x2ca8c8[_0x31b1b9];return _0x53c342;},_0x31b1(_0xf1f80a,_0x567a8e);}import{DropdownMenuButtonWithHighlightView as _0x5917db}from'./dropdownmenubuttonwithhighlightview.js';function _0x2ca8(){const _0x419943=['_handleSearchResultButtonClick','1753268zVxlBG','icon','3808998WwNwVG','ck-ai-quick-actions-button','isEnabled','9PsCqdW','focus','resetSearch','.ck-ai-quick-actions-group-panel','_setupGroupMenuBehavior','items','some','div','execute','ck-ai-quick-actions-search-result-button_with-group','setTemplate','_isMovingToNestedMenu','destroy','ck-button','extendTemplate','5677768JuCQyB','show','ArrowRight','ck-ai-quick-actions-button_with-group__close-paren','74IAfGTd','role','isOn','_createSearchResultActionButton','detachFromDom','relatedTarget','ck-button_with-text','element','_handlePanelKeydown','forEach','add','ck-rounded-corners','bindTemplate','render','ck-ai-quick-actions','_createSearchResultContentView','ck-ai-quick-actions-search','actions','ck-ai-quick-actions-button_with-group__open-paren','_createSearchTextView','isVisible','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','addEventListener','label','_focusables','_createSearchResultGroupRow','focusCycler','span','parent','closest','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultActionRow','mouseleave','ck-dropdown-menu__nested-menu__panel','queryView','ck-reset_all','eastSouth','_createActionButton','ck-ai-quick-actions-group-button','fieldView','pin','_isSearchFocused','_hasSearch','hide','uiLanguageDirection','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','16132360xtzlPk','push','set','view','_showNestedPanel','14270FIuXYd','addMany','_createGroupActionsList','get','ck-ai-quick-actions-search-result__content','6huKuhD','key','_createActionGroupButton','_bodyCollection','_hideAllNestedPanels','rtl','chain','contains','_createListItems','focusTracker','children','displayedPrompt','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','locale','_createSearchResultGroupedActionButton','ownerDocument','fire','_setupActionButtonExecution','first','_searchTextView','ck-ai-quick-actions-search-result__action-row','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','reset','_openNestedPanels','activeElement','ck-ai-quick-actions-button__group-icon','ArrowLeft','optionsListView','_createSearchResultIndividualActionButton','_hideNestedPanel','commands','ck-ai-quick-actions-button_with-group','keystrokes','ck-ai-quick-actions-search-result-button','_getButtonKeystroke','5610836ZFIdgw','_allSearchableItems','button','_getPanelKeystroke','ck-ai-quick-actions-group-panel','bind','menuitem','AI_QUICK_ACTIONS_SEARCH','clear','text','699735OEzHFd','ck-ai-quick-actions-group-list','delete','content','aiQuickAction','menu','editing'];_0x2ca8=function(){return _0x419943;};return _0x2ca8();}import{getTranslation as _0x3aaee8}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x543c65}from'./aiquickactionsfilteredlistview.js';const Qs=_0x31b758(0xf8),Gs=_0x31b758(0xef);export class AIQuickActionsDropdownContentView extends _0x2de5d0{[_0x31b758(0xc8)];[_0x31b758(0xe1)];[_0x31b758(0xd8)]=null;[_0x31b758(0xea)]=[];[_0x31b758(0xcf)];[_0x31b758(0xce)];[_0x31b758(0xe6)];[_0x31b758(0xa4)];[_0x31b758(0xa6)];[_0x31b758(0xdd)]=new Set();[_0x31b758(0xb6)];constructor(_0x3955ea,_0x73fb60,_0x58dc37,_0x498190,_0x335e4a=!0x1){const _0x55b362=_0x31b758,_0x706ec7=_0x3955ea[_0x55b362(0xd2)];super(_0x706ec7),this[_0x55b362(0xc8)]=_0x498190,this[_0x55b362(0xb6)]=_0x335e4a;const _0x37dc35=this[_0x55b362(0xcd)](_0x3955ea,_0x73fb60,_0x58dc37);this[_0x55b362(0xe1)]=new _0x543c65(_0x706ec7,_0x37dc35,this[_0x55b362(0xea)]),this[_0x55b362(0xe1)][_0x55b362(0x114)]=Qs,this[_0x55b362(0xe1)][_0x55b362(0x105)][_0x55b362(0xc1)](_0x37dc35),this[_0x55b362(0xce)]=new _0x277567(),this[_0x55b362(0xe6)]=new _0x4d6868(),_0x335e4a&&(this[_0x55b362(0xd8)]=this[_0x55b362(0x126)]()),this[_0x55b362(0xa4)]=_0x37dc35,this[_0x55b362(0xa6)]=new _0x1d8c71({'focusables':this[_0x55b362(0xa4)],'focusTracker':this[_0x55b362(0xce)],'keystrokeHandler':this[_0x55b362(0xe6)]}),_0x335e4a&&this[_0x55b362(0xd8)]&&this[_0x55b362(0xa6)][_0x55b362(0xcb)](this[_0x55b362(0xd8)][_0x55b362(0xa6)]);const _0x1f058e=_0x335e4a&&this[_0x55b362(0xd8)]?[this[_0x55b362(0xd8)]]:[this[_0x55b362(0xe1)]];this[_0x55b362(0xcf)]=new _0x534115(_0x1f058e),this[_0x55b362(0x10a)]({'tag':_0x55b362(0x107),'attributes':{'class':['ck',_0x55b362(0xaf),_0x55b362(0x121),_0x55b362(0x11e)],'dir':_0x706ec7[_0x55b362(0xb8)]},'children':this[_0x55b362(0xcf)]});}[_0x31b758(0x126)](){const _0x592445=_0x31b758;return new _0x2701e4(this[_0x592445(0xd2)],{'filteredView':this[_0x592445(0xe1)],'queryView':{'label':_0x3aaee8(this[_0x592445(0xd2)],_0x592445(0xf0))},'class':_0x592445(0x123),'infoView':{'text':{'notFound':{'primary':_0x3aaee8(this[_0x592445(0xd2)],_0x592445(0xd1))}}}});}[_0x31b758(0xb5)](){const _0xc00a33=_0x31b758;if(!this[_0xc00a33(0xb6)]||!this[_0xc00a33(0xd8)]||!this[_0xc00a33(0xd8)][_0xc00a33(0xae)][_0xc00a33(0xb3)][_0xc00a33(0x11a)])return!0x1;const _0x464ffc=this[_0xc00a33(0xd8)][_0xc00a33(0xae)][_0xc00a33(0xb3)][_0xc00a33(0x11a)][_0xc00a33(0xd4)]?.[_0xc00a33(0xde)];return this[_0xc00a33(0xd8)][_0xc00a33(0xae)][_0xc00a33(0xb3)][_0xc00a33(0x11a)][_0xc00a33(0xcc)](_0x464ffc);}[_0x31b758(0xcd)](_0x4b7012,_0x5f534c,_0x5aca81){const _0x2a0afc=_0x31b758,_0x37f4b2=new _0x534115();return _0x5f534c[_0x2a0afc(0x11c)](_0x3fc298=>{const _0x747e6b=_0x2a0afc;if(_0x747e6b(0x124)in _0x3fc298){const {listItem:_0x212586}=this[_0x747e6b(0xc7)](_0x4b7012,_0x3fc298,_0x5aca81);_0x37f4b2[_0x747e6b(0x11d)](_0x212586),_0x3fc298[_0x747e6b(0x124)][_0x747e6b(0x11c)](_0x3a165c=>{const _0x5203f7=_0x747e6b;this[_0x5203f7(0xb1)](_0x4b7012,_0x3a165c,_0x3fc298[_0x5203f7(0xa3)],_0x3fc298[_0x5203f7(0xfc)]);const {listItem:_0x594021,highlightViews:_0x1315df}=this[_0x5203f7(0x116)](_0x4b7012,_0x3a165c,_0x3fc298[_0x5203f7(0xa3)],_0x3fc298[_0x5203f7(0xfc)]);this[_0x5203f7(0xea)][_0x5203f7(0xbc)]({'item':_0x594021,'label':_0x3a165c[_0x5203f7(0xd0)],'groupLabel':_0x3fc298[_0x5203f7(0xa3)],'highlightViews':_0x1315df});});}else{const {listItem:_0x4b5449}=this[_0x747e6b(0xb1)](_0x4b7012,_0x3fc298);_0x37f4b2[_0x747e6b(0x11d)](_0x4b5449);const _0x219a0d=_0x4b5449[_0x747e6b(0xcf)][_0x747e6b(0xd7)];if(_0x219a0d){const {listItem:_0xa6fe50,highlightViews:_0x3a0e67}=this[_0x747e6b(0x116)](_0x4b7012,_0x3fc298);this[_0x747e6b(0xea)][_0x747e6b(0xbc)]({'item':_0xa6fe50,'label':_0x219a0d[_0x747e6b(0xa3)]||'','highlightViews':_0x3a0e67});}}}),_0x37f4b2;}[_0x31b758(0xb1)](_0x1c8066,_0x209909,_0x29da09,_0x551f33){const _0x2012ac=_0x31b758,_0x9ffdd4=new _0x5b930b(this[_0x2012ac(0xd2)]);if(_0x29da09&&_0x551f33){const _0x5234d1=new _0x36ddcf(this[_0x2012ac(0xd2)]),_0x312418=_0x5234d1[_0x2012ac(0x11f)],_0x49f36a=new _0x5d06cc();_0x49f36a[_0x2012ac(0xf2)]=_0x209909[_0x2012ac(0xd0)];const _0x36f5e6=new _0x5d06cc();_0x36f5e6[_0x2012ac(0xf2)]=_0x29da09;const _0x3ac8eb=new _0x473eb9();_0x3ac8eb[_0x2012ac(0xf6)]=_0x551f33,_0x3ac8eb[_0x2012ac(0x10e)]({'attributes':{'class':_0x2012ac(0xdf)}});const _0x292775=new _0x2de5d0(this[_0x2012ac(0xd2)]);_0x292775[_0x2012ac(0x10a)]({'tag':_0x2012ac(0xa7),'attributes':{'class':_0x2012ac(0x125)},'children':[{'text':'\x20('}]});const _0x27ef73=new _0x2de5d0(this[_0x2012ac(0xd2)]);return _0x27ef73[_0x2012ac(0x10a)]({'tag':_0x2012ac(0xa7),'attributes':{'class':_0x2012ac(0x112)},'children':[{'text':')'}]}),_0x5234d1[_0x2012ac(0xbd)]({'label':_0x209909[_0x2012ac(0xd0)]+'\x20('+_0x29da09+')','withText':!0x0,'role':_0x2012ac(0xef),'class':_0x2012ac(0xaa),'tooltip':!0x1}),_0x5234d1[_0x2012ac(0x10a)]({'tag':_0x2012ac(0xeb),'attributes':{'class':['ck',_0x2012ac(0x10d),_0x2012ac(0x119),_0x2012ac(0xfe),_0x2012ac(0xe5)],'type':_0x2012ac(0xeb),'role':_0x2012ac(0xef),'tabindex':'-1'},'children':[_0x49f36a,_0x292775,_0x3ac8eb,_0x36f5e6,_0x27ef73],'on':{'mouseenter':_0x312418['to'](()=>{const _0x505624=_0x2012ac;this[_0x505624(0xb5)]()||_0x5234d1[_0x505624(0x101)]();}),'click':_0x312418['to'](()=>{const _0x9ec0ed=_0x2012ac;_0x5234d1[_0x9ec0ed(0xd5)](_0x9ec0ed(0x108));})}}),_0x5234d1['on'](_0x2012ac(0x108),()=>{const _0x468b68=_0x2012ac;_0x1c8066[_0x468b68(0xf9)][_0x468b68(0xbe)][_0x468b68(0x101)](),_0x1c8066[_0x468b68(0xe4)][_0x468b68(0x108)](_0x468b68(0xf7),_0x209909);}),_0x9ffdd4[_0x2012ac(0xcf)][_0x2012ac(0x11d)](_0x5234d1),{'listItem':_0x9ffdd4,'highlightViews':[_0x49f36a,_0x36f5e6]};}{const _0x615c0e=new _0x2efd8b(),_0x5cbfef=new _0x36ddcf(this[_0x2012ac(0xd2)],_0x615c0e),_0x5e775a=_0x5cbfef[_0x2012ac(0x11f)],_0x4ed6c2=_0x209909[_0x2012ac(0xfc)]??_0x209909[_0x2012ac(0xa8)]?.[_0x2012ac(0xfc)],_0x22a6bc=void 0x0!==_0x209909[_0x2012ac(0xfc)];return _0x5cbfef[_0x2012ac(0xbd)]({'label':_0x209909[_0x2012ac(0xd0)],'withText':!0x0,'role':_0x2012ac(0xef),'icon':_0x22a6bc?_0x4ed6c2??_0x1638a6:void 0x0,'tooltip':!0x1,'class':_0x2012ac(0xfe)}),_0x5cbfef[_0x2012ac(0x10e)]({'on':{'mouseenter':_0x5e775a['to'](()=>{const _0x3b5424=_0x2012ac;this[_0x3b5424(0xb5)]()||_0x5cbfef[_0x3b5424(0x101)]();})}}),_0x5cbfef['on'](_0x2012ac(0x108),()=>{const _0x342deb=_0x2012ac;_0x1c8066[_0x342deb(0xf9)][_0x342deb(0xbe)][_0x342deb(0x101)](),_0x1c8066[_0x342deb(0xe4)][_0x342deb(0x108)](_0x342deb(0xf7),_0x209909);}),_0x9ffdd4[_0x2012ac(0xcf)][_0x2012ac(0x11d)](_0x5cbfef),{'listItem':_0x9ffdd4,'highlightViews':[_0x615c0e]};}}[_0x31b758(0x116)](_0x11bd61,_0x56d23f,_0x200e09,_0x4e72f5){const _0x329455=_0x31b758;return _0x200e09&&_0x4e72f5?this[_0x329455(0xd3)](_0x11bd61,_0x56d23f,_0x200e09,_0x4e72f5):this[_0x329455(0xe2)](_0x11bd61,_0x56d23f);}[_0x31b758(0xd3)](_0x46d356,_0x3d5fd3,_0x207c72,_0x5c2839){const _0x48ee59=_0x31b758,_0x23e38a=new _0x5b930b(this[_0x48ee59(0xd2)]),_0x359316=new _0x36ddcf(this[_0x48ee59(0xd2)]),_0x2f2a21=_0x359316[_0x48ee59(0x11f)],{view:_0x96bb,highlightView:_0x236e97}=this[_0x48ee59(0xa5)](_0x207c72,_0x5c2839),{view:_0x344306,highlightView:_0x29dc23}=this[_0x48ee59(0xab)](_0x3d5fd3[_0x48ee59(0xd0)]),_0x1a008b=this[_0x48ee59(0x122)](_0x96bb,_0x344306);return _0x359316[_0x48ee59(0xbd)]({'label':_0x3d5fd3[_0x48ee59(0xd0)],'withText':!0x0,'role':_0x48ee59(0xef),'class':_0x48ee59(0xdb),'tooltip':!0x1}),_0x359316[_0x48ee59(0x10a)]({'tag':_0x48ee59(0xeb),'attributes':{'class':['ck',_0x48ee59(0x10d),_0x48ee59(0x119),_0x48ee59(0xfe),_0x48ee59(0xe7),_0x48ee59(0x109)],'type':_0x48ee59(0xeb),'role':_0x48ee59(0xef),'tabindex':'-1'},'children':[_0x1a008b],'on':{'mouseenter':_0x2f2a21['to'](()=>{const _0x235eae=_0x48ee59;this[_0x235eae(0xb5)]()||_0x359316[_0x235eae(0x101)]();}),'click':_0x2f2a21['to'](()=>{const _0x5ef15e=_0x48ee59;this[_0x5ef15e(0xfa)](_0x359316);})}}),this[_0x48ee59(0xd6)](_0x359316,_0x46d356,_0x3d5fd3),_0x23e38a[_0x48ee59(0xcf)][_0x48ee59(0x11d)](_0x359316),{'listItem':_0x23e38a,'highlightViews':[_0x236e97,_0x29dc23]};}[_0x31b758(0xe2)](_0x1492f5,_0x4dd783){const _0x1ffa35=_0x31b758,_0x4e5a00=new _0x5b930b(this[_0x1ffa35(0xd2)]),_0xc96010=new _0x2efd8b(),_0x1b327c=new _0x36ddcf(this[_0x1ffa35(0xd2)],_0xc96010),_0x1f9f3a=_0x1b327c[_0x1ffa35(0x11f)];return _0x1b327c[_0x1ffa35(0xbd)]({'label':_0x4dd783[_0x1ffa35(0xd0)],'withText':!0x0,'role':_0x1ffa35(0xef),'icon':void 0x0,'tooltip':!0x1,'class':_0x1ffa35(0xba)}),_0x1b327c[_0x1ffa35(0x10e)]({'on':{'mouseenter':_0x1f9f3a['to'](()=>{const _0x3be308=_0x1ffa35;this[_0x3be308(0xb5)]()||_0x1b327c[_0x3be308(0x101)]();})}}),this[_0x1ffa35(0xd6)](_0x1b327c,_0x1492f5,_0x4dd783),_0x4e5a00[_0x1ffa35(0xcf)][_0x1ffa35(0x11d)](_0x1b327c),{'listItem':_0x4e5a00,'highlightViews':[_0xc96010]};}[_0x31b758(0xa5)](_0x5ece1e,_0x3d1508){const _0x38b5f8=_0x31b758,_0x5211c7=new _0x2de5d0(this[_0x38b5f8(0xd2)]),_0x2266bd=new _0x473eb9();_0x2266bd[_0x38b5f8(0xf6)]=_0x3d1508,_0x2266bd[_0x38b5f8(0x10e)]({'attributes':{'class':_0x38b5f8(0xdf)}});const _0x32e83a=new _0x5d06cc();return _0x32e83a[_0x38b5f8(0xf2)]=_0x5ece1e,_0x5211c7[_0x38b5f8(0x10a)]({'tag':_0x38b5f8(0x107),'attributes':{'class':_0x38b5f8(0x128)},'children':[_0x2266bd,_0x32e83a]}),{'view':_0x5211c7,'highlightView':_0x32e83a};}[_0x31b758(0xab)](_0x120b41){const _0x1ab892=_0x31b758,_0x203440=new _0x2de5d0(this[_0x1ab892(0xd2)]),_0x468612=new _0x5d06cc();return _0x468612[_0x1ab892(0xf2)]=_0x120b41,_0x203440[_0x1ab892(0x10a)]({'tag':_0x1ab892(0x107),'attributes':{'class':_0x1ab892(0xd9)},'children':[_0x468612]}),{'view':_0x203440,'highlightView':_0x468612};}[_0x31b758(0x122)](_0x27b5e2,_0x437a21){const _0xde60c9=_0x31b758,_0x109c8b=new _0x2de5d0(this[_0xde60c9(0xd2)]);return _0x109c8b[_0xde60c9(0x10a)]({'tag':_0xde60c9(0x107),'attributes':{'class':_0xde60c9(0xc4)},'children':[_0x27b5e2,_0x437a21]}),_0x109c8b;}[_0x31b758(0xd6)](_0x4b387b,_0x344af9,_0x124bfa){const _0x4bea24=_0x31b758;_0x4b387b['on'](_0x4bea24(0x108),()=>{const _0x4e946e=_0x4bea24;_0x344af9[_0x4e946e(0xf9)][_0x4e946e(0xbe)][_0x4e946e(0x101)](),_0x344af9[_0x4e946e(0xe4)][_0x4e946e(0x108)](_0x4e946e(0xf7),_0x124bfa);});}[_0x31b758(0xc7)](_0x2863bd,_0x2c2865,_0x219f18){const _0x1c8053=_0x31b758,_0x197b41=new _0x5b930b(this[_0x1c8053(0xd2)]),_0x9ab16e=new _0x2efd8b(),_0x549edf=new _0x5917db(this[_0x1c8053(0xd2)],_0x9ab16e),_0x2a3bfa=_0x549edf[_0x1c8053(0x11f)],_0x4b8a3b=this[_0x1c8053(0xec)](_0x219f18),_0x599ed7=this[_0x1c8053(0xc2)](_0x2863bd,_0x2c2865[_0x1c8053(0x124)],_0x219f18);_0x549edf[_0x1c8053(0xbd)]({'label':_0x2c2865[_0x1c8053(0xa3)],'withText':!0x0,'role':Gs,'icon':_0x2c2865[_0x1c8053(0xfc)]??_0x1638a6,'isEnabled':_0x2c2865[_0x1c8053(0x124)][_0x1c8053(0x106)](_0x52b131=>_0x52b131[_0x1c8053(0xff)])}),_0x549edf[_0x1c8053(0x10e)]({'on':{'mouseenter':_0x2a3bfa['to'](()=>{const _0x27a140=_0x1c8053;this[_0x27a140(0xb5)]()||_0x549edf[_0x27a140(0x101)]();})}});const _0x56558f=new _0x18e612(this[_0x1c8053(0xd2)]);return _0x56558f[_0x1c8053(0x10e)]({'attributes':{'class':['ck',_0x1c8053(0xaf),_0x1c8053(0xed),_0x1c8053(0xad)]},'on':{'keydown':_0x2a3bfa['to'](_0x505744=>{const _0x52bea6=_0x1c8053;this[_0x52bea6(0x11b)](_0x505744,_0x4b8a3b,_0x549edf,_0x56558f);})}}),_0x549edf[_0x1c8053(0xee)](_0x1c8053(0x115))['to'](_0x56558f,_0x1c8053(0x127)),this[_0x1c8053(0xc8)][_0x1c8053(0x11d)](_0x56558f),_0x56558f[_0x1c8053(0xf6)][_0x1c8053(0x11d)](_0x599ed7),this[_0x1c8053(0x104)](_0x549edf,_0x56558f),_0x197b41[_0x1c8053(0xcf)][_0x1c8053(0x11d)](_0x549edf),{'listItem':_0x197b41,'highlightView':_0x9ab16e};}[_0x31b758(0xc2)](_0x3ec9bb,_0x40dbb3,_0x2e2124){const _0x3a0723=_0x31b758,_0x5fa54d=new _0x1ef31f(this[_0x3a0723(0xd2)]);return _0x5fa54d[_0x3a0723(0x10e)]({'attributes':{'class':['ck',_0x3a0723(0xaf),_0x3a0723(0xf4),_0x3a0723(0x129)]}}),_0x40dbb3[_0x3a0723(0x11c)](_0x6c148d=>{const _0x32744f=_0x3a0723,_0x5e0f5f=new _0x5b930b(this[_0x32744f(0xd2)]),_0xc11fac=_0x2a181d({'editor':_0x3ec9bb,'action':_0x6c148d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x32744f(0xb5)]()})();_0x5e0f5f[_0x32744f(0xcf)][_0x32744f(0x11d)](_0xc11fac),_0x2e2124[_0x32744f(0xce)][_0x32744f(0x11d)](_0xc11fac),_0x5fa54d[_0x32744f(0x105)][_0x32744f(0x11d)](_0x5e0f5f);}),_0x5fa54d;}[_0x31b758(0x104)](_0x1b3d4d,_0x3ca27d){const _0x58bc67=_0x31b758,_0x57514a=_0x1b3d4d[_0x58bc67(0x11f)],_0x53cc62=this[_0x58bc67(0xe8)](_0x1b3d4d);_0x1b3d4d[_0x58bc67(0x10e)]({'attributes':{'class':[_0x58bc67(0xb2)]},'on':{'mouseenter':_0x57514a['to'](()=>{const _0x3e3b19=_0x58bc67;this[_0x3e3b19(0xbf)](_0x3ca27d,_0x1b3d4d);}),'mouseleave':_0x57514a['to'](_0x33ba8e=>{const _0x7d8683=_0x58bc67,_0x252f3b=_0x33ba8e[_0x7d8683(0x118)];this[_0x7d8683(0x10b)](_0x252f3b,_0x3ca27d)||this[_0x7d8683(0xe3)](_0x3ca27d);}),'keydown':_0x57514a['to'](_0x478ae2=>{const _0x2d7424=_0x58bc67;_0x478ae2[_0x2d7424(0xc6)]==_0x53cc62&&(this[_0x2d7424(0xbf)](_0x3ca27d,_0x1b3d4d),_0x3ca27d[_0x2d7424(0xf6)][_0x2d7424(0xc3)](0x0)[_0x2d7424(0x101)]());})}}),_0x3ca27d['on'](_0x58bc67(0x120),()=>{const _0x2bd4a3=_0x58bc67;_0x3ca27d[_0x2bd4a3(0x11a)]?.[_0x2bd4a3(0xa2)](_0x2bd4a3(0xac),_0x496508=>{const _0x190245=_0x2bd4a3,_0x156061=_0x496508[_0x190245(0x118)];_0x1b3d4d[_0x190245(0x11a)]?.[_0x190245(0xcc)](_0x156061)||this[_0x190245(0x10b)](_0x156061,_0x3ca27d)||this[_0x190245(0xe3)](_0x3ca27d);});});}[_0x31b758(0xbf)](_0xc691e1,_0x474fd){const _0x453a32=_0x31b758;this[_0x453a32(0xdd)][_0x453a32(0x11c)](_0x3727ff=>{const _0x4ecf28=_0x453a32;_0x3727ff!==_0xc691e1&&_0x3727ff[_0x4ecf28(0x127)]&&_0x3727ff[_0x4ecf28(0xb7)]();}),_0xc691e1[_0x453a32(0x110)](),_0xc691e1[_0x453a32(0xb4)]({'positions':[_0xeac3cd[_0x453a32(0xb0)]],'target':_0x474fd[_0x453a32(0x11a)],'fitInViewport':!0x0}),this[_0x453a32(0xdd)][_0x453a32(0x11d)](_0xc691e1);}[_0x31b758(0xe3)](_0x500111){const _0x1aa704=_0x31b758;_0x500111[_0x1aa704(0xb7)](),this[_0x1aa704(0xdd)][_0x1aa704(0xf5)](_0x500111);}[_0x31b758(0xc9)](){const _0x444d1c=_0x31b758;this[_0x444d1c(0xdd)][_0x444d1c(0x11c)](_0x3c96b8=>_0x3c96b8[_0x444d1c(0xb7)]()),this[_0x444d1c(0xdd)][_0x444d1c(0xf1)]();}[_0x31b758(0x10b)](_0x204be0,_0x1ebf2b){const _0x463053=_0x31b758;if(!_0x204be0)return!0x1;if(_0x1ebf2b[_0x463053(0x11a)]?.[_0x463053(0xcc)](_0x204be0))return!0x0;const _0x31604f=_0x204be0;return _0x31604f[_0x463053(0xa9)]&&(null!==_0x31604f[_0x463053(0xa9)](_0x463053(0x103))||null!==_0x31604f[_0x463053(0xa9)](_0x463053(0xda))||null!==_0x31604f[_0x463053(0xa9)](_0x463053(0xb9)));}[_0x31b758(0x102)](){const _0x3ecd91=_0x31b758;this[_0x3ecd91(0xd8)]&&this[_0x3ecd91(0xd8)][_0x3ecd91(0xdc)]();}[_0x31b758(0x10c)](){const _0x103044=_0x31b758;this[_0x103044(0xc9)](),this[_0x103044(0xc8)][_0x103044(0x117)](),super[_0x103044(0x10c)]();}[_0x31b758(0x101)](){const _0x3c5e61=_0x31b758;this[_0x3c5e61(0xd8)]?this[_0x3c5e61(0xd8)][_0x3c5e61(0x101)]():this[_0x3c5e61(0xe1)][_0x3c5e61(0x101)]();}[_0x31b758(0xec)](_0x4e23c6){const _0x5b6aaf=_0x31b758;return _0x5b6aaf(0xca)===_0x4e23c6[_0x5b6aaf(0xd2)][_0x5b6aaf(0xb8)]?_0x5b6aaf(0x111):_0x5b6aaf(0xe0);}[_0x31b758(0xe8)](_0x33dde5){const _0x44c1f5=_0x31b758;return _0x44c1f5(0xca)===_0x33dde5[_0x44c1f5(0xd2)][_0x44c1f5(0xb8)]?_0x44c1f5(0xe0):_0x44c1f5(0x111);}[_0x31b758(0x11b)](_0x181235,_0x2dd7b8,_0x1a2484,_0x416237){const _0x7b6c87=_0x31b758;_0x181235[_0x7b6c87(0xc6)]==_0x2dd7b8&&(_0x1a2484[_0x7b6c87(0x101)](),this[_0x7b6c87(0xe3)](_0x416237));}[_0x31b758(0xfa)](_0x54441f){const _0x450f30=_0x31b758;_0x54441f[_0x450f30(0xd5)](_0x450f30(0x108));}}
|