@ckeditor/ckeditor5-ai 47.3.0-alpha.1 → 47.3.0-alpha.2
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 +0 -4
- package/dist/index.css +0 -4
- 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.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/aiquickactions/aiquickactions.css +0 -4
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x455432=_0x1a91;function _0x1a91(_0xd8cd7d,_0xd96997){const _0x3ebd48=_0x3ebd();return _0x1a91=function(_0x1a91ef,_0x3fdb58){_0x1a91ef=_0x1a91ef-0x191;let _0x3938d9=_0x3ebd48[_0x1a91ef];return _0x3938d9;},_0x1a91(_0xd8cd7d,_0xd96997);}(function(_0x374afe,_0x488479){const _0x362c20=_0x1a91,_0x314fef=_0x374afe();while(!![]){try{const _0x32499b=parseInt(_0x362c20(0x1a1))/0x1+parseInt(_0x362c20(0x198))/0x2+-parseInt(_0x362c20(0x197))/0x3*(parseInt(_0x362c20(0x19f))/0x4)+parseInt(_0x362c20(0x1aa))/0x5+-parseInt(_0x362c20(0x19b))/0x6*(parseInt(_0x362c20(0x1a6))/0x7)+-parseInt(_0x362c20(0x19c))/0x8+-parseInt(_0x362c20(0x19d))/0x9*(-parseInt(_0x362c20(0x19e))/0xa);if(_0x32499b===_0x488479)break;else _0x314fef['push'](_0x314fef['shift']());}catch(_0x273124){_0x314fef['push'](_0x314fef['shift']());}}}(_0x3ebd,0x7b077));import{ButtonView as _0x43c32d,View as _0xa604c}from'ckeditor5/src/ui.js';import{IconStop as _0x1eca97}from'ckeditor5/src/icons.js';import{getTranslation as _0x42527b}from'../../../aicore/utils/common-translations.js';function _0x3ebd(){const _0x587d5f=['560529kseRrS','fire','_cancelButtonView','setTemplate','ck-ai-chat-controls-loader','574VrosaY','AI_CHAT_IS_WRITING','div','ck-ai-button-secondary\x20ck-ai-button-stop-generating','2113820xVTXGU','AI_CHAT_STOP_GENERATING','set','ck-ai-chat-controls-loader-wrapper','_createCancelButtonView','execute','ck-ai-chat-controls-loader-icon-dot','abortPromptStream','_loaderView','_createLoaderView','557331fYGDJu','1757908WRsezO','locale','ck-ai-chat-controls-loader-icon','40908aoVEmi','4083680jywmTC','24030WZztIL','310FpNKiE','8ctVqhY','ck-reset_all'];_0x3ebd=function(){return _0x587d5f;};return _0x3ebd();}export class AIChatControlsLoaderView extends _0xa604c{[_0x455432(0x1a3)];[_0x455432(0x195)];constructor(_0xf79c13){const _0x48d730=_0x455432;super(_0xf79c13),this[_0x48d730(0x1a3)]=this[_0x48d730(0x191)](),this[_0x48d730(0x195)]=this[_0x48d730(0x196)](),this[_0x48d730(0x1a4)]({'tag':_0x48d730(0x1a8),'attributes':{'class':['ck',_0x48d730(0x1ad),_0x48d730(0x1a0)]},'children':[this[_0x48d730(0x195)],this[_0x48d730(0x1a3)]]});}[_0x455432(0x191)](){const _0x4a6299=_0x455432,_0x325b3c=new _0x43c32d(this[_0x4a6299(0x199)]);return _0x325b3c[_0x4a6299(0x1ac)]({'label':_0x42527b(this[_0x4a6299(0x199)],_0x4a6299(0x1ab)),'withText':!0x0,'class':_0x4a6299(0x1a9),'icon':_0x1eca97}),_0x325b3c['on'](_0x4a6299(0x192),()=>{const _0x3424a1=_0x4a6299;this[_0x3424a1(0x1a2)](_0x3424a1(0x194));}),_0x325b3c;}[_0x455432(0x196)](){const _0x539465=_0x455432,_0x296a9a=new _0xa604c(this[_0x539465(0x199)]);return _0x296a9a[_0x539465(0x1a4)]({'tag':_0x539465(0x1a8),'attributes':{'class':[_0x539465(0x1a5)]},'children':[{'tag':_0x539465(0x1a8),'attributes':{'class':[_0x539465(0x19a)]},'children':[{'tag':_0x539465(0x1a8),'attributes':{'class':[_0x539465(0x193)]}},{'tag':_0x539465(0x1a8),'attributes':{'class':[_0x539465(0x193)]}},{'tag':_0x539465(0x1a8),'attributes':{'class':[_0x539465(0x193)]}}]},{'text':_0x42527b(this[_0x539465(0x199)],_0x539465(0x1a7))}]}),_0x296a9a;}}
|
|
@@ -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
|
+
function _0x10ab(_0x20f097,_0x32e23b){const _0xb75ac5=_0xb75a();return _0x10ab=function(_0x10abf5,_0x54f23d){_0x10abf5=_0x10abf5-0xc2;let _0x18c361=_0xb75ac5[_0x10abf5];return _0x18c361;},_0x10ab(_0x20f097,_0x32e23b);}const _0x5e21bb=_0x10ab;function _0xb75a(){const _0x3bdce4=['9dcKpld','reasoningActive','buttonView','_modelSelectionDropdown','enabled','span','modelSelectorEnabled','_modelNameView','ck-ai-chat-controls__model-name','_commandsButton','ck-ai-chat-controls-button','disableModelSelector','ck-ai-chat__prompt-capabilities','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','_createWebSearchButton','text','ck-ai-chat-controls__model-selection','_getCapabilityParts','source','startsWith','_modelSelectionDropdownItems','AI_CHAT_CAPABILITIES_YES','isVisible','tooltip','listenTo','ck-ai-chat-controls__model-selection__item-description','capabilities','AI_CHAT_COMMANDS','createCollection','AI_CHAT_SEARCH_WEB','extendTemplate','setTemplate','6909616cOAFNZ','AI_CHAT_CAPABILITIES_NO','_createModelSelectionDropdown','div','AI_CHAT_DISABLE_WEB_SEARCH','webSearch','label','AI_CHAT_ENABLE_REASONING','_createCommandsButton','ck-hidden','activeModelName','toggleReasoning','ck-button__label','ck-ai-chat-controls__model-selection__item-capabilities','isEnabled','withText','setModel','352444pcwrZA','Commands\x20are\x20not\x20implemented\x20yet.','style','locale','AI_CHAT_DISABLE_REASONING','7957710KJgmGi','add','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_createModelNameView','content','fire','execute','selectModel','AI_CHAT_REASONING','12690376NXETuj','clear','length','enableModelSelector','agent','_webSearchButton','48NhrdPq','setReasoning','webSearchActive','menuitemradio','reasoning','description','221172mLXMtj','getLocalized','setModelList','name','52628WKjSVA','toLowerCase','activeModelId','ck-ai-chat-controls__model-selection__item-name','ck-ai-chat-controls-button--commands','setWebSearch','bind','addMany','_reasoningButton','1926168VRSynn','isOn','button','model','10dZuBwL','set','modelSelectorVisible','bindTemplate','_createReasoningButton','log','toggleWebSearch'];_0xb75a=function(){return _0x3bdce4;};return _0xb75a();}(function(_0x4a4e9f,_0x4698d8){const _0x5937c3=_0x10ab,_0x5b6e44=_0x4a4e9f();while(!![]){try{const _0x469ad1=-parseInt(_0x5937c3(0x122))/0x1*(-parseInt(_0x5937c3(0xc8))/0x2)+-parseInt(_0x5937c3(0xd1))/0x3+-parseInt(_0x5937c3(0x10d))/0x4+parseInt(_0x5937c3(0xd5))/0x5*(parseInt(_0x5937c3(0xc4))/0x6)+parseInt(_0x5937c3(0xfc))/0x7+-parseInt(_0x5937c3(0x11c))/0x8+-parseInt(_0x5937c3(0xdc))/0x9*(-parseInt(_0x5937c3(0x112))/0xa);if(_0x469ad1===_0x4698d8)break;else _0x5b6e44['push'](_0x5b6e44['shift']());}catch(_0x337470){_0x5b6e44['push'](_0x5b6e44['shift']());}}}(_0xb75a,0xc4177));import{Collection as _0x7811d2}from'ckeditor5/src/utils.js';import{IconAI as _0x4057e4,IconBulb as _0x4bfc9c,IconWeb as _0x52b9ff}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x150ec3,ButtonLabelView as _0x3e6f78,ButtonView as _0x4db3fe,createDropdown as _0x1e522d,IconView as _0x5b638f,UIModel as _0x4a0550,View as _0x4e0a68}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a79f4}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x486794}from'../../../aicore/model/aimodels.js';const No=_0x5e21bb(0xe8),vo=_0x5e21bb(0xe6),Ho=_0x5e21bb(0xcc),Mo=_0x5e21bb(0xec),Lo=_0x5e21bb(0xcb),Do=_0x5e21bb(0xf5),Wo=_0x5e21bb(0x109),yo='n';export class AIChatPromptCapabilitiesView extends _0x4e0a68{[_0x5e21bb(0x121)];[_0x5e21bb(0xd0)];[_0x5e21bb(0xe5)];[_0x5e21bb(0xdf)];[_0x5e21bb(0xf0)];[_0x5e21bb(0xe3)];constructor(_0x5a8578){const _0x21fe1a=_0x5e21bb;super(_0x5a8578),this[_0x21fe1a(0xd6)](_0x21fe1a(0x124),!0x1),this[_0x21fe1a(0xd6)](_0x21fe1a(0xdd),!0x1),this[_0x21fe1a(0xd6)](_0x21fe1a(0xd7),!0x0),this[_0x21fe1a(0xd6)](_0x21fe1a(0xe2),!0x0),this[_0x21fe1a(0xd6)](_0x21fe1a(0xca),null),this[_0x21fe1a(0xd6)](_0x21fe1a(0x106),null),this[_0x21fe1a(0xdf)]=this[_0x21fe1a(0xfe)](),this[_0x21fe1a(0xe3)]=this[_0x21fe1a(0x116)](),this[_0x21fe1a(0x121)]=this[_0x21fe1a(0xea)](),this[_0x21fe1a(0xd0)]=this[_0x21fe1a(0xd9)](),this[_0x21fe1a(0xe5)]=this[_0x21fe1a(0x104)](),this[_0x21fe1a(0xdf)][_0x21fe1a(0xde)][_0x21fe1a(0xce)](_0x21fe1a(0xf2))['to'](this,_0x21fe1a(0xd7),_0x2bee27=>_0x2bee27),this[_0x21fe1a(0xdf)][_0x21fe1a(0xde)][_0x21fe1a(0xce)](_0x21fe1a(0xf3))['to'](this,_0x21fe1a(0xe2),_0x2835bf=>_0x2835bf?this[_0x21fe1a(0xdf)][_0x21fe1a(0xde)][_0x21fe1a(0x102)]:_0x5a79f4(this[_0x21fe1a(0x110)],_0x21fe1a(0x115))),this[_0x21fe1a(0xdf)][_0x21fe1a(0xce)](_0x21fe1a(0x10a))['to'](this,_0x21fe1a(0xe2),_0x470fba=>_0x470fba),this[_0x21fe1a(0x121)][_0x21fe1a(0xce)](_0x21fe1a(0xd2))['to'](this,_0x21fe1a(0x124),_0x1c6f25=>_0x1c6f25),this[_0x21fe1a(0x121)][_0x21fe1a(0xce)](_0x21fe1a(0x10b))['to'](this,_0x21fe1a(0xd7),_0x8d6961=>!_0x8d6961),this[_0x21fe1a(0x121)][_0x21fe1a(0xce)](_0x21fe1a(0xf3))['to'](this,_0x21fe1a(0x124),_0xc30064=>_0x5a79f4(this[_0x21fe1a(0x110)],_0xc30064?_0x21fe1a(0x100):_0x21fe1a(0x114))),this[_0x21fe1a(0xd0)][_0x21fe1a(0xce)](_0x21fe1a(0xd2))['to'](this,_0x21fe1a(0xdd),_0x2a3fb9=>_0x2a3fb9),this[_0x21fe1a(0xd0)][_0x21fe1a(0xce)](_0x21fe1a(0x10b))['to'](this,_0x21fe1a(0xd7),_0xf7a3ef=>!_0xf7a3ef),this[_0x21fe1a(0xd0)][_0x21fe1a(0xce)](_0x21fe1a(0xf3))['to'](this,_0x21fe1a(0xdd),_0x540bca=>_0x5a79f4(this[_0x21fe1a(0x110)],_0x540bca?_0x21fe1a(0x111):_0x21fe1a(0x103))),this[_0x21fe1a(0xfb)]({'tag':_0x21fe1a(0xff),'attributes':{'class':[No]},'children':[this[_0x21fe1a(0xdf)],this[_0x21fe1a(0xe3)],this[_0x21fe1a(0x121)],this[_0x21fe1a(0xd0)],this[_0x21fe1a(0xe5)]]}),this[_0x21fe1a(0xf0)]=new _0x7811d2(),_0x150ec3(this[_0x21fe1a(0xdf)],this[_0x21fe1a(0xf0)]);}[_0x5e21bb(0xc6)](_0x3f9fa5,_0x1d679c){const _0x403f88=_0x5e21bb;if(this[_0x403f88(0xd6)](_0x403f88(0xd7),!(_0x1d679c&&_0x3f9fa5[_0x403f88(0x11e)]<=0x1)),this[_0x403f88(0xf0)][_0x403f88(0x11d)](),_0x3f9fa5?.[_0x403f88(0x11e)]){const _0x3c97ac=_0x486794[_0x403f88(0xc5)](this[_0x403f88(0x110)],_0x3f9fa5);for(const _0x2809d9 of _0x3c97ac){const _0x18cd01=new _0x4a0550({'label':_0x2809d9[_0x403f88(0xc7)],'withText':!0x0,'role':_0x403f88(0x125),'id':_0x2809d9['id'],'model':_0x2809d9});_0x18cd01[_0x403f88(0xce)](_0x403f88(0xd2))['to'](this,_0x403f88(0xca),_0x4f75f3=>_0x4f75f3===_0x2809d9['id']),this[_0x403f88(0xf0)][_0x403f88(0x113)]({'type':_0x403f88(0xd3),'model':_0x18cd01,'labelView':new Xs(this[_0x403f88(0x110)],_0x2809d9)});}}}[_0x5e21bb(0xcd)](_0x1dc73a){const _0x18503b=_0x5e21bb;this[_0x18503b(0xd6)](_0x18503b(0x124),_0x1dc73a);}[_0x5e21bb(0x123)](_0x53d8cd){const _0x34bc0e=_0x5e21bb;this[_0x34bc0e(0xd6)](_0x34bc0e(0xdd),_0x53d8cd);}[_0x5e21bb(0x10c)](_0x317c36){const _0x45b952=_0x5e21bb;if(!_0x317c36)return;this[_0x45b952(0xca)]=_0x317c36['id'],this[_0x45b952(0x106)]=_0x317c36[_0x45b952(0xc7)]||_0x317c36['id'],this[_0x45b952(0xdf)][_0x45b952(0xde)][_0x45b952(0xd6)](_0x45b952(0x102),_0x317c36[_0x45b952(0xc7)]),this[_0x45b952(0xdf)][_0x45b952(0xde)][_0x45b952(0xd6)](_0x45b952(0xf3),_0x317c36[_0x45b952(0xc7)]);const _0x107a0e=_0x317c36[_0x45b952(0xf6)][_0x45b952(0x101)]?.[_0x45b952(0xe0)]??!0x1;this[_0x45b952(0xd6)](_0x45b952(0x124),!0x1),this[_0x45b952(0x121)][_0x45b952(0xd6)](_0x45b952(0xd2),!0x1),this[_0x45b952(0x121)][_0x45b952(0xd6)](_0x45b952(0x10a),_0x107a0e),this[_0x45b952(0x121)][_0x45b952(0xd6)](_0x45b952(0xf2),_0x107a0e);const _0x4fc9d7=_0x317c36[_0x45b952(0xf6)][_0x45b952(0xc2)]?.[_0x45b952(0xe0)]??!0x1;this[_0x45b952(0xd6)](_0x45b952(0xdd),!0x1),this[_0x45b952(0xd0)][_0x45b952(0xd6)](_0x45b952(0xd2),!0x1),this[_0x45b952(0xd0)][_0x45b952(0xd6)](_0x45b952(0x10a),_0x4fc9d7),this[_0x45b952(0xd0)][_0x45b952(0xd6)](_0x45b952(0xf2),_0x4fc9d7);}[_0x5e21bb(0x11f)](){const _0x59ceb7=_0x5e21bb;this[_0x59ceb7(0xd6)](_0x59ceb7(0xe2),!0x0),this[_0x59ceb7(0xd6)](_0x59ceb7(0xd7),!0x0);}[_0x5e21bb(0xe7)](_0x568c4f){const _0xab6f8f=_0x5e21bb;this[_0xab6f8f(0xd6)](_0xab6f8f(0xe2),!0x1),_0x568c4f&&this[_0xab6f8f(0xd6)](_0xab6f8f(0xd7),!0x1);}[_0x5e21bb(0xea)](){const _0x246f31=_0x5e21bb,_0x409275=new _0x4db3fe();return _0x409275[_0x246f31(0xd6)]({'label':_0x5a79f4(this[_0x246f31(0x110)],_0x246f31(0xf9)),'icon':_0x52b9ff,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x409275['on'](_0x246f31(0x119),()=>{const _0x1ef657=_0x246f31;this[_0x1ef657(0x118)](_0x1ef657(0xdb));}),_0x409275;}[_0x5e21bb(0xd9)](){const _0x34d982=_0x5e21bb,_0x4069e4=new _0x4db3fe();return _0x4069e4[_0x34d982(0xd6)]({'label':_0x5a79f4(this[_0x34d982(0x110)],_0x34d982(0x11b)),'icon':_0x4bfc9c,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x4069e4['on'](_0x34d982(0x119),()=>{const _0x582eb5=_0x34d982;this[_0x582eb5(0x118)](_0x582eb5(0x107));}),_0x4069e4;}[_0x5e21bb(0x104)](){const _0x3e0e53=_0x5e21bb,_0x580b49=new _0x4db3fe();return _0x580b49[_0x3e0e53(0xd6)]({'label':_0x5a79f4(this[_0x3e0e53(0x110)],_0x3e0e53(0xf7)),'icon':_0x4057e4,'withText':!0x0,'class':vo,'isToggleable':!0x0,'tooltip':_0x5a79f4(this[_0x3e0e53(0x110)],_0x3e0e53(0xf7)),'tooltipPosition':yo}),_0x580b49[_0x3e0e53(0xfa)]({'attributes':{'class':[Ho]}}),_0x580b49['on'](_0x3e0e53(0x119),()=>{const _0x3397e3=_0x3e0e53;console[_0x3397e3(0xda)](_0x3397e3(0x10e)),alert(_0x3397e3(0x10e));}),_0x580b49;}[_0x5e21bb(0xfe)](){const _0x1a5ece=_0x5e21bb,_0x2c702e=_0x1e522d(this[_0x1a5ece(0x110)]);return _0x2c702e[_0x1a5ece(0xd6)]({'panelPosition':'ne','class':[Mo]}),_0x2c702e[_0x1a5ece(0xde)][_0x1a5ece(0xd6)]({'label':_0x5a79f4(this[_0x1a5ece(0x110)],_0x1a5ece(0xe9)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':yo}),this[_0x1a5ece(0xf4)](_0x2c702e,_0x1a5ece(0x119),_0x5c42b2=>{const _0x2fe133=_0x1a5ece;this[_0x2fe133(0x118)](_0x2fe133(0x11a),_0x5c42b2[_0x2fe133(0xee)][_0x2fe133(0xd4)]);}),_0x2c702e;}[_0x5e21bb(0x116)](){const _0x2fb48a=_0x5e21bb,_0x55976a=new jo(this[_0x2fb48a(0x110)]);return _0x55976a[_0x2fb48a(0xce)](_0x2fb48a(0xeb))['to'](this,_0x2fb48a(0x106),_0x433374=>_0x433374??''),_0x55976a[_0x2fb48a(0xce)](_0x2fb48a(0xf2))['to'](this,_0x2fb48a(0xd7),this,_0x2fb48a(0x106),(_0x3caafc,_0x46357c)=>!_0x3caafc&&!_0x46357c?.[_0x2fb48a(0xc9)]()[_0x2fb48a(0xef)](_0x2fb48a(0x120))),_0x55976a;}}class Xs extends _0x3e6f78{constructor(_0x5c068d,_0x5df11a){const _0x1a42b5=_0x5e21bb;super();const _0x5c5905=this[_0x1a42b5(0xd8)],_0x58c556=this[_0x1a42b5(0xf8)]();this[_0x1a42b5(0xfb)]({'tag':_0x1a42b5(0xff),'attributes':{'class':['ck',_0x1a42b5(0x108)],'style':_0x5c5905['to'](_0x1a42b5(0x10f)),'id':_0x5c5905['to']('id')},'children':[{'tag':_0x1a42b5(0xff),'attributes':{'class':[Lo]},'children':[{'text':_0x5c5905['to'](_0x1a42b5(0xeb))}]},{'tag':_0x1a42b5(0xff),'attributes':{'class':[Do]},'children':[{'tag':_0x1a42b5(0xe1),'children':[{'text':_0x5df11a[_0x1a42b5(0xc3)]}]}]},{'tag':_0x1a42b5(0xff),'attributes':{'class':[Wo]},'children':_0x58c556}]}),_0x58c556[_0x1a42b5(0xcf)](this[_0x1a42b5(0xed)](_0x5c068d,_0x52b9ff,_0x1a42b5(0xf9),_0x5df11a[_0x1a42b5(0xf6)][_0x1a42b5(0x101)]?.[_0x1a42b5(0xe0)]??!0x1)),_0x58c556[_0x1a42b5(0xcf)](this[_0x1a42b5(0xed)](_0x5c068d,_0x4bfc9c,_0x1a42b5(0x11b),_0x5df11a[_0x1a42b5(0xf6)][_0x1a42b5(0xc2)]?.[_0x1a42b5(0xe0)]??!0x1));}[_0x5e21bb(0xed)](_0x169c99,_0x260d32,_0x4dda8c,_0x511dbc){const _0x812b1d=_0x5e21bb,_0x1deba8=new _0x5b638f();_0x1deba8[_0x812b1d(0x117)]=_0x260d32;const _0x3db9ba=new _0x4e0a68(_0x169c99);_0x3db9ba[_0x812b1d(0xfb)]({'tag':_0x812b1d(0xe1),'children':[{'text':_0x5a79f4(_0x169c99,_0x4dda8c)+':\x20'}]});const _0x532287=new _0x4e0a68(_0x169c99);return _0x532287[_0x812b1d(0xfb)]({'tag':_0x812b1d(0xe1),'children':[{'text':_0x5a79f4(_0x169c99,_0x511dbc?_0x812b1d(0xf1):_0x812b1d(0xfd))}]}),[_0x1deba8,_0x3db9ba,_0x532287];}}class jo extends _0x4e0a68{constructor(_0x1e7abc){const _0x152967=_0x5e21bb;super(_0x1e7abc),this[_0x152967(0xd6)](_0x152967(0xeb),void 0x0),this[_0x152967(0xd6)](_0x152967(0xf2),!0x0);const _0x4a2f2f=this[_0x152967(0xd8)];this[_0x152967(0xfb)]({'tag':_0x152967(0xe1),'attributes':{'class':['ck',_0x152967(0xe4),_0x4a2f2f['if'](_0x152967(0xf2),_0x152967(0x105),_0x4ac7e7=>!_0x4ac7e7)]},'children':[{'text':_0x4a2f2f['to'](_0x152967(0xeb))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x128210=_0x4fbc;function _0x4fbc(_0x5bd759,_0x15e326){const _0x15f2a0=_0x15f2();return _0x4fbc=function(_0x4fbcce,_0x5c6e34){_0x4fbcce=_0x4fbcce-0xe1;let _0x1d591a=_0x15f2a0[_0x4fbcce];return _0x1d591a;},_0x4fbc(_0x5bd759,_0x15e326);}(function(_0x5d2413,_0x16f678){const _0x24cda7=_0x4fbc,_0xfe2dde=_0x5d2413();while(!![]){try{const _0x3fe67e=parseInt(_0x24cda7(0x118))/0x1*(-parseInt(_0x24cda7(0xe3))/0x2)+-parseInt(_0x24cda7(0xe2))/0x3+parseInt(_0x24cda7(0xf9))/0x4*(-parseInt(_0x24cda7(0x117))/0x5)+parseInt(_0x24cda7(0xfe))/0x6+-parseInt(_0x24cda7(0xf3))/0x7+-parseInt(_0x24cda7(0x111))/0x8*(-parseInt(_0x24cda7(0xe9))/0x9)+-parseInt(_0x24cda7(0x11f))/0xa*(-parseInt(_0x24cda7(0x11e))/0xb);if(_0x3fe67e===_0x16f678)break;else _0xfe2dde['push'](_0xfe2dde['shift']());}catch(_0x374731){_0xfe2dde['push'](_0xfe2dde['shift']());}}}(_0x15f2,0x2e16e));import{IconSubmit as _0x95712e}from'ckeditor5/src/icons.js';import{ButtonView as _0x3553ba,AutocompleteView as _0x560153,createLabeledTextarea as _0x2e36d3}from'ckeditor5/src/ui.js';import{global as _0x3a77b4,isVisible as _0x2c3b59,Rect as _0x19b7e1,ResizeObserver as _0x26ef71}from'ckeditor5/src/utils.js';import{getTranslation as _0x1be30e}from'../../../aicore/utils/common-translations.js';function _0x15f2(){const _0x3f2bdd=['element','right','MIN_ROWS','reset','356995gySwTq','3fxLrvB','fieldView','target','left','setIsUploadInProgress','isEmpty','1319307YhblRM','60ofiLlW','queryView','requestAnimationFrame','MAX_ROWS','_createSubmitButton','794271hnDFfj','241306jBpaNE','execute','fire','placeholder','locale','AI_CHAT_LABEL_SUBMIT','96597mkNeUF','ck-ai-chat__prompt-input','uiLanguageDirection','style','window','keystrokes','trim','submitButtonView','px\x20-\x20var(--ck-spacing-tiny))','maxRows','1706005BcmApU','value','minRows','extendTemplate','set','ck-ai-chat__prompt-submit-button','8XyxqIz','errorText','_queryViewResizeObserver','width','render','1026792MaGjwi','AI_CHAT_PROMPT_EMPTY_ERROR','bind','setPlaceholderText','update','focusableChildren','submit','sendUserMessage','isEnabled','hasError','isUploadInProgress','_setUpAddContextButtonPositioning','excludeScrollbarsAndBorders','add','destroy','enter','calc(','rtl','_addContextButtonView','232xOlMAp','fieldWrapperChildren'];_0x15f2=function(){return _0x3f2bdd;};return _0x15f2();}import{AIChatPromptSuggestionsListView as _0xf7eb57}from'./aichatpromptsuggestionslistview.js';import{escape as _0x2ac7e4}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x560153{[_0x128210(0xf0)];static [_0x128210(0x115)]=0x1;static [_0x128210(0x122)]=0xc;[_0x128210(0x110)];[_0x128210(0xfb)];constructor(_0x202395,_0x1b31e1){const _0x5c3154=_0x128210;super(_0x202395,{'queryView':{'label':'','creator':_0x2e36d3,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xf7eb57(_0x202395),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x5c3154(0xf7)](_0x5c3154(0x11d),!0x0),this[_0x5c3154(0xf7)](_0x5c3154(0x108),!0x1),this[_0x5c3154(0x110)]=_0x1b31e1,this[_0x5c3154(0xfb)]=null,this[_0x5c3154(0x120)][_0x5c3154(0x119)][_0x5c3154(0xf5)]=AIChatPromptInputView[_0x5c3154(0x115)],this[_0x5c3154(0x120)][_0x5c3154(0x119)][_0x5c3154(0xf2)]=AIChatPromptInputView[_0x5c3154(0x122)],this[_0x5c3154(0x120)][_0x5c3154(0x112)][_0x5c3154(0x10b)](this[_0x5c3154(0x110)]),this[_0x5c3154(0x109)](),this[_0x5c3154(0xf6)]({'attributes':{'class':['ck',_0x5c3154(0xea)]}}),this[_0x5c3154(0xf0)]=this[_0x5c3154(0xe1)](),this[_0x5c3154(0xf0)][_0x5c3154(0x100)](_0x5c3154(0x106))['to'](this,_0x5c3154(0x11d),this,_0x5c3154(0x108),(_0x27bd8c,_0x382e61)=>!_0x27bd8c&&!_0x382e61),this[_0x5c3154(0x103)][_0x5c3154(0x10b)](this[_0x5c3154(0xf0)]);}[_0x128210(0xfd)](){const _0xf7be54=_0x128210;super[_0xf7be54(0xfd)](),this[_0xf7be54(0x120)][_0xf7be54(0x112)][_0xf7be54(0x10b)](this[_0xf7be54(0xf0)]),this[_0xf7be54(0xee)][_0xf7be54(0xf7)](_0xf7be54(0x10d),(_0x47c334,_0x182709)=>{const _0x17d290=_0xf7be54;this[_0x17d290(0x108)]||this[_0x17d290(0x11d)]||_0x47c334[_0x17d290(0x11a)]==this[_0x17d290(0x120)][_0x17d290(0x119)][_0x17d290(0x113)]&&(this[_0x17d290(0x104)](),_0x182709());}),this[_0xf7be54(0x120)][_0xf7be54(0x119)]['on'](_0xf7be54(0x102),()=>{const _0x404025=_0xf7be54;this[_0x404025(0x11d)]=''===this[_0x404025(0x120)][_0x404025(0x119)][_0x404025(0x113)][_0x404025(0xf4)]?.[_0x404025(0xef)]();});}[_0x128210(0x10c)](){const _0x2e47a7=_0x128210;super[_0x2e47a7(0x10c)](),this[_0x2e47a7(0xfb)]&&this[_0x2e47a7(0xfb)][_0x2e47a7(0x10c)]();}[_0x128210(0x104)](){const _0x49b052=_0x128210,_0x2c199c=this[_0x49b052(0x120)][_0x49b052(0x119)][_0x49b052(0x113)][_0x49b052(0xf4)]?.[_0x49b052(0xef)]();if(!_0x2c199c)return this[_0x49b052(0x120)][_0x49b052(0xfa)]=_0x1be30e(this[_0x49b052(0xe7)],_0x49b052(0xff)),void(this[_0x49b052(0x120)][_0x49b052(0x119)][_0x49b052(0x107)]=!0x0);this[_0x49b052(0x120)][_0x49b052(0x119)][_0x49b052(0x107)]=!0x1;const _0x2ff034=_0x2ac7e4(_0x2c199c);this[_0x49b052(0xe5)](_0x49b052(0x105),_0x2ff034),this[_0x49b052(0x120)][_0x49b052(0x119)][_0x49b052(0x116)]();}[_0x128210(0x101)](_0x523f52){const _0x527ead=_0x128210;this[_0x527ead(0x120)][_0x527ead(0x119)][_0x527ead(0xf7)](_0x527ead(0xe6),_0x523f52);}[_0x128210(0xe1)](){const _0x2393b1=_0x128210,_0x2657e2=new _0x3553ba(this[_0x2393b1(0xe7)]);return _0x2657e2[_0x2393b1(0xf7)]({'icon':_0x95712e,'label':_0x1be30e(this[_0x2393b1(0xe7)],_0x2393b1(0xe8)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2393b1(0xf8),'isEnabled':!0x1}),_0x2657e2['on'](_0x2393b1(0xe4),()=>{const _0x5cf2eb=_0x2393b1;this[_0x5cf2eb(0x104)]();}),_0x2657e2;}[_0x128210(0x11c)](_0xe15bbf){const _0x5e26aa=_0x128210;this[_0x5e26aa(0x108)]=_0xe15bbf;}[_0x128210(0x109)](){const _0x3a8282=_0x128210,_0x1d6d68=this[_0x3a8282(0xe7)],_0x2951f7=()=>{const _0x5886ba=_0x3a8282;_0x3a77b4[_0x5886ba(0xed)][_0x5886ba(0x121)](()=>{const _0x19dbc3=_0x5886ba;if(_0x2c3b59(this[_0x19dbc3(0x113)])){const _0x935788=new _0x19b7e1(this[_0x19dbc3(0x120)][_0x19dbc3(0x119)][_0x19dbc3(0x113)]),_0x5e01d8=new _0x19b7e1(this[_0x19dbc3(0x110)][_0x19dbc3(0x113)]),_0x578e49=_0x935788[_0x19dbc3(0xfc)],_0x561867=_0x19dbc3(0x10f)===_0x1d6d68[_0x19dbc3(0xeb)]?_0x19dbc3(0x114):_0x19dbc3(0x11b);_0x935788[_0x19dbc3(0x10a)]();const _0x2e5f90=_0x578e49-_0x935788[_0x19dbc3(0xfc)]+0x1;this[_0x19dbc3(0x110)][_0x19dbc3(0x113)][_0x19dbc3(0xec)][_0x561867]=_0x19dbc3(0x10e)+(_0x578e49-_0x5e01d8[_0x19dbc3(0xfc)]-_0x2e5f90)+_0x19dbc3(0xf1);}});};this[_0x3a8282(0x120)][_0x3a8282(0x119)]['on'](_0x3a8282(0x102),_0x2951f7),this['on'](_0x3a8282(0xfd),()=>{const _0x354f57=_0x3a8282;_0x2951f7(),this[_0x354f57(0xfb)]=new _0x26ef71(this[_0x354f57(0x120)][_0x354f57(0x119)][_0x354f57(0x113)],()=>{_0x2951f7();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3004(){const _0x1a1206=['430AqrPZf','3389694vLLSyC','5624732JawGee','4003008IdfPPv','30LKkbBS','31617sneyAN','length','1949QvDbhF','194010Rdhkra','26732350JmUtVw','3088NljniF','filter','items'];_0x3004=function(){return _0x1a1206;};return _0x3004();}const _0x3f949a=_0x191b;(function(_0x293ed5,_0x329f9f){const _0x3d8fce=_0x191b,_0x5074ff=_0x293ed5();while(!![]){try{const _0x58d90c=-parseInt(_0x3d8fce(0xbc))/0x1*(parseInt(_0x3d8fce(0xc2))/0x2)+parseInt(_0x3d8fce(0xc5))/0x3+parseInt(_0x3d8fce(0xc4))/0x4+parseInt(_0x3d8fce(0xc6))/0x5*(parseInt(_0x3d8fce(0xbd))/0x6)+-parseInt(_0x3d8fce(0xc3))/0x7+parseInt(_0x3d8fce(0xbf))/0x8*(parseInt(_0x3d8fce(0xc7))/0x9)+-parseInt(_0x3d8fce(0xbe))/0xa;if(_0x58d90c===_0x329f9f)break;else _0x5074ff['push'](_0x5074ff['shift']());}catch(_0x543340){_0x5074ff['push'](_0x5074ff['shift']());}}}(_0x3004,0xae533));import{ListView as _0x21c864}from'ckeditor5/src/ui.js';function _0x191b(_0x313a5a,_0x288ed3){const _0x300450=_0x3004();return _0x191b=function(_0x191b3b,_0x190b9e){_0x191b3b=_0x191b3b-0xbc;let _0x22f4d9=_0x300450[_0x191b3b];return _0x22f4d9;},_0x191b(_0x313a5a,_0x288ed3);}export class AIChatPromptSuggestionsListView extends _0x21c864{[_0x3f949a(0xc0)](){const _0x2290d6=_0x3f949a;let _0x115957=0x0;for(const _0x45c8b2 of this[_0x2290d6(0xc1)])_0x115957+=_0x45c8b2[_0x2290d6(0xc1)][_0x2290d6(0xc8)];return{'resultsCount':_0x115957,'totalItemsCount':_0x115957};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2585(){const _0x43e46b=['_handleResourceSelection','test','211794ApRbAE','ck-ai-chat-resources__list','fire','2952hHUTnf','trim','filter','highlightText','extendTemplate','\x5c$&','resource','1009660LYlGMq','2235562uFjiMF','199476AaOJiM','useDefaultFiltering','3096636ccjBvV','_source','label','6tjhLjC','replace','items','addResourceToContext','16841070xgBQkf','add','clear','updateResourceState','locale','execute','17336mXbQak','setResources','21LXSqIJ','forEach'];_0x2585=function(){return _0x43e46b;};return _0x2585();}const _0x45c34a=_0x97e2;(function(_0x49a9c2,_0x41e65d){const _0x6c83f2=_0x97e2,_0x4f2923=_0x49a9c2();while(!![]){try{const _0x25e786=-parseInt(_0x6c83f2(0x102))/0x1+-parseInt(_0x6c83f2(0xed))/0x2*(parseInt(_0x6c83f2(0xfe))/0x3)+-parseInt(_0x6c83f2(0xef))/0x4+parseInt(_0x6c83f2(0xeb))/0x5*(parseInt(_0x6c83f2(0xf2))/0x6)+-parseInt(_0x6c83f2(0xec))/0x7+-parseInt(_0x6c83f2(0xfc))/0x8*(-parseInt(_0x6c83f2(0xe4))/0x9)+parseInt(_0x6c83f2(0xf6))/0xa;if(_0x25e786===_0x41e65d)break;else _0x4f2923['push'](_0x4f2923['shift']());}catch(_0x14836c){_0x4f2923['push'](_0x4f2923['shift']());}}}(_0x2585,0x90db2));import{ListView as _0x5ca58c}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x5bd53f}from'./aichatresourcelistitemview.js';function _0x97e2(_0x5c3d54,_0x411f81){const _0x25851a=_0x2585();return _0x97e2=function(_0x97e2da,_0xa621a5){_0x97e2da=_0x97e2da-0xe2;let _0xc1acb1=_0x25851a[_0x97e2da];return _0xc1acb1;},_0x97e2(_0x5c3d54,_0x411f81);}const Zo=_0x45c34a(0xe2);export class AIChatContextResourcesListView extends _0x5ca58c{[_0x45c34a(0xf0)];constructor(_0x32ac77,_0x1e065e){const _0x23ce86=_0x45c34a;super(_0x32ac77),this[_0x23ce86(0xf0)]=_0x1e065e,this[_0x23ce86(0xe8)]({'attributes':{'class':[Zo]}});}[_0x45c34a(0xfd)](_0x4d600b,_0x44ce55){const _0x5a5078=_0x45c34a;this[_0x5a5078(0xf4)][_0x5a5078(0xf8)]();let _0x458f29=_0x4d600b;if(this[_0x5a5078(0xf0)][_0x5a5078(0xee)]&&_0x44ce55&&''!==_0x44ce55[_0x5a5078(0xe5)]()){const _0x4e53d9=new RegExp(_0x44ce55[_0x5a5078(0xf3)](/[.*+?^${}()|[\]\\]/g,_0x5a5078(0xe9)),'gi');_0x458f29=_0x4d600b[_0x5a5078(0xe6)](_0x1f8ef5=>_0x4e53d9[_0x5a5078(0x101)](_0x1f8ef5[_0x5a5078(0xf1)]));}for(const _0x9219d of _0x458f29){const _0x53b66d=new _0x5bd53f(this[_0x5a5078(0xfa)],_0x9219d);_0x53b66d['on'](_0x5a5078(0xfb),()=>{const _0x33e40b=_0x5a5078;this[_0x33e40b(0x100)](this[_0x33e40b(0xf0)],_0x9219d);}),this[_0x5a5078(0xf4)][_0x5a5078(0xf7)](_0x53b66d);}this[_0x5a5078(0xf0)][_0x5a5078(0xee)]&&this[_0x5a5078(0xe7)](_0x44ce55);}[_0x45c34a(0xe7)](_0x5f4730){const _0x240577=_0x45c34a;this[_0x240577(0xf0)][_0x240577(0xee)]&&this[_0x240577(0xf4)][_0x240577(0xff)](_0x3e1263=>{const _0x1f1055=_0x240577;_0x3e1263[_0x1f1055(0xe7)](_0x5f4730);});}[_0x45c34a(0xf9)](_0x5d39ea,_0x721a3b){const _0x1f63d9=_0x45c34a;for(const _0x596ce5 of this[_0x1f63d9(0xf4)]){const _0x4779f2=_0x596ce5;_0x4779f2[_0x1f63d9(0xea)]['id']===_0x5d39ea&&_0x4779f2[_0x1f63d9(0xf9)](_0x721a3b);}}[_0x45c34a(0x100)](_0x209563,_0x57a977){const _0x5b948b=_0x45c34a;this[_0x5b948b(0xe3)](_0x5b948b(0xf5),{'source':_0x209563,'resource':_0x57a977});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x167bc6=_0x511e;(function(_0x2af43d,_0x48d514){const _0x47b4a1=_0x511e,_0x4d2675=_0x2af43d();while(!![]){try{const _0xec6edb=parseInt(_0x47b4a1(0xe6))/0x1+parseInt(_0x47b4a1(0xf4))/0x2*(parseInt(_0x47b4a1(0xee))/0x3)+parseInt(_0x47b4a1(0xfd))/0x4+parseInt(_0x47b4a1(0xdb))/0x5*(-parseInt(_0x47b4a1(0xdf))/0x6)+-parseInt(_0x47b4a1(0xfc))/0x7*(parseInt(_0x47b4a1(0xf8))/0x8)+-parseInt(_0x47b4a1(0x104))/0x9+-parseInt(_0x47b4a1(0xde))/0xa;if(_0xec6edb===_0x48d514)break;else _0x4d2675['push'](_0x4d2675['shift']());}catch(_0x3a71c0){_0x4d2675['push'](_0x4d2675['shift']());}}}(_0x37b5,0xaf998));import{View as _0x3763f6,ViewCollection as _0x47299}from'ckeditor5/src/ui.js';function _0x511e(_0x819f16,_0x3d2da3){const _0x37b57e=_0x37b5();return _0x511e=function(_0x511e00,_0x3c67b1){_0x511e00=_0x511e00-0xdb;let _0x2508ba=_0x37b57e[_0x511e00];return _0x2508ba;},_0x511e(_0x819f16,_0x3d2da3);}import{uid as _0x289361}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0xaacd7f}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x58ab28}from'./aichatresourcessearchinputview.js';function _0x37b5(){const _0x43a429=['searchInputVisibleFrom','778982nrguLk','extendTemplate','_latestLoadResourcesUid','locale','56htBUOj','render','set','fire','20888OWWZBH','2882416vhDhMu','_searchInputVisibleFrom','ck\x20ck-search','useDefaultFiltering','length','source','_searchSection','3686400Iebifm','_resourcesListView','addResourceToContext','updateResourceState','setResources','getQuery','children','search','div','2965040QuoSav','_createSearchSection','_skeletonLoader','2992760SuyFQG','6RGCIuM','_searchView','add','has','bindTemplate','aiChatResources','setTemplate','542442dCXBFv','_createSearchView','isLoading','_createResourcesListView','loadSourceResources','delegate','_createSkeletonView','loadResources','6kwvujf','_source','ck-hidden','highlightText','ck-ai-chat-resources'];_0x37b5=function(){return _0x43a429;};return _0x37b5();}import{AISkeletonView as _0x15e965,SKELETON_DEFINITIONS as _0x12e31b}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3763f6{[_0x167bc6(0xe0)];[_0x167bc6(0x103)];[_0x167bc6(0xfe)];[_0x167bc6(0x105)];[_0x167bc6(0xdd)];[_0x167bc6(0xef)];[_0x167bc6(0x10a)];[_0x167bc6(0xf6)]=null;constructor(_0x5f1cf5,_0x36e41b){const _0xcad844=_0x167bc6;super(_0x5f1cf5),this[_0xcad844(0xef)]=_0x36e41b[_0xcad844(0x102)],this[_0xcad844(0xfe)]=_0x36e41b[_0xcad844(0xf3)]??0x7,this[_0xcad844(0xfa)](_0xcad844(0xe8),!0x0),this[_0xcad844(0xe0)]=this[_0xcad844(0xe7)](),this[_0xcad844(0x103)]=this[_0xcad844(0xdc)](),this[_0xcad844(0x105)]=this[_0xcad844(0xe9)](),this[_0xcad844(0xdd)]=this[_0xcad844(0xec)](),this[_0xcad844(0x10a)]=new _0x47299([this[_0xcad844(0xdd)],this[_0xcad844(0x105)]]),this[_0xcad844(0xe5)]({'tag':_0xcad844(0x10c),'attributes':{'class':_0xcad844(0xf2)},'children':this[_0xcad844(0x10a)]});}[_0x167bc6(0xe7)](){const _0x4a90a2=_0x167bc6;return new _0x58ab28(this[_0x4a90a2(0xf7)]);}[_0x167bc6(0xdc)](){const _0xefe65c=_0x167bc6,_0x262f1b=new _0x3763f6(this[_0xefe65c(0xf7)]);return _0x262f1b[_0xefe65c(0xe5)]({'tag':_0xefe65c(0x10c),'attributes':{'class':_0xefe65c(0xff)},'children':[this[_0xefe65c(0xe0)]]}),this[_0xefe65c(0xe0)]['on'](_0xefe65c(0x10b),(_0x6d283,_0x30039a)=>{const _0x2a6c81=_0xefe65c;this[_0x2a6c81(0xed)](_0x30039a),this[_0x2a6c81(0xef)][_0x2a6c81(0x100)]&&this[_0x2a6c81(0x105)][_0x2a6c81(0xf1)](_0x30039a);}),_0x262f1b;}[_0x167bc6(0xe9)](){const _0x503dde=_0x167bc6,_0x392db7=new _0xaacd7f(this[_0x503dde(0xf7)],this[_0x503dde(0xef)]);return _0x392db7[_0x503dde(0xeb)](_0x503dde(0x106))['to'](this),_0x392db7[_0x503dde(0xf5)]({'attributes':{'class':this[_0x503dde(0xe3)]['if'](_0x503dde(0xe8),_0x503dde(0xf0))}}),_0x392db7;}[_0x167bc6(0xec)](){const _0x4c5639=_0x167bc6,_0x4797c2=new _0x15e965(this[_0x4c5639(0xf7)],_0x12e31b[_0x4c5639(0xe4)]);return _0x4797c2[_0x4c5639(0xf5)]({'attributes':{'class':[this[_0x4c5639(0xe3)]['if'](_0x4c5639(0xe8),_0x4c5639(0xf0),_0x20d75b=>!_0x20d75b)]}}),_0x4797c2;}[_0x167bc6(0xf9)](){const _0x2c479e=_0x167bc6;super[_0x2c479e(0xf9)](),this[_0x2c479e(0xed)]('');}[_0x167bc6(0xed)](_0x19540f){const _0xfa3adb=_0x167bc6,_0x35dedb=_0x289361();this[_0xfa3adb(0xf6)]=_0x35dedb,this[_0xfa3adb(0xfb)](_0xfa3adb(0xea),{'sourceId':this[_0xfa3adb(0xef)]['id'],'query':_0x19540f,'uid':_0x35dedb}),this[_0xfa3adb(0xe8)]=!0x0;}[_0x167bc6(0x108)](_0xd09dfc,_0x1de2c0){const _0x35d683=_0x167bc6;if(_0x1de2c0&&_0x1de2c0!==this[_0x35d683(0xf6)])return;const _0x26ca2f=this[_0x35d683(0xef)][_0x35d683(0x100)]?this[_0x35d683(0xe0)][_0x35d683(0x109)]():'';this[_0x35d683(0x105)][_0x35d683(0x108)](_0xd09dfc,_0x26ca2f),_0xd09dfc[_0x35d683(0x101)]>=this[_0x35d683(0xfe)]&&!this[_0x35d683(0x10a)][_0x35d683(0xe2)](this[_0x35d683(0x103)])&&this[_0x35d683(0x10a)][_0x35d683(0xe1)](this[_0x35d683(0x103)],0x0),requestAnimationFrame(()=>{const _0x1acb81=_0x35d683;this[_0x1acb81(0xe8)]=!0x1;});}[_0x167bc6(0x107)](_0x32633e,_0x5dbada){const _0xb06a0b=_0x167bc6;this[_0xb06a0b(0x105)][_0xb06a0b(0x107)](_0x32633e,_0x5dbada);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b23db=_0x1737;function _0x1412(){const _0x10f18c=['1260429lFESxY','type','195HpknoZ','ck-ai-chat-resources__item','_titleView','setTemplate','set','isInContext','30hribUo','label','div','186910dmAUoZ','1100071zkSsvw','highlightText','bindTemplate','render','FILE','ck-hidden','ck-ai-chat-resources__item__icon','250968tTCxle','updateResourceState','1098075RzGfki','24GBWfMn','1694340PjGjMq','_createIconView','span','getResourceIcon','_setupTemplate','ck-ai-chat-resources__item--in-context','trim','execute','text','resource','ck-ai-chat-resources__item-title','DOCUMENT','4eMmLbo','TEXT','_updateIcon','30HjrqUk','_createTitleView','361783qreaVU','content','URL','_iconView','2rPSLGJ','isVisible','extendTemplate'];_0x1412=function(){return _0x10f18c;};return _0x1412();}function _0x1737(_0x4496b8,_0x45414b){const _0x141296=_0x1412();return _0x1737=function(_0x173704,_0x76d28f){_0x173704=_0x173704-0x6a;let _0x3c1292=_0x141296[_0x173704];return _0x3c1292;},_0x1737(_0x4496b8,_0x45414b);}(function(_0x25fa70,_0x39da04){const _0x257ec0=_0x1737,_0x2bd8e4=_0x25fa70();while(!![]){try{const _0x94432d=parseInt(_0x257ec0(0x82))/0x1*(parseInt(_0x257ec0(0x86))/0x2)+-parseInt(_0x257ec0(0x89))/0x3*(-parseInt(_0x257ec0(0x7d))/0x4)+parseInt(_0x257ec0(0x94))/0x5*(-parseInt(_0x257ec0(0x80))/0x6)+-parseInt(_0x257ec0(0x95))/0x7*(-parseInt(_0x257ec0(0x70))/0x8)+-parseInt(_0x257ec0(0x71))/0x9*(parseInt(_0x257ec0(0x91))/0xa)+parseInt(_0x257ec0(0x6f))/0xb+-parseInt(_0x257ec0(0x6d))/0xc*(parseInt(_0x257ec0(0x8b))/0xd);if(_0x94432d===_0x39da04)break;else _0x2bd8e4['push'](_0x2bd8e4['shift']());}catch(_0x41b884){_0x2bd8e4['push'](_0x2bd8e4['shift']());}}}(_0x1412,0x46442));import{HighlightedTextView as _0x1c71ec,IconView as _0x5e60a5,ListItemView as _0x372372}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x4ca999}from'es-toolkit/compat';import{AIContextItemType as _0x3a27d9}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x93e9e2,IconCheck as _0x5a2359,IconDocument as _0x11f641,IconDocumentOutline as _0x17a466,IconLink as _0x49e566}from'@ckeditor/ckeditor5-icons';const Jr=_0x2b23db(0x8c),Kr=_0x2b23db(0x76),Nr=_0x2b23db(0x7b),Qr=_0x2b23db(0x6c);export class AIChatResourceListItemView extends _0x372372{[_0x2b23db(0x7a)];[_0x2b23db(0x8d)];[_0x2b23db(0x85)];constructor(_0x5e0b2e,_0x1a400c){const _0x79c37=_0x2b23db;super(_0x5e0b2e),this[_0x79c37(0x7a)]=_0x1a400c,this[_0x79c37(0x8f)](_0x79c37(0x90),!!_0x1a400c[_0x79c37(0x90)]),this[_0x79c37(0x8d)]=this[_0x79c37(0x81)](),this[_0x79c37(0x85)]=this[_0x79c37(0x72)](),this[_0x79c37(0x75)]();}[_0x2b23db(0x98)](){const _0x16753c=_0x2b23db;super[_0x16753c(0x98)]();}[_0x2b23db(0x74)](_0x15c8c2){const _0x34ec18=_0x2b23db;if(_0x15c8c2[_0x34ec18(0x90)])return _0x5a2359;switch(_0x15c8c2[_0x34ec18(0x8a)]){case _0x3a27d9[_0x34ec18(0x7c)]:return _0x11f641;case _0x3a27d9[_0x34ec18(0x84)]:return _0x49e566;case _0x3a27d9[_0x34ec18(0x6a)]:case _0x3a27d9[_0x34ec18(0x7e)]:return _0x93e9e2;default:return _0x17a466;}}[_0x2b23db(0x96)](_0x2b127e){const _0x303f19=_0x2b23db;if(!_0x2b127e||''===_0x2b127e[_0x303f19(0x77)]())return void this[_0x303f19(0x8d)][_0x303f19(0x96)](null);const _0x21b54d=new RegExp(_0x4ca999(_0x2b127e),'gi');this[_0x303f19(0x8d)][_0x303f19(0x96)](_0x21b54d);}[_0x2b23db(0x6e)](_0x387fbe){const _0x20ff2a=_0x2b23db;this[_0x20ff2a(0x7a)][_0x20ff2a(0x90)]=_0x387fbe,this[_0x20ff2a(0x90)]=_0x387fbe,this[_0x20ff2a(0x7f)]();}[_0x2b23db(0x81)](){const _0x1c1fc2=_0x2b23db,_0x345c26=new _0x1c71ec();return _0x345c26[_0x1c1fc2(0x79)]=this[_0x1c1fc2(0x7a)][_0x1c1fc2(0x92)],_0x345c26[_0x1c1fc2(0x88)]({'tag':_0x1c1fc2(0x73),'attributes':{'class':[Nr]}}),_0x345c26;}[_0x2b23db(0x72)](){const _0x5730b0=_0x2b23db,_0x92eaeb=new _0x5e60a5();return _0x92eaeb[_0x5730b0(0x83)]=this[_0x5730b0(0x74)](this[_0x5730b0(0x7a)]),_0x92eaeb;}[_0x2b23db(0x75)](){const _0x2f4cae=_0x2b23db,_0x35524e=this[_0x2f4cae(0x97)];this[_0x2f4cae(0x8e)]({'tag':_0x2f4cae(0x93),'attributes':{'class':[Jr,_0x35524e['if'](_0x2f4cae(0x87),_0x2f4cae(0x6b),_0x5d8f53=>!_0x5d8f53),_0x35524e['if'](_0x2f4cae(0x90),Kr)]},'children':[{'tag':_0x2f4cae(0x93),'attributes':{'class':[Qr]},'children':[this[_0x2f4cae(0x85)]]},this[_0x2f4cae(0x8d)]],'on':{'click':_0x35524e['to'](_0x2f4cae(0x78))}});}[_0x2b23db(0x7f)](){const _0x5c75eb=_0x2b23db;this[_0x5c75eb(0x85)][_0x5c75eb(0x83)]=this[_0x5c75eb(0x74)](this[_0x5c75eb(0x7a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe00f29=_0x2fca;(function(_0xa1c390,_0x29381f){const _0x2d7cfc=_0x2fca,_0x3977f3=_0xa1c390();while(!![]){try{const _0x4b1698=-parseInt(_0x2d7cfc(0xfe))/0x1+parseInt(_0x2d7cfc(0xd7))/0x2*(-parseInt(_0x2d7cfc(0xdd))/0x3)+parseInt(_0x2d7cfc(0xee))/0x4*(-parseInt(_0x2d7cfc(0xcc))/0x5)+parseInt(_0x2d7cfc(0xf0))/0x6+parseInt(_0x2d7cfc(0xe2))/0x7+-parseInt(_0x2d7cfc(0xdb))/0x8+parseInt(_0x2d7cfc(0xde))/0x9;if(_0x4b1698===_0x29381f)break;else _0x3977f3['push'](_0x3977f3['shift']());}catch(_0x4e7fd4){_0x3977f3['push'](_0x3977f3['shift']());}}}(_0x3bc9,0x65844));import{BalloonPanelView as _0x2054ea,ButtonView as _0x3be969,clickOutsideHandler as _0x3e7bb6,FormHeaderView as _0x54842e}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0xe7f308}from'@ckeditor/ckeditor5-icons';function _0x2fca(_0x2bf236,_0xa712e3){const _0x3bc926=_0x3bc9();return _0x2fca=function(_0x2fca41,_0x45808b){_0x2fca41=_0x2fca41-0xc9;let _0x2eae59=_0x3bc926[_0x2fca41];return _0x2eae59;},_0x2fca(_0x2bf236,_0xa712e3);}import{getTranslation as _0x38d825}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x42a983}from'./aichatcontextresourcesview.js';const Wr=_0xe00f29(0xcd),Yr=_0xe00f29(0xd2),Zr=_0xe00f29(0xfc);function _0x3bc9(){const _0x3ed59e=['destroy','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','updateResourceState','400628JfUHnO','hide','populateSourceResourceBalloon','loadSourceResources','children','_config','_sourceResourceBalloons','element','getTargetElement','isAnyResourceBalloonVisible','10pmoQoL','ck-ai-chat-context-controls__source-balloon-panel','addResourceToContext','change:isLoading','_createBalloonResourcesView','showSourceResourcesBalloon','ck-button-icon\x20ck-button-back','_getResourcesViewFromBalloon','source','onResourceSelected','show','1442356vEtxCE','pin','onBackToContext','_createSourceResourceBalloonPanel','3118080TThnQR','_addSourceResourceContent','3eiVioj','14723604LkHWyb','searchInputVisibleFrom','isVisible','clear','3750026FOBAlW','delete','_createBalloonHeader','set','values','_setupSingleResourceBalloonClickOutsideHandler','label','setResources','once','closeSourceResourceBalloon','onBalloonClosed','content','1251836oMiETT','get','2289732YdBBgo','add','extendTemplate','getLimiterElement','execute','_createBackButton','_locale','resource','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onLoadSourceResources','_bodyCollection'];_0x3bc9=function(){return _0x3ed59e;};return _0x3bc9();}export class AIChatResourcesBalloonView{[_0xe00f29(0x104)]=new Map();[_0xe00f29(0xfa)];[_0xe00f29(0xf6)];[_0xe00f29(0x103)];constructor(_0x4c033c,_0x144814,_0x1ab69c){const _0xd1e77=_0xe00f29;this[_0xd1e77(0xf6)]=_0x4c033c,this[_0xd1e77(0xfa)]=_0x144814,this[_0xd1e77(0x103)]=_0x1ab69c;}[_0xe00f29(0xd1)](_0x6cdebd){const _0x4c1b05=_0xe00f29;let _0x5b6831=this[_0x4c1b05(0x104)][_0x4c1b05(0xef)](_0x6cdebd['id']);_0x5b6831||(_0x5b6831=this[_0x4c1b05(0xda)](),this[_0x4c1b05(0x104)][_0x4c1b05(0xe5)](_0x6cdebd['id'],_0x5b6831),this[_0x4c1b05(0xe7)](_0x5b6831)),this[_0x4c1b05(0xdc)](_0x5b6831,_0x6cdebd),_0x5b6831[_0x4c1b05(0xd6)]();const _0x36eac6=this[_0x4c1b05(0x103)][_0x4c1b05(0xca)]();_0x36eac6&&_0x5b6831[_0x4c1b05(0xd8)]({'target':_0x36eac6,'limiter':this[_0x4c1b05(0x103)][_0x4c1b05(0xf3)]()});}[_0xe00f29(0x100)](_0x420b8b,_0x41e274,_0x25ebb3){const _0x5ed4a2=_0xe00f29,_0x201d3a=this[_0x5ed4a2(0x104)][_0x5ed4a2(0xef)](_0x420b8b);if(!_0x201d3a)return;const _0xeeeaf8=this[_0x5ed4a2(0xd3)](_0x201d3a);_0xeeeaf8&&(_0xeeeaf8[_0x5ed4a2(0xe9)](_0x41e274,_0x25ebb3),_0xeeeaf8[_0x5ed4a2(0xea)](_0x5ed4a2(0xcf),()=>{const _0x281776=_0x5ed4a2;_0x201d3a[_0x281776(0xd8)]({'target':this[_0x281776(0x103)][_0x281776(0xca)](),'limiter':this[_0x281776(0x103)][_0x281776(0xf3)]()});}));}[_0xe00f29(0xeb)](_0x2d003a){const _0x2c9dbb=_0xe00f29,_0x5771a5=this[_0x2c9dbb(0x104)][_0x2c9dbb(0xef)](_0x2d003a);_0x5771a5&&requestAnimationFrame(()=>{const _0x39bffb=_0x2c9dbb;_0x5771a5[_0x39bffb(0xff)](),this[_0x39bffb(0x104)][_0x39bffb(0xe3)](_0x2d003a),this[_0x39bffb(0x103)][_0x39bffb(0xec)]();});}[_0xe00f29(0xcb)](){const _0x35903c=_0xe00f29;for(const _0x44d92e of this[_0x35903c(0x104)][_0x35903c(0xe6)]())if(_0x44d92e[_0x35903c(0xe0)])return!0x0;return!0x1;}[_0xe00f29(0xfd)](_0x3ad5ab,_0x7dcba7,_0x2dbe8d){const _0x5de838=_0xe00f29,_0x21207e=this[_0x5de838(0x104)][_0x5de838(0xef)](_0x3ad5ab);if(!_0x21207e||!_0x21207e[_0x5de838(0xe0)])return;const _0x17c74b=this[_0x5de838(0x103)][_0x5de838(0xca)]();if(!_0x17c74b)return;_0x21207e[_0x5de838(0xd8)]({'target':_0x17c74b,'limiter':this[_0x5de838(0x103)][_0x5de838(0xf3)]()});const _0xac294c=this[_0x5de838(0xd3)](_0x21207e);_0xac294c&&_0xac294c[_0x5de838(0xfd)](_0x7dcba7,_0x2dbe8d);}[_0xe00f29(0xfb)](){const _0x5c7a83=_0xe00f29;for(const _0x2ee149 of this[_0x5c7a83(0x104)][_0x5c7a83(0xe6)]())_0x2ee149[_0x5c7a83(0xfb)]();this[_0x5c7a83(0x104)][_0x5c7a83(0xe1)]();}[_0xe00f29(0xda)](){const _0x108af3=_0xe00f29,_0x1acd32=new _0x2054ea(this[_0x108af3(0xf6)]);return _0x1acd32[_0x108af3(0xf2)]({'attributes':{'class':Wr}}),this[_0x108af3(0xfa)][_0x108af3(0xf1)](_0x1acd32),_0x1acd32;}[_0xe00f29(0xdc)](_0x2412ee,_0x3cef17){const _0x5118b8=_0xe00f29;_0x2412ee[_0x5118b8(0xed)][_0x5118b8(0xe1)]();const _0x8b48a7=this[_0x5118b8(0xe4)](_0x2412ee,_0x3cef17);_0x2412ee[_0x5118b8(0xed)][_0x5118b8(0xf1)](_0x8b48a7);const _0x4df4c6=this[_0x5118b8(0xd0)](_0x3cef17);_0x2412ee[_0x5118b8(0xed)][_0x5118b8(0xf1)](_0x4df4c6);}[_0xe00f29(0xe4)](_0x21618b,_0x54cb7b){const _0x507933=_0xe00f29,_0x168230=this[_0x507933(0xf5)](_0x21618b),_0x4fd697=new _0x54842e(this[_0x507933(0xf6)],{'label':_0x54cb7b[_0x507933(0xe8)],'class':Zr});return _0x4fd697[_0x507933(0x102)][_0x507933(0xf1)](_0x168230,0x0),_0x4fd697;}[_0xe00f29(0xf5)](_0x28a255){const _0x260376=_0xe00f29,_0x1e3137=new _0x3be969(this[_0x260376(0xf6)]);return _0x1e3137[_0x260376(0xe5)]({'icon':_0xe7f308,'tooltip':_0x38d825(this[_0x260376(0xf6)],_0x260376(0xf8)),'tooltipPosition':'n','class':Yr}),_0x1e3137['on'](_0x260376(0xf4),()=>{const _0x2c276b=_0x260376;_0x28a255[_0x2c276b(0xff)](),this[_0x2c276b(0x103)][_0x2c276b(0xd9)]();}),_0x1e3137;}[_0xe00f29(0xd0)](_0x94fff4){const _0x4b152e=_0xe00f29,_0x33ec2=new _0x42a983(this[_0x4b152e(0xf6)],{'source':_0x94fff4,'searchInputVisibleFrom':this[_0x4b152e(0x103)][_0x4b152e(0xdf)]});return _0x33ec2['on'](_0x4b152e(0x101),(_0x4de5ee,_0x47d13c)=>{const _0x4d5134=_0x4b152e;this[_0x4d5134(0x103)][_0x4d5134(0xf9)](_0x47d13c);}),_0x33ec2['on'](_0x4b152e(0xce),(_0xc88bf4,_0x4b737a)=>{const _0x404a70=_0x4b152e;this[_0x404a70(0x103)][_0x404a70(0xd5)](_0x4b737a[_0x404a70(0xd4)],_0x4b737a[_0x404a70(0xf7)]),this[_0x404a70(0xeb)](_0x94fff4['id']);}),_0x33ec2;}[_0xe00f29(0xd3)](_0x585023){const _0x4f99dd=_0xe00f29,_0x511705=_0x585023[_0x4f99dd(0xed)][_0x4f99dd(0xef)](0x1);return _0x511705 instanceof _0x42a983?_0x511705:null;}[_0xe00f29(0xe7)](_0x303b59){const _0x3be8db=_0xe00f29;_0x3e7bb6({'emitter':_0x303b59,'contextElements':[_0x303b59[_0x3be8db(0xc9)]],'callback':()=>{const _0x4ae10f=_0x3be8db;_0x303b59[_0x4ae10f(0xff)](),this[_0x4ae10f(0x103)][_0x4ae10f(0xec)]();},'activator':()=>_0x303b59[_0x3be8db(0xe0)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x5cc0ca,IconView as _0x2bb9c4,LabeledFieldView as _0x20b00c,createLabeledInputText as _0xc7c6d4}from'ckeditor5/src/ui.js';import{IconLoupe as _0x4fb47a,IconCancel as _0x2e53ba}from'ckeditor5/src/icons.js';import{getTranslation as _0x2b2e3f}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x20b00c{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x20fe77){const t=_0x20fe77['t'],_0x2ce854={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0xc7c6d4,'label':_0x2b2e3f(_0x20fe77,'AI_CHAT_SEARCH_RESOURCES')};super(_0x20fe77,_0x2ce854['creator']),this['label']=_0x2ce854['label'],this['_viewConfig']=_0x2ce854,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x20fe77,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x5b989d){this['fire']('search',_0x5b989d);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2bb9c4(),this['iconView']['content']=_0x4fb47a,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x43ea42,t){this['resetButtonView']=new _0x5cc0ca(_0x43ea42),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x2e53ba,'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',_0x387908=>!_0x387908),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 _0x53b403=_0x119d;function _0x41c0(){const _0x13b13e=['element','div','reorganizeChips','render','ck-ai-chat-context-chips-wrapper-balloon','ck-reset_all','ck-ai-chat-context-controls__show-more-balloon-panel','4139910KiPwma','_overflowManager','ck-ai-chat-controls_context_show-more-button','setTemplate','154650vsEbGV','_createContextChips','1947820JgQOrb','_bodyCollection','querySelector','55951OmVlno','_contextChips','add','1124703Wbxzlo','372eYlUsz','48axdINI','ck-ai-chat-controls-button','ck-ai-chat-context-chips-wrapper','locale','ck-ai-chat__feed__context-chips','6244692ZJHEat','destroy','setContainerElement','8qOZBJF','332049MhYHNp','createCollection'];_0x41c0=function(){return _0x13b13e;};return _0x41c0();}function _0x119d(_0x1156ba,_0x24edeb){const _0x41c0da=_0x41c0();return _0x119d=function(_0x119da9,_0x1cf22a){_0x119da9=_0x119da9-0x182;let _0x2fe349=_0x41c0da[_0x119da9];return _0x2fe349;},_0x119d(_0x1156ba,_0x24edeb);}(function(_0xdc245,_0x4370d8){const _0xc3d681=_0x119d,_0x3f37ca=_0xdc245();while(!![]){try{const _0x3aa2c0=-parseInt(_0xc3d681(0x194))/0x1+parseInt(_0xc3d681(0x18b))/0x2*(parseInt(_0xc3d681(0x1a1))/0x3)+parseInt(_0xc3d681(0x190))/0x4+-parseInt(_0xc3d681(0x19d))/0x5+-parseInt(_0xc3d681(0x18a))/0x6*(parseInt(_0xc3d681(0x186))/0x7)+-parseInt(_0xc3d681(0x193))/0x8*(parseInt(_0xc3d681(0x189))/0x9)+-parseInt(_0xc3d681(0x183))/0xa;if(_0x3aa2c0===_0x4370d8)break;else _0x3f37ca['push'](_0x3f37ca['shift']());}catch(_0x4c3601){_0x3f37ca['push'](_0x3f37ca['shift']());}}}(_0x41c0,0xc8ef3));import{View as _0x980a8d}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x141f0}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x315261}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x53b403(0x18f),$o=_0x53b403(0x18d),qo=_0x53b403(0x19a),vo=_0x53b403(0x18c),fo=_0x53b403(0x19f),Io=_0x53b403(0x19c);export class AIChatFeedContextChipsView extends _0x980a8d{[_0x53b403(0x187)]=this[_0x53b403(0x195)]();[_0x53b403(0x19e)];[_0x53b403(0x184)];constructor(_0x30d2cf,_0x1ed3ef,_0x33b447){const _0xf9c693=_0x53b403;super(_0x30d2cf),this[_0xf9c693(0x184)]=_0x33b447,this[_0xf9c693(0x182)](_0x1ed3ef);const _0x3bd9d2={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':qo,'controlsButton':vo}};this[_0xf9c693(0x19e)]=new _0x315261(_0x30d2cf,this[_0xf9c693(0x187)],_0x3bd9d2,this[_0xf9c693(0x184)],this),this[_0xf9c693(0x1a0)]({'tag':_0xf9c693(0x197),'attributes':{'class':[Fo,'ck',_0xf9c693(0x19b)]},'children':[{'tag':_0xf9c693(0x197),'attributes':{'class':$o},'children':this[_0xf9c693(0x187)]}]});}[_0x53b403(0x199)](){const _0x3d3c0f=_0x53b403;super[_0x3d3c0f(0x199)]();const _0x4b0966=this[_0x3d3c0f(0x196)][_0x3d3c0f(0x185)]('.'+$o);_0x4b0966&&(this[_0x3d3c0f(0x19e)][_0x3d3c0f(0x192)](_0x4b0966),this[_0x3d3c0f(0x19e)][_0x3d3c0f(0x198)]());}[_0x53b403(0x191)](){const _0x2f08f6=_0x53b403;super[_0x2f08f6(0x191)](),this[_0x2f08f6(0x19e)][_0x2f08f6(0x191)]();}[_0x53b403(0x182)](_0x303488){const _0x20e96a=_0x53b403;for(const _0x4583fb of _0x303488){const _0x1301de=new _0x141f0(this[_0x20e96a(0x18e)],_0x4583fb,!0x0,!0x1);this[_0x20e96a(0x187)][_0x20e96a(0x188)](_0x1301de);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x569f81=_0x2146;function _0x1ab1(){var _0x3c4d49=['6168450DOXekq','ck-ai-notification_warning','5551839UZKcFA','options','initialContent','42ImTxNd','4503963UfPojV','level','2998872ifiXWF','setContent','6708656uAceeG','markAsDone','extendTemplate','render','1vUbVQZ','innerHTML','ck-ai-notification','element','ck-ai-notification_error','warning','7723710RmDSNW','176281uAsXcb','16RvgobS'];_0x1ab1=function(){return _0x3c4d49;};return _0x1ab1();}(function(_0x4c1abf,_0x32752d){var _0x5b0002=_0x2146,_0x587122=_0x4c1abf();while(!![]){try{var _0x2b488d=-parseInt(_0x5b0002(0x148))/0x1*(-parseInt(_0x5b0002(0x159))/0x2)+parseInt(_0x5b0002(0x157))/0x3+-parseInt(_0x5b0002(0x15b))/0x4+parseInt(_0x5b0002(0x14e))/0x5+-parseInt(_0x5b0002(0x156))/0x6*(parseInt(_0x5b0002(0x14f))/0x7)+parseInt(_0x5b0002(0x150))/0x8*(-parseInt(_0x5b0002(0x153))/0x9)+-parseInt(_0x5b0002(0x151))/0xa;if(_0x2b488d===_0x32752d)break;else _0x587122['push'](_0x587122['shift']());}catch(_0x222402){_0x587122['push'](_0x587122['shift']());}}}(_0x1ab1,0xcd6fb));import{AIChatFeedItemView as _0xd3bdfc}from'./aichatfeeditemview.js';function _0x2146(_0x4dc268,_0x1e034b){var _0x1ab1c3=_0x1ab1();return _0x2146=function(_0x214644,_0x3a9796){_0x214644=_0x214644-0x148;var _0x5aa523=_0x1ab1c3[_0x214644];return _0x5aa523;},_0x2146(_0x4dc268,_0x1e034b);}export class AIChatFeedErrorItemView extends _0xd3bdfc{constructor(_0x417ab5){var _0x307684=_0x2146;super(_0x417ab5),this[_0x307684(0x15d)]({'attributes':{'class':[_0x307684(0x14a),_0x307684(0x14d)===_0x417ab5[_0x307684(0x158)]?_0x307684(0x152):_0x307684(0x14c)]}});}[_0x569f81(0x15e)](){var _0x11fb6a=_0x569f81;super[_0x11fb6a(0x15e)](),this[_0x11fb6a(0x15a)](this[_0x11fb6a(0x154)][_0x11fb6a(0x155)]),this[_0x11fb6a(0x15c)]();}[_0x569f81(0x15a)](_0x517608){var _0x491553=_0x569f81;this[_0x491553(0x14b)][_0x491553(0x149)]=_0x517608;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4625c3=_0x2567;function _0x2567(_0x20c95b,_0x542224){const _0x1e4ce5=_0x1e4c();return _0x2567=function(_0x256717,_0x35bc32){_0x256717=_0x256717-0xb4;let _0x4bb44b=_0x1e4ce5[_0x256717];return _0x4bb44b;},_0x2567(_0x20c95b,_0x542224);}(function(_0xfc7d9c,_0x5b5807){const _0x121d09=_0x2567,_0x428e02=_0xfc7d9c();while(!![]){try{const _0x35f4b7=parseInt(_0x121d09(0xca))/0x1*(-parseInt(_0x121d09(0xc9))/0x2)+-parseInt(_0x121d09(0xce))/0x3*(parseInt(_0x121d09(0xc5))/0x4)+-parseInt(_0x121d09(0xc2))/0x5+parseInt(_0x121d09(0xb7))/0x6+-parseInt(_0x121d09(0xc0))/0x7+parseInt(_0x121d09(0xbd))/0x8*(parseInt(_0x121d09(0xba))/0x9)+-parseInt(_0x121d09(0xcb))/0xa*(-parseInt(_0x121d09(0xc7))/0xb);if(_0x35f4b7===_0x5b5807)break;else _0x428e02['push'](_0x428e02['shift']());}catch(_0x36e5e7){_0x428e02['push'](_0x428e02['shift']());}}}(_0x1e4c,0xa68c4));import{IconBulb as _0xb710cc,IconWeb as _0x53dd18}from'@ckeditor/ckeditor5-icons';import{IconView as _0x5b2d87,View as _0x18f370}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x175c58}from'./aichatfeeditemview.js';import{getTranslation as _0x468736}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x175c58{[_0x4625c3(0xc3)];constructor(_0x5b5188,_0xe920ef){const _0x282791=_0x4625c3;super(_0xe920ef);const {isWebSearchEnabled:_0x57325e,isReasoningEnabled:_0x42b612}=_0xe920ef[_0x282791(0xc3)],_0x3d4ab9=[];let _0x54ea77='';_0x57325e&&_0x42b612?(_0x54ea77=_0x468736(_0x5b5188,_0x282791(0xcc)),_0x3d4ab9[_0x282791(0xc6)](aa(_0x53dd18)),_0x3d4ab9[_0x282791(0xc6)](aa(_0xb710cc))):_0x57325e?(_0x54ea77=_0x468736(_0x5b5188,_0x282791(0xbc)),_0x3d4ab9[_0x282791(0xc6)](aa(_0x53dd18))):_0x42b612&&(_0x54ea77=_0x468736(_0x5b5188,_0x282791(0xb8)),_0x3d4ab9[_0x282791(0xc6)](aa(_0xb710cc))),this[_0x282791(0xc1)]({'attributes':{'class':[_0x282791(0xcd),_0x54ea77?'':_0x282791(0xbe)]}});const _0x209db3=new _0x18f370();_0x209db3[_0x282791(0xb5)]({'tag':_0x282791(0xb6),'attributes':{'class':['ck',_0x282791(0xc8)]},'children':[..._0x3d4ab9,{'tag':_0x282791(0xb9),'attributes':{'class':[_0x282791(0xbb)]},'children':[_0x54ea77]}]}),this[_0x282791(0xbf)][_0x282791(0xc4)](_0x209db3),this[_0x282791(0xc3)]=_0xe920ef[_0x282791(0xc3)];}}function _0x1e4c(){const _0x3d3b0e=['push','1254iknwcp','ck-ai-chat__feed__interaction-header__capabilities','68942vMmWpF','17xkftln','205050SKZdGJ','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header','1307919FLJgVm','content','setTemplate','div','5167854slxowG','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','72mxgjXS','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','25208RKNimT','ck-hidden','children','2341563GAUcbZ','extendTemplate','5927090SvXscg','capabilities','add','4rmypZf'];_0x1e4c=function(){return _0x3d3b0e;};return _0x1e4c();}function aa(_0x95de9){const _0x35ab10=_0x4625c3,_0x17b598=new _0x5b2d87();return _0x17b598[_0x35ab10(0xb4)]=_0x95de9,_0x17b598;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x354b(_0x58077a,_0x35c700){const _0x368477=_0x3684();return _0x354b=function(_0x354bf5,_0x7e57cb){_0x354bf5=_0x354bf5-0xfc;let _0x2ab7f2=_0x368477[_0x354bf5];return _0x2ab7f2;},_0x354b(_0x58077a,_0x35c700);}const _0x5791a7=_0x354b;(function(_0x34d942,_0x5dc891){const _0x50dcfd=_0x354b,_0x59b2d8=_0x34d942();while(!![]){try{const _0x3a065b=-parseInt(_0x50dcfd(0x10e))/0x1+parseInt(_0x50dcfd(0x100))/0x2*(parseInt(_0x50dcfd(0x112))/0x3)+-parseInt(_0x50dcfd(0x108))/0x4+parseInt(_0x50dcfd(0x115))/0x5+parseInt(_0x50dcfd(0x11e))/0x6+-parseInt(_0x50dcfd(0x105))/0x7*(-parseInt(_0x50dcfd(0x102))/0x8)+-parseInt(_0x50dcfd(0x114))/0x9;if(_0x3a065b===_0x5dc891)break;else _0x59b2d8['push'](_0x59b2d8['shift']());}catch(_0xce9171){_0x59b2d8['push'](_0x59b2d8['shift']());}}}(_0x3684,0xe6733));import{View as _0x3e5f57}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1f4492}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3e5f57{[_0x5791a7(0x11d)];[_0x5791a7(0xfc)]='';[_0x5791a7(0x107)];[_0x5791a7(0x103)];constructor(_0x589eeb){const _0x3b1750=_0x5791a7;super();const _0x5d21c3=this[_0x3b1750(0x11a)];this[_0x3b1750(0x11c)](_0x3b1750(0x101),!0x1),this[_0x3b1750(0x11c)](_0x3b1750(0x10d),!0x0),this[_0x3b1750(0x107)]=new _0x1f4492({'textNodeStyle':_0x3b1750(0x111),'delay':0x14}),this[_0x3b1750(0x11d)]=_0x589eeb,this[_0x3b1750(0x103)]=this[_0x3b1750(0x11b)](),this[_0x3b1750(0x109)]({'tag':_0x3b1750(0x116),'attributes':{'class':['ck',_0x3b1750(0xff),_0x5d21c3['if'](_0x3b1750(0x101),_0x3b1750(0x106)),_0x5d21c3['if'](_0x3b1750(0x10d),_0x3b1750(0x10a),_0x19f59d=>!_0x19f59d),_0x3b1750(0x104)],'data-cke-ai-id':this[_0x3b1750(0x11d)]['id']},'children':this[_0x3b1750(0x103)]});}[_0x5791a7(0x110)](){const _0x3501d8=_0x5791a7;this[_0x3501d8(0x107)][_0x3501d8(0x117)]({'targetElement':this[_0x3501d8(0x119)]}),this[_0x3501d8(0x119)][_0x3501d8(0x10b)](_0x3501d8(0x10f))[_0x3501d8(0x113)](_0x2abb96=>{const _0x57fb72=_0x3501d8;_0x2abb96[_0x57fb72(0x118)](_0x57fb72(0xfe));}),this[_0x3501d8(0x101)]=!0x0;}async[_0x5791a7(0x10c)](_0x231a5f,_0x47ecb0,_0x14001f){const _0x457949=_0x5791a7;await this[_0x457949(0x107)][_0x457949(0xfd)]({'document':_0x231a5f,'targetElement':_0x47ecb0,'abortSignal':_0x14001f});}}function _0x3684(){const _0x259c66=['htmlStreamer','1094812EHBiKb','setTemplate','ck-hidden','querySelectorAll','streamIntoElement','isVisible','1473629swIxeT','[data-id]','markAsDone','animation:\x20ck-html-streamer-fade-in\x20.5s','4161iiwOgt','forEach','5092875tmCzNI','1009705qYCYGO','div','cleanUpAnimations','removeAttribute','element','bindTemplate','createCollection','set','options','2203218JJTKjA','content','stream','data-id','ck-ai-chat__feed__item','2514CKmMMu','isDone','8XXkJMH','children','ck-ai-chat__feed__text-item','6611689NpphlK','ck-ai-chat__feed__item_done'];_0x3684=function(){return _0x259c66;};return _0x3684();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54a1e6=_0x2c05;function _0x1c98(){const _0x393548=['38601oxzBnJ','5862kdnBwq','2224026mFgisA','2029apmGmA','add','streaming','innerHTML','11vNFIMT','ck-ai-chat__feed__ai-reply-container','element','84gcXDUd','isVisible','416yfIFgc','children','options','addMany','ck-reset_all-excluded','div','initialContent','ck-ai-chat__feed__ai-reply','updateContent','21885QJTWpN','7897530VbyBrz','map','296zyJLGY','render','markAsDone','static','setTemplate','4086199vLMFpp','streamIntoElement','5035nkxbvO','388JChSIh','locale','replyContainer','extendTemplate','updateSources'];_0x1c98=function(){return _0x393548;};return _0x1c98();}(function(_0x37fc6f,_0x226170){const _0x27e0d0=_0x2c05,_0x1c0e04=_0x37fc6f();while(!![]){try{const _0x128ee4=parseInt(_0x27e0d0(0x9a))/0x1*(-parseInt(_0x27e0d0(0x92))/0x2)+parseInt(_0x27e0d0(0x87))/0x3*(parseInt(_0x27e0d0(0x8a))/0x4)+parseInt(_0x27e0d0(0x91))/0x5*(-parseInt(_0x27e0d0(0x98))/0x6)+parseInt(_0x27e0d0(0x99))/0x7+parseInt(_0x27e0d0(0x7e))/0x8*(-parseInt(_0x27e0d0(0x97))/0x9)+parseInt(_0x27e0d0(0x88))/0xa*(-parseInt(_0x27e0d0(0x9e))/0xb)+parseInt(_0x27e0d0(0xa1))/0xc*(parseInt(_0x27e0d0(0x8f))/0xd);if(_0x128ee4===_0x226170)break;else _0x1c0e04['push'](_0x1c0e04['shift']());}catch(_0x58dfce){_0x1c0e04['push'](_0x1c0e04['shift']());}}}(_0x1c98,0xa2fab));import{AIChatFeedItemView as _0x54ea90}from'./aichatfeeditemview.js';function _0x2c05(_0x4d4111,_0x1fd517){const _0x1c98f4=_0x1c98();return _0x2c05=function(_0x2c05e3,_0x27fcd3){_0x2c05e3=_0x2c05e3-0x7e;let _0x4e5b9a=_0x1c98f4[_0x2c05e3];return _0x4e5b9a;},_0x2c05(_0x4d4111,_0x1fd517);}import{parse as _0x497718,render as _0x645741}from'../../../aicore/utils/htmlparser.js';import{View as _0x33f9f2}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x7413c7,AIWebSourceView as _0x596b23}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x54ea90{[_0x54a1e6(0x94)];constructor(_0x2ee573,_0x473751){const _0x1f6c45=_0x54a1e6;super(_0x473751),this[_0x1f6c45(0x93)]=_0x2ee573,this[_0x1f6c45(0x95)]({'attributes':{'class':[_0x1f6c45(0x85)]}}),this[_0x1f6c45(0x94)]=new _0x33f9f2(),this[_0x1f6c45(0x94)][_0x1f6c45(0x8e)]({'tag':_0x1f6c45(0x83),'attributes':{'class':['ck',_0x1f6c45(0x82),_0x1f6c45(0x9f)]}}),this[_0x1f6c45(0x7f)][_0x1f6c45(0x9b)](this[_0x1f6c45(0x94)]);}async[_0x54a1e6(0x8b)](){const _0x5718fc=_0x54a1e6;super[_0x5718fc(0x8b)](),this[_0x5718fc(0x80)][_0x5718fc(0x84)]&&(await this[_0x5718fc(0x86)]({'parsedContent':_0x497718(this[_0x5718fc(0x80)][_0x5718fc(0x84)]),'renderingStrategy':_0x5718fc(0x8d)}),this[_0x5718fc(0x8c)]());}async[_0x54a1e6(0x86)]({parsedContent:_0x290432,renderingStrategy:_0x284ad7,abortSignal:_0x13eda4}){const _0x4d7963=_0x54a1e6;_0x4d7963(0x9c)===_0x284ad7?await this[_0x4d7963(0x90)](_0x290432,this[_0x4d7963(0x94)][_0x4d7963(0xa0)],_0x13eda4):this[_0x4d7963(0x94)][_0x4d7963(0xa0)][_0x4d7963(0x9d)]=_0x645741(_0x290432);}[_0x54a1e6(0x96)](_0x3ad0a2){const _0x18b15a=_0x54a1e6,_0x1327e7=new _0x7413c7(this[_0x18b15a(0x93)]);_0x1327e7[_0x18b15a(0x7f)][_0x18b15a(0x81)](_0x3ad0a2[_0x18b15a(0x89)](_0x258f18=>new _0x596b23(this[_0x18b15a(0x93)],_0x258f18))),_0x1327e7[_0x18b15a(0xa2)]=!0x0,this[_0x18b15a(0x7f)][_0x18b15a(0x9b)](_0x1327e7);}}
|