diditui 0.0.5 → 0.0.6
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/dist/diditui.d.ts +1 -1
- package/dist/diditui.js +776 -761
- package/dist/diditui.umd.cjs +23 -23
- package/package.json +1 -1
package/dist/diditui.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import Rt, { forwardRef as
|
|
3
|
-
import
|
|
1
|
+
import * as R from "react";
|
|
2
|
+
import Rt, { forwardRef as pe, useMemo as vo, useLayoutEffect as bo, useEffect as yo, useState as wo } from "react";
|
|
3
|
+
import Co from "react-dom";
|
|
4
4
|
function un(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function xo(e) {
|
|
8
8
|
if (e.__esModule) return e;
|
|
9
9
|
var t = e.default;
|
|
10
10
|
if (typeof t == "function") {
|
|
@@ -23,7 +23,7 @@ function Eo(e) {
|
|
|
23
23
|
});
|
|
24
24
|
}), r;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var Qt = { exports: {} }, nt = {};
|
|
27
27
|
/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.production.min.js
|
|
@@ -34,7 +34,7 @@ var Zt = { exports: {} }, nt = {};
|
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
36
|
var Ir;
|
|
37
|
-
function
|
|
37
|
+
function Eo() {
|
|
38
38
|
if (Ir) return nt;
|
|
39
39
|
Ir = 1;
|
|
40
40
|
var e = Rt, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -61,50 +61,50 @@ var Dr;
|
|
|
61
61
|
function _o() {
|
|
62
62
|
return Dr || (Dr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
63
63
|
var e = Rt, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), T = Symbol.iterator, b = "@@iterator";
|
|
64
|
-
function
|
|
64
|
+
function E(c) {
|
|
65
65
|
if (c === null || typeof c != "object")
|
|
66
66
|
return null;
|
|
67
|
-
var
|
|
68
|
-
return typeof
|
|
67
|
+
var C = T && c[T] || c[b];
|
|
68
|
+
return typeof C == "function" ? C : null;
|
|
69
69
|
}
|
|
70
70
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
71
71
|
function w(c) {
|
|
72
72
|
{
|
|
73
|
-
for (var
|
|
74
|
-
|
|
75
|
-
S("error", c,
|
|
73
|
+
for (var C = arguments.length, M = new Array(C > 1 ? C - 1 : 0), I = 1; I < C; I++)
|
|
74
|
+
M[I - 1] = arguments[I];
|
|
75
|
+
S("error", c, M);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
function S(c,
|
|
78
|
+
function S(c, C, M) {
|
|
79
79
|
{
|
|
80
|
-
var I = y.ReactDebugCurrentFrame,
|
|
81
|
-
|
|
82
|
-
var ne =
|
|
80
|
+
var I = y.ReactDebugCurrentFrame, X = I.getStackAddendum();
|
|
81
|
+
X !== "" && (C += "%s", M = M.concat([X]));
|
|
82
|
+
var ne = M.map(function(G) {
|
|
83
83
|
return String(G);
|
|
84
84
|
});
|
|
85
|
-
ne.unshift("Warning: " +
|
|
85
|
+
ne.unshift("Warning: " + C), Function.prototype.apply.call(console[c], console, ne);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var x = !1, g = !1, $ = !1, te = !1, ie = !1, ae;
|
|
89
89
|
ae = Symbol.for("react.module.reference");
|
|
90
90
|
function se(c) {
|
|
91
|
-
return !!(typeof c == "string" || typeof c == "function" || c === n || c === a || ie || c === o || c === u || c === f || te || c === h ||
|
|
91
|
+
return !!(typeof c == "string" || typeof c == "function" || c === n || c === a || ie || c === o || c === u || c === f || te || c === h || x || g || $ || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === m || c.$$typeof === s || c.$$typeof === i || c.$$typeof === l || // This needs to include all possible module reference object
|
|
92
92
|
// types supported by any Flight configuration anywhere since
|
|
93
93
|
// we don't know which Flight build this will end up being used
|
|
94
94
|
// with.
|
|
95
95
|
c.$$typeof === ae || c.getModuleId !== void 0));
|
|
96
96
|
}
|
|
97
|
-
function ue(c,
|
|
97
|
+
function ue(c, C, M) {
|
|
98
98
|
var I = c.displayName;
|
|
99
99
|
if (I)
|
|
100
100
|
return I;
|
|
101
|
-
var
|
|
102
|
-
return
|
|
101
|
+
var X = C.displayName || C.name || "";
|
|
102
|
+
return X !== "" ? M + "(" + X + ")" : M;
|
|
103
103
|
}
|
|
104
104
|
function U(c) {
|
|
105
105
|
return c.displayName || "Context";
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Z(c) {
|
|
108
108
|
if (c == null)
|
|
109
109
|
return null;
|
|
110
110
|
if (typeof c.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
|
|
@@ -128,20 +128,20 @@ function _o() {
|
|
|
128
128
|
if (typeof c == "object")
|
|
129
129
|
switch (c.$$typeof) {
|
|
130
130
|
case i:
|
|
131
|
-
var
|
|
132
|
-
return U(
|
|
131
|
+
var C = c;
|
|
132
|
+
return U(C) + ".Consumer";
|
|
133
133
|
case s:
|
|
134
|
-
var
|
|
135
|
-
return U(
|
|
134
|
+
var M = c;
|
|
135
|
+
return U(M._context) + ".Provider";
|
|
136
136
|
case l:
|
|
137
137
|
return ue(c, c.render, "ForwardRef");
|
|
138
138
|
case m:
|
|
139
139
|
var I = c.displayName || null;
|
|
140
|
-
return I !== null ? I :
|
|
140
|
+
return I !== null ? I : Z(c.type) || "Memo";
|
|
141
141
|
case p: {
|
|
142
|
-
var
|
|
142
|
+
var X = c, ne = X._payload, G = X._init;
|
|
143
143
|
try {
|
|
144
|
-
return
|
|
144
|
+
return Z(G(ne));
|
|
145
145
|
} catch {
|
|
146
146
|
return null;
|
|
147
147
|
}
|
|
@@ -149,14 +149,14 @@ function _o() {
|
|
|
149
149
|
}
|
|
150
150
|
return null;
|
|
151
151
|
}
|
|
152
|
-
var k = Object.assign,
|
|
152
|
+
var k = Object.assign, A = 0, W, d, P, re, v, _, N;
|
|
153
153
|
function L() {
|
|
154
154
|
}
|
|
155
155
|
L.__reactDisabledLog = !0;
|
|
156
156
|
function F() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
159
|
-
W = console.log, d = console.info,
|
|
158
|
+
if (A === 0) {
|
|
159
|
+
W = console.log, d = console.info, P = console.warn, re = console.error, v = console.group, _ = console.groupCollapsed, N = console.groupEnd;
|
|
160
160
|
var c = {
|
|
161
161
|
configurable: !0,
|
|
162
162
|
enumerable: !0,
|
|
@@ -173,12 +173,12 @@ function _o() {
|
|
|
173
173
|
groupEnd: c
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
A++;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
function q() {
|
|
180
180
|
{
|
|
181
|
-
if (
|
|
181
|
+
if (A--, A === 0) {
|
|
182
182
|
var c = {
|
|
183
183
|
configurable: !0,
|
|
184
184
|
enumerable: !0,
|
|
@@ -192,7 +192,7 @@ function _o() {
|
|
|
192
192
|
value: d
|
|
193
193
|
}),
|
|
194
194
|
warn: k({}, c, {
|
|
195
|
-
value:
|
|
195
|
+
value: P
|
|
196
196
|
}),
|
|
197
197
|
error: k({}, c, {
|
|
198
198
|
value: re
|
|
@@ -208,17 +208,17 @@ function _o() {
|
|
|
208
208
|
})
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
|
-
|
|
211
|
+
A < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
var j = y.ReactCurrentDispatcher, B;
|
|
215
|
-
function H(c,
|
|
215
|
+
function H(c, C, M) {
|
|
216
216
|
{
|
|
217
217
|
if (B === void 0)
|
|
218
218
|
try {
|
|
219
219
|
throw Error();
|
|
220
|
-
} catch (
|
|
221
|
-
var I =
|
|
220
|
+
} catch (X) {
|
|
221
|
+
var I = X.stack.trim().match(/\n( *(at )?)/);
|
|
222
222
|
B = I && I[1] || "";
|
|
223
223
|
}
|
|
224
224
|
return `
|
|
@@ -230,22 +230,22 @@ function _o() {
|
|
|
230
230
|
var fe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
231
231
|
V = new fe();
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function O(c, C) {
|
|
234
234
|
if (!c || J)
|
|
235
235
|
return "";
|
|
236
236
|
{
|
|
237
|
-
var
|
|
238
|
-
if (
|
|
239
|
-
return
|
|
237
|
+
var M = V.get(c);
|
|
238
|
+
if (M !== void 0)
|
|
239
|
+
return M;
|
|
240
240
|
}
|
|
241
241
|
var I;
|
|
242
242
|
J = !0;
|
|
243
|
-
var
|
|
243
|
+
var X = Error.prepareStackTrace;
|
|
244
244
|
Error.prepareStackTrace = void 0;
|
|
245
245
|
var ne;
|
|
246
246
|
ne = j.current, j.current = null, F();
|
|
247
247
|
try {
|
|
248
|
-
if (
|
|
248
|
+
if (C) {
|
|
249
249
|
var G = function() {
|
|
250
250
|
throw Error();
|
|
251
251
|
};
|
|
@@ -256,37 +256,37 @@ function _o() {
|
|
|
256
256
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
257
257
|
try {
|
|
258
258
|
Reflect.construct(G, []);
|
|
259
|
-
} catch (
|
|
260
|
-
I =
|
|
259
|
+
} catch (ge) {
|
|
260
|
+
I = ge;
|
|
261
261
|
}
|
|
262
262
|
Reflect.construct(c, [], G);
|
|
263
263
|
} else {
|
|
264
264
|
try {
|
|
265
265
|
G.call();
|
|
266
|
-
} catch (
|
|
267
|
-
I =
|
|
266
|
+
} catch (ge) {
|
|
267
|
+
I = ge;
|
|
268
268
|
}
|
|
269
269
|
c.call(G.prototype);
|
|
270
270
|
}
|
|
271
271
|
} else {
|
|
272
272
|
try {
|
|
273
273
|
throw Error();
|
|
274
|
-
} catch (
|
|
275
|
-
I =
|
|
274
|
+
} catch (ge) {
|
|
275
|
+
I = ge;
|
|
276
276
|
}
|
|
277
277
|
c();
|
|
278
278
|
}
|
|
279
|
-
} catch (
|
|
280
|
-
if (
|
|
281
|
-
for (var Y =
|
|
282
|
-
`),
|
|
283
|
-
`), le = Y.length - 1, ce =
|
|
279
|
+
} catch (ge) {
|
|
280
|
+
if (ge && I && typeof ge.stack == "string") {
|
|
281
|
+
for (var Y = ge.stack.split(`
|
|
282
|
+
`), me = I.stack.split(`
|
|
283
|
+
`), le = Y.length - 1, ce = me.length - 1; le >= 1 && ce >= 0 && Y[le] !== me[ce]; )
|
|
284
284
|
ce--;
|
|
285
285
|
for (; le >= 1 && ce >= 0; le--, ce--)
|
|
286
|
-
if (Y[le] !==
|
|
286
|
+
if (Y[le] !== me[ce]) {
|
|
287
287
|
if (le !== 1 || ce !== 1)
|
|
288
288
|
do
|
|
289
|
-
if (le--, ce--, ce < 0 || Y[le] !==
|
|
289
|
+
if (le--, ce--, ce < 0 || Y[le] !== me[ce]) {
|
|
290
290
|
var we = `
|
|
291
291
|
` + Y[le].replace(" at new ", " at ");
|
|
292
292
|
return c.displayName && we.includes("<anonymous>") && (we = we.replace("<anonymous>", c.displayName)), typeof c == "function" && V.set(c, we), we;
|
|
@@ -296,23 +296,23 @@ function _o() {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
} finally {
|
|
299
|
-
J = !1, j.current = ne, q(), Error.prepareStackTrace =
|
|
299
|
+
J = !1, j.current = ne, q(), Error.prepareStackTrace = X;
|
|
300
300
|
}
|
|
301
301
|
var He = c ? c.displayName || c.name : "", Le = He ? H(He) : "";
|
|
302
302
|
return typeof c == "function" && V.set(c, Le), Le;
|
|
303
303
|
}
|
|
304
|
-
function ye(c,
|
|
305
|
-
return
|
|
304
|
+
function ye(c, C, M) {
|
|
305
|
+
return O(c, !1);
|
|
306
306
|
}
|
|
307
307
|
function We(c) {
|
|
308
|
-
var
|
|
309
|
-
return !!(
|
|
308
|
+
var C = c.prototype;
|
|
309
|
+
return !!(C && C.isReactComponent);
|
|
310
310
|
}
|
|
311
|
-
function Ne(c,
|
|
311
|
+
function Ne(c, C, M) {
|
|
312
312
|
if (c == null)
|
|
313
313
|
return "";
|
|
314
314
|
if (typeof c == "function")
|
|
315
|
-
return
|
|
315
|
+
return O(c, We(c));
|
|
316
316
|
if (typeof c == "string")
|
|
317
317
|
return H(c);
|
|
318
318
|
switch (c) {
|
|
@@ -326,26 +326,26 @@ function _o() {
|
|
|
326
326
|
case l:
|
|
327
327
|
return ye(c.render);
|
|
328
328
|
case m:
|
|
329
|
-
return Ne(c.type,
|
|
329
|
+
return Ne(c.type, C, M);
|
|
330
330
|
case p: {
|
|
331
|
-
var I = c,
|
|
331
|
+
var I = c, X = I._payload, ne = I._init;
|
|
332
332
|
try {
|
|
333
|
-
return Ne(ne(
|
|
333
|
+
return Ne(ne(X), C, M);
|
|
334
334
|
} catch {
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
return "";
|
|
339
339
|
}
|
|
340
|
-
var tt = Object.prototype.hasOwnProperty,
|
|
340
|
+
var tt = Object.prototype.hasOwnProperty, Er = {}, _r = y.ReactDebugCurrentFrame;
|
|
341
341
|
function ht(c) {
|
|
342
342
|
if (c) {
|
|
343
|
-
var
|
|
344
|
-
_r.setExtraStackFrame(
|
|
343
|
+
var C = c._owner, M = Ne(c.type, c._source, C ? C.type : null);
|
|
344
|
+
_r.setExtraStackFrame(M);
|
|
345
345
|
} else
|
|
346
346
|
_r.setExtraStackFrame(null);
|
|
347
347
|
}
|
|
348
|
-
function Gn(c,
|
|
348
|
+
function Gn(c, C, M, I, X) {
|
|
349
349
|
{
|
|
350
350
|
var ne = Function.call.bind(tt);
|
|
351
351
|
for (var G in c)
|
|
@@ -353,14 +353,14 @@ function _o() {
|
|
|
353
353
|
var Y = void 0;
|
|
354
354
|
try {
|
|
355
355
|
if (typeof c[G] != "function") {
|
|
356
|
-
var
|
|
357
|
-
throw
|
|
356
|
+
var me = Error((I || "React class") + ": " + M + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
357
|
+
throw me.name = "Invariant Violation", me;
|
|
358
358
|
}
|
|
359
|
-
Y = c[G](
|
|
359
|
+
Y = c[G](C, G, I, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
360
360
|
} catch (le) {
|
|
361
361
|
Y = le;
|
|
362
362
|
}
|
|
363
|
-
Y && !(Y instanceof Error) && (ht(
|
|
363
|
+
Y && !(Y instanceof Error) && (ht(X), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", I || "React class", M, G, typeof Y), ht(null)), Y instanceof Error && !(Y.message in Er) && (Er[Y.message] = !0, ht(X), w("Failed %s type: %s", M, Y.message), ht(null));
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|
|
@@ -370,11 +370,11 @@ function _o() {
|
|
|
370
370
|
}
|
|
371
371
|
function Jn(c) {
|
|
372
372
|
{
|
|
373
|
-
var
|
|
374
|
-
return
|
|
373
|
+
var C = typeof Symbol == "function" && Symbol.toStringTag, M = C && c[Symbol.toStringTag] || c.constructor.name || "Object";
|
|
374
|
+
return M;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function Zn(c) {
|
|
378
378
|
try {
|
|
379
379
|
return Sr(c), !1;
|
|
380
380
|
} catch {
|
|
@@ -385,68 +385,68 @@ function _o() {
|
|
|
385
385
|
return "" + c;
|
|
386
386
|
}
|
|
387
387
|
function Tr(c) {
|
|
388
|
-
if (
|
|
388
|
+
if (Zn(c))
|
|
389
389
|
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jn(c)), Sr(c);
|
|
390
390
|
}
|
|
391
|
-
var rt = y.ReactCurrentOwner,
|
|
391
|
+
var rt = y.ReactCurrentOwner, Xn = {
|
|
392
392
|
key: !0,
|
|
393
393
|
ref: !0,
|
|
394
394
|
__self: !0,
|
|
395
395
|
__source: !0
|
|
396
396
|
}, Rr, Or, Ft;
|
|
397
397
|
Ft = {};
|
|
398
|
-
function
|
|
398
|
+
function Qn(c) {
|
|
399
399
|
if (tt.call(c, "ref")) {
|
|
400
|
-
var
|
|
401
|
-
if (
|
|
400
|
+
var C = Object.getOwnPropertyDescriptor(c, "ref").get;
|
|
401
|
+
if (C && C.isReactWarning)
|
|
402
402
|
return !1;
|
|
403
403
|
}
|
|
404
404
|
return c.ref !== void 0;
|
|
405
405
|
}
|
|
406
406
|
function eo(c) {
|
|
407
407
|
if (tt.call(c, "key")) {
|
|
408
|
-
var
|
|
409
|
-
if (
|
|
408
|
+
var C = Object.getOwnPropertyDescriptor(c, "key").get;
|
|
409
|
+
if (C && C.isReactWarning)
|
|
410
410
|
return !1;
|
|
411
411
|
}
|
|
412
412
|
return c.key !== void 0;
|
|
413
413
|
}
|
|
414
|
-
function to(c,
|
|
415
|
-
if (typeof c.ref == "string" && rt.current &&
|
|
416
|
-
var
|
|
417
|
-
Ft[
|
|
414
|
+
function to(c, C) {
|
|
415
|
+
if (typeof c.ref == "string" && rt.current && C && rt.current.stateNode !== C) {
|
|
416
|
+
var M = Z(rt.current.type);
|
|
417
|
+
Ft[M] || (w('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', Z(rt.current.type), c.ref), Ft[M] = !0);
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
function ro(c,
|
|
420
|
+
function ro(c, C) {
|
|
421
421
|
{
|
|
422
|
-
var
|
|
423
|
-
Rr || (Rr = !0, w("%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)",
|
|
422
|
+
var M = function() {
|
|
423
|
+
Rr || (Rr = !0, w("%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)", C));
|
|
424
424
|
};
|
|
425
|
-
|
|
426
|
-
get:
|
|
425
|
+
M.isReactWarning = !0, Object.defineProperty(c, "key", {
|
|
426
|
+
get: M,
|
|
427
427
|
configurable: !0
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
function no(c,
|
|
431
|
+
function no(c, C) {
|
|
432
432
|
{
|
|
433
|
-
var
|
|
434
|
-
Or || (Or = !0, w("%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)",
|
|
433
|
+
var M = function() {
|
|
434
|
+
Or || (Or = !0, w("%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)", C));
|
|
435
435
|
};
|
|
436
|
-
|
|
437
|
-
get:
|
|
436
|
+
M.isReactWarning = !0, Object.defineProperty(c, "ref", {
|
|
437
|
+
get: M,
|
|
438
438
|
configurable: !0
|
|
439
439
|
});
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
var oo = function(c,
|
|
442
|
+
var oo = function(c, C, M, I, X, ne, G) {
|
|
443
443
|
var Y = {
|
|
444
444
|
// This tag allows us to uniquely identify this as a React Element
|
|
445
445
|
$$typeof: t,
|
|
446
446
|
// Built-in properties that belong on the element
|
|
447
447
|
type: c,
|
|
448
|
-
key:
|
|
449
|
-
ref:
|
|
448
|
+
key: C,
|
|
449
|
+
ref: M,
|
|
450
450
|
props: G,
|
|
451
451
|
// Record the component responsible for creating this element.
|
|
452
452
|
_owner: ne
|
|
@@ -465,32 +465,32 @@ function _o() {
|
|
|
465
465
|
configurable: !1,
|
|
466
466
|
enumerable: !1,
|
|
467
467
|
writable: !1,
|
|
468
|
-
value:
|
|
468
|
+
value: X
|
|
469
469
|
}), Object.freeze && (Object.freeze(Y.props), Object.freeze(Y)), Y;
|
|
470
470
|
};
|
|
471
|
-
function ao(c,
|
|
471
|
+
function ao(c, C, M, I, X) {
|
|
472
472
|
{
|
|
473
|
-
var ne, G = {}, Y = null,
|
|
474
|
-
|
|
475
|
-
for (ne in
|
|
476
|
-
tt.call(
|
|
473
|
+
var ne, G = {}, Y = null, me = null;
|
|
474
|
+
M !== void 0 && (Tr(M), Y = "" + M), eo(C) && (Tr(C.key), Y = "" + C.key), Qn(C) && (me = C.ref, to(C, X));
|
|
475
|
+
for (ne in C)
|
|
476
|
+
tt.call(C, ne) && !Xn.hasOwnProperty(ne) && (G[ne] = C[ne]);
|
|
477
477
|
if (c && c.defaultProps) {
|
|
478
478
|
var le = c.defaultProps;
|
|
479
479
|
for (ne in le)
|
|
480
480
|
G[ne] === void 0 && (G[ne] = le[ne]);
|
|
481
481
|
}
|
|
482
|
-
if (Y ||
|
|
482
|
+
if (Y || me) {
|
|
483
483
|
var ce = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
484
|
-
Y && ro(G, ce),
|
|
484
|
+
Y && ro(G, ce), me && no(G, ce);
|
|
485
485
|
}
|
|
486
|
-
return oo(c, Y,
|
|
486
|
+
return oo(c, Y, me, X, I, rt.current, G);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
var It = y.ReactCurrentOwner, Mr = y.ReactDebugCurrentFrame;
|
|
490
490
|
function $e(c) {
|
|
491
491
|
if (c) {
|
|
492
|
-
var
|
|
493
|
-
Mr.setExtraStackFrame(
|
|
492
|
+
var C = c._owner, M = Ne(c.type, c._source, C ? C.type : null);
|
|
493
|
+
Mr.setExtraStackFrame(M);
|
|
494
494
|
} else
|
|
495
495
|
Mr.setExtraStackFrame(null);
|
|
496
496
|
}
|
|
@@ -502,7 +502,7 @@ function _o() {
|
|
|
502
502
|
function kr() {
|
|
503
503
|
{
|
|
504
504
|
if (It.current) {
|
|
505
|
-
var c =
|
|
505
|
+
var c = Z(It.current.type);
|
|
506
506
|
if (c)
|
|
507
507
|
return `
|
|
508
508
|
|
|
@@ -514,80 +514,80 @@ Check the render method of \`` + c + "`.";
|
|
|
514
514
|
function io(c) {
|
|
515
515
|
return "";
|
|
516
516
|
}
|
|
517
|
-
var
|
|
517
|
+
var Pr = {};
|
|
518
518
|
function so(c) {
|
|
519
519
|
{
|
|
520
|
-
var
|
|
521
|
-
if (!
|
|
522
|
-
var
|
|
523
|
-
|
|
520
|
+
var C = kr();
|
|
521
|
+
if (!C) {
|
|
522
|
+
var M = typeof c == "string" ? c : c.displayName || c.name;
|
|
523
|
+
M && (C = `
|
|
524
524
|
|
|
525
|
-
Check the top-level render call using <` +
|
|
525
|
+
Check the top-level render call using <` + M + ">.");
|
|
526
526
|
}
|
|
527
|
-
return
|
|
527
|
+
return C;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Ar(c, C) {
|
|
531
531
|
{
|
|
532
532
|
if (!c._store || c._store.validated || c.key != null)
|
|
533
533
|
return;
|
|
534
534
|
c._store.validated = !0;
|
|
535
|
-
var
|
|
536
|
-
if (
|
|
535
|
+
var M = so(C);
|
|
536
|
+
if (Pr[M])
|
|
537
537
|
return;
|
|
538
|
-
|
|
538
|
+
Pr[M] = !0;
|
|
539
539
|
var I = "";
|
|
540
|
-
c && c._owner && c._owner !== It.current && (I = " It was passed a child from " +
|
|
540
|
+
c && c._owner && c._owner !== It.current && (I = " It was passed a child from " + Z(c._owner.type) + "."), $e(c), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, I), $e(null);
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function Nr(c,
|
|
543
|
+
function Nr(c, C) {
|
|
544
544
|
{
|
|
545
545
|
if (typeof c != "object")
|
|
546
546
|
return;
|
|
547
547
|
if (Lt(c))
|
|
548
|
-
for (var
|
|
549
|
-
var I = c[
|
|
550
|
-
jt(I) &&
|
|
548
|
+
for (var M = 0; M < c.length; M++) {
|
|
549
|
+
var I = c[M];
|
|
550
|
+
jt(I) && Ar(I, C);
|
|
551
551
|
}
|
|
552
552
|
else if (jt(c))
|
|
553
553
|
c._store && (c._store.validated = !0);
|
|
554
554
|
else if (c) {
|
|
555
|
-
var
|
|
556
|
-
if (typeof
|
|
557
|
-
for (var ne =
|
|
558
|
-
jt(G.value) &&
|
|
555
|
+
var X = E(c);
|
|
556
|
+
if (typeof X == "function" && X !== c.entries)
|
|
557
|
+
for (var ne = X.call(c), G; !(G = ne.next()).done; )
|
|
558
|
+
jt(G.value) && Ar(G.value, C);
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
function lo(c) {
|
|
563
563
|
{
|
|
564
|
-
var
|
|
565
|
-
if (
|
|
564
|
+
var C = c.type;
|
|
565
|
+
if (C == null || typeof C == "string")
|
|
566
566
|
return;
|
|
567
|
-
var
|
|
568
|
-
if (typeof
|
|
569
|
-
|
|
570
|
-
else if (typeof
|
|
567
|
+
var M;
|
|
568
|
+
if (typeof C == "function")
|
|
569
|
+
M = C.propTypes;
|
|
570
|
+
else if (typeof C == "object" && (C.$$typeof === l || // Note: Memo only checks outer props here.
|
|
571
571
|
// Inner props are checked in the reconciler.
|
|
572
|
-
|
|
573
|
-
|
|
572
|
+
C.$$typeof === m))
|
|
573
|
+
M = C.propTypes;
|
|
574
574
|
else
|
|
575
575
|
return;
|
|
576
|
-
if (
|
|
577
|
-
var I =
|
|
578
|
-
Gn(
|
|
579
|
-
} else if (
|
|
576
|
+
if (M) {
|
|
577
|
+
var I = Z(C);
|
|
578
|
+
Gn(M, c.props, "prop", I, c);
|
|
579
|
+
} else if (C.PropTypes !== void 0 && !Dt) {
|
|
580
580
|
Dt = !0;
|
|
581
|
-
var
|
|
582
|
-
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
581
|
+
var X = Z(C);
|
|
582
|
+
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", X || "Unknown");
|
|
583
583
|
}
|
|
584
|
-
typeof
|
|
584
|
+
typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
function co(c) {
|
|
588
588
|
{
|
|
589
|
-
for (var
|
|
590
|
-
var I =
|
|
589
|
+
for (var C = Object.keys(c.props), M = 0; M < C.length; M++) {
|
|
590
|
+
var I = C[M];
|
|
591
591
|
if (I !== "children" && I !== "key") {
|
|
592
592
|
$e(c), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), $e(null);
|
|
593
593
|
break;
|
|
@@ -597,22 +597,22 @@ Check the top-level render call using <` + O + ">.");
|
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
var Lr = {};
|
|
600
|
-
function Fr(c,
|
|
600
|
+
function Fr(c, C, M, I, X, ne) {
|
|
601
601
|
{
|
|
602
602
|
var G = se(c);
|
|
603
603
|
if (!G) {
|
|
604
604
|
var Y = "";
|
|
605
605
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
606
|
-
var
|
|
607
|
-
|
|
606
|
+
var me = io();
|
|
607
|
+
me ? Y += me : Y += kr();
|
|
608
608
|
var le;
|
|
609
|
-
c === null ? le = "null" : Lt(c) ? le = "array" : c !== void 0 && c.$$typeof === t ? (le = "<" + (
|
|
609
|
+
c === null ? le = "null" : Lt(c) ? le = "array" : c !== void 0 && c.$$typeof === t ? (le = "<" + (Z(c.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : le = typeof c, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, Y);
|
|
610
610
|
}
|
|
611
|
-
var ce = ao(c,
|
|
611
|
+
var ce = ao(c, C, M, X, ne);
|
|
612
612
|
if (ce == null)
|
|
613
613
|
return ce;
|
|
614
614
|
if (G) {
|
|
615
|
-
var we =
|
|
615
|
+
var we = C.children;
|
|
616
616
|
if (we !== void 0)
|
|
617
617
|
if (I)
|
|
618
618
|
if (Lt(we)) {
|
|
@@ -624,12 +624,12 @@ Check the top-level render call using <` + O + ">.");
|
|
|
624
624
|
else
|
|
625
625
|
Nr(we, c);
|
|
626
626
|
}
|
|
627
|
-
if (tt.call(
|
|
628
|
-
var Le =
|
|
627
|
+
if (tt.call(C, "key")) {
|
|
628
|
+
var Le = Z(c), ge = Object.keys(C).filter(function(ho) {
|
|
629
629
|
return ho !== "key";
|
|
630
|
-
}), Bt =
|
|
630
|
+
}), Bt = ge.length > 0 ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
631
631
|
if (!Lr[Le + Bt]) {
|
|
632
|
-
var go =
|
|
632
|
+
var go = ge.length > 0 ? "{" + ge.join(": ..., ") + ": ...}" : "{}";
|
|
633
633
|
w(`A props object containing a "key" prop is being spread into JSX:
|
|
634
634
|
let props = %s;
|
|
635
635
|
<%s {...props} />
|
|
@@ -641,18 +641,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
641
641
|
return c === n ? co(ce) : lo(ce), ce;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
function uo(c,
|
|
645
|
-
return Fr(c,
|
|
644
|
+
function uo(c, C, M) {
|
|
645
|
+
return Fr(c, C, M, !0);
|
|
646
646
|
}
|
|
647
|
-
function fo(c,
|
|
648
|
-
return Fr(c,
|
|
647
|
+
function fo(c, C, M) {
|
|
648
|
+
return Fr(c, C, M, !1);
|
|
649
649
|
}
|
|
650
650
|
var po = fo, mo = uo;
|
|
651
651
|
ot.Fragment = n, ot.jsx = po, ot.jsxs = mo;
|
|
652
652
|
}()), ot;
|
|
653
653
|
}
|
|
654
|
-
process.env.NODE_ENV === "production" ?
|
|
655
|
-
var K =
|
|
654
|
+
process.env.NODE_ENV === "production" ? Qt.exports = Eo() : Qt.exports = _o();
|
|
655
|
+
var K = Qt.exports;
|
|
656
656
|
function fn(e) {
|
|
657
657
|
var t, r, n = "";
|
|
658
658
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
@@ -786,7 +786,7 @@ function ko(e) {
|
|
|
786
786
|
};
|
|
787
787
|
}
|
|
788
788
|
const pn = "!";
|
|
789
|
-
function
|
|
789
|
+
function Po(e) {
|
|
790
790
|
const {
|
|
791
791
|
separator: t,
|
|
792
792
|
experimentalParseClassName: r
|
|
@@ -794,15 +794,15 @@ function Ao(e) {
|
|
|
794
794
|
function s(i) {
|
|
795
795
|
const l = [];
|
|
796
796
|
let u = 0, f = 0, m;
|
|
797
|
-
for (let
|
|
798
|
-
let y = i[
|
|
797
|
+
for (let E = 0; E < i.length; E++) {
|
|
798
|
+
let y = i[E];
|
|
799
799
|
if (u === 0) {
|
|
800
|
-
if (y === o && (n || i.slice(
|
|
801
|
-
l.push(i.slice(f,
|
|
800
|
+
if (y === o && (n || i.slice(E, E + a) === t)) {
|
|
801
|
+
l.push(i.slice(f, E)), f = E + a;
|
|
802
802
|
continue;
|
|
803
803
|
}
|
|
804
804
|
if (y === "/") {
|
|
805
|
-
m =
|
|
805
|
+
m = E;
|
|
806
806
|
continue;
|
|
807
807
|
}
|
|
808
808
|
}
|
|
@@ -823,7 +823,7 @@ function Ao(e) {
|
|
|
823
823
|
});
|
|
824
824
|
} : s;
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function Ao(e) {
|
|
827
827
|
if (e.length <= 1)
|
|
828
828
|
return e;
|
|
829
829
|
const t = [];
|
|
@@ -835,7 +835,7 @@ function Po(e) {
|
|
|
835
835
|
function No(e) {
|
|
836
836
|
return {
|
|
837
837
|
cache: ko(e.cacheSize),
|
|
838
|
-
parseClassName:
|
|
838
|
+
parseClassName: Po(e),
|
|
839
839
|
...So(e)
|
|
840
840
|
};
|
|
841
841
|
}
|
|
@@ -867,7 +867,7 @@ function Fo(e, t) {
|
|
|
867
867
|
};
|
|
868
868
|
m = !1;
|
|
869
869
|
}
|
|
870
|
-
const h =
|
|
870
|
+
const h = Ao(i).join(":");
|
|
871
871
|
return {
|
|
872
872
|
isTailwindClass: !0,
|
|
873
873
|
modifierId: l ? h + pn : h,
|
|
@@ -926,7 +926,7 @@ function Te(e) {
|
|
|
926
926
|
return Ie(e) || Bo.has(e) || jo.test(e);
|
|
927
927
|
}
|
|
928
928
|
function Oe(e) {
|
|
929
|
-
return Je(e, "length",
|
|
929
|
+
return Je(e, "length", Xo);
|
|
930
930
|
}
|
|
931
931
|
function Ie(e) {
|
|
932
932
|
return !!e && !Number.isNaN(Number(e));
|
|
@@ -957,8 +957,8 @@ const Ko = /* @__PURE__ */ new Set(["image", "url"]);
|
|
|
957
957
|
function Jo(e) {
|
|
958
958
|
return Je(e, Ko, ea);
|
|
959
959
|
}
|
|
960
|
-
function
|
|
961
|
-
return Je(e, "",
|
|
960
|
+
function Zo(e) {
|
|
961
|
+
return Je(e, "", Qo);
|
|
962
962
|
}
|
|
963
963
|
function it() {
|
|
964
964
|
return !0;
|
|
@@ -967,20 +967,20 @@ function Je(e, t, r) {
|
|
|
967
967
|
const n = gn.exec(e);
|
|
968
968
|
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function Xo(e) {
|
|
971
971
|
return Uo.test(e) && !Wo.test(e);
|
|
972
972
|
}
|
|
973
973
|
function hn() {
|
|
974
974
|
return !1;
|
|
975
975
|
}
|
|
976
|
-
function
|
|
976
|
+
function Qo(e) {
|
|
977
977
|
return $o.test(e);
|
|
978
978
|
}
|
|
979
979
|
function ea(e) {
|
|
980
980
|
return Ho.test(e);
|
|
981
981
|
}
|
|
982
982
|
function ta() {
|
|
983
|
-
const e = oe("colors"), t = oe("spacing"), r = oe("blur"), n = oe("brightness"), o = oe("borderColor"), a = oe("borderRadius"), s = oe("borderSpacing"), i = oe("borderWidth"), l = oe("contrast"), u = oe("grayscale"), f = oe("hueRotate"), m = oe("invert"), p = oe("gap"), h = oe("gradientColorStops"), T = oe("gradientColorStopPositions"), b = oe("inset"),
|
|
983
|
+
const e = oe("colors"), t = oe("spacing"), r = oe("blur"), n = oe("brightness"), o = oe("borderColor"), a = oe("borderRadius"), s = oe("borderSpacing"), i = oe("borderWidth"), l = oe("contrast"), u = oe("grayscale"), f = oe("hueRotate"), m = oe("invert"), p = oe("gap"), h = oe("gradientColorStops"), T = oe("gradientColorStopPositions"), b = oe("inset"), E = oe("margin"), y = oe("opacity"), w = oe("padding"), S = oe("saturate"), x = oe("scale"), g = oe("sepia"), $ = oe("skew"), te = oe("space"), ie = oe("translate"), ae = () => ["auto", "contain", "none"], se = () => ["auto", "hidden", "clip", "visible", "scroll"], ue = () => ["auto", z, t], U = () => [z, t], Z = () => ["", Te, Oe], k = () => ["auto", Ie, z], A = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], d = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], re = () => ["", "0", z], v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [Ie, vt], N = () => [Ie, z];
|
|
984
984
|
return {
|
|
985
985
|
cacheSize: 500,
|
|
986
986
|
separator: ":",
|
|
@@ -992,7 +992,7 @@ function ta() {
|
|
|
992
992
|
borderColor: [e],
|
|
993
993
|
borderRadius: ["none", "", "full", Me, z],
|
|
994
994
|
borderSpacing: U(),
|
|
995
|
-
borderWidth:
|
|
995
|
+
borderWidth: Z(),
|
|
996
996
|
contrast: _(),
|
|
997
997
|
grayscale: re(),
|
|
998
998
|
hueRotate: N(),
|
|
@@ -1103,7 +1103,7 @@ function ta() {
|
|
|
1103
1103
|
* @see https://tailwindcss.com/docs/object-position
|
|
1104
1104
|
*/
|
|
1105
1105
|
"object-position": [{
|
|
1106
|
-
object: [...
|
|
1106
|
+
object: [...A(), z]
|
|
1107
1107
|
}],
|
|
1108
1108
|
/**
|
|
1109
1109
|
* Overflow
|
|
@@ -1384,7 +1384,7 @@ function ta() {
|
|
|
1384
1384
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1385
1385
|
*/
|
|
1386
1386
|
"justify-content": [{
|
|
1387
|
-
justify: ["normal", ...
|
|
1387
|
+
justify: ["normal", ...P()]
|
|
1388
1388
|
}],
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Justify Items
|
|
@@ -1405,7 +1405,7 @@ function ta() {
|
|
|
1405
1405
|
* @see https://tailwindcss.com/docs/align-content
|
|
1406
1406
|
*/
|
|
1407
1407
|
"align-content": [{
|
|
1408
|
-
content: ["normal", ...
|
|
1408
|
+
content: ["normal", ...P(), "baseline"]
|
|
1409
1409
|
}],
|
|
1410
1410
|
/**
|
|
1411
1411
|
* Align Items
|
|
@@ -1426,7 +1426,7 @@ function ta() {
|
|
|
1426
1426
|
* @see https://tailwindcss.com/docs/place-content
|
|
1427
1427
|
*/
|
|
1428
1428
|
"place-content": [{
|
|
1429
|
-
"place-content": [...
|
|
1429
|
+
"place-content": [...P(), "baseline"]
|
|
1430
1430
|
}],
|
|
1431
1431
|
/**
|
|
1432
1432
|
* Place Items
|
|
@@ -1511,63 +1511,63 @@ function ta() {
|
|
|
1511
1511
|
* @see https://tailwindcss.com/docs/margin
|
|
1512
1512
|
*/
|
|
1513
1513
|
m: [{
|
|
1514
|
-
m: [
|
|
1514
|
+
m: [E]
|
|
1515
1515
|
}],
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Margin X
|
|
1518
1518
|
* @see https://tailwindcss.com/docs/margin
|
|
1519
1519
|
*/
|
|
1520
1520
|
mx: [{
|
|
1521
|
-
mx: [
|
|
1521
|
+
mx: [E]
|
|
1522
1522
|
}],
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Margin Y
|
|
1525
1525
|
* @see https://tailwindcss.com/docs/margin
|
|
1526
1526
|
*/
|
|
1527
1527
|
my: [{
|
|
1528
|
-
my: [
|
|
1528
|
+
my: [E]
|
|
1529
1529
|
}],
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Margin Start
|
|
1532
1532
|
* @see https://tailwindcss.com/docs/margin
|
|
1533
1533
|
*/
|
|
1534
1534
|
ms: [{
|
|
1535
|
-
ms: [
|
|
1535
|
+
ms: [E]
|
|
1536
1536
|
}],
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Margin End
|
|
1539
1539
|
* @see https://tailwindcss.com/docs/margin
|
|
1540
1540
|
*/
|
|
1541
1541
|
me: [{
|
|
1542
|
-
me: [
|
|
1542
|
+
me: [E]
|
|
1543
1543
|
}],
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Margin Top
|
|
1546
1546
|
* @see https://tailwindcss.com/docs/margin
|
|
1547
1547
|
*/
|
|
1548
1548
|
mt: [{
|
|
1549
|
-
mt: [
|
|
1549
|
+
mt: [E]
|
|
1550
1550
|
}],
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Margin Right
|
|
1553
1553
|
* @see https://tailwindcss.com/docs/margin
|
|
1554
1554
|
*/
|
|
1555
1555
|
mr: [{
|
|
1556
|
-
mr: [
|
|
1556
|
+
mr: [E]
|
|
1557
1557
|
}],
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Margin Bottom
|
|
1560
1560
|
* @see https://tailwindcss.com/docs/margin
|
|
1561
1561
|
*/
|
|
1562
1562
|
mb: [{
|
|
1563
|
-
mb: [
|
|
1563
|
+
mb: [E]
|
|
1564
1564
|
}],
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Margin Left
|
|
1567
1567
|
* @see https://tailwindcss.com/docs/margin
|
|
1568
1568
|
*/
|
|
1569
1569
|
ml: [{
|
|
1570
|
-
ml: [
|
|
1570
|
+
ml: [E]
|
|
1571
1571
|
}],
|
|
1572
1572
|
/**
|
|
1573
1573
|
* Space Between X
|
|
@@ -1912,7 +1912,7 @@ function ta() {
|
|
|
1912
1912
|
* @see https://tailwindcss.com/docs/background-position
|
|
1913
1913
|
*/
|
|
1914
1914
|
"bg-position": [{
|
|
1915
|
-
bg: [...
|
|
1915
|
+
bg: [...A(), Go]
|
|
1916
1916
|
}],
|
|
1917
1917
|
/**
|
|
1918
1918
|
* Background Repeat
|
|
@@ -2298,7 +2298,7 @@ function ta() {
|
|
|
2298
2298
|
* @see https://tailwindcss.com/docs/ring-width
|
|
2299
2299
|
*/
|
|
2300
2300
|
"ring-w": [{
|
|
2301
|
-
ring:
|
|
2301
|
+
ring: Z()
|
|
2302
2302
|
}],
|
|
2303
2303
|
/**
|
|
2304
2304
|
* Ring Width Inset
|
|
@@ -2339,7 +2339,7 @@ function ta() {
|
|
|
2339
2339
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2340
2340
|
*/
|
|
2341
2341
|
shadow: [{
|
|
2342
|
-
shadow: ["", "inner", "none", Me,
|
|
2342
|
+
shadow: ["", "inner", "none", Me, Zo]
|
|
2343
2343
|
}],
|
|
2344
2344
|
/**
|
|
2345
2345
|
* Box Shadow Color
|
|
@@ -2604,21 +2604,21 @@ function ta() {
|
|
|
2604
2604
|
* @see https://tailwindcss.com/docs/scale
|
|
2605
2605
|
*/
|
|
2606
2606
|
scale: [{
|
|
2607
|
-
scale: [
|
|
2607
|
+
scale: [x]
|
|
2608
2608
|
}],
|
|
2609
2609
|
/**
|
|
2610
2610
|
* Scale X
|
|
2611
2611
|
* @see https://tailwindcss.com/docs/scale
|
|
2612
2612
|
*/
|
|
2613
2613
|
"scale-x": [{
|
|
2614
|
-
"scale-x": [
|
|
2614
|
+
"scale-x": [x]
|
|
2615
2615
|
}],
|
|
2616
2616
|
/**
|
|
2617
2617
|
* Scale Y
|
|
2618
2618
|
* @see https://tailwindcss.com/docs/scale
|
|
2619
2619
|
*/
|
|
2620
2620
|
"scale-y": [{
|
|
2621
|
-
"scale-y": [
|
|
2621
|
+
"scale-y": [x]
|
|
2622
2622
|
}],
|
|
2623
2623
|
/**
|
|
2624
2624
|
* Rotate
|
|
@@ -3002,7 +3002,7 @@ const ra = /* @__PURE__ */ Do(ta), na = 640, oa = 768, aa = 1024, ia = 1280, sa
|
|
|
3002
3002
|
XL: ia,
|
|
3003
3003
|
XXL: sa
|
|
3004
3004
|
};
|
|
3005
|
-
function
|
|
3005
|
+
function he(...e) {
|
|
3006
3006
|
return ra(er(e));
|
|
3007
3007
|
}
|
|
3008
3008
|
function vn(e) {
|
|
@@ -3016,7 +3016,7 @@ function la() {
|
|
|
3016
3016
|
for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = vn(e)) && (n && (n += " "), n += t);
|
|
3017
3017
|
return n;
|
|
3018
3018
|
}
|
|
3019
|
-
const zr = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Ur = la,
|
|
3019
|
+
const zr = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Ur = la, Ze = (e, t) => (r) => {
|
|
3020
3020
|
var n;
|
|
3021
3021
|
if ((t == null ? void 0 : t.variants) == null) return Ur(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
3022
3022
|
const { variants: o, defaultVariants: a } = t, s = Object.keys(o).map((u) => {
|
|
@@ -3030,14 +3030,14 @@ const zr = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Ur =
|
|
|
3030
3030
|
}, {}), l = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((u, f) => {
|
|
3031
3031
|
let { class: m, className: p, ...h } = f;
|
|
3032
3032
|
return Object.entries(h).every((T) => {
|
|
3033
|
-
let [b,
|
|
3034
|
-
return Array.isArray(
|
|
3033
|
+
let [b, E] = T;
|
|
3034
|
+
return Array.isArray(E) ? E.includes({
|
|
3035
3035
|
...a,
|
|
3036
3036
|
...i
|
|
3037
3037
|
}[b]) : {
|
|
3038
3038
|
...a,
|
|
3039
3039
|
...i
|
|
3040
|
-
}[b] ===
|
|
3040
|
+
}[b] === E;
|
|
3041
3041
|
}) ? [
|
|
3042
3042
|
...u,
|
|
3043
3043
|
m,
|
|
@@ -3049,64 +3049,79 @@ const zr = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Ur =
|
|
|
3049
3049
|
title: e,
|
|
3050
3050
|
titleId: t,
|
|
3051
3051
|
...r
|
|
3052
|
-
}, n) => /* @__PURE__ */
|
|
3052
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 18, viewBox: "0 0 20 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M17.5005 6.2V4C17.5005 2.34315 16.1573 1 14.5005 1H12.6255M17.5005 11.8V14C17.5005 15.6569 16.1573 17 14.5005 17H12.6255M7.37549 17H5.50049C3.84363 17 2.50049 15.6569 2.50049 14V11.8M2.50049 6.2V4C2.50049 2.34315 3.84363 1 5.50049 1H7.37549", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M18.3332 9L1.6665 9", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), ua = pe(ca), fa = ({
|
|
3053
3053
|
title: e,
|
|
3054
3054
|
titleId: t,
|
|
3055
3055
|
...r
|
|
3056
|
-
}, n) => /* @__PURE__ */
|
|
3056
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M2.25 6.83252V11.16C2.25 12.75 2.25 12.75 3.75 13.7625L7.875 16.1475C8.4975 16.5075 9.51 16.5075 10.125 16.1475L14.25 13.7625C15.75 12.75 15.75 12.75 15.75 11.1675V6.83252C15.75 5.25002 15.75 5.25002 14.25 4.23752L10.125 1.85252C9.51 1.49252 8.4975 1.49252 7.875 1.85252L3.75 4.23752C2.25 5.25002 2.25 5.25002 2.25 6.83252Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M9 11.25C10.2426 11.25 11.25 10.2426 11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), da = pe(fa), pa = ({
|
|
3057
3057
|
title: e,
|
|
3058
3058
|
titleId: t,
|
|
3059
3059
|
...r
|
|
3060
|
-
}, n) => /* @__PURE__ */
|
|
3060
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M9 12V8.25", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M9.00391 6H8.99717", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), ma = pe(pa), ga = ({
|
|
3061
3061
|
title: e,
|
|
3062
3062
|
titleId: t,
|
|
3063
3063
|
...r
|
|
3064
|
-
}, n) => /* @__PURE__ */
|
|
3064
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M8.41797 3.45898L11.9588 6.99982L8.41797 10.5407", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M2.04102 7H11.8585", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), ha = pe(ga), va = ({
|
|
3065
3065
|
title: e,
|
|
3066
3066
|
titleId: t,
|
|
3067
3067
|
...r
|
|
3068
|
-
}, n) => /* @__PURE__ */
|
|
3068
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M9 6V9.75", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M8.99609 12H9.00283", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), ba = pe(va), ya = ({
|
|
3069
3069
|
title: e,
|
|
3070
3070
|
titleId: t,
|
|
3071
3071
|
...r
|
|
3072
|
-
}, n) => /* @__PURE__ */
|
|
3072
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M4 9.49361L7.49358 12.9872L14.48 6", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wa = pe(ya), Ca = ({
|
|
3073
3073
|
title: e,
|
|
3074
3074
|
titleId: t,
|
|
3075
3075
|
...r
|
|
3076
|
-
}, n) => /* @__PURE__ */
|
|
3076
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M12 9.675V12.825C12 15.45 10.95 16.5 8.325 16.5H5.175C2.55 16.5 1.5 15.45 1.5 12.825V9.675C1.5 7.05 2.55 6 5.175 6H8.325C10.95 6 12 7.05 12 9.675Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M16.5 5.175V8.325C16.5 10.95 15.45 12 12.825 12H12V9.675C12 7.05 10.95 6 8.325 6H6V5.175C6 2.55 7.05 1.5 9.675 1.5H12.825C15.45 1.5 16.5 2.55 16.5 5.175Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), xa = pe(Ca), Ea = ({
|
|
3077
3077
|
title: e,
|
|
3078
3078
|
titleId: t,
|
|
3079
3079
|
...r
|
|
3080
|
-
}, n) => /* @__PURE__ */
|
|
3080
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M5.88889 9.11111H12.1111M11.3333 6H12.8889C14.6071 6 16 7.39289 16 9.11111C16 10.8293 14.6071 12.2222 12.8889 12.2222H11.3333M6.66667 6H5.11111C3.39289 6 2 7.39289 2 9.11111C2 10.8293 3.39289 12.2222 5.11111 12.2222H6.66667", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), _a = pe(Ea), Sa = ({
|
|
3081
3081
|
title: e,
|
|
3082
3082
|
titleId: t,
|
|
3083
3083
|
...r
|
|
3084
|
-
}, n) => /* @__PURE__ */
|
|
3084
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M7.86762 1.67254L4.12512 3.08254C3.26262 3.40504 2.55762 4.42504 2.55762 5.34004V10.9125C2.55762 11.7975 3.14262 12.96 3.85512 13.4925L7.08012 15.9C8.13762 16.695 9.87762 16.695 10.9351 15.9L14.1601 13.4925C14.8726 12.96 15.4576 11.7975 15.4576 10.9125V5.34004C15.4576 4.41754 14.7526 3.39754 13.8901 3.07504L10.1476 1.67254C9.51012 1.44004 8.49012 1.44004 7.86762 1.67254Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M9 9.375C9.82843 9.375 10.5 8.70343 10.5 7.875C10.5 7.04657 9.82843 6.375 9 6.375C8.17157 6.375 7.5 7.04657 7.5 7.875C7.5 8.70343 8.17157 9.375 9 9.375Z", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M9 9.375V11.625", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), Ta = pe(Sa), Ra = ({
|
|
3085
3085
|
title: e,
|
|
3086
3086
|
titleId: t,
|
|
3087
3087
|
...r
|
|
3088
|
-
}, n) => /* @__PURE__ */
|
|
3088
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 50, height: 50, viewBox: "0 0 50 50", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("rect", { x: -12207e-8, width: 49.9153, height: 49.9153, rx: 12.8814, fill: "url(#paint0_radial_9531_26789)" }), /* @__PURE__ */ R.createElement("path", { d: "M24.957 39.0466C19.3679 39.0466 14.8934 34.5958 14.8934 29.1638V20.7515C14.8934 15.3195 19.3679 10.8687 24.957 10.8687C30.5461 10.8687 35.0206 15.3195 35.0206 20.7515V29.1638C35.0206 34.5958 30.5461 39.0466 24.957 39.0466Z", fill: "url(#paint1_radial_9531_26789)", stroke: "#FEFEFE", strokeWidth: 4.02542, strokeMiterlimit: 10 }), /* @__PURE__ */ R.createElement("defs", null, /* @__PURE__ */ R.createElement("radialGradient", { id: "paint0_radial_9531_26789", cx: 0, cy: 0, r: 1, gradientUnits: "userSpaceOnUse", gradientTransform: "translate(24.9575 -18.4686) rotate(90) scale(127.533 122.759)" }, /* @__PURE__ */ R.createElement("stop", { offset: 0.239, stopColor: "#2667FF" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.511954, stopColor: "#3F8EFC" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.565599, stopColor: "#87BFFF" })), /* @__PURE__ */ R.createElement("radialGradient", { id: "paint1_radial_9531_26789", cx: 0, cy: 0, r: 1, gradientUnits: "userSpaceOnUse", gradientTransform: "translate(24.957 -3.05929) rotate(90) scale(82.2797 59.3993)" }, /* @__PURE__ */ R.createElement("stop", { offset: 0.239, stopColor: "#2667FF" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.511954, stopColor: "#3F8EFC" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.565599, stopColor: "#87BFFF" })))), Oa = pe(Ra), Ma = ({
|
|
3089
3089
|
title: e,
|
|
3090
3090
|
titleId: t,
|
|
3091
3091
|
...r
|
|
3092
|
-
}, n) => /* @__PURE__ */
|
|
3092
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 53, height: 69, viewBox: "0 0 53 69", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M26.4616 65.3167C13.822 65.3167 3.75771 55.4158 3.75771 43.401V25.5988C3.75771 13.5839 13.822 3.68301 26.4616 3.68301C39.1012 3.68301 49.1655 13.5839 49.1655 25.5988V43.401C49.1655 55.4158 39.1012 65.3167 26.4616 65.3167Z", stroke: "url(#paint0_angular_9569_22742)", strokeWidth: 6.51543, strokeMiterlimit: 10 }), /* @__PURE__ */ R.createElement("defs", null, /* @__PURE__ */ R.createElement("radialGradient", { id: "paint0_angular_9569_22742", cx: 0, cy: 0, r: 1, gradientUnits: "userSpaceOnUse", gradientTransform: "translate(25.601 33.8045) scale(53.7878 67.9534)" }, /* @__PURE__ */ R.createElement("stop", { offset: 0.0628132, stopColor: "#3B28CC" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.201513, stopColor: "#87BFFF" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.393774, stopColor: "#ADD7F6" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.574577, stopColor: "#3F8EFC" }), /* @__PURE__ */ R.createElement("stop", { offset: 0.831624, stopColor: "#2667FF" })))), ka = pe(Ma), Pa = ({
|
|
3093
3093
|
title: e,
|
|
3094
3094
|
titleId: t,
|
|
3095
3095
|
...r
|
|
3096
|
-
}, n) => /* @__PURE__ */
|
|
3096
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M5 5L15 15M5 15L15 5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Aa = pe(Pa), Na = ({
|
|
3097
|
+
title: e,
|
|
3098
|
+
titleId: t,
|
|
3099
|
+
...r
|
|
3100
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 18, viewBox: "0 0 19 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("g", { clipPath: "url(#clip0_9531_28044)" }, /* @__PURE__ */ R.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.12 3C6.72341 3.00012 6.33389 3.0989 5.99092 3.28633C5.64795 3.47376 5.36371 3.74318 5.167 4.06729L3.67225 6.52941H2.8C2.72044 6.52941 2.64413 6.55916 2.58787 6.61211C2.53161 6.66506 2.5 6.73688 2.5 6.81176V7.14706C2.49985 7.27311 2.54452 7.39558 2.62688 7.49497C2.70924 7.59436 2.82457 7.66496 2.9545 7.69553L2.9725 7.69906C2.65933 8.31083 2.54032 8.99464 2.62975 9.66847L3.1735 13.7633C3.21884 14.1048 3.39517 14.4189 3.66932 14.6467C3.94348 14.8744 4.29658 15.0001 4.66225 15H4.75C5.14783 15 5.52936 14.8513 5.81066 14.5865C6.09196 14.3217 6.25 13.9627 6.25 13.5882H13.75C13.75 13.9627 13.908 14.3217 14.1893 14.5865C14.4706 14.8513 14.8522 15 15.25 15H15.3377C15.7034 15.0001 16.0565 14.8744 16.3307 14.6467C16.6048 14.4189 16.7812 14.1048 16.8265 13.7633L17.3702 9.66918C17.4597 8.99534 17.3407 8.31153 17.0275 7.69976L17.0455 7.69553C17.1754 7.66496 17.2908 7.59436 17.3731 7.49497C17.4555 7.39558 17.5001 7.27311 17.5 7.14706V6.81176C17.5 6.73688 17.4684 6.66506 17.4121 6.61211C17.3559 6.55916 17.2796 6.52941 17.2 6.52941H16.3277L14.833 4.06729C14.6363 3.74318 14.352 3.47376 14.0091 3.28633C13.6661 3.0989 13.2766 3.00012 12.88 3H7.12075H7.12ZM14.8165 6.88518L13.531 4.76753C13.4654 4.65939 13.3705 4.56951 13.256 4.50703C13.1416 4.44455 13.0116 4.41168 12.8792 4.41176H7.12075C6.98842 4.41168 6.85843 4.44455 6.74396 4.50703C6.6295 4.56951 6.53463 4.65939 6.469 4.76753L5.1835 6.88518C5.11836 6.99251 5.0843 7.11407 5.08475 7.23768C5.08519 7.36129 5.12012 7.48263 5.18603 7.58955C5.25194 7.69647 5.34653 7.78522 5.46033 7.84693C5.57414 7.90864 5.70316 7.94114 5.8345 7.94118H14.1655C14.2968 7.94114 14.4259 7.90864 14.5397 7.84693C14.6535 7.78522 14.7481 7.69647 14.814 7.58955C14.8799 7.48263 14.9148 7.36129 14.9153 7.23768C14.9157 7.11407 14.8816 6.99251 14.8165 6.88518ZM4.75 10.7922V10.2981C4.74996 10.237 4.76681 10.1769 4.79888 10.1237C4.83096 10.0705 4.87716 10.0261 4.93296 9.99477C4.98877 9.96346 5.05226 9.94633 5.11721 9.94506C5.18217 9.94379 5.24636 9.95842 5.3035 9.98753L7.36 11.0322C7.63975 11.1748 7.5235 11.5751 7.2055 11.5631L5.47 11.4974C5.27659 11.4901 5.09367 11.4127 4.95948 11.2815C4.82529 11.1502 4.75023 10.9751 4.75 10.7929V10.7922ZM15.25 10.2981V10.7922C15.2502 10.9747 15.1753 11.1501 15.041 11.2816C14.9068 11.4132 14.7237 11.4908 14.53 11.4981L12.7945 11.5631C12.4765 11.5751 12.3595 11.1748 12.64 11.0322L14.6965 9.98753C14.7536 9.95842 14.8178 9.94379 14.8828 9.94506C14.9477 9.94633 15.0112 9.96346 15.067 9.99477C15.1228 10.0261 15.169 10.0705 15.2011 10.1237C15.2332 10.1769 15.25 10.237 15.25 10.2981Z", fill: "currentColor" })), /* @__PURE__ */ R.createElement("defs", null, /* @__PURE__ */ R.createElement("clipPath", { id: "clip0_9531_28044" }, /* @__PURE__ */ R.createElement("rect", { width: 18, height: 18, fill: "white", transform: "translate(0.5)" })))), La = pe(Na), Fa = ({
|
|
3101
|
+
title: e,
|
|
3102
|
+
titleId: t,
|
|
3103
|
+
...r
|
|
3104
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M15.5002 2.5H4.50016C2.47433 2.5 0.833496 3.98333 0.833496 5.80833V14.1917C0.833496 16.0167 2.47433 17.5 4.50016 17.5H15.5002C17.526 17.5 19.1668 16.0167 19.1668 14.1917V5.80833C19.1668 3.98333 17.526 2.5 15.5002 2.5ZM6.79183 5.975C7.956 5.975 8.90933 6.84167 8.90933 7.9C8.90933 8.95833 7.956 9.825 6.79183 9.825C5.62766 9.825 4.67433 8.95833 4.67433 7.9C4.67433 6.84167 5.62766 5.975 6.79183 5.975ZM10.3393 13.8833C10.2568 13.9667 10.1285 14.0167 10.0002 14.0167H3.5835C3.45516 14.0167 3.32683 13.9667 3.24433 13.8833C3.16183 13.8 3.116 13.6833 3.12516 13.5667C3.281 12.1667 4.50933 11.0583 6.04933 10.925C6.53516 10.8833 7.03933 10.8833 7.52516 10.925C9.06516 11.0583 10.3027 12.1667 10.4493 13.5667C10.4677 13.6833 10.4218 13.8 10.3393 13.8833ZM16.4168 13.9583H14.5835C14.2077 13.9583 13.896 13.675 13.896 13.3333C13.896 12.9917 14.2077 12.7083 14.5835 12.7083H16.4168C16.7927 12.7083 17.1043 12.9917 17.1043 13.3333C17.1043 13.675 16.7927 13.9583 16.4168 13.9583ZM16.4168 10.625H12.7502C12.3743 10.625 12.0627 10.3417 12.0627 10C12.0627 9.65833 12.3743 9.375 12.7502 9.375H16.4168C16.7927 9.375 17.1043 9.65833 17.1043 10C17.1043 10.3417 16.7927 10.625 16.4168 10.625ZM16.4168 7.29167H11.8335C11.4577 7.29167 11.146 7.00833 11.146 6.66667C11.146 6.325 11.4577 6.04167 11.8335 6.04167H16.4168C16.7927 6.04167 17.1043 6.325 17.1043 6.66667C17.1043 7.00833 16.7927 7.29167 16.4168 7.29167Z", fill: "currentColor" })), Ia = pe(Fa), Da = ({
|
|
3105
|
+
title: e,
|
|
3106
|
+
titleId: t,
|
|
3107
|
+
...r
|
|
3108
|
+
}, n) => /* @__PURE__ */ R.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 18, viewBox: "0 0 19 18", fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ R.createElement("title", { id: t }, e) : null, /* @__PURE__ */ R.createElement("path", { d: "M14 1.5C14.3978 1.5 14.7794 1.65804 15.0607 1.93934C15.342 2.22064 15.5 2.60218 15.5 3V15.75C15.5 16.1478 15.342 16.5294 15.0607 16.8107C14.7794 17.092 14.3978 17.25 14 17.25H5C4.60218 17.25 4.22064 17.092 3.93934 16.8107C3.65804 16.5294 3.5 16.1478 3.5 15.75V3C3.5 2.60218 3.65804 2.22064 3.93934 1.93934C4.22064 1.65804 4.60218 1.5 5 1.5H14ZM11 12H8C7.80884 12.0002 7.62498 12.0734 7.48597 12.2046C7.34697 12.3359 7.26332 12.5152 7.25212 12.706C7.24092 12.8969 7.30301 13.0848 7.4257 13.2314C7.54839 13.378 7.72243 13.4722 7.91225 13.4948L8 13.5H11C11.1912 13.4998 11.375 13.4266 11.514 13.2954C11.653 13.1641 11.7367 12.9848 11.7479 12.794C11.7591 12.6031 11.697 12.4152 11.5743 12.2686C11.4516 12.122 11.2776 12.0278 11.0877 12.0052L11 12ZM9.5 4.5C8.70435 4.5 7.94129 4.81607 7.37868 5.37868C6.81607 5.94129 6.5 6.70435 6.5 7.5C6.5 8.29565 6.81607 9.05871 7.37868 9.62132C7.94129 10.1839 8.70435 10.5 9.5 10.5C10.2956 10.5 11.0587 10.1839 11.6213 9.62132C12.1839 9.05871 12.5 8.29565 12.5 7.5C12.5 6.70435 12.1839 5.94129 11.6213 5.37868C11.0587 4.81607 10.2956 4.5 9.5 4.5ZM9.5 6C9.89782 6 10.2794 6.15804 10.5607 6.43934C10.842 6.72064 11 7.10218 11 7.5C11 7.89782 10.842 8.27936 10.5607 8.56066C10.2794 8.84196 9.89782 9 9.5 9C9.10218 9 8.72064 8.84196 8.43934 8.56066C8.15804 8.27936 8 7.89782 8 7.5C8 7.10218 8.15804 6.72064 8.43934 6.43934C8.72064 6.15804 9.10218 6 9.5 6Z", fill: "currentColor" })), ja = pe(Da), Ba = {
|
|
3097
3109
|
scan: ua,
|
|
3098
3110
|
settings: da,
|
|
3099
3111
|
info: ma,
|
|
3100
3112
|
arrowRight: ha,
|
|
3101
3113
|
warning: ba,
|
|
3102
3114
|
check: wa,
|
|
3103
|
-
copy:
|
|
3115
|
+
copy: xa,
|
|
3104
3116
|
connect: _a,
|
|
3105
3117
|
passKey: Ta,
|
|
3106
3118
|
didit: Oa,
|
|
3107
|
-
close:
|
|
3108
|
-
diditLogo: ka
|
|
3109
|
-
|
|
3119
|
+
close: Aa,
|
|
3120
|
+
diditLogo: ka,
|
|
3121
|
+
idCard: Ia,
|
|
3122
|
+
car: La,
|
|
3123
|
+
passport: ja
|
|
3124
|
+
}, za = Ze(["flex items-center justify-center"], {
|
|
3110
3125
|
variants: {
|
|
3111
3126
|
size: {
|
|
3112
3127
|
xs: "size-[14px]",
|
|
@@ -3121,10 +3136,10 @@ const zr = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Ur =
|
|
|
3121
3136
|
}
|
|
3122
3137
|
});
|
|
3123
3138
|
function Ot({ type: e = "scan", size: t, className: r, ...n }) {
|
|
3124
|
-
const o =
|
|
3125
|
-
return /* @__PURE__ */ K.jsx("span", { className:
|
|
3139
|
+
const o = Ba[e];
|
|
3140
|
+
return /* @__PURE__ */ K.jsx("span", { className: he(za({ size: t, className: r })), ...n, children: /* @__PURE__ */ K.jsx(o, { className: "size-full text-current" }) });
|
|
3126
3141
|
}
|
|
3127
|
-
const
|
|
3142
|
+
const Ua = Ze(["flex items-center justify-center animate-spin"], {
|
|
3128
3143
|
variants: {
|
|
3129
3144
|
variant: {
|
|
3130
3145
|
default: "",
|
|
@@ -3145,7 +3160,7 @@ const Fa = Xe(["flex items-center justify-center animate-spin"], {
|
|
|
3145
3160
|
size: "md"
|
|
3146
3161
|
}
|
|
3147
3162
|
});
|
|
3148
|
-
function
|
|
3163
|
+
function Wa({ size: e, variant: t = "default", className: r, ...n }) {
|
|
3149
3164
|
const o = er({
|
|
3150
3165
|
"stroke-foreground/20": t === "default",
|
|
3151
3166
|
"stroke-primary/20": t === "primary",
|
|
@@ -3157,7 +3172,7 @@ function Ia({ size: e, variant: t = "default", className: r, ...n }) {
|
|
|
3157
3172
|
"stroke-soft": t === "soft",
|
|
3158
3173
|
"stroke-accent": t === "accent"
|
|
3159
3174
|
});
|
|
3160
|
-
return /* @__PURE__ */ K.jsx("span", { className:
|
|
3175
|
+
return /* @__PURE__ */ K.jsx("span", { className: he(Ua({ size: e, className: r })), ...n, children: /* @__PURE__ */ K.jsxs(
|
|
3161
3176
|
"svg",
|
|
3162
3177
|
{
|
|
3163
3178
|
className: "size-full",
|
|
@@ -3188,7 +3203,7 @@ function Ia({ size: e, variant: t = "default", className: r, ...n }) {
|
|
|
3188
3203
|
}
|
|
3189
3204
|
) });
|
|
3190
3205
|
}
|
|
3191
|
-
function
|
|
3206
|
+
function cl({
|
|
3192
3207
|
size: e = "md",
|
|
3193
3208
|
variant: t = "default",
|
|
3194
3209
|
icon: r,
|
|
@@ -3198,7 +3213,7 @@ function nl({
|
|
|
3198
3213
|
children: s,
|
|
3199
3214
|
...i
|
|
3200
3215
|
}) {
|
|
3201
|
-
const l =
|
|
3216
|
+
const l = he([
|
|
3202
3217
|
"relative w-full min-w-52 flex items-center rounded-full",
|
|
3203
3218
|
"transition-all duration-300 hover:opacity-70",
|
|
3204
3219
|
{
|
|
@@ -3212,7 +3227,7 @@ function nl({
|
|
|
3212
3227
|
"bg-surface-lo text-surface-mdlo border-surface-lo": o
|
|
3213
3228
|
},
|
|
3214
3229
|
a
|
|
3215
|
-
]), u =
|
|
3230
|
+
]), u = he([
|
|
3216
3231
|
"absolute right-2 p-[7px] rounded-full z-10",
|
|
3217
3232
|
{
|
|
3218
3233
|
"right-2": e === "md",
|
|
@@ -3225,10 +3240,10 @@ function nl({
|
|
|
3225
3240
|
return /* @__PURE__ */ K.jsxs("button", { className: l, ...i, children: [
|
|
3226
3241
|
/* @__PURE__ */ K.jsx("span", { className: "text-sm font-medium leading-[90%] tracking-tight w-full text-center z-20 text-inherit", children: s }),
|
|
3227
3242
|
r && !n && /* @__PURE__ */ K.jsx("div", { className: u, children: /* @__PURE__ */ K.jsx(Ot, { type: r, size: o ? "sm" : f }) }),
|
|
3228
|
-
n && /* @__PURE__ */ K.jsx("div", { className: u, children: /* @__PURE__ */ K.jsx(
|
|
3243
|
+
n && /* @__PURE__ */ K.jsx("div", { className: u, children: /* @__PURE__ */ K.jsx(Wa, { size: "xs", variant: t === "white" ? "soft" : t }) })
|
|
3229
3244
|
] });
|
|
3230
3245
|
}
|
|
3231
|
-
const
|
|
3246
|
+
const $a = Ze("font-inter", {
|
|
3232
3247
|
variants: {
|
|
3233
3248
|
variant: {
|
|
3234
3249
|
H1: "text-[52px] font-medium leading-[95%] tracking-tighter",
|
|
@@ -3264,15 +3279,15 @@ const Da = Xe("font-inter", {
|
|
|
3264
3279
|
italic: !1,
|
|
3265
3280
|
underline: !1
|
|
3266
3281
|
}
|
|
3267
|
-
}), rr =
|
|
3282
|
+
}), rr = pe(
|
|
3268
3283
|
({ as: e, variant: t, align: r, italic: n, underline: o, className: a, ...s }, i) => {
|
|
3269
3284
|
const l = e || "span";
|
|
3270
3285
|
return /* @__PURE__ */ K.jsx(
|
|
3271
3286
|
l,
|
|
3272
3287
|
{
|
|
3273
3288
|
ref: i,
|
|
3274
|
-
className:
|
|
3275
|
-
|
|
3289
|
+
className: he(
|
|
3290
|
+
$a({
|
|
3276
3291
|
variant: t,
|
|
3277
3292
|
italic: n,
|
|
3278
3293
|
underline: o,
|
|
@@ -3284,7 +3299,7 @@ const Da = Xe("font-inter", {
|
|
|
3284
3299
|
}
|
|
3285
3300
|
);
|
|
3286
3301
|
}
|
|
3287
|
-
),
|
|
3302
|
+
), Ha = Ze(
|
|
3288
3303
|
["bg-surface-lo", "rounded-full", "flex items-center justify-center"],
|
|
3289
3304
|
{
|
|
3290
3305
|
variants: {
|
|
@@ -3300,8 +3315,8 @@ const Da = Xe("font-inter", {
|
|
|
3300
3315
|
}
|
|
3301
3316
|
}
|
|
3302
3317
|
);
|
|
3303
|
-
function
|
|
3304
|
-
const a =
|
|
3318
|
+
function Va({ icon: e = "scan", label: t, size: r, className: n, ...o }) {
|
|
3319
|
+
const a = he(
|
|
3305
3320
|
[
|
|
3306
3321
|
"flex flex-col items-center justify-center gap-[6px]",
|
|
3307
3322
|
"opacity-70 hover:opacity-100",
|
|
@@ -3311,15 +3326,15 @@ function Ba({ icon: e = "scan", label: t, size: r, className: n, ...o }) {
|
|
|
3311
3326
|
n
|
|
3312
3327
|
);
|
|
3313
3328
|
return /* @__PURE__ */ K.jsxs("button", { className: a, ...o, children: [
|
|
3314
|
-
/* @__PURE__ */ K.jsx("div", { className:
|
|
3329
|
+
/* @__PURE__ */ K.jsx("div", { className: he(Ha({ size: r })), children: /* @__PURE__ */ K.jsx(Ot, { className: "text-inherit", type: e, size: r }) }),
|
|
3315
3330
|
t && /* @__PURE__ */ K.jsx(rr, { className: "text-inherit", variant: "P3", children: t })
|
|
3316
3331
|
] });
|
|
3317
3332
|
}
|
|
3318
|
-
var dt = {},
|
|
3333
|
+
var dt = {}, qa = function() {
|
|
3319
3334
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
3320
3335
|
}, bn = {}, be = {};
|
|
3321
3336
|
let gr;
|
|
3322
|
-
const
|
|
3337
|
+
const Ya = [
|
|
3323
3338
|
0,
|
|
3324
3339
|
// Not used
|
|
3325
3340
|
26,
|
|
@@ -3369,7 +3384,7 @@ be.getSymbolSize = function(t) {
|
|
|
3369
3384
|
return t * 4 + 17;
|
|
3370
3385
|
};
|
|
3371
3386
|
be.getSymbolTotalCodewords = function(t) {
|
|
3372
|
-
return
|
|
3387
|
+
return Ya[t];
|
|
3373
3388
|
};
|
|
3374
3389
|
be.getBCHDigit = function(e) {
|
|
3375
3390
|
let t = 0;
|
|
@@ -3443,7 +3458,7 @@ yn.prototype = {
|
|
|
3443
3458
|
this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
|
|
3444
3459
|
}
|
|
3445
3460
|
};
|
|
3446
|
-
var
|
|
3461
|
+
var Ga = yn;
|
|
3447
3462
|
function pt(e) {
|
|
3448
3463
|
if (!e || e < 1)
|
|
3449
3464
|
throw new Error("BitMatrix size must be defined and greater than 0");
|
|
@@ -3462,7 +3477,7 @@ pt.prototype.xor = function(e, t, r) {
|
|
|
3462
3477
|
pt.prototype.isReserved = function(e, t) {
|
|
3463
3478
|
return this.reservedBit[e * this.size + t];
|
|
3464
3479
|
};
|
|
3465
|
-
var
|
|
3480
|
+
var Ka = pt, wn = {};
|
|
3466
3481
|
(function(e) {
|
|
3467
3482
|
const t = be.getSymbolSize;
|
|
3468
3483
|
e.getRowColCoords = function(n) {
|
|
@@ -3481,10 +3496,10 @@ var $a = pt, wn = {};
|
|
|
3481
3496
|
return o;
|
|
3482
3497
|
};
|
|
3483
3498
|
})(wn);
|
|
3484
|
-
var
|
|
3485
|
-
const
|
|
3486
|
-
|
|
3487
|
-
const r =
|
|
3499
|
+
var Cn = {};
|
|
3500
|
+
const Ja = be.getSymbolSize, Wr = 7;
|
|
3501
|
+
Cn.getPositions = function(t) {
|
|
3502
|
+
const r = Ja(t);
|
|
3488
3503
|
return [
|
|
3489
3504
|
// top-left
|
|
3490
3505
|
[0, 0],
|
|
@@ -3494,7 +3509,7 @@ xn.getPositions = function(t) {
|
|
|
3494
3509
|
[0, r - Wr]
|
|
3495
3510
|
];
|
|
3496
3511
|
};
|
|
3497
|
-
var
|
|
3512
|
+
var xn = {};
|
|
3498
3513
|
(function(e) {
|
|
3499
3514
|
e.Patterns = {
|
|
3500
3515
|
PATTERN000: 0,
|
|
@@ -3589,7 +3604,7 @@ var En = {};
|
|
|
3589
3604
|
}
|
|
3590
3605
|
return i;
|
|
3591
3606
|
};
|
|
3592
|
-
})(
|
|
3607
|
+
})(xn);
|
|
3593
3608
|
var kt = {};
|
|
3594
3609
|
const ke = Mt, bt = [
|
|
3595
3610
|
// L M Q H
|
|
@@ -3944,27 +3959,27 @@ kt.getTotalCodewordsCount = function(t, r) {
|
|
|
3944
3959
|
return;
|
|
3945
3960
|
}
|
|
3946
3961
|
};
|
|
3947
|
-
var
|
|
3948
|
-
const st = new Uint8Array(512),
|
|
3962
|
+
var En = {}, Pt = {};
|
|
3963
|
+
const st = new Uint8Array(512), xt = new Uint8Array(256);
|
|
3949
3964
|
(function() {
|
|
3950
3965
|
let t = 1;
|
|
3951
3966
|
for (let r = 0; r < 255; r++)
|
|
3952
|
-
st[r] = t,
|
|
3967
|
+
st[r] = t, xt[t] = r, t <<= 1, t & 256 && (t ^= 285);
|
|
3953
3968
|
for (let r = 255; r < 512; r++)
|
|
3954
3969
|
st[r] = st[r - 255];
|
|
3955
3970
|
})();
|
|
3956
|
-
|
|
3971
|
+
Pt.log = function(t) {
|
|
3957
3972
|
if (t < 1) throw new Error("log(" + t + ")");
|
|
3958
|
-
return
|
|
3973
|
+
return xt[t];
|
|
3959
3974
|
};
|
|
3960
|
-
|
|
3975
|
+
Pt.exp = function(t) {
|
|
3961
3976
|
return st[t];
|
|
3962
3977
|
};
|
|
3963
|
-
|
|
3964
|
-
return t === 0 || r === 0 ? 0 : st[
|
|
3978
|
+
Pt.mul = function(t, r) {
|
|
3979
|
+
return t === 0 || r === 0 ? 0 : st[xt[t] + xt[r]];
|
|
3965
3980
|
};
|
|
3966
3981
|
(function(e) {
|
|
3967
|
-
const t =
|
|
3982
|
+
const t = Pt;
|
|
3968
3983
|
e.mul = function(n, o) {
|
|
3969
3984
|
const a = new Uint8Array(n.length + o.length - 1);
|
|
3970
3985
|
for (let s = 0; s < n.length; s++)
|
|
@@ -3988,8 +4003,8 @@ At.mul = function(t, r) {
|
|
|
3988
4003
|
o = e.mul(o, new Uint8Array([1, t.exp(a)]));
|
|
3989
4004
|
return o;
|
|
3990
4005
|
};
|
|
3991
|
-
})(
|
|
3992
|
-
const _n =
|
|
4006
|
+
})(En);
|
|
4007
|
+
const _n = En;
|
|
3993
4008
|
function hr(e) {
|
|
3994
4009
|
this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
|
|
3995
4010
|
}
|
|
@@ -4008,30 +4023,30 @@ hr.prototype.encode = function(t) {
|
|
|
4008
4023
|
}
|
|
4009
4024
|
return n;
|
|
4010
4025
|
};
|
|
4011
|
-
var
|
|
4026
|
+
var Za = hr, Sn = {}, Ae = {}, vr = {};
|
|
4012
4027
|
vr.isValid = function(t) {
|
|
4013
4028
|
return !isNaN(t) && t >= 1 && t <= 40;
|
|
4014
4029
|
};
|
|
4015
4030
|
var Se = {};
|
|
4016
|
-
const Tn = "[0-9]+",
|
|
4031
|
+
const Tn = "[0-9]+", Xa = "[A-Z $%*+\\-./:]+";
|
|
4017
4032
|
let lt = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
4018
4033
|
lt = lt.replace(/u/g, "\\u");
|
|
4019
|
-
const
|
|
4034
|
+
const Qa = "(?:(?![A-Z0-9 $%*+\\-./:]|" + lt + `)(?:.|[\r
|
|
4020
4035
|
]))+`;
|
|
4021
4036
|
Se.KANJI = new RegExp(lt, "g");
|
|
4022
4037
|
Se.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
4023
|
-
Se.BYTE = new RegExp(
|
|
4038
|
+
Se.BYTE = new RegExp(Qa, "g");
|
|
4024
4039
|
Se.NUMERIC = new RegExp(Tn, "g");
|
|
4025
|
-
Se.ALPHANUMERIC = new RegExp(
|
|
4026
|
-
const
|
|
4040
|
+
Se.ALPHANUMERIC = new RegExp(Xa, "g");
|
|
4041
|
+
const ei = new RegExp("^" + lt + "$"), ti = new RegExp("^" + Tn + "$"), ri = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
4027
4042
|
Se.testKanji = function(t) {
|
|
4028
|
-
return
|
|
4043
|
+
return ei.test(t);
|
|
4029
4044
|
};
|
|
4030
4045
|
Se.testNumeric = function(t) {
|
|
4031
|
-
return
|
|
4046
|
+
return ti.test(t);
|
|
4032
4047
|
};
|
|
4033
4048
|
Se.testAlphanumeric = function(t) {
|
|
4034
|
-
return
|
|
4049
|
+
return ri.test(t);
|
|
4035
4050
|
};
|
|
4036
4051
|
(function(e) {
|
|
4037
4052
|
const t = vr, r = Se;
|
|
@@ -4091,9 +4106,9 @@ Se.testAlphanumeric = function(t) {
|
|
|
4091
4106
|
return s;
|
|
4092
4107
|
}
|
|
4093
4108
|
};
|
|
4094
|
-
})(
|
|
4109
|
+
})(Ae);
|
|
4095
4110
|
(function(e) {
|
|
4096
|
-
const t = be, r = kt, n = Mt, o =
|
|
4111
|
+
const t = be, r = kt, n = Mt, o = Ae, a = vr, s = 7973, i = t.getBCHDigit(s);
|
|
4097
4112
|
function l(p, h, T) {
|
|
4098
4113
|
for (let b = 1; b <= 40; b++)
|
|
4099
4114
|
if (h <= e.getCapacity(b, T, p))
|
|
@@ -4105,8 +4120,8 @@ Se.testAlphanumeric = function(t) {
|
|
|
4105
4120
|
function f(p, h) {
|
|
4106
4121
|
let T = 0;
|
|
4107
4122
|
return p.forEach(function(b) {
|
|
4108
|
-
const
|
|
4109
|
-
T +=
|
|
4123
|
+
const E = u(b.mode, h);
|
|
4124
|
+
T += E + b.getBitsLength();
|
|
4110
4125
|
}), T;
|
|
4111
4126
|
}
|
|
4112
4127
|
function m(p, h) {
|
|
@@ -4120,7 +4135,7 @@ Se.testAlphanumeric = function(t) {
|
|
|
4120
4135
|
if (!a.isValid(h))
|
|
4121
4136
|
throw new Error("Invalid QR Code version");
|
|
4122
4137
|
typeof b > "u" && (b = o.BYTE);
|
|
4123
|
-
const
|
|
4138
|
+
const E = t.getSymbolTotalCodewords(h), y = r.getTotalCodewordsCount(h, T), w = (E - y) * 8;
|
|
4124
4139
|
if (b === o.MIXED) return w;
|
|
4125
4140
|
const S = w - u(b, h);
|
|
4126
4141
|
switch (b) {
|
|
@@ -4136,16 +4151,16 @@ Se.testAlphanumeric = function(t) {
|
|
|
4136
4151
|
}
|
|
4137
4152
|
}, e.getBestVersionForData = function(h, T) {
|
|
4138
4153
|
let b;
|
|
4139
|
-
const
|
|
4154
|
+
const E = n.from(T, n.M);
|
|
4140
4155
|
if (Array.isArray(h)) {
|
|
4141
4156
|
if (h.length > 1)
|
|
4142
|
-
return m(h,
|
|
4157
|
+
return m(h, E);
|
|
4143
4158
|
if (h.length === 0)
|
|
4144
4159
|
return 1;
|
|
4145
4160
|
b = h[0];
|
|
4146
4161
|
} else
|
|
4147
4162
|
b = h;
|
|
4148
|
-
return l(b.mode, b.getLength(),
|
|
4163
|
+
return l(b.mode, b.getLength(), E);
|
|
4149
4164
|
}, e.getEncodedBits = function(h) {
|
|
4150
4165
|
if (!a.isValid(h) || h < 7)
|
|
4151
4166
|
throw new Error("Invalid QR Code version");
|
|
@@ -4156,18 +4171,18 @@ Se.testAlphanumeric = function(t) {
|
|
|
4156
4171
|
};
|
|
4157
4172
|
})(Sn);
|
|
4158
4173
|
var Rn = {};
|
|
4159
|
-
const nr = be, On = 1335,
|
|
4174
|
+
const nr = be, On = 1335, ni = 21522, $r = nr.getBCHDigit(On);
|
|
4160
4175
|
Rn.getEncodedBits = function(t, r) {
|
|
4161
4176
|
const n = t.bit << 3 | r;
|
|
4162
4177
|
let o = n << 10;
|
|
4163
4178
|
for (; nr.getBCHDigit(o) - $r >= 0; )
|
|
4164
4179
|
o ^= On << nr.getBCHDigit(o) - $r;
|
|
4165
|
-
return (n << 10 | o) ^
|
|
4180
|
+
return (n << 10 | o) ^ ni;
|
|
4166
4181
|
};
|
|
4167
4182
|
var Mn = {};
|
|
4168
|
-
const
|
|
4183
|
+
const oi = Ae;
|
|
4169
4184
|
function qe(e) {
|
|
4170
|
-
this.mode =
|
|
4185
|
+
this.mode = oi.NUMERIC, this.data = e.toString();
|
|
4171
4186
|
}
|
|
4172
4187
|
qe.getBitsLength = function(t) {
|
|
4173
4188
|
return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
|
|
@@ -4185,8 +4200,8 @@ qe.prototype.write = function(t) {
|
|
|
4185
4200
|
const a = this.data.length - r;
|
|
4186
4201
|
a > 0 && (n = this.data.substr(r), o = parseInt(n, 10), t.put(o, a * 3 + 1));
|
|
4187
4202
|
};
|
|
4188
|
-
var
|
|
4189
|
-
const
|
|
4203
|
+
var ai = qe;
|
|
4204
|
+
const ii = Ae, zt = [
|
|
4190
4205
|
"0",
|
|
4191
4206
|
"1",
|
|
4192
4207
|
"2",
|
|
@@ -4234,7 +4249,7 @@ const ei = Pe, zt = [
|
|
|
4234
4249
|
":"
|
|
4235
4250
|
];
|
|
4236
4251
|
function Ye(e) {
|
|
4237
|
-
this.mode =
|
|
4252
|
+
this.mode = ii.ALPHANUMERIC, this.data = e;
|
|
4238
4253
|
}
|
|
4239
4254
|
Ye.getBitsLength = function(t) {
|
|
4240
4255
|
return 11 * Math.floor(t / 2) + 6 * (t % 2);
|
|
@@ -4253,7 +4268,7 @@ Ye.prototype.write = function(t) {
|
|
|
4253
4268
|
}
|
|
4254
4269
|
this.data.length % 2 && t.put(zt.indexOf(this.data[r]), 6);
|
|
4255
4270
|
};
|
|
4256
|
-
var
|
|
4271
|
+
var si = Ye, li = function(t) {
|
|
4257
4272
|
for (var r = [], n = t.length, o = 0; o < n; o++) {
|
|
4258
4273
|
var a = t.charCodeAt(o);
|
|
4259
4274
|
if (a >= 55296 && a <= 56319 && n > o + 1) {
|
|
@@ -4280,9 +4295,9 @@ var ti = Ye, ri = function(t) {
|
|
|
4280
4295
|
}
|
|
4281
4296
|
return new Uint8Array(r).buffer;
|
|
4282
4297
|
};
|
|
4283
|
-
const
|
|
4298
|
+
const ci = li, ui = Ae;
|
|
4284
4299
|
function Ge(e) {
|
|
4285
|
-
this.mode =
|
|
4300
|
+
this.mode = ui.BYTE, typeof e == "string" && (e = ci(e)), this.data = new Uint8Array(e);
|
|
4286
4301
|
}
|
|
4287
4302
|
Ge.getBitsLength = function(t) {
|
|
4288
4303
|
return t * 8;
|
|
@@ -4297,10 +4312,10 @@ Ge.prototype.write = function(e) {
|
|
|
4297
4312
|
for (let t = 0, r = this.data.length; t < r; t++)
|
|
4298
4313
|
e.put(this.data[t], 8);
|
|
4299
4314
|
};
|
|
4300
|
-
var
|
|
4301
|
-
const
|
|
4315
|
+
var fi = Ge;
|
|
4316
|
+
const di = Ae, pi = be;
|
|
4302
4317
|
function Ke(e) {
|
|
4303
|
-
this.mode =
|
|
4318
|
+
this.mode = di.KANJI, this.data = e;
|
|
4304
4319
|
}
|
|
4305
4320
|
Ke.getBitsLength = function(t) {
|
|
4306
4321
|
return t * 13;
|
|
@@ -4314,7 +4329,7 @@ Ke.prototype.getBitsLength = function() {
|
|
|
4314
4329
|
Ke.prototype.write = function(e) {
|
|
4315
4330
|
let t;
|
|
4316
4331
|
for (t = 0; t < this.data.length; t++) {
|
|
4317
|
-
let r =
|
|
4332
|
+
let r = pi.toSJIS(this.data[t]);
|
|
4318
4333
|
if (r >= 33088 && r <= 40956)
|
|
4319
4334
|
r -= 33088;
|
|
4320
4335
|
else if (r >= 57408 && r <= 60351)
|
|
@@ -4327,7 +4342,7 @@ Make sure your charset is UTF-8`
|
|
|
4327
4342
|
r = (r >>> 8 & 255) * 192 + (r & 255), e.put(r, 13);
|
|
4328
4343
|
}
|
|
4329
4344
|
};
|
|
4330
|
-
var
|
|
4345
|
+
var mi = Ke, kn = { exports: {} };
|
|
4331
4346
|
(function(e) {
|
|
4332
4347
|
var t = {
|
|
4333
4348
|
single_source_shortest_paths: function(r, n, o) {
|
|
@@ -4335,10 +4350,10 @@ var li = Ke, kn = { exports: {} };
|
|
|
4335
4350
|
s[n] = 0;
|
|
4336
4351
|
var i = t.PriorityQueue.make();
|
|
4337
4352
|
i.push(n, 0);
|
|
4338
|
-
for (var l, u, f, m, p, h, T, b,
|
|
4353
|
+
for (var l, u, f, m, p, h, T, b, E; !i.empty(); ) {
|
|
4339
4354
|
l = i.pop(), u = l.value, m = l.cost, p = r[u] || {};
|
|
4340
4355
|
for (f in p)
|
|
4341
|
-
p.hasOwnProperty(f) && (h = p[f], T = m + h, b = s[f],
|
|
4356
|
+
p.hasOwnProperty(f) && (h = p[f], T = m + h, b = s[f], E = typeof s[f] > "u", (E || b > T) && (s[f] = T, i.push(f, T), a[f] = u));
|
|
4342
4357
|
}
|
|
4343
4358
|
if (typeof o < "u" && typeof s[o] > "u") {
|
|
4344
4359
|
var y = ["Could not find a path from ", n, " to ", o, "."].join("");
|
|
@@ -4393,28 +4408,28 @@ var li = Ke, kn = { exports: {} };
|
|
|
4393
4408
|
};
|
|
4394
4409
|
e.exports = t;
|
|
4395
4410
|
})(kn);
|
|
4396
|
-
var
|
|
4411
|
+
var gi = kn.exports;
|
|
4397
4412
|
(function(e) {
|
|
4398
|
-
const t =
|
|
4413
|
+
const t = Ae, r = ai, n = si, o = fi, a = mi, s = Se, i = be, l = gi;
|
|
4399
4414
|
function u(y) {
|
|
4400
4415
|
return unescape(encodeURIComponent(y)).length;
|
|
4401
4416
|
}
|
|
4402
4417
|
function f(y, w, S) {
|
|
4403
|
-
const
|
|
4418
|
+
const x = [];
|
|
4404
4419
|
let g;
|
|
4405
4420
|
for (; (g = y.exec(S)) !== null; )
|
|
4406
|
-
|
|
4421
|
+
x.push({
|
|
4407
4422
|
data: g[0],
|
|
4408
4423
|
index: g.index,
|
|
4409
4424
|
mode: w,
|
|
4410
4425
|
length: g[0].length
|
|
4411
4426
|
});
|
|
4412
|
-
return
|
|
4427
|
+
return x;
|
|
4413
4428
|
}
|
|
4414
4429
|
function m(y) {
|
|
4415
4430
|
const w = f(s.NUMERIC, t.NUMERIC, y), S = f(s.ALPHANUMERIC, t.ALPHANUMERIC, y);
|
|
4416
|
-
let
|
|
4417
|
-
return i.isKanjiModeEnabled() ? (
|
|
4431
|
+
let x, g;
|
|
4432
|
+
return i.isKanjiModeEnabled() ? (x = f(s.BYTE, t.BYTE, y), g = f(s.KANJI, t.KANJI, y)) : (x = f(s.BYTE_KANJI, t.BYTE, y), g = []), w.concat(S, x, g).sort(function(te, ie) {
|
|
4418
4433
|
return te.index - ie.index;
|
|
4419
4434
|
}).map(function(te) {
|
|
4420
4435
|
return {
|
|
@@ -4438,67 +4453,67 @@ var ci = kn.exports;
|
|
|
4438
4453
|
}
|
|
4439
4454
|
function h(y) {
|
|
4440
4455
|
return y.reduce(function(w, S) {
|
|
4441
|
-
const
|
|
4442
|
-
return
|
|
4456
|
+
const x = w.length - 1 >= 0 ? w[w.length - 1] : null;
|
|
4457
|
+
return x && x.mode === S.mode ? (w[w.length - 1].data += S.data, w) : (w.push(S), w);
|
|
4443
4458
|
}, []);
|
|
4444
4459
|
}
|
|
4445
4460
|
function T(y) {
|
|
4446
4461
|
const w = [];
|
|
4447
4462
|
for (let S = 0; S < y.length; S++) {
|
|
4448
|
-
const
|
|
4449
|
-
switch (
|
|
4463
|
+
const x = y[S];
|
|
4464
|
+
switch (x.mode) {
|
|
4450
4465
|
case t.NUMERIC:
|
|
4451
4466
|
w.push([
|
|
4452
|
-
|
|
4453
|
-
{ data:
|
|
4454
|
-
{ data:
|
|
4467
|
+
x,
|
|
4468
|
+
{ data: x.data, mode: t.ALPHANUMERIC, length: x.length },
|
|
4469
|
+
{ data: x.data, mode: t.BYTE, length: x.length }
|
|
4455
4470
|
]);
|
|
4456
4471
|
break;
|
|
4457
4472
|
case t.ALPHANUMERIC:
|
|
4458
4473
|
w.push([
|
|
4459
|
-
|
|
4460
|
-
{ data:
|
|
4474
|
+
x,
|
|
4475
|
+
{ data: x.data, mode: t.BYTE, length: x.length }
|
|
4461
4476
|
]);
|
|
4462
4477
|
break;
|
|
4463
4478
|
case t.KANJI:
|
|
4464
4479
|
w.push([
|
|
4465
|
-
|
|
4466
|
-
{ data:
|
|
4480
|
+
x,
|
|
4481
|
+
{ data: x.data, mode: t.BYTE, length: u(x.data) }
|
|
4467
4482
|
]);
|
|
4468
4483
|
break;
|
|
4469
4484
|
case t.BYTE:
|
|
4470
4485
|
w.push([
|
|
4471
|
-
{ data:
|
|
4486
|
+
{ data: x.data, mode: t.BYTE, length: u(x.data) }
|
|
4472
4487
|
]);
|
|
4473
4488
|
}
|
|
4474
4489
|
}
|
|
4475
4490
|
return w;
|
|
4476
4491
|
}
|
|
4477
4492
|
function b(y, w) {
|
|
4478
|
-
const S = {},
|
|
4493
|
+
const S = {}, x = { start: {} };
|
|
4479
4494
|
let g = ["start"];
|
|
4480
4495
|
for (let $ = 0; $ < y.length; $++) {
|
|
4481
4496
|
const te = y[$], ie = [];
|
|
4482
4497
|
for (let ae = 0; ae < te.length; ae++) {
|
|
4483
4498
|
const se = te[ae], ue = "" + $ + ae;
|
|
4484
|
-
ie.push(ue), S[ue] = { node: se, lastCount: 0 },
|
|
4499
|
+
ie.push(ue), S[ue] = { node: se, lastCount: 0 }, x[ue] = {};
|
|
4485
4500
|
for (let U = 0; U < g.length; U++) {
|
|
4486
|
-
const
|
|
4487
|
-
S[
|
|
4501
|
+
const Z = g[U];
|
|
4502
|
+
S[Z] && S[Z].node.mode === se.mode ? (x[Z][ue] = p(S[Z].lastCount + se.length, se.mode) - p(S[Z].lastCount, se.mode), S[Z].lastCount += se.length) : (S[Z] && (S[Z].lastCount = se.length), x[Z][ue] = p(se.length, se.mode) + 4 + t.getCharCountIndicator(se.mode, w));
|
|
4488
4503
|
}
|
|
4489
4504
|
}
|
|
4490
4505
|
g = ie;
|
|
4491
4506
|
}
|
|
4492
4507
|
for (let $ = 0; $ < g.length; $++)
|
|
4493
|
-
|
|
4494
|
-
return { map:
|
|
4508
|
+
x[g[$]].end = 0;
|
|
4509
|
+
return { map: x, table: S };
|
|
4495
4510
|
}
|
|
4496
|
-
function
|
|
4511
|
+
function E(y, w) {
|
|
4497
4512
|
let S;
|
|
4498
|
-
const
|
|
4499
|
-
if (S = t.from(w,
|
|
4513
|
+
const x = t.getBestModeForData(y);
|
|
4514
|
+
if (S = t.from(w, x), S !== t.BYTE && S.bit < x.bit)
|
|
4500
4515
|
throw new Error('"' + y + '" cannot be encoded with mode ' + t.toString(S) + `.
|
|
4501
|
-
Suggested mode is: ` + t.toString(
|
|
4516
|
+
Suggested mode is: ` + t.toString(x));
|
|
4502
4517
|
switch (S === t.KANJI && !i.isKanjiModeEnabled() && (S = t.BYTE), S) {
|
|
4503
4518
|
case t.NUMERIC:
|
|
4504
4519
|
return new r(y);
|
|
@@ -4511,11 +4526,11 @@ var ci = kn.exports;
|
|
|
4511
4526
|
}
|
|
4512
4527
|
}
|
|
4513
4528
|
e.fromArray = function(w) {
|
|
4514
|
-
return w.reduce(function(S,
|
|
4515
|
-
return typeof
|
|
4529
|
+
return w.reduce(function(S, x) {
|
|
4530
|
+
return typeof x == "string" ? S.push(E(x, null)) : x.data && S.push(E(x.data, x.mode)), S;
|
|
4516
4531
|
}, []);
|
|
4517
4532
|
}, e.fromString = function(w, S) {
|
|
4518
|
-
const
|
|
4533
|
+
const x = m(w, i.isKanjiModeEnabled()), g = T(x), $ = b(g, S), te = l.find_path($.map, "start", "end"), ie = [];
|
|
4519
4534
|
for (let ae = 1; ae < te.length - 1; ae++)
|
|
4520
4535
|
ie.push($.table[te[ae]].node);
|
|
4521
4536
|
return e.fromArray(h(ie));
|
|
@@ -4525,9 +4540,9 @@ var ci = kn.exports;
|
|
|
4525
4540
|
);
|
|
4526
4541
|
};
|
|
4527
4542
|
})(Mn);
|
|
4528
|
-
const
|
|
4529
|
-
function
|
|
4530
|
-
const r = e.size, n =
|
|
4543
|
+
const At = be, Ut = Mt, hi = Ga, vi = Ka, bi = wn, yi = Cn, or = xn, ar = kt, wi = Za, Et = Sn, Ci = Rn, xi = Ae, Wt = Mn;
|
|
4544
|
+
function Ei(e, t) {
|
|
4545
|
+
const r = e.size, n = yi.getPositions(t);
|
|
4531
4546
|
for (let o = 0; o < n.length; o++) {
|
|
4532
4547
|
const a = n[o][0], s = n[o][1];
|
|
4533
4548
|
for (let i = -1; i <= 7; i++)
|
|
@@ -4536,15 +4551,15 @@ function vi(e, t) {
|
|
|
4536
4551
|
s + l <= -1 || r <= s + l || (i >= 0 && i <= 6 && (l === 0 || l === 6) || l >= 0 && l <= 6 && (i === 0 || i === 6) || i >= 2 && i <= 4 && l >= 2 && l <= 4 ? e.set(a + i, s + l, !0, !0) : e.set(a + i, s + l, !1, !0));
|
|
4537
4552
|
}
|
|
4538
4553
|
}
|
|
4539
|
-
function
|
|
4554
|
+
function _i(e) {
|
|
4540
4555
|
const t = e.size;
|
|
4541
4556
|
for (let r = 8; r < t - 8; r++) {
|
|
4542
4557
|
const n = r % 2 === 0;
|
|
4543
4558
|
e.set(r, 6, n, !0), e.set(6, r, n, !0);
|
|
4544
4559
|
}
|
|
4545
4560
|
}
|
|
4546
|
-
function
|
|
4547
|
-
const r =
|
|
4561
|
+
function Si(e, t) {
|
|
4562
|
+
const r = bi.getPositions(t);
|
|
4548
4563
|
for (let n = 0; n < r.length; n++) {
|
|
4549
4564
|
const o = r[n][0], a = r[n][1];
|
|
4550
4565
|
for (let s = -2; s <= 2; s++)
|
|
@@ -4552,20 +4567,20 @@ function yi(e, t) {
|
|
|
4552
4567
|
s === -2 || s === 2 || i === -2 || i === 2 || s === 0 && i === 0 ? e.set(o + s, a + i, !0, !0) : e.set(o + s, a + i, !1, !0);
|
|
4553
4568
|
}
|
|
4554
4569
|
}
|
|
4555
|
-
function
|
|
4556
|
-
const r = e.size, n =
|
|
4570
|
+
function Ti(e, t) {
|
|
4571
|
+
const r = e.size, n = Et.getEncodedBits(t);
|
|
4557
4572
|
let o, a, s;
|
|
4558
4573
|
for (let i = 0; i < 18; i++)
|
|
4559
4574
|
o = Math.floor(i / 3), a = i % 3 + r - 8 - 3, s = (n >> i & 1) === 1, e.set(o, a, s, !0), e.set(a, o, s, !0);
|
|
4560
4575
|
}
|
|
4561
4576
|
function $t(e, t, r) {
|
|
4562
|
-
const n = e.size, o =
|
|
4577
|
+
const n = e.size, o = Ci.getEncodedBits(t, r);
|
|
4563
4578
|
let a, s;
|
|
4564
4579
|
for (a = 0; a < 15; a++)
|
|
4565
4580
|
s = (o >> a & 1) === 1, a < 6 ? e.set(a, 8, s, !0) : a < 8 ? e.set(a + 1, 8, s, !0) : e.set(n - 15 + a, 8, s, !0), a < 8 ? e.set(8, n - a - 1, s, !0) : a < 9 ? e.set(8, 15 - a - 1 + 1, s, !0) : e.set(8, 15 - a - 1, s, !0);
|
|
4566
4581
|
e.set(n - 8, 8, 1, !0);
|
|
4567
4582
|
}
|
|
4568
|
-
function
|
|
4583
|
+
function Ri(e, t) {
|
|
4569
4584
|
const r = e.size;
|
|
4570
4585
|
let n = -1, o = r - 1, a = 7, s = 0;
|
|
4571
4586
|
for (let i = r - 1; i > 0; i -= 2)
|
|
@@ -4581,40 +4596,40 @@ function xi(e, t) {
|
|
|
4581
4596
|
}
|
|
4582
4597
|
}
|
|
4583
4598
|
}
|
|
4584
|
-
function
|
|
4585
|
-
const n = new
|
|
4599
|
+
function Oi(e, t, r) {
|
|
4600
|
+
const n = new hi();
|
|
4586
4601
|
r.forEach(function(l) {
|
|
4587
|
-
n.put(l.mode.bit, 4), n.put(l.getLength(),
|
|
4602
|
+
n.put(l.mode.bit, 4), n.put(l.getLength(), xi.getCharCountIndicator(l.mode, e)), l.write(n);
|
|
4588
4603
|
});
|
|
4589
|
-
const o =
|
|
4604
|
+
const o = At.getSymbolTotalCodewords(e), a = ar.getTotalCodewordsCount(e, t), s = (o - a) * 8;
|
|
4590
4605
|
for (n.getLengthInBits() + 4 <= s && n.put(0, 4); n.getLengthInBits() % 8 !== 0; )
|
|
4591
4606
|
n.putBit(0);
|
|
4592
4607
|
const i = (s - n.getLengthInBits()) / 8;
|
|
4593
4608
|
for (let l = 0; l < i; l++)
|
|
4594
4609
|
n.put(l % 2 ? 17 : 236, 8);
|
|
4595
|
-
return
|
|
4610
|
+
return Mi(n, e, t);
|
|
4596
4611
|
}
|
|
4597
|
-
function
|
|
4598
|
-
const n =
|
|
4612
|
+
function Mi(e, t, r) {
|
|
4613
|
+
const n = At.getSymbolTotalCodewords(t), o = ar.getTotalCodewordsCount(t, r), a = n - o, s = ar.getBlocksCount(t, r), i = n % s, l = s - i, u = Math.floor(n / s), f = Math.floor(a / s), m = f + 1, p = u - f, h = new wi(p);
|
|
4599
4614
|
let T = 0;
|
|
4600
|
-
const b = new Array(s),
|
|
4615
|
+
const b = new Array(s), E = new Array(s);
|
|
4601
4616
|
let y = 0;
|
|
4602
4617
|
const w = new Uint8Array(e.buffer);
|
|
4603
4618
|
for (let te = 0; te < s; te++) {
|
|
4604
4619
|
const ie = te < l ? f : m;
|
|
4605
|
-
b[te] = w.slice(T, T + ie),
|
|
4620
|
+
b[te] = w.slice(T, T + ie), E[te] = h.encode(b[te]), T += ie, y = Math.max(y, ie);
|
|
4606
4621
|
}
|
|
4607
4622
|
const S = new Uint8Array(n);
|
|
4608
|
-
let
|
|
4623
|
+
let x = 0, g, $;
|
|
4609
4624
|
for (g = 0; g < y; g++)
|
|
4610
4625
|
for ($ = 0; $ < s; $++)
|
|
4611
|
-
g < b[$].length && (S[
|
|
4626
|
+
g < b[$].length && (S[x++] = b[$][g]);
|
|
4612
4627
|
for (g = 0; g < p; g++)
|
|
4613
4628
|
for ($ = 0; $ < s; $++)
|
|
4614
|
-
S[
|
|
4629
|
+
S[x++] = E[$][g];
|
|
4615
4630
|
return S;
|
|
4616
4631
|
}
|
|
4617
|
-
function
|
|
4632
|
+
function ki(e, t, r, n) {
|
|
4618
4633
|
let o;
|
|
4619
4634
|
if (Array.isArray(e))
|
|
4620
4635
|
o = Wt.fromArray(e);
|
|
@@ -4622,12 +4637,12 @@ function _i(e, t, r, n) {
|
|
|
4622
4637
|
let u = t;
|
|
4623
4638
|
if (!u) {
|
|
4624
4639
|
const f = Wt.rawSplit(e);
|
|
4625
|
-
u =
|
|
4640
|
+
u = Et.getBestVersionForData(f, r);
|
|
4626
4641
|
}
|
|
4627
4642
|
o = Wt.fromString(e, u || 40);
|
|
4628
4643
|
} else
|
|
4629
4644
|
throw new Error("Invalid data");
|
|
4630
|
-
const a =
|
|
4645
|
+
const a = Et.getBestVersionForData(o, r);
|
|
4631
4646
|
if (!a)
|
|
4632
4647
|
throw new Error("The amount of data is too big to be stored in a QR Code");
|
|
4633
4648
|
if (!t)
|
|
@@ -4639,8 +4654,8 @@ The chosen QR Code version cannot contain this amount of data.
|
|
|
4639
4654
|
Minimum version required to store current data is: ` + a + `.
|
|
4640
4655
|
`
|
|
4641
4656
|
);
|
|
4642
|
-
const s =
|
|
4643
|
-
return
|
|
4657
|
+
const s = Oi(t, r, o), i = At.getSymbolSize(t), l = new vi(i);
|
|
4658
|
+
return Ei(l, t), _i(l), Si(l, t), $t(l, r, 0), t >= 7 && Ti(l, t), Ri(l, s), isNaN(n) && (n = or.getBestMask(
|
|
4644
4659
|
l,
|
|
4645
4660
|
$t.bind(null, l, r)
|
|
4646
4661
|
)), or.applyMask(n, l), $t(l, r, n), {
|
|
@@ -4655,9 +4670,9 @@ bn.create = function(t, r) {
|
|
|
4655
4670
|
if (typeof t > "u" || t === "")
|
|
4656
4671
|
throw new Error("No input text");
|
|
4657
4672
|
let n = Ut.M, o, a;
|
|
4658
|
-
return typeof r < "u" && (n = Ut.from(r.errorCorrectionLevel, Ut.M), o =
|
|
4673
|
+
return typeof r < "u" && (n = Ut.from(r.errorCorrectionLevel, Ut.M), o = Et.from(r.version), a = or.from(r.maskPattern), r.toSJISFunc && At.setToSJISFunction(r.toSJISFunc)), ki(t, o, n, a);
|
|
4659
4674
|
};
|
|
4660
|
-
var
|
|
4675
|
+
var Pn = {}, br = {};
|
|
4661
4676
|
(function(e) {
|
|
4662
4677
|
function t(r) {
|
|
4663
4678
|
if (typeof r == "number" && (r = r.toString()), typeof r != "string")
|
|
@@ -4702,8 +4717,8 @@ var An = {}, br = {};
|
|
|
4702
4717
|
for (let h = 0; h < u; h++) {
|
|
4703
4718
|
let T = (p * u + h) * 4, b = a.color.light;
|
|
4704
4719
|
if (p >= f && h >= f && p < u - f && h < u - f) {
|
|
4705
|
-
const
|
|
4706
|
-
b = m[i[
|
|
4720
|
+
const E = Math.floor((p - f) / l), y = Math.floor((h - f) / l);
|
|
4721
|
+
b = m[i[E * s + y] ? 1 : 0];
|
|
4707
4722
|
}
|
|
4708
4723
|
n[T++] = b.r, n[T++] = b.g, n[T++] = b.b, n[T] = b.a;
|
|
4709
4724
|
}
|
|
@@ -4732,9 +4747,9 @@ var An = {}, br = {};
|
|
|
4732
4747
|
const u = e.render(a, s, l), f = l.type || "image/png", m = l.rendererOpts || {};
|
|
4733
4748
|
return u.toDataURL(f, m.quality);
|
|
4734
4749
|
};
|
|
4735
|
-
})(
|
|
4736
|
-
var
|
|
4737
|
-
const
|
|
4750
|
+
})(Pn);
|
|
4751
|
+
var An = {};
|
|
4752
|
+
const Pi = br;
|
|
4738
4753
|
function Hr(e, t) {
|
|
4739
4754
|
const r = e.a / 255, n = t + '="' + e.hex + '"';
|
|
4740
4755
|
return r < 1 ? n + " " + t + '-opacity="' + r.toFixed(2).slice(1) + '"' : n;
|
|
@@ -4743,7 +4758,7 @@ function Ht(e, t, r) {
|
|
|
4743
4758
|
let n = e + t;
|
|
4744
4759
|
return typeof r < "u" && (n += " " + r), n;
|
|
4745
4760
|
}
|
|
4746
|
-
function
|
|
4761
|
+
function Ai(e, t, r) {
|
|
4747
4762
|
let n = "", o = 0, a = !1, s = 0;
|
|
4748
4763
|
for (let i = 0; i < e.length; i++) {
|
|
4749
4764
|
const l = Math.floor(i % t), u = Math.floor(i / t);
|
|
@@ -4751,15 +4766,15 @@ function Ti(e, t, r) {
|
|
|
4751
4766
|
}
|
|
4752
4767
|
return n;
|
|
4753
4768
|
}
|
|
4754
|
-
|
|
4755
|
-
const o =
|
|
4769
|
+
An.render = function(t, r, n) {
|
|
4770
|
+
const o = Pi.getOptions(r), a = t.modules.size, s = t.modules.data, i = a + o.margin * 2, l = o.color.light.a ? "<path " + Hr(o.color.light, "fill") + ' d="M0 0h' + i + "v" + i + 'H0z"/>' : "", u = "<path " + Hr(o.color.dark, "stroke") + ' d="' + Ai(s, a, o.margin) + '"/>', f = 'viewBox="0 0 ' + i + " " + i + '"', p = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + f + ' shape-rendering="crispEdges">' + l + u + `</svg>
|
|
4756
4771
|
`;
|
|
4757
4772
|
return typeof n == "function" && n(null, p), p;
|
|
4758
4773
|
};
|
|
4759
|
-
const
|
|
4774
|
+
const Ni = qa, ir = bn, Nn = Pn, Li = An;
|
|
4760
4775
|
function yr(e, t, r, n, o) {
|
|
4761
4776
|
const a = [].slice.call(arguments, 1), s = a.length, i = typeof a[s - 1] == "function";
|
|
4762
|
-
if (!i && !
|
|
4777
|
+
if (!i && !Ni())
|
|
4763
4778
|
throw new Error("Callback required as last argument");
|
|
4764
4779
|
if (i) {
|
|
4765
4780
|
if (s < 2)
|
|
@@ -4788,13 +4803,13 @@ dt.create = ir.create;
|
|
|
4788
4803
|
dt.toCanvas = yr.bind(null, Nn.render);
|
|
4789
4804
|
dt.toDataURL = yr.bind(null, Nn.renderToDataURL);
|
|
4790
4805
|
dt.toString = yr.bind(null, function(e, t, r) {
|
|
4791
|
-
return
|
|
4806
|
+
return Li.render(e, r);
|
|
4792
4807
|
});
|
|
4793
|
-
const
|
|
4808
|
+
const Fi = 0.1, Vr = 2.5, Re = 7;
|
|
4794
4809
|
function Vt(e, t, r) {
|
|
4795
|
-
return e === t ? !1 : (e - t < 0 ? t - e : e - t) <= r +
|
|
4810
|
+
return e === t ? !1 : (e - t < 0 ? t - e : e - t) <= r + Fi;
|
|
4796
4811
|
}
|
|
4797
|
-
function
|
|
4812
|
+
function Ii(e, t) {
|
|
4798
4813
|
const r = Array.prototype.slice.call(
|
|
4799
4814
|
dt.create(e, { errorCorrectionLevel: t }).modules.data,
|
|
4800
4815
|
0
|
|
@@ -4804,72 +4819,72 @@ function ki(e, t) {
|
|
|
4804
4819
|
[]
|
|
4805
4820
|
);
|
|
4806
4821
|
}
|
|
4807
|
-
const
|
|
4822
|
+
const Di = {
|
|
4808
4823
|
generate(e, t, r, n = "#141414") {
|
|
4809
|
-
const o = "transparent", s =
|
|
4824
|
+
const o = "transparent", s = Ii(e, "Q"), i = t / s.length, l = [
|
|
4810
4825
|
{ x: 0, y: 0 },
|
|
4811
4826
|
{ x: 1, y: 0 },
|
|
4812
4827
|
{ x: 0, y: 1 }
|
|
4813
4828
|
], u = [];
|
|
4814
|
-
l.forEach(({ x: b, y:
|
|
4815
|
-
const y = (s.length - Re) * i * b, w = (s.length - Re) * i *
|
|
4816
|
-
for (let
|
|
4817
|
-
const g = i * (Re -
|
|
4829
|
+
l.forEach(({ x: b, y: E }) => {
|
|
4830
|
+
const y = (s.length - Re) * i * b, w = (s.length - Re) * i * E, S = 0.3;
|
|
4831
|
+
for (let x = 0; x < l.length; x += 1) {
|
|
4832
|
+
const g = i * (Re - x * 2);
|
|
4818
4833
|
u.push(
|
|
4819
4834
|
/* @__PURE__ */ K.jsx(
|
|
4820
4835
|
"rect",
|
|
4821
4836
|
{
|
|
4822
|
-
fill:
|
|
4823
|
-
width:
|
|
4824
|
-
rx:
|
|
4825
|
-
ry:
|
|
4837
|
+
fill: x === 2 ? n : o,
|
|
4838
|
+
width: x === 0 ? g - 5 : g,
|
|
4839
|
+
rx: x === 0 ? (g - 5) * S : g * S,
|
|
4840
|
+
ry: x === 0 ? (g - 5) * S : g * S,
|
|
4826
4841
|
stroke: n,
|
|
4827
|
-
strokeWidth:
|
|
4828
|
-
height:
|
|
4829
|
-
x:
|
|
4830
|
-
y:
|
|
4842
|
+
strokeWidth: x === 0 ? 5 : 0,
|
|
4843
|
+
height: x === 0 ? g - 5 : g,
|
|
4844
|
+
x: x === 0 ? w + i * x + 5 / 2 : w + i * x,
|
|
4845
|
+
y: x === 0 ? y + i * x + 5 / 2 : y + i * x
|
|
4831
4846
|
}
|
|
4832
4847
|
)
|
|
4833
4848
|
);
|
|
4834
4849
|
}
|
|
4835
4850
|
});
|
|
4836
4851
|
const f = Math.floor((r + 25) / i), m = s.length / 2 - f / 2, p = s.length / 2 + f / 2 - 1, h = [];
|
|
4837
|
-
s.forEach((b,
|
|
4852
|
+
s.forEach((b, E) => {
|
|
4838
4853
|
b.forEach((y, w) => {
|
|
4839
|
-
if (s[
|
|
4840
|
-
const S =
|
|
4841
|
-
h.push([S,
|
|
4854
|
+
if (s[E][w] && !(E < Re && w < Re || E > s.length - (Re + 1) && w < Re || E < Re && w > s.length - (Re + 1)) && !(E > m && E < p && w > m && w < p)) {
|
|
4855
|
+
const S = E * i + i / 2, x = w * i + i / 2;
|
|
4856
|
+
h.push([S, x]);
|
|
4842
4857
|
}
|
|
4843
4858
|
});
|
|
4844
4859
|
});
|
|
4845
4860
|
const T = {};
|
|
4846
|
-
return h.forEach(([b,
|
|
4861
|
+
return h.forEach(([b, E]) => {
|
|
4847
4862
|
var y;
|
|
4848
|
-
T[b] ? (y = T[b]) == null || y.push(
|
|
4849
|
-
}), Object.entries(T).map(([b,
|
|
4850
|
-
const y =
|
|
4851
|
-
(w) =>
|
|
4863
|
+
T[b] ? (y = T[b]) == null || y.push(E) : T[b] = [E];
|
|
4864
|
+
}), Object.entries(T).map(([b, E]) => {
|
|
4865
|
+
const y = E.filter(
|
|
4866
|
+
(w) => E.every((S) => !Vt(w, S, i))
|
|
4852
4867
|
);
|
|
4853
4868
|
return [Number(b), y];
|
|
4854
|
-
}).forEach(([b,
|
|
4855
|
-
|
|
4869
|
+
}).forEach(([b, E]) => {
|
|
4870
|
+
E.forEach((y) => {
|
|
4856
4871
|
u.push(/* @__PURE__ */ K.jsx("circle", { cx: b, cy: y, fill: n, r: i / Vr }));
|
|
4857
4872
|
});
|
|
4858
|
-
}), Object.entries(T).filter(([b,
|
|
4859
|
-
const y =
|
|
4873
|
+
}), Object.entries(T).filter(([b, E]) => E.length > 1).map(([b, E]) => {
|
|
4874
|
+
const y = E.filter((w) => E.some((S) => Vt(w, S, i)));
|
|
4860
4875
|
return [Number(b), y];
|
|
4861
|
-
}).map(([b,
|
|
4862
|
-
|
|
4876
|
+
}).map(([b, E]) => {
|
|
4877
|
+
E.sort((w, S) => w < S ? -1 : 1);
|
|
4863
4878
|
const y = [];
|
|
4864
|
-
for (const w of
|
|
4879
|
+
for (const w of E) {
|
|
4865
4880
|
const S = y.find(
|
|
4866
|
-
(
|
|
4881
|
+
(x) => x.some((g) => Vt(w, g, i))
|
|
4867
4882
|
);
|
|
4868
4883
|
S ? S.push(w) : y.push([w]);
|
|
4869
4884
|
}
|
|
4870
4885
|
return [b, y.map((w) => [w[0], w[w.length - 1]])];
|
|
4871
|
-
}).forEach(([b,
|
|
4872
|
-
|
|
4886
|
+
}).forEach(([b, E]) => {
|
|
4887
|
+
E.forEach(([y, w]) => {
|
|
4873
4888
|
u.push(
|
|
4874
4889
|
/* @__PURE__ */ K.jsx(
|
|
4875
4890
|
"line",
|
|
@@ -4887,20 +4902,20 @@ const Ai = {
|
|
|
4887
4902
|
});
|
|
4888
4903
|
}), u;
|
|
4889
4904
|
}
|
|
4890
|
-
},
|
|
4905
|
+
}, ji = {
|
|
4891
4906
|
sm: 120,
|
|
4892
4907
|
md: 200,
|
|
4893
4908
|
lg: 256,
|
|
4894
4909
|
xl: 320
|
|
4895
4910
|
};
|
|
4896
|
-
function
|
|
4897
|
-
const s = typeof t == "number" ? t :
|
|
4898
|
-
() =>
|
|
4911
|
+
function ul({ uri: e, size: t = "md", color: r, iconName: n = "didit", className: o, ...a }) {
|
|
4912
|
+
const s = typeof t == "number" ? t : ji[t], i = vo(
|
|
4913
|
+
() => Di.generate(e, s, s / 4, r),
|
|
4899
4914
|
[e, s, r]
|
|
4900
|
-
), l =
|
|
4915
|
+
), l = he(
|
|
4901
4916
|
["size-fit", "flex items-center justify-center", "relative overflow-hidden aspect-square"],
|
|
4902
4917
|
o
|
|
4903
|
-
), u =
|
|
4918
|
+
), u = he([
|
|
4904
4919
|
"size-full absolute top-1/2 left-1/2",
|
|
4905
4920
|
"transform -translate-x-1/2 -translate-y-1/2 scale-[0.25]",
|
|
4906
4921
|
"text-primary rounded-3xl overflow-hidden"
|
|
@@ -4910,7 +4925,7 @@ function ol({ uri: e, size: t = "md", color: r, iconName: n = "didit", className
|
|
|
4910
4925
|
/* @__PURE__ */ K.jsx("svg", { width: s, height: s, children: i })
|
|
4911
4926
|
] });
|
|
4912
4927
|
}
|
|
4913
|
-
const
|
|
4928
|
+
const Bi = Ze(["w-full rounded-[32px] overflow-hidden bg-background"], {
|
|
4914
4929
|
variants: {
|
|
4915
4930
|
padding: {
|
|
4916
4931
|
none: "p-0",
|
|
@@ -4927,10 +4942,10 @@ const Ni = Xe(["w-full rounded-[32px] overflow-hidden bg-background"], {
|
|
|
4927
4942
|
shadow: !1
|
|
4928
4943
|
}
|
|
4929
4944
|
});
|
|
4930
|
-
function
|
|
4931
|
-
return /* @__PURE__ */ K.jsx("div", { className:
|
|
4945
|
+
function fl({ className: e, padding: t, shadow: r, children: n, ...o }) {
|
|
4946
|
+
return /* @__PURE__ */ K.jsx("div", { className: he(Bi({ shadow: r, padding: t, className: e })), ...o, children: n });
|
|
4932
4947
|
}
|
|
4933
|
-
var sr = { exports: {} }, ze = {}, lr = { exports: {} }, wt = { exports: {} },
|
|
4948
|
+
var sr = { exports: {} }, ze = {}, lr = { exports: {} }, wt = { exports: {} }, Q = {};
|
|
4934
4949
|
/** @license React v16.13.1
|
|
4935
4950
|
* react-is.production.min.js
|
|
4936
4951
|
*
|
|
@@ -4940,10 +4955,10 @@ var sr = { exports: {} }, ze = {}, lr = { exports: {} }, wt = { exports: {} }, Z
|
|
|
4940
4955
|
* LICENSE file in the root directory of this source tree.
|
|
4941
4956
|
*/
|
|
4942
4957
|
var qr;
|
|
4943
|
-
function
|
|
4944
|
-
if (qr) return
|
|
4958
|
+
function zi() {
|
|
4959
|
+
if (qr) return Q;
|
|
4945
4960
|
qr = 1;
|
|
4946
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121,
|
|
4961
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
4947
4962
|
function S(g) {
|
|
4948
4963
|
if (typeof g == "object" && g !== null) {
|
|
4949
4964
|
var $ = g.$$typeof;
|
|
@@ -4974,36 +4989,36 @@ function Li() {
|
|
|
4974
4989
|
}
|
|
4975
4990
|
}
|
|
4976
4991
|
}
|
|
4977
|
-
function
|
|
4992
|
+
function x(g) {
|
|
4978
4993
|
return S(g) === u;
|
|
4979
4994
|
}
|
|
4980
|
-
return
|
|
4981
|
-
return
|
|
4982
|
-
},
|
|
4995
|
+
return Q.AsyncMode = l, Q.ConcurrentMode = u, Q.ContextConsumer = i, Q.ContextProvider = s, Q.Element = t, Q.ForwardRef = f, Q.Fragment = n, Q.Lazy = T, Q.Memo = h, Q.Portal = r, Q.Profiler = a, Q.StrictMode = o, Q.Suspense = m, Q.isAsyncMode = function(g) {
|
|
4996
|
+
return x(g) || S(g) === l;
|
|
4997
|
+
}, Q.isConcurrentMode = x, Q.isContextConsumer = function(g) {
|
|
4983
4998
|
return S(g) === i;
|
|
4984
|
-
},
|
|
4999
|
+
}, Q.isContextProvider = function(g) {
|
|
4985
5000
|
return S(g) === s;
|
|
4986
|
-
},
|
|
5001
|
+
}, Q.isElement = function(g) {
|
|
4987
5002
|
return typeof g == "object" && g !== null && g.$$typeof === t;
|
|
4988
|
-
},
|
|
5003
|
+
}, Q.isForwardRef = function(g) {
|
|
4989
5004
|
return S(g) === f;
|
|
4990
|
-
},
|
|
5005
|
+
}, Q.isFragment = function(g) {
|
|
4991
5006
|
return S(g) === n;
|
|
4992
|
-
},
|
|
5007
|
+
}, Q.isLazy = function(g) {
|
|
4993
5008
|
return S(g) === T;
|
|
4994
|
-
},
|
|
5009
|
+
}, Q.isMemo = function(g) {
|
|
4995
5010
|
return S(g) === h;
|
|
4996
|
-
},
|
|
5011
|
+
}, Q.isPortal = function(g) {
|
|
4997
5012
|
return S(g) === r;
|
|
4998
|
-
},
|
|
5013
|
+
}, Q.isProfiler = function(g) {
|
|
4999
5014
|
return S(g) === a;
|
|
5000
|
-
},
|
|
5015
|
+
}, Q.isStrictMode = function(g) {
|
|
5001
5016
|
return S(g) === o;
|
|
5002
|
-
},
|
|
5017
|
+
}, Q.isSuspense = function(g) {
|
|
5003
5018
|
return S(g) === m;
|
|
5004
|
-
},
|
|
5005
|
-
return typeof g == "string" || typeof g == "function" || g === n || g === u || g === a || g === o || g === m || g === p || typeof g == "object" && g !== null && (g.$$typeof === T || g.$$typeof === h || g.$$typeof === s || g.$$typeof === i || g.$$typeof === f || g.$$typeof ===
|
|
5006
|
-
},
|
|
5019
|
+
}, Q.isValidElementType = function(g) {
|
|
5020
|
+
return typeof g == "string" || typeof g == "function" || g === n || g === u || g === a || g === o || g === m || g === p || typeof g == "object" && g !== null && (g.$$typeof === T || g.$$typeof === h || g.$$typeof === s || g.$$typeof === i || g.$$typeof === f || g.$$typeof === E || g.$$typeof === y || g.$$typeof === w || g.$$typeof === b);
|
|
5021
|
+
}, Q.typeOf = S, Q;
|
|
5007
5022
|
}
|
|
5008
5023
|
var ee = {};
|
|
5009
5024
|
/** @license React v16.13.1
|
|
@@ -5015,19 +5030,19 @@ var ee = {};
|
|
|
5015
5030
|
* LICENSE file in the root directory of this source tree.
|
|
5016
5031
|
*/
|
|
5017
5032
|
var Yr;
|
|
5018
|
-
function
|
|
5033
|
+
function Ui() {
|
|
5019
5034
|
return Yr || (Yr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
5020
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121,
|
|
5021
|
-
function S(
|
|
5022
|
-
return typeof
|
|
5023
|
-
|
|
5024
|
-
}
|
|
5025
|
-
function
|
|
5026
|
-
if (typeof
|
|
5027
|
-
var ye =
|
|
5035
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
5036
|
+
function S(O) {
|
|
5037
|
+
return typeof O == "string" || typeof O == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
5038
|
+
O === n || O === u || O === a || O === o || O === m || O === p || typeof O == "object" && O !== null && (O.$$typeof === T || O.$$typeof === h || O.$$typeof === s || O.$$typeof === i || O.$$typeof === f || O.$$typeof === E || O.$$typeof === y || O.$$typeof === w || O.$$typeof === b);
|
|
5039
|
+
}
|
|
5040
|
+
function x(O) {
|
|
5041
|
+
if (typeof O == "object" && O !== null) {
|
|
5042
|
+
var ye = O.$$typeof;
|
|
5028
5043
|
switch (ye) {
|
|
5029
5044
|
case t:
|
|
5030
|
-
var We =
|
|
5045
|
+
var We = O.type;
|
|
5031
5046
|
switch (We) {
|
|
5032
5047
|
case l:
|
|
5033
5048
|
case u:
|
|
@@ -5054,52 +5069,52 @@ function Fi() {
|
|
|
5054
5069
|
}
|
|
5055
5070
|
}
|
|
5056
5071
|
}
|
|
5057
|
-
var g = l, $ = u, te = i, ie = s, ae = t, se = f, ue = n, U = T,
|
|
5058
|
-
function re(
|
|
5059
|
-
return
|
|
5072
|
+
var g = l, $ = u, te = i, ie = s, ae = t, se = f, ue = n, U = T, Z = h, k = r, A = a, W = o, d = m, P = !1;
|
|
5073
|
+
function re(O) {
|
|
5074
|
+
return P || (P = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(O) || x(O) === l;
|
|
5060
5075
|
}
|
|
5061
|
-
function v(
|
|
5062
|
-
return
|
|
5076
|
+
function v(O) {
|
|
5077
|
+
return x(O) === u;
|
|
5063
5078
|
}
|
|
5064
|
-
function _(
|
|
5065
|
-
return
|
|
5079
|
+
function _(O) {
|
|
5080
|
+
return x(O) === i;
|
|
5066
5081
|
}
|
|
5067
|
-
function N(
|
|
5068
|
-
return
|
|
5082
|
+
function N(O) {
|
|
5083
|
+
return x(O) === s;
|
|
5069
5084
|
}
|
|
5070
|
-
function L(
|
|
5071
|
-
return typeof
|
|
5085
|
+
function L(O) {
|
|
5086
|
+
return typeof O == "object" && O !== null && O.$$typeof === t;
|
|
5072
5087
|
}
|
|
5073
|
-
function F(
|
|
5074
|
-
return
|
|
5088
|
+
function F(O) {
|
|
5089
|
+
return x(O) === f;
|
|
5075
5090
|
}
|
|
5076
|
-
function q(
|
|
5077
|
-
return
|
|
5091
|
+
function q(O) {
|
|
5092
|
+
return x(O) === n;
|
|
5078
5093
|
}
|
|
5079
|
-
function j(
|
|
5080
|
-
return
|
|
5094
|
+
function j(O) {
|
|
5095
|
+
return x(O) === T;
|
|
5081
5096
|
}
|
|
5082
|
-
function B(
|
|
5083
|
-
return
|
|
5097
|
+
function B(O) {
|
|
5098
|
+
return x(O) === h;
|
|
5084
5099
|
}
|
|
5085
|
-
function H(
|
|
5086
|
-
return
|
|
5100
|
+
function H(O) {
|
|
5101
|
+
return x(O) === r;
|
|
5087
5102
|
}
|
|
5088
|
-
function J(
|
|
5089
|
-
return
|
|
5103
|
+
function J(O) {
|
|
5104
|
+
return x(O) === a;
|
|
5090
5105
|
}
|
|
5091
|
-
function V(
|
|
5092
|
-
return
|
|
5106
|
+
function V(O) {
|
|
5107
|
+
return x(O) === o;
|
|
5093
5108
|
}
|
|
5094
|
-
function fe(
|
|
5095
|
-
return
|
|
5109
|
+
function fe(O) {
|
|
5110
|
+
return x(O) === m;
|
|
5096
5111
|
}
|
|
5097
|
-
ee.AsyncMode = g, ee.ConcurrentMode = $, ee.ContextConsumer = te, ee.ContextProvider = ie, ee.Element = ae, ee.ForwardRef = se, ee.Fragment = ue, ee.Lazy = U, ee.Memo =
|
|
5112
|
+
ee.AsyncMode = g, ee.ConcurrentMode = $, ee.ContextConsumer = te, ee.ContextProvider = ie, ee.Element = ae, ee.ForwardRef = se, ee.Fragment = ue, ee.Lazy = U, ee.Memo = Z, ee.Portal = k, ee.Profiler = A, ee.StrictMode = W, ee.Suspense = d, ee.isAsyncMode = re, ee.isConcurrentMode = v, ee.isContextConsumer = _, ee.isContextProvider = N, ee.isElement = L, ee.isForwardRef = F, ee.isFragment = q, ee.isLazy = j, ee.isMemo = B, ee.isPortal = H, ee.isProfiler = J, ee.isStrictMode = V, ee.isSuspense = fe, ee.isValidElementType = S, ee.typeOf = x;
|
|
5098
5113
|
}()), ee;
|
|
5099
5114
|
}
|
|
5100
5115
|
var Gr;
|
|
5101
5116
|
function Ln() {
|
|
5102
|
-
return Gr || (Gr = 1, process.env.NODE_ENV === "production" ? wt.exports =
|
|
5117
|
+
return Gr || (Gr = 1, process.env.NODE_ENV === "production" ? wt.exports = zi() : wt.exports = Ui()), wt.exports;
|
|
5103
5118
|
}
|
|
5104
5119
|
/*
|
|
5105
5120
|
object-assign
|
|
@@ -5107,7 +5122,7 @@ object-assign
|
|
|
5107
5122
|
@license MIT
|
|
5108
5123
|
*/
|
|
5109
5124
|
var qt, Kr;
|
|
5110
|
-
function
|
|
5125
|
+
function Wi() {
|
|
5111
5126
|
if (Kr) return qt;
|
|
5112
5127
|
Kr = 1;
|
|
5113
5128
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
@@ -5159,14 +5174,14 @@ function wr() {
|
|
|
5159
5174
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
5160
5175
|
return Yt = e, Yt;
|
|
5161
5176
|
}
|
|
5162
|
-
var Gt,
|
|
5177
|
+
var Gt, Zr;
|
|
5163
5178
|
function Fn() {
|
|
5164
|
-
return
|
|
5179
|
+
return Zr || (Zr = 1, Gt = Function.call.bind(Object.prototype.hasOwnProperty)), Gt;
|
|
5165
5180
|
}
|
|
5166
|
-
var Kt,
|
|
5167
|
-
function
|
|
5168
|
-
if (
|
|
5169
|
-
|
|
5181
|
+
var Kt, Xr;
|
|
5182
|
+
function $i() {
|
|
5183
|
+
if (Xr) return Kt;
|
|
5184
|
+
Xr = 1;
|
|
5170
5185
|
var e = function() {
|
|
5171
5186
|
};
|
|
5172
5187
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -5212,11 +5227,11 @@ function Di() {
|
|
|
5212
5227
|
process.env.NODE_ENV !== "production" && (r = {});
|
|
5213
5228
|
}, Kt = o, Kt;
|
|
5214
5229
|
}
|
|
5215
|
-
var Jt,
|
|
5216
|
-
function
|
|
5217
|
-
if (
|
|
5218
|
-
|
|
5219
|
-
var e = Ln(), t =
|
|
5230
|
+
var Jt, Qr;
|
|
5231
|
+
function Hi() {
|
|
5232
|
+
if (Qr) return Jt;
|
|
5233
|
+
Qr = 1;
|
|
5234
|
+
var e = Ln(), t = Wi(), r = wr(), n = Fn(), o = $i(), a = function() {
|
|
5220
5235
|
};
|
|
5221
5236
|
process.env.NODE_ENV !== "production" && (a = function(i) {
|
|
5222
5237
|
var l = "Warning: " + i;
|
|
@@ -5247,7 +5262,7 @@ function ji() {
|
|
|
5247
5262
|
symbol: y("symbol"),
|
|
5248
5263
|
any: w(),
|
|
5249
5264
|
arrayOf: S,
|
|
5250
|
-
element:
|
|
5265
|
+
element: x(),
|
|
5251
5266
|
elementType: g(),
|
|
5252
5267
|
instanceOf: $,
|
|
5253
5268
|
node: se(),
|
|
@@ -5255,7 +5270,7 @@ function ji() {
|
|
|
5255
5270
|
oneOf: te,
|
|
5256
5271
|
oneOfType: ae,
|
|
5257
5272
|
shape: U,
|
|
5258
|
-
exact:
|
|
5273
|
+
exact: Z
|
|
5259
5274
|
};
|
|
5260
5275
|
function T(v, _) {
|
|
5261
5276
|
return v === _ ? v !== 0 || 1 / v === 1 / _ : v !== v && _ !== _;
|
|
@@ -5264,16 +5279,16 @@ function ji() {
|
|
|
5264
5279
|
this.message = v, this.data = _ && typeof _ == "object" ? _ : {}, this.stack = "";
|
|
5265
5280
|
}
|
|
5266
5281
|
b.prototype = Error.prototype;
|
|
5267
|
-
function
|
|
5282
|
+
function E(v) {
|
|
5268
5283
|
if (process.env.NODE_ENV !== "production")
|
|
5269
5284
|
var _ = {}, N = 0;
|
|
5270
5285
|
function L(q, j, B, H, J, V, fe) {
|
|
5271
5286
|
if (H = H || p, V = V || B, fe !== r) {
|
|
5272
5287
|
if (l) {
|
|
5273
|
-
var
|
|
5288
|
+
var O = new Error(
|
|
5274
5289
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
5275
5290
|
);
|
|
5276
|
-
throw
|
|
5291
|
+
throw O.name = "Invariant Violation", O;
|
|
5277
5292
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
5278
5293
|
var ye = H + ":" + B;
|
|
5279
5294
|
!_[ye] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -5299,10 +5314,10 @@ function ji() {
|
|
|
5299
5314
|
}
|
|
5300
5315
|
return null;
|
|
5301
5316
|
}
|
|
5302
|
-
return
|
|
5317
|
+
return E(_);
|
|
5303
5318
|
}
|
|
5304
5319
|
function w() {
|
|
5305
|
-
return
|
|
5320
|
+
return E(s);
|
|
5306
5321
|
}
|
|
5307
5322
|
function S(v) {
|
|
5308
5323
|
function _(N, L, F, q, j) {
|
|
@@ -5320,9 +5335,9 @@ function ji() {
|
|
|
5320
5335
|
}
|
|
5321
5336
|
return null;
|
|
5322
5337
|
}
|
|
5323
|
-
return
|
|
5338
|
+
return E(_);
|
|
5324
5339
|
}
|
|
5325
|
-
function
|
|
5340
|
+
function x() {
|
|
5326
5341
|
function v(_, N, L, F, q) {
|
|
5327
5342
|
var j = _[N];
|
|
5328
5343
|
if (!i(j)) {
|
|
@@ -5331,7 +5346,7 @@ function ji() {
|
|
|
5331
5346
|
}
|
|
5332
5347
|
return null;
|
|
5333
5348
|
}
|
|
5334
|
-
return
|
|
5349
|
+
return E(v);
|
|
5335
5350
|
}
|
|
5336
5351
|
function g() {
|
|
5337
5352
|
function v(_, N, L, F, q) {
|
|
@@ -5342,7 +5357,7 @@ function ji() {
|
|
|
5342
5357
|
}
|
|
5343
5358
|
return null;
|
|
5344
5359
|
}
|
|
5345
|
-
return
|
|
5360
|
+
return E(v);
|
|
5346
5361
|
}
|
|
5347
5362
|
function $(v) {
|
|
5348
5363
|
function _(N, L, F, q, j) {
|
|
@@ -5352,7 +5367,7 @@ function ji() {
|
|
|
5352
5367
|
}
|
|
5353
5368
|
return null;
|
|
5354
5369
|
}
|
|
5355
|
-
return
|
|
5370
|
+
return E(_);
|
|
5356
5371
|
}
|
|
5357
5372
|
function te(v) {
|
|
5358
5373
|
if (!Array.isArray(v))
|
|
@@ -5363,13 +5378,13 @@ function ji() {
|
|
|
5363
5378
|
for (var B = N[L], H = 0; H < v.length; H++)
|
|
5364
5379
|
if (T(B, v[H]))
|
|
5365
5380
|
return null;
|
|
5366
|
-
var J = JSON.stringify(v, function(fe,
|
|
5367
|
-
var ye = d(
|
|
5368
|
-
return ye === "symbol" ? String(
|
|
5381
|
+
var J = JSON.stringify(v, function(fe, O) {
|
|
5382
|
+
var ye = d(O);
|
|
5383
|
+
return ye === "symbol" ? String(O) : O;
|
|
5369
5384
|
});
|
|
5370
5385
|
return new b("Invalid " + q + " `" + j + "` of value `" + String(B) + "` " + ("supplied to `" + F + "`, expected one of " + J + "."));
|
|
5371
5386
|
}
|
|
5372
|
-
return
|
|
5387
|
+
return E(_);
|
|
5373
5388
|
}
|
|
5374
5389
|
function ie(v) {
|
|
5375
5390
|
function _(N, L, F, q, j) {
|
|
@@ -5386,7 +5401,7 @@ function ji() {
|
|
|
5386
5401
|
}
|
|
5387
5402
|
return null;
|
|
5388
5403
|
}
|
|
5389
|
-
return
|
|
5404
|
+
return E(_);
|
|
5390
5405
|
}
|
|
5391
5406
|
function ae(v) {
|
|
5392
5407
|
if (!Array.isArray(v))
|
|
@@ -5395,26 +5410,26 @@ function ji() {
|
|
|
5395
5410
|
var N = v[_];
|
|
5396
5411
|
if (typeof N != "function")
|
|
5397
5412
|
return a(
|
|
5398
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
5413
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + P(N) + " at index " + _ + "."
|
|
5399
5414
|
), s;
|
|
5400
5415
|
}
|
|
5401
5416
|
function L(F, q, j, B, H) {
|
|
5402
5417
|
for (var J = [], V = 0; V < v.length; V++) {
|
|
5403
|
-
var fe = v[V],
|
|
5404
|
-
if (
|
|
5418
|
+
var fe = v[V], O = fe(F, q, j, B, H, r);
|
|
5419
|
+
if (O == null)
|
|
5405
5420
|
return null;
|
|
5406
|
-
|
|
5421
|
+
O.data && n(O.data, "expectedType") && J.push(O.data.expectedType);
|
|
5407
5422
|
}
|
|
5408
5423
|
var ye = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
|
|
5409
5424
|
return new b("Invalid " + B + " `" + H + "` supplied to " + ("`" + j + "`" + ye + "."));
|
|
5410
5425
|
}
|
|
5411
|
-
return
|
|
5426
|
+
return E(L);
|
|
5412
5427
|
}
|
|
5413
5428
|
function se() {
|
|
5414
5429
|
function v(_, N, L, F, q) {
|
|
5415
5430
|
return k(_[N]) ? null : new b("Invalid " + F + " `" + q + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
|
|
5416
5431
|
}
|
|
5417
|
-
return
|
|
5432
|
+
return E(v);
|
|
5418
5433
|
}
|
|
5419
5434
|
function ue(v, _, N, L, F) {
|
|
5420
5435
|
return new b(
|
|
@@ -5436,9 +5451,9 @@ function ji() {
|
|
|
5436
5451
|
}
|
|
5437
5452
|
return null;
|
|
5438
5453
|
}
|
|
5439
|
-
return
|
|
5454
|
+
return E(_);
|
|
5440
5455
|
}
|
|
5441
|
-
function
|
|
5456
|
+
function Z(v) {
|
|
5442
5457
|
function _(N, L, F, q, j) {
|
|
5443
5458
|
var B = N[L], H = W(B);
|
|
5444
5459
|
if (H !== "object")
|
|
@@ -5453,13 +5468,13 @@ function ji() {
|
|
|
5453
5468
|
"Invalid " + q + " `" + j + "` key `" + V + "` supplied to `" + F + "`.\nBad object: " + JSON.stringify(N[L], null, " ") + `
|
|
5454
5469
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
5455
5470
|
);
|
|
5456
|
-
var
|
|
5457
|
-
if (
|
|
5458
|
-
return
|
|
5471
|
+
var O = fe(B, V, F, q, j + "." + V, r);
|
|
5472
|
+
if (O)
|
|
5473
|
+
return O;
|
|
5459
5474
|
}
|
|
5460
5475
|
return null;
|
|
5461
5476
|
}
|
|
5462
|
-
return
|
|
5477
|
+
return E(_);
|
|
5463
5478
|
}
|
|
5464
5479
|
function k(v) {
|
|
5465
5480
|
switch (typeof v) {
|
|
@@ -5494,12 +5509,12 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
5494
5509
|
return !1;
|
|
5495
5510
|
}
|
|
5496
5511
|
}
|
|
5497
|
-
function
|
|
5512
|
+
function A(v, _) {
|
|
5498
5513
|
return v === "symbol" ? !0 : _ ? _["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && _ instanceof Symbol : !1;
|
|
5499
5514
|
}
|
|
5500
5515
|
function W(v) {
|
|
5501
5516
|
var _ = typeof v;
|
|
5502
|
-
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" :
|
|
5517
|
+
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : A(_, v) ? "symbol" : _;
|
|
5503
5518
|
}
|
|
5504
5519
|
function d(v) {
|
|
5505
5520
|
if (typeof v > "u" || v === null)
|
|
@@ -5513,7 +5528,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
5513
5528
|
}
|
|
5514
5529
|
return _;
|
|
5515
5530
|
}
|
|
5516
|
-
function
|
|
5531
|
+
function P(v) {
|
|
5517
5532
|
var _ = d(v);
|
|
5518
5533
|
switch (_) {
|
|
5519
5534
|
case "array":
|
|
@@ -5533,16 +5548,16 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
5533
5548
|
return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
5534
5549
|
}, Jt;
|
|
5535
5550
|
}
|
|
5536
|
-
var
|
|
5537
|
-
function
|
|
5538
|
-
if (en) return
|
|
5551
|
+
var Zt, en;
|
|
5552
|
+
function Vi() {
|
|
5553
|
+
if (en) return Zt;
|
|
5539
5554
|
en = 1;
|
|
5540
5555
|
var e = wr();
|
|
5541
5556
|
function t() {
|
|
5542
5557
|
}
|
|
5543
5558
|
function r() {
|
|
5544
5559
|
}
|
|
5545
|
-
return r.resetWarningCache = t,
|
|
5560
|
+
return r.resetWarningCache = t, Zt = function() {
|
|
5546
5561
|
function n(s, i, l, u, f, m) {
|
|
5547
5562
|
if (m !== e) {
|
|
5548
5563
|
var p = new Error(
|
|
@@ -5579,14 +5594,14 @@ function Bi() {
|
|
|
5579
5594
|
resetWarningCache: t
|
|
5580
5595
|
};
|
|
5581
5596
|
return a.PropTypes = a, a;
|
|
5582
|
-
},
|
|
5597
|
+
}, Zt;
|
|
5583
5598
|
}
|
|
5584
5599
|
if (process.env.NODE_ENV !== "production") {
|
|
5585
|
-
var
|
|
5586
|
-
lr.exports =
|
|
5600
|
+
var qi = Ln(), Yi = !0;
|
|
5601
|
+
lr.exports = Hi()(qi.isElement, Yi);
|
|
5587
5602
|
} else
|
|
5588
|
-
lr.exports =
|
|
5589
|
-
var In = lr.exports, cr = { exports: {} },
|
|
5603
|
+
lr.exports = Vi()();
|
|
5604
|
+
var In = lr.exports, cr = { exports: {} }, Ee = {}, ur = { exports: {} };
|
|
5590
5605
|
(function(e, t) {
|
|
5591
5606
|
Object.defineProperty(t, "__esModule", {
|
|
5592
5607
|
value: !0
|
|
@@ -5643,27 +5658,27 @@ var In = lr.exports, cr = { exports: {} }, Ce = {}, ur = { exports: {} };
|
|
|
5643
5658
|
e.exports = t.default;
|
|
5644
5659
|
})(ur, ur.exports);
|
|
5645
5660
|
var Dn = ur.exports;
|
|
5646
|
-
Object.defineProperty(
|
|
5661
|
+
Object.defineProperty(Ee, "__esModule", {
|
|
5647
5662
|
value: !0
|
|
5648
5663
|
});
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
var
|
|
5659
|
-
function
|
|
5664
|
+
Ee.resetState = Zi;
|
|
5665
|
+
Ee.log = Xi;
|
|
5666
|
+
Ee.handleBlur = ct;
|
|
5667
|
+
Ee.handleFocus = ut;
|
|
5668
|
+
Ee.markForFocusLater = Qi;
|
|
5669
|
+
Ee.returnFocus = es;
|
|
5670
|
+
Ee.popWithoutFocus = ts;
|
|
5671
|
+
Ee.setupScopedFocus = rs;
|
|
5672
|
+
Ee.teardownScopedFocus = ns;
|
|
5673
|
+
var Gi = Dn, Ki = Ji(Gi);
|
|
5674
|
+
function Ji(e) {
|
|
5660
5675
|
return e && e.__esModule ? e : { default: e };
|
|
5661
5676
|
}
|
|
5662
5677
|
var Ue = [], Ve = null, fr = !1;
|
|
5663
|
-
function
|
|
5678
|
+
function Zi() {
|
|
5664
5679
|
Ue = [];
|
|
5665
5680
|
}
|
|
5666
|
-
function
|
|
5681
|
+
function Xi() {
|
|
5667
5682
|
process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), Ue.forEach(function(e) {
|
|
5668
5683
|
var t = e || {};
|
|
5669
5684
|
console.log(t.nodeName, t.className, t.id);
|
|
@@ -5678,16 +5693,16 @@ function ut() {
|
|
|
5678
5693
|
return;
|
|
5679
5694
|
setTimeout(function() {
|
|
5680
5695
|
if (!Ve.contains(document.activeElement)) {
|
|
5681
|
-
var e = (0,
|
|
5696
|
+
var e = (0, Ki.default)(Ve)[0] || Ve;
|
|
5682
5697
|
e.focus();
|
|
5683
5698
|
}
|
|
5684
5699
|
}, 0);
|
|
5685
5700
|
}
|
|
5686
5701
|
}
|
|
5687
|
-
function
|
|
5702
|
+
function Qi() {
|
|
5688
5703
|
Ue.push(document.activeElement);
|
|
5689
5704
|
}
|
|
5690
|
-
function
|
|
5705
|
+
function es() {
|
|
5691
5706
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, t = null;
|
|
5692
5707
|
try {
|
|
5693
5708
|
Ue.length !== 0 && (t = Ue.pop(), t.focus({ preventScroll: e }));
|
|
@@ -5696,13 +5711,13 @@ function Gi() {
|
|
|
5696
5711
|
console.warn(["You tried to return focus to", t, "but it is not in the DOM anymore"].join(" "));
|
|
5697
5712
|
}
|
|
5698
5713
|
}
|
|
5699
|
-
function
|
|
5714
|
+
function ts() {
|
|
5700
5715
|
Ue.length > 0 && Ue.pop();
|
|
5701
5716
|
}
|
|
5702
|
-
function
|
|
5717
|
+
function rs(e) {
|
|
5703
5718
|
Ve = e, window.addEventListener ? (window.addEventListener("blur", ct, !1), document.addEventListener("focus", ut, !0)) : (window.attachEvent("onBlur", ct), document.attachEvent("onFocus", ut));
|
|
5704
5719
|
}
|
|
5705
|
-
function
|
|
5720
|
+
function ns() {
|
|
5706
5721
|
Ve = null, window.addEventListener ? (window.removeEventListener("blur", ct), document.removeEventListener("focus", ut)) : (window.detachEvent("onBlur", ct), document.detachEvent("onFocus", ut));
|
|
5707
5722
|
}
|
|
5708
5723
|
var dr = { exports: {} };
|
|
@@ -5733,8 +5748,8 @@ var dr = { exports: {} };
|
|
|
5733
5748
|
l.preventDefault(), f.focus();
|
|
5734
5749
|
return;
|
|
5735
5750
|
}
|
|
5736
|
-
var b = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),
|
|
5737
|
-
if (
|
|
5751
|
+
var b = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), E = b != null && b[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
5752
|
+
if (E) {
|
|
5738
5753
|
var y = u.indexOf(T);
|
|
5739
5754
|
if (y > -1 && (y += m ? -1 : 1), f = u[y], typeof f > "u") {
|
|
5740
5755
|
l.preventDefault(), f = m ? h : p, f.focus();
|
|
@@ -5745,10 +5760,10 @@ var dr = { exports: {} };
|
|
|
5745
5760
|
}
|
|
5746
5761
|
e.exports = t.default;
|
|
5747
5762
|
})(dr, dr.exports);
|
|
5748
|
-
var
|
|
5763
|
+
var os = dr.exports, _e = {}, as = process.env.NODE_ENV !== "production", jn = function() {
|
|
5749
5764
|
};
|
|
5750
|
-
if (
|
|
5751
|
-
var
|
|
5765
|
+
if (as) {
|
|
5766
|
+
var is = function(t, r) {
|
|
5752
5767
|
var n = arguments.length;
|
|
5753
5768
|
r = new Array(n > 1 ? n - 1 : 0);
|
|
5754
5769
|
for (var o = 1; o < n; o++)
|
|
@@ -5771,10 +5786,10 @@ if (Zi) {
|
|
|
5771
5786
|
throw new Error(
|
|
5772
5787
|
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
5773
5788
|
);
|
|
5774
|
-
e ||
|
|
5789
|
+
e || is.apply(null, [t].concat(r));
|
|
5775
5790
|
};
|
|
5776
5791
|
}
|
|
5777
|
-
var
|
|
5792
|
+
var ss = jn, xe = {}, Bn = { exports: {} };
|
|
5778
5793
|
/*!
|
|
5779
5794
|
Copyright (c) 2015 Jed Watson.
|
|
5780
5795
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
@@ -5791,46 +5806,46 @@ var ts = jn, Ee = {}, Bn = { exports: {} };
|
|
|
5791
5806
|
e.exports ? e.exports = r : window.ExecutionEnvironment = r;
|
|
5792
5807
|
})();
|
|
5793
5808
|
})(Bn);
|
|
5794
|
-
var
|
|
5795
|
-
Object.defineProperty(
|
|
5809
|
+
var ls = Bn.exports;
|
|
5810
|
+
Object.defineProperty(xe, "__esModule", {
|
|
5796
5811
|
value: !0
|
|
5797
5812
|
});
|
|
5798
|
-
|
|
5799
|
-
var
|
|
5800
|
-
function
|
|
5813
|
+
xe.canUseDOM = xe.SafeNodeList = xe.SafeHTMLCollection = void 0;
|
|
5814
|
+
var cs = ls, us = fs(cs);
|
|
5815
|
+
function fs(e) {
|
|
5801
5816
|
return e && e.__esModule ? e : { default: e };
|
|
5802
5817
|
}
|
|
5803
|
-
var Nt =
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5818
|
+
var Nt = us.default, ds = Nt.canUseDOM ? window.HTMLElement : {};
|
|
5819
|
+
xe.SafeHTMLCollection = Nt.canUseDOM ? window.HTMLCollection : {};
|
|
5820
|
+
xe.SafeNodeList = Nt.canUseDOM ? window.NodeList : {};
|
|
5821
|
+
xe.canUseDOM = Nt.canUseDOM;
|
|
5822
|
+
xe.default = ds;
|
|
5808
5823
|
Object.defineProperty(_e, "__esModule", {
|
|
5809
5824
|
value: !0
|
|
5810
5825
|
});
|
|
5811
|
-
_e.resetState =
|
|
5812
|
-
_e.log =
|
|
5826
|
+
_e.resetState = vs;
|
|
5827
|
+
_e.log = bs;
|
|
5813
5828
|
_e.assertNodeList = zn;
|
|
5814
|
-
_e.setElement =
|
|
5815
|
-
_e.validateElement =
|
|
5816
|
-
_e.hide =
|
|
5817
|
-
_e.show =
|
|
5818
|
-
_e.documentNotReadyOrSSRTesting =
|
|
5819
|
-
var
|
|
5820
|
-
function
|
|
5829
|
+
_e.setElement = ys;
|
|
5830
|
+
_e.validateElement = Cr;
|
|
5831
|
+
_e.hide = ws;
|
|
5832
|
+
_e.show = Cs;
|
|
5833
|
+
_e.documentNotReadyOrSSRTesting = xs;
|
|
5834
|
+
var ps = ss, ms = hs(ps), gs = xe;
|
|
5835
|
+
function hs(e) {
|
|
5821
5836
|
return e && e.__esModule ? e : { default: e };
|
|
5822
5837
|
}
|
|
5823
|
-
var
|
|
5824
|
-
function
|
|
5825
|
-
|
|
5838
|
+
var ve = null;
|
|
5839
|
+
function vs() {
|
|
5840
|
+
ve && (ve.removeAttribute ? ve.removeAttribute("aria-hidden") : ve.length != null ? ve.forEach(function(e) {
|
|
5826
5841
|
return e.removeAttribute("aria-hidden");
|
|
5827
|
-
}) : document.querySelectorAll(
|
|
5842
|
+
}) : document.querySelectorAll(ve).forEach(function(e) {
|
|
5828
5843
|
return e.removeAttribute("aria-hidden");
|
|
5829
|
-
})),
|
|
5844
|
+
})), ve = null;
|
|
5830
5845
|
}
|
|
5831
|
-
function
|
|
5846
|
+
function bs() {
|
|
5832
5847
|
if (process.env.NODE_ENV !== "production") {
|
|
5833
|
-
var e =
|
|
5848
|
+
var e = ve || {};
|
|
5834
5849
|
console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------");
|
|
5835
5850
|
}
|
|
5836
5851
|
}
|
|
@@ -5838,22 +5853,22 @@ function zn(e, t) {
|
|
|
5838
5853
|
if (!e || !e.length)
|
|
5839
5854
|
throw new Error("react-modal: No elements were found for selector " + t + ".");
|
|
5840
5855
|
}
|
|
5841
|
-
function
|
|
5856
|
+
function ys(e) {
|
|
5842
5857
|
var t = e;
|
|
5843
|
-
if (typeof t == "string" &&
|
|
5858
|
+
if (typeof t == "string" && gs.canUseDOM) {
|
|
5844
5859
|
var r = document.querySelectorAll(t);
|
|
5845
5860
|
zn(r, t), t = r;
|
|
5846
5861
|
}
|
|
5847
|
-
return
|
|
5862
|
+
return ve = t || ve, ve;
|
|
5848
5863
|
}
|
|
5849
|
-
function
|
|
5850
|
-
var t = e ||
|
|
5851
|
-
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0,
|
|
5864
|
+
function Cr(e) {
|
|
5865
|
+
var t = e || ve;
|
|
5866
|
+
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, ms.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
5852
5867
|
}
|
|
5853
|
-
function
|
|
5868
|
+
function ws(e) {
|
|
5854
5869
|
var t = !0, r = !1, n = void 0;
|
|
5855
5870
|
try {
|
|
5856
|
-
for (var o =
|
|
5871
|
+
for (var o = Cr(e)[Symbol.iterator](), a; !(t = (a = o.next()).done); t = !0) {
|
|
5857
5872
|
var s = a.value;
|
|
5858
5873
|
s.setAttribute("aria-hidden", "true");
|
|
5859
5874
|
}
|
|
@@ -5868,10 +5883,10 @@ function ms(e) {
|
|
|
5868
5883
|
}
|
|
5869
5884
|
}
|
|
5870
5885
|
}
|
|
5871
|
-
function
|
|
5886
|
+
function Cs(e) {
|
|
5872
5887
|
var t = !0, r = !1, n = void 0;
|
|
5873
5888
|
try {
|
|
5874
|
-
for (var o =
|
|
5889
|
+
for (var o = Cr(e)[Symbol.iterator](), a; !(t = (a = o.next()).done); t = !0) {
|
|
5875
5890
|
var s = a.value;
|
|
5876
5891
|
s.removeAttribute("aria-hidden");
|
|
5877
5892
|
}
|
|
@@ -5886,20 +5901,20 @@ function gs(e) {
|
|
|
5886
5901
|
}
|
|
5887
5902
|
}
|
|
5888
5903
|
}
|
|
5889
|
-
function
|
|
5890
|
-
|
|
5904
|
+
function xs() {
|
|
5905
|
+
ve = null;
|
|
5891
5906
|
}
|
|
5892
|
-
var
|
|
5893
|
-
Object.defineProperty(
|
|
5907
|
+
var Xe = {};
|
|
5908
|
+
Object.defineProperty(Xe, "__esModule", {
|
|
5894
5909
|
value: !0
|
|
5895
5910
|
});
|
|
5896
|
-
|
|
5897
|
-
|
|
5911
|
+
Xe.resetState = Es;
|
|
5912
|
+
Xe.log = _s;
|
|
5898
5913
|
var De = {}, je = {};
|
|
5899
5914
|
function tn(e, t) {
|
|
5900
5915
|
e.classList.remove(t);
|
|
5901
5916
|
}
|
|
5902
|
-
function
|
|
5917
|
+
function Es() {
|
|
5903
5918
|
var e = document.getElementsByTagName("html")[0];
|
|
5904
5919
|
for (var t in De)
|
|
5905
5920
|
tn(e, De[t]);
|
|
@@ -5908,7 +5923,7 @@ function vs() {
|
|
|
5908
5923
|
tn(r, je[n]);
|
|
5909
5924
|
De = {}, je = {};
|
|
5910
5925
|
}
|
|
5911
|
-
function
|
|
5926
|
+
function _s() {
|
|
5912
5927
|
if (process.env.NODE_ENV !== "production") {
|
|
5913
5928
|
var e = document.getElementsByTagName("html")[0].className, t = `Show tracked classes:
|
|
5914
5929
|
|
|
@@ -5929,38 +5944,38 @@ doc.body (` + e + `):
|
|
|
5929
5944
|
`, console.log(t);
|
|
5930
5945
|
}
|
|
5931
5946
|
}
|
|
5932
|
-
var
|
|
5947
|
+
var Ss = function(t, r) {
|
|
5933
5948
|
return t[r] || (t[r] = 0), t[r] += 1, r;
|
|
5934
|
-
},
|
|
5949
|
+
}, Ts = function(t, r) {
|
|
5935
5950
|
return t[r] && (t[r] -= 1), r;
|
|
5936
|
-
},
|
|
5951
|
+
}, Rs = function(t, r, n) {
|
|
5937
5952
|
n.forEach(function(o) {
|
|
5938
|
-
|
|
5953
|
+
Ss(r, o), t.add(o);
|
|
5939
5954
|
});
|
|
5940
|
-
},
|
|
5955
|
+
}, Os = function(t, r, n) {
|
|
5941
5956
|
n.forEach(function(o) {
|
|
5942
|
-
|
|
5957
|
+
Ts(r, o), r[o] === 0 && t.remove(o);
|
|
5943
5958
|
});
|
|
5944
5959
|
};
|
|
5945
|
-
|
|
5946
|
-
return
|
|
5960
|
+
Xe.add = function(t, r) {
|
|
5961
|
+
return Rs(t.classList, t.nodeName.toLowerCase() == "html" ? De : je, r.split(" "));
|
|
5947
5962
|
};
|
|
5948
|
-
|
|
5949
|
-
return
|
|
5963
|
+
Xe.remove = function(t, r) {
|
|
5964
|
+
return Os(t.classList, t.nodeName.toLowerCase() == "html" ? De : je, r.split(" "));
|
|
5950
5965
|
};
|
|
5951
|
-
var
|
|
5952
|
-
Object.defineProperty(
|
|
5966
|
+
var Qe = {};
|
|
5967
|
+
Object.defineProperty(Qe, "__esModule", {
|
|
5953
5968
|
value: !0
|
|
5954
5969
|
});
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
function
|
|
5970
|
+
Qe.log = ks;
|
|
5971
|
+
Qe.resetState = Ps;
|
|
5972
|
+
function Ms(e, t) {
|
|
5958
5973
|
if (!(e instanceof t))
|
|
5959
5974
|
throw new TypeError("Cannot call a class as a function");
|
|
5960
5975
|
}
|
|
5961
5976
|
var Un = function e() {
|
|
5962
5977
|
var t = this;
|
|
5963
|
-
|
|
5978
|
+
Ms(this, e), this.register = function(r) {
|
|
5964
5979
|
if (t.openInstances.indexOf(r) !== -1) {
|
|
5965
5980
|
process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open");
|
|
5966
5981
|
return;
|
|
@@ -5985,36 +6000,36 @@ var Un = function e() {
|
|
|
5985
6000
|
});
|
|
5986
6001
|
}, this.openInstances = [], this.subscribers = [];
|
|
5987
6002
|
}, _t = new Un();
|
|
5988
|
-
function
|
|
6003
|
+
function ks() {
|
|
5989
6004
|
console.log("portalOpenInstances ----------"), console.log(_t.openInstances.length), _t.openInstances.forEach(function(e) {
|
|
5990
6005
|
return console.log(e);
|
|
5991
6006
|
}), console.log("end portalOpenInstances ----------");
|
|
5992
6007
|
}
|
|
5993
|
-
function
|
|
6008
|
+
function Ps() {
|
|
5994
6009
|
_t = new Un();
|
|
5995
6010
|
}
|
|
5996
|
-
|
|
5997
|
-
var
|
|
5998
|
-
Object.defineProperty(
|
|
6011
|
+
Qe.default = _t;
|
|
6012
|
+
var xr = {};
|
|
6013
|
+
Object.defineProperty(xr, "__esModule", {
|
|
5999
6014
|
value: !0
|
|
6000
6015
|
});
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
var
|
|
6004
|
-
function
|
|
6016
|
+
xr.resetState = Fs;
|
|
6017
|
+
xr.log = Is;
|
|
6018
|
+
var As = Qe, Ns = Ls(As);
|
|
6019
|
+
function Ls(e) {
|
|
6005
6020
|
return e && e.__esModule ? e : { default: e };
|
|
6006
6021
|
}
|
|
6007
|
-
var de = void 0,
|
|
6008
|
-
function
|
|
6009
|
-
for (var e = [de,
|
|
6022
|
+
var de = void 0, Ce = void 0, Be = [];
|
|
6023
|
+
function Fs() {
|
|
6024
|
+
for (var e = [de, Ce], t = 0; t < e.length; t++) {
|
|
6010
6025
|
var r = e[t];
|
|
6011
6026
|
r && r.parentNode && r.parentNode.removeChild(r);
|
|
6012
6027
|
}
|
|
6013
|
-
de =
|
|
6028
|
+
de = Ce = null, Be = [];
|
|
6014
6029
|
}
|
|
6015
|
-
function
|
|
6030
|
+
function Is() {
|
|
6016
6031
|
console.log("bodyTrap ----------"), console.log(Be.length);
|
|
6017
|
-
for (var e = [de,
|
|
6032
|
+
for (var e = [de, Ce], t = 0; t < e.length; t++) {
|
|
6018
6033
|
var r = e[t], n = r || {};
|
|
6019
6034
|
console.log(n.nodeName, n.className, n.id);
|
|
6020
6035
|
}
|
|
@@ -6027,17 +6042,17 @@ function rn() {
|
|
|
6027
6042
|
}
|
|
6028
6043
|
Be[Be.length - 1].focusContent();
|
|
6029
6044
|
}
|
|
6030
|
-
function
|
|
6031
|
-
!de && !
|
|
6045
|
+
function Ds(e, t) {
|
|
6046
|
+
!de && !Ce && (de = document.createElement("div"), de.setAttribute("data-react-modal-body-trap", ""), de.style.position = "absolute", de.style.opacity = "0", de.setAttribute("tabindex", "0"), de.addEventListener("focus", rn), Ce = de.cloneNode(), Ce.addEventListener("focus", rn)), Be = t, Be.length > 0 ? (document.body.firstChild !== de && document.body.insertBefore(de, document.body.firstChild), document.body.lastChild !== Ce && document.body.appendChild(Ce)) : (de.parentElement && de.parentElement.removeChild(de), Ce.parentElement && Ce.parentElement.removeChild(Ce));
|
|
6032
6047
|
}
|
|
6033
|
-
|
|
6048
|
+
Ns.default.subscribe(Ds);
|
|
6034
6049
|
(function(e, t) {
|
|
6035
6050
|
Object.defineProperty(t, "__esModule", {
|
|
6036
6051
|
value: !0
|
|
6037
6052
|
});
|
|
6038
6053
|
var r = Object.assign || function(k) {
|
|
6039
|
-
for (var
|
|
6040
|
-
var W = arguments[
|
|
6054
|
+
for (var A = 1; A < arguments.length; A++) {
|
|
6055
|
+
var W = arguments[A];
|
|
6041
6056
|
for (var d in W)
|
|
6042
6057
|
Object.prototype.hasOwnProperty.call(W, d) && (k[d] = W[d]);
|
|
6043
6058
|
}
|
|
@@ -6047,60 +6062,60 @@ Rs.default.subscribe(As);
|
|
|
6047
6062
|
} : function(k) {
|
|
6048
6063
|
return k && typeof Symbol == "function" && k.constructor === Symbol && k !== Symbol.prototype ? "symbol" : typeof k;
|
|
6049
6064
|
}, o = /* @__PURE__ */ function() {
|
|
6050
|
-
function k(
|
|
6065
|
+
function k(A, W) {
|
|
6051
6066
|
for (var d = 0; d < W.length; d++) {
|
|
6052
|
-
var
|
|
6053
|
-
|
|
6067
|
+
var P = W[d];
|
|
6068
|
+
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(A, P.key, P);
|
|
6054
6069
|
}
|
|
6055
6070
|
}
|
|
6056
|
-
return function(
|
|
6057
|
-
return W && k(
|
|
6071
|
+
return function(A, W, d) {
|
|
6072
|
+
return W && k(A.prototype, W), d && k(A, d), A;
|
|
6058
6073
|
};
|
|
6059
|
-
}(), a = Rt, s = In, i = g(s), l =
|
|
6060
|
-
function
|
|
6074
|
+
}(), a = Rt, s = In, i = g(s), l = Ee, u = x(l), f = os, m = g(f), p = _e, h = x(p), T = Xe, b = x(T), E = xe, y = g(E), w = Qe, S = g(w);
|
|
6075
|
+
function x(k) {
|
|
6061
6076
|
if (k && k.__esModule)
|
|
6062
6077
|
return k;
|
|
6063
|
-
var
|
|
6078
|
+
var A = {};
|
|
6064
6079
|
if (k != null)
|
|
6065
6080
|
for (var W in k)
|
|
6066
|
-
Object.prototype.hasOwnProperty.call(k, W) && (
|
|
6067
|
-
return
|
|
6081
|
+
Object.prototype.hasOwnProperty.call(k, W) && (A[W] = k[W]);
|
|
6082
|
+
return A.default = k, A;
|
|
6068
6083
|
}
|
|
6069
6084
|
function g(k) {
|
|
6070
6085
|
return k && k.__esModule ? k : { default: k };
|
|
6071
6086
|
}
|
|
6072
|
-
function $(k,
|
|
6073
|
-
if (!(k instanceof
|
|
6087
|
+
function $(k, A) {
|
|
6088
|
+
if (!(k instanceof A))
|
|
6074
6089
|
throw new TypeError("Cannot call a class as a function");
|
|
6075
6090
|
}
|
|
6076
|
-
function te(k,
|
|
6091
|
+
function te(k, A) {
|
|
6077
6092
|
if (!k)
|
|
6078
6093
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6079
|
-
return
|
|
6094
|
+
return A && (typeof A == "object" || typeof A == "function") ? A : k;
|
|
6080
6095
|
}
|
|
6081
|
-
function ie(k,
|
|
6082
|
-
if (typeof
|
|
6083
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
6084
|
-
k.prototype = Object.create(
|
|
6096
|
+
function ie(k, A) {
|
|
6097
|
+
if (typeof A != "function" && A !== null)
|
|
6098
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof A);
|
|
6099
|
+
k.prototype = Object.create(A && A.prototype, { constructor: { value: k, enumerable: !1, writable: !0, configurable: !0 } }), A && (Object.setPrototypeOf ? Object.setPrototypeOf(k, A) : k.__proto__ = A);
|
|
6085
6100
|
}
|
|
6086
6101
|
var ae = {
|
|
6087
6102
|
overlay: "ReactModal__Overlay",
|
|
6088
6103
|
content: "ReactModal__Content"
|
|
6089
|
-
}, se = function(
|
|
6090
|
-
return
|
|
6091
|
-
}, ue = function(
|
|
6092
|
-
return
|
|
6093
|
-
}, U = 0,
|
|
6094
|
-
ie(
|
|
6095
|
-
function
|
|
6096
|
-
$(this,
|
|
6097
|
-
var d = te(this, (
|
|
6098
|
-
return d.setOverlayRef = function(
|
|
6099
|
-
d.overlay =
|
|
6100
|
-
}, d.setContentRef = function(
|
|
6101
|
-
d.content =
|
|
6104
|
+
}, se = function(A) {
|
|
6105
|
+
return A.code === "Tab" || A.keyCode === 9;
|
|
6106
|
+
}, ue = function(A) {
|
|
6107
|
+
return A.code === "Escape" || A.keyCode === 27;
|
|
6108
|
+
}, U = 0, Z = function(k) {
|
|
6109
|
+
ie(A, k);
|
|
6110
|
+
function A(W) {
|
|
6111
|
+
$(this, A);
|
|
6112
|
+
var d = te(this, (A.__proto__ || Object.getPrototypeOf(A)).call(this, W));
|
|
6113
|
+
return d.setOverlayRef = function(P) {
|
|
6114
|
+
d.overlay = P, d.props.overlayRef && d.props.overlayRef(P);
|
|
6115
|
+
}, d.setContentRef = function(P) {
|
|
6116
|
+
d.content = P, d.props.contentRef && d.props.contentRef(P);
|
|
6102
6117
|
}, d.afterClose = function() {
|
|
6103
|
-
var
|
|
6118
|
+
var P = d.props, re = P.appElement, v = P.ariaHideApp, _ = P.htmlOpenClassName, N = P.bodyOpenClassName, L = P.parentSelector, F = L && L().ownerDocument || document;
|
|
6104
6119
|
N && b.remove(F.body, N), _ && b.remove(F.getElementsByTagName("html")[0], _), v && U > 0 && (U -= 1, U === 0 && h.show(re)), d.props.shouldFocusAfterRender && (d.props.shouldReturnFocusAfterClose ? (u.returnFocus(d.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), d.props.onAfterClose && d.props.onAfterClose(), S.default.deregister(d);
|
|
6105
6120
|
}, d.open = function() {
|
|
6106
6121
|
d.beforeOpen(), d.state.afterOpen && d.state.beforeClose ? (clearTimeout(d.closeTimer), d.setState({ beforeClose: !1 })) : (d.props.shouldFocusAfterRender && (u.setupScopedFocus(d.node), u.markForFocusLater()), d.setState({ isOpen: !0 }, function() {
|
|
@@ -6116,8 +6131,8 @@ Rs.default.subscribe(As);
|
|
|
6116
6131
|
}, d.focusContent = function() {
|
|
6117
6132
|
return d.content && !d.contentHasFocus() && d.content.focus({ preventScroll: !0 });
|
|
6118
6133
|
}, d.closeWithTimeout = function() {
|
|
6119
|
-
var
|
|
6120
|
-
d.setState({ beforeClose: !0, closesAt:
|
|
6134
|
+
var P = Date.now() + d.props.closeTimeoutMS;
|
|
6135
|
+
d.setState({ beforeClose: !0, closesAt: P }, function() {
|
|
6121
6136
|
d.closeTimer = setTimeout(d.closeWithoutTimeout, d.state.closesAt - Date.now());
|
|
6122
6137
|
});
|
|
6123
6138
|
}, d.closeWithoutTimeout = function() {
|
|
@@ -6127,51 +6142,51 @@ Rs.default.subscribe(As);
|
|
|
6127
6142
|
afterOpen: !1,
|
|
6128
6143
|
closesAt: null
|
|
6129
6144
|
}, d.afterClose);
|
|
6130
|
-
}, d.handleKeyDown = function(
|
|
6131
|
-
se(
|
|
6132
|
-
}, d.handleOverlayOnClick = function(
|
|
6133
|
-
d.shouldClose === null && (d.shouldClose = !0), d.shouldClose && d.props.shouldCloseOnOverlayClick && (d.ownerHandlesClose() ? d.requestClose(
|
|
6145
|
+
}, d.handleKeyDown = function(P) {
|
|
6146
|
+
se(P) && (0, m.default)(d.content, P), d.props.shouldCloseOnEsc && ue(P) && (P.stopPropagation(), d.requestClose(P));
|
|
6147
|
+
}, d.handleOverlayOnClick = function(P) {
|
|
6148
|
+
d.shouldClose === null && (d.shouldClose = !0), d.shouldClose && d.props.shouldCloseOnOverlayClick && (d.ownerHandlesClose() ? d.requestClose(P) : d.focusContent()), d.shouldClose = null;
|
|
6134
6149
|
}, d.handleContentOnMouseUp = function() {
|
|
6135
6150
|
d.shouldClose = !1;
|
|
6136
|
-
}, d.handleOverlayOnMouseDown = function(
|
|
6137
|
-
!d.props.shouldCloseOnOverlayClick &&
|
|
6151
|
+
}, d.handleOverlayOnMouseDown = function(P) {
|
|
6152
|
+
!d.props.shouldCloseOnOverlayClick && P.target == d.overlay && P.preventDefault();
|
|
6138
6153
|
}, d.handleContentOnClick = function() {
|
|
6139
6154
|
d.shouldClose = !1;
|
|
6140
6155
|
}, d.handleContentOnMouseDown = function() {
|
|
6141
6156
|
d.shouldClose = !1;
|
|
6142
|
-
}, d.requestClose = function(
|
|
6143
|
-
return d.ownerHandlesClose() && d.props.onRequestClose(
|
|
6157
|
+
}, d.requestClose = function(P) {
|
|
6158
|
+
return d.ownerHandlesClose() && d.props.onRequestClose(P);
|
|
6144
6159
|
}, d.ownerHandlesClose = function() {
|
|
6145
6160
|
return d.props.onRequestClose;
|
|
6146
6161
|
}, d.shouldBeClosed = function() {
|
|
6147
6162
|
return !d.state.isOpen && !d.state.beforeClose;
|
|
6148
6163
|
}, d.contentHasFocus = function() {
|
|
6149
6164
|
return document.activeElement === d.content || d.content.contains(document.activeElement);
|
|
6150
|
-
}, d.buildClassName = function(
|
|
6165
|
+
}, d.buildClassName = function(P, re) {
|
|
6151
6166
|
var v = (typeof re > "u" ? "undefined" : n(re)) === "object" ? re : {
|
|
6152
|
-
base: ae[
|
|
6153
|
-
afterOpen: ae[
|
|
6154
|
-
beforeClose: ae[
|
|
6167
|
+
base: ae[P],
|
|
6168
|
+
afterOpen: ae[P] + "--after-open",
|
|
6169
|
+
beforeClose: ae[P] + "--before-close"
|
|
6155
6170
|
}, _ = v.base;
|
|
6156
6171
|
return d.state.afterOpen && (_ = _ + " " + v.afterOpen), d.state.beforeClose && (_ = _ + " " + v.beforeClose), typeof re == "string" && re ? _ + " " + re : _;
|
|
6157
|
-
}, d.attributesFromObject = function(
|
|
6172
|
+
}, d.attributesFromObject = function(P, re) {
|
|
6158
6173
|
return Object.keys(re).reduce(function(v, _) {
|
|
6159
|
-
return v[
|
|
6174
|
+
return v[P + "-" + _] = re[_], v;
|
|
6160
6175
|
}, {});
|
|
6161
6176
|
}, d.state = {
|
|
6162
6177
|
afterOpen: !1,
|
|
6163
6178
|
beforeClose: !1
|
|
6164
6179
|
}, d.shouldClose = null, d.moveFromContentToOverlay = null, d;
|
|
6165
6180
|
}
|
|
6166
|
-
return o(
|
|
6181
|
+
return o(A, [{
|
|
6167
6182
|
key: "componentDidMount",
|
|
6168
6183
|
value: function() {
|
|
6169
6184
|
this.props.isOpen && this.open();
|
|
6170
6185
|
}
|
|
6171
6186
|
}, {
|
|
6172
6187
|
key: "componentDidUpdate",
|
|
6173
|
-
value: function(d,
|
|
6174
|
-
process.env.NODE_ENV !== "production" && (d.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), d.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !d.isOpen ? this.open() : !this.props.isOpen && d.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !
|
|
6188
|
+
value: function(d, P) {
|
|
6189
|
+
process.env.NODE_ENV !== "production" && (d.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), d.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !d.isOpen ? this.open() : !this.props.isOpen && d.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !P.isOpen && this.focusContent();
|
|
6175
6190
|
}
|
|
6176
6191
|
}, {
|
|
6177
6192
|
key: "componentWillUnmount",
|
|
@@ -6181,14 +6196,14 @@ Rs.default.subscribe(As);
|
|
|
6181
6196
|
}, {
|
|
6182
6197
|
key: "beforeOpen",
|
|
6183
6198
|
value: function() {
|
|
6184
|
-
var d = this.props,
|
|
6185
|
-
_ && b.add(L.body, _), v && b.add(L.getElementsByTagName("html")[0], v), re && (U += 1, h.hide(
|
|
6199
|
+
var d = this.props, P = d.appElement, re = d.ariaHideApp, v = d.htmlOpenClassName, _ = d.bodyOpenClassName, N = d.parentSelector, L = N && N().ownerDocument || document;
|
|
6200
|
+
_ && b.add(L.body, _), v && b.add(L.getElementsByTagName("html")[0], v), re && (U += 1, h.hide(P)), S.default.register(this);
|
|
6186
6201
|
}
|
|
6187
6202
|
// Don't steal focus from inner elements
|
|
6188
6203
|
}, {
|
|
6189
6204
|
key: "render",
|
|
6190
6205
|
value: function() {
|
|
6191
|
-
var d = this.props,
|
|
6206
|
+
var d = this.props, P = d.id, re = d.className, v = d.overlayClassName, _ = d.defaultStyles, N = d.children, L = re ? {} : _.content, F = v ? {} : _.overlay;
|
|
6192
6207
|
if (this.shouldBeClosed())
|
|
6193
6208
|
return null;
|
|
6194
6209
|
var q = {
|
|
@@ -6198,7 +6213,7 @@ Rs.default.subscribe(As);
|
|
|
6198
6213
|
onClick: this.handleOverlayOnClick,
|
|
6199
6214
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
6200
6215
|
}, j = r({
|
|
6201
|
-
id:
|
|
6216
|
+
id: P,
|
|
6202
6217
|
ref: this.setContentRef,
|
|
6203
6218
|
style: r({}, L, this.props.style.content),
|
|
6204
6219
|
className: this.buildClassName("content", re),
|
|
@@ -6214,15 +6229,15 @@ Rs.default.subscribe(As);
|
|
|
6214
6229
|
}), B = this.props.contentElement(j, N);
|
|
6215
6230
|
return this.props.overlayElement(q, B);
|
|
6216
6231
|
}
|
|
6217
|
-
}]),
|
|
6232
|
+
}]), A;
|
|
6218
6233
|
}(a.Component);
|
|
6219
|
-
|
|
6234
|
+
Z.defaultProps = {
|
|
6220
6235
|
style: {
|
|
6221
6236
|
overlay: {},
|
|
6222
6237
|
content: {}
|
|
6223
6238
|
},
|
|
6224
6239
|
defaultStyles: {}
|
|
6225
|
-
},
|
|
6240
|
+
}, Z.propTypes = {
|
|
6226
6241
|
isOpen: i.default.bool.isRequired,
|
|
6227
6242
|
defaultStyles: i.default.shape({
|
|
6228
6243
|
content: i.default.object,
|
|
@@ -6238,7 +6253,7 @@ Rs.default.subscribe(As);
|
|
|
6238
6253
|
bodyOpenClassName: i.default.string,
|
|
6239
6254
|
htmlOpenClassName: i.default.string,
|
|
6240
6255
|
ariaHideApp: i.default.bool,
|
|
6241
|
-
appElement: i.default.oneOfType([i.default.instanceOf(y.default), i.default.instanceOf(
|
|
6256
|
+
appElement: i.default.oneOfType([i.default.instanceOf(y.default), i.default.instanceOf(E.SafeHTMLCollection), i.default.instanceOf(E.SafeNodeList), i.default.arrayOf(i.default.instanceOf(y.default))]),
|
|
6242
6257
|
onAfterOpen: i.default.func,
|
|
6243
6258
|
onAfterClose: i.default.func,
|
|
6244
6259
|
onRequestClose: i.default.func,
|
|
@@ -6259,9 +6274,9 @@ Rs.default.subscribe(As);
|
|
|
6259
6274
|
overlayElement: i.default.func,
|
|
6260
6275
|
contentElement: i.default.func,
|
|
6261
6276
|
testId: i.default.string
|
|
6262
|
-
}, t.default =
|
|
6277
|
+
}, t.default = Z, e.exports = t.default;
|
|
6263
6278
|
})(cr, cr.exports);
|
|
6264
|
-
var
|
|
6279
|
+
var js = cr.exports;
|
|
6265
6280
|
function Wn() {
|
|
6266
6281
|
var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
|
|
6267
6282
|
e != null && this.setState(e);
|
|
@@ -6287,7 +6302,7 @@ function Hn(e, t) {
|
|
|
6287
6302
|
Wn.__suppressDeprecationWarning = !0;
|
|
6288
6303
|
$n.__suppressDeprecationWarning = !0;
|
|
6289
6304
|
Hn.__suppressDeprecationWarning = !0;
|
|
6290
|
-
function
|
|
6305
|
+
function Bs(e) {
|
|
6291
6306
|
var t = e.prototype;
|
|
6292
6307
|
if (!t || !t.isReactComponent)
|
|
6293
6308
|
throw new Error("Can only polyfill class components");
|
|
@@ -6322,10 +6337,10 @@ https://fb.me/react-async-component-lifecycle-hooks`
|
|
|
6322
6337
|
}
|
|
6323
6338
|
return e;
|
|
6324
6339
|
}
|
|
6325
|
-
const
|
|
6340
|
+
const zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6326
6341
|
__proto__: null,
|
|
6327
|
-
polyfill:
|
|
6328
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6342
|
+
polyfill: Bs
|
|
6343
|
+
}, Symbol.toStringTag, { value: "Module" })), Us = /* @__PURE__ */ xo(zs);
|
|
6329
6344
|
Object.defineProperty(ze, "__esModule", {
|
|
6330
6345
|
value: !0
|
|
6331
6346
|
});
|
|
@@ -6337,7 +6352,7 @@ var nn = Object.assign || function(e) {
|
|
|
6337
6352
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
6338
6353
|
}
|
|
6339
6354
|
return e;
|
|
6340
|
-
},
|
|
6355
|
+
}, Ws = /* @__PURE__ */ function() {
|
|
6341
6356
|
function e(t, r) {
|
|
6342
6357
|
for (var n = 0; n < r.length; n++) {
|
|
6343
6358
|
var o = r[n];
|
|
@@ -6347,8 +6362,8 @@ var nn = Object.assign || function(e) {
|
|
|
6347
6362
|
return function(t, r, n) {
|
|
6348
6363
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
6349
6364
|
};
|
|
6350
|
-
}(), Vn = Rt, St = mt(Vn),
|
|
6351
|
-
function
|
|
6365
|
+
}(), Vn = Rt, St = mt(Vn), $s = Co, Tt = mt($s), Hs = In, D = mt(Hs), Vs = js, on = mt(Vs), qs = _e, Ys = Ks(qs), Pe = xe, an = mt(Pe), Gs = Us;
|
|
6366
|
+
function Ks(e) {
|
|
6352
6367
|
if (e && e.__esModule)
|
|
6353
6368
|
return e;
|
|
6354
6369
|
var t = {};
|
|
@@ -6360,7 +6375,7 @@ function $s(e) {
|
|
|
6360
6375
|
function mt(e) {
|
|
6361
6376
|
return e && e.__esModule ? e : { default: e };
|
|
6362
6377
|
}
|
|
6363
|
-
function
|
|
6378
|
+
function Js(e, t) {
|
|
6364
6379
|
if (!(e instanceof t))
|
|
6365
6380
|
throw new TypeError("Cannot call a class as a function");
|
|
6366
6381
|
}
|
|
@@ -6369,29 +6384,29 @@ function sn(e, t) {
|
|
|
6369
6384
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6370
6385
|
return t && (typeof t == "object" || typeof t == "function") ? t : e;
|
|
6371
6386
|
}
|
|
6372
|
-
function
|
|
6387
|
+
function Zs(e, t) {
|
|
6373
6388
|
if (typeof t != "function" && t !== null)
|
|
6374
6389
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
6375
6390
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
6376
6391
|
}
|
|
6377
|
-
var
|
|
6392
|
+
var Xs = ze.portalClassName = "ReactModalPortal", Qs = ze.bodyOpenClassName = "ReactModal__Body--open", Fe = Pe.canUseDOM && Tt.default.createPortal !== void 0, pr = function(t) {
|
|
6378
6393
|
return document.createElement(t);
|
|
6379
6394
|
}, ln = function() {
|
|
6380
6395
|
return Fe ? Tt.default.createPortal : Tt.default.unstable_renderSubtreeIntoContainer;
|
|
6381
6396
|
};
|
|
6382
|
-
function
|
|
6397
|
+
function Ct(e) {
|
|
6383
6398
|
return e();
|
|
6384
6399
|
}
|
|
6385
6400
|
var et = function(e) {
|
|
6386
|
-
|
|
6401
|
+
Zs(t, e);
|
|
6387
6402
|
function t() {
|
|
6388
6403
|
var r, n, o, a;
|
|
6389
|
-
|
|
6404
|
+
Js(this, t);
|
|
6390
6405
|
for (var s = arguments.length, i = Array(s), l = 0; l < s; l++)
|
|
6391
6406
|
i[l] = arguments[l];
|
|
6392
6407
|
return a = (n = (o = sn(this, (r = t.__proto__ || Object.getPrototypeOf(t)).call.apply(r, [this].concat(i))), o), o.removePortal = function() {
|
|
6393
6408
|
!Fe && Tt.default.unmountComponentAtNode(o.node);
|
|
6394
|
-
var u =
|
|
6409
|
+
var u = Ct(o.props.parentSelector);
|
|
6395
6410
|
u && u.contains(o.node) ? u.removeChild(o.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
|
|
6396
6411
|
}, o.portalRef = function(u) {
|
|
6397
6412
|
o.portal = u;
|
|
@@ -6400,25 +6415,25 @@ var et = function(e) {
|
|
|
6400
6415
|
o.portalRef(m);
|
|
6401
6416
|
}, n), sn(o, a);
|
|
6402
6417
|
}
|
|
6403
|
-
return
|
|
6418
|
+
return Ws(t, [{
|
|
6404
6419
|
key: "componentDidMount",
|
|
6405
6420
|
value: function() {
|
|
6406
|
-
if (
|
|
6421
|
+
if (Pe.canUseDOM) {
|
|
6407
6422
|
Fe || (this.node = pr("div")), this.node.className = this.props.portalClassName;
|
|
6408
|
-
var n =
|
|
6423
|
+
var n = Ct(this.props.parentSelector);
|
|
6409
6424
|
n.appendChild(this.node), !Fe && this.renderPortal(this.props);
|
|
6410
6425
|
}
|
|
6411
6426
|
}
|
|
6412
6427
|
}, {
|
|
6413
6428
|
key: "getSnapshotBeforeUpdate",
|
|
6414
6429
|
value: function(n) {
|
|
6415
|
-
var o =
|
|
6430
|
+
var o = Ct(n.parentSelector), a = Ct(this.props.parentSelector);
|
|
6416
6431
|
return { prevParent: o, nextParent: a };
|
|
6417
6432
|
}
|
|
6418
6433
|
}, {
|
|
6419
6434
|
key: "componentDidUpdate",
|
|
6420
6435
|
value: function(n, o, a) {
|
|
6421
|
-
if (
|
|
6436
|
+
if (Pe.canUseDOM) {
|
|
6422
6437
|
var s = this.props, i = s.isOpen, l = s.portalClassName;
|
|
6423
6438
|
n.portalClassName !== l && (this.node.className = l);
|
|
6424
6439
|
var u = a.prevParent, f = a.nextParent;
|
|
@@ -6428,7 +6443,7 @@ var et = function(e) {
|
|
|
6428
6443
|
}, {
|
|
6429
6444
|
key: "componentWillUnmount",
|
|
6430
6445
|
value: function() {
|
|
6431
|
-
if (!(!
|
|
6446
|
+
if (!(!Pe.canUseDOM || !this.node || !this.portal)) {
|
|
6432
6447
|
var n = this.portal.state, o = Date.now(), a = n.isOpen && this.props.closeTimeoutMS && (n.closesAt || o + this.props.closeTimeoutMS);
|
|
6433
6448
|
a ? (n.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, a - o)) : this.removePortal();
|
|
6434
6449
|
}
|
|
@@ -6436,7 +6451,7 @@ var et = function(e) {
|
|
|
6436
6451
|
}, {
|
|
6437
6452
|
key: "render",
|
|
6438
6453
|
value: function() {
|
|
6439
|
-
if (!
|
|
6454
|
+
if (!Pe.canUseDOM || !Fe)
|
|
6440
6455
|
return null;
|
|
6441
6456
|
!this.node && Fe && (this.node = pr("div"));
|
|
6442
6457
|
var n = ln();
|
|
@@ -6448,7 +6463,7 @@ var et = function(e) {
|
|
|
6448
6463
|
}], [{
|
|
6449
6464
|
key: "setAppElement",
|
|
6450
6465
|
value: function(n) {
|
|
6451
|
-
|
|
6466
|
+
Ys.setElement(n);
|
|
6452
6467
|
}
|
|
6453
6468
|
/* eslint-disable react/no-unused-prop-types */
|
|
6454
6469
|
/* eslint-enable react/no-unused-prop-types */
|
|
@@ -6473,7 +6488,7 @@ et.propTypes = {
|
|
|
6473
6488
|
afterOpen: D.default.string.isRequired,
|
|
6474
6489
|
beforeClose: D.default.string.isRequired
|
|
6475
6490
|
})]),
|
|
6476
|
-
appElement: D.default.oneOfType([D.default.instanceOf(an.default), D.default.instanceOf(
|
|
6491
|
+
appElement: D.default.oneOfType([D.default.instanceOf(an.default), D.default.instanceOf(Pe.SafeHTMLCollection), D.default.instanceOf(Pe.SafeNodeList), D.default.arrayOf(D.default.instanceOf(an.default))]),
|
|
6477
6492
|
onAfterOpen: D.default.func,
|
|
6478
6493
|
onRequestClose: D.default.func,
|
|
6479
6494
|
closeTimeoutMS: D.default.number,
|
|
@@ -6496,8 +6511,8 @@ et.propTypes = {
|
|
|
6496
6511
|
};
|
|
6497
6512
|
et.defaultProps = {
|
|
6498
6513
|
isOpen: !1,
|
|
6499
|
-
portalClassName:
|
|
6500
|
-
bodyOpenClassName:
|
|
6514
|
+
portalClassName: Xs,
|
|
6515
|
+
bodyOpenClassName: Qs,
|
|
6501
6516
|
role: "dialog",
|
|
6502
6517
|
ariaHideApp: !0,
|
|
6503
6518
|
closeTimeoutMS: 0,
|
|
@@ -6548,7 +6563,7 @@ et.defaultStyles = {
|
|
|
6548
6563
|
padding: "20px"
|
|
6549
6564
|
}
|
|
6550
6565
|
};
|
|
6551
|
-
(0,
|
|
6566
|
+
(0, Gs.polyfill)(et);
|
|
6552
6567
|
process.env.NODE_ENV !== "production" && (et.setCreateHTMLElement = function(e) {
|
|
6553
6568
|
return pr = e;
|
|
6554
6569
|
});
|
|
@@ -6563,9 +6578,9 @@ ze.default = et;
|
|
|
6563
6578
|
}
|
|
6564
6579
|
t.default = n.default, e.exports = t.default;
|
|
6565
6580
|
})(sr, sr.exports);
|
|
6566
|
-
var
|
|
6567
|
-
const
|
|
6568
|
-
function
|
|
6581
|
+
var el = sr.exports;
|
|
6582
|
+
const tl = /* @__PURE__ */ un(el);
|
|
6583
|
+
function dl({
|
|
6569
6584
|
children: e,
|
|
6570
6585
|
contentLabel: t = "modal",
|
|
6571
6586
|
overlayClassName: r,
|
|
@@ -6573,20 +6588,20 @@ function il({
|
|
|
6573
6588
|
onRequestClose: o,
|
|
6574
6589
|
...a
|
|
6575
6590
|
}) {
|
|
6576
|
-
const s =
|
|
6591
|
+
const s = he([
|
|
6577
6592
|
"fixed right-0 left-0 bottom-0 z-[1000] h-screen overflow-y-auto",
|
|
6578
6593
|
"overflow-x-hidden md:inset-0 md:h-full bg-foreground/5 backdrop-blur-md",
|
|
6579
6594
|
r
|
|
6580
|
-
]), i =
|
|
6595
|
+
]), i = he([
|
|
6581
6596
|
"font-inter size-full flex items-end justify-center md:items-center overflow-visible"
|
|
6582
|
-
]), l =
|
|
6597
|
+
]), l = he([
|
|
6583
6598
|
"relative w-full min-w-[300px] max-h-[90vh] overflow-hidden p-6 rounded-t-[32px]",
|
|
6584
6599
|
"bg-background animate-slide-in shadow-card opacity-0",
|
|
6585
6600
|
"md:rounded-[32px] md:w-fit",
|
|
6586
6601
|
n
|
|
6587
6602
|
]);
|
|
6588
6603
|
return /* @__PURE__ */ K.jsx(
|
|
6589
|
-
|
|
6604
|
+
tl,
|
|
6590
6605
|
{
|
|
6591
6606
|
closeTimeoutMS: 300,
|
|
6592
6607
|
className: i,
|
|
@@ -6596,13 +6611,13 @@ function il({
|
|
|
6596
6611
|
onRequestClose: o,
|
|
6597
6612
|
...a,
|
|
6598
6613
|
children: /* @__PURE__ */ K.jsxs("div", { className: l, children: [
|
|
6599
|
-
/* @__PURE__ */ K.jsx(
|
|
6614
|
+
/* @__PURE__ */ K.jsx(Va, { className: "ml-auto", icon: "close", size: "xs", onClick: o }),
|
|
6600
6615
|
e
|
|
6601
6616
|
] })
|
|
6602
6617
|
}
|
|
6603
6618
|
);
|
|
6604
6619
|
}
|
|
6605
|
-
const
|
|
6620
|
+
const rl = Ze(["flex items-center gap-3"], {
|
|
6606
6621
|
variants: {
|
|
6607
6622
|
size: {
|
|
6608
6623
|
xs: "",
|
|
@@ -6615,8 +6630,8 @@ const Js = Xe(["flex items-center gap-3"], {
|
|
|
6615
6630
|
size: "sm"
|
|
6616
6631
|
}
|
|
6617
6632
|
});
|
|
6618
|
-
function
|
|
6619
|
-
return /* @__PURE__ */ K.jsxs("div", { className:
|
|
6633
|
+
function pl({ name: e, label: t, avatar: r, size: n, className: o, ...a }) {
|
|
6634
|
+
return /* @__PURE__ */ K.jsxs("div", { className: he(rl({ size: n, className: o })), ...a, children: [
|
|
6620
6635
|
/* @__PURE__ */ K.jsx("div", { className: "w-[36px] h-[36px] rounded-full overflow-hidden", children: r ? /* @__PURE__ */ K.jsx("img", { src: r, alt: "avatar", className: "size-full object-cover" }) : /* @__PURE__ */ K.jsx(Ot, { type: "didit", className: "size-full object-cover" }) }),
|
|
6621
6636
|
/* @__PURE__ */ K.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
6622
6637
|
/* @__PURE__ */ K.jsx(rr, { className: "text-foreground", as: "h6", variant: "H6", children: e }),
|
|
@@ -6624,35 +6639,35 @@ function sl({ name: e, label: t, avatar: r, size: n, className: o, ...a }) {
|
|
|
6624
6639
|
] })
|
|
6625
6640
|
] });
|
|
6626
6641
|
}
|
|
6627
|
-
const
|
|
6642
|
+
const nl = typeof window < "u" ? bo : yo, ol = typeof window > "u";
|
|
6628
6643
|
function gt(e, { defaultValue: t = !1, initializeWithValue: r = !0 } = {}) {
|
|
6629
6644
|
function n(i) {
|
|
6630
|
-
return
|
|
6645
|
+
return ol ? t : window.matchMedia(i).matches;
|
|
6631
6646
|
}
|
|
6632
6647
|
const [o, a] = wo(() => r ? n(e) : t);
|
|
6633
6648
|
function s() {
|
|
6634
6649
|
a(n(e));
|
|
6635
6650
|
}
|
|
6636
|
-
return
|
|
6651
|
+
return nl(() => {
|
|
6637
6652
|
const i = window.matchMedia(e);
|
|
6638
6653
|
return s(), i.addListener ? i.addListener(s) : i.addEventListener("change", s), () => {
|
|
6639
6654
|
i.removeListener ? i.removeListener(s) : i.removeEventListener("change", s);
|
|
6640
6655
|
};
|
|
6641
6656
|
}, [e]), o;
|
|
6642
6657
|
}
|
|
6643
|
-
function
|
|
6658
|
+
function ml() {
|
|
6644
6659
|
return gt(`(min-width: ${ft.SM}px)`);
|
|
6645
6660
|
}
|
|
6646
|
-
function
|
|
6661
|
+
function gl() {
|
|
6647
6662
|
return gt(`(min-width: ${ft.MD}px)`);
|
|
6648
6663
|
}
|
|
6649
|
-
function
|
|
6664
|
+
function hl() {
|
|
6650
6665
|
return gt(`(min-width: ${ft.LG}px)`);
|
|
6651
6666
|
}
|
|
6652
|
-
function
|
|
6667
|
+
function vl() {
|
|
6653
6668
|
return gt(`(min-width: ${ft.XL}px)`);
|
|
6654
6669
|
}
|
|
6655
|
-
function
|
|
6670
|
+
function bl() {
|
|
6656
6671
|
return gt(`(min-width: ${ft.XXL}px)`);
|
|
6657
6672
|
}
|
|
6658
6673
|
var qn = {}, Yn = {};
|
|
@@ -6672,7 +6687,7 @@ var qn = {}, Yn = {};
|
|
|
6672
6687
|
])) : r;
|
|
6673
6688
|
}
|
|
6674
6689
|
})(Yn);
|
|
6675
|
-
var
|
|
6690
|
+
var al = {
|
|
6676
6691
|
content: [],
|
|
6677
6692
|
presets: [],
|
|
6678
6693
|
darkMode: "media",
|
|
@@ -7743,7 +7758,7 @@ var Zs = {
|
|
|
7743
7758
|
return o;
|
|
7744
7759
|
}
|
|
7745
7760
|
});
|
|
7746
|
-
const t = Yn, r = /* @__PURE__ */ n(
|
|
7761
|
+
const t = Yn, r = /* @__PURE__ */ n(al);
|
|
7747
7762
|
function n(a) {
|
|
7748
7763
|
return a && a.__esModule ? a : {
|
|
7749
7764
|
default: a
|
|
@@ -7751,9 +7766,9 @@ var Zs = {
|
|
|
7751
7766
|
}
|
|
7752
7767
|
const o = (0, t.cloneDeep)(r.default.theme);
|
|
7753
7768
|
})(qn);
|
|
7754
|
-
let
|
|
7755
|
-
var
|
|
7756
|
-
const cn = /* @__PURE__ */ un(
|
|
7769
|
+
let Xt = qn;
|
|
7770
|
+
var il = (Xt.__esModule ? Xt : { default: Xt }).default;
|
|
7771
|
+
const cn = /* @__PURE__ */ un(il), yl = {
|
|
7757
7772
|
content: ["./src/**/*.{js,ts,jsx,tsx}"],
|
|
7758
7773
|
theme: {
|
|
7759
7774
|
fontFamily: {
|
|
@@ -7801,23 +7816,23 @@ const cn = /* @__PURE__ */ un(el), pl = {
|
|
|
7801
7816
|
diditContent: "./node_modules/diditui/dist/**/*.{js,ts,jsx,tsx}"
|
|
7802
7817
|
};
|
|
7803
7818
|
export {
|
|
7804
|
-
|
|
7805
|
-
|
|
7819
|
+
cl as Button,
|
|
7820
|
+
fl as Card,
|
|
7806
7821
|
Ot as Icon,
|
|
7807
|
-
|
|
7822
|
+
Va as IconButton,
|
|
7808
7823
|
ft as MediaQuery,
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7824
|
+
dl as Modal,
|
|
7825
|
+
ul as QrCode,
|
|
7826
|
+
Wa as Spinner,
|
|
7812
7827
|
rr as Text,
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7828
|
+
pl as UserCard,
|
|
7829
|
+
he as cn,
|
|
7830
|
+
yl as didituiConfig,
|
|
7831
|
+
Ba as svgOptions,
|
|
7832
|
+
hl as useLgMediaQuery,
|
|
7833
|
+
gl as useMdMediaQuery,
|
|
7819
7834
|
gt as useMediaQuery,
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7835
|
+
ml as useSmMediaQuery,
|
|
7836
|
+
vl as useXlMediaQuery,
|
|
7837
|
+
bl as useXxlMediaQuery
|
|
7823
7838
|
};
|