@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +16 -16
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +21 -14
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x45e7(_0x1ce795,_0x525a94){const _0x5c86ef=_0x5c86();return _0x45e7=function(_0x45e71b,_0x4ce919){_0x45e71b=_0x45e71b-0x157;let _0x2d6c3a=_0x5c86ef[_0x45e71b];return _0x2d6c3a;},_0x45e7(_0x1ce795,_0x525a94);}const _0x884291=_0x45e7;(function(_0xa0344c,_0x458ab1){const _0x5b501e=_0x45e7,_0x2152d3=_0xa0344c();while(!![]){try{const _0x466528=parseInt(_0x5b501e(0x17b))/0x1+parseInt(_0x5b501e(0x157))/0x2*(parseInt(_0x5b501e(0x159))/0x3)+-parseInt(_0x5b501e(0x16e))/0x4*(-parseInt(_0x5b501e(0x178))/0x5)+parseInt(_0x5b501e(0x173))/0x6+-parseInt(_0x5b501e(0x162))/0x7+parseInt(_0x5b501e(0x17a))/0x8*(-parseInt(_0x5b501e(0x177))/0x9)+-parseInt(_0x5b501e(0x16d))/0xa;if(_0x466528===_0x458ab1)break;else _0x2152d3['push'](_0x2152d3['shift']());}catch(_0x536f30){_0x2152d3['push'](_0x2152d3['shift']());}}}(_0x5c86,0x5a0a6));import{View as _0x5c54ba,ViewCollection as _0x43f056}from'ckeditor5/src/ui.js';import{uid as _0x7c2956}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x156022}from'./aichatcontextresourceslistview.js';function _0x5c86(){const _0x3cd6a2=['1965404czfIEA','highlightText','_resourcesListView','_searchSection','bindTemplate','setTemplate','delegate','getQuery','isLoading','useDefaultFiltering','has','2393650smwErQ','4bxrfTc','extendTemplate','_createResourcesListView','length','_skeletonLoader','3001590RUmtJH','ck\x20ck-search','set','_searchView','1599237vyVrKd','209795fLyGtx','loadResources','32Xlmeab','515342MNLoDi','search','updateResourceState','ck-ai-chat-resources','children','_source','addResourceToContext','fire','div','ck-hidden','_createSearchView','locale','_createSearchSection','render','2Ylxavu','searchInputVisibleFrom','1626447xbsRkr','setResources','source','_latestLoadResourcesUid','aiChatResources','add','_createSkeletonView','_searchInputVisibleFrom','loadSourceResources'];_0x5c86=function(){return _0x3cd6a2;};return _0x5c86();}import{AIChatContextResourcesSearchInputView as _0x56c4a4}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0xf31ea4,SKELETON_DEFINITIONS as _0x12ffdf}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x5c54ba{[_0x884291(0x176)];[_0x884291(0x165)];[_0x884291(0x160)];[_0x884291(0x164)];[_0x884291(0x172)];[_0x884291(0x180)];[_0x884291(0x17f)];[_0x884291(0x15c)]=null;constructor(_0x25dbd4,_0x11887b){const _0x197e4a=_0x884291;super(_0x25dbd4),this[_0x197e4a(0x180)]=_0x11887b[_0x197e4a(0x15b)],this[_0x197e4a(0x160)]=_0x11887b[_0x197e4a(0x158)]??0x7,this[_0x197e4a(0x175)](_0x197e4a(0x16a),!0x0),this[_0x197e4a(0x176)]=this[_0x197e4a(0x185)](),this[_0x197e4a(0x165)]=this[_0x197e4a(0x187)](),this[_0x197e4a(0x164)]=this[_0x197e4a(0x170)](),this[_0x197e4a(0x172)]=this[_0x197e4a(0x15f)](),this[_0x197e4a(0x17f)]=new _0x43f056([this[_0x197e4a(0x172)],this[_0x197e4a(0x164)]]),this[_0x197e4a(0x167)]({'tag':_0x197e4a(0x183),'attributes':{'class':_0x197e4a(0x17e)},'children':this[_0x197e4a(0x17f)]});}[_0x884291(0x185)](){const _0x5f1105=_0x884291;return new _0x56c4a4(this[_0x5f1105(0x186)]);}[_0x884291(0x187)](){const _0x3100e1=_0x884291,_0x559501=new _0x5c54ba(this[_0x3100e1(0x186)]);return _0x559501[_0x3100e1(0x167)]({'tag':_0x3100e1(0x183),'attributes':{'class':_0x3100e1(0x174)},'children':[this[_0x3100e1(0x176)]]}),this[_0x3100e1(0x176)]['on'](_0x3100e1(0x17c),(_0x57cfa1,_0x1439c9)=>{const _0x4b27be=_0x3100e1;this[_0x4b27be(0x179)](_0x1439c9),this[_0x4b27be(0x180)][_0x4b27be(0x16b)]&&this[_0x4b27be(0x164)][_0x4b27be(0x163)](_0x1439c9);}),_0x559501;}[_0x884291(0x170)](){const _0x1f6b5f=_0x884291,_0x361bd5=new _0x156022(this[_0x1f6b5f(0x186)],this[_0x1f6b5f(0x180)]);return _0x361bd5[_0x1f6b5f(0x168)](_0x1f6b5f(0x181))['to'](this),_0x361bd5[_0x1f6b5f(0x16f)]({'attributes':{'class':this[_0x1f6b5f(0x166)]['if'](_0x1f6b5f(0x16a),_0x1f6b5f(0x184))}}),_0x361bd5;}[_0x884291(0x15f)](){const _0x5654b5=_0x884291,_0x19ea74=new _0xf31ea4(this[_0x5654b5(0x186)],_0x12ffdf[_0x5654b5(0x15d)]);return _0x19ea74[_0x5654b5(0x16f)]({'attributes':{'class':[this[_0x5654b5(0x166)]['if'](_0x5654b5(0x16a),_0x5654b5(0x184),_0x400a14=>!_0x400a14)]}}),_0x19ea74;}[_0x884291(0x188)](){const _0xfc1209=_0x884291;super[_0xfc1209(0x188)](),this[_0xfc1209(0x179)]('');}[_0x884291(0x179)](_0x296c01){const _0x364685=_0x884291,_0x1fb03b=_0x7c2956();this[_0x364685(0x15c)]=_0x1fb03b,this[_0x364685(0x182)](_0x364685(0x161),{'sourceId':this[_0x364685(0x180)]['id'],'query':_0x296c01,'uid':_0x1fb03b}),this[_0x364685(0x16a)]=!0x0;}[_0x884291(0x15a)](_0x33cb1a,_0x3914cc){const _0x1ff8cc=_0x884291;if(_0x3914cc&&_0x3914cc!==this[_0x1ff8cc(0x15c)])return;const _0x1124ca=this[_0x1ff8cc(0x180)][_0x1ff8cc(0x16b)]?this[_0x1ff8cc(0x176)][_0x1ff8cc(0x169)]():'';this[_0x1ff8cc(0x164)][_0x1ff8cc(0x15a)](_0x33cb1a,_0x1124ca),_0x33cb1a[_0x1ff8cc(0x171)]>=this[_0x1ff8cc(0x160)]&&!this[_0x1ff8cc(0x17f)][_0x1ff8cc(0x16c)](this[_0x1ff8cc(0x165)])&&this[_0x1ff8cc(0x17f)][_0x1ff8cc(0x15e)](this[_0x1ff8cc(0x165)],0x0),requestAnimationFrame(()=>{const _0x496018=_0x1ff8cc;this[_0x496018(0x16a)]=!0x1;});}[_0x884291(0x17d)](_0x369b79,_0x33f36f){const _0x58b388=_0x884291;this[_0x58b388(0x164)][_0x58b388(0x17d)](_0x369b79,_0x33f36f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdbcf73=_0x208d;function _0x208d(_0x2644eb,_0x4f1b34){const _0x61ffde=_0x61ff();return _0x208d=function(_0x208d05,_0x949788){_0x208d05=_0x208d05-0xc1;let _0x405147=_0x61ffde[_0x208d05];return _0x405147;},_0x208d(_0x2644eb,_0x4f1b34);}(function(_0x2d68f3,_0x3e8f4e){const _0x4393aa=_0x208d,_0x1c5e23=_0x2d68f3();while(!![]){try{const _0x344091=-parseInt(_0x4393aa(0xca))/0x1+-parseInt(_0x4393aa(0xd1))/0x2+parseInt(_0x4393aa(0xc5))/0x3+-parseInt(_0x4393aa(0xe8))/0x4+-parseInt(_0x4393aa(0xde))/0x5+parseInt(_0x4393aa(0xc6))/0x6*(parseInt(_0x4393aa(0xdb))/0x7)+parseInt(_0x4393aa(0xe3))/0x8;if(_0x344091===_0x3e8f4e)break;else _0x1c5e23['push'](_0x1c5e23['shift']());}catch(_0x24113b){_0x1c5e23['push'](_0x1c5e23['shift']());}}}(_0x61ff,0x5e584));import{HighlightedTextView as _0x428d00,IconView as _0x1a309a,ListItemView as _0x1a852a}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x5252cb}from'es-toolkit/compat';import{AIContextItemType as _0x4adf98}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0xb59cf0,IconCheck as _0x39faf1,IconDocument as _0x5157fa,IconDocumentOutline as _0x19ce33,IconLink as _0x2a025e}from'@ckeditor/ckeditor5-icons';const zr=_0xdbcf73(0xd9),Jr=_0xdbcf73(0xe5),Kr=_0xdbcf73(0xce),Mr=_0xdbcf73(0xe1);export class AIChatResourceListItemView extends _0x1a852a{[_0xdbcf73(0xea)];[_0xdbcf73(0xe7)];[_0xdbcf73(0xc8)];constructor(_0x4692db,_0x1f027e){const _0x35d678=_0xdbcf73;super(_0x4692db),this[_0x35d678(0xea)]=_0x1f027e,this[_0x35d678(0xe4)](_0x35d678(0xdd),!!_0x1f027e[_0x35d678(0xdd)]),this[_0x35d678(0xe7)]=this[_0x35d678(0xc3)](),this[_0x35d678(0xc8)]=this[_0x35d678(0xd3)](),this[_0x35d678(0xd0)]();}[_0xdbcf73(0xd5)](){const _0x5cf6bd=_0xdbcf73;super[_0x5cf6bd(0xd5)]();}[_0xdbcf73(0xc2)](_0x5828b5){const _0x18c904=_0xdbcf73;if(_0x5828b5[_0x18c904(0xdd)])return _0x39faf1;switch(_0x5828b5[_0x18c904(0xe2)]){case _0x4adf98[_0x18c904(0xe9)]:return _0x5157fa;case _0x4adf98[_0x18c904(0xdf)]:return _0x2a025e;case _0x4adf98[_0x18c904(0xcc)]:case _0x4adf98[_0x18c904(0xd2)]:return _0xb59cf0;default:return _0x19ce33;}}[_0xdbcf73(0xc7)](_0x2a1b06){const _0x3d2e27=_0xdbcf73;if(!_0x2a1b06||''===_0x2a1b06[_0x3d2e27(0xd4)]())return void this[_0x3d2e27(0xe7)][_0x3d2e27(0xc7)](null);const _0x1c12cb=new RegExp(_0x5252cb(_0x2a1b06),'gi');this[_0x3d2e27(0xe7)][_0x3d2e27(0xc7)](_0x1c12cb);}[_0xdbcf73(0xc4)](_0x514379){const _0x5c2444=_0xdbcf73;this[_0x5c2444(0xea)][_0x5c2444(0xdd)]=_0x514379,this[_0x5c2444(0xdd)]=_0x514379,this[_0x5c2444(0xd8)]();}[_0xdbcf73(0xc3)](){const _0x2326d9=_0xdbcf73,_0x35a449=new _0x428d00();return _0x35a449[_0x2326d9(0xcd)]=this[_0x2326d9(0xea)][_0x2326d9(0xd7)],_0x35a449[_0x2326d9(0xcb)]({'tag':_0x2326d9(0xcf),'attributes':{'class':[Kr]}}),_0x35a449;}[_0xdbcf73(0xd3)](){const _0x1ad13d=_0xdbcf73,_0x4119fb=new _0x1a309a();return _0x4119fb[_0x1ad13d(0xe6)]=this[_0x1ad13d(0xc2)](this[_0x1ad13d(0xea)]),_0x4119fb;}[_0xdbcf73(0xd0)](){const _0x44ec83=_0xdbcf73,_0x2fd86e=this[_0x44ec83(0xd6)];this[_0x44ec83(0xc9)]({'tag':_0x44ec83(0xc1),'attributes':{'class':[zr,_0x2fd86e['if'](_0x44ec83(0xdc),_0x44ec83(0xda),_0x3eaefa=>!_0x3eaefa),_0x2fd86e['if'](_0x44ec83(0xdd),Jr)]},'children':[{'tag':_0x44ec83(0xc1),'attributes':{'class':[Mr]},'children':[this[_0x44ec83(0xc8)]]},this[_0x44ec83(0xe7)]],'on':{'click':_0x2fd86e['to'](_0x44ec83(0xe0))}});}[_0xdbcf73(0xd8)](){const _0x3627e8=_0xdbcf73;this[_0x3627e8(0xc8)][_0x3627e8(0xe6)]=this[_0x3627e8(0xc2)](this[_0x3627e8(0xea)]);}}function _0x61ff(){const _0x49a044=['execute','ck-ai-chat-resources__item__icon','type','6147272XdZYab','set','ck-ai-chat-resources__item--in-context','content','_titleView','1234692lLHUOc','DOCUMENT','resource','div','getResourceIcon','_createTitleView','updateResourceState','789231LlRfWX','1504530GBDfUr','highlightText','_iconView','setTemplate','474743cPxuVs','extendTemplate','FILE','text','ck-ai-chat-resources__item-title','span','_setupTemplate','748902nOJuAL','TEXT','_createIconView','trim','render','bindTemplate','label','_updateIcon','ck-ai-chat-resources__item','ck-hidden','21DgCkxJ','isVisible','isInContext','1197240izIQWZ','URL'];_0x61ff=function(){return _0x49a044;};return _0x61ff();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3f9884=_0x1ff5;function _0x444f(){const _0x17d2ae=['_sourceResourceBalloons','getTargetElement','get','values','_config','label','onLoadSourceResources','_createBalloonHeader','475704IBnIpF','_locale','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','7McRxkr','extendTemplate','closeSourceResourceBalloon','destroy','_createBalloonResourcesView','updateResourceState','onResourceSelected','1034406DTqeZB','onBalloonClosed','searchInputVisibleFrom','6361952bvFIym','onBackToContext','resource','ck-ai-chat-context-controls__source-balloon-panel','_setupSingleResourceBalloonClickOutsideHandler','setResources','9043750WDCppB','pin','_bodyCollection','execute','_createBackButton','1449981HyTOod','showSourceResourcesBalloon','36VZaVXd','source','_getResourcesViewFromBalloon','addResourceToContext','isVisible','4086255lgyhEV','change:isLoading','add','_createSourceResourceBalloonPanel','content','isAnyResourceBalloonVisible','children','hide','show','element','_addSourceResourceContent','once','getLimiterElement','clear','loadSourceResources','32ELuyPw','ck-button-icon\x20ck-button-back','19119hHvGrn','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','populateSourceResourceBalloon','delete','set'];_0x444f=function(){return _0x17d2ae;};return _0x444f();}(function(_0x4fd673,_0x4011fa){const _0x3b6c8a=_0x1ff5,_0x9d4256=_0x4fd673();while(!![]){try{const _0x14394f=parseInt(_0x3b6c8a(0xed))/0x1+-parseInt(_0x3b6c8a(0xef))/0x2*(parseInt(_0x3b6c8a(0xc8))/0x3)+parseInt(_0x3b6c8a(0xe2))/0x4+-parseInt(_0x3b6c8a(0xb7))/0x5+-parseInt(_0x3b6c8a(0xd5))/0x6*(-parseInt(_0x3b6c8a(0xd8))/0x7)+-parseInt(_0x3b6c8a(0xc6))/0x8*(parseInt(_0x3b6c8a(0xdf))/0x9)+-parseInt(_0x3b6c8a(0xe8))/0xa;if(_0x14394f===_0x4011fa)break;else _0x9d4256['push'](_0x9d4256['shift']());}catch(_0x459534){_0x9d4256['push'](_0x9d4256['shift']());}}}(_0x444f,0xc917d));import{BalloonPanelView as _0x1047f5,ButtonView as _0x4debf7,clickOutsideHandler as _0x35934d,FormHeaderView as _0x10815b}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x525938}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3811b4}from'../../../../aicore/utils/common-translations.js';function _0x1ff5(_0x32e755,_0x2a7f4f){const _0x444f1d=_0x444f();return _0x1ff5=function(_0x1ff583,_0x36fab3){_0x1ff583=_0x1ff583-0xb3;let _0x1960c6=_0x444f1d[_0x1ff583];return _0x1960c6;},_0x1ff5(_0x32e755,_0x2a7f4f);}import{AIChatContextResourcesView as _0xf20241}from'./aichatcontextresourcesview.js';const lc=_0x3f9884(0xe5),Bc=_0x3f9884(0xc7),_c=_0x3f9884(0xd7);export class AIChatResourcesBalloonView{[_0x3f9884(0xcd)]=new Map();[_0x3f9884(0xea)];[_0x3f9884(0xd6)];[_0x3f9884(0xd1)];constructor(_0x41cc9a,_0x59dd31,_0xef623a){const _0x44aace=_0x3f9884;this[_0x44aace(0xd6)]=_0x41cc9a,this[_0x44aace(0xea)]=_0x59dd31,this[_0x44aace(0xd1)]=_0xef623a;}[_0x3f9884(0xee)]({source:_0x2b3077,withBackButton:_0x39e071}){const _0x151bed=_0x3f9884;let _0x5d67ba=this[_0x151bed(0xcd)][_0x151bed(0xcf)](_0x2b3077['id']);_0x5d67ba||(_0x5d67ba=this[_0x151bed(0xba)](),this[_0x151bed(0xcd)][_0x151bed(0xcc)](_0x2b3077['id'],_0x5d67ba),this[_0x151bed(0xe6)](_0x5d67ba)),this[_0x151bed(0xc1)]({'balloonPanel':_0x5d67ba,'source':_0x2b3077,'withBackButton':_0x39e071}),_0x5d67ba[_0x151bed(0xbf)]();const _0xaf4b76=this[_0x151bed(0xd1)][_0x151bed(0xce)]();_0xaf4b76&&_0x5d67ba[_0x151bed(0xe9)]({'target':_0xaf4b76,'limiter':this[_0x151bed(0xd1)][_0x151bed(0xc3)]()});}[_0x3f9884(0xca)](_0x24ee08,_0x54c56b,_0x128ea1){const _0x340ea9=_0x3f9884,_0x2fe7c5=this[_0x340ea9(0xcd)][_0x340ea9(0xcf)](_0x24ee08);if(!_0x2fe7c5)return;const _0x5ea0ff=this[_0x340ea9(0xb4)](_0x2fe7c5);_0x5ea0ff&&(_0x5ea0ff[_0x340ea9(0xe7)](_0x54c56b,_0x128ea1),_0x5ea0ff[_0x340ea9(0xc2)](_0x340ea9(0xb8),()=>{const _0x175634=_0x340ea9;_0x2fe7c5[_0x175634(0xe9)]({'target':this[_0x175634(0xd1)][_0x175634(0xce)](),'limiter':this[_0x175634(0xd1)][_0x175634(0xc3)]()});}));}[_0x3f9884(0xda)](_0x1bb34f){const _0x327de4=_0x3f9884,_0x3d3c9f=this[_0x327de4(0xcd)][_0x327de4(0xcf)](_0x1bb34f);_0x3d3c9f&&requestAnimationFrame(()=>{const _0x9a4ddd=_0x327de4;_0x3d3c9f[_0x9a4ddd(0xbe)](),this[_0x9a4ddd(0xcd)][_0x9a4ddd(0xcb)](_0x1bb34f),this[_0x9a4ddd(0xd1)][_0x9a4ddd(0xe0)]();});}[_0x3f9884(0xbc)](){const _0x280c4b=_0x3f9884;for(const _0x1e66b3 of this[_0x280c4b(0xcd)][_0x280c4b(0xd0)]())if(_0x1e66b3[_0x280c4b(0xb6)])return!0x0;return!0x1;}[_0x3f9884(0xdd)](_0x2e19ba,_0x2ae047,_0x58f80f){const _0x491b6b=_0x3f9884,_0x1cb4c2=this[_0x491b6b(0xcd)][_0x491b6b(0xcf)](_0x2e19ba);if(!_0x1cb4c2||!_0x1cb4c2[_0x491b6b(0xb6)])return;const _0x207abc=this[_0x491b6b(0xd1)][_0x491b6b(0xce)]();if(!_0x207abc)return;_0x1cb4c2[_0x491b6b(0xe9)]({'target':_0x207abc,'limiter':this[_0x491b6b(0xd1)][_0x491b6b(0xc3)]()});const _0x327538=this[_0x491b6b(0xb4)](_0x1cb4c2);_0x327538&&_0x327538[_0x491b6b(0xdd)](_0x2ae047,_0x58f80f);}[_0x3f9884(0xdb)](){const _0x52a24e=_0x3f9884;for(const _0x4ba3c9 of this[_0x52a24e(0xcd)][_0x52a24e(0xd0)]())_0x4ba3c9[_0x52a24e(0xdb)]();this[_0x52a24e(0xcd)][_0x52a24e(0xc4)]();}[_0x3f9884(0xba)](){const _0x16bc20=_0x3f9884,_0x43c0a5=new _0x1047f5(this[_0x16bc20(0xd6)]);return _0x43c0a5[_0x16bc20(0xd9)]({'attributes':{'class':lc}}),this[_0x16bc20(0xea)][_0x16bc20(0xb9)](_0x43c0a5),_0x43c0a5;}[_0x3f9884(0xc1)]({balloonPanel:_0xa0353,source:_0x2a2598,withBackButton:_0x521d7d}){const _0x13ebf2=_0x3f9884;_0xa0353[_0x13ebf2(0xbb)][_0x13ebf2(0xc4)]();const _0x27918a=this[_0x13ebf2(0xd4)]({'balloonPanel':_0xa0353,'source':_0x2a2598,'withBackButton':_0x521d7d});_0xa0353[_0x13ebf2(0xbb)][_0x13ebf2(0xb9)](_0x27918a);const _0x40351b=this[_0x13ebf2(0xdc)](_0x2a2598);_0xa0353[_0x13ebf2(0xbb)][_0x13ebf2(0xb9)](_0x40351b);}[_0x3f9884(0xd4)]({balloonPanel:_0xd8f252,source:_0x512090,withBackButton:_0x1dc303}){const _0x543c29=_0x3f9884,_0x37fbb8=new _0x10815b(this[_0x543c29(0xd6)],{'label':_0x512090[_0x543c29(0xd2)],'class':_c});return _0x1dc303&&_0x37fbb8[_0x543c29(0xbd)][_0x543c29(0xb9)](this[_0x543c29(0xec)](_0xd8f252),0x0),_0x37fbb8;}[_0x3f9884(0xec)](_0x2c051d){const _0x399db2=_0x3f9884,_0x37f621=new _0x4debf7(this[_0x399db2(0xd6)]);return _0x37f621[_0x399db2(0xcc)]({'icon':_0x525938,'tooltip':_0x3811b4(this[_0x399db2(0xd6)],_0x399db2(0xc9)),'tooltipPosition':'n','class':Bc}),_0x37f621['on'](_0x399db2(0xeb),()=>{const _0x10b284=_0x399db2;_0x2c051d[_0x10b284(0xbe)](),this[_0x10b284(0xd1)][_0x10b284(0xe3)]();}),_0x37f621;}[_0x3f9884(0xdc)](_0x275be4){const _0xf36d07=_0x3f9884,_0x1701a1=new _0xf20241(this[_0xf36d07(0xd6)],{'source':_0x275be4,'searchInputVisibleFrom':this[_0xf36d07(0xd1)][_0xf36d07(0xe1)]});return _0x1701a1['on'](_0xf36d07(0xc5),(_0x411fe8,_0x11f47e)=>{const _0x4cb9b1=_0xf36d07;this[_0x4cb9b1(0xd1)][_0x4cb9b1(0xd3)](_0x11f47e);}),_0x1701a1['on'](_0xf36d07(0xb5),(_0x2d31c4,_0x86b267)=>{const _0x29634b=_0xf36d07;this[_0x29634b(0xd1)][_0x29634b(0xde)](_0x86b267[_0x29634b(0xb3)],_0x86b267[_0x29634b(0xe4)]),this[_0x29634b(0xda)](_0x275be4['id']);}),_0x1701a1;}[_0x3f9884(0xb4)](_0x22fd44){const _0x337dc0=_0x3f9884,_0x376327=_0x22fd44[_0x337dc0(0xbb)][_0x337dc0(0xcf)](0x1);return _0x376327 instanceof _0xf20241?_0x376327:null;}[_0x3f9884(0xe6)](_0x49cc4e){const _0x39c33c=_0x3f9884;_0x35934d({'emitter':_0x49cc4e,'contextElements':[_0x49cc4e[_0x39c33c(0xc0)]],'callback':()=>{const _0x409479=_0x39c33c;_0x49cc4e[_0x409479(0xbe)](),this[_0x409479(0xd1)][_0x409479(0xe0)]();},'activator':()=>_0x49cc4e[_0x39c33c(0xb6)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x163f38,IconView as _0x114680,LabeledFieldView as _0x696db2,createLabeledInputText as _0x49c38e}from'ckeditor5/src/ui.js';import{IconLoupe as _0x33358d,IconCancel as _0x142f29}from'ckeditor5/src/icons.js';import{getTranslation as _0x149916}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x696db2{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x387ee4){const t=_0x387ee4['t'],_0x1f381e={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x49c38e,'label':_0x149916(_0x387ee4,'AI_CHAT_SEARCH_RESOURCES')};super(_0x387ee4,_0x1f381e['creator']),this['label']=_0x1f381e['label'],this['_viewConfig']=_0x1f381e,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x387ee4,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2cbe56){this['fire']('search',_0x2cbe56);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x114680(),this['iconView']['content']=_0x33358d,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0xc9182a,t){this['resetButtonView']=new _0x163f38(_0xc9182a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x142f29,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x4254ae=>!_0x4254ae),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x36e650=_0x23ea;(function(_0x30e417,_0x5979d5){const _0x4fc208=_0x23ea,_0x539ecf=_0x30e417();while(!![]){try{const _0x2d4c62=parseInt(_0x4fc208(0x1c1))/0x1+-parseInt(_0x4fc208(0x1aa))/0x2*(parseInt(_0x4fc208(0x1c0))/0x3)+-parseInt(_0x4fc208(0x1b0))/0x4*(-parseInt(_0x4fc208(0x1bf))/0x5)+-parseInt(_0x4fc208(0x1b2))/0x6+-parseInt(_0x4fc208(0x1b8))/0x7+parseInt(_0x4fc208(0x1bb))/0x8*(-parseInt(_0x4fc208(0x1a2))/0x9)+-parseInt(_0x4fc208(0x1bd))/0xa*(-parseInt(_0x4fc208(0x1bc))/0xb);if(_0x2d4c62===_0x5979d5)break;else _0x539ecf['push'](_0x539ecf['shift']());}catch(_0x5849b7){_0x539ecf['push'](_0x539ecf['shift']());}}}(_0x5979,0x617ee));import{View as _0x4fb9c2}from'ckeditor5/src/ui.js';function _0x5979(){const _0x3d3dea=['9CTVNhO','ck-reset_all','destroy','locale','div','setTemplate','_bodyCollection','ck-ai-chat-controls_context_show-more-button','2IQMrYZ','_overflowManager','render','reorganizeChips','_createContextChips','element','28JWACPL','createCollection','2130882gpNZYt','_contextChips','ck-ai-chat-controls-button','ck-ai-chat-context-chips-wrapper','querySelector','ck-ai-chat-context-controls__show-more-balloon-panel','3822238cBMHrX','setContainerElement','ck-ai-chat__feed__context-chips','4040552yOadPQ','77kcZhOF','2624940JjiLhP','add','360845GVzbKC','1796961KUUcZe','61938dIYBLN','ck-ai-chat-context-chips-wrapper-balloon'];_0x5979=function(){return _0x3d3dea;};return _0x5979();}import{AIChatContextItemButtonView as _0x5b5257}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x286045}from'../controls/aichatchipsoverflowmanager.js';const fo=_0x36e650(0x1ba),ko=_0x36e650(0x1b5),Co=_0x36e650(0x1a1),bo=_0x36e650(0x1b4),go=_0x36e650(0x1a9),jo=_0x36e650(0x1b7);function _0x23ea(_0x3483d9,_0x51a9f6){const _0x59797e=_0x5979();return _0x23ea=function(_0x23ea59,_0xc2ae6d){_0x23ea59=_0x23ea59-0x1a1;let _0x45c437=_0x59797e[_0x23ea59];return _0x45c437;},_0x23ea(_0x3483d9,_0x51a9f6);}export class AIChatFeedContextChipsView extends _0x4fb9c2{[_0x36e650(0x1b3)]=this[_0x36e650(0x1b1)]();[_0x36e650(0x1ab)];[_0x36e650(0x1a8)];constructor(_0x196f5b,_0x16acbc,_0x4217c6){const _0x3db394=_0x36e650;super(_0x196f5b),this[_0x3db394(0x1a8)]=_0x4217c6,this[_0x3db394(0x1ae)](_0x16acbc);const _0x141110={'cssClasses':{'showMoreButton':go,'showMoreBalloon':jo,'overflowContainer':Co,'controlsButton':bo}};this[_0x3db394(0x1ab)]=new _0x286045(_0x196f5b,this[_0x3db394(0x1b3)],_0x141110,this[_0x3db394(0x1a8)],this),this[_0x3db394(0x1a7)]({'tag':_0x3db394(0x1a6),'attributes':{'class':[fo,'ck',_0x3db394(0x1a3)]},'children':[{'tag':_0x3db394(0x1a6),'attributes':{'class':ko},'children':this[_0x3db394(0x1b3)]}]});}[_0x36e650(0x1ac)](){const _0x1037f1=_0x36e650;super[_0x1037f1(0x1ac)]();const _0x40309f=this[_0x1037f1(0x1af)][_0x1037f1(0x1b6)]('.'+ko);_0x40309f&&(this[_0x1037f1(0x1ab)][_0x1037f1(0x1b9)](_0x40309f),this[_0x1037f1(0x1ab)][_0x1037f1(0x1ad)]());}[_0x36e650(0x1a4)](){const _0x5546bc=_0x36e650;super[_0x5546bc(0x1a4)](),this[_0x5546bc(0x1ab)][_0x5546bc(0x1a4)]();}[_0x36e650(0x1ae)](_0x3712dc){const _0x392497=_0x36e650;for(const _0x4bd2f8 of _0x3712dc){const _0x4d7964=new _0x5b5257(this[_0x392497(0x1a5)],_0x4bd2f8,!0x0,!0x1);this[_0x392497(0x1b3)][_0x392497(0x1be)](_0x4d7964);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4c59(_0x4152a3,_0x564f9c){var _0x132ab=_0x132a();return _0x4c59=function(_0x4c5901,_0x420957){_0x4c5901=_0x4c5901-0xd7;var _0x435753=_0x132ab[_0x4c5901];return _0x435753;},_0x4c59(_0x4152a3,_0x564f9c);}function _0x132a(){var _0x4698e0=['243392SXutzJ','string','appendChild','extendTemplate','10zRxMVw','3112648czTHvV','render','10177110vGJDpp','7771120QYTKMp','ck-ai-chat__feed__custom-element','1587825yNKJmY','48394EuXgtn','options','48mJeKIs','innerHTML','3017604xSAgGO','element','content'];_0x132a=function(){return _0x4698e0;};return _0x132a();}var _0x280a38=_0x4c59;(function(_0x2720e9,_0x36970f){var _0xbd115d=_0x4c59,_0xf16c9e=_0x2720e9();while(!![]){try{var _0xe36f38=-parseInt(_0xbd115d(0xe3))/0x1*(parseInt(_0xbd115d(0xdc))/0x2)+parseInt(_0xbd115d(0xe5))/0x3*(-parseInt(_0xbd115d(0xd8))/0x4)+-parseInt(_0xbd115d(0xe2))/0x5+-parseInt(_0xbd115d(0xe7))/0x6+parseInt(_0xbd115d(0xe0))/0x7+parseInt(_0xbd115d(0xdd))/0x8+parseInt(_0xbd115d(0xdf))/0x9;if(_0xe36f38===_0x36970f)break;else _0xf16c9e['push'](_0xf16c9e['shift']());}catch(_0x1be729){_0xf16c9e['push'](_0xf16c9e['shift']());}}}(_0x132a,0x9104a));import{AIChatFeedItemView as _0x38b1bf}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x38b1bf{constructor(_0x22967d){var _0x56bc73=_0x4c59;super(_0x22967d),this[_0x56bc73(0xdb)]({'attributes':{'class':[_0x56bc73(0xe1)]}});}async[_0x280a38(0xde)](){var _0x571381=_0x280a38;super[_0x571381(0xde)](),_0x571381(0xd9)==typeof this[_0x571381(0xe4)][_0x571381(0xd7)]?this[_0x571381(0xe8)][_0x571381(0xe6)]=this[_0x571381(0xe4)][_0x571381(0xd7)]:this[_0x571381(0xe8)][_0x571381(0xda)](this[_0x571381(0xe4)][_0x571381(0xd7)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3b27(_0x3e172a,_0x753f99){var _0x3f094b=_0x3f09();return _0x3b27=function(_0x3b27bb,_0x831d0e){_0x3b27bb=_0x3b27bb-0x12d;var _0x2e6ebd=_0x3f094b[_0x3b27bb];return _0x2e6ebd;},_0x3b27(_0x3e172a,_0x753f99);}var _0xddef08=_0x3b27;(function(_0x396bbd,_0xa4dad4){var _0x1af2a4=_0x3b27,_0x305419=_0x396bbd();while(!![]){try{var _0x32da61=parseInt(_0x1af2a4(0x132))/0x1+-parseInt(_0x1af2a4(0x130))/0x2+-parseInt(_0x1af2a4(0x13d))/0x3+parseInt(_0x1af2a4(0x12d))/0x4+-parseInt(_0x1af2a4(0x137))/0x5+parseInt(_0x1af2a4(0x13a))/0x6*(-parseInt(_0x1af2a4(0x12f))/0x7)+parseInt(_0x1af2a4(0x13b))/0x8;if(_0x32da61===_0xa4dad4)break;else _0x305419['push'](_0x305419['shift']());}catch(_0x5000e7){_0x305419['push'](_0x305419['shift']());}}}(_0x3f09,0xeafbb));import{AIChatFeedItemView as _0x147f2b}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x147f2b{constructor(_0x45cc62){var _0x510fce=_0x3b27;super(_0x45cc62),this[_0x510fce(0x141)]({'attributes':{'class':[_0x510fce(0x135),_0x510fce(0x13c)===_0x45cc62[_0x510fce(0x131)]?_0x510fce(0x12e):_0x510fce(0x140)]}});}[_0xddef08(0x134)](){var _0x162782=_0xddef08;super[_0x162782(0x134)](),this[_0x162782(0x136)](this[_0x162782(0x13e)][_0x162782(0x138)]),this[_0x162782(0x133)]();}[_0xddef08(0x136)](_0x1804d8){var _0x1de29e=_0xddef08;this[_0x1de29e(0x139)][_0x1de29e(0x13f)]=_0x1804d8;}}function _0x3f09(){var _0x1e44e6=['1182615aGgstu','options','innerHTML','ck-ai-notification_error','extendTemplate','281316UBIhHY','ck-ai-notification_warning','86282swAHIa','1541766IRoloF','level','1400134tENfhX','markAsDone','render','ck-ai-notification','setContent','6143685eqQUCZ','initialContent','element','6mkMcRm','15185432IEANSH','warning'];_0x3f09=function(){return _0x1e44e6;};return _0x3f09();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d95ac=_0x2a71;(function(_0x4a29e6,_0x342575){const _0x3b735e=_0x2a71,_0x2ef65b=_0x4a29e6();while(!![]){try{const _0x454ce8=parseInt(_0x3b735e(0x107))/0x1*(-parseInt(_0x3b735e(0x108))/0x2)+parseInt(_0x3b735e(0x119))/0x3*(parseInt(_0x3b735e(0x10d))/0x4)+-parseInt(_0x3b735e(0x110))/0x5*(parseInt(_0x3b735e(0x103))/0x6)+parseInt(_0x3b735e(0x111))/0x7*(parseInt(_0x3b735e(0x10a))/0x8)+-parseInt(_0x3b735e(0x118))/0x9+parseInt(_0x3b735e(0x112))/0xa+parseInt(_0x3b735e(0x105))/0xb;if(_0x454ce8===_0x342575)break;else _0x2ef65b['push'](_0x2ef65b['shift']());}catch(_0x3397a9){_0x2ef65b['push'](_0x2ef65b['shift']());}}}(_0x1686,0x5602f));function _0x1686(){const _0x4c578c=['5545kkHwjK','427VZPccn','6826670qDApZp','content','setTemplate','add','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','1720377CBKzRf','4098MzrsHu','ck-ai-chat__feed__interaction-header__capabilities__text','capabilities','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3372iIBdqI','extendTemplate','1453749ezfFqo','div','3aCgUhT','224746ujFlMr','push','84808NKveIm','children','ck-hidden','124umhvUj','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'];_0x1686=function(){return _0x4c578c;};return _0x1686();}import{IconBulb as _0x1800cd,IconWeb as _0x24140f}from'@ckeditor/ckeditor5-icons';import{IconView as _0x45bb9a,View as _0x48e0f6}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x14dd24}from'./aichatfeeditemview.js';import{getTranslation as _0x1b944b}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x14dd24{[_0x1d95ac(0x11b)];constructor(_0x1aed93,_0x2e1ae5){const _0x17b8ad=_0x1d95ac;super(_0x2e1ae5);const {isWebSearchEnabled:_0x23a809,isReasoningEnabled:_0x341216}=_0x2e1ae5[_0x17b8ad(0x11b)],_0x19a65d=[];let _0x1080c6='';_0x23a809&&_0x341216?(_0x1080c6=_0x1b944b(_0x1aed93,_0x17b8ad(0x10f)),_0x19a65d[_0x17b8ad(0x109)](_a(_0x24140f)),_0x19a65d[_0x17b8ad(0x109)](_a(_0x1800cd))):_0x23a809?(_0x1080c6=_0x1b944b(_0x1aed93,_0x17b8ad(0x102)),_0x19a65d[_0x17b8ad(0x109)](_a(_0x24140f))):_0x341216&&(_0x1080c6=_0x1b944b(_0x1aed93,_0x17b8ad(0x117)),_0x19a65d[_0x17b8ad(0x109)](_a(_0x1800cd))),this[_0x17b8ad(0x104)]({'attributes':{'class':[_0x17b8ad(0x11c),_0x1080c6?'':_0x17b8ad(0x10c)]}});const _0x2152fc=new _0x48e0f6();_0x2152fc[_0x17b8ad(0x114)]({'tag':_0x17b8ad(0x106),'attributes':{'class':['ck',_0x17b8ad(0x116)]},'children':[..._0x19a65d,{'tag':_0x17b8ad(0x10e),'attributes':{'class':[_0x17b8ad(0x11a)]},'children':[_0x1080c6]}]}),this[_0x17b8ad(0x10b)][_0x17b8ad(0x115)](_0x2152fc),this[_0x17b8ad(0x11b)]=_0x2e1ae5[_0x17b8ad(0x11b)];}}function _0x2a71(_0x4a4934,_0x427d2e){const _0x1686e3=_0x1686();return _0x2a71=function(_0x2a7188,_0x98fbc){_0x2a7188=_0x2a7188-0x102;let _0x4eae15=_0x1686e3[_0x2a7188];return _0x4eae15;},_0x2a71(_0x4a4934,_0x427d2e);}function _a(_0x248436){const _0x293d75=_0x1d95ac,_0x30f75c=new _0x45bb9a();return _0x30f75c[_0x293d75(0x113)]=_0x248436,_0x30f75c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4af2cd=_0x4ebe;(function(_0x13d9cf,_0x2a8927){const _0x9842f5=_0x4ebe,_0x2b8dea=_0x13d9cf();while(!![]){try{const _0x26296f=parseInt(_0x9842f5(0x19c))/0x1+-parseInt(_0x9842f5(0x1a2))/0x2+parseInt(_0x9842f5(0x198))/0x3*(parseInt(_0x9842f5(0x1a8))/0x4)+parseInt(_0x9842f5(0x1a7))/0x5+-parseInt(_0x9842f5(0x19f))/0x6+parseInt(_0x9842f5(0x19b))/0x7+-parseInt(_0x9842f5(0x1af))/0x8*(parseInt(_0x9842f5(0x1a3))/0x9);if(_0x26296f===_0x2a8927)break;else _0x2b8dea['push'](_0x2b8dea['shift']());}catch(_0x15bcb0){_0x2b8dea['push'](_0x2b8dea['shift']());}}}(_0x4843,0x457a5));import{View as _0x17902e}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x43ed06}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x17902e{[_0x4af2cd(0x1a0)];[_0x4af2cd(0x199)]='';[_0x4af2cd(0x1a6)];[_0x4af2cd(0x1b1)];constructor(_0x663973){const _0x2d42e8=_0x4af2cd;super();const _0x2f815b=this[_0x2d42e8(0x1ad)];this[_0x2d42e8(0x1b5)](_0x2d42e8(0x1a5),!0x1),this[_0x2d42e8(0x1b5)](_0x2d42e8(0x1ab),!0x0),this[_0x2d42e8(0x1a6)]=new _0x43ed06({'textNodeStyle':_0x2d42e8(0x1a4),'delay':0x14}),this[_0x2d42e8(0x1a0)]=_0x663973,this[_0x2d42e8(0x1b1)]=this[_0x2d42e8(0x1b2)](),this[_0x2d42e8(0x195)]({'tag':_0x2d42e8(0x1b3),'attributes':{'class':['ck',_0x2d42e8(0x194),_0x2f815b['if'](_0x2d42e8(0x1a5),_0x2d42e8(0x19e)),_0x2f815b['if'](_0x2d42e8(0x1ab),_0x2d42e8(0x19d),_0x19732a=>!_0x19732a),_0x2d42e8(0x1ac)],'data-cke-ai-id':this[_0x2d42e8(0x1a0)]['id']},'children':this[_0x2d42e8(0x1b1)]});}[_0x4af2cd(0x1aa)](){const _0x572aa0=_0x4af2cd;this[_0x572aa0(0x1a6)][_0x572aa0(0x196)]({'targetElement':this[_0x572aa0(0x1b0)]}),this[_0x572aa0(0x1b0)][_0x572aa0(0x19a)](_0x572aa0(0x1b4))[_0x572aa0(0x1a9)](_0x29a073=>{const _0xa97744=_0x572aa0;_0x29a073[_0xa97744(0x197)](_0xa97744(0x1ae));}),this[_0x572aa0(0x1a5)]=!0x0;}async[_0x4af2cd(0x1a1)](_0x2cee48,_0x232e7e,_0x8a8679){const _0x210d14=_0x4af2cd;await this[_0x210d14(0x1a6)][_0x210d14(0x1b6)]({'document':_0x2cee48,'targetElement':_0x232e7e,'abortSignal':_0x8a8679});}}function _0x4ebe(_0x57961d,_0x497841){const _0x48436b=_0x4843();return _0x4ebe=function(_0x4ebeff,_0x25c231){_0x4ebeff=_0x4ebeff-0x194;let _0x5ceac4=_0x48436b[_0x4ebeff];return _0x5ceac4;},_0x4ebe(_0x57961d,_0x497841);}function _0x4843(){const _0x2f449f=['2954076DXyUMQ','options','streamIntoElement','45000wFqgex','31023xQdSAq','animation:\x20ck-html-streamer-fade-in\x20.5s','isDone','htmlStreamer','1838830RbabkN','12LtEcpl','forEach','markAsDone','isVisible','ck-ai-chat__feed__text-item','bindTemplate','data-id','1184vlYTDN','element','children','createCollection','div','[data-id]','set','stream','ck-ai-chat__feed__item','setTemplate','cleanUpAnimations','removeAttribute','17508vunxCr','content','querySelectorAll','3958668caCkWU','358785DuoDDW','ck-hidden','ck-ai-chat__feed__item_done'];_0x4843=function(){return _0x2f449f;};return _0x4843();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x305073=_0x4868;function _0x4868(_0x29da93,_0x4fa83a){const _0x1d238a=_0x1d23();return _0x4868=function(_0x486861,_0x422024){_0x486861=_0x486861-0xfc;let _0x293a31=_0x1d238a[_0x486861];return _0x293a31;},_0x4868(_0x29da93,_0x4fa83a);}(function(_0x1e8294,_0x203216){const _0x54034a=_0x4868,_0x31c1f9=_0x1e8294();while(!![]){try{const _0x359ec3=-parseInt(_0x54034a(0x115))/0x1*(parseInt(_0x54034a(0x103))/0x2)+-parseInt(_0x54034a(0xff))/0x3+-parseInt(_0x54034a(0x10d))/0x4+-parseInt(_0x54034a(0x106))/0x5*(parseInt(_0x54034a(0x119))/0x6)+-parseInt(_0x54034a(0x101))/0x7+-parseInt(_0x54034a(0x10b))/0x8+parseInt(_0x54034a(0x113))/0x9;if(_0x359ec3===_0x203216)break;else _0x31c1f9['push'](_0x31c1f9['shift']());}catch(_0x5d5ea1){_0x31c1f9['push'](_0x31c1f9['shift']());}}}(_0x1d23,0xc3811));import{AIChatFeedItemView as _0x2ae53d}from'./aichatfeeditemview.js';function _0x1d23(){const _0x29a59d=['element','2QYjxxt','render','_bodyCollection','1453455fqrYoC','streaming','setTemplate','ck-ai-chat__feed__ai-reply-container','streamIntoElement','1999904KrSdJK','div','1520940dxGpch','addMany','options','updateSources','static','updateContent','45217341wYBDie','isVisible','190449YKUKLR','initialContent','add','balloonPanelView','24DdOodc','children','ck-reset_all-excluded','locale','map','extendTemplate','ck-ai-chat__feed__ai-reply','replyContainer','markAsDone','4408695GxyFoc','innerHTML','5392541OINZmA'];_0x1d23=function(){return _0x29a59d;};return _0x1d23();}import{parse as _0x40d3c0,render as _0x1826ab}from'../../../aicore/utils/htmlparser.js';import{View as _0x32f7c6}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4d4cfb,AIWebSourceView as _0x381098}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x2ae53d{[_0x305073(0xfd)];[_0x305073(0x105)];constructor(_0x50d705,_0x5ca501,_0x471c9d){const _0x5c5e2c=_0x305073;super(_0x5ca501),this[_0x5c5e2c(0x105)]=_0x471c9d,this[_0x5c5e2c(0x11c)]=_0x50d705,this[_0x5c5e2c(0x11e)]({'attributes':{'class':[_0x5c5e2c(0xfc)]}}),this[_0x5c5e2c(0xfd)]=new _0x32f7c6(),this[_0x5c5e2c(0xfd)][_0x5c5e2c(0x108)]({'tag':_0x5c5e2c(0x10c),'attributes':{'class':['ck',_0x5c5e2c(0x11b),_0x5c5e2c(0x109)]}}),this[_0x5c5e2c(0x11a)][_0x5c5e2c(0x117)](this[_0x5c5e2c(0xfd)]);}async[_0x305073(0x104)](){const _0x38cf99=_0x305073;super[_0x38cf99(0x104)](),this[_0x38cf99(0x10f)][_0x38cf99(0x116)]&&(await this[_0x38cf99(0x112)]({'parsedContent':_0x40d3c0(this[_0x38cf99(0x10f)][_0x38cf99(0x116)]),'renderingStrategy':_0x38cf99(0x111)}),this[_0x38cf99(0xfe)]());}async[_0x305073(0x112)]({parsedContent:_0x21e6b5,renderingStrategy:_0x106255,abortSignal:_0x11ab89}){const _0x3c3eee=_0x305073;_0x3c3eee(0x107)===_0x106255?await this[_0x3c3eee(0x10a)](_0x21e6b5,this[_0x3c3eee(0xfd)][_0x3c3eee(0x102)],_0x11ab89):this[_0x3c3eee(0xfd)][_0x3c3eee(0x102)][_0x3c3eee(0x100)]=_0x1826ab(_0x21e6b5);}[_0x305073(0x110)](_0x30155b){const _0x51d644=_0x305073,_0x257893=new _0x4d4cfb(this[_0x51d644(0x11c)],this[_0x51d644(0x105)]);_0x257893[_0x51d644(0x11a)][_0x51d644(0x10e)](_0x30155b[_0x51d644(0x11d)](_0x2acc4d=>new _0x381098(this[_0x51d644(0x11c)],_0x2acc4d,_0x257893[_0x51d644(0x118)]))),_0x257893[_0x51d644(0x114)]=!0x0,this[_0x51d644(0x11a)][_0x51d644(0x117)](_0x257893);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x68d5b3=_0x5bfd;function _0x48ee(){const _0x3912c4=['ck-ai-button-secondary','isTrackChangesOn','585336RUnbUH','set','ck-ai-button-primary','ck-ai-chat__feed__ai-suggestion__actions','locale','includes','add','AI_SUGGESTION_DISABLED_FEED_MESSAGE','ck-hidden','ck-ai-chat__feed__suggestion__actions__info','forEach','updateVisibility','13352400MnULod','197293rIRuPq','addMany','setTemplate','div','label','bindTemplate','2224638mRqNAO','bind','createCollection','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','1323618iioNHc','isVisible','_insertSuggestionsButton','_applyChangesButton','insertSuggestion','7565595fpDIMH','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_CHAT_SUGGESTION_ACTION_SUGGEST','change:isTrackChangesOn','button','fire','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','applySuggestion','7831208RSFckg','isEnabled','2bdYcXE','_switchButtonLabelsPlurality','children','AI_CHAT_SUGGESTION_ACTION_APPLY'];_0x48ee=function(){return _0x3912c4;};return _0x48ee();}function _0x5bfd(_0x25bb94,_0x4984c6){const _0x48ee43=_0x48ee();return _0x5bfd=function(_0x5bfd30,_0x398343){_0x5bfd30=_0x5bfd30-0xd2;let _0x2739b2=_0x48ee43[_0x5bfd30];return _0x2739b2;},_0x5bfd(_0x25bb94,_0x4984c6);}(function(_0x9872b7,_0x3840bd){const _0x367dd5=_0x5bfd,_0x4713df=_0x9872b7();while(!![]){try{const _0x5b10ef=-parseInt(_0x367dd5(0xd7))/0x1*(-parseInt(_0x367dd5(0xf1))/0x2)+-parseInt(_0x367dd5(0xdd))/0x3+parseInt(_0x367dd5(0xf7))/0x4+parseInt(_0x367dd5(0xe7))/0x5+parseInt(_0x367dd5(0xe2))/0x6+parseInt(_0x367dd5(0xef))/0x7+-parseInt(_0x367dd5(0xd6))/0x8;if(_0x5b10ef===_0x3840bd)break;else _0x4713df['push'](_0x4713df['shift']());}catch(_0x268cdb){_0x4713df['push'](_0x4713df['shift']());}}}(_0x48ee,0xbfc59));import{ButtonView as _0xf85edf,View as _0xbe6ded}from'ckeditor5/src/ui.js';import{getTranslation as _0x55b0a2}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x21abe3}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x68d5b3(0xee),_0x68d5b3(0xe6)];export class AIChatFeedSuggestionItemActionsView extends _0xbe6ded{[_0x68d5b3(0xe5)];[_0x68d5b3(0xe4)];[_0x68d5b3(0xf3)];constructor(_0x1c622a,_0x2d886c=[...AI_REPLY_ACTIONS],_0x5121cd){const _0x47f89f=_0x68d5b3;super(_0x1c622a);const _0x366c55=this[_0x47f89f(0xdc)],_0x512275=Boolean(_0x5121cd);if(this[_0x47f89f(0xf8)](_0x47f89f(0xf0),!_0x512275),this[_0x47f89f(0xf8)](_0x47f89f(0xe3),!0x1),this[_0x47f89f(0xf8)](_0x47f89f(0xf6),!0x1),this[_0x47f89f(0xf3)]=this[_0x47f89f(0xdf)](),_0x512275){const _0xefe6d6=new _0xf85edf(_0x1c622a);_0xefe6d6[_0x47f89f(0xf8)]({'label':_0x55b0a2(_0x1c622a,_0x47f89f(0xe8)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x21abe3});const _0x54dae2=new _0xbe6ded(_0x1c622a);_0x54dae2[_0x47f89f(0xd9)]({'tag':_0x47f89f(0xda),'attributes':{'class':_0x47f89f(0xd3)},'children':[{'tag':'p','children':[_0x55b0a2(_0x1c622a,_0x47f89f(0xfe)),_0xefe6d6]}]}),this[_0x47f89f(0xf3)][_0x47f89f(0xfd)](_0x54dae2);}else this[_0x47f89f(0xe5)]=new _0xf85edf(_0x1c622a),this[_0x47f89f(0xe5)][_0x47f89f(0xf8)]({'label':_0x55b0a2(_0x1c622a,_0x47f89f(0xe1)),'withText':!0x0,'type':_0x47f89f(0xeb),'isVisible':_0x2d886c[_0x47f89f(0xfc)](_0x47f89f(0xee)),'class':_0x47f89f(0xf9)}),this[_0x47f89f(0xe4)]=new _0xf85edf(_0x1c622a),this[_0x47f89f(0xe4)][_0x47f89f(0xf8)]({'label':_0x55b0a2(_0x1c622a,_0x47f89f(0xed)),'withText':!0x0,'type':_0x47f89f(0xeb),'isVisible':_0x2d886c[_0x47f89f(0xfc)](_0x47f89f(0xe6)),'class':_0x47f89f(0xf5)}),this[_0x47f89f(0xe4)]['on'](_0x47f89f(0xe0),()=>{const _0x1fd88d=_0x47f89f;this[_0x1fd88d(0xec)](_0x1fd88d(0xe6));}),this[_0x47f89f(0xe5)]['on'](_0x47f89f(0xe0),()=>{const _0x484bec=_0x47f89f;this[_0x484bec(0xec)](_0x484bec(0xee));}),[this[_0x47f89f(0xe5)],this[_0x47f89f(0xe4)]][_0x47f89f(0xd4)](_0x4f0846=>{const _0x4111a0=_0x47f89f;_0x4f0846[_0x4111a0(0xde)](_0x4111a0(0xf0))['to'](this);}),this[_0x47f89f(0xf3)][_0x47f89f(0xd8)]([this[_0x47f89f(0xe5)],this[_0x47f89f(0xe4)]]);this[_0x47f89f(0xd9)]({'tag':_0x47f89f(0xda),'attributes':{'class':['ck',_0x47f89f(0xfa),_0x366c55['if'](_0x47f89f(0xe3),_0x47f89f(0xd2),_0xf91b83=>!_0xf91b83)]},'children':this[_0x47f89f(0xf3)]}),this['on'](_0x47f89f(0xea),()=>{const _0x3190ae=_0x47f89f;this[_0x3190ae(0xe5)]&&(this[_0x3190ae(0xe5)][_0x3190ae(0xe3)]=!this[_0x3190ae(0xf6)]);});}[_0x68d5b3(0xd5)](_0x17e872){const _0x424ca6=_0x68d5b3;this[_0x424ca6(0xe3)]=_0x17e872;}[_0x68d5b3(0xf2)](_0x474438){const _0x18a456=_0x68d5b3;this[_0x18a456(0xe5)]&&this[_0x18a456(0xe4)]&&(_0x474438?(this[_0x18a456(0xe5)][_0x18a456(0xdb)]=_0x55b0a2(this[_0x18a456(0xfb)],_0x18a456(0xe1)),this[_0x18a456(0xe4)][_0x18a456(0xdb)]=_0x55b0a2(this[_0x18a456(0xfb)],_0x18a456(0xed))):(this[_0x18a456(0xe5)][_0x18a456(0xdb)]=_0x55b0a2(this[_0x18a456(0xfb)],_0x18a456(0xf4)),this[_0x18a456(0xe4)][_0x18a456(0xdb)]=_0x55b0a2(this[_0x18a456(0xfb)],_0x18a456(0xe9))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x24f18b=_0xe47d;function _0xe47d(_0x362c62,_0x265415){var _0x1ab96f=_0x1ab9();return _0xe47d=function(_0xe47d15,_0x13c698){_0xe47d15=_0xe47d15-0x18a;var _0x3c43cf=_0x1ab96f[_0xe47d15];return _0x3c43cf;},_0xe47d(_0x362c62,_0x265415);}function _0x1ab9(){var _0xd3af2e=['bodyView','areActionsDisabled','463RXSMJB','updatePartState','markAsDone','ck-ai-chat__feed__ai-suggestion','7XMDWgX','3002094BPgCov','mouseLeaveSuggestion','3248730EnVmSV','extendTemplate','fire','containerView','bind','like','updateSources','options','isTrackChangesOn','getPartView','12Ivqrmy','168OQzuIW','updateContent','availableActions','4112Qxumpz','24VcnbZP','713206VDEFxC','setPartActive','insertSuggestion','dislike','toggleSuggestionDisplayMode','75507ONJHKv','showDiff','5682225wjyXkP','mouseOverSuggestion','set','33hbgJeU','addMany','showChangeInText','children','1292826EvBtPu','applySuggestion','rejectSuggestion'];_0x1ab9=function(){return _0xd3af2e;};return _0x1ab9();}(function(_0x524b32,_0x31110d){var _0x19d6f0=_0xe47d,_0x2defc1=_0x524b32();while(!![]){try{var _0x57c4fa=parseInt(_0x19d6f0(0x1a8))/0x1*(parseInt(_0x19d6f0(0x193))/0x2)+parseInt(_0x19d6f0(0x19a))/0x3*(-parseInt(_0x19d6f0(0x190))/0x4)+parseInt(_0x19d6f0(0x19c))/0x5+parseInt(_0x19d6f0(0x1a3))/0x6*(-parseInt(_0x19d6f0(0x1ac))/0x7)+parseInt(_0x19d6f0(0x194))/0x8*(-parseInt(_0x19d6f0(0x1ad))/0x9)+-parseInt(_0x19d6f0(0x1af))/0xa*(-parseInt(_0x19d6f0(0x19f))/0xb)+-parseInt(_0x19d6f0(0x18f))/0xc*(parseInt(_0x19d6f0(0x195))/0xd);if(_0x57c4fa===_0x31110d)break;else _0x2defc1['push'](_0x2defc1['shift']());}catch(_0x18e675){_0x2defc1['push'](_0x2defc1['shift']());}}}(_0x1ab9,0xb368f));import{AIChatFeedItemView as _0x3343d5}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x12570a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x3343d5{[_0x24f18b(0x1b2)];constructor(_0x5091be,_0x45bef1,_0x370a23){var _0x59a1da=_0x24f18b;super(_0x45bef1),this[_0x59a1da(0x19e)](_0x59a1da(0x18d),!0x1),this[_0x59a1da(0x1b2)]=new _0x12570a(_0x5091be,{'showDiff':_0x45bef1[_0x59a1da(0x19b)],'areActionsDisabled':_0x45bef1[_0x59a1da(0x1a7)],'availableActions':_0x45bef1[_0x59a1da(0x192)]},_0x370a23),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x199),(_0x549a0c,_0x16f61d)=>{var _0x26c85a=_0x59a1da;this[_0x26c85a(0x1b1)](_0x26c85a(0x199),{'replyId':this[_0x26c85a(0x18c)]['id'],'showDiff':_0x16f61d[_0x26c85a(0x19b)]});}),this[_0x59a1da(0x1b2)][_0x59a1da(0x1b3)](_0x59a1da(0x18d))['to'](this),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x18a),()=>{var _0x322914=_0x59a1da;this[_0x322914(0x1b1)](_0x322914(0x18a),{'replyId':this[_0x322914(0x18c)]['id']});}),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x198),()=>{var _0x5512ee=_0x59a1da;this[_0x5512ee(0x1b1)](_0x5512ee(0x198),{'replyId':this[_0x5512ee(0x18c)]['id']});}),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x1a1),(_0x8ef258,{index:_0x433090})=>{var _0x32445a=_0x59a1da;this[_0x32445a(0x1b1)](_0x32445a(0x1a1),{'replyId':this[_0x32445a(0x18c)]['id'],'partIndex':_0x433090});}),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x1a4),(_0x4d7f52,{index:_0x2fe990}={})=>{var _0x1c7881=_0x59a1da;this[_0x1c7881(0x1b1)](_0x1c7881(0x1a4),{'replyId':this[_0x1c7881(0x18c)]['id'],'partIndex':_0x2fe990});}),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x197),(_0x116e9e,{index:_0x119dbe}={})=>{var _0x3b6a0e=_0x59a1da;this[_0x3b6a0e(0x1b1)](_0x3b6a0e(0x197),{'replyId':this[_0x3b6a0e(0x18c)]['id'],'partIndex':_0x119dbe});}),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x1a5),(_0x51eef4,{index:_0x3ae391})=>{var _0x17d573=_0x59a1da;this[_0x17d573(0x1b1)](_0x17d573(0x1a5),{'replyId':this[_0x17d573(0x18c)]['id'],'partIndex':_0x3ae391});}),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x19d),(_0x2aa298,{index:_0x15ca7b})=>{var _0x12ca26=_0x59a1da;this[_0x12ca26(0x1b1)](_0x12ca26(0x19d),{'replyId':this[_0x12ca26(0x18c)]['id'],'partIndex':_0x15ca7b});}),this[_0x59a1da(0x1b2)]['on'](_0x59a1da(0x1ae),(_0x1a0ae7,{index:_0x3db531})=>{var _0xc19597=_0x59a1da;this[_0xc19597(0x1b1)](_0xc19597(0x1ae),{'replyId':this[_0xc19597(0x18c)]['id'],'partIndex':_0x3db531});}),this[_0x59a1da(0x1a2)][_0x59a1da(0x1a0)]([this[_0x59a1da(0x1b2)]]),this[_0x59a1da(0x1b0)]({'attributes':{'class':[_0x59a1da(0x1ab)]}});}async[_0x24f18b(0x191)](_0x539b8a){var _0x2232ff=_0x24f18b;await this[_0x2232ff(0x1b2)][_0x2232ff(0x191)](_0x539b8a);}[_0x24f18b(0x1a9)](_0x569669,_0x14dafe){var _0x31f3ee=_0x24f18b;this[_0x31f3ee(0x1b2)][_0x31f3ee(0x1a6)][_0x31f3ee(0x1a9)](_0x569669,_0x14dafe);}[_0x24f18b(0x196)](_0x1126da,_0x57eb54){var _0x40c8f2=_0x24f18b;!0x1===_0x1126da?this[_0x40c8f2(0x1b2)][_0x40c8f2(0x1a6)][_0x40c8f2(0x196)](!0x1):this[_0x40c8f2(0x1b2)][_0x40c8f2(0x1a6)][_0x40c8f2(0x196)](_0x1126da,_0x57eb54);}[_0x24f18b(0x18b)](_0x2a7572){var _0x5bdf08=_0x24f18b;this[_0x5bdf08(0x1b2)][_0x5bdf08(0x18b)](_0x2a7572);}[_0x24f18b(0x18e)](_0x51fef3){var _0x1e5ab7=_0x24f18b;return this[_0x1e5ab7(0x1b2)][_0x1e5ab7(0x1a6)][_0x1e5ab7(0x18e)](_0x51fef3);}[_0x24f18b(0x1aa)](){var _0x4478a2=_0x24f18b;super[_0x4478a2(0x1aa)](),this[_0x4478a2(0x1b2)][_0x4478a2(0x1aa)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x80b3(_0x4e37a5,_0x17bd34){var _0xe66110=_0xe661();return _0x80b3=function(_0x80b3c8,_0x3542f0){_0x80b3c8=_0x80b3c8-0xb4;var _0x21b05d=_0xe66110[_0x80b3c8];return _0x21b05d;},_0x80b3(_0x4e37a5,_0x17bd34);}function _0xe661(){var _0x4e2e1b=['3749940BHCEfd','_bodyCollection','5579PgluTX','add','innerHTML','filter','contextItems','84QNfHnN','6654obVgzH','_messageContentView','children','div','render','_createMessageContentView','initialContent','_createContextChipsView','1070THZKZp','setTemplate','element','15690tLXNLD','extendTemplate','980674zVwZzz','ck-ai-chat__feed__user-message','options','250129LueCAe','ck-ai-chat__feed__message-content','7843765KMmOrH','ck-ai-chat__feed__context-chips','6877560makLyU','length','_locale','hidden','_contextChipsView','markAsDone','3ntZRnf'];_0xe661=function(){return _0x4e2e1b;};return _0xe661();}var _0x21c99d=_0x80b3;(function(_0x1c01dc,_0x505f85){var _0x2bb4b7=_0x80b3,_0x1c2930=_0x1c01dc();while(!![]){try{var _0x534d70=-parseInt(_0x2bb4b7(0xb9))/0x1*(parseInt(_0x2bb4b7(0xcf))/0x2)+parseInt(_0x2bb4b7(0xcd))/0x3*(parseInt(_0x2bb4b7(0xc1))/0x4)+-parseInt(_0x2bb4b7(0xd4))/0x5+parseInt(_0x2bb4b7(0xc2))/0x6*(parseInt(_0x2bb4b7(0xbc))/0x7)+parseInt(_0x2bb4b7(0xd6))/0x8+-parseInt(_0x2bb4b7(0xba))/0x9+-parseInt(_0x2bb4b7(0xca))/0xa*(-parseInt(_0x2bb4b7(0xd2))/0xb);if(_0x534d70===_0x505f85)break;else _0x1c2930['push'](_0x1c2930['shift']());}catch(_0x2f9a09){_0x1c2930['push'](_0x1c2930['shift']());}}}(_0xe661,0xcaa5f));import{AIChatFeedItemView as _0x3cba6e}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3915c9}from'./aichatfeedcontextchipsview.js';import{View as _0x4fb84a}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3cba6e{[_0x21c99d(0xb7)]=null;[_0x21c99d(0xb5)];[_0x21c99d(0xbb)];[_0x21c99d(0xc3)];constructor(_0x475731,_0x5cbea8,_0x40faa3){var _0x3519a3=_0x21c99d;super(_0x5cbea8),this[_0x3519a3(0xb5)]=_0x475731,this[_0x3519a3(0xbb)]=_0x40faa3,this[_0x3519a3(0xc9)](),this[_0x3519a3(0xc7)](),this[_0x3519a3(0xce)]({'attributes':{'class':[_0x3519a3(0xd0)]}});}[_0x21c99d(0xc9)](){var _0x2b0058=_0x21c99d;this[_0x2b0058(0xd1)][_0x2b0058(0xc0)]&&this[_0x2b0058(0xd1)][_0x2b0058(0xc0)][_0x2b0058(0xb4)]>0x0&&(this[_0x2b0058(0xb7)]=new _0x3915c9(this[_0x2b0058(0xb5)],this[_0x2b0058(0xd1)][_0x2b0058(0xc0)][_0x2b0058(0xbf)](_0x47735a=>!_0x47735a[_0x2b0058(0xb6)]),this[_0x2b0058(0xbb)]),this[_0x2b0058(0xb7)][_0x2b0058(0xce)]({'attributes':{'class':_0x2b0058(0xd5)}}),this[_0x2b0058(0xc4)][_0x2b0058(0xbd)](this[_0x2b0058(0xb7)]));}[_0x21c99d(0xc7)](){var _0x51d693=_0x21c99d;this[_0x51d693(0xc3)]=new _0x4fb84a(this[_0x51d693(0xb5)]),this[_0x51d693(0xc3)][_0x51d693(0xcb)]({'tag':_0x51d693(0xc5),'attributes':{'class':_0x51d693(0xd3)}}),this[_0x51d693(0xc4)][_0x51d693(0xbd)](this[_0x51d693(0xc3)]);}[_0x21c99d(0xc6)](){var _0x5abccf=_0x21c99d;super[_0x5abccf(0xc6)](),this[_0x5abccf(0xc3)][_0x5abccf(0xcc)][_0x5abccf(0xbe)]=this[_0x5abccf(0xd1)][_0x5abccf(0xc8)],this[_0x5abccf(0xb8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c73da=_0x176d;(function(_0x198c49,_0x1640c2){const _0x54d6c8=_0x176d,_0x485e60=_0x198c49();while(!![]){try{const _0x33dcb5=-parseInt(_0x54d6c8(0xb5))/0x1*(parseInt(_0x54d6c8(0xa9))/0x2)+-parseInt(_0x54d6c8(0xb8))/0x3+-parseInt(_0x54d6c8(0xac))/0x4*(-parseInt(_0x54d6c8(0xae))/0x5)+parseInt(_0x54d6c8(0xb2))/0x6+parseInt(_0x54d6c8(0xab))/0x7+-parseInt(_0x54d6c8(0xbb))/0x8+parseInt(_0x54d6c8(0xb3))/0x9*(parseInt(_0x54d6c8(0xb6))/0xa);if(_0x33dcb5===_0x1640c2)break;else _0x485e60['push'](_0x485e60['shift']());}catch(_0x26389f){_0x485e60['push'](_0x485e60['shift']());}}}(_0x5492,0x2578b));function _0x176d(_0x18f694,_0x21622c){const _0x549215=_0x5492();return _0x176d=function(_0x176dad,_0x54b006){_0x176dad=_0x176dad-0xa9;let _0x4fa131=_0x549215[_0x176dad];return _0x4fa131;},_0x176d(_0x18f694,_0x21622c);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x566ea6}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x566ea6,_0x2c73da(0xbf),_0x2c73da(0xb7),_0x2c73da(0xaa),_0x2c73da(0xb9),_0x2c73da(0xc0),_0x2c73da(0xad),_0x2c73da(0xaf),_0x2c73da(0xbc),_0x2c73da(0xb0),_0x2c73da(0xbd),_0x2c73da(0xb1),_0x2c73da(0xb4),_0x2c73da(0xbe),_0x2c73da(0xba)];function _0x5492(){const _0x54459d=['21860vCicYA','sendUserMessage','1489803rEMpAa','368780FnafNc','addFileToContext','10LgLskw','addUrlToContext','addResourceToContext','loadSourceResources','19734YnIByb','3236787NxldvZ','toggleWebSearch','20DdoVYm','10VYaQLS','resizeTabs','856422mEBfBn','abortPromptStream','selectModel','820752luAdJt','executeCustomItemCallback','removeContextItem','toggleReasoning','startConversation','addDocumentToContext'];_0x5492=function(){return _0x54459d;};return _0x5492();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4cea54=_0x5e71;(function(_0x16f437,_0x4a51d6){const _0x23a191=_0x5e71,_0x1bbf93=_0x16f437();while(!![]){try{const _0xf5a86b=-parseInt(_0x23a191(0x1d1))/0x1+parseInt(_0x23a191(0x1d0))/0x2+parseInt(_0x23a191(0x1c6))/0x3+-parseInt(_0x23a191(0x1db))/0x4+parseInt(_0x23a191(0x1dd))/0x5+-parseInt(_0x23a191(0x1e0))/0x6*(-parseInt(_0x23a191(0x1ce))/0x7)+-parseInt(_0x23a191(0x1da))/0x8;if(_0xf5a86b===_0x4a51d6)break;else _0x1bbf93['push'](_0x1bbf93['shift']());}catch(_0x39508b){_0x1bbf93['push'](_0x1bbf93['shift']());}}}(_0x13d4,0xdb330));function _0x5e71(_0x5a84b4,_0x152aa5){const _0x13d431=_0x13d4();return _0x5e71=function(_0x5e712f,_0x5c6343){_0x5e712f=_0x5e712f-0x1c6;let _0x152de3=_0x13d431[_0x5e712f];return _0x152de3;},_0x5e71(_0x5a84b4,_0x152aa5);}import{EmitterMixin as _0x5e6fd2}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x5e6fd2(){[_0x4cea54(0x1c8)]=[];[_0x4cea54(0x1de)]=!0x1;[_0x4cea54(0x1d9)];async[_0x4cea54(0x1dc)](_0x48672f){const _0x29ab0a=_0x4cea54,_0x3251ea=this[_0x29ab0a(0x1d6)](_0x48672f);return this[_0x29ab0a(0x1c8)][_0x29ab0a(0x1cb)](_0x3251ea),this[_0x29ab0a(0x1d8)](),_0x3251ea[_0x29ab0a(0x1cd)];}[_0x4cea54(0x1d5)](){const _0x3a2a20=_0x4cea54;this[_0x3a2a20(0x1de)]&&(this[_0x3a2a20(0x1d9)][_0x3a2a20(0x1d5)](),this[_0x3a2a20(0x1d9)]=void 0x0,this[_0x3a2a20(0x1c8)]=[],this[_0x3a2a20(0x1cf)](_0x3a2a20(0x1df)),this[_0x3a2a20(0x1de)]=!0x1);}get[_0x4cea54(0x1d7)](){const _0x5b0e97=_0x4cea54;return this[_0x5b0e97(0x1c8)][_0x5b0e97(0x1ca)]||this[_0x5b0e97(0x1de)]?new Promise(_0x37e814=>{const _0xd1867c=_0x5b0e97;this[_0xd1867c(0x1cc)](_0xd1867c(0x1df),()=>{_0x37e814();});}):Promise[_0x5b0e97(0x1d2)]();}async[_0x4cea54(0x1d8)](){const _0x3d003c=_0x4cea54;if(!this[_0x3d003c(0x1de)]){this[_0x3d003c(0x1d9)]=new AbortController(),this[_0x3d003c(0x1de)]=!0x0;try{for(;this[_0x3d003c(0x1c8)][_0x3d003c(0x1ca)]&&this[_0x3d003c(0x1de)];){const _0x4403e0=this[_0x3d003c(0x1c8)][_0x3d003c(0x1d4)]();try{await _0x4403e0[_0x3d003c(0x1d3)](this[_0x3d003c(0x1d9)][_0x3d003c(0x1c7)]),_0x4403e0[_0x3d003c(0x1d2)]();}catch(_0x2f813f){_0x4403e0[_0x3d003c(0x1c9)](_0x2f813f);}}}finally{this[_0x3d003c(0x1de)]=!0x1,this[_0x3d003c(0x1d9)]=void 0x0;}this[_0x3d003c(0x1cf)](_0x3d003c(0x1df));}}[_0x4cea54(0x1d6)](_0x3401ca){let _0x466090,_0x2680d3;const _0x546a8f=new Promise((_0x538085,_0x1c0b0d)=>{_0x466090=_0x538085,_0x2680d3=_0x1c0b0d;});return{'callback':_0x3401ca,'resolve':_0x466090,'reject':_0x2680d3,'completePromise':_0x546a8f};}}function _0x13d4(){const _0x2cb777=['4257865OTIOrA','isProcessing','_queueEmpty','596622oRBOBV','4710189lNSrXX','signal','queue','reject','length','push','once','completePromise','91RhYJdd','fire','487992KvaaWS','1477833QFUZlP','resolve','callback','shift','abort','createTask','queueEmptyPromise','_processQueue','_abortController','4630664arQYED','4015228RQtOhx','enqueue'];_0x13d4=function(){return _0x2cb777;};return _0x13d4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x22de56=_0x3238;(function(_0x3ba6ba,_0x3b271a){var _0x38eba=_0x3238,_0x3cde12=_0x3ba6ba();while(!![]){try{var _0x2fd218=parseInt(_0x38eba(0x1a8))/0x1*(-parseInt(_0x38eba(0x1a7))/0x2)+parseInt(_0x38eba(0x1a0))/0x3*(-parseInt(_0x38eba(0x1a2))/0x4)+-parseInt(_0x38eba(0x1a1))/0x5+-parseInt(_0x38eba(0x1ac))/0x6+parseInt(_0x38eba(0x1a9))/0x7+-parseInt(_0x38eba(0x1aa))/0x8*(-parseInt(_0x38eba(0x1a4))/0x9)+parseInt(_0x38eba(0x1a5))/0xa;if(_0x2fd218===_0x3b271a)break;else _0x3cde12['push'](_0x3cde12['shift']());}catch(_0x564457){_0x3cde12['push'](_0x3cde12['shift']());}}}(_0x540d,0xc2d2c));import{ContextPlugin as _0x9ba19d}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x472e5c}from'./aichathistorycontroller.js';function _0x540d(){var _0xb4e469=['isOfficialPlugin','459858qmqrPE','isPremiumPlugin','pluginName','198717GnxrSJ','6754150JmScIw','28jDjtXR','AIChatHistory','873513XNMUdj','22958720gaJDPx','requires','2sElZdZ','1165703rjGReJ','2760023XybilE','96cxqMIi'];_0x540d=function(){return _0xb4e469;};return _0x540d();}import{AIChatHistoryUI as _0x5b90a7}from'./aichathistoryui.js';function _0x3238(_0x256663,_0x4967cb){var _0x540dda=_0x540d();return _0x3238=function(_0x3238ee,_0x319b7b){_0x3238ee=_0x3238ee-0x19e;var _0x199108=_0x540dda[_0x3238ee];return _0x199108;},_0x3238(_0x256663,_0x4967cb);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x9ba19d{static get[_0x22de56(0x1a6)](){return[_0x472e5c,_0x5b90a7];}static get[_0x22de56(0x19f)](){var _0x4a187f=_0x22de56;return _0x4a187f(0x1a3);}static get[_0x22de56(0x1ab)](){return!0x0;}static get[_0x22de56(0x19e)](){return!0x0;}}
|