@cimulate/copilot-widget 1.26.1 → 1.27.0

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.
@@ -85,23 +85,23 @@ function wC() {
85
85
  }, enqueueReplaceState: function() {
86
86
  }, enqueueSetState: function() {
87
87
  } }, _ = Object.assign, C = {};
88
- function w(D, ee, I) {
88
+ function N(D, ee, I) {
89
89
  this.props = D, this.context = ee, this.refs = C, this.updater = I || y;
90
90
  }
91
- w.prototype.isReactComponent = {}, w.prototype.setState = function(D, ee) {
91
+ N.prototype.isReactComponent = {}, N.prototype.setState = function(D, ee) {
92
92
  if (typeof D != "object" && typeof D != "function" && D != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
93
93
  this.updater.enqueueSetState(this, D, ee, "setState");
94
- }, w.prototype.forceUpdate = function(D) {
94
+ }, N.prototype.forceUpdate = function(D) {
95
95
  this.updater.enqueueForceUpdate(this, D, "forceUpdate");
96
96
  };
97
97
  function A() {
98
98
  }
99
- A.prototype = w.prototype;
99
+ A.prototype = N.prototype;
100
100
  function P(D, ee, I) {
101
101
  this.props = D, this.context = ee, this.refs = C, this.updater = I || y;
102
102
  }
103
- var N = P.prototype = new A();
104
- N.constructor = P, _(N, w.prototype), N.isPureReactComponent = !0;
103
+ var w = P.prototype = new A();
104
+ w.constructor = P, _(w, N.prototype), w.isPureReactComponent = !0;
105
105
  var H = Array.isArray, Y = Object.prototype.hasOwnProperty, R = { current: null }, q = { key: !0, ref: !0, __self: !0, __source: !0 };
106
106
  function ne(D, ee, I) {
107
107
  var _e, Me = {}, ye = null, Re = null;
@@ -199,7 +199,7 @@ function wC() {
199
199
  }, only: function(D) {
200
200
  if (!V(D)) throw Error("React.Children.only expected to receive a single React element child.");
201
201
  return D;
202
- } }, Ge.Component = w, Ge.Fragment = n, Ge.Profiler = s, Ge.PureComponent = P, Ge.StrictMode = r, Ge.Suspense = f, Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ie, Ge.act = v, Ge.cloneElement = function(D, ee, I) {
202
+ } }, Ge.Component = N, Ge.Fragment = n, Ge.Profiler = s, Ge.PureComponent = P, Ge.StrictMode = r, Ge.Suspense = f, Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ie, Ge.act = v, Ge.cloneElement = function(D, ee, I) {
203
203
  if (D == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + D + ".");
204
204
  var _e = _({}, D.props), Me = D.key, ye = D.ref, Re = D._owner;
205
205
  if (ee != null) {
@@ -4413,8 +4413,8 @@ function Dc(e, t, n) {
4413
4413
  indexes: !1
4414
4414
  },
4415
4415
  !1,
4416
- function(P, N) {
4417
- return !$.isUndefined(N[P]);
4416
+ function(P, w) {
4417
+ return !$.isUndefined(w[P]);
4418
4418
  }
4419
4419
  );
4420
4420
  const r = n.metaTokens, s = n.visitor || _, a = n.dots, u = n.indexes, c = n.Blob || typeof Blob != "undefined" && Blob, f = n.maxDepth === void 0 ? ub : n.maxDepth, d = c && $.isSpecCompliantForm(t), p = [];
@@ -4447,20 +4447,20 @@ function Dc(e, t, n) {
4447
4447
  function y(A, P) {
4448
4448
  if (f === 1 / 0)
4449
4449
  return JSON.stringify(A);
4450
- const N = [];
4450
+ const w = [];
4451
4451
  return JSON.stringify(A, function(Y, R) {
4452
4452
  if (!$.isObject(R))
4453
4453
  return R;
4454
- for (; N.length && N[N.length - 1] !== this; )
4455
- N.pop();
4456
- return N.push(R), b(P + N.length - 1), R;
4454
+ for (; w.length && w[w.length - 1] !== this; )
4455
+ w.pop();
4456
+ return w.push(R), b(P + w.length - 1), R;
4457
4457
  });
4458
4458
  }
4459
- function _(A, P, N) {
4459
+ function _(A, P, w) {
4460
4460
  let H = A;
4461
4461
  if ($.isReactNative(t) && $.isReactNativeBlob(A))
4462
- return t.append(ah(N, P, a), m(A)), !1;
4463
- if (A && !N && typeof A == "object") {
4462
+ return t.append(ah(w, P, a), m(A)), !1;
4463
+ if (A && !w && typeof A == "object") {
4464
4464
  if ($.endsWith(P, "{}"))
4465
4465
  P = r ? P : P.slice(0, -2), A = y(A, 1);
4466
4466
  else if ($.isArray(A) && uv(A) || ($.isFileList(A) || $.endsWith(P, "[]")) && (H = $.toArray(A)))
@@ -4472,25 +4472,25 @@ function Dc(e, t, n) {
4472
4472
  );
4473
4473
  }), !1;
4474
4474
  }
4475
- return ep(A) ? !0 : (t.append(ah(N, P, a), m(A)), !1);
4475
+ return ep(A) ? !0 : (t.append(ah(w, P, a), m(A)), !1);
4476
4476
  }
4477
4477
  const C = Object.assign(lv, {
4478
4478
  defaultVisitor: _,
4479
4479
  convertValue: m,
4480
4480
  isVisitable: ep
4481
4481
  });
4482
- function w(A, P, N = 0) {
4482
+ function N(A, P, w = 0) {
4483
4483
  if (!$.isUndefined(A)) {
4484
- if (b(N), p.indexOf(A) !== -1)
4484
+ if (b(w), p.indexOf(A) !== -1)
4485
4485
  throw new Error("Circular reference detected in " + P.join("."));
4486
4486
  p.push(A), $.forEach(A, function(Y, R) {
4487
- (!($.isUndefined(Y) || Y === null) && s.call(t, Y, $.isString(R) ? R.trim() : R, P, C)) === !0 && w(Y, P ? P.concat(R) : [R], N + 1);
4487
+ (!($.isUndefined(Y) || Y === null) && s.call(t, Y, $.isString(R) ? R.trim() : R, P, C)) === !0 && N(Y, P ? P.concat(R) : [R], w + 1);
4488
4488
  }), p.pop();
4489
4489
  }
4490
4490
  }
4491
4491
  if (!$.isObject(e))
4492
4492
  throw new TypeError("data must be an object");
4493
- return w(e), t;
4493
+ return N(e), t;
4494
4494
  }
4495
4495
  function oE(e) {
4496
4496
  const t = {
@@ -5051,20 +5051,20 @@ const Fv = typeof XMLHttpRequest != "undefined", Bv = Fv && function(e) {
5051
5051
  function C() {
5052
5052
  y && y(), _ && _(), s.cancelToken && s.cancelToken.unsubscribe(p), s.signal && s.signal.removeEventListener("abort", p);
5053
5053
  }
5054
- let w = new XMLHttpRequest();
5055
- w.open(s.method.toUpperCase(), s.url, !0), w.timeout = s.timeout;
5054
+ let N = new XMLHttpRequest();
5055
+ N.open(s.method.toUpperCase(), s.url, !0), N.timeout = s.timeout;
5056
5056
  function A() {
5057
- if (!w)
5057
+ if (!N)
5058
5058
  return;
5059
- const N = cn.from(
5060
- "getAllResponseHeaders" in w && w.getAllResponseHeaders()
5059
+ const w = cn.from(
5060
+ "getAllResponseHeaders" in N && N.getAllResponseHeaders()
5061
5061
  ), Y = {
5062
- data: !c || c === "text" || c === "json" ? w.responseText : w.response,
5063
- status: w.status,
5064
- statusText: w.statusText,
5065
- headers: N,
5062
+ data: !c || c === "text" || c === "json" ? N.responseText : N.response,
5063
+ status: N.status,
5064
+ statusText: N.statusText,
5065
+ headers: w,
5066
5066
  config: e,
5067
- request: w
5067
+ request: N
5068
5068
  };
5069
5069
  mb(
5070
5070
  function(q) {
@@ -5074,16 +5074,16 @@ const Fv = typeof XMLHttpRequest != "undefined", Bv = Fv && function(e) {
5074
5074
  r(q), C();
5075
5075
  },
5076
5076
  Y
5077
- ), w = null;
5078
- }
5079
- "onloadend" in w ? w.onloadend = A : w.onreadystatechange = function() {
5080
- !w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.startsWith("file:")) || setTimeout(A);
5081
- }, w.onabort = function() {
5082
- w && (r(new be("Request aborted", be.ECONNABORTED, e, w)), C(), w = null);
5083
- }, w.onerror = function(H) {
5084
- const Y = H && H.message ? H.message : "Network Error", R = new be(Y, be.ERR_NETWORK, e, w);
5085
- R.event = H || null, r(R), C(), w = null;
5086
- }, w.ontimeout = function() {
5077
+ ), N = null;
5078
+ }
5079
+ "onloadend" in N ? N.onloadend = A : N.onreadystatechange = function() {
5080
+ !N || N.readyState !== 4 || N.status === 0 && !(N.responseURL && N.responseURL.startsWith("file:")) || setTimeout(A);
5081
+ }, N.onabort = function() {
5082
+ N && (r(new be("Request aborted", be.ECONNABORTED, e, N)), C(), N = null);
5083
+ }, N.onerror = function(H) {
5084
+ const Y = H && H.message ? H.message : "Network Error", R = new be(Y, be.ERR_NETWORK, e, N);
5085
+ R.event = H || null, r(R), C(), N = null;
5086
+ }, N.ontimeout = function() {
5087
5087
  let H = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
5088
5088
  const Y = s.transitional || Kp;
5089
5089
  s.timeoutErrorMessage && (H = s.timeoutErrorMessage), r(
@@ -5091,13 +5091,13 @@ const Fv = typeof XMLHttpRequest != "undefined", Bv = Fv && function(e) {
5091
5091
  H,
5092
5092
  Y.clarifyTimeoutError ? be.ETIMEDOUT : be.ECONNABORTED,
5093
5093
  e,
5094
- w
5094
+ N
5095
5095
  )
5096
- ), C(), w = null;
5097
- }, a === void 0 && u.setContentType(null), "setRequestHeader" in w && $.forEach(ob(u), function(H, Y) {
5098
- w.setRequestHeader(Y, H);
5099
- }), $.isUndefined(s.withCredentials) || (w.withCredentials = !!s.withCredentials), c && c !== "json" && (w.responseType = s.responseType), d && ([b, _] = hc(d, !0), w.addEventListener("progress", b)), f && w.upload && ([m, y] = hc(f), w.upload.addEventListener("progress", m), w.upload.addEventListener("loadend", y)), (s.cancelToken || s.signal) && (p = (N) => {
5100
- w && (r(!N || N.type ? new cu(null, e, w) : N), w.abort(), C(), w = null);
5096
+ ), C(), N = null;
5097
+ }, a === void 0 && u.setContentType(null), "setRequestHeader" in N && $.forEach(ob(u), function(H, Y) {
5098
+ N.setRequestHeader(Y, H);
5099
+ }), $.isUndefined(s.withCredentials) || (N.withCredentials = !!s.withCredentials), c && c !== "json" && (N.responseType = s.responseType), d && ([b, _] = hc(d, !0), N.addEventListener("progress", b)), f && N.upload && ([m, y] = hc(f), N.upload.addEventListener("progress", m), N.upload.addEventListener("loadend", y)), (s.cancelToken || s.signal) && (p = (w) => {
5100
+ N && (r(!w || w.type ? new cu(null, e, N) : w), N.abort(), C(), N = null);
5101
5101
  }, s.cancelToken && s.cancelToken.subscribe(p), s.signal && (s.signal.aborted ? p() : s.signal.addEventListener("abort", p)));
5102
5102
  const P = xv(s.url);
5103
5103
  if (P && !nn.protocols.includes(P)) {
@@ -5110,7 +5110,7 @@ const Fv = typeof XMLHttpRequest != "undefined", Bv = Fv && function(e) {
5110
5110
  ), C();
5111
5111
  return;
5112
5112
  }
5113
- w.send(a || null);
5113
+ N.send(a || null);
5114
5114
  });
5115
5115
  }, Uv = (e, t) => {
5116
5116
  if (e = e ? e.filter(Boolean) : [], !t && !e.length)
@@ -5301,20 +5301,20 @@ const Jp = "1.18.1", pE = 64 * 1024, { isFunction: Ml } = $, qv = (e) => encodeU
5301
5301
  get duplex() {
5302
5302
  return A = !0, "half";
5303
5303
  }
5304
- }), N = P.headers.has("Content-Type");
5305
- return P.body != null && P.body.cancel(), A && !N;
5304
+ }), w = P.headers.has("Content-Type");
5305
+ return P.body != null && P.body.cancel(), A && !w;
5306
5306
  }), y = d && p && gE(() => $.isReadableStream(new u("").body)), _ = {
5307
5307
  stream: y && ((A) => A.body)
5308
5308
  };
5309
5309
  c && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((A) => {
5310
- !_[A] && (_[A] = (P, N) => {
5310
+ !_[A] && (_[A] = (P, w) => {
5311
5311
  let H = P && P[A];
5312
5312
  if (H)
5313
5313
  return H.call(P);
5314
5314
  throw new be(
5315
5315
  `Response type '${A}' is not supported`,
5316
5316
  be.ERR_NOT_SUPPORT,
5317
- N
5317
+ w
5318
5318
  );
5319
5319
  });
5320
5320
  });
@@ -5332,14 +5332,14 @@ const Jp = "1.18.1", pE = 64 * 1024, { isFunction: Ml } = $, qv = (e) => encodeU
5332
5332
  return A.byteLength;
5333
5333
  if ($.isURLSearchParams(A) && (A = A + ""), $.isString(A))
5334
5334
  return (yield m(A)).byteLength;
5335
- }), w = (A, P) => Ye(null, null, function* () {
5336
- const N = $.toFiniteNumber(A.getContentLength());
5337
- return N == null ? C(P) : N;
5335
+ }), N = (A, P) => Ye(null, null, function* () {
5336
+ const w = $.toFiniteNumber(A.getContentLength());
5337
+ return w == null ? C(P) : w;
5338
5338
  });
5339
5339
  return (A) => Ye(null, null, function* () {
5340
5340
  let {
5341
5341
  url: P,
5342
- method: N,
5342
+ method: w,
5343
5343
  data: H,
5344
5344
  signal: Y,
5345
5345
  cancelToken: R,
@@ -5401,7 +5401,7 @@ const Jp = "1.18.1", pE = 64 * 1024, { isFunction: Ml } = $, qv = (e) => encodeU
5401
5401
  A,
5402
5402
  D
5403
5403
  );
5404
- if (ae && N !== "get" && N !== "head") {
5404
+ if (ae && w !== "get" && w !== "head") {
5405
5405
  const ze = yield C(H);
5406
5406
  if (typeof ze == "number" && isFinite(ze) && (I = ze, ze > oe))
5407
5407
  throw Me();
@@ -5416,8 +5416,8 @@ const Jp = "1.18.1", pE = 64 * 1024, { isFunction: Ml } = $, qv = (e) => encodeU
5416
5416
  },
5417
5417
  gn
5418
5418
  );
5419
- if (b && N !== "get" && N !== "head" && (me || Fe)) {
5420
- if (I = I == null ? yield w(se, H) : I, I !== 0 || Fe) {
5419
+ if (b && w !== "get" && w !== "head" && (me || Fe)) {
5420
+ if (I = I == null ? yield N(se, H) : I, I !== 0 || Fe) {
5421
5421
  let ze = new a(P, {
5422
5422
  method: "POST",
5423
5423
  body: H,
@@ -5431,9 +5431,9 @@ const Jp = "1.18.1", pE = 64 * 1024, { isFunction: Ml } = $, qv = (e) => encodeU
5431
5431
  H = $e(ze.body, gn, Kt);
5432
5432
  }
5433
5433
  }
5434
- } else if (Fe && !f && p && N !== "get" && N !== "head")
5434
+ } else if (Fe && !f && p && w !== "get" && w !== "head")
5435
5435
  H = $e(H);
5436
- else if (Fe && f && !b && N !== "get" && N !== "head")
5436
+ else if (Fe && f && !b && w !== "get" && w !== "head")
5437
5437
  throw new be(
5438
5438
  "Stream request bodies are not supported by the current fetch implementation",
5439
5439
  be.ERR_NOT_SUPPORT,
@@ -5449,7 +5449,7 @@ const Jp = "1.18.1", pE = 64 * 1024, { isFunction: Ml } = $, qv = (e) => encodeU
5449
5449
  se.set("User-Agent", "axios/" + Jp, !1);
5450
5450
  const mn = he(F({}, Ne), {
5451
5451
  signal: v,
5452
- method: N.toUpperCase(),
5452
+ method: w.toUpperCase(),
5453
5453
  headers: ob(se.normalize()),
5454
5454
  body: H,
5455
5455
  duplex: "half",
@@ -5794,8 +5794,8 @@ let ls = class {
5794
5794
  if (typeof C.runWhen == "function" && C.runWhen(n) === !1)
5795
5795
  return;
5796
5796
  f = f && C.synchronous;
5797
- const w = n.transitional || Kp;
5798
- w && w.legacyInterceptorReqResOrdering ? c.unshift(C.fulfilled, C.rejected) : c.push(C.fulfilled, C.rejected);
5797
+ const N = n.transitional || Kp;
5798
+ N && N.legacyInterceptorReqResOrdering ? c.unshift(C.fulfilled, C.rejected) : c.push(C.fulfilled, C.rejected);
5799
5799
  });
5800
5800
  const d = [];
5801
5801
  this.interceptors.response.forEach(function(C) {
@@ -5814,8 +5814,8 @@ let ls = class {
5814
5814
  const _ = c[m++], C = c[m++];
5815
5815
  try {
5816
5816
  y = _(y);
5817
- } catch (w) {
5818
- C.call(this, w);
5817
+ } catch (N) {
5818
+ C.call(this, N);
5819
5819
  break;
5820
5820
  }
5821
5821
  }
@@ -6044,23 +6044,23 @@ Pt.getAdapter = Tb.getAdapter;
6044
6044
  Pt.HttpStatusCode = np;
6045
6045
  Pt.default = Pt;
6046
6046
  const {
6047
- Axios: G7,
6048
- AxiosError: W7,
6049
- CanceledError: X7,
6050
- isCancel: K7,
6051
- CancelToken: Q7,
6052
- VERSION: J7,
6053
- all: Z7,
6054
- Cancel: eU,
6055
- isAxiosError: tU,
6056
- spread: nU,
6057
- toFormData: rU,
6058
- AxiosHeaders: iU,
6059
- HttpStatusCode: sU,
6060
- formToJSON: oU,
6061
- getAdapter: aU,
6062
- mergeConfig: uU,
6063
- create: lU
6047
+ Axios: W7,
6048
+ AxiosError: X7,
6049
+ CanceledError: K7,
6050
+ isCancel: Q7,
6051
+ CancelToken: J7,
6052
+ VERSION: Z7,
6053
+ all: eU,
6054
+ Cancel: tU,
6055
+ isAxiosError: nU,
6056
+ spread: rU,
6057
+ toFormData: iU,
6058
+ AxiosHeaders: sU,
6059
+ HttpStatusCode: oU,
6060
+ formToJSON: aU,
6061
+ getAdapter: uU,
6062
+ mergeConfig: lU,
6063
+ create: cU
6064
6064
  } = Pt;
6065
6065
  class tP {
6066
6066
  constructor(t, n, r, s = !1, a, u) {
@@ -6202,10 +6202,10 @@ const iP = {
6202
6202
  searchConfig: y,
6203
6203
  suggestionButtonConfig: _,
6204
6204
  progressStepsLimit: C = 3,
6205
- messageAlignment: w = "start",
6205
+ messageAlignment: N = "start",
6206
6206
  autoScroll: A = !0,
6207
6207
  showProductDescription: P = !1,
6208
- componentConfig: N,
6208
+ componentConfig: w,
6209
6209
  conversationHistory: H,
6210
6210
  resetConversationMessage: Y = "",
6211
6211
  apiKey: R,
@@ -6257,10 +6257,10 @@ const iP = {
6257
6257
  searchConfig: _e,
6258
6258
  suggestionButtonConfig: _,
6259
6259
  progressStepsLimit: C,
6260
- messageAlignment: w,
6260
+ messageAlignment: N,
6261
6261
  autoScroll: A,
6262
6262
  showProductDescription: !!P,
6263
- enableMinimize: !!(N != null && N.enableMinimize),
6263
+ enableMinimize: !!(w != null && w.enableMinimize),
6264
6264
  enableDownloadTranscript: oe,
6265
6265
  enableEscalationToAgent: xe,
6266
6266
  showProductCaptions: !!ae,
@@ -6285,10 +6285,10 @@ const iP = {
6285
6285
  u,
6286
6286
  _e,
6287
6287
  _,
6288
- w,
6288
+ N,
6289
6289
  A,
6290
6290
  P,
6291
- N,
6291
+ w,
6292
6292
  oe,
6293
6293
  xe,
6294
6294
  ae,
@@ -6432,13 +6432,13 @@ const Xe = new oP(), ms = () => Xe.connected, fu = () => Xe.isOpen, aP = (e) =>
6432
6432
  }, Fc = (e) => {
6433
6433
  const t = Xe.statusProxy.isMinimized, n = typeof e == "boolean" ? e : !t;
6434
6434
  Xe.statusProxy.isMinimized = n, n && (Xe.statusProxy.isOpen = !1);
6435
- }, e0 = (e) => {
6435
+ }, em = (e) => {
6436
6436
  Xe.modalProxy.isFullscreen = e;
6437
6437
  }, Bc = (e) => {
6438
6438
  if (!["chat", "dialog", "modal"].includes(e))
6439
6439
  throw new Error(`Invalid type: ${e}. Must be 'chat', 'dialog', or 'modal'.`);
6440
6440
  Xe.statusProxy.type = e, e === "dialog" || e === "chat" ? Xe.modeProxy.mode = "embedded" : Xe.modeProxy.mode = "standalone";
6441
- }, t0 = (e) => {
6441
+ }, tm = (e) => {
6442
6442
  const t = [
6443
6443
  "top",
6444
6444
  "top-left",
@@ -6462,13 +6462,13 @@ const Xe = new oP(), ms = () => Xe.connected, fu = () => Xe.isOpen, aP = (e) =>
6462
6462
  dispatch: n
6463
6463
  }) => {
6464
6464
  const { logger: r } = Je(), s = B.useCallback(
6465
- (N) => {
6466
- n({ type: dt.SET_COPILOT, payload: N });
6465
+ (w) => {
6466
+ n({ type: dt.SET_COPILOT, payload: w });
6467
6467
  },
6468
6468
  [n]
6469
6469
  ), a = B.useCallback(
6470
- (N) => {
6471
- cP(N), n({ type: dt.SET_CONNECTED, payload: N });
6470
+ (w) => {
6471
+ cP(w), n({ type: dt.SET_CONNECTED, payload: w });
6472
6472
  },
6473
6473
  [n]
6474
6474
  ), u = B.useCallback(() => {
@@ -6476,58 +6476,58 @@ const Xe = new oP(), ms = () => Xe.connected, fu = () => Xe.isOpen, aP = (e) =>
6476
6476
  }, [n]), c = B.useCallback(() => {
6477
6477
  n({ type: dt.RESET_STATE, payload: {} });
6478
6478
  }, [n]), f = B.useCallback(
6479
- (N) => {
6480
- r == null || r.log(`${N.name} event received`, N), n({ type: dt.ADD_MESSAGE, payload: N }), N.bypassHandlers || e == null || e(N);
6479
+ (w) => {
6480
+ r == null || r.log(`${w.name} event received`, w), n({ type: dt.ADD_MESSAGE, payload: w }), w.bypassHandlers || e == null || e(w);
6481
6481
  },
6482
6482
  [e, r, n]
6483
6483
  ), d = B.useCallback(
6484
- (N) => {
6485
- n({ type: dt.ADD_LOADING_MESSAGE, payload: N });
6484
+ (w) => {
6485
+ n({ type: dt.ADD_LOADING_MESSAGE, payload: w });
6486
6486
  },
6487
6487
  [n]
6488
6488
  ), p = B.useCallback(
6489
- (N) => {
6490
- n({ type: dt.REMOVE_LOADING_MESSAGE, payload: N });
6489
+ (w) => {
6490
+ n({ type: dt.REMOVE_LOADING_MESSAGE, payload: w });
6491
6491
  },
6492
6492
  [n]
6493
6493
  ), m = B.useCallback(
6494
- (N) => {
6495
- f(N), d(N.id);
6494
+ (w) => {
6495
+ f(w), d(w.id);
6496
6496
  },
6497
6497
  [f, d]
6498
6498
  ), b = B.useCallback(
6499
- (N) => {
6500
- n({ type: dt.SET_ACTIVE_CONVERSATION_ID, payload: N });
6499
+ (w) => {
6500
+ n({ type: dt.SET_ACTIVE_CONVERSATION_ID, payload: w });
6501
6501
  },
6502
6502
  [n]
6503
6503
  ), y = B.useCallback(
6504
- (N) => {
6505
- n({ type: dt.ADD_CONVERSATION_ID, payload: N });
6504
+ (w) => {
6505
+ n({ type: dt.ADD_CONVERSATION_ID, payload: w });
6506
6506
  },
6507
6507
  [n]
6508
6508
  ), _ = B.useCallback(
6509
- (N) => {
6510
- n({ type: dt.SET_CONVERSATION_IDS, payload: N });
6509
+ (w) => {
6510
+ n({ type: dt.SET_CONVERSATION_IDS, payload: w });
6511
6511
  },
6512
6512
  [n]
6513
6513
  ), C = B.useCallback(
6514
- (N) => {
6515
- n({ type: dt.SET_IMAGE_FILE, payload: N });
6514
+ (w) => {
6515
+ n({ type: dt.SET_IMAGE_FILE, payload: w });
6516
6516
  },
6517
6517
  [n]
6518
- ), w = B.useCallback(
6519
- (N) => {
6518
+ ), N = B.useCallback(
6519
+ (w) => {
6520
6520
  n({
6521
6521
  type: dt.SET_ASK_CIM_PROMPTS,
6522
- payload: N
6522
+ payload: w
6523
6523
  });
6524
6524
  },
6525
6525
  [n]
6526
6526
  ), A = B.useCallback(
6527
- (N) => {
6527
+ (w) => {
6528
6528
  n({
6529
6529
  type: dt.SET_CONVERSATION_HISTORY_LOADED,
6530
- payload: N
6530
+ payload: w
6531
6531
  });
6532
6532
  },
6533
6533
  [n]
@@ -6544,7 +6544,7 @@ const Xe = new oP(), ms = () => Xe.connected, fu = () => Xe.isOpen, aP = (e) =>
6544
6544
  addConversationId: y,
6545
6545
  setConversationIds: _,
6546
6546
  setImageFile: C,
6547
- setAskCimPrompts: w,
6547
+ setAskCimPrompts: N,
6548
6548
  setConversationHistoryLoaded: A
6549
6549
  }), [
6550
6550
  s,
@@ -6559,7 +6559,7 @@ const Xe = new oP(), ms = () => Xe.connected, fu = () => Xe.isOpen, aP = (e) =>
6559
6559
  y,
6560
6560
  _,
6561
6561
  C,
6562
- w,
6562
+ N,
6563
6563
  A
6564
6564
  ]);
6565
6565
  return /* @__PURE__ */ x.jsx(KT.Provider, { value: P, children: t });
@@ -7024,6 +7024,8 @@ const hr = new LP(), Hb = (e) => {
7024
7024
  isResponseLoading: !1,
7025
7025
  responseMessage: null,
7026
7026
  promptsDisplay: "both",
7027
+ staticQuestions: [],
7028
+ staticQuestionsStrategy: "append",
7027
7029
  disableAskElseButton: !1
7028
7030
  };
7029
7031
  class FP {
@@ -7350,7 +7352,7 @@ const gt = new KP(), QP = (e) => {
7350
7352
  type: n || Xe.statusProxy.type,
7351
7353
  isOpen: Xe.statusProxy.isOpen,
7352
7354
  isMinimized: Xe.statusProxy.isMinimized
7353
- }), [p, m] = B.useState(Xe.dialogProxy.position), [b, y] = B.useState(Xe.dialogProxy.isFullHeight), [_, C] = B.useState(Xe.dialogProxy.width), [w, A] = B.useState(Xe.modalProxy.isFullscreen), P = _P(f.type);
7355
+ }), [p, m] = B.useState(Xe.dialogProxy.position), [b, y] = B.useState(Xe.dialogProxy.isFullHeight), [_, C] = B.useState(Xe.dialogProxy.width), [N, A] = B.useState(Xe.modalProxy.isFullscreen), P = _P(f.type);
7354
7356
  B.useEffect(() => {
7355
7357
  const H = (Y) => {
7356
7358
  const { property: R, value: q } = Y.detail || {};
@@ -7404,9 +7406,9 @@ const gt = new KP(), QP = (e) => {
7404
7406
  }), Ua(() => {
7405
7407
  if (!(t != null && t.options)) return;
7406
7408
  const { dialogPosition: H } = t.options;
7407
- H && t0(H), "dialogFullHeight" in t.options && fP(!!t.options.dialogFullHeight), "dialogWidth" in t.options && t.options.dialogWidth && C(t.options.dialogWidth), "isModalFullscreen" in t.options && e0(!!t.options.isModalFullscreen);
7409
+ H && tm(H), "dialogFullHeight" in t.options && fP(!!t.options.dialogFullHeight), "dialogWidth" in t.options && t.options.dialogWidth && C(t.options.dialogWidth), "isModalFullscreen" in t.options && em(!!t.options.isModalFullscreen);
7408
7410
  });
7409
- const N = B.useMemo(
7411
+ const w = B.useMemo(
7410
7412
  () => ({
7411
7413
  mode: u,
7412
7414
  entryType: s,
@@ -7415,7 +7417,7 @@ const gt = new KP(), QP = (e) => {
7415
7417
  dialogPosition: p,
7416
7418
  isDialogFullHeight: b,
7417
7419
  dialogWidth: _,
7418
- isModalFullscreen: w
7420
+ isModalFullscreen: N
7419
7421
  }),
7420
7422
  [
7421
7423
  u,
@@ -7425,16 +7427,16 @@ const gt = new KP(), QP = (e) => {
7425
7427
  p,
7426
7428
  b,
7427
7429
  _,
7428
- w
7430
+ N
7429
7431
  ]
7430
7432
  );
7431
- return /* @__PURE__ */ x.jsx(Qb.Provider, { value: N, children: r });
7433
+ return /* @__PURE__ */ x.jsx(Qb.Provider, { value: w, children: r });
7432
7434
  }, er = () => {
7433
7435
  const e = B.useContext(Qb);
7434
7436
  if (!e)
7435
7437
  throw new Error("useUIState must be used within a UIStateProvider");
7436
7438
  return e;
7437
- }, Jb = B.createContext(null), Zb = B.createContext(null), n0 = () => {
7439
+ }, Jb = B.createContext(null), Zb = B.createContext(null), nm = () => {
7438
7440
  const e = B.useContext(Zb);
7439
7441
  if (!e)
7440
7442
  throw new Error("usePromptsExtensionDispatch must be used within a PromptsExtensionProvider");
@@ -7492,8 +7494,8 @@ const gt = new KP(), QP = (e) => {
7492
7494
  const y = [];
7493
7495
  [...b.reverse() || []].forEach((C) => {
7494
7496
  var A;
7495
- const w = b.find((P) => P.id === C.eventSourceId);
7496
- (A = w == null ? void 0 : w.name) != null && A.endsWith("_suggestions") || (C.bypassHandlers = !0, y.unshift(C));
7497
+ const N = b.find((P) => P.id === C.eventSourceId);
7498
+ (A = N == null ? void 0 : N.name) != null && A.endsWith("_suggestions") || (C.bypassHandlers = !0, y.unshift(C));
7497
7499
  }), y.forEach((C) => {
7498
7500
  s(C);
7499
7501
  }), a(!0);
@@ -7552,8 +7554,8 @@ const gt = new KP(), QP = (e) => {
7552
7554
  logger: p,
7553
7555
  clientContext: m,
7554
7556
  baseCatalogParams: b
7555
- } = Je(), Kt = ak(), { searchQuery: y } = Kt, _ = tn(Kt, ["searchQuery"]), _n = ik(), { categoryId: C } = _n, w = tn(_n, ["categoryId"]), { productId: A, pdpLink: P } = ck(), {
7556
- setCopilot: N,
7557
+ } = Je(), Kt = ak(), { searchQuery: y } = Kt, _ = tn(Kt, ["searchQuery"]), _n = ik(), { categoryId: C } = _n, N = tn(_n, ["categoryId"]), { productId: A, pdpLink: P } = ck(), {
7558
+ setCopilot: w,
7557
7559
  setConnected: H,
7558
7560
  resetCopilot: Y,
7559
7561
  resetCopilotState: R,
@@ -7772,7 +7774,7 @@ const gt = new KP(), QP = (e) => {
7772
7774
  const ke = { baseUrl: Ae };
7773
7775
  e ? ke.apiKey = e : t && (ke.apiToken = t), r && (ke.customerId = r), s && (ke.tenantId = s);
7774
7776
  const De = new Hw(ke);
7775
- return N(De), nr(De), De.connect(), De.requestSessionInformation((Ze) => {
7777
+ return w(De), nr(De), De.connect(), De.requestSessionInformation((Ze) => {
7776
7778
  p == null || p.log("Session Information: ", Ze);
7777
7779
  const { activeConversationId: at, conversationIds: J } = Ze.data || {};
7778
7780
  at && V(at), J != null && J.length && se(J);
@@ -7820,7 +7822,7 @@ const gt = new KP(), QP = (e) => {
7820
7822
  case "browse":
7821
7823
  Re(F(F({
7822
7824
  categoryId: C
7823
- }, w), De));
7825
+ }, N), De));
7824
7826
  return;
7825
7827
  case "pdp":
7826
7828
  A ? Fe(F({
@@ -7837,7 +7839,7 @@ const gt = new KP(), QP = (e) => {
7837
7839
  ye,
7838
7840
  $e,
7839
7841
  C,
7840
- w,
7842
+ N,
7841
7843
  Re,
7842
7844
  Fe,
7843
7845
  A,
@@ -7868,7 +7870,7 @@ const gt = new KP(), QP = (e) => {
7868
7870
  const Ie = at.request, it = Ie.browseParams || {}, kt = it.categoryId === C, Qt = ((we = Ie.clientContext) == null ? void 0 : we.cimLabel) || "";
7869
7871
  Re(he(F({
7870
7872
  categoryId: it.categoryId || C || ""
7871
- }, kt ? w : {}), {
7873
+ }, kt ? N : {}), {
7872
7874
  categoryName: Qt,
7873
7875
  userPrompt: Ze
7874
7876
  }));
@@ -7892,7 +7894,7 @@ const gt = new KP(), QP = (e) => {
7892
7894
  ye,
7893
7895
  $e,
7894
7896
  C,
7895
- w,
7897
+ N,
7896
7898
  Re,
7897
7899
  Fe,
7898
7900
  A,
@@ -7999,76 +8001,76 @@ const gt = new KP(), QP = (e) => {
7999
8001
  const C = B.useCallback(
8000
8002
  ({ query: P }) => {
8001
8003
  if (!e || !P) return;
8002
- const { facetFilters: N } = gt.facetFiltersProxy, { rangeFilters: H } = gt.rangeFiltersProxy, { catalogSegment: Y } = gt.catalogSegmentProxy, { pricebooks: R } = gt.pricebooksProxy, q = { query: P };
8003
- q.facetFilters = N || {}, q.rangeFilters = H || [], q.catalogSegment = Y || "", q.pricebooks = R || [], f(F({}, q));
8004
+ const { facetFilters: w } = gt.facetFiltersProxy, { rangeFilters: H } = gt.rangeFiltersProxy, { catalogSegment: Y } = gt.catalogSegmentProxy, { pricebooks: R } = gt.pricebooksProxy, q = { query: P };
8005
+ q.facetFilters = w || {}, q.rangeFilters = H || [], q.catalogSegment = Y || "", q.pricebooks = R || [], f(F({}, q));
8004
8006
  },
8005
8007
  [e, f]
8006
- ), w = B.useCallback(
8008
+ ), N = B.useCallback(
8007
8009
  ({ categoryId: P }) => {
8008
8010
  if (!e) return;
8009
- const N = ot.categoryIdProxy.categoryName, { facetFilters: H } = ot.facetFiltersProxy, { rangeFilters: Y } = ot.rangeFiltersProxy, { catalogSegment: R } = ot.catalogSegmentProxy, { pricebooks: q } = ot.pricebooksProxy, ne = { categoryId: P };
8010
- ne.categoryName = N || "", ne.facetFilters = H || {}, ne.rangeFilters = Y || [], ne.catalogSegment = R || "", ne.pricebooks = q || [], d(F({}, ne));
8011
+ const w = ot.categoryIdProxy.categoryName, { facetFilters: H } = ot.facetFiltersProxy, { rangeFilters: Y } = ot.rangeFiltersProxy, { catalogSegment: R } = ot.catalogSegmentProxy, { pricebooks: q } = ot.pricebooksProxy, ne = { categoryId: P };
8012
+ ne.categoryName = w || "", ne.facetFilters = H || {}, ne.rangeFilters = Y || [], ne.catalogSegment = R || "", ne.pricebooks = q || [], d(F({}, ne));
8011
8013
  },
8012
8014
  [e, d]
8013
8015
  ), A = B.useCallback(
8014
8016
  ({ productId: P }) => {
8015
8017
  if (!e || !P) return;
8016
- const N = {
8018
+ const w = {
8017
8019
  productId: P,
8018
8020
  pdpLink: hr.pdpLink,
8019
8021
  productName: hr.proxy.productName || ""
8020
8022
  };
8021
- p(N);
8023
+ p(w);
8022
8024
  },
8023
8025
  [e, p]
8024
8026
  );
8025
8027
  return B.useEffect(() => {
8026
8028
  const P = ({
8027
- detail: N
8029
+ detail: w
8028
8030
  }) => {
8029
- (N == null ? void 0 : N.property) === "query" && C({ query: N.value });
8031
+ (w == null ? void 0 : w.property) === "query" && C({ query: w.value });
8030
8032
  };
8031
8033
  return xb(P), () => {
8032
8034
  Ab(P);
8033
8035
  };
8034
8036
  }, [C]), B.useEffect(() => {
8035
8037
  const P = ({
8036
- detail: N
8038
+ detail: w
8037
8039
  }) => {
8038
- if ((N == null ? void 0 : N.property) === "pdp-context") {
8039
- const H = N.value;
8040
+ if ((w == null ? void 0 : w.property) === "pdp-context") {
8041
+ const H = w.value;
8040
8042
  A({ productId: H.productId });
8041
8043
  return;
8042
8044
  }
8043
- (N == null ? void 0 : N.property) === "productId" && A({ productId: N.value });
8045
+ (w == null ? void 0 : w.property) === "productId" && A({ productId: w.value });
8044
8046
  };
8045
8047
  return Nb(P), () => {
8046
8048
  vb(P);
8047
8049
  };
8048
8050
  }, [A]), B.useEffect(() => {
8049
8051
  const P = ({
8050
- detail: N
8052
+ detail: w
8051
8053
  }) => {
8052
- (N == null ? void 0 : N.property) === "categoryId" && w({ categoryId: N.value });
8054
+ (w == null ? void 0 : w.property) === "categoryId" && N({ categoryId: w.value });
8053
8055
  };
8054
8056
  return Cb(P), () => {
8055
8057
  wb(P);
8056
8058
  };
8057
- }, [w]), B.useEffect(() => {
8059
+ }, [N]), B.useEffect(() => {
8058
8060
  const P = ({
8059
- detail: N
8061
+ detail: w
8060
8062
  }) => {
8061
- if ((N == null ? void 0 : N.event) == Oi.RESET_CONVERSATION && m(), (N == null ? void 0 : N.event) == Oi.GET_SESSION_INFORMATION) {
8062
- const H = N.value.callback;
8063
+ if ((w == null ? void 0 : w.event) == Oi.RESET_CONVERSATION && m(), (w == null ? void 0 : w.event) == Oi.GET_SESSION_INFORMATION) {
8064
+ const H = w.value.callback;
8063
8065
  b(H);
8064
8066
  }
8065
- if ((N == null ? void 0 : N.event) == Oi.GET_CONVERSATION_MESSAGES) {
8066
- const { payload: H, callback: Y } = N.value;
8067
+ if ((w == null ? void 0 : w.event) == Oi.GET_CONVERSATION_MESSAGES) {
8068
+ const { payload: H, callback: Y } = w.value;
8067
8069
  if (!H.conversationId || typeof Y != "function") return;
8068
8070
  y(H, Y);
8069
8071
  }
8070
- if ((N == null ? void 0 : N.event) == Oi.LOAD_CONVERSATION) {
8071
- const H = N.value;
8072
+ if ((w == null ? void 0 : w.event) == Oi.LOAD_CONVERSATION) {
8073
+ const H = w.value;
8072
8074
  if (!H.conversationId) return;
8073
8075
  y(H, (R) => {
8074
8076
  a(), R.forEach((q) => {
@@ -8305,10 +8307,10 @@ const gt = new KP(), QP = (e) => {
8305
8307
  componentType: y,
8306
8308
  componentConfig: _,
8307
8309
  entryType: C,
8308
- entryMessage: w,
8310
+ entryMessage: N,
8309
8311
  disclaimerText: A,
8310
8312
  disclaimerMarkdown: P,
8311
- clientContext: N,
8313
+ clientContext: w,
8312
8314
  baseCatalogParams: H,
8313
8315
  searchPlaceholder: Y,
8314
8316
  searchButtonLabel: R,
@@ -8337,7 +8339,7 @@ const gt = new KP(), QP = (e) => {
8337
8339
  logoUrl: u,
8338
8340
  headerText: c,
8339
8341
  headerConfig: f,
8340
- entryMessage: w,
8342
+ entryMessage: N,
8341
8343
  theme: d,
8342
8344
  globalClassName: m,
8343
8345
  openLinksInNewTab: p,
@@ -8348,7 +8350,7 @@ const gt = new KP(), QP = (e) => {
8348
8350
  messageAlignment: me,
8349
8351
  autoScroll: V,
8350
8352
  componentConfig: _,
8351
- clientContext: N,
8353
+ clientContext: w,
8352
8354
  baseCatalogParams: H,
8353
8355
  disclaimerMarkdown: P,
8354
8356
  disclaimerText: A,
@@ -8428,9 +8430,9 @@ function Tk() {
8428
8430
  return u.now() - c;
8429
8431
  };
8430
8432
  }
8431
- var f = [], d = [], p = 1, m = null, b = 3, y = !1, _ = !1, C = !1, w = typeof setTimeout == "function" ? setTimeout : null, A = typeof clearTimeout == "function" ? clearTimeout : null, P = typeof setImmediate != "undefined" ? setImmediate : null;
8433
+ var f = [], d = [], p = 1, m = null, b = 3, y = !1, _ = !1, C = !1, N = typeof setTimeout == "function" ? setTimeout : null, A = typeof clearTimeout == "function" ? clearTimeout : null, P = typeof setImmediate != "undefined" ? setImmediate : null;
8432
8434
  typeof navigator != "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
8433
- function N(Q) {
8435
+ function w(Q) {
8434
8436
  for (var ie = n(d); ie !== null; ) {
8435
8437
  if (ie.callback === null) r(d);
8436
8438
  else if (ie.startTime <= Q) r(d), ie.sortIndex = ie.expirationTime, t(f, ie);
@@ -8439,7 +8441,7 @@ function Tk() {
8439
8441
  }
8440
8442
  }
8441
8443
  function H(Q) {
8442
- if (C = !1, N(Q), !_) if (n(f) !== null) _ = !0, xe(Y);
8444
+ if (C = !1, w(Q), !_) if (n(f) !== null) _ = !0, xe(Y);
8443
8445
  else {
8444
8446
  var ie = n(d);
8445
8447
  ie !== null && ae(H, ie.startTime - Q);
@@ -8449,12 +8451,12 @@ function Tk() {
8449
8451
  _ = !1, C && (C = !1, A(ne), ne = -1), y = !0;
8450
8452
  var v = b;
8451
8453
  try {
8452
- for (N(ie), m = n(f); m !== null && (!(m.expirationTime > ie) || Q && !se()); ) {
8454
+ for (w(ie), m = n(f); m !== null && (!(m.expirationTime > ie) || Q && !se()); ) {
8453
8455
  var D = m.callback;
8454
8456
  if (typeof D == "function") {
8455
8457
  m.callback = null, b = m.priorityLevel;
8456
8458
  var ee = D(m.expirationTime <= ie);
8457
- ie = e.unstable_now(), typeof ee == "function" ? m.callback = ee : m === n(f) && r(f), N(ie);
8459
+ ie = e.unstable_now(), typeof ee == "function" ? m.callback = ee : m === n(f) && r(f), w(ie);
8458
8460
  } else r(f);
8459
8461
  m = n(f);
8460
8462
  }
@@ -8494,13 +8496,13 @@ function Tk() {
8494
8496
  oe.postMessage(null);
8495
8497
  };
8496
8498
  } else Ne = function() {
8497
- w(fe, 0);
8499
+ N(fe, 0);
8498
8500
  };
8499
8501
  function xe(Q) {
8500
8502
  q = Q, R || (R = !0, Ne());
8501
8503
  }
8502
8504
  function ae(Q, ie) {
8503
- ne = w(function() {
8505
+ ne = N(function() {
8504
8506
  Q(e.unstable_now());
8505
8507
  }, ie);
8506
8508
  }
@@ -8638,26 +8640,26 @@ function _k() {
8638
8640
  function C(i, o, l, h, E, T, S) {
8639
8641
  this.acceptsBooleans = o === 2 || o === 3 || o === 4, this.attributeName = h, this.attributeNamespace = E, this.mustUseProperty = l, this.propertyName = i, this.type = o, this.sanitizeURL = T, this.removeEmptyString = S;
8640
8642
  }
8641
- var w = {};
8643
+ var N = {};
8642
8644
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i) {
8643
- w[i] = new C(i, 0, !1, i, null, !1, !1);
8645
+ N[i] = new C(i, 0, !1, i, null, !1, !1);
8644
8646
  }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(i) {
8645
8647
  var o = i[0];
8646
- w[o] = new C(o, 1, !1, i[1], null, !1, !1);
8648
+ N[o] = new C(o, 1, !1, i[1], null, !1, !1);
8647
8649
  }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(i) {
8648
- w[i] = new C(i, 2, !1, i.toLowerCase(), null, !1, !1);
8650
+ N[i] = new C(i, 2, !1, i.toLowerCase(), null, !1, !1);
8649
8651
  }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(i) {
8650
- w[i] = new C(i, 2, !1, i, null, !1, !1);
8652
+ N[i] = new C(i, 2, !1, i, null, !1, !1);
8651
8653
  }), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(i) {
8652
- w[i] = new C(i, 3, !1, i.toLowerCase(), null, !1, !1);
8654
+ N[i] = new C(i, 3, !1, i.toLowerCase(), null, !1, !1);
8653
8655
  }), ["checked", "multiple", "muted", "selected"].forEach(function(i) {
8654
- w[i] = new C(i, 3, !0, i, null, !1, !1);
8656
+ N[i] = new C(i, 3, !0, i, null, !1, !1);
8655
8657
  }), ["capture", "download"].forEach(function(i) {
8656
- w[i] = new C(i, 4, !1, i, null, !1, !1);
8658
+ N[i] = new C(i, 4, !1, i, null, !1, !1);
8657
8659
  }), ["cols", "rows", "size", "span"].forEach(function(i) {
8658
- w[i] = new C(i, 6, !1, i, null, !1, !1);
8660
+ N[i] = new C(i, 6, !1, i, null, !1, !1);
8659
8661
  }), ["rowSpan", "start"].forEach(function(i) {
8660
- w[i] = new C(i, 5, !1, i.toLowerCase(), null, !1, !1);
8662
+ N[i] = new C(i, 5, !1, i.toLowerCase(), null, !1, !1);
8661
8663
  });
8662
8664
  var A = /[\-:]([a-z])/g;
8663
8665
  function P(i) {
@@ -8668,20 +8670,20 @@ function _k() {
8668
8670
  A,
8669
8671
  P
8670
8672
  );
8671
- w[o] = new C(o, 1, !1, i, null, !1, !1);
8673
+ N[o] = new C(o, 1, !1, i, null, !1, !1);
8672
8674
  }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i) {
8673
8675
  var o = i.replace(A, P);
8674
- w[o] = new C(o, 1, !1, i, "http://www.w3.org/1999/xlink", !1, !1);
8676
+ N[o] = new C(o, 1, !1, i, "http://www.w3.org/1999/xlink", !1, !1);
8675
8677
  }), ["xml:base", "xml:lang", "xml:space"].forEach(function(i) {
8676
8678
  var o = i.replace(A, P);
8677
- w[o] = new C(o, 1, !1, i, "http://www.w3.org/XML/1998/namespace", !1, !1);
8679
+ N[o] = new C(o, 1, !1, i, "http://www.w3.org/XML/1998/namespace", !1, !1);
8678
8680
  }), ["tabIndex", "crossOrigin"].forEach(function(i) {
8679
- w[i] = new C(i, 1, !1, i.toLowerCase(), null, !1, !1);
8680
- }), w.xlinkHref = new C("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(i) {
8681
- w[i] = new C(i, 1, !1, i.toLowerCase(), null, !0, !0);
8681
+ N[i] = new C(i, 1, !1, i.toLowerCase(), null, !1, !1);
8682
+ }), N.xlinkHref = new C("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(i) {
8683
+ N[i] = new C(i, 1, !1, i.toLowerCase(), null, !0, !0);
8682
8684
  });
8683
- function N(i, o, l, h) {
8684
- var E = w.hasOwnProperty(o) ? w[o] : null;
8685
+ function w(i, o, l, h) {
8686
+ var E = N.hasOwnProperty(o) ? N[o] : null;
8685
8687
  (E !== null ? E.type !== 0 : h || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (_(o, l, E, h) && (l = null), h || E === null ? b(o) && (l === null ? i.removeAttribute(o) : i.setAttribute(o, "" + l)) : E.mustUseProperty ? i[E.propertyName] = l === null ? E.type === 3 ? !1 : "" : l : (o = E.attributeName, h = E.attributeNamespace, l === null ? i.removeAttribute(o) : (E = E.type, l = E === 3 || E === 4 && l === !0 ? "" : "" + l, h ? i.setAttributeNS(h, o, l) : i.setAttribute(o, l))));
8686
8688
  }
8687
8689
  var H = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Y = /* @__PURE__ */ Symbol.for("react.element"), R = /* @__PURE__ */ Symbol.for("react.portal"), q = /* @__PURE__ */ Symbol.for("react.fragment"), ne = /* @__PURE__ */ Symbol.for("react.strict_mode"), me = /* @__PURE__ */ Symbol.for("react.profiler"), V = /* @__PURE__ */ Symbol.for("react.provider"), se = /* @__PURE__ */ Symbol.for("react.context"), fe = /* @__PURE__ */ Symbol.for("react.forward_ref"), Ne = /* @__PURE__ */ Symbol.for("react.suspense"), re = /* @__PURE__ */ Symbol.for("react.suspense_list"), oe = /* @__PURE__ */ Symbol.for("react.memo"), xe = /* @__PURE__ */ Symbol.for("react.lazy"), ae = /* @__PURE__ */ Symbol.for("react.offscreen"), Q = Symbol.iterator;
@@ -8925,7 +8927,7 @@ function _k() {
8925
8927
  l = Fe(o.value != null ? o.value : l), i._wrapperState = { initialChecked: h, initialValue: l, controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null };
8926
8928
  }
8927
8929
  function ze(i, o) {
8928
- o = o.checked, o != null && N(i, "checked", o, !1);
8930
+ o = o.checked, o != null && w(i, "checked", o, !1);
8929
8931
  }
8930
8932
  function _t(i, o) {
8931
8933
  ze(i, o);
@@ -9120,35 +9122,35 @@ function _k() {
9120
9122
  return i = i.target || i.srcElement || window, i.correspondingUseElement && (i = i.correspondingUseElement), i.nodeType === 3 ? i.parentNode : i;
9121
9123
  }
9122
9124
  var hf = null, As = null, Cs = null;
9123
- function J0(i) {
9125
+ function Jm(i) {
9124
9126
  if (i = oa(i)) {
9125
9127
  if (typeof hf != "function") throw Error(n(280));
9126
9128
  var o = i.stateNode;
9127
9129
  o && (o = Yu(o), hf(i.stateNode, i.type, o));
9128
9130
  }
9129
9131
  }
9130
- function Z0(i) {
9132
+ function Zm(i) {
9131
9133
  As ? Cs ? Cs.push(i) : Cs = [i] : As = i;
9132
9134
  }
9133
- function em() {
9135
+ function e0() {
9134
9136
  if (As) {
9135
9137
  var i = As, o = Cs;
9136
- if (Cs = As = null, J0(i), o) for (i = 0; i < o.length; i++) J0(o[i]);
9138
+ if (Cs = As = null, Jm(i), o) for (i = 0; i < o.length; i++) Jm(o[i]);
9137
9139
  }
9138
9140
  }
9139
- function tm(i, o) {
9141
+ function t0(i, o) {
9140
9142
  return i(o);
9141
9143
  }
9142
- function nm() {
9144
+ function n0() {
9143
9145
  }
9144
9146
  var pf = !1;
9145
- function rm(i, o, l) {
9147
+ function r0(i, o, l) {
9146
9148
  if (pf) return i(o, l);
9147
9149
  pf = !0;
9148
9150
  try {
9149
- return tm(i, o, l);
9151
+ return t0(i, o, l);
9150
9152
  } finally {
9151
- pf = !1, (As !== null || Cs !== null) && (nm(), em());
9153
+ pf = !1, (As !== null || Cs !== null) && (n0(), e0());
9152
9154
  }
9153
9155
  }
9154
9156
  function Uo(i, o) {
@@ -9221,14 +9223,14 @@ function _k() {
9221
9223
  }
9222
9224
  return o.tag === 3 ? l : null;
9223
9225
  }
9224
- function im(i) {
9226
+ function i0(i) {
9225
9227
  if (i.tag === 13) {
9226
9228
  var o = i.memoizedState;
9227
9229
  if (o === null && (i = i.alternate, i !== null && (o = i.memoizedState)), o !== null) return o.dehydrated;
9228
9230
  }
9229
9231
  return null;
9230
9232
  }
9231
- function sm(i) {
9233
+ function s0(i) {
9232
9234
  if (Ui(i) !== i) throw Error(n(188));
9233
9235
  }
9234
9236
  function Ix(i) {
@@ -9250,8 +9252,8 @@ function _k() {
9250
9252
  }
9251
9253
  if (E.child === T.child) {
9252
9254
  for (T = E.child; T; ) {
9253
- if (T === l) return sm(E), i;
9254
- if (T === h) return sm(E), o;
9255
+ if (T === l) return s0(E), i;
9256
+ if (T === h) return s0(E), o;
9255
9257
  T = T.sibling;
9256
9258
  }
9257
9259
  throw Error(n(188));
@@ -9289,19 +9291,19 @@ function _k() {
9289
9291
  if (l.tag !== 3) throw Error(n(188));
9290
9292
  return l.stateNode.current === l ? i : o;
9291
9293
  }
9292
- function om(i) {
9293
- return i = Ix(i), i !== null ? am(i) : null;
9294
+ function o0(i) {
9295
+ return i = Ix(i), i !== null ? a0(i) : null;
9294
9296
  }
9295
- function am(i) {
9297
+ function a0(i) {
9296
9298
  if (i.tag === 5 || i.tag === 6) return i;
9297
9299
  for (i = i.child; i !== null; ) {
9298
- var o = am(i);
9300
+ var o = a0(i);
9299
9301
  if (o !== null) return o;
9300
9302
  i = i.sibling;
9301
9303
  }
9302
9304
  return null;
9303
9305
  }
9304
- var um = t.unstable_scheduleCallback, lm = t.unstable_cancelCallback, Rx = t.unstable_shouldYield, Lx = t.unstable_requestPaint, wt = t.unstable_now, Dx = t.unstable_getCurrentPriorityLevel, Ef = t.unstable_ImmediatePriority, cm = t.unstable_UserBlockingPriority, wu = t.unstable_NormalPriority, Mx = t.unstable_LowPriority, fm = t.unstable_IdlePriority, Nu = null, br = null;
9306
+ var u0 = t.unstable_scheduleCallback, l0 = t.unstable_cancelCallback, Rx = t.unstable_shouldYield, Lx = t.unstable_requestPaint, wt = t.unstable_now, Dx = t.unstable_getCurrentPriorityLevel, Ef = t.unstable_ImmediatePriority, c0 = t.unstable_UserBlockingPriority, wu = t.unstable_NormalPriority, Mx = t.unstable_LowPriority, f0 = t.unstable_IdlePriority, Nu = null, br = null;
9305
9307
  function Fx(i) {
9306
9308
  if (br && typeof br.onCommitFiberRoot == "function") try {
9307
9309
  br.onCommitFiberRoot(Nu, i, void 0, (i.current.flags & 128) === 128);
@@ -9425,7 +9427,7 @@ function _k() {
9425
9427
  function yf(i) {
9426
9428
  return i = i.pendingLanes & -1073741825, i !== 0 ? i : i & 1073741824 ? 1073741824 : 0;
9427
9429
  }
9428
- function dm() {
9430
+ function d0() {
9429
9431
  var i = vu;
9430
9432
  return vu <<= 1, (vu & 4194240) === 0 && (vu = 64), i;
9431
9433
  }
@@ -9453,11 +9455,11 @@ function _k() {
9453
9455
  }
9454
9456
  }
9455
9457
  var st = 0;
9456
- function hm(i) {
9458
+ function h0(i) {
9457
9459
  return i &= -i, 1 < i ? 4 < i ? (i & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
9458
9460
  }
9459
- var pm, _f, mm, gm, Em, Sf = !1, Ou = [], ai = null, ui = null, li = null, Vo = /* @__PURE__ */ new Map(), qo = /* @__PURE__ */ new Map(), ci = [], Vx = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
9460
- function ym(i, o) {
9461
+ var p0, _f, m0, g0, E0, Sf = !1, Ou = [], ai = null, ui = null, li = null, Vo = /* @__PURE__ */ new Map(), qo = /* @__PURE__ */ new Map(), ci = [], Vx = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
9462
+ function y0(i, o) {
9461
9463
  switch (i) {
9462
9464
  case "focusin":
9463
9465
  case "focusout":
@@ -9499,15 +9501,15 @@ function _k() {
9499
9501
  }
9500
9502
  return !1;
9501
9503
  }
9502
- function Tm(i) {
9504
+ function T0(i) {
9503
9505
  var o = Hi(i.target);
9504
9506
  if (o !== null) {
9505
9507
  var l = Ui(o);
9506
9508
  if (l !== null) {
9507
9509
  if (o = l.tag, o === 13) {
9508
- if (o = im(l), o !== null) {
9509
- i.blockedOn = o, Em(i.priority, function() {
9510
- mm(l);
9510
+ if (o = i0(l), o !== null) {
9511
+ i.blockedOn = o, E0(i.priority, function() {
9512
+ m0(l);
9511
9513
  });
9512
9514
  return;
9513
9515
  }
@@ -9532,11 +9534,11 @@ function _k() {
9532
9534
  }
9533
9535
  return !0;
9534
9536
  }
9535
- function bm(i, o, l) {
9537
+ function b0(i, o, l) {
9536
9538
  Iu(i) && l.delete(o);
9537
9539
  }
9538
9540
  function Yx() {
9539
- Sf = !1, ai !== null && Iu(ai) && (ai = null), ui !== null && Iu(ui) && (ui = null), li !== null && Iu(li) && (li = null), Vo.forEach(bm), qo.forEach(bm);
9541
+ Sf = !1, ai !== null && Iu(ai) && (ai = null), ui !== null && Iu(ui) && (ui = null), li !== null && Iu(li) && (li = null), Vo.forEach(b0), qo.forEach(b0);
9540
9542
  }
9541
9543
  function Go(i, o) {
9542
9544
  i.blockedOn === o && (i.blockedOn = null, Sf || (Sf = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Yx)));
@@ -9553,7 +9555,7 @@ function _k() {
9553
9555
  }
9554
9556
  }
9555
9557
  for (ai !== null && Go(ai, i), ui !== null && Go(ui, i), li !== null && Go(li, i), Vo.forEach(o), qo.forEach(o), l = 0; l < ci.length; l++) h = ci[l], h.blockedOn === i && (h.blockedOn = null);
9556
- for (; 0 < ci.length && (l = ci[0], l.blockedOn === null); ) Tm(l), l.blockedOn === null && ci.shift();
9558
+ for (; 0 < ci.length && (l = ci[0], l.blockedOn === null); ) T0(l), l.blockedOn === null && ci.shift();
9557
9559
  }
9558
9560
  var ws = H.ReactCurrentBatchConfig, Ru = !0;
9559
9561
  function Gx(i, o, l, h) {
@@ -9577,12 +9579,12 @@ function _k() {
9577
9579
  function xf(i, o, l, h) {
9578
9580
  if (Ru) {
9579
9581
  var E = Af(i, o, l, h);
9580
- if (E === null) zf(i, o, h, Lu, l), ym(i, h);
9582
+ if (E === null) zf(i, o, h, Lu, l), y0(i, h);
9581
9583
  else if (qx(E, i, o, l, h)) h.stopPropagation();
9582
- else if (ym(i, h), o & 4 && -1 < Vx.indexOf(i)) {
9584
+ else if (y0(i, h), o & 4 && -1 < Vx.indexOf(i)) {
9583
9585
  for (; E !== null; ) {
9584
9586
  var T = oa(E);
9585
- if (T !== null && pm(T), T = Af(i, o, l, h), T === null && zf(i, o, h, Lu, l), T === E) break;
9587
+ if (T !== null && p0(T), T = Af(i, o, l, h), T === null && zf(i, o, h, Lu, l), T === E) break;
9586
9588
  E = T;
9587
9589
  }
9588
9590
  E !== null && h.stopPropagation();
@@ -9593,7 +9595,7 @@ function _k() {
9593
9595
  function Af(i, o, l, h) {
9594
9596
  if (Lu = null, i = df(h), i = Hi(i), i !== null) if (o = Ui(i), o === null) i = null;
9595
9597
  else if (l = o.tag, l === 13) {
9596
- if (i = im(o), i !== null) return i;
9598
+ if (i = i0(o), i !== null) return i;
9597
9599
  i = null;
9598
9600
  } else if (l === 3) {
9599
9601
  if (o.stateNode.current.memoizedState.isDehydrated) return o.tag === 3 ? o.stateNode.containerInfo : null;
@@ -9601,7 +9603,7 @@ function _k() {
9601
9603
  } else o !== i && (i = null);
9602
9604
  return Lu = i, null;
9603
9605
  }
9604
- function _m(i) {
9606
+ function _0(i) {
9605
9607
  switch (i) {
9606
9608
  case "cancel":
9607
9609
  case "click":
@@ -9679,12 +9681,12 @@ function _k() {
9679
9681
  switch (Dx()) {
9680
9682
  case Ef:
9681
9683
  return 1;
9682
- case cm:
9684
+ case c0:
9683
9685
  return 4;
9684
9686
  case wu:
9685
9687
  case Mx:
9686
9688
  return 16;
9687
- case fm:
9689
+ case f0:
9688
9690
  return 536870912;
9689
9691
  default:
9690
9692
  return 16;
@@ -9694,7 +9696,7 @@ function _k() {
9694
9696
  }
9695
9697
  }
9696
9698
  var fi = null, Cf = null, Du = null;
9697
- function Sm() {
9699
+ function S0() {
9698
9700
  if (Du) return Du;
9699
9701
  var i, o = Cf, l = o.length, h, E = "value" in fi ? fi.value : fi.textContent, T = E.length;
9700
9702
  for (i = 0; i < l && o[i] === E[i]; i++) ;
@@ -9709,14 +9711,14 @@ function _k() {
9709
9711
  function Fu() {
9710
9712
  return !0;
9711
9713
  }
9712
- function xm() {
9714
+ function x0() {
9713
9715
  return !1;
9714
9716
  }
9715
9717
  function Ln(i) {
9716
9718
  function o(l, h, E, T, S) {
9717
9719
  this._reactName = l, this._targetInst = E, this.type = h, this.nativeEvent = T, this.target = S, this.currentTarget = null;
9718
9720
  for (var L in i) i.hasOwnProperty(L) && (l = i[L], this[L] = l ? l(T) : T[L]);
9719
- return this.isDefaultPrevented = (T.defaultPrevented != null ? T.defaultPrevented : T.returnValue === !1) ? Fu : xm, this.isPropagationStopped = xm, this;
9721
+ return this.isDefaultPrevented = (T.defaultPrevented != null ? T.defaultPrevented : T.returnValue === !1) ? Fu : x0, this.isPropagationStopped = x0, this;
9720
9722
  }
9721
9723
  return v(o.prototype, { preventDefault: function() {
9722
9724
  this.defaultPrevented = !0;
@@ -9736,9 +9738,9 @@ function _k() {
9736
9738
  return "movementX" in i ? i.movementX : (i !== Ko && (Ko && i.type === "mousemove" ? (Nf = i.screenX - Ko.screenX, vf = i.screenY - Ko.screenY) : vf = Nf = 0, Ko = i), Nf);
9737
9739
  }, movementY: function(i) {
9738
9740
  return "movementY" in i ? i.movementY : vf;
9739
- } }), Am = Ln(Bu), Kx = v({}, Bu, { dataTransfer: 0 }), Qx = Ln(Kx), Jx = v({}, Xo, { relatedTarget: 0 }), Pf = Ln(Jx), Zx = v({}, Ns, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), eA = Ln(Zx), tA = v({}, Ns, { clipboardData: function(i) {
9741
+ } }), A0 = Ln(Bu), Kx = v({}, Bu, { dataTransfer: 0 }), Qx = Ln(Kx), Jx = v({}, Xo, { relatedTarget: 0 }), Pf = Ln(Jx), Zx = v({}, Ns, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), eA = Ln(Zx), tA = v({}, Ns, { clipboardData: function(i) {
9740
9742
  return "clipboardData" in i ? i.clipboardData : window.clipboardData;
9741
- } }), nA = Ln(tA), rA = v({}, Ns, { data: 0 }), Cm = Ln(rA), iA = {
9743
+ } }), nA = Ln(tA), rA = v({}, Ns, { data: 0 }), C0 = Ln(rA), iA = {
9742
9744
  Esc: "Escape",
9743
9745
  Spacebar: " ",
9744
9746
  Left: "ArrowLeft",
@@ -9808,7 +9810,7 @@ function _k() {
9808
9810
  return i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
9809
9811
  }, which: function(i) {
9810
9812
  return i.type === "keypress" ? Mu(i) : i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
9811
- } }), lA = Ln(uA), cA = v({}, Bu, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), wm = Ln(cA), fA = v({}, Xo, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: kf }), dA = Ln(fA), hA = v({}, Ns, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), pA = Ln(hA), mA = v({}, Bu, {
9813
+ } }), lA = Ln(uA), cA = v({}, Bu, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), w0 = Ln(cA), fA = v({}, Xo, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: kf }), dA = Ln(fA), hA = v({}, Ns, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), pA = Ln(hA), mA = v({}, Bu, {
9812
9814
  deltaX: function(i) {
9813
9815
  return "deltaX" in i ? i.deltaX : "wheelDeltaX" in i ? -i.wheelDeltaX : 0;
9814
9816
  },
@@ -9819,8 +9821,8 @@ function _k() {
9819
9821
  deltaMode: 0
9820
9822
  }), gA = Ln(mA), EA = [9, 13, 27, 32], Of = c && "CompositionEvent" in window, Qo = null;
9821
9823
  c && "documentMode" in document && (Qo = document.documentMode);
9822
- var yA = c && "TextEvent" in window && !Qo, Nm = c && (!Of || Qo && 8 < Qo && 11 >= Qo), vm = " ", Pm = !1;
9823
- function km(i, o) {
9824
+ var yA = c && "TextEvent" in window && !Qo, N0 = c && (!Of || Qo && 8 < Qo && 11 >= Qo), v0 = " ", P0 = !1;
9825
+ function k0(i, o) {
9824
9826
  switch (i) {
9825
9827
  case "keyup":
9826
9828
  return EA.indexOf(o.keyCode) !== -1;
@@ -9834,24 +9836,24 @@ function _k() {
9834
9836
  return !1;
9835
9837
  }
9836
9838
  }
9837
- function Om(i) {
9839
+ function O0(i) {
9838
9840
  return i = i.detail, typeof i == "object" && "data" in i ? i.data : null;
9839
9841
  }
9840
9842
  var vs = !1;
9841
9843
  function TA(i, o) {
9842
9844
  switch (i) {
9843
9845
  case "compositionend":
9844
- return Om(o);
9846
+ return O0(o);
9845
9847
  case "keypress":
9846
- return o.which !== 32 ? null : (Pm = !0, vm);
9848
+ return o.which !== 32 ? null : (P0 = !0, v0);
9847
9849
  case "textInput":
9848
- return i = o.data, i === vm && Pm ? null : i;
9850
+ return i = o.data, i === v0 && P0 ? null : i;
9849
9851
  default:
9850
9852
  return null;
9851
9853
  }
9852
9854
  }
9853
9855
  function bA(i, o) {
9854
- if (vs) return i === "compositionend" || !Of && km(i, o) ? (i = Sm(), Du = Cf = fi = null, vs = !1, i) : null;
9856
+ if (vs) return i === "compositionend" || !Of && k0(i, o) ? (i = S0(), Du = Cf = fi = null, vs = !1, i) : null;
9855
9857
  switch (i) {
9856
9858
  case "paste":
9857
9859
  return null;
@@ -9862,22 +9864,22 @@ function _k() {
9862
9864
  }
9863
9865
  return null;
9864
9866
  case "compositionend":
9865
- return Nm && o.locale !== "ko" ? null : o.data;
9867
+ return N0 && o.locale !== "ko" ? null : o.data;
9866
9868
  default:
9867
9869
  return null;
9868
9870
  }
9869
9871
  }
9870
9872
  var _A = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 };
9871
- function Im(i) {
9873
+ function I0(i) {
9872
9874
  var o = i && i.nodeName && i.nodeName.toLowerCase();
9873
9875
  return o === "input" ? !!_A[i.type] : o === "textarea";
9874
9876
  }
9875
- function Rm(i, o, l, h) {
9876
- Z0(h), o = $u(o, "onChange"), 0 < o.length && (l = new wf("onChange", "change", null, l, h), i.push({ event: l, listeners: o }));
9877
+ function R0(i, o, l, h) {
9878
+ Zm(h), o = $u(o, "onChange"), 0 < o.length && (l = new wf("onChange", "change", null, l, h), i.push({ event: l, listeners: o }));
9877
9879
  }
9878
9880
  var Jo = null, Zo = null;
9879
9881
  function SA(i) {
9880
- Qm(i, 0);
9882
+ Q0(i, 0);
9881
9883
  }
9882
9884
  function Uu(i) {
9883
9885
  var o = Rs(i);
@@ -9886,30 +9888,30 @@ function _k() {
9886
9888
  function xA(i, o) {
9887
9889
  if (i === "change") return o;
9888
9890
  }
9889
- var Lm = !1;
9891
+ var L0 = !1;
9890
9892
  if (c) {
9891
9893
  var If;
9892
9894
  if (c) {
9893
9895
  var Rf = "oninput" in document;
9894
9896
  if (!Rf) {
9895
- var Dm = document.createElement("div");
9896
- Dm.setAttribute("oninput", "return;"), Rf = typeof Dm.oninput == "function";
9897
+ var D0 = document.createElement("div");
9898
+ D0.setAttribute("oninput", "return;"), Rf = typeof D0.oninput == "function";
9897
9899
  }
9898
9900
  If = Rf;
9899
9901
  } else If = !1;
9900
- Lm = If && (!document.documentMode || 9 < document.documentMode);
9902
+ L0 = If && (!document.documentMode || 9 < document.documentMode);
9901
9903
  }
9902
- function Mm() {
9903
- Jo && (Jo.detachEvent("onpropertychange", Fm), Zo = Jo = null);
9904
+ function M0() {
9905
+ Jo && (Jo.detachEvent("onpropertychange", F0), Zo = Jo = null);
9904
9906
  }
9905
- function Fm(i) {
9907
+ function F0(i) {
9906
9908
  if (i.propertyName === "value" && Uu(Zo)) {
9907
9909
  var o = [];
9908
- Rm(o, Zo, i, df(i)), rm(SA, o);
9910
+ R0(o, Zo, i, df(i)), r0(SA, o);
9909
9911
  }
9910
9912
  }
9911
9913
  function AA(i, o, l) {
9912
- i === "focusin" ? (Mm(), Jo = o, Zo = l, Jo.attachEvent("onpropertychange", Fm)) : i === "focusout" && Mm();
9914
+ i === "focusin" ? (M0(), Jo = o, Zo = l, Jo.attachEvent("onpropertychange", F0)) : i === "focusout" && M0();
9913
9915
  }
9914
9916
  function CA(i) {
9915
9917
  if (i === "selectionchange" || i === "keyup" || i === "keydown") return Uu(Zo);
@@ -9935,12 +9937,12 @@ function _k() {
9935
9937
  }
9936
9938
  return !0;
9937
9939
  }
9938
- function Bm(i) {
9940
+ function B0(i) {
9939
9941
  for (; i && i.firstChild; ) i = i.firstChild;
9940
9942
  return i;
9941
9943
  }
9942
- function Um(i, o) {
9943
- var l = Bm(i);
9944
+ function U0(i, o) {
9945
+ var l = B0(i);
9944
9946
  i = 0;
9945
9947
  for (var h; l; ) {
9946
9948
  if (l.nodeType === 3) {
@@ -9957,13 +9959,13 @@ function _k() {
9957
9959
  }
9958
9960
  l = void 0;
9959
9961
  }
9960
- l = Bm(l);
9962
+ l = B0(l);
9961
9963
  }
9962
9964
  }
9963
- function Hm(i, o) {
9964
- return i && o ? i === o ? !0 : i && i.nodeType === 3 ? !1 : o && o.nodeType === 3 ? Hm(i, o.parentNode) : "contains" in i ? i.contains(o) : i.compareDocumentPosition ? !!(i.compareDocumentPosition(o) & 16) : !1 : !1;
9965
+ function H0(i, o) {
9966
+ return i && o ? i === o ? !0 : i && i.nodeType === 3 ? !1 : o && o.nodeType === 3 ? H0(i, o.parentNode) : "contains" in i ? i.contains(o) : i.compareDocumentPosition ? !!(i.compareDocumentPosition(o) & 16) : !1 : !1;
9965
9967
  }
9966
- function zm() {
9968
+ function z0() {
9967
9969
  for (var i = window, o = nr(); o instanceof i.HTMLIFrameElement; ) {
9968
9970
  try {
9969
9971
  var l = typeof o.contentWindow.location.href == "string";
@@ -9981,15 +9983,15 @@ function _k() {
9981
9983
  return o && (o === "input" && (i.type === "text" || i.type === "search" || i.type === "tel" || i.type === "url" || i.type === "password") || o === "textarea" || i.contentEditable === "true");
9982
9984
  }
9983
9985
  function PA(i) {
9984
- var o = zm(), l = i.focusedElem, h = i.selectionRange;
9985
- if (o !== l && l && l.ownerDocument && Hm(l.ownerDocument.documentElement, l)) {
9986
+ var o = z0(), l = i.focusedElem, h = i.selectionRange;
9987
+ if (o !== l && l && l.ownerDocument && H0(l.ownerDocument.documentElement, l)) {
9986
9988
  if (h !== null && Lf(l)) {
9987
9989
  if (o = h.start, i = h.end, i === void 0 && (i = o), "selectionStart" in l) l.selectionStart = o, l.selectionEnd = Math.min(i, l.value.length);
9988
9990
  else if (i = (o = l.ownerDocument || document) && o.defaultView || window, i.getSelection) {
9989
9991
  i = i.getSelection();
9990
9992
  var E = l.textContent.length, T = Math.min(h.start, E);
9991
- h = h.end === void 0 ? T : Math.min(h.end, E), !i.extend && T > h && (E = h, h = T, T = E), E = Um(l, T);
9992
- var S = Um(
9993
+ h = h.end === void 0 ? T : Math.min(h.end, E), !i.extend && T > h && (E = h, h = T, T = E), E = U0(l, T);
9994
+ var S = U0(
9993
9995
  l,
9994
9996
  h
9995
9997
  );
@@ -10001,7 +10003,7 @@ function _k() {
10001
10003
  }
10002
10004
  }
10003
10005
  var kA = c && "documentMode" in document && 11 >= document.documentMode, Ps = null, Df = null, ta = null, Mf = !1;
10004
- function jm(i, o, l) {
10006
+ function j0(i, o, l) {
10005
10007
  var h = l.window === l ? l.document : l.nodeType === 9 ? l : l.ownerDocument;
10006
10008
  Mf || Ps == null || Ps !== nr(h) || (h = Ps, "selectionStart" in h && Lf(h) ? h = { start: h.selectionStart, end: h.selectionEnd } : (h = (h.ownerDocument && h.ownerDocument.defaultView || window).getSelection(), h = { anchorNode: h.anchorNode, anchorOffset: h.anchorOffset, focusNode: h.focusNode, focusOffset: h.focusOffset }), ta && ea(ta, h) || (ta = h, h = $u(Df, "onSelect"), 0 < h.length && (o = new wf("onSelect", "select", null, o, l), i.push({ event: o, listeners: h }), o.target = Ps)));
10007
10009
  }
@@ -10009,30 +10011,30 @@ function _k() {
10009
10011
  var l = {};
10010
10012
  return l[i.toLowerCase()] = o.toLowerCase(), l["Webkit" + i] = "webkit" + o, l["Moz" + i] = "moz" + o, l;
10011
10013
  }
10012
- var ks = { animationend: Hu("Animation", "AnimationEnd"), animationiteration: Hu("Animation", "AnimationIteration"), animationstart: Hu("Animation", "AnimationStart"), transitionend: Hu("Transition", "TransitionEnd") }, Ff = {}, $m = {};
10013
- c && ($m = document.createElement("div").style, "AnimationEvent" in window || (delete ks.animationend.animation, delete ks.animationiteration.animation, delete ks.animationstart.animation), "TransitionEvent" in window || delete ks.transitionend.transition);
10014
+ var ks = { animationend: Hu("Animation", "AnimationEnd"), animationiteration: Hu("Animation", "AnimationIteration"), animationstart: Hu("Animation", "AnimationStart"), transitionend: Hu("Transition", "TransitionEnd") }, Ff = {}, $0 = {};
10015
+ c && ($0 = document.createElement("div").style, "AnimationEvent" in window || (delete ks.animationend.animation, delete ks.animationiteration.animation, delete ks.animationstart.animation), "TransitionEvent" in window || delete ks.transitionend.transition);
10014
10016
  function zu(i) {
10015
10017
  if (Ff[i]) return Ff[i];
10016
10018
  if (!ks[i]) return i;
10017
10019
  var o = ks[i], l;
10018
- for (l in o) if (o.hasOwnProperty(l) && l in $m) return Ff[i] = o[l];
10020
+ for (l in o) if (o.hasOwnProperty(l) && l in $0) return Ff[i] = o[l];
10019
10021
  return i;
10020
10022
  }
10021
- var Vm = zu("animationend"), qm = zu("animationiteration"), Ym = zu("animationstart"), Gm = zu("transitionend"), Wm = /* @__PURE__ */ new Map(), Xm = "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(" ");
10023
+ var V0 = zu("animationend"), q0 = zu("animationiteration"), Y0 = zu("animationstart"), G0 = zu("transitionend"), W0 = /* @__PURE__ */ new Map(), X0 = "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(" ");
10022
10024
  function di(i, o) {
10023
- Wm.set(i, o), a(o, [i]);
10025
+ W0.set(i, o), a(o, [i]);
10024
10026
  }
10025
- for (var Bf = 0; Bf < Xm.length; Bf++) {
10026
- var Uf = Xm[Bf], OA = Uf.toLowerCase(), IA = Uf[0].toUpperCase() + Uf.slice(1);
10027
+ for (var Bf = 0; Bf < X0.length; Bf++) {
10028
+ var Uf = X0[Bf], OA = Uf.toLowerCase(), IA = Uf[0].toUpperCase() + Uf.slice(1);
10027
10029
  di(OA, "on" + IA);
10028
10030
  }
10029
- di(Vm, "onAnimationEnd"), di(qm, "onAnimationIteration"), di(Ym, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(Gm, "onTransitionEnd"), u("onMouseEnter", ["mouseout", "mouseover"]), u("onMouseLeave", ["mouseout", "mouseover"]), u("onPointerEnter", ["pointerout", "pointerover"]), u("onPointerLeave", ["pointerout", "pointerover"]), a("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), a("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), a("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), a("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
10031
+ di(V0, "onAnimationEnd"), di(q0, "onAnimationIteration"), di(Y0, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(G0, "onTransitionEnd"), u("onMouseEnter", ["mouseout", "mouseover"]), u("onMouseLeave", ["mouseout", "mouseover"]), u("onPointerEnter", ["pointerout", "pointerover"]), u("onPointerLeave", ["pointerout", "pointerover"]), a("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), a("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), a("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), a("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
10030
10032
  var na = "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(" "), RA = new Set("cancel close invalid load scroll toggle".split(" ").concat(na));
10031
- function Km(i, o, l) {
10033
+ function K0(i, o, l) {
10032
10034
  var h = i.type || "unknown-event";
10033
10035
  i.currentTarget = l, Ox(h, o, void 0, i), i.currentTarget = null;
10034
10036
  }
10035
- function Qm(i, o) {
10037
+ function Q0(i, o) {
10036
10038
  o = (o & 4) !== 0;
10037
10039
  for (var l = 0; l < i.length; l++) {
10038
10040
  var h = i[l], E = h.event;
@@ -10042,11 +10044,11 @@ function _k() {
10042
10044
  if (o) for (var S = h.length - 1; 0 <= S; S--) {
10043
10045
  var L = h[S], U = L.instance, Z = L.currentTarget;
10044
10046
  if (L = L.listener, U !== T && E.isPropagationStopped()) break e;
10045
- Km(E, L, Z), T = U;
10047
+ K0(E, L, Z), T = U;
10046
10048
  }
10047
10049
  else for (S = 0; S < h.length; S++) {
10048
10050
  if (L = h[S], U = L.instance, Z = L.currentTarget, L = L.listener, U !== T && E.isPropagationStopped()) break e;
10049
- Km(E, L, Z), T = U;
10051
+ K0(E, L, Z), T = U;
10050
10052
  }
10051
10053
  }
10052
10054
  }
@@ -10056,11 +10058,11 @@ function _k() {
10056
10058
  var l = o[Gf];
10057
10059
  l === void 0 && (l = o[Gf] = /* @__PURE__ */ new Set());
10058
10060
  var h = i + "__bubble";
10059
- l.has(h) || (Jm(o, i, 2, !1), l.add(h));
10061
+ l.has(h) || (J0(o, i, 2, !1), l.add(h));
10060
10062
  }
10061
10063
  function Hf(i, o, l) {
10062
10064
  var h = 0;
10063
- o && (h |= 4), Jm(l, i, h, o);
10065
+ o && (h |= 4), J0(l, i, h, o);
10064
10066
  }
10065
10067
  var ju = "_reactListening" + Math.random().toString(36).slice(2);
10066
10068
  function ra(i) {
@@ -10072,8 +10074,8 @@ function _k() {
10072
10074
  o === null || o[ju] || (o[ju] = !0, Hf("selectionchange", !1, o));
10073
10075
  }
10074
10076
  }
10075
- function Jm(i, o, l, h) {
10076
- switch (_m(o)) {
10077
+ function J0(i, o, l, h) {
10078
+ switch (_0(o)) {
10077
10079
  case 1:
10078
10080
  var E = Gx;
10079
10081
  break;
@@ -10109,10 +10111,10 @@ function _k() {
10109
10111
  }
10110
10112
  h = h.return;
10111
10113
  }
10112
- rm(function() {
10114
+ r0(function() {
10113
10115
  var Z = T, ce = df(l), de = [];
10114
10116
  e: {
10115
- var ue = Wm.get(i);
10117
+ var ue = W0.get(i);
10116
10118
  if (ue !== void 0) {
10117
10119
  var Ce = wf, Pe = i;
10118
10120
  switch (i) {
@@ -10142,7 +10144,7 @@ function _k() {
10142
10144
  case "mouseout":
10143
10145
  case "mouseover":
10144
10146
  case "contextmenu":
10145
- Ce = Am;
10147
+ Ce = A0;
10146
10148
  break;
10147
10149
  case "drag":
10148
10150
  case "dragend":
@@ -10160,12 +10162,12 @@ function _k() {
10160
10162
  case "touchstart":
10161
10163
  Ce = dA;
10162
10164
  break;
10163
- case Vm:
10164
- case qm:
10165
- case Ym:
10165
+ case V0:
10166
+ case q0:
10167
+ case Y0:
10166
10168
  Ce = eA;
10167
10169
  break;
10168
- case Gm:
10170
+ case G0:
10169
10171
  Ce = pA;
10170
10172
  break;
10171
10173
  case "scroll":
@@ -10187,7 +10189,7 @@ function _k() {
10187
10189
  case "pointerout":
10188
10190
  case "pointerover":
10189
10191
  case "pointerup":
10190
- Ce = wm;
10192
+ Ce = w0;
10191
10193
  }
10192
10194
  var Oe = (o & 4) !== 0, Nt = !Oe && i === "scroll", G = Oe ? ue !== null ? ue + "Capture" : null : ue;
10193
10195
  Oe = [];
@@ -10204,7 +10206,7 @@ function _k() {
10204
10206
  e: {
10205
10207
  if (ue = i === "mouseover" || i === "pointerover", Ce = i === "mouseout" || i === "pointerout", ue && l !== Rn && (Pe = l.relatedTarget || l.fromElement) && (Hi(Pe) || Pe[zr])) break e;
10206
10208
  if ((Ce || ue) && (ue = ce.window === ce ? ce : (ue = ce.ownerDocument) ? ue.defaultView || ue.parentWindow : window, Ce ? (Pe = l.relatedTarget || l.toElement, Ce = Z, Pe = Pe ? Hi(Pe) : null, Pe !== null && (Nt = Ui(Pe), Pe !== Nt || Pe.tag !== 5 && Pe.tag !== 6) && (Pe = null)) : (Ce = null, Pe = Z), Ce !== Pe)) {
10207
- if (Oe = Am, Te = "onMouseLeave", G = "onMouseEnter", j = "mouse", (i === "pointerout" || i === "pointerover") && (Oe = wm, Te = "onPointerLeave", G = "onPointerEnter", j = "pointer"), Nt = Ce == null ? ue : Rs(Ce), K = Pe == null ? ue : Rs(Pe), ue = new Oe(Te, j + "leave", Ce, l, ce), ue.target = Nt, ue.relatedTarget = K, Te = null, Hi(ce) === Z && (Oe = new Oe(G, j + "enter", Pe, l, ce), Oe.target = K, Oe.relatedTarget = Nt, Te = Oe), Nt = Te, Ce && Pe) t: {
10209
+ if (Oe = A0, Te = "onMouseLeave", G = "onMouseEnter", j = "mouse", (i === "pointerout" || i === "pointerover") && (Oe = w0, Te = "onPointerLeave", G = "onPointerEnter", j = "pointer"), Nt = Ce == null ? ue : Rs(Ce), K = Pe == null ? ue : Rs(Pe), ue = new Oe(Te, j + "leave", Ce, l, ce), ue.target = Nt, ue.relatedTarget = K, Te = null, Hi(ce) === Z && (Oe = new Oe(G, j + "enter", Pe, l, ce), Oe.target = K, Oe.relatedTarget = Nt, Te = Oe), Nt = Te, Ce && Pe) t: {
10208
10210
  for (Oe = Ce, G = Pe, j = 0, K = Oe; K; K = Os(K)) j++;
10209
10211
  for (K = 0, Te = G; Te; Te = Os(Te)) K++;
10210
10212
  for (; 0 < j - K; ) Oe = Os(Oe), j--;
@@ -10216,26 +10218,26 @@ function _k() {
10216
10218
  Oe = null;
10217
10219
  }
10218
10220
  else Oe = null;
10219
- Ce !== null && Zm(de, ue, Ce, Oe, !1), Pe !== null && Nt !== null && Zm(de, Nt, Pe, Oe, !0);
10221
+ Ce !== null && Z0(de, ue, Ce, Oe, !1), Pe !== null && Nt !== null && Z0(de, Nt, Pe, Oe, !0);
10220
10222
  }
10221
10223
  }
10222
10224
  e: {
10223
10225
  if (ue = Z ? Rs(Z) : window, Ce = ue.nodeName && ue.nodeName.toLowerCase(), Ce === "select" || Ce === "input" && ue.type === "file") var Le = xA;
10224
- else if (Im(ue)) if (Lm) Le = NA;
10226
+ else if (I0(ue)) if (L0) Le = NA;
10225
10227
  else {
10226
10228
  Le = CA;
10227
10229
  var Be = AA;
10228
10230
  }
10229
10231
  else (Ce = ue.nodeName) && Ce.toLowerCase() === "input" && (ue.type === "checkbox" || ue.type === "radio") && (Le = wA);
10230
10232
  if (Le && (Le = Le(i, Z))) {
10231
- Rm(de, Le, l, ce);
10233
+ R0(de, Le, l, ce);
10232
10234
  break e;
10233
10235
  }
10234
10236
  Be && Be(i, ue, Z), i === "focusout" && (Be = ue._wrapperState) && Be.controlled && ue.type === "number" && Kt(ue, "number", ue.value);
10235
10237
  }
10236
10238
  switch (Be = Z ? Rs(Z) : window, i) {
10237
10239
  case "focusin":
10238
- (Im(Be) || Be.contentEditable === "true") && (Ps = Be, Df = Z, ta = null);
10240
+ (I0(Be) || Be.contentEditable === "true") && (Ps = Be, Df = Z, ta = null);
10239
10241
  break;
10240
10242
  case "focusout":
10241
10243
  ta = Df = Ps = null;
@@ -10246,13 +10248,13 @@ function _k() {
10246
10248
  case "contextmenu":
10247
10249
  case "mouseup":
10248
10250
  case "dragend":
10249
- Mf = !1, jm(de, l, ce);
10251
+ Mf = !1, j0(de, l, ce);
10250
10252
  break;
10251
10253
  case "selectionchange":
10252
10254
  if (kA) break;
10253
10255
  case "keydown":
10254
10256
  case "keyup":
10255
- jm(de, l, ce);
10257
+ j0(de, l, ce);
10256
10258
  }
10257
10259
  var Ue;
10258
10260
  if (Of) e: {
@@ -10269,10 +10271,10 @@ function _k() {
10269
10271
  }
10270
10272
  Ve = void 0;
10271
10273
  }
10272
- else vs ? km(i, l) && (Ve = "onCompositionEnd") : i === "keydown" && l.keyCode === 229 && (Ve = "onCompositionStart");
10273
- Ve && (Nm && l.locale !== "ko" && (vs || Ve !== "onCompositionStart" ? Ve === "onCompositionEnd" && vs && (Ue = Sm()) : (fi = ce, Cf = "value" in fi ? fi.value : fi.textContent, vs = !0)), Be = $u(Z, Ve), 0 < Be.length && (Ve = new Cm(Ve, i, null, l, ce), de.push({ event: Ve, listeners: Be }), Ue ? Ve.data = Ue : (Ue = Om(l), Ue !== null && (Ve.data = Ue)))), (Ue = yA ? TA(i, l) : bA(i, l)) && (Z = $u(Z, "onBeforeInput"), 0 < Z.length && (ce = new Cm("onBeforeInput", "beforeinput", null, l, ce), de.push({ event: ce, listeners: Z }), ce.data = Ue));
10274
+ else vs ? k0(i, l) && (Ve = "onCompositionEnd") : i === "keydown" && l.keyCode === 229 && (Ve = "onCompositionStart");
10275
+ Ve && (N0 && l.locale !== "ko" && (vs || Ve !== "onCompositionStart" ? Ve === "onCompositionEnd" && vs && (Ue = S0()) : (fi = ce, Cf = "value" in fi ? fi.value : fi.textContent, vs = !0)), Be = $u(Z, Ve), 0 < Be.length && (Ve = new C0(Ve, i, null, l, ce), de.push({ event: Ve, listeners: Be }), Ue ? Ve.data = Ue : (Ue = O0(l), Ue !== null && (Ve.data = Ue)))), (Ue = yA ? TA(i, l) : bA(i, l)) && (Z = $u(Z, "onBeforeInput"), 0 < Z.length && (ce = new C0("onBeforeInput", "beforeinput", null, l, ce), de.push({ event: ce, listeners: Z }), ce.data = Ue));
10274
10276
  }
10275
- Qm(de, o);
10277
+ Q0(de, o);
10276
10278
  });
10277
10279
  }
10278
10280
  function ia(i, o, l) {
@@ -10292,7 +10294,7 @@ function _k() {
10292
10294
  while (i && i.tag !== 5);
10293
10295
  return i || null;
10294
10296
  }
10295
- function Zm(i, o, l, h, E) {
10297
+ function Z0(i, o, l, h, E) {
10296
10298
  for (var T = o._reactName, S = []; l !== null && l !== h; ) {
10297
10299
  var L = l, U = L.alternate, Z = L.stateNode;
10298
10300
  if (U !== null && U === h) break;
@@ -10454,7 +10456,7 @@ function _k() {
10454
10456
  }
10455
10457
  jr = null, Xu = !1;
10456
10458
  } catch (E) {
10457
- throw jr !== null && (jr = jr.slice(i + 1)), um(Ef, gi), E;
10459
+ throw jr !== null && (jr = jr.slice(i + 1)), u0(Ef, gi), E;
10458
10460
  } finally {
10459
10461
  st = o, Xf = !1;
10460
10462
  }
@@ -11185,7 +11187,7 @@ function _k() {
11185
11187
  return h !== null && o !== null && dd(o, h[1]) ? h[0] : (i = i(), l.memoizedState = [i, o], i);
11186
11188
  }
11187
11189
  function Mg(i, o, l) {
11188
- return (Yi & 21) === 0 ? (i.baseState && (i.baseState = !1, An = !0), i.memoizedState = l) : (ir(l, o) || (l = dm(), xt.lanes |= l, Gi |= l, i.baseState = !0), o);
11190
+ return (Yi & 21) === 0 ? (i.baseState && (i.baseState = !1, An = !0), i.memoizedState = l) : (ir(l, o) || (l = d0(), xt.lanes |= l, Gi |= l, i.baseState = !0), o);
11189
11191
  }
11190
11192
  function VA(i, o) {
11191
11193
  var l = st;
@@ -11919,7 +11921,7 @@ Error generating stack: ` + T.message + `
11919
11921
  Jt(l, E), L = E;
11920
11922
  for (T in L) if (L.hasOwnProperty(T)) {
11921
11923
  var U = L[T];
11922
- T === "style" ? Qt(i, U) : T === "dangerouslySetInnerHTML" ? (U = U ? U.__html : void 0, U != null && je(i, U)) : T === "children" ? typeof U == "string" ? (l !== "textarea" || U !== "") && Ie(i, U) : typeof U == "number" && Ie(i, "" + U) : T !== "suppressContentEditableWarning" && T !== "suppressHydrationWarning" && T !== "autoFocus" && (s.hasOwnProperty(T) ? U != null && T === "onScroll" && pt("scroll", i) : U != null && N(i, T, U, S));
11924
+ T === "style" ? Qt(i, U) : T === "dangerouslySetInnerHTML" ? (U = U ? U.__html : void 0, U != null && je(i, U)) : T === "children" ? typeof U == "string" ? (l !== "textarea" || U !== "") && Ie(i, U) : typeof U == "number" && Ie(i, "" + U) : T !== "suppressContentEditableWarning" && T !== "suppressHydrationWarning" && T !== "autoFocus" && (s.hasOwnProperty(T) ? U != null && T === "onScroll" && pt("scroll", i) : U != null && w(i, T, U, S));
11923
11925
  }
11924
11926
  switch (l) {
11925
11927
  case "input":
@@ -12075,7 +12077,7 @@ Error generating stack: ` + T.message + `
12075
12077
  }
12076
12078
  var l1 = !1;
12077
12079
  function rC(i, o) {
12078
- if (jf = Ru, i = zm(), Lf(i)) {
12080
+ if (jf = Ru, i = z0(), Lf(i)) {
12079
12081
  if ("selectionStart" in i) var l = { start: i.selectionStart, end: i.selectionEnd };
12080
12082
  else e: {
12081
12083
  l = (l = i.ownerDocument) && l.defaultView || window;
@@ -12340,7 +12342,7 @@ Error generating stack: ` + T.message + `
12340
12342
  var Z = Tr(L, T);
12341
12343
  for (S = 0; S < U.length; S += 2) {
12342
12344
  var ce = U[S], de = U[S + 1];
12343
- ce === "style" ? Qt(E, de) : ce === "dangerouslySetInnerHTML" ? je(E, de) : ce === "children" ? Ie(E, de) : N(E, ce, de, Z);
12345
+ ce === "style" ? Qt(E, de) : ce === "dangerouslySetInnerHTML" ? je(E, de) : ce === "children" ? Ie(E, de) : w(E, ce, de, Z);
12344
12346
  }
12345
12347
  switch (L) {
12346
12348
  case "input":
@@ -12694,7 +12696,7 @@ Error generating stack: ` + T.message + `
12694
12696
  return (tt & 6) !== 0 ? wt() : bl !== -1 ? bl : bl = wt();
12695
12697
  }
12696
12698
  function Si(i) {
12697
- return (i.mode & 1) === 0 ? 1 : (tt & 2) !== 0 && en !== 0 ? en & -en : jA.transition !== null ? (_l === 0 && (_l = dm()), _l) : (i = st, i !== 0 || (i = window.event, i = i === void 0 ? 16 : _m(i.type)), i);
12699
+ return (i.mode & 1) === 0 ? 1 : (tt & 2) !== 0 && en !== 0 ? en & -en : jA.transition !== null ? (_l === 0 && (_l = d0()), _l) : (i = st, i !== 0 || (i = window.event, i = i === void 0 ? 16 : _0(i.type)), i);
12698
12700
  }
12699
12701
  function lr(i, o, l, h) {
12700
12702
  if (50 < Ta) throw Ta = 0, Bd = null, Error(n(185));
@@ -12704,24 +12706,24 @@ Error generating stack: ` + T.message + `
12704
12706
  var l = i.callbackNode;
12705
12707
  jx(i, o);
12706
12708
  var h = ku(i, i === jt ? en : 0);
12707
- if (h === 0) l !== null && lm(l), i.callbackNode = null, i.callbackPriority = 0;
12709
+ if (h === 0) l !== null && l0(l), i.callbackNode = null, i.callbackPriority = 0;
12708
12710
  else if (o = h & -h, i.callbackPriority !== o) {
12709
- if (l != null && lm(l), o === 1) i.tag === 0 ? zA(_1.bind(null, i)) : og(_1.bind(null, i)), FA(function() {
12711
+ if (l != null && l0(l), o === 1) i.tag === 0 ? zA(_1.bind(null, i)) : og(_1.bind(null, i)), FA(function() {
12710
12712
  (tt & 6) === 0 && gi();
12711
12713
  }), l = null;
12712
12714
  else {
12713
- switch (hm(h)) {
12715
+ switch (h0(h)) {
12714
12716
  case 1:
12715
12717
  l = Ef;
12716
12718
  break;
12717
12719
  case 4:
12718
- l = cm;
12720
+ l = c0;
12719
12721
  break;
12720
12722
  case 16:
12721
12723
  l = wu;
12722
12724
  break;
12723
12725
  case 536870912:
12724
- l = fm;
12726
+ l = f0;
12725
12727
  break;
12726
12728
  default:
12727
12729
  l = wu;
@@ -13094,7 +13096,7 @@ Error generating stack: ` + T.message + `
13094
13096
  }
13095
13097
  function Gs() {
13096
13098
  if (_i !== null) {
13097
- var i = hm(Tl), o = Gn.transition, l = st;
13099
+ var i = h0(Tl), o = Gn.transition, l = st;
13098
13100
  try {
13099
13101
  if (Gn.transition = null, st = 16 > i ? 16 : i, _i === null) var h = !1;
13100
13102
  else {
@@ -13401,7 +13403,7 @@ Error generating stack: ` + T.message + `
13401
13403
  throw Error(n(156, o.tag));
13402
13404
  };
13403
13405
  function P1(i, o) {
13404
- return um(i, o);
13406
+ return u0(i, o);
13405
13407
  }
13406
13408
  function hC(i, o, l, h) {
13407
13409
  this.tag = i, this.key = l, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = o, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = h, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
@@ -13560,10 +13562,10 @@ Error generating stack: ` + T.message + `
13560
13562
  }
13561
13563
  Nl.prototype.unstable_scheduleHydration = function(i) {
13562
13564
  if (i) {
13563
- var o = gm();
13565
+ var o = g0();
13564
13566
  i = { blockedOn: null, target: i, priority: o };
13565
13567
  for (var l = 0; l < ci.length && o !== 0 && o < ci[l].priority; l++) ;
13566
- ci.splice(l, 0, i), l === 0 && Tm(i);
13568
+ ci.splice(l, 0, i), l === 0 && T0(i);
13567
13569
  }
13568
13570
  };
13569
13571
  function Kd(i) {
@@ -13614,7 +13616,7 @@ Error generating stack: ` + T.message + `
13614
13616
  } else S = yC(l, o, i, E, h);
13615
13617
  return wl(S);
13616
13618
  }
13617
- pm = function(i) {
13619
+ p0 = function(i) {
13618
13620
  switch (i.tag) {
13619
13621
  case 3:
13620
13622
  var o = i.stateNode;
@@ -13641,7 +13643,7 @@ Error generating stack: ` + T.message + `
13641
13643
  }
13642
13644
  Wd(i, 134217728);
13643
13645
  }
13644
- }, mm = function(i) {
13646
+ }, m0 = function(i) {
13645
13647
  if (i.tag === 13) {
13646
13648
  var o = Si(i), l = qr(i, o);
13647
13649
  if (l !== null) {
@@ -13650,9 +13652,9 @@ Error generating stack: ` + T.message + `
13650
13652
  }
13651
13653
  Wd(i, o);
13652
13654
  }
13653
- }, gm = function() {
13655
+ }, g0 = function() {
13654
13656
  return st;
13655
- }, Em = function(i, o) {
13657
+ }, E0 = function(i, o) {
13656
13658
  var l = st;
13657
13659
  try {
13658
13660
  return st = i, o();
@@ -13680,9 +13682,9 @@ Error generating stack: ` + T.message + `
13680
13682
  case "select":
13681
13683
  o = l.value, o != null && Ae(i, !!l.multiple, o, !1);
13682
13684
  }
13683
- }, tm = zd, nm = Wi;
13684
- var TC = { usingClientEntryPoint: !1, Events: [oa, Rs, Yu, Z0, em, zd] }, ba = { findFiberByHostInstance: Hi, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, bC = { bundleType: ba.bundleType, version: ba.version, rendererPackageName: ba.rendererPackageName, rendererConfig: ba.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: H.ReactCurrentDispatcher, findHostInstanceByFiber: function(i) {
13685
- return i = om(i), i === null ? null : i.stateNode;
13685
+ }, t0 = zd, n0 = Wi;
13686
+ var TC = { usingClientEntryPoint: !1, Events: [oa, Rs, Yu, Zm, e0, zd] }, ba = { findFiberByHostInstance: Hi, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, bC = { bundleType: ba.bundleType, version: ba.version, rendererPackageName: ba.rendererPackageName, rendererConfig: ba.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: H.ReactCurrentDispatcher, findHostInstanceByFiber: function(i) {
13687
+ return i = o0(i), i === null ? null : i.stateNode;
13686
13688
  }, findFiberByHostInstance: ba.findFiberByHostInstance || EC, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
13687
13689
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != "undefined") {
13688
13690
  var kl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -13705,7 +13707,7 @@ Error generating stack: ` + T.message + `
13705
13707
  var o = i._reactInternals;
13706
13708
  if (o === void 0)
13707
13709
  throw typeof i.render == "function" ? Error(n(188)) : (i = Object.keys(i).join(","), Error(n(268, i)));
13708
- return i = om(o), i = i === null ? null : i.stateNode, i;
13710
+ return i = o0(o), i = i === null ? null : i.stateNode, i;
13709
13711
  }, Nn.flushSync = function(i) {
13710
13712
  return Wi(i);
13711
13713
  }, Nn.hydrate = function(i, o, l) {
@@ -14193,7 +14195,7 @@ const ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14193
14195
  /** @type {ReadonlyArray<keyof typeof types>} */
14194
14196
  Object.keys(ip)
14195
14197
  );
14196
- class r0 extends In {
14198
+ class rm extends In {
14197
14199
  /**
14198
14200
  * @constructor
14199
14201
  * @param {string} property
@@ -14216,14 +14218,14 @@ class r0 extends In {
14216
14218
  }
14217
14219
  }
14218
14220
  }
14219
- r0.prototype.defined = !0;
14221
+ rm.prototype.defined = !0;
14220
14222
  function OE(e, t, n) {
14221
14223
  n && (e[t] = n);
14222
14224
  }
14223
14225
  function No(e) {
14224
14226
  const t = {}, n = {};
14225
14227
  for (const [r, s] of Object.entries(e.properties)) {
14226
- const a = new r0(
14228
+ const a = new rm(
14227
14229
  r,
14228
14230
  e.transform(e.attributes || {}, r),
14229
14231
  s,
@@ -15287,7 +15289,7 @@ function zc(e, t) {
15287
15289
  u.charAt(0) !== "-" && (u = "-" + u), t = "data" + u;
15288
15290
  }
15289
15291
  }
15290
- s = r0;
15292
+ s = rm;
15291
15293
  }
15292
15294
  return new s(r, t);
15293
15295
  }
@@ -15311,39 +15313,39 @@ function iO() {
15311
15313
  LE = 1;
15312
15314
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, s = /^:\s*/, a = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, u = /^[;\s]*/, c = /^\s+|\s+$/g, f = `
15313
15315
  `, d = "/", p = "*", m = "", b = "comment", y = "declaration";
15314
- function _(w, A) {
15315
- if (typeof w != "string")
15316
+ function _(N, A) {
15317
+ if (typeof N != "string")
15316
15318
  throw new TypeError("First argument must be a string");
15317
- if (!w) return [];
15319
+ if (!N) return [];
15318
15320
  A = A || {};
15319
- var P = 1, N = 1;
15321
+ var P = 1, w = 1;
15320
15322
  function H(re) {
15321
15323
  var oe = re.match(t);
15322
15324
  oe && (P += oe.length);
15323
15325
  var xe = re.lastIndexOf(f);
15324
- N = ~xe ? re.length - xe : N + re.length;
15326
+ w = ~xe ? re.length - xe : w + re.length;
15325
15327
  }
15326
15328
  function Y() {
15327
- var re = { line: P, column: N };
15329
+ var re = { line: P, column: w };
15328
15330
  return function(oe) {
15329
15331
  return oe.position = new R(re), me(), oe;
15330
15332
  };
15331
15333
  }
15332
15334
  function R(re) {
15333
- this.start = re, this.end = { line: P, column: N }, this.source = A.source;
15335
+ this.start = re, this.end = { line: P, column: w }, this.source = A.source;
15334
15336
  }
15335
- R.prototype.content = w;
15337
+ R.prototype.content = N;
15336
15338
  function q(re) {
15337
15339
  var oe = new Error(
15338
- A.source + ":" + P + ":" + N + ": " + re
15340
+ A.source + ":" + P + ":" + w + ": " + re
15339
15341
  );
15340
- if (oe.reason = re, oe.filename = A.source, oe.line = P, oe.column = N, oe.source = w, !A.silent) throw oe;
15342
+ if (oe.reason = re, oe.filename = A.source, oe.line = P, oe.column = w, oe.source = N, !A.silent) throw oe;
15341
15343
  }
15342
15344
  function ne(re) {
15343
- var oe = re.exec(w);
15345
+ var oe = re.exec(N);
15344
15346
  if (oe) {
15345
15347
  var xe = oe[0];
15346
- return H(xe), w = w.slice(xe.length), oe;
15348
+ return H(xe), N = N.slice(xe.length), oe;
15347
15349
  }
15348
15350
  }
15349
15351
  function me() {
@@ -15357,13 +15359,13 @@ function iO() {
15357
15359
  }
15358
15360
  function se() {
15359
15361
  var re = Y();
15360
- if (!(d != w.charAt(0) || p != w.charAt(1))) {
15361
- for (var oe = 2; m != w.charAt(oe) && (p != w.charAt(oe) || d != w.charAt(oe + 1)); )
15362
+ if (!(d != N.charAt(0) || p != N.charAt(1))) {
15363
+ for (var oe = 2; m != N.charAt(oe) && (p != N.charAt(oe) || d != N.charAt(oe + 1)); )
15362
15364
  ++oe;
15363
- if (oe += 2, m === w.charAt(oe - 1))
15365
+ if (oe += 2, m === N.charAt(oe - 1))
15364
15366
  return q("End of comment missing");
15365
- var xe = w.slice(2, oe - 2);
15366
- return N += 2, H(xe), w = w.slice(oe), N += 2, re({
15367
+ var xe = N.slice(2, oe - 2);
15368
+ return w += 2, H(xe), N = N.slice(oe), w += 2, re({
15367
15369
  type: b,
15368
15370
  comment: xe
15369
15371
  });
@@ -15390,8 +15392,8 @@ function iO() {
15390
15392
  }
15391
15393
  return me(), Ne();
15392
15394
  }
15393
- function C(w) {
15394
- return w ? w.replace(c, m) : m;
15395
+ function C(N) {
15396
+ return N ? N.replace(c, m) : m;
15395
15397
  }
15396
15398
  return mh = _, mh;
15397
15399
  }
@@ -15566,7 +15568,7 @@ dn.prototype.fatal = void 0;
15566
15568
  dn.prototype.place = void 0;
15567
15569
  dn.prototype.ruleId = void 0;
15568
15570
  dn.prototype.source = void 0;
15569
- const i0 = {}.hasOwnProperty, cO = /* @__PURE__ */ new Map(), fO = /[A-Z]/g, dO = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), hO = /* @__PURE__ */ new Set(["td", "th"]), b_ = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
15571
+ const im = {}.hasOwnProperty, cO = /* @__PURE__ */ new Map(), fO = /[A-Z]/g, dO = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), hO = /* @__PURE__ */ new Set(["td", "th"]), b_ = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
15570
15572
  function pO(e, t) {
15571
15573
  if (!t || t.Fragment === void 0)
15572
15574
  throw new TypeError("Expected `Fragment` in options");
@@ -15626,10 +15628,10 @@ function mO(e, t, n) {
15626
15628
  let s = r;
15627
15629
  t.tagName.toLowerCase() === "svg" && r.space === "html" && (s = Fi, e.schema = s), e.ancestors.push(t);
15628
15630
  const a = x_(e, t.tagName, !1), u = xO(e, t);
15629
- let c = o0(e, t);
15631
+ let c = om(e, t);
15630
15632
  return dO.has(t.tagName) && (c = c.filter(function(f) {
15631
15633
  return typeof f == "string" ? !Xk(f) : !0;
15632
- })), S_(e, u, a, t), s0(u, c), e.ancestors.pop(), e.schema = r, e.create(t, a, u, n);
15634
+ })), S_(e, u, a, t), sm(u, c), e.ancestors.pop(), e.schema = r, e.create(t, a, u, n);
15633
15635
  }
15634
15636
  function gO(e, t) {
15635
15637
  if (t.data && t.data.estree && e.evaluater) {
@@ -15651,12 +15653,12 @@ function yO(e, t, n) {
15651
15653
  const r = e.schema;
15652
15654
  let s = r;
15653
15655
  t.name === "svg" && r.space === "html" && (s = Fi, e.schema = s), e.ancestors.push(t);
15654
- const a = t.name === null ? e.Fragment : x_(e, t.name, !0), u = AO(e, t), c = o0(e, t);
15655
- return S_(e, u, a, t), s0(u, c), e.ancestors.pop(), e.schema = r, e.create(t, a, u, n);
15656
+ const a = t.name === null ? e.Fragment : x_(e, t.name, !0), u = AO(e, t), c = om(e, t);
15657
+ return S_(e, u, a, t), sm(u, c), e.ancestors.pop(), e.schema = r, e.create(t, a, u, n);
15656
15658
  }
15657
15659
  function TO(e, t, n) {
15658
15660
  const r = {};
15659
- return s0(r, o0(e, t)), e.create(t, e.Fragment, r, n);
15661
+ return sm(r, om(e, t)), e.create(t, e.Fragment, r, n);
15660
15662
  }
15661
15663
  function bO(e, t) {
15662
15664
  return t.value;
@@ -15664,7 +15666,7 @@ function bO(e, t) {
15664
15666
  function S_(e, t, n, r) {
15665
15667
  typeof n != "string" && n !== e.Fragment && e.passNode && (t.node = r);
15666
15668
  }
15667
- function s0(e, t) {
15669
+ function sm(e, t) {
15668
15670
  if (t.length > 0) {
15669
15671
  const n = t.length > 1 ? t : t[0];
15670
15672
  n && (e.children = n);
@@ -15699,7 +15701,7 @@ function xO(e, t) {
15699
15701
  const n = {};
15700
15702
  let r, s;
15701
15703
  for (s in t.properties)
15702
- if (s !== "children" && i0.call(t.properties, s)) {
15704
+ if (s !== "children" && im.call(t.properties, s)) {
15703
15705
  const a = CO(e, s, t.properties[s]);
15704
15706
  if (a) {
15705
15707
  const [u, c] = a;
@@ -15747,7 +15749,7 @@ function AO(e, t) {
15747
15749
  }
15748
15750
  return n;
15749
15751
  }
15750
- function o0(e, t) {
15752
+ function om(e, t) {
15751
15753
  const n = [];
15752
15754
  let r = -1;
15753
15755
  const s = e.passKeys ? /* @__PURE__ */ new Map() : cO;
@@ -15822,7 +15824,7 @@ function x_(e, t, n) {
15822
15824
  /** @type {string | number} */
15823
15825
  r.value
15824
15826
  );
15825
- return i0.call(e.components, s) ? e.components[s] : s;
15827
+ return im.call(e.components, s) ? e.components[s] : s;
15826
15828
  }
15827
15829
  if (e.evaluater)
15828
15830
  return e.evaluater.evaluateExpression(r);
@@ -15844,7 +15846,7 @@ function NO(e) {
15844
15846
  const t = {};
15845
15847
  let n;
15846
15848
  for (n in e)
15847
- i0.call(e, n) && (t[vO(n)] = e[n]);
15849
+ im.call(e, n) && (t[vO(n)] = e[n]);
15848
15850
  return t;
15849
15851
  }
15850
15852
  function vO(e) {
@@ -15877,7 +15879,7 @@ const gh = {
15877
15879
  "video"
15878
15880
  ]
15879
15881
  }, kO = {};
15880
- function a0(e, t) {
15882
+ function am(e, t) {
15881
15883
  const n = kO, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, s = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
15882
15884
  return A_(e, r, s);
15883
15885
  }
@@ -15903,7 +15905,7 @@ function OO(e) {
15903
15905
  return !!(e && typeof e == "object");
15904
15906
  }
15905
15907
  const zE = document.createElement("i");
15906
- function u0(e) {
15908
+ function um(e) {
15907
15909
  const t = "&" + e + ";";
15908
15910
  zE.innerHTML = t;
15909
15911
  const n = zE.textContent;
@@ -16065,14 +16067,14 @@ function HO(e) {
16065
16067
  const t = this, n = [];
16066
16068
  let r = 0, s, a, u;
16067
16069
  return c;
16068
- function c(N) {
16070
+ function c(w) {
16069
16071
  if (r < n.length) {
16070
16072
  const H = n[r];
16071
- return t.containerState = H[1], e.attempt(H[0].continuation, f, d)(N);
16073
+ return t.containerState = H[1], e.attempt(H[0].continuation, f, d)(w);
16072
16074
  }
16073
- return d(N);
16075
+ return d(w);
16074
16076
  }
16075
- function f(N) {
16077
+ function f(w) {
16076
16078
  if (r++, t.containerState._closeFlow) {
16077
16079
  t.containerState._closeFlow = void 0, s && P();
16078
16080
  const H = t.events.length;
@@ -16086,53 +16088,53 @@ function HO(e) {
16086
16088
  let q = H;
16087
16089
  for (; q < t.events.length; )
16088
16090
  t.events[q][1].end = F({}, R), q++;
16089
- return Hn(t.events, Y + 1, 0, t.events.slice(H)), t.events.length = q, d(N);
16091
+ return Hn(t.events, Y + 1, 0, t.events.slice(H)), t.events.length = q, d(w);
16090
16092
  }
16091
- return c(N);
16093
+ return c(w);
16092
16094
  }
16093
- function d(N) {
16095
+ function d(w) {
16094
16096
  if (r === n.length) {
16095
16097
  if (!s)
16096
- return b(N);
16098
+ return b(w);
16097
16099
  if (s.currentConstruct && s.currentConstruct.concrete)
16098
- return _(N);
16100
+ return _(w);
16099
16101
  t.interrupt = !!(s.currentConstruct && !s._gfmTableDynamicInterruptHack);
16100
16102
  }
16101
- return t.containerState = {}, e.check($E, p, m)(N);
16103
+ return t.containerState = {}, e.check($E, p, m)(w);
16102
16104
  }
16103
- function p(N) {
16104
- return s && P(), A(r), b(N);
16105
+ function p(w) {
16106
+ return s && P(), A(r), b(w);
16105
16107
  }
16106
- function m(N) {
16107
- return t.parser.lazy[t.now().line] = r !== n.length, u = t.now().offset, _(N);
16108
+ function m(w) {
16109
+ return t.parser.lazy[t.now().line] = r !== n.length, u = t.now().offset, _(w);
16108
16110
  }
16109
- function b(N) {
16110
- return t.containerState = {}, e.attempt($E, y, _)(N);
16111
+ function b(w) {
16112
+ return t.containerState = {}, e.attempt($E, y, _)(w);
16111
16113
  }
16112
- function y(N) {
16113
- return r++, n.push([t.currentConstruct, t.containerState]), b(N);
16114
+ function y(w) {
16115
+ return r++, n.push([t.currentConstruct, t.containerState]), b(w);
16114
16116
  }
16115
- function _(N) {
16116
- if (N === null) {
16117
- s && P(), A(0), e.consume(N);
16117
+ function _(w) {
16118
+ if (w === null) {
16119
+ s && P(), A(0), e.consume(w);
16118
16120
  return;
16119
16121
  }
16120
16122
  return s = s || t.parser.flow(t.now()), e.enter("chunkFlow", {
16121
16123
  _tokenizer: s,
16122
16124
  contentType: "flow",
16123
16125
  previous: a
16124
- }), C(N);
16126
+ }), C(w);
16125
16127
  }
16126
- function C(N) {
16127
- if (N === null) {
16128
- w(e.exit("chunkFlow"), !0), A(0), e.consume(N);
16128
+ function C(w) {
16129
+ if (w === null) {
16130
+ N(e.exit("chunkFlow"), !0), A(0), e.consume(w);
16129
16131
  return;
16130
16132
  }
16131
- return He(N) ? (e.consume(N), w(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, c) : (e.consume(N), C);
16133
+ return He(w) ? (e.consume(w), N(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, c) : (e.consume(w), C);
16132
16134
  }
16133
- function w(N, H) {
16134
- const Y = t.sliceStream(N);
16135
- if (H && Y.push(null), N.previous = a, a && (a.next = N), a = N, s.defineSkip(N.start), s.write(Y), t.parser.lazy[N.start.line]) {
16135
+ function N(w, H) {
16136
+ const Y = t.sliceStream(w);
16137
+ if (H && Y.push(null), w.previous = a, a && (a.next = w), a = w, s.defineSkip(w.start), s.write(Y), t.parser.lazy[w.start.line]) {
16136
16138
  let R = s.events.length;
16137
16139
  for (; R--; )
16138
16140
  if (
@@ -16157,13 +16159,13 @@ function HO(e) {
16157
16159
  Hn(t.events, ne + 1, 0, t.events.slice(q)), t.events.length = R;
16158
16160
  }
16159
16161
  }
16160
- function A(N) {
16162
+ function A(w) {
16161
16163
  let H = n.length;
16162
- for (; H-- > N; ) {
16164
+ for (; H-- > w; ) {
16163
16165
  const Y = n[H];
16164
16166
  t.containerState = Y[1], Y[0].exit.call(t, e);
16165
16167
  }
16166
- n.length = N;
16168
+ n.length = w;
16167
16169
  }
16168
16170
  function P() {
16169
16171
  s.write([null]), a = void 0, s = void 0, t.containerState._closeFlow = void 0;
@@ -16366,7 +16368,7 @@ function QO(e, t, n) {
16366
16368
  function p(m) {
16367
16369
  if (m === 59 && s) {
16368
16370
  const b = e.exit("characterReferenceValue");
16369
- return u === ln && !u0(r.sliceSerialize(b)) ? n(m) : (e.enter("characterReferenceMarker"), e.consume(m), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
16371
+ return u === ln && !um(r.sliceSerialize(b)) ? n(m) : (e.enter("characterReferenceMarker"), e.consume(m), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
16370
16372
  }
16371
16373
  return u(m) && s++ < a ? (e.consume(m), p) : n(m);
16372
16374
  }
@@ -16413,19 +16415,19 @@ function JO(e, t, n) {
16413
16415
  return R === null || He(R) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), m(R)) : R === 96 && R === c ? n(R) : (e.consume(R), _);
16414
16416
  }
16415
16417
  function C(R) {
16416
- return e.attempt(s, H, w)(R);
16418
+ return e.attempt(s, H, N)(R);
16417
16419
  }
16418
- function w(R) {
16420
+ function N(R) {
16419
16421
  return e.enter("lineEnding"), e.consume(R), e.exit("lineEnding"), A;
16420
16422
  }
16421
16423
  function A(R) {
16422
16424
  return a > 0 && Ke(R) ? et(e, P, "linePrefix", a + 1)(R) : P(R);
16423
16425
  }
16424
16426
  function P(R) {
16425
- return R === null || He(R) ? e.check(qE, C, H)(R) : (e.enter("codeFlowValue"), N(R));
16427
+ return R === null || He(R) ? e.check(qE, C, H)(R) : (e.enter("codeFlowValue"), w(R));
16426
16428
  }
16427
- function N(R) {
16428
- return R === null || He(R) ? (e.exit("codeFlowValue"), P(R)) : (e.consume(R), N);
16429
+ function w(R) {
16430
+ return R === null || He(R) ? (e.exit("codeFlowValue"), P(R)) : (e.consume(R), w);
16429
16431
  }
16430
16432
  function H(R) {
16431
16433
  return e.exit("codeFenced"), t(R);
@@ -16741,7 +16743,7 @@ function uI(e, t) {
16741
16743
  u || (u = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (u._contentTypeTextTrailing = !0));
16742
16744
  const c = u.events, f = [], d = {};
16743
16745
  let p, m, b = -1, y = n, _ = 0, C = 0;
16744
- const w = [C];
16746
+ const N = [C];
16745
16747
  for (; y; ) {
16746
16748
  for (; e.get(++s)[1] !== y; )
16747
16749
  ;
@@ -16749,9 +16751,9 @@ function uI(e, t) {
16749
16751
  }
16750
16752
  for (y = n; ++b < c.length; )
16751
16753
  // Find a void token that includes a break.
16752
- c[b][0] === "exit" && c[b - 1][0] === "enter" && c[b][1].type === c[b - 1][1].type && c[b][1].start.line !== c[b][1].end.line && (C = b + 1, w.push(C), y._tokenizer = void 0, y.previous = void 0, y = y.next);
16753
- for (u.events = [], y ? (y._tokenizer = void 0, y.previous = void 0) : w.pop(), b = w.length; b--; ) {
16754
- const A = c.slice(w[b], w[b + 1]), P = a.pop();
16754
+ c[b][0] === "exit" && c[b - 1][0] === "enter" && c[b][1].type === c[b - 1][1].type && c[b][1].start.line !== c[b][1].end.line && (C = b + 1, N.push(C), y._tokenizer = void 0, y.previous = void 0, y = y.next);
16755
+ for (u.events = [], y ? (y._tokenizer = void 0, y.previous = void 0) : N.pop(), b = N.length; b--; ) {
16756
+ const A = c.slice(N[b], N[b + 1]), P = a.pop();
16755
16757
  f.push([P, P + A.length - 1]), e.splice(P, 2, A);
16756
16758
  }
16757
16759
  for (f.reverse(), b = -1; ++b < f.length; )
@@ -16823,9 +16825,9 @@ function O_(e, t, n, r, s, a, u, c, f) {
16823
16825
  return A === 60 || A === 62 || A === 92 ? (e.consume(A), y) : y(A);
16824
16826
  }
16825
16827
  function C(A) {
16826
- return !p && (A === null || A === 41 || lt(A)) ? (e.exit("chunkString"), e.exit(c), e.exit(u), e.exit(r), t(A)) : p < d && A === 40 ? (e.consume(A), p++, C) : A === 41 ? (e.consume(A), p--, C) : A === null || A === 32 || A === 40 || Ec(A) ? n(A) : (e.consume(A), A === 92 ? w : C);
16828
+ return !p && (A === null || A === 41 || lt(A)) ? (e.exit("chunkString"), e.exit(c), e.exit(u), e.exit(r), t(A)) : p < d && A === 40 ? (e.consume(A), p++, C) : A === 41 ? (e.consume(A), p--, C) : A === null || A === 32 || A === 40 || Ec(A) ? n(A) : (e.consume(A), A === 92 ? N : C);
16827
16829
  }
16828
- function w(A) {
16830
+ function N(A) {
16829
16831
  return A === 40 || A === 41 || A === 92 ? (e.consume(A), C) : C(A);
16830
16832
  }
16831
16833
  }
@@ -17096,7 +17098,7 @@ function vI(e, t, n) {
17096
17098
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(I), m;
17097
17099
  }
17098
17100
  function m(I) {
17099
- return I === 33 ? (e.consume(I), b) : I === 47 ? (e.consume(I), a = !0, C) : I === 63 ? (e.consume(I), s = 3, r.interrupt ? t : v) : bn(I) ? (e.consume(I), u = String.fromCharCode(I), w) : n(I);
17101
+ return I === 33 ? (e.consume(I), b) : I === 47 ? (e.consume(I), a = !0, C) : I === 63 ? (e.consume(I), s = 3, r.interrupt ? t : v) : bn(I) ? (e.consume(I), u = String.fromCharCode(I), N) : n(I);
17100
17102
  }
17101
17103
  function b(I) {
17102
17104
  return I === 45 ? (e.consume(I), s = 2, y) : I === 91 ? (e.consume(I), s = 5, c = 0, _) : bn(I) ? (e.consume(I), s = 4, r.interrupt ? t : v) : n(I);
@@ -17109,14 +17111,14 @@ function vI(e, t, n) {
17109
17111
  return I === _e.charCodeAt(c++) ? (e.consume(I), c === _e.length ? r.interrupt ? t : fe : _) : n(I);
17110
17112
  }
17111
17113
  function C(I) {
17112
- return bn(I) ? (e.consume(I), u = String.fromCharCode(I), w) : n(I);
17114
+ return bn(I) ? (e.consume(I), u = String.fromCharCode(I), N) : n(I);
17113
17115
  }
17114
- function w(I) {
17116
+ function N(I) {
17115
17117
  if (I === null || I === 47 || I === 62 || lt(I)) {
17116
17118
  const _e = I === 47, Me = u.toLowerCase();
17117
- return !_e && !a && GE.includes(Me) ? (s = 1, r.interrupt ? t(I) : fe(I)) : xI.includes(u.toLowerCase()) ? (s = 6, _e ? (e.consume(I), A) : r.interrupt ? t(I) : fe(I)) : (s = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(I) : a ? P(I) : N(I));
17119
+ return !_e && !a && GE.includes(Me) ? (s = 1, r.interrupt ? t(I) : fe(I)) : xI.includes(u.toLowerCase()) ? (s = 6, _e ? (e.consume(I), A) : r.interrupt ? t(I) : fe(I)) : (s = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(I) : a ? P(I) : w(I));
17118
17120
  }
17119
- return I === 45 || ln(I) ? (e.consume(I), u += String.fromCharCode(I), w) : n(I);
17121
+ return I === 45 || ln(I) ? (e.consume(I), u += String.fromCharCode(I), N) : n(I);
17120
17122
  }
17121
17123
  function A(I) {
17122
17124
  return I === 62 ? (e.consume(I), r.interrupt ? t : fe) : n(I);
@@ -17124,14 +17126,14 @@ function vI(e, t, n) {
17124
17126
  function P(I) {
17125
17127
  return Ke(I) ? (e.consume(I), P) : V(I);
17126
17128
  }
17127
- function N(I) {
17128
- return I === 47 ? (e.consume(I), V) : I === 58 || I === 95 || bn(I) ? (e.consume(I), H) : Ke(I) ? (e.consume(I), N) : V(I);
17129
+ function w(I) {
17130
+ return I === 47 ? (e.consume(I), V) : I === 58 || I === 95 || bn(I) ? (e.consume(I), H) : Ke(I) ? (e.consume(I), w) : V(I);
17129
17131
  }
17130
17132
  function H(I) {
17131
17133
  return I === 45 || I === 46 || I === 58 || I === 95 || ln(I) ? (e.consume(I), H) : Y(I);
17132
17134
  }
17133
17135
  function Y(I) {
17134
- return I === 61 ? (e.consume(I), R) : Ke(I) ? (e.consume(I), Y) : N(I);
17136
+ return I === 61 ? (e.consume(I), R) : Ke(I) ? (e.consume(I), Y) : w(I);
17135
17137
  }
17136
17138
  function R(I) {
17137
17139
  return I === null || I === 60 || I === 61 || I === 62 || I === 96 ? n(I) : I === 34 || I === 39 ? (e.consume(I), f = I, q) : Ke(I) ? (e.consume(I), R) : ne(I);
@@ -17143,7 +17145,7 @@ function vI(e, t, n) {
17143
17145
  return I === null || I === 34 || I === 39 || I === 47 || I === 60 || I === 61 || I === 62 || I === 96 || lt(I) ? Y(I) : (e.consume(I), ne);
17144
17146
  }
17145
17147
  function me(I) {
17146
- return I === 47 || I === 62 || Ke(I) ? N(I) : n(I);
17148
+ return I === 47 || I === 62 || Ke(I) ? w(I) : n(I);
17147
17149
  }
17148
17150
  function V(I) {
17149
17151
  return I === 62 ? (e.consume(I), se) : n(I);
@@ -17217,7 +17219,7 @@ function II(e, t, n) {
17217
17219
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(v), f;
17218
17220
  }
17219
17221
  function f(v) {
17220
- return v === 33 ? (e.consume(v), d) : v === 47 ? (e.consume(v), Y) : v === 63 ? (e.consume(v), N) : bn(v) ? (e.consume(v), ne) : n(v);
17222
+ return v === 33 ? (e.consume(v), d) : v === 47 ? (e.consume(v), Y) : v === 63 ? (e.consume(v), w) : bn(v) ? (e.consume(v), ne) : n(v);
17221
17223
  }
17222
17224
  function d(v) {
17223
17225
  return v === 45 ? (e.consume(v), p) : v === 91 ? (e.consume(v), a = 0, _) : bn(v) ? (e.consume(v), P) : n(v);
@@ -17239,9 +17241,9 @@ function II(e, t, n) {
17239
17241
  return v === D.charCodeAt(a++) ? (e.consume(v), a === D.length ? C : _) : n(v);
17240
17242
  }
17241
17243
  function C(v) {
17242
- return v === null ? n(v) : v === 93 ? (e.consume(v), w) : He(v) ? (u = C, ae(v)) : (e.consume(v), C);
17244
+ return v === null ? n(v) : v === 93 ? (e.consume(v), N) : He(v) ? (u = C, ae(v)) : (e.consume(v), C);
17243
17245
  }
17244
- function w(v) {
17246
+ function N(v) {
17245
17247
  return v === 93 ? (e.consume(v), A) : C(v);
17246
17248
  }
17247
17249
  function A(v) {
@@ -17250,11 +17252,11 @@ function II(e, t, n) {
17250
17252
  function P(v) {
17251
17253
  return v === null || v === 62 ? xe(v) : He(v) ? (u = P, ae(v)) : (e.consume(v), P);
17252
17254
  }
17253
- function N(v) {
17254
- return v === null ? n(v) : v === 63 ? (e.consume(v), H) : He(v) ? (u = N, ae(v)) : (e.consume(v), N);
17255
+ function w(v) {
17256
+ return v === null ? n(v) : v === 63 ? (e.consume(v), H) : He(v) ? (u = w, ae(v)) : (e.consume(v), w);
17255
17257
  }
17256
17258
  function H(v) {
17257
- return v === 62 ? xe(v) : N(v);
17259
+ return v === 62 ? xe(v) : w(v);
17258
17260
  }
17259
17261
  function Y(v) {
17260
17262
  return bn(v) ? (e.consume(v), R) : n(v);
@@ -17302,7 +17304,7 @@ function II(e, t, n) {
17302
17304
  return e.enter("htmlTextData"), u(v);
17303
17305
  }
17304
17306
  }
17305
- const l0 = {
17307
+ const lm = {
17306
17308
  name: "labelEnd",
17307
17309
  resolveAll: MI,
17308
17310
  resolveTo: FI,
@@ -17433,7 +17435,7 @@ function zI(e, t, n) {
17433
17435
  }
17434
17436
  const jI = {
17435
17437
  name: "labelStartImage",
17436
- resolveAll: l0.resolveAll,
17438
+ resolveAll: lm.resolveAll,
17437
17439
  tokenize: $I
17438
17440
  };
17439
17441
  function $I(e, t, n) {
@@ -17451,7 +17453,7 @@ function $I(e, t, n) {
17451
17453
  }
17452
17454
  const VI = {
17453
17455
  name: "labelStartLink",
17454
- resolveAll: l0.resolveAll,
17456
+ resolveAll: lm.resolveAll,
17455
17457
  tokenize: qI
17456
17458
  };
17457
17459
  function qI(e, t, n) {
@@ -17779,7 +17781,7 @@ const l3 = {
17779
17781
  60: [VO, OI],
17780
17782
  91: VI,
17781
17783
  92: [yI, v_],
17782
- 93: l0,
17784
+ 93: lm,
17783
17785
  95: ap,
17784
17786
  96: rI
17785
17787
  }, m3 = {
@@ -17814,7 +17816,7 @@ function T3(e, t, n) {
17814
17816
  attempt: q(Y),
17815
17817
  check: q(R),
17816
17818
  consume: P,
17817
- enter: N,
17819
+ enter: w,
17818
17820
  exit: H,
17819
17821
  interrupt: q(R, {
17820
17822
  interrupt: !0
@@ -17834,7 +17836,7 @@ function T3(e, t, n) {
17834
17836
  let p = t.tokenize.call(d, f);
17835
17837
  return t.resolveAll && a.push(t), d;
17836
17838
  function m(se) {
17837
- return u = Qn(u, se), w(), u[u.length - 1] !== null ? [] : (ne(t, 0), d.events = Vc(a, d.events, d), d.events);
17839
+ return u = Qn(u, se), N(), u[u.length - 1] !== null ? [] : (ne(t, 0), d.events = Vc(a, d.events, d), d.events);
17838
17840
  }
17839
17841
  function b(se, fe) {
17840
17842
  return _3(y(se), fe);
@@ -17861,7 +17863,7 @@ function T3(e, t, n) {
17861
17863
  function C(se) {
17862
17864
  s[se.line] = se.column, V();
17863
17865
  }
17864
- function w() {
17866
+ function N() {
17865
17867
  let se;
17866
17868
  for (; r._index < u.length; ) {
17867
17869
  const fe = u[r._index];
@@ -17881,7 +17883,7 @@ function T3(e, t, n) {
17881
17883
  /** @type {string} */
17882
17884
  u[r._index].length && (r._bufferIndex = -1, r._index++)), d.previous = se;
17883
17885
  }
17884
- function N(se, fe) {
17886
+ function w(se, fe) {
17885
17887
  const Ne = fe || {};
17886
17888
  return Ne.type = se, Ne.start = _(), d.events.push(["enter", Ne, d]), c.push(Ne), Ne;
17887
17889
  }
@@ -18091,7 +18093,7 @@ function N3(e, t, n) {
18091
18093
  const s = n.charCodeAt(1), a = s === 120 || s === 88;
18092
18094
  return w_(n.slice(a ? 2 : 1), a ? 16 : 10);
18093
18095
  }
18094
- return u0(n) || e;
18096
+ return um(n) || e;
18095
18097
  }
18096
18098
  const M_ = {}.hasOwnProperty;
18097
18099
  function v3(e, t, n) {
@@ -18156,7 +18158,7 @@ function P3(e) {
18156
18158
  characterReferenceMarkerNumeric: Me,
18157
18159
  characterReferenceValue: ye,
18158
18160
  characterReference: Re,
18159
- codeFenced: f(w),
18161
+ codeFenced: f(N),
18160
18162
  codeFencedFence: C,
18161
18163
  codeFencedFenceInfo: y,
18162
18164
  codeFencedFenceMeta: _,
@@ -18168,7 +18170,7 @@ function P3(e) {
18168
18170
  definition: f(),
18169
18171
  definitionDestinationString: H,
18170
18172
  definitionLabelString: P,
18171
- definitionTitleString: N,
18173
+ definitionTitleString: w,
18172
18174
  emphasis: f(),
18173
18175
  hardBreakEscape: f(fe),
18174
18176
  hardBreakTrailing: f(fe),
@@ -18334,7 +18336,7 @@ function P3(e) {
18334
18336
  we.position.end = Ni(J.end);
18335
18337
  }
18336
18338
  function p() {
18337
- return a0(this.stack.pop());
18339
+ return am(this.stack.pop());
18338
18340
  }
18339
18341
  function m() {
18340
18342
  this.data.expectingFirstListItemValue = !0;
@@ -18356,7 +18358,7 @@ function P3(e) {
18356
18358
  function C() {
18357
18359
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
18358
18360
  }
18359
- function w() {
18361
+ function N() {
18360
18362
  const J = this.resume(), ge = this.stack[this.stack.length - 1];
18361
18363
  ge.value = J.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
18362
18364
  }
@@ -18368,7 +18370,7 @@ function P3(e) {
18368
18370
  const ge = this.resume(), we = this.stack[this.stack.length - 1];
18369
18371
  we.label = ge, we.identifier = dr(this.sliceSerialize(J)).toLowerCase();
18370
18372
  }
18371
- function N() {
18373
+ function w() {
18372
18374
  const J = this.resume(), ge = this.stack[this.stack.length - 1];
18373
18375
  ge.title = J;
18374
18376
  }
@@ -18484,7 +18486,7 @@ function P3(e) {
18484
18486
  function ye(J) {
18485
18487
  const ge = this.sliceSerialize(J), we = this.data.characterReferenceType;
18486
18488
  let je;
18487
- we ? (je = w_(ge, we === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : je = u0(ge);
18489
+ we ? (je = w_(ge, we === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : je = um(ge);
18488
18490
  const Ie = this.stack[this.stack.length - 1];
18489
18491
  Ie.value += je;
18490
18492
  }
@@ -19025,7 +19027,7 @@ const rR = {
19025
19027
  };
19026
19028
  function Fl() {
19027
19029
  }
19028
- const H_ = -1, qc = 0, ja = 1, yc = 2, c0 = 3, f0 = 4, d0 = 5, h0 = 6, z_ = 7, j_ = 8, $_ = typeof self == "object" ? self : globalThis, ey = (e, t) => {
19030
+ const H_ = -1, qc = 0, ja = 1, yc = 2, cm = 3, fm = 4, dm = 5, hm = 6, z_ = 7, j_ = 8, $_ = typeof self == "object" ? self : globalThis, ey = (e, t) => {
19029
19031
  switch (e) {
19030
19032
  case "Function":
19031
19033
  case "SharedWorker":
@@ -19057,19 +19059,19 @@ const H_ = -1, qc = 0, ja = 1, yc = 2, c0 = 3, f0 = 4, d0 = 5, h0 = 6, z_ = 7, j
19057
19059
  c[r(f)] = r(d);
19058
19060
  return c;
19059
19061
  }
19060
- case c0:
19062
+ case cm:
19061
19063
  return n(new Date(u), s);
19062
- case f0: {
19064
+ case fm: {
19063
19065
  const { source: c, flags: f } = u;
19064
19066
  return n(new RegExp(c, f), s);
19065
19067
  }
19066
- case d0: {
19068
+ case dm: {
19067
19069
  const c = n(/* @__PURE__ */ new Map(), s);
19068
19070
  for (const [f, d] of u)
19069
19071
  c.set(r(f), r(d));
19070
19072
  return c;
19071
19073
  }
19072
- case h0: {
19074
+ case hm: {
19073
19075
  const c = n(/* @__PURE__ */ new Set(), s);
19074
19076
  for (const f of u)
19075
19077
  c.add(r(f));
@@ -19107,13 +19109,13 @@ const H_ = -1, qc = 0, ja = 1, yc = 2, c0 = 3, f0 = 4, d0 = 5, h0 = 6, z_ = 7, j
19107
19109
  case "Object":
19108
19110
  return [yc, rs];
19109
19111
  case "Date":
19110
- return [c0, rs];
19112
+ return [cm, rs];
19111
19113
  case "RegExp":
19112
- return [f0, rs];
19114
+ return [fm, rs];
19113
19115
  case "Map":
19114
- return [d0, rs];
19116
+ return [dm, rs];
19115
19117
  case "Set":
19116
- return [h0, rs];
19118
+ return [hm, rs];
19117
19119
  case "DataView":
19118
19120
  return [ja, n];
19119
19121
  }
@@ -19171,19 +19173,19 @@ const H_ = -1, qc = 0, ja = 1, yc = 2, c0 = 3, f0 = 4, d0 = 5, h0 = 6, z_ = 7, j
19171
19173
  (e || !Bl(va(u[b]))) && p.push([a(b), a(u[b])]);
19172
19174
  return m;
19173
19175
  }
19174
- case c0:
19176
+ case cm:
19175
19177
  return s([c, isNaN(u.getTime()) ? rs : u.toISOString()], u);
19176
- case f0: {
19178
+ case fm: {
19177
19179
  const { source: p, flags: m } = u;
19178
19180
  return s([c, { source: p, flags: m }], u);
19179
19181
  }
19180
- case d0: {
19182
+ case dm: {
19181
19183
  const p = [], m = s([c, p], u);
19182
19184
  for (const [b, y] of u)
19183
19185
  (e || !(Bl(va(b)) || Bl(va(y)))) && p.push([a(b), a(y)]);
19184
19186
  return m;
19185
19187
  }
19186
- case h0: {
19188
+ case hm: {
19187
19189
  const p = [], m = s([c, p], u);
19188
19190
  for (const b of u)
19189
19191
  (e || !Bl(va(b))) && p.push(a(b));
@@ -19242,10 +19244,10 @@ function cR(e) {
19242
19244
  children: Array.isArray(P) ? P : [P]
19243
19245
  });
19244
19246
  }
19245
- const w = p[p.length - 1];
19246
- if (w && w.type === "element" && w.tagName === "p") {
19247
- const P = w.children[w.children.length - 1];
19248
- P && P.type === "text" ? P.value += " " : w.children.push({ type: "text", value: " " }), w.children.push(..._);
19247
+ const N = p[p.length - 1];
19248
+ if (N && N.type === "element" && N.tagName === "p") {
19249
+ const P = N.children[N.children.length - 1];
19250
+ P && P.type === "text" ? P.value += " " : N.children.push({ type: "text", value: " " }), N.children.push(..._);
19249
19251
  } else
19250
19252
  p.push(..._);
19251
19253
  const A = {
@@ -19396,7 +19398,7 @@ function q_(e, t, n, r) {
19396
19398
  }
19397
19399
  return b;
19398
19400
  function b() {
19399
- let y = V_, _, C, w;
19401
+ let y = V_, _, C, N;
19400
19402
  if ((!t || a(f, d, p[p.length - 1] || void 0)) && (y = yR(n(f, p)), y[0] === up))
19401
19403
  return y;
19402
19404
  if ("children" in f && f.children) {
@@ -19405,9 +19407,9 @@ function q_(e, t, n, r) {
19405
19407
  f
19406
19408
  );
19407
19409
  if (A.children && y[0] !== ER)
19408
- for (C = (r ? A.children.length : -1) + u, w = p.concat(A); C > -1 && C < A.children.length; ) {
19410
+ for (C = (r ? A.children.length : -1) + u, N = p.concat(A); C > -1 && C < A.children.length; ) {
19409
19411
  const P = A.children[C];
19410
- if (_ = c(P, C, w)(), _[0] === up)
19412
+ if (_ = c(P, C, N)(), _[0] === up)
19411
19413
  return _;
19412
19414
  C = typeof _[1] == "number" ? _[1] : C + u;
19413
19415
  }
@@ -19454,7 +19456,7 @@ function bR(e, t) {
19454
19456
  return y(c, p, m);
19455
19457
  if (c.options.passThrough && c.options.passThrough.includes(b)) {
19456
19458
  if ("children" in p) {
19457
- const C = p, { children: w } = C, A = tn(C, ["children"]), P = Es(A);
19459
+ const C = p, { children: N } = C, A = tn(C, ["children"]), P = Es(A);
19458
19460
  return P.children = c.all(p), P;
19459
19461
  }
19460
19462
  return Es(p);
@@ -19580,9 +19582,9 @@ function wR() {
19580
19582
  return d[p];
19581
19583
  };
19582
19584
  return Th = function f() {
19583
- var d, p, m, b, y, _, C = arguments[0], w = 1, A = arguments.length, P = !1;
19584
- for (typeof C == "boolean" && (P = C, C = arguments[1] || {}, w = 2), (C == null || typeof C != "object" && typeof C != "function") && (C = {}); w < A; ++w)
19585
- if (d = arguments[w], d != null)
19585
+ var d, p, m, b, y, _, C = arguments[0], N = 1, A = arguments.length, P = !1;
19586
+ for (typeof C == "boolean" && (P = C, C = arguments[1] || {}, N = 2), (C == null || typeof C != "object" && typeof C != "function") && (C = {}); N < A; ++N)
19587
+ if (d = arguments[N], d != null)
19586
19588
  for (p in d)
19587
19589
  m = c(C, p), b = c(d, p), C !== b && (P && b && (a(b) || (y = s(b))) ? (y ? (y = !1, _ = m && s(m) ? m : []) : _ = m && a(m) ? m : {}, u(C, { name: p, newValue: f(P, _, b) })) : typeof b != "undefined" && u(C, { name: p, newValue: b }));
19588
19590
  return C;
@@ -20225,7 +20227,7 @@ const zR = (
20225
20227
  return Object.setPrototypeOf(a, r), a;
20226
20228
  })
20227
20229
  ), jR = {}.hasOwnProperty;
20228
- class p0 extends zR {
20230
+ class pm extends zR {
20229
20231
  /**
20230
20232
  * Create a processor.
20231
20233
  */
@@ -20246,7 +20248,7 @@ class p0 extends zR {
20246
20248
  copy() {
20247
20249
  const t = (
20248
20250
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
20249
- new p0()
20251
+ new pm()
20250
20252
  );
20251
20253
  let n = -1;
20252
20254
  for (; ++n < this.attachers.length; ) {
@@ -20706,7 +20708,7 @@ class p0 extends zR {
20706
20708
  }
20707
20709
  }
20708
20710
  }
20709
- const $R = new p0().freeze();
20711
+ const $R = new pm().freeze();
20710
20712
  function Ah(e, t) {
20711
20713
  if (typeof t != "function")
20712
20714
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -21040,7 +21042,7 @@ const ss = {
21040
21042
  }, X_ = {}.hasOwnProperty, lL = Object.prototype;
21041
21043
  function cL(e, t) {
21042
21044
  const n = t || {};
21043
- return m0(
21045
+ return mm(
21044
21046
  {
21045
21047
  file: n.file || void 0,
21046
21048
  location: !1,
@@ -21050,7 +21052,7 @@ function cL(e, t) {
21050
21052
  e
21051
21053
  );
21052
21054
  }
21053
- function m0(e, t) {
21055
+ function mm(e, t) {
21054
21056
  let n;
21055
21057
  switch (t.nodeName) {
21056
21058
  case "#comment": {
@@ -21105,7 +21107,7 @@ function K_(e, t) {
21105
21107
  for (; ++n < t.length; ) {
21106
21108
  const s = (
21107
21109
  /** @type {RootContent} */
21108
- m0(e, t[n])
21110
+ mm(e, t[n])
21109
21111
  );
21110
21112
  r.push(s);
21111
21113
  }
@@ -21127,7 +21129,7 @@ function fL(e, t) {
21127
21129
  t
21128
21130
  ), f = c.sourceCodeLocation, d = f && f.startTag && io(f.startTag), p = f && f.endTag && io(f.endTag), m = (
21129
21131
  /** @type {Root} */
21130
- m0(e, c.content)
21132
+ mm(e, c.content)
21131
21133
  );
21132
21134
  d && p && e.file && (m.position = { start: d.end, end: p.start }), u.content = m;
21133
21135
  }
@@ -21200,11 +21202,11 @@ function gL(e, t) {
21200
21202
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
21201
21203
  childNodes: []
21202
21204
  };
21203
- return n.childNodes = g0(e.children, n, t), Po(e, n), n;
21205
+ return n.childNodes = gm(e.children, n, t), Po(e, n), n;
21204
21206
  }
21205
21207
  function EL(e, t) {
21206
21208
  const n = { nodeName: "#document-fragment", childNodes: [] };
21207
- return n.childNodes = g0(e.children, n, t), Po(e, n), n;
21209
+ return n.childNodes = gm(e.children, n, t), Po(e, n), n;
21208
21210
  }
21209
21211
  function yL(e) {
21210
21212
  const t = {
@@ -21258,7 +21260,7 @@ function _L(e, t) {
21258
21260
  childNodes: [],
21259
21261
  parentNode: null
21260
21262
  };
21261
- return c.childNodes = g0(e.children, c, r), Po(e, c), e.tagName === "template" && e.content && (c.content = EL(e.content, r)), c;
21263
+ return c.childNodes = gm(e.children, c, r), Po(e, c), e.tagName === "template" && e.content && (c.content = EL(e.content, r)), c;
21262
21264
  }
21263
21265
  function SL(e, t, n) {
21264
21266
  const r = zc(e, t);
@@ -21275,7 +21277,7 @@ function SL(e, t, n) {
21275
21277
  }
21276
21278
  return s;
21277
21279
  }
21278
- function g0(e, t, n) {
21280
+ function gm(e, t, n) {
21279
21281
  let r = -1;
21280
21282
  const s = [];
21281
21283
  if (e)
@@ -24662,7 +24664,7 @@ function lS(e) {
24662
24664
  n != null && (e.attrs[t].name = n);
24663
24665
  }
24664
24666
  }
24665
- function E0(e) {
24667
+ function Em(e) {
24666
24668
  for (let t = 0; t < e.attrs.length; t++) {
24667
24669
  const n = u6.get(e.attrs[t].name);
24668
24670
  n && (e.attrs[t].prefix = n.prefix, e.attrs[t].name = n.name, e.attrs[t].namespace = n.namespace);
@@ -25345,7 +25347,7 @@ class wy {
25345
25347
  break;
25346
25348
  }
25347
25349
  case M.IN_COLUMN_GROUP: {
25348
- b0(this, t);
25350
+ bm(this, t);
25349
25351
  break;
25350
25352
  }
25351
25353
  case M.IN_TABLE_BODY: {
@@ -25547,7 +25549,7 @@ class wy {
25547
25549
  case M.AFTER_FRAMESET:
25548
25550
  case M.AFTER_AFTER_BODY:
25549
25551
  case M.AFTER_AFTER_FRAMESET: {
25550
- T0(this, t);
25552
+ Tm(this, t);
25551
25553
  break;
25552
25554
  }
25553
25555
  }
@@ -25639,7 +25641,7 @@ function C6(e, t, n) {
25639
25641
  const r = e.treeAdapter.getNamespaceURI(n.element), { token: s } = n, a = e.treeAdapter.createElement(s.tagName, r, s.attrs);
25640
25642
  e._adoptNodes(t, a), e.treeAdapter.appendChild(t, a), e.activeFormattingElements.insertElementAfterBookmark(a, s), e.activeFormattingElements.removeEntry(n), e.openElements.remove(n.element), e.openElements.insertAfter(t, a, s.tagID);
25641
25643
  }
25642
- function y0(e, t) {
25644
+ function ym(e, t) {
25643
25645
  for (let n = 0; n < E6; n++) {
25644
25646
  const r = b6(e, t);
25645
25647
  if (!r)
@@ -25661,7 +25663,7 @@ function w6(e, t) {
25661
25663
  function N6(e, t) {
25662
25664
  e._appendCommentNode(t, e.document);
25663
25665
  }
25664
- function T0(e, t) {
25666
+ function Tm(e, t) {
25665
25667
  if (e.stopped = !0, t.location) {
25666
25668
  const n = e.fragmentContext ? 0 : 2;
25667
25669
  for (let r = e.openElements.stackTop; r >= n; r--)
@@ -25959,13 +25961,13 @@ function G6(e, t) {
25959
25961
  }
25960
25962
  function W6(e, t) {
25961
25963
  const n = e.activeFormattingElements.getElementEntryInScopeWithTagName(X.A);
25962
- n && (y0(e, t), e.openElements.remove(n.element), e.activeFormattingElements.removeEntry(n)), e._reconstructActiveFormattingElements(), e._insertElement(t, le.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
25964
+ n && (ym(e, t), e.openElements.remove(n.element), e.activeFormattingElements.removeEntry(n)), e._reconstructActiveFormattingElements(), e._insertElement(t, le.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
25963
25965
  }
25964
25966
  function X6(e, t) {
25965
25967
  e._reconstructActiveFormattingElements(), e._insertElement(t, le.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
25966
25968
  }
25967
25969
  function K6(e, t) {
25968
- e._reconstructActiveFormattingElements(), e.openElements.hasInScope(g.NOBR) && (y0(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, le.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
25970
+ e._reconstructActiveFormattingElements(), e.openElements.hasInScope(g.NOBR) && (ym(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, le.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
25969
25971
  }
25970
25972
  function Q6(e, t) {
25971
25973
  e._reconstructActiveFormattingElements(), e._insertElement(t, le.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
@@ -26017,10 +26019,10 @@ function l4(e, t) {
26017
26019
  e.openElements.hasInScope(g.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(g.RTC), e._insertElement(t, le.HTML);
26018
26020
  }
26019
26021
  function c4(e, t) {
26020
- e._reconstructActiveFormattingElements(), uS(t), E0(t), t.selfClosing ? e._appendElement(t, le.MATHML) : e._insertElement(t, le.MATHML), t.ackSelfClosing = !0;
26022
+ e._reconstructActiveFormattingElements(), uS(t), Em(t), t.selfClosing ? e._appendElement(t, le.MATHML) : e._insertElement(t, le.MATHML), t.ackSelfClosing = !0;
26021
26023
  }
26022
26024
  function f4(e, t) {
26023
- e._reconstructActiveFormattingElements(), lS(t), E0(t), t.selfClosing ? e._appendElement(t, le.SVG) : e._insertElement(t, le.SVG), t.ackSelfClosing = !0;
26025
+ e._reconstructActiveFormattingElements(), lS(t), Em(t), t.selfClosing ? e._appendElement(t, le.SVG) : e._insertElement(t, le.SVG), t.ackSelfClosing = !0;
26024
26026
  }
26025
26027
  function vy(e, t) {
26026
26028
  e._reconstructActiveFormattingElements(), e._insertElement(t, le.HTML);
@@ -26300,7 +26302,7 @@ function Kc(e, t) {
26300
26302
  case g.SMALL:
26301
26303
  case g.STRIKE:
26302
26304
  case g.STRONG: {
26303
- y0(e, t);
26305
+ ym(e, t);
26304
26306
  break;
26305
26307
  }
26306
26308
  case g.P: {
@@ -26386,7 +26388,7 @@ function Kc(e, t) {
26386
26388
  }
26387
26389
  }
26388
26390
  function gS(e, t) {
26389
- e.tmplInsertionModeStack.length > 0 ? xS(e, t) : T0(e, t);
26391
+ e.tmplInsertionModeStack.length > 0 ? xS(e, t) : Tm(e, t);
26390
26392
  }
26391
26393
  function S4(e, t) {
26392
26394
  var n;
@@ -26417,7 +26419,7 @@ function C4(e, t) {
26417
26419
  e.openElements.clearBackToTableContext(), e._insertElement(t, le.HTML), e.insertionMode = M.IN_COLUMN_GROUP;
26418
26420
  }
26419
26421
  function w4(e, t) {
26420
- e.openElements.clearBackToTableContext(), e._insertFakeElement(X.COLGROUP, g.COLGROUP), e.insertionMode = M.IN_COLUMN_GROUP, b0(e, t);
26422
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(X.COLGROUP, g.COLGROUP), e.insertionMode = M.IN_COLUMN_GROUP, bm(e, t);
26421
26423
  }
26422
26424
  function N4(e, t) {
26423
26425
  e.openElements.clearBackToTableContext(), e._insertElement(t, le.HTML), e.insertionMode = M.IN_TABLE_BODY;
@@ -26556,7 +26558,7 @@ function R4(e, t) {
26556
26558
  Kc(e, t);
26557
26559
  }
26558
26560
  }
26559
- function b0(e, t) {
26561
+ function bm(e, t) {
26560
26562
  switch (t.tagID) {
26561
26563
  case g.HTML: {
26562
26564
  hn(e, t);
@@ -26808,7 +26810,7 @@ function U4(e, t) {
26808
26810
  break;
26809
26811
  }
26810
26812
  case g.COL: {
26811
- e.tmplInsertionModeStack[0] = M.IN_COLUMN_GROUP, e.insertionMode = M.IN_COLUMN_GROUP, b0(e, t);
26813
+ e.tmplInsertionModeStack[0] = M.IN_COLUMN_GROUP, e.insertionMode = M.IN_COLUMN_GROUP, bm(e, t);
26812
26814
  break;
26813
26815
  }
26814
26816
  case g.TR: {
@@ -26828,7 +26830,7 @@ function H4(e, t) {
26828
26830
  t.tagID === g.TEMPLATE && _s(e, t);
26829
26831
  }
26830
26832
  function xS(e, t) {
26831
- e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(g.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : T0(e, t);
26833
+ e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(g.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Tm(e, t);
26832
26834
  }
26833
26835
  function z4(e, t) {
26834
26836
  t.tagID === g.HTML ? hn(e, t) : _c(e, t);
@@ -26918,7 +26920,7 @@ function K4(e, t) {
26918
26920
  CS(e), e._startTagOutsideForeignContent(t);
26919
26921
  else {
26920
26922
  const n = e._getAdjustedCurrentElement(), r = e.treeAdapter.getNamespaceURI(n);
26921
- r === le.MATHML ? uS(t) : r === le.SVG && (d6(t), lS(t)), E0(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
26923
+ r === le.MATHML ? uS(t) : r === le.SVG && (d6(t), lS(t)), Em(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
26922
26924
  }
26923
26925
  }
26924
26926
  function Q4(e, t) {
@@ -27590,16 +27592,16 @@ const LS = ({
27590
27592
  children: t
27591
27593
  }
27592
27594
  ) : /* @__PURE__ */ x.jsx("p", { className: W(n, `${z}-disclaimer-text`), children: e }) });
27593
- }, _0 = ({
27595
+ }, _m = ({
27594
27596
  className: e,
27595
27597
  isLoading: t,
27596
27598
  componentType: n,
27597
27599
  onSubmit: r
27598
27600
  }) => {
27599
- const { connected: s, imageFile: a } = tr(), { setImageFile: u } = Ao(), { logger: c, globalClassName: f, searchConfig: d, features: p } = Je(), m = B.useRef(null), b = B.useRef(null), y = !!(p != null && p.enableImageUpload), _ = (a == null ? void 0 : a.name) || "", C = !!s || !1, w = C ? "connected" : "disconnected", A = t || !C, P = () => a ? new Promise((R, q) => {
27601
+ const { connected: s, imageFile: a } = tr(), { setImageFile: u } = Ao(), { logger: c, globalClassName: f, searchConfig: d, features: p } = Je(), m = B.useRef(null), b = B.useRef(null), y = !!(p != null && p.enableImageUpload), _ = (a == null ? void 0 : a.name) || "", C = !!s || !1, N = C ? "connected" : "disconnected", A = t || !C, P = () => a ? new Promise((R, q) => {
27600
27602
  const ne = new FileReader();
27601
27603
  ne.readAsDataURL(a), ne.onload = () => R(ne.result), ne.onerror = (me) => q(me);
27602
- }) : Promise.resolve(""), N = (R) => Ye(null, null, function* () {
27604
+ }) : Promise.resolve(""), w = (R) => Ye(null, null, function* () {
27603
27605
  var me;
27604
27606
  if (A) return;
27605
27607
  const q = 10 * 1024 * 1024, ne = (me = R.target.files) == null ? void 0 : me[0];
@@ -27697,7 +27699,7 @@ const LS = ({
27697
27699
  "span",
27698
27700
  {
27699
27701
  role: "status",
27700
- className: W(`${z}-connection-status-icon`, w)
27702
+ className: W(`${z}-connection-status-icon`, N)
27701
27703
  }
27702
27704
  ),
27703
27705
  y && /* @__PURE__ */ x.jsxs(
@@ -27744,7 +27746,7 @@ const LS = ({
27744
27746
  accept: ".png,.jpg,.jpeg,.avif,.svg,.gif,.tiff,.tif,.webp",
27745
27747
  name: `${z}-file-input`,
27746
27748
  disabled: A,
27747
- onInput: N
27749
+ onInput: w
27748
27750
  }
27749
27751
  )
27750
27752
  ]
@@ -27792,9 +27794,9 @@ function xD(e) {
27792
27794
  }
27793
27795
  const DS = B.createContext({
27794
27796
  isOpen: !1
27795
- }), S0 = B.createContext(null), MS = B.createContext(null), Io = () => {
27797
+ }), Sm = B.createContext(null), MS = B.createContext(null), Io = () => {
27796
27798
  var n, r;
27797
- const e = B.useContext(S0), t = B.useContext(MS);
27799
+ const e = B.useContext(Sm), t = B.useContext(MS);
27798
27800
  return (r = (n = e == null ? void 0 : e.closeMenu) != null ? n : t == null ? void 0 : t.closeMenu) != null ? r : (() => {
27799
27801
  });
27800
27802
  }, FS = ({
@@ -27854,12 +27856,12 @@ function zD(e, t = 0) {
27854
27856
  });
27855
27857
  }
27856
27858
  var { min: jD, max: $D } = Math, VD = (e) => Number.isNaN(e), qD = (e) => VD(e) ? 0 : e, Ry = (e, t, n) => jD($D(qD(e), t), n);
27857
- function x0(e) {
27859
+ function xm(e) {
27858
27860
  if (!DD(e) || e === void 0) return e;
27859
27861
  const t = Reflect.ownKeys(e).filter((r) => typeof r == "string"), n = {};
27860
27862
  for (const r of t) {
27861
27863
  const s = e[r];
27862
- s !== void 0 && (n[r] = x0(s));
27864
+ s !== void 0 && (n[r] = xm(s));
27863
27865
  }
27864
27866
  return n;
27865
27867
  }
@@ -27935,7 +27937,7 @@ function a5(e) {
27935
27937
  const t = e.assignedSlot || e.parentNode || ys(e) && e.host || o5(e);
27936
27938
  return ys(t) ? t.host : t;
27937
27939
  }
27938
- function A0(e) {
27940
+ function Am(e) {
27939
27941
  var n;
27940
27942
  let t;
27941
27943
  try {
@@ -27948,12 +27950,12 @@ var kh = /* @__PURE__ */ new WeakMap();
27948
27950
  function Lo(e) {
27949
27951
  return kh.has(e) || kh.set(e, Ro(e).getComputedStyle(e)), kh.get(e);
27950
27952
  }
27951
- var C0 = /* @__PURE__ */ new Set(["menu", "listbox", "dialog", "grid", "tree", "region"]), u5 = (e) => C0.has(e), VS = (e) => {
27953
+ var Cm = /* @__PURE__ */ new Set(["menu", "listbox", "dialog", "grid", "tree", "region"]), u5 = (e) => Cm.has(e), VS = (e) => {
27952
27954
  var t;
27953
27955
  return ((t = e.getAttribute("aria-controls")) == null ? void 0 : t.split(" ")) || [];
27954
27956
  };
27955
27957
  function qS(e, t) {
27956
- const n = /* @__PURE__ */ new Set(), r = A0(e), s = (a) => {
27958
+ const n = /* @__PURE__ */ new Set(), r = Am(e), s = (a) => {
27957
27959
  const u = a.querySelectorAll("[aria-controls]");
27958
27960
  for (const c of u) {
27959
27961
  if (c.getAttribute("aria-expanded") !== "true") continue;
@@ -27974,7 +27976,7 @@ function qS(e, t) {
27974
27976
  return s(e);
27975
27977
  }
27976
27978
  function YS(e, t) {
27977
- const n = A0(e), r = /* @__PURE__ */ new Set(), s = (a) => {
27979
+ const n = Am(e), r = /* @__PURE__ */ new Set(), s = (a) => {
27978
27980
  const u = a.querySelectorAll("[aria-controls]");
27979
27981
  for (const c of u) {
27980
27982
  if (c.getAttribute("aria-expanded") !== "true") continue;
@@ -27985,7 +27987,7 @@ function YS(e, t) {
27985
27987
  const p = n.getElementById(d);
27986
27988
  if (p) {
27987
27989
  const m = p.getAttribute("role"), b = p.getAttribute("aria-modal") === "true";
27988
- m && C0.has(m) && !b && (t(p), s(p));
27990
+ m && Cm.has(m) && !b && (t(p), s(p));
27989
27991
  }
27990
27992
  }
27991
27993
  }
@@ -28000,7 +28002,7 @@ function l5(e) {
28000
28002
  }
28001
28003
  function c5(e) {
28002
28004
  const t = e.getAttribute("role");
28003
- return !!(t && C0.has(t));
28005
+ return !!(t && Cm.has(t));
28004
28006
  }
28005
28007
  function f5(e) {
28006
28008
  return e.hasAttribute("aria-controls") && e.getAttribute("aria-expanded") === "true";
@@ -28011,16 +28013,16 @@ function d5(e) {
28011
28013
  }
28012
28014
  function h5(e) {
28013
28015
  if (!e.id) return !1;
28014
- const t = A0(e), n = CSS.escape(e.id), r = `[aria-controls~="${n}"][aria-expanded="true"], [aria-controls="${n}"][aria-expanded="true"]`;
28016
+ const t = Am(e), n = CSS.escape(e.id), r = `[aria-controls~="${n}"][aria-expanded="true"], [aria-controls="${n}"][aria-expanded="true"]`;
28015
28017
  return !!(t.querySelector(r) && c5(e));
28016
28018
  }
28017
- var w0 = () => typeof document != "undefined";
28019
+ var wm = () => typeof document != "undefined";
28018
28020
  function p5() {
28019
28021
  var t;
28020
28022
  const e = navigator.userAgentData;
28021
28023
  return (t = e == null ? void 0 : e.platform) != null ? t : navigator.platform;
28022
28024
  }
28023
- var N0 = (e) => w0() && e.test(p5()), m5 = (e) => w0() && e.test(navigator.vendor), Ly = () => w0() && !!navigator.maxTouchPoints, g5 = () => N0(/^iPhone/i), E5 = () => N0(/^iPad/i) || v0() && navigator.maxTouchPoints > 1, tf = () => g5() || E5(), y5 = () => v0() || tf(), v0 = () => N0(/^Mac/i), T5 = () => y5() && m5(/apple/i);
28025
+ var Nm = (e) => wm() && e.test(p5()), m5 = (e) => wm() && e.test(navigator.vendor), Ly = () => wm() && !!navigator.maxTouchPoints, g5 = () => Nm(/^iPhone/i), E5 = () => Nm(/^iPad/i) || vm() && navigator.maxTouchPoints > 1, tf = () => g5() || E5(), y5 = () => vm() || tf(), vm = () => Nm(/^Mac/i), T5 = () => y5() && m5(/apple/i);
28024
28026
  function b5(e) {
28025
28027
  var t, n, r, s;
28026
28028
  return (s = (t = e.composedPath) == null ? void 0 : t.call(e)) != null ? s : (r = (n = e.nativeEvent) == null ? void 0 : n.composedPath) == null ? void 0 : r.call(n);
@@ -28030,7 +28032,7 @@ function fr(e) {
28030
28032
  const t = b5(e);
28031
28033
  return (n = t == null ? void 0 : t[0]) != null ? n : e.target;
28032
28034
  }
28033
- var GS = (e) => e.button === 0, _5 = (e) => e.button === 2 || v0() && e.ctrlKey && e.button === 0, S5 = (e) => "touches" in e && e.touches.length > 0, x5 = {
28035
+ var GS = (e) => e.button === 0, _5 = (e) => e.button === 2 || vm() && e.ctrlKey && e.button === 0, S5 = (e) => "touches" in e && e.touches.length > 0, x5 = {
28034
28036
  Up: "ArrowUp",
28035
28037
  Down: "ArrowDown",
28036
28038
  Esc: "Escape",
@@ -28417,9 +28419,9 @@ function xc(e) {
28417
28419
  f.current = c.current;
28418
28420
  }, [s, e().value]);
28419
28421
  const d = (y) => {
28420
- var w, A;
28422
+ var N, A;
28421
28423
  const _ = f.current, C = so(y) ? y(_) : y;
28422
- e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: C, prev: _ }), u || a(C), n(C, _) || (A = (w = e()).onChange) == null || A.call(w, C, _);
28424
+ e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: C, prev: _ }), u || a(C), n(C, _) || (A = (N = e()).onChange) == null || A.call(N, C, _);
28423
28425
  };
28424
28426
  function p() {
28425
28427
  return u ? e().value : s;
@@ -28432,12 +28434,12 @@ function xc(e) {
28432
28434
  (e().sync ? Co.flushSync : UD)(() => d(y));
28433
28435
  },
28434
28436
  invoke(y, _) {
28435
- var C, w;
28436
- (w = (C = e()).onChange) == null || w.call(C, y, _);
28437
+ var C, N;
28438
+ (N = (C = e()).onChange) == null || N.call(C, y, _);
28437
28439
  },
28438
28440
  hash(y) {
28439
- var _, C, w;
28440
- return (w = (C = (_ = e()).hash) == null ? void 0 : C.call(_, y)) != null ? w : String(y);
28441
+ var _, C, N;
28442
+ return (N = (C = (_ = e()).hash) == null ? void 0 : C.call(_, y)) != null ? N : String(y);
28441
28443
  }
28442
28444
  };
28443
28445
  }
@@ -28480,7 +28482,7 @@ function rf(e, t = {}) {
28480
28482
  return W5({ id: ae, ids: Q, getRootNode: ie });
28481
28483
  }, [t]), r = (...ae) => {
28482
28484
  e.debug && console.log(...ae);
28483
- }, s = (fe = (se = e.props) == null ? void 0 : se.call(e, { props: x0(t), scope: n })) != null ? fe : t, a = J5(s), u = (Ne = e.context) == null ? void 0 : Ne.call(e, {
28485
+ }, s = (fe = (se = e.props) == null ? void 0 : se.call(e, { props: xm(t), scope: n })) != null ? fe : t, a = J5(s), u = (Ne = e.context) == null ? void 0 : Ne.call(e, {
28484
28486
  prop: a,
28485
28487
  bindable: xc,
28486
28488
  scope: n,
@@ -28530,7 +28532,7 @@ function rf(e, t = {}) {
28530
28532
  var Q, ie;
28531
28533
  return !!((ie = (Q = e.states[R.ref.current]) == null ? void 0 : Q.tags) != null && ie.includes(ae));
28532
28534
  }
28533
- }), C = K5((oe = (re = e.refs) == null ? void 0 : re.call(e, { prop: a, context: f })) != null ? oe : {}), w = () => ({
28535
+ }), C = K5((oe = (re = e.refs) == null ? void 0 : re.call(e, { prop: a, context: f })) != null ? oe : {}), N = () => ({
28534
28536
  state: _(),
28535
28537
  context: f,
28536
28538
  event: y(),
@@ -28545,7 +28547,7 @@ function rf(e, t = {}) {
28545
28547
  scope: n,
28546
28548
  choose: H
28547
28549
  }), A = (ae) => {
28548
- const Q = so(ae) ? ae(w()) : ae;
28550
+ const Q = so(ae) ? ae(N()) : ae;
28549
28551
  if (!Q) return;
28550
28552
  const ie = Q.map((v) => {
28551
28553
  var ee, I;
@@ -28553,12 +28555,12 @@ function rf(e, t = {}) {
28553
28555
  return D || yp(`[zag-js] No implementation found for action "${JSON.stringify(v)}"`), D;
28554
28556
  });
28555
28557
  for (const v of ie)
28556
- v == null || v(w());
28558
+ v == null || v(N());
28557
28559
  }, P = (ae) => {
28558
28560
  var Q, ie;
28559
- return so(ae) ? ae(w()) : (ie = (Q = e.implementations) == null ? void 0 : Q.guards) == null ? void 0 : ie[ae](w());
28560
- }, N = (ae) => {
28561
- const Q = so(ae) ? ae(w()) : ae;
28561
+ return so(ae) ? ae(N()) : (ie = (Q = e.implementations) == null ? void 0 : Q.guards) == null ? void 0 : ie[ae](N());
28562
+ }, w = (ae) => {
28563
+ const Q = so(ae) ? ae(N()) : ae;
28562
28564
  if (!Q) return;
28563
28565
  const ie = Q.map((D) => {
28564
28566
  var I, _e;
@@ -28566,13 +28568,13 @@ function rf(e, t = {}) {
28566
28568
  return ee || yp(`[zag-js] No implementation found for effect "${JSON.stringify(D)}"`), ee;
28567
28569
  }), v = [];
28568
28570
  for (const D of ie) {
28569
- const ee = D == null ? void 0 : D(w());
28571
+ const ee = D == null ? void 0 : D(N());
28570
28572
  ee && v.push(ee);
28571
28573
  }
28572
28574
  return () => v.forEach((D) => D == null ? void 0 : D());
28573
28575
  }, H = (ae) => AD(ae).find((Q) => {
28574
28576
  let ie = !Q.guard;
28575
- return oc(Q.guard) ? ie = !!P(Q.guard) : so(Q.guard) && (ie = Q.guard(w())), ie;
28577
+ return oc(Q.guard) ? ie = !!P(Q.guard) : so(Q.guard) && (ie = Q.guard(N())), ie;
28576
28578
  }), Y = (ae) => {
28577
28579
  YD(e.computed, () => "[zag-js] No computed object found on machine");
28578
28580
  const Q = e.computed[ae];
@@ -28593,10 +28595,10 @@ function rf(e, t = {}) {
28593
28595
  _e == null || _e(), d.current.delete(Q);
28594
28596
  }
28595
28597
  Q && A((v = e.states[Q]) == null ? void 0 : v.exit), A((D = p.current) == null ? void 0 : D.actions);
28596
- const ie = N((ee = e.states[ae]) == null ? void 0 : ee.effects);
28598
+ const ie = w((ee = e.states[ae]) == null ? void 0 : ee.effects);
28597
28599
  if (ie && d.current.set(ae, ie), Q === Oh) {
28598
28600
  A(e.entry);
28599
- const _e = N(e.effects);
28601
+ const _e = w(e.effects);
28600
28602
  _e && d.current.set(Oh, _e);
28601
28603
  }
28602
28604
  A((I = e.states[ae]) == null ? void 0 : I.entry);
@@ -28638,7 +28640,7 @@ function rf(e, t = {}) {
28638
28640
  ee ? Co.flushSync(() => R.set(D)) : v.reenter && !ee ? R.invoke(Q, Q) : A((Re = v.actions) != null ? Re : []);
28639
28641
  });
28640
28642
  };
28641
- return (xe = e.watch) == null || xe.call(e, w()), {
28643
+ return (xe = e.watch) == null || xe.call(e, N()), {
28642
28644
  state: _(),
28643
28645
  send: V,
28644
28646
  context: f,
@@ -28665,7 +28667,7 @@ function Uy(e) {
28665
28667
  Co.flushSync(() => e());
28666
28668
  });
28667
28669
  }
28668
- var P0 = X5((e) => e);
28670
+ var Pm = X5((e) => e);
28669
28671
  function sf(...e) {
28670
28672
  return (t) => {
28671
28673
  const n = [];
@@ -28737,7 +28739,7 @@ function Ss(e = {}) {
28737
28739
  }
28738
28740
  return [c.Provider, f, c];
28739
28741
  }
28740
- const [nM, k0] = Ss({
28742
+ const [nM, km] = Ss({
28741
28743
  name: "PopoverContext",
28742
28744
  hookName: "usePopoverContext",
28743
28745
  providerName: "<PopoverProvider />"
@@ -28746,12 +28748,12 @@ const [nM, k0] = Ss({
28746
28748
  hookName: "usePresenceContext",
28747
28749
  providerName: "<PresenceProvider />"
28748
28750
  }), r2 = B.forwardRef((e, t) => {
28749
- const n = k0(), r = bu(), s = Ut(n.getContentProps(), r.getPresenceProps(), e);
28751
+ const n = km(), r = bu(), s = Ut(n.getContentProps(), r.getPresenceProps(), e);
28750
28752
  return r.unmounted ? null : /* @__PURE__ */ x.jsx(pn.div, he(F({}, s), { ref: sf(r.ref, t) }));
28751
28753
  });
28752
28754
  r2.displayName = "PopoverContent";
28753
28755
  const i2 = B.forwardRef((e, t) => {
28754
- const n = k0(), r = bu(), s = Ut(n.getPositionerProps(), e);
28756
+ const n = km(), r = bu(), s = Ut(n.getPositionerProps(), e);
28755
28757
  return r.unmounted ? null : /* @__PURE__ */ x.jsx(pn.div, he(F({}, s), { ref: t }));
28756
28758
  });
28757
28759
  i2.displayName = "PopoverPositioner";
@@ -28937,7 +28939,7 @@ function oM(e) {
28937
28939
  const t = B.useRef(e);
28938
28940
  return t.current = e, t;
28939
28941
  }
28940
- const O0 = (e = {}) => {
28942
+ const Om = (e = {}) => {
28941
28943
  const b = e, { lazyMount: t, unmountOnExit: n, present: r, skipAnimationOnMount: s = !1 } = b, a = tn(b, ["lazyMount", "unmountOnExit", "present", "skipAnimationOnMount"]), u = B.useRef(!1), c = he(F({}, a), {
28942
28944
  present: r,
28943
28945
  onExitComplete: sM(e.onExitComplete)
@@ -28998,22 +29000,22 @@ function Di(e) {
28998
29000
  function Fo(e) {
28999
29001
  return e.split("-")[1];
29000
29002
  }
29001
- function I0(e) {
29003
+ function Im(e) {
29002
29004
  return e === "x" ? "y" : "x";
29003
29005
  }
29004
- function R0(e) {
29006
+ function Rm(e) {
29005
29007
  return e === "y" ? "height" : "width";
29006
29008
  }
29007
29009
  function kr(e) {
29008
29010
  const t = e[0];
29009
29011
  return t === "t" || t === "b" ? "y" : "x";
29010
29012
  }
29011
- function L0(e) {
29012
- return I0(kr(e));
29013
+ function Lm(e) {
29014
+ return Im(kr(e));
29013
29015
  }
29014
29016
  function cM(e, t, n) {
29015
29017
  n === void 0 && (n = !1);
29016
- const r = Fo(e), s = L0(e), a = R0(s);
29018
+ const r = Fo(e), s = Lm(e), a = Rm(s);
29017
29019
  let u = s === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
29018
29020
  return t.reference[a] > t.floating[a] && (u = Cc(u)), [u, Cc(u)];
29019
29021
  }
@@ -29086,7 +29088,7 @@ function jy(e, t, n) {
29086
29088
  reference: r,
29087
29089
  floating: s
29088
29090
  } = e;
29089
- const a = kr(t), u = L0(t), c = R0(u), f = Di(t), d = a === "y", p = r.x + r.width / 2 - s.width / 2, m = r.y + r.height / 2 - s.height / 2, b = r[c] / 2 - s[c] / 2;
29091
+ const a = kr(t), u = Lm(t), c = Rm(u), f = Di(t), d = a === "y", p = r.x + r.width / 2 - s.width / 2, m = r.y + r.height / 2 - s.height / 2, b = r[c] / 2 - s[c] / 2;
29090
29092
  let y;
29091
29093
  switch (f) {
29092
29094
  case "top":
@@ -29139,8 +29141,8 @@ function EM(e, t) {
29139
29141
  elementContext: m = "floating",
29140
29142
  altBoundary: b = !1,
29141
29143
  padding: y = 0
29142
- } = ri(t, e), _ = a2(y), w = c[b ? m === "floating" ? "reference" : "floating" : m], A = wc(yield a.getClippingRect({
29143
- element: (n = yield a.isElement == null ? void 0 : a.isElement(w)) == null || n ? w : w.contextElement || (yield a.getDocumentElement == null ? void 0 : a.getDocumentElement(c.floating)),
29144
+ } = ri(t, e), _ = a2(y), N = c[b ? m === "floating" ? "reference" : "floating" : m], A = wc(yield a.getClippingRect({
29145
+ element: (n = yield a.isElement == null ? void 0 : a.isElement(N)) == null || n ? N : N.contextElement || (yield a.getDocumentElement == null ? void 0 : a.getDocumentElement(c.floating)),
29144
29146
  boundary: d,
29145
29147
  rootBoundary: p,
29146
29148
  strategy: f
@@ -29149,13 +29151,13 @@ function EM(e, t) {
29149
29151
  y: s,
29150
29152
  width: u.floating.width,
29151
29153
  height: u.floating.height
29152
- } : u.reference, N = yield a.getOffsetParent == null ? void 0 : a.getOffsetParent(c.floating), H = (yield a.isElement == null ? void 0 : a.isElement(N)) && (yield a.getScale == null ? void 0 : a.getScale(N)) || {
29154
+ } : u.reference, w = yield a.getOffsetParent == null ? void 0 : a.getOffsetParent(c.floating), H = (yield a.isElement == null ? void 0 : a.isElement(w)) && (yield a.getScale == null ? void 0 : a.getScale(w)) || {
29153
29155
  x: 1,
29154
29156
  y: 1
29155
29157
  }, Y = wc(a.convertOffsetParentRelativeRectToViewportRelativeRect ? yield a.convertOffsetParentRelativeRectToViewportRelativeRect({
29156
29158
  elements: c,
29157
29159
  rect: P,
29158
- offsetParent: N,
29160
+ offsetParent: w,
29159
29161
  strategy: f
29160
29162
  }) : P);
29161
29163
  return {
@@ -29185,14 +29187,14 @@ const yM = 50, TM = (e, t, n) => Ye(null, null, function* () {
29185
29187
  } = jy(d, r, f), b = r, y = 0;
29186
29188
  const _ = {};
29187
29189
  for (let C = 0; C < a.length; C++) {
29188
- const w = a[C];
29189
- if (!w)
29190
+ const N = a[C];
29191
+ if (!N)
29190
29192
  continue;
29191
29193
  const {
29192
29194
  name: A,
29193
29195
  fn: P
29194
- } = w, {
29195
- x: N,
29196
+ } = N, {
29197
+ x: w,
29196
29198
  y: H,
29197
29199
  data: Y,
29198
29200
  reset: R
@@ -29210,7 +29212,7 @@ const yM = 50, TM = (e, t, n) => Ye(null, null, function* () {
29210
29212
  floating: t
29211
29213
  }
29212
29214
  });
29213
- p = N != null ? N : p, m = H != null ? H : m, _[A] = F(F({}, _[A]), Y), R && y < yM && (y++, typeof R == "object" && (R.placement && (b = R.placement), R.rects && (d = R.rects === !0 ? yield u.getElementRects({
29215
+ p = w != null ? w : p, m = H != null ? H : m, _[A] = F(F({}, _[A]), Y), R && y < yM && (y++, typeof R == "object" && (R.placement && (b = R.placement), R.rects && (d = R.rects === !0 ? yield u.getElementRects({
29214
29216
  reference: e,
29215
29217
  floating: t,
29216
29218
  strategy: s
@@ -29248,10 +29250,10 @@ const yM = 50, TM = (e, t, n) => Ye(null, null, function* () {
29248
29250
  const b = a2(m), y = {
29249
29251
  x: r,
29250
29252
  y: s
29251
- }, _ = L0(a), C = R0(_), w = yield c.getDimensions(p), A = _ === "y", P = A ? "top" : "left", N = A ? "bottom" : "right", H = A ? "clientHeight" : "clientWidth", Y = u.reference[C] + u.reference[_] - y[_] - u.floating[C], R = y[_] - u.reference[_], q = yield c.getOffsetParent == null ? void 0 : c.getOffsetParent(p);
29253
+ }, _ = Lm(a), C = Rm(_), N = yield c.getDimensions(p), A = _ === "y", P = A ? "top" : "left", w = A ? "bottom" : "right", H = A ? "clientHeight" : "clientWidth", Y = u.reference[C] + u.reference[_] - y[_] - u.floating[C], R = y[_] - u.reference[_], q = yield c.getOffsetParent == null ? void 0 : c.getOffsetParent(p);
29252
29254
  let ne = q ? q[H] : 0;
29253
29255
  (!ne || !(yield c.isElement == null ? void 0 : c.isElement(q))) && (ne = f.floating[H] || u.floating[C]);
29254
- const me = Y / 2 - R / 2, V = ne / 2 - w[C] / 2 - 1, se = Li(b[P], V), fe = Li(b[N], V), Ne = ne - w[C] - fe, re = ne / 2 - w[C] / 2 + me, oe = o2(se, re, Ne), xe = !d.arrow && Fo(a) != null && re !== oe && u.reference[C] / 2 - (re < se ? se : fe) - w[C] / 2 < 0, ae = xe ? re < se ? re - se : re - Ne : 0;
29256
+ const me = Y / 2 - R / 2, V = ne / 2 - N[C] / 2 - 1, se = Li(b[P], V), fe = Li(b[w], V), Ne = ne - N[C] - fe, re = ne / 2 - N[C] / 2 + me, oe = o2(se, re, Ne), xe = !d.arrow && Fo(a) != null && re !== oe && u.reference[C] / 2 - (re < se ? se : fe) - N[C] / 2 < 0, ae = xe ? re < se ? re - se : re - Ne : 0;
29255
29257
  return {
29256
29258
  [_]: y[_] + ae,
29257
29259
  data: F({
@@ -29284,7 +29286,7 @@ const yM = 50, TM = (e, t, n) => Ye(null, null, function* () {
29284
29286
  fallbackPlacements: y,
29285
29287
  fallbackStrategy: _ = "bestFit",
29286
29288
  fallbackAxisSideDirection: C = "none",
29287
- flipAlignment: w = !0
29289
+ flipAlignment: N = !0
29288
29290
  } = oe, A = tn(oe, [
29289
29291
  "mainAxis",
29290
29292
  "crossAxis",
@@ -29295,8 +29297,8 @@ const yM = 50, TM = (e, t, n) => Ye(null, null, function* () {
29295
29297
  ]);
29296
29298
  if ((r = u.arrow) != null && r.alignmentOffset)
29297
29299
  return {};
29298
- const P = Di(a), N = kr(f), H = Di(f) === f, Y = yield d.isRTL == null ? void 0 : d.isRTL(p.floating), R = y || (H || !w ? [Cc(f)] : fM(f)), q = C !== "none";
29299
- !y && q && R.push(...mM(f, w, C, Y));
29300
+ const P = Di(a), w = kr(f), H = Di(f) === f, Y = yield d.isRTL == null ? void 0 : d.isRTL(p.floating), R = y || (H || !N ? [Cc(f)] : fM(f)), q = C !== "none";
29301
+ !y && q && R.push(...mM(f, N, C, Y));
29300
29302
  const ne = [f, ...R], me = yield d.detectOverflow(n, A), V = [];
29301
29303
  let se = ((s = u.flip) == null ? void 0 : s.overflows) || [];
29302
29304
  if (m && V.push(me[P]), b) {
@@ -29309,9 +29311,9 @@ const yM = 50, TM = (e, t, n) => Ye(null, null, function* () {
29309
29311
  }], !V.every((xe) => xe <= 0)) {
29310
29312
  var fe, Ne;
29311
29313
  const xe = (((fe = u.flip) == null ? void 0 : fe.index) || 0) + 1, ae = ne[xe];
29312
- if (ae && (!(b === "alignment" ? N !== kr(ae) : !1) || // We leave the current main axis only if every placement on that axis
29314
+ if (ae && (!(b === "alignment" ? w !== kr(ae) : !1) || // We leave the current main axis only if every placement on that axis
29313
29315
  // overflows the main axis.
29314
- se.every((v) => kr(v.placement) === N ? v.overflows[0] > 0 : !0)))
29316
+ se.every((v) => kr(v.placement) === w ? v.overflows[0] > 0 : !0)))
29315
29317
  return {
29316
29318
  data: {
29317
29319
  index: xe,
@@ -29329,7 +29331,7 @@ const yM = 50, TM = (e, t, n) => Ye(null, null, function* () {
29329
29331
  const ie = (re = se.filter((v) => {
29330
29332
  if (q) {
29331
29333
  const D = kr(v.placement);
29332
- return D === N || // Create a bias to the `y` side axis due to horizontal
29334
+ return D === w || // Create a bias to the `y` side axis due to horizontal
29333
29335
  // reading directions favoring greater width.
29334
29336
  D === "y";
29335
29337
  }
@@ -29472,7 +29474,7 @@ const AM = function(e) {
29472
29474
  y: s,
29473
29475
  placement: a,
29474
29476
  platform: u
29475
- } = n, N = ri(e, n), {
29477
+ } = n, w = ri(e, n), {
29476
29478
  mainAxis: c = !0,
29477
29479
  crossAxis: f = !1,
29478
29480
  limiter: d = {
@@ -29487,20 +29489,20 @@ const AM = function(e) {
29487
29489
  };
29488
29490
  }
29489
29491
  }
29490
- } = N, p = tn(N, [
29492
+ } = w, p = tn(w, [
29491
29493
  "mainAxis",
29492
29494
  "crossAxis",
29493
29495
  "limiter"
29494
29496
  ]), m = {
29495
29497
  x: r,
29496
29498
  y: s
29497
- }, b = yield u.detectOverflow(n, p), y = kr(a), _ = I0(y);
29498
- let C = m[_], w = m[y];
29499
+ }, b = yield u.detectOverflow(n, p), y = kr(a), _ = Im(y);
29500
+ let C = m[_], N = m[y];
29499
29501
  const A = (H, Y) => o2(Y + b[H === "y" ? "top" : "left"], Y, Y - b[H === "y" ? "bottom" : "right"]);
29500
- c && (C = A(_, C)), f && (w = A(y, w));
29502
+ c && (C = A(_, C)), f && (N = A(y, N));
29501
29503
  const P = d.fn(he(F({}, n), {
29502
29504
  [_]: C,
29503
- [y]: w
29505
+ [y]: N
29504
29506
  }));
29505
29507
  return he(F({}, P), {
29506
29508
  data: {
@@ -29533,8 +29535,8 @@ const AM = function(e) {
29533
29535
  } = ri(e, t), b = {
29534
29536
  x: s,
29535
29537
  y: a
29536
- }, y = kr(u), _ = I0(y);
29537
- let C = b[_], w = b[y];
29538
+ }, y = kr(u), _ = Im(y);
29539
+ let C = b[_], N = b[y];
29538
29540
  const A = ri(d, t), P = typeof A == "number" ? {
29539
29541
  mainAxis: A,
29540
29542
  crossAxis: 0
@@ -29547,13 +29549,13 @@ const AM = function(e) {
29547
29549
  C < R ? C = R : C > q && (C = q);
29548
29550
  }
29549
29551
  if (m) {
29550
- var N, H;
29551
- const Y = _ === "y" ? "width" : "height", R = u2.has(Di(u)), q = c.reference[y] - c.floating[Y] + (R && ((N = f.offset) == null ? void 0 : N[y]) || 0) + (R ? 0 : P.crossAxis), ne = c.reference[y] + c.reference[Y] + (R ? 0 : ((H = f.offset) == null ? void 0 : H[y]) || 0) - (R ? P.crossAxis : 0);
29552
- w < q ? w = q : w > ne && (w = ne);
29552
+ var w, H;
29553
+ const Y = _ === "y" ? "width" : "height", R = u2.has(Di(u)), q = c.reference[y] - c.floating[Y] + (R && ((w = f.offset) == null ? void 0 : w[y]) || 0) + (R ? 0 : P.crossAxis), ne = c.reference[y] + c.reference[Y] + (R ? 0 : ((H = f.offset) == null ? void 0 : H[y]) || 0) - (R ? P.crossAxis : 0);
29554
+ N < q ? N = q : N > ne && (N = ne);
29553
29555
  }
29554
29556
  return {
29555
29557
  [_]: C,
29556
- [y]: w
29558
+ [y]: N
29557
29559
  };
29558
29560
  }
29559
29561
  };
@@ -29577,10 +29579,10 @@ const AM = function(e) {
29577
29579
  width: y,
29578
29580
  height: _
29579
29581
  } = s.floating;
29580
- let C, w;
29581
- p === "top" || p === "bottom" ? (C = p, w = m === ((yield a.isRTL == null ? void 0 : a.isRTL(u.floating)) ? "start" : "end") ? "left" : "right") : (w = p, C = m === "end" ? "top" : "bottom");
29582
- const A = _ - d.top - d.bottom, P = y - d.left - d.right, N = Li(_ - d[C], A), H = Li(y - d[w], P), Y = n.middlewareData.shift, R = !Y;
29583
- let q = N, ne = H;
29582
+ let C, N;
29583
+ p === "top" || p === "bottom" ? (C = p, N = m === ((yield a.isRTL == null ? void 0 : a.isRTL(u.floating)) ? "start" : "end") ? "left" : "right") : (N = p, C = m === "end" ? "top" : "bottom");
29584
+ const A = _ - d.top - d.bottom, P = y - d.left - d.right, w = Li(_ - d[C], A), H = Li(y - d[N], P), Y = n.middlewareData.shift, R = !Y;
29585
+ let q = w, ne = H;
29584
29586
  Y != null && Y.enabled.x && (ne = P), Y != null && Y.enabled.y && (q = A), R && !m && (b ? ne = y - 2 * ei(d.left, d.right) : q = _ - 2 * ei(d.top, d.bottom)), yield c(he(F({}, n), {
29585
29587
  availableWidth: ne,
29586
29588
  availableHeight: q
@@ -29647,14 +29649,14 @@ function af(e) {
29647
29649
  }
29648
29650
  const PM = /transform|translate|scale|rotate|perspective|filter/, kM = /paint|layout|strict|content/, Zi = (e) => !!e && e !== "none";
29649
29651
  let Rh;
29650
- function D0(e) {
29652
+ function Dm(e) {
29651
29653
  const t = pr(e) ? mr(e) : e;
29652
- return Zi(t.transform) || Zi(t.translate) || Zi(t.scale) || Zi(t.rotate) || Zi(t.perspective) || !M0() && (Zi(t.backdropFilter) || Zi(t.filter)) || PM.test(t.willChange || "") || kM.test(t.contain || "");
29654
+ return Zi(t.transform) || Zi(t.translate) || Zi(t.scale) || Zi(t.rotate) || Zi(t.perspective) || !Mm() && (Zi(t.backdropFilter) || Zi(t.filter)) || PM.test(t.willChange || "") || kM.test(t.contain || "");
29653
29655
  }
29654
29656
  function OM(e) {
29655
29657
  let t = Mi(e);
29656
29658
  for (; Dr(t) && !To(t); ) {
29657
- if (D0(t))
29659
+ if (Dm(t))
29658
29660
  return t;
29659
29661
  if (af(t))
29660
29662
  return null;
@@ -29662,7 +29664,7 @@ function OM(e) {
29662
29664
  }
29663
29665
  return null;
29664
29666
  }
29665
- function M0() {
29667
+ function Mm() {
29666
29668
  return Rh == null && (Rh = typeof CSS != "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Rh;
29667
29669
  }
29668
29670
  function To(e) {
@@ -29719,11 +29721,11 @@ function f2(e) {
29719
29721
  $: c
29720
29722
  };
29721
29723
  }
29722
- function F0(e) {
29724
+ function Fm(e) {
29723
29725
  return pr(e) ? e : e.contextElement;
29724
29726
  }
29725
29727
  function lo(e) {
29726
- const t = F0(e);
29728
+ const t = Fm(e);
29727
29729
  if (!Dr(t))
29728
29730
  return Rr(1);
29729
29731
  const n = t.getBoundingClientRect(), {
@@ -29740,7 +29742,7 @@ function lo(e) {
29740
29742
  const IM = /* @__PURE__ */ Rr(0);
29741
29743
  function d2(e) {
29742
29744
  const t = zn(e);
29743
- return !M0() || !t.visualViewport ? IM : {
29745
+ return !Mm() || !t.visualViewport ? IM : {
29744
29746
  x: t.visualViewport.offsetLeft,
29745
29747
  y: t.visualViewport.offsetTop
29746
29748
  };
@@ -29750,7 +29752,7 @@ function RM(e, t, n) {
29750
29752
  }
29751
29753
  function Ts(e, t, n, r) {
29752
29754
  t === void 0 && (t = !1), n === void 0 && (n = !1);
29753
- const s = e.getBoundingClientRect(), a = F0(e);
29755
+ const s = e.getBoundingClientRect(), a = Fm(e);
29754
29756
  let u = Rr(1);
29755
29757
  t && (r ? pr(r) && (u = lo(r)) : u = lo(e));
29756
29758
  const c = RM(a, n, r) ? d2(a) : Rr(0);
@@ -29759,8 +29761,8 @@ function Ts(e, t, n, r) {
29759
29761
  const b = zn(a), y = r && pr(r) ? zn(r) : r;
29760
29762
  let _ = b, C = Sp(_);
29761
29763
  for (; C && r && y !== _; ) {
29762
- const w = lo(C), A = C.getBoundingClientRect(), P = mr(C), N = A.left + (C.clientLeft + parseFloat(P.paddingLeft)) * w.x, H = A.top + (C.clientTop + parseFloat(P.paddingTop)) * w.y;
29763
- f *= w.x, d *= w.y, p *= w.x, m *= w.y, f += N, d += H, _ = zn(C), C = Sp(_);
29764
+ const N = lo(C), A = C.getBoundingClientRect(), P = mr(C), w = A.left + (C.clientLeft + parseFloat(P.paddingLeft)) * N.x, H = A.top + (C.clientTop + parseFloat(P.paddingTop)) * N.y;
29765
+ f *= N.x, d *= N.y, p *= N.x, m *= N.y, f += w, d += H, _ = zn(C), C = Sp(_);
29764
29766
  }
29765
29767
  }
29766
29768
  return wc({
@@ -29828,7 +29830,7 @@ function FM(e, t) {
29828
29830
  let a = r.clientWidth, u = r.clientHeight, c = 0, f = 0;
29829
29831
  if (s) {
29830
29832
  a = s.width, u = s.height;
29831
- const p = M0();
29833
+ const p = Mm();
29832
29834
  (!p || p && t === "fixed") && (c = s.offsetLeft, f = s.offsetTop);
29833
29835
  }
29834
29836
  const d = lf(r);
@@ -29884,7 +29886,7 @@ function HM(e, t) {
29884
29886
  const a = mr(e).position === "fixed";
29885
29887
  let u = a ? Mi(e) : e;
29886
29888
  for (; pr(u) && !To(u); ) {
29887
- const c = mr(u), f = D0(u);
29889
+ const c = mr(u), f = Dm(u);
29888
29890
  !f && c.position === "fixed" && (s = null), (a ? !f && !s : !f && c.position === "static" && !!s && BM.has(s.position) || Su(u) && !f && p2(e, u)) ? r = r.filter((p) => p !== u) : s = c, u = Mi(u);
29889
29891
  }
29890
29892
  return t.set(e, r), r;
@@ -29968,7 +29970,7 @@ function m2(e, t) {
29968
29970
  let r = Wy(e, t);
29969
29971
  for (; r && vM(r) && Lh(r); )
29970
29972
  r = Wy(r, t);
29971
- return r && To(r) && Lh(r) && !D0(r) ? n : r || OM(e) || n;
29973
+ return r && To(r) && Lh(r) && !Dm(r) ? n : r || OM(e) || n;
29972
29974
  }
29973
29975
  const VM = function(e) {
29974
29976
  return Ye(this, null, function* () {
@@ -30019,8 +30021,8 @@ function GM(e, t) {
30019
30021
  } = d;
30020
30022
  if (c || t(), !b || !y)
30021
30023
  return;
30022
- const _ = jl(m), C = jl(s.clientWidth - (p + b)), w = jl(s.clientHeight - (m + y)), A = jl(p), N = {
30023
- rootMargin: -_ + "px " + -C + "px " + -w + "px " + -A + "px",
30024
+ const _ = jl(m), C = jl(s.clientWidth - (p + b)), N = jl(s.clientHeight - (m + y)), A = jl(p), w = {
30025
+ rootMargin: -_ + "px " + -C + "px " + -N + "px " + -A + "px",
30024
30026
  threshold: ei(0, Li(1, f)) || 1
30025
30027
  };
30026
30028
  let H = !0;
@@ -30036,12 +30038,12 @@ function GM(e, t) {
30036
30038
  q === 1 && !g2(d, e.getBoundingClientRect()) && u(), H = !1;
30037
30039
  }
30038
30040
  try {
30039
- n = new IntersectionObserver(Y, he(F({}, N), {
30041
+ n = new IntersectionObserver(Y, he(F({}, w), {
30040
30042
  // Handle <iframe>s
30041
30043
  root: s.ownerDocument
30042
30044
  }));
30043
30045
  } catch (R) {
30044
- n = new IntersectionObserver(Y, N);
30046
+ n = new IntersectionObserver(Y, w);
30045
30047
  }
30046
30048
  n.observe(e);
30047
30049
  }
@@ -30055,7 +30057,7 @@ function WM(e, t, n, r) {
30055
30057
  elementResize: u = typeof ResizeObserver == "function",
30056
30058
  layoutShift: c = typeof IntersectionObserver == "function",
30057
30059
  animationFrame: f = !1
30058
- } = r, d = F0(e), p = s || a ? [...d ? ru(d) : [], ...ru(t)] : [];
30060
+ } = r, d = Fm(e), p = s || a ? [...d ? ru(d) : [], ...ru(t)] : [];
30059
30061
  p.forEach((A) => {
30060
30062
  s && A.addEventListener("scroll", n, {
30061
30063
  passive: !0
@@ -30066,15 +30068,15 @@ function WM(e, t, n, r) {
30066
30068
  u && (y = new ResizeObserver((A) => {
30067
30069
  let [P] = A;
30068
30070
  P && P.target === d && y && (y.unobserve(t), cancelAnimationFrame(b), b = requestAnimationFrame(() => {
30069
- var N;
30070
- (N = y) == null || N.observe(t);
30071
+ var w;
30072
+ (w = y) == null || w.observe(t);
30071
30073
  })), n();
30072
30074
  }), d && !f && y.observe(d), y.observe(t));
30073
30075
  let _, C = f ? Ts(e) : null;
30074
- f && w();
30075
- function w() {
30076
+ f && N();
30077
+ function N() {
30076
30078
  const A = Ts(e);
30077
- C && !g2(C, A) && n(), C = A, _ = requestAnimationFrame(w);
30079
+ C && !g2(C, A) && n(), C = A, _ = requestAnimationFrame(N);
30078
30080
  }
30079
30081
  return n(), () => {
30080
30082
  var A;
@@ -30134,7 +30136,7 @@ function o8(e, t) {
30134
30136
  name: "transformOrigin",
30135
30137
  fn(n) {
30136
30138
  var me, V, se, fe, Ne;
30137
- const { elements: r, middlewareData: s, placement: a, rects: u, y: c } = n, f = a.split("-")[0], d = s8(f), p = ((me = s.arrow) == null ? void 0 : me.x) || 0, m = ((V = s.arrow) == null ? void 0 : V.y) || 0, b = (t == null ? void 0 : t.clientWidth) || 0, y = (t == null ? void 0 : t.clientHeight) || 0, _ = p + b / 2, C = m + y / 2, w = Math.abs(((se = s.shift) == null ? void 0 : se.y) || 0), A = u.reference.height / 2, P = y / 2, N = (Ne = (fe = e.offset) == null ? void 0 : fe.mainAxis) != null ? Ne : e.gutter, H = typeof N == "number" ? N + P : N != null ? N : P, Y = w > H, R = {
30139
+ const { elements: r, middlewareData: s, placement: a, rects: u, y: c } = n, f = a.split("-")[0], d = s8(f), p = ((me = s.arrow) == null ? void 0 : me.x) || 0, m = ((V = s.arrow) == null ? void 0 : V.y) || 0, b = (t == null ? void 0 : t.clientWidth) || 0, y = (t == null ? void 0 : t.clientHeight) || 0, _ = p + b / 2, C = m + y / 2, N = Math.abs(((se = s.shift) == null ? void 0 : se.y) || 0), A = u.reference.height / 2, P = y / 2, w = (Ne = (fe = e.offset) == null ? void 0 : fe.mainAxis) != null ? Ne : e.gutter, H = typeof w == "number" ? w + P : w != null ? w : P, Y = N > H, R = {
30138
30140
  top: `${_}px calc(100% + ${H}px)`,
30139
30141
  bottom: `${_}px ${-H}px`,
30140
30142
  left: `calc(100% + ${H}px) ${C}px`,
@@ -30194,7 +30196,7 @@ function Ky(e, t) {
30194
30196
  const n = e.devicePixelRatio || 1;
30195
30197
  return Math.round(t * n) / n;
30196
30198
  }
30197
- function B0(e) {
30199
+ function Bm(e) {
30198
30200
  return typeof e == "function" ? e() : e === "clipping-ancestors" ? "clippingAncestors" : e;
30199
30201
  }
30200
30202
  function f8(e, t, n) {
@@ -30207,7 +30209,7 @@ function d8(e, t) {
30207
30209
  return XM(({ placement: r }) => {
30208
30210
  var p, m, b, y;
30209
30211
  const s = ((e == null ? void 0 : e.clientHeight) || 0) / 2, a = (m = (p = t.offset) == null ? void 0 : p.mainAxis) != null ? m : t.gutter, u = typeof a == "number" ? a + s : a != null ? a : s, { hasAlign: c } = l8(r), f = c ? void 0 : t.shift, d = (y = (b = t.offset) == null ? void 0 : b.crossAxis) != null ? y : f;
30210
- return x0({
30212
+ return xm({
30211
30213
  crossAxis: d,
30212
30214
  mainAxis: u,
30213
30215
  alignmentAxis: t.shift
@@ -30216,7 +30218,7 @@ function d8(e, t) {
30216
30218
  }
30217
30219
  function h8(e) {
30218
30220
  if (!e.flip) return;
30219
- const t = B0(e.boundary);
30221
+ const t = Bm(e.boundary);
30220
30222
  return QM(he(F({}, t ? { boundary: t } : void 0), {
30221
30223
  padding: e.overflowPadding,
30222
30224
  fallbackPlacements: e.flip === !0 ? void 0 : e.flip
@@ -30224,7 +30226,7 @@ function h8(e) {
30224
30226
  }
30225
30227
  function p8(e) {
30226
30228
  if (!e.slide && !e.overlap) return;
30227
- const t = B0(e.boundary);
30229
+ const t = Bm(e.boundary);
30228
30230
  return KM(he(F({}, t ? { boundary: t } : void 0), {
30229
30231
  mainAxis: e.slide,
30230
30232
  crossAxis: e.overlap,
@@ -30244,7 +30246,7 @@ function m8(e) {
30244
30246
  function g8(e) {
30245
30247
  var t;
30246
30248
  if (e.hideWhenDetached)
30247
- return ZM({ strategy: "referenceHidden", boundary: (t = B0(e.boundary)) != null ? t : "clippingAncestors" });
30249
+ return ZM({ strategy: "referenceHidden", boundary: (t = Bm(e.boundary)) != null ? t : "clippingAncestors" });
30248
30250
  }
30249
30251
  function E8(e) {
30250
30252
  return e ? e === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : e : {};
@@ -30274,11 +30276,11 @@ function y8(e, t, n = {}) {
30274
30276
  strategy: f
30275
30277
  });
30276
30278
  d == null || d(C), p == null || p({ placed: !0 });
30277
- const w = Ro(t), A = Ky(w, C.x), P = Ky(w, C.y);
30279
+ const N = Ro(t), A = Ky(N, C.x), P = Ky(N, C.y);
30278
30280
  t.style.setProperty("--x", `${A}px`), t.style.setProperty("--y", `${P}px`), s.hideWhenDetached && (((H = C.middlewareData.hide) == null ? void 0 : H.referenceHidden) ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
30279
- const N = t.firstElementChild;
30280
- if (N) {
30281
- const Y = Lo(N);
30281
+ const w = t.firstElementChild;
30282
+ if (w) {
30283
+ const Y = Lo(w);
30282
30284
  t.style.setProperty("--z-index", Y.zIndex);
30283
30285
  }
30284
30286
  }), b = () => Ye(null, null, function* () {
@@ -30364,8 +30366,8 @@ var Js = /* @__PURE__ */ new WeakMap(), $l = /* @__PURE__ */ new WeakMap(), Vl =
30364
30366
  else
30365
30367
  try {
30366
30368
  if (x8(_)) return;
30367
- const w = _.getAttribute(s) === "true", A = (Js.get(_) || 0) + 1, P = (c.get(_) || 0) + 1;
30368
- Js.set(_, A), c.set(_, P), f.push(_), A === 1 && w && $l.set(_, !0), P === 1 && _.setAttribute(r, ""), w || _.setAttribute(s, "true");
30369
+ const N = _.getAttribute(s) === "true", A = (Js.get(_) || 0) + 1, P = (c.get(_) || 0) + 1;
30370
+ Js.set(_, A), c.set(_, P), f.push(_), A === 1 && N && $l.set(_, !0), P === 1 && _.setAttribute(r, ""), N || _.setAttribute(s, "true");
30369
30371
  } catch (C) {
30370
30372
  console.error("[zag-js > ariaHidden] cannot operate on ", _, C);
30371
30373
  }
@@ -30495,24 +30497,24 @@ function R8(e, t) {
30495
30497
  } = t;
30496
30498
  if (!e) return;
30497
30499
  const f = Br(e), d = Ro(e), p = v8(d), m = P8(d);
30498
- function b(N, H) {
30499
- if (!Wt(H) || !H.isConnected || yo(e, H) || O8(e, N) || c && qS(e, H)) return !1;
30500
+ function b(w, H) {
30501
+ if (!Wt(H) || !H.isConnected || yo(e, H) || O8(e, w) || c && qS(e, H)) return !1;
30500
30502
  const Y = f.querySelector(`[aria-controls="${e.id}"]`);
30501
30503
  if (Y) {
30502
30504
  const q = Tp(Y);
30503
- if (eT(N, q)) return !1;
30505
+ if (eT(w, q)) return !1;
30504
30506
  }
30505
30507
  const R = Tp(e);
30506
- return eT(N, R) ? !1 : !(n != null && n(H));
30508
+ return eT(w, R) ? !1 : !(n != null && n(H));
30507
30509
  }
30508
30510
  const y = /* @__PURE__ */ new Set(), _ = ys(e == null ? void 0 : e.getRootNode());
30509
- function C(N) {
30511
+ function C(w) {
30510
30512
  function H(Y) {
30511
30513
  var me, V;
30512
- const R = u && !Ly() ? Bt : (se) => se(), q = Y != null ? Y : N, ne = (V = (me = q == null ? void 0 : q.composedPath) == null ? void 0 : me.call(q)) != null ? V : [q == null ? void 0 : q.target];
30514
+ const R = u && !Ly() ? Bt : (se) => se(), q = Y != null ? Y : w, ne = (V = (me = q == null ? void 0 : q.composedPath) == null ? void 0 : me.call(q)) != null ? V : [q == null ? void 0 : q.target];
30513
30515
  R(() => {
30514
- const se = _ ? ne[0] : fr(N);
30515
- if (!(!e || !b(N, se))) {
30516
+ const se = _ ? ne[0] : fr(w);
30517
+ if (!(!e || !b(w, se))) {
30516
30518
  if (s || a) {
30517
30519
  const fe = Ep(s, a);
30518
30520
  e.addEventListener(Jy, fe, { once: !0 });
@@ -30530,16 +30532,16 @@ function R8(e, t) {
30530
30532
  }
30531
30533
  });
30532
30534
  }
30533
- N.pointerType === "touch" ? (y.forEach((Y) => Y()), y.add(Yt(f, "click", H, { once: !0 })), y.add(m.addEventListener("click", H, { once: !0 })), y.add(p.addEventListener("click", H, { once: !0 }))) : H();
30535
+ w.pointerType === "touch" ? (y.forEach((Y) => Y()), y.add(Yt(f, "click", H, { once: !0 })), y.add(m.addEventListener("click", H, { once: !0 })), y.add(p.addEventListener("click", H, { once: !0 }))) : H();
30534
30536
  }
30535
- const w = /* @__PURE__ */ new Set(), A = setTimeout(() => {
30536
- w.add(Yt(f, "pointerdown", C, !0)), w.add(m.addEventListener("pointerdown", C, !0)), w.add(p.addEventListener("pointerdown", C, !0));
30537
+ const N = /* @__PURE__ */ new Set(), A = setTimeout(() => {
30538
+ N.add(Yt(f, "pointerdown", C, !0)), N.add(m.addEventListener("pointerdown", C, !0)), N.add(p.addEventListener("pointerdown", C, !0));
30537
30539
  }, 0);
30538
- function P(N) {
30540
+ function P(w) {
30539
30541
  (u ? Bt : (Y) => Y())(() => {
30540
30542
  var q, ne;
30541
- const Y = (ne = (q = N == null ? void 0 : N.composedPath) == null ? void 0 : q.call(N)) != null ? ne : [N == null ? void 0 : N.target], R = _ ? Y[0] : fr(N);
30542
- if (!(!e || !b(N, R))) {
30543
+ const Y = (ne = (q = w == null ? void 0 : w.composedPath) == null ? void 0 : q.call(w)) != null ? ne : [w == null ? void 0 : w.target], R = _ ? Y[0] : fr(w);
30544
+ if (!(!e || !b(w, R))) {
30543
30545
  if (r || a) {
30544
30546
  const me = Ep(r, a);
30545
30547
  e.addEventListener(Zy, me, { once: !0 });
@@ -30548,7 +30550,7 @@ function R8(e, t) {
30548
30550
  bubbles: !1,
30549
30551
  cancelable: !0,
30550
30552
  detail: {
30551
- originalEvent: N,
30553
+ originalEvent: w,
30552
30554
  contextmenu: !1,
30553
30555
  focusable: Ir(R),
30554
30556
  target: R
@@ -30557,8 +30559,8 @@ function R8(e, t) {
30557
30559
  }
30558
30560
  });
30559
30561
  }
30560
- return Ly() || (w.add(Yt(f, "focusin", P, !0)), w.add(m.addEventListener("focusin", P, !0)), w.add(p.addEventListener("focusin", P, !0))), () => {
30561
- clearTimeout(A), y.forEach((N) => N()), w.forEach((N) => N());
30562
+ return Ly() || (N.add(Yt(f, "focusin", P, !0)), N.add(m.addEventListener("focusin", P, !0)), N.add(p.addEventListener("focusin", P, !0))), () => {
30563
+ clearTimeout(A), y.forEach((w) => w()), N.forEach((w) => w());
30562
30564
  };
30563
30565
  }
30564
30566
  function L8(e, t) {
@@ -30719,22 +30721,22 @@ function H8(e, t) {
30719
30721
  Xn.add(d), iT();
30720
30722
  function p(C) {
30721
30723
  var A, P;
30722
- const w = fr(C.detail.originalEvent);
30723
- Xn.isBelowPointerBlockingLayer(e) || Xn.isInBranch(w) || ((A = t.onPointerDownOutside) == null || A.call(t, C), (P = t.onInteractOutside) == null || P.call(t, C), !C.defaultPrevented && (c && console.log("onPointerDownOutside:", C.detail.originalEvent), r == null || r()));
30724
+ const N = fr(C.detail.originalEvent);
30725
+ Xn.isBelowPointerBlockingLayer(e) || Xn.isInBranch(N) || ((A = t.onPointerDownOutside) == null || A.call(t, C), (P = t.onInteractOutside) == null || P.call(t, C), !C.defaultPrevented && (c && console.log("onPointerDownOutside:", C.detail.originalEvent), r == null || r()));
30724
30726
  }
30725
30727
  function m(C) {
30726
30728
  var A, P;
30727
- const w = fr(C.detail.originalEvent);
30728
- Xn.isInBranch(w) || ((A = t.onFocusOutside) == null || A.call(t, C), (P = t.onInteractOutside) == null || P.call(t, C), !C.defaultPrevented && (c && console.log("onFocusOutside:", C.detail.originalEvent), r == null || r()));
30729
+ const N = fr(C.detail.originalEvent);
30730
+ Xn.isInBranch(N) || ((A = t.onFocusOutside) == null || A.call(t, C), (P = t.onInteractOutside) == null || P.call(t, C), !C.defaultPrevented && (c && console.log("onFocusOutside:", C.detail.originalEvent), r == null || r()));
30729
30731
  }
30730
30732
  function b(C) {
30731
- var w;
30732
- Xn.isTopMost(e) && ((w = t.onEscapeKeyDown) == null || w.call(t, C), !C.defaultPrevented && r && (C.preventDefault(), r()));
30733
+ var N;
30734
+ Xn.isTopMost(e) && ((N = t.onEscapeKeyDown) == null || N.call(t, C), !C.defaultPrevented && r && (C.preventDefault(), r()));
30733
30735
  }
30734
30736
  function y(C) {
30735
- var N;
30737
+ var w;
30736
30738
  if (!e) return !1;
30737
- const w = typeof u == "function" ? u() : u, A = Array.isArray(w) ? w : [w], P = (N = t.persistentElements) == null ? void 0 : N.map((H) => H()).filter(Wt);
30739
+ const N = typeof u == "function" ? u() : u, A = Array.isArray(N) ? N : [N], P = (w = t.persistentElements) == null ? void 0 : w.map((H) => H()).filter(Wt);
30738
30740
  return P && A.push(...P), A.some((H) => yo(H, C)) || Xn.isInNestedLayer(e, C);
30739
30741
  }
30740
30742
  const _ = [
@@ -31131,15 +31133,15 @@ function S2(e) {
31131
31133
  return !u && c > 0 && (_[d] = `${c}px`), Sc(s, _);
31132
31134
  }, m = () => {
31133
31135
  var Y, R;
31134
- const { scrollX: _, scrollY: C, visualViewport: w } = n, A = (Y = w == null ? void 0 : w.offsetLeft) != null ? Y : 0, P = (R = w == null ? void 0 : w.offsetTop) != null ? R : 0, N = {
31136
+ const { scrollX: _, scrollY: C, visualViewport: N } = n, A = (Y = N == null ? void 0 : N.offsetLeft) != null ? Y : 0, P = (R = N == null ? void 0 : N.offsetTop) != null ? R : 0, w = {
31135
31137
  position: "fixed",
31136
31138
  overflow: "hidden",
31137
31139
  top: `${-(C - Math.floor(P))}px`,
31138
31140
  left: `${-(_ - Math.floor(A))}px`,
31139
31141
  right: "0"
31140
31142
  };
31141
- !u && c > 0 && (N[d] = `${c}px`);
31142
- const H = Sc(s, N);
31143
+ !u && c > 0 && (w[d] = `${c}px`);
31144
+ const H = Sc(s, w);
31143
31145
  return () => {
31144
31146
  H == null || H(), n.scrollTo({ left: _, top: C, behavior: "instant" });
31145
31147
  };
@@ -31544,7 +31546,7 @@ Mo()([
31544
31546
  "portalled",
31545
31547
  "positioning"
31546
31548
  ]);
31547
- const [cU, cf] = Ss({
31549
+ const [fU, cf] = Ss({
31548
31550
  name: "EnvironmentContext",
31549
31551
  hookName: "useEnvironmentContext",
31550
31552
  providerName: "<EnvironmentProvider />",
@@ -31554,24 +31556,24 @@ const [cU, cf] = Ss({
31554
31556
  getDocument: () => document,
31555
31557
  getWindow: () => window
31556
31558
  }
31557
- }), [fU, U0] = Ss({
31559
+ }), [dU, Um] = Ss({
31558
31560
  name: "LocaleContext",
31559
31561
  hookName: "useLocaleContext",
31560
31562
  providerName: "<LocaleProvider />",
31561
31563
  strict: !1,
31562
31564
  defaultValue: { dir: "ltr", locale: "en-US" }
31563
31565
  }), tF = (e) => {
31564
- const t = B.useId(), { getRootNode: n } = cf(), { dir: r } = U0(), s = F({
31566
+ const t = B.useId(), { getRootNode: n } = cf(), { dir: r } = Um(), s = F({
31565
31567
  id: t,
31566
31568
  dir: r,
31567
31569
  getRootNode: n
31568
31570
  }, e), a = rf(eF, s);
31569
- return Z8(a, P0);
31571
+ return Z8(a, Pm);
31570
31572
  }, nF = (e) => {
31571
- const [t, u] = s2(e), c = u, { children: n } = c, r = tn(c, ["children"]), s = tF(r), a = O0(Ut({ present: s.open }, t));
31573
+ const [t, u] = s2(e), c = u, { children: n } = c, r = tn(c, ["children"]), s = tF(r), a = Om(Ut({ present: s.open }, t));
31572
31574
  return /* @__PURE__ */ x.jsx(nM, { value: s, children: /* @__PURE__ */ x.jsx(n2, { value: a, children: n }) });
31573
31575
  }, w2 = B.forwardRef((e, t) => {
31574
- const n = k0(), r = bu(), s = Ut(
31576
+ const n = km(), r = bu(), s = Ut(
31575
31577
  he(F({}, n.getTriggerProps()), {
31576
31578
  "aria-controls": r.unmounted ? void 0 : n.getTriggerProps()["aria-controls"]
31577
31579
  }),
@@ -31598,7 +31600,7 @@ function aF(e) {
31598
31600
  function uF(e) {
31599
31601
  return bt({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76z" }, child: [] }] })(e);
31600
31602
  }
31601
- function H0(e) {
31603
+ function Hm(e) {
31602
31604
  return bt({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.73 1.73 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.73 1.73 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.73 1.73 0 0 0 3.407 2.31zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.16 1.16 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.16 1.16 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732z" }, child: [] }] })(e);
31603
31605
  }
31604
31606
  function N2(e) {
@@ -31723,18 +31725,18 @@ function M2(e, t = !1) {
31723
31725
  const b = Lo(p);
31724
31726
  let [y, _] = b.getPropertyValue("scroll-snap-align").split(" ");
31725
31727
  typeof _ == "undefined" && (_ = y);
31726
- const C = a === "x" ? _ : y, w = m[c] - n[c] + e[d];
31728
+ const C = a === "x" ? _ : y, N = m[c] - n[c] + e[d];
31727
31729
  switch (C) {
31728
31730
  case "none":
31729
31731
  break;
31730
31732
  case "start":
31731
- r[a].start.push({ node: p, position: w });
31733
+ r[a].start.push({ node: p, position: N });
31732
31734
  break;
31733
31735
  case "center":
31734
- r[a].center.push({ node: p, position: w + m[f] / 2 });
31736
+ r[a].center.push({ node: p, position: N + m[f] / 2 });
31735
31737
  break;
31736
31738
  case "end":
31737
- r[a].end.push({ node: p, position: w + m[f] });
31739
+ r[a].end.push({ node: p, position: N + m[f] });
31738
31740
  break;
31739
31741
  }
31740
31742
  }
@@ -31807,7 +31809,7 @@ var hT = (e) => [...new Set(e)], pT = (e, t) => (n) => Math.max(e, Math.min(t, n
31807
31809
  t.setAttribute("tabindex", n.length > 0 ? "-1" : "0");
31808
31810
  };
31809
31811
  function _F(e, t) {
31810
- const { state: n, context: r, computed: s, send: a, scope: u, prop: c } = e, f = n.matches("autoplay"), d = n.matches("dragging"), p = s("canScrollNext"), m = s("canScrollPrev"), b = s("isHorizontal"), y = Array.from(r.get("pageSnapPoints")), _ = r.get("page"), C = c("slidesPerPage"), w = c("padding"), A = c("translations");
31812
+ const { state: n, context: r, computed: s, send: a, scope: u, prop: c } = e, f = n.matches("autoplay"), d = n.matches("dragging"), p = s("canScrollNext"), m = s("canScrollPrev"), b = s("isHorizontal"), y = Array.from(r.get("pageSnapPoints")), _ = r.get("page"), C = c("slidesPerPage"), N = c("padding"), A = c("translations");
31811
31813
  return {
31812
31814
  isPlaying: f,
31813
31815
  isDragging: d,
@@ -31818,11 +31820,11 @@ function _F(e, t) {
31818
31820
  getProgress() {
31819
31821
  return _ / y.length;
31820
31822
  },
31821
- scrollToIndex(P, N) {
31822
- a({ type: "INDEX.SET", index: P, instant: N });
31823
+ scrollToIndex(P, w) {
31824
+ a({ type: "INDEX.SET", index: P, instant: w });
31823
31825
  },
31824
- scrollTo(P, N) {
31825
- a({ type: "PAGE.SET", index: P, instant: N });
31826
+ scrollTo(P, w) {
31827
+ a({ type: "PAGE.SET", index: P, instant: w });
31826
31828
  },
31827
31829
  scrollNext(P) {
31828
31830
  a({ type: "PAGE.NEXT", instant: P });
@@ -31871,12 +31873,12 @@ function _F(e, t) {
31871
31873
  },
31872
31874
  onMouseDown(P) {
31873
31875
  if (P.defaultPrevented || !c("allowMouseDrag") || !GS(P)) return;
31874
- const N = fr(P);
31875
- Ir(N) && N !== P.currentTarget || (P.preventDefault(), a({ type: "DRAGGING.START" }));
31876
+ const w = fr(P);
31877
+ Ir(w) && w !== P.currentTarget || (P.preventDefault(), a({ type: "DRAGGING.START" }));
31876
31878
  },
31877
31879
  onWheel: zD((P) => {
31878
- const N = c("orientation") === "horizontal" ? "deltaX" : "deltaY";
31879
- P[N] < 0 && !s("canScrollPrev") || P[N] > 0 && !s("canScrollNext") || a({ type: "USER.SCROLL" });
31880
+ const w = c("orientation") === "horizontal" ? "deltaX" : "deltaY";
31881
+ P[w] < 0 && !s("canScrollPrev") || P[w] > 0 && !s("canScrollNext") || a({ type: "USER.SCROLL" });
31880
31882
  }, 150),
31881
31883
  onTouchStart() {
31882
31884
  a({ type: "USER.SCROLL" });
@@ -31889,24 +31891,24 @@ function _F(e, t) {
31889
31891
  scrollbarWidth: "none",
31890
31892
  overscrollBehaviorX: "contain",
31891
31893
  [b ? "gridAutoColumns" : "gridAutoRows"]: "var(--slide-item-size)",
31892
- [b ? "scrollPaddingInline" : "scrollPaddingBlock"]: w,
31893
- [b ? "paddingInline" : "paddingBlock"]: w,
31894
+ [b ? "scrollPaddingInline" : "scrollPaddingBlock"]: N,
31895
+ [b ? "paddingInline" : "paddingBlock"]: N,
31894
31896
  [b ? "overflowX" : "overflowY"]: "auto"
31895
31897
  }
31896
31898
  }));
31897
31899
  },
31898
31900
  getItemProps(P) {
31899
- const N = r.get("slidesInView").includes(P.index);
31901
+ const w = r.get("slidesInView").includes(P.index);
31900
31902
  return t.element(he(F({}, Kr.item.attrs), {
31901
31903
  id: gF(u, P.index),
31902
31904
  dir: c("dir"),
31903
31905
  role: "group",
31904
31906
  "data-index": P.index,
31905
- "data-inview": to(N),
31907
+ "data-inview": to(w),
31906
31908
  "aria-roledescription": "slide",
31907
31909
  "data-orientation": c("orientation"),
31908
31910
  "aria-label": A.item(P.index, c("slideCount")),
31909
- "aria-hidden": jS(!N),
31911
+ "aria-hidden": jS(!w),
31910
31912
  style: {
31911
31913
  scrollSnapAlign: (() => {
31912
31914
  var ne;
@@ -31956,24 +31958,24 @@ function _F(e, t) {
31956
31958
  "data-orientation": c("orientation"),
31957
31959
  onKeyDown(P) {
31958
31960
  if (P.defaultPrevented) return;
31959
- const N = "indicator", H = {
31961
+ const w = "indicator", H = {
31960
31962
  ArrowDown(q) {
31961
- b || (a({ type: "PAGE.NEXT", src: N }), q.preventDefault());
31963
+ b || (a({ type: "PAGE.NEXT", src: w }), q.preventDefault());
31962
31964
  },
31963
31965
  ArrowUp(q) {
31964
- b || (a({ type: "PAGE.PREV", src: N }), q.preventDefault());
31966
+ b || (a({ type: "PAGE.PREV", src: w }), q.preventDefault());
31965
31967
  },
31966
31968
  ArrowRight(q) {
31967
- b && (a({ type: "PAGE.NEXT", src: N }), q.preventDefault());
31969
+ b && (a({ type: "PAGE.NEXT", src: w }), q.preventDefault());
31968
31970
  },
31969
31971
  ArrowLeft(q) {
31970
- b && (a({ type: "PAGE.PREV", src: N }), q.preventDefault());
31972
+ b && (a({ type: "PAGE.PREV", src: w }), q.preventDefault());
31971
31973
  },
31972
31974
  Home(q) {
31973
- a({ type: "PAGE.SET", index: 0, src: N }), q.preventDefault();
31975
+ a({ type: "PAGE.SET", index: 0, src: w }), q.preventDefault();
31974
31976
  },
31975
31977
  End(q) {
31976
- a({ type: "PAGE.SET", index: y.length - 1, src: N }), q.preventDefault();
31978
+ a({ type: "PAGE.SET", index: y.length - 1, src: w }), q.preventDefault();
31977
31979
  }
31978
31980
  }, Y = A5(P, {
31979
31981
  dir: c("dir"),
@@ -31993,8 +31995,8 @@ function _F(e, t) {
31993
31995
  "data-readonly": to(P.readOnly),
31994
31996
  "data-current": to(P.index === _),
31995
31997
  "aria-label": A.indicator(P.index),
31996
- onClick(N) {
31997
- N.defaultPrevented || P.readOnly || a({ type: "PAGE.SET", index: P.index, src: "indicator" });
31998
+ onClick(w) {
31999
+ w.defaultPrevented || P.readOnly || a({ type: "PAGE.SET", index: P.index, src: "indicator" });
31998
32000
  }
31999
32001
  }));
32000
32002
  },
@@ -32444,12 +32446,12 @@ Mo()([
32444
32446
  Mo()(["index", "readOnly"]);
32445
32447
  Mo()(["index", "snapAlign"]);
32446
32448
  const AF = (e) => {
32447
- const t = B.useId(), { getRootNode: n } = cf(), { dir: r } = U0(), s = F({
32449
+ const t = B.useId(), { getRootNode: n } = cf(), { dir: r } = Um(), s = F({
32448
32450
  id: t,
32449
32451
  dir: r,
32450
32452
  getRootNode: n
32451
32453
  }, e), a = rf(SF, s);
32452
- return _F(a, P0);
32454
+ return _F(a, Pm);
32453
32455
  }, B2 = B.forwardRef((e, t) => {
32454
32456
  const [n, r] = _u()(e, [
32455
32457
  "allowMouseDrag",
@@ -32494,13 +32496,13 @@ const CF = 180, wF = (e) => {
32494
32496
  const m = Array.from(p).map((ne, me) => ({
32495
32497
  node: ne,
32496
32498
  key: B.isValidElement(ne) && ne.key != null ? ne.key : `carousel-item-${me}`
32497
- })), b = m.length, y = B.useRef(null), [_, C] = B.useState(0), { width: w } = SP();
32499
+ })), b = m.length, y = B.useRef(null), [_, C] = B.useState(0), { width: N } = SP();
32498
32500
  B.useLayoutEffect(() => {
32499
32501
  y.current && C(y.current.getBoundingClientRect().width);
32500
- }, [w, b]);
32501
- const A = wF(r), P = n + A, N = _ > 0 ? (_ + A) / P : 1, H = Math.max(1, Math.floor(N));
32502
+ }, [N, b]);
32503
+ const A = wF(r), P = n + A, w = _ > 0 ? (_ + A) / P : 1, H = Math.max(1, Math.floor(w));
32502
32504
  if (b === 0) return null;
32503
- const Y = b > H, R = Math.ceil(b / H), q = Y ? Math.max(1, N) : H;
32505
+ const Y = b > H, R = Math.ceil(b / H), q = Y ? Math.max(1, w) : H;
32504
32506
  return /* @__PURE__ */ x.jsxs(
32505
32507
  B2,
32506
32508
  {
@@ -32583,25 +32585,25 @@ const CF = 180, wF = (e) => {
32583
32585
  hookName: "useDialogContext",
32584
32586
  providerName: "<DialogProvider />"
32585
32587
  }), U2 = B.forwardRef((e, t) => {
32586
- const n = xu(), r = PF(), s = O0(he(F({}, r), { present: n.open })), a = Ut(n.getBackdropProps(), s.getPresenceProps(), e);
32588
+ const n = xu(), r = PF(), s = Om(he(F({}, r), { present: n.open })), a = Ut(n.getBackdropProps(), s.getPresenceProps(), e);
32587
32589
  return s.unmounted ? null : /* @__PURE__ */ x.jsx(pn.div, he(F({}, a), { ref: sf(s.ref, t) }));
32588
32590
  });
32589
32591
  U2.displayName = "DialogBackdrop";
32590
- const z0 = B.forwardRef((e, t) => {
32592
+ const zm = B.forwardRef((e, t) => {
32591
32593
  const n = xu(), r = bu(), s = Ut(n.getContentProps(), r.getPresenceProps(), e);
32592
32594
  return r.unmounted ? null : /* @__PURE__ */ x.jsx(pn.div, he(F({}, s), { ref: sf(r.ref, t) }));
32593
32595
  });
32594
- z0.displayName = "DialogContent";
32595
- const j0 = B.forwardRef((e, t) => {
32596
+ zm.displayName = "DialogContent";
32597
+ const jm = B.forwardRef((e, t) => {
32596
32598
  const n = xu(), r = Ut(n.getDescriptionProps(), e);
32597
32599
  return /* @__PURE__ */ x.jsx(pn.div, he(F({}, r), { ref: t }));
32598
32600
  });
32599
- j0.displayName = "DialogDescription";
32600
- const $0 = B.forwardRef((e, t) => {
32601
+ jm.displayName = "DialogDescription";
32602
+ const $m = B.forwardRef((e, t) => {
32601
32603
  const n = xu(), r = Ut(n.getPositionerProps(), e);
32602
32604
  return bu().unmounted ? null : /* @__PURE__ */ x.jsx(pn.div, he(F({}, r), { ref: t }));
32603
32605
  });
32604
- $0.displayName = "DialogPositioner";
32606
+ $m.displayName = "DialogPositioner";
32605
32607
  var IF = as("dialog").parts(
32606
32608
  "trigger",
32607
32609
  "backdrop",
@@ -32908,14 +32910,14 @@ Mo()([
32908
32910
  "trapFocus"
32909
32911
  ]);
32910
32912
  const zF = (e) => {
32911
- const t = B.useId(), { getRootNode: n } = cf(), { dir: r } = U0(), s = F({
32913
+ const t = B.useId(), { getRootNode: n } = cf(), { dir: r } = Um(), s = F({
32912
32914
  id: t,
32913
32915
  getRootNode: n,
32914
32916
  dir: r
32915
32917
  }, e), a = rf(HF, s);
32916
- return UF(a, P0);
32918
+ return UF(a, Pm);
32917
32919
  }, V2 = (e) => {
32918
- const [t, c] = s2(e), f = c, { children: n } = f, r = tn(f, ["children"]), [s] = kF(t), a = zF(r), u = O0(Ut({ present: a.open }, t));
32920
+ const [t, c] = s2(e), f = c, { children: n } = f, r = tn(f, ["children"]), [s] = kF(t), a = zF(r), u = Om(Ut({ present: a.open }, t));
32919
32921
  return /* @__PURE__ */ x.jsx(OF, { value: a, children: /* @__PURE__ */ x.jsx(vF, { value: s, children: /* @__PURE__ */ x.jsx(n2, { value: u, children: n }) }) });
32920
32922
  }, q2 = B.forwardRef((e, t) => {
32921
32923
  const n = xu(), r = Ut(n.getTitleProps(), e);
@@ -32930,9 +32932,9 @@ const jF = ({ children: e }) => {
32930
32932
  }),
32931
32933
  []
32932
32934
  ), s = B.useMemo(() => ({ isOpen: t }), [t]);
32933
- return /* @__PURE__ */ x.jsx(S0.Provider, { value: r, children: /* @__PURE__ */ x.jsx(DS.Provider, { value: s, children: e }) });
32935
+ return /* @__PURE__ */ x.jsx(Sm.Provider, { value: r, children: /* @__PURE__ */ x.jsx(DS.Provider, { value: s, children: e }) });
32934
32936
  }, Y2 = () => B.useContext(DS), G2 = () => {
32935
- const e = B.useContext(S0);
32937
+ const e = B.useContext(Sm);
32936
32938
  if (!e)
32937
32939
  throw new Error("useOverflowMenuDispatch must be used within an OverflowMenuProvider");
32938
32940
  return e;
@@ -32983,7 +32985,7 @@ const jF = ({ children: e }) => {
32983
32985
  children: /* @__PURE__ */ x.jsx(N2, {})
32984
32986
  }
32985
32987
  );
32986
- }, V0 = () => {
32988
+ }, Vm = () => {
32987
32989
  const { status: e, entryType: t } = er(), { messages: n } = tr(), r = t === "ask_cim", s = !!(n && n.length > 0), a = !!e.isOpen;
32988
32990
  return r && a || !r && a && s;
32989
32991
  }, YF = ({
@@ -33028,7 +33030,7 @@ const jF = ({ children: e }) => {
33028
33030
  isIcon: t
33029
33031
  }) => {
33030
33032
  const { globalClassName: n } = Je(), { isModalFullscreen: r } = er(), s = Io(), a = () => {
33031
- e0(!r), s();
33033
+ em(!r), s();
33032
33034
  }, u = r ? Mk : Fk, c = "Toggle Fullscreen";
33033
33035
  return t ? /* @__PURE__ */ x.jsx(
33034
33036
  si,
@@ -33064,7 +33066,7 @@ const jF = ({ children: e }) => {
33064
33066
  isIcon: t
33065
33067
  }) => {
33066
33068
  const { globalClassName: n } = Je(), { dialogPosition: r } = er(), s = Io(), a = r === "bottom-left", u = () => {
33067
- t0(a ? "bottom-right" : "bottom-left"), s();
33069
+ tm(a ? "bottom-right" : "bottom-left"), s();
33068
33070
  }, c = a ? iF : rF, f = a ? "Move right" : "Move left";
33069
33071
  return t ? /* @__PURE__ */ x.jsx(
33070
33072
  si,
@@ -33211,10 +33213,10 @@ const jF = ({ children: e }) => {
33211
33213
  }
33212
33214
  );
33213
33215
  }, KF = {
33214
- sparkle: H0,
33216
+ sparkle: Hm,
33215
33217
  plus: aF,
33216
33218
  "paper-plane": uF
33217
- }, q0 = ({
33219
+ }, qm = ({
33218
33220
  icon: e,
33219
33221
  className: t
33220
33222
  }) => {
@@ -33235,7 +33237,7 @@ const jF = ({ children: e }) => {
33235
33237
  "has-icon": !!c,
33236
33238
  "icon-right": !!c && f === "right"
33237
33239
  }, b = (_) => /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
33238
- c && /* @__PURE__ */ x.jsx(q0, { icon: c, className: `${z}-suggestion-button-icon` }),
33240
+ c && /* @__PURE__ */ x.jsx(qm, { icon: c, className: `${z}-suggestion-button-icon` }),
33239
33241
  /* @__PURE__ */ x.jsx("span", { children: _ })
33240
33242
  ] });
33241
33243
  return /* @__PURE__ */ x.jsx(
@@ -33354,10 +33356,10 @@ const jF = ({ children: e }) => {
33354
33356
  }, ZF = ({ isWidgetStandalone: e }) => {
33355
33357
  var _, C;
33356
33358
  const { globalClassName: t, entryMessage: n, resetConversationMessage: r, suggestionButtonConfig: s } = Je(), { askCimPrompts: a, messages: u } = tr(), { isLoading: c, handleSuggestion: f } = Mr(), d = s == null ? void 0 : s.icon, p = (_ = s == null ? void 0 : s.iconPosition) != null ? _ : "left", m = B.useMemo(() => {
33357
- const w = typeof n == "string" ? n : "Hi! I'm your Cimulate Co-Pilot. Ask me anything — I can help you find products, compare items, discover trends, and more!";
33358
- return u.some((P) => P.name === "conversation_reset") && r || w;
33359
- }, [u, n, r]), b = ((C = a.message) == null ? void 0 : C.suggestions) || [], y = (w, A) => () => {
33360
- f(w, A);
33359
+ const N = typeof n == "string" ? n : "Hi! I'm your Cimulate Co-Pilot. Ask me anything — I can help you find products, compare items, discover trends, and more!";
33360
+ return u.some((P) => P.name === "conversation_reset") && r || N;
33361
+ }, [u, n, r]), b = ((C = a.message) == null ? void 0 : C.suggestions) || [], y = (N, A) => () => {
33362
+ f(N, A);
33361
33363
  };
33362
33364
  return /* @__PURE__ */ x.jsxs(
33363
33365
  "div",
@@ -33379,7 +33381,7 @@ const jF = ({ children: e }) => {
33379
33381
  `${z}-suggestion-container`,
33380
33382
  e ? "standalone" : "embedded"
33381
33383
  ),
33382
- children: b.map((w) => {
33384
+ children: b.map((N) => {
33383
33385
  var A;
33384
33386
  return /* @__PURE__ */ x.jsxs(
33385
33387
  Hc,
@@ -33396,21 +33398,21 @@ const jF = ({ children: e }) => {
33396
33398
  }
33397
33399
  ),
33398
33400
  onClick: y(
33399
- w,
33401
+ N,
33400
33402
  ((A = a.message) == null ? void 0 : A.eventSourceId) || ""
33401
33403
  ),
33402
33404
  children: [
33403
33405
  d && /* @__PURE__ */ x.jsx(
33404
- q0,
33406
+ qm,
33405
33407
  {
33406
33408
  icon: d,
33407
33409
  className: `${z}-suggestion-button-icon`
33408
33410
  }
33409
33411
  ),
33410
- /* @__PURE__ */ x.jsx("span", { children: w.displayText })
33412
+ /* @__PURE__ */ x.jsx("span", { children: N.displayText })
33411
33413
  ]
33412
33414
  },
33413
- w.displayText
33415
+ N.displayText
33414
33416
  );
33415
33417
  })
33416
33418
  }
@@ -33573,8 +33575,8 @@ const jF = ({ children: e }) => {
33573
33575
  }) => {
33574
33576
  var _;
33575
33577
  const { isLoading: a } = Mr(), { messages: u } = tr(), c = u.find((C) => C.id === n.eventSourceId), f = !!c, d = ((_ = c == null ? void 0 : c.name) == null ? void 0 : _.replace("_suggestions", "")) || "", p = f ? Zw(d) : null, b = a || !f || !(f && (p === t || t === "ask_cim")), y = (C) => {
33576
- const w = n.suggestions.find((A) => A.displayText === C);
33577
- w && s(w, n.eventSourceId || n.id);
33578
+ const N = n.suggestions.find((A) => A.displayText === C);
33579
+ N && s(N, n.eventSourceId || n.id);
33578
33580
  };
33579
33581
  return /* @__PURE__ */ x.jsxs("div", { className: W(e, `${z}-follow-up`), children: [
33580
33582
  /* @__PURE__ */ x.jsx("p", { className: W(e, `${z}-text`), children: n.message }),
@@ -33627,25 +33629,25 @@ function s9(e, t, n) {
33627
33629
  function f(d, p) {
33628
33630
  const m = p[p.length - 1], b = a[u][0], y = a[u][1];
33629
33631
  let _ = 0;
33630
- const w = m.children.indexOf(d);
33632
+ const N = m.children.indexOf(d);
33631
33633
  let A = !1, P = [];
33632
33634
  b.lastIndex = 0;
33633
- let N = b.exec(d.value);
33634
- for (; N; ) {
33635
- const H = N.index, Y = {
33636
- index: N.index,
33637
- input: N.input,
33635
+ let w = b.exec(d.value);
33636
+ for (; w; ) {
33637
+ const H = w.index, Y = {
33638
+ index: w.index,
33639
+ input: w.input,
33638
33640
  stack: [...p, d]
33639
33641
  };
33640
- let R = y(...N, Y);
33642
+ let R = y(...w, Y);
33641
33643
  if (typeof R == "string" && (R = R.length > 0 ? { type: "text", value: R } : void 0), R === !1 ? b.lastIndex = H + 1 : (_ !== H && P.push({
33642
33644
  type: "text",
33643
33645
  value: d.value.slice(_, H)
33644
- }), Array.isArray(R) ? P.push(...R) : R && P.push(R), _ = H + N[0].length, A = !0), !b.global)
33646
+ }), Array.isArray(R) ? P.push(...R) : R && P.push(R), _ = H + w[0].length, A = !0), !b.global)
33645
33647
  break;
33646
- N = b.exec(d.value);
33648
+ w = b.exec(d.value);
33647
33649
  }
33648
- return A ? (_ < d.value.length && P.push({ type: "text", value: d.value.slice(_) }), m.children.splice(w, 1, ...P)) : P = [d], w + P.length;
33650
+ return A ? (_ < d.value.length && P.push({ type: "text", value: d.value.slice(_) }), m.children.splice(N, 1, ...P)) : P = [d], N + P.length;
33649
33651
  }
33650
33652
  }
33651
33653
  function o9(e) {
@@ -33931,17 +33933,17 @@ function H9(e, t) {
33931
33933
  const n = t || {}, r = (n.align || []).concat(), s = n.stringLength || U9, a = [], u = [], c = [], f = [];
33932
33934
  let d = 0, p = -1;
33933
33935
  for (; ++p < e.length; ) {
33934
- const C = [], w = [];
33936
+ const C = [], N = [];
33935
33937
  let A = -1;
33936
33938
  for (e[p].length > d && (d = e[p].length); ++A < e[p].length; ) {
33937
33939
  const P = z9(e[p][A]);
33938
33940
  if (n.alignDelimiters !== !1) {
33939
- const N = s(P);
33940
- w[A] = N, (f[A] === void 0 || N > f[A]) && (f[A] = N);
33941
+ const w = s(P);
33942
+ N[A] = w, (f[A] === void 0 || w > f[A]) && (f[A] = w);
33941
33943
  }
33942
33944
  C.push(P);
33943
33945
  }
33944
- u[p] = C, c[p] = w;
33946
+ u[p] = C, c[p] = N;
33945
33947
  }
33946
33948
  let m = -1;
33947
33949
  if (typeof r == "object" && "length" in r)
@@ -33956,31 +33958,31 @@ function H9(e, t) {
33956
33958
  const b = [], y = [];
33957
33959
  for (; ++m < d; ) {
33958
33960
  const C = a[m];
33959
- let w = "", A = "";
33960
- C === 99 ? (w = ":", A = ":") : C === 108 ? w = ":" : C === 114 && (A = ":");
33961
+ let N = "", A = "";
33962
+ C === 99 ? (N = ":", A = ":") : C === 108 ? N = ":" : C === 114 && (A = ":");
33961
33963
  let P = n.alignDelimiters === !1 ? 1 : Math.max(
33962
33964
  1,
33963
- f[m] - w.length - A.length
33965
+ f[m] - N.length - A.length
33964
33966
  );
33965
- const N = w + "-".repeat(P) + A;
33966
- n.alignDelimiters !== !1 && (P = w.length + P + A.length, P > f[m] && (f[m] = P), y[m] = P), b[m] = N;
33967
+ const w = N + "-".repeat(P) + A;
33968
+ n.alignDelimiters !== !1 && (P = N.length + P + A.length, P > f[m] && (f[m] = P), y[m] = P), b[m] = w;
33967
33969
  }
33968
33970
  u.splice(1, 0, b), c.splice(1, 0, y), p = -1;
33969
33971
  const _ = [];
33970
33972
  for (; ++p < u.length; ) {
33971
- const C = u[p], w = c[p];
33973
+ const C = u[p], N = c[p];
33972
33974
  m = -1;
33973
33975
  const A = [];
33974
33976
  for (; ++m < d; ) {
33975
33977
  const P = C[m] || "";
33976
- let N = "", H = "";
33978
+ let w = "", H = "";
33977
33979
  if (n.alignDelimiters !== !1) {
33978
- const Y = f[m] - (w[m] || 0), R = a[m];
33979
- R === 114 ? N = " ".repeat(Y) : R === 99 ? Y % 2 ? (N = " ".repeat(Y / 2 + 0.5), H = " ".repeat(Y / 2 - 0.5)) : (N = " ".repeat(Y / 2), H = N) : H = " ".repeat(Y);
33980
+ const Y = f[m] - (N[m] || 0), R = a[m];
33981
+ R === 114 ? w = " ".repeat(Y) : R === 99 ? Y % 2 ? (w = " ".repeat(Y / 2 + 0.5), H = " ".repeat(Y / 2 - 0.5)) : (w = " ".repeat(Y / 2), H = w) : H = " ".repeat(Y);
33980
33982
  }
33981
33983
  n.delimiterStart !== !1 && !m && A.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
33982
33984
  // empty: there will be a closing space.
33983
- !(n.alignDelimiters === !1 && P === "") && (n.delimiterStart !== !1 || m) && A.push(" "), n.alignDelimiters !== !1 && A.push(N), A.push(P), n.alignDelimiters !== !1 && A.push(H), n.padding !== !1 && A.push(" "), (n.delimiterEnd !== !1 || m !== d - 1) && A.push("|");
33985
+ !(n.alignDelimiters === !1 && P === "") && (n.delimiterStart !== !1 || m) && A.push(" "), n.alignDelimiters !== !1 && A.push(w), A.push(P), n.alignDelimiters !== !1 && A.push(H), n.padding !== !1 && A.push(" "), (n.delimiterEnd !== !1 || m !== d - 1) && A.push("|");
33984
33986
  }
33985
33987
  _.push(
33986
33988
  n.delimiterEnd === !1 ? A.join("").replace(/ +$/, "") : A.join("")
@@ -34088,7 +34090,7 @@ function W9(e, t, n, r) {
34088
34090
  function X9(e, t, n) {
34089
34091
  return (n ? "" : " ") + e;
34090
34092
  }
34091
- function Y0(e) {
34093
+ function Ym(e) {
34092
34094
  const t = e.options.quote || '"';
34093
34095
  if (t !== '"' && t !== "'")
34094
34096
  throw new Error(
@@ -34097,7 +34099,7 @@ function Y0(e) {
34097
34099
  return t;
34098
34100
  }
34099
34101
  function K9(e, t, n, r) {
34100
- const s = Y0(n), a = s === '"' ? "Quote" : "Apostrophe", u = n.enter("definition");
34102
+ const s = Ym(n), a = s === '"' ? "Quote" : "Apostrophe", u = n.enter("definition");
34101
34103
  let c = n.enter("label");
34102
34104
  const f = n.createTracker(r);
34103
34105
  let d = f.move("[");
@@ -34198,7 +34200,7 @@ function Z9(e, t) {
34198
34200
  return Wc(e, function(r) {
34199
34201
  if ("value" in r && /\r?\n|\r/.test(r.value) || r.type === "break")
34200
34202
  return n = !0, up;
34201
- }), !!((!e.depth || e.depth < 3) && a0(e) && (t.options.setext || n));
34203
+ }), !!((!e.depth || e.depth < 3) && am(e) && (t.options.setext || n));
34202
34204
  }
34203
34205
  function eB(e, t, n, r) {
34204
34206
  const s = Math.max(Math.min(6, e.depth || 1), 1), a = n.createTracker(r);
@@ -34236,7 +34238,7 @@ function tB() {
34236
34238
  }
34237
34239
  nx.peek = nB;
34238
34240
  function nx(e, t, n, r) {
34239
- const s = Y0(n), a = s === '"' ? "Quote" : "Apostrophe", u = n.enter("image");
34241
+ const s = Ym(n), a = s === '"' ? "Quote" : "Apostrophe", u = n.enter("image");
34240
34242
  let c = n.enter("label");
34241
34243
  const f = n.createTracker(r);
34242
34244
  let d = f.move("![");
@@ -34303,7 +34305,7 @@ function iB() {
34303
34305
  return "`";
34304
34306
  }
34305
34307
  function sx(e, t) {
34306
- const n = a0(e);
34308
+ const n = am(e);
34307
34309
  return !!(!t.options.resourceLink && // If there’s a url…
34308
34310
  e.url && // And there’s a no title…
34309
34311
  !e.title && // And the content of `node` is a single text node…
@@ -34315,7 +34317,7 @@ function sx(e, t) {
34315
34317
  }
34316
34318
  ox.peek = sB;
34317
34319
  function ox(e, t, n, r) {
34318
- const s = Y0(n), a = s === '"' ? "Quote" : "Apostrophe", u = n.createTracker(r);
34320
+ const s = Ym(n), a = s === '"' ? "Quote" : "Apostrophe", u = n.createTracker(r);
34319
34321
  let c, f;
34320
34322
  if (sx(e, n)) {
34321
34323
  const p = n.stack;
@@ -34376,7 +34378,7 @@ function ax(e, t, n, r) {
34376
34378
  function oB() {
34377
34379
  return "[";
34378
34380
  }
34379
- function G0(e) {
34381
+ function Gm(e) {
34380
34382
  const t = e.options.bullet || "*";
34381
34383
  if (t !== "*" && t !== "+" && t !== "-")
34382
34384
  throw new Error(
@@ -34385,7 +34387,7 @@ function G0(e) {
34385
34387
  return t;
34386
34388
  }
34387
34389
  function aB(e) {
34388
- const t = G0(e), n = e.options.bulletOther;
34390
+ const t = Gm(e), n = e.options.bulletOther;
34389
34391
  if (!n)
34390
34392
  return t === "*" ? "-" : "*";
34391
34393
  if (n !== "*" && n !== "+" && n !== "-")
@@ -34416,7 +34418,7 @@ function ux(e) {
34416
34418
  }
34417
34419
  function lB(e, t, n, r) {
34418
34420
  const s = n.enter("list"), a = n.bulletCurrent;
34419
- let u = e.ordered ? uB(n) : G0(n);
34421
+ let u = e.ordered ? uB(n) : Gm(n);
34420
34422
  const c = e.ordered ? u === "." ? ")" : "." : aB(n);
34421
34423
  let f = t && n.bulletLastUsed ? u === n.bulletLastUsed : !1;
34422
34424
  if (!e.ordered) {
@@ -34452,7 +34454,7 @@ function cB(e) {
34452
34454
  }
34453
34455
  function fB(e, t, n, r) {
34454
34456
  const s = cB(n);
34455
- let a = n.bulletCurrent || G0(n);
34457
+ let a = n.bulletCurrent || Gm(n);
34456
34458
  t && t.type === "list" && t.ordered && (a = (typeof t.start == "number" && t.start > -1 ? t.start : 1) + (n.options.incrementListMarker === !1 ? 0 : t.children.indexOf(e)) + a);
34457
34459
  let u = a.length + 1;
34458
34460
  (s === "tab" || s === "mixed" && (t && t.type === "list" && t.spread || e.spread)) && (u = Math.ceil(u / 4) * 4);
@@ -34653,20 +34655,20 @@ function wB(e) {
34653
34655
  tableRow: c
34654
34656
  }
34655
34657
  };
34656
- function u(y, _, C, w) {
34657
- return d(p(y, C, w), y.align);
34658
+ function u(y, _, C, N) {
34659
+ return d(p(y, C, N), y.align);
34658
34660
  }
34659
- function c(y, _, C, w) {
34660
- const A = m(y, C, w), P = d([A]);
34661
+ function c(y, _, C, N) {
34662
+ const A = m(y, C, N), P = d([A]);
34661
34663
  return P.slice(0, P.indexOf(`
34662
34664
  `));
34663
34665
  }
34664
- function f(y, _, C, w) {
34665
- const A = C.enter("tableCell"), P = C.enter("phrasing"), N = C.containerPhrasing(y, he(F({}, w), {
34666
+ function f(y, _, C, N) {
34667
+ const A = C.enter("tableCell"), P = C.enter("phrasing"), w = C.containerPhrasing(y, he(F({}, N), {
34666
34668
  before: a,
34667
34669
  after: a
34668
34670
  }));
34669
- return P(), A(), N;
34671
+ return P(), A(), w;
34670
34672
  }
34671
34673
  function d(y, _) {
34672
34674
  return H9(y, {
@@ -34680,24 +34682,24 @@ function wB(e) {
34680
34682
  });
34681
34683
  }
34682
34684
  function p(y, _, C) {
34683
- const w = y.children;
34685
+ const N = y.children;
34684
34686
  let A = -1;
34685
- const P = [], N = _.enter("table");
34686
- for (; ++A < w.length; )
34687
- P[A] = m(w[A], _, C);
34688
- return N(), P;
34687
+ const P = [], w = _.enter("table");
34688
+ for (; ++A < N.length; )
34689
+ P[A] = m(N[A], _, C);
34690
+ return w(), P;
34689
34691
  }
34690
34692
  function m(y, _, C) {
34691
- const w = y.children;
34693
+ const N = y.children;
34692
34694
  let A = -1;
34693
- const P = [], N = _.enter("tableRow");
34694
- for (; ++A < w.length; )
34695
- P[A] = f(w[A], y, _, C);
34696
- return N(), P;
34695
+ const P = [], w = _.enter("tableRow");
34696
+ for (; ++A < N.length; )
34697
+ P[A] = f(N[A], y, _, C);
34698
+ return w(), P;
34697
34699
  }
34698
34700
  function b(y, _, C) {
34699
- let w = cx.inlineCode(y, _, C);
34700
- return C.stack.includes("tableCell") && (w = w.replace(/\|/g, "\\$&")), w;
34701
+ let N = cx.inlineCode(y, _, C);
34702
+ return C.stack.includes("tableCell") && (N = N.replace(/\|/g, "\\$&")), N;
34701
34703
  }
34702
34704
  }
34703
34705
  function NB() {
@@ -34818,7 +34820,7 @@ function MB(e, t, n) {
34818
34820
  let s, a;
34819
34821
  return u;
34820
34822
  function u(m) {
34821
- return !Pp(m) || !yx.call(r, r.previous) || W0(r.events) ? n(m) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), c(m));
34823
+ return !Pp(m) || !yx.call(r, r.previous) || Wm(r.events) ? n(m) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), c(m));
34822
34824
  }
34823
34825
  function c(m) {
34824
34826
  return Pp(m) ? (e.consume(m), c) : m === 64 ? (e.consume(m), f) : n(m);
@@ -34837,7 +34839,7 @@ function FB(e, t, n) {
34837
34839
  const r = this;
34838
34840
  return s;
34839
34841
  function s(u) {
34840
- return u !== 87 && u !== 119 || !gx.call(r, r.previous) || W0(r.events) ? n(u) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(RB, e.attempt(fx, e.attempt(dx, a), n), n)(u));
34842
+ return u !== 87 && u !== 119 || !gx.call(r, r.previous) || Wm(r.events) ? n(u) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(RB, e.attempt(fx, e.attempt(dx, a), n), n)(u));
34841
34843
  }
34842
34844
  function a(u) {
34843
34845
  return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(u);
@@ -34848,7 +34850,7 @@ function BB(e, t, n) {
34848
34850
  let s = "", a = !1;
34849
34851
  return u;
34850
34852
  function u(m) {
34851
- return (m === 72 || m === 104) && Ex.call(r, r.previous) && !W0(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), s += String.fromCodePoint(m), e.consume(m), c) : n(m);
34853
+ return (m === 72 || m === 104) && Ex.call(r, r.previous) && !Wm(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), s += String.fromCodePoint(m), e.consume(m), c) : n(m);
34852
34854
  }
34853
34855
  function c(m) {
34854
34856
  if (bn(m) && s.length < 5)
@@ -34943,7 +34945,7 @@ function yx(e) {
34943
34945
  function Pp(e) {
34944
34946
  return e === 43 || e === 45 || e === 46 || e === 95 || ln(e);
34945
34947
  }
34946
- function W0(e) {
34948
+ function Wm(e) {
34947
34949
  let t = e.length, n = !1;
34948
34950
  for (; t--; ) {
34949
34951
  const r = e[t][1];
@@ -35199,8 +35201,8 @@ function ZB(e) {
35199
35201
  if (_ === 126)
35200
35202
  return m > 1 ? f(_) : (u.consume(_), m++, y);
35201
35203
  if (m < 2 && !n) return f(_);
35202
- const w = u.exit("strikethroughSequenceTemporary"), A = go(_);
35203
- return w._open = !A || A === 2 && !!C, w._close = !C || C === 2 && !!A, c(_);
35204
+ const N = u.exit("strikethroughSequenceTemporary"), A = go(_);
35205
+ return N._open = !A || A === 2 && !!C, N._close = !C || C === 2 && !!A, c(_);
35204
35206
  }
35205
35207
  }
35206
35208
  }
@@ -35337,21 +35339,21 @@ function i7(e, t, n) {
35337
35339
  return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(V) : (e.enter("tableDelimiterRow"), u = !1, Ke(V) ? et(e, _, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(V) : _(V));
35338
35340
  }
35339
35341
  function _(V) {
35340
- return V === 45 || V === 58 ? w(V) : V === 124 ? (u = !0, e.enter("tableCellDivider"), e.consume(V), e.exit("tableCellDivider"), C) : Y(V);
35342
+ return V === 45 || V === 58 ? N(V) : V === 124 ? (u = !0, e.enter("tableCellDivider"), e.consume(V), e.exit("tableCellDivider"), C) : Y(V);
35341
35343
  }
35342
35344
  function C(V) {
35343
- return Ke(V) ? et(e, w, "whitespace")(V) : w(V);
35345
+ return Ke(V) ? et(e, N, "whitespace")(V) : N(V);
35344
35346
  }
35345
- function w(V) {
35347
+ function N(V) {
35346
35348
  return V === 58 ? (a += 1, u = !0, e.enter("tableDelimiterMarker"), e.consume(V), e.exit("tableDelimiterMarker"), A) : V === 45 ? (a += 1, A(V)) : V === null || He(V) ? H(V) : Y(V);
35347
35349
  }
35348
35350
  function A(V) {
35349
35351
  return V === 45 ? (e.enter("tableDelimiterFiller"), P(V)) : Y(V);
35350
35352
  }
35351
35353
  function P(V) {
35352
- return V === 45 ? (e.consume(V), P) : V === 58 ? (u = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(V), e.exit("tableDelimiterMarker"), N) : (e.exit("tableDelimiterFiller"), N(V));
35354
+ return V === 45 ? (e.consume(V), P) : V === 58 ? (u = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(V), e.exit("tableDelimiterMarker"), w) : (e.exit("tableDelimiterFiller"), w(V));
35353
35355
  }
35354
- function N(V) {
35356
+ function w(V) {
35355
35357
  return Ke(V) ? et(e, H, "whitespace")(V) : H(V);
35356
35358
  }
35357
35359
  function H(V) {
@@ -35487,7 +35489,7 @@ function d7(e) {
35487
35489
  ), n = e || f7, r = t.data(), s = r.micromarkExtensions || (r.micromarkExtensions = []), a = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), u = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
35488
35490
  s.push(c7(n)), a.push(OB()), u.push(IB(n));
35489
35491
  }
35490
- const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-cursor`, children: /* @__PURE__ */ x.jsx("svg", { height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ x.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), X0 = ({
35492
+ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-cursor`, children: /* @__PURE__ */ x.jsx("svg", { height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ x.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), Xm = ({
35491
35493
  globalClassName: e,
35492
35494
  openLinksInNewTab: t,
35493
35495
  showIsLoading: n,
@@ -35652,7 +35654,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
35652
35654
  ]
35653
35655
  }
35654
35656
  ),
35655
- /* @__PURE__ */ x.jsx(X0, { text: t.message })
35657
+ /* @__PURE__ */ x.jsx(Xm, { text: t.message })
35656
35658
  ]
35657
35659
  }
35658
35660
  );
@@ -35902,8 +35904,8 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
35902
35904
  }) => {
35903
35905
  var y;
35904
35906
  const { request: r, name: s, createdAt: a } = t, { facetFiltersList: u, filterCount: c } = Tx(t), f = new Date(a).toLocaleString(), d = (y = r == null ? void 0 : r.attachments) == null ? void 0 : y.image, { actionLabel: p, query: m, queryLabel: b } = B.useMemo(() => {
35905
- var C, w, A;
35906
- const _ = typeof ((C = r == null ? void 0 : r.clientContext) == null ? void 0 : C.cimLabel) == "string" ? (w = r == null ? void 0 : r.clientContext) == null ? void 0 : w.cimLabel : r == null ? void 0 : r.label;
35907
+ var C, N, A;
35908
+ const _ = typeof ((C = r == null ? void 0 : r.clientContext) == null ? void 0 : C.cimLabel) == "string" ? (N = r == null ? void 0 : r.clientContext) == null ? void 0 : N.cimLabel : r == null ? void 0 : r.label;
35907
35909
  switch (s) {
35908
35910
  case "copilot_search":
35909
35911
  return {
@@ -36030,7 +36032,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36030
36032
  case "inquiry":
36031
36033
  case "partial_inquiry":
36032
36034
  return /* @__PURE__ */ x.jsx(
36033
- X0,
36035
+ Xm,
36034
36036
  {
36035
36037
  globalClassName: t,
36036
36038
  openLinksInNewTab: n,
@@ -36158,7 +36160,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36158
36160
  display: "flex",
36159
36161
  justifyContent: "flex-start",
36160
36162
  paddingBottom: "1rem"
36161
- }, K0 = ({
36163
+ }, Km = ({
36162
36164
  isOpen: e,
36163
36165
  isWidgetStandalone: t,
36164
36166
  isLoading: n,
@@ -36179,7 +36181,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36179
36181
  ] });
36180
36182
  }, _x = () => {
36181
36183
  const { globalClassName: e, themeVariables: t, messageAlignment: n } = Je(), { copilot: r, isLoading: s, handleUserInput: a, handleSuggestion: u, resetConversation: c } = Mr();
36182
- return V0() ? r ? /* @__PURE__ */ x.jsxs(
36184
+ return Vm() ? r ? /* @__PURE__ */ x.jsxs(
36183
36185
  "div",
36184
36186
  {
36185
36187
  className: W(
@@ -36199,7 +36201,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36199
36201
  "embedded"
36200
36202
  ),
36201
36203
  children: /* @__PURE__ */ x.jsx(
36202
- K0,
36204
+ Km,
36203
36205
  {
36204
36206
  isWidgetStandalone: !1,
36205
36207
  isLoading: s,
@@ -36209,7 +36211,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36209
36211
  }
36210
36212
  ),
36211
36213
  /* @__PURE__ */ x.jsx(
36212
- _0,
36214
+ _m,
36213
36215
  {
36214
36216
  componentType: "chat",
36215
36217
  className: "embedded-chat",
@@ -36244,7 +36246,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36244
36246
  return ys(n) ? n : Br(t).body;
36245
36247
  }, x7 = () => () => {
36246
36248
  }, xx = () => {
36247
- const { globalClassName: e, themeVariables: t, messageAlignment: n } = Je(), { mode: r, status: s, dialogPosition: a, isDialogFullHeight: u, dialogWidth: c } = er(), { copilot: f, isLoading: d, handleUserInput: p, handleSuggestion: m, resetConversation: b } = Mr(), y = V0(), { isOpen: _ } = s || {}, C = r === "standalone", w = () => {
36249
+ const { globalClassName: e, themeVariables: t, messageAlignment: n } = Je(), { mode: r, status: s, dialogPosition: a, isDialogFullHeight: u, dialogWidth: c } = er(), { copilot: f, isLoading: d, handleUserInput: p, handleSuggestion: m, resetConversation: b } = Mr(), y = Vm(), { isOpen: _ } = s || {}, C = r === "standalone", N = () => {
36248
36250
  ni(!1);
36249
36251
  };
36250
36252
  return y ? f ? /* @__PURE__ */ x.jsx(
@@ -36257,7 +36259,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36257
36259
  closeOnInteractOutside: !1,
36258
36260
  open: y,
36259
36261
  children: /* @__PURE__ */ x.jsx(Sx, { children: /* @__PURE__ */ x.jsx(
36260
- $0,
36262
+ $m,
36261
36263
  {
36262
36264
  className: W(
36263
36265
  e,
@@ -36268,16 +36270,16 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36268
36270
  ),
36269
36271
  style: F(F({}, t), c && { width: c }),
36270
36272
  children: /* @__PURE__ */ x.jsxs(
36271
- z0,
36273
+ zm,
36272
36274
  {
36273
36275
  className: W(e, `${z}-dialog-content`, {
36274
36276
  standalone: C,
36275
36277
  embedded: !C
36276
36278
  }),
36277
36279
  children: [
36278
- /* @__PURE__ */ x.jsx(W2, { componentType: "dialog", onClearChat: b, onClose: w }),
36280
+ /* @__PURE__ */ x.jsx(W2, { componentType: "dialog", onClearChat: b, onClose: N }),
36279
36281
  /* @__PURE__ */ x.jsx(
36280
- j0,
36282
+ jm,
36281
36283
  {
36282
36284
  className: W(
36283
36285
  e,
@@ -36289,7 +36291,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36289
36291
  }
36290
36292
  ),
36291
36293
  children: /* @__PURE__ */ x.jsx(
36292
- K0,
36294
+ Km,
36293
36295
  {
36294
36296
  isWidgetStandalone: C,
36295
36297
  isLoading: d,
@@ -36299,7 +36301,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36299
36301
  )
36300
36302
  }
36301
36303
  ),
36302
- /* @__PURE__ */ x.jsx(_0, { componentType: "dialog", isLoading: d, onSubmit: p })
36304
+ /* @__PURE__ */ x.jsx(_m, { componentType: "dialog", isLoading: d, onSubmit: p })
36303
36305
  ]
36304
36306
  }
36305
36307
  )
@@ -36308,8 +36310,8 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36308
36310
  }
36309
36311
  ) : /* @__PURE__ */ x.jsx("div", { children: "Loading Copilot..." }) : null;
36310
36312
  }, Ax = () => {
36311
- const { globalClassName: e, themeVariables: t, messageAlignment: n } = Je(), { mode: r, status: s, isModalFullscreen: a } = er(), { copilot: u, isLoading: c, handleUserInput: f, handleSuggestion: d, resetConversation: p } = Mr(), { isOpen: m } = s || {}, b = r === "standalone", y = V0(), _ = ({ open: w }) => {
36312
- ni(w);
36313
+ const { globalClassName: e, themeVariables: t, messageAlignment: n } = Je(), { mode: r, status: s, isModalFullscreen: a } = er(), { copilot: u, isLoading: c, handleUserInput: f, handleSuggestion: d, resetConversation: p } = Mr(), { isOpen: m } = s || {}, b = r === "standalone", y = Vm(), _ = ({ open: N }) => {
36314
+ ni(N);
36313
36315
  }, C = () => {
36314
36316
  ni(!1);
36315
36317
  };
@@ -36326,7 +36328,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36326
36328
  }
36327
36329
  ),
36328
36330
  /* @__PURE__ */ x.jsx(
36329
- $0,
36331
+ $m,
36330
36332
  {
36331
36333
  className: W(
36332
36334
  e,
@@ -36339,7 +36341,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36339
36341
  }
36340
36342
  ),
36341
36343
  children: /* @__PURE__ */ x.jsxs(
36342
- z0,
36344
+ zm,
36343
36345
  {
36344
36346
  className: W(e, `${z}-modal-content`, {
36345
36347
  standalone: b,
@@ -36348,7 +36350,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36348
36350
  children: [
36349
36351
  /* @__PURE__ */ x.jsx(W2, { componentType: "modal", onClearChat: p, onClose: C }),
36350
36352
  /* @__PURE__ */ x.jsx(
36351
- j0,
36353
+ jm,
36352
36354
  {
36353
36355
  className: W(
36354
36356
  e,
@@ -36360,7 +36362,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36360
36362
  }
36361
36363
  ),
36362
36364
  children: /* @__PURE__ */ x.jsx(
36363
- K0,
36365
+ Km,
36364
36366
  {
36365
36367
  isWidgetStandalone: b,
36366
36368
  isLoading: c,
@@ -36371,7 +36373,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36371
36373
  )
36372
36374
  }
36373
36375
  ),
36374
- /* @__PURE__ */ x.jsx(_0, { componentType: "modal", isLoading: c, onSubmit: f })
36376
+ /* @__PURE__ */ x.jsx(_m, { componentType: "modal", isLoading: c, onSubmit: f })
36375
36377
  ]
36376
36378
  }
36377
36379
  )
@@ -36386,7 +36388,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36386
36388
  } = e || { status: {} };
36387
36389
  return n ? /* @__PURE__ */ x.jsx(Ik, {}) : t === "dialog" ? /* @__PURE__ */ x.jsx(xx, {}) : t === "modal" ? /* @__PURE__ */ x.jsx(Ax, {}) : /* @__PURE__ */ x.jsx(_x, {});
36388
36390
  }, C7 = () => {
36389
- const { setIsOpen: e, setIsInline: t, setElementId: n, setEntryType: r, setParams: s } = n0();
36391
+ const { setIsOpen: e, setIsInline: t, setElementId: n, setEntryType: r, setParams: s } = nm();
36390
36392
  B.useEffect(() => {
36391
36393
  const a = (u) => {
36392
36394
  const { property: c, value: f } = u.detail || {};
@@ -36403,13 +36405,13 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36403
36405
  setPromptsMessage: u,
36404
36406
  setResponseMessage: c,
36405
36407
  setIsResponseLoading: f
36406
- } = n0(), { getCopilotSuggestions: d } = t_();
36408
+ } = nm(), { getCopilotSuggestions: d } = t_();
36407
36409
  C7();
36408
36410
  const p = B.useCallback(
36409
36411
  (_) => {
36410
36412
  if (!t || !_) return;
36411
- d(_, t, (w) => {
36412
- a(w.id);
36413
+ d(_, t, (N) => {
36414
+ a(N.id);
36413
36415
  });
36414
36416
  },
36415
36417
  [t, d, a]
@@ -36454,7 +36456,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36454
36456
  name: `${z}-prompts-form`,
36455
36457
  onSubmit: p,
36456
36458
  children: [
36457
- /* @__PURE__ */ x.jsx("label", { htmlFor: `${z}-prompts-input`, "aria-label": u, children: /* @__PURE__ */ x.jsx(H0, { className: W(n, `${z}-prompts-input-icon`) }) }),
36459
+ /* @__PURE__ */ x.jsx("label", { htmlFor: `${z}-prompts-input`, "aria-label": u, children: /* @__PURE__ */ x.jsx(Hm, { className: W(n, `${z}-prompts-input-icon`) }) }),
36458
36460
  /* @__PURE__ */ x.jsx(
36459
36461
  "input",
36460
36462
  {
@@ -36485,7 +36487,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36485
36487
  const { globalClassName: e, mode: t } = Je(), { placeholder: n } = ii(), r = n || Cx[t];
36486
36488
  return /* @__PURE__ */ x.jsxs("div", { className: W(e, `${z}-prompts-header`), children: [
36487
36489
  /* @__PURE__ */ x.jsx(
36488
- H0,
36490
+ Hm,
36489
36491
  {
36490
36492
  className: W(e, `${z}-prompts-input-icon`),
36491
36493
  "aria-hidden": "true"
@@ -36510,7 +36512,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36510
36512
  disabled: t,
36511
36513
  onClick: n,
36512
36514
  children: [
36513
- a && /* @__PURE__ */ x.jsx(q0, { icon: a, className: `${z}-suggestion-button-icon` }),
36515
+ a && /* @__PURE__ */ x.jsx(qm, { icon: a, className: `${z}-suggestion-button-icon` }),
36514
36516
  /* @__PURE__ */ x.jsx("span", { children: e })
36515
36517
  ]
36516
36518
  }
@@ -36525,35 +36527,40 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36525
36527
  disabled: t,
36526
36528
  onClick: () => ni(!0)
36527
36529
  }
36528
- ), O7 = ({
36530
+ ), O7 = (e) => Array.from(new Set((e != null ? e : []).map((t) => t.trim()).filter(Boolean))), I7 = ({
36529
36531
  sendCopilotPrompt: e
36530
36532
  }) => {
36531
- var _, C;
36533
+ var w, H;
36532
36534
  const { globalClassName: t } = Je(), {
36533
36535
  promptsMessage: n,
36534
36536
  isResponseLoading: r,
36535
36537
  isInitialized: s,
36536
36538
  isInline: a,
36537
36539
  askElseButtonLabel: u,
36538
- disableAskElseButton: c
36539
- } = ii(), f = s ? (C = (_ = n == null ? void 0 : n.suggestions) == null ? void 0 : _.map((w) => w.displayText.trim()).filter(Boolean)) != null ? C : [] : [], d = s ? Array.from(new Set(f)) : [], p = !s, b = d.length > 0 && !a && !c, y = (w) => () => {
36540
- const A = w.trim();
36541
- A && e(A);
36540
+ staticQuestions: c,
36541
+ staticQuestionsStrategy: f,
36542
+ disableAskElseButton: d
36543
+ } = ii(), p = O7(c), m = f === "override" && p.length > 0, b = s ? (H = (w = n == null ? void 0 : n.suggestions) == null ? void 0 : w.map((Y) => Y.displayText.trim()).filter(Boolean)) != null ? H : [] : [];
36544
+ let y;
36545
+ m ? y = p : f === "prepend" ? y = [...p, ...b] : y = [...b, ...p];
36546
+ const _ = s ? Array.from(new Set(y)) : [], C = !s, A = _.length > 0 && !a && !d, P = (Y) => () => {
36547
+ const R = Y.trim();
36548
+ R && e(R);
36542
36549
  };
36543
36550
  return /* @__PURE__ */ x.jsxs("div", { className: W(t, `${z}-prompts-button-group`), children: [
36544
- p && /* @__PURE__ */ x.jsx(ff, {}),
36545
- d.map((w) => /* @__PURE__ */ x.jsx(
36551
+ C && /* @__PURE__ */ x.jsx(ff, {}),
36552
+ _.map((Y) => /* @__PURE__ */ x.jsx(
36546
36553
  wx,
36547
36554
  {
36548
- label: w,
36555
+ label: Y,
36549
36556
  disabled: r,
36550
- onClick: y(w)
36557
+ onClick: P(Y)
36551
36558
  },
36552
- w
36559
+ Y
36553
36560
  )),
36554
- b && /* @__PURE__ */ x.jsx(k7, { label: u, disabled: r })
36561
+ A && /* @__PURE__ */ x.jsx(k7, { label: u, disabled: r })
36555
36562
  ] });
36556
- }, I7 = () => {
36563
+ }, R7 = () => {
36557
36564
  const { globalClassName: e } = Je(), { isInline: t, userPrompt: n } = ii();
36558
36565
  return !n || !t ? null : /* @__PURE__ */ x.jsx(
36559
36566
  "div",
@@ -36562,7 +36569,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36562
36569
  children: /* @__PURE__ */ x.jsx("p", { className: W(e, `${z}-prompts-user-message`), children: n })
36563
36570
  }
36564
36571
  );
36565
- }, R7 = () => {
36572
+ }, L7 = () => {
36566
36573
  const { globalClassName: e, openLinksInNewTab: t } = Je(), { isInline: n, responseMessage: r, isResponseLoading: s } = ii();
36567
36574
  return !n || !r && !s ? null : s ? /* @__PURE__ */ x.jsx(ff, {}) : r ? /* @__PURE__ */ x.jsx(
36568
36575
  "div",
@@ -36573,7 +36580,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36573
36580
  `${z}-message-container`
36574
36581
  ),
36575
36582
  children: /* @__PURE__ */ x.jsx(
36576
- X0,
36583
+ Xm,
36577
36584
  {
36578
36585
  globalClassName: e,
36579
36586
  openLinksInNewTab: t,
@@ -36582,7 +36589,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36582
36589
  )
36583
36590
  }
36584
36591
  ) : null;
36585
- }, L7 = () => {
36592
+ }, D7 = () => {
36586
36593
  const { globalClassName: e, themeVariables: t } = Je(), { connected: n, copilot: r } = tr(), { handleCopilotRequestAck: s } = Ao(), {
36587
36594
  status: { isOpen: a }
36588
36595
  } = er(), {
@@ -36592,17 +36599,17 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36592
36599
  entryType: d,
36593
36600
  params: p,
36594
36601
  promptsDisplay: m
36595
- } = ii(), b = m !== "buttons", y = m !== "input", { setActivePromptsId: _, setUserPrompt: C, setResponseMessage: w, setIsResponseLoading: A } = n0(), [P, N] = B.useState(null);
36602
+ } = ii(), b = m !== "buttons", y = m !== "input", { setActivePromptsId: _, setUserPrompt: C, setResponseMessage: N, setIsResponseLoading: A } = nm(), [P, w] = B.useState(null);
36596
36603
  B.useEffect(() => {
36597
36604
  if (!f || P) return;
36598
36605
  const Y = document.getElementById(f);
36599
- Y && N(Y);
36606
+ Y && w(Y);
36600
36607
  }, [f, P]);
36601
36608
  const H = B.useCallback(
36602
36609
  (Y) => {
36603
36610
  if (!r || !d || !p) return;
36604
36611
  const R = (ne) => {
36605
- c ? (w(null), C(Y), _(ne.id), A(!0)) : (a || ni(!0), s(ne));
36612
+ c ? (N(null), C(Y), _(ne.id), A(!0)) : (a || ni(!0), s(ne));
36606
36613
  }, q = {
36607
36614
  userPrompt: Y,
36608
36615
  clientContext: F({
@@ -36644,7 +36651,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36644
36651
  p,
36645
36652
  a,
36646
36653
  _,
36647
- w,
36654
+ N,
36648
36655
  C,
36649
36656
  A,
36650
36657
  s
@@ -36659,7 +36666,7 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36659
36666
  children: [
36660
36667
  b && /* @__PURE__ */ x.jsx(N7, { onSubmit: H }),
36661
36668
  !b && /* @__PURE__ */ x.jsx(v7, {}),
36662
- y && /* @__PURE__ */ x.jsx(O7, { sendCopilotPrompt: H }),
36669
+ y && /* @__PURE__ */ x.jsx(I7, { sendCopilotPrompt: H }),
36663
36670
  /* @__PURE__ */ x.jsxs(
36664
36671
  "div",
36665
36672
  {
@@ -36668,8 +36675,8 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36668
36675
  `${z}-prompts-extension-messages-container`
36669
36676
  ),
36670
36677
  children: [
36671
- /* @__PURE__ */ x.jsx(I7, {}),
36672
- /* @__PURE__ */ x.jsx(R7, {})
36678
+ /* @__PURE__ */ x.jsx(R7, {}),
36679
+ /* @__PURE__ */ x.jsx(L7, {})
36673
36680
  ]
36674
36681
  }
36675
36682
  )
@@ -36678,22 +36685,22 @@ const ff = () => /* @__PURE__ */ x.jsx("span", { className: `${z}-blinking-curso
36678
36685
  ),
36679
36686
  P
36680
36687
  );
36681
- }, D7 = () => /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
36688
+ }, M7 = () => /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
36682
36689
  /* @__PURE__ */ x.jsx(w7, {}),
36683
- /* @__PURE__ */ x.jsx(L7, {})
36684
- ] }), Q0 = (e) => /* @__PURE__ */ x.jsxs(n_, he(F({}, e), { children: [
36685
- /* @__PURE__ */ x.jsx(A7, {}),
36686
36690
  /* @__PURE__ */ x.jsx(D7, {})
36691
+ ] }), Qm = (e) => /* @__PURE__ */ x.jsxs(n_, he(F({}, e), { children: [
36692
+ /* @__PURE__ */ x.jsx(A7, {}),
36693
+ /* @__PURE__ */ x.jsx(M7, {})
36687
36694
  ] }));
36688
36695
  var Gl = {}, CT;
36689
- function M7() {
36696
+ function F7() {
36690
36697
  if (CT) return Gl;
36691
36698
  CT = 1;
36692
36699
  var e = r_();
36693
36700
  return Gl.createRoot = e.createRoot, Gl.hydrateRoot = e.hydrateRoot, Gl;
36694
36701
  }
36695
- var Nx = M7();
36696
- const F7 = (r) => {
36702
+ var Nx = F7();
36703
+ const B7 = (r) => {
36697
36704
  var s = r, {
36698
36705
  elementId: e,
36699
36706
  timeout: t = 5e3
@@ -36707,7 +36714,7 @@ const F7 = (r) => {
36707
36714
  for (const m of f)
36708
36715
  if (m.type === "childList" && m.addedNodes.length)
36709
36716
  for (const b of m.addedNodes)
36710
- b.nodeType === Node.ELEMENT_NODE && b.id === e && (ao(!0, "log", "Target element found, rendering Copilot Widget"), d.disconnect(), clearTimeout(a), (p = Nx.createRoot(b)) == null || p.render(/* @__PURE__ */ x.jsx(Q0, F({}, n))));
36717
+ b.nodeType === Node.ELEMENT_NODE && b.id === e && (ao(!0, "log", "Target element found, rendering Copilot Widget"), d.disconnect(), clearTimeout(a), (p = Nx.createRoot(b)) == null || p.render(/* @__PURE__ */ x.jsx(Qm, F({}, n))));
36711
36718
  }, c = new MutationObserver(u);
36712
36719
  return c.observe(document.body, {
36713
36720
  childList: !0,
@@ -36719,7 +36726,7 @@ const F7 = (r) => {
36719
36726
  `Element with id: ${e} not found within ${t} milliseconds, stopping observation`
36720
36727
  );
36721
36728
  }, t), c;
36722
- }, B7 = (r) => {
36729
+ }, U7 = (r) => {
36723
36730
  var s = r, {
36724
36731
  timeout: e,
36725
36732
  elementId: t
@@ -36733,11 +36740,11 @@ const F7 = (r) => {
36733
36740
  }
36734
36741
  const a = document.getElementById(t);
36735
36742
  if (!a) {
36736
- ao(!0, "warn", "Container element not found for id:", t), ao(!0, "warn", "Beginning observation for element"), F7(F({ elementId: t, timeout: e }, n));
36743
+ ao(!0, "warn", "Container element not found for id:", t), ao(!0, "warn", "Beginning observation for element"), B7(F({ elementId: t, timeout: e }, n));
36737
36744
  return;
36738
36745
  }
36739
- Nx.createRoot(a).render(/* @__PURE__ */ x.jsx(Q0, F({}, n)));
36740
- }, U7 = {
36746
+ Nx.createRoot(a).render(/* @__PURE__ */ x.jsx(Qm, F({}, n)));
36747
+ }, H7 = {
36741
36748
  search: tk,
36742
36749
  browse: RP,
36743
36750
  pdp: {
@@ -36749,9 +36756,9 @@ const F7 = (r) => {
36749
36756
  setEntryType: Ba,
36750
36757
  toggleWidgetOpen: ni,
36751
36758
  toggleWidgetMinimized: Fc,
36752
- toggleModalFullscreen: e0,
36759
+ toggleModalFullscreen: em,
36753
36760
  setWidgetType: Bc,
36754
- setWidgetDialogPosition: t0,
36761
+ setWidgetDialogPosition: tm,
36755
36762
  togglePromptsExtensionOpen: jb,
36756
36763
  togglePromptsExtensionInline: $b,
36757
36764
  loadPromptsComponent: VP,
@@ -36761,25 +36768,25 @@ const F7 = (r) => {
36761
36768
  getProductViewPrompts: $P
36762
36769
  },
36763
36770
  session: XP
36764
- }, H7 = () => Object.freeze({
36771
+ }, z7 = () => Object.freeze({
36765
36772
  search: Object.freeze(gt.state),
36766
36773
  browse: Object.freeze(ot.state),
36767
36774
  pdp: Object.freeze(hr.state),
36768
36775
  isConnected: Xe.state.connected,
36769
36776
  isOpen: Xe.isOpen,
36770
36777
  entryType: Xe.entryType
36771
- }), dU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36778
+ }), hU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36772
36779
  __proto__: null,
36773
36780
  CopilotDialog: xx,
36774
36781
  CopilotEmbed: _x,
36775
36782
  CopilotModal: Ax,
36776
- CopilotWidget: Q0,
36783
+ CopilotWidget: Qm,
36777
36784
  CopilotWidgetProvider: n_,
36778
- eventHandlers: U7,
36779
- injectCopilotWidget: B7,
36780
- state: H7,
36785
+ eventHandlers: H7,
36786
+ injectCopilotWidget: U7,
36787
+ state: z7,
36781
36788
  useCopilot: Mr
36782
36789
  }, Symbol.toStringTag, { value: "Module" }));
36783
36790
  export {
36784
- dU as default
36791
+ hU as default
36785
36792
  };