@slashid/jump-page 0.0.7-beta.5 → 0.0.8-package.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/astro.config.mjs +11 -8
  2. package/dist/_astro/{app.545e4cdc.js → app.a42374a9.js} +15 -15
  3. package/dist/_astro/sdk.080ae68e.css +1 -0
  4. package/dist/_astro/sdk.35b1e93e.css +1 -0
  5. package/dist/sdk.html +7 -0
  6. package/package/astro.config.d.mts +2 -0
  7. package/package/dist/_astro/app.a42374a9.d.ts +2 -0
  8. package/package/dist/_astro/client.a5ffbec0.d.ts +7 -0
  9. package/package/dist/_astro/index.03be2d59.d.ts +3 -0
  10. package/package/favicon.png +0 -0
  11. package/package/main.js +2915 -0
  12. package/package/main.js.map +1 -0
  13. package/package/src/components/app/app.component.d.ts +1 -0
  14. package/package/src/components/app/app.context.d.ts +21 -0
  15. package/package/src/components/app/app.css.d.ts +1 -0
  16. package/package/src/components/app/index.d.ts +1 -0
  17. package/package/src/components/card/card.component.d.ts +7 -0
  18. package/package/src/components/card/card.css.d.ts +4 -0
  19. package/package/src/components/card/index.d.ts +1 -0
  20. package/package/src/components/flow/flow.component.d.ts +1 -0
  21. package/package/src/components/flow/flow.css.d.ts +3 -0
  22. package/package/src/components/flow/flow.error.d.ts +4 -0
  23. package/package/src/components/flow/flow.initial.d.ts +1 -0
  24. package/package/src/components/flow/flow.loader.d.ts +1 -0
  25. package/package/src/components/flow/flow.progress.d.ts +9 -0
  26. package/package/src/components/flow/flow.recover.d.ts +1 -0
  27. package/package/src/components/flow/flow.success.d.ts +1 -0
  28. package/package/src/components/flow/flow.types.d.ts +31 -0
  29. package/package/src/components/flow/index.d.ts +3 -0
  30. package/package/src/components/text/index.d.ts +1 -0
  31. package/package/src/components/text/text.component.d.ts +6 -0
  32. package/package/src/components/text/use-i18n.d.ts +1 -0
  33. package/package/src/config.d.ts +4 -0
  34. package/package/src/domain/errors.d.ts +1 -0
  35. package/package/src/domain/i18n.d.ts +43 -0
  36. package/package/src/main.d.ts +5 -0
  37. package/package/style.css +1 -0
  38. package/package/vite.config.d.ts +2 -0
  39. package/package.json +30 -10
  40. package/tsconfig.json +5 -1
  41. package/cli.js +0 -53
  42. package/dist/_astro/index.0344e4be.css +0 -1
  43. package/dist/_astro/index.2f22a71e.css +0 -1
  44. package/dist/index.html +0 -7
@@ -0,0 +1,2915 @@
1
+ function ua(o) {
2
+ return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
3
+ }
4
+ var qr = { exports: {} }, Qe = {}, Yr = { exports: {} }, E = {};
5
+ /**
6
+ * @license React
7
+ * react.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ var yt;
15
+ function la() {
16
+ if (yt)
17
+ return E;
18
+ yt = 1;
19
+ var o = Symbol.for("react.element"), s = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), M = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), L = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), H = Symbol.iterator;
20
+ function ne(a) {
21
+ return a === null || typeof a != "object" ? null : (a = H && a[H] || a["@@iterator"], typeof a == "function" ? a : null);
22
+ }
23
+ var V = { isMounted: function() {
24
+ return !1;
25
+ }, enqueueForceUpdate: function() {
26
+ }, enqueueReplaceState: function() {
27
+ }, enqueueSetState: function() {
28
+ } }, ue = Object.assign, Re = {};
29
+ function ce(a, l, x) {
30
+ this.props = a, this.context = l, this.refs = Re, this.updater = x || V;
31
+ }
32
+ ce.prototype.isReactComponent = {}, ce.prototype.setState = function(a, l) {
33
+ if (typeof a != "object" && typeof a != "function" && a != null)
34
+ throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
35
+ this.updater.enqueueSetState(this, a, l, "setState");
36
+ }, ce.prototype.forceUpdate = function(a) {
37
+ this.updater.enqueueForceUpdate(this, a, "forceUpdate");
38
+ };
39
+ function de() {
40
+ }
41
+ de.prototype = ce.prototype;
42
+ function q(a, l, x) {
43
+ this.props = a, this.context = l, this.refs = Re, this.updater = x || V;
44
+ }
45
+ var ee = q.prototype = new de();
46
+ ee.constructor = q, ue(ee, ce.prototype), ee.isPureReactComponent = !0;
47
+ var be = Array.isArray, Q = Object.prototype.hasOwnProperty, w = { current: null }, k = { key: !0, ref: !0, __self: !0, __source: !0 };
48
+ function he(a, l, x) {
49
+ var O, R = {}, U = null, W = null;
50
+ if (l != null)
51
+ for (O in l.ref !== void 0 && (W = l.ref), l.key !== void 0 && (U = "" + l.key), l)
52
+ Q.call(l, O) && !k.hasOwnProperty(O) && (R[O] = l[O]);
53
+ var F = arguments.length - 2;
54
+ if (F === 1)
55
+ R.children = x;
56
+ else if (1 < F) {
57
+ for (var D = Array(F), ae = 0; ae < F; ae++)
58
+ D[ae] = arguments[ae + 2];
59
+ R.children = D;
60
+ }
61
+ if (a && a.defaultProps)
62
+ for (O in F = a.defaultProps, F)
63
+ R[O] === void 0 && (R[O] = F[O]);
64
+ return { $$typeof: o, type: a, key: U, ref: W, props: R, _owner: w.current };
65
+ }
66
+ function _e(a, l) {
67
+ return { $$typeof: o, type: a.type, key: l, ref: a.ref, props: a.props, _owner: a._owner };
68
+ }
69
+ function xe(a) {
70
+ return typeof a == "object" && a !== null && a.$$typeof === o;
71
+ }
72
+ function Ce(a) {
73
+ var l = { "=": "=0", ":": "=2" };
74
+ return "$" + a.replace(/[=:]/g, function(x) {
75
+ return l[x];
76
+ });
77
+ }
78
+ var me = /\/+/g;
79
+ function J(a, l) {
80
+ return typeof a == "object" && a !== null && a.key != null ? Ce("" + a.key) : l.toString(36);
81
+ }
82
+ function oe(a, l, x, O, R) {
83
+ var U = typeof a;
84
+ (U === "undefined" || U === "boolean") && (a = null);
85
+ var W = !1;
86
+ if (a === null)
87
+ W = !0;
88
+ else
89
+ switch (U) {
90
+ case "string":
91
+ case "number":
92
+ W = !0;
93
+ break;
94
+ case "object":
95
+ switch (a.$$typeof) {
96
+ case o:
97
+ case s:
98
+ W = !0;
99
+ }
100
+ }
101
+ if (W)
102
+ return W = a, R = R(W), a = O === "" ? "." + J(W, 0) : O, be(R) ? (x = "", a != null && (x = a.replace(me, "$&/") + "/"), oe(R, l, x, "", function(ae) {
103
+ return ae;
104
+ })) : R != null && (xe(R) && (R = _e(R, x + (!R.key || W && W.key === R.key ? "" : ("" + R.key).replace(me, "$&/") + "/") + a)), l.push(R)), 1;
105
+ if (W = 0, O = O === "" ? "." : O + ":", be(a))
106
+ for (var F = 0; F < a.length; F++) {
107
+ U = a[F];
108
+ var D = O + J(U, F);
109
+ W += oe(U, l, x, D, R);
110
+ }
111
+ else if (D = ne(a), typeof D == "function")
112
+ for (a = D.call(a), F = 0; !(U = a.next()).done; )
113
+ U = U.value, D = O + J(U, F++), W += oe(U, l, x, D, R);
114
+ else if (U === "object")
115
+ throw l = String(a), Error("Objects are not valid as a React child (found: " + (l === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : l) + "). If you meant to render a collection of children, use an array instead.");
116
+ return W;
117
+ }
118
+ function re(a, l, x) {
119
+ if (a == null)
120
+ return a;
121
+ var O = [], R = 0;
122
+ return oe(a, O, "", "", function(U) {
123
+ return l.call(x, U, R++);
124
+ }), O;
125
+ }
126
+ function pe(a) {
127
+ if (a._status === -1) {
128
+ var l = a._result;
129
+ l = l(), l.then(function(x) {
130
+ (a._status === 0 || a._status === -1) && (a._status = 1, a._result = x);
131
+ }, function(x) {
132
+ (a._status === 0 || a._status === -1) && (a._status = 2, a._result = x);
133
+ }), a._status === -1 && (a._status = 0, a._result = l);
134
+ }
135
+ if (a._status === 1)
136
+ return a._result.default;
137
+ throw a._result;
138
+ }
139
+ var _ = { current: null }, le = { transition: null }, we = { ReactCurrentDispatcher: _, ReactCurrentBatchConfig: le, ReactCurrentOwner: w };
140
+ return E.Children = { map: re, forEach: function(a, l, x) {
141
+ re(a, function() {
142
+ l.apply(this, arguments);
143
+ }, x);
144
+ }, count: function(a) {
145
+ var l = 0;
146
+ return re(a, function() {
147
+ l++;
148
+ }), l;
149
+ }, toArray: function(a) {
150
+ return re(a, function(l) {
151
+ return l;
152
+ }) || [];
153
+ }, only: function(a) {
154
+ if (!xe(a))
155
+ throw Error("React.Children.only expected to receive a single React element child.");
156
+ return a;
157
+ } }, E.Component = ce, E.Fragment = d, E.Profiler = m, E.PureComponent = q, E.StrictMode = f, E.Suspense = C, E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = we, E.cloneElement = function(a, l, x) {
158
+ if (a == null)
159
+ throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
160
+ var O = ue({}, a.props), R = a.key, U = a.ref, W = a._owner;
161
+ if (l != null) {
162
+ if (l.ref !== void 0 && (U = l.ref, W = w.current), l.key !== void 0 && (R = "" + l.key), a.type && a.type.defaultProps)
163
+ var F = a.type.defaultProps;
164
+ for (D in l)
165
+ Q.call(l, D) && !k.hasOwnProperty(D) && (O[D] = l[D] === void 0 && F !== void 0 ? F[D] : l[D]);
166
+ }
167
+ var D = arguments.length - 2;
168
+ if (D === 1)
169
+ O.children = x;
170
+ else if (1 < D) {
171
+ F = Array(D);
172
+ for (var ae = 0; ae < D; ae++)
173
+ F[ae] = arguments[ae + 2];
174
+ O.children = F;
175
+ }
176
+ return { $$typeof: o, type: a.type, key: R, ref: U, props: O, _owner: W };
177
+ }, E.createContext = function(a) {
178
+ return a = { $$typeof: M, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, a.Provider = { $$typeof: A, _context: a }, a.Consumer = a;
179
+ }, E.createElement = he, E.createFactory = function(a) {
180
+ var l = he.bind(null, a);
181
+ return l.type = a, l;
182
+ }, E.createRef = function() {
183
+ return { current: null };
184
+ }, E.forwardRef = function(a) {
185
+ return { $$typeof: S, render: a };
186
+ }, E.isValidElement = xe, E.lazy = function(a) {
187
+ return { $$typeof: N, _payload: { _status: -1, _result: a }, _init: pe };
188
+ }, E.memo = function(a, l) {
189
+ return { $$typeof: L, type: a, compare: l === void 0 ? null : l };
190
+ }, E.startTransition = function(a) {
191
+ var l = le.transition;
192
+ le.transition = {};
193
+ try {
194
+ a();
195
+ } finally {
196
+ le.transition = l;
197
+ }
198
+ }, E.unstable_act = function() {
199
+ throw Error("act(...) is not supported in production builds of React.");
200
+ }, E.useCallback = function(a, l) {
201
+ return _.current.useCallback(a, l);
202
+ }, E.useContext = function(a) {
203
+ return _.current.useContext(a);
204
+ }, E.useDebugValue = function() {
205
+ }, E.useDeferredValue = function(a) {
206
+ return _.current.useDeferredValue(a);
207
+ }, E.useEffect = function(a, l) {
208
+ return _.current.useEffect(a, l);
209
+ }, E.useId = function() {
210
+ return _.current.useId();
211
+ }, E.useImperativeHandle = function(a, l, x) {
212
+ return _.current.useImperativeHandle(a, l, x);
213
+ }, E.useInsertionEffect = function(a, l) {
214
+ return _.current.useInsertionEffect(a, l);
215
+ }, E.useLayoutEffect = function(a, l) {
216
+ return _.current.useLayoutEffect(a, l);
217
+ }, E.useMemo = function(a, l) {
218
+ return _.current.useMemo(a, l);
219
+ }, E.useReducer = function(a, l, x) {
220
+ return _.current.useReducer(a, l, x);
221
+ }, E.useRef = function(a) {
222
+ return _.current.useRef(a);
223
+ }, E.useState = function(a) {
224
+ return _.current.useState(a);
225
+ }, E.useSyncExternalStore = function(a, l, x) {
226
+ return _.current.useSyncExternalStore(a, l, x);
227
+ }, E.useTransition = function() {
228
+ return _.current.useTransition();
229
+ }, E.version = "18.2.0", E;
230
+ }
231
+ var Xe = { exports: {} };
232
+ /**
233
+ * @license React
234
+ * react.development.js
235
+ *
236
+ * Copyright (c) Facebook, Inc. and its affiliates.
237
+ *
238
+ * This source code is licensed under the MIT license found in the
239
+ * LICENSE file in the root directory of this source tree.
240
+ */
241
+ Xe.exports;
242
+ var xt;
243
+ function ca() {
244
+ return xt || (xt = 1, function(o, s) {
245
+ process.env.NODE_ENV !== "production" && function() {
246
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
247
+ var d = "18.2.0", f = Symbol.for("react.element"), m = Symbol.for("react.portal"), A = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), L = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), H = Symbol.for("react.suspense"), ne = Symbol.for("react.suspense_list"), V = Symbol.for("react.memo"), ue = Symbol.for("react.lazy"), Re = Symbol.for("react.offscreen"), ce = Symbol.iterator, de = "@@iterator";
248
+ function q(e) {
249
+ if (e === null || typeof e != "object")
250
+ return null;
251
+ var r = ce && e[ce] || e[de];
252
+ return typeof r == "function" ? r : null;
253
+ }
254
+ var ee = {
255
+ /**
256
+ * @internal
257
+ * @type {ReactComponent}
258
+ */
259
+ current: null
260
+ }, be = {
261
+ transition: null
262
+ }, Q = {
263
+ current: null,
264
+ // Used to reproduce behavior of `batchedUpdates` in legacy mode.
265
+ isBatchingLegacy: !1,
266
+ didScheduleLegacyUpdate: !1
267
+ }, w = {
268
+ /**
269
+ * @internal
270
+ * @type {ReactComponent}
271
+ */
272
+ current: null
273
+ }, k = {}, he = null;
274
+ function _e(e) {
275
+ he = e;
276
+ }
277
+ k.setExtraStackFrame = function(e) {
278
+ he = e;
279
+ }, k.getCurrentStack = null, k.getStackAddendum = function() {
280
+ var e = "";
281
+ he && (e += he);
282
+ var r = k.getCurrentStack;
283
+ return r && (e += r() || ""), e;
284
+ };
285
+ var xe = !1, Ce = !1, me = !1, J = !1, oe = !1, re = {
286
+ ReactCurrentDispatcher: ee,
287
+ ReactCurrentBatchConfig: be,
288
+ ReactCurrentOwner: w
289
+ };
290
+ re.ReactDebugCurrentFrame = k, re.ReactCurrentActQueue = Q;
291
+ function pe(e) {
292
+ {
293
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
294
+ n[i - 1] = arguments[i];
295
+ le("warn", e, n);
296
+ }
297
+ }
298
+ function _(e) {
299
+ {
300
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
301
+ n[i - 1] = arguments[i];
302
+ le("error", e, n);
303
+ }
304
+ }
305
+ function le(e, r, n) {
306
+ {
307
+ var i = re.ReactDebugCurrentFrame, c = i.getStackAddendum();
308
+ c !== "" && (r += "%s", n = n.concat([c]));
309
+ var y = n.map(function(b) {
310
+ return String(b);
311
+ });
312
+ y.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, y);
313
+ }
314
+ }
315
+ var we = {};
316
+ function a(e, r) {
317
+ {
318
+ var n = e.constructor, i = n && (n.displayName || n.name) || "ReactClass", c = i + "." + r;
319
+ if (we[c])
320
+ return;
321
+ _("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, i), we[c] = !0;
322
+ }
323
+ }
324
+ var l = {
325
+ /**
326
+ * Checks whether or not this composite component is mounted.
327
+ * @param {ReactClass} publicInstance The instance we want to test.
328
+ * @return {boolean} True if mounted, false otherwise.
329
+ * @protected
330
+ * @final
331
+ */
332
+ isMounted: function(e) {
333
+ return !1;
334
+ },
335
+ /**
336
+ * Forces an update. This should only be invoked when it is known with
337
+ * certainty that we are **not** in a DOM transaction.
338
+ *
339
+ * You may want to call this when you know that some deeper aspect of the
340
+ * component's state has changed but `setState` was not called.
341
+ *
342
+ * This will not invoke `shouldComponentUpdate`, but it will invoke
343
+ * `componentWillUpdate` and `componentDidUpdate`.
344
+ *
345
+ * @param {ReactClass} publicInstance The instance that should rerender.
346
+ * @param {?function} callback Called after component is updated.
347
+ * @param {?string} callerName name of the calling function in the public API.
348
+ * @internal
349
+ */
350
+ enqueueForceUpdate: function(e, r, n) {
351
+ a(e, "forceUpdate");
352
+ },
353
+ /**
354
+ * Replaces all of the state. Always use this or `setState` to mutate state.
355
+ * You should treat `this.state` as immutable.
356
+ *
357
+ * There is no guarantee that `this.state` will be immediately updated, so
358
+ * accessing `this.state` after calling this method may return the old value.
359
+ *
360
+ * @param {ReactClass} publicInstance The instance that should rerender.
361
+ * @param {object} completeState Next state.
362
+ * @param {?function} callback Called after component is updated.
363
+ * @param {?string} callerName name of the calling function in the public API.
364
+ * @internal
365
+ */
366
+ enqueueReplaceState: function(e, r, n, i) {
367
+ a(e, "replaceState");
368
+ },
369
+ /**
370
+ * Sets a subset of the state. This only exists because _pendingState is
371
+ * internal. This provides a merging strategy that is not available to deep
372
+ * properties which is confusing. TODO: Expose pendingState or don't use it
373
+ * during the merge.
374
+ *
375
+ * @param {ReactClass} publicInstance The instance that should rerender.
376
+ * @param {object} partialState Next partial state to be merged with state.
377
+ * @param {?function} callback Called after component is updated.
378
+ * @param {?string} Name of the calling function in the public API.
379
+ * @internal
380
+ */
381
+ enqueueSetState: function(e, r, n, i) {
382
+ a(e, "setState");
383
+ }
384
+ }, x = Object.assign, O = {};
385
+ Object.freeze(O);
386
+ function R(e, r, n) {
387
+ this.props = e, this.context = r, this.refs = O, this.updater = n || l;
388
+ }
389
+ R.prototype.isReactComponent = {}, R.prototype.setState = function(e, r) {
390
+ if (typeof e != "object" && typeof e != "function" && e != null)
391
+ throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
392
+ this.updater.enqueueSetState(this, e, r, "setState");
393
+ }, R.prototype.forceUpdate = function(e) {
394
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
395
+ };
396
+ {
397
+ var U = {
398
+ isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
399
+ replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
400
+ }, W = function(e, r) {
401
+ Object.defineProperty(R.prototype, e, {
402
+ get: function() {
403
+ pe("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
404
+ }
405
+ });
406
+ };
407
+ for (var F in U)
408
+ U.hasOwnProperty(F) && W(F, U[F]);
409
+ }
410
+ function D() {
411
+ }
412
+ D.prototype = R.prototype;
413
+ function ae(e, r, n) {
414
+ this.props = e, this.context = r, this.refs = O, this.updater = n || l;
415
+ }
416
+ var je = ae.prototype = new D();
417
+ je.constructor = ae, x(je, R.prototype), je.isPureReactComponent = !0;
418
+ function xr() {
419
+ var e = {
420
+ current: null
421
+ };
422
+ return Object.seal(e), e;
423
+ }
424
+ var er = Array.isArray;
425
+ function $e(e) {
426
+ return er(e);
427
+ }
428
+ function gr(e) {
429
+ {
430
+ var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
431
+ return n;
432
+ }
433
+ }
434
+ function Ve(e) {
435
+ try {
436
+ return Te(e), !1;
437
+ } catch {
438
+ return !0;
439
+ }
440
+ }
441
+ function Te(e) {
442
+ return "" + e;
443
+ }
444
+ function Me(e) {
445
+ if (Ve(e))
446
+ return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Te(e);
447
+ }
448
+ function rr(e, r, n) {
449
+ var i = e.displayName;
450
+ if (i)
451
+ return i;
452
+ var c = r.displayName || r.name || "";
453
+ return c !== "" ? n + "(" + c + ")" : n;
454
+ }
455
+ function Ae(e) {
456
+ return e.displayName || "Context";
457
+ }
458
+ function ge(e) {
459
+ if (e == null)
460
+ return null;
461
+ if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
462
+ return e.displayName || e.name || null;
463
+ if (typeof e == "string")
464
+ return e;
465
+ switch (e) {
466
+ case A:
467
+ return "Fragment";
468
+ case m:
469
+ return "Portal";
470
+ case S:
471
+ return "Profiler";
472
+ case M:
473
+ return "StrictMode";
474
+ case H:
475
+ return "Suspense";
476
+ case ne:
477
+ return "SuspenseList";
478
+ }
479
+ if (typeof e == "object")
480
+ switch (e.$$typeof) {
481
+ case L:
482
+ var r = e;
483
+ return Ae(r) + ".Consumer";
484
+ case C:
485
+ var n = e;
486
+ return Ae(n._context) + ".Provider";
487
+ case N:
488
+ return rr(e, e.render, "ForwardRef");
489
+ case V:
490
+ var i = e.displayName || null;
491
+ return i !== null ? i : ge(e.type) || "Memo";
492
+ case ue: {
493
+ var c = e, y = c._payload, b = c._init;
494
+ try {
495
+ return ge(b(y));
496
+ } catch {
497
+ return null;
498
+ }
499
+ }
500
+ }
501
+ return null;
502
+ }
503
+ var De = Object.prototype.hasOwnProperty, Ue = {
504
+ key: !0,
505
+ ref: !0,
506
+ __self: !0,
507
+ __source: !0
508
+ }, tr, ar, We;
509
+ We = {};
510
+ function He(e) {
511
+ if (De.call(e, "ref")) {
512
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
513
+ if (r && r.isReactWarning)
514
+ return !1;
515
+ }
516
+ return e.ref !== void 0;
517
+ }
518
+ function Se(e) {
519
+ if (De.call(e, "key")) {
520
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
521
+ if (r && r.isReactWarning)
522
+ return !1;
523
+ }
524
+ return e.key !== void 0;
525
+ }
526
+ function Cr(e, r) {
527
+ var n = function() {
528
+ tr || (tr = !0, _("%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)", r));
529
+ };
530
+ n.isReactWarning = !0, Object.defineProperty(e, "key", {
531
+ get: n,
532
+ configurable: !0
533
+ });
534
+ }
535
+ function nr(e, r) {
536
+ var n = function() {
537
+ ar || (ar = !0, _("%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)", r));
538
+ };
539
+ n.isReactWarning = !0, Object.defineProperty(e, "ref", {
540
+ get: n,
541
+ configurable: !0
542
+ });
543
+ }
544
+ function or(e) {
545
+ if (typeof e.ref == "string" && w.current && e.__self && w.current.stateNode !== e.__self) {
546
+ var r = ge(w.current.type);
547
+ We[r] || (_('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, e.ref), We[r] = !0);
548
+ }
549
+ }
550
+ var Ie = function(e, r, n, i, c, y, b) {
551
+ var g = {
552
+ // This tag allows us to uniquely identify this as a React Element
553
+ $$typeof: f,
554
+ // Built-in properties that belong on the element
555
+ type: e,
556
+ key: r,
557
+ ref: n,
558
+ props: b,
559
+ // Record the component responsible for creating this element.
560
+ _owner: y
561
+ };
562
+ return g._store = {}, Object.defineProperty(g._store, "validated", {
563
+ configurable: !1,
564
+ enumerable: !1,
565
+ writable: !0,
566
+ value: !1
567
+ }), Object.defineProperty(g, "_self", {
568
+ configurable: !1,
569
+ enumerable: !1,
570
+ writable: !1,
571
+ value: i
572
+ }), Object.defineProperty(g, "_source", {
573
+ configurable: !1,
574
+ enumerable: !1,
575
+ writable: !1,
576
+ value: c
577
+ }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
578
+ };
579
+ function wr(e, r, n) {
580
+ var i, c = {}, y = null, b = null, g = null, P = null;
581
+ if (r != null) {
582
+ He(r) && (b = r.ref, or(r)), Se(r) && (Me(r.key), y = "" + r.key), g = r.__self === void 0 ? null : r.__self, P = r.__source === void 0 ? null : r.__source;
583
+ for (i in r)
584
+ De.call(r, i) && !Ue.hasOwnProperty(i) && (c[i] = r[i]);
585
+ }
586
+ var $ = arguments.length - 2;
587
+ if ($ === 1)
588
+ c.children = n;
589
+ else if ($ > 1) {
590
+ for (var Y = Array($), B = 0; B < $; B++)
591
+ Y[B] = arguments[B + 2];
592
+ Object.freeze && Object.freeze(Y), c.children = Y;
593
+ }
594
+ if (e && e.defaultProps) {
595
+ var G = e.defaultProps;
596
+ for (i in G)
597
+ c[i] === void 0 && (c[i] = G[i]);
598
+ }
599
+ if (y || b) {
600
+ var te = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
601
+ y && Cr(c, te), b && nr(c, te);
602
+ }
603
+ return Ie(e, y, b, g, P, w.current, c);
604
+ }
605
+ function zr(e, r) {
606
+ var n = Ie(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
607
+ return n;
608
+ }
609
+ function Er(e, r, n) {
610
+ if (e == null)
611
+ throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
612
+ var i, c = x({}, e.props), y = e.key, b = e.ref, g = e._self, P = e._source, $ = e._owner;
613
+ if (r != null) {
614
+ He(r) && (b = r.ref, $ = w.current), Se(r) && (Me(r.key), y = "" + r.key);
615
+ var Y;
616
+ e.type && e.type.defaultProps && (Y = e.type.defaultProps);
617
+ for (i in r)
618
+ De.call(r, i) && !Ue.hasOwnProperty(i) && (r[i] === void 0 && Y !== void 0 ? c[i] = Y[i] : c[i] = r[i]);
619
+ }
620
+ var B = arguments.length - 2;
621
+ if (B === 1)
622
+ c.children = n;
623
+ else if (B > 1) {
624
+ for (var G = Array(B), te = 0; te < B; te++)
625
+ G[te] = arguments[te + 2];
626
+ c.children = G;
627
+ }
628
+ return Ie(e.type, y, b, g, P, $, c);
629
+ }
630
+ function ke(e) {
631
+ return typeof e == "object" && e !== null && e.$$typeof === f;
632
+ }
633
+ var sr = ".", Rr = ":";
634
+ function jr(e) {
635
+ var r = /[=:]/g, n = {
636
+ "=": "=0",
637
+ ":": "=2"
638
+ }, i = e.replace(r, function(c) {
639
+ return n[c];
640
+ });
641
+ return "$" + i;
642
+ }
643
+ var qe = !1, ir = /\/+/g;
644
+ function ze(e) {
645
+ return e.replace(ir, "$&/");
646
+ }
647
+ function Ne(e, r) {
648
+ return typeof e == "object" && e !== null && e.key != null ? (Me(e.key), jr("" + e.key)) : r.toString(36);
649
+ }
650
+ function Oe(e, r, n, i, c) {
651
+ var y = typeof e;
652
+ (y === "undefined" || y === "boolean") && (e = null);
653
+ var b = !1;
654
+ if (e === null)
655
+ b = !0;
656
+ else
657
+ switch (y) {
658
+ case "string":
659
+ case "number":
660
+ b = !0;
661
+ break;
662
+ case "object":
663
+ switch (e.$$typeof) {
664
+ case f:
665
+ case m:
666
+ b = !0;
667
+ }
668
+ }
669
+ if (b) {
670
+ var g = e, P = c(g), $ = i === "" ? sr + Ne(g, 0) : i;
671
+ if ($e(P)) {
672
+ var Y = "";
673
+ $ != null && (Y = ze($) + "/"), Oe(P, r, Y, "", function(ia) {
674
+ return ia;
675
+ });
676
+ } else
677
+ P != null && (ke(P) && (P.key && (!g || g.key !== P.key) && Me(P.key), P = zr(
678
+ P,
679
+ // Keep both the (mapped) and old keys if they differ, just as
680
+ // traverseAllChildren used to do for objects as children
681
+ n + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
682
+ (P.key && (!g || g.key !== P.key) ? (
683
+ // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
684
+ // eslint-disable-next-line react-internal/safe-string-coercion
685
+ ze("" + P.key) + "/"
686
+ ) : "") + $
687
+ )), r.push(P));
688
+ return 1;
689
+ }
690
+ var B, G, te = 0, ie = i === "" ? sr : i + Rr;
691
+ if ($e(e))
692
+ for (var mr = 0; mr < e.length; mr++)
693
+ B = e[mr], G = ie + Ne(B, mr), te += Oe(B, r, n, G, c);
694
+ else {
695
+ var Vr = q(e);
696
+ if (typeof Vr == "function") {
697
+ var bt = e;
698
+ Vr === bt.entries && (qe || pe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), qe = !0);
699
+ for (var oa = Vr.call(bt), _t, sa = 0; !(_t = oa.next()).done; )
700
+ B = _t.value, G = ie + Ne(B, sa++), te += Oe(B, r, n, G, c);
701
+ } else if (y === "object") {
702
+ var mt = String(e);
703
+ throw new Error("Objects are not valid as a React child (found: " + (mt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : mt) + "). If you meant to render a collection of children, use an array instead.");
704
+ }
705
+ }
706
+ return te;
707
+ }
708
+ function Fe(e, r, n) {
709
+ if (e == null)
710
+ return e;
711
+ var i = [], c = 0;
712
+ return Oe(e, i, "", "", function(y) {
713
+ return r.call(n, y, c++);
714
+ }), i;
715
+ }
716
+ function Sr(e) {
717
+ var r = 0;
718
+ return Fe(e, function() {
719
+ r++;
720
+ }), r;
721
+ }
722
+ function ur(e, r, n) {
723
+ Fe(e, function() {
724
+ r.apply(this, arguments);
725
+ }, n);
726
+ }
727
+ function kr(e) {
728
+ return Fe(e, function(r) {
729
+ return r;
730
+ }) || [];
731
+ }
732
+ function lr(e) {
733
+ if (!ke(e))
734
+ throw new Error("React.Children.only expected to receive a single React element child.");
735
+ return e;
736
+ }
737
+ function cr(e) {
738
+ var r = {
739
+ $$typeof: L,
740
+ // As a workaround to support multiple concurrent renderers, we categorize
741
+ // some renderers as primary and others as secondary. We only expect
742
+ // there to be two concurrent renderers at most: React Native (primary) and
743
+ // Fabric (secondary); React DOM (primary) and React ART (secondary).
744
+ // Secondary renderers store their context values on separate fields.
745
+ _currentValue: e,
746
+ _currentValue2: e,
747
+ // Used to track how many concurrent renderers this context currently
748
+ // supports within in a single renderer. Such as parallel server rendering.
749
+ _threadCount: 0,
750
+ // These are circular
751
+ Provider: null,
752
+ Consumer: null,
753
+ // Add these to use same hidden class in VM as ServerContext
754
+ _defaultValue: null,
755
+ _globalName: null
756
+ };
757
+ r.Provider = {
758
+ $$typeof: C,
759
+ _context: r
760
+ };
761
+ var n = !1, i = !1, c = !1;
762
+ {
763
+ var y = {
764
+ $$typeof: L,
765
+ _context: r
766
+ };
767
+ Object.defineProperties(y, {
768
+ Provider: {
769
+ get: function() {
770
+ return i || (i = !0, _("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
771
+ },
772
+ set: function(b) {
773
+ r.Provider = b;
774
+ }
775
+ },
776
+ _currentValue: {
777
+ get: function() {
778
+ return r._currentValue;
779
+ },
780
+ set: function(b) {
781
+ r._currentValue = b;
782
+ }
783
+ },
784
+ _currentValue2: {
785
+ get: function() {
786
+ return r._currentValue2;
787
+ },
788
+ set: function(b) {
789
+ r._currentValue2 = b;
790
+ }
791
+ },
792
+ _threadCount: {
793
+ get: function() {
794
+ return r._threadCount;
795
+ },
796
+ set: function(b) {
797
+ r._threadCount = b;
798
+ }
799
+ },
800
+ Consumer: {
801
+ get: function() {
802
+ return n || (n = !0, _("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
803
+ }
804
+ },
805
+ displayName: {
806
+ get: function() {
807
+ return r.displayName;
808
+ },
809
+ set: function(b) {
810
+ c || (pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", b), c = !0);
811
+ }
812
+ }
813
+ }), r.Consumer = y;
814
+ }
815
+ return r._currentRenderer = null, r._currentRenderer2 = null, r;
816
+ }
817
+ var Le = -1, Ke = 0, Ge = 1, Or = 2;
818
+ function Pr(e) {
819
+ if (e._status === Le) {
820
+ var r = e._result, n = r();
821
+ if (n.then(function(y) {
822
+ if (e._status === Ke || e._status === Le) {
823
+ var b = e;
824
+ b._status = Ge, b._result = y;
825
+ }
826
+ }, function(y) {
827
+ if (e._status === Ke || e._status === Le) {
828
+ var b = e;
829
+ b._status = Or, b._result = y;
830
+ }
831
+ }), e._status === Le) {
832
+ var i = e;
833
+ i._status = Ke, i._result = n;
834
+ }
835
+ }
836
+ if (e._status === Ge) {
837
+ var c = e._result;
838
+ return c === void 0 && _(`lazy: Expected the result of a dynamic import() call. Instead received: %s
839
+
840
+ Your code should look like:
841
+ const MyComponent = lazy(() => import('./MyComponent'))
842
+
843
+ Did you accidentally put curly braces around the import?`, c), "default" in c || _(`lazy: Expected the result of a dynamic import() call. Instead received: %s
844
+
845
+ Your code should look like:
846
+ const MyComponent = lazy(() => import('./MyComponent'))`, c), c.default;
847
+ } else
848
+ throw e._result;
849
+ }
850
+ function Tr(e) {
851
+ var r = {
852
+ // We use these fields to store the result.
853
+ _status: Le,
854
+ _result: e
855
+ }, n = {
856
+ $$typeof: ue,
857
+ _payload: r,
858
+ _init: Pr
859
+ };
860
+ {
861
+ var i, c;
862
+ Object.defineProperties(n, {
863
+ defaultProps: {
864
+ configurable: !0,
865
+ get: function() {
866
+ return i;
867
+ },
868
+ set: function(y) {
869
+ _("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), i = y, Object.defineProperty(n, "defaultProps", {
870
+ enumerable: !0
871
+ });
872
+ }
873
+ },
874
+ propTypes: {
875
+ configurable: !0,
876
+ get: function() {
877
+ return c;
878
+ },
879
+ set: function(y) {
880
+ _("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), c = y, Object.defineProperty(n, "propTypes", {
881
+ enumerable: !0
882
+ });
883
+ }
884
+ }
885
+ });
886
+ }
887
+ return n;
888
+ }
889
+ function Mr(e) {
890
+ e != null && e.$$typeof === V ? _("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? _("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && _("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && _("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
891
+ var r = {
892
+ $$typeof: N,
893
+ render: e
894
+ };
895
+ {
896
+ var n;
897
+ Object.defineProperty(r, "displayName", {
898
+ enumerable: !1,
899
+ configurable: !0,
900
+ get: function() {
901
+ return n;
902
+ },
903
+ set: function(i) {
904
+ n = i, !e.name && !e.displayName && (e.displayName = i);
905
+ }
906
+ });
907
+ }
908
+ return r;
909
+ }
910
+ var t;
911
+ t = Symbol.for("react.module.reference");
912
+ function u(e) {
913
+ return !!(typeof e == "string" || typeof e == "function" || e === A || e === S || oe || e === M || e === H || e === ne || J || e === Re || xe || Ce || me || typeof e == "object" && e !== null && (e.$$typeof === ue || e.$$typeof === V || e.$$typeof === C || e.$$typeof === L || e.$$typeof === N || // This needs to include all possible module reference object
914
+ // types supported by any Flight configuration anywhere since
915
+ // we don't know which Flight build this will end up being used
916
+ // with.
917
+ e.$$typeof === t || e.getModuleId !== void 0));
918
+ }
919
+ function p(e, r) {
920
+ u(e) || _("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
921
+ var n = {
922
+ $$typeof: V,
923
+ type: e,
924
+ compare: r === void 0 ? null : r
925
+ };
926
+ {
927
+ var i;
928
+ Object.defineProperty(n, "displayName", {
929
+ enumerable: !1,
930
+ configurable: !0,
931
+ get: function() {
932
+ return i;
933
+ },
934
+ set: function(c) {
935
+ i = c, !e.name && !e.displayName && (e.displayName = c);
936
+ }
937
+ });
938
+ }
939
+ return n;
940
+ }
941
+ function v() {
942
+ var e = ee.current;
943
+ return e === null && _(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
944
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
945
+ 2. You might be breaking the Rules of Hooks
946
+ 3. You might have more than one copy of React in the same app
947
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
948
+ }
949
+ function T(e) {
950
+ var r = v();
951
+ if (e._context !== void 0) {
952
+ var n = e._context;
953
+ n.Consumer === e ? _("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : n.Provider === e && _("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
954
+ }
955
+ return r.useContext(e);
956
+ }
957
+ function I(e) {
958
+ var r = v();
959
+ return r.useState(e);
960
+ }
961
+ function j(e, r, n) {
962
+ var i = v();
963
+ return i.useReducer(e, r, n);
964
+ }
965
+ function z(e) {
966
+ var r = v();
967
+ return r.useRef(e);
968
+ }
969
+ function se(e, r) {
970
+ var n = v();
971
+ return n.useEffect(e, r);
972
+ }
973
+ function K(e, r) {
974
+ var n = v();
975
+ return n.useInsertionEffect(e, r);
976
+ }
977
+ function Z(e, r) {
978
+ var n = v();
979
+ return n.useLayoutEffect(e, r);
980
+ }
981
+ function ve(e, r) {
982
+ var n = v();
983
+ return n.useCallback(e, r);
984
+ }
985
+ function Pe(e, r) {
986
+ var n = v();
987
+ return n.useMemo(e, r);
988
+ }
989
+ function fr(e, r, n) {
990
+ var i = v();
991
+ return i.useImperativeHandle(e, r, n);
992
+ }
993
+ function ye(e, r) {
994
+ {
995
+ var n = v();
996
+ return n.useDebugValue(e, r);
997
+ }
998
+ }
999
+ function It() {
1000
+ var e = v();
1001
+ return e.useTransition();
1002
+ }
1003
+ function Nt(e) {
1004
+ var r = v();
1005
+ return r.useDeferredValue(e);
1006
+ }
1007
+ function Ft() {
1008
+ var e = v();
1009
+ return e.useId();
1010
+ }
1011
+ function Lt(e, r, n) {
1012
+ var i = v();
1013
+ return i.useSyncExternalStore(e, r, n);
1014
+ }
1015
+ var Ze = 0, Zr, Qr, Jr, Xr, et, rt, tt;
1016
+ function at() {
1017
+ }
1018
+ at.__reactDisabledLog = !0;
1019
+ function $t() {
1020
+ {
1021
+ if (Ze === 0) {
1022
+ Zr = console.log, Qr = console.info, Jr = console.warn, Xr = console.error, et = console.group, rt = console.groupCollapsed, tt = console.groupEnd;
1023
+ var e = {
1024
+ configurable: !0,
1025
+ enumerable: !0,
1026
+ value: at,
1027
+ writable: !0
1028
+ };
1029
+ Object.defineProperties(console, {
1030
+ info: e,
1031
+ log: e,
1032
+ warn: e,
1033
+ error: e,
1034
+ group: e,
1035
+ groupCollapsed: e,
1036
+ groupEnd: e
1037
+ });
1038
+ }
1039
+ Ze++;
1040
+ }
1041
+ }
1042
+ function Vt() {
1043
+ {
1044
+ if (Ze--, Ze === 0) {
1045
+ var e = {
1046
+ configurable: !0,
1047
+ enumerable: !0,
1048
+ writable: !0
1049
+ };
1050
+ Object.defineProperties(console, {
1051
+ log: x({}, e, {
1052
+ value: Zr
1053
+ }),
1054
+ info: x({}, e, {
1055
+ value: Qr
1056
+ }),
1057
+ warn: x({}, e, {
1058
+ value: Jr
1059
+ }),
1060
+ error: x({}, e, {
1061
+ value: Xr
1062
+ }),
1063
+ group: x({}, e, {
1064
+ value: et
1065
+ }),
1066
+ groupCollapsed: x({}, e, {
1067
+ value: rt
1068
+ }),
1069
+ groupEnd: x({}, e, {
1070
+ value: tt
1071
+ })
1072
+ });
1073
+ }
1074
+ Ze < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1075
+ }
1076
+ }
1077
+ var Ar = re.ReactCurrentDispatcher, Dr;
1078
+ function dr(e, r, n) {
1079
+ {
1080
+ if (Dr === void 0)
1081
+ try {
1082
+ throw Error();
1083
+ } catch (c) {
1084
+ var i = c.stack.trim().match(/\n( *(at )?)/);
1085
+ Dr = i && i[1] || "";
1086
+ }
1087
+ return `
1088
+ ` + Dr + e;
1089
+ }
1090
+ }
1091
+ var Ir = !1, hr;
1092
+ {
1093
+ var Ut = typeof WeakMap == "function" ? WeakMap : Map;
1094
+ hr = new Ut();
1095
+ }
1096
+ function nt(e, r) {
1097
+ if (!e || Ir)
1098
+ return "";
1099
+ {
1100
+ var n = hr.get(e);
1101
+ if (n !== void 0)
1102
+ return n;
1103
+ }
1104
+ var i;
1105
+ Ir = !0;
1106
+ var c = Error.prepareStackTrace;
1107
+ Error.prepareStackTrace = void 0;
1108
+ var y;
1109
+ y = Ar.current, Ar.current = null, $t();
1110
+ try {
1111
+ if (r) {
1112
+ var b = function() {
1113
+ throw Error();
1114
+ };
1115
+ if (Object.defineProperty(b.prototype, "props", {
1116
+ set: function() {
1117
+ throw Error();
1118
+ }
1119
+ }), typeof Reflect == "object" && Reflect.construct) {
1120
+ try {
1121
+ Reflect.construct(b, []);
1122
+ } catch (ie) {
1123
+ i = ie;
1124
+ }
1125
+ Reflect.construct(e, [], b);
1126
+ } else {
1127
+ try {
1128
+ b.call();
1129
+ } catch (ie) {
1130
+ i = ie;
1131
+ }
1132
+ e.call(b.prototype);
1133
+ }
1134
+ } else {
1135
+ try {
1136
+ throw Error();
1137
+ } catch (ie) {
1138
+ i = ie;
1139
+ }
1140
+ e();
1141
+ }
1142
+ } catch (ie) {
1143
+ if (ie && i && typeof ie.stack == "string") {
1144
+ for (var g = ie.stack.split(`
1145
+ `), P = i.stack.split(`
1146
+ `), $ = g.length - 1, Y = P.length - 1; $ >= 1 && Y >= 0 && g[$] !== P[Y]; )
1147
+ Y--;
1148
+ for (; $ >= 1 && Y >= 0; $--, Y--)
1149
+ if (g[$] !== P[Y]) {
1150
+ if ($ !== 1 || Y !== 1)
1151
+ do
1152
+ if ($--, Y--, Y < 0 || g[$] !== P[Y]) {
1153
+ var B = `
1154
+ ` + g[$].replace(" at new ", " at ");
1155
+ return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && hr.set(e, B), B;
1156
+ }
1157
+ while ($ >= 1 && Y >= 0);
1158
+ break;
1159
+ }
1160
+ }
1161
+ } finally {
1162
+ Ir = !1, Ar.current = y, Vt(), Error.prepareStackTrace = c;
1163
+ }
1164
+ var G = e ? e.displayName || e.name : "", te = G ? dr(G) : "";
1165
+ return typeof e == "function" && hr.set(e, te), te;
1166
+ }
1167
+ function Wt(e, r, n) {
1168
+ return nt(e, !1);
1169
+ }
1170
+ function qt(e) {
1171
+ var r = e.prototype;
1172
+ return !!(r && r.isReactComponent);
1173
+ }
1174
+ function pr(e, r, n) {
1175
+ if (e == null)
1176
+ return "";
1177
+ if (typeof e == "function")
1178
+ return nt(e, qt(e));
1179
+ if (typeof e == "string")
1180
+ return dr(e);
1181
+ switch (e) {
1182
+ case H:
1183
+ return dr("Suspense");
1184
+ case ne:
1185
+ return dr("SuspenseList");
1186
+ }
1187
+ if (typeof e == "object")
1188
+ switch (e.$$typeof) {
1189
+ case N:
1190
+ return Wt(e.render);
1191
+ case V:
1192
+ return pr(e.type, r, n);
1193
+ case ue: {
1194
+ var i = e, c = i._payload, y = i._init;
1195
+ try {
1196
+ return pr(y(c), r, n);
1197
+ } catch {
1198
+ }
1199
+ }
1200
+ }
1201
+ return "";
1202
+ }
1203
+ var ot = {}, st = re.ReactDebugCurrentFrame;
1204
+ function vr(e) {
1205
+ if (e) {
1206
+ var r = e._owner, n = pr(e.type, e._source, r ? r.type : null);
1207
+ st.setExtraStackFrame(n);
1208
+ } else
1209
+ st.setExtraStackFrame(null);
1210
+ }
1211
+ function Yt(e, r, n, i, c) {
1212
+ {
1213
+ var y = Function.call.bind(De);
1214
+ for (var b in e)
1215
+ if (y(e, b)) {
1216
+ var g = void 0;
1217
+ try {
1218
+ if (typeof e[b] != "function") {
1219
+ var P = Error((i || "React class") + ": " + n + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1220
+ throw P.name = "Invariant Violation", P;
1221
+ }
1222
+ g = e[b](r, b, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1223
+ } catch ($) {
1224
+ g = $;
1225
+ }
1226
+ g && !(g instanceof Error) && (vr(c), _("%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).", i || "React class", n, b, typeof g), vr(null)), g instanceof Error && !(g.message in ot) && (ot[g.message] = !0, vr(c), _("Failed %s type: %s", n, g.message), vr(null));
1227
+ }
1228
+ }
1229
+ }
1230
+ function Ye(e) {
1231
+ if (e) {
1232
+ var r = e._owner, n = pr(e.type, e._source, r ? r.type : null);
1233
+ _e(n);
1234
+ } else
1235
+ _e(null);
1236
+ }
1237
+ var Nr;
1238
+ Nr = !1;
1239
+ function it() {
1240
+ if (w.current) {
1241
+ var e = ge(w.current.type);
1242
+ if (e)
1243
+ return `
1244
+
1245
+ Check the render method of \`` + e + "`.";
1246
+ }
1247
+ return "";
1248
+ }
1249
+ function Bt(e) {
1250
+ if (e !== void 0) {
1251
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
1252
+ return `
1253
+
1254
+ Check your code at ` + r + ":" + n + ".";
1255
+ }
1256
+ return "";
1257
+ }
1258
+ function Ht(e) {
1259
+ return e != null ? Bt(e.__source) : "";
1260
+ }
1261
+ var ut = {};
1262
+ function Kt(e) {
1263
+ var r = it();
1264
+ if (!r) {
1265
+ var n = typeof e == "string" ? e : e.displayName || e.name;
1266
+ n && (r = `
1267
+
1268
+ Check the top-level render call using <` + n + ">.");
1269
+ }
1270
+ return r;
1271
+ }
1272
+ function lt(e, r) {
1273
+ if (!(!e._store || e._store.validated || e.key != null)) {
1274
+ e._store.validated = !0;
1275
+ var n = Kt(r);
1276
+ if (!ut[n]) {
1277
+ ut[n] = !0;
1278
+ var i = "";
1279
+ e && e._owner && e._owner !== w.current && (i = " It was passed a child from " + ge(e._owner.type) + "."), Ye(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), Ye(null);
1280
+ }
1281
+ }
1282
+ }
1283
+ function ct(e, r) {
1284
+ if (typeof e == "object") {
1285
+ if ($e(e))
1286
+ for (var n = 0; n < e.length; n++) {
1287
+ var i = e[n];
1288
+ ke(i) && lt(i, r);
1289
+ }
1290
+ else if (ke(e))
1291
+ e._store && (e._store.validated = !0);
1292
+ else if (e) {
1293
+ var c = q(e);
1294
+ if (typeof c == "function" && c !== e.entries)
1295
+ for (var y = c.call(e), b; !(b = y.next()).done; )
1296
+ ke(b.value) && lt(b.value, r);
1297
+ }
1298
+ }
1299
+ }
1300
+ function ft(e) {
1301
+ {
1302
+ var r = e.type;
1303
+ if (r == null || typeof r == "string")
1304
+ return;
1305
+ var n;
1306
+ if (typeof r == "function")
1307
+ n = r.propTypes;
1308
+ else if (typeof r == "object" && (r.$$typeof === N || // Note: Memo only checks outer props here.
1309
+ // Inner props are checked in the reconciler.
1310
+ r.$$typeof === V))
1311
+ n = r.propTypes;
1312
+ else
1313
+ return;
1314
+ if (n) {
1315
+ var i = ge(r);
1316
+ Yt(n, e.props, "prop", i, e);
1317
+ } else if (r.PropTypes !== void 0 && !Nr) {
1318
+ Nr = !0;
1319
+ var c = ge(r);
1320
+ _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
1321
+ }
1322
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1323
+ }
1324
+ }
1325
+ function Gt(e) {
1326
+ {
1327
+ for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
1328
+ var i = r[n];
1329
+ if (i !== "children" && i !== "key") {
1330
+ Ye(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), Ye(null);
1331
+ break;
1332
+ }
1333
+ }
1334
+ e.ref !== null && (Ye(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
1335
+ }
1336
+ }
1337
+ function dt(e, r, n) {
1338
+ var i = u(e);
1339
+ if (!i) {
1340
+ var c = "";
1341
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1342
+ var y = Ht(r);
1343
+ y ? c += y : c += it();
1344
+ var b;
1345
+ e === null ? b = "null" : $e(e) ? b = "array" : e !== void 0 && e.$$typeof === f ? (b = "<" + (ge(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, _("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, c);
1346
+ }
1347
+ var g = wr.apply(this, arguments);
1348
+ if (g == null)
1349
+ return g;
1350
+ if (i)
1351
+ for (var P = 2; P < arguments.length; P++)
1352
+ ct(arguments[P], e);
1353
+ return e === A ? Gt(g) : ft(g), g;
1354
+ }
1355
+ var ht = !1;
1356
+ function Zt(e) {
1357
+ var r = dt.bind(null, e);
1358
+ return r.type = e, ht || (ht = !0, pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
1359
+ enumerable: !1,
1360
+ get: function() {
1361
+ return pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
1362
+ value: e
1363
+ }), e;
1364
+ }
1365
+ }), r;
1366
+ }
1367
+ function Qt(e, r, n) {
1368
+ for (var i = Er.apply(this, arguments), c = 2; c < arguments.length; c++)
1369
+ ct(arguments[c], i.type);
1370
+ return ft(i), i;
1371
+ }
1372
+ function Jt(e, r) {
1373
+ var n = be.transition;
1374
+ be.transition = {};
1375
+ var i = be.transition;
1376
+ be.transition._updatedFibers = /* @__PURE__ */ new Set();
1377
+ try {
1378
+ e();
1379
+ } finally {
1380
+ if (be.transition = n, n === null && i._updatedFibers) {
1381
+ var c = i._updatedFibers.size;
1382
+ c > 10 && pe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), i._updatedFibers.clear();
1383
+ }
1384
+ }
1385
+ }
1386
+ var pt = !1, br = null;
1387
+ function Xt(e) {
1388
+ if (br === null)
1389
+ try {
1390
+ var r = ("require" + Math.random()).slice(0, 7), n = o && o[r];
1391
+ br = n.call(o, "timers").setImmediate;
1392
+ } catch {
1393
+ br = function(c) {
1394
+ pt === !1 && (pt = !0, typeof MessageChannel > "u" && _("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
1395
+ var y = new MessageChannel();
1396
+ y.port1.onmessage = c, y.port2.postMessage(void 0);
1397
+ };
1398
+ }
1399
+ return br(e);
1400
+ }
1401
+ var Be = 0, vt = !1;
1402
+ function ea(e) {
1403
+ {
1404
+ var r = Be;
1405
+ Be++, Q.current === null && (Q.current = []);
1406
+ var n = Q.isBatchingLegacy, i;
1407
+ try {
1408
+ if (Q.isBatchingLegacy = !0, i = e(), !n && Q.didScheduleLegacyUpdate) {
1409
+ var c = Q.current;
1410
+ c !== null && (Q.didScheduleLegacyUpdate = !1, $r(c));
1411
+ }
1412
+ } catch (G) {
1413
+ throw _r(r), G;
1414
+ } finally {
1415
+ Q.isBatchingLegacy = n;
1416
+ }
1417
+ if (i !== null && typeof i == "object" && typeof i.then == "function") {
1418
+ var y = i, b = !1, g = {
1419
+ then: function(G, te) {
1420
+ b = !0, y.then(function(ie) {
1421
+ _r(r), Be === 0 ? Fr(ie, G, te) : G(ie);
1422
+ }, function(ie) {
1423
+ _r(r), te(ie);
1424
+ });
1425
+ }
1426
+ };
1427
+ return !vt && typeof Promise < "u" && Promise.resolve().then(function() {
1428
+ }).then(function() {
1429
+ b || (vt = !0, _("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
1430
+ }), g;
1431
+ } else {
1432
+ var P = i;
1433
+ if (_r(r), Be === 0) {
1434
+ var $ = Q.current;
1435
+ $ !== null && ($r($), Q.current = null);
1436
+ var Y = {
1437
+ then: function(G, te) {
1438
+ Q.current === null ? (Q.current = [], Fr(P, G, te)) : G(P);
1439
+ }
1440
+ };
1441
+ return Y;
1442
+ } else {
1443
+ var B = {
1444
+ then: function(G, te) {
1445
+ G(P);
1446
+ }
1447
+ };
1448
+ return B;
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ function _r(e) {
1454
+ e !== Be - 1 && _("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Be = e;
1455
+ }
1456
+ function Fr(e, r, n) {
1457
+ {
1458
+ var i = Q.current;
1459
+ if (i !== null)
1460
+ try {
1461
+ $r(i), Xt(function() {
1462
+ i.length === 0 ? (Q.current = null, r(e)) : Fr(e, r, n);
1463
+ });
1464
+ } catch (c) {
1465
+ n(c);
1466
+ }
1467
+ else
1468
+ r(e);
1469
+ }
1470
+ }
1471
+ var Lr = !1;
1472
+ function $r(e) {
1473
+ if (!Lr) {
1474
+ Lr = !0;
1475
+ var r = 0;
1476
+ try {
1477
+ for (; r < e.length; r++) {
1478
+ var n = e[r];
1479
+ do
1480
+ n = n(!0);
1481
+ while (n !== null);
1482
+ }
1483
+ e.length = 0;
1484
+ } catch (i) {
1485
+ throw e = e.slice(r + 1), i;
1486
+ } finally {
1487
+ Lr = !1;
1488
+ }
1489
+ }
1490
+ }
1491
+ var ra = dt, ta = Qt, aa = Zt, na = {
1492
+ map: Fe,
1493
+ forEach: ur,
1494
+ count: Sr,
1495
+ toArray: kr,
1496
+ only: lr
1497
+ };
1498
+ s.Children = na, s.Component = R, s.Fragment = A, s.Profiler = S, s.PureComponent = ae, s.StrictMode = M, s.Suspense = H, s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, s.cloneElement = ta, s.createContext = cr, s.createElement = ra, s.createFactory = aa, s.createRef = xr, s.forwardRef = Mr, s.isValidElement = ke, s.lazy = Tr, s.memo = p, s.startTransition = Jt, s.unstable_act = ea, s.useCallback = ve, s.useContext = T, s.useDebugValue = ye, s.useDeferredValue = Nt, s.useEffect = se, s.useId = Ft, s.useImperativeHandle = fr, s.useInsertionEffect = K, s.useLayoutEffect = Z, s.useMemo = Pe, s.useReducer = j, s.useRef = z, s.useState = I, s.useSyncExternalStore = Lt, s.useTransition = It, s.version = d, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1499
+ }();
1500
+ }(Xe, Xe.exports)), Xe.exports;
1501
+ }
1502
+ process.env.NODE_ENV === "production" ? Yr.exports = la() : Yr.exports = ca();
1503
+ var fe = Yr.exports;
1504
+ const fa = /* @__PURE__ */ ua(fe);
1505
+ /**
1506
+ * @license React
1507
+ * react-jsx-runtime.production.min.js
1508
+ *
1509
+ * Copyright (c) Facebook, Inc. and its affiliates.
1510
+ *
1511
+ * This source code is licensed under the MIT license found in the
1512
+ * LICENSE file in the root directory of this source tree.
1513
+ */
1514
+ var gt;
1515
+ function da() {
1516
+ if (gt)
1517
+ return Qe;
1518
+ gt = 1;
1519
+ var o = fe, s = Symbol.for("react.element"), d = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, m = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
1520
+ function M(S, C, L) {
1521
+ var N, H = {}, ne = null, V = null;
1522
+ L !== void 0 && (ne = "" + L), C.key !== void 0 && (ne = "" + C.key), C.ref !== void 0 && (V = C.ref);
1523
+ for (N in C)
1524
+ f.call(C, N) && !A.hasOwnProperty(N) && (H[N] = C[N]);
1525
+ if (S && S.defaultProps)
1526
+ for (N in C = S.defaultProps, C)
1527
+ H[N] === void 0 && (H[N] = C[N]);
1528
+ return { $$typeof: s, type: S, key: ne, ref: V, props: H, _owner: m.current };
1529
+ }
1530
+ return Qe.Fragment = d, Qe.jsx = M, Qe.jsxs = M, Qe;
1531
+ }
1532
+ var Je = {};
1533
+ /**
1534
+ * @license React
1535
+ * react-jsx-runtime.development.js
1536
+ *
1537
+ * Copyright (c) Facebook, Inc. and its affiliates.
1538
+ *
1539
+ * This source code is licensed under the MIT license found in the
1540
+ * LICENSE file in the root directory of this source tree.
1541
+ */
1542
+ var Ct;
1543
+ function ha() {
1544
+ return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && function() {
1545
+ var o = fe, s = Symbol.for("react.element"), d = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), M = Symbol.for("react.provider"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), ue = Symbol.iterator, Re = "@@iterator";
1546
+ function ce(t) {
1547
+ if (t === null || typeof t != "object")
1548
+ return null;
1549
+ var u = ue && t[ue] || t[Re];
1550
+ return typeof u == "function" ? u : null;
1551
+ }
1552
+ var de = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1553
+ function q(t) {
1554
+ {
1555
+ for (var u = arguments.length, p = new Array(u > 1 ? u - 1 : 0), v = 1; v < u; v++)
1556
+ p[v - 1] = arguments[v];
1557
+ ee("error", t, p);
1558
+ }
1559
+ }
1560
+ function ee(t, u, p) {
1561
+ {
1562
+ var v = de.ReactDebugCurrentFrame, T = v.getStackAddendum();
1563
+ T !== "" && (u += "%s", p = p.concat([T]));
1564
+ var I = p.map(function(j) {
1565
+ return String(j);
1566
+ });
1567
+ I.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, I);
1568
+ }
1569
+ }
1570
+ var be = !1, Q = !1, w = !1, k = !1, he = !1, _e;
1571
+ _e = Symbol.for("react.module.reference");
1572
+ function xe(t) {
1573
+ return !!(typeof t == "string" || typeof t == "function" || t === f || t === A || he || t === m || t === L || t === N || k || t === V || be || Q || w || typeof t == "object" && t !== null && (t.$$typeof === ne || t.$$typeof === H || t.$$typeof === M || t.$$typeof === S || t.$$typeof === C || // This needs to include all possible module reference object
1574
+ // types supported by any Flight configuration anywhere since
1575
+ // we don't know which Flight build this will end up being used
1576
+ // with.
1577
+ t.$$typeof === _e || t.getModuleId !== void 0));
1578
+ }
1579
+ function Ce(t, u, p) {
1580
+ var v = t.displayName;
1581
+ if (v)
1582
+ return v;
1583
+ var T = u.displayName || u.name || "";
1584
+ return T !== "" ? p + "(" + T + ")" : p;
1585
+ }
1586
+ function me(t) {
1587
+ return t.displayName || "Context";
1588
+ }
1589
+ function J(t) {
1590
+ if (t == null)
1591
+ return null;
1592
+ if (typeof t.tag == "number" && q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
1593
+ return t.displayName || t.name || null;
1594
+ if (typeof t == "string")
1595
+ return t;
1596
+ switch (t) {
1597
+ case f:
1598
+ return "Fragment";
1599
+ case d:
1600
+ return "Portal";
1601
+ case A:
1602
+ return "Profiler";
1603
+ case m:
1604
+ return "StrictMode";
1605
+ case L:
1606
+ return "Suspense";
1607
+ case N:
1608
+ return "SuspenseList";
1609
+ }
1610
+ if (typeof t == "object")
1611
+ switch (t.$$typeof) {
1612
+ case S:
1613
+ var u = t;
1614
+ return me(u) + ".Consumer";
1615
+ case M:
1616
+ var p = t;
1617
+ return me(p._context) + ".Provider";
1618
+ case C:
1619
+ return Ce(t, t.render, "ForwardRef");
1620
+ case H:
1621
+ var v = t.displayName || null;
1622
+ return v !== null ? v : J(t.type) || "Memo";
1623
+ case ne: {
1624
+ var T = t, I = T._payload, j = T._init;
1625
+ try {
1626
+ return J(j(I));
1627
+ } catch {
1628
+ return null;
1629
+ }
1630
+ }
1631
+ }
1632
+ return null;
1633
+ }
1634
+ var oe = Object.assign, re = 0, pe, _, le, we, a, l, x;
1635
+ function O() {
1636
+ }
1637
+ O.__reactDisabledLog = !0;
1638
+ function R() {
1639
+ {
1640
+ if (re === 0) {
1641
+ pe = console.log, _ = console.info, le = console.warn, we = console.error, a = console.group, l = console.groupCollapsed, x = console.groupEnd;
1642
+ var t = {
1643
+ configurable: !0,
1644
+ enumerable: !0,
1645
+ value: O,
1646
+ writable: !0
1647
+ };
1648
+ Object.defineProperties(console, {
1649
+ info: t,
1650
+ log: t,
1651
+ warn: t,
1652
+ error: t,
1653
+ group: t,
1654
+ groupCollapsed: t,
1655
+ groupEnd: t
1656
+ });
1657
+ }
1658
+ re++;
1659
+ }
1660
+ }
1661
+ function U() {
1662
+ {
1663
+ if (re--, re === 0) {
1664
+ var t = {
1665
+ configurable: !0,
1666
+ enumerable: !0,
1667
+ writable: !0
1668
+ };
1669
+ Object.defineProperties(console, {
1670
+ log: oe({}, t, {
1671
+ value: pe
1672
+ }),
1673
+ info: oe({}, t, {
1674
+ value: _
1675
+ }),
1676
+ warn: oe({}, t, {
1677
+ value: le
1678
+ }),
1679
+ error: oe({}, t, {
1680
+ value: we
1681
+ }),
1682
+ group: oe({}, t, {
1683
+ value: a
1684
+ }),
1685
+ groupCollapsed: oe({}, t, {
1686
+ value: l
1687
+ }),
1688
+ groupEnd: oe({}, t, {
1689
+ value: x
1690
+ })
1691
+ });
1692
+ }
1693
+ re < 0 && q("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1694
+ }
1695
+ }
1696
+ var W = de.ReactCurrentDispatcher, F;
1697
+ function D(t, u, p) {
1698
+ {
1699
+ if (F === void 0)
1700
+ try {
1701
+ throw Error();
1702
+ } catch (T) {
1703
+ var v = T.stack.trim().match(/\n( *(at )?)/);
1704
+ F = v && v[1] || "";
1705
+ }
1706
+ return `
1707
+ ` + F + t;
1708
+ }
1709
+ }
1710
+ var ae = !1, je;
1711
+ {
1712
+ var xr = typeof WeakMap == "function" ? WeakMap : Map;
1713
+ je = new xr();
1714
+ }
1715
+ function er(t, u) {
1716
+ if (!t || ae)
1717
+ return "";
1718
+ {
1719
+ var p = je.get(t);
1720
+ if (p !== void 0)
1721
+ return p;
1722
+ }
1723
+ var v;
1724
+ ae = !0;
1725
+ var T = Error.prepareStackTrace;
1726
+ Error.prepareStackTrace = void 0;
1727
+ var I;
1728
+ I = W.current, W.current = null, R();
1729
+ try {
1730
+ if (u) {
1731
+ var j = function() {
1732
+ throw Error();
1733
+ };
1734
+ if (Object.defineProperty(j.prototype, "props", {
1735
+ set: function() {
1736
+ throw Error();
1737
+ }
1738
+ }), typeof Reflect == "object" && Reflect.construct) {
1739
+ try {
1740
+ Reflect.construct(j, []);
1741
+ } catch (ye) {
1742
+ v = ye;
1743
+ }
1744
+ Reflect.construct(t, [], j);
1745
+ } else {
1746
+ try {
1747
+ j.call();
1748
+ } catch (ye) {
1749
+ v = ye;
1750
+ }
1751
+ t.call(j.prototype);
1752
+ }
1753
+ } else {
1754
+ try {
1755
+ throw Error();
1756
+ } catch (ye) {
1757
+ v = ye;
1758
+ }
1759
+ t();
1760
+ }
1761
+ } catch (ye) {
1762
+ if (ye && v && typeof ye.stack == "string") {
1763
+ for (var z = ye.stack.split(`
1764
+ `), se = v.stack.split(`
1765
+ `), K = z.length - 1, Z = se.length - 1; K >= 1 && Z >= 0 && z[K] !== se[Z]; )
1766
+ Z--;
1767
+ for (; K >= 1 && Z >= 0; K--, Z--)
1768
+ if (z[K] !== se[Z]) {
1769
+ if (K !== 1 || Z !== 1)
1770
+ do
1771
+ if (K--, Z--, Z < 0 || z[K] !== se[Z]) {
1772
+ var ve = `
1773
+ ` + z[K].replace(" at new ", " at ");
1774
+ return t.displayName && ve.includes("<anonymous>") && (ve = ve.replace("<anonymous>", t.displayName)), typeof t == "function" && je.set(t, ve), ve;
1775
+ }
1776
+ while (K >= 1 && Z >= 0);
1777
+ break;
1778
+ }
1779
+ }
1780
+ } finally {
1781
+ ae = !1, W.current = I, U(), Error.prepareStackTrace = T;
1782
+ }
1783
+ var Pe = t ? t.displayName || t.name : "", fr = Pe ? D(Pe) : "";
1784
+ return typeof t == "function" && je.set(t, fr), fr;
1785
+ }
1786
+ function $e(t, u, p) {
1787
+ return er(t, !1);
1788
+ }
1789
+ function gr(t) {
1790
+ var u = t.prototype;
1791
+ return !!(u && u.isReactComponent);
1792
+ }
1793
+ function Ve(t, u, p) {
1794
+ if (t == null)
1795
+ return "";
1796
+ if (typeof t == "function")
1797
+ return er(t, gr(t));
1798
+ if (typeof t == "string")
1799
+ return D(t);
1800
+ switch (t) {
1801
+ case L:
1802
+ return D("Suspense");
1803
+ case N:
1804
+ return D("SuspenseList");
1805
+ }
1806
+ if (typeof t == "object")
1807
+ switch (t.$$typeof) {
1808
+ case C:
1809
+ return $e(t.render);
1810
+ case H:
1811
+ return Ve(t.type, u, p);
1812
+ case ne: {
1813
+ var v = t, T = v._payload, I = v._init;
1814
+ try {
1815
+ return Ve(I(T), u, p);
1816
+ } catch {
1817
+ }
1818
+ }
1819
+ }
1820
+ return "";
1821
+ }
1822
+ var Te = Object.prototype.hasOwnProperty, Me = {}, rr = de.ReactDebugCurrentFrame;
1823
+ function Ae(t) {
1824
+ if (t) {
1825
+ var u = t._owner, p = Ve(t.type, t._source, u ? u.type : null);
1826
+ rr.setExtraStackFrame(p);
1827
+ } else
1828
+ rr.setExtraStackFrame(null);
1829
+ }
1830
+ function ge(t, u, p, v, T) {
1831
+ {
1832
+ var I = Function.call.bind(Te);
1833
+ for (var j in t)
1834
+ if (I(t, j)) {
1835
+ var z = void 0;
1836
+ try {
1837
+ if (typeof t[j] != "function") {
1838
+ var se = Error((v || "React class") + ": " + p + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1839
+ throw se.name = "Invariant Violation", se;
1840
+ }
1841
+ z = t[j](u, j, v, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1842
+ } catch (K) {
1843
+ z = K;
1844
+ }
1845
+ z && !(z instanceof Error) && (Ae(T), q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", p, j, typeof z), Ae(null)), z instanceof Error && !(z.message in Me) && (Me[z.message] = !0, Ae(T), q("Failed %s type: %s", p, z.message), Ae(null));
1846
+ }
1847
+ }
1848
+ }
1849
+ var De = Array.isArray;
1850
+ function Ue(t) {
1851
+ return De(t);
1852
+ }
1853
+ function tr(t) {
1854
+ {
1855
+ var u = typeof Symbol == "function" && Symbol.toStringTag, p = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
1856
+ return p;
1857
+ }
1858
+ }
1859
+ function ar(t) {
1860
+ try {
1861
+ return We(t), !1;
1862
+ } catch {
1863
+ return !0;
1864
+ }
1865
+ }
1866
+ function We(t) {
1867
+ return "" + t;
1868
+ }
1869
+ function He(t) {
1870
+ if (ar(t))
1871
+ return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tr(t)), We(t);
1872
+ }
1873
+ var Se = de.ReactCurrentOwner, Cr = {
1874
+ key: !0,
1875
+ ref: !0,
1876
+ __self: !0,
1877
+ __source: !0
1878
+ }, nr, or, Ie;
1879
+ Ie = {};
1880
+ function wr(t) {
1881
+ if (Te.call(t, "ref")) {
1882
+ var u = Object.getOwnPropertyDescriptor(t, "ref").get;
1883
+ if (u && u.isReactWarning)
1884
+ return !1;
1885
+ }
1886
+ return t.ref !== void 0;
1887
+ }
1888
+ function zr(t) {
1889
+ if (Te.call(t, "key")) {
1890
+ var u = Object.getOwnPropertyDescriptor(t, "key").get;
1891
+ if (u && u.isReactWarning)
1892
+ return !1;
1893
+ }
1894
+ return t.key !== void 0;
1895
+ }
1896
+ function Er(t, u) {
1897
+ if (typeof t.ref == "string" && Se.current && u && Se.current.stateNode !== u) {
1898
+ var p = J(Se.current.type);
1899
+ Ie[p] || (q('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', J(Se.current.type), t.ref), Ie[p] = !0);
1900
+ }
1901
+ }
1902
+ function ke(t, u) {
1903
+ {
1904
+ var p = function() {
1905
+ nr || (nr = !0, q("%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)", u));
1906
+ };
1907
+ p.isReactWarning = !0, Object.defineProperty(t, "key", {
1908
+ get: p,
1909
+ configurable: !0
1910
+ });
1911
+ }
1912
+ }
1913
+ function sr(t, u) {
1914
+ {
1915
+ var p = function() {
1916
+ or || (or = !0, q("%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)", u));
1917
+ };
1918
+ p.isReactWarning = !0, Object.defineProperty(t, "ref", {
1919
+ get: p,
1920
+ configurable: !0
1921
+ });
1922
+ }
1923
+ }
1924
+ var Rr = function(t, u, p, v, T, I, j) {
1925
+ var z = {
1926
+ // This tag allows us to uniquely identify this as a React Element
1927
+ $$typeof: s,
1928
+ // Built-in properties that belong on the element
1929
+ type: t,
1930
+ key: u,
1931
+ ref: p,
1932
+ props: j,
1933
+ // Record the component responsible for creating this element.
1934
+ _owner: I
1935
+ };
1936
+ return z._store = {}, Object.defineProperty(z._store, "validated", {
1937
+ configurable: !1,
1938
+ enumerable: !1,
1939
+ writable: !0,
1940
+ value: !1
1941
+ }), Object.defineProperty(z, "_self", {
1942
+ configurable: !1,
1943
+ enumerable: !1,
1944
+ writable: !1,
1945
+ value: v
1946
+ }), Object.defineProperty(z, "_source", {
1947
+ configurable: !1,
1948
+ enumerable: !1,
1949
+ writable: !1,
1950
+ value: T
1951
+ }), Object.freeze && (Object.freeze(z.props), Object.freeze(z)), z;
1952
+ };
1953
+ function jr(t, u, p, v, T) {
1954
+ {
1955
+ var I, j = {}, z = null, se = null;
1956
+ p !== void 0 && (He(p), z = "" + p), zr(u) && (He(u.key), z = "" + u.key), wr(u) && (se = u.ref, Er(u, T));
1957
+ for (I in u)
1958
+ Te.call(u, I) && !Cr.hasOwnProperty(I) && (j[I] = u[I]);
1959
+ if (t && t.defaultProps) {
1960
+ var K = t.defaultProps;
1961
+ for (I in K)
1962
+ j[I] === void 0 && (j[I] = K[I]);
1963
+ }
1964
+ if (z || se) {
1965
+ var Z = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
1966
+ z && ke(j, Z), se && sr(j, Z);
1967
+ }
1968
+ return Rr(t, z, se, T, v, Se.current, j);
1969
+ }
1970
+ }
1971
+ var qe = de.ReactCurrentOwner, ir = de.ReactDebugCurrentFrame;
1972
+ function ze(t) {
1973
+ if (t) {
1974
+ var u = t._owner, p = Ve(t.type, t._source, u ? u.type : null);
1975
+ ir.setExtraStackFrame(p);
1976
+ } else
1977
+ ir.setExtraStackFrame(null);
1978
+ }
1979
+ var Ne;
1980
+ Ne = !1;
1981
+ function Oe(t) {
1982
+ return typeof t == "object" && t !== null && t.$$typeof === s;
1983
+ }
1984
+ function Fe() {
1985
+ {
1986
+ if (qe.current) {
1987
+ var t = J(qe.current.type);
1988
+ if (t)
1989
+ return `
1990
+
1991
+ Check the render method of \`` + t + "`.";
1992
+ }
1993
+ return "";
1994
+ }
1995
+ }
1996
+ function Sr(t) {
1997
+ {
1998
+ if (t !== void 0) {
1999
+ var u = t.fileName.replace(/^.*[\\\/]/, ""), p = t.lineNumber;
2000
+ return `
2001
+
2002
+ Check your code at ` + u + ":" + p + ".";
2003
+ }
2004
+ return "";
2005
+ }
2006
+ }
2007
+ var ur = {};
2008
+ function kr(t) {
2009
+ {
2010
+ var u = Fe();
2011
+ if (!u) {
2012
+ var p = typeof t == "string" ? t : t.displayName || t.name;
2013
+ p && (u = `
2014
+
2015
+ Check the top-level render call using <` + p + ">.");
2016
+ }
2017
+ return u;
2018
+ }
2019
+ }
2020
+ function lr(t, u) {
2021
+ {
2022
+ if (!t._store || t._store.validated || t.key != null)
2023
+ return;
2024
+ t._store.validated = !0;
2025
+ var p = kr(u);
2026
+ if (ur[p])
2027
+ return;
2028
+ ur[p] = !0;
2029
+ var v = "";
2030
+ t && t._owner && t._owner !== qe.current && (v = " It was passed a child from " + J(t._owner.type) + "."), ze(t), q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, v), ze(null);
2031
+ }
2032
+ }
2033
+ function cr(t, u) {
2034
+ {
2035
+ if (typeof t != "object")
2036
+ return;
2037
+ if (Ue(t))
2038
+ for (var p = 0; p < t.length; p++) {
2039
+ var v = t[p];
2040
+ Oe(v) && lr(v, u);
2041
+ }
2042
+ else if (Oe(t))
2043
+ t._store && (t._store.validated = !0);
2044
+ else if (t) {
2045
+ var T = ce(t);
2046
+ if (typeof T == "function" && T !== t.entries)
2047
+ for (var I = T.call(t), j; !(j = I.next()).done; )
2048
+ Oe(j.value) && lr(j.value, u);
2049
+ }
2050
+ }
2051
+ }
2052
+ function Le(t) {
2053
+ {
2054
+ var u = t.type;
2055
+ if (u == null || typeof u == "string")
2056
+ return;
2057
+ var p;
2058
+ if (typeof u == "function")
2059
+ p = u.propTypes;
2060
+ else if (typeof u == "object" && (u.$$typeof === C || // Note: Memo only checks outer props here.
2061
+ // Inner props are checked in the reconciler.
2062
+ u.$$typeof === H))
2063
+ p = u.propTypes;
2064
+ else
2065
+ return;
2066
+ if (p) {
2067
+ var v = J(u);
2068
+ ge(p, t.props, "prop", v, t);
2069
+ } else if (u.PropTypes !== void 0 && !Ne) {
2070
+ Ne = !0;
2071
+ var T = J(u);
2072
+ q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
2073
+ }
2074
+ typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2075
+ }
2076
+ }
2077
+ function Ke(t) {
2078
+ {
2079
+ for (var u = Object.keys(t.props), p = 0; p < u.length; p++) {
2080
+ var v = u[p];
2081
+ if (v !== "children" && v !== "key") {
2082
+ ze(t), q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), ze(null);
2083
+ break;
2084
+ }
2085
+ }
2086
+ t.ref !== null && (ze(t), q("Invalid attribute `ref` supplied to `React.Fragment`."), ze(null));
2087
+ }
2088
+ }
2089
+ function Ge(t, u, p, v, T, I) {
2090
+ {
2091
+ var j = xe(t);
2092
+ if (!j) {
2093
+ var z = "";
2094
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (z += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2095
+ var se = Sr(T);
2096
+ se ? z += se : z += Fe();
2097
+ var K;
2098
+ t === null ? K = "null" : Ue(t) ? K = "array" : t !== void 0 && t.$$typeof === s ? (K = "<" + (J(t.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : K = typeof t, q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, z);
2099
+ }
2100
+ var Z = jr(t, u, p, T, I);
2101
+ if (Z == null)
2102
+ return Z;
2103
+ if (j) {
2104
+ var ve = u.children;
2105
+ if (ve !== void 0)
2106
+ if (v)
2107
+ if (Ue(ve)) {
2108
+ for (var Pe = 0; Pe < ve.length; Pe++)
2109
+ cr(ve[Pe], t);
2110
+ Object.freeze && Object.freeze(ve);
2111
+ } else
2112
+ q("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2113
+ else
2114
+ cr(ve, t);
2115
+ }
2116
+ return t === f ? Ke(Z) : Le(Z), Z;
2117
+ }
2118
+ }
2119
+ function Or(t, u, p) {
2120
+ return Ge(t, u, p, !0);
2121
+ }
2122
+ function Pr(t, u, p) {
2123
+ return Ge(t, u, p, !1);
2124
+ }
2125
+ var Tr = Pr, Mr = Or;
2126
+ Je.Fragment = f, Je.jsx = Tr, Je.jsxs = Mr;
2127
+ }()), Je;
2128
+ }
2129
+ process.env.NODE_ENV === "production" ? qr.exports = da() : qr.exports = ha();
2130
+ var h = qr.exports;
2131
+ function St(o) {
2132
+ var s, d, f = "";
2133
+ if (typeof o == "string" || typeof o == "number")
2134
+ f += o;
2135
+ else if (typeof o == "object")
2136
+ if (Array.isArray(o)) {
2137
+ var m = o.length;
2138
+ for (s = 0; s < m; s++)
2139
+ o[s] && (d = St(o[s])) && (f && (f += " "), f += d);
2140
+ } else
2141
+ for (d in o)
2142
+ o[d] && (f && (f += " "), f += d);
2143
+ return f;
2144
+ }
2145
+ function Ee() {
2146
+ for (var o, s, d = 0, f = "", m = arguments.length; d < m; d++)
2147
+ (o = arguments[d]) && (s = St(o)) && (f && (f += " "), f += s);
2148
+ return f;
2149
+ }
2150
+ var pa = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
2151
+ const kt = ({ className: o, variant: s = "default" }) => /* @__PURE__ */ h.jsx("div", { className: Ee(pa[s], o) });
2152
+ var va = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, ba = "eccmw9", _a = "eccmwa", ma = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
2153
+ const Ot = fe.forwardRef(
2154
+ ({
2155
+ children: o,
2156
+ onClick: s,
2157
+ className: d,
2158
+ type: f = "button",
2159
+ variant: m = "primary",
2160
+ testId: A,
2161
+ icon: M,
2162
+ disabled: S,
2163
+ loading: C = !1
2164
+ }, L) => /* @__PURE__ */ h.jsx(
2165
+ "button",
2166
+ {
2167
+ ref: L,
2168
+ "data-testid": A,
2169
+ type: f,
2170
+ disabled: S,
2171
+ className: Ee(
2172
+ "sid-button",
2173
+ `sid-button--${m}`,
2174
+ va[m],
2175
+ { [ba]: S },
2176
+ d
2177
+ ),
2178
+ onClick: s,
2179
+ children: C ? /* @__PURE__ */ h.jsx(kt, { variant: "short", className: ma[m] }) : /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
2180
+ M ? /* @__PURE__ */ h.jsx("i", { className: _a, children: M }) : null,
2181
+ o
2182
+ ] })
2183
+ }
2184
+ )
2185
+ );
2186
+ Ot.displayName = "Button";
2187
+ var ya = "_1doytsg0", xa = "_1doytsg3", ga = "_1doytsg4", Ca = { text: "_1doytsg6 _1doytsg5", email: "_1doytsg7 _1doytsg5", password: "_1doytsg8 _1doytsg5", tel: "_1doytsg9 _1doytsg5" }, wa = "_1doytsga", za = "_1doytsgc";
2188
+ const Ea = ({
2189
+ id: o,
2190
+ name: s,
2191
+ label: d,
2192
+ placeholder: f = "",
2193
+ autoComplete: m = "",
2194
+ value: A,
2195
+ onChange: M,
2196
+ type: S = "text"
2197
+ }) => {
2198
+ const C = fe.useCallback(
2199
+ (L) => {
2200
+ M(L);
2201
+ },
2202
+ [M]
2203
+ );
2204
+ return /* @__PURE__ */ h.jsxs("div", { className: Ca[S], children: [
2205
+ /* @__PURE__ */ h.jsx("label", { htmlFor: o, className: wa, children: d }),
2206
+ /* @__PURE__ */ h.jsx(
2207
+ "input",
2208
+ {
2209
+ type: S,
2210
+ id: o,
2211
+ name: s,
2212
+ className: ya,
2213
+ placeholder: f,
2214
+ value: A,
2215
+ onChange: C,
2216
+ autoComplete: m
2217
+ }
2218
+ )
2219
+ ] });
2220
+ }, Hr = `
2221
+ @media (prefers-color-scheme: dark) {
2222
+ .sid-theme-root__auto path { fill: white; }
2223
+ }
2224
+
2225
+ .sid-theme-root__dark path { fill: white; }
2226
+ `;
2227
+ function Ra() {
2228
+ return /* @__PURE__ */ h.jsxs(
2229
+ "svg",
2230
+ {
2231
+ width: "5",
2232
+ height: "20",
2233
+ viewBox: "0 0 5 20",
2234
+ fill: "none",
2235
+ xmlns: "http://www.w3.org/2000/svg",
2236
+ children: [
2237
+ /* @__PURE__ */ h.jsx(
2238
+ "path",
2239
+ {
2240
+ fillRule: "evenodd",
2241
+ clipRule: "evenodd",
2242
+ d: "M2.5 0C3.32843 1.19209e-07 4 0.671573 4 1.5L4 11.5C4 12.3284 3.32843 13 2.5 13C1.67157 13 1 12.3284 1 11.5L1 1.5C1 0.671573 1.67157 -1.19209e-07 2.5 0Z",
2243
+ fill: "white"
2244
+ }
2245
+ ),
2246
+ /* @__PURE__ */ h.jsx(
2247
+ "path",
2248
+ {
2249
+ 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",
2250
+ fill: "white"
2251
+ }
2252
+ )
2253
+ ]
2254
+ }
2255
+ );
2256
+ }
2257
+ const ja = () => /* @__PURE__ */ h.jsxs(
2258
+ "svg",
2259
+ {
2260
+ width: "16",
2261
+ height: "16",
2262
+ viewBox: "0 0 16 16",
2263
+ fill: "none",
2264
+ xmlns: "http://www.w3.org/2000/svg",
2265
+ children: [
2266
+ /* @__PURE__ */ h.jsx("style", { children: Hr }),
2267
+ /* @__PURE__ */ h.jsx("g", { clipPath: "url(#clip0_2610_9920)", children: /* @__PURE__ */ h.jsx(
2268
+ "path",
2269
+ {
2270
+ fillRule: "evenodd",
2271
+ clipRule: "evenodd",
2272
+ d: "M0.220551 7.4C1.00905 5.8258 3.50342 2 8.00001 2C12.4966 2 14.991 5.8258 15.7796 7.4C16.0733 7.98635 16.0737 8.0153 15.7796 8.60228C14.99 10.1778 12.4949 14 8.00001 14C3.50298 14 1.00762 10.1738 0.219399 8.6C-0.0739824 8.01422 -0.0726647 7.98539 0.220551 7.4ZM8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12ZM9.5 8C9.5 8.82843 8.82843 9.5 8 9.5C7.17157 9.5 6.5 8.82843 6.5 8C6.5 7.17157 7.17157 6.5 8 6.5C8.82843 6.5 9.5 7.17157 9.5 8Z",
2273
+ fill: "#142049"
2274
+ }
2275
+ ) }),
2276
+ /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "clip0_2610_9920", children: /* @__PURE__ */ h.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
2277
+ ]
2278
+ }
2279
+ ), Sa = () => /* @__PURE__ */ h.jsxs(
2280
+ "svg",
2281
+ {
2282
+ width: "16",
2283
+ height: "16",
2284
+ viewBox: "0 0 16 16",
2285
+ fill: "none",
2286
+ xmlns: "http://www.w3.org/2000/svg",
2287
+ children: [
2288
+ /* @__PURE__ */ h.jsx("style", { children: Hr }),
2289
+ /* @__PURE__ */ h.jsxs("g", { clipPath: "url(#clip0_2610_9933)", children: [
2290
+ /* @__PURE__ */ h.jsx(
2291
+ "path",
2292
+ {
2293
+ fillRule: "evenodd",
2294
+ clipRule: "evenodd",
2295
+ d: "M0.220551 7.4C1.00905 5.8258 3.50342 2 8.00001 2C12.4966 2 14.991 5.8258 15.7796 7.4C16.0733 7.98635 16.0737 8.0153 15.7796 8.60228C14.99 10.1778 12.4949 14 8.00001 14C3.50298 14 1.00762 10.1738 0.219399 8.6C-0.0739824 8.01422 -0.0726647 7.98539 0.220551 7.4ZM8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12ZM9.5 8C9.5 8.82843 8.82843 9.5 8 9.5C7.17157 9.5 6.5 8.82843 6.5 8C6.5 7.17157 7.17157 6.5 8 6.5C8.82843 6.5 9.5 7.17157 9.5 8Z",
2296
+ fill: "#142049"
2297
+ }
2298
+ ),
2299
+ /* @__PURE__ */ h.jsx(
2300
+ "path",
2301
+ {
2302
+ d: "M2.34314 2.34315L13.6568 13.6569",
2303
+ stroke: "#142049",
2304
+ strokeWidth: "1.5",
2305
+ strokeLinecap: "round"
2306
+ }
2307
+ )
2308
+ ] }),
2309
+ /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "clip0_2610_9933", children: /* @__PURE__ */ h.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
2310
+ ]
2311
+ }
2312
+ ), ka = () => /* @__PURE__ */ h.jsxs(
2313
+ "svg",
2314
+ {
2315
+ width: "40",
2316
+ height: "40",
2317
+ viewBox: "0 0 40 40",
2318
+ fill: "none",
2319
+ xmlns: "http://www.w3.org/2000/svg",
2320
+ children: [
2321
+ /* @__PURE__ */ h.jsx("style", { children: Hr }),
2322
+ /* @__PURE__ */ h.jsx("path", { d: "M12.686 10L2 30.228H5.198L15.884 10H12.686Z", fill: "#2A6AFF" }),
2323
+ /* @__PURE__ */ h.jsx(
2324
+ "path",
2325
+ {
2326
+ 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",
2327
+ fill: "#142049"
2328
+ }
2329
+ )
2330
+ ]
2331
+ }
2332
+ ), wt = (o) => {
2333
+ const [s, d] = fe.useState(!1);
2334
+ return /* @__PURE__ */ h.jsxs(
2335
+ "div",
2336
+ {
2337
+ className: Ee(
2338
+ "sid-input",
2339
+ "sid-input--password",
2340
+ xa,
2341
+ o.error && ga,
2342
+ o.className
2343
+ ),
2344
+ children: [
2345
+ /* @__PURE__ */ h.jsx(Ea, { ...o, type: s ? "text" : "password" }),
2346
+ /* @__PURE__ */ h.jsx(
2347
+ "button",
2348
+ {
2349
+ tabIndex: -1,
2350
+ className: za,
2351
+ type: "button",
2352
+ onClick: () => d(!s),
2353
+ children: s ? /* @__PURE__ */ h.jsx(Sa, {}) : /* @__PURE__ */ h.jsx(ja, {})
2354
+ }
2355
+ )
2356
+ ]
2357
+ }
2358
+ );
2359
+ };
2360
+ var Oa = "_1rf2mux3", Pa = "_1rf2mux5", Ta = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4" }, Ma = "_1rf2mux9", Aa = { blue: "_1rf2muxa _1rf2mux8", red: "_1rf2muxb _1rf2mux8" }, Da = "_1rf2muxd", Ia = { blue: "_1rf2muxe _1rf2muxc", red: "_1rf2muxf _1rf2muxc" }, Na = "_1rf2muxg";
2361
+ const Kr = ({
2362
+ children: o,
2363
+ className: s,
2364
+ variant: d = "blue",
2365
+ shouldAnimate: f = !0
2366
+ }) => /* @__PURE__ */ h.jsxs("div", { className: Ee(Oa, s), children: [
2367
+ /* @__PURE__ */ h.jsx(
2368
+ "div",
2369
+ {
2370
+ className: Ee(Ta[d], {
2371
+ [Pa]: f
2372
+ })
2373
+ }
2374
+ ),
2375
+ /* @__PURE__ */ h.jsx(
2376
+ "div",
2377
+ {
2378
+ className: Ee(Aa[d], {
2379
+ [Ma]: f
2380
+ })
2381
+ }
2382
+ ),
2383
+ /* @__PURE__ */ h.jsx(
2384
+ "div",
2385
+ {
2386
+ className: Ee(Ia[d], {
2387
+ [Da]: f
2388
+ })
2389
+ }
2390
+ ),
2391
+ /* @__PURE__ */ h.jsx("div", { className: Na, children: o })
2392
+ ] });
2393
+ function Fa(o, s, d) {
2394
+ return s in o ? Object.defineProperty(o, s, {
2395
+ value: d,
2396
+ enumerable: !0,
2397
+ configurable: !0,
2398
+ writable: !0
2399
+ }) : o[s] = d, o;
2400
+ }
2401
+ function zt(o, s) {
2402
+ var d = Object.keys(o);
2403
+ if (Object.getOwnPropertySymbols) {
2404
+ var f = Object.getOwnPropertySymbols(o);
2405
+ s && (f = f.filter(function(m) {
2406
+ return Object.getOwnPropertyDescriptor(o, m).enumerable;
2407
+ })), d.push.apply(d, f);
2408
+ }
2409
+ return d;
2410
+ }
2411
+ function Et(o) {
2412
+ for (var s = 1; s < arguments.length; s++) {
2413
+ var d = arguments[s] != null ? arguments[s] : {};
2414
+ s % 2 ? zt(Object(d), !0).forEach(function(f) {
2415
+ Fa(o, f, d[f]);
2416
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(d)) : zt(Object(d)).forEach(function(f) {
2417
+ Object.defineProperty(o, f, Object.getOwnPropertyDescriptor(d, f));
2418
+ });
2419
+ }
2420
+ return o;
2421
+ }
2422
+ var La = (o, s, d) => {
2423
+ for (var f of Object.keys(o)) {
2424
+ var m;
2425
+ if (o[f] !== ((m = s[f]) !== null && m !== void 0 ? m : d[f]))
2426
+ return !1;
2427
+ }
2428
+ return !0;
2429
+ }, Pt = (o) => (s) => {
2430
+ var d = o.defaultClassName, f = Et(Et({}, o.defaultVariants), s);
2431
+ for (var m in f) {
2432
+ var A, M = (A = f[m]) !== null && A !== void 0 ? A : o.defaultVariants[m];
2433
+ if (M != null) {
2434
+ var S = M;
2435
+ typeof S == "boolean" && (S = S === !0 ? "true" : "false");
2436
+ var C = (
2437
+ // @ts-expect-error
2438
+ o.variantClassNames[m][S]
2439
+ );
2440
+ C && (d += " " + C);
2441
+ }
2442
+ }
2443
+ for (var [L, N] of o.compoundVariants)
2444
+ La(L, f, o.defaultVariants) && (d += " " + N);
2445
+ return d;
2446
+ }, $a = Pt({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
2447
+ function Va(o, s) {
2448
+ if (typeof o != "object" || o === null)
2449
+ return o;
2450
+ var d = o[Symbol.toPrimitive];
2451
+ if (d !== void 0) {
2452
+ var f = d.call(o, s || "default");
2453
+ if (typeof f != "object")
2454
+ return f;
2455
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2456
+ }
2457
+ return (s === "string" ? String : Number)(o);
2458
+ }
2459
+ function Ua(o) {
2460
+ var s = Va(o, "string");
2461
+ return typeof s == "symbol" ? s : String(s);
2462
+ }
2463
+ function Wa(o, s, d) {
2464
+ return s = Ua(s), s in o ? Object.defineProperty(o, s, {
2465
+ value: d,
2466
+ enumerable: !0,
2467
+ configurable: !0,
2468
+ writable: !0
2469
+ }) : o[s] = d, o;
2470
+ }
2471
+ function Rt(o, s) {
2472
+ var d = Object.keys(o);
2473
+ if (Object.getOwnPropertySymbols) {
2474
+ var f = Object.getOwnPropertySymbols(o);
2475
+ s && (f = f.filter(function(m) {
2476
+ return Object.getOwnPropertyDescriptor(o, m).enumerable;
2477
+ })), d.push.apply(d, f);
2478
+ }
2479
+ return d;
2480
+ }
2481
+ function Ur(o) {
2482
+ for (var s = 1; s < arguments.length; s++) {
2483
+ var d = arguments[s] != null ? arguments[s] : {};
2484
+ s % 2 ? Rt(Object(d), !0).forEach(function(f) {
2485
+ Wa(o, f, d[f]);
2486
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(d)) : Rt(Object(d)).forEach(function(f) {
2487
+ Object.defineProperty(o, f, Object.getOwnPropertyDescriptor(d, f));
2488
+ });
2489
+ }
2490
+ return o;
2491
+ }
2492
+ var qa = (o) => function() {
2493
+ for (var s = arguments.length, d = new Array(s), f = 0; f < s; f++)
2494
+ d[f] = arguments[f];
2495
+ var m = Object.assign({}, ...d.map((C) => C.styles)), A = Object.keys(m), M = A.filter((C) => "mappings" in m[C]), S = (C) => {
2496
+ var L = [], N = {}, H = Ur({}, C), ne = !1;
2497
+ for (var V of M) {
2498
+ var ue = C[V];
2499
+ if (ue != null) {
2500
+ var Re = m[V];
2501
+ ne = !0;
2502
+ for (var ce of Re.mappings)
2503
+ N[ce] = ue, H[ce] == null && delete H[ce];
2504
+ }
2505
+ }
2506
+ var de = ne ? Ur(Ur({}, N), H) : C, q = function() {
2507
+ var w = de[ee], k = m[ee];
2508
+ try {
2509
+ if (k.mappings)
2510
+ return "continue";
2511
+ if (typeof w == "string" || typeof w == "number") {
2512
+ if (process.env.NODE_ENV !== "production" && !k.values[w].defaultClass)
2513
+ throw new Error();
2514
+ L.push(k.values[w].defaultClass);
2515
+ } else if (Array.isArray(w))
2516
+ for (var he = 0; he < w.length; he++) {
2517
+ var _e = w[he];
2518
+ if (_e != null) {
2519
+ var xe = k.responsiveArray[he];
2520
+ if (process.env.NODE_ENV !== "production" && !k.values[_e].conditions[xe])
2521
+ throw new Error();
2522
+ L.push(k.values[_e].conditions[xe]);
2523
+ }
2524
+ }
2525
+ else
2526
+ for (var Ce in w) {
2527
+ var me = w[Ce];
2528
+ if (me != null) {
2529
+ if (process.env.NODE_ENV !== "production" && !k.values[me].conditions[Ce])
2530
+ throw new Error();
2531
+ L.push(k.values[me].conditions[Ce]);
2532
+ }
2533
+ }
2534
+ } catch (we) {
2535
+ if (process.env.NODE_ENV !== "production") {
2536
+ class a extends Error {
2537
+ constructor(x) {
2538
+ super(x), this.name = "SprinklesError";
2539
+ }
2540
+ }
2541
+ var J = (l) => typeof l == "string" ? '"'.concat(l, '"') : l, oe = (l, x, O) => {
2542
+ throw new a('"'.concat(l, '" has no value ').concat(J(x), ". Possible values are ").concat(Object.keys(O).map(J).join(", ")));
2543
+ };
2544
+ if (!k)
2545
+ throw new a('"'.concat(ee, '" is not a valid sprinkle'));
2546
+ if ((typeof w == "string" || typeof w == "number") && (w in k.values || oe(ee, w, k.values), !k.values[w].defaultClass))
2547
+ throw new a('"'.concat(ee, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(k.values[w].conditions).map(J).join(", ")));
2548
+ if (typeof w == "object") {
2549
+ if (!("conditions" in k.values[Object.keys(k.values)[0]]))
2550
+ throw new a('"'.concat(ee, '" is not a conditional property'));
2551
+ if (Array.isArray(w)) {
2552
+ if (!("responsiveArray" in k))
2553
+ throw new a('"'.concat(ee, '" does not support responsive arrays'));
2554
+ var re = k.responsiveArray.length;
2555
+ if (re < w.length)
2556
+ throw new a('"'.concat(ee, '" only supports up to ').concat(re, " breakpoints. You passed ").concat(w.length));
2557
+ for (var pe of w)
2558
+ k.values[pe] || oe(ee, pe, k.values);
2559
+ } else
2560
+ for (var _ in w) {
2561
+ var le = w[_];
2562
+ if (le != null && (k.values[le] || oe(ee, le, k.values), !k.values[le].conditions[_]))
2563
+ throw new a('"'.concat(ee, '" has no condition named ').concat(J(_), ". Possible values are ").concat(Object.keys(k.values[le].conditions).map(J).join(", ")));
2564
+ }
2565
+ }
2566
+ }
2567
+ throw we;
2568
+ }
2569
+ };
2570
+ for (var ee in de)
2571
+ var be = q();
2572
+ return o(L.join(" "));
2573
+ };
2574
+ return Object.assign(S, {
2575
+ properties: new Set(A)
2576
+ });
2577
+ }, Ya = (o) => o, Ba = function() {
2578
+ return qa(Ya)(...arguments);
2579
+ }, Tt = Ba({ 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" } } } } });
2580
+ const Gr = (o) => /* @__PURE__ */ h.jsx(
2581
+ "div",
2582
+ {
2583
+ className: Ee(
2584
+ "sid-stack",
2585
+ $a(o.variant),
2586
+ Tt({ gap: o.space || "2" }),
2587
+ o.className
2588
+ ),
2589
+ style: o.style,
2590
+ children: o.children
2591
+ }
2592
+ );
2593
+ var Ha = 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: [] });
2594
+ const Ka = {
2595
+ text: {}
2596
+ }, Mt = fe.createContext(Ka);
2597
+ Mt.displayName = "SlashIDTextContext";
2598
+ function Ga() {
2599
+ const { text: o } = fa.useContext(Mt);
2600
+ return o;
2601
+ }
2602
+ const Wr = {
2603
+ opening: "{{",
2604
+ closing: "}}"
2605
+ };
2606
+ function At(o, s) {
2607
+ return o.includes(Wr.opening) ? Object.keys(s).reduce(
2608
+ (f, m) => f.replace(
2609
+ `${Wr.opening}${m}${Wr.closing}`,
2610
+ s[m]
2611
+ ),
2612
+ o
2613
+ ) : o;
2614
+ }
2615
+ const Br = ({
2616
+ as: o,
2617
+ t: s,
2618
+ tokens: d,
2619
+ variant: f,
2620
+ className: m,
2621
+ children: A
2622
+ }) => {
2623
+ const M = Ga(), S = o || "p";
2624
+ return /* @__PURE__ */ h.jsxs(
2625
+ S,
2626
+ {
2627
+ className: Ee(
2628
+ "sid-text",
2629
+ `sid-text--${o}`,
2630
+ Ha(f),
2631
+ m
2632
+ ),
2633
+ children: [
2634
+ d ? At(M[s], d) : M[s],
2635
+ A || null
2636
+ ]
2637
+ }
2638
+ );
2639
+ };
2640
+ var Za = "iokgmp1";
2641
+ function jt({
2642
+ width: o,
2643
+ height: s,
2644
+ minHeight: d,
2645
+ maxHeight: f,
2646
+ minWidth: m,
2647
+ maxWidth: A
2648
+ }) {
2649
+ return /* @__PURE__ */ h.jsx(
2650
+ "div",
2651
+ {
2652
+ className: Za,
2653
+ style: {
2654
+ width: o,
2655
+ height: s,
2656
+ minHeight: d,
2657
+ maxHeight: f,
2658
+ minWidth: m,
2659
+ maxWidth: A
2660
+ }
2661
+ }
2662
+ );
2663
+ }
2664
+ function Qa() {
2665
+ return /* @__PURE__ */ h.jsx(Kr, { children: /* @__PURE__ */ h.jsx(kt, {}) });
2666
+ }
2667
+ function fn() {
2668
+ return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
2669
+ /* @__PURE__ */ h.jsxs(Gr, { space: "2", children: [
2670
+ /* @__PURE__ */ h.jsx(jt, { width: "75%", height: 24 }),
2671
+ /* @__PURE__ */ h.jsx(jt, { width: "50%", height: 16 })
2672
+ ] }),
2673
+ /* @__PURE__ */ h.jsx(Qa, {})
2674
+ ] });
2675
+ }
2676
+ const yr = (o) => /* @__PURE__ */ h.jsx(Br, { ...o });
2677
+ function Ja({ type: o }) {
2678
+ return /* @__PURE__ */ h.jsx(Kr, { variant: o === "warning" ? "blue" : "red", shouldAnimate: !1, children: /* @__PURE__ */ h.jsx(Ra, {}) });
2679
+ }
2680
+ function dn({ type: o }) {
2681
+ return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
2682
+ /* @__PURE__ */ h.jsxs(Gr, { space: "0.25", children: [
2683
+ /* @__PURE__ */ h.jsx(
2684
+ yr,
2685
+ {
2686
+ as: "h1",
2687
+ variant: { size: "2xl-title", weight: "bold" },
2688
+ t: "error.title"
2689
+ }
2690
+ ),
2691
+ /* @__PURE__ */ h.jsx(
2692
+ yr,
2693
+ {
2694
+ as: "h2",
2695
+ t: "error.detail",
2696
+ variant: { color: "contrast", weight: "semibold" }
2697
+ }
2698
+ )
2699
+ ] }),
2700
+ /* @__PURE__ */ h.jsx(Ja, { type: o })
2701
+ ] });
2702
+ }
2703
+ const Xa = () => /* @__PURE__ */ h.jsx(Kr, { children: /* @__PURE__ */ h.jsx(
2704
+ "svg",
2705
+ {
2706
+ width: "21",
2707
+ height: "18",
2708
+ viewBox: "0 0 21 18",
2709
+ fill: "none",
2710
+ xmlns: "http://www.w3.org/2000/svg",
2711
+ children: /* @__PURE__ */ h.jsx(
2712
+ "path",
2713
+ {
2714
+ fillRule: "evenodd",
2715
+ clipRule: "evenodd",
2716
+ 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",
2717
+ fill: "white"
2718
+ }
2719
+ )
2720
+ }
2721
+ ) });
2722
+ function hn() {
2723
+ return /* @__PURE__ */ h.jsxs("article", { "data-testid": "sid-form-success-state", children: [
2724
+ /* @__PURE__ */ h.jsx(
2725
+ yr,
2726
+ {
2727
+ as: "h1",
2728
+ t: "success.title",
2729
+ variant: { size: "2xl-title", weight: "bold" }
2730
+ }
2731
+ ),
2732
+ /* @__PURE__ */ h.jsx(
2733
+ yr,
2734
+ {
2735
+ as: "h2",
2736
+ t: "success.details",
2737
+ variant: { color: "contrast", weight: "semibold" }
2738
+ }
2739
+ ),
2740
+ /* @__PURE__ */ h.jsx(Xa, {})
2741
+ ] });
2742
+ }
2743
+ var en = "_8vopmj0", rn = "_8vopmj2";
2744
+ const X = {
2745
+ "footer.text": "Top-tier security by SlashID",
2746
+ "initial.title": "Logging you in...",
2747
+ "initial.details": "Please follow the on-screen instructions.",
2748
+ "recover.password.title": "Reset password",
2749
+ "recover.password.details": "Enter your new password.",
2750
+ "recover.password.input.password.label": "Password",
2751
+ "recover.password.input.confirmPassword.label": "Confirm password",
2752
+ "recover.password.input.placeholder": "Type your new password",
2753
+ "recover.password.submit": "Reset password",
2754
+ "recover.password.validation.passwordsDoNotMatch": "Passwords do not match",
2755
+ "recover.password.validation.length": "8-256 characters required",
2756
+ "recover.password.validation.password_variants": "Contains word 'password'",
2757
+ "recover.password.validation.admin_variants": "Contains word 'admin'",
2758
+ "recover.password.validation.user_variants": "Contains word 'user'",
2759
+ "recover.password.validation.alphanumeric_sequences_1": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2760
+ "recover.password.validation.alphanumeric_sequences_2": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2761
+ "recover.password.validation.numeric_sequences_ascending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2762
+ "recover.password.validation.numeric_subsequences_ascending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2763
+ "recover.password.validation.numeric_sequences_descending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2764
+ "recover.password.validation.numeric_subsequences_descending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2765
+ "recover.password.validation.common_password_xkcd": "Common password",
2766
+ "success.title": "All done!",
2767
+ "success.details": "Please return to the website.",
2768
+ "error.title": "Something went wrong...",
2769
+ "error.detail": "Please log in again."
2770
+ }, tn = {
2771
+ en: X,
2772
+ ja: {
2773
+ "footer.text": X["footer.text"],
2774
+ "initial.title": "ログイン処理を行っています。",
2775
+ "initial.details": "処理完了後、画面は自動で切り替わります。",
2776
+ "success.title": "認証が完了しました!",
2777
+ "success.details": "このページを閉じて、元のページへ戻ってください。",
2778
+ "recover.password.title": X["recover.password.title"],
2779
+ "recover.password.details": X["recover.password.details"],
2780
+ "recover.password.input.password.label": X["recover.password.input.password.label"],
2781
+ "recover.password.input.confirmPassword.label": X["recover.password.input.confirmPassword.label"],
2782
+ "recover.password.input.placeholder": X["recover.password.input.placeholder"],
2783
+ "recover.password.submit": X["recover.password.submit"],
2784
+ "recover.password.validation.passwordsDoNotMatch": X["recover.password.validation.passwordsDoNotMatch"],
2785
+ "recover.password.validation.length": X["recover.password.validation.length"],
2786
+ "recover.password.validation.password_variants": X["recover.password.validation.password_variants"],
2787
+ "recover.password.validation.admin_variants": X["recover.password.validation.admin_variants"],
2788
+ "recover.password.validation.user_variants": X["recover.password.validation.user_variants"],
2789
+ "recover.password.validation.alphanumeric_sequences_1": X["recover.password.validation.alphanumeric_sequences_1"],
2790
+ "recover.password.validation.alphanumeric_sequences_2": X["recover.password.validation.alphanumeric_sequences_2"],
2791
+ "recover.password.validation.numeric_sequences_ascending": X["recover.password.validation.numeric_sequences_ascending"],
2792
+ "recover.password.validation.numeric_subsequences_ascending": X["recover.password.validation.numeric_subsequences_ascending"],
2793
+ "recover.password.validation.numeric_sequences_descending": X["recover.password.validation.numeric_sequences_descending"],
2794
+ "recover.password.validation.numeric_subsequences_descending": X["recover.password.validation.numeric_subsequences_descending"],
2795
+ "recover.password.validation.common_password_xkcd": X["recover.password.validation.common_password_xkcd"],
2796
+ "error.title": X["error.title"],
2797
+ "error.detail": "再度ログインをしてください。"
2798
+ }
2799
+ }, an = (o) => (s) => tn[o][s], nn = {
2800
+ logo: /* @__PURE__ */ h.jsx(ka, {}),
2801
+ language: "en",
2802
+ state: "initial",
2803
+ sdk: void 0
2804
+ }, on = fe.createContext(
2805
+ nn
2806
+ ), Dt = () => fe.useContext(on);
2807
+ function sn() {
2808
+ const { language: o } = Dt();
2809
+ return fe.useMemo(() => an(o), [o]);
2810
+ }
2811
+ function un(o) {
2812
+ return `recover.password.validation.${o.failedRules[0].name}`;
2813
+ }
2814
+ function ln({
2815
+ errorEvent: o,
2816
+ password: s
2817
+ }) {
2818
+ const d = o.failedRules[0];
2819
+ let f = "";
2820
+ if (d.matchType === "must_not_match") {
2821
+ const m = d.regexp.exec(s);
2822
+ f = m !== null ? m[0] : "";
2823
+ }
2824
+ return f ? {
2825
+ ILLEGAL_SEQUENCE: f
2826
+ } : {};
2827
+ }
2828
+ function cn({ message: o }) {
2829
+ return /* @__PURE__ */ h.jsx("span", { className: rn, children: o });
2830
+ }
2831
+ function pn() {
2832
+ const o = sn(), { sdk: s } = Dt(), [d, f] = fe.useState(""), [m, A] = fe.useState(""), [M, S] = fe.useState(null), [C, L] = fe.useState("initial");
2833
+ fe.useEffect(() => {
2834
+ const V = (ue) => {
2835
+ S(
2836
+ At(
2837
+ o(un(ue)),
2838
+ ln({ errorEvent: ue, password: d })
2839
+ )
2840
+ ), L("initial");
2841
+ };
2842
+ return s == null || s.subscribe("invalidPasswordSubmitted", V), () => {
2843
+ s == null || s.unsubscribe("invalidPasswordSubmitted", V);
2844
+ };
2845
+ }, [o, s, d, S]);
2846
+ const N = (V) => {
2847
+ if (V.preventDefault(), !!s) {
2848
+ if (!d || d !== m) {
2849
+ S(o("recover.password.validation.passwordsDoNotMatch"));
2850
+ return;
2851
+ }
2852
+ s.publish("passwordSubmitted", d), L("submitting");
2853
+ }
2854
+ }, H = (V) => {
2855
+ f(V.target.value), S(null);
2856
+ }, ne = (V) => {
2857
+ A(V.target.value), S(null);
2858
+ };
2859
+ return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
2860
+ /* @__PURE__ */ h.jsxs(Gr, { space: "0.25", children: [
2861
+ /* @__PURE__ */ h.jsx(Br, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "recover.password.title" }),
2862
+ /* @__PURE__ */ h.jsx(Br, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "recover.password.details" })
2863
+ ] }),
2864
+ /* @__PURE__ */ h.jsxs("form", { onSubmit: N, children: [
2865
+ /* @__PURE__ */ h.jsxs("div", { className: en, children: [
2866
+ /* @__PURE__ */ h.jsx(
2867
+ wt,
2868
+ {
2869
+ id: "password-input",
2870
+ label: o("recover.password.input.password.label"),
2871
+ placeholder: o("recover.password.input.placeholder"),
2872
+ name: "password",
2873
+ value: d ?? "",
2874
+ onChange: H,
2875
+ error: !!M,
2876
+ autoComplete: "new-password"
2877
+ }
2878
+ ),
2879
+ /* @__PURE__ */ h.jsx(
2880
+ wt,
2881
+ {
2882
+ id: "password-input-confirm",
2883
+ label: o("recover.password.input.confirmPassword.label"),
2884
+ placeholder: o("recover.password.input.placeholder"),
2885
+ name: "passwordConfirm",
2886
+ value: m ?? "",
2887
+ onChange: ne,
2888
+ className: Tt({ marginTop: "4" }),
2889
+ error: !!M,
2890
+ autoComplete: "new-password"
2891
+ }
2892
+ ),
2893
+ M && /* @__PURE__ */ h.jsx(cn, { message: M })
2894
+ ] }),
2895
+ /* @__PURE__ */ h.jsx(
2896
+ Ot,
2897
+ {
2898
+ type: "submit",
2899
+ variant: "primary",
2900
+ testId: "sid-form-initial-submit-button",
2901
+ disabled: C === "submitting",
2902
+ loading: C === "submitting",
2903
+ children: o("recover.password.submit")
2904
+ }
2905
+ )
2906
+ ] })
2907
+ ] });
2908
+ }
2909
+ export {
2910
+ dn as Error,
2911
+ fn as Initial,
2912
+ pn as Recover,
2913
+ hn as Success
2914
+ };
2915
+ //# sourceMappingURL=main.js.map