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