@getsupertab/supertab-js 3.0.0-beta.2 → 3.0.0-beta.4
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.
|
@@ -60,8 +60,8 @@ function OI() {
|
|
|
60
60
|
var Q = M && C[M] || C[H];
|
|
61
61
|
return typeof Q == "function" ? Q : null;
|
|
62
62
|
}
|
|
63
|
-
var
|
|
64
|
-
function
|
|
63
|
+
var ne = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
64
|
+
function X(C) {
|
|
65
65
|
{
|
|
66
66
|
for (var Q = arguments.length, ee = new Array(Q > 1 ? Q - 1 : 0), he = 1; he < Q; he++)
|
|
67
67
|
ee[he - 1] = arguments[he];
|
|
@@ -70,7 +70,7 @@ function OI() {
|
|
|
70
70
|
}
|
|
71
71
|
function le(C, Q, ee) {
|
|
72
72
|
{
|
|
73
|
-
var he =
|
|
73
|
+
var he = ne.ReactDebugCurrentFrame, Ie = he.getStackAddendum();
|
|
74
74
|
Ie !== "" && (Q += "%s", ee = ee.concat([Ie]));
|
|
75
75
|
var Re = ee.map(function(Oe) {
|
|
76
76
|
return String(Oe);
|
|
@@ -78,10 +78,10 @@ function OI() {
|
|
|
78
78
|
Re.unshift("Warning: " + Q), Function.prototype.apply.call(console[C], console, Re);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
var ue = !1, ce = !1,
|
|
81
|
+
var ue = !1, ce = !1, te = !1, re = !1, Qe = !1, Ye;
|
|
82
82
|
Ye = Symbol.for("react.module.reference");
|
|
83
83
|
function _e(C) {
|
|
84
|
-
return !!(typeof C == "string" || typeof C == "function" || C === d || C === y || Qe || C === h || C === I || C === O || re || C === D || ue || ce ||
|
|
84
|
+
return !!(typeof C == "string" || typeof C == "function" || C === d || C === y || Qe || C === h || C === I || C === O || re || C === D || ue || ce || te || typeof C == "object" && C !== null && (C.$$typeof === T || C.$$typeof === R || C.$$typeof === g || C.$$typeof === x || C.$$typeof === E || // This needs to include all possible module reference object
|
|
85
85
|
// types supported by any Flight configuration anywhere since
|
|
86
86
|
// we don't know which Flight build this will end up being used
|
|
87
87
|
// with.
|
|
@@ -100,7 +100,7 @@ function OI() {
|
|
|
100
100
|
function Pe(C) {
|
|
101
101
|
if (C == null)
|
|
102
102
|
return null;
|
|
103
|
-
if (typeof C.tag == "number" &&
|
|
103
|
+
if (typeof C.tag == "number" && X("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof C == "function")
|
|
104
104
|
return C.displayName || C.name || null;
|
|
105
105
|
if (typeof C == "string")
|
|
106
106
|
return C;
|
|
@@ -201,10 +201,10 @@ function OI() {
|
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
at < 0 &&
|
|
204
|
+
at < 0 && X("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
var Mt =
|
|
207
|
+
var Mt = ne.ReactCurrentDispatcher, mt;
|
|
208
208
|
function tn(C, Q, ee) {
|
|
209
209
|
{
|
|
210
210
|
if (mt === void 0)
|
|
@@ -330,7 +330,7 @@ function OI() {
|
|
|
330
330
|
}
|
|
331
331
|
return "";
|
|
332
332
|
}
|
|
333
|
-
var ln = Object.prototype.hasOwnProperty, Fr = {}, ka =
|
|
333
|
+
var ln = Object.prototype.hasOwnProperty, Fr = {}, ka = ne.ReactDebugCurrentFrame;
|
|
334
334
|
function Pn(C) {
|
|
335
335
|
if (C) {
|
|
336
336
|
var Q = C._owner, ee = rn(C.type, C._source, Q ? Q.type : null);
|
|
@@ -353,7 +353,7 @@ function OI() {
|
|
|
353
353
|
} catch (lt) {
|
|
354
354
|
Ce = lt;
|
|
355
355
|
}
|
|
356
|
-
Ce && !(Ce instanceof Error) && (Pn(Ie),
|
|
356
|
+
Ce && !(Ce instanceof Error) && (Pn(Ie), X("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", he || "React class", ee, Oe, typeof Ce), Pn(null)), Ce instanceof Error && !(Ce.message in Fr) && (Fr[Ce.message] = !0, Pn(Ie), X("Failed %s type: %s", ee, Ce.message), Pn(null));
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -379,9 +379,9 @@ function OI() {
|
|
|
379
379
|
}
|
|
380
380
|
function Rr(C) {
|
|
381
381
|
if (Ia(C))
|
|
382
|
-
return
|
|
382
|
+
return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Hr(C)), Qn(C);
|
|
383
383
|
}
|
|
384
|
-
var Ra =
|
|
384
|
+
var Ra = ne.ReactCurrentOwner, Za = {
|
|
385
385
|
key: !0,
|
|
386
386
|
ref: !0,
|
|
387
387
|
__self: !0,
|
|
@@ -409,7 +409,7 @@ function OI() {
|
|
|
409
409
|
function zn(C, Q) {
|
|
410
410
|
{
|
|
411
411
|
var ee = function() {
|
|
412
|
-
we || (we = !0,
|
|
412
|
+
we || (we = !0, X("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Q));
|
|
413
413
|
};
|
|
414
414
|
ee.isReactWarning = !0, Object.defineProperty(C, "key", {
|
|
415
415
|
get: ee,
|
|
@@ -420,7 +420,7 @@ function OI() {
|
|
|
420
420
|
function yn(C, Q) {
|
|
421
421
|
{
|
|
422
422
|
var ee = function() {
|
|
423
|
-
ze || (ze = !0,
|
|
423
|
+
ze || (ze = !0, X("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Q));
|
|
424
424
|
};
|
|
425
425
|
ee.isReactWarning = !0, Object.defineProperty(C, "ref", {
|
|
426
426
|
get: ee,
|
|
@@ -475,7 +475,7 @@ function OI() {
|
|
|
475
475
|
return br(C, Ce, Ct, Ie, he, Ra.current, Oe);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
var Wn =
|
|
478
|
+
var Wn = ne.ReactCurrentOwner, sn = ne.ReactDebugCurrentFrame;
|
|
479
479
|
function Ot(C) {
|
|
480
480
|
if (C) {
|
|
481
481
|
var Q = C._owner, ee = rn(C.type, C._source, Q ? Q.type : null);
|
|
@@ -526,7 +526,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
526
526
|
return;
|
|
527
527
|
Ii[ee] = !0;
|
|
528
528
|
var he = "";
|
|
529
|
-
C && C._owner && C._owner !== Wn.current && (he = " It was passed a child from " + Pe(C._owner.type) + "."), Ot(C),
|
|
529
|
+
C && C._owner && C._owner !== Wn.current && (he = " It was passed a child from " + Pe(C._owner.type) + "."), Ot(C), X('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ee, he), Ot(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function Yo(C, Q) {
|
|
@@ -568,9 +568,9 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
568
568
|
} else if (Q.PropTypes !== void 0 && !Ur) {
|
|
569
569
|
Ur = !0;
|
|
570
570
|
var Ie = Pe(Q);
|
|
571
|
-
|
|
571
|
+
X("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ie || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof Q.getDefaultProps == "function" && !Q.getDefaultProps.isReactClassApproved &&
|
|
573
|
+
typeof Q.getDefaultProps == "function" && !Q.getDefaultProps.isReactClassApproved && X("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
function Xa(C) {
|
|
@@ -578,11 +578,11 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
578
578
|
for (var Q = Object.keys(C.props), ee = 0; ee < Q.length; ee++) {
|
|
579
579
|
var he = Q[ee];
|
|
580
580
|
if (he !== "children" && he !== "key") {
|
|
581
|
-
Ot(C),
|
|
581
|
+
Ot(C), X("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", he), Ot(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
C.ref !== null && (Ot(C),
|
|
585
|
+
C.ref !== null && (Ot(C), X("Invalid attribute `ref` supplied to `React.Fragment`."), Ot(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
588
|
var Yr = {};
|
|
@@ -595,7 +595,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
595
595
|
var Ct = vs();
|
|
596
596
|
Ct ? Ce += Ct : Ce += vo();
|
|
597
597
|
var lt;
|
|
598
|
-
C === null ? lt = "null" : er(C) ? lt = "array" : C !== void 0 && C.$$typeof === l ? (lt = "<" + (Pe(C.type) || "Unknown") + " />", Ce = " Did you accidentally export a JSX literal instead of a component?") : lt = typeof C,
|
|
598
|
+
C === null ? lt = "null" : er(C) ? lt = "array" : C !== void 0 && C.$$typeof === l ? (lt = "<" + (Pe(C.type) || "Unknown") + " />", Ce = " Did you accidentally export a JSX literal instead of a component?") : lt = typeof C, X("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", lt, Ce);
|
|
599
599
|
}
|
|
600
600
|
var ft = qt(C, Q, ee, Ie, Re);
|
|
601
601
|
if (ft == null)
|
|
@@ -609,7 +609,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
609
609
|
Yo(Jt[Er], C);
|
|
610
610
|
Object.freeze && Object.freeze(Jt);
|
|
611
611
|
} else
|
|
612
|
-
|
|
612
|
+
X("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
613
613
|
else
|
|
614
614
|
Yo(Jt, C);
|
|
615
615
|
}
|
|
@@ -619,7 +619,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
619
619
|
}), pt = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
620
620
|
if (!Yr[nr + pt]) {
|
|
621
621
|
var qa = Ze.length > 0 ? "{" + Ze.join(": ..., ") + ": ...}" : "{}";
|
|
622
|
-
|
|
622
|
+
X(`A props object containing a "key" prop is being spread into JSX:
|
|
623
623
|
let props = %s;
|
|
624
624
|
<%s {...props} />
|
|
625
625
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -736,10 +736,10 @@ const DI = F.object({
|
|
|
736
736
|
VITE_STATIC_REDIRECT_URI: void 0,
|
|
737
737
|
VITE_GTM_CONTAINER_ID: "GTM-NG9GT7FM",
|
|
738
738
|
VITE_SENTRY_DSN: "https://d08f3f301f364ceba6345c393c538faf@o23455.ingest.us.sentry.io/4507736861573120",
|
|
739
|
-
VITE_BASE_URL: "https://js.supertab.co/v3.0.0-beta.
|
|
739
|
+
VITE_BASE_URL: "https://js.supertab.co/v3.0.0-beta.4/",
|
|
740
740
|
TAPPER_ENV: "prod",
|
|
741
741
|
PACKAGE_NAME: "@getsupertab/supertab-js",
|
|
742
|
-
PACKAGE_VERSION: "3.0.0-beta.
|
|
742
|
+
PACKAGE_VERSION: "3.0.0-beta.4",
|
|
743
743
|
MONETIZATION_PROVIDER_SCRIPT_URL: void 0
|
|
744
744
|
});
|
|
745
745
|
function Tw(o, l = {}) {
|
|
@@ -1275,7 +1275,7 @@ function ds(o) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
const lu = async (o) => {
|
|
1277
1277
|
if (NI) {
|
|
1278
|
-
const { captureException: l } = await import("./sentry-
|
|
1278
|
+
const { captureException: l } = await import("./sentry-CE9pm8j8.js");
|
|
1279
1279
|
l(o);
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
@@ -2745,11 +2745,11 @@ const $0 = {
|
|
|
2745
2745
|
if (u.auth.status === kn.VALID) {
|
|
2746
2746
|
const H = [...new Set(g.contentKeys)];
|
|
2747
2747
|
M = (await Promise.all(
|
|
2748
|
-
H.map(async (
|
|
2749
|
-
contentKey:
|
|
2748
|
+
H.map(async (X) => await u.api.checkEntitlement({
|
|
2749
|
+
contentKey: X
|
|
2750
2750
|
}))
|
|
2751
|
-
).then((
|
|
2752
|
-
(
|
|
2751
|
+
).then((X) => X.flat())).filter(
|
|
2752
|
+
(X) => X.hasEntitlement
|
|
2753
2753
|
), M.length > 0 && (console.log("🔄 [Initializing] Sending event: priorEntitlement", {
|
|
2754
2754
|
activeEntitlements: M,
|
|
2755
2755
|
selectedOffering: R,
|
|
@@ -3839,8 +3839,8 @@ function _R() {
|
|
|
3839
3839
|
var Q = M && C[M] || C[H];
|
|
3840
3840
|
return typeof Q == "function" ? Q : null;
|
|
3841
3841
|
}
|
|
3842
|
-
var
|
|
3843
|
-
function
|
|
3842
|
+
var ne = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3843
|
+
function X(C) {
|
|
3844
3844
|
{
|
|
3845
3845
|
for (var Q = arguments.length, ee = new Array(Q > 1 ? Q - 1 : 0), he = 1; he < Q; he++)
|
|
3846
3846
|
ee[he - 1] = arguments[he];
|
|
@@ -3849,7 +3849,7 @@ function _R() {
|
|
|
3849
3849
|
}
|
|
3850
3850
|
function le(C, Q, ee) {
|
|
3851
3851
|
{
|
|
3852
|
-
var he =
|
|
3852
|
+
var he = ne.ReactDebugCurrentFrame, Ie = he.getStackAddendum();
|
|
3853
3853
|
Ie !== "" && (Q += "%s", ee = ee.concat([Ie]));
|
|
3854
3854
|
var Re = ee.map(function(Oe) {
|
|
3855
3855
|
return String(Oe);
|
|
@@ -3857,10 +3857,10 @@ function _R() {
|
|
|
3857
3857
|
Re.unshift("Warning: " + Q), Function.prototype.apply.call(console[C], console, Re);
|
|
3858
3858
|
}
|
|
3859
3859
|
}
|
|
3860
|
-
var ue = !1, ce = !1,
|
|
3860
|
+
var ue = !1, ce = !1, te = !1, re = !1, Qe = !1, Ye;
|
|
3861
3861
|
Ye = Symbol.for("react.module.reference");
|
|
3862
3862
|
function _e(C) {
|
|
3863
|
-
return !!(typeof C == "string" || typeof C == "function" || C === d || C === y || Qe || C === h || C === I || C === O || re || C === D || ue || ce ||
|
|
3863
|
+
return !!(typeof C == "string" || typeof C == "function" || C === d || C === y || Qe || C === h || C === I || C === O || re || C === D || ue || ce || te || typeof C == "object" && C !== null && (C.$$typeof === T || C.$$typeof === R || C.$$typeof === g || C.$$typeof === x || C.$$typeof === E || // This needs to include all possible module reference object
|
|
3864
3864
|
// types supported by any Flight configuration anywhere since
|
|
3865
3865
|
// we don't know which Flight build this will end up being used
|
|
3866
3866
|
// with.
|
|
@@ -3879,7 +3879,7 @@ function _R() {
|
|
|
3879
3879
|
function Pe(C) {
|
|
3880
3880
|
if (C == null)
|
|
3881
3881
|
return null;
|
|
3882
|
-
if (typeof C.tag == "number" &&
|
|
3882
|
+
if (typeof C.tag == "number" && X("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof C == "function")
|
|
3883
3883
|
return C.displayName || C.name || null;
|
|
3884
3884
|
if (typeof C == "string")
|
|
3885
3885
|
return C;
|
|
@@ -3980,10 +3980,10 @@ function _R() {
|
|
|
3980
3980
|
})
|
|
3981
3981
|
});
|
|
3982
3982
|
}
|
|
3983
|
-
at < 0 &&
|
|
3983
|
+
at < 0 && X("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3984
3984
|
}
|
|
3985
3985
|
}
|
|
3986
|
-
var Mt =
|
|
3986
|
+
var Mt = ne.ReactCurrentDispatcher, mt;
|
|
3987
3987
|
function tn(C, Q, ee) {
|
|
3988
3988
|
{
|
|
3989
3989
|
if (mt === void 0)
|
|
@@ -4109,7 +4109,7 @@ function _R() {
|
|
|
4109
4109
|
}
|
|
4110
4110
|
return "";
|
|
4111
4111
|
}
|
|
4112
|
-
var ln = Object.prototype.hasOwnProperty, Fr = {}, ka =
|
|
4112
|
+
var ln = Object.prototype.hasOwnProperty, Fr = {}, ka = ne.ReactDebugCurrentFrame;
|
|
4113
4113
|
function Pn(C) {
|
|
4114
4114
|
if (C) {
|
|
4115
4115
|
var Q = C._owner, ee = rn(C.type, C._source, Q ? Q.type : null);
|
|
@@ -4132,7 +4132,7 @@ function _R() {
|
|
|
4132
4132
|
} catch (lt) {
|
|
4133
4133
|
Ce = lt;
|
|
4134
4134
|
}
|
|
4135
|
-
Ce && !(Ce instanceof Error) && (Pn(Ie),
|
|
4135
|
+
Ce && !(Ce instanceof Error) && (Pn(Ie), X("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", he || "React class", ee, Oe, typeof Ce), Pn(null)), Ce instanceof Error && !(Ce.message in Fr) && (Fr[Ce.message] = !0, Pn(Ie), X("Failed %s type: %s", ee, Ce.message), Pn(null));
|
|
4136
4136
|
}
|
|
4137
4137
|
}
|
|
4138
4138
|
}
|
|
@@ -4158,9 +4158,9 @@ function _R() {
|
|
|
4158
4158
|
}
|
|
4159
4159
|
function Rr(C) {
|
|
4160
4160
|
if (Ia(C))
|
|
4161
|
-
return
|
|
4161
|
+
return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Hr(C)), Qn(C);
|
|
4162
4162
|
}
|
|
4163
|
-
var Ra =
|
|
4163
|
+
var Ra = ne.ReactCurrentOwner, Za = {
|
|
4164
4164
|
key: !0,
|
|
4165
4165
|
ref: !0,
|
|
4166
4166
|
__self: !0,
|
|
@@ -4188,7 +4188,7 @@ function _R() {
|
|
|
4188
4188
|
function zn(C, Q) {
|
|
4189
4189
|
{
|
|
4190
4190
|
var ee = function() {
|
|
4191
|
-
we || (we = !0,
|
|
4191
|
+
we || (we = !0, X("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Q));
|
|
4192
4192
|
};
|
|
4193
4193
|
ee.isReactWarning = !0, Object.defineProperty(C, "key", {
|
|
4194
4194
|
get: ee,
|
|
@@ -4199,7 +4199,7 @@ function _R() {
|
|
|
4199
4199
|
function yn(C, Q) {
|
|
4200
4200
|
{
|
|
4201
4201
|
var ee = function() {
|
|
4202
|
-
ze || (ze = !0,
|
|
4202
|
+
ze || (ze = !0, X("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Q));
|
|
4203
4203
|
};
|
|
4204
4204
|
ee.isReactWarning = !0, Object.defineProperty(C, "ref", {
|
|
4205
4205
|
get: ee,
|
|
@@ -4254,7 +4254,7 @@ function _R() {
|
|
|
4254
4254
|
return br(C, Ce, Ct, Ie, he, Ra.current, Oe);
|
|
4255
4255
|
}
|
|
4256
4256
|
}
|
|
4257
|
-
var Wn =
|
|
4257
|
+
var Wn = ne.ReactCurrentOwner, sn = ne.ReactDebugCurrentFrame;
|
|
4258
4258
|
function Ot(C) {
|
|
4259
4259
|
if (C) {
|
|
4260
4260
|
var Q = C._owner, ee = rn(C.type, C._source, Q ? Q.type : null);
|
|
@@ -4305,7 +4305,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
4305
4305
|
return;
|
|
4306
4306
|
Ii[ee] = !0;
|
|
4307
4307
|
var he = "";
|
|
4308
|
-
C && C._owner && C._owner !== Wn.current && (he = " It was passed a child from " + Pe(C._owner.type) + "."), Ot(C),
|
|
4308
|
+
C && C._owner && C._owner !== Wn.current && (he = " It was passed a child from " + Pe(C._owner.type) + "."), Ot(C), X('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ee, he), Ot(null);
|
|
4309
4309
|
}
|
|
4310
4310
|
}
|
|
4311
4311
|
function Yo(C, Q) {
|
|
@@ -4347,9 +4347,9 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
4347
4347
|
} else if (Q.PropTypes !== void 0 && !Ur) {
|
|
4348
4348
|
Ur = !0;
|
|
4349
4349
|
var Ie = Pe(Q);
|
|
4350
|
-
|
|
4350
|
+
X("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ie || "Unknown");
|
|
4351
4351
|
}
|
|
4352
|
-
typeof Q.getDefaultProps == "function" && !Q.getDefaultProps.isReactClassApproved &&
|
|
4352
|
+
typeof Q.getDefaultProps == "function" && !Q.getDefaultProps.isReactClassApproved && X("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
4353
4353
|
}
|
|
4354
4354
|
}
|
|
4355
4355
|
function Xa(C) {
|
|
@@ -4357,11 +4357,11 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
4357
4357
|
for (var Q = Object.keys(C.props), ee = 0; ee < Q.length; ee++) {
|
|
4358
4358
|
var he = Q[ee];
|
|
4359
4359
|
if (he !== "children" && he !== "key") {
|
|
4360
|
-
Ot(C),
|
|
4360
|
+
Ot(C), X("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", he), Ot(null);
|
|
4361
4361
|
break;
|
|
4362
4362
|
}
|
|
4363
4363
|
}
|
|
4364
|
-
C.ref !== null && (Ot(C),
|
|
4364
|
+
C.ref !== null && (Ot(C), X("Invalid attribute `ref` supplied to `React.Fragment`."), Ot(null));
|
|
4365
4365
|
}
|
|
4366
4366
|
}
|
|
4367
4367
|
var Yr = {};
|
|
@@ -4374,7 +4374,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
4374
4374
|
var Ct = vs();
|
|
4375
4375
|
Ct ? Ce += Ct : Ce += vo();
|
|
4376
4376
|
var lt;
|
|
4377
|
-
C === null ? lt = "null" : er(C) ? lt = "array" : C !== void 0 && C.$$typeof === l ? (lt = "<" + (Pe(C.type) || "Unknown") + " />", Ce = " Did you accidentally export a JSX literal instead of a component?") : lt = typeof C,
|
|
4377
|
+
C === null ? lt = "null" : er(C) ? lt = "array" : C !== void 0 && C.$$typeof === l ? (lt = "<" + (Pe(C.type) || "Unknown") + " />", Ce = " Did you accidentally export a JSX literal instead of a component?") : lt = typeof C, X("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", lt, Ce);
|
|
4378
4378
|
}
|
|
4379
4379
|
var ft = qt(C, Q, ee, Ie, Re);
|
|
4380
4380
|
if (ft == null)
|
|
@@ -4388,7 +4388,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
4388
4388
|
Yo(Jt[Er], C);
|
|
4389
4389
|
Object.freeze && Object.freeze(Jt);
|
|
4390
4390
|
} else
|
|
4391
|
-
|
|
4391
|
+
X("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
4392
4392
|
else
|
|
4393
4393
|
Yo(Jt, C);
|
|
4394
4394
|
}
|
|
@@ -4398,7 +4398,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
4398
4398
|
}), pt = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4399
4399
|
if (!Yr[nr + pt]) {
|
|
4400
4400
|
var qa = Ze.length > 0 ? "{" + Ze.join(": ..., ") + ": ...}" : "{}";
|
|
4401
|
-
|
|
4401
|
+
X(`A props object containing a "key" prop is being spread into JSX:
|
|
4402
4402
|
let props = %s;
|
|
4403
4403
|
<%s {...props} />
|
|
4404
4404
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -4562,7 +4562,7 @@ function oS() {
|
|
|
4562
4562
|
return g.now() - x;
|
|
4563
4563
|
};
|
|
4564
4564
|
}
|
|
4565
|
-
var E = [], I = [], O = 1, R = null, T = 3, D = !1, M = !1, H = !1, W = typeof setTimeout == "function" ? setTimeout : null,
|
|
4565
|
+
var E = [], I = [], O = 1, R = null, T = 3, D = !1, M = !1, H = !1, W = typeof setTimeout == "function" ? setTimeout : null, ne = typeof clearTimeout == "function" ? clearTimeout : null, X = typeof setImmediate < "u" ? setImmediate : null;
|
|
4566
4566
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
4567
4567
|
function le(ae) {
|
|
4568
4568
|
for (var ve = u(I); ve !== null; ) {
|
|
@@ -4580,7 +4580,7 @@ function oS() {
|
|
|
4580
4580
|
}
|
|
4581
4581
|
}
|
|
4582
4582
|
function ce(ae, ve) {
|
|
4583
|
-
M = !1, H && (H = !1,
|
|
4583
|
+
M = !1, H && (H = !1, ne(Qe), Qe = -1), D = !0;
|
|
4584
4584
|
var be = T;
|
|
4585
4585
|
try {
|
|
4586
4586
|
for (le(ve), R = u(E); R !== null && (!(R.expirationTime > ve) || ae && !We()); ) {
|
|
@@ -4602,7 +4602,7 @@ function oS() {
|
|
|
4602
4602
|
R = null, T = be, D = !1;
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
|
-
var
|
|
4605
|
+
var te = !1, re = null, Qe = -1, Ye = 5, _e = -1;
|
|
4606
4606
|
function We() {
|
|
4607
4607
|
return !(o.unstable_now() - _e < Ye);
|
|
4608
4608
|
}
|
|
@@ -4614,13 +4614,13 @@ function oS() {
|
|
|
4614
4614
|
try {
|
|
4615
4615
|
ve = re(!0, ae);
|
|
4616
4616
|
} finally {
|
|
4617
|
-
ve ? Pe() : (
|
|
4617
|
+
ve ? Pe() : (te = !1, re = null);
|
|
4618
4618
|
}
|
|
4619
|
-
} else
|
|
4619
|
+
} else te = !1;
|
|
4620
4620
|
}
|
|
4621
4621
|
var Pe;
|
|
4622
|
-
if (typeof
|
|
4623
|
-
|
|
4622
|
+
if (typeof X == "function") Pe = function() {
|
|
4623
|
+
X(Je);
|
|
4624
4624
|
};
|
|
4625
4625
|
else if (typeof MessageChannel < "u") {
|
|
4626
4626
|
var Le = new MessageChannel(), at = Le.port2;
|
|
@@ -4631,7 +4631,7 @@ function oS() {
|
|
|
4631
4631
|
W(Je, 0);
|
|
4632
4632
|
};
|
|
4633
4633
|
function ke(ae) {
|
|
4634
|
-
re = ae,
|
|
4634
|
+
re = ae, te || (te = !0, Pe());
|
|
4635
4635
|
}
|
|
4636
4636
|
function At(ae, ve) {
|
|
4637
4637
|
Qe = W(function() {
|
|
@@ -4703,7 +4703,7 @@ function oS() {
|
|
|
4703
4703
|
default:
|
|
4704
4704
|
bt = 5e3;
|
|
4705
4705
|
}
|
|
4706
|
-
return bt = be + bt, ae = { id: O++, callback: ve, priorityLevel: ae, startTime: be, expirationTime: bt, sortIndex: -1 }, be > ct ? (ae.sortIndex = be, l(I, ae), u(E) === null && ae === u(I) && (H ? (
|
|
4706
|
+
return bt = be + bt, ae = { id: O++, callback: ve, priorityLevel: ae, startTime: be, expirationTime: bt, sortIndex: -1 }, be > ct ? (ae.sortIndex = be, l(I, ae), u(E) === null && ae === u(I) && (H ? (ne(Qe), Qe = -1) : H = !0, At(ue, be - ct))) : (ae.sortIndex = bt, l(E, ae), M || D || (M = !0, ke(ce))), ae;
|
|
4707
4707
|
}, o.unstable_shouldYield = We, o.unstable_wrapCallback = function(ae) {
|
|
4708
4708
|
var ve = T;
|
|
4709
4709
|
return function() {
|
|
@@ -4778,12 +4778,12 @@ function iS() {
|
|
|
4778
4778
|
return H.now();
|
|
4779
4779
|
};
|
|
4780
4780
|
} else {
|
|
4781
|
-
var W = Date,
|
|
4781
|
+
var W = Date, ne = W.now();
|
|
4782
4782
|
o.unstable_now = function() {
|
|
4783
|
-
return W.now() -
|
|
4783
|
+
return W.now() - ne;
|
|
4784
4784
|
};
|
|
4785
4785
|
}
|
|
4786
|
-
var
|
|
4786
|
+
var X = 1073741823, le = -1, ue = 250, ce = 5e3, te = 1e4, re = X, Qe = [], Ye = [], _e = 1, We = null, Je = R, Pe = !1, Le = !1, at = !1, ke = typeof setTimeout == "function" ? setTimeout : null, At = typeof clearTimeout == "function" ? clearTimeout : null, ae = typeof setImmediate < "u" ? setImmediate : null;
|
|
4787
4787
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
4788
4788
|
function ve(we) {
|
|
4789
4789
|
for (var ze = h(Ye); ze !== null; ) {
|
|
@@ -4902,7 +4902,7 @@ function iS() {
|
|
|
4902
4902
|
yn = re;
|
|
4903
4903
|
break;
|
|
4904
4904
|
case T:
|
|
4905
|
-
yn =
|
|
4905
|
+
yn = te;
|
|
4906
4906
|
break;
|
|
4907
4907
|
case R:
|
|
4908
4908
|
default:
|
|
@@ -5073,21 +5073,21 @@ function lS() {
|
|
|
5073
5073
|
}), ["rowSpan", "start"].forEach(function(n) {
|
|
5074
5074
|
W[n] = new H(n, 5, !1, n.toLowerCase(), null, !1, !1);
|
|
5075
5075
|
});
|
|
5076
|
-
var
|
|
5077
|
-
function
|
|
5076
|
+
var ne = /[\-:]([a-z])/g;
|
|
5077
|
+
function X(n) {
|
|
5078
5078
|
return n[1].toUpperCase();
|
|
5079
5079
|
}
|
|
5080
5080
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n) {
|
|
5081
5081
|
var r = n.replace(
|
|
5082
|
-
|
|
5083
|
-
|
|
5082
|
+
ne,
|
|
5083
|
+
X
|
|
5084
5084
|
);
|
|
5085
5085
|
W[r] = new H(r, 1, !1, n, null, !1, !1);
|
|
5086
5086
|
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
|
|
5087
|
-
var r = n.replace(
|
|
5087
|
+
var r = n.replace(ne, X);
|
|
5088
5088
|
W[r] = new H(r, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
|
|
5089
5089
|
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
|
|
5090
|
-
var r = n.replace(
|
|
5090
|
+
var r = n.replace(ne, X);
|
|
5091
5091
|
W[r] = new H(r, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
5092
5092
|
}), ["tabIndex", "crossOrigin"].forEach(function(n) {
|
|
5093
5093
|
W[n] = new H(n, 1, !1, n.toLowerCase(), null, !1, !1);
|
|
@@ -5098,7 +5098,7 @@ function lS() {
|
|
|
5098
5098
|
var m = W.hasOwnProperty(r) ? W[r] : null;
|
|
5099
5099
|
(m !== null ? m.type !== 0 : f || !(2 < r.length) || r[0] !== "o" && r[0] !== "O" || r[1] !== "n" && r[1] !== "N") && (M(r, s, m, f) && (s = null), f || m === null ? T(r) && (s === null ? n.removeAttribute(r) : n.setAttribute(r, "" + s)) : m.mustUseProperty ? n[m.propertyName] = s === null ? m.type === 3 ? !1 : "" : s : (r = m.attributeName, f = m.attributeNamespace, s === null ? n.removeAttribute(r) : (m = m.type, s = m === 3 || m === 4 && s === !0 ? "" : "" + s, f ? n.setAttributeNS(f, r, s) : n.setAttribute(r, s))));
|
|
5100
5100
|
}
|
|
5101
|
-
var ue = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, ce = Symbol.for("react.element"),
|
|
5101
|
+
var ue = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, ce = Symbol.for("react.element"), te = Symbol.for("react.portal"), re = Symbol.for("react.fragment"), Qe = Symbol.for("react.strict_mode"), Ye = Symbol.for("react.profiler"), _e = Symbol.for("react.provider"), We = Symbol.for("react.context"), Je = Symbol.for("react.forward_ref"), Pe = Symbol.for("react.suspense"), Le = Symbol.for("react.suspense_list"), at = Symbol.for("react.memo"), ke = Symbol.for("react.lazy"), At = Symbol.for("react.offscreen"), ae = Symbol.iterator;
|
|
5102
5102
|
function ve(n) {
|
|
5103
5103
|
return n === null || typeof n != "object" ? null : (n = ae && n[ae] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
5104
5104
|
}
|
|
@@ -5198,7 +5198,7 @@ function lS() {
|
|
|
5198
5198
|
switch (n) {
|
|
5199
5199
|
case re:
|
|
5200
5200
|
return "Fragment";
|
|
5201
|
-
case
|
|
5201
|
+
case te:
|
|
5202
5202
|
return "Portal";
|
|
5203
5203
|
case Ye:
|
|
5204
5204
|
return "Profiler";
|
|
@@ -7049,7 +7049,7 @@ function lS() {
|
|
|
7049
7049
|
switch (U.$$typeof) {
|
|
7050
7050
|
case ce:
|
|
7051
7051
|
return V = zs(U.type, U.key, U.props, null, G.mode, V), V.ref = Ol(G, null, U), V.return = G, V;
|
|
7052
|
-
case
|
|
7052
|
+
case te:
|
|
7053
7053
|
return U = ef(U, G.mode, V), U.return = G, U;
|
|
7054
7054
|
case ke:
|
|
7055
7055
|
var ye = U._init;
|
|
@@ -7067,7 +7067,7 @@ function lS() {
|
|
|
7067
7067
|
switch (V.$$typeof) {
|
|
7068
7068
|
case ce:
|
|
7069
7069
|
return V.key === Ve ? B(G, U, V, ye) : null;
|
|
7070
|
-
case
|
|
7070
|
+
case te:
|
|
7071
7071
|
return V.key === Ve ? _(G, U, V, ye) : null;
|
|
7072
7072
|
case ke:
|
|
7073
7073
|
return Ve = V._init, fe(
|
|
@@ -7088,7 +7088,7 @@ function lS() {
|
|
|
7088
7088
|
switch (ye.$$typeof) {
|
|
7089
7089
|
case ce:
|
|
7090
7090
|
return G = G.get(ye.key === null ? V : ye.key) || null, B(U, G, ye, Ve);
|
|
7091
|
-
case
|
|
7091
|
+
case te:
|
|
7092
7092
|
return G = G.get(ye.key === null ? V : ye.key) || null, _(U, G, ye, Ve);
|
|
7093
7093
|
case ke:
|
|
7094
7094
|
var tt = ye._init;
|
|
@@ -7169,7 +7169,7 @@ function lS() {
|
|
|
7169
7169
|
V.type === re ? (U = uo(V.props.children, G.mode, ye, V.key), U.return = G, G = U) : (ye = zs(V.type, V.key, V.props, null, G.mode, ye), ye.ref = Ol(G, U, V), ye.return = G, G = ye);
|
|
7170
7170
|
}
|
|
7171
7171
|
return k(G);
|
|
7172
|
-
case
|
|
7172
|
+
case te:
|
|
7173
7173
|
e: {
|
|
7174
7174
|
for (tt = V.key; U !== null; ) {
|
|
7175
7175
|
if (U.key === tt) if (U.tag === 4 && U.stateNode.containerInfo === V.containerInfo && U.stateNode.implementation === V.implementation) {
|
|
@@ -9904,7 +9904,7 @@ Error generating stack: ` + b.message + `
|
|
|
9904
9904
|
}
|
|
9905
9905
|
function n1(n, r, s) {
|
|
9906
9906
|
var f = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
9907
|
-
return { $$typeof:
|
|
9907
|
+
return { $$typeof: te, key: f == null ? null : "" + f, children: n, containerInfo: r, implementation: s };
|
|
9908
9908
|
}
|
|
9909
9909
|
function r1(n) {
|
|
9910
9910
|
if (!n) return Gr;
|
|
@@ -10203,7 +10203,7 @@ function sS() {
|
|
|
10203
10203
|
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
10204
10204
|
}
|
|
10205
10205
|
}
|
|
10206
|
-
var E = 0, I = 1, O = 2, R = 3, T = 4, D = 5, M = 6, H = 7, W = 8,
|
|
10206
|
+
var E = 0, I = 1, O = 2, R = 3, T = 4, D = 5, M = 6, H = 7, W = 8, ne = 9, X = 10, le = 11, ue = 12, ce = 13, te = 14, re = 15, Qe = 16, Ye = 17, _e = 18, We = 19, Je = 21, Pe = 22, Le = 23, at = 24, ke = 25, At = !0, ae = !1, ve = !1, be = !1, ct = !1, bt = !0, Zt = !0, Pt = !0, mn = !0, Mt = /* @__PURE__ */ new Set(), mt = {}, tn = {};
|
|
10207
10207
|
function Rn(e, t) {
|
|
10208
10208
|
Sn(e, t), Sn(e + "Capture", t);
|
|
10209
10209
|
}
|
|
@@ -11042,10 +11042,10 @@ Error generating stack: ` + i.message + `
|
|
|
11042
11042
|
switch (t) {
|
|
11043
11043
|
case at:
|
|
11044
11044
|
return "Cache";
|
|
11045
|
-
case
|
|
11045
|
+
case ne:
|
|
11046
11046
|
var i = a;
|
|
11047
11047
|
return up(i) + ".Consumer";
|
|
11048
|
-
case
|
|
11048
|
+
case X:
|
|
11049
11049
|
var c = a;
|
|
11050
11050
|
return up(c._context) + ".Provider";
|
|
11051
11051
|
case _e:
|
|
@@ -11082,7 +11082,7 @@ Error generating stack: ` + i.message + `
|
|
|
11082
11082
|
case E:
|
|
11083
11083
|
case Ye:
|
|
11084
11084
|
case O:
|
|
11085
|
-
case
|
|
11085
|
+
case te:
|
|
11086
11086
|
case re:
|
|
11087
11087
|
if (typeof a == "function")
|
|
11088
11088
|
return a.displayName || a.name || null;
|
|
@@ -12484,7 +12484,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12484
12484
|
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
12485
12485
|
var S = document.createEvent("Event"), L = !1, Y = !0, z = window.event, q = Object.getOwnPropertyDescriptor(window, "event");
|
|
12486
12486
|
function $() {
|
|
12487
|
-
Np.removeEventListener(
|
|
12487
|
+
Np.removeEventListener(Z, Ee, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = z);
|
|
12488
12488
|
}
|
|
12489
12489
|
var ie = Array.prototype.slice.call(arguments, 3);
|
|
12490
12490
|
function Ee() {
|
|
@@ -12498,8 +12498,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12498
12498
|
} catch {
|
|
12499
12499
|
}
|
|
12500
12500
|
}
|
|
12501
|
-
var
|
|
12502
|
-
if (window.addEventListener("error", yt), Np.addEventListener(
|
|
12501
|
+
var Z = "react-" + (e || "invokeguardedcallback");
|
|
12502
|
+
if (window.addEventListener("error", yt), Np.addEventListener(Z, Ee, !1), S.initEvent(Z, !1, !1), Np.dispatchEvent(S), q && Object.defineProperty(window, "event", q), L && Y && (et ? Et && (Ge = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : Ge = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(Ge)), window.removeEventListener("error", yt), !L)
|
|
12503
12503
|
return $(), cd.apply(this, arguments);
|
|
12504
12504
|
};
|
|
12505
12505
|
}
|
|
@@ -14394,12 +14394,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
14394
14394
|
if (z !== q) {
|
|
14395
14395
|
var Ee = ii, Ge = "onMouseLeave", et = "onMouseEnter", Et = "mouse";
|
|
14396
14396
|
(t === "pointerout" || t === "pointerover") && (Ee = _m, Ge = "onPointerLeave", et = "onPointerEnter", Et = "pointer");
|
|
14397
|
-
var yt = z == null ? L : ff(z),
|
|
14398
|
-
oe.target = yt, oe.relatedTarget =
|
|
14397
|
+
var yt = z == null ? L : ff(z), Z = q == null ? L : ff(q), oe = new Ee(Ge, Et + "leave", z, i, c);
|
|
14398
|
+
oe.target = yt, oe.relatedTarget = Z;
|
|
14399
14399
|
var K = null, me = fc(c);
|
|
14400
14400
|
if (me === a) {
|
|
14401
14401
|
var Ne = new Ee(et, Et + "enter", q, i, c);
|
|
14402
|
-
Ne.target =
|
|
14402
|
+
Ne.target = Z, Ne.relatedTarget = yt, K = Ne;
|
|
14403
14403
|
}
|
|
14404
14404
|
Z8(e, oe, K, z, q);
|
|
14405
14405
|
}
|
|
@@ -15263,8 +15263,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
15263
15263
|
}
|
|
15264
15264
|
} else if ($ === dc) {
|
|
15265
15265
|
if (w.delete($), v5) {
|
|
15266
|
-
var
|
|
15267
|
-
Ee = e.getAttribute("style"),
|
|
15266
|
+
var Z = Qv(ie);
|
|
15267
|
+
Ee = e.getAttribute("style"), Z !== Ee && xh($, Ee, Z);
|
|
15268
15268
|
}
|
|
15269
15269
|
} else if (A)
|
|
15270
15270
|
w.delete($.toLowerCase()), Ee = hl(e, $, ie), ie !== Ee && xh($, Ee, ie);
|
|
@@ -16649,54 +16649,54 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
16649
16649
|
return a(t);
|
|
16650
16650
|
}
|
|
16651
16651
|
function Z5(e) {
|
|
16652
|
-
function t(
|
|
16652
|
+
function t(Z, oe) {
|
|
16653
16653
|
if (e) {
|
|
16654
|
-
var K =
|
|
16655
|
-
K === null ? (
|
|
16654
|
+
var K = Z.deletions;
|
|
16655
|
+
K === null ? (Z.deletions = [oe], Z.flags |= Ta) : K.push(oe);
|
|
16656
16656
|
}
|
|
16657
16657
|
}
|
|
16658
|
-
function a(
|
|
16658
|
+
function a(Z, oe) {
|
|
16659
16659
|
if (!e)
|
|
16660
16660
|
return null;
|
|
16661
16661
|
for (var K = oe; K !== null; )
|
|
16662
|
-
t(
|
|
16662
|
+
t(Z, K), K = K.sibling;
|
|
16663
16663
|
return null;
|
|
16664
16664
|
}
|
|
16665
|
-
function i(
|
|
16665
|
+
function i(Z, oe) {
|
|
16666
16666
|
for (var K = /* @__PURE__ */ new Map(), me = oe; me !== null; )
|
|
16667
16667
|
me.key !== null ? K.set(me.key, me) : K.set(me.index, me), me = me.sibling;
|
|
16668
16668
|
return K;
|
|
16669
16669
|
}
|
|
16670
|
-
function c(
|
|
16671
|
-
var K = Rc(
|
|
16670
|
+
function c(Z, oe) {
|
|
16671
|
+
var K = Rc(Z, oe);
|
|
16672
16672
|
return K.index = 0, K.sibling = null, K;
|
|
16673
16673
|
}
|
|
16674
|
-
function p(
|
|
16675
|
-
if (
|
|
16676
|
-
return
|
|
16677
|
-
var me =
|
|
16674
|
+
function p(Z, oe, K) {
|
|
16675
|
+
if (Z.index = K, !e)
|
|
16676
|
+
return Z.flags |= xo, oe;
|
|
16677
|
+
var me = Z.alternate;
|
|
16678
16678
|
if (me !== null) {
|
|
16679
16679
|
var Ne = me.index;
|
|
16680
|
-
return Ne < oe ? (
|
|
16680
|
+
return Ne < oe ? (Z.flags |= bn, oe) : Ne;
|
|
16681
16681
|
} else
|
|
16682
|
-
return
|
|
16682
|
+
return Z.flags |= bn, oe;
|
|
16683
16683
|
}
|
|
16684
|
-
function v(
|
|
16685
|
-
return e &&
|
|
16684
|
+
function v(Z) {
|
|
16685
|
+
return e && Z.alternate === null && (Z.flags |= bn), Z;
|
|
16686
16686
|
}
|
|
16687
|
-
function A(
|
|
16687
|
+
function A(Z, oe, K, me) {
|
|
16688
16688
|
if (oe === null || oe.tag !== M) {
|
|
16689
|
-
var Ne = j2(K,
|
|
16690
|
-
return Ne.return =
|
|
16689
|
+
var Ne = j2(K, Z.mode, me);
|
|
16690
|
+
return Ne.return = Z, Ne;
|
|
16691
16691
|
} else {
|
|
16692
16692
|
var Se = c(oe, K);
|
|
16693
|
-
return Se.return =
|
|
16693
|
+
return Se.return = Z, Se;
|
|
16694
16694
|
}
|
|
16695
16695
|
}
|
|
16696
|
-
function w(
|
|
16696
|
+
function w(Z, oe, K, me) {
|
|
16697
16697
|
var Ne = K.type;
|
|
16698
16698
|
if (Ne === yo)
|
|
16699
|
-
return L(
|
|
16699
|
+
return L(Z, oe, K.props.children, me, K.key);
|
|
16700
16700
|
if (oe !== null && (oe.elementType === Ne || // Keep this check inline so it only runs on the false path:
|
|
16701
16701
|
$4(oe, K) || // Lazy types should reconcile their resolved type.
|
|
16702
16702
|
// We need to do this after the Hot Reloading check above,
|
|
@@ -16704,114 +16704,114 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
16704
16704
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
16705
16705
|
typeof Ne == "object" && Ne !== null && Ne.$$typeof === Re && W5(Ne) === oe.type)) {
|
|
16706
16706
|
var Se = c(oe, K.props);
|
|
16707
|
-
return Se.ref = zh(
|
|
16707
|
+
return Se.ref = zh(Z, oe, K), Se.return = Z, Se._debugSource = K._source, Se._debugOwner = K._owner, Se;
|
|
16708
16708
|
}
|
|
16709
|
-
var rt = N2(K,
|
|
16710
|
-
return rt.ref = zh(
|
|
16709
|
+
var rt = N2(K, Z.mode, me);
|
|
16710
|
+
return rt.ref = zh(Z, oe, K), rt.return = Z, rt;
|
|
16711
16711
|
}
|
|
16712
|
-
function S(
|
|
16712
|
+
function S(Z, oe, K, me) {
|
|
16713
16713
|
if (oe === null || oe.tag !== T || oe.stateNode.containerInfo !== K.containerInfo || oe.stateNode.implementation !== K.implementation) {
|
|
16714
|
-
var Ne = B2(K,
|
|
16715
|
-
return Ne.return =
|
|
16714
|
+
var Ne = B2(K, Z.mode, me);
|
|
16715
|
+
return Ne.return = Z, Ne;
|
|
16716
16716
|
} else {
|
|
16717
16717
|
var Se = c(oe, K.children || []);
|
|
16718
|
-
return Se.return =
|
|
16718
|
+
return Se.return = Z, Se;
|
|
16719
16719
|
}
|
|
16720
16720
|
}
|
|
16721
|
-
function L(
|
|
16721
|
+
function L(Z, oe, K, me, Ne) {
|
|
16722
16722
|
if (oe === null || oe.tag !== H) {
|
|
16723
|
-
var Se = ou(K,
|
|
16724
|
-
return Se.return =
|
|
16723
|
+
var Se = ou(K, Z.mode, me, Ne);
|
|
16724
|
+
return Se.return = Z, Se;
|
|
16725
16725
|
} else {
|
|
16726
16726
|
var rt = c(oe, K);
|
|
16727
|
-
return rt.return =
|
|
16727
|
+
return rt.return = Z, rt;
|
|
16728
16728
|
}
|
|
16729
16729
|
}
|
|
16730
|
-
function Y(
|
|
16730
|
+
function Y(Z, oe, K) {
|
|
16731
16731
|
if (typeof oe == "string" && oe !== "" || typeof oe == "number") {
|
|
16732
|
-
var me = j2("" + oe,
|
|
16733
|
-
return me.return =
|
|
16732
|
+
var me = j2("" + oe, Z.mode, K);
|
|
16733
|
+
return me.return = Z, me;
|
|
16734
16734
|
}
|
|
16735
16735
|
if (typeof oe == "object" && oe !== null) {
|
|
16736
16736
|
switch (oe.$$typeof) {
|
|
16737
16737
|
case Yr: {
|
|
16738
|
-
var Ne = N2(oe,
|
|
16739
|
-
return Ne.ref = zh(
|
|
16738
|
+
var Ne = N2(oe, Z.mode, K);
|
|
16739
|
+
return Ne.ref = zh(Z, null, oe), Ne.return = Z, Ne;
|
|
16740
16740
|
}
|
|
16741
16741
|
case tr: {
|
|
16742
|
-
var Se = B2(oe,
|
|
16743
|
-
return Se.return =
|
|
16742
|
+
var Se = B2(oe, Z.mode, K);
|
|
16743
|
+
return Se.return = Z, Se;
|
|
16744
16744
|
}
|
|
16745
16745
|
case Re: {
|
|
16746
16746
|
var rt = oe._payload, ut = oe._init;
|
|
16747
|
-
return Y(
|
|
16747
|
+
return Y(Z, ut(rt), K);
|
|
16748
16748
|
}
|
|
16749
16749
|
}
|
|
16750
16750
|
if (ar(oe) || Ze(oe)) {
|
|
16751
|
-
var Wt = ou(oe,
|
|
16752
|
-
return Wt.return =
|
|
16751
|
+
var Wt = ou(oe, Z.mode, K, null);
|
|
16752
|
+
return Wt.return = Z, Wt;
|
|
16753
16753
|
}
|
|
16754
|
-
M1(
|
|
16754
|
+
M1(Z, oe);
|
|
16755
16755
|
}
|
|
16756
|
-
return typeof oe == "function" && Q1(
|
|
16756
|
+
return typeof oe == "function" && Q1(Z), null;
|
|
16757
16757
|
}
|
|
16758
|
-
function z(
|
|
16758
|
+
function z(Z, oe, K, me) {
|
|
16759
16759
|
var Ne = oe !== null ? oe.key : null;
|
|
16760
16760
|
if (typeof K == "string" && K !== "" || typeof K == "number")
|
|
16761
|
-
return Ne !== null ? null : A(
|
|
16761
|
+
return Ne !== null ? null : A(Z, oe, "" + K, me);
|
|
16762
16762
|
if (typeof K == "object" && K !== null) {
|
|
16763
16763
|
switch (K.$$typeof) {
|
|
16764
16764
|
case Yr:
|
|
16765
|
-
return K.key === Ne ? w(
|
|
16765
|
+
return K.key === Ne ? w(Z, oe, K, me) : null;
|
|
16766
16766
|
case tr:
|
|
16767
|
-
return K.key === Ne ? S(
|
|
16767
|
+
return K.key === Ne ? S(Z, oe, K, me) : null;
|
|
16768
16768
|
case Re: {
|
|
16769
16769
|
var Se = K._payload, rt = K._init;
|
|
16770
|
-
return z(
|
|
16770
|
+
return z(Z, oe, rt(Se), me);
|
|
16771
16771
|
}
|
|
16772
16772
|
}
|
|
16773
16773
|
if (ar(K) || Ze(K))
|
|
16774
|
-
return Ne !== null ? null : L(
|
|
16775
|
-
M1(
|
|
16774
|
+
return Ne !== null ? null : L(Z, oe, K, me, null);
|
|
16775
|
+
M1(Z, K);
|
|
16776
16776
|
}
|
|
16777
|
-
return typeof K == "function" && Q1(
|
|
16777
|
+
return typeof K == "function" && Q1(Z), null;
|
|
16778
16778
|
}
|
|
16779
|
-
function q(
|
|
16779
|
+
function q(Z, oe, K, me, Ne) {
|
|
16780
16780
|
if (typeof me == "string" && me !== "" || typeof me == "number") {
|
|
16781
|
-
var Se =
|
|
16781
|
+
var Se = Z.get(K) || null;
|
|
16782
16782
|
return A(oe, Se, "" + me, Ne);
|
|
16783
16783
|
}
|
|
16784
16784
|
if (typeof me == "object" && me !== null) {
|
|
16785
16785
|
switch (me.$$typeof) {
|
|
16786
16786
|
case Yr: {
|
|
16787
|
-
var rt =
|
|
16787
|
+
var rt = Z.get(me.key === null ? K : me.key) || null;
|
|
16788
16788
|
return w(oe, rt, me, Ne);
|
|
16789
16789
|
}
|
|
16790
16790
|
case tr: {
|
|
16791
|
-
var ut =
|
|
16791
|
+
var ut = Z.get(me.key === null ? K : me.key) || null;
|
|
16792
16792
|
return S(oe, ut, me, Ne);
|
|
16793
16793
|
}
|
|
16794
16794
|
case Re:
|
|
16795
16795
|
var Wt = me._payload, jt = me._init;
|
|
16796
|
-
return q(
|
|
16796
|
+
return q(Z, oe, K, jt(Wt), Ne);
|
|
16797
16797
|
}
|
|
16798
16798
|
if (ar(me) || Ze(me)) {
|
|
16799
|
-
var Jn =
|
|
16799
|
+
var Jn = Z.get(K) || null;
|
|
16800
16800
|
return L(oe, Jn, me, Ne, null);
|
|
16801
16801
|
}
|
|
16802
16802
|
M1(oe, me);
|
|
16803
16803
|
}
|
|
16804
16804
|
return typeof me == "function" && Q1(oe), null;
|
|
16805
16805
|
}
|
|
16806
|
-
function $(
|
|
16806
|
+
function $(Z, oe, K) {
|
|
16807
16807
|
{
|
|
16808
|
-
if (typeof
|
|
16808
|
+
if (typeof Z != "object" || Z === null)
|
|
16809
16809
|
return oe;
|
|
16810
|
-
switch (
|
|
16810
|
+
switch (Z.$$typeof) {
|
|
16811
16811
|
case Yr:
|
|
16812
16812
|
case tr:
|
|
16813
|
-
G5(
|
|
16814
|
-
var me =
|
|
16813
|
+
G5(Z, K);
|
|
16814
|
+
var me = Z.key;
|
|
16815
16815
|
if (typeof me != "string")
|
|
16816
16816
|
break;
|
|
16817
16817
|
if (oe === null) {
|
|
@@ -16825,58 +16825,58 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
16825
16825
|
g("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.", me);
|
|
16826
16826
|
break;
|
|
16827
16827
|
case Re:
|
|
16828
|
-
var Ne =
|
|
16828
|
+
var Ne = Z._payload, Se = Z._init;
|
|
16829
16829
|
$(Se(Ne), oe, K);
|
|
16830
16830
|
break;
|
|
16831
16831
|
}
|
|
16832
16832
|
}
|
|
16833
16833
|
return oe;
|
|
16834
16834
|
}
|
|
16835
|
-
function ie(
|
|
16835
|
+
function ie(Z, oe, K, me) {
|
|
16836
16836
|
for (var Ne = null, Se = 0; Se < K.length; Se++) {
|
|
16837
16837
|
var rt = K[Se];
|
|
16838
|
-
Ne = $(rt, Ne,
|
|
16838
|
+
Ne = $(rt, Ne, Z);
|
|
16839
16839
|
}
|
|
16840
16840
|
for (var ut = null, Wt = null, jt = oe, Jn = 0, Bt = 0, Bn = null; jt !== null && Bt < K.length; Bt++) {
|
|
16841
16841
|
jt.index > Bt ? (Bn = jt, jt = null) : Bn = jt.sibling;
|
|
16842
|
-
var oa = z(
|
|
16842
|
+
var oa = z(Z, jt, K[Bt], me);
|
|
16843
16843
|
if (oa === null) {
|
|
16844
16844
|
jt === null && (jt = Bn);
|
|
16845
16845
|
break;
|
|
16846
16846
|
}
|
|
16847
|
-
e && jt && oa.alternate === null && t(
|
|
16847
|
+
e && jt && oa.alternate === null && t(Z, jt), Jn = p(oa, Jn, Bt), Wt === null ? ut = oa : Wt.sibling = oa, Wt = oa, jt = Bn;
|
|
16848
16848
|
}
|
|
16849
16849
|
if (Bt === K.length) {
|
|
16850
|
-
if (a(
|
|
16850
|
+
if (a(Z, jt), Or()) {
|
|
16851
16851
|
var Mr = Bt;
|
|
16852
|
-
hc(
|
|
16852
|
+
hc(Z, Mr);
|
|
16853
16853
|
}
|
|
16854
16854
|
return ut;
|
|
16855
16855
|
}
|
|
16856
16856
|
if (jt === null) {
|
|
16857
16857
|
for (; Bt < K.length; Bt++) {
|
|
16858
|
-
var po = Y(
|
|
16858
|
+
var po = Y(Z, K[Bt], me);
|
|
16859
16859
|
po !== null && (Jn = p(po, Jn, Bt), Wt === null ? ut = po : Wt.sibling = po, Wt = po);
|
|
16860
16860
|
}
|
|
16861
16861
|
if (Or()) {
|
|
16862
16862
|
var Ea = Bt;
|
|
16863
|
-
hc(
|
|
16863
|
+
hc(Z, Ea);
|
|
16864
16864
|
}
|
|
16865
16865
|
return ut;
|
|
16866
16866
|
}
|
|
16867
|
-
for (var wa = i(
|
|
16868
|
-
var ia = q(wa,
|
|
16867
|
+
for (var wa = i(Z, jt); Bt < K.length; Bt++) {
|
|
16868
|
+
var ia = q(wa, Z, Bt, K[Bt], me);
|
|
16869
16869
|
ia !== null && (e && ia.alternate !== null && wa.delete(ia.key === null ? Bt : ia.key), Jn = p(ia, Jn, Bt), Wt === null ? ut = ia : Wt.sibling = ia, Wt = ia);
|
|
16870
16870
|
}
|
|
16871
16871
|
if (e && wa.forEach(function(Bf) {
|
|
16872
|
-
return t(
|
|
16872
|
+
return t(Z, Bf);
|
|
16873
16873
|
}), Or()) {
|
|
16874
16874
|
var cs = Bt;
|
|
16875
|
-
hc(
|
|
16875
|
+
hc(Z, cs);
|
|
16876
16876
|
}
|
|
16877
16877
|
return ut;
|
|
16878
16878
|
}
|
|
16879
|
-
function Ee(
|
|
16879
|
+
function Ee(Z, oe, K, me) {
|
|
16880
16880
|
var Ne = Ze(K);
|
|
16881
16881
|
if (typeof Ne != "function")
|
|
16882
16882
|
throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
|
|
@@ -16887,7 +16887,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
16887
16887
|
if (Se)
|
|
16888
16888
|
for (var rt = null, ut = Se.next(); !ut.done; ut = Se.next()) {
|
|
16889
16889
|
var Wt = ut.value;
|
|
16890
|
-
rt = $(Wt, rt,
|
|
16890
|
+
rt = $(Wt, rt, Z);
|
|
16891
16891
|
}
|
|
16892
16892
|
}
|
|
16893
16893
|
var jt = Ne.call(K);
|
|
@@ -16895,62 +16895,62 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
16895
16895
|
throw new Error("An iterable object provided no iterator.");
|
|
16896
16896
|
for (var Jn = null, Bt = null, Bn = oe, oa = 0, Mr = 0, po = null, Ea = jt.next(); Bn !== null && !Ea.done; Mr++, Ea = jt.next()) {
|
|
16897
16897
|
Bn.index > Mr ? (po = Bn, Bn = null) : po = Bn.sibling;
|
|
16898
|
-
var wa = z(
|
|
16898
|
+
var wa = z(Z, Bn, Ea.value, me);
|
|
16899
16899
|
if (wa === null) {
|
|
16900
16900
|
Bn === null && (Bn = po);
|
|
16901
16901
|
break;
|
|
16902
16902
|
}
|
|
16903
|
-
e && Bn && wa.alternate === null && t(
|
|
16903
|
+
e && Bn && wa.alternate === null && t(Z, Bn), oa = p(wa, oa, Mr), Bt === null ? Jn = wa : Bt.sibling = wa, Bt = wa, Bn = po;
|
|
16904
16904
|
}
|
|
16905
16905
|
if (Ea.done) {
|
|
16906
|
-
if (a(
|
|
16906
|
+
if (a(Z, Bn), Or()) {
|
|
16907
16907
|
var ia = Mr;
|
|
16908
|
-
hc(
|
|
16908
|
+
hc(Z, ia);
|
|
16909
16909
|
}
|
|
16910
16910
|
return Jn;
|
|
16911
16911
|
}
|
|
16912
16912
|
if (Bn === null) {
|
|
16913
16913
|
for (; !Ea.done; Mr++, Ea = jt.next()) {
|
|
16914
|
-
var cs = Y(
|
|
16914
|
+
var cs = Y(Z, Ea.value, me);
|
|
16915
16915
|
cs !== null && (oa = p(cs, oa, Mr), Bt === null ? Jn = cs : Bt.sibling = cs, Bt = cs);
|
|
16916
16916
|
}
|
|
16917
16917
|
if (Or()) {
|
|
16918
16918
|
var Bf = Mr;
|
|
16919
|
-
hc(
|
|
16919
|
+
hc(Z, Bf);
|
|
16920
16920
|
}
|
|
16921
16921
|
return Jn;
|
|
16922
16922
|
}
|
|
16923
|
-
for (var mg = i(
|
|
16924
|
-
var ll = q(mg,
|
|
16923
|
+
for (var mg = i(Z, Bn); !Ea.done; Mr++, Ea = jt.next()) {
|
|
16924
|
+
var ll = q(mg, Z, Mr, Ea.value, me);
|
|
16925
16925
|
ll !== null && (e && ll.alternate !== null && mg.delete(ll.key === null ? Mr : ll.key), oa = p(ll, oa, Mr), Bt === null ? Jn = ll : Bt.sibling = ll, Bt = ll);
|
|
16926
16926
|
}
|
|
16927
16927
|
if (e && mg.forEach(function(gI) {
|
|
16928
|
-
return t(
|
|
16928
|
+
return t(Z, gI);
|
|
16929
16929
|
}), Or()) {
|
|
16930
16930
|
var hI = Mr;
|
|
16931
|
-
hc(
|
|
16931
|
+
hc(Z, hI);
|
|
16932
16932
|
}
|
|
16933
16933
|
return Jn;
|
|
16934
16934
|
}
|
|
16935
|
-
function Ge(
|
|
16935
|
+
function Ge(Z, oe, K, me) {
|
|
16936
16936
|
if (oe !== null && oe.tag === M) {
|
|
16937
|
-
a(
|
|
16937
|
+
a(Z, oe.sibling);
|
|
16938
16938
|
var Ne = c(oe, K);
|
|
16939
|
-
return Ne.return =
|
|
16939
|
+
return Ne.return = Z, Ne;
|
|
16940
16940
|
}
|
|
16941
|
-
a(
|
|
16942
|
-
var Se = j2(K,
|
|
16943
|
-
return Se.return =
|
|
16941
|
+
a(Z, oe);
|
|
16942
|
+
var Se = j2(K, Z.mode, me);
|
|
16943
|
+
return Se.return = Z, Se;
|
|
16944
16944
|
}
|
|
16945
|
-
function et(
|
|
16945
|
+
function et(Z, oe, K, me) {
|
|
16946
16946
|
for (var Ne = K.key, Se = oe; Se !== null; ) {
|
|
16947
16947
|
if (Se.key === Ne) {
|
|
16948
16948
|
var rt = K.type;
|
|
16949
16949
|
if (rt === yo) {
|
|
16950
16950
|
if (Se.tag === H) {
|
|
16951
|
-
a(
|
|
16951
|
+
a(Z, Se.sibling);
|
|
16952
16952
|
var ut = c(Se, K.props.children);
|
|
16953
|
-
return ut.return =
|
|
16953
|
+
return ut.return = Z, ut._debugSource = K._source, ut._debugOwner = K._owner, ut;
|
|
16954
16954
|
}
|
|
16955
16955
|
} else if (Se.elementType === rt || // Keep this check inline so it only runs on the false path:
|
|
16956
16956
|
$4(Se, K) || // Lazy types should reconcile their resolved type.
|
|
@@ -16958,61 +16958,61 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
16958
16958
|
// because hot reloading has different semantics than prod because
|
|
16959
16959
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
16960
16960
|
typeof rt == "object" && rt !== null && rt.$$typeof === Re && W5(rt) === Se.type) {
|
|
16961
|
-
a(
|
|
16961
|
+
a(Z, Se.sibling);
|
|
16962
16962
|
var Wt = c(Se, K.props);
|
|
16963
|
-
return Wt.ref = zh(
|
|
16963
|
+
return Wt.ref = zh(Z, Se, K), Wt.return = Z, Wt._debugSource = K._source, Wt._debugOwner = K._owner, Wt;
|
|
16964
16964
|
}
|
|
16965
|
-
a(
|
|
16965
|
+
a(Z, Se);
|
|
16966
16966
|
break;
|
|
16967
16967
|
} else
|
|
16968
|
-
t(
|
|
16968
|
+
t(Z, Se);
|
|
16969
16969
|
Se = Se.sibling;
|
|
16970
16970
|
}
|
|
16971
16971
|
if (K.type === yo) {
|
|
16972
|
-
var jt = ou(K.props.children,
|
|
16973
|
-
return jt.return =
|
|
16972
|
+
var jt = ou(K.props.children, Z.mode, me, K.key);
|
|
16973
|
+
return jt.return = Z, jt;
|
|
16974
16974
|
} else {
|
|
16975
|
-
var Jn = N2(K,
|
|
16976
|
-
return Jn.ref = zh(
|
|
16975
|
+
var Jn = N2(K, Z.mode, me);
|
|
16976
|
+
return Jn.ref = zh(Z, oe, K), Jn.return = Z, Jn;
|
|
16977
16977
|
}
|
|
16978
16978
|
}
|
|
16979
|
-
function Et(
|
|
16979
|
+
function Et(Z, oe, K, me) {
|
|
16980
16980
|
for (var Ne = K.key, Se = oe; Se !== null; ) {
|
|
16981
16981
|
if (Se.key === Ne)
|
|
16982
16982
|
if (Se.tag === T && Se.stateNode.containerInfo === K.containerInfo && Se.stateNode.implementation === K.implementation) {
|
|
16983
|
-
a(
|
|
16983
|
+
a(Z, Se.sibling);
|
|
16984
16984
|
var rt = c(Se, K.children || []);
|
|
16985
|
-
return rt.return =
|
|
16985
|
+
return rt.return = Z, rt;
|
|
16986
16986
|
} else {
|
|
16987
|
-
a(
|
|
16987
|
+
a(Z, Se);
|
|
16988
16988
|
break;
|
|
16989
16989
|
}
|
|
16990
16990
|
else
|
|
16991
|
-
t(
|
|
16991
|
+
t(Z, Se);
|
|
16992
16992
|
Se = Se.sibling;
|
|
16993
16993
|
}
|
|
16994
|
-
var ut = B2(K,
|
|
16995
|
-
return ut.return =
|
|
16994
|
+
var ut = B2(K, Z.mode, me);
|
|
16995
|
+
return ut.return = Z, ut;
|
|
16996
16996
|
}
|
|
16997
|
-
function yt(
|
|
16997
|
+
function yt(Z, oe, K, me) {
|
|
16998
16998
|
var Ne = typeof K == "object" && K !== null && K.type === yo && K.key === null;
|
|
16999
16999
|
if (Ne && (K = K.props.children), typeof K == "object" && K !== null) {
|
|
17000
17000
|
switch (K.$$typeof) {
|
|
17001
17001
|
case Yr:
|
|
17002
|
-
return v(et(
|
|
17002
|
+
return v(et(Z, oe, K, me));
|
|
17003
17003
|
case tr:
|
|
17004
|
-
return v(Et(
|
|
17004
|
+
return v(Et(Z, oe, K, me));
|
|
17005
17005
|
case Re:
|
|
17006
17006
|
var Se = K._payload, rt = K._init;
|
|
17007
|
-
return yt(
|
|
17007
|
+
return yt(Z, oe, rt(Se), me);
|
|
17008
17008
|
}
|
|
17009
17009
|
if (ar(K))
|
|
17010
|
-
return ie(
|
|
17010
|
+
return ie(Z, oe, K, me);
|
|
17011
17011
|
if (Ze(K))
|
|
17012
|
-
return Ee(
|
|
17013
|
-
M1(
|
|
17012
|
+
return Ee(Z, oe, K, me);
|
|
17013
|
+
M1(Z, K);
|
|
17014
17014
|
}
|
|
17015
|
-
return typeof K == "string" && K !== "" || typeof K == "number" ? v(Ge(
|
|
17015
|
+
return typeof K == "string" && K !== "" || typeof K == "number" ? v(Ge(Z, oe, "" + K, me)) : (typeof K == "function" && Q1(Z), a(Z, oe));
|
|
17016
17016
|
}
|
|
17017
17017
|
return yt;
|
|
17018
17018
|
}
|
|
@@ -17086,7 +17086,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
17086
17086
|
}
|
|
17087
17087
|
v = v.next;
|
|
17088
17088
|
}
|
|
17089
|
-
} else if (i.tag ===
|
|
17089
|
+
} else if (i.tag === X)
|
|
17090
17090
|
c = i.type === e.type ? null : i.child;
|
|
17091
17091
|
else if (i.tag === _e) {
|
|
17092
17092
|
var q = i.return;
|
|
@@ -17359,7 +17359,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
17359
17359
|
var Et = et.lane, yt = et.eventTime;
|
|
17360
17360
|
if (Ul(i, Et)) {
|
|
17361
17361
|
if (Ge !== null) {
|
|
17362
|
-
var
|
|
17362
|
+
var Z = {
|
|
17363
17363
|
eventTime: yt,
|
|
17364
17364
|
// This update is going to be committed so we never want uncommit
|
|
17365
17365
|
// it. Using NoLane works because 0 is a subset of all bitmasks, so
|
|
@@ -17370,7 +17370,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
17370
17370
|
callback: et.callback,
|
|
17371
17371
|
next: null
|
|
17372
17372
|
};
|
|
17373
|
-
Ge = Ge.next =
|
|
17373
|
+
Ge = Ge.next = Z;
|
|
17374
17374
|
}
|
|
17375
17375
|
q = _6(e, c, et, q, t, a);
|
|
17376
17376
|
var oe = et.callback;
|
|
@@ -17749,11 +17749,11 @@ Incoming: %s`, se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
17749
17749
|
}
|
|
17750
17750
|
var yt = c.interleaved;
|
|
17751
17751
|
if (yt !== null) {
|
|
17752
|
-
var
|
|
17752
|
+
var Z = yt;
|
|
17753
17753
|
do {
|
|
17754
|
-
var oe =
|
|
17755
|
-
Gt.lanes = gt(Gt.lanes, oe), dg(oe),
|
|
17756
|
-
} while (
|
|
17754
|
+
var oe = Z.lane;
|
|
17755
|
+
Gt.lanes = gt(Gt.lanes, oe), dg(oe), Z = Z.next;
|
|
17756
|
+
} while (Z !== yt);
|
|
17757
17757
|
} else v === null && (c.lanes = de);
|
|
17758
17758
|
var K = c.dispatch;
|
|
17759
17759
|
return [i.memoizedState, K];
|
|
@@ -19563,7 +19563,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
19563
19563
|
return t.type = w = R2(w), Y = _3(null, t, w, L, i), Y;
|
|
19564
19564
|
case le:
|
|
19565
19565
|
return t.type = w = S2(w), Y = W3(null, t, w, L, i), Y;
|
|
19566
|
-
case
|
|
19566
|
+
case te: {
|
|
19567
19567
|
if (t.type !== t.elementType) {
|
|
19568
19568
|
var z = w.propTypes;
|
|
19569
19569
|
z && ui(
|
|
@@ -19721,8 +19721,8 @@ Check the render method of \`` + i + "`.");
|
|
|
19721
19721
|
var ie = i.fallback, Ee = i.children, Ge = F9(e, t, Ee, ie, a), et = t.child, Et = e.child.memoizedState;
|
|
19722
19722
|
return et.memoizedState = Et === null ? $b(a) : j9(Et, a), et.childLanes = M9(e, a), t.memoizedState = _b, Ge;
|
|
19723
19723
|
} else {
|
|
19724
|
-
var yt = i.children,
|
|
19725
|
-
return t.memoizedState = null,
|
|
19724
|
+
var yt = i.children, Z = z9(e, t, yt, a);
|
|
19725
|
+
return t.memoizedState = null, Z;
|
|
19726
19726
|
}
|
|
19727
19727
|
}
|
|
19728
19728
|
}
|
|
@@ -19836,8 +19836,8 @@ Check the render method of \`` + i + "`.");
|
|
|
19836
19836
|
var yt = Nm(Et, v);
|
|
19837
19837
|
if (yt !== Lt && yt !== p.retryLane) {
|
|
19838
19838
|
p.retryLane = yt;
|
|
19839
|
-
var
|
|
19840
|
-
Ha(e, yt), vr(Et, e, yt,
|
|
19839
|
+
var Z = Xt;
|
|
19840
|
+
Ha(e, yt), vr(Et, e, yt, Z);
|
|
19841
19841
|
}
|
|
19842
19842
|
}
|
|
19843
19843
|
w2();
|
|
@@ -20103,7 +20103,7 @@ Check the render method of \`` + i + "`.");
|
|
|
20103
20103
|
case T:
|
|
20104
20104
|
qy(t, t.stateNode.containerInfo);
|
|
20105
20105
|
break;
|
|
20106
|
-
case
|
|
20106
|
+
case X: {
|
|
20107
20107
|
var c = t.memoizedProps.value, p = t.type._context;
|
|
20108
20108
|
_5(t, p, c);
|
|
20109
20109
|
break;
|
|
@@ -20206,16 +20206,16 @@ Check the render method of \`` + i + "`.");
|
|
|
20206
20206
|
return R9(e, t, a);
|
|
20207
20207
|
case ue:
|
|
20208
20208
|
return S9(e, t, a);
|
|
20209
|
-
case
|
|
20209
|
+
case X:
|
|
20210
20210
|
return K9(e, t, a);
|
|
20211
|
-
case
|
|
20211
|
+
case ne:
|
|
20212
20212
|
return q9(e, t, a);
|
|
20213
|
-
case
|
|
20213
|
+
case te: {
|
|
20214
20214
|
var et = t.type, Et = t.pendingProps, yt = hi(et, Et);
|
|
20215
20215
|
if (t.type !== t.elementType) {
|
|
20216
|
-
var
|
|
20217
|
-
|
|
20218
|
-
|
|
20216
|
+
var Z = et.propTypes;
|
|
20217
|
+
Z && ui(
|
|
20218
|
+
Z,
|
|
20219
20219
|
yt,
|
|
20220
20220
|
// Resolved for outer only
|
|
20221
20221
|
"prop",
|
|
@@ -20353,8 +20353,8 @@ Check the render method of \`` + i + "`.");
|
|
|
20353
20353
|
case H:
|
|
20354
20354
|
case W:
|
|
20355
20355
|
case ue:
|
|
20356
|
-
case te:
|
|
20357
20356
|
case ne:
|
|
20357
|
+
case te:
|
|
20358
20358
|
return Tr(t), null;
|
|
20359
20359
|
case I: {
|
|
20360
20360
|
var c = t.type;
|
|
@@ -20419,8 +20419,8 @@ Check the render method of \`` + i + "`.");
|
|
|
20419
20419
|
}
|
|
20420
20420
|
if ((t.flags & Xe) !== Ke)
|
|
20421
20421
|
return t.lanes = a, (t.mode & Tt) !== qe && Sb(t), t;
|
|
20422
|
-
var yt = et !== null,
|
|
20423
|
-
if (yt !==
|
|
20422
|
+
var yt = et !== null, Z = e !== null && e.memoizedState !== null;
|
|
20423
|
+
if (yt !== Z && yt) {
|
|
20424
20424
|
var oe = t.child;
|
|
20425
20425
|
if (oe.flags |= Ln, (t.mode & vt) !== qe) {
|
|
20426
20426
|
var K = e === null && (t.memoizedProps.unstable_avoidThisFallback !== !0 || !0);
|
|
@@ -20436,7 +20436,7 @@ Check the render method of \`` + i + "`.");
|
|
|
20436
20436
|
}
|
|
20437
20437
|
case T:
|
|
20438
20438
|
return Ef(t), a2(e, t), e === null && v6(t.stateNode.containerInfo), Tr(t), null;
|
|
20439
|
-
case
|
|
20439
|
+
case X:
|
|
20440
20440
|
var Se = t.type._context;
|
|
20441
20441
|
return Jy(Se, t), Tr(t), null;
|
|
20442
20442
|
case Ye: {
|
|
@@ -20541,7 +20541,7 @@ Check the render method of \`` + i + "`.");
|
|
|
20541
20541
|
return Cf(t), null;
|
|
20542
20542
|
case T:
|
|
20543
20543
|
return Ef(t), null;
|
|
20544
|
-
case
|
|
20544
|
+
case X:
|
|
20545
20545
|
var w = t.type._context;
|
|
20546
20546
|
return Jy(w, t), null;
|
|
20547
20547
|
case Pe:
|
|
@@ -20577,7 +20577,7 @@ Check the render method of \`` + i + "`.");
|
|
|
20577
20577
|
case We:
|
|
20578
20578
|
Cf(t);
|
|
20579
20579
|
break;
|
|
20580
|
-
case
|
|
20580
|
+
case X:
|
|
20581
20581
|
var c = t.type._context;
|
|
20582
20582
|
Jy(c, t);
|
|
20583
20583
|
break;
|
|
@@ -20890,8 +20890,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20890
20890
|
yt.effectDuration += Ee;
|
|
20891
20891
|
break e;
|
|
20892
20892
|
case ue:
|
|
20893
|
-
var
|
|
20894
|
-
|
|
20893
|
+
var Z = Et.stateNode;
|
|
20894
|
+
Z.effectDuration += Ee;
|
|
20895
20895
|
break e;
|
|
20896
20896
|
}
|
|
20897
20897
|
Et = Et.return;
|
|
@@ -21148,7 +21148,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
21148
21148
|
}
|
|
21149
21149
|
case E:
|
|
21150
21150
|
case le:
|
|
21151
|
-
case
|
|
21151
|
+
case te:
|
|
21152
21152
|
case re: {
|
|
21153
21153
|
if (!Dr) {
|
|
21154
21154
|
var A = a.updateQueue;
|
|
@@ -21255,7 +21255,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
21255
21255
|
switch (e.tag) {
|
|
21256
21256
|
case E:
|
|
21257
21257
|
case le:
|
|
21258
|
-
case
|
|
21258
|
+
case te:
|
|
21259
21259
|
case re: {
|
|
21260
21260
|
if (yi(t, e), ol(e), c & xt) {
|
|
21261
21261
|
try {
|
|
@@ -21364,8 +21364,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
21364
21364
|
// TODO: Remove this dead flag
|
|
21365
21365
|
e.mode & vt
|
|
21366
21366
|
) {
|
|
21367
|
-
var
|
|
21368
|
-
Dr =
|
|
21367
|
+
var Z = Dr;
|
|
21368
|
+
Dr = Z || yt, yi(t, e), Dr = Z;
|
|
21369
21369
|
} else
|
|
21370
21370
|
yi(t, e);
|
|
21371
21371
|
if (ol(e), c & Ln) {
|
|
@@ -21462,7 +21462,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
21462
21462
|
switch (t.tag) {
|
|
21463
21463
|
case E:
|
|
21464
21464
|
case le:
|
|
21465
|
-
case
|
|
21465
|
+
case te:
|
|
21466
21466
|
case re: {
|
|
21467
21467
|
if (t.mode & Tt)
|
|
21468
21468
|
try {
|
|
@@ -22440,7 +22440,7 @@ Error message:
|
|
|
22440
22440
|
if ((kt & Br) !== hr || !(e.mode & vt))
|
|
22441
22441
|
return;
|
|
22442
22442
|
var t = e.tag;
|
|
22443
|
-
if (t !== O && t !== R && t !== I && t !== E && t !== le && t !==
|
|
22443
|
+
if (t !== O && t !== R && t !== I && t !== E && t !== le && t !== te && t !== re)
|
|
22444
22444
|
return;
|
|
22445
22445
|
var a = ht(e) || "ReactComponent";
|
|
22446
22446
|
if (j0 !== null) {
|
|
@@ -22613,7 +22613,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22613
22613
|
(p === Q || p === Re) && (c = !0);
|
|
22614
22614
|
break;
|
|
22615
22615
|
}
|
|
22616
|
-
case
|
|
22616
|
+
case te:
|
|
22617
22617
|
case re: {
|
|
22618
22618
|
(p === Ie || p === Re) && (c = !0);
|
|
22619
22619
|
break;
|
|
@@ -22778,7 +22778,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22778
22778
|
if (t === Q)
|
|
22779
22779
|
return le;
|
|
22780
22780
|
if (t === Ie)
|
|
22781
|
-
return
|
|
22781
|
+
return te;
|
|
22782
22782
|
}
|
|
22783
22783
|
return O;
|
|
22784
22784
|
}
|
|
@@ -22853,16 +22853,16 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22853
22853
|
if (typeof e == "object" && e !== null)
|
|
22854
22854
|
switch (e.$$typeof) {
|
|
22855
22855
|
case Ao:
|
|
22856
|
-
v =
|
|
22856
|
+
v = X;
|
|
22857
22857
|
break e;
|
|
22858
22858
|
case C:
|
|
22859
|
-
v =
|
|
22859
|
+
v = ne;
|
|
22860
22860
|
break e;
|
|
22861
22861
|
case Q:
|
|
22862
22862
|
v = le, A = S2(A);
|
|
22863
22863
|
break e;
|
|
22864
22864
|
case Ie:
|
|
22865
|
-
v =
|
|
22865
|
+
v = te;
|
|
22866
22866
|
break e;
|
|
22867
22867
|
case Re:
|
|
22868
22868
|
v = Qe, A = null;
|
|
@@ -23787,21 +23787,21 @@ function Tg(o) {
|
|
|
23787
23787
|
let T = (H, W) => {
|
|
23788
23788
|
if (x.pointerType = W, h || W === "touch" || x.isHovered || !H.currentTarget.contains(H.target)) return;
|
|
23789
23789
|
x.isHovered = !0;
|
|
23790
|
-
let
|
|
23791
|
-
x.target =
|
|
23792
|
-
x.isHovered && x.target && !Gw(x.target,
|
|
23790
|
+
let ne = H.currentTarget;
|
|
23791
|
+
x.target = ne, E(hu(H.target), "pointerover", (X) => {
|
|
23792
|
+
x.isHovered && x.target && !Gw(x.target, X.target) && D(X, X.pointerType);
|
|
23793
23793
|
}, {
|
|
23794
23794
|
capture: !0
|
|
23795
23795
|
}), l && l({
|
|
23796
23796
|
type: "hoverstart",
|
|
23797
|
-
target:
|
|
23797
|
+
target: ne,
|
|
23798
23798
|
pointerType: W
|
|
23799
23799
|
}), u && u(!0), g(!0);
|
|
23800
23800
|
}, D = (H, W) => {
|
|
23801
|
-
let
|
|
23802
|
-
x.pointerType = "", x.target = null, !(W === "touch" || !x.isHovered || !
|
|
23801
|
+
let ne = x.target;
|
|
23802
|
+
x.pointerType = "", x.target = null, !(W === "touch" || !x.isHovered || !ne) && (x.isHovered = !1, I(), d && d({
|
|
23803
23803
|
type: "hoverend",
|
|
23804
|
-
target:
|
|
23804
|
+
target: ne,
|
|
23805
23805
|
pointerType: W
|
|
23806
23806
|
}), u && u(!1), g(!1));
|
|
23807
23807
|
}, M = {};
|
|
@@ -24043,8 +24043,8 @@ function Y0(o, l = {}, u, d, h) {
|
|
|
24043
24043
|
`)].join(`
|
|
24044
24044
|
`));
|
|
24045
24045
|
} else {
|
|
24046
|
-
let T = O.props, D = T == null ? void 0 : T.className, M = typeof D == "function" ? (...
|
|
24047
|
-
for (let
|
|
24046
|
+
let T = O.props, D = T == null ? void 0 : T.className, M = typeof D == "function" ? (...ne) => ew(D(...ne), E.className) : ew(D, E.className), H = M ? { className: M } : {}, W = d7(O.props, Oc(q2(E, ["ref"])));
|
|
24047
|
+
for (let ne in R) ne in W && delete R[ne];
|
|
24048
24048
|
return bI(O, Object.assign({}, W, R, I, { ref: h(TS(O), I.ref) }, H));
|
|
24049
24049
|
}
|
|
24050
24050
|
return AI(y, Object.assign({}, q2(E, ["ref"]), y !== xg && I, y !== xg && R), O);
|
|
@@ -24278,15 +24278,15 @@ function eP(o, l) {
|
|
|
24278
24278
|
let d = Wf(), h = b7(), y = dv(), g = gu(), { id: x = `headlessui-label-${d}`, htmlFor: E = y ?? ((u = h.props) == null ? void 0 : u.htmlFor), passive: I = !1, ...O } = o, R = fv(l);
|
|
24279
24279
|
DA(() => h.register(x), [x, h.register]);
|
|
24280
24280
|
let T = Ai((W) => {
|
|
24281
|
-
let
|
|
24282
|
-
if (
|
|
24283
|
-
let
|
|
24284
|
-
if (
|
|
24285
|
-
let le =
|
|
24281
|
+
let ne = W.currentTarget;
|
|
24282
|
+
if (ne instanceof HTMLLabelElement && W.preventDefault(), h.props && "onClick" in h.props && typeof h.props.onClick == "function" && h.props.onClick(W), ne instanceof HTMLLabelElement) {
|
|
24283
|
+
let X = document.getElementById(ne.htmlFor);
|
|
24284
|
+
if (X) {
|
|
24285
|
+
let le = X.getAttribute("disabled");
|
|
24286
24286
|
if (le === "true" || le === "") return;
|
|
24287
|
-
let ue =
|
|
24287
|
+
let ue = X.getAttribute("aria-disabled");
|
|
24288
24288
|
if (ue === "true" || ue === "") return;
|
|
24289
|
-
(
|
|
24289
|
+
(X instanceof HTMLInputElement && (X.type === "radio" || X.type === "checkbox") || X.role === "radio" || X.role === "checkbox" || X.role === "switch") && X.click(), X.focus({ preventScroll: !0 });
|
|
24290
24290
|
}
|
|
24291
24291
|
}
|
|
24292
24292
|
}), D = g || !1, M = zr(() => ({ ...h.slot, disabled: D }), [h.slot, D]), H = { ref: R, ...h.props, id: x, htmlFor: E, onClick: T };
|
|
@@ -24581,13 +24581,13 @@ const pP = async (o, l, u) => {
|
|
|
24581
24581
|
for (let H = 0; H < x.length; H++) {
|
|
24582
24582
|
const {
|
|
24583
24583
|
name: W,
|
|
24584
|
-
fn:
|
|
24584
|
+
fn: ne
|
|
24585
24585
|
} = x[H], {
|
|
24586
|
-
x:
|
|
24586
|
+
x: X,
|
|
24587
24587
|
y: le,
|
|
24588
24588
|
data: ue,
|
|
24589
24589
|
reset: ce
|
|
24590
|
-
} = await
|
|
24590
|
+
} = await ne({
|
|
24591
24591
|
x: O,
|
|
24592
24592
|
y: R,
|
|
24593
24593
|
initialPlacement: d,
|
|
@@ -24601,7 +24601,7 @@ const pP = async (o, l, u) => {
|
|
|
24601
24601
|
floating: l
|
|
24602
24602
|
}
|
|
24603
24603
|
});
|
|
24604
|
-
O =
|
|
24604
|
+
O = X ?? O, R = le ?? R, D = {
|
|
24605
24605
|
...D,
|
|
24606
24606
|
[W]: {
|
|
24607
24607
|
...D[W],
|
|
@@ -24645,12 +24645,12 @@ async function Pg(o, l) {
|
|
|
24645
24645
|
boundary: I,
|
|
24646
24646
|
rootBoundary: O,
|
|
24647
24647
|
strategy: E
|
|
24648
|
-
})),
|
|
24648
|
+
})), ne = R === "floating" ? {
|
|
24649
24649
|
x: d,
|
|
24650
24650
|
y: h,
|
|
24651
24651
|
width: g.floating.width,
|
|
24652
24652
|
height: g.floating.height
|
|
24653
|
-
} : g.reference,
|
|
24653
|
+
} : g.reference, X = await (y.getOffsetParent == null ? void 0 : y.getOffsetParent(x.floating)), le = await (y.isElement == null ? void 0 : y.isElement(X)) ? await (y.getScale == null ? void 0 : y.getScale(X)) || {
|
|
24654
24654
|
x: 1,
|
|
24655
24655
|
y: 1
|
|
24656
24656
|
} : {
|
|
@@ -24658,10 +24658,10 @@ async function Pg(o, l) {
|
|
|
24658
24658
|
y: 1
|
|
24659
24659
|
}, ue = av(y.convertOffsetParentRelativeRectToViewportRelativeRect ? await y.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
24660
24660
|
elements: x,
|
|
24661
|
-
rect:
|
|
24662
|
-
offsetParent:
|
|
24661
|
+
rect: ne,
|
|
24662
|
+
offsetParent: X,
|
|
24663
24663
|
strategy: E
|
|
24664
|
-
}) :
|
|
24664
|
+
}) : ne);
|
|
24665
24665
|
return {
|
|
24666
24666
|
top: (W.top - ue.top + M.top) / le.y,
|
|
24667
24667
|
bottom: (ue.bottom - W.bottom + M.bottom) / le.y,
|
|
@@ -24690,10 +24690,10 @@ const hP = (o) => ({
|
|
|
24690
24690
|
const R = C7(O), T = {
|
|
24691
24691
|
x: u,
|
|
24692
24692
|
y: d
|
|
24693
|
-
}, D = HA(h), M = FA(D), H = await g.getDimensions(I), W = D === "y",
|
|
24694
|
-
let re =
|
|
24695
|
-
(!re || !await (g.isElement == null ? void 0 : g.isElement(
|
|
24696
|
-
const Qe = ue / 2 - ce / 2, Ye = re / 2 - H[M] / 2 - 1, _e = cu(R[
|
|
24693
|
+
}, D = HA(h), M = FA(D), H = await g.getDimensions(I), W = D === "y", ne = W ? "top" : "left", X = W ? "bottom" : "right", le = W ? "clientHeight" : "clientWidth", ue = y.reference[M] + y.reference[D] - T[D] - y.floating[M], ce = T[D] - y.reference[D], te = await (g.getOffsetParent == null ? void 0 : g.getOffsetParent(I));
|
|
24694
|
+
let re = te ? te[le] : 0;
|
|
24695
|
+
(!re || !await (g.isElement == null ? void 0 : g.isElement(te))) && (re = x.floating[le] || y.floating[M]);
|
|
24696
|
+
const Qe = ue / 2 - ce / 2, Ye = re / 2 - H[M] / 2 - 1, _e = cu(R[ne], Ye), We = cu(R[X], Ye), Je = _e, Pe = re - H[M] - We, Le = re / 2 - H[M] / 2 + Qe, at = vA(Je, Le, Pe), ke = !E.arrow && _f(h) != null && Le !== at && y.reference[M] / 2 - (Le < Je ? _e : We) - H[M] / 2 < 0, At = ke ? Le < Je ? Le - Je : Le - Pe : 0;
|
|
24697
24697
|
return {
|
|
24698
24698
|
[D]: T[D] + At,
|
|
24699
24699
|
data: {
|
|
@@ -24730,11 +24730,11 @@ const hP = (o) => ({
|
|
|
24730
24730
|
} = hs(o, l);
|
|
24731
24731
|
if ((u = y.arrow) != null && u.alignmentOffset)
|
|
24732
24732
|
return {};
|
|
24733
|
-
const
|
|
24734
|
-
!T &&
|
|
24733
|
+
const ne = gs(h), X = du(x), le = gs(x) === x, ue = await (E.isRTL == null ? void 0 : E.isRTL(I.floating)), ce = T || (le || !H ? [rv(x)] : uP(x)), te = M !== "none";
|
|
24734
|
+
!T && te && ce.push(...dP(x, H, M, ue));
|
|
24735
24735
|
const re = [x, ...ce], Qe = await Pg(l, W), Ye = [];
|
|
24736
24736
|
let _e = ((d = y.flip) == null ? void 0 : d.overflows) || [];
|
|
24737
|
-
if (O && Ye.push(Qe[
|
|
24737
|
+
if (O && Ye.push(Qe[ne]), R) {
|
|
24738
24738
|
const Le = sP(h, g, ue);
|
|
24739
24739
|
Ye.push(Qe[Le[0]], Qe[Le[1]]);
|
|
24740
24740
|
}
|
|
@@ -24760,9 +24760,9 @@ const hP = (o) => ({
|
|
|
24760
24760
|
case "bestFit": {
|
|
24761
24761
|
var Pe;
|
|
24762
24762
|
const At = (Pe = _e.filter((ae) => {
|
|
24763
|
-
if (
|
|
24763
|
+
if (te) {
|
|
24764
24764
|
const ve = du(ae.placement);
|
|
24765
|
-
return ve ===
|
|
24765
|
+
return ve === X || // Create a bias to the `y` side axis due to horizontal
|
|
24766
24766
|
// reading directions favoring greater width.
|
|
24767
24767
|
ve === "y";
|
|
24768
24768
|
}
|
|
@@ -24903,12 +24903,12 @@ const yP = function(o) {
|
|
|
24903
24903
|
limiter: x = {
|
|
24904
24904
|
fn: (W) => {
|
|
24905
24905
|
let {
|
|
24906
|
-
x:
|
|
24907
|
-
y:
|
|
24906
|
+
x: ne,
|
|
24907
|
+
y: X
|
|
24908
24908
|
} = W;
|
|
24909
24909
|
return {
|
|
24910
|
-
x:
|
|
24911
|
-
y:
|
|
24910
|
+
x: ne,
|
|
24911
|
+
y: X
|
|
24912
24912
|
};
|
|
24913
24913
|
}
|
|
24914
24914
|
},
|
|
@@ -24919,12 +24919,12 @@ const yP = function(o) {
|
|
|
24919
24919
|
}, O = await Pg(l, E), R = du(gs(h)), T = zA(R);
|
|
24920
24920
|
let D = I[T], M = I[R];
|
|
24921
24921
|
if (y) {
|
|
24922
|
-
const W = T === "y" ? "top" : "left",
|
|
24923
|
-
D = vA(
|
|
24922
|
+
const W = T === "y" ? "top" : "left", ne = T === "y" ? "bottom" : "right", X = D + O[W], le = D - O[ne];
|
|
24923
|
+
D = vA(X, D, le);
|
|
24924
24924
|
}
|
|
24925
24925
|
if (g) {
|
|
24926
|
-
const W = R === "y" ? "top" : "left",
|
|
24927
|
-
M = vA(
|
|
24926
|
+
const W = R === "y" ? "top" : "left", ne = R === "y" ? "bottom" : "right", X = M + O[W], le = M - O[ne];
|
|
24927
|
+
M = vA(X, M, le);
|
|
24928
24928
|
}
|
|
24929
24929
|
const H = x.fn({
|
|
24930
24930
|
...l,
|
|
@@ -24976,9 +24976,9 @@ const yP = function(o) {
|
|
|
24976
24976
|
D < ue ? D = ue : D > ce && (D = ce);
|
|
24977
24977
|
}
|
|
24978
24978
|
if (I) {
|
|
24979
|
-
var
|
|
24980
|
-
const le = T === "y" ? "width" : "height", ue = ["top", "left"].includes(gs(h)), ce = y.reference[R] - y.floating[le] + (ue && ((
|
|
24981
|
-
M < ce ? M = ce : M >
|
|
24979
|
+
var ne, X;
|
|
24980
|
+
const le = T === "y" ? "width" : "height", ue = ["top", "left"].includes(gs(h)), ce = y.reference[R] - y.floating[le] + (ue && ((ne = g.offset) == null ? void 0 : ne[R]) || 0) + (ue ? 0 : W.crossAxis), te = y.reference[R] + y.reference[le] + (ue ? 0 : ((X = g.offset) == null ? void 0 : X[R]) || 0) - (ue ? W.crossAxis : 0);
|
|
24981
|
+
M < ce ? M = ce : M > te && (M = te);
|
|
24982
24982
|
}
|
|
24983
24983
|
return {
|
|
24984
24984
|
[T]: D,
|
|
@@ -25005,11 +25005,11 @@ const yP = function(o) {
|
|
|
25005
25005
|
width: M,
|
|
25006
25006
|
height: H
|
|
25007
25007
|
} = y.floating;
|
|
25008
|
-
let W,
|
|
25009
|
-
R === "top" || R === "bottom" ? (W = R,
|
|
25010
|
-
const
|
|
25008
|
+
let W, ne;
|
|
25009
|
+
R === "top" || R === "bottom" ? (W = R, ne = T === (await (g.isRTL == null ? void 0 : g.isRTL(x.floating)) ? "start" : "end") ? "left" : "right") : (ne = R, W = T === "end" ? "top" : "bottom");
|
|
25010
|
+
const X = H - O.top - O.bottom, le = M - O.left - O.right, ue = cu(H - O[W], X), ce = cu(M - O[ne], le), te = !l.middlewareData.shift;
|
|
25011
25011
|
let re = ue, Qe = ce;
|
|
25012
|
-
if ((u = l.middlewareData.shift) != null && u.enabled.x && (Qe = le), (d = l.middlewareData.shift) != null && d.enabled.y && (re =
|
|
25012
|
+
if ((u = l.middlewareData.shift) != null && u.enabled.x && (Qe = le), (d = l.middlewareData.shift) != null && d.enabled.y && (re = X), te && !T) {
|
|
25013
25013
|
const _e = go(O.left, 0), We = go(O.right, 0), Je = go(O.top, 0), Pe = go(O.bottom, 0);
|
|
25014
25014
|
D ? Qe = M - 2 * (_e !== 0 || We !== 0 ? _e + We : go(O.left, O.right)) : re = H - 2 * (Je !== 0 || Pe !== 0 ? Je + Pe : go(O.top, O.bottom));
|
|
25015
25015
|
}
|
|
@@ -25077,7 +25077,7 @@ function jc(o, l, u, d) {
|
|
|
25077
25077
|
const T = mo(y), D = d && Ei(d) ? mo(d) : d;
|
|
25078
25078
|
let M = T, H = mA(M);
|
|
25079
25079
|
for (; H && d && D !== M; ) {
|
|
25080
|
-
const W = Uf(H),
|
|
25080
|
+
const W = Uf(H), ne = H.getBoundingClientRect(), X = wi(H), le = ne.left + (H.clientLeft + parseFloat(X.paddingLeft)) * W.x, ue = ne.top + (H.clientTop + parseFloat(X.paddingTop)) * W.y;
|
|
25081
25081
|
E *= W.x, I *= W.y, O *= W.x, R *= W.y, E += le, I += ue, M = mo(H), H = mA(M);
|
|
25082
25082
|
}
|
|
25083
25083
|
}
|
|
@@ -25328,30 +25328,30 @@ function BP(o, l) {
|
|
|
25328
25328
|
} = I;
|
|
25329
25329
|
if (x || l(), !T || !D)
|
|
25330
25330
|
return;
|
|
25331
|
-
const M = J0(R), H = J0(h.clientWidth - (O + T)), W = J0(h.clientHeight - (R + D)),
|
|
25332
|
-
rootMargin: -M + "px " + -H + "px " + -W + "px " + -
|
|
25331
|
+
const M = J0(R), H = J0(h.clientWidth - (O + T)), W = J0(h.clientHeight - (R + D)), ne = J0(O), X = {
|
|
25332
|
+
rootMargin: -M + "px " + -H + "px " + -W + "px " + -ne + "px",
|
|
25333
25333
|
threshold: go(0, cu(1, E)) || 1
|
|
25334
25334
|
};
|
|
25335
25335
|
let le = !0;
|
|
25336
25336
|
function ue(ce) {
|
|
25337
|
-
const
|
|
25338
|
-
if (
|
|
25337
|
+
const te = ce[0].intersectionRatio;
|
|
25338
|
+
if (te !== E) {
|
|
25339
25339
|
if (!le)
|
|
25340
25340
|
return g();
|
|
25341
|
-
|
|
25341
|
+
te ? g(!1, te) : d = setTimeout(() => {
|
|
25342
25342
|
g(!1, 1e-7);
|
|
25343
25343
|
}, 1e3);
|
|
25344
25344
|
}
|
|
25345
|
-
|
|
25345
|
+
te === 1 && !P7(I, o.getBoundingClientRect()) && g(), le = !1;
|
|
25346
25346
|
}
|
|
25347
25347
|
try {
|
|
25348
25348
|
u = new IntersectionObserver(ue, {
|
|
25349
|
-
...
|
|
25349
|
+
...X,
|
|
25350
25350
|
// Handle <iframe>s
|
|
25351
25351
|
root: h.ownerDocument
|
|
25352
25352
|
});
|
|
25353
25353
|
} catch {
|
|
25354
|
-
u = new IntersectionObserver(ue,
|
|
25354
|
+
u = new IntersectionObserver(ue, X);
|
|
25355
25355
|
}
|
|
25356
25356
|
u.observe(o);
|
|
25357
25357
|
}
|
|
@@ -25366,16 +25366,16 @@ function MP(o, l, u, d) {
|
|
|
25366
25366
|
layoutShift: x = typeof IntersectionObserver == "function",
|
|
25367
25367
|
animationFrame: E = !1
|
|
25368
25368
|
} = d, I = UA(o), O = h || y ? [...I ? Sg(I) : [], ...Sg(l)] : [];
|
|
25369
|
-
O.forEach((
|
|
25370
|
-
h &&
|
|
25369
|
+
O.forEach((ne) => {
|
|
25370
|
+
h && ne.addEventListener("scroll", u, {
|
|
25371
25371
|
passive: !0
|
|
25372
|
-
}), y &&
|
|
25372
|
+
}), y && ne.addEventListener("resize", u);
|
|
25373
25373
|
});
|
|
25374
25374
|
const R = I && x ? BP(I, u) : null;
|
|
25375
25375
|
let T = -1, D = null;
|
|
25376
|
-
g && (D = new ResizeObserver((
|
|
25377
|
-
let [
|
|
25378
|
-
|
|
25376
|
+
g && (D = new ResizeObserver((ne) => {
|
|
25377
|
+
let [X] = ne;
|
|
25378
|
+
X && X.target === I && D && (D.unobserve(l), cancelAnimationFrame(T), T = requestAnimationFrame(() => {
|
|
25379
25379
|
var le;
|
|
25380
25380
|
(le = D) == null || le.observe(l);
|
|
25381
25381
|
})), u();
|
|
@@ -25383,14 +25383,14 @@ function MP(o, l, u, d) {
|
|
|
25383
25383
|
let M, H = E ? jc(o) : null;
|
|
25384
25384
|
E && W();
|
|
25385
25385
|
function W() {
|
|
25386
|
-
const
|
|
25387
|
-
H && !P7(H,
|
|
25386
|
+
const ne = jc(o);
|
|
25387
|
+
H && !P7(H, ne) && u(), H = ne, M = requestAnimationFrame(W);
|
|
25388
25388
|
}
|
|
25389
25389
|
return u(), () => {
|
|
25390
|
-
var
|
|
25391
|
-
O.forEach((
|
|
25392
|
-
h &&
|
|
25393
|
-
}), R == null || R(), (
|
|
25390
|
+
var ne;
|
|
25391
|
+
O.forEach((X) => {
|
|
25392
|
+
h && X.removeEventListener("scroll", u), y && X.removeEventListener("resize", u);
|
|
25393
|
+
}), R == null || R(), (ne = D) == null || ne.disconnect(), D = null, E && cancelAnimationFrame(M);
|
|
25394
25394
|
};
|
|
25395
25395
|
}
|
|
25396
25396
|
const QP = yP, zP = bP, FP = gP, HP = EP, UP = mP, lw = hP, YP = AP, JP = (o, l, u) => {
|
|
@@ -25473,19 +25473,19 @@ function VP(o) {
|
|
|
25473
25473
|
isPositioned: !1
|
|
25474
25474
|
}), [T, D] = P.useState(d);
|
|
25475
25475
|
ov(T, d) || D(d);
|
|
25476
|
-
const [M, H] = P.useState(null), [W,
|
|
25477
|
-
ae !==
|
|
25476
|
+
const [M, H] = P.useState(null), [W, ne] = P.useState(null), X = P.useCallback((ae) => {
|
|
25477
|
+
ae !== te.current && (te.current = ae, H(ae));
|
|
25478
25478
|
}, []), le = P.useCallback((ae) => {
|
|
25479
|
-
ae !== re.current && (re.current = ae,
|
|
25480
|
-
}, []), ue = y || M, ce = g || W,
|
|
25481
|
-
if (!
|
|
25479
|
+
ae !== re.current && (re.current = ae, ne(ae));
|
|
25480
|
+
}, []), ue = y || M, ce = g || W, te = P.useRef(null), re = P.useRef(null), Qe = P.useRef(O), Ye = E != null, _e = $2(E), We = $2(h), Je = $2(I), Pe = P.useCallback(() => {
|
|
25481
|
+
if (!te.current || !re.current)
|
|
25482
25482
|
return;
|
|
25483
25483
|
const ae = {
|
|
25484
25484
|
placement: l,
|
|
25485
25485
|
strategy: u,
|
|
25486
25486
|
middleware: T
|
|
25487
25487
|
};
|
|
25488
|
-
We.current && (ae.platform = We.current), JP(
|
|
25488
|
+
We.current && (ae.platform = We.current), JP(te.current, re.current, ae).then((ve) => {
|
|
25489
25489
|
const be = {
|
|
25490
25490
|
...ve,
|
|
25491
25491
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -25509,18 +25509,18 @@ function VP(o) {
|
|
|
25509
25509
|
W0(() => (Le.current = !0, () => {
|
|
25510
25510
|
Le.current = !1;
|
|
25511
25511
|
}), []), W0(() => {
|
|
25512
|
-
if (ue && (
|
|
25512
|
+
if (ue && (te.current = ue), ce && (re.current = ce), ue && ce) {
|
|
25513
25513
|
if (_e.current)
|
|
25514
25514
|
return _e.current(ue, ce, Pe);
|
|
25515
25515
|
Pe();
|
|
25516
25516
|
}
|
|
25517
25517
|
}, [ue, ce, Pe, _e, Ye]);
|
|
25518
25518
|
const at = P.useMemo(() => ({
|
|
25519
|
-
reference:
|
|
25519
|
+
reference: te,
|
|
25520
25520
|
floating: re,
|
|
25521
|
-
setReference:
|
|
25521
|
+
setReference: X,
|
|
25522
25522
|
setFloating: le
|
|
25523
|
-
}), [
|
|
25523
|
+
}), [X, le]), ke = P.useMemo(() => ({
|
|
25524
25524
|
reference: ue,
|
|
25525
25525
|
floating: ce
|
|
25526
25526
|
}), [ue, ce]), At = P.useMemo(() => {
|
|
@@ -25621,8 +25621,8 @@ function iO(o, l) {
|
|
|
25621
25621
|
xi(iO);
|
|
25622
25622
|
let lO = "input";
|
|
25623
25623
|
function sO(o, l) {
|
|
25624
|
-
let u = Wf(), d = dv(), h = gu(), { id: y = d || `headlessui-input-${u}`, disabled: g = h || !1, autoFocus: x = !1, invalid: E = !1, ...I } = o, O = gv(), R = jA(), { isFocused: T, focusProps: D } = Dg({ autoFocus: x }), { isHovered: M, hoverProps: H } = Tg({ isDisabled: g }), W = Ng({ ref: l, id: y, "aria-labelledby": O, "aria-describedby": R, "aria-invalid": E ? "" : void 0, disabled: g || void 0, autoFocus: x }, D, H),
|
|
25625
|
-
return Ci()({ ourProps: W, theirProps: I, slot:
|
|
25624
|
+
let u = Wf(), d = dv(), h = gu(), { id: y = d || `headlessui-input-${u}`, disabled: g = h || !1, autoFocus: x = !1, invalid: E = !1, ...I } = o, O = gv(), R = jA(), { isFocused: T, focusProps: D } = Dg({ autoFocus: x }), { isHovered: M, hoverProps: H } = Tg({ isDisabled: g }), W = Ng({ ref: l, id: y, "aria-labelledby": O, "aria-describedby": R, "aria-invalid": E ? "" : void 0, disabled: g || void 0, autoFocus: x }, D, H), ne = zr(() => ({ disabled: g, invalid: E, hover: M, focus: T, autofocus: x }), [g, E, M, T, x]);
|
|
25625
|
+
return Ci()({ ourProps: W, theirProps: I, slot: ne, defaultTag: lO, name: "Input" });
|
|
25626
25626
|
}
|
|
25627
25627
|
let uO = xi(sO);
|
|
25628
25628
|
function cO(o, l) {
|
|
@@ -25631,8 +25631,8 @@ function cO(o, l) {
|
|
|
25631
25631
|
xi(cO);
|
|
25632
25632
|
let dO = "select";
|
|
25633
25633
|
function fO(o, l) {
|
|
25634
|
-
let u = Wf(), d = dv(), h = gu(), { id: y = d || `headlessui-select-${u}`, disabled: g = h || !1, invalid: x = !1, autoFocus: E = !1, ...I } = o, O = gv(), R = jA(), { isFocusVisible: T, focusProps: D } = Dg({ autoFocus: E }), { isHovered: M, hoverProps: H } = Tg({ isDisabled: g }), { pressed: W, pressProps:
|
|
25635
|
-
return Ci()({ ourProps:
|
|
25634
|
+
let u = Wf(), d = dv(), h = gu(), { id: y = d || `headlessui-select-${u}`, disabled: g = h || !1, invalid: x = !1, autoFocus: E = !1, ...I } = o, O = gv(), R = jA(), { isFocusVisible: T, focusProps: D } = Dg({ autoFocus: E }), { isHovered: M, hoverProps: H } = Tg({ isDisabled: g }), { pressed: W, pressProps: ne } = uv({ disabled: g }), X = Ng({ ref: l, id: y, "aria-labelledby": O, "aria-describedby": R, "aria-invalid": x ? "" : void 0, disabled: g || void 0, autoFocus: E }, D, H, ne), le = zr(() => ({ disabled: g, invalid: x, hover: M, focus: T, active: W, autofocus: E }), [g, x, M, T, W, E]);
|
|
25635
|
+
return Ci()({ ourProps: X, theirProps: I, slot: le, defaultTag: dO, name: "Select" });
|
|
25636
25636
|
}
|
|
25637
25637
|
let pO = xi(fO), JA = Bc(null);
|
|
25638
25638
|
JA.displayName = "GroupContext";
|
|
@@ -25647,8 +25647,8 @@ function gO(o) {
|
|
|
25647
25647
|
let mO = "button";
|
|
25648
25648
|
function vO(o, l) {
|
|
25649
25649
|
var u;
|
|
25650
|
-
let d = Wf(), h = dv(), y = gu(), { id: g = h || `headlessui-switch-${d}`, disabled: x = y || !1, checked: E, defaultChecked: I, onChange: O, name: R, value: T, form: D, autoFocus: M = !1, ...H } = o, W = ms(JA), [
|
|
25651
|
-
_e(!0), re == null || re(!
|
|
25650
|
+
let d = Wf(), h = dv(), y = gu(), { id: g = h || `headlessui-switch-${d}`, disabled: x = y || !1, checked: E, defaultChecked: I, onChange: O, name: R, value: T, form: D, autoFocus: M = !1, ...H } = o, W = ms(JA), [ne, X] = In(null), le = Ga(null), ue = fv(le, l, W === null ? null : W.setSwitch, X), ce = MS(I), [te, re] = BS(E, O, ce ?? !1), Qe = TA(), [Ye, _e] = In(!1), We = Ai(() => {
|
|
25651
|
+
_e(!0), re == null || re(!te), Qe.nextFrame(() => {
|
|
25652
25652
|
_e(!1);
|
|
25653
25653
|
});
|
|
25654
25654
|
}), Je = Ai((mt) => {
|
|
@@ -25656,10 +25656,10 @@ function vO(o, l) {
|
|
|
25656
25656
|
mt.preventDefault(), We();
|
|
25657
25657
|
}), Pe = Ai((mt) => {
|
|
25658
25658
|
mt.key === gA.Space ? (mt.preventDefault(), We()) : mt.key === gA.Enter && QS(mt.currentTarget);
|
|
25659
|
-
}), Le = Ai((mt) => mt.preventDefault()), at = gv(), ke = jA(), { isFocusVisible: At, focusProps: ae } = Dg({ autoFocus: M }), { isHovered: ve, hoverProps: be } = Tg({ isDisabled: x }), { pressed: ct, pressProps: bt } = uv({ disabled: x }), Zt = zr(() => ({ checked:
|
|
25659
|
+
}), Le = Ai((mt) => mt.preventDefault()), at = gv(), ke = jA(), { isFocusVisible: At, focusProps: ae } = Dg({ autoFocus: M }), { isHovered: ve, hoverProps: be } = Tg({ isDisabled: x }), { pressed: ct, pressProps: bt } = uv({ disabled: x }), Zt = zr(() => ({ checked: te, disabled: x, hover: ve, focus: At, active: ct, autofocus: M, changing: Ye }), [te, ve, At, ct, x, Ye, M]), Pt = Ng({ id: g, ref: ue, role: "switch", type: nP(o, ne), tabIndex: o.tabIndex === -1 ? 0 : (u = o.tabIndex) != null ? u : 0, "aria-checked": te, "aria-labelledby": at, "aria-describedby": ke, disabled: x || void 0, autoFocus: M, onClick: Je, onKeyUp: Pe, onKeyPress: Le }, ae, be, bt), mn = xa(() => {
|
|
25660
25660
|
if (ce !== void 0) return re == null ? void 0 : re(ce);
|
|
25661
25661
|
}, [re, ce]), Mt = Ci();
|
|
25662
|
-
return wt.createElement(wt.Fragment, null, R != null && wt.createElement(YS, { disabled: x, data: { [R]: T || "on" }, overrides: { type: "checkbox", checked:
|
|
25662
|
+
return wt.createElement(wt.Fragment, null, R != null && wt.createElement(YS, { disabled: x, data: { [R]: T || "on" }, overrides: { type: "checkbox", checked: te }, form: D, onReset: mn }), Mt({ ourProps: Pt, theirProps: H, slot: Zt, defaultTag: mO, name: "Switch" }));
|
|
25663
25663
|
}
|
|
25664
25664
|
let yO = xi(vO), bO = gO, AO = A7, EO = _S, wO = Object.assign(yO, { Group: bO, Label: AO, Description: EO });
|
|
25665
25665
|
const L7 = wt.forwardRef(function(o, l) {
|
|
@@ -25989,25 +25989,25 @@ const GA = "-", QO = (o) => {
|
|
|
25989
25989
|
E = O + (E.length > 0 ? " " + E : E);
|
|
25990
25990
|
continue;
|
|
25991
25991
|
}
|
|
25992
|
-
let W = !!H,
|
|
25993
|
-
if (!
|
|
25992
|
+
let W = !!H, ne = d(W ? M.substring(0, H) : M);
|
|
25993
|
+
if (!ne) {
|
|
25994
25994
|
if (!W) {
|
|
25995
25995
|
E = O + (E.length > 0 ? " " + E : E);
|
|
25996
25996
|
continue;
|
|
25997
25997
|
}
|
|
25998
|
-
if (
|
|
25998
|
+
if (ne = d(M), !ne) {
|
|
25999
25999
|
E = O + (E.length > 0 ? " " + E : E);
|
|
26000
26000
|
continue;
|
|
26001
26001
|
}
|
|
26002
26002
|
W = !1;
|
|
26003
26003
|
}
|
|
26004
|
-
const
|
|
26004
|
+
const X = y(T).join(":"), le = D ? X + AA : X, ue = le + ne;
|
|
26005
26005
|
if (g.includes(ue))
|
|
26006
26006
|
continue;
|
|
26007
26007
|
g.push(ue);
|
|
26008
|
-
const ce = h(
|
|
26009
|
-
for (let
|
|
26010
|
-
const re = ce[
|
|
26008
|
+
const ce = h(ne, W);
|
|
26009
|
+
for (let te = 0; te < ce.length; ++te) {
|
|
26010
|
+
const re = ce[te];
|
|
26011
26011
|
g.push(le + re);
|
|
26012
26012
|
}
|
|
26013
26013
|
E = O + (E.length > 0 ? " " + E : E);
|
|
@@ -26060,9 +26060,9 @@ const Ir = (o) => {
|
|
|
26060
26060
|
const d = M7.exec(o);
|
|
26061
26061
|
return d ? d[1] ? l(d[1]) : u : !1;
|
|
26062
26062
|
}, Q7 = (o) => o === "position", yL = /* @__PURE__ */ new Set(["image", "url"]), z7 = (o) => yL.has(o), bL = /* @__PURE__ */ new Set(["length", "size", "percentage"]), F7 = (o) => bL.has(o), H7 = (o) => o === "length", AL = (o) => o === "number", EL = (o) => o === "family-name", wL = (o) => o === "shadow", CL = () => {
|
|
26063
|
-
const o = Ir("color"), l = Ir("font"), u = Ir("text"), d = Ir("font-weight"), h = Ir("tracking"), y = Ir("leading"), g = Ir("breakpoint"), x = Ir("container"), E = Ir("spacing"), I = Ir("radius"), O = Ir("shadow"), R = Ir("inset-shadow"), T = Ir("drop-shadow"), D = Ir("blur"), M = Ir("perspective"), H = Ir("aspect"), W = Ir("ease"),
|
|
26063
|
+
const o = Ir("color"), l = Ir("font"), u = Ir("text"), d = Ir("font-weight"), h = Ir("tracking"), y = Ir("leading"), g = Ir("breakpoint"), x = Ir("container"), E = Ir("spacing"), I = Ir("radius"), O = Ir("shadow"), R = Ir("inset-shadow"), T = Ir("drop-shadow"), D = Ir("blur"), M = Ir("perspective"), H = Ir("aspect"), W = Ir("ease"), ne = Ir("animate"), X = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], le = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], ue = () => ["auto", "hidden", "clip", "visible", "scroll"], ce = () => ["auto", "contain", "none"], te = () => [Ue, He, E], re = () => [Ff, "full", "auto", ...te()], Qe = () => [Sc, "none", "subgrid", Ue, He], Ye = () => ["auto", {
|
|
26064
26064
|
span: ["full", Sc, Ue, He]
|
|
26065
|
-
}, Ue, He], _e = () => [Sc, "auto", Ue, He], We = () => ["auto", "min", "max", "fr", Ue, He], Je = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], Pe = () => ["start", "end", "center", "stretch"], Le = () => ["auto", ...
|
|
26065
|
+
}, Ue, He], _e = () => [Sc, "auto", Ue, He], We = () => ["auto", "min", "max", "fr", Ue, He], Je = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], Pe = () => ["start", "end", "center", "stretch"], Le = () => ["auto", ...te()], at = () => [Ff, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...te()], ke = () => [o, Ue, He], At = () => [pw, Pc], ae = () => [
|
|
26066
26066
|
// Deprecated since Tailwind CSS v4.0.0
|
|
26067
26067
|
"",
|
|
26068
26068
|
"none",
|
|
@@ -26077,7 +26077,7 @@ const Ir = (o) => {
|
|
|
26077
26077
|
D,
|
|
26078
26078
|
Ue,
|
|
26079
26079
|
He
|
|
26080
|
-
], Zt = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", Ue, He], Pt = () => ["none", Rt, Ue, He], mn = () => ["none", Rt, Ue, He], Mt = () => [Rt, Ue, He], mt = () => [Ff, "full", ...
|
|
26080
|
+
], Zt = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", Ue, He], Pt = () => ["none", Rt, Ue, He], mn = () => ["none", Rt, Ue, He], Mt = () => [Rt, Ue, He], mt = () => [Ff, "full", ...te()];
|
|
26081
26081
|
return {
|
|
26082
26082
|
cacheSize: 500,
|
|
26083
26083
|
theme: {
|
|
@@ -26129,14 +26129,14 @@ const Ir = (o) => {
|
|
|
26129
26129
|
* @see https://tailwindcss.com/docs/break-after
|
|
26130
26130
|
*/
|
|
26131
26131
|
"break-after": [{
|
|
26132
|
-
"break-after":
|
|
26132
|
+
"break-after": X()
|
|
26133
26133
|
}],
|
|
26134
26134
|
/**
|
|
26135
26135
|
* Break Before
|
|
26136
26136
|
* @see https://tailwindcss.com/docs/break-before
|
|
26137
26137
|
*/
|
|
26138
26138
|
"break-before": [{
|
|
26139
|
-
"break-before":
|
|
26139
|
+
"break-before": X()
|
|
26140
26140
|
}],
|
|
26141
26141
|
/**
|
|
26142
26142
|
* Break Inside
|
|
@@ -26332,7 +26332,7 @@ const Ir = (o) => {
|
|
|
26332
26332
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
26333
26333
|
*/
|
|
26334
26334
|
basis: [{
|
|
26335
|
-
basis: [Ff, "full", "auto", x, ...
|
|
26335
|
+
basis: [Ff, "full", "auto", x, ...te()]
|
|
26336
26336
|
}],
|
|
26337
26337
|
/**
|
|
26338
26338
|
* Flex Direction
|
|
@@ -26458,21 +26458,21 @@ const Ir = (o) => {
|
|
|
26458
26458
|
* @see https://tailwindcss.com/docs/gap
|
|
26459
26459
|
*/
|
|
26460
26460
|
gap: [{
|
|
26461
|
-
gap:
|
|
26461
|
+
gap: te()
|
|
26462
26462
|
}],
|
|
26463
26463
|
/**
|
|
26464
26464
|
* Gap X
|
|
26465
26465
|
* @see https://tailwindcss.com/docs/gap
|
|
26466
26466
|
*/
|
|
26467
26467
|
"gap-x": [{
|
|
26468
|
-
"gap-x":
|
|
26468
|
+
"gap-x": te()
|
|
26469
26469
|
}],
|
|
26470
26470
|
/**
|
|
26471
26471
|
* Gap Y
|
|
26472
26472
|
* @see https://tailwindcss.com/docs/gap
|
|
26473
26473
|
*/
|
|
26474
26474
|
"gap-y": [{
|
|
26475
|
-
"gap-y":
|
|
26475
|
+
"gap-y": te()
|
|
26476
26476
|
}],
|
|
26477
26477
|
/**
|
|
26478
26478
|
* Justify Content
|
|
@@ -26543,63 +26543,63 @@ const Ir = (o) => {
|
|
|
26543
26543
|
* @see https://tailwindcss.com/docs/padding
|
|
26544
26544
|
*/
|
|
26545
26545
|
p: [{
|
|
26546
|
-
p:
|
|
26546
|
+
p: te()
|
|
26547
26547
|
}],
|
|
26548
26548
|
/**
|
|
26549
26549
|
* Padding X
|
|
26550
26550
|
* @see https://tailwindcss.com/docs/padding
|
|
26551
26551
|
*/
|
|
26552
26552
|
px: [{
|
|
26553
|
-
px:
|
|
26553
|
+
px: te()
|
|
26554
26554
|
}],
|
|
26555
26555
|
/**
|
|
26556
26556
|
* Padding Y
|
|
26557
26557
|
* @see https://tailwindcss.com/docs/padding
|
|
26558
26558
|
*/
|
|
26559
26559
|
py: [{
|
|
26560
|
-
py:
|
|
26560
|
+
py: te()
|
|
26561
26561
|
}],
|
|
26562
26562
|
/**
|
|
26563
26563
|
* Padding Start
|
|
26564
26564
|
* @see https://tailwindcss.com/docs/padding
|
|
26565
26565
|
*/
|
|
26566
26566
|
ps: [{
|
|
26567
|
-
ps:
|
|
26567
|
+
ps: te()
|
|
26568
26568
|
}],
|
|
26569
26569
|
/**
|
|
26570
26570
|
* Padding End
|
|
26571
26571
|
* @see https://tailwindcss.com/docs/padding
|
|
26572
26572
|
*/
|
|
26573
26573
|
pe: [{
|
|
26574
|
-
pe:
|
|
26574
|
+
pe: te()
|
|
26575
26575
|
}],
|
|
26576
26576
|
/**
|
|
26577
26577
|
* Padding Top
|
|
26578
26578
|
* @see https://tailwindcss.com/docs/padding
|
|
26579
26579
|
*/
|
|
26580
26580
|
pt: [{
|
|
26581
|
-
pt:
|
|
26581
|
+
pt: te()
|
|
26582
26582
|
}],
|
|
26583
26583
|
/**
|
|
26584
26584
|
* Padding Right
|
|
26585
26585
|
* @see https://tailwindcss.com/docs/padding
|
|
26586
26586
|
*/
|
|
26587
26587
|
pr: [{
|
|
26588
|
-
pr:
|
|
26588
|
+
pr: te()
|
|
26589
26589
|
}],
|
|
26590
26590
|
/**
|
|
26591
26591
|
* Padding Bottom
|
|
26592
26592
|
* @see https://tailwindcss.com/docs/padding
|
|
26593
26593
|
*/
|
|
26594
26594
|
pb: [{
|
|
26595
|
-
pb:
|
|
26595
|
+
pb: te()
|
|
26596
26596
|
}],
|
|
26597
26597
|
/**
|
|
26598
26598
|
* Padding Left
|
|
26599
26599
|
* @see https://tailwindcss.com/docs/padding
|
|
26600
26600
|
*/
|
|
26601
26601
|
pl: [{
|
|
26602
|
-
pl:
|
|
26602
|
+
pl: te()
|
|
26603
26603
|
}],
|
|
26604
26604
|
/**
|
|
26605
26605
|
* Margin
|
|
@@ -26669,7 +26669,7 @@ const Ir = (o) => {
|
|
|
26669
26669
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
26670
26670
|
*/
|
|
26671
26671
|
"space-x": [{
|
|
26672
|
-
"space-x":
|
|
26672
|
+
"space-x": te()
|
|
26673
26673
|
}],
|
|
26674
26674
|
/**
|
|
26675
26675
|
* Space Between X Reverse
|
|
@@ -26681,7 +26681,7 @@ const Ir = (o) => {
|
|
|
26681
26681
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
26682
26682
|
*/
|
|
26683
26683
|
"space-y": [{
|
|
26684
|
-
"space-y":
|
|
26684
|
+
"space-y": te()
|
|
26685
26685
|
}],
|
|
26686
26686
|
/**
|
|
26687
26687
|
* Space Between Y Reverse
|
|
@@ -26850,7 +26850,7 @@ const Ir = (o) => {
|
|
|
26850
26850
|
leading: [
|
|
26851
26851
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
26852
26852
|
y,
|
|
26853
|
-
...
|
|
26853
|
+
...te()
|
|
26854
26854
|
]
|
|
26855
26855
|
}],
|
|
26856
26856
|
/**
|
|
@@ -26951,7 +26951,7 @@ const Ir = (o) => {
|
|
|
26951
26951
|
* @see https://tailwindcss.com/docs/text-indent
|
|
26952
26952
|
*/
|
|
26953
26953
|
indent: [{
|
|
26954
|
-
indent:
|
|
26954
|
+
indent: te()
|
|
26955
26955
|
}],
|
|
26956
26956
|
/**
|
|
26957
26957
|
* Vertical Alignment
|
|
@@ -27693,21 +27693,21 @@ const Ir = (o) => {
|
|
|
27693
27693
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
27694
27694
|
*/
|
|
27695
27695
|
"border-spacing": [{
|
|
27696
|
-
"border-spacing":
|
|
27696
|
+
"border-spacing": te()
|
|
27697
27697
|
}],
|
|
27698
27698
|
/**
|
|
27699
27699
|
* Border Spacing X
|
|
27700
27700
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
27701
27701
|
*/
|
|
27702
27702
|
"border-spacing-x": [{
|
|
27703
|
-
"border-spacing-x":
|
|
27703
|
+
"border-spacing-x": te()
|
|
27704
27704
|
}],
|
|
27705
27705
|
/**
|
|
27706
27706
|
* Border Spacing Y
|
|
27707
27707
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
27708
27708
|
*/
|
|
27709
27709
|
"border-spacing-y": [{
|
|
27710
|
-
"border-spacing-y":
|
|
27710
|
+
"border-spacing-y": te()
|
|
27711
27711
|
}],
|
|
27712
27712
|
/**
|
|
27713
27713
|
* Table Layout
|
|
@@ -27766,7 +27766,7 @@ const Ir = (o) => {
|
|
|
27766
27766
|
* @see https://tailwindcss.com/docs/animation
|
|
27767
27767
|
*/
|
|
27768
27768
|
animate: [{
|
|
27769
|
-
animate: ["none",
|
|
27769
|
+
animate: ["none", ne, Ue, He]
|
|
27770
27770
|
}],
|
|
27771
27771
|
// ------------------
|
|
27772
27772
|
// --- Transforms ---
|
|
@@ -27999,126 +27999,126 @@ const Ir = (o) => {
|
|
|
27999
27999
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28000
28000
|
*/
|
|
28001
28001
|
"scroll-m": [{
|
|
28002
|
-
"scroll-m":
|
|
28002
|
+
"scroll-m": te()
|
|
28003
28003
|
}],
|
|
28004
28004
|
/**
|
|
28005
28005
|
* Scroll Margin X
|
|
28006
28006
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28007
28007
|
*/
|
|
28008
28008
|
"scroll-mx": [{
|
|
28009
|
-
"scroll-mx":
|
|
28009
|
+
"scroll-mx": te()
|
|
28010
28010
|
}],
|
|
28011
28011
|
/**
|
|
28012
28012
|
* Scroll Margin Y
|
|
28013
28013
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28014
28014
|
*/
|
|
28015
28015
|
"scroll-my": [{
|
|
28016
|
-
"scroll-my":
|
|
28016
|
+
"scroll-my": te()
|
|
28017
28017
|
}],
|
|
28018
28018
|
/**
|
|
28019
28019
|
* Scroll Margin Start
|
|
28020
28020
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28021
28021
|
*/
|
|
28022
28022
|
"scroll-ms": [{
|
|
28023
|
-
"scroll-ms":
|
|
28023
|
+
"scroll-ms": te()
|
|
28024
28024
|
}],
|
|
28025
28025
|
/**
|
|
28026
28026
|
* Scroll Margin End
|
|
28027
28027
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28028
28028
|
*/
|
|
28029
28029
|
"scroll-me": [{
|
|
28030
|
-
"scroll-me":
|
|
28030
|
+
"scroll-me": te()
|
|
28031
28031
|
}],
|
|
28032
28032
|
/**
|
|
28033
28033
|
* Scroll Margin Top
|
|
28034
28034
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28035
28035
|
*/
|
|
28036
28036
|
"scroll-mt": [{
|
|
28037
|
-
"scroll-mt":
|
|
28037
|
+
"scroll-mt": te()
|
|
28038
28038
|
}],
|
|
28039
28039
|
/**
|
|
28040
28040
|
* Scroll Margin Right
|
|
28041
28041
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28042
28042
|
*/
|
|
28043
28043
|
"scroll-mr": [{
|
|
28044
|
-
"scroll-mr":
|
|
28044
|
+
"scroll-mr": te()
|
|
28045
28045
|
}],
|
|
28046
28046
|
/**
|
|
28047
28047
|
* Scroll Margin Bottom
|
|
28048
28048
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28049
28049
|
*/
|
|
28050
28050
|
"scroll-mb": [{
|
|
28051
|
-
"scroll-mb":
|
|
28051
|
+
"scroll-mb": te()
|
|
28052
28052
|
}],
|
|
28053
28053
|
/**
|
|
28054
28054
|
* Scroll Margin Left
|
|
28055
28055
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
28056
28056
|
*/
|
|
28057
28057
|
"scroll-ml": [{
|
|
28058
|
-
"scroll-ml":
|
|
28058
|
+
"scroll-ml": te()
|
|
28059
28059
|
}],
|
|
28060
28060
|
/**
|
|
28061
28061
|
* Scroll Padding
|
|
28062
28062
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28063
28063
|
*/
|
|
28064
28064
|
"scroll-p": [{
|
|
28065
|
-
"scroll-p":
|
|
28065
|
+
"scroll-p": te()
|
|
28066
28066
|
}],
|
|
28067
28067
|
/**
|
|
28068
28068
|
* Scroll Padding X
|
|
28069
28069
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28070
28070
|
*/
|
|
28071
28071
|
"scroll-px": [{
|
|
28072
|
-
"scroll-px":
|
|
28072
|
+
"scroll-px": te()
|
|
28073
28073
|
}],
|
|
28074
28074
|
/**
|
|
28075
28075
|
* Scroll Padding Y
|
|
28076
28076
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28077
28077
|
*/
|
|
28078
28078
|
"scroll-py": [{
|
|
28079
|
-
"scroll-py":
|
|
28079
|
+
"scroll-py": te()
|
|
28080
28080
|
}],
|
|
28081
28081
|
/**
|
|
28082
28082
|
* Scroll Padding Start
|
|
28083
28083
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28084
28084
|
*/
|
|
28085
28085
|
"scroll-ps": [{
|
|
28086
|
-
"scroll-ps":
|
|
28086
|
+
"scroll-ps": te()
|
|
28087
28087
|
}],
|
|
28088
28088
|
/**
|
|
28089
28089
|
* Scroll Padding End
|
|
28090
28090
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28091
28091
|
*/
|
|
28092
28092
|
"scroll-pe": [{
|
|
28093
|
-
"scroll-pe":
|
|
28093
|
+
"scroll-pe": te()
|
|
28094
28094
|
}],
|
|
28095
28095
|
/**
|
|
28096
28096
|
* Scroll Padding Top
|
|
28097
28097
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28098
28098
|
*/
|
|
28099
28099
|
"scroll-pt": [{
|
|
28100
|
-
"scroll-pt":
|
|
28100
|
+
"scroll-pt": te()
|
|
28101
28101
|
}],
|
|
28102
28102
|
/**
|
|
28103
28103
|
* Scroll Padding Right
|
|
28104
28104
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28105
28105
|
*/
|
|
28106
28106
|
"scroll-pr": [{
|
|
28107
|
-
"scroll-pr":
|
|
28107
|
+
"scroll-pr": te()
|
|
28108
28108
|
}],
|
|
28109
28109
|
/**
|
|
28110
28110
|
* Scroll Padding Bottom
|
|
28111
28111
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28112
28112
|
*/
|
|
28113
28113
|
"scroll-pb": [{
|
|
28114
|
-
"scroll-pb":
|
|
28114
|
+
"scroll-pb": te()
|
|
28115
28115
|
}],
|
|
28116
28116
|
/**
|
|
28117
28117
|
* Scroll Padding Left
|
|
28118
28118
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
28119
28119
|
*/
|
|
28120
28120
|
"scroll-pl": [{
|
|
28121
|
-
"scroll-pl":
|
|
28121
|
+
"scroll-pl": te()
|
|
28122
28122
|
}],
|
|
28123
28123
|
/**
|
|
28124
28124
|
* Scroll Snap Align
|
|
@@ -28340,8 +28340,8 @@ function J7(o, l = []) {
|
|
|
28340
28340
|
u = [...u, g];
|
|
28341
28341
|
const I = (R) => {
|
|
28342
28342
|
var T;
|
|
28343
|
-
const { scope: D, children: M, ...H } = R, W = ((T = D == null ? void 0 : D[o]) == null ? void 0 : T[E]) || x,
|
|
28344
|
-
return /* @__PURE__ */ J.jsx(W.Provider, { value:
|
|
28343
|
+
const { scope: D, children: M, ...H } = R, W = ((T = D == null ? void 0 : D[o]) == null ? void 0 : T[E]) || x, ne = P.useMemo(() => H, Object.values(H));
|
|
28344
|
+
return /* @__PURE__ */ J.jsx(W.Provider, { value: ne, children: M });
|
|
28345
28345
|
};
|
|
28346
28346
|
I.displayName = y + "Provider";
|
|
28347
28347
|
function O(R, T) {
|
|
@@ -28479,15 +28479,15 @@ var LL = "DismissableLayer", CA = "dismissableLayer.update", TL = "dismissableLa
|
|
|
28479
28479
|
onInteractOutside: g,
|
|
28480
28480
|
onDismiss: x,
|
|
28481
28481
|
...E
|
|
28482
|
-
} = o, I = P.useContext(W7), [O, R] = P.useState(null), T = (O == null ? void 0 : O.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, D] = P.useState({}), M = zc(l, (re) => R(re)), H = Array.from(I.layers), [W] = [...I.layersWithOutsidePointerEventsDisabled].slice(-1),
|
|
28482
|
+
} = o, I = P.useContext(W7), [O, R] = P.useState(null), T = (O == null ? void 0 : O.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, D] = P.useState({}), M = zc(l, (re) => R(re)), H = Array.from(I.layers), [W] = [...I.layersWithOutsidePointerEventsDisabled].slice(-1), ne = H.indexOf(W), X = O ? H.indexOf(O) : -1, le = I.layersWithOutsidePointerEventsDisabled.size > 0, ue = X >= ne, ce = BL((re) => {
|
|
28483
28483
|
const Qe = re.target, Ye = [...I.branches].some((_e) => _e.contains(Qe));
|
|
28484
28484
|
!ue || Ye || (h == null || h(re), g == null || g(re), re.defaultPrevented || x == null || x());
|
|
28485
|
-
}, T),
|
|
28485
|
+
}, T), te = ML((re) => {
|
|
28486
28486
|
const Qe = re.target;
|
|
28487
28487
|
[...I.branches].some((Ye) => Ye.contains(Qe)) || (y == null || y(re), g == null || g(re), re.defaultPrevented || x == null || x());
|
|
28488
28488
|
}, T);
|
|
28489
28489
|
return OL((re) => {
|
|
28490
|
-
|
|
28490
|
+
X === I.layers.size - 1 && (d == null || d(re), !re.defaultPrevented && x && (re.preventDefault(), x()));
|
|
28491
28491
|
}, T), P.useEffect(() => {
|
|
28492
28492
|
if (O)
|
|
28493
28493
|
return u && (I.layersWithOutsidePointerEventsDisabled.size === 0 && (mw = T.body.style.pointerEvents, T.body.style.pointerEvents = "none"), I.layersWithOutsidePointerEventsDisabled.add(O)), I.layers.add(O), vw(), () => {
|
|
@@ -28507,8 +28507,8 @@ var LL = "DismissableLayer", CA = "dismissableLayer.update", TL = "dismissableLa
|
|
|
28507
28507
|
pointerEvents: le ? ue ? "auto" : "none" : void 0,
|
|
28508
28508
|
...o.style
|
|
28509
28509
|
},
|
|
28510
|
-
onFocusCapture: fs(o.onFocusCapture,
|
|
28511
|
-
onBlurCapture: fs(o.onBlurCapture,
|
|
28510
|
+
onFocusCapture: fs(o.onFocusCapture, te.onFocusCapture),
|
|
28511
|
+
onBlurCapture: fs(o.onBlurCapture, te.onBlurCapture),
|
|
28512
28512
|
onPointerDownCapture: fs(
|
|
28513
28513
|
o.onPointerDownCapture,
|
|
28514
28514
|
ce.onPointerDownCapture
|
|
@@ -28656,12 +28656,12 @@ var XA = "PopperContent", [VL, GL] = q7(XA), r8 = P.forwardRef(
|
|
|
28656
28656
|
avoidCollisions: M = !0,
|
|
28657
28657
|
collisionBoundary: H = [],
|
|
28658
28658
|
collisionPadding: W = 0,
|
|
28659
|
-
sticky:
|
|
28660
|
-
hideWhenDetached:
|
|
28659
|
+
sticky: ne = "partial",
|
|
28660
|
+
hideWhenDetached: X = !1,
|
|
28661
28661
|
updatePositionStrategy: le = "optimized",
|
|
28662
28662
|
onPlaced: ue,
|
|
28663
28663
|
...ce
|
|
28664
|
-
} = o,
|
|
28664
|
+
} = o, te = $7(XA, E), [re, Qe] = P.useState(null), Ye = zc(l, (nn) => Qe(nn)), [_e, We] = P.useState(null), Je = YL(_e), Pe = (Je == null ? void 0 : Je.width) ?? 0, Le = (Je == null ? void 0 : Je.height) ?? 0, at = I + (R !== "center" ? "-" + R : ""), ke = typeof W == "number" ? W : { top: 0, right: 0, bottom: 0, left: 0, ...W }, At = Array.isArray(H) ? H : [H], ae = At.length > 0, ve = {
|
|
28665
28665
|
padding: ke,
|
|
28666
28666
|
boundary: At.filter(ZL),
|
|
28667
28667
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -28674,14 +28674,14 @@ var XA = "PopperContent", [VL, GL] = q7(XA), r8 = P.forwardRef(
|
|
|
28674
28674
|
animationFrame: le === "always"
|
|
28675
28675
|
}),
|
|
28676
28676
|
elements: {
|
|
28677
|
-
reference:
|
|
28677
|
+
reference: te.anchor
|
|
28678
28678
|
},
|
|
28679
28679
|
middleware: [
|
|
28680
28680
|
WP({ mainAxis: O + Le, alignmentAxis: T }),
|
|
28681
28681
|
M && ZP({
|
|
28682
28682
|
mainAxis: !0,
|
|
28683
28683
|
crossAxis: !1,
|
|
28684
|
-
limiter:
|
|
28684
|
+
limiter: ne === "partial" ? XP() : void 0,
|
|
28685
28685
|
...ve
|
|
28686
28686
|
}),
|
|
28687
28687
|
M && KP({ ...ve }),
|
|
@@ -28694,7 +28694,7 @@ var XA = "PopperContent", [VL, GL] = q7(XA), r8 = P.forwardRef(
|
|
|
28694
28694
|
}),
|
|
28695
28695
|
_e && $P({ element: _e, padding: D }),
|
|
28696
28696
|
XL({ arrowWidth: Pe, arrowHeight: Le }),
|
|
28697
|
-
|
|
28697
|
+
X && _P({ strategy: "referenceHidden", ...ve })
|
|
28698
28698
|
]
|
|
28699
28699
|
}), [mn, Mt] = i8(bt), mt = tp(ue);
|
|
28700
28700
|
Vf(() => {
|
|
@@ -28818,8 +28818,8 @@ var XL = (o) => ({
|
|
|
28818
28818
|
fn(l) {
|
|
28819
28819
|
var u, d, h;
|
|
28820
28820
|
const { placement: y, rects: g, middlewareData: x } = l, E = ((u = x.arrow) == null ? void 0 : u.centerOffset) !== 0, I = E ? 0 : o.arrowWidth, O = E ? 0 : o.arrowHeight, [R, T] = i8(y), D = { start: "0%", center: "50%", end: "100%" }[T], M = (((d = x.arrow) == null ? void 0 : d.x) ?? 0) + I / 2, H = (((h = x.arrow) == null ? void 0 : h.y) ?? 0) + O / 2;
|
|
28821
|
-
let W = "",
|
|
28822
|
-
return R === "bottom" ? (W = E ? D : `${M}px`,
|
|
28821
|
+
let W = "", ne = "";
|
|
28822
|
+
return R === "bottom" ? (W = E ? D : `${M}px`, ne = `${-O}px`) : R === "top" ? (W = E ? D : `${M}px`, ne = `${g.floating.height + O}px`) : R === "right" ? (W = `${-O}px`, ne = E ? D : `${H}px`) : R === "left" && (W = `${g.floating.width + O}px`, ne = E ? D : `${H}px`), { data: { x: W, y: ne } };
|
|
28823
28823
|
}
|
|
28824
28824
|
});
|
|
28825
28825
|
function i8(o) {
|
|
@@ -28990,21 +28990,21 @@ var wv = "Tooltip", [uT, Cv] = Av(wv), d8 = (o) => {
|
|
|
28990
28990
|
onOpenChange: y,
|
|
28991
28991
|
disableHoverableContent: g,
|
|
28992
28992
|
delayDuration: x
|
|
28993
|
-
} = o, E = KA(wv, o.__scopeTooltip), I = Ev(l), [O, R] = P.useState(null), T = FL(), D = P.useRef(0), M = g ?? E.disableHoverableContent, H = x ?? E.delayDuration, W = P.useRef(!1), [
|
|
28993
|
+
} = o, E = KA(wv, o.__scopeTooltip), I = Ev(l), [O, R] = P.useState(null), T = FL(), D = P.useRef(0), M = g ?? E.disableHoverableContent, H = x ?? E.delayDuration, W = P.useRef(!1), [ne = !1, X] = rT({
|
|
28994
28994
|
prop: d,
|
|
28995
28995
|
defaultProp: h,
|
|
28996
28996
|
onChange: (re) => {
|
|
28997
28997
|
re ? (E.onOpen(), document.dispatchEvent(new CustomEvent(xA))) : E.onClose(), y == null || y(re);
|
|
28998
28998
|
}
|
|
28999
|
-
}), le = P.useMemo(() =>
|
|
29000
|
-
window.clearTimeout(D.current), D.current = 0, W.current = !1,
|
|
29001
|
-
}, [
|
|
29002
|
-
window.clearTimeout(D.current), D.current = 0,
|
|
29003
|
-
}, [
|
|
28999
|
+
}), le = P.useMemo(() => ne ? W.current ? "delayed-open" : "instant-open" : "closed", [ne]), ue = P.useCallback(() => {
|
|
29000
|
+
window.clearTimeout(D.current), D.current = 0, W.current = !1, X(!0);
|
|
29001
|
+
}, [X]), ce = P.useCallback(() => {
|
|
29002
|
+
window.clearTimeout(D.current), D.current = 0, X(!1);
|
|
29003
|
+
}, [X]), te = P.useCallback(() => {
|
|
29004
29004
|
window.clearTimeout(D.current), D.current = window.setTimeout(() => {
|
|
29005
|
-
W.current = !0,
|
|
29005
|
+
W.current = !0, X(!0), D.current = 0;
|
|
29006
29006
|
}, H);
|
|
29007
|
-
}, [H,
|
|
29007
|
+
}, [H, X]);
|
|
29008
29008
|
return P.useEffect(() => () => {
|
|
29009
29009
|
D.current && (window.clearTimeout(D.current), D.current = 0);
|
|
29010
29010
|
}, []), /* @__PURE__ */ J.jsx(KL, { ...I, children: /* @__PURE__ */ J.jsx(
|
|
@@ -29012,13 +29012,13 @@ var wv = "Tooltip", [uT, Cv] = Av(wv), d8 = (o) => {
|
|
|
29012
29012
|
{
|
|
29013
29013
|
scope: l,
|
|
29014
29014
|
contentId: T,
|
|
29015
|
-
open:
|
|
29015
|
+
open: ne,
|
|
29016
29016
|
stateAttribute: le,
|
|
29017
29017
|
trigger: O,
|
|
29018
29018
|
onTriggerChange: R,
|
|
29019
29019
|
onTriggerEnter: P.useCallback(() => {
|
|
29020
|
-
E.isOpenDelayed ?
|
|
29021
|
-
}, [E.isOpenDelayed,
|
|
29020
|
+
E.isOpenDelayed ? te() : ue();
|
|
29021
|
+
}, [E.isOpenDelayed, te, ue]),
|
|
29022
29022
|
onTriggerLeave: P.useCallback(() => {
|
|
29023
29023
|
M ? ce() : (window.clearTimeout(D.current), D.current = 0);
|
|
29024
29024
|
}, [ce, M]),
|
|
@@ -29071,7 +29071,7 @@ var cT = "TooltipPortal", [CB, dT] = Av(cT, {
|
|
|
29071
29071
|
x(null), R(!1);
|
|
29072
29072
|
}, [R]), D = P.useCallback(
|
|
29073
29073
|
(M, H) => {
|
|
29074
|
-
const W = M.currentTarget,
|
|
29074
|
+
const W = M.currentTarget, ne = { x: M.clientX, y: M.clientY }, X = gT(ne, W.getBoundingClientRect()), le = mT(ne, X), ue = vT(H.getBoundingClientRect()), ce = bT([...le, ...ue]);
|
|
29075
29075
|
x(ce), R(!0);
|
|
29076
29076
|
},
|
|
29077
29077
|
[R]
|
|
@@ -29086,8 +29086,8 @@ var cT = "TooltipPortal", [CB, dT] = Av(cT, {
|
|
|
29086
29086
|
}, [E, O, D, T]), P.useEffect(() => {
|
|
29087
29087
|
if (g) {
|
|
29088
29088
|
const M = (H) => {
|
|
29089
|
-
const W = H.target,
|
|
29090
|
-
|
|
29089
|
+
const W = H.target, ne = { x: H.clientX, y: H.clientY }, X = (E == null ? void 0 : E.contains(W)) || (O == null ? void 0 : O.contains(W)), le = !yT(ne, g);
|
|
29090
|
+
X ? T() : le && (T(), I());
|
|
29091
29091
|
};
|
|
29092
29092
|
return document.addEventListener("pointermove", M), () => document.removeEventListener("pointermove", M);
|
|
29093
29093
|
}
|
|
@@ -31221,13 +31221,13 @@ const C8 = ({
|
|
|
31221
31221
|
(re) => l.find((Qe) => Qe.id === re)
|
|
31222
31222
|
), E = x.find(
|
|
31223
31223
|
(re) => (re == null ? void 0 : re.id) === (u == null ? void 0 : u.highlightedOfferingId)
|
|
31224
|
-
) || x[0], [I, O] = In(E || null), [R, T] = In(null), D = R || I, M = D ? D.salesModel === Mg.Subscription : !1, H = (u == null ? void 0 : u.offeringIds.indexOf((I == null ? void 0 : I.id) || "")) || 0, W = x.length > 1,
|
|
31224
|
+
) || x[0], [I, O] = In(E || null), [R, T] = In(null), D = R || I, M = D ? D.salesModel === Mg.Subscription : !1, H = (u == null ? void 0 : u.offeringIds.indexOf((I == null ? void 0 : I.id) || "")) || 0, W = x.length > 1, ne = x8(o, u, H), X = ne == null ? void 0 : ne.upsellOffering, le = FN(
|
|
31225
31225
|
o,
|
|
31226
31226
|
u,
|
|
31227
31227
|
H
|
|
31228
31228
|
), ue = !!R, ce = () => {
|
|
31229
|
-
T((re) => re === null &&
|
|
31230
|
-
},
|
|
31229
|
+
T((re) => re === null && X || null);
|
|
31230
|
+
}, te = (re) => {
|
|
31231
31231
|
O(re), T(null);
|
|
31232
31232
|
};
|
|
31233
31233
|
return /* @__PURE__ */ J.jsxs(J.Fragment, { children: [
|
|
@@ -31244,7 +31244,7 @@ const C8 = ({
|
|
|
31244
31244
|
{
|
|
31245
31245
|
offerings: x,
|
|
31246
31246
|
selectedOffering: I,
|
|
31247
|
-
setSelectedOffering:
|
|
31247
|
+
setSelectedOffering: te,
|
|
31248
31248
|
uiConfig: h,
|
|
31249
31249
|
isUpsellSelected: ue,
|
|
31250
31250
|
isPreview: g
|
|
@@ -31256,7 +31256,7 @@ const C8 = ({
|
|
|
31256
31256
|
{
|
|
31257
31257
|
offerings: x,
|
|
31258
31258
|
selectedOffering: I,
|
|
31259
|
-
setSelectedOffering:
|
|
31259
|
+
setSelectedOffering: te,
|
|
31260
31260
|
uiConfig: h,
|
|
31261
31261
|
isUpsellSelected: ue,
|
|
31262
31262
|
isPreview: g
|
|
@@ -31271,10 +31271,10 @@ const C8 = ({
|
|
|
31271
31271
|
)
|
|
31272
31272
|
] }),
|
|
31273
31273
|
x.length === 0 && /* @__PURE__ */ J.jsx(BN, {}),
|
|
31274
|
-
|
|
31274
|
+
X && /* @__PURE__ */ J.jsx(
|
|
31275
31275
|
VN,
|
|
31276
31276
|
{
|
|
31277
|
-
upsellOffering:
|
|
31277
|
+
upsellOffering: X,
|
|
31278
31278
|
discount: le,
|
|
31279
31279
|
isUpsellSelected: ue,
|
|
31280
31280
|
handleUpsellToggle: ce,
|
|
@@ -31357,9 +31357,9 @@ const C8 = ({
|
|
|
31357
31357
|
onLogin: M,
|
|
31358
31358
|
onCancel: H,
|
|
31359
31359
|
onStartPurchase: W,
|
|
31360
|
-
isUserLoggedIn:
|
|
31361
|
-
} = o, [
|
|
31362
|
-
if (
|
|
31360
|
+
isUserLoggedIn: ne
|
|
31361
|
+
} = o, [X, le] = In(O), [ue, ce] = In(X), te = () => {
|
|
31362
|
+
if (X === la.ABOUT) {
|
|
31363
31363
|
le(ue);
|
|
31364
31364
|
return;
|
|
31365
31365
|
}
|
|
@@ -31380,7 +31380,7 @@ const C8 = ({
|
|
|
31380
31380
|
bw,
|
|
31381
31381
|
{
|
|
31382
31382
|
labelPosition: "above",
|
|
31383
|
-
currentScreen:
|
|
31383
|
+
currentScreen: X,
|
|
31384
31384
|
boxStyle: yw
|
|
31385
31385
|
}
|
|
31386
31386
|
),
|
|
@@ -31389,7 +31389,7 @@ const C8 = ({
|
|
|
31389
31389
|
u && !d && Ye && /* @__PURE__ */ J.jsx(
|
|
31390
31390
|
bw,
|
|
31391
31391
|
{
|
|
31392
|
-
currentScreen:
|
|
31392
|
+
currentScreen: X,
|
|
31393
31393
|
boxStyle: yw
|
|
31394
31394
|
}
|
|
31395
31395
|
),
|
|
@@ -31402,16 +31402,16 @@ const C8 = ({
|
|
|
31402
31402
|
/* @__PURE__ */ J.jsx(
|
|
31403
31403
|
KN,
|
|
31404
31404
|
{
|
|
31405
|
-
isMainScreenOpen:
|
|
31406
|
-
isAboutScreenOpen:
|
|
31405
|
+
isMainScreenOpen: X === la.MAIN,
|
|
31406
|
+
isAboutScreenOpen: X === la.ABOUT,
|
|
31407
31407
|
siteLogoUrl: T,
|
|
31408
31408
|
siteName: D,
|
|
31409
|
-
onBackButtonClick:
|
|
31409
|
+
onBackButtonClick: te,
|
|
31410
31410
|
onCancel: H,
|
|
31411
31411
|
language: h
|
|
31412
31412
|
}
|
|
31413
31413
|
),
|
|
31414
|
-
|
|
31414
|
+
X === la.MAIN && /* @__PURE__ */ J.jsxs(J.Fragment, { children: [
|
|
31415
31415
|
/* @__PURE__ */ J.jsx(
|
|
31416
31416
|
Cw,
|
|
31417
31417
|
{
|
|
@@ -31434,7 +31434,7 @@ const C8 = ({
|
|
|
31434
31434
|
}
|
|
31435
31435
|
)
|
|
31436
31436
|
] }),
|
|
31437
|
-
|
|
31437
|
+
X === la.MORE_OPTIONS && /* @__PURE__ */ J.jsx(
|
|
31438
31438
|
Cw,
|
|
31439
31439
|
{
|
|
31440
31440
|
upsells: E,
|
|
@@ -31447,8 +31447,8 @@ const C8 = ({
|
|
|
31447
31447
|
},
|
|
31448
31448
|
(x = R.moreOptionsScreen) == null ? void 0 : x.highlightedOfferingId
|
|
31449
31449
|
),
|
|
31450
|
-
|
|
31451
|
-
/* @__PURE__ */ J.jsx(QN, { onLogin: M, isUserLoggedIn:
|
|
31450
|
+
X === la.ABOUT && /* @__PURE__ */ J.jsx(TN, {}),
|
|
31451
|
+
/* @__PURE__ */ J.jsx(QN, { onLogin: M, isUserLoggedIn: ne })
|
|
31452
31452
|
]
|
|
31453
31453
|
}
|
|
31454
31454
|
)
|
|
@@ -32009,11 +32009,11 @@ const Cj = ({
|
|
|
32009
32009
|
);
|
|
32010
32010
|
Wa(() => {
|
|
32011
32011
|
if (l) {
|
|
32012
|
-
const
|
|
32012
|
+
const X = setInterval(() => {
|
|
32013
32013
|
const le = kw(o);
|
|
32014
|
-
le.displaySeconds && (d(le), le.seconds === 0 && clearInterval(
|
|
32014
|
+
le.displaySeconds && (d(le), le.seconds === 0 && clearInterval(X));
|
|
32015
32015
|
}, l);
|
|
32016
|
-
return () => clearInterval(
|
|
32016
|
+
return () => clearInterval(X);
|
|
32017
32017
|
}
|
|
32018
32018
|
}, [o, l]);
|
|
32019
32019
|
const {
|
|
@@ -32792,7 +32792,7 @@ const P8 = ({
|
|
|
32792
32792
|
onInfoButtonClick: u
|
|
32793
32793
|
}) => {
|
|
32794
32794
|
var W;
|
|
32795
|
-
const d = Mc(o, (
|
|
32795
|
+
const d = Mc(o, (ne) => ne), { tab: h, purchasedOffering: y, merchantLogoUrl: g, merchantName: x, purchase: E } = d.context, I = h.limit.amount, O = d.matches("AfterPurchase") ? 0 : I, R = d.matches("AfterPurchase") ? h.total.amount : 0, [T, D] = In(O);
|
|
32796
32796
|
Wa(() => D(R), [R]);
|
|
32797
32797
|
const M = cl(h.total), H = h.currency;
|
|
32798
32798
|
return su(
|
|
@@ -33173,14 +33173,14 @@ const Zj = ({
|
|
|
33173
33173
|
const { i18n: h } = sv(), y = h.language, g = Mc(o, (_e) => _e), { authStatus: x, experience: E, site: I, tab: O, merchantName: R, merchantLogoUrl: T } = g.context;
|
|
33174
33174
|
if (!E || !I || !O)
|
|
33175
33175
|
throw new Error("Cannot render Paygate without experience");
|
|
33176
|
-
const D = E.configuration, { upsells: M } = D, H = SA(I, E.id), W = KI(M, H), [
|
|
33176
|
+
const D = E.configuration, { upsells: M } = D, H = SA(I, E.id), W = KI(M, H), [ne, X] = In(
|
|
33177
33177
|
x === kn.VALID
|
|
33178
33178
|
), le = async () => {
|
|
33179
33179
|
const _e = await d();
|
|
33180
|
-
|
|
33181
|
-
}, ue = zr(() => cl(O.limit), [O]), ce = $j(D == null ? void 0 : D.uiConfig, H),
|
|
33180
|
+
X(_e === kn.VALID);
|
|
33181
|
+
}, ue = zr(() => cl(O.limit), [O]), ce = $j(D == null ? void 0 : D.uiConfig, H), te = (ce == null ? void 0 : ce.paygateCopy) && ((Ye = ce.paygateCopy) == null ? void 0 : Ye[y]), re = _j(
|
|
33182
33182
|
ue,
|
|
33183
|
-
|
|
33183
|
+
te
|
|
33184
33184
|
), Qe = {
|
|
33185
33185
|
onStartPurchase: l,
|
|
33186
33186
|
onCancel: u,
|
|
@@ -33190,7 +33190,7 @@ const Zj = ({
|
|
|
33190
33190
|
upsells: Kj(W),
|
|
33191
33191
|
siteName: R,
|
|
33192
33192
|
siteLogoUrl: T,
|
|
33193
|
-
isUserLoggedIn:
|
|
33193
|
+
isUserLoggedIn: ne
|
|
33194
33194
|
};
|
|
33195
33195
|
return /* @__PURE__ */ N.jsx(k8, { onClose: u, children: /* @__PURE__ */ N.jsx(
|
|
33196
33196
|
qN,
|
|
@@ -33240,11 +33240,11 @@ class xB extends tB {
|
|
|
33240
33240
|
"supertab-paygate"
|
|
33241
33241
|
);
|
|
33242
33242
|
let R = null;
|
|
33243
|
-
const { purchaseWidgetActor: T } = await g.initialize(), D = (ue, ce) => async ({ offeringId:
|
|
33244
|
-
|
|
33243
|
+
const { purchaseWidgetActor: T } = await g.initialize(), D = (ue, ce) => async ({ offeringId: te }) => {
|
|
33244
|
+
ne();
|
|
33245
33245
|
try {
|
|
33246
33246
|
const { purchase: re, priorEntitlement: Qe } = await g.startPurchase({
|
|
33247
|
-
offeringId:
|
|
33247
|
+
offeringId: te
|
|
33248
33248
|
});
|
|
33249
33249
|
if (Qe || (re == null ? void 0 : re.status) === Ig.COMPLETED)
|
|
33250
33250
|
ue(
|
|
@@ -33253,22 +33253,26 @@ class xB extends tB {
|
|
|
33253
33253
|
)
|
|
33254
33254
|
);
|
|
33255
33255
|
else {
|
|
33256
|
-
const Ye = await
|
|
33256
|
+
const Ye = await X.show();
|
|
33257
33257
|
ue(Ye);
|
|
33258
33258
|
}
|
|
33259
33259
|
} catch (re) {
|
|
33260
33260
|
console.error("Error starting purchase:", re), lu(re), ce(re);
|
|
33261
33261
|
}
|
|
33262
33262
|
}, M = (ue) => () => {
|
|
33263
|
-
|
|
33263
|
+
ne(), ue(
|
|
33264
33264
|
ds(T.getSnapshot().context)
|
|
33265
33265
|
);
|
|
33266
33266
|
}, H = (ue, ce) => async () => {
|
|
33267
33267
|
try {
|
|
33268
|
-
const { authStatus:
|
|
33269
|
-
return re &&
|
|
33270
|
-
|
|
33271
|
-
|
|
33268
|
+
const { authStatus: te, priorEntitlement: re } = await g.logIn();
|
|
33269
|
+
return re && (ne(), ue(
|
|
33270
|
+
ds(
|
|
33271
|
+
T.getSnapshot().context
|
|
33272
|
+
)
|
|
33273
|
+
)), te;
|
|
33274
|
+
} catch (te) {
|
|
33275
|
+
throw console.error("Error during login:", te), lu(te), ce(te), te;
|
|
33272
33276
|
}
|
|
33273
33277
|
}, { experience: W } = this.getExperienceDetails(T, {
|
|
33274
33278
|
experienceId: y,
|
|
@@ -33279,12 +33283,12 @@ class xB extends tB {
|
|
|
33279
33283
|
message: `Experience type mismatch for experienceId ${y}: expected ${Eg.BASIC_PAYGATE} but got ${W == null ? void 0 : W.type}`,
|
|
33280
33284
|
code: ps.INVALID_PARAMETER
|
|
33281
33285
|
});
|
|
33282
|
-
|
|
33283
|
-
|
|
33284
|
-
|
|
33286
|
+
const ne = () => {
|
|
33287
|
+
R && (R.unmount(), R = null);
|
|
33288
|
+
}, X = {
|
|
33285
33289
|
show: async () => new Promise((ue, ce) => {
|
|
33286
|
-
const { priorEntitlement:
|
|
33287
|
-
if (
|
|
33290
|
+
const { priorEntitlement: te } = T.getSnapshot().context;
|
|
33291
|
+
if (te) {
|
|
33288
33292
|
console.warn(
|
|
33289
33293
|
"Not showing Paygate because user has a prior entitlement"
|
|
33290
33294
|
), ue(
|
|
@@ -33307,15 +33311,11 @@ class xB extends tB {
|
|
|
33307
33311
|
}
|
|
33308
33312
|
) })
|
|
33309
33313
|
] })
|
|
33310
|
-
)
|
|
33314
|
+
);
|
|
33311
33315
|
}),
|
|
33312
|
-
hide: async () => (R && (R.unmount(), R = null), te = !1, ds(
|
|
33313
|
-
T.getSnapshot().context
|
|
33314
|
-
)),
|
|
33315
33316
|
logIn: async () => (await g.logIn(), ds(
|
|
33316
33317
|
T.getSnapshot().context
|
|
33317
33318
|
)),
|
|
33318
|
-
toggle: async () => te ? Z.hide() : Z.show(),
|
|
33319
33319
|
destroy: () => {
|
|
33320
33320
|
g.destroy(), R && (R.unmount(), R = null), document.body.removeChild(x);
|
|
33321
33321
|
}
|
|
@@ -33323,7 +33323,7 @@ class xB extends tB {
|
|
|
33323
33323
|
T.getSnapshot().context
|
|
33324
33324
|
);
|
|
33325
33325
|
return {
|
|
33326
|
-
...
|
|
33326
|
+
...X,
|
|
33327
33327
|
initialState: le
|
|
33328
33328
|
};
|
|
33329
33329
|
} catch (g) {
|
|
@@ -33345,8 +33345,8 @@ class xB extends tB {
|
|
|
33345
33345
|
merchantLogoUrl: y,
|
|
33346
33346
|
language: g,
|
|
33347
33347
|
experienceId: x,
|
|
33348
|
-
onError: (
|
|
33349
|
-
throw lu(
|
|
33348
|
+
onError: (te) => {
|
|
33349
|
+
throw lu(te), te;
|
|
33350
33350
|
},
|
|
33351
33351
|
errorPrefix: "PurchaseButtonError"
|
|
33352
33352
|
}), { purchaseWidgetActor: O } = await I.initialize(), { innerContainerElement: R, shadowRoot: T, appElement: D } = this.createPurchaseButtonContainer(u), M = await this.setupStyles(
|
|
@@ -33356,11 +33356,11 @@ class xB extends tB {
|
|
|
33356
33356
|
await I.startPurchase(), E(
|
|
33357
33357
|
ds(O.getSnapshot().context)
|
|
33358
33358
|
);
|
|
33359
|
-
}, { priorEntitlement:
|
|
33359
|
+
}, { priorEntitlement: ne, experience: X, offeringEntitlementDetails: le } = this.getExperienceDetails(O, {
|
|
33360
33360
|
experienceId: x,
|
|
33361
33361
|
expectedType: Eg.RICH_SUPERTAB_BUTTON
|
|
33362
|
-
}), ue =
|
|
33363
|
-
return
|
|
33362
|
+
}), ue = X == null ? void 0 : X.configuration, ce = ue == null ? void 0 : ue.uiConfig;
|
|
33363
|
+
return ne ? E(
|
|
33364
33364
|
ds(O.getSnapshot().context)
|
|
33365
33365
|
) : this.renderButton({
|
|
33366
33366
|
reactRoot: H,
|