@slashid/jump-page 0.0.8-package.9 → 0.0.9

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,8 @@
1
- import ce, { useLayoutEffect as Ue, forwardRef as Da, useCallback as La, useState as ae, createContext as aa, useMemo as ra, useContext as Ia, useEffect as Fa } from "react";
2
- var ye = { exports: {} }, X = {};
1
+ var gs = Object.defineProperty;
2
+ var xs = (t, e, s) => e in t ? gs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
+ var ct = (t, e, s) => (xs(t, typeof e != "symbol" ? e + "" : e, s), s);
4
+ import we, { useLayoutEffect as dt, forwardRef as vs, useCallback as ms, useState as ue, createContext as Et, useMemo as St, useContext as Cs, useEffect as jt } from "react";
5
+ var Ae = { exports: {} }, ie = {};
3
6
  /**
4
7
  * @license React
5
8
  * react-jsx-runtime.production.min.js
@@ -9,25 +12,25 @@ var ye = { exports: {} }, X = {};
9
12
  * This source code is licensed under the MIT license found in the
10
13
  * LICENSE file in the root directory of this source tree.
11
14
  */
12
- var He;
13
- function qa() {
14
- if (He)
15
- return X;
16
- He = 1;
17
- var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function v(b, f, w) {
19
- var p, M = {}, S = null, E = null;
20
- w !== void 0 && (S = "" + w), f.key !== void 0 && (S = "" + f.key), f.ref !== void 0 && (E = f.ref);
21
- for (p in f)
22
- n.call(f, p) && !m.hasOwnProperty(p) && (M[p] = f[p]);
23
- if (b && b.defaultProps)
24
- for (p in f = b.defaultProps, f)
25
- M[p] === void 0 && (M[p] = f[p]);
26
- return { $$typeof: r, type: b, key: S, ref: E, props: M, _owner: i.current };
27
- }
28
- return X.Fragment = o, X.jsx = v, X.jsxs = v, X;
29
- }
30
- var ee = {};
15
+ var ft;
16
+ function ws() {
17
+ if (ft)
18
+ return ie;
19
+ ft = 1;
20
+ var t = we, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function c(f, d, b) {
22
+ var x, w = {}, O = null, S = null;
23
+ b !== void 0 && (O = "" + b), d.key !== void 0 && (O = "" + d.key), d.ref !== void 0 && (S = d.ref);
24
+ for (x in d)
25
+ r.call(d, x) && !u.hasOwnProperty(x) && (w[x] = d[x]);
26
+ if (f && f.defaultProps)
27
+ for (x in d = f.defaultProps, d)
28
+ w[x] === void 0 && (w[x] = d[x]);
29
+ return { $$typeof: e, type: f, key: O, ref: S, props: w, _owner: n.current };
30
+ }
31
+ return ie.Fragment = s, ie.jsx = c, ie.jsxs = c, ie;
32
+ }
33
+ var le = {};
31
34
  /**
32
35
  * @license React
33
36
  * react-jsx-runtime.development.js
@@ -37,91 +40,91 @@ var ee = {};
37
40
  * This source code is licensed under the MIT license found in the
38
41
  * LICENSE file in the root directory of this source tree.
39
42
  */
40
- var Ze;
41
- function Va() {
42
- return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && function() {
43
- var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), F = Symbol.iterator, fe = "@@iterator";
44
- function G(e) {
45
- if (e === null || typeof e != "object")
43
+ var ht;
44
+ function ys() {
45
+ return ht || (ht = 1, process.env.NODE_ENV !== "production" && function() {
46
+ var t = we, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), B = Symbol.iterator, Se = "@@iterator";
47
+ function re(a) {
48
+ if (a === null || typeof a != "object")
46
49
  return null;
47
- var t = F && e[F] || e[fe];
48
- return typeof t == "function" ? t : null;
50
+ var i = B && a[B] || a[Se];
51
+ return typeof i == "function" ? i : null;
49
52
  }
50
- var D = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function j(e) {
53
+ var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
+ function j(a) {
52
55
  {
53
- for (var t = arguments.length, l = new Array(t > 1 ? t - 1 : 0), d = 1; d < t; d++)
54
- l[d - 1] = arguments[d];
55
- O("error", e, l);
56
+ for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), h = 1; h < i; h++)
57
+ l[h - 1] = arguments[h];
58
+ M("error", a, l);
56
59
  }
57
60
  }
58
- function O(e, t, l) {
61
+ function M(a, i, l) {
59
62
  {
60
- var d = D.ReactDebugCurrentFrame, h = d.getStackAddendum();
61
- h !== "" && (t += "%s", l = l.concat([h]));
62
- var x = l.map(function(c) {
63
- return String(c);
63
+ var h = A.ReactDebugCurrentFrame, g = h.getStackAddendum();
64
+ g !== "" && (i += "%s", l = l.concat([g]));
65
+ var v = l.map(function(p) {
66
+ return String(p);
64
67
  });
65
- x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
68
+ v.unshift("Warning: " + i), Function.prototype.apply.call(console[a], console, v);
66
69
  }
67
70
  }
68
- var he = !1, Se = !1, C = !1, _ = !1, $ = !1, W;
69
- W = Symbol.for("react.module.reference");
70
- function te(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === n || e === m || $ || e === i || e === w || e === p || _ || e === E || he || Se || C || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === M || e.$$typeof === v || e.$$typeof === b || e.$$typeof === f || // This needs to include all possible module reference object
71
+ var je = !1, Je = !1, C = !1, m = !1, K = !1, Z;
72
+ Z = Symbol.for("react.module.reference");
73
+ function ce(a) {
74
+ return !!(typeof a == "string" || typeof a == "function" || a === r || a === u || K || a === n || a === b || a === x || m || a === S || je || Je || C || typeof a == "object" && a !== null && (a.$$typeof === O || a.$$typeof === w || a.$$typeof === c || a.$$typeof === f || a.$$typeof === d || // This needs to include all possible module reference object
72
75
  // types supported by any Flight configuration anywhere since
73
76
  // we don't know which Flight build this will end up being used
74
77
  // with.
75
- e.$$typeof === W || e.getModuleId !== void 0));
78
+ a.$$typeof === Z || a.getModuleId !== void 0));
76
79
  }
77
- function K(e, t, l) {
78
- var d = e.displayName;
79
- if (d)
80
- return d;
81
- var h = t.displayName || t.name || "";
82
- return h !== "" ? l + "(" + h + ")" : l;
80
+ function ae(a, i, l) {
81
+ var h = a.displayName;
82
+ if (h)
83
+ return h;
84
+ var g = i.displayName || i.name || "";
85
+ return g !== "" ? l + "(" + g + ")" : l;
83
86
  }
84
- function Y(e) {
85
- return e.displayName || "Context";
87
+ function Q(a) {
88
+ return a.displayName || "Context";
86
89
  }
87
- function R(e) {
88
- if (e == null)
90
+ function R(a) {
91
+ if (a == null)
89
92
  return null;
90
- if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
- return e.displayName || e.name || null;
92
- if (typeof e == "string")
93
- return e;
94
- switch (e) {
95
- case n:
93
+ if (typeof a.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
94
+ return a.displayName || a.name || null;
95
+ if (typeof a == "string")
96
+ return a;
97
+ switch (a) {
98
+ case r:
96
99
  return "Fragment";
97
- case o:
100
+ case s:
98
101
  return "Portal";
99
- case m:
102
+ case u:
100
103
  return "Profiler";
101
- case i:
104
+ case n:
102
105
  return "StrictMode";
103
- case w:
106
+ case b:
104
107
  return "Suspense";
105
- case p:
108
+ case x:
106
109
  return "SuspenseList";
107
110
  }
108
- if (typeof e == "object")
109
- switch (e.$$typeof) {
110
- case b:
111
- var t = e;
112
- return Y(t) + ".Consumer";
113
- case v:
114
- var l = e;
115
- return Y(l._context) + ".Provider";
111
+ if (typeof a == "object")
112
+ switch (a.$$typeof) {
116
113
  case f:
117
- return K(e, e.render, "ForwardRef");
118
- case M:
119
- var d = e.displayName || null;
120
- return d !== null ? d : R(e.type) || "Memo";
121
- case S: {
122
- var h = e, x = h._payload, c = h._init;
114
+ var i = a;
115
+ return Q(i) + ".Consumer";
116
+ case c:
117
+ var l = a;
118
+ return Q(l._context) + ".Provider";
119
+ case d:
120
+ return ae(a, a.render, "ForwardRef");
121
+ case w:
122
+ var h = a.displayName || null;
123
+ return h !== null ? h : R(a.type) || "Memo";
124
+ case O: {
125
+ var g = a, v = g._payload, p = g._init;
123
126
  try {
124
- return R(c(x));
127
+ return R(p(v));
125
128
  } catch {
126
129
  return null;
127
130
  }
@@ -129,637 +132,637 @@ function Va() {
129
132
  }
130
133
  return null;
131
134
  }
132
- var T = Object.assign, q = 0, J, B, V, se, A, L, U;
133
- function oe() {
135
+ var P = Object.assign, V = 0, ne, X, Y, de, I, F, ee;
136
+ function fe() {
134
137
  }
135
- oe.__reactDisabledLog = !0;
136
- function ca() {
138
+ fe.__reactDisabledLog = !0;
139
+ function Ht() {
137
140
  {
138
- if (q === 0) {
139
- J = console.log, B = console.info, V = console.warn, se = console.error, A = console.group, L = console.groupCollapsed, U = console.groupEnd;
140
- var e = {
141
+ if (V === 0) {
142
+ ne = console.log, X = console.info, Y = console.warn, de = console.error, I = console.group, F = console.groupCollapsed, ee = console.groupEnd;
143
+ var a = {
141
144
  configurable: !0,
142
145
  enumerable: !0,
143
- value: oe,
146
+ value: fe,
144
147
  writable: !0
145
148
  };
146
149
  Object.defineProperties(console, {
147
- info: e,
148
- log: e,
149
- warn: e,
150
- error: e,
151
- group: e,
152
- groupCollapsed: e,
153
- groupEnd: e
150
+ info: a,
151
+ log: a,
152
+ warn: a,
153
+ error: a,
154
+ group: a,
155
+ groupCollapsed: a,
156
+ groupEnd: a
154
157
  });
155
158
  }
156
- q++;
159
+ V++;
157
160
  }
158
161
  }
159
- function fa() {
162
+ function Gt() {
160
163
  {
161
- if (q--, q === 0) {
162
- var e = {
164
+ if (V--, V === 0) {
165
+ var a = {
163
166
  configurable: !0,
164
167
  enumerable: !0,
165
168
  writable: !0
166
169
  };
167
170
  Object.defineProperties(console, {
168
- log: T({}, e, {
169
- value: J
171
+ log: P({}, a, {
172
+ value: ne
170
173
  }),
171
- info: T({}, e, {
172
- value: B
174
+ info: P({}, a, {
175
+ value: X
173
176
  }),
174
- warn: T({}, e, {
175
- value: V
177
+ warn: P({}, a, {
178
+ value: Y
176
179
  }),
177
- error: T({}, e, {
178
- value: se
180
+ error: P({}, a, {
181
+ value: de
179
182
  }),
180
- group: T({}, e, {
181
- value: A
183
+ group: P({}, a, {
184
+ value: I
182
185
  }),
183
- groupCollapsed: T({}, e, {
184
- value: L
186
+ groupCollapsed: P({}, a, {
187
+ value: F
185
188
  }),
186
- groupEnd: T({}, e, {
187
- value: U
189
+ groupEnd: P({}, a, {
190
+ value: ee
188
191
  })
189
192
  });
190
193
  }
191
- q < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ V < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
195
  }
193
196
  }
194
- var be = D.ReactCurrentDispatcher, xe;
195
- function ne(e, t, l) {
197
+ var Re = A.ReactCurrentDispatcher, Te;
198
+ function he(a, i, l) {
196
199
  {
197
- if (xe === void 0)
200
+ if (Te === void 0)
198
201
  try {
199
202
  throw Error();
200
- } catch (h) {
201
- var d = h.stack.trim().match(/\n( *(at )?)/);
202
- xe = d && d[1] || "";
203
+ } catch (g) {
204
+ var h = g.stack.trim().match(/\n( *(at )?)/);
205
+ Te = h && h[1] || "";
203
206
  }
204
207
  return `
205
- ` + xe + e;
208
+ ` + Te + a;
206
209
  }
207
210
  }
208
- var _e = !1, le;
211
+ var Oe = !1, _e;
209
212
  {
210
- var ha = typeof WeakMap == "function" ? WeakMap : Map;
211
- le = new ha();
213
+ var Wt = typeof WeakMap == "function" ? WeakMap : Map;
214
+ _e = new Wt();
212
215
  }
213
- function Pe(e, t) {
214
- if (!e || _e)
216
+ function Ke(a, i) {
217
+ if (!a || Oe)
215
218
  return "";
216
219
  {
217
- var l = le.get(e);
220
+ var l = _e.get(a);
218
221
  if (l !== void 0)
219
222
  return l;
220
223
  }
221
- var d;
222
- _e = !0;
223
- var h = Error.prepareStackTrace;
224
+ var h;
225
+ Oe = !0;
226
+ var g = Error.prepareStackTrace;
224
227
  Error.prepareStackTrace = void 0;
225
- var x;
226
- x = be.current, be.current = null, ca();
228
+ var v;
229
+ v = Re.current, Re.current = null, Ht();
227
230
  try {
228
- if (t) {
229
- var c = function() {
231
+ if (i) {
232
+ var p = function() {
230
233
  throw Error();
231
234
  };
232
- if (Object.defineProperty(c.prototype, "props", {
235
+ if (Object.defineProperty(p.prototype, "props", {
233
236
  set: function() {
234
237
  throw Error();
235
238
  }
236
239
  }), typeof Reflect == "object" && Reflect.construct) {
237
240
  try {
238
- Reflect.construct(c, []);
239
- } catch (I) {
240
- d = I;
241
+ Reflect.construct(p, []);
242
+ } catch (U) {
243
+ h = U;
241
244
  }
242
- Reflect.construct(e, [], c);
245
+ Reflect.construct(a, [], p);
243
246
  } else {
244
247
  try {
245
- c.call();
246
- } catch (I) {
247
- d = I;
248
+ p.call();
249
+ } catch (U) {
250
+ h = U;
248
251
  }
249
- e.call(c.prototype);
252
+ a.call(p.prototype);
250
253
  }
251
254
  } else {
252
255
  try {
253
256
  throw Error();
254
- } catch (I) {
255
- d = I;
257
+ } catch (U) {
258
+ h = U;
256
259
  }
257
- e();
260
+ a();
258
261
  }
259
- } catch (I) {
260
- if (I && d && typeof I.stack == "string") {
261
- for (var u = I.stack.split(`
262
- `), k = d.stack.split(`
263
- `), g = u.length - 1, y = k.length - 1; g >= 1 && y >= 0 && u[g] !== k[y]; )
264
- y--;
265
- for (; g >= 1 && y >= 0; g--, y--)
266
- if (u[g] !== k[y]) {
267
- if (g !== 1 || y !== 1)
262
+ } catch (U) {
263
+ if (U && h && typeof U.stack == "string") {
264
+ for (var _ = U.stack.split(`
265
+ `), T = h.stack.split(`
266
+ `), y = _.length - 1, E = T.length - 1; y >= 1 && E >= 0 && _[y] !== T[E]; )
267
+ E--;
268
+ for (; y >= 1 && E >= 0; y--, E--)
269
+ if (_[y] !== T[E]) {
270
+ if (y !== 1 || E !== 1)
268
271
  do
269
- if (g--, y--, y < 0 || u[g] !== k[y]) {
270
- var P = `
271
- ` + u[g].replace(" at new ", " at ");
272
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, P), P;
272
+ if (y--, E--, E < 0 || _[y] !== T[E]) {
273
+ var k = `
274
+ ` + _[y].replace(" at new ", " at ");
275
+ return a.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a.displayName)), typeof a == "function" && _e.set(a, k), k;
273
276
  }
274
- while (g >= 1 && y >= 0);
277
+ while (y >= 1 && E >= 0);
275
278
  break;
276
279
  }
277
280
  }
278
281
  } finally {
279
- _e = !1, be.current = x, fa(), Error.prepareStackTrace = h;
282
+ Oe = !1, Re.current = v, Gt(), Error.prepareStackTrace = g;
280
283
  }
281
- var Z = e ? e.displayName || e.name : "", Be = Z ? ne(Z) : "";
282
- return typeof e == "function" && le.set(e, Be), Be;
284
+ var se = a ? a.displayName || a.name : "", ut = se ? he(se) : "";
285
+ return typeof a == "function" && _e.set(a, ut), ut;
283
286
  }
284
- function ba(e, t, l) {
285
- return Pe(e, !1);
287
+ function Jt(a, i, l) {
288
+ return Ke(a, !1);
286
289
  }
287
- function xa(e) {
288
- var t = e.prototype;
289
- return !!(t && t.isReactComponent);
290
+ function Kt(a) {
291
+ var i = a.prototype;
292
+ return !!(i && i.isReactComponent);
290
293
  }
291
- function ie(e, t, l) {
292
- if (e == null)
294
+ function pe(a, i, l) {
295
+ if (a == null)
293
296
  return "";
294
- if (typeof e == "function")
295
- return Pe(e, xa(e));
296
- if (typeof e == "string")
297
- return ne(e);
298
- switch (e) {
299
- case w:
300
- return ne("Suspense");
301
- case p:
302
- return ne("SuspenseList");
297
+ if (typeof a == "function")
298
+ return Ke(a, Kt(a));
299
+ if (typeof a == "string")
300
+ return he(a);
301
+ switch (a) {
302
+ case b:
303
+ return he("Suspense");
304
+ case x:
305
+ return he("SuspenseList");
303
306
  }
304
- if (typeof e == "object")
305
- switch (e.$$typeof) {
306
- case f:
307
- return ba(e.render);
308
- case M:
309
- return ie(e.type, t, l);
310
- case S: {
311
- var d = e, h = d._payload, x = d._init;
307
+ if (typeof a == "object")
308
+ switch (a.$$typeof) {
309
+ case d:
310
+ return Jt(a.render);
311
+ case w:
312
+ return pe(a.type, i, l);
313
+ case O: {
314
+ var h = a, g = h._payload, v = h._init;
312
315
  try {
313
- return ie(x(h), t, l);
316
+ return pe(v(g), i, l);
314
317
  } catch {
315
318
  }
316
319
  }
317
320
  }
318
321
  return "";
319
322
  }
320
- var de = Object.prototype.hasOwnProperty, Te = {}, Ne = D.ReactDebugCurrentFrame;
321
- function ue(e) {
322
- if (e) {
323
- var t = e._owner, l = ie(e.type, e._source, t ? t.type : null);
324
- Ne.setExtraStackFrame(l);
323
+ var be = Object.prototype.hasOwnProperty, Ze = {}, Qe = A.ReactDebugCurrentFrame;
324
+ function ge(a) {
325
+ if (a) {
326
+ var i = a._owner, l = pe(a.type, a._source, i ? i.type : null);
327
+ Qe.setExtraStackFrame(l);
325
328
  } else
326
- Ne.setExtraStackFrame(null);
329
+ Qe.setExtraStackFrame(null);
327
330
  }
328
- function _a(e, t, l, d, h) {
331
+ function Zt(a, i, l, h, g) {
329
332
  {
330
- var x = Function.call.bind(de);
331
- for (var c in e)
332
- if (x(e, c)) {
333
- var u = void 0;
333
+ var v = Function.call.bind(be);
334
+ for (var p in a)
335
+ if (v(a, p)) {
336
+ var _ = void 0;
334
337
  try {
335
- if (typeof e[c] != "function") {
336
- var k = Error((d || "React class") + ": " + l + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw k.name = "Invariant Violation", k;
338
+ if (typeof a[p] != "function") {
339
+ var T = Error((h || "React class") + ": " + l + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
+ throw T.name = "Invariant Violation", T;
338
341
  }
339
- u = e[c](t, c, d, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (g) {
341
- u = g;
342
+ _ = a[p](i, p, h, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ } catch (y) {
344
+ _ = y;
342
345
  }
343
- u && !(u instanceof Error) && (ue(h), j("%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).", d || "React class", l, c, typeof u), ue(null)), u instanceof Error && !(u.message in Te) && (Te[u.message] = !0, ue(h), j("Failed %s type: %s", l, u.message), ue(null));
346
+ _ && !(_ instanceof Error) && (ge(g), j("%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).", h || "React class", l, p, typeof _), ge(null)), _ instanceof Error && !(_.message in Ze) && (Ze[_.message] = !0, ge(g), j("Failed %s type: %s", l, _.message), ge(null));
344
347
  }
345
348
  }
346
349
  }
347
- var va = Array.isArray;
348
- function ve(e) {
349
- return va(e);
350
+ var Qt = Array.isArray;
351
+ function Me(a) {
352
+ return Qt(a);
350
353
  }
351
- function pa(e) {
354
+ function Xt(a) {
352
355
  {
353
- var t = typeof Symbol == "function" && Symbol.toStringTag, l = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
356
+ var i = typeof Symbol == "function" && Symbol.toStringTag, l = i && a[Symbol.toStringTag] || a.constructor.name || "Object";
354
357
  return l;
355
358
  }
356
359
  }
357
- function Ca(e) {
360
+ function es(a) {
358
361
  try {
359
- return Ae(e), !1;
362
+ return Xe(a), !1;
360
363
  } catch {
361
364
  return !0;
362
365
  }
363
366
  }
364
- function Ae(e) {
365
- return "" + e;
367
+ function Xe(a) {
368
+ return "" + a;
366
369
  }
367
- function De(e) {
368
- if (Ca(e))
369
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pa(e)), Ae(e);
370
+ function et(a) {
371
+ if (es(a))
372
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Xt(a)), Xe(a);
370
373
  }
371
- var Q = D.ReactCurrentOwner, ma = {
374
+ var oe = A.ReactCurrentOwner, ts = {
372
375
  key: !0,
373
376
  ref: !0,
374
377
  __self: !0,
375
378
  __source: !0
376
- }, Le, Ie, pe;
377
- pe = {};
378
- function ga(e) {
379
- if (de.call(e, "ref")) {
380
- var t = Object.getOwnPropertyDescriptor(e, "ref").get;
381
- if (t && t.isReactWarning)
379
+ }, tt, st, ke;
380
+ ke = {};
381
+ function ss(a) {
382
+ if (be.call(a, "ref")) {
383
+ var i = Object.getOwnPropertyDescriptor(a, "ref").get;
384
+ if (i && i.isReactWarning)
382
385
  return !1;
383
386
  }
384
- return e.ref !== void 0;
387
+ return a.ref !== void 0;
385
388
  }
386
- function za(e) {
387
- if (de.call(e, "key")) {
388
- var t = Object.getOwnPropertyDescriptor(e, "key").get;
389
- if (t && t.isReactWarning)
389
+ function rs(a) {
390
+ if (be.call(a, "key")) {
391
+ var i = Object.getOwnPropertyDescriptor(a, "key").get;
392
+ if (i && i.isReactWarning)
390
393
  return !1;
391
394
  }
392
- return e.key !== void 0;
395
+ return a.key !== void 0;
393
396
  }
394
- function wa(e, t) {
395
- if (typeof e.ref == "string" && Q.current && t && Q.current.stateNode !== t) {
396
- var l = R(Q.current.type);
397
- pe[l] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', R(Q.current.type), e.ref), pe[l] = !0);
397
+ function as(a, i) {
398
+ if (typeof a.ref == "string" && oe.current && i && oe.current.stateNode !== i) {
399
+ var l = R(oe.current.type);
400
+ ke[l] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', R(oe.current.type), a.ref), ke[l] = !0);
398
401
  }
399
402
  }
400
- function ya(e, t) {
403
+ function ns(a, i) {
401
404
  {
402
405
  var l = function() {
403
- Le || (Le = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
406
+ tt || (tt = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
404
407
  };
405
- l.isReactWarning = !0, Object.defineProperty(e, "key", {
408
+ l.isReactWarning = !0, Object.defineProperty(a, "key", {
406
409
  get: l,
407
410
  configurable: !0
408
411
  });
409
412
  }
410
413
  }
411
- function ja(e, t) {
414
+ function os(a, i) {
412
415
  {
413
416
  var l = function() {
414
- Ie || (Ie = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
417
+ st || (st = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
415
418
  };
416
- l.isReactWarning = !0, Object.defineProperty(e, "ref", {
419
+ l.isReactWarning = !0, Object.defineProperty(a, "ref", {
417
420
  get: l,
418
421
  configurable: !0
419
422
  });
420
423
  }
421
424
  }
422
- var Ea = function(e, t, l, d, h, x, c) {
423
- var u = {
425
+ var is = function(a, i, l, h, g, v, p) {
426
+ var _ = {
424
427
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: r,
428
+ $$typeof: e,
426
429
  // Built-in properties that belong on the element
427
- type: e,
428
- key: t,
430
+ type: a,
431
+ key: i,
429
432
  ref: l,
430
- props: c,
433
+ props: p,
431
434
  // Record the component responsible for creating this element.
432
- _owner: x
435
+ _owner: v
433
436
  };
434
- return u._store = {}, Object.defineProperty(u._store, "validated", {
437
+ return _._store = {}, Object.defineProperty(_._store, "validated", {
435
438
  configurable: !1,
436
439
  enumerable: !1,
437
440
  writable: !0,
438
441
  value: !1
439
- }), Object.defineProperty(u, "_self", {
442
+ }), Object.defineProperty(_, "_self", {
440
443
  configurable: !1,
441
444
  enumerable: !1,
442
445
  writable: !1,
443
- value: d
444
- }), Object.defineProperty(u, "_source", {
446
+ value: h
447
+ }), Object.defineProperty(_, "_source", {
445
448
  configurable: !1,
446
449
  enumerable: !1,
447
450
  writable: !1,
448
- value: h
449
- }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
451
+ value: g
452
+ }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
450
453
  };
451
- function Ma(e, t, l, d, h) {
454
+ function ls(a, i, l, h, g) {
452
455
  {
453
- var x, c = {}, u = null, k = null;
454
- l !== void 0 && (De(l), u = "" + l), za(t) && (De(t.key), u = "" + t.key), ga(t) && (k = t.ref, wa(t, h));
455
- for (x in t)
456
- de.call(t, x) && !ma.hasOwnProperty(x) && (c[x] = t[x]);
457
- if (e && e.defaultProps) {
458
- var g = e.defaultProps;
459
- for (x in g)
460
- c[x] === void 0 && (c[x] = g[x]);
456
+ var v, p = {}, _ = null, T = null;
457
+ l !== void 0 && (et(l), _ = "" + l), rs(i) && (et(i.key), _ = "" + i.key), ss(i) && (T = i.ref, as(i, g));
458
+ for (v in i)
459
+ be.call(i, v) && !ts.hasOwnProperty(v) && (p[v] = i[v]);
460
+ if (a && a.defaultProps) {
461
+ var y = a.defaultProps;
462
+ for (v in y)
463
+ p[v] === void 0 && (p[v] = y[v]);
461
464
  }
462
- if (u || k) {
463
- var y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- u && ya(c, y), k && ja(c, y);
465
+ if (_ || T) {
466
+ var E = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
467
+ _ && ns(p, E), T && os(p, E);
465
468
  }
466
- return Ea(e, u, k, h, d, Q.current, c);
469
+ return is(a, _, T, g, h, oe.current, p);
467
470
  }
468
471
  }
469
- var Ce = D.ReactCurrentOwner, Fe = D.ReactDebugCurrentFrame;
470
- function H(e) {
471
- if (e) {
472
- var t = e._owner, l = ie(e.type, e._source, t ? t.type : null);
473
- Fe.setExtraStackFrame(l);
472
+ var Pe = A.ReactCurrentOwner, rt = A.ReactDebugCurrentFrame;
473
+ function te(a) {
474
+ if (a) {
475
+ var i = a._owner, l = pe(a.type, a._source, i ? i.type : null);
476
+ rt.setExtraStackFrame(l);
474
477
  } else
475
- Fe.setExtraStackFrame(null);
478
+ rt.setExtraStackFrame(null);
476
479
  }
477
- var me;
478
- me = !1;
479
- function ge(e) {
480
- return typeof e == "object" && e !== null && e.$$typeof === r;
480
+ var Ne;
481
+ Ne = !1;
482
+ function De(a) {
483
+ return typeof a == "object" && a !== null && a.$$typeof === e;
481
484
  }
482
- function qe() {
485
+ function at() {
483
486
  {
484
- if (Ce.current) {
485
- var e = R(Ce.current.type);
486
- if (e)
487
+ if (Pe.current) {
488
+ var a = R(Pe.current.type);
489
+ if (a)
487
490
  return `
488
491
 
489
- Check the render method of \`` + e + "`.";
492
+ Check the render method of \`` + a + "`.";
490
493
  }
491
494
  return "";
492
495
  }
493
496
  }
494
- function Ra(e) {
497
+ function us(a) {
495
498
  {
496
- if (e !== void 0) {
497
- var t = e.fileName.replace(/^.*[\\\/]/, ""), l = e.lineNumber;
499
+ if (a !== void 0) {
500
+ var i = a.fileName.replace(/^.*[\\\/]/, ""), l = a.lineNumber;
498
501
  return `
499
502
 
500
- Check your code at ` + t + ":" + l + ".";
503
+ Check your code at ` + i + ":" + l + ".";
501
504
  }
502
505
  return "";
503
506
  }
504
507
  }
505
- var Ve = {};
506
- function ka(e) {
508
+ var nt = {};
509
+ function cs(a) {
507
510
  {
508
- var t = qe();
509
- if (!t) {
510
- var l = typeof e == "string" ? e : e.displayName || e.name;
511
- l && (t = `
511
+ var i = at();
512
+ if (!i) {
513
+ var l = typeof a == "string" ? a : a.displayName || a.name;
514
+ l && (i = `
512
515
 
513
516
  Check the top-level render call using <` + l + ">.");
514
517
  }
515
- return t;
518
+ return i;
516
519
  }
517
520
  }
518
- function $e(e, t) {
521
+ function ot(a, i) {
519
522
  {
520
- if (!e._store || e._store.validated || e.key != null)
523
+ if (!a._store || a._store.validated || a.key != null)
521
524
  return;
522
- e._store.validated = !0;
523
- var l = ka(t);
524
- if (Ve[l])
525
+ a._store.validated = !0;
526
+ var l = cs(i);
527
+ if (nt[l])
525
528
  return;
526
- Ve[l] = !0;
527
- var d = "";
528
- e && e._owner && e._owner !== Ce.current && (d = " It was passed a child from " + R(e._owner.type) + "."), H(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, d), H(null);
529
+ nt[l] = !0;
530
+ var h = "";
531
+ a && a._owner && a._owner !== Pe.current && (h = " It was passed a child from " + R(a._owner.type) + "."), te(a), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, h), te(null);
529
532
  }
530
533
  }
531
- function We(e, t) {
534
+ function it(a, i) {
532
535
  {
533
- if (typeof e != "object")
536
+ if (typeof a != "object")
534
537
  return;
535
- if (ve(e))
536
- for (var l = 0; l < e.length; l++) {
537
- var d = e[l];
538
- ge(d) && $e(d, t);
538
+ if (Me(a))
539
+ for (var l = 0; l < a.length; l++) {
540
+ var h = a[l];
541
+ De(h) && ot(h, i);
539
542
  }
540
- else if (ge(e))
541
- e._store && (e._store.validated = !0);
542
- else if (e) {
543
- var h = G(e);
544
- if (typeof h == "function" && h !== e.entries)
545
- for (var x = h.call(e), c; !(c = x.next()).done; )
546
- ge(c.value) && $e(c.value, t);
543
+ else if (De(a))
544
+ a._store && (a._store.validated = !0);
545
+ else if (a) {
546
+ var g = re(a);
547
+ if (typeof g == "function" && g !== a.entries)
548
+ for (var v = g.call(a), p; !(p = v.next()).done; )
549
+ De(p.value) && ot(p.value, i);
547
550
  }
548
551
  }
549
552
  }
550
- function Oa(e) {
553
+ function ds(a) {
551
554
  {
552
- var t = e.type;
553
- if (t == null || typeof t == "string")
555
+ var i = a.type;
556
+ if (i == null || typeof i == "string")
554
557
  return;
555
558
  var l;
556
- if (typeof t == "function")
557
- l = t.propTypes;
558
- else if (typeof t == "object" && (t.$$typeof === f || // Note: Memo only checks outer props here.
559
+ if (typeof i == "function")
560
+ l = i.propTypes;
561
+ else if (typeof i == "object" && (i.$$typeof === d || // Note: Memo only checks outer props here.
559
562
  // Inner props are checked in the reconciler.
560
- t.$$typeof === M))
561
- l = t.propTypes;
563
+ i.$$typeof === w))
564
+ l = i.propTypes;
562
565
  else
563
566
  return;
564
567
  if (l) {
565
- var d = R(t);
566
- _a(l, e.props, "prop", d, e);
567
- } else if (t.PropTypes !== void 0 && !me) {
568
- me = !0;
569
- var h = R(t);
570
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
568
+ var h = R(i);
569
+ Zt(l, a.props, "prop", h, a);
570
+ } else if (i.PropTypes !== void 0 && !Ne) {
571
+ Ne = !0;
572
+ var g = R(i);
573
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
571
574
  }
572
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
575
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
576
  }
574
577
  }
575
- function Sa(e) {
578
+ function fs(a) {
576
579
  {
577
- for (var t = Object.keys(e.props), l = 0; l < t.length; l++) {
578
- var d = t[l];
579
- if (d !== "children" && d !== "key") {
580
- H(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", d), H(null);
580
+ for (var i = Object.keys(a.props), l = 0; l < i.length; l++) {
581
+ var h = i[l];
582
+ if (h !== "children" && h !== "key") {
583
+ te(a), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), te(null);
581
584
  break;
582
585
  }
583
586
  }
584
- e.ref !== null && (H(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
587
+ a.ref !== null && (te(a), j("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
585
588
  }
586
589
  }
587
- function Ye(e, t, l, d, h, x) {
590
+ function lt(a, i, l, h, g, v) {
588
591
  {
589
- var c = te(e);
590
- if (!c) {
591
- var u = "";
592
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
- var k = Ra(h);
594
- k ? u += k : u += qe();
595
- var g;
596
- e === null ? g = "null" : ve(e) ? g = "array" : e !== void 0 && e.$$typeof === r ? (g = "<" + (R(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, u);
592
+ var p = ce(a);
593
+ if (!p) {
594
+ var _ = "";
595
+ (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
596
+ var T = us(g);
597
+ T ? _ += T : _ += at();
598
+ var y;
599
+ a === null ? y = "null" : Me(a) ? y = "array" : a !== void 0 && a.$$typeof === e ? (y = "<" + (R(a.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : y = typeof a, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, _);
597
600
  }
598
- var y = Ma(e, t, l, h, x);
599
- if (y == null)
600
- return y;
601
- if (c) {
602
- var P = t.children;
603
- if (P !== void 0)
604
- if (d)
605
- if (ve(P)) {
606
- for (var Z = 0; Z < P.length; Z++)
607
- We(P[Z], e);
608
- Object.freeze && Object.freeze(P);
601
+ var E = ls(a, i, l, g, v);
602
+ if (E == null)
603
+ return E;
604
+ if (p) {
605
+ var k = i.children;
606
+ if (k !== void 0)
607
+ if (h)
608
+ if (Me(k)) {
609
+ for (var se = 0; se < k.length; se++)
610
+ it(k[se], a);
611
+ Object.freeze && Object.freeze(k);
609
612
  } else
610
613
  j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
614
  else
612
- We(P, e);
615
+ it(k, a);
613
616
  }
614
- return e === n ? Sa(y) : Oa(y), y;
617
+ return a === r ? fs(E) : ds(E), E;
615
618
  }
616
619
  }
617
- function Pa(e, t, l) {
618
- return Ye(e, t, l, !0);
620
+ function hs(a, i, l) {
621
+ return lt(a, i, l, !0);
619
622
  }
620
- function Ta(e, t, l) {
621
- return Ye(e, t, l, !1);
623
+ function _s(a, i, l) {
624
+ return lt(a, i, l, !1);
622
625
  }
623
- var Na = Ta, Aa = Pa;
624
- ee.Fragment = n, ee.jsx = Na, ee.jsxs = Aa;
625
- }()), ee;
626
- }
627
- process.env.NODE_ENV === "production" ? ye.exports = qa() : ye.exports = Va();
628
- var s = ye.exports;
629
- function ta(a) {
630
- var r, o, n = "";
631
- if (typeof a == "string" || typeof a == "number")
632
- n += a;
633
- else if (typeof a == "object")
634
- if (Array.isArray(a)) {
635
- var i = a.length;
636
- for (r = 0; r < i; r++)
637
- a[r] && (o = ta(a[r])) && (n && (n += " "), n += o);
626
+ var ps = _s, bs = hs;
627
+ le.Fragment = r, le.jsx = ps, le.jsxs = bs;
628
+ }()), le;
629
+ }
630
+ process.env.NODE_ENV === "production" ? Ae.exports = ws() : Ae.exports = ys();
631
+ var o = Ae.exports;
632
+ function Rt(t) {
633
+ var e, s, r = "";
634
+ if (typeof t == "string" || typeof t == "number")
635
+ r += t;
636
+ else if (typeof t == "object")
637
+ if (Array.isArray(t)) {
638
+ var n = t.length;
639
+ for (e = 0; e < n; e++)
640
+ t[e] && (s = Rt(t[e])) && (r && (r += " "), r += s);
638
641
  } else
639
- for (o in a)
640
- a[o] && (n && (n += " "), n += o);
641
- return n;
642
+ for (s in t)
643
+ t[s] && (r && (r += " "), r += s);
644
+ return r;
642
645
  }
643
646
  function N() {
644
- for (var a, r, o = 0, n = "", i = arguments.length; o < i; o++)
645
- (a = arguments[o]) && (r = ta(a)) && (n && (n += " "), n += r);
646
- return n;
647
+ for (var t, e, s = 0, r = "", n = arguments.length; s < n; s++)
648
+ (t = arguments[s]) && (e = Rt(t)) && (r && (r += " "), r += e);
649
+ return r;
647
650
  }
648
- var $a = "y2413r0", Wa = "y2413r1", Ya = "y2413r2", Ba = "y2413r3", Ge = "sid-theme-root";
649
- function Ua() {
651
+ var zs = "y2413r0", Es = "y2413r1", Ss = "y2413r2", js = "y2413r3", _t = "sid-theme-root";
652
+ function Rs() {
650
653
  return typeof window < "u" && globalThis === window;
651
654
  }
652
- function sa({ theme: a, className: r }) {
655
+ function Tt({ theme: t, className: e }) {
653
656
  return N(
654
- Ge,
655
- `${Ge}__${a}`,
656
- Ba,
657
+ _t,
658
+ `${_t}__${t}`,
659
+ js,
657
660
  {
658
- [$a]: a === "dark",
659
- [Ya]: a === "auto",
660
- [Wa]: a === "light"
661
+ [zs]: t === "dark",
662
+ [Ss]: t === "auto",
663
+ [Es]: t === "light"
661
664
  },
662
- r
665
+ e
663
666
  );
664
667
  }
665
- function Ha({ theme: a, className: r }) {
666
- const o = sa({ theme: a, className: r });
667
- document.body.classList.add(...o.split(" "));
668
- }
669
- const oa = ({ children: a }) => /* @__PURE__ */ s.jsx("div", { className: sa({ theme: "light" }), children: a }), Za = ({ children: a, theme: r = "light", className: o }) => {
670
- const [n, i] = ce.useState(!1);
671
- return Ue(() => {
672
- n || i(!0);
673
- }, [o, n, r]), Ue(() => {
674
- n && Ha({ theme: r, className: o });
675
- }, [o, n, r]), n ? /* @__PURE__ */ s.jsx(s.Fragment, { children: a }) : /* @__PURE__ */ s.jsx(oa, { children: a });
668
+ function Ts({ theme: t, className: e }) {
669
+ const s = Tt({ theme: t, className: e });
670
+ document.body.classList.add(...s.split(" "));
671
+ }
672
+ const Ot = ({ children: t }) => /* @__PURE__ */ o.jsx("div", { className: Tt({ theme: "light" }), children: t }), Os = ({ children: t, theme: e = "light", className: s }) => {
673
+ const [r, n] = we.useState(!1);
674
+ return dt(() => {
675
+ r || n(!0);
676
+ }, [s, r, e]), dt(() => {
677
+ r && Ts({ theme: e, className: s });
678
+ }, [s, r, e]), r ? /* @__PURE__ */ o.jsx(o.Fragment, { children: t }) : /* @__PURE__ */ o.jsx(Ot, { children: t });
676
679
  };
677
- function Qr({ children: a, theme: r = "light", className: o }) {
678
- return Ua() ? /* @__PURE__ */ s.jsx(Za, { theme: r, className: o, children: a }) : /* @__PURE__ */ s.jsx(oa, { children: a });
680
+ function va({ children: t, theme: e = "light", className: s }) {
681
+ return Rs() ? /* @__PURE__ */ o.jsx(Os, { theme: e, className: s, children: t }) : /* @__PURE__ */ o.jsx(Ot, { children: t });
679
682
  }
680
- var Ga = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
681
- const na = ({ className: a, variant: r = "default" }) => /* @__PURE__ */ s.jsx("div", { className: N(Ga[r], a) });
682
- var Ka = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, Ja = "eccmw9", Qa = "eccmwa", Xa = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
683
- const la = Da(
683
+ var Ms = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
684
+ const Mt = ({ className: t, variant: e = "default" }) => /* @__PURE__ */ o.jsx("div", { className: N(Ms[e], t) });
685
+ var ks = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, Ps = "eccmw9", Ns = "eccmwa", Ds = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
686
+ const kt = vs(
684
687
  ({
685
- children: a,
686
- onClick: r,
687
- className: o,
688
- type: n = "button",
689
- variant: i = "primary",
690
- testId: m,
691
- icon: v,
692
- disabled: b,
693
- loading: f = !1,
694
- style: w
695
- }, p) => /* @__PURE__ */ s.jsx(
688
+ children: t,
689
+ onClick: e,
690
+ className: s,
691
+ type: r = "button",
692
+ variant: n = "primary",
693
+ testId: u,
694
+ icon: c,
695
+ disabled: f,
696
+ loading: d = !1,
697
+ style: b
698
+ }, x) => /* @__PURE__ */ o.jsx(
696
699
  "button",
697
700
  {
698
- style: w,
699
- ref: p,
700
- "data-testid": m,
701
- type: n,
702
- disabled: b,
701
+ style: b,
702
+ ref: x,
703
+ "data-testid": u,
704
+ type: r,
705
+ disabled: f,
703
706
  className: N(
704
707
  "sid-button",
705
- `sid-button--${i}`,
706
- Ka[i],
707
- { [Ja]: b },
708
- o
708
+ `sid-button--${n}`,
709
+ ks[n],
710
+ { [Ps]: f },
711
+ s
709
712
  ),
710
- onClick: r,
711
- children: f ? /* @__PURE__ */ s.jsx(na, { variant: "short", className: Xa[i] }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
712
- v ? /* @__PURE__ */ s.jsx("i", { className: Qa, children: v }) : null,
713
- a
713
+ onClick: e,
714
+ children: d ? /* @__PURE__ */ o.jsx(Mt, { variant: "short", className: Ds[n] }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
715
+ c ? /* @__PURE__ */ o.jsx("i", { className: Ns, children: c }) : null,
716
+ t
714
717
  ] })
715
718
  }
716
719
  )
717
720
  );
718
- la.displayName = "Button";
719
- var er = "_1doytsg0", ar = "_1doytsg3", rr = "_1doytsg4", tr = { text: "_1doytsg6 _1doytsg5", email: "_1doytsg7 _1doytsg5", password: "_1doytsg8 _1doytsg5", tel: "_1doytsg9 _1doytsg5" }, sr = "_1doytsga", or = "_1doytsgc";
720
- const nr = ({
721
- id: a,
722
- name: r,
723
- label: o,
724
- placeholder: n = "",
725
- autoComplete: i = "",
726
- value: m,
727
- onChange: v,
728
- type: b = "text",
729
- style: f
721
+ kt.displayName = "Button";
722
+ var Is = "_1doytsg0", Ls = "_1doytsg3", As = "_1doytsg4", Fs = { text: "_1doytsg6 _1doytsg5", email: "_1doytsg7 _1doytsg5", password: "_1doytsg8 _1doytsg5", tel: "_1doytsg9 _1doytsg5" }, Us = "_1doytsga", qs = "_1doytsgc";
723
+ const Bs = ({
724
+ id: t,
725
+ name: e,
726
+ label: s,
727
+ placeholder: r = "",
728
+ autoComplete: n = "",
729
+ value: u,
730
+ onChange: c,
731
+ type: f = "text",
732
+ style: d
730
733
  }) => {
731
- const w = La(
732
- (p) => {
733
- v(p);
734
+ const b = ms(
735
+ (x) => {
736
+ c(x);
734
737
  },
735
- [v]
738
+ [c]
736
739
  );
737
- return /* @__PURE__ */ s.jsxs("div", { className: tr[b], children: [
738
- /* @__PURE__ */ s.jsx("label", { htmlFor: a, className: sr, children: o }),
739
- /* @__PURE__ */ s.jsx(
740
+ return /* @__PURE__ */ o.jsxs("div", { className: Fs[f], children: [
741
+ /* @__PURE__ */ o.jsx("label", { htmlFor: t, className: Us, children: s }),
742
+ /* @__PURE__ */ o.jsx(
740
743
  "input",
741
744
  {
742
- style: f,
743
- type: b,
744
- id: a,
745
- name: r,
746
- className: er,
747
- placeholder: n,
748
- value: m,
749
- onChange: w,
750
- autoComplete: i
745
+ style: d,
746
+ type: f,
747
+ id: t,
748
+ name: e,
749
+ className: Is,
750
+ placeholder: r,
751
+ value: u,
752
+ onChange: b,
753
+ autoComplete: n
751
754
  }
752
755
  )
753
756
  ] });
754
- }, Ee = `
757
+ }, Ve = `
755
758
  @media (prefers-color-scheme: dark) {
756
759
  .sid-theme-root__auto path { fill: white; }
757
760
  }
758
761
 
759
762
  .sid-theme-root__dark path { fill: white; }
760
763
  `;
761
- function lr() {
762
- return /* @__PURE__ */ s.jsxs(
764
+ function pt() {
765
+ return /* @__PURE__ */ o.jsxs(
763
766
  "svg",
764
767
  {
765
768
  width: "5",
@@ -768,7 +771,7 @@ function lr() {
768
771
  fill: "none",
769
772
  xmlns: "http://www.w3.org/2000/svg",
770
773
  children: [
771
- /* @__PURE__ */ s.jsx(
774
+ /* @__PURE__ */ o.jsx(
772
775
  "path",
773
776
  {
774
777
  fillRule: "evenodd",
@@ -777,7 +780,7 @@ function lr() {
777
780
  fill: "white"
778
781
  }
779
782
  ),
780
- /* @__PURE__ */ s.jsx(
783
+ /* @__PURE__ */ o.jsx(
781
784
  "path",
782
785
  {
783
786
  d: "M4.5 18C4.5 19.1046 3.60457 20 2.5 20C1.39543 20 0.5 19.1046 0.5 18C0.5 16.8954 1.39543 16 2.5 16C3.60457 16 4.5 16.8954 4.5 18Z",
@@ -788,7 +791,7 @@ function lr() {
788
791
  }
789
792
  );
790
793
  }
791
- const ir = () => /* @__PURE__ */ s.jsxs(
794
+ const Vs = () => /* @__PURE__ */ o.jsxs(
792
795
  "svg",
793
796
  {
794
797
  width: "16",
@@ -797,8 +800,8 @@ const ir = () => /* @__PURE__ */ s.jsxs(
797
800
  fill: "none",
798
801
  xmlns: "http://www.w3.org/2000/svg",
799
802
  children: [
800
- /* @__PURE__ */ s.jsx("style", { children: Ee }),
801
- /* @__PURE__ */ s.jsx("g", { clipPath: "url(#clip0_2610_9920)", children: /* @__PURE__ */ s.jsx(
803
+ /* @__PURE__ */ o.jsx("style", { children: Ve }),
804
+ /* @__PURE__ */ o.jsx("g", { clipPath: "url(#clip0_2610_9920)", children: /* @__PURE__ */ o.jsx(
802
805
  "path",
803
806
  {
804
807
  fillRule: "evenodd",
@@ -807,10 +810,10 @@ const ir = () => /* @__PURE__ */ s.jsxs(
807
810
  fill: "#142049"
808
811
  }
809
812
  ) }),
810
- /* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("clipPath", { id: "clip0_2610_9920", children: /* @__PURE__ */ s.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
813
+ /* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsx("clipPath", { id: "clip0_2610_9920", children: /* @__PURE__ */ o.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
811
814
  ]
812
815
  }
813
- ), dr = () => /* @__PURE__ */ s.jsxs(
816
+ ), Ys = () => /* @__PURE__ */ o.jsxs(
814
817
  "svg",
815
818
  {
816
819
  width: "16",
@@ -819,9 +822,9 @@ const ir = () => /* @__PURE__ */ s.jsxs(
819
822
  fill: "none",
820
823
  xmlns: "http://www.w3.org/2000/svg",
821
824
  children: [
822
- /* @__PURE__ */ s.jsx("style", { children: Ee }),
823
- /* @__PURE__ */ s.jsxs("g", { clipPath: "url(#clip0_2610_9933)", children: [
824
- /* @__PURE__ */ s.jsx(
825
+ /* @__PURE__ */ o.jsx("style", { children: Ve }),
826
+ /* @__PURE__ */ o.jsxs("g", { clipPath: "url(#clip0_2610_9933)", children: [
827
+ /* @__PURE__ */ o.jsx(
825
828
  "path",
826
829
  {
827
830
  fillRule: "evenodd",
@@ -830,7 +833,7 @@ const ir = () => /* @__PURE__ */ s.jsxs(
830
833
  fill: "#142049"
831
834
  }
832
835
  ),
833
- /* @__PURE__ */ s.jsx(
836
+ /* @__PURE__ */ o.jsx(
834
837
  "path",
835
838
  {
836
839
  d: "M2.34314 2.34315L13.6568 13.6569",
@@ -840,10 +843,10 @@ const ir = () => /* @__PURE__ */ s.jsxs(
840
843
  }
841
844
  )
842
845
  ] }),
843
- /* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("clipPath", { id: "clip0_2610_9933", children: /* @__PURE__ */ s.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
846
+ /* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsx("clipPath", { id: "clip0_2610_9933", children: /* @__PURE__ */ o.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
844
847
  ]
845
848
  }
846
- ), ur = () => /* @__PURE__ */ s.jsxs(
849
+ ), $s = () => /* @__PURE__ */ o.jsxs(
847
850
  "svg",
848
851
  {
849
852
  width: "40",
@@ -852,9 +855,9 @@ const ir = () => /* @__PURE__ */ s.jsxs(
852
855
  fill: "none",
853
856
  xmlns: "http://www.w3.org/2000/svg",
854
857
  children: [
855
- /* @__PURE__ */ s.jsx("style", { children: Ee }),
856
- /* @__PURE__ */ s.jsx("path", { d: "M12.686 10L2 30.228H5.198L15.884 10H12.686Z", fill: "#2A6AFF" }),
857
- /* @__PURE__ */ s.jsx(
858
+ /* @__PURE__ */ o.jsx("style", { children: Ve }),
859
+ /* @__PURE__ */ o.jsx("path", { d: "M12.686 10L2 30.228H5.198L15.884 10H12.686Z", fill: "#2A6AFF" }),
860
+ /* @__PURE__ */ o.jsx(
858
861
  "path",
859
862
  {
860
863
  d: "M19.7923 15.694C20.9373 15.694 21.8723 14.732 21.8723 13.588C21.8723 12.444 20.9373 11.482 19.7923 11.482C18.6223 11.482 17.6873 12.444 17.6873 13.588C17.6873 14.732 18.6233 15.694 19.7933 15.694H19.7923ZM18.0773 17.514V30.228H21.4573V17.514H18.0773ZM34.1883 10V18.502C33.172 17.6398 31.8809 17.1695 30.5483 17.176C26.8563 17.176 24.0743 20.14 24.0743 23.884C24.0743 27.628 26.8563 30.592 30.5483 30.592C32.0823 30.592 33.4343 30.02 34.4483 29.032V30.228H37.5683V10H34.1883ZM30.9383 27.42C28.9883 27.42 27.5583 25.912 27.5583 23.884C27.5583 21.856 28.9883 20.348 30.9383 20.348C32.8883 20.348 34.3183 21.856 34.3183 23.884C34.3183 25.912 32.8883 27.42 30.9383 27.42Z",
@@ -863,346 +866,321 @@ const ir = () => /* @__PURE__ */ s.jsxs(
863
866
  )
864
867
  ]
865
868
  }
866
- ), Ke = (a) => {
867
- const [r, o] = ae(!1);
868
- return /* @__PURE__ */ s.jsxs(
869
+ ), bt = (t) => {
870
+ const [e, s] = ue(!1);
871
+ return /* @__PURE__ */ o.jsxs(
869
872
  "div",
870
873
  {
871
874
  className: N(
872
875
  "sid-input",
873
876
  "sid-input--password",
874
- ar,
875
- a.error && rr,
876
- a.className
877
+ Ls,
878
+ t.error && As,
879
+ t.className
877
880
  ),
878
- style: a.style,
881
+ style: t.style,
879
882
  children: [
880
- /* @__PURE__ */ s.jsx(nr, { ...a, type: r ? "text" : "password" }),
881
- /* @__PURE__ */ s.jsx(
883
+ /* @__PURE__ */ o.jsx(Bs, { ...t, type: e ? "text" : "password" }),
884
+ /* @__PURE__ */ o.jsx(
882
885
  "button",
883
886
  {
884
887
  tabIndex: -1,
885
- className: or,
888
+ className: qs,
886
889
  type: "button",
887
- onClick: () => o(!r),
888
- children: r ? /* @__PURE__ */ s.jsx(dr, {}) : /* @__PURE__ */ s.jsx(ir, {})
890
+ onClick: () => s(!e),
891
+ children: e ? /* @__PURE__ */ o.jsx(Ys, {}) : /* @__PURE__ */ o.jsx(Vs, {})
889
892
  }
890
893
  )
891
894
  ]
892
895
  }
893
896
  );
894
897
  };
895
- var cr = "_1rf2mux3", fr = "_1rf2mux5", hr = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4", primary: "_1rf2mux8 _1rf2mux4" }, br = "_1rf2muxa", xr = { blue: "_1rf2muxb _1rf2mux9", red: "_1rf2muxc _1rf2mux9", primary: "_1rf2muxd _1rf2mux9" }, _r = "_1rf2muxf", vr = { blue: "_1rf2muxg _1rf2muxe", red: "_1rf2muxh _1rf2muxe", primary: "_1rf2muxi _1rf2muxe" }, pr = "_1rf2muxj";
896
- const Me = ({
897
- children: a,
898
- className: r,
899
- variant: o = "blue",
900
- shouldAnimate: n = !0
901
- }) => /* @__PURE__ */ s.jsxs("div", { className: N(cr, r), children: [
902
- /* @__PURE__ */ s.jsx(
898
+ var Hs = "_1rf2mux3", Gs = "_1rf2mux5", Ws = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4", primary: "_1rf2mux8 _1rf2mux4" }, Js = "_1rf2muxa", Ks = { blue: "_1rf2muxb _1rf2mux9", red: "_1rf2muxc _1rf2mux9", primary: "_1rf2muxd _1rf2mux9" }, Zs = "_1rf2muxf", Qs = { blue: "_1rf2muxg _1rf2muxe", red: "_1rf2muxh _1rf2muxe", primary: "_1rf2muxi _1rf2muxe" }, Xs = "_1rf2muxj";
899
+ const me = ({
900
+ children: t,
901
+ className: e,
902
+ variant: s = "blue",
903
+ shouldAnimate: r = !0
904
+ }) => /* @__PURE__ */ o.jsxs("div", { className: N(Hs, e), children: [
905
+ /* @__PURE__ */ o.jsx(
903
906
  "div",
904
907
  {
905
- className: N(hr[o], {
906
- [fr]: n
908
+ className: N(Ws[s], {
909
+ [Gs]: r
907
910
  })
908
911
  }
909
912
  ),
910
- /* @__PURE__ */ s.jsx(
913
+ /* @__PURE__ */ o.jsx(
911
914
  "div",
912
915
  {
913
- className: N(xr[o], {
914
- [br]: n
916
+ className: N(Ks[s], {
917
+ [Js]: r
915
918
  })
916
919
  }
917
920
  ),
918
- /* @__PURE__ */ s.jsx(
921
+ /* @__PURE__ */ o.jsx(
919
922
  "div",
920
923
  {
921
- className: N(vr[o], {
922
- [_r]: n
924
+ className: N(Qs[s], {
925
+ [Zs]: r
923
926
  })
924
927
  }
925
928
  ),
926
- /* @__PURE__ */ s.jsx("div", { className: pr, children: a })
929
+ /* @__PURE__ */ o.jsx("div", { className: Xs, children: t })
927
930
  ] });
928
- function Cr(a, r, o) {
929
- return r in a ? Object.defineProperty(a, r, {
930
- value: o,
931
+ function er(t, e, s) {
932
+ return e in t ? Object.defineProperty(t, e, {
933
+ value: s,
931
934
  enumerable: !0,
932
935
  configurable: !0,
933
936
  writable: !0
934
- }) : a[r] = o, a;
937
+ }) : t[e] = s, t;
935
938
  }
936
- function Je(a, r) {
937
- var o = Object.keys(a);
939
+ function gt(t, e) {
940
+ var s = Object.keys(t);
938
941
  if (Object.getOwnPropertySymbols) {
939
- var n = Object.getOwnPropertySymbols(a);
940
- r && (n = n.filter(function(i) {
941
- return Object.getOwnPropertyDescriptor(a, i).enumerable;
942
- })), o.push.apply(o, n);
943
- }
944
- return o;
945
- }
946
- function Qe(a) {
947
- for (var r = 1; r < arguments.length; r++) {
948
- var o = arguments[r] != null ? arguments[r] : {};
949
- r % 2 ? Je(Object(o), !0).forEach(function(n) {
950
- Cr(a, n, o[n]);
951
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(o)) : Je(Object(o)).forEach(function(n) {
952
- Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(o, n));
942
+ var r = Object.getOwnPropertySymbols(t);
943
+ e && (r = r.filter(function(n) {
944
+ return Object.getOwnPropertyDescriptor(t, n).enumerable;
945
+ })), s.push.apply(s, r);
946
+ }
947
+ return s;
948
+ }
949
+ function xt(t) {
950
+ for (var e = 1; e < arguments.length; e++) {
951
+ var s = arguments[e] != null ? arguments[e] : {};
952
+ e % 2 ? gt(Object(s), !0).forEach(function(r) {
953
+ er(t, r, s[r]);
954
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : gt(Object(s)).forEach(function(r) {
955
+ Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(s, r));
953
956
  });
954
957
  }
955
- return a;
958
+ return t;
956
959
  }
957
- var mr = (a, r, o) => {
958
- for (var n of Object.keys(a)) {
959
- var i;
960
- if (a[n] !== ((i = r[n]) !== null && i !== void 0 ? i : o[n]))
960
+ var tr = (t, e, s) => {
961
+ for (var r of Object.keys(t)) {
962
+ var n;
963
+ if (t[r] !== ((n = e[r]) !== null && n !== void 0 ? n : s[r]))
961
964
  return !1;
962
965
  }
963
966
  return !0;
964
- }, ia = (a) => (r) => {
965
- var o = a.defaultClassName, n = Qe(Qe({}, a.defaultVariants), r);
966
- for (var i in n) {
967
- var m, v = (m = n[i]) !== null && m !== void 0 ? m : a.defaultVariants[i];
968
- if (v != null) {
969
- var b = v;
970
- typeof b == "boolean" && (b = b === !0 ? "true" : "false");
971
- var f = (
967
+ }, Pt = (t) => (e) => {
968
+ var s = t.defaultClassName, r = xt(xt({}, t.defaultVariants), e);
969
+ for (var n in r) {
970
+ var u, c = (u = r[n]) !== null && u !== void 0 ? u : t.defaultVariants[n];
971
+ if (c != null) {
972
+ var f = c;
973
+ typeof f == "boolean" && (f = f === !0 ? "true" : "false");
974
+ var d = (
972
975
  // @ts-expect-error
973
- a.variantClassNames[i][b]
976
+ t.variantClassNames[n][f]
974
977
  );
975
- f && (o += " " + f);
978
+ d && (s += " " + d);
976
979
  }
977
980
  }
978
- for (var [w, p] of a.compoundVariants)
979
- mr(w, n, a.defaultVariants) && (o += " " + p);
980
- return o;
981
- }, gr = ia({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
982
- function zr(a, r) {
983
- if (typeof a != "object" || a === null)
984
- return a;
985
- var o = a[Symbol.toPrimitive];
986
- if (o !== void 0) {
987
- var n = o.call(a, r || "default");
988
- if (typeof n != "object")
989
- return n;
981
+ for (var [b, x] of t.compoundVariants)
982
+ tr(b, r, t.defaultVariants) && (s += " " + x);
983
+ return s;
984
+ }, sr = Pt({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
985
+ function rr(t, e) {
986
+ if (typeof t != "object" || t === null)
987
+ return t;
988
+ var s = t[Symbol.toPrimitive];
989
+ if (s !== void 0) {
990
+ var r = s.call(t, e || "default");
991
+ if (typeof r != "object")
992
+ return r;
990
993
  throw new TypeError("@@toPrimitive must return a primitive value.");
991
994
  }
992
- return (r === "string" ? String : Number)(a);
995
+ return (e === "string" ? String : Number)(t);
993
996
  }
994
- function wr(a) {
995
- var r = zr(a, "string");
996
- return typeof r == "symbol" ? r : String(r);
997
+ function ar(t) {
998
+ var e = rr(t, "string");
999
+ return typeof e == "symbol" ? e : String(e);
997
1000
  }
998
- function yr(a, r, o) {
999
- return r = wr(r), r in a ? Object.defineProperty(a, r, {
1000
- value: o,
1001
+ function nr(t, e, s) {
1002
+ return e = ar(e), e in t ? Object.defineProperty(t, e, {
1003
+ value: s,
1001
1004
  enumerable: !0,
1002
1005
  configurable: !0,
1003
1006
  writable: !0
1004
- }) : a[r] = o, a;
1007
+ }) : t[e] = s, t;
1005
1008
  }
1006
- function Xe(a, r) {
1007
- var o = Object.keys(a);
1009
+ function vt(t, e) {
1010
+ var s = Object.keys(t);
1008
1011
  if (Object.getOwnPropertySymbols) {
1009
- var n = Object.getOwnPropertySymbols(a);
1010
- r && (n = n.filter(function(i) {
1011
- return Object.getOwnPropertyDescriptor(a, i).enumerable;
1012
- })), o.push.apply(o, n);
1013
- }
1014
- return o;
1015
- }
1016
- function ze(a) {
1017
- for (var r = 1; r < arguments.length; r++) {
1018
- var o = arguments[r] != null ? arguments[r] : {};
1019
- r % 2 ? Xe(Object(o), !0).forEach(function(n) {
1020
- yr(a, n, o[n]);
1021
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(o)) : Xe(Object(o)).forEach(function(n) {
1022
- Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(o, n));
1012
+ var r = Object.getOwnPropertySymbols(t);
1013
+ e && (r = r.filter(function(n) {
1014
+ return Object.getOwnPropertyDescriptor(t, n).enumerable;
1015
+ })), s.push.apply(s, r);
1016
+ }
1017
+ return s;
1018
+ }
1019
+ function Ie(t) {
1020
+ for (var e = 1; e < arguments.length; e++) {
1021
+ var s = arguments[e] != null ? arguments[e] : {};
1022
+ e % 2 ? vt(Object(s), !0).forEach(function(r) {
1023
+ nr(t, r, s[r]);
1024
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : vt(Object(s)).forEach(function(r) {
1025
+ Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(s, r));
1023
1026
  });
1024
1027
  }
1025
- return a;
1026
- }
1027
- var jr = (a) => function() {
1028
- for (var r = arguments.length, o = new Array(r), n = 0; n < r; n++)
1029
- o[n] = arguments[n];
1030
- var i = Object.assign({}, ...o.map((f) => f.styles)), m = Object.keys(i), v = m.filter((f) => "mappings" in i[f]), b = (f) => {
1031
- var w = [], p = {}, M = ze({}, f), S = !1;
1032
- for (var E of v) {
1033
- var F = f[E];
1034
- if (F != null) {
1035
- var fe = i[E];
1036
- S = !0;
1037
- for (var G of fe.mappings)
1038
- p[G] = F, M[G] == null && delete M[G];
1028
+ return t;
1029
+ }
1030
+ var or = (t) => function() {
1031
+ for (var e = arguments.length, s = new Array(e), r = 0; r < e; r++)
1032
+ s[r] = arguments[r];
1033
+ var n = Object.assign({}, ...s.map((d) => d.styles)), u = Object.keys(n), c = u.filter((d) => "mappings" in n[d]), f = (d) => {
1034
+ var b = [], x = {}, w = Ie({}, d), O = !1;
1035
+ for (var S of c) {
1036
+ var B = d[S];
1037
+ if (B != null) {
1038
+ var Se = n[S];
1039
+ O = !0;
1040
+ for (var re of Se.mappings)
1041
+ x[re] = B, w[re] == null && delete w[re];
1039
1042
  }
1040
1043
  }
1041
- var D = S ? ze(ze({}, p), M) : f, j = function() {
1042
- var C = D[O], _ = i[O];
1044
+ var A = O ? Ie(Ie({}, x), w) : d, j = function() {
1045
+ var C = A[M], m = n[M];
1043
1046
  try {
1044
- if (_.mappings)
1047
+ if (m.mappings)
1045
1048
  return "continue";
1046
1049
  if (typeof C == "string" || typeof C == "number") {
1047
- if (process.env.NODE_ENV !== "production" && !_.values[C].defaultClass)
1050
+ if (process.env.NODE_ENV !== "production" && !m.values[C].defaultClass)
1048
1051
  throw new Error();
1049
- w.push(_.values[C].defaultClass);
1052
+ b.push(m.values[C].defaultClass);
1050
1053
  } else if (Array.isArray(C))
1051
- for (var $ = 0; $ < C.length; $++) {
1052
- var W = C[$];
1053
- if (W != null) {
1054
- var te = _.responsiveArray[$];
1055
- if (process.env.NODE_ENV !== "production" && !_.values[W].conditions[te])
1054
+ for (var K = 0; K < C.length; K++) {
1055
+ var Z = C[K];
1056
+ if (Z != null) {
1057
+ var ce = m.responsiveArray[K];
1058
+ if (process.env.NODE_ENV !== "production" && !m.values[Z].conditions[ce])
1056
1059
  throw new Error();
1057
- w.push(_.values[W].conditions[te]);
1060
+ b.push(m.values[Z].conditions[ce]);
1058
1061
  }
1059
1062
  }
1060
1063
  else
1061
- for (var K in C) {
1062
- var Y = C[K];
1063
- if (Y != null) {
1064
- if (process.env.NODE_ENV !== "production" && !_.values[Y].conditions[K])
1064
+ for (var ae in C) {
1065
+ var Q = C[ae];
1066
+ if (Q != null) {
1067
+ if (process.env.NODE_ENV !== "production" && !m.values[Q].conditions[ae])
1065
1068
  throw new Error();
1066
- w.push(_.values[Y].conditions[K]);
1069
+ b.push(m.values[Q].conditions[ae]);
1067
1070
  }
1068
1071
  }
1069
- } catch (se) {
1072
+ } catch (de) {
1070
1073
  if (process.env.NODE_ENV !== "production") {
1071
- class A extends Error {
1072
- constructor(U) {
1073
- super(U), this.name = "SprinklesError";
1074
+ class I extends Error {
1075
+ constructor(ee) {
1076
+ super(ee), this.name = "SprinklesError";
1074
1077
  }
1075
1078
  }
1076
- var R = (L) => typeof L == "string" ? '"'.concat(L, '"') : L, T = (L, U, oe) => {
1077
- throw new A('"'.concat(L, '" has no value ').concat(R(U), ". Possible values are ").concat(Object.keys(oe).map(R).join(", ")));
1079
+ var R = (F) => typeof F == "string" ? '"'.concat(F, '"') : F, P = (F, ee, fe) => {
1080
+ throw new I('"'.concat(F, '" has no value ').concat(R(ee), ". Possible values are ").concat(Object.keys(fe).map(R).join(", ")));
1078
1081
  };
1079
- if (!_)
1080
- throw new A('"'.concat(O, '" is not a valid sprinkle'));
1081
- if ((typeof C == "string" || typeof C == "number") && (C in _.values || T(O, C, _.values), !_.values[C].defaultClass))
1082
- throw new A('"'.concat(O, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(_.values[C].conditions).map(R).join(", ")));
1082
+ if (!m)
1083
+ throw new I('"'.concat(M, '" is not a valid sprinkle'));
1084
+ if ((typeof C == "string" || typeof C == "number") && (C in m.values || P(M, C, m.values), !m.values[C].defaultClass))
1085
+ throw new I('"'.concat(M, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(m.values[C].conditions).map(R).join(", ")));
1083
1086
  if (typeof C == "object") {
1084
- if (!("conditions" in _.values[Object.keys(_.values)[0]]))
1085
- throw new A('"'.concat(O, '" is not a conditional property'));
1087
+ if (!("conditions" in m.values[Object.keys(m.values)[0]]))
1088
+ throw new I('"'.concat(M, '" is not a conditional property'));
1086
1089
  if (Array.isArray(C)) {
1087
- if (!("responsiveArray" in _))
1088
- throw new A('"'.concat(O, '" does not support responsive arrays'));
1089
- var q = _.responsiveArray.length;
1090
- if (q < C.length)
1091
- throw new A('"'.concat(O, '" only supports up to ').concat(q, " breakpoints. You passed ").concat(C.length));
1092
- for (var J of C)
1093
- _.values[J] || T(O, J, _.values);
1090
+ if (!("responsiveArray" in m))
1091
+ throw new I('"'.concat(M, '" does not support responsive arrays'));
1092
+ var V = m.responsiveArray.length;
1093
+ if (V < C.length)
1094
+ throw new I('"'.concat(M, '" only supports up to ').concat(V, " breakpoints. You passed ").concat(C.length));
1095
+ for (var ne of C)
1096
+ m.values[ne] || P(M, ne, m.values);
1094
1097
  } else
1095
- for (var B in C) {
1096
- var V = C[B];
1097
- if (V != null && (_.values[V] || T(O, V, _.values), !_.values[V].conditions[B]))
1098
- throw new A('"'.concat(O, '" has no condition named ').concat(R(B), ". Possible values are ").concat(Object.keys(_.values[V].conditions).map(R).join(", ")));
1098
+ for (var X in C) {
1099
+ var Y = C[X];
1100
+ if (Y != null && (m.values[Y] || P(M, Y, m.values), !m.values[Y].conditions[X]))
1101
+ throw new I('"'.concat(M, '" has no condition named ').concat(R(X), ". Possible values are ").concat(Object.keys(m.values[Y].conditions).map(R).join(", ")));
1099
1102
  }
1100
1103
  }
1101
1104
  }
1102
- throw se;
1105
+ throw de;
1103
1106
  }
1104
1107
  };
1105
- for (var O in D)
1106
- var he = j();
1107
- return a(w.join(" "));
1108
+ for (var M in A)
1109
+ var je = j();
1110
+ return t(b.join(" "));
1108
1111
  };
1109
- return Object.assign(b, {
1110
- properties: new Set(m)
1112
+ return Object.assign(f, {
1113
+ properties: new Set(u)
1111
1114
  });
1112
- }, Er = (a) => a, Mr = function() {
1113
- return jr(Er)(...arguments);
1114
- }, da = Mr({ conditions: { defaultCondition: "lightMode", conditionNames: ["lightMode", "darkMode"], responsiveArray: void 0 }, styles: { color: { values: { background: { conditions: { lightMode: "_1hbz9ox0", darkMode: "_1hbz9ox1" }, defaultClass: "_1hbz9ox0" }, mute: { conditions: { lightMode: "_1hbz9ox2", darkMode: "_1hbz9ox3" }, defaultClass: "_1hbz9ox2" }, panel: { conditions: { lightMode: "_1hbz9ox4", darkMode: "_1hbz9ox5" }, defaultClass: "_1hbz9ox4" }, foreground: { conditions: { lightMode: "_1hbz9ox6", darkMode: "_1hbz9ox7" }, defaultClass: "_1hbz9ox6" }, contrast: { conditions: { lightMode: "_1hbz9ox8", darkMode: "_1hbz9ox9" }, defaultClass: "_1hbz9ox8" }, secondary: { conditions: { lightMode: "_1hbz9oxa", darkMode: "_1hbz9oxb" }, defaultClass: "_1hbz9oxa" }, tertiary: { conditions: { lightMode: "_1hbz9oxc", darkMode: "_1hbz9oxd" }, defaultClass: "_1hbz9oxc" }, placeholder: { conditions: { lightMode: "_1hbz9oxe", darkMode: "_1hbz9oxf" }, defaultClass: "_1hbz9oxe" }, smooth: { conditions: { lightMode: "_1hbz9oxg", darkMode: "_1hbz9oxh" }, defaultClass: "_1hbz9oxg" }, subtle: { conditions: { lightMode: "_1hbz9oxi", darkMode: "_1hbz9oxj" }, defaultClass: "_1hbz9oxi" }, soft: { conditions: { lightMode: "_1hbz9oxk", darkMode: "_1hbz9oxl" }, defaultClass: "_1hbz9oxk" }, offset: { conditions: { lightMode: "_1hbz9oxm", darkMode: "_1hbz9oxn" }, defaultClass: "_1hbz9oxm" }, primary: { conditions: { lightMode: "_1hbz9oxo", darkMode: "_1hbz9oxp" }, defaultClass: "_1hbz9oxo" }, primaryHover: { conditions: { lightMode: "_1hbz9oxq", darkMode: "_1hbz9oxr" }, defaultClass: "_1hbz9oxq" }, transparent: { conditions: { lightMode: "_1hbz9oxs", darkMode: "_1hbz9oxt" }, defaultClass: "_1hbz9oxs" }, error: { conditions: { lightMode: "_1hbz9oxu", darkMode: "_1hbz9oxv" }, defaultClass: "_1hbz9oxu" }, auxiliary: { conditions: { lightMode: "_1hbz9oxw", darkMode: "_1hbz9oxx" }, defaultClass: "_1hbz9oxw" }, success: { conditions: { lightMode: "_1hbz9oxy", darkMode: "_1hbz9oxz" }, defaultClass: "_1hbz9oxy" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox10", darkMode: "_1hbz9ox11" }, defaultClass: "_1hbz9ox10" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox12", darkMode: "_1hbz9ox13" }, defaultClass: "_1hbz9ox12" }, failure: { conditions: { lightMode: "_1hbz9ox14", darkMode: "_1hbz9ox15" }, defaultClass: "_1hbz9ox14" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox16", darkMode: "_1hbz9ox17" }, defaultClass: "_1hbz9ox16" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox18", darkMode: "_1hbz9ox19" }, defaultClass: "_1hbz9ox18" } } }, backgroundColor: { values: { background: { conditions: { lightMode: "_1hbz9ox1a", darkMode: "_1hbz9ox1b" }, defaultClass: "_1hbz9ox1a" }, mute: { conditions: { lightMode: "_1hbz9ox1c", darkMode: "_1hbz9ox1d" }, defaultClass: "_1hbz9ox1c" }, panel: { conditions: { lightMode: "_1hbz9ox1e", darkMode: "_1hbz9ox1f" }, defaultClass: "_1hbz9ox1e" }, foreground: { conditions: { lightMode: "_1hbz9ox1g", darkMode: "_1hbz9ox1h" }, defaultClass: "_1hbz9ox1g" }, contrast: { conditions: { lightMode: "_1hbz9ox1i", darkMode: "_1hbz9ox1j" }, defaultClass: "_1hbz9ox1i" }, secondary: { conditions: { lightMode: "_1hbz9ox1k", darkMode: "_1hbz9ox1l" }, defaultClass: "_1hbz9ox1k" }, tertiary: { conditions: { lightMode: "_1hbz9ox1m", darkMode: "_1hbz9ox1n" }, defaultClass: "_1hbz9ox1m" }, placeholder: { conditions: { lightMode: "_1hbz9ox1o", darkMode: "_1hbz9ox1p" }, defaultClass: "_1hbz9ox1o" }, smooth: { conditions: { lightMode: "_1hbz9ox1q", darkMode: "_1hbz9ox1r" }, defaultClass: "_1hbz9ox1q" }, subtle: { conditions: { lightMode: "_1hbz9ox1s", darkMode: "_1hbz9ox1t" }, defaultClass: "_1hbz9ox1s" }, soft: { conditions: { lightMode: "_1hbz9ox1u", darkMode: "_1hbz9ox1v" }, defaultClass: "_1hbz9ox1u" }, offset: { conditions: { lightMode: "_1hbz9ox1w", darkMode: "_1hbz9ox1x" }, defaultClass: "_1hbz9ox1w" }, primary: { conditions: { lightMode: "_1hbz9ox1y", darkMode: "_1hbz9ox1z" }, defaultClass: "_1hbz9ox1y" }, primaryHover: { conditions: { lightMode: "_1hbz9ox20", darkMode: "_1hbz9ox21" }, defaultClass: "_1hbz9ox20" }, transparent: { conditions: { lightMode: "_1hbz9ox22", darkMode: "_1hbz9ox23" }, defaultClass: "_1hbz9ox22" }, error: { conditions: { lightMode: "_1hbz9ox24", darkMode: "_1hbz9ox25" }, defaultClass: "_1hbz9ox24" }, auxiliary: { conditions: { lightMode: "_1hbz9ox26", darkMode: "_1hbz9ox27" }, defaultClass: "_1hbz9ox26" }, success: { conditions: { lightMode: "_1hbz9ox28", darkMode: "_1hbz9ox29" }, defaultClass: "_1hbz9ox28" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox2a", darkMode: "_1hbz9ox2b" }, defaultClass: "_1hbz9ox2a" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox2c", darkMode: "_1hbz9ox2d" }, defaultClass: "_1hbz9ox2c" }, failure: { conditions: { lightMode: "_1hbz9ox2e", darkMode: "_1hbz9ox2f" }, defaultClass: "_1hbz9ox2e" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox2g", darkMode: "_1hbz9ox2h" }, defaultClass: "_1hbz9ox2g" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox2i", darkMode: "_1hbz9ox2j" }, defaultClass: "_1hbz9ox2i" } } } } }, { conditions: void 0, styles: { marginY: { mappings: ["marginTop", "marginBottom"] }, marginX: { mappings: ["marginLeft", "marginRight"] }, gap: { values: { 0: { defaultClass: "_1hbz9ox2k" }, 1: { defaultClass: "_1hbz9ox2l" }, 2: { defaultClass: "_1hbz9ox2m" }, 3: { defaultClass: "_1hbz9ox2n" }, 4: { defaultClass: "_1hbz9ox2o" }, 5: { defaultClass: "_1hbz9ox2p" }, 6: { defaultClass: "_1hbz9ox2q" }, 7: { defaultClass: "_1hbz9ox2r" }, 8: { defaultClass: "_1hbz9ox2s" }, 9: { defaultClass: "_1hbz9ox2t" }, 10: { defaultClass: "_1hbz9ox2u" }, 11: { defaultClass: "_1hbz9ox2v" }, 12: { defaultClass: "_1hbz9ox2w" }, 13: { defaultClass: "_1hbz9ox2x" }, 14: { defaultClass: "_1hbz9ox2y" }, 15: { defaultClass: "_1hbz9ox2z" }, 16: { defaultClass: "_1hbz9ox30" }, 20: { defaultClass: "_1hbz9ox31" }, 24: { defaultClass: "_1hbz9ox32" }, 28: { defaultClass: "_1hbz9ox33" }, 32: { defaultClass: "_1hbz9ox34" }, 36: { defaultClass: "_1hbz9ox35" }, 40: { defaultClass: "_1hbz9ox36" }, 44: { defaultClass: "_1hbz9ox37" }, 48: { defaultClass: "_1hbz9ox38" }, 52: { defaultClass: "_1hbz9ox39" }, 56: { defaultClass: "_1hbz9ox3a" }, 60: { defaultClass: "_1hbz9ox3b" }, 64: { defaultClass: "_1hbz9ox3c" }, 68: { defaultClass: "_1hbz9ox3d" }, 72: { defaultClass: "_1hbz9ox3e" }, 76: { defaultClass: "_1hbz9ox3f" }, 80: { defaultClass: "_1hbz9ox3g" }, 96: { defaultClass: "_1hbz9ox3h" }, px: { defaultClass: "_1hbz9ox3i" }, "0.25": { defaultClass: "_1hbz9ox3j" }, "0.5": { defaultClass: "_1hbz9ox3k" }, "0.75": { defaultClass: "_1hbz9ox3l" }, "1.5": { defaultClass: "_1hbz9ox3m" }, "2.5": { defaultClass: "_1hbz9ox3n" }, "3.5": { defaultClass: "_1hbz9ox3o" } } }, marginTop: { values: { 0: { defaultClass: "_1hbz9ox3p" }, 1: { defaultClass: "_1hbz9ox3q" }, 2: { defaultClass: "_1hbz9ox3r" }, 3: { defaultClass: "_1hbz9ox3s" }, 4: { defaultClass: "_1hbz9ox3t" }, 5: { defaultClass: "_1hbz9ox3u" }, 6: { defaultClass: "_1hbz9ox3v" }, 7: { defaultClass: "_1hbz9ox3w" }, 8: { defaultClass: "_1hbz9ox3x" }, 9: { defaultClass: "_1hbz9ox3y" }, 10: { defaultClass: "_1hbz9ox3z" }, 11: { defaultClass: "_1hbz9ox40" }, 12: { defaultClass: "_1hbz9ox41" }, 13: { defaultClass: "_1hbz9ox42" }, 14: { defaultClass: "_1hbz9ox43" }, 15: { defaultClass: "_1hbz9ox44" }, 16: { defaultClass: "_1hbz9ox45" }, 20: { defaultClass: "_1hbz9ox46" }, 24: { defaultClass: "_1hbz9ox47" }, 28: { defaultClass: "_1hbz9ox48" }, 32: { defaultClass: "_1hbz9ox49" }, 36: { defaultClass: "_1hbz9ox4a" }, 40: { defaultClass: "_1hbz9ox4b" }, 44: { defaultClass: "_1hbz9ox4c" }, 48: { defaultClass: "_1hbz9ox4d" }, 52: { defaultClass: "_1hbz9ox4e" }, 56: { defaultClass: "_1hbz9ox4f" }, 60: { defaultClass: "_1hbz9ox4g" }, 64: { defaultClass: "_1hbz9ox4h" }, 68: { defaultClass: "_1hbz9ox4i" }, 72: { defaultClass: "_1hbz9ox4j" }, 76: { defaultClass: "_1hbz9ox4k" }, 80: { defaultClass: "_1hbz9ox4l" }, 96: { defaultClass: "_1hbz9ox4m" }, px: { defaultClass: "_1hbz9ox4n" }, "0.25": { defaultClass: "_1hbz9ox4o" }, "0.5": { defaultClass: "_1hbz9ox4p" }, "0.75": { defaultClass: "_1hbz9ox4q" }, "1.5": { defaultClass: "_1hbz9ox4r" }, "2.5": { defaultClass: "_1hbz9ox4s" }, "3.5": { defaultClass: "_1hbz9ox4t" } } }, marginBottom: { values: { 0: { defaultClass: "_1hbz9ox4u" }, 1: { defaultClass: "_1hbz9ox4v" }, 2: { defaultClass: "_1hbz9ox4w" }, 3: { defaultClass: "_1hbz9ox4x" }, 4: { defaultClass: "_1hbz9ox4y" }, 5: { defaultClass: "_1hbz9ox4z" }, 6: { defaultClass: "_1hbz9ox50" }, 7: { defaultClass: "_1hbz9ox51" }, 8: { defaultClass: "_1hbz9ox52" }, 9: { defaultClass: "_1hbz9ox53" }, 10: { defaultClass: "_1hbz9ox54" }, 11: { defaultClass: "_1hbz9ox55" }, 12: { defaultClass: "_1hbz9ox56" }, 13: { defaultClass: "_1hbz9ox57" }, 14: { defaultClass: "_1hbz9ox58" }, 15: { defaultClass: "_1hbz9ox59" }, 16: { defaultClass: "_1hbz9ox5a" }, 20: { defaultClass: "_1hbz9ox5b" }, 24: { defaultClass: "_1hbz9ox5c" }, 28: { defaultClass: "_1hbz9ox5d" }, 32: { defaultClass: "_1hbz9ox5e" }, 36: { defaultClass: "_1hbz9ox5f" }, 40: { defaultClass: "_1hbz9ox5g" }, 44: { defaultClass: "_1hbz9ox5h" }, 48: { defaultClass: "_1hbz9ox5i" }, 52: { defaultClass: "_1hbz9ox5j" }, 56: { defaultClass: "_1hbz9ox5k" }, 60: { defaultClass: "_1hbz9ox5l" }, 64: { defaultClass: "_1hbz9ox5m" }, 68: { defaultClass: "_1hbz9ox5n" }, 72: { defaultClass: "_1hbz9ox5o" }, 76: { defaultClass: "_1hbz9ox5p" }, 80: { defaultClass: "_1hbz9ox5q" }, 96: { defaultClass: "_1hbz9ox5r" }, px: { defaultClass: "_1hbz9ox5s" }, "0.25": { defaultClass: "_1hbz9ox5t" }, "0.5": { defaultClass: "_1hbz9ox5u" }, "0.75": { defaultClass: "_1hbz9ox5v" }, "1.5": { defaultClass: "_1hbz9ox5w" }, "2.5": { defaultClass: "_1hbz9ox5x" }, "3.5": { defaultClass: "_1hbz9ox5y" } } }, marginLeft: { values: { 0: { defaultClass: "_1hbz9ox5z" }, 1: { defaultClass: "_1hbz9ox60" }, 2: { defaultClass: "_1hbz9ox61" }, 3: { defaultClass: "_1hbz9ox62" }, 4: { defaultClass: "_1hbz9ox63" }, 5: { defaultClass: "_1hbz9ox64" }, 6: { defaultClass: "_1hbz9ox65" }, 7: { defaultClass: "_1hbz9ox66" }, 8: { defaultClass: "_1hbz9ox67" }, 9: { defaultClass: "_1hbz9ox68" }, 10: { defaultClass: "_1hbz9ox69" }, 11: { defaultClass: "_1hbz9ox6a" }, 12: { defaultClass: "_1hbz9ox6b" }, 13: { defaultClass: "_1hbz9ox6c" }, 14: { defaultClass: "_1hbz9ox6d" }, 15: { defaultClass: "_1hbz9ox6e" }, 16: { defaultClass: "_1hbz9ox6f" }, 20: { defaultClass: "_1hbz9ox6g" }, 24: { defaultClass: "_1hbz9ox6h" }, 28: { defaultClass: "_1hbz9ox6i" }, 32: { defaultClass: "_1hbz9ox6j" }, 36: { defaultClass: "_1hbz9ox6k" }, 40: { defaultClass: "_1hbz9ox6l" }, 44: { defaultClass: "_1hbz9ox6m" }, 48: { defaultClass: "_1hbz9ox6n" }, 52: { defaultClass: "_1hbz9ox6o" }, 56: { defaultClass: "_1hbz9ox6p" }, 60: { defaultClass: "_1hbz9ox6q" }, 64: { defaultClass: "_1hbz9ox6r" }, 68: { defaultClass: "_1hbz9ox6s" }, 72: { defaultClass: "_1hbz9ox6t" }, 76: { defaultClass: "_1hbz9ox6u" }, 80: { defaultClass: "_1hbz9ox6v" }, 96: { defaultClass: "_1hbz9ox6w" }, px: { defaultClass: "_1hbz9ox6x" }, "0.25": { defaultClass: "_1hbz9ox6y" }, "0.5": { defaultClass: "_1hbz9ox6z" }, "0.75": { defaultClass: "_1hbz9ox70" }, "1.5": { defaultClass: "_1hbz9ox71" }, "2.5": { defaultClass: "_1hbz9ox72" }, "3.5": { defaultClass: "_1hbz9ox73" } } }, marginRight: { values: { 0: { defaultClass: "_1hbz9ox74" }, 1: { defaultClass: "_1hbz9ox75" }, 2: { defaultClass: "_1hbz9ox76" }, 3: { defaultClass: "_1hbz9ox77" }, 4: { defaultClass: "_1hbz9ox78" }, 5: { defaultClass: "_1hbz9ox79" }, 6: { defaultClass: "_1hbz9ox7a" }, 7: { defaultClass: "_1hbz9ox7b" }, 8: { defaultClass: "_1hbz9ox7c" }, 9: { defaultClass: "_1hbz9ox7d" }, 10: { defaultClass: "_1hbz9ox7e" }, 11: { defaultClass: "_1hbz9ox7f" }, 12: { defaultClass: "_1hbz9ox7g" }, 13: { defaultClass: "_1hbz9ox7h" }, 14: { defaultClass: "_1hbz9ox7i" }, 15: { defaultClass: "_1hbz9ox7j" }, 16: { defaultClass: "_1hbz9ox7k" }, 20: { defaultClass: "_1hbz9ox7l" }, 24: { defaultClass: "_1hbz9ox7m" }, 28: { defaultClass: "_1hbz9ox7n" }, 32: { defaultClass: "_1hbz9ox7o" }, 36: { defaultClass: "_1hbz9ox7p" }, 40: { defaultClass: "_1hbz9ox7q" }, 44: { defaultClass: "_1hbz9ox7r" }, 48: { defaultClass: "_1hbz9ox7s" }, 52: { defaultClass: "_1hbz9ox7t" }, 56: { defaultClass: "_1hbz9ox7u" }, 60: { defaultClass: "_1hbz9ox7v" }, 64: { defaultClass: "_1hbz9ox7w" }, 68: { defaultClass: "_1hbz9ox7x" }, 72: { defaultClass: "_1hbz9ox7y" }, 76: { defaultClass: "_1hbz9ox7z" }, 80: { defaultClass: "_1hbz9ox80" }, 96: { defaultClass: "_1hbz9ox81" }, px: { defaultClass: "_1hbz9ox82" }, "0.25": { defaultClass: "_1hbz9ox83" }, "0.5": { defaultClass: "_1hbz9ox84" }, "0.75": { defaultClass: "_1hbz9ox85" }, "1.5": { defaultClass: "_1hbz9ox86" }, "2.5": { defaultClass: "_1hbz9ox87" }, "3.5": { defaultClass: "_1hbz9ox88" } } } } });
1115
- const Re = (a) => /* @__PURE__ */ s.jsx(
1115
+ }, ir = (t) => t, lr = function() {
1116
+ return or(ir)(...arguments);
1117
+ }, Nt = lr({ conditions: { defaultCondition: "lightMode", conditionNames: ["lightMode", "darkMode"], responsiveArray: void 0 }, styles: { color: { values: { background: { conditions: { lightMode: "_1hbz9ox0", darkMode: "_1hbz9ox1" }, defaultClass: "_1hbz9ox0" }, mute: { conditions: { lightMode: "_1hbz9ox2", darkMode: "_1hbz9ox3" }, defaultClass: "_1hbz9ox2" }, panel: { conditions: { lightMode: "_1hbz9ox4", darkMode: "_1hbz9ox5" }, defaultClass: "_1hbz9ox4" }, foreground: { conditions: { lightMode: "_1hbz9ox6", darkMode: "_1hbz9ox7" }, defaultClass: "_1hbz9ox6" }, contrast: { conditions: { lightMode: "_1hbz9ox8", darkMode: "_1hbz9ox9" }, defaultClass: "_1hbz9ox8" }, secondary: { conditions: { lightMode: "_1hbz9oxa", darkMode: "_1hbz9oxb" }, defaultClass: "_1hbz9oxa" }, tertiary: { conditions: { lightMode: "_1hbz9oxc", darkMode: "_1hbz9oxd" }, defaultClass: "_1hbz9oxc" }, placeholder: { conditions: { lightMode: "_1hbz9oxe", darkMode: "_1hbz9oxf" }, defaultClass: "_1hbz9oxe" }, smooth: { conditions: { lightMode: "_1hbz9oxg", darkMode: "_1hbz9oxh" }, defaultClass: "_1hbz9oxg" }, subtle: { conditions: { lightMode: "_1hbz9oxi", darkMode: "_1hbz9oxj" }, defaultClass: "_1hbz9oxi" }, soft: { conditions: { lightMode: "_1hbz9oxk", darkMode: "_1hbz9oxl" }, defaultClass: "_1hbz9oxk" }, offset: { conditions: { lightMode: "_1hbz9oxm", darkMode: "_1hbz9oxn" }, defaultClass: "_1hbz9oxm" }, primary: { conditions: { lightMode: "_1hbz9oxo", darkMode: "_1hbz9oxp" }, defaultClass: "_1hbz9oxo" }, primaryHover: { conditions: { lightMode: "_1hbz9oxq", darkMode: "_1hbz9oxr" }, defaultClass: "_1hbz9oxq" }, transparent: { conditions: { lightMode: "_1hbz9oxs", darkMode: "_1hbz9oxt" }, defaultClass: "_1hbz9oxs" }, error: { conditions: { lightMode: "_1hbz9oxu", darkMode: "_1hbz9oxv" }, defaultClass: "_1hbz9oxu" }, auxiliary: { conditions: { lightMode: "_1hbz9oxw", darkMode: "_1hbz9oxx" }, defaultClass: "_1hbz9oxw" }, success: { conditions: { lightMode: "_1hbz9oxy", darkMode: "_1hbz9oxz" }, defaultClass: "_1hbz9oxy" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox10", darkMode: "_1hbz9ox11" }, defaultClass: "_1hbz9ox10" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox12", darkMode: "_1hbz9ox13" }, defaultClass: "_1hbz9ox12" }, failure: { conditions: { lightMode: "_1hbz9ox14", darkMode: "_1hbz9ox15" }, defaultClass: "_1hbz9ox14" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox16", darkMode: "_1hbz9ox17" }, defaultClass: "_1hbz9ox16" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox18", darkMode: "_1hbz9ox19" }, defaultClass: "_1hbz9ox18" } } }, backgroundColor: { values: { background: { conditions: { lightMode: "_1hbz9ox1a", darkMode: "_1hbz9ox1b" }, defaultClass: "_1hbz9ox1a" }, mute: { conditions: { lightMode: "_1hbz9ox1c", darkMode: "_1hbz9ox1d" }, defaultClass: "_1hbz9ox1c" }, panel: { conditions: { lightMode: "_1hbz9ox1e", darkMode: "_1hbz9ox1f" }, defaultClass: "_1hbz9ox1e" }, foreground: { conditions: { lightMode: "_1hbz9ox1g", darkMode: "_1hbz9ox1h" }, defaultClass: "_1hbz9ox1g" }, contrast: { conditions: { lightMode: "_1hbz9ox1i", darkMode: "_1hbz9ox1j" }, defaultClass: "_1hbz9ox1i" }, secondary: { conditions: { lightMode: "_1hbz9ox1k", darkMode: "_1hbz9ox1l" }, defaultClass: "_1hbz9ox1k" }, tertiary: { conditions: { lightMode: "_1hbz9ox1m", darkMode: "_1hbz9ox1n" }, defaultClass: "_1hbz9ox1m" }, placeholder: { conditions: { lightMode: "_1hbz9ox1o", darkMode: "_1hbz9ox1p" }, defaultClass: "_1hbz9ox1o" }, smooth: { conditions: { lightMode: "_1hbz9ox1q", darkMode: "_1hbz9ox1r" }, defaultClass: "_1hbz9ox1q" }, subtle: { conditions: { lightMode: "_1hbz9ox1s", darkMode: "_1hbz9ox1t" }, defaultClass: "_1hbz9ox1s" }, soft: { conditions: { lightMode: "_1hbz9ox1u", darkMode: "_1hbz9ox1v" }, defaultClass: "_1hbz9ox1u" }, offset: { conditions: { lightMode: "_1hbz9ox1w", darkMode: "_1hbz9ox1x" }, defaultClass: "_1hbz9ox1w" }, primary: { conditions: { lightMode: "_1hbz9ox1y", darkMode: "_1hbz9ox1z" }, defaultClass: "_1hbz9ox1y" }, primaryHover: { conditions: { lightMode: "_1hbz9ox20", darkMode: "_1hbz9ox21" }, defaultClass: "_1hbz9ox20" }, transparent: { conditions: { lightMode: "_1hbz9ox22", darkMode: "_1hbz9ox23" }, defaultClass: "_1hbz9ox22" }, error: { conditions: { lightMode: "_1hbz9ox24", darkMode: "_1hbz9ox25" }, defaultClass: "_1hbz9ox24" }, auxiliary: { conditions: { lightMode: "_1hbz9ox26", darkMode: "_1hbz9ox27" }, defaultClass: "_1hbz9ox26" }, success: { conditions: { lightMode: "_1hbz9ox28", darkMode: "_1hbz9ox29" }, defaultClass: "_1hbz9ox28" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox2a", darkMode: "_1hbz9ox2b" }, defaultClass: "_1hbz9ox2a" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox2c", darkMode: "_1hbz9ox2d" }, defaultClass: "_1hbz9ox2c" }, failure: { conditions: { lightMode: "_1hbz9ox2e", darkMode: "_1hbz9ox2f" }, defaultClass: "_1hbz9ox2e" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox2g", darkMode: "_1hbz9ox2h" }, defaultClass: "_1hbz9ox2g" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox2i", darkMode: "_1hbz9ox2j" }, defaultClass: "_1hbz9ox2i" } } } } }, { conditions: void 0, styles: { marginY: { mappings: ["marginTop", "marginBottom"] }, marginX: { mappings: ["marginLeft", "marginRight"] }, gap: { values: { 0: { defaultClass: "_1hbz9ox2k" }, 1: { defaultClass: "_1hbz9ox2l" }, 2: { defaultClass: "_1hbz9ox2m" }, 3: { defaultClass: "_1hbz9ox2n" }, 4: { defaultClass: "_1hbz9ox2o" }, 5: { defaultClass: "_1hbz9ox2p" }, 6: { defaultClass: "_1hbz9ox2q" }, 7: { defaultClass: "_1hbz9ox2r" }, 8: { defaultClass: "_1hbz9ox2s" }, 9: { defaultClass: "_1hbz9ox2t" }, 10: { defaultClass: "_1hbz9ox2u" }, 11: { defaultClass: "_1hbz9ox2v" }, 12: { defaultClass: "_1hbz9ox2w" }, 13: { defaultClass: "_1hbz9ox2x" }, 14: { defaultClass: "_1hbz9ox2y" }, 15: { defaultClass: "_1hbz9ox2z" }, 16: { defaultClass: "_1hbz9ox30" }, 20: { defaultClass: "_1hbz9ox31" }, 24: { defaultClass: "_1hbz9ox32" }, 28: { defaultClass: "_1hbz9ox33" }, 32: { defaultClass: "_1hbz9ox34" }, 36: { defaultClass: "_1hbz9ox35" }, 40: { defaultClass: "_1hbz9ox36" }, 44: { defaultClass: "_1hbz9ox37" }, 48: { defaultClass: "_1hbz9ox38" }, 52: { defaultClass: "_1hbz9ox39" }, 56: { defaultClass: "_1hbz9ox3a" }, 60: { defaultClass: "_1hbz9ox3b" }, 64: { defaultClass: "_1hbz9ox3c" }, 68: { defaultClass: "_1hbz9ox3d" }, 72: { defaultClass: "_1hbz9ox3e" }, 76: { defaultClass: "_1hbz9ox3f" }, 80: { defaultClass: "_1hbz9ox3g" }, 96: { defaultClass: "_1hbz9ox3h" }, px: { defaultClass: "_1hbz9ox3i" }, "0.25": { defaultClass: "_1hbz9ox3j" }, "0.5": { defaultClass: "_1hbz9ox3k" }, "0.75": { defaultClass: "_1hbz9ox3l" }, "1.5": { defaultClass: "_1hbz9ox3m" }, "2.5": { defaultClass: "_1hbz9ox3n" }, "3.5": { defaultClass: "_1hbz9ox3o" } } }, marginTop: { values: { 0: { defaultClass: "_1hbz9ox3p" }, 1: { defaultClass: "_1hbz9ox3q" }, 2: { defaultClass: "_1hbz9ox3r" }, 3: { defaultClass: "_1hbz9ox3s" }, 4: { defaultClass: "_1hbz9ox3t" }, 5: { defaultClass: "_1hbz9ox3u" }, 6: { defaultClass: "_1hbz9ox3v" }, 7: { defaultClass: "_1hbz9ox3w" }, 8: { defaultClass: "_1hbz9ox3x" }, 9: { defaultClass: "_1hbz9ox3y" }, 10: { defaultClass: "_1hbz9ox3z" }, 11: { defaultClass: "_1hbz9ox40" }, 12: { defaultClass: "_1hbz9ox41" }, 13: { defaultClass: "_1hbz9ox42" }, 14: { defaultClass: "_1hbz9ox43" }, 15: { defaultClass: "_1hbz9ox44" }, 16: { defaultClass: "_1hbz9ox45" }, 20: { defaultClass: "_1hbz9ox46" }, 24: { defaultClass: "_1hbz9ox47" }, 28: { defaultClass: "_1hbz9ox48" }, 32: { defaultClass: "_1hbz9ox49" }, 36: { defaultClass: "_1hbz9ox4a" }, 40: { defaultClass: "_1hbz9ox4b" }, 44: { defaultClass: "_1hbz9ox4c" }, 48: { defaultClass: "_1hbz9ox4d" }, 52: { defaultClass: "_1hbz9ox4e" }, 56: { defaultClass: "_1hbz9ox4f" }, 60: { defaultClass: "_1hbz9ox4g" }, 64: { defaultClass: "_1hbz9ox4h" }, 68: { defaultClass: "_1hbz9ox4i" }, 72: { defaultClass: "_1hbz9ox4j" }, 76: { defaultClass: "_1hbz9ox4k" }, 80: { defaultClass: "_1hbz9ox4l" }, 96: { defaultClass: "_1hbz9ox4m" }, px: { defaultClass: "_1hbz9ox4n" }, "0.25": { defaultClass: "_1hbz9ox4o" }, "0.5": { defaultClass: "_1hbz9ox4p" }, "0.75": { defaultClass: "_1hbz9ox4q" }, "1.5": { defaultClass: "_1hbz9ox4r" }, "2.5": { defaultClass: "_1hbz9ox4s" }, "3.5": { defaultClass: "_1hbz9ox4t" } } }, marginBottom: { values: { 0: { defaultClass: "_1hbz9ox4u" }, 1: { defaultClass: "_1hbz9ox4v" }, 2: { defaultClass: "_1hbz9ox4w" }, 3: { defaultClass: "_1hbz9ox4x" }, 4: { defaultClass: "_1hbz9ox4y" }, 5: { defaultClass: "_1hbz9ox4z" }, 6: { defaultClass: "_1hbz9ox50" }, 7: { defaultClass: "_1hbz9ox51" }, 8: { defaultClass: "_1hbz9ox52" }, 9: { defaultClass: "_1hbz9ox53" }, 10: { defaultClass: "_1hbz9ox54" }, 11: { defaultClass: "_1hbz9ox55" }, 12: { defaultClass: "_1hbz9ox56" }, 13: { defaultClass: "_1hbz9ox57" }, 14: { defaultClass: "_1hbz9ox58" }, 15: { defaultClass: "_1hbz9ox59" }, 16: { defaultClass: "_1hbz9ox5a" }, 20: { defaultClass: "_1hbz9ox5b" }, 24: { defaultClass: "_1hbz9ox5c" }, 28: { defaultClass: "_1hbz9ox5d" }, 32: { defaultClass: "_1hbz9ox5e" }, 36: { defaultClass: "_1hbz9ox5f" }, 40: { defaultClass: "_1hbz9ox5g" }, 44: { defaultClass: "_1hbz9ox5h" }, 48: { defaultClass: "_1hbz9ox5i" }, 52: { defaultClass: "_1hbz9ox5j" }, 56: { defaultClass: "_1hbz9ox5k" }, 60: { defaultClass: "_1hbz9ox5l" }, 64: { defaultClass: "_1hbz9ox5m" }, 68: { defaultClass: "_1hbz9ox5n" }, 72: { defaultClass: "_1hbz9ox5o" }, 76: { defaultClass: "_1hbz9ox5p" }, 80: { defaultClass: "_1hbz9ox5q" }, 96: { defaultClass: "_1hbz9ox5r" }, px: { defaultClass: "_1hbz9ox5s" }, "0.25": { defaultClass: "_1hbz9ox5t" }, "0.5": { defaultClass: "_1hbz9ox5u" }, "0.75": { defaultClass: "_1hbz9ox5v" }, "1.5": { defaultClass: "_1hbz9ox5w" }, "2.5": { defaultClass: "_1hbz9ox5x" }, "3.5": { defaultClass: "_1hbz9ox5y" } } }, marginLeft: { values: { 0: { defaultClass: "_1hbz9ox5z" }, 1: { defaultClass: "_1hbz9ox60" }, 2: { defaultClass: "_1hbz9ox61" }, 3: { defaultClass: "_1hbz9ox62" }, 4: { defaultClass: "_1hbz9ox63" }, 5: { defaultClass: "_1hbz9ox64" }, 6: { defaultClass: "_1hbz9ox65" }, 7: { defaultClass: "_1hbz9ox66" }, 8: { defaultClass: "_1hbz9ox67" }, 9: { defaultClass: "_1hbz9ox68" }, 10: { defaultClass: "_1hbz9ox69" }, 11: { defaultClass: "_1hbz9ox6a" }, 12: { defaultClass: "_1hbz9ox6b" }, 13: { defaultClass: "_1hbz9ox6c" }, 14: { defaultClass: "_1hbz9ox6d" }, 15: { defaultClass: "_1hbz9ox6e" }, 16: { defaultClass: "_1hbz9ox6f" }, 20: { defaultClass: "_1hbz9ox6g" }, 24: { defaultClass: "_1hbz9ox6h" }, 28: { defaultClass: "_1hbz9ox6i" }, 32: { defaultClass: "_1hbz9ox6j" }, 36: { defaultClass: "_1hbz9ox6k" }, 40: { defaultClass: "_1hbz9ox6l" }, 44: { defaultClass: "_1hbz9ox6m" }, 48: { defaultClass: "_1hbz9ox6n" }, 52: { defaultClass: "_1hbz9ox6o" }, 56: { defaultClass: "_1hbz9ox6p" }, 60: { defaultClass: "_1hbz9ox6q" }, 64: { defaultClass: "_1hbz9ox6r" }, 68: { defaultClass: "_1hbz9ox6s" }, 72: { defaultClass: "_1hbz9ox6t" }, 76: { defaultClass: "_1hbz9ox6u" }, 80: { defaultClass: "_1hbz9ox6v" }, 96: { defaultClass: "_1hbz9ox6w" }, px: { defaultClass: "_1hbz9ox6x" }, "0.25": { defaultClass: "_1hbz9ox6y" }, "0.5": { defaultClass: "_1hbz9ox6z" }, "0.75": { defaultClass: "_1hbz9ox70" }, "1.5": { defaultClass: "_1hbz9ox71" }, "2.5": { defaultClass: "_1hbz9ox72" }, "3.5": { defaultClass: "_1hbz9ox73" } } }, marginRight: { values: { 0: { defaultClass: "_1hbz9ox74" }, 1: { defaultClass: "_1hbz9ox75" }, 2: { defaultClass: "_1hbz9ox76" }, 3: { defaultClass: "_1hbz9ox77" }, 4: { defaultClass: "_1hbz9ox78" }, 5: { defaultClass: "_1hbz9ox79" }, 6: { defaultClass: "_1hbz9ox7a" }, 7: { defaultClass: "_1hbz9ox7b" }, 8: { defaultClass: "_1hbz9ox7c" }, 9: { defaultClass: "_1hbz9ox7d" }, 10: { defaultClass: "_1hbz9ox7e" }, 11: { defaultClass: "_1hbz9ox7f" }, 12: { defaultClass: "_1hbz9ox7g" }, 13: { defaultClass: "_1hbz9ox7h" }, 14: { defaultClass: "_1hbz9ox7i" }, 15: { defaultClass: "_1hbz9ox7j" }, 16: { defaultClass: "_1hbz9ox7k" }, 20: { defaultClass: "_1hbz9ox7l" }, 24: { defaultClass: "_1hbz9ox7m" }, 28: { defaultClass: "_1hbz9ox7n" }, 32: { defaultClass: "_1hbz9ox7o" }, 36: { defaultClass: "_1hbz9ox7p" }, 40: { defaultClass: "_1hbz9ox7q" }, 44: { defaultClass: "_1hbz9ox7r" }, 48: { defaultClass: "_1hbz9ox7s" }, 52: { defaultClass: "_1hbz9ox7t" }, 56: { defaultClass: "_1hbz9ox7u" }, 60: { defaultClass: "_1hbz9ox7v" }, 64: { defaultClass: "_1hbz9ox7w" }, 68: { defaultClass: "_1hbz9ox7x" }, 72: { defaultClass: "_1hbz9ox7y" }, 76: { defaultClass: "_1hbz9ox7z" }, 80: { defaultClass: "_1hbz9ox80" }, 96: { defaultClass: "_1hbz9ox81" }, px: { defaultClass: "_1hbz9ox82" }, "0.25": { defaultClass: "_1hbz9ox83" }, "0.5": { defaultClass: "_1hbz9ox84" }, "0.75": { defaultClass: "_1hbz9ox85" }, "1.5": { defaultClass: "_1hbz9ox86" }, "2.5": { defaultClass: "_1hbz9ox87" }, "3.5": { defaultClass: "_1hbz9ox88" } } } } });
1118
+ const Ye = (t) => /* @__PURE__ */ o.jsx(
1116
1119
  "div",
1117
1120
  {
1118
1121
  className: N(
1119
1122
  "sid-stack",
1120
- gr(a.variant),
1121
- da({ gap: a.space || "2" }),
1122
- a.className
1123
+ sr(t.variant),
1124
+ Nt({ gap: t.space || "2" }),
1125
+ t.className
1123
1126
  ),
1124
- style: a.style,
1125
- children: a.children
1127
+ style: t.style,
1128
+ children: t.children
1126
1129
  }
1127
1130
  );
1128
- var Rr = ia({ defaultClassName: "_1wn0ypy0", variantClassNames: { size: { xs: "_1wn0ypy1", sm: "_1wn0ypy2", base: "_1wn0ypy3", xl: "_1wn0ypy4", "2xl-title": "_1wn0ypy5" }, weight: { medium: "_1wn0ypy6", semibold: "_1wn0ypy7", bold: "_1wn0ypy8" }, color: { contrast: "_1wn0ypy9", tertiary: "_1wn0ypya", placeholder: "_1wn0ypyb", white: "_1wn0ypyc", success: "_1wn0ypyd", failure: "_1wn0ypye" } }, defaultVariants: { size: "base", weight: "medium" }, compoundVariants: [] });
1129
- const kr = {
1131
+ var ur = Pt({ defaultClassName: "_1wn0ypy0", variantClassNames: { size: { xs: "_1wn0ypy1", sm: "_1wn0ypy2", base: "_1wn0ypy3", xl: "_1wn0ypy4", "2xl-title": "_1wn0ypy5" }, weight: { medium: "_1wn0ypy6", semibold: "_1wn0ypy7", bold: "_1wn0ypy8" }, color: { contrast: "_1wn0ypy9", tertiary: "_1wn0ypya", placeholder: "_1wn0ypyb", white: "_1wn0ypyc", success: "_1wn0ypyd", failure: "_1wn0ypye" } }, defaultVariants: { size: "base", weight: "medium" }, compoundVariants: [] });
1132
+ const cr = {
1130
1133
  text: {}
1131
- }, ke = aa(kr);
1132
- ke.displayName = "SlashIDTextContext";
1133
- const Xr = ({ text: a, children: r }) => {
1134
- const o = ra(() => ({
1135
- text: a
1136
- }), [a]);
1137
- return /* @__PURE__ */ s.jsx(ke.Provider, { value: o, children: r });
1134
+ }, $e = Et(cr);
1135
+ $e.displayName = "SlashIDTextContext";
1136
+ const ma = ({ text: t, children: e }) => {
1137
+ const s = St(() => ({
1138
+ text: t
1139
+ }), [t]);
1140
+ return /* @__PURE__ */ o.jsx($e.Provider, { value: s, children: e });
1138
1141
  };
1139
- function Or() {
1140
- const { text: a } = ce.useContext(ke);
1141
- return a;
1142
+ function dr() {
1143
+ const { text: t } = we.useContext($e);
1144
+ return t;
1142
1145
  }
1143
- const we = {
1146
+ const Le = {
1144
1147
  opening: "{{",
1145
1148
  closing: "}}"
1146
1149
  };
1147
- function ua(a, r) {
1148
- return a.includes(we.opening) ? Object.keys(r).reduce(
1149
- (n, i) => n.replace(
1150
- `${we.opening}${i}${we.closing}`,
1151
- r[i]
1150
+ function Dt(t, e) {
1151
+ return t.includes(Le.opening) ? Object.keys(e).reduce(
1152
+ (r, n) => r.replace(
1153
+ `${Le.opening}${n}${Le.closing}`,
1154
+ e[n]
1152
1155
  ),
1153
- a
1154
- ) : a;
1155
- }
1156
- const je = ({
1157
- as: a,
1158
- t: r,
1159
- tokens: o,
1160
- variant: n,
1161
- className: i,
1162
- children: m
1156
+ t
1157
+ ) : t;
1158
+ }
1159
+ const Fe = ({
1160
+ as: t,
1161
+ t: e,
1162
+ tokens: s,
1163
+ variant: r,
1164
+ className: n,
1165
+ children: u
1163
1166
  }) => {
1164
- const v = Or(), b = a || "p";
1165
- return /* @__PURE__ */ s.jsxs(
1166
- b,
1167
+ const c = dr(), f = t || "p";
1168
+ return /* @__PURE__ */ o.jsxs(
1169
+ f,
1167
1170
  {
1168
1171
  className: N(
1169
1172
  "sid-text",
1170
- `sid-text--${a}`,
1171
- Rr(n),
1172
- i
1173
+ `sid-text--${t}`,
1174
+ ur(r),
1175
+ n
1173
1176
  ),
1174
1177
  children: [
1175
- o ? ua(v[r], o) : v[r],
1176
- m || null
1178
+ s ? Dt(c[e], s) : c[e],
1179
+ u || null
1177
1180
  ]
1178
1181
  }
1179
1182
  );
1180
- };
1181
- var Sr = "iokgmp1";
1182
- function ea({
1183
- width: a,
1184
- height: r,
1185
- minHeight: o,
1186
- maxHeight: n,
1187
- minWidth: i,
1188
- maxWidth: m
1189
- }) {
1190
- return /* @__PURE__ */ s.jsx(
1191
- "div",
1192
- {
1193
- className: Sr,
1194
- style: {
1195
- width: a,
1196
- height: r,
1197
- minHeight: o,
1198
- maxHeight: n,
1199
- minWidth: i,
1200
- maxWidth: m
1201
- }
1202
- }
1203
- );
1204
- }
1205
- const z = {
1183
+ }, z = {
1206
1184
  "footer.text": "Top-tier security by SlashID",
1207
1185
  "initial.title": "Logging you in...",
1208
1186
  "initial.details": "Please follow the on-screen instructions.",
@@ -1228,7 +1206,7 @@ const z = {
1228
1206
  "success.details": "Please return to the website.",
1229
1207
  "error.title": "Something went wrong...",
1230
1208
  "error.detail": "Please log in again."
1231
- }, Pr = {
1209
+ }, fr = {
1232
1210
  en: z,
1233
1211
  ja: {
1234
1212
  "footer.text": z["footer.text"],
@@ -1257,22 +1235,22 @@ const z = {
1257
1235
  "error.title": z["error.title"],
1258
1236
  "error.detail": "再度ログインをしてください。"
1259
1237
  }
1260
- }, Tr = (a) => (r) => Pr[a][r], Nr = {
1261
- logo: /* @__PURE__ */ s.jsx(ur, {}),
1238
+ }, hr = (t) => (e) => fr[t][e], _r = {
1239
+ logo: /* @__PURE__ */ o.jsx($s, {}),
1262
1240
  language: "en",
1263
1241
  state: "initial",
1264
- sdk: void 0
1265
- }, Ar = aa(
1266
- Nr
1267
- ), Oe = () => Ia(Ar), re = (a) => /* @__PURE__ */ s.jsx(je, { ...a });
1268
- var Dr = "_1vg0oop0", Lr = "_1vg0oop1", Ir = "_1vg0oop2", Fr = "_1vg0oop3";
1269
- function qr() {
1270
- const { logo: a } = Oe();
1271
- return /* @__PURE__ */ s.jsx("div", { className: Fr, children: a });
1272
- }
1273
- function Vr() {
1274
- return /* @__PURE__ */ s.jsx(
1275
- re,
1242
+ sdk: void 0,
1243
+ setLogo: () => {
1244
+ }
1245
+ }, pr = Et(_r), ye = () => Cs(pr), J = (t) => /* @__PURE__ */ o.jsx(Fe, { ...t });
1246
+ var br = "_1vg0oop0", gr = "_1vg0oop1", xr = "_1vg0oop2", mt = "_1vg0oop3";
1247
+ function vr() {
1248
+ const { logo: t } = ye();
1249
+ return /* @__PURE__ */ o.jsx("div", { className: mt, children: typeof t == "string" ? /* @__PURE__ */ o.jsx("img", { src: t, alt: "logo", className: mt }) : t });
1250
+ }
1251
+ function mr() {
1252
+ return /* @__PURE__ */ o.jsx(
1253
+ J,
1276
1254
  {
1277
1255
  t: "footer.text",
1278
1256
  variant: {
@@ -1283,202 +1261,1473 @@ function Vr() {
1283
1261
  }
1284
1262
  );
1285
1263
  }
1286
- function et({ children: a, className: r, header: o = /* @__PURE__ */ s.jsx(qr, {}), footer: n = /* @__PURE__ */ s.jsx(Vr, {}), style: i }) {
1287
- return /* @__PURE__ */ s.jsxs("article", { style: i, className: N(Dr, r), children: [
1288
- o && /* @__PURE__ */ s.jsx("header", { className: Lr, children: o }),
1289
- /* @__PURE__ */ s.jsx("div", { children: a }),
1290
- n && /* @__PURE__ */ s.jsx("footer", { className: Ir, children: n })
1291
- ] });
1292
- }
1293
- function $r() {
1294
- return /* @__PURE__ */ s.jsx(Me, { children: /* @__PURE__ */ s.jsx(na, {}) });
1295
- }
1296
- function at() {
1297
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1298
- /* @__PURE__ */ s.jsxs(Re, { space: "2", children: [
1299
- /* @__PURE__ */ s.jsx(ea, { width: "75%", height: 24 }),
1300
- /* @__PURE__ */ s.jsx(ea, { width: "50%", height: 16 })
1301
- ] }),
1302
- /* @__PURE__ */ s.jsx($r, {})
1264
+ function Ca({ children: t, className: e, header: s = /* @__PURE__ */ o.jsx(vr, {}), footer: r = /* @__PURE__ */ o.jsx(mr, {}), style: n }) {
1265
+ return /* @__PURE__ */ o.jsxs("article", { style: n, className: N(br, e), children: [
1266
+ s && /* @__PURE__ */ o.jsx("header", { className: gr, children: s }),
1267
+ /* @__PURE__ */ o.jsx("div", { children: t }),
1268
+ r && /* @__PURE__ */ o.jsx("footer", { className: xr, children: r })
1303
1269
  ] });
1304
1270
  }
1305
- function Wr({ type: a }) {
1306
- return /* @__PURE__ */ s.jsx(Me, { variant: a === "warning" ? "blue" : "red", shouldAnimate: !1, children: /* @__PURE__ */ s.jsx(lr, {}) });
1271
+ const Cr = { "--sid-color-primary": "#DCDDE5" };
1272
+ function wr({ type: t }) {
1273
+ return t === "neutral" ? /* @__PURE__ */ o.jsx("div", { style: Cr, children: /* @__PURE__ */ o.jsx(me, { variant: "primary", shouldAnimate: !1, children: /* @__PURE__ */ o.jsx(pt, {}) }) }) : /* @__PURE__ */ o.jsx(me, { variant: t === "warning" ? "blue" : "red", shouldAnimate: !1, children: /* @__PURE__ */ o.jsx(pt, {}) });
1307
1274
  }
1308
- function rt({ type: a, redirectUri: r }) {
1309
- return r && window.location.replace(r), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1310
- /* @__PURE__ */ s.jsxs(Re, { space: "0.25", children: [
1311
- /* @__PURE__ */ s.jsx(
1312
- re,
1313
- {
1314
- as: "h1",
1315
- variant: { size: "2xl-title", weight: "bold" },
1316
- t: "error.title"
1317
- }
1318
- ),
1319
- /* @__PURE__ */ s.jsx(
1320
- re,
1321
- {
1322
- as: "h2",
1323
- t: "error.detail",
1324
- variant: { color: "contrast", weight: "semibold" }
1325
- }
1326
- )
1275
+ function wa({ type: t, redirectUri: e }) {
1276
+ return e && window.location.replace(e), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1277
+ /* @__PURE__ */ o.jsxs(Ye, { space: "0.25", children: [
1278
+ /* @__PURE__ */ o.jsx(J, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "error.title" }),
1279
+ /* @__PURE__ */ o.jsx(J, { as: "h2", t: "error.detail", variant: { color: "contrast", weight: "semibold" } })
1327
1280
  ] }),
1328
- /* @__PURE__ */ s.jsx(Wr, { type: a })
1281
+ /* @__PURE__ */ o.jsx(wr, { type: t })
1329
1282
  ] });
1330
1283
  }
1331
- const Yr = () => /* @__PURE__ */ s.jsx(Me, { children: /* @__PURE__ */ s.jsx(
1332
- "svg",
1284
+ const yr = () => /* @__PURE__ */ o.jsx(me, { variant: "primary", children: /* @__PURE__ */ o.jsx("svg", { width: "21", height: "18", viewBox: "0 0 21 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o.jsx(
1285
+ "path",
1333
1286
  {
1334
- width: "21",
1335
- height: "18",
1336
- viewBox: "0 0 21 18",
1337
- fill: "none",
1338
- xmlns: "http://www.w3.org/2000/svg",
1339
- children: /* @__PURE__ */ s.jsx(
1340
- "path",
1341
- {
1342
- fillRule: "evenodd",
1343
- clipRule: "evenodd",
1344
- d: "M19.8505 0.705985C20.6342 1.38283 20.7209 2.56684 20.044 3.35055L8.16908 17.1005C7.80192 17.5256 7.2635 17.7637 6.70195 17.7493C6.1404 17.7349 5.61489 17.4695 5.27002 17.0261L0.895049 11.4011C0.259296 10.5837 0.406547 9.4057 1.22394 8.76995C2.04134 8.13419 3.21935 8.28145 3.8551 9.09884L6.82592 12.9185L17.2059 0.89949C17.8828 0.115778 19.0668 0.0291434 19.8505 0.705985Z",
1345
- fill: "white"
1346
- }
1347
- )
1287
+ fillRule: "evenodd",
1288
+ clipRule: "evenodd",
1289
+ d: "M19.8505 0.705985C20.6342 1.38283 20.7209 2.56684 20.044 3.35055L8.16908 17.1005C7.80192 17.5256 7.2635 17.7637 6.70195 17.7493C6.1404 17.7349 5.61489 17.4695 5.27002 17.0261L0.895049 11.4011C0.259296 10.5837 0.406547 9.4057 1.22394 8.76995C2.04134 8.13419 3.21935 8.28145 3.8551 9.09884L6.82592 12.9185L17.2059 0.89949C17.8828 0.115778 19.0668 0.0291434 19.8505 0.705985Z",
1290
+ fill: "white"
1348
1291
  }
1349
- ) });
1350
- function tt({ redirectUri: a } = {}) {
1351
- return a && window.location.replace(a), /* @__PURE__ */ s.jsxs("article", { "data-testid": "sid-form-success-state", children: [
1352
- /* @__PURE__ */ s.jsx(
1353
- re,
1354
- {
1355
- as: "h1",
1356
- t: "success.title",
1357
- variant: { size: "2xl-title", weight: "bold" }
1358
- }
1359
- ),
1360
- /* @__PURE__ */ s.jsx(
1361
- re,
1362
- {
1363
- as: "h2",
1364
- t: "success.details",
1365
- variant: { color: "contrast", weight: "semibold" }
1366
- }
1367
- ),
1368
- /* @__PURE__ */ s.jsx(Yr, {})
1292
+ ) }) });
1293
+ function ya({ redirectUri: t } = {}) {
1294
+ return t && window.location.replace(t), /* @__PURE__ */ o.jsxs("article", { "data-testid": "sid-form-success-state", children: [
1295
+ /* @__PURE__ */ o.jsx(J, { as: "h1", t: "success.title", variant: { size: "2xl-title", weight: "bold" } }),
1296
+ /* @__PURE__ */ o.jsx(J, { as: "h2", t: "success.details", variant: { color: "contrast", weight: "semibold" } }),
1297
+ /* @__PURE__ */ o.jsx(yr, {})
1369
1298
  ] });
1370
1299
  }
1371
- var Br = "_8vopmj0", Ur = "_8vopmj2";
1372
- function Hr() {
1373
- const { language: a } = Oe();
1374
- return ra(() => Tr(a), [a]);
1300
+ var zr = "_8vopmj0", Er = "_8vopmj2";
1301
+ function Sr() {
1302
+ const { language: t } = ye();
1303
+ return St(() => hr(t), [t]);
1375
1304
  }
1376
- function Zr(a) {
1377
- return `recover.password.validation.${a.failedRules[0].name}`;
1305
+ function jr(t) {
1306
+ return `recover.password.validation.${t.failedRules[0].name}`;
1378
1307
  }
1379
- function Gr({
1380
- errorEvent: a,
1381
- password: r
1308
+ function Rr({
1309
+ errorEvent: t,
1310
+ password: e
1382
1311
  }) {
1383
- const o = a.failedRules[0];
1384
- let n = "";
1385
- if (o.matchType === "must_not_match") {
1386
- const i = o.regexp.exec(r);
1387
- n = i !== null ? i[0] : "";
1388
- }
1389
- return n ? {
1390
- ILLEGAL_SEQUENCE: n
1312
+ const s = t.failedRules[0];
1313
+ let r = "";
1314
+ if (s.matchType === "must_not_match") {
1315
+ const n = s.regexp.exec(e);
1316
+ r = n !== null ? n[0] : "";
1317
+ }
1318
+ return r ? {
1319
+ ILLEGAL_SEQUENCE: r
1391
1320
  } : {};
1392
1321
  }
1393
- function Kr({ message: a }) {
1394
- return /* @__PURE__ */ s.jsx("span", { className: Ur, children: a });
1395
- }
1396
- function st() {
1397
- const a = Hr(), { sdk: r } = Oe(), [o, n] = ae(""), [i, m] = ae(""), [v, b] = ae(null), [f, w] = ae("initial");
1398
- Fa(() => {
1399
- const E = (F) => {
1400
- b(
1401
- ua(
1402
- a(Zr(F)),
1403
- Gr({ errorEvent: F, password: o })
1322
+ function Tr({ message: t }) {
1323
+ return /* @__PURE__ */ o.jsx("span", { className: Er, children: t });
1324
+ }
1325
+ function Or() {
1326
+ const t = Sr(), { sdk: e } = ye(), [s, r] = ue(""), [n, u] = ue(""), [c, f] = ue(null), [d, b] = ue("initial");
1327
+ jt(() => {
1328
+ const S = (B) => {
1329
+ f(
1330
+ Dt(
1331
+ t(jr(B)),
1332
+ Rr({ errorEvent: B, password: s })
1404
1333
  )
1405
- ), w("initial");
1334
+ ), b("initial");
1406
1335
  };
1407
- return r == null || r.subscribe("invalidPasswordSubmitted", E), () => {
1408
- r == null || r.unsubscribe("invalidPasswordSubmitted", E);
1336
+ return e == null || e.subscribe("invalidPasswordSubmitted", S), () => {
1337
+ e == null || e.unsubscribe("invalidPasswordSubmitted", S);
1409
1338
  };
1410
- }, [a, r, o, b]);
1411
- const p = (E) => {
1412
- if (E.preventDefault(), !!r) {
1413
- if (!o || o !== i) {
1414
- b(a("recover.password.validation.passwordsDoNotMatch"));
1339
+ }, [t, e, s, f]);
1340
+ const x = (S) => {
1341
+ if (S.preventDefault(), !!e) {
1342
+ if (!s || s !== n) {
1343
+ f(t("recover.password.validation.passwordsDoNotMatch"));
1415
1344
  return;
1416
1345
  }
1417
- r.publish("passwordSubmitted", o), w("submitting");
1346
+ e.publish("passwordSubmitted", s), b("submitting");
1418
1347
  }
1419
- }, M = (E) => {
1420
- n(E.target.value), b(null);
1421
- }, S = (E) => {
1422
- m(E.target.value), b(null);
1348
+ }, w = (S) => {
1349
+ r(S.target.value), f(null);
1350
+ }, O = (S) => {
1351
+ u(S.target.value), f(null);
1423
1352
  };
1424
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1425
- /* @__PURE__ */ s.jsxs(Re, { space: "0.25", children: [
1426
- /* @__PURE__ */ s.jsx(je, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "recover.password.title" }),
1427
- /* @__PURE__ */ s.jsx(je, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "recover.password.details" })
1353
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1354
+ /* @__PURE__ */ o.jsxs(Ye, { space: "0.25", children: [
1355
+ /* @__PURE__ */ o.jsx(Fe, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "recover.password.title" }),
1356
+ /* @__PURE__ */ o.jsx(Fe, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "recover.password.details" })
1428
1357
  ] }),
1429
- /* @__PURE__ */ s.jsxs("form", { onSubmit: p, children: [
1430
- /* @__PURE__ */ s.jsxs("div", { className: Br, children: [
1431
- /* @__PURE__ */ s.jsx(
1432
- Ke,
1358
+ /* @__PURE__ */ o.jsxs("form", { onSubmit: x, children: [
1359
+ /* @__PURE__ */ o.jsxs("div", { className: zr, children: [
1360
+ /* @__PURE__ */ o.jsx(
1361
+ bt,
1433
1362
  {
1434
1363
  id: "password-input",
1435
- label: a("recover.password.input.password.label"),
1436
- placeholder: a("recover.password.input.placeholder"),
1364
+ label: t("recover.password.input.password.label"),
1365
+ placeholder: t("recover.password.input.placeholder"),
1437
1366
  name: "password",
1438
- value: o ?? "",
1439
- onChange: M,
1440
- error: !!v,
1367
+ value: s ?? "",
1368
+ onChange: w,
1369
+ error: !!c,
1441
1370
  autoComplete: "new-password"
1442
1371
  }
1443
1372
  ),
1444
- /* @__PURE__ */ s.jsx(
1445
- Ke,
1373
+ /* @__PURE__ */ o.jsx(
1374
+ bt,
1446
1375
  {
1447
1376
  id: "password-input-confirm",
1448
- label: a("recover.password.input.confirmPassword.label"),
1449
- placeholder: a("recover.password.input.placeholder"),
1377
+ label: t("recover.password.input.confirmPassword.label"),
1378
+ placeholder: t("recover.password.input.placeholder"),
1450
1379
  name: "passwordConfirm",
1451
- value: i ?? "",
1452
- onChange: S,
1453
- className: da({ marginTop: "4" }),
1454
- error: !!v,
1380
+ value: n ?? "",
1381
+ onChange: O,
1382
+ className: Nt({ marginTop: "4" }),
1383
+ error: !!c,
1455
1384
  autoComplete: "new-password"
1456
1385
  }
1457
1386
  ),
1458
- v && /* @__PURE__ */ s.jsx(Kr, { message: v })
1387
+ c && /* @__PURE__ */ o.jsx(Tr, { message: c })
1459
1388
  ] }),
1460
- /* @__PURE__ */ s.jsx(
1461
- la,
1389
+ /* @__PURE__ */ o.jsx(
1390
+ kt,
1462
1391
  {
1463
1392
  type: "submit",
1464
1393
  variant: "primary",
1465
1394
  testId: "sid-form-initial-submit-button",
1466
- disabled: f === "submitting",
1467
- loading: f === "submitting",
1468
- children: a("recover.password.submit")
1395
+ disabled: d === "submitting",
1396
+ loading: d === "submitting",
1397
+ children: t("recover.password.submit")
1469
1398
  }
1470
1399
  )
1471
1400
  ] })
1472
1401
  ] });
1473
1402
  }
1403
+ const Mr = Object.prototype.toString;
1404
+ function kr(t, e) {
1405
+ return Mr.call(t) === `[object ${e}]`;
1406
+ }
1407
+ function It(t) {
1408
+ return kr(t, "Object");
1409
+ }
1410
+ function He(t) {
1411
+ return !!(t && t.then && typeof t.then == "function");
1412
+ }
1413
+ function xe(t) {
1414
+ return t && t.Math == Math ? t : void 0;
1415
+ }
1416
+ const D = typeof globalThis == "object" && xe(globalThis) || // eslint-disable-next-line no-restricted-globals
1417
+ typeof window == "object" && xe(window) || typeof self == "object" && xe(self) || typeof global == "object" && xe(global) || /* @__PURE__ */ function() {
1418
+ return this;
1419
+ }() || {};
1420
+ function Lt(t, e, s) {
1421
+ const r = s || D, n = r.__SENTRY__ = r.__SENTRY__ || {};
1422
+ return n[t] || (n[t] = e());
1423
+ }
1424
+ const Pr = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Nr = "Sentry Logger ", Ct = [
1425
+ "debug",
1426
+ "info",
1427
+ "warn",
1428
+ "error",
1429
+ "log",
1430
+ "assert",
1431
+ "trace"
1432
+ ], wt = {};
1433
+ function At(t) {
1434
+ if (!("console" in D))
1435
+ return t();
1436
+ const e = D.console, s = {}, r = Object.keys(wt);
1437
+ r.forEach((n) => {
1438
+ const u = wt[n];
1439
+ s[n] = e[n], e[n] = u;
1440
+ });
1441
+ try {
1442
+ return t();
1443
+ } finally {
1444
+ r.forEach((n) => {
1445
+ e[n] = s[n];
1446
+ });
1447
+ }
1448
+ }
1449
+ function Dr() {
1450
+ let t = !1;
1451
+ const e = {
1452
+ enable: () => {
1453
+ t = !0;
1454
+ },
1455
+ disable: () => {
1456
+ t = !1;
1457
+ },
1458
+ isEnabled: () => t
1459
+ };
1460
+ return Pr ? Ct.forEach((s) => {
1461
+ e[s] = (...r) => {
1462
+ t && At(() => {
1463
+ D.console[s](`${Nr}[${s}]:`, ...r);
1464
+ });
1465
+ };
1466
+ }) : Ct.forEach((s) => {
1467
+ e[s] = () => {
1468
+ };
1469
+ }), e;
1470
+ }
1471
+ const H = Dr();
1472
+ function G(t) {
1473
+ return Ue(t, /* @__PURE__ */ new Map());
1474
+ }
1475
+ function Ue(t, e) {
1476
+ if (Ir(t)) {
1477
+ const s = e.get(t);
1478
+ if (s !== void 0)
1479
+ return s;
1480
+ const r = {};
1481
+ e.set(t, r);
1482
+ for (const n of Object.keys(t))
1483
+ typeof t[n] < "u" && (r[n] = Ue(t[n], e));
1484
+ return r;
1485
+ }
1486
+ if (Array.isArray(t)) {
1487
+ const s = e.get(t);
1488
+ if (s !== void 0)
1489
+ return s;
1490
+ const r = [];
1491
+ return e.set(t, r), t.forEach((n) => {
1492
+ r.push(Ue(n, e));
1493
+ }), r;
1494
+ }
1495
+ return t;
1496
+ }
1497
+ function Ir(t) {
1498
+ if (!It(t))
1499
+ return !1;
1500
+ try {
1501
+ const e = Object.getPrototypeOf(t).constructor.name;
1502
+ return !e || e === "Object";
1503
+ } catch {
1504
+ return !0;
1505
+ }
1506
+ }
1507
+ function L() {
1508
+ const t = D, e = t.crypto || t.msCrypto;
1509
+ let s = () => Math.random() * 16;
1510
+ try {
1511
+ if (e && e.randomUUID)
1512
+ return e.randomUUID().replace(/-/g, "");
1513
+ e && e.getRandomValues && (s = () => {
1514
+ const r = new Uint8Array(1);
1515
+ return e.getRandomValues(r), r[0];
1516
+ });
1517
+ } catch {
1518
+ }
1519
+ return ("10000000100040008000" + 1e11).replace(
1520
+ /[018]/g,
1521
+ (r) => (
1522
+ // eslint-disable-next-line no-bitwise
1523
+ (r ^ (s() & 15) >> r / 4).toString(16)
1524
+ )
1525
+ );
1526
+ }
1527
+ function Lr(t) {
1528
+ return Array.isArray(t) ? t : [t];
1529
+ }
1530
+ var q;
1531
+ (function(t) {
1532
+ t[t.PENDING = 0] = "PENDING";
1533
+ const s = 1;
1534
+ t[t.RESOLVED = s] = "RESOLVED";
1535
+ const r = 2;
1536
+ t[t.REJECTED = r] = "REJECTED";
1537
+ })(q || (q = {}));
1538
+ class $ {
1539
+ constructor(e) {
1540
+ $.prototype.__init.call(this), $.prototype.__init2.call(this), $.prototype.__init3.call(this), $.prototype.__init4.call(this), this._state = q.PENDING, this._handlers = [];
1541
+ try {
1542
+ e(this._resolve, this._reject);
1543
+ } catch (s) {
1544
+ this._reject(s);
1545
+ }
1546
+ }
1547
+ /** JSDoc */
1548
+ then(e, s) {
1549
+ return new $((r, n) => {
1550
+ this._handlers.push([
1551
+ !1,
1552
+ (u) => {
1553
+ if (!e)
1554
+ r(u);
1555
+ else
1556
+ try {
1557
+ r(e(u));
1558
+ } catch (c) {
1559
+ n(c);
1560
+ }
1561
+ },
1562
+ (u) => {
1563
+ if (!s)
1564
+ n(u);
1565
+ else
1566
+ try {
1567
+ r(s(u));
1568
+ } catch (c) {
1569
+ n(c);
1570
+ }
1571
+ }
1572
+ ]), this._executeHandlers();
1573
+ });
1574
+ }
1575
+ /** JSDoc */
1576
+ catch(e) {
1577
+ return this.then((s) => s, e);
1578
+ }
1579
+ /** JSDoc */
1580
+ finally(e) {
1581
+ return new $((s, r) => {
1582
+ let n, u;
1583
+ return this.then(
1584
+ (c) => {
1585
+ u = !1, n = c, e && e();
1586
+ },
1587
+ (c) => {
1588
+ u = !0, n = c, e && e();
1589
+ }
1590
+ ).then(() => {
1591
+ if (u) {
1592
+ r(n);
1593
+ return;
1594
+ }
1595
+ s(n);
1596
+ });
1597
+ });
1598
+ }
1599
+ /** JSDoc */
1600
+ __init() {
1601
+ this._resolve = (e) => {
1602
+ this._setResult(q.RESOLVED, e);
1603
+ };
1604
+ }
1605
+ /** JSDoc */
1606
+ __init2() {
1607
+ this._reject = (e) => {
1608
+ this._setResult(q.REJECTED, e);
1609
+ };
1610
+ }
1611
+ /** JSDoc */
1612
+ __init3() {
1613
+ this._setResult = (e, s) => {
1614
+ if (this._state === q.PENDING) {
1615
+ if (He(s)) {
1616
+ s.then(this._resolve, this._reject);
1617
+ return;
1618
+ }
1619
+ this._state = e, this._value = s, this._executeHandlers();
1620
+ }
1621
+ };
1622
+ }
1623
+ /** JSDoc */
1624
+ __init4() {
1625
+ this._executeHandlers = () => {
1626
+ if (this._state === q.PENDING)
1627
+ return;
1628
+ const e = this._handlers.slice();
1629
+ this._handlers = [], e.forEach((s) => {
1630
+ s[0] || (this._state === q.RESOLVED && s[1](this._value), this._state === q.REJECTED && s[2](this._value), s[0] = !0);
1631
+ });
1632
+ };
1633
+ }
1634
+ }
1635
+ const Ft = 1e3;
1636
+ function Ge() {
1637
+ return Date.now() / Ft;
1638
+ }
1639
+ function Ar() {
1640
+ const { performance: t } = D;
1641
+ if (!t || !t.now)
1642
+ return Ge;
1643
+ const e = Date.now() - t.now(), s = t.timeOrigin == null ? e : t.timeOrigin;
1644
+ return () => (s + t.now()) / Ft;
1645
+ }
1646
+ const Ut = Ar();
1647
+ (() => {
1648
+ const { performance: t } = D;
1649
+ if (!t || !t.now)
1650
+ return;
1651
+ const e = 3600 * 1e3, s = t.now(), r = Date.now(), n = t.timeOrigin ? Math.abs(t.timeOrigin + s - r) : e, u = n < e, c = t.timing && t.timing.navigationStart, d = typeof c == "number" ? Math.abs(c + s - r) : e, b = d < e;
1652
+ return u || b ? n <= d ? t.timeOrigin : c : r;
1653
+ })();
1654
+ const ve = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, qt = "production";
1655
+ function Fr() {
1656
+ return Lt("globalEventProcessors", () => []);
1657
+ }
1658
+ function qe(t, e, s, r = 0) {
1659
+ return new $((n, u) => {
1660
+ const c = t[r];
1661
+ if (e === null || typeof c != "function")
1662
+ n(e);
1663
+ else {
1664
+ const f = c({ ...e }, s);
1665
+ ve && c.id && f === null && H.log(`Event processor "${c.id}" dropped event`), He(f) ? f.then((d) => qe(t, d, s, r + 1).then(n)).then(null, u) : qe(t, f, s, r + 1).then(n).then(null, u);
1666
+ }
1667
+ });
1668
+ }
1669
+ function Ur(t) {
1670
+ const e = Ut(), s = {
1671
+ sid: L(),
1672
+ init: !0,
1673
+ timestamp: e,
1674
+ started: e,
1675
+ duration: 0,
1676
+ status: "ok",
1677
+ errors: 0,
1678
+ ignoreDuration: !1,
1679
+ toJSON: () => Br(s)
1680
+ };
1681
+ return t && ze(s, t), s;
1682
+ }
1683
+ function ze(t, e = {}) {
1684
+ if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || Ut(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : L()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
1685
+ t.duration = void 0;
1686
+ else if (typeof e.duration == "number")
1687
+ t.duration = e.duration;
1688
+ else {
1689
+ const s = t.timestamp - t.started;
1690
+ t.duration = s >= 0 ? s : 0;
1691
+ }
1692
+ e.release && (t.release = e.release), e.environment && (t.environment = e.environment), !t.ipAddress && e.ipAddress && (t.ipAddress = e.ipAddress), !t.userAgent && e.userAgent && (t.userAgent = e.userAgent), typeof e.errors == "number" && (t.errors = e.errors), e.status && (t.status = e.status);
1693
+ }
1694
+ function qr(t, e) {
1695
+ let s = {};
1696
+ e ? s = { status: e } : t.status === "ok" && (s = { status: "exited" }), ze(t, s);
1697
+ }
1698
+ function Br(t) {
1699
+ return G({
1700
+ sid: `${t.sid}`,
1701
+ init: t.init,
1702
+ // Make sure that sec is converted to ms for date constructor
1703
+ started: new Date(t.started * 1e3).toISOString(),
1704
+ timestamp: new Date(t.timestamp * 1e3).toISOString(),
1705
+ status: t.status,
1706
+ errors: t.errors,
1707
+ did: typeof t.did == "number" || typeof t.did == "string" ? `${t.did}` : void 0,
1708
+ duration: t.duration,
1709
+ abnormal_mechanism: t.abnormal_mechanism,
1710
+ attrs: {
1711
+ release: t.release,
1712
+ environment: t.environment,
1713
+ ip_address: t.ipAddress,
1714
+ user_agent: t.userAgent
1715
+ }
1716
+ });
1717
+ }
1718
+ const Vr = 1;
1719
+ function Yr(t) {
1720
+ const { spanId: e, traceId: s } = t.spanContext(), { data: r, op: n, parent_span_id: u, status: c, tags: f, origin: d } = Ce(t);
1721
+ return G({
1722
+ data: r,
1723
+ op: n,
1724
+ parent_span_id: u,
1725
+ span_id: e,
1726
+ status: c,
1727
+ tags: f,
1728
+ trace_id: s,
1729
+ origin: d
1730
+ });
1731
+ }
1732
+ function Ce(t) {
1733
+ return $r(t) ? t.getSpanJSON() : typeof t.toJSON == "function" ? t.toJSON() : {};
1734
+ }
1735
+ function $r(t) {
1736
+ return typeof t.getSpanJSON == "function";
1737
+ }
1738
+ function Hr(t) {
1739
+ const { traceFlags: e } = t.spanContext();
1740
+ return !!(e & Vr);
1741
+ }
1742
+ function Gr(t) {
1743
+ if (t)
1744
+ return Wr(t) ? { captureContext: t } : Kr(t) ? {
1745
+ captureContext: t
1746
+ } : t;
1747
+ }
1748
+ function Wr(t) {
1749
+ return t instanceof W || typeof t == "function";
1750
+ }
1751
+ const Jr = [
1752
+ "user",
1753
+ "level",
1754
+ "extra",
1755
+ "contexts",
1756
+ "tags",
1757
+ "fingerprint",
1758
+ "requestSession",
1759
+ "propagationContext"
1760
+ ];
1761
+ function Kr(t) {
1762
+ return Object.keys(t).some((e) => Jr.includes(e));
1763
+ }
1764
+ function Zr(t, e) {
1765
+ return We().captureException(t, Gr(e));
1766
+ }
1767
+ function Qr() {
1768
+ return We().getClient();
1769
+ }
1770
+ function Xr() {
1771
+ return We().getScope();
1772
+ }
1773
+ function Bt(t) {
1774
+ return t.transaction;
1775
+ }
1776
+ function ea(t, e, s) {
1777
+ const r = e.getOptions(), { publicKey: n } = e.getDsn() || {}, { segment: u } = s && s.getUser() || {}, c = G({
1778
+ environment: r.environment || qt,
1779
+ release: r.release,
1780
+ user_segment: u,
1781
+ public_key: n,
1782
+ trace_id: t
1783
+ });
1784
+ return e.emit && e.emit("createDsc", c), c;
1785
+ }
1786
+ function ta(t) {
1787
+ const e = Qr();
1788
+ if (!e)
1789
+ return {};
1790
+ const s = ea(Ce(t).trace_id || "", e, Xr()), r = Bt(t);
1791
+ if (!r)
1792
+ return s;
1793
+ const n = r && r._frozenDynamicSamplingContext;
1794
+ if (n)
1795
+ return n;
1796
+ const { sampleRate: u, source: c } = r.metadata;
1797
+ u != null && (s.sample_rate = `${u}`);
1798
+ const f = Ce(r);
1799
+ return c && c !== "url" && (s.transaction = f.description), s.sampled = String(Hr(r)), e.emit && e.emit("createDsc", s), s;
1800
+ }
1801
+ function sa(t, e) {
1802
+ const { fingerprint: s, span: r, breadcrumbs: n, sdkProcessingMetadata: u } = e;
1803
+ ra(t, e), r && oa(t, r), ia(t, s), aa(t, n), na(t, u);
1804
+ }
1805
+ function ra(t, e) {
1806
+ const {
1807
+ extra: s,
1808
+ tags: r,
1809
+ user: n,
1810
+ contexts: u,
1811
+ level: c,
1812
+ // eslint-disable-next-line deprecation/deprecation
1813
+ transactionName: f
1814
+ } = e, d = G(s);
1815
+ d && Object.keys(d).length && (t.extra = { ...d, ...t.extra });
1816
+ const b = G(r);
1817
+ b && Object.keys(b).length && (t.tags = { ...b, ...t.tags });
1818
+ const x = G(n);
1819
+ x && Object.keys(x).length && (t.user = { ...x, ...t.user });
1820
+ const w = G(u);
1821
+ w && Object.keys(w).length && (t.contexts = { ...w, ...t.contexts }), c && (t.level = c), f && (t.transaction = f);
1822
+ }
1823
+ function aa(t, e) {
1824
+ const s = [...t.breadcrumbs || [], ...e];
1825
+ t.breadcrumbs = s.length ? s : void 0;
1826
+ }
1827
+ function na(t, e) {
1828
+ t.sdkProcessingMetadata = {
1829
+ ...t.sdkProcessingMetadata,
1830
+ ...e
1831
+ };
1832
+ }
1833
+ function oa(t, e) {
1834
+ t.contexts = { trace: Yr(e), ...t.contexts };
1835
+ const s = Bt(e);
1836
+ if (s) {
1837
+ t.sdkProcessingMetadata = {
1838
+ dynamicSamplingContext: ta(e),
1839
+ ...t.sdkProcessingMetadata
1840
+ };
1841
+ const r = Ce(s).description;
1842
+ r && (t.tags = { transaction: r, ...t.tags });
1843
+ }
1844
+ }
1845
+ function ia(t, e) {
1846
+ t.fingerprint = t.fingerprint ? Lr(t.fingerprint) : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
1847
+ }
1848
+ const la = 100;
1849
+ class W {
1850
+ /** Flag if notifying is happening. */
1851
+ /** Callback for client to receive scope changes. */
1852
+ /** Callback list that will be called after {@link applyToEvent}. */
1853
+ /** Array of breadcrumbs. */
1854
+ /** User */
1855
+ /** Tags */
1856
+ /** Extra */
1857
+ /** Contexts */
1858
+ /** Attachments */
1859
+ /** Propagation Context for distributed tracing */
1860
+ /**
1861
+ * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get
1862
+ * sent to Sentry
1863
+ */
1864
+ /** Fingerprint */
1865
+ /** Severity */
1866
+ // eslint-disable-next-line deprecation/deprecation
1867
+ /**
1868
+ * Transaction Name
1869
+ */
1870
+ /** Span */
1871
+ /** Session */
1872
+ /** Request Mode Session Status */
1873
+ /** The client on this scope */
1874
+ // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
1875
+ constructor() {
1876
+ this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = yt();
1877
+ }
1878
+ /**
1879
+ * Inherit values from the parent scope.
1880
+ * @deprecated Use `scope.clone()` and `new Scope()` instead.
1881
+ */
1882
+ static clone(e) {
1883
+ return e ? e.clone() : new W();
1884
+ }
1885
+ /**
1886
+ * Clone this scope instance.
1887
+ */
1888
+ clone() {
1889
+ const e = new W();
1890
+ return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, e._user = this._user, e._level = this._level, e._span = this._span, e._session = this._session, e._transactionName = this._transactionName, e._fingerprint = this._fingerprint, e._eventProcessors = [...this._eventProcessors], e._requestSession = this._requestSession, e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e;
1891
+ }
1892
+ /** Update the client on the scope. */
1893
+ setClient(e) {
1894
+ this._client = e;
1895
+ }
1896
+ /**
1897
+ * Get the client assigned to this scope.
1898
+ *
1899
+ * It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.
1900
+ */
1901
+ getClient() {
1902
+ return this._client;
1903
+ }
1904
+ /**
1905
+ * Add internal on change listener. Used for sub SDKs that need to store the scope.
1906
+ * @hidden
1907
+ */
1908
+ addScopeListener(e) {
1909
+ this._scopeListeners.push(e);
1910
+ }
1911
+ /**
1912
+ * @inheritDoc
1913
+ */
1914
+ addEventProcessor(e) {
1915
+ return this._eventProcessors.push(e), this;
1916
+ }
1917
+ /**
1918
+ * @inheritDoc
1919
+ */
1920
+ setUser(e) {
1921
+ return this._user = e || {
1922
+ email: void 0,
1923
+ id: void 0,
1924
+ ip_address: void 0,
1925
+ segment: void 0,
1926
+ username: void 0
1927
+ }, this._session && ze(this._session, { user: e }), this._notifyScopeListeners(), this;
1928
+ }
1929
+ /**
1930
+ * @inheritDoc
1931
+ */
1932
+ getUser() {
1933
+ return this._user;
1934
+ }
1935
+ /**
1936
+ * @inheritDoc
1937
+ */
1938
+ getRequestSession() {
1939
+ return this._requestSession;
1940
+ }
1941
+ /**
1942
+ * @inheritDoc
1943
+ */
1944
+ setRequestSession(e) {
1945
+ return this._requestSession = e, this;
1946
+ }
1947
+ /**
1948
+ * @inheritDoc
1949
+ */
1950
+ setTags(e) {
1951
+ return this._tags = {
1952
+ ...this._tags,
1953
+ ...e
1954
+ }, this._notifyScopeListeners(), this;
1955
+ }
1956
+ /**
1957
+ * @inheritDoc
1958
+ */
1959
+ setTag(e, s) {
1960
+ return this._tags = { ...this._tags, [e]: s }, this._notifyScopeListeners(), this;
1961
+ }
1962
+ /**
1963
+ * @inheritDoc
1964
+ */
1965
+ setExtras(e) {
1966
+ return this._extra = {
1967
+ ...this._extra,
1968
+ ...e
1969
+ }, this._notifyScopeListeners(), this;
1970
+ }
1971
+ /**
1972
+ * @inheritDoc
1973
+ */
1974
+ setExtra(e, s) {
1975
+ return this._extra = { ...this._extra, [e]: s }, this._notifyScopeListeners(), this;
1976
+ }
1977
+ /**
1978
+ * @inheritDoc
1979
+ */
1980
+ setFingerprint(e) {
1981
+ return this._fingerprint = e, this._notifyScopeListeners(), this;
1982
+ }
1983
+ /**
1984
+ * @inheritDoc
1985
+ */
1986
+ setLevel(e) {
1987
+ return this._level = e, this._notifyScopeListeners(), this;
1988
+ }
1989
+ /**
1990
+ * Sets the transaction name on the scope for future events.
1991
+ */
1992
+ setTransactionName(e) {
1993
+ return this._transactionName = e, this._notifyScopeListeners(), this;
1994
+ }
1995
+ /**
1996
+ * @inheritDoc
1997
+ */
1998
+ setContext(e, s) {
1999
+ return s === null ? delete this._contexts[e] : this._contexts[e] = s, this._notifyScopeListeners(), this;
2000
+ }
2001
+ /**
2002
+ * Sets the Span on the scope.
2003
+ * @param span Span
2004
+ * @deprecated Instead of setting a span on a scope, use `startSpan()`/`startSpanManual()` instead.
2005
+ */
2006
+ setSpan(e) {
2007
+ return this._span = e, this._notifyScopeListeners(), this;
2008
+ }
2009
+ /**
2010
+ * Returns the `Span` if there is one.
2011
+ * @deprecated Use `getActiveSpan()` instead.
2012
+ */
2013
+ getSpan() {
2014
+ return this._span;
2015
+ }
2016
+ /**
2017
+ * Returns the `Transaction` attached to the scope (if there is one).
2018
+ * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.
2019
+ */
2020
+ getTransaction() {
2021
+ const e = this._span;
2022
+ return e && e.transaction;
2023
+ }
2024
+ /**
2025
+ * @inheritDoc
2026
+ */
2027
+ setSession(e) {
2028
+ return e ? this._session = e : delete this._session, this._notifyScopeListeners(), this;
2029
+ }
2030
+ /**
2031
+ * @inheritDoc
2032
+ */
2033
+ getSession() {
2034
+ return this._session;
2035
+ }
2036
+ /**
2037
+ * @inheritDoc
2038
+ */
2039
+ update(e) {
2040
+ if (!e)
2041
+ return this;
2042
+ const s = typeof e == "function" ? e(this) : e;
2043
+ if (s instanceof W) {
2044
+ const r = s.getScopeData();
2045
+ this._tags = { ...this._tags, ...r.tags }, this._extra = { ...this._extra, ...r.extra }, this._contexts = { ...this._contexts, ...r.contexts }, r.user && Object.keys(r.user).length && (this._user = r.user), r.level && (this._level = r.level), r.fingerprint.length && (this._fingerprint = r.fingerprint), s.getRequestSession() && (this._requestSession = s.getRequestSession()), r.propagationContext && (this._propagationContext = r.propagationContext);
2046
+ } else if (It(s)) {
2047
+ const r = e;
2048
+ this._tags = { ...this._tags, ...r.tags }, this._extra = { ...this._extra, ...r.extra }, this._contexts = { ...this._contexts, ...r.contexts }, r.user && (this._user = r.user), r.level && (this._level = r.level), r.fingerprint && (this._fingerprint = r.fingerprint), r.requestSession && (this._requestSession = r.requestSession), r.propagationContext && (this._propagationContext = r.propagationContext);
2049
+ }
2050
+ return this;
2051
+ }
2052
+ /**
2053
+ * @inheritDoc
2054
+ */
2055
+ clear() {
2056
+ return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this._attachments = [], this._propagationContext = yt(), this;
2057
+ }
2058
+ /**
2059
+ * @inheritDoc
2060
+ */
2061
+ addBreadcrumb(e, s) {
2062
+ const r = typeof s == "number" ? s : la;
2063
+ if (r <= 0)
2064
+ return this;
2065
+ const n = {
2066
+ timestamp: Ge(),
2067
+ ...e
2068
+ }, u = this._breadcrumbs;
2069
+ return u.push(n), this._breadcrumbs = u.length > r ? u.slice(-r) : u, this._notifyScopeListeners(), this;
2070
+ }
2071
+ /**
2072
+ * @inheritDoc
2073
+ */
2074
+ getLastBreadcrumb() {
2075
+ return this._breadcrumbs[this._breadcrumbs.length - 1];
2076
+ }
2077
+ /**
2078
+ * @inheritDoc
2079
+ */
2080
+ clearBreadcrumbs() {
2081
+ return this._breadcrumbs = [], this._notifyScopeListeners(), this;
2082
+ }
2083
+ /**
2084
+ * @inheritDoc
2085
+ */
2086
+ addAttachment(e) {
2087
+ return this._attachments.push(e), this;
2088
+ }
2089
+ /**
2090
+ * @inheritDoc
2091
+ * @deprecated Use `getScopeData()` instead.
2092
+ */
2093
+ getAttachments() {
2094
+ return this.getScopeData().attachments;
2095
+ }
2096
+ /**
2097
+ * @inheritDoc
2098
+ */
2099
+ clearAttachments() {
2100
+ return this._attachments = [], this;
2101
+ }
2102
+ /** @inheritDoc */
2103
+ getScopeData() {
2104
+ const {
2105
+ _breadcrumbs: e,
2106
+ _attachments: s,
2107
+ _contexts: r,
2108
+ _tags: n,
2109
+ _extra: u,
2110
+ _user: c,
2111
+ _level: f,
2112
+ _fingerprint: d,
2113
+ _eventProcessors: b,
2114
+ _propagationContext: x,
2115
+ _sdkProcessingMetadata: w,
2116
+ _transactionName: O,
2117
+ _span: S
2118
+ } = this;
2119
+ return {
2120
+ breadcrumbs: e,
2121
+ attachments: s,
2122
+ contexts: r,
2123
+ tags: n,
2124
+ extra: u,
2125
+ user: c,
2126
+ level: f,
2127
+ fingerprint: d || [],
2128
+ eventProcessors: b,
2129
+ propagationContext: x,
2130
+ sdkProcessingMetadata: w,
2131
+ transactionName: O,
2132
+ span: S
2133
+ };
2134
+ }
2135
+ /**
2136
+ * Applies data from the scope to the event and runs all event processors on it.
2137
+ *
2138
+ * @param event Event
2139
+ * @param hint Object containing additional information about the original exception, for use by the event processors.
2140
+ * @hidden
2141
+ * @deprecated Use `applyScopeDataToEvent()` directly
2142
+ */
2143
+ applyToEvent(e, s = {}, r = []) {
2144
+ sa(e, this.getScopeData());
2145
+ const n = [
2146
+ ...r,
2147
+ // eslint-disable-next-line deprecation/deprecation
2148
+ ...Fr(),
2149
+ ...this._eventProcessors
2150
+ ];
2151
+ return qe(n, e, s);
2152
+ }
2153
+ /**
2154
+ * Add data which will be accessible during event processing but won't get sent to Sentry
2155
+ */
2156
+ setSDKProcessingMetadata(e) {
2157
+ return this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...e }, this;
2158
+ }
2159
+ /**
2160
+ * @inheritDoc
2161
+ */
2162
+ setPropagationContext(e) {
2163
+ return this._propagationContext = e, this;
2164
+ }
2165
+ /**
2166
+ * @inheritDoc
2167
+ */
2168
+ getPropagationContext() {
2169
+ return this._propagationContext;
2170
+ }
2171
+ /**
2172
+ * Capture an exception for this scope.
2173
+ *
2174
+ * @param exception The exception to capture.
2175
+ * @param hint Optinal additional data to attach to the Sentry event.
2176
+ * @returns the id of the captured Sentry event.
2177
+ */
2178
+ captureException(e, s) {
2179
+ const r = s && s.event_id ? s.event_id : L();
2180
+ if (!this._client)
2181
+ return H.warn("No client configured on scope - will not capture exception!"), r;
2182
+ const n = new Error("Sentry syntheticException");
2183
+ return this._client.captureException(
2184
+ e,
2185
+ {
2186
+ originalException: e,
2187
+ syntheticException: n,
2188
+ ...s,
2189
+ event_id: r
2190
+ },
2191
+ this
2192
+ ), r;
2193
+ }
2194
+ /**
2195
+ * Capture a message for this scope.
2196
+ *
2197
+ * @param message The message to capture.
2198
+ * @param level An optional severity level to report the message with.
2199
+ * @param hint Optional additional data to attach to the Sentry event.
2200
+ * @returns the id of the captured message.
2201
+ */
2202
+ captureMessage(e, s, r) {
2203
+ const n = r && r.event_id ? r.event_id : L();
2204
+ if (!this._client)
2205
+ return H.warn("No client configured on scope - will not capture message!"), n;
2206
+ const u = new Error(e);
2207
+ return this._client.captureMessage(
2208
+ e,
2209
+ s,
2210
+ {
2211
+ originalException: e,
2212
+ syntheticException: u,
2213
+ ...r,
2214
+ event_id: n
2215
+ },
2216
+ this
2217
+ ), n;
2218
+ }
2219
+ /**
2220
+ * Captures a manually created event for this scope and sends it to Sentry.
2221
+ *
2222
+ * @param exception The event to capture.
2223
+ * @param hint Optional additional data to attach to the Sentry event.
2224
+ * @returns the id of the captured event.
2225
+ */
2226
+ captureEvent(e, s) {
2227
+ const r = s && s.event_id ? s.event_id : L();
2228
+ return this._client ? (this._client.captureEvent(e, { ...s, event_id: r }, this), r) : (H.warn("No client configured on scope - will not capture event!"), r);
2229
+ }
2230
+ /**
2231
+ * This will be called on every set call.
2232
+ */
2233
+ _notifyScopeListeners() {
2234
+ this._notifyingListeners || (this._notifyingListeners = !0, this._scopeListeners.forEach((e) => {
2235
+ e(this);
2236
+ }), this._notifyingListeners = !1);
2237
+ }
2238
+ }
2239
+ function yt() {
2240
+ return {
2241
+ traceId: L(),
2242
+ spanId: L().substring(16)
2243
+ };
2244
+ }
2245
+ const ua = "7.108.0", Vt = parseFloat(ua), ca = 100;
2246
+ class Yt {
2247
+ /** Is a {@link Layer}[] containing the client and scope */
2248
+ /** Contains the last event id of a captured event. */
2249
+ /**
2250
+ * Creates a new instance of the hub, will push one {@link Layer} into the
2251
+ * internal stack on creation.
2252
+ *
2253
+ * @param client bound to the hub.
2254
+ * @param scope bound to the hub.
2255
+ * @param version number, higher number means higher priority.
2256
+ *
2257
+ * @deprecated Instantiation of Hub objects is deprecated and the constructor will be removed in version 8 of the SDK.
2258
+ *
2259
+ * If you are currently using the Hub for multi-client use like so:
2260
+ *
2261
+ * ```
2262
+ * // OLD
2263
+ * const hub = new Hub();
2264
+ * hub.bindClient(client);
2265
+ * makeMain(hub)
2266
+ * ```
2267
+ *
2268
+ * instead initialize the client as follows:
2269
+ *
2270
+ * ```
2271
+ * // NEW
2272
+ * Sentry.withIsolationScope(() => {
2273
+ * Sentry.setCurrentClient(client);
2274
+ * client.init();
2275
+ * });
2276
+ * ```
2277
+ *
2278
+ * If you are using the Hub to capture events like so:
2279
+ *
2280
+ * ```
2281
+ * // OLD
2282
+ * const client = new Client();
2283
+ * const hub = new Hub(client);
2284
+ * hub.captureException()
2285
+ * ```
2286
+ *
2287
+ * instead capture isolated events as follows:
2288
+ *
2289
+ * ```
2290
+ * // NEW
2291
+ * const client = new Client();
2292
+ * const scope = new Scope();
2293
+ * scope.setClient(client);
2294
+ * scope.captureException();
2295
+ * ```
2296
+ */
2297
+ constructor(e, s, r, n = Vt) {
2298
+ this._version = n;
2299
+ let u;
2300
+ s ? u = s : (u = new W(), u.setClient(e));
2301
+ let c;
2302
+ r ? c = r : (c = new W(), c.setClient(e)), this._stack = [{ scope: u }], e && this.bindClient(e), this._isolationScope = c;
2303
+ }
2304
+ /**
2305
+ * Checks if this hub's version is older than the given version.
2306
+ *
2307
+ * @param version A version number to compare to.
2308
+ * @return True if the given version is newer; otherwise false.
2309
+ *
2310
+ * @deprecated This will be removed in v8.
2311
+ */
2312
+ isOlderThan(e) {
2313
+ return this._version < e;
2314
+ }
2315
+ /**
2316
+ * This binds the given client to the current scope.
2317
+ * @param client An SDK client (client) instance.
2318
+ *
2319
+ * @deprecated Use `initAndBind()` directly, or `setCurrentClient()` and/or `client.init()` instead.
2320
+ */
2321
+ bindClient(e) {
2322
+ const s = this.getStackTop();
2323
+ s.client = e, s.scope.setClient(e), e && e.setupIntegrations && e.setupIntegrations();
2324
+ }
2325
+ /**
2326
+ * @inheritDoc
2327
+ *
2328
+ * @deprecated Use `withScope` instead.
2329
+ */
2330
+ pushScope() {
2331
+ const e = this.getScope().clone();
2332
+ return this.getStack().push({
2333
+ // eslint-disable-next-line deprecation/deprecation
2334
+ client: this.getClient(),
2335
+ scope: e
2336
+ }), e;
2337
+ }
2338
+ /**
2339
+ * @inheritDoc
2340
+ *
2341
+ * @deprecated Use `withScope` instead.
2342
+ */
2343
+ popScope() {
2344
+ return this.getStack().length <= 1 ? !1 : !!this.getStack().pop();
2345
+ }
2346
+ /**
2347
+ * @inheritDoc
2348
+ *
2349
+ * @deprecated Use `Sentry.withScope()` instead.
2350
+ */
2351
+ withScope(e) {
2352
+ const s = this.pushScope();
2353
+ let r;
2354
+ try {
2355
+ r = e(s);
2356
+ } catch (n) {
2357
+ throw this.popScope(), n;
2358
+ }
2359
+ return He(r) ? r.then(
2360
+ (n) => (this.popScope(), n),
2361
+ (n) => {
2362
+ throw this.popScope(), n;
2363
+ }
2364
+ ) : (this.popScope(), r);
2365
+ }
2366
+ /**
2367
+ * @inheritDoc
2368
+ *
2369
+ * @deprecated Use `Sentry.getClient()` instead.
2370
+ */
2371
+ getClient() {
2372
+ return this.getStackTop().client;
2373
+ }
2374
+ /**
2375
+ * Returns the scope of the top stack.
2376
+ *
2377
+ * @deprecated Use `Sentry.getCurrentScope()` instead.
2378
+ */
2379
+ getScope() {
2380
+ return this.getStackTop().scope;
2381
+ }
2382
+ /**
2383
+ * @deprecated Use `Sentry.getIsolationScope()` instead.
2384
+ */
2385
+ getIsolationScope() {
2386
+ return this._isolationScope;
2387
+ }
2388
+ /**
2389
+ * Returns the scope stack for domains or the process.
2390
+ * @deprecated This will be removed in v8.
2391
+ */
2392
+ getStack() {
2393
+ return this._stack;
2394
+ }
2395
+ /**
2396
+ * Returns the topmost scope layer in the order domain > local > process.
2397
+ * @deprecated This will be removed in v8.
2398
+ */
2399
+ getStackTop() {
2400
+ return this._stack[this._stack.length - 1];
2401
+ }
2402
+ /**
2403
+ * @inheritDoc
2404
+ *
2405
+ * @deprecated Use `Sentry.captureException()` instead.
2406
+ */
2407
+ captureException(e, s) {
2408
+ const r = this._lastEventId = s && s.event_id ? s.event_id : L(), n = new Error("Sentry syntheticException");
2409
+ return this.getScope().captureException(e, {
2410
+ originalException: e,
2411
+ syntheticException: n,
2412
+ ...s,
2413
+ event_id: r
2414
+ }), r;
2415
+ }
2416
+ /**
2417
+ * @inheritDoc
2418
+ *
2419
+ * @deprecated Use `Sentry.captureMessage()` instead.
2420
+ */
2421
+ captureMessage(e, s, r) {
2422
+ const n = this._lastEventId = r && r.event_id ? r.event_id : L(), u = new Error(e);
2423
+ return this.getScope().captureMessage(e, s, {
2424
+ originalException: e,
2425
+ syntheticException: u,
2426
+ ...r,
2427
+ event_id: n
2428
+ }), n;
2429
+ }
2430
+ /**
2431
+ * @inheritDoc
2432
+ *
2433
+ * @deprecated Use `Sentry.captureEvent()` instead.
2434
+ */
2435
+ captureEvent(e, s) {
2436
+ const r = s && s.event_id ? s.event_id : L();
2437
+ return e.type || (this._lastEventId = r), this.getScope().captureEvent(e, { ...s, event_id: r }), r;
2438
+ }
2439
+ /**
2440
+ * @inheritDoc
2441
+ *
2442
+ * @deprecated This will be removed in v8.
2443
+ */
2444
+ lastEventId() {
2445
+ return this._lastEventId;
2446
+ }
2447
+ /**
2448
+ * @inheritDoc
2449
+ *
2450
+ * @deprecated Use `Sentry.addBreadcrumb()` instead.
2451
+ */
2452
+ addBreadcrumb(e, s) {
2453
+ const { scope: r, client: n } = this.getStackTop();
2454
+ if (!n)
2455
+ return;
2456
+ const { beforeBreadcrumb: u = null, maxBreadcrumbs: c = ca } = n.getOptions && n.getOptions() || {};
2457
+ if (c <= 0)
2458
+ return;
2459
+ const d = { timestamp: Ge(), ...e }, b = u ? At(() => u(d, s)) : d;
2460
+ b !== null && (n.emit && n.emit("beforeAddBreadcrumb", b, s), r.addBreadcrumb(b, c));
2461
+ }
2462
+ /**
2463
+ * @inheritDoc
2464
+ * @deprecated Use `Sentry.setUser()` instead.
2465
+ */
2466
+ setUser(e) {
2467
+ this.getScope().setUser(e), this.getIsolationScope().setUser(e);
2468
+ }
2469
+ /**
2470
+ * @inheritDoc
2471
+ * @deprecated Use `Sentry.setTags()` instead.
2472
+ */
2473
+ setTags(e) {
2474
+ this.getScope().setTags(e), this.getIsolationScope().setTags(e);
2475
+ }
2476
+ /**
2477
+ * @inheritDoc
2478
+ * @deprecated Use `Sentry.setExtras()` instead.
2479
+ */
2480
+ setExtras(e) {
2481
+ this.getScope().setExtras(e), this.getIsolationScope().setExtras(e);
2482
+ }
2483
+ /**
2484
+ * @inheritDoc
2485
+ * @deprecated Use `Sentry.setTag()` instead.
2486
+ */
2487
+ setTag(e, s) {
2488
+ this.getScope().setTag(e, s), this.getIsolationScope().setTag(e, s);
2489
+ }
2490
+ /**
2491
+ * @inheritDoc
2492
+ * @deprecated Use `Sentry.setExtra()` instead.
2493
+ */
2494
+ setExtra(e, s) {
2495
+ this.getScope().setExtra(e, s), this.getIsolationScope().setExtra(e, s);
2496
+ }
2497
+ /**
2498
+ * @inheritDoc
2499
+ * @deprecated Use `Sentry.setContext()` instead.
2500
+ */
2501
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2502
+ setContext(e, s) {
2503
+ this.getScope().setContext(e, s), this.getIsolationScope().setContext(e, s);
2504
+ }
2505
+ /**
2506
+ * @inheritDoc
2507
+ *
2508
+ * @deprecated Use `getScope()` directly.
2509
+ */
2510
+ configureScope(e) {
2511
+ const { scope: s, client: r } = this.getStackTop();
2512
+ r && e(s);
2513
+ }
2514
+ /**
2515
+ * @inheritDoc
2516
+ */
2517
+ run(e) {
2518
+ const s = zt(this);
2519
+ try {
2520
+ e(this);
2521
+ } finally {
2522
+ zt(s);
2523
+ }
2524
+ }
2525
+ /**
2526
+ * @inheritDoc
2527
+ * @deprecated Use `Sentry.getClient().getIntegrationByName()` instead.
2528
+ */
2529
+ getIntegration(e) {
2530
+ const s = this.getClient();
2531
+ if (!s)
2532
+ return null;
2533
+ try {
2534
+ return s.getIntegration(e);
2535
+ } catch {
2536
+ return ve && H.warn(`Cannot retrieve integration ${e.id} from the current Hub`), null;
2537
+ }
2538
+ }
2539
+ /**
2540
+ * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.
2541
+ *
2542
+ * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a
2543
+ * new child span within the transaction or any span, call the respective `.startChild()` method.
2544
+ *
2545
+ * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.
2546
+ *
2547
+ * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its
2548
+ * finished child spans will be sent to Sentry.
2549
+ *
2550
+ * @param context Properties of the new `Transaction`.
2551
+ * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent
2552
+ * default values). See {@link Options.tracesSampler}.
2553
+ *
2554
+ * @returns The transaction which was just started
2555
+ *
2556
+ * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.
2557
+ */
2558
+ startTransaction(e, s) {
2559
+ const r = this._callExtensionMethod("startTransaction", e, s);
2560
+ return ve && !r && (this.getClient() ? H.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
2561
+ Sentry.addTracingExtensions();
2562
+ Sentry.init({...});
2563
+ `) : H.warn(
2564
+ "Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'"
2565
+ )), r;
2566
+ }
2567
+ /**
2568
+ * @inheritDoc
2569
+ * @deprecated Use `spanToTraceHeader()` instead.
2570
+ */
2571
+ traceHeaders() {
2572
+ return this._callExtensionMethod("traceHeaders");
2573
+ }
2574
+ /**
2575
+ * @inheritDoc
2576
+ *
2577
+ * @deprecated Use top level `captureSession` instead.
2578
+ */
2579
+ captureSession(e = !1) {
2580
+ if (e)
2581
+ return this.endSession();
2582
+ this._sendSessionUpdate();
2583
+ }
2584
+ /**
2585
+ * @inheritDoc
2586
+ * @deprecated Use top level `endSession` instead.
2587
+ */
2588
+ endSession() {
2589
+ const s = this.getStackTop().scope, r = s.getSession();
2590
+ r && qr(r), this._sendSessionUpdate(), s.setSession();
2591
+ }
2592
+ /**
2593
+ * @inheritDoc
2594
+ * @deprecated Use top level `startSession` instead.
2595
+ */
2596
+ startSession(e) {
2597
+ const { scope: s, client: r } = this.getStackTop(), { release: n, environment: u = qt } = r && r.getOptions() || {}, { userAgent: c } = D.navigator || {}, f = Ur({
2598
+ release: n,
2599
+ environment: u,
2600
+ user: s.getUser(),
2601
+ ...c && { userAgent: c },
2602
+ ...e
2603
+ }), d = s.getSession && s.getSession();
2604
+ return d && d.status === "ok" && ze(d, { status: "exited" }), this.endSession(), s.setSession(f), f;
2605
+ }
2606
+ /**
2607
+ * Returns if default PII should be sent to Sentry and propagated in ourgoing requests
2608
+ * when Tracing is used.
2609
+ *
2610
+ * @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function
2611
+ * only unnecessarily increased API surface but only wrapped accessing the option.
2612
+ */
2613
+ shouldSendDefaultPii() {
2614
+ const e = this.getClient(), s = e && e.getOptions();
2615
+ return !!(s && s.sendDefaultPii);
2616
+ }
2617
+ /**
2618
+ * Sends the current Session on the scope
2619
+ */
2620
+ _sendSessionUpdate() {
2621
+ const { scope: e, client: s } = this.getStackTop(), r = e.getSession();
2622
+ r && s && s.captureSession && s.captureSession(r);
2623
+ }
2624
+ /**
2625
+ * Calls global extension method and binding current instance to the function call
2626
+ */
2627
+ // @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)
2628
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2629
+ _callExtensionMethod(e, ...s) {
2630
+ const n = Ee().__SENTRY__;
2631
+ if (n && n.extensions && typeof n.extensions[e] == "function")
2632
+ return n.extensions[e].apply(this, s);
2633
+ ve && H.warn(`Extension method ${e} couldn't be found, doing nothing.`);
2634
+ }
2635
+ }
2636
+ function Ee() {
2637
+ return D.__SENTRY__ = D.__SENTRY__ || {
2638
+ extensions: {},
2639
+ hub: void 0
2640
+ }, D;
2641
+ }
2642
+ function zt(t) {
2643
+ const e = Ee(), s = Be(e);
2644
+ return $t(e, t), s;
2645
+ }
2646
+ function We() {
2647
+ const t = Ee();
2648
+ if (t.__SENTRY__ && t.__SENTRY__.acs) {
2649
+ const e = t.__SENTRY__.acs.getCurrentHub();
2650
+ if (e)
2651
+ return e;
2652
+ }
2653
+ return da(t);
2654
+ }
2655
+ function da(t = Ee()) {
2656
+ return (!fa(t) || // eslint-disable-next-line deprecation/deprecation
2657
+ Be(t).isOlderThan(Vt)) && $t(t, new Yt()), Be(t);
2658
+ }
2659
+ function fa(t) {
2660
+ return !!(t && t.__SENTRY__ && t.__SENTRY__.hub);
2661
+ }
2662
+ function Be(t) {
2663
+ return Lt("hub", () => new Yt(), t);
2664
+ }
2665
+ function $t(t, e) {
2666
+ if (!t)
2667
+ return !1;
2668
+ const s = t.__SENTRY__ = t.__SENTRY__ || {};
2669
+ return s.hub = e, !0;
2670
+ }
2671
+ class ha extends Error {
2672
+ constructor(s) {
2673
+ super(s.length > 0 ? s[0].message : "Unknown SlashID error");
2674
+ ct(this, "errors");
2675
+ this.errors = s;
2676
+ }
2677
+ }
2678
+ function _a(t) {
2679
+ return !!(typeof t == "object" && t !== null && "errors" in t && Array.isArray(t.errors));
2680
+ }
2681
+ function pa(t) {
2682
+ if (t instanceof Error)
2683
+ return t;
2684
+ if (_a(t))
2685
+ return new ha(t.errors);
2686
+ let e = "[Unable to stringify the thrown value]";
2687
+ try {
2688
+ e = JSON.stringify(t);
2689
+ } catch {
2690
+ }
2691
+ return new Error(
2692
+ `This value was thrown as is, not through an Error: ${e}`
2693
+ );
2694
+ }
2695
+ function ba() {
2696
+ return /* @__PURE__ */ o.jsx(me, { variant: "primary", children: /* @__PURE__ */ o.jsx(Mt, {}) });
2697
+ }
2698
+ function za({ onSuccess: t, onError: e, flowType: s, onRedirectDiscovered: r }) {
2699
+ const { sdk: n } = ye();
2700
+ return jt(() => {
2701
+ if (!n)
2702
+ return;
2703
+ r && (n == null || n.subscribe("redirectUriDiscovered", r));
2704
+ async function u() {
2705
+ try {
2706
+ await (n == null ? void 0 : n.getUserFromURL()), t();
2707
+ } catch (c) {
2708
+ const f = pa(c);
2709
+ Zr(f), e({ error: f });
2710
+ }
2711
+ }
2712
+ return u(), () => {
2713
+ r && n.unsubscribe("redirectUriDiscovered", r);
2714
+ };
2715
+ }, [s, e, t, n]), s === "password-recovery" ? /* @__PURE__ */ o.jsx(Or, {}) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2716
+ /* @__PURE__ */ o.jsxs(Ye, { space: "0.25", children: [
2717
+ /* @__PURE__ */ o.jsx(J, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "initial.title" }),
2718
+ /* @__PURE__ */ o.jsx(J, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "initial.details" })
2719
+ ] }),
2720
+ /* @__PURE__ */ o.jsx(ba, {})
2721
+ ] });
2722
+ }
1474
2723
  export {
1475
- et as Card,
1476
- rt as Error,
1477
- Pr as I18N,
1478
- at as Initial,
1479
- st as Recover,
1480
- tt as Success,
1481
- Xr as TextProvider,
1482
- Qr as ThemeRoot
2724
+ Ca as Card,
2725
+ wa as Error,
2726
+ fr as I18N,
2727
+ za as Progress,
2728
+ Or as Recover,
2729
+ ya as Success,
2730
+ ma as TextProvider,
2731
+ va as ThemeRoot
1483
2732
  };
1484
2733
  //# sourceMappingURL=main.js.map