holostaff-widget 3.0.0-alpha.48 → 3.0.0-alpha.49

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.
Files changed (24) hide show
  1. package/dist/{BufferResource-Bzq0maj8.js → BufferResource-CSHcqRHG.js} +4 -4
  2. package/dist/{BufferResource-Bzq0maj8.js.map → BufferResource-CSHcqRHG.js.map} +1 -1
  3. package/dist/{CanvasRenderer-B557-qpv.js → CanvasRenderer-DRNliOkd.js} +5 -5
  4. package/dist/{CanvasRenderer-B557-qpv.js.map → CanvasRenderer-DRNliOkd.js.map} +1 -1
  5. package/dist/{Geometry-C4VspV9P.js → Geometry-D3fXUqDN.js} +2 -2
  6. package/dist/{Geometry-C4VspV9P.js.map → Geometry-D3fXUqDN.js.map} +1 -1
  7. package/dist/{RenderTargetSystem-WLCtE6RN.js → RenderTargetSystem-BBY3TnzM.js} +3 -3
  8. package/dist/{RenderTargetSystem-WLCtE6RN.js.map → RenderTargetSystem-BBY3TnzM.js.map} +1 -1
  9. package/dist/{WebGLRenderer-BR-qXF38.js → WebGLRenderer-DlJIjmEb.js} +5 -5
  10. package/dist/{WebGLRenderer-BR-qXF38.js.map → WebGLRenderer-DlJIjmEb.js.map} +1 -1
  11. package/dist/{WebGPURenderer-DO0lYDZJ.js → WebGPURenderer-DXCtZJs3.js} +6 -6
  12. package/dist/{WebGPURenderer-DO0lYDZJ.js.map → WebGPURenderer-DXCtZJs3.js.map} +1 -1
  13. package/dist/{browserAll-B-1d46RR.js → browserAll-D9_oTQ1X.js} +3 -3
  14. package/dist/{browserAll-B-1d46RR.js.map → browserAll-D9_oTQ1X.js.map} +1 -1
  15. package/dist/{getTextureBatchBindGroup-B917nzFc.js → getTextureBatchBindGroup-C9-Q_N0K.js} +3 -3
  16. package/dist/{getTextureBatchBindGroup-B917nzFc.js.map → getTextureBatchBindGroup-C9-Q_N0K.js.map} +1 -1
  17. package/dist/hs-widget.es.js +1 -1
  18. package/dist/hs-widget.umd.js +2 -2
  19. package/dist/hs-widget.umd.js.map +1 -1
  20. package/dist/{index-myoP5x2i.js → index-BWeKbYTR.js} +177 -183
  21. package/dist/{index-myoP5x2i.js.map → index-BWeKbYTR.js.map} +1 -1
  22. package/dist/{webworkerAll-RiRXzL4Z.js → webworkerAll-upPrpL2X.js} +3 -3
  23. package/dist/{webworkerAll-RiRXzL4Z.js.map → webworkerAll-upPrpL2X.js.map} +1 -1
  24. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- const Me = {
1
+ const ke = {
2
2
  mode: "floating",
3
3
  container: null,
4
4
  position: "bottom-center",
@@ -18,18 +18,18 @@ function Bo(i) {
18
18
  throw new Error("[HolostaffWidget] data-staff-id attribute is required");
19
19
  return {
20
20
  staffId: e,
21
- mode: i.dataset.mode ?? Me.mode,
22
- container: i.dataset.container ?? Me.container,
23
- position: i.dataset.position ?? Me.position,
24
- trigger: i.dataset.trigger ?? Me.trigger,
25
- scrollThreshold: parseFloat(i.dataset.scrollThreshold ?? "") || Me.scrollThreshold,
26
- delayMs: parseInt(i.dataset.delayMs ?? "", 10) || Me.delayMs,
27
- theme: i.dataset.theme ?? Me.theme,
28
- accentColor: i.dataset.accentColor ?? Me.accentColor,
29
- language: i.dataset.language ?? Me.language,
30
- backendUrl: i.dataset.backendUrl ?? Me.backendUrl,
31
- visionWsUrl: i.dataset.visionWsUrl ?? Me.visionWsUrl,
32
- visionConsent: i.dataset.hsConsent ?? Me.visionConsent
21
+ mode: i.dataset.mode ?? ke.mode,
22
+ container: i.dataset.container ?? ke.container,
23
+ position: i.dataset.position ?? ke.position,
24
+ trigger: i.dataset.trigger ?? ke.trigger,
25
+ scrollThreshold: parseFloat(i.dataset.scrollThreshold ?? "") || ke.scrollThreshold,
26
+ delayMs: parseInt(i.dataset.delayMs ?? "", 10) || ke.delayMs,
27
+ theme: i.dataset.theme ?? ke.theme,
28
+ accentColor: i.dataset.accentColor ?? ke.accentColor,
29
+ language: i.dataset.language ?? ke.language,
30
+ backendUrl: i.dataset.backendUrl ?? ke.backendUrl,
31
+ visionWsUrl: i.dataset.visionWsUrl ?? ke.visionWsUrl,
32
+ visionConsent: i.dataset.hsConsent ?? ke.visionConsent
33
33
  };
34
34
  }
35
35
  const Fo = ["bottom-center", "bottom-left", "bottom-right"], Po = ["scroll", "delay", "immediate"], Uo = ["light", "dark", "auto"];
@@ -282,7 +282,7 @@ const cs = (i) => {
282
282
  },
283
283
  test: () => !0,
284
284
  load: async () => {
285
- await import("./browserAll-B-1d46RR.js");
285
+ await import("./browserAll-D9_oTQ1X.js");
286
286
  }
287
287
  }, zo = {
288
288
  extension: {
@@ -292,7 +292,7 @@ const cs = (i) => {
292
292
  },
293
293
  test: () => typeof self < "u" && self.WorkerGlobalScope !== void 0,
294
294
  load: async () => {
295
- await import("./webworkerAll-RiRXzL4Z.js");
295
+ await import("./webworkerAll-upPrpL2X.js");
296
296
  }
297
297
  };
298
298
  class ye {
@@ -1948,8 +1948,8 @@ class Pe {
1948
1948
  const y = u * (c.y - o.y), g = u * (o.x - c.x), C = y * s + g * r, b = y * n + g * r, E = y * s + g * a, A = y * n + g * a;
1949
1949
  if (Math.max(C, b, E, A) <= y * o.x + g * o.y || Math.min(C, b, E, A) >= y * f.x + g * f.y)
1950
1950
  return !1;
1951
- const v = u * (o.y - d.y), I = u * (d.x - o.x), x = v * s + I * r, T = v * n + I * r, M = v * s + I * a, F = v * n + I * a;
1952
- return !(Math.max(x, T, M, F) <= v * o.x + I * o.y || Math.min(x, T, M, F) >= v * f.x + I * f.y);
1951
+ const v = u * (o.y - d.y), I = u * (d.x - o.x), x = v * s + I * r, T = v * n + I * r, k = v * s + I * a, F = v * n + I * a;
1952
+ return !(Math.max(x, T, k, F) <= v * o.x + I * o.y || Math.min(x, T, k, F) >= v * f.x + I * f.y);
1953
1953
  }
1954
1954
  /**
1955
1955
  * Pads the rectangle making it grow in all directions.
@@ -2156,14 +2156,14 @@ const zi = {
2156
2156
  function Ye(i = "default") {
2157
2157
  return zi[i] === void 0 && (zi[i] = -1), ++zi[i];
2158
2158
  }
2159
- const Ws = /* @__PURE__ */ new Set(), Ke = "8.0.0", su = "8.3.4", kt = {
2159
+ const Ws = /* @__PURE__ */ new Set(), Ke = "8.0.0", su = "8.3.4", Mt = {
2160
2160
  quiet: !1,
2161
2161
  noColor: !1
2162
2162
  }, Re = ((i, e, t = 3) => {
2163
- if (kt.quiet || Ws.has(e)) return;
2163
+ if (Mt.quiet || Ws.has(e)) return;
2164
2164
  let s = new Error().stack;
2165
2165
  const n = `${e}
2166
- Deprecated since v${i}`, r = typeof console.groupCollapsed == "function" && !kt.noColor;
2166
+ Deprecated since v${i}`, r = typeof console.groupCollapsed == "function" && !Mt.noColor;
2167
2167
  typeof s > "u" ? console.warn("PixiJS Deprecation Warning: ", n) : (s = s.split(`
2168
2168
  `).splice(t).join(`
2169
2169
  `), r ? (console.groupCollapsed(
@@ -2175,17 +2175,17 @@ Deprecated since v${i}`, r = typeof console.groupCollapsed == "function" && !kt.
2175
2175
  });
2176
2176
  Object.defineProperties(Re, {
2177
2177
  quiet: {
2178
- get: () => kt.quiet,
2178
+ get: () => Mt.quiet,
2179
2179
  set: (i) => {
2180
- kt.quiet = i;
2180
+ Mt.quiet = i;
2181
2181
  },
2182
2182
  enumerable: !0,
2183
2183
  configurable: !1
2184
2184
  },
2185
2185
  noColor: {
2186
- get: () => kt.noColor,
2186
+ get: () => Mt.noColor,
2187
2187
  set: (i) => {
2188
- kt.noColor = i;
2188
+ Mt.noColor = i;
2189
2189
  },
2190
2190
  enumerable: !0,
2191
2191
  configurable: !1
@@ -4551,7 +4551,7 @@ const Sa = {
4551
4551
  function Qn(i, e, t) {
4552
4552
  t.clear();
4553
4553
  let s, n;
4554
- return i.parent ? e ? s = i.parent.worldTransform : (n = Ie.get().identity(), s = ks(i, n)) : s = Y.IDENTITY, er(i, t, s, e), n && Ie.return(n), t.isValid || t.set(0, 0, 0, 0), t;
4554
+ return i.parent ? e ? s = i.parent.worldTransform : (n = Ie.get().identity(), s = Ms(i, n)) : s = Y.IDENTITY, er(i, t, s, e), n && Ie.return(n), t.isValid || t.set(0, 0, 0, 0), t;
4555
4555
  }
4556
4556
  function er(i, e, t, s) {
4557
4557
  var o, c;
@@ -4574,9 +4574,9 @@ function er(i, e, t, s) {
4574
4574
  }
4575
4575
  s || Ie.return(n);
4576
4576
  }
4577
- function ks(i, e) {
4577
+ function Ms(i, e) {
4578
4578
  const t = i.parent;
4579
- return t && (ks(t, e), t.updateLocalTransform(), e.append(t.localTransform)), e;
4579
+ return t && (Ms(t, e), t.updateLocalTransform(), e.append(t.localTransform)), e;
4580
4580
  }
4581
4581
  function wa(i, e) {
4582
4582
  if (i === 16777215 || !e) return e;
@@ -4604,7 +4604,7 @@ const xa = {
4604
4604
  if (e)
4605
4605
  return i.copyFrom(this.worldTransform);
4606
4606
  this.updateLocalTransform();
4607
- const t = ks(this, Ie.get().identity());
4607
+ const t = Ms(this, Ie.get().identity());
4608
4608
  return i.appendFrom(this.localTransform, t), Ie.return(t), i;
4609
4609
  },
4610
4610
  getGlobalTint(i) {
@@ -4693,7 +4693,7 @@ const Ta = new Y(), Ra = {
4693
4693
  get onRender() {
4694
4694
  return this._onRender;
4695
4695
  }
4696
- }, ka = {
4696
+ }, Ma = {
4697
4697
  _zIndex: 0,
4698
4698
  sortDirty: !1,
4699
4699
  sortableChildren: !1,
@@ -4707,10 +4707,10 @@ const Ta = new Y(), Ra = {
4707
4707
  this.parent && (this.parent.sortableChildren = !0, this.parent.sortDirty = !0), this.parentRenderGroup && (this.parentRenderGroup.structureDidChange = !0);
4708
4708
  },
4709
4709
  sortChildren() {
4710
- this.sortDirty && (this.sortDirty = !1, this.children.sort(Ma));
4710
+ this.sortDirty && (this.sortDirty = !1, this.children.sort(ka));
4711
4711
  }
4712
4712
  };
4713
- function Ma(i, e) {
4713
+ function ka(i, e) {
4714
4714
  return i._zIndex - e._zIndex;
4715
4715
  }
4716
4716
  const Na = {
@@ -5708,7 +5708,7 @@ Le.mixin(
5708
5708
  Ra,
5709
5709
  Sa,
5710
5710
  Ia,
5711
- ka,
5711
+ Ma,
5712
5712
  pa,
5713
5713
  ya,
5714
5714
  xa,
@@ -6702,7 +6702,7 @@ const fr = class Te {
6702
6702
  }
6703
6703
  };
6704
6704
  fr.targetFPMS = 0.06;
6705
- let Mt = fr, es;
6705
+ let kt = fr, es;
6706
6706
  async function Ha() {
6707
6707
  return es ?? (es = (async () => {
6708
6708
  var a;
@@ -6740,7 +6740,7 @@ const Bi = class pr extends We {
6740
6740
  updateFrame() {
6741
6741
  if (!this.destroyed) {
6742
6742
  if (this._updateFPS) {
6743
- const e = Mt.shared.elapsedMS * this.resource.playbackRate;
6743
+ const e = kt.shared.elapsedMS * this.resource.playbackRate;
6744
6744
  this._msToNextUpdate = Math.floor(this._msToNextUpdate - e);
6745
6745
  }
6746
6746
  (!this._updateFPS || this._msToNextUpdate <= 0) && (this._msToNextUpdate = this._updateFPS ? Math.floor(1e3 / this._updateFPS) : 0), this.isValid && this.update();
@@ -6855,9 +6855,9 @@ const Bi = class pr extends We {
6855
6855
  * - If `_autoUpdate` is disabled or the video isn't playing, any active update mechanisms are halted.
6856
6856
  */
6857
6857
  _configureAutoUpdate() {
6858
- this._autoUpdate && this._isSourcePlaying() ? !this._updateFPS && this.resource.requestVideoFrameCallback ? (this._isConnectedToTicker && (Mt.shared.remove(this.updateFrame, this), this._isConnectedToTicker = !1, this._msToNextUpdate = 0), this._videoFrameRequestCallbackHandle === null && (this._videoFrameRequestCallbackHandle = this.resource.requestVideoFrameCallback(
6858
+ this._autoUpdate && this._isSourcePlaying() ? !this._updateFPS && this.resource.requestVideoFrameCallback ? (this._isConnectedToTicker && (kt.shared.remove(this.updateFrame, this), this._isConnectedToTicker = !1, this._msToNextUpdate = 0), this._videoFrameRequestCallbackHandle === null && (this._videoFrameRequestCallbackHandle = this.resource.requestVideoFrameCallback(
6859
6859
  this._videoFrameRequestCallback
6860
- ))) : (this._videoFrameRequestCallbackHandle !== null && (this.resource.cancelVideoFrameCallback(this._videoFrameRequestCallbackHandle), this._videoFrameRequestCallbackHandle = null), this._isConnectedToTicker || (Mt.shared.add(this.updateFrame, this), this._isConnectedToTicker = !0, this._msToNextUpdate = 0)) : (this._videoFrameRequestCallbackHandle !== null && (this.resource.cancelVideoFrameCallback(this._videoFrameRequestCallbackHandle), this._videoFrameRequestCallbackHandle = null), this._isConnectedToTicker && (Mt.shared.remove(this.updateFrame, this), this._isConnectedToTicker = !1, this._msToNextUpdate = 0));
6860
+ ))) : (this._videoFrameRequestCallbackHandle !== null && (this.resource.cancelVideoFrameCallback(this._videoFrameRequestCallbackHandle), this._videoFrameRequestCallbackHandle = null), this._isConnectedToTicker || (kt.shared.add(this.updateFrame, this), this._isConnectedToTicker = !0, this._msToNextUpdate = 0)) : (this._videoFrameRequestCallbackHandle !== null && (this.resource.cancelVideoFrameCallback(this._videoFrameRequestCallbackHandle), this._videoFrameRequestCallbackHandle = null), this._isConnectedToTicker && (kt.shared.remove(this.updateFrame, this), this._isConnectedToTicker = !1, this._msToNextUpdate = 0));
6861
6861
  }
6862
6862
  static test(e) {
6863
6863
  return globalThis.HTMLVideoElement && e instanceof HTMLVideoElement;
@@ -8505,17 +8505,17 @@ async function al(i) {
8505
8505
  for (let r = 0; r < e.length; r++) {
8506
8506
  const a = e[r];
8507
8507
  if (a === "webgpu" && await ol()) {
8508
- const { WebGPURenderer: o } = await import("./WebGPURenderer-DO0lYDZJ.js");
8508
+ const { WebGPURenderer: o } = await import("./WebGPURenderer-DXCtZJs3.js");
8509
8509
  t = o, s = { ...i, ...i.webgpu };
8510
8510
  break;
8511
8511
  } else if (a === "webgl" && rl(
8512
8512
  i.failIfMajorPerformanceCaveat ?? vr.defaultOptions.failIfMajorPerformanceCaveat
8513
8513
  )) {
8514
- const { WebGLRenderer: o } = await import("./WebGLRenderer-BR-qXF38.js");
8514
+ const { WebGLRenderer: o } = await import("./WebGLRenderer-DlJIjmEb.js");
8515
8515
  t = o, s = { ...i, ...i.webgl };
8516
8516
  break;
8517
8517
  } else if (a === "canvas") {
8518
- const { CanvasRenderer: o } = await import("./CanvasRenderer-B557-qpv.js");
8518
+ const { CanvasRenderer: o } = await import("./CanvasRenderer-DRNliOkd.js");
8519
8519
  t = o, s = { ...i, ...i.canvasOptions };
8520
8520
  break;
8521
8521
  }
@@ -8627,7 +8627,7 @@ class Tr {
8627
8627
  this._ticker.stop();
8628
8628
  }, this.start = () => {
8629
8629
  this._ticker.start();
8630
- }, this._ticker = null, this.ticker = e.sharedTicker ? Mt.shared : new Mt(), e.autoStart && this.start();
8630
+ }, this._ticker = null, this.ticker = e.sharedTicker ? kt.shared : new kt(), e.autoStart && this.start();
8631
8631
  }
8632
8632
  /**
8633
8633
  * Clean up the ticker, scoped to application.
@@ -9722,7 +9722,7 @@ function Il() {
9722
9722
  }
9723
9723
  return w < N ? -1 : N < w ? 1 : 0;
9724
9724
  };
9725
- function M(p, l, h, m, _) {
9725
+ function k(p, l, h, m, _) {
9726
9726
  if (p.length === 0) return -1;
9727
9727
  if (typeof h == "string" ? (m = h, h = 0) : h > 2147483647 ? h = 2147483647 : h < -2147483648 && (h = -2147483648), h = +h, Vi(h) && (h = _ ? 0 : p.length - 1), h < 0 && (h = p.length + h), h >= p.length) {
9728
9728
  if (_) return -1;
@@ -9769,9 +9769,9 @@ function Il() {
9769
9769
  o.prototype.includes = function(l, h, m) {
9770
9770
  return this.indexOf(l, h, m) !== -1;
9771
9771
  }, o.prototype.indexOf = function(l, h, m) {
9772
- return M(this, l, h, m, !0);
9772
+ return k(this, l, h, m, !0);
9773
9773
  }, o.prototype.lastIndexOf = function(l, h, m) {
9774
- return M(this, l, h, m, !1);
9774
+ return k(this, l, h, m, !1);
9775
9775
  };
9776
9776
  function L(p, l, h, m) {
9777
9777
  h = Number(h) || 0;
@@ -9791,7 +9791,7 @@ function Il() {
9791
9791
  return di(Gi(l, p.length - h), p, h, m);
9792
9792
  }
9793
9793
  function X(p, l, h, m) {
9794
- return di(Mo(l), p, h, m);
9794
+ return di(ko(l), p, h, m);
9795
9795
  }
9796
9796
  function ce(p, l, h, m) {
9797
9797
  return di(Ps(l), p, h, m);
@@ -9948,13 +9948,13 @@ function Il() {
9948
9948
  }, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(l, h) {
9949
9949
  return l = l >>> 0, h || W(l, 4, this.length), this[l] * 16777216 + (this[l + 1] << 16 | this[l + 2] << 8 | this[l + 3]);
9950
9950
  }, o.prototype.readBigUInt64LE = Qe(function(l) {
9951
- l = l >>> 0, ke(l, "offset");
9951
+ l = l >>> 0, Me(l, "offset");
9952
9952
  const h = this[l], m = this[l + 7];
9953
9953
  (h === void 0 || m === void 0) && ee(l, this.length - 8);
9954
9954
  const _ = h + this[++l] * 2 ** 8 + this[++l] * 2 ** 16 + this[++l] * 2 ** 24, S = this[++l] + this[++l] * 2 ** 8 + this[++l] * 2 ** 16 + m * 2 ** 24;
9955
9955
  return BigInt(_) + (BigInt(S) << BigInt(32));
9956
9956
  }), o.prototype.readBigUInt64BE = Qe(function(l) {
9957
- l = l >>> 0, ke(l, "offset");
9957
+ l = l >>> 0, Me(l, "offset");
9958
9958
  const h = this[l], m = this[l + 7];
9959
9959
  (h === void 0 || m === void 0) && ee(l, this.length - 8);
9960
9960
  const _ = h * 2 ** 24 + this[++l] * 2 ** 16 + this[++l] * 2 ** 8 + this[++l], S = this[++l] * 2 ** 24 + this[++l] * 2 ** 16 + this[++l] * 2 ** 8 + m;
@@ -9986,13 +9986,13 @@ function Il() {
9986
9986
  }, o.prototype.readInt32BE = function(l, h) {
9987
9987
  return l = l >>> 0, h || W(l, 4, this.length), this[l] << 24 | this[l + 1] << 16 | this[l + 2] << 8 | this[l + 3];
9988
9988
  }, o.prototype.readBigInt64LE = Qe(function(l) {
9989
- l = l >>> 0, ke(l, "offset");
9989
+ l = l >>> 0, Me(l, "offset");
9990
9990
  const h = this[l], m = this[l + 7];
9991
9991
  (h === void 0 || m === void 0) && ee(l, this.length - 8);
9992
9992
  const _ = this[l + 4] + this[l + 5] * 2 ** 8 + this[l + 6] * 2 ** 16 + (m << 24);
9993
9993
  return (BigInt(_) << BigInt(32)) + BigInt(h + this[++l] * 2 ** 8 + this[++l] * 2 ** 16 + this[++l] * 2 ** 24);
9994
9994
  }), o.prototype.readBigInt64BE = Qe(function(l) {
9995
- l = l >>> 0, ke(l, "offset");
9995
+ l = l >>> 0, Me(l, "offset");
9996
9996
  const h = this[l], m = this[l + 7];
9997
9997
  (h === void 0 || m === void 0) && ee(l, this.length - 8);
9998
9998
  const _ = (h << 24) + // Overflow
@@ -10208,7 +10208,7 @@ function Il() {
10208
10208
  return `${p.slice(0, h)}${l}`;
10209
10209
  }
10210
10210
  function P(p, l, h) {
10211
- ke(l, "offset"), (p[l] === void 0 || p[l + h] === void 0) && ee(l, p.length - (h + 1));
10211
+ Me(l, "offset"), (p[l] === void 0 || p[l + h] === void 0) && ee(l, p.length - (h + 1));
10212
10212
  }
10213
10213
  function de(p, l, h, m, _, S) {
10214
10214
  if (p > h || p < l) {
@@ -10218,19 +10218,19 @@ function Il() {
10218
10218
  }
10219
10219
  P(m, _, S);
10220
10220
  }
10221
- function ke(p, l) {
10221
+ function Me(p, l) {
10222
10222
  if (typeof p != "number")
10223
10223
  throw new Q.ERR_INVALID_ARG_TYPE(l, "number", p);
10224
10224
  }
10225
10225
  function ee(p, l, h) {
10226
- throw Math.floor(p) !== p ? (ke(p, h), new Q.ERR_OUT_OF_RANGE("offset", "an integer", p)) : l < 0 ? new Q.ERR_BUFFER_OUT_OF_BOUNDS() : new Q.ERR_OUT_OF_RANGE(
10226
+ throw Math.floor(p) !== p ? (Me(p, h), new Q.ERR_OUT_OF_RANGE("offset", "an integer", p)) : l < 0 ? new Q.ERR_BUFFER_OUT_OF_BOUNDS() : new Q.ERR_OUT_OF_RANGE(
10227
10227
  "offset",
10228
10228
  `>= 0 and <= ${l}`,
10229
10229
  p
10230
10230
  );
10231
10231
  }
10232
10232
  const Vt = /[^+/0-9A-Za-z-_]/g;
10233
- function ko(p) {
10233
+ function Mo(p) {
10234
10234
  if (p = p.split("=")[0], p = p.trim().replace(Vt, ""), p.length < 2) return "";
10235
10235
  for (; p.length % 4 !== 0; )
10236
10236
  p = p + "=";
@@ -10290,7 +10290,7 @@ function Il() {
10290
10290
  }
10291
10291
  return S;
10292
10292
  }
10293
- function Mo(p) {
10293
+ function ko(p) {
10294
10294
  const l = [];
10295
10295
  for (let h = 0; h < p.length; ++h)
10296
10296
  l.push(p.charCodeAt(h) & 255);
@@ -10304,7 +10304,7 @@ function Il() {
10304
10304
  return S;
10305
10305
  }
10306
10306
  function Ps(p) {
10307
- return e.toByteArray(ko(p));
10307
+ return e.toByteArray(Mo(p));
10308
10308
  }
10309
10309
  function di(p, l, h, m) {
10310
10310
  let _;
@@ -10336,7 +10336,7 @@ function Il() {
10336
10336
  })(ts)), ts;
10337
10337
  }
10338
10338
  var vl = Il();
10339
- const Al = "https://api.anam.ai", wl = "/v1", kr = {
10339
+ const Al = "https://api.anam.ai", wl = "/v1", Mr = {
10340
10340
  client: "js-sdk",
10341
10341
  version: "4.12.0"
10342
10342
  };
@@ -10367,13 +10367,13 @@ var xl = function(i, e, t, s) {
10367
10367
  d((s = s.apply(i, e || [])).next());
10368
10368
  });
10369
10369
  };
10370
- const Mr = "https://api.anam.ai", Ms = "/v1";
10370
+ const kr = "https://api.anam.ai", ks = "/v1";
10371
10371
  var Ze;
10372
10372
  (function(i) {
10373
10373
  i.CLIENT_METRIC_MEASUREMENT_ERROR = "client_error", i.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED = "client_connection_closed", i.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED = "client_connection_established", i.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT = "client_session_attempt", i.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS = "client_session_success";
10374
10374
  })(Ze || (Ze = {}));
10375
- let Cs = Mr, Nr = Ms, it, Lr = !1;
10376
- const Tl = (i, e = Ms) => {
10375
+ let Cs = kr, Nr = ks, it, Lr = !1;
10376
+ const Tl = (i, e = ks) => {
10377
10377
  Cs = i, Nr = e;
10378
10378
  }, Rl = (i) => {
10379
10379
  it = i;
@@ -10390,7 +10390,7 @@ const At = (i) => {
10390
10390
  }, Et = (i, e, t) => xl(void 0, void 0, void 0, function* () {
10391
10391
  if (!Lr)
10392
10392
  try {
10393
- const s = Object.assign(Object.assign({}, kr), t);
10393
+ const s = Object.assign(Object.assign({}, Mr), t);
10394
10394
  st.sessionId && (s.sessionId = st.sessionId), st.organizationId && (s.organizationId = st.organizationId), st.attemptCorrelationId && (s.attemptCorrelationId = st.attemptCorrelationId);
10395
10395
  const n = `${Nr}/metrics/client`;
10396
10396
  let r, a = {
@@ -10408,7 +10408,7 @@ const At = (i) => {
10408
10408
  } catch (s) {
10409
10409
  console.error("Failed to send error metric:", s);
10410
10410
  }
10411
- }), kl = (i, e = "console") => {
10411
+ }), Ml = (i, e = "console") => {
10412
10412
  var t, s, n;
10413
10413
  const r = {};
10414
10414
  i.forEach((u) => {
@@ -10503,7 +10503,7 @@ class re extends Error {
10503
10503
  function pn() {
10504
10504
  return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : Date.now().toString(36) + Math.random().toString(36).substr(2, 9);
10505
10505
  }
10506
- function Ml(i) {
10506
+ function kl(i) {
10507
10507
  if (!(!i || !i.enabled)) {
10508
10508
  if (!i.baseUrl)
10509
10509
  return "API Gateway baseUrl is required when enabled";
@@ -10534,10 +10534,10 @@ var Oi;
10534
10534
  (function(i) {
10535
10535
  i.USER = "user", i.PERSONA = "persona";
10536
10536
  })(Oi || (Oi = {}));
10537
- var k;
10537
+ var M;
10538
10538
  (function(i) {
10539
10539
  i.MESSAGE_HISTORY_UPDATED = "MESSAGE_HISTORY_UPDATED", i.MESSAGE_STREAM_EVENT_RECEIVED = "MESSAGE_STREAM_EVENT_RECEIVED", i.CONNECTION_ESTABLISHED = "CONNECTION_ESTABLISHED", i.CONNECTION_CLOSED = "CONNECTION_CLOSED", i.INPUT_AUDIO_STREAM_STARTED = "INPUT_AUDIO_STREAM_STARTED", i.VIDEO_STREAM_STARTED = "VIDEO_STREAM_STARTED", i.VIDEO_PLAY_STARTED = "VIDEO_PLAY_STARTED", i.AUDIO_STREAM_STARTED = "AUDIO_STREAM_STARTED", i.TALK_STREAM_INTERRUPTED = "TALK_STREAM_INTERRUPTED", i.SESSION_READY = "SESSION_READY", i.SERVER_WARNING = "SERVER_WARNING", i.MIC_PERMISSION_PENDING = "MIC_PERMISSION_PENDING", i.MIC_PERMISSION_GRANTED = "MIC_PERMISSION_GRANTED", i.MIC_PERMISSION_DENIED = "MIC_PERMISSION_DENIED", i.INPUT_AUDIO_DEVICE_CHANGED = "INPUT_AUDIO_DEVICE_CHANGED", i.CLIENT_TOOL_EVENT_RECEIVED = "CLIENT_TOOL_EVENT_RECEIVED", i.TOOL_CALL_STARTED = "TOOL_CALL_STARTED", i.TOOL_CALL_COMPLETED = "TOOL_CALL_COMPLETED", i.TOOL_CALL_FAILED = "TOOL_CALL_FAILED", i.REASONING_HISTORY_UPDATED = "REASONING_HISTORY_UPDATED", i.REASONING_STREAM_EVENT_RECEIVED = "REASONING_STREAM_EVENT_RECEIVED", i.USER_SPEECH_STARTED = "USER_SPEECH_STARTED", i.USER_SPEECH_ENDED = "USER_SPEECH_ENDED";
10540
- })(k || (k = {}));
10540
+ })(M || (M = {}));
10541
10541
  var oe;
10542
10542
  (function(i) {
10543
10543
  i.WEB_SOCKET_OPEN = "WEB_SOCKET_OPEN", i.SIGNAL_MESSAGE_RECEIVED = "SIGNAL_MESSAGE_RECEIVED", i.WEBRTC_CHAT_MESSAGE_RECEIVED = "WEBRTC_CHAT_MESSAGE_RECEIVED", i.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED = "WEBRTC_CLIENT_TOOL_EVENT_RECEIVED", i.WEBRTC_TOOL_CALL_STARTED_EVENT_RECEIVED = "WEBRTC_TOOL_CALL_STARTED_EVENT_RECEIVED", i.WEBRTC_TOOL_CALL_COMPLETED_EVENT_RECEIVED = "WEBRTC_TOOL_CALL_COMPLETED_EVENT_RECEIVED", i.WEBRTC_TOOL_CALL_FAILED_EVENT_RECEIVED = "WEBRTC_TOOL_CALL_FAILED_EVENT_RECEIVED", i.WEBRTC_REASONING_TEXT_MESSAGE_RECEIVED = "WEBRTC_REASONING_TEXT_MESSAGE_RECEIVED";
@@ -10712,7 +10712,7 @@ class Bl {
10712
10712
  try {
10713
10713
  this.wsConnectionAttempts = 0, this.flushSendingBuffer(), this.socket.onmessage = this.onMessage.bind(this), this.startSendingHeartBeats(), this.internalEventEmitter.emit(oe.WEB_SOCKET_OPEN);
10714
10714
  } catch (e) {
10715
- console.error("SignallingClient - onOpen: error in onOpen", e), this.publicEventEmitter.emit(k.CONNECTION_CLOSED, ht.SIGNALLING_CLIENT_CONNECTION_FAILURE);
10715
+ console.error("SignallingClient - onOpen: error in onOpen", e), this.publicEventEmitter.emit(M.CONNECTION_CLOSED, ht.SIGNALLING_CLIENT_CONNECTION_FAILURE);
10716
10716
  }
10717
10717
  });
10718
10718
  }
@@ -10720,7 +10720,7 @@ class Bl {
10720
10720
  return wt(this, void 0, void 0, function* () {
10721
10721
  this.wsConnectionAttempts += 1, !this.stopSignal && (this.wsConnectionAttempts <= this.maxWsReconnectionAttempts ? (this.socket = null, setTimeout(() => {
10722
10722
  this.connect();
10723
- }, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(k.CONNECTION_CLOSED, ht.SIGNALLING_CLIENT_CONNECTION_FAILURE)));
10723
+ }, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(M.CONNECTION_CLOSED, ht.SIGNALLING_CLIENT_CONNECTION_FAILURE)));
10724
10724
  });
10725
10725
  }
10726
10726
  onError(e) {
@@ -10822,7 +10822,7 @@ class Pl {
10822
10822
  body: JSON.stringify({
10823
10823
  personaConfig: e,
10824
10824
  sessionOptions: t,
10825
- clientMetadata: kr
10825
+ clientMetadata: Mr
10826
10826
  })
10827
10827
  }), o = yield a.json(), c = o.error;
10828
10828
  switch (a.status) {
@@ -10990,7 +10990,7 @@ class Vl {
10990
10990
  }
10991
10991
  processWebRtcTextMessageEvent(e) {
10992
10992
  const t = this.webRtcTextMessageEventToMessageStreamEvent(e);
10993
- switch (this.publicEventEmitter.emit(k.MESSAGE_STREAM_EVENT_RECEIVED, t), t.role) {
10993
+ switch (this.publicEventEmitter.emit(M.MESSAGE_STREAM_EVENT_RECEIVED, t), t.role) {
10994
10994
  case Oi.USER:
10995
10995
  this.processUserMessage(t);
10996
10996
  break;
@@ -10998,7 +10998,7 @@ class Vl {
10998
10998
  this.processPersonaMessage(t);
10999
10999
  break;
11000
11000
  }
11001
- t.endOfSpeech && this.publicEventEmitter.emit(k.MESSAGE_HISTORY_UPDATED, this.messages);
11001
+ t.endOfSpeech && this.publicEventEmitter.emit(M.MESSAGE_HISTORY_UPDATED, this.messages);
11002
11002
  }
11003
11003
  }
11004
11004
  class Hl {
@@ -11012,7 +11012,7 @@ class Hl {
11012
11012
  this.listeners[e] && this.listeners[e].delete(t);
11013
11013
  }
11014
11014
  emit(e, ...t) {
11015
- if (e === k.CONNECTION_ESTABLISHED && Et(Ze.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED, "1"), e === k.CONNECTION_CLOSED) {
11015
+ if (e === M.CONNECTION_ESTABLISHED && Et(Ze.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED, "1"), e === M.CONNECTION_CLOSED) {
11016
11016
  const [s, n] = t;
11017
11017
  Et(Ze.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED, s, n ? { details: n } : void 0);
11018
11018
  }
@@ -11180,7 +11180,7 @@ class Dr {
11180
11180
  return;
11181
11181
  const a = this.handlers[t];
11182
11182
  if (a.onComplete) {
11183
- e.tool_type === "client" && this.publicEventEmitter.emit(k.TOOL_CALL_COMPLETED, r);
11183
+ e.tool_type === "client" && this.publicEventEmitter.emit(M.TOOL_CALL_COMPLETED, r);
11184
11184
  try {
11185
11185
  yield a.onComplete(r);
11186
11186
  } catch (o) {
@@ -11197,7 +11197,7 @@ class Dr {
11197
11197
  return;
11198
11198
  const a = this.handlers[t];
11199
11199
  if (a.onFail) {
11200
- e.tool_type === "client" && this.publicEventEmitter.emit(k.TOOL_CALL_FAILED, r);
11200
+ e.tool_type === "client" && this.publicEventEmitter.emit(M.TOOL_CALL_FAILED, r);
11201
11201
  try {
11202
11202
  yield a.onFail(r);
11203
11203
  } catch (o) {
@@ -11408,7 +11408,7 @@ class Xl {
11408
11408
  };
11409
11409
  this.inputAudioStream = yield navigator.mediaDevices.getUserMedia({
11410
11410
  audio: s
11411
- }), this.audioDeviceId = e, yield this.setupAudioTrack(), t && this.muteAllAudioTracks(), this.publicEventEmitter.emit(k.INPUT_AUDIO_DEVICE_CHANGED, e);
11411
+ }), this.audioDeviceId = e, yield this.setupAudioTrack(), t && this.muteAllAudioTracks(), this.publicEventEmitter.emit(M.INPUT_AUDIO_DEVICE_CHANGED, e);
11412
11412
  } catch (s) {
11413
11413
  throw console.error("Failed to change audio input device:", s), new Error(`StreamingClient - changeAudioInputDevice: ${s instanceof Error ? s.message : String(s)}`);
11414
11414
  }
@@ -11493,19 +11493,19 @@ class Xl {
11493
11493
  break;
11494
11494
  case Ce.END_SESSION:
11495
11495
  const r = e.payload;
11496
- this.publicEventEmitter.emit(k.CONNECTION_CLOSED, ht.SERVER_CLOSED_CONNECTION, r), this.shutdown();
11496
+ this.publicEventEmitter.emit(M.CONNECTION_CLOSED, ht.SERVER_CLOSED_CONNECTION, r), this.shutdown();
11497
11497
  break;
11498
11498
  case Ce.WARNING:
11499
11499
  const a = e.payload;
11500
- console.warn("Warning received from server: " + a), this.publicEventEmitter.emit(k.SERVER_WARNING, a);
11500
+ console.warn("Warning received from server: " + a), this.publicEventEmitter.emit(M.SERVER_WARNING, a);
11501
11501
  break;
11502
11502
  case Ce.TALK_STREAM_INTERRUPTED:
11503
11503
  const o = e.payload;
11504
- this.publicEventEmitter.emit(k.TALK_STREAM_INTERRUPTED, o.correlationId);
11504
+ this.publicEventEmitter.emit(M.TALK_STREAM_INTERRUPTED, o.correlationId);
11505
11505
  break;
11506
11506
  case Ce.SESSION_READY:
11507
11507
  const c = e.sessionId;
11508
- this.publicEventEmitter.emit(k.SESSION_READY, c);
11508
+ this.publicEventEmitter.emit(M.SESSION_READY, c);
11509
11509
  break;
11510
11510
  case Ce.HEARTBEAT:
11511
11511
  break;
@@ -11540,14 +11540,14 @@ class Xl {
11540
11540
  }
11541
11541
  onIceConnectionStateChange() {
11542
11542
  var e, t;
11543
- (((e = this.peerConnection) === null || e === void 0 ? void 0 : e.iceConnectionState) === "connected" || ((t = this.peerConnection) === null || t === void 0 ? void 0 : t.iceConnectionState) === "completed") && (this.publicEventEmitter.emit(k.CONNECTION_ESTABLISHED), this.startStatsCollection());
11543
+ (((e = this.peerConnection) === null || e === void 0 ? void 0 : e.iceConnectionState) === "connected" || ((t = this.peerConnection) === null || t === void 0 ? void 0 : t.iceConnectionState) === "completed") && (this.publicEventEmitter.emit(M.CONNECTION_ESTABLISHED), this.startStatsCollection());
11544
11544
  }
11545
11545
  onConnectionStateChange() {
11546
11546
  var e;
11547
11547
  ((e = this.peerConnection) === null || e === void 0 ? void 0 : e.connectionState) === "closed" && (console.error("StreamingClient - onConnectionStateChange: Connection closed"), this.handleWebrtcFailure("The connection to our servers was lost. Please try again."));
11548
11548
  }
11549
11549
  handleWebrtcFailure(e) {
11550
- console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: e }), e.name === "NotAllowedError" && e.message === "Permission denied" ? this.publicEventEmitter.emit(k.CONNECTION_CLOSED, ht.MICROPHONE_PERMISSION_DENIED) : this.publicEventEmitter.emit(k.CONNECTION_CLOSED, ht.WEBRTC_FAILURE);
11550
+ console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: e }), e.name === "NotAllowedError" && e.message === "Permission denied" ? this.publicEventEmitter.emit(M.CONNECTION_CLOSED, ht.MICROPHONE_PERMISSION_DENIED) : this.publicEventEmitter.emit(M.CONNECTION_CLOSED, ht.WEBRTC_FAILURE);
11551
11551
  try {
11552
11552
  this.stopConnection();
11553
11553
  } catch (t) {
@@ -11556,14 +11556,14 @@ class Xl {
11556
11556
  }
11557
11557
  onTrackEventHandler(e) {
11558
11558
  if (e.track.kind === "video") {
11559
- if (this.startSuccessMetricPolling(), this.videoStream = e.streams[0], this.publicEventEmitter.emit(k.VIDEO_STREAM_STARTED, this.videoStream), this.videoElement) {
11559
+ if (this.startSuccessMetricPolling(), this.videoStream = e.streams[0], this.publicEventEmitter.emit(M.VIDEO_STREAM_STARTED, this.videoStream), this.videoElement) {
11560
11560
  this.videoElement.srcObject = this.videoStream;
11561
11561
  const t = this.videoElement.requestVideoFrameCallback(() => {
11562
11562
  var s;
11563
- (s = this.videoElement) === null || s === void 0 || s.cancelVideoFrameCallback(t), this.publicEventEmitter.emit(k.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0, Et(Ze.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", { detectionMethod: "videoElement" }));
11563
+ (s = this.videoElement) === null || s === void 0 || s.cancelVideoFrameCallback(t), this.publicEventEmitter.emit(M.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0, Et(Ze.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", { detectionMethod: "videoElement" }));
11564
11564
  });
11565
11565
  }
11566
- } else e.track.kind === "audio" && (this.audioStream = e.streams[0], this.publicEventEmitter.emit(k.AUDIO_STREAM_STARTED, this.audioStream));
11566
+ } else e.track.kind === "audio" && (this.audioStream = e.streams[0], this.publicEventEmitter.emit(M.AUDIO_STREAM_STARTED, this.audioStream));
11567
11567
  }
11568
11568
  /**
11569
11569
  * Set up the data channels for sending and receiving messages
@@ -11594,28 +11594,28 @@ class Xl {
11594
11594
  const c = o.data;
11595
11595
  this.internalEventEmitter.emit(oe.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED, c);
11596
11596
  const d = Dr.WebRTCClientToolEventToClientToolEvent(c);
11597
- this.publicEventEmitter.emit(k.CLIENT_TOOL_EVENT_RECEIVED, d);
11597
+ this.publicEventEmitter.emit(M.CLIENT_TOOL_EVENT_RECEIVED, d);
11598
11598
  break;
11599
11599
  case He.TOOL_CALL_STARTED_EVENT:
11600
11600
  const f = o.data;
11601
- this.publicEventEmitter.emit(k.TOOL_CALL_STARTED, this.toolCallManager.WebRTCToolCallStartedEventToToolCallStartedPayload(f)), this.internalEventEmitter.emit(oe.WEBRTC_TOOL_CALL_STARTED_EVENT_RECEIVED, f);
11601
+ this.publicEventEmitter.emit(M.TOOL_CALL_STARTED, this.toolCallManager.WebRTCToolCallStartedEventToToolCallStartedPayload(f)), this.internalEventEmitter.emit(oe.WEBRTC_TOOL_CALL_STARTED_EVENT_RECEIVED, f);
11602
11602
  break;
11603
11603
  case He.TOOL_CALL_COMPLETED_EVENT:
11604
11604
  const u = o.data;
11605
- this.publicEventEmitter.emit(k.TOOL_CALL_COMPLETED, this.toolCallManager.webRTCToolCallCompletedEventToToolCallCompletedPayload(u)), this.internalEventEmitter.emit(oe.WEBRTC_TOOL_CALL_COMPLETED_EVENT_RECEIVED, u);
11605
+ this.publicEventEmitter.emit(M.TOOL_CALL_COMPLETED, this.toolCallManager.webRTCToolCallCompletedEventToToolCallCompletedPayload(u)), this.internalEventEmitter.emit(oe.WEBRTC_TOOL_CALL_COMPLETED_EVENT_RECEIVED, u);
11606
11606
  break;
11607
11607
  case He.TOOL_CALL_FAILED_EVENT:
11608
11608
  const y = o.data;
11609
- this.publicEventEmitter.emit(k.TOOL_CALL_FAILED, this.toolCallManager.webRTCToolCallFailedEventToToolCallFailedPayload(y)), this.internalEventEmitter.emit(oe.WEBRTC_TOOL_CALL_FAILED_EVENT_RECEIVED, y);
11609
+ this.publicEventEmitter.emit(M.TOOL_CALL_FAILED, this.toolCallManager.webRTCToolCallFailedEventToToolCallFailedPayload(y)), this.internalEventEmitter.emit(oe.WEBRTC_TOOL_CALL_FAILED_EVENT_RECEIVED, y);
11610
11610
  break;
11611
11611
  case He.REASONING_TEXT:
11612
11612
  this.internalEventEmitter.emit(oe.WEBRTC_REASONING_TEXT_MESSAGE_RECEIVED, o.data);
11613
11613
  break;
11614
11614
  case He.USER_SPEECH_STARTED:
11615
- this.publicEventEmitter.emit(k.USER_SPEECH_STARTED, (n = (s = o.data) === null || s === void 0 ? void 0 : s.user_action_correlation_id) !== null && n !== void 0 ? n : "unknown");
11615
+ this.publicEventEmitter.emit(M.USER_SPEECH_STARTED, (n = (s = o.data) === null || s === void 0 ? void 0 : s.user_action_correlation_id) !== null && n !== void 0 ? n : "unknown");
11616
11616
  break;
11617
11617
  case He.USER_SPEECH_ENDED:
11618
- this.publicEventEmitter.emit(k.USER_SPEECH_ENDED, (a = (r = o.data) === null || r === void 0 ? void 0 : r.user_action_correlation_id) !== null && a !== void 0 ? a : "unknown");
11618
+ this.publicEventEmitter.emit(M.USER_SPEECH_ENDED, (a = (r = o.data) === null || r === void 0 ? void 0 : r.user_action_correlation_id) !== null && a !== void 0 ? a : "unknown");
11619
11619
  break;
11620
11620
  // Unknown message types are silently ignored to maintain forward compatibility
11621
11621
  default:
@@ -11633,7 +11633,7 @@ class Xl {
11633
11633
  requestMicrophonePermissionAsync() {
11634
11634
  return xe(this, void 0, void 0, function* () {
11635
11635
  if (this.inputAudioState.permissionState !== rt.PENDING) {
11636
- this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: rt.PENDING }), this.publicEventEmitter.emit(k.MIC_PERMISSION_PENDING);
11636
+ this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: rt.PENDING }), this.publicEventEmitter.emit(M.MIC_PERMISSION_PENDING);
11637
11637
  try {
11638
11638
  const e = {
11639
11639
  echoCancellation: !0
@@ -11642,11 +11642,11 @@ class Xl {
11642
11642
  exact: this.audioDeviceId
11643
11643
  }), this.inputAudioStream = yield navigator.mediaDevices.getUserMedia({
11644
11644
  audio: e
11645
- }), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: rt.GRANTED }), this.publicEventEmitter.emit(k.MIC_PERMISSION_GRANTED), yield this.setupAudioTrack();
11645
+ }), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: rt.GRANTED }), this.publicEventEmitter.emit(M.MIC_PERMISSION_GRANTED), yield this.setupAudioTrack();
11646
11646
  } catch (e) {
11647
11647
  console.error("Failed to get microphone permission:", e), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: rt.DENIED });
11648
11648
  const t = e instanceof Error ? e.message : String(e);
11649
- this.publicEventEmitter.emit(k.MIC_PERMISSION_DENIED, t);
11649
+ this.publicEventEmitter.emit(M.MIC_PERMISSION_DENIED, t);
11650
11650
  }
11651
11651
  }
11652
11652
  });
@@ -11675,7 +11675,7 @@ class Xl {
11675
11675
  }
11676
11676
  else
11677
11677
  this.peerConnection.addTrack(e, this.inputAudioStream);
11678
- this.publicEventEmitter.emit(k.INPUT_AUDIO_STREAM_STARTED, this.inputAudioStream);
11678
+ this.publicEventEmitter.emit(M.INPUT_AUDIO_STREAM_STARTED, this.inputAudioStream);
11679
11679
  });
11680
11680
  }
11681
11681
  initPeerConnectionAndSendOffer() {
@@ -11701,7 +11701,7 @@ class Xl {
11701
11701
  if (this.showPeerConnectionStatsReport) {
11702
11702
  const t = yield (e = this.peerConnection) === null || e === void 0 ? void 0 : e.getStats();
11703
11703
  if (t) {
11704
- const s = kl(t, this.peerConnectionStatsReportOutputFormat);
11704
+ const s = Ml(t, this.peerConnectionStatsReportOutputFormat);
11705
11705
  s && console.log(s, void 0, 2);
11706
11706
  }
11707
11707
  }
@@ -11741,7 +11741,7 @@ class ql {
11741
11741
  }
11742
11742
  processWebRtcReasoningTextMessageEvent(e) {
11743
11743
  const t = this.webRtcTextMessageEventToReasoningStreamEvent(e);
11744
- this.publicEventEmitter.emit(k.REASONING_STREAM_EVENT_RECEIVED, t);
11744
+ this.publicEventEmitter.emit(M.REASONING_STREAM_EVENT_RECEIVED, t);
11745
11745
  const s = {
11746
11746
  id: t.id,
11747
11747
  content: t.content,
@@ -11752,7 +11752,7 @@ class ql {
11752
11752
  r.content += s.content, this.reasoning_messages[n] = r;
11753
11753
  } else
11754
11754
  this.reasoning_messages.push(s);
11755
- t.endOfThought && this.publicEventEmitter.emit(k.REASONING_HISTORY_UPDATED, this.reasoning_messages);
11755
+ t.endOfThought && this.publicEventEmitter.emit(M.REASONING_HISTORY_UPDATED, this.reasoning_messages);
11756
11756
  }
11757
11757
  }
11758
11758
  var tt = function(i, e, t, s) {
@@ -11792,7 +11792,7 @@ class Kl {
11792
11792
  const d = this.validateClientConfig(e, t, s);
11793
11793
  if (d)
11794
11794
  throw new re(d, ue.CLIENT_ERROR_CODE_CONFIGURATION_ERROR, 400);
11795
- this.personaConfig = t, this.clientOptions = s, (!((n = s == null ? void 0 : s.api) === null || n === void 0) && n.baseUrl || !((r = s == null ? void 0 : s.api) === null || r === void 0) && r.apiVersion) && Tl(s.api.baseUrl || Mr, s.api.apiVersion || Ms), !((o = (a = s == null ? void 0 : s.api) === null || a === void 0 ? void 0 : a.apiGateway) === null || o === void 0) && o.enabled && Rl(s.api.apiGateway), !((c = s == null ? void 0 : s.metrics) === null || c === void 0) && c.disableClientMetrics && Ol(!0), this.publicEventEmitter = new Hl(), this.internalEventEmitter = new Gl(), this.toolCallManager = new Dr(this.publicEventEmitter), this.apiClient = new Pl(e, s == null ? void 0 : s.apiKey, s == null ? void 0 : s.api), this.messageHistoryClient = new Vl(this.publicEventEmitter, this.internalEventEmitter), this.reasoningHistoryClient = new ql(this.publicEventEmitter, this.internalEventEmitter);
11795
+ this.personaConfig = t, this.clientOptions = s, (!((n = s == null ? void 0 : s.api) === null || n === void 0) && n.baseUrl || !((r = s == null ? void 0 : s.api) === null || r === void 0) && r.apiVersion) && Tl(s.api.baseUrl || kr, s.api.apiVersion || ks), !((o = (a = s == null ? void 0 : s.api) === null || a === void 0 ? void 0 : a.apiGateway) === null || o === void 0) && o.enabled && Rl(s.api.apiGateway), !((c = s == null ? void 0 : s.metrics) === null || c === void 0) && c.disableClientMetrics && Ol(!0), this.publicEventEmitter = new Hl(), this.internalEventEmitter = new Gl(), this.toolCallManager = new Dr(this.publicEventEmitter), this.apiClient = new Pl(e, s == null ? void 0 : s.apiKey, s == null ? void 0 : s.api), this.messageHistoryClient = new Vl(this.publicEventEmitter, this.internalEventEmitter), this.reasoningHistoryClient = new ql(this.publicEventEmitter, this.internalEventEmitter);
11796
11796
  }
11797
11797
  decodeJwt(e) {
11798
11798
  try {
@@ -11808,7 +11808,7 @@ class Kl {
11808
11808
  return "Either sessionToken or apiKey must be provided";
11809
11809
  if (s != null && s.apiKey && e)
11810
11810
  return "Only one of sessionToken or apiKey should be used";
11811
- const a = Ml((n = s == null ? void 0 : s.api) === null || n === void 0 ? void 0 : n.apiGateway);
11811
+ const a = kl((n = s == null ? void 0 : s.api) === null || n === void 0 ? void 0 : n.apiGateway);
11812
11812
  if (a)
11813
11813
  return a;
11814
11814
  if (e) {
@@ -11843,7 +11843,7 @@ class Kl {
11843
11843
  startSession(e) {
11844
11844
  return tt(this, void 0, void 0, function* () {
11845
11845
  var t, s, n, r, a, o, c, d, f, u, y, g;
11846
- const C = this.personaConfig, b = this.buildStartSessionOptionsForClient(), E = yield this.apiClient.startSession(C, b), { sessionId: A, clientConfig: v, engineHost: I, engineProtocol: x, signallingEndpoint: T } = E, { heartbeatIntervalSeconds: M, maxWsReconnectionAttempts: F, iceServers: L } = v;
11846
+ const C = this.personaConfig, b = this.buildStartSessionOptionsForClient(), E = yield this.apiClient.startSession(C, b), { sessionId: A, clientConfig: v, engineHost: I, engineProtocol: x, signallingEndpoint: T } = E, { heartbeatIntervalSeconds: k, maxWsReconnectionAttempts: F, iceServers: L } = v;
11847
11847
  this.sessionId = A, At({
11848
11848
  sessionId: this.sessionId
11849
11849
  });
@@ -11854,7 +11854,7 @@ class Kl {
11854
11854
  baseUrl: `${x}://${I}`
11855
11855
  },
11856
11856
  signalling: {
11857
- heartbeatIntervalSeconds: M,
11857
+ heartbeatIntervalSeconds: k,
11858
11858
  maxWsReconnectionAttempts: F,
11859
11859
  url: {
11860
11860
  baseUrl: I,
@@ -11908,9 +11908,9 @@ class Kl {
11908
11908
  var r;
11909
11909
  const a = [];
11910
11910
  let o = !1, c = !1;
11911
- this.publicEventEmitter.addListener(k.VIDEO_STREAM_STARTED, (d) => {
11911
+ this.publicEventEmitter.addListener(M.VIDEO_STREAM_STARTED, (d) => {
11912
11912
  a.push(d), o = !0, c && n(a);
11913
- }), this.publicEventEmitter.addListener(k.AUDIO_STREAM_STARTED, (d) => {
11913
+ }), this.publicEventEmitter.addListener(M.AUDIO_STREAM_STARTED, (d) => {
11914
11914
  a.push(d), c = !0, o && n(a);
11915
11915
  }), (r = this.streamingClient) === null || r === void 0 || r.startConnection();
11916
11916
  });
@@ -12028,7 +12028,7 @@ class Kl {
12028
12028
  }
12029
12029
  stopStreaming() {
12030
12030
  return tt(this, void 0, void 0, function* () {
12031
- this.streamingClient && (this.publicEventEmitter.emit(k.CONNECTION_CLOSED, ht.NORMAL), yield this.streamingClient.stopConnection(), this.streamingClient = null, this.sessionId = null, At({
12031
+ this.streamingClient && (this.publicEventEmitter.emit(M.CONNECTION_CLOSED, ht.NORMAL), yield this.streamingClient.stopConnection(), this.streamingClient = null, this.sessionId = null, At({
12032
12032
  attemptCorrelationId: null,
12033
12033
  sessionId: null,
12034
12034
  organizationId: this.organizationId
@@ -12133,16 +12133,16 @@ class Ql {
12133
12133
  z-index: 2147483646;
12134
12134
  pointer-events: none;
12135
12135
  display: none;
12136
- `, document.body.appendChild(this.videoElement), this.client.addListener(k.CONNECTION_ESTABLISHED, () => {
12136
+ `, document.body.appendChild(this.videoElement), this.client.addListener(M.CONNECTION_ESTABLISHED, () => {
12137
12137
  var s;
12138
12138
  console.log("[AnamSession] Connection established"), this._connected = !0, (s = this.onConnected) == null || s.call(this);
12139
- }), this.client.addListener(k.VIDEO_PLAY_STARTED, () => {
12139
+ }), this.client.addListener(M.VIDEO_PLAY_STARTED, () => {
12140
12140
  var s;
12141
12141
  console.log("[AnamSession] Video playing"), this.videoElement && (this.videoElement.style.display = "", (s = this.onVideoReady) == null || s.call(this, this.videoElement));
12142
- }), this.client.addListener(k.TALK_STREAM_INTERRUPTED, () => {
12142
+ }), this.client.addListener(M.TALK_STREAM_INTERRUPTED, () => {
12143
12143
  var s;
12144
12144
  console.log("[AnamSession] Talk stream interrupted"), (s = this.onTalkStreamInterrupted) == null || s.call(this);
12145
- }), this.client.addListener(k.CONNECTION_CLOSED, (s) => {
12145
+ }), this.client.addListener(M.CONNECTION_CLOSED, (s) => {
12146
12146
  var n;
12147
12147
  console.log("[AnamSession] Connection closed:", s), this._connected = !1, (n = this.onDisconnected) == null || n.call(this, String(s));
12148
12148
  }), await this.client.streamToVideoElement(t), this.audioInputStream = this.client.createAgentAudioInputStream({
@@ -12728,7 +12728,7 @@ function bh(i) {
12728
12728
  return i.indexOf("//") > -1 ? e = i.split("/").slice(0, 3).join("/") : e = i.split("/")[0], e = e.split("?")[0], e;
12729
12729
  }
12730
12730
  var xt, Cn, Eh = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm, Sh = /^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/, Ih = /^(data:)([^,]*),(.*)/i;
12731
- function ki(i, e) {
12731
+ function Mi(i, e) {
12732
12732
  return (i || "").replace(Eh, function(t, s, n, r, a, o) {
12733
12733
  var c = n || a || o, d = s || r || "";
12734
12734
  if (!c)
@@ -12793,7 +12793,7 @@ function Ls() {
12793
12793
  return i.href = "", i.href;
12794
12794
  }
12795
12795
  function Ur(i, e, t, s) {
12796
- return t === "src" || t === "href" && s && !(e === "use" && s[0] === "#") || t === "xlink:href" && s && s[0] !== "#" || t === "background" && s && (e === "table" || e === "td" || e === "th") ? Nt(i, s) : t === "srcset" && s ? wh(i, s) : t === "style" && s ? ki(s, Ls()) : e === "object" && t === "data" && s ? Nt(i, s) : s;
12796
+ return t === "src" || t === "href" && s && !(e === "use" && s[0] === "#") || t === "xlink:href" && s && s[0] !== "#" || t === "background" && s && (e === "table" || e === "td" || e === "th") ? Nt(i, s) : t === "srcset" && s ? wh(i, s) : t === "style" && s ? Mi(s, Ls()) : e === "object" && t === "data" && s ? Nt(i, s) : s;
12797
12797
  }
12798
12798
  function Th(i, e, t) {
12799
12799
  if (typeof e == "string") {
@@ -12807,17 +12807,17 @@ function Th(i, e, t) {
12807
12807
  }
12808
12808
  return t ? i.matches(t) : !1;
12809
12809
  }
12810
- function Mi(i, e, t) {
12810
+ function ki(i, e, t) {
12811
12811
  if (!i)
12812
12812
  return !1;
12813
12813
  if (i.nodeType !== i.ELEMENT_NODE)
12814
- return t ? Mi(i.parentNode, e, t) : !1;
12814
+ return t ? ki(i.parentNode, e, t) : !1;
12815
12815
  for (var s = i.classList.length; s--; ) {
12816
12816
  var n = i.classList[s];
12817
12817
  if (e.test(n))
12818
12818
  return !0;
12819
12819
  }
12820
- return t ? Mi(i.parentNode, e, t) : !1;
12820
+ return t ? ki(i.parentNode, e, t) : !1;
12821
12821
  }
12822
12822
  function Wr(i, e, t) {
12823
12823
  var s = i.nodeType === i.ELEMENT_NODE ? i : i.parentElement;
@@ -12826,7 +12826,7 @@ function Wr(i, e, t) {
12826
12826
  if (typeof e == "string") {
12827
12827
  if (s.classList.contains(e) || s.closest(".".concat(e)))
12828
12828
  return !0;
12829
- } else if (Mi(s, e, !0))
12829
+ } else if (ki(s, e, !0))
12830
12830
  return !0;
12831
12831
  return !!(t && (s.matches(t) || s.closest(t)));
12832
12832
  }
@@ -12870,8 +12870,8 @@ function Oh(i, e, t) {
12870
12870
  });
12871
12871
  }
12872
12872
  }
12873
- function kh(i, e) {
12874
- var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, a = e.maskTextClass, o = e.maskTextSelector, c = e.inlineStylesheet, d = e.maskInputOptions, f = d === void 0 ? {} : d, u = e.maskTextFn, y = e.maskInputFn, g = e.dataURLOptions, C = g === void 0 ? {} : g, b = e.inlineImages, E = e.recordCanvas, A = e.keepIframeSrcFn, v = e.newlyAddedElement, I = v === void 0 ? !1 : v, x = Mh(t, s);
12873
+ function Mh(i, e) {
12874
+ var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, a = e.maskTextClass, o = e.maskTextSelector, c = e.inlineStylesheet, d = e.maskInputOptions, f = d === void 0 ? {} : d, u = e.maskTextFn, y = e.maskInputFn, g = e.dataURLOptions, C = g === void 0 ? {} : g, b = e.inlineImages, E = e.recordCanvas, A = e.keepIframeSrcFn, v = e.newlyAddedElement, I = v === void 0 ? !1 : v, x = kh(t, s);
12875
12875
  switch (i.nodeType) {
12876
12876
  case i.DOCUMENT_NODE:
12877
12877
  return i.compatMode !== "CSS1Compat" ? {
@@ -12928,7 +12928,7 @@ function kh(i, e) {
12928
12928
  return !1;
12929
12929
  }
12930
12930
  }
12931
- function Mh(i, e) {
12931
+ function kh(i, e) {
12932
12932
  if (e.hasNode(i)) {
12933
12933
  var t = e.getId(i);
12934
12934
  return t === 1 ? void 0 : t;
@@ -12942,7 +12942,7 @@ function Nh(i, e) {
12942
12942
  } catch (u) {
12943
12943
  console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(u), i);
12944
12944
  }
12945
- c = ki(c, Ls());
12945
+ c = Mi(c, Ls());
12946
12946
  }
12947
12947
  return f && (c = "SCRIPT_PLACEHOLDER"), !d && !f && c && Wr(i, s, n) && (c = r ? r(c) : c.replace(/[\S]/g, "*")), {
12948
12948
  type: he.Text,
@@ -12953,18 +12953,18 @@ function Nh(i, e) {
12953
12953
  }
12954
12954
  function Lh(i, e) {
12955
12955
  for (var t = e.doc, s = e.blockClass, n = e.blockSelector, r = e.inlineStylesheet, a = e.maskInputOptions, o = a === void 0 ? {} : a, c = e.maskInputFn, d = e.dataURLOptions, f = d === void 0 ? {} : d, u = e.inlineImages, y = e.recordCanvas, g = e.keepIframeSrcFn, C = e.newlyAddedElement, b = C === void 0 ? !1 : C, E = e.rootId, A = Th(i, s, n), v = Ch(i), I = {}, x = i.attributes.length, T = 0; T < x; T++) {
12956
- var M = i.attributes[T];
12957
- I[M.name] = Ur(t, v, M.name, M.value);
12956
+ var k = i.attributes[T];
12957
+ I[k.name] = Ur(t, v, k.name, k.value);
12958
12958
  }
12959
12959
  if (v === "link" && r) {
12960
12960
  var F = Array.from(t.styleSheets).find(function(_e) {
12961
12961
  return _e.href === i.href;
12962
12962
  }), L = null;
12963
- F && (L = _s(F)), L && (delete I.rel, delete I.href, I._cssText = ki(L, F.href));
12963
+ F && (L = _s(F)), L && (delete I.rel, delete I.href, I._cssText = Mi(L, F.href));
12964
12964
  }
12965
12965
  if (v === "style" && i.sheet && !(i.innerText || i.textContent || "").trim().length) {
12966
12966
  var L = _s(i.sheet);
12967
- L && (I._cssText = ki(L, Ls()));
12967
+ L && (I._cssText = Mi(L, Ls()));
12968
12968
  }
12969
12969
  if (v === "input" || v === "textarea" || v === "select") {
12970
12970
  var J = i.value, X = i.checked;
@@ -13047,9 +13047,9 @@ function Dh(i, e) {
13047
13047
  return !1;
13048
13048
  }
13049
13049
  function Lt(i, e) {
13050
- var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, a = e.maskTextClass, o = e.maskTextSelector, c = e.skipChild, d = c === void 0 ? !1 : c, f = e.inlineStylesheet, u = f === void 0 ? !0 : f, y = e.maskInputOptions, g = y === void 0 ? {} : y, C = e.maskTextFn, b = e.maskInputFn, E = e.slimDOMOptions, A = e.dataURLOptions, v = A === void 0 ? {} : A, I = e.inlineImages, x = I === void 0 ? !1 : I, T = e.recordCanvas, M = T === void 0 ? !1 : T, F = e.onSerialize, L = e.onIframeLoad, J = e.iframeLoadTimeout, X = J === void 0 ? 5e3 : J, ce = e.onStylesheetLoad, fe = e.stylesheetLoadTimeout, pe = fe === void 0 ? 5e3 : fe, H = e.keepIframeSrcFn, se = H === void 0 ? function() {
13050
+ var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, a = e.maskTextClass, o = e.maskTextSelector, c = e.skipChild, d = c === void 0 ? !1 : c, f = e.inlineStylesheet, u = f === void 0 ? !0 : f, y = e.maskInputOptions, g = y === void 0 ? {} : y, C = e.maskTextFn, b = e.maskInputFn, E = e.slimDOMOptions, A = e.dataURLOptions, v = A === void 0 ? {} : A, I = e.inlineImages, x = I === void 0 ? !1 : I, T = e.recordCanvas, k = T === void 0 ? !1 : T, F = e.onSerialize, L = e.onIframeLoad, J = e.iframeLoadTimeout, X = J === void 0 ? 5e3 : J, ce = e.onStylesheetLoad, fe = e.stylesheetLoadTimeout, pe = fe === void 0 ? 5e3 : fe, H = e.keepIframeSrcFn, se = H === void 0 ? function() {
13051
13051
  return !1;
13052
- } : H, Ae = e.newlyAddedElement, Oe = Ae === void 0 ? !1 : Ae, De = e.preserveWhiteSpace, me = De === void 0 ? !0 : De, _e = kh(i, {
13052
+ } : H, Ae = e.newlyAddedElement, Oe = Ae === void 0 ? !1 : Ae, De = e.preserveWhiteSpace, me = De === void 0 ? !0 : De, _e = Mh(i, {
13053
13053
  doc: t,
13054
13054
  mirror: s,
13055
13055
  blockClass: n,
@@ -13062,7 +13062,7 @@ function Lt(i, e) {
13062
13062
  maskInputFn: b,
13063
13063
  dataURLOptions: v,
13064
13064
  inlineImages: x,
13065
- recordCanvas: M,
13065
+ recordCanvas: k,
13066
13066
  keepIframeSrcFn: se,
13067
13067
  newlyAddedElement: Oe
13068
13068
  });
@@ -13097,7 +13097,7 @@ function Lt(i, e) {
13097
13097
  slimDOMOptions: E,
13098
13098
  dataURLOptions: v,
13099
13099
  inlineImages: x,
13100
- recordCanvas: M,
13100
+ recordCanvas: k,
13101
13101
  preserveWhiteSpace: me,
13102
13102
  onSerialize: F,
13103
13103
  onIframeLoad: L,
@@ -13118,7 +13118,7 @@ function Lt(i, e) {
13118
13118
  return i.parentNode && Jt(i.parentNode) && Qt(i.parentNode) && (D.isShadow = !0), D.type === he.Element && D.tagName === "iframe" && Rh(i, function() {
13119
13119
  var de = i.contentDocument;
13120
13120
  if (de && L) {
13121
- var ke = Lt(de, {
13121
+ var Me = Lt(de, {
13122
13122
  doc: de,
13123
13123
  mirror: s,
13124
13124
  blockClass: n,
@@ -13133,7 +13133,7 @@ function Lt(i, e) {
13133
13133
  slimDOMOptions: E,
13134
13134
  dataURLOptions: v,
13135
13135
  inlineImages: x,
13136
- recordCanvas: M,
13136
+ recordCanvas: k,
13137
13137
  preserveWhiteSpace: me,
13138
13138
  onSerialize: F,
13139
13139
  onIframeLoad: L,
@@ -13142,7 +13142,7 @@ function Lt(i, e) {
13142
13142
  stylesheetLoadTimeout: pe,
13143
13143
  keepIframeSrcFn: se
13144
13144
  });
13145
- ke && L(i, ke);
13145
+ Me && L(i, Me);
13146
13146
  }
13147
13147
  }, X), D.type === he.Element && D.tagName === "link" && D.attributes.rel === "stylesheet" && Oh(i, function() {
13148
13148
  if (ce) {
@@ -13161,7 +13161,7 @@ function Lt(i, e) {
13161
13161
  slimDOMOptions: E,
13162
13162
  dataURLOptions: v,
13163
13163
  inlineImages: x,
13164
- recordCanvas: M,
13164
+ recordCanvas: k,
13165
13165
  preserveWhiteSpace: me,
13166
13166
  onSerialize: F,
13167
13167
  onIframeLoad: L,
@@ -13175,7 +13175,7 @@ function Lt(i, e) {
13175
13175
  }, pe), D;
13176
13176
  }
13177
13177
  function Bh(i, e) {
13178
- var t = e || {}, s = t.mirror, n = s === void 0 ? new Fr() : s, r = t.blockClass, a = r === void 0 ? "rr-block" : r, o = t.blockSelector, c = o === void 0 ? null : o, d = t.maskTextClass, f = d === void 0 ? "rr-mask" : d, u = t.maskTextSelector, y = u === void 0 ? null : u, g = t.inlineStylesheet, C = g === void 0 ? !0 : g, b = t.inlineImages, E = b === void 0 ? !1 : b, A = t.recordCanvas, v = A === void 0 ? !1 : A, I = t.maskAllInputs, x = I === void 0 ? !1 : I, T = t.maskTextFn, M = t.maskInputFn, F = t.slimDOM, L = F === void 0 ? !1 : F, J = t.dataURLOptions, X = t.preserveWhiteSpace, ce = t.onSerialize, fe = t.onIframeLoad, pe = t.iframeLoadTimeout, H = t.onStylesheetLoad, se = t.stylesheetLoadTimeout, Ae = t.keepIframeSrcFn, Oe = Ae === void 0 ? function() {
13178
+ var t = e || {}, s = t.mirror, n = s === void 0 ? new Fr() : s, r = t.blockClass, a = r === void 0 ? "rr-block" : r, o = t.blockSelector, c = o === void 0 ? null : o, d = t.maskTextClass, f = d === void 0 ? "rr-mask" : d, u = t.maskTextSelector, y = u === void 0 ? null : u, g = t.inlineStylesheet, C = g === void 0 ? !0 : g, b = t.inlineImages, E = b === void 0 ? !1 : b, A = t.recordCanvas, v = A === void 0 ? !1 : A, I = t.maskAllInputs, x = I === void 0 ? !1 : I, T = t.maskTextFn, k = t.maskInputFn, F = t.slimDOM, L = F === void 0 ? !1 : F, J = t.dataURLOptions, X = t.preserveWhiteSpace, ce = t.onSerialize, fe = t.onIframeLoad, pe = t.iframeLoadTimeout, H = t.onStylesheetLoad, se = t.stylesheetLoadTimeout, Ae = t.keepIframeSrcFn, Oe = Ae === void 0 ? function() {
13179
13179
  return !1;
13180
13180
  } : Ae, De = x === !0 ? {
13181
13181
  color: !0,
@@ -13219,7 +13219,7 @@ function Bh(i, e) {
13219
13219
  inlineStylesheet: C,
13220
13220
  maskInputOptions: De,
13221
13221
  maskTextFn: T,
13222
- maskInputFn: M,
13222
+ maskInputFn: k,
13223
13223
  slimDOMOptions: me,
13224
13224
  dataURLOptions: J,
13225
13225
  inlineImages: E,
@@ -13319,7 +13319,7 @@ function Se(i, e, t, s) {
13319
13319
  if (typeof e == "string") {
13320
13320
  if (n.classList.contains(e) || s && n.closest("." + e) !== null)
13321
13321
  return !0;
13322
- } else if (Mi(n, e, s))
13322
+ } else if (ki(n, e, s))
13323
13323
  return !0;
13324
13324
  return !!(t && (i.matches(t) || s && n.closest(t) !== null));
13325
13325
  }
@@ -13805,19 +13805,19 @@ function jh({ inputCb: i, doc: e, mirror: t, blockClass: s, blockSelector: n, ig
13805
13805
  const x = v.type;
13806
13806
  if (v.classList.contains(r))
13807
13807
  return;
13808
- let T = v.value, M = !1;
13809
- x === "radio" || x === "checkbox" ? M = v.checked : (a[v.tagName.toLowerCase()] || a[x]) && (T = Ns({
13808
+ let T = v.value, k = !1;
13809
+ x === "radio" || x === "checkbox" ? k = v.checked : (a[v.tagName.toLowerCase()] || a[x]) && (T = Ns({
13810
13810
  maskInputOptions: a,
13811
13811
  tagName: v.tagName,
13812
13812
  type: x,
13813
13813
  value: T,
13814
13814
  maskInputFn: o
13815
- })), u(v, vn({ text: T, isChecked: M, userTriggered: I }, d));
13815
+ })), u(v, vn({ text: T, isChecked: k, userTriggered: I }, d));
13816
13816
  const F = v.name;
13817
- x === "radio" && F && M && e.querySelectorAll(`input[type="radio"][name="${F}"]`).forEach((L) => {
13817
+ x === "radio" && F && k && e.querySelectorAll(`input[type="radio"][name="${F}"]`).forEach((L) => {
13818
13818
  L !== v && u(L, vn({
13819
13819
  text: L.value,
13820
- isChecked: !M,
13820
+ isChecked: !k,
13821
13821
  userTriggered: !1
13822
13822
  }, d));
13823
13823
  });
@@ -14801,7 +14801,7 @@ function ne(i) {
14801
14801
  let te, xi, rs, Li = !1;
14802
14802
  const Fe = ph();
14803
14803
  function Wt(i = {}) {
14804
- const { emit: e, checkoutEveryNms: t, checkoutEveryNth: s, blockClass: n = "rr-block", blockSelector: r = null, ignoreClass: a = "rr-ignore", maskTextClass: o = "rr-mask", maskTextSelector: c = null, inlineStylesheet: d = !0, maskAllInputs: f, maskInputOptions: u, slimDOMOptions: y, maskInputFn: g, maskTextFn: C, hooks: b, packFn: E, sampling: A = {}, dataURLOptions: v = {}, mousemoveWait: I, recordCanvas: x = !1, recordCrossOriginIframes: T = !1, userTriggeredOnInput: M = !1, collectFonts: F = !1, inlineImages: L = !1, plugins: J, keepIframeSrcFn: X = () => !1, ignoreCSSAttributes: ce = /* @__PURE__ */ new Set([]) } = i, fe = T ? window.parent === window : !0;
14804
+ const { emit: e, checkoutEveryNms: t, checkoutEveryNth: s, blockClass: n = "rr-block", blockSelector: r = null, ignoreClass: a = "rr-ignore", maskTextClass: o = "rr-mask", maskTextSelector: c = null, inlineStylesheet: d = !0, maskAllInputs: f, maskInputOptions: u, slimDOMOptions: y, maskInputFn: g, maskTextFn: C, hooks: b, packFn: E, sampling: A = {}, dataURLOptions: v = {}, mousemoveWait: I, recordCanvas: x = !1, recordCrossOriginIframes: T = !1, userTriggeredOnInput: k = !1, collectFonts: F = !1, inlineImages: L = !1, plugins: J, keepIframeSrcFn: X = () => !1, ignoreCSSAttributes: ce = /* @__PURE__ */ new Set([]) } = i, fe = T ? window.parent === window : !0;
14805
14805
  let pe = !1;
14806
14806
  if (!fe)
14807
14807
  try {
@@ -14944,7 +14944,7 @@ function Wt(i = {}) {
14944
14944
  height: Gr()
14945
14945
  }
14946
14946
  }), O), ve.reset(), yt.forEach((ee) => ee.lock());
14947
- const ke = Bh(document, {
14947
+ const Me = Bh(document, {
14948
14948
  mirror: Fe,
14949
14949
  blockClass: n,
14950
14950
  blockSelector: r,
@@ -14968,12 +14968,12 @@ function Wt(i = {}) {
14968
14968
  },
14969
14969
  keepIframeSrcFn: X
14970
14970
  });
14971
- if (!ke)
14971
+ if (!Me)
14972
14972
  return console.warn("Failed to snapshot the document");
14973
14973
  te(ne({
14974
14974
  type: U.FullSnapshot,
14975
14975
  data: {
14976
- node: ke,
14976
+ node: Me,
14977
14977
  initialOffset: {
14978
14978
  left: window.pageXOffset !== void 0 ? window.pageXOffset : (document == null ? void 0 : document.documentElement.scrollLeft) || ((Q = (ae = document == null ? void 0 : document.body) === null || ae === void 0 ? void 0 : ae.parentElement) === null || Q === void 0 ? void 0 : Q.scrollLeft) || (($ = document == null ? void 0 : document.body) === null || $ === void 0 ? void 0 : $.scrollLeft) || 0,
14979
14979
  top: window.pageYOffset !== void 0 ? window.pageYOffset : (document == null ? void 0 : document.documentElement.scrollTop) || ((P = (ge = document == null ? void 0 : document.body) === null || ge === void 0 ? void 0 : ge.parentElement) === null || P === void 0 ? void 0 : P.scrollTop) || ((de = document == null ? void 0 : document.body) === null || de === void 0 ? void 0 : de.scrollTop) || 0
@@ -15045,7 +15045,7 @@ function Wt(i = {}) {
15045
15045
  sampling: A,
15046
15046
  recordCanvas: x,
15047
15047
  inlineImages: L,
15048
- userTriggeredOnInput: M,
15048
+ userTriggeredOnInput: k,
15049
15049
  collectFonts: F,
15050
15050
  doc: $,
15051
15051
  maskInputFn: g,
@@ -15339,7 +15339,7 @@ Continue the conversation naturally from this context.`, s = e.actionId;
15339
15339
  this._active = !1, this.autoDismissTimer && (clearTimeout(this.autoDismissTimer), this.autoDismissTimer = null), this.bubble.hideStatic(), this.bubble.onAccept = null, this.bubble.onDismiss = null, this.currentIntervention = null;
15340
15340
  }
15341
15341
  }
15342
- const kn = "holostaff-liquid-tokens", R = {
15342
+ const Mn = "holostaff-liquid-tokens", R = {
15343
15343
  // --- Surfaces ---
15344
15344
  glassBlur: "20px",
15345
15345
  glassSaturate: "180%",
@@ -15409,9 +15409,9 @@ const kn = "holostaff-liquid-tokens", R = {
15409
15409
  zTop: "2147483647"
15410
15410
  };
15411
15411
  function Je() {
15412
- if (document.getElementById(kn)) return;
15412
+ if (document.getElementById(Mn)) return;
15413
15413
  const i = document.createElement("style");
15414
- i.id = kn, i.textContent = `
15414
+ i.id = Mn, i.textContent = `
15415
15415
  /* Holostaff Liquid Glass Design Tokens */
15416
15416
  :root {
15417
15417
  --hs-glass-blur: ${R.glassBlur};
@@ -15621,12 +15621,12 @@ function ho(i, e) {
15621
15621
  e.indexOf(s[n]) < 0 && Object.prototype.propertyIsEnumerable.call(i, s[n]) && (t[s[n]] = i[s[n]]);
15622
15622
  return t;
15623
15623
  }
15624
- var Mn = function() {
15624
+ var kn = function() {
15625
15625
  };
15626
- const Ss = (i, e, t) => Math.min(Math.max(t, i), e), os = 1e-3, Rc = 0.01, Oc = 10, kc = 0.05, Mc = 1;
15626
+ const Ss = (i, e, t) => Math.min(Math.max(t, i), e), os = 1e-3, Rc = 0.01, Oc = 10, Mc = 0.05, kc = 1;
15627
15627
  function Nc({ duration: i = 800, bounce: e = 0.25, velocity: t = 0, mass: s = 1 }) {
15628
15628
  let n, r, a = 1 - e;
15629
- a = Ss(kc, Mc, a), i = Ss(Rc, Oc, i / 1e3), a < 1 ? (n = (d) => {
15629
+ a = Ss(Mc, kc, a), i = Ss(Rc, Oc, i / 1e3), a < 1 ? (n = (d) => {
15630
15630
  const f = d * a, u = f * i, y = f - t, g = Is(d, a), C = Math.exp(-u);
15631
15631
  return os - y / g * C;
15632
15632
  }, r = (d) => {
@@ -15686,19 +15686,19 @@ function Ds(i) {
15686
15686
  if (n === void 0 && (n = Math.min(Math.abs(t - e) / 100, 0.4)), v < 1) {
15687
15687
  const x = Is(I, v);
15688
15688
  g = (T) => {
15689
- const M = Math.exp(-v * I * T);
15690
- return t - M * ((E + v * I * A) / x * Math.sin(x * T) + A * Math.cos(x * T));
15689
+ const k = Math.exp(-v * I * T);
15690
+ return t - k * ((E + v * I * A) / x * Math.sin(x * T) + A * Math.cos(x * T));
15691
15691
  }, C = (T) => {
15692
- const M = Math.exp(-v * I * T);
15693
- return v * I * M * (Math.sin(x * T) * (E + v * I * A) / x + A * Math.cos(x * T)) - M * (Math.cos(x * T) * (E + v * I * A) - x * A * Math.sin(x * T));
15692
+ const k = Math.exp(-v * I * T);
15693
+ return v * I * k * (Math.sin(x * T) * (E + v * I * A) / x + A * Math.cos(x * T)) - k * (Math.cos(x * T) * (E + v * I * A) - x * A * Math.sin(x * T));
15694
15694
  };
15695
15695
  } else if (v === 1)
15696
15696
  g = (x) => t - Math.exp(-I * x) * (A + (E + I * A) * x);
15697
15697
  else {
15698
15698
  const x = I * Math.sqrt(v * v - 1);
15699
15699
  g = (T) => {
15700
- const M = Math.exp(-v * I * T), F = Math.min(x * T, 300);
15701
- return t - M * ((E + v * I * A) * Math.sinh(F) + x * A * Math.cosh(F)) / x;
15700
+ const k = Math.exp(-v * I * T), F = Math.min(x * T, 300);
15701
+ return t - k * ((E + v * I * A) * Math.sinh(F) + x * A * Math.cosh(F)) / x;
15702
15702
  };
15703
15703
  }
15704
15704
  }
@@ -15910,7 +15910,7 @@ function td(i, e) {
15910
15910
  }
15911
15911
  function wo(i, e, { clamp: t = !0, ease: s, mixer: n } = {}) {
15912
15912
  const r = i.length;
15913
- Mn(r === e.length), Mn(!s || !Array.isArray(s) || s.length === r - 1), i[0] > i[r - 1] && (i = [].concat(i), e = [].concat(e), i.reverse(), e.reverse());
15913
+ kn(r === e.length), kn(!s || !Array.isArray(s) || s.length === r - 1), i[0] > i[r - 1] && (i = [].concat(i), e = [].concat(e), i.reverse(), e.reverse());
15914
15914
  const a = Qc(e, s, n), o = r === 2 ? ed(i, a) : td(i, a);
15915
15915
  return t ? (c) => o(Ss(i[0], i[r - 1], c)) : o;
15916
15916
  }
@@ -16028,24 +16028,24 @@ const bd = (i) => {
16028
16028
  };
16029
16029
  function Ed(i) {
16030
16030
  var e, t, { from: s, autoplay: n = !0, driver: r = bd, elapsed: a = 0, repeat: o = 0, repeatType: c = "loop", repeatDelay: d = 0, onPlay: f, onStop: u, onComplete: y, onRepeat: g, onUpdate: C } = i, b = ho(i, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
16031
- let { to: E } = b, A, v = 0, I = b.duration, x, T = !1, M = !0, F;
16031
+ let { to: E } = b, A, v = 0, I = b.duration, x, T = !1, k = !0, F;
16032
16032
  const L = cd(b);
16033
16033
  !((t = (e = L).needsInterpolation) === null || t === void 0) && t.call(e, s, E) && (F = wo([0, 100], [s, E], {
16034
16034
  clamp: !1
16035
16035
  }), s = 0, E = 100);
16036
16036
  const J = L(Object.assign(Object.assign({}, b), { from: s, to: E }));
16037
16037
  function X() {
16038
- v++, c === "reverse" ? (M = v % 2 === 0, a = Cd(a, I, d, M)) : (a = Oo(a, I, d), c === "mirror" && J.flipTarget()), T = !1, g && g();
16038
+ v++, c === "reverse" ? (k = v % 2 === 0, a = Cd(a, I, d, k)) : (a = Oo(a, I, d), c === "mirror" && J.flipTarget()), T = !1, g && g();
16039
16039
  }
16040
16040
  function ce() {
16041
16041
  A.stop(), y && y();
16042
16042
  }
16043
16043
  function fe(H) {
16044
- if (M || (H = -H), a += H, !T) {
16044
+ if (k || (H = -H), a += H, !T) {
16045
16045
  const se = J.next(Math.max(0, a));
16046
- x = se.value, F && (x = F(x)), T = M ? se.done : a <= 0;
16046
+ x = se.value, F && (x = F(x)), T = k ? se.done : a <= 0;
16047
16047
  }
16048
- C == null || C(x), T && (v === 0 && (I ?? (I = a)), v < o ? _d(a, I, d, M) && X() : ce());
16048
+ C == null || C(x), T && (v === 0 && (I ?? (I = a)), v < o ? _d(a, I, d, k) && X() : ce());
16049
16049
  }
16050
16050
  function pe() {
16051
16051
  f == null || f(), A = r(fe), A.start();
@@ -16322,7 +16322,7 @@ class Od {
16322
16322
  this.stopPulse(), this.el.remove();
16323
16323
  }
16324
16324
  }
16325
- const Ii = 30, kd = 3e3, Md = 500;
16325
+ const Ii = 30, Md = 3e3, kd = 500;
16326
16326
  class Nd {
16327
16327
  constructor(e) {
16328
16328
  this.prompts = [], this.promptIndex = 0, this.typeTimer = null, this.holdTimer = null, this.cycling = !1, this.currentAnim = null, this.onClick = null, this.onAccept = null, this.onDismiss = null, Je(), this.prompts = e ?? [
@@ -16387,7 +16387,7 @@ class Nd {
16387
16387
  this.promptIndex++, this.actionsEl.style.display = "none", this.typewrite(e, () => {
16388
16388
  this.holdTimer = setTimeout(() => {
16389
16389
  this.fadeOutAndNext();
16390
- }, kd);
16390
+ }, Md);
16391
16391
  });
16392
16392
  }
16393
16393
  fadeOutAndNext() {
@@ -16397,7 +16397,7 @@ class Nd {
16397
16397
  onComplete: () => {
16398
16398
  this.el.style.display = "none", setTimeout(() => {
16399
16399
  this.cycling && this.showNextPrompt();
16400
- }, Md);
16400
+ }, kd);
16401
16401
  }
16402
16402
  });
16403
16403
  }
@@ -17165,9 +17165,11 @@ class Zd {
17165
17165
  // -----------------------------------------------------------------------
17166
17166
  /** Move the conversation to a fixed bottom-center glass stage (inline mode). */
17167
17167
  moveToStage() {
17168
- var e;
17169
- !this.isInline || !((e = this.stage) != null && e.inlineTarget) || (this.stage.rootElement && (this.stage.rootElement.style.display = "none"), this.stage.inlineTarget.querySelectorAll("video, canvas").forEach((t) => {
17170
- t.style.display = "none", t instanceof HTMLVideoElement && t.pause();
17168
+ var t;
17169
+ if (!this.isInline || !((t = this.stage) != null && t.inlineTarget)) return;
17170
+ const e = this.stage.inlineTarget.querySelector(".hs-inline-card");
17171
+ e && (e.style.display = "none"), this.stage.inlineTarget.querySelectorAll("video").forEach((s) => {
17172
+ s instanceof HTMLVideoElement && s.pause();
17171
17173
  }), this.homePlaceholder = document.createElement("div"), this.homePlaceholder.setAttribute("data-hs-theme", "dark"), Object.assign(this.homePlaceholder.style, {
17172
17174
  display: "flex",
17173
17175
  alignItems: "center",
@@ -17180,14 +17182,16 @@ class Zd {
17180
17182
  textAlign: "center",
17181
17183
  padding: "var(--hs-space-4)",
17182
17184
  boxSizing: "border-box"
17183
- }), this.homePlaceholder.innerHTML = "Agent is active below&nbsp;&darr;", this.stage.inlineTarget.appendChild(this.homePlaceholder), this.stageBackdrop = new Hd(), this.stageEl = this.stageBackdrop.el, this.stageBackdrop.show(), console.log("[HolostaffWidget] Moved to glass stage (bottom-center)"));
17185
+ }), this.homePlaceholder.innerHTML = "Agent is active below&nbsp;&darr;", this.stage.inlineTarget.appendChild(this.homePlaceholder), this.stageBackdrop = new Hd(), this.stageEl = this.stageBackdrop.el, this.stageBackdrop.show(), console.log("[HolostaffWidget] Moved to glass stage (bottom-center)");
17184
17186
  }
17185
17187
  /** Return the avatar from the stage back to the inline home container. */
17186
17188
  returnToHome() {
17187
- var e, t, s;
17188
- (e = this.stageBackdrop) == null || e.destroy(), this.stageBackdrop = null, this.stageEl = null, (t = this.homePlaceholder) == null || t.remove(), this.homePlaceholder = null, (s = this.stage) != null && s.inlineTarget && (this.stage.rootElement && (this.stage.rootElement.style.display = ""), this.stage.inlineTarget.querySelectorAll("video, canvas").forEach((n) => {
17189
- n.style.display = "";
17190
- }), console.log("[HolostaffWidget] Returned to home (inline container)"));
17189
+ var t, s, n;
17190
+ if ((t = this.stageBackdrop) == null || t.destroy(), this.stageBackdrop = null, this.stageEl = null, (s = this.homePlaceholder) == null || s.remove(), this.homePlaceholder = null, !((n = this.stage) != null && n.inlineTarget)) return;
17191
+ const e = this.stage.inlineTarget.querySelector(".hs-inline-card");
17192
+ e && (e.style.display = ""), this.stage.inlineTarget.querySelectorAll(".hs-inline-card video").forEach((r) => {
17193
+ r.style.display = "", r instanceof HTMLVideoElement && r.play();
17194
+ }), console.log("[HolostaffWidget] Returned to home (inline container)");
17191
17195
  }
17192
17196
  /**
17193
17197
  * Watch the inline home container — show chat pill when it scrolls out
@@ -17420,20 +17424,10 @@ All actions except form filling require the visitor to confirm before executing.
17420
17424
  // End conversation
17421
17425
  // -----------------------------------------------------------------------
17422
17426
  endConversation() {
17423
- var t, s, n, r, a, o, c, d, f, u, y, g;
17427
+ var t, s, n, r, a, o, c, d, f, u, y;
17424
17428
  (t = this.logger) == null || t.flush(), this.logger = null, this.clearSessionTimers(), (s = this.controls) == null || s.hide(), this.controls = null, (n = this.audioForwarder) == null || n.stop(), this.audioForwarder = null, (r = this.anamSession) == null || r.close(), this.anamSession = null, (a = this.realtimeSession) == null || a.close(), this.realtimeSession = null, this.sessionResponse = null, this.avatarState = "idle", this.toolHandler = null, this.domAnalyzer = null, (o = this.highlightRenderer) == null || o.clearAll(), this.highlightRenderer = null, (c = this.confirmationPrompt) == null || c.dismiss(), this.confirmationPrompt = null, (d = this.overlayRenderer) == null || d.dismissAll(), this.overlayRenderer = null, this.avatar && this.stage && this.avatar.clearLiveVideo(this.stage.app.ticker);
17425
17429
  const e = this.buildConversationSummary();
17426
- if ((f = this.visionWs) == null || f.sendConversationEnded(e), (u = this.rrwebRecorder) == null || u.resume(), this.hasHadConversation = !0, this.state = "idle", document.querySelectorAll('[id^="anam-avatar-wrapper"]').forEach((C) => C.remove()), document.querySelectorAll('video[id^="anam-avatar-video"]').forEach((C) => C.remove()), this.isInline) {
17427
- if (this.returnToHome(), (y = this.stage) != null && y.inlineTarget) {
17428
- const C = this.stage.inlineTarget.querySelector(".hs-inline-card");
17429
- C && (C.style.display = "");
17430
- const b = this.stage.inlineTarget.querySelector("video");
17431
- b && (b.style.display = "", b.play());
17432
- }
17433
- this.startHomeObserver();
17434
- } else
17435
- this.avatar && (this.avatar.container.visible = !1), (g = this.stage) != null && g.rootElement && (this.stage.rootElement.style.display = "none"), this.showChatPill();
17436
- console.log("[HolostaffWidget] Conversation ended");
17430
+ (f = this.visionWs) == null || f.sendConversationEnded(e), (u = this.rrwebRecorder) == null || u.resume(), this.hasHadConversation = !0, this.state = "idle", document.querySelectorAll('[id^="anam-avatar-wrapper"]').forEach((g) => g.remove()), document.querySelectorAll('video[id^="anam-avatar-video"]').forEach((g) => g.remove()), this.isInline ? (this.returnToHome(), this.startHomeObserver()) : (this.avatar && (this.avatar.container.visible = !1), (y = this.stage) != null && y.rootElement && (this.stage.rootElement.style.display = "none"), this.showChatPill()), console.log("[HolostaffWidget] Conversation ended");
17437
17431
  }
17438
17432
  showChatPill() {
17439
17433
  var e;
@@ -17645,7 +17639,7 @@ export {
17645
17639
  sl as X,
17646
17640
  Zd as Y,
17647
17641
  Ye as a,
17648
- Mt as b,
17642
+ kt as b,
17649
17643
  Z as c,
17650
17644
  Er as d,
17651
17645
  Le as e,
@@ -17671,4 +17665,4 @@ export {
17671
17665
  nr as y,
17672
17666
  Fa as z
17673
17667
  };
17674
- //# sourceMappingURL=index-myoP5x2i.js.map
17668
+ //# sourceMappingURL=index-BWeKbYTR.js.map