@ckeditor/ckeditor5-ai 47.5.0-alpha.7 → 47.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.d.ts +5 -2
- 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.d.ts +4 -2
- 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/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d755a=_0x563f;function _0x5a29(){const _0x138cfe=['aiQuickAction','22590TDELDz','selection','commands','change:range','has','62bhDeOe','856233kLeUqR','204510idQqdI','isOfficialPlugin','40YZAuFo','init','isPremiumPlugin','add','model','355XUyxMy','directChange','244IoFxOD','720549FNLPNs','get','10132716TEuWep','plugins','editor','pluginName','removeSelectionFromChatContext','document','14699sbJDFX','13467EhAdTQ','AIChat','AIQuickActionsEditing'];_0x5a29=function(){return _0x138cfe;};return _0x5a29();}function _0x563f(_0x56e4e6,_0x56b4ac){const _0x5a292a=_0x5a29();return _0x563f=function(_0x563fd2,_0xc84372){_0x563fd2=_0x563fd2-0xa5;let _0x424758=_0x5a292a[_0x563fd2];return _0x424758;},_0x563f(_0x56e4e6,_0x56b4ac);}(function(_0x4ef4c3,_0x1150f8){const _0x29e0be=_0x563f,_0x13d8a7=_0x4ef4c3();while(!![]){try{const _0x116af6=parseInt(_0x29e0be(0xbc))/0x1*(-parseInt(_0x29e0be(0xa8))/0x2)+-parseInt(_0x29e0be(0xbd))/0x3*(-parseInt(_0x29e0be(0xb3))/0x4)+parseInt(_0x29e0be(0xb1))/0x5*(parseInt(_0x29e0be(0xc1))/0x6)+parseInt(_0x29e0be(0xa9))/0x7*(-parseInt(_0x29e0be(0xac))/0x8)+-parseInt(_0x29e0be(0xb4))/0x9+parseInt(_0x29e0be(0xaa))/0xa+parseInt(_0x29e0be(0xb6))/0xb;if(_0x116af6===_0x1150f8)break;else _0x13d8a7['push'](_0x13d8a7['shift']());}catch(_0x3b29f8){_0x13d8a7['push'](_0x13d8a7['shift']());}}}(_0x5a29,0x51e42));import{Plugin as _0x3859cf}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x451467}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3859cf{static get[_0x1d755a(0xb9)](){const _0x22a29e=_0x1d755a;return _0x22a29e(0xbf);}static get[_0x1d755a(0xab)](){return!0x0;}static get[_0x1d755a(0xae)](){return!0x0;}[_0x1d755a(0xad)](){const _0xfbd6fc=_0x1d755a,_0x324281=this[_0xfbd6fc(0xb8)],_0x5b475b=new _0x451467(this[_0xfbd6fc(0xb8)]);if(_0x324281[_0xfbd6fc(0xa5)][_0xfbd6fc(0xaf)](_0xfbd6fc(0xc0),_0x5b475b),_0x324281[_0xfbd6fc(0xb7)][_0xfbd6fc(0xa7)](_0xfbd6fc(0xbe))){const _0x13af80=this[_0xfbd6fc(0xb8)][_0xfbd6fc(0xb7)][_0xfbd6fc(0xb5)](_0xfbd6fc(0xbe));_0x324281[_0xfbd6fc(0xb0)][_0xfbd6fc(0xbb)][_0xfbd6fc(0xc2)]['on'](_0xfbd6fc(0xa6),(_0x5d19f4,_0xa2608)=>{const _0x1fe93c=_0xfbd6fc;_0xa2608[_0x1fe93c(0xb2)]&&_0x13af80[_0x1fe93c(0xba)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x36927b=_0x36a1;(function(_0xc87284,_0x57d0e9){const _0x2c1896=_0x36a1,_0x1548e0=_0xc87284();while(!![]){try{const _0x7b5883=-parseInt(_0x2c1896(0x16c))/0x1*(-parseInt(_0x2c1896(0x15a))/0x2)+parseInt(_0x2c1896(0x162))/0x3*(parseInt(_0x2c1896(0x16f))/0x4)+parseInt(_0x2c1896(0x1b2))/0x5*(-parseInt(_0x2c1896(0x1a0))/0x6)+-parseInt(_0x2c1896(0x1ad))/0x7+parseInt(_0x2c1896(0x1af))/0x8+parseInt(_0x2c1896(0x172))/0x9*(-parseInt(_0x2c1896(0x142))/0xa)+parseInt(_0x2c1896(0x163))/0xb*(parseInt(_0x2c1896(0x120))/0xc);if(_0x7b5883===_0x57d0e9)break;else _0x1548e0['push'](_0x1548e0['shift']());}catch(_0x1a3ce8){_0x1548e0['push'](_0x1548e0['shift']());}}}(_0x2287,0x97617));import{IconAIAdjustLength as _0x3ed571,IconAIChangeTone as _0x5767b5,IconAIChatCommands as _0x408568,IconAIContinueWriting as _0x23d146,IconAIGrammarCheck as _0x485354,IconAIImproveWriting as _0x9926f6,IconAIOther as _0x2b5dac,IconAIQuickActions as _0x304618,IconAITranslate as _0x90e4be}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x54b126}from'ckeditor5/src/core.js';import{CKEditorError as _0xf61b14,logError as _0x2a88db}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c69c3}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4c178d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2aa5b1}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x252b8d,BalloonToolbar as _0x21346e,MenuBarMenuView as _0x55a3ef,MenuBarMenuListView as _0x66a3a2,MenuBarMenuListItemView as _0x2ace97,MenuBarMenuListItemButtonView as _0x393cea}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x4e1863}from'../aicore/model/aimodels.js';import{AIConnector as _0x183c6c}from'../aicore/aiconnector.js';const le=_0x36927b(0x14c),ue=_0x36927b(0x135),de=_0x36927b(0x14e);function _0x36a1(_0x16d6cd,_0x429761){const _0x228727=_0x2287();return _0x36a1=function(_0x36a138,_0x2c675c){_0x36a138=_0x36a138-0x114;let _0x277a46=_0x228727[_0x36a138];return _0x277a46;},_0x36a1(_0x16d6cd,_0x429761);}export var AIQuickActionType;!function(_0x46f9fc){const _0x275046=_0x36927b;_0x46f9fc[_0x275046(0x150)]=_0x275046(0x150),_0x46f9fc[_0x275046(0x166)]=_0x275046(0x166),_0x46f9fc[_0x275046(0x153)]=_0x275046(0x153);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3ce33a){const _0x395b10=_0x36927b;_0x3ce33a[_0x395b10(0x150)]=_0x395b10(0x157),_0x3ce33a[_0x395b10(0x166)]=_0x395b10(0x127),_0x3ce33a[_0x395b10(0x153)]=_0x395b10(0x15b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x54b126{static get[_0x36927b(0x1a9)](){return[_0x21346e,_0x183c6c];}static get[_0x36927b(0x158)](){const _0x21e8c6=_0x36927b;return _0x21e8c6(0x15f);}static get[_0x36927b(0x168)](){return!0x0;}static get[_0x36927b(0x18d)](){return!0x0;}async[_0x36927b(0x13a)](){const _0x3c4b6f=_0x36927b,_0xc66d78=await this[_0x3c4b6f(0x17e)]();this[_0x3c4b6f(0x129)](_0xc66d78),this[_0x3c4b6f(0x164)]();}static[_0x36927b(0x1b5)](_0x34e62d){return function(_0x14a5dc){const _0xd59867=_0x36a1,_0x36aabb=new Intl[(_0xd59867(0x156))](['en'],{'type':_0xd59867(0x167)})['of'](_0x14a5dc[_0xd59867(0x152)]),_0x4b9745=_0x36aabb||_0xd59867(0x128),_0x26ac7b=[{'id':_0xd59867(0x165),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x1a7)),'type':AIQuickActionType[_0xd59867(0x150)],'icon':_0x408568},{'id':_0xd59867(0x145),'label':_0x4c69c3(_0x14a5dc,_0xd59867(0x131)),'icon':_0x408568,'actions':[{'id':_0xd59867(0x171),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x138)),'prompt':le[_0xd59867(0x19c)]('%0',_0x4b9745),'type':AIQuickActionType[_0xd59867(0x150)]},{'id':_0xd59867(0x1b3),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x159)),'prompt':ue[_0xd59867(0x19c)]('%0',_0x4b9745),'type':AIQuickActionType[_0xd59867(0x150)]},{'id':_0xd59867(0x169),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x12f)),'prompt':de[_0xd59867(0x19c)]('%0',_0x4b9745),'type':AIQuickActionType[_0xd59867(0x150)]}]},{'id':_0xd59867(0x137),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x118)),'type':AIQuickActionType[_0xd59867(0x166)],'icon':_0x9926f6},{'id':_0xd59867(0x17a),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x151)),'type':AIQuickActionType[_0xd59867(0x166)],'icon':_0x23d146},{'id':_0xd59867(0x14f),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x189)),'type':AIQuickActionType[_0xd59867(0x166)],'icon':_0x485354},{'id':_0xd59867(0x1b6),'label':_0x4c69c3(_0x14a5dc,_0xd59867(0x140)),'icon':_0x3ed571,'actions':[{'id':_0xd59867(0x1b0),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x199)),'type':AIQuickActionType[_0xd59867(0x166)]},{'id':_0xd59867(0x1a5),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x17b)),'type':AIQuickActionType[_0xd59867(0x166)]}]},{'id':_0xd59867(0x123),'label':_0x4c69c3(_0x14a5dc,_0xd59867(0x119)),'icon':_0x5767b5,'actions':[{'id':_0xd59867(0x11c),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x1b1)),'type':AIQuickActionType[_0xd59867(0x166)]},{'id':_0xd59867(0x15d),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x15e)),'type':AIQuickActionType[_0xd59867(0x166)]},{'id':_0xd59867(0x114),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x196)),'type':AIQuickActionType[_0xd59867(0x166)]},{'id':_0xd59867(0x16b),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x184)),'type':AIQuickActionType[_0xd59867(0x166)]},{'id':_0xd59867(0x1a6),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x1ae)),'type':AIQuickActionType[_0xd59867(0x166)]}]},{'id':_0xd59867(0x12e),'label':_0x4c69c3(_0x14a5dc,_0xd59867(0x1b4)),'icon':_0x90e4be,'actions':[{'id':_0xd59867(0x197),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x195)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x1a4)}},{'id':_0xd59867(0x175),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x18a)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x132)}},{'id':_0xd59867(0x198),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x192)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x191)}},{'id':_0xd59867(0x122),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x190)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x19f)}},{'id':_0xd59867(0x1a3),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x18f)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x12b)}},{'id':_0xd59867(0x143),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x19b)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x13b)}},{'id':_0xd59867(0x11d),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x130)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x11a)}},{'id':_0xd59867(0x1a8),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x11e)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x176)}},{'id':_0xd59867(0x182),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x186)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x11b)}},{'id':_0xd59867(0x155),'displayedPrompt':_0x4c69c3(_0x14a5dc,_0xd59867(0x136)),'type':AIQuickActionType[_0xd59867(0x166)],'actionName':_0xd59867(0x12e),'args':{'language':_0xd59867(0x19e)}}]},{'id':_0xd59867(0x179),'label':_0x4c69c3(_0x14a5dc,_0xd59867(0x124)),'icon':_0x2b5dac,'actions':[]}];return _0x26ac7b;}(_0x34e62d);}async[_0x36927b(0x17e)](){const _0x1a9a4b=_0x36927b,_0x16a909=AIQuickActionsUI[_0x1a9a4b(0x1b5)](this[_0x1a9a4b(0x18b)][_0x1a9a4b(0x185)]),_0x4906a0=this[_0x1a9a4b(0x18b)][_0x1a9a4b(0x180)][_0x1a9a4b(0x17c)](_0x1a9a4b(0x11f))||[];let _0x2c2bcb=[];try{_0x2c2bcb=await new _0x4e1863({'connector':this[_0x1a9a4b(0x18b)][_0x1a9a4b(0x12a)][_0x1a9a4b(0x17c)](_0x1a9a4b(0x133)),'locale':this[_0x1a9a4b(0x18b)][_0x1a9a4b(0x185)]})[_0x1a9a4b(0x187)]();}catch(_0x3826a7){const _0x2028f6=new _0xf61b14(_0x1a9a4b(0x19d),this,{'error':_0x3826a7});_0x2a88db(_0x2028f6[_0x1a9a4b(0x12d)]);}finally{const _0x28395f=_0x4906a0[_0x1a9a4b(0x117)](_0x4c38a4=>({..._0x4c38a4,'icon':void 0x0}));_0x16a909[_0x1a9a4b(0x16e)](_0x3a4a69=>_0x1a9a4b(0x179)===_0x3a4a69['id'])[_0x1a9a4b(0x14b)][_0x1a9a4b(0x13f)](..._0x28395f),_0x16a909[_0x1a9a4b(0x13d)](_0x34d6a3=>{const _0x502965=_0x1a9a4b;if(_0x502965(0x14b)in _0x34d6a3)_0x34d6a3[_0x502965(0x14b)][_0x502965(0x13d)](_0x5f1439=>{const _0x2f250a=_0x502965;if(_0x5f1439[_0x2f250a(0x115)]=!!_0x2c2bcb[_0x2f250a(0x16e)](_0x340a25=>_0x340a25['id']===_0x5f1439[_0x2f250a(0x174)])||void 0x0===_0x5f1439[_0x2f250a(0x174)],!_0x5f1439[_0x2f250a(0x115)]){const _0x260d7e=new _0xf61b14(_0x2f250a(0x173),this,{'actionId':_0x5f1439['id'],'modelId':_0x5f1439[_0x2f250a(0x174)]});_0x2a88db(_0x260d7e[_0x2f250a(0x12d)]);}});else{if(_0x34d6a3[_0x502965(0x115)]=!!_0x2c2bcb[_0x502965(0x16e)](_0xaaa2df=>_0xaaa2df['id']===_0x34d6a3[_0x502965(0x174)])||void 0x0===_0x34d6a3[_0x502965(0x174)],!_0x34d6a3[_0x502965(0x115)]){const _0x38b21f=new _0xf61b14(_0x502965(0x173),this,{'actionId':_0x34d6a3['id'],'modelId':_0x34d6a3[_0x502965(0x174)]});_0x2a88db(_0x38b21f[_0x502965(0x12d)]);}}});}return _0x16a909;}[_0x36927b(0x164)](){const _0x42303b=_0x36927b,_0x5517fa=new _0x252b8d(this[_0x42303b(0x18b)][_0x42303b(0x185)]);_0x5517fa[_0x42303b(0x147)](),this[_0x42303b(0x18c)](_0x5517fa),this[_0x42303b(0x17d)](),this[_0x42303b(0x177)](_0x5517fa);}[_0x36927b(0x18c)](_0x4a08c5){const _0x1ce2ce=_0x36927b,_0x34c9d1=this[_0x1ce2ce(0x18b)][_0x1ce2ce(0x180)][_0x1ce2ce(0x17c)](_0x1ce2ce(0x154))??!0x0;this[_0x1ce2ce(0x18b)]['ui'][_0x1ce2ce(0x1ac)][_0x1ce2ce(0x188)](_0x1ce2ce(0x18e),_0x4c178d({'editor':this[_0x1ce2ce(0x18b)],'content':this[_0x1ce2ce(0x141)],'buttonDefinition':{'icon':_0x304618,'label':_0x4c69c3(this[_0x1ce2ce(0x18b)][_0x1ce2ce(0x185)],_0x1ce2ce(0x161))},'bodyCollection':_0x4a08c5,'hasSearch':_0x34c9d1}));}[_0x36927b(0x129)](_0x491c9f){const _0x1c66b4=_0x36927b;this[_0x1c66b4(0x141)]=_0x491c9f[_0x1c66b4(0x117)](_0x32caf5=>{const _0x2a266f=_0x1c66b4;if(_0x2a266f(0x14b)in _0x32caf5){const _0x343707=_0x32caf5;return{..._0x343707,'actions':_0x343707[_0x2a266f(0x14b)][_0x2a266f(0x117)](_0x15a39e=>{const {actions:_0x584515,..._0x5e08a3}=_0x343707;return{..._0x15a39e,'parent':_0x5e08a3};})[_0x2a266f(0x126)](_0x54dc66=>this[_0x2a266f(0x139)](_0x54dc66))};}return _0x32caf5;})[_0x1c66b4(0x126)](_0x349789=>_0x1c66b4(0x14b)in _0x349789?_0x349789[_0x1c66b4(0x14b)][_0x1c66b4(0x13e)]>0x0:this[_0x1c66b4(0x139)](_0x349789));}[_0x36927b(0x139)](_0x519c3c){const _0x3dfd96=_0x36927b,_0x4c34a5=this[_0x3dfd96(0x18b)][_0x3dfd96(0x180)][_0x3dfd96(0x17c)](_0x3dfd96(0x1ab))||[];return this[_0x3dfd96(0x18b)][_0x3dfd96(0x12a)][_0x3dfd96(0x170)](AIQuickActionTypeToPluginName[_0x519c3c[_0x3dfd96(0x183)]])&&!_0x4c34a5[_0x3dfd96(0x14a)](_0x519c3c['id'])&&!(_0x519c3c[_0x3dfd96(0x183)]===AIQuickActionType[_0x3dfd96(0x150)]&&!0x1===this[_0x3dfd96(0x18b)][_0x3dfd96(0x180)][_0x3dfd96(0x17c)](_0x3dfd96(0x14d)));}[_0x36927b(0x177)](_0x215d38){const _0x22de28=_0x36927b;this[_0x22de28(0x141)][_0x22de28(0x13d)](_0x28b6a0=>{const _0x3c042f=_0x22de28;if(_0x3c042f(0x14b)in _0x28b6a0){const _0x5cbb28=_0x4c178d({'editor':this[_0x3c042f(0x18b)],'content':_0x28b6a0[_0x3c042f(0x14b)],'buttonDefinition':_0x28b6a0,'bodyCollection':_0x215d38});this[_0x3c042f(0x18b)]['ui'][_0x3c042f(0x1ac)][_0x3c042f(0x188)](_0x28b6a0['id'],_0x5cbb28),_0x28b6a0[_0x3c042f(0x14b)][_0x3c042f(0x13d)](_0x192365=>{const _0x517969=_0x3c042f,_0x5666e0=_0x2aa5b1({'editor':this[_0x517969(0x18b)],'action':_0x192365});this[_0x517969(0x18b)]['ui'][_0x517969(0x1ac)][_0x517969(0x188)](_0x192365['id'],_0x5666e0);});}else{const _0x17b077=_0x2aa5b1({'editor':this[_0x3c042f(0x18b)],'action':_0x28b6a0,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3c042f(0x18b)]['ui'][_0x3c042f(0x1ac)][_0x3c042f(0x188)](_0x28b6a0['id'],_0x17b077);}});}[_0x36927b(0x17d)](){const _0xdcf8c6=_0x36927b;this[_0xdcf8c6(0x18b)]['ui'][_0xdcf8c6(0x1ac)][_0xdcf8c6(0x188)](_0xdcf8c6(0x13c),_0xcbbcca=>{const _0x33d966=_0xdcf8c6,_0x147c64=new _0x55a3ef(_0xcbbcca),_0x5bb48c=_0x4c69c3(_0xcbbcca,_0x33d966(0x161));_0x147c64[_0x33d966(0x121)][_0x33d966(0x144)]({'label':_0x5bb48c,'icon':_0x304618});const _0x27172b=new _0x66a3a2(_0xcbbcca);_0x27172b[_0x33d966(0x144)]({'ariaLabel':_0x5bb48c,'role':_0x33d966(0x15c)}),this[_0x33d966(0x141)][_0x33d966(0x13d)](_0x3a2125=>{const _0xfbcfd6=_0x33d966;if(_0xfbcfd6(0x14b)in _0x3a2125){const _0x1c489e=_0x3a2125,_0x58e315=new _0x2ace97(_0xcbbcca,_0x147c64),_0x8af1b7=new _0x55a3ef(_0xcbbcca),_0x5ef6f2=new _0x66a3a2(_0xcbbcca);_0x8af1b7[_0xfbcfd6(0x121)][_0xfbcfd6(0x144)]({'label':_0x1c489e[_0xfbcfd6(0x178)],'icon':_0x1c489e[_0xfbcfd6(0x148)]}),_0x1c489e[_0xfbcfd6(0x14b)][_0xfbcfd6(0x13d)](_0x56fc9d=>{const _0x48df6c=_0xfbcfd6,_0x80974f=new _0x2ace97(_0xcbbcca,_0x8af1b7),_0xed628c=new _0x393cea(_0xcbbcca);_0xed628c[_0x48df6c(0x144)]({'label':_0x56fc9d[_0x48df6c(0x134)],'icon':_0x56fc9d[_0x48df6c(0x148)],'role':_0x48df6c(0x193),'isEnabled':_0x56fc9d[_0x48df6c(0x115)]}),_0xed628c['on'](_0x48df6c(0x1aa),()=>{const _0x51ae30=_0x48df6c;this[_0x51ae30(0x146)](_0x56fc9d);}),_0xed628c[_0x48df6c(0x16d)](_0x48df6c(0x1aa))['to'](_0x8af1b7),_0x80974f[_0x48df6c(0x16a)][_0x48df6c(0x188)](_0xed628c),_0x5ef6f2[_0x48df6c(0x116)][_0x48df6c(0x188)](_0x80974f);}),_0x8af1b7[_0xfbcfd6(0x1a1)][_0xfbcfd6(0x16a)][_0xfbcfd6(0x188)](_0x5ef6f2),_0x58e315[_0xfbcfd6(0x16a)][_0xfbcfd6(0x188)](_0x8af1b7),_0x27172b[_0xfbcfd6(0x116)][_0xfbcfd6(0x188)](_0x58e315);}else{const _0x51b67a=_0x3a2125,_0x3bd84b=new _0x2ace97(_0xcbbcca,_0x147c64),_0x3f6903=new _0x393cea(_0xcbbcca);_0x3f6903[_0xfbcfd6(0x144)]({'label':_0x51b67a[_0xfbcfd6(0x134)],'icon':_0x51b67a[_0xfbcfd6(0x148)],'role':_0xfbcfd6(0x193),'isEnabled':_0x51b67a[_0xfbcfd6(0x115)]}),_0x3f6903['on'](_0xfbcfd6(0x1aa),()=>{const _0x3e2c9c=_0xfbcfd6;this[_0x3e2c9c(0x146)](_0x51b67a);}),_0x3f6903[_0xfbcfd6(0x16d)](_0xfbcfd6(0x1aa))['to'](_0x147c64),_0x3bd84b[_0xfbcfd6(0x16a)][_0xfbcfd6(0x188)](_0x3f6903),_0x27172b[_0xfbcfd6(0x116)][_0xfbcfd6(0x188)](_0x3bd84b);}});const _0x569f36=Object[_0x33d966(0x149)](AIQuickActionTypeToPluginName)[_0x33d966(0x17f)](_0x18c6ef=>this[_0x33d966(0x18b)][_0x33d966(0x12a)][_0x33d966(0x170)](_0x18c6ef));return _0x147c64[_0x33d966(0x144)]({'isEnabled':_0x569f36}),_0x147c64[_0x33d966(0x1a1)][_0x33d966(0x16a)][_0x33d966(0x188)](_0x27172b),_0x147c64;});}[_0x36927b(0x146)](_0x1a3341){const _0x98df61=_0x36927b,_0x3f18dc=this[_0x98df61(0x18b)];_0x3f18dc[_0x98df61(0x12c)][_0x98df61(0x125)][_0x98df61(0x181)](),_0x3f18dc[_0x98df61(0x160)][_0x98df61(0x1aa)](_0x98df61(0x1a2),_0x1a3341);const _0x4f3f35=_0x3f18dc['ui'][_0x98df61(0x125)][_0x98df61(0x19a)];_0x4f3f35&&_0x4f3f35[_0x98df61(0x194)]&&_0x4f3f35[_0x98df61(0x194)]();}}function _0x2287(){const _0x503559=['make-tone-casual','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','ai.quickActions.extraCommands','1094952RsaYaG','buttonView','translate-to-german','change-tone','AI_QUICK_ACTIONS_OTHER','view','filter','AIActions','English','_prepareQuickActionsDefinition','plugins','french','editing','message','translate','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_CHAT_COMMANDS','chinese','AIConnector','displayedPrompt','<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_RUSSIAN','improve-writing','AI_QUICK_ACTIONS_EXPLAIN','_shouldIncludeAction','init','japanese','menuBar:aiQuickActions','forEach','length','push','AI_QUICK_ACTIONS_ADJUST_LENGTH','_quickActionsDefinition','230hjHQDj','translate-to-japanese','set','chat-commands','_executeQuickAction','attachToDom','icon','values','includes','actions','<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.chat.context.document.enabled','<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>','fix-grammar','CHAT','AI_QUICK_ACTIONS_CONTINUE_WRITING','uiLanguage','REVIEW','ai.quickActions.isSearchEnabled','translate-to-russian','DisplayNames','AIChat','pluginName','AI_QUICK_ACTIONS_SUMMARIZE','1724008QvAWtX','AIReviewMode','menu','make-tone-direct','AI_QUICK_ACTIONS_MORE_DIRECT','AIQuickActionsUI','commands','AI_QUICK_ACTIONS_HEADING','1077oWRJyn','176fRXUTX','_initializeQuickActionsComponentsAndCommands','ask-ai','ACTION','language','isOfficialPlugin','highlight-key-points','children','make-tone-confident','1WKgCTn','delegate','find','5044RsUTJl','has','explain','249426yTzOfn','ai-quick-actions-unavailable-model','model','translate-to-chinese','korean','_initializeQuickActionsComponents','label','other','continue','AI_QUICK_ACTIONS_MAKE_LONGER','get','_initializeQuickActionsMenuBar','_getDefaultAndCustomActions','some','config','focus','translate-to-italian','type','AI_QUICK_ACTIONS_MORE_CONFIDENT','locale','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','getAll','add','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','editor','_initializeQuickActionsDropdown','isPremiumPlugin','aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','spanish','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','menuitem','close','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-english','translate-to-spanish','AI_QUICK_ACTIONS_MAKE_SHORTER','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','replace','ai-quick-actions-models-unable-to-retrieve','russian','german','25626sCCfTa','panelView','aiQuickAction','translate-to-french','english','make-longer','make-tone-professional','AI_QUICK_ACTIONS_ASK_AI','translate-to-korean','requires','execute','ai.quickActions.removeCommands','componentFactory','6608966lUWMus','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','3171944pizJqm','make-shorter','AI_QUICK_ACTIONS_MORE_CASUAL','1135rDzXFe','summarize','AI_QUICK_ACTIONS_TRANSLATE','getDefaultQuickActions','adjust-length','make-tone-friendly','isEnabled','items','map','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_CHANGE_TONE','portuguese','italian'];_0x2287=function(){return _0x503559;};return _0x2287();}
|
|
23
|
+
const _0x6c69c5=_0x5a99;(function(_0x42c1bc,_0x30ff60){const _0x3750da=_0x5a99,_0x5afcd9=_0x42c1bc();while(!![]){try{const _0x22dd55=-parseInt(_0x3750da(0x1f5))/0x1*(parseInt(_0x3750da(0x20c))/0x2)+parseInt(_0x3750da(0x21e))/0x3*(-parseInt(_0x3750da(0x246))/0x4)+parseInt(_0x3750da(0x1cb))/0x5*(-parseInt(_0x3750da(0x23a))/0x6)+parseInt(_0x3750da(0x1c9))/0x7+-parseInt(_0x3750da(0x1ee))/0x8+-parseInt(_0x3750da(0x201))/0x9*(-parseInt(_0x3750da(0x20a))/0xa)+parseInt(_0x3750da(0x245))/0xb;if(_0x22dd55===_0x30ff60)break;else _0x5afcd9['push'](_0x5afcd9['shift']());}catch(_0x22cde0){_0x5afcd9['push'](_0x5afcd9['shift']());}}}(_0x15ca,0x94170));import{IconAIAdjustLength as _0x2a09b8,IconAIChangeTone as _0x3956c4,IconAIChatCommands as _0x28ecd3,IconAIContinueWriting as _0x3eca45,IconAIGrammarCheck as _0x5cdfd8,IconAIImproveWriting as _0x4802ca,IconAIOther as _0x59d53c,IconAIQuickActions as _0x3da2f0,IconAITranslate as _0x262a83}from'@ckeditor/ckeditor5-icons';function _0x15ca(){const _0x496232=['AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','portuguese','aiQuickAction','set','delegate','summarize','<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>','map','AIConnector','AI_QUICK_ACTIONS_MORE_CONFIDENT','add','russian','english','translate-to-korean','AI_QUICK_ACTIONS_CONTINUE_WRITING','1394827xhRMNV','translate-to-english','10305WNUwfo','find','CHAT','ai.quickActions.isSearchEnabled','isEnabled','isPremiumPlugin','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_getDefaultAndCustomActions','ai.quickActions.removeCommands','ask-ai','uiLanguage','editing','label','locale','make-longer','children','displayedPrompt','AI_QUICK_ACTIONS_SUMMARIZE','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','componentFactory','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','_prepareQuickActionsDefinition','make-tone-confident','chat-commands','menuBar:aiQuickActions','icon','forEach','fix-grammar','translate-to-russian','aiQuickActions','_executeQuickAction','type','some','2090120puUJYJ','japanese','other','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','requires','attachToDom','817393GMTliW','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_quickActionsDefinition','actions','execute','language','AIActions','change-tone','translate-to-german','length','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-spanish','7222608XIJxQw','getDefaultQuickActions','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','translate','menu','make-tone-friendly','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','10WEWYlc','make-shorter','2XrnWsg','AI_QUICK_ACTIONS_MAKE_SHORTER','getAll','plugins','_initializeQuickActionsComponents','buttonView','ai-quick-actions-unavailable-model','german','spanish','has','french','init','AI_QUICK_ACTIONS_CHANGE_TONE','ai-quick-actions-models-unable-to-retrieve','translate-to-chinese','focus','make-tone-professional','replace','3436872KZgWeE','AI_QUICK_ACTIONS_MORE_CASUAL','menuBarView','AI_QUICK_ACTIONS_MAKE_LONGER','isOfficialPlugin','editor','ai.quickActions.extraCommands','translate-to-portuguese','_shouldIncludeAction','DisplayNames','AI_QUICK_ACTIONS_TRANSLATE','korean','AI_QUICK_ACTIONS_ASK_AI','ACTION','<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>','translate-to-italian','commands','AIChat','AI_QUICK_ACTIONS_ADJUST_LENGTH','_initializeQuickActionsMenuBar','explain','includes','continue','highlight-key-points','items','pluginName','panelView','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','2718zxHMrP','config','filter','menuitem','AI_QUICK_ACTIONS_IMPROVE_WRITING','values','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIQuickActionsUI','model','ai.chat.context.document.enabled','30389898IJdTgt','4NFCVmm','italian','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_MORE_FRIENDLY','AIReviewMode','message','<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_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_OTHER','_initializeQuickActionsComponentsAndCommands','close','view','get','push','English','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','chinese','translate-to-french','make-tone-casual','make-tone-direct','adjust-length','translate-to-japanese'];_0x15ca=function(){return _0x496232;};return _0x15ca();}import{Plugin as _0x413e75}from'ckeditor5/src/core.js';import{CKEditorError as _0x4c0982,logError as _0x3b58d4}from'ckeditor5/src/utils.js';import{getTranslation as _0x2ac32e}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x25e3ca}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x152700}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0xe7ce96,BalloonToolbar as _0x231330,MenuBarMenuView as _0x5b4294,MenuBarMenuListView as _0x418bbf,MenuBarMenuListItemView as _0xc567ab,MenuBarMenuListItemButtonView as _0x5d9a80}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x5a99(_0x389f02,_0x55f1b0){const _0x15caa0=_0x15ca();return _0x5a99=function(_0x5a999b,_0x597dc5){_0x5a999b=_0x5a999b-0x1bd;let _0x19c7ce=_0x15caa0[_0x5a999b];return _0x19c7ce;},_0x5a99(_0x389f02,_0x55f1b0);}import{AIModels as _0x3b4bab}from'../aicore/model/aimodels.js';import{AIConnector as _0x488c05}from'../aicore/aiconnector.js';const Zt=_0x6c69c5(0x24c),te=_0x6c69c5(0x22c),ee=_0x6c69c5(0x1c0);export var AIQuickActionType;!function(_0x5a343b){const _0x4ecc69=_0x6c69c5;_0x5a343b[_0x4ecc69(0x1cd)]=_0x4ecc69(0x1cd),_0x5a343b[_0x4ecc69(0x22b)]=_0x4ecc69(0x22b),_0x5a343b[_0x4ecc69(0x1f1)]=_0x4ecc69(0x1f1);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x17144a){const _0x271349=_0x6c69c5;_0x17144a[_0x271349(0x1cd)]=_0x271349(0x22f),_0x17144a[_0x271349(0x22b)]=_0x271349(0x1fb),_0x17144a[_0x271349(0x1f1)]=_0x271349(0x24a);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x413e75{static get[_0x6c69c5(0x1f3)](){return[_0x231330,_0x488c05];}static get[_0x6c69c5(0x237)](){const _0x2ba347=_0x6c69c5;return _0x2ba347(0x242);}static get[_0x6c69c5(0x222)](){return!0x0;}static get[_0x6c69c5(0x1d0)](){return!0x0;}async[_0x6c69c5(0x217)](){const _0x54e1ab=_0x6c69c5,_0x1ba07d=await this[_0x54e1ab(0x1d2)]();this[_0x54e1ab(0x1e2)](_0x1ba07d),this[_0x54e1ab(0x24f)]();}static[_0x6c69c5(0x202)](_0x55a1bb){return function(_0x52f95b){const _0x4360fc=_0x5a99,_0x17ae81=new Intl[(_0x4360fc(0x227))](['en'],{'type':_0x4360fc(0x1fa)})['of'](_0x52f95b[_0x4360fc(0x1d5)]),_0x31f3f8=_0x17ae81||_0x4360fc(0x254),_0x5b05f3=[{'id':_0x4360fc(0x1d4),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x22a)),'type':AIQuickActionType[_0x4360fc(0x1cd)],'icon':_0x28ecd3},{'id':_0x4360fc(0x1e4),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x207)),'icon':_0x28ecd3,'actions':[{'id':_0x4360fc(0x232),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1de)),'prompt':Zt[_0x4360fc(0x21d)]('%0',_0x31f3f8),'type':AIQuickActionType[_0x4360fc(0x1cd)]},{'id':_0x4360fc(0x1bf),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1dc)),'prompt':te[_0x4360fc(0x21d)]('%0',_0x31f3f8),'type':AIQuickActionType[_0x4360fc(0x1cd)]},{'id':_0x4360fc(0x235),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1e1)),'prompt':ee[_0x4360fc(0x21d)]('%0',_0x31f3f8),'type':AIQuickActionType[_0x4360fc(0x1cd)]}]},{'id':_0x4360fc(0x240),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x23e)),'type':AIQuickActionType[_0x4360fc(0x22b)],'icon':_0x4802ca},{'id':_0x4360fc(0x234),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1c8)),'type':AIQuickActionType[_0x4360fc(0x22b)],'icon':_0x3eca45},{'id':_0x4360fc(0x1e8),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x203)),'type':AIQuickActionType[_0x4360fc(0x22b)],'icon':_0x5cdfd8},{'id':_0x4360fc(0x25a),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x230)),'icon':_0x2a09b8,'actions':[{'id':_0x4360fc(0x20b),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x20d)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x1d9),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x221)),'type':AIQuickActionType[_0x4360fc(0x22b)]}]},{'id':_0x4360fc(0x1fc),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x218)),'icon':_0x3956c4,'actions':[{'id':_0x4360fc(0x258),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x21f)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x259),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1ff)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x206),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x249)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x1e3),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1c3)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x21c),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1f6)),'type':AIQuickActionType[_0x4360fc(0x22b)]}]},{'id':_0x4360fc(0x204),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x228)),'icon':_0x262a83,'actions':[{'id':_0x4360fc(0x1ca),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x241)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x1c6)}},{'id':_0x4360fc(0x21a),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1d1)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x256)}},{'id':_0x4360fc(0x200),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x24d)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x214)}},{'id':_0x4360fc(0x1fd),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1f2)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x213)}},{'id':_0x4360fc(0x257),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x208)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x216)}},{'id':_0x4360fc(0x25b),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x248)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x1ef)}},{'id':_0x4360fc(0x225),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x255)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x25d)}},{'id':_0x4360fc(0x1c7),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x209)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x229)}},{'id':_0x4360fc(0x22d),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x25c)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x247)}},{'id':_0x4360fc(0x1e9),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x239)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x1c5)}}]},{'id':_0x4360fc(0x1f0),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x24e)),'icon':_0x59d53c,'actions':[]}];return _0x5b05f3;}(_0x55a1bb);}async[_0x6c69c5(0x1d2)](){const _0x21c8de=_0x6c69c5,_0x5e1b18=AIQuickActionsUI[_0x21c8de(0x202)](this[_0x21c8de(0x223)][_0x21c8de(0x1d8)]),_0x2adee7=this[_0x21c8de(0x223)][_0x21c8de(0x23b)][_0x21c8de(0x252)](_0x21c8de(0x224))||[];let _0x1068be=[];try{_0x1068be=await new _0x3b4bab({'connector':this[_0x21c8de(0x223)][_0x21c8de(0x20f)][_0x21c8de(0x252)](_0x21c8de(0x1c2)),'locale':this[_0x21c8de(0x223)][_0x21c8de(0x1d8)]})[_0x21c8de(0x20e)]();}catch(_0x1f4392){const _0x995be6=new _0x4c0982(_0x21c8de(0x219),this,{'error':_0x1f4392});_0x3b58d4(_0x995be6[_0x21c8de(0x24b)]);}finally{const _0x1b4812=_0x2adee7[_0x21c8de(0x1c1)](_0x50b7d5=>({..._0x50b7d5,'icon':void 0x0}));_0x5e1b18[_0x21c8de(0x1cc)](_0x4371d2=>_0x21c8de(0x1f0)===_0x4371d2['id'])[_0x21c8de(0x1f8)][_0x21c8de(0x253)](..._0x1b4812),_0x5e1b18[_0x21c8de(0x1e7)](_0x2b57d1=>{const _0x32d93c=_0x21c8de;if(_0x32d93c(0x1f8)in _0x2b57d1)_0x2b57d1[_0x32d93c(0x1f8)][_0x32d93c(0x1e7)](_0x1c404e=>{const _0x20d2a8=_0x32d93c;if(_0x1c404e[_0x20d2a8(0x1cf)]=!!_0x1068be[_0x20d2a8(0x1cc)](_0x25ee49=>_0x25ee49['id']===_0x1c404e[_0x20d2a8(0x243)])||void 0x0===_0x1c404e[_0x20d2a8(0x243)],!_0x1c404e[_0x20d2a8(0x1cf)]){const _0x3d0418=new _0x4c0982(_0x20d2a8(0x212),this,{'actionId':_0x1c404e['id'],'modelId':_0x1c404e[_0x20d2a8(0x243)]});_0x3b58d4(_0x3d0418[_0x20d2a8(0x24b)]);}});else{if(_0x2b57d1[_0x32d93c(0x1cf)]=!!_0x1068be[_0x32d93c(0x1cc)](_0x294c48=>_0x294c48['id']===_0x2b57d1[_0x32d93c(0x243)])||void 0x0===_0x2b57d1[_0x32d93c(0x243)],!_0x2b57d1[_0x32d93c(0x1cf)]){const _0x25cd41=new _0x4c0982(_0x32d93c(0x212),this,{'actionId':_0x2b57d1['id'],'modelId':_0x2b57d1[_0x32d93c(0x243)]});_0x3b58d4(_0x25cd41[_0x32d93c(0x24b)]);}}});}return _0x5e1b18;}[_0x6c69c5(0x24f)](){const _0x341052=_0x6c69c5,_0x1ce1be=new _0xe7ce96(this[_0x341052(0x223)][_0x341052(0x1d8)]);_0x1ce1be[_0x341052(0x1f4)](),this[_0x341052(0x1dd)](_0x1ce1be),this[_0x341052(0x231)](),this[_0x341052(0x210)](_0x1ce1be);}[_0x6c69c5(0x1dd)](_0x540371){const _0x44e1f7=_0x6c69c5,_0x37a2df=this[_0x44e1f7(0x223)][_0x44e1f7(0x23b)][_0x44e1f7(0x252)](_0x44e1f7(0x1ce))??!0x0;this[_0x44e1f7(0x223)]['ui'][_0x44e1f7(0x1e0)][_0x44e1f7(0x1c4)](_0x44e1f7(0x1ea),_0x25e3ca({'editor':this[_0x44e1f7(0x223)],'content':this[_0x44e1f7(0x1f7)],'buttonDefinition':{'icon':_0x3da2f0,'label':_0x2ac32e(this[_0x44e1f7(0x223)][_0x44e1f7(0x1d8)],_0x44e1f7(0x1df))},'bodyCollection':_0x540371,'hasSearch':_0x37a2df}));}[_0x6c69c5(0x1e2)](_0x4e398f){const _0xfbef52=_0x6c69c5;this[_0xfbef52(0x1f7)]=_0x4e398f[_0xfbef52(0x1c1)](_0x33c427=>{const _0x39fde7=_0xfbef52;if(_0x39fde7(0x1f8)in _0x33c427){const _0x2046d6=_0x33c427;return{..._0x2046d6,'actions':_0x2046d6[_0x39fde7(0x1f8)][_0x39fde7(0x1c1)](_0x47a30d=>{const {actions:_0x266201,..._0x4dc014}=_0x2046d6;return{..._0x47a30d,'parent':_0x4dc014};})[_0x39fde7(0x23c)](_0x42a933=>this[_0x39fde7(0x226)](_0x42a933))};}return _0x33c427;})[_0xfbef52(0x23c)](_0x336211=>_0xfbef52(0x1f8)in _0x336211?_0x336211[_0xfbef52(0x1f8)][_0xfbef52(0x1fe)]>0x0:this[_0xfbef52(0x226)](_0x336211));}[_0x6c69c5(0x226)](_0x53e00b){const _0x1997d6=_0x6c69c5,_0x11f775=this[_0x1997d6(0x223)][_0x1997d6(0x23b)][_0x1997d6(0x252)](_0x1997d6(0x1d3))||[];return this[_0x1997d6(0x223)][_0x1997d6(0x20f)][_0x1997d6(0x215)](AIQuickActionTypeToPluginName[_0x53e00b[_0x1997d6(0x1ec)]])&&!_0x11f775[_0x1997d6(0x233)](_0x53e00b['id'])&&!(_0x53e00b[_0x1997d6(0x1ec)]===AIQuickActionType[_0x1997d6(0x1cd)]&&!0x1===this[_0x1997d6(0x223)][_0x1997d6(0x23b)][_0x1997d6(0x252)](_0x1997d6(0x244)));}[_0x6c69c5(0x210)](_0x3e108a){const _0x361c8a=_0x6c69c5;this[_0x361c8a(0x1f7)][_0x361c8a(0x1e7)](_0xccd306=>{const _0x3c2d05=_0x361c8a;if(_0x3c2d05(0x1f8)in _0xccd306){const _0x5cb015=_0x25e3ca({'editor':this[_0x3c2d05(0x223)],'content':_0xccd306[_0x3c2d05(0x1f8)],'buttonDefinition':_0xccd306,'bodyCollection':_0x3e108a});this[_0x3c2d05(0x223)]['ui'][_0x3c2d05(0x1e0)][_0x3c2d05(0x1c4)](_0xccd306['id'],_0x5cb015),_0xccd306[_0x3c2d05(0x1f8)][_0x3c2d05(0x1e7)](_0x48e8c2=>{const _0x2193b3=_0x3c2d05,_0x2dd613=_0x152700({'editor':this[_0x2193b3(0x223)],'action':_0x48e8c2});this[_0x2193b3(0x223)]['ui'][_0x2193b3(0x1e0)][_0x2193b3(0x1c4)](_0x48e8c2['id'],_0x2dd613);});}else{const _0x317c15=_0x152700({'editor':this[_0x3c2d05(0x223)],'action':_0xccd306,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3c2d05(0x223)]['ui'][_0x3c2d05(0x1e0)][_0x3c2d05(0x1c4)](_0xccd306['id'],_0x317c15);}});}[_0x6c69c5(0x231)](){const _0x486285=_0x6c69c5;this[_0x486285(0x223)]['ui'][_0x486285(0x1e0)][_0x486285(0x1c4)](_0x486285(0x1e5),_0x524319=>{const _0x52035c=_0x486285,_0x3f9111=new _0x5b4294(_0x524319),_0x165b42=_0x2ac32e(_0x524319,_0x52035c(0x1df));_0x3f9111[_0x52035c(0x211)][_0x52035c(0x1bd)]({'label':_0x165b42,'icon':_0x3da2f0});const _0x323fb4=new _0x418bbf(_0x524319);_0x323fb4[_0x52035c(0x1bd)]({'ariaLabel':_0x165b42,'role':_0x52035c(0x205)}),this[_0x52035c(0x1f7)][_0x52035c(0x1e7)](_0x3f2645=>{const _0x31e493=_0x52035c;if(_0x31e493(0x1f8)in _0x3f2645){const _0x4c859d=_0x3f2645,_0x41c0ed=new _0xc567ab(_0x524319,_0x3f9111),_0x35e97d=new _0x5b4294(_0x524319),_0x2f8982=new _0x418bbf(_0x524319);_0x35e97d[_0x31e493(0x211)][_0x31e493(0x1bd)]({'label':_0x4c859d[_0x31e493(0x1d7)],'icon':_0x4c859d[_0x31e493(0x1e6)]}),_0x4c859d[_0x31e493(0x1f8)][_0x31e493(0x1e7)](_0x176dc7=>{const _0x322938=_0x31e493,_0x1058a3=new _0xc567ab(_0x524319,_0x35e97d),_0x537e6d=new _0x5d9a80(_0x524319);_0x537e6d[_0x322938(0x1bd)]({'label':_0x176dc7[_0x322938(0x1db)],'icon':_0x176dc7[_0x322938(0x1e6)],'role':_0x322938(0x23d),'isEnabled':_0x176dc7[_0x322938(0x1cf)]}),_0x537e6d['on'](_0x322938(0x1f9),()=>{const _0x54bf2b=_0x322938;this[_0x54bf2b(0x1eb)](_0x176dc7);}),_0x537e6d[_0x322938(0x1be)](_0x322938(0x1f9))['to'](_0x35e97d),_0x1058a3[_0x322938(0x1da)][_0x322938(0x1c4)](_0x537e6d),_0x2f8982[_0x322938(0x236)][_0x322938(0x1c4)](_0x1058a3);}),_0x35e97d[_0x31e493(0x238)][_0x31e493(0x1da)][_0x31e493(0x1c4)](_0x2f8982),_0x41c0ed[_0x31e493(0x1da)][_0x31e493(0x1c4)](_0x35e97d),_0x323fb4[_0x31e493(0x236)][_0x31e493(0x1c4)](_0x41c0ed);}else{const _0x5c864c=_0x3f2645,_0x44e88f=new _0xc567ab(_0x524319,_0x3f9111),_0xfddf66=new _0x5d9a80(_0x524319);_0xfddf66[_0x31e493(0x1bd)]({'label':_0x5c864c[_0x31e493(0x1db)],'icon':_0x5c864c[_0x31e493(0x1e6)],'role':_0x31e493(0x23d),'isEnabled':_0x5c864c[_0x31e493(0x1cf)]}),_0xfddf66['on'](_0x31e493(0x1f9),()=>{const _0x418434=_0x31e493;this[_0x418434(0x1eb)](_0x5c864c);}),_0xfddf66[_0x31e493(0x1be)](_0x31e493(0x1f9))['to'](_0x3f9111),_0x44e88f[_0x31e493(0x1da)][_0x31e493(0x1c4)](_0xfddf66),_0x323fb4[_0x31e493(0x236)][_0x31e493(0x1c4)](_0x44e88f);}});const _0x255eca=Object[_0x52035c(0x23f)](AIQuickActionTypeToPluginName)[_0x52035c(0x1ed)](_0x5aa111=>this[_0x52035c(0x223)][_0x52035c(0x20f)][_0x52035c(0x215)](_0x5aa111));return _0x3f9111[_0x52035c(0x1bd)]({'isEnabled':_0x255eca}),_0x3f9111[_0x52035c(0x238)][_0x52035c(0x1da)][_0x52035c(0x1c4)](_0x323fb4),_0x3f9111;});}[_0x6c69c5(0x1eb)](_0x5b2415){const _0x2b40e8=_0x6c69c5,_0x102ccf=this[_0x2b40e8(0x223)];_0x102ccf[_0x2b40e8(0x1d6)][_0x2b40e8(0x251)][_0x2b40e8(0x21b)](),_0x102ccf[_0x2b40e8(0x22e)][_0x2b40e8(0x1f9)](_0x2b40e8(0x25e),_0x5b2415);const _0x44ffde=_0x102ccf['ui'][_0x2b40e8(0x251)][_0x2b40e8(0x220)];_0x44ffde&&_0x44ffde[_0x2b40e8(0x250)]&&_0x44ffde[_0x2b40e8(0x250)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x272399,_0x325fe9){const _0x62c17f=_0x5685,_0x11d6c4=_0x272399();while(!![]){try{const _0x38a089=-parseInt(_0x62c17f(0x1d3))/0x1*(-parseInt(_0x62c17f(0x1c5))/0x2)+-parseInt(_0x62c17f(0x1d8))/0x3*(-parseInt(_0x62c17f(0x1d4))/0x4)+parseInt(_0x62c17f(0x1d7))/0x5+-parseInt(_0x62c17f(0x1ce))/0x6*(-parseInt(_0x62c17f(0x1e1))/0x7)+-parseInt(_0x62c17f(0x1d1))/0x8*(parseInt(_0x62c17f(0x1d6))/0x9)+parseInt(_0x62c17f(0x1cd))/0xa*(-parseInt(_0x62c17f(0x1cf))/0xb)+parseInt(_0x62c17f(0x1c9))/0xc*(parseInt(_0x62c17f(0x1ca))/0xd);if(_0x38a089===_0x325fe9)break;else _0x11d6c4['push'](_0x11d6c4['shift']());}catch(_0x54f73f){_0x11d6c4['push'](_0x11d6c4['shift']());}}}(_0x4e89,0xced0a));import{ButtonView as _0x40f85d}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x49178d}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x44d9f7){const {editor:_0x14712e,action:_0x57b44d,withText:_0x5d40f5=!0x1,withIcon:_0x50401f=!0x0,isInDropdown:_0x48dc22=!0x0,shouldPreventFocus:_0x2dd731=!0x1}=_0x44d9f7;return()=>{const _0x5a3fa5=_0x5685,_0x776f54=_0x14712e[_0x5a3fa5(0x1df)],_0x325e84=new _0x40f85d(_0x776f54),_0x182bf1=_0x325e84[_0x5a3fa5(0x1d0)];_0x48dc22&&_0x325e84[_0x5a3fa5(0x1da)]({'on':{'mouseenter':_0x182bf1['to'](()=>{const _0x3186bf=_0x5a3fa5;_0x2dd731&&_0x2dd731()||_0x325e84[_0x3186bf(0x1dc)]();})}});const _0x45c62e=_0x57b44d[_0x5a3fa5(0x1d5)]??_0x57b44d[_0x5a3fa5(0x1d9)]?.[_0x5a3fa5(0x1d5)];return _0x325e84[_0x5a3fa5(0x1c6)]({'label':_0x57b44d[_0x5a3fa5(0x1db)],'withText':_0x5d40f5,'role':_0x5a3fa5(0x1e0),'icon':_0x50401f?_0x45c62e??_0x49178d:void 0x0,'tooltip':!_0x5d40f5,'class':_0x5a3fa5(0x1cc),'isEnabled':_0x57b44d[_0x5a3fa5(0x1dd)]}),_0x325e84['on'](_0x5a3fa5(0x1cb),()=>{const _0x350c35=_0x5a3fa5;_0x14712e[_0x350c35(0x1c7)][_0x350c35(0x1de)][_0x350c35(0x1dc)](),_0x14712e[_0x350c35(0x1c8)][_0x350c35(0x1cb)](_0x350c35(0x1d2),_0x57b44d);}),_0x325e84;};}function _0x5685(_0x18ba92,_0x429898){const _0x4e8963=_0x4e89();return _0x5685=function(_0x5685d0,_0x23cb13){_0x5685d0=_0x5685d0-0x1c5;let _0x59ab44=_0x4e8963[_0x5685d0];return _0x59ab44;},_0x5685(_0x18ba92,_0x429898);}function _0x4e89(){const _0x5a3ce7=['execute','ck-ai-quick-actions-button','8431050YnWTdv','5370uEoFxj','22sllNlr','bindTemplate','32jzRIIJ','aiQuickAction','114YHfmGx','4544oJadda','icon','3714318eQCfPD','43160pHlHyQ','1071qqXGbx','parent','extendTemplate','displayedPrompt','focus','isEnabled','view','locale','menuitem','12579cWEWIm','23054dpAjWW','set','editing','commands','20220CSZLhl','6539BCPywS'];_0x4e89=function(){return _0x5a3ce7;};return _0x4e89();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x450486=_0x2b99;function _0x2b99(_0x3bf628,_0x10e8f5){const _0x296dd1=_0x296d();return _0x2b99=function(_0x2b9901,_0x5eeab6){_0x2b9901=_0x2b9901-0xd7;let _0x4137db=_0x296dd1[_0x2b9901];return _0x4137db;},_0x2b99(_0x3bf628,_0x10e8f5);}(function(_0x4e5d52,_0x575e19){const _0x1a047b=_0x2b99,_0x711aa3=_0x4e5d52();while(!![]){try{const _0x3895ff=parseInt(_0x1a047b(0x141))/0x1*(parseInt(_0x1a047b(0x127))/0x2)+-parseInt(_0x1a047b(0x107))/0x3+parseInt(_0x1a047b(0x119))/0x4+-parseInt(_0x1a047b(0x159))/0x5+parseInt(_0x1a047b(0x112))/0x6*(-parseInt(_0x1a047b(0xf6))/0x7)+parseInt(_0x1a047b(0x113))/0x8+parseInt(_0x1a047b(0x110))/0x9;if(_0x3895ff===_0x575e19)break;else _0x711aa3['push'](_0x711aa3['shift']());}catch(_0x257e63){_0x711aa3['push'](_0x711aa3['shift']());}}}(_0x296d,0xdf67b));import{View as _0x37cff2,ListItemView as _0x15b414,ListView as _0x5c5aed,BalloonPanelView as _0x9f2e0,DropdownMenuPanelPositioningFunctions as _0x383190,ViewCollection as _0x4a0d06,FocusCycler as _0x596de4,ButtonView as _0x2e4a35,IconView as _0xd169bf,HighlightedTextView as _0x5a3baf,ButtonLabelWithHighlightView as _0x31e198,SearchTextView as _0x2a6c22}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xffc906}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x44e35f,KeystrokeHandler as _0x17669b}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1d6012}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x295e2f}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4f18e0}from'../../aicore/utils/common-translations.js';function _0x296d(){const _0x497241=['_createGroupActionsList','aiQuickAction','_createListItems','bind','label','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions','resetSearch','_allSearchableItems','button','content','_createSearchResultIndividualActionButton','2082324QuTcze','first','focus','execute','ck-ai-quick-actions-search-result__action-row','items','bindTemplate','uiLanguageDirection','addMany','6870897lnoTWz','eastSouth','2360634glYIRj','3170568lYgSqM','forEach','keystrokes','_createSearchResultActionButton','locale','relatedTarget','987540cNUTPO','setTemplate','span','closest','.ck-ai-quick-actions-group-button','fieldView','parent','ck-dropdown-menu__nested-menu__panel','some','_createSearchResultActionRow','icon','get','ck-ai-quick-actions-search-result__content','fire','4JYhfTB','commands','queryView','ck-ai-quick-actions-search-result__group-row','AI_QUICK_ACTIONS_SEARCH','_isMovingToNestedMenu','element','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search-result-button_with-group','focusTracker','ck-button','actions','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultContentView','_handlePanelKeydown','_openNestedPanels','ck-reset_all','ck-ai-quick-actions-button','ck-ai-quick-actions-button__group-icon','_handleSearchResultButtonClick','ck-ai-quick-actions-search','_isSearchFocused','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-button_with-group__open-paren','key','ck-button_with-text','717419kVkPcv','mouseleave','delete','chain','optionsListView','_getPanelKeystroke','pin','_createActionButton','ck-ai-quick-actions-button_with-group','isVisible','show','destroy','_hideNestedPanel','displayedPrompt','focusCycler','rtl','ArrowRight','_getButtonKeystroke','_createActionGroupButton','isEnabled','_hasSearch','ownerDocument','_searchTextView','ck-rounded-corners','2227120awDKZg','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-group-list','activeElement','_showNestedPanel','.ck-ai-quick-actions-group-panel','_hideAllNestedPanels','text','render','role','extendTemplate','ck-ai-quick-actions-search-result-button','editing','ArrowLeft','reset','push','_createSearchResultGroupRow','_setupGroupMenuBehavior','ck-dropdown-menu-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','set','hide','isOn','_bodyCollection','detachFromDom','ck-ai-quick-actions-group-button','menuitem','menu','view','_focusables','_setupActionButtonExecution','_createSearchTextView','addEventListener','.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','clear','14yulBiV','div','children','contains','add'];_0x296d=function(){return _0x497241;};return _0x296d();}import{AIQuickActionsFilteredListView as _0x4bc489}from'./aiquickactionsfilteredlistview.js';const _n=_0x450486(0xed),dn=_0x450486(0xec);export class AIQuickActionsDropdownContentView extends _0x37cff2{[_0x450486(0xe9)];[_0x450486(0x145)];[_0x450486(0x157)]=null;[_0x450486(0x103)]=[];[_0x450486(0xf8)];[_0x450486(0x130)];[_0x450486(0x115)];[_0x450486(0xef)];[_0x450486(0x14f)];[_0x450486(0x136)]=new Set();[_0x450486(0x155)];constructor(_0x1b13d3,_0x57d783,_0x227c78,_0x31db69,_0x2d6cd9=!0x1){const _0xb8154=_0x450486,_0x17f0db=_0x1b13d3[_0xb8154(0x117)];super(_0x17f0db),this[_0xb8154(0xe9)]=_0x31db69,this[_0xb8154(0x155)]=_0x2d6cd9;const _0x4a27f9=this[_0xb8154(0xfd)](_0x1b13d3,_0x57d783,_0x227c78);this[_0xb8154(0x145)]=new _0x4bc489(_0x17f0db,_0x4a27f9,this[_0xb8154(0x103)]),this[_0xb8154(0x145)][_0xb8154(0xdb)]=_n,this[_0xb8154(0x145)][_0xb8154(0x10c)][_0xb8154(0x10f)](_0x4a27f9),this[_0xb8154(0x130)]=new _0x44e35f(),this[_0xb8154(0x115)]=new _0x17669b(),_0x2d6cd9&&(this[_0xb8154(0x157)]=this[_0xb8154(0xf1)]()),this[_0xb8154(0xef)]=_0x4a27f9,this[_0xb8154(0x14f)]=new _0x596de4({'focusables':this[_0xb8154(0xef)],'focusTracker':this[_0xb8154(0x130)],'keystrokeHandler':this[_0xb8154(0x115)]}),_0x2d6cd9&&this[_0xb8154(0x157)]&&this[_0xb8154(0x14f)][_0xb8154(0x144)](this[_0xb8154(0x157)][_0xb8154(0x14f)]);const _0x3bf5df=_0x2d6cd9&&this[_0xb8154(0x157)]?[this[_0xb8154(0x157)]]:[this[_0xb8154(0x145)]];this[_0xb8154(0xf8)]=new _0x4a0d06(_0x3bf5df),this[_0xb8154(0x11a)]({'tag':_0xb8154(0xf7),'attributes':{'class':['ck',_0xb8154(0x137),_0xb8154(0x101),_0xb8154(0x158)],'dir':_0x17f0db[_0xb8154(0x10e)]},'children':this[_0xb8154(0xf8)]});}[_0x450486(0xf1)](){const _0x4bf384=_0x450486;return new _0x2a6c22(this[_0x4bf384(0x117)],{'filteredView':this[_0x4bf384(0x145)],'queryView':{'label':_0x4f18e0(this[_0x4bf384(0x117)],_0x4bf384(0x12b))},'class':_0x4bf384(0x13b),'infoView':{'text':{'notFound':{'primary':_0x4f18e0(this[_0x4bf384(0x117)],_0x4bf384(0x13d))}}}});}[_0x450486(0x13c)](){const _0x446192=_0x450486;if(!this[_0x446192(0x155)]||!this[_0x446192(0x157)]||!this[_0x446192(0x157)][_0x446192(0x129)][_0x446192(0x11e)][_0x446192(0x12d)])return!0x1;const _0x10d106=this[_0x446192(0x157)][_0x446192(0x129)][_0x446192(0x11e)][_0x446192(0x12d)][_0x446192(0x156)]?.[_0x446192(0x15c)];return this[_0x446192(0x157)][_0x446192(0x129)][_0x446192(0x11e)][_0x446192(0x12d)][_0x446192(0xf9)](_0x10d106);}[_0x450486(0xfd)](_0xcc8e51,_0x90593,_0x5837d3){const _0x2c2c5e=_0x450486,_0x2663ba=new _0x4a0d06();return _0x90593[_0x2c2c5e(0x114)](_0x448cb7=>{const _0x340472=_0x2c2c5e;if(_0x340472(0x132)in _0x448cb7){const {listItem:_0x594b35}=this[_0x340472(0x153)](_0xcc8e51,_0x448cb7,_0x5837d3);_0x2663ba[_0x340472(0xfa)](_0x594b35),_0x448cb7[_0x340472(0x132)][_0x340472(0x114)](_0x3332ec=>{const _0x430580=_0x340472;this[_0x430580(0x148)](_0xcc8e51,_0x3332ec,_0x448cb7[_0x430580(0xff)],_0x448cb7[_0x430580(0x123)]);const {listItem:_0x1a7c22,highlightViews:_0x135bc0}=this[_0x430580(0x116)](_0xcc8e51,_0x3332ec,_0x448cb7[_0x430580(0xff)],_0x448cb7[_0x430580(0x123)]);this[_0x430580(0x103)][_0x430580(0xe1)]({'item':_0x1a7c22,'label':_0x3332ec[_0x430580(0x14e)],'groupLabel':_0x448cb7[_0x430580(0xff)],'highlightViews':_0x135bc0});});}else{const {listItem:_0x3adf10}=this[_0x340472(0x148)](_0xcc8e51,_0x448cb7);_0x2663ba[_0x340472(0xfa)](_0x3adf10);const _0x12626d=_0x3adf10[_0x340472(0xf8)][_0x340472(0x108)];if(_0x12626d){const {listItem:_0x40b4ea,highlightViews:_0x3a86bd}=this[_0x340472(0x116)](_0xcc8e51,_0x448cb7);this[_0x340472(0x103)][_0x340472(0xe1)]({'item':_0x40b4ea,'label':_0x12626d[_0x340472(0xff)]||'','highlightViews':_0x3a86bd});}}}),_0x2663ba;}[_0x450486(0x148)](_0x30ba9a,_0x371e55,_0xcbdb8c,_0x53c90a){const _0x1191d5=_0x450486,_0x437461=new _0x15b414(this[_0x1191d5(0x117)]);if(_0xcbdb8c&&_0x53c90a){const _0x344fde=new _0x2e4a35(this[_0x1191d5(0x117)]),_0x27d507=_0x344fde[_0x1191d5(0x10d)],_0x253152=new _0x5a3baf();_0x253152[_0x1191d5(0xd9)]=_0x371e55[_0x1191d5(0x14e)];const _0x3a64f5=new _0x5a3baf();_0x3a64f5[_0x1191d5(0xd9)]=_0xcbdb8c;const _0x3e0170=new _0xd169bf();_0x3e0170[_0x1191d5(0x105)]=_0x53c90a,_0x3e0170[_0x1191d5(0xdc)]({'attributes':{'class':_0x1191d5(0x139)}});const _0x1d2fe9=new _0x37cff2(this[_0x1191d5(0x117)]);_0x1d2fe9[_0x1191d5(0x11a)]({'tag':_0x1191d5(0x11b),'attributes':{'class':_0x1191d5(0x13e)},'children':[{'text':'\x20('}]});const _0x228670=new _0x37cff2(this[_0x1191d5(0x117)]);return _0x228670[_0x1191d5(0x11a)]({'tag':_0x1191d5(0x11b),'attributes':{'class':_0x1191d5(0x100)},'children':[{'text':')'}]}),_0x344fde[_0x1191d5(0xe6)]({'label':_0x371e55[_0x1191d5(0x14e)]+'\x20('+_0xcbdb8c+')','withText':!0x0,'role':_0x1191d5(0xec),'class':_0x1191d5(0x133),'tooltip':!0x1}),_0x344fde[_0x1191d5(0x11a)]({'tag':_0x1191d5(0x104),'attributes':{'class':['ck',_0x1191d5(0x131),_0x1191d5(0x140),_0x1191d5(0x138),_0x1191d5(0x149)],'type':_0x1191d5(0x104),'role':_0x1191d5(0xec),'tabindex':'-1'},'children':[_0x253152,_0x1d2fe9,_0x3e0170,_0x3a64f5,_0x228670],'on':{'mouseenter':_0x27d507['to'](()=>{const _0x207dfb=_0x1191d5;this[_0x207dfb(0x13c)]()||_0x344fde[_0x207dfb(0x109)]();}),'click':_0x27d507['to'](()=>{const _0x3d67b3=_0x1191d5;_0x344fde[_0x3d67b3(0x126)](_0x3d67b3(0x10a));})}}),_0x344fde['on'](_0x1191d5(0x10a),()=>{const _0x3a1ae2=_0x1191d5;_0x30ba9a[_0x3a1ae2(0xde)][_0x3a1ae2(0xee)][_0x3a1ae2(0x109)](),_0x30ba9a[_0x3a1ae2(0x128)][_0x3a1ae2(0x10a)](_0x3a1ae2(0xfc),_0x371e55);}),_0x437461[_0x1191d5(0xf8)][_0x1191d5(0xfa)](_0x344fde),{'listItem':_0x437461,'highlightViews':[_0x253152,_0x3a64f5]};}{const _0x36f764=new _0x31e198(),_0x25df78=new _0x2e4a35(this[_0x1191d5(0x117)],_0x36f764),_0x4c6c88=_0x25df78[_0x1191d5(0x10d)],_0x3d9449=_0x371e55[_0x1191d5(0x123)]??_0x371e55[_0x1191d5(0x11f)]?.[_0x1191d5(0x123)],_0x539937=void 0x0!==_0x371e55[_0x1191d5(0x123)];return _0x25df78[_0x1191d5(0xe6)]({'label':_0x371e55[_0x1191d5(0x14e)],'withText':!0x0,'role':_0x1191d5(0xec),'icon':_0x539937?_0x3d9449??_0xffc906:void 0x0,'tooltip':!0x1,'class':_0x1191d5(0x138)}),_0x25df78[_0x1191d5(0xdc)]({'on':{'mouseenter':_0x4c6c88['to'](()=>{const _0x4e8642=_0x1191d5;this[_0x4e8642(0x13c)]()||_0x25df78[_0x4e8642(0x109)]();})}}),_0x25df78['on'](_0x1191d5(0x10a),()=>{const _0x37b5ea=_0x1191d5;_0x30ba9a[_0x37b5ea(0xde)][_0x37b5ea(0xee)][_0x37b5ea(0x109)](),_0x30ba9a[_0x37b5ea(0x128)][_0x37b5ea(0x10a)](_0x37b5ea(0xfc),_0x371e55);}),_0x437461[_0x1191d5(0xf8)][_0x1191d5(0xfa)](_0x25df78),{'listItem':_0x437461,'highlightViews':[_0x36f764]};}}[_0x450486(0x116)](_0xcdbb3a,_0x32ce83,_0x1a14e3,_0x2c55af){const _0x451c10=_0x450486;return _0x1a14e3&&_0x2c55af?this[_0x451c10(0x12e)](_0xcdbb3a,_0x32ce83,_0x1a14e3,_0x2c55af):this[_0x451c10(0x106)](_0xcdbb3a,_0x32ce83);}[_0x450486(0x12e)](_0x1a9c4c,_0x2882ce,_0x219401,_0x1ae7fd){const _0xeb3390=_0x450486,_0x505ba2=new _0x15b414(this[_0xeb3390(0x117)]),_0x3c57e3=new _0x2e4a35(this[_0xeb3390(0x117)]),_0x25be82=_0x3c57e3[_0xeb3390(0x10d)],{view:_0x324bc1,highlightView:_0x36b8b0}=this[_0xeb3390(0xe2)](_0x219401,_0x1ae7fd),{view:_0x33696a,highlightView:_0x27d419}=this[_0xeb3390(0x122)](_0x2882ce[_0xeb3390(0x14e)]),_0x230656=this[_0xeb3390(0x134)](_0x324bc1,_0x33696a);return _0x3c57e3[_0xeb3390(0xe6)]({'label':_0x2882ce[_0xeb3390(0x14e)],'withText':!0x0,'role':_0xeb3390(0xec),'class':_0xeb3390(0xf4),'tooltip':!0x1}),_0x3c57e3[_0xeb3390(0x11a)]({'tag':_0xeb3390(0x104),'attributes':{'class':['ck',_0xeb3390(0x131),_0xeb3390(0x140),_0xeb3390(0x138),_0xeb3390(0xdd),_0xeb3390(0x12f)],'type':_0xeb3390(0x104),'role':_0xeb3390(0xec),'tabindex':'-1'},'children':[_0x230656],'on':{'mouseenter':_0x25be82['to'](()=>{const _0x28e8f7=_0xeb3390;this[_0x28e8f7(0x13c)]()||_0x3c57e3[_0x28e8f7(0x109)]();}),'click':_0x25be82['to'](()=>{const _0x252e3f=_0xeb3390;this[_0x252e3f(0x13a)](_0x3c57e3);})}}),this[_0xeb3390(0xf0)](_0x3c57e3,_0x1a9c4c,_0x2882ce),_0x505ba2[_0xeb3390(0xf8)][_0xeb3390(0xfa)](_0x3c57e3),{'listItem':_0x505ba2,'highlightViews':[_0x36b8b0,_0x27d419]};}[_0x450486(0x106)](_0xce234a,_0x514b51){const _0xdc159a=_0x450486,_0x2447b4=new _0x15b414(this[_0xdc159a(0x117)]),_0x2ccd36=new _0x31e198(),_0x5e560b=new _0x2e4a35(this[_0xdc159a(0x117)],_0x2ccd36),_0x1f82de=_0x5e560b[_0xdc159a(0x10d)];return _0x5e560b[_0xdc159a(0xe6)]({'label':_0x514b51[_0xdc159a(0x14e)],'withText':!0x0,'role':_0xdc159a(0xec),'icon':void 0x0,'tooltip':!0x1,'class':_0xdc159a(0xe5)}),_0x5e560b[_0xdc159a(0xdc)]({'on':{'mouseenter':_0x1f82de['to'](()=>{const _0x2635d1=_0xdc159a;this[_0x2635d1(0x13c)]()||_0x5e560b[_0x2635d1(0x109)]();})}}),this[_0xdc159a(0xf0)](_0x5e560b,_0xce234a,_0x514b51),_0x2447b4[_0xdc159a(0xf8)][_0xdc159a(0xfa)](_0x5e560b),{'listItem':_0x2447b4,'highlightViews':[_0x2ccd36]};}[_0x450486(0xe2)](_0x8ec59a,_0x12c72c){const _0x531a5e=_0x450486,_0x30e086=new _0x37cff2(this[_0x531a5e(0x117)]),_0x263db7=new _0xd169bf();_0x263db7[_0x531a5e(0x105)]=_0x12c72c,_0x263db7[_0x531a5e(0xdc)]({'attributes':{'class':_0x531a5e(0x139)}});const _0x47fe06=new _0x5a3baf();return _0x47fe06[_0x531a5e(0xd9)]=_0x8ec59a,_0x30e086[_0x531a5e(0x11a)]({'tag':_0x531a5e(0xf7),'attributes':{'class':_0x531a5e(0x12a)},'children':[_0x263db7,_0x47fe06]}),{'view':_0x30e086,'highlightView':_0x47fe06};}[_0x450486(0x122)](_0xcc3790){const _0x772fd0=_0x450486,_0x25476c=new _0x37cff2(this[_0x772fd0(0x117)]),_0x3d442a=new _0x5a3baf();return _0x3d442a[_0x772fd0(0xd9)]=_0xcc3790,_0x25476c[_0x772fd0(0x11a)]({'tag':_0x772fd0(0xf7),'attributes':{'class':_0x772fd0(0x10b)},'children':[_0x3d442a]}),{'view':_0x25476c,'highlightView':_0x3d442a};}[_0x450486(0x134)](_0x2fa9e4,_0x2e60af){const _0x507c8e=_0x450486,_0x3e764f=new _0x37cff2(this[_0x507c8e(0x117)]);return _0x3e764f[_0x507c8e(0x11a)]({'tag':_0x507c8e(0xf7),'attributes':{'class':_0x507c8e(0x125)},'children':[_0x2fa9e4,_0x2e60af]}),_0x3e764f;}[_0x450486(0xf0)](_0x5278d5,_0x5dd7e7,_0x23ca99){const _0x7c167f=_0x450486;_0x5278d5['on'](_0x7c167f(0x10a),()=>{const _0x1174ad=_0x7c167f;_0x5dd7e7[_0x1174ad(0xde)][_0x1174ad(0xee)][_0x1174ad(0x109)](),_0x5dd7e7[_0x1174ad(0x128)][_0x1174ad(0x10a)](_0x1174ad(0xfc),_0x23ca99);});}[_0x450486(0x153)](_0x22f154,_0x4c3d79,_0x566f7b){const _0x440114=_0x450486,_0x1ab717=new _0x15b414(this[_0x440114(0x117)]),_0x2a7ac9=new _0x31e198(),_0x359927=new _0x295e2f(this[_0x440114(0x117)],_0x2a7ac9),_0x41acc9=_0x359927[_0x440114(0x10d)],_0x41b19d=this[_0x440114(0x146)](_0x566f7b),_0x57c9b1=this[_0x440114(0xfb)](_0x22f154,_0x4c3d79[_0x440114(0x132)],_0x566f7b);_0x359927[_0x440114(0xe6)]({'label':_0x4c3d79[_0x440114(0xff)],'withText':!0x0,'role':dn,'icon':_0x4c3d79[_0x440114(0x123)]??_0xffc906,'isEnabled':_0x4c3d79[_0x440114(0x132)][_0x440114(0x121)](_0x598e64=>_0x598e64[_0x440114(0x154)])}),_0x359927[_0x440114(0xdc)]({'on':{'mouseenter':_0x41acc9['to'](()=>{const _0x106e24=_0x440114;this[_0x106e24(0x13c)]()||_0x359927[_0x106e24(0x109)]();})}});const _0x55c93a=new _0x9f2e0(this[_0x440114(0x117)]);return _0x55c93a[_0x440114(0xdc)]({'attributes':{'class':['ck',_0x440114(0x137),_0x440114(0x15a),_0x440114(0x120)]},'on':{'keydown':_0x41acc9['to'](_0x1b999a=>{const _0x220c4e=_0x440114;this[_0x220c4e(0x135)](_0x1b999a,_0x41b19d,_0x359927,_0x55c93a);})}}),_0x359927[_0x440114(0xfe)](_0x440114(0xe8))['to'](_0x55c93a,_0x440114(0x14a)),this[_0x440114(0xe9)][_0x440114(0xfa)](_0x55c93a),_0x55c93a[_0x440114(0x105)][_0x440114(0xfa)](_0x57c9b1),this[_0x440114(0xe3)](_0x359927,_0x55c93a),_0x1ab717[_0x440114(0xf8)][_0x440114(0xfa)](_0x359927),{'listItem':_0x1ab717,'highlightView':_0x2a7ac9};}[_0x450486(0xfb)](_0x21dc45,_0x5048fb,_0x180afd){const _0x5e6313=_0x450486,_0x3478b0=new _0x5c5aed(this[_0x5e6313(0x117)]);return _0x3478b0[_0x5e6313(0xdc)]({'attributes':{'class':['ck',_0x5e6313(0x137),_0x5e6313(0x15b),_0x5e6313(0xe4)]}}),_0x5048fb[_0x5e6313(0x114)](_0x171dc6=>{const _0x12ad65=_0x5e6313,_0x25a2e7=new _0x15b414(this[_0x12ad65(0x117)]),_0x42b3a1=_0x1d6012({'editor':_0x21dc45,'action':_0x171dc6,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x12ad65(0x13c)]()})();_0x25a2e7[_0x12ad65(0xf8)][_0x12ad65(0xfa)](_0x42b3a1),_0x180afd[_0x12ad65(0x130)][_0x12ad65(0xfa)](_0x42b3a1),_0x3478b0[_0x12ad65(0x10c)][_0x12ad65(0xfa)](_0x25a2e7);}),_0x3478b0;}[_0x450486(0xe3)](_0x54cb49,_0x69ba3c){const _0x3626b3=_0x450486,_0x4cc756=_0x54cb49[_0x3626b3(0x10d)],_0x978547=this[_0x3626b3(0x152)](_0x54cb49);_0x54cb49[_0x3626b3(0xdc)]({'attributes':{'class':[_0x3626b3(0xeb)]},'on':{'mouseenter':_0x4cc756['to'](()=>{const _0x23fb67=_0x3626b3;this[_0x23fb67(0x15d)](_0x69ba3c,_0x54cb49);}),'mouseleave':_0x4cc756['to'](_0x4eae96=>{const _0x5acdcf=_0x3626b3,_0x794b68=_0x4eae96[_0x5acdcf(0x118)];this[_0x5acdcf(0x12c)](_0x794b68,_0x69ba3c)||this[_0x5acdcf(0x14d)](_0x69ba3c);}),'keydown':_0x4cc756['to'](_0x8d52d=>{const _0x262d6b=_0x3626b3;_0x8d52d[_0x262d6b(0x13f)]==_0x978547&&(this[_0x262d6b(0x15d)](_0x69ba3c,_0x54cb49),_0x69ba3c[_0x262d6b(0x105)][_0x262d6b(0x124)](0x0)[_0x262d6b(0x109)]());})}}),_0x69ba3c['on'](_0x3626b3(0xda),()=>{const _0x25d8b4=_0x3626b3;_0x69ba3c[_0x25d8b4(0x12d)]?.[_0x25d8b4(0xf2)](_0x25d8b4(0x142),_0x469220=>{const _0x242933=_0x25d8b4,_0x43f509=_0x469220[_0x242933(0x118)];_0x54cb49[_0x242933(0x12d)]?.[_0x242933(0xf9)](_0x43f509)||this[_0x242933(0x12c)](_0x43f509,_0x69ba3c)||this[_0x242933(0x14d)](_0x69ba3c);});});}[_0x450486(0x15d)](_0x230beb,_0x1e4d8b){const _0x1b6dc4=_0x450486;this[_0x1b6dc4(0x136)][_0x1b6dc4(0x114)](_0x25e93e=>{const _0x100981=_0x1b6dc4;_0x25e93e!==_0x230beb&&_0x25e93e[_0x100981(0x14a)]&&_0x25e93e[_0x100981(0xe7)]();}),_0x230beb[_0x1b6dc4(0x14b)](),_0x230beb[_0x1b6dc4(0x147)]({'positions':[_0x383190[_0x1b6dc4(0x111)]],'target':_0x1e4d8b[_0x1b6dc4(0x12d)],'fitInViewport':!0x0}),this[_0x1b6dc4(0x136)][_0x1b6dc4(0xfa)](_0x230beb);}[_0x450486(0x14d)](_0x3d3204){const _0x4d9843=_0x450486;_0x3d3204[_0x4d9843(0xe7)](),this[_0x4d9843(0x136)][_0x4d9843(0x143)](_0x3d3204);}[_0x450486(0xd8)](){const _0x169ae3=_0x450486;this[_0x169ae3(0x136)][_0x169ae3(0x114)](_0x1bc527=>_0x1bc527[_0x169ae3(0xe7)]()),this[_0x169ae3(0x136)][_0x169ae3(0xf5)]();}[_0x450486(0x12c)](_0x102b3b,_0x358e5f){const _0x169379=_0x450486;if(!_0x102b3b)return!0x1;if(_0x358e5f[_0x169379(0x12d)]?.[_0x169379(0xf9)](_0x102b3b))return!0x0;const _0x49f1d2=_0x102b3b;return _0x49f1d2[_0x169379(0x11c)]&&(null!==_0x49f1d2[_0x169379(0x11c)](_0x169379(0xd7))||null!==_0x49f1d2[_0x169379(0x11c)](_0x169379(0xf3))||null!==_0x49f1d2[_0x169379(0x11c)](_0x169379(0x11d)));}[_0x450486(0x102)](){const _0x555d96=_0x450486;this[_0x555d96(0x157)]&&this[_0x555d96(0x157)][_0x555d96(0xe0)]();}[_0x450486(0x14c)](){const _0x2fefdd=_0x450486;this[_0x2fefdd(0xd8)](),this[_0x2fefdd(0xe9)][_0x2fefdd(0xea)](),super[_0x2fefdd(0x14c)]();}[_0x450486(0x109)](){const _0x12203e=_0x450486;this[_0x12203e(0x157)]?this[_0x12203e(0x157)][_0x12203e(0x109)]():this[_0x12203e(0x145)][_0x12203e(0x109)]();}[_0x450486(0x146)](_0x5651a5){const _0x5e4232=_0x450486;return _0x5e4232(0x150)===_0x5651a5[_0x5e4232(0x117)][_0x5e4232(0x10e)]?_0x5e4232(0x151):_0x5e4232(0xdf);}[_0x450486(0x152)](_0x40b5df){const _0x19bb52=_0x450486;return _0x19bb52(0x150)===_0x40b5df[_0x19bb52(0x117)][_0x19bb52(0x10e)]?_0x19bb52(0xdf):_0x19bb52(0x151);}[_0x450486(0x135)](_0x1631fe,_0x5fa92c,_0x29dff7,_0x24c0e2){const _0x276991=_0x450486;_0x1631fe[_0x276991(0x13f)]==_0x5fa92c&&(_0x29dff7[_0x276991(0x109)](),this[_0x276991(0x14d)](_0x24c0e2));}[_0x450486(0x13a)](_0x22d755){const _0x13dbfb=_0x450486;_0x22d755[_0x13dbfb(0x126)](_0x13dbfb(0x10a));}}
|
|
23
|
+
const _0x1a1310=_0x2b29;(function(_0x6c4de4,_0x4d0a43){const _0x34cb7c=_0x2b29,_0x5a9754=_0x6c4de4();while(!![]){try{const _0x3235fb=-parseInt(_0x34cb7c(0xfb))/0x1*(-parseInt(_0x34cb7c(0x11f))/0x2)+parseInt(_0x34cb7c(0x111))/0x3*(-parseInt(_0x34cb7c(0x15f))/0x4)+parseInt(_0x34cb7c(0x140))/0x5*(-parseInt(_0x34cb7c(0x162))/0x6)+parseInt(_0x34cb7c(0x150))/0x7+parseInt(_0x34cb7c(0xf2))/0x8*(parseInt(_0x34cb7c(0x176))/0x9)+parseInt(_0x34cb7c(0x149))/0xa+parseInt(_0x34cb7c(0x14b))/0xb*(-parseInt(_0x34cb7c(0x12d))/0xc);if(_0x3235fb===_0x4d0a43)break;else _0x5a9754['push'](_0x5a9754['shift']());}catch(_0x1b48ac){_0x5a9754['push'](_0x5a9754['shift']());}}}(_0x28c9,0x7a443));import{View as _0x330822,ListItemView as _0x38ca06,ListView as _0x195beb,BalloonPanelView as _0x2f1fa3,DropdownMenuPanelPositioningFunctions as _0x336092,ViewCollection as _0x230aec,FocusCycler as _0x14cdca,ButtonView as _0x32ca8e,IconView as _0x4032fc,HighlightedTextView as _0x3765ce,ButtonLabelWithHighlightView as _0x2bd126,SearchTextView as _0x288385}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2414c8}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x1a686a,KeystrokeHandler as _0xac0871}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1ee7fd}from'./aiquickactionsbuttoncreator.js';function _0x2b29(_0x2939c1,_0xf15f4){const _0x28c9b7=_0x28c9();return _0x2b29=function(_0x2b29fc,_0x19a25a){_0x2b29fc=_0x2b29fc-0xef;let _0x2b2ac9=_0x28c9b7[_0x2b29fc];return _0x2b2ac9;},_0x2b29(_0x2939c1,_0xf15f4);}import{DropdownMenuButtonWithHighlightView as _0x2475c0}from'./dropdownmenubuttonwithhighlightview.js';function _0x28c9(){const _0x176149=['detachFromDom','items','closest','pin','_createSearchResultGroupedActionButton','menuitem','execute','180JKazEr','get','ck-reset_all','locale','some','hide','_allSearchableItems','actions','_focusables','_hasSearch','show','bindTemplate','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','key','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','role','displayedPrompt','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_bodyCollection','1483555chVvRT','isOn','first','AI_QUICK_ACTIONS_SEARCH','clear','_getButtonKeystroke','_createSearchResultActionRow','_openNestedPanels','commands','2695830lJplqm','.ck-ai-quick-actions-group-list','202961EvOUKu','_createActionGroupButton','aiQuickAction','ck-dropdown-menu__nested-menu__panel','eastSouth','6973540DJBmHe','div','ck-ai-quick-actions-button_with-group__close-paren','_getPanelKeystroke','rtl','parent','ck-ai-quick-actions-button_with-group__open-paren','bind','forEach','_createSearchResultContentView','ck-rounded-corners','push','resetSearch','isEnabled','icon','2588jatRXP','_hideAllNestedPanels','content','6AqtJvT','_createSearchResultIndividualActionButton','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-button','add','_createSearchResultGroupRow','ck-ai-quick-actions-search-result-button','ownerDocument','chain','optionsListView','isVisible','_createSearchResultActionButton','contains','_handleSearchResultButtonClick','delete','uiLanguageDirection','destroy','element','ck-ai-quick-actions-group-panel','_createActionButton','9WzXPjP','ck-button_with-text','_showNestedPanel','label','ck-ai-quick-actions-search','reset','600968ynUCdc','button','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result__action-row','setTemplate','set','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button__group-icon','addMany','304373FvLycg','view','mouseleave','_isMovingToNestedMenu','ck-ai-quick-actions','text','_createSearchTextView','_setupGroupMenuBehavior','render','focusTracker','_setupActionButtonExecution','keystrokes','extendTemplate','_isSearchFocused','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-search-result-button_with-group','addEventListener','ck-button','ArrowRight','_searchTextView','_createListItems','focusCycler','4059GoKqZm','activeElement','_handlePanelKeydown','editing','children','ck-ai-quick-actions-group-list','focus','queryView','ck-ai-quick-actions-button_with-group','span','menu','ArrowLeft','_hideNestedPanel','fire','4Kxdmls','.ck-ai-quick-actions-group-panel','ck-dropdown-menu-list','fieldView','_createGroupActionsList','ck-ai-quick-actions-search-result__content','relatedTarget'];_0x28c9=function(){return _0x176149;};return _0x28c9();}import{getTranslation as _0x5b924e}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0xeadf84}from'./aiquickactionsfilteredlistview.js';const Qs=_0x1a1310(0x11b),Gs=_0x1a1310(0x12b);export class AIQuickActionsDropdownContentView extends _0x330822{[_0x1a1310(0x13f)];[_0x1a1310(0x16b)];[_0x1a1310(0x10e)]=null;[_0x1a1310(0x133)]=[];[_0x1a1310(0x115)];[_0x1a1310(0x104)];[_0x1a1310(0x106)];[_0x1a1310(0x135)];[_0x1a1310(0x110)];[_0x1a1310(0x147)]=new Set();[_0x1a1310(0x136)];constructor(_0x2bc41f,_0x126407,_0x43fd4e,_0xbd85ee,_0x216942=!0x1){const _0x49afd5=_0x1a1310,_0x563dd1=_0x2bc41f[_0x49afd5(0x130)];super(_0x563dd1),this[_0x49afd5(0x13f)]=_0xbd85ee,this[_0x49afd5(0x136)]=_0x216942;const _0x402f0c=this[_0x49afd5(0x10f)](_0x2bc41f,_0x126407,_0x43fd4e);this[_0x49afd5(0x16b)]=new _0xeadf84(_0x563dd1,_0x402f0c,this[_0x49afd5(0x133)]),this[_0x49afd5(0x16b)][_0x49afd5(0x13c)]=Qs,this[_0x49afd5(0x16b)][_0x49afd5(0x127)][_0x49afd5(0xfa)](_0x402f0c),this[_0x49afd5(0x104)]=new _0x1a686a(),this[_0x49afd5(0x106)]=new _0xac0871(),_0x216942&&(this[_0x49afd5(0x10e)]=this[_0x49afd5(0x101)]()),this[_0x49afd5(0x135)]=_0x402f0c,this[_0x49afd5(0x110)]=new _0x14cdca({'focusables':this[_0x49afd5(0x135)],'focusTracker':this[_0x49afd5(0x104)],'keystrokeHandler':this[_0x49afd5(0x106)]}),_0x216942&&this[_0x49afd5(0x10e)]&&this[_0x49afd5(0x110)][_0x49afd5(0x16a)](this[_0x49afd5(0x10e)][_0x49afd5(0x110)]);const _0x243a1b=_0x216942&&this[_0x49afd5(0x10e)]?[this[_0x49afd5(0x10e)]]:[this[_0x49afd5(0x16b)]];this[_0x49afd5(0x115)]=new _0x230aec(_0x243a1b),this[_0x49afd5(0xf6)]({'tag':_0x49afd5(0x151),'attributes':{'class':['ck',_0x49afd5(0x12f),_0x49afd5(0xff),_0x49afd5(0x15a)],'dir':_0x563dd1[_0x49afd5(0x171)]},'children':this[_0x49afd5(0x115)]});}[_0x1a1310(0x101)](){const _0x3bffe3=_0x1a1310;return new _0x288385(this[_0x3bffe3(0x130)],{'filteredView':this[_0x3bffe3(0x16b)],'queryView':{'label':_0x5b924e(this[_0x3bffe3(0x130)],_0x3bffe3(0x143))},'class':_0x3bffe3(0xf0),'infoView':{'text':{'notFound':{'primary':_0x5b924e(this[_0x3bffe3(0x130)],_0x3bffe3(0x13e))}}}});}[_0x1a1310(0x108)](){const _0x8f670=_0x1a1310;if(!this[_0x8f670(0x136)]||!this[_0x8f670(0x10e)]||!this[_0x8f670(0x10e)][_0x8f670(0x118)][_0x8f670(0x122)][_0x8f670(0x173)])return!0x1;const _0xd6990e=this[_0x8f670(0x10e)][_0x8f670(0x118)][_0x8f670(0x122)][_0x8f670(0x173)][_0x8f670(0x169)]?.[_0x8f670(0x112)];return this[_0x8f670(0x10e)][_0x8f670(0x118)][_0x8f670(0x122)][_0x8f670(0x173)][_0x8f670(0x16e)](_0xd6990e);}[_0x1a1310(0x10f)](_0x3704ed,_0xb1b47e,_0x19286b){const _0x185327=_0x1a1310,_0x5df535=new _0x230aec();return _0xb1b47e[_0x185327(0x158)](_0x5163b3=>{const _0xa11e25=_0x185327;if(_0xa11e25(0x134)in _0x5163b3){const {listItem:_0x430352}=this[_0xa11e25(0x14c)](_0x3704ed,_0x5163b3,_0x19286b);_0x5df535[_0xa11e25(0x166)](_0x430352),_0x5163b3[_0xa11e25(0x134)][_0xa11e25(0x158)](_0x1b3e25=>{const _0x2eb2ec=_0xa11e25;this[_0x2eb2ec(0x175)](_0x3704ed,_0x1b3e25,_0x5163b3[_0x2eb2ec(0xef)],_0x5163b3[_0x2eb2ec(0x15e)]);const {listItem:_0x3592da,highlightViews:_0x267e03}=this[_0x2eb2ec(0x16d)](_0x3704ed,_0x1b3e25,_0x5163b3[_0x2eb2ec(0xef)],_0x5163b3[_0x2eb2ec(0x15e)]);this[_0x2eb2ec(0x133)][_0x2eb2ec(0x15b)]({'item':_0x3592da,'label':_0x1b3e25[_0x2eb2ec(0x13d)],'groupLabel':_0x5163b3[_0x2eb2ec(0xef)],'highlightViews':_0x267e03});});}else{const {listItem:_0x23940c}=this[_0xa11e25(0x175)](_0x3704ed,_0x5163b3);_0x5df535[_0xa11e25(0x166)](_0x23940c);const _0xe70d2a=_0x23940c[_0xa11e25(0x115)][_0xa11e25(0x142)];if(_0xe70d2a){const {listItem:_0x596f0e,highlightViews:_0x3fa1c8}=this[_0xa11e25(0x16d)](_0x3704ed,_0x5163b3);this[_0xa11e25(0x133)][_0xa11e25(0x15b)]({'item':_0x596f0e,'label':_0xe70d2a[_0xa11e25(0xef)]||'','highlightViews':_0x3fa1c8});}}}),_0x5df535;}[_0x1a1310(0x175)](_0x83550b,_0x337326,_0x39dcf7,_0x143646){const _0x153c4d=_0x1a1310,_0x2e839c=new _0x38ca06(this[_0x153c4d(0x130)]);if(_0x39dcf7&&_0x143646){const _0x3542a6=new _0x32ca8e(this[_0x153c4d(0x130)]),_0x2551e3=_0x3542a6[_0x153c4d(0x138)],_0x4f92e2=new _0x3765ce();_0x4f92e2[_0x153c4d(0x100)]=_0x337326[_0x153c4d(0x13d)];const _0x4b04c8=new _0x3765ce();_0x4b04c8[_0x153c4d(0x100)]=_0x39dcf7;const _0x2fb113=new _0x4032fc();_0x2fb113[_0x153c4d(0x161)]=_0x143646,_0x2fb113[_0x153c4d(0x107)]({'attributes':{'class':_0x153c4d(0xf9)}});const _0x450717=new _0x330822(this[_0x153c4d(0x130)]);_0x450717[_0x153c4d(0xf6)]({'tag':_0x153c4d(0x11a),'attributes':{'class':_0x153c4d(0x156)},'children':[{'text':'\x20('}]});const _0x1284dd=new _0x330822(this[_0x153c4d(0x130)]);return _0x1284dd[_0x153c4d(0xf6)]({'tag':_0x153c4d(0x11a),'attributes':{'class':_0x153c4d(0x152)},'children':[{'text':')'}]}),_0x3542a6[_0x153c4d(0xf7)]({'label':_0x337326[_0x153c4d(0x13d)]+'\x20('+_0x39dcf7+')','withText':!0x0,'role':_0x153c4d(0x12b),'class':_0x153c4d(0x13b),'tooltip':!0x1}),_0x3542a6[_0x153c4d(0xf6)]({'tag':_0x153c4d(0xf3),'attributes':{'class':['ck',_0x153c4d(0x10c),_0x153c4d(0x177),_0x153c4d(0xf4),_0x153c4d(0x119)],'type':_0x153c4d(0xf3),'role':_0x153c4d(0x12b),'tabindex':'-1'},'children':[_0x4f92e2,_0x450717,_0x2fb113,_0x4b04c8,_0x1284dd],'on':{'mouseenter':_0x2551e3['to'](()=>{const _0x291fe2=_0x153c4d;this[_0x291fe2(0x108)]()||_0x3542a6[_0x291fe2(0x117)]();}),'click':_0x2551e3['to'](()=>{const _0x268748=_0x153c4d;_0x3542a6[_0x268748(0x11e)](_0x268748(0x12c));})}}),_0x3542a6['on'](_0x153c4d(0x12c),()=>{const _0x5243a1=_0x153c4d;_0x83550b[_0x5243a1(0x114)][_0x5243a1(0xfc)][_0x5243a1(0x117)](),_0x83550b[_0x5243a1(0x148)][_0x5243a1(0x12c)](_0x5243a1(0x14d),_0x337326);}),_0x2e839c[_0x153c4d(0x115)][_0x153c4d(0x166)](_0x3542a6),{'listItem':_0x2e839c,'highlightViews':[_0x4f92e2,_0x4b04c8]};}{const _0x4ff6b1=new _0x2bd126(),_0x5c0648=new _0x32ca8e(this[_0x153c4d(0x130)],_0x4ff6b1),_0x349bd1=_0x5c0648[_0x153c4d(0x138)],_0x5d8ca4=_0x337326[_0x153c4d(0x15e)]??_0x337326[_0x153c4d(0x155)]?.[_0x153c4d(0x15e)],_0x4c80e5=void 0x0!==_0x337326[_0x153c4d(0x15e)];return _0x5c0648[_0x153c4d(0xf7)]({'label':_0x337326[_0x153c4d(0x13d)],'withText':!0x0,'role':_0x153c4d(0x12b),'icon':_0x4c80e5?_0x5d8ca4??_0x2414c8:void 0x0,'tooltip':!0x1,'class':_0x153c4d(0xf4)}),_0x5c0648[_0x153c4d(0x107)]({'on':{'mouseenter':_0x349bd1['to'](()=>{const _0x52793a=_0x153c4d;this[_0x52793a(0x108)]()||_0x5c0648[_0x52793a(0x117)]();})}}),_0x5c0648['on'](_0x153c4d(0x12c),()=>{const _0x7df9d7=_0x153c4d;_0x83550b[_0x7df9d7(0x114)][_0x7df9d7(0xfc)][_0x7df9d7(0x117)](),_0x83550b[_0x7df9d7(0x148)][_0x7df9d7(0x12c)](_0x7df9d7(0x14d),_0x337326);}),_0x2e839c[_0x153c4d(0x115)][_0x153c4d(0x166)](_0x5c0648),{'listItem':_0x2e839c,'highlightViews':[_0x4ff6b1]};}}[_0x1a1310(0x16d)](_0x5be9ec,_0x57f484,_0x43ae8e,_0x5e19d1){const _0x63e428=_0x1a1310;return _0x43ae8e&&_0x5e19d1?this[_0x63e428(0x12a)](_0x5be9ec,_0x57f484,_0x43ae8e,_0x5e19d1):this[_0x63e428(0x163)](_0x5be9ec,_0x57f484);}[_0x1a1310(0x12a)](_0x196756,_0xd3d168,_0x81eb3,_0x227be5){const _0x5c3f76=_0x1a1310,_0xc83a28=new _0x38ca06(this[_0x5c3f76(0x130)]),_0x25761c=new _0x32ca8e(this[_0x5c3f76(0x130)]),_0x1a26f1=_0x25761c[_0x5c3f76(0x138)],{view:_0x77f5aa,highlightView:_0x2832bd}=this[_0x5c3f76(0x167)](_0x81eb3,_0x227be5),{view:_0x1ec62c,highlightView:_0x596532}=this[_0x5c3f76(0x146)](_0xd3d168[_0x5c3f76(0x13d)]),_0xef5846=this[_0x5c3f76(0x159)](_0x77f5aa,_0x1ec62c);return _0x25761c[_0x5c3f76(0xf7)]({'label':_0xd3d168[_0x5c3f76(0x13d)],'withText':!0x0,'role':_0x5c3f76(0x12b),'class':_0x5c3f76(0xf8),'tooltip':!0x1}),_0x25761c[_0x5c3f76(0xf6)]({'tag':_0x5c3f76(0xf3),'attributes':{'class':['ck',_0x5c3f76(0x10c),_0x5c3f76(0x177),_0x5c3f76(0xf4),_0x5c3f76(0x168),_0x5c3f76(0x10a)],'type':_0x5c3f76(0xf3),'role':_0x5c3f76(0x12b),'tabindex':'-1'},'children':[_0xef5846],'on':{'mouseenter':_0x1a26f1['to'](()=>{const _0x1b8957=_0x5c3f76;this[_0x1b8957(0x108)]()||_0x25761c[_0x1b8957(0x117)]();}),'click':_0x1a26f1['to'](()=>{const _0x4f2332=_0x5c3f76;this[_0x4f2332(0x16f)](_0x25761c);})}}),this[_0x5c3f76(0x105)](_0x25761c,_0x196756,_0xd3d168),_0xc83a28[_0x5c3f76(0x115)][_0x5c3f76(0x166)](_0x25761c),{'listItem':_0xc83a28,'highlightViews':[_0x2832bd,_0x596532]};}[_0x1a1310(0x163)](_0x2568c5,_0x66e99){const _0x340337=_0x1a1310,_0x54c54f=new _0x38ca06(this[_0x340337(0x130)]),_0x4fddf3=new _0x2bd126(),_0x52c9e6=new _0x32ca8e(this[_0x340337(0x130)],_0x4fddf3),_0x16467a=_0x52c9e6[_0x340337(0x138)];return _0x52c9e6[_0x340337(0xf7)]({'label':_0x66e99[_0x340337(0x13d)],'withText':!0x0,'role':_0x340337(0x12b),'icon':void 0x0,'tooltip':!0x1,'class':_0x340337(0x139)}),_0x52c9e6[_0x340337(0x107)]({'on':{'mouseenter':_0x16467a['to'](()=>{const _0x4a695f=_0x340337;this[_0x4a695f(0x108)]()||_0x52c9e6[_0x4a695f(0x117)]();})}}),this[_0x340337(0x105)](_0x52c9e6,_0x2568c5,_0x66e99),_0x54c54f[_0x340337(0x115)][_0x340337(0x166)](_0x52c9e6),{'listItem':_0x54c54f,'highlightViews':[_0x4fddf3]};}[_0x1a1310(0x167)](_0x1da77c,_0x1c56cf){const _0x2ad431=_0x1a1310,_0x246ae7=new _0x330822(this[_0x2ad431(0x130)]),_0x205b94=new _0x4032fc();_0x205b94[_0x2ad431(0x161)]=_0x1c56cf,_0x205b94[_0x2ad431(0x107)]({'attributes':{'class':_0x2ad431(0xf9)}});const _0x4af93b=new _0x3765ce();return _0x4af93b[_0x2ad431(0x100)]=_0x1da77c,_0x246ae7[_0x2ad431(0xf6)]({'tag':_0x2ad431(0x151),'attributes':{'class':_0x2ad431(0x109)},'children':[_0x205b94,_0x4af93b]}),{'view':_0x246ae7,'highlightView':_0x4af93b};}[_0x1a1310(0x146)](_0x470cea){const _0x4c41b3=_0x1a1310,_0xb346c2=new _0x330822(this[_0x4c41b3(0x130)]),_0x377e86=new _0x3765ce();return _0x377e86[_0x4c41b3(0x100)]=_0x470cea,_0xb346c2[_0x4c41b3(0xf6)]({'tag':_0x4c41b3(0x151),'attributes':{'class':_0x4c41b3(0xf5)},'children':[_0x377e86]}),{'view':_0xb346c2,'highlightView':_0x377e86};}[_0x1a1310(0x159)](_0x122049,_0x40d68c){const _0x26c3cd=_0x1a1310,_0x28961f=new _0x330822(this[_0x26c3cd(0x130)]);return _0x28961f[_0x26c3cd(0xf6)]({'tag':_0x26c3cd(0x151),'attributes':{'class':_0x26c3cd(0x124)},'children':[_0x122049,_0x40d68c]}),_0x28961f;}[_0x1a1310(0x105)](_0x105ec7,_0x59cc4a,_0x8ddff5){const _0x1e26c2=_0x1a1310;_0x105ec7['on'](_0x1e26c2(0x12c),()=>{const _0x21b2d7=_0x1e26c2;_0x59cc4a[_0x21b2d7(0x114)][_0x21b2d7(0xfc)][_0x21b2d7(0x117)](),_0x59cc4a[_0x21b2d7(0x148)][_0x21b2d7(0x12c)](_0x21b2d7(0x14d),_0x8ddff5);});}[_0x1a1310(0x14c)](_0x16caf6,_0xc89a6c,_0x3c9556){const _0x59cde3=_0x1a1310,_0x45471e=new _0x38ca06(this[_0x59cde3(0x130)]),_0x5cd208=new _0x2bd126(),_0x451a6e=new _0x2475c0(this[_0x59cde3(0x130)],_0x5cd208),_0x69cb16=_0x451a6e[_0x59cde3(0x138)],_0x293c03=this[_0x59cde3(0x153)](_0x3c9556),_0x1fc100=this[_0x59cde3(0x123)](_0x16caf6,_0xc89a6c[_0x59cde3(0x134)],_0x3c9556);_0x451a6e[_0x59cde3(0xf7)]({'label':_0xc89a6c[_0x59cde3(0xef)],'withText':!0x0,'role':Gs,'icon':_0xc89a6c[_0x59cde3(0x15e)]??_0x2414c8,'isEnabled':_0xc89a6c[_0x59cde3(0x134)][_0x59cde3(0x131)](_0xa9d26a=>_0xa9d26a[_0x59cde3(0x15d)])}),_0x451a6e[_0x59cde3(0x107)]({'on':{'mouseenter':_0x69cb16['to'](()=>{const _0x3fa3f6=_0x59cde3;this[_0x3fa3f6(0x108)]()||_0x451a6e[_0x3fa3f6(0x117)]();})}});const _0x250709=new _0x2f1fa3(this[_0x59cde3(0x130)]);return _0x250709[_0x59cde3(0x107)]({'attributes':{'class':['ck',_0x59cde3(0x12f),_0x59cde3(0x174),_0x59cde3(0x14e)]},'on':{'keydown':_0x69cb16['to'](_0x46b4cb=>{const _0x4e87be=_0x59cde3;this[_0x4e87be(0x113)](_0x46b4cb,_0x293c03,_0x451a6e,_0x250709);})}}),_0x451a6e[_0x59cde3(0x157)](_0x59cde3(0x141))['to'](_0x250709,_0x59cde3(0x16c)),this[_0x59cde3(0x13f)][_0x59cde3(0x166)](_0x250709),_0x250709[_0x59cde3(0x161)][_0x59cde3(0x166)](_0x1fc100),this[_0x59cde3(0x102)](_0x451a6e,_0x250709),_0x45471e[_0x59cde3(0x115)][_0x59cde3(0x166)](_0x451a6e),{'listItem':_0x45471e,'highlightView':_0x5cd208};}[_0x1a1310(0x123)](_0x56e077,_0x170a6d,_0x20980d){const _0x3b0af7=_0x1a1310,_0x2ad6cf=new _0x195beb(this[_0x3b0af7(0x130)]);return _0x2ad6cf[_0x3b0af7(0x107)]({'attributes':{'class':['ck',_0x3b0af7(0x12f),_0x3b0af7(0x116),_0x3b0af7(0x121)]}}),_0x170a6d[_0x3b0af7(0x158)](_0x5c7466=>{const _0x4aaf44=_0x3b0af7,_0x212db0=new _0x38ca06(this[_0x4aaf44(0x130)]),_0x3d66af=_0x1ee7fd({'editor':_0x56e077,'action':_0x5c7466,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4aaf44(0x108)]()})();_0x212db0[_0x4aaf44(0x115)][_0x4aaf44(0x166)](_0x3d66af),_0x20980d[_0x4aaf44(0x104)][_0x4aaf44(0x166)](_0x3d66af),_0x2ad6cf[_0x4aaf44(0x127)][_0x4aaf44(0x166)](_0x212db0);}),_0x2ad6cf;}[_0x1a1310(0x102)](_0x3a2636,_0x2583af){const _0xa9f66e=_0x1a1310,_0x12ba6d=_0x3a2636[_0xa9f66e(0x138)],_0x221774=this[_0xa9f66e(0x145)](_0x3a2636);_0x3a2636[_0xa9f66e(0x107)]({'attributes':{'class':[_0xa9f66e(0x165)]},'on':{'mouseenter':_0x12ba6d['to'](()=>{const _0x5457a8=_0xa9f66e;this[_0x5457a8(0x178)](_0x2583af,_0x3a2636);}),'mouseleave':_0x12ba6d['to'](_0x94749f=>{const _0x361f7e=_0xa9f66e,_0x42b763=_0x94749f[_0x361f7e(0x125)];this[_0x361f7e(0xfe)](_0x42b763,_0x2583af)||this[_0x361f7e(0x11d)](_0x2583af);}),'keydown':_0x12ba6d['to'](_0x185495=>{const _0x36c8b7=_0xa9f66e;_0x185495[_0x36c8b7(0x13a)]==_0x221774&&(this[_0x36c8b7(0x178)](_0x2583af,_0x3a2636),_0x2583af[_0x36c8b7(0x161)][_0x36c8b7(0x12e)](0x0)[_0x36c8b7(0x117)]());})}}),_0x2583af['on'](_0xa9f66e(0x103),()=>{const _0x6c5caf=_0xa9f66e;_0x2583af[_0x6c5caf(0x173)]?.[_0x6c5caf(0x10b)](_0x6c5caf(0xfd),_0x2faca7=>{const _0x4f8e2c=_0x6c5caf,_0x528b91=_0x2faca7[_0x4f8e2c(0x125)];_0x3a2636[_0x4f8e2c(0x173)]?.[_0x4f8e2c(0x16e)](_0x528b91)||this[_0x4f8e2c(0xfe)](_0x528b91,_0x2583af)||this[_0x4f8e2c(0x11d)](_0x2583af);});});}[_0x1a1310(0x178)](_0x339281,_0x38db5d){const _0x24e8cc=_0x1a1310;this[_0x24e8cc(0x147)][_0x24e8cc(0x158)](_0x31b4e7=>{const _0xe62a29=_0x24e8cc;_0x31b4e7!==_0x339281&&_0x31b4e7[_0xe62a29(0x16c)]&&_0x31b4e7[_0xe62a29(0x132)]();}),_0x339281[_0x24e8cc(0x137)](),_0x339281[_0x24e8cc(0x129)]({'positions':[_0x336092[_0x24e8cc(0x14f)]],'target':_0x38db5d[_0x24e8cc(0x173)],'fitInViewport':!0x0}),this[_0x24e8cc(0x147)][_0x24e8cc(0x166)](_0x339281);}[_0x1a1310(0x11d)](_0x1a2784){const _0x462798=_0x1a1310;_0x1a2784[_0x462798(0x132)](),this[_0x462798(0x147)][_0x462798(0x170)](_0x1a2784);}[_0x1a1310(0x160)](){const _0x52ce52=_0x1a1310;this[_0x52ce52(0x147)][_0x52ce52(0x158)](_0x4925ec=>_0x4925ec[_0x52ce52(0x132)]()),this[_0x52ce52(0x147)][_0x52ce52(0x144)]();}[_0x1a1310(0xfe)](_0x2e4080,_0x53093d){const _0x5c5091=_0x1a1310;if(!_0x2e4080)return!0x1;if(_0x53093d[_0x5c5091(0x173)]?.[_0x5c5091(0x16e)](_0x2e4080))return!0x0;const _0x5d66bd=_0x2e4080;return _0x5d66bd[_0x5c5091(0x128)]&&(null!==_0x5d66bd[_0x5c5091(0x128)](_0x5c5091(0x120))||null!==_0x5d66bd[_0x5c5091(0x128)](_0x5c5091(0x14a))||null!==_0x5d66bd[_0x5c5091(0x128)](_0x5c5091(0x164)));}[_0x1a1310(0x15c)](){const _0x5e9142=_0x1a1310;this[_0x5e9142(0x10e)]&&this[_0x5e9142(0x10e)][_0x5e9142(0xf1)]();}[_0x1a1310(0x172)](){const _0x1a770f=_0x1a1310;this[_0x1a770f(0x160)](),this[_0x1a770f(0x13f)][_0x1a770f(0x126)](),super[_0x1a770f(0x172)]();}[_0x1a1310(0x117)](){const _0x400e62=_0x1a1310;this[_0x400e62(0x10e)]?this[_0x400e62(0x10e)][_0x400e62(0x117)]():this[_0x400e62(0x16b)][_0x400e62(0x117)]();}[_0x1a1310(0x153)](_0x1546e4){const _0x4f5d5c=_0x1a1310;return _0x4f5d5c(0x154)===_0x1546e4[_0x4f5d5c(0x130)][_0x4f5d5c(0x171)]?_0x4f5d5c(0x10d):_0x4f5d5c(0x11c);}[_0x1a1310(0x145)](_0x58e9e9){const _0x232434=_0x1a1310;return _0x232434(0x154)===_0x58e9e9[_0x232434(0x130)][_0x232434(0x171)]?_0x232434(0x11c):_0x232434(0x10d);}[_0x1a1310(0x113)](_0x1dd21c,_0x537d49,_0xa80ef8,_0x14a2c2){const _0x19d4af=_0x1a1310;_0x1dd21c[_0x19d4af(0x13a)]==_0x537d49&&(_0xa80ef8[_0x19d4af(0x117)](),this[_0x19d4af(0x11d)](_0x14a2c2));}[_0x1a1310(0x16f)](_0xc3aad3){const _0x3a82d3=_0x1a1310;_0xc3aad3[_0x3a82d3(0x11e)](_0x3a82d3(0x12c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x230cd1,_0x59dd13){const _0x567abe=_0x5e6a,_0x492548=_0x230cd1();while(!![]){try{const _0x1f7c31=parseInt(_0x567abe(0x107))/0x1*(parseInt(_0x567abe(0x125))/0x2)+-parseInt(_0x567abe(0x128))/0x3*(-parseInt(_0x567abe(0x10b))/0x4)+parseInt(_0x567abe(0x11a))/0x5*(-parseInt(_0x567abe(0x124))/0x6)+parseInt(_0x567abe(0x108))/0x7+parseInt(_0x567abe(0x10f))/0x8*(parseInt(_0x567abe(0x116))/0x9)+parseInt(_0x567abe(0x118))/0xa+-parseInt(_0x567abe(0x10c))/0xb*(parseInt(_0x567abe(0x129))/0xc);if(_0x1f7c31===_0x59dd13)break;else _0x492548['push'](_0x492548['shift']());}catch(_0x2a520e){_0x492548['push'](_0x492548['shift']());}}}(_0x5546,0x6ff19));import{createDropdown as _0x46f2d9}from'ckeditor5/src/ui.js';function _0x5e6a(_0x4855ba,_0x4c2da8){const _0x55468c=_0x5546();return _0x5e6a=function(_0x5e6afc,_0x2d7b35){_0x5e6afc=_0x5e6afc-0x107;let _0x1053e8=_0x55468c[_0x5e6afc];return _0x1053e8;},_0x5e6a(_0x4855ba,_0x4c2da8);}import{IconAIQuickActions as _0x45d18e}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x164c66}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x543179}from'../../aicore/aiediting.js';function _0x5546(){const _0x3fe909=['24mjvXXp','children','68615NcbLpT','3084655jmtUmG','showFakeVisualSelection','has','2030636usRtAl','8072053qzsWfg','ck-ai-quick-actions-dropdown','selection','152LYtRXl','buttonView','panelView','document','plugins','length','locale','288675VtVWRE','icon','1529710lZmbpn','hideFakeVisualSelection','20OLBWOh','from','model','add','get','change:isOpen','getRanges','resetSearch','AIEditing','label','191442SGVKUk','10OpnyLo','ai-quick-actions-dropdown-selection','set','3IKxEgM'];_0x5546=function(){return _0x3fe909;};return _0x5546();}export function aiQuickActionsDropdownCreator(_0x26ff46){const {editor:_0x3c0f97,content:_0x1aecac,buttonDefinition:_0x122452,bodyCollection:_0x341bf1,hasSearch:_0xc9dac6=!0x1}=_0x26ff46;return()=>{const _0x2cc892=_0x5e6a,_0x4b0a9d=_0x3c0f97[_0x2cc892(0x115)],_0x117be2=_0x46f2d9(_0x4b0a9d);_0x117be2[_0x2cc892(0x110)][_0x2cc892(0x127)]({'icon':_0x122452[_0x2cc892(0x117)]??_0x45d18e,'label':_0x122452[_0x2cc892(0x123)],'tooltip':!0x0}),_0x117be2[_0x2cc892(0x127)]({'class':_0x2cc892(0x10d)});const _0xd0a90=new _0x164c66(_0x3c0f97,_0x1aecac,_0x117be2,_0x341bf1,_0xc9dac6);if(_0x117be2[_0x2cc892(0x111)][_0x2cc892(0x12a)][_0x2cc892(0x11d)](_0xd0a90),_0xc9dac6){const _0x373a28=_0x2cc892(0x126);_0x117be2['on'](_0x2cc892(0x11f),(_0x2454be,_0x5304b7,_0x408e3b)=>{const _0x36b98b=_0x2cc892;if(_0x408e3b){if(_0x3c0f97[_0x36b98b(0x113)][_0x36b98b(0x10a)](_0x36b98b(0x122))){const _0x258299=_0x3c0f97[_0x36b98b(0x113)][_0x36b98b(0x11e)](_0x543179),_0x110b6b=_0x3c0f97[_0x36b98b(0x11c)][_0x36b98b(0x112)][_0x36b98b(0x10e)],_0x399e7f=Array[_0x36b98b(0x11b)](_0x110b6b[_0x36b98b(0x120)]());_0x399e7f[_0x36b98b(0x114)]>0x0&&_0x258299[_0x36b98b(0x109)](_0x399e7f,_0x373a28,!0x1,!0x0);}}else _0x3c0f97[_0x36b98b(0x113)][_0x36b98b(0x10a)](_0x36b98b(0x122))&&_0x3c0f97[_0x36b98b(0x113)][_0x36b98b(0x11e)](_0x543179)[_0x36b98b(0x119)](_0x373a28),_0xd0a90[_0x36b98b(0x121)]();});}return _0x117be2;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x535c(){const _0x155651=['6093700GcYbVa','3199422FwYkNs','forEach','source','38999257pUPpgd','function','addMany','1304980nEKcMp','trim','label','34129UgNvBj','_highlightQuery','sort','item','includes','11862567wmjSFb','8wvLEdY','5050617ZrcHZT','7XAwIHw','2GiRhcu','_allListItems','_allSearchableItems','toLowerCase','clear','filter','map','_clearHighlight','groupLabel','items','highlightViews','10xtBrEL','length','highlightText'];_0x535c=function(){return _0x155651;};return _0x535c();}const _0x188cd6=_0x46d7;(function(_0x228890,_0x404a5f){const _0x4b601f=_0x46d7,_0x1d68fc=_0x228890();while(!![]){try{const _0x3bb3a5=parseInt(_0x4b601f(0x1a7))/0x1+-parseInt(_0x4b601f(0x18f))/0x2*(parseInt(_0x4b601f(0x18d))/0x3)+-parseInt(_0x4b601f(0x1a4))/0x4+parseInt(_0x4b601f(0x19d))/0x5+-parseInt(_0x4b601f(0x19e))/0x6*(parseInt(_0x4b601f(0x18e))/0x7)+-parseInt(_0x4b601f(0x18c))/0x8*(parseInt(_0x4b601f(0x18b))/0x9)+parseInt(_0x4b601f(0x19a))/0xa*(parseInt(_0x4b601f(0x1a1))/0xb);if(_0x3bb3a5===_0x404a5f)break;else _0x1d68fc['push'](_0x1d68fc['shift']());}catch(_0x234eb8){_0x1d68fc['push'](_0x1d68fc['shift']());}}}(_0x535c,0xe4cd4));import{ListView as _0x5a1849}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x4f730c}from'es-toolkit/compat';function _0x46d7(_0xae23b5,_0x6574eb){const _0x535ce0=_0x535c();return _0x46d7=function(_0x46d74c,_0x5e089e){_0x46d74c=_0x46d74c-0x18b;let _0x1c644c=_0x535ce0[_0x46d74c];return _0x1c644c;},_0x46d7(_0xae23b5,_0x6574eb);}export class AIQuickActionsFilteredListView extends _0x5a1849{[_0x188cd6(0x190)];[_0x188cd6(0x191)];constructor(_0x76a193,_0x281e44,_0x5e44c7){const _0x218fe9=_0x188cd6;super(_0x76a193),this[_0x218fe9(0x190)]=_0x281e44,this[_0x218fe9(0x191)]=_0x5e44c7;}[_0x188cd6(0x194)](_0x210dc5){const _0x750a86=_0x188cd6;if(!_0x210dc5)return this[_0x750a86(0x198)][_0x750a86(0x193)](),this[_0x750a86(0x198)][_0x750a86(0x1a3)](this[_0x750a86(0x190)]),this[_0x750a86(0x196)](),{'resultsCount':this[_0x750a86(0x190)][_0x750a86(0x19b)],'totalItemsCount':this[_0x750a86(0x190)][_0x750a86(0x19b)]};const _0x5a6e76=_0x210dc5[_0x750a86(0x1a0)][_0x750a86(0x192)]()[_0x750a86(0x1a5)](),_0x25574a=this[_0x750a86(0x191)][_0x750a86(0x194)](_0xf791a9=>(_0xf791a9[_0x750a86(0x197)]?_0xf791a9[_0x750a86(0x1a6)]+'\x20('+_0xf791a9[_0x750a86(0x197)]+')':_0xf791a9[_0x750a86(0x1a6)])[_0x750a86(0x192)]()[_0x750a86(0x1ab)](_0x5a6e76));return this[_0x750a86(0x198)][_0x750a86(0x193)](),this[_0x750a86(0x198)][_0x750a86(0x1a3)](_0x25574a[_0x750a86(0x1a9)]((_0x49d852,_0x1dc671)=>{const _0x559c94=_0x750a86,_0x1bcaf2=_0x49d852[_0x559c94(0x197)],_0x55b59a=_0x1dc671[_0x559c94(0x197)];return _0x1bcaf2||_0x55b59a?_0x1bcaf2?0x1:-0x1:0x0;})[_0x750a86(0x195)](_0x157817=>_0x157817[_0x750a86(0x1aa)])),this[_0x750a86(0x1a8)](_0x5a6e76,_0x25574a),{'resultsCount':_0x25574a[_0x750a86(0x19b)],'totalItemsCount':this[_0x750a86(0x191)][_0x750a86(0x19b)]};}[_0x188cd6(0x1a8)](_0x3a7602,_0x2143e3){const _0x1f21e3=_0x188cd6;if(!_0x3a7602)return;const _0xae895d=new RegExp(_0x4f730c(_0x3a7602),'gi');_0x2143e3[_0x1f21e3(0x19f)](_0x2cdeec=>{const _0x578dae=_0x1f21e3;_0x2cdeec[_0x578dae(0x199)]&&_0x2cdeec[_0x578dae(0x199)][_0x578dae(0x19f)](_0x3f5c81=>{const _0x48f88f=_0x578dae;_0x48f88f(0x1a2)==typeof _0x3f5c81[_0x48f88f(0x19c)]&&_0x3f5c81[_0x48f88f(0x19c)](_0xae895d);});});}[_0x188cd6(0x196)](){const _0x353bbc=_0x188cd6;this[_0x353bbc(0x191)][_0x353bbc(0x19f)](_0x160b92=>{const _0x530d1f=_0x353bbc;_0x160b92[_0x530d1f(0x199)]&&_0x160b92[_0x530d1f(0x199)][_0x530d1f(0x19f)](_0x6aaef6=>{const _0xb8422c=_0x530d1f;_0xb8422c(0x1a2)==typeof _0x6aaef6[_0xb8422c(0x19c)]&&_0x6aaef6[_0xb8422c(0x19c)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1af7(_0x2fb56e,_0x13fd51){var _0x51f9e3=_0x51f9();return _0x1af7=function(_0x1af7da,_0x25d1b2){_0x1af7da=_0x1af7da-0x122;var _0x5e3512=_0x51f9e3[_0x1af7da];return _0x5e3512;},_0x1af7(_0x2fb56e,_0x13fd51);}function _0x51f9(){var _0x58be91=['16KFunQL','div','315254RvrtiP','AI_DISCLAIMER_TEXT','10SQPafX','ck-ai-balloon__disclaimer-content','7889DMBOyE','setTemplate','2088418PKFVQf','433290uDeeuj','585848pxpFSM','16677396TcKcCz','1349110WfXhap','3054RDUObA','ck-ai-balloon__disclaimer'];_0x51f9=function(){return _0x58be91;};return _0x51f9();}(function(_0x144612,_0x1b8a51){var _0x18d7c1=_0x1af7,_0x51b13d=_0x144612();while(!![]){try{var _0x74d892=parseInt(_0x18d7c1(0x130))/0x1+-parseInt(_0x18d7c1(0x127))/0x2+-parseInt(_0x18d7c1(0x128))/0x3+-parseInt(_0x18d7c1(0x12e))/0x4*(parseInt(_0x18d7c1(0x12b))/0x5)+-parseInt(_0x18d7c1(0x12c))/0x6*(-parseInt(_0x18d7c1(0x125))/0x7)+parseInt(_0x18d7c1(0x129))/0x8+parseInt(_0x18d7c1(0x12a))/0x9*(parseInt(_0x18d7c1(0x123))/0xa);if(_0x74d892===_0x1b8a51)break;else _0x51b13d['push'](_0x51b13d['shift']());}catch(_0x40c4d6){_0x51b13d['push'](_0x51b13d['shift']());}}}(_0x51f9,0x859ad));import{View as _0x59c70a}from'ckeditor5/src/ui.js';import{getTranslation as _0x55d42b}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x59c70a{constructor(_0xbe5f88){var _0x1275a3=_0x1af7;super(_0xbe5f88),this[_0x1275a3(0x126)]({'tag':_0x1275a3(0x12f),'attributes':{'class':['ck',_0x1275a3(0x12d)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1275a3(0x124)]},'children':[{'text':_0x55d42b(_0xbe5f88,_0x1275a3(0x122))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b8882=_0x51ae;function _0x51ae(_0x57bde7,_0x13be5c){const _0x47a0d1=_0x47a0();return _0x51ae=function(_0x51ae16,_0xf29274){_0x51ae16=_0x51ae16-0xba;let _0x18efd5=_0x47a0d1[_0x51ae16];return _0x18efd5;},_0x51ae(_0x57bde7,_0x13be5c);}(function(_0x59fb9a,_0x182f69){const _0x5f18b=_0x51ae,_0x380658=_0x59fb9a();while(!![]){try{const _0x3f2c4=parseInt(_0x5f18b(0xcc))/0x1+parseInt(_0x5f18b(0xd3))/0x2*(parseInt(_0x5f18b(0xd6))/0x3)+parseInt(_0x5f18b(0xc6))/0x4*(-parseInt(_0x5f18b(0xd4))/0x5)+-parseInt(_0x5f18b(0xc7))/0x6*(parseInt(_0x5f18b(0xc3))/0x7)+parseInt(_0x5f18b(0xcf))/0x8*(-parseInt(_0x5f18b(0xbe))/0x9)+parseInt(_0x5f18b(0xbf))/0xa*(parseInt(_0x5f18b(0xc1))/0xb)+parseInt(_0x5f18b(0xd5))/0xc;if(_0x3f2c4===_0x182f69)break;else _0x380658['push'](_0x380658['shift']());}catch(_0x12a38e){_0x380658['push'](_0x380658['shift']());}}}(_0x47a0,0xbc917));import{ToolbarView as _0x4a9921,ButtonView as _0x59319b}from'ckeditor5/src/ui.js';import{getTranslation as _0x1523a7}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x4a9921{constructor(_0x614f35,_0x116e3e=!0x0,_0x3469ff=!0x0){const _0xdf4c11=_0x51ae;super(_0x614f35),this[_0xdf4c11(0xd0)](_0xdf4c11(0xcd),!0x1),_0x116e3e&&(this[_0xdf4c11(0xbd)]=this[_0xdf4c11(0xc4)](_0x1523a7(_0x614f35,_0xdf4c11(0xc8)),_0xdf4c11(0xc2)),this[_0xdf4c11(0xbd)][_0xdf4c11(0xd1)](_0xdf4c11(0xcd))['to'](this),this[_0xdf4c11(0xca)][_0xdf4c11(0xbb)](this[_0xdf4c11(0xbd)])),_0x3469ff&&(this[_0xdf4c11(0xcb)]=this[_0xdf4c11(0xc4)](_0x1523a7(_0x614f35,_0xdf4c11(0xce)),_0x116e3e?_0xdf4c11(0xc0):_0xdf4c11(0xc2)),this[_0xdf4c11(0xcb)][_0xdf4c11(0xd1)](_0xdf4c11(0xcd))['to'](this),this[_0xdf4c11(0xca)][_0xdf4c11(0xbb)](this[_0xdf4c11(0xcb)])),this[_0xdf4c11(0xd2)]({'showApplyButton':_0x116e3e,'showSuggestButton':_0x3469ff}),this[_0xdf4c11(0xbc)]({'attributes':{'class':[_0xdf4c11(0xc9)]}});}[_0x5b8882(0xd2)]({showApplyButton:_0x1a3411,showSuggestButton:_0x322339}){const _0x54ccde=_0x5b8882;this[_0x54ccde(0xbd)]&&(this[_0x54ccde(0xbd)][_0x54ccde(0xba)]=_0x1a3411),this[_0x54ccde(0xcb)]&&(this[_0x54ccde(0xcb)][_0x54ccde(0xba)]=_0x322339);}[_0x5b8882(0xc4)](_0x560c0b,_0x13f2d3){const _0x241dd0=_0x5b8882,_0x11924e=new _0x59319b(this[_0x241dd0(0xc5)]);return _0x11924e[_0x241dd0(0xd0)]({'label':_0x560c0b,'class':_0x13f2d3,'isVisible':!0x0,'withText':!0x0}),_0x11924e;}}function _0x47a0(){const _0xa60810=['1431424OSsgEf','set','bind','setButtonsVisibility','277374cHKlVM','260IzcbFS','2921472sAQDXX','27TvJDGQ','isVisible','add','extendTemplate','applyButton','36qtdNaz','20rDPiWW','ck-ai-button-secondary','7566713YfGNRv','ck-ai-button-primary','7372631TSpikp','_createButton','locale','118248OafoiK','6bGLBSN','AI_BALLOON_APPLY_BUTTON','ck-ai-balloon__toolbar','items','suggestButton','1211139fhKXfT','isEnabled','AI_BALLOON_SUGGEST_BUTTON'];_0x47a0=function(){return _0xa60810;};return _0x47a0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x591215=_0x196b;(function(_0x32a5e9,_0x4e5664){const _0x427e6d=_0x196b,_0x4439e8=_0x32a5e9();while(!![]){try{const _0x3e3b9e=parseInt(_0x427e6d(0x15b))/0x1+-parseInt(_0x427e6d(0x16f))/0x2*(parseInt(_0x427e6d(0x15a))/0x3)+parseInt(_0x427e6d(0x108))/0x4*(-parseInt(_0x427e6d(0x152))/0x5)+-parseInt(_0x427e6d(0x146))/0x6*(parseInt(_0x427e6d(0x140))/0x7)+-parseInt(_0x427e6d(0x109))/0x8*(-parseInt(_0x427e6d(0x141))/0x9)+-parseInt(_0x427e6d(0x12d))/0xa+parseInt(_0x427e6d(0x136))/0xb;if(_0x3e3b9e===_0x4e5664)break;else _0x4439e8['push'](_0x4439e8['shift']());}catch(_0x14e8b0){_0x4439e8['push'](_0x4439e8['shift']());}}}(_0x2d85,0x2b6c1));import{ViewCollection as _0x1c9a9b,FocusCycler as _0x589fca,ButtonView as _0x3ec22a,View as _0x11f545}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1ccb68,KeystrokeHandler as _0xd49846}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x583a81}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x49b7e5}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x2d4241}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x407938}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4a6394}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x344007}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x2d85(){const _0x41c7df=['ck-ai-interaction-counter','includes','start','_addContentWrapper','change:isTrackChangesOn','remove','set','_createStreamableContentView','_navigationTryAgainButton','updateContent','delegate','2306DxUhSX','startAutoScroll','_contentWrapper','_disclaimerView','showError','_addToolbar','availableActions','isTrackChangesOn','clearContent','ck-ai-actions-balloon-main','clearErrorState','add','bindTemplate','setButtonsVisibility','toggleIsLoading','AI_ACTIONS_PREVIOUS_INTERACTION','setTemplate','76qvRAgh','1000UkAJyr','render','has','focusFirst','ck-ai-custom-action-button','_focusTracker','stop','setInteractionCount','_createLoaderView','_loaderView','execute','_navigationNextButton','showBlockingError','_dialogContent','span','resetShowChangesButton','_hasError','updateMiniToolbarButtons','stopAutoScroll','hideError','focusCycler','addMiniToolbarItem','showLoader','ck-ai-navigation-button\x20ck-ai-previous-button','_streamableContentView','toggleShowChanges','hideLoader','focusLast','disableMiniToolbarButtons','_scrollManager','bind','insertSuggestion','element','isShowChangesOn','AI_ACTIONS_NEXT_INTERACTION','removeMiniToolbarItem','1451580BFZPUh','tryAgain','showPrevious','_isLoading','clear','div','suggestButton','locale','isBusy','5584249zwPwxe','AI_ACTIONS_TRY_AGAIN','_toggleToolbarButtonsVisibility','tab','_createMiniToolbar','_initializeScrollManager','items','interactionCount','_navigationCounter','isVisible','10668ciyisA','10386rYnzuo','applyButton','_setupMiniToolbarButtons','_navigationPreviousButton','setIsLoading','876uftMiP','listenTo','miniToolbarConfig','ck-ai-navigation-button\x20ck-ai-next-button','_errorView','_toolbarView','_miniToolbarView','destroy','_addDisclaimerView','applySuggestion','setErrorState','_config','24415uSiENo','focus','_focusables','toggleShowChangesEnabled','toggleSuggestionDisplayMode','createCollection','fire','shift\x20+\x20tab','258kfTzlE','85545MrXnKx','addMany','update','isEnabled','_getScrollableElement','1/1','_keystrokes','showNext','ck-ai-actions-balloon-content-wrapper'];_0x2d85=function(){return _0x41c7df;};return _0x2d85();}function _0x196b(_0x868740,_0x3e87d6){const _0x2d8578=_0x2d85();return _0x196b=function(_0x196bad,_0x360064){_0x196bad=_0x196bad-0xfc;let _0x2d40ba=_0x2d8578[_0x196bad];return _0x2d40ba;},_0x196b(_0x868740,_0x3e87d6);}import{AISuggestionStreamableContentView as _0x4ed93c}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x46f32d,IconPreviousArrow as _0x4ee200,IconRefresh as _0x1eb7d1}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x34d05b}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x34298c}from'../../../aiballoon/ui/aiballoonview.js';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x591215(0x14f),_0x591215(0x128)];export class AIActionsBalloonView extends _0x34298c{[_0x591215(0x11d)];[_0x591215(0x151)];[_0x591215(0x171)];[_0x591215(0x121)];[_0x591215(0x14b)];[_0x591215(0x14c)];[_0x591215(0x112)];[_0x591215(0x172)];[_0x591215(0x10e)];[_0x591215(0x161)];[_0x591215(0x116)];[_0x591215(0x154)];[_0x591215(0x126)];[_0x591215(0x144)];[_0x591215(0x114)];[_0x591215(0x16c)];[_0x591215(0x13e)];constructor(_0x19b887,_0x54ba46){const _0x10e272=_0x591215;super(_0x19b887),this[_0x10e272(0x16a)](_0x10e272(0x135),!0x1),this[_0x10e272(0x16a)](_0x10e272(0xfe),!0x1),this[_0x10e272(0x16a)](_0x10e272(0x130),!0x1),this[_0x10e272(0x16a)](_0x10e272(0x119),!0x1),this[_0x10e272(0x151)]=_0x54ba46,this[_0x10e272(0x10e)]=new _0x1ccb68(),this[_0x10e272(0x161)]=new _0xd49846(),this[_0x10e272(0x154)]=this[_0x10e272(0x157)](),this[_0x10e272(0x11d)]=new _0x589fca({'focusables':this[_0x10e272(0x154)],'focusTracker':this[_0x10e272(0x10e)],'keystrokeHandler':this[_0x10e272(0x161)],'actions':{'focusPrevious':_0x10e272(0x159),'focusNext':_0x10e272(0x139)}}),this[_0x10e272(0x116)]=new _0x1c9a9b(),this[_0x10e272(0x167)](_0x54ba46),this[_0x10e272(0x14e)](),this[_0x10e272(0xfc)](_0x54ba46),this[_0x10e272(0x154)][_0x10e272(0x131)](),this[_0x10e272(0x154)][_0x10e272(0x15c)]([this[_0x10e272(0x14b)]]),this[_0x10e272(0x107)]({'tag':_0x10e272(0x132),'attributes':{'class':[_0x10e272(0x100)]},'children':this[_0x10e272(0x116)]}),this['on'](_0x10e272(0x168),()=>{const _0x2dcfa3=_0x10e272;this[_0x2dcfa3(0x138)](_0x54ba46);});}[_0x591215(0x10a)](){const _0x5b3edd=_0x591215;super[_0x5b3edd(0x10a)]();for(const _0x3ad4bf of this[_0x5b3edd(0x154)])this[_0x5b3edd(0x10e)][_0x5b3edd(0x102)](_0x3ad4bf[_0x5b3edd(0x129)]);this[_0x5b3edd(0x161)][_0x5b3edd(0x147)](this[_0x5b3edd(0x129)]),this[_0x5b3edd(0x13b)]();}[_0x591215(0x14d)](){const _0x39da2e=_0x591215;super[_0x39da2e(0x14d)](),this[_0x39da2e(0x126)]&&this[_0x39da2e(0x126)][_0x39da2e(0x14d)]();}[_0x591215(0x153)](_0xa20d72){const _0x2b5100=_0x591215;-0x1===_0xa20d72?this[_0x2b5100(0x11d)][_0x2b5100(0x124)]():this[_0x2b5100(0x11d)][_0x2b5100(0x10c)]();}[_0x591215(0x145)](_0x3a8175){const _0x37debf=_0x591215;this[_0x37debf(0x130)]=_0x3a8175;}[_0x591215(0x150)](){const _0x4addb5=_0x591215;this[_0x4addb5(0x119)]=!0x0,this[_0x4addb5(0x14c)][_0x4addb5(0x155)](!0x1);}[_0x591215(0x101)](){const _0x1c0aa0=_0x591215;this[_0x1c0aa0(0x119)]=!0x1,this[_0x1c0aa0(0x14c)][_0x1c0aa0(0x155)](!0x0);}[_0x591215(0x173)](_0x3d6c12){const _0x95ef24=_0x591215;super[_0x95ef24(0x173)](_0x3d6c12),this[_0x95ef24(0x116)][_0x95ef24(0x10b)](this[_0x95ef24(0x14a)])||this[_0x95ef24(0x116)][_0x95ef24(0x102)](this[_0x95ef24(0x14a)],0x0);}[_0x591215(0x11c)](){const _0x313ff8=_0x591215;super[_0x313ff8(0x11c)](),this[_0x313ff8(0x101)]();}[_0x591215(0x115)](_0x56643f){const _0x20e257=_0x591215;super[_0x20e257(0x115)](_0x56643f),this[_0x20e257(0x150)]();}[_0x591215(0x11e)](_0x459896){const _0x14c324=_0x591215;this[_0x14c324(0x14c)][_0x14c324(0x13c)][_0x14c324(0x10b)](_0x459896)||this[_0x14c324(0x14c)][_0x14c324(0x13c)][_0x14c324(0x102)](_0x459896);}[_0x591215(0x12c)](_0x4ba2bf){const _0x52a511=_0x591215;this[_0x52a511(0x14c)][_0x52a511(0x13c)][_0x52a511(0x10b)](_0x4ba2bf)&&this[_0x52a511(0x14c)][_0x52a511(0x13c)][_0x52a511(0x169)](_0x4ba2bf);}[_0x591215(0x11f)](){const _0x1e8494=_0x591215;this[_0x1e8494(0x112)]&&(this[_0x1e8494(0x130)]=!0x0);}[_0x591215(0x123)](){const _0xb2cf86=_0x591215;this[_0xb2cf86(0x112)]&&(this[_0xb2cf86(0x130)]=!0x1);}[_0x591215(0x138)]({showApplyButton:_0x516846,showSuggestButton:_0x5cf4d5}){const _0x2232b2=_0x591215;_0x516846=_0x516846&&!this[_0x2232b2(0xfe)]&&this[_0x2232b2(0x151)][_0x2232b2(0xfd)][_0x2232b2(0x165)](_0x2232b2(0x14f)),_0x5cf4d5=_0x5cf4d5&&this[_0x2232b2(0x151)][_0x2232b2(0xfd)][_0x2232b2(0x165)](_0x2232b2(0x128)),this[_0x2232b2(0x14b)][_0x2232b2(0x104)]({'showApplyButton':_0x516846,'showSuggestButton':_0x5cf4d5});}async[_0x591215(0x16d)](_0x3990f1){const _0x500178=_0x591215;await this[_0x500178(0x121)][_0x500178(0x15d)](_0x3990f1);}[_0x591215(0xff)](){const _0x5dc8ce=_0x591215;this[_0x5dc8ce(0x121)][_0x5dc8ce(0x131)]();}[_0x591215(0x167)](_0x3e0073){const _0x915f3c=_0x591215;this[_0x915f3c(0x171)]=new _0x11f545(this[_0x915f3c(0x134)]),this[_0x915f3c(0x171)][_0x915f3c(0x107)]({'tag':_0x915f3c(0x132),'attributes':{'class':[_0x915f3c(0x163)]},'children':[this[_0x915f3c(0x111)](),this[_0x915f3c(0x16b)](),this[_0x915f3c(0x13a)](_0x3e0073[_0x915f3c(0x148)])]}),this[_0x915f3c(0x116)][_0x915f3c(0x102)](this[_0x915f3c(0x171)]);}[_0x591215(0x14e)](){const _0x25d369=_0x591215;this[_0x25d369(0x172)]=new _0x49b7e5(this[_0x25d369(0x134)]),this[_0x25d369(0x116)][_0x25d369(0x102)](this[_0x25d369(0x172)]);}[_0x591215(0xfc)]({showApplyButton:_0x5d6b3e,showSuggestButton:_0x3574e5}){const _0x225b92=_0x591215;this[_0x225b92(0x14b)]=new _0x583a81(this[_0x225b92(0x134)],_0x5d6b3e,_0x3574e5),this[_0x225b92(0x14b)][_0x225b92(0x142)]?.['on'](_0x225b92(0x113),()=>{const _0x2c6077=_0x225b92;this[_0x2c6077(0x158)](_0x2c6077(0x14f));}),this[_0x225b92(0x14b)][_0x225b92(0x133)]?.['on'](_0x225b92(0x113),()=>{const _0x977d1e=_0x225b92;this[_0x977d1e(0x158)](_0x977d1e(0x128));}),this[_0x225b92(0x14b)][_0x225b92(0x127)](_0x225b92(0x15e))['to'](this,_0x225b92(0x135),this,_0x225b92(0x130),this,_0x225b92(0x119),(_0x4d01f2,_0x3ad930,_0x85ece4)=>!(_0x4d01f2||_0x3ad930||_0x85ece4)),this[_0x225b92(0x138)]({'showApplyButton':_0x5d6b3e,'showSuggestButton':_0x3574e5}),this[_0x225b92(0x116)][_0x225b92(0x102)](this[_0x225b92(0x14b)]);}[_0x591215(0x13a)](_0x3afd81){const _0x3160fb=_0x591215;return this[_0x3160fb(0x14c)]=new _0x407938(this[_0x3160fb(0x134)],_0x3afd81),this[_0x3160fb(0x14c)][_0x3160fb(0x16e)](..._0x4a6394)['to'](this),this[_0x3160fb(0x14c)]['on'](_0x3160fb(0x122),()=>{const _0x2a4e46=_0x3160fb;this[_0x2a4e46(0x14c)][_0x2a4e46(0x12a)]=!this[_0x2a4e46(0x14c)][_0x2a4e46(0x12a)],this[_0x2a4e46(0x158)](_0x2a4e46(0x156),{'showDiff':this[_0x2a4e46(0x14c)][_0x2a4e46(0x12a)]});}),this[_0x3160fb(0x14c)][_0x3160fb(0x127)](_0x3160fb(0x15e))['to'](this,_0x3160fb(0x135),this,_0x3160fb(0x130),(_0x16184d,_0x1d7736)=>!(_0x16184d||_0x1d7736)),this[_0x3160fb(0x14c)];}[_0x591215(0x111)](){const _0x3635f3=_0x591215;return this[_0x3635f3(0x112)]=new _0x344007(this[_0x3635f3(0x134)]),this[_0x3635f3(0x112)][_0x3635f3(0x127)](_0x3635f3(0x13f))['to'](this,_0x3635f3(0x130)),this[_0x3635f3(0x112)];}[_0x591215(0x16b)](){const _0x4f1af7=_0x591215;return this[_0x4f1af7(0x121)]=new _0x4ed93c(this[_0x4f1af7(0x134)]),this[_0x4f1af7(0x121)];}[_0x591215(0x143)](){const _0xd013e4=_0x591215,_0x25cb13=new _0x3ec22a(this[_0xd013e4(0x134)]),_0x23bbc1=new _0x3ec22a(this[_0xd013e4(0x134)]),_0x15e6ca=new fh(this[_0xd013e4(0x134)]),_0x510c66=new _0x3ec22a(this[_0xd013e4(0x134)]);_0x25cb13[_0xd013e4(0x16a)]({'icon':_0x1eb7d1,'label':_0x34d05b(this[_0xd013e4(0x134)],_0xd013e4(0x137)),'tooltip':!0x0,'class':_0xd013e4(0x10d)}),_0x23bbc1[_0xd013e4(0x16a)]({'icon':_0x4ee200,'tooltip':_0x34d05b(this[_0xd013e4(0x134)],_0xd013e4(0x106)),'class':_0xd013e4(0x120)}),_0x510c66[_0xd013e4(0x16a)]({'icon':_0x46f32d,'tooltip':_0x34d05b(this[_0xd013e4(0x134)],_0xd013e4(0x12b)),'class':_0xd013e4(0x149)}),_0x25cb13[_0xd013e4(0x127)](_0xd013e4(0x15e))['to'](this,_0xd013e4(0x135),_0x5a1555=>!_0x5a1555),_0x25cb13['on'](_0xd013e4(0x113),()=>{const _0x4c1736=_0xd013e4;this[_0x4c1736(0x158)](_0x4c1736(0x12e));}),_0x23bbc1[_0xd013e4(0x127)](_0xd013e4(0x15e))['to'](this,_0xd013e4(0x135),_0x367f47=>!_0x367f47),_0x23bbc1['on'](_0xd013e4(0x113),()=>{const _0x53f82d=_0xd013e4;this[_0x53f82d(0x158)](_0x53f82d(0x12f));}),_0x510c66[_0xd013e4(0x127)](_0xd013e4(0x15e))['to'](this,_0xd013e4(0x135),_0x832f73=>!_0x832f73),_0x510c66['on'](_0xd013e4(0x113),()=>{const _0x1a1f10=_0xd013e4;this[_0x1a1f10(0x158)](_0x1a1f10(0x162));}),this[_0xd013e4(0x144)]=_0x23bbc1,this[_0xd013e4(0x13e)]=_0x15e6ca,this[_0xd013e4(0x114)]=_0x510c66,this[_0xd013e4(0x16c)]=_0x25cb13;}[_0x591215(0x11a)](_0xdf8ea9,_0x221086){const _0x44795d=_0x591215;this[_0x44795d(0x144)]||this[_0x44795d(0x143)]();const _0x51d035=_0xdf8ea9>0x1;if(this[_0x44795d(0x11e)](this[_0x44795d(0x16c)]),_0x51d035){this[_0x44795d(0x11e)](this[_0x44795d(0x144)]),this[_0x44795d(0x11e)](this[_0x44795d(0x13e)]),this[_0x44795d(0x11e)](this[_0x44795d(0x114)]);const _0x395307=_0xdf8ea9-_0x221086;this[_0x44795d(0x13e)][_0x44795d(0x110)](_0x395307+'/'+_0xdf8ea9),this[_0x44795d(0x144)][_0x44795d(0x15e)]=_0x221086<_0xdf8ea9-0x1,this[_0x44795d(0x114)][_0x44795d(0x15e)]=_0x221086>0x0;}else this[_0x44795d(0x12c)](this[_0x44795d(0x144)]),this[_0x44795d(0x12c)](this[_0x44795d(0x13e)]),this[_0x44795d(0x12c)](this[_0x44795d(0x114)]);}[_0x591215(0x125)](){const _0x497165=_0x591215;this[_0x497165(0x16c)][_0x497165(0x15e)]=!0x1,this[_0x497165(0x144)][_0x497165(0x15e)]=!0x1,this[_0x497165(0x114)][_0x497165(0x15e)]=!0x1;}[_0x591215(0x170)](){const _0x55b745=_0x591215;this[_0x55b745(0x13b)](),this[_0x55b745(0x126)]&&this[_0x55b745(0x126)][_0x55b745(0x166)]();}[_0x591215(0x11b)](){const _0x6ba407=_0x591215;this[_0x6ba407(0x126)]&&this[_0x6ba407(0x126)][_0x6ba407(0x10f)]();}[_0x591215(0x105)](_0x3fc09c){const _0x40da90=_0x591215;this[_0x40da90(0x130)]=_0x3fc09c;}[_0x591215(0x118)](){const _0x309a7a=_0x591215;this[_0x309a7a(0x14c)][_0x309a7a(0x12a)]=!0x1;}[_0x591215(0x13b)](){const _0x44aec9=_0x591215,_0x86fb42=this[_0x44aec9(0x15f)]();_0x86fb42&&!this[_0x44aec9(0x126)]&&(this[_0x44aec9(0x126)]=new _0x2d4241(_0x86fb42));}[_0x591215(0x15f)](){const _0x15f87b=_0x591215;return this[_0x15f87b(0x121)][_0x15f87b(0x129)];}}class fh extends _0x11f545{constructor(_0x569660){const _0x3bea5e=_0x591215;super(_0x569660);const _0x47793c=this[_0x3bea5e(0x103)];this[_0x3bea5e(0x16a)](_0x3bea5e(0x13d),_0x3bea5e(0x160)),this[_0x3bea5e(0x107)]({'tag':_0x3bea5e(0x117),'attributes':{'class':[_0x3bea5e(0x164)]},'children':[{'text':_0x47793c['to'](_0x3bea5e(0x13d))}]});}[_0x591215(0x110)](_0x519967){const _0x2751ce=_0x591215;this[_0x2751ce(0x16a)](_0x2751ce(0x13d),_0x519967);}}
|
|
23
|
+
function _0x1c6d(){const _0x4806b1=['ck-ai-navigation-button\x20ck-ai-next-button','availableActions','hideLoader','_scrollManager','disableMiniToolbarButtons','render','_createLoaderView','showError','toggleShowChangesEnabled','removeMiniToolbarItem','miniToolbarConfig','change:isTrackChangesOn','focusLast','AI_ACTIONS_PREVIOUS_INTERACTION','addMiniToolbarItem','_navigationNextButton','start','includes','createCollection','ck-ai-actions-balloon-content-wrapper','_errorView','resetShowChangesButton','hideError','_dialogContent','418919qNEHTK','197670Iqbmxf','_addContentWrapper','focusFirst','showLoader','6djVQFd','_initializeScrollManager','remove','2008CDqGsk','add','_navigationPreviousButton','applyButton','delegate','stop','toggleSuggestionDisplayMode','setButtonsVisibility','_contentWrapper','isEnabled','ck-ai-actions-balloon-main','isTrackChangesOn','3853340WLeFmL','tab','_config','focus','suggestButton','_getScrollableElement','interactionCount','ck-ai-custom-action-button','updateMiniToolbarButtons','update','showBlockingError','toggleIsLoading','_navigationCounter','_focusables','locale','addMany','set','setTemplate','4860522yuoodV','_setupMiniToolbarButtons','stopAutoScroll','_createStreamableContentView','has','_toolbarView','bindTemplate','element','setInteractionCount','_createMiniToolbar','isBusy','listenTo','35FWZPWl','1/1','shift\x20+\x20tab','fire','isShowChangesOn','ck-ai-navigation-button\x20ck-ai-previous-button','bind','_focusTracker','startAutoScroll','clear','focusCycler','span','1568764droWiG','destroy','ck-ai-interaction-counter','updateContent','_hasError','_streamableContentView','_navigationTryAgainButton','_disclaimerView','toggleShowChanges','applySuggestion','clearErrorState','showNext','showPrevious','insertSuggestion','12106iLkWfq','_miniToolbarView','_loaderView','_toggleToolbarButtonsVisibility','setIsLoading','execute','tryAgain','_addToolbar','19131FgUNpo','AI_ACTIONS_NEXT_INTERACTION','_keystrokes','_isLoading','isVisible','items','setErrorState','clearContent','_addDisclaimerView','div','AI_ACTIONS_TRY_AGAIN'];_0x1c6d=function(){return _0x4806b1;};return _0x1c6d();}const _0x1aaa06=_0x4dce;(function(_0x46ebd8,_0x2029a1){const _0x112390=_0x4dce,_0x3858db=_0x46ebd8();while(!![]){try{const _0x24999c=parseInt(_0x112390(0x131))/0x1+parseInt(_0x112390(0x17d))/0x2*(parseInt(_0x112390(0x136))/0x3)+parseInt(_0x112390(0x16f))/0x4+parseInt(_0x112390(0x163))/0x5*(-parseInt(_0x112390(0x132))/0x6)+-parseInt(_0x112390(0x10e))/0x7*(-parseInt(_0x112390(0x139))/0x8)+-parseInt(_0x112390(0x157))/0x9+-parseInt(_0x112390(0x145))/0xa;if(_0x24999c===_0x2029a1)break;else _0x3858db['push'](_0x3858db['shift']());}catch(_0x49b8f6){_0x3858db['push'](_0x3858db['shift']());}}}(_0x1c6d,0x563a8));import{ViewCollection as _0x5d27d6,FocusCycler as _0x13037e,ButtonView as _0x640828,View as _0x65e502}from'ckeditor5/src/ui.js';import{FocusTracker as _0x120f78,KeystrokeHandler as _0x2ffc88}from'ckeditor5/src/utils.js';function _0x4dce(_0x37e6e3,_0x27fba9){const _0x1c6df6=_0x1c6d();return _0x4dce=function(_0x4dce91,_0x52600b){_0x4dce91=_0x4dce91-0x10e;let _0x23166f=_0x1c6df6[_0x4dce91];return _0x23166f;},_0x4dce(_0x37e6e3,_0x27fba9);}import{AIActionsBalloonToolbarView as _0x43e9b4}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1c2915}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3fce37}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x57c14b}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x57686c}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x1df679}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x1959ac}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x3e73af,IconPreviousArrow as _0x14a4b7,IconRefresh as _0x272656}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5aee6f}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x2c3c82}from'../../../aiballoon/ui/aiballoonview.js';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x1aaa06(0x178),_0x1aaa06(0x17c)];export class AIActionsBalloonView extends _0x2c3c82{[_0x1aaa06(0x16d)];[_0x1aaa06(0x147)];[_0x1aaa06(0x141)];[_0x1aaa06(0x174)];[_0x1aaa06(0x15c)];[_0x1aaa06(0x17e)];[_0x1aaa06(0x17f)];[_0x1aaa06(0x176)];[_0x1aaa06(0x16a)];[_0x1aaa06(0x110)];[_0x1aaa06(0x130)];[_0x1aaa06(0x152)];[_0x1aaa06(0x11c)];[_0x1aaa06(0x13b)];[_0x1aaa06(0x128)];[_0x1aaa06(0x175)];[_0x1aaa06(0x151)];constructor(_0x1275d1,_0x4a9860){const _0x129fe9=_0x1aaa06;super(_0x1275d1),this[_0x129fe9(0x155)](_0x129fe9(0x161),!0x1),this[_0x129fe9(0x155)](_0x129fe9(0x144),!0x1),this[_0x129fe9(0x155)](_0x129fe9(0x111),!0x1),this[_0x129fe9(0x155)](_0x129fe9(0x173),!0x1),this[_0x129fe9(0x147)]=_0x4a9860,this[_0x129fe9(0x16a)]=new _0x120f78(),this[_0x129fe9(0x110)]=new _0x2ffc88(),this[_0x129fe9(0x152)]=this[_0x129fe9(0x12b)](),this[_0x129fe9(0x16d)]=new _0x13037e({'focusables':this[_0x129fe9(0x152)],'focusTracker':this[_0x129fe9(0x16a)],'keystrokeHandler':this[_0x129fe9(0x110)],'actions':{'focusPrevious':_0x129fe9(0x165),'focusNext':_0x129fe9(0x146)}}),this[_0x129fe9(0x130)]=new _0x5d27d6(),this[_0x129fe9(0x133)](_0x4a9860),this[_0x129fe9(0x116)](),this[_0x129fe9(0x184)](_0x4a9860),this[_0x129fe9(0x152)][_0x129fe9(0x16c)](),this[_0x129fe9(0x152)][_0x129fe9(0x154)]([this[_0x129fe9(0x15c)]]),this[_0x129fe9(0x156)]({'tag':_0x129fe9(0x117),'attributes':{'class':[_0x129fe9(0x143)]},'children':this[_0x129fe9(0x130)]}),this['on'](_0x129fe9(0x124),()=>{const _0x204fa0=_0x129fe9;this[_0x204fa0(0x180)](_0x4a9860);});}[_0x1aaa06(0x11e)](){const _0x34ecb5=_0x1aaa06;super[_0x34ecb5(0x11e)]();for(const _0x198cd9 of this[_0x34ecb5(0x152)])this[_0x34ecb5(0x16a)][_0x34ecb5(0x13a)](_0x198cd9[_0x34ecb5(0x15e)]);this[_0x34ecb5(0x110)][_0x34ecb5(0x162)](this[_0x34ecb5(0x15e)]),this[_0x34ecb5(0x137)]();}[_0x1aaa06(0x170)](){const _0x21ecd3=_0x1aaa06;super[_0x21ecd3(0x170)](),this[_0x21ecd3(0x11c)]&&this[_0x21ecd3(0x11c)][_0x21ecd3(0x170)]();}[_0x1aaa06(0x148)](_0x4bb1cc){const _0x21ca81=_0x1aaa06;-0x1===_0x4bb1cc?this[_0x21ca81(0x16d)][_0x21ca81(0x125)]():this[_0x21ca81(0x16d)][_0x21ca81(0x134)]();}[_0x1aaa06(0x181)](_0x1e4145){const _0xefac01=_0x1aaa06;this[_0xefac01(0x111)]=_0x1e4145;}[_0x1aaa06(0x114)](){const _0x4bf900=_0x1aaa06;this[_0x4bf900(0x173)]=!0x0,this[_0x4bf900(0x17e)][_0x4bf900(0x121)](!0x1);}[_0x1aaa06(0x179)](){const _0x1e7132=_0x1aaa06;this[_0x1e7132(0x173)]=!0x1,this[_0x1e7132(0x17e)][_0x1e7132(0x121)](!0x0);}[_0x1aaa06(0x120)](_0x4ff774){const _0xaca57d=_0x1aaa06;super[_0xaca57d(0x120)](_0x4ff774),this[_0xaca57d(0x130)][_0xaca57d(0x15b)](this[_0xaca57d(0x12d)])||this[_0xaca57d(0x130)][_0xaca57d(0x13a)](this[_0xaca57d(0x12d)],0x0);}[_0x1aaa06(0x12f)](){const _0x207c87=_0x1aaa06;super[_0x207c87(0x12f)](),this[_0x207c87(0x179)]();}[_0x1aaa06(0x14f)](_0x4b0652){const _0x119292=_0x1aaa06;super[_0x119292(0x14f)](_0x4b0652),this[_0x119292(0x114)]();}[_0x1aaa06(0x127)](_0x2d62ea){const _0x4d1f5c=_0x1aaa06;this[_0x4d1f5c(0x17e)][_0x4d1f5c(0x113)][_0x4d1f5c(0x15b)](_0x2d62ea)||this[_0x4d1f5c(0x17e)][_0x4d1f5c(0x113)][_0x4d1f5c(0x13a)](_0x2d62ea);}[_0x1aaa06(0x122)](_0x463c5c){const _0x3f4d9e=_0x1aaa06;this[_0x3f4d9e(0x17e)][_0x3f4d9e(0x113)][_0x3f4d9e(0x15b)](_0x463c5c)&&this[_0x3f4d9e(0x17e)][_0x3f4d9e(0x113)][_0x3f4d9e(0x138)](_0x463c5c);}[_0x1aaa06(0x135)](){const _0x3becb5=_0x1aaa06;this[_0x3becb5(0x17f)]&&(this[_0x3becb5(0x111)]=!0x0);}[_0x1aaa06(0x11b)](){const _0x3228d4=_0x1aaa06;this[_0x3228d4(0x17f)]&&(this[_0x3228d4(0x111)]=!0x1);}[_0x1aaa06(0x180)]({showApplyButton:_0x284448,showSuggestButton:_0x40edce}){const _0x26cb92=_0x1aaa06;_0x284448=_0x284448&&!this[_0x26cb92(0x144)]&&this[_0x26cb92(0x147)][_0x26cb92(0x11a)][_0x26cb92(0x12a)](_0x26cb92(0x178)),_0x40edce=_0x40edce&&this[_0x26cb92(0x147)][_0x26cb92(0x11a)][_0x26cb92(0x12a)](_0x26cb92(0x17c)),this[_0x26cb92(0x15c)][_0x26cb92(0x140)]({'showApplyButton':_0x284448,'showSuggestButton':_0x40edce});}async[_0x1aaa06(0x172)](_0x59b268){const _0xc9251a=_0x1aaa06;await this[_0xc9251a(0x174)][_0xc9251a(0x14e)](_0x59b268);}[_0x1aaa06(0x115)](){const _0x1b2ba8=_0x1aaa06;this[_0x1b2ba8(0x174)][_0x1b2ba8(0x16c)]();}[_0x1aaa06(0x133)](_0x47cda7){const _0xa926a3=_0x1aaa06;this[_0xa926a3(0x141)]=new _0x65e502(this[_0xa926a3(0x153)]),this[_0xa926a3(0x141)][_0xa926a3(0x156)]({'tag':_0xa926a3(0x117),'attributes':{'class':[_0xa926a3(0x12c)]},'children':[this[_0xa926a3(0x11f)](),this[_0xa926a3(0x15a)](),this[_0xa926a3(0x160)](_0x47cda7[_0xa926a3(0x123)])]}),this[_0xa926a3(0x130)][_0xa926a3(0x13a)](this[_0xa926a3(0x141)]);}[_0x1aaa06(0x116)](){const _0x5c6f20=_0x1aaa06;this[_0x5c6f20(0x176)]=new _0x1c2915(this[_0x5c6f20(0x153)]),this[_0x5c6f20(0x130)][_0x5c6f20(0x13a)](this[_0x5c6f20(0x176)]);}[_0x1aaa06(0x184)]({showApplyButton:_0x2fa890,showSuggestButton:_0x270b6b}){const _0x12cb8a=_0x1aaa06;this[_0x12cb8a(0x15c)]=new _0x43e9b4(this[_0x12cb8a(0x153)],_0x2fa890,_0x270b6b),this[_0x12cb8a(0x15c)][_0x12cb8a(0x13c)]?.['on'](_0x12cb8a(0x182),()=>{const _0x9b1810=_0x12cb8a;this[_0x9b1810(0x166)](_0x9b1810(0x178));}),this[_0x12cb8a(0x15c)][_0x12cb8a(0x149)]?.['on'](_0x12cb8a(0x182),()=>{const _0x407ec3=_0x12cb8a;this[_0x407ec3(0x166)](_0x407ec3(0x17c));}),this[_0x12cb8a(0x15c)][_0x12cb8a(0x169)](_0x12cb8a(0x142))['to'](this,_0x12cb8a(0x161),this,_0x12cb8a(0x111),this,_0x12cb8a(0x173),(_0x19de50,_0x4fe511,_0x5b0618)=>!(_0x19de50||_0x4fe511||_0x5b0618)),this[_0x12cb8a(0x180)]({'showApplyButton':_0x2fa890,'showSuggestButton':_0x270b6b}),this[_0x12cb8a(0x130)][_0x12cb8a(0x13a)](this[_0x12cb8a(0x15c)]);}[_0x1aaa06(0x160)](_0x40987e){const _0x413e76=_0x1aaa06;return this[_0x413e76(0x17e)]=new _0x57c14b(this[_0x413e76(0x153)],_0x40987e),this[_0x413e76(0x17e)][_0x413e76(0x13d)](..._0x57686c)['to'](this),this[_0x413e76(0x17e)]['on'](_0x413e76(0x177),()=>{const _0x565305=_0x413e76;this[_0x565305(0x17e)][_0x565305(0x167)]=!this[_0x565305(0x17e)][_0x565305(0x167)],this[_0x565305(0x166)](_0x565305(0x13f),{'showDiff':this[_0x565305(0x17e)][_0x565305(0x167)]});}),this[_0x413e76(0x17e)][_0x413e76(0x169)](_0x413e76(0x142))['to'](this,_0x413e76(0x161),this,_0x413e76(0x111),(_0x399840,_0x18d02c)=>!(_0x399840||_0x18d02c)),this[_0x413e76(0x17e)];}[_0x1aaa06(0x11f)](){const _0xf62b8d=_0x1aaa06;return this[_0xf62b8d(0x17f)]=new _0x1df679(this[_0xf62b8d(0x153)]),this[_0xf62b8d(0x17f)][_0xf62b8d(0x169)](_0xf62b8d(0x112))['to'](this,_0xf62b8d(0x111)),this[_0xf62b8d(0x17f)];}[_0x1aaa06(0x15a)](){const _0x5bd46e=_0x1aaa06;return this[_0x5bd46e(0x174)]=new _0x1959ac(this[_0x5bd46e(0x153)]),this[_0x5bd46e(0x174)];}[_0x1aaa06(0x158)](){const _0x43412e=_0x1aaa06,_0x2d217f=new _0x640828(this[_0x43412e(0x153)]),_0x3af8ab=new _0x640828(this[_0x43412e(0x153)]),_0xdec88d=new fh(this[_0x43412e(0x153)]),_0x25d9d2=new _0x640828(this[_0x43412e(0x153)]);_0x2d217f[_0x43412e(0x155)]({'icon':_0x272656,'label':_0x5aee6f(this[_0x43412e(0x153)],_0x43412e(0x118)),'tooltip':!0x0,'class':_0x43412e(0x14c)}),_0x3af8ab[_0x43412e(0x155)]({'icon':_0x14a4b7,'tooltip':_0x5aee6f(this[_0x43412e(0x153)],_0x43412e(0x126)),'class':_0x43412e(0x168)}),_0x25d9d2[_0x43412e(0x155)]({'icon':_0x3e73af,'tooltip':_0x5aee6f(this[_0x43412e(0x153)],_0x43412e(0x10f)),'class':_0x43412e(0x119)}),_0x2d217f[_0x43412e(0x169)](_0x43412e(0x142))['to'](this,_0x43412e(0x161),_0xb7ea2a=>!_0xb7ea2a),_0x2d217f['on'](_0x43412e(0x182),()=>{const _0x45904=_0x43412e;this[_0x45904(0x166)](_0x45904(0x183));}),_0x3af8ab[_0x43412e(0x169)](_0x43412e(0x142))['to'](this,_0x43412e(0x161),_0x391484=>!_0x391484),_0x3af8ab['on'](_0x43412e(0x182),()=>{const _0x52d87a=_0x43412e;this[_0x52d87a(0x166)](_0x52d87a(0x17b));}),_0x25d9d2[_0x43412e(0x169)](_0x43412e(0x142))['to'](this,_0x43412e(0x161),_0x17830c=>!_0x17830c),_0x25d9d2['on'](_0x43412e(0x182),()=>{const _0x1de849=_0x43412e;this[_0x1de849(0x166)](_0x1de849(0x17a));}),this[_0x43412e(0x13b)]=_0x3af8ab,this[_0x43412e(0x151)]=_0xdec88d,this[_0x43412e(0x128)]=_0x25d9d2,this[_0x43412e(0x175)]=_0x2d217f;}[_0x1aaa06(0x14d)](_0x470183,_0x213193){const _0x3cbc0d=_0x1aaa06;this[_0x3cbc0d(0x13b)]||this[_0x3cbc0d(0x158)]();const _0x2f7d14=_0x470183>0x1;if(this[_0x3cbc0d(0x127)](this[_0x3cbc0d(0x175)]),_0x2f7d14){this[_0x3cbc0d(0x127)](this[_0x3cbc0d(0x13b)]),this[_0x3cbc0d(0x127)](this[_0x3cbc0d(0x151)]),this[_0x3cbc0d(0x127)](this[_0x3cbc0d(0x128)]);const _0x1e05cd=_0x470183-_0x213193;this[_0x3cbc0d(0x151)][_0x3cbc0d(0x15f)](_0x1e05cd+'/'+_0x470183),this[_0x3cbc0d(0x13b)][_0x3cbc0d(0x142)]=_0x213193<_0x470183-0x1,this[_0x3cbc0d(0x128)][_0x3cbc0d(0x142)]=_0x213193>0x0;}else this[_0x3cbc0d(0x122)](this[_0x3cbc0d(0x13b)]),this[_0x3cbc0d(0x122)](this[_0x3cbc0d(0x151)]),this[_0x3cbc0d(0x122)](this[_0x3cbc0d(0x128)]);}[_0x1aaa06(0x11d)](){const _0x27bb3e=_0x1aaa06;this[_0x27bb3e(0x175)][_0x27bb3e(0x142)]=!0x1,this[_0x27bb3e(0x13b)][_0x27bb3e(0x142)]=!0x1,this[_0x27bb3e(0x128)][_0x27bb3e(0x142)]=!0x1;}[_0x1aaa06(0x16b)](){const _0xfff45f=_0x1aaa06;this[_0xfff45f(0x137)](),this[_0xfff45f(0x11c)]&&this[_0xfff45f(0x11c)][_0xfff45f(0x129)]();}[_0x1aaa06(0x159)](){const _0x4b0866=_0x1aaa06;this[_0x4b0866(0x11c)]&&this[_0x4b0866(0x11c)][_0x4b0866(0x13e)]();}[_0x1aaa06(0x150)](_0x59f879){const _0x472332=_0x1aaa06;this[_0x472332(0x111)]=_0x59f879;}[_0x1aaa06(0x12e)](){const _0x5674f7=_0x1aaa06;this[_0x5674f7(0x17e)][_0x5674f7(0x167)]=!0x1;}[_0x1aaa06(0x137)](){const _0x1b5ad6=_0x1aaa06,_0x253c9f=this[_0x1b5ad6(0x14a)]();_0x253c9f&&!this[_0x1b5ad6(0x11c)]&&(this[_0x1b5ad6(0x11c)]=new _0x3fce37(_0x253c9f));}[_0x1aaa06(0x14a)](){const _0x33d024=_0x1aaa06;return this[_0x33d024(0x174)][_0x33d024(0x15e)];}}class fh extends _0x65e502{constructor(_0x51f096){const _0x59bf17=_0x1aaa06;super(_0x51f096);const _0x4be849=this[_0x59bf17(0x15d)];this[_0x59bf17(0x155)](_0x59bf17(0x14b),_0x59bf17(0x164)),this[_0x59bf17(0x156)]({'tag':_0x59bf17(0x16e),'attributes':{'class':[_0x59bf17(0x171)]},'children':[{'text':_0x4be849['to'](_0x59bf17(0x14b))}]});}[_0x1aaa06(0x15f)](_0x30b932){const _0x4a216f=_0x1aaa06;this[_0x4a216f(0x155)](_0x4a216f(0x14b),_0x30b932);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x478951=_0x3324;(function(_0x4427d1,_0x28d242){const _0xfd8386=_0x3324,_0x17d397=_0x4427d1();while(!![]){try{const _0x297e4a=parseInt(_0xfd8386(0x1f3))/0x1+parseInt(_0xfd8386(0x1f6))/0x2+parseInt(_0xfd8386(0x1f8))/0x3*(parseInt(_0xfd8386(0x1ed))/0x4)+-parseInt(_0xfd8386(0x1ec))/0x5*(-parseInt(_0xfd8386(0x1fe))/0x6)+-parseInt(_0xfd8386(0x1f5))/0x7+-parseInt(_0xfd8386(0x1f4))/0x8*(parseInt(_0xfd8386(0x1fc))/0x9)+-parseInt(_0xfd8386(0x1fa))/0xa*(parseInt(_0xfd8386(0x1fb))/0xb);if(_0x297e4a===_0x28d242)break;else _0x17d397['push'](_0x17d397['shift']());}catch(_0x1b3440){_0x17d397['push'](_0x17d397['shift']());}}}(_0x4faf,0x97e06));function _0x4faf(){const _0x3a8249=['2651257GTUFuB','879590YmMHXg','mouseenter','6tMFFdO','isOn','126950uwUJRi','737VXrhIy','9FaAFGw','menuitem','12WASSDX','ck-dropdown-menu-list__nested-menu__button__arrow','bindTemplate','content','children','ck-dropdown-menu-list__nested-menu__button','arrowView','1662155CMTcQX','354544aNnmFO','_createArrowView','extendTemplate','render','set','add','915916VAJAHZ','2771544IHjjNL'];_0x4faf=function(){return _0x3a8249;};return _0x4faf();}function _0x3324(_0x4ffc4b,_0x25cc7c){const _0x4fafaf=_0x4faf();return _0x3324=function(_0x332452,_0x1a7e05){_0x332452=_0x332452-0x1e8;let _0x1af78f=_0x4fafaf[_0x332452];return _0x1af78f;},_0x3324(_0x4ffc4b,_0x25cc7c);}import{IconView as _0x2b5c90,ListItemButtonView as _0x2978ff}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x43002c}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x2978ff{[_0x478951(0x1eb)];constructor(_0x1c2306,_0xab14c6){const _0x3c546e=_0x478951;super(_0x1c2306,_0xab14c6);const _0x3a66cf=this[_0x3c546e(0x200)];this[_0x3c546e(0x1f1)]({'withText':!0x0,'role':_0x3c546e(0x1fd)}),this[_0x3c546e(0x1eb)]=this[_0x3c546e(0x1ee)](),this[_0x3c546e(0x1ef)]({'attributes':{'class':[_0x3c546e(0x1ea)],'aria-haspopup':!0x0,'aria-expanded':this[_0x3c546e(0x200)]['to'](_0x3c546e(0x1f9),_0x2401a3=>String(_0x2401a3)),'data-cke-tooltip-disabled':_0x3a66cf['to'](_0x3c546e(0x1f9))},'on':{'mouseenter':_0x3a66cf['to'](_0x3c546e(0x1f7))}});}[_0x478951(0x1f0)](){const _0x27f1c0=_0x478951;super[_0x27f1c0(0x1f0)](),this[_0x27f1c0(0x1e9)][_0x27f1c0(0x1f2)](this[_0x27f1c0(0x1eb)]);}[_0x478951(0x1ee)](){const _0x2ee09a=_0x478951,_0x3c6066=new _0x2b5c90();return _0x3c6066[_0x2ee09a(0x1e8)]=_0x43002c,_0x3c6066[_0x2ee09a(0x1ef)]({'attributes':{'class':_0x2ee09a(0x1ff)}}),_0x3c6066;}}
|