uplord-ui 0.0.47 → 0.0.49
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/{Modal-H0Y6ehcc.js → Modal-BuEpZH5S.js} +1022 -1011
- package/dist/{Modal-D83bY08P.cjs → Modal-BveohaAc.cjs} +21 -21
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/uplord-ui.css +1 -1
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@ function BI() {
|
|
|
60
60
|
return "Fragment";
|
|
61
61
|
case M:
|
|
62
62
|
return "Profiler";
|
|
63
|
-
case
|
|
63
|
+
case x:
|
|
64
64
|
return "StrictMode";
|
|
65
65
|
case m:
|
|
66
66
|
return "Suspense";
|
|
@@ -77,7 +77,7 @@ function BI() {
|
|
|
77
77
|
return "Portal";
|
|
78
78
|
case f:
|
|
79
79
|
return (v.displayName || "Context") + ".Provider";
|
|
80
|
-
case
|
|
80
|
+
case N:
|
|
81
81
|
return (v._context.displayName || "Context") + ".Consumer";
|
|
82
82
|
case w:
|
|
83
83
|
var R = v.render;
|
|
@@ -140,7 +140,7 @@ function BI() {
|
|
|
140
140
|
}
|
|
141
141
|
function s(v, R) {
|
|
142
142
|
function T() {
|
|
143
|
-
|
|
143
|
+
J || (J = !0, console.error(
|
|
144
144
|
"%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://react.dev/link/special-props)",
|
|
145
145
|
R
|
|
146
146
|
));
|
|
@@ -152,16 +152,16 @@ function BI() {
|
|
|
152
152
|
}
|
|
153
153
|
function d() {
|
|
154
154
|
var v = e(this.type);
|
|
155
|
-
return
|
|
155
|
+
return X[v] || (X[v] = !0, console.error(
|
|
156
156
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
157
157
|
)), v = this.props.ref, v !== void 0 ? v : null;
|
|
158
158
|
}
|
|
159
|
-
function l(v, R, T, O, H,
|
|
160
|
-
return T =
|
|
159
|
+
function l(v, R, T, O, H, Q, Z, b) {
|
|
160
|
+
return T = Q.ref, v = {
|
|
161
161
|
$$typeof: k,
|
|
162
162
|
type: v,
|
|
163
163
|
key: R,
|
|
164
|
-
props:
|
|
164
|
+
props: Q,
|
|
165
165
|
_owner: H
|
|
166
166
|
}, (T !== void 0 ? T : null) !== null ? Object.defineProperty(v, "ref", {
|
|
167
167
|
enumerable: !1,
|
|
@@ -180,7 +180,7 @@ function BI() {
|
|
|
180
180
|
configurable: !1,
|
|
181
181
|
enumerable: !1,
|
|
182
182
|
writable: !0,
|
|
183
|
-
value:
|
|
183
|
+
value: Z
|
|
184
184
|
}), Object.defineProperty(v, "_debugTask", {
|
|
185
185
|
configurable: !1,
|
|
186
186
|
enumerable: !1,
|
|
@@ -188,11 +188,11 @@ function BI() {
|
|
|
188
188
|
value: b
|
|
189
189
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
190
190
|
}
|
|
191
|
-
function h(v, R, T, O, H,
|
|
191
|
+
function h(v, R, T, O, H, Q, Z, b) {
|
|
192
192
|
var U = R.children;
|
|
193
193
|
if (U !== void 0)
|
|
194
194
|
if (O)
|
|
195
|
-
if (
|
|
195
|
+
if (ne(U)) {
|
|
196
196
|
for (O = 0; O < U.length; O++)
|
|
197
197
|
u(U[O]);
|
|
198
198
|
Object.freeze && Object.freeze(U);
|
|
@@ -203,10 +203,10 @@ function BI() {
|
|
|
203
203
|
else u(U);
|
|
204
204
|
if (z.call(R, "key")) {
|
|
205
205
|
U = e(v);
|
|
206
|
-
var V = Object.keys(R).filter(function(
|
|
207
|
-
return
|
|
206
|
+
var V = Object.keys(R).filter(function(I) {
|
|
207
|
+
return I !== "key";
|
|
208
208
|
});
|
|
209
|
-
O = 0 < V.length ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
209
|
+
O = 0 < V.length ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}", te[U + O] || (V = 0 < V.length ? "{" + V.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
210
210
|
`A props object containing a "key" prop is being spread into JSX:
|
|
211
211
|
let props = %s;
|
|
212
212
|
<%s {...props} />
|
|
@@ -217,12 +217,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
217
217
|
U,
|
|
218
218
|
V,
|
|
219
219
|
U
|
|
220
|
-
),
|
|
220
|
+
), te[U + O] = !0);
|
|
221
221
|
}
|
|
222
222
|
if (U = null, T !== void 0 && (a(T), U = "" + T), c(R) && (a(R.key), U = "" + R.key), "key" in R) {
|
|
223
223
|
T = {};
|
|
224
|
-
for (var
|
|
225
|
-
|
|
224
|
+
for (var W in R)
|
|
225
|
+
W !== "key" && (T[W] = R[W]);
|
|
226
226
|
} else T = R;
|
|
227
227
|
return U && s(
|
|
228
228
|
T,
|
|
@@ -230,18 +230,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
230
230
|
), l(
|
|
231
231
|
v,
|
|
232
232
|
U,
|
|
233
|
-
|
|
233
|
+
Q,
|
|
234
234
|
H,
|
|
235
235
|
i(),
|
|
236
236
|
T,
|
|
237
|
-
|
|
237
|
+
Z,
|
|
238
238
|
b
|
|
239
239
|
);
|
|
240
240
|
}
|
|
241
241
|
function u(v) {
|
|
242
242
|
typeof v == "object" && v !== null && v.$$typeof === k && v._store && (v._store.validated = 1);
|
|
243
243
|
}
|
|
244
|
-
var p = Fe, k = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), g = Symbol.for("react.fragment"),
|
|
244
|
+
var p = Fe, k = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), f = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), j = Symbol.for("react.activity"), E = Symbol.for("react.client.reference"), q = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, ne = Array.isArray, B = console.createTask ? console.createTask : function() {
|
|
245
245
|
return null;
|
|
246
246
|
};
|
|
247
247
|
p = {
|
|
@@ -249,12 +249,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
249
249
|
return v();
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
|
-
var
|
|
252
|
+
var J, X = {}, Y = p["react-stack-bottom-frame"].bind(
|
|
253
253
|
p,
|
|
254
254
|
r
|
|
255
|
-
)(),
|
|
255
|
+
)(), ee = B(o(r)), te = {};
|
|
256
256
|
Ma.Fragment = g, Ma.jsx = function(v, R, T, O, H) {
|
|
257
|
-
var
|
|
257
|
+
var Q = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
258
258
|
return h(
|
|
259
259
|
v,
|
|
260
260
|
R,
|
|
@@ -262,11 +262,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
262
262
|
!1,
|
|
263
263
|
O,
|
|
264
264
|
H,
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
Q ? Error("react-stack-top-frame") : Y,
|
|
266
|
+
Q ? B(o(v)) : ee
|
|
267
267
|
);
|
|
268
268
|
}, Ma.jsxs = function(v, R, T, O, H) {
|
|
269
|
-
var
|
|
269
|
+
var Q = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
270
270
|
return h(
|
|
271
271
|
v,
|
|
272
272
|
R,
|
|
@@ -274,8 +274,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
274
274
|
!0,
|
|
275
275
|
O,
|
|
276
276
|
H,
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
Q ? Error("react-stack-top-frame") : Y,
|
|
278
|
+
Q ? B(o(v)) : ee
|
|
279
279
|
);
|
|
280
280
|
};
|
|
281
281
|
}()), Ma;
|
|
@@ -294,7 +294,7 @@ function zb(e) {
|
|
|
294
294
|
} else for (a in e) e[a] && (o && (o += " "), o += a);
|
|
295
295
|
return o;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function oe() {
|
|
298
298
|
for (var e, t, a = 0, o = "", i = arguments.length; a < i; a++) (e = arguments[a]) && (t = zb(e)) && (o && (o += " "), o += t);
|
|
299
299
|
return o;
|
|
300
300
|
}
|
|
@@ -448,8 +448,8 @@ function Db() {
|
|
|
448
448
|
function u(g) {
|
|
449
449
|
return typeof g > "u" ? g : typeof g == "number" ? Number.isFinite(g) ? g : NaN : typeof g == "string" && /^[0-9]+$/.test(g) ? parseInt(g, 10) : NaN;
|
|
450
450
|
}
|
|
451
|
-
function p(g,
|
|
452
|
-
let { deviceSizes:
|
|
451
|
+
function p(g, x, M) {
|
|
452
|
+
let { deviceSizes: N, allSizes: f } = g;
|
|
453
453
|
if (M) {
|
|
454
454
|
const m = /(^|\s)(1?\d?\d)vw/g, S = [];
|
|
455
455
|
for (let A; A = m.exec(M); A)
|
|
@@ -457,7 +457,7 @@ function Db() {
|
|
|
457
457
|
if (S.length) {
|
|
458
458
|
const A = Math.min(...S) * 0.01;
|
|
459
459
|
return {
|
|
460
|
-
widths: f.filter((P) => P >=
|
|
460
|
+
widths: f.filter((P) => P >= N[0] * A),
|
|
461
461
|
kind: "w"
|
|
462
462
|
};
|
|
463
463
|
}
|
|
@@ -466,8 +466,8 @@ function Db() {
|
|
|
466
466
|
kind: "w"
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
|
-
return typeof
|
|
470
|
-
widths:
|
|
469
|
+
return typeof x != "number" ? {
|
|
470
|
+
widths: N,
|
|
471
471
|
kind: "w"
|
|
472
472
|
} : {
|
|
473
473
|
widths: [
|
|
@@ -481,8 +481,8 @@ function Db() {
|
|
|
481
481
|
// > something like a magnifying glass.
|
|
482
482
|
// https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
|
|
483
483
|
[
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
x,
|
|
485
|
+
x * 2
|
|
486
486
|
/*, width * 3*/
|
|
487
487
|
].map((m) => f.find((S) => S >= m) || f[f.length - 1])
|
|
488
488
|
)
|
|
@@ -491,18 +491,18 @@ function Db() {
|
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
493
|
function k(g) {
|
|
494
|
-
let { config:
|
|
495
|
-
if (
|
|
494
|
+
let { config: x, src: M, unoptimized: N, width: f, quality: w, sizes: m, loader: S } = g;
|
|
495
|
+
if (N)
|
|
496
496
|
return {
|
|
497
497
|
src: M,
|
|
498
498
|
srcSet: void 0,
|
|
499
499
|
sizes: void 0
|
|
500
500
|
};
|
|
501
|
-
const { widths: A, kind: P } = p(
|
|
501
|
+
const { widths: A, kind: P } = p(x, f, m), j = A.length - 1;
|
|
502
502
|
return {
|
|
503
503
|
sizes: !m && P === "w" ? "100vw" : m,
|
|
504
504
|
srcSet: A.map((E, q) => S({
|
|
505
|
-
config:
|
|
505
|
+
config: x,
|
|
506
506
|
src: M,
|
|
507
507
|
quality: w,
|
|
508
508
|
width: E
|
|
@@ -514,29 +514,29 @@ function Db() {
|
|
|
514
514
|
// and `sizes` are defined.
|
|
515
515
|
// This bug cannot be reproduced in Chrome or Firefox.
|
|
516
516
|
src: S({
|
|
517
|
-
config:
|
|
517
|
+
config: x,
|
|
518
518
|
src: M,
|
|
519
519
|
quality: w,
|
|
520
520
|
width: A[j]
|
|
521
521
|
})
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
|
-
function C(g,
|
|
525
|
-
let { src: M, sizes:
|
|
526
|
-
const { imgConf:
|
|
527
|
-
let V,
|
|
528
|
-
if ("allSizes" in
|
|
529
|
-
V =
|
|
524
|
+
function C(g, x) {
|
|
525
|
+
let { src: M, sizes: N, unoptimized: f = !1, priority: w = !1, loading: m, className: S, quality: A, width: P, height: j, fill: E = !1, style: q, overrideSrc: z, onLoad: ne, onLoadingComplete: B, placeholder: J = "empty", blurDataURL: X, fetchPriority: Y, decoding: ee = "async", layout: te, objectFit: v, objectPosition: R, lazyBoundary: T, lazyRoot: O, ...H } = g;
|
|
526
|
+
const { imgConf: Q, showAltText: Z, blurComplete: b, defaultLoader: U } = x;
|
|
527
|
+
let V, W = Q || o.imageConfigDefault;
|
|
528
|
+
if ("allSizes" in W)
|
|
529
|
+
V = W;
|
|
530
530
|
else {
|
|
531
|
-
var
|
|
531
|
+
var I;
|
|
532
532
|
const $ = [
|
|
533
|
-
...
|
|
534
|
-
...
|
|
535
|
-
].sort((le, Ee) => le - Ee),
|
|
533
|
+
...W.deviceSizes,
|
|
534
|
+
...W.imageSizes
|
|
535
|
+
].sort((le, Ee) => le - Ee), ae = W.deviceSizes.sort((le, Ee) => le - Ee), _e = (I = W.qualities) == null ? void 0 : I.sort((le, Ee) => le - Ee);
|
|
536
536
|
V = {
|
|
537
|
-
...
|
|
537
|
+
...W,
|
|
538
538
|
allSizes: $,
|
|
539
|
-
deviceSizes:
|
|
539
|
+
deviceSizes: ae,
|
|
540
540
|
qualities: _e
|
|
541
541
|
};
|
|
542
542
|
}
|
|
@@ -547,9 +547,9 @@ Read more: https://nextjs.org/docs/messages/invalid-images-config`), "__NEXT_ERR
|
|
|
547
547
|
enumerable: !1,
|
|
548
548
|
configurable: !0
|
|
549
549
|
});
|
|
550
|
-
let
|
|
550
|
+
let L = H.loader || U;
|
|
551
551
|
delete H.loader, delete H.srcSet;
|
|
552
|
-
const fe = "__next_img_default" in
|
|
552
|
+
const fe = "__next_img_default" in L;
|
|
553
553
|
if (fe) {
|
|
554
554
|
if (V.loader === "custom")
|
|
555
555
|
throw Object.defineProperty(new Error('Image with src "' + M + `" is missing "loader" prop.
|
|
@@ -559,14 +559,14 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
559
559
|
configurable: !0
|
|
560
560
|
});
|
|
561
561
|
} else {
|
|
562
|
-
const $ =
|
|
563
|
-
|
|
564
|
-
const { config: _e, ...le } =
|
|
562
|
+
const $ = L;
|
|
563
|
+
L = (ae) => {
|
|
564
|
+
const { config: _e, ...le } = ae;
|
|
565
565
|
return $(le);
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
|
-
if (
|
|
569
|
-
|
|
568
|
+
if (te) {
|
|
569
|
+
te === "fill" && (E = !0);
|
|
570
570
|
const $ = {
|
|
571
571
|
intrinsic: {
|
|
572
572
|
maxWidth: "100%",
|
|
@@ -576,18 +576,18 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
576
576
|
width: "100%",
|
|
577
577
|
height: "auto"
|
|
578
578
|
}
|
|
579
|
-
},
|
|
579
|
+
}, ae = {
|
|
580
580
|
responsive: "100vw",
|
|
581
581
|
fill: "100vw"
|
|
582
|
-
}, _e = $[
|
|
582
|
+
}, _e = $[te];
|
|
583
583
|
_e && (q = {
|
|
584
584
|
...q,
|
|
585
585
|
..._e
|
|
586
586
|
});
|
|
587
|
-
const le =
|
|
588
|
-
le && !
|
|
587
|
+
const le = ae[te];
|
|
588
|
+
le && !N && (N = le);
|
|
589
589
|
}
|
|
590
|
-
let K = "",
|
|
590
|
+
let K = "", G = u(P), re = u(j), Ie, ve;
|
|
591
591
|
if (d(M)) {
|
|
592
592
|
const $ = c(M) ? M.default : M;
|
|
593
593
|
if (!$.src)
|
|
@@ -602,15 +602,15 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
602
602
|
enumerable: !1,
|
|
603
603
|
configurable: !0
|
|
604
604
|
});
|
|
605
|
-
if (Ie = $.blurWidth, ve = $.blurHeight,
|
|
606
|
-
if (!
|
|
607
|
-
|
|
608
|
-
else if (
|
|
609
|
-
const
|
|
610
|
-
|
|
611
|
-
} else if (!
|
|
612
|
-
const
|
|
613
|
-
|
|
605
|
+
if (Ie = $.blurWidth, ve = $.blurHeight, X = X || $.blurDataURL, K = $.src, !E) {
|
|
606
|
+
if (!G && !re)
|
|
607
|
+
G = $.width, re = $.height;
|
|
608
|
+
else if (G && !re) {
|
|
609
|
+
const ae = G / $.width;
|
|
610
|
+
re = Math.round($.height * ae);
|
|
611
|
+
} else if (!G && re) {
|
|
612
|
+
const ae = re / $.height;
|
|
613
|
+
G = Math.round($.width * ae);
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
}
|
|
@@ -659,25 +659,25 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
659
659
|
configurable: !0
|
|
660
660
|
});
|
|
661
661
|
} else {
|
|
662
|
-
if (typeof
|
|
662
|
+
if (typeof G > "u")
|
|
663
663
|
throw Object.defineProperty(new Error('Image with src "' + M + '" is missing required "width" property.'), "__NEXT_ERROR_CODE", {
|
|
664
664
|
value: "E451",
|
|
665
665
|
enumerable: !1,
|
|
666
666
|
configurable: !0
|
|
667
667
|
});
|
|
668
|
-
if (isNaN(
|
|
668
|
+
if (isNaN(G))
|
|
669
669
|
throw Object.defineProperty(new Error('Image with src "' + M + '" has invalid "width" property. Expected a numeric value in pixels but received "' + P + '".'), "__NEXT_ERROR_CODE", {
|
|
670
670
|
value: "E66",
|
|
671
671
|
enumerable: !1,
|
|
672
672
|
configurable: !0
|
|
673
673
|
});
|
|
674
|
-
if (typeof
|
|
674
|
+
if (typeof re > "u")
|
|
675
675
|
throw Object.defineProperty(new Error('Image with src "' + M + '" is missing required "height" property.'), "__NEXT_ERROR_CODE", {
|
|
676
676
|
value: "E397",
|
|
677
677
|
enumerable: !1,
|
|
678
678
|
configurable: !0
|
|
679
679
|
});
|
|
680
|
-
if (isNaN(
|
|
680
|
+
if (isNaN(re))
|
|
681
681
|
throw Object.defineProperty(new Error('Image with src "' + M + '" has invalid "height" property. Expected a numeric value in pixels but received "' + j + '".'), "__NEXT_ERROR_CODE", {
|
|
682
682
|
value: "E444",
|
|
683
683
|
enumerable: !1,
|
|
@@ -708,13 +708,13 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
708
708
|
enumerable: !1,
|
|
709
709
|
configurable: !0
|
|
710
710
|
});
|
|
711
|
-
if (
|
|
712
|
-
throw Object.defineProperty(new Error('Image with src "' + M + '" has invalid "placeholder" property "' +
|
|
711
|
+
if (J !== "empty" && J !== "blur" && !J.startsWith("data:image/"))
|
|
712
|
+
throw Object.defineProperty(new Error('Image with src "' + M + '" has invalid "placeholder" property "' + J + '".'), "__NEXT_ERROR_CODE", {
|
|
713
713
|
value: "E431",
|
|
714
714
|
enumerable: !1,
|
|
715
715
|
configurable: !0
|
|
716
716
|
});
|
|
717
|
-
if (
|
|
717
|
+
if (J !== "empty" && G && re && G * re < 1600 && (0, t.warnOnce)('Image with src "' + M + '" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'), J === "blur" && !X) {
|
|
718
718
|
const $ = [
|
|
719
719
|
"jpeg",
|
|
720
720
|
"png",
|
|
@@ -733,35 +733,35 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
735
|
if ("ref" in H && (0, t.warnOnce)('Image with src "' + M + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.'), !f && !fe) {
|
|
736
|
-
const $ =
|
|
736
|
+
const $ = L({
|
|
737
737
|
config: V,
|
|
738
738
|
src: M,
|
|
739
|
-
width:
|
|
739
|
+
width: G || 400,
|
|
740
740
|
quality: Pe || 75
|
|
741
741
|
});
|
|
742
|
-
let
|
|
742
|
+
let ae;
|
|
743
743
|
try {
|
|
744
|
-
|
|
744
|
+
ae = new URL($);
|
|
745
745
|
} catch {
|
|
746
746
|
}
|
|
747
|
-
($ === M ||
|
|
747
|
+
($ === M || ae && ae.pathname === M && !ae.search) && (0, t.warnOnce)('Image with src "' + M + `" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
|
|
748
748
|
Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`);
|
|
749
749
|
}
|
|
750
750
|
B && (0, t.warnOnce)('Image with src "' + M + '" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');
|
|
751
|
-
for (const [$,
|
|
752
|
-
layout:
|
|
751
|
+
for (const [$, ae] of Object.entries({
|
|
752
|
+
layout: te,
|
|
753
753
|
objectFit: v,
|
|
754
754
|
objectPosition: R,
|
|
755
755
|
lazyBoundary: T,
|
|
756
756
|
lazyRoot: O
|
|
757
757
|
}))
|
|
758
|
-
|
|
758
|
+
ae && (0, t.warnOnce)('Image with src "' + M + '" has legacy prop "' + $ + `". Did you forget to run the codemod?
|
|
759
759
|
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);
|
|
760
760
|
if (typeof window < "u" && !h && window.PerformanceObserver) {
|
|
761
761
|
h = new PerformanceObserver(($) => {
|
|
762
762
|
for (const _e of $.getEntries()) {
|
|
763
|
-
var
|
|
764
|
-
const le = (_e == null || (
|
|
763
|
+
var ae;
|
|
764
|
+
const le = (_e == null || (ae = _e.element) == null ? void 0 : ae.src) || "", Ee = l.get(le);
|
|
765
765
|
Ee && !Ee.priority && Ee.placeholder === "empty" && !Ee.src.startsWith("data:") && !Ee.src.startsWith("blob:") && (0, t.warnOnce)('Image with src "' + Ee.src + `" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
|
|
766
766
|
Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
767
767
|
}
|
|
@@ -786,31 +786,31 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
786
786
|
bottom: 0,
|
|
787
787
|
objectFit: v,
|
|
788
788
|
objectPosition: R
|
|
789
|
-
} : {},
|
|
789
|
+
} : {}, Z ? {} : {
|
|
790
790
|
color: "transparent"
|
|
791
|
-
}, q), ie = !b &&
|
|
792
|
-
widthInt:
|
|
793
|
-
heightInt:
|
|
791
|
+
}, q), ie = !b && J !== "empty" ? J === "blur" ? 'url("data:image/svg+xml;charset=utf-8,' + (0, a.getImageBlurSvg)({
|
|
792
|
+
widthInt: G,
|
|
793
|
+
heightInt: re,
|
|
794
794
|
blurWidth: Ie,
|
|
795
795
|
blurHeight: ve,
|
|
796
|
-
blurDataURL:
|
|
796
|
+
blurDataURL: X || "",
|
|
797
797
|
objectFit: ge.objectFit
|
|
798
|
-
}) + '")' : 'url("' +
|
|
798
|
+
}) + '")' : 'url("' + J + '")' : null, de = r.includes(ge.objectFit) ? ge.objectFit === "fill" ? "100% 100%" : "cover" : ge.objectFit;
|
|
799
799
|
let me = ie ? {
|
|
800
800
|
backgroundSize: de,
|
|
801
801
|
backgroundPosition: ge.objectPosition || "50% 50%",
|
|
802
802
|
backgroundRepeat: "no-repeat",
|
|
803
803
|
backgroundImage: ie
|
|
804
804
|
} : {};
|
|
805
|
-
process.env.NODE_ENV === "development" && me.backgroundImage &&
|
|
805
|
+
process.env.NODE_ENV === "development" && me.backgroundImage && J === "blur" && X != null && X.startsWith("/") && (me.backgroundImage = 'url("' + X + '")');
|
|
806
806
|
const F = k({
|
|
807
807
|
config: V,
|
|
808
808
|
src: M,
|
|
809
809
|
unoptimized: f,
|
|
810
|
-
width:
|
|
810
|
+
width: G,
|
|
811
811
|
quality: Pe,
|
|
812
|
-
sizes:
|
|
813
|
-
loader:
|
|
812
|
+
sizes: N,
|
|
813
|
+
loader: L
|
|
814
814
|
});
|
|
815
815
|
if (process.env.NODE_ENV !== "production" && typeof window < "u") {
|
|
816
816
|
let $;
|
|
@@ -822,17 +822,17 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
822
822
|
l.set($.href, {
|
|
823
823
|
src: M,
|
|
824
824
|
priority: w,
|
|
825
|
-
placeholder:
|
|
825
|
+
placeholder: J
|
|
826
826
|
});
|
|
827
827
|
}
|
|
828
828
|
return {
|
|
829
829
|
props: {
|
|
830
830
|
...H,
|
|
831
831
|
loading: Me ? "lazy" : m,
|
|
832
|
-
fetchPriority:
|
|
833
|
-
width:
|
|
834
|
-
height:
|
|
835
|
-
decoding:
|
|
832
|
+
fetchPriority: Y,
|
|
833
|
+
width: G,
|
|
834
|
+
height: re,
|
|
835
|
+
decoding: ee,
|
|
836
836
|
className: S,
|
|
837
837
|
style: {
|
|
838
838
|
...ge,
|
|
@@ -845,7 +845,7 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
845
845
|
meta: {
|
|
846
846
|
unoptimized: f,
|
|
847
847
|
priority: w,
|
|
848
|
-
placeholder:
|
|
848
|
+
placeholder: J,
|
|
849
849
|
fill: E
|
|
850
850
|
}
|
|
851
851
|
};
|
|
@@ -980,7 +980,7 @@ function KI() {
|
|
|
980
980
|
}
|
|
981
981
|
a(t, {
|
|
982
982
|
default: function() {
|
|
983
|
-
return
|
|
983
|
+
return N;
|
|
984
984
|
},
|
|
985
985
|
defaultHead: function() {
|
|
986
986
|
return p;
|
|
@@ -1036,8 +1036,8 @@ function KI() {
|
|
|
1036
1036
|
if (z === "charSet")
|
|
1037
1037
|
m.has(z) ? P = !1 : m.add(z);
|
|
1038
1038
|
else {
|
|
1039
|
-
const
|
|
1040
|
-
(z !== "name" || !j) && B.has(
|
|
1039
|
+
const ne = A.props[z], B = S[z] || /* @__PURE__ */ new Set();
|
|
1040
|
+
(z !== "name" || !j) && B.has(ne) ? P = !1 : (B.add(ne), S[z] = B);
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
break;
|
|
@@ -1045,7 +1045,7 @@ function KI() {
|
|
|
1045
1045
|
return P;
|
|
1046
1046
|
};
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function x(f, w) {
|
|
1049
1049
|
const { inAmpMode: m } = w;
|
|
1050
1050
|
return f.reduce(k, []).reverse().concat(p(m).reverse()).filter(g()).reverse().map((S, A) => {
|
|
1051
1051
|
const P = S.key || A;
|
|
@@ -1075,13 +1075,13 @@ See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-comp
|
|
|
1075
1075
|
let { children: w } = f;
|
|
1076
1076
|
const m = (0, c.useContext)(d.AmpStateContext), S = (0, c.useContext)(l.HeadManagerContext);
|
|
1077
1077
|
return /* @__PURE__ */ (0, r.jsx)(s.default, {
|
|
1078
|
-
reduceComponentsToState:
|
|
1078
|
+
reduceComponentsToState: x,
|
|
1079
1079
|
headManager: S,
|
|
1080
1080
|
inAmpMode: (0, h.isInAmpMode)(m),
|
|
1081
1081
|
children: w
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
|
-
const
|
|
1084
|
+
const N = M;
|
|
1085
1085
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
1086
1086
|
}(Da, Da.exports)), Da.exports;
|
|
1087
1087
|
}
|
|
@@ -1131,16 +1131,16 @@ function Fb() {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
Object.assign(l, s), i.exports = l;
|
|
1133
1133
|
}, 154: (i) => {
|
|
1134
|
-
const r = "\\\\/", c = `[^${r}]`, s = "\\.", d = "\\+", l = "\\?", h = "\\/", u = "(?=.)", p = "[^/]", k = `(?:${h}|$)`, C = `(?:^|${h})`, g = `${s}{1,2}${k}`,
|
|
1134
|
+
const r = "\\\\/", c = `[^${r}]`, s = "\\.", d = "\\+", l = "\\?", h = "\\/", u = "(?=.)", p = "[^/]", k = `(?:${h}|$)`, C = `(?:^|${h})`, g = `${s}{1,2}${k}`, x = `(?!${s})`, M = `(?!${C}${g})`, N = `(?!${s}{0,1}${k})`, f = `(?!${g})`, w = `[^.${h}]`, m = `${p}*?`, A = { DOT_LITERAL: s, PLUS_LITERAL: d, QMARK_LITERAL: l, SLASH_LITERAL: h, ONE_CHAR: u, QMARK: p, END_ANCHOR: k, DOTS_SLASH: g, NO_DOT: x, NO_DOTS: M, NO_DOT_SLASH: N, NO_DOTS_SLASH: f, QMARK_NO_DOT: w, STAR: m, START_ANCHOR: C, SEP: "/" }, P = { ...A, SLASH_LITERAL: `[${r}]`, QMARK: c, STAR: `${c}*?`, DOTS_SLASH: `${s}{1,2}(?:[${r}]|$)`, NO_DOT: `(?!${s})`, NO_DOTS: `(?!(?:^|[${r}])${s}{1,2}(?:[${r}]|$))`, NO_DOT_SLASH: `(?!${s}{0,1}(?:[${r}]|$))`, NO_DOTS_SLASH: `(?!${s}{1,2}(?:[${r}]|$))`, QMARK_NO_DOT: `[^.${r}]`, START_ANCHOR: `(?:^|[${r}])`, END_ANCHOR: `(?:[${r}]|$)`, SEP: "\\" }, j = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
|
1135
1135
|
i.exports = { MAX_LENGTH: 65536, POSIX_REGEX_SOURCE: j, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, extglobChars(E) {
|
|
1136
1136
|
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${E.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
|
1137
1137
|
}, globChars(E) {
|
|
1138
1138
|
return E === !0 ? P : A;
|
|
1139
1139
|
} };
|
|
1140
1140
|
}, 697: (i, r, c) => {
|
|
1141
|
-
const s = c(154), d = c(96), { MAX_LENGTH: l, POSIX_REGEX_SOURCE: h, REGEX_NON_SPECIAL_CHARS: u, REGEX_SPECIAL_CHARS_BACKREF: p, REPLACEMENTS: k } = s, C = (M,
|
|
1142
|
-
if (typeof
|
|
1143
|
-
return
|
|
1141
|
+
const s = c(154), d = c(96), { MAX_LENGTH: l, POSIX_REGEX_SOURCE: h, REGEX_NON_SPECIAL_CHARS: u, REGEX_SPECIAL_CHARS_BACKREF: p, REPLACEMENTS: k } = s, C = (M, N) => {
|
|
1142
|
+
if (typeof N.expandRange == "function")
|
|
1143
|
+
return N.expandRange(...M, N);
|
|
1144
1144
|
M.sort();
|
|
1145
1145
|
const f = `[${M.join("-")}]`;
|
|
1146
1146
|
try {
|
|
@@ -1149,110 +1149,110 @@ function Fb() {
|
|
|
1149
1149
|
return M.map((m) => d.escapeRegex(m)).join("..");
|
|
1150
1150
|
}
|
|
1151
1151
|
return f;
|
|
1152
|
-
}, g = (M,
|
|
1152
|
+
}, g = (M, N) => `Missing ${M}: "${N}" - use "\\\\${N}" to match literal characters`, x = (M, N) => {
|
|
1153
1153
|
if (typeof M != "string")
|
|
1154
1154
|
throw new TypeError("Expected a string");
|
|
1155
1155
|
M = k[M] || M;
|
|
1156
|
-
const f = { ...
|
|
1156
|
+
const f = { ...N }, w = typeof f.maxLength == "number" ? Math.min(l, f.maxLength) : l;
|
|
1157
1157
|
let m = M.length;
|
|
1158
1158
|
if (m > w)
|
|
1159
1159
|
throw new SyntaxError(`Input length: ${m}, exceeds maximum allowed length: ${w}`);
|
|
1160
|
-
const S = { type: "bos", value: "", output: f.prepend || "" }, A = [S], P = f.capture ? "" : "?:", j = s.globChars(f.windows), E = s.extglobChars(j), { DOT_LITERAL: q, PLUS_LITERAL: z, SLASH_LITERAL:
|
|
1161
|
-
let
|
|
1162
|
-
f.capture && (
|
|
1160
|
+
const S = { type: "bos", value: "", output: f.prepend || "" }, A = [S], P = f.capture ? "" : "?:", j = s.globChars(f.windows), E = s.extglobChars(j), { DOT_LITERAL: q, PLUS_LITERAL: z, SLASH_LITERAL: ne, ONE_CHAR: B, DOTS_SLASH: J, NO_DOT: X, NO_DOT_SLASH: Y, NO_DOTS_SLASH: ee, QMARK: te, QMARK_NO_DOT: v, STAR: R, START_ANCHOR: T } = j, O = (F) => `(${P}(?:(?!${T}${F.dot ? J : q}).)*?)`, H = f.dot ? "" : X, Q = f.dot ? te : v;
|
|
1161
|
+
let Z = f.bash === !0 ? O(f) : R;
|
|
1162
|
+
f.capture && (Z = `(${Z})`), typeof f.noext == "boolean" && (f.noextglob = f.noext);
|
|
1163
1163
|
const b = { input: M, index: -1, start: 0, dot: f.dot === !0, consumed: "", output: "", prefix: "", backtrack: !1, negated: !1, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: !1, tokens: A };
|
|
1164
1164
|
M = d.removePrefix(M, b), m = M.length;
|
|
1165
|
-
const U = [], V = [],
|
|
1166
|
-
let
|
|
1167
|
-
const fe = () => b.index === m - 1, K = b.peek = (F = 1) => M[b.index + F],
|
|
1165
|
+
const U = [], V = [], W = [];
|
|
1166
|
+
let I = S, L;
|
|
1167
|
+
const fe = () => b.index === m - 1, K = b.peek = (F = 1) => M[b.index + F], G = b.advance = () => M[++b.index] || "", re = () => M.slice(b.index + 1), Ie = (F = "", pe = 0) => {
|
|
1168
1168
|
b.consumed += F, b.index += pe;
|
|
1169
1169
|
}, ve = (F) => {
|
|
1170
1170
|
b.output += F.output != null ? F.output : F.value, Ie(F.value);
|
|
1171
1171
|
}, Me = () => {
|
|
1172
1172
|
let F = 1;
|
|
1173
1173
|
for (; K() === "!" && (K(2) !== "(" || K(3) === "?"); )
|
|
1174
|
-
|
|
1174
|
+
G(), b.start++, F++;
|
|
1175
1175
|
return F % 2 === 0 ? !1 : (b.negated = !0, b.start++, !0);
|
|
1176
1176
|
}, Pe = (F) => {
|
|
1177
|
-
b[F]++,
|
|
1177
|
+
b[F]++, W.push(F);
|
|
1178
1178
|
}, ge = (F) => {
|
|
1179
|
-
b[F]--,
|
|
1179
|
+
b[F]--, W.pop();
|
|
1180
1180
|
}, ie = (F) => {
|
|
1181
|
-
if (
|
|
1181
|
+
if (I.type === "globstar") {
|
|
1182
1182
|
const pe = b.braces > 0 && (F.type === "comma" || F.type === "brace"), D = F.extglob === !0 || U.length && (F.type === "pipe" || F.type === "paren");
|
|
1183
|
-
F.type !== "slash" && F.type !== "paren" && !pe && !D && (b.output = b.output.slice(0, -
|
|
1183
|
+
F.type !== "slash" && F.type !== "paren" && !pe && !D && (b.output = b.output.slice(0, -I.output.length), I.type = "star", I.value = "*", I.output = Z, b.output += I.output);
|
|
1184
1184
|
}
|
|
1185
|
-
if (U.length && F.type !== "paren" && (U[U.length - 1].inner += F.value), (F.value || F.output) && ve(F),
|
|
1186
|
-
|
|
1185
|
+
if (U.length && F.type !== "paren" && (U[U.length - 1].inner += F.value), (F.value || F.output) && ve(F), I && I.type === "text" && F.type === "text") {
|
|
1186
|
+
I.output = (I.output || I.value) + F.value, I.value += F.value;
|
|
1187
1187
|
return;
|
|
1188
1188
|
}
|
|
1189
|
-
F.prev =
|
|
1189
|
+
F.prev = I, A.push(F), I = F;
|
|
1190
1190
|
}, de = (F, pe) => {
|
|
1191
1191
|
const D = { ...E[pe], conditions: 1, inner: "" };
|
|
1192
|
-
D.prev =
|
|
1192
|
+
D.prev = I, D.parens = b.parens, D.output = b.output;
|
|
1193
1193
|
const $ = (f.capture ? "(" : "") + D.open;
|
|
1194
|
-
Pe("parens"), ie({ type: F, value: pe, output: b.output ? "" : B }), ie({ type: "paren", extglob: !0, value:
|
|
1194
|
+
Pe("parens"), ie({ type: F, value: pe, output: b.output ? "" : B }), ie({ type: "paren", extglob: !0, value: G(), output: $ }), U.push(D);
|
|
1195
1195
|
}, me = (F) => {
|
|
1196
1196
|
let pe = F.close + (f.capture ? ")" : ""), D;
|
|
1197
1197
|
if (F.type === "negate") {
|
|
1198
|
-
let $ =
|
|
1199
|
-
if (F.inner && F.inner.length > 1 && F.inner.includes("/") && ($ = O(f)), ($ !==
|
|
1200
|
-
const
|
|
1201
|
-
pe = F.close = `)${
|
|
1198
|
+
let $ = Z;
|
|
1199
|
+
if (F.inner && F.inner.length > 1 && F.inner.includes("/") && ($ = O(f)), ($ !== Z || fe() || /^\)+$/.test(re())) && (pe = F.close = `)$))${$}`), F.inner.includes("*") && (D = re()) && /^\.[^\\/.]+$/.test(D)) {
|
|
1200
|
+
const ae = x(D, { ...N, fastpaths: !1 }).output;
|
|
1201
|
+
pe = F.close = `)${ae})${$})`;
|
|
1202
1202
|
}
|
|
1203
1203
|
F.prev.type === "bos" && (b.negatedExtglob = !0);
|
|
1204
1204
|
}
|
|
1205
|
-
ie({ type: "paren", extglob: !0, value:
|
|
1205
|
+
ie({ type: "paren", extglob: !0, value: L, output: pe }), ge("parens");
|
|
1206
1206
|
};
|
|
1207
1207
|
if (f.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(M)) {
|
|
1208
|
-
let F = !1, pe = M.replace(p, (D, $,
|
|
1209
|
-
return F === !0 && (f.unescape === !0 ? pe = pe.replace(/\\/g, "") : pe = pe.replace(/\\+/g, (D) => D.length % 2 === 0 ? "\\\\" : D ? "\\" : "")), pe === M && f.contains === !0 ? (b.output = M, b) : (b.output = d.wrapOutput(pe, b,
|
|
1208
|
+
let F = !1, pe = M.replace(p, (D, $, ae, _e, le, Ee) => _e === "\\" ? (F = !0, D) : _e === "?" ? $ ? $ + _e + (le ? te.repeat(le.length) : "") : Ee === 0 ? Q + (le ? te.repeat(le.length) : "") : te.repeat(ae.length) : _e === "." ? q.repeat(ae.length) : _e === "*" ? $ ? $ + _e + (le ? Z : "") : Z : $ ? D : `\\${D}`);
|
|
1209
|
+
return F === !0 && (f.unescape === !0 ? pe = pe.replace(/\\/g, "") : pe = pe.replace(/\\+/g, (D) => D.length % 2 === 0 ? "\\\\" : D ? "\\" : "")), pe === M && f.contains === !0 ? (b.output = M, b) : (b.output = d.wrapOutput(pe, b, N), b);
|
|
1210
1210
|
}
|
|
1211
1211
|
for (; !fe(); ) {
|
|
1212
|
-
if (
|
|
1212
|
+
if (L = G(), L === "\0")
|
|
1213
1213
|
continue;
|
|
1214
|
-
if (
|
|
1214
|
+
if (L === "\\") {
|
|
1215
1215
|
const D = K();
|
|
1216
1216
|
if (D === "/" && f.bash !== !0 || D === "." || D === ";")
|
|
1217
1217
|
continue;
|
|
1218
1218
|
if (!D) {
|
|
1219
|
-
|
|
1219
|
+
L += "\\", ie({ type: "text", value: L });
|
|
1220
1220
|
continue;
|
|
1221
1221
|
}
|
|
1222
|
-
const $ = /^\\+/.exec(
|
|
1223
|
-
let
|
|
1224
|
-
if ($ && $[0].length > 2 && (
|
|
1225
|
-
ie({ type: "text", value:
|
|
1222
|
+
const $ = /^\\+/.exec(re());
|
|
1223
|
+
let ae = 0;
|
|
1224
|
+
if ($ && $[0].length > 2 && (ae = $[0].length, b.index += ae, ae % 2 !== 0 && (L += "\\")), f.unescape === !0 ? L = G() : L += G(), b.brackets === 0) {
|
|
1225
|
+
ie({ type: "text", value: L });
|
|
1226
1226
|
continue;
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
|
-
if (b.brackets > 0 && (
|
|
1230
|
-
if (f.posix !== !1 &&
|
|
1231
|
-
const D =
|
|
1232
|
-
if (D.includes("[") && (
|
|
1233
|
-
const $ =
|
|
1229
|
+
if (b.brackets > 0 && (L !== "]" || I.value === "[" || I.value === "[^")) {
|
|
1230
|
+
if (f.posix !== !1 && L === ":") {
|
|
1231
|
+
const D = I.value.slice(1);
|
|
1232
|
+
if (D.includes("[") && (I.posix = !0, D.includes(":"))) {
|
|
1233
|
+
const $ = I.value.lastIndexOf("["), ae = I.value.slice(0, $), _e = I.value.slice($ + 2), le = h[_e];
|
|
1234
1234
|
if (le) {
|
|
1235
|
-
|
|
1235
|
+
I.value = ae + le, b.backtrack = !0, G(), !S.output && A.indexOf(I) === 1 && (S.output = B);
|
|
1236
1236
|
continue;
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
|
-
(
|
|
1240
|
+
(L === "[" && K() !== ":" || L === "-" && K() === "]") && (L = `\\${L}`), L === "]" && (I.value === "[" || I.value === "[^") && (L = `\\${L}`), f.posix === !0 && L === "!" && I.value === "[" && (L = "^"), I.value += L, ve({ value: L });
|
|
1241
1241
|
continue;
|
|
1242
1242
|
}
|
|
1243
|
-
if (b.quotes === 1 &&
|
|
1244
|
-
|
|
1243
|
+
if (b.quotes === 1 && L !== '"') {
|
|
1244
|
+
L = d.escapeRegex(L), I.value += L, ve({ value: L });
|
|
1245
1245
|
continue;
|
|
1246
1246
|
}
|
|
1247
|
-
if (
|
|
1248
|
-
b.quotes = b.quotes === 1 ? 0 : 1, f.keepQuotes === !0 && ie({ type: "text", value:
|
|
1247
|
+
if (L === '"') {
|
|
1248
|
+
b.quotes = b.quotes === 1 ? 0 : 1, f.keepQuotes === !0 && ie({ type: "text", value: L });
|
|
1249
1249
|
continue;
|
|
1250
1250
|
}
|
|
1251
|
-
if (
|
|
1252
|
-
Pe("parens"), ie({ type: "paren", value:
|
|
1251
|
+
if (L === "(") {
|
|
1252
|
+
Pe("parens"), ie({ type: "paren", value: L });
|
|
1253
1253
|
continue;
|
|
1254
1254
|
}
|
|
1255
|
-
if (
|
|
1255
|
+
if (L === ")") {
|
|
1256
1256
|
if (b.parens === 0 && f.strictBrackets === !0)
|
|
1257
1257
|
throw new SyntaxError(g("opening", "("));
|
|
1258
1258
|
const D = U[U.length - 1];
|
|
@@ -1260,123 +1260,123 @@ function Fb() {
|
|
|
1260
1260
|
me(U.pop());
|
|
1261
1261
|
continue;
|
|
1262
1262
|
}
|
|
1263
|
-
ie({ type: "paren", value:
|
|
1263
|
+
ie({ type: "paren", value: L, output: b.parens ? ")" : "\\)" }), ge("parens");
|
|
1264
1264
|
continue;
|
|
1265
1265
|
}
|
|
1266
|
-
if (
|
|
1267
|
-
if (f.nobracket === !0 || !
|
|
1266
|
+
if (L === "[") {
|
|
1267
|
+
if (f.nobracket === !0 || !re().includes("]")) {
|
|
1268
1268
|
if (f.nobracket !== !0 && f.strictBrackets === !0)
|
|
1269
1269
|
throw new SyntaxError(g("closing", "]"));
|
|
1270
|
-
|
|
1270
|
+
L = `\\${L}`;
|
|
1271
1271
|
} else
|
|
1272
1272
|
Pe("brackets");
|
|
1273
|
-
ie({ type: "bracket", value:
|
|
1273
|
+
ie({ type: "bracket", value: L });
|
|
1274
1274
|
continue;
|
|
1275
1275
|
}
|
|
1276
|
-
if (
|
|
1277
|
-
if (f.nobracket === !0 ||
|
|
1278
|
-
ie({ type: "text", value:
|
|
1276
|
+
if (L === "]") {
|
|
1277
|
+
if (f.nobracket === !0 || I && I.type === "bracket" && I.value.length === 1) {
|
|
1278
|
+
ie({ type: "text", value: L, output: `\\${L}` });
|
|
1279
1279
|
continue;
|
|
1280
1280
|
}
|
|
1281
1281
|
if (b.brackets === 0) {
|
|
1282
1282
|
if (f.strictBrackets === !0)
|
|
1283
1283
|
throw new SyntaxError(g("opening", "["));
|
|
1284
|
-
ie({ type: "text", value:
|
|
1284
|
+
ie({ type: "text", value: L, output: `\\${L}` });
|
|
1285
1285
|
continue;
|
|
1286
1286
|
}
|
|
1287
1287
|
ge("brackets");
|
|
1288
|
-
const D =
|
|
1289
|
-
if (
|
|
1288
|
+
const D = I.value.slice(1);
|
|
1289
|
+
if (I.posix !== !0 && D[0] === "^" && !D.includes("/") && (L = `/${L}`), I.value += L, ve({ value: L }), f.literalBrackets === !1 || d.hasRegexChars(D))
|
|
1290
1290
|
continue;
|
|
1291
|
-
const $ = d.escapeRegex(
|
|
1292
|
-
if (b.output = b.output.slice(0, -
|
|
1293
|
-
b.output += $,
|
|
1291
|
+
const $ = d.escapeRegex(I.value);
|
|
1292
|
+
if (b.output = b.output.slice(0, -I.value.length), f.literalBrackets === !0) {
|
|
1293
|
+
b.output += $, I.value = $;
|
|
1294
1294
|
continue;
|
|
1295
1295
|
}
|
|
1296
|
-
|
|
1296
|
+
I.value = `(${P}${$}|${I.value})`, b.output += I.value;
|
|
1297
1297
|
continue;
|
|
1298
1298
|
}
|
|
1299
|
-
if (
|
|
1299
|
+
if (L === "{" && f.nobrace !== !0) {
|
|
1300
1300
|
Pe("braces");
|
|
1301
|
-
const D = { type: "brace", value:
|
|
1301
|
+
const D = { type: "brace", value: L, output: "(", outputIndex: b.output.length, tokensIndex: b.tokens.length };
|
|
1302
1302
|
V.push(D), ie(D);
|
|
1303
1303
|
continue;
|
|
1304
1304
|
}
|
|
1305
|
-
if (
|
|
1305
|
+
if (L === "}") {
|
|
1306
1306
|
const D = V[V.length - 1];
|
|
1307
1307
|
if (f.nobrace === !0 || !D) {
|
|
1308
|
-
ie({ type: "text", value:
|
|
1308
|
+
ie({ type: "text", value: L, output: L });
|
|
1309
1309
|
continue;
|
|
1310
1310
|
}
|
|
1311
1311
|
let $ = ")";
|
|
1312
1312
|
if (D.dots === !0) {
|
|
1313
|
-
const
|
|
1314
|
-
for (let le =
|
|
1315
|
-
|
|
1313
|
+
const ae = A.slice(), _e = [];
|
|
1314
|
+
for (let le = ae.length - 1; le >= 0 && (A.pop(), ae[le].type !== "brace"); le--)
|
|
1315
|
+
ae[le].type !== "dots" && _e.unshift(ae[le].value);
|
|
1316
1316
|
$ = C(_e, f), b.backtrack = !0;
|
|
1317
1317
|
}
|
|
1318
1318
|
if (D.comma !== !0 && D.dots !== !0) {
|
|
1319
|
-
const
|
|
1320
|
-
D.value = D.output = "\\{",
|
|
1319
|
+
const ae = b.output.slice(0, D.outputIndex), _e = b.tokens.slice(D.tokensIndex);
|
|
1320
|
+
D.value = D.output = "\\{", L = $ = "\\}", b.output = ae;
|
|
1321
1321
|
for (const le of _e)
|
|
1322
1322
|
b.output += le.output || le.value;
|
|
1323
1323
|
}
|
|
1324
|
-
ie({ type: "brace", value:
|
|
1324
|
+
ie({ type: "brace", value: L, output: $ }), ge("braces"), V.pop();
|
|
1325
1325
|
continue;
|
|
1326
1326
|
}
|
|
1327
|
-
if (
|
|
1328
|
-
U.length > 0 && U[U.length - 1].conditions++, ie({ type: "text", value:
|
|
1327
|
+
if (L === "|") {
|
|
1328
|
+
U.length > 0 && U[U.length - 1].conditions++, ie({ type: "text", value: L });
|
|
1329
1329
|
continue;
|
|
1330
1330
|
}
|
|
1331
|
-
if (
|
|
1332
|
-
let D =
|
|
1331
|
+
if (L === ",") {
|
|
1332
|
+
let D = L;
|
|
1333
1333
|
const $ = V[V.length - 1];
|
|
1334
|
-
$ &&
|
|
1334
|
+
$ && W[W.length - 1] === "braces" && ($.comma = !0, D = "|"), ie({ type: "comma", value: L, output: D });
|
|
1335
1335
|
continue;
|
|
1336
1336
|
}
|
|
1337
|
-
if (
|
|
1338
|
-
if (
|
|
1339
|
-
b.start = b.index + 1, b.consumed = "", b.output = "", A.pop(),
|
|
1337
|
+
if (L === "/") {
|
|
1338
|
+
if (I.type === "dot" && b.index === b.start + 1) {
|
|
1339
|
+
b.start = b.index + 1, b.consumed = "", b.output = "", A.pop(), I = S;
|
|
1340
1340
|
continue;
|
|
1341
1341
|
}
|
|
1342
|
-
ie({ type: "slash", value:
|
|
1342
|
+
ie({ type: "slash", value: L, output: ne });
|
|
1343
1343
|
continue;
|
|
1344
1344
|
}
|
|
1345
|
-
if (
|
|
1346
|
-
if (b.braces > 0 &&
|
|
1347
|
-
|
|
1345
|
+
if (L === ".") {
|
|
1346
|
+
if (b.braces > 0 && I.type === "dot") {
|
|
1347
|
+
I.value === "." && (I.output = q);
|
|
1348
1348
|
const D = V[V.length - 1];
|
|
1349
|
-
|
|
1349
|
+
I.type = "dots", I.output += L, I.value += L, D.dots = !0;
|
|
1350
1350
|
continue;
|
|
1351
1351
|
}
|
|
1352
|
-
if (b.braces + b.parens === 0 &&
|
|
1353
|
-
ie({ type: "text", value:
|
|
1352
|
+
if (b.braces + b.parens === 0 && I.type !== "bos" && I.type !== "slash") {
|
|
1353
|
+
ie({ type: "text", value: L, output: q });
|
|
1354
1354
|
continue;
|
|
1355
1355
|
}
|
|
1356
|
-
ie({ type: "dot", value:
|
|
1356
|
+
ie({ type: "dot", value: L, output: q });
|
|
1357
1357
|
continue;
|
|
1358
1358
|
}
|
|
1359
|
-
if (
|
|
1360
|
-
if (!(
|
|
1361
|
-
de("qmark",
|
|
1359
|
+
if (L === "?") {
|
|
1360
|
+
if (!(I && I.value === "(") && f.noextglob !== !0 && K() === "(" && K(2) !== "?") {
|
|
1361
|
+
de("qmark", L);
|
|
1362
1362
|
continue;
|
|
1363
1363
|
}
|
|
1364
|
-
if (
|
|
1364
|
+
if (I && I.type === "paren") {
|
|
1365
1365
|
const $ = K();
|
|
1366
|
-
let
|
|
1367
|
-
(
|
|
1366
|
+
let ae = L;
|
|
1367
|
+
(I.value === "(" && !/[!=<:]/.test($) || $ === "<" && !/<([!=]|\w+>)/.test(re())) && (ae = `\\${L}`), ie({ type: "text", value: L, output: ae });
|
|
1368
1368
|
continue;
|
|
1369
1369
|
}
|
|
1370
|
-
if (f.dot !== !0 && (
|
|
1371
|
-
ie({ type: "qmark", value:
|
|
1370
|
+
if (f.dot !== !0 && (I.type === "slash" || I.type === "bos")) {
|
|
1371
|
+
ie({ type: "qmark", value: L, output: v });
|
|
1372
1372
|
continue;
|
|
1373
1373
|
}
|
|
1374
|
-
ie({ type: "qmark", value:
|
|
1374
|
+
ie({ type: "qmark", value: L, output: te });
|
|
1375
1375
|
continue;
|
|
1376
1376
|
}
|
|
1377
|
-
if (
|
|
1377
|
+
if (L === "!") {
|
|
1378
1378
|
if (f.noextglob !== !0 && K() === "(" && (K(2) !== "?" || !/[!=<:]/.test(K(3)))) {
|
|
1379
|
-
de("negate",
|
|
1379
|
+
de("negate", L);
|
|
1380
1380
|
continue;
|
|
1381
1381
|
}
|
|
1382
1382
|
if (f.nonegate !== !0 && b.index === 0) {
|
|
@@ -1384,58 +1384,58 @@ function Fb() {
|
|
|
1384
1384
|
continue;
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
|
-
if (
|
|
1387
|
+
if (L === "+") {
|
|
1388
1388
|
if (f.noextglob !== !0 && K() === "(" && K(2) !== "?") {
|
|
1389
|
-
de("plus",
|
|
1389
|
+
de("plus", L);
|
|
1390
1390
|
continue;
|
|
1391
1391
|
}
|
|
1392
|
-
if (
|
|
1393
|
-
ie({ type: "plus", value:
|
|
1392
|
+
if (I && I.value === "(" || f.regex === !1) {
|
|
1393
|
+
ie({ type: "plus", value: L, output: z });
|
|
1394
1394
|
continue;
|
|
1395
1395
|
}
|
|
1396
|
-
if (
|
|
1397
|
-
ie({ type: "plus", value:
|
|
1396
|
+
if (I && (I.type === "bracket" || I.type === "paren" || I.type === "brace") || b.parens > 0) {
|
|
1397
|
+
ie({ type: "plus", value: L });
|
|
1398
1398
|
continue;
|
|
1399
1399
|
}
|
|
1400
1400
|
ie({ type: "plus", value: z });
|
|
1401
1401
|
continue;
|
|
1402
1402
|
}
|
|
1403
|
-
if (
|
|
1403
|
+
if (L === "@") {
|
|
1404
1404
|
if (f.noextglob !== !0 && K() === "(" && K(2) !== "?") {
|
|
1405
|
-
ie({ type: "at", extglob: !0, value:
|
|
1405
|
+
ie({ type: "at", extglob: !0, value: L, output: "" });
|
|
1406
1406
|
continue;
|
|
1407
1407
|
}
|
|
1408
|
-
ie({ type: "text", value:
|
|
1408
|
+
ie({ type: "text", value: L });
|
|
1409
1409
|
continue;
|
|
1410
1410
|
}
|
|
1411
|
-
if (
|
|
1412
|
-
(
|
|
1413
|
-
const D = u.exec(
|
|
1414
|
-
D && (
|
|
1411
|
+
if (L !== "*") {
|
|
1412
|
+
(L === "$" || L === "^") && (L = `\\${L}`);
|
|
1413
|
+
const D = u.exec(re());
|
|
1414
|
+
D && (L += D[0], b.index += D[0].length), ie({ type: "text", value: L });
|
|
1415
1415
|
continue;
|
|
1416
1416
|
}
|
|
1417
|
-
if (
|
|
1418
|
-
|
|
1417
|
+
if (I && (I.type === "globstar" || I.star === !0)) {
|
|
1418
|
+
I.type = "star", I.star = !0, I.value += L, I.output = Z, b.backtrack = !0, b.globstar = !0, Ie(L);
|
|
1419
1419
|
continue;
|
|
1420
1420
|
}
|
|
1421
|
-
let F =
|
|
1421
|
+
let F = re();
|
|
1422
1422
|
if (f.noextglob !== !0 && /^\([^?]/.test(F)) {
|
|
1423
|
-
de("star",
|
|
1423
|
+
de("star", L);
|
|
1424
1424
|
continue;
|
|
1425
1425
|
}
|
|
1426
|
-
if (
|
|
1426
|
+
if (I.type === "star") {
|
|
1427
1427
|
if (f.noglobstar === !0) {
|
|
1428
|
-
Ie(
|
|
1428
|
+
Ie(L);
|
|
1429
1429
|
continue;
|
|
1430
1430
|
}
|
|
1431
|
-
const D =
|
|
1432
|
-
if (f.bash === !0 && (!
|
|
1433
|
-
ie({ type: "star", value:
|
|
1431
|
+
const D = I.prev, $ = D.prev, ae = D.type === "slash" || D.type === "bos", _e = $ && ($.type === "star" || $.type === "globstar");
|
|
1432
|
+
if (f.bash === !0 && (!ae || F[0] && F[0] !== "/")) {
|
|
1433
|
+
ie({ type: "star", value: L, output: "" });
|
|
1434
1434
|
continue;
|
|
1435
1435
|
}
|
|
1436
1436
|
const le = b.braces > 0 && (D.type === "comma" || D.type === "brace"), Ee = U.length && (D.type === "pipe" || D.type === "paren");
|
|
1437
|
-
if (!
|
|
1438
|
-
ie({ type: "star", value:
|
|
1437
|
+
if (!ae && D.type !== "paren" && !le && !Ee) {
|
|
1438
|
+
ie({ type: "star", value: L, output: "" });
|
|
1439
1439
|
continue;
|
|
1440
1440
|
}
|
|
1441
1441
|
for (; F.slice(0, 3) === "/**"; ) {
|
|
@@ -1445,35 +1445,35 @@ function Fb() {
|
|
|
1445
1445
|
F = F.slice(3), Ie("/**", 3);
|
|
1446
1446
|
}
|
|
1447
1447
|
if (D.type === "bos" && fe()) {
|
|
1448
|
-
|
|
1448
|
+
I.type = "globstar", I.value += L, I.output = O(f), b.output = I.output, b.globstar = !0, Ie(L);
|
|
1449
1449
|
continue;
|
|
1450
1450
|
}
|
|
1451
1451
|
if (D.type === "slash" && D.prev.type !== "bos" && !_e && fe()) {
|
|
1452
|
-
b.output = b.output.slice(0, -(D.output +
|
|
1452
|
+
b.output = b.output.slice(0, -(D.output + I.output).length), D.output = `(?:${D.output}`, I.type = "globstar", I.output = O(f) + (f.strictSlashes ? ")" : "|$)"), I.value += L, b.globstar = !0, b.output += D.output + I.output, Ie(L);
|
|
1453
1453
|
continue;
|
|
1454
1454
|
}
|
|
1455
1455
|
if (D.type === "slash" && D.prev.type !== "bos" && F[0] === "/") {
|
|
1456
1456
|
const Ha = F[1] !== void 0 ? "|$" : "";
|
|
1457
|
-
b.output = b.output.slice(0, -(D.output +
|
|
1457
|
+
b.output = b.output.slice(0, -(D.output + I.output).length), D.output = `(?:${D.output}`, I.type = "globstar", I.output = `${O(f)}${ne}|${ne}${Ha})`, I.value += L, b.output += D.output + I.output, b.globstar = !0, Ie(L + G()), ie({ type: "slash", value: "/", output: "" });
|
|
1458
1458
|
continue;
|
|
1459
1459
|
}
|
|
1460
1460
|
if (D.type === "bos" && F[0] === "/") {
|
|
1461
|
-
|
|
1461
|
+
I.type = "globstar", I.value += L, I.output = `(?:^|${ne}|${O(f)}${ne})`, b.output = I.output, b.globstar = !0, Ie(L + G()), ie({ type: "slash", value: "/", output: "" });
|
|
1462
1462
|
continue;
|
|
1463
1463
|
}
|
|
1464
|
-
b.output = b.output.slice(0, -
|
|
1464
|
+
b.output = b.output.slice(0, -I.output.length), I.type = "globstar", I.output = O(f), I.value += L, b.output += I.output, b.globstar = !0, Ie(L);
|
|
1465
1465
|
continue;
|
|
1466
1466
|
}
|
|
1467
|
-
const pe = { type: "star", value:
|
|
1467
|
+
const pe = { type: "star", value: L, output: Z };
|
|
1468
1468
|
if (f.bash === !0) {
|
|
1469
|
-
pe.output = ".*?", (
|
|
1469
|
+
pe.output = ".*?", (I.type === "bos" || I.type === "slash") && (pe.output = H + pe.output), ie(pe);
|
|
1470
1470
|
continue;
|
|
1471
1471
|
}
|
|
1472
|
-
if (
|
|
1473
|
-
pe.output =
|
|
1472
|
+
if (I && (I.type === "bracket" || I.type === "paren") && f.regex === !0) {
|
|
1473
|
+
pe.output = L, ie(pe);
|
|
1474
1474
|
continue;
|
|
1475
1475
|
}
|
|
1476
|
-
(b.index === b.start ||
|
|
1476
|
+
(b.index === b.start || I.type === "slash" || I.type === "dot") && (I.type === "dot" ? (b.output += Y, I.output += Y) : f.dot === !0 ? (b.output += ee, I.output += ee) : (b.output += H, I.output += H), K() !== "*" && (b.output += B, I.output += B)), ie(pe);
|
|
1477
1477
|
}
|
|
1478
1478
|
for (; b.brackets > 0; ) {
|
|
1479
1479
|
if (f.strictBrackets === !0) throw new SyntaxError(g("closing", "]"));
|
|
@@ -1487,50 +1487,50 @@ function Fb() {
|
|
|
1487
1487
|
if (f.strictBrackets === !0) throw new SyntaxError(g("closing", "}"));
|
|
1488
1488
|
b.output = d.escapeLast(b.output, "{"), ge("braces");
|
|
1489
1489
|
}
|
|
1490
|
-
if (f.strictSlashes !== !0 && (
|
|
1490
|
+
if (f.strictSlashes !== !0 && (I.type === "star" || I.type === "bracket") && ie({ type: "maybe_slash", value: "", output: `${ne}?` }), b.backtrack === !0) {
|
|
1491
1491
|
b.output = "";
|
|
1492
1492
|
for (const F of b.tokens)
|
|
1493
1493
|
b.output += F.output != null ? F.output : F.value, F.suffix && (b.output += F.suffix);
|
|
1494
1494
|
}
|
|
1495
1495
|
return b;
|
|
1496
1496
|
};
|
|
1497
|
-
|
|
1498
|
-
const f = { ...
|
|
1497
|
+
x.fastpaths = (M, N) => {
|
|
1498
|
+
const f = { ...N }, w = typeof f.maxLength == "number" ? Math.min(l, f.maxLength) : l, m = M.length;
|
|
1499
1499
|
if (m > w)
|
|
1500
1500
|
throw new SyntaxError(`Input length: ${m}, exceeds maximum allowed length: ${w}`);
|
|
1501
1501
|
M = k[M] || M;
|
|
1502
|
-
const { DOT_LITERAL: S, SLASH_LITERAL: A, ONE_CHAR: P, DOTS_SLASH: j, NO_DOT: E, NO_DOTS: q, NO_DOTS_SLASH: z, STAR:
|
|
1503
|
-
let
|
|
1504
|
-
f.capture && (
|
|
1505
|
-
const v = (H) => H.noglobstar === !0 ?
|
|
1502
|
+
const { DOT_LITERAL: S, SLASH_LITERAL: A, ONE_CHAR: P, DOTS_SLASH: j, NO_DOT: E, NO_DOTS: q, NO_DOTS_SLASH: z, STAR: ne, START_ANCHOR: B } = s.globChars(f.windows), J = f.dot ? q : E, X = f.dot ? z : E, Y = f.capture ? "" : "?:", ee = { negated: !1, prefix: "" };
|
|
1503
|
+
let te = f.bash === !0 ? ".*?" : ne;
|
|
1504
|
+
f.capture && (te = `(${te})`);
|
|
1505
|
+
const v = (H) => H.noglobstar === !0 ? te : `(${Y}(?:(?!${B}${H.dot ? j : S}).)*?)`, R = (H) => {
|
|
1506
1506
|
switch (H) {
|
|
1507
1507
|
case "*":
|
|
1508
|
-
return `${
|
|
1508
|
+
return `${J}${P}${te}`;
|
|
1509
1509
|
case ".*":
|
|
1510
|
-
return `${S}${P}${
|
|
1510
|
+
return `${S}${P}${te}`;
|
|
1511
1511
|
case "*.*":
|
|
1512
|
-
return `${
|
|
1512
|
+
return `${J}${te}${S}${P}${te}`;
|
|
1513
1513
|
case "*/*":
|
|
1514
|
-
return `${
|
|
1514
|
+
return `${J}${te}${A}${P}${X}${te}`;
|
|
1515
1515
|
case "**":
|
|
1516
|
-
return
|
|
1516
|
+
return J + v(f);
|
|
1517
1517
|
case "**/*":
|
|
1518
|
-
return `(?:${
|
|
1518
|
+
return `(?:${J}${v(f)}${A})?${X}${P}${te}`;
|
|
1519
1519
|
case "**/*.*":
|
|
1520
|
-
return `(?:${
|
|
1520
|
+
return `(?:${J}${v(f)}${A})?${X}${te}${S}${P}${te}`;
|
|
1521
1521
|
case "**/.*":
|
|
1522
|
-
return `(?:${
|
|
1522
|
+
return `(?:${J}${v(f)}${A})?${S}${P}${te}`;
|
|
1523
1523
|
default: {
|
|
1524
|
-
const
|
|
1525
|
-
if (!
|
|
1526
|
-
const
|
|
1527
|
-
return
|
|
1524
|
+
const Q = /^(.*?)\.(\w+)$/.exec(H);
|
|
1525
|
+
if (!Q) return;
|
|
1526
|
+
const Z = R(Q[1]);
|
|
1527
|
+
return Z ? Z + S + Q[2] : void 0;
|
|
1528
1528
|
}
|
|
1529
1529
|
}
|
|
1530
|
-
}, T = d.removePrefix(M,
|
|
1530
|
+
}, T = d.removePrefix(M, ee);
|
|
1531
1531
|
let O = R(T);
|
|
1532
1532
|
return O && f.strictSlashes !== !0 && (O += `${A}?`), O;
|
|
1533
|
-
}, i.exports =
|
|
1533
|
+
}, i.exports = x;
|
|
1534
1534
|
}, 510: (i, r, c) => {
|
|
1535
1535
|
const s = c(716), d = c(697), l = c(96), h = c(154), u = (k) => k && typeof k == "object" && !Array.isArray(k), p = (k, C, g = !1) => {
|
|
1536
1536
|
if (Array.isArray(k)) {
|
|
@@ -1543,10 +1543,10 @@ function Fb() {
|
|
|
1543
1543
|
return !1;
|
|
1544
1544
|
};
|
|
1545
1545
|
}
|
|
1546
|
-
const
|
|
1547
|
-
if (k === "" || typeof k != "string" && !
|
|
1546
|
+
const x = u(k) && k.tokens && k.input;
|
|
1547
|
+
if (k === "" || typeof k != "string" && !x)
|
|
1548
1548
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
1549
|
-
const M = C || {},
|
|
1549
|
+
const M = C || {}, N = M.windows, f = x ? p.compileRe(k, C) : p.makeRe(k, C, !1, !0), w = f.state;
|
|
1550
1550
|
delete f.state;
|
|
1551
1551
|
let m = () => !1;
|
|
1552
1552
|
if (M.ignore) {
|
|
@@ -1554,32 +1554,32 @@ function Fb() {
|
|
|
1554
1554
|
m = p(M.ignore, A, g);
|
|
1555
1555
|
}
|
|
1556
1556
|
const S = (A, P = !1) => {
|
|
1557
|
-
const { isMatch: j, match: E, output: q } = p.test(A, f, C, { glob: k, posix:
|
|
1557
|
+
const { isMatch: j, match: E, output: q } = p.test(A, f, C, { glob: k, posix: N }), z = { glob: k, state: w, regex: f, posix: N, input: A, output: q, match: E, isMatch: j };
|
|
1558
1558
|
return typeof M.onResult == "function" && M.onResult(z), j === !1 ? (z.isMatch = !1, P ? z : !1) : m(A) ? (typeof M.onIgnore == "function" && M.onIgnore(z), z.isMatch = !1, P ? z : !1) : (typeof M.onMatch == "function" && M.onMatch(z), P ? z : !0);
|
|
1559
1559
|
};
|
|
1560
1560
|
return g && (S.state = w), S;
|
|
1561
1561
|
};
|
|
1562
|
-
p.test = (k, C, g, { glob:
|
|
1562
|
+
p.test = (k, C, g, { glob: x, posix: M } = {}) => {
|
|
1563
1563
|
if (typeof k != "string")
|
|
1564
1564
|
throw new TypeError("Expected input to be a string");
|
|
1565
1565
|
if (k === "")
|
|
1566
1566
|
return { isMatch: !1, output: "" };
|
|
1567
|
-
const
|
|
1568
|
-
let w = k ===
|
|
1569
|
-
return w === !1 && (m = f ? f(k) : k, w = m ===
|
|
1570
|
-
}, p.matchBase = (k, C, g) => (C instanceof RegExp ? C : p.makeRe(C, g)).test(l.basename(k)), p.isMatch = (k, C, g) => p(C, g)(k), p.parse = (k, C) => Array.isArray(k) ? k.map((g) => p.parse(g, C)) : d(k, { ...C, fastpaths: !1 }), p.scan = (k, C) => s(k, C), p.compileRe = (k, C, g = !1,
|
|
1567
|
+
const N = g || {}, f = N.format || (M ? l.toPosixSlashes : null);
|
|
1568
|
+
let w = k === x, m = w && f ? f(k) : k;
|
|
1569
|
+
return w === !1 && (m = f ? f(k) : k, w = m === x), (w === !1 || N.capture === !0) && (N.matchBase === !0 || N.basename === !0 ? w = p.matchBase(k, C, g, M) : w = C.exec(m)), { isMatch: !!w, match: w, output: m };
|
|
1570
|
+
}, p.matchBase = (k, C, g) => (C instanceof RegExp ? C : p.makeRe(C, g)).test(l.basename(k)), p.isMatch = (k, C, g) => p(C, g)(k), p.parse = (k, C) => Array.isArray(k) ? k.map((g) => p.parse(g, C)) : d(k, { ...C, fastpaths: !1 }), p.scan = (k, C) => s(k, C), p.compileRe = (k, C, g = !1, x = !1) => {
|
|
1571
1571
|
if (g === !0)
|
|
1572
1572
|
return k.output;
|
|
1573
|
-
const M = C || {},
|
|
1574
|
-
let w = `${
|
|
1573
|
+
const M = C || {}, N = M.contains ? "" : "^", f = M.contains ? "" : "$";
|
|
1574
|
+
let w = `${N}(?:${k.output})${f}`;
|
|
1575
1575
|
k && k.negated === !0 && (w = `^(?!${w}).*$`);
|
|
1576
1576
|
const m = p.toRegex(w, C);
|
|
1577
|
-
return
|
|
1578
|
-
}, p.makeRe = (k, C = {}, g = !1,
|
|
1577
|
+
return x === !0 && (m.state = k), m;
|
|
1578
|
+
}, p.makeRe = (k, C = {}, g = !1, x = !1) => {
|
|
1579
1579
|
if (!k || typeof k != "string")
|
|
1580
1580
|
throw new TypeError("Expected a non-empty string");
|
|
1581
1581
|
let M = { negated: !1, fastpaths: !0 };
|
|
1582
|
-
return C.fastpaths !== !1 && (k[0] === "." || k[0] === "*") && (M.output = d.fastpaths(k, C)), M.output || (M = d(k, C)), p.compileRe(M, C, g,
|
|
1582
|
+
return C.fastpaths !== !1 && (k[0] === "." || k[0] === "*") && (M.output = d.fastpaths(k, C)), M.output || (M = d(k, C)), p.compileRe(M, C, g, x);
|
|
1583
1583
|
}, p.toRegex = (k, C) => {
|
|
1584
1584
|
try {
|
|
1585
1585
|
const g = C || {};
|
|
@@ -1590,41 +1590,41 @@ function Fb() {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
}, p.constants = h, i.exports = p;
|
|
1592
1592
|
}, 716: (i, r, c) => {
|
|
1593
|
-
const s = c(96), { CHAR_ASTERISK: d, CHAR_AT: l, CHAR_BACKWARD_SLASH: h, CHAR_COMMA: u, CHAR_DOT: p, CHAR_EXCLAMATION_MARK: k, CHAR_FORWARD_SLASH: C, CHAR_LEFT_CURLY_BRACE: g, CHAR_LEFT_PARENTHESES:
|
|
1593
|
+
const s = c(96), { CHAR_ASTERISK: d, CHAR_AT: l, CHAR_BACKWARD_SLASH: h, CHAR_COMMA: u, CHAR_DOT: p, CHAR_EXCLAMATION_MARK: k, CHAR_FORWARD_SLASH: C, CHAR_LEFT_CURLY_BRACE: g, CHAR_LEFT_PARENTHESES: x, CHAR_LEFT_SQUARE_BRACKET: M, CHAR_PLUS: N, CHAR_QUESTION_MARK: f, CHAR_RIGHT_CURLY_BRACE: w, CHAR_RIGHT_PARENTHESES: m, CHAR_RIGHT_SQUARE_BRACKET: S } = c(154), A = (E) => E === C || E === h, P = (E) => {
|
|
1594
1594
|
E.isPrefix !== !0 && (E.depth = E.isGlobstar ? 1 / 0 : 1);
|
|
1595
1595
|
}, j = (E, q) => {
|
|
1596
|
-
const z = q || {},
|
|
1597
|
-
let
|
|
1598
|
-
const
|
|
1599
|
-
for (;
|
|
1596
|
+
const z = q || {}, ne = E.length - 1, B = z.parts === !0 || z.scanToEnd === !0, J = [], X = [], Y = [];
|
|
1597
|
+
let ee = E, te = -1, v = 0, R = 0, T = !1, O = !1, H = !1, Q = !1, Z = !1, b = !1, U = !1, V = !1, W = !1, I = !1, L = 0, fe, K, G = { value: "", depth: 0, isGlob: !1 };
|
|
1598
|
+
const re = () => te >= ne, Ie = () => ee.charCodeAt(te + 1), ve = () => (fe = K, ee.charCodeAt(++te));
|
|
1599
|
+
for (; te < ne; ) {
|
|
1600
1600
|
K = ve();
|
|
1601
1601
|
let de;
|
|
1602
1602
|
if (K === h) {
|
|
1603
|
-
U =
|
|
1603
|
+
U = G.backslashes = !0, K = ve(), K === g && (b = !0);
|
|
1604
1604
|
continue;
|
|
1605
1605
|
}
|
|
1606
1606
|
if (b === !0 || K === g) {
|
|
1607
|
-
for (
|
|
1607
|
+
for (L++; re() !== !0 && (K = ve()); ) {
|
|
1608
1608
|
if (K === h) {
|
|
1609
|
-
U =
|
|
1609
|
+
U = G.backslashes = !0, ve();
|
|
1610
1610
|
continue;
|
|
1611
1611
|
}
|
|
1612
1612
|
if (K === g) {
|
|
1613
|
-
|
|
1613
|
+
L++;
|
|
1614
1614
|
continue;
|
|
1615
1615
|
}
|
|
1616
1616
|
if (b !== !0 && K === p && (K = ve()) === p) {
|
|
1617
|
-
if (T =
|
|
1617
|
+
if (T = G.isBrace = !0, H = G.isGlob = !0, I = !0, B === !0)
|
|
1618
1618
|
continue;
|
|
1619
1619
|
break;
|
|
1620
1620
|
}
|
|
1621
1621
|
if (b !== !0 && K === u) {
|
|
1622
|
-
if (T =
|
|
1622
|
+
if (T = G.isBrace = !0, H = G.isGlob = !0, I = !0, B === !0)
|
|
1623
1623
|
continue;
|
|
1624
1624
|
break;
|
|
1625
1625
|
}
|
|
1626
|
-
if (K === w && (
|
|
1627
|
-
b = !1, T =
|
|
1626
|
+
if (K === w && (L--, L === 0)) {
|
|
1627
|
+
b = !1, T = G.isBrace = !0, I = !0;
|
|
1628
1628
|
break;
|
|
1629
1629
|
}
|
|
1630
1630
|
}
|
|
@@ -1633,23 +1633,23 @@ function Fb() {
|
|
|
1633
1633
|
break;
|
|
1634
1634
|
}
|
|
1635
1635
|
if (K === C) {
|
|
1636
|
-
if (
|
|
1637
|
-
if (fe === p &&
|
|
1636
|
+
if (J.push(te), X.push(G), G = { value: "", depth: 0, isGlob: !1 }, I === !0) continue;
|
|
1637
|
+
if (fe === p && te === v + 1) {
|
|
1638
1638
|
v += 2;
|
|
1639
1639
|
continue;
|
|
1640
1640
|
}
|
|
1641
|
-
R =
|
|
1641
|
+
R = te + 1;
|
|
1642
1642
|
continue;
|
|
1643
1643
|
}
|
|
1644
|
-
if (z.noext !== !0 && (K ===
|
|
1645
|
-
if (H =
|
|
1646
|
-
for (;
|
|
1644
|
+
if (z.noext !== !0 && (K === N || K === l || K === d || K === f || K === k) === !0 && Ie() === x) {
|
|
1645
|
+
if (H = G.isGlob = !0, Q = G.isExtglob = !0, I = !0, K === k && te === v && (W = !0), B === !0) {
|
|
1646
|
+
for (; re() !== !0 && (K = ve()); ) {
|
|
1647
1647
|
if (K === h) {
|
|
1648
|
-
U =
|
|
1648
|
+
U = G.backslashes = !0, K = ve();
|
|
1649
1649
|
continue;
|
|
1650
1650
|
}
|
|
1651
1651
|
if (K === m) {
|
|
1652
|
-
H =
|
|
1652
|
+
H = G.isGlob = !0, I = !0;
|
|
1653
1653
|
break;
|
|
1654
1654
|
}
|
|
1655
1655
|
}
|
|
@@ -1658,23 +1658,23 @@ function Fb() {
|
|
|
1658
1658
|
break;
|
|
1659
1659
|
}
|
|
1660
1660
|
if (K === d) {
|
|
1661
|
-
if (fe === d && (
|
|
1661
|
+
if (fe === d && (Z = G.isGlobstar = !0), H = G.isGlob = !0, I = !0, B === !0)
|
|
1662
1662
|
continue;
|
|
1663
1663
|
break;
|
|
1664
1664
|
}
|
|
1665
1665
|
if (K === f) {
|
|
1666
|
-
if (H =
|
|
1666
|
+
if (H = G.isGlob = !0, I = !0, B === !0)
|
|
1667
1667
|
continue;
|
|
1668
1668
|
break;
|
|
1669
1669
|
}
|
|
1670
1670
|
if (K === M) {
|
|
1671
|
-
for (;
|
|
1671
|
+
for (; re() !== !0 && (de = ve()); ) {
|
|
1672
1672
|
if (de === h) {
|
|
1673
|
-
U =
|
|
1673
|
+
U = G.backslashes = !0, ve();
|
|
1674
1674
|
continue;
|
|
1675
1675
|
}
|
|
1676
1676
|
if (de === S) {
|
|
1677
|
-
O =
|
|
1677
|
+
O = G.isBracket = !0, H = G.isGlob = !0, I = !0;
|
|
1678
1678
|
break;
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
@@ -1682,19 +1682,19 @@ function Fb() {
|
|
|
1682
1682
|
continue;
|
|
1683
1683
|
break;
|
|
1684
1684
|
}
|
|
1685
|
-
if (z.nonegate !== !0 && K === k &&
|
|
1686
|
-
V =
|
|
1685
|
+
if (z.nonegate !== !0 && K === k && te === v) {
|
|
1686
|
+
V = G.negated = !0, v++;
|
|
1687
1687
|
continue;
|
|
1688
1688
|
}
|
|
1689
|
-
if (z.noparen !== !0 && K ===
|
|
1690
|
-
if (H =
|
|
1691
|
-
for (;
|
|
1692
|
-
if (K ===
|
|
1693
|
-
U =
|
|
1689
|
+
if (z.noparen !== !0 && K === x) {
|
|
1690
|
+
if (H = G.isGlob = !0, B === !0) {
|
|
1691
|
+
for (; re() !== !0 && (K = ve()); ) {
|
|
1692
|
+
if (K === x) {
|
|
1693
|
+
U = G.backslashes = !0, K = ve();
|
|
1694
1694
|
continue;
|
|
1695
1695
|
}
|
|
1696
1696
|
if (K === m) {
|
|
1697
|
-
|
|
1697
|
+
I = !0;
|
|
1698
1698
|
break;
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
@@ -1703,26 +1703,26 @@ function Fb() {
|
|
|
1703
1703
|
break;
|
|
1704
1704
|
}
|
|
1705
1705
|
if (H === !0) {
|
|
1706
|
-
if (
|
|
1706
|
+
if (I = !0, B === !0)
|
|
1707
1707
|
continue;
|
|
1708
1708
|
break;
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
|
-
z.noext === !0 && (
|
|
1712
|
-
let Me =
|
|
1713
|
-
v > 0 && (Pe =
|
|
1714
|
-
const ie = { prefix: Pe, input: E, start: v, base: Me, glob: ge, isBrace: T, isBracket: O, isGlob: H, isExtglob:
|
|
1715
|
-
if (z.tokens === !0 && (ie.maxDepth = 0, A(K) ||
|
|
1711
|
+
z.noext === !0 && (Q = !1, H = !1);
|
|
1712
|
+
let Me = ee, Pe = "", ge = "";
|
|
1713
|
+
v > 0 && (Pe = ee.slice(0, v), ee = ee.slice(v), R -= v), Me && H === !0 && R > 0 ? (Me = ee.slice(0, R), ge = ee.slice(R)) : H === !0 ? (Me = "", ge = ee) : Me = ee, Me && Me !== "" && Me !== "/" && Me !== ee && A(Me.charCodeAt(Me.length - 1)) && (Me = Me.slice(0, -1)), z.unescape === !0 && (ge && (ge = s.removeBackslashes(ge)), Me && U === !0 && (Me = s.removeBackslashes(Me)));
|
|
1714
|
+
const ie = { prefix: Pe, input: E, start: v, base: Me, glob: ge, isBrace: T, isBracket: O, isGlob: H, isExtglob: Q, isGlobstar: Z, negated: V, negatedExtglob: W };
|
|
1715
|
+
if (z.tokens === !0 && (ie.maxDepth = 0, A(K) || X.push(G), ie.tokens = X), z.parts === !0 || z.tokens === !0) {
|
|
1716
1716
|
let de;
|
|
1717
|
-
for (let me = 0; me <
|
|
1718
|
-
const F = de ? de + 1 : v, pe =
|
|
1719
|
-
z.tokens && (me === 0 && v !== 0 ? (
|
|
1717
|
+
for (let me = 0; me < J.length; me++) {
|
|
1718
|
+
const F = de ? de + 1 : v, pe = J[me], D = E.slice(F, pe);
|
|
1719
|
+
z.tokens && (me === 0 && v !== 0 ? (X[me].isPrefix = !0, X[me].value = Pe) : X[me].value = D, P(X[me]), ie.maxDepth += X[me].depth), (me !== 0 || D !== "") && Y.push(D), de = pe;
|
|
1720
1720
|
}
|
|
1721
1721
|
if (de && de + 1 < E.length) {
|
|
1722
1722
|
const me = E.slice(de + 1);
|
|
1723
|
-
|
|
1723
|
+
Y.push(me), z.tokens && (X[X.length - 1].value = me, P(X[X.length - 1]), ie.maxDepth += X[X.length - 1].depth);
|
|
1724
1724
|
}
|
|
1725
|
-
ie.slashes =
|
|
1725
|
+
ie.slashes = J, ie.parts = Y;
|
|
1726
1726
|
}
|
|
1727
1727
|
return ie;
|
|
1728
1728
|
};
|
|
@@ -1737,8 +1737,8 @@ function Fb() {
|
|
|
1737
1737
|
return k.startsWith("./") && (k = k.slice(2), p.prefix = "./"), k;
|
|
1738
1738
|
}, r.wrapOutput = (u, p = {}, k = {}) => {
|
|
1739
1739
|
const C = k.contains ? "" : "^", g = k.contains ? "" : "$";
|
|
1740
|
-
let
|
|
1741
|
-
return p.negated === !0 && (
|
|
1740
|
+
let x = `${C}(?:${u})${g}`;
|
|
1741
|
+
return p.negated === !0 && (x = `(?:^(?!${x}).*$)`), x;
|
|
1742
1742
|
}, r.basename = (u, { windows: p } = {}) => {
|
|
1743
1743
|
const k = u.split(p ? /[\\/]/ : "/"), C = k[k.length - 1];
|
|
1744
1744
|
return C === "" ? k[k.length - 2] : C;
|
|
@@ -1973,7 +1973,7 @@ function eN() {
|
|
|
1973
1973
|
});
|
|
1974
1974
|
const a = /* @__PURE__ */ na(), o = /* @__PURE__ */ wv(), i = Lv(), r = /* @__PURE__ */ o._(Fe), c = /* @__PURE__ */ a._(OI), s = /* @__PURE__ */ a._(KI()), d = Db(), l = yx(), h = YI(), u = px(), p = Ob(), k = /* @__PURE__ */ a._(Bb()), C = Ub(), g = process.env.__NEXT_IMAGE_OPTS;
|
|
1975
1975
|
typeof window > "u" && (globalThis.__NEXT_IMAGE_IMPORTED = !0);
|
|
1976
|
-
function
|
|
1976
|
+
function x(m, S, A, P, j, E, q) {
|
|
1977
1977
|
const z = m == null ? void 0 : m.src;
|
|
1978
1978
|
if (!m || m["data-loaded-src"] === z)
|
|
1979
1979
|
return;
|
|
@@ -1986,21 +1986,21 @@ function eN() {
|
|
|
1986
1986
|
writable: !1,
|
|
1987
1987
|
value: m
|
|
1988
1988
|
});
|
|
1989
|
-
let
|
|
1989
|
+
let J = !1, X = !1;
|
|
1990
1990
|
A.current({
|
|
1991
1991
|
...B,
|
|
1992
1992
|
nativeEvent: B,
|
|
1993
1993
|
currentTarget: m,
|
|
1994
1994
|
target: m,
|
|
1995
|
-
isDefaultPrevented: () =>
|
|
1996
|
-
isPropagationStopped: () =>
|
|
1995
|
+
isDefaultPrevented: () => J,
|
|
1996
|
+
isPropagationStopped: () => X,
|
|
1997
1997
|
persist: () => {
|
|
1998
1998
|
},
|
|
1999
1999
|
preventDefault: () => {
|
|
2000
|
-
|
|
2000
|
+
J = !0, B.preventDefault();
|
|
2001
2001
|
},
|
|
2002
2002
|
stopPropagation: () => {
|
|
2003
|
-
|
|
2003
|
+
X = !0, B.stopPropagation();
|
|
2004
2004
|
}
|
|
2005
2005
|
});
|
|
2006
2006
|
}
|
|
@@ -2008,17 +2008,17 @@ function eN() {
|
|
|
2008
2008
|
const B = new URL(z, "http://n").searchParams.get("url") || z;
|
|
2009
2009
|
if (m.getAttribute("data-nimg") === "fill") {
|
|
2010
2010
|
if (!E && (!q || q === "100vw") && m.getBoundingClientRect().width / window.innerWidth < 0.6 && (q === "100vw" ? (0, u.warnOnce)('Image with src "' + B + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes') : (0, u.warnOnce)('Image with src "' + B + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')), m.parentElement) {
|
|
2011
|
-
const { position:
|
|
2011
|
+
const { position: Y } = window.getComputedStyle(m.parentElement), ee = [
|
|
2012
2012
|
"absolute",
|
|
2013
2013
|
"fixed",
|
|
2014
2014
|
"relative"
|
|
2015
2015
|
];
|
|
2016
|
-
|
|
2016
|
+
ee.includes(Y) || (0, u.warnOnce)('Image with src "' + B + '" has "fill" and parent element with invalid "position". Provided "' + Y + '" should be one of ' + ee.map(String).join(",") + ".");
|
|
2017
2017
|
}
|
|
2018
2018
|
m.height === 0 && (0, u.warnOnce)('Image with src "' + B + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
|
|
2019
2019
|
}
|
|
2020
|
-
const
|
|
2021
|
-
(
|
|
2020
|
+
const J = m.height.toString() !== m.getAttribute("height"), X = m.width.toString() !== m.getAttribute("width");
|
|
2021
|
+
(J && !X || !J && X) && (0, u.warnOnce)('Image with src "' + B + `" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
2024
2024
|
});
|
|
@@ -2030,32 +2030,32 @@ function eN() {
|
|
|
2030
2030
|
fetchpriority: m
|
|
2031
2031
|
};
|
|
2032
2032
|
}
|
|
2033
|
-
const
|
|
2034
|
-
let { src: A, srcSet: P, sizes: j, height: E, width: q, decoding: z, className:
|
|
2035
|
-
const U = (0, r.useCallback)((
|
|
2036
|
-
|
|
2033
|
+
const N = /* @__PURE__ */ (0, r.forwardRef)((m, S) => {
|
|
2034
|
+
let { src: A, srcSet: P, sizes: j, height: E, width: q, decoding: z, className: ne, style: B, fetchPriority: J, placeholder: X, loading: Y, unoptimized: ee, fill: te, onLoadRef: v, onLoadingCompleteRef: R, setBlurComplete: T, setShowAltText: O, sizesInput: H, onLoad: Q, onError: Z, ...b } = m;
|
|
2035
|
+
const U = (0, r.useCallback)((W) => {
|
|
2036
|
+
W && (Z && (W.src = W.src), process.env.NODE_ENV !== "production" && (A || console.error('Image is missing required "src" property:', W), W.getAttribute("alt") === null && console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')), W.complete && x(W, X, v, R, T, ee, H));
|
|
2037
2037
|
}, [
|
|
2038
2038
|
A,
|
|
2039
|
-
|
|
2039
|
+
X,
|
|
2040
2040
|
v,
|
|
2041
2041
|
R,
|
|
2042
2042
|
T,
|
|
2043
|
-
|
|
2044
|
-
|
|
2043
|
+
Z,
|
|
2044
|
+
ee,
|
|
2045
2045
|
H
|
|
2046
2046
|
]), V = (0, C.useMergedRef)(S, U);
|
|
2047
2047
|
return /* @__PURE__ */ (0, i.jsx)("img", {
|
|
2048
2048
|
...b,
|
|
2049
|
-
...M(
|
|
2049
|
+
...M(J),
|
|
2050
2050
|
// It's intended to keep `loading` before `src` because React updates
|
|
2051
2051
|
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
2052
2052
|
// See https://github.com/facebook/react/issues/25883
|
|
2053
|
-
loading:
|
|
2053
|
+
loading: Y,
|
|
2054
2054
|
width: q,
|
|
2055
2055
|
height: E,
|
|
2056
2056
|
decoding: z,
|
|
2057
|
-
"data-nimg":
|
|
2058
|
-
className:
|
|
2057
|
+
"data-nimg": te ? "fill" : "1",
|
|
2058
|
+
className: ne,
|
|
2059
2059
|
style: B,
|
|
2060
2060
|
// It's intended to keep `src` the last attribute because React updates
|
|
2061
2061
|
// attributes in order. If we keep `src` the first one, Safari will
|
|
@@ -2067,12 +2067,12 @@ function eN() {
|
|
|
2067
2067
|
srcSet: P,
|
|
2068
2068
|
src: A,
|
|
2069
2069
|
ref: V,
|
|
2070
|
-
onLoad: (
|
|
2071
|
-
const
|
|
2072
|
-
|
|
2070
|
+
onLoad: (W) => {
|
|
2071
|
+
const I = W.currentTarget;
|
|
2072
|
+
x(I, X, v, R, T, ee, H);
|
|
2073
2073
|
},
|
|
2074
|
-
onError: (
|
|
2075
|
-
O(!0),
|
|
2074
|
+
onError: (W) => {
|
|
2075
|
+
O(!0), X !== "empty" && T(!0), Z && Z(W);
|
|
2076
2076
|
}
|
|
2077
2077
|
});
|
|
2078
2078
|
});
|
|
@@ -2109,18 +2109,18 @@ function eN() {
|
|
|
2109
2109
|
const T = g || j || l.imageConfigDefault, O = [
|
|
2110
2110
|
...T.deviceSizes,
|
|
2111
2111
|
...T.imageSizes
|
|
2112
|
-
].sort((
|
|
2112
|
+
].sort((Z, b) => Z - b), H = T.deviceSizes.sort((Z, b) => Z - b), Q = (R = T.qualities) == null ? void 0 : R.sort((Z, b) => Z - b);
|
|
2113
2113
|
return {
|
|
2114
2114
|
...T,
|
|
2115
2115
|
allSizes: O,
|
|
2116
2116
|
deviceSizes: H,
|
|
2117
|
-
qualities:
|
|
2117
|
+
qualities: Q
|
|
2118
2118
|
};
|
|
2119
2119
|
}, [
|
|
2120
2120
|
j
|
|
2121
|
-
]), { onLoad: q, onLoadingComplete: z } = m,
|
|
2121
|
+
]), { onLoad: q, onLoadingComplete: z } = m, ne = (0, r.useRef)(q);
|
|
2122
2122
|
(0, r.useEffect)(() => {
|
|
2123
|
-
|
|
2123
|
+
ne.current = q;
|
|
2124
2124
|
}, [
|
|
2125
2125
|
q
|
|
2126
2126
|
]);
|
|
@@ -2130,29 +2130,29 @@ function eN() {
|
|
|
2130
2130
|
}, [
|
|
2131
2131
|
z
|
|
2132
2132
|
]);
|
|
2133
|
-
const [
|
|
2133
|
+
const [J, X] = (0, r.useState)(!1), [Y, ee] = (0, r.useState)(!1), { props: te, meta: v } = (0, d.getImgProps)(m, {
|
|
2134
2134
|
defaultLoader: k.default,
|
|
2135
2135
|
imgConf: E,
|
|
2136
|
-
blurComplete:
|
|
2137
|
-
showAltText:
|
|
2136
|
+
blurComplete: J,
|
|
2137
|
+
showAltText: Y
|
|
2138
2138
|
});
|
|
2139
2139
|
return /* @__PURE__ */ (0, i.jsxs)(i.Fragment, {
|
|
2140
2140
|
children: [
|
|
2141
|
-
/* @__PURE__ */ (0, i.jsx)(
|
|
2142
|
-
...
|
|
2141
|
+
/* @__PURE__ */ (0, i.jsx)(N, {
|
|
2142
|
+
...te,
|
|
2143
2143
|
unoptimized: v.unoptimized,
|
|
2144
2144
|
placeholder: v.placeholder,
|
|
2145
2145
|
fill: v.fill,
|
|
2146
|
-
onLoadRef:
|
|
2146
|
+
onLoadRef: ne,
|
|
2147
2147
|
onLoadingCompleteRef: B,
|
|
2148
|
-
setBlurComplete:
|
|
2149
|
-
setShowAltText:
|
|
2148
|
+
setBlurComplete: X,
|
|
2149
|
+
setShowAltText: ee,
|
|
2150
2150
|
sizesInput: m.sizes,
|
|
2151
2151
|
ref: S
|
|
2152
2152
|
}),
|
|
2153
2153
|
v.priority ? /* @__PURE__ */ (0, i.jsx)(f, {
|
|
2154
2154
|
isAppRouter: P,
|
|
2155
|
-
imgAttributes:
|
|
2155
|
+
imgAttributes: te
|
|
2156
2156
|
}) : null
|
|
2157
2157
|
]
|
|
2158
2158
|
});
|
|
@@ -2223,13 +2223,13 @@ const Zb = /* @__PURE__ */ xv(aN), oN = "style-module__banner___dXl-D", iN = "st
|
|
|
2223
2223
|
github: gN
|
|
2224
2224
|
}, _N = (e) => /* @__PURE__ */ y.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", className: "lucide lucide-mail-icon lucide-mail", ...e }, /* @__PURE__ */ y.createElement("path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" }), /* @__PURE__ */ y.createElement("rect", { x: 2, y: 4, width: 20, height: 16, rx: 2 })), vN = (e) => /* @__PURE__ */ y.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 496 512", ...e }, /* @__PURE__ */ y.createElement("path", { fill: "currentColor", d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z" })), CN = (e) => /* @__PURE__ */ y.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", ...e }, /* @__PURE__ */ y.createElement("path", { d: "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z", fill: "currentColor" })), xN = (e) => /* @__PURE__ */ y.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", ...e }, /* @__PURE__ */ y.createElement("path", { d: "M100.3 448H7.4V148.9h92.9zM53.8 108.1C24.1 108.1 0 83.5 0 53.8a53.8 53.8 0 0 1 107.6 0c0 29.7-24.1 54.3-53.8 54.3zM447.9 448h-92.7V302.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z", fill: "currentColor" })), Gb = ({ className: e, isMounted: t = !1 }) => {
|
|
2225
2225
|
const a = n1(), o = t || a;
|
|
2226
|
-
return /* @__PURE__ */ _.jsxs("div", { className:
|
|
2226
|
+
return /* @__PURE__ */ _.jsxs("div", { className: oe(Ve.social, e), children: [
|
|
2227
2227
|
/* @__PURE__ */ _.jsx(
|
|
2228
2228
|
"a",
|
|
2229
2229
|
{
|
|
2230
2230
|
href: "https://www.linkedin.com/in/themichael/",
|
|
2231
2231
|
target: "_blank",
|
|
2232
|
-
className:
|
|
2232
|
+
className: oe(Ve.icon, Ve.linkedin, !o && Ve.skeleton),
|
|
2233
2233
|
"aria-label": "Linkedin",
|
|
2234
2234
|
children: /* @__PURE__ */ _.jsx(
|
|
2235
2235
|
xN,
|
|
@@ -2245,7 +2245,7 @@ const Zb = /* @__PURE__ */ xv(aN), oN = "style-module__banner___dXl-D", iN = "st
|
|
|
2245
2245
|
{
|
|
2246
2246
|
href: "https://www.instagram.com/michael.adam.allen/",
|
|
2247
2247
|
target: "_blank",
|
|
2248
|
-
className:
|
|
2248
|
+
className: oe(Ve.icon, Ve.instagram, !o && Ve.skeleton),
|
|
2249
2249
|
"aria-label": "Instagram",
|
|
2250
2250
|
children: /* @__PURE__ */ _.jsx(
|
|
2251
2251
|
CN,
|
|
@@ -2261,7 +2261,7 @@ const Zb = /* @__PURE__ */ xv(aN), oN = "style-module__banner___dXl-D", iN = "st
|
|
|
2261
2261
|
{
|
|
2262
2262
|
href: "https://github.com/uplord/",
|
|
2263
2263
|
target: "_blank",
|
|
2264
|
-
className:
|
|
2264
|
+
className: oe(Ve.icon, Ve.github, !o && Ve.skeleton),
|
|
2265
2265
|
"aria-label": "GitHub",
|
|
2266
2266
|
children: /* @__PURE__ */ _.jsx(
|
|
2267
2267
|
vN,
|
|
@@ -2276,7 +2276,7 @@ const Zb = /* @__PURE__ */ xv(aN), oN = "style-module__banner___dXl-D", iN = "st
|
|
|
2276
2276
|
"a",
|
|
2277
2277
|
{
|
|
2278
2278
|
href: "mailto:michael@uplord.co.uk",
|
|
2279
|
-
className:
|
|
2279
|
+
className: oe(Ve.icon, Ve.default, !o && Ve.skeleton),
|
|
2280
2280
|
"aria-label": "Email",
|
|
2281
2281
|
children: /* @__PURE__ */ _.jsx(
|
|
2282
2282
|
_N,
|
|
@@ -2376,8 +2376,8 @@ function Xb() {
|
|
|
2376
2376
|
function r(d) {
|
|
2377
2377
|
let { auth: l, hostname: h } = d, u = d.protocol || "", p = d.pathname || "", k = d.hash || "", C = d.query || "", g = !1;
|
|
2378
2378
|
l = l ? encodeURIComponent(l).replace(/%3A/i, ":") + "@" : "", d.host ? g = l + d.host : h && (g = l + (~h.indexOf(":") ? "[" + h + "]" : h), d.port && (g += ":" + d.port)), C && typeof C == "object" && (C = String(o.urlQueryToSearchParams(C)));
|
|
2379
|
-
let
|
|
2380
|
-
return u && !u.endsWith(":") && (u += ":"), d.slashes || (!u || i.test(u)) && g !== !1 ? (g = "//" + (g || ""), p && p[0] !== "/" && (p = "/" + p)) : g || (g = ""), k && k[0] !== "#" && (k = "#" + k),
|
|
2379
|
+
let x = d.search || C && "?" + C || "";
|
|
2380
|
+
return u && !u.endsWith(":") && (u += ":"), d.slashes || (!u || i.test(u)) && g !== !1 ? (g = "//" + (g || ""), p && p[0] !== "/" && (p = "/" + p)) : g || (g = ""), k && k[0] !== "#" && (k = "#" + k), x && x[0] !== "?" && (x = "?" + x), p = p.replace(/[?#]/g, encodeURIComponent), x = x.replace("#", "%23"), "" + u + g + p + x + k;
|
|
2381
2381
|
}
|
|
2382
2382
|
const c = [
|
|
2383
2383
|
"auth",
|
|
@@ -2436,7 +2436,7 @@ function bv() {
|
|
|
2436
2436
|
return C;
|
|
2437
2437
|
},
|
|
2438
2438
|
MiddlewareNotFoundError: function() {
|
|
2439
|
-
return
|
|
2439
|
+
return N;
|
|
2440
2440
|
},
|
|
2441
2441
|
MissingStaticPage: function() {
|
|
2442
2442
|
return M;
|
|
@@ -2445,7 +2445,7 @@ function bv() {
|
|
|
2445
2445
|
return g;
|
|
2446
2446
|
},
|
|
2447
2447
|
PageNotFoundError: function() {
|
|
2448
|
-
return
|
|
2448
|
+
return x;
|
|
2449
2449
|
},
|
|
2450
2450
|
SP: function() {
|
|
2451
2451
|
return p;
|
|
@@ -2558,7 +2558,7 @@ function bv() {
|
|
|
2558
2558
|
}
|
|
2559
2559
|
class g extends Error {
|
|
2560
2560
|
}
|
|
2561
|
-
class
|
|
2561
|
+
class x extends Error {
|
|
2562
2562
|
constructor(m) {
|
|
2563
2563
|
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + m;
|
|
2564
2564
|
}
|
|
@@ -2568,7 +2568,7 @@ function bv() {
|
|
|
2568
2568
|
super(), this.message = "Failed to load static file for page: " + m + " " + S;
|
|
2569
2569
|
}
|
|
2570
2570
|
}
|
|
2571
|
-
class
|
|
2571
|
+
class N extends Error {
|
|
2572
2572
|
constructor() {
|
|
2573
2573
|
super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
|
|
2574
2574
|
}
|
|
@@ -3129,13 +3129,13 @@ function RN() {
|
|
|
3129
3129
|
return u;
|
|
3130
3130
|
},
|
|
3131
3131
|
APP_DIR_ALIAS: function() {
|
|
3132
|
-
return
|
|
3132
|
+
return J;
|
|
3133
3133
|
},
|
|
3134
3134
|
CACHE_ONE_YEAR: function() {
|
|
3135
3135
|
return A;
|
|
3136
3136
|
},
|
|
3137
3137
|
DOT_NEXT_ALIAS: function() {
|
|
3138
|
-
return
|
|
3138
|
+
return ne;
|
|
3139
3139
|
},
|
|
3140
3140
|
ESLINT_DEFAULT_DIRS: function() {
|
|
3141
3141
|
return K;
|
|
@@ -3144,7 +3144,7 @@ function RN() {
|
|
|
3144
3144
|
return U;
|
|
3145
3145
|
},
|
|
3146
3146
|
GSSP_COMPONENT_MEMBER_ERROR: function() {
|
|
3147
|
-
return
|
|
3147
|
+
return I;
|
|
3148
3148
|
},
|
|
3149
3149
|
GSSP_NO_RETURNED_VALUE: function() {
|
|
3150
3150
|
return V;
|
|
@@ -3171,7 +3171,7 @@ function RN() {
|
|
|
3171
3171
|
return S;
|
|
3172
3172
|
},
|
|
3173
3173
|
NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
|
|
3174
|
-
return
|
|
3174
|
+
return x;
|
|
3175
3175
|
},
|
|
3176
3176
|
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
|
|
3177
3177
|
return M;
|
|
@@ -3201,10 +3201,10 @@ function RN() {
|
|
|
3201
3201
|
return a;
|
|
3202
3202
|
},
|
|
3203
3203
|
NEXT_RESUME_HEADER: function() {
|
|
3204
|
-
return
|
|
3204
|
+
return N;
|
|
3205
3205
|
},
|
|
3206
3206
|
NON_STANDARD_NODE_ENV: function() {
|
|
3207
|
-
return
|
|
3207
|
+
return L;
|
|
3208
3208
|
},
|
|
3209
3209
|
PAGES_DIR_ALIAS: function() {
|
|
3210
3210
|
return z;
|
|
@@ -3228,16 +3228,16 @@ function RN() {
|
|
|
3228
3228
|
return v;
|
|
3229
3229
|
},
|
|
3230
3230
|
RSC_ACTION_PROXY_ALIAS: function() {
|
|
3231
|
-
return
|
|
3231
|
+
return ee;
|
|
3232
3232
|
},
|
|
3233
3233
|
RSC_ACTION_VALIDATE_ALIAS: function() {
|
|
3234
|
-
return
|
|
3234
|
+
return Y;
|
|
3235
3235
|
},
|
|
3236
3236
|
RSC_CACHE_WRAPPER_ALIAS: function() {
|
|
3237
|
-
return
|
|
3237
|
+
return te;
|
|
3238
3238
|
},
|
|
3239
3239
|
RSC_MOD_REF_PROXY_ALIAS: function() {
|
|
3240
|
-
return
|
|
3240
|
+
return X;
|
|
3241
3241
|
},
|
|
3242
3242
|
RSC_PREFETCH_SUFFIX: function() {
|
|
3243
3243
|
return s;
|
|
@@ -3258,10 +3258,10 @@ function RN() {
|
|
|
3258
3258
|
return H;
|
|
3259
3259
|
},
|
|
3260
3260
|
SERVER_PROPS_SSG_CONFLICT: function() {
|
|
3261
|
-
return
|
|
3261
|
+
return Q;
|
|
3262
3262
|
},
|
|
3263
3263
|
SERVER_RUNTIME: function() {
|
|
3264
|
-
return
|
|
3264
|
+
return G;
|
|
3265
3265
|
},
|
|
3266
3266
|
SSG_FALLBACK_EXPORT_ERROR: function() {
|
|
3267
3267
|
return fe;
|
|
@@ -3270,10 +3270,10 @@ function RN() {
|
|
|
3270
3270
|
return O;
|
|
3271
3271
|
},
|
|
3272
3272
|
STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
|
|
3273
|
-
return
|
|
3273
|
+
return Z;
|
|
3274
3274
|
},
|
|
3275
3275
|
UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
|
|
3276
|
-
return
|
|
3276
|
+
return W;
|
|
3277
3277
|
},
|
|
3278
3278
|
WEBPACK_LAYERS: function() {
|
|
3279
3279
|
return Ie;
|
|
@@ -3282,17 +3282,17 @@ function RN() {
|
|
|
3282
3282
|
return ve;
|
|
3283
3283
|
}
|
|
3284
3284
|
});
|
|
3285
|
-
const a = "nxtP", o = "nxtI", i = "x-matched-path", r = "x-prerender-revalidate", c = "x-prerender-revalidate-if-generated", s = ".prefetch.rsc", d = ".segments", l = ".segment.rsc", h = ".rsc", u = ".action", p = ".json", k = ".meta", C = ".body", g = "x-next-cache-tags",
|
|
3285
|
+
const a = "nxtP", o = "nxtI", i = "x-matched-path", r = "x-prerender-revalidate", c = "x-prerender-revalidate-if-generated", s = ".prefetch.rsc", d = ".segments", l = ".segment.rsc", h = ".rsc", u = ".action", p = ".json", k = ".meta", C = ".body", g = "x-next-cache-tags", x = "x-next-revalidated-tags", M = "x-next-revalidate-tag-token", N = "next-resume", f = 128, w = 256, m = 1024, S = "_N_T_", A = 31536e3, P = 4294967294, j = "middleware", E = `(?:src/)?${j}`, q = "instrumentation", z = "private-next-pages", ne = "private-dot-next", B = "private-next-root-dir", J = "private-next-app-dir", X = "private-next-rsc-mod-ref-proxy", Y = "private-next-rsc-action-validate", ee = "private-next-rsc-server-reference", te = "private-next-rsc-cache-wrapper", v = "private-next-rsc-action-encryption", R = "private-next-rsc-action-client-wrapper", T = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", O = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", H = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", Q = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", Z = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", b = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", U = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", V = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", W = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", I = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", L = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', fe = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", K = [
|
|
3286
3286
|
"app",
|
|
3287
3287
|
"pages",
|
|
3288
3288
|
"components",
|
|
3289
3289
|
"lib",
|
|
3290
3290
|
"src"
|
|
3291
|
-
],
|
|
3291
|
+
], G = {
|
|
3292
3292
|
edge: "edge",
|
|
3293
3293
|
experimentalEdge: "experimental-edge",
|
|
3294
3294
|
nodejs: "nodejs"
|
|
3295
|
-
},
|
|
3295
|
+
}, re = {
|
|
3296
3296
|
/**
|
|
3297
3297
|
* The layer for the shared code between the client and server bundles.
|
|
3298
3298
|
*/
|
|
@@ -3347,42 +3347,42 @@ function RN() {
|
|
|
3347
3347
|
*/
|
|
3348
3348
|
pagesDirNode: "pages-dir-node"
|
|
3349
3349
|
}, Ie = {
|
|
3350
|
-
...
|
|
3350
|
+
...re,
|
|
3351
3351
|
GROUP: {
|
|
3352
3352
|
builtinReact: [
|
|
3353
|
-
|
|
3354
|
-
|
|
3353
|
+
re.reactServerComponents,
|
|
3354
|
+
re.actionBrowser
|
|
3355
3355
|
],
|
|
3356
3356
|
serverOnly: [
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3357
|
+
re.reactServerComponents,
|
|
3358
|
+
re.actionBrowser,
|
|
3359
|
+
re.instrument,
|
|
3360
|
+
re.middleware
|
|
3361
3361
|
],
|
|
3362
3362
|
neutralTarget: [
|
|
3363
3363
|
// pages api
|
|
3364
|
-
|
|
3365
|
-
|
|
3364
|
+
re.apiNode,
|
|
3365
|
+
re.apiEdge
|
|
3366
3366
|
],
|
|
3367
3367
|
clientOnly: [
|
|
3368
|
-
|
|
3369
|
-
|
|
3368
|
+
re.serverSideRendering,
|
|
3369
|
+
re.appPagesBrowser
|
|
3370
3370
|
],
|
|
3371
3371
|
bundled: [
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3372
|
+
re.reactServerComponents,
|
|
3373
|
+
re.actionBrowser,
|
|
3374
|
+
re.serverSideRendering,
|
|
3375
|
+
re.appPagesBrowser,
|
|
3376
|
+
re.shared,
|
|
3377
|
+
re.instrument,
|
|
3378
|
+
re.middleware
|
|
3379
3379
|
],
|
|
3380
3380
|
appPages: [
|
|
3381
3381
|
// app router pages and layouts
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3382
|
+
re.reactServerComponents,
|
|
3383
|
+
re.serverSideRendering,
|
|
3384
|
+
re.appPagesBrowser,
|
|
3385
|
+
re.actionBrowser
|
|
3386
3386
|
]
|
|
3387
3387
|
}
|
|
3388
3388
|
}, ve = {
|
|
@@ -3416,10 +3416,10 @@ function qN() {
|
|
|
3416
3416
|
Object.defineProperty(e, "__esModule", {
|
|
3417
3417
|
value: !0
|
|
3418
3418
|
});
|
|
3419
|
-
function t(
|
|
3420
|
-
for (var
|
|
3419
|
+
function t(x, M) {
|
|
3420
|
+
for (var N in M) Object.defineProperty(x, N, {
|
|
3421
3421
|
enumerable: !0,
|
|
3422
|
-
get: M[
|
|
3422
|
+
get: M[N]
|
|
3423
3423
|
});
|
|
3424
3424
|
}
|
|
3425
3425
|
t(e, {
|
|
@@ -3437,25 +3437,25 @@ function qN() {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
});
|
|
3439
3439
|
const a = RN(), o = Jb(), i = $N(), r = Kb(), c = /^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;
|
|
3440
|
-
function s(
|
|
3441
|
-
const M =
|
|
3442
|
-
return d(M ? M[2] :
|
|
3443
|
-
}
|
|
3444
|
-
function d(
|
|
3445
|
-
const M =
|
|
3446
|
-
M && (
|
|
3447
|
-
const
|
|
3448
|
-
return
|
|
3449
|
-
key:
|
|
3450
|
-
repeat:
|
|
3440
|
+
function s(x) {
|
|
3441
|
+
const M = x.match(c);
|
|
3442
|
+
return d(M ? M[2] : x);
|
|
3443
|
+
}
|
|
3444
|
+
function d(x) {
|
|
3445
|
+
const M = x.startsWith("[") && x.endsWith("]");
|
|
3446
|
+
M && (x = x.slice(1, -1));
|
|
3447
|
+
const N = x.startsWith("...");
|
|
3448
|
+
return N && (x = x.slice(3)), {
|
|
3449
|
+
key: x,
|
|
3450
|
+
repeat: N,
|
|
3451
3451
|
optional: M
|
|
3452
3452
|
};
|
|
3453
3453
|
}
|
|
3454
|
-
function l(
|
|
3454
|
+
function l(x, M, N) {
|
|
3455
3455
|
const f = {};
|
|
3456
3456
|
let w = 1;
|
|
3457
3457
|
const m = [];
|
|
3458
|
-
for (const S of (0, r.removeTrailingSlash)(
|
|
3458
|
+
for (const S of (0, r.removeTrailingSlash)(x).slice(1).split("/")) {
|
|
3459
3459
|
const A = o.INTERCEPTION_ROUTE_MARKERS.find((j) => S.startsWith(j)), P = S.match(c);
|
|
3460
3460
|
if (A && P && P[2]) {
|
|
3461
3461
|
const { key: j, optional: E, repeat: q } = d(P[2]);
|
|
@@ -3470,9 +3470,9 @@ function qN() {
|
|
|
3470
3470
|
pos: w++,
|
|
3471
3471
|
repeat: E,
|
|
3472
3472
|
optional: q
|
|
3473
|
-
},
|
|
3473
|
+
}, N && P[1] && m.push("/" + (0, i.escapeStringRegexp)(P[1]));
|
|
3474
3474
|
let z = E ? q ? "(?:/(.+?))?" : "/(.+?)" : "/([^/]+?)";
|
|
3475
|
-
|
|
3475
|
+
N && P[1] && (z = z.substring(1)), m.push(z);
|
|
3476
3476
|
} else
|
|
3477
3477
|
m.push("/" + (0, i.escapeStringRegexp)(S));
|
|
3478
3478
|
M && P && P[3] && m.push((0, i.escapeStringRegexp)(P[3]));
|
|
@@ -3482,9 +3482,9 @@ function qN() {
|
|
|
3482
3482
|
groups: f
|
|
3483
3483
|
};
|
|
3484
3484
|
}
|
|
3485
|
-
function h(
|
|
3486
|
-
let { includeSuffix:
|
|
3487
|
-
const { parameterizedRoute: m, groups: S } = l(
|
|
3485
|
+
function h(x, M) {
|
|
3486
|
+
let { includeSuffix: N = !1, includePrefix: f = !1, excludeOptionalTrailingSlash: w = !1 } = M === void 0 ? {} : M;
|
|
3487
|
+
const { parameterizedRoute: m, groups: S } = l(x, N, f);
|
|
3488
3488
|
let A = m;
|
|
3489
3489
|
return w || (A += "(?:/)?"), {
|
|
3490
3490
|
re: new RegExp("^" + A + "$"),
|
|
@@ -3492,30 +3492,30 @@ function qN() {
|
|
|
3492
3492
|
};
|
|
3493
3493
|
}
|
|
3494
3494
|
function u() {
|
|
3495
|
-
let
|
|
3495
|
+
let x = 0;
|
|
3496
3496
|
return () => {
|
|
3497
|
-
let M = "",
|
|
3498
|
-
for (;
|
|
3499
|
-
M += String.fromCharCode(97 + (
|
|
3497
|
+
let M = "", N = ++x;
|
|
3498
|
+
for (; N > 0; )
|
|
3499
|
+
M += String.fromCharCode(97 + (N - 1) % 26), N = Math.floor((N - 1) / 26);
|
|
3500
3500
|
return M;
|
|
3501
3501
|
};
|
|
3502
3502
|
}
|
|
3503
|
-
function p(
|
|
3504
|
-
let { interceptionMarker: M, getSafeRouteKey:
|
|
3503
|
+
function p(x) {
|
|
3504
|
+
let { interceptionMarker: M, getSafeRouteKey: N, segment: f, routeKeys: w, keyPrefix: m, backreferenceDuplicateKeys: S } = x;
|
|
3505
3505
|
const { key: A, optional: P, repeat: j } = d(f);
|
|
3506
3506
|
let E = A.replace(/\W/g, "");
|
|
3507
3507
|
m && (E = "" + m + E);
|
|
3508
3508
|
let q = !1;
|
|
3509
|
-
(E.length === 0 || E.length > 30) && (q = !0), isNaN(parseInt(E.slice(0, 1))) || (q = !0), q && (E =
|
|
3509
|
+
(E.length === 0 || E.length > 30) && (q = !0), isNaN(parseInt(E.slice(0, 1))) || (q = !0), q && (E = N());
|
|
3510
3510
|
const z = E in w;
|
|
3511
3511
|
m ? w[E] = "" + m + A : w[E] = A;
|
|
3512
|
-
const
|
|
3512
|
+
const ne = M ? (0, i.escapeStringRegexp)(M) : "";
|
|
3513
3513
|
let B;
|
|
3514
|
-
return z && S ? B = "\\k<" + E + ">" : j ? B = "(?<" + E + ">.+?)" : B = "(?<" + E + ">[^/]+?)", P ? "(?:/" +
|
|
3514
|
+
return z && S ? B = "\\k<" + E + ">" : j ? B = "(?<" + E + ">.+?)" : B = "(?<" + E + ">[^/]+?)", P ? "(?:/" + ne + B + ")?" : "/" + ne + B;
|
|
3515
3515
|
}
|
|
3516
|
-
function k(
|
|
3516
|
+
function k(x, M, N, f, w) {
|
|
3517
3517
|
const m = u(), S = {}, A = [];
|
|
3518
|
-
for (const P of (0, r.removeTrailingSlash)(
|
|
3518
|
+
for (const P of (0, r.removeTrailingSlash)(x).slice(1).split("/")) {
|
|
3519
3519
|
const j = o.INTERCEPTION_ROUTE_MARKERS.some((q) => P.startsWith(q)), E = P.match(c);
|
|
3520
3520
|
if (j && E && E[2])
|
|
3521
3521
|
A.push(p({
|
|
@@ -3538,30 +3538,30 @@ function qN() {
|
|
|
3538
3538
|
f && E[1] && (q = q.substring(1)), A.push(q);
|
|
3539
3539
|
} else
|
|
3540
3540
|
A.push("/" + (0, i.escapeStringRegexp)(P));
|
|
3541
|
-
|
|
3541
|
+
N && E && E[3] && A.push((0, i.escapeStringRegexp)(E[3]));
|
|
3542
3542
|
}
|
|
3543
3543
|
return {
|
|
3544
3544
|
namedParameterizedRoute: A.join(""),
|
|
3545
3545
|
routeKeys: S
|
|
3546
3546
|
};
|
|
3547
3547
|
}
|
|
3548
|
-
function C(
|
|
3549
|
-
var
|
|
3550
|
-
const m = k(
|
|
3548
|
+
function C(x, M) {
|
|
3549
|
+
var N, f, w;
|
|
3550
|
+
const m = k(x, M.prefixRouteKeys, (N = M.includeSuffix) != null ? N : !1, (f = M.includePrefix) != null ? f : !1, (w = M.backreferenceDuplicateKeys) != null ? w : !1);
|
|
3551
3551
|
let S = m.namedParameterizedRoute;
|
|
3552
3552
|
return M.excludeOptionalTrailingSlash || (S += "(?:/)?"), {
|
|
3553
|
-
...h(
|
|
3553
|
+
...h(x, M),
|
|
3554
3554
|
namedRegex: "^" + S + "$",
|
|
3555
3555
|
routeKeys: m.routeKeys
|
|
3556
3556
|
};
|
|
3557
3557
|
}
|
|
3558
|
-
function g(
|
|
3559
|
-
const { parameterizedRoute:
|
|
3560
|
-
if (
|
|
3558
|
+
function g(x, M) {
|
|
3559
|
+
const { parameterizedRoute: N } = l(x, !1, !1), { catchAll: f = !0 } = M;
|
|
3560
|
+
if (N === "/")
|
|
3561
3561
|
return {
|
|
3562
3562
|
namedRegex: "^/" + (f ? ".*" : "") + "$"
|
|
3563
3563
|
};
|
|
3564
|
-
const { namedParameterizedRoute: w } = k(
|
|
3564
|
+
const { namedParameterizedRoute: w } = k(x, !1, !1, !1, !1);
|
|
3565
3565
|
let m = f ? "(?:(/.*)?)" : "";
|
|
3566
3566
|
return {
|
|
3567
3567
|
namedRegex: "^" + w + m + "$"
|
|
@@ -3594,11 +3594,11 @@ function TN() {
|
|
|
3594
3594
|
return u.every((p) => {
|
|
3595
3595
|
let k = h[p] || "";
|
|
3596
3596
|
const { repeat: C, optional: g } = l[p];
|
|
3597
|
-
let
|
|
3598
|
-
return g && (
|
|
3597
|
+
let x = "[" + (C ? "..." : "") + p + "]";
|
|
3598
|
+
return g && (x = (k ? "" : "/") + "[" + x + "]"), C && !Array.isArray(k) && (k = [
|
|
3599
3599
|
k
|
|
3600
3600
|
]), (g || p in h) && // Interpolate group into data URL if present
|
|
3601
|
-
(s = s.replace(
|
|
3601
|
+
(s = s.replace(x, C ? k.map(
|
|
3602
3602
|
// these values should be fully encoded instead of just
|
|
3603
3603
|
// path delimiter escaped since they are being inserted
|
|
3604
3604
|
// into the URL and we expect URL encoded segments
|
|
@@ -3626,11 +3626,11 @@ function jN() {
|
|
|
3626
3626
|
const a = Wb(), o = Xb(), i = LN(), r = bv(), c = Sv(), s = Qb(), d = PN(), l = TN();
|
|
3627
3627
|
function h(u, p, k) {
|
|
3628
3628
|
let C, g = typeof p == "string" ? p : (0, o.formatWithValidation)(p);
|
|
3629
|
-
const
|
|
3629
|
+
const x = g.match(/^[a-zA-Z]{1,}:\/\//), M = x ? g.slice(x[0].length) : g;
|
|
3630
3630
|
if ((M.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
3631
3631
|
console.error("Invalid href '" + g + "' passed to next/router in page: '" + u.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
3632
3632
|
const f = (0, r.normalizeRepeatedSlashes)(M);
|
|
3633
|
-
g = (
|
|
3633
|
+
g = (x ? x[0] : "") + f;
|
|
3634
3634
|
}
|
|
3635
3635
|
if (!(0, s.isLocalURL)(g))
|
|
3636
3636
|
return k ? [
|
|
@@ -3777,14 +3777,14 @@ function DN() {
|
|
|
3777
3777
|
const u = {
|
|
3778
3778
|
root: h.root || null,
|
|
3779
3779
|
margin: h.rootMargin || ""
|
|
3780
|
-
}, p = c.find((
|
|
3780
|
+
}, p = c.find((x) => x.root === u.root && x.margin === u.margin);
|
|
3781
3781
|
let k;
|
|
3782
3782
|
if (p && (k = r.get(p), k))
|
|
3783
3783
|
return k;
|
|
3784
|
-
const C = /* @__PURE__ */ new Map(), g = new IntersectionObserver((
|
|
3785
|
-
|
|
3786
|
-
const
|
|
3787
|
-
|
|
3784
|
+
const C = /* @__PURE__ */ new Map(), g = new IntersectionObserver((x) => {
|
|
3785
|
+
x.forEach((M) => {
|
|
3786
|
+
const N = C.get(M.target), f = M.isIntersecting || M.intersectionRatio > 0;
|
|
3787
|
+
N && f && N(f);
|
|
3788
3788
|
});
|
|
3789
3789
|
}, h);
|
|
3790
3790
|
return k = {
|
|
@@ -3798,14 +3798,14 @@ function DN() {
|
|
|
3798
3798
|
return g.set(h, u), C.observe(h), function() {
|
|
3799
3799
|
if (g.delete(h), C.unobserve(h), g.size === 0) {
|
|
3800
3800
|
C.disconnect(), r.delete(k);
|
|
3801
|
-
const M = c.findIndex((
|
|
3801
|
+
const M = c.findIndex((N) => N.root === k.root && N.margin === k.margin);
|
|
3802
3802
|
M > -1 && c.splice(M, 1);
|
|
3803
3803
|
}
|
|
3804
3804
|
};
|
|
3805
3805
|
}
|
|
3806
3806
|
function l(h) {
|
|
3807
3807
|
let { rootRef: u, rootMargin: p, disabled: k } = h;
|
|
3808
|
-
const C = k || !i, [g,
|
|
3808
|
+
const C = k || !i, [g, x] = (0, a.useState)(!1), M = (0, a.useRef)(null), N = (0, a.useCallback)((w) => {
|
|
3809
3809
|
M.current = w;
|
|
3810
3810
|
}, []);
|
|
3811
3811
|
(0, a.useEffect)(() => {
|
|
@@ -3813,12 +3813,12 @@ function DN() {
|
|
|
3813
3813
|
if (C || g) return;
|
|
3814
3814
|
const w = M.current;
|
|
3815
3815
|
if (w && w.tagName)
|
|
3816
|
-
return d(w, (S) => S &&
|
|
3816
|
+
return d(w, (S) => S && x(S), {
|
|
3817
3817
|
root: u == null ? void 0 : u.current,
|
|
3818
3818
|
rootMargin: p
|
|
3819
3819
|
});
|
|
3820
3820
|
} else if (!g) {
|
|
3821
|
-
const w = (0, o.requestIdleCallback)(() =>
|
|
3821
|
+
const w = (0, o.requestIdleCallback)(() => x(!0));
|
|
3822
3822
|
return () => (0, o.cancelIdleCallback)(w);
|
|
3823
3823
|
}
|
|
3824
3824
|
}, [
|
|
@@ -3829,10 +3829,10 @@ function DN() {
|
|
|
3829
3829
|
M.current
|
|
3830
3830
|
]);
|
|
3831
3831
|
const f = (0, a.useCallback)(() => {
|
|
3832
|
-
|
|
3832
|
+
x(!1);
|
|
3833
3833
|
}, []);
|
|
3834
3834
|
return [
|
|
3835
|
-
|
|
3835
|
+
N,
|
|
3836
3836
|
g,
|
|
3837
3837
|
f
|
|
3838
3838
|
];
|
|
@@ -4021,19 +4021,19 @@ function XN() {
|
|
|
4021
4021
|
return P;
|
|
4022
4022
|
}
|
|
4023
4023
|
});
|
|
4024
|
-
const o = /* @__PURE__ */ wv(), i = Lv(), r = /* @__PURE__ */ o._(Fe), c = jN(), s = Qb(), d = Xb(), l = bv(), h = VN(), u = Ob(), p = DN(), k = ZN(), C = GN(), g = Ub(),
|
|
4025
|
-
function
|
|
4024
|
+
const o = /* @__PURE__ */ wv(), i = Lv(), r = /* @__PURE__ */ o._(Fe), c = jN(), s = Qb(), d = Xb(), l = bv(), h = VN(), u = Ob(), p = DN(), k = ZN(), C = GN(), g = Ub(), x = WN(), M = /* @__PURE__ */ new Set();
|
|
4025
|
+
function N(E, q, z, ne) {
|
|
4026
4026
|
if (!(typeof window > "u") && (0, s.isLocalURL)(q)) {
|
|
4027
|
-
if (!
|
|
4027
|
+
if (!ne.bypassPrefetchedCheck) {
|
|
4028
4028
|
const B = (
|
|
4029
4029
|
// Let the link's locale prop override the default router locale.
|
|
4030
|
-
typeof
|
|
4031
|
-
),
|
|
4032
|
-
if (M.has(
|
|
4030
|
+
typeof ne.locale < "u" ? ne.locale : "locale" in E ? E.locale : void 0
|
|
4031
|
+
), J = q + "%" + z + "%" + B;
|
|
4032
|
+
if (M.has(J))
|
|
4033
4033
|
return;
|
|
4034
|
-
M.add(
|
|
4034
|
+
M.add(J);
|
|
4035
4035
|
}
|
|
4036
|
-
E.prefetch(q, z,
|
|
4036
|
+
E.prefetch(q, z, ne).catch((B) => {
|
|
4037
4037
|
if (process.env.NODE_ENV !== "production")
|
|
4038
4038
|
throw B;
|
|
4039
4039
|
});
|
|
@@ -4044,30 +4044,30 @@ function XN() {
|
|
|
4044
4044
|
return z && z !== "_self" || E.metaKey || E.ctrlKey || E.shiftKey || E.altKey || // triggers resource download
|
|
4045
4045
|
E.nativeEvent && E.nativeEvent.which === 2;
|
|
4046
4046
|
}
|
|
4047
|
-
function w(E, q, z,
|
|
4048
|
-
const { nodeName:
|
|
4049
|
-
if (
|
|
4047
|
+
function w(E, q, z, ne, B, J, X, Y, ee) {
|
|
4048
|
+
const { nodeName: te } = E.currentTarget;
|
|
4049
|
+
if (te.toUpperCase() === "A" && f(E) || E.currentTarget.hasAttribute("download"))
|
|
4050
4050
|
return;
|
|
4051
4051
|
if (!(0, s.isLocalURL)(z)) {
|
|
4052
4052
|
B && (E.preventDefault(), location.replace(z));
|
|
4053
4053
|
return;
|
|
4054
4054
|
}
|
|
4055
4055
|
E.preventDefault(), (() => {
|
|
4056
|
-
if (
|
|
4056
|
+
if (ee) {
|
|
4057
4057
|
let O = !1;
|
|
4058
|
-
if (
|
|
4058
|
+
if (ee({
|
|
4059
4059
|
preventDefault: () => {
|
|
4060
4060
|
O = !0;
|
|
4061
4061
|
}
|
|
4062
4062
|
}), O)
|
|
4063
4063
|
return;
|
|
4064
4064
|
}
|
|
4065
|
-
const T =
|
|
4066
|
-
"beforePopState" in q ? q[B ? "replace" : "push"](z,
|
|
4067
|
-
shallow:
|
|
4068
|
-
locale:
|
|
4065
|
+
const T = X ?? !0;
|
|
4066
|
+
"beforePopState" in q ? q[B ? "replace" : "push"](z, ne, {
|
|
4067
|
+
shallow: J,
|
|
4068
|
+
locale: Y,
|
|
4069
4069
|
scroll: T
|
|
4070
|
-
}) : q[B ? "replace" : "push"](
|
|
4070
|
+
}) : q[B ? "replace" : "push"](ne || z, {
|
|
4071
4071
|
scroll: T
|
|
4072
4072
|
});
|
|
4073
4073
|
})();
|
|
@@ -4076,12 +4076,12 @@ function XN() {
|
|
|
4076
4076
|
return typeof E == "string" ? E : (0, d.formatUrl)(E);
|
|
4077
4077
|
}
|
|
4078
4078
|
const S = /* @__PURE__ */ r.default.forwardRef(function(q, z) {
|
|
4079
|
-
let
|
|
4080
|
-
const { href: B, as:
|
|
4081
|
-
|
|
4082
|
-
children:
|
|
4079
|
+
let ne;
|
|
4080
|
+
const { href: B, as: J, children: X, prefetch: Y = null, passHref: ee, replace: te, shallow: v, scroll: R, locale: T, onClick: O, onNavigate: H, onMouseEnter: Q, onTouchStart: Z, legacyBehavior: b = !1, ...U } = q;
|
|
4081
|
+
ne = X, b && (typeof ne == "string" || typeof ne == "number") && (ne = /* @__PURE__ */ (0, i.jsx)("a", {
|
|
4082
|
+
children: ne
|
|
4083
4083
|
}));
|
|
4084
|
-
const V = r.default.useContext(u.RouterContext),
|
|
4084
|
+
const V = r.default.useContext(u.RouterContext), W = Y !== !1;
|
|
4085
4085
|
if (process.env.NODE_ENV !== "production") {
|
|
4086
4086
|
let de = function($) {
|
|
4087
4087
|
return Object.defineProperty(new Error("Failed prop type: The prop `" + $.key + "` expects a " + $.expected + " in `<Link>`, but got `" + $.actual + "` instead." + (typeof window < "u" ? `
|
|
@@ -4114,62 +4114,62 @@ Open your browser's console to view the Component stack trace.` : "")), "__NEXT_
|
|
|
4114
4114
|
legacyBehavior: !0,
|
|
4115
4115
|
onNavigate: !0
|
|
4116
4116
|
}).forEach(($) => {
|
|
4117
|
-
const
|
|
4117
|
+
const ae = typeof q[$];
|
|
4118
4118
|
if ($ === "as") {
|
|
4119
|
-
if (q[$] &&
|
|
4119
|
+
if (q[$] && ae !== "string" && ae !== "object")
|
|
4120
4120
|
throw de({
|
|
4121
4121
|
key: $,
|
|
4122
4122
|
expected: "`string` or `object`",
|
|
4123
|
-
actual:
|
|
4123
|
+
actual: ae
|
|
4124
4124
|
});
|
|
4125
4125
|
} else if ($ === "locale") {
|
|
4126
|
-
if (q[$] &&
|
|
4126
|
+
if (q[$] && ae !== "string")
|
|
4127
4127
|
throw de({
|
|
4128
4128
|
key: $,
|
|
4129
4129
|
expected: "`string`",
|
|
4130
|
-
actual:
|
|
4130
|
+
actual: ae
|
|
4131
4131
|
});
|
|
4132
4132
|
} else if ($ === "onClick" || $ === "onMouseEnter" || $ === "onTouchStart" || $ === "onNavigate") {
|
|
4133
|
-
if (q[$] &&
|
|
4133
|
+
if (q[$] && ae !== "function")
|
|
4134
4134
|
throw de({
|
|
4135
4135
|
key: $,
|
|
4136
4136
|
expected: "`function`",
|
|
4137
|
-
actual:
|
|
4137
|
+
actual: ae
|
|
4138
4138
|
});
|
|
4139
|
-
} else if (($ === "replace" || $ === "scroll" || $ === "shallow" || $ === "passHref" || $ === "prefetch" || $ === "legacyBehavior") && q[$] != null &&
|
|
4139
|
+
} else if (($ === "replace" || $ === "scroll" || $ === "shallow" || $ === "passHref" || $ === "prefetch" || $ === "legacyBehavior") && q[$] != null && ae !== "boolean")
|
|
4140
4140
|
throw de({
|
|
4141
4141
|
key: $,
|
|
4142
4142
|
expected: "`boolean`",
|
|
4143
|
-
actual:
|
|
4143
|
+
actual: ae
|
|
4144
4144
|
});
|
|
4145
4145
|
});
|
|
4146
4146
|
}
|
|
4147
|
-
const { href:
|
|
4147
|
+
const { href: I, as: L } = r.default.useMemo(() => {
|
|
4148
4148
|
if (!V) {
|
|
4149
4149
|
const F = m(B);
|
|
4150
4150
|
return {
|
|
4151
4151
|
href: F,
|
|
4152
|
-
as:
|
|
4152
|
+
as: J ? m(J) : F
|
|
4153
4153
|
};
|
|
4154
4154
|
}
|
|
4155
4155
|
const [de, me] = (0, c.resolveHref)(V, B, !0);
|
|
4156
4156
|
return {
|
|
4157
4157
|
href: de,
|
|
4158
|
-
as:
|
|
4158
|
+
as: J ? (0, c.resolveHref)(V, J) : me || de
|
|
4159
4159
|
};
|
|
4160
4160
|
}, [
|
|
4161
4161
|
V,
|
|
4162
4162
|
B,
|
|
4163
|
-
|
|
4164
|
-
]), fe = r.default.useRef(
|
|
4165
|
-
let
|
|
4163
|
+
J
|
|
4164
|
+
]), fe = r.default.useRef(I), K = r.default.useRef(L);
|
|
4165
|
+
let G;
|
|
4166
4166
|
if (b)
|
|
4167
4167
|
if (process.env.NODE_ENV === "development") {
|
|
4168
|
-
O && console.warn('"onClick" was passed to <Link> with `href` of `' + B + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),
|
|
4168
|
+
O && console.warn('"onClick" was passed to <Link> with `href` of `' + B + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'), Q && console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + B + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
|
|
4169
4169
|
try {
|
|
4170
|
-
|
|
4170
|
+
G = r.default.Children.only(ne);
|
|
4171
4171
|
} catch {
|
|
4172
|
-
throw
|
|
4172
|
+
throw ne ? Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `" + B + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window < "u" ? `
|
|
4173
4173
|
Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
|
|
4174
4174
|
value: "E266",
|
|
4175
4175
|
enumerable: !1,
|
|
@@ -4181,34 +4181,34 @@ Open your browser's console to view the Component stack trace.` : "")), "__NEXT_
|
|
|
4181
4181
|
});
|
|
4182
4182
|
}
|
|
4183
4183
|
} else
|
|
4184
|
-
|
|
4185
|
-
else if (process.env.NODE_ENV === "development" && (
|
|
4184
|
+
G = r.default.Children.only(ne);
|
|
4185
|
+
else if (process.env.NODE_ENV === "development" && (ne == null ? void 0 : ne.type) === "a")
|
|
4186
4186
|
throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
|
|
4187
4187
|
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`), "__NEXT_ERROR_CODE", {
|
|
4188
4188
|
value: "E209",
|
|
4189
4189
|
enumerable: !1,
|
|
4190
4190
|
configurable: !0
|
|
4191
4191
|
});
|
|
4192
|
-
const
|
|
4192
|
+
const re = b ? G && typeof G == "object" && G.ref : z, [Ie, ve, Me] = (0, p.useIntersection)({
|
|
4193
4193
|
rootMargin: "200px"
|
|
4194
4194
|
}), Pe = r.default.useCallback((de) => {
|
|
4195
|
-
(K.current !==
|
|
4195
|
+
(K.current !== L || fe.current !== I) && (Me(), K.current = L, fe.current = I), Ie(de);
|
|
4196
4196
|
}, [
|
|
4197
|
-
|
|
4198
|
-
|
|
4197
|
+
L,
|
|
4198
|
+
I,
|
|
4199
4199
|
Me,
|
|
4200
4200
|
Ie
|
|
4201
|
-
]), ge = (0, g.useMergedRef)(Pe,
|
|
4201
|
+
]), ge = (0, g.useMergedRef)(Pe, re);
|
|
4202
4202
|
r.default.useEffect(() => {
|
|
4203
|
-
process.env.NODE_ENV === "production" && V && (!ve || !
|
|
4203
|
+
process.env.NODE_ENV === "production" && V && (!ve || !W || N(V, I, L, {
|
|
4204
4204
|
locale: T
|
|
4205
4205
|
}));
|
|
4206
4206
|
}, [
|
|
4207
|
-
|
|
4208
|
-
|
|
4207
|
+
L,
|
|
4208
|
+
I,
|
|
4209
4209
|
ve,
|
|
4210
4210
|
T,
|
|
4211
|
-
|
|
4211
|
+
W,
|
|
4212
4212
|
V == null ? void 0 : V.locale,
|
|
4213
4213
|
V
|
|
4214
4214
|
]);
|
|
@@ -4221,10 +4221,10 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4221
4221
|
enumerable: !1,
|
|
4222
4222
|
configurable: !0
|
|
4223
4223
|
});
|
|
4224
|
-
!b && typeof O == "function" && O(de), b &&
|
|
4224
|
+
!b && typeof O == "function" && O(de), b && G.props && typeof G.props.onClick == "function" && G.props.onClick(de), V && (de.defaultPrevented || w(de, V, I, L, te, v, R, T, H));
|
|
4225
4225
|
},
|
|
4226
4226
|
onMouseEnter(de) {
|
|
4227
|
-
!b && typeof
|
|
4227
|
+
!b && typeof Q == "function" && Q(de), b && G.props && typeof G.props.onMouseEnter == "function" && G.props.onMouseEnter(de), V && N(V, I, L, {
|
|
4228
4228
|
locale: T,
|
|
4229
4229
|
priority: !0,
|
|
4230
4230
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
@@ -4232,7 +4232,7 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4232
4232
|
});
|
|
4233
4233
|
},
|
|
4234
4234
|
onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(me) {
|
|
4235
|
-
!b && typeof
|
|
4235
|
+
!b && typeof Z == "function" && Z(me), b && G.props && typeof G.props.onTouchStart == "function" && G.props.onTouchStart(me), V && N(V, I, L, {
|
|
4236
4236
|
locale: T,
|
|
4237
4237
|
priority: !0,
|
|
4238
4238
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
@@ -4240,20 +4240,20 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4240
4240
|
});
|
|
4241
4241
|
}
|
|
4242
4242
|
};
|
|
4243
|
-
if ((0, l.isAbsoluteUrl)(
|
|
4244
|
-
ie.href =
|
|
4245
|
-
else if (!b ||
|
|
4246
|
-
const de = typeof T < "u" ? T : V == null ? void 0 : V.locale, me = (V == null ? void 0 : V.isLocaleDomain) && (0, k.getDomainLocale)(
|
|
4247
|
-
ie.href = me || (0, C.addBasePath)((0, h.addLocale)(
|
|
4243
|
+
if ((0, l.isAbsoluteUrl)(L))
|
|
4244
|
+
ie.href = L;
|
|
4245
|
+
else if (!b || ee || G.type === "a" && !("href" in G.props)) {
|
|
4246
|
+
const de = typeof T < "u" ? T : V == null ? void 0 : V.locale, me = (V == null ? void 0 : V.isLocaleDomain) && (0, k.getDomainLocale)(L, de, V == null ? void 0 : V.locales, V == null ? void 0 : V.domainLocales);
|
|
4247
|
+
ie.href = me || (0, C.addBasePath)((0, h.addLocale)(L, de, V == null ? void 0 : V.defaultLocale));
|
|
4248
4248
|
}
|
|
4249
|
-
return b ? (process.env.NODE_ENV === "development" && (0,
|
|
4249
|
+
return b ? (process.env.NODE_ENV === "development" && (0, x.errorOnce)(`\`legacyBehavior\` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:
|
|
4250
4250
|
|
|
4251
4251
|
npx @next/codemod@latest new-link .
|
|
4252
4252
|
|
|
4253
|
-
Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`), /* @__PURE__ */ r.default.cloneElement(
|
|
4253
|
+
Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`), /* @__PURE__ */ r.default.cloneElement(G, ie)) : /* @__PURE__ */ (0, i.jsx)("a", {
|
|
4254
4254
|
...U,
|
|
4255
4255
|
...ie,
|
|
4256
|
-
children:
|
|
4256
|
+
children: ne
|
|
4257
4257
|
});
|
|
4258
4258
|
}), A = /* @__PURE__ */ (0, r.createContext)({
|
|
4259
4259
|
// We do not support link status in the Pages Router, so we always return false
|
|
@@ -33272,10 +33272,10 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33272
33272
|
isLoading: k = !1,
|
|
33273
33273
|
isSkeleton: C = !1,
|
|
33274
33274
|
hasHover: g = !0,
|
|
33275
|
-
ariaLabel:
|
|
33275
|
+
ariaLabel: x,
|
|
33276
33276
|
...M
|
|
33277
33277
|
}) => {
|
|
33278
|
-
const
|
|
33278
|
+
const N = /* @__PURE__ */ _.jsx(_.Fragment, { children: e ? /* @__PURE__ */ _.jsx(_.Fragment, { children: e }) : /* @__PURE__ */ _.jsxs("span", { className: qe.content, children: [
|
|
33279
33279
|
c && /* @__PURE__ */ _.jsx(
|
|
33280
33280
|
h1,
|
|
33281
33281
|
{
|
|
@@ -33293,7 +33293,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33293
33293
|
className: qe.icon
|
|
33294
33294
|
}
|
|
33295
33295
|
)
|
|
33296
|
-
] }) }), f =
|
|
33296
|
+
] }) }), f = oe(
|
|
33297
33297
|
qe.button,
|
|
33298
33298
|
qe[`size-${i}`],
|
|
33299
33299
|
qe[`variant-${r}`],
|
|
@@ -33312,7 +33312,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33312
33312
|
className: f,
|
|
33313
33313
|
role: "button",
|
|
33314
33314
|
"aria-disabled": "true",
|
|
33315
|
-
children:
|
|
33315
|
+
children: N
|
|
33316
33316
|
}
|
|
33317
33317
|
) : o === "_blank" ? /* @__PURE__ */ _.jsx(
|
|
33318
33318
|
"a",
|
|
@@ -33321,14 +33321,14 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33321
33321
|
target: "_blank",
|
|
33322
33322
|
rel: "noopener noreferrer",
|
|
33323
33323
|
className: f,
|
|
33324
|
-
children:
|
|
33324
|
+
children: N
|
|
33325
33325
|
}
|
|
33326
33326
|
) : /* @__PURE__ */ _.jsx(
|
|
33327
33327
|
Xn,
|
|
33328
33328
|
{
|
|
33329
33329
|
href: a,
|
|
33330
33330
|
className: f,
|
|
33331
|
-
children:
|
|
33331
|
+
children: N
|
|
33332
33332
|
}
|
|
33333
33333
|
) : /* @__PURE__ */ _.jsx(
|
|
33334
33334
|
"button",
|
|
@@ -33336,23 +33336,23 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33336
33336
|
className: f,
|
|
33337
33337
|
type: "button",
|
|
33338
33338
|
disabled: p || k || C,
|
|
33339
|
-
"aria-label":
|
|
33339
|
+
"aria-label": x ?? (!t && c === "X" ? "Close" : void 0),
|
|
33340
33340
|
onClick: (w) => {
|
|
33341
33341
|
k || M.onClick && M.onClick(w);
|
|
33342
33342
|
},
|
|
33343
33343
|
...M,
|
|
33344
|
-
children:
|
|
33344
|
+
children: N
|
|
33345
33345
|
}
|
|
33346
33346
|
);
|
|
33347
|
-
}, mv = ({ children: e, className: t, justify: a }) => /* @__PURE__ */ _.jsx("div", { className:
|
|
33347
|
+
}, mv = ({ children: e, className: t, justify: a }) => /* @__PURE__ */ _.jsx("div", { className: oe(qe.group, t, a && qe[`justify-${a}`]), children: e }), jde = ({ id: e, hasHeader: t = !1 }) => {
|
|
33348
33348
|
const a = n1(), o = a ? "" : $e.skeleton;
|
|
33349
33349
|
return /* @__PURE__ */ _.jsx(
|
|
33350
33350
|
"div",
|
|
33351
33351
|
{
|
|
33352
33352
|
id: e,
|
|
33353
|
-
className:
|
|
33353
|
+
className: oe($e.banner, t && $e.header),
|
|
33354
33354
|
children: /* @__PURE__ */ _.jsx("div", { className: $e.container, children: /* @__PURE__ */ _.jsxs("div", { className: $e.content, children: [
|
|
33355
|
-
/* @__PURE__ */ _.jsx("div", { className: $e.image, children: /* @__PURE__ */ _.jsx("div", { className:
|
|
33355
|
+
/* @__PURE__ */ _.jsx("div", { className: $e.image, children: /* @__PURE__ */ _.jsx("div", { className: oe($e["image-wrap"]), children: a ? /* @__PURE__ */ _.jsxs(_.Fragment, { children: [
|
|
33356
33356
|
/* @__PURE__ */ _.jsx(
|
|
33357
33357
|
Zb,
|
|
33358
33358
|
{
|
|
@@ -33374,7 +33374,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33374
33374
|
] }) : /* @__PURE__ */ _.jsx("div", { className: $e.skeleton }) }) }),
|
|
33375
33375
|
/* @__PURE__ */ _.jsxs("div", { className: $e.text, children: [
|
|
33376
33376
|
/* @__PURE__ */ _.jsxs("h1", { children: [
|
|
33377
|
-
/* @__PURE__ */ _.jsx("span", { className:
|
|
33377
|
+
/* @__PURE__ */ _.jsx("span", { className: oe($e.primary, o), children: "Hi, I'm Michael" }),
|
|
33378
33378
|
/* @__PURE__ */ _.jsx("span", { className: o, children: "A Front End Developer" })
|
|
33379
33379
|
] }),
|
|
33380
33380
|
/* @__PURE__ */ _.jsx("h2", { className: o, children: "With over a decade in the industry creating websites" }),
|
|
@@ -33387,7 +33387,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33387
33387
|
variant: "primary",
|
|
33388
33388
|
size: "md",
|
|
33389
33389
|
isSkeleton: !a,
|
|
33390
|
-
className:
|
|
33390
|
+
className: oe(!a && $e.skeleton)
|
|
33391
33391
|
}
|
|
33392
33392
|
),
|
|
33393
33393
|
/* @__PURE__ */ _.jsx(
|
|
@@ -33399,7 +33399,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33399
33399
|
variant: "default",
|
|
33400
33400
|
size: "md",
|
|
33401
33401
|
isSkeleton: !a,
|
|
33402
|
-
className:
|
|
33402
|
+
className: oe(!a && $e.skeleton, $e.button)
|
|
33403
33403
|
}
|
|
33404
33404
|
)
|
|
33405
33405
|
] })
|
|
@@ -33527,7 +33527,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33527
33527
|
macdonald: oae,
|
|
33528
33528
|
snappy: iae,
|
|
33529
33529
|
hungrrr: nae
|
|
33530
|
-
},
|
|
33530
|
+
}, Hde = ({ id: e }) => {
|
|
33531
33531
|
const t = n1(), a = rae(), o = t ? "" : Ke.skeleton;
|
|
33532
33532
|
return /* @__PURE__ */ _.jsx(
|
|
33533
33533
|
"div",
|
|
@@ -33544,12 +33544,12 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33544
33544
|
return /* @__PURE__ */ _.jsxs(
|
|
33545
33545
|
"div",
|
|
33546
33546
|
{
|
|
33547
|
-
className:
|
|
33547
|
+
className: oe(Ke.item),
|
|
33548
33548
|
children: [
|
|
33549
33549
|
t ? /* @__PURE__ */ _.jsx(
|
|
33550
33550
|
"div",
|
|
33551
33551
|
{
|
|
33552
|
-
className:
|
|
33552
|
+
className: oe(Ke.image),
|
|
33553
33553
|
style: { backgroundColor: i.bgColor, color: i.textColor },
|
|
33554
33554
|
children: c && /* @__PURE__ */ _.jsx(
|
|
33555
33555
|
c,
|
|
@@ -33582,7 +33582,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33582
33582
|
"image-wrap": "style-module__image-wrap___FnUhF",
|
|
33583
33583
|
text: yae,
|
|
33584
33584
|
"button-group": "style-module__button-group___fMutf"
|
|
33585
|
-
},
|
|
33585
|
+
}, Vde = ({ id: e }) => {
|
|
33586
33586
|
const t = n1(), a = t ? "" : a1.skeleton;
|
|
33587
33587
|
return /* @__PURE__ */ _.jsx(
|
|
33588
33588
|
"div",
|
|
@@ -33590,7 +33590,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33590
33590
|
id: e,
|
|
33591
33591
|
className: a1.section,
|
|
33592
33592
|
children: /* @__PURE__ */ _.jsx("div", { className: a1.container, children: /* @__PURE__ */ _.jsxs("div", { className: a1.content, children: [
|
|
33593
|
-
/* @__PURE__ */ _.jsx("div", { className: a1.image, children: /* @__PURE__ */ _.jsx("div", { className:
|
|
33593
|
+
/* @__PURE__ */ _.jsx("div", { className: a1.image, children: /* @__PURE__ */ _.jsx("div", { className: oe(a1["image-wrap"]), children: t ? /* @__PURE__ */ _.jsx(
|
|
33594
33594
|
Zb,
|
|
33595
33595
|
{
|
|
33596
33596
|
src: "/ellie.png",
|
|
@@ -33673,7 +33673,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33673
33673
|
{ name: "AWS", Icon: Cae },
|
|
33674
33674
|
{ name: "Netlify", Icon: Iae },
|
|
33675
33675
|
{ name: "VS Code", Icon: Rae }
|
|
33676
|
-
],
|
|
33676
|
+
], zde = ({ id: e }) => {
|
|
33677
33677
|
const t = n1(), a = t ? "" : o1.skeleton;
|
|
33678
33678
|
return /* @__PURE__ */ _.jsx(
|
|
33679
33679
|
"div",
|
|
@@ -33734,7 +33734,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33734
33734
|
"snappy-logo": Wae,
|
|
33735
33735
|
"hungrrr-logo": Uae,
|
|
33736
33736
|
"mtc-logo": Gae
|
|
33737
|
-
},
|
|
33737
|
+
}, Dde = ({ id: e }) => {
|
|
33738
33738
|
const t = n1(), a = cae(), o = t ? "" : Ye.skeleton;
|
|
33739
33739
|
return /* @__PURE__ */ _.jsx(
|
|
33740
33740
|
"div",
|
|
@@ -33754,7 +33754,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33754
33754
|
className: Ye.item,
|
|
33755
33755
|
children: [
|
|
33756
33756
|
/* @__PURE__ */ _.jsxs("div", { className: Ye.left, children: [
|
|
33757
|
-
/* @__PURE__ */ _.jsx("span", { className:
|
|
33757
|
+
/* @__PURE__ */ _.jsx("span", { className: oe(Ye.dot, o) }),
|
|
33758
33758
|
/* @__PURE__ */ _.jsxs("div", { className: Ye.text, children: [
|
|
33759
33759
|
/* @__PURE__ */ _.jsx("h4", { className: o, children: i.date }),
|
|
33760
33760
|
c && /* @__PURE__ */ _.jsx(
|
|
@@ -33791,7 +33791,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33791
33791
|
skeleton: Yae,
|
|
33792
33792
|
container: Qae,
|
|
33793
33793
|
social: Jae
|
|
33794
|
-
},
|
|
33794
|
+
}, Ode = () => {
|
|
33795
33795
|
const e = n1(), t = (/* @__PURE__ */ new Date()).getFullYear();
|
|
33796
33796
|
return /* @__PURE__ */ _.jsx("div", { className: eo.footer, children: /* @__PURE__ */ _.jsxs("div", { className: eo.container, children: [
|
|
33797
33797
|
/* @__PURE__ */ _.jsx(
|
|
@@ -33801,7 +33801,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33801
33801
|
isMounted: e
|
|
33802
33802
|
}
|
|
33803
33803
|
),
|
|
33804
|
-
/* @__PURE__ */ _.jsxs("p", { className:
|
|
33804
|
+
/* @__PURE__ */ _.jsxs("p", { className: oe(!e && eo.skeleton), children: [
|
|
33805
33805
|
"© ",
|
|
33806
33806
|
t,
|
|
33807
33807
|
" Michael Allen"
|
|
@@ -33818,10 +33818,10 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33818
33818
|
Xn,
|
|
33819
33819
|
{
|
|
33820
33820
|
href: "/",
|
|
33821
|
-
className:
|
|
33821
|
+
className: oe(ga.logo),
|
|
33822
33822
|
children: [
|
|
33823
|
-
/* @__PURE__ */ _.jsx("span", { className:
|
|
33824
|
-
/* @__PURE__ */ _.jsx("span", { className:
|
|
33823
|
+
/* @__PURE__ */ _.jsx("span", { className: oe(ga.icon, !e && ga.skeleton), children: "M" }),
|
|
33824
|
+
/* @__PURE__ */ _.jsx("span", { className: oe(ga.title, !e && ga.skeleton), children: "TheMichael" })
|
|
33825
33825
|
]
|
|
33826
33826
|
}
|
|
33827
33827
|
);
|
|
@@ -33830,7 +33830,7 @@ const Hne = "button-module__group___YdABW", Vne = "button-module__block___r2gUN"
|
|
|
33830
33830
|
skeleton: coe
|
|
33831
33831
|
}, roe = ({ className: e }) => {
|
|
33832
33832
|
const t = n1();
|
|
33833
|
-
return /* @__PURE__ */ _.jsx("div", { className:
|
|
33833
|
+
return /* @__PURE__ */ _.jsx("div", { className: oe(iw.nav, !t && iw.skeleton, e), children: /* @__PURE__ */ _.jsxs("ul", { children: [
|
|
33834
33834
|
/* @__PURE__ */ _.jsx("li", { children: /* @__PURE__ */ _.jsx(Xn, { href: "/", children: "Home" }) }),
|
|
33835
33835
|
/* @__PURE__ */ _.jsx("li", { children: /* @__PURE__ */ _.jsx(Xn, { href: "/#about-me", children: "About me" }) }),
|
|
33836
33836
|
/* @__PURE__ */ _.jsx("li", { children: /* @__PURE__ */ _.jsx(Xn, { href: "/#projects", children: "Projects" }) }),
|
|
@@ -34009,12 +34009,12 @@ function MS(e, t) {
|
|
|
34009
34009
|
}, r = () => a = !0, c = to.reduce((f, w) => (f[w] = foe(r, t ? w : void 0), f), {}), { setup: s, read: d, resolveKeyframes: l, preUpdate: h, update: u, preRender: p, render: k, postRender: C } = c, g = () => {
|
|
34010
34010
|
const f = s1.useManualTiming ? i.timestamp : performance.now();
|
|
34011
34011
|
a = !1, s1.useManualTiming || (i.delta = o ? 1e3 / 60 : Math.max(Math.min(f - i.timestamp, moe), 1)), i.timestamp = f, i.isProcessing = !0, s.process(i), d.process(i), l.process(i), h.process(i), u.process(i), p.process(i), k.process(i), C.process(i), i.isProcessing = !1, a && t && (o = !1, e(g));
|
|
34012
|
-
},
|
|
34012
|
+
}, x = () => {
|
|
34013
34013
|
a = !0, o = !0, i.isProcessing || e(g);
|
|
34014
34014
|
};
|
|
34015
34015
|
return { schedule: to.reduce((f, w) => {
|
|
34016
34016
|
const m = c[w];
|
|
34017
|
-
return f[w] = (S, A = !1, P = !1) => (a ||
|
|
34017
|
+
return f[w] = (S, A = !1, P = !1) => (a || x(), m.schedule(S, A, P)), f;
|
|
34018
34018
|
}, {}), cancel: (f) => {
|
|
34019
34019
|
for (let w = 0; w < to.length; w++)
|
|
34020
34020
|
c[to[w]].cancel(f);
|
|
@@ -34372,22 +34372,22 @@ function _v(e = Ce.visualDuration, t = Ce.bounce) {
|
|
|
34372
34372
|
const r = a.keyframes[0], c = a.keyframes[a.keyframes.length - 1], s = { done: !1, value: r }, { stiffness: d, damping: l, mass: h, duration: u, velocity: p, isResolvedFromDuration: k } = Koe({
|
|
34373
34373
|
...a,
|
|
34374
34374
|
velocity: -/* @__PURE__ */ e1(a.velocity || 0)
|
|
34375
|
-
}), C = p || 0, g = l / (2 * Math.sqrt(d * h)),
|
|
34376
|
-
o || (o =
|
|
34375
|
+
}), C = p || 0, g = l / (2 * Math.sqrt(d * h)), x = c - r, M = /* @__PURE__ */ e1(Math.sqrt(d / h)), N = Math.abs(x) < 5;
|
|
34376
|
+
o || (o = N ? Ce.restSpeed.granular : Ce.restSpeed.default), i || (i = N ? Ce.restDelta.granular : Ce.restDelta.default);
|
|
34377
34377
|
let f;
|
|
34378
34378
|
if (g < 1) {
|
|
34379
34379
|
const m = GC(M, g);
|
|
34380
34380
|
f = (S) => {
|
|
34381
34381
|
const A = Math.exp(-g * M * S);
|
|
34382
|
-
return c - A * ((C + g * M *
|
|
34382
|
+
return c - A * ((C + g * M * x) / m * Math.sin(m * S) + x * Math.cos(m * S));
|
|
34383
34383
|
};
|
|
34384
34384
|
} else if (g === 1)
|
|
34385
|
-
f = (m) => c - Math.exp(-M * m) * (
|
|
34385
|
+
f = (m) => c - Math.exp(-M * m) * (x + (C + M * x) * m);
|
|
34386
34386
|
else {
|
|
34387
34387
|
const m = M * Math.sqrt(g * g - 1);
|
|
34388
34388
|
f = (S) => {
|
|
34389
34389
|
const A = Math.exp(-g * M * S), P = Math.min(m * S, 300);
|
|
34390
|
-
return c - A * ((C + g * M *
|
|
34390
|
+
return c - A * ((C + g * M * x) * Math.sinh(P) + m * x * Math.cosh(P)) / m;
|
|
34391
34391
|
};
|
|
34392
34392
|
}
|
|
34393
34393
|
const w = {
|
|
@@ -34423,10 +34423,10 @@ function WC({ keyframes: e, velocity: t = 0, power: a = 0.8, timeConstant: o = 3
|
|
|
34423
34423
|
value: u
|
|
34424
34424
|
}, k = (P) => s !== void 0 && P < s || d !== void 0 && P > d, C = (P) => s === void 0 ? d : d === void 0 || Math.abs(s - P) < Math.abs(d - P) ? s : d;
|
|
34425
34425
|
let g = a * t;
|
|
34426
|
-
const
|
|
34427
|
-
M !==
|
|
34428
|
-
const
|
|
34429
|
-
const j =
|
|
34426
|
+
const x = u + g, M = c === void 0 ? x : c(x);
|
|
34427
|
+
M !== x && (g = M - u);
|
|
34428
|
+
const N = (P) => -g * Math.exp(-P / o), f = (P) => M + N(P), w = (P) => {
|
|
34429
|
+
const j = N(P), E = f(P);
|
|
34430
34430
|
p.done = Math.abs(j) <= l, p.value = p.done ? M : E;
|
|
34431
34431
|
};
|
|
34432
34432
|
let m, S;
|
|
@@ -34587,9 +34587,9 @@ class Rx extends Ex {
|
|
|
34587
34587
|
const { generator: o, totalDuration: i, mixKeyframes: r, mirroredGenerator: c, resolvedDuration: s, calculatedDuration: d } = this;
|
|
34588
34588
|
if (this.startTime === null)
|
|
34589
34589
|
return o.next(0);
|
|
34590
|
-
const { delay: l = 0, keyframes: h, repeat: u, repeatType: p, repeatDelay: k, type: C, onUpdate: g, finalKeyframe:
|
|
34590
|
+
const { delay: l = 0, keyframes: h, repeat: u, repeatType: p, repeatDelay: k, type: C, onUpdate: g, finalKeyframe: x } = this.options;
|
|
34591
34591
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - i / this.speed, this.startTime)), a ? this.currentTime = t : this.updateTime(t);
|
|
34592
|
-
const M = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1),
|
|
34592
|
+
const M = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), N = this.playbackSpeed >= 0 ? M < 0 : M > i;
|
|
34593
34593
|
this.currentTime = Math.max(M, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
|
|
34594
34594
|
let f = this.currentTime, w = o;
|
|
34595
34595
|
if (u) {
|
|
@@ -34597,12 +34597,12 @@ class Rx extends Ex {
|
|
|
34597
34597
|
let j = Math.floor(P), E = P % 1;
|
|
34598
34598
|
!E && P >= 1 && (E = 1), E === 1 && j--, j = Math.min(j, u + 1), !!(j % 2) && (p === "reverse" ? (E = 1 - E, k && (E -= k / s)) : p === "mirror" && (w = c)), f = c1(0, 1, E) * s;
|
|
34599
34599
|
}
|
|
34600
|
-
const m =
|
|
34600
|
+
const m = N ? { done: !1, value: h[0] } : w.next(f);
|
|
34601
34601
|
r && (m.value = r(m.value));
|
|
34602
34602
|
let { done: S } = m;
|
|
34603
|
-
!
|
|
34603
|
+
!N && d !== null && (S = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
|
|
34604
34604
|
const A = this.holdTime === null && (this.state === "finished" || this.state === "running" && S);
|
|
34605
|
-
return A && C !== WC && (m.value = Px(h, this.options,
|
|
34605
|
+
return A && C !== WC && (m.value = Px(h, this.options, x, this.speed)), g && g(m.value), A && this.finish(), m;
|
|
34606
34606
|
}
|
|
34607
34607
|
/**
|
|
34608
34608
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -35072,8 +35072,8 @@ class E0e extends Ex {
|
|
|
35072
35072
|
constructor({ autoplay: t = !0, delay: a = 0, type: o = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: c = "loop", keyframes: s, name: d, motionValue: l, element: h, ...u }) {
|
|
35073
35073
|
var C;
|
|
35074
35074
|
super(), this.stop = () => {
|
|
35075
|
-
var g,
|
|
35076
|
-
this._animation && (this._animation.stop(), (g = this.stopTimeline) == null || g.call(this)), (
|
|
35075
|
+
var g, x;
|
|
35076
|
+
this._animation && (this._animation.stop(), (g = this.stopTimeline) == null || g.call(this)), (x = this.keyframeResolver) == null || x.cancel();
|
|
35077
35077
|
}, this.createdAt = He.now();
|
|
35078
35078
|
const p = {
|
|
35079
35079
|
autoplay: t,
|
|
@@ -35087,7 +35087,7 @@ class E0e extends Ex {
|
|
|
35087
35087
|
element: h,
|
|
35088
35088
|
...u
|
|
35089
35089
|
}, k = (h == null ? void 0 : h.KeyframeResolver) || $x;
|
|
35090
|
-
this.keyframeResolver = new k(s, (g,
|
|
35090
|
+
this.keyframeResolver = new k(s, (g, x, M) => this.onKeyframesResolved(g, x, p, !M), d, l, h), (C = this.keyframeResolver) == null || C.scheduleResolve();
|
|
35091
35091
|
}
|
|
35092
35092
|
onKeyframesResolved(t, a, o, i) {
|
|
35093
35093
|
this.keyframeResolver = void 0;
|
|
@@ -35785,7 +35785,7 @@ function Iw(e) {
|
|
|
35785
35785
|
}), t;
|
|
35786
35786
|
}
|
|
35787
35787
|
const sie = ({ children: e, custom: t, initial: a = !0, onExitComplete: o, presenceAffectsLayout: i = !0, mode: r = "sync", propagate: c = !1, anchorX: s = "left" }) => {
|
|
35788
|
-
const [d, l] = GS(c), h = ea(() => Iw(e), [e]), u = c && !d ? [] : h.map(ao), p = De(!0), k = De(h), C = Iv(() => /* @__PURE__ */ new Map()), [g,
|
|
35788
|
+
const [d, l] = GS(c), h = ea(() => Iw(e), [e]), u = c && !d ? [] : h.map(ao), p = De(!0), k = De(h), C = Iv(() => /* @__PURE__ */ new Map()), [g, x] = Xe(h), [M, N] = Xe(h);
|
|
35789
35789
|
aS(() => {
|
|
35790
35790
|
p.current = !1, k.current = h;
|
|
35791
35791
|
for (let m = 0; m < M.length; m++) {
|
|
@@ -35800,7 +35800,7 @@ const sie = ({ children: e, custom: t, initial: a = !0, onExitComplete: o, prese
|
|
|
35800
35800
|
const A = M[S], P = ao(A);
|
|
35801
35801
|
u.includes(P) || (m.splice(S, 0, A), f.push(A));
|
|
35802
35802
|
}
|
|
35803
|
-
return r === "wait" && f.length && (m = f),
|
|
35803
|
+
return r === "wait" && f.length && (m = f), N(Iw(m)), x(h), null;
|
|
35804
35804
|
}
|
|
35805
35805
|
process.env.NODE_ENV !== "production" && r === "wait" && M.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
35806
35806
|
const { forceRender: w } = Ae(fx);
|
|
@@ -35813,7 +35813,7 @@ const sie = ({ children: e, custom: t, initial: a = !0, onExitComplete: o, prese
|
|
|
35813
35813
|
let j = !0;
|
|
35814
35814
|
C.forEach((E) => {
|
|
35815
35815
|
E || (j = !1);
|
|
35816
|
-
}), j && (w == null || w(),
|
|
35816
|
+
}), j && (w == null || w(), N(k.current), c && (l == null || l()), o && o());
|
|
35817
35817
|
};
|
|
35818
35818
|
return _.jsx(cie, { isPresent: A, initial: !p.current || a ? void 0 : !1, custom: t, presenceAffectsLayout: i, mode: r, onExitComplete: A ? void 0 : P, anchorX: s, children: m }, S);
|
|
35819
35819
|
}) });
|
|
@@ -35969,7 +35969,7 @@ function mie(e, t, a) {
|
|
|
35969
35969
|
}
|
|
35970
35970
|
const Fx = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Mie = "framerAppearId", YS = "data-" + Fx(Mie), QS = ta({});
|
|
35971
35971
|
function gie(e, t, a, o, i) {
|
|
35972
|
-
var g,
|
|
35972
|
+
var g, x;
|
|
35973
35973
|
const { visualElement: r } = Ae(Av), c = Ae(WS), s = Ae(Nv), d = Ae(zx).reducedMotion, l = De(null);
|
|
35974
35974
|
o = o || c.renderer, !l.current && o && (l.current = o(e, {
|
|
35975
35975
|
visualState: t,
|
|
@@ -35985,7 +35985,7 @@ function gie(e, t, a, o, i) {
|
|
|
35985
35985
|
jb(() => {
|
|
35986
35986
|
h && p.current && h.update(a, s);
|
|
35987
35987
|
});
|
|
35988
|
-
const k = a[YS], C = De(!!k && !((g = window.MotionHandoffIsComplete) != null && g.call(window, k)) && ((
|
|
35988
|
+
const k = a[YS], C = De(!!k && !((g = window.MotionHandoffIsComplete) != null && g.call(window, k)) && ((x = window.MotionHasOptimisedAnimation) == null ? void 0 : x.call(window, k)));
|
|
35989
35989
|
return aS(() => {
|
|
35990
35990
|
h && (p.current = !0, window.MotionIsMounted = !0, h.updateFeatures(), Hx.render(h.render), C.current && h.animationState && h.animationState.animateChanges());
|
|
35991
35991
|
}), Oe(() => {
|
|
@@ -36290,17 +36290,17 @@ function Vie(e, t, a, o) {
|
|
|
36290
36290
|
for (let k = 0; k < p.length; k++) {
|
|
36291
36291
|
const C = Gx(e, p[k]);
|
|
36292
36292
|
if (C) {
|
|
36293
|
-
const { transitionEnd: g, transition:
|
|
36294
|
-
for (const
|
|
36295
|
-
let f = M[
|
|
36293
|
+
const { transitionEnd: g, transition: x, ...M } = C;
|
|
36294
|
+
for (const N in M) {
|
|
36295
|
+
let f = M[N];
|
|
36296
36296
|
if (Array.isArray(f)) {
|
|
36297
36297
|
const w = h ? f.length - 1 : 0;
|
|
36298
36298
|
f = f[w];
|
|
36299
36299
|
}
|
|
36300
|
-
f !== null && (i[
|
|
36300
|
+
f !== null && (i[N] = f);
|
|
36301
36301
|
}
|
|
36302
|
-
for (const
|
|
36303
|
-
i[
|
|
36302
|
+
for (const N in g)
|
|
36303
|
+
i[N] = g[N];
|
|
36304
36304
|
}
|
|
36305
36305
|
}
|
|
36306
36306
|
}
|
|
@@ -36462,13 +36462,13 @@ function sI(e, t, { delay: a = 0, transitionOverride: o, type: i } = {}) {
|
|
|
36462
36462
|
if (window.MotionHandoffAnimation) {
|
|
36463
36463
|
const M = rI(e);
|
|
36464
36464
|
if (M) {
|
|
36465
|
-
const
|
|
36466
|
-
|
|
36465
|
+
const N = window.MotionHandoffAnimation(M, h, Le);
|
|
36466
|
+
N !== null && (k.startTime = N, g = !0);
|
|
36467
36467
|
}
|
|
36468
36468
|
}
|
|
36469
36469
|
ox(e, h), u.start(Xx(h, u, p, e.shouldReduceMotion && jS.has(h) ? { type: !1 } : k, e, g));
|
|
36470
|
-
const
|
|
36471
|
-
|
|
36470
|
+
const x = u.animation;
|
|
36471
|
+
x && d.push(x);
|
|
36472
36472
|
}
|
|
36473
36473
|
return c && Promise.all(d).then(() => {
|
|
36474
36474
|
Le.update(() => {
|
|
@@ -36566,52 +36566,52 @@ function dce(e) {
|
|
|
36566
36566
|
function c(d) {
|
|
36567
36567
|
const { props: l } = e, h = hI(e.parent) || {}, u = [], p = /* @__PURE__ */ new Set();
|
|
36568
36568
|
let k = {}, C = 1 / 0;
|
|
36569
|
-
for (let
|
|
36570
|
-
const M = cce[
|
|
36571
|
-
m === !1 && (C =
|
|
36569
|
+
for (let x = 0; x < rce; x++) {
|
|
36570
|
+
const M = cce[x], N = a[M], f = l[M] !== void 0 ? l[M] : h[M], w = Aa(f), m = M === d ? N.isActive : null;
|
|
36571
|
+
m === !1 && (C = x);
|
|
36572
36572
|
let S = f === h[M] && f !== l[M] && w;
|
|
36573
|
-
if (S && o && e.manuallyAnimateOnMount && (S = !1),
|
|
36574
|
-
!
|
|
36575
|
-
!f && !
|
|
36573
|
+
if (S && o && e.manuallyAnimateOnMount && (S = !1), N.protectedKeys = { ...k }, // If it isn't active and hasn't *just* been set as inactive
|
|
36574
|
+
!N.isActive && m === null || // If we didn't and don't have any defined prop for this animation type
|
|
36575
|
+
!f && !N.prevProp || // Or if the prop doesn't define an animation
|
|
36576
36576
|
Pv(f) || typeof f == "boolean")
|
|
36577
36577
|
continue;
|
|
36578
|
-
const A = hce(
|
|
36578
|
+
const A = hce(N.prevProp, f);
|
|
36579
36579
|
let P = A || // If we're making this variant active, we want to always make it active
|
|
36580
|
-
M === d &&
|
|
36581
|
-
|
|
36580
|
+
M === d && N.isActive && !S && w || // If we removed a higher-priority variant (i is in reverse order)
|
|
36581
|
+
x > C && w, j = !1;
|
|
36582
36582
|
const E = Array.isArray(f) ? f : [f];
|
|
36583
36583
|
let q = E.reduce(i(M), {});
|
|
36584
36584
|
m === !1 && (q = {});
|
|
36585
|
-
const { prevResolvedValues: z = {} } =
|
|
36585
|
+
const { prevResolvedValues: z = {} } = N, ne = {
|
|
36586
36586
|
...z,
|
|
36587
36587
|
...q
|
|
36588
|
-
}, B = (
|
|
36589
|
-
P = !0, p.has(
|
|
36590
|
-
const
|
|
36591
|
-
|
|
36588
|
+
}, B = (Y) => {
|
|
36589
|
+
P = !0, p.has(Y) && (j = !0, p.delete(Y)), N.needsAnimating[Y] = !0;
|
|
36590
|
+
const ee = e.getValue(Y);
|
|
36591
|
+
ee && (ee.liveStyle = !1);
|
|
36592
36592
|
};
|
|
36593
|
-
for (const
|
|
36594
|
-
const
|
|
36595
|
-
if (k.hasOwnProperty(
|
|
36593
|
+
for (const Y in ne) {
|
|
36594
|
+
const ee = q[Y], te = z[Y];
|
|
36595
|
+
if (k.hasOwnProperty(Y))
|
|
36596
36596
|
continue;
|
|
36597
36597
|
let v = !1;
|
|
36598
|
-
ax(
|
|
36598
|
+
ax(ee) && ax(te) ? v = !dI(ee, te) : v = ee !== te, v ? ee != null ? B(Y) : p.add(Y) : ee !== void 0 && p.has(Y) ? B(Y) : N.protectedKeys[Y] = !0;
|
|
36599
36599
|
}
|
|
36600
|
-
|
|
36601
|
-
animation:
|
|
36600
|
+
N.prevProp = f, N.prevResolvedValues = q, N.isActive && (k = { ...k, ...q }), o && e.blockInitialAnimation && (P = !1), P && (!(S && A) || j) && u.push(...E.map((Y) => ({
|
|
36601
|
+
animation: Y,
|
|
36602
36602
|
options: { type: M }
|
|
36603
36603
|
})));
|
|
36604
36604
|
}
|
|
36605
36605
|
if (p.size) {
|
|
36606
|
-
const
|
|
36606
|
+
const x = {};
|
|
36607
36607
|
if (typeof l.initial != "boolean") {
|
|
36608
36608
|
const M = Ea(e, Array.isArray(l.initial) ? l.initial[0] : l.initial);
|
|
36609
|
-
M && M.transition && (
|
|
36609
|
+
M && M.transition && (x.transition = M.transition);
|
|
36610
36610
|
}
|
|
36611
36611
|
p.forEach((M) => {
|
|
36612
|
-
const
|
|
36613
|
-
f && (f.liveStyle = !0),
|
|
36614
|
-
}), u.push({ animation:
|
|
36612
|
+
const N = e.getBaseTarget(M), f = e.getValue(M);
|
|
36613
|
+
f && (f.liveStyle = !0), x[M] = N ?? null;
|
|
36614
|
+
}), u.push({ animation: x });
|
|
36615
36615
|
}
|
|
36616
36616
|
let g = !!u.length;
|
|
36617
36617
|
return o && (l.initial === !1 || l.initial === l.animate) && !e.manuallyAnimateOnMount && (g = !1), o = !1, g ? t(u) : Promise.resolve();
|
|
@@ -36879,8 +36879,8 @@ class MI {
|
|
|
36879
36879
|
return;
|
|
36880
36880
|
const { point: C } = u, { timestamp: g } = Ne;
|
|
36881
36881
|
this.history.push({ ...C, timestamp: g });
|
|
36882
|
-
const { onStart:
|
|
36883
|
-
p || (
|
|
36882
|
+
const { onStart: x, onMove: M } = this.handlers;
|
|
36883
|
+
p || (x && x(this.lastMoveEvent, u), this.startEvent = this.lastMoveEvent), M && M(this.lastMoveEvent, u);
|
|
36884
36884
|
}, this.handlePointerMove = (u, p) => {
|
|
36885
36885
|
this.lastMoveEvent = u, this.lastMoveEventInfo = AC(p, this.transformPagePoint), Le.update(this.updatePoint, !0);
|
|
36886
36886
|
}, this.handlePointerUp = (u, p) => {
|
|
@@ -36888,8 +36888,8 @@ class MI {
|
|
|
36888
36888
|
const { onEnd: k, onSessionEnd: C, resumeAnimation: g } = this.handlers;
|
|
36889
36889
|
if (this.dragSnapToOrigin && g && g(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
36890
36890
|
return;
|
|
36891
|
-
const
|
|
36892
|
-
this.startEvent && k && k(u,
|
|
36891
|
+
const x = PC(u.type === "pointercancel" ? this.lastMoveEventInfo : AC(p, this.transformPagePoint), this.history);
|
|
36892
|
+
this.startEvent && k && k(u, x), C && C(u, x);
|
|
36893
36893
|
}, !Vx(t))
|
|
36894
36894
|
return;
|
|
36895
36895
|
this.dragSnapToOrigin = r, this.handlers = a, this.transformPagePoint = o, this.contextWindow = i || window;
|
|
@@ -37009,16 +37009,16 @@ class Tce {
|
|
|
37009
37009
|
const { drag: p, dragPropagation: k, onDragStart: C } = this.getProps();
|
|
37010
37010
|
if (p && !k && (this.openDragLock && this.openDragLock(), this.openDragLock = X0e(p), !this.openDragLock))
|
|
37011
37011
|
return;
|
|
37012
|
-
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Ue((
|
|
37013
|
-
let M = this.getAxisMotionValue(
|
|
37012
|
+
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Ue((x) => {
|
|
37013
|
+
let M = this.getAxisMotionValue(x).get() || 0;
|
|
37014
37014
|
if (t1.test(M)) {
|
|
37015
|
-
const { projection:
|
|
37016
|
-
if (
|
|
37017
|
-
const f =
|
|
37015
|
+
const { projection: N } = this.visualElement;
|
|
37016
|
+
if (N && N.layout) {
|
|
37017
|
+
const f = N.layout.layoutBox[x];
|
|
37018
37018
|
f && (M = je(f) * (parseFloat(M) / 100));
|
|
37019
37019
|
}
|
|
37020
37020
|
}
|
|
37021
|
-
this.originPoint[
|
|
37021
|
+
this.originPoint[x] = M;
|
|
37022
37022
|
}), C && Le.postRender(() => C(h, u)), ox(this.visualElement, "transform");
|
|
37023
37023
|
const { animationState: g } = this.visualElement;
|
|
37024
37024
|
g && g.setActive("whileDrag", !0);
|
|
@@ -37026,12 +37026,12 @@ class Tce {
|
|
|
37026
37026
|
const { dragPropagation: p, dragDirectionLock: k, onDirectionLock: C, onDrag: g } = this.getProps();
|
|
37027
37027
|
if (!p && !this.openDragLock)
|
|
37028
37028
|
return;
|
|
37029
|
-
const { offset:
|
|
37029
|
+
const { offset: x } = u;
|
|
37030
37030
|
if (k && this.currentDirection === null) {
|
|
37031
|
-
this.currentDirection = jce(
|
|
37031
|
+
this.currentDirection = jce(x), this.currentDirection !== null && C && C(this.currentDirection);
|
|
37032
37032
|
return;
|
|
37033
37033
|
}
|
|
37034
|
-
this.updateAxis("x", u.point,
|
|
37034
|
+
this.updateAxis("x", u.point, x), this.updateAxis("y", u.point, x), this.visualElement.render(), g && g(h, u);
|
|
37035
37035
|
}, s = (h, u) => this.stop(h, u), d = () => Ue((h) => {
|
|
37036
37036
|
var u;
|
|
37037
37037
|
return this.getAnimationState(h) === "paused" && ((u = this.getAxisMotionValue(h).animation) == null ? void 0 : u.play());
|
|
@@ -37590,15 +37590,15 @@ function bI({ attachResizeListener: e, defaultParent: t, measureScroll: a, check
|
|
|
37590
37590
|
this.target = void 0, this.relativeTarget = void 0;
|
|
37591
37591
|
return;
|
|
37592
37592
|
}
|
|
37593
|
-
const C = this.options.transition || l.getDefaultTransition() || gre, { onLayoutAnimationStart: g, onLayoutAnimationComplete:
|
|
37594
|
-
if (this.options.layoutRoot || this.resumeFrom ||
|
|
37593
|
+
const C = this.options.transition || l.getDefaultTransition() || gre, { onLayoutAnimationStart: g, onLayoutAnimationComplete: x } = l.getProps(), M = !this.targetLayout || !LI(this.targetLayout, k), N = !u && p;
|
|
37594
|
+
if (this.options.layoutRoot || this.resumeFrom || N || u && (M || !this.currentAnimation)) {
|
|
37595
37595
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
37596
37596
|
const f = {
|
|
37597
37597
|
...Tx(C, "layout"),
|
|
37598
37598
|
onPlay: g,
|
|
37599
|
-
onComplete:
|
|
37599
|
+
onComplete: x
|
|
37600
37600
|
};
|
|
37601
|
-
(l.shouldReduceMotion || this.options.layoutRoot) && (f.delay = 0, f.type = !1), this.startAnimation(f), this.setAnimationOrigin(h,
|
|
37601
|
+
(l.shouldReduceMotion || this.options.layoutRoot) && (f.delay = 0, f.type = !1), this.startAnimation(f), this.setAnimationOrigin(h, N);
|
|
37602
37602
|
} else
|
|
37603
37603
|
u || lb(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
37604
37604
|
this.targetLayout = k;
|
|
@@ -37848,12 +37848,12 @@ function bI({ attachResizeListener: e, defaultParent: t, measureScroll: a, check
|
|
|
37848
37848
|
setAnimationOrigin(c, s = !1) {
|
|
37849
37849
|
const d = this.snapshot, l = d ? d.latestValues : {}, h = { ...this.latestValues }, u = sa();
|
|
37850
37850
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !s;
|
|
37851
|
-
const p = we(), k = d ? d.source : void 0, C = this.layout ? this.layout.source : void 0, g = k !== C,
|
|
37851
|
+
const p = we(), k = d ? d.source : void 0, C = this.layout ? this.layout.source : void 0, g = k !== C, x = this.getStack(), M = !x || x.members.length <= 1, N = !!(g && !M && this.options.crossfade === !0 && !this.path.some(Mre));
|
|
37852
37852
|
this.animationProgress = 0;
|
|
37853
37853
|
let f;
|
|
37854
37854
|
this.mixTargetDelta = (w) => {
|
|
37855
37855
|
const m = w / 1e3;
|
|
37856
|
-
ub(u.x, c.x, m), ub(u.y, c.y, m), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ba(p, this.layout.layoutBox, this.relativeParent.layout.layoutBox), mre(this.relativeTarget, this.relativeTargetOrigin, p, m), f && ere(this.relativeTarget, f) && (this.isProjectionDirty = !1), f || (f = we()), Be(f, this.relativeTarget)), g && (this.animationValues = h, Wce(h, l, this.latestValues, m,
|
|
37856
|
+
ub(u.x, c.x, m), ub(u.y, c.y, m), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ba(p, this.layout.layoutBox, this.relativeParent.layout.layoutBox), mre(this.relativeTarget, this.relativeTargetOrigin, p, m), f && ere(this.relativeTarget, f) && (this.isProjectionDirty = !1), f || (f = we()), Be(f, this.relativeTarget)), g && (this.animationValues = h, Wce(h, l, this.latestValues, m, N, M)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
|
|
37857
37857
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
37858
37858
|
}
|
|
37859
37859
|
startAnimation(c) {
|
|
@@ -37970,13 +37970,13 @@ function bI({ attachResizeListener: e, defaultParent: t, measureScroll: a, check
|
|
|
37970
37970
|
for (const k in Pa) {
|
|
37971
37971
|
if (h[k] === void 0)
|
|
37972
37972
|
continue;
|
|
37973
|
-
const { correct: C, applyTo: g, isCSSVariable:
|
|
37973
|
+
const { correct: C, applyTo: g, isCSSVariable: x } = Pa[k], M = s.transform === "none" ? h[k] : C(h[k], l);
|
|
37974
37974
|
if (g) {
|
|
37975
|
-
const
|
|
37976
|
-
for (let f = 0; f <
|
|
37975
|
+
const N = g.length;
|
|
37976
|
+
for (let f = 0; f < N; f++)
|
|
37977
37977
|
s[g[f]] = M;
|
|
37978
37978
|
} else
|
|
37979
|
-
|
|
37979
|
+
x ? this.options.visualElement.renderState.vars[k] = M : s[k] = M;
|
|
37980
37980
|
}
|
|
37981
37981
|
return this.options.layoutId && (s.pointerEvents = l === this ? yv(c == null ? void 0 : c.pointerEvents) || "" : "none"), s;
|
|
37982
37982
|
}
|
|
@@ -38688,7 +38688,7 @@ const Xre = "toggle-module__toggle___UzM3e", Kre = "toggle-module__skeleton___mj
|
|
|
38688
38688
|
/* @__PURE__ */ _.jsxs(
|
|
38689
38689
|
"div",
|
|
38690
38690
|
{
|
|
38691
|
-
className:
|
|
38691
|
+
className: oe(
|
|
38692
38692
|
be.checkbox,
|
|
38693
38693
|
d && be.toggle,
|
|
38694
38694
|
(l || h) && be["is-disabled"],
|
|
@@ -38705,7 +38705,7 @@ const Xre = "toggle-module__toggle___UzM3e", Kre = "toggle-module__skeleton___mj
|
|
|
38705
38705
|
name: t,
|
|
38706
38706
|
value: o,
|
|
38707
38707
|
onChange: p,
|
|
38708
|
-
className:
|
|
38708
|
+
className: oe(be.input, c),
|
|
38709
38709
|
checked: i,
|
|
38710
38710
|
"aria-label": t,
|
|
38711
38711
|
disabled: l || h
|
|
@@ -38719,7 +38719,7 @@ const Xre = "toggle-module__toggle___UzM3e", Kre = "toggle-module__skeleton___mj
|
|
|
38719
38719
|
] }), dse = ({ ...e }) => /* @__PURE__ */ _.jsxs(
|
|
38720
38720
|
"div",
|
|
38721
38721
|
{
|
|
38722
|
-
className:
|
|
38722
|
+
className: oe(
|
|
38723
38723
|
aa.toggle,
|
|
38724
38724
|
e.isSkeleton && aa.skeleton,
|
|
38725
38725
|
e.checked && aa.checked,
|
|
@@ -38755,7 +38755,7 @@ const Xre = "toggle-module__toggle___UzM3e", Kre = "toggle-module__skeleton___mj
|
|
|
38755
38755
|
sse,
|
|
38756
38756
|
{
|
|
38757
38757
|
...e,
|
|
38758
|
-
className:
|
|
38758
|
+
className: oe(aa.checkbox, e.className)
|
|
38759
38759
|
}
|
|
38760
38760
|
)
|
|
38761
38761
|
]
|
|
@@ -38778,14 +38778,14 @@ function yse() {
|
|
|
38778
38778
|
};
|
|
38779
38779
|
}, []), e;
|
|
38780
38780
|
}
|
|
38781
|
-
const
|
|
38781
|
+
const Bde = ({ id: e, isHome: t = !1, theme: a, onToggleTheme: o }) => {
|
|
38782
38782
|
const [i, r] = Xe(a === "dark"), c = n1(), s = yse();
|
|
38783
38783
|
return /* @__PURE__ */ _.jsx(
|
|
38784
38784
|
"div",
|
|
38785
38785
|
{
|
|
38786
38786
|
id: e,
|
|
38787
|
-
className:
|
|
38788
|
-
children: /* @__PURE__ */ _.jsx("div", { className: oa.container, children: /* @__PURE__ */ _.jsxs("div", { className:
|
|
38787
|
+
className: oe(oa.header, t && oa["is-home"], s && oa.scrolled),
|
|
38788
|
+
children: /* @__PURE__ */ _.jsx("div", { className: oa.container, children: /* @__PURE__ */ _.jsxs("div", { className: oe(oa.top), children: [
|
|
38789
38789
|
/* @__PURE__ */ _.jsx(ooe, {}),
|
|
38790
38790
|
/* @__PURE__ */ _.jsx(roe, {}),
|
|
38791
38791
|
/* @__PURE__ */ _.jsx("div", { className: oa.right, children: /* @__PURE__ */ _.jsx(
|
|
@@ -38809,7 +38809,7 @@ const zde = ({ id: e, isHome: t = !1, theme: a, onToggleTheme: o }) => {
|
|
|
38809
38809
|
border: fse,
|
|
38810
38810
|
title: mse,
|
|
38811
38811
|
content: Mse
|
|
38812
|
-
},
|
|
38812
|
+
}, Ude = ({ children: e, title: t, className: a = "", border: o = !1 }) => /* @__PURE__ */ _.jsxs("div", { className: oe(io.container, o && io.border, a), children: [
|
|
38813
38813
|
t && /* @__PURE__ */ _.jsx("div", { className: io.title, children: t }),
|
|
38814
38814
|
/* @__PURE__ */ _.jsx("div", { className: io.content, children: e })
|
|
38815
38815
|
] });
|
|
@@ -38823,8 +38823,8 @@ function gse() {
|
|
|
38823
38823
|
var k = p.inverse, C = p.type === "all" || u.type === p.type;
|
|
38824
38824
|
if (C && k || !(C || k))
|
|
38825
38825
|
return !1;
|
|
38826
|
-
var g = p.expressions.every(function(
|
|
38827
|
-
var M =
|
|
38826
|
+
var g = p.expressions.every(function(x) {
|
|
38827
|
+
var M = x.feature, N = x.modifier, f = x.value, w = u[M];
|
|
38828
38828
|
if (!w)
|
|
38829
38829
|
return !1;
|
|
38830
38830
|
switch (M) {
|
|
@@ -38853,7 +38853,7 @@ function gse() {
|
|
|
38853
38853
|
f = parseInt(f, 10) || 1, w = parseInt(w, 10) || 0;
|
|
38854
38854
|
break;
|
|
38855
38855
|
}
|
|
38856
|
-
switch (
|
|
38856
|
+
switch (N) {
|
|
38857
38857
|
case "min":
|
|
38858
38858
|
return w >= f;
|
|
38859
38859
|
case "max":
|
|
@@ -38868,15 +38868,15 @@ function gse() {
|
|
|
38868
38868
|
function c(h) {
|
|
38869
38869
|
return h.split(",").map(function(u) {
|
|
38870
38870
|
u = u.trim();
|
|
38871
|
-
var p = u.match(e), k = p[1], C = p[2], g = p[3] || "",
|
|
38872
|
-
return
|
|
38873
|
-
var
|
|
38871
|
+
var p = u.match(e), k = p[1], C = p[2], g = p[3] || "", x = {};
|
|
38872
|
+
return x.inverse = !!k && k.toLowerCase() === "not", x.type = C ? C.toLowerCase() : "all", g = g.match(/\([^\)]+\)/g) || [], x.expressions = g.map(function(M) {
|
|
38873
|
+
var N = M.match(t), f = N[1].toLowerCase().match(a);
|
|
38874
38874
|
return {
|
|
38875
38875
|
modifier: f[1],
|
|
38876
38876
|
feature: f[2],
|
|
38877
|
-
value:
|
|
38877
|
+
value: N[2]
|
|
38878
38878
|
};
|
|
38879
|
-
}),
|
|
38879
|
+
}), x;
|
|
38880
38880
|
});
|
|
38881
38881
|
}
|
|
38882
38882
|
function s(h) {
|
|
@@ -38983,7 +38983,7 @@ var Cb;
|
|
|
38983
38983
|
function Sse() {
|
|
38984
38984
|
if (Cb) return ye;
|
|
38985
38985
|
Cb = 1;
|
|
38986
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121,
|
|
38986
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
38987
38987
|
function f(m) {
|
|
38988
38988
|
if (typeof m == "object" && m !== null) {
|
|
38989
38989
|
var S = m.$$typeof;
|
|
@@ -39042,7 +39042,7 @@ function Sse() {
|
|
|
39042
39042
|
}, ye.isSuspense = function(m) {
|
|
39043
39043
|
return f(m) === u;
|
|
39044
39044
|
}, ye.isValidElementType = function(m) {
|
|
39045
|
-
return typeof m == "string" || typeof m == "function" || m === o || m === l || m === r || m === i || m === u || m === p || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === k || m.$$typeof === c || m.$$typeof === s || m.$$typeof === h || m.$$typeof ===
|
|
39045
|
+
return typeof m == "string" || typeof m == "function" || m === o || m === l || m === r || m === i || m === u || m === p || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === k || m.$$typeof === c || m.$$typeof === s || m.$$typeof === h || m.$$typeof === x || m.$$typeof === M || m.$$typeof === N || m.$$typeof === g);
|
|
39046
39046
|
}, ye.typeOf = f, ye;
|
|
39047
39047
|
}
|
|
39048
39048
|
var ke = {};
|
|
@@ -39057,17 +39057,17 @@ var ke = {};
|
|
|
39057
39057
|
var xb;
|
|
39058
39058
|
function Ise() {
|
|
39059
39059
|
return xb || (xb = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39060
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121,
|
|
39061
|
-
function f(
|
|
39062
|
-
return typeof
|
|
39063
|
-
|
|
39064
|
-
}
|
|
39065
|
-
function w(
|
|
39066
|
-
if (typeof
|
|
39067
|
-
var fe =
|
|
39060
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
39061
|
+
function f(L) {
|
|
39062
|
+
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
39063
|
+
L === o || L === l || L === r || L === i || L === u || L === p || typeof L == "object" && L !== null && (L.$$typeof === C || L.$$typeof === k || L.$$typeof === c || L.$$typeof === s || L.$$typeof === h || L.$$typeof === x || L.$$typeof === M || L.$$typeof === N || L.$$typeof === g);
|
|
39064
|
+
}
|
|
39065
|
+
function w(L) {
|
|
39066
|
+
if (typeof L == "object" && L !== null) {
|
|
39067
|
+
var fe = L.$$typeof;
|
|
39068
39068
|
switch (fe) {
|
|
39069
39069
|
case t:
|
|
39070
|
-
var K =
|
|
39070
|
+
var K = L.type;
|
|
39071
39071
|
switch (K) {
|
|
39072
39072
|
case d:
|
|
39073
39073
|
case l:
|
|
@@ -39077,14 +39077,14 @@ function Ise() {
|
|
|
39077
39077
|
case u:
|
|
39078
39078
|
return K;
|
|
39079
39079
|
default:
|
|
39080
|
-
var
|
|
39081
|
-
switch (
|
|
39080
|
+
var G = K && K.$$typeof;
|
|
39081
|
+
switch (G) {
|
|
39082
39082
|
case s:
|
|
39083
39083
|
case h:
|
|
39084
39084
|
case C:
|
|
39085
39085
|
case k:
|
|
39086
39086
|
case c:
|
|
39087
|
-
return
|
|
39087
|
+
return G;
|
|
39088
39088
|
default:
|
|
39089
39089
|
return fe;
|
|
39090
39090
|
}
|
|
@@ -39094,47 +39094,47 @@ function Ise() {
|
|
|
39094
39094
|
}
|
|
39095
39095
|
}
|
|
39096
39096
|
}
|
|
39097
|
-
var m = d, S = l, A = s, P = c, j = t, E = h, q = o, z = C,
|
|
39098
|
-
function
|
|
39099
|
-
return
|
|
39097
|
+
var m = d, S = l, A = s, P = c, j = t, E = h, q = o, z = C, ne = k, B = a, J = r, X = i, Y = u, ee = !1;
|
|
39098
|
+
function te(L) {
|
|
39099
|
+
return ee || (ee = !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(L) || w(L) === d;
|
|
39100
39100
|
}
|
|
39101
|
-
function v(
|
|
39102
|
-
return w(
|
|
39101
|
+
function v(L) {
|
|
39102
|
+
return w(L) === l;
|
|
39103
39103
|
}
|
|
39104
|
-
function R(
|
|
39105
|
-
return w(
|
|
39104
|
+
function R(L) {
|
|
39105
|
+
return w(L) === s;
|
|
39106
39106
|
}
|
|
39107
|
-
function T(
|
|
39108
|
-
return w(
|
|
39107
|
+
function T(L) {
|
|
39108
|
+
return w(L) === c;
|
|
39109
39109
|
}
|
|
39110
|
-
function O(
|
|
39111
|
-
return typeof
|
|
39110
|
+
function O(L) {
|
|
39111
|
+
return typeof L == "object" && L !== null && L.$$typeof === t;
|
|
39112
39112
|
}
|
|
39113
|
-
function H(
|
|
39114
|
-
return w(
|
|
39113
|
+
function H(L) {
|
|
39114
|
+
return w(L) === h;
|
|
39115
39115
|
}
|
|
39116
|
-
function
|
|
39117
|
-
return w(
|
|
39116
|
+
function Q(L) {
|
|
39117
|
+
return w(L) === o;
|
|
39118
39118
|
}
|
|
39119
|
-
function
|
|
39120
|
-
return w(
|
|
39119
|
+
function Z(L) {
|
|
39120
|
+
return w(L) === C;
|
|
39121
39121
|
}
|
|
39122
|
-
function b(
|
|
39123
|
-
return w(
|
|
39122
|
+
function b(L) {
|
|
39123
|
+
return w(L) === k;
|
|
39124
39124
|
}
|
|
39125
|
-
function U(
|
|
39126
|
-
return w(
|
|
39125
|
+
function U(L) {
|
|
39126
|
+
return w(L) === a;
|
|
39127
39127
|
}
|
|
39128
|
-
function V(
|
|
39129
|
-
return w(
|
|
39128
|
+
function V(L) {
|
|
39129
|
+
return w(L) === r;
|
|
39130
39130
|
}
|
|
39131
|
-
function
|
|
39132
|
-
return w(
|
|
39131
|
+
function W(L) {
|
|
39132
|
+
return w(L) === i;
|
|
39133
39133
|
}
|
|
39134
|
-
function
|
|
39135
|
-
return w(
|
|
39134
|
+
function I(L) {
|
|
39135
|
+
return w(L) === u;
|
|
39136
39136
|
}
|
|
39137
|
-
ke.AsyncMode = m, ke.ConcurrentMode = S, ke.ContextConsumer = A, ke.ContextProvider = P, ke.Element = j, ke.ForwardRef = E, ke.Fragment = q, ke.Lazy = z, ke.Memo =
|
|
39137
|
+
ke.AsyncMode = m, ke.ConcurrentMode = S, ke.ContextConsumer = A, ke.ContextProvider = P, ke.Element = j, ke.ForwardRef = E, ke.Fragment = q, ke.Lazy = z, ke.Memo = ne, ke.Portal = B, ke.Profiler = J, ke.StrictMode = X, ke.Suspense = Y, ke.isAsyncMode = te, ke.isConcurrentMode = v, ke.isContextConsumer = R, ke.isContextProvider = T, ke.isElement = O, ke.isForwardRef = H, ke.isFragment = Q, ke.isLazy = Z, ke.isMemo = b, ke.isPortal = U, ke.isProfiler = V, ke.isStrictMode = W, ke.isSuspense = I, ke.isValidElementType = f, ke.typeOf = w;
|
|
39138
39138
|
}()), ke;
|
|
39139
39139
|
}
|
|
39140
39140
|
var Lb;
|
|
@@ -39285,7 +39285,7 @@ function Pse() {
|
|
|
39285
39285
|
object: M("object"),
|
|
39286
39286
|
string: M("string"),
|
|
39287
39287
|
symbol: M("symbol"),
|
|
39288
|
-
any:
|
|
39288
|
+
any: N(),
|
|
39289
39289
|
arrayOf: f,
|
|
39290
39290
|
element: w(),
|
|
39291
39291
|
elementType: m(),
|
|
@@ -39295,7 +39295,7 @@ function Pse() {
|
|
|
39295
39295
|
oneOf: A,
|
|
39296
39296
|
oneOfType: j,
|
|
39297
39297
|
shape: z,
|
|
39298
|
-
exact:
|
|
39298
|
+
exact: ne
|
|
39299
39299
|
};
|
|
39300
39300
|
function C(v, R) {
|
|
39301
39301
|
return v === R ? v !== 0 || 1 / v === 1 / R : v !== v && R !== R;
|
|
@@ -39304,129 +39304,129 @@ function Pse() {
|
|
|
39304
39304
|
this.message = v, this.data = R && typeof R == "object" ? R : {}, this.stack = "";
|
|
39305
39305
|
}
|
|
39306
39306
|
g.prototype = Error.prototype;
|
|
39307
|
-
function
|
|
39307
|
+
function x(v) {
|
|
39308
39308
|
if (process.env.NODE_ENV !== "production")
|
|
39309
39309
|
var R = {}, T = 0;
|
|
39310
|
-
function O(
|
|
39311
|
-
if (U = U || p,
|
|
39310
|
+
function O(Q, Z, b, U, V, W, I) {
|
|
39311
|
+
if (U = U || p, W = W || b, I !== a) {
|
|
39312
39312
|
if (d) {
|
|
39313
|
-
var
|
|
39313
|
+
var L = new Error(
|
|
39314
39314
|
"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"
|
|
39315
39315
|
);
|
|
39316
|
-
throw
|
|
39316
|
+
throw L.name = "Invariant Violation", L;
|
|
39317
39317
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
39318
39318
|
var fe = U + ":" + b;
|
|
39319
39319
|
!R[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
39320
39320
|
T < 3 && (r(
|
|
39321
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
39321
|
+
"You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" + U + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
39322
39322
|
), R[fe] = !0, T++);
|
|
39323
39323
|
}
|
|
39324
39324
|
}
|
|
39325
|
-
return
|
|
39325
|
+
return Z[b] == null ? Q ? Z[b] === null ? new g("The " + V + " `" + W + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new g("The " + V + " `" + W + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : v(Z, b, U, V, W);
|
|
39326
39326
|
}
|
|
39327
39327
|
var H = O.bind(null, !1);
|
|
39328
39328
|
return H.isRequired = O.bind(null, !0), H;
|
|
39329
39329
|
}
|
|
39330
39330
|
function M(v) {
|
|
39331
|
-
function R(T, O, H,
|
|
39332
|
-
var U = T[O], V =
|
|
39331
|
+
function R(T, O, H, Q, Z, b) {
|
|
39332
|
+
var U = T[O], V = X(U);
|
|
39333
39333
|
if (V !== v) {
|
|
39334
|
-
var
|
|
39334
|
+
var W = Y(U);
|
|
39335
39335
|
return new g(
|
|
39336
|
-
"Invalid " +
|
|
39336
|
+
"Invalid " + Q + " `" + Z + "` of type " + ("`" + W + "` supplied to `" + H + "`, expected ") + ("`" + v + "`."),
|
|
39337
39337
|
{ expectedType: v }
|
|
39338
39338
|
);
|
|
39339
39339
|
}
|
|
39340
39340
|
return null;
|
|
39341
39341
|
}
|
|
39342
|
-
return
|
|
39342
|
+
return x(R);
|
|
39343
39343
|
}
|
|
39344
|
-
function
|
|
39345
|
-
return
|
|
39344
|
+
function N() {
|
|
39345
|
+
return x(c);
|
|
39346
39346
|
}
|
|
39347
39347
|
function f(v) {
|
|
39348
|
-
function R(T, O, H,
|
|
39348
|
+
function R(T, O, H, Q, Z) {
|
|
39349
39349
|
if (typeof v != "function")
|
|
39350
|
-
return new g("Property `" +
|
|
39350
|
+
return new g("Property `" + Z + "` of component `" + H + "` has invalid PropType notation inside arrayOf.");
|
|
39351
39351
|
var b = T[O];
|
|
39352
39352
|
if (!Array.isArray(b)) {
|
|
39353
|
-
var U =
|
|
39354
|
-
return new g("Invalid " +
|
|
39353
|
+
var U = X(b);
|
|
39354
|
+
return new g("Invalid " + Q + " `" + Z + "` of type " + ("`" + U + "` supplied to `" + H + "`, expected an array."));
|
|
39355
39355
|
}
|
|
39356
39356
|
for (var V = 0; V < b.length; V++) {
|
|
39357
|
-
var
|
|
39358
|
-
if (
|
|
39359
|
-
return
|
|
39357
|
+
var W = v(b, V, H, Q, Z + "[" + V + "]", a);
|
|
39358
|
+
if (W instanceof Error)
|
|
39359
|
+
return W;
|
|
39360
39360
|
}
|
|
39361
39361
|
return null;
|
|
39362
39362
|
}
|
|
39363
|
-
return
|
|
39363
|
+
return x(R);
|
|
39364
39364
|
}
|
|
39365
39365
|
function w() {
|
|
39366
|
-
function v(R, T, O, H,
|
|
39367
|
-
var
|
|
39368
|
-
if (!s(
|
|
39369
|
-
var b = Z
|
|
39370
|
-
return new g("Invalid " + H + " `" +
|
|
39366
|
+
function v(R, T, O, H, Q) {
|
|
39367
|
+
var Z = R[T];
|
|
39368
|
+
if (!s(Z)) {
|
|
39369
|
+
var b = X(Z);
|
|
39370
|
+
return new g("Invalid " + H + " `" + Q + "` of type " + ("`" + b + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
39371
39371
|
}
|
|
39372
39372
|
return null;
|
|
39373
39373
|
}
|
|
39374
|
-
return
|
|
39374
|
+
return x(v);
|
|
39375
39375
|
}
|
|
39376
39376
|
function m() {
|
|
39377
|
-
function v(R, T, O, H,
|
|
39378
|
-
var
|
|
39379
|
-
if (!e.isValidElementType(
|
|
39380
|
-
var b = Z
|
|
39381
|
-
return new g("Invalid " + H + " `" +
|
|
39377
|
+
function v(R, T, O, H, Q) {
|
|
39378
|
+
var Z = R[T];
|
|
39379
|
+
if (!e.isValidElementType(Z)) {
|
|
39380
|
+
var b = X(Z);
|
|
39381
|
+
return new g("Invalid " + H + " `" + Q + "` of type " + ("`" + b + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
39382
39382
|
}
|
|
39383
39383
|
return null;
|
|
39384
39384
|
}
|
|
39385
|
-
return
|
|
39385
|
+
return x(v);
|
|
39386
39386
|
}
|
|
39387
39387
|
function S(v) {
|
|
39388
|
-
function R(T, O, H,
|
|
39388
|
+
function R(T, O, H, Q, Z) {
|
|
39389
39389
|
if (!(T[O] instanceof v)) {
|
|
39390
|
-
var b = v.name || p, U =
|
|
39391
|
-
return new g("Invalid " +
|
|
39390
|
+
var b = v.name || p, U = te(T[O]);
|
|
39391
|
+
return new g("Invalid " + Q + " `" + Z + "` of type " + ("`" + U + "` supplied to `" + H + "`, expected ") + ("instance of `" + b + "`."));
|
|
39392
39392
|
}
|
|
39393
39393
|
return null;
|
|
39394
39394
|
}
|
|
39395
|
-
return
|
|
39395
|
+
return x(R);
|
|
39396
39396
|
}
|
|
39397
39397
|
function A(v) {
|
|
39398
39398
|
if (!Array.isArray(v))
|
|
39399
39399
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
|
|
39400
39400
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
39401
39401
|
) : r("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
39402
|
-
function R(T, O, H,
|
|
39402
|
+
function R(T, O, H, Q, Z) {
|
|
39403
39403
|
for (var b = T[O], U = 0; U < v.length; U++)
|
|
39404
39404
|
if (C(b, v[U]))
|
|
39405
39405
|
return null;
|
|
39406
|
-
var V = JSON.stringify(v, function(
|
|
39407
|
-
var fe =
|
|
39408
|
-
return fe === "symbol" ? String(
|
|
39406
|
+
var V = JSON.stringify(v, function(I, L) {
|
|
39407
|
+
var fe = Y(L);
|
|
39408
|
+
return fe === "symbol" ? String(L) : L;
|
|
39409
39409
|
});
|
|
39410
|
-
return new g("Invalid " +
|
|
39410
|
+
return new g("Invalid " + Q + " `" + Z + "` of value `" + String(b) + "` " + ("supplied to `" + H + "`, expected one of " + V + "."));
|
|
39411
39411
|
}
|
|
39412
|
-
return
|
|
39412
|
+
return x(R);
|
|
39413
39413
|
}
|
|
39414
39414
|
function P(v) {
|
|
39415
|
-
function R(T, O, H,
|
|
39415
|
+
function R(T, O, H, Q, Z) {
|
|
39416
39416
|
if (typeof v != "function")
|
|
39417
|
-
return new g("Property `" +
|
|
39418
|
-
var b = T[O], U =
|
|
39417
|
+
return new g("Property `" + Z + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
|
|
39418
|
+
var b = T[O], U = X(b);
|
|
39419
39419
|
if (U !== "object")
|
|
39420
|
-
return new g("Invalid " +
|
|
39420
|
+
return new g("Invalid " + Q + " `" + Z + "` of type " + ("`" + U + "` supplied to `" + H + "`, expected an object."));
|
|
39421
39421
|
for (var V in b)
|
|
39422
39422
|
if (o(b, V)) {
|
|
39423
|
-
var
|
|
39424
|
-
if (
|
|
39425
|
-
return
|
|
39423
|
+
var W = v(b, V, H, Q, Z + "." + V, a);
|
|
39424
|
+
if (W instanceof Error)
|
|
39425
|
+
return W;
|
|
39426
39426
|
}
|
|
39427
39427
|
return null;
|
|
39428
39428
|
}
|
|
39429
|
-
return
|
|
39429
|
+
return x(R);
|
|
39430
39430
|
}
|
|
39431
39431
|
function j(v) {
|
|
39432
39432
|
if (!Array.isArray(v))
|
|
@@ -39435,26 +39435,26 @@ function Pse() {
|
|
|
39435
39435
|
var T = v[R];
|
|
39436
39436
|
if (typeof T != "function")
|
|
39437
39437
|
return r(
|
|
39438
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
39438
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(T) + " at index " + R + "."
|
|
39439
39439
|
), c;
|
|
39440
39440
|
}
|
|
39441
|
-
function O(H,
|
|
39442
|
-
for (var V = [],
|
|
39443
|
-
var
|
|
39444
|
-
if (
|
|
39441
|
+
function O(H, Q, Z, b, U) {
|
|
39442
|
+
for (var V = [], W = 0; W < v.length; W++) {
|
|
39443
|
+
var I = v[W], L = I(H, Q, Z, b, U, a);
|
|
39444
|
+
if (L == null)
|
|
39445
39445
|
return null;
|
|
39446
|
-
|
|
39446
|
+
L.data && o(L.data, "expectedType") && V.push(L.data.expectedType);
|
|
39447
39447
|
}
|
|
39448
39448
|
var fe = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
39449
|
-
return new g("Invalid " + b + " `" + U + "` supplied to " + ("`" +
|
|
39449
|
+
return new g("Invalid " + b + " `" + U + "` supplied to " + ("`" + Z + "`" + fe + "."));
|
|
39450
39450
|
}
|
|
39451
|
-
return
|
|
39451
|
+
return x(O);
|
|
39452
39452
|
}
|
|
39453
39453
|
function E() {
|
|
39454
|
-
function v(R, T, O, H,
|
|
39455
|
-
return B(R[T]) ? null : new g("Invalid " + H + " `" +
|
|
39454
|
+
function v(R, T, O, H, Q) {
|
|
39455
|
+
return B(R[T]) ? null : new g("Invalid " + H + " `" + Q + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
39456
39456
|
}
|
|
39457
|
-
return
|
|
39457
|
+
return x(v);
|
|
39458
39458
|
}
|
|
39459
39459
|
function q(v, R, T, O, H) {
|
|
39460
39460
|
return new g(
|
|
@@ -39462,44 +39462,44 @@ function Pse() {
|
|
|
39462
39462
|
);
|
|
39463
39463
|
}
|
|
39464
39464
|
function z(v) {
|
|
39465
|
-
function R(T, O, H,
|
|
39466
|
-
var b = T[O], U =
|
|
39465
|
+
function R(T, O, H, Q, Z) {
|
|
39466
|
+
var b = T[O], U = X(b);
|
|
39467
39467
|
if (U !== "object")
|
|
39468
|
-
return new g("Invalid " +
|
|
39468
|
+
return new g("Invalid " + Q + " `" + Z + "` of type `" + U + "` " + ("supplied to `" + H + "`, expected `object`."));
|
|
39469
39469
|
for (var V in v) {
|
|
39470
|
-
var
|
|
39471
|
-
if (typeof
|
|
39472
|
-
return q(H,
|
|
39473
|
-
var
|
|
39474
|
-
if (
|
|
39475
|
-
return
|
|
39470
|
+
var W = v[V];
|
|
39471
|
+
if (typeof W != "function")
|
|
39472
|
+
return q(H, Q, Z, V, Y(W));
|
|
39473
|
+
var I = W(b, V, H, Q, Z + "." + V, a);
|
|
39474
|
+
if (I)
|
|
39475
|
+
return I;
|
|
39476
39476
|
}
|
|
39477
39477
|
return null;
|
|
39478
39478
|
}
|
|
39479
|
-
return
|
|
39479
|
+
return x(R);
|
|
39480
39480
|
}
|
|
39481
|
-
function
|
|
39482
|
-
function R(T, O, H,
|
|
39483
|
-
var b = T[O], U =
|
|
39481
|
+
function ne(v) {
|
|
39482
|
+
function R(T, O, H, Q, Z) {
|
|
39483
|
+
var b = T[O], U = X(b);
|
|
39484
39484
|
if (U !== "object")
|
|
39485
|
-
return new g("Invalid " +
|
|
39485
|
+
return new g("Invalid " + Q + " `" + Z + "` of type `" + U + "` " + ("supplied to `" + H + "`, expected `object`."));
|
|
39486
39486
|
var V = t({}, T[O], v);
|
|
39487
|
-
for (var
|
|
39488
|
-
var
|
|
39489
|
-
if (o(v,
|
|
39490
|
-
return q(H,
|
|
39491
|
-
if (!
|
|
39487
|
+
for (var W in V) {
|
|
39488
|
+
var I = v[W];
|
|
39489
|
+
if (o(v, W) && typeof I != "function")
|
|
39490
|
+
return q(H, Q, Z, W, Y(I));
|
|
39491
|
+
if (!I)
|
|
39492
39492
|
return new g(
|
|
39493
|
-
"Invalid " +
|
|
39493
|
+
"Invalid " + Q + " `" + Z + "` key `" + W + "` supplied to `" + H + "`.\nBad object: " + JSON.stringify(T[O], null, " ") + `
|
|
39494
39494
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
39495
39495
|
);
|
|
39496
|
-
var
|
|
39497
|
-
if (
|
|
39498
|
-
return
|
|
39496
|
+
var L = I(b, W, H, Q, Z + "." + W, a);
|
|
39497
|
+
if (L)
|
|
39498
|
+
return L;
|
|
39499
39499
|
}
|
|
39500
39500
|
return null;
|
|
39501
39501
|
}
|
|
39502
|
-
return
|
|
39502
|
+
return x(R);
|
|
39503
39503
|
}
|
|
39504
39504
|
function B(v) {
|
|
39505
39505
|
switch (typeof v) {
|
|
@@ -39534,17 +39534,17 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
39534
39534
|
return !1;
|
|
39535
39535
|
}
|
|
39536
39536
|
}
|
|
39537
|
-
function
|
|
39537
|
+
function J(v, R) {
|
|
39538
39538
|
return v === "symbol" ? !0 : R ? R["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && R instanceof Symbol : !1;
|
|
39539
39539
|
}
|
|
39540
|
-
function
|
|
39540
|
+
function X(v) {
|
|
39541
39541
|
var R = typeof v;
|
|
39542
|
-
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" :
|
|
39542
|
+
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : J(R, v) ? "symbol" : R;
|
|
39543
39543
|
}
|
|
39544
|
-
function
|
|
39544
|
+
function Y(v) {
|
|
39545
39545
|
if (typeof v > "u" || v === null)
|
|
39546
39546
|
return "" + v;
|
|
39547
|
-
var R =
|
|
39547
|
+
var R = X(v);
|
|
39548
39548
|
if (R === "object") {
|
|
39549
39549
|
if (v instanceof Date)
|
|
39550
39550
|
return "date";
|
|
@@ -39553,8 +39553,8 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
39553
39553
|
}
|
|
39554
39554
|
return R;
|
|
39555
39555
|
}
|
|
39556
|
-
function
|
|
39557
|
-
var R =
|
|
39556
|
+
function ee(v) {
|
|
39557
|
+
var R = Y(v);
|
|
39558
39558
|
switch (R) {
|
|
39559
39559
|
case "array":
|
|
39560
39560
|
case "object":
|
|
@@ -39567,7 +39567,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
39567
39567
|
return R;
|
|
39568
39568
|
}
|
|
39569
39569
|
}
|
|
39570
|
-
function
|
|
39570
|
+
function te(v) {
|
|
39571
39571
|
return !v.constructor || !v.constructor.name ? p : v.constructor.name;
|
|
39572
39572
|
}
|
|
39573
39573
|
return k.checkPropTypes = i, k.resetWarningCache = i.resetWarningCache, k.PropTypes = k, k;
|
|
@@ -39658,7 +39658,7 @@ const ue = /* @__PURE__ */ xv($se), Te = ue.oneOfType([ue.string, ue.number]), T
|
|
|
39658
39658
|
monochrome: ue.bool,
|
|
39659
39659
|
resolution: Te,
|
|
39660
39660
|
type: Object.keys(TI)
|
|
39661
|
-
}, { type:
|
|
39661
|
+
}, { type: Zde, ...Tse } = qse, jse = {
|
|
39662
39662
|
minAspectRatio: ue.string,
|
|
39663
39663
|
maxAspectRatio: ue.string,
|
|
39664
39664
|
minDeviceAspectRatio: ue.string,
|
|
@@ -39739,93 +39739,100 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
39739
39739
|
}, [c]), Oe(() => () => {
|
|
39740
39740
|
r && r.dispose();
|
|
39741
39741
|
}, []), c;
|
|
39742
|
-
}, Kse = "input-
|
|
39743
|
-
|
|
39744
|
-
|
|
39742
|
+
}, Kse = "input-module__fields___7s82h", Yse = "input-module__field___BmXtm", Qse = "input-module__dark___dEFyl", Jse = "input-module__outer___STcOB", ede = "input-module__button___7gJw-", tde = "input-module__click___6FEoM", nde = "input-module__sm___jtNdd", ade = "input-module__input___j8Xrc", ode = "input-module__placeholder___Nc7hU", ide = "input-module__icon___foesl", cde = "input-module__text___DFtl6", rde = "input-module__inner___Oy65q", sde = "input-module__pulse___1I5VM", dde = "input-module__helper___BfwFu", hde = "input-module__loading___1cxGp", ce = {
|
|
39743
|
+
fields: Kse,
|
|
39744
|
+
field: Yse,
|
|
39745
|
+
dark: Qse,
|
|
39746
|
+
outer: Jse,
|
|
39745
39747
|
"is-disabled": "input-module__is-disabled___JwbG4",
|
|
39746
39748
|
"is-error": "input-module__is-error___xIDnZ",
|
|
39747
|
-
button:
|
|
39748
|
-
click:
|
|
39749
|
-
|
|
39750
|
-
|
|
39751
|
-
|
|
39752
|
-
|
|
39749
|
+
button: ede,
|
|
39750
|
+
click: tde,
|
|
39751
|
+
sm: nde,
|
|
39752
|
+
input: ade,
|
|
39753
|
+
placeholder: ode,
|
|
39754
|
+
icon: ide,
|
|
39755
|
+
text: cde,
|
|
39753
39756
|
"is-loading": "input-module__is-loading___4plIo",
|
|
39754
|
-
inner:
|
|
39757
|
+
inner: rde,
|
|
39755
39758
|
"icon-wrap": "input-module__icon-wrap___HEFm4",
|
|
39756
39759
|
"is-skeleton": "input-module__is-skeleton___xCVEU",
|
|
39757
|
-
|
|
39760
|
+
pulse: sde,
|
|
39761
|
+
helper: dde,
|
|
39758
39762
|
"no-placeholder": "input-module__no-placeholder___i5lJb",
|
|
39759
|
-
loading:
|
|
39760
|
-
|
|
39763
|
+
loading: hde,
|
|
39764
|
+
"loading-dark": "input-module__loading-dark___mfX-p"
|
|
39765
|
+
}, lde = ({
|
|
39761
39766
|
label: e = "",
|
|
39762
39767
|
placeholder: t = "",
|
|
39763
39768
|
options: a,
|
|
39764
39769
|
name: o,
|
|
39765
39770
|
id: i,
|
|
39766
39771
|
value: r,
|
|
39767
|
-
|
|
39768
|
-
|
|
39769
|
-
|
|
39770
|
-
|
|
39771
|
-
|
|
39772
|
-
|
|
39773
|
-
|
|
39772
|
+
size: c = "md",
|
|
39773
|
+
helper: s,
|
|
39774
|
+
className: d = "",
|
|
39775
|
+
isDisabled: l = !1,
|
|
39776
|
+
isLoading: h = !1,
|
|
39777
|
+
isSkeleton: u = !1,
|
|
39778
|
+
isError: p = !1,
|
|
39779
|
+
onChange: k
|
|
39774
39780
|
}) => {
|
|
39775
|
-
const
|
|
39776
|
-
return /* @__PURE__ */ _.jsxs("div", { className:
|
|
39781
|
+
const C = De(null);
|
|
39782
|
+
return /* @__PURE__ */ _.jsxs("div", { className: oe(ce.field, ce["no-placeholder"]), children: [
|
|
39777
39783
|
e && /* @__PURE__ */ _.jsx("label", { htmlFor: i || o, children: e }),
|
|
39778
39784
|
/* @__PURE__ */ _.jsxs(
|
|
39779
39785
|
"div",
|
|
39780
39786
|
{
|
|
39781
|
-
className:
|
|
39782
|
-
|
|
39783
|
-
|
|
39784
|
-
|
|
39785
|
-
l
|
|
39786
|
-
h &&
|
|
39787
|
-
u &&
|
|
39787
|
+
className: oe(
|
|
39788
|
+
ce.outer,
|
|
39789
|
+
c && ce[c],
|
|
39790
|
+
d,
|
|
39791
|
+
(l || h || u) && ce["is-disabled"],
|
|
39792
|
+
h && !u && ce["is-loading"],
|
|
39793
|
+
u && ce["is-skeleton"],
|
|
39794
|
+
p && ce["is-error"]
|
|
39788
39795
|
),
|
|
39789
39796
|
children: [
|
|
39790
|
-
|
|
39791
|
-
/* @__PURE__ */ _.jsx("div", { className:
|
|
39797
|
+
h && !u && /* @__PURE__ */ _.jsx("div", { className: ce.loading }),
|
|
39798
|
+
/* @__PURE__ */ _.jsx("div", { className: ce.inner, children: /* @__PURE__ */ _.jsxs(
|
|
39792
39799
|
"select",
|
|
39793
39800
|
{
|
|
39794
|
-
ref:
|
|
39801
|
+
ref: C,
|
|
39795
39802
|
id: i || o,
|
|
39796
39803
|
name: o,
|
|
39797
39804
|
value: r,
|
|
39798
|
-
onChange:
|
|
39799
|
-
className:
|
|
39805
|
+
onChange: k,
|
|
39806
|
+
className: ce.input,
|
|
39800
39807
|
"aria-label": e ? "" : i || o,
|
|
39801
|
-
disabled:
|
|
39808
|
+
disabled: l || h || u,
|
|
39802
39809
|
children: [
|
|
39803
39810
|
t && /* @__PURE__ */ _.jsx("option", { value: "", children: t }),
|
|
39804
|
-
a == null ? void 0 : a.map((
|
|
39811
|
+
a == null ? void 0 : a.map((g) => /* @__PURE__ */ _.jsx(
|
|
39805
39812
|
"option",
|
|
39806
39813
|
{
|
|
39807
|
-
value:
|
|
39808
|
-
children:
|
|
39814
|
+
value: g.value,
|
|
39815
|
+
children: g.label
|
|
39809
39816
|
},
|
|
39810
|
-
|
|
39817
|
+
g.value
|
|
39811
39818
|
))
|
|
39812
39819
|
]
|
|
39813
39820
|
}
|
|
39814
39821
|
) }),
|
|
39815
|
-
/* @__PURE__ */ _.jsx("div", { className:
|
|
39822
|
+
/* @__PURE__ */ _.jsx("div", { className: ce["icon-wrap"], children: /* @__PURE__ */ _.jsx(
|
|
39816
39823
|
h1,
|
|
39817
39824
|
{
|
|
39818
39825
|
name: "ChevronDown",
|
|
39819
39826
|
size: "md",
|
|
39820
|
-
className:
|
|
39827
|
+
className: ce.icon
|
|
39821
39828
|
}
|
|
39822
39829
|
) })
|
|
39823
39830
|
]
|
|
39824
39831
|
}
|
|
39825
39832
|
),
|
|
39826
|
-
|
|
39833
|
+
s && /* @__PURE__ */ _.jsx("div", { className: ce.helper, children: s })
|
|
39827
39834
|
] });
|
|
39828
|
-
},
|
|
39835
|
+
}, Gde = ({
|
|
39829
39836
|
totalPages: e = 4,
|
|
39830
39837
|
currentPage: t = 1,
|
|
39831
39838
|
setCurrentPage: a
|
|
@@ -39886,7 +39893,7 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
39886
39893
|
}
|
|
39887
39894
|
),
|
|
39888
39895
|
/* @__PURE__ */ _.jsx(
|
|
39889
|
-
|
|
39896
|
+
lde,
|
|
39890
39897
|
{
|
|
39891
39898
|
name: "pageSize",
|
|
39892
39899
|
value: String(t),
|
|
@@ -39909,9 +39916,9 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
39909
39916
|
}
|
|
39910
39917
|
)
|
|
39911
39918
|
] }) });
|
|
39912
|
-
},
|
|
39913
|
-
nav:
|
|
39914
|
-
},
|
|
39919
|
+
}, ude = "navbar-module__nav___JE2PK", pde = {
|
|
39920
|
+
nav: ude
|
|
39921
|
+
}, Wde = ({ children: e, className: t }) => /* @__PURE__ */ _.jsx("div", { className: oe(pde.nav, t), children: e }), Xde = ({
|
|
39915
39922
|
field: e,
|
|
39916
39923
|
form: t,
|
|
39917
39924
|
helper: a,
|
|
@@ -39930,7 +39937,7 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
39930
39937
|
...o.name === "Radio" && { checked: e.value === i.value }
|
|
39931
39938
|
};
|
|
39932
39939
|
return /* @__PURE__ */ _.jsx(o, { ...d });
|
|
39933
|
-
},
|
|
39940
|
+
}, Kde = ({
|
|
39934
39941
|
ref: e,
|
|
39935
39942
|
type: t = "text",
|
|
39936
39943
|
label: a = "",
|
|
@@ -39938,146 +39945,148 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
39938
39945
|
name: i,
|
|
39939
39946
|
id: r,
|
|
39940
39947
|
value: c,
|
|
39941
|
-
|
|
39942
|
-
|
|
39943
|
-
|
|
39944
|
-
|
|
39945
|
-
|
|
39946
|
-
|
|
39947
|
-
|
|
39948
|
-
|
|
39949
|
-
|
|
39950
|
-
|
|
39951
|
-
|
|
39952
|
-
|
|
39953
|
-
|
|
39954
|
-
|
|
39955
|
-
|
|
39948
|
+
size: s = "md",
|
|
39949
|
+
helper: d,
|
|
39950
|
+
className: l = "",
|
|
39951
|
+
leadingIcon: h,
|
|
39952
|
+
leadingFunction: u,
|
|
39953
|
+
leadingText: p = "",
|
|
39954
|
+
trailingIcon: k,
|
|
39955
|
+
trailingFunction: C,
|
|
39956
|
+
trailingText: g = "",
|
|
39957
|
+
button: x,
|
|
39958
|
+
isDisabled: M = !1,
|
|
39959
|
+
isLoading: N = !1,
|
|
39960
|
+
isSkeleton: f = !1,
|
|
39961
|
+
isError: w = !1,
|
|
39962
|
+
onChange: m,
|
|
39963
|
+
...S
|
|
39956
39964
|
}) => {
|
|
39957
|
-
const
|
|
39958
|
-
typeof e == "function" ? e(
|
|
39959
|
-
}, E = () => {
|
|
39960
|
-
e && typeof e == "object" && "current" in e && e.current ? e.current.focus() : S.current && S.current.focus();
|
|
39965
|
+
const A = De(null), [P, j] = Xe(!1), E = (Y) => {
|
|
39966
|
+
typeof e == "function" ? e(Y) : e && typeof e == "object" && (e.current = Y), A.current = Y;
|
|
39961
39967
|
}, q = () => {
|
|
39962
|
-
|
|
39968
|
+
e && typeof e == "object" && "current" in e && e.current ? e.current.focus() : A.current && A.current.focus();
|
|
39969
|
+
}, z = () => {
|
|
39970
|
+
m({
|
|
39963
39971
|
target: {
|
|
39964
39972
|
name: i,
|
|
39965
39973
|
value: ""
|
|
39966
39974
|
}
|
|
39967
39975
|
});
|
|
39968
|
-
},
|
|
39969
|
-
|
|
39970
|
-
},
|
|
39971
|
-
|
|
39972
|
-
},
|
|
39973
|
-
|
|
39974
|
-
},
|
|
39975
|
-
var
|
|
39976
|
-
|
|
39976
|
+
}, ne = (Y) => {
|
|
39977
|
+
Y.stopPropagation(), j((ee) => !ee);
|
|
39978
|
+
}, B = (Y) => {
|
|
39979
|
+
Y.stopPropagation(), u == null || u();
|
|
39980
|
+
}, J = (Y) => {
|
|
39981
|
+
Y.stopPropagation(), k === "X" && z(), C == null || C();
|
|
39982
|
+
}, X = (Y) => {
|
|
39983
|
+
var ee;
|
|
39984
|
+
Y.stopPropagation(), (ee = x == null ? void 0 : x.onClick) == null || ee.call(x, Y);
|
|
39977
39985
|
};
|
|
39978
|
-
return /* @__PURE__ */ _.jsxs("div", { className:
|
|
39986
|
+
return /* @__PURE__ */ _.jsxs("div", { className: oe(ce.field, !o && ce["no-placeholder"]), children: [
|
|
39979
39987
|
a && /* @__PURE__ */ _.jsx("label", { htmlFor: r || i, children: a }),
|
|
39980
39988
|
/* @__PURE__ */ _.jsxs(
|
|
39981
39989
|
"div",
|
|
39982
39990
|
{
|
|
39983
|
-
className:
|
|
39984
|
-
|
|
39985
|
-
|
|
39986
|
-
|
|
39987
|
-
M
|
|
39988
|
-
|
|
39989
|
-
f &&
|
|
39991
|
+
className: oe(
|
|
39992
|
+
ce.outer,
|
|
39993
|
+
s && ce[s],
|
|
39994
|
+
l,
|
|
39995
|
+
(M || N || f) && ce["is-disabled"],
|
|
39996
|
+
N && !f && ce["is-loading"],
|
|
39997
|
+
f && ce["is-skeleton"],
|
|
39998
|
+
w && ce["is-error"]
|
|
39990
39999
|
),
|
|
39991
|
-
onClick:
|
|
40000
|
+
onClick: q,
|
|
39992
40001
|
children: [
|
|
39993
|
-
|
|
39994
|
-
|
|
40002
|
+
N && !f && /* @__PURE__ */ _.jsx("div", { className: ce.loading }),
|
|
40003
|
+
h && /* @__PURE__ */ _.jsx(
|
|
39995
40004
|
"div",
|
|
39996
40005
|
{
|
|
39997
|
-
onClick:
|
|
39998
|
-
className:
|
|
40006
|
+
onClick: u && B,
|
|
40007
|
+
className: oe(ce["icon-wrap"], u && ce.click),
|
|
39999
40008
|
children: /* @__PURE__ */ _.jsx(
|
|
40000
40009
|
h1,
|
|
40001
40010
|
{
|
|
40002
|
-
name:
|
|
40011
|
+
name: h,
|
|
40003
40012
|
size: "md",
|
|
40004
|
-
className:
|
|
40013
|
+
className: ce.icon
|
|
40005
40014
|
}
|
|
40006
40015
|
)
|
|
40007
40016
|
}
|
|
40008
40017
|
),
|
|
40009
|
-
|
|
40010
|
-
/* @__PURE__ */ _.jsxs("div", { className:
|
|
40018
|
+
p && /* @__PURE__ */ _.jsx("div", { className: ce.text, children: p }),
|
|
40019
|
+
/* @__PURE__ */ _.jsxs("div", { className: oe(ce.inner), children: [
|
|
40011
40020
|
/* @__PURE__ */ _.jsx(
|
|
40012
40021
|
"input",
|
|
40013
40022
|
{
|
|
40014
|
-
ref:
|
|
40015
|
-
type: t === "password" &&
|
|
40023
|
+
ref: E,
|
|
40024
|
+
type: t === "password" && P ? "text" : t,
|
|
40016
40025
|
id: r || i,
|
|
40017
40026
|
name: i,
|
|
40018
40027
|
value: c,
|
|
40019
|
-
onChange:
|
|
40020
|
-
className:
|
|
40028
|
+
onChange: m,
|
|
40029
|
+
className: ce.input,
|
|
40021
40030
|
placeholder: " ",
|
|
40022
40031
|
required: !0,
|
|
40023
40032
|
"aria-label": a ? "" : o,
|
|
40024
|
-
disabled:
|
|
40025
|
-
...
|
|
40033
|
+
disabled: M || N || f,
|
|
40034
|
+
...S
|
|
40026
40035
|
}
|
|
40027
40036
|
),
|
|
40028
|
-
/* @__PURE__ */ _.jsx("span", { className:
|
|
40037
|
+
/* @__PURE__ */ _.jsx("span", { className: ce.placeholder, children: o })
|
|
40029
40038
|
] }),
|
|
40030
|
-
|
|
40039
|
+
g && /* @__PURE__ */ _.jsx("div", { className: ce.text, children: g }),
|
|
40031
40040
|
t === "password" && /* @__PURE__ */ _.jsx(
|
|
40032
40041
|
"div",
|
|
40033
40042
|
{
|
|
40034
|
-
onClick:
|
|
40035
|
-
className:
|
|
40043
|
+
onClick: ne,
|
|
40044
|
+
className: oe(ce["icon-wrap"], ce.click),
|
|
40036
40045
|
children: /* @__PURE__ */ _.jsx(
|
|
40037
40046
|
h1,
|
|
40038
40047
|
{
|
|
40039
|
-
name:
|
|
40048
|
+
name: P ? "Eye" : "EyeOff",
|
|
40040
40049
|
size: "md",
|
|
40041
|
-
className:
|
|
40050
|
+
className: ce.icon
|
|
40042
40051
|
}
|
|
40043
40052
|
)
|
|
40044
40053
|
}
|
|
40045
40054
|
),
|
|
40046
|
-
|
|
40055
|
+
k && !(k === "X" && (!c || M)) && /* @__PURE__ */ _.jsx(
|
|
40047
40056
|
"div",
|
|
40048
40057
|
{
|
|
40049
|
-
onClick:
|
|
40050
|
-
className:
|
|
40051
|
-
|
|
40052
|
-
|
|
40058
|
+
onClick: J,
|
|
40059
|
+
className: oe(
|
|
40060
|
+
ce["icon-wrap"],
|
|
40061
|
+
C || k === "X" ? ce.click : ""
|
|
40053
40062
|
),
|
|
40054
40063
|
children: /* @__PURE__ */ _.jsx(
|
|
40055
40064
|
h1,
|
|
40056
40065
|
{
|
|
40057
|
-
name:
|
|
40066
|
+
name: k,
|
|
40058
40067
|
size: "md",
|
|
40059
|
-
className:
|
|
40068
|
+
className: ce.icon
|
|
40060
40069
|
}
|
|
40061
40070
|
)
|
|
40062
40071
|
}
|
|
40063
40072
|
),
|
|
40064
|
-
|
|
40073
|
+
x && /* @__PURE__ */ _.jsx(
|
|
40065
40074
|
i1,
|
|
40066
40075
|
{
|
|
40067
|
-
...
|
|
40076
|
+
...x,
|
|
40068
40077
|
size: "sm",
|
|
40069
|
-
variant:
|
|
40070
|
-
className:
|
|
40071
|
-
isDisabled:
|
|
40072
|
-
onClick:
|
|
40078
|
+
variant: x.variant || "primary",
|
|
40079
|
+
className: ce.button,
|
|
40080
|
+
isDisabled: M || N || f,
|
|
40081
|
+
onClick: X
|
|
40073
40082
|
}
|
|
40074
40083
|
)
|
|
40075
40084
|
]
|
|
40076
40085
|
}
|
|
40077
40086
|
),
|
|
40078
|
-
|
|
40087
|
+
d && /* @__PURE__ */ _.jsx("div", { className: ce.helper, children: d })
|
|
40079
40088
|
] });
|
|
40080
|
-
},
|
|
40089
|
+
}, Yde = ({
|
|
40081
40090
|
children: e,
|
|
40082
40091
|
name: t,
|
|
40083
40092
|
id: a,
|
|
@@ -40094,7 +40103,7 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40094
40103
|
/* @__PURE__ */ _.jsxs(
|
|
40095
40104
|
"div",
|
|
40096
40105
|
{
|
|
40097
|
-
className:
|
|
40106
|
+
className: oe(
|
|
40098
40107
|
be.radio,
|
|
40099
40108
|
(d || l) && be["is-disabled"],
|
|
40100
40109
|
l && be["is-skeleton"],
|
|
@@ -40109,7 +40118,7 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40109
40118
|
name: t,
|
|
40110
40119
|
value: String(o),
|
|
40111
40120
|
onChange: u,
|
|
40112
|
-
className:
|
|
40121
|
+
className: oe(be.input, c),
|
|
40113
40122
|
checked: i,
|
|
40114
40123
|
"aria-label": t,
|
|
40115
40124
|
disabled: d || l
|
|
@@ -40120,88 +40129,90 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40120
40129
|
}
|
|
40121
40130
|
),
|
|
40122
40131
|
r && /* @__PURE__ */ _.jsx("div", { className: be.helper, children: r })
|
|
40123
|
-
] }),
|
|
40132
|
+
] }), Qde = ({
|
|
40124
40133
|
label: e = "",
|
|
40125
40134
|
placeholder: t = "",
|
|
40126
40135
|
name: a,
|
|
40127
40136
|
id: o,
|
|
40128
40137
|
value: i,
|
|
40129
|
-
|
|
40130
|
-
|
|
40131
|
-
|
|
40132
|
-
|
|
40133
|
-
|
|
40134
|
-
|
|
40135
|
-
|
|
40138
|
+
size: r = "md",
|
|
40139
|
+
helper: c,
|
|
40140
|
+
className: s = "",
|
|
40141
|
+
isDisabled: d = !1,
|
|
40142
|
+
isLoading: l = !1,
|
|
40143
|
+
isSkeleton: h = !1,
|
|
40144
|
+
isError: u = !1,
|
|
40145
|
+
onChange: p
|
|
40136
40146
|
}) => {
|
|
40137
|
-
const
|
|
40138
|
-
var
|
|
40139
|
-
return (
|
|
40147
|
+
const k = De(null), C = () => {
|
|
40148
|
+
var g;
|
|
40149
|
+
return (g = k.current) == null ? void 0 : g.focus();
|
|
40140
40150
|
};
|
|
40141
|
-
return /* @__PURE__ */ _.jsxs("div", { className:
|
|
40151
|
+
return /* @__PURE__ */ _.jsxs("div", { className: oe(ce.field, !t && ce["no-placeholder"]), children: [
|
|
40142
40152
|
e && /* @__PURE__ */ _.jsx("label", { htmlFor: o || a, children: e }),
|
|
40143
40153
|
/* @__PURE__ */ _.jsxs(
|
|
40144
40154
|
"div",
|
|
40145
40155
|
{
|
|
40146
|
-
className:
|
|
40147
|
-
|
|
40148
|
-
|
|
40149
|
-
|
|
40150
|
-
d
|
|
40151
|
-
l &&
|
|
40152
|
-
h &&
|
|
40156
|
+
className: oe(
|
|
40157
|
+
ce.outer,
|
|
40158
|
+
r && ce[r],
|
|
40159
|
+
s,
|
|
40160
|
+
(d || l || h) && ce["is-disabled"],
|
|
40161
|
+
l && !h && ce["is-loading"],
|
|
40162
|
+
h && ce["is-skeleton"],
|
|
40163
|
+
u && ce["is-error"]
|
|
40153
40164
|
),
|
|
40154
|
-
onClick:
|
|
40165
|
+
onClick: C,
|
|
40155
40166
|
children: [
|
|
40156
|
-
|
|
40157
|
-
/* @__PURE__ */ _.jsxs("div", { className:
|
|
40167
|
+
l && !h && /* @__PURE__ */ _.jsx("div", { className: ce.loading }),
|
|
40168
|
+
/* @__PURE__ */ _.jsxs("div", { className: oe(ce.inner), children: [
|
|
40158
40169
|
/* @__PURE__ */ _.jsx(
|
|
40159
40170
|
"textarea",
|
|
40160
40171
|
{
|
|
40161
|
-
ref:
|
|
40172
|
+
ref: k,
|
|
40162
40173
|
id: o || a,
|
|
40163
40174
|
name: a,
|
|
40164
40175
|
value: i,
|
|
40165
|
-
onChange:
|
|
40166
|
-
className:
|
|
40176
|
+
onChange: p,
|
|
40177
|
+
className: ce.input,
|
|
40167
40178
|
placeholder: " ",
|
|
40168
40179
|
required: !0,
|
|
40169
40180
|
"aria-label": e ? "" : t,
|
|
40170
|
-
disabled:
|
|
40181
|
+
disabled: d || l || h
|
|
40171
40182
|
}
|
|
40172
40183
|
),
|
|
40173
|
-
/* @__PURE__ */ _.jsx("span", { className:
|
|
40184
|
+
/* @__PURE__ */ _.jsx("span", { className: ce.placeholder, children: t })
|
|
40174
40185
|
] })
|
|
40175
40186
|
]
|
|
40176
40187
|
}
|
|
40177
40188
|
),
|
|
40178
|
-
|
|
40189
|
+
c && /* @__PURE__ */ _.jsx("div", { className: ce.helper, children: c })
|
|
40179
40190
|
] });
|
|
40180
|
-
},
|
|
40181
|
-
example:
|
|
40191
|
+
}, yde = "example-module__example___TRgac", kde = "example-module__content___ExA7w", BC = {
|
|
40192
|
+
example: yde,
|
|
40182
40193
|
"is-skeleton": "example-module__is-skeleton___dMyJl",
|
|
40183
|
-
content:
|
|
40184
|
-
},
|
|
40185
|
-
backdrop:
|
|
40186
|
-
fullscreen:
|
|
40194
|
+
content: kde
|
|
40195
|
+
}, Jde = ({ isSkeleton: e = !1 }) => /* @__PURE__ */ _.jsx("div", { className: oe(BC.example, e && BC["is-skeleton"]), children: /* @__PURE__ */ _.jsx("div", { className: BC.content, children: "Example" }) }), fde = "modal-module__backdrop___DCpKI", mde = "modal-module__fullscreen___sfLoP", Mde = "modal-module__main___0Sjqx", gde = "modal-module__max___9QSAL", _de = "modal-module__sheet___8-CTw", vde = "modal-module__drag___mZz3W", Cde = "modal-module__scroll___OnShd", xde = "modal-module__header___t3TrT", Lde = "modal-module__title___oMB-c", wde = "modal-module__subtext___IHfeN", bde = "modal-module__top___62uvi", Sde = "modal-module__left___dCx5f", Ide = "modal-module__anchor___UCD-N", Nde = "modal-module__right___rvlxY", Ade = "modal-module__footer___tqppg", Pde = "modal-module__full___WPa3O", Ede = "modal-module__text___qx9vw", Rde = "modal-module__content___k129O", he = {
|
|
40196
|
+
backdrop: fde,
|
|
40197
|
+
fullscreen: mde,
|
|
40187
40198
|
"backdrop--close-button": "modal-module__backdrop--close-button___SWtbL",
|
|
40188
40199
|
"bottom-sheet": "modal-module__bottom-sheet___oPiUM",
|
|
40189
|
-
main:
|
|
40190
|
-
max:
|
|
40191
|
-
sheet:
|
|
40192
|
-
drag:
|
|
40193
|
-
scroll:
|
|
40194
|
-
header:
|
|
40195
|
-
title:
|
|
40196
|
-
subtext:
|
|
40197
|
-
top:
|
|
40198
|
-
left:
|
|
40199
|
-
anchor:
|
|
40200
|
-
right:
|
|
40201
|
-
footer:
|
|
40202
|
-
full:
|
|
40203
|
-
text:
|
|
40204
|
-
content:
|
|
40200
|
+
main: Mde,
|
|
40201
|
+
max: gde,
|
|
40202
|
+
sheet: _de,
|
|
40203
|
+
drag: vde,
|
|
40204
|
+
scroll: Cde,
|
|
40205
|
+
header: xde,
|
|
40206
|
+
title: Lde,
|
|
40207
|
+
subtext: wde,
|
|
40208
|
+
top: bde,
|
|
40209
|
+
left: Sde,
|
|
40210
|
+
anchor: Ide,
|
|
40211
|
+
right: Nde,
|
|
40212
|
+
footer: Ade,
|
|
40213
|
+
full: Pde,
|
|
40214
|
+
text: Ede,
|
|
40215
|
+
content: Rde
|
|
40205
40216
|
}, Rb = (e) => {
|
|
40206
40217
|
var t;
|
|
40207
40218
|
return Fe.isValidElement(e) && ((t = e.props) == null ? void 0 : t.variant) === "anchor";
|
|
@@ -40217,18 +40228,18 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40217
40228
|
return /* @__PURE__ */ _.jsxs(
|
|
40218
40229
|
"div",
|
|
40219
40230
|
{
|
|
40220
|
-
className:
|
|
40231
|
+
className: oe(
|
|
40221
40232
|
he.header,
|
|
40222
40233
|
r && !c && he.sheet,
|
|
40223
40234
|
i && `${he.fullscreen} dark`
|
|
40224
40235
|
),
|
|
40225
40236
|
children: [
|
|
40226
|
-
a && /* @__PURE__ */ _.jsx("div", { className:
|
|
40237
|
+
a && /* @__PURE__ */ _.jsx("div", { className: oe(he.left, s && he.anchor), children: a }),
|
|
40227
40238
|
/* @__PURE__ */ _.jsxs("div", { className: he.top, children: [
|
|
40228
|
-
/* @__PURE__ */ _.jsx("div", { className:
|
|
40239
|
+
/* @__PURE__ */ _.jsx("div", { className: oe(he.title, !t && he.large), children: e }),
|
|
40229
40240
|
t && /* @__PURE__ */ _.jsx("div", { className: he.subtext, children: t })
|
|
40230
40241
|
] }),
|
|
40231
|
-
o && /* @__PURE__ */ _.jsx("div", { className:
|
|
40242
|
+
o && /* @__PURE__ */ _.jsx("div", { className: oe(he.right, d && he.anchor), children: o })
|
|
40232
40243
|
]
|
|
40233
40244
|
}
|
|
40234
40245
|
);
|
|
@@ -40243,14 +40254,14 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40243
40254
|
fullWidth: i = !1
|
|
40244
40255
|
}) => {
|
|
40245
40256
|
const r = qb(a), c = qb(o);
|
|
40246
|
-
return /* @__PURE__ */ _.jsxs("div", { className:
|
|
40247
|
-
(e || t || a) && /* @__PURE__ */ _.jsx("div", { className:
|
|
40257
|
+
return /* @__PURE__ */ _.jsxs("div", { className: oe(he.footer, i && he.full), children: [
|
|
40258
|
+
(e || t || a) && /* @__PURE__ */ _.jsx("div", { className: oe(he.left, r && !e && !t && he.anchor), children: e || t ? /* @__PURE__ */ _.jsxs("div", { className: he.text, children: [
|
|
40248
40259
|
e && /* @__PURE__ */ _.jsx("div", { className: he.title, children: e }),
|
|
40249
40260
|
t && /* @__PURE__ */ _.jsx("div", { className: he.subtext, children: t })
|
|
40250
40261
|
] }) : /* @__PURE__ */ _.jsx(_.Fragment, { children: a }) }),
|
|
40251
|
-
o && /* @__PURE__ */ _.jsx("div", { className:
|
|
40262
|
+
o && /* @__PURE__ */ _.jsx("div", { className: oe(he.right, c && he.anchor), children: o })
|
|
40252
40263
|
] });
|
|
40253
|
-
},
|
|
40264
|
+
}, e4e = ({
|
|
40254
40265
|
children: e,
|
|
40255
40266
|
modal: t,
|
|
40256
40267
|
headerProps: a,
|
|
@@ -40267,19 +40278,19 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40267
40278
|
Oe(() => {
|
|
40268
40279
|
g(k);
|
|
40269
40280
|
}, [k]);
|
|
40270
|
-
const
|
|
40281
|
+
const x = (f, w) => {
|
|
40271
40282
|
w.offset.y > 150 && t.hide();
|
|
40272
40283
|
}, M = () => {
|
|
40273
40284
|
const f = { opacity: 0 };
|
|
40274
40285
|
return r && !k ? { ...f, translateX: "calc(100% + 0.5rem)", opacity: 1 } : f;
|
|
40275
|
-
},
|
|
40286
|
+
}, N = () => {
|
|
40276
40287
|
const f = { opacity: 1 };
|
|
40277
40288
|
return r && !k ? { ...f, translateX: 0, opacity: 1 } : f;
|
|
40278
40289
|
};
|
|
40279
40290
|
return /* @__PURE__ */ _.jsx(sie, { onExitComplete: () => t.remove(), children: t.visible && /* @__PURE__ */ _.jsxs(
|
|
40280
40291
|
Ca.div,
|
|
40281
40292
|
{
|
|
40282
|
-
className:
|
|
40293
|
+
className: oe(
|
|
40283
40294
|
he.backdrop,
|
|
40284
40295
|
h && he["bottom-sheet"],
|
|
40285
40296
|
c && he.fullscreen,
|
|
@@ -40302,14 +40313,14 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40302
40313
|
Ca.div,
|
|
40303
40314
|
{
|
|
40304
40315
|
ref: u,
|
|
40305
|
-
className:
|
|
40316
|
+
className: oe(he.main, c && he.fullscreen),
|
|
40306
40317
|
style: i ? { maxWidth: i } : void 0,
|
|
40307
40318
|
drag: "y",
|
|
40308
40319
|
dragConstraints: { top: 0, bottom: 0 },
|
|
40309
40320
|
dragElastic: { top: 0, bottom: 0.5 },
|
|
40310
40321
|
dragListener: !1,
|
|
40311
40322
|
dragControls: p,
|
|
40312
|
-
onDragEnd:
|
|
40323
|
+
onDragEnd: x,
|
|
40313
40324
|
initial: { y: "100%" },
|
|
40314
40325
|
animate: { y: 0 },
|
|
40315
40326
|
exit: { y: "100%" },
|
|
@@ -40331,11 +40342,11 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40331
40342
|
) : /* @__PURE__ */ _.jsxs(
|
|
40332
40343
|
Ca.div,
|
|
40333
40344
|
{
|
|
40334
|
-
className:
|
|
40345
|
+
className: oe(he.main, c && he.fullscreen),
|
|
40335
40346
|
style: i ? { maxWidth: i } : void 0,
|
|
40336
|
-
onDragEnd:
|
|
40347
|
+
onDragEnd: x,
|
|
40337
40348
|
initial: M(),
|
|
40338
|
-
animate:
|
|
40349
|
+
animate: N(),
|
|
40339
40350
|
exit: M(),
|
|
40340
40351
|
transition: { duration: 0.4, ease: "easeInOut" },
|
|
40341
40352
|
children: [
|
|
@@ -40350,24 +40361,24 @@ const zse = (e) => `not ${e}`, Dse = (e, t) => {
|
|
|
40350
40361
|
) });
|
|
40351
40362
|
};
|
|
40352
40363
|
export {
|
|
40353
|
-
|
|
40354
|
-
|
|
40355
|
-
|
|
40356
|
-
|
|
40357
|
-
|
|
40358
|
-
|
|
40359
|
-
|
|
40360
|
-
|
|
40361
|
-
|
|
40362
|
-
|
|
40363
|
-
|
|
40364
|
-
|
|
40365
|
-
|
|
40366
|
-
|
|
40364
|
+
jde as B,
|
|
40365
|
+
Ude as C,
|
|
40366
|
+
Jde as E,
|
|
40367
|
+
Ode as F,
|
|
40368
|
+
Bde as H,
|
|
40369
|
+
Kde as I,
|
|
40370
|
+
e4e as M,
|
|
40371
|
+
Wde as N,
|
|
40372
|
+
Hde as P,
|
|
40373
|
+
Yde as R,
|
|
40374
|
+
Vde as S,
|
|
40375
|
+
Dde as T,
|
|
40376
|
+
zde as a,
|
|
40377
|
+
Gde as b,
|
|
40367
40378
|
i1 as c,
|
|
40368
40379
|
sse as d,
|
|
40369
|
-
|
|
40370
|
-
|
|
40371
|
-
|
|
40380
|
+
Xde as e,
|
|
40381
|
+
lde as f,
|
|
40382
|
+
Qde as g,
|
|
40372
40383
|
h1 as h
|
|
40373
40384
|
};
|