@nypl/design-system-react-components 3.3.0 → 3.3.1
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var BS = Object.defineProperty;
|
|
2
2
|
var FS = (r, a, o) => a in r ? BS(r, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[a] = o;
|
|
3
3
|
var Fu = (r, a, o) => (FS(r, typeof a != "symbol" ? a + "" : a, o), o);
|
|
4
|
-
import { chakra as F1, useStyleConfig as R3, Icon as xh, Box as
|
|
4
|
+
import { chakra as F1, useStyleConfig as R3, Icon as xh, Box as v1, useColorMode as Vh, Accordion as jS, AccordionPanel as Dy, AccordionItem as AS, AccordionButton as zS, useMultiStyleConfig as U2, Button as US, Link as IS, Text as $S, Heading as YS, useColorModeValue as a5, Flex as Mh, useMergeRefs as rc, Tooltip as WS, Breadcrumb as QS, BreadcrumbItem as qS, BreadcrumbLink as GS, Stack as P0, LinkBox as XS, LinkOverlay as KS, Checkbox as JS, CheckboxGroup as ek, Thead as tk, Tr as Ry, Th as Zy, Table as nk, TableCaption as rk, Tbody as ak, Td as ik, HStack as ok, SimpleGrid as lk, Input as sk, Textarea as uk, defineStyleConfig as ee, extendTheme as ck, ChakraProvider as dk, Radio as Ck, RadioGroup as fk, useMediaQuery as pk, useDisclosure as la, Drawer as hk, DrawerOverlay as mk, DrawerContent as vk, DrawerHeader as gk, DrawerBody as yk, VStack as zp, Modal as Up, ModalOverlay as Ip, ModalContent as $p, ModalHeader as Yp, ModalCloseButton as Wp, ModalBody as Qp, ModalFooter as qp, Menu as Lk, MenuList as bk, MenuButton as wk, MenuDivider as Hk, MenuGroup as xk, MenuItem as Vk, CircularProgress as Mk, CircularProgressLabel as Ek, Progress as Sk, Select as kk, Skeleton as lp, RangeSlider as Tk, RangeSliderTrack as _k, RangeSliderFilledTrack as Dk, RangeSliderThumb as Oy, Slider as Rk, SliderTrack as Zk, SliderFilledTrack as Ok, SliderThumb as Nk, Tabs as Pk, Tab as Bk, TabPanel as Ny, TabList as Cb, TabPanels as fb, Switch as Fk, useOutsideClick as jk, useTheme as Ak } from "@chakra-ui/react";
|
|
5
5
|
import { Box as QI, Center as qI, Circle as GI, ColorModeScript as XI, Flex as KI, FocusLock as JI, Grid as e$, GridItem as t$, HStack as n$, Spacer as r$, Square as a$, Stack as i$, Tab as o$, TabList as l$, TabPanel as s$, TabPanels as u$, VStack as c$, chakra as d$, cookieStorageManager as C$, cookieStorageManagerSSR as f$, localStorageManager as p$, useColorMode as h$, useColorModeValue as m$, useMediaQuery as v$, useMultiStyleConfig as g$, useStyleConfig as y$ } from "@chakra-ui/react";
|
|
6
6
|
import * as C from "react";
|
|
7
7
|
import X, { forwardRef as c2, useState as u4, useEffect as v7, useRef as w5, createElement as zk, Component as Uk, createRef as Ik, useReducer as $k } from "react";
|
|
@@ -76,16 +76,16 @@ function Qk() {
|
|
|
76
76
|
J2.unshift("Warning: " + w1), Function.prototype.apply.call(console[U], console, J2);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
var Y = !1, j = !1, i1 = !1, r1 = !1, p1 = !1,
|
|
80
|
-
|
|
81
|
-
function
|
|
79
|
+
var Y = !1, j = !1, i1 = !1, r1 = !1, p1 = !1, g1;
|
|
80
|
+
g1 = Symbol.for("react.module.reference");
|
|
81
|
+
function H1(U) {
|
|
82
82
|
return !!(typeof U == "string" || typeof U == "function" || U === s || U === p || p1 || U === i || U === L || U === M || r1 || U === _ || Y || j || i1 || typeof U == "object" && U !== null && (U.$$typeof === k || U.$$typeof === E || U.$$typeof === d || U.$$typeof === v || U.$$typeof === y || // This needs to include all possible module reference object
|
|
83
83
|
// types supported by any Flight configuration anywhere since
|
|
84
84
|
// we don't know which Flight build this will end up being used
|
|
85
85
|
// with.
|
|
86
|
-
U.$$typeof ===
|
|
86
|
+
U.$$typeof === g1 || U.getModuleId !== void 0));
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function x1(U, w1, N1) {
|
|
89
89
|
var h2 = U.displayName;
|
|
90
90
|
if (h2)
|
|
91
91
|
return h2;
|
|
@@ -125,7 +125,7 @@ function Qk() {
|
|
|
125
125
|
var N1 = U;
|
|
126
126
|
return P1(N1._context) + ".Provider";
|
|
127
127
|
case y:
|
|
128
|
-
return
|
|
128
|
+
return x1(U, U.render, "ForwardRef");
|
|
129
129
|
case E:
|
|
130
130
|
var h2 = U.displayName || null;
|
|
131
131
|
return h2 !== null ? h2 : m1(U.type) || "Memo";
|
|
@@ -140,13 +140,13 @@ function Qk() {
|
|
|
140
140
|
}
|
|
141
141
|
return null;
|
|
142
142
|
}
|
|
143
|
-
var k1 = Object.assign,
|
|
143
|
+
var k1 = Object.assign, A1 = 0, T1, f2, C1, E1, y1, K1, G1;
|
|
144
144
|
function R1() {
|
|
145
145
|
}
|
|
146
146
|
R1.__reactDisabledLog = !0;
|
|
147
147
|
function E2() {
|
|
148
148
|
{
|
|
149
|
-
if (
|
|
149
|
+
if (A1 === 0) {
|
|
150
150
|
T1 = console.log, f2 = console.info, C1 = console.warn, E1 = console.error, y1 = console.group, K1 = console.groupCollapsed, G1 = console.groupEnd;
|
|
151
151
|
var U = {
|
|
152
152
|
configurable: !0,
|
|
@@ -164,12 +164,12 @@ function Qk() {
|
|
|
164
164
|
groupEnd: U
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
A1++;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
function a3() {
|
|
171
171
|
{
|
|
172
|
-
if (
|
|
172
|
+
if (A1--, A1 === 0) {
|
|
173
173
|
var U = {
|
|
174
174
|
configurable: !0,
|
|
175
175
|
enumerable: !0,
|
|
@@ -199,7 +199,7 @@ function Qk() {
|
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
A1 < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
var H2 = z.ReactCurrentDispatcher, j2;
|
|
@@ -299,7 +299,7 @@ function Qk() {
|
|
|
299
299
|
var w1 = U.prototype;
|
|
300
300
|
return !!(w1 && w1.isReactComponent);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function U1(U, w1, N1) {
|
|
303
303
|
if (U == null)
|
|
304
304
|
return "";
|
|
305
305
|
if (typeof U == "function")
|
|
@@ -317,11 +317,11 @@ function Qk() {
|
|
|
317
317
|
case y:
|
|
318
318
|
return Y2(U.render);
|
|
319
319
|
case E:
|
|
320
|
-
return
|
|
320
|
+
return U1(U.type, w1, N1);
|
|
321
321
|
case k: {
|
|
322
322
|
var h2 = U, x2 = h2._payload, J2 = h2._init;
|
|
323
323
|
try {
|
|
324
|
-
return
|
|
324
|
+
return U1(J2(x2), w1, N1);
|
|
325
325
|
} catch {
|
|
326
326
|
}
|
|
327
327
|
}
|
|
@@ -331,7 +331,7 @@ function Qk() {
|
|
|
331
331
|
var N2 = Object.prototype.hasOwnProperty, _2 = {}, Z3 = z.ReactDebugCurrentFrame;
|
|
332
332
|
function me(U) {
|
|
333
333
|
if (U) {
|
|
334
|
-
var w1 = U._owner, N1 =
|
|
334
|
+
var w1 = U._owner, N1 = U1(U.type, U._source, w1 ? w1.type : null);
|
|
335
335
|
Z3.setExtraStackFrame(N1);
|
|
336
336
|
} else
|
|
337
337
|
Z3.setExtraStackFrame(null);
|
|
@@ -480,7 +480,7 @@ function Qk() {
|
|
|
480
480
|
var S3 = z.ReactCurrentOwner, d4 = z.ReactDebugCurrentFrame;
|
|
481
481
|
function i3(U) {
|
|
482
482
|
if (U) {
|
|
483
|
-
var w1 = U._owner, N1 =
|
|
483
|
+
var w1 = U._owner, N1 = U1(U.type, U._source, w1 ? w1.type : null);
|
|
484
484
|
d4.setExtraStackFrame(N1);
|
|
485
485
|
} else
|
|
486
486
|
d4.setExtraStackFrame(null);
|
|
@@ -589,7 +589,7 @@ Check the top-level render call using <` + N1 + ">.");
|
|
|
589
589
|
}
|
|
590
590
|
function x5(U, w1, N1, h2, x2, J2) {
|
|
591
591
|
{
|
|
592
|
-
var R2 =
|
|
592
|
+
var R2 = H1(U);
|
|
593
593
|
if (!R2) {
|
|
594
594
|
var v2 = "";
|
|
595
595
|
(U === void 0 || typeof U == "object" && U !== null && Object.keys(U).length === 0) && (v2 += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -1044,7 +1044,7 @@ const qk = ({
|
|
|
1044
1044
|
ref: a
|
|
1045
1045
|
}) : console.warn(
|
|
1046
1046
|
"NYPL Reservoir Icon: An `svg` element must be passed to the `Icon` component as its child."
|
|
1047
|
-
), /* @__PURE__ */ x.jsx(
|
|
1047
|
+
), /* @__PURE__ */ x.jsx(v1, { ref: a, __css: R, children: P });
|
|
1048
1048
|
}),
|
|
1049
1049
|
// Pass all custom props to Chakra and override, e.g. we want the
|
|
1050
1050
|
// DS color value set and not color strings.
|
|
@@ -1122,7 +1122,7 @@ const qk = ({
|
|
|
1122
1122
|
},
|
|
1123
1123
|
children: [
|
|
1124
1124
|
/* @__PURE__ */ x.jsx(
|
|
1125
|
-
|
|
1125
|
+
v1,
|
|
1126
1126
|
{
|
|
1127
1127
|
as: "span",
|
|
1128
1128
|
flex: "1",
|
|
@@ -1235,7 +1235,7 @@ const qk = ({
|
|
|
1235
1235
|
...k,
|
|
1236
1236
|
children: [
|
|
1237
1237
|
s,
|
|
1238
|
-
L && /* @__PURE__ */ x.jsx(
|
|
1238
|
+
L && /* @__PURE__ */ x.jsx(v1, { as: "span", __css: z.screenreaderOnly, children: L })
|
|
1239
1239
|
]
|
|
1240
1240
|
}
|
|
1241
1241
|
);
|
|
@@ -1279,7 +1279,7 @@ function L_(r, a, o) {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
function b_(r, a, o) {
|
|
1281
1281
|
const s = `${a}-external-icon`, i = /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
1282
|
-
/* @__PURE__ */ x.jsx(
|
|
1282
|
+
/* @__PURE__ */ x.jsx(v1, { as: "span", __css: o, children: "This link opens in a new window" }),
|
|
1283
1283
|
/* @__PURE__ */ x.jsx(
|
|
1284
1284
|
F3,
|
|
1285
1285
|
{
|
|
@@ -1347,7 +1347,7 @@ const D0 = F1(
|
|
|
1347
1347
|
s,
|
|
1348
1348
|
Y,
|
|
1349
1349
|
A.screenreaderOnly
|
|
1350
|
-
) || k === "standalone" && w_(s, Y) || s, i1 = M ? /* @__PURE__ */ x.jsx(
|
|
1350
|
+
) || k === "standalone" && w_(s, Y) || s, i1 = M ? /* @__PURE__ */ x.jsx(v1, { as: "span", __css: A.screenreaderOnly, children: M }) : null;
|
|
1351
1351
|
return /* @__PURE__ */ x.jsxs(
|
|
1352
1352
|
IS,
|
|
1353
1353
|
{
|
|
@@ -1476,11 +1476,11 @@ const D0 = F1(
|
|
|
1476
1476
|
"heading2",
|
|
1477
1477
|
"h1",
|
|
1478
1478
|
"h2"
|
|
1479
|
-
], p1 = r1.includes(z) ? "overline1" : "overline2",
|
|
1479
|
+
], p1 = r1.includes(z) ? "overline1" : "overline2", g1 = r1.includes(z) ? "subtitle1" : "subtitle2", H1 = $.headingWrapper, x1 = L || E ? {
|
|
1480
1480
|
...$.base
|
|
1481
1481
|
} : {
|
|
1482
1482
|
...$.base,
|
|
1483
|
-
...
|
|
1483
|
+
...H1
|
|
1484
1484
|
}, P1 = /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
1485
1485
|
L && /* @__PURE__ */ x.jsx(
|
|
1486
1486
|
L5,
|
|
@@ -1500,7 +1500,7 @@ const D0 = F1(
|
|
|
1500
1500
|
id: s,
|
|
1501
1501
|
ref: a,
|
|
1502
1502
|
sx: {
|
|
1503
|
-
...
|
|
1503
|
+
...x1
|
|
1504
1504
|
},
|
|
1505
1505
|
...O,
|
|
1506
1506
|
children: i1
|
|
@@ -1513,18 +1513,18 @@ const D0 = F1(
|
|
|
1513
1513
|
mt: "xs",
|
|
1514
1514
|
noSpace: !0,
|
|
1515
1515
|
role: "paragraph",
|
|
1516
|
-
size:
|
|
1516
|
+
size: g1,
|
|
1517
1517
|
children: E
|
|
1518
1518
|
}
|
|
1519
1519
|
)
|
|
1520
1520
|
] });
|
|
1521
1521
|
return L || E ? /* @__PURE__ */ x.jsx(
|
|
1522
|
-
|
|
1522
|
+
v1,
|
|
1523
1523
|
{
|
|
1524
1524
|
as: "hgroup",
|
|
1525
1525
|
role: "group",
|
|
1526
1526
|
"aria-roledescription": "Heading group",
|
|
1527
|
-
sx: { ...
|
|
1527
|
+
sx: { ...H1 },
|
|
1528
1528
|
...O,
|
|
1529
1529
|
children: P1
|
|
1530
1530
|
}
|
|
@@ -1569,8 +1569,8 @@ const Xr = F1(
|
|
|
1569
1569
|
__css: L,
|
|
1570
1570
|
...v
|
|
1571
1571
|
};
|
|
1572
|
-
return /* @__PURE__ */ x.jsx(
|
|
1573
|
-
|
|
1572
|
+
return /* @__PURE__ */ x.jsx(v1, { ...M, children: p ? typeof d == "string" ? /* @__PURE__ */ x.jsx(
|
|
1573
|
+
v1,
|
|
1574
1574
|
{
|
|
1575
1575
|
dangerouslySetInnerHTML: { __html: d },
|
|
1576
1576
|
__css: L.innerChild
|
|
@@ -1597,7 +1597,7 @@ const Xr = F1(
|
|
|
1597
1597
|
return _ || console.warn(
|
|
1598
1598
|
"NYPL Reservoir ComponentWrapper: No children were passed."
|
|
1599
1599
|
), /* @__PURE__ */ x.jsxs(
|
|
1600
|
-
|
|
1600
|
+
v1,
|
|
1601
1601
|
{
|
|
1602
1602
|
className: s,
|
|
1603
1603
|
id: `${y}-wrapper`,
|
|
@@ -1692,15 +1692,15 @@ const Xr = F1(
|
|
|
1692
1692
|
id: `filter-${Y.value}`,
|
|
1693
1693
|
isDisabled: r1,
|
|
1694
1694
|
sx: p1,
|
|
1695
|
-
onClick: (
|
|
1696
|
-
P(
|
|
1695
|
+
onClick: (g1) => {
|
|
1696
|
+
P(g1, Y.value);
|
|
1697
1697
|
},
|
|
1698
1698
|
children: Y.text
|
|
1699
1699
|
},
|
|
1700
1700
|
Y.value
|
|
1701
1701
|
);
|
|
1702
1702
|
}, A = () => k.map((Y) => $(Y));
|
|
1703
|
-
return /* @__PURE__ */ x.jsx(
|
|
1703
|
+
return /* @__PURE__ */ x.jsx(v1, { as: "nav", ref: a, "aria-label": "Filter by letter", children: /* @__PURE__ */ x.jsx(
|
|
1704
1704
|
N6,
|
|
1705
1705
|
{
|
|
1706
1706
|
id: v,
|
|
@@ -1746,7 +1746,7 @@ const Xr = F1(
|
|
|
1746
1746
|
const z = U2("AudioPlayer", {});
|
|
1747
1747
|
function $() {
|
|
1748
1748
|
return _ ? /* @__PURE__ */ x.jsx(
|
|
1749
|
-
|
|
1749
|
+
v1,
|
|
1750
1750
|
{
|
|
1751
1751
|
dangerouslySetInnerHTML: {
|
|
1752
1752
|
__html: _.outerHTML
|
|
@@ -1768,7 +1768,7 @@ const Xr = F1(
|
|
|
1768
1768
|
__css: z.base,
|
|
1769
1769
|
...M,
|
|
1770
1770
|
children: E ? /* @__PURE__ */ x.jsx(
|
|
1771
|
-
|
|
1771
|
+
v1,
|
|
1772
1772
|
{
|
|
1773
1773
|
dangerouslySetInnerHTML: { __html: O },
|
|
1774
1774
|
__css: z.invalid
|
|
@@ -1879,7 +1879,7 @@ const E_ = {
|
|
|
1879
1879
|
), v && !s && console.warn(
|
|
1880
1880
|
"NYPL Reservoir Banner: The `highlightColor` prop has been passed, but the `backgroundColor` prop has not been passed. Because of this, the `highlightColor` prop will be ignored."
|
|
1881
1881
|
), /* @__PURE__ */ x.jsxs(
|
|
1882
|
-
|
|
1882
|
+
v1,
|
|
1883
1883
|
{
|
|
1884
1884
|
"aria-label": o,
|
|
1885
1885
|
as: "aside",
|
|
@@ -1891,9 +1891,9 @@ const E_ = {
|
|
|
1891
1891
|
...k,
|
|
1892
1892
|
children: [
|
|
1893
1893
|
j,
|
|
1894
|
-
/* @__PURE__ */ x.jsxs(
|
|
1894
|
+
/* @__PURE__ */ x.jsxs(v1, { maxWidth: "800px", children: [
|
|
1895
1895
|
d && A,
|
|
1896
|
-
typeof p == "string" ? /* @__PURE__ */ x.jsx(
|
|
1896
|
+
typeof p == "string" ? /* @__PURE__ */ x.jsx(v1, { dangerouslySetInnerHTML: { __html: p } }) : /* @__PURE__ */ x.jsx(x.Fragment, { children: p })
|
|
1897
1897
|
] }),
|
|
1898
1898
|
M && Y
|
|
1899
1899
|
]
|
|
@@ -2011,22 +2011,24 @@ const O_ = F1(
|
|
|
2011
2011
|
additionalWrapperStyles: a = {},
|
|
2012
2012
|
className: o = "",
|
|
2013
2013
|
children: s,
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2014
|
+
id: i,
|
|
2015
|
+
ratio: p = "original",
|
|
2016
|
+
size: d = "default",
|
|
2017
|
+
sizeBasedOn: v = "width",
|
|
2018
|
+
...y
|
|
2019
|
+
} = r, L = U2("ReservoirImageWrapper", {
|
|
2020
|
+
ratio: p,
|
|
2021
|
+
size: d,
|
|
2022
|
+
sizeBasedOn: v
|
|
2022
2023
|
});
|
|
2023
2024
|
return /* @__PURE__ */ x.jsx(
|
|
2024
|
-
|
|
2025
|
+
v1,
|
|
2025
2026
|
{
|
|
2026
2027
|
className: `the-wrap ${o}`,
|
|
2027
|
-
|
|
2028
|
-
...
|
|
2029
|
-
|
|
2028
|
+
id: i,
|
|
2029
|
+
__css: { ...L.base, ...a },
|
|
2030
|
+
...y,
|
|
2031
|
+
children: /* @__PURE__ */ x.jsx(v1, { className: "the-crop", __css: L.crop, children: s })
|
|
2030
2032
|
}
|
|
2031
2033
|
);
|
|
2032
2034
|
}
|
|
@@ -2043,63 +2045,66 @@ const O_ = F1(
|
|
|
2043
2045
|
component: L,
|
|
2044
2046
|
credit: M,
|
|
2045
2047
|
fallbackSrc: E,
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2048
|
+
id: k,
|
|
2049
|
+
imageType: _ = "default",
|
|
2050
|
+
isLazy: R = !1,
|
|
2051
|
+
onError: O,
|
|
2052
|
+
size: P = "default",
|
|
2053
|
+
sizeBasedOn: z = "width",
|
|
2054
|
+
src: $,
|
|
2055
|
+
...A
|
|
2056
|
+
} = r, Y = S_(), [j, i1] = Z_({
|
|
2054
2057
|
triggerOnce: !0,
|
|
2055
|
-
skip:
|
|
2056
|
-
}),
|
|
2057
|
-
variant:
|
|
2058
|
+
skip: Y
|
|
2059
|
+
}), r1 = d !== "original", p1 = U2("ReservoirImage", {
|
|
2060
|
+
variant: _,
|
|
2058
2061
|
ratio: d,
|
|
2059
|
-
size:
|
|
2060
|
-
sizeBasedOn:
|
|
2061
|
-
}),
|
|
2062
|
+
size: P,
|
|
2063
|
+
sizeBasedOn: z
|
|
2064
|
+
}), g1 = (A1) => {
|
|
2062
2065
|
console.warn(
|
|
2063
2066
|
"NYPL Reservoir Image: The initial image failed to load in the browser. The fallback image source will now be used."
|
|
2064
|
-
),
|
|
2067
|
+
), A1.target.src = E || "", O && O(A1);
|
|
2065
2068
|
};
|
|
2066
|
-
let
|
|
2069
|
+
let H1 = null, x1, P1, m1 = R ? {} : { src: $ };
|
|
2067
2070
|
if (p && p.length > 300)
|
|
2068
2071
|
throw new Error(
|
|
2069
2072
|
"NYPL Reservoir Image: Alt text must be less than 300 characters."
|
|
2070
2073
|
);
|
|
2071
|
-
|
|
2072
|
-
|
|
2074
|
+
R && (i1 || Y) && (x1 = j, m1 = { src: $ }), P1 = rc(x1, a), H1 = L || /* @__PURE__ */ x.jsx(
|
|
2075
|
+
v1,
|
|
2073
2076
|
{
|
|
2074
2077
|
as: "img",
|
|
2075
2078
|
alt: p,
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2079
|
+
id: k || null,
|
|
2080
|
+
loading: R ? "lazy" : void 0,
|
|
2081
|
+
onError: g1,
|
|
2082
|
+
...m1,
|
|
2083
|
+
__css: { ...p1.img, ...s },
|
|
2084
|
+
...A
|
|
2081
2085
|
}
|
|
2082
2086
|
);
|
|
2083
|
-
const
|
|
2087
|
+
const k1 = r1 ? /* @__PURE__ */ x.jsx(
|
|
2084
2088
|
O_,
|
|
2085
2089
|
{
|
|
2086
2090
|
additionalWrapperStyles: i,
|
|
2087
|
-
ratio: d,
|
|
2088
2091
|
className: y,
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2092
|
+
id: k ? `${k}-wrapper` : null,
|
|
2093
|
+
ratio: d,
|
|
2094
|
+
size: P,
|
|
2095
|
+
sizeBasedOn: z,
|
|
2096
|
+
...v || M ? {} : A,
|
|
2097
|
+
children: H1
|
|
2098
|
+
}
|
|
2099
|
+
) : H1;
|
|
2100
|
+
return /* @__PURE__ */ x.jsx(v1, { ref: P1, children: v || M ? /* @__PURE__ */ x.jsxs(
|
|
2101
|
+
v1,
|
|
2097
2102
|
{
|
|
2098
2103
|
as: "figure",
|
|
2099
|
-
__css: { ...
|
|
2104
|
+
__css: { ...p1.figure, ...o },
|
|
2100
2105
|
children: [
|
|
2101
|
-
|
|
2102
|
-
/* @__PURE__ */ x.jsxs(
|
|
2106
|
+
k1,
|
|
2107
|
+
/* @__PURE__ */ x.jsxs(v1, { as: "figcaption", __css: p1.figcaption, children: [
|
|
2103
2108
|
v && /* @__PURE__ */ x.jsx(
|
|
2104
2109
|
Xr,
|
|
2105
2110
|
{
|
|
@@ -2119,7 +2124,7 @@ const O_ = F1(
|
|
|
2119
2124
|
] })
|
|
2120
2125
|
]
|
|
2121
2126
|
}
|
|
2122
|
-
) :
|
|
2127
|
+
) : k1 });
|
|
2123
2128
|
}),
|
|
2124
2129
|
{ shouldForwardProp: () => !0 }
|
|
2125
2130
|
), pb = F1(
|
|
@@ -2129,19 +2134,21 @@ const O_ = F1(
|
|
|
2129
2134
|
className: s,
|
|
2130
2135
|
content: i,
|
|
2131
2136
|
id: p,
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2137
|
+
placement: d = "top",
|
|
2138
|
+
offset: v = [0, 8],
|
|
2139
|
+
isDisabled: y,
|
|
2140
|
+
shouldWrapChildren: L,
|
|
2141
|
+
...M
|
|
2135
2142
|
} = r;
|
|
2136
2143
|
typeof i != "string" && typeof i != "number" && X.Children.map(
|
|
2137
2144
|
i,
|
|
2138
|
-
(
|
|
2139
|
-
(
|
|
2145
|
+
(_) => {
|
|
2146
|
+
(_.type !== F3 || _.type !== sa) && console.warn(
|
|
2140
2147
|
"NYPL Reservoir Tooltip: Pass in a string, number, DS Icon, or DS Image into the 'content' prop."
|
|
2141
2148
|
);
|
|
2142
2149
|
}
|
|
2143
2150
|
);
|
|
2144
|
-
const
|
|
2151
|
+
const E = L ? /* @__PURE__ */ x.jsx(N6, { width: "fit-content", children: o }) : o, k = R3("Tooltip", {});
|
|
2145
2152
|
return /* @__PURE__ */ x.jsx(
|
|
2146
2153
|
WS,
|
|
2147
2154
|
{
|
|
@@ -2151,14 +2158,15 @@ const O_ = F1(
|
|
|
2151
2158
|
closeOnEsc: !0,
|
|
2152
2159
|
closeOnMouseDown: !0,
|
|
2153
2160
|
hasArrow: !0,
|
|
2154
|
-
isDisabled:
|
|
2161
|
+
isDisabled: y,
|
|
2155
2162
|
label: i,
|
|
2156
2163
|
openDelay: 500,
|
|
2157
|
-
|
|
2164
|
+
offset: v,
|
|
2165
|
+
placement: d,
|
|
2158
2166
|
ref: a,
|
|
2159
|
-
|
|
2160
|
-
...
|
|
2161
|
-
children:
|
|
2167
|
+
sx: k,
|
|
2168
|
+
...M,
|
|
2169
|
+
children: E
|
|
2162
2170
|
}
|
|
2163
2171
|
);
|
|
2164
2172
|
})
|
|
@@ -2303,7 +2311,7 @@ function B_(r) {
|
|
|
2303
2311
|
layout: M,
|
|
2304
2312
|
size: E
|
|
2305
2313
|
});
|
|
2306
|
-
return /* @__PURE__ */ x.jsx(
|
|
2314
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: _, children: /* @__PURE__ */ x.jsx(
|
|
2307
2315
|
sa,
|
|
2308
2316
|
{
|
|
2309
2317
|
alt: a,
|
|
@@ -2321,7 +2329,7 @@ function B_(r) {
|
|
|
2321
2329
|
const F_ = F1(s9), j_ = F1(
|
|
2322
2330
|
(r) => {
|
|
2323
2331
|
const { children: a, ...o } = r, s = R3("CardContent");
|
|
2324
|
-
return a ? /* @__PURE__ */ x.jsx(
|
|
2332
|
+
return a ? /* @__PURE__ */ x.jsx(v1, { __css: s, ...o, children: a }) : null;
|
|
2325
2333
|
}
|
|
2326
2334
|
), A_ = F1(
|
|
2327
2335
|
(r) => {
|
|
@@ -2331,7 +2339,7 @@ const F_ = F1(s9), j_ = F1(
|
|
|
2331
2339
|
layout: i,
|
|
2332
2340
|
topBorder: p
|
|
2333
2341
|
});
|
|
2334
|
-
return o ? /* @__PURE__ */ x.jsx(
|
|
2342
|
+
return o ? /* @__PURE__ */ x.jsx(v1, { __css: v, ...d, children: o }) : null;
|
|
2335
2343
|
}
|
|
2336
2344
|
), z_ = F1(
|
|
2337
2345
|
c2(
|
|
@@ -2345,7 +2353,7 @@ const F_ = F1(s9), j_ = F1(
|
|
|
2345
2353
|
...p,
|
|
2346
2354
|
children: a
|
|
2347
2355
|
}
|
|
2348
|
-
) : /* @__PURE__ */ x.jsx(
|
|
2356
|
+
) : /* @__PURE__ */ x.jsx(v1, { id: o, className: r, ref: d, sx: i, ...p, children: a })
|
|
2349
2357
|
)
|
|
2350
2358
|
);
|
|
2351
2359
|
function U_({
|
|
@@ -2400,14 +2408,14 @@ const uI = F1(
|
|
|
2400
2408
|
(j, i1) => {
|
|
2401
2409
|
const r1 = j.type === A_ || j.props.mdxType === "CardActions";
|
|
2402
2410
|
if (j.type === F_ || j.props.mdxType === "CardHeading") {
|
|
2403
|
-
const p1 = A === 0 ? /* @__PURE__ */ x.jsx(U_, { mainActionLink: k, children: j.props.children }) : j.props.children,
|
|
2411
|
+
const p1 = A === 0 ? /* @__PURE__ */ x.jsx(U_, { mainActionLink: k, children: j.props.children }) : j.props.children, g1 = X.cloneElement(j, {
|
|
2404
2412
|
key: i1,
|
|
2405
2413
|
// Override the child text with the potential `CardLinkOverlay`.
|
|
2406
2414
|
children: p1,
|
|
2407
2415
|
layout: E,
|
|
2408
2416
|
__css: Y.heading
|
|
2409
2417
|
});
|
|
2410
|
-
z.push(
|
|
2418
|
+
z.push(g1), A++;
|
|
2411
2419
|
} else if (j.type === j_ || j.props.mdxType === "CardContent") {
|
|
2412
2420
|
const p1 = X.cloneElement(j, { key: i1 });
|
|
2413
2421
|
z.push(p1);
|
|
@@ -2445,9 +2453,9 @@ const uI = F1(
|
|
|
2445
2453
|
src: v.src ? v.src : void 0
|
|
2446
2454
|
}
|
|
2447
2455
|
),
|
|
2448
|
-
/* @__PURE__ */ x.jsx(
|
|
2456
|
+
/* @__PURE__ */ x.jsx(v1, { className: "card-body", __css: Y.body, children: z }),
|
|
2449
2457
|
$.length ? /* @__PURE__ */ x.jsx(
|
|
2450
|
-
|
|
2458
|
+
v1,
|
|
2451
2459
|
{
|
|
2452
2460
|
className: "card-right",
|
|
2453
2461
|
__css: { ...Y.body, ...Y.actions },
|
|
@@ -2551,7 +2559,7 @@ const up = F1(
|
|
|
2551
2559
|
return o || console.warn(
|
|
2552
2560
|
"NYPL Reservoir Fieldset: This component's required `id` prop was not passed."
|
|
2553
2561
|
), /* @__PURE__ */ x.jsxs(
|
|
2554
|
-
|
|
2562
|
+
v1,
|
|
2555
2563
|
{
|
|
2556
2564
|
as: "fieldset",
|
|
2557
2565
|
id: o,
|
|
@@ -2719,17 +2727,17 @@ const up = F1(
|
|
|
2719
2727
|
"NYPL Reservoir CheckboxGroup: This component's required `id` prop was not passed."
|
|
2720
2728
|
), X.Children.map(
|
|
2721
2729
|
o,
|
|
2722
|
-
(
|
|
2723
|
-
if (
|
|
2724
|
-
const
|
|
2725
|
-
key:
|
|
2726
|
-
id: `${p}-${
|
|
2730
|
+
(g1, H1) => {
|
|
2731
|
+
if (g1 != null) {
|
|
2732
|
+
const x1 = {
|
|
2733
|
+
key: H1,
|
|
2734
|
+
id: `${p}-${H1}`,
|
|
2727
2735
|
name: _,
|
|
2728
2736
|
isDisabled: v,
|
|
2729
2737
|
isInvalid: L,
|
|
2730
2738
|
isRequired: M
|
|
2731
2739
|
};
|
|
2732
|
-
j.push(X.cloneElement(
|
|
2740
|
+
j.push(X.cloneElement(g1, x1));
|
|
2733
2741
|
}
|
|
2734
2742
|
}
|
|
2735
2743
|
);
|
|
@@ -2806,7 +2814,7 @@ const up = F1(
|
|
|
2806
2814
|
break;
|
|
2807
2815
|
}
|
|
2808
2816
|
const z = ($, A) => /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
2809
|
-
/* @__PURE__ */ x.jsx(
|
|
2817
|
+
/* @__PURE__ */ x.jsx(v1, { as: "span", display: { base: "block", md: "none" }, children: s[$] }),
|
|
2810
2818
|
/* @__PURE__ */ x.jsx("span", { children: A })
|
|
2811
2819
|
] });
|
|
2812
2820
|
return /* @__PURE__ */ x.jsx(ak, { children: y.map(($, A) => /* @__PURE__ */ x.jsx(Ry, { children: $.map(
|
|
@@ -2880,7 +2888,7 @@ const up = F1(
|
|
|
2880
2888
|
), _ = (G1, R1 = "small") => {
|
|
2881
2889
|
const E2 = R1 === "small" ? 1 : 2;
|
|
2882
2890
|
return (G1[E2] === "AA" || G1[E2] === "AAA") && /* @__PURE__ */ x.jsx(k, {});
|
|
2883
|
-
}, R = ["Color", "Ratio", "16px", "36px"], O = _(y), P = _(y, "large"), z = _(p), $ = _(p, "large"), A = L && _(L), Y = L && _(L, "large"), j = M && _(M), i1 = M && _(M, "large"), r1 = a && _(a), p1 = a && _(a, "large"),
|
|
2891
|
+
}, R = ["Color", "Ratio", "16px", "36px"], O = _(y), P = _(y, "large"), z = _(p), $ = _(p, "large"), A = L && _(L), Y = L && _(L, "large"), j = M && _(M), i1 = M && _(M, "large"), r1 = a && _(a), p1 = a && _(a, "large"), g1 = o && _(o), H1 = o && _(o, "large"), x1 = s && _(s), P1 = s && _(s, "large"), m1 = i && _(i), k1 = i && _(i, "large"), A1 = d && _(d), T1 = d && _(d, "large"), f2 = v && _(v), C1 = v && _(v, "large"), E1 = [
|
|
2884
2892
|
[
|
|
2885
2893
|
/* @__PURE__ */ x.jsxs("span", { style: { padding: 0 }, children: [
|
|
2886
2894
|
/* @__PURE__ */ x.jsx(o8, { backgroundColor: "white", border: !0 }),
|
|
@@ -3004,11 +3012,11 @@ const up = F1(
|
|
|
3004
3012
|
/* @__PURE__ */ x.jsx("span", { children: `${o[0]}:1` }, "colorBgDefaultRatio"),
|
|
3005
3013
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3006
3014
|
o[1],
|
|
3007
|
-
|
|
3015
|
+
g1
|
|
3008
3016
|
] }),
|
|
3009
3017
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3010
3018
|
o[2],
|
|
3011
|
-
|
|
3019
|
+
H1
|
|
3012
3020
|
] })
|
|
3013
3021
|
]), s && s.length > 0 && E1.push([
|
|
3014
3022
|
/* @__PURE__ */ x.jsxs("span", { style: { padding: 0 }, children: [
|
|
@@ -3018,7 +3026,7 @@ const up = F1(
|
|
|
3018
3026
|
/* @__PURE__ */ x.jsx("span", { children: `${s[0]}:1` }, "colorDarkBgPageRatio"),
|
|
3019
3027
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3020
3028
|
s[1],
|
|
3021
|
-
|
|
3029
|
+
x1
|
|
3022
3030
|
] }),
|
|
3023
3031
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3024
3032
|
s[2],
|
|
@@ -3046,7 +3054,7 @@ const up = F1(
|
|
|
3046
3054
|
/* @__PURE__ */ x.jsx("span", { children: `${d[0]}:1` }, "colorDarkHeadingRatio"),
|
|
3047
3055
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3048
3056
|
d[1],
|
|
3049
|
-
|
|
3057
|
+
A1
|
|
3050
3058
|
] }),
|
|
3051
3059
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3052
3060
|
d[2],
|
|
@@ -3096,7 +3104,7 @@ const up = F1(
|
|
|
3096
3104
|
textColor: O = "ui.white"
|
|
3097
3105
|
} = r, P = `--nypl-colors-${d.replace(/\./g, "-")}`, z = a === "ui.white" || a === "ui.typography.inverse.heading" || a === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : void 0;
|
|
3098
3106
|
return /* @__PURE__ */ x.jsx(
|
|
3099
|
-
|
|
3107
|
+
v1,
|
|
3100
3108
|
{
|
|
3101
3109
|
bg: a,
|
|
3102
3110
|
color: O,
|
|
@@ -3105,7 +3113,7 @@ const up = F1(
|
|
|
3105
3113
|
paddingTop: "s",
|
|
3106
3114
|
border: z,
|
|
3107
3115
|
children: /* @__PURE__ */ x.jsxs(ok, { alignItems: "top", children: [
|
|
3108
|
-
/* @__PURE__ */ x.jsxs(
|
|
3116
|
+
/* @__PURE__ */ x.jsxs(v1, { width: "80%", children: [
|
|
3109
3117
|
/* @__PURE__ */ x.jsx(
|
|
3110
3118
|
s9,
|
|
3111
3119
|
{
|
|
@@ -4442,40 +4450,40 @@ function Iy(r, a, o) {
|
|
|
4442
4450
|
var j = String(a), i1 = B0(), r1 = (s = (i = o == null ? void 0 : o.locale) !== null && i !== void 0 ? i : i1.locale) !== null && s !== void 0 ? s : Hb, p1 = q2((p = (d = (v = (y = o == null ? void 0 : o.firstWeekContainsDate) !== null && y !== void 0 ? y : o == null || (L = o.locale) === null || L === void 0 || (M = L.options) === null || M === void 0 ? void 0 : M.firstWeekContainsDate) !== null && v !== void 0 ? v : i1.firstWeekContainsDate) !== null && d !== void 0 ? d : (E = i1.locale) === null || E === void 0 || (k = E.options) === null || k === void 0 ? void 0 : k.firstWeekContainsDate) !== null && p !== void 0 ? p : 1);
|
|
4443
4451
|
if (!(p1 >= 1 && p1 <= 7))
|
|
4444
4452
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
4445
|
-
var
|
|
4446
|
-
if (!(
|
|
4453
|
+
var g1 = q2((_ = (R = (O = (P = o == null ? void 0 : o.weekStartsOn) !== null && P !== void 0 ? P : o == null || (z = o.locale) === null || z === void 0 || ($ = z.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && O !== void 0 ? O : i1.weekStartsOn) !== null && R !== void 0 ? R : (A = i1.locale) === null || A === void 0 || (Y = A.options) === null || Y === void 0 ? void 0 : Y.weekStartsOn) !== null && _ !== void 0 ? _ : 0);
|
|
4454
|
+
if (!(g1 >= 0 && g1 <= 6))
|
|
4447
4455
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
4448
4456
|
if (!r1.localize)
|
|
4449
4457
|
throw new RangeError("locale must contain localize property");
|
|
4450
4458
|
if (!r1.formatLong)
|
|
4451
4459
|
throw new RangeError("locale must contain formatLong property");
|
|
4452
|
-
var
|
|
4453
|
-
if (!ac(
|
|
4460
|
+
var H1 = a2(r);
|
|
4461
|
+
if (!ac(H1))
|
|
4454
4462
|
throw new RangeError("Invalid time value");
|
|
4455
|
-
var
|
|
4463
|
+
var x1 = ic(H1), P1 = mb(H1, x1), m1 = {
|
|
4456
4464
|
firstWeekContainsDate: p1,
|
|
4457
|
-
weekStartsOn:
|
|
4465
|
+
weekStartsOn: g1,
|
|
4458
4466
|
locale: r1,
|
|
4459
|
-
_originalDate:
|
|
4460
|
-
}, k1 = j.match(AD).map(function(
|
|
4461
|
-
var T1 =
|
|
4467
|
+
_originalDate: H1
|
|
4468
|
+
}, k1 = j.match(AD).map(function(A1) {
|
|
4469
|
+
var T1 = A1[0];
|
|
4462
4470
|
if (T1 === "p" || T1 === "P") {
|
|
4463
4471
|
var f2 = Kp[T1];
|
|
4464
|
-
return f2(
|
|
4472
|
+
return f2(A1, r1.formatLong);
|
|
4465
4473
|
}
|
|
4466
|
-
return
|
|
4467
|
-
}).join("").match(jD).map(function(
|
|
4468
|
-
if (
|
|
4474
|
+
return A1;
|
|
4475
|
+
}).join("").match(jD).map(function(A1) {
|
|
4476
|
+
if (A1 === "''")
|
|
4469
4477
|
return "'";
|
|
4470
|
-
var T1 =
|
|
4478
|
+
var T1 = A1[0];
|
|
4471
4479
|
if (T1 === "'")
|
|
4472
|
-
return $D(
|
|
4480
|
+
return $D(A1);
|
|
4473
4481
|
var f2 = aD[T1];
|
|
4474
4482
|
if (f2)
|
|
4475
|
-
return !(o != null && o.useAdditionalWeekYearTokens) && wb(
|
|
4483
|
+
return !(o != null && o.useAdditionalWeekYearTokens) && wb(A1) && oc(A1, a, String(r)), !(o != null && o.useAdditionalDayOfYearTokens) && bb(A1) && oc(A1, a, String(r)), f2(P1, A1, r1.localize, m1);
|
|
4476
4484
|
if (T1.match(ID))
|
|
4477
4485
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + T1 + "`");
|
|
4478
|
-
return
|
|
4486
|
+
return A1;
|
|
4479
4487
|
}).join("");
|
|
4480
4488
|
return k1;
|
|
4481
4489
|
}
|
|
@@ -6583,29 +6591,29 @@ var UR = /* @__PURE__ */ function(r) {
|
|
|
6583
6591
|
function Cp(r, a, o, s) {
|
|
6584
6592
|
var i, p, d, v, y, L, M, E, k, _, R, O, P, z, $, A, Y, j;
|
|
6585
6593
|
j1(3, arguments);
|
|
6586
|
-
var i1 = String(r), r1 = String(a), p1 = B0(),
|
|
6587
|
-
if (!
|
|
6594
|
+
var i1 = String(r), r1 = String(a), p1 = B0(), g1 = (i = (p = s == null ? void 0 : s.locale) !== null && p !== void 0 ? p : p1.locale) !== null && i !== void 0 ? i : Hb;
|
|
6595
|
+
if (!g1.match)
|
|
6588
6596
|
throw new RangeError("locale must contain match property");
|
|
6589
|
-
var
|
|
6590
|
-
if (!(
|
|
6597
|
+
var H1 = q2((d = (v = (y = (L = s == null ? void 0 : s.firstWeekContainsDate) !== null && L !== void 0 ? L : s == null || (M = s.locale) === null || M === void 0 || (E = M.options) === null || E === void 0 ? void 0 : E.firstWeekContainsDate) !== null && y !== void 0 ? y : p1.firstWeekContainsDate) !== null && v !== void 0 ? v : (k = p1.locale) === null || k === void 0 || (_ = k.options) === null || _ === void 0 ? void 0 : _.firstWeekContainsDate) !== null && d !== void 0 ? d : 1);
|
|
6598
|
+
if (!(H1 >= 1 && H1 <= 7))
|
|
6591
6599
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
6592
|
-
var
|
|
6593
|
-
if (!(
|
|
6600
|
+
var x1 = q2((R = (O = (P = (z = s == null ? void 0 : s.weekStartsOn) !== null && z !== void 0 ? z : s == null || ($ = s.locale) === null || $ === void 0 || (A = $.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && P !== void 0 ? P : p1.weekStartsOn) !== null && O !== void 0 ? O : (Y = p1.locale) === null || Y === void 0 || (j = Y.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && R !== void 0 ? R : 0);
|
|
6601
|
+
if (!(x1 >= 0 && x1 <= 6))
|
|
6594
6602
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
6595
6603
|
if (r1 === "")
|
|
6596
6604
|
return i1 === "" ? a2(o) : /* @__PURE__ */ new Date(NaN);
|
|
6597
6605
|
var P1 = {
|
|
6598
|
-
firstWeekContainsDate:
|
|
6599
|
-
weekStartsOn:
|
|
6600
|
-
locale:
|
|
6606
|
+
firstWeekContainsDate: H1,
|
|
6607
|
+
weekStartsOn: x1,
|
|
6608
|
+
locale: g1
|
|
6601
6609
|
}, m1 = [new LR()], k1 = r1.match(oZ).map(function(s2) {
|
|
6602
6610
|
var o2 = s2[0];
|
|
6603
6611
|
if (o2 in Kp) {
|
|
6604
6612
|
var P2 = Kp[o2];
|
|
6605
|
-
return P2(s2,
|
|
6613
|
+
return P2(s2, g1.formatLong);
|
|
6606
6614
|
}
|
|
6607
6615
|
return s2;
|
|
6608
|
-
}).join("").match(iZ),
|
|
6616
|
+
}).join("").match(iZ), A1 = [], T1 = qy(k1), f2;
|
|
6609
6617
|
try {
|
|
6610
6618
|
var C1 = function() {
|
|
6611
6619
|
var o2 = f2.value;
|
|
@@ -6614,18 +6622,18 @@ function Cp(r, a, o, s) {
|
|
|
6614
6622
|
if (G2) {
|
|
6615
6623
|
var V3 = G2.incompatibleTokens;
|
|
6616
6624
|
if (Array.isArray(V3)) {
|
|
6617
|
-
var Y2 =
|
|
6618
|
-
return V3.includes(
|
|
6625
|
+
var Y2 = A1.find(function(U1) {
|
|
6626
|
+
return V3.includes(U1.token) || U1.token === P2;
|
|
6619
6627
|
});
|
|
6620
6628
|
if (Y2)
|
|
6621
6629
|
throw new RangeError("The format string mustn't contain `".concat(Y2.fullToken, "` and `").concat(o2, "` at the same time"));
|
|
6622
|
-
} else if (G2.incompatibleTokens === "*" &&
|
|
6630
|
+
} else if (G2.incompatibleTokens === "*" && A1.length > 0)
|
|
6623
6631
|
throw new RangeError("The format string mustn't contain `".concat(o2, "` and any other token at the same time"));
|
|
6624
|
-
|
|
6632
|
+
A1.push({
|
|
6625
6633
|
token: P2,
|
|
6626
6634
|
fullToken: o2
|
|
6627
6635
|
});
|
|
6628
|
-
var _1 = G2.run(i1, o2,
|
|
6636
|
+
var _1 = G2.run(i1, o2, g1.match, P1);
|
|
6629
6637
|
if (!_1)
|
|
6630
6638
|
return {
|
|
6631
6639
|
v: /* @__PURE__ */ new Date(NaN)
|
|
@@ -6892,7 +6900,7 @@ function SZ() {
|
|
|
6892
6900
|
R = !1, O && (O = !1, z(p1), p1 = -1), _ = !0;
|
|
6893
6901
|
var y1 = k;
|
|
6894
6902
|
try {
|
|
6895
|
-
for (A(E1), E = o(y); E !== null && (!(E.expirationTime > E1) || C1 && !
|
|
6903
|
+
for (A(E1), E = o(y); E !== null && (!(E.expirationTime > E1) || C1 && !x1()); ) {
|
|
6896
6904
|
var K1 = E.callback;
|
|
6897
6905
|
if (typeof K1 == "function") {
|
|
6898
6906
|
E.callback = null, k = E.priorityLevel;
|
|
@@ -6913,14 +6921,14 @@ function SZ() {
|
|
|
6913
6921
|
E = null, k = y1, _ = !1;
|
|
6914
6922
|
}
|
|
6915
6923
|
}
|
|
6916
|
-
var i1 = !1, r1 = null, p1 = -1,
|
|
6917
|
-
function
|
|
6918
|
-
return !(r.unstable_now() -
|
|
6924
|
+
var i1 = !1, r1 = null, p1 = -1, g1 = 5, H1 = -1;
|
|
6925
|
+
function x1() {
|
|
6926
|
+
return !(r.unstable_now() - H1 < g1);
|
|
6919
6927
|
}
|
|
6920
6928
|
function P1() {
|
|
6921
6929
|
if (r1 !== null) {
|
|
6922
6930
|
var C1 = r.unstable_now();
|
|
6923
|
-
|
|
6931
|
+
H1 = C1;
|
|
6924
6932
|
var E1 = !0;
|
|
6925
6933
|
try {
|
|
6926
6934
|
E1 = r1(!0, C1);
|
|
@@ -6936,9 +6944,9 @@ function SZ() {
|
|
|
6936
6944
|
$(P1);
|
|
6937
6945
|
};
|
|
6938
6946
|
else if (typeof MessageChannel < "u") {
|
|
6939
|
-
var k1 = new MessageChannel(),
|
|
6947
|
+
var k1 = new MessageChannel(), A1 = k1.port2;
|
|
6940
6948
|
k1.port1.onmessage = P1, m1 = function() {
|
|
6941
|
-
|
|
6949
|
+
A1.postMessage(null);
|
|
6942
6950
|
};
|
|
6943
6951
|
} else
|
|
6944
6952
|
m1 = function() {
|
|
@@ -6957,7 +6965,7 @@ function SZ() {
|
|
|
6957
6965
|
}, r.unstable_continueExecution = function() {
|
|
6958
6966
|
R || _ || (R = !0, T1(j));
|
|
6959
6967
|
}, r.unstable_forceFrameRate = function(C1) {
|
|
6960
|
-
0 > C1 || 125 < C1 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") :
|
|
6968
|
+
0 > C1 || 125 < C1 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : g1 = 0 < C1 ? Math.floor(1e3 / C1) : 5;
|
|
6961
6969
|
}, r.unstable_getCurrentPriorityLevel = function() {
|
|
6962
6970
|
return k;
|
|
6963
6971
|
}, r.unstable_getFirstCallbackNode = function() {
|
|
@@ -7018,7 +7026,7 @@ function SZ() {
|
|
|
7018
7026
|
G1 = 5e3;
|
|
7019
7027
|
}
|
|
7020
7028
|
return G1 = y1 + G1, C1 = { id: M++, callback: E1, priorityLevel: C1, startTime: y1, expirationTime: G1, sortIndex: -1 }, y1 > K1 ? (C1.sortIndex = y1, a(L, C1), o(y) === null && C1 === o(L) && (O ? (z(p1), p1 = -1) : O = !0, f2(Y, y1 - K1))) : (C1.sortIndex = G1, a(y, C1), R || _ || (R = !0, T1(j))), C1;
|
|
7021
|
-
}, r.unstable_shouldYield =
|
|
7029
|
+
}, r.unstable_shouldYield = x1, r.unstable_wrapCallback = function(C1) {
|
|
7022
7030
|
var E1 = k;
|
|
7023
7031
|
return function() {
|
|
7024
7032
|
var y1 = k;
|
|
@@ -7100,54 +7108,54 @@ function kZ() {
|
|
|
7100
7108
|
return $.now() - A;
|
|
7101
7109
|
};
|
|
7102
7110
|
}
|
|
7103
|
-
var Y = 1073741823, j = -1, i1 = 250, r1 = 5e3, p1 = 1e4,
|
|
7111
|
+
var Y = 1073741823, j = -1, i1 = 250, r1 = 5e3, p1 = 1e4, g1 = Y, H1 = [], x1 = [], P1 = 1, m1 = null, k1 = k, A1 = !1, T1 = !1, f2 = !1, C1 = typeof setTimeout == "function" ? setTimeout : null, E1 = typeof clearTimeout == "function" ? clearTimeout : null, y1 = typeof setImmediate < "u" ? setImmediate : null;
|
|
7104
7112
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
7105
7113
|
function K1(D1) {
|
|
7106
|
-
for (var d2 = p(
|
|
7114
|
+
for (var d2 = p(x1); d2 !== null; ) {
|
|
7107
7115
|
if (d2.callback === null)
|
|
7108
|
-
d(
|
|
7116
|
+
d(x1);
|
|
7109
7117
|
else if (d2.startTime <= D1)
|
|
7110
|
-
d(
|
|
7118
|
+
d(x1), d2.sortIndex = d2.expirationTime, i(H1, d2);
|
|
7111
7119
|
else
|
|
7112
7120
|
return;
|
|
7113
|
-
d2 = p(
|
|
7121
|
+
d2 = p(x1);
|
|
7114
7122
|
}
|
|
7115
7123
|
}
|
|
7116
7124
|
function G1(D1) {
|
|
7117
7125
|
if (f2 = !1, K1(D1), !T1)
|
|
7118
|
-
if (p(
|
|
7126
|
+
if (p(H1) !== null)
|
|
7119
7127
|
T1 = !0, c4(R1);
|
|
7120
7128
|
else {
|
|
7121
|
-
var d2 = p(
|
|
7129
|
+
var d2 = p(x1);
|
|
7122
7130
|
d2 !== null && $3(G1, d2.startTime - D1);
|
|
7123
7131
|
}
|
|
7124
7132
|
}
|
|
7125
7133
|
function R1(D1, d2) {
|
|
7126
|
-
T1 = !1, f2 && (f2 = !1, ge()),
|
|
7134
|
+
T1 = !1, f2 && (f2 = !1, ge()), A1 = !0;
|
|
7127
7135
|
var B2 = k1;
|
|
7128
7136
|
try {
|
|
7129
7137
|
var m3;
|
|
7130
7138
|
if (!o)
|
|
7131
7139
|
return E2(D1, d2);
|
|
7132
7140
|
} finally {
|
|
7133
|
-
m1 = null, k1 = B2,
|
|
7141
|
+
m1 = null, k1 = B2, A1 = !1;
|
|
7134
7142
|
}
|
|
7135
7143
|
}
|
|
7136
7144
|
function E2(D1, d2) {
|
|
7137
7145
|
var B2 = d2;
|
|
7138
|
-
for (K1(B2), m1 = p(
|
|
7146
|
+
for (K1(B2), m1 = p(H1); m1 !== null && !a && !(m1.expirationTime > B2 && (!D1 || me())); ) {
|
|
7139
7147
|
var m3 = m1.callback;
|
|
7140
7148
|
if (typeof m3 == "function") {
|
|
7141
7149
|
m1.callback = null, k1 = m1.priorityLevel;
|
|
7142
7150
|
var v3 = m1.expirationTime <= B2, ne = m3(v3);
|
|
7143
|
-
B2 = r.unstable_now(), typeof ne == "function" ? m1.callback = ne : m1 === p(
|
|
7151
|
+
B2 = r.unstable_now(), typeof ne == "function" ? m1.callback = ne : m1 === p(H1) && d(H1), K1(B2);
|
|
7144
7152
|
} else
|
|
7145
|
-
d(
|
|
7146
|
-
m1 = p(
|
|
7153
|
+
d(H1);
|
|
7154
|
+
m1 = p(H1);
|
|
7147
7155
|
}
|
|
7148
7156
|
if (m1 !== null)
|
|
7149
7157
|
return !0;
|
|
7150
|
-
var re = p(
|
|
7158
|
+
var re = p(x1);
|
|
7151
7159
|
return re !== null && $3(G1, re.startTime - B2), !1;
|
|
7152
7160
|
}
|
|
7153
7161
|
function a3(D1, d2) {
|
|
@@ -7217,7 +7225,7 @@ function kZ() {
|
|
|
7217
7225
|
re = i1;
|
|
7218
7226
|
break;
|
|
7219
7227
|
case R:
|
|
7220
|
-
re =
|
|
7228
|
+
re = g1;
|
|
7221
7229
|
break;
|
|
7222
7230
|
case _:
|
|
7223
7231
|
re = p1;
|
|
@@ -7235,15 +7243,15 @@ function kZ() {
|
|
|
7235
7243
|
expirationTime: qe,
|
|
7236
7244
|
sortIndex: -1
|
|
7237
7245
|
};
|
|
7238
|
-
return v3 > m3 ? (S3.sortIndex = v3, i(
|
|
7246
|
+
return v3 > m3 ? (S3.sortIndex = v3, i(x1, S3), p(H1) === null && S3 === p(x1) && (f2 ? ge() : f2 = !0, $3(G1, v3 - m3))) : (S3.sortIndex = qe, i(H1, S3), !T1 && !A1 && (T1 = !0, c4(R1))), S3;
|
|
7239
7247
|
}
|
|
7240
7248
|
function o2() {
|
|
7241
7249
|
}
|
|
7242
7250
|
function P2() {
|
|
7243
|
-
!T1 &&
|
|
7251
|
+
!T1 && !A1 && (T1 = !0, c4(R1));
|
|
7244
7252
|
}
|
|
7245
7253
|
function G2() {
|
|
7246
|
-
return p(
|
|
7254
|
+
return p(H1);
|
|
7247
7255
|
}
|
|
7248
7256
|
function V3(D1) {
|
|
7249
7257
|
D1.callback = null;
|
|
@@ -7251,7 +7259,7 @@ function kZ() {
|
|
|
7251
7259
|
function Y2() {
|
|
7252
7260
|
return k1;
|
|
7253
7261
|
}
|
|
7254
|
-
var _1 = !1,
|
|
7262
|
+
var _1 = !1, U1 = null, N2 = -1, _2 = s, Z3 = -1;
|
|
7255
7263
|
function me() {
|
|
7256
7264
|
var D1 = r.unstable_now() - Z3;
|
|
7257
7265
|
return !(D1 < _2);
|
|
@@ -7266,14 +7274,14 @@ function kZ() {
|
|
|
7266
7274
|
D1 > 0 ? _2 = Math.floor(1e3 / D1) : _2 = s;
|
|
7267
7275
|
}
|
|
7268
7276
|
var ve = function() {
|
|
7269
|
-
if (
|
|
7277
|
+
if (U1 !== null) {
|
|
7270
7278
|
var D1 = r.unstable_now();
|
|
7271
7279
|
Z3 = D1;
|
|
7272
7280
|
var d2 = !0, B2 = !0;
|
|
7273
7281
|
try {
|
|
7274
|
-
B2 =
|
|
7282
|
+
B2 = U1(d2, D1);
|
|
7275
7283
|
} finally {
|
|
7276
|
-
B2 ? D2() : (_1 = !1,
|
|
7284
|
+
B2 ? D2() : (_1 = !1, U1 = null);
|
|
7277
7285
|
}
|
|
7278
7286
|
} else
|
|
7279
7287
|
_1 = !1;
|
|
@@ -7292,7 +7300,7 @@ function kZ() {
|
|
|
7292
7300
|
C1(ve, 0);
|
|
7293
7301
|
};
|
|
7294
7302
|
function c4(D1) {
|
|
7295
|
-
|
|
7303
|
+
U1 = D1, _1 || (_1 = !0, D2());
|
|
7296
7304
|
}
|
|
7297
7305
|
function $3(D1, d2) {
|
|
7298
7306
|
N2 = C1(function() {
|
|
@@ -7423,7 +7431,7 @@ function TZ() {
|
|
|
7423
7431
|
var b = P.hasOwnProperty(l) ? P[l] : null;
|
|
7424
7432
|
(b !== null ? b.type !== 0 : m || !(2 < l.length) || l[0] !== "o" && l[0] !== "O" || l[1] !== "n" && l[1] !== "N") && (R(l, f, b, m) && (f = null), m || b === null ? k(l) && (f === null ? n.removeAttribute(l) : n.setAttribute(l, "" + f)) : b.mustUseProperty ? n[b.propertyName] = f === null ? b.type === 3 ? !1 : "" : f : (l = b.attributeName, m = b.attributeNamespace, f === null ? n.removeAttribute(l) : (b = b.type, f = b === 3 || b === 4 && f === !0 ? "" : "" + f, m ? n.setAttributeNS(m, l, f) : n.setAttribute(l, f))));
|
|
7425
7433
|
}
|
|
7426
|
-
var Y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, j = Symbol.for("react.element"), i1 = Symbol.for("react.portal"), r1 = Symbol.for("react.fragment"), p1 = Symbol.for("react.strict_mode"),
|
|
7434
|
+
var Y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, j = Symbol.for("react.element"), i1 = Symbol.for("react.portal"), r1 = Symbol.for("react.fragment"), p1 = Symbol.for("react.strict_mode"), g1 = Symbol.for("react.profiler"), H1 = Symbol.for("react.provider"), x1 = Symbol.for("react.context"), P1 = Symbol.for("react.forward_ref"), m1 = Symbol.for("react.suspense"), k1 = Symbol.for("react.suspense_list"), A1 = Symbol.for("react.memo"), T1 = Symbol.for("react.lazy"), f2 = Symbol.for("react.offscreen"), C1 = Symbol.iterator;
|
|
7427
7435
|
function E1(n) {
|
|
7428
7436
|
return n === null || typeof n != "object" ? null : (n = C1 && n[C1] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
7429
7437
|
}
|
|
@@ -7533,7 +7541,7 @@ function TZ() {
|
|
|
7533
7541
|
return "Fragment";
|
|
7534
7542
|
case i1:
|
|
7535
7543
|
return "Portal";
|
|
7536
|
-
case
|
|
7544
|
+
case g1:
|
|
7537
7545
|
return "Profiler";
|
|
7538
7546
|
case p1:
|
|
7539
7547
|
return "StrictMode";
|
|
@@ -7544,14 +7552,14 @@ function TZ() {
|
|
|
7544
7552
|
}
|
|
7545
7553
|
if (typeof n == "object")
|
|
7546
7554
|
switch (n.$$typeof) {
|
|
7547
|
-
case
|
|
7555
|
+
case x1:
|
|
7548
7556
|
return (n.displayName || "Context") + ".Consumer";
|
|
7549
|
-
case
|
|
7557
|
+
case H1:
|
|
7550
7558
|
return (n._context.displayName || "Context") + ".Provider";
|
|
7551
7559
|
case P1:
|
|
7552
7560
|
var l = n.render;
|
|
7553
7561
|
return n = n.displayName, n || (n = l.displayName || l.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
7554
|
-
case
|
|
7562
|
+
case A1:
|
|
7555
7563
|
return l = n.displayName || null, l !== null ? l : H2(n.type) || "Memo";
|
|
7556
7564
|
case T1:
|
|
7557
7565
|
l = n._payload, n = n._init;
|
|
@@ -7673,7 +7681,7 @@ function TZ() {
|
|
|
7673
7681
|
var f = l.checked;
|
|
7674
7682
|
return y1({}, l, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: f ?? n._wrapperState.initialChecked });
|
|
7675
7683
|
}
|
|
7676
|
-
function
|
|
7684
|
+
function U1(n, l) {
|
|
7677
7685
|
var f = l.defaultValue == null ? "" : l.defaultValue, m = l.checked != null ? l.checked : l.defaultChecked;
|
|
7678
7686
|
f = s2(l.value != null ? l.value : f), n._wrapperState = { initialChecked: m, initialValue: f, controlled: l.type === "checkbox" || l.type === "radio" ? l.checked != null : l.value != null };
|
|
7679
7687
|
}
|
|
@@ -8966,28 +8974,28 @@ function TZ() {
|
|
|
8966
8974
|
m = m.return;
|
|
8967
8975
|
}
|
|
8968
8976
|
C4(function() {
|
|
8969
|
-
var s1 = H, b1 = S3(f),
|
|
8977
|
+
var s1 = H, b1 = S3(f), V1 = [];
|
|
8970
8978
|
e: {
|
|
8971
8979
|
var L1 = Hl.get(n);
|
|
8972
8980
|
if (L1 !== void 0) {
|
|
8973
|
-
var
|
|
8981
|
+
var I1 = Q0, t2 = n;
|
|
8974
8982
|
switch (n) {
|
|
8975
8983
|
case "keypress":
|
|
8976
8984
|
if (V5(f) === 0)
|
|
8977
8985
|
break e;
|
|
8978
8986
|
case "keydown":
|
|
8979
8987
|
case "keyup":
|
|
8980
|
-
|
|
8988
|
+
I1 = Pc;
|
|
8981
8989
|
break;
|
|
8982
8990
|
case "focusin":
|
|
8983
|
-
t2 = "focus",
|
|
8991
|
+
t2 = "focus", I1 = k7;
|
|
8984
8992
|
break;
|
|
8985
8993
|
case "focusout":
|
|
8986
|
-
t2 = "blur",
|
|
8994
|
+
t2 = "blur", I1 = k7;
|
|
8987
8995
|
break;
|
|
8988
8996
|
case "beforeblur":
|
|
8989
8997
|
case "afterblur":
|
|
8990
|
-
|
|
8998
|
+
I1 = k7;
|
|
8991
8999
|
break;
|
|
8992
9000
|
case "click":
|
|
8993
9001
|
if (f.button === 2)
|
|
@@ -9000,7 +9008,7 @@ function TZ() {
|
|
|
9000
9008
|
case "mouseout":
|
|
9001
9009
|
case "mouseover":
|
|
9002
9010
|
case "contextmenu":
|
|
9003
|
-
|
|
9011
|
+
I1 = G0;
|
|
9004
9012
|
break;
|
|
9005
9013
|
case "drag":
|
|
9006
9014
|
case "dragend":
|
|
@@ -9010,32 +9018,32 @@ function TZ() {
|
|
|
9010
9018
|
case "dragover":
|
|
9011
9019
|
case "dragstart":
|
|
9012
9020
|
case "drop":
|
|
9013
|
-
|
|
9021
|
+
I1 = Ko;
|
|
9014
9022
|
break;
|
|
9015
9023
|
case "touchcancel":
|
|
9016
9024
|
case "touchend":
|
|
9017
9025
|
case "touchmove":
|
|
9018
9026
|
case "touchstart":
|
|
9019
|
-
|
|
9027
|
+
I1 = Bc;
|
|
9020
9028
|
break;
|
|
9021
9029
|
case ka:
|
|
9022
9030
|
case Ll:
|
|
9023
9031
|
case bl:
|
|
9024
|
-
|
|
9032
|
+
I1 = Jo;
|
|
9025
9033
|
break;
|
|
9026
9034
|
case wl:
|
|
9027
|
-
|
|
9035
|
+
I1 = rl;
|
|
9028
9036
|
break;
|
|
9029
9037
|
case "scroll":
|
|
9030
|
-
|
|
9038
|
+
I1 = Go;
|
|
9031
9039
|
break;
|
|
9032
9040
|
case "wheel":
|
|
9033
|
-
|
|
9041
|
+
I1 = $6;
|
|
9034
9042
|
break;
|
|
9035
9043
|
case "copy":
|
|
9036
9044
|
case "cut":
|
|
9037
9045
|
case "paste":
|
|
9038
|
-
|
|
9046
|
+
I1 = Oc;
|
|
9039
9047
|
break;
|
|
9040
9048
|
case "gotpointercapture":
|
|
9041
9049
|
case "lostpointercapture":
|
|
@@ -9045,7 +9053,7 @@ function TZ() {
|
|
|
9045
9053
|
case "pointerout":
|
|
9046
9054
|
case "pointerover":
|
|
9047
9055
|
case "pointerup":
|
|
9048
|
-
|
|
9056
|
+
I1 = X0;
|
|
9049
9057
|
}
|
|
9050
9058
|
var i2 = (l & 4) !== 0, Le = !i2 && n === "scroll", e1 = i2 ? L1 !== null ? L1 + "Capture" : null : L1;
|
|
9051
9059
|
i2 = [];
|
|
@@ -9056,17 +9064,17 @@ function TZ() {
|
|
|
9056
9064
|
break;
|
|
9057
9065
|
q = q.return;
|
|
9058
9066
|
}
|
|
9059
|
-
0 < i2.length && (L1 = new
|
|
9067
|
+
0 < i2.length && (L1 = new I1(L1, t2, null, f, b1), V1.push({ event: L1, listeners: i2 }));
|
|
9060
9068
|
}
|
|
9061
9069
|
}
|
|
9062
9070
|
if (!(l & 7)) {
|
|
9063
9071
|
e: {
|
|
9064
|
-
if (L1 = n === "mouseover" || n === "pointerover",
|
|
9072
|
+
if (L1 = n === "mouseover" || n === "pointerover", I1 = n === "mouseout" || n === "pointerout", L1 && f !== qe && (t2 = f.relatedTarget || f.fromElement) && (E5(t2) || t2[q6]))
|
|
9065
9073
|
break e;
|
|
9066
|
-
if ((
|
|
9067
|
-
if (i2 = G0, S1 = "onMouseLeave", e1 = "onMouseEnter", q = "mouse", (n === "pointerout" || n === "pointerover") && (i2 = X0, S1 = "onPointerLeave", e1 = "onPointerEnter", q = "pointer"), Le =
|
|
9074
|
+
if ((I1 || L1) && (L1 = b1.window === b1 ? b1 : (L1 = b1.ownerDocument) ? L1.defaultView || L1.parentWindow : window, I1 ? (t2 = f.relatedTarget || f.toElement, I1 = s1, t2 = t2 ? E5(t2) : null, t2 !== null && (Le = x2(t2), t2 !== Le || t2.tag !== 5 && t2.tag !== 6) && (t2 = null)) : (I1 = null, t2 = s1), I1 !== t2)) {
|
|
9075
|
+
if (i2 = G0, S1 = "onMouseLeave", e1 = "onMouseEnter", q = "mouse", (n === "pointerout" || n === "pointerover") && (i2 = X0, S1 = "onPointerLeave", e1 = "onPointerEnter", q = "pointer"), Le = I1 == null ? L1 : E9(I1), a1 = t2 == null ? L1 : E9(t2), L1 = new i2(S1, q + "leave", I1, f, b1), L1.target = Le, L1.relatedTarget = a1, S1 = null, E5(b1) === s1 && (i2 = new i2(e1, q + "enter", t2, f, b1), i2.target = a1, i2.relatedTarget = Le, S1 = i2), Le = S1, I1 && t2)
|
|
9068
9076
|
t: {
|
|
9069
|
-
for (i2 =
|
|
9077
|
+
for (i2 = I1, e1 = t2, q = 0, a1 = i2; a1; a1 = b8(a1))
|
|
9070
9078
|
q++;
|
|
9071
9079
|
for (a1 = 0, S1 = e1; S1; S1 = b8(S1))
|
|
9072
9080
|
a1++;
|
|
@@ -9083,11 +9091,11 @@ function TZ() {
|
|
|
9083
9091
|
}
|
|
9084
9092
|
else
|
|
9085
9093
|
i2 = null;
|
|
9086
|
-
|
|
9094
|
+
I1 !== null && Ta(V1, L1, I1, i2, !1), t2 !== null && Le !== null && Ta(V1, Le, t2, i2, !0);
|
|
9087
9095
|
}
|
|
9088
9096
|
}
|
|
9089
9097
|
e: {
|
|
9090
|
-
if (L1 = s1 ? E9(s1) : window,
|
|
9098
|
+
if (L1 = s1 ? E9(s1) : window, I1 = L1.nodeName && L1.nodeName.toLowerCase(), I1 === "select" || I1 === "input" && L1.type === "file")
|
|
9091
9099
|
var l2 = cl;
|
|
9092
9100
|
else if (sl(L1))
|
|
9093
9101
|
if (wa)
|
|
@@ -9097,9 +9105,9 @@ function TZ() {
|
|
|
9097
9105
|
var n2 = Ac;
|
|
9098
9106
|
}
|
|
9099
9107
|
else
|
|
9100
|
-
(
|
|
9108
|
+
(I1 = L1.nodeName) && I1.toLowerCase() === "input" && (L1.type === "checkbox" || L1.type === "radio") && (l2 = Uc);
|
|
9101
9109
|
if (l2 && (l2 = l2(n, s1))) {
|
|
9102
|
-
ul(
|
|
9110
|
+
ul(V1, l2, f, b1);
|
|
9103
9111
|
break e;
|
|
9104
9112
|
}
|
|
9105
9113
|
n2 && n2(n, L1, s1), n === "focusout" && (n2 = L1._wrapperState) && n2.controlled && L1.type === "number" && me(L1, "number", L1.value);
|
|
@@ -9117,14 +9125,14 @@ function TZ() {
|
|
|
9117
9125
|
case "contextmenu":
|
|
9118
9126
|
case "mouseup":
|
|
9119
9127
|
case "dragend":
|
|
9120
|
-
Ma = !1, yl(
|
|
9128
|
+
Ma = !1, yl(V1, f, b1);
|
|
9121
9129
|
break;
|
|
9122
9130
|
case "selectionchange":
|
|
9123
9131
|
if (gl)
|
|
9124
9132
|
break;
|
|
9125
9133
|
case "keydown":
|
|
9126
9134
|
case "keyup":
|
|
9127
|
-
yl(
|
|
9135
|
+
yl(V1, f, b1);
|
|
9128
9136
|
}
|
|
9129
9137
|
var p2;
|
|
9130
9138
|
if (Q5)
|
|
@@ -9144,9 +9152,9 @@ function TZ() {
|
|
|
9144
9152
|
}
|
|
9145
9153
|
else
|
|
9146
9154
|
w9 ? ol(n, f) && (M2 = "onCompositionEnd") : n === "keydown" && f.keyCode === 229 && (M2 = "onCompositionStart");
|
|
9147
|
-
M2 && (al && f.locale !== "ko" && (w9 || M2 !== "onCompositionStart" ? M2 === "onCompositionEnd" && w9 && (p2 = Xe()) : (F2 = b1, w3 = "value" in F2 ? F2.value : F2.textContent, w9 = !0)), n2 = Pt(s1, M2), 0 < n2.length && (M2 = new va(M2, n, null, f, b1),
|
|
9155
|
+
M2 && (al && f.locale !== "ko" && (w9 || M2 !== "onCompositionStart" ? M2 === "onCompositionEnd" && w9 && (p2 = Xe()) : (F2 = b1, w3 = "value" in F2 ? F2.value : F2.textContent, w9 = !0)), n2 = Pt(s1, M2), 0 < n2.length && (M2 = new va(M2, n, null, f, b1), V1.push({ event: M2, listeners: n2 }), p2 ? M2.data = p2 : (p2 = en(f), p2 !== null && (M2.data = p2)))), (p2 = J0 ? Fc(n, f) : jc(n, f)) && (s1 = Pt(s1, "onBeforeInput"), 0 < s1.length && (b1 = new va("onBeforeInput", "beforeinput", null, f, b1), V1.push({ event: b1, listeners: s1 }), b1.data = p2));
|
|
9148
9156
|
}
|
|
9149
|
-
an(
|
|
9157
|
+
an(V1, l);
|
|
9150
9158
|
});
|
|
9151
9159
|
}
|
|
9152
9160
|
function Nt(n, l, f) {
|
|
@@ -9584,13 +9592,13 @@ function TZ() {
|
|
|
9584
9592
|
b1 !== null && (b1 = b1.updateQueue, B = b1.lastBaseUpdate, B !== T && (B === null ? b1.firstBaseUpdate = s1 : B.next = s1, b1.lastBaseUpdate = W));
|
|
9585
9593
|
}
|
|
9586
9594
|
if (H !== null) {
|
|
9587
|
-
var
|
|
9595
|
+
var V1 = b.baseState;
|
|
9588
9596
|
T = 0, b1 = s1 = W = null, B = H;
|
|
9589
9597
|
do {
|
|
9590
|
-
var L1 = B.lane,
|
|
9598
|
+
var L1 = B.lane, I1 = B.eventTime;
|
|
9591
9599
|
if ((m & L1) === L1) {
|
|
9592
9600
|
b1 !== null && (b1 = b1.next = {
|
|
9593
|
-
eventTime:
|
|
9601
|
+
eventTime: I1,
|
|
9594
9602
|
lane: 0,
|
|
9595
9603
|
tag: B.tag,
|
|
9596
9604
|
payload: B.payload,
|
|
@@ -9599,20 +9607,20 @@ function TZ() {
|
|
|
9599
9607
|
});
|
|
9600
9608
|
e: {
|
|
9601
9609
|
var t2 = n, i2 = B;
|
|
9602
|
-
switch (L1 = l,
|
|
9610
|
+
switch (L1 = l, I1 = f, i2.tag) {
|
|
9603
9611
|
case 1:
|
|
9604
9612
|
if (t2 = i2.payload, typeof t2 == "function") {
|
|
9605
|
-
|
|
9613
|
+
V1 = t2.call(I1, V1, L1);
|
|
9606
9614
|
break e;
|
|
9607
9615
|
}
|
|
9608
|
-
|
|
9616
|
+
V1 = t2;
|
|
9609
9617
|
break e;
|
|
9610
9618
|
case 3:
|
|
9611
9619
|
t2.flags = t2.flags & -65537 | 128;
|
|
9612
9620
|
case 0:
|
|
9613
|
-
if (t2 = i2.payload, L1 = typeof t2 == "function" ? t2.call(
|
|
9621
|
+
if (t2 = i2.payload, L1 = typeof t2 == "function" ? t2.call(I1, V1, L1) : t2, L1 == null)
|
|
9614
9622
|
break e;
|
|
9615
|
-
|
|
9623
|
+
V1 = y1({}, V1, L1);
|
|
9616
9624
|
break e;
|
|
9617
9625
|
case 2:
|
|
9618
9626
|
B7 = !0;
|
|
@@ -9620,21 +9628,21 @@ function TZ() {
|
|
|
9620
9628
|
}
|
|
9621
9629
|
B.callback !== null && B.lane !== 0 && (n.flags |= 64, L1 = b.effects, L1 === null ? b.effects = [B] : L1.push(B));
|
|
9622
9630
|
} else
|
|
9623
|
-
|
|
9631
|
+
I1 = { eventTime: I1, lane: L1, tag: B.tag, payload: B.payload, callback: B.callback, next: null }, b1 === null ? (s1 = b1 = I1, W = V1) : b1 = b1.next = I1, T |= L1;
|
|
9624
9632
|
if (B = B.next, B === null) {
|
|
9625
9633
|
if (B = b.shared.pending, B === null)
|
|
9626
9634
|
break;
|
|
9627
9635
|
L1 = B, B = L1.next, L1.next = null, b.lastBaseUpdate = L1, b.shared.pending = null;
|
|
9628
9636
|
}
|
|
9629
9637
|
} while (!0);
|
|
9630
|
-
if (b1 === null && (W =
|
|
9638
|
+
if (b1 === null && (W = V1), b.baseState = W, b.firstBaseUpdate = s1, b.lastBaseUpdate = b1, l = b.shared.interleaved, l !== null) {
|
|
9631
9639
|
b = l;
|
|
9632
9640
|
do
|
|
9633
9641
|
T |= b.lane, b = b.next;
|
|
9634
9642
|
while (b !== l);
|
|
9635
9643
|
} else
|
|
9636
9644
|
H === null && (b.shared.lanes = 0);
|
|
9637
|
-
n7 |= T, n.lanes = T, n.memoizedState =
|
|
9645
|
+
n7 |= T, n.lanes = T, n.memoizedState = V1;
|
|
9638
9646
|
}
|
|
9639
9647
|
}
|
|
9640
9648
|
function M8(n, l, f) {
|
|
@@ -9754,7 +9762,7 @@ function TZ() {
|
|
|
9754
9762
|
function b1(e1, q, a1, S1, l2) {
|
|
9755
9763
|
return q === null || q.tag !== 7 ? (q = I8(a1, e1.mode, S1, l2), q.return = e1, q) : (q = b(q, a1), q.return = e1, q);
|
|
9756
9764
|
}
|
|
9757
|
-
function
|
|
9765
|
+
function V1(e1, q, a1) {
|
|
9758
9766
|
if (typeof q == "string" && q !== "" || typeof q == "number")
|
|
9759
9767
|
return q = l0("" + q, e1.mode, a1), q.return = e1, q;
|
|
9760
9768
|
if (typeof q == "object" && q !== null) {
|
|
@@ -9765,7 +9773,7 @@ function TZ() {
|
|
|
9765
9773
|
return q = $8(q, e1.mode, a1), q.return = e1, q;
|
|
9766
9774
|
case T1:
|
|
9767
9775
|
var S1 = q._init;
|
|
9768
|
-
return
|
|
9776
|
+
return V1(e1, S1(q._payload), a1);
|
|
9769
9777
|
}
|
|
9770
9778
|
if (U3(q) || E1(q))
|
|
9771
9779
|
return q = I8(q, e1.mode, a1, null), q.return = e1, q;
|
|
@@ -9797,7 +9805,7 @@ function TZ() {
|
|
|
9797
9805
|
}
|
|
9798
9806
|
return null;
|
|
9799
9807
|
}
|
|
9800
|
-
function
|
|
9808
|
+
function I1(e1, q, a1, S1, l2) {
|
|
9801
9809
|
if (typeof S1 == "string" && S1 !== "" || typeof S1 == "number")
|
|
9802
9810
|
return e1 = e1.get(a1) || null, B(q, e1, "" + S1, l2);
|
|
9803
9811
|
if (typeof S1 == "object" && S1 !== null) {
|
|
@@ -9808,7 +9816,7 @@ function TZ() {
|
|
|
9808
9816
|
return e1 = e1.get(S1.key === null ? a1 : S1.key) || null, s1(q, e1, S1, l2);
|
|
9809
9817
|
case T1:
|
|
9810
9818
|
var n2 = S1._init;
|
|
9811
|
-
return
|
|
9819
|
+
return I1(e1, q, a1, n2(S1._payload), l2);
|
|
9812
9820
|
}
|
|
9813
9821
|
if (U3(S1) || E1(S1))
|
|
9814
9822
|
return e1 = e1.get(a1) || null, b1(q, e1, S1, l2, null);
|
|
@@ -9830,11 +9838,11 @@ function TZ() {
|
|
|
9830
9838
|
return f(e1, p2), W3 && u5(e1, M2), l2;
|
|
9831
9839
|
if (p2 === null) {
|
|
9832
9840
|
for (; M2 < a1.length; M2++)
|
|
9833
|
-
p2 =
|
|
9841
|
+
p2 = V1(e1, a1[M2], S1), p2 !== null && (q = H(p2, q, M2), n2 === null ? l2 = p2 : n2.sibling = p2, n2 = p2);
|
|
9834
9842
|
return W3 && u5(e1, M2), l2;
|
|
9835
9843
|
}
|
|
9836
9844
|
for (p2 = m(e1, p2); M2 < a1.length; M2++)
|
|
9837
|
-
We =
|
|
9845
|
+
We = I1(p2, e1, M2, a1[M2], S1), We !== null && (n && We.alternate !== null && p2.delete(We.key === null ? M2 : We.key), q = H(We, q, M2), n2 === null ? l2 = We : n2.sibling = We, n2 = We);
|
|
9838
9846
|
return n && p2.forEach(function(q7) {
|
|
9839
9847
|
return l(e1, q7);
|
|
9840
9848
|
}), W3 && u5(e1, M2), l2;
|
|
@@ -9861,11 +9869,11 @@ function TZ() {
|
|
|
9861
9869
|
), W3 && u5(e1, M2), l2;
|
|
9862
9870
|
if (p2 === null) {
|
|
9863
9871
|
for (; !o3.done; M2++, o3 = a1.next())
|
|
9864
|
-
o3 =
|
|
9872
|
+
o3 = V1(e1, o3.value, S1), o3 !== null && (q = H(o3, q, M2), n2 === null ? l2 = o3 : n2.sibling = o3, n2 = o3);
|
|
9865
9873
|
return W3 && u5(e1, M2), l2;
|
|
9866
9874
|
}
|
|
9867
9875
|
for (p2 = m(e1, p2); !o3.done; M2++, o3 = a1.next())
|
|
9868
|
-
o3 =
|
|
9876
|
+
o3 = I1(p2, e1, M2, o3.value, S1), o3 !== null && (n && o3.alternate !== null && p2.delete(o3.key === null ? M2 : o3.key), q = H(o3, q, M2), n2 === null ? l2 = o3 : n2.sibling = o3, n2 = o3);
|
|
9869
9877
|
return n && p2.forEach(function(hd) {
|
|
9870
9878
|
return l(e1, hd);
|
|
9871
9879
|
}), W3 && u5(e1, M2), l2;
|
|
@@ -10058,14 +10066,14 @@ function TZ() {
|
|
|
10058
10066
|
if ((S8 & b1) === b1)
|
|
10059
10067
|
W !== null && (W = W.next = { lane: 0, action: s1.action, hasEagerState: s1.hasEagerState, eagerState: s1.eagerState, next: null }), m = s1.hasEagerState ? s1.eagerState : n(m, s1.action);
|
|
10060
10068
|
else {
|
|
10061
|
-
var
|
|
10069
|
+
var V1 = {
|
|
10062
10070
|
lane: b1,
|
|
10063
10071
|
action: s1.action,
|
|
10064
10072
|
hasEagerState: s1.hasEagerState,
|
|
10065
10073
|
eagerState: s1.eagerState,
|
|
10066
10074
|
next: null
|
|
10067
10075
|
};
|
|
10068
|
-
W === null ? (B = W =
|
|
10076
|
+
W === null ? (B = W = V1, T = m) : W = W.next = V1, Q3.lanes |= b1, n7 |= b1;
|
|
10069
10077
|
}
|
|
10070
10078
|
s1 = s1.next;
|
|
10071
10079
|
} while (s1 !== null && s1 !== H);
|
|
@@ -10491,16 +10499,16 @@ Error generating stack: ` + H.message + `
|
|
|
10491
10499
|
T.props = B;
|
|
10492
10500
|
var W = T.context, s1 = f.contextType;
|
|
10493
10501
|
typeof s1 == "object" && s1 !== null ? s1 = ye(s1) : (s1 = K3(f) ? I4 : V2.current, s1 = S5(l, s1));
|
|
10494
|
-
var b1 = f.getDerivedStateFromProps,
|
|
10495
|
-
|
|
10502
|
+
var b1 = f.getDerivedStateFromProps, V1 = typeof b1 == "function" || typeof T.getSnapshotBeforeUpdate == "function";
|
|
10503
|
+
V1 || typeof T.UNSAFE_componentWillReceiveProps != "function" && typeof T.componentWillReceiveProps != "function" || (B !== m || W !== s1) && Nl(l, T, m, s1), B7 = !1;
|
|
10496
10504
|
var L1 = l.memoizedState;
|
|
10497
|
-
T.state = L1, j7(l, m, T, b), W = l.memoizedState, B !== m || L1 !== W || Ce.current || B7 ? (typeof b1 == "function" && (qa(l, f, b1, m), W = l.memoizedState), (B = B7 || Zl(l, f, B, m, L1, W, s1)) ? (
|
|
10505
|
+
T.state = L1, j7(l, m, T, b), W = l.memoizedState, B !== m || L1 !== W || Ce.current || B7 ? (typeof b1 == "function" && (qa(l, f, b1, m), W = l.memoizedState), (B = B7 || Zl(l, f, B, m, L1, W, s1)) ? (V1 || typeof T.UNSAFE_componentWillMount != "function" && typeof T.componentWillMount != "function" || (typeof T.componentWillMount == "function" && T.componentWillMount(), typeof T.UNSAFE_componentWillMount == "function" && T.UNSAFE_componentWillMount()), typeof T.componentDidMount == "function" && (l.flags |= 4194308)) : (typeof T.componentDidMount == "function" && (l.flags |= 4194308), l.memoizedProps = m, l.memoizedState = W), T.props = m, T.state = W, T.context = s1, m = B) : (typeof T.componentDidMount == "function" && (l.flags |= 4194308), m = !1);
|
|
10498
10506
|
} else {
|
|
10499
|
-
T = l.stateNode, _e(n, l), B = l.memoizedProps, s1 = l.type === l.elementType ? B : d5(l.type, B), T.props = s1,
|
|
10500
|
-
var
|
|
10501
|
-
(b1 = typeof
|
|
10507
|
+
T = l.stateNode, _e(n, l), B = l.memoizedProps, s1 = l.type === l.elementType ? B : d5(l.type, B), T.props = s1, V1 = l.pendingProps, L1 = T.context, W = f.contextType, typeof W == "object" && W !== null ? W = ye(W) : (W = K3(f) ? I4 : V2.current, W = S5(l, W));
|
|
10508
|
+
var I1 = f.getDerivedStateFromProps;
|
|
10509
|
+
(b1 = typeof I1 == "function" || typeof T.getSnapshotBeforeUpdate == "function") || typeof T.UNSAFE_componentWillReceiveProps != "function" && typeof T.componentWillReceiveProps != "function" || (B !== V1 || L1 !== W) && Nl(l, T, m, W), B7 = !1, L1 = l.memoizedState, T.state = L1, j7(l, m, T, b);
|
|
10502
10510
|
var t2 = l.memoizedState;
|
|
10503
|
-
B !==
|
|
10511
|
+
B !== V1 || L1 !== t2 || Ce.current || B7 ? (typeof I1 == "function" && (qa(l, f, I1, m), t2 = l.memoizedState), (s1 = B7 || Zl(l, f, s1, m, L1, t2, W) || !1) ? (b1 || typeof T.UNSAFE_componentWillUpdate != "function" && typeof T.componentWillUpdate != "function" || (typeof T.componentWillUpdate == "function" && T.componentWillUpdate(m, t2, W), typeof T.UNSAFE_componentWillUpdate == "function" && T.UNSAFE_componentWillUpdate(m, t2, W)), typeof T.componentDidUpdate == "function" && (l.flags |= 4), typeof T.getSnapshotBeforeUpdate == "function" && (l.flags |= 1024)) : (typeof T.componentDidUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 4), typeof T.getSnapshotBeforeUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 1024), l.memoizedProps = m, l.memoizedState = t2), T.props = m, T.state = t2, T.context = W, m = s1) : (typeof T.componentDidUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 4), typeof T.getSnapshotBeforeUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 1024), m = !1);
|
|
10504
10512
|
}
|
|
10505
10513
|
return Ul(n, l, f, m, H, b);
|
|
10506
10514
|
}
|
|
@@ -10872,7 +10880,7 @@ Error generating stack: ` + H.message + `
|
|
|
10872
10880
|
O3("toggle", m);
|
|
10873
10881
|
break;
|
|
10874
10882
|
case "input":
|
|
10875
|
-
|
|
10883
|
+
U1(m, H), O3("invalid", m);
|
|
10876
10884
|
break;
|
|
10877
10885
|
case "select":
|
|
10878
10886
|
m._wrapperState = { wasMultiple: !!H.multiple }, O3("invalid", m);
|
|
@@ -10937,7 +10945,7 @@ Error generating stack: ` + H.message + `
|
|
|
10937
10945
|
O3("toggle", n), b = m;
|
|
10938
10946
|
break;
|
|
10939
10947
|
case "input":
|
|
10940
|
-
|
|
10948
|
+
U1(n, m), b = _1(n, m), O3("invalid", n);
|
|
10941
10949
|
break;
|
|
10942
10950
|
case "option":
|
|
10943
10951
|
b = m;
|
|
@@ -11150,19 +11158,19 @@ Error generating stack: ` + H.message + `
|
|
|
11150
11158
|
f = null;
|
|
11151
11159
|
break e;
|
|
11152
11160
|
}
|
|
11153
|
-
var T = 0, B = -1, W = -1, s1 = 0, b1 = 0,
|
|
11161
|
+
var T = 0, B = -1, W = -1, s1 = 0, b1 = 0, V1 = n, L1 = null;
|
|
11154
11162
|
t:
|
|
11155
11163
|
for (; ; ) {
|
|
11156
|
-
for (var
|
|
11157
|
-
L1 =
|
|
11164
|
+
for (var I1; V1 !== f || b !== 0 && V1.nodeType !== 3 || (B = T + b), V1 !== H || m !== 0 && V1.nodeType !== 3 || (W = T + m), V1.nodeType === 3 && (T += V1.nodeValue.length), (I1 = V1.firstChild) !== null; )
|
|
11165
|
+
L1 = V1, V1 = I1;
|
|
11158
11166
|
for (; ; ) {
|
|
11159
|
-
if (
|
|
11167
|
+
if (V1 === n)
|
|
11160
11168
|
break t;
|
|
11161
|
-
if (L1 === f && ++s1 === b && (B = T), L1 === H && ++b1 === m && (W = T), (
|
|
11169
|
+
if (L1 === f && ++s1 === b && (B = T), L1 === H && ++b1 === m && (W = T), (I1 = V1.nextSibling) !== null)
|
|
11162
11170
|
break;
|
|
11163
|
-
|
|
11171
|
+
V1 = L1, L1 = V1.parentNode;
|
|
11164
11172
|
}
|
|
11165
|
-
|
|
11173
|
+
V1 = I1;
|
|
11166
11174
|
}
|
|
11167
11175
|
f = B === -1 || W === -1 ? null : { start: B, end: W };
|
|
11168
11176
|
} else
|
|
@@ -11434,8 +11442,8 @@ Error generating stack: ` + H.message + `
|
|
|
11434
11442
|
B === "input" && H.type === "radio" && H.name != null && N2(b, H), re(B, T);
|
|
11435
11443
|
var s1 = re(B, H);
|
|
11436
11444
|
for (T = 0; T < W.length; T += 2) {
|
|
11437
|
-
var b1 = W[T],
|
|
11438
|
-
b1 === "style" ? m3(b,
|
|
11445
|
+
var b1 = W[T], V1 = W[T + 1];
|
|
11446
|
+
b1 === "style" ? m3(b, V1) : b1 === "dangerouslySetInnerHTML" ? W5(b, V1) : b1 === "children" ? F4(b, V1) : A(b, b1, V1, s1);
|
|
11439
11447
|
}
|
|
11440
11448
|
switch (B) {
|
|
11441
11449
|
case "input":
|
|
@@ -11447,8 +11455,8 @@ Error generating stack: ` + H.message + `
|
|
|
11447
11455
|
case "select":
|
|
11448
11456
|
var L1 = b._wrapperState.wasMultiple;
|
|
11449
11457
|
b._wrapperState.wasMultiple = !!H.multiple;
|
|
11450
|
-
var
|
|
11451
|
-
|
|
11458
|
+
var I1 = H.value;
|
|
11459
|
+
I1 != null ? te(b, !!H.multiple, I1, !1) : L1 !== !!H.multiple && (H.defaultValue != null ? te(
|
|
11452
11460
|
b,
|
|
11453
11461
|
!!H.multiple,
|
|
11454
11462
|
H.defaultValue,
|
|
@@ -11491,8 +11499,8 @@ Error generating stack: ` + H.message + `
|
|
|
11491
11499
|
if (b1 = f !== null && f.memoizedState !== null, n.mode & 1 ? (Ze = (s1 = Ze) || b1, K5(l, n), Ze = s1) : K5(l, n), L6(n), m & 8192) {
|
|
11492
11500
|
if (s1 = n.memoizedState !== null, (n.stateNode.isHidden = s1) && !b1 && n.mode & 1)
|
|
11493
11501
|
for (J1 = n, b1 = n.child; b1 !== null; ) {
|
|
11494
|
-
for (
|
|
11495
|
-
switch (L1 = J1,
|
|
11502
|
+
for (V1 = J1 = b1; J1 !== null; ) {
|
|
11503
|
+
switch (L1 = J1, I1 = L1.child, L1.tag) {
|
|
11496
11504
|
case 0:
|
|
11497
11505
|
case 11:
|
|
11498
11506
|
case 14:
|
|
@@ -11516,44 +11524,44 @@ Error generating stack: ` + H.message + `
|
|
|
11516
11524
|
break;
|
|
11517
11525
|
case 22:
|
|
11518
11526
|
if (L1.memoizedState !== null) {
|
|
11519
|
-
di(
|
|
11527
|
+
di(V1);
|
|
11520
11528
|
continue;
|
|
11521
11529
|
}
|
|
11522
11530
|
}
|
|
11523
|
-
|
|
11531
|
+
I1 !== null ? (I1.return = L1, J1 = I1) : di(V1);
|
|
11524
11532
|
}
|
|
11525
11533
|
b1 = b1.sibling;
|
|
11526
11534
|
}
|
|
11527
11535
|
e:
|
|
11528
|
-
for (b1 = null,
|
|
11529
|
-
if (
|
|
11536
|
+
for (b1 = null, V1 = n; ; ) {
|
|
11537
|
+
if (V1.tag === 5) {
|
|
11530
11538
|
if (b1 === null) {
|
|
11531
|
-
b1 =
|
|
11539
|
+
b1 = V1;
|
|
11532
11540
|
try {
|
|
11533
|
-
b =
|
|
11541
|
+
b = V1.stateNode, s1 ? (H = b.style, typeof H.setProperty == "function" ? H.setProperty("display", "none", "important") : H.display = "none") : (B = V1.stateNode, W = V1.memoizedProps.style, T = W != null && W.hasOwnProperty("display") ? W.display : null, B.style.display = B2("display", T));
|
|
11534
11542
|
} catch (i2) {
|
|
11535
11543
|
pe(n, n.return, i2);
|
|
11536
11544
|
}
|
|
11537
11545
|
}
|
|
11538
|
-
} else if (
|
|
11546
|
+
} else if (V1.tag === 6) {
|
|
11539
11547
|
if (b1 === null)
|
|
11540
11548
|
try {
|
|
11541
|
-
|
|
11549
|
+
V1.stateNode.nodeValue = s1 ? "" : V1.memoizedProps;
|
|
11542
11550
|
} catch (i2) {
|
|
11543
11551
|
pe(n, n.return, i2);
|
|
11544
11552
|
}
|
|
11545
|
-
} else if ((
|
|
11546
|
-
|
|
11553
|
+
} else if ((V1.tag !== 22 && V1.tag !== 23 || V1.memoizedState === null || V1 === n) && V1.child !== null) {
|
|
11554
|
+
V1.child.return = V1, V1 = V1.child;
|
|
11547
11555
|
continue;
|
|
11548
11556
|
}
|
|
11549
|
-
if (
|
|
11557
|
+
if (V1 === n)
|
|
11550
11558
|
break e;
|
|
11551
|
-
for (;
|
|
11552
|
-
if (
|
|
11559
|
+
for (; V1.sibling === null; ) {
|
|
11560
|
+
if (V1.return === null || V1.return === n)
|
|
11553
11561
|
break e;
|
|
11554
|
-
b1 ===
|
|
11562
|
+
b1 === V1 && (b1 = null), V1 = V1.return;
|
|
11555
11563
|
}
|
|
11556
|
-
b1 ===
|
|
11564
|
+
b1 === V1 && (b1 = null), V1.sibling.return = V1.return, V1 = V1.sibling;
|
|
11557
11565
|
}
|
|
11558
11566
|
}
|
|
11559
11567
|
break;
|
|
@@ -11697,8 +11705,8 @@ Error generating stack: ` + H.message + `
|
|
|
11697
11705
|
if (s1 !== null) {
|
|
11698
11706
|
var b1 = s1.memoizedState;
|
|
11699
11707
|
if (b1 !== null) {
|
|
11700
|
-
var
|
|
11701
|
-
|
|
11708
|
+
var V1 = b1.dehydrated;
|
|
11709
|
+
V1 !== null && M7(V1);
|
|
11702
11710
|
}
|
|
11703
11711
|
}
|
|
11704
11712
|
}
|
|
@@ -12075,14 +12083,14 @@ Error generating stack: ` + H.message + `
|
|
|
12075
12083
|
e: {
|
|
12076
12084
|
var H = n, T = f.return, B = f, W = l;
|
|
12077
12085
|
if (l = Ye, B.flags |= 32768, W !== null && typeof W == "object" && typeof W.then == "function") {
|
|
12078
|
-
var s1 = W, b1 = B,
|
|
12079
|
-
if (!(b1.mode & 1) && (
|
|
12086
|
+
var s1 = W, b1 = B, V1 = b1.tag;
|
|
12087
|
+
if (!(b1.mode & 1) && (V1 === 0 || V1 === 11 || V1 === 15)) {
|
|
12080
12088
|
var L1 = b1.alternate;
|
|
12081
12089
|
L1 ? (b1.updateQueue = L1.updateQueue, b1.memoizedState = L1.memoizedState, b1.lanes = L1.lanes) : (b1.updateQueue = null, b1.memoizedState = null);
|
|
12082
12090
|
}
|
|
12083
|
-
var
|
|
12084
|
-
if (
|
|
12085
|
-
|
|
12091
|
+
var I1 = ei(T);
|
|
12092
|
+
if (I1 !== null) {
|
|
12093
|
+
I1.flags &= -257, ti(I1, T, B, H, l), I1.mode & 1 && zl(H, s1, l), l = I1, W = s1;
|
|
12086
12094
|
var t2 = l.updateQueue;
|
|
12087
12095
|
if (t2 === null) {
|
|
12088
12096
|
var i2 = /* @__PURE__ */ new Set();
|
|
@@ -12261,22 +12269,22 @@ Error generating stack: ` + H.message + `
|
|
|
12261
12269
|
case 15:
|
|
12262
12270
|
t0(8, b1, H);
|
|
12263
12271
|
}
|
|
12264
|
-
var
|
|
12265
|
-
if (
|
|
12266
|
-
|
|
12272
|
+
var V1 = b1.child;
|
|
12273
|
+
if (V1 !== null)
|
|
12274
|
+
V1.return = b1, J1 = V1;
|
|
12267
12275
|
else
|
|
12268
12276
|
for (; J1 !== null; ) {
|
|
12269
12277
|
b1 = J1;
|
|
12270
|
-
var L1 = b1.sibling,
|
|
12278
|
+
var L1 = b1.sibling, I1 = b1.return;
|
|
12271
12279
|
if (ci(b1), b1 === s1) {
|
|
12272
12280
|
J1 = null;
|
|
12273
12281
|
break;
|
|
12274
12282
|
}
|
|
12275
12283
|
if (L1 !== null) {
|
|
12276
|
-
L1.return =
|
|
12284
|
+
L1.return = I1, J1 = L1;
|
|
12277
12285
|
break;
|
|
12278
12286
|
}
|
|
12279
|
-
J1 =
|
|
12287
|
+
J1 = I1;
|
|
12280
12288
|
}
|
|
12281
12289
|
}
|
|
12282
12290
|
}
|
|
@@ -12592,7 +12600,7 @@ Error generating stack: ` + H.message + `
|
|
|
12592
12600
|
if (n != null) {
|
|
12593
12601
|
if (n = n.$$typeof, n === P1)
|
|
12594
12602
|
return 11;
|
|
12595
|
-
if (n ===
|
|
12603
|
+
if (n === A1)
|
|
12596
12604
|
return 14;
|
|
12597
12605
|
}
|
|
12598
12606
|
return 2;
|
|
@@ -12615,8 +12623,8 @@ Error generating stack: ` + H.message + `
|
|
|
12615
12623
|
case p1:
|
|
12616
12624
|
T = 8, b |= 8;
|
|
12617
12625
|
break;
|
|
12618
|
-
case
|
|
12619
|
-
return n = P5(12, f, l, b | 2), n.elementType =
|
|
12626
|
+
case g1:
|
|
12627
|
+
return n = P5(12, f, l, b | 2), n.elementType = g1, n.lanes = H, n;
|
|
12620
12628
|
case m1:
|
|
12621
12629
|
return n = P5(13, f, l, b), n.elementType = m1, n.lanes = H, n;
|
|
12622
12630
|
case k1:
|
|
@@ -12626,16 +12634,16 @@ Error generating stack: ` + H.message + `
|
|
|
12626
12634
|
default:
|
|
12627
12635
|
if (typeof n == "object" && n !== null)
|
|
12628
12636
|
switch (n.$$typeof) {
|
|
12629
|
-
case
|
|
12637
|
+
case H1:
|
|
12630
12638
|
T = 10;
|
|
12631
12639
|
break e;
|
|
12632
|
-
case
|
|
12640
|
+
case x1:
|
|
12633
12641
|
T = 9;
|
|
12634
12642
|
break e;
|
|
12635
12643
|
case P1:
|
|
12636
12644
|
T = 11;
|
|
12637
12645
|
break e;
|
|
12638
|
-
case
|
|
12646
|
+
case A1:
|
|
12639
12647
|
T = 14;
|
|
12640
12648
|
break e;
|
|
12641
12649
|
case T1:
|
|
@@ -12988,7 +12996,7 @@ function _Z() {
|
|
|
12988
12996
|
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
12989
12997
|
}
|
|
12990
12998
|
}
|
|
12991
|
-
var y = 0, L = 1, M = 2, E = 3, k = 4, _ = 5, R = 6, O = 7, P = 8, z = 9, $ = 10, A = 11, Y = 12, j = 13, i1 = 14, r1 = 15, p1 = 16,
|
|
12999
|
+
var y = 0, L = 1, M = 2, E = 3, k = 4, _ = 5, R = 6, O = 7, P = 8, z = 9, $ = 10, A = 11, Y = 12, j = 13, i1 = 14, r1 = 15, p1 = 16, g1 = 17, H1 = 18, x1 = 19, P1 = 21, m1 = 22, k1 = 23, A1 = 24, T1 = 25, f2 = !0, C1 = !1, E1 = !1, y1 = !1, K1 = !1, G1 = !0, R1 = !1, E2 = !1, a3 = !0, H2 = !0, j2 = !0, s2 = /* @__PURE__ */ new Set(), o2 = {}, P2 = {};
|
|
12992
13000
|
function G2(e, t) {
|
|
12993
13001
|
V3(e, t), V3(e + "Capture", t);
|
|
12994
13002
|
}
|
|
@@ -13002,7 +13010,7 @@ function _Z() {
|
|
|
13002
13010
|
s2.add(t[c]);
|
|
13003
13011
|
}
|
|
13004
13012
|
var Y2 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", _1 = Object.prototype.hasOwnProperty;
|
|
13005
|
-
function
|
|
13013
|
+
function U1(e) {
|
|
13006
13014
|
{
|
|
13007
13015
|
var t = typeof Symbol == "function" && Symbol.toStringTag, u = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
13008
13016
|
return u;
|
|
@@ -13020,27 +13028,27 @@ function _Z() {
|
|
|
13020
13028
|
}
|
|
13021
13029
|
function Z3(e, t) {
|
|
13022
13030
|
if (N2(e))
|
|
13023
|
-
return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t,
|
|
13031
|
+
return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t, U1(e)), _2(e);
|
|
13024
13032
|
}
|
|
13025
13033
|
function me(e) {
|
|
13026
13034
|
if (N2(e))
|
|
13027
|
-
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
13035
|
+
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", U1(e)), _2(e);
|
|
13028
13036
|
}
|
|
13029
13037
|
function U3(e, t) {
|
|
13030
13038
|
if (N2(e))
|
|
13031
|
-
return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", t,
|
|
13039
|
+
return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", t, U1(e)), _2(e);
|
|
13032
13040
|
}
|
|
13033
13041
|
function te(e, t) {
|
|
13034
13042
|
if (N2(e))
|
|
13035
|
-
return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t,
|
|
13043
|
+
return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t, U1(e)), _2(e);
|
|
13036
13044
|
}
|
|
13037
13045
|
function ve(e) {
|
|
13038
13046
|
if (N2(e))
|
|
13039
|
-
return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
13047
|
+
return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", U1(e)), _2(e);
|
|
13040
13048
|
}
|
|
13041
13049
|
function D2(e) {
|
|
13042
13050
|
if (N2(e))
|
|
13043
|
-
return d("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",
|
|
13051
|
+
return d("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", U1(e)), _2(e);
|
|
13044
13052
|
}
|
|
13045
13053
|
var I3 = 0, ue = 1, c4 = 2, $3 = 3, ge = 4, W5 = 5, F4 = 6, D1 = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", d2 = D1 + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", B2 = new RegExp("^[" + D1 + "][" + d2 + "]*$"), m3 = {}, v3 = {};
|
|
13046
13054
|
function ne(e) {
|
|
@@ -13733,7 +13741,7 @@ function _Z() {
|
|
|
13733
13741
|
return l5("Lazy");
|
|
13734
13742
|
case j:
|
|
13735
13743
|
return l5("Suspense");
|
|
13736
|
-
case
|
|
13744
|
+
case x1:
|
|
13737
13745
|
return l5("SuspenseList");
|
|
13738
13746
|
case y:
|
|
13739
13747
|
case M:
|
|
@@ -13825,7 +13833,7 @@ Error generating stack: ` + c.message + `
|
|
|
13825
13833
|
function S2(e) {
|
|
13826
13834
|
var t = e.tag, u = e.type;
|
|
13827
13835
|
switch (t) {
|
|
13828
|
-
case
|
|
13836
|
+
case A1:
|
|
13829
13837
|
return "Cache";
|
|
13830
13838
|
case z:
|
|
13831
13839
|
var c = u;
|
|
@@ -13833,7 +13841,7 @@ Error generating stack: ` + c.message + `
|
|
|
13833
13841
|
case $:
|
|
13834
13842
|
var h = u;
|
|
13835
13843
|
return Et(h._context) + ".Provider";
|
|
13836
|
-
case
|
|
13844
|
+
case H1:
|
|
13837
13845
|
return "DehydratedFragment";
|
|
13838
13846
|
case A:
|
|
13839
13847
|
return $0(u, u.render, "ForwardRef");
|
|
@@ -13859,13 +13867,13 @@ Error generating stack: ` + c.message + `
|
|
|
13859
13867
|
return "Scope";
|
|
13860
13868
|
case j:
|
|
13861
13869
|
return "Suspense";
|
|
13862
|
-
case
|
|
13870
|
+
case x1:
|
|
13863
13871
|
return "SuspenseList";
|
|
13864
13872
|
case T1:
|
|
13865
13873
|
return "TracingMarker";
|
|
13866
13874
|
case L:
|
|
13867
13875
|
case y:
|
|
13868
|
-
case
|
|
13876
|
+
case g1:
|
|
13869
13877
|
case M:
|
|
13870
13878
|
case i1:
|
|
13871
13879
|
case r1:
|
|
@@ -17113,18 +17121,18 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17113
17121
|
var W = !1;
|
|
17114
17122
|
Y2 && (W = pd("input") && (!document.documentMode || document.documentMode > 9));
|
|
17115
17123
|
function s1(e, t) {
|
|
17116
|
-
l = e, f = t, l.attachEvent("onpropertychange",
|
|
17124
|
+
l = e, f = t, l.attachEvent("onpropertychange", V1);
|
|
17117
17125
|
}
|
|
17118
17126
|
function b1() {
|
|
17119
|
-
l && (l.detachEvent("onpropertychange",
|
|
17127
|
+
l && (l.detachEvent("onpropertychange", V1), l = null, f = null);
|
|
17120
17128
|
}
|
|
17121
|
-
function
|
|
17129
|
+
function V1(e) {
|
|
17122
17130
|
e.propertyName === "value" && T(f) && b(e);
|
|
17123
17131
|
}
|
|
17124
17132
|
function L1(e, t, u) {
|
|
17125
17133
|
e === "focusin" ? (b1(), s1(t, u)) : e === "focusout" && b1();
|
|
17126
17134
|
}
|
|
17127
|
-
function
|
|
17135
|
+
function I1(e, t) {
|
|
17128
17136
|
if (e === "selectionchange" || e === "keyup" || e === "keydown")
|
|
17129
17137
|
return T(f);
|
|
17130
17138
|
}
|
|
@@ -17146,7 +17154,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17146
17154
|
}
|
|
17147
17155
|
function q(e, t, u, c, h, g, w) {
|
|
17148
17156
|
var V = u ? ur(u) : window, S, D;
|
|
17149
|
-
if (m(V) ? S = B : q9(V) ? W ? S = Le : (S =
|
|
17157
|
+
if (m(V) ? S = B : q9(V) ? W ? S = Le : (S = I1, D = L1) : t2(V) && (S = i2), S) {
|
|
17150
17158
|
var Z = S(t, u);
|
|
17151
17159
|
if (Z) {
|
|
17152
17160
|
n(e, Z, c, h);
|
|
@@ -19444,7 +19452,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
|
|
|
19444
19452
|
}
|
|
19445
19453
|
} else if (c.tag === $)
|
|
19446
19454
|
h = c.type === e.type ? null : c.child;
|
|
19447
|
-
else if (c.tag ===
|
|
19455
|
+
else if (c.tag === H1) {
|
|
19448
19456
|
var o1 = c.return;
|
|
19449
19457
|
if (o1 === null)
|
|
19450
19458
|
throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");
|
|
@@ -19751,8 +19759,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
|
|
|
19751
19759
|
if (u2 = u2.next, u2 === null) {
|
|
19752
19760
|
if (V = h.shared.pending, V === null)
|
|
19753
19761
|
break;
|
|
19754
|
-
var W1 = V,
|
|
19755
|
-
W1.next = null, u2 =
|
|
19762
|
+
var W1 = V, z1 = W1.next;
|
|
19763
|
+
W1.next = null, u2 = z1, h.lastBaseUpdate = W1, h.shared.pending = null;
|
|
19756
19764
|
}
|
|
19757
19765
|
} while (!0);
|
|
19758
19766
|
g2 === null && (c1 = o1), h.baseState = c1, h.firstBaseUpdate = Y1, h.lastBaseUpdate = g2;
|
|
@@ -20146,8 +20154,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20146
20154
|
var W1 = Xf(n1, t1.mode, M1);
|
|
20147
20155
|
return W1.return = t1, W1;
|
|
20148
20156
|
} else {
|
|
20149
|
-
var
|
|
20150
|
-
return
|
|
20157
|
+
var z1 = h(d1, n1);
|
|
20158
|
+
return z1.return = t1, z1;
|
|
20151
20159
|
}
|
|
20152
20160
|
}
|
|
20153
20161
|
function S(t1, d1, n1, M1) {
|
|
@@ -20160,8 +20168,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20160
20168
|
// because hot reloading has different semantics than prod because
|
|
20161
20169
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
20162
20170
|
typeof W1 == "object" && W1 !== null && W1.$$typeof === v2 && sv(W1) === d1.type)) {
|
|
20163
|
-
var
|
|
20164
|
-
return
|
|
20171
|
+
var z1 = h(d1, n1.props);
|
|
20172
|
+
return z1.ref = $i(t1, d1, n1), z1.return = t1, z1._debugSource = n1._source, z1._debugOwner = n1._owner, z1;
|
|
20165
20173
|
}
|
|
20166
20174
|
var w2 = Gf(n1, t1.mode, M1);
|
|
20167
20175
|
return w2.ref = $i(t1, d1, n1), w2.return = t1, w2;
|
|
@@ -20171,14 +20179,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20171
20179
|
var W1 = Kf(n1, t1.mode, M1);
|
|
20172
20180
|
return W1.return = t1, W1;
|
|
20173
20181
|
} else {
|
|
20174
|
-
var
|
|
20175
|
-
return
|
|
20182
|
+
var z1 = h(d1, n1.children || []);
|
|
20183
|
+
return z1.return = t1, z1;
|
|
20176
20184
|
}
|
|
20177
20185
|
}
|
|
20178
20186
|
function Z(t1, d1, n1, M1, W1) {
|
|
20179
20187
|
if (d1 === null || d1.tag !== O) {
|
|
20180
|
-
var
|
|
20181
|
-
return
|
|
20188
|
+
var z1 = ft(n1, t1.mode, M1, W1);
|
|
20189
|
+
return z1.return = t1, z1;
|
|
20182
20190
|
} else {
|
|
20183
20191
|
var w2 = h(d1, n1);
|
|
20184
20192
|
return w2.return = t1, w2;
|
|
@@ -20196,8 +20204,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20196
20204
|
return W1.ref = $i(t1, null, d1), W1.return = t1, W1;
|
|
20197
20205
|
}
|
|
20198
20206
|
case E4: {
|
|
20199
|
-
var
|
|
20200
|
-
return
|
|
20207
|
+
var z1 = Kf(d1, t1.mode, n1);
|
|
20208
|
+
return z1.return = t1, z1;
|
|
20201
20209
|
}
|
|
20202
20210
|
case v2: {
|
|
20203
20211
|
var w2 = d1._payload, T2 = d1._init;
|
|
@@ -20223,8 +20231,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20223
20231
|
case E4:
|
|
20224
20232
|
return n1.key === W1 ? D(t1, d1, n1, M1) : null;
|
|
20225
20233
|
case v2: {
|
|
20226
|
-
var
|
|
20227
|
-
return Q(t1, d1, w2(
|
|
20234
|
+
var z1 = n1._payload, w2 = n1._init;
|
|
20235
|
+
return Q(t1, d1, w2(z1), M1);
|
|
20228
20236
|
}
|
|
20229
20237
|
}
|
|
20230
20238
|
if (Ae(n1) || A4(n1))
|
|
@@ -20235,8 +20243,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20235
20243
|
}
|
|
20236
20244
|
function o1(t1, d1, n1, M1, W1) {
|
|
20237
20245
|
if (typeof M1 == "string" && M1 !== "" || typeof M1 == "number") {
|
|
20238
|
-
var
|
|
20239
|
-
return V(d1,
|
|
20246
|
+
var z1 = t1.get(n1) || null;
|
|
20247
|
+
return V(d1, z1, "" + M1, W1);
|
|
20240
20248
|
}
|
|
20241
20249
|
if (typeof M1 == "object" && M1 !== null) {
|
|
20242
20250
|
switch (M1.$$typeof) {
|
|
@@ -20282,16 +20290,16 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20282
20290
|
d("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.", M1);
|
|
20283
20291
|
break;
|
|
20284
20292
|
case v2:
|
|
20285
|
-
var W1 = t1._payload,
|
|
20286
|
-
l1(
|
|
20293
|
+
var W1 = t1._payload, z1 = t1._init;
|
|
20294
|
+
l1(z1(W1), d1, n1);
|
|
20287
20295
|
break;
|
|
20288
20296
|
}
|
|
20289
20297
|
}
|
|
20290
20298
|
return d1;
|
|
20291
20299
|
}
|
|
20292
20300
|
function c1(t1, d1, n1, M1) {
|
|
20293
|
-
for (var W1 = null,
|
|
20294
|
-
var w2 = n1[
|
|
20301
|
+
for (var W1 = null, z1 = 0; z1 < n1.length; z1++) {
|
|
20302
|
+
var w2 = n1[z1];
|
|
20295
20303
|
W1 = l1(w2, W1, t1);
|
|
20296
20304
|
}
|
|
20297
20305
|
for (var T2 = null, D3 = null, p3 = d1, Ne = 0, h3 = 0, Ee = null; p3 !== null && h3 < n1.length; h3++) {
|
|
@@ -20340,9 +20348,9 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20340
20348
|
{
|
|
20341
20349
|
typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
|
|
20342
20350
|
n1[Symbol.toStringTag] === "Generator" && (LC || d("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), LC = !0), n1.entries === W1 && (yC || d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), yC = !0);
|
|
20343
|
-
var
|
|
20344
|
-
if (
|
|
20345
|
-
for (var w2 = null, T2 =
|
|
20351
|
+
var z1 = W1.call(n1);
|
|
20352
|
+
if (z1)
|
|
20353
|
+
for (var w2 = null, T2 = z1.next(); !T2.done; T2 = z1.next()) {
|
|
20346
20354
|
var D3 = T2.value;
|
|
20347
20355
|
w2 = l1(D3, w2, t1);
|
|
20348
20356
|
}
|
|
@@ -20396,34 +20404,34 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20396
20404
|
return W1.return = t1, W1;
|
|
20397
20405
|
}
|
|
20398
20406
|
u(t1, d1);
|
|
20399
|
-
var
|
|
20400
|
-
return
|
|
20407
|
+
var z1 = Xf(n1, t1.mode, M1);
|
|
20408
|
+
return z1.return = t1, z1;
|
|
20401
20409
|
}
|
|
20402
20410
|
function u2(t1, d1, n1, M1) {
|
|
20403
|
-
for (var W1 = n1.key,
|
|
20404
|
-
if (
|
|
20411
|
+
for (var W1 = n1.key, z1 = d1; z1 !== null; ) {
|
|
20412
|
+
if (z1.key === W1) {
|
|
20405
20413
|
var w2 = n1.type;
|
|
20406
20414
|
if (w2 === je) {
|
|
20407
|
-
if (
|
|
20408
|
-
u(t1,
|
|
20409
|
-
var T2 = h(
|
|
20415
|
+
if (z1.tag === O) {
|
|
20416
|
+
u(t1, z1.sibling);
|
|
20417
|
+
var T2 = h(z1, n1.props.children);
|
|
20410
20418
|
return T2.return = t1, T2._debugSource = n1._source, T2._debugOwner = n1._owner, T2;
|
|
20411
20419
|
}
|
|
20412
|
-
} else if (
|
|
20413
|
-
Jg(
|
|
20420
|
+
} else if (z1.elementType === w2 || // Keep this check inline so it only runs on the false path:
|
|
20421
|
+
Jg(z1, n1) || // Lazy types should reconcile their resolved type.
|
|
20414
20422
|
// We need to do this after the Hot Reloading check above,
|
|
20415
20423
|
// because hot reloading has different semantics than prod because
|
|
20416
20424
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
20417
|
-
typeof w2 == "object" && w2 !== null && w2.$$typeof === v2 && sv(w2) ===
|
|
20418
|
-
u(t1,
|
|
20419
|
-
var D3 = h(
|
|
20420
|
-
return D3.ref = $i(t1,
|
|
20425
|
+
typeof w2 == "object" && w2 !== null && w2.$$typeof === v2 && sv(w2) === z1.type) {
|
|
20426
|
+
u(t1, z1.sibling);
|
|
20427
|
+
var D3 = h(z1, n1.props);
|
|
20428
|
+
return D3.ref = $i(t1, z1, n1), D3.return = t1, D3._debugSource = n1._source, D3._debugOwner = n1._owner, D3;
|
|
20421
20429
|
}
|
|
20422
|
-
u(t1,
|
|
20430
|
+
u(t1, z1);
|
|
20423
20431
|
break;
|
|
20424
20432
|
} else
|
|
20425
|
-
t(t1,
|
|
20426
|
-
|
|
20433
|
+
t(t1, z1);
|
|
20434
|
+
z1 = z1.sibling;
|
|
20427
20435
|
}
|
|
20428
20436
|
if (n1.type === je) {
|
|
20429
20437
|
var p3 = ft(n1.props.children, t1.mode, M1, n1.key);
|
|
@@ -20434,19 +20442,19 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20434
20442
|
}
|
|
20435
20443
|
}
|
|
20436
20444
|
function n3(t1, d1, n1, M1) {
|
|
20437
|
-
for (var W1 = n1.key,
|
|
20438
|
-
if (
|
|
20439
|
-
if (
|
|
20440
|
-
u(t1,
|
|
20441
|
-
var w2 = h(
|
|
20445
|
+
for (var W1 = n1.key, z1 = d1; z1 !== null; ) {
|
|
20446
|
+
if (z1.key === W1)
|
|
20447
|
+
if (z1.tag === k && z1.stateNode.containerInfo === n1.containerInfo && z1.stateNode.implementation === n1.implementation) {
|
|
20448
|
+
u(t1, z1.sibling);
|
|
20449
|
+
var w2 = h(z1, n1.children || []);
|
|
20442
20450
|
return w2.return = t1, w2;
|
|
20443
20451
|
} else {
|
|
20444
|
-
u(t1,
|
|
20452
|
+
u(t1, z1);
|
|
20445
20453
|
break;
|
|
20446
20454
|
}
|
|
20447
20455
|
else
|
|
20448
|
-
t(t1,
|
|
20449
|
-
|
|
20456
|
+
t(t1, z1);
|
|
20457
|
+
z1 = z1.sibling;
|
|
20450
20458
|
}
|
|
20451
20459
|
var T2 = Kf(n1, t1.mode, M1);
|
|
20452
20460
|
return T2.return = t1, T2;
|
|
@@ -20460,8 +20468,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20460
20468
|
case E4:
|
|
20461
20469
|
return w(n3(t1, d1, n1, M1));
|
|
20462
20470
|
case v2:
|
|
20463
|
-
var
|
|
20464
|
-
return Q2(t1, d1, w2(
|
|
20471
|
+
var z1 = n1._payload, w2 = n1._init;
|
|
20472
|
+
return Q2(t1, d1, w2(z1), M1);
|
|
20465
20473
|
}
|
|
20466
20474
|
if (Ae(n1))
|
|
20467
20475
|
return c1(t1, d1, n1, M1);
|
|
@@ -20550,7 +20558,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20550
20558
|
if (c === null || xm(c) || Zd(c))
|
|
20551
20559
|
return t;
|
|
20552
20560
|
}
|
|
20553
|
-
} else if (t.tag ===
|
|
20561
|
+
} else if (t.tag === x1 && // revealOrder undefined can't be trusted because it don't
|
|
20554
20562
|
// keep track of whether it suspended or not.
|
|
20555
20563
|
t.memoizedProps.revealOrder !== void 0) {
|
|
20556
20564
|
var h = (t.flags & V2) !== m2;
|
|
@@ -20598,7 +20606,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20598
20606
|
var u = t._getVersion, c = u(t._source);
|
|
20599
20607
|
e.mutableSourceEagerHydrationData == null ? e.mutableSourceEagerHydrationData = [t, c] : e.mutableSourceEagerHydrationData.push(t, c);
|
|
20600
20608
|
}
|
|
20601
|
-
var
|
|
20609
|
+
var $1 = o.ReactCurrentDispatcher, qi = o.ReactCurrentBatchConfig, _C, br;
|
|
20602
20610
|
_C = /* @__PURE__ */ new Set();
|
|
20603
20611
|
var y0 = f1, _3 = null, r4 = null, a4 = null, Js = !1, Gi = !1, Xi = 0, TV = 0, _V = 25, h1 = null, V6 = null, ot = -1, DC = !1;
|
|
20604
20612
|
function x3() {
|
|
@@ -20657,17 +20665,17 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20657
20665
|
return !0;
|
|
20658
20666
|
}
|
|
20659
20667
|
function Hr(e, t, u, c, h, g) {
|
|
20660
|
-
y0 = g, _3 = t, V6 = e !== null ? e._debugHookTypes : null, ot = -1, DC = e !== null && e.type !== t.type, t.memoizedState = null, t.updateQueue = null, t.lanes = f1, e !== null && e.memoizedState !== null ?
|
|
20668
|
+
y0 = g, _3 = t, V6 = e !== null ? e._debugHookTypes : null, ot = -1, DC = e !== null && e.type !== t.type, t.memoizedState = null, t.updateQueue = null, t.lanes = f1, e !== null && e.memoizedState !== null ? $1.current = Nv : V6 !== null ? $1.current = Ov : $1.current = Zv;
|
|
20661
20669
|
var w = u(c, h);
|
|
20662
20670
|
if (Gi) {
|
|
20663
20671
|
var V = 0;
|
|
20664
20672
|
do {
|
|
20665
20673
|
if (Gi = !1, Xi = 0, V >= _V)
|
|
20666
20674
|
throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");
|
|
20667
|
-
V += 1, DC = !1, r4 = null, a4 = null, t.updateQueue = null, ot = -1,
|
|
20675
|
+
V += 1, DC = !1, r4 = null, a4 = null, t.updateQueue = null, ot = -1, $1.current = Pv, w = u(c, h);
|
|
20668
20676
|
} while (Gi);
|
|
20669
20677
|
}
|
|
20670
|
-
|
|
20678
|
+
$1.current = Cu, t._debugHookTypes = V6;
|
|
20671
20679
|
var S = r4 !== null && r4.next !== null;
|
|
20672
20680
|
if (y0 = f1, _3 = null, r4 = null, a4 = null, h1 = null, V6 = null, ot = -1, e !== null && (e.flags & Ke) !== (t.flags & Ke) && // Disable this warning in legacy mode, because legacy Suspense is weird
|
|
20673
20681
|
// and creates false positives. To make this work in legacy mode, we'd
|
|
@@ -20686,7 +20694,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20686
20694
|
t.updateQueue = e.updateQueue, (t.mode & D5) !== y2 ? t.flags &= ~(V8 | Y4 | K3 | Z2) : t.flags &= ~(K3 | Z2), e.lanes = N9(e.lanes, u);
|
|
20687
20695
|
}
|
|
20688
20696
|
function mv() {
|
|
20689
|
-
if (
|
|
20697
|
+
if ($1.current = Cu, Js) {
|
|
20690
20698
|
for (var e = _3.memoizedState; e !== null; ) {
|
|
20691
20699
|
var t = e.queue;
|
|
20692
20700
|
t !== null && (t.pending = null), e = e.next;
|
|
@@ -21176,7 +21184,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21176
21184
|
var w = t.lastRenderedReducer;
|
|
21177
21185
|
if (w !== null) {
|
|
21178
21186
|
var V;
|
|
21179
|
-
V =
|
|
21187
|
+
V = $1.current, $1.current = c7;
|
|
21180
21188
|
try {
|
|
21181
21189
|
var S = t.lastRenderedState, D = w(S, u);
|
|
21182
21190
|
if (h.hasEagerState = !0, h.eagerState = D, n2(D, S)) {
|
|
@@ -21185,7 +21193,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21185
21193
|
}
|
|
21186
21194
|
} catch {
|
|
21187
21195
|
} finally {
|
|
21188
|
-
|
|
21196
|
+
$1.current = V;
|
|
21189
21197
|
}
|
|
21190
21198
|
}
|
|
21191
21199
|
}
|
|
@@ -21267,22 +21275,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21267
21275
|
},
|
|
21268
21276
|
useMemo: function(e, t) {
|
|
21269
21277
|
h1 = "useMemo", x3(), wr(t);
|
|
21270
|
-
var u =
|
|
21271
|
-
|
|
21278
|
+
var u = $1.current;
|
|
21279
|
+
$1.current = e8;
|
|
21272
21280
|
try {
|
|
21273
21281
|
return YC(e, t);
|
|
21274
21282
|
} finally {
|
|
21275
|
-
|
|
21283
|
+
$1.current = u;
|
|
21276
21284
|
}
|
|
21277
21285
|
},
|
|
21278
21286
|
useReducer: function(e, t, u) {
|
|
21279
21287
|
h1 = "useReducer", x3();
|
|
21280
|
-
var c =
|
|
21281
|
-
|
|
21288
|
+
var c = $1.current;
|
|
21289
|
+
$1.current = e8;
|
|
21282
21290
|
try {
|
|
21283
21291
|
return OC(e, t, u);
|
|
21284
21292
|
} finally {
|
|
21285
|
-
|
|
21293
|
+
$1.current = c;
|
|
21286
21294
|
}
|
|
21287
21295
|
},
|
|
21288
21296
|
useRef: function(e) {
|
|
@@ -21290,12 +21298,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21290
21298
|
},
|
|
21291
21299
|
useState: function(e) {
|
|
21292
21300
|
h1 = "useState", x3();
|
|
21293
|
-
var t =
|
|
21294
|
-
|
|
21301
|
+
var t = $1.current;
|
|
21302
|
+
$1.current = e8;
|
|
21295
21303
|
try {
|
|
21296
21304
|
return tu(e);
|
|
21297
21305
|
} finally {
|
|
21298
|
-
|
|
21306
|
+
$1.current = t;
|
|
21299
21307
|
}
|
|
21300
21308
|
},
|
|
21301
21309
|
useDebugValue: function(e, t) {
|
|
@@ -21341,22 +21349,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21341
21349
|
},
|
|
21342
21350
|
useMemo: function(e, t) {
|
|
21343
21351
|
h1 = "useMemo", O1();
|
|
21344
|
-
var u =
|
|
21345
|
-
|
|
21352
|
+
var u = $1.current;
|
|
21353
|
+
$1.current = e8;
|
|
21346
21354
|
try {
|
|
21347
21355
|
return YC(e, t);
|
|
21348
21356
|
} finally {
|
|
21349
|
-
|
|
21357
|
+
$1.current = u;
|
|
21350
21358
|
}
|
|
21351
21359
|
},
|
|
21352
21360
|
useReducer: function(e, t, u) {
|
|
21353
21361
|
h1 = "useReducer", O1();
|
|
21354
|
-
var c =
|
|
21355
|
-
|
|
21362
|
+
var c = $1.current;
|
|
21363
|
+
$1.current = e8;
|
|
21356
21364
|
try {
|
|
21357
21365
|
return OC(e, t, u);
|
|
21358
21366
|
} finally {
|
|
21359
|
-
|
|
21367
|
+
$1.current = c;
|
|
21360
21368
|
}
|
|
21361
21369
|
},
|
|
21362
21370
|
useRef: function(e) {
|
|
@@ -21364,12 +21372,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21364
21372
|
},
|
|
21365
21373
|
useState: function(e) {
|
|
21366
21374
|
h1 = "useState", O1();
|
|
21367
|
-
var t =
|
|
21368
|
-
|
|
21375
|
+
var t = $1.current;
|
|
21376
|
+
$1.current = e8;
|
|
21369
21377
|
try {
|
|
21370
21378
|
return tu(e);
|
|
21371
21379
|
} finally {
|
|
21372
|
-
|
|
21380
|
+
$1.current = t;
|
|
21373
21381
|
}
|
|
21374
21382
|
},
|
|
21375
21383
|
useDebugValue: function(e, t) {
|
|
@@ -21415,22 +21423,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21415
21423
|
},
|
|
21416
21424
|
useMemo: function(e, t) {
|
|
21417
21425
|
h1 = "useMemo", O1();
|
|
21418
|
-
var u =
|
|
21419
|
-
|
|
21426
|
+
var u = $1.current;
|
|
21427
|
+
$1.current = c7;
|
|
21420
21428
|
try {
|
|
21421
21429
|
return cu(e, t);
|
|
21422
21430
|
} finally {
|
|
21423
|
-
|
|
21431
|
+
$1.current = u;
|
|
21424
21432
|
}
|
|
21425
21433
|
},
|
|
21426
21434
|
useReducer: function(e, t, u) {
|
|
21427
21435
|
h1 = "useReducer", O1();
|
|
21428
|
-
var c =
|
|
21429
|
-
|
|
21436
|
+
var c = $1.current;
|
|
21437
|
+
$1.current = c7;
|
|
21430
21438
|
try {
|
|
21431
21439
|
return NC(e, t, u);
|
|
21432
21440
|
} finally {
|
|
21433
|
-
|
|
21441
|
+
$1.current = c;
|
|
21434
21442
|
}
|
|
21435
21443
|
},
|
|
21436
21444
|
useRef: function(e) {
|
|
@@ -21438,12 +21446,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21438
21446
|
},
|
|
21439
21447
|
useState: function(e) {
|
|
21440
21448
|
h1 = "useState", O1();
|
|
21441
|
-
var t =
|
|
21442
|
-
|
|
21449
|
+
var t = $1.current;
|
|
21450
|
+
$1.current = c7;
|
|
21443
21451
|
try {
|
|
21444
21452
|
return FC(e);
|
|
21445
21453
|
} finally {
|
|
21446
|
-
|
|
21454
|
+
$1.current = t;
|
|
21447
21455
|
}
|
|
21448
21456
|
},
|
|
21449
21457
|
useDebugValue: function(e, t) {
|
|
@@ -21489,22 +21497,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21489
21497
|
},
|
|
21490
21498
|
useMemo: function(e, t) {
|
|
21491
21499
|
h1 = "useMemo", O1();
|
|
21492
|
-
var u =
|
|
21493
|
-
|
|
21500
|
+
var u = $1.current;
|
|
21501
|
+
$1.current = fu;
|
|
21494
21502
|
try {
|
|
21495
21503
|
return cu(e, t);
|
|
21496
21504
|
} finally {
|
|
21497
|
-
|
|
21505
|
+
$1.current = u;
|
|
21498
21506
|
}
|
|
21499
21507
|
},
|
|
21500
21508
|
useReducer: function(e, t, u) {
|
|
21501
21509
|
h1 = "useReducer", O1();
|
|
21502
|
-
var c =
|
|
21503
|
-
|
|
21510
|
+
var c = $1.current;
|
|
21511
|
+
$1.current = fu;
|
|
21504
21512
|
try {
|
|
21505
21513
|
return PC(e, t, u);
|
|
21506
21514
|
} finally {
|
|
21507
|
-
|
|
21515
|
+
$1.current = c;
|
|
21508
21516
|
}
|
|
21509
21517
|
},
|
|
21510
21518
|
useRef: function(e) {
|
|
@@ -21512,12 +21520,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21512
21520
|
},
|
|
21513
21521
|
useState: function(e) {
|
|
21514
21522
|
h1 = "useState", O1();
|
|
21515
|
-
var t =
|
|
21516
|
-
|
|
21523
|
+
var t = $1.current;
|
|
21524
|
+
$1.current = fu;
|
|
21517
21525
|
try {
|
|
21518
21526
|
return jC(e);
|
|
21519
21527
|
} finally {
|
|
21520
|
-
|
|
21528
|
+
$1.current = t;
|
|
21521
21529
|
}
|
|
21522
21530
|
},
|
|
21523
21531
|
useDebugValue: function(e, t) {
|
|
@@ -21563,22 +21571,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21563
21571
|
},
|
|
21564
21572
|
useMemo: function(e, t) {
|
|
21565
21573
|
h1 = "useMemo", k2(), x3();
|
|
21566
|
-
var u =
|
|
21567
|
-
|
|
21574
|
+
var u = $1.current;
|
|
21575
|
+
$1.current = e8;
|
|
21568
21576
|
try {
|
|
21569
21577
|
return YC(e, t);
|
|
21570
21578
|
} finally {
|
|
21571
|
-
|
|
21579
|
+
$1.current = u;
|
|
21572
21580
|
}
|
|
21573
21581
|
},
|
|
21574
21582
|
useReducer: function(e, t, u) {
|
|
21575
21583
|
h1 = "useReducer", k2(), x3();
|
|
21576
|
-
var c =
|
|
21577
|
-
|
|
21584
|
+
var c = $1.current;
|
|
21585
|
+
$1.current = e8;
|
|
21578
21586
|
try {
|
|
21579
21587
|
return OC(e, t, u);
|
|
21580
21588
|
} finally {
|
|
21581
|
-
|
|
21589
|
+
$1.current = c;
|
|
21582
21590
|
}
|
|
21583
21591
|
},
|
|
21584
21592
|
useRef: function(e) {
|
|
@@ -21586,12 +21594,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21586
21594
|
},
|
|
21587
21595
|
useState: function(e) {
|
|
21588
21596
|
h1 = "useState", k2(), x3();
|
|
21589
|
-
var t =
|
|
21590
|
-
|
|
21597
|
+
var t = $1.current;
|
|
21598
|
+
$1.current = e8;
|
|
21591
21599
|
try {
|
|
21592
21600
|
return tu(e);
|
|
21593
21601
|
} finally {
|
|
21594
|
-
|
|
21602
|
+
$1.current = t;
|
|
21595
21603
|
}
|
|
21596
21604
|
},
|
|
21597
21605
|
useDebugValue: function(e, t) {
|
|
@@ -21637,22 +21645,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21637
21645
|
},
|
|
21638
21646
|
useMemo: function(e, t) {
|
|
21639
21647
|
h1 = "useMemo", k2(), O1();
|
|
21640
|
-
var u =
|
|
21641
|
-
|
|
21648
|
+
var u = $1.current;
|
|
21649
|
+
$1.current = c7;
|
|
21642
21650
|
try {
|
|
21643
21651
|
return cu(e, t);
|
|
21644
21652
|
} finally {
|
|
21645
|
-
|
|
21653
|
+
$1.current = u;
|
|
21646
21654
|
}
|
|
21647
21655
|
},
|
|
21648
21656
|
useReducer: function(e, t, u) {
|
|
21649
21657
|
h1 = "useReducer", k2(), O1();
|
|
21650
|
-
var c =
|
|
21651
|
-
|
|
21658
|
+
var c = $1.current;
|
|
21659
|
+
$1.current = c7;
|
|
21652
21660
|
try {
|
|
21653
21661
|
return NC(e, t, u);
|
|
21654
21662
|
} finally {
|
|
21655
|
-
|
|
21663
|
+
$1.current = c;
|
|
21656
21664
|
}
|
|
21657
21665
|
},
|
|
21658
21666
|
useRef: function(e) {
|
|
@@ -21660,12 +21668,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21660
21668
|
},
|
|
21661
21669
|
useState: function(e) {
|
|
21662
21670
|
h1 = "useState", k2(), O1();
|
|
21663
|
-
var t =
|
|
21664
|
-
|
|
21671
|
+
var t = $1.current;
|
|
21672
|
+
$1.current = c7;
|
|
21665
21673
|
try {
|
|
21666
21674
|
return FC(e);
|
|
21667
21675
|
} finally {
|
|
21668
|
-
|
|
21676
|
+
$1.current = t;
|
|
21669
21677
|
}
|
|
21670
21678
|
},
|
|
21671
21679
|
useDebugValue: function(e, t) {
|
|
@@ -21711,22 +21719,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21711
21719
|
},
|
|
21712
21720
|
useMemo: function(e, t) {
|
|
21713
21721
|
h1 = "useMemo", k2(), O1();
|
|
21714
|
-
var u =
|
|
21715
|
-
|
|
21722
|
+
var u = $1.current;
|
|
21723
|
+
$1.current = c7;
|
|
21716
21724
|
try {
|
|
21717
21725
|
return cu(e, t);
|
|
21718
21726
|
} finally {
|
|
21719
|
-
|
|
21727
|
+
$1.current = u;
|
|
21720
21728
|
}
|
|
21721
21729
|
},
|
|
21722
21730
|
useReducer: function(e, t, u) {
|
|
21723
21731
|
h1 = "useReducer", k2(), O1();
|
|
21724
|
-
var c =
|
|
21725
|
-
|
|
21732
|
+
var c = $1.current;
|
|
21733
|
+
$1.current = c7;
|
|
21726
21734
|
try {
|
|
21727
21735
|
return PC(e, t, u);
|
|
21728
21736
|
} finally {
|
|
21729
|
-
|
|
21737
|
+
$1.current = c;
|
|
21730
21738
|
}
|
|
21731
21739
|
},
|
|
21732
21740
|
useRef: function(e) {
|
|
@@ -21734,12 +21742,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21734
21742
|
},
|
|
21735
21743
|
useState: function(e) {
|
|
21736
21744
|
h1 = "useState", k2(), O1();
|
|
21737
|
-
var t =
|
|
21738
|
-
|
|
21745
|
+
var t = $1.current;
|
|
21746
|
+
$1.current = c7;
|
|
21739
21747
|
try {
|
|
21740
21748
|
return jC(e);
|
|
21741
21749
|
} finally {
|
|
21742
|
-
|
|
21750
|
+
$1.current = t;
|
|
21743
21751
|
}
|
|
21744
21752
|
},
|
|
21745
21753
|
useDebugValue: function(e, t) {
|
|
@@ -21963,7 +21971,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21963
21971
|
if (e.flags |= V2, u.flags |= zt, u.flags &= ~(un | s5), u.tag === L) {
|
|
21964
21972
|
var g = u.alternate;
|
|
21965
21973
|
if (g === null)
|
|
21966
|
-
u.tag =
|
|
21974
|
+
u.tag = g1;
|
|
21967
21975
|
else {
|
|
21968
21976
|
var w = X8(N3, b2);
|
|
21969
21977
|
w.tag = As, rt(u, w, b2);
|
|
@@ -22656,7 +22664,7 @@ Check the render method of \`` + c + "`.");
|
|
|
22656
22664
|
if (c.tag === j) {
|
|
22657
22665
|
var h = c.memoizedState;
|
|
22658
22666
|
h !== null && rg(c, u, e);
|
|
22659
|
-
} else if (c.tag ===
|
|
22667
|
+
} else if (c.tag === x1)
|
|
22660
22668
|
rg(c, u, e);
|
|
22661
22669
|
else if (c.child !== null) {
|
|
22662
22670
|
c.child.return = c, c = c.child;
|
|
@@ -22925,7 +22933,7 @@ Check the render method of \`` + c + "`.");
|
|
|
22925
22933
|
it(t, yr(u7.current));
|
|
22926
22934
|
break;
|
|
22927
22935
|
}
|
|
22928
|
-
case
|
|
22936
|
+
case x1: {
|
|
22929
22937
|
var Q = (e.flags & V2) !== m2, o1 = X4(u, t.childLanes);
|
|
22930
22938
|
if (Q) {
|
|
22931
22939
|
if (o1)
|
|
@@ -23018,11 +23026,11 @@ Check the render method of \`` + c + "`.");
|
|
|
23018
23026
|
}
|
|
23019
23027
|
case r1:
|
|
23020
23028
|
return qv(e, t, t.type, t.pendingProps, u);
|
|
23021
|
-
case
|
|
23029
|
+
case g1: {
|
|
23022
23030
|
var d1 = t.type, n1 = t.pendingProps, M1 = t.elementType === d1 ? n1 : s7(d1, n1);
|
|
23023
23031
|
return tM(e, t, d1, M1, u);
|
|
23024
23032
|
}
|
|
23025
|
-
case
|
|
23033
|
+
case x1:
|
|
23026
23034
|
return ig(e, t, u);
|
|
23027
23035
|
case P1:
|
|
23028
23036
|
break;
|
|
@@ -23232,13 +23240,13 @@ Check the render method of \`` + c + "`.");
|
|
|
23232
23240
|
case k:
|
|
23233
23241
|
return gr(t), Lf(e, t), e === null && jx(t.stateNode.containerInfo), D4(t), null;
|
|
23234
23242
|
case $:
|
|
23235
|
-
var
|
|
23236
|
-
return eC(
|
|
23237
|
-
case
|
|
23243
|
+
var z1 = t.type._context;
|
|
23244
|
+
return eC(z1, t), D4(t), null;
|
|
23245
|
+
case g1: {
|
|
23238
23246
|
var w2 = t.type;
|
|
23239
23247
|
return X7(w2) && ks(t), D4(t), null;
|
|
23240
23248
|
}
|
|
23241
|
-
case
|
|
23249
|
+
case x1: {
|
|
23242
23250
|
Lr(t);
|
|
23243
23251
|
var T2 = t.memoizedState;
|
|
23244
23252
|
if (T2 === null)
|
|
@@ -23303,7 +23311,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23303
23311
|
}
|
|
23304
23312
|
return !Rr || (t.mode & I2) === y2 ? D4(t) : X4(a8, G4) && (D4(t), t.subtreeFlags & (Y3 | Z2) && (t.flags |= Z7)), null;
|
|
23305
23313
|
}
|
|
23306
|
-
case
|
|
23314
|
+
case A1:
|
|
23307
23315
|
return null;
|
|
23308
23316
|
case T1:
|
|
23309
23317
|
return null;
|
|
@@ -23336,7 +23344,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23336
23344
|
var V = t.flags;
|
|
23337
23345
|
return V & Ue ? (t.flags = V & ~Ue | V2, (t.mode & L2) !== y2 && tf(t), t) : null;
|
|
23338
23346
|
}
|
|
23339
|
-
case
|
|
23347
|
+
case x1:
|
|
23340
23348
|
return Lr(t), null;
|
|
23341
23349
|
case k:
|
|
23342
23350
|
return gr(t), null;
|
|
@@ -23346,7 +23354,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23346
23354
|
case m1:
|
|
23347
23355
|
case k1:
|
|
23348
23356
|
return Pf(t), null;
|
|
23349
|
-
case
|
|
23357
|
+
case A1:
|
|
23350
23358
|
return null;
|
|
23351
23359
|
default:
|
|
23352
23360
|
return null;
|
|
@@ -23373,7 +23381,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23373
23381
|
case j:
|
|
23374
23382
|
Lr(t);
|
|
23375
23383
|
break;
|
|
23376
|
-
case
|
|
23384
|
+
case x1:
|
|
23377
23385
|
Lr(t);
|
|
23378
23386
|
break;
|
|
23379
23387
|
case $:
|
|
@@ -23521,7 +23529,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23521
23529
|
case _:
|
|
23522
23530
|
case R:
|
|
23523
23531
|
case k:
|
|
23524
|
-
case
|
|
23532
|
+
case g1:
|
|
23525
23533
|
break;
|
|
23526
23534
|
default:
|
|
23527
23535
|
throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.");
|
|
@@ -23705,8 +23713,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23705
23713
|
AM(e, u);
|
|
23706
23714
|
break;
|
|
23707
23715
|
}
|
|
23708
|
-
case
|
|
23709
|
-
case
|
|
23716
|
+
case x1:
|
|
23717
|
+
case g1:
|
|
23710
23718
|
case P1:
|
|
23711
23719
|
case m1:
|
|
23712
23720
|
case k1:
|
|
@@ -23840,7 +23848,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23840
23848
|
return null;
|
|
23841
23849
|
t = t.return;
|
|
23842
23850
|
}
|
|
23843
|
-
for (t.sibling.return = t.return, t = t.sibling; t.tag !== _ && t.tag !== R && t.tag !==
|
|
23851
|
+
for (t.sibling.return = t.return, t = t.sibling; t.tag !== _ && t.tag !== R && t.tag !== H1; ) {
|
|
23844
23852
|
if (t.flags & Y3 || t.child === null || t.tag === k)
|
|
23845
23853
|
continue e;
|
|
23846
23854
|
t.child.return = t, t = t.child;
|
|
@@ -23940,7 +23948,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23940
23948
|
}
|
|
23941
23949
|
return;
|
|
23942
23950
|
}
|
|
23943
|
-
case
|
|
23951
|
+
case H1: {
|
|
23944
23952
|
Z4 !== null && (f7 ? lx(Z4, u.stateNode) : Rd(Z4, u.stateNode));
|
|
23945
23953
|
return;
|
|
23946
23954
|
}
|
|
@@ -24177,14 +24185,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24177
24185
|
var d1 = e.stateNode, n1 = e.memoizedState, M1 = n1 !== null, W1 = e;
|
|
24178
24186
|
if (d1.isHidden = M1, M1 && !Q2 && (W1.mode & I2) !== y2) {
|
|
24179
24187
|
r2 = W1;
|
|
24180
|
-
for (var
|
|
24181
|
-
r2 =
|
|
24188
|
+
for (var z1 = W1.child; z1 !== null; )
|
|
24189
|
+
r2 = z1, IM(z1), z1 = z1.sibling;
|
|
24182
24190
|
}
|
|
24183
24191
|
OM(W1, M1);
|
|
24184
24192
|
}
|
|
24185
24193
|
return;
|
|
24186
24194
|
}
|
|
24187
|
-
case
|
|
24195
|
+
case x1: {
|
|
24188
24196
|
p7(t, e), r8(e), h & Z2 && xg(e);
|
|
24189
24197
|
return;
|
|
24190
24198
|
}
|
|
@@ -25211,7 +25219,7 @@ Error message:
|
|
|
25211
25219
|
var h = e.memoizedState;
|
|
25212
25220
|
h !== null && (u = h.retryLane);
|
|
25213
25221
|
break;
|
|
25214
|
-
case
|
|
25222
|
+
case x1:
|
|
25215
25223
|
c = e.stateNode;
|
|
25216
25224
|
break;
|
|
25217
25225
|
default:
|
|
@@ -25711,7 +25719,7 @@ Check the render method of \`` + D + "`.");
|
|
|
25711
25719
|
return h.elementType = x2, h.lanes = u, h;
|
|
25712
25720
|
}
|
|
25713
25721
|
function aS(e, t, u, c) {
|
|
25714
|
-
var h = e6(
|
|
25722
|
+
var h = e6(x1, e, c, t);
|
|
25715
25723
|
return h.elementType = J2, h.lanes = u, h;
|
|
25716
25724
|
}
|
|
25717
25725
|
function ny(e, t, u, c) {
|
|
@@ -25731,7 +25739,7 @@ Check the render method of \`` + D + "`.");
|
|
|
25731
25739
|
return e.elementType = "DELETED", e;
|
|
25732
25740
|
}
|
|
25733
25741
|
function oS(e) {
|
|
25734
|
-
var t = e6(
|
|
25742
|
+
var t = e6(H1, null, null, y2);
|
|
25735
25743
|
return t.stateNode = e, t;
|
|
25736
25744
|
}
|
|
25737
25745
|
function Kf(e, t, u) {
|
|
@@ -26774,22 +26782,22 @@ function lL(r) {
|
|
|
26774
26782
|
var i1 = Qo(o), r1 = "clientHeight", p1 = "clientWidth";
|
|
26775
26783
|
if (i1 === s6(o) && (i1 = bt(o), u9(i1).position !== "static" && v === "absolute" && (r1 = "scrollHeight", p1 = "scrollWidth")), i1 = i1, i === $5 || (i === Y5 || i === O6) && p === zo) {
|
|
26776
26784
|
Y = Z6;
|
|
26777
|
-
var
|
|
26785
|
+
var g1 = E && i1 === j && j.visualViewport ? j.visualViewport.height : (
|
|
26778
26786
|
// $FlowFixMe[prop-missing]
|
|
26779
26787
|
i1[r1]
|
|
26780
26788
|
);
|
|
26781
|
-
O -=
|
|
26789
|
+
O -= g1 - s.height, O *= y ? 1 : -1;
|
|
26782
26790
|
}
|
|
26783
26791
|
if (i === Y5 || (i === $5 || i === Z6) && p === zo) {
|
|
26784
26792
|
A = O6;
|
|
26785
|
-
var
|
|
26793
|
+
var H1 = E && i1 === j && j.visualViewport ? j.visualViewport.width : (
|
|
26786
26794
|
// $FlowFixMe[prop-missing]
|
|
26787
26795
|
i1[p1]
|
|
26788
26796
|
);
|
|
26789
|
-
_ -=
|
|
26797
|
+
_ -= H1 - s.width, _ *= y ? 1 : -1;
|
|
26790
26798
|
}
|
|
26791
26799
|
}
|
|
26792
|
-
var
|
|
26800
|
+
var x1 = Object.assign({
|
|
26793
26801
|
position: v
|
|
26794
26802
|
}, L && CO), P1 = M === !0 ? fO({
|
|
26795
26803
|
x: _,
|
|
@@ -26800,9 +26808,9 @@ function lL(r) {
|
|
|
26800
26808
|
};
|
|
26801
26809
|
if (_ = P1.x, O = P1.y, y) {
|
|
26802
26810
|
var m1;
|
|
26803
|
-
return Object.assign({},
|
|
26811
|
+
return Object.assign({}, x1, (m1 = {}, m1[Y] = $ ? "0" : "", m1[A] = z ? "0" : "", m1.transform = (j.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + O + "px)" : "translate3d(" + _ + "px, " + O + "px, 0)", m1));
|
|
26804
26812
|
}
|
|
26805
|
-
return Object.assign({},
|
|
26813
|
+
return Object.assign({}, x1, (a = {}, a[Y] = $ ? O + "px" : "", a[A] = z ? _ + "px" : "", a.transform = "", a));
|
|
26806
26814
|
}
|
|
26807
26815
|
function pO(r) {
|
|
26808
26816
|
var a = r.state, o = r.options, s = o.gpuAcceleration, i = s === void 0 ? !0 : s, p = o.adaptive, d = p === void 0 ? !0 : p, v = o.roundOffsets, y = v === void 0 ? !0 : v, L = {
|
|
@@ -27007,20 +27015,20 @@ function Uo(r, a) {
|
|
|
27007
27015
|
element: A,
|
|
27008
27016
|
strategy: "absolute",
|
|
27009
27017
|
placement: i
|
|
27010
|
-
}), p1 = uh(Object.assign({}, A, r1)),
|
|
27011
|
-
top: j.top -
|
|
27012
|
-
bottom:
|
|
27013
|
-
left: j.left -
|
|
27014
|
-
right:
|
|
27015
|
-
},
|
|
27016
|
-
if (k === ko &&
|
|
27017
|
-
var P1 =
|
|
27018
|
-
Object.keys(
|
|
27019
|
-
var k1 = [O6, Z6].indexOf(m1) >= 0 ? 1 : -1,
|
|
27020
|
-
|
|
27018
|
+
}), p1 = uh(Object.assign({}, A, r1)), g1 = k === ko ? p1 : i1, H1 = {
|
|
27019
|
+
top: j.top - g1.top + z.top,
|
|
27020
|
+
bottom: g1.bottom - j.bottom + z.bottom,
|
|
27021
|
+
left: j.left - g1.left + z.left,
|
|
27022
|
+
right: g1.right - j.right + z.right
|
|
27023
|
+
}, x1 = r.modifiersData.offset;
|
|
27024
|
+
if (k === ko && x1) {
|
|
27025
|
+
var P1 = x1[i];
|
|
27026
|
+
Object.keys(H1).forEach(function(m1) {
|
|
27027
|
+
var k1 = [O6, Z6].indexOf(m1) >= 0 ? 1 : -1, A1 = [$5, Z6].indexOf(m1) >= 0 ? "y" : "x";
|
|
27028
|
+
H1[m1] += P1[A1] * k1;
|
|
27021
27029
|
});
|
|
27022
27030
|
}
|
|
27023
|
-
return
|
|
27031
|
+
return H1;
|
|
27024
27032
|
}
|
|
27025
27033
|
function VO(r, a) {
|
|
27026
27034
|
a === void 0 && (a = {});
|
|
@@ -27060,23 +27068,23 @@ function EO(r) {
|
|
|
27060
27068
|
flipVariations: R,
|
|
27061
27069
|
allowedAutoPlacements: O
|
|
27062
27070
|
}) : a3);
|
|
27063
|
-
}, []), j = a.rects.reference, i1 = a.rects.popper, r1 = /* @__PURE__ */ new Map(), p1 = !0,
|
|
27064
|
-
var
|
|
27065
|
-
placement:
|
|
27071
|
+
}, []), j = a.rects.reference, i1 = a.rects.popper, r1 = /* @__PURE__ */ new Map(), p1 = !0, g1 = Y[0], H1 = 0; H1 < Y.length; H1++) {
|
|
27072
|
+
var x1 = Y[H1], P1 = C8(x1), m1 = aa(x1) === ta, k1 = [$5, Z6].indexOf(P1) >= 0, A1 = k1 ? "width" : "height", T1 = Uo(a, {
|
|
27073
|
+
placement: x1,
|
|
27066
27074
|
boundary: M,
|
|
27067
27075
|
rootBoundary: E,
|
|
27068
27076
|
altBoundary: k,
|
|
27069
27077
|
padding: L
|
|
27070
27078
|
}), f2 = k1 ? m1 ? O6 : Y5 : m1 ? Z6 : $5;
|
|
27071
|
-
j[
|
|
27079
|
+
j[A1] > i1[A1] && (f2 = Xu(f2));
|
|
27072
27080
|
var C1 = Xu(f2), E1 = [];
|
|
27073
27081
|
if (p && E1.push(T1[P1] <= 0), v && E1.push(T1[f2] <= 0, T1[C1] <= 0), E1.every(function(E2) {
|
|
27074
27082
|
return E2;
|
|
27075
27083
|
})) {
|
|
27076
|
-
|
|
27084
|
+
g1 = x1, p1 = !1;
|
|
27077
27085
|
break;
|
|
27078
27086
|
}
|
|
27079
|
-
r1.set(
|
|
27087
|
+
r1.set(x1, E1);
|
|
27080
27088
|
}
|
|
27081
27089
|
if (p1)
|
|
27082
27090
|
for (var y1 = R ? 3 : 1, K1 = function(a3) {
|
|
@@ -27088,13 +27096,13 @@ function EO(r) {
|
|
|
27088
27096
|
});
|
|
27089
27097
|
});
|
|
27090
27098
|
if (H2)
|
|
27091
|
-
return
|
|
27099
|
+
return g1 = H2, "break";
|
|
27092
27100
|
}, G1 = y1; G1 > 0; G1--) {
|
|
27093
27101
|
var R1 = K1(G1);
|
|
27094
27102
|
if (R1 === "break")
|
|
27095
27103
|
break;
|
|
27096
27104
|
}
|
|
27097
|
-
a.placement !==
|
|
27105
|
+
a.placement !== g1 && (a.modifiersData[s]._skip = !0, a.placement = g1, a.reset = !0);
|
|
27098
27106
|
}
|
|
27099
27107
|
}
|
|
27100
27108
|
const SO = {
|
|
@@ -27196,28 +27204,28 @@ function PO(r) {
|
|
|
27196
27204
|
rootBoundary: L,
|
|
27197
27205
|
padding: E,
|
|
27198
27206
|
altBoundary: M
|
|
27199
|
-
}), z = C8(a.placement), $ = aa(a.placement), A = !$, Y = Fh(z), j = NO(Y), i1 = a.modifiersData.popperOffsets, r1 = a.rects.reference, p1 = a.rects.popper,
|
|
27207
|
+
}), z = C8(a.placement), $ = aa(a.placement), A = !$, Y = Fh(z), j = NO(Y), i1 = a.modifiersData.popperOffsets, r1 = a.rects.reference, p1 = a.rects.popper, g1 = typeof O == "function" ? O(Object.assign({}, a.rects, {
|
|
27200
27208
|
placement: a.placement
|
|
27201
|
-
})) : O,
|
|
27202
|
-
mainAxis:
|
|
27203
|
-
altAxis:
|
|
27209
|
+
})) : O, H1 = typeof g1 == "number" ? {
|
|
27210
|
+
mainAxis: g1,
|
|
27211
|
+
altAxis: g1
|
|
27204
27212
|
} : Object.assign({
|
|
27205
27213
|
mainAxis: 0,
|
|
27206
27214
|
altAxis: 0
|
|
27207
|
-
},
|
|
27215
|
+
}, g1), x1 = a.modifiersData.offset ? a.modifiersData.offset[a.placement] : null, P1 = {
|
|
27208
27216
|
x: 0,
|
|
27209
27217
|
y: 0
|
|
27210
27218
|
};
|
|
27211
27219
|
if (i1) {
|
|
27212
27220
|
if (p) {
|
|
27213
|
-
var m1, k1 = Y === "y" ? $5 : Y5,
|
|
27221
|
+
var m1, k1 = Y === "y" ? $5 : Y5, A1 = Y === "y" ? Z6 : O6, T1 = Y === "y" ? "height" : "width", f2 = i1[Y], C1 = f2 + P[k1], E1 = f2 - P[A1], y1 = _ ? -p1[T1] / 2 : 0, K1 = $ === ta ? r1[T1] : p1[T1], G1 = $ === ta ? -p1[T1] : -r1[T1], R1 = a.elements.arrow, E2 = _ && R1 ? Bh(R1) : {
|
|
27214
27222
|
width: 0,
|
|
27215
27223
|
height: 0
|
|
27216
|
-
}, a3 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : $b(), H2 = a3[k1], j2 = a3[
|
|
27224
|
+
}, a3 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : $b(), H2 = a3[k1], j2 = a3[A1], s2 = Zo(0, r1[T1], E2[T1]), o2 = A ? r1[T1] / 2 - y1 - s2 - H2 - H1.mainAxis : K1 - s2 - H2 - H1.mainAxis, P2 = A ? -r1[T1] / 2 + y1 + s2 + j2 + H1.mainAxis : G1 + s2 + j2 + H1.mainAxis, G2 = a.elements.arrow && Qo(a.elements.arrow), V3 = G2 ? Y === "y" ? G2.clientTop || 0 : G2.clientLeft || 0 : 0, Y2 = (m1 = x1 == null ? void 0 : x1[Y]) != null ? m1 : 0, _1 = f2 + o2 - Y2 - V3, U1 = f2 + P2 - Y2, N2 = Zo(_ ? fc(C1, _1) : C1, f2, _ ? k0(E1, U1) : E1);
|
|
27217
27225
|
i1[Y] = N2, P1[Y] = N2 - f2;
|
|
27218
27226
|
}
|
|
27219
27227
|
if (v) {
|
|
27220
|
-
var _2, Z3 = Y === "x" ? $5 : Y5, me = Y === "x" ? Z6 : O6, U3 = i1[j], te = j === "y" ? "height" : "width", ve = U3 + P[Z3], D2 = U3 - P[me], I3 = [$5, Y5].indexOf(z) !== -1, ue = (_2 =
|
|
27228
|
+
var _2, Z3 = Y === "x" ? $5 : Y5, me = Y === "x" ? Z6 : O6, U3 = i1[j], te = j === "y" ? "height" : "width", ve = U3 + P[Z3], D2 = U3 - P[me], I3 = [$5, Y5].indexOf(z) !== -1, ue = (_2 = x1 == null ? void 0 : x1[j]) != null ? _2 : 0, c4 = I3 ? ve : U3 - r1[te] - p1[te] - ue + H1.altAxis, $3 = I3 ? U3 + r1[te] + p1[te] - ue - H1.altAxis : D2, ge = _ && I3 ? lO(c4, U3, $3) : Zo(_ ? c4 : ve, U3, _ ? $3 : D2);
|
|
27221
27229
|
i1[j] = ge, P1[j] = ge - U3;
|
|
27222
27230
|
}
|
|
27223
27231
|
a.modifiersData[s] = P1;
|
|
@@ -27362,19 +27370,19 @@ function WO(r) {
|
|
|
27362
27370
|
M.rects = {
|
|
27363
27371
|
reference: zO($, Qo(A), M.options.strategy === "fixed"),
|
|
27364
27372
|
popper: Bh(A)
|
|
27365
|
-
}, M.reset = !1, M.placement = M.options.placement, M.orderedModifiers.forEach(function(
|
|
27366
|
-
return M.modifiersData[
|
|
27373
|
+
}, M.reset = !1, M.placement = M.options.placement, M.orderedModifiers.forEach(function(H1) {
|
|
27374
|
+
return M.modifiersData[H1.name] = Object.assign({}, H1.data);
|
|
27367
27375
|
});
|
|
27368
27376
|
for (var Y = 0; Y < M.orderedModifiers.length; Y++) {
|
|
27369
27377
|
if (M.reset === !0) {
|
|
27370
27378
|
M.reset = !1, Y = -1;
|
|
27371
27379
|
continue;
|
|
27372
27380
|
}
|
|
27373
|
-
var j = M.orderedModifiers[Y], i1 = j.fn, r1 = j.options, p1 = r1 === void 0 ? {} : r1,
|
|
27381
|
+
var j = M.orderedModifiers[Y], i1 = j.fn, r1 = j.options, p1 = r1 === void 0 ? {} : r1, g1 = j.name;
|
|
27374
27382
|
typeof i1 == "function" && (M = i1({
|
|
27375
27383
|
state: M,
|
|
27376
27384
|
options: p1,
|
|
27377
|
-
name:
|
|
27385
|
+
name: g1,
|
|
27378
27386
|
instance: _
|
|
27379
27387
|
}) || M);
|
|
27380
27388
|
}
|
|
@@ -29431,7 +29439,7 @@ const Yh = F1(
|
|
|
29431
29439
|
(k, _) => k && X.cloneElement(k, { gap: p, id: `${d}-child${_}` })
|
|
29432
29440
|
);
|
|
29433
29441
|
return /* @__PURE__ */ x.jsx(
|
|
29434
|
-
|
|
29442
|
+
v1,
|
|
29435
29443
|
{
|
|
29436
29444
|
as: "form",
|
|
29437
29445
|
"aria-label": "form",
|
|
@@ -29461,7 +29469,7 @@ const Yh = F1(
|
|
|
29461
29469
|
return p || console.warn(
|
|
29462
29470
|
"NYPL Reservoir Label: This component's required `id` prop was not passed."
|
|
29463
29471
|
), /* @__PURE__ */ x.jsxs(
|
|
29464
|
-
|
|
29472
|
+
v1,
|
|
29465
29473
|
{
|
|
29466
29474
|
as: "label",
|
|
29467
29475
|
id: p,
|
|
@@ -29519,19 +29527,19 @@ const YN = {
|
|
|
29519
29527
|
onClick: i1,
|
|
29520
29528
|
onFocus: r1,
|
|
29521
29529
|
pattern: p1,
|
|
29522
|
-
placeholder:
|
|
29523
|
-
showHelperInvalidText:
|
|
29524
|
-
showLabel:
|
|
29530
|
+
placeholder: g1,
|
|
29531
|
+
showHelperInvalidText: H1 = !0,
|
|
29532
|
+
showLabel: x1 = !0,
|
|
29525
29533
|
showRequiredLabel: P1 = !0,
|
|
29526
29534
|
requiredLabelText: m1,
|
|
29527
29535
|
step: k1 = 1,
|
|
29528
|
-
textInputType:
|
|
29536
|
+
textInputType: A1 = "default",
|
|
29529
29537
|
type: T1 = "text",
|
|
29530
29538
|
value: f2,
|
|
29531
29539
|
...C1
|
|
29532
29540
|
} = r, [E1, y1] = hc(f2), K1 = w5(), G1 = rc(K1, a), R1 = a ? G1 : K1, E2 = U2("TextInput", {
|
|
29533
|
-
showLabel:
|
|
29534
|
-
variant:
|
|
29541
|
+
showLabel: x1,
|
|
29542
|
+
variant: A1
|
|
29535
29543
|
}), a3 = T1 === "textarea", H2 = T1 === "hidden";
|
|
29536
29544
|
let j2 = !!p;
|
|
29537
29545
|
const s2 = M || "There is an error related to this field.", o2 = (_2) => {
|
|
@@ -29556,7 +29564,7 @@ const YN = {
|
|
|
29556
29564
|
id: L,
|
|
29557
29565
|
labelText: P,
|
|
29558
29566
|
name: "TextInput",
|
|
29559
|
-
showLabel:
|
|
29567
|
+
showLabel: x1
|
|
29560
29568
|
}),
|
|
29561
29569
|
// getAriaAttrs returns an object with the key `aria-describedby`,
|
|
29562
29570
|
// but if we need to override it, we can do so here.
|
|
@@ -29564,7 +29572,7 @@ const YN = {
|
|
|
29564
29572
|
}, V3 = () => {
|
|
29565
29573
|
y1(""), k && k(), R1.current.focus();
|
|
29566
29574
|
};
|
|
29567
|
-
let Y2 = R, _1,
|
|
29575
|
+
let Y2 = R, _1, U1, N2;
|
|
29568
29576
|
return L || console.warn(
|
|
29569
29577
|
"NYPL Reservoir TextInput: This component's required `id` prop was not passed."
|
|
29570
29578
|
), T1 === "number" && z && A && A > z && (Y2 = !0, console.warn(
|
|
@@ -29597,7 +29605,7 @@ const YN = {
|
|
|
29597
29605
|
onClick: i1,
|
|
29598
29606
|
onFocus: r1,
|
|
29599
29607
|
pattern: p1,
|
|
29600
|
-
placeholder:
|
|
29608
|
+
placeholder: g1,
|
|
29601
29609
|
ref: R1,
|
|
29602
29610
|
// The `step` attribute is useful for the number type.
|
|
29603
29611
|
step: T1 === "number" ? k1 : null,
|
|
@@ -29605,7 +29613,7 @@ const YN = {
|
|
|
29605
29613
|
...G2
|
|
29606
29614
|
}, a3 ? (E && console.warn(
|
|
29607
29615
|
"NYPL Reservoir TextInput: The `isClearable` prop cannot be used with the `textarea` type."
|
|
29608
|
-
), _1 = /* @__PURE__ */ x.jsx(uk, { ...N2, __css: E2.textarea, children: f2 })) : (N2 = { type: T1, value: E1, ...N2 }, _1 = /* @__PURE__ */ x.jsx(sk, { ...N2, __css: E2.input }), E && !H2 && (
|
|
29616
|
+
), _1 = /* @__PURE__ */ x.jsx(uk, { ...N2, __css: E2.textarea, children: f2 })) : (N2 = { type: T1, value: E1, ...N2 }, _1 = /* @__PURE__ */ x.jsx(sk, { ...N2, __css: E2.input }), E && !H2 && (U1 = /* @__PURE__ */ x.jsxs(
|
|
29609
29617
|
B3,
|
|
29610
29618
|
{
|
|
29611
29619
|
buttonType: "text",
|
|
@@ -29628,11 +29636,11 @@ const YN = {
|
|
|
29628
29636
|
id: L,
|
|
29629
29637
|
invalidText: s2,
|
|
29630
29638
|
isInvalid: Y2,
|
|
29631
|
-
showHelperInvalidText:
|
|
29639
|
+
showHelperInvalidText: H1 && !H2,
|
|
29632
29640
|
__css: E2,
|
|
29633
29641
|
...C1,
|
|
29634
29642
|
children: [
|
|
29635
|
-
P &&
|
|
29643
|
+
P && x1 && !H2 && /* @__PURE__ */ x.jsx(
|
|
29636
29644
|
Io,
|
|
29637
29645
|
{
|
|
29638
29646
|
htmlFor: L,
|
|
@@ -29642,9 +29650,9 @@ const YN = {
|
|
|
29642
29650
|
children: P
|
|
29643
29651
|
}
|
|
29644
29652
|
),
|
|
29645
|
-
/* @__PURE__ */ x.jsxs(
|
|
29653
|
+
/* @__PURE__ */ x.jsxs(v1, { position: "relative", children: [
|
|
29646
29654
|
_1,
|
|
29647
|
-
!H2 && (E1 == null ? void 0 : E1.length) > 0 &&
|
|
29655
|
+
!H2 && (E1 == null ? void 0 : E1.length) > 0 && U1
|
|
29648
29656
|
] })
|
|
29649
29657
|
]
|
|
29650
29658
|
}
|
|
@@ -29749,18 +29757,18 @@ const YN = {
|
|
|
29749
29757
|
placeholder: i1,
|
|
29750
29758
|
placeholderTo: r1,
|
|
29751
29759
|
refTo: p1,
|
|
29752
|
-
showHelperInvalidText:
|
|
29753
|
-
showLabel:
|
|
29754
|
-
showRequiredLabel:
|
|
29760
|
+
showHelperInvalidText: g1 = !0,
|
|
29761
|
+
showLabel: H1 = !0,
|
|
29762
|
+
showRequiredLabel: x1 = !0,
|
|
29755
29763
|
...P1
|
|
29756
|
-
} = r, m1 = U2("DatePicker", {}), k1 = k ? m1 : {},
|
|
29764
|
+
} = r, m1 = U2("DatePicker", {}), k1 = k ? m1 : {}, A1 = L ? new Date(L) : L === "" ? null : /* @__PURE__ */ new Date(), T1 = M ? new Date(M) : M === "" ? null : /* @__PURE__ */ new Date(), f2 = w5(null), C1 = w5(null), E1 = {
|
|
29757
29765
|
startDate: f2,
|
|
29758
29766
|
endDate: C1
|
|
29759
29767
|
}, y1 = rc(f2, a), K1 = rc(C1, p1);
|
|
29760
|
-
let G1 = { startDate:
|
|
29768
|
+
let G1 = { startDate: A1 };
|
|
29761
29769
|
k && (G1 = { ...G1, endDate: T1 });
|
|
29762
|
-
const [R1, E2] = u4(G1), a3 = (_1,
|
|
29763
|
-
E2({ ...R1, [
|
|
29770
|
+
const [R1, E2] = u4(G1), a3 = (_1, U1) => {
|
|
29771
|
+
E2({ ...R1, [U1]: _1 }), j && j({ ...R1, [U1]: _1 }), E1[U1].current.focus();
|
|
29764
29772
|
}, H2 = 12;
|
|
29765
29773
|
let j2 = {
|
|
29766
29774
|
popperClassName: "date-picker-calendar",
|
|
@@ -29780,14 +29788,14 @@ const YN = {
|
|
|
29780
29788
|
isRequired: O,
|
|
29781
29789
|
// In the date range type, don't display the "(Required)" text in
|
|
29782
29790
|
// individual input labels. It'll display in the legend element.
|
|
29783
|
-
showRequiredLabel: k ? !1 :
|
|
29791
|
+
showRequiredLabel: k ? !1 : x1,
|
|
29784
29792
|
// Always display the labels for the input fields when
|
|
29785
29793
|
// the DatePicker component is a date range type.
|
|
29786
|
-
showLabel: k ? !0 :
|
|
29794
|
+
showLabel: k ? !0 : H1,
|
|
29787
29795
|
isDisabled: _,
|
|
29788
29796
|
isInvalid: R,
|
|
29789
29797
|
helperText: k ? d : p,
|
|
29790
|
-
showHelperInvalidText:
|
|
29798
|
+
showHelperInvalidText: g1,
|
|
29791
29799
|
invalidText: E,
|
|
29792
29800
|
__css: k1.subLabels
|
|
29793
29801
|
}, o2 = {}, P2 = {}, G2 = null, V3 = P;
|
|
@@ -29827,7 +29835,7 @@ const YN = {
|
|
|
29827
29835
|
),
|
|
29828
29836
|
id: `${y}-end`,
|
|
29829
29837
|
name: Y,
|
|
29830
|
-
onChange: (
|
|
29838
|
+
onChange: (U1) => a3(U1, "endDate"),
|
|
29831
29839
|
placeholderText: r1,
|
|
29832
29840
|
selected: R1.endDate,
|
|
29833
29841
|
...P2
|
|
@@ -29859,11 +29867,11 @@ const YN = {
|
|
|
29859
29867
|
{
|
|
29860
29868
|
id: y,
|
|
29861
29869
|
isDateRange: k,
|
|
29862
|
-
showLabel:
|
|
29870
|
+
showLabel: H1,
|
|
29863
29871
|
labelText: P,
|
|
29864
29872
|
className: o,
|
|
29865
29873
|
isRequired: O,
|
|
29866
|
-
showRequiredLabel:
|
|
29874
|
+
showRequiredLabel: x1,
|
|
29867
29875
|
...P1,
|
|
29868
29876
|
children: [
|
|
29869
29877
|
/* @__PURE__ */ x.jsxs(QN, { id: y, isDateRange: k, children: [
|
|
@@ -29875,7 +29883,7 @@ const YN = {
|
|
|
29875
29883
|
{
|
|
29876
29884
|
id: `${y}-helper-text`,
|
|
29877
29885
|
isInvalid: !1,
|
|
29878
|
-
isRenderedText: k &&
|
|
29886
|
+
isRenderedText: k && g1,
|
|
29879
29887
|
text: p
|
|
29880
29888
|
}
|
|
29881
29889
|
)
|
|
@@ -29888,8 +29896,8 @@ const YN = {
|
|
|
29888
29896
|
var mc = { exports: {} };
|
|
29889
29897
|
mc.exports;
|
|
29890
29898
|
(function(r, a) {
|
|
29891
|
-
var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, d = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", M = "[object Boolean]", E = "[object Date]", k = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", O = "[object Map]", P = "[object Number]", z = "[object Null]", $ = "[object Object]", A = "[object Proxy]", Y = "[object RegExp]", j = "[object Set]", i1 = "[object String]", r1 = "[object Undefined]", p1 = "[object WeakMap]",
|
|
29892
|
-
R1[
|
|
29899
|
+
var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, d = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", M = "[object Boolean]", E = "[object Date]", k = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", O = "[object Map]", P = "[object Number]", z = "[object Null]", $ = "[object Object]", A = "[object Proxy]", Y = "[object RegExp]", j = "[object Set]", i1 = "[object String]", r1 = "[object Undefined]", p1 = "[object WeakMap]", g1 = "[object ArrayBuffer]", H1 = "[object DataView]", x1 = "[object Float32Array]", P1 = "[object Float64Array]", m1 = "[object Int8Array]", k1 = "[object Int16Array]", A1 = "[object Int32Array]", T1 = "[object Uint8Array]", f2 = "[object Uint8ClampedArray]", C1 = "[object Uint16Array]", E1 = "[object Uint32Array]", y1 = /[\\^$.*+?()[\]{}|]/g, K1 = /^\[object .+?Constructor\]$/, G1 = /^(?:0|[1-9]\d*)$/, R1 = {};
|
|
29900
|
+
R1[x1] = R1[P1] = R1[m1] = R1[k1] = R1[A1] = R1[T1] = R1[f2] = R1[C1] = R1[E1] = !0, R1[v] = R1[y] = R1[g1] = R1[M] = R1[H1] = R1[E] = R1[k] = R1[_] = R1[O] = R1[P] = R1[$] = R1[Y] = R1[j] = R1[i1] = R1[p1] = !1;
|
|
29893
29901
|
var E2 = typeof ju == "object" && ju && ju.Object === Object && ju, a3 = typeof self == "object" && self && self.Object === Object && self, H2 = E2 || a3 || Function("return this")(), j2 = a && !a.nodeType && a, s2 = j2 && !0 && r && !r.nodeType && r, o2 = s2 && s2.exports === j2, P2 = o2 && E2.process, G2 = function() {
|
|
29894
29902
|
try {
|
|
29895
29903
|
var N = s2 && s2.require && s2.require("util").types;
|
|
@@ -29915,7 +29923,7 @@ mc.exports;
|
|
|
29915
29923
|
X1[u1] = K(u1);
|
|
29916
29924
|
return X1;
|
|
29917
29925
|
}
|
|
29918
|
-
function
|
|
29926
|
+
function U1(N) {
|
|
29919
29927
|
return function(K) {
|
|
29920
29928
|
return N(K);
|
|
29921
29929
|
};
|
|
@@ -30338,7 +30346,7 @@ mc.exports;
|
|
|
30338
30346
|
var u1 = D2.call(K, "constructor") && K.constructor;
|
|
30339
30347
|
return typeof u1 == "function" && u1 instanceof u1 && ve.call(u1) == c4;
|
|
30340
30348
|
}
|
|
30341
|
-
var St = V3 ?
|
|
30349
|
+
var St = V3 ? U1(V3) : j0;
|
|
30342
30350
|
function V7(N) {
|
|
30343
30351
|
return w7(N, g9(N));
|
|
30344
30352
|
}
|
|
@@ -37618,15 +37626,15 @@ const fI = F1(
|
|
|
37618
37626
|
), o || console.warn(
|
|
37619
37627
|
"NYPL Reservoir FeaturedContent: The 'textContent' prop is required."
|
|
37620
37628
|
), /* @__PURE__ */ x.jsx(
|
|
37621
|
-
|
|
37629
|
+
v1,
|
|
37622
37630
|
{
|
|
37623
37631
|
"data-testid": "featuredcontent",
|
|
37624
37632
|
__css: d.base,
|
|
37625
37633
|
ref: a,
|
|
37626
37634
|
...p,
|
|
37627
|
-
children: /* @__PURE__ */ x.jsxs(
|
|
37635
|
+
children: /* @__PURE__ */ x.jsxs(v1, { __css: d.wrapper, children: [
|
|
37628
37636
|
/* @__PURE__ */ x.jsx(
|
|
37629
|
-
|
|
37637
|
+
v1,
|
|
37630
37638
|
{
|
|
37631
37639
|
"data-testid": "featuredcontent-bg-image",
|
|
37632
37640
|
__css: {
|
|
@@ -37642,7 +37650,7 @@ const fI = F1(
|
|
|
37642
37650
|
)
|
|
37643
37651
|
}
|
|
37644
37652
|
),
|
|
37645
|
-
/* @__PURE__ */ x.jsx(
|
|
37653
|
+
/* @__PURE__ */ x.jsx(v1, { __css: d.text, children: o })
|
|
37646
37654
|
] })
|
|
37647
37655
|
}
|
|
37648
37656
|
);
|
|
@@ -37671,7 +37679,7 @@ const fI = F1(
|
|
|
37671
37679
|
title: y,
|
|
37672
37680
|
id: s
|
|
37673
37681
|
});
|
|
37674
|
-
return /* @__PURE__ */ x.jsxs(
|
|
37682
|
+
return /* @__PURE__ */ x.jsxs(v1, { as: "header", __css: v, ...d, children: [
|
|
37675
37683
|
o,
|
|
37676
37684
|
a && L
|
|
37677
37685
|
] });
|
|
@@ -37691,7 +37699,7 @@ const fI = F1(
|
|
|
37691
37699
|
notificationType: p,
|
|
37692
37700
|
showIcon: d
|
|
37693
37701
|
});
|
|
37694
|
-
return /* @__PURE__ */ x.jsx(
|
|
37702
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: y, ...v, children: o && /* @__PURE__ */ x.jsx(v1, { __css: y.content, children: o }) });
|
|
37695
37703
|
}), Mz = F1(
|
|
37696
37704
|
c2((r, a) => {
|
|
37697
37705
|
const {
|
|
@@ -37714,7 +37722,7 @@ const fI = F1(
|
|
|
37714
37722
|
notificationType: E,
|
|
37715
37723
|
showIcon: k
|
|
37716
37724
|
}), A = () => {
|
|
37717
|
-
const
|
|
37725
|
+
const H1 = {
|
|
37718
37726
|
size: "large",
|
|
37719
37727
|
__css: $.icon
|
|
37720
37728
|
};
|
|
@@ -37723,9 +37731,9 @@ const fI = F1(
|
|
|
37723
37731
|
if (p)
|
|
37724
37732
|
return X.cloneElement(p, {
|
|
37725
37733
|
id: `${d}-custom-notification-icon`,
|
|
37726
|
-
...
|
|
37734
|
+
...H1
|
|
37727
37735
|
});
|
|
37728
|
-
const
|
|
37736
|
+
const x1 = {
|
|
37729
37737
|
announcement: {
|
|
37730
37738
|
color: P === "dark" ? "dark.ui.success.primary" : "section.research.secondary",
|
|
37731
37739
|
name: "speakerNotes",
|
|
@@ -37747,8 +37755,8 @@ const fI = F1(
|
|
|
37747
37755
|
{
|
|
37748
37756
|
className: "notification-icon",
|
|
37749
37757
|
id: `${d}-notification-icon`,
|
|
37750
|
-
...
|
|
37751
|
-
...
|
|
37758
|
+
...x1[E],
|
|
37759
|
+
...H1
|
|
37752
37760
|
}
|
|
37753
37761
|
);
|
|
37754
37762
|
}, Y = a5(
|
|
@@ -37782,7 +37790,7 @@ const fI = F1(
|
|
|
37782
37790
|
notificationType: E,
|
|
37783
37791
|
children: M
|
|
37784
37792
|
}
|
|
37785
|
-
), p1 = !!(r1 && k && (p || !v)),
|
|
37793
|
+
), p1 = !!(r1 && k && (p || !v)), g1 = /* @__PURE__ */ x.jsx(
|
|
37786
37794
|
Vz,
|
|
37787
37795
|
{
|
|
37788
37796
|
alignText: p1,
|
|
@@ -37794,7 +37802,7 @@ const fI = F1(
|
|
|
37794
37802
|
}
|
|
37795
37803
|
);
|
|
37796
37804
|
return R ? /* @__PURE__ */ x.jsxs(
|
|
37797
|
-
|
|
37805
|
+
v1,
|
|
37798
37806
|
{
|
|
37799
37807
|
"aria-label": o,
|
|
37800
37808
|
as: "aside",
|
|
@@ -37805,9 +37813,9 @@ const fI = F1(
|
|
|
37805
37813
|
__css: $,
|
|
37806
37814
|
..._,
|
|
37807
37815
|
children: [
|
|
37808
|
-
/* @__PURE__ */ x.jsxs(
|
|
37816
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: $.container, children: [
|
|
37809
37817
|
r1,
|
|
37810
|
-
|
|
37818
|
+
g1
|
|
37811
37819
|
] }),
|
|
37812
37820
|
j
|
|
37813
37821
|
]
|
|
@@ -37868,7 +37876,7 @@ const fI = F1(
|
|
|
37868
37876
|
alignItems: "flex-start",
|
|
37869
37877
|
sx: z,
|
|
37870
37878
|
...Y,
|
|
37871
|
-
children: /* @__PURE__ */ x.jsx(
|
|
37879
|
+
children: /* @__PURE__ */ x.jsx(v1, { as: "span", __css: R ? {} : z.hiddenLabel, children: M })
|
|
37872
37880
|
}
|
|
37873
37881
|
)
|
|
37874
37882
|
}
|
|
@@ -37896,10 +37904,10 @@ const fI = F1(
|
|
|
37896
37904
|
showLabel: z = !0,
|
|
37897
37905
|
showRequiredLabel: $ = !0,
|
|
37898
37906
|
...A
|
|
37899
|
-
} = r, [Y, j] = X.useState(i), i1 = M ? v : p, r1 = _ === "column" ? Fo.s : Fo.l, p1 = [],
|
|
37907
|
+
} = r, [Y, j] = X.useState(i), i1 = M ? v : p, r1 = _ === "column" ? Fo.s : Fo.l, p1 = [], g1 = U2("RadioGroup", { isFullWidth: L }), H1 = {
|
|
37900
37908
|
name: R,
|
|
37901
|
-
onChange: (
|
|
37902
|
-
j(
|
|
37909
|
+
onChange: (x1) => {
|
|
37910
|
+
j(x1), O && O(x1);
|
|
37903
37911
|
},
|
|
37904
37912
|
ref: a,
|
|
37905
37913
|
value: Y
|
|
@@ -37908,18 +37916,18 @@ const fI = F1(
|
|
|
37908
37916
|
"NYPL Reservoir RadioGroup: This component's required `id` prop was not passed."
|
|
37909
37917
|
), X.Children.map(
|
|
37910
37918
|
o,
|
|
37911
|
-
(
|
|
37919
|
+
(x1, P1) => {
|
|
37912
37920
|
var m1, k1;
|
|
37913
|
-
if ((
|
|
37921
|
+
if ((x1 == null ? void 0 : x1.type) !== nc && ((m1 = x1.props) != null && m1.mdxType && ((k1 = x1.props) == null ? void 0 : k1.mdxType) === "Radio" || console.warn(
|
|
37914
37922
|
"NYPL Reservoir RadioGroup: Only `Radio` components are allowed inside the `RadioGroup` component."
|
|
37915
|
-
)),
|
|
37916
|
-
const
|
|
37923
|
+
)), x1 != null) {
|
|
37924
|
+
const A1 = {
|
|
37917
37925
|
key: P1,
|
|
37918
37926
|
isDisabled: y,
|
|
37919
37927
|
isInvalid: M,
|
|
37920
37928
|
isRequired: E
|
|
37921
37929
|
};
|
|
37922
|
-
p1.push(X.cloneElement(
|
|
37930
|
+
p1.push(X.cloneElement(x1, A1));
|
|
37923
37931
|
}
|
|
37924
37932
|
}
|
|
37925
37933
|
), /* @__PURE__ */ x.jsxs(
|
|
@@ -37932,9 +37940,9 @@ const fI = F1(
|
|
|
37932
37940
|
legendText: k,
|
|
37933
37941
|
showRequiredLabel: $,
|
|
37934
37942
|
...A,
|
|
37935
|
-
__css:
|
|
37943
|
+
__css: g1,
|
|
37936
37944
|
children: [
|
|
37937
|
-
/* @__PURE__ */ x.jsx(fk, { ...
|
|
37945
|
+
/* @__PURE__ */ x.jsx(fk, { ...H1, children: /* @__PURE__ */ x.jsx(P0, { direction: [_], spacing: r1, children: p1 }) }),
|
|
37938
37946
|
/* @__PURE__ */ x.jsx(
|
|
37939
37947
|
Xr,
|
|
37940
37948
|
{
|
|
@@ -37942,7 +37950,7 @@ const fI = F1(
|
|
|
37942
37950
|
isInvalid: M,
|
|
37943
37951
|
isRenderedText: P,
|
|
37944
37952
|
text: i1,
|
|
37945
|
-
__css:
|
|
37953
|
+
__css: g1.helperErrorText
|
|
37946
37954
|
}
|
|
37947
37955
|
)
|
|
37948
37956
|
]
|
|
@@ -38040,8 +38048,8 @@ const Tz = F1(
|
|
|
38040
38048
|
onClose: O,
|
|
38041
38049
|
...P
|
|
38042
38050
|
}, z) => {
|
|
38043
|
-
const [$, A] = hc(k), [Y, j] = hc(p), [i1, r1] = u4(!1), { state: p1, setCategory:
|
|
38044
|
-
let
|
|
38051
|
+
const [$, A] = hc(k), [Y, j] = hc(p), [i1, r1] = u4(!1), { state: p1, setCategory: g1, setComment: H1, setEmail: x1, clearValues: P1 } = kz(), { isLargerThanMobile: m1 } = da(), k1 = la(), A1 = _ || k1.isOpen, T1 = R || k1.onOpen, f2 = O || k1.onClose, C1 = w5(), E1 = w5(), y1 = w5(), K1 = U2("FeedbackBox", {}), G1 = $ === "form", R1 = $ === "confirmation", E2 = $ === "error", a3 = 3e3, H2 = 500, j2 = 165, s2 = "auto 1fr", o2 = a5(null, "dark.ui.typography.body"), P2 = 235, G2 = 275, V3 = 345, Y2 = 37, _1 = 24;
|
|
38052
|
+
let U1 = j2;
|
|
38045
38053
|
const N2 = () => {
|
|
38046
38054
|
f2(), A("form"), P1(), j(!1), setTimeout(() => {
|
|
38047
38055
|
var D2;
|
|
@@ -38098,9 +38106,9 @@ const Tz = F1(
|
|
|
38098
38106
|
var I3;
|
|
38099
38107
|
(I3 = C1 == null ? void 0 : C1.current) == null || I3.focus();
|
|
38100
38108
|
}, 250)), () => clearTimeout(D2);
|
|
38101
|
-
}, [C1, $]), L && (
|
|
38102
|
-
let ve =
|
|
38103
|
-
return /* @__PURE__ */ x.jsxs(
|
|
38109
|
+
}, [C1, $]), L && (U1 = P2), M && (U1 = G2), L && M && (U1 = V3), v && (U1 += Y2), o && (U1 += _1), v && o && (U1 += 16);
|
|
38110
|
+
let ve = U1 + "px";
|
|
38111
|
+
return /* @__PURE__ */ x.jsxs(v1, { className: r, id: i, ref: z, sx: K1, ...P, children: [
|
|
38104
38112
|
/* @__PURE__ */ x.jsx(
|
|
38105
38113
|
B3,
|
|
38106
38114
|
{
|
|
@@ -38115,7 +38123,7 @@ const Tz = F1(
|
|
|
38115
38123
|
hk,
|
|
38116
38124
|
{
|
|
38117
38125
|
blockScrollOnMount: !1,
|
|
38118
|
-
isOpen:
|
|
38126
|
+
isOpen: A1,
|
|
38119
38127
|
onClose: N2,
|
|
38120
38128
|
placement: "bottom",
|
|
38121
38129
|
children: [
|
|
@@ -38173,7 +38181,7 @@ const Tz = F1(
|
|
|
38173
38181
|
labelText: "What is your feedback about?",
|
|
38174
38182
|
layout: m1 ? "row" : "column",
|
|
38175
38183
|
name: `${i}-category`,
|
|
38176
|
-
onChange: (D2) =>
|
|
38184
|
+
onChange: (D2) => g1(D2),
|
|
38177
38185
|
children: [
|
|
38178
38186
|
/* @__PURE__ */ x.jsx(
|
|
38179
38187
|
nc,
|
|
@@ -38207,7 +38215,7 @@ const Tz = F1(
|
|
|
38207
38215
|
labelText: "Comment (Required)",
|
|
38208
38216
|
maxLength: H2,
|
|
38209
38217
|
name: `${i}-comment`,
|
|
38210
|
-
onChange: (D2) =>
|
|
38218
|
+
onChange: (D2) => H1(D2.target.value),
|
|
38211
38219
|
placeholder: "Enter your question or feedback here",
|
|
38212
38220
|
ref: y1,
|
|
38213
38221
|
type: "textarea"
|
|
@@ -38222,7 +38230,7 @@ const Tz = F1(
|
|
|
38222
38230
|
isInvalid: d,
|
|
38223
38231
|
labelText: "Email",
|
|
38224
38232
|
name: `${i}-email`,
|
|
38225
|
-
onChange: (D2) =>
|
|
38233
|
+
onChange: (D2) => x1(D2.target.value),
|
|
38226
38234
|
placeholder: "Enter your email address here",
|
|
38227
38235
|
type: "email",
|
|
38228
38236
|
value: p1.email
|
|
@@ -38256,7 +38264,7 @@ const Tz = F1(
|
|
|
38256
38264
|
] }),
|
|
38257
38265
|
R1 && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38258
38266
|
/* @__PURE__ */ x.jsxs(
|
|
38259
|
-
|
|
38267
|
+
v1,
|
|
38260
38268
|
{
|
|
38261
38269
|
className: "feedback-body response",
|
|
38262
38270
|
margin: "auto",
|
|
@@ -38292,7 +38300,7 @@ const Tz = F1(
|
|
|
38292
38300
|
] }),
|
|
38293
38301
|
E2 && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38294
38302
|
/* @__PURE__ */ x.jsxs(
|
|
38295
|
-
|
|
38303
|
+
v1,
|
|
38296
38304
|
{
|
|
38297
38305
|
className: "feedback-body response",
|
|
38298
38306
|
color: "ui.error.primary",
|
|
@@ -38471,7 +38479,7 @@ const hI = F1(
|
|
|
38471
38479
|
(p1 = i1.current) == null || p1.focus();
|
|
38472
38480
|
}, 1);
|
|
38473
38481
|
};
|
|
38474
|
-
return /* @__PURE__ */ x.jsxs(
|
|
38482
|
+
return /* @__PURE__ */ x.jsxs(v1, { id: `filter-bar-${s}`, ref: a, ..._, children: [
|
|
38475
38483
|
/* @__PURE__ */ x.jsx(
|
|
38476
38484
|
B3,
|
|
38477
38485
|
{
|
|
@@ -38669,7 +38677,7 @@ const cb = [
|
|
|
38669
38677
|
}
|
|
38670
38678
|
), i1 = v === "campaign" ? /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38671
38679
|
/* @__PURE__ */ x.jsx(
|
|
38672
|
-
|
|
38680
|
+
v1,
|
|
38673
38681
|
{
|
|
38674
38682
|
__css: {
|
|
38675
38683
|
...R.imgWrapper
|
|
@@ -38680,13 +38688,13 @@ const cb = [
|
|
|
38680
38688
|
children: j
|
|
38681
38689
|
}
|
|
38682
38690
|
),
|
|
38683
|
-
/* @__PURE__ */ x.jsxs(
|
|
38691
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: R.interior, children: [
|
|
38684
38692
|
P,
|
|
38685
38693
|
_
|
|
38686
38694
|
] })
|
|
38687
38695
|
] }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38688
38696
|
v !== "primary" && v !== "tertiary" && /* @__PURE__ */ x.jsx(
|
|
38689
|
-
|
|
38697
|
+
v1,
|
|
38690
38698
|
{
|
|
38691
38699
|
__css: {
|
|
38692
38700
|
...R.imgWrapper
|
|
@@ -38698,10 +38706,10 @@ const cb = [
|
|
|
38698
38706
|
}
|
|
38699
38707
|
),
|
|
38700
38708
|
P,
|
|
38701
|
-
v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(
|
|
38709
|
+
v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(v1, { __css: R.bodyText, children: _ })
|
|
38702
38710
|
] });
|
|
38703
38711
|
return /* @__PURE__ */ x.jsx(
|
|
38704
|
-
|
|
38712
|
+
v1,
|
|
38705
38713
|
{
|
|
38706
38714
|
"data-testid": "hero",
|
|
38707
38715
|
"data-responsive-background-image": !0,
|
|
@@ -38712,7 +38720,7 @@ const cb = [
|
|
|
38712
38720
|
...z
|
|
38713
38721
|
},
|
|
38714
38722
|
children: /* @__PURE__ */ x.jsx(
|
|
38715
|
-
|
|
38723
|
+
v1,
|
|
38716
38724
|
{
|
|
38717
38725
|
"data-testid": "hero-content",
|
|
38718
38726
|
style: $,
|
|
@@ -38734,7 +38742,7 @@ const cb = [
|
|
|
38734
38742
|
width: "100%"
|
|
38735
38743
|
};
|
|
38736
38744
|
return /* @__PURE__ */ x.jsx(
|
|
38737
|
-
|
|
38745
|
+
v1,
|
|
38738
38746
|
{
|
|
38739
38747
|
as: "hr",
|
|
38740
38748
|
className: s,
|
|
@@ -38783,7 +38791,7 @@ const cb = [
|
|
|
38783
38791
|
/* @__PURE__ */ x.jsx("dd", { children: $.description }, `${A}-des`)
|
|
38784
38792
|
]) : null : null);
|
|
38785
38793
|
return M === "ol" || M === "ul" ? (Qw(o, M), R = /* @__PURE__ */ x.jsx(
|
|
38786
|
-
|
|
38794
|
+
v1,
|
|
38787
38795
|
{
|
|
38788
38796
|
as: M,
|
|
38789
38797
|
id: i,
|
|
@@ -38803,7 +38811,7 @@ const cb = [
|
|
|
38803
38811
|
}
|
|
38804
38812
|
);
|
|
38805
38813
|
})(), R = /* @__PURE__ */ x.jsxs(
|
|
38806
|
-
|
|
38814
|
+
v1,
|
|
38807
38815
|
{
|
|
38808
38816
|
as: "section",
|
|
38809
38817
|
id: i,
|
|
@@ -39177,7 +39185,7 @@ const cb = [
|
|
|
39177
39185
|
ref: a
|
|
39178
39186
|
}) : console.warn(
|
|
39179
39187
|
"NYPL Reservoir Logo: An `svg` element must be passed to the `Logo` component as its child."
|
|
39180
|
-
), /* @__PURE__ */ x.jsx(
|
|
39188
|
+
), /* @__PURE__ */ x.jsx(v1, { ref: a, __css: E, children: _ });
|
|
39181
39189
|
})
|
|
39182
39190
|
);
|
|
39183
39191
|
class LI {
|
|
@@ -39381,7 +39389,7 @@ const bI = F1(
|
|
|
39381
39389
|
backgroundColor: j ? "ui.link.primary-05 !important" : "unset",
|
|
39382
39390
|
children: [
|
|
39383
39391
|
y && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
39384
|
-
/* @__PURE__ */ x.jsx(
|
|
39392
|
+
/* @__PURE__ */ x.jsx(v1, { as: "span", sx: { paddingRight: "xs" }, children: p && R ? R.label : o }),
|
|
39385
39393
|
/* @__PURE__ */ x.jsx(
|
|
39386
39394
|
F3,
|
|
39387
39395
|
{
|
|
@@ -39413,7 +39421,7 @@ const bI = F1(
|
|
|
39413
39421
|
),
|
|
39414
39422
|
...A(r1.children)
|
|
39415
39423
|
];
|
|
39416
|
-
const p1 = R ? R.id === r1.id : !1,
|
|
39424
|
+
const p1 = R ? R.id === r1.id : !1, g1 = /* @__PURE__ */ x.jsx(
|
|
39417
39425
|
Vk,
|
|
39418
39426
|
{
|
|
39419
39427
|
isFocusable: !0,
|
|
@@ -39425,7 +39433,7 @@ const bI = F1(
|
|
|
39425
39433
|
...p1 && k.selected
|
|
39426
39434
|
},
|
|
39427
39435
|
children: /* @__PURE__ */ x.jsxs(
|
|
39428
|
-
|
|
39436
|
+
v1,
|
|
39429
39437
|
{
|
|
39430
39438
|
style: {
|
|
39431
39439
|
display: "flex",
|
|
@@ -39441,9 +39449,9 @@ const bI = F1(
|
|
|
39441
39449
|
},
|
|
39442
39450
|
r1.id
|
|
39443
39451
|
);
|
|
39444
|
-
return [...i1,
|
|
39452
|
+
return [...i1, g1];
|
|
39445
39453
|
}, []), Y = w5();
|
|
39446
|
-
return /* @__PURE__ */ x.jsx(
|
|
39454
|
+
return /* @__PURE__ */ x.jsx(v1, { ref: E, children: /* @__PURE__ */ x.jsx(
|
|
39447
39455
|
Lk,
|
|
39448
39456
|
{
|
|
39449
39457
|
id: a,
|
|
@@ -39688,14 +39696,14 @@ const RU = c2((r, a) => {
|
|
|
39688
39696
|
...P
|
|
39689
39697
|
} = r, [z, $] = u4(!1), A = w5(), Y = w5(), j = w5(), i1 = (_1) => {
|
|
39690
39698
|
if (_1.type === "mousedown") {
|
|
39691
|
-
const
|
|
39692
|
-
|
|
39699
|
+
const U1 = Y.current;
|
|
39700
|
+
U1 && !U1.contains(_1.target) ? $(!0) : $(!1);
|
|
39693
39701
|
}
|
|
39694
39702
|
}, r1 = (_1) => {
|
|
39695
39703
|
if (_1.key === "Tab") {
|
|
39696
|
-
const
|
|
39704
|
+
const U1 = Y.current;
|
|
39697
39705
|
setTimeout(() => {
|
|
39698
|
-
|
|
39706
|
+
U1 && !U1.contains(document.activeElement) ? $(!0) : $(!1);
|
|
39699
39707
|
}, 0);
|
|
39700
39708
|
}
|
|
39701
39709
|
};
|
|
@@ -39705,50 +39713,50 @@ const RU = c2((r, a) => {
|
|
|
39705
39713
|
document.removeEventListener("mousedown", i1), document.removeEventListener("keydown", r1);
|
|
39706
39714
|
};
|
|
39707
39715
|
}, [M]);
|
|
39708
|
-
const
|
|
39709
|
-
() =>
|
|
39710
|
-
[
|
|
39711
|
-
), [m1, k1] = u4(P1), [
|
|
39716
|
+
const H1 = y === "expand" ? "unset" : p ? "270px" : "215px", x1 = v.length > d && y === "expand", P1 = X.useMemo(
|
|
39717
|
+
() => x1 ? v.slice(0, d) : v,
|
|
39718
|
+
[x1, v, d]
|
|
39719
|
+
), [m1, k1] = u4(P1), [A1, T1] = u4(!0), f2 = ((Y2 = R[o]) == null ? void 0 : Y2.items.length) || 0, C1 = `item${f2 === 1 ? "" : "s"}`, E1 = `${L}, ${f2} ${C1} currently selected`, y1 = U2("MultiSelect", {
|
|
39712
39720
|
isBlockElement: s,
|
|
39713
39721
|
width: O
|
|
39714
|
-
}), K1 = (_1,
|
|
39715
|
-
(N2) => N2 ===
|
|
39716
|
-
) : !1, G1 = (_1,
|
|
39717
|
-
let N2 =
|
|
39722
|
+
}), K1 = (_1, U1) => R[_1] ? !!R[_1].items.find(
|
|
39723
|
+
(N2) => N2 === U1
|
|
39724
|
+
) : !1, G1 = (_1, U1) => {
|
|
39725
|
+
let N2 = U1.children.map((_2) => _2.id);
|
|
39718
39726
|
return R[_1] !== void 0 ? N2.every(
|
|
39719
39727
|
(_2) => {
|
|
39720
39728
|
var Z3;
|
|
39721
|
-
return R[_1].items.includes(_2) && !((Z3 =
|
|
39729
|
+
return R[_1].items.includes(_2) && !((Z3 = U1.children.find((me) => me.id === _2)) != null && Z3.isDisabled);
|
|
39722
39730
|
}
|
|
39723
39731
|
) : !1;
|
|
39724
|
-
}, R1 = (_1,
|
|
39725
|
-
let N2 =
|
|
39732
|
+
}, R1 = (_1, U1) => {
|
|
39733
|
+
let N2 = U1.children.map((_2) => _2.id);
|
|
39726
39734
|
return R[_1] !== void 0 && N2.length > 0 && N2.some(
|
|
39727
39735
|
(_2) => {
|
|
39728
39736
|
var Z3;
|
|
39729
|
-
return R[_1].items.includes(_2) && !((Z3 =
|
|
39737
|
+
return R[_1].items.includes(_2) && !((Z3 = U1.children.find((me) => me.id === _2)) != null && Z3.isDisabled);
|
|
39730
39738
|
}
|
|
39731
|
-
) ? !G1(_1,
|
|
39732
|
-
}, E2 = (_1) => (_1.children.every((
|
|
39733
|
-
const
|
|
39734
|
-
if (!
|
|
39735
|
-
k1(
|
|
39739
|
+
) ? !G1(_1, U1) : !1;
|
|
39740
|
+
}, E2 = (_1) => (_1.children.every((U1) => U1.isDisabled) ? _1.isDisabled = !0 : _1.isDisabled = !1, _1.isDisabled), a3 = () => /* @__PURE__ */ x.jsx(v1, { marginTop: "xs", children: "No options found" }), H2 = (_1) => {
|
|
39741
|
+
const U1 = _1.target.value.trim().toLowerCase();
|
|
39742
|
+
if (!U1) {
|
|
39743
|
+
k1(A1 ? P1 : v);
|
|
39736
39744
|
return;
|
|
39737
39745
|
}
|
|
39738
|
-
const N2 = v.filter((_2) => _2.children ? _2.name.toLowerCase().includes(
|
|
39739
|
-
(Z3) => Z3.name.toLowerCase().includes(
|
|
39740
|
-
) : _2.name.toLowerCase().includes(
|
|
39746
|
+
const N2 = v.filter((_2) => _2.children ? _2.name.toLowerCase().includes(U1) ? !0 : _2.children.some(
|
|
39747
|
+
(Z3) => Z3.name.toLowerCase().includes(U1)
|
|
39748
|
+
) : _2.name.toLowerCase().includes(U1));
|
|
39741
39749
|
k1(N2);
|
|
39742
39750
|
}, j2 = () => {
|
|
39743
|
-
k1(
|
|
39751
|
+
k1(A1 ? P1 : v);
|
|
39744
39752
|
}, s2 = () => {
|
|
39745
39753
|
T1((_1) => !_1), setTimeout(() => {
|
|
39746
39754
|
j.current && j.current.focus();
|
|
39747
39755
|
}, 1);
|
|
39748
39756
|
};
|
|
39749
39757
|
X.useEffect(() => {
|
|
39750
|
-
k1(
|
|
39751
|
-
}, [
|
|
39758
|
+
k1(A1 ? P1 : v);
|
|
39759
|
+
}, [A1, P1, v]);
|
|
39752
39760
|
const o2 = () => /* @__PURE__ */ x.jsx(
|
|
39753
39761
|
B3,
|
|
39754
39762
|
{
|
|
@@ -39758,7 +39766,7 @@ const RU = c2((r, a) => {
|
|
|
39758
39766
|
ref: j,
|
|
39759
39767
|
onClick: s2,
|
|
39760
39768
|
__css: y1.viewAllButton,
|
|
39761
|
-
children:
|
|
39769
|
+
children: A1 ? "View all" : "View less"
|
|
39762
39770
|
}
|
|
39763
39771
|
), P2 = (_1) => _1.children ? [
|
|
39764
39772
|
/* @__PURE__ */ x.jsx(
|
|
@@ -39780,19 +39788,19 @@ const RU = c2((r, a) => {
|
|
|
39780
39788
|
},
|
|
39781
39789
|
_1.id
|
|
39782
39790
|
),
|
|
39783
|
-
..._1.children.map((
|
|
39791
|
+
..._1.children.map((U1) => /* @__PURE__ */ x.jsx(
|
|
39784
39792
|
up,
|
|
39785
39793
|
{
|
|
39786
39794
|
marginInlineStart: "0",
|
|
39787
|
-
id:
|
|
39788
|
-
labelText:
|
|
39789
|
-
name:
|
|
39790
|
-
isDisabled:
|
|
39791
|
-
isChecked: K1(o,
|
|
39795
|
+
id: U1.id,
|
|
39796
|
+
labelText: U1.name,
|
|
39797
|
+
name: U1.name,
|
|
39798
|
+
isDisabled: U1.isDisabled,
|
|
39799
|
+
isChecked: K1(o, U1.id),
|
|
39792
39800
|
onChange: E,
|
|
39793
39801
|
__css: y1.menuChildren
|
|
39794
39802
|
},
|
|
39795
|
-
|
|
39803
|
+
U1.id
|
|
39796
39804
|
))
|
|
39797
39805
|
] : [
|
|
39798
39806
|
/* @__PURE__ */ x.jsx(
|
|
@@ -39808,14 +39816,14 @@ const RU = c2((r, a) => {
|
|
|
39808
39816
|
_1.id
|
|
39809
39817
|
)
|
|
39810
39818
|
], G2 = /* @__PURE__ */ x.jsx(
|
|
39811
|
-
|
|
39819
|
+
v1,
|
|
39812
39820
|
{
|
|
39813
39821
|
as: "span",
|
|
39814
39822
|
title: L,
|
|
39815
39823
|
__css: f2 > 0 ? y1.buttonTextLabel : null,
|
|
39816
39824
|
children: L
|
|
39817
39825
|
}
|
|
39818
|
-
), V3 = /* @__PURE__ */ x.jsxs(
|
|
39826
|
+
), V3 = /* @__PURE__ */ x.jsxs(v1, { children: [
|
|
39819
39827
|
p && /* @__PURE__ */ x.jsx(
|
|
39820
39828
|
N0,
|
|
39821
39829
|
{
|
|
@@ -39846,11 +39854,11 @@ const RU = c2((r, a) => {
|
|
|
39846
39854
|
children: m1.map((_1) => /* @__PURE__ */ x.jsx(x.Fragment, { children: P2(_1) }))
|
|
39847
39855
|
}
|
|
39848
39856
|
),
|
|
39849
|
-
|
|
39857
|
+
x1 && /* @__PURE__ */ x.jsx(o2, {})
|
|
39850
39858
|
] })
|
|
39851
39859
|
] });
|
|
39852
39860
|
return /* @__PURE__ */ x.jsxs(
|
|
39853
|
-
|
|
39861
|
+
v1,
|
|
39854
39862
|
{
|
|
39855
39863
|
id: o,
|
|
39856
39864
|
__css: y1.base,
|
|
@@ -39875,7 +39883,7 @@ const RU = c2((r, a) => {
|
|
|
39875
39883
|
isDefaultOpen: i,
|
|
39876
39884
|
isAlwaysRendered: !0,
|
|
39877
39885
|
userClickedOutside: z,
|
|
39878
|
-
panelMaxHeight:
|
|
39886
|
+
panelMaxHeight: H1,
|
|
39879
39887
|
sx: {
|
|
39880
39888
|
...y1.accordionStyles
|
|
39881
39889
|
}
|
|
@@ -39953,7 +39961,7 @@ const RU = c2((r, a) => {
|
|
|
39953
39961
|
iconColor: i,
|
|
39954
39962
|
text: p
|
|
39955
39963
|
}) => /* @__PURE__ */ x.jsxs(
|
|
39956
|
-
|
|
39964
|
+
v1,
|
|
39957
39965
|
{
|
|
39958
39966
|
className: "feedback-body response",
|
|
39959
39967
|
margin: "auto",
|
|
@@ -39961,7 +39969,7 @@ const RU = c2((r, a) => {
|
|
|
39961
39969
|
tabIndex: -1,
|
|
39962
39970
|
width: "100%",
|
|
39963
39971
|
children: [
|
|
39964
|
-
/* @__PURE__ */ x.jsxs(
|
|
39972
|
+
/* @__PURE__ */ x.jsxs(v1, { display: "flex", marginBottom: "xs", alignItems: { md: "center" }, children: [
|
|
39965
39973
|
/* @__PURE__ */ x.jsx(F3, { color: i, name: s, size: "large" }),
|
|
39966
39974
|
/* @__PURE__ */ x.jsx(
|
|
39967
39975
|
L5,
|
|
@@ -40012,10 +40020,10 @@ const RU = c2((r, a) => {
|
|
|
40012
40020
|
additionalStyles: {
|
|
40013
40021
|
marginBottom: 0
|
|
40014
40022
|
}
|
|
40015
|
-
}),
|
|
40023
|
+
}), g1 = X.useRef(null);
|
|
40016
40024
|
return X.useEffect(() => {
|
|
40017
|
-
var
|
|
40018
|
-
(
|
|
40025
|
+
var H1;
|
|
40026
|
+
(H1 = g1.current) == null || H1.focus();
|
|
40019
40027
|
}, [P]), /* @__PURE__ */ x.jsxs(
|
|
40020
40028
|
P0,
|
|
40021
40029
|
{
|
|
@@ -40078,7 +40086,7 @@ const RU = c2((r, a) => {
|
|
|
40078
40086
|
P === "confirmation" && /* @__PURE__ */ x.jsx(
|
|
40079
40087
|
db,
|
|
40080
40088
|
{
|
|
40081
|
-
focusRef:
|
|
40089
|
+
focusRef: g1,
|
|
40082
40090
|
heading: a,
|
|
40083
40091
|
iconName: "actionCheckCircleFilled",
|
|
40084
40092
|
iconColor: j,
|
|
@@ -40088,7 +40096,7 @@ const RU = c2((r, a) => {
|
|
|
40088
40096
|
P === "error" && /* @__PURE__ */ x.jsx(
|
|
40089
40097
|
db,
|
|
40090
40098
|
{
|
|
40091
|
-
focusRef:
|
|
40099
|
+
focusRef: g1,
|
|
40092
40100
|
heading: i,
|
|
40093
40101
|
headingColor: i1,
|
|
40094
40102
|
iconName: "errorFilled",
|
|
@@ -40123,14 +40131,14 @@ const RU = c2((r, a) => {
|
|
|
40123
40131
|
), i && s && console.warn(
|
|
40124
40132
|
"NYPL Reservoir Pagination: The `currentPage` prop does not work with the `getPageHref` prop. Use `currentPage` with `onPageChange` instead."
|
|
40125
40133
|
);
|
|
40126
|
-
const P = typeof i < "u" && typeof i == "function", z = (p1,
|
|
40127
|
-
p1.preventDefault && p1.preventDefault(), E !==
|
|
40134
|
+
const P = typeof i < "u" && typeof i == "function", z = (p1, g1) => {
|
|
40135
|
+
p1.preventDefault && p1.preventDefault(), E !== g1 && (k(g1), v && v(g1));
|
|
40128
40136
|
}, $ = (p1) => {
|
|
40129
40137
|
E > 1 && z(p1, R);
|
|
40130
40138
|
}, A = (p1) => {
|
|
40131
40139
|
E < y && z(p1, O);
|
|
40132
|
-
}, Y = (p1,
|
|
40133
|
-
const
|
|
40140
|
+
}, Y = (p1, g1) => {
|
|
40141
|
+
const H1 = E === g1, x1 = H1 ? {
|
|
40134
40142
|
color: "ui.typography.body",
|
|
40135
40143
|
pointerEvent: "none",
|
|
40136
40144
|
_dark: {
|
|
@@ -40138,13 +40146,13 @@ const RU = c2((r, a) => {
|
|
|
40138
40146
|
}
|
|
40139
40147
|
} : {}, m1 = {
|
|
40140
40148
|
items: {
|
|
40141
|
-
href: P ? i(
|
|
40149
|
+
href: P ? i(g1) : "#",
|
|
40142
40150
|
attributes: {
|
|
40143
|
-
"aria-label": `Page ${
|
|
40144
|
-
"aria-current":
|
|
40145
|
-
onClick: P ? void 0 : (k1) => z(k1,
|
|
40151
|
+
"aria-label": `Page ${g1}`,
|
|
40152
|
+
"aria-current": H1 ? "page" : null,
|
|
40153
|
+
onClick: P ? void 0 : (k1) => z(k1, g1)
|
|
40146
40154
|
},
|
|
40147
|
-
text:
|
|
40155
|
+
text: g1
|
|
40148
40156
|
},
|
|
40149
40157
|
previous: {
|
|
40150
40158
|
href: P ? i(R) : "#",
|
|
@@ -40171,13 +40179,13 @@ const RU = c2((r, a) => {
|
|
|
40171
40179
|
...m1.attributes,
|
|
40172
40180
|
__css: {
|
|
40173
40181
|
..._.link,
|
|
40174
|
-
...
|
|
40182
|
+
...x1
|
|
40175
40183
|
},
|
|
40176
40184
|
children: m1.text
|
|
40177
40185
|
}
|
|
40178
40186
|
);
|
|
40179
40187
|
}, j = (p1) => {
|
|
40180
|
-
const
|
|
40188
|
+
const g1 = Math.max(
|
|
40181
40189
|
// Start at three if the current page is near the beginning.
|
|
40182
40190
|
3,
|
|
40183
40191
|
Math.min(
|
|
@@ -40187,7 +40195,7 @@ const RU = c2((r, a) => {
|
|
|
40187
40195
|
// If the current page is near the end, show the last five items.
|
|
40188
40196
|
y - 4
|
|
40189
40197
|
)
|
|
40190
|
-
),
|
|
40198
|
+
), H1 = Math.min(
|
|
40191
40199
|
// If the current page is near the end, end the range
|
|
40192
40200
|
// two place before the last page number.
|
|
40193
40201
|
y - 2,
|
|
@@ -40208,13 +40216,13 @@ const RU = c2((r, a) => {
|
|
|
40208
40216
|
// Always display the first page.
|
|
40209
40217
|
1,
|
|
40210
40218
|
// The second item will be 2 or an ellipse.
|
|
40211
|
-
|
|
40219
|
+
g1 > 3 ? "ellipse-start" : 2,
|
|
40212
40220
|
// The middle range of page numbers to display.
|
|
40213
40221
|
// Add +1 to the end since range() doesn't include the last number.
|
|
40214
|
-
...v_(
|
|
40222
|
+
...v_(g1, H1 + 1),
|
|
40215
40223
|
// The next to last item will be the next to last
|
|
40216
40224
|
// number or an ellipse.
|
|
40217
|
-
|
|
40225
|
+
H1 < y - 2 ? "ellipse-end" : y - 1,
|
|
40218
40226
|
// Always display the last page.
|
|
40219
40227
|
y
|
|
40220
40228
|
]
|
|
@@ -40224,7 +40232,7 @@ const RU = c2((r, a) => {
|
|
|
40224
40232
|
});
|
|
40225
40233
|
}, i1 = E !== 1 && /* @__PURE__ */ x.jsx("li", { children: Y("previous") }, "previous"), r1 = E !== y && /* @__PURE__ */ x.jsx("li", { children: Y("next") }, "next");
|
|
40226
40234
|
return /* @__PURE__ */ x.jsx(
|
|
40227
|
-
|
|
40235
|
+
v1,
|
|
40228
40236
|
{
|
|
40229
40237
|
as: "nav",
|
|
40230
40238
|
id: p,
|
|
@@ -40273,7 +40281,7 @@ const RU = c2((r, a) => {
|
|
|
40273
40281
|
// If `isIndeterminate` is true, then it overrides the `value` prop.
|
|
40274
40282
|
isIndeterminate: p || void 0,
|
|
40275
40283
|
value: p ? void 0 : k
|
|
40276
|
-
}, R = (O) => O === "circular" ? (y === "small" && (_["aria-label"] = d), /* @__PURE__ */ x.jsxs(
|
|
40284
|
+
}, R = (O) => O === "circular" ? (y === "small" && (_["aria-label"] = d), /* @__PURE__ */ x.jsxs(v1, { __css: E.circularContainer, children: [
|
|
40277
40285
|
/* @__PURE__ */ x.jsx(Mk, { ..._, sx: E.circular, children: v && !p && y !== "small" && /* @__PURE__ */ x.jsxs(Ek, { children: [
|
|
40278
40286
|
k,
|
|
40279
40287
|
"%"
|
|
@@ -40281,15 +40289,15 @@ const RU = c2((r, a) => {
|
|
|
40281
40289
|
v && y !== "small" && /* @__PURE__ */ x.jsx(Io, { id: `${s}-label`, htmlFor: s, children: d })
|
|
40282
40290
|
] })) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
40283
40291
|
v && /* @__PURE__ */ x.jsx(Io, { id: `${s}-label`, htmlFor: s, children: d }),
|
|
40284
|
-
/* @__PURE__ */ x.jsxs(
|
|
40292
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: E.linearContainer, children: [
|
|
40285
40293
|
/* @__PURE__ */ x.jsx(Sk, { ..._, sx: E.linear }),
|
|
40286
|
-
v && !p && /* @__PURE__ */ x.jsxs(
|
|
40294
|
+
v && !p && /* @__PURE__ */ x.jsxs(v1, { __css: E.linearPercentage, children: [
|
|
40287
40295
|
k,
|
|
40288
40296
|
"%"
|
|
40289
40297
|
] })
|
|
40290
40298
|
] })
|
|
40291
40299
|
] });
|
|
40292
|
-
return /* @__PURE__ */ x.jsx(
|
|
40300
|
+
return /* @__PURE__ */ x.jsx(v1, { ref: a, __css: E, ...M, children: R(i) });
|
|
40293
40301
|
})
|
|
40294
40302
|
), ZU = F1(
|
|
40295
40303
|
c2(
|
|
@@ -40315,16 +40323,16 @@ const RU = c2((r, a) => {
|
|
|
40315
40323
|
showRequiredLabel: A = !0,
|
|
40316
40324
|
value: Y = "",
|
|
40317
40325
|
...j
|
|
40318
|
-
} = r, [i1, r1] = u4(0), p1 = w5(null),
|
|
40326
|
+
} = r, [i1, r1] = u4(0), p1 = w5(null), g1 = U2("CustomSelect", {
|
|
40319
40327
|
variant: P,
|
|
40320
40328
|
labelPosition: E
|
|
40321
|
-
}),
|
|
40322
|
-
footnote: L ?
|
|
40329
|
+
}), H1 = v || "There is an error related to this field.", P1 = Yo({
|
|
40330
|
+
footnote: L ? H1 : p,
|
|
40323
40331
|
id: d,
|
|
40324
40332
|
labelText: k,
|
|
40325
40333
|
name: "Select",
|
|
40326
40334
|
showLabel: $
|
|
40327
|
-
}), m1 = R ? { onChange: R, value: Y } : i ? { defaultValue: i } : {}, k1 = 8,
|
|
40335
|
+
}), m1 = R ? { onChange: R, value: Y } : i ? { defaultValue: i } : {}, k1 = 8, A1 = a5(
|
|
40328
40336
|
L ? "ui.error.primary" : "ui.black",
|
|
40329
40337
|
L ? "dark.ui.error.primary" : "dark.ui.typography.body"
|
|
40330
40338
|
);
|
|
@@ -40349,13 +40357,13 @@ const RU = c2((r, a) => {
|
|
|
40349
40357
|
marginStart: { sm: "auto", md: `${i1}px` }
|
|
40350
40358
|
},
|
|
40351
40359
|
id: d,
|
|
40352
|
-
invalidText:
|
|
40360
|
+
invalidText: H1,
|
|
40353
40361
|
isInvalid: L,
|
|
40354
40362
|
showHelperInvalidText: z,
|
|
40355
|
-
__css:
|
|
40363
|
+
__css: g1,
|
|
40356
40364
|
...j,
|
|
40357
|
-
children: /* @__PURE__ */ x.jsxs(
|
|
40358
|
-
$ && /* @__PURE__ */ x.jsx(
|
|
40365
|
+
children: /* @__PURE__ */ x.jsxs(v1, { __css: E === "inline" && g1.inline, children: [
|
|
40366
|
+
$ && /* @__PURE__ */ x.jsx(v1, { ref: p1, children: /* @__PURE__ */ x.jsx(
|
|
40359
40367
|
Io,
|
|
40360
40368
|
{
|
|
40361
40369
|
htmlFor: d,
|
|
@@ -40381,13 +40389,13 @@ const RU = c2((r, a) => {
|
|
|
40381
40389
|
icon: /* @__PURE__ */ x.jsx(
|
|
40382
40390
|
F3,
|
|
40383
40391
|
{
|
|
40384
|
-
color:
|
|
40392
|
+
color: A1,
|
|
40385
40393
|
id: `${d}-icon`,
|
|
40386
40394
|
name: "arrow",
|
|
40387
40395
|
size: "medium"
|
|
40388
40396
|
}
|
|
40389
40397
|
),
|
|
40390
|
-
__css:
|
|
40398
|
+
__css: g1.select,
|
|
40391
40399
|
children: o
|
|
40392
40400
|
}
|
|
40393
40401
|
)
|
|
@@ -40425,7 +40433,7 @@ const RU = c2((r, a) => {
|
|
|
40425
40433
|
isRequired: k,
|
|
40426
40434
|
showHelperInvalidText: !1,
|
|
40427
40435
|
showLabel: !1
|
|
40428
|
-
}, r1 = E ? L : v, p1 = r1 ? `${_} - ${r1}` : _,
|
|
40436
|
+
}, r1 = E ? L : v, p1 = r1 ? `${_} - ${r1}` : _, H1 = `${(A == null ? void 0 : A.placeholder) || "Search terms"} ${k ? "(Required)" : ""}`, x1 = O ? "noBrand" : "primary", { isLargerThanMobile: P1 } = da(), m1 = P1 ? "small" : "medium";
|
|
40429
40437
|
y || console.warn(
|
|
40430
40438
|
"NYPL Reservoir SearchBar: This component's required `id` prop was not passed."
|
|
40431
40439
|
);
|
|
@@ -40442,7 +40450,7 @@ const RU = c2((r, a) => {
|
|
|
40442
40450
|
...i1,
|
|
40443
40451
|
children: z == null ? void 0 : z.optionsData.map((C1) => /* @__PURE__ */ x.jsx("option", { value: C1.value, children: C1.text }, C1.value))
|
|
40444
40452
|
}
|
|
40445
|
-
),
|
|
40453
|
+
), A1 = A && /* @__PURE__ */ x.jsx(
|
|
40446
40454
|
N0,
|
|
40447
40455
|
{
|
|
40448
40456
|
"aria-describedby": r1 ? `${y}-helperText` : void 0,
|
|
@@ -40458,7 +40466,7 @@ const RU = c2((r, a) => {
|
|
|
40458
40466
|
min: A == null ? void 0 : A.min,
|
|
40459
40467
|
onChange: A == null ? void 0 : A.onChange,
|
|
40460
40468
|
pattern: A == null ? void 0 : A.pattern,
|
|
40461
|
-
placeholder:
|
|
40469
|
+
placeholder: H1,
|
|
40462
40470
|
textInputType: k1 ? "searchBarSelect" : "searchBar",
|
|
40463
40471
|
type: "text",
|
|
40464
40472
|
value: A == null ? void 0 : A.value,
|
|
@@ -40473,7 +40481,7 @@ const RU = c2((r, a) => {
|
|
|
40473
40481
|
B3,
|
|
40474
40482
|
{
|
|
40475
40483
|
className: "searchButton",
|
|
40476
|
-
buttonType:
|
|
40484
|
+
buttonType: x1,
|
|
40477
40485
|
id: `searchbar-button-${y}`,
|
|
40478
40486
|
isDisabled: M,
|
|
40479
40487
|
onClick: s,
|
|
@@ -40492,7 +40500,7 @@ const RU = c2((r, a) => {
|
|
|
40492
40500
|
/* @__PURE__ */ x.jsx("span", { children: "Search" })
|
|
40493
40501
|
]
|
|
40494
40502
|
}
|
|
40495
|
-
), f2 = $ ||
|
|
40503
|
+
), f2 = $ || A1;
|
|
40496
40504
|
return /* @__PURE__ */ x.jsx(
|
|
40497
40505
|
N6,
|
|
40498
40506
|
{
|
|
@@ -40505,7 +40513,7 @@ const RU = c2((r, a) => {
|
|
|
40505
40513
|
ref: a,
|
|
40506
40514
|
...Y,
|
|
40507
40515
|
children: /* @__PURE__ */ x.jsxs(
|
|
40508
|
-
|
|
40516
|
+
v1,
|
|
40509
40517
|
{
|
|
40510
40518
|
as: "form",
|
|
40511
40519
|
id: `searchbar-form-${y}`,
|
|
@@ -40518,7 +40526,7 @@ const RU = c2((r, a) => {
|
|
|
40518
40526
|
__css: j,
|
|
40519
40527
|
children: [
|
|
40520
40528
|
k1,
|
|
40521
|
-
/* @__PURE__ */ x.jsxs(
|
|
40529
|
+
/* @__PURE__ */ x.jsxs(v1, { sx: { display: "flex", flexDirection: "row", width: "100%" }, children: [
|
|
40522
40530
|
f2,
|
|
40523
40531
|
T1
|
|
40524
40532
|
] })
|
|
@@ -40558,7 +40566,7 @@ const RU = c2((r, a) => {
|
|
|
40558
40566
|
width: i1,
|
|
40559
40567
|
sx: O.loader,
|
|
40560
40568
|
children: /* @__PURE__ */ x.jsx(
|
|
40561
|
-
|
|
40569
|
+
v1,
|
|
40562
40570
|
{
|
|
40563
40571
|
__css: O[z],
|
|
40564
40572
|
style: { marginBottom: r1 }
|
|
@@ -40569,7 +40577,7 @@ const RU = c2((r, a) => {
|
|
|
40569
40577
|
);
|
|
40570
40578
|
});
|
|
40571
40579
|
return /* @__PURE__ */ x.jsxs(
|
|
40572
|
-
|
|
40580
|
+
v1,
|
|
40573
40581
|
{
|
|
40574
40582
|
className: o,
|
|
40575
40583
|
id: d,
|
|
@@ -40578,11 +40586,11 @@ const RU = c2((r, a) => {
|
|
|
40578
40586
|
style: { width: _ },
|
|
40579
40587
|
...R,
|
|
40580
40588
|
children: [
|
|
40581
|
-
k && /* @__PURE__ */ x.jsx(lp, { sx: O.loader, children: /* @__PURE__ */ x.jsx(
|
|
40582
|
-
/* @__PURE__ */ x.jsxs(
|
|
40583
|
-
E && /* @__PURE__ */ x.jsx(
|
|
40584
|
-
M && /* @__PURE__ */ x.jsx(
|
|
40585
|
-
L && /* @__PURE__ */ x.jsx(
|
|
40589
|
+
k && /* @__PURE__ */ x.jsx(lp, { sx: O.loader, children: /* @__PURE__ */ x.jsx(v1, { __css: { ...O.element, ...O.image } }) }),
|
|
40590
|
+
/* @__PURE__ */ x.jsxs(v1, { className: y, __css: O.container, children: [
|
|
40591
|
+
E && /* @__PURE__ */ x.jsx(v1, { __css: O.section, children: P("heading", i, "80%") }),
|
|
40592
|
+
M && /* @__PURE__ */ x.jsx(v1, { __css: O.section, children: P("content", s, "30%") }),
|
|
40593
|
+
L && /* @__PURE__ */ x.jsx(v1, { __css: { ...O.section, ...O.button }, children: /* @__PURE__ */ x.jsx(lp, { borderRadius: "16px", sx: O.loader, children: /* @__PURE__ */ x.jsx(v1, { __css: O.button }) }) })
|
|
40586
40594
|
] })
|
|
40587
40595
|
]
|
|
40588
40596
|
}
|
|
@@ -40594,7 +40602,7 @@ const RU = c2((r, a) => {
|
|
|
40594
40602
|
(r, a) => {
|
|
40595
40603
|
const { className: o, id: s, target: i = "#mainContent", ...p } = r, d = R3("SkipNavigation");
|
|
40596
40604
|
return /* @__PURE__ */ x.jsx(
|
|
40597
|
-
|
|
40605
|
+
v1,
|
|
40598
40606
|
{
|
|
40599
40607
|
as: "nav",
|
|
40600
40608
|
"aria-label": "Skip Navigation",
|
|
@@ -40653,15 +40661,15 @@ const RU = c2((r, a) => {
|
|
|
40653
40661
|
), O && P && console.warn(
|
|
40654
40662
|
"NYPL Reservoir Slider: Both `onChange` and `onChangeEnd` props were passed."
|
|
40655
40663
|
);
|
|
40656
|
-
const [
|
|
40664
|
+
const [g1, H1] = hc(r1), x1 = Vh().colorMode === "dark";
|
|
40657
40665
|
let P1 = y;
|
|
40658
|
-
L &&
|
|
40666
|
+
L && g1[0] > g1[1] && (P1 = !0, console.warn(
|
|
40659
40667
|
"NYPL Reservoir Slider: The RangeSlider's first value is greater than the second value."
|
|
40660
40668
|
)), _ > k && (P1 = !0, console.warn(
|
|
40661
40669
|
"NYPL Reservoir Slider: The `min` prop is greater than the `max` prop."
|
|
40662
40670
|
));
|
|
40663
40671
|
const m1 = U2("CustomSlider", {
|
|
40664
|
-
isDarkMode:
|
|
40672
|
+
isDarkMode: x1,
|
|
40665
40673
|
isDisabled: v,
|
|
40666
40674
|
isInvalid: P1,
|
|
40667
40675
|
showBoxes: z,
|
|
@@ -40675,7 +40683,7 @@ const RU = c2((r, a) => {
|
|
|
40675
40683
|
min: _,
|
|
40676
40684
|
name: R,
|
|
40677
40685
|
onChange: (C1) => {
|
|
40678
|
-
|
|
40686
|
+
H1(C1), O && O(C1);
|
|
40679
40687
|
},
|
|
40680
40688
|
onChangeEnd: (C1) => {
|
|
40681
40689
|
P && P(C1);
|
|
@@ -40684,7 +40692,7 @@ const RU = c2((r, a) => {
|
|
|
40684
40692
|
// Additional margins so slider thumbs don't overflow past the
|
|
40685
40693
|
// edge when the value boxes or min/max values are hidden.
|
|
40686
40694
|
sx: m1.sliderContainer
|
|
40687
|
-
},
|
|
40695
|
+
}, A1 = {
|
|
40688
40696
|
isDisabled: v,
|
|
40689
40697
|
isInvalid: P1,
|
|
40690
40698
|
isRequired: M,
|
|
@@ -40699,25 +40707,25 @@ const RU = c2((r, a) => {
|
|
|
40699
40707
|
const E1 = {
|
|
40700
40708
|
start: {
|
|
40701
40709
|
// We only want the value for this box in the `isRangeSlider` case.
|
|
40702
|
-
value: L ?
|
|
40710
|
+
value: L ? g1[0].toString() : "",
|
|
40703
40711
|
onChange: (K1) => {
|
|
40704
|
-
const R1 = [parseInt(K1.target.value, 10) ? parseInt(K1.target.value, 10) : 0,
|
|
40705
|
-
|
|
40712
|
+
const R1 = [parseInt(K1.target.value, 10) ? parseInt(K1.target.value, 10) : 0, g1[1]];
|
|
40713
|
+
H1(R1), O && O && O(R1), P && P && P(R1);
|
|
40706
40714
|
},
|
|
40707
|
-
|
|
40715
|
+
...A1
|
|
40708
40716
|
},
|
|
40709
40717
|
end: {
|
|
40710
40718
|
// This text input *always* shows. In the default case, we only
|
|
40711
40719
|
// keep track of one value. For the `isRangeSlider` case, we keep
|
|
40712
40720
|
// track of an array but only want the second value.
|
|
40713
|
-
value: L ?
|
|
40721
|
+
value: L ? g1[1].toString() : g1.toString(),
|
|
40714
40722
|
onChange: (K1) => {
|
|
40715
40723
|
let G1 = parseInt(K1.target.value, 10) ? parseInt(K1.target.value, 10) : 0;
|
|
40716
40724
|
G1 > k && (G1 = k);
|
|
40717
|
-
const R1 = L ? [
|
|
40718
|
-
|
|
40725
|
+
const R1 = L ? [g1[0], G1] : G1;
|
|
40726
|
+
H1(R1), O && O && O(R1), P && P && P(R1);
|
|
40719
40727
|
},
|
|
40720
|
-
|
|
40728
|
+
...A1
|
|
40721
40729
|
}
|
|
40722
40730
|
}, y1 = L ? `${E} - ${C1} value` : `${E} - value`;
|
|
40723
40731
|
return /* @__PURE__ */ x.jsx(
|
|
@@ -40742,7 +40750,7 @@ const RU = c2((r, a) => {
|
|
|
40742
40750
|
`${E} - slider handle for start value`,
|
|
40743
40751
|
`${E} - slider handle for end value`
|
|
40744
40752
|
],
|
|
40745
|
-
value:
|
|
40753
|
+
value: g1,
|
|
40746
40754
|
size: "lg",
|
|
40747
40755
|
...k1,
|
|
40748
40756
|
children: [
|
|
@@ -40755,7 +40763,7 @@ const RU = c2((r, a) => {
|
|
|
40755
40763
|
Rk,
|
|
40756
40764
|
{
|
|
40757
40765
|
"aria-label": `${E} - slider handle`,
|
|
40758
|
-
value:
|
|
40766
|
+
value: g1,
|
|
40759
40767
|
size: "lg",
|
|
40760
40768
|
...k1,
|
|
40761
40769
|
children: [
|
|
@@ -40786,11 +40794,11 @@ const RU = c2((r, a) => {
|
|
|
40786
40794
|
children: E
|
|
40787
40795
|
}
|
|
40788
40796
|
),
|
|
40789
|
-
/* @__PURE__ */ x.jsxs(
|
|
40797
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: m1.container, children: [
|
|
40790
40798
|
z && L && T1("start"),
|
|
40791
|
-
j && /* @__PURE__ */ x.jsx(
|
|
40799
|
+
j && /* @__PURE__ */ x.jsx(v1, { __css: m1.leftValue, children: _ }),
|
|
40792
40800
|
f2(),
|
|
40793
|
-
j && /* @__PURE__ */ x.jsx(
|
|
40801
|
+
j && /* @__PURE__ */ x.jsx(v1, { __css: m1.rightValue, children: k }),
|
|
40794
40802
|
z && T1("end")
|
|
40795
40803
|
] })
|
|
40796
40804
|
]
|
|
@@ -40867,7 +40875,7 @@ const RU = c2((r, a) => {
|
|
|
40867
40875
|
c2(
|
|
40868
40876
|
(r, a) => {
|
|
40869
40877
|
const { children: o, className: s, id: i, level: p, type: d, ...v } = r, L = R3("StatusBadge", { variant: p || d || "low" });
|
|
40870
|
-
return o || console.warn("NYPL Reservoir StatusBadge: No children were passed."), /* @__PURE__ */ x.jsx(
|
|
40878
|
+
return o || console.warn("NYPL Reservoir StatusBadge: No children were passed."), /* @__PURE__ */ x.jsx(v1, { id: i, className: s, ref: a, __css: L, ...v, children: o });
|
|
40871
40879
|
}
|
|
40872
40880
|
)
|
|
40873
40881
|
), NU = F1((r) => {
|
|
@@ -40928,7 +40936,7 @@ const RU = c2((r, a) => {
|
|
|
40928
40936
|
className: "structuredcontent-body",
|
|
40929
40937
|
dangerouslySetInnerHTML: { __html: v }
|
|
40930
40938
|
}
|
|
40931
|
-
) : /* @__PURE__ */ x.jsx(
|
|
40939
|
+
) : /* @__PURE__ */ x.jsx(v1, { className: "structuredcontent-body", children: v }), _ = R0({
|
|
40932
40940
|
title: i,
|
|
40933
40941
|
id: p
|
|
40934
40942
|
}), R = o ? typeof o == "string" ? /* @__PURE__ */ x.jsx(s9, { id: `${p}-callout`, level: "h3", size: "heading5", children: o }) : o : void 0, O = R0({
|
|
@@ -40936,7 +40944,7 @@ const RU = c2((r, a) => {
|
|
|
40936
40944
|
});
|
|
40937
40945
|
return L && !d.alt && console.warn(
|
|
40938
40946
|
"NYPL Reservoir StructuredContent: The `imageProps.alt` prop is required when using an image."
|
|
40939
|
-
), /* @__PURE__ */ x.jsxs(
|
|
40947
|
+
), /* @__PURE__ */ x.jsxs(v1, { id: p, className: s, ref: a, __css: E, ...y, children: [
|
|
40940
40948
|
_,
|
|
40941
40949
|
O,
|
|
40942
40950
|
L && /* @__PURE__ */ x.jsx(
|
|
@@ -40975,7 +40983,7 @@ const RU = c2((r, a) => {
|
|
|
40975
40983
|
let L;
|
|
40976
40984
|
return o && p.length > 0 ? (console.warn(
|
|
40977
40985
|
"NYPL Reservoir StyledList: Pass in either `<li>` children or use the `listItems` data prop. Do not use both."
|
|
40978
|
-
), null) : (Qw(o, "ul", "StyledList"), L = o || p.map((M, E) => /* @__PURE__ */ x.jsx("li", { children: M }, E)), /* @__PURE__ */ x.jsx(
|
|
40986
|
+
), null) : (Qw(o, "ul", "StyledList"), L = o || p.map((M, E) => /* @__PURE__ */ x.jsx("li", { children: M }, E)), /* @__PURE__ */ x.jsx(v1, { as: "ul", className: s, id: i, ref: a, __css: y, children: L }));
|
|
40979
40987
|
}
|
|
40980
40988
|
)
|
|
40981
40989
|
), PU = (r) => {
|
|
@@ -41109,7 +41117,7 @@ const RU = c2((r, a) => {
|
|
|
41109
41117
|
...y,
|
|
41110
41118
|
children: [
|
|
41111
41119
|
/* @__PURE__ */ x.jsxs(
|
|
41112
|
-
|
|
41120
|
+
v1,
|
|
41113
41121
|
{
|
|
41114
41122
|
__css: E.tablistWrapper,
|
|
41115
41123
|
sx: {
|
|
@@ -41119,7 +41127,7 @@ const RU = c2((r, a) => {
|
|
|
41119
41127
|
},
|
|
41120
41128
|
children: [
|
|
41121
41129
|
z,
|
|
41122
|
-
/* @__PURE__ */ x.jsx(
|
|
41130
|
+
/* @__PURE__ */ x.jsx(v1, { __css: E.carouselParent, ref: A, children: k }),
|
|
41123
41131
|
$
|
|
41124
41132
|
]
|
|
41125
41133
|
}
|
|
@@ -41142,7 +41150,7 @@ const RU = c2((r, a) => {
|
|
|
41142
41150
|
return /* @__PURE__ */ x.jsx(x.Fragment, { children: a.map((s, i) => (typeof s.label == "string" && console.warn(
|
|
41143
41151
|
"NYPL Reservoir TagSet: Explore tags require all `label` props to be React components."
|
|
41144
41152
|
), /* @__PURE__ */ x.jsx(qw, { label: s.label, children: /* @__PURE__ */ x.jsxs(
|
|
41145
|
-
|
|
41153
|
+
v1,
|
|
41146
41154
|
{
|
|
41147
41155
|
"data-testid": "explore-tags",
|
|
41148
41156
|
id: `ts-explore-${s.id}-${i}`,
|
|
@@ -41268,27 +41276,27 @@ const PI = F1(
|
|
|
41268
41276
|
c2(
|
|
41269
41277
|
(r, a) => {
|
|
41270
41278
|
const o = R3("Template", {});
|
|
41271
|
-
return /* @__PURE__ */ x.jsx(
|
|
41279
|
+
return /* @__PURE__ */ x.jsx(v1, { id: r.id, ref: a, __css: o, ...r, children: r.children });
|
|
41272
41280
|
}
|
|
41273
41281
|
)
|
|
41274
41282
|
), IU = (r) => {
|
|
41275
41283
|
const a = R3("TemplateBreakout", {});
|
|
41276
|
-
return /* @__PURE__ */ x.jsx(
|
|
41284
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41277
41285
|
}, $U = ({
|
|
41278
41286
|
children: r,
|
|
41279
41287
|
renderHeaderElement: a = !0
|
|
41280
41288
|
}) => {
|
|
41281
41289
|
const o = R3("TemplateBreakout", {});
|
|
41282
|
-
let s = /* @__PURE__ */ x.jsx(
|
|
41290
|
+
let s = /* @__PURE__ */ x.jsx(v1, { __css: o, children: r });
|
|
41283
41291
|
return a && (X.Children.map(r, (i) => {
|
|
41284
41292
|
var p;
|
|
41285
41293
|
((i == null ? void 0 : i.type) === "header" || ((p = i == null ? void 0 : i.props) == null ? void 0 : p.mdxType) === "header") && console.warn(
|
|
41286
41294
|
"NYPL Reservoir TemplateHeader: An HTML `header` element was passed in. Set `renderHeaderElement` to `false` to avoid nested HTML `header` elements."
|
|
41287
41295
|
);
|
|
41288
|
-
}), s = /* @__PURE__ */ x.jsx(
|
|
41296
|
+
}), s = /* @__PURE__ */ x.jsx(v1, { as: "header", __css: o, children: r })), s;
|
|
41289
41297
|
}, YU = (r) => {
|
|
41290
41298
|
const a = R3("TemplateBreakout", {});
|
|
41291
|
-
return /* @__PURE__ */ x.jsx(
|
|
41299
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41292
41300
|
}, WU = (r) => {
|
|
41293
41301
|
const { children: a, id: o = "mainContent", sidebar: s = "none" } = r, i = R3("TemplateContent", {
|
|
41294
41302
|
variant: s
|
|
@@ -41300,35 +41308,35 @@ const PI = F1(
|
|
|
41300
41308
|
return (d && (d == null ? void 0 : d.type) === Gw || d != null && d.props && ((y = d.props) == null ? void 0 : y.mdxType) === "TemplateContentPrimary" || (d == null ? void 0 : d.type) === Xw || d != null && d.props && ((L = d.props) == null ? void 0 : L.mdxType) === "TemplateContentSidebar") && (v = X.cloneElement(d, { sidebar: s })), v;
|
|
41301
41309
|
}
|
|
41302
41310
|
);
|
|
41303
|
-
return /* @__PURE__ */ x.jsx(
|
|
41311
|
+
return /* @__PURE__ */ x.jsx(v1, { as: "main", id: o, __css: i, children: p });
|
|
41304
41312
|
}, QU = (r) => {
|
|
41305
41313
|
const a = R3("TemplateContentTopBottom", {});
|
|
41306
|
-
return /* @__PURE__ */ x.jsx(
|
|
41314
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41307
41315
|
}, qU = (r) => {
|
|
41308
41316
|
const a = R3("TemplateContentTopBottom", {});
|
|
41309
|
-
return /* @__PURE__ */ x.jsx(
|
|
41317
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41310
41318
|
}, Gw = (r) => {
|
|
41311
41319
|
const { sidebar: a } = r, o = R3("TemplateContentPrimary", {
|
|
41312
41320
|
variant: a
|
|
41313
41321
|
});
|
|
41314
|
-
return /* @__PURE__ */ x.jsx(
|
|
41322
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: o, children: r.children });
|
|
41315
41323
|
}, Xw = (r) => {
|
|
41316
41324
|
const { sidebar: a } = r, o = R3("TemplateContentSidebar", {
|
|
41317
41325
|
variant: a
|
|
41318
41326
|
});
|
|
41319
|
-
return /* @__PURE__ */ x.jsx(
|
|
41327
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: o, children: r.children });
|
|
41320
41328
|
}, GU = ({
|
|
41321
41329
|
children: r,
|
|
41322
41330
|
renderFooterElement: a = !0
|
|
41323
41331
|
}) => {
|
|
41324
41332
|
const o = R3("TemplateBreakout", {});
|
|
41325
|
-
let s = /* @__PURE__ */ x.jsx(
|
|
41333
|
+
let s = /* @__PURE__ */ x.jsx(v1, { __css: o, children: r });
|
|
41326
41334
|
return a && (X.Children.map(r, (i) => {
|
|
41327
41335
|
var p;
|
|
41328
41336
|
((i == null ? void 0 : i.type) === "footer" || ((p = i == null ? void 0 : i.props) == null ? void 0 : p.mdxType) === "footer") && console.warn(
|
|
41329
41337
|
"NYPL Reservoir TemplateFooter: An HTML `footer` element was passed in. Set `renderFooterElement` to `false` to avoid nested HTML `footer` elements."
|
|
41330
41338
|
);
|
|
41331
|
-
}), s = /* @__PURE__ */ x.jsx(
|
|
41339
|
+
}), s = /* @__PURE__ */ x.jsx(v1, { as: "footer", __css: o, children: r })), s;
|
|
41332
41340
|
}, BI = F1(
|
|
41333
41341
|
c2((r, a) => {
|
|
41334
41342
|
const {
|
|
@@ -41404,7 +41412,7 @@ const PI = F1(
|
|
|
41404
41412
|
invalidText: p,
|
|
41405
41413
|
isInvalid: y,
|
|
41406
41414
|
...R,
|
|
41407
|
-
children: /* @__PURE__ */ x.jsx(
|
|
41415
|
+
children: /* @__PURE__ */ x.jsx(v1, { __css: O, children: /* @__PURE__ */ x.jsx(
|
|
41408
41416
|
Fk,
|
|
41409
41417
|
{
|
|
41410
41418
|
id: i,
|
|
@@ -41649,7 +41657,7 @@ const $I = F1(
|
|
|
41649
41657
|
"NYPL Reservoir VideoPlayer: The `embedCode` prop is not configured properly."
|
|
41650
41658
|
), A = !0);
|
|
41651
41659
|
const j = U2("VideoPlayer", { variant: A ? "invalid" : o }), i1 = z ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: z } }) : /* @__PURE__ */ x.jsx(
|
|
41652
|
-
|
|
41660
|
+
v1,
|
|
41653
41661
|
{
|
|
41654
41662
|
as: "iframe",
|
|
41655
41663
|
src: O,
|
|
@@ -41661,7 +41669,7 @@ const $I = F1(
|
|
|
41661
41669
|
}
|
|
41662
41670
|
);
|
|
41663
41671
|
return /* @__PURE__ */ x.jsx(
|
|
41664
|
-
|
|
41672
|
+
v1,
|
|
41665
41673
|
{
|
|
41666
41674
|
className: s,
|
|
41667
41675
|
"data-testid": "video-player-component",
|
|
@@ -41676,7 +41684,7 @@ const $I = F1(
|
|
|
41676
41684
|
descriptionText: i || void 0,
|
|
41677
41685
|
helperText: v && M ? v : void 0,
|
|
41678
41686
|
id: `${y}-componentWrapper`,
|
|
41679
|
-
children: /* @__PURE__ */ x.jsx(
|
|
41687
|
+
children: /* @__PURE__ */ x.jsx(v1, { __css: j.inside, children: i1 })
|
|
41680
41688
|
}
|
|
41681
41689
|
)
|
|
41682
41690
|
}
|