@ckeditor/ckeditor5-ai 47.2.0-alpha.2 → 47.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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/aichat/utils/scrollmanager.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/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/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/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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f968d=_0x24f7;(function(_0x3cc328,_0x203915){const _0x2414de=_0x24f7,_0x133b22=_0x3cc328();while(!![]){try{const _0x4281b2=-parseInt(_0x2414de(0xfb))/0x1+-parseInt(_0x2414de(0xe8))/0x2*(-parseInt(_0x2414de(0xd3))/0x3)+parseInt(_0x2414de(0x104))/0x4*(-parseInt(_0x2414de(0x103))/0x5)+-parseInt(_0x2414de(0xd9))/0x6*(-parseInt(_0x2414de(0xfa))/0x7)+parseInt(_0x2414de(0xe5))/0x8+-parseInt(_0x2414de(0xd2))/0x9*(-parseInt(_0x2414de(0xdc))/0xa)+-parseInt(_0x2414de(0xff))/0xb;if(_0x4281b2===_0x203915)break;else _0x133b22['push'](_0x133b22['shift']());}catch(_0x4f6694){_0x133b22['push'](_0x133b22['shift']());}}}(_0x59de,0xa72c5));import{ButtonView as _0x51357d,IconView as _0x296530}from'ckeditor5/src/ui.js';import{IconClose as _0xc1b449,IconDocument as _0x3cfcfa,IconFileUpload as _0x139851,IconLink as _0x4c0b14,IconSelection as _0x4f9e84}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5eef36}from'../../../aicore/utils/common-translations.js';function _0x24f7(_0x375657,_0x16ad83){const _0x59def2=_0x59de();return _0x24f7=function(_0x24f7dd,_0x5247b7){_0x24f7dd=_0x24f7dd-0xd2;let _0x106cde=_0x59def2[_0x24f7dd];return _0x106cde;},_0x24f7(_0x375657,_0x16ad83);}import{AISpinnerView as _0x5bbeed}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x139851,'document':_0x3cfcfa,'web-resource':_0x4c0b14,'text':_0x139851,'selection':_0x4f9e84},bn=_0x3f968d(0xe2),wn=_0x3f968d(0x10f),Tn=_0x3f968d(0x112),En=_0x3f968d(0xf2),fn=_0x3f968d(0x10c),An=_0x3f968d(0x110),Cn='n';export class AIChatContextItemButtonView extends _0x51357d{constructor(_0xd020ba,_0x1a49fa,_0x257d71,_0x38c882,_0x33961e=!0x1){const _0x819f61=_0x3f968d;super(_0xd020ba),this[_0x819f61(0xf1)]=_0x38c882,this[_0x819f61(0xde)](_0x1a49fa,_0x257d71,_0x33961e),this[_0x819f61(0x107)]();}[_0x3f968d(0xe6)](){const _0x1247ea=_0x3f968d;super[_0x1247ea(0xe6)](),this[_0x1247ea(0xf1)]&&this[_0x1247ea(0xf0)]&&(this[_0x1247ea(0xf0)][_0x1247ea(0x101)][_0x1247ea(0xe1)](_0x1247ea(0xda)),this[_0x1247ea(0x10a)](this[_0x1247ea(0xf0)],()=>{const _0x140570=_0x1247ea;this[_0x140570(0xf0)]&&this[_0x140570(0xf0)][_0x140570(0x101)][_0x140570(0x114)](_0x140570(0xda));}));}[_0x3f968d(0x111)](){const _0x520b1a=_0x3f968d;this[_0x520b1a(0xf1)]=!0x1,this[_0x520b1a(0xf0)]&&this[_0x520b1a(0xf0)][_0x520b1a(0x101)][_0x520b1a(0x114)](_0x520b1a(0xda));}[_0x3f968d(0xde)](_0x1c4b4c,_0x404d49,_0x55a839){const _0x205dc5=_0x3f968d;this[_0x205dc5(0xf4)](_0x205dc5(0x10e),_0x1c4b4c[_0x205dc5(0x10e)]),this[_0x205dc5(0xf4)](_0x205dc5(0xf8),!0x0),this[_0x205dc5(0xf4)](_0x205dc5(0x113),_0x1c4b4c[_0x205dc5(0xd5)]),this[_0x205dc5(0xf4)]('id',_0x1c4b4c[_0x205dc5(0x109)]),this[_0x205dc5(0xf4)](_0x205dc5(0xd6),_0x404d49),this[_0x205dc5(0xf4)](_0x205dc5(0xd8),_0x55a839);}[_0x3f968d(0x107)](){const _0x839f14=_0x3f968d,_0x4d9687=this[_0x839f14(0xf5)](),_0x533433=this[_0x839f14(0xfe)](),_0x2e10d4=this[_0x839f14(0xed)];this[_0x839f14(0xf9)]({'tag':_0x839f14(0x10d),'attributes':this[_0x839f14(0xee)](_0x2e10d4),'children':this[_0x839f14(0x106)](_0x4d9687,_0x533433,_0x2e10d4)});}[_0x3f968d(0xee)](_0x330223){const _0x23867b=_0x3f968d;return{'class':[bn,_0x330223['if'](_0x23867b(0x113),Tn,_0x4b42f1=>_0x23867b(0xd7)==_0x4b42f1),_0x330223['if'](_0x23867b(0x113),wn,_0x3d5b39=>_0x23867b(0x10b)==_0x3d5b39)],'data-cke-tooltip-text':_0x330223['to'](_0x23867b(0x10e),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x3f968d(0x106)](_0x520018,_0x480031,_0x53350b){const _0x4f1532=_0x3f968d,_0x250f66=this[_0x4f1532(0xfc)](_0x53350b),_0x4cf352=this[_0x4f1532(0xf6)]();return this[_0x4f1532(0xd6)]?[_0x520018,_0x250f66]:[_0x520018,_0x4cf352,_0x250f66,_0x480031];}[_0x3f968d(0xfc)](_0x2911a5){const _0x4b105e=_0x3f968d;return{'tag':_0x4b105e(0xdb),'attributes':{'class':En},'children':[{'text':_0x2911a5['to'](_0x4b105e(0x10e))}]};}[_0x3f968d(0xfe)](){const _0xf044ba=_0x3f968d,_0x108ae0=new _0x51357d(this[_0xf044ba(0xe0)]);return _0x108ae0[_0xf044ba(0xf4)]({'label':_0x5eef36(this[_0xf044ba(0xe0)],_0xf044ba(0xfd)),'icon':_0xc1b449}),this[_0xf044ba(0xe3)](_0x108ae0),_0x108ae0;}[_0x3f968d(0xe3)](_0x1e4fe0){const _0x4f6d5a=_0x3f968d;_0x1e4fe0['on'](_0x4f6d5a(0xea),()=>{const _0x184534=_0x4f6d5a;this[_0x184534(0xeb)](_0x184534(0xf7),this['id']);});}[_0x3f968d(0xf5)](){const _0x39f725=_0x3f968d,_0x244d88=this[_0x39f725(0xed)],_0x5a8b61=new _0x296530();return _0x5a8b61[_0x39f725(0x108)]=xn[this[_0x39f725(0x113)]],_0x5a8b61[_0x39f725(0xdd)]({'attributes':{'class':[fn,_0x244d88['if'](_0x39f725(0xd8),_0x39f725(0x100),_0x59e931=>_0x59e931)]}}),_0x5a8b61;}[_0x3f968d(0x10a)](_0x5a8cdc,_0x5120fe){const _0x759b6f=_0x3f968d;if(!_0x5a8cdc)return;const _0x277d76=()=>{const _0x835511=_0x24f7;_0x5120fe(),_0x5a8cdc[_0x835511(0xef)](_0x835511(0xec),_0x277d76),_0x5a8cdc[_0x835511(0xef)](_0x835511(0xe4),_0x277d76);};_0x5a8cdc[_0x759b6f(0xf3)](_0x759b6f(0xec),_0x277d76),_0x5a8cdc[_0x759b6f(0xf3)](_0x759b6f(0xe4),_0x277d76);}[_0x3f968d(0xf6)](){const _0x380506=_0x3f968d,_0x72b8a4=new _0x5bbeed(_0x380506(0x105));return _0x72b8a4[_0x380506(0xdf)](_0x380506(0xe7))['to'](this,_0x380506(0xd8),_0x3e102d=>_0x3e102d),_0x72b8a4;}}function _0x59de(){const _0x58b457=['render','isVisible','555994FNjdMN','slice','execute','fire','animationend','bindTemplate','_createTemplateAttributes','removeEventListener','element','_isAnimationOnEnterEnabled','ck-ai-chat-context-chip__label','addEventListener','set','_createIconView','_createLoaderIcon','removeContextItemChip','tooltip','setTemplate','12229lyaLDN','234953NXeDPA','_createLabelElement','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','_createRemoveButton','1243660dYHIMa','ck-hidden','classList','length','5834480mrtfmt','4VNpjby','small','_createTemplateChildren','_setupTemplate','content','uiId','_handleAnimationEndOnce','selection','ck-ai-chat-context-chip__type-icon','div','label','ck-ai-chat-context-chip_wide','ck-ai-chat-context-controls__chip-tooltip','disableAnimationOnEnter','ck-ai-chat-context-chip_document','itemType','remove','150363bLqohj','3TOlomM','lastIndexOf','type','readonly','document','isLoading','1974CcsPlR','ck-ai-chat-context-chip_new-chip','span','550CetPlA','extendTemplate','_initializeProperties','bind','locale','add','ck-ai-chat-context-chip','_setupRemoveButtonEvent','webkitAnimationEnd','3424040BrRAbX'];_0x59de=function(){return _0x58b457;};return _0x59de();}function In(_0x428015){const _0x2ceb0a=_0x3f968d;if(!_0x428015)return _0x428015;if(_0x428015[_0x2ceb0a(0x102)]<=0x78)return _0x428015;const _0x297466=_0x428015[_0x2ceb0a(0xe9)](0x0,0x78),_0x159bd2=_0x297466[_0x2ceb0a(0xd4)]('\x20');return(_0x159bd2>0x0?_0x297466[_0x2ceb0a(0xe9)](0x0,_0x159bd2):_0x297466)+'…';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2580(_0x8ce157,_0x4231c2){const _0x38a294=_0x38a2();return _0x2580=function(_0x258011,_0x353949){_0x258011=_0x258011-0x166;let _0xc88eb0=_0x38a294[_0x258011];return _0xc88eb0;},_0x2580(_0x8ce157,_0x4231c2);}const _0x3b31a4=_0x2580;(function(_0x9040bd,_0x4d2926){const _0x11f030=_0x2580,_0x5cd192=_0x9040bd();while(!![]){try{const _0x4d149e=parseInt(_0x11f030(0x17a))/0x1+-parseInt(_0x11f030(0x18f))/0x2*(-parseInt(_0x11f030(0x172))/0x3)+parseInt(_0x11f030(0x196))/0x4+-parseInt(_0x11f030(0x183))/0x5+parseInt(_0x11f030(0x170))/0x6*(-parseInt(_0x11f030(0x178))/0x7)+parseInt(_0x11f030(0x19c))/0x8*(parseInt(_0x11f030(0x1aa))/0x9)+-parseInt(_0x11f030(0x1a3))/0xa;if(_0x4d149e===_0x4d2926)break;else _0x5cd192['push'](_0x5cd192['shift']());}catch(_0x389559){_0x5cd192['push'](_0x5cd192['shift']());}}}(_0x38a2,0x786ae));import{FocusTracker as _0x26943c,KeystrokeHandler as _0xdea45f}from'ckeditor5/src/utils.js';import{ButtonView as _0x228ab2,FocusCycler as _0x2bc49f,LabeledFieldView as _0x2279d4,View as _0x549cf1,FormHeaderView as _0x228ca2,createLabeledInputText as _0x3ef869,submitHandler as _0x597b39}from'ckeditor5/src/ui.js';import{IconCheck as _0xa25c9f,IconPreviousArrow as _0x2367ea}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2e2be9}from'../../../aicore/utils/common-translations.js';function _0x38a2(){const _0x26cceb=['form','_isValidUrl','confirmButton','_setupTemplate','add','value','4892530sTgXlA','focusTracker','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','execute','shift+tab','length','trim','AI_CHAT_CONTEXT_URL_PLACEHOLDER','createCollection','submit','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','_setupEventHandlers','2bjJBxk','div','isEnabled','set','urlInputField','setError','children','3702520kLqgtM','focusCycler','refreshBalloon','_createUrlInputField','locale','ck-button-icon\x20ck-button-back','721928JYuPGV','submitUrl','errorText','fieldView','clear','getValue','AI_CHAT_CONTEXT_URL_LABEL','7217090zrkbfg','_updateConfirmButtonState','ck-ai-chat-context-controls__url-form','AI_CHAT_CONTEXT_URL_ADD_URL','tab','_createConfirmButton','fire','81rHayDd','listenTo','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','element','input','ck-button-icon','_setupKeystrokes','esc','destroy','stop','setTemplate','focus','forEach','keystrokes','_createBackButton','2019198xacIcv','_focusables','684165KytyqW','cancel','AI_CHAT_CONTEXT_URL_INVALID_ERROR','_handleSubmit','backButton','render','14HhpyEN','ck-labeled-field-view_empty','900657VXgAJa','clearError','ck-ai-chat-context-controls__url-input-section'];_0x38a2=function(){return _0x26cceb;};return _0x38a2();}const rh=_0x3b31a4(0x1a5),oh=_0x3b31a4(0x17c);export class AIChatContextPanelUrlInputView extends _0x549cf1{[_0x3b31a4(0x184)];[_0x3b31a4(0x16e)];[_0x3b31a4(0x171)];[_0x3b31a4(0x197)];[_0x3b31a4(0x193)];[_0x3b31a4(0x176)];[_0x3b31a4(0x17f)];constructor(_0x551582){const _0x521807=_0x3b31a4;super(_0x551582),this[_0x521807(0x184)]=new _0x26943c(),this[_0x521807(0x16e)]=new _0xdea45f(),this[_0x521807(0x176)]=this[_0x521807(0x16f)](),this[_0x521807(0x193)]=this[_0x521807(0x199)](),this[_0x521807(0x17f)]=this[_0x521807(0x1a8)](),this[_0x521807(0x171)]=this[_0x521807(0x18b)]([this[_0x521807(0x176)],this[_0x521807(0x193)],this[_0x521807(0x17f)]]),this[_0x521807(0x197)]=new _0x2bc49f({'focusables':this[_0x521807(0x171)],'focusTracker':this[_0x521807(0x184)],'keystrokeHandler':this[_0x521807(0x16e)],'actions':{'focusPrevious':_0x521807(0x187),'focusNext':_0x521807(0x1a7)}}),this[_0x521807(0x180)](),this[_0x521807(0x18e)](),this[_0x521807(0x167)]();}[_0x3b31a4(0x177)](){const _0x2ecd38=_0x3b31a4;super[_0x2ecd38(0x177)](),this[_0x2ecd38(0x171)][_0x2ecd38(0x16d)](_0x43b89d=>{const _0x3c3916=_0x2ecd38;this[_0x3c3916(0x184)][_0x3c3916(0x181)](_0x43b89d[_0x3c3916(0x1ad)]),this[_0x3c3916(0x16e)][_0x3c3916(0x1ab)](_0x43b89d[_0x3c3916(0x1ad)]);}),_0x597b39({'view':this}),this[_0x2ecd38(0x16c)]();}[_0x3b31a4(0x169)](){const _0x427858=_0x3b31a4;super[_0x427858(0x169)](),this[_0x427858(0x184)][_0x427858(0x169)](),this[_0x427858(0x16e)][_0x427858(0x169)]();}[_0x3b31a4(0x16c)](){const _0x1d46e9=_0x3b31a4;this[_0x1d46e9(0x193)][_0x1d46e9(0x16c)]();}[_0x3b31a4(0x1a1)](){const _0x240c7e=_0x3b31a4;return this[_0x240c7e(0x193)][_0x240c7e(0x19f)][_0x240c7e(0x1ad)]?.[_0x240c7e(0x182)]?.[_0x240c7e(0x189)]()||'';}[_0x3b31a4(0x1a0)](){const _0x3f8edb=_0x3b31a4;this[_0x3f8edb(0x193)][_0x3f8edb(0x19f)][_0x3f8edb(0x1ad)][_0x3f8edb(0x182)]='',this[_0x3f8edb(0x193)][_0x3f8edb(0x19e)]=null,this[_0x3f8edb(0x17f)][_0x3f8edb(0x191)]=!0x1;}[_0x3b31a4(0x194)](_0x481dbf){const _0x18b0ea=_0x3b31a4;this[_0x18b0ea(0x193)][_0x18b0ea(0x19e)]=_0x481dbf,this[_0x18b0ea(0x1a4)](),this[_0x18b0ea(0x1a9)](_0x18b0ea(0x198));}[_0x3b31a4(0x17b)](){const _0x86687a=_0x3b31a4;this[_0x86687a(0x193)][_0x86687a(0x19e)]=null,this[_0x86687a(0x1a4)]();}[_0x3b31a4(0x16f)](){const _0x5794c5=_0x3b31a4,_0x13d4f6=new _0x228ab2(this[_0x5794c5(0x19a)]);return _0x13d4f6[_0x5794c5(0x192)]({'icon':_0x2367ea,'tooltip':_0x2e2be9(this[_0x5794c5(0x19a)],_0x5794c5(0x1ac)),'tooltipPosition':'n','class':_0x5794c5(0x19b)}),_0x13d4f6;}[_0x3b31a4(0x199)](){const _0x9e62a7=_0x3b31a4,_0x5b6747=new _0x2279d4(this[_0x9e62a7(0x19a)],_0x3ef869);return _0x5b6747[_0x9e62a7(0x192)]({'label':_0x2e2be9(this[_0x9e62a7(0x19a)],_0x9e62a7(0x1a2)),'class':_0x9e62a7(0x179)}),_0x5b6747[_0x9e62a7(0x19f)][_0x9e62a7(0x192)]({'placeholder':_0x2e2be9(this[_0x9e62a7(0x19a)],_0x9e62a7(0x18a))}),_0x5b6747;}[_0x3b31a4(0x1a8)](){const _0x34d439=_0x3b31a4,_0x2d870=new _0x228ab2(this[_0x34d439(0x19a)]);return _0x2d870[_0x34d439(0x192)]({'icon':_0xa25c9f,'tooltip':_0x2e2be9(this[_0x34d439(0x19a)],_0x34d439(0x1a6)),'tooltipPosition':'n','class':_0x34d439(0x166),'type':_0x34d439(0x18c),'isEnabled':!0x1}),_0x2d870;}[_0x3b31a4(0x180)](){const _0x1ee389=_0x3b31a4,_0x559bdb=new _0x228ca2(this[_0x1ee389(0x19a)],{'label':_0x2e2be9(this[_0x1ee389(0x19a)],_0x1ee389(0x1a6)),'class':_0x1ee389(0x18d)});_0x559bdb[_0x1ee389(0x195)][_0x1ee389(0x181)](this[_0x1ee389(0x176)],0x0),this[_0x1ee389(0x16b)]({'tag':_0x1ee389(0x17d),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0x559bdb,{'tag':_0x1ee389(0x190),'attributes':{'class':oh},'children':[this[_0x1ee389(0x193)],this[_0x1ee389(0x17f)]]}]});}[_0x3b31a4(0x18e)](){const _0x27ca1d=_0x3b31a4;this[_0x27ca1d(0x176)]['on'](_0x27ca1d(0x186),()=>{const _0x371277=_0x27ca1d;this[_0x371277(0x1a0)](),this[_0x371277(0x1a9)](_0x371277(0x173));}),this[_0x27ca1d(0x193)][_0x27ca1d(0x19f)]['on'](_0x27ca1d(0x1ae),()=>{const _0x3147ba=_0x27ca1d;this[_0x3147ba(0x17b)](),this[_0x3147ba(0x1a4)](),this[_0x3147ba(0x1a9)](_0x3147ba(0x198));}),this['on'](_0x27ca1d(0x18c),_0x557c5a=>{const _0x5624f8=_0x27ca1d;_0x557c5a[_0x5624f8(0x16a)](),this[_0x5624f8(0x175)]();});}[_0x3b31a4(0x167)](){const _0x4039aa=_0x3b31a4;this[_0x4039aa(0x16e)][_0x4039aa(0x192)](_0x4039aa(0x168),(_0x5a6938,_0x121189)=>{const _0x5f1769=_0x4039aa;this[_0x5f1769(0x1a0)](),this[_0x5f1769(0x1a9)](_0x5f1769(0x173)),_0x121189();});}[_0x3b31a4(0x175)](){const _0x43ab9e=_0x3b31a4,_0x236797=this[_0x43ab9e(0x1a1)]()[_0x43ab9e(0x189)]();_0x236797?this[_0x43ab9e(0x17e)](_0x236797)?(this[_0x43ab9e(0x17b)](),this[_0x43ab9e(0x1a9)](_0x43ab9e(0x19d),_0x236797)):this[_0x43ab9e(0x194)](_0x2e2be9(this[_0x43ab9e(0x19a)],_0x43ab9e(0x174))):this[_0x43ab9e(0x194)](_0x2e2be9(this[_0x43ab9e(0x19a)],_0x43ab9e(0x185)));}[_0x3b31a4(0x1a4)](){const _0xbb5f7f=_0x3b31a4,_0x59c9df=this[_0xbb5f7f(0x1a1)]()[_0xbb5f7f(0x189)](),_0xda1e0=!!this[_0xbb5f7f(0x193)][_0xbb5f7f(0x19e)];this[_0xbb5f7f(0x17f)][_0xbb5f7f(0x191)]=_0x59c9df[_0xbb5f7f(0x188)]>0x0&&!_0xda1e0;}[_0x3b31a4(0x17e)](_0x2aeed3){try{return!!new URL(_0x2aeed3);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x58162c=_0x4da1;(function(_0x2e9e76,_0x677afa){const _0x35a0a6=_0x4da1,_0x2f3656=_0x2e9e76();while(!![]){try{const _0x2178a8=-parseInt(_0x35a0a6(0x175))/0x1+-parseInt(_0x35a0a6(0x157))/0x2+-parseInt(_0x35a0a6(0x12c))/0x3+parseInt(_0x35a0a6(0x1b7))/0x4*(parseInt(_0x35a0a6(0x13a))/0x5)+-parseInt(_0x35a0a6(0x196))/0x6+-parseInt(_0x35a0a6(0x135))/0x7+parseInt(_0x35a0a6(0x134))/0x8;if(_0x2178a8===_0x677afa)break;else _0x2f3656['push'](_0x2f3656['shift']());}catch(_0x166e24){_0x2f3656['push'](_0x2f3656['shift']());}}}(_0x3203,0xa4c9c));function _0x4da1(_0x51cff3,_0x5e73f6){const _0x3203ff=_0x3203();return _0x4da1=function(_0x4da143,_0x1d5844){_0x4da143=_0x4da143-0x12b;let _0x3e7fba=_0x3203ff[_0x4da143];return _0x3e7fba;},_0x4da1(_0x51cff3,_0x5e73f6);}import{BalloonPanelView as _0x33c96a,ButtonView as _0x125a31,clickOutsideHandler as _0x39c8bc,FileDialogButtonView as _0x143177,IconView as _0x2e1fdb,View as _0x10622f}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x27c3c2,IconDocument as _0x23ccac,IconDocumentOutline as _0x4f0b7e,IconDropdownArrow as _0xe1ff79,IconLink as _0x98897e,IconPaperClip as _0x4231ee}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x52da64}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x592aa8}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x563cd9}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x55c36f}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x2251fb}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x58162c(0x165),_0x58162c(0x189),_0x58162c(0x19b),_0x58162c(0x1a4),_0x58162c(0x19d),_0x58162c(0x183)];const po=_0x58162c(0x1a8),Bo=_0x58162c(0x176),bo=_0x58162c(0x190),To=_0x58162c(0x17a),Ao=_0x58162c(0x184),ko=_0x58162c(0x1a7),Eo=_0x58162c(0x18a),vo=_0x58162c(0x172),Vo=_0x58162c(0x1a1),go=_0x58162c(0x1af),fo=_0x58162c(0x151),Io=_0x58162c(0x130),Po=[_0x33c96a[_0x58162c(0x1ae)][_0x58162c(0x1ac)],_0x33c96a[_0x58162c(0x1ae)][_0x58162c(0x1b4)],_0x33c96a[_0x58162c(0x1ae)][_0x58162c(0x1a3)],_0x33c96a[_0x58162c(0x1ae)][_0x58162c(0x19f)],_0x33c96a[_0x58162c(0x1ae)][_0x58162c(0x168)],_0x33c96a[_0x58162c(0x1ae)][_0x58162c(0x14d)]];export class AIChatContextPanelView extends _0x10622f{[_0x58162c(0x1b3)];[_0x58162c(0x1b1)]=this[_0x58162c(0x15d)]();[_0x58162c(0x14a)]=this[_0x58162c(0x15d)]();[_0x58162c(0x142)];[_0x58162c(0x13e)];[_0x58162c(0x1a9)];[_0x58162c(0x194)];[_0x58162c(0x1b5)];[_0x58162c(0x140)];[_0x58162c(0x18d)];constructor(_0x3785bf,_0x505a02){const _0x5f678e=_0x58162c;super(_0x3785bf),this[_0x5f678e(0x18d)]=_0x505a02[_0x5f678e(0x18d)],this[_0x5f678e(0x1b1)]=this[_0x5f678e(0x15d)](),this[_0x5f678e(0x14a)]=this[_0x5f678e(0x15d)](),this[_0x5f678e(0x1b3)]=this[_0x5f678e(0x15e)](_0x3785bf),this[_0x5f678e(0x13e)]=this[_0x5f678e(0x17b)](_0x3785bf),this[_0x5f678e(0x1a9)]=this[_0x5f678e(0x19e)](_0x3785bf),this[_0x5f678e(0x1b5)]=this[_0x5f678e(0x19a)](_0x3785bf,_0x505a02);const _0x2af87d={'cssClasses':{'showMoreButton':go,'showMoreBalloon':fo,'overflowContainer':Vo,'controlsButton':vo}};this[_0x5f678e(0x142)]=new _0x563cd9(_0x3785bf,this[_0x5f678e(0x1b1)],_0x2af87d,this[_0x5f678e(0x18d)],this),this[_0x5f678e(0x140)]={'buttonView':this[_0x5f678e(0x1b3)],'balloonView':this[_0x5f678e(0x13e)],'hideMethod':this[_0x5f678e(0x1b8)][_0x5f678e(0x180)](this),'showMethod':this[_0x5f678e(0x161)][_0x5f678e(0x180)](this)},this[_0x5f678e(0x191)](),this[_0x5f678e(0x13c)]();}[_0x58162c(0x15b)](){const _0x88c916=_0x58162c;super[_0x88c916(0x15b)](),this[_0x88c916(0x13d)](),this[_0x88c916(0x142)][_0x88c916(0x174)](this[_0x88c916(0x136)]),this[_0x88c916(0x142)][_0x88c916(0x199)]();}[_0x58162c(0x143)](){const _0x5c97d8=_0x58162c;super[_0x5c97d8(0x143)](),this[_0x5c97d8(0x142)][_0x5c97d8(0x143)](),this[_0x5c97d8(0x1b5)][_0x5c97d8(0x143)]();}[_0x58162c(0x163)](_0x52564e,_0x494ffc){const _0xb11581=_0x58162c,_0x12a436=this[_0xb11581(0x156)](_0x52564e,_0xb11581(0x159),!0x0,_0x494ffc);this[_0xb11581(0x12b)](_0x12a436,this[_0xb11581(0x1b1)]),this[_0xb11581(0x142)][_0xb11581(0x199)]();}[_0x58162c(0x19d)](_0xf7f5eb){const _0x1ad08d=_0x58162c;this[_0x1ad08d(0x144)](_0xf7f5eb,this[_0x1ad08d(0x1b1)]),this[_0x1ad08d(0x144)](_0xf7f5eb,this[_0x1ad08d(0x142)][_0x1ad08d(0x166)]),this[_0x1ad08d(0x142)][_0x1ad08d(0x199)]();}[_0x58162c(0x192)](_0x539c6e,_0x1a2a8d){const _0x14f591=_0x58162c;let _0x2b3db1=this[_0x14f591(0x1b1)][_0x14f591(0x16f)](_0x518c33=>_0x518c33['id']===_0x539c6e);_0x2b3db1||(_0x2b3db1=this[_0x14f591(0x142)][_0x14f591(0x166)][_0x14f591(0x16f)](_0x2f36b3=>_0x2f36b3['id']===_0x539c6e)),_0x2b3db1&&(_0x2b3db1[_0x14f591(0x14f)]=_0x1a2a8d);}[_0x58162c(0x1a6)](_0x5dbf3a){const _0x169d62=_0x58162c;this[_0x169d62(0x14a)][_0x169d62(0x170)]();for(const _0x146cac of _0x5dbf3a){const _0x55b5a8=this[_0x169d62(0x156)](_0x146cac,_0x169d62(0x1a5),!0x1,!0x1);this[_0x169d62(0x12b)](_0x55b5a8,this[_0x169d62(0x14a)]);}}[_0x58162c(0x141)](){const _0x406ba3=_0x58162c;this[_0x406ba3(0x1b1)][_0x406ba3(0x170)](),this[_0x406ba3(0x142)][_0x406ba3(0x170)]();}[_0x58162c(0x19c)](){const _0x230a75=_0x58162c;this[_0x230a75(0x14a)][_0x230a75(0x170)]();}[_0x58162c(0x132)](_0x344084,_0x16b3dd,_0x6807de){const _0xc03fde=_0x58162c;this[_0xc03fde(0x1b5)][_0xc03fde(0x132)](_0x344084,_0x16b3dd,_0x6807de);}[_0x58162c(0x1b8)](){const _0x4d077b=_0x58162c;this[_0x4d077b(0x139)](!0x1);}[_0x58162c(0x161)](){const _0x1778dd=_0x58162c;this[_0x1778dd(0x139)](!0x0);}[_0x58162c(0x177)](){const _0x48a5e5=_0x58162c;this[_0x48a5e5(0x1a9)][_0x48a5e5(0x197)](),this[_0x48a5e5(0x1b3)][_0x48a5e5(0x138)]=!0x1,this[_0x48a5e5(0x194)]&&this[_0x48a5e5(0x194)][_0x48a5e5(0x170)]();}[_0x58162c(0x182)](){const _0x523758=_0x58162c;this[_0x523758(0x1a9)][_0x523758(0x195)](),this[_0x523758(0x1b3)][_0x523758(0x138)]=!0x0;}[_0x58162c(0x18b)](_0x2aaf4c){const _0x2469cd=_0x58162c;this[_0x2469cd(0x1b5)][_0x2469cd(0x149)](_0x2aaf4c),this[_0x2469cd(0x1b3)][_0x2469cd(0x138)]=!0x0;}[_0x58162c(0x1a2)](_0x80d4e2,_0x2d6402,_0x3e0b35,_0x2ce137){const _0x369622=_0x58162c;this[_0x369622(0x1b5)][_0x369622(0x1a2)](_0x80d4e2,_0x3e0b35,_0x2ce137);}[_0x58162c(0x1b0)](_0x23a3da){const _0x2e3046=_0x58162c;this[_0x2e3046(0x1b5)][_0x2e3046(0x1b0)](_0x23a3da),this[_0x2e3046(0x1b3)][_0x2e3046(0x138)]=!0x1;}[_0x58162c(0x14b)](_0x3f03bb){const _0x4092ef=_0x58162c;this[_0x4092ef(0x147)](this[_0x4092ef(0x13e)],this[_0x4092ef(0x1ad)],_0x3f03bb),this[_0x4092ef(0x16a)](_0x3f03bb);}[_0x58162c(0x16a)](_0x34c677){const _0x43c2ec=_0x58162c,_0x321109=!_0x34c677[_0x43c2ec(0x1b2)][_0x43c2ec(0x154)]&&_0x34c677[_0x43c2ec(0x1b2)][_0x43c2ec(0x16e)],_0x525113=_0x34c677[_0x43c2ec(0x17c)][_0x43c2ec(0x16e)],_0x11a256=_0x34c677[_0x43c2ec(0x14e)][_0x43c2ec(0x16e)];this[_0x43c2ec(0x1b3)][_0x43c2ec(0x146)]=_0x321109||_0x525113||_0x11a256;}[_0x58162c(0x191)](){const _0x580259=_0x58162c;this[_0x580259(0x153)]({'tag':_0x580259(0x187),'attributes':{'class':[po,_0x580259(0x12d)]},'children':[{'tag':_0x580259(0x187),'attributes':{'class':Bo},'children':this[_0x580259(0x1b1)]}]});}[_0x58162c(0x13c)](){const _0x1cd93d=_0x58162c;this[_0x1cd93d(0x1b3)]['on'](_0x1cd93d(0x15a),()=>{const _0x40a7ce=_0x1cd93d;this[_0x40a7ce(0x13f)]();});}[_0x58162c(0x15e)](_0x3df12a){const _0x18d0fe=_0x58162c,_0x56e256=new _0x125a31(_0x3df12a);return _0x56e256[_0x18d0fe(0x193)]({'label':_0x55c36f(_0x3df12a,_0x18d0fe(0x169)),'class':vo+'\x20'+To,'icon':_0x4231ee,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x56e256;}[_0x58162c(0x17b)](_0x485558){const _0x5bc1a6=_0x58162c;return this[_0x5bc1a6(0x14c)](_0x485558,bo);}[_0x58162c(0x19e)](_0x3d3707){const _0x4c3ad7=_0x58162c,_0x58edb1=this[_0x4c3ad7(0x14c)](_0x3d3707,Ao);return this[_0x4c3ad7(0x198)](_0x58edb1,_0x3d3707),_0x58edb1;}[_0x58162c(0x19a)](_0x1f59a6,_0x4309db){const _0x26cda7=_0x58162c,_0x5c4bd7={'searchInputVisibleFrom':_0x4309db[_0x26cda7(0x181)],'onBackToContext':()=>{const _0xc64dda=_0x26cda7;this[_0xc64dda(0x161)](),this[_0xc64dda(0x13e)][_0xc64dda(0x188)]({'target':this[_0xc64dda(0x1b3)][_0xc64dda(0x136)],'limiter':this[_0xc64dda(0x15f)](),'positions':Po});},'onResourceSelected':(_0x2cb0f6,_0x2d8f55)=>{const _0x3a4c84=_0x26cda7;this[_0x3a4c84(0x178)](_0x3a4c84(0x1a4),{'source':_0x2cb0f6,'resource':_0x2d8f55});},'onLoadSourceResources':_0x94a8d5=>{const _0x2c08d6=_0x26cda7;this[_0x2c08d6(0x178)](_0x2c08d6(0x183),_0x94a8d5);},'onBalloonClosed':()=>{const _0x380e0c=_0x26cda7;this[_0x380e0c(0x1b3)][_0x380e0c(0x138)]=!0x1;},'getLimiterElement':()=>this[_0x26cda7(0x15f)](),'getTargetElement':()=>this[_0x26cda7(0x1b3)][_0x26cda7(0x136)]};return new _0x2251fb(_0x1f59a6,_0x4309db[_0x26cda7(0x18d)],_0x5c4bd7);}[_0x58162c(0x15f)](){const _0x121739=_0x58162c;return this[_0x121739(0x136)]?.[_0x121739(0x1a0)]('.'+Io)||document[_0x121739(0x137)];}[_0x58162c(0x14c)](_0x5f3c47,_0x32233e){const _0x2879f4=_0x58162c,_0x1ef75c=new _0x33c96a(_0x5f3c47);return _0x1ef75c[_0x2879f4(0x155)]({'attributes':{'class':_0x32233e}}),this[_0x2879f4(0x18d)][_0x2879f4(0x173)](_0x1ef75c),_0x1ef75c;}[_0x58162c(0x147)](_0x44518d,_0x365353,_0x26ca8b){const _0x315ce6=_0x58162c;if(_0x44518d[_0x315ce6(0x186)][_0x315ce6(0x170)](),!_0x26ca8b[_0x315ce6(0x1b2)][_0x315ce6(0x154)]&&_0x26ca8b[_0x315ce6(0x1b2)][_0x315ce6(0x16e)]){const _0x4167c0=this[_0x315ce6(0x162)](_0x365353,{'label':_0x55c36f(_0x365353,_0x315ce6(0x12e)),'icon':_0x23ccac});_0x4167c0['on'](_0x315ce6(0x15a),()=>{const _0x43d010=_0x315ce6;this[_0x43d010(0x178)](_0x43d010(0x165)),this[_0x43d010(0x1b8)]();}),_0x44518d[_0x315ce6(0x186)][_0x315ce6(0x173)](_0x4167c0);}if(_0x26ca8b[_0x315ce6(0x17c)][_0x315ce6(0x16e)]){const _0x20a484=this[_0x315ce6(0x162)](_0x365353,{'label':_0x55c36f(_0x365353,_0x315ce6(0x1aa)),'icon':_0x98897e});_0x20a484['on'](_0x315ce6(0x15a),()=>{const _0x38248c=_0x315ce6;this[_0x38248c(0x1b8)](),this[_0x38248c(0x182)](),this[_0x38248c(0x1a9)][_0x38248c(0x188)]({'target':this[_0x38248c(0x1b3)][_0x38248c(0x136)],'limiter':this[_0x38248c(0x15f)](),'positions':Po}),this[_0x38248c(0x194)][_0x38248c(0x16c)]();}),_0x44518d[_0x315ce6(0x186)][_0x315ce6(0x173)](_0x20a484);}if(_0x26ca8b[_0x315ce6(0x14e)][_0x315ce6(0x16e)]){const _0x2cb4f8=new _0x143177(_0x365353);_0x2cb4f8[_0x315ce6(0x193)]({'label':_0x55c36f(_0x365353,_0x315ce6(0x158)),'icon':_0x27c3c2,'withText':!0x0,'tooltip':!0x0,'class':ko,'allowMultipleFiles':!0x0}),_0x2cb4f8['on'](_0x315ce6(0x179),(_0x78ecd2,_0x51547e)=>{const _0x118498=_0x315ce6;this[_0x118498(0x178)](_0x118498(0x189),_0x51547e),this[_0x118498(0x1b8)]();}),_0x2cb4f8[_0x315ce6(0x18f)]=!0x0,_0x44518d[_0x315ce6(0x186)][_0x315ce6(0x173)](_0x2cb4f8);}for(const _0x39aadc of _0x26ca8b[_0x315ce6(0x17f)]){const _0x5cfe83=this[_0x315ce6(0x162)](_0x365353,{'label':_0x39aadc[_0x315ce6(0x1b6)],'icon':_0x39aadc[_0x315ce6(0x16b)]||_0x4f0b7e,'type':_0x315ce6(0x18c)});_0x44518d[_0x315ce6(0x186)][_0x315ce6(0x173)](_0x5cfe83),_0x5cfe83['on'](_0x315ce6(0x15a),()=>{const _0xa7b4b3=_0x315ce6;this[_0xa7b4b3(0x1b8)](),this[_0xa7b4b3(0x18b)](_0x39aadc);});}}[_0x58162c(0x198)](_0x2aedc9,_0x3df4e6){const _0x5cbb33=_0x58162c;this[_0x5cbb33(0x194)]=new _0x592aa8(_0x3df4e6),this[_0x5cbb33(0x194)]['on'](_0x5cbb33(0x15c),(_0xc7fd5f,_0x14c6a8)=>{const _0x402ea3=_0x5cbb33;this[_0x402ea3(0x171)](_0x14c6a8);}),this[_0x5cbb33(0x194)]['on'](_0x5cbb33(0x148),()=>{const _0x4c7a23=_0x5cbb33;this[_0x4c7a23(0x177)](),this[_0x4c7a23(0x161)](),this[_0x4c7a23(0x13e)][_0x4c7a23(0x188)]({'target':this[_0x4c7a23(0x1b3)][_0x4c7a23(0x136)],'limiter':this[_0x4c7a23(0x15f)](),'positions':Po});}),this[_0x5cbb33(0x194)]['on'](_0x5cbb33(0x185),()=>{const _0x190609=_0x5cbb33;this[_0x190609(0x1a9)][_0x190609(0x145)]&&this[_0x190609(0x1a9)][_0x190609(0x188)]({'target':this[_0x190609(0x1b3)][_0x190609(0x136)],'limiter':this[_0x190609(0x15f)](),'positions':Po});}),_0x2aedc9[_0x5cbb33(0x186)][_0x5cbb33(0x173)](this[_0x5cbb33(0x194)]);}[_0x58162c(0x162)](_0x589fd6,_0x2446e5){const _0x27983a=_0x58162c,_0x43e48d=_0x27983a(0x18c)===_0x2446e5[_0x27983a(0x17e)]?new SourcesBalloonButtonView(_0x589fd6):new _0x125a31(_0x589fd6);return _0x43e48d[_0x27983a(0x193)]({'label':_0x2446e5[_0x27983a(0x1b6)],'icon':_0x2446e5[_0x27983a(0x16b)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':ko}),_0x43e48d;}[_0x58162c(0x13d)](){const _0x29fda9=_0x58162c;this[_0x29fda9(0x160)](),this[_0x29fda9(0x133)]();}[_0x58162c(0x133)](){const _0x1db3ce=_0x58162c;_0x39c8bc({'emitter':this[_0x1db3ce(0x1a9)],'contextElements':[this[_0x1db3ce(0x1a9)][_0x1db3ce(0x136)]],'callback':()=>{const _0x1a984f=_0x1db3ce;this[_0x1a984f(0x177)]();},'activator':()=>this[_0x1db3ce(0x1a9)][_0x1db3ce(0x145)]});}[_0x58162c(0x139)](_0x55098f){const _0xf6578=_0x58162c,_0x5422ba=this[_0xf6578(0x140)];_0x5422ba[_0xf6578(0x131)][_0xf6578(0x138)]=_0x55098f,_0x55098f?_0x5422ba[_0xf6578(0x1ab)][_0xf6578(0x195)]():_0x5422ba[_0xf6578(0x1ab)][_0xf6578(0x197)]();}[_0x58162c(0x160)](){const _0xd277e8=_0x58162c,{balloonView:_0x262392,buttonView:_0x480038,hideMethod:_0x42f57b}=this[_0xd277e8(0x140)];_0x39c8bc({'emitter':_0x262392,'contextElements':[_0x262392[_0xd277e8(0x136)],_0x480038[_0xd277e8(0x136)]],'callback':()=>{_0x42f57b();},'activator':()=>_0x480038[_0xd277e8(0x138)]&&!this[_0xd277e8(0x1a9)][_0xd277e8(0x145)]&&!this[_0xd277e8(0x1b5)][_0xd277e8(0x17d)]()});}[_0x58162c(0x156)](_0x4bb1d9,_0x216b6d,_0x170c14=!0x1,_0x42bc9d=!0x1){const _0x1c5d98=_0x58162c,_0x48829d=_0x1c5d98(0x1a5)===_0x216b6d||!0x0===_0x4bb1d9[_0x1c5d98(0x12f)],_0x4abff5=new _0x52da64(this[_0x1c5d98(0x1ad)],_0x4bb1d9,_0x48829d,_0x170c14,_0x42bc9d);return _0x48829d||_0x4abff5['on'](_0x1c5d98(0x13b),()=>{const _0x217b7a=_0x1c5d98;this[_0x217b7a(0x178)](_0x217b7a(0x19d),_0x4abff5['id']);}),_0x4abff5;}[_0x58162c(0x12b)](_0x272a2d,_0x11a1c7){const _0x148af2=_0x58162c;_0x11a1c7[_0x148af2(0x173)](_0x272a2d,0x0);}[_0x58162c(0x144)](_0x5600ec,_0x19541e){const _0x11fd4b=_0x58162c,_0x59bcd0=_0x19541e[_0x11fd4b(0x16f)](_0x5b3d6a=>_0x5b3d6a['id']===_0x5600ec);_0x59bcd0&&_0x19541e[_0x11fd4b(0x167)](_0x59bcd0);}[_0x58162c(0x13f)](){const _0x2154fd=_0x58162c;this[_0x2154fd(0x1b3)][_0x2154fd(0x138)]?this[_0x2154fd(0x1b8)]():(this[_0x2154fd(0x161)](),this[_0x2154fd(0x13e)][_0x2154fd(0x188)]({'target':this[_0x2154fd(0x1b3)][_0x2154fd(0x136)],'limiter':this[_0x2154fd(0x15f)](),'positions':Po}));}[_0x58162c(0x171)](_0x2b0c86){const _0x48071f=_0x58162c;this[_0x48071f(0x194)][_0x48071f(0x170)](),this[_0x48071f(0x177)](),this[_0x48071f(0x178)](_0x48071f(0x19b),_0x2b0c86);}}export class SourcesBalloonButtonView extends _0x125a31{[_0x58162c(0x152)];constructor(_0x11b958){const _0x118178=_0x58162c;super(_0x11b958),this[_0x118178(0x193)]({'withText':!0x0,'role':_0x118178(0x18e)}),this[_0x118178(0x152)]=this[_0x118178(0x16d)](),this[_0x118178(0x155)]({'attributes':{'class':[Eo]}});}[_0x58162c(0x15b)](){const _0x360b59=_0x58162c;super[_0x360b59(0x15b)](),this[_0x360b59(0x164)][_0x360b59(0x173)](this[_0x360b59(0x152)]);}[_0x58162c(0x16d)](){const _0x5f5665=_0x58162c,_0x423ab3=new _0x2e1fdb();return _0x423ab3[_0x5f5665(0x186)]=_0xe1ff79,_0x423ab3[_0x5f5665(0x155)]({'attributes':{'class':Eo+_0x5f5665(0x150)}}),_0x423ab3;}}function _0x3203(){const _0x55d149=['_toggleAddContextBalloon','5VfbgTP','removeContextItemChip','_bindEventHandlers','_setupAllBalloonClickOutsideHandlers','_addContextBalloonPanelView','_handleAddContextButtonClick','_addContextBalloonConfig','clearCurrentContextItems','_overflowManager','destroy','_removeContextFromCollection','isVisible','isEnabled','_setBalloonPanelContent','cancel','showSourceResourcesBalloon','_conversationContextsChips','setAddContextOptions','_createBaseBalloonPanel','southArrowNorthEast','files','isLoading','__arrow','ck-ai-chat-context-controls__show-more-balloon-panel','arrowView','setTemplate','isHidden','extendTemplate','_createContextButton','848790QCTwBS','AI_CHAT_CONTEXT_FILE_LABEL','current','execute','render','submitUrl','createCollection','_createAddContextButtonView','_getLimiterElement','_setupAddContextBalloonClickOutsideHandler','showAddContextBalloonPanel','_createBalloonButton','addContextItem','children','addDocumentToContext','overflowChips','remove','southArrowNorth','AI_CHAT_CONTEXT_ADD_CONTEXT','_setAddContextButtonEnabled','icon','focus','_createArrowView','enabled','find','clear','_handleUrlSubmit','ck-ai-chat-controls-button','add','setContainerElement','174582pjNQvV','ck-ai-chat-context-controls__pending-contexts','hideUrlBalloonPanel','fire','done','ck-ai-chat-context-controls__add-context-button','_createAddContextBalloonPanelView','urls','isAnyResourceBalloonVisible','type','sources','bind','searchInputVisibleFrom','showUrlBalloonPanel','loadSourceResources','ck-ai-chat-context-controls__url-balloon-panel','refreshBalloon','content','div','pin','addFileToContext','ck-ai-chat-context-controls__balloon-button-source','_showSourceResourcesBalloon','source','bodyCollection','menuitem','tooltip','ck-ai-chat-context-controls__add-context-balloon-panel','_setupTemplate','setContextItemLoading','set','_urlInputView','show','7388874UVesUJ','hide','_addUrlContent','reorganizeChips','_createResourcesBalloonView','addUrlToContext','clearConversationContextItems','removeContextItem','_createUrlBalloonPanelView','southArrowNorthWest','closest','ck-ai-chat-context-chips-wrapper-balloon','populateSourceResourceBalloon','northArrowSouthEast','addResourceToContext','conversation','setConversationContext','ck-ai-chat-context-controls__balloon-button','ck-ai-chat-context-controls','_urlBalloonPanelView','AI_CHAT_CONTEXT_URL_LABEL','balloonView','northArrowSouthWest','locale','defaultPositions','ck-ai-chat-controls_context_show-more-button','closeSourceResourceBalloon','_currentContextsChips','document','addContextButtonView','northArrowSouth','_resourcesBalloonView','label','4116468sZXzWQ','hideAddContextBalloonPanel','_addContextToCollection','2436540lJjsEN','ck-reset_all-excluded','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','isReadOnly','ck-ai-chat','buttonView','updateResourceState','_setupUrlBalloonClickOutsideHandler','27651320szeBxj','8175468GgdfDb','element','body','isOn'];_0x3203=function(){return _0x55d149;};return _0x3203();}
|
|
23
|
+
const _0x18d755=_0x2123;(function(_0x2959d0,_0x53c798){const _0x2190d8=_0x2123,_0x379358=_0x2959d0();while(!![]){try{const _0x485b5c=parseInt(_0x2190d8(0x161))/0x1*(parseInt(_0x2190d8(0x12e))/0x2)+-parseInt(_0x2190d8(0x103))/0x3*(parseInt(_0x2190d8(0x179))/0x4)+parseInt(_0x2190d8(0x129))/0x5+parseInt(_0x2190d8(0x120))/0x6*(parseInt(_0x2190d8(0x12f))/0x7)+parseInt(_0x2190d8(0x131))/0x8+parseInt(_0x2190d8(0x14b))/0x9*(parseInt(_0x2190d8(0x147))/0xa)+-parseInt(_0x2190d8(0xf4))/0xb*(parseInt(_0x2190d8(0x11e))/0xc);if(_0x485b5c===_0x53c798)break;else _0x379358['push'](_0x379358['shift']());}catch(_0x1cd16b){_0x379358['push'](_0x379358['shift']());}}}(_0x5e26,0xbad05));import{BalloonPanelView as _0x5f5303,ButtonView as _0xa0da58,clickOutsideHandler as _0x100880,FileDialogButtonView as _0x21b043,IconView as _0x34880d,View as _0x52797c}from'ckeditor5/src/ui.js';function _0x2123(_0x4c9983,_0x32e490){const _0x5e2630=_0x5e26();return _0x2123=function(_0x2123e9,_0x413112){_0x2123e9=_0x2123e9-0xf1;let _0x2b5632=_0x5e2630[_0x2123e9];return _0x2b5632;},_0x2123(_0x4c9983,_0x32e490);}import{IconBrowseFiles as _0x3fca4b,IconDocument as _0x1fd7e2,IconDocumentOutline as _0xb7a0cd,IconDropdownArrow as _0x2938ae,IconLink as _0x5a0a9e,IconPaperClip as _0x35fc0e}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0xc1abd}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x1b4d70}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x537a19}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x533ca0}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x97b742}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x18d755(0x12d),_0x18d755(0x139),_0x18d755(0x10a),_0x18d755(0x16b),_0x18d755(0x118),_0x18d755(0x125)];const Bo=_0x18d755(0x180),bo=_0x18d755(0x158),To=_0x18d755(0x174),Ao=_0x18d755(0x111),ko=_0x18d755(0x165),Eo=_0x18d755(0xfa),vo=_0x18d755(0x11b),Vo=_0x18d755(0xfe),fo=_0x18d755(0x153),Io=_0x18d755(0x176),Po=_0x18d755(0x107),Ro=_0x18d755(0x121),So=[_0x5f5303[_0x18d755(0xfb)][_0x18d755(0x146)],_0x5f5303[_0x18d755(0xfb)][_0x18d755(0x169)],_0x5f5303[_0x18d755(0xfb)][_0x18d755(0x115)],_0x5f5303[_0x18d755(0xfb)][_0x18d755(0x145)],_0x5f5303[_0x18d755(0xfb)][_0x18d755(0xf7)],_0x5f5303[_0x18d755(0xfb)][_0x18d755(0x16a)]];export class AIChatContextPanelView extends _0x52797c{[_0x18d755(0x127)];[_0x18d755(0x114)]=this[_0x18d755(0x135)]();[_0x18d755(0x154)]=this[_0x18d755(0x135)]();[_0x18d755(0x13e)];[_0x18d755(0x11c)];[_0x18d755(0x10e)];[_0x18d755(0x15a)];[_0x18d755(0x144)];[_0x18d755(0x110)];[_0x18d755(0x159)];constructor(_0x164d82,_0x39ad2f){const _0x2154ec=_0x18d755;super(_0x164d82),this[_0x2154ec(0x159)]=_0x39ad2f[_0x2154ec(0x159)],this[_0x2154ec(0x114)]=this[_0x2154ec(0x135)](),this[_0x2154ec(0x154)]=this[_0x2154ec(0x135)](),this[_0x2154ec(0x127)]=this[_0x2154ec(0x11d)](_0x164d82),this[_0x2154ec(0x11c)]=this[_0x2154ec(0x172)](_0x164d82),this[_0x2154ec(0x10e)]=this[_0x2154ec(0x16e)](_0x164d82),this[_0x2154ec(0x144)]=this[_0x2154ec(0x152)](_0x164d82,_0x39ad2f);const _0x29589e={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':fo,'controlsButton':Vo}};this[_0x2154ec(0x13e)]=new _0x537a19(_0x164d82,this[_0x2154ec(0x114)],_0x29589e,this[_0x2154ec(0x159)],this),this[_0x2154ec(0x110)]={'buttonView':this[_0x2154ec(0x127)],'balloonView':this[_0x2154ec(0x11c)],'hideMethod':this[_0x2154ec(0x149)][_0x2154ec(0x143)](this),'showMethod':this[_0x2154ec(0x171)][_0x2154ec(0x143)](this)},this[_0x2154ec(0x16c)](),this[_0x2154ec(0x16d)]();}[_0x18d755(0x133)](){const _0x1a6953=_0x18d755;super[_0x1a6953(0x133)](),this[_0x1a6953(0x151)](),this[_0x1a6953(0x13e)][_0x1a6953(0x14f)](this[_0x1a6953(0x14c)]),this[_0x1a6953(0x13e)][_0x1a6953(0x14a)]();}[_0x18d755(0x162)](){const _0x122fcb=_0x18d755;super[_0x122fcb(0x162)](),this[_0x122fcb(0x13e)][_0x122fcb(0x162)](),this[_0x122fcb(0x144)][_0x122fcb(0x162)]();}[_0x18d755(0x112)](_0x556400,_0x46cd89){const _0x5e4518=_0x18d755,_0xe51e60=this[_0x5e4518(0x12c)](_0x556400,_0x5e4518(0x141),!0x0,_0x46cd89);this[_0x5e4518(0x13a)](_0xe51e60,this[_0x5e4518(0x114)]),this[_0x5e4518(0x13e)][_0x5e4518(0x14a)]();}[_0x18d755(0x118)](_0x4bb735){const _0x21e78b=_0x18d755;this[_0x21e78b(0x108)](_0x4bb735,this[_0x21e78b(0x114)]),this[_0x21e78b(0x108)](_0x4bb735,this[_0x21e78b(0x13e)][_0x21e78b(0xf5)]),this[_0x21e78b(0x13e)][_0x21e78b(0x14a)]();}[_0x18d755(0x168)](_0x5b73d2,_0x309b63){const _0x37b3c0=_0x18d755;let _0x34be6b=this[_0x37b3c0(0x114)][_0x37b3c0(0x128)](_0x2fd832=>_0x2fd832['id']===_0x5b73d2);_0x34be6b||(_0x34be6b=this[_0x37b3c0(0x13e)][_0x37b3c0(0xf5)][_0x37b3c0(0x128)](_0x324dc9=>_0x324dc9['id']===_0x5b73d2)),_0x34be6b&&(_0x34be6b[_0x37b3c0(0x137)]=_0x309b63);}[_0x18d755(0xfd)](_0x76a2aa){const _0x3bebe3=_0x18d755;this[_0x3bebe3(0x154)][_0x3bebe3(0x124)]();for(const _0x9b44bb of _0x76a2aa){const _0x1aa8b3=this[_0x3bebe3(0x12c)](_0x9b44bb,_0x3bebe3(0x182),!0x1,!0x1);this[_0x3bebe3(0x13a)](_0x1aa8b3,this[_0x3bebe3(0x154)]);}}[_0x18d755(0x10f)](){const _0x54f24f=_0x18d755;this[_0x54f24f(0x114)][_0x54f24f(0x124)](),this[_0x54f24f(0x13e)][_0x54f24f(0x124)]();}[_0x18d755(0xfc)](){const _0x1118ca=_0x18d755;this[_0x1118ca(0x154)][_0x1118ca(0x124)]();}[_0x18d755(0x10c)](_0x49f293,_0x305030,_0x266e73){const _0x380f36=_0x18d755;this[_0x380f36(0x144)][_0x380f36(0x10c)](_0x49f293,_0x305030,_0x266e73);}[_0x18d755(0x149)](){const _0x1d94c9=_0x18d755;this[_0x1d94c9(0x15f)](!0x1);}[_0x18d755(0x171)](){const _0x4fa3a4=_0x18d755;this[_0x4fa3a4(0x15f)](!0x0);}[_0x18d755(0x13b)](){const _0xb43d2a=_0x18d755;this[_0xb43d2a(0x10e)][_0xb43d2a(0x138)](),this[_0xb43d2a(0x127)][_0xb43d2a(0x12b)]=!0x1,this[_0xb43d2a(0x15a)]&&this[_0xb43d2a(0x15a)][_0xb43d2a(0x124)]();}[_0x18d755(0x117)](){const _0x51f71d=_0x18d755;this[_0x51f71d(0x10e)][_0x51f71d(0x17f)](),this[_0x51f71d(0x127)][_0x51f71d(0x12b)]=!0x0;}[_0x18d755(0x105)](_0x533976){const _0xc8a08=_0x18d755;this[_0xc8a08(0x144)][_0xc8a08(0x13c)](_0x533976),this[_0xc8a08(0x127)][_0xc8a08(0x12b)]=!0x0;}[_0x18d755(0xf9)](_0x4529ea,_0x201a04,_0x1c34aa,_0x435a88){const _0x5eec0a=_0x18d755;this[_0x5eec0a(0x144)][_0x5eec0a(0xf9)](_0x4529ea,_0x1c34aa,_0x435a88);}[_0x18d755(0x136)](_0x13efa1){const _0x3c21be=_0x18d755;this[_0x3c21be(0x144)][_0x3c21be(0x136)](_0x13efa1),this[_0x3c21be(0x127)][_0x3c21be(0x12b)]=!0x1;}[_0x18d755(0x15d)](_0x1baf2b){const _0x37f13f=_0x18d755;this[_0x37f13f(0x17c)](this[_0x37f13f(0x11c)],this[_0x37f13f(0x10d)],_0x1baf2b),this[_0x37f13f(0x181)](_0x1baf2b);}[_0x18d755(0x181)](_0x4fd4be){const _0x378c86=_0x18d755,_0x463c77=!_0x4fd4be[_0x378c86(0x170)][_0x378c86(0x166)]&&_0x4fd4be[_0x378c86(0x170)][_0x378c86(0xf8)],_0x3c1e10=_0x4fd4be[_0x378c86(0x122)][_0x378c86(0xf8)],_0x1e3c28=_0x4fd4be[_0x378c86(0x140)][_0x378c86(0xf8)];this[_0x378c86(0x127)][_0x378c86(0x10b)]=_0x463c77||_0x3c1e10||_0x1e3c28;}[_0x18d755(0x16c)](){const _0x222e37=_0x18d755;this[_0x222e37(0xf2)]({'tag':_0x222e37(0x142),'attributes':{'class':[Bo,_0x222e37(0xf3)]},'children':[{'tag':_0x222e37(0x142),'attributes':{'class':bo},'children':this[_0x222e37(0x114)]}]});}[_0x18d755(0x16d)](){const _0xbbb7cd=_0x18d755;this[_0xbbb7cd(0x127)]['on'](_0xbbb7cd(0x100),()=>{const _0x5d83a9=_0xbbb7cd;this[_0x5d83a9(0x155)]();});}[_0x18d755(0x11d)](_0x5a5627){const _0x40d276=_0x18d755,_0x394e75=new _0xa0da58(_0x5a5627);return _0x394e75[_0x40d276(0x11f)]({'label':_0x533ca0(_0x5a5627,_0x40d276(0x175)),'class':Vo+'\x20'+Ao,'icon':_0x35fc0e,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x394e75;}[_0x18d755(0x172)](_0x3ca0ab){const _0x4840ec=_0x18d755;return this[_0x4840ec(0x119)](_0x3ca0ab,To);}[_0x18d755(0x16e)](_0x21fc90){const _0x14626a=_0x18d755,_0x21717f=this[_0x14626a(0x119)](_0x21fc90,ko);return this[_0x14626a(0x178)](_0x21717f,_0x21fc90),_0x21717f;}[_0x18d755(0x152)](_0x4dce8c,_0x2ee6fa){const _0x14c855=_0x18d755,_0x4afeaa={'searchInputVisibleFrom':_0x2ee6fa[_0x14c855(0x13f)],'onBackToContext':()=>{const _0x16a2d1=_0x14c855;this[_0x16a2d1(0x171)](),this[_0x16a2d1(0x11c)][_0x16a2d1(0x134)]({'target':this[_0x16a2d1(0x127)][_0x16a2d1(0x14c)],'limiter':this[_0x16a2d1(0x163)](),'positions':So});},'onResourceSelected':(_0xf07d62,_0x5ac244)=>{const _0x3f6680=_0x14c855;this[_0x3f6680(0x177)](_0x3f6680(0x16b),{'source':_0xf07d62,'resource':_0x5ac244});},'onLoadSourceResources':_0x5a273e=>{const _0x27cc76=_0x14c855;this[_0x27cc76(0x177)](_0x27cc76(0x125),_0x5a273e);},'onBalloonClosed':()=>{const _0x57ebb7=_0x14c855;this[_0x57ebb7(0x127)][_0x57ebb7(0x12b)]=!0x1;},'getLimiterElement':()=>this[_0x14c855(0x163)](),'getTargetElement':()=>this[_0x14c855(0x127)][_0x14c855(0x14c)]};return new _0x97b742(_0x4dce8c,_0x2ee6fa[_0x14c855(0x159)],_0x4afeaa);}[_0x18d755(0x163)](){const _0xc5d1c7=_0x18d755;return this[_0xc5d1c7(0x14c)]?.[_0xc5d1c7(0x106)]('.'+Ro)||document[_0xc5d1c7(0x101)];}[_0x18d755(0x119)](_0x53b81f,_0x26141d){const _0x15a2f7=_0x18d755,_0x5968bf=new _0x5f5303(_0x53b81f);return _0x5968bf[_0x15a2f7(0x156)]({'attributes':{'class':_0x26141d}}),this[_0x15a2f7(0x159)][_0x15a2f7(0x167)](_0x5968bf),_0x5968bf;}[_0x18d755(0x17c)](_0x14a315,_0x5b9f66,_0x3d9268){const _0x3ed4ed=_0x18d755;if(_0x14a315[_0x3ed4ed(0xf1)][_0x3ed4ed(0x124)](),!_0x3d9268[_0x3ed4ed(0x170)][_0x3ed4ed(0x166)]&&_0x3d9268[_0x3ed4ed(0x170)][_0x3ed4ed(0xf8)]){const _0x49bb78=this[_0x3ed4ed(0x17a)](_0x5b9f66,{'label':_0x533ca0(_0x5b9f66,_0x3ed4ed(0x126)),'icon':_0x1fd7e2});_0x49bb78['on'](_0x3ed4ed(0x100),()=>{const _0x470ba5=_0x3ed4ed;this[_0x470ba5(0x177)](_0x470ba5(0x12d)),this[_0x470ba5(0x149)]();}),_0x14a315[_0x3ed4ed(0xf1)][_0x3ed4ed(0x167)](_0x49bb78);}if(_0x3d9268[_0x3ed4ed(0x122)][_0x3ed4ed(0xf8)]){const _0xfd4d10=this[_0x3ed4ed(0x17a)](_0x5b9f66,{'label':_0x533ca0(_0x5b9f66,_0x3ed4ed(0xff)),'icon':_0x5a0a9e});_0xfd4d10['on'](_0x3ed4ed(0x100),()=>{const _0x30257c=_0x3ed4ed;this[_0x30257c(0x149)](),this[_0x30257c(0x117)](),this[_0x30257c(0x10e)][_0x30257c(0x134)]({'target':this[_0x30257c(0x127)][_0x30257c(0x14c)],'limiter':this[_0x30257c(0x163)](),'positions':So}),this[_0x30257c(0x15a)][_0x30257c(0x14d)]();}),_0x14a315[_0x3ed4ed(0xf1)][_0x3ed4ed(0x167)](_0xfd4d10);}if(_0x3d9268[_0x3ed4ed(0x140)][_0x3ed4ed(0xf8)]){const _0x1cf1f4=new _0x21b043(_0x5b9f66);_0x1cf1f4[_0x3ed4ed(0x11f)]({'label':_0x533ca0(_0x5b9f66,_0x3ed4ed(0x17e)),'icon':_0x3fca4b,'withText':!0x0,'tooltip':!0x0,'class':Eo,'allowMultipleFiles':!0x0}),_0x1cf1f4['on'](_0x3ed4ed(0x164),(_0x192146,_0x249750)=>{const _0x2390f7=_0x3ed4ed;this[_0x2390f7(0x177)](_0x2390f7(0x139),_0x249750),this[_0x2390f7(0x149)]();}),_0x1cf1f4[_0x3ed4ed(0x102)]=!0x0,_0x14a315[_0x3ed4ed(0xf1)][_0x3ed4ed(0x167)](_0x1cf1f4);}for(const _0x57b6e1 of _0x3d9268[_0x3ed4ed(0x15b)]){const _0x43df22=this[_0x3ed4ed(0x17a)](_0x5b9f66,{'label':_0x57b6e1[_0x3ed4ed(0xf6)],'icon':_0x57b6e1[_0x3ed4ed(0x123)]||_0xb7a0cd,'type':_0x3ed4ed(0x13d)});_0x14a315[_0x3ed4ed(0xf1)][_0x3ed4ed(0x167)](_0x43df22),_0x43df22['on'](_0x3ed4ed(0x100),()=>{const _0x582f98=_0x3ed4ed;this[_0x582f98(0x149)](),this[_0x582f98(0x105)](_0x57b6e1);});}}[_0x18d755(0x178)](_0x542255,_0x504e23){const _0x46485e=_0x18d755;this[_0x46485e(0x15a)]=new _0x1b4d70(_0x504e23),this[_0x46485e(0x15a)]['on'](_0x46485e(0x12a),(_0xefebe3,_0x26248c)=>{const _0x55b5d8=_0x46485e;this[_0x55b5d8(0x16f)](_0x26248c);}),this[_0x46485e(0x15a)]['on'](_0x46485e(0x109),()=>{const _0x39aca4=_0x46485e;this[_0x39aca4(0x13b)](),this[_0x39aca4(0x171)](),this[_0x39aca4(0x11c)][_0x39aca4(0x134)]({'target':this[_0x39aca4(0x127)][_0x39aca4(0x14c)],'limiter':this[_0x39aca4(0x163)](),'positions':So});}),this[_0x46485e(0x15a)]['on'](_0x46485e(0x150),()=>{const _0x491a3f=_0x46485e;this[_0x491a3f(0x10e)][_0x491a3f(0x173)]&&this[_0x491a3f(0x10e)][_0x491a3f(0x134)]({'target':this[_0x491a3f(0x127)][_0x491a3f(0x14c)],'limiter':this[_0x491a3f(0x163)](),'positions':So});}),_0x542255[_0x46485e(0xf1)][_0x46485e(0x167)](this[_0x46485e(0x15a)]);}[_0x18d755(0x17a)](_0x31562a,_0x34634c){const _0x2e3de5=_0x18d755,_0x51fe4b=_0x2e3de5(0x13d)===_0x34634c[_0x2e3de5(0x104)]?new SourcesBalloonButtonView(_0x31562a):new _0xa0da58(_0x31562a);return _0x51fe4b[_0x2e3de5(0x11f)]({'label':_0x34634c[_0x2e3de5(0xf6)],'icon':_0x34634c[_0x2e3de5(0x123)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Eo}),_0x51fe4b;}[_0x18d755(0x151)](){const _0xe7826d=_0x18d755;this[_0xe7826d(0x11a)](),this[_0xe7826d(0x132)]();}[_0x18d755(0x132)](){const _0x16b5f8=_0x18d755;_0x100880({'emitter':this[_0x16b5f8(0x10e)],'contextElements':[this[_0x16b5f8(0x10e)][_0x16b5f8(0x14c)]],'callback':()=>{const _0x1e41af=_0x16b5f8;this[_0x1e41af(0x13b)]();},'activator':()=>this[_0x16b5f8(0x10e)][_0x16b5f8(0x173)]});}[_0x18d755(0x15f)](_0x29e269){const _0x5d33c1=_0x18d755,_0x4eef42=this[_0x5d33c1(0x110)];_0x4eef42[_0x5d33c1(0x14e)][_0x5d33c1(0x12b)]=_0x29e269,_0x29e269?_0x4eef42[_0x5d33c1(0x148)][_0x5d33c1(0x17f)]():_0x4eef42[_0x5d33c1(0x148)][_0x5d33c1(0x138)]();}[_0x18d755(0x11a)](){const _0x30cc0a=_0x18d755,{balloonView:_0x412dd9,buttonView:_0x179f36,hideMethod:_0x7bf180}=this[_0x30cc0a(0x110)];_0x100880({'emitter':_0x412dd9,'contextElements':[_0x412dd9[_0x30cc0a(0x14c)],_0x179f36[_0x30cc0a(0x14c)]],'callback':()=>{_0x7bf180();},'activator':()=>_0x179f36[_0x30cc0a(0x12b)]&&!this[_0x30cc0a(0x10e)][_0x30cc0a(0x173)]&&!this[_0x30cc0a(0x144)][_0x30cc0a(0x130)]()});}[_0x18d755(0x12c)](_0x24bf30,_0x304e78,_0x5e3457=!0x1,_0x5e4e9f=!0x1){const _0x7c32e4=_0x18d755,_0x49fe5a=_0x7c32e4(0x182)===_0x304e78||!0x0===_0x24bf30[_0x7c32e4(0x160)],_0x33c811=new _0xc1abd(this[_0x7c32e4(0x10d)],_0x24bf30,_0x49fe5a,_0x5e3457,_0x5e4e9f);return _0x49fe5a||_0x33c811['on'](_0x7c32e4(0x15c),()=>{const _0x38c643=_0x7c32e4;this[_0x38c643(0x177)](_0x38c643(0x118),_0x33c811['id']);}),_0x33c811;}[_0x18d755(0x13a)](_0x40145a,_0x3c887b){const _0x4b60bf=_0x18d755;_0x3c887b[_0x4b60bf(0x167)](_0x40145a,0x0);}[_0x18d755(0x108)](_0xf328f2,_0x29a7de){const _0x47a934=_0x18d755,_0x40eb23=_0x29a7de[_0x47a934(0x128)](_0x31181=>_0x31181['id']===_0xf328f2);_0x40eb23&&_0x29a7de[_0x47a934(0x157)](_0x40eb23);}[_0x18d755(0x155)](){const _0x3bd621=_0x18d755;this[_0x3bd621(0x127)][_0x3bd621(0x12b)]?this[_0x3bd621(0x149)]():(this[_0x3bd621(0x171)](),this[_0x3bd621(0x11c)][_0x3bd621(0x134)]({'target':this[_0x3bd621(0x127)][_0x3bd621(0x14c)],'limiter':this[_0x3bd621(0x163)](),'positions':So}));}[_0x18d755(0x16f)](_0x3d7892){const _0x1b52fb=_0x18d755;this[_0x1b52fb(0x15a)][_0x1b52fb(0x124)](),this[_0x1b52fb(0x13b)](),this[_0x1b52fb(0x177)](_0x1b52fb(0x10a),_0x3d7892);}}export class SourcesBalloonButtonView extends _0xa0da58{[_0x18d755(0x15e)];constructor(_0xd2697e){const _0x59642f=_0x18d755;super(_0xd2697e),this[_0x59642f(0x11f)]({'withText':!0x0,'role':_0x59642f(0x113)}),this[_0x59642f(0x15e)]=this[_0x59642f(0x17b)](),this[_0x59642f(0x156)]({'attributes':{'class':[vo]}});}[_0x18d755(0x133)](){const _0x2f0cb4=_0x18d755;super[_0x2f0cb4(0x133)](),this[_0x2f0cb4(0x116)][_0x2f0cb4(0x167)](this[_0x2f0cb4(0x15e)]);}[_0x18d755(0x17b)](){const _0x844f4=_0x18d755,_0x206f4d=new _0x34880d();return _0x206f4d[_0x844f4(0xf1)]=_0x2938ae,_0x206f4d[_0x844f4(0x156)]({'attributes':{'class':vo+_0x844f4(0x17d)}}),_0x206f4d;}}function _0x5e26(){const _0x4e857d=['_conversationContextsChips','_handleAddContextButtonClick','extendTemplate','remove','ck-ai-chat-context-controls__pending-contexts','bodyCollection','_urlInputView','sources','removeContextItemChip','setAddContextOptions','arrowView','_toggleAddContextBalloon','isReadOnly','4619MxWGnJ','destroy','_getLimiterElement','done','ck-ai-chat-context-controls__url-balloon-panel','isHidden','add','setContextItemLoading','northArrowSouth','southArrowNorthEast','addResourceToContext','_setupTemplate','_bindEventHandlers','_createUrlBalloonPanelView','_handleUrlSubmit','document','showAddContextBalloonPanel','_createAddContextBalloonPanelView','isVisible','ck-ai-chat-context-controls__add-context-balloon-panel','AI_CHAT_CONTEXT_ADD_CONTEXT','ck-ai-chat-controls_context_show-more-button','fire','_addUrlContent','28anyCzV','_createBalloonButton','_createArrowView','_setBalloonPanelContent','__arrow','AI_CHAT_CONTEXT_FILE_LABEL','show','ck-ai-chat-context-controls','_setAddContextButtonEnabled','conversation','content','setTemplate','ck-reset_all-excluded','11OeijDk','overflowChips','label','southArrowNorth','enabled','populateSourceResourceBalloon','ck-ai-chat-context-controls__balloon-button','defaultPositions','clearConversationContextItems','setConversationContext','ck-ai-chat-controls-button','AI_CHAT_CONTEXT_URL_LABEL','execute','body','tooltip','8787hIwMBf','type','_showSourceResourcesBalloon','closest','ck-ai-chat-context-controls__show-more-balloon-panel','_removeContextFromCollection','cancel','addUrlToContext','isEnabled','updateResourceState','locale','_urlBalloonPanelView','clearCurrentContextItems','_addContextBalloonConfig','ck-ai-chat-context-controls__add-context-button','addContextItem','menuitem','_currentContextsChips','northArrowSouthEast','children','showUrlBalloonPanel','removeContextItem','_createBaseBalloonPanel','_setupAddContextBalloonClickOutsideHandler','ck-ai-chat-context-controls__balloon-button-source','_addContextBalloonPanelView','_createAddContextButtonView','33145680zGSngo','set','2838702ZIXPkM','ck-ai-chat','urls','icon','clear','loadSourceResources','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','addContextButtonView','find','6893145soQkuT','submitUrl','isOn','_createContextButton','addDocumentToContext','74GcNReO','7prMOiZ','isAnyResourceBalloonVisible','10943936aKraiz','_setupUrlBalloonClickOutsideHandler','render','pin','createCollection','closeSourceResourceBalloon','isLoading','hide','addFileToContext','_addContextToCollection','hideUrlBalloonPanel','showSourceResourcesBalloon','source','_overflowManager','searchInputVisibleFrom','files','current','div','bind','_resourcesBalloonView','southArrowNorthWest','northArrowSouthWest','1510ouEqKZ','balloonView','hideAddContextBalloonPanel','reorganizeChips','9369xfIKjR','element','focus','buttonView','setContainerElement','refreshBalloon','_setupAllBalloonClickOutsideHandlers','_createResourcesBalloonView','ck-ai-chat-context-chips-wrapper-balloon'];_0x5e26=function(){return _0x4e857d;};return _0x5e26();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ea4(){const _0x4e52d6=['312704JCuWwD','2716YrUKkG','_loaderView','293491gIbdfw','abortPromptStream','ck-ai-button-secondary\x20ck-ai-button-stop-generating','238KlfCJL','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader-wrapper','set','2177451jDexFQ','_cancelButtonView','ck-ai-chat-controls-loader-icon','20076830wtxzic','92406sxvCuf','execute','8OPJaDc','ck-ai-chat-controls-loader','_createCancelButtonView','4007106oWxwJg','_createLoaderView','locale','fire','ck-reset_all','9215TNkBzk','setTemplate','AI_CHAT_IS_WRITING','div','AI_CHAT_STOP_GENERATING'];_0x3ea4=function(){return _0x4e52d6;};return _0x3ea4();}const _0x3ac2ff=_0x7895;(function(_0x3c7f73,_0x4e12b5){const _0x58a809=_0x7895,_0x50e632=_0x3c7f73();while(!![]){try{const _0x405c55=-parseInt(_0x58a809(0xef))/0x1+-parseInt(_0x58a809(0xec))/0x2+parseInt(_0x58a809(0xe2))/0x3+parseInt(_0x58a809(0xed))/0x4*(parseInt(_0x58a809(0xe7))/0x5)+-parseInt(_0x58a809(0xdd))/0x6*(-parseInt(_0x58a809(0xf2))/0x7)+parseInt(_0x58a809(0xdf))/0x8*(parseInt(_0x58a809(0xf6))/0x9)+-parseInt(_0x58a809(0xdc))/0xa;if(_0x405c55===_0x4e12b5)break;else _0x50e632['push'](_0x50e632['shift']());}catch(_0x2c0e9f){_0x50e632['push'](_0x50e632['shift']());}}}(_0x3ea4,0xda8aa));function _0x7895(_0x59694b,_0x49a286){const _0x3ea4ab=_0x3ea4();return _0x7895=function(_0x7895e9,_0x295c75){_0x7895e9=_0x7895e9-0xdc;let _0xfb2d59=_0x3ea4ab[_0x7895e9];return _0xfb2d59;},_0x7895(_0x59694b,_0x49a286);}import{ButtonView as _0x3eb155,View as _0xd4bd4e}from'ckeditor5/src/ui.js';import{IconStop as _0x14442a}from'ckeditor5/src/icons.js';import{getTranslation as _0x2ae4b4}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0xd4bd4e{[_0x3ac2ff(0xf7)];[_0x3ac2ff(0xee)];constructor(_0x15f47c){const _0x45801a=_0x3ac2ff;super(_0x15f47c),this[_0x45801a(0xf7)]=this[_0x45801a(0xe1)](),this[_0x45801a(0xee)]=this[_0x45801a(0xe3)](),this[_0x45801a(0xe8)]({'tag':_0x45801a(0xea),'attributes':{'class':['ck',_0x45801a(0xf4),_0x45801a(0xe6)]},'children':[this[_0x45801a(0xee)],this[_0x45801a(0xf7)]]});}[_0x3ac2ff(0xe1)](){const _0x2ca4da=_0x3ac2ff,_0x49159e=new _0x3eb155(this[_0x2ca4da(0xe4)]);return _0x49159e[_0x2ca4da(0xf5)]({'label':_0x2ae4b4(this[_0x2ca4da(0xe4)],_0x2ca4da(0xeb)),'withText':!0x0,'class':_0x2ca4da(0xf1),'icon':_0x14442a}),_0x49159e['on'](_0x2ca4da(0xde),()=>{const _0x43a0b0=_0x2ca4da;this[_0x43a0b0(0xe5)](_0x43a0b0(0xf0));}),_0x49159e;}[_0x3ac2ff(0xe3)](){const _0x1ed202=_0x3ac2ff,_0x37fceb=new _0xd4bd4e(this[_0x1ed202(0xe4)]);return _0x37fceb[_0x1ed202(0xe8)]({'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xe0)]},'children':[{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf8)]},'children':[{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf3)]}},{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf3)]}},{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf3)]}}]},{'text':_0x2ae4b4(this[_0x1ed202(0xe4)],_0x1ed202(0xe9))}]}),_0x37fceb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x202c(_0x3fbf90,_0x4177ac){const _0x599ab6=_0x599a();return _0x202c=function(_0x202c39,_0x3597d8){_0x202c39=_0x202c39-0x9c;let _0x574c10=_0x599ab6[_0x202c39];return _0x574c10;},_0x202c(_0x3fbf90,_0x4177ac);}const _0x12f52a=_0x202c;(function(_0x347965,_0x44070b){const _0x2f046a=_0x202c,_0x49f421=_0x347965();while(!![]){try{const _0x4e0dd9=-parseInt(_0x2f046a(0xcb))/0x1*(-parseInt(_0x2f046a(0xcc))/0x2)+parseInt(_0x2f046a(0xa8))/0x3+-parseInt(_0x2f046a(0xa5))/0x4+-parseInt(_0x2f046a(0xf2))/0x5*(parseInt(_0x2f046a(0xb6))/0x6)+parseInt(_0x2f046a(0xc6))/0x7+-parseInt(_0x2f046a(0xfe))/0x8*(parseInt(_0x2f046a(0xc0))/0x9)+-parseInt(_0x2f046a(0xe0))/0xa*(-parseInt(_0x2f046a(0xd4))/0xb);if(_0x4e0dd9===_0x44070b)break;else _0x49f421['push'](_0x49f421['shift']());}catch(_0x1b7f4b){_0x49f421['push'](_0x49f421['shift']());}}}(_0x599a,0x3f60f));import{Collection as _0x25f8f3}from'ckeditor5/src/utils.js';import{IconAI as _0x1a6c3f,IconBulb as _0x9e4b49,IconWeb as _0x374ae5}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x181e6b,ButtonLabelView as _0x1d3e99,ButtonView as _0x8c4118,createDropdown as _0xe52daf,IconView as _0x5e7b2b,UIModel as _0x39b32c,View as _0x53921f}from'ckeditor5/src/ui.js';function _0x599a(){const _0xaf8398=['70dFUNVq','_webSearchButton','modelSelectorVisible','reasoningActive','source','_createModelSelectionDropdown','_createModelNameView','ck-ai-chat-controls-button--commands','AI_CHAT_ENABLE_WEB_SEARCH','isVisible','_createCommandsButton','buttonView','365768sNbugD','bindTemplate','name','clear','startsWith','setTemplate','withText','label','content','listenTo','disableModelSelector','setModelList','1136280UsWeLh','ck-button__label','setModel','1538667oquHcw','_getCapabilityParts','extendTemplate','_createReasoningButton','setReasoning','AI_CHAT_REASONING','text','length','fire','_commandsButton','ck-ai-chat-controls__model-selection','agent','model','ck-ai-chat-controls__model-selection__item-capabilities','209724PkEzRM','AI_CHAT_DISABLE_REASONING','_modelNameView','modelSelectorEnabled','log','tooltip','activeModelId','AI_CHAT_COMMANDS','enabled','isEnabled','9Fuomxo','div','capabilities','set','ck-ai-chat-controls__model-name','_modelSelectionDropdown','1261736DCaDPq','style','ck-ai-chat-controls__model-selection__item-name','createCollection','_reasoningButton','2866eYnsGb','74jPakRn','locale','Commands\x20are\x20not\x20implemented\x20yet.','toLowerCase','AI_CHAT_ENABLE_REASONING','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','bind','activeModelName','3075237bMjVUI','add','setWebSearch','_createWebSearchButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_SEARCH_WEB','AI_CHAT_DISABLE_WEB_SEARCH','addMany','selectModel','toggleWebSearch','span','ck-ai-chat__prompt-capabilities','10LaCZto','AI_CHAT_CAPABILITIES_YES','AI_CHAT_CAPABILITIES_NO','enableModelSelector','isOn','ck-hidden','description','getLocalized','_modelSelectionDropdownItems','toggleReasoning','execute','reasoning','webSearch','menuitemradio','button','ck-ai-chat-controls__model-selection__item-description','webSearchActive','ck-ai-chat-controls-button'];_0x599a=function(){return _0xaf8398;};return _0x599a();}import{getTranslation as _0x56fee7}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x2b3da5}from'../../../aicore/model/aimodels.js';const No=_0x12f52a(0xdf),vo=_0x12f52a(0xf1),Ho=_0x12f52a(0xf9),Mo=_0x12f52a(0xb2),Lo=_0x12f52a(0xc8),Ro=_0x12f52a(0xef),Do=_0x12f52a(0xb5),Wo='n';export class AIChatPromptCapabilitiesView extends _0x53921f{[_0x12f52a(0xf3)];[_0x12f52a(0xca)];[_0x12f52a(0xb1)];[_0x12f52a(0xc5)];[_0x12f52a(0xe8)];[_0x12f52a(0xb8)];constructor(_0x508d36){const _0x3c3a1e=_0x12f52a;super(_0x508d36),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xf0),!0x1),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xf5),!0x1),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xf4),!0x0),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xb9),!0x0),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xbc),null),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xd3),null),this[_0x3c3a1e(0xc5)]=this[_0x3c3a1e(0xf7)](),this[_0x3c3a1e(0xb8)]=this[_0x3c3a1e(0xf8)](),this[_0x3c3a1e(0xf3)]=this[_0x3c3a1e(0xd7)](),this[_0x3c3a1e(0xca)]=this[_0x3c3a1e(0xab)](),this[_0x3c3a1e(0xb1)]=this[_0x3c3a1e(0xfc)](),this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xfd)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xfb))['to'](this,_0x3c3a1e(0xf4),_0x444a13=>_0x444a13),this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xfd)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbb))['to'](this,_0x3c3a1e(0xb9),_0x64d581=>_0x64d581?this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xfd)][_0x3c3a1e(0xa0)]:_0x56fee7(this[_0x3c3a1e(0xcd)],_0x3c3a1e(0xd1))),this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbf))['to'](this,_0x3c3a1e(0xb9),_0x56b2f0=>_0x56b2f0),this[_0x3c3a1e(0xf3)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xe4))['to'](this,_0x3c3a1e(0xf0),_0xea54e0=>_0xea54e0),this[_0x3c3a1e(0xf3)][_0x3c3a1e(0xd2)](_0x3c3a1e(0x9f))['to'](this,_0x3c3a1e(0xf4),_0x14bdd9=>!_0x14bdd9),this[_0x3c3a1e(0xf3)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbb))['to'](this,_0x3c3a1e(0xf0),_0x304a4b=>_0x56fee7(this[_0x3c3a1e(0xcd)],_0x304a4b?_0x3c3a1e(0xda):_0x3c3a1e(0xfa))),this[_0x3c3a1e(0xca)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xe4))['to'](this,_0x3c3a1e(0xf5),_0x1e14ea=>_0x1e14ea),this[_0x3c3a1e(0xca)][_0x3c3a1e(0xd2)](_0x3c3a1e(0x9f))['to'](this,_0x3c3a1e(0xf4),_0x40dfff=>!_0x40dfff),this[_0x3c3a1e(0xca)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbb))['to'](this,_0x3c3a1e(0xf5),_0x33f0cf=>_0x56fee7(this[_0x3c3a1e(0xcd)],_0x33f0cf?_0x3c3a1e(0xb7):_0x3c3a1e(0xd0))),this[_0x3c3a1e(0x9e)]({'tag':_0x3c3a1e(0xc1),'attributes':{'class':[No]},'children':[this[_0x3c3a1e(0xc5)],this[_0x3c3a1e(0xb8)],this[_0x3c3a1e(0xf3)],this[_0x3c3a1e(0xca)],this[_0x3c3a1e(0xb1)]]}),this[_0x3c3a1e(0xe8)]=new _0x25f8f3(),_0x181e6b(this[_0x3c3a1e(0xc5)],this[_0x3c3a1e(0xe8)]);}[_0x12f52a(0xa4)](_0x2b5673,_0x2ce6af){const _0x340c9e=_0x12f52a;if(this[_0x340c9e(0xc3)](_0x340c9e(0xf4),!(_0x2ce6af&&_0x2b5673[_0x340c9e(0xaf)]<=0x1)),this[_0x340c9e(0xe8)][_0x340c9e(0x9c)](),_0x2b5673?.[_0x340c9e(0xaf)]){const _0x2c88ad=_0x2b3da5[_0x340c9e(0xe7)](this[_0x340c9e(0xcd)],_0x2b5673);for(const _0x26495a of _0x2c88ad){const _0x3a86ff=new _0x39b32c({'label':_0x26495a[_0x340c9e(0x100)],'withText':!0x0,'role':_0x340c9e(0xed),'id':_0x26495a['id'],'model':_0x26495a});_0x3a86ff[_0x340c9e(0xd2)](_0x340c9e(0xe4))['to'](this,_0x340c9e(0xbc),_0x352a41=>_0x352a41===_0x26495a['id']),this[_0x340c9e(0xe8)][_0x340c9e(0xd5)]({'type':_0x340c9e(0xee),'model':_0x3a86ff,'labelView':new Os(this[_0x340c9e(0xcd)],_0x26495a)});}}}[_0x12f52a(0xd6)](_0x1f7388){const _0x5c4c29=_0x12f52a;this[_0x5c4c29(0xc3)](_0x5c4c29(0xf0),_0x1f7388);}[_0x12f52a(0xac)](_0x25210e){const _0x92b480=_0x12f52a;this[_0x92b480(0xc3)](_0x92b480(0xf5),_0x25210e);}[_0x12f52a(0xa7)](_0x3ce54e){const _0x51492d=_0x12f52a;if(!_0x3ce54e)return;this[_0x51492d(0xbc)]=_0x3ce54e['id'],this[_0x51492d(0xd3)]=_0x3ce54e[_0x51492d(0x100)]||_0x3ce54e['id'],this[_0x51492d(0xc5)][_0x51492d(0xfd)][_0x51492d(0xc3)](_0x51492d(0xa0),_0x3ce54e[_0x51492d(0x100)]),this[_0x51492d(0xc5)][_0x51492d(0xfd)][_0x51492d(0xc3)](_0x51492d(0xbb),_0x3ce54e[_0x51492d(0x100)]);const _0x5a27c8=_0x3ce54e[_0x51492d(0xc2)][_0x51492d(0xec)]?.[_0x51492d(0xbe)]??!0x1;this[_0x51492d(0xc3)](_0x51492d(0xf0),!0x1),this[_0x51492d(0xf3)][_0x51492d(0xc3)](_0x51492d(0xe4),!0x1),this[_0x51492d(0xf3)][_0x51492d(0xc3)](_0x51492d(0xbf),_0x5a27c8),this[_0x51492d(0xf3)][_0x51492d(0xc3)](_0x51492d(0xfb),_0x5a27c8);const _0x39b16d=_0x3ce54e[_0x51492d(0xc2)][_0x51492d(0xeb)]?.[_0x51492d(0xbe)]??!0x1;this[_0x51492d(0xc3)](_0x51492d(0xf5),!0x1),this[_0x51492d(0xca)][_0x51492d(0xc3)](_0x51492d(0xe4),!0x1),this[_0x51492d(0xca)][_0x51492d(0xc3)](_0x51492d(0xbf),_0x39b16d),this[_0x51492d(0xca)][_0x51492d(0xc3)](_0x51492d(0xfb),_0x39b16d);}[_0x12f52a(0xe3)](){const _0x24a721=_0x12f52a;this[_0x24a721(0xc3)](_0x24a721(0xb9),!0x0),this[_0x24a721(0xc3)](_0x24a721(0xf4),!0x0);}[_0x12f52a(0xa3)](_0x1160e5){const _0x3edc11=_0x12f52a;this[_0x3edc11(0xc3)](_0x3edc11(0xb9),!0x1),_0x1160e5&&this[_0x3edc11(0xc3)](_0x3edc11(0xf4),!0x1);}[_0x12f52a(0xd7)](){const _0x50fa5f=_0x12f52a,_0x2ac7ee=new _0x8c4118();return _0x2ac7ee[_0x50fa5f(0xc3)]({'label':_0x56fee7(this[_0x50fa5f(0xcd)],_0x50fa5f(0xd9)),'icon':_0x374ae5,'class':vo,'isToggleable':!0x0,'tooltipPosition':Wo}),_0x2ac7ee['on'](_0x50fa5f(0xea),()=>{const _0x210d72=_0x50fa5f;this[_0x210d72(0xb0)](_0x210d72(0xdd));}),_0x2ac7ee;}[_0x12f52a(0xab)](){const _0xa749f4=_0x12f52a,_0x49061a=new _0x8c4118();return _0x49061a[_0xa749f4(0xc3)]({'label':_0x56fee7(this[_0xa749f4(0xcd)],_0xa749f4(0xad)),'icon':_0x9e4b49,'class':vo,'isToggleable':!0x0,'tooltipPosition':Wo}),_0x49061a['on'](_0xa749f4(0xea),()=>{const _0x201911=_0xa749f4;this[_0x201911(0xb0)](_0x201911(0xe9));}),_0x49061a;}[_0x12f52a(0xfc)](){const _0x15d421=_0x12f52a,_0x50419e=new _0x8c4118();return _0x50419e[_0x15d421(0xc3)]({'label':_0x56fee7(this[_0x15d421(0xcd)],_0x15d421(0xbd)),'icon':_0x1a6c3f,'withText':!0x0,'class':vo,'isToggleable':!0x0,'tooltip':_0x56fee7(this[_0x15d421(0xcd)],_0x15d421(0xbd)),'tooltipPosition':Wo}),_0x50419e[_0x15d421(0xaa)]({'attributes':{'class':[Ho]}}),_0x50419e['on'](_0x15d421(0xea),()=>{const _0x50753b=_0x15d421;console[_0x50753b(0xba)](_0x50753b(0xce)),alert(_0x50753b(0xce));}),_0x50419e;}[_0x12f52a(0xf7)](){const _0x41d4e6=_0x12f52a,_0x4c3015=_0xe52daf(this[_0x41d4e6(0xcd)]);return _0x4c3015[_0x41d4e6(0xc3)]({'panelPosition':'ne','class':[Mo]}),_0x4c3015[_0x41d4e6(0xfd)][_0x41d4e6(0xc3)]({'label':_0x56fee7(this[_0x41d4e6(0xcd)],_0x41d4e6(0xd8)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Wo}),this[_0x41d4e6(0xa2)](_0x4c3015,_0x41d4e6(0xea),_0x58498f=>{const _0xc75b9c=_0x41d4e6;this[_0xc75b9c(0xb0)](_0xc75b9c(0xdc),_0x58498f[_0xc75b9c(0xf6)][_0xc75b9c(0xb4)]);}),_0x4c3015;}[_0x12f52a(0xf8)](){const _0x1355ed=_0x12f52a,_0x24c3f0=new yo(this[_0x1355ed(0xcd)]);return _0x24c3f0[_0x1355ed(0xd2)](_0x1355ed(0xae))['to'](this,_0x1355ed(0xd3),_0x96593=>_0x96593??''),_0x24c3f0[_0x1355ed(0xd2)](_0x1355ed(0xfb))['to'](this,_0x1355ed(0xf4),this,_0x1355ed(0xd3),(_0x281509,_0x1cf4d6)=>!_0x281509&&!_0x1cf4d6?.[_0x1355ed(0xcf)]()[_0x1355ed(0x9d)](_0x1355ed(0xb3))),_0x24c3f0;}}class Os extends _0x1d3e99{constructor(_0x44ac71,_0x1af3c0){const _0x2dc6eb=_0x12f52a;super();const _0xb61034=this[_0x2dc6eb(0xff)],_0x5d5ca4=this[_0x2dc6eb(0xc9)]();this[_0x2dc6eb(0x9e)]({'tag':_0x2dc6eb(0xc1),'attributes':{'class':['ck',_0x2dc6eb(0xa6)],'style':_0xb61034['to'](_0x2dc6eb(0xc7)),'id':_0xb61034['to']('id')},'children':[{'tag':_0x2dc6eb(0xc1),'attributes':{'class':[Lo]},'children':[{'text':_0xb61034['to'](_0x2dc6eb(0xae))}]},{'tag':_0x2dc6eb(0xc1),'attributes':{'class':[Ro]},'children':[{'tag':_0x2dc6eb(0xde),'children':[{'text':_0x1af3c0[_0x2dc6eb(0xe6)]}]}]},{'tag':_0x2dc6eb(0xc1),'attributes':{'class':[Do]},'children':_0x5d5ca4}]}),_0x5d5ca4[_0x2dc6eb(0xdb)](this[_0x2dc6eb(0xa9)](_0x44ac71,_0x374ae5,_0x2dc6eb(0xd9),_0x1af3c0[_0x2dc6eb(0xc2)][_0x2dc6eb(0xec)]?.[_0x2dc6eb(0xbe)]??!0x1)),_0x5d5ca4[_0x2dc6eb(0xdb)](this[_0x2dc6eb(0xa9)](_0x44ac71,_0x9e4b49,_0x2dc6eb(0xad),_0x1af3c0[_0x2dc6eb(0xc2)][_0x2dc6eb(0xeb)]?.[_0x2dc6eb(0xbe)]??!0x1));}[_0x12f52a(0xa9)](_0x38e655,_0x186d77,_0x1e2ed5,_0x3e71a8){const _0x177951=_0x12f52a,_0x435252=new _0x5e7b2b();_0x435252[_0x177951(0xa1)]=_0x186d77;const _0xd4f885=new _0x53921f(_0x38e655);_0xd4f885[_0x177951(0x9e)]({'tag':_0x177951(0xde),'children':[{'text':_0x56fee7(_0x38e655,_0x1e2ed5)+':\x20'}]});const _0x52853c=new _0x53921f(_0x38e655);return _0x52853c[_0x177951(0x9e)]({'tag':_0x177951(0xde),'children':[{'text':_0x56fee7(_0x38e655,_0x3e71a8?_0x177951(0xe1):_0x177951(0xe2))}]}),[_0x435252,_0xd4f885,_0x52853c];}}class yo extends _0x53921f{constructor(_0x426bed){const _0xf7828c=_0x12f52a;super(_0x426bed),this[_0xf7828c(0xc3)](_0xf7828c(0xae),void 0x0),this[_0xf7828c(0xc3)](_0xf7828c(0xfb),!0x0);const _0xca5664=this[_0xf7828c(0xff)];this[_0xf7828c(0x9e)]({'tag':_0xf7828c(0xde),'attributes':{'class':['ck',_0xf7828c(0xc4),_0xca5664['if'](_0xf7828c(0xfb),_0xf7828c(0xe5),_0x3e6006=>!_0x3e6006)]},'children':[{'text':_0xca5664['to'](_0xf7828c(0xae))}]});}}
|
|
23
|
+
const _0x46ea43=_0x24de;(function(_0x56638a,_0x38b12b){const _0x2adf25=_0x24de,_0x546194=_0x56638a();while(!![]){try{const _0x5a917f=-parseInt(_0x2adf25(0x196))/0x1*(-parseInt(_0x2adf25(0x148))/0x2)+parseInt(_0x2adf25(0x18b))/0x3+parseInt(_0x2adf25(0x19c))/0x4+-parseInt(_0x2adf25(0x168))/0x5*(-parseInt(_0x2adf25(0x189))/0x6)+-parseInt(_0x2adf25(0x188))/0x7+-parseInt(_0x2adf25(0x17f))/0x8+-parseInt(_0x2adf25(0x13d))/0x9*(parseInt(_0x2adf25(0x17e))/0xa);if(_0x5a917f===_0x38b12b)break;else _0x546194['push'](_0x546194['shift']());}catch(_0xf31219){_0x546194['push'](_0x546194['shift']());}}}(_0x576b,0x655e2));import{Collection as _0x47bce7}from'ckeditor5/src/utils.js';import{IconAI as _0x5a6782,IconBulb as _0x51abda,IconWeb as _0x4b783e}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x58f06b,ButtonLabelView as _0x18a9b8,ButtonView as _0x167e19,createDropdown as _0x1c45f6,IconView as _0x5a8f18,UIModel as _0x46659c,View as _0x450dd1}from'ckeditor5/src/ui.js';import{getTranslation as _0x2249f1}from'../../../aicore/utils/common-translations.js';function _0x24de(_0x1fbbde,_0x22d025){const _0x576b33=_0x576b();return _0x24de=function(_0x24deb5,_0x209464){_0x24deb5=_0x24deb5-0x13b;let _0x44f1b1=_0x576b33[_0x24deb5];return _0x44f1b1;},_0x24de(_0x1fbbde,_0x22d025);}import{AIModels as _0x3be55e}from'../../../aicore/model/aimodels.js';const Ho=_0x46ea43(0x17a),Vo=_0x46ea43(0x170),Mo=_0x46ea43(0x13e),Lo=_0x46ea43(0x18a),Do=_0x46ea43(0x197),Wo=_0x46ea43(0x13b),yo=_0x46ea43(0x144),jo='n';export class AIChatPromptCapabilitiesView extends _0x450dd1{[_0x46ea43(0x169)];[_0x46ea43(0x18d)];[_0x46ea43(0x142)];[_0x46ea43(0x191)];[_0x46ea43(0x15b)];[_0x46ea43(0x17b)];constructor(_0x497be1){const _0x7d309d=_0x46ea43;super(_0x497be1),this[_0x7d309d(0x161)](_0x7d309d(0x140),!0x1),this[_0x7d309d(0x161)](_0x7d309d(0x147),!0x1),this[_0x7d309d(0x161)](_0x7d309d(0x165),!0x0),this[_0x7d309d(0x161)](_0x7d309d(0x193),!0x0),this[_0x7d309d(0x161)](_0x7d309d(0x194),null),this[_0x7d309d(0x161)](_0x7d309d(0x16b),null),this[_0x7d309d(0x191)]=this[_0x7d309d(0x153)](),this[_0x7d309d(0x17b)]=this[_0x7d309d(0x19e)](),this[_0x7d309d(0x169)]=this[_0x7d309d(0x19d)](),this[_0x7d309d(0x18d)]=this[_0x7d309d(0x15e)](),this[_0x7d309d(0x142)]=this[_0x7d309d(0x163)](),this[_0x7d309d(0x191)][_0x7d309d(0x150)][_0x7d309d(0x18c)](_0x7d309d(0x162))['to'](this,_0x7d309d(0x165),_0x4bbabe=>_0x4bbabe),this[_0x7d309d(0x191)][_0x7d309d(0x150)][_0x7d309d(0x18c)](_0x7d309d(0x14e))['to'](this,_0x7d309d(0x193),_0x362432=>_0x362432?this[_0x7d309d(0x191)][_0x7d309d(0x150)][_0x7d309d(0x15f)]:_0x2249f1(this[_0x7d309d(0x154)],_0x7d309d(0x172))),this[_0x7d309d(0x191)][_0x7d309d(0x18c)](_0x7d309d(0x173))['to'](this,_0x7d309d(0x193),_0x133ccb=>_0x133ccb),this[_0x7d309d(0x169)][_0x7d309d(0x18c)](_0x7d309d(0x176))['to'](this,_0x7d309d(0x140),_0x35b7e0=>_0x35b7e0),this[_0x7d309d(0x169)][_0x7d309d(0x18c)](_0x7d309d(0x146))['to'](this,_0x7d309d(0x165),_0xb87e80=>!_0xb87e80),this[_0x7d309d(0x169)][_0x7d309d(0x18c)](_0x7d309d(0x14e))['to'](this,_0x7d309d(0x140),_0x1ecffa=>_0x2249f1(this[_0x7d309d(0x154)],_0x1ecffa?_0x7d309d(0x190):_0x7d309d(0x145))),this[_0x7d309d(0x18d)][_0x7d309d(0x18c)](_0x7d309d(0x176))['to'](this,_0x7d309d(0x147),_0x1f5496=>_0x1f5496),this[_0x7d309d(0x18d)][_0x7d309d(0x18c)](_0x7d309d(0x146))['to'](this,_0x7d309d(0x165),_0x3a5b44=>!_0x3a5b44),this[_0x7d309d(0x18d)][_0x7d309d(0x18c)](_0x7d309d(0x14e))['to'](this,_0x7d309d(0x147),_0x16129d=>_0x2249f1(this[_0x7d309d(0x154)],_0x16129d?_0x7d309d(0x158):_0x7d309d(0x16a))),this[_0x7d309d(0x14a)]({'tag':_0x7d309d(0x14f),'attributes':{'class':[Ho]},'children':[this[_0x7d309d(0x191)],this[_0x7d309d(0x17b)],this[_0x7d309d(0x169)],this[_0x7d309d(0x18d)],this[_0x7d309d(0x142)]]}),this[_0x7d309d(0x15b)]=new _0x47bce7(),_0x58f06b(this[_0x7d309d(0x191)],this[_0x7d309d(0x15b)]);}[_0x46ea43(0x192)](_0x365614,_0x3a48cf){const _0x23c090=_0x46ea43;if(this[_0x23c090(0x161)](_0x23c090(0x165),!(_0x3a48cf&&_0x365614[_0x23c090(0x15a)]<=0x1)),this[_0x23c090(0x15b)][_0x23c090(0x198)](),_0x365614?.[_0x23c090(0x15a)]){const _0x3e9b06=_0x3be55e[_0x23c090(0x14c)](this[_0x23c090(0x154)],_0x365614);for(const _0x32fe59 of _0x3e9b06){const _0x4257b3=new _0x46659c({'label':_0x32fe59[_0x23c090(0x16c)],'withText':!0x0,'role':_0x23c090(0x13c),'id':_0x32fe59['id'],'model':_0x32fe59});_0x4257b3[_0x23c090(0x18c)](_0x23c090(0x176))['to'](this,_0x23c090(0x194),_0x26db39=>_0x26db39===_0x32fe59['id']),this[_0x23c090(0x15b)][_0x23c090(0x157)]({'type':_0x23c090(0x174),'model':_0x4257b3,'labelView':new Ws(this[_0x23c090(0x154)],_0x32fe59)});}}}[_0x46ea43(0x15d)](_0x3c03c2){const _0x2d014a=_0x46ea43;this[_0x2d014a(0x161)](_0x2d014a(0x140),_0x3c03c2);}[_0x46ea43(0x178)](_0x189068){const _0x4ba72c=_0x46ea43;this[_0x4ba72c(0x161)](_0x4ba72c(0x147),_0x189068);}[_0x46ea43(0x186)](_0x568212){const _0x306e79=_0x46ea43;if(!_0x568212)return;this[_0x306e79(0x194)]=_0x568212['id'],this[_0x306e79(0x16b)]=_0x568212[_0x306e79(0x16c)]||_0x568212['id'],this[_0x306e79(0x191)][_0x306e79(0x150)][_0x306e79(0x161)](_0x306e79(0x15f),_0x568212[_0x306e79(0x16c)]),this[_0x306e79(0x191)][_0x306e79(0x150)][_0x306e79(0x161)](_0x306e79(0x14e),_0x568212[_0x306e79(0x16c)]);const _0x11c9b3=_0x568212[_0x306e79(0x182)][_0x306e79(0x179)]?.[_0x306e79(0x19a)]??!0x1;this[_0x306e79(0x161)](_0x306e79(0x140),!0x1),this[_0x306e79(0x169)][_0x306e79(0x161)](_0x306e79(0x176),!0x1),this[_0x306e79(0x169)][_0x306e79(0x161)](_0x306e79(0x173),_0x11c9b3),this[_0x306e79(0x169)][_0x306e79(0x161)](_0x306e79(0x162),_0x11c9b3);const _0x43e37a=_0x568212[_0x306e79(0x182)][_0x306e79(0x177)]?.[_0x306e79(0x19a)]??!0x1;this[_0x306e79(0x161)](_0x306e79(0x147),!0x1),this[_0x306e79(0x18d)][_0x306e79(0x161)](_0x306e79(0x176),!0x1),this[_0x306e79(0x18d)][_0x306e79(0x161)](_0x306e79(0x173),_0x43e37a),this[_0x306e79(0x18d)][_0x306e79(0x161)](_0x306e79(0x162),_0x43e37a);}[_0x46ea43(0x14d)](){const _0x5e61db=_0x46ea43;this[_0x5e61db(0x161)](_0x5e61db(0x193),!0x0),this[_0x5e61db(0x161)](_0x5e61db(0x165),!0x0);}[_0x46ea43(0x195)](_0x565596){const _0x46da34=_0x46ea43;this[_0x46da34(0x161)](_0x46da34(0x193),!0x1),_0x565596&&this[_0x46da34(0x161)](_0x46da34(0x165),!0x1);}[_0x46ea43(0x19d)](){const _0x577475=_0x46ea43,_0x511eaf=new _0x167e19();return _0x511eaf[_0x577475(0x161)]({'label':_0x2249f1(this[_0x577475(0x154)],_0x577475(0x149)),'icon':_0x4b783e,'class':Vo,'isToggleable':!0x0,'tooltipPosition':jo}),_0x511eaf['on'](_0x577475(0x152),()=>{const _0x134cbc=_0x577475;this[_0x134cbc(0x16e)](_0x134cbc(0x14b));}),_0x511eaf;}[_0x46ea43(0x15e)](){const _0x271a3c=_0x46ea43,_0x119ad0=new _0x167e19();return _0x119ad0[_0x271a3c(0x161)]({'label':_0x2249f1(this[_0x271a3c(0x154)],_0x271a3c(0x164)),'icon':_0x51abda,'class':Vo,'isToggleable':!0x0,'tooltipPosition':jo}),_0x119ad0['on'](_0x271a3c(0x152),()=>{const _0x3605d4=_0x271a3c;this[_0x3605d4(0x16e)](_0x3605d4(0x141));}),_0x119ad0;}[_0x46ea43(0x163)](){const _0x299903=_0x46ea43,_0x34d643=new _0x167e19();return _0x34d643[_0x299903(0x161)]({'label':_0x2249f1(this[_0x299903(0x154)],_0x299903(0x151)),'icon':_0x5a6782,'withText':!0x0,'class':Vo,'isToggleable':!0x0,'tooltip':_0x2249f1(this[_0x299903(0x154)],_0x299903(0x151)),'tooltipPosition':jo}),_0x34d643[_0x299903(0x15c)]({'attributes':{'class':[Mo]}}),_0x34d643['on'](_0x299903(0x152),()=>{const _0x4ba153=_0x299903;console[_0x4ba153(0x13f)](_0x4ba153(0x16d)),alert(_0x4ba153(0x16d));}),_0x34d643;}[_0x46ea43(0x153)](){const _0x30785a=_0x46ea43,_0x52f5b5=_0x1c45f6(this[_0x30785a(0x154)]);return _0x52f5b5[_0x30785a(0x161)]({'panelPosition':'ne','class':[Lo]}),_0x52f5b5[_0x30785a(0x150)][_0x30785a(0x161)]({'label':_0x2249f1(this[_0x30785a(0x154)],_0x30785a(0x18f)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':jo}),this[_0x30785a(0x156)](_0x52f5b5,_0x30785a(0x152),_0x7f5dd0=>{const _0x3e664b=_0x30785a;this[_0x3e664b(0x16e)](_0x3e664b(0x180),_0x7f5dd0[_0x3e664b(0x166)][_0x3e664b(0x18e)]);}),_0x52f5b5;}[_0x46ea43(0x19e)](){const _0x223297=_0x46ea43,_0x506780=new Go(this[_0x223297(0x154)]);return _0x506780[_0x223297(0x18c)](_0x223297(0x184))['to'](this,_0x223297(0x16b),_0x2d4ba8=>_0x2d4ba8??''),_0x506780[_0x223297(0x18c)](_0x223297(0x162))['to'](this,_0x223297(0x165),this,_0x223297(0x16b),(_0x43377b,_0x3389ab)=>!_0x43377b&&!_0x3389ab?.[_0x223297(0x187)]()[_0x223297(0x160)](_0x223297(0x199))),_0x506780;}}class Ws extends _0x18a9b8{constructor(_0x5bfb70,_0x24341d){const _0x2378f3=_0x46ea43;super();const _0x573848=this[_0x2378f3(0x17d)],_0x2ef06a=this[_0x2378f3(0x181)]();this[_0x2378f3(0x14a)]({'tag':_0x2378f3(0x14f),'attributes':{'class':['ck',_0x2378f3(0x167)],'style':_0x573848['to'](_0x2378f3(0x143)),'id':_0x573848['to']('id')},'children':[{'tag':_0x2378f3(0x14f),'attributes':{'class':[Do]},'children':[{'text':_0x573848['to'](_0x2378f3(0x184))}]},{'tag':_0x2378f3(0x14f),'attributes':{'class':[Wo]},'children':[{'tag':_0x2378f3(0x155),'children':[{'text':_0x24341d[_0x2378f3(0x185)]}]}]},{'tag':_0x2378f3(0x14f),'attributes':{'class':[yo]},'children':_0x2ef06a}]}),_0x2ef06a[_0x2378f3(0x159)](this[_0x2378f3(0x17c)](_0x5bfb70,_0x4b783e,_0x2378f3(0x149),_0x24341d[_0x2378f3(0x182)][_0x2378f3(0x179)]?.[_0x2378f3(0x19a)]??!0x1)),_0x2ef06a[_0x2378f3(0x159)](this[_0x2378f3(0x17c)](_0x5bfb70,_0x51abda,_0x2378f3(0x164),_0x24341d[_0x2378f3(0x182)][_0x2378f3(0x177)]?.[_0x2378f3(0x19a)]??!0x1));}[_0x46ea43(0x17c)](_0x497e1f,_0x524c0e,_0xfe137e,_0x5d8827){const _0x53a28b=_0x46ea43,_0x4a78aa=new _0x5a8f18();_0x4a78aa[_0x53a28b(0x175)]=_0x524c0e;const _0x2ac0de=new _0x450dd1(_0x497e1f);_0x2ac0de[_0x53a28b(0x14a)]({'tag':_0x53a28b(0x155),'children':[{'text':_0x2249f1(_0x497e1f,_0xfe137e)+':\x20'}]});const _0x1d8a6e=new _0x450dd1(_0x497e1f);return _0x1d8a6e[_0x53a28b(0x14a)]({'tag':_0x53a28b(0x155),'children':[{'text':_0x2249f1(_0x497e1f,_0x5d8827?_0x53a28b(0x171):_0x53a28b(0x19b))}]}),[_0x4a78aa,_0x2ac0de,_0x1d8a6e];}}function _0x576b(){const _0x52afe4=['withText','reasoningActive','29594UzQfyh','AI_CHAT_SEARCH_WEB','setTemplate','toggleWebSearch','getLocalized','enableModelSelector','tooltip','div','buttonView','AI_CHAT_COMMANDS','execute','_createModelSelectionDropdown','locale','span','listenTo','add','AI_CHAT_DISABLE_REASONING','addMany','length','_modelSelectionDropdownItems','extendTemplate','setWebSearch','_createReasoningButton','label','startsWith','set','isVisible','_createCommandsButton','AI_CHAT_REASONING','modelSelectorVisible','source','ck-button__label','115vSmSSm','_webSearchButton','AI_CHAT_ENABLE_REASONING','activeModelName','name','Commands\x20are\x20not\x20implemented\x20yet.','fire','ck-ai-chat-controls__model-name','ck-ai-chat-controls-button','AI_CHAT_CAPABILITIES_YES','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','isEnabled','button','content','isOn','reasoning','setReasoning','webSearch','ck-ai-chat__prompt-capabilities','_modelNameView','_getCapabilityParts','bindTemplate','2065010ObXFjm','3761480hyiIea','selectModel','createCollection','capabilities','ck-hidden','text','description','setModel','toLowerCase','3967397drKggy','154758HDlRCi','ck-ai-chat-controls__model-selection','1761705mDgBNN','bind','_reasoningButton','model','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_DISABLE_WEB_SEARCH','_modelSelectionDropdown','setModelList','modelSelectorEnabled','activeModelId','disableModelSelector','8POYAnd','ck-ai-chat-controls__model-selection__item-name','clear','agent','enabled','AI_CHAT_CAPABILITIES_NO','1439236KaJKOb','_createWebSearchButton','_createModelNameView','ck-ai-chat-controls__model-selection__item-description','menuitemradio','9ifGOYS','ck-ai-chat-controls-button--commands','log','webSearchActive','toggleReasoning','_commandsButton','style','ck-ai-chat-controls__model-selection__item-capabilities','AI_CHAT_ENABLE_WEB_SEARCH'];_0x576b=function(){return _0x52afe4;};return _0x576b();}class Go extends _0x450dd1{constructor(_0x5f334e){const _0x428ade=_0x46ea43;super(_0x5f334e),this[_0x428ade(0x161)](_0x428ade(0x184),void 0x0),this[_0x428ade(0x161)](_0x428ade(0x162),!0x0);const _0x2c5a47=this[_0x428ade(0x17d)];this[_0x428ade(0x14a)]({'tag':_0x428ade(0x155),'attributes':{'class':['ck',_0x428ade(0x16f),_0x2c5a47['if'](_0x428ade(0x162),_0x428ade(0x183),_0x2a75c6=>!_0x2a75c6)]},'children':[{'text':_0x2c5a47['to'](_0x428ade(0x184))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3170(){const _0x236450=['MIN_ROWS','6764088RKQWnl','submit','2246157uIQJWE','88xEgCzH','_addContextButtonView','fieldView','execute','setPlaceholderText','set','target','minRows','width','_createSubmitButton','extendTemplate','px\x20-\x20var(--ck-spacing-tiny))','excludeScrollbarsAndBorders','AI_CHAT_PROMPT_EMPTY_ERROR','uiLanguageDirection','render','placeholder','enter','ck-ai-chat__prompt-input','2396935MRbNPH','trim','reset','isUploadInProgress','focusableChildren','567663sXrnKB','_queryViewResizeObserver','value','2282mZuKag','queryView','calc(','isEmpty','style','121863sXHuDq','window','4OcncmM','keystrokes','right','element','2409705bYPwbR','locale','6uAMEMc','2njhgVU','requestAnimationFrame','left','MAX_ROWS','isEnabled','AI_CHAT_LABEL_SUBMIT','sendUserMessage','add','10kqvksa','bind','setIsUploadInProgress','220532wVjiZP','hasError','_setUpAddContextButtonPositioning','maxRows','errorText','11JiZTZM','update','destroy','ck-ai-chat__prompt-submit-button','fire','submitButtonView','fieldWrapperChildren','rtl'];_0x3170=function(){return _0x236450;};return _0x3170();}const _0x16982e=_0x436f;(function(_0x40664b,_0x4cc515){const _0x3530eb=_0x436f,_0x16ceb6=_0x40664b();while(!![]){try{const _0x548475=-parseInt(_0x3530eb(0x150))/0x1*(parseInt(_0x3530eb(0x161))/0x2)+-parseInt(_0x3530eb(0x137))/0x3*(parseInt(_0x3530eb(0x15a))/0x4)+-parseInt(_0x3530eb(0x14b))/0x5*(parseInt(_0x3530eb(0x160))/0x6)+parseInt(_0x3530eb(0x158))/0x7*(-parseInt(_0x3530eb(0x138))/0x8)+-parseInt(_0x3530eb(0x15e))/0x9*(-parseInt(_0x3530eb(0x169))/0xa)+parseInt(_0x3530eb(0x171))/0xb*(-parseInt(_0x3530eb(0x135))/0xc)+-parseInt(_0x3530eb(0x16c))/0xd*(-parseInt(_0x3530eb(0x153))/0xe);if(_0x548475===_0x4cc515)break;else _0x16ceb6['push'](_0x16ceb6['shift']());}catch(_0x3655d2){_0x16ceb6['push'](_0x16ceb6['shift']());}}}(_0x3170,0x75a8f));import{IconSubmit as _0x1be134}from'ckeditor5/src/icons.js';import{ButtonView as _0x5dbb8e,AutocompleteView as _0x1d158a,createLabeledTextarea as _0x317c39}from'ckeditor5/src/ui.js';import{global as _0x48f1a0,isVisible as _0x2909f9,Rect as _0x37d8e8,ResizeObserver as _0x5c610d}from'ckeditor5/src/utils.js';import{getTranslation as _0x104b1a}from'../../../aicore/utils/common-translations.js';function _0x436f(_0x5bd04a,_0x3497d8){const _0x3170b9=_0x3170();return _0x436f=function(_0x436ffd,_0x5568f7){_0x436ffd=_0x436ffd-0x12e;let _0x240c28=_0x3170b9[_0x436ffd];return _0x240c28;},_0x436f(_0x5bd04a,_0x3497d8);}import{AIChatPromptSuggestionsListView as _0x63565d}from'./aichatpromptsuggestionslistview.js';import{escape as _0x442c18}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x1d158a{[_0x16982e(0x131)];static [_0x16982e(0x134)]=0x1;static [_0x16982e(0x164)]=0xc;[_0x16982e(0x139)];[_0x16982e(0x151)];constructor(_0x582341,_0x35d767){const _0x318be5=_0x16982e;super(_0x582341,{'queryView':{'label':'','creator':_0x317c39,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x63565d(_0x582341),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x318be5(0x13d)](_0x318be5(0x156),!0x0),this[_0x318be5(0x13d)](_0x318be5(0x14e),!0x1),this[_0x318be5(0x139)]=_0x35d767,this[_0x318be5(0x151)]=null,this[_0x318be5(0x154)][_0x318be5(0x13a)][_0x318be5(0x13f)]=AIChatPromptInputView[_0x318be5(0x134)],this[_0x318be5(0x154)][_0x318be5(0x13a)][_0x318be5(0x16f)]=AIChatPromptInputView[_0x318be5(0x164)],this[_0x318be5(0x154)][_0x318be5(0x132)][_0x318be5(0x168)](this[_0x318be5(0x139)]),this[_0x318be5(0x16e)](),this[_0x318be5(0x142)]({'attributes':{'class':['ck',_0x318be5(0x14a)]}}),this[_0x318be5(0x131)]=this[_0x318be5(0x141)](),this[_0x318be5(0x131)][_0x318be5(0x16a)](_0x318be5(0x165))['to'](this,_0x318be5(0x156),this,_0x318be5(0x14e),(_0x1d0300,_0x26dbe4)=>!_0x1d0300&&!_0x26dbe4),this[_0x318be5(0x14f)][_0x318be5(0x168)](this[_0x318be5(0x131)]);}[_0x16982e(0x147)](){const _0x14491a=_0x16982e;super[_0x14491a(0x147)](),this[_0x14491a(0x154)][_0x14491a(0x132)][_0x14491a(0x168)](this[_0x14491a(0x131)]),this[_0x14491a(0x15b)][_0x14491a(0x13d)](_0x14491a(0x149),(_0x16b793,_0x29da7c)=>{const _0x558c6f=_0x14491a;this[_0x558c6f(0x14e)]||this[_0x558c6f(0x156)]||_0x16b793[_0x558c6f(0x13e)]==this[_0x558c6f(0x154)][_0x558c6f(0x13a)][_0x558c6f(0x15d)]&&(this[_0x558c6f(0x136)](),_0x29da7c());}),this[_0x14491a(0x154)][_0x14491a(0x13a)]['on'](_0x14491a(0x172),()=>{const _0x7f4444=_0x14491a;this[_0x7f4444(0x156)]=''===this[_0x7f4444(0x154)][_0x7f4444(0x13a)][_0x7f4444(0x15d)][_0x7f4444(0x152)]?.[_0x7f4444(0x14c)]();});}[_0x16982e(0x12e)](){const _0x5c5c40=_0x16982e;super[_0x5c5c40(0x12e)](),this[_0x5c5c40(0x151)]&&this[_0x5c5c40(0x151)][_0x5c5c40(0x12e)]();}[_0x16982e(0x136)](){const _0x37c5d1=_0x16982e,_0x3c301d=this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x15d)][_0x37c5d1(0x152)]?.[_0x37c5d1(0x14c)]();if(!_0x3c301d)return this[_0x37c5d1(0x154)][_0x37c5d1(0x170)]=_0x104b1a(this[_0x37c5d1(0x15f)],_0x37c5d1(0x145)),void(this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x16d)]=!0x0);this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x16d)]=!0x1;const _0x3ec6e1=_0x442c18(_0x3c301d);this[_0x37c5d1(0x130)](_0x37c5d1(0x167),_0x3ec6e1),this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x14d)]();}[_0x16982e(0x13c)](_0x2c9059){const _0x227b94=_0x16982e;this[_0x227b94(0x154)][_0x227b94(0x13a)][_0x227b94(0x13d)](_0x227b94(0x148),_0x2c9059);}[_0x16982e(0x141)](){const _0x50fc8f=_0x16982e,_0x46a41c=new _0x5dbb8e(this[_0x50fc8f(0x15f)]);return _0x46a41c[_0x50fc8f(0x13d)]({'icon':_0x1be134,'label':_0x104b1a(this[_0x50fc8f(0x15f)],_0x50fc8f(0x166)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x50fc8f(0x12f),'isEnabled':!0x1}),_0x46a41c['on'](_0x50fc8f(0x13b),()=>{const _0x384a41=_0x50fc8f;this[_0x384a41(0x136)]();}),_0x46a41c;}[_0x16982e(0x16b)](_0x295567){const _0x389200=_0x16982e;this[_0x389200(0x14e)]=_0x295567;}[_0x16982e(0x16e)](){const _0x1c43ea=_0x16982e,_0x2ed604=this[_0x1c43ea(0x15f)],_0x106f2e=()=>{const _0x4cb530=_0x1c43ea;_0x48f1a0[_0x4cb530(0x159)][_0x4cb530(0x162)](()=>{const _0xf4ca49=_0x4cb530;if(_0x2909f9(this[_0xf4ca49(0x15d)])){const _0x2efb56=new _0x37d8e8(this[_0xf4ca49(0x154)][_0xf4ca49(0x13a)][_0xf4ca49(0x15d)]),_0x52166e=new _0x37d8e8(this[_0xf4ca49(0x139)][_0xf4ca49(0x15d)]),_0x2834b7=_0x2efb56[_0xf4ca49(0x140)],_0x16f592=_0xf4ca49(0x133)===_0x2ed604[_0xf4ca49(0x146)]?_0xf4ca49(0x15c):_0xf4ca49(0x163);_0x2efb56[_0xf4ca49(0x144)]();const _0x2c3035=_0x2834b7-_0x2efb56[_0xf4ca49(0x140)]+0x1;this[_0xf4ca49(0x139)][_0xf4ca49(0x15d)][_0xf4ca49(0x157)][_0x16f592]=_0xf4ca49(0x155)+(_0x2834b7-_0x52166e[_0xf4ca49(0x140)]-_0x2c3035)+_0xf4ca49(0x143);}});};this[_0x1c43ea(0x154)][_0x1c43ea(0x13a)]['on'](_0x1c43ea(0x172),_0x106f2e),this['on'](_0x1c43ea(0x147),()=>{const _0x1ac133=_0x1c43ea;_0x106f2e(),this[_0x1ac133(0x151)]=new _0x5c610d(this[_0x1ac133(0x154)][_0x1ac133(0x13a)][_0x1ac133(0x15d)],()=>{_0x106f2e();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x213a18=_0x14ab;(function(_0x4db4e5,_0x447f42){const _0x5970cd=_0x14ab,_0x443e6e=_0x4db4e5();while(!![]){try{const _0x37fb78=parseInt(_0x5970cd(0x17e))/0x1*(parseInt(_0x5970cd(0x188))/0x2)+-parseInt(_0x5970cd(0x186))/0x3+parseInt(_0x5970cd(0x184))/0x4*(parseInt(_0x5970cd(0x17c))/0x5)+parseInt(_0x5970cd(0x17f))/0x6+parseInt(_0x5970cd(0x17d))/0x7*(parseInt(_0x5970cd(0x17b))/0x8)+parseInt(_0x5970cd(0x185))/0x9*(-parseInt(_0x5970cd(0x187))/0xa)+parseInt(_0x5970cd(0x183))/0xb*(-parseInt(_0x5970cd(0x180))/0xc);if(_0x37fb78===_0x447f42)break;else _0x443e6e['push'](_0x443e6e['shift']());}catch(_0x55aba0){_0x443e6e['push'](_0x443e6e['shift']());}}}(_0x2b78,0xdd549));import{ListView as _0x2904ff}from'ckeditor5/src/ui.js';function _0x14ab(_0x22150c,_0x19297e){const _0x2b78d1=_0x2b78();return _0x14ab=function(_0x14ab15,_0x1c832b){_0x14ab15=_0x14ab15-0x17a;let _0x242d33=_0x2b78d1[_0x14ab15];return _0x242d33;},_0x14ab(_0x22150c,_0x19297e);}export class AIChatPromptSuggestionsListView extends _0x2904ff{[_0x213a18(0x182)](){const _0x54c910=_0x213a18;let _0x26dba0=0x0;for(const _0x28e208 of this[_0x54c910(0x181)])_0x26dba0+=_0x28e208[_0x54c910(0x181)][_0x54c910(0x17a)];return{'resultsCount':_0x26dba0,'totalItemsCount':_0x26dba0};}}function _0x2b78(){const _0x108cdf=['165490oMWkUJ','3299667Jovjdg','5PGLnpO','1351332VYsMHz','30893172tCDZwb','items','filter','11sUfmDt','188xNWKUs','247527fhzIQn','1193637cHvhXG','50OqtHiO','705674QSSoHe','length','8LkeiGn'];_0x2b78=function(){return _0x108cdf;};return _0x2b78();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2ef1(){const _0x489f8e=['24SzUbYM','trim','useDefaultFiltering','clear','2RAonKs','filter','replace','138UDRkzi','label','1953238VDvjEZ','158511eZweAQ','20nMQqCw','extendTemplate','forEach','136215kAJpmo','1135593syspgs','49098972PtCsel','setResources','test','add','execute','resource','ck-ai-chat-resources__list','4440568KnxIPO','highlightText','items','\x5c$&','addResourceToContext','locale','2120760ijBeqC','88uSTrEb','fire','updateResourceState','_source','_handleResourceSelection'];_0x2ef1=function(){return _0x489f8e;};return _0x2ef1();}function _0x533e(_0x2f1629,_0x1cbeaa){const _0x2ef166=_0x2ef1();return _0x533e=function(_0x533ea0,_0x57b6ba){_0x533ea0=_0x533ea0-0xf3;let _0x3a92f8=_0x2ef166[_0x533ea0];return _0x3a92f8;},_0x533e(_0x2f1629,_0x1cbeaa);}const _0x1eeea8=_0x533e;(function(_0xe11640,_0x103946){const _0x4c2053=_0x533e,_0x2d1720=_0xe11640();while(!![]){try{const _0x3514b9=-parseInt(_0x4c2053(0x107))/0x1*(parseInt(_0x4c2053(0xfc))/0x2)+parseInt(_0x4c2053(0x102))/0x3*(-parseInt(_0x4c2053(0xf3))/0x4)+-parseInt(_0x4c2053(0x106))/0x5*(parseInt(_0x4c2053(0xff))/0x6)+-parseInt(_0x4c2053(0x101))/0x7*(parseInt(_0x4c2053(0xf8))/0x8)+-parseInt(_0x4c2053(0x115))/0x9+-parseInt(_0x4c2053(0x103))/0xa*(-parseInt(_0x4c2053(0x10f))/0xb)+parseInt(_0x4c2053(0x108))/0xc;if(_0x3514b9===_0x103946)break;else _0x2d1720['push'](_0x2d1720['shift']());}catch(_0x2a0d93){_0x2d1720['push'](_0x2d1720['shift']());}}}(_0x2ef1,0xdc1f3));import{ListView as _0x2b3846}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x1ffcdb}from'./aichatresourcelistitemview.js';const tc=_0x1eeea8(0x10e);export class AIChatContextResourcesListView extends _0x2b3846{[_0x1eeea8(0xf6)];constructor(_0x181243,_0x389205){const _0x221178=_0x1eeea8;super(_0x181243),this[_0x221178(0xf6)]=_0x389205,this[_0x221178(0x104)]({'attributes':{'class':[tc]}});}[_0x1eeea8(0x109)](_0x2e893a,_0x560c62){const _0x473a0e=_0x1eeea8;this[_0x473a0e(0x111)][_0x473a0e(0xfb)]();let _0x2ea98e=_0x2e893a;if(this[_0x473a0e(0xf6)][_0x473a0e(0xfa)]&&_0x560c62&&''!==_0x560c62[_0x473a0e(0xf9)]()){const _0x580feb=new RegExp(_0x560c62[_0x473a0e(0xfe)](/[.*+?^${}()|[\]\\]/g,_0x473a0e(0x112)),'gi');_0x2ea98e=_0x2e893a[_0x473a0e(0xfd)](_0x2bf28a=>_0x580feb[_0x473a0e(0x10a)](_0x2bf28a[_0x473a0e(0x100)]));}for(const _0x57261c of _0x2ea98e){const _0x2d6b9e=new _0x1ffcdb(this[_0x473a0e(0x114)],_0x57261c);_0x2d6b9e['on'](_0x473a0e(0x10c),()=>{const _0x13345f=_0x473a0e;this[_0x13345f(0xf7)](this[_0x13345f(0xf6)],_0x57261c);}),this[_0x473a0e(0x111)][_0x473a0e(0x10b)](_0x2d6b9e);}this[_0x473a0e(0xf6)][_0x473a0e(0xfa)]&&this[_0x473a0e(0x110)](_0x560c62);}[_0x1eeea8(0x110)](_0x8ea038){const _0x11e991=_0x1eeea8;this[_0x11e991(0xf6)][_0x11e991(0xfa)]&&this[_0x11e991(0x111)][_0x11e991(0x105)](_0x2d5817=>{const _0x8d4449=_0x11e991;_0x2d5817[_0x8d4449(0x110)](_0x8ea038);});}[_0x1eeea8(0xf5)](_0x8acded,_0x54a370){const _0x1b65fa=_0x1eeea8;for(const _0x587480 of this[_0x1b65fa(0x111)]){const _0x367dc0=_0x587480;_0x367dc0[_0x1b65fa(0x10d)]['id']===_0x8acded&&_0x367dc0[_0x1b65fa(0xf5)](_0x54a370);}}[_0x1eeea8(0xf7)](_0x16d1f0,_0x5db562){const _0x48bde8=_0x1eeea8;this[_0x48bde8(0xf4)](_0x48bde8(0x113),{'source':_0x16d1f0,'resource':_0x5db562});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x479e48=_0x58f9;(function(_0xd968df,_0x273aaa){const _0x5c4262=_0x58f9,_0x1c22a0=_0xd968df();while(!![]){try{const _0x6f747c=-parseInt(_0x5c4262(0x11b))/0x1+parseInt(_0x5c4262(0x114))/0x2+-parseInt(_0x5c4262(0x131))/0x3+parseInt(_0x5c4262(0x12f))/0x4*(-parseInt(_0x5c4262(0x13c))/0x5)+parseInt(_0x5c4262(0x135))/0x6+-parseInt(_0x5c4262(0x121))/0x7*(-parseInt(_0x5c4262(0x130))/0x8)+parseInt(_0x5c4262(0x136))/0x9;if(_0x6f747c===_0x273aaa)break;else _0x1c22a0['push'](_0x1c22a0['shift']());}catch(_0x1aa3e6){_0x1c22a0['push'](_0x1c22a0['shift']());}}}(_0x5135,0xbeb7c));import{View as _0x23a6d6,ViewCollection as _0x34c363}from'ckeditor5/src/ui.js';import{uid as _0x2792c1}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x274929}from'./aichatcontextresourceslistview.js';function _0x58f9(_0x572156,_0x5e3c4d){const _0x51359b=_0x5135();return _0x58f9=function(_0x58f9d6,_0x2c31f0){_0x58f9d6=_0x58f9d6-0x10e;let _0x14b61a=_0x51359b[_0x58f9d6];return _0x14b61a;},_0x58f9(_0x572156,_0x5e3c4d);}function _0x5135(){const _0x214bd6=['643464XJoHib','_createSearchSection','ck-hidden','div','aiChatResources','loadResources','_searchSection','1412359QBQTUp','locale','render','length','_source','_latestLoadResourcesUid','98693bwriaE','set','fire','setTemplate','isLoading','extendTemplate','has','setResources','_createSearchView','getQuery','ck\x20ck-search','loadSourceResources','search','addResourceToContext','145340eAwDNh','632AdRhrV','1263945Nazrko','ck-ai-chat-resources','highlightText','add','657132znyYtu','9955026PHiFVG','_resourcesListView','_searchInputVisibleFrom','_createResourcesListView','delegate','_searchView','5XniQxW','searchInputVisibleFrom','updateResourceState','_createSkeletonView','children','_skeletonLoader','source','bindTemplate','useDefaultFiltering'];_0x5135=function(){return _0x214bd6;};return _0x5135();}import{AIChatContextResourcesSearchInputView as _0x5ee0f6}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x1bbf29,SKELETON_DEFINITIONS as _0x1a3e8a}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x23a6d6{[_0x479e48(0x13b)];[_0x479e48(0x11a)];[_0x479e48(0x138)];[_0x479e48(0x137)];[_0x479e48(0x110)];[_0x479e48(0x11f)];[_0x479e48(0x10f)];[_0x479e48(0x120)]=null;constructor(_0x9dbf64,_0x10d10f){const _0x580392=_0x479e48;super(_0x9dbf64),this[_0x580392(0x11f)]=_0x10d10f[_0x580392(0x111)],this[_0x580392(0x138)]=_0x10d10f[_0x580392(0x13d)]??0x7,this[_0x580392(0x122)](_0x580392(0x125),!0x0),this[_0x580392(0x13b)]=this[_0x580392(0x129)](),this[_0x580392(0x11a)]=this[_0x580392(0x115)](),this[_0x580392(0x137)]=this[_0x580392(0x139)](),this[_0x580392(0x110)]=this[_0x580392(0x10e)](),this[_0x580392(0x10f)]=new _0x34c363([this[_0x580392(0x110)],this[_0x580392(0x137)]]),this[_0x580392(0x124)]({'tag':_0x580392(0x117),'attributes':{'class':_0x580392(0x132)},'children':this[_0x580392(0x10f)]});}[_0x479e48(0x129)](){const _0x45a345=_0x479e48;return new _0x5ee0f6(this[_0x45a345(0x11c)]);}[_0x479e48(0x115)](){const _0x488902=_0x479e48,_0x589630=new _0x23a6d6(this[_0x488902(0x11c)]);return _0x589630[_0x488902(0x124)]({'tag':_0x488902(0x117),'attributes':{'class':_0x488902(0x12b)},'children':[this[_0x488902(0x13b)]]}),this[_0x488902(0x13b)]['on'](_0x488902(0x12d),(_0x224a72,_0x3f978a)=>{const _0x4226fa=_0x488902;this[_0x4226fa(0x119)](_0x3f978a),this[_0x4226fa(0x11f)][_0x4226fa(0x113)]&&this[_0x4226fa(0x137)][_0x4226fa(0x133)](_0x3f978a);}),_0x589630;}[_0x479e48(0x139)](){const _0x5ef329=_0x479e48,_0x4c57c7=new _0x274929(this[_0x5ef329(0x11c)],this[_0x5ef329(0x11f)]);return _0x4c57c7[_0x5ef329(0x13a)](_0x5ef329(0x12e))['to'](this),_0x4c57c7[_0x5ef329(0x126)]({'attributes':{'class':this[_0x5ef329(0x112)]['if'](_0x5ef329(0x125),_0x5ef329(0x116))}}),_0x4c57c7;}[_0x479e48(0x10e)](){const _0x516ddc=_0x479e48,_0x2527ef=new _0x1bbf29(this[_0x516ddc(0x11c)],_0x1a3e8a[_0x516ddc(0x118)]);return _0x2527ef[_0x516ddc(0x126)]({'attributes':{'class':[this[_0x516ddc(0x112)]['if'](_0x516ddc(0x125),_0x516ddc(0x116),_0x6d1b00=>!_0x6d1b00)]}}),_0x2527ef;}[_0x479e48(0x11d)](){const _0x3c5021=_0x479e48;super[_0x3c5021(0x11d)](),this[_0x3c5021(0x119)]('');}[_0x479e48(0x119)](_0x29a2e5){const _0xf598b2=_0x479e48,_0x136453=_0x2792c1();this[_0xf598b2(0x120)]=_0x136453,this[_0xf598b2(0x123)](_0xf598b2(0x12c),{'sourceId':this[_0xf598b2(0x11f)]['id'],'query':_0x29a2e5,'uid':_0x136453}),this[_0xf598b2(0x125)]=!0x0;}[_0x479e48(0x128)](_0x252432,_0x1e7418){const _0x561455=_0x479e48;if(_0x1e7418&&_0x1e7418!==this[_0x561455(0x120)])return;const _0x11052c=this[_0x561455(0x11f)][_0x561455(0x113)]?this[_0x561455(0x13b)][_0x561455(0x12a)]():'';this[_0x561455(0x137)][_0x561455(0x128)](_0x252432,_0x11052c),_0x252432[_0x561455(0x11e)]>=this[_0x561455(0x138)]&&!this[_0x561455(0x10f)][_0x561455(0x127)](this[_0x561455(0x11a)])&&this[_0x561455(0x10f)][_0x561455(0x134)](this[_0x561455(0x11a)],0x0),requestAnimationFrame(()=>{const _0x32c64f=_0x561455;this[_0x32c64f(0x125)]=!0x1;});}[_0x479e48(0x13e)](_0x3c427e,_0x489a79){const _0x42484c=_0x479e48;this[_0x42484c(0x137)][_0x42484c(0x13e)](_0x3c427e,_0x489a79);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2e8d(_0xe12f68,_0x2d9b29){const _0x495a6e=_0x495a();return _0x2e8d=function(_0x2e8dae,_0x375591){_0x2e8dae=_0x2e8dae-0x19f;let _0xf97b66=_0x495a6e[_0x2e8dae];return _0xf97b66;},_0x2e8d(_0xe12f68,_0x2d9b29);}function _0x495a(){const _0x1216a6=['_setupTemplate','trim','123513OFTeqK','URL','div','label','text','DOCUMENT','updateResourceState','content','span','bindTemplate','type','40MTSDWz','ck-ai-chat-resources__item','execute','24959090Dhpeab','7801272ZptiqP','_createTitleView','getResourceIcon','1077100tVwJKb','ck-ai-chat-resources__item-title','ck-ai-chat-resources__item--in-context','extendTemplate','set','TEXT','1741912VqEtUR','_titleView','_updateIcon','30ALLLtB','325006pvPuTx','isInContext','1340465VmqAtJ','12NRlmqe','_createIconView','FILE','isVisible','setTemplate','render','resource','ck-ai-chat-resources__item__icon','highlightText','_iconView','ck-hidden'];_0x495a=function(){return _0x1216a6;};return _0x495a();}const _0xc9f214=_0x2e8d;(function(_0x567a9b,_0x3c723b){const _0x2cadd3=_0x2e8d,_0x5cf0ac=_0x567a9b();while(!![]){try{const _0x2ca89c=parseInt(_0x2cadd3(0x1ad))/0x1+-parseInt(_0x2cadd3(0x1b0))/0x2*(-parseInt(_0x2cadd3(0x1bd))/0x3)+-parseInt(_0x2cadd3(0x1a9))/0x4+-parseInt(_0x2cadd3(0x1a3))/0x5*(-parseInt(_0x2cadd3(0x1ac))/0x6)+parseInt(_0x2cadd3(0x1af))/0x7*(parseInt(_0x2cadd3(0x1c8))/0x8)+parseInt(_0x2cadd3(0x1a0))/0x9+-parseInt(_0x2cadd3(0x19f))/0xa;if(_0x2ca89c===_0x3c723b)break;else _0x5cf0ac['push'](_0x5cf0ac['shift']());}catch(_0x296256){_0x5cf0ac['push'](_0x5cf0ac['shift']());}}}(_0x495a,0x8454c));import{HighlightedTextView as _0x5d2ee8,IconView as _0x5ad1ff,ListItemView as _0x13d7bc}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x23e876}from'es-toolkit/compat';import{AIContextItemType as _0x5ed649}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x4eb88a,IconCheck as _0x16912a,IconDocument as _0x51a832,IconDocumentOutline as _0xb5f4f2,IconLink as _0x1f97e0}from'@ckeditor/ckeditor5-icons';const zr=_0xc9f214(0x1c9),Jr=_0xc9f214(0x1a5),Kr=_0xc9f214(0x1a4),Nr=_0xc9f214(0x1b7);export class AIChatResourceListItemView extends _0x13d7bc{[_0xc9f214(0x1b6)];[_0xc9f214(0x1aa)];[_0xc9f214(0x1b9)];constructor(_0x1c3b10,_0x1842d3){const _0x4d2f96=_0xc9f214;super(_0x1c3b10),this[_0x4d2f96(0x1b6)]=_0x1842d3,this[_0x4d2f96(0x1a7)](_0x4d2f96(0x1ae),!!_0x1842d3[_0x4d2f96(0x1ae)]),this[_0x4d2f96(0x1aa)]=this[_0x4d2f96(0x1a1)](),this[_0x4d2f96(0x1b9)]=this[_0x4d2f96(0x1b1)](),this[_0x4d2f96(0x1bb)]();}[_0xc9f214(0x1b5)](){const _0x42c6d6=_0xc9f214;super[_0x42c6d6(0x1b5)]();}[_0xc9f214(0x1a2)](_0x1175a2){const _0x3ed352=_0xc9f214;if(_0x1175a2[_0x3ed352(0x1ae)])return _0x16912a;switch(_0x1175a2[_0x3ed352(0x1c7)]){case _0x5ed649[_0x3ed352(0x1c2)]:return _0x51a832;case _0x5ed649[_0x3ed352(0x1be)]:return _0x1f97e0;case _0x5ed649[_0x3ed352(0x1b2)]:case _0x5ed649[_0x3ed352(0x1a8)]:return _0x4eb88a;default:return _0xb5f4f2;}}[_0xc9f214(0x1b8)](_0x35bf0b){const _0x3bc0b4=_0xc9f214;if(!_0x35bf0b||''===_0x35bf0b[_0x3bc0b4(0x1bc)]())return void this[_0x3bc0b4(0x1aa)][_0x3bc0b4(0x1b8)](null);const _0x106b68=new RegExp(_0x23e876(_0x35bf0b),'gi');this[_0x3bc0b4(0x1aa)][_0x3bc0b4(0x1b8)](_0x106b68);}[_0xc9f214(0x1c3)](_0x375b26){const _0x5e7f47=_0xc9f214;this[_0x5e7f47(0x1b6)][_0x5e7f47(0x1ae)]=_0x375b26,this[_0x5e7f47(0x1ae)]=_0x375b26,this[_0x5e7f47(0x1ab)]();}[_0xc9f214(0x1a1)](){const _0x2fbed5=_0xc9f214,_0x2604b2=new _0x5d2ee8();return _0x2604b2[_0x2fbed5(0x1c1)]=this[_0x2fbed5(0x1b6)][_0x2fbed5(0x1c0)],_0x2604b2[_0x2fbed5(0x1a6)]({'tag':_0x2fbed5(0x1c5),'attributes':{'class':[Kr]}}),_0x2604b2;}[_0xc9f214(0x1b1)](){const _0x235302=_0xc9f214,_0x50ef88=new _0x5ad1ff();return _0x50ef88[_0x235302(0x1c4)]=this[_0x235302(0x1a2)](this[_0x235302(0x1b6)]),_0x50ef88;}[_0xc9f214(0x1bb)](){const _0x55139d=_0xc9f214,_0xe99035=this[_0x55139d(0x1c6)];this[_0x55139d(0x1b4)]({'tag':_0x55139d(0x1bf),'attributes':{'class':[zr,_0xe99035['if'](_0x55139d(0x1b3),_0x55139d(0x1ba),_0x3aeee7=>!_0x3aeee7),_0xe99035['if'](_0x55139d(0x1ae),Jr)]},'children':[{'tag':_0x55139d(0x1bf),'attributes':{'class':[Nr]},'children':[this[_0x55139d(0x1b9)]]},this[_0x55139d(0x1aa)]],'on':{'click':_0xe99035['to'](_0x55139d(0x1ca))}});}[_0xc9f214(0x1ab)](){const _0x35fbc2=_0xc9f214;this[_0x35fbc2(0x1b9)][_0x35fbc2(0x1c4)]=this[_0x35fbc2(0x1a2)](this[_0x35fbc2(0x1b6)]);}}
|