@freeday-ai/webchat 2025.12.1-6.6.29.4806 → 2025.12.1-7.10.15.1866

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/webchat.mjs CHANGED
@@ -47,7 +47,7 @@ var pE0;
47
47
  function $l1() {
48
48
  if (pE0) return k2;
49
49
  pE0 = 1;
50
- var a = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), E = Symbol.iterator;
50
+ var a = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), A = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), E = Symbol.iterator;
51
51
  function v(P) {
52
52
  return P === null || typeof P != "object" ? null : (P = E && P[E] || P["@@iterator"], typeof P == "function" ? P : null);
53
53
  }
@@ -246,7 +246,7 @@ function kl1() {
246
246
  var n = {};
247
247
  n.NODE_ENV !== "production" && (function() {
248
248
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
249
- var r = "18.3.1", o = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), g = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = Symbol.iterator, _ = "@@iterator";
249
+ var r = "18.3.1", o = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), s = /* @__PURE__ */ Symbol.for("react.fragment"), u = /* @__PURE__ */ Symbol.for("react.strict_mode"), A = /* @__PURE__ */ Symbol.for("react.profiler"), p = /* @__PURE__ */ Symbol.for("react.provider"), g = /* @__PURE__ */ Symbol.for("react.context"), E = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), y = /* @__PURE__ */ Symbol.for("react.suspense_list"), b = /* @__PURE__ */ Symbol.for("react.memo"), S = /* @__PURE__ */ Symbol.for("react.lazy"), N = /* @__PURE__ */ Symbol.for("react.offscreen"), T = Symbol.iterator, _ = "@@iterator";
250
250
  function B(O) {
251
251
  if (O === null || typeof O != "object")
252
252
  return null;
@@ -909,7 +909,7 @@ Your code should look like:
909
909
  return c0;
910
910
  }
911
911
  var s0;
912
- s0 = Symbol.for("react.module.reference");
912
+ s0 = /* @__PURE__ */ Symbol.for("react.module.reference");
913
913
  function X0(O) {
914
914
  return !!(typeof O == "string" || typeof O == "function" || O === s || O === A || V0 || O === u || O === v || O === y || r0 || O === N || A0 || i0 || J || typeof O == "object" && O !== null && (O.$$typeof === S || O.$$typeof === b || O.$$typeof === p || O.$$typeof === g || O.$$typeof === E || // This needs to include all possible module reference object
915
915
  // types supported by any Flight configuration anywhere since
@@ -1511,7 +1511,7 @@ var HE0;
1511
1511
  function Dl1() {
1512
1512
  if (HE0) return As;
1513
1513
  HE0 = 1;
1514
- var a = S3(), t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
1514
+ var a = S3(), t = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
1515
1515
  function s(u, A, p) {
1516
1516
  var g, E = {}, v = null, y = null;
1517
1517
  p !== void 0 && (v = "" + p), A.key !== void 0 && (v = "" + A.key), A.ref !== void 0 && (y = A.ref);
@@ -1527,7 +1527,7 @@ function Pl1() {
1527
1527
  gE0 = 1;
1528
1528
  var a = {};
1529
1529
  return a.NODE_ENV !== "production" && (function() {
1530
- var t = S3(), n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), A = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), S = Symbol.iterator, N = "@@iterator";
1530
+ var t = S3(), n = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), o = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), s = /* @__PURE__ */ Symbol.for("react.profiler"), u = /* @__PURE__ */ Symbol.for("react.provider"), A = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), E = /* @__PURE__ */ Symbol.for("react.suspense_list"), v = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), S = Symbol.iterator, N = "@@iterator";
1531
1531
  function T(s0) {
1532
1532
  if (s0 === null || typeof s0 != "object")
1533
1533
  return null;
@@ -1553,7 +1553,7 @@ function Pl1() {
1553
1553
  }
1554
1554
  }
1555
1555
  var Y = !1, W = !1, Q = !1, e0 = !1, u0 = !1, G;
1556
- G = Symbol.for("react.module.reference");
1556
+ G = /* @__PURE__ */ Symbol.for("react.module.reference");
1557
1557
  function A0(s0) {
1558
1558
  return !!(typeof s0 == "string" || typeof s0 == "function" || s0 === o || s0 === s || u0 || s0 === i || s0 === g || s0 === E || e0 || s0 === b || Y || W || Q || typeof s0 == "object" && s0 !== null && (s0.$$typeof === y || s0.$$typeof === v || s0.$$typeof === u || s0.$$typeof === A || s0.$$typeof === p || // This needs to include all possible module reference object
1559
1559
  // types supported by any Flight configuration anywhere since
@@ -2695,7 +2695,7 @@ function Ul1() {
2695
2695
  var C = N.hasOwnProperty(h) ? N[h] : null;
2696
2696
  (C !== null ? C.type !== 0 : L || !(2 < h.length) || h[0] !== "o" && h[0] !== "O" || h[1] !== "n" && h[1] !== "N") && (b(h, V, C, L) && (V = null), L || C === null ? v(h) && (V === null ? m.removeAttribute(h) : m.setAttribute(h, "" + V)) : C.mustUseProperty ? m[C.propertyName] = V === null ? C.type === 3 ? !1 : "" : V : (h = C.attributeName, L = C.attributeNamespace, V === null ? m.removeAttribute(h) : (C = C.type, V = C === 3 || C === 4 && V === !0 ? "" : "" + V, L ? m.setAttributeNS(L, h, V) : m.setAttribute(h, V))));
2697
2697
  }
2698
- var j = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Y = Symbol.for("react.element"), W = Symbol.for("react.portal"), Q = Symbol.for("react.fragment"), e0 = Symbol.for("react.strict_mode"), u0 = Symbol.for("react.profiler"), G = Symbol.for("react.provider"), A0 = Symbol.for("react.context"), i0 = Symbol.for("react.forward_ref"), J = Symbol.for("react.suspense"), r0 = Symbol.for("react.suspense_list"), V0 = Symbol.for("react.memo"), v0 = Symbol.for("react.lazy"), E0 = Symbol.for("react.offscreen"), l0 = Symbol.iterator;
2698
+ var j = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Y = /* @__PURE__ */ Symbol.for("react.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), Q = /* @__PURE__ */ Symbol.for("react.fragment"), e0 = /* @__PURE__ */ Symbol.for("react.strict_mode"), u0 = /* @__PURE__ */ Symbol.for("react.profiler"), G = /* @__PURE__ */ Symbol.for("react.provider"), A0 = /* @__PURE__ */ Symbol.for("react.context"), i0 = /* @__PURE__ */ Symbol.for("react.forward_ref"), J = /* @__PURE__ */ Symbol.for("react.suspense"), r0 = /* @__PURE__ */ Symbol.for("react.suspense_list"), V0 = /* @__PURE__ */ Symbol.for("react.memo"), v0 = /* @__PURE__ */ Symbol.for("react.lazy"), E0 = /* @__PURE__ */ Symbol.for("react.offscreen"), l0 = Symbol.iterator;
2699
2699
  function I0(m) {
2700
2700
  return m === null || typeof m != "object" ? null : (m = l0 && m[l0] || m["@@iterator"], typeof m == "function" ? m : null);
2701
2701
  }
@@ -5233,7 +5233,6 @@ function Ul1() {
5233
5233
  return;
5234
5234
  }
5235
5235
  } catch {
5236
- } finally {
5237
5236
  }
5238
5237
  V = $u(m, h, C, L), V !== null && (C = g8(), l4(V, m, L, C), _u(V, h, L));
5239
5238
  }
@@ -8335,7 +8334,7 @@ function zl1() {
8335
8334
  }
8336
8335
  }
8337
8336
  }
8338
- var K2 = Symbol.for("react.element"), M8 = Symbol.for("react.portal"), Ne = Symbol.for("react.fragment"), Ee = Symbol.for("react.strict_mode"), W4 = Symbol.for("react.profiler"), za = Symbol.for("react.provider"), s0 = Symbol.for("react.context"), X0 = Symbol.for("react.forward_ref"), f1 = Symbol.for("react.suspense"), g1 = Symbol.for("react.suspense_list"), L2 = Symbol.for("react.memo"), o2 = Symbol.for("react.lazy"), C2 = Symbol.for("react.scope"), g2 = Symbol.for("react.debug_trace_mode"), W8 = Symbol.for("react.offscreen"), V8 = Symbol.for("react.legacy_hidden"), v8 = Symbol.for("react.cache"), Qe = Symbol.for("react.tracing_marker"), G4 = Symbol.iterator, t8 = "@@iterator";
8337
+ var K2 = /* @__PURE__ */ Symbol.for("react.element"), M8 = /* @__PURE__ */ Symbol.for("react.portal"), Ne = /* @__PURE__ */ Symbol.for("react.fragment"), Ee = /* @__PURE__ */ Symbol.for("react.strict_mode"), W4 = /* @__PURE__ */ Symbol.for("react.profiler"), za = /* @__PURE__ */ Symbol.for("react.provider"), s0 = /* @__PURE__ */ Symbol.for("react.context"), X0 = /* @__PURE__ */ Symbol.for("react.forward_ref"), f1 = /* @__PURE__ */ Symbol.for("react.suspense"), g1 = /* @__PURE__ */ Symbol.for("react.suspense_list"), L2 = /* @__PURE__ */ Symbol.for("react.memo"), o2 = /* @__PURE__ */ Symbol.for("react.lazy"), C2 = /* @__PURE__ */ Symbol.for("react.scope"), g2 = /* @__PURE__ */ Symbol.for("react.debug_trace_mode"), W8 = /* @__PURE__ */ Symbol.for("react.offscreen"), V8 = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), v8 = /* @__PURE__ */ Symbol.for("react.cache"), Qe = /* @__PURE__ */ Symbol.for("react.tracing_marker"), G4 = Symbol.iterator, t8 = "@@iterator";
8339
8338
  function b8(l) {
8340
8339
  if (l === null || typeof l != "object")
8341
8340
  return null;
@@ -29401,7 +29400,7 @@ function io1(a) {
29401
29400
  });
29402
29401
  return t.displayName = `${a}.SlotClone`, t;
29403
29402
  }
29404
- var Wy0 = Symbol("radix.slottable");
29403
+ var Wy0 = /* @__PURE__ */ Symbol("radix.slottable");
29405
29404
  // @__NO_SIDE_EFFECTS__
29406
29405
  function so1(a) {
29407
29406
  const t = ({ children: n }) => /* @__PURE__ */ k.jsx(k.Fragment, { children: n });
@@ -29446,7 +29445,7 @@ var do1 = [
29446
29445
  ], j4 = do1.reduce((a, t) => {
29447
29446
  const n = /* @__PURE__ */ qy0(`Primitive.${t}`), r = e.forwardRef((o, i) => {
29448
29447
  const { asChild: s, ...u } = o, A = s ? n : t;
29449
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ k.jsx(A, { ...u, ref: i });
29448
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ k.jsx(A, { ...u, ref: i });
29450
29449
  });
29451
29450
  return r.displayName = `Primitive.${t}`, { ...a, [t]: r };
29452
29451
  }, {});
@@ -31855,7 +31854,7 @@ var CF0 = {
31855
31854
  }), t;
31856
31855
  }
31857
31856
  };
31858
- const IF0 = Symbol("i18next/PATH_KEY");
31857
+ const IF0 = /* @__PURE__ */ Symbol("i18next/PATH_KEY");
31859
31858
  function Ni1() {
31860
31859
  const a = [], t = /* @__PURE__ */ Object.create(null);
31861
31860
  let n;
@@ -91392,7 +91391,7 @@ class Cp0 extends bp0 {
91392
91391
  if (E) {
91393
91392
  const e0 = Math.min(this.currentTime, o) / u;
91394
91393
  let u0 = Math.floor(e0), G = e0 % 1;
91395
- !G && e0 >= 1 && (G = 1), G === 1 && u0--, u0 = Math.min(u0, E + 1), !!(u0 % 2) && (v === "reverse" ? (G = 1 - G, y && (G -= y / u)) : v === "mirror" && (j = s)), B = Pn(0, 1, G) * u;
91394
+ !G && e0 >= 1 && (G = 1), G === 1 && u0--, u0 = Math.min(u0, E + 1), u0 % 2 && (v === "reverse" ? (G = 1 - G, y && (G -= y / u)) : v === "mirror" && (j = s)), B = Pn(0, 1, G) * u;
91396
91395
  }
91397
91396
  const Y = _ ? { done: !1, value: g[0] } : j.next(B);
91398
91397
  i && (Y.value = i(Y.value));
@@ -93058,7 +93057,7 @@ function J21(a, t, n) {
93058
93057
  const M72 = /* @__PURE__ */ Q21({
93059
93058
  scrapeMotionValuesFromProps: J21,
93060
93059
  createRenderState: K21
93061
- }), v72 = Symbol.for("motionComponentSymbol");
93060
+ }), v72 = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
93062
93061
  function Mo(a) {
93063
93062
  return a && typeof a == "object" && Object.prototype.hasOwnProperty.call(a, "current");
93064
93063
  }
@@ -97784,7 +97783,7 @@ const Ee1 = e.createContext(void 0), lc = () => {
97784
97783
  r === "dialog" && /* @__PURE__ */ k.jsx(Kc2, { isOpen: t, onClose: g, children: i })
97785
97784
  ] });
97786
97785
  };
97787
- var bi2 = Symbol.for("react.lazy"), rf = Fv[" use ".trim().toString()];
97786
+ var bi2 = /* @__PURE__ */ Symbol.for("react.lazy"), rf = Fv[" use ".trim().toString()];
97788
97787
  function Ci2(a) {
97789
97788
  return typeof a == "object" && a !== null && "then" in a;
97790
97789
  }
@@ -97818,7 +97817,7 @@ function Ri2(a) {
97818
97817
  });
97819
97818
  return t.displayName = `${a}.SlotClone`, t;
97820
97819
  }
97821
- var xi2 = Symbol("radix.slottable");
97820
+ var xi2 = /* @__PURE__ */ Symbol("radix.slottable");
97822
97821
  function Ti2(a) {
97823
97822
  return e.isValidElement(a) && typeof a.type == "function" && "__radixId" in a.type && a.type.__radixId === xi2;
97824
97823
  }
@@ -100506,11 +100505,9 @@ const Em2 = (a) => {
100506
100505
  K1.current = K1.current - G2;
100507
100506
  }
100508
100507
  W0.current = (/* @__PURE__ */ new Date()).getTime();
100509
- })() : (() => {
100510
- K1.current !== 1 / 0 && (I1.current = (/* @__PURE__ */ new Date()).getTime(), b1 = setTimeout(() => {
100511
- E.onAutoClose == null || E.onAutoClose.call(E, E), h1();
100512
- }, K1.current));
100513
- })(), () => clearTimeout(b1);
100508
+ })() : K1.current !== 1 / 0 && (I1.current = (/* @__PURE__ */ new Date()).getTime(), b1 = setTimeout(() => {
100509
+ E.onAutoClose == null || E.onAutoClose.call(E, E), h1();
100510
+ }, K1.current)), () => clearTimeout(b1);
100514
100511
  }, [
100515
100512
  B,
100516
100513
  y,
@@ -117367,7 +117364,7 @@ const HE2 = ({
117367
117364
  }, IE2 = ({ messages: a }) => {
117368
117365
  const { state: t } = re(), { userId: n, isTyping: r, hasSentMessageThisSession: o } = t, { hasUploadState: i } = Dm(), s = e.useMemo(() => {
117369
117366
  const A = [...SE2(a)], p = a.at(-1);
117370
- return (p ? t7(p, n) : !1) && r && A.push({ id: "typing-indicator", type: "typing-indicator" }), i && A.push({
117367
+ return p && t7(p, n) && r && A.push({ id: "typing-indicator", type: "typing-indicator" }), i && A.push({
117371
117368
  id: "upload-bubble",
117372
117369
  type: "upload-bubble"
117373
117370
  }), xE2(A, n, o || i);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freeday-ai/webchat",
3
- "version": "2025.12.16.06.29.4806",
3
+ "version": "2025.12.17.10.15.1866",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"
@@ -48,7 +48,7 @@
48
48
  "@vitest/coverage-v8": "^4.0.0",
49
49
  "autoprefixer": "^10.4.20",
50
50
  "eslint": "^9.0.0",
51
- "eslint-config-next": "14.2.33",
51
+ "eslint-config-next": "14.2.35",
52
52
  "eslint-config-prettier": "^10.0.0",
53
53
  "jsdom": "^27.0.0",
54
54
  "postcss": "^8.4.45",