@slashid/jump-page 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as g from "react";
2
- import $, { useLayoutEffect as yn, forwardRef as Le, useCallback as Te, useState as ve, useMemo as we, createContext as Qe, useContext as mr, useEffect as ye, useRef as Ze, Children as Xe, isValidElement as or, createElement as _e, cloneElement as $o, Fragment as sd, useReducer as ld } from "react";
2
+ import $, { useLayoutEffect as yn, forwardRef as Ie, useCallback as Te, useState as ve, useMemo as we, createContext as Qe, useContext as mr, useEffect as ye, useRef as Ze, Children as Xe, isValidElement as or, createElement as _e, cloneElement as $o, Fragment as sd, useReducer as ld } from "react";
3
3
  import { Errors as Me, SlashID as cd } from "@slashid/slashid";
4
4
  import * as gr from "react-dom";
5
5
  import { createPortal as ud, flushSync as dd } from "react-dom";
@@ -84,7 +84,7 @@ function pd() {
84
84
  function H(v) {
85
85
  return v.displayName || "Context";
86
86
  }
87
- function G(v) {
87
+ function W(v) {
88
88
  if (v == null)
89
89
  return null;
90
90
  if (typeof v.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof v == "function")
@@ -117,11 +117,11 @@ function pd() {
117
117
  return K(v, v.render, "ForwardRef");
118
118
  case f:
119
119
  var V = v.displayName || null;
120
- return V !== null ? V : G(v.type) || "Memo";
120
+ return V !== null ? V : W(v.type) || "Memo";
121
121
  case y: {
122
122
  var ae = v, ue = ae._payload, te = ae._init;
123
123
  try {
124
- return G(te(ue));
124
+ return W(te(ue));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,7 +129,7 @@ function pd() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var L = Object.assign, Y = 0, A, U, J, z, q, T, D;
132
+ var I = Object.assign, Y = 0, A, U, J, z, q, T, D;
133
133
  function M() {
134
134
  }
135
135
  M.__reactDisabledLog = !0;
@@ -165,25 +165,25 @@ function pd() {
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: L({}, v, {
168
+ log: I({}, v, {
169
169
  value: A
170
170
  }),
171
- info: L({}, v, {
171
+ info: I({}, v, {
172
172
  value: U
173
173
  }),
174
- warn: L({}, v, {
174
+ warn: I({}, v, {
175
175
  value: J
176
176
  }),
177
- error: L({}, v, {
177
+ error: I({}, v, {
178
178
  value: z
179
179
  }),
180
- group: L({}, v, {
180
+ group: I({}, v, {
181
181
  value: q
182
182
  }),
183
- groupCollapsed: L({}, v, {
183
+ groupCollapsed: I({}, v, {
184
184
  value: T
185
185
  }),
186
- groupEnd: L({}, v, {
186
+ groupEnd: I({}, v, {
187
187
  value: D
188
188
  })
189
189
  });
@@ -191,30 +191,30 @@ function pd() {
191
191
  Y < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var ce = w.ReactCurrentDispatcher, I;
194
+ var ce = w.ReactCurrentDispatcher, L;
195
195
  function X(v, j, P) {
196
196
  {
197
- if (I === void 0)
197
+ if (L === void 0)
198
198
  try {
199
199
  throw Error();
200
200
  } catch (ae) {
201
201
  var V = ae.stack.trim().match(/\n( *(at )?)/);
202
- I = V && V[1] || "";
202
+ L = V && V[1] || "";
203
203
  }
204
204
  return `
205
- ` + I + v;
205
+ ` + L + v;
206
206
  }
207
207
  }
208
- var oe = !1, W;
208
+ var oe = !1, G;
209
209
  {
210
210
  var ee = typeof WeakMap == "function" ? WeakMap : Map;
211
- W = new ee();
211
+ G = new ee();
212
212
  }
213
213
  function R(v, j) {
214
214
  if (!v || oe)
215
215
  return "";
216
216
  {
217
- var P = W.get(v);
217
+ var P = G.get(v);
218
218
  if (P !== void 0)
219
219
  return P;
220
220
  }
@@ -269,7 +269,7 @@ function pd() {
269
269
  if (he--, me--, me < 0 || Q[he] !== qe[me]) {
270
270
  var Ae = `
271
271
  ` + Q[he].replace(" at new ", " at ");
272
- return v.displayName && Ae.includes("<anonymous>") && (Ae = Ae.replace("<anonymous>", v.displayName)), typeof v == "function" && W.set(v, Ae), Ae;
272
+ return v.displayName && Ae.includes("<anonymous>") && (Ae = Ae.replace("<anonymous>", v.displayName)), typeof v == "function" && G.set(v, Ae), Ae;
273
273
  }
274
274
  while (he >= 1 && me >= 0);
275
275
  break;
@@ -279,7 +279,7 @@ function pd() {
279
279
  oe = !1, ce.current = ue, de(), Error.prepareStackTrace = ae;
280
280
  }
281
281
  var Ot = v ? v.displayName || v.name : "", Ka = Ot ? X(Ot) : "";
282
- return typeof v == "function" && W.set(v, Ka), Ka;
282
+ return typeof v == "function" && G.set(v, Ka), Ka;
283
283
  }
284
284
  function be(v, j, P) {
285
285
  return R(v, !1);
@@ -317,13 +317,13 @@ function pd() {
317
317
  }
318
318
  return "";
319
319
  }
320
- var Ye = Object.prototype.hasOwnProperty, In = {}, Ln = w.ReactDebugCurrentFrame;
320
+ var Ye = Object.prototype.hasOwnProperty, Ln = {}, In = w.ReactDebugCurrentFrame;
321
321
  function nt(v) {
322
322
  if (v) {
323
323
  var j = v._owner, P = Re(v.type, v._source, j ? j.type : null);
324
- Ln.setExtraStackFrame(P);
324
+ In.setExtraStackFrame(P);
325
325
  } else
326
- Ln.setExtraStackFrame(null);
326
+ In.setExtraStackFrame(null);
327
327
  }
328
328
  function $u(v, j, P, V, ae) {
329
329
  {
@@ -340,7 +340,7 @@ function pd() {
340
340
  } catch (he) {
341
341
  Q = he;
342
342
  }
343
- Q && !(Q instanceof Error) && (nt(ae), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", P, te, typeof Q), nt(null)), Q instanceof Error && !(Q.message in In) && (In[Q.message] = !0, nt(ae), _("Failed %s type: %s", P, Q.message), nt(null));
343
+ Q && !(Q instanceof Error) && (nt(ae), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", P, te, typeof Q), nt(null)), Q instanceof Error && !(Q.message in Ln) && (Ln[Q.message] = !0, nt(ae), _("Failed %s type: %s", P, Q.message), nt(null));
344
344
  }
345
345
  }
346
346
  }
@@ -374,7 +374,7 @@ function pd() {
374
374
  __self: !0,
375
375
  __source: !0
376
376
  }, $a, Ha;
377
- function Gu(v) {
377
+ function Wu(v) {
378
378
  if (Ye.call(v, "ref")) {
379
379
  var j = Object.getOwnPropertyDescriptor(v, "ref").get;
380
380
  if (j && j.isReactWarning)
@@ -382,7 +382,7 @@ function pd() {
382
382
  }
383
383
  return v.ref !== void 0;
384
384
  }
385
- function Wu(v) {
385
+ function Gu(v) {
386
386
  if (Ye.call(v, "key")) {
387
387
  var j = Object.getOwnPropertyDescriptor(v, "key").get;
388
388
  if (j && j.isReactWarning)
@@ -447,7 +447,7 @@ function pd() {
447
447
  function Ju(v, j, P, V, ae) {
448
448
  {
449
449
  var ue, te = {}, Q = null, qe = null;
450
- P !== void 0 && (Da(P), Q = "" + P), Wu(j) && (Da(j.key), Q = "" + j.key), Gu(j) && (qe = j.ref, Yu(j, ae));
450
+ P !== void 0 && (Da(P), Q = "" + P), Gu(j) && (Da(j.key), Q = "" + j.key), Wu(j) && (qe = j.ref, Yu(j, ae));
451
451
  for (ue in j)
452
452
  Ye.call(j, ue) && !Vu.hasOwnProperty(ue) && (te[ue] = j[ue]);
453
453
  if (v && v.defaultProps) {
@@ -463,7 +463,7 @@ function pd() {
463
463
  }
464
464
  }
465
465
  var Dr = w.ReactCurrentOwner, Ua = w.ReactDebugCurrentFrame;
466
- function Lt(v) {
466
+ function It(v) {
467
467
  if (v) {
468
468
  var j = v._owner, P = Re(v.type, v._source, j ? j.type : null);
469
469
  Ua.setExtraStackFrame(P);
@@ -478,7 +478,7 @@ function pd() {
478
478
  function Ba() {
479
479
  {
480
480
  if (Dr.current) {
481
- var v = G(Dr.current.type);
481
+ var v = W(Dr.current.type);
482
482
  if (v)
483
483
  return `
484
484
 
@@ -503,7 +503,7 @@ Check the top-level render call using <` + P + ">.");
503
503
  return j;
504
504
  }
505
505
  }
506
- function Ga(v, j) {
506
+ function Wa(v, j) {
507
507
  {
508
508
  if (!v._store || v._store.validated || v.key != null)
509
509
  return;
@@ -513,17 +513,17 @@ Check the top-level render call using <` + P + ">.");
513
513
  return;
514
514
  Va[P] = !0;
515
515
  var V = "";
516
- v && v._owner && v._owner !== Dr.current && (V = " It was passed a child from " + G(v._owner.type) + "."), Lt(v), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', P, V), Lt(null);
516
+ v && v._owner && v._owner !== Dr.current && (V = " It was passed a child from " + W(v._owner.type) + "."), It(v), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', P, V), It(null);
517
517
  }
518
518
  }
519
- function Wa(v, j) {
519
+ function Ga(v, j) {
520
520
  {
521
521
  if (typeof v != "object")
522
522
  return;
523
523
  if (Ar(v))
524
524
  for (var P = 0; P < v.length; P++) {
525
525
  var V = v[P];
526
- $r(V) && Ga(V, j);
526
+ $r(V) && Wa(V, j);
527
527
  }
528
528
  else if ($r(v))
529
529
  v._store && (v._store.validated = !0);
@@ -531,7 +531,7 @@ Check the top-level render call using <` + P + ">.");
531
531
  var ae = m(v);
532
532
  if (typeof ae == "function" && ae !== v.entries)
533
533
  for (var ue = ae.call(v), te; !(te = ue.next()).done; )
534
- $r(te.value) && Ga(te.value, j);
534
+ $r(te.value) && Wa(te.value, j);
535
535
  }
536
536
  }
537
537
  }
@@ -550,11 +550,11 @@ Check the top-level render call using <` + P + ">.");
550
550
  else
551
551
  return;
552
552
  if (P) {
553
- var V = G(j);
553
+ var V = W(j);
554
554
  $u(P, v.props, "prop", V, v);
555
555
  } else if (j.PropTypes !== void 0 && !Fr) {
556
556
  Fr = !0;
557
- var ae = G(j);
557
+ var ae = W(j);
558
558
  _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ae || "Unknown");
559
559
  }
560
560
  typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -565,11 +565,11 @@ Check the top-level render call using <` + P + ">.");
565
565
  for (var j = Object.keys(v.props), P = 0; P < j.length; P++) {
566
566
  var V = j[P];
567
567
  if (V !== "children" && V !== "key") {
568
- Lt(v), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", V), Lt(null);
568
+ It(v), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", V), It(null);
569
569
  break;
570
570
  }
571
571
  }
572
- v.ref !== null && (Lt(v), _("Invalid attribute `ref` supplied to `React.Fragment`."), Lt(null));
572
+ v.ref !== null && (It(v), _("Invalid attribute `ref` supplied to `React.Fragment`."), It(null));
573
573
  }
574
574
  }
575
575
  function Ya(v, j, P, V, ae, ue) {
@@ -581,7 +581,7 @@ Check the top-level render call using <` + P + ">.");
581
581
  var qe = Qu();
582
582
  qe ? Q += qe : Q += Ba();
583
583
  var he;
584
- v === null ? he = "null" : Ar(v) ? he = "array" : v !== void 0 && v.$$typeof === t ? (he = "<" + (G(v.type) || "Unknown") + " />", Q = " Did you accidentally export a JSX literal instead of a component?") : he = typeof v, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, Q);
584
+ v === null ? he = "null" : Ar(v) ? he = "array" : v !== void 0 && v.$$typeof === t ? (he = "<" + (W(v.type) || "Unknown") + " />", Q = " Did you accidentally export a JSX literal instead of a component?") : he = typeof v, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, Q);
585
585
  }
586
586
  var me = Ju(v, j, P, ae, ue);
587
587
  if (me == null)
@@ -592,12 +592,12 @@ Check the top-level render call using <` + P + ">.");
592
592
  if (V)
593
593
  if (Ar(Ae)) {
594
594
  for (var Ot = 0; Ot < Ae.length; Ot++)
595
- Wa(Ae[Ot], v);
595
+ Ga(Ae[Ot], v);
596
596
  Object.freeze && Object.freeze(Ae);
597
597
  } else
598
598
  _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
599
  else
600
- Wa(Ae, v);
600
+ Ga(Ae, v);
601
601
  }
602
602
  return v === r ? nd(me) : td(me), me;
603
603
  }
@@ -665,7 +665,7 @@ function Cd({ children: e, theme: t = "light", className: n }) {
665
665
  var xd = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
666
666
  const Ho = ({ className: e, variant: t = "default" }) => /* @__PURE__ */ c.jsx("div", { className: Ve(xd[t], e) });
667
667
  var wd = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, Ed = "eccmw9", kd = "eccmwa", Sd = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
668
- const zs = Le(
668
+ const zs = Ie(
669
669
  ({
670
670
  children: e,
671
671
  onClick: t,
@@ -795,7 +795,7 @@ const Nd = () => /* @__PURE__ */ c.jsxs(
795
795
  /* @__PURE__ */ c.jsx("defs", { children: /* @__PURE__ */ c.jsx("clipPath", { id: "clip0_2610_9920", children: /* @__PURE__ */ c.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
796
796
  ]
797
797
  }
798
- ), Id = () => /* @__PURE__ */ c.jsxs(
798
+ ), Ld = () => /* @__PURE__ */ c.jsxs(
799
799
  "svg",
800
800
  {
801
801
  width: "16",
@@ -870,21 +870,21 @@ const Nd = () => /* @__PURE__ */ c.jsxs(
870
870
  className: Md,
871
871
  type: "button",
872
872
  onClick: () => n(!t),
873
- children: t ? /* @__PURE__ */ c.jsx(Id, {}) : /* @__PURE__ */ c.jsx(Nd, {})
873
+ children: t ? /* @__PURE__ */ c.jsx(Ld, {}) : /* @__PURE__ */ c.jsx(Nd, {})
874
874
  }
875
875
  )
876
876
  ]
877
877
  }
878
878
  );
879
879
  };
880
- var Ld = "_1rf2mux3", Od = "_1rf2mux5", Ad = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4", primary: "_1rf2mux8 _1rf2mux4", grey: "_1rf2mux9 _1rf2mux4" }, Dd = "_1rf2muxb", Fd = { blue: "_1rf2muxc _1rf2muxa", red: "_1rf2muxd _1rf2muxa", primary: "_1rf2muxe _1rf2muxa", grey: "_1rf2muxf _1rf2muxa" }, $d = "_1rf2muxh", Hd = { blue: "_1rf2muxi _1rf2muxg", red: "_1rf2muxj _1rf2muxg", primary: "_1rf2muxk _1rf2muxg", grey: "_1rf2muxl _1rf2muxg" }, Ud = "_1rf2muxm";
880
+ var Id = "_1rf2mux3", Od = "_1rf2mux5", Ad = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4", primary: "_1rf2mux8 _1rf2mux4", grey: "_1rf2mux9 _1rf2mux4" }, Dd = "_1rf2muxb", Fd = { blue: "_1rf2muxc _1rf2muxa", red: "_1rf2muxd _1rf2muxa", primary: "_1rf2muxe _1rf2muxa", grey: "_1rf2muxf _1rf2muxa" }, $d = "_1rf2muxh", Hd = { blue: "_1rf2muxi _1rf2muxg", red: "_1rf2muxj _1rf2muxg", primary: "_1rf2muxk _1rf2muxg", grey: "_1rf2muxl _1rf2muxg" }, Ud = "_1rf2muxm";
881
881
  const _n = ({
882
882
  children: e,
883
883
  className: t,
884
884
  variant: n = "blue",
885
885
  shouldAnimate: r = !0,
886
886
  testId: o
887
- }) => /* @__PURE__ */ c.jsxs("div", { className: Ve(Ld, t), "data-testid": o, children: [
887
+ }) => /* @__PURE__ */ c.jsxs("div", { className: Ve(Id, t), "data-testid": o, children: [
888
888
  /* @__PURE__ */ c.jsx(
889
889
  "div",
890
890
  {
@@ -964,8 +964,8 @@ var Vd = (e, t, n) => {
964
964
  for (var [u, d] of e.compoundVariants)
965
965
  Vd(u, r, e.defaultVariants) && (n += " " + d);
966
966
  return n;
967
- }, Gd = js({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
968
- function Wd(e, t) {
967
+ }, Wd = js({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
968
+ function Gd(e, t) {
969
969
  if (typeof e != "object" || e === null) return e;
970
970
  var n = e[Symbol.toPrimitive];
971
971
  if (n !== void 0) {
@@ -976,7 +976,7 @@ function Wd(e, t) {
976
976
  return (t === "string" ? String : Number)(e);
977
977
  }
978
978
  function Yd(e) {
979
- var t = Wd(e, "string");
979
+ var t = Gd(e, "string");
980
980
  return typeof t == "symbol" ? t : String(t);
981
981
  }
982
982
  function Kd(e, t, n) {
@@ -1057,13 +1057,13 @@ var Zd = (e) => function() {
1057
1057
  super(D), this.name = "SprinklesError";
1058
1058
  }
1059
1059
  }
1060
- var G = (T) => typeof T == "string" ? '"'.concat(T, '"') : T, L = (T, D, M) => {
1061
- throw new q('"'.concat(T, '" has no value ').concat(G(D), ". Possible values are ").concat(Object.keys(M).map(G).join(", ")));
1060
+ var W = (T) => typeof T == "string" ? '"'.concat(T, '"') : T, I = (T, D, M) => {
1061
+ throw new q('"'.concat(T, '" has no value ').concat(W(D), ". Possible values are ").concat(Object.keys(M).map(W).join(", ")));
1062
1062
  };
1063
1063
  if (!S)
1064
1064
  throw new q('"'.concat(x, '" is not a valid sprinkle'));
1065
- if ((typeof k == "string" || typeof k == "number") && (k in S.values || L(x, k, S.values), !S.values[k].defaultClass))
1066
- throw new q('"'.concat(x, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(S.values[k].conditions).map(G).join(", ")));
1065
+ if ((typeof k == "string" || typeof k == "number") && (k in S.values || I(x, k, S.values), !S.values[k].defaultClass))
1066
+ throw new q('"'.concat(x, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(S.values[k].conditions).map(W).join(", ")));
1067
1067
  if (typeof k == "object") {
1068
1068
  if (!("conditions" in S.values[Object.keys(S.values)[0]]))
1069
1069
  throw new q('"'.concat(x, '" is not a conditional property'));
@@ -1074,12 +1074,12 @@ var Zd = (e) => function() {
1074
1074
  if (Y < k.length)
1075
1075
  throw new q('"'.concat(x, '" only supports up to ').concat(Y, " breakpoints. You passed ").concat(k.length));
1076
1076
  for (var A of k)
1077
- S.values[A] || L(x, A, S.values);
1077
+ S.values[A] || I(x, A, S.values);
1078
1078
  } else
1079
1079
  for (var U in k) {
1080
1080
  var J = k[U];
1081
- if (J != null && (S.values[J] || L(x, J, S.values), !S.values[J].conditions[U]))
1082
- throw new q('"'.concat(x, '" has no condition named ').concat(G(U), ". Possible values are ").concat(Object.keys(S.values[J].conditions).map(G).join(", ")));
1081
+ if (J != null && (S.values[J] || I(x, J, S.values), !S.values[J].conditions[U]))
1082
+ throw new q('"'.concat(x, '" has no condition named ').concat(W(U), ". Possible values are ").concat(Object.keys(S.values[J].conditions).map(W).join(", ")));
1083
1083
  }
1084
1084
  }
1085
1085
  }
@@ -1101,7 +1101,7 @@ const Bo = (e) => /* @__PURE__ */ c.jsx(
1101
1101
  {
1102
1102
  className: Ve(
1103
1103
  "sid-stack",
1104
- Gd(e.variant),
1104
+ Wd(e.variant),
1105
1105
  Rs({ gap: e.space || "2" }),
1106
1106
  e.className
1107
1107
  ),
@@ -1238,7 +1238,7 @@ const fe = {
1238
1238
  sdk: void 0,
1239
1239
  setLogo: () => {
1240
1240
  }
1241
- }, Is = Qe(Ns), qn = () => mr(Is), kt = (e) => /* @__PURE__ */ c.jsx(lo, { ...e });
1241
+ }, Ls = Qe(Ns), qn = () => mr(Ls), kt = (e) => /* @__PURE__ */ c.jsx(lo, { ...e });
1242
1242
  var af = "_1vg0oop0", sf = "_1vg0oop1", lf = "_1vg0oop2", ai = "_1vg0oop3";
1243
1243
  function cf() {
1244
1244
  const { logo: e } = qn();
@@ -1257,7 +1257,7 @@ function uf() {
1257
1257
  }
1258
1258
  );
1259
1259
  }
1260
- function Ls({ children: e, className: t, header: n = /* @__PURE__ */ c.jsx(cf, {}), footer: r = /* @__PURE__ */ c.jsx(uf, {}), style: o }) {
1260
+ function Is({ children: e, className: t, header: n = /* @__PURE__ */ c.jsx(cf, {}), footer: r = /* @__PURE__ */ c.jsx(uf, {}), style: o }) {
1261
1261
  return /* @__PURE__ */ c.jsxs("article", { style: o, className: Ve(af, t), children: [
1262
1262
  n && /* @__PURE__ */ c.jsx("header", { className: sf, children: n }),
1263
1263
  /* @__PURE__ */ c.jsx("div", { children: e }),
@@ -1438,7 +1438,7 @@ function Ef() {
1438
1438
  ] });
1439
1439
  }
1440
1440
  const Os = Object.prototype.toString;
1441
- function Go(e) {
1441
+ function Wo(e) {
1442
1442
  switch (Os.call(e)) {
1443
1443
  case "[object Error]":
1444
1444
  case "[object Exception]":
@@ -1451,7 +1451,7 @@ function Go(e) {
1451
1451
  function Jt(e, t) {
1452
1452
  return Os.call(e) === `[object ${t}]`;
1453
1453
  }
1454
- function Wo(e) {
1454
+ function Go(e) {
1455
1455
  return Jt(e, "ErrorEvent");
1456
1456
  }
1457
1457
  function ii(e) {
@@ -1648,14 +1648,14 @@ function Nf(e, t) {
1648
1648
  i = d[l], s = n.getAttribute(i), s && r.push(`[${i}="${s}"]`);
1649
1649
  return r.join("");
1650
1650
  }
1651
- function If() {
1651
+ function Lf() {
1652
1652
  try {
1653
1653
  return Xo.document.location.href;
1654
1654
  } catch {
1655
1655
  return "";
1656
1656
  }
1657
1657
  }
1658
- function Lf(e) {
1658
+ function If(e) {
1659
1659
  if (!Xo.HTMLElement)
1660
1660
  return null;
1661
1661
  let t = e;
@@ -1801,7 +1801,7 @@ function Uf(e) {
1801
1801
  return Object.keys(e).map((t) => `${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&");
1802
1802
  }
1803
1803
  function Bs(e) {
1804
- if (Go(e))
1804
+ if (Wo(e))
1805
1805
  return {
1806
1806
  message: e.message,
1807
1807
  name: e.name,
@@ -1884,7 +1884,7 @@ function Vf(e) {
1884
1884
  }
1885
1885
  }
1886
1886
  const Vs = 50, fi = /\(error: (.*)\)/, pi = /captureMessage|captureException/;
1887
- function Gs(...e) {
1887
+ function Ws(...e) {
1888
1888
  const t = e.sort((n, r) => n[0] - r[0]).map((n) => n[1]);
1889
1889
  return (n, r = 0) => {
1890
1890
  const o = [], a = n.split(`
@@ -1906,13 +1906,13 @@ function Gs(...e) {
1906
1906
  break;
1907
1907
  }
1908
1908
  }
1909
- return Wf(o);
1909
+ return Gf(o);
1910
1910
  };
1911
1911
  }
1912
- function Gf(e) {
1913
- return Array.isArray(e) ? Gs(...e) : e;
1914
- }
1915
1912
  function Wf(e) {
1913
+ return Array.isArray(e) ? Ws(...e) : e;
1914
+ }
1915
+ function Gf(e) {
1916
1916
  if (!e.length)
1917
1917
  return [];
1918
1918
  const t = Array.from(e);
@@ -1937,7 +1937,7 @@ function Rt(e, t) {
1937
1937
  function Mt(e, t) {
1938
1938
  hi[e] || (t(), hi[e] = !0);
1939
1939
  }
1940
- function Ge(e, t) {
1940
+ function We(e, t) {
1941
1941
  const n = e && nr[e];
1942
1942
  if (n)
1943
1943
  for (const r of n)
@@ -1961,7 +1961,7 @@ function Kf() {
1961
1961
  "console" in le && fo.forEach(function(e) {
1962
1962
  e in le.console && Ee(le.console, e, function(t) {
1963
1963
  return ar[e] = t, function(...n) {
1964
- Ge("console", { args: n, level: e });
1964
+ We("console", { args: n, level: e });
1965
1965
  const o = ar[e];
1966
1966
  o && o.apply(le.console, n);
1967
1967
  };
@@ -1988,14 +1988,14 @@ function Fe() {
1988
1988
  )
1989
1989
  );
1990
1990
  }
1991
- function Ws(e) {
1991
+ function Gs(e) {
1992
1992
  return e.exception && e.exception.values ? e.exception.values[0] : void 0;
1993
1993
  }
1994
1994
  function gt(e) {
1995
1995
  const { message: t, event_id: n } = e;
1996
1996
  if (t)
1997
1997
  return t;
1998
- const r = Ws(e);
1998
+ const r = Gs(e);
1999
1999
  return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
2000
2000
  }
2001
2001
  function ho(e, t, n) {
@@ -2003,7 +2003,7 @@ function ho(e, t, n) {
2003
2003
  a.value || (a.value = t || ""), a.type || (a.type = "Error");
2004
2004
  }
2005
2005
  function Cn(e, t) {
2006
- const n = Ws(e);
2006
+ const n = Gs(e);
2007
2007
  if (!n)
2008
2008
  return;
2009
2009
  const r = { type: "generic", handled: !0 }, o = n.mechanism;
@@ -2033,7 +2033,7 @@ function Xf(e) {
2033
2033
  function Jf() {
2034
2034
  if (!Ut.document)
2035
2035
  return;
2036
- const e = Ge.bind(null, "dom"), t = vi(e, !0);
2036
+ const e = We.bind(null, "dom"), t = vi(e, !0);
2037
2037
  Ut.document.addEventListener("click", t, !1), Ut.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((n) => {
2038
2038
  const r = Ut[n] && Ut[n].prototype;
2039
2039
  !r || !r.hasOwnProperty || !r.hasOwnProperty("addEventListener") || (Ee(r, "addEventListener", function(o) {
@@ -2147,7 +2147,7 @@ function op() {
2147
2147
  },
2148
2148
  startTimestamp: Date.now()
2149
2149
  };
2150
- return Ge("fetch", {
2150
+ return We("fetch", {
2151
2151
  ...o
2152
2152
  }), e.apply(le, t).then(
2153
2153
  (a) => {
@@ -2156,7 +2156,7 @@ function op() {
2156
2156
  endTimestamp: Date.now(),
2157
2157
  response: a
2158
2158
  };
2159
- return Ge("fetch", i), a;
2159
+ return We("fetch", i), a;
2160
2160
  },
2161
2161
  (a) => {
2162
2162
  const i = {
@@ -2164,7 +2164,7 @@ function op() {
2164
2164
  endTimestamp: Date.now(),
2165
2165
  error: a
2166
2166
  };
2167
- throw Ge("fetch", i), a;
2167
+ throw We("fetch", i), a;
2168
2168
  }
2169
2169
  );
2170
2170
  };
@@ -2199,7 +2199,7 @@ function ip(e) {
2199
2199
  }
2200
2200
  function sp() {
2201
2201
  Dn = le.onerror, le.onerror = function(e, t, n, r, o) {
2202
- return Ge("error", {
2202
+ return We("error", {
2203
2203
  column: r,
2204
2204
  error: o,
2205
2205
  line: n,
@@ -2215,7 +2215,7 @@ function lp(e) {
2215
2215
  }
2216
2216
  function cp() {
2217
2217
  Fn = le.onunhandledrejection, le.onunhandledrejection = function(e) {
2218
- return Ge("unhandledrejection", e), Fn && !Fn.__SENTRY_LOADER__ ? Fn.apply(this, arguments) : !0;
2218
+ return We("unhandledrejection", e), Fn && !Fn.__SENTRY_LOADER__ ? Fn.apply(this, arguments) : !0;
2219
2219
  }, le.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
2220
2220
  }
2221
2221
  const $n = Zo();
@@ -2235,7 +2235,7 @@ function dp() {
2235
2235
  const e = cn.onpopstate;
2236
2236
  cn.onpopstate = function(...n) {
2237
2237
  const r = cn.location.href, o = Hn;
2238
- if (Hn = r, Ge("history", { from: o, to: r }), e)
2238
+ if (Hn = r, We("history", { from: o, to: r }), e)
2239
2239
  try {
2240
2240
  return e.apply(this, n);
2241
2241
  } catch {
@@ -2246,7 +2246,7 @@ function dp() {
2246
2246
  const o = r.length > 2 ? r[2] : void 0;
2247
2247
  if (o) {
2248
2248
  const a = Hn, i = String(o);
2249
- Hn = i, Ge("history", { from: a, to: i });
2249
+ Hn = i, We("history", { from: a, to: i });
2250
2250
  }
2251
2251
  return n.apply(this, r);
2252
2252
  };
@@ -2285,7 +2285,7 @@ function hp() {
2285
2285
  startTimestamp: r,
2286
2286
  xhr: this
2287
2287
  };
2288
- Ge("xhr", l);
2288
+ We("xhr", l);
2289
2289
  }
2290
2290
  };
2291
2291
  return "onreadystatechange" in this && typeof this.onreadystatechange == "function" ? Ee(this, "onreadystatechange", function(s) {
@@ -2310,7 +2310,7 @@ function hp() {
2310
2310
  startTimestamp: Date.now(),
2311
2311
  xhr: this
2312
2312
  };
2313
- return Ge("xhr", o), t.apply(this, n);
2313
+ return We("xhr", o), t.apply(this, n);
2314
2314
  };
2315
2315
  });
2316
2316
  }
@@ -2747,11 +2747,11 @@ function Np(e, t = Date.now()) {
2747
2747
  const r = Date.parse(`${e}`);
2748
2748
  return isNaN(r) ? Pp : r - t;
2749
2749
  }
2750
- function Ip(e, t) {
2750
+ function Lp(e, t) {
2751
2751
  return e[t] || e.all || 0;
2752
2752
  }
2753
- function Lp(e, t, n = Date.now()) {
2754
- return Ip(e, t) > n;
2753
+ function Ip(e, t, n = Date.now()) {
2754
+ return Lp(e, t) > n;
2755
2755
  }
2756
2756
  function Op(e, { statusCode: t, headers: n }, r = Date.now()) {
2757
2757
  const o = {
@@ -2866,7 +2866,7 @@ function Bp(e, t, n, r, o, a) {
2866
2866
  event_id: t.event_id || n.event_id || Fe(),
2867
2867
  timestamp: t.timestamp || Tn()
2868
2868
  }, u = n.integrations || e.integrations.map((m) => m.name);
2869
- Vp(l, e), Yp(l, u), t.type === void 0 && Gp(l, e.stackParser);
2869
+ Vp(l, e), Yp(l, u), t.type === void 0 && Wp(l, e.stackParser);
2870
2870
  const d = Zp(r, n.captureContext);
2871
2871
  n.mechanism && Cn(l, n.mechanism);
2872
2872
  const f = o && o.getEventProcessors ? o.getEventProcessors() : [], y = lh().getScopeData();
@@ -2887,7 +2887,7 @@ function Bp(e, t, n, r, o, a) {
2887
2887
  // Run scope event processors _after_ all other processors
2888
2888
  ...y.eventProcessors
2889
2889
  ];
2890
- return ir(b, l, n).then((m) => (m && Wp(m), typeof i == "number" && i > 0 ? Kp(m, i, s) : m));
2890
+ return ir(b, l, n).then((m) => (m && Gp(m), typeof i == "number" && i > 0 ? Kp(m, i, s) : m));
2891
2891
  }
2892
2892
  function Vp(e, t) {
2893
2893
  const { environment: n, release: r, dist: o, maxValueLength: a = 250 } = t;
@@ -2898,7 +2898,7 @@ function Vp(e, t) {
2898
2898
  s && s.url && (s.url = Bt(s.url, a));
2899
2899
  }
2900
2900
  const Ci = /* @__PURE__ */ new WeakMap();
2901
- function Gp(e, t) {
2901
+ function Wp(e, t) {
2902
2902
  const n = le._sentryDebugIds;
2903
2903
  if (!n)
2904
2904
  return;
@@ -2927,7 +2927,7 @@ function Gp(e, t) {
2927
2927
  } catch {
2928
2928
  }
2929
2929
  }
2930
- function Wp(e) {
2930
+ function Gp(e) {
2931
2931
  const t = {};
2932
2932
  try {
2933
2933
  e.exception.values.forEach((r) => {
@@ -3158,7 +3158,7 @@ function ih(e, t) {
3158
3158
  e.fingerprint = e.fingerprint ? Ys(e.fingerprint) : [], t && (e.fingerprint = e.fingerprint.concat(t)), e.fingerprint && !e.fingerprint.length && delete e.fingerprint;
3159
3159
  }
3160
3160
  const sh = 100;
3161
- let Gr;
3161
+ let Wr;
3162
3162
  class lt {
3163
3163
  /** Flag if notifying is happening. */
3164
3164
  /** Callback for client to receive scope changes. */
@@ -3550,7 +3550,7 @@ class lt {
3550
3550
  }
3551
3551
  }
3552
3552
  function lh() {
3553
- return Gr || (Gr = new lt()), Gr;
3553
+ return Wr || (Wr = new lt()), Wr;
3554
3554
  }
3555
3555
  function ki() {
3556
3556
  return {
@@ -4632,7 +4632,7 @@ function gl(e, t, n = xp(
4632
4632
  const s = [];
4633
4633
  if (_i(i, (f, y) => {
4634
4634
  const h = bi(y);
4635
- if (Lp(r, h)) {
4635
+ if (Ip(r, h)) {
4636
4636
  const b = ji(f, y);
4637
4637
  e.recordDroppedEvent("ratelimit_backoff", h, b);
4638
4638
  } else
@@ -4684,7 +4684,7 @@ const Nh = [
4684
4684
  /^Javascript error: Script error\.? on line 0$/,
4685
4685
  /^ResizeObserver loop completed with undelivered notifications.$/,
4686
4686
  /^Cannot redefine property: googletag$/
4687
- ], Ih = [
4687
+ ], Lh = [
4688
4688
  /^.*\/healthcheck$/,
4689
4689
  /^.*\/healthy$/,
4690
4690
  /^.*\/live$/,
@@ -4692,7 +4692,7 @@ const Nh = [
4692
4692
  /^.*\/heartbeat$/,
4693
4693
  /^.*\/health$/,
4694
4694
  /^.*\/healthz$/
4695
- ], yl = "InboundFilters", Lh = (e = {}) => ({
4695
+ ], yl = "InboundFilters", Ih = (e = {}) => ({
4696
4696
  name: yl,
4697
4697
  // TODO v8: Remove this
4698
4698
  setupOnce() {
@@ -4702,7 +4702,7 @@ const Nh = [
4702
4702
  const o = r.getOptions(), a = Oh(e, o);
4703
4703
  return Ah(t, a) ? null : t;
4704
4704
  }
4705
- }), _l = Lh;
4705
+ }), _l = Ih;
4706
4706
  Ct(
4707
4707
  yl,
4708
4708
  _l
@@ -4719,7 +4719,7 @@ function Oh(e = {}, t = {}) {
4719
4719
  ignoreTransactions: [
4720
4720
  ...e.ignoreTransactions || [],
4721
4721
  ...t.ignoreTransactions || [],
4722
- ...e.disableTransactionDefaults ? [] : Ih
4722
+ ...e.disableTransactionDefaults ? [] : Lh
4723
4723
  ],
4724
4724
  ignoreInternal: e.ignoreInternal !== void 0 ? e.ignoreInternal : !0
4725
4725
  };
@@ -4805,7 +4805,7 @@ function sr(e) {
4805
4805
  }
4806
4806
  }
4807
4807
  let Ri;
4808
- const bl = "FunctionToString", Mi = /* @__PURE__ */ new WeakMap(), Gh = () => ({
4808
+ const bl = "FunctionToString", Mi = /* @__PURE__ */ new WeakMap(), Wh = () => ({
4809
4809
  name: bl,
4810
4810
  setupOnce() {
4811
4811
  Ri = Function.prototype.toString;
@@ -4820,7 +4820,7 @@ const bl = "FunctionToString", Mi = /* @__PURE__ */ new WeakMap(), Gh = () => ({
4820
4820
  setup(e) {
4821
4821
  Mi.set(e, !0);
4822
4822
  }
4823
- }), Cl = Gh;
4823
+ }), Cl = Wh;
4824
4824
  Ct(
4825
4825
  bl,
4826
4826
  Cl
@@ -4830,7 +4830,7 @@ let Eo = 0;
4830
4830
  function xl() {
4831
4831
  return Eo > 0;
4832
4832
  }
4833
- function Wh() {
4833
+ function Gh() {
4834
4834
  Eo++, setTimeout(() => {
4835
4835
  Eo--;
4836
4836
  });
@@ -4853,7 +4853,7 @@ function Zt(e, t = {}, n) {
4853
4853
  const a = o.map((i) => Zt(i, t));
4854
4854
  return e.apply(this, a);
4855
4855
  } catch (a) {
4856
- throw Wh(), na((i) => {
4856
+ throw Gh(), na((i) => {
4857
4857
  i.addEventProcessor((s) => (t.mechanism && (ho(s, void 0), Cn(s, t.mechanism)), s.extra = {
4858
4858
  ...s.extra,
4859
4859
  arguments: o
@@ -4905,7 +4905,7 @@ function Yh(e, t, n, r) {
4905
4905
  }
4906
4906
  return i;
4907
4907
  }
4908
- function Wr(e, t) {
4908
+ function Gr(e, t) {
4909
4909
  return {
4910
4910
  exception: {
4911
4911
  values: [wl(e, t)]
@@ -4944,19 +4944,19 @@ function Qh(e, t, n = "info", r, o) {
4944
4944
  }
4945
4945
  function oa(e, t, n, r, o) {
4946
4946
  let a;
4947
- if (Wo(t) && t.error)
4948
- return Wr(e, t.error);
4947
+ if (Go(t) && t.error)
4948
+ return Gr(e, t.error);
4949
4949
  if (ii(t) || kf(t)) {
4950
4950
  const i = t;
4951
4951
  if ("stack" in t)
4952
- a = Wr(e, t);
4952
+ a = Gr(e, t);
4953
4953
  else {
4954
4954
  const s = i.name || (ii(i) ? "DOMError" : "DOMException"), l = i.message ? `${s}: ${i.message}` : s;
4955
4955
  a = ko(e, l, n, r), ho(a, l);
4956
4956
  }
4957
4957
  return "code" in i && (a.tags = { ...a.tags, "DOMException.code": `${i.code}` }), a;
4958
4958
  }
4959
- return Go(t) ? Wr(e, t) : Yt(t) || vr(t) ? (a = Yh(e, t, n, o), Cn(a, {
4959
+ return Wo(t) ? Gr(e, t) : Yt(t) || vr(t) ? (a = Yh(e, t, n, o), Cn(a, {
4960
4960
  synthetic: !0
4961
4961
  }), a) : (a = ko(e, t, n, r), ho(a, `${t}`), Cn(a, {
4962
4962
  synthetic: !0
@@ -4981,7 +4981,7 @@ function ko(e, t, n, r) {
4981
4981
  }
4982
4982
  function e1(e, { isUnhandledRejection: t }) {
4983
4983
  const n = Bf(e), r = t ? "promise rejection" : "exception";
4984
- return Wo(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : vr(e) ? `Event \`${t1(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
4984
+ return Go(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : vr(e) ? `Event \`${t1(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
4985
4985
  }
4986
4986
  function t1(e) {
4987
4987
  try {
@@ -5190,7 +5190,7 @@ const p1 = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((
5190
5190
  }, b1 = [f1, _1], C1 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i, x1 = (e) => {
5191
5191
  const t = C1.exec(e);
5192
5192
  return t ? aa(t[2], t[1] || Er, +t[3], t[4] ? +t[4] : void 0) : void 0;
5193
- }, w1 = [d1, x1], E1 = [g1, b1, w1], k1 = Gs(...E1), El = (e, t) => {
5193
+ }, w1 = [d1, x1], E1 = [g1, b1, w1], k1 = Ws(...E1), El = (e, t) => {
5194
5194
  const n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
5195
5195
  return n || r ? [
5196
5196
  e.indexOf("@") !== -1 ? e.split("@")[0] : Er,
@@ -5243,7 +5243,7 @@ function z1(e, t) {
5243
5243
  ), s = Un), typeof i == "string" && (i = [i]);
5244
5244
  try {
5245
5245
  const u = r.event, d = P1(u) ? u.target : u;
5246
- o = Fs(d, { keyAttrs: i, maxStringLength: s }), a = Lf(d);
5246
+ o = Fs(d, { keyAttrs: i, maxStringLength: s }), a = If(d);
5247
5247
  } catch {
5248
5248
  o = "<unknown>";
5249
5249
  }
@@ -5386,7 +5386,7 @@ const ql = "Dedupe", N1 = () => {
5386
5386
  if (t.type)
5387
5387
  return t;
5388
5388
  try {
5389
- if (I1(t, e))
5389
+ if (L1(t, e))
5390
5390
  return De && F.warn("Event dropped due to being a duplicate of previously captured event."), null;
5391
5391
  } catch {
5392
5392
  }
@@ -5395,10 +5395,10 @@ const ql = "Dedupe", N1 = () => {
5395
5395
  };
5396
5396
  }, zl = N1;
5397
5397
  Ct(ql, zl);
5398
- function I1(e, t) {
5399
- return t ? !!(L1(e, t) || O1(e, t)) : !1;
5400
- }
5401
5398
  function L1(e, t) {
5399
+ return t ? !!(I1(e, t) || O1(e, t)) : !1;
5400
+ }
5401
+ function I1(e, t) {
5402
5402
  const n = e.message, r = t.message;
5403
5403
  return !(!n && !r || n && !r || !n && r || n !== r || !jl(e, t) || !Tl(e, t));
5404
5404
  }
@@ -5456,7 +5456,7 @@ const Rl = "GlobalHandlers", A1 = (e = {}) => {
5456
5456
  Error.stackTraceLimit = 50;
5457
5457
  },
5458
5458
  setup(n) {
5459
- t.onerror && (D1(n), Ii("onerror")), t.onunhandledrejection && (F1(n), Ii("onunhandledrejection"));
5459
+ t.onerror && (D1(n), Li("onerror")), t.onunhandledrejection && (F1(n), Li("onunhandledrejection"));
5460
5460
  }
5461
5461
  };
5462
5462
  }, Ml = A1;
@@ -5527,7 +5527,7 @@ function H1(e) {
5527
5527
  }
5528
5528
  function U1(e, t, n, r) {
5529
5529
  const o = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
5530
- let a = Wo(e) ? e.message : e, i = "Error";
5530
+ let a = Go(e) ? e.message : e, i = "Error";
5531
5531
  const s = a.match(o);
5532
5532
  return s && (i = s[1], a = s[2]), Pl({
5533
5533
  exception: {
@@ -5541,7 +5541,7 @@ function U1(e, t, n, r) {
5541
5541
  }, t, n, r);
5542
5542
  }
5543
5543
  function Pl(e, t, n, r) {
5544
- const o = e.exception = e.exception || {}, a = o.values = o.values || [], i = a[0] = a[0] || {}, s = i.stacktrace = i.stacktrace || {}, l = s.frames = s.frames || [], u = isNaN(parseInt(r, 10)) ? void 0 : r, d = isNaN(parseInt(n, 10)) ? void 0 : n, f = st(t) && t.length > 0 ? t : If();
5544
+ const o = e.exception = e.exception || {}, a = o.values = o.values || [], i = a[0] = a[0] || {}, s = i.stacktrace = i.stacktrace || {}, l = s.frames = s.frames || [], u = isNaN(parseInt(r, 10)) ? void 0 : r, d = isNaN(parseInt(n, 10)) ? void 0 : n, f = st(t) && t.length > 0 ? t : Lf();
5545
5545
  return l.length === 0 && l.push({
5546
5546
  colno: u,
5547
5547
  filename: f,
@@ -5550,7 +5550,7 @@ function Pl(e, t, n, r) {
5550
5550
  lineno: d
5551
5551
  }), e;
5552
5552
  }
5553
- function Ii(e) {
5553
+ function Li(e) {
5554
5554
  De && F.log(`Global Handler attached: ${e}`);
5555
5555
  }
5556
5556
  function Nl() {
@@ -5560,8 +5560,8 @@ function Nl() {
5560
5560
  attachStacktrace: !1
5561
5561
  };
5562
5562
  }
5563
- const Il = "HttpContext", B1 = () => ({
5564
- name: Il,
5563
+ const Ll = "HttpContext", B1 = () => ({
5564
+ name: Ll,
5565
5565
  // TODO v8: Remove this
5566
5566
  setupOnce() {
5567
5567
  },
@@ -5576,10 +5576,10 @@ const Il = "HttpContext", B1 = () => ({
5576
5576
  }, a = { ...e.request, ...t && { url: t }, headers: o };
5577
5577
  e.request = a;
5578
5578
  }
5579
- }), Ll = B1;
5580
- Ct(Il, Ll);
5581
- const V1 = "cause", G1 = 5, Ol = "LinkedErrors", W1 = (e = {}) => {
5582
- const t = e.limit || G1, n = e.key || V1;
5579
+ }), Il = B1;
5580
+ Ct(Ll, Il);
5581
+ const V1 = "cause", W1 = 5, Ol = "LinkedErrors", G1 = (e = {}) => {
5582
+ const t = e.limit || W1, n = e.key || V1;
5583
5583
  return {
5584
5584
  name: Ol,
5585
5585
  // TODO v8: Remove this
@@ -5600,7 +5600,7 @@ const V1 = "cause", G1 = 5, Ol = "LinkedErrors", W1 = (e = {}) => {
5600
5600
  );
5601
5601
  }
5602
5602
  };
5603
- }, Al = W1;
5603
+ }, Al = G1;
5604
5604
  Ct(Ol, Al);
5605
5605
  const Y1 = [
5606
5606
  "EventTarget",
@@ -5648,7 +5648,7 @@ const Y1 = [
5648
5648
  // TODO: This currently only works for the first client this is setup
5649
5649
  // We may want to adjust this to check for client etc.
5650
5650
  setupOnce() {
5651
- t.setTimeout && Ee(re, "setTimeout", Li), t.setInterval && Ee(re, "setInterval", Li), t.requestAnimationFrame && Ee(re, "requestAnimationFrame", Z1), t.XMLHttpRequest && "XMLHttpRequest" in re && Ee(XMLHttpRequest.prototype, "send", X1);
5651
+ t.setTimeout && Ee(re, "setTimeout", Ii), t.setInterval && Ee(re, "setInterval", Ii), t.requestAnimationFrame && Ee(re, "requestAnimationFrame", Z1), t.XMLHttpRequest && "XMLHttpRequest" in re && Ee(XMLHttpRequest.prototype, "send", X1);
5652
5652
  const n = t.eventTarget;
5653
5653
  n && (Array.isArray(n) ? n : Y1).forEach(J1);
5654
5654
  }
@@ -5658,7 +5658,7 @@ Ct(
5658
5658
  Dl,
5659
5659
  Fl
5660
5660
  );
5661
- function Li(e) {
5661
+ function Ii(e) {
5662
5662
  return function(...t) {
5663
5663
  const n = t[0];
5664
5664
  return t[0] = Zt(n, {
@@ -5765,7 +5765,7 @@ const Q1 = [
5765
5765
  Ml(),
5766
5766
  Al(),
5767
5767
  zl(),
5768
- Ll()
5768
+ Il()
5769
5769
  ];
5770
5770
  function em(e) {
5771
5771
  return [
@@ -5777,7 +5777,7 @@ function tm(e = {}) {
5777
5777
  e.defaultIntegrations === void 0 && (e.defaultIntegrations = em()), e.release === void 0 && (typeof __SENTRY_RELEASE__ == "string" && (e.release = __SENTRY_RELEASE__), re.SENTRY_RELEASE && re.SENTRY_RELEASE.id && (e.release = re.SENTRY_RELEASE.id)), e.autoSessionTracking === void 0 && (e.autoSessionTracking = !0), e.sendClientReports === void 0 && (e.sendClientReports = !0);
5778
5778
  const t = {
5779
5779
  ...e,
5780
- stackParser: Gf(e.stackParser || k1),
5780
+ stackParser: Wf(e.stackParser || k1),
5781
5781
  integrations: Ch(e),
5782
5782
  transport: e.transport || (Ks() ? s1 : c1)
5783
5783
  };
@@ -5953,7 +5953,7 @@ function am() {
5953
5953
  }
5954
5954
  }
5955
5955
  }
5956
- var C = l, k = u, S = s, N = i, O = t, Z = d, K = r, H = b, G = h, L = n, Y = a, A = o, U = f, J = !1;
5956
+ var C = l, k = u, S = s, N = i, O = t, Z = d, K = r, H = b, W = h, I = n, Y = a, A = o, U = f, J = !1;
5957
5957
  function z(R) {
5958
5958
  return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), q(R) || E(R) === l;
5959
5959
  }
@@ -5978,7 +5978,7 @@ function am() {
5978
5978
  function ce(R) {
5979
5979
  return E(R) === b;
5980
5980
  }
5981
- function I(R) {
5981
+ function L(R) {
5982
5982
  return E(R) === h;
5983
5983
  }
5984
5984
  function X(R) {
@@ -5987,13 +5987,13 @@ function am() {
5987
5987
  function oe(R) {
5988
5988
  return E(R) === a;
5989
5989
  }
5990
- function W(R) {
5990
+ function G(R) {
5991
5991
  return E(R) === o;
5992
5992
  }
5993
5993
  function ee(R) {
5994
5994
  return E(R) === f;
5995
5995
  }
5996
- se.AsyncMode = C, se.ConcurrentMode = k, se.ContextConsumer = S, se.ContextProvider = N, se.Element = O, se.ForwardRef = Z, se.Fragment = K, se.Lazy = H, se.Memo = G, se.Portal = L, se.Profiler = Y, se.StrictMode = A, se.Suspense = U, se.isAsyncMode = z, se.isConcurrentMode = q, se.isContextConsumer = T, se.isContextProvider = D, se.isElement = M, se.isForwardRef = B, se.isFragment = de, se.isLazy = ce, se.isMemo = I, se.isPortal = X, se.isProfiler = oe, se.isStrictMode = W, se.isSuspense = ee, se.isValidElementType = x, se.typeOf = E;
5996
+ se.AsyncMode = C, se.ConcurrentMode = k, se.ContextConsumer = S, se.ContextProvider = N, se.Element = O, se.ForwardRef = Z, se.Fragment = K, se.Lazy = H, se.Memo = W, se.Portal = I, se.Profiler = Y, se.StrictMode = A, se.Suspense = U, se.isAsyncMode = z, se.isConcurrentMode = q, se.isContextConsumer = T, se.isContextProvider = D, se.isElement = M, se.isForwardRef = B, se.isFragment = de, se.isLazy = ce, se.isMemo = L, se.isPortal = X, se.isProfiler = oe, se.isStrictMode = G, se.isSuspense = ee, se.isValidElementType = x, se.typeOf = E;
5997
5997
  }()), se;
5998
5998
  }
5999
5999
  var Fi;
@@ -6099,7 +6099,7 @@ class ia extends g.Component {
6099
6099
  componentDidCatch(t, { componentStack: n }) {
6100
6100
  const { beforeCapture: r, onError: o, showDialog: a, dialogOptions: i } = this.props;
6101
6101
  na((s) => {
6102
- if (cm(g.version) && Go(t)) {
6102
+ if (cm(g.version) && Wo(t)) {
6103
6103
  const u = new Error(t.message);
6104
6104
  u.name = `React ErrorBoundary ${t.name}`, u.stack = n, um(t, u);
6105
6105
  }
@@ -6224,7 +6224,7 @@ const pm = {
6224
6224
  var sa = { color: { background: "var(--sid-color-background)", foreground: "var(--sid-color-foreground)", tertiary: "var(--sid-color-tertiary)" } }, mm = { default: "_1v32gdc2 _1v32gdc1", short: "_1v32gdc3 _1v32gdc1" };
6225
6225
  const gm = ({ className: e, variant: t = "default" }) => /* @__PURE__ */ c.jsx("div", { className: ne(mm[t], e) });
6226
6226
  var vm = { primary: "_154fc2o2 _154fc2o0", secondary: "_154fc2o3 _154fc2o0", secondaryMd: "_154fc2o4 _154fc2o0 _154fc2o1", neutral: "_154fc2o5 _154fc2o0", neutralMd: "_154fc2o6 _154fc2o0 _154fc2o1", ghost: "_154fc2o7 _154fc2o0", ghostMd: "_154fc2o8 _154fc2o0 _154fc2o1" }, ym = "_154fc2o9", _m = "_154fc2oa", bm = { primary: "_154fc2ob", secondary: "_154fc2oc", secondaryMd: "_154fc2od", neutral: "_154fc2oe", neutralMd: "_154fc2of", ghost: "_154fc2og", ghostMd: "_154fc2oh" };
6227
- const Pt = Le(
6227
+ const Pt = Ie(
6228
6228
  ({
6229
6229
  children: e,
6230
6230
  onClick: t,
@@ -6374,7 +6374,7 @@ const Vl = ({
6374
6374
  }
6375
6375
  )
6376
6376
  }
6377
- ), We = `
6377
+ ), Ge = `
6378
6378
  @media (prefers-color-scheme: dark) {
6379
6379
  .sid-theme-root__auto path { fill: white; }
6380
6380
  }
@@ -6389,7 +6389,7 @@ const Vl = ({
6389
6389
  fill: "none",
6390
6390
  xmlns: "http://www.w3.org/2000/svg",
6391
6391
  children: [
6392
- /* @__PURE__ */ c.jsx("style", { children: We }),
6392
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6393
6393
  /* @__PURE__ */ c.jsx(
6394
6394
  "path",
6395
6395
  {
@@ -6415,7 +6415,7 @@ const Vl = ({
6415
6415
  fill: "none",
6416
6416
  xmlns: "http://www.w3.org/2000/svg",
6417
6417
  children: [
6418
- /* @__PURE__ */ c.jsx("style", { children: We }),
6418
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6419
6419
  /* @__PURE__ */ c.jsxs("g", { id: "microsoft-icon 1", clipPath: "url(#clip0_2115_8900)", children: [
6420
6420
  /* @__PURE__ */ c.jsx("path", { id: "Vector", d: "M0 0H7.6031V7.6031H0V0Z", fill: "#F25022" }),
6421
6421
  /* @__PURE__ */ c.jsx("path", { id: "Vector_2", d: "M8.39691 0H16V7.6031H8.39691V0Z", fill: "#7FBA00" }),
@@ -6441,7 +6441,7 @@ const Vl = ({
6441
6441
  fill: "none",
6442
6442
  xmlns: "http://www.w3.org/2000/svg",
6443
6443
  children: [
6444
- /* @__PURE__ */ c.jsx("style", { children: We }),
6444
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6445
6445
  /* @__PURE__ */ c.jsx("g", { clipPath: "url(#clip0_505_1607)", children: /* @__PURE__ */ c.jsxs("g", { clipPath: "url(#clip1_505_1607)", children: [
6446
6446
  /* @__PURE__ */ c.jsx(
6447
6447
  "path",
@@ -6496,7 +6496,7 @@ const Vl = ({
6496
6496
  fill: "none",
6497
6497
  xmlns: "http://www.w3.org/2000/svg",
6498
6498
  children: [
6499
- /* @__PURE__ */ c.jsx("style", { children: We }),
6499
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6500
6500
  /* @__PURE__ */ c.jsx("g", { clipPath: "url(#clip0_244_1220)", children: /* @__PURE__ */ c.jsx(
6501
6501
  "path",
6502
6502
  {
@@ -6507,7 +6507,7 @@ const Vl = ({
6507
6507
  /* @__PURE__ */ c.jsx("defs", { children: /* @__PURE__ */ c.jsx("clipPath", { id: "clip0_244_1220", children: /* @__PURE__ */ c.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
6508
6508
  ]
6509
6509
  }
6510
- ), Im = () => /* @__PURE__ */ c.jsxs(
6510
+ ), Lm = () => /* @__PURE__ */ c.jsxs(
6511
6511
  "svg",
6512
6512
  {
6513
6513
  width: "16",
@@ -6516,7 +6516,7 @@ const Vl = ({
6516
6516
  fill: "none",
6517
6517
  xmlns: "http://www.w3.org/2000/svg",
6518
6518
  children: [
6519
- /* @__PURE__ */ c.jsx("style", { children: We }),
6519
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6520
6520
  /* @__PURE__ */ c.jsx("g", { clipPath: "url(#clip0_505_1582)", children: /* @__PURE__ */ c.jsx(
6521
6521
  "path",
6522
6522
  {
@@ -6529,7 +6529,7 @@ const Vl = ({
6529
6529
  /* @__PURE__ */ c.jsx("defs", { children: /* @__PURE__ */ c.jsx("clipPath", { id: "clip0_505_1582", children: /* @__PURE__ */ c.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
6530
6530
  ]
6531
6531
  }
6532
- ), Lm = () => /* @__PURE__ */ c.jsxs(
6532
+ ), Im = () => /* @__PURE__ */ c.jsxs(
6533
6533
  "svg",
6534
6534
  {
6535
6535
  width: "16",
@@ -6538,7 +6538,7 @@ const Vl = ({
6538
6538
  fill: "none",
6539
6539
  xmlns: "http://www.w3.org/2000/svg",
6540
6540
  children: [
6541
- /* @__PURE__ */ c.jsx("style", { children: We }),
6541
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6542
6542
  /* @__PURE__ */ c.jsxs("g", { clipPath: "url(#clip0_505_1689)", children: [
6543
6543
  /* @__PURE__ */ c.jsx(
6544
6544
  "path",
@@ -6581,7 +6581,7 @@ const Vl = ({
6581
6581
  fill: "none",
6582
6582
  xmlns: "http://www.w3.org/2000/svg",
6583
6583
  children: [
6584
- /* @__PURE__ */ c.jsx("style", { children: We }),
6584
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6585
6585
  /* @__PURE__ */ c.jsx(
6586
6586
  "path",
6587
6587
  {
@@ -6629,7 +6629,7 @@ const Vl = ({
6629
6629
  fill: "none",
6630
6630
  xmlns: "http://www.w3.org/2000/svg",
6631
6631
  children: [
6632
- /* @__PURE__ */ c.jsx("style", { children: We }),
6632
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6633
6633
  /* @__PURE__ */ c.jsxs("g", { clipPath: "url(#clip0_505_1637)", children: [
6634
6634
  /* @__PURE__ */ c.jsx(
6635
6635
  "path",
@@ -6686,7 +6686,7 @@ const Vl = ({
6686
6686
  fill: "none",
6687
6687
  xmlns: "http://www.w3.org/2000/svg",
6688
6688
  children: [
6689
- /* @__PURE__ */ c.jsx("style", { children: We }),
6689
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6690
6690
  /* @__PURE__ */ c.jsx("g", { clipPath: "url(#clip0_3100_16)", children: /* @__PURE__ */ c.jsx("g", { clipPath: "url(#clip1_3100_16)", children: /* @__PURE__ */ c.jsx(
6691
6691
  "path",
6692
6692
  {
@@ -6712,7 +6712,7 @@ const Vl = ({
6712
6712
  fill: "none",
6713
6713
  xmlns: "http://www.w3.org/2000/svg",
6714
6714
  children: [
6715
- /* @__PURE__ */ c.jsx("style", { children: We }),
6715
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6716
6716
  /* @__PURE__ */ c.jsx(
6717
6717
  "path",
6718
6718
  {
@@ -6755,7 +6755,7 @@ function $m() {
6755
6755
  }
6756
6756
  );
6757
6757
  }
6758
- const Gl = ({ className: e }) => /* @__PURE__ */ c.jsx(
6758
+ const Wl = ({ className: e }) => /* @__PURE__ */ c.jsx(
6759
6759
  "svg",
6760
6760
  {
6761
6761
  width: "16",
@@ -6797,7 +6797,7 @@ const Gl = ({ className: e }) => /* @__PURE__ */ c.jsx(
6797
6797
  }
6798
6798
  )
6799
6799
  }
6800
- ), Wl = () => /* @__PURE__ */ c.jsxs(
6800
+ ), Gl = () => /* @__PURE__ */ c.jsxs(
6801
6801
  "svg",
6802
6802
  {
6803
6803
  width: "32",
@@ -6806,7 +6806,7 @@ const Gl = ({ className: e }) => /* @__PURE__ */ c.jsx(
6806
6806
  fill: "none",
6807
6807
  xmlns: "http://www.w3.org/2000/svg",
6808
6808
  children: [
6809
- /* @__PURE__ */ c.jsx("style", { children: We }),
6809
+ /* @__PURE__ */ c.jsx("style", { children: Ge }),
6810
6810
  /* @__PURE__ */ c.jsx(
6811
6811
  "path",
6812
6812
  {
@@ -7114,16 +7114,16 @@ var Vm = [
7114
7114
  la.default = Vm;
7115
7115
  Object.defineProperty(Be, "__esModule", { value: !0 });
7116
7116
  Be.searchFlag = Be.findFlagsByDialCode = Yl = Be.findFlagByDialCode = ca = Be.findFlag = ua = Be.getList = void 0;
7117
- var kr = la, Gm = function(e) {
7117
+ var kr = la, Wm = function(e) {
7118
7118
  return kr.default.find(function(t) {
7119
7119
  return t.code.toLowerCase() === e.toLowerCase();
7120
7120
  });
7121
- }, ca = Be.findFlag = Gm, Wm = function(e) {
7121
+ }, ca = Be.findFlag = Wm, Gm = function(e) {
7122
7122
  var t, n = Kl(e), r = n.find(function(o) {
7123
7123
  return o.dial_code === e && o.preferred;
7124
7124
  });
7125
7125
  return r || ((t = n[0]) !== null && t !== void 0 ? t : null);
7126
- }, Yl = Be.findFlagByDialCode = Wm, Kl = function(e) {
7126
+ }, Yl = Be.findFlagByDialCode = Gm, Kl = function(e) {
7127
7127
  return kr.default.filter(function(t) {
7128
7128
  return t.dial_code === e;
7129
7129
  });
@@ -7170,7 +7170,7 @@ const Zm = ({
7170
7170
  " ",
7171
7171
  i.dial_code
7172
7172
  ] }),
7173
- /* @__PURE__ */ c.jsx(Gl, {})
7173
+ /* @__PURE__ */ c.jsx(Wl, {})
7174
7174
  ] }),
7175
7175
  /* @__PURE__ */ c.jsx(
7176
7176
  "select",
@@ -7203,11 +7203,11 @@ const Zm = ({
7203
7203
  }
7204
7204
  );
7205
7205
  };
7206
- var Xm = "_1dpv0n90", Jm = "_1dpv0n91", Gi = "_1dpv0n92";
7206
+ var Xm = "_1dpv0n90", Jm = "_1dpv0n91", Wi = "_1dpv0n92";
7207
7207
  const Zl = ({ children: e }) => /* @__PURE__ */ c.jsxs("div", { className: ne("sid-divider", Xm), children: [
7208
- /* @__PURE__ */ c.jsx("hr", { className: Gi }),
7208
+ /* @__PURE__ */ c.jsx("hr", { className: Wi }),
7209
7209
  /* @__PURE__ */ c.jsx("span", { className: Jm, children: e }),
7210
- /* @__PURE__ */ c.jsx("hr", { className: Gi })
7210
+ /* @__PURE__ */ c.jsx("hr", { className: Wi })
7211
7211
  ] });
7212
7212
  function Ce() {
7213
7213
  return Ce = Object.assign ? Object.assign.bind() : function(e) {
@@ -7314,7 +7314,7 @@ function Xl(...e) {
7314
7314
  function wn(...e) {
7315
7315
  return Te(Xl(...e), e);
7316
7316
  }
7317
- const lr = /* @__PURE__ */ Le((e, t) => {
7317
+ const lr = /* @__PURE__ */ Ie((e, t) => {
7318
7318
  const { children: n, ...r } = e, o = Xe.toArray(n), a = o.find(ng);
7319
7319
  if (a) {
7320
7320
  const i = a.props.children, s = o.map((l) => l === a ? Xe.count(i) > 1 ? Xe.only(null) : /* @__PURE__ */ or(i) ? i.props.children : null : l);
@@ -7327,7 +7327,7 @@ const lr = /* @__PURE__ */ Le((e, t) => {
7327
7327
  }), n);
7328
7328
  });
7329
7329
  lr.displayName = "Slot";
7330
- const So = /* @__PURE__ */ Le((e, t) => {
7330
+ const So = /* @__PURE__ */ Ie((e, t) => {
7331
7331
  const { children: n, ...r } = e;
7332
7332
  return /* @__PURE__ */ or(n) ? /* @__PURE__ */ $o(n, {
7333
7333
  ...rg(r, n.props),
@@ -7480,8 +7480,8 @@ const ag = [
7480
7480
  "span",
7481
7481
  "svg",
7482
7482
  "ul"
7483
- ], It = ag.reduce((e, t) => {
7484
- const n = /* @__PURE__ */ Le((r, o) => {
7483
+ ], Lt = ag.reduce((e, t) => {
7484
+ const n = /* @__PURE__ */ Ie((r, o) => {
7485
7485
  const { asChild: a, ...i } = r, s = a ? lr : t;
7486
7486
  return ye(() => {
7487
7487
  window[Symbol.for("radix-ui")] = !0;
@@ -7730,7 +7730,7 @@ const [oc, c5] = qr(Rn), [ac, u5] = qr(Rn, {
7730
7730
  orientation: a
7731
7731
  }, /* @__PURE__ */ $.createElement(rc.Slot, {
7732
7732
  scope: n
7733
- }, /* @__PURE__ */ $.createElement(It.div, Ce({}, i, {
7733
+ }, /* @__PURE__ */ $.createElement(Lt.div, Ce({}, i, {
7734
7734
  "data-orientation": a,
7735
7735
  ref: l,
7736
7736
  onKeyDown: r ? void 0 : f
@@ -7955,7 +7955,7 @@ var jg = function() {
7955
7955
  right: t[2],
7956
7956
  gap: Math.max(0, r - n + t[2] - t[0])
7957
7957
  };
7958
- }, Ig = ha(), Vt = "data-scroll-locked", Lg = function(e, t, n, r) {
7958
+ }, Lg = ha(), Vt = "data-scroll-locked", Ig = function(e, t, n, r) {
7959
7959
  var o = e.left, a = e.top, i = e.right, s = e.gap;
7960
7960
  return n === void 0 && (n = "margin"), `
7961
7961
  .`.concat(bg, ` {
@@ -7999,13 +7999,13 @@ var jg = function() {
7999
7999
  `).concat(Cg, ": ").concat(s, `px;
8000
8000
  }
8001
8001
  `);
8002
- }, Wi = function() {
8002
+ }, Gi = function() {
8003
8003
  var e = parseInt(document.body.getAttribute(Vt) || "0", 10);
8004
8004
  return isFinite(e) ? e : 0;
8005
8005
  }, Og = function() {
8006
8006
  g.useEffect(function() {
8007
- return document.body.setAttribute(Vt, (Wi() + 1).toString()), function() {
8008
- var e = Wi() - 1;
8007
+ return document.body.setAttribute(Vt, (Gi() + 1).toString()), function() {
8008
+ var e = Gi() - 1;
8009
8009
  e <= 0 ? document.body.removeAttribute(Vt) : document.body.setAttribute(Vt, e.toString());
8010
8010
  };
8011
8011
  }, []);
@@ -8015,16 +8015,16 @@ var jg = function() {
8015
8015
  var a = g.useMemo(function() {
8016
8016
  return Ng(o);
8017
8017
  }, [o]);
8018
- return g.createElement(Ig, { styles: Lg(a, !t, o, n ? "" : "!important") });
8018
+ return g.createElement(Lg, { styles: Ig(a, !t, o, n ? "" : "!important") });
8019
8019
  }, zo = !1;
8020
8020
  if (typeof window < "u")
8021
8021
  try {
8022
- var Gn = Object.defineProperty({}, "passive", {
8022
+ var Wn = Object.defineProperty({}, "passive", {
8023
8023
  get: function() {
8024
8024
  return zo = !0, !0;
8025
8025
  }
8026
8026
  });
8027
- window.addEventListener("test", Gn, Gn), window.removeEventListener("test", Gn, Gn);
8027
+ window.addEventListener("test", Wn, Wn), window.removeEventListener("test", Wn, Wn);
8028
8028
  } catch {
8029
8029
  zo = !1;
8030
8030
  }
@@ -8085,7 +8085,7 @@ var At = zo ? { passive: !1 } : !1, Ag = function(e) {
8085
8085
  l && (t.contains(s) || t === s)
8086
8086
  );
8087
8087
  return (d && f === 0 || !d && y === 0) && (u = !0), u;
8088
- }, Wn = function(e) {
8088
+ }, Gn = function(e) {
8089
8089
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
8090
8090
  }, Ki = function(e) {
8091
8091
  return [e.deltaX, e.deltaY];
@@ -8093,14 +8093,14 @@ var At = zo ? { passive: !1 } : !1, Ag = function(e) {
8093
8093
  return e && "current" in e ? e.current : e;
8094
8094
  }, Vg = function(e, t) {
8095
8095
  return e[0] === t[0] && e[1] === t[1];
8096
- }, Gg = function(e) {
8096
+ }, Wg = function(e) {
8097
8097
  return `
8098
8098
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
8099
8099
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
8100
8100
  `);
8101
- }, Wg = 0, Dt = [];
8101
+ }, Gg = 0, Dt = [];
8102
8102
  function Yg(e) {
8103
- var t = g.useRef([]), n = g.useRef([0, 0]), r = g.useRef(), o = g.useState(Wg++)[0], a = g.useState(function() {
8103
+ var t = g.useRef([]), n = g.useRef([0, 0]), r = g.useRef(), o = g.useState(Gg++)[0], a = g.useState(function() {
8104
8104
  return ha();
8105
8105
  })[0], i = g.useRef(e);
8106
8106
  g.useEffect(function() {
@@ -8121,7 +8121,7 @@ function Yg(e) {
8121
8121
  var s = g.useCallback(function(p, m) {
8122
8122
  if ("touches" in p && p.touches.length === 2)
8123
8123
  return !i.current.allowPinchZoom;
8124
- var w = Wn(p), _ = n.current, x = "deltaX" in p ? p.deltaX : _[0] - w[0], E = "deltaY" in p ? p.deltaY : _[1] - w[1], C, k = p.target, S = Math.abs(x) > Math.abs(E) ? "h" : "v";
8124
+ var w = Gn(p), _ = n.current, x = "deltaX" in p ? p.deltaX : _[0] - w[0], E = "deltaY" in p ? p.deltaY : _[1] - w[1], C, k = p.target, S = Math.abs(x) > Math.abs(E) ? "h" : "v";
8125
8125
  if ("touches" in p && S === "h" && k.type === "range")
8126
8126
  return !1;
8127
8127
  var N = Yi(S, k);
@@ -8136,7 +8136,7 @@ function Yg(e) {
8136
8136
  }, []), l = g.useCallback(function(p) {
8137
8137
  var m = p;
8138
8138
  if (!(!Dt.length || Dt[Dt.length - 1] !== a)) {
8139
- var w = "deltaY" in m ? Ki(m) : Wn(m), _ = t.current.filter(function(C) {
8139
+ var w = "deltaY" in m ? Ki(m) : Gn(m), _ = t.current.filter(function(C) {
8140
8140
  return C.name === m.type && C.target === m.target && Vg(C.delta, w);
8141
8141
  })[0];
8142
8142
  if (_ && _.should) {
@@ -8158,11 +8158,11 @@ function Yg(e) {
8158
8158
  });
8159
8159
  }, 1);
8160
8160
  }, []), d = g.useCallback(function(p) {
8161
- n.current = Wn(p), r.current = void 0;
8161
+ n.current = Gn(p), r.current = void 0;
8162
8162
  }, []), f = g.useCallback(function(p) {
8163
8163
  u(p.type, Ki(p), p.target, s(p, e.lockRef.current));
8164
8164
  }, []), y = g.useCallback(function(p) {
8165
- u(p.type, Wn(p), p.target, s(p, e.lockRef.current));
8165
+ u(p.type, Gn(p), p.target, s(p, e.lockRef.current));
8166
8166
  }, []);
8167
8167
  g.useEffect(function() {
8168
8168
  return Dt.push(a), e.setCallbacks({
@@ -8179,7 +8179,7 @@ function Yg(e) {
8179
8179
  return g.createElement(
8180
8180
  g.Fragment,
8181
8181
  null,
8182
- b ? g.createElement(a, { styles: Gg(o) }) : null,
8182
+ b ? g.createElement(a, { styles: Wg(o) }) : null,
8183
8183
  h ? g.createElement(pc, { gapMode: "margin" }) : null
8184
8184
  );
8185
8185
  }
@@ -8419,12 +8419,12 @@ var yv = (e) => function() {
8419
8419
  super(T), this.name = "SprinklesError";
8420
8420
  }
8421
8421
  }
8422
- var H = (q) => typeof q == "string" ? '"'.concat(q, '"') : q, G = (q, T, D) => {
8422
+ var H = (q) => typeof q == "string" ? '"'.concat(q, '"') : q, W = (q, T, D) => {
8423
8423
  throw new z('"'.concat(q, '" has no value ').concat(H(T), ". Possible values are ").concat(Object.keys(D).map(H).join(", ")));
8424
8424
  };
8425
8425
  if (!k)
8426
8426
  throw new z('"'.concat(x, '" is not a valid sprinkle'));
8427
- if ((typeof C == "string" || typeof C == "number") && (C in k.values || G(x, C, k.values), !k.values[C].defaultClass))
8427
+ if ((typeof C == "string" || typeof C == "number") && (C in k.values || W(x, C, k.values), !k.values[C].defaultClass))
8428
8428
  throw new z('"'.concat(x, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(k.values[C].conditions).map(H).join(", ")));
8429
8429
  if (typeof C == "object") {
8430
8430
  if (!("conditions" in k.values[Object.keys(k.values)[0]]))
@@ -8432,15 +8432,15 @@ var yv = (e) => function() {
8432
8432
  if (Array.isArray(C)) {
8433
8433
  if (!("responsiveArray" in k))
8434
8434
  throw new z('"'.concat(x, '" does not support responsive arrays'));
8435
- var L = k.responsiveArray.length;
8436
- if (L < C.length)
8437
- throw new z('"'.concat(x, '" only supports up to ').concat(L, " breakpoints. You passed ").concat(C.length));
8435
+ var I = k.responsiveArray.length;
8436
+ if (I < C.length)
8437
+ throw new z('"'.concat(x, '" only supports up to ').concat(I, " breakpoints. You passed ").concat(C.length));
8438
8438
  for (var Y of C)
8439
- k.values[Y] || G(x, Y, k.values);
8439
+ k.values[Y] || W(x, Y, k.values);
8440
8440
  } else
8441
8441
  for (var A in C) {
8442
8442
  var U = C[A];
8443
- if (U != null && (k.values[U] || G(x, U, k.values), !k.values[U].conditions[A]))
8443
+ if (U != null && (k.values[U] || W(x, U, k.values), !k.values[U].conditions[A]))
8444
8444
  throw new z('"'.concat(x, '" has no condition named ').concat(H(A), ". Possible values are ").concat(Object.keys(k.values[U].conditions).map(H).join(", ")));
8445
8445
  }
8446
8446
  }
@@ -8701,7 +8701,7 @@ var Nv = [
8701
8701
  });
8702
8702
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
8703
8703
  }, {});
8704
- function Iv(e, t) {
8704
+ function Lv(e, t) {
8705
8705
  e && gr.flushSync(() => e.dispatchEvent(t));
8706
8706
  }
8707
8707
  function ct(e) {
@@ -8713,7 +8713,7 @@ function ct(e) {
8713
8713
  return (r = t.current) == null ? void 0 : r.call(t, ...n);
8714
8714
  }, []);
8715
8715
  }
8716
- function Lv(e, t = globalThis == null ? void 0 : globalThis.document) {
8716
+ function Iv(e, t = globalThis == null ? void 0 : globalThis.document) {
8717
8717
  const n = ct(e);
8718
8718
  g.useEffect(() => {
8719
8719
  const r = (o) => {
@@ -8743,7 +8743,7 @@ var Ov = "DismissableLayer", jo = "dismissableLayer.update", Av = "dismissableLa
8743
8743
  const N = S.target;
8744
8744
  [...u.branches].some((O) => O.contains(N)) || (a == null || a(S), i == null || i(S), S.defaultPrevented || s == null || s());
8745
8745
  }, y);
8746
- return Lv((S) => {
8746
+ return Iv((S) => {
8747
8747
  _ === u.layers.size - 1 && (r == null || r(S), !S.defaultPrevented && s && (S.preventDefault(), s()));
8748
8748
  }, y), g.useEffect(() => {
8749
8749
  if (d)
@@ -8836,7 +8836,7 @@ function rs() {
8836
8836
  }
8837
8837
  function kc(e, t, n, { discrete: r }) {
8838
8838
  const o = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
8839
- t && o.addEventListener(e, t, { once: !0 }), r ? Iv(o, a) : o.dispatchEvent(a);
8839
+ t && o.addEventListener(e, t, { once: !0 }), r ? Lv(o, a) : o.dispatchEvent(a);
8840
8840
  }
8841
8841
  var to = 0;
8842
8842
  function Bv() {
@@ -8896,7 +8896,7 @@ var no = "focusScope.autoFocusOnMount", ro = "focusScope.autoFocusOnUnmount", as
8896
8896
  const p = document.activeElement;
8897
8897
  if (!s.contains(p)) {
8898
8898
  const m = new CustomEvent(no, as);
8899
- s.addEventListener(no, u), s.dispatchEvent(m), m.defaultPrevented || (Gv(Xv(qc(s)), { select: !0 }), document.activeElement === p && ht(s));
8899
+ s.addEventListener(no, u), s.dispatchEvent(m), m.defaultPrevented || (Wv(Xv(qc(s)), { select: !0 }), document.activeElement === p && ht(s));
8900
8900
  }
8901
8901
  return () => {
8902
8902
  s.removeEventListener(no, u), setTimeout(() => {
@@ -8912,7 +8912,7 @@ var no = "focusScope.autoFocusOnMount", ro = "focusScope.autoFocusOnUnmount", as
8912
8912
  return;
8913
8913
  const m = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, w = document.activeElement;
8914
8914
  if (m && w) {
8915
- const _ = p.currentTarget, [x, E] = Wv(_);
8915
+ const _ = p.currentTarget, [x, E] = Gv(_);
8916
8916
  x && E ? !p.shiftKey && w === E ? (p.preventDefault(), n && ht(x, { select: !0 })) : p.shiftKey && w === x && (p.preventDefault(), n && ht(E, { select: !0 })) : w === _ && p.preventDefault();
8917
8917
  }
8918
8918
  },
@@ -8921,13 +8921,13 @@ var no = "focusScope.autoFocusOnMount", ro = "focusScope.autoFocusOnUnmount", as
8921
8921
  return /* @__PURE__ */ c.jsx(xe.div, { tabIndex: -1, ...i, ref: y, onKeyDown: b });
8922
8922
  });
8923
8923
  Sc.displayName = Vv;
8924
- function Gv(e, { select: t = !1 } = {}) {
8924
+ function Wv(e, { select: t = !1 } = {}) {
8925
8925
  const n = document.activeElement;
8926
8926
  for (const r of e)
8927
8927
  if (ht(r, { select: t }), document.activeElement !== n)
8928
8928
  return;
8929
8929
  }
8930
- function Wv(e) {
8930
+ function Gv(e) {
8931
8931
  const t = qc(e), n = is(t, e), r = is(t.reverse(), e);
8932
8932
  return [n, r];
8933
8933
  }
@@ -9273,12 +9273,12 @@ const us = (e) => ({
9273
9273
  }, h = _a(o), b = ya(h), p = await i.getDimensions(u), m = h === "y", w = m ? "top" : "left", _ = m ? "bottom" : "right", x = m ? "clientHeight" : "clientWidth", E = a.reference[b] + a.reference[h] - y[h] - a.floating[b], C = y[h] - a.reference[h], k = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
9274
9274
  let S = k ? k[x] : 0;
9275
9275
  (!S || !await (i.isElement == null ? void 0 : i.isElement(k))) && (S = s.floating[x] || a.floating[b]);
9276
- const N = E / 2 - C / 2, O = S / 2 - p[b] / 2 - 1, Z = yt(f[w], O), K = yt(f[_], O), H = Z, G = S - p[b] - K, L = S / 2 - p[b] / 2 + N, Y = Ro(H, L, G), A = !l.arrow && tn(o) != null && L != Y && a.reference[b] / 2 - (L < H ? Z : K) - p[b] / 2 < 0, U = A ? L < H ? L - H : L - G : 0;
9276
+ const N = E / 2 - C / 2, O = S / 2 - p[b] / 2 - 1, Z = yt(f[w], O), K = yt(f[_], O), H = Z, W = S - p[b] - K, I = S / 2 - p[b] / 2 + N, Y = Ro(H, I, W), A = !l.arrow && tn(o) != null && I != Y && a.reference[b] / 2 - (I < H ? Z : K) - p[b] / 2 < 0, U = A ? I < H ? I - H : I - W : 0;
9277
9277
  return {
9278
9278
  [h]: y[h] + U,
9279
9279
  data: {
9280
9280
  [h]: Y,
9281
- centerOffset: L - Y - U,
9281
+ centerOffset: I - Y - U,
9282
9282
  ...A && {
9283
9283
  alignmentOffset: U
9284
9284
  }
@@ -9323,34 +9323,34 @@ const us = (e) => ({
9323
9323
  overflows: S
9324
9324
  }], !S.every((H) => H <= 0)) {
9325
9325
  var O, Z;
9326
- const H = (((O = a.flip) == null ? void 0 : O.index) || 0) + 1, G = C[H];
9327
- if (G)
9326
+ const H = (((O = a.flip) == null ? void 0 : O.index) || 0) + 1, W = C[H];
9327
+ if (W)
9328
9328
  return {
9329
9329
  data: {
9330
9330
  index: H,
9331
9331
  overflows: N
9332
9332
  },
9333
9333
  reset: {
9334
- placement: G
9334
+ placement: W
9335
9335
  }
9336
9336
  };
9337
- let L = (Z = N.filter((Y) => Y.overflows[0] <= 0).sort((Y, A) => Y.overflows[1] - A.overflows[1])[0]) == null ? void 0 : Z.placement;
9338
- if (!L)
9337
+ let I = (Z = N.filter((Y) => Y.overflows[0] <= 0).sort((Y, A) => Y.overflows[1] - A.overflows[1])[0]) == null ? void 0 : Z.placement;
9338
+ if (!I)
9339
9339
  switch (h) {
9340
9340
  case "bestFit": {
9341
9341
  var K;
9342
9342
  const Y = (K = N.map((A) => [A.placement, A.overflows.filter((U) => U > 0).reduce((U, J) => U + J, 0)]).sort((A, U) => A[1] - U[1])[0]) == null ? void 0 : K[0];
9343
- Y && (L = Y);
9343
+ Y && (I = Y);
9344
9344
  break;
9345
9345
  }
9346
9346
  case "initialPlacement":
9347
- L = s;
9347
+ I = s;
9348
9348
  break;
9349
9349
  }
9350
- if (o !== L)
9350
+ if (o !== I)
9351
9351
  return {
9352
9352
  reset: {
9353
- placement: L
9353
+ placement: I
9354
9354
  }
9355
9355
  };
9356
9356
  }
@@ -9599,7 +9599,7 @@ const f0 = function(e) {
9599
9599
  function bt(e) {
9600
9600
  return Tc(e) ? (e.nodeName || "").toLowerCase() : "#document";
9601
9601
  }
9602
- function Ie(e) {
9602
+ function Le(e) {
9603
9603
  var t;
9604
9604
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
9605
9605
  }
@@ -9608,16 +9608,16 @@ function pt(e) {
9608
9608
  return (t = (Tc(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
9609
9609
  }
9610
9610
  function Tc(e) {
9611
- return e instanceof Node || e instanceof Ie(e).Node;
9611
+ return e instanceof Node || e instanceof Le(e).Node;
9612
9612
  }
9613
9613
  function ft(e) {
9614
- return e instanceof Element || e instanceof Ie(e).Element;
9614
+ return e instanceof Element || e instanceof Le(e).Element;
9615
9615
  }
9616
9616
  function et(e) {
9617
- return e instanceof HTMLElement || e instanceof Ie(e).HTMLElement;
9617
+ return e instanceof HTMLElement || e instanceof Le(e).HTMLElement;
9618
9618
  }
9619
9619
  function ps(e) {
9620
- return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Ie(e).ShadowRoot;
9620
+ return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Le(e).ShadowRoot;
9621
9621
  }
9622
9622
  function Mn(e) {
9623
9623
  const {
@@ -9651,7 +9651,7 @@ function Tr(e) {
9651
9651
  return ["html", "body", "#document"].includes(bt(e));
9652
9652
  }
9653
9653
  function He(e) {
9654
- return Ie(e).getComputedStyle(e);
9654
+ return Le(e).getComputedStyle(e);
9655
9655
  }
9656
9656
  function jr(e) {
9657
9657
  return ft(e) ? {
@@ -9681,7 +9681,7 @@ function jc(e) {
9681
9681
  function Sn(e, t, n) {
9682
9682
  var r;
9683
9683
  t === void 0 && (t = []), n === void 0 && (n = !0);
9684
- const o = jc(e), a = o === ((r = e.ownerDocument) == null ? void 0 : r.body), i = Ie(o);
9684
+ const o = jc(e), a = o === ((r = e.ownerDocument) == null ? void 0 : r.body), i = Le(o);
9685
9685
  return a ? t.concat(i, i.visualViewport || [], Mn(o) ? o : [], i.frameElement && n ? Sn(i.frameElement) : []) : t.concat(o, Sn(o, [], n));
9686
9686
  }
9687
9687
  function Rc(e) {
@@ -9697,7 +9697,7 @@ function Rc(e) {
9697
9697
  function xa(e) {
9698
9698
  return ft(e) ? e : e.contextElement;
9699
9699
  }
9700
- function Gt(e) {
9700
+ function Wt(e) {
9701
9701
  const t = xa(e);
9702
9702
  if (!et(t))
9703
9703
  return _t(1);
@@ -9714,28 +9714,28 @@ function Gt(e) {
9714
9714
  }
9715
9715
  const y0 = /* @__PURE__ */ _t(0);
9716
9716
  function Mc(e) {
9717
- const t = Ie(e);
9717
+ const t = Le(e);
9718
9718
  return !Ca() || !t.visualViewport ? y0 : {
9719
9719
  x: t.visualViewport.offsetLeft,
9720
9720
  y: t.visualViewport.offsetTop
9721
9721
  };
9722
9722
  }
9723
9723
  function _0(e, t, n) {
9724
- return t === void 0 && (t = !1), !n || t && n !== Ie(e) ? !1 : t;
9724
+ return t === void 0 && (t = !1), !n || t && n !== Le(e) ? !1 : t;
9725
9725
  }
9726
9726
  function Tt(e, t, n, r) {
9727
9727
  t === void 0 && (t = !1), n === void 0 && (n = !1);
9728
9728
  const o = e.getBoundingClientRect(), a = xa(e);
9729
9729
  let i = _t(1);
9730
- t && (r ? ft(r) && (i = Gt(r)) : i = Gt(e));
9730
+ t && (r ? ft(r) && (i = Wt(r)) : i = Wt(e));
9731
9731
  const s = _0(a, n, r) ? Mc(a) : _t(0);
9732
9732
  let l = (o.left + s.x) / i.x, u = (o.top + s.y) / i.y, d = o.width / i.x, f = o.height / i.y;
9733
9733
  if (a) {
9734
- const y = Ie(a), h = r && ft(r) ? Ie(r) : r;
9734
+ const y = Le(a), h = r && ft(r) ? Le(r) : r;
9735
9735
  let b = y.frameElement;
9736
9736
  for (; b && r && h !== y; ) {
9737
- const p = Gt(b), m = b.getBoundingClientRect(), w = He(b), _ = m.left + (b.clientLeft + parseFloat(w.paddingLeft)) * p.x, x = m.top + (b.clientTop + parseFloat(w.paddingTop)) * p.y;
9738
- l *= p.x, u *= p.y, d *= p.x, f *= p.y, l += _, u += x, b = Ie(b).frameElement;
9737
+ const p = Wt(b), m = b.getBoundingClientRect(), w = He(b), _ = m.left + (b.clientLeft + parseFloat(w.paddingLeft)) * p.x, x = m.top + (b.clientTop + parseFloat(w.paddingTop)) * p.y;
9738
+ l *= p.x, u *= p.y, d *= p.x, f *= p.y, l += _, u += x, b = Le(b).frameElement;
9739
9739
  }
9740
9740
  }
9741
9741
  return dr({
@@ -9761,7 +9761,7 @@ function b0(e) {
9761
9761
  const l = _t(0);
9762
9762
  if ((o || !o && r !== "fixed") && ((bt(n) !== "body" || Mn(a)) && (i = jr(n)), et(n))) {
9763
9763
  const u = Tt(n);
9764
- s = Gt(n), l.x = u.x + n.clientLeft, l.y = u.y + n.clientTop;
9764
+ s = Wt(n), l.x = u.x + n.clientLeft, l.y = u.y + n.clientTop;
9765
9765
  }
9766
9766
  return {
9767
9767
  width: t.width * s.x,
@@ -9788,7 +9788,7 @@ function x0(e) {
9788
9788
  };
9789
9789
  }
9790
9790
  function w0(e, t) {
9791
- const n = Ie(e), r = pt(e), o = n.visualViewport;
9791
+ const n = Le(e), r = pt(e), o = n.visualViewport;
9792
9792
  let a = r.clientWidth, i = r.clientHeight, s = 0, l = 0;
9793
9793
  if (o) {
9794
9794
  a = o.width, i = o.height;
@@ -9803,7 +9803,7 @@ function w0(e, t) {
9803
9803
  };
9804
9804
  }
9805
9805
  function E0(e, t) {
9806
- const n = Tt(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, a = et(e) ? Gt(e) : _t(1), i = e.clientWidth * a.x, s = e.clientHeight * a.y, l = o * a.x, u = r * a.y;
9806
+ const n = Tt(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, a = et(e) ? Wt(e) : _t(1), i = e.clientWidth * a.x, s = e.clientHeight * a.y, l = o * a.x, u = r * a.y;
9807
9807
  return {
9808
9808
  width: i,
9809
9809
  height: s,
@@ -9890,8 +9890,8 @@ function z0(e, t, n) {
9890
9890
  function ms(e, t) {
9891
9891
  return !et(e) || He(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
9892
9892
  }
9893
- function Ic(e, t) {
9894
- const n = Ie(e);
9893
+ function Lc(e, t) {
9894
+ const n = Le(e);
9895
9895
  if (!et(e))
9896
9896
  return n;
9897
9897
  let r = ms(e, t);
@@ -9905,7 +9905,7 @@ const T0 = async function(e) {
9905
9905
  floating: n,
9906
9906
  strategy: r
9907
9907
  } = e;
9908
- const o = this.getOffsetParent || Ic, a = this.getDimensions;
9908
+ const o = this.getOffsetParent || Lc, a = this.getDimensions;
9909
9909
  return {
9910
9910
  reference: z0(t, await o(n), r),
9911
9911
  floating: {
@@ -9922,11 +9922,11 @@ const R0 = {
9922
9922
  convertOffsetParentRelativeRectToViewportRelativeRect: b0,
9923
9923
  getDocumentElement: pt,
9924
9924
  getClippingRect: S0,
9925
- getOffsetParent: Ic,
9925
+ getOffsetParent: Lc,
9926
9926
  getElementRects: T0,
9927
9927
  getClientRects: C0,
9928
9928
  getDimensions: q0,
9929
- getScale: Gt,
9929
+ getScale: Wt,
9930
9930
  isElement: ft,
9931
9931
  isRTL: j0
9932
9932
  };
@@ -10021,7 +10021,7 @@ const N0 = (e, t, n) => {
10021
10021
  ...o,
10022
10022
  platform: a
10023
10023
  });
10024
- }, I0 = (e) => {
10024
+ }, L0 = (e) => {
10025
10025
  function t(n) {
10026
10026
  return {}.hasOwnProperty.call(n, "current");
10027
10027
  }
@@ -10075,11 +10075,11 @@ function fr(e, t) {
10075
10075
  }
10076
10076
  return e !== e && t !== t;
10077
10077
  }
10078
- function Lc(e) {
10078
+ function Ic(e) {
10079
10079
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
10080
10080
  }
10081
10081
  function gs(e, t) {
10082
- const n = Lc(e);
10082
+ const n = Ic(e);
10083
10083
  return Math.round(t * n) / n;
10084
10084
  }
10085
10085
  function vs(e) {
@@ -10088,7 +10088,7 @@ function vs(e) {
10088
10088
  t.current = e;
10089
10089
  }), t;
10090
10090
  }
10091
- function L0(e) {
10091
+ function I0(e) {
10092
10092
  e === void 0 && (e = {});
10093
10093
  const {
10094
10094
  placement: t = "bottom",
@@ -10149,12 +10149,12 @@ function L0(e) {
10149
10149
  K();
10150
10150
  }
10151
10151
  }, [E, C, K, O]);
10152
- const G = g.useMemo(() => ({
10152
+ const W = g.useMemo(() => ({
10153
10153
  reference: k,
10154
10154
  floating: S,
10155
10155
  setReference: _,
10156
10156
  setFloating: x
10157
- }), [_, x]), L = g.useMemo(() => ({
10157
+ }), [_, x]), I = g.useMemo(() => ({
10158
10158
  reference: E,
10159
10159
  floating: C
10160
10160
  }), [E, C]), Y = g.useMemo(() => {
@@ -10163,13 +10163,13 @@ function L0(e) {
10163
10163
  left: 0,
10164
10164
  top: 0
10165
10165
  };
10166
- if (!L.floating)
10166
+ if (!I.floating)
10167
10167
  return A;
10168
- const U = gs(L.floating, d.x), J = gs(L.floating, d.y);
10168
+ const U = gs(I.floating, d.x), J = gs(I.floating, d.y);
10169
10169
  return s ? {
10170
10170
  ...A,
10171
10171
  transform: "translate(" + U + "px, " + J + "px)",
10172
- ...Lc(L.floating) >= 1.5 && {
10172
+ ...Ic(I.floating) >= 1.5 && {
10173
10173
  willChange: "transform"
10174
10174
  }
10175
10175
  } : {
@@ -10177,14 +10177,14 @@ function L0(e) {
10177
10177
  left: U,
10178
10178
  top: J
10179
10179
  };
10180
- }, [n, s, L.floating, d.x, d.y]);
10180
+ }, [n, s, I.floating, d.x, d.y]);
10181
10181
  return g.useMemo(() => ({
10182
10182
  ...d,
10183
10183
  update: K,
10184
- refs: G,
10185
- elements: L,
10184
+ refs: W,
10185
+ elements: I,
10186
10186
  floatingStyles: Y
10187
- }), [d, K, G, L, Y]);
10187
+ }), [d, K, W, I, Y]);
10188
10188
  }
10189
10189
  var O0 = "Arrow", Oc = g.forwardRef((e, t) => {
10190
10190
  const { children: n, width: r = 10, height: o = 5, ...a } = e;
@@ -10257,12 +10257,12 @@ var Ea = "PopperContent", [$0, H0] = Ac(Ea), Bc = g.forwardRef(
10257
10257
  updatePositionStrategy: x = "optimized",
10258
10258
  onPlaced: E,
10259
10259
  ...C
10260
- } = e, k = Fc(Ea, l), [S, N] = g.useState(null), O = ke(t, (be) => N(be)), [Z, K] = g.useState(null), H = D0(Z), G = (H == null ? void 0 : H.width) ?? 0, L = (H == null ? void 0 : H.height) ?? 0, Y = u + (f !== "center" ? "-" + f : ""), A = typeof m == "number" ? m : { top: 0, right: 0, bottom: 0, left: 0, ...m }, U = Array.isArray(p) ? p : [p], J = U.length > 0, z = {
10260
+ } = e, k = Fc(Ea, l), [S, N] = g.useState(null), O = ke(t, (be) => N(be)), [Z, K] = g.useState(null), H = D0(Z), W = (H == null ? void 0 : H.width) ?? 0, I = (H == null ? void 0 : H.height) ?? 0, Y = u + (f !== "center" ? "-" + f : ""), A = typeof m == "number" ? m : { top: 0, right: 0, bottom: 0, left: 0, ...m }, U = Array.isArray(p) ? p : [p], J = U.length > 0, z = {
10261
10261
  padding: A,
10262
10262
  boundary: U.filter(B0),
10263
10263
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
10264
10264
  altBoundary: J
10265
- }, { refs: q, floatingStyles: T, placement: D, isPositioned: M, middlewareData: B } = L0({
10265
+ }, { refs: q, floatingStyles: T, placement: D, isPositioned: M, middlewareData: B } = I0({
10266
10266
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
10267
10267
  strategy: "fixed",
10268
10268
  placement: Y,
@@ -10273,7 +10273,7 @@ var Ea = "PopperContent", [$0, H0] = Ac(Ea), Bc = g.forwardRef(
10273
10273
  reference: k.anchor
10274
10274
  },
10275
10275
  middleware: [
10276
- f0({ mainAxis: d + L, alignmentAxis: y }),
10276
+ f0({ mainAxis: d + I, alignmentAxis: y }),
10277
10277
  b && p0({
10278
10278
  mainAxis: !0,
10279
10279
  crossAxis: !1,
@@ -10284,19 +10284,19 @@ var Ea = "PopperContent", [$0, H0] = Ac(Ea), Bc = g.forwardRef(
10284
10284
  m0({
10285
10285
  ...z,
10286
10286
  apply: ({ elements: be, rects: Oe, availableWidth: Re, availableHeight: Ye }) => {
10287
- const { width: In, height: Ln } = Oe.reference, nt = be.floating.style;
10288
- nt.setProperty("--radix-popper-available-width", `${Re}px`), nt.setProperty("--radix-popper-available-height", `${Ye}px`), nt.setProperty("--radix-popper-anchor-width", `${In}px`), nt.setProperty("--radix-popper-anchor-height", `${Ln}px`);
10287
+ const { width: Ln, height: In } = Oe.reference, nt = be.floating.style;
10288
+ nt.setProperty("--radix-popper-available-width", `${Re}px`), nt.setProperty("--radix-popper-available-height", `${Ye}px`), nt.setProperty("--radix-popper-anchor-width", `${Ln}px`), nt.setProperty("--radix-popper-anchor-height", `${In}px`);
10289
10289
  }
10290
10290
  }),
10291
- Z && I0({ element: Z, padding: h }),
10292
- V0({ arrowWidth: G, arrowHeight: L }),
10291
+ Z && L0({ element: Z, padding: h }),
10292
+ V0({ arrowWidth: W, arrowHeight: I }),
10293
10293
  _ && u0({ strategy: "referenceHidden", ...z })
10294
10294
  ]
10295
- }), [de, ce] = Wc(D), I = ct(E);
10295
+ }), [de, ce] = Gc(D), L = ct(E);
10296
10296
  $e(() => {
10297
- M && (I == null || I());
10298
- }, [M, I]);
10299
- const X = (n = B.arrow) == null ? void 0 : n.x, oe = (r = B.arrow) == null ? void 0 : r.y, W = ((o = B.arrow) == null ? void 0 : o.centerOffset) !== 0, [ee, R] = g.useState();
10297
+ M && (L == null || L());
10298
+ }, [M, L]);
10299
+ const X = (n = B.arrow) == null ? void 0 : n.x, oe = (r = B.arrow) == null ? void 0 : r.y, G = ((o = B.arrow) == null ? void 0 : o.centerOffset) !== 0, [ee, R] = g.useState();
10300
10300
  return $e(() => {
10301
10301
  S && R(window.getComputedStyle(S).zIndex);
10302
10302
  }, [S]), /* @__PURE__ */ c.jsx(
@@ -10331,7 +10331,7 @@ var Ea = "PopperContent", [$0, H0] = Ac(Ea), Bc = g.forwardRef(
10331
10331
  onArrowChange: K,
10332
10332
  arrowX: X,
10333
10333
  arrowY: oe,
10334
- shouldHideArrow: W,
10334
+ shouldHideArrow: G,
10335
10335
  children: /* @__PURE__ */ c.jsx(
10336
10336
  xe.div,
10337
10337
  {
@@ -10359,7 +10359,7 @@ var Vc = "PopperArrow", U0 = {
10359
10359
  right: "left",
10360
10360
  bottom: "top",
10361
10361
  left: "right"
10362
- }, Gc = g.forwardRef(function(e, t) {
10362
+ }, Wc = g.forwardRef(function(e, t) {
10363
10363
  const { __scopePopper: n, ...r } = e, o = H0(Vc, n), a = U0[o.placedSide];
10364
10364
  return (
10365
10365
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
@@ -10404,7 +10404,7 @@ var Vc = "PopperArrow", U0 = {
10404
10404
  )
10405
10405
  );
10406
10406
  });
10407
- Gc.displayName = Vc;
10407
+ Wc.displayName = Vc;
10408
10408
  function B0(e) {
10409
10409
  return e !== null;
10410
10410
  }
@@ -10413,16 +10413,16 @@ var V0 = (e) => ({
10413
10413
  options: e,
10414
10414
  fn(t) {
10415
10415
  var n, r, o;
10416
- const { placement: a, rects: i, middlewareData: s } = t, l = ((n = s.arrow) == null ? void 0 : n.centerOffset) !== 0, u = l ? 0 : e.arrowWidth, d = l ? 0 : e.arrowHeight, [f, y] = Wc(a), h = { start: "0%", center: "50%", end: "100%" }[y], b = (((r = s.arrow) == null ? void 0 : r.x) ?? 0) + u / 2, p = (((o = s.arrow) == null ? void 0 : o.y) ?? 0) + d / 2;
10416
+ const { placement: a, rects: i, middlewareData: s } = t, l = ((n = s.arrow) == null ? void 0 : n.centerOffset) !== 0, u = l ? 0 : e.arrowWidth, d = l ? 0 : e.arrowHeight, [f, y] = Gc(a), h = { start: "0%", center: "50%", end: "100%" }[y], b = (((r = s.arrow) == null ? void 0 : r.x) ?? 0) + u / 2, p = (((o = s.arrow) == null ? void 0 : o.y) ?? 0) + d / 2;
10417
10417
  let m = "", w = "";
10418
10418
  return f === "bottom" ? (m = l ? h : `${b}px`, w = `${-d}px`) : f === "top" ? (m = l ? h : `${b}px`, w = `${i.floating.height + d}px`) : f === "right" ? (m = `${-d}px`, w = l ? h : `${p}px`) : f === "left" && (m = `${i.floating.width + d}px`, w = l ? h : `${p}px`), { data: { x: m, y: w } };
10419
10419
  }
10420
10420
  });
10421
- function Wc(e) {
10421
+ function Gc(e) {
10422
10422
  const [t, n = "center"] = e.split("-");
10423
10423
  return [t, n];
10424
10424
  }
10425
- var G0 = $c, W0 = Uc, Y0 = Bc, K0 = Gc;
10425
+ var W0 = $c, G0 = Uc, Y0 = Bc, K0 = Wc;
10426
10426
  function ys({
10427
10427
  prop: e,
10428
10428
  defaultProp: t,
@@ -10705,8 +10705,8 @@ var fy = [" ", "Enter", "ArrowUp", "ArrowDown"], py = [" ", "Enter"], Pn = "Sele
10705
10705
  prop: i,
10706
10706
  defaultProp: s,
10707
10707
  onChange: l
10708
- }), K = g.useRef(null), H = m ? b || !!m.closest("form") : !0, [G, L] = g.useState(/* @__PURE__ */ new Set()), Y = Array.from(G).map((A) => A.props.value).join(";");
10709
- return /* @__PURE__ */ c.jsx(G0, { ...p, children: /* @__PURE__ */ c.jsxs(
10708
+ }), K = g.useRef(null), H = m ? b || !!m.closest("form") : !0, [W, I] = g.useState(/* @__PURE__ */ new Set()), Y = Array.from(W).map((A) => A.props.value).join(";");
10709
+ return /* @__PURE__ */ c.jsx(W0, { ...p, children: /* @__PURE__ */ c.jsxs(
10710
10710
  my,
10711
10711
  {
10712
10712
  required: h,
@@ -10731,10 +10731,10 @@ var fy = [" ", "Enter", "ArrowUp", "ArrowDown"], py = [" ", "Enter"], Pn = "Sele
10731
10731
  {
10732
10732
  scope: e.__scopeSelect,
10733
10733
  onNativeOptionAdd: g.useCallback((A) => {
10734
- L((U) => new Set(U).add(A));
10734
+ I((U) => new Set(U).add(A));
10735
10735
  }, []),
10736
10736
  onNativeOptionRemove: g.useCallback((A) => {
10737
- L((U) => {
10737
+ I((U) => {
10738
10738
  const J = new Set(U);
10739
10739
  return J.delete(A), J;
10740
10740
  });
@@ -10756,7 +10756,7 @@ var fy = [" ", "Enter", "ArrowUp", "ArrowDown"], py = [" ", "Enter"], Pn = "Sele
10756
10756
  form: b,
10757
10757
  children: [
10758
10758
  O === void 0 ? /* @__PURE__ */ c.jsx("option", { value: "" }) : null,
10759
- Array.from(G)
10759
+ Array.from(W)
10760
10760
  ]
10761
10761
  },
10762
10762
  Y
@@ -10777,7 +10777,7 @@ var tu = "SelectTrigger", nu = g.forwardRef(
10777
10777
  y: Math.round(p.pageY)
10778
10778
  });
10779
10779
  };
10780
- return /* @__PURE__ */ c.jsx(W0, { asChild: !0, ...a, children: /* @__PURE__ */ c.jsx(
10780
+ return /* @__PURE__ */ c.jsx(G0, { asChild: !0, ...a, children: /* @__PURE__ */ c.jsx(
10781
10781
  xe.button,
10782
10782
  {
10783
10783
  type: "button",
@@ -10872,18 +10872,18 @@ var Ue = 10, [su, wt] = rn(jt), _y = "SelectContentImpl", lu = g.forwardRef(
10872
10872
  avoidCollisions: m,
10873
10873
  //
10874
10874
  ...w
10875
- } = e, _ = xt(jt, n), [x, E] = g.useState(null), [C, k] = g.useState(null), S = ke(t, (I) => E(I)), [N, O] = g.useState(null), [Z, K] = g.useState(
10875
+ } = e, _ = xt(jt, n), [x, E] = g.useState(null), [C, k] = g.useState(null), S = ke(t, (L) => E(L)), [N, O] = g.useState(null), [Z, K] = g.useState(
10876
10876
  null
10877
- ), H = Pr(n), [G, L] = g.useState(!1), Y = g.useRef(!1);
10877
+ ), H = Pr(n), [W, I] = g.useState(!1), Y = g.useRef(!1);
10878
10878
  g.useEffect(() => {
10879
10879
  if (x)
10880
10880
  return ev(x);
10881
10881
  }, [x]), Bv();
10882
10882
  const A = g.useCallback(
10883
- (I) => {
10884
- const [X, ...oe] = H().map((R) => R.ref.current), [W] = oe.slice(-1), ee = document.activeElement;
10885
- for (const R of I)
10886
- if (R === ee || (R == null || R.scrollIntoView({ block: "nearest" }), R === X && C && (C.scrollTop = 0), R === W && C && (C.scrollTop = C.scrollHeight), R == null || R.focus(), document.activeElement !== ee))
10883
+ (L) => {
10884
+ const [X, ...oe] = H().map((R) => R.ref.current), [G] = oe.slice(-1), ee = document.activeElement;
10885
+ for (const R of L)
10886
+ if (R === ee || (R == null || R.scrollIntoView({ block: "nearest" }), R === X && C && (C.scrollTop = 0), R === G && C && (C.scrollTop = C.scrollHeight), R == null || R.focus(), document.activeElement !== ee))
10887
10887
  return;
10888
10888
  },
10889
10889
  [H, C]
@@ -10892,44 +10892,44 @@ var Ue = 10, [su, wt] = rn(jt), _y = "SelectContentImpl", lu = g.forwardRef(
10892
10892
  [A, N, x]
10893
10893
  );
10894
10894
  g.useEffect(() => {
10895
- G && U();
10896
- }, [G, U]);
10895
+ W && U();
10896
+ }, [W, U]);
10897
10897
  const { onOpenChange: J, triggerPointerDownPosRef: z } = _;
10898
10898
  g.useEffect(() => {
10899
10899
  if (x) {
10900
- let I = { x: 0, y: 0 };
10901
- const X = (W) => {
10900
+ let L = { x: 0, y: 0 };
10901
+ const X = (G) => {
10902
10902
  var ee, R;
10903
- I = {
10904
- x: Math.abs(Math.round(W.pageX) - (((ee = z.current) == null ? void 0 : ee.x) ?? 0)),
10905
- y: Math.abs(Math.round(W.pageY) - (((R = z.current) == null ? void 0 : R.y) ?? 0))
10903
+ L = {
10904
+ x: Math.abs(Math.round(G.pageX) - (((ee = z.current) == null ? void 0 : ee.x) ?? 0)),
10905
+ y: Math.abs(Math.round(G.pageY) - (((R = z.current) == null ? void 0 : R.y) ?? 0))
10906
10906
  };
10907
- }, oe = (W) => {
10908
- I.x <= 10 && I.y <= 10 ? W.preventDefault() : x.contains(W.target) || J(!1), document.removeEventListener("pointermove", X), z.current = null;
10907
+ }, oe = (G) => {
10908
+ L.x <= 10 && L.y <= 10 ? G.preventDefault() : x.contains(G.target) || J(!1), document.removeEventListener("pointermove", X), z.current = null;
10909
10909
  };
10910
10910
  return z.current !== null && (document.addEventListener("pointermove", X), document.addEventListener("pointerup", oe, { capture: !0, once: !0 })), () => {
10911
10911
  document.removeEventListener("pointermove", X), document.removeEventListener("pointerup", oe, { capture: !0 });
10912
10912
  };
10913
10913
  }
10914
10914
  }, [x, J, z]), g.useEffect(() => {
10915
- const I = () => J(!1);
10916
- return window.addEventListener("blur", I), window.addEventListener("resize", I), () => {
10917
- window.removeEventListener("blur", I), window.removeEventListener("resize", I);
10915
+ const L = () => J(!1);
10916
+ return window.addEventListener("blur", L), window.addEventListener("resize", L), () => {
10917
+ window.removeEventListener("blur", L), window.removeEventListener("resize", L);
10918
10918
  };
10919
10919
  }, [J]);
10920
- const [q, T] = wu((I) => {
10921
- const X = H().filter((ee) => !ee.disabled), oe = X.find((ee) => ee.ref.current === document.activeElement), W = Eu(X, I, oe);
10922
- W && setTimeout(() => W.ref.current.focus());
10920
+ const [q, T] = wu((L) => {
10921
+ const X = H().filter((ee) => !ee.disabled), oe = X.find((ee) => ee.ref.current === document.activeElement), G = Eu(X, L, oe);
10922
+ G && setTimeout(() => G.ref.current.focus());
10923
10923
  }), D = g.useCallback(
10924
- (I, X, oe) => {
10925
- const W = !Y.current && !oe;
10926
- (_.value !== void 0 && _.value === X || W) && (O(I), W && (Y.current = !0));
10924
+ (L, X, oe) => {
10925
+ const G = !Y.current && !oe;
10926
+ (_.value !== void 0 && _.value === X || G) && (O(L), G && (Y.current = !0));
10927
10927
  },
10928
10928
  [_.value]
10929
10929
  ), M = g.useCallback(() => x == null ? void 0 : x.focus(), [x]), B = g.useCallback(
10930
- (I, X, oe) => {
10931
- const W = !Y.current && !oe;
10932
- (_.value !== void 0 && _.value === X || W) && K(I);
10930
+ (L, X, oe) => {
10931
+ const G = !Y.current && !oe;
10932
+ (_.value !== void 0 && _.value === X || G) && K(L);
10933
10933
  },
10934
10934
  [_.value]
10935
10935
  ), de = r === "popper" ? No : cu, ce = de === No ? {
@@ -10958,19 +10958,19 @@ var Ue = 10, [su, wt] = rn(jt), _y = "SelectContentImpl", lu = g.forwardRef(
10958
10958
  focusSelectedItem: U,
10959
10959
  selectedItemText: Z,
10960
10960
  position: r,
10961
- isPositioned: G,
10961
+ isPositioned: W,
10962
10962
  searchRef: q,
10963
10963
  children: /* @__PURE__ */ c.jsx(Qc, { as: En, allowPinchZoom: !0, children: /* @__PURE__ */ c.jsx(
10964
10964
  Sc,
10965
10965
  {
10966
10966
  asChild: !0,
10967
10967
  trapped: _.open,
10968
- onMountAutoFocus: (I) => {
10969
- I.preventDefault();
10968
+ onMountAutoFocus: (L) => {
10969
+ L.preventDefault();
10970
10970
  },
10971
- onUnmountAutoFocus: ge(o, (I) => {
10971
+ onUnmountAutoFocus: ge(o, (L) => {
10972
10972
  var X;
10973
- (X = _.trigger) == null || X.focus({ preventScroll: !0 }), I.preventDefault();
10973
+ (X = _.trigger) == null || X.focus({ preventScroll: !0 }), L.preventDefault();
10974
10974
  }),
10975
10975
  children: /* @__PURE__ */ c.jsx(
10976
10976
  Ec,
@@ -10979,7 +10979,7 @@ var Ue = 10, [su, wt] = rn(jt), _y = "SelectContentImpl", lu = g.forwardRef(
10979
10979
  disableOutsidePointerEvents: !0,
10980
10980
  onEscapeKeyDown: a,
10981
10981
  onPointerDownOutside: i,
10982
- onFocusOutside: (I) => I.preventDefault(),
10982
+ onFocusOutside: (L) => L.preventDefault(),
10983
10983
  onDismiss: () => _.onOpenChange(!1),
10984
10984
  children: /* @__PURE__ */ c.jsx(
10985
10985
  de,
@@ -10988,10 +10988,10 @@ var Ue = 10, [su, wt] = rn(jt), _y = "SelectContentImpl", lu = g.forwardRef(
10988
10988
  id: _.contentId,
10989
10989
  "data-state": _.open ? "open" : "closed",
10990
10990
  dir: _.dir,
10991
- onContextMenu: (I) => I.preventDefault(),
10991
+ onContextMenu: (L) => L.preventDefault(),
10992
10992
  ...w,
10993
10993
  ...ce,
10994
- onPlaced: () => L(!0),
10994
+ onPlaced: () => I(!0),
10995
10995
  ref: S,
10996
10996
  style: {
10997
10997
  // flex layout so we can place the scroll buttons properly
@@ -11001,15 +11001,15 @@ var Ue = 10, [su, wt] = rn(jt), _y = "SelectContentImpl", lu = g.forwardRef(
11001
11001
  outline: "none",
11002
11002
  ...w.style
11003
11003
  },
11004
- onKeyDown: ge(w.onKeyDown, (I) => {
11005
- const X = I.ctrlKey || I.altKey || I.metaKey;
11006
- if (I.key === "Tab" && I.preventDefault(), !X && I.key.length === 1 && T(I.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(I.key)) {
11007
- let oe = H().filter((W) => !W.disabled).map((W) => W.ref.current);
11008
- if (["ArrowUp", "End"].includes(I.key) && (oe = oe.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(I.key)) {
11009
- const W = I.target, ee = oe.indexOf(W);
11004
+ onKeyDown: ge(w.onKeyDown, (L) => {
11005
+ const X = L.ctrlKey || L.altKey || L.metaKey;
11006
+ if (L.key === "Tab" && L.preventDefault(), !X && L.key.length === 1 && T(L.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(L.key)) {
11007
+ let oe = H().filter((G) => !G.disabled).map((G) => G.ref.current);
11008
+ if (["ArrowUp", "End"].includes(L.key) && (oe = oe.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(L.key)) {
11009
+ const G = L.target, ee = oe.indexOf(G);
11010
11010
  oe = oe.slice(ee + 1);
11011
11011
  }
11012
- setTimeout(() => A(oe)), I.preventDefault();
11012
+ setTimeout(() => A(oe)), L.preventDefault();
11013
11013
  }
11014
11014
  })
11015
11015
  }
@@ -11028,7 +11028,7 @@ var by = "SelectItemAlignedPosition", cu = g.forwardRef((e, t) => {
11028
11028
  if (a.trigger && a.valueNode && s && u && p && m && w) {
11029
11029
  const S = a.trigger.getBoundingClientRect(), N = u.getBoundingClientRect(), O = a.valueNode.getBoundingClientRect(), Z = w.getBoundingClientRect();
11030
11030
  if (a.dir !== "rtl") {
11031
- const W = Z.left - N.left, ee = O.left - W, R = S.left - ee, be = S.width + R, Oe = Math.max(be, N.width), Re = window.innerWidth - Ue, Ye = es(ee, [
11031
+ const G = Z.left - N.left, ee = O.left - G, R = S.left - ee, be = S.width + R, Oe = Math.max(be, N.width), Re = window.innerWidth - Ue, Ye = es(ee, [
11032
11032
  Ue,
11033
11033
  // Prevents the content from going off the starting edge of the
11034
11034
  // viewport. It may still go off the ending edge, but this can be
@@ -11039,29 +11039,29 @@ var by = "SelectItemAlignedPosition", cu = g.forwardRef((e, t) => {
11039
11039
  ]);
11040
11040
  s.style.minWidth = be + "px", s.style.left = Ye + "px";
11041
11041
  } else {
11042
- const W = N.right - Z.right, ee = window.innerWidth - O.right - W, R = window.innerWidth - S.right - ee, be = S.width + R, Oe = Math.max(be, N.width), Re = window.innerWidth - Ue, Ye = es(ee, [
11042
+ const G = N.right - Z.right, ee = window.innerWidth - O.right - G, R = window.innerWidth - S.right - ee, be = S.width + R, Oe = Math.max(be, N.width), Re = window.innerWidth - Ue, Ye = es(ee, [
11043
11043
  Ue,
11044
11044
  Math.max(Ue, Re - Oe)
11045
11045
  ]);
11046
11046
  s.style.minWidth = be + "px", s.style.right = Ye + "px";
11047
11047
  }
11048
- const K = y(), H = window.innerHeight - Ue * 2, G = p.scrollHeight, L = window.getComputedStyle(u), Y = parseInt(L.borderTopWidth, 10), A = parseInt(L.paddingTop, 10), U = parseInt(L.borderBottomWidth, 10), J = parseInt(L.paddingBottom, 10), z = Y + A + G + J + U, q = Math.min(m.offsetHeight * 5, z), T = window.getComputedStyle(p), D = parseInt(T.paddingTop, 10), M = parseInt(T.paddingBottom, 10), B = S.top + S.height / 2 - Ue, de = H - B, ce = m.offsetHeight / 2, I = m.offsetTop + ce, X = Y + A + I, oe = z - X;
11048
+ const K = y(), H = window.innerHeight - Ue * 2, W = p.scrollHeight, I = window.getComputedStyle(u), Y = parseInt(I.borderTopWidth, 10), A = parseInt(I.paddingTop, 10), U = parseInt(I.borderBottomWidth, 10), J = parseInt(I.paddingBottom, 10), z = Y + A + W + J + U, q = Math.min(m.offsetHeight * 5, z), T = window.getComputedStyle(p), D = parseInt(T.paddingTop, 10), M = parseInt(T.paddingBottom, 10), B = S.top + S.height / 2 - Ue, de = H - B, ce = m.offsetHeight / 2, L = m.offsetTop + ce, X = Y + A + L, oe = z - X;
11049
11049
  if (X <= B) {
11050
- const W = K.length > 0 && m === K[K.length - 1].ref.current;
11050
+ const G = K.length > 0 && m === K[K.length - 1].ref.current;
11051
11051
  s.style.bottom = "0px";
11052
11052
  const ee = u.clientHeight - p.offsetTop - p.offsetHeight, R = Math.max(
11053
11053
  de,
11054
11054
  ce + // viewport might have padding bottom, include it to avoid a scrollable viewport
11055
- (W ? M : 0) + ee + U
11055
+ (G ? M : 0) + ee + U
11056
11056
  ), be = X + R;
11057
11057
  s.style.height = be + "px";
11058
11058
  } else {
11059
- const W = K.length > 0 && m === K[0].ref.current;
11059
+ const G = K.length > 0 && m === K[0].ref.current;
11060
11060
  s.style.top = "0px";
11061
11061
  const ee = Math.max(
11062
11062
  B,
11063
11063
  Y + p.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
11064
- (W ? D : 0) + ce
11064
+ (G ? D : 0) + ce
11065
11065
  ) + oe;
11066
11066
  s.style.height = ee + "px", p.scrollTop = X - B + p.offsetTop;
11067
11067
  }
@@ -11157,9 +11157,9 @@ var Cy = "SelectPopperPosition", No = g.forwardRef((e, t) => {
11157
11157
  );
11158
11158
  });
11159
11159
  No.displayName = Cy;
11160
- var [xy, ka] = rn(jt, {}), Io = "SelectViewport", uu = g.forwardRef(
11160
+ var [xy, ka] = rn(jt, {}), Lo = "SelectViewport", uu = g.forwardRef(
11161
11161
  (e, t) => {
11162
- const { __scopeSelect: n, nonce: r, ...o } = e, a = wt(Io, n), i = ka(Io, n), s = ke(t, a.onViewportChange), l = g.useRef(0);
11162
+ const { __scopeSelect: n, nonce: r, ...o } = e, a = wt(Lo, n), i = ka(Lo, n), s = ke(t, a.onViewportChange), l = g.useRef(0);
11163
11163
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
11164
11164
  /* @__PURE__ */ c.jsx(
11165
11165
  "style",
@@ -11209,7 +11209,7 @@ var [xy, ka] = rn(jt, {}), Io = "SelectViewport", uu = g.forwardRef(
11209
11209
  ] });
11210
11210
  }
11211
11211
  );
11212
- uu.displayName = Io;
11212
+ uu.displayName = Lo;
11213
11213
  var du = "SelectGroup", [wy, Ey] = rn(du), fu = g.forwardRef(
11214
11214
  (e, t) => {
11215
11215
  const { __scopeSelect: n, ...r } = e, o = ga();
@@ -11336,8 +11336,8 @@ var vu = "SelectItemIndicator", yu = g.forwardRef(
11336
11336
  }
11337
11337
  );
11338
11338
  yu.displayName = vu;
11339
- var Lo = "SelectScrollUpButton", qy = g.forwardRef((e, t) => {
11340
- const n = wt(Lo, e.__scopeSelect), r = ka(Lo, e.__scopeSelect), [o, a] = g.useState(!1), i = ke(t, r.onScrollButtonChange);
11339
+ var Io = "SelectScrollUpButton", qy = g.forwardRef((e, t) => {
11340
+ const n = wt(Io, e.__scopeSelect), r = ka(Io, e.__scopeSelect), [o, a] = g.useState(!1), i = ke(t, r.onScrollButtonChange);
11341
11341
  return $e(() => {
11342
11342
  if (n.viewport && n.isPositioned) {
11343
11343
  let s = function() {
@@ -11359,7 +11359,7 @@ var Lo = "SelectScrollUpButton", qy = g.forwardRef((e, t) => {
11359
11359
  }
11360
11360
  ) : null;
11361
11361
  });
11362
- qy.displayName = Lo;
11362
+ qy.displayName = Io;
11363
11363
  var Oo = "SelectScrollDownButton", _u = g.forwardRef((e, t) => {
11364
11364
  const n = wt(Oo, e.__scopeSelect), r = ka(Oo, e.__scopeSelect), [o, a] = g.useState(!1), i = ke(t, r.onScrollButtonChange);
11365
11365
  return $e(() => {
@@ -11470,7 +11470,7 @@ function Eu(e, t, n) {
11470
11470
  function Ry(e, t) {
11471
11471
  return e.map((n, r) => e[(t + r) % e.length]);
11472
11472
  }
11473
- var My = eu, Py = nu, Ny = ou, Iy = au, Ly = iu, Oy = uu, Ay = fu, Dy = mu, Fy = gu, $y = yu, Hy = _u, Uy = "_1wo163v0", By = "_1wo163v1", Vy = "_1wo163v2", Gy = "_1wo163v3", Wy = "_1wo163v4", Yy = "_1wo163v5", Ky = "_1wo163v6", Zy = "_1wo163v7", Xy = "_1wo163v8", Jy = "_1wo163v9";
11473
+ var My = eu, Py = nu, Ny = ou, Ly = au, Iy = iu, Oy = uu, Ay = fu, Dy = mu, Fy = gu, $y = yu, Hy = _u, Uy = "_1wo163v0", By = "_1wo163v1", Vy = "_1wo163v2", Wy = "_1wo163v3", Gy = "_1wo163v4", Yy = "_1wo163v5", Ky = "_1wo163v6", Zy = "_1wo163v7", Xy = "_1wo163v8", Jy = "_1wo163v9";
11474
11474
  const Qy = ({
11475
11475
  label: e,
11476
11476
  items: t,
@@ -11502,8 +11502,8 @@ const Qy = ({
11502
11502
  className: ne("sid-dropdown__trigger", Uy, a),
11503
11503
  children: [
11504
11504
  /* @__PURE__ */ c.jsx("div", { className: ne("sid-dropdown__trigger__input", Vy), children: /* @__PURE__ */ c.jsx(Ny, { placeholder: r }) }),
11505
- /* @__PURE__ */ c.jsx(Iy, { className: Ky, children: /* @__PURE__ */ c.jsx(
11506
- Gl,
11505
+ /* @__PURE__ */ c.jsx(Ly, { className: Ky, children: /* @__PURE__ */ c.jsx(
11506
+ Wl,
11507
11507
  {
11508
11508
  className: ne("sid-dropdown__trigger__icon", Zy)
11509
11509
  }
@@ -11512,19 +11512,19 @@ const Qy = ({
11512
11512
  }
11513
11513
  ),
11514
11514
  /* @__PURE__ */ c.jsxs(
11515
- Ly,
11515
+ Iy,
11516
11516
  {
11517
11517
  ...i,
11518
11518
  className: ne(
11519
11519
  "sid-dropdown__popover",
11520
- Gy,
11520
+ Wy,
11521
11521
  i == null ? void 0 : i.className
11522
11522
  ),
11523
11523
  children: [
11524
11524
  /* @__PURE__ */ c.jsx(
11525
11525
  Oy,
11526
11526
  {
11527
- className: ne("sid-dropdown__viewport", Wy),
11527
+ className: ne("sid-dropdown__viewport", Gy),
11528
11528
  children: /* @__PURE__ */ c.jsx(Ay, { children: t.map((f) => /* @__PURE__ */ c.jsxs(
11529
11529
  Dy,
11530
11530
  {
@@ -11557,13 +11557,13 @@ const Qy = ({
11557
11557
  cancelable: !0
11558
11558
  }, Sa = "RovingFocusGroup", [Do, ku, t_] = Jl(Sa), [n_, Su] = Nt(Sa, [
11559
11559
  t_
11560
- ]), [r_, o_] = n_(Sa), a_ = /* @__PURE__ */ Le((e, t) => /* @__PURE__ */ _e(Do.Provider, {
11560
+ ]), [r_, o_] = n_(Sa), a_ = /* @__PURE__ */ Ie((e, t) => /* @__PURE__ */ _e(Do.Provider, {
11561
11561
  scope: e.__scopeRovingFocusGroup
11562
11562
  }, /* @__PURE__ */ _e(Do.Slot, {
11563
11563
  scope: e.__scopeRovingFocusGroup
11564
11564
  }, /* @__PURE__ */ _e(i_, Ce({}, e, {
11565
11565
  ref: t
11566
- }))))), i_ = /* @__PURE__ */ Le((e, t) => {
11566
+ }))))), i_ = /* @__PURE__ */ Ie((e, t) => {
11567
11567
  const { __scopeRovingFocusGroup: n, orientation: r, loop: o = !1, dir: a, currentTabStopId: i, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: l, onEntryFocus: u, ...d } = e, f = Ze(null), y = wn(t, f), h = fa(a), [b = null, p] = Sr({
11568
11568
  prop: i,
11569
11569
  defaultProp: s,
@@ -11603,7 +11603,7 @@ const Qy = ({
11603
11603
  ),
11604
11604
  []
11605
11605
  )
11606
- }, /* @__PURE__ */ _e(It.div, Ce({
11606
+ }, /* @__PURE__ */ _e(Lt.div, Ce({
11607
11607
  tabIndex: m || C === 0 ? -1 : 0,
11608
11608
  "data-orientation": r
11609
11609
  }, d, {
@@ -11621,19 +11621,19 @@ const Qy = ({
11621
11621
  const O = new CustomEvent(ao, e_);
11622
11622
  if (S.currentTarget.dispatchEvent(O), !O.defaultPrevented) {
11623
11623
  const Z = x().filter(
11624
- (L) => L.focusable
11624
+ (I) => I.focusable
11625
11625
  ), K = Z.find(
11626
- (L) => L.active
11626
+ (I) => I.active
11627
11627
  ), H = Z.find(
11628
- (L) => L.id === b
11629
- ), G = [
11628
+ (I) => I.id === b
11629
+ ), W = [
11630
11630
  K,
11631
11631
  H,
11632
11632
  ...Z
11633
11633
  ].filter(Boolean).map(
11634
- (L) => L.ref.current
11634
+ (I) => I.ref.current
11635
11635
  );
11636
- qu(G);
11636
+ qu(W);
11637
11637
  }
11638
11638
  }
11639
11639
  E.current = !1;
@@ -11643,7 +11643,7 @@ const Qy = ({
11643
11643
  () => w(!1)
11644
11644
  )
11645
11645
  })));
11646
- }), s_ = "RovingFocusGroupItem", l_ = /* @__PURE__ */ Le((e, t) => {
11646
+ }), s_ = "RovingFocusGroupItem", l_ = /* @__PURE__ */ Ie((e, t) => {
11647
11647
  const { __scopeRovingFocusGroup: n, focusable: r = !0, active: o = !1, tabStopId: a, ...i } = e, s = ec(), l = a || s, u = o_(s_, n), d = u.currentTabStopId === l, f = ku(n), { onFocusableItemAdd: y, onFocusableItemRemove: h } = u;
11648
11648
  return ye(() => {
11649
11649
  if (r)
@@ -11657,7 +11657,7 @@ const Qy = ({
11657
11657
  id: l,
11658
11658
  focusable: r,
11659
11659
  active: o
11660
- }, /* @__PURE__ */ _e(It.span, Ce({
11660
+ }, /* @__PURE__ */ _e(Lt.span, Ce({
11661
11661
  tabIndex: d ? 0 : -1,
11662
11662
  "data-orientation": u.orientation
11663
11663
  }, i, {
@@ -11734,7 +11734,7 @@ function f_(e, t) {
11734
11734
  }
11735
11735
  const p_ = a_, h_ = l_, zu = "Tabs", [m_, w5] = Nt(zu, [
11736
11736
  Su
11737
- ]), Tu = Su(), [g_, qa] = m_(zu), v_ = /* @__PURE__ */ Le((e, t) => {
11737
+ ]), Tu = Su(), [g_, qa] = m_(zu), v_ = /* @__PURE__ */ Ie((e, t) => {
11738
11738
  const { __scopeTabs: n, value: r, onValueChange: o, defaultValue: a, orientation: i = "horizontal", dir: s, activationMode: l = "automatic", ...u } = e, d = fa(s), [f, y] = Sr({
11739
11739
  prop: r,
11740
11740
  onChange: o,
@@ -11748,13 +11748,13 @@ const p_ = a_, h_ = l_, zu = "Tabs", [m_, w5] = Nt(zu, [
11748
11748
  orientation: i,
11749
11749
  dir: d,
11750
11750
  activationMode: l
11751
- }, /* @__PURE__ */ _e(It.div, Ce({
11751
+ }, /* @__PURE__ */ _e(Lt.div, Ce({
11752
11752
  dir: d,
11753
11753
  "data-orientation": i
11754
11754
  }, u, {
11755
11755
  ref: t
11756
11756
  })));
11757
- }), y_ = "TabsList", __ = /* @__PURE__ */ Le((e, t) => {
11757
+ }), y_ = "TabsList", __ = /* @__PURE__ */ Ie((e, t) => {
11758
11758
  const { __scopeTabs: n, loop: r = !0, ...o } = e, a = qa(y_, n), i = Tu(n);
11759
11759
  return /* @__PURE__ */ _e(p_, Ce({
11760
11760
  asChild: !0
@@ -11762,20 +11762,20 @@ const p_ = a_, h_ = l_, zu = "Tabs", [m_, w5] = Nt(zu, [
11762
11762
  orientation: a.orientation,
11763
11763
  dir: a.dir,
11764
11764
  loop: r
11765
- }), /* @__PURE__ */ _e(It.div, Ce({
11765
+ }), /* @__PURE__ */ _e(Lt.div, Ce({
11766
11766
  role: "tablist",
11767
11767
  "aria-orientation": a.orientation
11768
11768
  }, o, {
11769
11769
  ref: t
11770
11770
  })));
11771
- }), b_ = "TabsTrigger", C_ = /* @__PURE__ */ Le((e, t) => {
11771
+ }), b_ = "TabsTrigger", C_ = /* @__PURE__ */ Ie((e, t) => {
11772
11772
  const { __scopeTabs: n, value: r, disabled: o = !1, ...a } = e, i = qa(b_, n), s = Tu(n), l = ju(i.baseId, r), u = Ru(i.baseId, r), d = r === i.value;
11773
11773
  return /* @__PURE__ */ _e(h_, Ce({
11774
11774
  asChild: !0
11775
11775
  }, s, {
11776
11776
  focusable: !o,
11777
11777
  active: d
11778
- }), /* @__PURE__ */ _e(It.button, Ce({
11778
+ }), /* @__PURE__ */ _e(Lt.button, Ce({
11779
11779
  type: "button",
11780
11780
  role: "tab",
11781
11781
  "aria-selected": d,
@@ -11800,7 +11800,7 @@ const p_ = a_, h_ = l_, zu = "Tabs", [m_, w5] = Nt(zu, [
11800
11800
  !d && !o && f && i.onValueChange(r);
11801
11801
  })
11802
11802
  })));
11803
- }), x_ = "TabsContent", w_ = /* @__PURE__ */ Le((e, t) => {
11803
+ }), x_ = "TabsContent", w_ = /* @__PURE__ */ Ie((e, t) => {
11804
11804
  const { __scopeTabs: n, value: r, forceMount: o, children: a, ...i } = e, s = qa(x_, n), l = ju(s.baseId, r), u = Ru(s.baseId, r), d = r === s.value, f = Ze(d);
11805
11805
  return ye(() => {
11806
11806
  const y = requestAnimationFrame(
@@ -11812,7 +11812,7 @@ const p_ = a_, h_ = l_, zu = "Tabs", [m_, w5] = Nt(zu, [
11812
11812
  {
11813
11813
  present: o || d
11814
11814
  },
11815
- ({ present: y }) => /* @__PURE__ */ _e(It.div, Ce({
11815
+ ({ present: y }) => /* @__PURE__ */ _e(Lt.div, Ce({
11816
11816
  "data-state": d ? "active" : "inactive",
11817
11817
  "data-orientation": s.orientation,
11818
11818
  role: "tabpanel",
@@ -11981,28 +11981,28 @@ var N_ = { exports: {} };
11981
11981
  return { __await: z };
11982
11982
  };
11983
11983
  function K(z, q) {
11984
- function T(B, de, ce, I) {
11984
+ function T(B, de, ce, L) {
11985
11985
  var X = h(z[B], z, de);
11986
11986
  if (X.type === "throw")
11987
- I(X.arg);
11987
+ L(X.arg);
11988
11988
  else {
11989
- var oe = X.arg, W = oe.value;
11990
- return W && typeof W == "object" && o.call(W, "__await") ? q.resolve(W.__await).then(function(ee) {
11991
- T("next", ee, ce, I);
11989
+ var oe = X.arg, G = oe.value;
11990
+ return G && typeof G == "object" && o.call(G, "__await") ? q.resolve(G.__await).then(function(ee) {
11991
+ T("next", ee, ce, L);
11992
11992
  }, function(ee) {
11993
- T("throw", ee, ce, I);
11994
- }) : q.resolve(W).then(function(ee) {
11993
+ T("throw", ee, ce, L);
11994
+ }) : q.resolve(G).then(function(ee) {
11995
11995
  oe.value = ee, ce(oe);
11996
11996
  }, function(ee) {
11997
- return T("throw", ee, ce, I);
11997
+ return T("throw", ee, ce, L);
11998
11998
  });
11999
11999
  }
12000
12000
  }
12001
12001
  var D;
12002
12002
  function M(B, de) {
12003
12003
  function ce() {
12004
- return new q(function(I, X) {
12005
- T(B, de, I, X);
12004
+ return new q(function(L, X) {
12005
+ T(B, de, L, X);
12006
12006
  });
12007
12007
  }
12008
12008
  return D = // If enqueue has been called before, then we want to wait until
@@ -12051,7 +12051,7 @@ var N_ = { exports: {} };
12051
12051
  for (T.method = M, T.arg = B; ; ) {
12052
12052
  var de = T.delegate;
12053
12053
  if (de) {
12054
- var ce = G(de, T);
12054
+ var ce = W(de, T);
12055
12055
  if (ce) {
12056
12056
  if (ce === _)
12057
12057
  continue;
@@ -12067,23 +12067,23 @@ var N_ = { exports: {} };
12067
12067
  } else
12068
12068
  T.method === "return" && T.abrupt("return", T.arg);
12069
12069
  D = m;
12070
- var I = h(z, q, T);
12071
- if (I.type === "normal") {
12072
- if (D = T.done ? w : p, I.arg === _)
12070
+ var L = h(z, q, T);
12071
+ if (L.type === "normal") {
12072
+ if (D = T.done ? w : p, L.arg === _)
12073
12073
  continue;
12074
12074
  return {
12075
- value: I.arg,
12075
+ value: L.arg,
12076
12076
  done: T.done
12077
12077
  };
12078
12078
  } else
12079
- I.type === "throw" && (D = w, T.method = "throw", T.arg = I.arg);
12079
+ L.type === "throw" && (D = w, T.method = "throw", T.arg = L.arg);
12080
12080
  }
12081
12081
  };
12082
12082
  }
12083
- function G(z, q) {
12083
+ function W(z, q) {
12084
12084
  var T = q.method, D = z.iterator[T];
12085
12085
  if (D === i)
12086
- return q.delegate = null, T === "throw" && z.iterator.return && (q.method = "return", q.arg = i, G(z, q), q.method === "throw") || T !== "return" && (q.method = "throw", q.arg = new TypeError(
12086
+ return q.delegate = null, T === "throw" && z.iterator.return && (q.method = "return", q.arg = i, W(z, q), q.method === "throw") || T !== "return" && (q.method = "throw", q.arg = new TypeError(
12087
12087
  "The iterator does not provide a '" + T + "' method"
12088
12088
  )), _;
12089
12089
  var M = h(D, z.iterator, q.arg);
@@ -12103,7 +12103,7 @@ var N_ = { exports: {} };
12103
12103
  }), f(O, "toString", function() {
12104
12104
  return "[object Generator]";
12105
12105
  });
12106
- function L(z) {
12106
+ function I(z) {
12107
12107
  var q = { tryLoc: z[0] };
12108
12108
  1 in z && (q.catchLoc = z[1]), 2 in z && (q.finallyLoc = z[2], q.afterLoc = z[3]), this.tryEntries.push(q);
12109
12109
  }
@@ -12112,7 +12112,7 @@ var N_ = { exports: {} };
12112
12112
  q.type = "normal", delete q.arg, z.completion = q;
12113
12113
  }
12114
12114
  function A(z) {
12115
- this.tryEntries = [{ tryLoc: "root" }], z.forEach(L, this), this.reset(!0);
12115
+ this.tryEntries = [{ tryLoc: "root" }], z.forEach(I, this), this.reset(!0);
12116
12116
  }
12117
12117
  n.keys = function(z) {
12118
12118
  var q = Object(z), T = [];
@@ -12168,8 +12168,8 @@ var N_ = { exports: {} };
12168
12168
  if (this.done)
12169
12169
  throw z;
12170
12170
  var q = this;
12171
- function T(I, X) {
12172
- return B.type = "throw", B.arg = z, q.next = I, X && (q.method = "next", q.arg = i), !!X;
12171
+ function T(L, X) {
12172
+ return B.type = "throw", B.arg = z, q.next = L, X && (q.method = "next", q.arg = i), !!X;
12173
12173
  }
12174
12174
  for (var D = this.tryEntries.length - 1; D >= 0; --D) {
12175
12175
  var M = this.tryEntries[D], B = M.completion;
@@ -12252,7 +12252,7 @@ var N_ = { exports: {} };
12252
12252
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = t : Function("r", "regeneratorRuntime = r")(t);
12253
12253
  }
12254
12254
  })(N_);
12255
- const I_ = {
12255
+ const L_ = {
12256
12256
  sid: void 0,
12257
12257
  user: void 0,
12258
12258
  anonymousUser: void 0,
@@ -12272,8 +12272,8 @@ const I_ = {
12272
12272
  __syncExternalState: async () => {
12273
12273
  },
12274
12274
  __orgSwitchingState: { state: "idle" }
12275
- }, L_ = Qe(I_);
12276
- L_.displayName = "SlashIDContext";
12275
+ }, I_ = Qe(L_);
12276
+ I_.displayName = "SlashIDContext";
12277
12277
  const O_ = [
12278
12278
  "email_address",
12279
12279
  "phone_number",
@@ -12326,7 +12326,7 @@ function Qn(e, t) {
12326
12326
  if (!(!e || e.type !== t))
12327
12327
  return e.value;
12328
12328
  }
12329
- function G_(e) {
12329
+ function W_(e) {
12330
12330
  for (const t of ua())
12331
12331
  if (e.startsWith(t.dial_code))
12332
12332
  return {
@@ -12335,7 +12335,7 @@ function G_(e) {
12335
12335
  countryCode: Yl(t.dial_code).code
12336
12336
  };
12337
12337
  }
12338
- const hr = (e) => /* @__PURE__ */ c.jsx(kv, { ...e }), W_ = {
12338
+ const hr = (e) => /* @__PURE__ */ c.jsx(kv, { ...e }), G_ = {
12339
12339
  "": "NYI",
12340
12340
  "footer.branding": "Top-tier security by SlashID",
12341
12341
  "initial.title": "Welcome to SlashID",
@@ -12549,32 +12549,32 @@ const hr = (e) => /* @__PURE__ */ c.jsx(kv, { ...e }), W_ = {
12549
12549
  * @deprecated Use 'initial.handle.email.placeholder' instead
12550
12550
  */
12551
12551
  "initial.handle.phone.email": ""
12552
- }, ja = /([0-9]+)px$/, Ra = /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/, Pu = /^rgba\(\s*(25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*(25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*(25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*(0(\.\d+)?|1(\.0)?)\s*\)$/, Ir = /(?:['"]?([\\\w\d\- ]+)['"]?(?:,\s*)?)/g, Nu = /* @__PURE__ */ new Set(["Open Sans", "Inter"]), Iu = ["sans-serif", ...Nu], Ma = (e, t) => {
12552
+ }, ja = /([0-9]+)px$/, Ra = /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/, Pu = /^rgba\(\s*(25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*(25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*(25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*(0(\.\d+)?|1(\.0)?)\s*\)$/, Lr = /(?:['"]?([\\\w\d\- ]+)['"]?(?:,\s*)?)/g, Nu = /* @__PURE__ */ new Set(["Open Sans", "Inter"]), Lu = ["sans-serif", ...Nu], Ma = (e, t) => {
12553
12553
  const n = e.toString().match(t);
12554
12554
  if (!n)
12555
12555
  return null;
12556
12556
  const [r] = n;
12557
12557
  return t.test(r) ? r : null;
12558
- }, er = (e) => Array.isArray(e) ? null : Ma(e, ja), Et = (e) => Array.isArray(e) ? null : Ma(e, Ra), dn = (e) => Array.isArray(e) ? null : Ma(e, Pu), Lu = (e) => e.map((t) => t.replaceAll(",", "").trim()).filter((t) => {
12559
- for (const n of Iu)
12558
+ }, er = (e) => Array.isArray(e) ? null : Ma(e, ja), Et = (e) => Array.isArray(e) ? null : Ma(e, Ra), dn = (e) => Array.isArray(e) ? null : Ma(e, Pu), Iu = (e) => e.map((t) => t.replaceAll(",", "").trim()).filter((t) => {
12559
+ for (const n of Lu)
12560
12560
  if (t === n || t === `'${n}'` || t === `"${n}"`)
12561
12561
  return !0;
12562
12562
  return !1;
12563
12563
  }), Y_ = (e) => {
12564
- const t = e.toString().match(Ir);
12564
+ const t = e.toString().match(Lr);
12565
12565
  if (!t)
12566
12566
  return null;
12567
- const n = Lu(t);
12567
+ const n = Iu(t);
12568
12568
  return n.length ? n.join(", ") : null;
12569
- }, Lr = (e, t) => {
12569
+ }, Ir = (e, t) => {
12570
12570
  const n = e.toString().match(t);
12571
12571
  if (!n)
12572
12572
  return !1;
12573
12573
  const [r] = n;
12574
12574
  return !!t.test(r);
12575
- }, K_ = (e) => Lr(e, ja), Z_ = (e) => Lr(e, Ra), X_ = (e) => Lr(e, Pu), J_ = (e) => (t) => !(Array.isArray(t) || !e.some((n) => n === t)), Q_ = (e) => {
12576
- const t = e.toString().match(Ir);
12577
- return !(!t || Lu(t).length !== t.length);
12575
+ }, K_ = (e) => Ir(e, ja), Z_ = (e) => Ir(e, Ra), X_ = (e) => Ir(e, Pu), J_ = (e) => (t) => !(Array.isArray(t) || !e.some((n) => n === t)), Q_ = (e) => {
12576
+ const t = e.toString().match(Lr);
12577
+ return !(!t || Iu(t).length !== t.length);
12578
12578
  }, e2 = (e) => {
12579
12579
  try {
12580
12580
  return new URL(e), !0;
@@ -12584,20 +12584,20 @@ const hr = (e) => /* @__PURE__ */ c.jsx(kv, { ...e }), W_ = {
12584
12584
  }, t2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12585
12585
  __proto__: null,
12586
12586
  exactValidator: J_,
12587
- fontFamilyRegExp: Ir,
12587
+ fontFamilyRegExp: Lr,
12588
12588
  fontFamilyValidator: Q_,
12589
12589
  hexValidator: Z_,
12590
12590
  hexValueRegExp: Ra,
12591
12591
  pixelValueRegExp: ja,
12592
12592
  pxValidator: K_,
12593
12593
  rgbaValidator: X_,
12594
- supportedFonts: Iu,
12594
+ supportedFonts: Lu,
12595
12595
  urlValidator: e2,
12596
- validate: Lr
12596
+ validate: Ir
12597
12597
  }, Symbol.toStringTag, { value: "Module" })), n2 = {
12598
- text: W_,
12598
+ text: G_,
12599
12599
  factors: [{ method: "webauthn" }, { method: "email_link" }],
12600
- logo: /* @__PURE__ */ c.jsx(Wl, {}),
12600
+ logo: /* @__PURE__ */ c.jsx(Gl, {}),
12601
12601
  storeLastHandle: !1,
12602
12602
  storeLastFactor: !1,
12603
12603
  showBanner: !0,
@@ -12852,7 +12852,7 @@ var k2 = "_1xoz4760", S2 = "_1xoz4761", q2 = "_1xoz4762", so = "_1xoz4763", z2 =
12852
12852
  const j2 = ({ logo: e }) => {
12853
12853
  if (typeof e == "string" && e)
12854
12854
  return /* @__PURE__ */ c.jsx("div", { className: ne("sid-logo", "sid-logo--image", so), children: /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx("img", { className: so, src: e, alt: "Company logo" }) }) });
12855
- const t = e || /* @__PURE__ */ c.jsx(Wl, {});
12855
+ const t = e || /* @__PURE__ */ c.jsx(Gl, {});
12856
12856
  return e || console.info("SlashID: No logo provided. Using default logo."), /* @__PURE__ */ c.jsx("div", { className: ne("sid-logo", "sid-logo--component", so), children: t });
12857
12857
  }, Pa = ({
12858
12858
  children: e
@@ -12862,120 +12862,12 @@ const j2 = ({ logo: e }) => {
12862
12862
  };
12863
12863
  Pa.displayName = "Logo";
12864
12864
  const R2 = {
12865
- google: /* @__PURE__ */ c.jsx(Om, {}),
12866
- facebook: /* @__PURE__ */ c.jsx(Nm, {}),
12867
- github: /* @__PURE__ */ c.jsx(Im, {}),
12868
- gitlab: /* @__PURE__ */ c.jsx(Lm, {}),
12869
- line: /* @__PURE__ */ c.jsx(Am, {}),
12870
- bitbucket: /* @__PURE__ */ c.jsx(Pm, {}),
12871
- azuread: /* @__PURE__ */ c.jsx(Mm, {}),
12872
- okta: /* @__PURE__ */ c.jsx(Dm, {}),
12873
- apple: /* @__PURE__ */ c.jsx(Rm, {})
12874
- }, M2 = {
12875
- google: "Google",
12876
- facebook: "Facebook",
12877
- github: "GitHub",
12878
- gitlab: "GitLab",
12879
- line: "LINE",
12880
- bitbucket: "Bitbucket",
12881
- azuread: "Azure AD",
12882
- okta: "Okta",
12883
- apple: "Apple"
12884
- };
12885
- function P2({ provider: e, handleClick: t }) {
12886
- var n;
12887
- const { text: r } = je();
12888
- return (n = e.options) != null && n.provider_credentials_id ? /* @__PURE__ */ c.jsxs(
12889
- Pt,
12890
- {
12891
- onClick: () => t({ method: "saml", options: e.options }),
12892
- variant: "secondary",
12893
- icon: /* @__PURE__ */ c.jsx(N2, { logo: e.logo, id: e.options.provider_credentials_id }),
12894
- className: ne("sid-saml--button"),
12895
- children: [
12896
- r["initial.sso"],
12897
- /* @__PURE__ */ c.jsx("span", { className: S2, children: e.label || "SAML" })
12898
- ]
12899
- }
12900
- ) : null;
12901
- }
12902
- function N2({ logo: e, id: t }) {
12903
- return e ? typeof e == "string" ? /* @__PURE__ */ c.jsx(
12904
- "img",
12905
- {
12906
- className: ne("sid-sso-logo", `sid-sso-logo--${t}`, xs),
12907
- src: e,
12908
- alt: "SSO provider logo"
12909
- }
12910
- ) : /* @__PURE__ */ c.jsx(
12911
- "div",
12912
- {
12913
- className: ne("sid-sso-logo", `sid-sso-logo--${t}`, xs),
12914
- children: e
12915
- }
12916
- ) : null;
12917
- }
12918
- function I2({ provider: e, handleClick: t }) {
12919
- var n, r, o;
12920
- const { text: a } = je();
12921
- return (n = e.options) != null && n.provider ? /* @__PURE__ */ c.jsxs(
12922
- Pt,
12923
- {
12924
- onClick: () => t({ method: "oidc", options: e.options }),
12925
- variant: "secondary",
12926
- icon: R2[(r = e.options) == null ? void 0 : r.provider],
12927
- className: ne("sid-oidc--button"),
12928
- children: [
12929
- a["initial.oidc"],
12930
- /* @__PURE__ */ c.jsx("span", { className: k2, children: e.label || M2[(o = e.options) == null ? void 0 : o.provider] })
12931
- ]
12932
- }
12933
- ) : null;
12934
- }
12935
- function Au({ providers: e, handleClick: t }) {
12936
- return e.length ? /* @__PURE__ */ c.jsx(
12937
- "div",
12938
- {
12939
- className: ne(
12940
- "sid-form-sso",
12941
- it({ marginTop: "4" }),
12942
- q2
12943
- ),
12944
- children: e.map((n) => {
12945
- var r, o;
12946
- switch (n.method) {
12947
- case "oidc":
12948
- return /* @__PURE__ */ c.jsx(
12949
- I2,
12950
- {
12951
- provider: n,
12952
- handleClick: t
12953
- },
12954
- (r = n.options) == null ? void 0 : r.client_id
12955
- );
12956
- case "saml":
12957
- return /* @__PURE__ */ c.jsx(
12958
- P2,
12959
- {
12960
- provider: n,
12961
- handleClick: t
12962
- },
12963
- (o = n.options) == null ? void 0 : o.provider_credentials_id
12964
- );
12965
- default:
12966
- throw new Error("unsupported SSO method");
12967
- }
12968
- })
12969
- }
12970
- ) : null;
12971
- }
12972
- const L2 = {
12973
12865
  currentStepId: "",
12974
12866
  attributes: {},
12975
12867
  stepIndex: 0,
12976
12868
  completionState: "incomplete"
12977
- }, O2 = {
12978
- state: L2,
12869
+ }, M2 = {
12870
+ state: R2,
12979
12871
  api: {
12980
12872
  nextStep: () => {
12981
12873
  },
@@ -12988,9 +12880,9 @@ const L2 = {
12988
12880
  }
12989
12881
  };
12990
12882
  Qe(
12991
- O2
12883
+ M2
12992
12884
  );
12993
- const A2 = {
12885
+ const P2 = {
12994
12886
  email_link: "factor.emailLink",
12995
12887
  otp_via_sms: "factor.otpViaSms",
12996
12888
  otp_via_email: "factor.otpViaEmail",
@@ -13000,14 +12892,14 @@ const A2 = {
13000
12892
  oidc: "",
13001
12893
  saml: "",
13002
12894
  totp: ""
13003
- }, Wt = {
12895
+ }, Gt = {
13004
12896
  email: "email",
13005
12897
  phone: "phone",
13006
12898
  username: "username"
13007
- }, D2 = {
13008
- phone_number: Wt.phone,
13009
- email_address: Wt.email,
13010
- username: Wt.username
12899
+ }, N2 = {
12900
+ phone_number: Gt.phone,
12901
+ email_address: Gt.email,
12902
+ username: Gt.username
13011
12903
  }, Nn = ({ children: e }) => {
13012
12904
  const { factors: t, text: n } = je(), { handleSubmit: r, submitPayloadRef: o, selectedFactor: a } = on(), { registerSubmit: i } = Or(), s = we(
13013
12905
  () => t.filter((d) => Ta(d)),
@@ -13040,7 +12932,7 @@ const A2 = {
13040
12932
  noValidate: !0,
13041
12933
  children: [
13042
12934
  /* @__PURE__ */ c.jsx(Na, {}),
13043
- /* @__PURE__ */ c.jsx(Ia, {})
12935
+ /* @__PURE__ */ c.jsx(La, {})
13044
12936
  ]
13045
12937
  }
13046
12938
  );
@@ -13061,11 +12953,11 @@ const A2 = {
13061
12953
  {
13062
12954
  testId: "sid-handle-type-tabs",
13063
12955
  className: it({ marginY: "6" }),
13064
- defaultValue: D2[(t == null ? void 0 : t.type) ?? "email_address"],
12956
+ defaultValue: N2[(t == null ? void 0 : t.type) ?? "email_address"],
13065
12957
  tabs: [
13066
12958
  ...a.includes("email_address") ? [
13067
12959
  {
13068
- id: Wt.email,
12960
+ id: Gt.email,
13069
12961
  title: r["initial.handle.email"],
13070
12962
  content: /* @__PURE__ */ c.jsx(
13071
12963
  tr,
@@ -13082,7 +12974,7 @@ const A2 = {
13082
12974
  ] : [],
13083
12975
  ...a.includes("phone_number") ? [
13084
12976
  {
13085
- id: Wt.phone,
12977
+ id: Gt.phone,
13086
12978
  title: r["initial.handle.phone"],
13087
12979
  content: /* @__PURE__ */ c.jsx(
13088
12980
  tr,
@@ -13099,7 +12991,7 @@ const A2 = {
13099
12991
  ] : [],
13100
12992
  ...a.includes("username") ? [
13101
12993
  {
13102
- id: Wt.username,
12994
+ id: Gt.username,
13103
12995
  title: r["initial.handle.username"],
13104
12996
  content: /* @__PURE__ */ c.jsx(
13105
12997
  tr,
@@ -13119,7 +13011,7 @@ const A2 = {
13119
13011
  );
13120
13012
  };
13121
13013
  Na.displayName = "Input";
13122
- const Ia = ({ children: e }) => {
13014
+ const La = ({ children: e }) => {
13123
13015
  const { text: t } = je(), { status: n } = Or();
13124
13016
  return typeof e == "function" ? /* @__PURE__ */ c.jsx(c.Fragment, { children: e({ text: t, status: n }) }) : Xe.count(e) > 0 ? /* @__PURE__ */ c.jsx(c.Fragment, { children: e }) : /* @__PURE__ */ c.jsx(
13125
13017
  Pt,
@@ -13135,7 +13027,7 @@ const Ia = ({ children: e }) => {
13135
13027
  }
13136
13028
  );
13137
13029
  };
13138
- Ia.displayName = "Submit";
13030
+ La.displayName = "Submit";
13139
13031
  const tr = ({
13140
13032
  handleType: e,
13141
13033
  factors: t,
@@ -13144,7 +13036,7 @@ const tr = ({
13144
13036
  const { setSelectedFactor: r, submitPayloadRef: o, lastFactor: a } = on(), i = we(
13145
13037
  () => B_(t, e).filter((_) => !Mu(_)),
13146
13038
  [t, e]
13147
- ), { text: s, defaultCountryCode: l } = je(), { registerField: u, values: d, resetForm: f } = Or(), y = i.length > 1, h = G_(n ?? ""), [b, p] = ve(
13039
+ ), { text: s, defaultCountryCode: l } = je(), { registerField: u, values: d, resetForm: f } = Or(), y = i.length > 1, h = W_(n ?? ""), [b, p] = ve(
13148
13040
  ca((h == null ? void 0 : h.countryCode) ?? l)
13149
13041
  ), m = we(() => a && Ta(a) && i.find(({ method: _ }) => a.method === _) ? a : i[0], [i, a]);
13150
13042
  ye(() => {
@@ -13232,7 +13124,7 @@ const tr = ({
13232
13124
  className: it({ marginBottom: "3", marginTop: "6" }),
13233
13125
  label: s["initial.authenticationMethod"],
13234
13126
  items: i.map((_) => ({
13235
- label: s[A2[_.method]],
13127
+ label: s[P2[_.method]],
13236
13128
  value: _.method
13237
13129
  })),
13238
13130
  onChange: (_) => {
@@ -13251,8 +13143,8 @@ const tr = ({
13251
13143
  };
13252
13144
  Nn.displayName = "Controls";
13253
13145
  Nn.Input = Na;
13254
- Nn.Submit = Ia;
13255
- const La = ({
13146
+ Nn.Submit = La;
13147
+ const Ia = ({
13256
13148
  children: e
13257
13149
  }) => {
13258
13150
  const { text: t } = je(), n = $.useMemo(() => /* @__PURE__ */ c.jsxs("div", { className: z2, children: [
@@ -13275,7 +13167,115 @@ const La = ({
13275
13167
  ] }), []);
13276
13168
  return typeof e == "function" ? /* @__PURE__ */ c.jsx(c.Fragment, { children: e({ text: t }) }) : $.Children.count(e) > 0 ? /* @__PURE__ */ c.jsx(c.Fragment, { children: e }) : n;
13277
13169
  };
13278
- La.displayName = "Header";
13170
+ Ia.displayName = "Header";
13171
+ const L2 = {
13172
+ google: /* @__PURE__ */ c.jsx(Om, {}),
13173
+ facebook: /* @__PURE__ */ c.jsx(Nm, {}),
13174
+ github: /* @__PURE__ */ c.jsx(Lm, {}),
13175
+ gitlab: /* @__PURE__ */ c.jsx(Im, {}),
13176
+ line: /* @__PURE__ */ c.jsx(Am, {}),
13177
+ bitbucket: /* @__PURE__ */ c.jsx(Pm, {}),
13178
+ azuread: /* @__PURE__ */ c.jsx(Mm, {}),
13179
+ okta: /* @__PURE__ */ c.jsx(Dm, {}),
13180
+ apple: /* @__PURE__ */ c.jsx(Rm, {})
13181
+ }, I2 = {
13182
+ google: "Google",
13183
+ facebook: "Facebook",
13184
+ github: "GitHub",
13185
+ gitlab: "GitLab",
13186
+ line: "LINE",
13187
+ bitbucket: "Bitbucket",
13188
+ azuread: "Azure AD",
13189
+ okta: "Okta",
13190
+ apple: "Apple"
13191
+ };
13192
+ function O2({ provider: e, handleClick: t }) {
13193
+ var n;
13194
+ const { text: r } = je();
13195
+ return (n = e.options) != null && n.provider_credentials_id ? /* @__PURE__ */ c.jsxs(
13196
+ Pt,
13197
+ {
13198
+ onClick: () => t({ method: "saml", options: e.options }),
13199
+ variant: "secondary",
13200
+ icon: /* @__PURE__ */ c.jsx(A2, { logo: e.logo, id: e.options.provider_credentials_id }),
13201
+ className: ne("sid-saml--button"),
13202
+ children: [
13203
+ r["initial.sso"],
13204
+ /* @__PURE__ */ c.jsx("span", { className: S2, children: e.label || "SAML" })
13205
+ ]
13206
+ }
13207
+ ) : null;
13208
+ }
13209
+ function A2({ logo: e, id: t }) {
13210
+ return e ? typeof e == "string" ? /* @__PURE__ */ c.jsx(
13211
+ "img",
13212
+ {
13213
+ className: ne("sid-sso-logo", `sid-sso-logo--${t}`, xs),
13214
+ src: e,
13215
+ alt: "SSO provider logo"
13216
+ }
13217
+ ) : /* @__PURE__ */ c.jsx(
13218
+ "div",
13219
+ {
13220
+ className: ne("sid-sso-logo", `sid-sso-logo--${t}`, xs),
13221
+ children: e
13222
+ }
13223
+ ) : null;
13224
+ }
13225
+ function D2({ provider: e, handleClick: t }) {
13226
+ var n, r, o;
13227
+ const { text: a } = je();
13228
+ return (n = e.options) != null && n.provider ? /* @__PURE__ */ c.jsxs(
13229
+ Pt,
13230
+ {
13231
+ onClick: () => t({ method: "oidc", options: e.options }),
13232
+ variant: "secondary",
13233
+ icon: L2[(r = e.options) == null ? void 0 : r.provider],
13234
+ className: ne("sid-oidc--button"),
13235
+ children: [
13236
+ a["initial.oidc"],
13237
+ /* @__PURE__ */ c.jsx("span", { className: k2, children: e.label || I2[(o = e.options) == null ? void 0 : o.provider] })
13238
+ ]
13239
+ }
13240
+ ) : null;
13241
+ }
13242
+ function Au({ providers: e, handleClick: t }) {
13243
+ return e.length ? /* @__PURE__ */ c.jsx(
13244
+ "div",
13245
+ {
13246
+ className: ne(
13247
+ "sid-form-sso",
13248
+ it({ marginTop: "4" }),
13249
+ q2
13250
+ ),
13251
+ children: e.map((n) => {
13252
+ var r, o;
13253
+ switch (n.method) {
13254
+ case "oidc":
13255
+ return /* @__PURE__ */ c.jsx(
13256
+ D2,
13257
+ {
13258
+ provider: n,
13259
+ handleClick: t
13260
+ },
13261
+ (r = n.options) == null ? void 0 : r.client_id
13262
+ );
13263
+ case "saml":
13264
+ return /* @__PURE__ */ c.jsx(
13265
+ O2,
13266
+ {
13267
+ provider: n,
13268
+ handleClick: t
13269
+ },
13270
+ (o = n.options) == null ? void 0 : o.provider_credentials_id
13271
+ );
13272
+ default:
13273
+ throw new Error("unsupported SSO method");
13274
+ }
13275
+ })
13276
+ }
13277
+ ) : null;
13278
+ }
13279
13279
  const Du = () => {
13280
13280
  const { factors: e, text: t } = je(), n = we(
13281
13281
  () => V_(e),
@@ -13298,19 +13298,19 @@ const Oa = ({
13298
13298
  Oa.displayName = "SSO";
13299
13299
  const an = () => /* @__PURE__ */ c.jsxs("article", { "data-testid": "sid-form-initial-state", children: [
13300
13300
  /* @__PURE__ */ c.jsx(Pa, {}),
13301
- /* @__PURE__ */ c.jsx(La, {}),
13301
+ /* @__PURE__ */ c.jsx(Ia, {}),
13302
13302
  /* @__PURE__ */ c.jsx(Nn, {}),
13303
13303
  /* @__PURE__ */ c.jsx(Du, {}),
13304
13304
  /* @__PURE__ */ c.jsx(Oa, {})
13305
13305
  ] });
13306
13306
  an.Logo = Pa;
13307
- an.Header = La;
13307
+ an.Header = Ia;
13308
13308
  an.Controls = Nn;
13309
13309
  an.Divider = Du;
13310
13310
  an.OIDC = Fu;
13311
13311
  an.SSO = Oa;
13312
13312
  var F2 = "sluhu72";
13313
- const $2 = Le(
13313
+ const $2 = Ie(
13314
13314
  ({ buttonClassName: e, ...t }, n) => /* @__PURE__ */ c.jsx(M_, { to: "sid-cookie-button", children: /* @__PURE__ */ c.jsx(
13315
13315
  Pt,
13316
13316
  {
@@ -13357,8 +13357,8 @@ const H2 = (e) => Object.entries(e), U2 = new Set(P_), B2 = {
13357
13357
  return t;
13358
13358
  const o = B2[n](r);
13359
13359
  return o === null || (t[n] = o), t;
13360
- }, {}), G2 = (e) => {
13361
- const t = e.toString().match(Ir);
13360
+ }, {}), W2 = (e) => {
13361
+ const t = e.toString().match(Lr);
13362
13362
  if (!t)
13363
13363
  return [];
13364
13364
  const n = t.map(
@@ -13370,9 +13370,9 @@ const H2 = (e) => Object.entries(e), U2 = new Set(P_), B2 = {
13370
13370
  ...n.join(`
13371
13371
  `)
13372
13372
  ] : [];
13373
- }, W2 = {
13373
+ }, G2 = {
13374
13374
  sanitiseCssVariableCustomisationConfig: V2,
13375
- getGoogleFontImports: G2,
13375
+ getGoogleFontImports: W2,
13376
13376
  ...t2
13377
13377
  }, Y2 = { "--sid-color-primary": "#DCDDE5" };
13378
13378
  function ws() {
@@ -13401,7 +13401,7 @@ function Q2(e) {
13401
13401
  }
13402
13402
  function e5(e) {
13403
13403
  if (!e || !e["--sid-font-family"]) return;
13404
- const t = W2.getGoogleFontImports(e["--sid-font-family"]);
13404
+ const t = G2.getGoogleFontImports(e["--sid-font-family"]);
13405
13405
  t.length && document.head.insertAdjacentHTML("beforeend", t.join(""));
13406
13406
  }
13407
13407
  function t5() {
@@ -13469,7 +13469,7 @@ function t5() {
13469
13469
  }, [a, e.state]);
13470
13470
  const b = y !== null, m = we(() => ["success", "error"].includes(e.state), [e.state]) && !b, w = Te(
13471
13471
  ({ children: _ = /* @__PURE__ */ c.jsx(c.Fragment, {}) }) => /* @__PURE__ */ c.jsx(
13472
- Ls,
13472
+ Is,
13473
13473
  {
13474
13474
  style: { ...(n == null ? void 0 : n.themeVars) && n.themeVars },
13475
13475
  ...(n == null ? void 0 : n.showBadge) === !1 && { footer: /* @__PURE__ */ c.jsx(c.Fragment, {}) },
@@ -13510,13 +13510,13 @@ function E5({ environment: e = "production" }) {
13510
13510
  return /* @__PURE__ */ c.jsx(Cd, { theme: "light", children: /* @__PURE__ */ c.jsx(
13511
13511
  ia,
13512
13512
  {
13513
- fallback: /* @__PURE__ */ c.jsx(Ls, { children: /* @__PURE__ */ c.jsx(co, { type: "error" }) }),
13514
- children: /* @__PURE__ */ c.jsx(Is.Provider, { value: s, children: /* @__PURE__ */ c.jsx(tf, { text: Ps[s.language], children: /* @__PURE__ */ c.jsx("main", { className: n5, children: /* @__PURE__ */ c.jsx(t5, {}) }) }) })
13513
+ fallback: /* @__PURE__ */ c.jsx(Is, { children: /* @__PURE__ */ c.jsx(co, { type: "error" }) }),
13514
+ children: /* @__PURE__ */ c.jsx(Ls.Provider, { value: s, children: /* @__PURE__ */ c.jsx(tf, { text: Ps[s.language], children: /* @__PURE__ */ c.jsx("main", { className: n5, children: /* @__PURE__ */ c.jsx(t5, {}) }) }) })
13515
13515
  }
13516
13516
  ) });
13517
13517
  }
13518
13518
  export {
13519
- Ls as Card,
13519
+ Is as Card,
13520
13520
  co as Error,
13521
13521
  Ps as I18N,
13522
13522
  fm as Progress,