@slashid/jump-page 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/astro.config.mjs +16 -6
- package/dist/_astro/app.3c4221d3.js +96 -0
- package/dist/_astro/{client.4ae44ca9.js → client.94beb9db.js} +1 -1
- package/dist/_astro/{index.8afb8bf6.js → index.6b0f5ae5.js} +7 -7
- package/dist/sdk.html +1 -1
- package/package/dist/_astro/app.3c4221d3.d.ts +2 -0
- package/package/dist/_astro/index.6b0f5ae5.d.ts +4 -0
- package/package/main.js +695 -658
- package/package/main.js.map +1 -1
- package/package/src/components/flow/flow.success.d.ts +2 -1
- package/package/src/components/flow/flow.types.d.ts +1 -0
- package/package/src/components/text/use-i18n.d.ts +1 -1
- package/package/src/config.d.ts +3 -0
- package/package/src/domain/i18n.d.ts +2 -1
- package/package.json +3 -2
- package/dist/_astro/app.54413f1a.js +0 -101
- package/package/dist/_astro/app.54413f1a.d.ts +0 -2
- package/package/dist/_astro/index.8afb8bf6.d.ts +0 -5
- /package/package/dist/_astro/{client.4ae44ca9.d.ts → client.94beb9db.d.ts} +0 -0
package/package/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Errors as
|
|
3
|
-
var Fe = { exports: {} },
|
|
1
|
+
import ye, { useLayoutEffect as ft, forwardRef as gr, useCallback as xr, useState as se, createContext as St, useMemo as jt, useContext as vr, useEffect as $e } from "react";
|
|
2
|
+
import { Errors as mr, errors as Cr } from "@slashid/slashid";
|
|
3
|
+
var Fe = { exports: {} }, le = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,25 +10,25 @@ var Fe = { exports: {} }, ie = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
var t =
|
|
19
|
-
function
|
|
20
|
-
var x, y = {},
|
|
21
|
-
b !== void 0 && (
|
|
13
|
+
var ht;
|
|
14
|
+
function wr() {
|
|
15
|
+
if (ht)
|
|
16
|
+
return le;
|
|
17
|
+
ht = 1;
|
|
18
|
+
var t = ye, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function u(f, d, b) {
|
|
20
|
+
var x, y = {}, O = null, S = null;
|
|
21
|
+
b !== void 0 && (O = "" + b), d.key !== void 0 && (O = "" + d.key), d.ref !== void 0 && (S = d.ref);
|
|
22
22
|
for (x in d)
|
|
23
|
-
s.call(d, x) && !
|
|
23
|
+
s.call(d, x) && !l.hasOwnProperty(x) && (y[x] = d[x]);
|
|
24
24
|
if (f && f.defaultProps)
|
|
25
25
|
for (x in d = f.defaultProps, d)
|
|
26
26
|
y[x] === void 0 && (y[x] = d[x]);
|
|
27
|
-
return { $$typeof: e, type: f, key:
|
|
27
|
+
return { $$typeof: e, type: f, key: O, ref: S, props: y, _owner: n.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return le.Fragment = r, le.jsx = u, le.jsxs = u, le;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var ce = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -38,49 +38,49 @@ var le = {};
|
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var t =
|
|
45
|
-
function
|
|
41
|
+
var _t;
|
|
42
|
+
function yr() {
|
|
43
|
+
return _t || (_t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var t = ye, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), q = Symbol.iterator, Re = "@@iterator";
|
|
45
|
+
function ae(a) {
|
|
46
46
|
if (a === null || typeof a != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var i =
|
|
48
|
+
var i = q && a[q] || a[Re];
|
|
49
49
|
return typeof i == "function" ? i : null;
|
|
50
50
|
}
|
|
51
51
|
var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function j(a) {
|
|
53
53
|
{
|
|
54
|
-
for (var i = arguments.length,
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
for (var i = arguments.length, c = new Array(i > 1 ? i - 1 : 0), h = 1; h < i; h++)
|
|
55
|
+
c[h - 1] = arguments[h];
|
|
56
|
+
M("error", a, c);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function M(a, i, c) {
|
|
60
60
|
{
|
|
61
61
|
var h = A.ReactDebugCurrentFrame, g = h.getStackAddendum();
|
|
62
|
-
g !== "" && (i += "%s",
|
|
63
|
-
var v =
|
|
62
|
+
g !== "" && (i += "%s", c = c.concat([g]));
|
|
63
|
+
var v = c.map(function(p) {
|
|
64
64
|
return String(p);
|
|
65
65
|
});
|
|
66
66
|
v.unshift("Warning: " + i), Function.prototype.apply.call(console[a], console, v);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
69
|
+
var Te = !1, Ze = !1, w = !1, C = !1, K = !1, Z;
|
|
70
70
|
Z = Symbol.for("react.module.reference");
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof a == "string" || typeof a == "function" || a === s || a ===
|
|
71
|
+
function de(a) {
|
|
72
|
+
return !!(typeof a == "string" || typeof a == "function" || a === s || a === l || K || a === n || a === b || a === x || C || a === S || Te || Ze || w || typeof a == "object" && a !== null && (a.$$typeof === O || a.$$typeof === y || a.$$typeof === u || a.$$typeof === f || a.$$typeof === d || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
76
|
a.$$typeof === Z || a.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function ne(a, i, c) {
|
|
79
79
|
var h = a.displayName;
|
|
80
80
|
if (h)
|
|
81
81
|
return h;
|
|
82
82
|
var g = i.displayName || i.name || "";
|
|
83
|
-
return g !== "" ?
|
|
83
|
+
return g !== "" ? c + "(" + g + ")" : c;
|
|
84
84
|
}
|
|
85
85
|
function Q(a) {
|
|
86
86
|
return a.displayName || "Context";
|
|
@@ -97,7 +97,7 @@ function wr() {
|
|
|
97
97
|
return "Fragment";
|
|
98
98
|
case r:
|
|
99
99
|
return "Portal";
|
|
100
|
-
case
|
|
100
|
+
case l:
|
|
101
101
|
return "Profiler";
|
|
102
102
|
case n:
|
|
103
103
|
return "StrictMode";
|
|
@@ -111,15 +111,15 @@ function wr() {
|
|
|
111
111
|
case f:
|
|
112
112
|
var i = a;
|
|
113
113
|
return Q(i) + ".Consumer";
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return Q(
|
|
114
|
+
case u:
|
|
115
|
+
var c = a;
|
|
116
|
+
return Q(c._context) + ".Provider";
|
|
117
117
|
case d:
|
|
118
|
-
return
|
|
118
|
+
return ne(a, a.render, "ForwardRef");
|
|
119
119
|
case y:
|
|
120
120
|
var h = a.displayName || null;
|
|
121
121
|
return h !== null ? h : R(a.type) || "Memo";
|
|
122
|
-
case
|
|
122
|
+
case O: {
|
|
123
123
|
var g = a, v = g._payload, p = g._init;
|
|
124
124
|
try {
|
|
125
125
|
return R(p(v));
|
|
@@ -130,18 +130,18 @@ function wr() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var P = Object.assign, V = 0,
|
|
134
|
-
function
|
|
133
|
+
var P = Object.assign, V = 0, oe, X, Y, fe, I, U, ee;
|
|
134
|
+
function he() {
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
136
|
+
he.__reactDisabledLog = !0;
|
|
137
|
+
function Gt() {
|
|
138
138
|
{
|
|
139
139
|
if (V === 0) {
|
|
140
|
-
|
|
140
|
+
oe = console.log, X = console.info, Y = console.warn, fe = console.error, I = console.group, U = console.groupCollapsed, ee = console.groupEnd;
|
|
141
141
|
var a = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: he,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -167,7 +167,7 @@ function wr() {
|
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
169
|
log: P({}, a, {
|
|
170
|
-
value:
|
|
170
|
+
value: oe
|
|
171
171
|
}),
|
|
172
172
|
info: P({}, a, {
|
|
173
173
|
value: X
|
|
@@ -176,13 +176,13 @@ function wr() {
|
|
|
176
176
|
value: Y
|
|
177
177
|
}),
|
|
178
178
|
error: P({}, a, {
|
|
179
|
-
value:
|
|
179
|
+
value: fe
|
|
180
180
|
}),
|
|
181
181
|
group: P({}, a, {
|
|
182
182
|
value: I
|
|
183
183
|
}),
|
|
184
184
|
groupCollapsed: P({}, a, {
|
|
185
|
-
value:
|
|
185
|
+
value: U
|
|
186
186
|
}),
|
|
187
187
|
groupEnd: P({}, a, {
|
|
188
188
|
value: ee
|
|
@@ -192,8 +192,8 @@ function wr() {
|
|
|
192
192
|
V < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
195
|
+
var Oe = A.ReactCurrentDispatcher, Me;
|
|
196
|
+
function _e(a, i, c) {
|
|
197
197
|
{
|
|
198
198
|
if (Me === void 0)
|
|
199
199
|
try {
|
|
@@ -206,25 +206,25 @@ function wr() {
|
|
|
206
206
|
` + Me + a;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var ke = !1, pe;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var Wt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
pe = new Wt();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!a ||
|
|
214
|
+
function Qe(a, i) {
|
|
215
|
+
if (!a || ke)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
218
|
+
var c = pe.get(a);
|
|
219
|
+
if (c !== void 0)
|
|
220
|
+
return c;
|
|
221
221
|
}
|
|
222
222
|
var h;
|
|
223
|
-
|
|
223
|
+
ke = !0;
|
|
224
224
|
var g = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
226
|
var v;
|
|
227
|
-
v =
|
|
227
|
+
v = Oe.current, Oe.current = null, Gt();
|
|
228
228
|
try {
|
|
229
229
|
if (i) {
|
|
230
230
|
var p = function() {
|
|
@@ -237,29 +237,29 @@ function wr() {
|
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(p, []);
|
|
240
|
-
} catch (
|
|
241
|
-
h =
|
|
240
|
+
} catch (F) {
|
|
241
|
+
h = F;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(a, [], p);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
p.call();
|
|
247
|
-
} catch (
|
|
248
|
-
h =
|
|
247
|
+
} catch (F) {
|
|
248
|
+
h = F;
|
|
249
249
|
}
|
|
250
250
|
a.call(p.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
h =
|
|
255
|
+
} catch (F) {
|
|
256
|
+
h = F;
|
|
257
257
|
}
|
|
258
258
|
a();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var _ =
|
|
260
|
+
} catch (F) {
|
|
261
|
+
if (F && h && typeof F.stack == "string") {
|
|
262
|
+
for (var _ = F.stack.split(`
|
|
263
263
|
`), T = h.stack.split(`
|
|
264
264
|
`), z = _.length - 1, E = T.length - 1; z >= 1 && E >= 0 && _[z] !== T[E]; )
|
|
265
265
|
E--;
|
|
@@ -270,164 +270,164 @@ function wr() {
|
|
|
270
270
|
if (z--, E--, E < 0 || _[z] !== T[E]) {
|
|
271
271
|
var k = `
|
|
272
272
|
` + _[z].replace(" at new ", " at ");
|
|
273
|
-
return a.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a.displayName)), typeof a == "function" &&
|
|
273
|
+
return a.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a.displayName)), typeof a == "function" && pe.set(a, k), k;
|
|
274
274
|
}
|
|
275
275
|
while (z >= 1 && E >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
ke = !1, Oe.current = v, Ht(), Error.prepareStackTrace = g;
|
|
281
281
|
}
|
|
282
|
-
var re = a ? a.displayName || a.name : "",
|
|
283
|
-
return typeof a == "function" &&
|
|
282
|
+
var re = a ? a.displayName || a.name : "", dt = re ? _e(re) : "";
|
|
283
|
+
return typeof a == "function" && pe.set(a, dt), dt;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
285
|
+
function Jt(a, i, c) {
|
|
286
|
+
return Qe(a, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Kt(a) {
|
|
289
289
|
var i = a.prototype;
|
|
290
290
|
return !!(i && i.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function be(a, i, c) {
|
|
293
293
|
if (a == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof a == "function")
|
|
296
|
-
return
|
|
296
|
+
return Qe(a, Kt(a));
|
|
297
297
|
if (typeof a == "string")
|
|
298
|
-
return
|
|
298
|
+
return _e(a);
|
|
299
299
|
switch (a) {
|
|
300
300
|
case b:
|
|
301
|
-
return
|
|
301
|
+
return _e("Suspense");
|
|
302
302
|
case x:
|
|
303
|
-
return
|
|
303
|
+
return _e("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof a == "object")
|
|
306
306
|
switch (a.$$typeof) {
|
|
307
307
|
case d:
|
|
308
|
-
return
|
|
308
|
+
return Jt(a.render);
|
|
309
309
|
case y:
|
|
310
|
-
return
|
|
311
|
-
case
|
|
310
|
+
return be(a.type, i, c);
|
|
311
|
+
case O: {
|
|
312
312
|
var h = a, g = h._payload, v = h._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return be(v(g), i, c);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var ge = Object.prototype.hasOwnProperty, Xe = {}, et = A.ReactDebugCurrentFrame;
|
|
322
|
+
function xe(a) {
|
|
323
323
|
if (a) {
|
|
324
|
-
var i = a._owner,
|
|
325
|
-
|
|
324
|
+
var i = a._owner, c = be(a.type, a._source, i ? i.type : null);
|
|
325
|
+
et.setExtraStackFrame(c);
|
|
326
326
|
} else
|
|
327
|
-
|
|
327
|
+
et.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Zt(a, i, c, h, g) {
|
|
330
330
|
{
|
|
331
|
-
var v = Function.call.bind(
|
|
331
|
+
var v = Function.call.bind(ge);
|
|
332
332
|
for (var p in a)
|
|
333
333
|
if (v(a, p)) {
|
|
334
334
|
var _ = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof a[p] != "function") {
|
|
337
|
-
var T = Error((h || "React class") + ": " +
|
|
337
|
+
var T = Error((h || "React class") + ": " + c + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw T.name = "Invariant Violation", T;
|
|
339
339
|
}
|
|
340
|
-
_ = a[p](i, p, h,
|
|
340
|
+
_ = a[p](i, p, h, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (z) {
|
|
342
342
|
_ = z;
|
|
343
343
|
}
|
|
344
|
-
_ && !(_ instanceof Error) && (
|
|
344
|
+
_ && !(_ instanceof Error) && (xe(g), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", h || "React class", c, p, typeof _), xe(null)), _ instanceof Error && !(_.message in Xe) && (Xe[_.message] = !0, xe(g), j("Failed %s type: %s", c, _.message), xe(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
348
|
+
var Qt = Array.isArray;
|
|
349
|
+
function Pe(a) {
|
|
350
|
+
return Qt(a);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function Xt(a) {
|
|
353
353
|
{
|
|
354
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
355
|
-
return
|
|
354
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, c = i && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
355
|
+
return c;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function er(a) {
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return tt(a), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function tt(a) {
|
|
366
366
|
return "" + a;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
368
|
+
function rt(a) {
|
|
369
|
+
if (er(a))
|
|
370
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Xt(a)), tt(a);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var ie = A.ReactCurrentOwner, tr = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
377
|
+
}, st, at, Ne;
|
|
378
|
+
Ne = {};
|
|
379
|
+
function rr(a) {
|
|
380
|
+
if (ge.call(a, "ref")) {
|
|
381
381
|
var i = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
382
382
|
if (i && i.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return a.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
387
|
+
function sr(a) {
|
|
388
|
+
if (ge.call(a, "key")) {
|
|
389
389
|
var i = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
390
390
|
if (i && i.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return a.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
if (typeof a.ref == "string" &&
|
|
397
|
-
var
|
|
398
|
-
|
|
395
|
+
function ar(a, i) {
|
|
396
|
+
if (typeof a.ref == "string" && ie.current && i && ie.current.stateNode !== i) {
|
|
397
|
+
var c = R(ie.current.type);
|
|
398
|
+
Ne[c] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', R(ie.current.type), a.ref), Ne[c] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function nr(a, i) {
|
|
402
402
|
{
|
|
403
|
-
var
|
|
404
|
-
|
|
403
|
+
var c = function() {
|
|
404
|
+
st || (st = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
405
405
|
};
|
|
406
|
-
|
|
407
|
-
get:
|
|
406
|
+
c.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
407
|
+
get: c,
|
|
408
408
|
configurable: !0
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function or(a, i) {
|
|
413
413
|
{
|
|
414
|
-
var
|
|
415
|
-
|
|
414
|
+
var c = function() {
|
|
415
|
+
at || (at = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
416
416
|
};
|
|
417
|
-
|
|
418
|
-
get:
|
|
417
|
+
c.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
418
|
+
get: c,
|
|
419
419
|
configurable: !0
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var ir = function(a, i, c, h, g, v, p) {
|
|
424
424
|
var _ = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: e,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: a,
|
|
429
429
|
key: i,
|
|
430
|
-
ref:
|
|
430
|
+
ref: c,
|
|
431
431
|
props: p,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
433
|
_owner: v
|
|
@@ -449,12 +449,12 @@ function wr() {
|
|
|
449
449
|
value: g
|
|
450
450
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function lr(a, i, c, h, g) {
|
|
453
453
|
{
|
|
454
454
|
var v, p = {}, _ = null, T = null;
|
|
455
|
-
|
|
455
|
+
c !== void 0 && (rt(c), _ = "" + c), sr(i) && (rt(i.key), _ = "" + i.key), rr(i) && (T = i.ref, ar(i, g));
|
|
456
456
|
for (v in i)
|
|
457
|
-
|
|
457
|
+
ge.call(i, v) && !tr.hasOwnProperty(v) && (p[v] = i[v]);
|
|
458
458
|
if (a && a.defaultProps) {
|
|
459
459
|
var z = a.defaultProps;
|
|
460
460
|
for (v in z)
|
|
@@ -462,28 +462,28 @@ function wr() {
|
|
|
462
462
|
}
|
|
463
463
|
if (_ || T) {
|
|
464
464
|
var E = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
465
|
-
_ &&
|
|
465
|
+
_ && nr(p, E), T && or(p, E);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return ir(a, _, T, g, h, ie.current, p);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var
|
|
470
|
+
var De = A.ReactCurrentOwner, nt = A.ReactDebugCurrentFrame;
|
|
471
471
|
function te(a) {
|
|
472
472
|
if (a) {
|
|
473
|
-
var i = a._owner,
|
|
474
|
-
|
|
473
|
+
var i = a._owner, c = be(a.type, a._source, i ? i.type : null);
|
|
474
|
+
nt.setExtraStackFrame(c);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
nt.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
function
|
|
478
|
+
var Ie;
|
|
479
|
+
Ie = !1;
|
|
480
|
+
function Le(a) {
|
|
481
481
|
return typeof a == "object" && a !== null && a.$$typeof === e;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function ot() {
|
|
484
484
|
{
|
|
485
|
-
if (
|
|
486
|
-
var a = R(
|
|
485
|
+
if (De.current) {
|
|
486
|
+
var a = R(De.current.type);
|
|
487
487
|
if (a)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -492,91 +492,91 @@ Check the render method of \`` + a + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function cr(a) {
|
|
496
496
|
{
|
|
497
497
|
if (a !== void 0) {
|
|
498
|
-
var i = a.fileName.replace(/^.*[\\\/]/, ""),
|
|
498
|
+
var i = a.fileName.replace(/^.*[\\\/]/, ""), c = a.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` + i + ":" +
|
|
501
|
+
Check your code at ` + i + ":" + c + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
506
|
+
var it = {};
|
|
507
507
|
function ur(a) {
|
|
508
508
|
{
|
|
509
|
-
var i =
|
|
509
|
+
var i = ot();
|
|
510
510
|
if (!i) {
|
|
511
|
-
var
|
|
512
|
-
|
|
511
|
+
var c = typeof a == "string" ? a : a.displayName || a.name;
|
|
512
|
+
c && (i = `
|
|
513
513
|
|
|
514
|
-
Check the top-level render call using <` +
|
|
514
|
+
Check the top-level render call using <` + c + ">.");
|
|
515
515
|
}
|
|
516
516
|
return i;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function lt(a, i) {
|
|
520
520
|
{
|
|
521
521
|
if (!a._store || a._store.validated || a.key != null)
|
|
522
522
|
return;
|
|
523
523
|
a._store.validated = !0;
|
|
524
|
-
var
|
|
525
|
-
if (
|
|
524
|
+
var c = ur(i);
|
|
525
|
+
if (it[c])
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
it[c] = !0;
|
|
528
528
|
var h = "";
|
|
529
|
-
a && a._owner && a._owner !==
|
|
529
|
+
a && a._owner && a._owner !== De.current && (h = " It was passed a child from " + R(a._owner.type) + "."), te(a), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, h), te(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function ct(a, i) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof a != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
537
|
-
for (var
|
|
538
|
-
var h = a[
|
|
539
|
-
|
|
536
|
+
if (Pe(a))
|
|
537
|
+
for (var c = 0; c < a.length; c++) {
|
|
538
|
+
var h = a[c];
|
|
539
|
+
Le(h) && lt(h, i);
|
|
540
540
|
}
|
|
541
|
-
else if (
|
|
541
|
+
else if (Le(a))
|
|
542
542
|
a._store && (a._store.validated = !0);
|
|
543
543
|
else if (a) {
|
|
544
|
-
var g =
|
|
544
|
+
var g = ae(a);
|
|
545
545
|
if (typeof g == "function" && g !== a.entries)
|
|
546
546
|
for (var v = g.call(a), p; !(p = v.next()).done; )
|
|
547
|
-
|
|
547
|
+
Le(p.value) && lt(p.value, i);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function dr(a) {
|
|
552
552
|
{
|
|
553
553
|
var i = a.type;
|
|
554
554
|
if (i == null || typeof i == "string")
|
|
555
555
|
return;
|
|
556
|
-
var
|
|
556
|
+
var c;
|
|
557
557
|
if (typeof i == "function")
|
|
558
|
-
|
|
558
|
+
c = i.propTypes;
|
|
559
559
|
else if (typeof i == "object" && (i.$$typeof === d || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
561
|
i.$$typeof === y))
|
|
562
|
-
|
|
562
|
+
c = i.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
|
-
if (
|
|
565
|
+
if (c) {
|
|
566
566
|
var h = R(i);
|
|
567
|
-
|
|
568
|
-
} else if (i.PropTypes !== void 0 && !
|
|
569
|
-
|
|
567
|
+
Zt(c, a.props, "prop", h, a);
|
|
568
|
+
} else if (i.PropTypes !== void 0 && !Ie) {
|
|
569
|
+
Ie = !0;
|
|
570
570
|
var g = R(i);
|
|
571
571
|
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
|
|
572
572
|
}
|
|
573
573
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function fr(a) {
|
|
577
577
|
{
|
|
578
|
-
for (var i = Object.keys(a.props),
|
|
579
|
-
var h = i[
|
|
578
|
+
for (var i = Object.keys(a.props), c = 0; c < i.length; c++) {
|
|
579
|
+
var h = i[c];
|
|
580
580
|
if (h !== "children" && h !== "key") {
|
|
581
581
|
te(a), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), te(null);
|
|
582
582
|
break;
|
|
@@ -585,49 +585,49 @@ Check the top-level render call using <` + l + ">.");
|
|
|
585
585
|
a.ref !== null && (te(a), j("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function ut(a, i, c, h, g, v) {
|
|
589
589
|
{
|
|
590
|
-
var p =
|
|
590
|
+
var p = de(a);
|
|
591
591
|
if (!p) {
|
|
592
592
|
var _ = "";
|
|
593
593
|
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
594
|
-
var T =
|
|
595
|
-
T ? _ += T : _ +=
|
|
594
|
+
var T = cr(g);
|
|
595
|
+
T ? _ += T : _ += ot();
|
|
596
596
|
var z;
|
|
597
|
-
a === null ? z = "null" :
|
|
597
|
+
a === null ? z = "null" : Pe(a) ? z = "array" : a !== void 0 && a.$$typeof === e ? (z = "<" + (R(a.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : z = typeof a, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, _);
|
|
598
598
|
}
|
|
599
|
-
var E =
|
|
599
|
+
var E = lr(a, i, c, g, v);
|
|
600
600
|
if (E == null)
|
|
601
601
|
return E;
|
|
602
602
|
if (p) {
|
|
603
603
|
var k = i.children;
|
|
604
604
|
if (k !== void 0)
|
|
605
605
|
if (h)
|
|
606
|
-
if (
|
|
606
|
+
if (Pe(k)) {
|
|
607
607
|
for (var re = 0; re < k.length; re++)
|
|
608
|
-
|
|
608
|
+
ct(k[re], a);
|
|
609
609
|
Object.freeze && Object.freeze(k);
|
|
610
610
|
} else
|
|
611
611
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
612
|
else
|
|
613
|
-
|
|
613
|
+
ct(k, a);
|
|
614
614
|
}
|
|
615
|
-
return a === s ?
|
|
615
|
+
return a === s ? fr(E) : dr(E), E;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return
|
|
618
|
+
function hr(a, i, c) {
|
|
619
|
+
return ut(a, i, c, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function _r(a, i, c) {
|
|
622
|
+
return ut(a, i, c, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
|
|
626
|
-
}()),
|
|
624
|
+
var pr = _r, br = hr;
|
|
625
|
+
ce.Fragment = s, ce.jsx = pr, ce.jsxs = br;
|
|
626
|
+
}()), ce;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ? Fe.exports =
|
|
628
|
+
process.env.NODE_ENV === "production" ? Fe.exports = wr() : Fe.exports = yr();
|
|
629
629
|
var o = Fe.exports;
|
|
630
|
-
function
|
|
630
|
+
function Rt(t) {
|
|
631
631
|
var e, r, s = "";
|
|
632
632
|
if (typeof t == "string" || typeof t == "number")
|
|
633
633
|
s += t;
|
|
@@ -635,7 +635,7 @@ function jt(t) {
|
|
|
635
635
|
if (Array.isArray(t)) {
|
|
636
636
|
var n = t.length;
|
|
637
637
|
for (e = 0; e < n; e++)
|
|
638
|
-
t[e] && (r =
|
|
638
|
+
t[e] && (r = Rt(t[e])) && (s && (s += " "), s += r);
|
|
639
639
|
} else
|
|
640
640
|
for (r in t)
|
|
641
641
|
t[r] && (s && (s += " "), s += r);
|
|
@@ -643,53 +643,53 @@ function jt(t) {
|
|
|
643
643
|
}
|
|
644
644
|
function N() {
|
|
645
645
|
for (var t, e, r = 0, s = "", n = arguments.length; r < n; r++)
|
|
646
|
-
(t = arguments[r]) && (e =
|
|
646
|
+
(t = arguments[r]) && (e = Rt(t)) && (s && (s += " "), s += e);
|
|
647
647
|
return s;
|
|
648
648
|
}
|
|
649
|
-
var
|
|
650
|
-
function
|
|
649
|
+
var zr = "y2413r0", Er = "y2413r1", Sr = "y2413r2", jr = "y2413r3", pt = "sid-theme-root";
|
|
650
|
+
function Rr() {
|
|
651
651
|
return typeof window < "u" && globalThis === window;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function Tt({ theme: t, className: e }) {
|
|
654
654
|
return N(
|
|
655
|
-
|
|
656
|
-
`${
|
|
657
|
-
|
|
655
|
+
pt,
|
|
656
|
+
`${pt}__${t}`,
|
|
657
|
+
jr,
|
|
658
658
|
{
|
|
659
|
-
[
|
|
660
|
-
[
|
|
661
|
-
[
|
|
659
|
+
[zr]: t === "dark",
|
|
660
|
+
[Sr]: t === "auto",
|
|
661
|
+
[Er]: t === "light"
|
|
662
662
|
},
|
|
663
663
|
e
|
|
664
664
|
);
|
|
665
665
|
}
|
|
666
|
-
function
|
|
667
|
-
const r =
|
|
666
|
+
function Tr({ theme: t, className: e }) {
|
|
667
|
+
const r = Tt({ theme: t, className: e });
|
|
668
668
|
document.body.classList.add(...r.split(" "));
|
|
669
669
|
}
|
|
670
|
-
const
|
|
671
|
-
const [s, n] =
|
|
672
|
-
return
|
|
670
|
+
const Ot = ({ children: t }) => /* @__PURE__ */ o.jsx("div", { className: Tt({ theme: "light" }), children: t }), Or = ({ children: t, theme: e = "light", className: r }) => {
|
|
671
|
+
const [s, n] = ye.useState(!1);
|
|
672
|
+
return ft(() => {
|
|
673
673
|
s || n(!0);
|
|
674
|
-
}, [r, s, e]),
|
|
675
|
-
s &&
|
|
676
|
-
}, [r, s, e]), s ? /* @__PURE__ */ o.jsx(o.Fragment, { children: t }) : /* @__PURE__ */ o.jsx(
|
|
674
|
+
}, [r, s, e]), ft(() => {
|
|
675
|
+
s && Tr({ theme: e, className: r });
|
|
676
|
+
}, [r, s, e]), s ? /* @__PURE__ */ o.jsx(o.Fragment, { children: t }) : /* @__PURE__ */ o.jsx(Ot, { children: t });
|
|
677
677
|
};
|
|
678
|
-
function
|
|
679
|
-
return
|
|
678
|
+
function wa({ children: t, theme: e = "light", className: r }) {
|
|
679
|
+
return Rr() ? /* @__PURE__ */ o.jsx(Or, { theme: e, className: r, children: t }) : /* @__PURE__ */ o.jsx(Ot, { children: t });
|
|
680
680
|
}
|
|
681
681
|
var Mr = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
|
|
682
682
|
const Mt = ({ className: t, variant: e = "default" }) => /* @__PURE__ */ o.jsx("div", { className: N(Mr[e], t) });
|
|
683
|
-
var
|
|
684
|
-
const
|
|
683
|
+
var kr = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, Pr = "eccmw9", Nr = "eccmwa", Dr = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
|
|
684
|
+
const kt = gr(
|
|
685
685
|
({
|
|
686
686
|
children: t,
|
|
687
687
|
onClick: e,
|
|
688
688
|
className: r,
|
|
689
689
|
type: s = "button",
|
|
690
690
|
variant: n = "primary",
|
|
691
|
-
testId:
|
|
692
|
-
icon:
|
|
691
|
+
testId: l,
|
|
692
|
+
icon: u,
|
|
693
693
|
disabled: f,
|
|
694
694
|
loading: d = !1,
|
|
695
695
|
style: b
|
|
@@ -698,44 +698,44 @@ const Ot = br(
|
|
|
698
698
|
{
|
|
699
699
|
style: b,
|
|
700
700
|
ref: x,
|
|
701
|
-
"data-testid":
|
|
701
|
+
"data-testid": l,
|
|
702
702
|
type: s,
|
|
703
703
|
disabled: f,
|
|
704
704
|
className: N(
|
|
705
705
|
"sid-button",
|
|
706
706
|
`sid-button--${n}`,
|
|
707
|
-
|
|
708
|
-
{ [
|
|
707
|
+
kr[n],
|
|
708
|
+
{ [Pr]: f },
|
|
709
709
|
r
|
|
710
710
|
),
|
|
711
711
|
onClick: e,
|
|
712
|
-
children: d ? /* @__PURE__ */ o.jsx(Mt, { variant: "short", className:
|
|
713
|
-
|
|
712
|
+
children: d ? /* @__PURE__ */ o.jsx(Mt, { variant: "short", className: Dr[n] }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
713
|
+
u ? /* @__PURE__ */ o.jsx("i", { className: Nr, children: u }) : null,
|
|
714
714
|
t
|
|
715
715
|
] })
|
|
716
716
|
}
|
|
717
717
|
)
|
|
718
718
|
);
|
|
719
|
-
|
|
720
|
-
var
|
|
719
|
+
kt.displayName = "Button";
|
|
720
|
+
var Ir = "_1doytsg0", Lr = "_1doytsg3", Ar = "_1doytsg4", Ur = { text: "_1doytsg6 _1doytsg5", email: "_1doytsg7 _1doytsg5", password: "_1doytsg8 _1doytsg5", tel: "_1doytsg9 _1doytsg5" }, Fr = "_1doytsga", Br = "_1doytsgc";
|
|
721
721
|
const qr = ({
|
|
722
722
|
id: t,
|
|
723
723
|
name: e,
|
|
724
724
|
label: r,
|
|
725
725
|
placeholder: s = "",
|
|
726
726
|
autoComplete: n = "",
|
|
727
|
-
value:
|
|
728
|
-
onChange:
|
|
727
|
+
value: l,
|
|
728
|
+
onChange: u,
|
|
729
729
|
type: f = "text",
|
|
730
730
|
style: d
|
|
731
731
|
}) => {
|
|
732
|
-
const b =
|
|
732
|
+
const b = xr(
|
|
733
733
|
(x) => {
|
|
734
|
-
|
|
734
|
+
u(x);
|
|
735
735
|
},
|
|
736
|
-
[
|
|
736
|
+
[u]
|
|
737
737
|
);
|
|
738
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
738
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Ur[f], children: [
|
|
739
739
|
/* @__PURE__ */ o.jsx("label", { htmlFor: t, className: Fr, children: r }),
|
|
740
740
|
/* @__PURE__ */ o.jsx(
|
|
741
741
|
"input",
|
|
@@ -744,22 +744,22 @@ const qr = ({
|
|
|
744
744
|
type: f,
|
|
745
745
|
id: t,
|
|
746
746
|
name: e,
|
|
747
|
-
className:
|
|
747
|
+
className: Ir,
|
|
748
748
|
placeholder: s,
|
|
749
|
-
value:
|
|
749
|
+
value: l,
|
|
750
750
|
onChange: b,
|
|
751
751
|
autoComplete: n
|
|
752
752
|
}
|
|
753
753
|
)
|
|
754
754
|
] });
|
|
755
|
-
},
|
|
755
|
+
}, Ge = `
|
|
756
756
|
@media (prefers-color-scheme: dark) {
|
|
757
757
|
.sid-theme-root__auto path { fill: white; }
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
.sid-theme-root__dark path { fill: white; }
|
|
761
761
|
`;
|
|
762
|
-
function
|
|
762
|
+
function bt() {
|
|
763
763
|
return /* @__PURE__ */ o.jsxs(
|
|
764
764
|
"svg",
|
|
765
765
|
{
|
|
@@ -789,7 +789,7 @@ function _t() {
|
|
|
789
789
|
}
|
|
790
790
|
);
|
|
791
791
|
}
|
|
792
|
-
const
|
|
792
|
+
const Vr = () => /* @__PURE__ */ o.jsxs(
|
|
793
793
|
"svg",
|
|
794
794
|
{
|
|
795
795
|
width: "16",
|
|
@@ -798,7 +798,7 @@ const Br = () => /* @__PURE__ */ o.jsxs(
|
|
|
798
798
|
fill: "none",
|
|
799
799
|
xmlns: "http://www.w3.org/2000/svg",
|
|
800
800
|
children: [
|
|
801
|
-
/* @__PURE__ */ o.jsx("style", { children:
|
|
801
|
+
/* @__PURE__ */ o.jsx("style", { children: Ge }),
|
|
802
802
|
/* @__PURE__ */ o.jsx("g", { clipPath: "url(#clip0_2610_9920)", children: /* @__PURE__ */ o.jsx(
|
|
803
803
|
"path",
|
|
804
804
|
{
|
|
@@ -811,7 +811,7 @@ const Br = () => /* @__PURE__ */ o.jsxs(
|
|
|
811
811
|
/* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsx("clipPath", { id: "clip0_2610_9920", children: /* @__PURE__ */ o.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
812
812
|
]
|
|
813
813
|
}
|
|
814
|
-
),
|
|
814
|
+
), Yr = () => /* @__PURE__ */ o.jsxs(
|
|
815
815
|
"svg",
|
|
816
816
|
{
|
|
817
817
|
width: "16",
|
|
@@ -820,7 +820,7 @@ const Br = () => /* @__PURE__ */ o.jsxs(
|
|
|
820
820
|
fill: "none",
|
|
821
821
|
xmlns: "http://www.w3.org/2000/svg",
|
|
822
822
|
children: [
|
|
823
|
-
/* @__PURE__ */ o.jsx("style", { children:
|
|
823
|
+
/* @__PURE__ */ o.jsx("style", { children: Ge }),
|
|
824
824
|
/* @__PURE__ */ o.jsxs("g", { clipPath: "url(#clip0_2610_9933)", children: [
|
|
825
825
|
/* @__PURE__ */ o.jsx(
|
|
826
826
|
"path",
|
|
@@ -844,7 +844,7 @@ const Br = () => /* @__PURE__ */ o.jsxs(
|
|
|
844
844
|
/* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsx("clipPath", { id: "clip0_2610_9933", children: /* @__PURE__ */ o.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
845
845
|
]
|
|
846
846
|
}
|
|
847
|
-
),
|
|
847
|
+
), $r = () => /* @__PURE__ */ o.jsxs(
|
|
848
848
|
"svg",
|
|
849
849
|
{
|
|
850
850
|
width: "40",
|
|
@@ -853,7 +853,7 @@ const Br = () => /* @__PURE__ */ o.jsxs(
|
|
|
853
853
|
fill: "none",
|
|
854
854
|
xmlns: "http://www.w3.org/2000/svg",
|
|
855
855
|
children: [
|
|
856
|
-
/* @__PURE__ */ o.jsx("style", { children:
|
|
856
|
+
/* @__PURE__ */ o.jsx("style", { children: Ge }),
|
|
857
857
|
/* @__PURE__ */ o.jsx("path", { d: "M12.686 10L2 30.228H5.198L15.884 10H12.686Z", fill: "#2A6AFF" }),
|
|
858
858
|
/* @__PURE__ */ o.jsx(
|
|
859
859
|
"path",
|
|
@@ -864,16 +864,16 @@ const Br = () => /* @__PURE__ */ o.jsxs(
|
|
|
864
864
|
)
|
|
865
865
|
]
|
|
866
866
|
}
|
|
867
|
-
),
|
|
868
|
-
const [e, r] =
|
|
867
|
+
), gt = (t) => {
|
|
868
|
+
const [e, r] = se(!1);
|
|
869
869
|
return /* @__PURE__ */ o.jsxs(
|
|
870
870
|
"div",
|
|
871
871
|
{
|
|
872
872
|
className: N(
|
|
873
873
|
"sid-input",
|
|
874
874
|
"sid-input--password",
|
|
875
|
-
|
|
876
|
-
t.error &&
|
|
875
|
+
Lr,
|
|
876
|
+
t.error && Ar,
|
|
877
877
|
t.className
|
|
878
878
|
),
|
|
879
879
|
style: t.style,
|
|
@@ -883,27 +883,27 @@ const Br = () => /* @__PURE__ */ o.jsxs(
|
|
|
883
883
|
"button",
|
|
884
884
|
{
|
|
885
885
|
tabIndex: -1,
|
|
886
|
-
className:
|
|
886
|
+
className: Br,
|
|
887
887
|
type: "button",
|
|
888
888
|
onClick: () => r(!e),
|
|
889
|
-
children: e ? /* @__PURE__ */ o.jsx(
|
|
889
|
+
children: e ? /* @__PURE__ */ o.jsx(Yr, {}) : /* @__PURE__ */ o.jsx(Vr, {})
|
|
890
890
|
}
|
|
891
891
|
)
|
|
892
892
|
]
|
|
893
893
|
}
|
|
894
894
|
);
|
|
895
895
|
};
|
|
896
|
-
var
|
|
897
|
-
const
|
|
896
|
+
var Gr = "_1rf2mux3", Hr = "_1rf2mux5", Wr = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4", primary: "_1rf2mux8 _1rf2mux4" }, Jr = "_1rf2muxa", Kr = { blue: "_1rf2muxb _1rf2mux9", red: "_1rf2muxc _1rf2mux9", primary: "_1rf2muxd _1rf2mux9" }, Zr = "_1rf2muxf", Qr = { blue: "_1rf2muxg _1rf2muxe", red: "_1rf2muxh _1rf2muxe", primary: "_1rf2muxi _1rf2muxe" }, Xr = "_1rf2muxj";
|
|
897
|
+
const Ce = ({
|
|
898
898
|
children: t,
|
|
899
899
|
className: e,
|
|
900
900
|
variant: r = "blue",
|
|
901
901
|
shouldAnimate: s = !0
|
|
902
|
-
}) => /* @__PURE__ */ o.jsxs("div", { className: N(
|
|
902
|
+
}) => /* @__PURE__ */ o.jsxs("div", { className: N(Gr, e), children: [
|
|
903
903
|
/* @__PURE__ */ o.jsx(
|
|
904
904
|
"div",
|
|
905
905
|
{
|
|
906
|
-
className: N(
|
|
906
|
+
className: N(Wr[r], {
|
|
907
907
|
[Hr]: s
|
|
908
908
|
})
|
|
909
909
|
}
|
|
@@ -911,22 +911,22 @@ const me = ({
|
|
|
911
911
|
/* @__PURE__ */ o.jsx(
|
|
912
912
|
"div",
|
|
913
913
|
{
|
|
914
|
-
className: N(
|
|
915
|
-
[
|
|
914
|
+
className: N(Kr[r], {
|
|
915
|
+
[Jr]: s
|
|
916
916
|
})
|
|
917
917
|
}
|
|
918
918
|
),
|
|
919
919
|
/* @__PURE__ */ o.jsx(
|
|
920
920
|
"div",
|
|
921
921
|
{
|
|
922
|
-
className: N(
|
|
923
|
-
[
|
|
922
|
+
className: N(Qr[r], {
|
|
923
|
+
[Zr]: s
|
|
924
924
|
})
|
|
925
925
|
}
|
|
926
926
|
),
|
|
927
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
927
|
+
/* @__PURE__ */ o.jsx("div", { className: Xr, children: t })
|
|
928
928
|
] });
|
|
929
|
-
function
|
|
929
|
+
function es(t, e, r) {
|
|
930
930
|
return e in t ? Object.defineProperty(t, e, {
|
|
931
931
|
value: r,
|
|
932
932
|
enumerable: !0,
|
|
@@ -934,7 +934,7 @@ function Xr(t, e, r) {
|
|
|
934
934
|
writable: !0
|
|
935
935
|
}) : t[e] = r, t;
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function xt(t, e) {
|
|
938
938
|
var r = Object.keys(t);
|
|
939
939
|
if (Object.getOwnPropertySymbols) {
|
|
940
940
|
var s = Object.getOwnPropertySymbols(t);
|
|
@@ -944,30 +944,30 @@ function bt(t, e) {
|
|
|
944
944
|
}
|
|
945
945
|
return r;
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function vt(t) {
|
|
948
948
|
for (var e = 1; e < arguments.length; e++) {
|
|
949
949
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
950
|
-
e % 2 ?
|
|
951
|
-
|
|
952
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) :
|
|
950
|
+
e % 2 ? xt(Object(r), !0).forEach(function(s) {
|
|
951
|
+
es(t, s, r[s]);
|
|
952
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : xt(Object(r)).forEach(function(s) {
|
|
953
953
|
Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(r, s));
|
|
954
954
|
});
|
|
955
955
|
}
|
|
956
956
|
return t;
|
|
957
957
|
}
|
|
958
|
-
var
|
|
958
|
+
var ts = (t, e, r) => {
|
|
959
959
|
for (var s of Object.keys(t)) {
|
|
960
960
|
var n;
|
|
961
961
|
if (t[s] !== ((n = e[s]) !== null && n !== void 0 ? n : r[s]))
|
|
962
962
|
return !1;
|
|
963
963
|
}
|
|
964
964
|
return !0;
|
|
965
|
-
},
|
|
966
|
-
var r = t.defaultClassName, s =
|
|
965
|
+
}, Pt = (t) => (e) => {
|
|
966
|
+
var r = t.defaultClassName, s = vt(vt({}, t.defaultVariants), e);
|
|
967
967
|
for (var n in s) {
|
|
968
|
-
var
|
|
969
|
-
if (
|
|
970
|
-
var f =
|
|
968
|
+
var l, u = (l = s[n]) !== null && l !== void 0 ? l : t.defaultVariants[n];
|
|
969
|
+
if (u != null) {
|
|
970
|
+
var f = u;
|
|
971
971
|
typeof f == "boolean" && (f = f === !0 ? "true" : "false");
|
|
972
972
|
var d = (
|
|
973
973
|
// @ts-expect-error
|
|
@@ -977,10 +977,10 @@ var es = (t, e, r) => {
|
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
979
|
for (var [b, x] of t.compoundVariants)
|
|
980
|
-
|
|
980
|
+
ts(b, s, t.defaultVariants) && (r += " " + x);
|
|
981
981
|
return r;
|
|
982
|
-
},
|
|
983
|
-
function
|
|
982
|
+
}, rs = Pt({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
|
|
983
|
+
function ss(t, e) {
|
|
984
984
|
if (typeof t != "object" || t === null)
|
|
985
985
|
return t;
|
|
986
986
|
var r = t[Symbol.toPrimitive];
|
|
@@ -992,19 +992,19 @@ function rs(t, e) {
|
|
|
992
992
|
}
|
|
993
993
|
return (e === "string" ? String : Number)(t);
|
|
994
994
|
}
|
|
995
|
-
function
|
|
996
|
-
var e =
|
|
995
|
+
function as(t) {
|
|
996
|
+
var e = ss(t, "string");
|
|
997
997
|
return typeof e == "symbol" ? e : String(e);
|
|
998
998
|
}
|
|
999
|
-
function
|
|
1000
|
-
return e =
|
|
999
|
+
function ns(t, e, r) {
|
|
1000
|
+
return e = as(e), e in t ? Object.defineProperty(t, e, {
|
|
1001
1001
|
value: r,
|
|
1002
1002
|
enumerable: !0,
|
|
1003
1003
|
configurable: !0,
|
|
1004
1004
|
writable: !0
|
|
1005
1005
|
}) : t[e] = r, t;
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function mt(t, e) {
|
|
1008
1008
|
var r = Object.keys(t);
|
|
1009
1009
|
if (Object.getOwnPropertySymbols) {
|
|
1010
1010
|
var s = Object.getOwnPropertySymbols(t);
|
|
@@ -1014,171 +1014,171 @@ function xt(t, e) {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
return r;
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Ae(t) {
|
|
1018
1018
|
for (var e = 1; e < arguments.length; e++) {
|
|
1019
1019
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
1020
|
-
e % 2 ?
|
|
1021
|
-
|
|
1022
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) :
|
|
1020
|
+
e % 2 ? mt(Object(r), !0).forEach(function(s) {
|
|
1021
|
+
ns(t, s, r[s]);
|
|
1022
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : mt(Object(r)).forEach(function(s) {
|
|
1023
1023
|
Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(r, s));
|
|
1024
1024
|
});
|
|
1025
1025
|
}
|
|
1026
1026
|
return t;
|
|
1027
1027
|
}
|
|
1028
|
-
var
|
|
1028
|
+
var os = (t) => function() {
|
|
1029
1029
|
for (var e = arguments.length, r = new Array(e), s = 0; s < e; s++)
|
|
1030
1030
|
r[s] = arguments[s];
|
|
1031
|
-
var n = Object.assign({}, ...r.map((d) => d.styles)),
|
|
1032
|
-
var b = [], x = {}, y =
|
|
1033
|
-
for (var S of
|
|
1034
|
-
var
|
|
1035
|
-
if (
|
|
1036
|
-
var
|
|
1037
|
-
|
|
1038
|
-
for (var
|
|
1039
|
-
x[
|
|
1031
|
+
var n = Object.assign({}, ...r.map((d) => d.styles)), l = Object.keys(n), u = l.filter((d) => "mappings" in n[d]), f = (d) => {
|
|
1032
|
+
var b = [], x = {}, y = Ae({}, d), O = !1;
|
|
1033
|
+
for (var S of u) {
|
|
1034
|
+
var q = d[S];
|
|
1035
|
+
if (q != null) {
|
|
1036
|
+
var Re = n[S];
|
|
1037
|
+
O = !0;
|
|
1038
|
+
for (var ae of Re.mappings)
|
|
1039
|
+
x[ae] = q, y[ae] == null && delete y[ae];
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
|
-
var A =
|
|
1043
|
-
var w = A[
|
|
1042
|
+
var A = O ? Ae(Ae({}, x), y) : d, j = function() {
|
|
1043
|
+
var w = A[M], C = n[M];
|
|
1044
1044
|
try {
|
|
1045
|
-
if (
|
|
1045
|
+
if (C.mappings)
|
|
1046
1046
|
return "continue";
|
|
1047
1047
|
if (typeof w == "string" || typeof w == "number") {
|
|
1048
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1048
|
+
if (process.env.NODE_ENV !== "production" && !C.values[w].defaultClass)
|
|
1049
1049
|
throw new Error();
|
|
1050
|
-
b.push(
|
|
1050
|
+
b.push(C.values[w].defaultClass);
|
|
1051
1051
|
} else if (Array.isArray(w))
|
|
1052
1052
|
for (var K = 0; K < w.length; K++) {
|
|
1053
1053
|
var Z = w[K];
|
|
1054
1054
|
if (Z != null) {
|
|
1055
|
-
var
|
|
1056
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1055
|
+
var de = C.responsiveArray[K];
|
|
1056
|
+
if (process.env.NODE_ENV !== "production" && !C.values[Z].conditions[de])
|
|
1057
1057
|
throw new Error();
|
|
1058
|
-
b.push(
|
|
1058
|
+
b.push(C.values[Z].conditions[de]);
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
1061
|
else
|
|
1062
|
-
for (var
|
|
1063
|
-
var Q = w[
|
|
1062
|
+
for (var ne in w) {
|
|
1063
|
+
var Q = w[ne];
|
|
1064
1064
|
if (Q != null) {
|
|
1065
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1065
|
+
if (process.env.NODE_ENV !== "production" && !C.values[Q].conditions[ne])
|
|
1066
1066
|
throw new Error();
|
|
1067
|
-
b.push(
|
|
1067
|
+
b.push(C.values[Q].conditions[ne]);
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
|
-
} catch (
|
|
1070
|
+
} catch (fe) {
|
|
1071
1071
|
if (process.env.NODE_ENV !== "production") {
|
|
1072
1072
|
class I extends Error {
|
|
1073
1073
|
constructor(ee) {
|
|
1074
1074
|
super(ee), this.name = "SprinklesError";
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
|
-
var R = (
|
|
1078
|
-
throw new I('"'.concat(
|
|
1077
|
+
var R = (U) => typeof U == "string" ? '"'.concat(U, '"') : U, P = (U, ee, he) => {
|
|
1078
|
+
throw new I('"'.concat(U, '" has no value ').concat(R(ee), ". Possible values are ").concat(Object.keys(he).map(R).join(", ")));
|
|
1079
1079
|
};
|
|
1080
|
-
if (!
|
|
1081
|
-
throw new I('"'.concat(
|
|
1082
|
-
if ((typeof w == "string" || typeof w == "number") && (w in
|
|
1083
|
-
throw new I('"'.concat(
|
|
1080
|
+
if (!C)
|
|
1081
|
+
throw new I('"'.concat(M, '" is not a valid sprinkle'));
|
|
1082
|
+
if ((typeof w == "string" || typeof w == "number") && (w in C.values || P(M, w, C.values), !C.values[w].defaultClass))
|
|
1083
|
+
throw new I('"'.concat(M, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(C.values[w].conditions).map(R).join(", ")));
|
|
1084
1084
|
if (typeof w == "object") {
|
|
1085
|
-
if (!("conditions" in
|
|
1086
|
-
throw new I('"'.concat(
|
|
1085
|
+
if (!("conditions" in C.values[Object.keys(C.values)[0]]))
|
|
1086
|
+
throw new I('"'.concat(M, '" is not a conditional property'));
|
|
1087
1087
|
if (Array.isArray(w)) {
|
|
1088
|
-
if (!("responsiveArray" in
|
|
1089
|
-
throw new I('"'.concat(
|
|
1090
|
-
var V =
|
|
1088
|
+
if (!("responsiveArray" in C))
|
|
1089
|
+
throw new I('"'.concat(M, '" does not support responsive arrays'));
|
|
1090
|
+
var V = C.responsiveArray.length;
|
|
1091
1091
|
if (V < w.length)
|
|
1092
|
-
throw new I('"'.concat(
|
|
1093
|
-
for (var
|
|
1094
|
-
|
|
1092
|
+
throw new I('"'.concat(M, '" only supports up to ').concat(V, " breakpoints. You passed ").concat(w.length));
|
|
1093
|
+
for (var oe of w)
|
|
1094
|
+
C.values[oe] || P(M, oe, C.values);
|
|
1095
1095
|
} else
|
|
1096
1096
|
for (var X in w) {
|
|
1097
1097
|
var Y = w[X];
|
|
1098
|
-
if (Y != null && (
|
|
1099
|
-
throw new I('"'.concat(
|
|
1098
|
+
if (Y != null && (C.values[Y] || P(M, Y, C.values), !C.values[Y].conditions[X]))
|
|
1099
|
+
throw new I('"'.concat(M, '" has no condition named ').concat(R(X), ". Possible values are ").concat(Object.keys(C.values[Y].conditions).map(R).join(", ")));
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
|
-
throw
|
|
1103
|
+
throw fe;
|
|
1104
1104
|
}
|
|
1105
1105
|
};
|
|
1106
|
-
for (var
|
|
1107
|
-
var
|
|
1106
|
+
for (var M in A)
|
|
1107
|
+
var Te = j();
|
|
1108
1108
|
return t(b.join(" "));
|
|
1109
1109
|
};
|
|
1110
1110
|
return Object.assign(f, {
|
|
1111
|
-
properties: new Set(
|
|
1111
|
+
properties: new Set(l)
|
|
1112
1112
|
});
|
|
1113
|
-
},
|
|
1114
|
-
return
|
|
1115
|
-
}, Pt = is({ 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" } } } } });
|
|
1116
|
-
const
|
|
1113
|
+
}, is = (t) => t, ls = function() {
|
|
1114
|
+
return os(is)(...arguments);
|
|
1115
|
+
}, Nt = ls({ 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" } } } } });
|
|
1116
|
+
const He = (t) => /* @__PURE__ */ o.jsx(
|
|
1117
1117
|
"div",
|
|
1118
1118
|
{
|
|
1119
1119
|
className: N(
|
|
1120
1120
|
"sid-stack",
|
|
1121
|
-
|
|
1122
|
-
|
|
1121
|
+
rs(t.variant),
|
|
1122
|
+
Nt({ gap: t.space || "2" }),
|
|
1123
1123
|
t.className
|
|
1124
1124
|
),
|
|
1125
1125
|
style: t.style,
|
|
1126
1126
|
children: t.children
|
|
1127
1127
|
}
|
|
1128
1128
|
);
|
|
1129
|
-
var
|
|
1129
|
+
var cs = 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: [] });
|
|
1130
1130
|
const us = {
|
|
1131
1131
|
text: {}
|
|
1132
|
-
},
|
|
1133
|
-
|
|
1134
|
-
const
|
|
1135
|
-
const r =
|
|
1132
|
+
}, We = St(us);
|
|
1133
|
+
We.displayName = "SlashIDTextContext";
|
|
1134
|
+
const ya = ({ text: t, children: e }) => {
|
|
1135
|
+
const r = jt(() => ({
|
|
1136
1136
|
text: t
|
|
1137
1137
|
}), [t]);
|
|
1138
|
-
return /* @__PURE__ */ o.jsx(
|
|
1138
|
+
return /* @__PURE__ */ o.jsx(We.Provider, { value: r, children: e });
|
|
1139
1139
|
};
|
|
1140
|
-
function
|
|
1141
|
-
const { text: t } =
|
|
1140
|
+
function ds() {
|
|
1141
|
+
const { text: t } = ye.useContext(We);
|
|
1142
1142
|
return t;
|
|
1143
1143
|
}
|
|
1144
|
-
const
|
|
1144
|
+
const Ue = {
|
|
1145
1145
|
opening: "{{",
|
|
1146
1146
|
closing: "}}"
|
|
1147
1147
|
};
|
|
1148
|
-
function
|
|
1149
|
-
return t.includes(
|
|
1148
|
+
function Dt(t, e) {
|
|
1149
|
+
return t.includes(Ue.opening) ? Object.keys(e).reduce(
|
|
1150
1150
|
(s, n) => s.replace(
|
|
1151
|
-
`${
|
|
1151
|
+
`${Ue.opening}${n}${Ue.closing}`,
|
|
1152
1152
|
e[n]
|
|
1153
1153
|
),
|
|
1154
1154
|
t
|
|
1155
1155
|
) : t;
|
|
1156
1156
|
}
|
|
1157
|
-
const
|
|
1157
|
+
const Be = ({
|
|
1158
1158
|
as: t,
|
|
1159
1159
|
t: e,
|
|
1160
1160
|
tokens: r,
|
|
1161
1161
|
variant: s,
|
|
1162
1162
|
className: n,
|
|
1163
|
-
children:
|
|
1163
|
+
children: l
|
|
1164
1164
|
}) => {
|
|
1165
|
-
const
|
|
1165
|
+
const u = ds(), f = t || "p";
|
|
1166
1166
|
return /* @__PURE__ */ o.jsxs(
|
|
1167
1167
|
f,
|
|
1168
1168
|
{
|
|
1169
1169
|
className: N(
|
|
1170
1170
|
"sid-text",
|
|
1171
1171
|
`sid-text--${t}`,
|
|
1172
|
-
|
|
1172
|
+
cs(s),
|
|
1173
1173
|
n
|
|
1174
1174
|
),
|
|
1175
1175
|
children: [
|
|
1176
|
-
r ?
|
|
1177
|
-
|
|
1176
|
+
r ? Dt(u[e], r) : u[e],
|
|
1177
|
+
l || null
|
|
1178
1178
|
]
|
|
1179
1179
|
}
|
|
1180
1180
|
);
|
|
1181
|
-
},
|
|
1181
|
+
}, m = {
|
|
1182
1182
|
"footer.text": "Top-tier security by SlashID",
|
|
1183
1183
|
"initial.title": "Logging you in...",
|
|
1184
1184
|
"initial.details": "Please follow the on-screen instructions.",
|
|
@@ -1201,60 +1201,62 @@ const Ue = ({
|
|
|
1201
1201
|
"recover.password.validation.numeric_subsequences_descending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
|
|
1202
1202
|
"recover.password.validation.common_password_xkcd": "Common password",
|
|
1203
1203
|
"success.title": "All done!",
|
|
1204
|
-
"success.details": "
|
|
1204
|
+
"success.details.default": "Close this page and return to the website.",
|
|
1205
|
+
"success.details.autoclose": "Return to the website, this page will close in a moment...",
|
|
1205
1206
|
"error.title": "Something went wrong...",
|
|
1206
1207
|
"error.title.authentication_expired": "Magic link expired",
|
|
1207
1208
|
"error.title.registration_already_completed": "Magic link expired",
|
|
1208
1209
|
"error.detail": "Return to the form and log in again.",
|
|
1209
1210
|
"error.detail.authentication_expired": "Return to the form and log in again to continue.",
|
|
1210
1211
|
"error.detail.registration_already_completed": "Return to the form and log in again to continue."
|
|
1211
|
-
},
|
|
1212
|
-
en:
|
|
1212
|
+
}, fs = {
|
|
1213
|
+
en: m,
|
|
1213
1214
|
ja: {
|
|
1214
|
-
"footer.text":
|
|
1215
|
+
"footer.text": m["footer.text"],
|
|
1215
1216
|
"initial.title": "ログイン処理を行っています。",
|
|
1216
1217
|
"initial.details": "処理完了後、画面は自動で切り替わります。",
|
|
1217
1218
|
"success.title": "認証が完了しました!",
|
|
1218
|
-
"success.details": "このページを閉じて、元のページへ戻ってください。",
|
|
1219
|
-
"
|
|
1220
|
-
"recover.password.
|
|
1221
|
-
"recover.password.
|
|
1222
|
-
"recover.password.input.
|
|
1223
|
-
"recover.password.input.
|
|
1224
|
-
"recover.password.
|
|
1225
|
-
"recover.password.
|
|
1226
|
-
"recover.password.validation.
|
|
1227
|
-
"recover.password.validation.
|
|
1228
|
-
"recover.password.validation.
|
|
1229
|
-
"recover.password.validation.
|
|
1230
|
-
"recover.password.validation.
|
|
1231
|
-
"recover.password.validation.
|
|
1232
|
-
"recover.password.validation.
|
|
1233
|
-
"recover.password.validation.
|
|
1234
|
-
"recover.password.validation.
|
|
1235
|
-
"recover.password.validation.
|
|
1236
|
-
"recover.password.validation.
|
|
1237
|
-
"
|
|
1238
|
-
"error.title
|
|
1239
|
-
"error.title.
|
|
1219
|
+
"success.details.default": "このページを閉じて、元のページへ戻ってください。",
|
|
1220
|
+
"success.details.autoclose": m["success.details.autoclose"],
|
|
1221
|
+
"recover.password.title": m["recover.password.title"],
|
|
1222
|
+
"recover.password.details": m["recover.password.details"],
|
|
1223
|
+
"recover.password.input.password.label": m["recover.password.input.password.label"],
|
|
1224
|
+
"recover.password.input.confirmPassword.label": m["recover.password.input.confirmPassword.label"],
|
|
1225
|
+
"recover.password.input.placeholder": m["recover.password.input.placeholder"],
|
|
1226
|
+
"recover.password.submit": m["recover.password.submit"],
|
|
1227
|
+
"recover.password.validation.passwordsDoNotMatch": m["recover.password.validation.passwordsDoNotMatch"],
|
|
1228
|
+
"recover.password.validation.length": m["recover.password.validation.length"],
|
|
1229
|
+
"recover.password.validation.password_variants": m["recover.password.validation.password_variants"],
|
|
1230
|
+
"recover.password.validation.admin_variants": m["recover.password.validation.admin_variants"],
|
|
1231
|
+
"recover.password.validation.user_variants": m["recover.password.validation.user_variants"],
|
|
1232
|
+
"recover.password.validation.alphanumeric_sequences_1": m["recover.password.validation.alphanumeric_sequences_1"],
|
|
1233
|
+
"recover.password.validation.alphanumeric_sequences_2": m["recover.password.validation.alphanumeric_sequences_2"],
|
|
1234
|
+
"recover.password.validation.numeric_sequences_ascending": m["recover.password.validation.numeric_sequences_ascending"],
|
|
1235
|
+
"recover.password.validation.numeric_subsequences_ascending": m["recover.password.validation.numeric_subsequences_ascending"],
|
|
1236
|
+
"recover.password.validation.numeric_sequences_descending": m["recover.password.validation.numeric_sequences_descending"],
|
|
1237
|
+
"recover.password.validation.numeric_subsequences_descending": m["recover.password.validation.numeric_subsequences_descending"],
|
|
1238
|
+
"recover.password.validation.common_password_xkcd": m["recover.password.validation.common_password_xkcd"],
|
|
1239
|
+
"error.title": m["error.title"],
|
|
1240
|
+
"error.title.authentication_expired": m["error.title.authentication_expired"],
|
|
1241
|
+
"error.title.registration_already_completed": m["error.title.registration_already_completed"],
|
|
1240
1242
|
"error.detail": "再度ログインをしてください。",
|
|
1241
|
-
"error.detail.authentication_expired":
|
|
1242
|
-
"error.detail.registration_already_completed":
|
|
1243
|
+
"error.detail.authentication_expired": m["error.detail.authentication_expired"],
|
|
1244
|
+
"error.detail.registration_already_completed": m["error.detail.registration_already_completed"]
|
|
1243
1245
|
}
|
|
1244
|
-
},
|
|
1245
|
-
logo: /* @__PURE__ */ o.jsx(
|
|
1246
|
+
}, hs = (t) => (e) => fs[t][e], _s = {
|
|
1247
|
+
logo: /* @__PURE__ */ o.jsx($r, {}),
|
|
1246
1248
|
language: "en",
|
|
1247
1249
|
state: "initial",
|
|
1248
1250
|
sdk: void 0,
|
|
1249
1251
|
setLogo: () => {
|
|
1250
1252
|
}
|
|
1251
|
-
},
|
|
1252
|
-
var
|
|
1253
|
-
function xs() {
|
|
1254
|
-
const { logo: t } = ye();
|
|
1255
|
-
return /* @__PURE__ */ o.jsx("div", { className: vt, children: typeof t == "string" ? /* @__PURE__ */ o.jsx("img", { src: t, alt: "logo", className: vt }) : t });
|
|
1256
|
-
}
|
|
1253
|
+
}, ps = St(_s), ze = () => vr(ps), J = (t) => /* @__PURE__ */ o.jsx(Be, { ...t });
|
|
1254
|
+
var bs = "_1vg0oop0", gs = "_1vg0oop1", xs = "_1vg0oop2", Ct = "_1vg0oop3";
|
|
1257
1255
|
function vs() {
|
|
1256
|
+
const { logo: t } = ze();
|
|
1257
|
+
return /* @__PURE__ */ o.jsx("div", { className: Ct, children: typeof t == "string" ? /* @__PURE__ */ o.jsx("img", { src: t, alt: "logo", className: Ct }) : t });
|
|
1258
|
+
}
|
|
1259
|
+
function ms() {
|
|
1258
1260
|
return /* @__PURE__ */ o.jsx(
|
|
1259
1261
|
J,
|
|
1260
1262
|
{
|
|
@@ -1267,18 +1269,18 @@ function vs() {
|
|
|
1267
1269
|
}
|
|
1268
1270
|
);
|
|
1269
1271
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return /* @__PURE__ */ o.jsxs("article", { style: n, className: N(
|
|
1272
|
-
r && /* @__PURE__ */ o.jsx("header", { className:
|
|
1272
|
+
function za({ children: t, className: e, header: r = /* @__PURE__ */ o.jsx(vs, {}), footer: s = /* @__PURE__ */ o.jsx(ms, {}), style: n }) {
|
|
1273
|
+
return /* @__PURE__ */ o.jsxs("article", { style: n, className: N(bs, e), children: [
|
|
1274
|
+
r && /* @__PURE__ */ o.jsx("header", { className: gs, children: r }),
|
|
1273
1275
|
/* @__PURE__ */ o.jsx("div", { children: t }),
|
|
1274
|
-
s && /* @__PURE__ */ o.jsx("footer", { className:
|
|
1276
|
+
s && /* @__PURE__ */ o.jsx("footer", { className: xs, children: s })
|
|
1275
1277
|
] });
|
|
1276
1278
|
}
|
|
1277
|
-
const
|
|
1278
|
-
function
|
|
1279
|
-
return t === "neutral" ? /* @__PURE__ */ o.jsx("div", { style:
|
|
1279
|
+
const Cs = { "--sid-color-primary": "#DCDDE5" };
|
|
1280
|
+
function ws({ type: t }) {
|
|
1281
|
+
return t === "neutral" ? /* @__PURE__ */ o.jsx("div", { style: Cs, children: /* @__PURE__ */ o.jsx(Ce, { variant: "primary", shouldAnimate: !1, children: /* @__PURE__ */ o.jsx(bt, {}) }) }) : /* @__PURE__ */ o.jsx(Ce, { variant: t === "warning" ? "blue" : "red", shouldAnimate: !1, children: /* @__PURE__ */ o.jsx(bt, {}) });
|
|
1280
1282
|
}
|
|
1281
|
-
const
|
|
1283
|
+
const ys = (t) => {
|
|
1282
1284
|
switch (t) {
|
|
1283
1285
|
case "authentication_expired":
|
|
1284
1286
|
return "error.title.authentication_expired";
|
|
@@ -1286,7 +1288,7 @@ const ws = (t) => {
|
|
|
1286
1288
|
return "error.title.registration_already_completed";
|
|
1287
1289
|
}
|
|
1288
1290
|
return "error.title";
|
|
1289
|
-
},
|
|
1291
|
+
}, zs = (t) => {
|
|
1290
1292
|
switch (t) {
|
|
1291
1293
|
case "authentication_expired":
|
|
1292
1294
|
return "error.detail.authentication_expired";
|
|
@@ -1295,18 +1297,18 @@ const ws = (t) => {
|
|
|
1295
1297
|
}
|
|
1296
1298
|
return "error.detail";
|
|
1297
1299
|
};
|
|
1298
|
-
function
|
|
1300
|
+
function Ea({ errorCode: t, type: e, redirectUri: r }) {
|
|
1299
1301
|
r && window.location.replace(r);
|
|
1300
|
-
const s =
|
|
1302
|
+
const s = ys(t), n = zs(t);
|
|
1301
1303
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
1302
|
-
/* @__PURE__ */ o.jsxs(
|
|
1304
|
+
/* @__PURE__ */ o.jsxs(He, { space: "0.25", children: [
|
|
1303
1305
|
/* @__PURE__ */ o.jsx(J, { as: "h1", t: s, variant: { size: "2xl-title", weight: "bold" } }),
|
|
1304
1306
|
/* @__PURE__ */ o.jsx(J, { as: "h2", t: n, variant: { color: "contrast", weight: "semibold" } })
|
|
1305
1307
|
] }),
|
|
1306
|
-
/* @__PURE__ */ o.jsx(
|
|
1308
|
+
/* @__PURE__ */ o.jsx(ws, { type: e })
|
|
1307
1309
|
] });
|
|
1308
1310
|
}
|
|
1309
|
-
const
|
|
1311
|
+
const Es = () => /* @__PURE__ */ o.jsx(Ce, { variant: "primary", children: /* @__PURE__ */ o.jsx("svg", { width: "21", height: "18", viewBox: "0 0 21 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o.jsx(
|
|
1310
1312
|
"path",
|
|
1311
1313
|
{
|
|
1312
1314
|
fillRule: "evenodd",
|
|
@@ -1314,23 +1316,45 @@ const zs = () => /* @__PURE__ */ o.jsx(me, { variant: "primary", children: /* @_
|
|
|
1314
1316
|
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",
|
|
1315
1317
|
fill: "white"
|
|
1316
1318
|
}
|
|
1317
|
-
) }) });
|
|
1318
|
-
function
|
|
1319
|
-
|
|
1319
|
+
) }) }), Ss = 4e3;
|
|
1320
|
+
function Sa({ redirectUri: t, autoClose: e = !1 } = {}) {
|
|
1321
|
+
const [r, s] = se(e ? "autoclose" : "default");
|
|
1322
|
+
return t && window.location.replace(t), $e(() => {
|
|
1323
|
+
if (e) {
|
|
1324
|
+
const n = setTimeout(() => {
|
|
1325
|
+
try {
|
|
1326
|
+
window.close();
|
|
1327
|
+
} catch {
|
|
1328
|
+
} finally {
|
|
1329
|
+
s("failed-autoclose");
|
|
1330
|
+
}
|
|
1331
|
+
}, Ss);
|
|
1332
|
+
return () => {
|
|
1333
|
+
clearTimeout(n);
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
}, [e]), /* @__PURE__ */ o.jsxs("article", { "data-testid": "sid-form-success-state", children: [
|
|
1320
1337
|
/* @__PURE__ */ o.jsx(J, { as: "h1", t: "success.title", variant: { size: "2xl-title", weight: "bold" } }),
|
|
1321
|
-
/* @__PURE__ */ o.jsx(
|
|
1322
|
-
|
|
1338
|
+
/* @__PURE__ */ o.jsx(
|
|
1339
|
+
J,
|
|
1340
|
+
{
|
|
1341
|
+
as: "h2",
|
|
1342
|
+
t: r === "autoclose" ? "success.details.autoclose" : "success.details.default",
|
|
1343
|
+
variant: { color: "contrast", weight: "semibold" }
|
|
1344
|
+
}
|
|
1345
|
+
),
|
|
1346
|
+
/* @__PURE__ */ o.jsx(Es, {})
|
|
1323
1347
|
] });
|
|
1324
1348
|
}
|
|
1325
|
-
var
|
|
1326
|
-
function
|
|
1327
|
-
const { language: t } =
|
|
1328
|
-
return
|
|
1349
|
+
var js = "_8vopmj0", Rs = "_8vopmj2";
|
|
1350
|
+
function Ts() {
|
|
1351
|
+
const { language: t } = ze();
|
|
1352
|
+
return jt(() => hs(t), [t]);
|
|
1329
1353
|
}
|
|
1330
|
-
function
|
|
1354
|
+
function Os(t) {
|
|
1331
1355
|
return `recover.password.validation.${t.failedRules[0].name}`;
|
|
1332
1356
|
}
|
|
1333
|
-
function
|
|
1357
|
+
function Ms({
|
|
1334
1358
|
errorEvent: t,
|
|
1335
1359
|
password: e
|
|
1336
1360
|
}) {
|
|
@@ -1344,17 +1368,17 @@ function Ts({
|
|
|
1344
1368
|
ILLEGAL_SEQUENCE: s
|
|
1345
1369
|
} : {};
|
|
1346
1370
|
}
|
|
1347
|
-
function
|
|
1348
|
-
return /* @__PURE__ */ o.jsx("span", { className:
|
|
1371
|
+
function ks({ message: t }) {
|
|
1372
|
+
return /* @__PURE__ */ o.jsx("span", { className: Rs, children: t });
|
|
1349
1373
|
}
|
|
1350
|
-
function
|
|
1351
|
-
const t =
|
|
1352
|
-
|
|
1353
|
-
const S = (
|
|
1374
|
+
function Ps() {
|
|
1375
|
+
const t = Ts(), { sdk: e } = ze(), [r, s] = se(""), [n, l] = se(""), [u, f] = se(null), [d, b] = se("initial");
|
|
1376
|
+
$e(() => {
|
|
1377
|
+
const S = (q) => {
|
|
1354
1378
|
f(
|
|
1355
|
-
|
|
1356
|
-
t(
|
|
1357
|
-
|
|
1379
|
+
Dt(
|
|
1380
|
+
t(Os(q)),
|
|
1381
|
+
Ms({ errorEvent: q, password: r })
|
|
1358
1382
|
)
|
|
1359
1383
|
), b("initial");
|
|
1360
1384
|
};
|
|
@@ -1372,18 +1396,18 @@ function Os() {
|
|
|
1372
1396
|
}
|
|
1373
1397
|
}, y = (S) => {
|
|
1374
1398
|
s(S.target.value), f(null);
|
|
1375
|
-
},
|
|
1376
|
-
|
|
1399
|
+
}, O = (S) => {
|
|
1400
|
+
l(S.target.value), f(null);
|
|
1377
1401
|
};
|
|
1378
1402
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
1379
|
-
/* @__PURE__ */ o.jsxs(
|
|
1380
|
-
/* @__PURE__ */ o.jsx(
|
|
1381
|
-
/* @__PURE__ */ o.jsx(
|
|
1403
|
+
/* @__PURE__ */ o.jsxs(He, { space: "0.25", children: [
|
|
1404
|
+
/* @__PURE__ */ o.jsx(Be, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "recover.password.title" }),
|
|
1405
|
+
/* @__PURE__ */ o.jsx(Be, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "recover.password.details" })
|
|
1382
1406
|
] }),
|
|
1383
1407
|
/* @__PURE__ */ o.jsxs("form", { onSubmit: x, children: [
|
|
1384
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
1408
|
+
/* @__PURE__ */ o.jsxs("div", { className: js, children: [
|
|
1385
1409
|
/* @__PURE__ */ o.jsx(
|
|
1386
|
-
|
|
1410
|
+
gt,
|
|
1387
1411
|
{
|
|
1388
1412
|
id: "password-input",
|
|
1389
1413
|
label: t("recover.password.input.password.label"),
|
|
@@ -1391,28 +1415,28 @@ function Os() {
|
|
|
1391
1415
|
name: "password",
|
|
1392
1416
|
value: r ?? "",
|
|
1393
1417
|
onChange: y,
|
|
1394
|
-
error: !!
|
|
1418
|
+
error: !!u,
|
|
1395
1419
|
autoComplete: "new-password"
|
|
1396
1420
|
}
|
|
1397
1421
|
),
|
|
1398
1422
|
/* @__PURE__ */ o.jsx(
|
|
1399
|
-
|
|
1423
|
+
gt,
|
|
1400
1424
|
{
|
|
1401
1425
|
id: "password-input-confirm",
|
|
1402
1426
|
label: t("recover.password.input.confirmPassword.label"),
|
|
1403
1427
|
placeholder: t("recover.password.input.placeholder"),
|
|
1404
1428
|
name: "passwordConfirm",
|
|
1405
1429
|
value: n ?? "",
|
|
1406
|
-
onChange:
|
|
1407
|
-
className:
|
|
1408
|
-
error: !!
|
|
1430
|
+
onChange: O,
|
|
1431
|
+
className: Nt({ marginTop: "4" }),
|
|
1432
|
+
error: !!u,
|
|
1409
1433
|
autoComplete: "new-password"
|
|
1410
1434
|
}
|
|
1411
1435
|
),
|
|
1412
|
-
|
|
1436
|
+
u && /* @__PURE__ */ o.jsx(ks, { message: u })
|
|
1413
1437
|
] }),
|
|
1414
1438
|
/* @__PURE__ */ o.jsx(
|
|
1415
|
-
|
|
1439
|
+
kt,
|
|
1416
1440
|
{
|
|
1417
1441
|
type: "submit",
|
|
1418
1442
|
variant: "primary",
|
|
@@ -1425,28 +1449,28 @@ function Os() {
|
|
|
1425
1449
|
] })
|
|
1426
1450
|
] });
|
|
1427
1451
|
}
|
|
1428
|
-
const
|
|
1429
|
-
function
|
|
1430
|
-
return
|
|
1452
|
+
const Ns = Object.prototype.toString;
|
|
1453
|
+
function Ds(t, e) {
|
|
1454
|
+
return Ns.call(t) === `[object ${e}]`;
|
|
1431
1455
|
}
|
|
1432
|
-
function
|
|
1433
|
-
return
|
|
1456
|
+
function It(t) {
|
|
1457
|
+
return Ds(t, "Object");
|
|
1434
1458
|
}
|
|
1435
|
-
function
|
|
1459
|
+
function Je(t) {
|
|
1436
1460
|
return !!(t && t.then && typeof t.then == "function");
|
|
1437
1461
|
}
|
|
1438
|
-
function
|
|
1462
|
+
function ve(t) {
|
|
1439
1463
|
return t && t.Math == Math ? t : void 0;
|
|
1440
1464
|
}
|
|
1441
|
-
const D = typeof globalThis == "object" &&
|
|
1442
|
-
typeof window == "object" &&
|
|
1465
|
+
const D = typeof globalThis == "object" && ve(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
1466
|
+
typeof window == "object" && ve(window) || typeof self == "object" && ve(self) || typeof global == "object" && ve(global) || /* @__PURE__ */ function() {
|
|
1443
1467
|
return this;
|
|
1444
1468
|
}() || {};
|
|
1445
|
-
function
|
|
1469
|
+
function Lt(t, e, r) {
|
|
1446
1470
|
const s = r || D, n = s.__SENTRY__ = s.__SENTRY__ || {};
|
|
1447
1471
|
return n[t] || (n[t] = e());
|
|
1448
1472
|
}
|
|
1449
|
-
const
|
|
1473
|
+
const Is = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Ls = "Sentry Logger ", wt = [
|
|
1450
1474
|
"debug",
|
|
1451
1475
|
"info",
|
|
1452
1476
|
"warn",
|
|
@@ -1454,14 +1478,14 @@ const Ns = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Ds = "Sentry Logge
|
|
|
1454
1478
|
"log",
|
|
1455
1479
|
"assert",
|
|
1456
1480
|
"trace"
|
|
1457
|
-
],
|
|
1458
|
-
function
|
|
1481
|
+
], yt = {};
|
|
1482
|
+
function At(t) {
|
|
1459
1483
|
if (!("console" in D))
|
|
1460
1484
|
return t();
|
|
1461
|
-
const e = D.console, r = {}, s = Object.keys(
|
|
1485
|
+
const e = D.console, r = {}, s = Object.keys(yt);
|
|
1462
1486
|
s.forEach((n) => {
|
|
1463
|
-
const
|
|
1464
|
-
r[n] = e[n], e[n] =
|
|
1487
|
+
const l = yt[n];
|
|
1488
|
+
r[n] = e[n], e[n] = l;
|
|
1465
1489
|
});
|
|
1466
1490
|
try {
|
|
1467
1491
|
return t();
|
|
@@ -1471,7 +1495,7 @@ function Lt(t) {
|
|
|
1471
1495
|
});
|
|
1472
1496
|
}
|
|
1473
1497
|
}
|
|
1474
|
-
function
|
|
1498
|
+
function As() {
|
|
1475
1499
|
let t = !1;
|
|
1476
1500
|
const e = {
|
|
1477
1501
|
enable: () => {
|
|
@@ -1482,23 +1506,23 @@ function Is() {
|
|
|
1482
1506
|
},
|
|
1483
1507
|
isEnabled: () => t
|
|
1484
1508
|
};
|
|
1485
|
-
return
|
|
1509
|
+
return Is ? wt.forEach((r) => {
|
|
1486
1510
|
e[r] = (...s) => {
|
|
1487
|
-
t &&
|
|
1488
|
-
D.console[r](`${
|
|
1511
|
+
t && At(() => {
|
|
1512
|
+
D.console[r](`${Ls}[${r}]:`, ...s);
|
|
1489
1513
|
});
|
|
1490
1514
|
};
|
|
1491
|
-
}) :
|
|
1515
|
+
}) : wt.forEach((r) => {
|
|
1492
1516
|
e[r] = () => {
|
|
1493
1517
|
};
|
|
1494
1518
|
}), e;
|
|
1495
1519
|
}
|
|
1496
|
-
const
|
|
1497
|
-
function
|
|
1520
|
+
const G = As();
|
|
1521
|
+
function H(t) {
|
|
1498
1522
|
return qe(t, /* @__PURE__ */ new Map());
|
|
1499
1523
|
}
|
|
1500
1524
|
function qe(t, e) {
|
|
1501
|
-
if (
|
|
1525
|
+
if (Us(t)) {
|
|
1502
1526
|
const r = e.get(t);
|
|
1503
1527
|
if (r !== void 0)
|
|
1504
1528
|
return r;
|
|
@@ -1519,8 +1543,8 @@ function qe(t, e) {
|
|
|
1519
1543
|
}
|
|
1520
1544
|
return t;
|
|
1521
1545
|
}
|
|
1522
|
-
function
|
|
1523
|
-
if (!
|
|
1546
|
+
function Us(t) {
|
|
1547
|
+
if (!It(t))
|
|
1524
1548
|
return !1;
|
|
1525
1549
|
try {
|
|
1526
1550
|
const e = Object.getPrototypeOf(t).constructor.name;
|
|
@@ -1549,20 +1573,20 @@ function L() {
|
|
|
1549
1573
|
)
|
|
1550
1574
|
);
|
|
1551
1575
|
}
|
|
1552
|
-
function
|
|
1576
|
+
function Fs(t) {
|
|
1553
1577
|
return Array.isArray(t) ? t : [t];
|
|
1554
1578
|
}
|
|
1555
|
-
var
|
|
1579
|
+
var B;
|
|
1556
1580
|
(function(t) {
|
|
1557
1581
|
t[t.PENDING = 0] = "PENDING";
|
|
1558
1582
|
const r = 1;
|
|
1559
1583
|
t[t.RESOLVED = r] = "RESOLVED";
|
|
1560
1584
|
const s = 2;
|
|
1561
1585
|
t[t.REJECTED = s] = "REJECTED";
|
|
1562
|
-
})(
|
|
1586
|
+
})(B || (B = {}));
|
|
1563
1587
|
class $ {
|
|
1564
1588
|
constructor(e) {
|
|
1565
|
-
$.prototype.__init.call(this), $.prototype.__init2.call(this), $.prototype.__init3.call(this), $.prototype.__init4.call(this), this._state =
|
|
1589
|
+
$.prototype.__init.call(this), $.prototype.__init2.call(this), $.prototype.__init3.call(this), $.prototype.__init4.call(this), this._state = B.PENDING, this._handlers = [];
|
|
1566
1590
|
try {
|
|
1567
1591
|
e(this._resolve, this._reject);
|
|
1568
1592
|
} catch (r) {
|
|
@@ -1574,24 +1598,24 @@ class $ {
|
|
|
1574
1598
|
return new $((s, n) => {
|
|
1575
1599
|
this._handlers.push([
|
|
1576
1600
|
!1,
|
|
1577
|
-
(
|
|
1601
|
+
(l) => {
|
|
1578
1602
|
if (!e)
|
|
1579
|
-
s(
|
|
1603
|
+
s(l);
|
|
1580
1604
|
else
|
|
1581
1605
|
try {
|
|
1582
|
-
s(e(
|
|
1583
|
-
} catch (
|
|
1584
|
-
n(
|
|
1606
|
+
s(e(l));
|
|
1607
|
+
} catch (u) {
|
|
1608
|
+
n(u);
|
|
1585
1609
|
}
|
|
1586
1610
|
},
|
|
1587
|
-
(
|
|
1611
|
+
(l) => {
|
|
1588
1612
|
if (!r)
|
|
1589
|
-
n(
|
|
1613
|
+
n(l);
|
|
1590
1614
|
else
|
|
1591
1615
|
try {
|
|
1592
|
-
s(r(
|
|
1593
|
-
} catch (
|
|
1594
|
-
n(
|
|
1616
|
+
s(r(l));
|
|
1617
|
+
} catch (u) {
|
|
1618
|
+
n(u);
|
|
1595
1619
|
}
|
|
1596
1620
|
}
|
|
1597
1621
|
]), this._executeHandlers();
|
|
@@ -1604,16 +1628,16 @@ class $ {
|
|
|
1604
1628
|
/** JSDoc */
|
|
1605
1629
|
finally(e) {
|
|
1606
1630
|
return new $((r, s) => {
|
|
1607
|
-
let n,
|
|
1631
|
+
let n, l;
|
|
1608
1632
|
return this.then(
|
|
1609
|
-
(
|
|
1610
|
-
|
|
1633
|
+
(u) => {
|
|
1634
|
+
l = !1, n = u, e && e();
|
|
1611
1635
|
},
|
|
1612
|
-
(
|
|
1613
|
-
|
|
1636
|
+
(u) => {
|
|
1637
|
+
l = !0, n = u, e && e();
|
|
1614
1638
|
}
|
|
1615
1639
|
).then(() => {
|
|
1616
|
-
if (
|
|
1640
|
+
if (l) {
|
|
1617
1641
|
s(n);
|
|
1618
1642
|
return;
|
|
1619
1643
|
}
|
|
@@ -1624,20 +1648,20 @@ class $ {
|
|
|
1624
1648
|
/** JSDoc */
|
|
1625
1649
|
__init() {
|
|
1626
1650
|
this._resolve = (e) => {
|
|
1627
|
-
this._setResult(
|
|
1651
|
+
this._setResult(B.RESOLVED, e);
|
|
1628
1652
|
};
|
|
1629
1653
|
}
|
|
1630
1654
|
/** JSDoc */
|
|
1631
1655
|
__init2() {
|
|
1632
1656
|
this._reject = (e) => {
|
|
1633
|
-
this._setResult(
|
|
1657
|
+
this._setResult(B.REJECTED, e);
|
|
1634
1658
|
};
|
|
1635
1659
|
}
|
|
1636
1660
|
/** JSDoc */
|
|
1637
1661
|
__init3() {
|
|
1638
1662
|
this._setResult = (e, r) => {
|
|
1639
|
-
if (this._state ===
|
|
1640
|
-
if (
|
|
1663
|
+
if (this._state === B.PENDING) {
|
|
1664
|
+
if (Je(r)) {
|
|
1641
1665
|
r.then(this._resolve, this._reject);
|
|
1642
1666
|
return;
|
|
1643
1667
|
}
|
|
@@ -1648,50 +1672,50 @@ class $ {
|
|
|
1648
1672
|
/** JSDoc */
|
|
1649
1673
|
__init4() {
|
|
1650
1674
|
this._executeHandlers = () => {
|
|
1651
|
-
if (this._state ===
|
|
1675
|
+
if (this._state === B.PENDING)
|
|
1652
1676
|
return;
|
|
1653
1677
|
const e = this._handlers.slice();
|
|
1654
1678
|
this._handlers = [], e.forEach((r) => {
|
|
1655
|
-
r[0] || (this._state ===
|
|
1679
|
+
r[0] || (this._state === B.RESOLVED && r[1](this._value), this._state === B.REJECTED && r[2](this._value), r[0] = !0);
|
|
1656
1680
|
});
|
|
1657
1681
|
};
|
|
1658
1682
|
}
|
|
1659
1683
|
}
|
|
1660
|
-
const
|
|
1661
|
-
function
|
|
1662
|
-
return Date.now() /
|
|
1684
|
+
const Ut = 1e3;
|
|
1685
|
+
function Ke() {
|
|
1686
|
+
return Date.now() / Ut;
|
|
1663
1687
|
}
|
|
1664
|
-
function
|
|
1688
|
+
function Bs() {
|
|
1665
1689
|
const { performance: t } = D;
|
|
1666
1690
|
if (!t || !t.now)
|
|
1667
|
-
return
|
|
1691
|
+
return Ke;
|
|
1668
1692
|
const e = Date.now() - t.now(), r = t.timeOrigin == null ? e : t.timeOrigin;
|
|
1669
|
-
return () => (r + t.now()) /
|
|
1693
|
+
return () => (r + t.now()) / Ut;
|
|
1670
1694
|
}
|
|
1671
|
-
const Ft =
|
|
1695
|
+
const Ft = Bs();
|
|
1672
1696
|
(() => {
|
|
1673
1697
|
const { performance: t } = D;
|
|
1674
1698
|
if (!t || !t.now)
|
|
1675
1699
|
return;
|
|
1676
|
-
const e = 3600 * 1e3, r = t.now(), s = Date.now(), n = t.timeOrigin ? Math.abs(t.timeOrigin + r - s) : e,
|
|
1677
|
-
return
|
|
1700
|
+
const e = 3600 * 1e3, r = t.now(), s = Date.now(), n = t.timeOrigin ? Math.abs(t.timeOrigin + r - s) : e, l = n < e, u = t.timing && t.timing.navigationStart, d = typeof u == "number" ? Math.abs(u + r - s) : e, b = d < e;
|
|
1701
|
+
return l || b ? n <= d ? t.timeOrigin : u : s;
|
|
1678
1702
|
})();
|
|
1679
|
-
const
|
|
1680
|
-
function
|
|
1681
|
-
return
|
|
1682
|
-
}
|
|
1683
|
-
function
|
|
1684
|
-
return new $((n,
|
|
1685
|
-
const
|
|
1686
|
-
if (e === null || typeof
|
|
1703
|
+
const me = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Bt = "production";
|
|
1704
|
+
function qs() {
|
|
1705
|
+
return Lt("globalEventProcessors", () => []);
|
|
1706
|
+
}
|
|
1707
|
+
function Ve(t, e, r, s = 0) {
|
|
1708
|
+
return new $((n, l) => {
|
|
1709
|
+
const u = t[s];
|
|
1710
|
+
if (e === null || typeof u != "function")
|
|
1687
1711
|
n(e);
|
|
1688
1712
|
else {
|
|
1689
|
-
const f =
|
|
1690
|
-
|
|
1713
|
+
const f = u({ ...e }, r);
|
|
1714
|
+
me && u.id && f === null && G.log(`Event processor "${u.id}" dropped event`), Je(f) ? f.then((d) => Ve(t, d, r, s + 1).then(n)).then(null, l) : Ve(t, f, r, s + 1).then(n).then(null, l);
|
|
1691
1715
|
}
|
|
1692
1716
|
});
|
|
1693
1717
|
}
|
|
1694
|
-
function
|
|
1718
|
+
function Vs(t) {
|
|
1695
1719
|
const e = Ft(), r = {
|
|
1696
1720
|
sid: L(),
|
|
1697
1721
|
init: !0,
|
|
@@ -1701,11 +1725,11 @@ function qs(t) {
|
|
|
1701
1725
|
status: "ok",
|
|
1702
1726
|
errors: 0,
|
|
1703
1727
|
ignoreDuration: !1,
|
|
1704
|
-
toJSON: () =>
|
|
1728
|
+
toJSON: () => $s(r)
|
|
1705
1729
|
};
|
|
1706
|
-
return t &&
|
|
1730
|
+
return t && Ee(r, t), r;
|
|
1707
1731
|
}
|
|
1708
|
-
function
|
|
1732
|
+
function Ee(t, e = {}) {
|
|
1709
1733
|
if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || Ft(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : L()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
|
|
1710
1734
|
t.duration = void 0;
|
|
1711
1735
|
else if (typeof e.duration == "number")
|
|
@@ -1716,12 +1740,12 @@ function ze(t, e = {}) {
|
|
|
1716
1740
|
}
|
|
1717
1741
|
e.release && (t.release = e.release), e.environment && (t.environment = e.environment), !t.ipAddress && e.ipAddress && (t.ipAddress = e.ipAddress), !t.userAgent && e.userAgent && (t.userAgent = e.userAgent), typeof e.errors == "number" && (t.errors = e.errors), e.status && (t.status = e.status);
|
|
1718
1742
|
}
|
|
1719
|
-
function
|
|
1743
|
+
function Ys(t, e) {
|
|
1720
1744
|
let r = {};
|
|
1721
|
-
e ? r = { status: e } : t.status === "ok" && (r = { status: "exited" }),
|
|
1745
|
+
e ? r = { status: e } : t.status === "ok" && (r = { status: "exited" }), Ee(t, r);
|
|
1722
1746
|
}
|
|
1723
|
-
function
|
|
1724
|
-
return
|
|
1747
|
+
function $s(t) {
|
|
1748
|
+
return H({
|
|
1725
1749
|
sid: `${t.sid}`,
|
|
1726
1750
|
init: t.init,
|
|
1727
1751
|
// Make sure that sec is converted to ms for date constructor
|
|
@@ -1740,40 +1764,40 @@ function Vs(t) {
|
|
|
1740
1764
|
}
|
|
1741
1765
|
});
|
|
1742
1766
|
}
|
|
1743
|
-
const
|
|
1744
|
-
function
|
|
1745
|
-
const { spanId: e, traceId: r } = t.spanContext(), { data: s, op: n, parent_span_id:
|
|
1746
|
-
return
|
|
1767
|
+
const Gs = 1;
|
|
1768
|
+
function Hs(t) {
|
|
1769
|
+
const { spanId: e, traceId: r } = t.spanContext(), { data: s, op: n, parent_span_id: l, status: u, tags: f, origin: d } = we(t);
|
|
1770
|
+
return H({
|
|
1747
1771
|
data: s,
|
|
1748
1772
|
op: n,
|
|
1749
|
-
parent_span_id:
|
|
1773
|
+
parent_span_id: l,
|
|
1750
1774
|
span_id: e,
|
|
1751
|
-
status:
|
|
1775
|
+
status: u,
|
|
1752
1776
|
tags: f,
|
|
1753
1777
|
trace_id: r,
|
|
1754
1778
|
origin: d
|
|
1755
1779
|
});
|
|
1756
1780
|
}
|
|
1757
|
-
function
|
|
1758
|
-
return
|
|
1781
|
+
function we(t) {
|
|
1782
|
+
return Ws(t) ? t.getSpanJSON() : typeof t.toJSON == "function" ? t.toJSON() : {};
|
|
1759
1783
|
}
|
|
1760
|
-
function
|
|
1784
|
+
function Ws(t) {
|
|
1761
1785
|
return typeof t.getSpanJSON == "function";
|
|
1762
1786
|
}
|
|
1763
|
-
function
|
|
1787
|
+
function Js(t) {
|
|
1764
1788
|
const { traceFlags: e } = t.spanContext();
|
|
1765
|
-
return !!(e &
|
|
1789
|
+
return !!(e & Gs);
|
|
1766
1790
|
}
|
|
1767
|
-
function
|
|
1791
|
+
function Ks(t) {
|
|
1768
1792
|
if (t)
|
|
1769
|
-
return
|
|
1793
|
+
return Zs(t) ? { captureContext: t } : Xs(t) ? {
|
|
1770
1794
|
captureContext: t
|
|
1771
1795
|
} : t;
|
|
1772
1796
|
}
|
|
1773
|
-
function
|
|
1797
|
+
function Zs(t) {
|
|
1774
1798
|
return t instanceof W || typeof t == "function";
|
|
1775
1799
|
}
|
|
1776
|
-
const
|
|
1800
|
+
const Qs = [
|
|
1777
1801
|
"user",
|
|
1778
1802
|
"level",
|
|
1779
1803
|
"extra",
|
|
@@ -1783,102 +1807,102 @@ const Ks = [
|
|
|
1783
1807
|
"requestSession",
|
|
1784
1808
|
"propagationContext"
|
|
1785
1809
|
];
|
|
1786
|
-
function
|
|
1787
|
-
return Object.keys(t).some((e) =>
|
|
1810
|
+
function Xs(t) {
|
|
1811
|
+
return Object.keys(t).some((e) => Qs.includes(e));
|
|
1788
1812
|
}
|
|
1789
|
-
function
|
|
1790
|
-
return
|
|
1813
|
+
function ea(t, e) {
|
|
1814
|
+
return je().captureException(t, Ks(e));
|
|
1791
1815
|
}
|
|
1792
|
-
function
|
|
1793
|
-
const e =
|
|
1816
|
+
function ta(...t) {
|
|
1817
|
+
const e = je();
|
|
1794
1818
|
if (t.length === 2) {
|
|
1795
1819
|
const [r, s] = t;
|
|
1796
1820
|
return r ? e.withScope(() => (e.getStackTop().scope = r, s(r))) : e.withScope(s);
|
|
1797
1821
|
}
|
|
1798
1822
|
return e.withScope(t[0]);
|
|
1799
1823
|
}
|
|
1800
|
-
function
|
|
1801
|
-
return
|
|
1824
|
+
function ra() {
|
|
1825
|
+
return je().getClient();
|
|
1802
1826
|
}
|
|
1803
|
-
function
|
|
1804
|
-
return
|
|
1827
|
+
function sa() {
|
|
1828
|
+
return je().getScope();
|
|
1805
1829
|
}
|
|
1806
1830
|
function qt(t) {
|
|
1807
1831
|
return t.transaction;
|
|
1808
1832
|
}
|
|
1809
|
-
function
|
|
1810
|
-
const s = e.getOptions(), { publicKey: n } = e.getDsn() || {}, { segment:
|
|
1811
|
-
environment: s.environment ||
|
|
1833
|
+
function aa(t, e, r) {
|
|
1834
|
+
const s = e.getOptions(), { publicKey: n } = e.getDsn() || {}, { segment: l } = r && r.getUser() || {}, u = H({
|
|
1835
|
+
environment: s.environment || Bt,
|
|
1812
1836
|
release: s.release,
|
|
1813
|
-
user_segment:
|
|
1837
|
+
user_segment: l,
|
|
1814
1838
|
public_key: n,
|
|
1815
1839
|
trace_id: t
|
|
1816
1840
|
});
|
|
1817
|
-
return e.emit && e.emit("createDsc",
|
|
1841
|
+
return e.emit && e.emit("createDsc", u), u;
|
|
1818
1842
|
}
|
|
1819
|
-
function
|
|
1820
|
-
const e =
|
|
1843
|
+
function na(t) {
|
|
1844
|
+
const e = ra();
|
|
1821
1845
|
if (!e)
|
|
1822
1846
|
return {};
|
|
1823
|
-
const r =
|
|
1847
|
+
const r = aa(we(t).trace_id || "", e, sa()), s = qt(t);
|
|
1824
1848
|
if (!s)
|
|
1825
1849
|
return r;
|
|
1826
1850
|
const n = s && s._frozenDynamicSamplingContext;
|
|
1827
1851
|
if (n)
|
|
1828
1852
|
return n;
|
|
1829
|
-
const { sampleRate:
|
|
1830
|
-
|
|
1831
|
-
const f =
|
|
1832
|
-
return
|
|
1853
|
+
const { sampleRate: l, source: u } = s.metadata;
|
|
1854
|
+
l != null && (r.sample_rate = `${l}`);
|
|
1855
|
+
const f = we(s);
|
|
1856
|
+
return u && u !== "url" && (r.transaction = f.description), r.sampled = String(Js(s)), e.emit && e.emit("createDsc", r), r;
|
|
1833
1857
|
}
|
|
1834
|
-
function
|
|
1835
|
-
const { fingerprint: r, span: s, breadcrumbs: n, sdkProcessingMetadata:
|
|
1836
|
-
|
|
1858
|
+
function oa(t, e) {
|
|
1859
|
+
const { fingerprint: r, span: s, breadcrumbs: n, sdkProcessingMetadata: l } = e;
|
|
1860
|
+
ia(t, e), s && ua(t, s), da(t, r), la(t, n), ca(t, l);
|
|
1837
1861
|
}
|
|
1838
|
-
function
|
|
1862
|
+
function ia(t, e) {
|
|
1839
1863
|
const {
|
|
1840
1864
|
extra: r,
|
|
1841
1865
|
tags: s,
|
|
1842
1866
|
user: n,
|
|
1843
|
-
contexts:
|
|
1844
|
-
level:
|
|
1867
|
+
contexts: l,
|
|
1868
|
+
level: u,
|
|
1845
1869
|
// eslint-disable-next-line deprecation/deprecation
|
|
1846
1870
|
transactionName: f
|
|
1847
|
-
} = e, d =
|
|
1871
|
+
} = e, d = H(r);
|
|
1848
1872
|
d && Object.keys(d).length && (t.extra = { ...d, ...t.extra });
|
|
1849
|
-
const b =
|
|
1873
|
+
const b = H(s);
|
|
1850
1874
|
b && Object.keys(b).length && (t.tags = { ...b, ...t.tags });
|
|
1851
|
-
const x =
|
|
1875
|
+
const x = H(n);
|
|
1852
1876
|
x && Object.keys(x).length && (t.user = { ...x, ...t.user });
|
|
1853
|
-
const y =
|
|
1854
|
-
y && Object.keys(y).length && (t.contexts = { ...y, ...t.contexts }),
|
|
1877
|
+
const y = H(l);
|
|
1878
|
+
y && Object.keys(y).length && (t.contexts = { ...y, ...t.contexts }), u && (t.level = u), f && (t.transaction = f);
|
|
1855
1879
|
}
|
|
1856
|
-
function
|
|
1880
|
+
function la(t, e) {
|
|
1857
1881
|
const r = [...t.breadcrumbs || [], ...e];
|
|
1858
1882
|
t.breadcrumbs = r.length ? r : void 0;
|
|
1859
1883
|
}
|
|
1860
|
-
function
|
|
1884
|
+
function ca(t, e) {
|
|
1861
1885
|
t.sdkProcessingMetadata = {
|
|
1862
1886
|
...t.sdkProcessingMetadata,
|
|
1863
1887
|
...e
|
|
1864
1888
|
};
|
|
1865
1889
|
}
|
|
1866
|
-
function
|
|
1867
|
-
t.contexts = { trace:
|
|
1890
|
+
function ua(t, e) {
|
|
1891
|
+
t.contexts = { trace: Hs(e), ...t.contexts };
|
|
1868
1892
|
const r = qt(e);
|
|
1869
1893
|
if (r) {
|
|
1870
1894
|
t.sdkProcessingMetadata = {
|
|
1871
|
-
dynamicSamplingContext:
|
|
1895
|
+
dynamicSamplingContext: na(e),
|
|
1872
1896
|
...t.sdkProcessingMetadata
|
|
1873
1897
|
};
|
|
1874
|
-
const s =
|
|
1898
|
+
const s = we(r).description;
|
|
1875
1899
|
s && (t.tags = { transaction: s, ...t.tags });
|
|
1876
1900
|
}
|
|
1877
1901
|
}
|
|
1878
|
-
function
|
|
1879
|
-
t.fingerprint = t.fingerprint ?
|
|
1902
|
+
function da(t, e) {
|
|
1903
|
+
t.fingerprint = t.fingerprint ? Fs(t.fingerprint) : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
|
|
1880
1904
|
}
|
|
1881
|
-
const
|
|
1905
|
+
const fa = 100;
|
|
1882
1906
|
class W {
|
|
1883
1907
|
/** Flag if notifying is happening. */
|
|
1884
1908
|
/** Callback for client to receive scope changes. */
|
|
@@ -1906,7 +1930,7 @@ class W {
|
|
|
1906
1930
|
/** The client on this scope */
|
|
1907
1931
|
// NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
|
|
1908
1932
|
constructor() {
|
|
1909
|
-
this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext =
|
|
1933
|
+
this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = zt();
|
|
1910
1934
|
}
|
|
1911
1935
|
/**
|
|
1912
1936
|
* Inherit values from the parent scope.
|
|
@@ -1957,7 +1981,7 @@ class W {
|
|
|
1957
1981
|
ip_address: void 0,
|
|
1958
1982
|
segment: void 0,
|
|
1959
1983
|
username: void 0
|
|
1960
|
-
}, this._session &&
|
|
1984
|
+
}, this._session && Ee(this._session, { user: e }), this._notifyScopeListeners(), this;
|
|
1961
1985
|
}
|
|
1962
1986
|
/**
|
|
1963
1987
|
* @inheritDoc
|
|
@@ -2076,7 +2100,7 @@ class W {
|
|
|
2076
2100
|
if (r instanceof W) {
|
|
2077
2101
|
const s = r.getScopeData();
|
|
2078
2102
|
this._tags = { ...this._tags, ...s.tags }, this._extra = { ...this._extra, ...s.extra }, this._contexts = { ...this._contexts, ...s.contexts }, s.user && Object.keys(s.user).length && (this._user = s.user), s.level && (this._level = s.level), s.fingerprint.length && (this._fingerprint = s.fingerprint), r.getRequestSession() && (this._requestSession = r.getRequestSession()), s.propagationContext && (this._propagationContext = s.propagationContext);
|
|
2079
|
-
} else if (
|
|
2103
|
+
} else if (It(r)) {
|
|
2080
2104
|
const s = e;
|
|
2081
2105
|
this._tags = { ...this._tags, ...s.tags }, this._extra = { ...this._extra, ...s.extra }, this._contexts = { ...this._contexts, ...s.contexts }, s.user && (this._user = s.user), s.level && (this._level = s.level), s.fingerprint && (this._fingerprint = s.fingerprint), s.requestSession && (this._requestSession = s.requestSession), s.propagationContext && (this._propagationContext = s.propagationContext);
|
|
2082
2106
|
}
|
|
@@ -2086,20 +2110,20 @@ class W {
|
|
|
2086
2110
|
* @inheritDoc
|
|
2087
2111
|
*/
|
|
2088
2112
|
clear() {
|
|
2089
|
-
return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this._attachments = [], this._propagationContext =
|
|
2113
|
+
return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this._attachments = [], this._propagationContext = zt(), this;
|
|
2090
2114
|
}
|
|
2091
2115
|
/**
|
|
2092
2116
|
* @inheritDoc
|
|
2093
2117
|
*/
|
|
2094
2118
|
addBreadcrumb(e, r) {
|
|
2095
|
-
const s = typeof r == "number" ? r :
|
|
2119
|
+
const s = typeof r == "number" ? r : fa;
|
|
2096
2120
|
if (s <= 0)
|
|
2097
2121
|
return this;
|
|
2098
2122
|
const n = {
|
|
2099
|
-
timestamp:
|
|
2123
|
+
timestamp: Ke(),
|
|
2100
2124
|
...e
|
|
2101
|
-
},
|
|
2102
|
-
return
|
|
2125
|
+
}, l = this._breadcrumbs;
|
|
2126
|
+
return l.push(n), this._breadcrumbs = l.length > s ? l.slice(-s) : l, this._notifyScopeListeners(), this;
|
|
2103
2127
|
}
|
|
2104
2128
|
/**
|
|
2105
2129
|
* @inheritDoc
|
|
@@ -2139,14 +2163,14 @@ class W {
|
|
|
2139
2163
|
_attachments: r,
|
|
2140
2164
|
_contexts: s,
|
|
2141
2165
|
_tags: n,
|
|
2142
|
-
_extra:
|
|
2143
|
-
_user:
|
|
2166
|
+
_extra: l,
|
|
2167
|
+
_user: u,
|
|
2144
2168
|
_level: f,
|
|
2145
2169
|
_fingerprint: d,
|
|
2146
2170
|
_eventProcessors: b,
|
|
2147
2171
|
_propagationContext: x,
|
|
2148
2172
|
_sdkProcessingMetadata: y,
|
|
2149
|
-
_transactionName:
|
|
2173
|
+
_transactionName: O,
|
|
2150
2174
|
_span: S
|
|
2151
2175
|
} = this;
|
|
2152
2176
|
return {
|
|
@@ -2154,14 +2178,14 @@ class W {
|
|
|
2154
2178
|
attachments: r,
|
|
2155
2179
|
contexts: s,
|
|
2156
2180
|
tags: n,
|
|
2157
|
-
extra:
|
|
2158
|
-
user:
|
|
2181
|
+
extra: l,
|
|
2182
|
+
user: u,
|
|
2159
2183
|
level: f,
|
|
2160
2184
|
fingerprint: d || [],
|
|
2161
2185
|
eventProcessors: b,
|
|
2162
2186
|
propagationContext: x,
|
|
2163
2187
|
sdkProcessingMetadata: y,
|
|
2164
|
-
transactionName:
|
|
2188
|
+
transactionName: O,
|
|
2165
2189
|
span: S
|
|
2166
2190
|
};
|
|
2167
2191
|
}
|
|
@@ -2174,14 +2198,14 @@ class W {
|
|
|
2174
2198
|
* @deprecated Use `applyScopeDataToEvent()` directly
|
|
2175
2199
|
*/
|
|
2176
2200
|
applyToEvent(e, r = {}, s = []) {
|
|
2177
|
-
|
|
2201
|
+
oa(e, this.getScopeData());
|
|
2178
2202
|
const n = [
|
|
2179
2203
|
...s,
|
|
2180
2204
|
// eslint-disable-next-line deprecation/deprecation
|
|
2181
|
-
...
|
|
2205
|
+
...qs(),
|
|
2182
2206
|
...this._eventProcessors
|
|
2183
2207
|
];
|
|
2184
|
-
return
|
|
2208
|
+
return Ve(n, e, r);
|
|
2185
2209
|
}
|
|
2186
2210
|
/**
|
|
2187
2211
|
* Add data which will be accessible during event processing but won't get sent to Sentry
|
|
@@ -2211,7 +2235,7 @@ class W {
|
|
|
2211
2235
|
captureException(e, r) {
|
|
2212
2236
|
const s = r && r.event_id ? r.event_id : L();
|
|
2213
2237
|
if (!this._client)
|
|
2214
|
-
return
|
|
2238
|
+
return G.warn("No client configured on scope - will not capture exception!"), s;
|
|
2215
2239
|
const n = new Error("Sentry syntheticException");
|
|
2216
2240
|
return this._client.captureException(
|
|
2217
2241
|
e,
|
|
@@ -2235,14 +2259,14 @@ class W {
|
|
|
2235
2259
|
captureMessage(e, r, s) {
|
|
2236
2260
|
const n = s && s.event_id ? s.event_id : L();
|
|
2237
2261
|
if (!this._client)
|
|
2238
|
-
return
|
|
2239
|
-
const
|
|
2262
|
+
return G.warn("No client configured on scope - will not capture message!"), n;
|
|
2263
|
+
const l = new Error(e);
|
|
2240
2264
|
return this._client.captureMessage(
|
|
2241
2265
|
e,
|
|
2242
2266
|
r,
|
|
2243
2267
|
{
|
|
2244
2268
|
originalException: e,
|
|
2245
|
-
syntheticException:
|
|
2269
|
+
syntheticException: l,
|
|
2246
2270
|
...s,
|
|
2247
2271
|
event_id: n
|
|
2248
2272
|
},
|
|
@@ -2258,7 +2282,7 @@ class W {
|
|
|
2258
2282
|
*/
|
|
2259
2283
|
captureEvent(e, r) {
|
|
2260
2284
|
const s = r && r.event_id ? r.event_id : L();
|
|
2261
|
-
return this._client ? (this._client.captureEvent(e, { ...r, event_id: s }, this), s) : (
|
|
2285
|
+
return this._client ? (this._client.captureEvent(e, { ...r, event_id: s }, this), s) : (G.warn("No client configured on scope - will not capture event!"), s);
|
|
2262
2286
|
}
|
|
2263
2287
|
/**
|
|
2264
2288
|
* This will be called on every set call.
|
|
@@ -2269,14 +2293,14 @@ class W {
|
|
|
2269
2293
|
}), this._notifyingListeners = !1);
|
|
2270
2294
|
}
|
|
2271
2295
|
}
|
|
2272
|
-
function
|
|
2296
|
+
function zt() {
|
|
2273
2297
|
return {
|
|
2274
2298
|
traceId: L(),
|
|
2275
2299
|
spanId: L().substring(16)
|
|
2276
2300
|
};
|
|
2277
2301
|
}
|
|
2278
|
-
const
|
|
2279
|
-
class
|
|
2302
|
+
const ha = "7.118.0", Vt = parseFloat(ha), _a = 100;
|
|
2303
|
+
class Yt {
|
|
2280
2304
|
/** Is a {@link Layer}[] containing the client and scope */
|
|
2281
2305
|
/** Contains the last event id of a captured event. */
|
|
2282
2306
|
/**
|
|
@@ -2327,12 +2351,12 @@ class Vt {
|
|
|
2327
2351
|
* scope.captureException();
|
|
2328
2352
|
* ```
|
|
2329
2353
|
*/
|
|
2330
|
-
constructor(e, r, s, n =
|
|
2354
|
+
constructor(e, r, s, n = Vt) {
|
|
2331
2355
|
this._version = n;
|
|
2356
|
+
let l;
|
|
2357
|
+
r ? l = r : (l = new W(), l.setClient(e));
|
|
2332
2358
|
let u;
|
|
2333
|
-
|
|
2334
|
-
let c;
|
|
2335
|
-
s ? c = s : (c = new W(), c.setClient(e)), this._stack = [{ scope: u }], e && this.bindClient(e), this._isolationScope = c;
|
|
2359
|
+
s ? u = s : (u = new W(), u.setClient(e)), this._stack = [{ scope: l }], e && this.bindClient(e), this._isolationScope = u;
|
|
2336
2360
|
}
|
|
2337
2361
|
/**
|
|
2338
2362
|
* Checks if this hub's version is older than the given version.
|
|
@@ -2389,7 +2413,7 @@ class Vt {
|
|
|
2389
2413
|
} catch (n) {
|
|
2390
2414
|
throw this.popScope(), n;
|
|
2391
2415
|
}
|
|
2392
|
-
return
|
|
2416
|
+
return Je(s) ? s.then(
|
|
2393
2417
|
(n) => (this.popScope(), n),
|
|
2394
2418
|
(n) => {
|
|
2395
2419
|
throw this.popScope(), n;
|
|
@@ -2452,10 +2476,10 @@ class Vt {
|
|
|
2452
2476
|
* @deprecated Use `Sentry.captureMessage()` instead.
|
|
2453
2477
|
*/
|
|
2454
2478
|
captureMessage(e, r, s) {
|
|
2455
|
-
const n = this._lastEventId = s && s.event_id ? s.event_id : L(),
|
|
2479
|
+
const n = this._lastEventId = s && s.event_id ? s.event_id : L(), l = new Error(e);
|
|
2456
2480
|
return this.getScope().captureMessage(e, r, {
|
|
2457
2481
|
originalException: e,
|
|
2458
|
-
syntheticException:
|
|
2482
|
+
syntheticException: l,
|
|
2459
2483
|
...s,
|
|
2460
2484
|
event_id: n
|
|
2461
2485
|
}), n;
|
|
@@ -2486,11 +2510,11 @@ class Vt {
|
|
|
2486
2510
|
const { scope: s, client: n } = this.getStackTop();
|
|
2487
2511
|
if (!n)
|
|
2488
2512
|
return;
|
|
2489
|
-
const { beforeBreadcrumb:
|
|
2490
|
-
if (
|
|
2513
|
+
const { beforeBreadcrumb: l = null, maxBreadcrumbs: u = _a } = n.getOptions && n.getOptions() || {};
|
|
2514
|
+
if (u <= 0)
|
|
2491
2515
|
return;
|
|
2492
|
-
const d = { timestamp:
|
|
2493
|
-
b !== null && (n.emit && n.emit("beforeAddBreadcrumb", b, r), s.addBreadcrumb(b,
|
|
2516
|
+
const d = { timestamp: Ke(), ...e }, b = l ? At(() => l(d, r)) : d;
|
|
2517
|
+
b !== null && (n.emit && n.emit("beforeAddBreadcrumb", b, r), s.addBreadcrumb(b, u));
|
|
2494
2518
|
}
|
|
2495
2519
|
/**
|
|
2496
2520
|
* @inheritDoc
|
|
@@ -2547,12 +2571,13 @@ class Vt {
|
|
|
2547
2571
|
/**
|
|
2548
2572
|
* @inheritDoc
|
|
2549
2573
|
*/
|
|
2574
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
2550
2575
|
run(e) {
|
|
2551
|
-
const r =
|
|
2576
|
+
const r = Et(this);
|
|
2552
2577
|
try {
|
|
2553
2578
|
e(this);
|
|
2554
2579
|
} finally {
|
|
2555
|
-
|
|
2580
|
+
Et(r);
|
|
2556
2581
|
}
|
|
2557
2582
|
}
|
|
2558
2583
|
/**
|
|
@@ -2566,7 +2591,7 @@ class Vt {
|
|
|
2566
2591
|
try {
|
|
2567
2592
|
return r.getIntegration(e);
|
|
2568
2593
|
} catch {
|
|
2569
|
-
return
|
|
2594
|
+
return me && G.warn(`Cannot retrieve integration ${e.id} from the current Hub`), null;
|
|
2570
2595
|
}
|
|
2571
2596
|
}
|
|
2572
2597
|
/**
|
|
@@ -2590,10 +2615,10 @@ class Vt {
|
|
|
2590
2615
|
*/
|
|
2591
2616
|
startTransaction(e, r) {
|
|
2592
2617
|
const s = this._callExtensionMethod("startTransaction", e, r);
|
|
2593
|
-
return
|
|
2618
|
+
return me && !s && (this.getClient() ? G.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
|
|
2594
2619
|
Sentry.addTracingExtensions();
|
|
2595
2620
|
Sentry.init({...});
|
|
2596
|
-
`) :
|
|
2621
|
+
`) : G.warn(
|
|
2597
2622
|
"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'"
|
|
2598
2623
|
)), s;
|
|
2599
2624
|
}
|
|
@@ -2620,21 +2645,21 @@ Sentry.init({...});
|
|
|
2620
2645
|
*/
|
|
2621
2646
|
endSession() {
|
|
2622
2647
|
const r = this.getStackTop().scope, s = r.getSession();
|
|
2623
|
-
s &&
|
|
2648
|
+
s && Ys(s), this._sendSessionUpdate(), r.setSession();
|
|
2624
2649
|
}
|
|
2625
2650
|
/**
|
|
2626
2651
|
* @inheritDoc
|
|
2627
2652
|
* @deprecated Use top level `startSession` instead.
|
|
2628
2653
|
*/
|
|
2629
2654
|
startSession(e) {
|
|
2630
|
-
const { scope: r, client: s } = this.getStackTop(), { release: n, environment:
|
|
2655
|
+
const { scope: r, client: s } = this.getStackTop(), { release: n, environment: l = Bt } = s && s.getOptions() || {}, { userAgent: u } = D.navigator || {}, f = Vs({
|
|
2631
2656
|
release: n,
|
|
2632
|
-
environment:
|
|
2657
|
+
environment: l,
|
|
2633
2658
|
user: r.getUser(),
|
|
2634
|
-
...
|
|
2659
|
+
...u && { userAgent: u },
|
|
2635
2660
|
...e
|
|
2636
2661
|
}), d = r.getSession && r.getSession();
|
|
2637
|
-
return d && d.status === "ok" &&
|
|
2662
|
+
return d && d.status === "ok" && Ee(d, { status: "exited" }), this.endSession(), r.setSession(f), f;
|
|
2638
2663
|
}
|
|
2639
2664
|
/**
|
|
2640
2665
|
* Returns if default PII should be sent to Sentry and propagated in ourgoing requests
|
|
@@ -2660,93 +2685,105 @@ Sentry.init({...});
|
|
|
2660
2685
|
// @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)
|
|
2661
2686
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2662
2687
|
_callExtensionMethod(e, ...r) {
|
|
2663
|
-
const n =
|
|
2688
|
+
const n = Se().__SENTRY__;
|
|
2664
2689
|
if (n && n.extensions && typeof n.extensions[e] == "function")
|
|
2665
2690
|
return n.extensions[e].apply(this, r);
|
|
2666
|
-
|
|
2691
|
+
me && G.warn(`Extension method ${e} couldn't be found, doing nothing.`);
|
|
2667
2692
|
}
|
|
2668
2693
|
}
|
|
2669
|
-
function
|
|
2694
|
+
function Se() {
|
|
2670
2695
|
return D.__SENTRY__ = D.__SENTRY__ || {
|
|
2671
2696
|
extensions: {},
|
|
2672
2697
|
hub: void 0
|
|
2673
2698
|
}, D;
|
|
2674
2699
|
}
|
|
2675
|
-
function
|
|
2676
|
-
const e =
|
|
2677
|
-
return
|
|
2700
|
+
function Et(t) {
|
|
2701
|
+
const e = Se(), r = Ye(e);
|
|
2702
|
+
return $t(e, t), r;
|
|
2678
2703
|
}
|
|
2679
|
-
function
|
|
2680
|
-
const t =
|
|
2704
|
+
function je() {
|
|
2705
|
+
const t = Se();
|
|
2681
2706
|
if (t.__SENTRY__ && t.__SENTRY__.acs) {
|
|
2682
2707
|
const e = t.__SENTRY__.acs.getCurrentHub();
|
|
2683
2708
|
if (e)
|
|
2684
2709
|
return e;
|
|
2685
2710
|
}
|
|
2686
|
-
return
|
|
2711
|
+
return pa(t);
|
|
2687
2712
|
}
|
|
2688
|
-
function
|
|
2689
|
-
return (!
|
|
2690
|
-
|
|
2713
|
+
function pa(t = Se()) {
|
|
2714
|
+
return (!ba(t) || // eslint-disable-next-line deprecation/deprecation
|
|
2715
|
+
Ye(t).isOlderThan(Vt)) && $t(t, new Yt()), Ye(t);
|
|
2691
2716
|
}
|
|
2692
|
-
function
|
|
2717
|
+
function ba(t) {
|
|
2693
2718
|
return !!(t && t.__SENTRY__ && t.__SENTRY__.hub);
|
|
2694
2719
|
}
|
|
2695
|
-
function
|
|
2696
|
-
return
|
|
2720
|
+
function Ye(t) {
|
|
2721
|
+
return Lt("hub", () => new Yt(), t);
|
|
2697
2722
|
}
|
|
2698
|
-
function
|
|
2723
|
+
function $t(t, e) {
|
|
2699
2724
|
if (!t)
|
|
2700
2725
|
return !1;
|
|
2701
2726
|
const r = t.__SENTRY__ = t.__SENTRY__ || {};
|
|
2702
2727
|
return r.hub = e, !0;
|
|
2703
2728
|
}
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2729
|
+
var ue = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
2730
|
+
const ga = {
|
|
2731
|
+
sdkURL: ue.PUBLIC_SID_SDK_URL || "https://jump.slashid.local",
|
|
2732
|
+
baseURL: ue.PUBLIC_SID_API_URL || "https://api.slashid.local",
|
|
2733
|
+
environment: ue.PUBLIC_SID_ENVIRONMENT,
|
|
2734
|
+
sentryDSN: ue.PUBLIC_SID_SENTRY_DSN,
|
|
2735
|
+
sentryEnabled: ue.PUBLIC_SID_ENVIRONMENT !== "local"
|
|
2736
|
+
};
|
|
2737
|
+
async function xa(t, e) {
|
|
2738
|
+
const r = await mr.toSlashIDError(t);
|
|
2739
|
+
if (!ga.sentryEnabled) {
|
|
2740
|
+
console.error(r), e && console.log(`Error context: ${JSON.stringify(e)}`);
|
|
2741
|
+
return;
|
|
2742
|
+
}
|
|
2743
|
+
ta((s) => {
|
|
2707
2744
|
s.setExtras({
|
|
2708
2745
|
...e,
|
|
2709
2746
|
...r.context
|
|
2710
|
-
}),
|
|
2747
|
+
}), ea(r);
|
|
2711
2748
|
});
|
|
2712
2749
|
}
|
|
2713
|
-
function
|
|
2714
|
-
return /* @__PURE__ */ o.jsx(
|
|
2750
|
+
function va() {
|
|
2751
|
+
return /* @__PURE__ */ o.jsx(Ce, { variant: "primary", children: /* @__PURE__ */ o.jsx(Mt, {}) });
|
|
2715
2752
|
}
|
|
2716
|
-
function
|
|
2717
|
-
const { sdk: n } =
|
|
2718
|
-
return
|
|
2753
|
+
function ja({ onSuccess: t, onError: e, flowType: r, onRedirectDiscovered: s }) {
|
|
2754
|
+
const { sdk: n } = ze();
|
|
2755
|
+
return $e(() => {
|
|
2719
2756
|
if (!n)
|
|
2720
2757
|
return;
|
|
2721
2758
|
s && (n == null || n.subscribe("redirectUriDiscovered", s));
|
|
2722
|
-
async function
|
|
2759
|
+
async function l() {
|
|
2723
2760
|
try {
|
|
2724
2761
|
await (n == null ? void 0 : n.getUserFromURL()), t();
|
|
2725
|
-
} catch (
|
|
2726
|
-
await
|
|
2727
|
-
const f = await
|
|
2762
|
+
} catch (u) {
|
|
2763
|
+
await xa(u);
|
|
2764
|
+
const f = await Cr.toSlashIDError(u);
|
|
2728
2765
|
e({ error: f });
|
|
2729
2766
|
}
|
|
2730
2767
|
}
|
|
2731
|
-
return
|
|
2768
|
+
return l(), () => {
|
|
2732
2769
|
s && n.unsubscribe("redirectUriDiscovered", s);
|
|
2733
2770
|
};
|
|
2734
|
-
}, [r, e, t, n]), r === "password-recovery" ? /* @__PURE__ */ o.jsx(
|
|
2735
|
-
/* @__PURE__ */ o.jsxs(
|
|
2771
|
+
}, [r, e, t, n]), r === "password-recovery" ? /* @__PURE__ */ o.jsx(Ps, {}) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
2772
|
+
/* @__PURE__ */ o.jsxs(He, { space: "0.25", children: [
|
|
2736
2773
|
/* @__PURE__ */ o.jsx(J, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "initial.title" }),
|
|
2737
2774
|
/* @__PURE__ */ o.jsx(J, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "initial.details" })
|
|
2738
2775
|
] }),
|
|
2739
|
-
/* @__PURE__ */ o.jsx(
|
|
2776
|
+
/* @__PURE__ */ o.jsx(va, {})
|
|
2740
2777
|
] });
|
|
2741
2778
|
}
|
|
2742
2779
|
export {
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2780
|
+
za as Card,
|
|
2781
|
+
Ea as Error,
|
|
2782
|
+
fs as I18N,
|
|
2783
|
+
ja as Progress,
|
|
2784
|
+
Ps as Recover,
|
|
2785
|
+
Sa as Success,
|
|
2786
|
+
ya as TextProvider,
|
|
2787
|
+
wa as ThemeRoot
|
|
2751
2788
|
};
|
|
2752
2789
|
//# sourceMappingURL=main.js.map
|