@ckeditor/ckeditor5-ai 47.3.0-alpha.0 → 47.3.0-alpha.1
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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.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/lang/translations/ar.po +9 -9
- package/lang/translations/bg.po +9 -9
- package/lang/translations/bn.po +9 -9
- package/lang/translations/ca.po +9 -9
- package/lang/translations/cs.po +9 -9
- package/lang/translations/da.po +9 -9
- package/lang/translations/de.po +9 -9
- package/lang/translations/el.po +9 -9
- package/lang/translations/es.po +9 -9
- package/lang/translations/et.po +9 -9
- package/lang/translations/fi.po +9 -9
- package/lang/translations/fr.po +9 -9
- package/lang/translations/he.po +9 -9
- package/lang/translations/hi.po +9 -9
- package/lang/translations/hu.po +9 -9
- package/lang/translations/id.po +9 -9
- package/lang/translations/it.po +9 -9
- package/lang/translations/ja.po +9 -9
- package/lang/translations/ko.po +9 -9
- package/lang/translations/lt.po +9 -9
- package/lang/translations/lv.po +9 -9
- package/lang/translations/ms.po +9 -9
- package/lang/translations/nl.po +9 -9
- package/lang/translations/no.po +9 -9
- package/lang/translations/pl.po +9 -9
- package/lang/translations/pt-br.po +9 -9
- package/lang/translations/pt.po +9 -9
- package/lang/translations/ro.po +9 -9
- package/lang/translations/ru.po +9 -9
- package/lang/translations/sk.po +9 -9
- package/lang/translations/sr.po +9 -9
- package/lang/translations/sv.po +9 -9
- package/lang/translations/th.po +9 -9
- package/lang/translations/tr.po +9 -9
- package/lang/translations/uk.po +9 -9
- package/lang/translations/vi.po +9 -9
- package/lang/translations/zh-cn.po +9 -9
- package/lang/translations/zh.po +9 -9
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xcf3f(){const _0x2471ac=['commands','827138xdUFaB','2587196lMdyAj','560363PjLUBZ','AIChat','removeSelectionFromChatContext','selection','model','has','8hgBvxu','3946056enBZvK','AIQuickActionsEditing','isPremiumPlugin','pluginName','aiQuickAction','989570bVgtNu','add','change:range','isOfficialPlugin','2536331bZxpKX','document','init','editor','directChange','get','1144413eKTXdA','plugins'];_0xcf3f=function(){return _0x2471ac;};return _0xcf3f();}const _0x4ff4d=_0x133d;(function(_0x53df4b,_0x3e4527){const _0x222a2f=_0x133d,_0x2be43b=_0x53df4b();while(!![]){try{const _0x475dfa=-parseInt(_0x222a2f(0x171))/0x1+parseInt(_0x222a2f(0x16f))/0x2+parseInt(_0x222a2f(0x16c))/0x3+-parseInt(_0x222a2f(0x170))/0x4+-parseInt(_0x222a2f(0x17d))/0x5+parseInt(_0x222a2f(0x178))/0x6+-parseInt(_0x222a2f(0x181))/0x7*(-parseInt(_0x222a2f(0x177))/0x8);if(_0x475dfa===_0x3e4527)break;else _0x2be43b['push'](_0x2be43b['shift']());}catch(_0x5ebb94){_0x2be43b['push'](_0x2be43b['shift']());}}}(_0xcf3f,0x64175));import{Plugin as _0x360fe8}from'ckeditor5/src/core.js';function _0x133d(_0x4ff9d1,_0x30737e){const _0xcf3f62=_0xcf3f();return _0x133d=function(_0x133d6f,_0x54a246){_0x133d6f=_0x133d6f-0x167;let _0x42fb8f=_0xcf3f62[_0x133d6f];return _0x42fb8f;},_0x133d(_0x4ff9d1,_0x30737e);}import{AIQuickActionsCommand as _0x3a57fd}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x360fe8{static get[_0x4ff4d(0x17b)](){const _0xbe3101=_0x4ff4d;return _0xbe3101(0x179);}static get[_0x4ff4d(0x180)](){return!0x0;}static get[_0x4ff4d(0x17a)](){return!0x0;}[_0x4ff4d(0x168)](){const _0x27a8f5=_0x4ff4d,_0x33566f=this[_0x27a8f5(0x169)],_0x1ac4d4=new _0x3a57fd(this[_0x27a8f5(0x169)]);if(_0x33566f[_0x27a8f5(0x16e)][_0x27a8f5(0x17e)](_0x27a8f5(0x17c),_0x1ac4d4),_0x33566f[_0x27a8f5(0x16d)][_0x27a8f5(0x176)](_0x27a8f5(0x172))){const _0x207010=this[_0x27a8f5(0x169)][_0x27a8f5(0x16d)][_0x27a8f5(0x16b)](_0x27a8f5(0x172));_0x33566f[_0x27a8f5(0x175)][_0x27a8f5(0x167)][_0x27a8f5(0x174)]['on'](_0x27a8f5(0x17f),(_0x1f3fea,_0x48a3b6)=>{const _0x568030=_0x27a8f5;_0x48a3b6[_0x568030(0x16a)]&&_0x207010[_0x568030(0x173)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20b93b=_0xb883;function _0xb883(_0x52d07e,_0x1ff1e7){const _0x360400=_0x3604();return _0xb883=function(_0xb883d4,_0x28960c){_0xb883d4=_0xb883d4-0x9d;let _0x4fa129=_0x360400[_0xb883d4];return _0x4fa129;},_0xb883(_0x52d07e,_0x1ff1e7);}(function(_0x4573b3,_0x1eb250){const _0x18cb75=_0xb883,_0x33d19b=_0x4573b3();while(!![]){try{const _0x4a352b=parseInt(_0x18cb75(0xea))/0x1*(-parseInt(_0x18cb75(0x9e))/0x2)+parseInt(_0x18cb75(0x13a))/0x3*(parseInt(_0x18cb75(0xb2))/0x4)+parseInt(_0x18cb75(0x110))/0x5+-parseInt(_0x18cb75(0xc1))/0x6*(parseInt(_0x18cb75(0xc8))/0x7)+parseInt(_0x18cb75(0xfe))/0x8+parseInt(_0x18cb75(0xbb))/0x9*(-parseInt(_0x18cb75(0xd6))/0xa)+parseInt(_0x18cb75(0x134))/0xb;if(_0x4a352b===_0x1eb250)break;else _0x33d19b['push'](_0x33d19b['shift']());}catch(_0x5b0810){_0x33d19b['push'](_0x33d19b['shift']());}}}(_0x3604,0x7cbe7));import{IconAIAdjustLength as _0x43fcbf,IconAIChangeTone as _0x3b58cc,IconAIChatCommands as _0x45a643,IconAIContinueWriting as _0x468ba8,IconAIGrammarCheck as _0x27d8b5,IconAIImproveWriting as _0x39af0c,IconAIOther as _0x5be418,IconAIQuickActions as _0x31678c,IconAITranslate as _0x40c8f7}from'@ckeditor/ckeditor5-icons';function _0x3604(){const _0x4bced4=['menuBarView','DisplayNames','ACTION','uiLanguage','editor','AIConnector','french','explain','children','delegate','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_ASK_AI','config','English','make-tone-friendly','translate-to-russian','CHAT','init','chat-commands','ask-ai','AI_QUICK_ACTIONS_MORE_FRIENDLY','19367282MSRjRw','map','AI_QUICK_ACTIONS_CHANGE_TONE','ai-quick-actions-models-unable-to-retrieve','ai.chat.models.displayedModels','korean','437895lnvkKJ','make-tone-confident','forEach','AIReviewMode','getDefaultQuickActions','label','54330BCklQe','russian','AI_QUICK_ACTIONS_OTHER','close','includes','filter','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','translate-to-french','values','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','view','aiQuickAction','translate-to-spanish','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','model','_getDefaultAndCustomActions','actions','make-tone-direct','ai-quick-actions-unavailable-model','buttonView','4bAvzfq','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','language','improve-writing','_executeQuickAction','attachToDom','82278mSmBKg','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','pluginName','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_MORE_DIRECT','summarize','3054354DIGAKt','japanese','other','isEnabled','continue','requires','make-shorter','14bdKZGn','AI_QUICK_ACTIONS_TRANSLATE','aiQuickActions','adjust-length','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-casual','ai.quickActions.isSearchEnabled','REVIEW','translate-to-italian','translate-to-german','fix-grammar','AI_QUICK_ACTIONS_CONTINUE_WRITING','<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-portuguese','740rsjHPr','set','translate-to-chinese','plugins','menuitem','translate','AIChat','push','commands','german','menu','editing','italian','displayedPrompt','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_MAKE_SHORTER','add','4YVPcIq','getAvailableModels','make-tone-professional','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_MAKE_LONGER','items','AI_QUICK_ACTIONS_EXPLAIN','replace','ai.quickActions.extraCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','find','translate-to-english','AIActions','componentFactory','AI_QUICK_ACTIONS_CHAT_COMMANDS','_shouldIncludeAction','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','english','462064bSwKWN','menuBar:aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','make-longer','locale','AI_QUICK_ACTIONS_ADJUST_LENGTH','execute','_quickActionsDefinition','panelView','portuguese','AI_QUICK_ACTIONS_SUMMARIZE','length','icon','AIQuickActionsUI','highlight-key-points','some','type','translate-to-japanese','1749260uYpOgK','isPremiumPlugin','isOfficialPlugin','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','get','_initializeQuickActionsComponentsAndCommands','change-tone','chinese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','message','focus','ai.quickActions.removeCommands','has','_initializeQuickActionsComponents'];_0x3604=function(){return _0x4bced4;};return _0x3604();}import{Plugin as _0x232ab4}from'ckeditor5/src/core.js';import{CKEditorError as _0x45cb85,logError as _0x4ae99c}from'ckeditor5/src/utils.js';import{getTranslation as _0x503b87}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x30e3bc}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2fd7b8}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x7ec26,BalloonToolbar as _0x300bfa,MenuBarMenuView as _0x36daa0,MenuBarMenuListView as _0x372bf9,MenuBarMenuListItemView as _0x2d48bb,MenuBarMenuListItemButtonView as _0x331272}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0xa64237}from'../aicore/model/aimodels.js';const Lt=_0x20b93b(0xcc),Dt=_0x20b93b(0xd4),Ht=_0x20b93b(0xf4);export var AIQuickActionType;!function(_0x3a77dc){const _0x15511f=_0x20b93b;_0x3a77dc[_0x15511f(0x12f)]=_0x15511f(0x12f),_0x3a77dc[_0x15511f(0x121)]=_0x15511f(0x121),_0x3a77dc[_0x15511f(0xcf)]=_0x15511f(0xcf);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x497514){const _0x1c8790=_0x20b93b;_0x497514[_0x1c8790(0x12f)]=_0x1c8790(0xdc),_0x497514[_0x1c8790(0x121)]=_0x1c8790(0xf8),_0x497514[_0x1c8790(0xcf)]=_0x1c8790(0x13d);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x232ab4{static get[_0x20b93b(0xc6)](){return[_0x300bfa];}static get[_0x20b93b(0xbd)](){const _0x38dc2f=_0x20b93b;return _0x38dc2f(0x10b);}static get[_0x20b93b(0x112)](){return!0x0;}static get[_0x20b93b(0x111)](){return!0x0;}async[_0x20b93b(0x130)](){const _0x306538=_0x20b93b,_0x174925=await this[_0x306538(0xad)]();this[_0x306538(0xe6)](_0x174925),this[_0x306538(0x115)]();}static[_0x20b93b(0x13e)](_0x295eb4){return function(_0x5815a3){const _0x2a475e=_0xb883,_0x39ca64=new Intl[(_0x2a475e(0x120))](['en'],{'type':_0x2a475e(0xb7)})['of'](_0x5815a3[_0x2a475e(0x122)]),_0x15ba9c=_0x39ca64||_0x2a475e(0x12c),_0x12230a=[{'id':_0x2a475e(0x132),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x12a)),'type':AIQuickActionType[_0x2a475e(0x12f)],'icon':_0x45a643},{'id':_0x2a475e(0x131),'label':_0x503b87(_0x5815a3,_0x2a475e(0xfa)),'icon':_0x45a643,'actions':[{'id':_0x2a475e(0x126),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xf1)),'prompt':Lt[_0x2a475e(0xf2)]('%0',_0x15ba9c),'type':AIQuickActionType[_0x2a475e(0x12f)]},{'id':_0x2a475e(0xc0),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x108)),'prompt':Dt[_0x2a475e(0xf2)]('%0',_0x15ba9c),'type':AIQuickActionType[_0x2a475e(0x12f)]},{'id':_0x2a475e(0x10c),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xfc)),'prompt':Ht[_0x2a475e(0xf2)]('%0',_0x15ba9c),'type':AIQuickActionType[_0x2a475e(0x12f)]}]},{'id':_0x2a475e(0xb8),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xed)),'type':AIQuickActionType[_0x2a475e(0x121)],'icon':_0x39af0c},{'id':_0x2a475e(0xc5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xd3)),'type':AIQuickActionType[_0x2a475e(0x121)],'icon':_0x468ba8},{'id':_0x2a475e(0xd2),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xab)),'type':AIQuickActionType[_0x2a475e(0x121)],'icon':_0x27d8b5},{'id':_0x2a475e(0xcb),'label':_0x503b87(_0x5815a3,_0x2a475e(0x103)),'icon':_0x43fcbf,'actions':[{'id':_0x2a475e(0xc7),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xe8)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0x101),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xef)),'type':AIQuickActionType[_0x2a475e(0x121)]}]},{'id':_0x2a475e(0x116),'label':_0x503b87(_0x5815a3,_0x2a475e(0x136)),'icon':_0x3b58cc,'actions':[{'id':_0x2a475e(0xcd),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xe5)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0xaf),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xbf)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0x12d),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x133)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0x13b),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xee)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0xec),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x118)),'type':AIQuickActionType[_0x2a475e(0x121)]}]},{'id':_0x2a475e(0xdb),'label':_0x503b87(_0x5815a3,_0x2a475e(0xc9)),'icon':_0x40c8f7,'actions':[{'id':_0x2a475e(0xf7),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xf5)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xfd)}},{'id':_0x2a475e(0xd8),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xb6)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x117)}},{'id':_0x2a475e(0xaa),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x100)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xe4)}},{'id':_0x2a475e(0xd1),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xb3)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xdf)}},{'id':_0x2a475e(0xa5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xb4)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x125)}},{'id':_0x2a475e(0x10f),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x113)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xc2)}},{'id':_0x2a475e(0xd5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x119)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x107)}},{'id':_0x2a475e(0xb5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xbc)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x139)}},{'id':_0x2a475e(0xd0),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xa7)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xe2)}},{'id':_0x2a475e(0x12e),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xa4)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x9f)}}]},{'id':_0x2a475e(0xc3),'label':_0x503b87(_0x5815a3,_0x2a475e(0xa0)),'icon':_0x5be418,'actions':[]}];return _0x12230a;}(_0x295eb4);}async[_0x20b93b(0xad)](){const _0x21e90b=_0x20b93b,_0x49f7a9=AIQuickActionsUI[_0x21e90b(0x13e)](this[_0x21e90b(0x123)][_0x21e90b(0x102)]),_0xe40394=this[_0x21e90b(0x123)][_0x21e90b(0x12b)][_0x21e90b(0x114)](_0x21e90b(0xf3))||[];let _0x535171=[];try{_0x535171=await new _0xa64237({'connector':this[_0x21e90b(0x123)][_0x21e90b(0xd9)][_0x21e90b(0x114)](_0x21e90b(0x124)),'availableModels':this[_0x21e90b(0x123)][_0x21e90b(0x12b)][_0x21e90b(0x114)](_0x21e90b(0x138))})[_0x21e90b(0xeb)]();}catch(_0xaf1dd9){const _0x1f5e1e=new _0x45cb85(_0x21e90b(0x137),this,{'error':_0xaf1dd9});_0x4ae99c(_0x1f5e1e[_0x21e90b(0x11a)]);}finally{const _0x42c966=_0xe40394[_0x21e90b(0x135)](_0x4cf33c=>({..._0x4cf33c,'icon':void 0x0}));_0x49f7a9[_0x21e90b(0xf6)](_0x560a18=>_0x21e90b(0xc3)===_0x560a18['id'])[_0x21e90b(0xae)][_0x21e90b(0xdd)](..._0x42c966),_0x49f7a9[_0x21e90b(0x13c)](_0x56e5d2=>{const _0x4a4136=_0x21e90b;if(_0x4a4136(0xae)in _0x56e5d2)_0x56e5d2[_0x4a4136(0xae)][_0x4a4136(0x13c)](_0x46777e=>{const _0x2382b0=_0x4a4136;if(_0x46777e[_0x2382b0(0xc4)]=!!_0x535171[_0x2382b0(0xf6)](_0x31ec73=>_0x31ec73['id']===_0x46777e[_0x2382b0(0xac)])||void 0x0===_0x46777e[_0x2382b0(0xac)],!_0x46777e[_0x2382b0(0xc4)]){const _0x36a1e4=new _0x45cb85(_0x2382b0(0xb0),this,{'actionId':_0x46777e['id'],'modelId':_0x46777e[_0x2382b0(0xac)]});_0x4ae99c(_0x36a1e4[_0x2382b0(0x11a)]);}});else{if(_0x56e5d2[_0x4a4136(0xc4)]=!!_0x535171[_0x4a4136(0xf6)](_0xdca018=>_0xdca018['id']===_0x56e5d2[_0x4a4136(0xac)])||void 0x0===_0x56e5d2[_0x4a4136(0xac)],!_0x56e5d2[_0x4a4136(0xc4)]){const _0x29ef7f=new _0x45cb85(_0x4a4136(0xb0),this,{'actionId':_0x56e5d2['id'],'modelId':_0x56e5d2[_0x4a4136(0xac)]});_0x4ae99c(_0x29ef7f[_0x4a4136(0x11a)]);}}});}return _0x49f7a9;}[_0x20b93b(0x115)](){const _0x12c3b5=_0x20b93b,_0x2c2978=new _0x7ec26(this[_0x12c3b5(0x123)][_0x12c3b5(0x102)]);_0x2c2978[_0x12c3b5(0xba)](),this[_0x12c3b5(0xbe)](_0x2c2978),this[_0x12c3b5(0x129)](),this[_0x12c3b5(0x11e)](_0x2c2978);}[_0x20b93b(0xbe)](_0x372285){const _0x385031=_0x20b93b,_0x43bdd2=this[_0x385031(0x123)][_0x385031(0x12b)][_0x385031(0x114)](_0x385031(0xce))??!0x0;this[_0x385031(0x123)]['ui'][_0x385031(0xf9)][_0x385031(0xe9)](_0x385031(0xca),_0x30e3bc({'editor':this[_0x385031(0x123)],'content':this[_0x385031(0x105)],'buttonDefinition':{'icon':_0x31678c,'label':_0x503b87(this[_0x385031(0x123)][_0x385031(0x102)],_0x385031(0xe7))},'bodyCollection':_0x372285,'hasSearch':_0x43bdd2}));}[_0x20b93b(0xe6)](_0x14bf79){const _0x482fe1=_0x20b93b;this[_0x482fe1(0x105)]=_0x14bf79[_0x482fe1(0x135)](_0x49dd03=>{const _0x1476ea=_0x482fe1;if(_0x1476ea(0xae)in _0x49dd03){const _0xc31ed8=_0x49dd03;return{..._0xc31ed8,'actions':_0xc31ed8[_0x1476ea(0xae)][_0x1476ea(0x135)](_0x331d06=>{const {actions:_0x274ac9,..._0x5a8904}=_0xc31ed8;return{..._0x331d06,'parent':_0x5a8904};})[_0x1476ea(0xa3)](_0x9e731e=>this[_0x1476ea(0xfb)](_0x9e731e))};}return _0x49dd03;})[_0x482fe1(0xa3)](_0x574c61=>_0x482fe1(0xae)in _0x574c61?_0x574c61[_0x482fe1(0xae)][_0x482fe1(0x109)]>0x0:this[_0x482fe1(0xfb)](_0x574c61));}[_0x20b93b(0xfb)](_0x437c92){const _0x54b645=_0x20b93b,_0x34cbcf=this[_0x54b645(0x123)][_0x54b645(0x12b)][_0x54b645(0x114)](_0x54b645(0x11c))||[];return this[_0x54b645(0x123)][_0x54b645(0xd9)][_0x54b645(0x11d)](AIQuickActionTypeToPluginName[_0x437c92[_0x54b645(0x10e)]])&&!_0x34cbcf[_0x54b645(0xa2)](_0x437c92['id']);}[_0x20b93b(0x11e)](_0x2b045f){const _0x22d73e=_0x20b93b;this[_0x22d73e(0x105)][_0x22d73e(0x13c)](_0x1a051b=>{const _0x4896a8=_0x22d73e;if(_0x4896a8(0xae)in _0x1a051b){const _0x2d470e=_0x30e3bc({'editor':this[_0x4896a8(0x123)],'content':_0x1a051b[_0x4896a8(0xae)],'buttonDefinition':_0x1a051b,'bodyCollection':_0x2b045f});this[_0x4896a8(0x123)]['ui'][_0x4896a8(0xf9)][_0x4896a8(0xe9)](_0x1a051b['id'],_0x2d470e),_0x1a051b[_0x4896a8(0xae)][_0x4896a8(0x13c)](_0x5d7d57=>{const _0xe273cc=_0x4896a8,_0x2223fc=_0x2fd7b8({'editor':this[_0xe273cc(0x123)],'action':_0x5d7d57});this[_0xe273cc(0x123)]['ui'][_0xe273cc(0xf9)][_0xe273cc(0xe9)](_0x5d7d57['id'],_0x2223fc);});}else{const _0x63bc75=_0x2fd7b8({'editor':this[_0x4896a8(0x123)],'action':_0x1a051b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4896a8(0x123)]['ui'][_0x4896a8(0xf9)][_0x4896a8(0xe9)](_0x1a051b['id'],_0x63bc75);}});}[_0x20b93b(0x129)](){const _0x579913=_0x20b93b;this[_0x579913(0x123)]['ui'][_0x579913(0xf9)][_0x579913(0xe9)](_0x579913(0xff),_0x4bd1a3=>{const _0x168677=_0x579913,_0x21da06=new _0x36daa0(_0x4bd1a3),_0x499ae8=_0x503b87(_0x4bd1a3,_0x168677(0xe7));_0x21da06[_0x168677(0xb1)][_0x168677(0xd7)]({'label':_0x499ae8,'icon':_0x31678c});const _0x5ef619=new _0x372bf9(_0x4bd1a3);_0x5ef619[_0x168677(0xd7)]({'ariaLabel':_0x499ae8,'role':_0x168677(0xe0)}),this[_0x168677(0x105)][_0x168677(0x13c)](_0x5760f2=>{const _0x42250b=_0x168677;if(_0x42250b(0xae)in _0x5760f2){const _0xdecf96=_0x5760f2,_0x255245=new _0x2d48bb(_0x4bd1a3,_0x21da06),_0x724c89=new _0x36daa0(_0x4bd1a3),_0x3a3c7a=new _0x372bf9(_0x4bd1a3);_0x724c89[_0x42250b(0xb1)][_0x42250b(0xd7)]({'label':_0xdecf96[_0x42250b(0x9d)],'icon':_0xdecf96[_0x42250b(0x10a)]}),_0xdecf96[_0x42250b(0xae)][_0x42250b(0x13c)](_0x4124ef=>{const _0x277184=_0x42250b,_0x4135cb=new _0x2d48bb(_0x4bd1a3,_0x724c89),_0x3ddd21=new _0x331272(_0x4bd1a3);_0x3ddd21[_0x277184(0xd7)]({'label':_0x4124ef[_0x277184(0xe3)],'icon':_0x4124ef[_0x277184(0x10a)],'role':_0x277184(0xda),'isEnabled':_0x4124ef[_0x277184(0xc4)]}),_0x3ddd21['on'](_0x277184(0x104),()=>{const _0x18251a=_0x277184;this[_0x18251a(0xb9)](_0x4124ef);}),_0x3ddd21[_0x277184(0x128)](_0x277184(0x104))['to'](_0x724c89),_0x4135cb[_0x277184(0x127)][_0x277184(0xe9)](_0x3ddd21),_0x3a3c7a[_0x277184(0xf0)][_0x277184(0xe9)](_0x4135cb);}),_0x724c89[_0x42250b(0x106)][_0x42250b(0x127)][_0x42250b(0xe9)](_0x3a3c7a),_0x255245[_0x42250b(0x127)][_0x42250b(0xe9)](_0x724c89),_0x5ef619[_0x42250b(0xf0)][_0x42250b(0xe9)](_0x255245);}else{const _0x1246f4=_0x5760f2,_0x89bfba=new _0x2d48bb(_0x4bd1a3,_0x21da06),_0x46a5d2=new _0x331272(_0x4bd1a3);_0x46a5d2[_0x42250b(0xd7)]({'label':_0x1246f4[_0x42250b(0xe3)],'icon':_0x1246f4[_0x42250b(0x10a)],'role':_0x42250b(0xda),'isEnabled':_0x1246f4[_0x42250b(0xc4)]}),_0x46a5d2['on'](_0x42250b(0x104),()=>{const _0x467f5a=_0x42250b;this[_0x467f5a(0xb9)](_0x1246f4);}),_0x46a5d2[_0x42250b(0x128)](_0x42250b(0x104))['to'](_0x21da06),_0x89bfba[_0x42250b(0x127)][_0x42250b(0xe9)](_0x46a5d2),_0x5ef619[_0x42250b(0xf0)][_0x42250b(0xe9)](_0x89bfba);}});const _0x13efa8=Object[_0x168677(0xa6)](AIQuickActionTypeToPluginName)[_0x168677(0x10d)](_0x35e422=>this[_0x168677(0x123)][_0x168677(0xd9)][_0x168677(0x11d)](_0x35e422));return _0x21da06[_0x168677(0xd7)]({'isEnabled':_0x13efa8}),_0x21da06[_0x168677(0x106)][_0x168677(0x127)][_0x168677(0xe9)](_0x5ef619),_0x21da06;});}[_0x20b93b(0xb9)](_0x231f8a){const _0x1647fa=_0x20b93b,_0x5bd3a9=this[_0x1647fa(0x123)];_0x5bd3a9[_0x1647fa(0xe1)][_0x1647fa(0xa8)][_0x1647fa(0x11b)](),_0x5bd3a9[_0x1647fa(0xde)][_0x1647fa(0x104)](_0x1647fa(0xa9),_0x231f8a);const _0x475944=_0x5bd3a9['ui'][_0x1647fa(0xa8)][_0x1647fa(0x11f)];_0x475944&&_0x475944[_0x1647fa(0xa1)]&&_0x475944[_0x1647fa(0xa1)]();}}
|
|
23
|
+
const _0x18d6f2=_0x4c77;(function(_0x1300a5,_0x2311bf){const _0x47ae03=_0x4c77,_0x3f3d47=_0x1300a5();while(!![]){try{const _0x2f7a14=-parseInt(_0x47ae03(0x199))/0x1+-parseInt(_0x47ae03(0x130))/0x2*(parseInt(_0x47ae03(0x13d))/0x3)+parseInt(_0x47ae03(0x129))/0x4*(-parseInt(_0x47ae03(0x170))/0x5)+-parseInt(_0x47ae03(0x143))/0x6*(parseInt(_0x47ae03(0x1bb))/0x7)+-parseInt(_0x47ae03(0x12b))/0x8*(parseInt(_0x47ae03(0x13e))/0x9)+parseInt(_0x47ae03(0x1a6))/0xa*(parseInt(_0x47ae03(0x127))/0xb)+parseInt(_0x47ae03(0x15d))/0xc;if(_0x2f7a14===_0x2311bf)break;else _0x3f3d47['push'](_0x3f3d47['shift']());}catch(_0x20b639){_0x3f3d47['push'](_0x3f3d47['shift']());}}}(_0xb336,0x50350));import{IconAIAdjustLength as _0x5e07e5,IconAIChangeTone as _0x440b34,IconAIChatCommands as _0x5697c8,IconAIContinueWriting as _0x72af25,IconAIGrammarCheck as _0x35a717,IconAIImproveWriting as _0x4472d7,IconAIOther as _0x56c4ea,IconAIQuickActions as _0xe48d07,IconAITranslate as _0x2b7366}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x306d72}from'ckeditor5/src/core.js';function _0xb336(){const _0x471ae5=['close','ACTION','language','make-longer','AI_QUICK_ACTIONS_MORE_DIRECT','chat-commands','_prepareQuickActionsDefinition','spanish','displayedPrompt','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','editing','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIConnector','ai.quickActions.removeCommands','67361taYhDE','AI_QUICK_ACTIONS_HEADING','model','AI_QUICK_ACTIONS_OTHER','get','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','ask-ai','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','translate-to-spanish','translate-to-russian','uiLanguage','translate-to-korean','korean','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','562628LPhcUt','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','1736wpZZgo','translate-to-french','16FTQlQo','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','config','AIActions','93098uAQwzg','actions','requires','items','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','summarize','explain','push','ai.quickActions.extraCommands','menuBar:aiQuickActions','find','icon','42kEDAAP','1885491ygNEag','getAvailableModels','length','buttonView','fix-grammar','84mRwwlk','componentFactory','focus','french','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_MAKE_SHORTER','change-tone','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','add','_initializeQuickActionsMenuBar','CHAT','values','aiQuickAction','ai.chat.models.displayedModels','make-tone-direct','ai.quickActions.isSearchEnabled','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','label','AI_QUICK_ACTIONS_MAKE_LONGER','_executeQuickAction','portuguese','AIChat','<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>','russian','AI_QUICK_ACTIONS_ADJUST_LENGTH','22131600yFYsDM','AIQuickActionsUI','pluginName','init','attachToDom','AI_QUICK_ACTIONS_EXPLAIN','replace','map','isOfficialPlugin','chinese','locale','some','includes','ai-quick-actions-models-unable-to-retrieve','isPremiumPlugin','translate-to-portuguese','forEach','translate-to-german','other','465BCHOLA','<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>','menuBarView','menuitem','italian','continue','has','_initializeQuickActionsDropdown','_initializeQuickActionsComponents','panelView','adjust-length','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate','_shouldIncludeAction','translate-to-english','english','DisplayNames','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','message','REVIEW','AI_QUICK_ACTIONS_CHANGE_TONE','make-tone-professional','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-chinese','highlight-key-points','_getDefaultAndCustomActions','commands','isEnabled','AI_QUICK_ACTIONS_IMPROVE_WRITING','view','filter','make-shorter','aiQuickActions','set','translate-to-japanese','getDefaultQuickActions','_quickActionsDefinition','type','AI_QUICK_ACTIONS_CHAT_COMMANDS','children','make-tone-casual','628040QBzmwv','AI_QUICK_ACTIONS_SUMMARIZE','execute','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_CONTINUE_WRITING','editor','make-tone-confident','improve-writing','japanese','menu','plugins','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AIReviewMode','70gCHxHC','English','AI_QUICK_ACTIONS_ASK_AI','german','delegate','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_TRANSLATE_GERMAN'];_0xb336=function(){return _0x471ae5;};return _0xb336();}import{CKEditorError as _0x1cb560,logError as _0x1100f7}from'ckeditor5/src/utils.js';import{getTranslation as _0x1838b5}from'../aicore/utils/common-translations.js';function _0x4c77(_0x35e307,_0x657a15){const _0xb336a5=_0xb336();return _0x4c77=function(_0x4c77c4,_0x10b9b8){_0x4c77c4=_0x4c77c4-0x119;let _0x4bc4b3=_0xb336a5[_0x4c77c4];return _0x4bc4b3;},_0x4c77(_0x35e307,_0x657a15);}import{aiQuickActionsDropdownCreator as _0x1f0b39}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x3b6d80}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4286d4,BalloonToolbar as _0x26bb4b,MenuBarMenuView as _0x444aef,MenuBarMenuListView as _0x3b1ee1,MenuBarMenuListItemView as _0x512ad0,MenuBarMenuListItemButtonView as _0x352ff8}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0xfde2ac}from'../aicore/model/aimodels.js';const ae=_0x18d6f2(0x15a),se=_0x18d6f2(0x126),re=_0x18d6f2(0x171);export var AIQuickActionType;!function(_0x545079){const _0x3cd278=_0x18d6f2;_0x545079[_0x3cd278(0x14d)]=_0x3cd278(0x14d),_0x545079[_0x3cd278(0x1ae)]=_0x3cd278(0x1ae),_0x545079[_0x3cd278(0x183)]=_0x3cd278(0x183);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3dae20){const _0x21eade=_0x18d6f2;_0x3dae20[_0x21eade(0x14d)]=_0x21eade(0x159),_0x3dae20[_0x21eade(0x1ae)]=_0x21eade(0x12f),_0x3dae20[_0x21eade(0x183)]=_0x21eade(0x1a5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x306d72{static get[_0x18d6f2(0x132)](){return[_0x26bb4b];}static get[_0x18d6f2(0x15f)](){const _0x2cd67d=_0x18d6f2;return _0x2cd67d(0x15e);}static get[_0x18d6f2(0x165)](){return!0x0;}static get[_0x18d6f2(0x16b)](){return!0x0;}async[_0x18d6f2(0x160)](){const _0x2f9089=_0x18d6f2,_0x418b4b=await this[_0x2f9089(0x189)]();this[_0x2f9089(0x1b3)](_0x418b4b),this[_0x2f9089(0x134)]();}static[_0x18d6f2(0x193)](_0x34ce83){return function(_0x35f76d){const _0x224c59=_0x4c77,_0x134ccb=new Intl[(_0x224c59(0x180))](['en'],{'type':_0x224c59(0x1af)})['of'](_0x35f76d[_0x224c59(0x123)]),_0x32d7ff=_0x134ccb||_0x224c59(0x1a7),_0x5081b6=[{'id':_0x224c59(0x11e),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x1a8)),'type':AIQuickActionType[_0x224c59(0x14d)],'icon':_0x5697c8},{'id':_0x224c59(0x1b2),'label':_0x1838b5(_0x35f76d,_0x224c59(0x196)),'icon':_0x5697c8,'actions':[{'id':_0x224c59(0x137),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x162)),'prompt':ae[_0x224c59(0x163)]('%0',_0x32d7ff),'type':AIQuickActionType[_0x224c59(0x14d)]},{'id':_0x224c59(0x136),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x19a)),'prompt':se[_0x224c59(0x163)]('%0',_0x32d7ff),'type':AIQuickActionType[_0x224c59(0x14d)]},{'id':_0x224c59(0x188),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x1b6)),'prompt':re[_0x224c59(0x163)]('%0',_0x32d7ff),'type':AIQuickActionType[_0x224c59(0x14d)]}]},{'id':_0x224c59(0x1a0),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x18c)),'type':AIQuickActionType[_0x224c59(0x1ae)],'icon':_0x4472d7},{'id':_0x224c59(0x175),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x19d)),'type':AIQuickActionType[_0x224c59(0x1ae)],'icon':_0x72af25},{'id':_0x224c59(0x142),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x1ab)),'type':AIQuickActionType[_0x224c59(0x1ae)],'icon':_0x35a717},{'id':_0x224c59(0x17a),'label':_0x1838b5(_0x35f76d,_0x224c59(0x15c)),'icon':_0x5e07e5,'actions':[{'id':_0x224c59(0x18f),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x148)),'type':AIQuickActionType[_0x224c59(0x1ae)]},{'id':_0x224c59(0x1b0),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x156)),'type':AIQuickActionType[_0x224c59(0x1ae)]}]},{'id':_0x224c59(0x149),'label':_0x1838b5(_0x35f76d,_0x224c59(0x184)),'icon':_0x440b34,'actions':[{'id':_0x224c59(0x198),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x186)),'type':AIQuickActionType[_0x224c59(0x1ae)]},{'id':_0x224c59(0x151),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x1b1)),'type':AIQuickActionType[_0x224c59(0x1ae)]},{'id':_0x224c59(0x12c),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x147)),'type':AIQuickActionType[_0x224c59(0x1ae)]},{'id':_0x224c59(0x19f),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x17b)),'type':AIQuickActionType[_0x224c59(0x1ae)]},{'id':_0x224c59(0x185),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x128)),'type':AIQuickActionType[_0x224c59(0x1ae)]}]},{'id':_0x224c59(0x17c),'label':_0x1838b5(_0x35f76d,_0x224c59(0x19c)),'icon':_0x2b7366,'actions':[{'id':_0x224c59(0x17e),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x1b8)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x17f)}},{'id':_0x224c59(0x187),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x14a)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x166)}},{'id':_0x224c59(0x121),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x154)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x1b4)}},{'id':_0x224c59(0x16e),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x1ac)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x1a9)}},{'id':_0x224c59(0x12a),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x120)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x146)}},{'id':_0x224c59(0x192),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x12d)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x1a1)}},{'id':_0x224c59(0x16c),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x1a4)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x158)}},{'id':_0x224c59(0x124),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x181)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x125)}},{'id':_0x224c59(0x153),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x11d)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x174)}},{'id':_0x224c59(0x122),'displayedPrompt':_0x1838b5(_0x35f76d,_0x224c59(0x135)),'type':AIQuickActionType[_0x224c59(0x1ae)],'actionName':_0x224c59(0x17c),'args':{'language':_0x224c59(0x15b)}}]},{'id':_0x224c59(0x16f),'label':_0x1838b5(_0x35f76d,_0x224c59(0x11b)),'icon':_0x56c4ea,'actions':[]}];return _0x5081b6;}(_0x34ce83);}async[_0x18d6f2(0x189)](){const _0x3b35e8=_0x18d6f2,_0x19846c=AIQuickActionsUI[_0x3b35e8(0x193)](this[_0x3b35e8(0x19e)][_0x3b35e8(0x167)]),_0x59d703=this[_0x3b35e8(0x19e)][_0x3b35e8(0x12e)][_0x3b35e8(0x11c)](_0x3b35e8(0x139))||[];let _0x359226=[];try{_0x359226=await new _0xfde2ac({'connector':this[_0x3b35e8(0x19e)][_0x3b35e8(0x1a3)][_0x3b35e8(0x11c)](_0x3b35e8(0x1b9)),'availableModels':this[_0x3b35e8(0x19e)][_0x3b35e8(0x12e)][_0x3b35e8(0x11c)](_0x3b35e8(0x150))})[_0x3b35e8(0x13f)]();}catch(_0x1b9444){const _0x165854=new _0x1cb560(_0x3b35e8(0x16a),this,{'error':_0x1b9444});_0x1100f7(_0x165854[_0x3b35e8(0x182)]);}finally{const _0x217b67=_0x59d703[_0x3b35e8(0x164)](_0x4db3f0=>({..._0x4db3f0,'icon':void 0x0}));_0x19846c[_0x3b35e8(0x13b)](_0x270cc5=>_0x3b35e8(0x16f)===_0x270cc5['id'])[_0x3b35e8(0x131)][_0x3b35e8(0x138)](..._0x217b67),_0x19846c[_0x3b35e8(0x16d)](_0x32bc75=>{const _0x4d70cd=_0x3b35e8;if(_0x4d70cd(0x131)in _0x32bc75)_0x32bc75[_0x4d70cd(0x131)][_0x4d70cd(0x16d)](_0x3167fd=>{const _0x2017d4=_0x4d70cd;if(_0x3167fd[_0x2017d4(0x18b)]=!!_0x359226[_0x2017d4(0x13b)](_0x22313e=>_0x22313e['id']===_0x3167fd[_0x2017d4(0x11a)])||void 0x0===_0x3167fd[_0x2017d4(0x11a)],!_0x3167fd[_0x2017d4(0x18b)]){const _0x2bda91=new _0x1cb560(_0x2017d4(0x11f),this,{'actionId':_0x3167fd['id'],'modelId':_0x3167fd[_0x2017d4(0x11a)]});_0x1100f7(_0x2bda91[_0x2017d4(0x182)]);}});else{if(_0x32bc75[_0x4d70cd(0x18b)]=!!_0x359226[_0x4d70cd(0x13b)](_0x34c6cf=>_0x34c6cf['id']===_0x32bc75[_0x4d70cd(0x11a)])||void 0x0===_0x32bc75[_0x4d70cd(0x11a)],!_0x32bc75[_0x4d70cd(0x18b)]){const _0x2eb53b=new _0x1cb560(_0x4d70cd(0x11f),this,{'actionId':_0x32bc75['id'],'modelId':_0x32bc75[_0x4d70cd(0x11a)]});_0x1100f7(_0x2eb53b[_0x4d70cd(0x182)]);}}});}return _0x19846c;}[_0x18d6f2(0x134)](){const _0x4ac9ba=_0x18d6f2,_0x56b9d8=new _0x4286d4(this[_0x4ac9ba(0x19e)][_0x4ac9ba(0x167)]);_0x56b9d8[_0x4ac9ba(0x161)](),this[_0x4ac9ba(0x177)](_0x56b9d8),this[_0x4ac9ba(0x14c)](),this[_0x4ac9ba(0x178)](_0x56b9d8);}[_0x18d6f2(0x177)](_0x356b3f){const _0x323950=_0x18d6f2,_0x51d7b0=this[_0x323950(0x19e)][_0x323950(0x12e)][_0x323950(0x11c)](_0x323950(0x152))??!0x0;this[_0x323950(0x19e)]['ui'][_0x323950(0x144)][_0x323950(0x14b)](_0x323950(0x190),_0x1f0b39({'editor':this[_0x323950(0x19e)],'content':this[_0x323950(0x194)],'buttonDefinition':{'icon':_0xe48d07,'label':_0x1838b5(this[_0x323950(0x19e)][_0x323950(0x167)],_0x323950(0x119))},'bodyCollection':_0x356b3f,'hasSearch':_0x51d7b0}));}[_0x18d6f2(0x1b3)](_0x507352){const _0x298353=_0x18d6f2;this[_0x298353(0x194)]=_0x507352[_0x298353(0x164)](_0x1f00cf=>{const _0x50dedf=_0x298353;if(_0x50dedf(0x131)in _0x1f00cf){const _0x2e8c49=_0x1f00cf;return{..._0x2e8c49,'actions':_0x2e8c49[_0x50dedf(0x131)][_0x50dedf(0x164)](_0x17139=>{const {actions:_0x263e0c,..._0x5ba718}=_0x2e8c49;return{..._0x17139,'parent':_0x5ba718};})[_0x50dedf(0x18e)](_0x54a80b=>this[_0x50dedf(0x17d)](_0x54a80b))};}return _0x1f00cf;})[_0x298353(0x18e)](_0x328d40=>_0x298353(0x131)in _0x328d40?_0x328d40[_0x298353(0x131)][_0x298353(0x140)]>0x0:this[_0x298353(0x17d)](_0x328d40));}[_0x18d6f2(0x17d)](_0x14c133){const _0x40651b=_0x18d6f2,_0xa79c70=this[_0x40651b(0x19e)][_0x40651b(0x12e)][_0x40651b(0x11c)](_0x40651b(0x1ba))||[];return this[_0x40651b(0x19e)][_0x40651b(0x1a3)][_0x40651b(0x176)](AIQuickActionTypeToPluginName[_0x14c133[_0x40651b(0x195)]])&&!_0xa79c70[_0x40651b(0x169)](_0x14c133['id']);}[_0x18d6f2(0x178)](_0x135c96){const _0x5ef403=_0x18d6f2;this[_0x5ef403(0x194)][_0x5ef403(0x16d)](_0x302777=>{const _0x24aaa6=_0x5ef403;if(_0x24aaa6(0x131)in _0x302777){const _0x596332=_0x1f0b39({'editor':this[_0x24aaa6(0x19e)],'content':_0x302777[_0x24aaa6(0x131)],'buttonDefinition':_0x302777,'bodyCollection':_0x135c96});this[_0x24aaa6(0x19e)]['ui'][_0x24aaa6(0x144)][_0x24aaa6(0x14b)](_0x302777['id'],_0x596332),_0x302777[_0x24aaa6(0x131)][_0x24aaa6(0x16d)](_0x51c6ef=>{const _0x362c88=_0x24aaa6,_0x34b5d9=_0x3b6d80({'editor':this[_0x362c88(0x19e)],'action':_0x51c6ef});this[_0x362c88(0x19e)]['ui'][_0x362c88(0x144)][_0x362c88(0x14b)](_0x51c6ef['id'],_0x34b5d9);});}else{const _0x302067=_0x3b6d80({'editor':this[_0x24aaa6(0x19e)],'action':_0x302777,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x24aaa6(0x19e)]['ui'][_0x24aaa6(0x144)][_0x24aaa6(0x14b)](_0x302777['id'],_0x302067);}});}[_0x18d6f2(0x14c)](){const _0x9b21dd=_0x18d6f2;this[_0x9b21dd(0x19e)]['ui'][_0x9b21dd(0x144)][_0x9b21dd(0x14b)](_0x9b21dd(0x13a),_0x3c846c=>{const _0x19ae63=_0x9b21dd,_0x42a2e0=new _0x444aef(_0x3c846c),_0x58b62b=_0x1838b5(_0x3c846c,_0x19ae63(0x119));_0x42a2e0[_0x19ae63(0x141)][_0x19ae63(0x191)]({'label':_0x58b62b,'icon':_0xe48d07});const _0x1206e7=new _0x3b1ee1(_0x3c846c);_0x1206e7[_0x19ae63(0x191)]({'ariaLabel':_0x58b62b,'role':_0x19ae63(0x1a2)}),this[_0x19ae63(0x194)][_0x19ae63(0x16d)](_0x1f751a=>{const _0x4210f5=_0x19ae63;if(_0x4210f5(0x131)in _0x1f751a){const _0x11fc21=_0x1f751a,_0x12f7b1=new _0x512ad0(_0x3c846c,_0x42a2e0),_0x3d9c92=new _0x444aef(_0x3c846c),_0x501ed6=new _0x3b1ee1(_0x3c846c);_0x3d9c92[_0x4210f5(0x141)][_0x4210f5(0x191)]({'label':_0x11fc21[_0x4210f5(0x155)],'icon':_0x11fc21[_0x4210f5(0x13c)]}),_0x11fc21[_0x4210f5(0x131)][_0x4210f5(0x16d)](_0x1bea3f=>{const _0x1ece47=_0x4210f5,_0x542889=new _0x512ad0(_0x3c846c,_0x3d9c92),_0x1511d9=new _0x352ff8(_0x3c846c);_0x1511d9[_0x1ece47(0x191)]({'label':_0x1bea3f[_0x1ece47(0x1b5)],'icon':_0x1bea3f[_0x1ece47(0x13c)],'role':_0x1ece47(0x173),'isEnabled':_0x1bea3f[_0x1ece47(0x18b)]}),_0x1511d9['on'](_0x1ece47(0x19b),()=>{const _0x3586e9=_0x1ece47;this[_0x3586e9(0x157)](_0x1bea3f);}),_0x1511d9[_0x1ece47(0x1aa)](_0x1ece47(0x19b))['to'](_0x3d9c92),_0x542889[_0x1ece47(0x197)][_0x1ece47(0x14b)](_0x1511d9),_0x501ed6[_0x1ece47(0x133)][_0x1ece47(0x14b)](_0x542889);}),_0x3d9c92[_0x4210f5(0x179)][_0x4210f5(0x197)][_0x4210f5(0x14b)](_0x501ed6),_0x12f7b1[_0x4210f5(0x197)][_0x4210f5(0x14b)](_0x3d9c92),_0x1206e7[_0x4210f5(0x133)][_0x4210f5(0x14b)](_0x12f7b1);}else{const _0x4e26c9=_0x1f751a,_0xdfb88b=new _0x512ad0(_0x3c846c,_0x42a2e0),_0x278f83=new _0x352ff8(_0x3c846c);_0x278f83[_0x4210f5(0x191)]({'label':_0x4e26c9[_0x4210f5(0x1b5)],'icon':_0x4e26c9[_0x4210f5(0x13c)],'role':_0x4210f5(0x173),'isEnabled':_0x4e26c9[_0x4210f5(0x18b)]}),_0x278f83['on'](_0x4210f5(0x19b),()=>{const _0x3f830e=_0x4210f5;this[_0x3f830e(0x157)](_0x4e26c9);}),_0x278f83[_0x4210f5(0x1aa)](_0x4210f5(0x19b))['to'](_0x42a2e0),_0xdfb88b[_0x4210f5(0x197)][_0x4210f5(0x14b)](_0x278f83),_0x1206e7[_0x4210f5(0x133)][_0x4210f5(0x14b)](_0xdfb88b);}});const _0x5bc1f3=Object[_0x19ae63(0x14e)](AIQuickActionTypeToPluginName)[_0x19ae63(0x168)](_0x446169=>this[_0x19ae63(0x19e)][_0x19ae63(0x1a3)][_0x19ae63(0x176)](_0x446169));return _0x42a2e0[_0x19ae63(0x191)]({'isEnabled':_0x5bc1f3}),_0x42a2e0[_0x19ae63(0x179)][_0x19ae63(0x197)][_0x19ae63(0x14b)](_0x1206e7),_0x42a2e0;});}[_0x18d6f2(0x157)](_0x428315){const _0x125996=_0x18d6f2,_0x377416=this[_0x125996(0x19e)];_0x377416[_0x125996(0x1b7)][_0x125996(0x18d)][_0x125996(0x145)](),_0x377416[_0x125996(0x18a)][_0x125996(0x19b)](_0x125996(0x14f),_0x428315);const _0x543562=_0x377416['ui'][_0x125996(0x18d)][_0x125996(0x172)];_0x543562&&_0x543562[_0x125996(0x1ad)]&&_0x543562[_0x125996(0x1ad)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5b6530,_0x556b22){const _0x5696ce=_0x2813,_0x981339=_0x5b6530();while(!![]){try{const _0x4f79b7=parseInt(_0x5696ce(0x20c))/0x1*(parseInt(_0x5696ce(0x201))/0x2)+-parseInt(_0x5696ce(0x1f2))/0x3+parseInt(_0x5696ce(0x1fe))/0x4*(-parseInt(_0x5696ce(0x1f9))/0x5)+parseInt(_0x5696ce(0x205))/0x6+-parseInt(_0x5696ce(0x20b))/0x7*(parseInt(_0x5696ce(0x207))/0x8)+parseInt(_0x5696ce(0x1f3))/0x9*(-parseInt(_0x5696ce(0x1f6))/0xa)+parseInt(_0x5696ce(0x1ff))/0xb*(parseInt(_0x5696ce(0x209))/0xc);if(_0x4f79b7===_0x556b22)break;else _0x981339['push'](_0x981339['shift']());}catch(_0xb63210){_0x981339['push'](_0x981339['shift']());}}}(_0x23c2,0xcd418));import{ButtonView as _0x52df1c}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3d3bf0}from'@ckeditor/ckeditor5-icons';function _0x2813(_0x4a6e5f,_0x4f6a15){const _0x23c2ec=_0x23c2();return _0x2813=function(_0x2813a5,_0x1c50e8){_0x2813a5=_0x2813a5-0x1f2;let _0x48cd67=_0x23c2ec[_0x2813a5];return _0x48cd67;},_0x2813(_0x4a6e5f,_0x4f6a15);}function _0x23c2(){const _0x45b91c=['897485gdXlQX','menuitem','locale','displayedPrompt','view','4tQCGek','10263TSYbGo','set','639022QRCqeE','parent','ck-ai-quick-actions-button','execute','8894376LkUecC','aiQuickAction','18952jDcnTe','editing','21204gbeHIB','bindTemplate','553RfUKwI','2cOcykS','commands','3787770EnNsuF','14463mkPMhZ','icon','isEnabled','8090Uzdhys','focus','extendTemplate'];_0x23c2=function(){return _0x45b91c;};return _0x23c2();}export function aiQuickActionsButtonCreator(_0x1b445a){const {editor:_0x267ecf,action:_0x44d40f,withText:_0x1baa95=!0x1,withIcon:_0x3426d1=!0x0,isInDropdown:_0x5b852f=!0x0,shouldPreventFocus:_0x3a8834=!0x1}=_0x1b445a;return()=>{const _0x47f41f=_0x2813,_0x42b75f=_0x267ecf[_0x47f41f(0x1fb)],_0x1f37ea=new _0x52df1c(_0x42b75f),_0x40c6f0=_0x1f37ea[_0x47f41f(0x20a)];_0x5b852f&&_0x1f37ea[_0x47f41f(0x1f8)]({'on':{'mouseenter':_0x40c6f0['to'](()=>{const _0x3a2a1d=_0x47f41f;_0x3a8834&&_0x3a8834()||_0x1f37ea[_0x3a2a1d(0x1f7)]();})}});const _0x540d4f=_0x44d40f[_0x47f41f(0x1f4)]??_0x44d40f[_0x47f41f(0x202)]?.[_0x47f41f(0x1f4)];return _0x1f37ea[_0x47f41f(0x200)]({'label':_0x44d40f[_0x47f41f(0x1fc)],'withText':_0x1baa95,'role':_0x47f41f(0x1fa),'icon':_0x3426d1?_0x540d4f??_0x3d3bf0:void 0x0,'tooltip':!_0x1baa95,'class':_0x47f41f(0x203),'isEnabled':_0x44d40f[_0x47f41f(0x1f5)]}),_0x1f37ea['on'](_0x47f41f(0x204),()=>{const _0x36abd0=_0x47f41f;_0x267ecf[_0x36abd0(0x208)][_0x36abd0(0x1fd)][_0x36abd0(0x1f7)](),_0x267ecf[_0x36abd0(0x20d)][_0x36abd0(0x204)](_0x36abd0(0x206),_0x44d40f);}),_0x1f37ea;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5c08(){const _0x25cc53=['AI_QUICK_ACTIONS_SEARCH','reset','render','parent','text','element','destroy','_createSearchResultActionButton','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','set','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button_with-group__close-paren','closest','focus','ck-ai-quick-actions-button__group-icon','ck-dropdown-menu-list','some','relatedTarget','ck-ai-quick-actions-search-result-button_with-group','_hideAllNestedPanels','.ck-ai-quick-actions-group-button','div','ck-ai-quick-actions-search-result__group-row','fire','_hideNestedPanel','children','279579IrbPsf','ck-reset_all','_createListItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','pin','_createGroupActionsList','_getPanelKeystroke','ck-rounded-corners','_focusables','clear','optionsListView','_createSearchResultGroupRow','add','5627709ZTLIDD','_hasSearch','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_setupActionButtonExecution','ck-button','addEventListener','actions','label','key','346DumRQg','contains','ck-ai-quick-actions-button_with-group__open-paren','_searchTextView','content','ck-ai-quick-actions-search-result__content','displayedPrompt','ck-ai-quick-actions-search-result-button','keystrokes','hide','first','_openNestedPanels','ck-ai-quick-actions-button_with-group','195LYivKB','_getButtonKeystroke','_createSearchResultIndividualActionButton','ck-ai-quick-actions-search','_createSearchTextView','queryView','resetSearch','show','activeElement','forEach','.ck-ai-quick-actions-group-panel','commands','chain','extendTemplate','fieldView','_isMovingToNestedMenu','ck-ai-quick-actions-group-button','_isSearchFocused','icon','addMany','span','eastSouth','get','_allSearchableItems','2676wroafe','ck-ai-quick-actions-search-result__action-row','233646WQMkXK','_showNestedPanel','972377bCxzmy','.ck-ai-quick-actions-group-list','_createSearchResultContentView','setTemplate','ck-ai-quick-actions-group-panel','push','detachFromDom','bindTemplate','_createActionButton','ck-button_with-text','items','isEnabled','_setupGroupMenuBehavior','menu','isOn','role','ck-ai-quick-actions','_handlePanelKeydown','uiLanguageDirection','menuitem','_createActionGroupButton','ck-ai-quick-actions-button','ArrowLeft','7800gjwVQU','rtl','editing','_handleSearchResultButtonClick','_createSearchResultActionRow','ArrowRight','view','focusTracker','execute','aiQuickAction','bind','delete','_createSearchResultGroupedActionButton','button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','mouseleave','ownerDocument','isVisible','_bodyCollection','2797560Avdlmu','focusCycler','locale'];_0x5c08=function(){return _0x25cc53;};return _0x5c08();}const _0x308f34=_0x14e7;(function(_0x58a33c,_0x231a9e){const _0x37069b=_0x14e7,_0x55f467=_0x58a33c();while(!![]){try{const _0x484901=parseInt(_0x37069b(0x11b))/0x1+-parseInt(_0x37069b(0x131))/0x2+-parseInt(_0x37069b(0x171))/0x3*(parseInt(_0x37069b(0x156))/0x4)+parseInt(_0x37069b(0x13e))/0x5*(parseInt(_0x37069b(0x158))/0x6)+-parseInt(_0x37069b(0x15a))/0x7+parseInt(_0x37069b(0xfd))/0x8+parseInt(_0x37069b(0x128))/0x9;if(_0x484901===_0x231a9e)break;else _0x55f467['push'](_0x55f467['shift']());}catch(_0x5d1b2d){_0x55f467['push'](_0x55f467['shift']());}}}(_0x5c08,0xda746));import{View as _0x5c0cae,ListItemView as _0x30f8ea,ListView as _0x3a042c,BalloonPanelView as _0x19b586,DropdownMenuPanelPositioningFunctions as _0x2172c6,ViewCollection as _0x542a1d,FocusCycler as _0x41bc2f,ButtonView as _0x22e564,IconView as _0x38ae29,HighlightedTextView as _0x55a949,ButtonLabelWithHighlightView as _0x14b754,SearchTextView as _0x224b77}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x27517f}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x1108e4,KeystrokeHandler as _0x442154}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x152ba8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x2b2a62}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x46138f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x3f4ef1}from'./aiquickactionsfilteredlistview.js';const Ts=_0x308f34(0x167),Rs=_0x308f34(0x16d);function _0x14e7(_0xcc94b2,_0x5993c1){const _0x5c08ac=_0x5c08();return _0x14e7=function(_0x14e706,_0x42fdba){_0x14e706=_0x14e706-0xf4;let _0x3dca74=_0x5c08ac[_0x14e706];return _0x3dca74;},_0x14e7(_0xcc94b2,_0x5993c1);}export class AIQuickActionsDropdownContentView extends _0x5c0cae{[_0x308f34(0xfc)];[_0x308f34(0x125)];[_0x308f34(0x134)]=null;[_0x308f34(0x155)]=[];[_0x308f34(0x11a)];[_0x308f34(0x178)];[_0x308f34(0x139)];[_0x308f34(0x123)];[_0x308f34(0xfe)];[_0x308f34(0x13c)]=new Set();[_0x308f34(0x129)];constructor(_0x197e5d,_0x36c127,_0x13d0c2,_0x58c7b5,_0x49c02a=!0x1){const _0x54689f=_0x308f34,_0x1d88d9=_0x197e5d[_0x54689f(0xff)];super(_0x1d88d9),this[_0x54689f(0xfc)]=_0x58c7b5,this[_0x54689f(0x129)]=_0x49c02a;const _0x8234e3=this[_0x54689f(0x11d)](_0x197e5d,_0x36c127,_0x13d0c2);this[_0x54689f(0x125)]=new _0x3f4ef1(_0x1d88d9,_0x8234e3,this[_0x54689f(0x155)]),this[_0x54689f(0x125)][_0x54689f(0x169)]=Ts,this[_0x54689f(0x125)][_0x54689f(0x164)][_0x54689f(0x151)](_0x8234e3),this[_0x54689f(0x178)]=new _0x1108e4(),this[_0x54689f(0x139)]=new _0x442154(),_0x49c02a&&(this[_0x54689f(0x134)]=this[_0x54689f(0x142)]()),this[_0x54689f(0x123)]=_0x8234e3,this[_0x54689f(0xfe)]=new _0x41bc2f({'focusables':this[_0x54689f(0x123)],'focusTracker':this[_0x54689f(0x178)],'keystrokeHandler':this[_0x54689f(0x139)]}),_0x49c02a&&this[_0x54689f(0x134)]&&this[_0x54689f(0xfe)][_0x54689f(0x14a)](this[_0x54689f(0x134)][_0x54689f(0xfe)]);const _0x47c772=_0x49c02a&&this[_0x54689f(0x134)]?[this[_0x54689f(0x134)]]:[this[_0x54689f(0x125)]];this[_0x54689f(0x11a)]=new _0x542a1d(_0x47c772),this[_0x54689f(0x15d)]({'tag':_0x54689f(0x116),'attributes':{'class':['ck',_0x54689f(0x11c),_0x54689f(0x16a),_0x54689f(0x122)],'dir':_0x1d88d9[_0x54689f(0x16c)]},'children':this[_0x54689f(0x11a)]});}[_0x308f34(0x142)](){const _0x362b81=_0x308f34;return new _0x224b77(this[_0x362b81(0xff)],{'filteredView':this[_0x362b81(0x125)],'queryView':{'label':_0x46138f(this[_0x362b81(0xff)],_0x362b81(0x100))},'class':_0x362b81(0x141),'infoView':{'text':{'notFound':{'primary':_0x46138f(this[_0x362b81(0xff)],_0x362b81(0x12a))}}}});}[_0x308f34(0x14f)](){const _0x51768d=_0x308f34;if(!this[_0x51768d(0x129)]||!this[_0x51768d(0x134)]||!this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)])return!0x1;const _0x2dcbef=this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)][_0x51768d(0xfa)]?.[_0x51768d(0x146)];return this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)][_0x51768d(0x132)](_0x2dcbef);}[_0x308f34(0x11d)](_0x1fd172,_0x439bb8,_0x4ce728){const _0x405f29=_0x308f34,_0x37363c=new _0x542a1d();return _0x439bb8[_0x405f29(0x147)](_0x3c3e27=>{const _0xad84d0=_0x405f29;if(_0xad84d0(0x12e)in _0x3c3e27){const {listItem:_0x3268ce}=this[_0xad84d0(0x16e)](_0x1fd172,_0x3c3e27,_0x4ce728);_0x37363c[_0xad84d0(0x127)](_0x3268ce),_0x3c3e27[_0xad84d0(0x12e)][_0xad84d0(0x147)](_0x4c31d6=>{const _0x13a31f=_0xad84d0;this[_0x13a31f(0x162)](_0x1fd172,_0x4c31d6,_0x3c3e27[_0x13a31f(0x12f)],_0x3c3e27[_0x13a31f(0x150)]);const {listItem:_0x38a474,highlightViews:_0x38c9c2}=this[_0x13a31f(0x107)](_0x1fd172,_0x4c31d6,_0x3c3e27[_0x13a31f(0x12f)],_0x3c3e27[_0x13a31f(0x150)]);this[_0x13a31f(0x155)][_0x13a31f(0x15f)]({'item':_0x38a474,'label':_0x4c31d6[_0x13a31f(0x137)],'groupLabel':_0x3c3e27[_0x13a31f(0x12f)],'highlightViews':_0x38c9c2});});}else{const {listItem:_0x3264d4}=this[_0xad84d0(0x162)](_0x1fd172,_0x3c3e27);_0x37363c[_0xad84d0(0x127)](_0x3264d4);const _0x59c86f=_0x3264d4[_0xad84d0(0x11a)][_0xad84d0(0x13b)];if(_0x59c86f){const {listItem:_0x898cda,highlightViews:_0x1888fe}=this[_0xad84d0(0x107)](_0x1fd172,_0x3c3e27);this[_0xad84d0(0x155)][_0xad84d0(0x15f)]({'item':_0x898cda,'label':_0x59c86f[_0xad84d0(0x12f)]||'','highlightViews':_0x1888fe});}}}),_0x37363c;}[_0x308f34(0x162)](_0x56e8c8,_0x4de3b0,_0x3bc00c,_0x5c89ce){const _0x311990=_0x308f34,_0x2e1c55=new _0x30f8ea(this[_0x311990(0xff)]);if(_0x3bc00c&&_0x5c89ce){const _0x335c62=new _0x22e564(this[_0x311990(0xff)]),_0x484423=_0x335c62[_0x311990(0x161)],_0x185832=new _0x55a949();_0x185832[_0x311990(0x104)]=_0x4de3b0[_0x311990(0x137)];const _0x2afd4d=new _0x55a949();_0x2afd4d[_0x311990(0x104)]=_0x3bc00c;const _0x3bc492=new _0x38ae29();_0x3bc492[_0x311990(0x135)]=_0x5c89ce,_0x3bc492[_0x311990(0x14b)]({'attributes':{'class':_0x311990(0x10f)}});const _0x2eb059=new _0x5c0cae(this[_0x311990(0xff)]);_0x2eb059[_0x311990(0x15d)]({'tag':_0x311990(0x152),'attributes':{'class':_0x311990(0x133)},'children':[{'text':'\x20('}]});const _0x71d17=new _0x5c0cae(this[_0x311990(0xff)]);return _0x71d17[_0x311990(0x15d)]({'tag':_0x311990(0x152),'attributes':{'class':_0x311990(0x10c)},'children':[{'text':')'}]}),_0x335c62[_0x311990(0x10a)]({'label':_0x4de3b0[_0x311990(0x137)]+'\x20('+_0x3bc00c+')','withText':!0x0,'role':_0x311990(0x16d),'class':_0x311990(0xf8),'tooltip':!0x1}),_0x335c62[_0x311990(0x15d)]({'tag':_0x311990(0xf7),'attributes':{'class':['ck',_0x311990(0x12c),_0x311990(0x163),_0x311990(0x16f),_0x311990(0x13d)],'type':_0x311990(0xf7),'role':_0x311990(0x16d),'tabindex':'-1'},'children':[_0x185832,_0x2eb059,_0x3bc492,_0x2afd4d,_0x71d17],'on':{'mouseenter':_0x484423['to'](()=>{const _0x1fd4ba=_0x311990;this[_0x1fd4ba(0x14f)]()||_0x335c62[_0x1fd4ba(0x10e)]();}),'click':_0x484423['to'](()=>{const _0x4651c9=_0x311990;_0x335c62[_0x4651c9(0x118)](_0x4651c9(0x179));})}}),_0x335c62['on'](_0x311990(0x179),()=>{const _0x15e4a0=_0x311990;_0x56e8c8[_0x15e4a0(0x173)][_0x15e4a0(0x177)][_0x15e4a0(0x10e)](),_0x56e8c8[_0x15e4a0(0x149)][_0x15e4a0(0x179)](_0x15e4a0(0x17a),_0x4de3b0);}),_0x2e1c55[_0x311990(0x11a)][_0x311990(0x127)](_0x335c62),{'listItem':_0x2e1c55,'highlightViews':[_0x185832,_0x2afd4d]};}{const _0x38528e=new _0x14b754(),_0x109df2=new _0x22e564(this[_0x311990(0xff)],_0x38528e),_0x31c852=_0x109df2[_0x311990(0x161)],_0x1cc768=_0x4de3b0[_0x311990(0x150)]??_0x4de3b0[_0x311990(0x103)]?.[_0x311990(0x150)],_0x871963=void 0x0!==_0x4de3b0[_0x311990(0x150)];return _0x109df2[_0x311990(0x10a)]({'label':_0x4de3b0[_0x311990(0x137)],'withText':!0x0,'role':_0x311990(0x16d),'icon':_0x871963?_0x1cc768??_0x27517f:void 0x0,'tooltip':!0x1,'class':_0x311990(0x16f)}),_0x109df2[_0x311990(0x14b)]({'on':{'mouseenter':_0x31c852['to'](()=>{const _0x40fee1=_0x311990;this[_0x40fee1(0x14f)]()||_0x109df2[_0x40fee1(0x10e)]();})}}),_0x109df2['on'](_0x311990(0x179),()=>{const _0x222525=_0x311990;_0x56e8c8[_0x222525(0x173)][_0x222525(0x177)][_0x222525(0x10e)](),_0x56e8c8[_0x222525(0x149)][_0x222525(0x179)](_0x222525(0x17a),_0x4de3b0);}),_0x2e1c55[_0x311990(0x11a)][_0x311990(0x127)](_0x109df2),{'listItem':_0x2e1c55,'highlightViews':[_0x38528e]};}}[_0x308f34(0x107)](_0x3b2227,_0x12dfa6,_0x3a7327,_0x596b42){const _0x116aad=_0x308f34;return _0x3a7327&&_0x596b42?this[_0x116aad(0xf6)](_0x3b2227,_0x12dfa6,_0x3a7327,_0x596b42):this[_0x116aad(0x140)](_0x3b2227,_0x12dfa6);}[_0x308f34(0xf6)](_0x3964a9,_0x3580a8,_0x29222e,_0x5e53d4){const _0x496740=_0x308f34,_0x1b00ed=new _0x30f8ea(this[_0x496740(0xff)]),_0x5a91c7=new _0x22e564(this[_0x496740(0xff)]),_0x3fc66a=_0x5a91c7[_0x496740(0x161)],{view:_0x41e3be,highlightView:_0x4d78d1}=this[_0x496740(0x126)](_0x29222e,_0x5e53d4),{view:_0x15fddc,highlightView:_0x2a2ddf}=this[_0x496740(0x175)](_0x3580a8[_0x496740(0x137)]),_0x54c5cc=this[_0x496740(0x15c)](_0x41e3be,_0x15fddc);return _0x5a91c7[_0x496740(0x10a)]({'label':_0x3580a8[_0x496740(0x137)],'withText':!0x0,'role':_0x496740(0x16d),'class':_0x496740(0x11e),'tooltip':!0x1}),_0x5a91c7[_0x496740(0x15d)]({'tag':_0x496740(0xf7),'attributes':{'class':['ck',_0x496740(0x12c),_0x496740(0x163),_0x496740(0x16f),_0x496740(0x138),_0x496740(0x113)],'type':_0x496740(0xf7),'role':_0x496740(0x16d),'tabindex':'-1'},'children':[_0x54c5cc],'on':{'mouseenter':_0x3fc66a['to'](()=>{const _0x15f6e1=_0x496740;this[_0x15f6e1(0x14f)]()||_0x5a91c7[_0x15f6e1(0x10e)]();}),'click':_0x3fc66a['to'](()=>{const _0x17224c=_0x496740;this[_0x17224c(0x174)](_0x5a91c7);})}}),this[_0x496740(0x12b)](_0x5a91c7,_0x3964a9,_0x3580a8),_0x1b00ed[_0x496740(0x11a)][_0x496740(0x127)](_0x5a91c7),{'listItem':_0x1b00ed,'highlightViews':[_0x4d78d1,_0x2a2ddf]};}[_0x308f34(0x140)](_0x57b070,_0x584547){const _0xa7e9f4=_0x308f34,_0x7c62e=new _0x30f8ea(this[_0xa7e9f4(0xff)]),_0x555d2f=new _0x14b754(),_0x4fedc2=new _0x22e564(this[_0xa7e9f4(0xff)],_0x555d2f),_0x29cf8b=_0x4fedc2[_0xa7e9f4(0x161)];return _0x4fedc2[_0xa7e9f4(0x10a)]({'label':_0x584547[_0xa7e9f4(0x137)],'withText':!0x0,'role':_0xa7e9f4(0x16d),'icon':void 0x0,'tooltip':!0x1,'class':_0xa7e9f4(0x10b)}),_0x4fedc2[_0xa7e9f4(0x14b)]({'on':{'mouseenter':_0x29cf8b['to'](()=>{const _0x2cdf5e=_0xa7e9f4;this[_0x2cdf5e(0x14f)]()||_0x4fedc2[_0x2cdf5e(0x10e)]();})}}),this[_0xa7e9f4(0x12b)](_0x4fedc2,_0x57b070,_0x584547),_0x7c62e[_0xa7e9f4(0x11a)][_0xa7e9f4(0x127)](_0x4fedc2),{'listItem':_0x7c62e,'highlightViews':[_0x555d2f]};}[_0x308f34(0x126)](_0x55f913,_0x4e3ebb){const _0x2ade1d=_0x308f34,_0x5de549=new _0x5c0cae(this[_0x2ade1d(0xff)]),_0x4c226a=new _0x38ae29();_0x4c226a[_0x2ade1d(0x135)]=_0x4e3ebb,_0x4c226a[_0x2ade1d(0x14b)]({'attributes':{'class':_0x2ade1d(0x10f)}});const _0xf945ca=new _0x55a949();return _0xf945ca[_0x2ade1d(0x104)]=_0x55f913,_0x5de549[_0x2ade1d(0x15d)]({'tag':_0x2ade1d(0x116),'attributes':{'class':_0x2ade1d(0x117)},'children':[_0x4c226a,_0xf945ca]}),{'view':_0x5de549,'highlightView':_0xf945ca};}[_0x308f34(0x175)](_0x4d7414){const _0x166594=_0x308f34,_0x28ac6b=new _0x5c0cae(this[_0x166594(0xff)]),_0xc711c6=new _0x55a949();return _0xc711c6[_0x166594(0x104)]=_0x4d7414,_0x28ac6b[_0x166594(0x15d)]({'tag':_0x166594(0x116),'attributes':{'class':_0x166594(0x157)},'children':[_0xc711c6]}),{'view':_0x28ac6b,'highlightView':_0xc711c6};}[_0x308f34(0x15c)](_0x91a4da,_0x3b1755){const _0x43bc60=_0x308f34,_0x304df6=new _0x5c0cae(this[_0x43bc60(0xff)]);return _0x304df6[_0x43bc60(0x15d)]({'tag':_0x43bc60(0x116),'attributes':{'class':_0x43bc60(0x136)},'children':[_0x91a4da,_0x3b1755]}),_0x304df6;}[_0x308f34(0x12b)](_0x13a1a0,_0x8f11c9,_0x41d531){const _0x2b42a0=_0x308f34;_0x13a1a0['on'](_0x2b42a0(0x179),()=>{const _0xac5fa0=_0x2b42a0;_0x8f11c9[_0xac5fa0(0x173)][_0xac5fa0(0x177)][_0xac5fa0(0x10e)](),_0x8f11c9[_0xac5fa0(0x149)][_0xac5fa0(0x179)](_0xac5fa0(0x17a),_0x41d531);});}[_0x308f34(0x16e)](_0x2198bd,_0x5453ee,_0x17260b){const _0x45159d=_0x308f34,_0x3bcc34=new _0x30f8ea(this[_0x45159d(0xff)]),_0x54b6cc=new _0x14b754(),_0x394921=new _0x2b2a62(this[_0x45159d(0xff)],_0x54b6cc),_0x3f62a0=_0x394921[_0x45159d(0x161)],_0x1f285a=this[_0x45159d(0x121)](_0x17260b),_0x26a153=this[_0x45159d(0x120)](_0x2198bd,_0x5453ee[_0x45159d(0x12e)],_0x17260b);_0x394921[_0x45159d(0x10a)]({'label':_0x5453ee[_0x45159d(0x12f)],'withText':!0x0,'role':Rs,'icon':_0x5453ee[_0x45159d(0x150)]??_0x27517f,'isEnabled':_0x5453ee[_0x45159d(0x12e)][_0x45159d(0x111)](_0x461481=>_0x461481[_0x45159d(0x165)])}),_0x394921[_0x45159d(0x14b)]({'on':{'mouseenter':_0x3f62a0['to'](()=>{const _0x3e125d=_0x45159d;this[_0x3e125d(0x14f)]()||_0x394921[_0x3e125d(0x10e)]();})}});const _0x4b4ed2=new _0x19b586(this[_0x45159d(0xff)]);return _0x4b4ed2[_0x45159d(0x14b)]({'attributes':{'class':['ck',_0x45159d(0x11c),_0x45159d(0x15e),_0x45159d(0x109)]},'on':{'keydown':_0x3f62a0['to'](_0x5d0346=>{const _0x48dc64=_0x45159d;this[_0x48dc64(0x16b)](_0x5d0346,_0x1f285a,_0x394921,_0x4b4ed2);})}}),_0x394921[_0x45159d(0xf4)](_0x45159d(0x168))['to'](_0x4b4ed2,_0x45159d(0xfb)),this[_0x45159d(0xfc)][_0x45159d(0x127)](_0x4b4ed2),_0x4b4ed2[_0x45159d(0x135)][_0x45159d(0x127)](_0x26a153),this[_0x45159d(0x166)](_0x394921,_0x4b4ed2),_0x3bcc34[_0x45159d(0x11a)][_0x45159d(0x127)](_0x394921),{'listItem':_0x3bcc34,'highlightView':_0x54b6cc};}[_0x308f34(0x120)](_0x516c7d,_0x41c808,_0x38a370){const _0x4a56a9=_0x308f34,_0x42af0a=new _0x3a042c(this[_0x4a56a9(0xff)]);return _0x42af0a[_0x4a56a9(0x14b)]({'attributes':{'class':['ck',_0x4a56a9(0x11c),_0x4a56a9(0x108),_0x4a56a9(0x110)]}}),_0x41c808[_0x4a56a9(0x147)](_0x545251=>{const _0x589a1e=_0x4a56a9,_0x552996=new _0x30f8ea(this[_0x589a1e(0xff)]),_0x2ba27b=_0x152ba8({'editor':_0x516c7d,'action':_0x545251,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x589a1e(0x14f)]()})();_0x552996[_0x589a1e(0x11a)][_0x589a1e(0x127)](_0x2ba27b),_0x38a370[_0x589a1e(0x178)][_0x589a1e(0x127)](_0x2ba27b),_0x42af0a[_0x589a1e(0x164)][_0x589a1e(0x127)](_0x552996);}),_0x42af0a;}[_0x308f34(0x166)](_0x5ad71f,_0x43615b){const _0x31a8df=_0x308f34,_0x16c60f=_0x5ad71f[_0x31a8df(0x161)],_0x364ebc=this[_0x31a8df(0x13f)](_0x5ad71f);_0x5ad71f[_0x31a8df(0x14b)]({'attributes':{'class':[_0x31a8df(0x14e)]},'on':{'mouseenter':_0x16c60f['to'](()=>{const _0x2df4f7=_0x31a8df;this[_0x2df4f7(0x159)](_0x43615b,_0x5ad71f);}),'mouseleave':_0x16c60f['to'](_0x29ebf2=>{const _0x31e52d=_0x31a8df,_0x5680a4=_0x29ebf2[_0x31e52d(0x112)];this[_0x31e52d(0x14d)](_0x5680a4,_0x43615b)||this[_0x31e52d(0x119)](_0x43615b);}),'keydown':_0x16c60f['to'](_0xf1bd0=>{const _0x1f3fd0=_0x31a8df;_0xf1bd0[_0x1f3fd0(0x130)]==_0x364ebc&&(this[_0x1f3fd0(0x159)](_0x43615b,_0x5ad71f),_0x43615b[_0x1f3fd0(0x135)][_0x1f3fd0(0x154)](0x0)[_0x1f3fd0(0x10e)]());})}}),_0x43615b['on'](_0x31a8df(0x102),()=>{const _0x3cb918=_0x31a8df;_0x43615b[_0x3cb918(0x105)]?.[_0x3cb918(0x12d)](_0x3cb918(0xf9),_0x564060=>{const _0x537b47=_0x3cb918,_0x58704d=_0x564060[_0x537b47(0x112)];_0x5ad71f[_0x537b47(0x105)]?.[_0x537b47(0x132)](_0x58704d)||this[_0x537b47(0x14d)](_0x58704d,_0x43615b)||this[_0x537b47(0x119)](_0x43615b);});});}[_0x308f34(0x159)](_0x54e7b5,_0x5235f7){const _0x2d480e=_0x308f34;this[_0x2d480e(0x13c)][_0x2d480e(0x147)](_0x33a63a=>{const _0x563f98=_0x2d480e;_0x33a63a!==_0x54e7b5&&_0x33a63a[_0x563f98(0xfb)]&&_0x33a63a[_0x563f98(0x13a)]();}),_0x54e7b5[_0x2d480e(0x145)](),_0x54e7b5[_0x2d480e(0x11f)]({'positions':[_0x2172c6[_0x2d480e(0x153)]],'target':_0x5235f7[_0x2d480e(0x105)],'fitInViewport':!0x0}),this[_0x2d480e(0x13c)][_0x2d480e(0x127)](_0x54e7b5);}[_0x308f34(0x119)](_0x1fec32){const _0x4e8e57=_0x308f34;_0x1fec32[_0x4e8e57(0x13a)](),this[_0x4e8e57(0x13c)][_0x4e8e57(0xf5)](_0x1fec32);}[_0x308f34(0x114)](){const _0x3beb0e=_0x308f34;this[_0x3beb0e(0x13c)][_0x3beb0e(0x147)](_0x252ad7=>_0x252ad7[_0x3beb0e(0x13a)]()),this[_0x3beb0e(0x13c)][_0x3beb0e(0x124)]();}[_0x308f34(0x14d)](_0x4b6d9e,_0x52efd0){const _0x4e07f9=_0x308f34;if(!_0x4b6d9e)return!0x1;if(_0x52efd0[_0x4e07f9(0x105)]?.[_0x4e07f9(0x132)](_0x4b6d9e))return!0x0;const _0x2b2704=_0x4b6d9e;return _0x2b2704[_0x4e07f9(0x10d)]&&(null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x148))||null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x15b))||null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x115)));}[_0x308f34(0x144)](){const _0x513615=_0x308f34;this[_0x513615(0x134)]&&this[_0x513615(0x134)][_0x513615(0x101)]();}[_0x308f34(0x106)](){const _0x35e161=_0x308f34;this[_0x35e161(0x114)](),this[_0x35e161(0xfc)][_0x35e161(0x160)](),super[_0x35e161(0x106)]();}[_0x308f34(0x10e)](){const _0x3f49e8=_0x308f34;this[_0x3f49e8(0x134)]?this[_0x3f49e8(0x134)][_0x3f49e8(0x10e)]():this[_0x3f49e8(0x125)][_0x3f49e8(0x10e)]();}[_0x308f34(0x121)](_0x378ecb){const _0x286762=_0x308f34;return _0x286762(0x172)===_0x378ecb[_0x286762(0xff)][_0x286762(0x16c)]?_0x286762(0x176):_0x286762(0x170);}[_0x308f34(0x13f)](_0x229043){const _0x207674=_0x308f34;return _0x207674(0x172)===_0x229043[_0x207674(0xff)][_0x207674(0x16c)]?_0x207674(0x170):_0x207674(0x176);}[_0x308f34(0x16b)](_0x329295,_0x53430c,_0x5f1bf9,_0x40a5bf){const _0x3b5a54=_0x308f34;_0x329295[_0x3b5a54(0x130)]==_0x53430c&&(_0x5f1bf9[_0x3b5a54(0x10e)](),this[_0x3b5a54(0x119)](_0x40a5bf));}[_0x308f34(0x174)](_0x5718f8){const _0x4dbe3f=_0x308f34;_0x5718f8[_0x4dbe3f(0x118)](_0x4dbe3f(0x179));}}
|
|
23
|
+
function _0x225a(_0x5b16b2,_0x10aac4){const _0x27e88=_0x27e8();return _0x225a=function(_0x225ac7,_0x27bb76){_0x225ac7=_0x225ac7-0x183;let _0x4f0b04=_0x27e88[_0x225ac7];return _0x4f0b04;},_0x225a(_0x5b16b2,_0x10aac4);}const _0x406b41=_0x225a;(function(_0x110b11,_0x5afdf8){const _0x55ea8e=_0x225a,_0x1c9187=_0x110b11();while(!![]){try{const _0x1cfd8e=-parseInt(_0x55ea8e(0x1e3))/0x1*(parseInt(_0x55ea8e(0x205))/0x2)+-parseInt(_0x55ea8e(0x1a3))/0x3*(-parseInt(_0x55ea8e(0x1ba))/0x4)+-parseInt(_0x55ea8e(0x1fe))/0x5*(parseInt(_0x55ea8e(0x1f9))/0x6)+-parseInt(_0x55ea8e(0x20a))/0x7*(parseInt(_0x55ea8e(0x1a1))/0x8)+-parseInt(_0x55ea8e(0x1e0))/0x9+-parseInt(_0x55ea8e(0x1c4))/0xa*(-parseInt(_0x55ea8e(0x209))/0xb)+parseInt(_0x55ea8e(0x190))/0xc;if(_0x1cfd8e===_0x5afdf8)break;else _0x1c9187['push'](_0x1c9187['shift']());}catch(_0x1d3f14){_0x1c9187['push'](_0x1c9187['shift']());}}}(_0x27e8,0x46076));import{View as _0x227411,ListItemView as _0x50d8c6,ListView as _0x5736fd,BalloonPanelView as _0x523a6f,DropdownMenuPanelPositioningFunctions as _0x32d6a9,ViewCollection as _0x4cb287,FocusCycler as _0x2ee63b,ButtonView as _0x4bf6ac,IconView as _0x1c8d8a,HighlightedTextView as _0x183b84,ButtonLabelWithHighlightView as _0x19dfcb,SearchTextView as _0xa34f57}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x605091}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x18c38e,KeystrokeHandler as _0x5e6e6e}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x118c27}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x377a69}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x1aa55f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x275eb6}from'./aiquickactionsfilteredlistview.js';const Ts=_0x406b41(0x19d),Rs=_0x406b41(0x1bf);function _0x27e8(){const _0x8e63f=['_isSearchFocused','text','_handleSearchResultButtonClick','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-search-result__action-row','resetSearch','fire','push','queryView','set','commands','_bodyCollection','aiQuickAction','ck-ai-quick-actions-button','_createGroupActionsList','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions-search','_allSearchableItems','AI_QUICK_ACTIONS_SEARCH','add','ck-ai-quick-actions-group-button','render','parent','editing','ck-ai-quick-actions','ck-rounded-corners','_isMovingToNestedMenu','1814733ovJlCR','locale','ck-reset_all','204717qBsXuC','focus','show','get','isEnabled','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','role','ck-ai-quick-actions-button_with-group__open-paren','ArrowLeft','ck-ai-quick-actions-button_with-group','actions','.ck-ai-quick-actions-group-button','addMany','closest','view','displayedPrompt','mouseleave','element','key','_createSearchResultIndividualActionButton','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result-button','6GiVPTq','ck-dropdown-menu-list','_hideAllNestedPanels','addEventListener','delete','1118905zBnbfy','activeElement','setTemplate','_createActionGroupButton','_createSearchResultGroupedActionButton','_openNestedPanels','_createListItems','2XgEdKM','execute','extendTemplate','keystrokes','1792043OqBnEV','13405LLQwnN','ck-ai-quick-actions-button__group-icon','button','chain','_createSearchResultContentView','ck-button','some','items','ck-ai-quick-actions-search-result-button_with-group','ownerDocument','clear','_createSearchResultGroupRow','_focusables','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_hideNestedPanel','rtl','3679284LVsOWp','_handlePanelKeydown','forEach','isVisible','bindTemplate','ck-ai-quick-actions-search-result__content','content','isOn','ck-dropdown-menu__nested-menu__panel','.ck-ai-quick-actions-group-panel','ArrowRight','optionsListView','children','menu','_showNestedPanel','relatedTarget','hide','192WbzQqv','_searchTextView','9915GEKfyg','_hasSearch','focusTracker','fieldView','_createSearchResultActionButton','span','ck-button_with-text','bind','div','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-group-list','focusCycler','_createActionButton','destroy','reset','first','_getPanelKeystroke','_getButtonKeystroke','_createSearchResultActionRow','contains','label','.ck-ai-quick-actions-group-list','_setupGroupMenuBehavior','400gufLVL','_setupActionButtonExecution','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','uiLanguageDirection','_createSearchTextView','menuitem','icon','pin','eastSouth','detachFromDom','20ijtjEs'];_0x27e8=function(){return _0x8e63f;};return _0x27e8();}export class AIQuickActionsDropdownContentView extends _0x227411{[_0x406b41(0x1d0)];[_0x406b41(0x19b)];[_0x406b41(0x1a2)]=null;[_0x406b41(0x1d6)]=[];[_0x406b41(0x19c)];[_0x406b41(0x1a5)];[_0x406b41(0x208)];[_0x406b41(0x18c)];[_0x406b41(0x1ae)];[_0x406b41(0x203)]=new Set();[_0x406b41(0x1a4)];constructor(_0x3933ea,_0x50c7c4,_0x572a5f,_0x238441,_0x529772=!0x1){const _0x1bfbc7=_0x406b41,_0x1f11b6=_0x3933ea[_0x1bfbc7(0x1e1)];super(_0x1f11b6),this[_0x1bfbc7(0x1d0)]=_0x238441,this[_0x1bfbc7(0x1a4)]=_0x529772;const _0x44171d=this[_0x1bfbc7(0x204)](_0x3933ea,_0x50c7c4,_0x572a5f);this[_0x1bfbc7(0x19b)]=new _0x275eb6(_0x1f11b6,_0x44171d,this[_0x1bfbc7(0x1d6)]),this[_0x1bfbc7(0x19b)][_0x1bfbc7(0x1e9)]=Ts,this[_0x1bfbc7(0x19b)][_0x1bfbc7(0x187)][_0x1bfbc7(0x1ef)](_0x44171d),this[_0x1bfbc7(0x1a5)]=new _0x18c38e(),this[_0x1bfbc7(0x208)]=new _0x5e6e6e(),_0x529772&&(this[_0x1bfbc7(0x1a2)]=this[_0x1bfbc7(0x1be)]()),this[_0x1bfbc7(0x18c)]=_0x44171d,this[_0x1bfbc7(0x1ae)]=new _0x2ee63b({'focusables':this[_0x1bfbc7(0x18c)],'focusTracker':this[_0x1bfbc7(0x1a5)],'keystrokeHandler':this[_0x1bfbc7(0x208)]}),_0x529772&&this[_0x1bfbc7(0x1a2)]&&this[_0x1bfbc7(0x1ae)][_0x1bfbc7(0x183)](this[_0x1bfbc7(0x1a2)][_0x1bfbc7(0x1ae)]);const _0x11f063=_0x529772&&this[_0x1bfbc7(0x1a2)]?[this[_0x1bfbc7(0x1a2)]]:[this[_0x1bfbc7(0x19b)]];this[_0x1bfbc7(0x19c)]=new _0x4cb287(_0x11f063),this[_0x1bfbc7(0x200)]({'tag':_0x1bfbc7(0x1ab),'attributes':{'class':['ck',_0x1bfbc7(0x1e2),_0x1bfbc7(0x1dd),_0x1bfbc7(0x1de)],'dir':_0x1f11b6[_0x1bfbc7(0x1bd)]},'children':this[_0x1bfbc7(0x19c)]});}[_0x406b41(0x1be)](){const _0x2a3921=_0x406b41;return new _0xa34f57(this[_0x2a3921(0x1e1)],{'filteredView':this[_0x2a3921(0x19b)],'queryView':{'label':_0x1aa55f(this[_0x2a3921(0x1e1)],_0x2a3921(0x1d7))},'class':_0x2a3921(0x1d5),'infoView':{'text':{'notFound':{'primary':_0x1aa55f(this[_0x2a3921(0x1e1)],_0x2a3921(0x1bc))}}}});}[_0x406b41(0x1c5)](){const _0x38fcc4=_0x406b41;if(!this[_0x38fcc4(0x1a4)]||!this[_0x38fcc4(0x1a2)]||!this[_0x38fcc4(0x1a2)][_0x38fcc4(0x1cd)][_0x38fcc4(0x1a6)][_0x38fcc4(0x1f4)])return!0x1;const _0x574f20=this[_0x38fcc4(0x1a2)][_0x38fcc4(0x1cd)][_0x38fcc4(0x1a6)][_0x38fcc4(0x1f4)][_0x38fcc4(0x189)]?.[_0x38fcc4(0x1ff)];return this[_0x38fcc4(0x1a2)][_0x38fcc4(0x1cd)][_0x38fcc4(0x1a6)][_0x38fcc4(0x1f4)][_0x38fcc4(0x1b6)](_0x574f20);}[_0x406b41(0x204)](_0x2f68b7,_0x355164,_0x1321cd){const _0x5cdcc5=_0x406b41,_0x2b4dd2=new _0x4cb287();return _0x355164[_0x5cdcc5(0x192)](_0x20e1c7=>{const _0x465686=_0x5cdcc5;if(_0x465686(0x1ed)in _0x20e1c7){const {listItem:_0x4dd179}=this[_0x465686(0x201)](_0x2f68b7,_0x20e1c7,_0x1321cd);_0x2b4dd2[_0x465686(0x1d8)](_0x4dd179),_0x20e1c7[_0x465686(0x1ed)][_0x465686(0x192)](_0x2f4cec=>{const _0x8dcd4a=_0x465686;this[_0x8dcd4a(0x1af)](_0x2f68b7,_0x2f4cec,_0x20e1c7[_0x8dcd4a(0x1b7)],_0x20e1c7[_0x8dcd4a(0x1c0)]);const {listItem:_0x519682,highlightViews:_0x2f7c60}=this[_0x8dcd4a(0x1a7)](_0x2f68b7,_0x2f4cec,_0x20e1c7[_0x8dcd4a(0x1b7)],_0x20e1c7[_0x8dcd4a(0x1c0)]);this[_0x8dcd4a(0x1d6)][_0x8dcd4a(0x1cc)]({'item':_0x519682,'label':_0x2f4cec[_0x8dcd4a(0x1f2)],'groupLabel':_0x20e1c7[_0x8dcd4a(0x1b7)],'highlightViews':_0x2f7c60});});}else{const {listItem:_0x123249}=this[_0x465686(0x1af)](_0x2f68b7,_0x20e1c7);_0x2b4dd2[_0x465686(0x1d8)](_0x123249);const _0x3dfa76=_0x123249[_0x465686(0x19c)][_0x465686(0x1b2)];if(_0x3dfa76){const {listItem:_0x4f96a3,highlightViews:_0x48908c}=this[_0x465686(0x1a7)](_0x2f68b7,_0x20e1c7);this[_0x465686(0x1d6)][_0x465686(0x1cc)]({'item':_0x4f96a3,'label':_0x3dfa76[_0x465686(0x1b7)]||'','highlightViews':_0x48908c});}}}),_0x2b4dd2;}[_0x406b41(0x1af)](_0x52e83f,_0x31e747,_0x569005,_0x28743f){const _0x303147=_0x406b41,_0x492b6c=new _0x50d8c6(this[_0x303147(0x1e1)]);if(_0x569005&&_0x28743f){const _0x231df2=new _0x4bf6ac(this[_0x303147(0x1e1)]),_0x3204a9=_0x231df2[_0x303147(0x194)],_0x6b2dc5=new _0x183b84();_0x6b2dc5[_0x303147(0x1c6)]=_0x31e747[_0x303147(0x1f2)];const _0x8f446f=new _0x183b84();_0x8f446f[_0x303147(0x1c6)]=_0x569005;const _0x52297a=new _0x1c8d8a();_0x52297a[_0x303147(0x196)]=_0x28743f,_0x52297a[_0x303147(0x207)]({'attributes':{'class':_0x303147(0x20b)}});const _0x3fca7c=new _0x227411(this[_0x303147(0x1e1)]);_0x3fca7c[_0x303147(0x200)]({'tag':_0x303147(0x1a8),'attributes':{'class':_0x303147(0x1ea)},'children':[{'text':'\x20('}]});const _0x509ca3=new _0x227411(this[_0x303147(0x1e1)]);return _0x509ca3[_0x303147(0x200)]({'tag':_0x303147(0x1a8),'attributes':{'class':_0x303147(0x1d4)},'children':[{'text':')'}]}),_0x231df2[_0x303147(0x1ce)]({'label':_0x31e747[_0x303147(0x1f2)]+'\x20('+_0x569005+')','withText':!0x0,'role':_0x303147(0x1bf),'class':_0x303147(0x18d),'tooltip':!0x1}),_0x231df2[_0x303147(0x200)]({'tag':_0x303147(0x20c),'attributes':{'class':['ck',_0x303147(0x185),_0x303147(0x1a9),_0x303147(0x1d2),_0x303147(0x1ec)],'type':_0x303147(0x20c),'role':_0x303147(0x1bf),'tabindex':'-1'},'children':[_0x6b2dc5,_0x3fca7c,_0x52297a,_0x8f446f,_0x509ca3],'on':{'mouseenter':_0x3204a9['to'](()=>{const _0x12c86f=_0x303147;this[_0x12c86f(0x1c5)]()||_0x231df2[_0x12c86f(0x1e4)]();}),'click':_0x3204a9['to'](()=>{const _0x5bb1f6=_0x303147;_0x231df2[_0x5bb1f6(0x1cb)](_0x5bb1f6(0x206));})}}),_0x231df2['on'](_0x303147(0x206),()=>{const _0x2c0df1=_0x303147;_0x52e83f[_0x2c0df1(0x1dc)][_0x2c0df1(0x1f1)][_0x2c0df1(0x1e4)](),_0x52e83f[_0x2c0df1(0x1cf)][_0x2c0df1(0x206)](_0x2c0df1(0x1d1),_0x31e747);}),_0x492b6c[_0x303147(0x19c)][_0x303147(0x1d8)](_0x231df2),{'listItem':_0x492b6c,'highlightViews':[_0x6b2dc5,_0x8f446f]};}{const _0x20cd41=new _0x19dfcb(),_0xb1fbc1=new _0x4bf6ac(this[_0x303147(0x1e1)],_0x20cd41),_0x5ae03d=_0xb1fbc1[_0x303147(0x194)],_0xc4fa25=_0x31e747[_0x303147(0x1c0)]??_0x31e747[_0x303147(0x1db)]?.[_0x303147(0x1c0)],_0x40d584=void 0x0!==_0x31e747[_0x303147(0x1c0)];return _0xb1fbc1[_0x303147(0x1ce)]({'label':_0x31e747[_0x303147(0x1f2)],'withText':!0x0,'role':_0x303147(0x1bf),'icon':_0x40d584?_0xc4fa25??_0x605091:void 0x0,'tooltip':!0x1,'class':_0x303147(0x1d2)}),_0xb1fbc1[_0x303147(0x207)]({'on':{'mouseenter':_0x5ae03d['to'](()=>{const _0x4d6235=_0x303147;this[_0x4d6235(0x1c5)]()||_0xb1fbc1[_0x4d6235(0x1e4)]();})}}),_0xb1fbc1['on'](_0x303147(0x206),()=>{const _0x4647f2=_0x303147;_0x52e83f[_0x4647f2(0x1dc)][_0x4647f2(0x1f1)][_0x4647f2(0x1e4)](),_0x52e83f[_0x4647f2(0x1cf)][_0x4647f2(0x206)](_0x4647f2(0x1d1),_0x31e747);}),_0x492b6c[_0x303147(0x19c)][_0x303147(0x1d8)](_0xb1fbc1),{'listItem':_0x492b6c,'highlightViews':[_0x20cd41]};}}[_0x406b41(0x1a7)](_0x11e71d,_0x59b39b,_0x3c2cb0,_0xbd21eb){const _0x438011=_0x406b41;return _0x3c2cb0&&_0xbd21eb?this[_0x438011(0x202)](_0x11e71d,_0x59b39b,_0x3c2cb0,_0xbd21eb):this[_0x438011(0x1f6)](_0x11e71d,_0x59b39b);}[_0x406b41(0x202)](_0x29dac0,_0x2f2cd2,_0x4b3787,_0xedefc1){const _0x2fc2e7=_0x406b41,_0x2df54d=new _0x50d8c6(this[_0x2fc2e7(0x1e1)]),_0x2a9683=new _0x4bf6ac(this[_0x2fc2e7(0x1e1)]),_0x1e3a01=_0x2a9683[_0x2fc2e7(0x194)],{view:_0x4a52c1,highlightView:_0x21542e}=this[_0x2fc2e7(0x18b)](_0x4b3787,_0xedefc1),{view:_0x1ea8e8,highlightView:_0x104722}=this[_0x2fc2e7(0x1b5)](_0x2f2cd2[_0x2fc2e7(0x1f2)]),_0x10651b=this[_0x2fc2e7(0x184)](_0x4a52c1,_0x1ea8e8);return _0x2a9683[_0x2fc2e7(0x1ce)]({'label':_0x2f2cd2[_0x2fc2e7(0x1f2)],'withText':!0x0,'role':_0x2fc2e7(0x1bf),'class':_0x2fc2e7(0x1e8),'tooltip':!0x1}),_0x2a9683[_0x2fc2e7(0x200)]({'tag':_0x2fc2e7(0x20c),'attributes':{'class':['ck',_0x2fc2e7(0x185),_0x2fc2e7(0x1a9),_0x2fc2e7(0x1d2),_0x2fc2e7(0x1f8),_0x2fc2e7(0x188)],'type':_0x2fc2e7(0x20c),'role':_0x2fc2e7(0x1bf),'tabindex':'-1'},'children':[_0x10651b],'on':{'mouseenter':_0x1e3a01['to'](()=>{const _0x3abba5=_0x2fc2e7;this[_0x3abba5(0x1c5)]()||_0x2a9683[_0x3abba5(0x1e4)]();}),'click':_0x1e3a01['to'](()=>{const _0x38b275=_0x2fc2e7;this[_0x38b275(0x1c7)](_0x2a9683);})}}),this[_0x2fc2e7(0x1bb)](_0x2a9683,_0x29dac0,_0x2f2cd2),_0x2df54d[_0x2fc2e7(0x19c)][_0x2fc2e7(0x1d8)](_0x2a9683),{'listItem':_0x2df54d,'highlightViews':[_0x21542e,_0x104722]};}[_0x406b41(0x1f6)](_0x45f53a,_0x15d6ac){const _0x2ef144=_0x406b41,_0x17040=new _0x50d8c6(this[_0x2ef144(0x1e1)]),_0x194544=new _0x19dfcb(),_0xe31a36=new _0x4bf6ac(this[_0x2ef144(0x1e1)],_0x194544),_0x2ff5dd=_0xe31a36[_0x2ef144(0x194)];return _0xe31a36[_0x2ef144(0x1ce)]({'label':_0x15d6ac[_0x2ef144(0x1f2)],'withText':!0x0,'role':_0x2ef144(0x1bf),'icon':void 0x0,'tooltip':!0x1,'class':_0x2ef144(0x1c8)}),_0xe31a36[_0x2ef144(0x207)]({'on':{'mouseenter':_0x2ff5dd['to'](()=>{const _0x28140b=_0x2ef144;this[_0x28140b(0x1c5)]()||_0xe31a36[_0x28140b(0x1e4)]();})}}),this[_0x2ef144(0x1bb)](_0xe31a36,_0x45f53a,_0x15d6ac),_0x17040[_0x2ef144(0x19c)][_0x2ef144(0x1d8)](_0xe31a36),{'listItem':_0x17040,'highlightViews':[_0x194544]};}[_0x406b41(0x18b)](_0x4a9414,_0x2e8bcf){const _0x17cc42=_0x406b41,_0x25ade1=new _0x227411(this[_0x17cc42(0x1e1)]),_0x505f26=new _0x1c8d8a();_0x505f26[_0x17cc42(0x196)]=_0x2e8bcf,_0x505f26[_0x17cc42(0x207)]({'attributes':{'class':_0x17cc42(0x20b)}});const _0x223e9f=new _0x183b84();return _0x223e9f[_0x17cc42(0x1c6)]=_0x4a9414,_0x25ade1[_0x17cc42(0x200)]({'tag':_0x17cc42(0x1ab),'attributes':{'class':_0x17cc42(0x1ac)},'children':[_0x505f26,_0x223e9f]}),{'view':_0x25ade1,'highlightView':_0x223e9f};}[_0x406b41(0x1b5)](_0x89ea21){const _0x3b095d=_0x406b41,_0x575d49=new _0x227411(this[_0x3b095d(0x1e1)]),_0x217b78=new _0x183b84();return _0x217b78[_0x3b095d(0x1c6)]=_0x89ea21,_0x575d49[_0x3b095d(0x200)]({'tag':_0x3b095d(0x1ab),'attributes':{'class':_0x3b095d(0x1c9)},'children':[_0x217b78]}),{'view':_0x575d49,'highlightView':_0x217b78};}[_0x406b41(0x184)](_0x9da902,_0x529419){const _0x57040f=_0x406b41,_0x432f7e=new _0x227411(this[_0x57040f(0x1e1)]);return _0x432f7e[_0x57040f(0x200)]({'tag':_0x57040f(0x1ab),'attributes':{'class':_0x57040f(0x195)},'children':[_0x9da902,_0x529419]}),_0x432f7e;}[_0x406b41(0x1bb)](_0x9b59a1,_0x1d502e,_0x377a9f){const _0xe731a5=_0x406b41;_0x9b59a1['on'](_0xe731a5(0x206),()=>{const _0x18843e=_0xe731a5;_0x1d502e[_0x18843e(0x1dc)][_0x18843e(0x1f1)][_0x18843e(0x1e4)](),_0x1d502e[_0x18843e(0x1cf)][_0x18843e(0x206)](_0x18843e(0x1d1),_0x377a9f);});}[_0x406b41(0x201)](_0xe37e89,_0x59b2fa,_0x55221e){const _0x2b7352=_0x406b41,_0x2bf4d8=new _0x50d8c6(this[_0x2b7352(0x1e1)]),_0x148ebf=new _0x19dfcb(),_0x1bb6e2=new _0x377a69(this[_0x2b7352(0x1e1)],_0x148ebf),_0x68fec8=_0x1bb6e2[_0x2b7352(0x194)],_0x2be2db=this[_0x2b7352(0x1b3)](_0x55221e),_0x41356f=this[_0x2b7352(0x1d3)](_0xe37e89,_0x59b2fa[_0x2b7352(0x1ed)],_0x55221e);_0x1bb6e2[_0x2b7352(0x1ce)]({'label':_0x59b2fa[_0x2b7352(0x1b7)],'withText':!0x0,'role':Rs,'icon':_0x59b2fa[_0x2b7352(0x1c0)]??_0x605091,'isEnabled':_0x59b2fa[_0x2b7352(0x1ed)][_0x2b7352(0x186)](_0x506c16=>_0x506c16[_0x2b7352(0x1e7)])}),_0x1bb6e2[_0x2b7352(0x207)]({'on':{'mouseenter':_0x68fec8['to'](()=>{const _0x4be827=_0x2b7352;this[_0x4be827(0x1c5)]()||_0x1bb6e2[_0x4be827(0x1e4)]();})}});const _0x5ba722=new _0x523a6f(this[_0x2b7352(0x1e1)]);return _0x5ba722[_0x2b7352(0x207)]({'attributes':{'class':['ck',_0x2b7352(0x1e2),_0x2b7352(0x1f7),_0x2b7352(0x198)]},'on':{'keydown':_0x68fec8['to'](_0x31e942=>{const _0x485767=_0x2b7352;this[_0x485767(0x191)](_0x31e942,_0x2be2db,_0x1bb6e2,_0x5ba722);})}}),_0x1bb6e2[_0x2b7352(0x1aa)](_0x2b7352(0x197))['to'](_0x5ba722,_0x2b7352(0x193)),this[_0x2b7352(0x1d0)][_0x2b7352(0x1d8)](_0x5ba722),_0x5ba722[_0x2b7352(0x196)][_0x2b7352(0x1d8)](_0x41356f),this[_0x2b7352(0x1b9)](_0x1bb6e2,_0x5ba722),_0x2bf4d8[_0x2b7352(0x19c)][_0x2b7352(0x1d8)](_0x1bb6e2),{'listItem':_0x2bf4d8,'highlightView':_0x148ebf};}[_0x406b41(0x1d3)](_0x59e85c,_0x201676,_0x30df51){const _0x49e829=_0x406b41,_0x5c3b7f=new _0x5736fd(this[_0x49e829(0x1e1)]);return _0x5c3b7f[_0x49e829(0x207)]({'attributes':{'class':['ck',_0x49e829(0x1e2),_0x49e829(0x1ad),_0x49e829(0x1fa)]}}),_0x201676[_0x49e829(0x192)](_0x3d7110=>{const _0x5a0035=_0x49e829,_0x1e981e=new _0x50d8c6(this[_0x5a0035(0x1e1)]),_0x1ddb48=_0x118c27({'editor':_0x59e85c,'action':_0x3d7110,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x5a0035(0x1c5)]()})();_0x1e981e[_0x5a0035(0x19c)][_0x5a0035(0x1d8)](_0x1ddb48),_0x30df51[_0x5a0035(0x1a5)][_0x5a0035(0x1d8)](_0x1ddb48),_0x5c3b7f[_0x5a0035(0x187)][_0x5a0035(0x1d8)](_0x1e981e);}),_0x5c3b7f;}[_0x406b41(0x1b9)](_0x1b70ed,_0x3f256f){const _0x16a858=_0x406b41,_0x427693=_0x1b70ed[_0x16a858(0x194)],_0x138a36=this[_0x16a858(0x1b4)](_0x1b70ed);_0x1b70ed[_0x16a858(0x207)]({'attributes':{'class':[_0x16a858(0x1d9)]},'on':{'mouseenter':_0x427693['to'](()=>{const _0x5bd037=_0x16a858;this[_0x5bd037(0x19e)](_0x3f256f,_0x1b70ed);}),'mouseleave':_0x427693['to'](_0x258f52=>{const _0x2e573b=_0x16a858,_0x3645e9=_0x258f52[_0x2e573b(0x19f)];this[_0x2e573b(0x1df)](_0x3645e9,_0x3f256f)||this[_0x2e573b(0x18e)](_0x3f256f);}),'keydown':_0x427693['to'](_0x204eaa=>{const _0x4c379a=_0x16a858;_0x204eaa[_0x4c379a(0x1f5)]==_0x138a36&&(this[_0x4c379a(0x19e)](_0x3f256f,_0x1b70ed),_0x3f256f[_0x4c379a(0x196)][_0x4c379a(0x1e6)](0x0)[_0x4c379a(0x1e4)]());})}}),_0x3f256f['on'](_0x16a858(0x1da),()=>{const _0x55448c=_0x16a858;_0x3f256f[_0x55448c(0x1f4)]?.[_0x55448c(0x1fc)](_0x55448c(0x1f3),_0x40a13e=>{const _0x299b42=_0x55448c,_0x36f762=_0x40a13e[_0x299b42(0x19f)];_0x1b70ed[_0x299b42(0x1f4)]?.[_0x299b42(0x1b6)](_0x36f762)||this[_0x299b42(0x1df)](_0x36f762,_0x3f256f)||this[_0x299b42(0x18e)](_0x3f256f);});});}[_0x406b41(0x19e)](_0x3430aa,_0xebd74c){const _0x1ff967=_0x406b41;this[_0x1ff967(0x203)][_0x1ff967(0x192)](_0x430848=>{const _0x428813=_0x1ff967;_0x430848!==_0x3430aa&&_0x430848[_0x428813(0x193)]&&_0x430848[_0x428813(0x1a0)]();}),_0x3430aa[_0x1ff967(0x1e5)](),_0x3430aa[_0x1ff967(0x1c1)]({'positions':[_0x32d6a9[_0x1ff967(0x1c2)]],'target':_0xebd74c[_0x1ff967(0x1f4)],'fitInViewport':!0x0}),this[_0x1ff967(0x203)][_0x1ff967(0x1d8)](_0x3430aa);}[_0x406b41(0x18e)](_0x2e8415){const _0x5a627b=_0x406b41;_0x2e8415[_0x5a627b(0x1a0)](),this[_0x5a627b(0x203)][_0x5a627b(0x1fd)](_0x2e8415);}[_0x406b41(0x1fb)](){const _0x187c10=_0x406b41;this[_0x187c10(0x203)][_0x187c10(0x192)](_0x80d802=>_0x80d802[_0x187c10(0x1a0)]()),this[_0x187c10(0x203)][_0x187c10(0x18a)]();}[_0x406b41(0x1df)](_0x5de43c,_0xff7724){const _0x43efbf=_0x406b41;if(!_0x5de43c)return!0x1;if(_0xff7724[_0x43efbf(0x1f4)]?.[_0x43efbf(0x1b6)](_0x5de43c))return!0x0;const _0xab929a=_0x5de43c;return _0xab929a[_0x43efbf(0x1f0)]&&(null!==_0xab929a[_0x43efbf(0x1f0)](_0x43efbf(0x199))||null!==_0xab929a[_0x43efbf(0x1f0)](_0x43efbf(0x1b8))||null!==_0xab929a[_0x43efbf(0x1f0)](_0x43efbf(0x1ee)));}[_0x406b41(0x1ca)](){const _0xae7e1=_0x406b41;this[_0xae7e1(0x1a2)]&&this[_0xae7e1(0x1a2)][_0xae7e1(0x1b1)]();}[_0x406b41(0x1b0)](){const _0x10bf97=_0x406b41;this[_0x10bf97(0x1fb)](),this[_0x10bf97(0x1d0)][_0x10bf97(0x1c3)](),super[_0x10bf97(0x1b0)]();}[_0x406b41(0x1e4)](){const _0x4c6753=_0x406b41;this[_0x4c6753(0x1a2)]?this[_0x4c6753(0x1a2)][_0x4c6753(0x1e4)]():this[_0x4c6753(0x19b)][_0x4c6753(0x1e4)]();}[_0x406b41(0x1b3)](_0x1c5cbe){const _0x4d2657=_0x406b41;return _0x4d2657(0x18f)===_0x1c5cbe[_0x4d2657(0x1e1)][_0x4d2657(0x1bd)]?_0x4d2657(0x19a):_0x4d2657(0x1eb);}[_0x406b41(0x1b4)](_0x31d9ad){const _0x2bf66c=_0x406b41;return _0x2bf66c(0x18f)===_0x31d9ad[_0x2bf66c(0x1e1)][_0x2bf66c(0x1bd)]?_0x2bf66c(0x1eb):_0x2bf66c(0x19a);}[_0x406b41(0x191)](_0x2dea8b,_0x85fef1,_0xa5864c,_0xb8c198){const _0xeeefb4=_0x406b41;_0x2dea8b[_0xeeefb4(0x1f5)]==_0x85fef1&&(_0xa5864c[_0xeeefb4(0x1e4)](),this[_0xeeefb4(0x18e)](_0xb8c198));}[_0x406b41(0x1c7)](_0x3ba001){const _0x53d3b7=_0x406b41;_0x3ba001[_0x53d3b7(0x1cb)](_0x53d3b7(0x206));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x200849,_0x1b45c1){const _0x10fe27=_0x45d4,_0x1f0c79=_0x200849();while(!![]){try{const _0x4795c=-parseInt(_0x10fe27(0x179))/0x1+parseInt(_0x10fe27(0x180))/0x2+parseInt(_0x10fe27(0x165))/0x3*(parseInt(_0x10fe27(0x186))/0x4)+parseInt(_0x10fe27(0x17e))/0x5*(parseInt(_0x10fe27(0x17b))/0x6)+parseInt(_0x10fe27(0x169))/0x7+-parseInt(_0x10fe27(0x182))/0x8*(-parseInt(_0x10fe27(0x17d))/0x9)+-parseInt(_0x10fe27(0x175))/0xa;if(_0x4795c===_0x1b45c1)break;else _0x1f0c79['push'](_0x1f0c79['shift']());}catch(_0x3b071a){_0x1f0c79['push'](_0x1f0c79['shift']());}}}(_0x3647,0xdd15a));function _0x45d4(_0xcc3628,_0x3cca40){const _0x3647ef=_0x3647();return _0x45d4=function(_0x45d4a4,_0x571052){_0x45d4a4=_0x45d4a4-0x165;let _0x21d853=_0x3647ef[_0x45d4a4];return _0x21d853;},_0x45d4(_0xcc3628,_0x3cca40);}import{createDropdown as _0x6646e4}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4eea70}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x56eea2}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x2d520e}from'../../aicore/aiediting.js';function _0x3647(){const _0x342ba7=['hideFakeVisualSelection','plugins','6227753yswqks','get','children','change:isOpen','selection','set','locale','length','add','has','getRanges','document','26607050Npfjnt','showFakeVisualSelection','from','icon','717041cFPRMH','model','249510TzmrCx','AIEditing','1757493zDVNFO','145vlpNbe','ai-quick-actions-dropdown-selection','1134698GvCXdh','label','8fRgWUN','buttonView','ck-ai-quick-actions-dropdown','resetSearch','2850076thknRo','6VIrccH','panelView'];_0x3647=function(){return _0x342ba7;};return _0x3647();}export function aiQuickActionsDropdownCreator(_0xf955dc){const {editor:_0x5927c3,content:_0x3077f7,buttonDefinition:_0x506b35,bodyCollection:_0x49c4c1,hasSearch:_0x314cc5=!0x1}=_0xf955dc;return()=>{const _0x42aaad=_0x45d4,_0x278531=_0x5927c3[_0x42aaad(0x16f)],_0x1a3b06=_0x6646e4(_0x278531);_0x1a3b06[_0x42aaad(0x183)][_0x42aaad(0x16e)]({'icon':_0x506b35[_0x42aaad(0x178)]??_0x4eea70,'label':_0x506b35[_0x42aaad(0x181)],'tooltip':!0x0}),_0x1a3b06[_0x42aaad(0x16e)]({'class':_0x42aaad(0x184)});const _0x2c622f=new _0x56eea2(_0x5927c3,_0x3077f7,_0x1a3b06,_0x49c4c1,_0x314cc5);if(_0x1a3b06[_0x42aaad(0x166)][_0x42aaad(0x16b)][_0x42aaad(0x171)](_0x2c622f),_0x314cc5){const _0x1378bb=_0x42aaad(0x17f);_0x1a3b06['on'](_0x42aaad(0x16c),(_0x5ccb30,_0x52de1b,_0x539f2d)=>{const _0x35ec78=_0x42aaad;if(_0x539f2d){if(_0x5927c3[_0x35ec78(0x168)][_0x35ec78(0x172)](_0x35ec78(0x17c))){const _0x1a6b9b=_0x5927c3[_0x35ec78(0x168)][_0x35ec78(0x16a)](_0x2d520e),_0x5aa0ec=_0x5927c3[_0x35ec78(0x17a)][_0x35ec78(0x174)][_0x35ec78(0x16d)],_0x16c19e=Array[_0x35ec78(0x177)](_0x5aa0ec[_0x35ec78(0x173)]());_0x16c19e[_0x35ec78(0x170)]>0x0&&_0x1a6b9b[_0x35ec78(0x176)](_0x16c19e,_0x1378bb,!0x1,!0x0);}}else _0x5927c3[_0x35ec78(0x168)][_0x35ec78(0x172)](_0x35ec78(0x17c))&&_0x5927c3[_0x35ec78(0x168)][_0x35ec78(0x16a)](_0x2d520e)[_0x35ec78(0x167)](_0x1378bb),_0x2c622f[_0x35ec78(0x185)]();});}return _0x1a3b06;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x23bcab=_0x2385;(function(_0x58040c,_0x3b0325){const _0x2ac08e=_0x2385,_0x31f78e=_0x58040c();while(!![]){try{const _0x3f6187=parseInt(_0x2ac08e(0x157))/0x1*(-parseInt(_0x2ac08e(0x146))/0x2)+parseInt(_0x2ac08e(0x147))/0x3*(parseInt(_0x2ac08e(0x156))/0x4)+parseInt(_0x2ac08e(0x14c))/0x5*(parseInt(_0x2ac08e(0x14a))/0x6)+parseInt(_0x2ac08e(0x145))/0x7+-parseInt(_0x2ac08e(0x14e))/0x8*(parseInt(_0x2ac08e(0x155))/0x9)+-parseInt(_0x2ac08e(0x143))/0xa*(-parseInt(_0x2ac08e(0x15c))/0xb)+parseInt(_0x2ac08e(0x14d))/0xc;if(_0x3f6187===_0x3b0325)break;else _0x31f78e['push'](_0x31f78e['shift']());}catch(_0x43493e){_0x31f78e['push'](_0x31f78e['shift']());}}}(_0x2caf,0xa57e2));import{ListView as _0x43abd1}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x1f3f0e}from'es-toolkit/compat';function _0x2385(_0x3bd9a4,_0x954217){const _0x2caf65=_0x2caf();return _0x2385=function(_0x238564,_0xff5570){_0x238564=_0x238564-0x141;let _0x3ca8e3=_0x2caf65[_0x238564];return _0x3ca8e3;},_0x2385(_0x3bd9a4,_0x954217);}function _0x2caf(){const _0x16267e=['toLowerCase','highlightText','clear','item','1027433lidIYO','function','_allListItems','forEach','groupLabel','source','length','items','20VYUqGl','includes','2023504YVHcGX','2aDocIy','3ktCijv','label','_allSearchableItems','18660dzKwtT','highlightViews','815TSDMgw','1888728rCTKVY','120tDxGzm','map','addMany','_clearHighlight','filter','_highlightQuery','trim','176634omBOHc','2774552GlkNbO','861592QQUcSp'];_0x2caf=function(){return _0x16267e;};return _0x2caf();}export class AIQuickActionsFilteredListView extends _0x43abd1{[_0x23bcab(0x15e)];[_0x23bcab(0x149)];constructor(_0x8816f6,_0x305420,_0x4fb3a9){const _0x49dacd=_0x23bcab;super(_0x8816f6),this[_0x49dacd(0x15e)]=_0x305420,this[_0x49dacd(0x149)]=_0x4fb3a9;}[_0x23bcab(0x152)](_0x43b45f){const _0x593ccc=_0x23bcab;if(!_0x43b45f)return this[_0x593ccc(0x142)][_0x593ccc(0x15a)](),this[_0x593ccc(0x142)][_0x593ccc(0x150)](this[_0x593ccc(0x15e)]),this[_0x593ccc(0x151)](),{'resultsCount':this[_0x593ccc(0x15e)][_0x593ccc(0x141)],'totalItemsCount':this[_0x593ccc(0x15e)][_0x593ccc(0x141)]};const _0x196007=_0x43b45f[_0x593ccc(0x161)][_0x593ccc(0x158)]()[_0x593ccc(0x154)](),_0x13ad09=this[_0x593ccc(0x149)][_0x593ccc(0x152)](_0xd5fa5c=>(_0xd5fa5c[_0x593ccc(0x160)]?_0xd5fa5c[_0x593ccc(0x148)]+'\x20('+_0xd5fa5c[_0x593ccc(0x160)]+')':_0xd5fa5c[_0x593ccc(0x148)])[_0x593ccc(0x158)]()[_0x593ccc(0x144)](_0x196007));return this[_0x593ccc(0x142)][_0x593ccc(0x15a)](),this[_0x593ccc(0x142)][_0x593ccc(0x150)](_0x13ad09[_0x593ccc(0x14f)](_0x3295b8=>_0x3295b8[_0x593ccc(0x15b)])),this[_0x593ccc(0x153)](_0x196007,_0x13ad09),{'resultsCount':_0x13ad09[_0x593ccc(0x141)],'totalItemsCount':this[_0x593ccc(0x149)][_0x593ccc(0x141)]};}[_0x23bcab(0x153)](_0x58431b,_0x340fe3){const _0x5a5577=_0x23bcab;if(!_0x58431b)return;const _0x553563=new RegExp(_0x1f3f0e(_0x58431b),'gi');_0x340fe3[_0x5a5577(0x15f)](_0xe2b256=>{const _0x438f2a=_0x5a5577;_0xe2b256[_0x438f2a(0x14b)]&&_0xe2b256[_0x438f2a(0x14b)][_0x438f2a(0x15f)](_0x60b05e=>{const _0x436567=_0x438f2a;_0x436567(0x15d)==typeof _0x60b05e[_0x436567(0x159)]&&_0x60b05e[_0x436567(0x159)](_0x553563);});});}[_0x23bcab(0x151)](){const _0x18015e=_0x23bcab;this[_0x18015e(0x149)][_0x18015e(0x15f)](_0xe7b36c=>{const _0x3c8cb1=_0x18015e;_0xe7b36c[_0x3c8cb1(0x14b)]&&_0xe7b36c[_0x3c8cb1(0x14b)][_0x3c8cb1(0x15f)](_0x4fd6f6=>{const _0x24d76c=_0x3c8cb1;_0x24d76c(0x15d)==typeof _0x4fd6f6[_0x24d76c(0x159)]&&_0x4fd6f6[_0x24d76c(0x159)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x357a(_0x38c883,_0x420970){const _0x55b87c=_0x55b8();return _0x357a=function(_0x357a77,_0x3f0d4a){_0x357a77=_0x357a77-0x1ce;let _0x191ef9=_0x55b87c[_0x357a77];return _0x191ef9;},_0x357a(_0x38c883,_0x420970);}const _0x332a1e=_0x357a;(function(_0x5197b1,_0x4dd575){const _0x1c0f85=_0x357a,_0x5add38=_0x5197b1();while(!![]){try{const _0x159151=parseInt(_0x1c0f85(0x1d3))/0x1*(parseInt(_0x1c0f85(0x1d4))/0x2)+parseInt(_0x1c0f85(0x1cf))/0x3*(-parseInt(_0x1c0f85(0x1e4))/0x4)+-parseInt(_0x1c0f85(0x1e7))/0x5*(-parseInt(_0x1c0f85(0x1e6))/0x6)+-parseInt(_0x1c0f85(0x1d2))/0x7*(-parseInt(_0x1c0f85(0x1df))/0x8)+parseInt(_0x1c0f85(0x1e1))/0x9*(-parseInt(_0x1c0f85(0x1d0))/0xa)+parseInt(_0x1c0f85(0x1db))/0xb+-parseInt(_0x1c0f85(0x1de))/0xc;if(_0x159151===_0x4dd575)break;else _0x5add38['push'](_0x5add38['shift']());}catch(_0x17ff10){_0x5add38['push'](_0x5add38['shift']());}}}(_0x55b8,0xe061a));import{IconView as _0x4a708f,ListItemButtonView as _0x84a9f4}from'ckeditor5/src/ui.js';function _0x55b8(){const _0x536add=['559302DVhoGG','230AGNqkI','mouseenter','6475hgaXug','444149asEnuQ','4mkeUfI','ck-dropdown-menu-list__nested-menu__button__arrow','render','ck-dropdown-menu-list__nested-menu__button','menuitem','content','set','16162652UIkmgj','arrowView','_createArrowView','13991232HAAiXR','6632tQhBzS','extendTemplate','90108JuFIAY','bindTemplate','isOn','32JmQNHD','children','177990csOUzH','115FmwOHC','add'];_0x55b8=function(){return _0x536add;};return _0x55b8();}import{IconDropdownArrow as _0x5e677e}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x84a9f4{[_0x332a1e(0x1dc)];constructor(_0x4558f7,_0x47db47){const _0x2a050f=_0x332a1e;super(_0x4558f7,_0x47db47);const _0x2cb266=this[_0x2a050f(0x1e2)];this[_0x2a050f(0x1da)]({'withText':!0x0,'role':_0x2a050f(0x1d8)}),this[_0x2a050f(0x1dc)]=this[_0x2a050f(0x1dd)](),this[_0x2a050f(0x1e0)]({'attributes':{'class':[_0x2a050f(0x1d7)],'aria-haspopup':!0x0,'aria-expanded':this[_0x2a050f(0x1e2)]['to'](_0x2a050f(0x1e3),_0x13a09a=>String(_0x13a09a)),'data-cke-tooltip-disabled':_0x2cb266['to'](_0x2a050f(0x1e3))},'on':{'mouseenter':_0x2cb266['to'](_0x2a050f(0x1d1))}});}[_0x332a1e(0x1d6)](){const _0xd44b34=_0x332a1e;super[_0xd44b34(0x1d6)](),this[_0xd44b34(0x1e5)][_0xd44b34(0x1ce)](this[_0xd44b34(0x1dc)]);}[_0x332a1e(0x1dd)](){const _0x75b28d=_0x332a1e,_0x33ada1=new _0x4a708f();return _0x33ada1[_0x75b28d(0x1d9)]=_0x5e677e,_0x33ada1[_0x75b28d(0x1e0)]({'attributes':{'class':_0x75b28d(0x1d5)}}),_0x33ada1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2085(_0x409432,_0x20598f){const _0x469410=_0x4694();return _0x2085=function(_0x208501,_0x29093f){_0x208501=_0x208501-0xbe;let _0x527905=_0x469410[_0x208501];return _0x527905;},_0x2085(_0x409432,_0x20598f);}const _0x1a94c2=_0x2085;(function(_0xf9c8fa,_0x2f5004){const _0x20c188=_0x2085,_0x5755b0=_0xf9c8fa();while(!![]){try{const _0x1695a4=-parseInt(_0x20c188(0xbe))/0x1+parseInt(_0x20c188(0xea))/0x2*(-parseInt(_0x20c188(0xc1))/0x3)+-parseInt(_0x20c188(0xfa))/0x4*(-parseInt(_0x20c188(0xc7))/0x5)+-parseInt(_0x20c188(0xf0))/0x6+-parseInt(_0x20c188(0xed))/0x7+-parseInt(_0x20c188(0xcc))/0x8*(parseInt(_0x20c188(0xec))/0x9)+-parseInt(_0x20c188(0xd5))/0xa*(-parseInt(_0x20c188(0xdd))/0xb);if(_0x1695a4===_0x2f5004)break;else _0x5755b0['push'](_0x5755b0['shift']());}catch(_0x4ff1c9){_0x5755b0['push'](_0x5755b0['shift']());}}}(_0x4694,0xd2fac));function _0x4694(){const _0x26b09a=['direct','make-tone','friendly','Chinese\x20(Simplified)','Select\x20language','1111hdlpFG','Shorter','custom','French','Direct','professional','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Friendly','Readability','translate','Translate','longer','Confident','29558oflifK','Italian','666NsdwAA','5549180mcKgFX','correctness','language','7675248WiNLUy','Adjust\x20tone\x20and\x20style','japanese','make','Spanish','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Russian','chinese','Korean','German','15692hVfweL','Professional','Japanese','Correctness','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','English','Longer','korean','Adjust\x20length','281244EoMZil','Casual','spanish','96aEoeKd','dropdown','readability','clarity','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','german','470bIAKPt','russian','casual','Clarity','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','43256HVbrQF','Translate\x20the\x20text\x20into\x20another\x20language.','english','confident','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','italian','shorter','Portuguese','Custom\x20command','368480fIMFCC','french','portuguese'];_0x4694=function(){return _0x26b09a;};return _0x4694();}export const AI_REVIEW_CHECKS=[{'id':_0x1a94c2(0xdf),'title':_0x1a94c2(0xd4),'description':_0x1a94c2(0xf5),'isParameterized':!0x0},{'id':_0x1a94c2(0xee),'title':_0x1a94c2(0xfd),'description':_0x1a94c2(0xc5),'isParameterized':!0x1},{'id':_0x1a94c2(0xc4),'title':_0x1a94c2(0xca),'description':_0x1a94c2(0xfe),'isParameterized':!0x1},{'id':_0x1a94c2(0xc3),'title':_0x1a94c2(0xe5),'description':_0x1a94c2(0xcb),'isParameterized':!0x1},{'id':_0x1a94c2(0xf3),'title':_0x1a94c2(0x102),'description':_0x1a94c2(0xe3),'isParameterized':!0x0,'options':[{'formType':_0x1a94c2(0xc2),'label':_0x1a94c2(0x102),'default':_0x1a94c2(0xe8),'data':[{'label':_0x1a94c2(0x100),'id':_0x1a94c2(0xe8)},{'label':_0x1a94c2(0xde),'id':_0x1a94c2(0xd2)}]}]},{'id':_0x1a94c2(0xd9),'title':_0x1a94c2(0xf1),'description':_0x1a94c2(0xd0),'isParameterized':!0x0,'options':[{'formType':_0x1a94c2(0xc2),'label':_0x1a94c2(0xf1),'default':_0x1a94c2(0xc9),'data':[{'label':_0x1a94c2(0xbf),'id':_0x1a94c2(0xc9)},{'label':_0x1a94c2(0xe1),'id':_0x1a94c2(0xd8)},{'label':_0x1a94c2(0xe4),'id':_0x1a94c2(0xda)},{'label':_0x1a94c2(0xe9),'id':_0x1a94c2(0xcf)},{'label':_0x1a94c2(0xfb),'id':_0x1a94c2(0xe2)}]}]},{'id':_0x1a94c2(0xe6),'title':_0x1a94c2(0xe7),'description':_0x1a94c2(0xcd),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x1a94c2(0xc2),'label':_0x1a94c2(0xdc),'argsKey':_0x1a94c2(0xef),'data':[{'label':_0x1a94c2(0xff),'id':_0x1a94c2(0xce)},{'label':_0x1a94c2(0xf4),'id':_0x1a94c2(0xc0)},{'label':_0x1a94c2(0xe0),'id':_0x1a94c2(0xd6)},{'label':_0x1a94c2(0xf9),'id':_0x1a94c2(0xc6)},{'label':_0x1a94c2(0xdb),'id':_0x1a94c2(0xf7)},{'label':_0x1a94c2(0xfc),'id':_0x1a94c2(0xf2)},{'label':_0x1a94c2(0xf6),'id':_0x1a94c2(0xc8)},{'label':_0x1a94c2(0xd3),'id':_0x1a94c2(0xd7)},{'label':_0x1a94c2(0xf8),'id':_0x1a94c2(0x101)},{'label':_0x1a94c2(0xeb),'id':_0x1a94c2(0xd1)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1fb0(_0x206a76,_0x3048fa){var _0x513177=_0x5131();return _0x1fb0=function(_0x1fb05f,_0x285d42){_0x1fb05f=_0x1fb05f-0x17b;var _0x4af020=_0x513177[_0x1fb05f];return _0x4af020;},_0x1fb0(_0x206a76,_0x3048fa);}var _0x485b19=_0x1fb0;(function(_0x51e80f,_0x3e9de6){var _0x20aa87=_0x1fb0,_0x400a1d=_0x51e80f();while(!![]){try{var _0xf9cf90=-parseInt(_0x20aa87(0x181))/0x1*(-parseInt(_0x20aa87(0x188))/0x2)+-parseInt(_0x20aa87(0x17b))/0x3*(-parseInt(_0x20aa87(0x184))/0x4)+parseInt(_0x20aa87(0x183))/0x5+parseInt(_0x20aa87(0x186))/0x6+-parseInt(_0x20aa87(0x185))/0x7*(parseInt(_0x20aa87(0x180))/0x8)+parseInt(_0x20aa87(0x189))/0x9*(parseInt(_0x20aa87(0x17c))/0xa)+-parseInt(_0x20aa87(0x17d))/0xb;if(_0xf9cf90===_0x3e9de6)break;else _0x400a1d['push'](_0x400a1d['shift']());}catch(_0x40bff0){_0x400a1d['push'](_0x400a1d['shift']());}}}(_0x5131,0x9a430));import{ContextPlugin as _0x3f222c}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x2d6aa0}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x886126}from'./aireviewmodeui.js';function _0x5131(){var _0x422539=['2720590bUpbey','691148bFrCvz','2667350mkjqML','309246nAqvUD','requires','1618XhSLyc','18iSCADN','isOfficialPlugin','9CXngFE','2232970dAdrgs','2064491twXEVV','AIReviewMode','pluginName','24cqkIQs','497tpGIuP','isPremiumPlugin'];_0x5131=function(){return _0x422539;};return _0x5131();}import{AIReviewModeEditing as _0x125581}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x3f222c{static get[_0x485b19(0x187)](){return[_0x2d6aa0,_0x886126,_0x125581];}static get[_0x485b19(0x17f)](){var _0x308f56=_0x485b19;return _0x308f56(0x17e);}static get[_0x485b19(0x18a)](){return!0x0;}static get[_0x485b19(0x182)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbd60ae=_0x35da;function _0x35da(_0x8a2ffc,_0x499468){const _0xb485c3=_0xb485();return _0x35da=function(_0x35dae4,_0x4205ca){_0x35dae4=_0x35dae4-0x107;let _0x26231e=_0xb485c3[_0x35dae4];return _0x26231e;},_0x35da(_0x8a2ffc,_0x499468);}(function(_0x3be43b,_0x524e8d){const _0x158ecd=_0x35da,_0x48a911=_0x3be43b();while(!![]){try{const _0x220ae8=-parseInt(_0x158ecd(0x1a7))/0x1+-parseInt(_0x158ecd(0x166))/0x2+parseInt(_0x158ecd(0x1ab))/0x3+-parseInt(_0x158ecd(0x198))/0x4*(parseInt(_0x158ecd(0x168))/0x5)+parseInt(_0x158ecd(0x110))/0x6*(-parseInt(_0x158ecd(0x181))/0x7)+-parseInt(_0x158ecd(0x162))/0x8*(-parseInt(_0x158ecd(0x199))/0x9)+parseInt(_0x158ecd(0x145))/0xa*(parseInt(_0x158ecd(0x130))/0xb);if(_0x220ae8===_0x524e8d)break;else _0x48a911['push'](_0x48a911['shift']());}catch(_0x3ddd0f){_0x48a911['push'](_0x48a911['shift']());}}}(_0xb485,0xa5c6f));import{ContextPlugin as _0x9f7424}from'ckeditor5/src/core.js';import{CKEditorError as _0x25cd1c,logError as _0x15ff2d,scrollAncestorsToShowTarget as _0x2b014b,scrollViewportToShowTarget as _0x935a22}from'ckeditor5/src/utils.js';function _0xb485(){const _0x2dcbb4=['hideDiffInBalloon','closest','changeMarkerClick','forceReadyState','getReviewCheckList','getDocumentData','markChangeAsPending','activateChange','getRoot','reviewCheckResultReady','model','_onReviewModeRunLeave','switchToEdit','get','error-chunk','applyChange','showReviewCheckList','markChangeAsRejected','reviewCheckResultChangeStatusUpdated','.ck-ai-review-mode__check-run-result','_currentReviewCheckRun','56rPsKoH','showNoChangesView','_aiConnector','markChangeAsAccepted','1592240VwowQV','addResultChanges','490135WQzhQG','showChangeBalloon','setAvailableChecks','source','showDiffInBalloon','abort','markerElement','hideChangeBalloon','ai-review-mode-check-run-chunk-error','showCheckRunResults','toggleDiff','locale','context','showReviewCompletedView','_getTranslationWithDefault','prompt','isAnyChangeActivated','documentData','requires','change','leaveReviewMode','_isDiffOn','_aiReviewModeUi','finished','_logError','7KSsAUq','startsWith','_OPTIONS_DATA_','domElement','dismissChange','ai.reviewMode.translations','showCheckRunResult','AIConnector','translate','AIReviewModeController','ai-review-mode-models-unable-to-retrieve','checks','isChangeActive','reviewCheckRunUpdated','_DESCRIPTION','clearAllMarkers','_aiReviewCheckList','markAllChangesAsAccepted','getAll','currentError','_onDiffChange','sendRating','isOfficialPlugin','52naOiUv','1587807xBcuUw','data','retryReview','contentInitial','processedResultsCount','ai-review-mode-source-check-not-found','changeId','showGeneralResultsErrorView','restart','showActionsWhenResultIsReady','changes','find','reviewCheckResultActivated','setActiveStateInResults','186212AXRQaB','hasModifications','init','markChangeAsOutdated','3937650iSyuzZ','finishReview','abortReviewStream','leaveReviewModeResultList','subTitle','includes','_changeActivationSource','unmodified','updateDocumentData','contentNew','custom','AIReviewModeEditing','_OPTIONS_LABEL','click','diffContent','view','length','description','changeMarkerRemoved','getCheckById','setCheckResultTitle','removeCheckById','updateChangeState','document','content','start','domEvent','toUpperCase','map','viewportOffset','_aiReviewModeEditing','result','5560290BxJUPY','panel','addClass','args','isPremiumPlugin','models','error-general','reviewCheckResultAdded','switchToReadOnly','message','ai-review-mode-check-run-failed','showGeneralReviewModeErrorView','changeMarkerHovered','AI_MODEL_DESCRIPTION_','rejectChange','deactivateChange','title','loading','config','stopListening','getActiveChanges','ck-ai-review-mode-highlights','pluginName','ai-review-mode-no-current-check-run','ai-review-mode-check-run-general-error','getEditor','hover','runReviewCheck','label','params','replaceAll','showChunkErrorView','2892802UpTiTz','aborted','plugins','ai-request-aborted','changeMarkerBlurred','AIReviewModeUI','getChangeElement','editing','_translateReviewChecks','ready','AI_REVIEW_CHECK_','getChangeById','emitter','acceptAllChanges','getDomRoot','acceptChange','markChangePositionInEditorContent','isCustom','reviewCheckResultDeactivated','ck-ai-review-mode-diff','getMarkerElementForChange','50WgEuKP','changeMarkerRestored','status','resetActiveStateInResults','listenTo','removeClass','options','_TITLE'];_0xb485=function(){return _0x2dcbb4;};return _0xb485();}import{AIConnector as _0x361ccd}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3fe93b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x34324c}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1e490e}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x51b461}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x709d11}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3a3218}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x9f7424{[_0xbd60ae(0x164)];[_0xbd60ae(0x17e)];[_0xbd60ae(0x10e)];[_0xbd60ae(0x191)];[_0xbd60ae(0x161)];[_0xbd60ae(0x17d)]=!0x1;[_0xbd60ae(0x1b1)]=null;static get[_0xbd60ae(0x17a)](){return[_0x361ccd];}static get[_0xbd60ae(0x126)](){const _0x20e8f7=_0xbd60ae;return _0x20e8f7(0x18a);}static get[_0xbd60ae(0x197)](){return!0x0;}static get[_0xbd60ae(0x114)](){return!0x0;}async[_0xbd60ae(0x1a9)](){const _0x5d1455=_0xbd60ae;this[_0x5d1455(0x164)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x188)),this[_0x5d1455(0x17e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x135)),this[_0x5d1455(0x10e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x1b6));const _0x1aac4a=this[_0x5d1455(0x174)][_0x5d1455(0x122)][_0x5d1455(0x15a)](_0x5d1455(0x186));if(_0x1aac4a){for(const _0x155e6d of _0x709d11)_0x5d1455(0x189)===_0x155e6d['id']&&(_0x155e6d[_0x5d1455(0x14b)][0x0][_0x5d1455(0x19a)]=_0x1aac4a);}const _0x25baf1=this[_0x5d1455(0x138)](_0x709d11);this[_0x5d1455(0x191)]=new _0x3fe93b(_0x25baf1);const _0x489a48=this[_0x5d1455(0x191)][_0x5d1455(0x18c)][_0x5d1455(0x1a4)](_0x26226e=>_0x5d1455(0x1b5)===_0x26226e['id']);if(_0x489a48)try{const _0x584438=await new _0x51b461({'connector':this[_0x5d1455(0x164)]})[_0x5d1455(0x193)]();_0x489a48[_0x5d1455(0x115)]=_0x584438[_0x5d1455(0x10c)](_0x865a68=>({..._0x865a68,'description':this[_0x5d1455(0x176)](_0x5d1455(0x11d)+_0x865a68['id'][_0x5d1455(0x10b)](),_0x865a68[_0x5d1455(0x1bc)])}));}catch(_0x10eb6f){this[_0x5d1455(0x191)][_0x5d1455(0x1c0)](_0x5d1455(0x1b5)),this[_0x5d1455(0x180)](new _0x25cd1c(_0x5d1455(0x18b),this,{'error':_0x10eb6f}));}this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x151),()=>{const _0x402763=_0x5d1455;this[_0x402763(0x17e)][_0x402763(0x16a)](this[_0x402763(0x191)][_0x402763(0x18c)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x12b),async(_0x3db480,_0xba6f97)=>{const _0x3ef4c4=_0x5d1455,_0x260a2b=this[_0x3ef4c4(0x191)][_0x3ef4c4(0x1be)](_0xba6f97['id']);if(_0x260a2b){this[_0x3ef4c4(0x195)](this[_0x3ef4c4(0x17d)]),_0xba6f97[_0x3ef4c4(0x141)]?this[_0x3ef4c4(0x161)]=new _0x1e490e(_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x177)],_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x157)],this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)]):this[_0x3ef4c4(0x161)]=new _0x34324c(this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)],_0xba6f97[_0x3ef4c4(0x12d)],_0xba6f97[_0x3ef4c4(0x113)]),this[_0x3ef4c4(0x17e)][_0x3ef4c4(0x1bf)](this[_0x3ef4c4(0x161)][_0x3ef4c4(0x120)],this[_0x3ef4c4(0x161)][_0x3ef4c4(0x1af)]),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x18e),(_0x5caeb4,_0x49c10e)=>{const _0x1324db=_0x3ef4c4;_0x1324db(0x19a)===_0x49c10e[_0x1324db(0x147)]||_0x1324db(0x121)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x10e)][_0x1324db(0x118)](),this[_0x1324db(0x17e)][_0x1324db(0x171)](_0x49c10e)):_0x1324db(0x17f)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x175)]():_0x1324db(0x139)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x1a2)]():_0x1324db(0x1b2)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x163)]():_0x1324db(0x116)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x1a0)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x128),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x15b)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x12f)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x170),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x131)===_0x49c10e[_0x1324db(0x147)]&&(this[_0x1324db(0x161)]&&this[_0x1324db(0x161)][_0x1324db(0x19d)]>0x0?setTimeout(()=>{const _0xb1adce=_0x1324db;this[_0xb1adce(0x161)]?.[_0xb1adce(0x150)]();},0x0):this[_0x1324db(0x158)](!0x0)),_0x1324db(0x139)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x15b)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x116)!==_0x49c10e[_0x1324db(0x147)]||this[_0x1324db(0x161)]?.[_0x1324db(0x196)]();}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x117),(_0x5ddf2b,_0x2c005f)=>{const _0xa6f683=_0x3ef4c4;if(!this[_0xa6f683(0x161)])throw new _0x25cd1c(_0xa6f683(0x127),this);const _0x451873=this[_0xa6f683(0x10e)][_0xa6f683(0x1b9)](_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x19c)],_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x1b4)]);_0x2c005f[_0xa6f683(0x16b)][_0xa6f683(0x167)](_0x2c005f[_0xa6f683(0x10f)]['id'],_0x451873);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x156),(_0x45fa72,_0x23dc21)=>{const _0x483ad8=_0x3ef4c4;for(const _0x760f32 of _0x23dc21[_0x483ad8(0x1a3)])this[_0x483ad8(0x17e)][_0x483ad8(0x187)](_0x760f32);this[_0x483ad8(0x10e)][_0x483ad8(0x140)](_0x23dc21[_0x483ad8(0x1a3)],_0x23dc21[_0x483ad8(0x16b)][_0x483ad8(0x179)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x15f),(_0x2600a2,_0x1254fa)=>{const _0x4ecdbf=_0x3ef4c4;this[_0x4ecdbf(0x17e)][_0x4ecdbf(0x1c1)](_0x1254fa[_0x4ecdbf(0x17b)]['id'],_0x1254fa[_0x4ecdbf(0x147)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x1a5),(_0xb5febb,_0x154ecc)=>{const _0x541dfd=_0x3ef4c4;this[_0x541dfd(0x17e)][_0x541dfd(0x1a6)](_0x154ecc[_0x541dfd(0x17b)]['id']);const _0x165c8b=this[_0x541dfd(0x10e)][_0x541dfd(0x144)](_0x154ecc[_0x541dfd(0x17b)]['id']);if(!_0x165c8b)return;if(_0x541dfd(0x108)===this[_0x541dfd(0x1b1)]){const _0x59db4f=this[_0x541dfd(0x17e)][_0x541dfd(0x136)](_0x154ecc[_0x541dfd(0x17b)]['id']);_0x59db4f&&_0x2b014b(_0x59db4f[_0x541dfd(0x14e)](_0x541dfd(0x160))||_0x59db4f);}else{if(_0x541dfd(0x111)===this[_0x541dfd(0x1b1)]){const _0x2a636f={'target':_0x165c8b[_0x541dfd(0x184)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x935a22(_0x2a636f);}}const _0x13fa29=this[_0x541dfd(0x10e)][_0x541dfd(0x129)]();this[_0x541dfd(0x17e)][_0x541dfd(0x169)](_0x154ecc[_0x541dfd(0x17b)],_0x165c8b[_0x541dfd(0x184)],void 0x0,_0x541dfd(0x1b8),_0x13fa29?.[_0x541dfd(0x137)]?.[_0x541dfd(0x1ba)]?.[_0x541dfd(0x13e)](),_0x13fa29?.['ui']?.[_0x541dfd(0x10d)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x142),()=>{const _0x23b933=_0x3ef4c4;this[_0x23b933(0x17e)][_0x23b933(0x148)](),this[_0x23b933(0x17e)][_0x23b933(0x16f)]();});try{await this[_0x3ef4c4(0x161)][_0x3ef4c4(0x109)]();}catch(_0x49e320){_0x49e320 instanceof Error&&_0x49e320[_0x3ef4c4(0x119)][_0x3ef4c4(0x1b0)](_0x3ef4c4(0x133))||(_0x49e320 instanceof _0x25cd1c?this[_0x3ef4c4(0x180)](_0x49e320):this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x11a),this,{'error':_0x49e320})));}}else this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x19e),this,{'checkId':_0xba6f97['id']}));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x17c),()=>{const _0x472a61=_0x5d1455;this[_0x472a61(0x158)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ae),()=>{const _0x323fbe=_0x5d1455;this[_0x323fbe(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ad),()=>{const _0x24c30a=_0x5d1455;this[_0x24c30a(0x161)]&&this[_0x24c30a(0x161)][_0x24c30a(0x16d)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ac),()=>{const _0x18d4ef=_0x5d1455;this[_0x18d4ef(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13d),()=>{const _0x5e9ccd=_0x5d1455;if(!this[_0x5e9ccd(0x161)])return;const _0x426e20=this[_0x5e9ccd(0x161)][_0x5e9ccd(0x124)]();_0x426e20[_0x5e9ccd(0x1bb)]&&(this[_0x5e9ccd(0x10e)][_0x5e9ccd(0x15c)](_0x426e20[_0x5e9ccd(0x10c)](_0x3056ff=>_0x3056ff['id'])),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x192)](),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x196)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13f),(_0x3f7f1f,_0x5189af)=>{const _0x34043c=_0x5d1455;this[_0x34043c(0x161)]&&this[_0x34043c(0x161)][_0x34043c(0x18d)](_0x5189af['id'])&&(this[_0x34043c(0x10e)][_0x34043c(0x15c)]([_0x5189af['id']]),this[_0x34043c(0x161)][_0x34043c(0x165)](_0x5189af['id']),this[_0x34043c(0x17e)][_0x34043c(0x16f)](),this[_0x34043c(0x161)][_0x34043c(0x196)](_0x5189af['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x185),(_0x2204b8,_0x2468d9)=>{const _0x53206e=_0x5d1455;this[_0x53206e(0x161)]&&this[_0x53206e(0x161)][_0x53206e(0x18d)](_0x2468d9['id'])&&(this[_0x53206e(0x10e)][_0x53206e(0x11e)](_0x2468d9['id']),this[_0x53206e(0x161)][_0x53206e(0x15e)](_0x2468d9['id']),this[_0x53206e(0x17e)][_0x53206e(0x16f)](),this[_0x53206e(0x161)][_0x53206e(0x196)](_0x2468d9['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x172),(_0x4d517b,_0x29361d)=>{const _0x4fd45a=_0x5d1455;this[_0x4fd45a(0x17d)]=_0x29361d['on'],this[_0x4fd45a(0x195)](this[_0x4fd45a(0x17d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x19b),async()=>{const _0x3ec9a5=_0x5d1455;this[_0x3ec9a5(0x161)]&&(this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x190)](),this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1b3)](this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x152)]()),await this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1a1)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x154),(_0x1c09eb,_0x243d30)=>{const _0x4145a5=_0x5d1455;this[_0x4145a5(0x161)]&&(this[_0x4145a5(0x1b1)]=_0x4145a5(0x111),this[_0x4145a5(0x161)][_0x4145a5(0x154)](_0x243d30['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x11f),()=>{const _0x4b4f49=_0x5d1455;this[_0x4b4f49(0x161)]&&this[_0x4b4f49(0x161)][_0x4b4f49(0x11f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x14f),(_0x4979bd,_0xf67292)=>{const _0x19fe23=_0x5d1455;if(!this[_0x19fe23(0x161)])return;this[_0x19fe23(0x1b1)]=_0x19fe23(0x108),this[_0x19fe23(0x161)][_0x19fe23(0x154)](_0xf67292[_0x19fe23(0x19f)]);const _0x1aba68=this[_0x19fe23(0x161)][_0x19fe23(0x13b)](_0xf67292[_0x19fe23(0x19f)]);if(!_0x1aba68)return;const _0x4770e4=this[_0x19fe23(0x10e)][_0x19fe23(0x129)]();this[_0x19fe23(0x17e)][_0x19fe23(0x169)](_0x1aba68,_0xf67292[_0x19fe23(0x16e)],_0xf67292[_0x19fe23(0x10a)],_0x19fe23(0x1b8),_0x4770e4?.[_0x19fe23(0x137)]?.[_0x19fe23(0x1ba)]?.[_0x19fe23(0x13e)](),_0x4770e4?.['ui']?.[_0x19fe23(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x11c),(_0x33b4a0,_0x45a535)=>{const _0x502113=_0x5d1455;if(!this[_0x502113(0x161)])return;if(this[_0x502113(0x161)][_0x502113(0x178)]())return;const _0x4c7428=this[_0x502113(0x161)][_0x502113(0x13b)](_0x45a535[_0x502113(0x19f)]);if(!_0x4c7428)return;const _0x5ef0e0=this[_0x502113(0x10e)][_0x502113(0x129)]();this[_0x502113(0x17e)][_0x502113(0x169)](_0x4c7428,_0x45a535[_0x502113(0x16e)],_0x45a535[_0x502113(0x10a)],_0x502113(0x12a),_0x5ef0e0?.[_0x502113(0x137)]?.[_0x502113(0x1ba)]?.[_0x502113(0x13e)](),_0x5ef0e0?.['ui']?.[_0x502113(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x134),()=>{const _0x38928a=_0x5d1455;if(!this[_0x38928a(0x161)])return;this[_0x38928a(0x161)][_0x38928a(0x178)]()||this[_0x38928a(0x17e)][_0x38928a(0x16f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x1bd),(_0x2932a0,_0x1438be)=>{const _0x4f876a=_0x5d1455;this[_0x4f876a(0x161)]&&this[_0x4f876a(0x161)][_0x4f876a(0x1aa)](_0x1438be[_0x4f876a(0x19f)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x146),(_0x2ffc86,_0x299767)=>{const _0x512059=_0x5d1455;this[_0x512059(0x161)]&&this[_0x512059(0x161)][_0x512059(0x153)](_0x299767[_0x512059(0x19f)]);});}[_0xbd60ae(0x158)](_0x199a8e=!0x1){const _0x3ca427=_0xbd60ae;this[_0x3ca427(0x161)]&&(this[_0x3ca427(0x161)][_0x3ca427(0x1a8)]||this[_0x3ca427(0x161)][_0x3ca427(0x196)](),this[_0x3ca427(0x161)][_0x3ca427(0x123)](),this[_0x3ca427(0x161)][_0x3ca427(0x16d)](),this[_0x3ca427(0x161)]=void 0x0),_0x199a8e&&this[_0x3ca427(0x17e)][_0x3ca427(0x15d)](),this[_0x3ca427(0x10e)][_0x3ca427(0x190)](),this[_0x3ca427(0x10e)][_0x3ca427(0x159)](),this[_0x3ca427(0x1b1)]=null;const _0x435c8f=this[_0x3ca427(0x10e)][_0x3ca427(0x129)]();_0x435c8f&&_0x435c8f[_0x3ca427(0x137)][_0x3ca427(0x1ba)][_0x3ca427(0x17b)](_0x25d642=>{const _0x55b4ed=_0x3ca427,_0x44b798=_0x435c8f[_0x55b4ed(0x137)][_0x55b4ed(0x1ba)][_0x55b4ed(0x107)][_0x55b4ed(0x155)]();_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x143),_0x44b798),_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x125),_0x44b798);});}[_0xbd60ae(0x195)](_0x336b43){const _0x1ac484=_0xbd60ae,_0x3cf79c=this[_0x1ac484(0x10e)][_0x1ac484(0x129)]();_0x336b43?this[_0x1ac484(0x17e)][_0x1ac484(0x14d)]():this[_0x1ac484(0x17e)][_0x1ac484(0x16c)](),_0x3cf79c&&_0x3cf79c[_0x1ac484(0x137)][_0x1ac484(0x1ba)][_0x1ac484(0x17b)](_0x402697=>{const _0x13f781=_0x1ac484,_0x41e3fe=_0x3cf79c[_0x13f781(0x137)][_0x13f781(0x1ba)][_0x13f781(0x107)][_0x13f781(0x155)]();_0x402697[_0x13f781(0x14a)](_0x13f781(0x143),_0x41e3fe),_0x402697[_0x13f781(0x14a)](_0x13f781(0x125),_0x41e3fe),_0x402697[_0x13f781(0x112)](_0x336b43?_0x13f781(0x143):_0x13f781(0x125),_0x41e3fe);});}[_0xbd60ae(0x138)](_0x132a9a){const _0x3e2822=_0xbd60ae;return _0x132a9a[_0x3e2822(0x10c)](_0x5d07f5=>{const _0x514077=_0x3e2822,_0x4bafcf=_0x514077(0x13a)+_0x5d07f5['id'][_0x514077(0x10b)]()[_0x514077(0x12e)]('-','_'),_0x1a3bfb={..._0x5d07f5,'title':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x14c),_0x5d07f5[_0x514077(0x120)]),'description':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x18f),_0x5d07f5[_0x514077(0x1bc)])};return _0x5d07f5[_0x514077(0x14b)]&&(_0x1a3bfb[_0x514077(0x14b)]=_0x5d07f5[_0x514077(0x14b)][_0x514077(0x10c)](_0xe772a3=>({..._0xe772a3,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x1b7),_0xe772a3[_0x514077(0x12c)]||''),'data':_0xe772a3[_0x514077(0x19a)]?_0xe772a3[_0x514077(0x19a)][_0x514077(0x10c)](_0xd13aad=>({..._0xd13aad,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x183)+_0xd13aad['id'][_0x514077(0x10b)](),_0xd13aad[_0x514077(0x12c)])})):void 0x0}))),_0x1a3bfb;});}[_0xbd60ae(0x176)](_0x58df9c,_0x1d5ab9){const _0x325be7=_0xbd60ae,_0x584a56=this[_0x325be7(0x174)][_0x325be7(0x173)],_0x2cd6a1=_0x3a3218(_0x584a56,_0x58df9c);return _0x2cd6a1===_0x58df9c?_0x1d5ab9:_0x2cd6a1;}[_0xbd60ae(0x180)](_0xc1c3d5){const _0x4b35b2=_0xbd60ae;_0x15ff2d(_0xc1c3d5[_0x4b35b2(0x119)]),_0xc1c3d5[_0x4b35b2(0x119)][_0x4b35b2(0x182)](_0x4b35b2(0x18b))?this[_0x4b35b2(0x17e)][_0x4b35b2(0x11b)]():this[_0x4b35b2(0x17e)][_0x4b35b2(0x1a0)]();}}
|
|
23
|
+
const _0x23070e=_0x2c0c;(function(_0x2f4227,_0x2fccc9){const _0x7d78f2=_0x2c0c,_0x243275=_0x2f4227();while(!![]){try{const _0x40c9f2=parseInt(_0x7d78f2(0xa3))/0x1+parseInt(_0x7d78f2(0x154))/0x2+-parseInt(_0x7d78f2(0x12a))/0x3*(parseInt(_0x7d78f2(0xed))/0x4)+-parseInt(_0x7d78f2(0x100))/0x5+-parseInt(_0x7d78f2(0xe4))/0x6*(-parseInt(_0x7d78f2(0x149))/0x7)+-parseInt(_0x7d78f2(0x115))/0x8+-parseInt(_0x7d78f2(0xbf))/0x9*(-parseInt(_0x7d78f2(0x121))/0xa);if(_0x40c9f2===_0x2fccc9)break;else _0x243275['push'](_0x243275['shift']());}catch(_0x3c08ce){_0x243275['push'](_0x243275['shift']());}}}(_0x2dd0,0x20917));import{ContextPlugin as _0x5c75dc}from'ckeditor5/src/core.js';import{CKEditorError as _0x157d97,logError as _0x2ce275,scrollAncestorsToShowTarget as _0x36ad21,scrollViewportToShowTarget as _0x41c484}from'ckeditor5/src/utils.js';function _0x2dd0(){const _0x49c826=['stopListening','hasModifications','isChangeActive','ai-review-mode-source-check-not-found','getActiveChanges','processedResultsCount','19518Mqcodt','ai-request-aborted','length','getChangeById','abort','changes','ai.reviewMode.translations','clearAllMarkers','reviewCheckResultReady','104137DmmhCD','deactivateChange','isCustom','applyChange','ai-review-mode-check-run-general-error','setActiveStateInResults','getDocumentData','_aiReviewCheckList','restart','_isDiffOn','result','reviewCheckResultChangeStatusUpdated','_changeActivationSource','getRoot','markChangePositionInEditorContent','changeMarkerRestored','contentNew','isPremiumPlugin','reviewCheckResultAdded','ready','find','switchToReadOnly','click','markChangeAsAccepted','currentError','getReviewCheckList','markChangeAsOutdated','custom','2602647xMNocB','getCheckById','config','_aiConnector','documentData','showReviewCheckList','dismissChange','showNoChangesView','AIReviewModeUI','get','addClass','description','getAll','reviewCheckRunUpdated','hover','args','start','ai-review-mode-check-run-failed','ck-ai-review-mode-diff','_aiReviewModeEditing','switchToEdit','acceptAllChanges','aborted','markChangeAsRejected','showActionsWhenResultIsReady','getChangeElement','status','ai-review-mode-models-unable-to-retrieve','leaveReviewMode','prompt','resetActiveStateInResults','ai-review-mode-check-run-chunk-error','changeMarkerBlurred','changeId','_TITLE','removeCheckById','_onReviewModeRunLeave','12RQACZS','changeMarkerRemoved','changeMarkerClick','showChangeBalloon','models','listenTo','panel','_onDiffChange','_OPTIONS_DATA_','8sffmdV','error-chunk','rejectChange','document','sendRating','ck-ai-review-mode-highlights','_translateReviewChecks','setCheckResultTitle','AIConnector','AI_MODEL_DESCRIPTION_','AI_REVIEW_CHECK_','getEditor','init','.ck-ai-review-mode__check-run-result','showCheckRunResult','diffContent','_OPTIONS_LABEL','getMarkerElementForChange','updateDocumentData','843380jPwOaw','model','hideChangeBalloon','abortReviewStream','map','updateChangeState','reviewCheckResultActivated','subTitle','_logError','retryReview','_currentReviewCheckRun','isOfficialPlugin','editing','error-general','showGeneralResultsErrorView','content','checks','message','ai-review-mode-no-current-check-run','reviewCheckResultDeactivated','includes','1290336nYgNmb','domElement','requires','domEvent','toUpperCase','finished','data','loading','hideDiffInBalloon','_getTranslationWithDefault','leaveReviewModeResultList','closest','10dswqbv','addResultChanges','options','title','forceReadyState','isAnyChangeActivated','showDiffInBalloon','viewportOffset','view','112323EnJePp','showChunkErrorView','showCheckRunResults','locale','runReviewCheck','_aiReviewModeUi','removeClass','toggleDiff','getDomRoot','_DESCRIPTION','plugins','markAllChangesAsAccepted','finishReview','params','changeMarkerHovered','AIReviewModeController','replaceAll','showReviewCompletedView','pluginName','emitter','markChangeAsPending','change','AIReviewModeEditing','activateChange','markerElement','setAvailableChecks','acceptChange','translate','source','showGeneralReviewModeErrorView','contentInitial','473095DhnlgU','label','startsWith','unmodified','context'];_0x2dd0=function(){return _0x49c826;};return _0x2dd0();}import{AIConnector as _0x679554}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0xfb60db}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x3a40d0}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1cf83a}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x3e02b5}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x21db68}from'./aireviewcheckdefinitions.js';function _0x2c0c(_0x2d92e0,_0x3e1f40){const _0x2dd0ef=_0x2dd0();return _0x2c0c=function(_0x2c0cba,_0x15af31){_0x2c0cba=_0x2c0cba-0x9d;let _0x2f0942=_0x2dd0ef[_0x2c0cba];return _0x2f0942;},_0x2c0c(_0x2d92e0,_0x3e1f40);}import{getTranslation as _0x294370}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x5c75dc{[_0x23070e(0xc2)];[_0x23070e(0x12f)];[_0x23070e(0xd2)];[_0x23070e(0xaa)];[_0x23070e(0x10a)];[_0x23070e(0xac)]=!0x1;[_0x23070e(0xaf)]=null;static get[_0x23070e(0x117)](){return[_0x679554];}static get[_0x23070e(0x13c)](){const _0x10a563=_0x23070e;return _0x10a563(0x139);}static get[_0x23070e(0x10b)](){return!0x0;}static get[_0x23070e(0xb4)](){return!0x0;}async[_0x23070e(0xf9)](){const _0x24869b=_0x23070e;this[_0x24869b(0xc2)]=this[_0x24869b(0x14d)][_0x24869b(0x134)][_0x24869b(0xc8)](_0x24869b(0xf5)),this[_0x24869b(0x12f)]=this[_0x24869b(0x14d)][_0x24869b(0x134)][_0x24869b(0xc8)](_0x24869b(0xc7)),this[_0x24869b(0xd2)]=this[_0x24869b(0x14d)][_0x24869b(0x134)][_0x24869b(0xc8)](_0x24869b(0x140));const _0x418403=this[_0x24869b(0x14d)][_0x24869b(0xc1)][_0x24869b(0xc8)](_0x24869b(0xa0));if(_0x418403){for(const _0x43c912 of _0x21db68)_0x24869b(0x145)===_0x43c912['id']&&(_0x43c912[_0x24869b(0x123)][0x0][_0x24869b(0x11b)]=_0x418403);}const _0x1dc294=this[_0x24869b(0xf3)](_0x21db68);this[_0x24869b(0xaa)]=new _0xfb60db(_0x1dc294);const _0x5ac362=this[_0x24869b(0xaa)][_0x24869b(0x110)][_0x24869b(0xb7)](_0x20c92b=>_0x24869b(0xbe)===_0x20c92b['id']);if(_0x5ac362)try{const _0x1f64d0=await new _0x3e02b5({'connector':this[_0x24869b(0xc2)]})[_0x24869b(0xcb)]();_0x5ac362[_0x24869b(0xe8)]=_0x1f64d0[_0x24869b(0x104)](_0x24e256=>({..._0x24e256,'description':this[_0x24869b(0x11e)](_0x24869b(0xf6)+_0x24e256['id'][_0x24869b(0x119)](),_0x24e256[_0x24869b(0xca)])}));}catch(_0x2ab218){this[_0x24869b(0xaa)][_0x24869b(0xe2)](_0x24869b(0xbe)),this[_0x24869b(0x108)](new _0x157d97(_0x24869b(0xda),this,{'error':_0x2ab218}));}this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0xbc),()=>{const _0x127a36=_0x24869b;this[_0x127a36(0x12f)][_0x127a36(0x143)](this[_0x127a36(0xaa)][_0x127a36(0x110)]);}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x12e),async(_0x127508,_0x232e33)=>{const _0x3f50e5=_0x24869b,_0x251288=this[_0x3f50e5(0xaa)][_0x3f50e5(0xc0)](_0x232e33['id']);if(_0x251288){this[_0x3f50e5(0xeb)](this[_0x3f50e5(0xac)]),_0x232e33[_0x3f50e5(0xa5)]?this[_0x3f50e5(0x10a)]=new _0x1cf83a(_0x232e33[_0x3f50e5(0xce)][_0x3f50e5(0xdc)],_0x232e33[_0x3f50e5(0xce)][_0x3f50e5(0x101)],this[_0x3f50e5(0xd2)][_0x3f50e5(0xa9)](),_0x251288,this[_0x3f50e5(0xc2)]):this[_0x3f50e5(0x10a)]=new _0x3a40d0(this[_0x3f50e5(0xd2)][_0x3f50e5(0xa9)](),_0x251288,this[_0x3f50e5(0xc2)],_0x232e33[_0x3f50e5(0x137)],_0x232e33[_0x3f50e5(0xce)]),this[_0x3f50e5(0x12f)][_0x3f50e5(0xf4)](this[_0x3f50e5(0x10a)][_0x3f50e5(0x124)],this[_0x3f50e5(0x10a)][_0x3f50e5(0x107)]),this[_0x3f50e5(0x10a)]['on'](_0x3f50e5(0xcc),(_0x3abc2e,_0x390008)=>{const _0x563370=_0x3f50e5;_0x563370(0x11b)===_0x390008[_0x563370(0xd9)]||_0x563370(0x11c)===_0x390008[_0x563370(0xd9)]?(this[_0x563370(0xd2)][_0x563370(0xb8)](),this[_0x563370(0x12f)][_0x563370(0x12c)](_0x390008)):_0x563370(0x11a)===_0x390008[_0x563370(0xd9)]?this[_0x563370(0x12f)][_0x563370(0x13b)]():_0x563370(0xb6)===_0x390008[_0x563370(0xd9)]?this[_0x563370(0x12f)][_0x563370(0xd7)]():_0x563370(0x14c)===_0x390008[_0x563370(0xd9)]?this[_0x563370(0x12f)][_0x563370(0xc6)]():_0x563370(0x10d)===_0x390008[_0x563370(0xd9)]?(this[_0x563370(0x12f)][_0x563370(0x10e)](),this[_0x563370(0x108)](new _0x157d97(_0x563370(0xa7),this,this[_0x563370(0x10a)]?.[_0x563370(0xbb)]))):_0x563370(0xee)===_0x390008[_0x563370(0xd9)]?(this[_0x563370(0x12f)][_0x563370(0x12b)](),this[_0x563370(0x108)](new _0x157d97(_0x563370(0xde),this,this[_0x563370(0x10a)]?.[_0x563370(0xbb)]))):_0x563370(0xd5)===_0x390008[_0x563370(0xd9)]&&(this[_0x563370(0x10a)]&&this[_0x563370(0x10a)][_0x563370(0x153)]>0x0?setTimeout(()=>{const _0x59758e=_0x563370;this[_0x59758e(0x10a)]?.[_0x59758e(0x125)]();},0x0):this[_0x563370(0xe3)](!0x0)),_0x563370(0xb6)!==_0x390008[_0x563370(0xd9)]&&_0x563370(0xee)!==_0x390008[_0x563370(0xd9)]&&_0x563370(0x10d)!==_0x390008[_0x563370(0xd9)]||this[_0x563370(0x10a)]?.[_0x563370(0xf1)]();}),this[_0x3f50e5(0x10a)]['on'](_0x3f50e5(0xb5),(_0x3d08d4,_0x5aafaf)=>{const _0x4d9a72=_0x3f50e5;if(!this[_0x4d9a72(0x10a)])throw new _0x157d97(_0x4d9a72(0x112),this);const _0x47d55e=this[_0x4d9a72(0xd2)][_0x4d9a72(0xfc)](_0x5aafaf[_0x4d9a72(0xad)][_0x4d9a72(0x148)],_0x5aafaf[_0x4d9a72(0xad)][_0x4d9a72(0xb3)]);_0x5aafaf[_0x4d9a72(0x146)][_0x4d9a72(0x122)](_0x5aafaf[_0x4d9a72(0xad)]['id'],_0x47d55e);}),this[_0x3f50e5(0x10a)]['on'](_0x3f50e5(0xa2),(_0x48a7e7,_0xa8f228)=>{const _0x41a410=_0x3f50e5;for(const _0x3b34d of _0xa8f228[_0x41a410(0x9f)])this[_0x41a410(0x12f)][_0x41a410(0xfb)](_0x3b34d);this[_0x41a410(0xd2)][_0x41a410(0xb1)](_0xa8f228[_0x41a410(0x9f)],_0xa8f228[_0x41a410(0x146)][_0x41a410(0xc3)]);}),this[_0x3f50e5(0x10a)]['on'](_0x3f50e5(0xae),(_0x34a5a2,_0x477bc9)=>{const _0x5e73fa=_0x3f50e5;this[_0x5e73fa(0x12f)][_0x5e73fa(0x105)](_0x477bc9[_0x5e73fa(0x13f)]['id'],_0x477bc9[_0x5e73fa(0xd9)]);}),this[_0x3f50e5(0x10a)]['on'](_0x3f50e5(0x106),(_0x55361b,_0x1411a3)=>{const _0x59a418=_0x3f50e5;this[_0x59a418(0x12f)][_0x59a418(0xa8)](_0x1411a3[_0x59a418(0x13f)]['id']);const _0x509335=this[_0x59a418(0xd2)][_0x59a418(0xfe)](_0x1411a3[_0x59a418(0x13f)]['id']);if(!_0x509335)return;if(_0x59a418(0x10f)===this[_0x59a418(0xaf)]){const _0x5f3d42=this[_0x59a418(0x12f)][_0x59a418(0xd8)](_0x1411a3[_0x59a418(0x13f)]['id']);_0x5f3d42&&_0x36ad21(_0x5f3d42[_0x59a418(0x120)](_0x59a418(0xfa))||_0x5f3d42);}else{if(_0x59a418(0xea)===this[_0x59a418(0xaf)]){const _0x2d4d24={'target':_0x509335[_0x59a418(0x116)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x41c484(_0x2d4d24);}}const _0x5995b9=this[_0x59a418(0xd2)][_0x59a418(0xf8)]();this[_0x59a418(0x12f)][_0x59a418(0xe7)](_0x1411a3[_0x59a418(0x13f)],_0x509335[_0x59a418(0x116)],void 0x0,_0x59a418(0xb9),_0x5995b9?.[_0x59a418(0x10c)]?.[_0x59a418(0x129)]?.[_0x59a418(0x132)](),_0x5995b9?.['ui']?.[_0x59a418(0x128)]);}),this[_0x3f50e5(0x10a)]['on'](_0x3f50e5(0x113),()=>{const _0x452074=_0x3f50e5;this[_0x452074(0x12f)][_0x452074(0xdd)](),this[_0x452074(0x12f)][_0x452074(0x102)]();});try{await this[_0x3f50e5(0x10a)][_0x3f50e5(0xcf)]();}catch(_0x74e567){_0x74e567 instanceof Error&&_0x74e567[_0x3f50e5(0x111)][_0x3f50e5(0x114)](_0x3f50e5(0x155))||(_0x74e567 instanceof _0x157d97?this[_0x3f50e5(0x108)](_0x74e567):this[_0x3f50e5(0x108)](new _0x157d97(_0x3f50e5(0xd0),this,{'error':_0x74e567})));}}else this[_0x3f50e5(0x108)](new _0x157d97(_0x3f50e5(0x151),this,{'checkId':_0x232e33['id']}));}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0xdb),()=>{const _0x21f796=_0x24869b;this[_0x21f796(0xe3)]();}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x11f),()=>{const _0xc12c37=_0x24869b;this[_0xc12c37(0xe3)](!0x0);}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x103),()=>{const _0x3dfb23=_0x24869b;this[_0x3dfb23(0x10a)]&&this[_0x3dfb23(0x10a)][_0x3dfb23(0x9e)]();}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x136),()=>{const _0x2cd891=_0x24869b;this[_0x2cd891(0xe3)](!0x0);}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0xd4),()=>{const _0x474ae5=_0x24869b;if(!this[_0x474ae5(0x10a)])return;const _0x297bf0=this[_0x474ae5(0x10a)][_0x474ae5(0x152)]();_0x297bf0[_0x474ae5(0x156)]&&(this[_0x474ae5(0xd2)][_0x474ae5(0xa6)](_0x297bf0[_0x474ae5(0x104)](_0x5725ad=>_0x5725ad['id'])),this[_0x474ae5(0x10a)][_0x474ae5(0x135)](),this[_0x474ae5(0x10a)][_0x474ae5(0xf1)]());}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x144),(_0x44fca5,_0x44a623)=>{const _0xb75f7=_0x24869b;this[_0xb75f7(0x10a)]&&this[_0xb75f7(0x10a)][_0xb75f7(0x150)](_0x44a623['id'])&&(this[_0xb75f7(0xd2)][_0xb75f7(0xa6)]([_0x44a623['id']]),this[_0xb75f7(0x10a)][_0xb75f7(0xba)](_0x44a623['id']),this[_0xb75f7(0x12f)][_0xb75f7(0x102)](),this[_0xb75f7(0x10a)][_0xb75f7(0xf1)](_0x44a623['id']));}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0xc5),(_0x3a0393,_0x498499)=>{const _0x240578=_0x24869b;this[_0x240578(0x10a)]&&this[_0x240578(0x10a)][_0x240578(0x150)](_0x498499['id'])&&(this[_0x240578(0xd2)][_0x240578(0xef)](_0x498499['id']),this[_0x240578(0x10a)][_0x240578(0xd6)](_0x498499['id']),this[_0x240578(0x12f)][_0x240578(0x102)](),this[_0x240578(0x10a)][_0x240578(0xf1)](_0x498499['id']));}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x131),(_0x501c00,_0x44cebc)=>{const _0x1fe1ff=_0x24869b;this[_0x1fe1ff(0xac)]=_0x44cebc['on'],this[_0x1fe1ff(0xeb)](this[_0x1fe1ff(0xac)]);}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x109),async()=>{const _0x2521ac=_0x24869b;this[_0x2521ac(0x10a)]&&(this[_0x2521ac(0xd2)][_0x2521ac(0xa1)](),this[_0x2521ac(0x10a)][_0x2521ac(0xff)](this[_0x2521ac(0xd2)][_0x2521ac(0xa9)]()),await this[_0x2521ac(0x10a)][_0x2521ac(0xab)]());}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0x141),(_0xdc69ad,_0x49a151)=>{const _0x2eaebc=_0x24869b;this[_0x2eaebc(0x10a)]&&(this[_0x2eaebc(0xaf)]=_0x2eaebc(0xea),this[_0x2eaebc(0x10a)][_0x2eaebc(0x141)](_0x49a151['id']));}),this[_0x24869b(0xe9)](this[_0x24869b(0x12f)],_0x24869b(0xa4),()=>{const _0x11c434=_0x24869b;this[_0x11c434(0x10a)]&&this[_0x11c434(0x10a)][_0x11c434(0xa4)]();}),this[_0x24869b(0xe9)](this[_0x24869b(0xd2)][_0x24869b(0x13d)],_0x24869b(0xe6),(_0x171061,_0x4a601b)=>{const _0x4e082a=_0x24869b;if(!this[_0x4e082a(0x10a)])return;this[_0x4e082a(0xaf)]=_0x4e082a(0x10f),this[_0x4e082a(0x10a)][_0x4e082a(0x141)](_0x4a601b[_0x4e082a(0xe0)]);const _0x1868bd=this[_0x4e082a(0x10a)][_0x4e082a(0x9d)](_0x4a601b[_0x4e082a(0xe0)]);if(!_0x1868bd)return;const _0x497856=this[_0x4e082a(0xd2)][_0x4e082a(0xf8)]();this[_0x4e082a(0x12f)][_0x4e082a(0xe7)](_0x1868bd,_0x4a601b[_0x4e082a(0x142)],_0x4a601b[_0x4e082a(0x118)],_0x4e082a(0xb9),_0x497856?.[_0x4e082a(0x10c)]?.[_0x4e082a(0x129)]?.[_0x4e082a(0x132)](),_0x497856?.['ui']?.[_0x4e082a(0x128)]);}),this[_0x24869b(0xe9)](this[_0x24869b(0xd2)][_0x24869b(0x13d)],_0x24869b(0x138),(_0x5bcfca,_0x416d45)=>{const _0x28497e=_0x24869b;if(!this[_0x28497e(0x10a)])return;if(this[_0x28497e(0x10a)][_0x28497e(0x126)]())return;const _0x1f05c2=this[_0x28497e(0x10a)][_0x28497e(0x9d)](_0x416d45[_0x28497e(0xe0)]);if(!_0x1f05c2)return;const _0x8d051d=this[_0x28497e(0xd2)][_0x28497e(0xf8)]();this[_0x28497e(0x12f)][_0x28497e(0xe7)](_0x1f05c2,_0x416d45[_0x28497e(0x142)],_0x416d45[_0x28497e(0x118)],_0x28497e(0xcd),_0x8d051d?.[_0x28497e(0x10c)]?.[_0x28497e(0x129)]?.[_0x28497e(0x132)](),_0x8d051d?.['ui']?.[_0x28497e(0x128)]);}),this[_0x24869b(0xe9)](this[_0x24869b(0xd2)][_0x24869b(0x13d)],_0x24869b(0xdf),()=>{const _0x7b2fca=_0x24869b;if(!this[_0x7b2fca(0x10a)])return;this[_0x7b2fca(0x10a)][_0x7b2fca(0x126)]()||this[_0x7b2fca(0x12f)][_0x7b2fca(0x102)]();}),this[_0x24869b(0xe9)](this[_0x24869b(0xd2)][_0x24869b(0x13d)],_0x24869b(0xe5),(_0x37a6db,_0x425a99)=>{const _0x3b57ae=_0x24869b;this[_0x3b57ae(0x10a)]&&this[_0x3b57ae(0x10a)][_0x3b57ae(0xbd)](_0x425a99[_0x3b57ae(0xe0)]);}),this[_0x24869b(0xe9)](this[_0x24869b(0xd2)][_0x24869b(0x13d)],_0x24869b(0xb2),(_0x5918cc,_0x2a4742)=>{const _0x441d76=_0x24869b;this[_0x441d76(0x10a)]&&this[_0x441d76(0x10a)][_0x441d76(0x13e)](_0x2a4742[_0x441d76(0xe0)]);});}[_0x23070e(0xe3)](_0xbada5e=!0x1){const _0x2b66a6=_0x23070e;this[_0x2b66a6(0x10a)]&&(this[_0x2b66a6(0x10a)][_0x2b66a6(0x14f)]||this[_0x2b66a6(0x10a)][_0x2b66a6(0xf1)](),this[_0x2b66a6(0x10a)][_0x2b66a6(0x14e)](),this[_0x2b66a6(0x10a)][_0x2b66a6(0x9e)](),this[_0x2b66a6(0x10a)]=void 0x0),_0xbada5e&&this[_0x2b66a6(0x12f)][_0x2b66a6(0xc4)](),this[_0x2b66a6(0xd2)][_0x2b66a6(0xa1)](),this[_0x2b66a6(0xd2)][_0x2b66a6(0xd3)](),this[_0x2b66a6(0xaf)]=null;const _0xa5c1b7=this[_0x2b66a6(0xd2)][_0x2b66a6(0xf8)]();_0xa5c1b7&&_0xa5c1b7[_0x2b66a6(0x10c)][_0x2b66a6(0x129)][_0x2b66a6(0x13f)](_0x41d034=>{const _0x780bf9=_0x2b66a6,_0x45e96f=_0xa5c1b7[_0x780bf9(0x10c)][_0x780bf9(0x129)][_0x780bf9(0xf0)][_0x780bf9(0xb0)]();_0x41d034[_0x780bf9(0x130)](_0x780bf9(0xd1),_0x45e96f),_0x41d034[_0x780bf9(0x130)](_0x780bf9(0xf2),_0x45e96f);});}[_0x23070e(0xeb)](_0x5d6f17){const _0x47ac5a=_0x23070e,_0xe6938b=this[_0x47ac5a(0xd2)][_0x47ac5a(0xf8)]();_0x5d6f17?this[_0x47ac5a(0x12f)][_0x47ac5a(0x11d)]():this[_0x47ac5a(0x12f)][_0x47ac5a(0x127)](),_0xe6938b&&_0xe6938b[_0x47ac5a(0x10c)][_0x47ac5a(0x129)][_0x47ac5a(0x13f)](_0x122ce3=>{const _0x48035a=_0x47ac5a,_0x1f7b0b=_0xe6938b[_0x48035a(0x10c)][_0x48035a(0x129)][_0x48035a(0xf0)][_0x48035a(0xb0)]();_0x122ce3[_0x48035a(0x130)](_0x48035a(0xd1),_0x1f7b0b),_0x122ce3[_0x48035a(0x130)](_0x48035a(0xf2),_0x1f7b0b),_0x122ce3[_0x48035a(0xc9)](_0x5d6f17?_0x48035a(0xd1):_0x48035a(0xf2),_0x1f7b0b);});}[_0x23070e(0xf3)](_0x425cfb){const _0xad7df=_0x23070e;return _0x425cfb[_0xad7df(0x104)](_0x420c66=>{const _0x4c4402=_0xad7df,_0x366fc1=_0x4c4402(0xf7)+_0x420c66['id'][_0x4c4402(0x119)]()[_0x4c4402(0x13a)]('-','_'),_0x2f47c8={..._0x420c66,'title':this[_0x4c4402(0x11e)](_0x366fc1+_0x4c4402(0xe1),_0x420c66[_0x4c4402(0x124)]),'description':this[_0x4c4402(0x11e)](_0x366fc1+_0x4c4402(0x133),_0x420c66[_0x4c4402(0xca)])};return _0x420c66[_0x4c4402(0x123)]&&(_0x2f47c8[_0x4c4402(0x123)]=_0x420c66[_0x4c4402(0x123)][_0x4c4402(0x104)](_0x1db9e3=>({..._0x1db9e3,'label':this[_0x4c4402(0x11e)](_0x366fc1+_0x4c4402(0xfd),_0x1db9e3[_0x4c4402(0x14a)]||''),'data':_0x1db9e3[_0x4c4402(0x11b)]?_0x1db9e3[_0x4c4402(0x11b)][_0x4c4402(0x104)](_0x1dc808=>({..._0x1dc808,'label':this[_0x4c4402(0x11e)](_0x366fc1+_0x4c4402(0xec)+_0x1dc808['id'][_0x4c4402(0x119)](),_0x1dc808[_0x4c4402(0x14a)])})):void 0x0}))),_0x2f47c8;});}[_0x23070e(0x11e)](_0x190f19,_0x182e0b){const _0x1c5f21=_0x23070e,_0x558851=this[_0x1c5f21(0x14d)][_0x1c5f21(0x12d)],_0x460e42=_0x294370(_0x558851,_0x190f19);return _0x460e42===_0x190f19?_0x182e0b:_0x460e42;}[_0x23070e(0x108)](_0xfc727){const _0x3020e5=_0x23070e;_0x2ce275(_0xfc727[_0x3020e5(0x111)]),_0xfc727[_0x3020e5(0x111)][_0x3020e5(0x14b)](_0x3020e5(0xda))?this[_0x3020e5(0x12f)][_0x3020e5(0x147)]():this[_0x3020e5(0x12f)][_0x3020e5(0x10e)]();}}
|