@ckeditor/ckeditor5-ai 47.3.0-alpha.1 → 47.3.0-alpha.3
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-editor.css +18 -15
- package/dist/index.css +19 -15
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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.d.ts +1 -0
- 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
- package/theme/aiballoon/aiballoon.css +2 -1
- package/theme/aiquickactions/aiquickactions.css +17 -14
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1004(){const _0x519d1f=['_createCancelButtonView','860818MZICtW','1499949fRXVQN','779970OYHFnP','ck-reset_all','execute','div','_cancelButtonView','210080ZFzZjW','_createLoaderView','279haOwMn','ck-ai-chat-controls-loader','1306412EtXdcw','_loaderView','25BDOYED','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader-icon','270452GBgjXc','ck-ai-button-secondary\x20ck-ai-button-stop-generating','ck-ai-chat-controls-loader-wrapper','locale','set','AI_CHAT_STOP_GENERATING','abortPromptStream','setTemplate','966952tZxNOq','fire','AI_CHAT_IS_WRITING'];_0x1004=function(){return _0x519d1f;};return _0x1004();}const _0x408677=_0xc07e;(function(_0x2355d1,_0x5ce0d6){const _0x4ad1d3=_0xc07e,_0xe8f9e=_0x2355d1();while(!![]){try{const _0xe6e4f5=-parseInt(_0x4ad1d3(0x16f))/0x1+parseInt(_0x4ad1d3(0x177))/0x2+-parseInt(_0x4ad1d3(0x17c))/0x3+parseInt(_0x4ad1d3(0x16a))/0x4+parseInt(_0x4ad1d3(0x16c))/0x5*(-parseInt(_0x4ad1d3(0x17d))/0x6)+parseInt(_0x4ad1d3(0x17b))/0x7+-parseInt(_0x4ad1d3(0x166))/0x8*(-parseInt(_0x4ad1d3(0x168))/0x9);if(_0xe6e4f5===_0x5ce0d6)break;else _0xe8f9e['push'](_0xe8f9e['shift']());}catch(_0x3e00a8){_0xe8f9e['push'](_0xe8f9e['shift']());}}}(_0x1004,0x4fc2f));import{ButtonView as _0x434870,View as _0xdff497}from'ckeditor5/src/ui.js';import{IconStop as _0x4422f5}from'ckeditor5/src/icons.js';import{getTranslation as _0x13aa20}from'../../../aicore/utils/common-translations.js';function _0xc07e(_0x28f948,_0x350079){const _0x1004fb=_0x1004();return _0xc07e=function(_0xc07e4b,_0x4b2965){_0xc07e4b=_0xc07e4b-0x162;let _0x167d1d=_0x1004fb[_0xc07e4b];return _0x167d1d;},_0xc07e(_0x28f948,_0x350079);}export class AIChatControlsLoaderView extends _0xdff497{[_0x408677(0x165)];[_0x408677(0x16b)];constructor(_0x51b7e5){const _0x3033fc=_0x408677;super(_0x51b7e5),this[_0x3033fc(0x165)]=this[_0x3033fc(0x17a)](),this[_0x3033fc(0x16b)]=this[_0x3033fc(0x167)](),this[_0x3033fc(0x176)]({'tag':_0x3033fc(0x164),'attributes':{'class':['ck',_0x3033fc(0x171),_0x3033fc(0x162)]},'children':[this[_0x3033fc(0x16b)],this[_0x3033fc(0x165)]]});}[_0x408677(0x17a)](){const _0x42b176=_0x408677,_0x25df22=new _0x434870(this[_0x42b176(0x172)]);return _0x25df22[_0x42b176(0x173)]({'label':_0x13aa20(this[_0x42b176(0x172)],_0x42b176(0x174)),'withText':!0x0,'class':_0x42b176(0x170),'icon':_0x4422f5}),_0x25df22['on'](_0x42b176(0x163),()=>{const _0x410d3e=_0x42b176;this[_0x410d3e(0x178)](_0x410d3e(0x175));}),_0x25df22;}[_0x408677(0x167)](){const _0x5871a2=_0x408677,_0x3ee78c=new _0xdff497(this[_0x5871a2(0x172)]);return _0x3ee78c[_0x5871a2(0x176)]({'tag':_0x5871a2(0x164),'attributes':{'class':[_0x5871a2(0x169)]},'children':[{'tag':_0x5871a2(0x164),'attributes':{'class':[_0x5871a2(0x16e)]},'children':[{'tag':_0x5871a2(0x164),'attributes':{'class':[_0x5871a2(0x16d)]}},{'tag':_0x5871a2(0x164),'attributes':{'class':[_0x5871a2(0x16d)]}},{'tag':_0x5871a2(0x164),'attributes':{'class':[_0x5871a2(0x16d)]}}]},{'text':_0x13aa20(this[_0x5871a2(0x172)],_0x5871a2(0x179))}]}),_0x3ee78c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5afbef=_0x3b42;(function(_0x10b8f5,_0x32b9cd){const _0x33a05a=_0x3b42,_0x3105b4=_0x10b8f5();while(!![]){try{const _0x3c95aa=-parseInt(_0x33a05a(0xf2))/0x1+-parseInt(_0x33a05a(0xfa))/0x2+parseInt(_0x33a05a(0xeb))/0x3+-parseInt(_0x33a05a(0xb9))/0x4*(-parseInt(_0x33a05a(0xdb))/0x5)+-parseInt(_0x33a05a(0x100))/0x6+-parseInt(_0x33a05a(0xe8))/0x7+parseInt(_0x33a05a(0xd9))/0x8*(parseInt(_0x33a05a(0xd3))/0x9);if(_0x3c95aa===_0x32b9cd)break;else _0x3105b4['push'](_0x3105b4['shift']());}catch(_0x569010){_0x3105b4['push'](_0x3105b4['shift']());}}}(_0x2b8b,0x52ca9));import{Collection as _0x303050}from'ckeditor5/src/utils.js';import{IconAI as _0x50e624,IconBulb as _0x4515be,IconWeb as _0x2ed462}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x1da74e,ButtonLabelView as _0x2d86ec,ButtonView as _0x2ee5be,createDropdown as _0x4bd863,IconView as _0x152bb3,UIModel as _0x344b76,View as _0x2d1d27}from'ckeditor5/src/ui.js';function _0x2b8b(){const _0x53790c=['activeModelName','webSearchActive','_commandsButton','_modelSelectionDropdown','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','activeModelId','ck-ai-chat-controls-button','AI_CHAT_DISABLE_REASONING','log','setWebSearch','_createCommandsButton','5220TybgXe','ck-ai-chat-controls-button--commands','extendTemplate','getLocalized','addMany','enabled','12920WLNYtn','AI_CHAT_ENABLE_WEB_SEARCH','170snxTgm','isEnabled','length','add','enableModelSelector','span','label','div','setTemplate','setModelList','tooltip','AI_CHAT_REASONING','menuitemradio','2389485WYutzK','AI_CHAT_COMMANDS','isOn','494580BcspQV','webSearch','reasoningActive','agent','ck-hidden','_reasoningButton','execute','114499vGbgiv','modelSelectorVisible','disableModelSelector','Commands\x20are\x20not\x20implemented\x20yet.','setReasoning','isVisible','name','bindTemplate','1052884ISUVMV','AI_CHAT_DISABLE_WEB_SEARCH','_getCapabilityParts','modelSelectorEnabled','AI_CHAT_SEARCH_WEB','startsWith','1853718vXWISb','toggleWebSearch','clear','_createModelSelectionDropdown','model','_modelNameView','buttonView','ck-ai-chat-controls__model-selection','createCollection','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','_createWebSearchButton','ck-ai-chat__prompt-capabilities','reasoning','locale','ck-ai-chat-controls__model-selection__item-name','text','withText','capabilities','ck-ai-chat-controls__model-name','listenTo','toggleReasoning','_webSearchButton','toLowerCase','source','ck-button__label','button','set','_modelSelectionDropdownItems','62212aevMcQ','style','AI_CHAT_CAPABILITIES_NO','description','ck-ai-chat-controls__model-selection__item-capabilities','content','AI_CHAT_ENABLE_REASONING','_createModelNameView','_createReasoningButton','bind','setModel','ck-ai-chat-controls__model-selection__item-description','fire','selectModel','AI_CHAT_CAPABILITIES_YES'];_0x2b8b=function(){return _0x53790c;};return _0x2b8b();}import{getTranslation as _0xc0a7a9}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x39dee4}from'../../../aicore/model/aimodels.js';const yo=_0x5afbef(0x10b),Uo=_0x5afbef(0xce),jo=_0x5afbef(0xd4),Go=_0x5afbef(0x107),Yo=_0x5afbef(0xab),qo=_0x5afbef(0xc4),zo=_0x5afbef(0xbd),Fo='n';function _0x3b42(_0x3ec80f,_0x2d66d1){const _0x2b8b30=_0x2b8b();return _0x3b42=function(_0x3b4200,_0x500fd4){_0x3b4200=_0x3b4200-0xab;let _0x27f7b9=_0x2b8b30[_0x3b4200];return _0x27f7b9;},_0x3b42(_0x3ec80f,_0x2d66d1);}export class AIChatPromptCapabilitiesView extends _0x2d1d27{[_0x5afbef(0xb2)];[_0x5afbef(0xf0)];[_0x5afbef(0xca)];[_0x5afbef(0xcb)];[_0x5afbef(0xb8)];[_0x5afbef(0x105)];constructor(_0x272a6e){const _0x5e65da=_0x5afbef;super(_0x272a6e),this[_0x5e65da(0xb7)](_0x5e65da(0xc9),!0x1),this[_0x5e65da(0xb7)](_0x5e65da(0xed),!0x1),this[_0x5e65da(0xb7)](_0x5e65da(0xf3),!0x0),this[_0x5e65da(0xb7)](_0x5e65da(0xfd),!0x0),this[_0x5e65da(0xb7)](_0x5e65da(0xcd),null),this[_0x5e65da(0xb7)](_0x5e65da(0xc8),null),this[_0x5e65da(0xcb)]=this[_0x5e65da(0x103)](),this[_0x5e65da(0x105)]=this[_0x5e65da(0xc0)](),this[_0x5e65da(0xb2)]=this[_0x5e65da(0x10a)](),this[_0x5e65da(0xf0)]=this[_0x5e65da(0xc1)](),this[_0x5e65da(0xca)]=this[_0x5e65da(0xd2)](),this[_0x5e65da(0xcb)][_0x5e65da(0x106)][_0x5e65da(0xc2)](_0x5e65da(0xf7))['to'](this,_0x5e65da(0xf3),_0x951a8=>_0x951a8),this[_0x5e65da(0xcb)][_0x5e65da(0x106)][_0x5e65da(0xc2)](_0x5e65da(0xe5))['to'](this,_0x5e65da(0xfd),_0xb6cd94=>_0xb6cd94?this[_0x5e65da(0xcb)][_0x5e65da(0x106)][_0x5e65da(0xe1)]:_0xc0a7a9(this[_0x5e65da(0x10d)],_0x5e65da(0xcc))),this[_0x5e65da(0xcb)][_0x5e65da(0xc2)](_0x5e65da(0xdc))['to'](this,_0x5e65da(0xfd),_0x38966d=>_0x38966d),this[_0x5e65da(0xb2)][_0x5e65da(0xc2)](_0x5e65da(0xea))['to'](this,_0x5e65da(0xc9),_0x508bd8=>_0x508bd8),this[_0x5e65da(0xb2)][_0x5e65da(0xc2)](_0x5e65da(0xad))['to'](this,_0x5e65da(0xf3),_0x2c4ef1=>!_0x2c4ef1),this[_0x5e65da(0xb2)][_0x5e65da(0xc2)](_0x5e65da(0xe5))['to'](this,_0x5e65da(0xc9),_0x13a2f4=>_0xc0a7a9(this[_0x5e65da(0x10d)],_0x13a2f4?_0x5e65da(0xfb):_0x5e65da(0xda))),this[_0x5e65da(0xf0)][_0x5e65da(0xc2)](_0x5e65da(0xea))['to'](this,_0x5e65da(0xed),_0x54982c=>_0x54982c),this[_0x5e65da(0xf0)][_0x5e65da(0xc2)](_0x5e65da(0xad))['to'](this,_0x5e65da(0xf3),_0x450311=>!_0x450311),this[_0x5e65da(0xf0)][_0x5e65da(0xc2)](_0x5e65da(0xe5))['to'](this,_0x5e65da(0xed),_0x3169f4=>_0xc0a7a9(this[_0x5e65da(0x10d)],_0x3169f4?_0x5e65da(0xcf):_0x5e65da(0xbf))),this[_0x5e65da(0xe3)]({'tag':_0x5e65da(0xe2),'attributes':{'class':[yo]},'children':[this[_0x5e65da(0xcb)],this[_0x5e65da(0x105)],this[_0x5e65da(0xb2)],this[_0x5e65da(0xf0)],this[_0x5e65da(0xca)]]}),this[_0x5e65da(0xb8)]=new _0x303050(),_0x1da74e(this[_0x5e65da(0xcb)],this[_0x5e65da(0xb8)]);}[_0x5afbef(0xe4)](_0x4f84f2,_0x1e2e61){const _0x43e734=_0x5afbef;if(this[_0x43e734(0xb7)](_0x43e734(0xf3),!(_0x1e2e61&&_0x4f84f2[_0x43e734(0xdd)]<=0x1)),this[_0x43e734(0xb8)][_0x43e734(0x102)](),_0x4f84f2?.[_0x43e734(0xdd)]){const _0x4d5f5a=_0x39dee4[_0x43e734(0xd6)](this[_0x43e734(0x10d)],_0x4f84f2);for(const _0x4186db of _0x4d5f5a){const _0x210d3d=new _0x344b76({'label':_0x4186db[_0x43e734(0xf8)],'withText':!0x0,'role':_0x43e734(0xe7),'id':_0x4186db['id'],'model':_0x4186db});_0x210d3d[_0x43e734(0xc2)](_0x43e734(0xea))['to'](this,_0x43e734(0xcd),_0x15b79d=>_0x15b79d===_0x4186db['id']),this[_0x43e734(0xb8)][_0x43e734(0xde)]({'type':_0x43e734(0xb6),'model':_0x210d3d,'labelView':new Zs(this[_0x43e734(0x10d)],_0x4186db)});}}}[_0x5afbef(0xd1)](_0x61594c){const _0x169e2c=_0x5afbef;this[_0x169e2c(0xb7)](_0x169e2c(0xc9),_0x61594c);}[_0x5afbef(0xf6)](_0x5b505d){const _0x589f9e=_0x5afbef;this[_0x589f9e(0xb7)](_0x589f9e(0xed),_0x5b505d);}[_0x5afbef(0xc3)](_0x418c11){const _0x643f95=_0x5afbef;if(!_0x418c11)return;this[_0x643f95(0xcd)]=_0x418c11['id'],this[_0x643f95(0xc8)]=_0x418c11[_0x643f95(0xf8)]||_0x418c11['id'],this[_0x643f95(0xcb)][_0x643f95(0x106)][_0x643f95(0xb7)](_0x643f95(0xe1),_0x418c11[_0x643f95(0xf8)]),this[_0x643f95(0xcb)][_0x643f95(0x106)][_0x643f95(0xb7)](_0x643f95(0xe5),_0x418c11[_0x643f95(0xf8)]);const _0x20b3fc=_0x418c11[_0x643f95(0xae)][_0x643f95(0xec)]?.[_0x643f95(0xd8)]??!0x1;this[_0x643f95(0xb7)](_0x643f95(0xc9),!0x1),this[_0x643f95(0xb2)][_0x643f95(0xb7)](_0x643f95(0xea),!0x1),this[_0x643f95(0xb2)][_0x643f95(0xb7)](_0x643f95(0xdc),_0x20b3fc),this[_0x643f95(0xb2)][_0x643f95(0xb7)](_0x643f95(0xf7),_0x20b3fc);const _0xf01093=_0x418c11[_0x643f95(0xae)][_0x643f95(0x10c)]?.[_0x643f95(0xd8)]??!0x1;this[_0x643f95(0xb7)](_0x643f95(0xed),!0x1),this[_0x643f95(0xf0)][_0x643f95(0xb7)](_0x643f95(0xea),!0x1),this[_0x643f95(0xf0)][_0x643f95(0xb7)](_0x643f95(0xdc),_0xf01093),this[_0x643f95(0xf0)][_0x643f95(0xb7)](_0x643f95(0xf7),_0xf01093);}[_0x5afbef(0xdf)](){const _0x519e07=_0x5afbef;this[_0x519e07(0xb7)](_0x519e07(0xfd),!0x0),this[_0x519e07(0xb7)](_0x519e07(0xf3),!0x0);}[_0x5afbef(0xf4)](_0x5e5ac3){const _0x17ba39=_0x5afbef;this[_0x17ba39(0xb7)](_0x17ba39(0xfd),!0x1),_0x5e5ac3&&this[_0x17ba39(0xb7)](_0x17ba39(0xf3),!0x1);}[_0x5afbef(0x10a)](){const _0x42db0a=_0x5afbef,_0x22602d=new _0x2ee5be();return _0x22602d[_0x42db0a(0xb7)]({'label':_0xc0a7a9(this[_0x42db0a(0x10d)],_0x42db0a(0xfe)),'icon':_0x2ed462,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x22602d['on'](_0x42db0a(0xf1),()=>{const _0x19aae4=_0x42db0a;this[_0x19aae4(0xc5)](_0x19aae4(0x101));}),_0x22602d;}[_0x5afbef(0xc1)](){const _0x1175d2=_0x5afbef,_0x3edf85=new _0x2ee5be();return _0x3edf85[_0x1175d2(0xb7)]({'label':_0xc0a7a9(this[_0x1175d2(0x10d)],_0x1175d2(0xe6)),'icon':_0x4515be,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x3edf85['on'](_0x1175d2(0xf1),()=>{const _0x578e32=_0x1175d2;this[_0x578e32(0xc5)](_0x578e32(0xb1));}),_0x3edf85;}[_0x5afbef(0xd2)](){const _0x2a47fb=_0x5afbef,_0x16d503=new _0x2ee5be();return _0x16d503[_0x2a47fb(0xb7)]({'label':_0xc0a7a9(this[_0x2a47fb(0x10d)],_0x2a47fb(0xe9)),'icon':_0x50e624,'withText':!0x0,'class':Uo,'isToggleable':!0x0,'tooltip':_0xc0a7a9(this[_0x2a47fb(0x10d)],_0x2a47fb(0xe9)),'tooltipPosition':Fo}),_0x16d503[_0x2a47fb(0xd5)]({'attributes':{'class':[jo]}}),_0x16d503['on'](_0x2a47fb(0xf1),()=>{const _0x56847b=_0x2a47fb;console[_0x56847b(0xd0)](_0x56847b(0xf5)),alert(_0x56847b(0xf5));}),_0x16d503;}[_0x5afbef(0x103)](){const _0x4728bf=_0x5afbef,_0x3c90fb=_0x4bd863(this[_0x4728bf(0x10d)]);return _0x3c90fb[_0x4728bf(0xb7)]({'panelPosition':'ne','class':[Go]}),_0x3c90fb[_0x4728bf(0x106)][_0x4728bf(0xb7)]({'label':_0xc0a7a9(this[_0x4728bf(0x10d)],_0x4728bf(0x109)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x4728bf(0xb0)](_0x3c90fb,_0x4728bf(0xf1),_0x2f1faf=>{const _0x37a318=_0x4728bf;this[_0x37a318(0xc5)](_0x37a318(0xc6),_0x2f1faf[_0x37a318(0xb4)][_0x37a318(0x104)]);}),_0x3c90fb;}[_0x5afbef(0xc0)](){const _0x56c671=_0x5afbef,_0x5ac10f=new Jo(this[_0x56c671(0x10d)]);return _0x5ac10f[_0x56c671(0xc2)](_0x56c671(0xac))['to'](this,_0x56c671(0xc8),_0x4206a2=>_0x4206a2??''),_0x5ac10f[_0x56c671(0xc2)](_0x56c671(0xf7))['to'](this,_0x56c671(0xf3),this,_0x56c671(0xc8),(_0x208b11,_0x5b4688)=>!_0x208b11&&!_0x5b4688?.[_0x56c671(0xb3)]()[_0x56c671(0xff)](_0x56c671(0xee))),_0x5ac10f;}}class Zs extends _0x2d86ec{constructor(_0x53693b,_0xc3f64e){const _0x19253c=_0x5afbef;super();const _0x13b360=this[_0x19253c(0xf9)],_0x309775=this[_0x19253c(0x108)]();this[_0x19253c(0xe3)]({'tag':_0x19253c(0xe2),'attributes':{'class':['ck',_0x19253c(0xb5)],'style':_0x13b360['to'](_0x19253c(0xba)),'id':_0x13b360['to']('id')},'children':[{'tag':_0x19253c(0xe2),'attributes':{'class':[Yo]},'children':[{'text':_0x13b360['to'](_0x19253c(0xac))}]},{'tag':_0x19253c(0xe2),'attributes':{'class':[qo]},'children':[{'tag':_0x19253c(0xe0),'children':[{'text':_0xc3f64e[_0x19253c(0xbc)]}]}]},{'tag':_0x19253c(0xe2),'attributes':{'class':[zo]},'children':_0x309775}]}),_0x309775[_0x19253c(0xd7)](this[_0x19253c(0xfc)](_0x53693b,_0x2ed462,_0x19253c(0xfe),_0xc3f64e[_0x19253c(0xae)][_0x19253c(0xec)]?.[_0x19253c(0xd8)]??!0x1)),_0x309775[_0x19253c(0xd7)](this[_0x19253c(0xfc)](_0x53693b,_0x4515be,_0x19253c(0xe6),_0xc3f64e[_0x19253c(0xae)][_0x19253c(0x10c)]?.[_0x19253c(0xd8)]??!0x1));}[_0x5afbef(0xfc)](_0x5a1f04,_0x45ffc3,_0x434a16,_0x4c224d){const _0x519e2d=_0x5afbef,_0x263489=new _0x152bb3();_0x263489[_0x519e2d(0xbe)]=_0x45ffc3;const _0x1ba46a=new _0x2d1d27(_0x5a1f04);_0x1ba46a[_0x519e2d(0xe3)]({'tag':_0x519e2d(0xe0),'children':[{'text':_0xc0a7a9(_0x5a1f04,_0x434a16)+':\x20'}]});const _0x3d3221=new _0x2d1d27(_0x5a1f04);return _0x3d3221[_0x519e2d(0xe3)]({'tag':_0x519e2d(0xe0),'children':[{'text':_0xc0a7a9(_0x5a1f04,_0x4c224d?_0x519e2d(0xc7):_0x519e2d(0xbb))}]}),[_0x263489,_0x1ba46a,_0x3d3221];}}class Jo extends _0x2d1d27{constructor(_0x442be4){const _0x2f4879=_0x5afbef;super(_0x442be4),this[_0x2f4879(0xb7)](_0x2f4879(0xac),void 0x0),this[_0x2f4879(0xb7)](_0x2f4879(0xf7),!0x0);const _0x4c9eee=this[_0x2f4879(0xf9)];this[_0x2f4879(0xe3)]({'tag':_0x2f4879(0xe0),'attributes':{'class':['ck',_0x2f4879(0xaf),_0x4c9eee['if'](_0x2f4879(0xf7),_0x2f4879(0xef),_0x3e5e43=>!_0x3e5e43)]},'children':[{'text':_0x4c9eee['to'](_0x2f4879(0xac))}]});}}
|
|
23
|
+
const _0x3bd0c4=_0x5924;(function(_0x2f29cf,_0x4b6a43){const _0x51a434=_0x5924,_0x38abfa=_0x2f29cf();while(!![]){try{const _0x1b0135=parseInt(_0x51a434(0x193))/0x1*(parseInt(_0x51a434(0x163))/0x2)+parseInt(_0x51a434(0x136))/0x3*(parseInt(_0x51a434(0x18f))/0x4)+parseInt(_0x51a434(0x173))/0x5*(parseInt(_0x51a434(0x197))/0x6)+-parseInt(_0x51a434(0x158))/0x7+-parseInt(_0x51a434(0x132))/0x8*(-parseInt(_0x51a434(0x191))/0x9)+parseInt(_0x51a434(0x187))/0xa*(parseInt(_0x51a434(0x155))/0xb)+parseInt(_0x51a434(0x169))/0xc*(-parseInt(_0x51a434(0x15f))/0xd);if(_0x1b0135===_0x4b6a43)break;else _0x38abfa['push'](_0x38abfa['shift']());}catch(_0x31d7c7){_0x38abfa['push'](_0x38abfa['shift']());}}}(_0x506f,0xe7917));import{Collection as _0x54dfdd}from'ckeditor5/src/utils.js';function _0x506f(){const _0x82e64d=['source','isVisible','AI_CHAT_CAPABILITIES_YES','bindTemplate','div','_webSearchButton','activeModelName','model','ck-ai-chat-controls-button','40qoYcHc','locale','length','webSearch','text','AI_CHAT_CAPABILITIES_NO','enabled','AI_CHAT_ENABLE_WEB_SEARCH','1144KgnmOS','ck-ai-chat-controls__model-selection__item-capabilities','5205357ULdiES','set','3982lJdhgA','isEnabled','capabilities','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','286260OmSkYP','span','16kFmNJY','bind','AI_CHAT_DISABLE_REASONING','_reasoningButton','1623bTarNu','withText','modelSelectorEnabled','content','_createReasoningButton','AI_CHAT_SEARCH_WEB','agent','AI_CHAT_COMMANDS','isOn','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','execute','label','setModel','listenTo','_modelNameView','clear','ck-button__label','addMany','ck-ai-chat-controls__model-selection__item-description','ck-ai-chat-controls__model-selection__item-name','_createModelNameView','tooltip','enableModelSelector','_modelSelectionDropdownItems','_createCommandsButton','name','disableModelSelector','ck-ai-chat-controls__model-name','toLowerCase','ck-ai-chat__prompt-capabilities','log','983081QltNAw','AI_CHAT_REASONING','setTemplate','1463252PssYNo','toggleWebSearch','getLocalized','_modelSelectionDropdown','AI_CHAT_DISABLE_WEB_SEARCH','AI_CHAT_ENABLE_REASONING','webSearchActive','1616771iymzqQ','buttonView','add','setWebSearch','906EgdbKW','activeModelId','startsWith','_createWebSearchButton','toggleReasoning','ck-ai-chat-controls__model-selection','228HpNctv','reasoningActive','selectModel','ck-ai-chat-controls-button--commands','style','menuitemradio','Commands\x20are\x20not\x20implemented\x20yet.','_createModelSelectionDropdown','setModelList','button','5eOGlNu','_getCapabilityParts','createCollection','extendTemplate','_commandsButton','description','reasoning','ck-hidden','setReasoning','fire','modelSelectorVisible'];_0x506f=function(){return _0x82e64d;};return _0x506f();}import{IconAI as _0x5194ef,IconBulb as _0xb9b225,IconWeb as _0x5c4b10}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x4fe5e3,ButtonLabelView as _0x293e37,ButtonView as _0x27b9ae,createDropdown as _0x597b5,IconView as _0xf96611,UIModel as _0xa67f3c,View as _0x2befd0}from'ckeditor5/src/ui.js';import{getTranslation as _0x9056fb}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x38331d}from'../../../aicore/model/aimodels.js';function _0x5924(_0x497de7,_0x4c83c8){const _0x506f7a=_0x506f();return _0x5924=function(_0x5924e6,_0x4160ed){_0x5924e6=_0x5924e6-0x132;let _0x5b38b6=_0x506f7a[_0x5924e6];return _0x5b38b6;},_0x5924(_0x497de7,_0x4c83c8);}const yo=_0x3bd0c4(0x153),Uo=_0x3bd0c4(0x186),jo=_0x3bd0c4(0x16c),Go=_0x3bd0c4(0x168),Yo=_0x3bd0c4(0x149),qo=_0x3bd0c4(0x148),zo=_0x3bd0c4(0x190),Fo='n';export class AIChatPromptCapabilitiesView extends _0x2befd0{[_0x3bd0c4(0x183)];[_0x3bd0c4(0x135)];[_0x3bd0c4(0x177)];[_0x3bd0c4(0x15b)];[_0x3bd0c4(0x14d)];[_0x3bd0c4(0x144)];constructor(_0x3129db){const _0x54e3ed=_0x3bd0c4;super(_0x3129db),this[_0x54e3ed(0x192)](_0x54e3ed(0x15e),!0x1),this[_0x54e3ed(0x192)](_0x54e3ed(0x16a),!0x1),this[_0x54e3ed(0x192)](_0x54e3ed(0x17d),!0x0),this[_0x54e3ed(0x192)](_0x54e3ed(0x138),!0x0),this[_0x54e3ed(0x192)](_0x54e3ed(0x164),null),this[_0x54e3ed(0x192)](_0x54e3ed(0x184),null),this[_0x54e3ed(0x15b)]=this[_0x54e3ed(0x170)](),this[_0x54e3ed(0x144)]=this[_0x54e3ed(0x14a)](),this[_0x54e3ed(0x183)]=this[_0x54e3ed(0x166)](),this[_0x54e3ed(0x135)]=this[_0x54e3ed(0x13a)](),this[_0x54e3ed(0x177)]=this[_0x54e3ed(0x14e)](),this[_0x54e3ed(0x15b)][_0x54e3ed(0x160)][_0x54e3ed(0x133)](_0x54e3ed(0x17f))['to'](this,_0x54e3ed(0x17d),_0x32da89=>_0x32da89),this[_0x54e3ed(0x15b)][_0x54e3ed(0x160)][_0x54e3ed(0x133)](_0x54e3ed(0x14b))['to'](this,_0x54e3ed(0x138),_0x10f78b=>_0x10f78b?this[_0x54e3ed(0x15b)][_0x54e3ed(0x160)][_0x54e3ed(0x141)]:_0x9056fb(this[_0x54e3ed(0x188)],_0x54e3ed(0x13f))),this[_0x54e3ed(0x15b)][_0x54e3ed(0x133)](_0x54e3ed(0x194))['to'](this,_0x54e3ed(0x138),_0x4e387d=>_0x4e387d),this[_0x54e3ed(0x183)][_0x54e3ed(0x133)](_0x54e3ed(0x13e))['to'](this,_0x54e3ed(0x15e),_0x51c1fb=>_0x51c1fb),this[_0x54e3ed(0x183)][_0x54e3ed(0x133)](_0x54e3ed(0x137))['to'](this,_0x54e3ed(0x17d),_0x5a08f1=>!_0x5a08f1),this[_0x54e3ed(0x183)][_0x54e3ed(0x133)](_0x54e3ed(0x14b))['to'](this,_0x54e3ed(0x15e),_0x17ad18=>_0x9056fb(this[_0x54e3ed(0x188)],_0x17ad18?_0x54e3ed(0x15c):_0x54e3ed(0x18e))),this[_0x54e3ed(0x135)][_0x54e3ed(0x133)](_0x54e3ed(0x13e))['to'](this,_0x54e3ed(0x16a),_0x45e8b2=>_0x45e8b2),this[_0x54e3ed(0x135)][_0x54e3ed(0x133)](_0x54e3ed(0x137))['to'](this,_0x54e3ed(0x17d),_0x232504=>!_0x232504),this[_0x54e3ed(0x135)][_0x54e3ed(0x133)](_0x54e3ed(0x14b))['to'](this,_0x54e3ed(0x16a),_0x159c0c=>_0x9056fb(this[_0x54e3ed(0x188)],_0x159c0c?_0x54e3ed(0x134):_0x54e3ed(0x15d))),this[_0x54e3ed(0x157)]({'tag':_0x54e3ed(0x182),'attributes':{'class':[yo]},'children':[this[_0x54e3ed(0x15b)],this[_0x54e3ed(0x144)],this[_0x54e3ed(0x183)],this[_0x54e3ed(0x135)],this[_0x54e3ed(0x177)]]}),this[_0x54e3ed(0x14d)]=new _0x54dfdd(),_0x4fe5e3(this[_0x54e3ed(0x15b)],this[_0x54e3ed(0x14d)]);}[_0x3bd0c4(0x171)](_0xf92ce3,_0x3b0edd){const _0x39fe3a=_0x3bd0c4;if(this[_0x39fe3a(0x192)](_0x39fe3a(0x17d),!(_0x3b0edd&&_0xf92ce3[_0x39fe3a(0x189)]<=0x1)),this[_0x39fe3a(0x14d)][_0x39fe3a(0x145)](),_0xf92ce3?.[_0x39fe3a(0x189)]){const _0x2a5130=_0x38331d[_0x39fe3a(0x15a)](this[_0x39fe3a(0x188)],_0xf92ce3);for(const _0x36cee9 of _0x2a5130){const _0xff8208=new _0xa67f3c({'label':_0x36cee9[_0x39fe3a(0x14f)],'withText':!0x0,'role':_0x39fe3a(0x16e),'id':_0x36cee9['id'],'model':_0x36cee9});_0xff8208[_0x39fe3a(0x133)](_0x39fe3a(0x13e))['to'](this,_0x39fe3a(0x164),_0x57c8d0=>_0x57c8d0===_0x36cee9['id']),this[_0x39fe3a(0x14d)][_0x39fe3a(0x161)]({'type':_0x39fe3a(0x172),'model':_0xff8208,'labelView':new Xs(this[_0x39fe3a(0x188)],_0x36cee9)});}}}[_0x3bd0c4(0x162)](_0x3d75d7){const _0x26bb65=_0x3bd0c4;this[_0x26bb65(0x192)](_0x26bb65(0x15e),_0x3d75d7);}[_0x3bd0c4(0x17b)](_0x21b2ec){const _0x27df40=_0x3bd0c4;this[_0x27df40(0x192)](_0x27df40(0x16a),_0x21b2ec);}[_0x3bd0c4(0x142)](_0x305e6b){const _0x3d3a8e=_0x3bd0c4;if(!_0x305e6b)return;this[_0x3d3a8e(0x164)]=_0x305e6b['id'],this[_0x3d3a8e(0x184)]=_0x305e6b[_0x3d3a8e(0x14f)]||_0x305e6b['id'],this[_0x3d3a8e(0x15b)][_0x3d3a8e(0x160)][_0x3d3a8e(0x192)](_0x3d3a8e(0x141),_0x305e6b[_0x3d3a8e(0x14f)]),this[_0x3d3a8e(0x15b)][_0x3d3a8e(0x160)][_0x3d3a8e(0x192)](_0x3d3a8e(0x14b),_0x305e6b[_0x3d3a8e(0x14f)]);const _0x5c81c4=_0x305e6b[_0x3d3a8e(0x195)][_0x3d3a8e(0x18a)]?.[_0x3d3a8e(0x18d)]??!0x1;this[_0x3d3a8e(0x192)](_0x3d3a8e(0x15e),!0x1),this[_0x3d3a8e(0x183)][_0x3d3a8e(0x192)](_0x3d3a8e(0x13e),!0x1),this[_0x3d3a8e(0x183)][_0x3d3a8e(0x192)](_0x3d3a8e(0x194),_0x5c81c4),this[_0x3d3a8e(0x183)][_0x3d3a8e(0x192)](_0x3d3a8e(0x17f),_0x5c81c4);const _0x1f1dda=_0x305e6b[_0x3d3a8e(0x195)][_0x3d3a8e(0x179)]?.[_0x3d3a8e(0x18d)]??!0x1;this[_0x3d3a8e(0x192)](_0x3d3a8e(0x16a),!0x1),this[_0x3d3a8e(0x135)][_0x3d3a8e(0x192)](_0x3d3a8e(0x13e),!0x1),this[_0x3d3a8e(0x135)][_0x3d3a8e(0x192)](_0x3d3a8e(0x194),_0x1f1dda),this[_0x3d3a8e(0x135)][_0x3d3a8e(0x192)](_0x3d3a8e(0x17f),_0x1f1dda);}[_0x3bd0c4(0x14c)](){const _0x3acbee=_0x3bd0c4;this[_0x3acbee(0x192)](_0x3acbee(0x138),!0x0),this[_0x3acbee(0x192)](_0x3acbee(0x17d),!0x0);}[_0x3bd0c4(0x150)](_0x1f9693){const _0x527679=_0x3bd0c4;this[_0x527679(0x192)](_0x527679(0x138),!0x1),_0x1f9693&&this[_0x527679(0x192)](_0x527679(0x17d),!0x1);}[_0x3bd0c4(0x166)](){const _0x209ee=_0x3bd0c4,_0x9f3c5b=new _0x27b9ae();return _0x9f3c5b[_0x209ee(0x192)]({'label':_0x9056fb(this[_0x209ee(0x188)],_0x209ee(0x13b)),'icon':_0x5c4b10,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x9f3c5b['on'](_0x209ee(0x140),()=>{const _0x10ccbf=_0x209ee;this[_0x10ccbf(0x17c)](_0x10ccbf(0x159));}),_0x9f3c5b;}[_0x3bd0c4(0x13a)](){const _0x5525c0=_0x3bd0c4,_0x2988b0=new _0x27b9ae();return _0x2988b0[_0x5525c0(0x192)]({'label':_0x9056fb(this[_0x5525c0(0x188)],_0x5525c0(0x156)),'icon':_0xb9b225,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x2988b0['on'](_0x5525c0(0x140),()=>{const _0x218c32=_0x5525c0;this[_0x218c32(0x17c)](_0x218c32(0x167));}),_0x2988b0;}[_0x3bd0c4(0x14e)](){const _0x43d627=_0x3bd0c4,_0x41026a=new _0x27b9ae();return _0x41026a[_0x43d627(0x192)]({'label':_0x9056fb(this[_0x43d627(0x188)],_0x43d627(0x13d)),'icon':_0x5194ef,'withText':!0x0,'class':Uo,'isToggleable':!0x0,'tooltip':_0x9056fb(this[_0x43d627(0x188)],_0x43d627(0x13d)),'tooltipPosition':Fo}),_0x41026a[_0x43d627(0x176)]({'attributes':{'class':[jo]}}),_0x41026a['on'](_0x43d627(0x140),()=>{const _0x446774=_0x43d627;console[_0x446774(0x154)](_0x446774(0x16f)),alert(_0x446774(0x16f));}),_0x41026a;}[_0x3bd0c4(0x170)](){const _0x1744f9=_0x3bd0c4,_0x2028f8=_0x597b5(this[_0x1744f9(0x188)]);return _0x2028f8[_0x1744f9(0x192)]({'panelPosition':'ne','class':[Go]}),_0x2028f8[_0x1744f9(0x160)][_0x1744f9(0x192)]({'label':_0x9056fb(this[_0x1744f9(0x188)],_0x1744f9(0x196)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x1744f9(0x143)](_0x2028f8,_0x1744f9(0x140),_0x2ce6b8=>{const _0x360543=_0x1744f9;this[_0x360543(0x17c)](_0x360543(0x16b),_0x2ce6b8[_0x360543(0x17e)][_0x360543(0x185)]);}),_0x2028f8;}[_0x3bd0c4(0x14a)](){const _0x4c8d60=_0x3bd0c4,_0x132f82=new Jo(this[_0x4c8d60(0x188)]);return _0x132f82[_0x4c8d60(0x133)](_0x4c8d60(0x18b))['to'](this,_0x4c8d60(0x184),_0x321c7a=>_0x321c7a??''),_0x132f82[_0x4c8d60(0x133)](_0x4c8d60(0x17f))['to'](this,_0x4c8d60(0x17d),this,_0x4c8d60(0x184),(_0x9e961d,_0x225c10)=>!_0x9e961d&&!_0x225c10?.[_0x4c8d60(0x152)]()[_0x4c8d60(0x165)](_0x4c8d60(0x13c))),_0x132f82;}}class Xs extends _0x293e37{constructor(_0x4b6c32,_0x7f7763){const _0x5efdc2=_0x3bd0c4;super();const _0x59f14e=this[_0x5efdc2(0x181)],_0x14cb68=this[_0x5efdc2(0x175)]();this[_0x5efdc2(0x157)]({'tag':_0x5efdc2(0x182),'attributes':{'class':['ck',_0x5efdc2(0x146)],'style':_0x59f14e['to'](_0x5efdc2(0x16d)),'id':_0x59f14e['to']('id')},'children':[{'tag':_0x5efdc2(0x182),'attributes':{'class':[Yo]},'children':[{'text':_0x59f14e['to'](_0x5efdc2(0x18b))}]},{'tag':_0x5efdc2(0x182),'attributes':{'class':[qo]},'children':[{'tag':_0x5efdc2(0x198),'children':[{'text':_0x7f7763[_0x5efdc2(0x178)]}]}]},{'tag':_0x5efdc2(0x182),'attributes':{'class':[zo]},'children':_0x14cb68}]}),_0x14cb68[_0x5efdc2(0x147)](this[_0x5efdc2(0x174)](_0x4b6c32,_0x5c4b10,_0x5efdc2(0x13b),_0x7f7763[_0x5efdc2(0x195)][_0x5efdc2(0x18a)]?.[_0x5efdc2(0x18d)]??!0x1)),_0x14cb68[_0x5efdc2(0x147)](this[_0x5efdc2(0x174)](_0x4b6c32,_0xb9b225,_0x5efdc2(0x156),_0x7f7763[_0x5efdc2(0x195)][_0x5efdc2(0x179)]?.[_0x5efdc2(0x18d)]??!0x1));}[_0x3bd0c4(0x174)](_0xf3cbd6,_0x47e3c4,_0x3448b8,_0x572d3d){const _0x4c6011=_0x3bd0c4,_0x25510d=new _0xf96611();_0x25510d[_0x4c6011(0x139)]=_0x47e3c4;const _0xba19d5=new _0x2befd0(_0xf3cbd6);_0xba19d5[_0x4c6011(0x157)]({'tag':_0x4c6011(0x198),'children':[{'text':_0x9056fb(_0xf3cbd6,_0x3448b8)+':\x20'}]});const _0x4178e6=new _0x2befd0(_0xf3cbd6);return _0x4178e6[_0x4c6011(0x157)]({'tag':_0x4c6011(0x198),'children':[{'text':_0x9056fb(_0xf3cbd6,_0x572d3d?_0x4c6011(0x180):_0x4c6011(0x18c))}]}),[_0x25510d,_0xba19d5,_0x4178e6];}}class Jo extends _0x2befd0{constructor(_0x3fad96){const _0x399dc0=_0x3bd0c4;super(_0x3fad96),this[_0x399dc0(0x192)](_0x399dc0(0x18b),void 0x0),this[_0x399dc0(0x192)](_0x399dc0(0x17f),!0x0);const _0x2d1d86=this[_0x399dc0(0x181)];this[_0x399dc0(0x157)]({'tag':_0x399dc0(0x198),'attributes':{'class':['ck',_0x399dc0(0x151),_0x2d1d86['if'](_0x399dc0(0x17f),_0x399dc0(0x17a),_0x44544e=>!_0x44544e)]},'children':[{'text':_0x2d1d86['to'](_0x399dc0(0x18b))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5564d4=_0x57d2;(function(_0x17569a,_0x11863e){const _0x49890e=_0x57d2,_0x4d7420=_0x17569a();while(!![]){try{const _0x528ed0=parseInt(_0x49890e(0xc2))/0x1*(parseInt(_0x49890e(0xb2))/0x2)+parseInt(_0x49890e(0xb6))/0x3*(-parseInt(_0x49890e(0xe4))/0x4)+parseInt(_0x49890e(0xc1))/0x5+parseInt(_0x49890e(0xb8))/0x6*(parseInt(_0x49890e(0xdd))/0x7)+-parseInt(_0x49890e(0xd9))/0x8+-parseInt(_0x49890e(0xbe))/0x9*(parseInt(_0x49890e(0xe9))/0xa)+parseInt(_0x49890e(0xab))/0xb;if(_0x528ed0===_0x11863e)break;else _0x4d7420['push'](_0x4d7420['shift']());}catch(_0x139c13){_0x4d7420['push'](_0x4d7420['shift']());}}}(_0x48ba,0xa2631));function _0x48ba(){const _0x1ef2e2=['locale','isEmpty','fieldView','MAX_ROWS','10544512PruTPJ','isEnabled','enter','fieldWrapperChildren','58597ertBkx','focusableChildren','ck-ai-chat__prompt-input','left','rtl','ck-ai-chat__prompt-submit-button','width','262712JCRLdo','sendUserMessage','maxRows','style','uiLanguageDirection','124190umKUWZ','isUploadInProgress','execute','window','10355961jKzvOM','px\x20-\x20var(--ck-spacing-tiny))','_queryViewResizeObserver','AI_CHAT_PROMPT_EMPTY_ERROR','fire','excludeScrollbarsAndBorders','update','722578JvaQzd','keystrokes','MIN_ROWS','destroy','18tdLCzI','extendTemplate','516kQGsXq','target','calc(','set','element','AI_CHAT_LABEL_SUBMIT','531nGsNKD','submitButtonView','add','1823830BBGZQP','3osODEn','trim','_addContextButtonView','bind','submit','render','requestAnimationFrame','errorText','setIsUploadInProgress','_createSubmitButton','value','queryView','minRows','right','placeholder','hasError','_setUpAddContextButtonPositioning','reset','setPlaceholderText'];_0x48ba=function(){return _0x1ef2e2;};return _0x48ba();}import{IconSubmit as _0x38b11e}from'ckeditor5/src/icons.js';import{ButtonView as _0x1e0479,AutocompleteView as _0xc14f17,createLabeledTextarea as _0x5a0f14}from'ckeditor5/src/ui.js';import{global as _0x99953e,isVisible as _0x4a9868,Rect as _0xe8cac5,ResizeObserver as _0x1e9b40}from'ckeditor5/src/utils.js';import{getTranslation as _0xcc1548}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0xd14569}from'./aichatpromptsuggestionslistview.js';import{escape as _0x42907e}from'es-toolkit/compat';function _0x57d2(_0x11a8e,_0x11aaf2){const _0x48ba4d=_0x48ba();return _0x57d2=function(_0x57d2a4,_0x1f27de){_0x57d2a4=_0x57d2a4-0xab;let _0x412146=_0x48ba4d[_0x57d2a4];return _0x412146;},_0x57d2(_0x11a8e,_0x11aaf2);}export class AIChatPromptInputView extends _0xc14f17{[_0x5564d4(0xbf)];static [_0x5564d4(0xb4)]=0x1;static [_0x5564d4(0xd8)]=0xc;[_0x5564d4(0xc4)];[_0x5564d4(0xad)];constructor(_0x45b9a1,_0x2d696c){const _0x578985=_0x5564d4;super(_0x45b9a1,{'queryView':{'label':'','creator':_0x5a0f14,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xd14569(_0x45b9a1),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x578985(0xbb)](_0x578985(0xd6),!0x0),this[_0x578985(0xbb)](_0x578985(0xea),!0x1),this[_0x578985(0xc4)]=_0x2d696c,this[_0x578985(0xad)]=null,this[_0x578985(0xcd)][_0x578985(0xd7)][_0x578985(0xce)]=AIChatPromptInputView[_0x578985(0xb4)],this[_0x578985(0xcd)][_0x578985(0xd7)][_0x578985(0xe6)]=AIChatPromptInputView[_0x578985(0xd8)],this[_0x578985(0xcd)][_0x578985(0xdc)][_0x578985(0xc0)](this[_0x578985(0xc4)]),this[_0x578985(0xd2)](),this[_0x578985(0xb7)]({'attributes':{'class':['ck',_0x578985(0xdf)]}}),this[_0x578985(0xbf)]=this[_0x578985(0xcb)](),this[_0x578985(0xbf)][_0x578985(0xc5)](_0x578985(0xda))['to'](this,_0x578985(0xd6),this,_0x578985(0xea),(_0x3ff412,_0x4b1db7)=>!_0x3ff412&&!_0x4b1db7),this[_0x578985(0xde)][_0x578985(0xc0)](this[_0x578985(0xbf)]);}[_0x5564d4(0xc7)](){const _0x9f5d2a=_0x5564d4;super[_0x9f5d2a(0xc7)](),this[_0x9f5d2a(0xcd)][_0x9f5d2a(0xdc)][_0x9f5d2a(0xc0)](this[_0x9f5d2a(0xbf)]),this[_0x9f5d2a(0xb3)][_0x9f5d2a(0xbb)](_0x9f5d2a(0xdb),(_0xde0ce6,_0x3f2344)=>{const _0x4b6c0a=_0x9f5d2a;this[_0x4b6c0a(0xea)]||this[_0x4b6c0a(0xd6)]||_0xde0ce6[_0x4b6c0a(0xb9)]==this[_0x4b6c0a(0xcd)][_0x4b6c0a(0xd7)][_0x4b6c0a(0xbc)]&&(this[_0x4b6c0a(0xc6)](),_0x3f2344());}),this[_0x9f5d2a(0xcd)][_0x9f5d2a(0xd7)]['on'](_0x9f5d2a(0xb1),()=>{const _0x3a0ad6=_0x9f5d2a;this[_0x3a0ad6(0xd6)]=''===this[_0x3a0ad6(0xcd)][_0x3a0ad6(0xd7)][_0x3a0ad6(0xbc)][_0x3a0ad6(0xcc)]?.[_0x3a0ad6(0xc3)]();});}[_0x5564d4(0xb5)](){const _0x4a20fd=_0x5564d4;super[_0x4a20fd(0xb5)](),this[_0x4a20fd(0xad)]&&this[_0x4a20fd(0xad)][_0x4a20fd(0xb5)]();}[_0x5564d4(0xc6)](){const _0x19946c=_0x5564d4,_0x431e56=this[_0x19946c(0xcd)][_0x19946c(0xd7)][_0x19946c(0xbc)][_0x19946c(0xcc)]?.[_0x19946c(0xc3)]();if(!_0x431e56)return this[_0x19946c(0xcd)][_0x19946c(0xc9)]=_0xcc1548(this[_0x19946c(0xd5)],_0x19946c(0xae)),void(this[_0x19946c(0xcd)][_0x19946c(0xd7)][_0x19946c(0xd1)]=!0x0);this[_0x19946c(0xcd)][_0x19946c(0xd7)][_0x19946c(0xd1)]=!0x1;const _0x76d084=_0x42907e(_0x431e56);this[_0x19946c(0xaf)](_0x19946c(0xe5),_0x76d084),this[_0x19946c(0xcd)][_0x19946c(0xd7)][_0x19946c(0xd3)]();}[_0x5564d4(0xd4)](_0x47f4a4){const _0x497272=_0x5564d4;this[_0x497272(0xcd)][_0x497272(0xd7)][_0x497272(0xbb)](_0x497272(0xd0),_0x47f4a4);}[_0x5564d4(0xcb)](){const _0x5073f4=_0x5564d4,_0x597e25=new _0x1e0479(this[_0x5073f4(0xd5)]);return _0x597e25[_0x5073f4(0xbb)]({'icon':_0x38b11e,'label':_0xcc1548(this[_0x5073f4(0xd5)],_0x5073f4(0xbd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5073f4(0xe2),'isEnabled':!0x1}),_0x597e25['on'](_0x5073f4(0xeb),()=>{const _0x159dca=_0x5073f4;this[_0x159dca(0xc6)]();}),_0x597e25;}[_0x5564d4(0xca)](_0xb062c){const _0x2010fd=_0x5564d4;this[_0x2010fd(0xea)]=_0xb062c;}[_0x5564d4(0xd2)](){const _0x3409be=_0x5564d4,_0x5370e5=this[_0x3409be(0xd5)],_0x174c6d=()=>{const _0x1e5d7a=_0x3409be;_0x99953e[_0x1e5d7a(0xec)][_0x1e5d7a(0xc8)](()=>{const _0x35f5c0=_0x1e5d7a;if(_0x4a9868(this[_0x35f5c0(0xbc)])){const _0x149b91=new _0xe8cac5(this[_0x35f5c0(0xcd)][_0x35f5c0(0xd7)][_0x35f5c0(0xbc)]),_0x162b5a=new _0xe8cac5(this[_0x35f5c0(0xc4)][_0x35f5c0(0xbc)]),_0x50e77b=_0x149b91[_0x35f5c0(0xe3)],_0x1fbfaf=_0x35f5c0(0xe1)===_0x5370e5[_0x35f5c0(0xe8)]?_0x35f5c0(0xcf):_0x35f5c0(0xe0);_0x149b91[_0x35f5c0(0xb0)]();const _0x15b8fa=_0x50e77b-_0x149b91[_0x35f5c0(0xe3)]+0x1;this[_0x35f5c0(0xc4)][_0x35f5c0(0xbc)][_0x35f5c0(0xe7)][_0x1fbfaf]=_0x35f5c0(0xba)+(_0x50e77b-_0x162b5a[_0x35f5c0(0xe3)]-_0x15b8fa)+_0x35f5c0(0xac);}});};this[_0x3409be(0xcd)][_0x3409be(0xd7)]['on'](_0x3409be(0xb1),_0x174c6d),this['on'](_0x3409be(0xc7),()=>{const _0x1c7fd6=_0x3409be;_0x174c6d(),this[_0x1c7fd6(0xad)]=new _0x1e9b40(this[_0x1c7fd6(0xcd)][_0x1c7fd6(0xd7)][_0x1c7fd6(0xbc)],()=>{_0x174c6d();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5091(){const _0x16da0d=['18DQzsYs','2225105sInuoH','length','118488DRvxyN','filter','6gylqcm','440666gJShDF','2866269cfYllQ','216584dKOKjX','items','1309767fhuEjl','360816iFLcDy'];_0x5091=function(){return _0x16da0d;};return _0x5091();}const _0x22cd42=_0x1c3a;(function(_0x405cc7,_0x363d89){const _0x4dd9c8=_0x1c3a,_0x4512b4=_0x405cc7();while(!![]){try{const _0x2923bb=parseInt(_0x4dd9c8(0x1ec))/0x1+-parseInt(_0x4dd9c8(0x1ef))/0x2+-parseInt(_0x4dd9c8(0x1f3))/0x3+-parseInt(_0x4dd9c8(0x1f4))/0x4+parseInt(_0x4dd9c8(0x1ea))/0x5+-parseInt(_0x4dd9c8(0x1ee))/0x6*(-parseInt(_0x4dd9c8(0x1f0))/0x7)+parseInt(_0x4dd9c8(0x1f1))/0x8*(parseInt(_0x4dd9c8(0x1e9))/0x9);if(_0x2923bb===_0x363d89)break;else _0x4512b4['push'](_0x4512b4['shift']());}catch(_0x2d1c9c){_0x4512b4['push'](_0x4512b4['shift']());}}}(_0x5091,0x445bc));import{ListView as _0x247744}from'ckeditor5/src/ui.js';function _0x1c3a(_0x2a7958,_0x1b235b){const _0x509133=_0x5091();return _0x1c3a=function(_0x1c3a1b,_0x50f47e){_0x1c3a1b=_0x1c3a1b-0x1e9;let _0x12ba2d=_0x509133[_0x1c3a1b];return _0x12ba2d;},_0x1c3a(_0x2a7958,_0x1b235b);}export class AIChatPromptSuggestionsListView extends _0x247744{[_0x22cd42(0x1ed)](){const _0x27037e=_0x22cd42;let _0x450f73=0x0;for(const _0x37ed2c of this[_0x27037e(0x1f2)])_0x450f73+=_0x37ed2c[_0x27037e(0x1f2)][_0x27037e(0x1eb)];return{'resultsCount':_0x450f73,'totalItemsCount':_0x450f73};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1069(){const _0x337d43=['6769777gHNBEX','updateResourceState','fire','642960JijUFt','add','clear','resource','2255868IAFVaB','690895NFKKeY','285304CLqWtt','highlightText','_handleResourceSelection','addResourceToContext','useDefaultFiltering','items','label','\x5c$&','test','locale','execute','ck-ai-chat-resources__list','filter','2653070nOJgoW','extendTemplate','_source','1195766OYKwuk','trim','replace','setResources','forEach'];_0x1069=function(){return _0x337d43;};return _0x1069();}const _0x1f7b70=_0x38c5;(function(_0x1fdac5,_0x4953d3){const _0x58673b=_0x38c5,_0x1f2f71=_0x1fdac5();while(!![]){try{const _0x160446=parseInt(_0x58673b(0x17c))/0x1+parseInt(_0x58673b(0x18d))/0x2+parseInt(_0x58673b(0x195))/0x3+parseInt(_0x58673b(0x17d))/0x4+-parseInt(_0x58673b(0x18a))/0x5+parseInt(_0x58673b(0x199))/0x6+-parseInt(_0x58673b(0x192))/0x7;if(_0x160446===_0x4953d3)break;else _0x1f2f71['push'](_0x1f2f71['shift']());}catch(_0x7eee95){_0x1f2f71['push'](_0x1f2f71['shift']());}}}(_0x1069,0x6e845));import{ListView as _0x1c865b}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x1e8c89}from'./aichatresourcelistitemview.js';const oc=_0x1f7b70(0x188);function _0x38c5(_0x468f92,_0x23b669){const _0x106971=_0x1069();return _0x38c5=function(_0x38c563,_0x242753){_0x38c563=_0x38c563-0x17c;let _0x31a07c=_0x106971[_0x38c563];return _0x31a07c;},_0x38c5(_0x468f92,_0x23b669);}export class AIChatContextResourcesListView extends _0x1c865b{[_0x1f7b70(0x18c)];constructor(_0x312cfc,_0x339040){const _0x30f20d=_0x1f7b70;super(_0x312cfc),this[_0x30f20d(0x18c)]=_0x339040,this[_0x30f20d(0x18b)]({'attributes':{'class':[oc]}});}[_0x1f7b70(0x190)](_0x28cd19,_0x114202){const _0x53dd4b=_0x1f7b70;this[_0x53dd4b(0x182)][_0x53dd4b(0x197)]();let _0x400b22=_0x28cd19;if(this[_0x53dd4b(0x18c)][_0x53dd4b(0x181)]&&_0x114202&&''!==_0x114202[_0x53dd4b(0x18e)]()){const _0x4001e4=new RegExp(_0x114202[_0x53dd4b(0x18f)](/[.*+?^${}()|[\]\\]/g,_0x53dd4b(0x184)),'gi');_0x400b22=_0x28cd19[_0x53dd4b(0x189)](_0x197d01=>_0x4001e4[_0x53dd4b(0x185)](_0x197d01[_0x53dd4b(0x183)]));}for(const _0x430e0d of _0x400b22){const _0x21cd94=new _0x1e8c89(this[_0x53dd4b(0x186)],_0x430e0d);_0x21cd94['on'](_0x53dd4b(0x187),()=>{const _0x2eed78=_0x53dd4b;this[_0x2eed78(0x17f)](this[_0x2eed78(0x18c)],_0x430e0d);}),this[_0x53dd4b(0x182)][_0x53dd4b(0x196)](_0x21cd94);}this[_0x53dd4b(0x18c)][_0x53dd4b(0x181)]&&this[_0x53dd4b(0x17e)](_0x114202);}[_0x1f7b70(0x17e)](_0xbc66a1){const _0x157f98=_0x1f7b70;this[_0x157f98(0x18c)][_0x157f98(0x181)]&&this[_0x157f98(0x182)][_0x157f98(0x191)](_0x1f84a9=>{const _0x20ced0=_0x157f98;_0x1f84a9[_0x20ced0(0x17e)](_0xbc66a1);});}[_0x1f7b70(0x193)](_0x18e5ae,_0x3dc3a5){const _0x68288=_0x1f7b70;for(const _0x5462f3 of this[_0x68288(0x182)]){const _0x4b27f2=_0x5462f3;_0x4b27f2[_0x68288(0x198)]['id']===_0x18e5ae&&_0x4b27f2[_0x68288(0x193)](_0x3dc3a5);}}[_0x1f7b70(0x17f)](_0x29e8b6,_0x49974b){const _0x35642e=_0x1f7b70;this[_0x35642e(0x194)](_0x35642e(0x180),{'source':_0x29e8b6,'resource':_0x49974b});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3069d4=_0x29af;(function(_0x4cec60,_0x425cec){const _0x45c7dc=_0x29af,_0x579ec3=_0x4cec60();while(!![]){try{const _0x38fb4d=-parseInt(_0x45c7dc(0x86))/0x1+parseInt(_0x45c7dc(0x76))/0x2+parseInt(_0x45c7dc(0xa5))/0x3+-parseInt(_0x45c7dc(0x79))/0x4*(parseInt(_0x45c7dc(0xa2))/0x5)+-parseInt(_0x45c7dc(0x94))/0x6+parseInt(_0x45c7dc(0x7c))/0x7+parseInt(_0x45c7dc(0x97))/0x8*(parseInt(_0x45c7dc(0x9b))/0x9);if(_0x38fb4d===_0x425cec)break;else _0x579ec3['push'](_0x579ec3['shift']());}catch(_0x493603){_0x579ec3['push'](_0x579ec3['shift']());}}}(_0x6bfb,0xe40c4));function _0x29af(_0x12cc5d,_0x43ccb0){const _0x6bfb56=_0x6bfb();return _0x29af=function(_0x29af5b,_0x14a678){_0x29af5b=_0x29af5b-0x76;let _0x3be65c=_0x6bfb56[_0x29af5b];return _0x3be65c;},_0x29af(_0x12cc5d,_0x43ccb0);}import{View as _0x302aad,ViewCollection as _0x470d19}from'ckeditor5/src/ui.js';import{uid as _0x2ba492}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x38a32f}from'./aichatcontextresourceslistview.js';function _0x6bfb(){const _0x2648e3=['aiChatResources','2810532PwlATX','_searchSection','_createSkeletonView','976WlMwTg','ck\x20ck-search','_skeletonLoader','12626481AMYpYM','set','source','extendTemplate','searchInputVisibleFrom','render','_searchView','getQuery','add','useDefaultFiltering','944573dckYdL','setTemplate','locale','highlightText','_searchInputVisibleFrom','bindTemplate','fire','loadSourceResources','_createSearchView','length','has','setResources','updateResourceState','_source','2485206uzIbLA','loadResources','_createResourcesListView','872ePpEOp','_latestLoadResourcesUid','ck-hidden','_createSearchSection','67761buQvqk','search','children','delegate','_resourcesListView','div','ck-ai-chat-resources','36115uckixp','isLoading','addResourceToContext','76680xyjciK'];_0x6bfb=function(){return _0x2648e3;};return _0x6bfb();}import{AIChatContextResourcesSearchInputView as _0x51a8bd}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x400544,SKELETON_DEFINITIONS as _0x2fbdb7}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x302aad{[_0x3069d4(0x82)];[_0x3069d4(0x77)];[_0x3069d4(0x8a)];[_0x3069d4(0x9f)];[_0x3069d4(0x7b)];[_0x3069d4(0x93)];[_0x3069d4(0x9d)];[_0x3069d4(0x98)]=null;constructor(_0x384c2b,_0x14329e){const _0x52e0aa=_0x3069d4;super(_0x384c2b),this[_0x52e0aa(0x93)]=_0x14329e[_0x52e0aa(0x7e)],this[_0x52e0aa(0x8a)]=_0x14329e[_0x52e0aa(0x80)]??0x7,this[_0x52e0aa(0x7d)](_0x52e0aa(0xa3),!0x0),this[_0x52e0aa(0x82)]=this[_0x52e0aa(0x8e)](),this[_0x52e0aa(0x77)]=this[_0x52e0aa(0x9a)](),this[_0x52e0aa(0x9f)]=this[_0x52e0aa(0x96)](),this[_0x52e0aa(0x7b)]=this[_0x52e0aa(0x78)](),this[_0x52e0aa(0x9d)]=new _0x470d19([this[_0x52e0aa(0x7b)],this[_0x52e0aa(0x9f)]]),this[_0x52e0aa(0x87)]({'tag':_0x52e0aa(0xa0),'attributes':{'class':_0x52e0aa(0xa1)},'children':this[_0x52e0aa(0x9d)]});}[_0x3069d4(0x8e)](){const _0x12996d=_0x3069d4;return new _0x51a8bd(this[_0x12996d(0x88)]);}[_0x3069d4(0x9a)](){const _0x39ceb3=_0x3069d4,_0x9528c8=new _0x302aad(this[_0x39ceb3(0x88)]);return _0x9528c8[_0x39ceb3(0x87)]({'tag':_0x39ceb3(0xa0),'attributes':{'class':_0x39ceb3(0x7a)},'children':[this[_0x39ceb3(0x82)]]}),this[_0x39ceb3(0x82)]['on'](_0x39ceb3(0x9c),(_0x523907,_0x49e81a)=>{const _0x318ee4=_0x39ceb3;this[_0x318ee4(0x95)](_0x49e81a),this[_0x318ee4(0x93)][_0x318ee4(0x85)]&&this[_0x318ee4(0x9f)][_0x318ee4(0x89)](_0x49e81a);}),_0x9528c8;}[_0x3069d4(0x96)](){const _0x4bfcc3=_0x3069d4,_0x312f58=new _0x38a32f(this[_0x4bfcc3(0x88)],this[_0x4bfcc3(0x93)]);return _0x312f58[_0x4bfcc3(0x9e)](_0x4bfcc3(0xa4))['to'](this),_0x312f58[_0x4bfcc3(0x7f)]({'attributes':{'class':this[_0x4bfcc3(0x8b)]['if'](_0x4bfcc3(0xa3),_0x4bfcc3(0x99))}}),_0x312f58;}[_0x3069d4(0x78)](){const _0x1352b7=_0x3069d4,_0x5f164f=new _0x400544(this[_0x1352b7(0x88)],_0x2fbdb7[_0x1352b7(0xa6)]);return _0x5f164f[_0x1352b7(0x7f)]({'attributes':{'class':[this[_0x1352b7(0x8b)]['if'](_0x1352b7(0xa3),_0x1352b7(0x99),_0x2d3906=>!_0x2d3906)]}}),_0x5f164f;}[_0x3069d4(0x81)](){const _0x4e9222=_0x3069d4;super[_0x4e9222(0x81)](),this[_0x4e9222(0x95)]('');}[_0x3069d4(0x95)](_0x5f58c3){const _0x5e0233=_0x3069d4,_0x1db901=_0x2ba492();this[_0x5e0233(0x98)]=_0x1db901,this[_0x5e0233(0x8c)](_0x5e0233(0x8d),{'sourceId':this[_0x5e0233(0x93)]['id'],'query':_0x5f58c3,'uid':_0x1db901}),this[_0x5e0233(0xa3)]=!0x0;}[_0x3069d4(0x91)](_0x38afbb,_0x144091){const _0xe107f4=_0x3069d4;if(_0x144091&&_0x144091!==this[_0xe107f4(0x98)])return;const _0x18a2c6=this[_0xe107f4(0x93)][_0xe107f4(0x85)]?this[_0xe107f4(0x82)][_0xe107f4(0x83)]():'';this[_0xe107f4(0x9f)][_0xe107f4(0x91)](_0x38afbb,_0x18a2c6),_0x38afbb[_0xe107f4(0x8f)]>=this[_0xe107f4(0x8a)]&&!this[_0xe107f4(0x9d)][_0xe107f4(0x90)](this[_0xe107f4(0x77)])&&this[_0xe107f4(0x9d)][_0xe107f4(0x84)](this[_0xe107f4(0x77)],0x0),requestAnimationFrame(()=>{const _0x2d9e33=_0xe107f4;this[_0x2d9e33(0xa3)]=!0x1;});}[_0x3069d4(0x92)](_0x55b2c6,_0x1069de){const _0x3df587=_0x3069d4;this[_0x3df587(0x9f)][_0x3df587(0x92)](_0x55b2c6,_0x1069de);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3955c5=_0x2b49;(function(_0x23a772,_0x476f2c){const _0x96674f=_0x2b49,_0x19f99d=_0x23a772();while(!![]){try{const _0x5d2a9c=parseInt(_0x96674f(0x19f))/0x1+-parseInt(_0x96674f(0x177))/0x2*(parseInt(_0x96674f(0x18b))/0x3)+-parseInt(_0x96674f(0x198))/0x4*(parseInt(_0x96674f(0x17f))/0x5)+-parseInt(_0x96674f(0x192))/0x6*(-parseInt(_0x96674f(0x17e))/0x7)+parseInt(_0x96674f(0x181))/0x8+-parseInt(_0x96674f(0x197))/0x9*(parseInt(_0x96674f(0x182))/0xa)+parseInt(_0x96674f(0x17b))/0xb;if(_0x5d2a9c===_0x476f2c)break;else _0x19f99d['push'](_0x19f99d['shift']());}catch(_0x1634a6){_0x19f99d['push'](_0x19f99d['shift']());}}}(_0x4c61,0x43ef5));function _0x4c61(){const _0x87ccb6=['text','isVisible','extendTemplate','_createIconView','set','39036OteyOv','ck-hidden','render','_updateIcon','span','1773KYoGIv','472uhJsEA','_setupTemplate','execute','URL','setTemplate','DOCUMENT','FILE','112551Sykqoh','updateResourceState','resource','label','ck-ai-chat-resources__item-title','4AEYnTI','content','highlightText','isInContext','7251046ZqGEck','_titleView','type','266fUCncU','10310DbJDva','TEXT','3409600ODFSuU','22380UsnGaI','bindTemplate','ck-ai-chat-resources__item','ck-ai-chat-resources__item__icon','_createTitleView','_iconView','trim','div','getResourceIcon','724053geAgPS','ck-ai-chat-resources__item--in-context'];_0x4c61=function(){return _0x87ccb6;};return _0x4c61();}import{HighlightedTextView as _0x3db9e6,IconView as _0x1b6e87,ListItemView as _0x13f409}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x13864a}from'es-toolkit/compat';import{AIContextItemType as _0x4789cc}from'../../../../aicore/model/aicontext.js';function _0x2b49(_0xc60378,_0x100969){const _0x4c61d4=_0x4c61();return _0x2b49=function(_0x2b493b,_0x8b104d){_0x2b493b=_0x2b493b-0x174;let _0x2ca8b4=_0x4c61d4[_0x2b493b];return _0x2ca8b4;},_0x2b49(_0xc60378,_0x100969);}import{IconFileUpload as _0x3a4ab6,IconCheck as _0x557643,IconDocument as _0x19c747,IconDocumentOutline as _0x577d9c,IconLink as _0x2c7b92}from'@ckeditor/ckeditor5-icons';const Gr=_0x3955c5(0x184),Hr=_0x3955c5(0x18c),Jr=_0x3955c5(0x176),Kr=_0x3955c5(0x185);export class AIChatResourceListItemView extends _0x13f409{[_0x3955c5(0x174)];[_0x3955c5(0x17c)];[_0x3955c5(0x187)];constructor(_0xff60b1,_0x1dcc4a){const _0x434d7b=_0x3955c5;super(_0xff60b1),this[_0x434d7b(0x174)]=_0x1dcc4a,this[_0x434d7b(0x191)](_0x434d7b(0x17a),!!_0x1dcc4a[_0x434d7b(0x17a)]),this[_0x434d7b(0x17c)]=this[_0x434d7b(0x186)](),this[_0x434d7b(0x187)]=this[_0x434d7b(0x190)](),this[_0x434d7b(0x199)]();}[_0x3955c5(0x194)](){const _0x1933bd=_0x3955c5;super[_0x1933bd(0x194)]();}[_0x3955c5(0x18a)](_0x7a5288){const _0x4acce0=_0x3955c5;if(_0x7a5288[_0x4acce0(0x17a)])return _0x557643;switch(_0x7a5288[_0x4acce0(0x17d)]){case _0x4789cc[_0x4acce0(0x19d)]:return _0x19c747;case _0x4789cc[_0x4acce0(0x19b)]:return _0x2c7b92;case _0x4789cc[_0x4acce0(0x19e)]:case _0x4789cc[_0x4acce0(0x180)]:return _0x3a4ab6;default:return _0x577d9c;}}[_0x3955c5(0x179)](_0x6e1661){const _0xb877e6=_0x3955c5;if(!_0x6e1661||''===_0x6e1661[_0xb877e6(0x188)]())return void this[_0xb877e6(0x17c)][_0xb877e6(0x179)](null);const _0x4db165=new RegExp(_0x13864a(_0x6e1661),'gi');this[_0xb877e6(0x17c)][_0xb877e6(0x179)](_0x4db165);}[_0x3955c5(0x1a0)](_0xea51dc){const _0x103f11=_0x3955c5;this[_0x103f11(0x174)][_0x103f11(0x17a)]=_0xea51dc,this[_0x103f11(0x17a)]=_0xea51dc,this[_0x103f11(0x195)]();}[_0x3955c5(0x186)](){const _0x33a7af=_0x3955c5,_0x3af2fa=new _0x3db9e6();return _0x3af2fa[_0x33a7af(0x18d)]=this[_0x33a7af(0x174)][_0x33a7af(0x175)],_0x3af2fa[_0x33a7af(0x18f)]({'tag':_0x33a7af(0x196),'attributes':{'class':[Jr]}}),_0x3af2fa;}[_0x3955c5(0x190)](){const _0x1fcebe=_0x3955c5,_0x7cbbca=new _0x1b6e87();return _0x7cbbca[_0x1fcebe(0x178)]=this[_0x1fcebe(0x18a)](this[_0x1fcebe(0x174)]),_0x7cbbca;}[_0x3955c5(0x199)](){const _0x3080ea=_0x3955c5,_0x2dd97c=this[_0x3080ea(0x183)];this[_0x3080ea(0x19c)]({'tag':_0x3080ea(0x189),'attributes':{'class':[Gr,_0x2dd97c['if'](_0x3080ea(0x18e),_0x3080ea(0x193),_0x54f0b9=>!_0x54f0b9),_0x2dd97c['if'](_0x3080ea(0x17a),Hr)]},'children':[{'tag':_0x3080ea(0x189),'attributes':{'class':[Kr]},'children':[this[_0x3080ea(0x187)]]},this[_0x3080ea(0x17c)]],'on':{'click':_0x2dd97c['to'](_0x3080ea(0x19a))}});}[_0x3955c5(0x195)](){const _0x1b8535=_0x3955c5;this[_0x1b8535(0x187)][_0x1b8535(0x178)]=this[_0x1b8535(0x18a)](this[_0x1b8535(0x174)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x286527=_0x4768;(function(_0x5d5340,_0x5e0821){const _0x108c09=_0x4768,_0x14f85f=_0x5d5340();while(!![]){try{const _0x5f1a22=-parseInt(_0x108c09(0x1c5))/0x1*(parseInt(_0x108c09(0x1f1))/0x2)+-parseInt(_0x108c09(0x1ca))/0x3*(-parseInt(_0x108c09(0x1ea))/0x4)+-parseInt(_0x108c09(0x1b9))/0x5+parseInt(_0x108c09(0x1d5))/0x6+parseInt(_0x108c09(0x1eb))/0x7+parseInt(_0x108c09(0x1ee))/0x8*(parseInt(_0x108c09(0x1ce))/0x9)+-parseInt(_0x108c09(0x1c9))/0xa*(parseInt(_0x108c09(0x1e4))/0xb);if(_0x5f1a22===_0x5e0821)break;else _0x14f85f['push'](_0x14f85f['shift']());}catch(_0x2dc11c){_0x14f85f['push'](_0x14f85f['shift']());}}}(_0x1d6e,0x483ab));import{BalloonPanelView as _0x28fb17,ButtonView as _0x660397,clickOutsideHandler as _0x4f46bc,FormHeaderView as _0x3cec90}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x30eab1}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x654dbe}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x509115}from'./aichatcontextresourcesview.js';const Nr=_0x286527(0x1d7),Xr=_0x286527(0x1be),Qr=_0x286527(0x1c7);export class AIChatResourcesBalloonView{[_0x286527(0x1de)]=new Map();[_0x286527(0x1ba)];[_0x286527(0x1ef)];[_0x286527(0x1da)];constructor(_0x1c4b51,_0x5bd866,_0xf50a64){const _0x2abba5=_0x286527;this[_0x2abba5(0x1ef)]=_0x1c4b51,this[_0x2abba5(0x1ba)]=_0x5bd866,this[_0x2abba5(0x1da)]=_0xf50a64;}[_0x286527(0x1bd)](_0x1529ef){const _0x5d1318=_0x286527;let _0x2f4fb5=this[_0x5d1318(0x1de)][_0x5d1318(0x1df)](_0x1529ef['id']);_0x2f4fb5||(_0x2f4fb5=this[_0x5d1318(0x1d0)](),this[_0x5d1318(0x1de)][_0x5d1318(0x1b8)](_0x1529ef['id'],_0x2f4fb5),this[_0x5d1318(0x1d8)](_0x2f4fb5)),this[_0x5d1318(0x1d2)](_0x2f4fb5,_0x1529ef),_0x2f4fb5[_0x5d1318(0x1ec)]();const _0x261176=this[_0x5d1318(0x1da)][_0x5d1318(0x1c6)]();_0x261176&&_0x2f4fb5[_0x5d1318(0x1cb)]({'target':_0x261176,'limiter':this[_0x5d1318(0x1da)][_0x5d1318(0x1f3)]()});}[_0x286527(0x1f0)](_0x33ebe7,_0x3ca563,_0x2551ca){const _0x489298=_0x286527,_0x1cf82e=this[_0x489298(0x1de)][_0x489298(0x1df)](_0x33ebe7);if(!_0x1cf82e)return;const _0x331db3=this[_0x489298(0x1c2)](_0x1cf82e);_0x331db3&&(_0x331db3[_0x489298(0x1db)](_0x3ca563,_0x2551ca),_0x331db3[_0x489298(0x1b6)](_0x489298(0x1cd),()=>{const _0x76186f=_0x489298;_0x1cf82e[_0x76186f(0x1cb)]({'target':this[_0x76186f(0x1da)][_0x76186f(0x1c6)](),'limiter':this[_0x76186f(0x1da)][_0x76186f(0x1f3)]()});}));}[_0x286527(0x1d9)](_0x2cdfa3){const _0x4695c9=_0x286527,_0x24f32c=this[_0x4695c9(0x1de)][_0x4695c9(0x1df)](_0x2cdfa3);_0x24f32c&&requestAnimationFrame(()=>{const _0x20373c=_0x4695c9;_0x24f32c[_0x20373c(0x1dd)](),this[_0x20373c(0x1de)][_0x20373c(0x1bc)](_0x2cdfa3),this[_0x20373c(0x1da)][_0x20373c(0x1d6)]();});}[_0x286527(0x1c4)](){const _0x58b4ae=_0x286527;for(const _0x5ebce4 of this[_0x58b4ae(0x1de)][_0x58b4ae(0x1c0)]())if(_0x5ebce4[_0x58b4ae(0x1e8)])return!0x0;return!0x1;}[_0x286527(0x1e9)](_0x663c05,_0x83f4db,_0x1b103f){const _0x4acf63=_0x286527,_0x472ee9=this[_0x4acf63(0x1de)][_0x4acf63(0x1df)](_0x663c05);if(!_0x472ee9||!_0x472ee9[_0x4acf63(0x1e8)])return;const _0x486825=this[_0x4acf63(0x1da)][_0x4acf63(0x1c6)]();if(!_0x486825)return;_0x472ee9[_0x4acf63(0x1cb)]({'target':_0x486825,'limiter':this[_0x4acf63(0x1da)][_0x4acf63(0x1f3)]()});const _0x1ef5eb=this[_0x4acf63(0x1c2)](_0x472ee9);_0x1ef5eb&&_0x1ef5eb[_0x4acf63(0x1e9)](_0x83f4db,_0x1b103f);}[_0x286527(0x1bf)](){const _0x4bd8f2=_0x286527;for(const _0x5ecb7e of this[_0x4bd8f2(0x1de)][_0x4bd8f2(0x1c0)]())_0x5ecb7e[_0x4bd8f2(0x1bf)]();this[_0x4bd8f2(0x1de)][_0x4bd8f2(0x1c1)]();}[_0x286527(0x1d0)](){const _0x106a9a=_0x286527,_0x4ad0ce=new _0x28fb17(this[_0x106a9a(0x1ef)]);return _0x4ad0ce[_0x106a9a(0x1c3)]({'attributes':{'class':Nr}}),this[_0x106a9a(0x1ba)][_0x106a9a(0x1d1)](_0x4ad0ce),_0x4ad0ce;}[_0x286527(0x1d2)](_0x4ccfe0,_0x2996ec){const _0x45b856=_0x286527;_0x4ccfe0[_0x45b856(0x1ed)][_0x45b856(0x1c1)]();const _0x4608d1=this[_0x45b856(0x1cc)](_0x4ccfe0,_0x2996ec);_0x4ccfe0[_0x45b856(0x1ed)][_0x45b856(0x1d1)](_0x4608d1);const _0x3349a2=this[_0x45b856(0x1cf)](_0x2996ec);_0x4ccfe0[_0x45b856(0x1ed)][_0x45b856(0x1d1)](_0x3349a2);}[_0x286527(0x1cc)](_0x156ba9,_0xb4e548){const _0xcbb9da=_0x286527,_0x10c788=this[_0xcbb9da(0x1c8)](_0x156ba9),_0x25593a=new _0x3cec90(this[_0xcbb9da(0x1ef)],{'label':_0xb4e548[_0xcbb9da(0x1e0)],'class':Qr});return _0x25593a[_0xcbb9da(0x1b7)][_0xcbb9da(0x1d1)](_0x10c788,0x0),_0x25593a;}[_0x286527(0x1c8)](_0x4b2823){const _0x4536f5=_0x286527,_0x1f7e17=new _0x660397(this[_0x4536f5(0x1ef)]);return _0x1f7e17[_0x4536f5(0x1b8)]({'icon':_0x30eab1,'tooltip':_0x654dbe(this[_0x4536f5(0x1ef)],_0x4536f5(0x1bb)),'tooltipPosition':'n','class':Xr}),_0x1f7e17['on'](_0x4536f5(0x1e5),()=>{const _0x24a90c=_0x4536f5;_0x4b2823[_0x24a90c(0x1dd)](),this[_0x24a90c(0x1da)][_0x24a90c(0x1e6)]();}),_0x1f7e17;}[_0x286527(0x1cf)](_0x1d0c9f){const _0x320077=_0x286527,_0x214d63=new _0x509115(this[_0x320077(0x1ef)],{'source':_0x1d0c9f,'searchInputVisibleFrom':this[_0x320077(0x1da)][_0x320077(0x1e7)]});return _0x214d63['on'](_0x320077(0x1dc),(_0x14b1a6,_0x125744)=>{const _0x507849=_0x320077;this[_0x507849(0x1da)][_0x507849(0x1f2)](_0x125744);}),_0x214d63['on'](_0x320077(0x1e1),(_0xe6ca94,_0x3ae19d)=>{const _0x3b3b11=_0x320077;this[_0x3b3b11(0x1da)][_0x3b3b11(0x1d3)](_0x3ae19d[_0x3b3b11(0x1e3)],_0x3ae19d[_0x3b3b11(0x1e2)]),this[_0x3b3b11(0x1d9)](_0x1d0c9f['id']);}),_0x214d63;}[_0x286527(0x1c2)](_0x50e696){const _0x56f951=_0x286527,_0x2a3bba=_0x50e696[_0x56f951(0x1ed)][_0x56f951(0x1df)](0x1);return _0x2a3bba instanceof _0x509115?_0x2a3bba:null;}[_0x286527(0x1d8)](_0xf84aed){const _0x4dd89f=_0x286527;_0x4f46bc({'emitter':_0xf84aed,'contextElements':[_0xf84aed[_0x4dd89f(0x1d4)]],'callback':()=>{const _0x5919b8=_0x4dd89f;_0xf84aed[_0x5919b8(0x1dd)](),this[_0x5919b8(0x1da)][_0x5919b8(0x1d6)]();},'activator':()=>_0xf84aed[_0x4dd89f(0x1e8)]});}}function _0x4768(_0x19511b,_0x3400b9){const _0x1d6e94=_0x1d6e();return _0x4768=function(_0x476820,_0x2bd616){_0x476820=_0x476820-0x1b6;let _0x2c4a6a=_0x1d6e94[_0x476820];return _0x2c4a6a;},_0x4768(_0x19511b,_0x3400b9);}function _0x1d6e(){const _0x5ecd62=['updateResourceState','1737548VzmNHZ','1141910MwMBIs','show','content','16WGCcEE','_locale','populateSourceResourceBalloon','226mNJwFC','onLoadSourceResources','getLimiterElement','once','children','set','159850IhSfvN','_bodyCollection','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','delete','showSourceResourcesBalloon','ck-button-icon\x20ck-button-back','destroy','values','clear','_getResourcesViewFromBalloon','extendTemplate','isAnyResourceBalloonVisible','94bipAwH','getTargetElement','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_createBackButton','1670ITdVAs','3wxNNNk','pin','_createBalloonHeader','change:isLoading','1855188AVYUaQ','_createBalloonResourcesView','_createSourceResourceBalloonPanel','add','_addSourceResourceContent','onResourceSelected','element','810630yDFTtb','onBalloonClosed','ck-ai-chat-context-controls__source-balloon-panel','_setupSingleResourceBalloonClickOutsideHandler','closeSourceResourceBalloon','_config','setResources','loadSourceResources','hide','_sourceResourceBalloons','get','label','addResourceToContext','resource','source','53119ePLcZo','execute','onBackToContext','searchInputVisibleFrom','isVisible'];_0x1d6e=function(){return _0x5ecd62;};return _0x1d6e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x1ece59,IconView as _0x265611,LabeledFieldView as _0x2dab4f,createLabeledInputText as _0x5a5cb7}from'ckeditor5/src/ui.js';import{IconLoupe as _0x144f3f,IconCancel as _0x25af08}from'ckeditor5/src/icons.js';import{getTranslation as _0x82dffd}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2dab4f{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x212b52){const t=_0x212b52['t'],_0x5906a2={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x5a5cb7,'label':_0x82dffd(_0x212b52,'AI_CHAT_SEARCH_RESOURCES')};super(_0x212b52,_0x5906a2['creator']),this['label']=_0x5906a2['label'],this['_viewConfig']=_0x5906a2,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x212b52,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1fe238){this['fire']('search',_0x1fe238);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x265611(),this['iconView']['content']=_0x144f3f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x1153db,t){this['resetButtonView']=new _0x1ece59(_0x1153db),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x25af08,'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',_0x24c28c=>!_0x24c28c),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
|
-
const
|
|
23
|
+
const _0x32c4fe=_0x2f36;(function(_0x361a21,_0x134b80){const _0x547a72=_0x2f36,_0x381dad=_0x361a21();while(!![]){try{const _0x47581e=-parseInt(_0x547a72(0xda))/0x1+parseInt(_0x547a72(0xe6))/0x2*(parseInt(_0x547a72(0xf6))/0x3)+-parseInt(_0x547a72(0xee))/0x4+parseInt(_0x547a72(0xdf))/0x5*(parseInt(_0x547a72(0xf1))/0x6)+-parseInt(_0x547a72(0xf3))/0x7+parseInt(_0x547a72(0xe0))/0x8+-parseInt(_0x547a72(0xd9))/0x9*(parseInt(_0x547a72(0xe8))/0xa);if(_0x47581e===_0x134b80)break;else _0x381dad['push'](_0x381dad['shift']());}catch(_0x2142f7){_0x381dad['push'](_0x381dad['shift']());}}}(_0x2364,0xb7894));function _0x2f36(_0x29cab4,_0x13d2a7){const _0x236446=_0x2364();return _0x2f36=function(_0x2f364c,_0x4f8d4a){_0x2f364c=_0x2f364c-0xd7;let _0x45c4ca=_0x236446[_0x2f364c];return _0x45c4ca;},_0x2f36(_0x29cab4,_0x13d2a7);}import{View as _0x3bdb07}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x226025}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x57b8fa}from'../controls/aichatchipsoverflowmanager.js';function _0x2364(){const _0x314e1c=['_contextChips','querySelector','26073RvwFDh','ck-ai-chat-context-chips-wrapper-balloon','setContainerElement','90ftlhmY','519232ADeJUr','element','_createContextChips','div','locale','4285IDyFZB','11879072MKJLYT','_overflowManager','_bodyCollection','setTemplate','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','202TjBEur','ck-ai-chat__feed__context-chips','561970LFdCQk','ck-ai-chat-controls_context_show-more-button','ck-reset_all','reorganizeChips','render','ck-ai-chat-context-controls__show-more-balloon-panel','4577912wQObVl','add','destroy','9084nyUKkT','createCollection','4779103hGLUUA'];_0x2364=function(){return _0x314e1c;};return _0x2364();}const $o=_0x32c4fe(0xe7),Ko=_0x32c4fe(0xe4),Qo=_0x32c4fe(0xd7),Uo=_0x32c4fe(0xe5),No=_0x32c4fe(0xe9),Oo=_0x32c4fe(0xed);export class AIChatFeedContextChipsView extends _0x3bdb07{[_0x32c4fe(0xf4)]=this[_0x32c4fe(0xf2)]();[_0x32c4fe(0xe1)];[_0x32c4fe(0xe2)];constructor(_0x4e8349,_0x3292e3,_0x2ae33a){const _0x42009b=_0x32c4fe;super(_0x4e8349),this[_0x42009b(0xe2)]=_0x2ae33a,this[_0x42009b(0xdc)](_0x3292e3);const _0x1c61b5={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x42009b(0xe1)]=new _0x57b8fa(_0x4e8349,this[_0x42009b(0xf4)],_0x1c61b5,this[_0x42009b(0xe2)],this),this[_0x42009b(0xe3)]({'tag':_0x42009b(0xdd),'attributes':{'class':[$o,'ck',_0x42009b(0xea)]},'children':[{'tag':_0x42009b(0xdd),'attributes':{'class':Ko},'children':this[_0x42009b(0xf4)]}]});}[_0x32c4fe(0xec)](){const _0x48b2cc=_0x32c4fe;super[_0x48b2cc(0xec)]();const _0xb72d3=this[_0x48b2cc(0xdb)][_0x48b2cc(0xf5)]('.'+Ko);_0xb72d3&&(this[_0x48b2cc(0xe1)][_0x48b2cc(0xd8)](_0xb72d3),this[_0x48b2cc(0xe1)][_0x48b2cc(0xeb)]());}[_0x32c4fe(0xf0)](){const _0x11a636=_0x32c4fe;super[_0x11a636(0xf0)](),this[_0x11a636(0xe1)][_0x11a636(0xf0)]();}[_0x32c4fe(0xdc)](_0xdf2415){const _0x404bbd=_0x32c4fe;for(const _0x47bbee of _0xdf2415){const _0x29adee=new _0x226025(this[_0x404bbd(0xde)],_0x47bbee,!0x0,!0x1);this[_0x404bbd(0xf4)][_0x404bbd(0xef)](_0x29adee);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x441b14=_0x3930;(function(_0x34da5b,_0x374bf0){var _0x30aa61=_0x3930,_0x30f48a=_0x34da5b();while(!![]){try{var _0x2f92a1=parseInt(_0x30aa61(0x1ce))/0x1+-parseInt(_0x30aa61(0x1cb))/0x2*(parseInt(_0x30aa61(0x1bd))/0x3)+parseInt(_0x30aa61(0x1d0))/0x4+parseInt(_0x30aa61(0x1c2))/0x5*(parseInt(_0x30aa61(0x1c1))/0x6)+parseInt(_0x30aa61(0x1c0))/0x7+parseInt(_0x30aa61(0x1bf))/0x8+-parseInt(_0x30aa61(0x1c4))/0x9;if(_0x2f92a1===_0x374bf0)break;else _0x30f48a['push'](_0x30f48a['shift']());}catch(_0x309db4){_0x30f48a['push'](_0x30f48a['shift']());}}}(_0x26aa,0x51c0c));function _0x3930(_0x1431db,_0x5d7f03){var _0x26aa9f=_0x26aa();return _0x3930=function(_0x3930e3,_0xe363dc){_0x3930e3=_0x3930e3-0x1bd;var _0x6a3d88=_0x26aa9f[_0x3930e3];return _0x6a3d88;},_0x3930(_0x1431db,_0x5d7f03);}import{AIChatFeedItemView as _0x40d80b}from'./aichatfeeditemview.js';function _0x26aa(){var _0x5d6b8d=['89064naseuh','3337600VKLqiu','12594CgTqlQ','1525EZNCQg','ck-ai-notification_warning','10070145FPJbDK','ck-ai-notification_error','innerHTML','ck-ai-notification','render','markAsDone','warning','486jIWOgp','setContent','options','173952TwFguE','element','1515560YquYPu','initialContent','level','2805BGWgsK','extendTemplate'];_0x26aa=function(){return _0x5d6b8d;};return _0x26aa();}export class AIChatFeedErrorItemView extends _0x40d80b{constructor(_0x1dccc5){var _0x392653=_0x3930;super(_0x1dccc5),this[_0x392653(0x1be)]({'attributes':{'class':[_0x392653(0x1c7),_0x392653(0x1ca)===_0x1dccc5[_0x392653(0x1d2)]?_0x392653(0x1c3):_0x392653(0x1c5)]}});}[_0x441b14(0x1c8)](){var _0x2b1a4c=_0x441b14;super[_0x2b1a4c(0x1c8)](),this[_0x2b1a4c(0x1cc)](this[_0x2b1a4c(0x1cd)][_0x2b1a4c(0x1d1)]),this[_0x2b1a4c(0x1c9)]();}[_0x441b14(0x1cc)](_0x53c89e){var _0x1a9ad3=_0x441b14;this[_0x1a9ad3(0x1cf)][_0x1a9ad3(0x1c6)]=_0x53c89e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c70f1=_0x57ba;(function(_0x4f71ef,_0x5e845b){const _0x318544=_0x57ba,_0x32e6cd=_0x4f71ef();while(!![]){try{const _0x2b2971=parseInt(_0x318544(0x18b))/0x1*(parseInt(_0x318544(0x18c))/0x2)+parseInt(_0x318544(0x18d))/0x3+-parseInt(_0x318544(0x180))/0x4+parseInt(_0x318544(0x182))/0x5*(parseInt(_0x318544(0x192))/0x6)+parseInt(_0x318544(0x184))/0x7*(parseInt(_0x318544(0x199))/0x8)+parseInt(_0x318544(0x194))/0x9*(parseInt(_0x318544(0x191))/0xa)+-parseInt(_0x318544(0x196))/0xb;if(_0x2b2971===_0x5e845b)break;else _0x32e6cd['push'](_0x32e6cd['shift']());}catch(_0x59596d){_0x32e6cd['push'](_0x32e6cd['shift']());}}}(_0x2bbb,0x686a3));function _0x2bbb(){const _0x2a2a9d=['1076418lYCTRf','div','10756713XlOhms','ck-hidden','children','1256iUWIyt','content','149096jaYIdd','push','5OWIgLL','capabilities','13853dNBLCt','setTemplate','span','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','2650LQjHNE','244ZiVgoI','432243xkHMYD','add','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header','50RvlNhF','400476ZAbTXm','extendTemplate'];_0x2bbb=function(){return _0x2a2a9d;};return _0x2bbb();}import{IconBulb as _0xefcdf5,IconWeb as _0x369279}from'@ckeditor/ckeditor5-icons';function _0x57ba(_0x1721e6,_0xc8b21c){const _0x2bbb3a=_0x2bbb();return _0x57ba=function(_0x57ba5d,_0x589c37){_0x57ba5d=_0x57ba5d-0x180;let _0xc3fde8=_0x2bbb3a[_0x57ba5d];return _0xc3fde8;},_0x57ba(_0x1721e6,_0xc8b21c);}import{IconView as _0x3336e3,View as _0x12304b}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x4bef83}from'./aichatfeeditemview.js';import{getTranslation as _0x18239f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x4bef83{[_0x1c70f1(0x183)];constructor(_0x442a64,_0x287286){const _0x591c43=_0x1c70f1;super(_0x287286);const {isWebSearchEnabled:_0x47c5a0,isReasoningEnabled:_0x2433eb}=_0x287286[_0x591c43(0x183)],_0x312672=[];let _0x25aa23='';_0x47c5a0&&_0x2433eb?(_0x25aa23=_0x18239f(_0x442a64,_0x591c43(0x188)),_0x312672[_0x591c43(0x181)](aa(_0x369279)),_0x312672[_0x591c43(0x181)](aa(_0xefcdf5))):_0x47c5a0?(_0x25aa23=_0x18239f(_0x442a64,_0x591c43(0x18a)),_0x312672[_0x591c43(0x181)](aa(_0x369279))):_0x2433eb&&(_0x25aa23=_0x18239f(_0x442a64,_0x591c43(0x18f)),_0x312672[_0x591c43(0x181)](aa(_0xefcdf5))),this[_0x591c43(0x193)]({'attributes':{'class':[_0x591c43(0x190),_0x25aa23?'':_0x591c43(0x197)]}});const _0x54e516=new _0x12304b();_0x54e516[_0x591c43(0x185)]({'tag':_0x591c43(0x195),'attributes':{'class':['ck',_0x591c43(0x189)]},'children':[..._0x312672,{'tag':_0x591c43(0x186),'attributes':{'class':[_0x591c43(0x187)]},'children':[_0x25aa23]}]}),this[_0x591c43(0x198)][_0x591c43(0x18e)](_0x54e516),this[_0x591c43(0x183)]=_0x287286[_0x591c43(0x183)];}}function aa(_0x23788e){const _0x54497d=_0x1c70f1,_0x2b6d35=new _0x3336e3();return _0x2b6d35[_0x54497d(0x19a)]=_0x23788e,_0x2b6d35;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4aa0(_0xa22505,_0x887a16){const _0x3e2b90=_0x3e2b();return _0x4aa0=function(_0x4aa0f0,_0x2854ae){_0x4aa0f0=_0x4aa0f0-0x6c;let _0x17fd4e=_0x3e2b90[_0x4aa0f0];return _0x17fd4e;},_0x4aa0(_0xa22505,_0x887a16);}const _0x579ce5=_0x4aa0;(function(_0x3461a2,_0x5874c1){const _0x5b6432=_0x4aa0,_0x55d08a=_0x3461a2();while(!![]){try{const _0x32592a=-parseInt(_0x5b6432(0x75))/0x1+-parseInt(_0x5b6432(0x71))/0x2+parseInt(_0x5b6432(0x7f))/0x3*(-parseInt(_0x5b6432(0x77))/0x4)+-parseInt(_0x5b6432(0x84))/0x5*(parseInt(_0x5b6432(0x81))/0x6)+-parseInt(_0x5b6432(0x8a))/0x7+parseInt(_0x5b6432(0x73))/0x8+-parseInt(_0x5b6432(0x76))/0x9*(-parseInt(_0x5b6432(0x8d))/0xa);if(_0x32592a===_0x5874c1)break;else _0x55d08a['push'](_0x55d08a['shift']());}catch(_0x309c35){_0x55d08a['push'](_0x55d08a['shift']());}}}(_0x3e2b,0x99cab));function _0x3e2b(){const _0x4625b6=['markAsDone','htmlStreamer','3xILRMF','options','6xZrEnr','cleanUpAnimations','element','1997360UbLCCg','createCollection','forEach','isDone','setTemplate','ck-ai-chat__feed__text-item','1372238ImkNLV','querySelectorAll','data-id','34085110ALlGOi','ck-ai-chat__feed__item_done','streamIntoElement','content','ck-hidden','ck-ai-chat__feed__item','stream','[data-id]','1933898LbSUWm','set','102912iVsFUq','animation:\x20ck-html-streamer-fade-in\x20.5s','675332rSyKOP','9fUyKnt','2214628nOZceT','div','children','isVisible','removeAttribute','bindTemplate'];_0x3e2b=function(){return _0x4625b6;};return _0x3e2b();}import{View as _0xb9611f}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x583668}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xb9611f{[_0x579ce5(0x80)];[_0x579ce5(0x6c)]='';[_0x579ce5(0x7e)];[_0x579ce5(0x79)];constructor(_0x163d6b){const _0x4f8563=_0x579ce5;super();const _0x504e89=this[_0x4f8563(0x7c)];this[_0x4f8563(0x72)](_0x4f8563(0x87),!0x1),this[_0x4f8563(0x72)](_0x4f8563(0x7a),!0x0),this[_0x4f8563(0x7e)]=new _0x583668({'textNodeStyle':_0x4f8563(0x74),'delay':0x14}),this[_0x4f8563(0x80)]=_0x163d6b,this[_0x4f8563(0x79)]=this[_0x4f8563(0x85)](),this[_0x4f8563(0x88)]({'tag':_0x4f8563(0x78),'attributes':{'class':['ck',_0x4f8563(0x6e),_0x504e89['if'](_0x4f8563(0x87),_0x4f8563(0x8e)),_0x504e89['if'](_0x4f8563(0x7a),_0x4f8563(0x6d),_0x30aa0b=>!_0x30aa0b),_0x4f8563(0x89)],'data-cke-ai-id':this[_0x4f8563(0x80)]['id']},'children':this[_0x4f8563(0x79)]});}[_0x579ce5(0x7d)](){const _0x4c6de8=_0x579ce5;this[_0x4c6de8(0x7e)][_0x4c6de8(0x82)]({'targetElement':this[_0x4c6de8(0x83)]}),this[_0x4c6de8(0x83)][_0x4c6de8(0x8b)](_0x4c6de8(0x70))[_0x4c6de8(0x86)](_0x4e632c=>{const _0x2e3921=_0x4c6de8;_0x4e632c[_0x2e3921(0x7b)](_0x2e3921(0x8c));}),this[_0x4c6de8(0x87)]=!0x0;}async[_0x579ce5(0x8f)](_0x7ddd61,_0x2bed1c,_0x3b85dc){const _0x41c376=_0x579ce5;await this[_0x41c376(0x7e)][_0x41c376(0x6f)]({'document':_0x7ddd61,'targetElement':_0x2bed1c,'abortSignal':_0x3b85dc});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd784cc=_0x572b;(function(_0x41a041,_0xe10b04){const _0x47a385=_0x572b,_0xb3a72b=_0x41a041();while(!![]){try{const _0x535b6f=-parseInt(_0x47a385(0x115))/0x1*(-parseInt(_0x47a385(0x104))/0x2)+parseInt(_0x47a385(0x10e))/0x3*(-parseInt(_0x47a385(0x114))/0x4)+parseInt(_0x47a385(0xfb))/0x5+parseInt(_0x47a385(0xf9))/0x6*(parseInt(_0x47a385(0x117))/0x7)+-parseInt(_0x47a385(0xfa))/0x8*(-parseInt(_0x47a385(0xff))/0x9)+-parseInt(_0x47a385(0x116))/0xa*(-parseInt(_0x47a385(0x100))/0xb)+-parseInt(_0x47a385(0x101))/0xc;if(_0x535b6f===_0xe10b04)break;else _0xb3a72b['push'](_0xb3a72b['shift']());}catch(_0x5c3c7f){_0xb3a72b['push'](_0xb3a72b['shift']());}}}(_0x426c,0x903f7));import{AIChatFeedItemView as _0x207cfa}from'./aichatfeeditemview.js';import{parse as _0x1431b,render as _0x598025}from'../../../aicore/utils/htmlparser.js';function _0x426c(){const _0x541944=['innerHTML','replyContainer','initialContent','260706WCJxnu','1224856YjQOiE','2750700BmgIQi','element','ck-ai-chat__feed__ai-reply','static','45zCtxeI','55KzptbS','30301044iKplVL','setTemplate','updateSources','422916VSHrtb','markAsDone','children','extendTemplate','add','ck-reset_all-excluded','locale','div','streaming','ck-ai-chat__feed__ai-reply-container','102183tNDCXQ','render','options','streamIntoElement','isVisible','map','20dLvVNE','5IFgTka','1739630rqEyYn','7WobMCh','addMany','updateContent'];_0x426c=function(){return _0x541944;};return _0x426c();}function _0x572b(_0x2c37c6,_0x129673){const _0x426cf3=_0x426c();return _0x572b=function(_0x572b59,_0x2065c2){_0x572b59=_0x572b59-0xf9;let _0x251655=_0x426cf3[_0x572b59];return _0x251655;},_0x572b(_0x2c37c6,_0x129673);}import{View as _0x397b35}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x49d34f,AIWebSourceView as _0x276f2e}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x207cfa{[_0xd784cc(0x11b)];constructor(_0x28e498,_0x2df670){const _0x258657=_0xd784cc;super(_0x2df670),this[_0x258657(0x10a)]=_0x28e498,this[_0x258657(0x107)]({'attributes':{'class':[_0x258657(0xfd)]}}),this[_0x258657(0x11b)]=new _0x397b35(),this[_0x258657(0x11b)][_0x258657(0x102)]({'tag':_0x258657(0x10b),'attributes':{'class':['ck',_0x258657(0x109),_0x258657(0x10d)]}}),this[_0x258657(0x106)][_0x258657(0x108)](this[_0x258657(0x11b)]);}async[_0xd784cc(0x10f)](){const _0x46f32b=_0xd784cc;super[_0x46f32b(0x10f)](),this[_0x46f32b(0x110)][_0x46f32b(0x11c)]&&(await this[_0x46f32b(0x119)]({'parsedContent':_0x1431b(this[_0x46f32b(0x110)][_0x46f32b(0x11c)]),'renderingStrategy':_0x46f32b(0xfe)}),this[_0x46f32b(0x105)]());}async[_0xd784cc(0x119)]({parsedContent:_0x4088e8,renderingStrategy:_0x3aa390,abortSignal:_0x1381da}){const _0x1b0eb2=_0xd784cc;_0x1b0eb2(0x10c)===_0x3aa390?await this[_0x1b0eb2(0x111)](_0x4088e8,this[_0x1b0eb2(0x11b)][_0x1b0eb2(0xfc)],_0x1381da):this[_0x1b0eb2(0x11b)][_0x1b0eb2(0xfc)][_0x1b0eb2(0x11a)]=_0x598025(_0x4088e8);}[_0xd784cc(0x103)](_0x26e395){const _0x162e92=_0xd784cc,_0x37e1c3=new _0x49d34f(this[_0x162e92(0x10a)]);_0x37e1c3[_0x162e92(0x106)][_0x162e92(0x118)](_0x26e395[_0x162e92(0x113)](_0x139aec=>new _0x276f2e(this[_0x162e92(0x10a)],_0x139aec))),_0x37e1c3[_0x162e92(0x112)]=!0x0,this[_0x162e92(0x106)][_0x162e92(0x108)](_0x37e1c3);}}
|