@aintela/chat 0.4.33 → 0.4.34

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/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import { APPBAR_HEIGHT as pe, APPBAR_HEIGHT as Se, ASK_USER_CANCELLED as ge, Age
10
10
  import { s as Yt, u as Qt, a as $t, b as es, c as as } from "./useContainerWidth-C7u70yDY.js";
11
11
  import { A as ss, D as os, g as ns, b as rs, c as is, d as cs, e as ls, f as As, i as ps, r as Ss } from "./environmentUtils-VZNTCzEE.js";
12
12
  import { ALLOWED_DOMAINS as Cs, ALLOWED_EMAILS as Is, AUTH_CONFIG as hs, GOOGLE_CLIENT_ID as Ps, getAgentBaseUrl as ds, getArtifactsBaseUrl as Es, getDotNetBaseUrl as us, getIconByName as vs, iconCategories as Ts, materialIcons as ms, searchIcons as Ls, setEbiContextData as Rs, setEbiContextSessionId as xs } from "./utils.js";
13
- import { P as _s, S as ys, c as fs, a as Ds, e as Us, b as ks, f as Bs, i as Vs, d as bs, p as Fs, s as Hs, h as Ns, j as Os, t as ws, k as Gs } from "./predictionRows-BIWfLLDA.js";
13
+ import { P as _s, S as ys, c as fs, a as Ds, e as Us, b as ks, f as Bs, i as Vs, d as bs, p as Fs, s as Hs, h as Ns, j as Os, t as ws, k as Gs } from "./predictionRows-Damfwthh.js";
14
14
  import { a as zs, b as Js, c as Ks, d as js, f as Xs, p as Zs } from "./promptTriggers-xwMJ5gRj.js";
15
15
  import { u as Ys } from "./useChatSessions-BzgPYfyj.js";
16
16
  import { Score as $s } from "./interfaces.js";
@@ -867,11 +867,11 @@ async function nt(n, { onAtQuery: t, onAtPersonQuery: e }, {
867
867
  const N = /* @__PURE__ */ d((g, w, C, W) => w && h !== void 0 && t && e && !(W && C.length === 0) ? g.slice(0, h) : g, "cap"), L = /* @__PURE__ */ d((g, w) => {
868
868
  const C = N(g, !m, w, b), $ = N(w, m, g, v).map((S) => S.kind ? S : { ...S, kind: "person" });
869
869
  if (t && e) {
870
- const S = $.map((x) => ({ ...x, group: "person" })), O = C.map((x) => ({ ...x, group: x.kind === "hotel" ? "hotel" : "location" }));
870
+ const S = $.map((k) => ({ ...k, group: "person" })), O = C.map((k) => ({ ...k, group: "location" }));
871
871
  return m ? [...S, ...O] : [...O, ...S];
872
872
  }
873
873
  return [...$, ...C];
874
- }, "merge"), k = /* @__PURE__ */ d(() => {
874
+ }, "merge"), x = /* @__PURE__ */ d(() => {
875
875
  if (!u || c != null && c.aborted) return;
876
876
  if (!f) {
877
877
  u(L(p, y));
@@ -891,13 +891,13 @@ async function nt(n, { onAtQuery: t, onAtPersonQuery: e }, {
891
891
  signal: c,
892
892
  byPriority: f,
893
893
  onPartial: /* @__PURE__ */ d((g) => {
894
- p = g, k();
894
+ p = g, x();
895
895
  }, "onPartial")
896
896
  }).catch(() => p).then((g) => {
897
- p = g, v = !0, k();
897
+ p = g, v = !0, x();
898
898
  }) : void 0,
899
899
  e ? e(n, { leading: m, signal: c }).catch(() => []).then((g) => {
900
- y = g, b = !0, k();
900
+ y = g, b = !0, x();
901
901
  }) : void 0
902
902
  ]), L(p, y);
903
903
  }
@@ -940,4 +940,4 @@ export {
940
940
  Z as s,
941
941
  at as t
942
942
  };
943
- //# sourceMappingURL=predictionRows-BIWfLLDA.js.map
943
+ //# sourceMappingURL=predictionRows-Damfwthh.js.map