@developer.notchatbot/webchat 1.4.2 → 1.4.3

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.
@@ -39,7 +39,7 @@ var Q = (e, t, n) => new Promise((r, o) => {
39
39
  function Ah(e) {
40
40
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
41
41
  }
42
- var Tc = { exports: {} }, O = {};
42
+ var Rc = { exports: {} }, O = {};
43
43
  /**
44
44
  * @license React
45
45
  * react.production.min.js
@@ -278,8 +278,8 @@ O.useTransition = function() {
278
278
  return Me.current.useTransition();
279
279
  };
280
280
  O.version = "18.3.1";
281
- Tc.exports = O;
282
- var C = Tc.exports;
281
+ Rc.exports = O;
282
+ var C = Rc.exports;
283
283
  const Ar = /* @__PURE__ */ Ah(C);
284
284
  var jc = { exports: {} }, He = {}, Oc = { exports: {} }, zc = {};
285
285
  /**
@@ -333,7 +333,7 @@ var jc = { exports: {} }, He = {}, Oc = { exports: {} }, zc = {};
333
333
  return i.now() - a;
334
334
  };
335
335
  }
336
- var l = [], u = [], c = 1, m = null, h = 3, b = !1, y = !1, w = !1, R = typeof setTimeout == "function" ? setTimeout : null, f = typeof clearTimeout == "function" ? clearTimeout : null, d = typeof setImmediate != "undefined" ? setImmediate : null;
336
+ var l = [], u = [], c = 1, m = null, h = 3, b = !1, y = !1, w = !1, T = typeof setTimeout == "function" ? setTimeout : null, f = typeof clearTimeout == "function" ? clearTimeout : null, d = typeof setImmediate != "undefined" ? setImmediate : null;
337
337
  typeof navigator != "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
338
338
  function p(S) {
339
339
  for (var A = n(u); A !== null; ) {
@@ -373,7 +373,7 @@ var jc = { exports: {} }, He = {}, Oc = { exports: {} }, zc = {};
373
373
  m = null, h = L, b = !1;
374
374
  }
375
375
  }
376
- var T = !1, _ = null, E = -1, $ = 5, M = -1;
376
+ var R = !1, _ = null, E = -1, $ = 5, M = -1;
377
377
  function D() {
378
378
  return !(e.unstable_now() - M < $);
379
379
  }
@@ -385,27 +385,27 @@ var jc = { exports: {} }, He = {}, Oc = { exports: {} }, zc = {};
385
385
  try {
386
386
  A = _(!0, S);
387
387
  } finally {
388
- A ? Te() : (T = !1, _ = null);
388
+ A ? Re() : (R = !1, _ = null);
389
389
  }
390
- } else T = !1;
390
+ } else R = !1;
391
391
  }
392
- var Te;
393
- if (typeof d == "function") Te = function() {
392
+ var Re;
393
+ if (typeof d == "function") Re = function() {
394
394
  d(ie);
395
395
  };
396
396
  else if (typeof MessageChannel != "undefined") {
397
397
  var I = new MessageChannel(), j = I.port2;
398
- I.port1.onmessage = ie, Te = function() {
398
+ I.port1.onmessage = ie, Re = function() {
399
399
  j.postMessage(null);
400
400
  };
401
- } else Te = function() {
402
- R(ie, 0);
401
+ } else Re = function() {
402
+ T(ie, 0);
403
403
  };
404
404
  function U(S) {
405
- _ = S, T || (T = !0, Te());
405
+ _ = S, R || (R = !0, Re());
406
406
  }
407
407
  function F(S, A) {
408
- E = R(function() {
408
+ E = T(function() {
409
409
  S(e.unstable_now());
410
410
  }, A);
411
411
  }
@@ -604,7 +604,7 @@ function Da(e, t, n, r) {
604
604
  var o = xe.hasOwnProperty(t) ? xe[t] : null;
605
605
  (o !== null ? o.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (ep(t, n, o, r) && (n = null), r || o === null ? Gh(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : o.mustUseProperty ? e[o.propertyName] = n === null ? o.type === 3 ? !1 : "" : n : (t = o.attributeName, r = o.attributeNamespace, n === null ? e.removeAttribute(t) : (o = o.type, n = o === 3 || o === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))));
606
606
  }
607
- var Lt = Xh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, fo = Symbol.for("react.element"), Rn = Symbol.for("react.portal"), Tn = Symbol.for("react.fragment"), Fa = Symbol.for("react.strict_mode"), Ni = Symbol.for("react.profiler"), Fc = Symbol.for("react.provider"), Bc = Symbol.for("react.context"), Ba = Symbol.for("react.forward_ref"), Mi = Symbol.for("react.suspense"), Ai = Symbol.for("react.suspense_list"), Ua = Symbol.for("react.memo"), Ot = Symbol.for("react.lazy"), Uc = Symbol.for("react.offscreen"), ou = Symbol.iterator;
607
+ var Lt = Xh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, fo = Symbol.for("react.element"), Tn = Symbol.for("react.portal"), Rn = Symbol.for("react.fragment"), Fa = Symbol.for("react.strict_mode"), Ni = Symbol.for("react.profiler"), Fc = Symbol.for("react.provider"), Bc = Symbol.for("react.context"), Ba = Symbol.for("react.forward_ref"), Mi = Symbol.for("react.suspense"), Ai = Symbol.for("react.suspense_list"), Ua = Symbol.for("react.memo"), Ot = Symbol.for("react.lazy"), Uc = Symbol.for("react.offscreen"), ou = Symbol.iterator;
608
608
  function or(e) {
609
609
  return e === null || typeof e != "object" ? null : (e = ou && e[ou] || e["@@iterator"], typeof e == "function" ? e : null);
610
610
  }
@@ -702,9 +702,9 @@ function Li(e) {
702
702
  if (typeof e == "function") return e.displayName || e.name || null;
703
703
  if (typeof e == "string") return e;
704
704
  switch (e) {
705
- case Tn:
706
- return "Fragment";
707
705
  case Rn:
706
+ return "Fragment";
707
+ case Tn:
708
708
  return "Portal";
709
709
  case Ni:
710
710
  return "Profiler";
@@ -1485,7 +1485,7 @@ function Ep(e, t, n, r) {
1485
1485
  H = o, Un.transition = s;
1486
1486
  }
1487
1487
  }
1488
- function Rp(e, t, n, r) {
1488
+ function Tp(e, t, n, r) {
1489
1489
  var o = H, s = Un.transition;
1490
1490
  Un.transition = null;
1491
1491
  try {
@@ -1650,7 +1650,7 @@ function Ye(e) {
1650
1650
  }
1651
1651
  var nr = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
1652
1652
  return e.timeStamp || Date.now();
1653
- }, defaultPrevented: 0, isTrusted: 0 }, Ka = Ye(nr), oo = oe({}, nr, { view: 0, detail: 0 }), Tp = Ye(oo), ri, oi, lr, Ns = oe({}, oo, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Xa, button: 0, buttons: 0, relatedTarget: function(e) {
1653
+ }, defaultPrevented: 0, isTrusted: 0 }, Ka = Ye(nr), oo = oe({}, nr, { view: 0, detail: 0 }), Rp = Ye(oo), ri, oi, lr, Ns = oe({}, oo, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Xa, button: 0, buttons: 0, relatedTarget: function(e) {
1654
1654
  return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
1655
1655
  }, movementX: function(e) {
1656
1656
  return "movementX" in e ? e.movementX : (e !== lr && (lr && e.type === "mousemove" ? (ri = e.screenX - lr.screenX, oi = e.screenY - lr.screenY) : oi = ri = 0, lr = e), ri);
@@ -1938,16 +1938,16 @@ function As(e) {
1938
1938
  for (n in t) if (t.hasOwnProperty(n) && n in Ed) return li[e] = t[n];
1939
1939
  return e;
1940
1940
  }
1941
- var Rd = As("animationend"), Td = As("animationiteration"), _d = As("animationstart"), Id = As("transitionend"), Pd = /* @__PURE__ */ new Map(), Ru = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
1941
+ var Td = As("animationend"), Rd = As("animationiteration"), _d = As("animationstart"), Id = As("transitionend"), Pd = /* @__PURE__ */ new Map(), Tu = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
1942
1942
  function en(e, t) {
1943
1943
  Pd.set(e, t), vn(t, [e]);
1944
1944
  }
1945
- for (var ui = 0; ui < Ru.length; ui++) {
1946
- var ci = Ru[ui], ug = ci.toLowerCase(), cg = ci[0].toUpperCase() + ci.slice(1);
1945
+ for (var ui = 0; ui < Tu.length; ui++) {
1946
+ var ci = Tu[ui], ug = ci.toLowerCase(), cg = ci[0].toUpperCase() + ci.slice(1);
1947
1947
  en(ug, "on" + cg);
1948
1948
  }
1949
- en(Rd, "onAnimationEnd");
1950
- en(Td, "onAnimationIteration");
1949
+ en(Td, "onAnimationEnd");
1950
+ en(Rd, "onAnimationIteration");
1951
1951
  en(_d, "onAnimationStart");
1952
1952
  en("dblclick", "onDoubleClick");
1953
1953
  en("focusin", "onFocus");
@@ -1964,7 +1964,7 @@ vn("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown
1964
1964
  vn("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
1965
1965
  vn("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
1966
1966
  var yr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), dg = new Set("cancel close invalid load scroll toggle".split(" ").concat(yr));
1967
- function Tu(e, t, n) {
1967
+ function Ru(e, t, n) {
1968
1968
  var r = e.type || "unknown-event";
1969
1969
  e.currentTarget = n, up(r, t, void 0, e), e.currentTarget = null;
1970
1970
  }
@@ -1978,11 +1978,11 @@ function Nd(e, t) {
1978
1978
  if (t) for (var i = r.length - 1; 0 <= i; i--) {
1979
1979
  var a = r[i], l = a.instance, u = a.currentTarget;
1980
1980
  if (a = a.listener, l !== s && o.isPropagationStopped()) break e;
1981
- Tu(o, a, u), s = l;
1981
+ Ru(o, a, u), s = l;
1982
1982
  }
1983
1983
  else for (i = 0; i < r.length; i++) {
1984
1984
  if (a = r[i], l = a.instance, u = a.currentTarget, a = a.listener, l !== s && o.isPropagationStopped()) break e;
1985
- Tu(o, a, u), s = l;
1985
+ Ru(o, a, u), s = l;
1986
1986
  }
1987
1987
  }
1988
1988
  }
@@ -2014,7 +2014,7 @@ function Md(e, t, n, r) {
2014
2014
  var o = Ep;
2015
2015
  break;
2016
2016
  case 4:
2017
- o = Rp;
2017
+ o = Tp;
2018
2018
  break;
2019
2019
  default:
2020
2020
  o = Ha;
@@ -2096,8 +2096,8 @@ function fi(e, t, n, r, o) {
2096
2096
  case "touchstart":
2097
2097
  b = Vp;
2098
2098
  break;
2099
- case Rd:
2100
2099
  case Td:
2100
+ case Rd:
2101
2101
  case _d:
2102
2102
  b = Mp;
2103
2103
  break;
@@ -2105,7 +2105,7 @@ function fi(e, t, n, r, o) {
2105
2105
  b = Qp;
2106
2106
  break;
2107
2107
  case "scroll":
2108
- b = Tp;
2108
+ b = Rp;
2109
2109
  break;
2110
2110
  case "wheel":
2111
2111
  b = Yp;
@@ -2125,12 +2125,12 @@ function fi(e, t, n, r, o) {
2125
2125
  case "pointerup":
2126
2126
  b = yu;
2127
2127
  }
2128
- var w = (t & 4) !== 0, R = !w && e === "scroll", f = w ? h !== null ? h + "Capture" : null : h;
2128
+ var w = (t & 4) !== 0, T = !w && e === "scroll", f = w ? h !== null ? h + "Capture" : null : h;
2129
2129
  w = [];
2130
2130
  for (var d = u, p; d !== null; ) {
2131
2131
  p = d;
2132
2132
  var v = p.stateNode;
2133
- if (p.tag === 5 && v !== null && (p = v, f !== null && (v = jr(d, f), v != null && w.push(qr(d, v, p)))), R) break;
2133
+ if (p.tag === 5 && v !== null && (p = v, f !== null && (v = jr(d, f), v != null && w.push(qr(d, v, p)))), T) break;
2134
2134
  d = d.return;
2135
2135
  }
2136
2136
  0 < w.length && (h = new b(h, y, null, n, c), m.push({ event: h, listeners: w }));
@@ -2139,8 +2139,8 @@ function fi(e, t, n, r, o) {
2139
2139
  if (!(t & 7)) {
2140
2140
  e: {
2141
2141
  if (h = e === "mouseover" || e === "pointerover", b = e === "mouseout" || e === "pointerout", h && n !== Ui && (y = n.relatedTarget || n.fromElement) && (an(y) || y[Nt])) break e;
2142
- if ((b || h) && (h = c.window === c ? c : (h = c.ownerDocument) ? h.defaultView || h.parentWindow : window, b ? (y = n.relatedTarget || n.toElement, b = u, y = y ? an(y) : null, y !== null && (R = bn(y), y !== R || y.tag !== 5 && y.tag !== 6) && (y = null)) : (b = null, y = u), b !== y)) {
2143
- if (w = gu, v = "onMouseLeave", f = "onMouseEnter", d = "mouse", (e === "pointerout" || e === "pointerover") && (w = yu, v = "onPointerLeave", f = "onPointerEnter", d = "pointer"), R = b == null ? h : Nn(b), p = y == null ? h : Nn(y), h = new w(v, d + "leave", b, n, c), h.target = R, h.relatedTarget = p, v = null, an(c) === u && (w = new w(f, d + "enter", y, n, c), w.target = p, w.relatedTarget = R, v = w), R = v, b && y) t: {
2142
+ if ((b || h) && (h = c.window === c ? c : (h = c.ownerDocument) ? h.defaultView || h.parentWindow : window, b ? (y = n.relatedTarget || n.toElement, b = u, y = y ? an(y) : null, y !== null && (T = bn(y), y !== T || y.tag !== 5 && y.tag !== 6) && (y = null)) : (b = null, y = u), b !== y)) {
2143
+ if (w = gu, v = "onMouseLeave", f = "onMouseEnter", d = "mouse", (e === "pointerout" || e === "pointerover") && (w = yu, v = "onPointerLeave", f = "onPointerEnter", d = "pointer"), T = b == null ? h : Nn(b), p = y == null ? h : Nn(y), h = new w(v, d + "leave", b, n, c), h.target = T, h.relatedTarget = p, v = null, an(c) === u && (w = new w(f, d + "enter", y, n, c), w.target = p, w.relatedTarget = T, v = w), T = v, b && y) t: {
2144
2144
  for (w = b, f = y, d = 0, p = w; p; p = Sn(p)) d++;
2145
2145
  for (p = 0, v = f; v; v = Sn(v)) p++;
2146
2146
  for (; 0 < d - p; ) w = Sn(w), d--;
@@ -2152,7 +2152,7 @@ function fi(e, t, n, r, o) {
2152
2152
  w = null;
2153
2153
  }
2154
2154
  else w = null;
2155
- b !== null && _u(m, h, b, w, !1), y !== null && R !== null && _u(m, R, y, w, !0);
2155
+ b !== null && _u(m, h, b, w, !1), y !== null && T !== null && _u(m, T, y, w, !0);
2156
2156
  }
2157
2157
  }
2158
2158
  e: {
@@ -2160,18 +2160,18 @@ function fi(e, t, n, r, o) {
2160
2160
  else if (bu(h)) if (xd) k = sg;
2161
2161
  else {
2162
2162
  k = rg;
2163
- var T = ng;
2163
+ var R = ng;
2164
2164
  }
2165
2165
  else (b = h.nodeName) && b.toLowerCase() === "input" && (h.type === "checkbox" || h.type === "radio") && (k = og);
2166
2166
  if (k && (k = k(e, u))) {
2167
2167
  bd(m, k, n, c);
2168
2168
  break e;
2169
2169
  }
2170
- T && T(e, h, u), e === "focusout" && (T = h._wrapperState) && T.controlled && h.type === "number" && Oi(h, "number", h.value);
2170
+ R && R(e, h, u), e === "focusout" && (R = h._wrapperState) && R.controlled && h.type === "number" && Oi(h, "number", h.value);
2171
2171
  }
2172
- switch (T = u ? Nn(u) : window, e) {
2172
+ switch (R = u ? Nn(u) : window, e) {
2173
2173
  case "focusin":
2174
- (bu(T) || T.contentEditable === "true") && (In = T, Ki = u, Sr = null);
2174
+ (bu(R) || R.contentEditable === "true") && (In = R, Ki = u, Sr = null);
2175
2175
  break;
2176
2176
  case "focusout":
2177
2177
  Sr = Ki = In = null;
@@ -2206,7 +2206,7 @@ function fi(e, t, n, r, o) {
2206
2206
  E = void 0;
2207
2207
  }
2208
2208
  else _n ? wd(e, n) && (E = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (E = "onCompositionStart");
2209
- E && (yd && n.locale !== "ko" && (_n || E !== "onCompositionStart" ? E === "onCompositionEnd" && _n && (_ = md()) : (Ut = c, Ya = "value" in Ut ? Ut.value : Ut.textContent, _n = !0)), T = os(u, E), 0 < T.length && (E = new mu(E, e, null, n, c), m.push({ event: E, listeners: T }), _ ? E.data = _ : (_ = vd(n), _ !== null && (E.data = _)))), (_ = Xp ? Zp(e, n) : Gp(e, n)) && (u = os(u, "onBeforeInput"), 0 < u.length && (c = new mu("onBeforeInput", "beforeinput", null, n, c), m.push({ event: c, listeners: u }), c.data = _));
2209
+ E && (yd && n.locale !== "ko" && (_n || E !== "onCompositionStart" ? E === "onCompositionEnd" && _n && (_ = md()) : (Ut = c, Ya = "value" in Ut ? Ut.value : Ut.textContent, _n = !0)), R = os(u, E), 0 < R.length && (E = new mu(E, e, null, n, c), m.push({ event: E, listeners: R }), _ ? E.data = _ : (_ = vd(n), _ !== null && (E.data = _)))), (_ = Xp ? Zp(e, n) : Gp(e, n)) && (u = os(u, "onBeforeInput"), 0 < u.length && (c = new mu("onBeforeInput", "beforeinput", null, n, c), m.push({ event: c, listeners: u }), c.data = _));
2210
2210
  }
2211
2211
  Nd(m, t);
2212
2212
  });
@@ -2334,7 +2334,7 @@ function ee(e) {
2334
2334
  function X(e, t) {
2335
2335
  Mn++, na[Mn] = e.current, e.current = t;
2336
2336
  }
2337
- var Jt = {}, Re = tn(Jt), Oe = tn(!1), hn = Jt;
2337
+ var Jt = {}, Te = tn(Jt), Oe = tn(!1), hn = Jt;
2338
2338
  function Hn(e, t) {
2339
2339
  var n = e.type.contextTypes;
2340
2340
  if (!n) return Jt;
@@ -2348,11 +2348,11 @@ function ze(e) {
2348
2348
  return e = e.childContextTypes, e != null;
2349
2349
  }
2350
2350
  function is() {
2351
- ee(Oe), ee(Re);
2351
+ ee(Oe), ee(Te);
2352
2352
  }
2353
2353
  function Mu(e, t, n) {
2354
- if (Re.current !== Jt) throw Error(x(168));
2355
- X(Re, t), X(Oe, n);
2354
+ if (Te.current !== Jt) throw Error(x(168));
2355
+ X(Te, t), X(Oe, n);
2356
2356
  }
2357
2357
  function Ad(e, t, n) {
2358
2358
  var r = e.stateNode;
@@ -2362,12 +2362,12 @@ function Ad(e, t, n) {
2362
2362
  return oe({}, n, r);
2363
2363
  }
2364
2364
  function as(e) {
2365
- return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || Jt, hn = Re.current, X(Re, e), X(Oe, Oe.current), !0;
2365
+ return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || Jt, hn = Te.current, X(Te, e), X(Oe, Oe.current), !0;
2366
2366
  }
2367
2367
  function Au(e, t, n) {
2368
2368
  var r = e.stateNode;
2369
2369
  if (!r) throw Error(x(169));
2370
- n ? (e = Ad(e, t, hn), r.__reactInternalMemoizedMergedChildContext = e, ee(Oe), ee(Re), X(Re, e)) : ee(Oe), X(Oe, n);
2370
+ n ? (e = Ad(e, t, hn), r.__reactInternalMemoizedMergedChildContext = e, ee(Oe), ee(Te), X(Te, e)) : ee(Oe), X(Oe, n);
2371
2371
  }
2372
2372
  var Ct = null, $s = !1, pi = !1;
2373
2373
  function Ld(e) {
@@ -2397,28 +2397,28 @@ function nn() {
2397
2397
  }
2398
2398
  return null;
2399
2399
  }
2400
- var An = [], Ln = 0, ls = null, us = 0, Ge = [], Je = 0, pn = null, Et = 1, Rt = "";
2400
+ var An = [], Ln = 0, ls = null, us = 0, Ge = [], Je = 0, pn = null, Et = 1, Tt = "";
2401
2401
  function on(e, t) {
2402
2402
  An[Ln++] = us, An[Ln++] = ls, ls = e, us = t;
2403
2403
  }
2404
2404
  function $d(e, t, n) {
2405
- Ge[Je++] = Et, Ge[Je++] = Rt, Ge[Je++] = pn, pn = e;
2405
+ Ge[Je++] = Et, Ge[Je++] = Tt, Ge[Je++] = pn, pn = e;
2406
2406
  var r = Et;
2407
- e = Rt;
2407
+ e = Tt;
2408
2408
  var o = 32 - ut(r) - 1;
2409
2409
  r &= ~(1 << o), n += 1;
2410
2410
  var s = 32 - ut(t) + o;
2411
2411
  if (30 < s) {
2412
2412
  var i = o - o % 5;
2413
- s = (r & (1 << i) - 1).toString(32), r >>= i, o -= i, Et = 1 << 32 - ut(t) + o | n << o | r, Rt = s + e;
2414
- } else Et = 1 << s | n << o | r, Rt = e;
2413
+ s = (r & (1 << i) - 1).toString(32), r >>= i, o -= i, Et = 1 << 32 - ut(t) + o | n << o | r, Tt = s + e;
2414
+ } else Et = 1 << s | n << o | r, Tt = e;
2415
2415
  }
2416
2416
  function Ja(e) {
2417
2417
  e.return !== null && (on(e, 1), $d(e, 1, 0));
2418
2418
  }
2419
2419
  function el(e) {
2420
2420
  for (; e === ls; ) ls = An[--Ln], An[Ln] = null, us = An[--Ln], An[Ln] = null;
2421
- for (; e === pn; ) pn = Ge[--Je], Ge[Je] = null, Rt = Ge[--Je], Ge[Je] = null, Et = Ge[--Je], Ge[Je] = null;
2421
+ for (; e === pn; ) pn = Ge[--Je], Ge[Je] = null, Tt = Ge[--Je], Ge[Je] = null, Et = Ge[--Je], Ge[Je] = null;
2422
2422
  }
2423
2423
  var We = null, Ve = null, te = !1, lt = null;
2424
2424
  function jd(e, t) {
@@ -2433,7 +2433,7 @@ function Lu(e, t) {
2433
2433
  case 6:
2434
2434
  return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, We = e, Ve = null, !0) : !1;
2435
2435
  case 13:
2436
- return t = t.nodeType !== 8 ? null : t, t !== null ? (n = pn !== null ? { id: Et, overflow: Rt } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = et(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, We = e, Ve = null, !0) : !1;
2436
+ return t = t.nodeType !== 8 ? null : t, t !== null ? (n = pn !== null ? { id: Et, overflow: Tt } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = et(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, We = e, Ve = null, !0) : !1;
2437
2437
  default:
2438
2438
  return !1;
2439
2439
  }
@@ -2557,7 +2557,7 @@ function zd(e) {
2557
2557
  }
2558
2558
  function l(f, d, p, v) {
2559
2559
  var k = p.type;
2560
- return k === Tn ? c(f, d, p.props.children, v, p.key) : d !== null && (d.elementType === k || typeof k == "object" && k !== null && k.$$typeof === Ot && ju(k) === d.type) ? (v = o(d, p.props), v.ref = ur(f, d, p), v.return = f, v) : (v = qo(p.type, p.key, p.props, null, f.mode, v), v.ref = ur(f, d, p), v.return = f, v);
2560
+ return k === Rn ? c(f, d, p.props.children, v, p.key) : d !== null && (d.elementType === k || typeof k == "object" && k !== null && k.$$typeof === Ot && ju(k) === d.type) ? (v = o(d, p.props), v.ref = ur(f, d, p), v.return = f, v) : (v = qo(p.type, p.key, p.props, null, f.mode, v), v.ref = ur(f, d, p), v.return = f, v);
2561
2561
  }
2562
2562
  function u(f, d, p, v) {
2563
2563
  return d === null || d.tag !== 4 || d.stateNode.containerInfo !== p.containerInfo || d.stateNode.implementation !== p.implementation ? (d = ki(p, f.mode, v), d.return = f, d) : (d = o(d, p.children || []), d.return = f, d);
@@ -2571,7 +2571,7 @@ function zd(e) {
2571
2571
  switch (d.$$typeof) {
2572
2572
  case fo:
2573
2573
  return p = qo(d.type, d.key, d.props, null, f.mode, p), p.ref = ur(f, null, d), p.return = f, p;
2574
- case Rn:
2574
+ case Tn:
2575
2575
  return d = ki(d, f.mode, p), d.return = f, d;
2576
2576
  case Ot:
2577
2577
  var v = d._init;
@@ -2589,7 +2589,7 @@ function zd(e) {
2589
2589
  switch (p.$$typeof) {
2590
2590
  case fo:
2591
2591
  return p.key === k ? l(f, d, p, v) : null;
2592
- case Rn:
2592
+ case Tn:
2593
2593
  return p.key === k ? u(f, d, p, v) : null;
2594
2594
  case Ot:
2595
2595
  return k = p._init, h(
@@ -2610,11 +2610,11 @@ function zd(e) {
2610
2610
  switch (v.$$typeof) {
2611
2611
  case fo:
2612
2612
  return f = f.get(v.key === null ? p : v.key) || null, l(d, f, v, k);
2613
- case Rn:
2613
+ case Tn:
2614
2614
  return f = f.get(v.key === null ? p : v.key) || null, u(d, f, v, k);
2615
2615
  case Ot:
2616
- var T = v._init;
2617
- return b(f, d, p, T(v._payload), k);
2616
+ var R = v._init;
2617
+ return b(f, d, p, R(v._payload), k);
2618
2618
  }
2619
2619
  if (gr(v) || or(v)) return f = f.get(p) || null, c(d, f, v, k, null);
2620
2620
  So(d, v);
@@ -2622,21 +2622,21 @@ function zd(e) {
2622
2622
  return null;
2623
2623
  }
2624
2624
  function y(f, d, p, v) {
2625
- for (var k = null, T = null, _ = d, E = d = 0, $ = null; _ !== null && E < p.length; E++) {
2625
+ for (var k = null, R = null, _ = d, E = d = 0, $ = null; _ !== null && E < p.length; E++) {
2626
2626
  _.index > E ? ($ = _, _ = null) : $ = _.sibling;
2627
2627
  var M = h(f, _, p[E], v);
2628
2628
  if (M === null) {
2629
2629
  _ === null && (_ = $);
2630
2630
  break;
2631
2631
  }
2632
- e && _ && M.alternate === null && t(f, _), d = s(M, d, E), T === null ? k = M : T.sibling = M, T = M, _ = $;
2632
+ e && _ && M.alternate === null && t(f, _), d = s(M, d, E), R === null ? k = M : R.sibling = M, R = M, _ = $;
2633
2633
  }
2634
2634
  if (E === p.length) return n(f, _), te && on(f, E), k;
2635
2635
  if (_ === null) {
2636
- for (; E < p.length; E++) _ = m(f, p[E], v), _ !== null && (d = s(_, d, E), T === null ? k = _ : T.sibling = _, T = _);
2636
+ for (; E < p.length; E++) _ = m(f, p[E], v), _ !== null && (d = s(_, d, E), R === null ? k = _ : R.sibling = _, R = _);
2637
2637
  return te && on(f, E), k;
2638
2638
  }
2639
- for (_ = r(f, _); E < p.length; E++) $ = b(_, f, E, p[E], v), $ !== null && (e && $.alternate !== null && _.delete($.key === null ? E : $.key), d = s($, d, E), T === null ? k = $ : T.sibling = $, T = $);
2639
+ for (_ = r(f, _); E < p.length; E++) $ = b(_, f, E, p[E], v), $ !== null && (e && $.alternate !== null && _.delete($.key === null ? E : $.key), d = s($, d, E), R === null ? k = $ : R.sibling = $, R = $);
2640
2640
  return e && _.forEach(function(D) {
2641
2641
  return t(f, D);
2642
2642
  }), te && on(f, E), k;
@@ -2645,56 +2645,56 @@ function zd(e) {
2645
2645
  var k = or(p);
2646
2646
  if (typeof k != "function") throw Error(x(150));
2647
2647
  if (p = k.call(p), p == null) throw Error(x(151));
2648
- for (var T = k = null, _ = d, E = d = 0, $ = null, M = p.next(); _ !== null && !M.done; E++, M = p.next()) {
2648
+ for (var R = k = null, _ = d, E = d = 0, $ = null, M = p.next(); _ !== null && !M.done; E++, M = p.next()) {
2649
2649
  _.index > E ? ($ = _, _ = null) : $ = _.sibling;
2650
2650
  var D = h(f, _, M.value, v);
2651
2651
  if (D === null) {
2652
2652
  _ === null && (_ = $);
2653
2653
  break;
2654
2654
  }
2655
- e && _ && D.alternate === null && t(f, _), d = s(D, d, E), T === null ? k = D : T.sibling = D, T = D, _ = $;
2655
+ e && _ && D.alternate === null && t(f, _), d = s(D, d, E), R === null ? k = D : R.sibling = D, R = D, _ = $;
2656
2656
  }
2657
2657
  if (M.done) return n(
2658
2658
  f,
2659
2659
  _
2660
2660
  ), te && on(f, E), k;
2661
2661
  if (_ === null) {
2662
- for (; !M.done; E++, M = p.next()) M = m(f, M.value, v), M !== null && (d = s(M, d, E), T === null ? k = M : T.sibling = M, T = M);
2662
+ for (; !M.done; E++, M = p.next()) M = m(f, M.value, v), M !== null && (d = s(M, d, E), R === null ? k = M : R.sibling = M, R = M);
2663
2663
  return te && on(f, E), k;
2664
2664
  }
2665
- for (_ = r(f, _); !M.done; E++, M = p.next()) M = b(_, f, E, M.value, v), M !== null && (e && M.alternate !== null && _.delete(M.key === null ? E : M.key), d = s(M, d, E), T === null ? k = M : T.sibling = M, T = M);
2665
+ for (_ = r(f, _); !M.done; E++, M = p.next()) M = b(_, f, E, M.value, v), M !== null && (e && M.alternate !== null && _.delete(M.key === null ? E : M.key), d = s(M, d, E), R === null ? k = M : R.sibling = M, R = M);
2666
2666
  return e && _.forEach(function(ie) {
2667
2667
  return t(f, ie);
2668
2668
  }), te && on(f, E), k;
2669
2669
  }
2670
- function R(f, d, p, v) {
2671
- if (typeof p == "object" && p !== null && p.type === Tn && p.key === null && (p = p.props.children), typeof p == "object" && p !== null) {
2670
+ function T(f, d, p, v) {
2671
+ if (typeof p == "object" && p !== null && p.type === Rn && p.key === null && (p = p.props.children), typeof p == "object" && p !== null) {
2672
2672
  switch (p.$$typeof) {
2673
2673
  case fo:
2674
2674
  e: {
2675
- for (var k = p.key, T = d; T !== null; ) {
2676
- if (T.key === k) {
2677
- if (k = p.type, k === Tn) {
2678
- if (T.tag === 7) {
2679
- n(f, T.sibling), d = o(T, p.props.children), d.return = f, f = d;
2675
+ for (var k = p.key, R = d; R !== null; ) {
2676
+ if (R.key === k) {
2677
+ if (k = p.type, k === Rn) {
2678
+ if (R.tag === 7) {
2679
+ n(f, R.sibling), d = o(R, p.props.children), d.return = f, f = d;
2680
2680
  break e;
2681
2681
  }
2682
- } else if (T.elementType === k || typeof k == "object" && k !== null && k.$$typeof === Ot && ju(k) === T.type) {
2683
- n(f, T.sibling), d = o(T, p.props), d.ref = ur(f, T, p), d.return = f, f = d;
2682
+ } else if (R.elementType === k || typeof k == "object" && k !== null && k.$$typeof === Ot && ju(k) === R.type) {
2683
+ n(f, R.sibling), d = o(R, p.props), d.ref = ur(f, R, p), d.return = f, f = d;
2684
2684
  break e;
2685
2685
  }
2686
- n(f, T);
2686
+ n(f, R);
2687
2687
  break;
2688
- } else t(f, T);
2689
- T = T.sibling;
2688
+ } else t(f, R);
2689
+ R = R.sibling;
2690
2690
  }
2691
- p.type === Tn ? (d = dn(p.props.children, f.mode, v, p.key), d.return = f, f = d) : (v = qo(p.type, p.key, p.props, null, f.mode, v), v.ref = ur(f, d, p), v.return = f, f = v);
2691
+ p.type === Rn ? (d = dn(p.props.children, f.mode, v, p.key), d.return = f, f = d) : (v = qo(p.type, p.key, p.props, null, f.mode, v), v.ref = ur(f, d, p), v.return = f, f = v);
2692
2692
  }
2693
2693
  return i(f);
2694
- case Rn:
2694
+ case Tn:
2695
2695
  e: {
2696
- for (T = p.key; d !== null; ) {
2697
- if (d.key === T) if (d.tag === 4 && d.stateNode.containerInfo === p.containerInfo && d.stateNode.implementation === p.implementation) {
2696
+ for (R = p.key; d !== null; ) {
2697
+ if (d.key === R) if (d.tag === 4 && d.stateNode.containerInfo === p.containerInfo && d.stateNode.implementation === p.implementation) {
2698
2698
  n(f, d.sibling), d = o(d, p.children || []), d.return = f, f = d;
2699
2699
  break e;
2700
2700
  } else {
@@ -2708,7 +2708,7 @@ function zd(e) {
2708
2708
  }
2709
2709
  return i(f);
2710
2710
  case Ot:
2711
- return T = p._init, R(f, d, T(p._payload), v);
2711
+ return R = p._init, T(f, d, R(p._payload), v);
2712
2712
  }
2713
2713
  if (gr(p)) return y(f, d, p, v);
2714
2714
  if (or(p)) return w(f, d, p, v);
@@ -2716,7 +2716,7 @@ function zd(e) {
2716
2716
  }
2717
2717
  return typeof p == "string" && p !== "" || typeof p == "number" ? (p = "" + p, d !== null && d.tag === 6 ? (n(f, d.sibling), d = o(d, p), d.return = f, f = d) : (n(f, d), d = xi(p, f.mode, v), d.return = f, f = d), i(f)) : n(f, d);
2718
2718
  }
2719
- return R;
2719
+ return T;
2720
2720
  }
2721
2721
  var Kn = zd(!0), Dd = zd(!1), cs = tn(null), ds = null, $n = null, nl = null;
2722
2722
  function rl() {
@@ -2932,11 +2932,11 @@ function cl(e, t) {
2932
2932
  return !0;
2933
2933
  }
2934
2934
  function dl(e, t, n, r, o, s) {
2935
- if (gn = s, re = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, zo.current = e === null || e.memoizedState === null ? Eg : Rg, e = n(r, o), Cr) {
2935
+ if (gn = s, re = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, zo.current = e === null || e.memoizedState === null ? Eg : Tg, e = n(r, o), Cr) {
2936
2936
  s = 0;
2937
2937
  do {
2938
2938
  if (Cr = !1, Hr = 0, 25 <= s) throw Error(x(301));
2939
- s += 1, ge = fe = null, t.updateQueue = null, zo.current = Tg, e = n(r, o);
2939
+ s += 1, ge = fe = null, t.updateQueue = null, zo.current = Rg, e = n(r, o);
2940
2940
  } while (Cr);
2941
2941
  }
2942
2942
  if (zo.current = gs, t = fe !== null && fe.next !== null, gn = 0, ge = fe = re = null, ps = !1, t) throw Error(x(300));
@@ -3226,11 +3226,11 @@ var gs = { readContext: rt, useCallback: ke, useContext: ke, useEffect: ke, useI
3226
3226
  }, useId: function() {
3227
3227
  var e = mt(), t = me.identifierPrefix;
3228
3228
  if (te) {
3229
- var n = Rt, r = Et;
3229
+ var n = Tt, r = Et;
3230
3230
  n = (r & ~(1 << 32 - ut(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = Hr++, 0 < n && (t += "H" + n.toString(32)), t += ":";
3231
3231
  } else n = xg++, t = ":" + t + "r" + n.toString(32) + ":";
3232
3232
  return e.memoizedState = t;
3233
- }, unstable_isNewReconciler: !1 }, Rg = {
3233
+ }, unstable_isNewReconciler: !1 }, Tg = {
3234
3234
  readContext: rt,
3235
3235
  useCallback: tf,
3236
3236
  useContext: rt,
@@ -3257,7 +3257,7 @@ var gs = { readContext: rt, useCallback: ke, useContext: ke, useEffect: ke, useI
3257
3257
  useSyncExternalStore: Vd,
3258
3258
  useId: of,
3259
3259
  unstable_isNewReconciler: !1
3260
- }, Tg = { readContext: rt, useCallback: tf, useContext: rt, useEffect: hl, useImperativeHandle: ef, useInsertionEffect: Zd, useLayoutEffect: Gd, useMemo: nf, useReducer: wi, useRef: Xd, useState: function() {
3260
+ }, Rg = { readContext: rt, useCallback: tf, useContext: rt, useEffect: hl, useImperativeHandle: ef, useInsertionEffect: Zd, useLayoutEffect: Gd, useMemo: nf, useReducer: wi, useRef: Xd, useState: function() {
3261
3261
  return wi(Yr);
3262
3262
  }, useDebugValue: pl, useDeferredValue: function(e) {
3263
3263
  var t = ot();
@@ -3297,7 +3297,7 @@ function Bu(e, t, n, r, o, s, i) {
3297
3297
  }
3298
3298
  function uf(e, t, n) {
3299
3299
  var r = !1, o = Jt, s = t.contextType;
3300
- return typeof s == "object" && s !== null ? s = rt(s) : (o = ze(t) ? hn : Re.current, r = t.contextTypes, s = (r = r != null) ? Hn(e, o) : Jt), t = new t(n, s), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = Os, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = s), t;
3300
+ return typeof s == "object" && s !== null ? s = rt(s) : (o = ze(t) ? hn : Te.current, r = t.contextTypes, s = (r = r != null) ? Hn(e, o) : Jt), t = new t(n, s), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = Os, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = s), t;
3301
3301
  }
3302
3302
  function Uu(e, t, n, r) {
3303
3303
  e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && Os.enqueueReplaceState(t, t.state, null);
@@ -3306,7 +3306,7 @@ function aa(e, t, n, r) {
3306
3306
  var o = e.stateNode;
3307
3307
  o.props = n, o.state = e.memoizedState, o.refs = {}, il(e);
3308
3308
  var s = t.contextType;
3309
- typeof s == "object" && s !== null ? o.context = rt(s) : (s = ze(t) ? hn : Re.current, o.context = Hn(e, s)), o.state = e.memoizedState, s = t.getDerivedStateFromProps, typeof s == "function" && (ia(e, t, s, n), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount(), t !== o.state && Os.enqueueReplaceState(o, o.state, null), fs(e, n, o, r), o.state = e.memoizedState), typeof o.componentDidMount == "function" && (e.flags |= 4194308);
3309
+ typeof s == "object" && s !== null ? o.context = rt(s) : (s = ze(t) ? hn : Te.current, o.context = Hn(e, s)), o.state = e.memoizedState, s = t.getDerivedStateFromProps, typeof s == "function" && (ia(e, t, s, n), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount(), t !== o.state && Os.enqueueReplaceState(o, o.state, null), fs(e, n, o, r), o.state = e.memoizedState), typeof o.componentDidMount == "function" && (e.flags |= 4194308);
3310
3310
  }
3311
3311
  function Zn(e, t) {
3312
3312
  try {
@@ -3423,7 +3423,7 @@ function pf(e, t) {
3423
3423
  (e === null && n !== null || e !== null && e.ref !== n) && (t.flags |= 512, t.flags |= 2097152);
3424
3424
  }
3425
3425
  function ua(e, t, n, r, o) {
3426
- var s = ze(n) ? hn : Re.current;
3426
+ var s = ze(n) ? hn : Te.current;
3427
3427
  return s = Hn(t, s), qn(t, o), n = dl(e, t, n, r, s, o), r = fl(), e !== null && !je ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, At(e, t, o)) : (te && r && Ja(t), t.flags |= 1, Ie(e, t, n, o), t.child);
3428
3428
  }
3429
3429
  function Yu(e, t, n, r, o) {
@@ -3436,13 +3436,13 @@ function Yu(e, t, n, r, o) {
3436
3436
  var i = t.stateNode, a = t.memoizedProps;
3437
3437
  i.props = a;
3438
3438
  var l = i.context, u = n.contextType;
3439
- typeof u == "object" && u !== null ? u = rt(u) : (u = ze(n) ? hn : Re.current, u = Hn(t, u));
3439
+ typeof u == "object" && u !== null ? u = rt(u) : (u = ze(n) ? hn : Te.current, u = Hn(t, u));
3440
3440
  var c = n.getDerivedStateFromProps, m = typeof c == "function" || typeof i.getSnapshotBeforeUpdate == "function";
3441
3441
  m || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (a !== r || l !== u) && Uu(t, i, r, u), zt = !1;
3442
3442
  var h = t.memoizedState;
3443
3443
  i.state = h, fs(t, r, i, o), l = t.memoizedState, a !== r || h !== l || Oe.current || zt ? (typeof c == "function" && (ia(t, n, c, r), l = t.memoizedState), (a = zt || Bu(t, n, a, r, h, l, u)) ? (m || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount()), typeof i.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), i.props = r, i.state = l, i.context = u, r = a) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
3444
3444
  } else {
3445
- i = t.stateNode, Bd(e, t), a = t.memoizedProps, u = t.type === t.elementType ? a : it(t.type, a), i.props = u, m = t.pendingProps, h = i.context, l = n.contextType, typeof l == "object" && l !== null ? l = rt(l) : (l = ze(n) ? hn : Re.current, l = Hn(t, l));
3445
+ i = t.stateNode, Bd(e, t), a = t.memoizedProps, u = t.type === t.elementType ? a : it(t.type, a), i.props = u, m = t.pendingProps, h = i.context, l = n.contextType, typeof l == "object" && l !== null ? l = rt(l) : (l = ze(n) ? hn : Te.current, l = Hn(t, l));
3446
3446
  var b = n.getDerivedStateFromProps;
3447
3447
  (c = typeof b == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (a !== m || h !== l) && Uu(t, i, r, l), zt = !1, h = t.memoizedState, i.state = h, fs(t, r, i, o);
3448
3448
  var y = t.memoizedState;
@@ -3537,7 +3537,7 @@ function Pg(e, t, n, r, o, s, i) {
3537
3537
  }
3538
3538
  return xl(), r = vi(Error(x(421))), Co(e, t, i, r);
3539
3539
  }
3540
- return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = qg.bind(null, e), o._reactRetry = t, null) : (e = s.treeContext, Ve = Ht(o.nextSibling), We = t, te = !0, lt = null, e !== null && (Ge[Je++] = Et, Ge[Je++] = Rt, Ge[Je++] = pn, Et = e.id, Rt = e.overflow, pn = t), t = gl(t, r.children), t.flags |= 4096, t);
3540
+ return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = qg.bind(null, e), o._reactRetry = t, null) : (e = s.treeContext, Ve = Ht(o.nextSibling), We = t, te = !0, lt = null, e !== null && (Ge[Je++] = Et, Ge[Je++] = Tt, Ge[Je++] = pn, Et = e.id, Tt = e.overflow, pn = t), t = gl(t, r.children), t.flags |= 4096, t);
3541
3541
  }
3542
3542
  function Xu(e, t, n) {
3543
3543
  e.lanes |= t;
@@ -3738,7 +3738,7 @@ function Mg(e, t, n) {
3738
3738
  case 1:
3739
3739
  return ze(t.type) && is(), Se(t), null;
3740
3740
  case 3:
3741
- return r = t.stateNode, Xn(), ee(Oe), ee(Re), ul(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (ko(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, lt !== null && (xa(lt), lt = null))), ha(e, t), Se(t), null;
3741
+ return r = t.stateNode, Xn(), ee(Oe), ee(Te), ul(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (ko(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, lt !== null && (xa(lt), lt = null))), ha(e, t), Se(t), null;
3742
3742
  case 5:
3743
3743
  ll(t);
3744
3744
  var o = un(Qr.current);
@@ -3972,7 +3972,7 @@ function Ag(e, t) {
3972
3972
  case 1:
3973
3973
  return ze(t.type) && is(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
3974
3974
  case 3:
3975
- return Xn(), ee(Oe), ee(Re), ul(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
3975
+ return Xn(), ee(Oe), ee(Te), ul(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
3976
3976
  case 5:
3977
3977
  return ll(t), null;
3978
3978
  case 13:
@@ -4058,7 +4058,7 @@ function $g(e, t) {
4058
4058
  break;
4059
4059
  case 1:
4060
4060
  if (y !== null) {
4061
- var w = y.memoizedProps, R = y.memoizedState, f = t.stateNode, d = f.getSnapshotBeforeUpdate(t.elementType === t.type ? w : it(t.type, w), R);
4061
+ var w = y.memoizedProps, T = y.memoizedState, f = t.stateNode, d = f.getSnapshotBeforeUpdate(t.elementType === t.type ? w : it(t.type, w), T);
4062
4062
  f.__reactInternalSnapshotBeforeUpdate = d;
4063
4063
  }
4064
4064
  break;
@@ -4636,7 +4636,7 @@ function nc(e) {
4636
4636
  N = t.return;
4637
4637
  }
4638
4638
  }
4639
- var Og = Math.ceil, ms = Lt.ReactCurrentDispatcher, ml = Lt.ReactCurrentOwner, nt = Lt.ReactCurrentBatchConfig, B = 0, me = null, ue = null, be = 0, Be = 0, On = tn(0), pe = 0, Xr = null, mn = 0, Ds = 0, yl = 0, Rr = null, $e = null, wl = 0, Gn = 1 / 0, St = null, ys = !1, wa = null, Kt = null, Ro = !1, qt = null, ws = 0, Tr = 0, va = null, Bo = -1, Uo = 0;
4639
+ var Og = Math.ceil, ms = Lt.ReactCurrentDispatcher, ml = Lt.ReactCurrentOwner, nt = Lt.ReactCurrentBatchConfig, B = 0, me = null, ue = null, be = 0, Be = 0, On = tn(0), pe = 0, Xr = null, mn = 0, Ds = 0, yl = 0, Tr = null, $e = null, wl = 0, Gn = 1 / 0, St = null, ys = !1, wa = null, Kt = null, To = !1, qt = null, ws = 0, Rr = 0, va = null, Bo = -1, Uo = 0;
4640
4640
  function Ne() {
4641
4641
  return B & 6 ? ae() : Bo !== -1 ? Bo : Bo = ae();
4642
4642
  }
@@ -4644,7 +4644,7 @@ function Xt(e) {
4644
4644
  return e.mode & 1 ? B & 2 && be !== 0 ? be & -be : bg.transition !== null ? (Uo === 0 && (Uo = ld()), Uo) : (e = H, e !== 0 || (e = window.event, e = e === void 0 ? 16 : gd(e.type)), e) : 1;
4645
4645
  }
4646
4646
  function ct(e, t, n, r) {
4647
- if (50 < Tr) throw Tr = 0, va = null, Error(x(185));
4647
+ if (50 < Rr) throw Rr = 0, va = null, Error(x(185));
4648
4648
  ro(e, n, r), (!(B & 2) || e !== me) && (e === me && (!(B & 2) && (Ds |= n), pe === 4 && Bt(e, be)), De(e, r), n === 1 && B === 0 && !(t.mode & 1) && (Gn = ae() + 500, $s && nn()));
4649
4649
  }
4650
4650
  function De(e, t) {
@@ -4673,12 +4673,12 @@ function De(e, t) {
4673
4673
  default:
4674
4674
  n = es;
4675
4675
  }
4676
- n = Af(n, Rf.bind(null, e));
4676
+ n = Af(n, Tf.bind(null, e));
4677
4677
  }
4678
4678
  e.callbackPriority = t, e.callbackNode = n;
4679
4679
  }
4680
4680
  }
4681
- function Rf(e, t) {
4681
+ function Tf(e, t) {
4682
4682
  if (Bo = -1, Uo = 0, B & 6) throw Error(x(327));
4683
4683
  var n = e.callbackNode;
4684
4684
  if (Vn() && e.callbackNode !== n) return null;
@@ -4696,7 +4696,7 @@ function Rf(e, t) {
4696
4696
  Fg();
4697
4697
  break;
4698
4698
  } catch (a) {
4699
- Tf(e, a);
4699
+ Rf(e, a);
4700
4700
  }
4701
4701
  while (!0);
4702
4702
  rl(), ms.current = s, B = o, ue !== null ? t = 0 : (me = null, be = 0, t = pe);
@@ -4745,10 +4745,10 @@ function Rf(e, t) {
4745
4745
  }
4746
4746
  }
4747
4747
  }
4748
- return De(e, ae()), e.callbackNode === n ? Rf.bind(null, e) : null;
4748
+ return De(e, ae()), e.callbackNode === n ? Tf.bind(null, e) : null;
4749
4749
  }
4750
4750
  function ba(e, t) {
4751
- var n = Rr;
4751
+ var n = Tr;
4752
4752
  return e.current.memoizedState.isDehydrated && (cn(e, t).flags |= 256), e = vs(e, t), e !== 2 && (t = $e, $e = n, t !== null && xa(t)), e;
4753
4753
  }
4754
4754
  function xa(e) {
@@ -4833,7 +4833,7 @@ function cn(e, t) {
4833
4833
  r = r.type.childContextTypes, r != null && is();
4834
4834
  break;
4835
4835
  case 3:
4836
- Xn(), ee(Oe), ee(Re), ul();
4836
+ Xn(), ee(Oe), ee(Te), ul();
4837
4837
  break;
4838
4838
  case 5:
4839
4839
  ll(r);
@@ -4856,7 +4856,7 @@ function cn(e, t) {
4856
4856
  }
4857
4857
  n = n.return;
4858
4858
  }
4859
- if (me = e, ue = e = Zt(e.current, null), be = Be = t, pe = 0, Xr = null, yl = Ds = mn = 0, $e = Rr = null, ln !== null) {
4859
+ if (me = e, ue = e = Zt(e.current, null), be = Be = t, pe = 0, Xr = null, yl = Ds = mn = 0, $e = Tr = null, ln !== null) {
4860
4860
  for (t = 0; t < ln.length; t++) if (n = ln[t], r = n.interleaved, r !== null) {
4861
4861
  n.interleaved = null;
4862
4862
  var o = r.next, s = n.pending;
@@ -4870,7 +4870,7 @@ function cn(e, t) {
4870
4870
  }
4871
4871
  return e;
4872
4872
  }
4873
- function Tf(e, t) {
4873
+ function Rf(e, t) {
4874
4874
  do {
4875
4875
  var n = ue;
4876
4876
  try {
@@ -4910,13 +4910,13 @@ function Tf(e, t) {
4910
4910
  l = Error(x(426));
4911
4911
  }
4912
4912
  } else if (te && a.mode & 1) {
4913
- var R = Vu(i);
4914
- if (R !== null) {
4915
- !(R.flags & 65536) && (R.flags |= 256), Wu(R, i, a, s, t), tl(Zn(l, a));
4913
+ var T = Vu(i);
4914
+ if (T !== null) {
4915
+ !(T.flags & 65536) && (T.flags |= 256), Wu(T, i, a, s, t), tl(Zn(l, a));
4916
4916
  break e;
4917
4917
  }
4918
4918
  }
4919
- s = l = Zn(l, a), pe !== 4 && (pe = 2), Rr === null ? Rr = [s] : Rr.push(s), s = i;
4919
+ s = l = Zn(l, a), pe !== 4 && (pe = 2), Tr === null ? Tr = [s] : Tr.push(s), s = i;
4920
4920
  do {
4921
4921
  switch (s.tag) {
4922
4922
  case 3:
@@ -4962,7 +4962,7 @@ function vs(e, t) {
4962
4962
  Dg();
4963
4963
  break;
4964
4964
  } catch (o) {
4965
- Tf(e, o);
4965
+ Rf(e, o);
4966
4966
  }
4967
4967
  while (!0);
4968
4968
  if (rl(), B = n, ms.current = r, ue !== null) throw Error(x(261));
@@ -5024,7 +5024,7 @@ function Bg(e, t, n, r) {
5024
5024
  if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(x(177));
5025
5025
  e.callbackNode = null, e.callbackPriority = 0;
5026
5026
  var s = n.lanes | n.childLanes;
5027
- if (xp(e, s), e === me && (ue = me = null, be = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || Ro || (Ro = !0, Af(es, function() {
5027
+ if (xp(e, s), e === me && (ue = me = null, be = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || To || (To = !0, Af(es, function() {
5028
5028
  return Vn(), null;
5029
5029
  })), s = (n.flags & 15990) !== 0, n.subtreeFlags & 15990 || s) {
5030
5030
  s = nt.transition, nt.transition = null;
@@ -5033,9 +5033,9 @@ function Bg(e, t, n, r) {
5033
5033
  var a = B;
5034
5034
  B |= 4, ml.current = null, $g(e, n), Cf(n, e), ag(Gi), ns = !!Zi, Gi = Zi = null, e.current = n, jg(n), fp(), B = a, H = i, nt.transition = s;
5035
5035
  } else e.current = n;
5036
- if (Ro && (Ro = !1, qt = e, ws = o), s = e.pendingLanes, s === 0 && (Kt = null), gp(n.stateNode), De(e, ae()), t !== null) for (r = e.onRecoverableError, n = 0; n < t.length; n++) o = t[n], r(o.value, { componentStack: o.stack, digest: o.digest });
5036
+ if (To && (To = !1, qt = e, ws = o), s = e.pendingLanes, s === 0 && (Kt = null), gp(n.stateNode), De(e, ae()), t !== null) for (r = e.onRecoverableError, n = 0; n < t.length; n++) o = t[n], r(o.value, { componentStack: o.stack, digest: o.digest });
5037
5037
  if (ys) throw ys = !1, e = wa, wa = null, e;
5038
- return ws & 1 && e.tag !== 0 && Vn(), s = e.pendingLanes, s & 1 ? e === va ? Tr++ : (Tr = 0, va = e) : Tr = 0, nn(), null;
5038
+ return ws & 1 && e.tag !== 0 && Vn(), s = e.pendingLanes, s & 1 ? e === va ? Rr++ : (Rr = 0, va = e) : Rr = 0, nn(), null;
5039
5039
  }
5040
5040
  function Vn() {
5041
5041
  if (qt !== null) {
@@ -5083,8 +5083,8 @@ function Vn() {
5083
5083
  if (w !== null) {
5084
5084
  y.child = null;
5085
5085
  do {
5086
- var R = w.sibling;
5087
- w.sibling = null, w = R;
5086
+ var T = w.sibling;
5087
+ w.sibling = null, w = T;
5088
5088
  } while (w !== null);
5089
5089
  }
5090
5090
  }
@@ -5207,7 +5207,7 @@ Mf = function(e, t, n) {
5207
5207
  case 2:
5208
5208
  var r = t.type;
5209
5209
  Fo(e, t), e = t.pendingProps;
5210
- var o = Hn(t, Re.current);
5210
+ var o = Hn(t, Te.current);
5211
5211
  qn(t, n), o = dl(null, t, r, e, o, n);
5212
5212
  var s = fl();
5213
5213
  return t.flags |= 1, typeof o == "object" && o !== null && typeof o.render == "function" && o.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, ze(r) ? (s = !0, as(t)) : s = !1, t.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, il(t), o.updater = Os, t.stateNode = o, o._reactInternals = t, aa(t, r, e, n), t = ca(null, t, r, !0, s, n)) : (t.tag = 0, te && s && Ja(t), Ie(null, t, o, n), t = t.child), t;
@@ -5374,7 +5374,7 @@ function qo(e, t, n, r, o, s) {
5374
5374
  if (r = e, typeof e == "function") kl(e) && (i = 1);
5375
5375
  else if (typeof e == "string") i = 5;
5376
5376
  else e: switch (e) {
5377
- case Tn:
5377
+ case Rn:
5378
5378
  return dn(n.children, o, s, t);
5379
5379
  case Fa:
5380
5380
  i = 8, o |= 8;
@@ -5429,7 +5429,7 @@ function Sl(e, t, n, r, o, s, i, a, l) {
5429
5429
  }
5430
5430
  function Yg(e, t, n) {
5431
5431
  var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
5432
- return { $$typeof: Rn, key: r == null ? null : "" + r, children: e, containerInfo: t, implementation: n };
5432
+ return { $$typeof: Tn, key: r == null ? null : "" + r, children: e, containerInfo: t, implementation: n };
5433
5433
  }
5434
5434
  function Lf(e) {
5435
5435
  if (!e) return Jt;
@@ -5518,7 +5518,7 @@ Us.prototype.unstable_scheduleHydration = function(e) {
5518
5518
  Ft.splice(n, 0, e), n === 0 && pd(e);
5519
5519
  }
5520
5520
  };
5521
- function Rl(e) {
5521
+ function Tl(e) {
5522
5522
  return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);
5523
5523
  }
5524
5524
  function qs(e) {
@@ -5644,20 +5644,20 @@ var Zg = { usingClientEntryPoint: !1, Events: [so, Nn, Ls, Zc, Gc, vl] }, dr = {
5644
5644
  return e = rd(e), e === null ? null : e.stateNode;
5645
5645
  }, findFiberByHostInstance: dr.findFiberByHostInstance || Kg, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
5646
5646
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != "undefined") {
5647
- var To = __REACT_DEVTOOLS_GLOBAL_HOOK__;
5648
- if (!To.isDisabled && To.supportsFiber) try {
5649
- Ps = To.inject(Gg), vt = To;
5647
+ var Ro = __REACT_DEVTOOLS_GLOBAL_HOOK__;
5648
+ if (!Ro.isDisabled && Ro.supportsFiber) try {
5649
+ Ps = Ro.inject(Gg), vt = Ro;
5650
5650
  } catch (e) {
5651
5651
  }
5652
5652
  }
5653
5653
  He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Zg;
5654
5654
  He.createPortal = function(e, t) {
5655
5655
  var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
5656
- if (!Rl(t)) throw Error(x(200));
5656
+ if (!Tl(t)) throw Error(x(200));
5657
5657
  return Yg(e, t, null, n);
5658
5658
  };
5659
5659
  He.createRoot = function(e, t) {
5660
- if (!Rl(e)) throw Error(x(299));
5660
+ if (!Tl(e)) throw Error(x(299));
5661
5661
  var n = !1, r = "", o = jf;
5662
5662
  return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (o = t.onRecoverableError)), t = Sl(e, 1, !1, null, null, n, !1, r, o), e[Nt] = t.current, Ur(e.nodeType === 8 ? e.parentNode : e), new El(t);
5663
5663
  };
@@ -5677,7 +5677,7 @@ He.hydrate = function(e, t, n) {
5677
5677
  return Vs(null, e, t, !0, n);
5678
5678
  };
5679
5679
  He.hydrateRoot = function(e, t, n) {
5680
- if (!Rl(e)) throw Error(x(405));
5680
+ if (!Tl(e)) throw Error(x(405));
5681
5681
  var r = n != null && n.hydratedSources || null, o = !1, s = "", i = jf;
5682
5682
  if (n != null && (n.unstable_strictMode === !0 && (o = !0), n.identifierPrefix !== void 0 && (s = n.identifierPrefix), n.onRecoverableError !== void 0 && (i = n.onRecoverableError)), t = $f(t, null, e, 1, n != null ? n : null, o, !1, s, i), e[Nt] = t.current, Ur(e), r) for (e = 0; e < r.length; e++) n = r[e], o = n._getVersion, o = o(n._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [n, o] : t.mutableSourceEagerHydrationData.push(
5683
5683
  n,
@@ -5713,8 +5713,8 @@ function Of() {
5713
5713
  }
5714
5714
  }
5715
5715
  Of(), jc.exports = He;
5716
- var Jg = jc.exports, Tl, ac = Jg;
5717
- Tl = ac.createRoot, ac.hydrateRoot;
5716
+ var Jg = jc.exports, Rl, ac = Jg;
5717
+ Rl = ac.createRoot, ac.hydrateRoot;
5718
5718
  var zf = { exports: {} }, Ws = {};
5719
5719
  /**
5720
5720
  * @license React
@@ -5972,7 +5972,7 @@ var Pe = {
5972
5972
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5973
5973
  paragraph: W(Pl).replace("hr", ao).replace("heading", ` *#{1,6} *[^
5974
5974
  ]`).replace("lheading", Uf).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5975
- }), bm = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, xm = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Vf = /^( {2,}|\\)\n(?!\s*$)/, km = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Hs = /[\p{P}\p{S}]/u, Ll = /[\s\p{P}\p{S}]/u, Wf = /[^\s\p{P}\p{S}]/u, Sm = W(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ll).getRegex(), Qf = /(?!~)[\p{P}\p{S}]/u, Cm = /(?!~)[\s\p{P}\p{S}]/u, Em = /(?:[^\s\p{P}\p{S}]|~)/u, Rm = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Hf = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Tm = W(Hf, "u").replace(/punct/g, Hs).getRegex(), _m = W(Hf, "u").replace(/punct/g, Qf).getRegex(), Yf = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Im = W(Yf, "gu").replace(/notPunctSpace/g, Wf).replace(/punctSpace/g, Ll).replace(/punct/g, Hs).getRegex(), Pm = W(Yf, "gu").replace(/notPunctSpace/g, Em).replace(/punctSpace/g, Cm).replace(/punct/g, Qf).getRegex(), Nm = W(
5975
+ }), bm = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, xm = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Vf = /^( {2,}|\\)\n(?!\s*$)/, km = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Hs = /[\p{P}\p{S}]/u, Ll = /[\s\p{P}\p{S}]/u, Wf = /[^\s\p{P}\p{S}]/u, Sm = W(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ll).getRegex(), Qf = /(?!~)[\p{P}\p{S}]/u, Cm = /(?!~)[\s\p{P}\p{S}]/u, Em = /(?:[^\s\p{P}\p{S}]|~)/u, Tm = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Hf = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Rm = W(Hf, "u").replace(/punct/g, Hs).getRegex(), _m = W(Hf, "u").replace(/punct/g, Qf).getRegex(), Yf = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Im = W(Yf, "gu").replace(/notPunctSpace/g, Wf).replace(/punctSpace/g, Ll).replace(/punct/g, Hs).getRegex(), Pm = W(Yf, "gu").replace(/notPunctSpace/g, Em).replace(/punctSpace/g, Cm).replace(/punct/g, Qf).getRegex(), Nm = W(
5976
5976
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
5977
5977
  "gu"
5978
5978
  ).replace(/notPunctSpace/g, Wf).replace(/punctSpace/g, Ll).replace(/punct/g, Hs).getRegex(), Mm = W(/\\(punct)/, "gu").replace(/punct/g, Hs).getRegex(), Am = W(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Lm = W(Ml).replace("(?:-->|$)", "-->").getRegex(), $m = W(
@@ -5982,11 +5982,11 @@ var Pe = {
5982
5982
  // only used for GFM url
5983
5983
  anyPunctuation: Mm,
5984
5984
  autolink: Am,
5985
- blockSkip: Rm,
5985
+ blockSkip: Tm,
5986
5986
  br: Vf,
5987
5987
  code: xm,
5988
5988
  del: _r,
5989
- emStrongLDelim: Tm,
5989
+ emStrongLDelim: Rm,
5990
5990
  emStrongRDelimAst: Im,
5991
5991
  emStrongRDelimUnd: Nm,
5992
5992
  escape: bm,
@@ -6259,10 +6259,10 @@ ${c}` : c;
6259
6259
  `, e = e.substring(h.length + 1), l = !0), !l) {
6260
6260
  const f = this.rules.other.nextBulletRegex(y), d = this.rules.other.hrRegex(y), p = this.rules.other.fencesBeginRegex(y), v = this.rules.other.headingBeginRegex(y), k = this.rules.other.htmlBeginRegex(y);
6261
6261
  for (; e; ) {
6262
- const T = e.split(`
6262
+ const R = e.split(`
6263
6263
  `, 1)[0];
6264
6264
  let _;
6265
- if (h = T, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), _ = h) : _ = h.replace(this.rules.other.tabCharGlobal, " "), p.test(h) || v.test(h) || k.test(h) || f.test(h) || d.test(h))
6265
+ if (h = R, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), _ = h) : _ = h.replace(this.rules.other.tabCharGlobal, " "), p.test(h) || v.test(h) || k.test(h) || f.test(h) || d.test(h))
6266
6266
  break;
6267
6267
  if (_.search(this.rules.other.nonSpaceChar) >= y || !h.trim())
6268
6268
  c += `
@@ -6273,17 +6273,17 @@ ${c}` : c;
6273
6273
  c += `
6274
6274
  ` + h;
6275
6275
  }
6276
- !b && !h.trim() && (b = !0), u += T + `
6277
- `, e = e.substring(T.length + 1), m = _.slice(y);
6276
+ !b && !h.trim() && (b = !0), u += R + `
6277
+ `, e = e.substring(R.length + 1), m = _.slice(y);
6278
6278
  }
6279
6279
  }
6280
6280
  o.loose || (i ? o.loose = !0 : this.rules.other.doubleBlankLine.test(u) && (i = !0));
6281
- let w = null, R;
6282
- this.options.gfm && (w = this.rules.other.listIsTask.exec(c), w && (R = w[0] !== "[ ] ", c = c.replace(this.rules.other.listReplaceTask, ""))), o.items.push({
6281
+ let w = null, T;
6282
+ this.options.gfm && (w = this.rules.other.listIsTask.exec(c), w && (T = w[0] !== "[ ] ", c = c.replace(this.rules.other.listReplaceTask, ""))), o.items.push({
6283
6283
  type: "list_item",
6284
6284
  raw: u,
6285
6285
  task: !!w,
6286
- checked: R,
6286
+ checked: T,
6287
6287
  loose: !1,
6288
6288
  text: c,
6289
6289
  tokens: []
@@ -6592,7 +6592,7 @@ ${c}` : c;
6592
6592
  };
6593
6593
  }
6594
6594
  }
6595
- }, Tt = class Sa {
6595
+ }, Rt = class Sa {
6596
6596
  constructor(t) {
6597
6597
  K(this, "tokens");
6598
6598
  K(this, "options");
@@ -7190,7 +7190,7 @@ ${e}</tr>
7190
7190
  * Provide function to tokenize markdown
7191
7191
  */
7192
7192
  provideLexer() {
7193
- return this.block ? Tt.lex : Tt.lexInline;
7193
+ return this.block ? Rt.lex : Rt.lexInline;
7194
7194
  }
7195
7195
  /**
7196
7196
  * Provide function to parse tokens
@@ -7211,7 +7211,7 @@ ${e}</tr>
7211
7211
  K(this, "Parser", _t);
7212
7212
  K(this, "Renderer", Ss);
7213
7213
  K(this, "TextRenderer", jl);
7214
- K(this, "Lexer", Tt);
7214
+ K(this, "Lexer", Rt);
7215
7215
  K(this, "Tokenizer", ks);
7216
7216
  K(this, "Hooks", Vo);
7217
7217
  this.use(...e);
@@ -7333,7 +7333,7 @@ ${e}</tr>
7333
7333
  return this.defaults = P(P({}, this.defaults), e), this;
7334
7334
  }
7335
7335
  lexer(e, t) {
7336
- return Tt.lex(e, t != null ? t : this.defaults);
7336
+ return Rt.lex(e, t != null ? t : this.defaults);
7337
7337
  }
7338
7338
  parser(e, t) {
7339
7339
  return _t.parse(e, t != null ? t : this.defaults);
@@ -7348,7 +7348,7 @@ ${e}</tr>
7348
7348
  if (typeof n != "string")
7349
7349
  return i(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
7350
7350
  s.hooks && (s.hooks.options = s, s.hooks.block = e);
7351
- const a = s.hooks ? s.hooks.provideLexer() : e ? Tt.lex : Tt.lexInline, l = s.hooks ? s.hooks.provideParser() : e ? _t.parse : _t.parseInline;
7351
+ const a = s.hooks ? s.hooks.provideLexer() : e ? Rt.lex : Rt.lexInline, l = s.hooks ? s.hooks.provideParser() : e ? _t.parse : _t.parseInline;
7352
7352
  if (s.async)
7353
7353
  return Promise.resolve(s.hooks ? s.hooks.preprocess(n) : n).then((u) => a(u, s)).then((u) => s.hooks ? s.hooks.processAllTokens(u) : u).then((u) => s.walkTokens ? Promise.all(this.walkTokens(u, s.walkTokens)).then(() => u) : u).then((u) => l(u, s)).then((u) => s.hooks ? s.hooks.postprocess(u) : u).catch(i);
7354
7354
  try {
@@ -7394,8 +7394,8 @@ V.Parser = _t;
7394
7394
  V.parser = _t.parse;
7395
7395
  V.Renderer = Ss;
7396
7396
  V.TextRenderer = jl;
7397
- V.Lexer = Tt;
7398
- V.lexer = Tt.lex;
7397
+ V.Lexer = Rt;
7398
+ V.lexer = Rt.lex;
7399
7399
  V.Tokenizer = ks;
7400
7400
  V.Hooks = Vo;
7401
7401
  V.parse = V;
@@ -7405,7 +7405,7 @@ V.use;
7405
7405
  V.walkTokens;
7406
7406
  V.parseInline;
7407
7407
  _t.parse;
7408
- Tt.lex;
7408
+ Rt.lex;
7409
7409
  const Vm = (e) => {
7410
7410
  if (e instanceof Date)
7411
7411
  return e;
@@ -7593,19 +7593,19 @@ const Gf = ({
7593
7593
  I.preventDefault(), (s.trim() || a.length > 0) && !n && !u && (e(s.trim(), a.length > 0 ? a : void 0), i(""), l([]));
7594
7594
  }, w = (I) => {
7595
7595
  I.key === "Enter" && !I.shiftKey && (I.preventDefault(), (s.trim() || a.length > 0) && !n && !u && (e(s.trim(), a.length > 0 ? a : void 0), i(""), l([])));
7596
- }, R = (I) => {
7596
+ }, T = (I) => {
7597
7597
  const j = I.type === "application/pdf", U = j ? 50 * 1024 * 1024 : 10 * 1024 * 1024;
7598
7598
  return I.size > U ? (alert(`Archivo demasiado grande. El tamaño máximo para ${j ? "PDFs" : "imágenes"} es ${j ? "50MB" : "10MB"}.`), !1) : !0;
7599
7599
  }, f = (I) => `${I.name}_${I.size}_${I.type}`, d = (I) => {
7600
7600
  const j = f(I);
7601
7601
  return a.some((U) => `${U.name}_${U.size}_${U.type}` === j);
7602
- }, p = (I) => R(I) ? d(I) ? { isValid: !1, reason: "duplicate" } : { isValid: !0 } : { isValid: !1, reason: "size" }, v = (I) => Q(void 0, null, function* () {
7602
+ }, p = (I) => T(I) ? d(I) ? { isValid: !1, reason: "duplicate" } : { isValid: !0 } : { isValid: !1, reason: "size" }, v = (I) => Q(void 0, null, function* () {
7603
7603
  const j = I.target.files;
7604
- !j || j.length === 0 || (yield Te(Array.from(j)), b.current && (b.current.value = ""));
7604
+ !j || j.length === 0 || (yield Re(Array.from(j)), b.current && (b.current.value = ""));
7605
7605
  }), k = () => {
7606
7606
  var I;
7607
7607
  (I = b.current) == null || I.click();
7608
- }, T = (I) => {
7608
+ }, R = (I) => {
7609
7609
  l((j) => j.filter((U, F) => F !== I));
7610
7610
  }, _ = (I) => I === "application/pdf" ? "📄" : "📎", E = (I, j) => I.type.startsWith("image/") ? /* @__PURE__ */ g.jsx(
7611
7611
  "img",
@@ -7629,8 +7629,8 @@ const Gf = ({
7629
7629
  alert("Solo se permiten imágenes (JPEG, PNG, GIF, WebP) y archivos PDF.");
7630
7630
  return;
7631
7631
  }
7632
- yield Te(F);
7633
- }), Te = (I) => Q(void 0, null, function* () {
7632
+ yield Re(F);
7633
+ }), Re = (I) => Q(void 0, null, function* () {
7634
7634
  const j = [], U = [], F = [];
7635
7635
  if (I.forEach((S) => {
7636
7636
  const A = p(S);
@@ -7700,7 +7700,7 @@ const Gf = ({
7700
7700
  "button",
7701
7701
  {
7702
7702
  type: "button",
7703
- onClick: () => T(j),
7703
+ onClick: () => R(j),
7704
7704
  className: "nbc-ml-1 nbc-text-gray-400 hover:nbc-text-gray-600 nbc-text-xs",
7705
7705
  disabled: u,
7706
7706
  children: "✕"
@@ -7803,7 +7803,7 @@ const Gf = ({
7803
7803
  C.useEffect(() => {
7804
7804
  setTimeout(() => a(!0), 50);
7805
7805
  }, []);
7806
- const c = (R) => Q(void 0, null, function* () {
7806
+ const c = (T) => Q(void 0, null, function* () {
7807
7807
  if (!t) {
7808
7808
  console.error("ConversationId is required for rating");
7809
7809
  return;
@@ -7816,31 +7816,31 @@ const Gf = ({
7816
7816
  },
7817
7817
  body: JSON.stringify({
7818
7818
  conversationId: t,
7819
- rate: R
7819
+ rate: T
7820
7820
  })
7821
7821
  });
7822
7822
  if (!f.ok)
7823
7823
  throw new Error(`HTTP error! status: ${f.status}`);
7824
- yield f.json(), e && e(R);
7824
+ yield f.json(), e && e(T);
7825
7825
  } catch (f) {
7826
- console.error("Error submitting rating:", f), e && e(R);
7826
+ console.error("Error submitting rating:", f), e && e(T);
7827
7827
  }
7828
- }), m = (R) => {
7829
- s(R), u(!0), setTimeout(() => {
7830
- c(R);
7828
+ }), m = (T) => {
7829
+ s(T), u(!0), setTimeout(() => {
7830
+ c(T);
7831
7831
  }, 300);
7832
- }, h = (R) => {
7833
- r(R);
7832
+ }, h = (T) => {
7833
+ r(T);
7834
7834
  }, b = () => {
7835
7835
  r(0);
7836
- }, y = (R) => {
7837
- const f = n >= R, d = o >= R, p = f || d, v = f;
7836
+ }, y = (T) => {
7837
+ const f = n >= T, d = o >= T, p = f || d, v = f;
7838
7838
  return /* @__PURE__ */ g.jsx(
7839
7839
  "button",
7840
7840
  {
7841
7841
  className: `nbc-p-1 nbc-transition-transform nbc-duration-300 nbc-ease-out nbc-cursor-pointer ${v ? "nbc-scale-[1.13]" : "nbc-scale-100"}`,
7842
- onClick: () => m(R),
7843
- onMouseEnter: () => h(R),
7842
+ onClick: () => m(T),
7843
+ onMouseEnter: () => h(T),
7844
7844
  onMouseLeave: b,
7845
7845
  type: "button",
7846
7846
  children: /* @__PURE__ */ g.jsx(
@@ -7863,7 +7863,7 @@ const Gf = ({
7863
7863
  }
7864
7864
  )
7865
7865
  },
7866
- R
7866
+ T
7867
7867
  );
7868
7868
  }, w = () => l ? "nbc-opacity-0 nbc-translate-y-4 nbc-scale-95" : i ? "nbc-opacity-100 nbc-translate-y-0 nbc-scale-100" : "nbc-opacity-0 -nbc-translate-y-4 nbc-scale-95";
7869
7869
  return /* @__PURE__ */ g.jsx("div", { className: `nbc-flex nbc-flex-col nbc-items-center nbc-py-2 nbc-px-4 nbc-transition-all nbc-duration-300 nbc-ease-out ${w()}`, children: /* @__PURE__ */ g.jsx("div", { className: "nbc-flex nbc-items-center", children: [1, 2, 3, 4, 5].map(y) }) });
@@ -7885,14 +7885,14 @@ const Gf = ({
7885
7885
  onRatingChange: y,
7886
7886
  conversationId: w
7887
7887
  }) => {
7888
- const [R, f] = C.useState(!1), [d, p] = C.useState(!1), [v, k] = C.useState(580), [T, _] = C.useState(!1), E = (U, F) => {
7888
+ const [T, f] = C.useState(!1), [d, p] = C.useState(!1), [v, k] = C.useState(580), [R, _] = C.useState(!1), E = (U, F) => {
7889
7889
  o(U, F);
7890
7890
  }, $ = () => {
7891
7891
  _(!1), y && y(!0);
7892
- }, M = () => r.filter((F) => F.sender === "user").length >= 2 && T && !b;
7892
+ }, M = () => r.filter((F) => F.sender === "user").length >= 2 && R && !b;
7893
7893
  if (C.useEffect(() => {
7894
- r.filter((F) => F.sender === "user").length >= 2 && !T && !b && _(!0);
7895
- }, [r, T, b]), C.useEffect(() => {
7894
+ r.filter((F) => F.sender === "user").length >= 2 && !R && !b && _(!0);
7895
+ }, [r, R, b]), C.useEffect(() => {
7896
7896
  e ? (p(!0), setTimeout(() => f(!0), 10)) : (f(!1), setTimeout(() => p(!1), 300));
7897
7897
  }, [e]), C.useEffect(() => {
7898
7898
  const U = () => {
@@ -7918,12 +7918,12 @@ const Gf = ({
7918
7918
  }) : Y(P({}, q), {
7919
7919
  right: `${S}px`
7920
7920
  });
7921
- }, ie = () => `nbc-fixed nbc-bg-white nbc-rounded-lg nbc-shadow-2xl nbc-flex nbc-flex-col nbc-overflow-hidden nbc-font-sans nbc-transition-all nbc-duration-300 nbc-ease-out ${c ? "nbc-inset-0 nbc-w-full nbc-h-full nbc-rounded-none" : "nbc-w-auto nbc-h-auto nbc-rounded-lg nbc-inset-auto"} ${R ? "nbc-opacity-100 nbc-scale-100 nbc-translate-y-0" : "nbc-opacity-0 nbc-scale-95 nbc-translate-y-2"}`, Te = () => c ? { zIndex: 2147483647 } : D(), j = `https://notchatbot.com?utm_source=${typeof window != "undefined" ? encodeURIComponent(window.location.hostname) : "unknown"}&utm_medium=widget&utm_campaign=WebChat`;
7921
+ }, ie = () => `nbc-fixed nbc-bg-white nbc-rounded-lg nbc-shadow-2xl nbc-flex nbc-flex-col nbc-overflow-hidden nbc-font-sans nbc-transition-all nbc-duration-300 nbc-ease-out ${c ? "nbc-inset-0 nbc-w-full nbc-h-full nbc-rounded-none" : "nbc-w-auto nbc-h-auto nbc-rounded-lg nbc-inset-auto"} ${T ? "nbc-opacity-100 nbc-scale-100 nbc-translate-y-0" : "nbc-opacity-0 nbc-scale-95 nbc-translate-y-2"}`, Re = () => c ? { zIndex: 2147483647 } : D(), j = `https://notchatbot.com?utm_source=${typeof window != "undefined" ? encodeURIComponent(window.location.hostname) : "unknown"}&utm_medium=widget&utm_campaign=WebChat`;
7922
7922
  return /* @__PURE__ */ g.jsxs(
7923
7923
  "div",
7924
7924
  {
7925
7925
  className: ie(),
7926
- style: Te(),
7926
+ style: Re(),
7927
7927
  id: "notchatbot-webchat-window",
7928
7928
  children: [
7929
7929
  /* @__PURE__ */ g.jsx(
@@ -7982,7 +7982,7 @@ const Gf = ({
7982
7982
  isOpen: a,
7983
7983
  onPopoverClick: l
7984
7984
  }) => {
7985
- const [u, c] = C.useState(!1), [m, h] = C.useState(!1), [b, y] = C.useState(!1), [w, R] = C.useState(!1), [f, d] = C.useState(!1);
7985
+ const [u, c] = C.useState(!1), [m, h] = C.useState(!1), [b, y] = C.useState(!1), [w, T] = C.useState(!1), [f, d] = C.useState(!1);
7986
7986
  C.useEffect(() => {
7987
7987
  (() => {
7988
7988
  const $ = "nbc-popover-shown", M = "nbc-popover-interacted", D = (() => {
@@ -8006,19 +8006,19 @@ const Gf = ({
8006
8006
  return !1;
8007
8007
  })();
8008
8008
  ie && (sessionStorage.removeItem($), sessionStorage.removeItem(M));
8009
- const Te = sessionStorage.getItem($);
8009
+ const Re = sessionStorage.getItem($);
8010
8010
  if (sessionStorage.getItem(M) && !ie) {
8011
8011
  d(!1);
8012
8012
  return;
8013
8013
  }
8014
- if (Te && !ie) {
8014
+ if (Re && !ie) {
8015
8015
  d(!1);
8016
8016
  return;
8017
8017
  }
8018
8018
  D && e ? (d(!0), sessionStorage.setItem($, "true")) : d(!1);
8019
8019
  })();
8020
8020
  }, [e]), C.useEffect(() => {
8021
- a && (sessionStorage.setItem("nbc-popover-interacted", "true"), R(!0), h(!0), setTimeout(() => {
8021
+ a && (sessionStorage.setItem("nbc-popover-interacted", "true"), T(!0), h(!0), setTimeout(() => {
8022
8022
  c(!1), h(!1), y(!1);
8023
8023
  }, 500));
8024
8024
  }, [a]), C.useEffect(() => {
@@ -8038,11 +8038,11 @@ const Gf = ({
8038
8038
  }
8039
8039
  }, [a, e, w, f]);
8040
8040
  const p = () => {
8041
- sessionStorage.setItem("nbc-popover-interacted", "true"), R(!0), h(!0), setTimeout(() => {
8041
+ sessionStorage.setItem("nbc-popover-interacted", "true"), T(!0), h(!0), setTimeout(() => {
8042
8042
  c(!1), h(!1), y(!1);
8043
8043
  }, 500);
8044
8044
  }, v = () => {
8045
- sessionStorage.setItem("nbc-popover-interacted", "true"), R(!0), h(!0), setTimeout(() => {
8045
+ sessionStorage.setItem("nbc-popover-interacted", "true"), T(!0), h(!0), setTimeout(() => {
8046
8046
  c(!1), h(!1), y(!1);
8047
8047
  }, 500), l();
8048
8048
  };
@@ -8060,14 +8060,14 @@ const Gf = ({
8060
8060
  }) : Y(P({}, M), {
8061
8061
  right: `${o}px`
8062
8062
  });
8063
- }, T = () => {
8063
+ }, R = () => {
8064
8064
  const E = "nbc-transition-all nbc-duration-500 nbc-ease-out";
8065
8065
  return m ? `${E} nbc-opacity-0 nbc-translate-y-3 nbc-scale-90` : b ? `${E} nbc-opacity-100 nbc-translate-y-0 nbc-scale-100` : `${E} nbc-opacity-0 nbc-translate-y-[-10px] nbc-scale-95`;
8066
8066
  }, _ = (E, $ = 100) => E.length > $ ? E.substring(0, $) + "..." : E;
8067
8067
  return /* @__PURE__ */ g.jsx(
8068
8068
  "div",
8069
8069
  {
8070
- className: `nbc-fixed nbc-pointer-events-none ${T()}`,
8070
+ className: `nbc-fixed nbc-pointer-events-none ${R()}`,
8071
8071
  style: k(),
8072
8072
  children: /* @__PURE__ */ g.jsxs("div", { className: "nbc-relative", children: [
8073
8073
  /* @__PURE__ */ g.jsx(
@@ -8431,12 +8431,12 @@ function lh(e) {
8431
8431
  ((o = n == null ? void 0 : n.constructor) == null ? void 0 : o.name) === "Object";
8432
8432
  return t && r;
8433
8433
  }
8434
- const uh = !0, Jn = BigInt("-9223372036854775808"), Dl = BigInt("9223372036854775807"), Ra = BigInt("0"), yy = BigInt("8"), wy = BigInt("256");
8434
+ const uh = !0, Jn = BigInt("-9223372036854775808"), Dl = BigInt("9223372036854775807"), Ta = BigInt("0"), yy = BigInt("8"), wy = BigInt("256");
8435
8435
  function ch(e) {
8436
8436
  return Number.isNaN(e) || !Number.isFinite(e) || Object.is(e, -0);
8437
8437
  }
8438
8438
  function vy(e) {
8439
- e < Ra && (e -= Jn + Jn);
8439
+ e < Ta && (e -= Jn + Jn);
8440
8440
  let t = e.toString(16);
8441
8441
  t.length % 2 === 1 && (t = "0" + t);
8442
8442
  const n = new Uint8Array(new ArrayBuffer(8));
@@ -8451,7 +8451,7 @@ function by(e) {
8451
8451
  throw new Error(
8452
8452
  `Received ${t.byteLength} bytes, expected 8 for $integer`
8453
8453
  );
8454
- let n = Ra, r = Ra;
8454
+ let n = Ta, r = Ta;
8455
8455
  for (const o of t)
8456
8456
  n += BigInt(o) * Gl(wy, r), r++;
8457
8457
  return n > Dl && (n += Jn + Jn), n;
@@ -8538,7 +8538,7 @@ function er(e) {
8538
8538
  function Ir(e) {
8539
8539
  return JSON.stringify(e, (t, n) => n === void 0 ? "undefined" : typeof n == "bigint" ? `${n.toString()}n` : n);
8540
8540
  }
8541
- function Ta(e, t, n, r) {
8541
+ function Ra(e, t, n, r) {
8542
8542
  var i;
8543
8543
  if (e === void 0) {
8544
8544
  const a = n && ` (present at path ${n} in original object ${Ir(
@@ -8569,7 +8569,7 @@ function Ta(e, t, n, r) {
8569
8569
  return { $bytes: Gr(new Uint8Array(e)) };
8570
8570
  if (Array.isArray(e))
8571
8571
  return e.map(
8572
- (a, l) => Ta(a, t, n + `[${l}]`)
8572
+ (a, l) => Ra(a, t, n + `[${l}]`)
8573
8573
  );
8574
8574
  if (e instanceof Set)
8575
8575
  throw new Error(
@@ -8588,7 +8588,7 @@ function Ta(e, t, n, r) {
8588
8588
  const o = {}, s = Object.entries(e);
8589
8589
  s.sort(([a, l], [u, c]) => a === u ? 0 : a < u ? -1 : 1);
8590
8590
  for (const [a, l] of s)
8591
- l !== void 0 && (dh(a), o[a] = Ta(l, t, n + `.${a}`));
8591
+ l !== void 0 && (dh(a), o[a] = Ra(l, t, n + `.${a}`));
8592
8592
  return o;
8593
8593
  }
8594
8594
  function Ei(e, t, n, r) {
@@ -8601,13 +8601,13 @@ function Ei(e, t, n, r) {
8601
8601
  )} is not a supported Convex type.`;
8602
8602
  }
8603
8603
  function Jr(e) {
8604
- return Ta(e, e, "");
8604
+ return Ra(e, e, "");
8605
8605
  }
8606
- var Ey = Object.defineProperty, Ry = (e, t, n) => t in e ? Ey(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ri = (e, t, n) => Ry(e, typeof t != "symbol" ? t + "" : t, n), yc, wc;
8607
- const Ty = Symbol.for("ConvexError");
8608
- class _a extends (wc = Error, yc = Ty, wc) {
8606
+ var Ey = Object.defineProperty, Ty = (e, t, n) => t in e ? Ey(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ti = (e, t, n) => Ty(e, typeof t != "symbol" ? t + "" : t, n), yc, wc;
8607
+ const Ry = Symbol.for("ConvexError");
8608
+ class _a extends (wc = Error, yc = Ry, wc) {
8609
8609
  constructor(t) {
8610
- super(typeof t == "string" ? t : Ir(t)), Ri(this, "name", "ConvexError"), Ri(this, "data"), Ri(this, yc, !0), this.data = t;
8610
+ super(typeof t == "string" ? t : Ir(t)), Ti(this, "name", "ConvexError"), Ti(this, "data"), Ti(this, yc, !0), this.data = t;
8611
8611
  }
8612
8612
  }
8613
8613
  const fh = () => Array.from({ length: 4 }, () => 0);
@@ -8708,14 +8708,14 @@ function zn(e, t, n) {
8708
8708
  function Ia(e, t) {
8709
8709
  return t.data = e.errorData, t;
8710
8710
  }
8711
- function Rs(e) {
8711
+ function Ts(e) {
8712
8712
  const t = e.split(":");
8713
8713
  let n, r;
8714
8714
  return t.length === 1 ? (n = t[0], r = "default") : (n = t.slice(0, t.length - 1).join(":"), r = t[t.length - 1]), n.endsWith(".js") && (n = n.slice(0, -3)), `${n}:${r}`;
8715
8715
  }
8716
8716
  function fn(e, t) {
8717
8717
  return JSON.stringify({
8718
- udfPath: Rs(e),
8718
+ udfPath: Ts(e),
8719
8719
  args: Jr(t)
8720
8720
  });
8721
8721
  }
@@ -8731,7 +8731,7 @@ class Ly {
8731
8731
  this.outstandingAuthOlderThanRestart = !1;
8732
8732
  }
8733
8733
  subscribe(t, n, r, o) {
8734
- const s = Rs(t), i = fn(s, n), a = this.querySet.get(i);
8734
+ const s = Ts(t), i = fn(s, n), a = this.querySet.get(i);
8735
8735
  if (a !== void 0)
8736
8736
  return a.numSubscribers += 1, {
8737
8737
  queryToken: i,
@@ -8790,7 +8790,7 @@ class Ly {
8790
8790
  }
8791
8791
  }
8792
8792
  queryId(t, n) {
8793
- const r = Rs(t), o = fn(r, n), s = this.querySet.get(o);
8793
+ const r = Ts(t), o = fn(r, n), s = this.querySet.get(o);
8794
8794
  return s !== void 0 ? s.id : null;
8795
8795
  }
8796
8796
  isCurrentOrNewerAuthVersion(t) {
@@ -9058,7 +9058,7 @@ class Oy {
9058
9058
  return this.inflightActionsCount;
9059
9059
  }
9060
9060
  }
9061
- const Ts = Symbol.for("functionName"), zy = Symbol.for("toReferencePath");
9061
+ const Rs = Symbol.for("functionName"), zy = Symbol.for("toReferencePath");
9062
9062
  function Dy(e) {
9063
9063
  var t;
9064
9064
  return (t = e[zy]) != null ? t : null;
@@ -9070,8 +9070,8 @@ function By(e) {
9070
9070
  let t;
9071
9071
  if (typeof e == "string")
9072
9072
  Fy(e) ? t = { functionHandle: e } : t = { name: e };
9073
- else if (e[Ts])
9074
- t = { name: e[Ts] };
9073
+ else if (e[Rs])
9074
+ t = { name: e[Rs] };
9075
9075
  else {
9076
9076
  const n = Dy(e);
9077
9077
  if (!n)
@@ -9091,7 +9091,7 @@ function Wn(e) {
9091
9091
  `Expected function reference like "api.file.func" or "internal.file.func", but received ${JSON.stringify(t)}`
9092
9092
  );
9093
9093
  if (typeof e == "string") return e;
9094
- const n = e[Ts];
9094
+ const n = e[Rs];
9095
9095
  if (!n)
9096
9096
  throw new Error(`${e} is not a functionReference`);
9097
9097
  return n;
@@ -9102,7 +9102,7 @@ function yh(e = []) {
9102
9102
  if (typeof r == "string") {
9103
9103
  const o = [...e, r];
9104
9104
  return yh(o);
9105
- } else if (r === Ts) {
9105
+ } else if (r === Rs) {
9106
9106
  if (e.length < 2) {
9107
9107
  const i = ["api", ...e].join(".");
9108
9108
  throw new Error(
@@ -9132,7 +9132,7 @@ class eo {
9132
9132
  getAllQueries(t) {
9133
9133
  const n = [], r = Wn(t);
9134
9134
  for (const o of this.queryResults.values())
9135
- o.udfPath === Rs(r) && n.push({
9135
+ o.udfPath === Ts(r) && n.push({
9136
9136
  args: o.args,
9137
9137
  value: eo.queryValue(o.result)
9138
9138
  });
@@ -9224,10 +9224,10 @@ class Vy {
9224
9224
  return (r = n == null ? void 0 : n.result) == null ? void 0 : r.logLines;
9225
9225
  }
9226
9226
  }
9227
- var Wy = Object.defineProperty, Qy = (e, t, n) => t in e ? Wy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ti = (e, t, n) => Qy(e, typeof t != "symbol" ? t + "" : t, n);
9227
+ var Wy = Object.defineProperty, Qy = (e, t, n) => t in e ? Wy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ri = (e, t, n) => Qy(e, typeof t != "symbol" ? t + "" : t, n);
9228
9228
  class Ue {
9229
9229
  constructor(t, n) {
9230
- Ti(this, "low"), Ti(this, "high"), Ti(this, "__isUnsignedLong__"), this.low = t | 0, this.high = n | 0, this.__isUnsignedLong__ = !0;
9230
+ Ri(this, "low"), Ri(this, "high"), Ri(this, "__isUnsignedLong__"), this.low = t | 0, this.high = n | 0, this.__isUnsignedLong__ = !0;
9231
9231
  }
9232
9232
  static isLong(t) {
9233
9233
  return (t && t.__isUnsignedLong__) === !0;
@@ -10007,7 +10007,7 @@ class Sw {
10007
10007
  * @param options - See {@link BaseConvexClientOptions} for a full description.
10008
10008
  */
10009
10009
  constructor(t, n, r) {
10010
- var b, y, w, R;
10010
+ var b, y, w, T;
10011
10011
  if (le(this, "address"), le(this, "state"), le(this, "requestManager"), le(this, "webSocketManager"), le(this, "authenticationManager"), le(this, "remoteQuerySet"), le(this, "optimisticQueryResults"), le(this, "_transitionHandlerCounter", 0), le(this, "_nextRequestId"), le(this, "_onTransitionFns", /* @__PURE__ */ new Map()), le(this, "_sessionId"), le(this, "firstMessageReceived", !1), le(this, "debug"), le(this, "logger"), le(this, "maxObservedTimestamp"), le(this, "connectionStateSubscribers", /* @__PURE__ */ new Map()), le(this, "nextConnectionStateSubscriberId", 0), le(this, "_lastPublishedConnectionState"), le(this, "markConnectionStateDirty", () => {
10012
10012
  Promise.resolve().then(() => {
10013
10013
  const f = this.connectionState();
@@ -10030,7 +10030,7 @@ class Sw {
10030
10030
  throw new Error(
10031
10031
  "No WebSocket global variable defined! To use Convex in an environment without WebSocket try the HTTP client: https://docs.convex.dev/api/classes/browser.ConvexHttpClient"
10032
10032
  );
10033
- s = s || WebSocket, this.debug = (y = r.reportDebugInfoToConvex) != null ? y : !1, this.address = t, this.logger = r.logger === !1 ? mh({ verbose: (w = r.verbose) != null ? w : !1 }) : r.logger !== !0 && r.logger ? r.logger : gh({ verbose: (R = r.verbose) != null ? R : !1 });
10033
+ s = s || WebSocket, this.debug = (y = r.reportDebugInfoToConvex) != null ? y : !1, this.address = t, this.logger = r.logger === !1 ? mh({ verbose: (w = r.verbose) != null ? w : !1 }) : r.logger !== !0 && r.logger ? r.logger : gh({ verbose: (T = r.verbose) != null ? T : !1 });
10034
10034
  const i = t.search("://");
10035
10035
  if (i === -1)
10036
10036
  throw new Error("Provided address was not an absolute URL.");
@@ -10578,7 +10578,7 @@ class Sw {
10578
10578
  }
10579
10579
  }
10580
10580
  var Cw = Object.defineProperty, Ew = (e, t, n) => t in e ? Cw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, jt = (e, t, n) => Ew(e, typeof t != "symbol" ? t + "" : t, n);
10581
- const Rw = 5e3;
10581
+ const Tw = 5e3;
10582
10582
  if (typeof Ar == "undefined")
10583
10583
  throw new Error("Required dependency 'react' not found");
10584
10584
  class Fl {
@@ -10718,7 +10718,7 @@ class Fl {
10718
10718
  */
10719
10719
  prewarmQuery(t) {
10720
10720
  var s;
10721
- const n = (s = t.extendSubscriptionFor) != null ? s : Rw, o = this.watchQuery(t.query, t.args || {}).onUpdate(() => {
10721
+ const n = (s = t.extendSubscriptionFor) != null ? s : Tw, o = this.watchQuery(t.query, t.args || {}).onUpdate(() => {
10722
10722
  });
10723
10723
  setTimeout(o, n);
10724
10724
  }
@@ -10863,18 +10863,18 @@ const Bl = {
10863
10863
  const b = h.messages || [], y = h.chatbotActivated;
10864
10864
  if (!l) {
10865
10865
  b.forEach((w) => {
10866
- const R = w.id || w._id;
10867
- R && i.add(R);
10866
+ const T = w.id || w._id;
10867
+ T && i.add(T);
10868
10868
  }), a = y, l = !0;
10869
10869
  return;
10870
10870
  }
10871
10871
  y !== void 0 && y !== a && (o == null || o(y), a = y), b.forEach((w) => {
10872
- const R = w.id || w._id;
10873
- if (!R || i.has(R) || w.role !== "employee")
10872
+ const T = w.id || w._id;
10873
+ if (!T || i.has(T) || w.role !== "employee")
10874
10874
  return;
10875
- i.add(R);
10875
+ i.add(T);
10876
10876
  const f = {
10877
- id: R,
10877
+ id: T,
10878
10878
  text: w.content || "",
10879
10879
  sender: "bot",
10880
10880
  timestamp: w.createdAt ? new Date(w.createdAt) : /* @__PURE__ */ new Date(),
@@ -10894,7 +10894,7 @@ const Bl = {
10894
10894
  } catch (s) {
10895
10895
  throw console.error("[❌ CONVEX INITIALIZATION ERROR]", s), s;
10896
10896
  }
10897
- }), Tw = (e, t) => Q(void 0, null, function* () {
10897
+ }), Rw = (e, t) => Q(void 0, null, function* () {
10898
10898
  try {
10899
10899
  const n = new Fl(Ul(e)), r = Bl.webchat.get.getConversationWithMessages, o = yield n.query(
10900
10900
  r,
@@ -11001,14 +11001,14 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11001
11001
  sender: "bot",
11002
11002
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
11003
11003
  type: "text"
11004
- }), Rc = () => typeof window != "undefined" && window.innerWidth < 640, Pw = ({ config: e, exposeControl: t }) => {
11004
+ }), Tc = () => typeof window != "undefined" && window.innerWidth < 640, Pw = ({ config: e, exposeControl: t }) => {
11005
11005
  if (!e.apiKey)
11006
11006
  return null;
11007
11007
  const n = [
11008
11008
  "482f3528-460c-4a07-8c8a-cbd187aa78a1",
11009
11009
  "1e893aee-c613-4a31-853b-d1b65cd89104",
11010
11010
  "dedcf0f1-0c44-4435-806d-c0bb9acf4714"
11011
- ], r = n.includes(e.apiKey || ""), [o, s] = C.useState(() => Qo(e)), [i, a] = C.useState(!r), [l, u] = C.useState(r), [c, m] = C.useState(null), [h, b] = C.useState(!1), [y, w] = C.useState(() => Rc()), [R, f] = C.useState(""), [d, p] = C.useState(!1), [v, k] = C.useState(!1), [T, _] = C.useState(!1), [E, $] = C.useState(""), [M, D] = C.useState(null), [ie, Te] = C.useState(!1), [I, j] = C.useState(!1), [U, F] = C.useState(""), [S, A] = C.useState(!0), [L, q] = C.useState(!1), Z = C.useRef(!0);
11011
+ ], r = n.includes(e.apiKey || ""), [o, s] = C.useState(() => Qo(e)), [i, a] = C.useState(!r), [l, u] = C.useState(r), [c, m] = C.useState(null), [h, b] = C.useState(!1), [y, w] = C.useState(() => Tc()), [T, f] = C.useState(""), [d, p] = C.useState(!1), [v, k] = C.useState(!1), [R, _] = C.useState(!1), [E, $] = C.useState(""), [M, D] = C.useState(null), [ie, Re] = C.useState(!1), [I, j] = C.useState(!1), [U, F] = C.useState(""), [S, A] = C.useState(!0), [L, q] = C.useState(!1), Z = C.useRef(!0);
11012
11012
  C.useEffect(() => {
11013
11013
  if (Z.current) {
11014
11014
  Z.current = !1;
@@ -11016,9 +11016,9 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11016
11016
  }
11017
11017
  if (typeof window != "undefined") {
11018
11018
  const z = h ? "notchatbot-webchat-open" : "notchatbot-webchat-closed";
11019
- window.dispatchEvent(new CustomEvent(z, { detail: { conversationId: R } }));
11019
+ window.dispatchEvent(new CustomEvent(z, { detail: { conversationId: T } }));
11020
11020
  }
11021
- }, [h, R]);
11021
+ }, [h, T]);
11022
11022
  const [ye, we] = C.useState([
11023
11023
  e.initialMessage ? {
11024
11024
  id: tt(),
@@ -11028,7 +11028,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11028
11028
  type: "text"
11029
11029
  } : Sh(e.title)
11030
11030
  ]), _e = C.useCallback((z, G = "bot") => {
11031
- if (we((ce) => [...ce, z]), !h && (z.sender === "bot" || G === "bot") && z.id !== U && Te(!0), typeof window != "undefined" && (G === "bot" || G === "ably")) {
11031
+ if (we((ce) => [...ce, z]), !h && (z.sender === "bot" || G === "bot") && z.id !== U && Re(!0), typeof window != "undefined" && (G === "bot" || G === "ably")) {
11032
11032
  const ce = G === "bot" ? "assistant" : "employee";
11033
11033
  window.dispatchEvent(new CustomEvent("notchatbot-webchat-message-received", {
11034
11034
  detail: { message: z, role: ce }
@@ -11037,7 +11037,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11037
11037
  }, [h, U]);
11038
11038
  C.useEffect(() => {
11039
11039
  const z = () => {
11040
- const G = Rc();
11040
+ const G = Tc();
11041
11041
  w(G);
11042
11042
  };
11043
11043
  return window.addEventListener("resize", z), () => window.removeEventListener("resize", z);
@@ -11083,12 +11083,12 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11083
11083
  }, [_e]), rn = C.useCallback((z) => {
11084
11084
  A(z);
11085
11085
  }, []), xt = C.useCallback(() => Q(void 0, null, function* () {
11086
- if (!(I || M) && R)
11086
+ if (!(I || M) && T)
11087
11087
  try {
11088
11088
  const z = Wo(), G = yield vh(
11089
11089
  z,
11090
11090
  e.apiKey || "",
11091
- R,
11091
+ T,
11092
11092
  Ke,
11093
11093
  rn
11094
11094
  );
@@ -11096,20 +11096,20 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11096
11096
  } catch (z) {
11097
11097
  console.error("[❌ CONVEX SETUP ERROR]", z);
11098
11098
  }
11099
- }), [I, R, e.apiKey, Ke, rn, M]), ql = C.useCallback(() => Q(void 0, null, function* () {
11099
+ }), [I, T, e.apiKey, Ke, rn, M]), ql = C.useCallback(() => Q(void 0, null, function* () {
11100
11100
  var G;
11101
11101
  const z = h;
11102
11102
  if (b((ce) => !ce), !z) {
11103
- Te(!1);
11103
+ Re(!1);
11104
11104
  const ce = ye.filter((de) => de.sender === "bot").slice(-1)[0];
11105
11105
  ce && F(ce.id);
11106
11106
  }
11107
- if (!z && !d && R && Si() && !I) {
11107
+ if (!z && !d && T && Si() && !I) {
11108
11108
  k(!0);
11109
11109
  try {
11110
- const ce = Wo(), de = yield Tw(
11110
+ const ce = Wo(), de = yield Rw(
11111
11111
  ce,
11112
- R
11112
+ T
11113
11113
  );
11114
11114
  if (((G = de == null ? void 0 : de.messages) == null ? void 0 : G.length) > 0) {
11115
11115
  const kn = ly(de.messages);
@@ -11125,13 +11125,13 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11125
11125
  } else !z && Si() && !I && (yield xt());
11126
11126
  }), [
11127
11127
  h,
11128
- R,
11128
+ T,
11129
11129
  d,
11130
11130
  I,
11131
11131
  e.apiKey,
11132
11132
  xt,
11133
11133
  ye
11134
- ]), Th = C.useCallback(() => {
11134
+ ]), Rh = C.useCallback(() => {
11135
11135
  b(!1);
11136
11136
  }, []), _h = C.useCallback((z, G) => Q(void 0, null, function* () {
11137
11137
  const ce = (/* @__PURE__ */ new Date()).toISOString(), de = [], kn = [...ye];
@@ -11161,7 +11161,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11161
11161
  })), _(!0);
11162
11162
  try {
11163
11163
  const Le = bh(
11164
- R,
11164
+ T,
11165
11165
  kn,
11166
11166
  de,
11167
11167
  { apiKey: e.apiKey || "", note: e.note },
@@ -11187,7 +11187,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11187
11187
  }
11188
11188
  _(!1), ry(!0);
11189
11189
  }), [
11190
- R,
11190
+ T,
11191
11191
  ye,
11192
11192
  e.apiKey,
11193
11193
  E,
@@ -11199,8 +11199,8 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11199
11199
  C.useEffect(() => () => {
11200
11200
  M && Ko(M), c && Ko(c);
11201
11201
  }, [M, c]), C.useEffect(() => {
11202
- R && Si() && !I && !v && d && xt();
11203
- }, [R, I, v, d, xt]);
11202
+ T && Si() && !I && !v && d && xt();
11203
+ }, [T, I, v, d, xt]);
11204
11204
  const Vl = C.useCallback((z) => b(z), []), Wl = C.useCallback((z) => s((G) => P(P({}, G), z)), []), Ql = C.useCallback((z) => s((G) => P(P({}, G), z)), []), [Ih, Hl] = C.useState(!1), Yl = C.useCallback(() => Hl(!0), []), Kl = C.useCallback(() => Hl(!1), []);
11205
11205
  return C.useEffect(() => {
11206
11206
  t && t({ setIsOpen: Vl, updateConfig: Wl, setPosition: Ql, hide: Yl, show: Kl });
@@ -11236,12 +11236,12 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11236
11236
  Jm,
11237
11237
  {
11238
11238
  isOpen: h,
11239
- onClose: Th,
11239
+ onClose: Rh,
11240
11240
  config: o,
11241
11241
  messages: ye,
11242
11242
  onSendMessage: _h,
11243
11243
  isLoading: v,
11244
- isAiTyping: T,
11244
+ isAiTyping: R,
11245
11245
  position: ft.position,
11246
11246
  marginBottom: ft.marginBottom,
11247
11247
  marginSide: ft.marginSide,
@@ -11250,7 +11250,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11250
11250
  chatbotActivated: S,
11251
11251
  isRated: L,
11252
11252
  onRatingChange: q,
11253
- conversationId: R
11253
+ conversationId: T
11254
11254
  }
11255
11255
  )
11256
11256
  ] });
@@ -11443,7 +11443,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11443
11443
  i(k);
11444
11444
  });
11445
11445
  }, []);
11446
- const R = C.useCallback((v) => {
11446
+ const T = C.useCallback((v) => {
11447
11447
  w(v), typeof window != "undefined" && window.dispatchEvent(new CustomEvent("notchatbot-embedchat-message-received", {
11448
11448
  detail: { message: v, role: "employee" }
11449
11449
  }));
@@ -11456,17 +11456,17 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11456
11456
  v,
11457
11457
  e.apiKey || "",
11458
11458
  t,
11459
- R,
11459
+ T,
11460
11460
  f
11461
11461
  );
11462
11462
  l(k), c(!0);
11463
11463
  } catch (v) {
11464
11464
  console.error("[❌ CONVEX SETUP ERROR]", v);
11465
11465
  }
11466
- }), [u, t, e.apiKey, R, f, a]), p = C.useCallback((v, k) => Q(void 0, null, function* () {
11466
+ }), [u, t, e.apiKey, T, f, a]), p = C.useCallback((v, k) => Q(void 0, null, function* () {
11467
11467
  if (!v.trim() && (!k || k.length === 0)) return;
11468
- let T = t;
11469
- T || (T = tt(), n(T));
11468
+ let R = t;
11469
+ R || (R = tt(), n(R));
11470
11470
  const _ = (/* @__PURE__ */ new Date()).toISOString(), E = [...b], $ = [];
11471
11471
  if (v.trim()) {
11472
11472
  const M = {
@@ -11474,7 +11474,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11474
11474
  text: v,
11475
11475
  sender: "user",
11476
11476
  timestamp: _,
11477
- conversationId: T,
11477
+ conversationId: R,
11478
11478
  type: "text"
11479
11479
  };
11480
11480
  w(M), typeof window != "undefined" && window.dispatchEvent(new CustomEvent("notchatbot-embedchat-message-sent", {
@@ -11487,7 +11487,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11487
11487
  text: D.type.startsWith("image/") ? `![image](${D.url})` : `[${D.name}](${D.url})`,
11488
11488
  sender: "user",
11489
11489
  timestamp: _,
11490
- conversationId: T,
11490
+ conversationId: R,
11491
11491
  type: D.type.startsWith("image/") ? "image" : "file",
11492
11492
  metaContent: D.url
11493
11493
  }));
@@ -11500,7 +11500,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Sh = (e) => ({
11500
11500
  o(!0);
11501
11501
  try {
11502
11502
  const M = bh(
11503
- T,
11503
+ R,
11504
11504
  E,
11505
11505
  $,
11506
11506
  { apiKey: e.apiKey || "" },
@@ -11582,7 +11582,7 @@ const Na = {}, Eh = (e) => {
11582
11582
  }
11583
11583
  const o = document.createElement("div");
11584
11584
  n.appendChild(o);
11585
- const s = Tl(o);
11585
+ const s = Rl(o);
11586
11586
  return s.render(Ar.createElement($w, { config: e })), Xo[e.elementId] = {
11587
11587
  destroy: () => {
11588
11588
  s.unmount(), n.innerHTML = "", delete Xo[e.elementId], Na[e.elementId] = e;
@@ -11601,13 +11601,13 @@ function kt() {
11601
11601
  const t = n, { elementId: o } = t, s = Xs(t, ["elementId"]);
11602
11602
  "elementId" in s && delete s.elementId;
11603
11603
  const i = Object.assign({ elementId: r }, s);
11604
- e = Rh(i), Pa && e && e.setIsOpen && e.setIsOpen(!0);
11604
+ e = Th(i), Pa && e && e.setIsOpen && e.setIsOpen(!0);
11605
11605
  const a = new CustomEvent("WebChatReady");
11606
11606
  document.dispatchEvent(a);
11607
11607
  }
11608
11608
  return e;
11609
11609
  }
11610
- const Rh = (e) => {
11610
+ const Th = (e) => {
11611
11611
  try {
11612
11612
  let t = function(y) {
11613
11613
  return Ar.createElement(Pw, Y(P({}, y), {
@@ -11630,7 +11630,7 @@ const Rh = (e) => {
11630
11630
  const i = document.createElement("div");
11631
11631
  o.appendChild(i);
11632
11632
  let a = null, l = null, u = null, c = null, m = null, h = null;
11633
- const b = Tl(i);
11633
+ const b = Rl(i);
11634
11634
  return b.render(Ar.createElement(t, { config: n })), Nr[n.elementId] = {
11635
11635
  root: b,
11636
11636
  destroy: () => {
@@ -11664,7 +11664,7 @@ const Rh = (e) => {
11664
11664
  return console.error("WebChat: Failed to initialize", t), null;
11665
11665
  }
11666
11666
  }, jw = {
11667
- initialize: Rh
11667
+ initialize: Th
11668
11668
  }, Ow = {
11669
11669
  initialize: Eh
11670
11670
  };
@@ -11767,10 +11767,24 @@ function No() {
11767
11767
  }
11768
11768
  }), n();
11769
11769
  }
11770
- function zw() {
11771
- return typeof window.requirejs == "function" || typeof window.mage == "object";
11772
- }
11773
- zw() ? document.readyState === "complete" ? setTimeout(No, 0) : window.addEventListener("load", No) : document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", No) : setTimeout(No, 0);
11770
+ (function(e) {
11771
+ const t = typeof window != "undefined" ? window : globalThis;
11772
+ typeof t.define == "function" && t.define.amd ? t.define([], e) : e();
11773
+ })(function() {
11774
+ function e() {
11775
+ return typeof window.requirejs == "function" || typeof window.mage == "object";
11776
+ }
11777
+ function t(n) {
11778
+ const r = () => {
11779
+ const o = window;
11780
+ o.jQuery && o.jQuery.ui && o.jQuery.widget ? n() : setTimeout(r, 50);
11781
+ };
11782
+ r();
11783
+ }
11784
+ e() ? document.readyState === "complete" ? setTimeout(() => t(No), 0) : window.addEventListener("load", () => {
11785
+ t(No);
11786
+ }) : document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", No) : setTimeout(No, 0);
11787
+ });
11774
11788
  export {
11775
11789
  Ow as EmbedChatAPI,
11776
11790
  jw as WebChat