@react-hive/honey-layout 3.0.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/HoneyFlexBox.d.ts +1 -3
- package/dist/components/HoneyGrid/HoneyGrid.d.ts +1 -3
- package/dist/components/HoneyGrid/HoneyGrid.styled.d.ts +2 -4
- package/dist/components/HoneyGridColumn/HoneyGridColumn.styled.d.ts +1 -3
- package/dist/components/HoneyLoopingList/HoneyLoopingList.d.ts +1 -3
- package/dist/hooks/use-honey-drag.d.ts +3 -3
- package/dist/hooks/use-honey-synthetic-scrollable-container.d.ts +3 -3
- package/dist/index.js +1239 -1429
- package/dist/types/types.d.ts +2 -2
- package/dist/utils.d.ts +7 -5
- package/package.json +23 -27
package/dist/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import xe, { css as se, useTheme as Ut, ThemeProvider as Yt, ThemeContext as sr } from "styled-components";
|
|
2
|
+
import cr, { createContext as Bt, forwardRef as Dt, useMemo as et, useContext as vt, Fragment as ur, useState as tt, useEffect as ce, useRef as Se, useCallback as Ce } from "react";
|
|
3
|
+
const lr = [
|
|
4
4
|
'a[href]:not([tabindex="-1"])',
|
|
5
5
|
'button:not([disabled]):not([tabindex="-1"])',
|
|
6
6
|
'input:not([disabled]):not([tabindex="-1"], [type="radio"])',
|
|
7
7
|
'select:not([disabled]):not([tabindex="-1"])',
|
|
8
8
|
'textarea:not([disabled]):not([tabindex="-1"])',
|
|
9
9
|
'[tabindex="0"]'
|
|
10
|
-
],
|
|
11
|
-
function
|
|
10
|
+
], Zr = (r, o = lr) => r.querySelectorAll(o.join(","));
|
|
11
|
+
function fr(r) {
|
|
12
12
|
var o = /* @__PURE__ */ Object.create(null);
|
|
13
13
|
return function(i) {
|
|
14
|
-
return o[i] === void 0 && (o[i] =
|
|
14
|
+
return o[i] === void 0 && (o[i] = r(i)), o[i];
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
function(
|
|
19
|
-
return
|
|
17
|
+
var dr = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, pr = /* @__PURE__ */ fr(
|
|
18
|
+
function(r) {
|
|
19
|
+
return dr.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
|
|
20
20
|
}
|
|
21
21
|
/* Z+1 */
|
|
22
22
|
);
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
return Math.sqrt(
|
|
26
|
-
},
|
|
23
|
+
const Qr = (r, o) => typeof o == "string" ? pr(r) : !0, hr = (r) => r.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), Lt = (r) => r.split(" ").filter((o) => o), yt = (r, o = 16) => `${r / o}rem`, gr = (r, o, i, c) => {
|
|
24
|
+
const u = i - r, s = c - o;
|
|
25
|
+
return Math.sqrt(u ** 2 + s ** 2);
|
|
26
|
+
}, Pt = (r, o) => Math.abs(r / o), $t = (r, o) => r * o / 100, yr = (r, o) => {
|
|
27
27
|
if (o < 0 || o > 1)
|
|
28
28
|
throw new Error(`[honey-layout]: Alpha "${o}" is not a valid hex format.`);
|
|
29
|
-
const i = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/,
|
|
30
|
-
if (!
|
|
29
|
+
const i = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/, c = r.match(i);
|
|
30
|
+
if (!c)
|
|
31
31
|
throw new Error("[honey-layout]: Invalid hex format.");
|
|
32
|
-
const
|
|
33
|
-
return `#${
|
|
34
|
-
},
|
|
35
|
-
const
|
|
32
|
+
const u = c[1], s = u.length === 3 ? u[0] + u[0] + u[1] + u[1] + u[2] + u[2] : u, l = Math.round(o * 255).toString(16).toUpperCase().padStart(2, "0");
|
|
33
|
+
return `#${s + l}`;
|
|
34
|
+
}, Ht = (r) => `@media ${r.map((i) => {
|
|
35
|
+
const c = [
|
|
36
36
|
i.width && ["width", i.width],
|
|
37
37
|
i.minWidth && ["min-width", i.minWidth],
|
|
38
38
|
i.maxWidth && ["max-width", i.maxWidth],
|
|
@@ -44,85 +44,85 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
|
|
|
44
44
|
i.maxResolution && ["max-resolution", i.maxResolution],
|
|
45
45
|
i.resolution && ["resolution", i.resolution],
|
|
46
46
|
i.update && ["update", i.update]
|
|
47
|
-
].filter(Boolean).map((
|
|
48
|
-
return `${
|
|
49
|
-
}).join(", ")}`,
|
|
50
|
-
const
|
|
51
|
-
if (!
|
|
47
|
+
].filter(Boolean).map((l) => l && `(${l[0]}: ${l[1]})`).join(" and "), u = i.operator ? `${i.operator} ` : "", s = c ? ` and ${c}` : "";
|
|
48
|
+
return `${u}${i.mediaType ?? "screen"}${s}`;
|
|
49
|
+
}).join(", ")}`, Gt = (r) => {
|
|
50
|
+
const c = window.getComputedStyle(r).getPropertyValue("transform").match(/^matrix\((.+)\)$/);
|
|
51
|
+
if (!c)
|
|
52
52
|
return {
|
|
53
53
|
translateX: 0,
|
|
54
54
|
translateY: 0
|
|
55
55
|
};
|
|
56
|
-
const
|
|
56
|
+
const u = c[1].split(", "), s = parseFloat(u[4]), l = parseFloat(u[5]);
|
|
57
57
|
return {
|
|
58
|
-
translateX:
|
|
59
|
-
translateY:
|
|
58
|
+
translateX: s,
|
|
59
|
+
translateY: l
|
|
60
60
|
};
|
|
61
|
-
},
|
|
62
|
-
const { [i]:
|
|
63
|
-
if (
|
|
64
|
-
...
|
|
65
|
-
parentId:
|
|
66
|
-
depthLevel:
|
|
67
|
-
totalNestedItems:
|
|
68
|
-
}),
|
|
69
|
-
const y =
|
|
70
|
-
|
|
71
|
-
|
|
61
|
+
}, mr = (r, o, i, c = [], u = void 0, s = 0) => (r == null || r.forEach((l) => {
|
|
62
|
+
const { [i]: h, ...g } = l, v = l[i], x = Array.isArray(v);
|
|
63
|
+
if (c.push({
|
|
64
|
+
...g,
|
|
65
|
+
parentId: u,
|
|
66
|
+
depthLevel: s,
|
|
67
|
+
totalNestedItems: x ? v.length : 0
|
|
68
|
+
}), x) {
|
|
69
|
+
const y = l[o];
|
|
70
|
+
mr(
|
|
71
|
+
v,
|
|
72
72
|
o,
|
|
73
73
|
i,
|
|
74
|
-
|
|
74
|
+
c,
|
|
75
75
|
y,
|
|
76
|
-
|
|
76
|
+
s + 1
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
80
|
-
(
|
|
81
|
-
),
|
|
82
|
-
const
|
|
83
|
-
if (!
|
|
84
|
-
return
|
|
85
|
-
const
|
|
86
|
-
(
|
|
79
|
+
}), c), eo = (r, o, i) => r.filter(
|
|
80
|
+
(c) => c.parentId === o && (!i || i(c))
|
|
81
|
+
), to = (r, o, i, c) => {
|
|
82
|
+
const u = Lt(c.toLowerCase());
|
|
83
|
+
if (!u.length)
|
|
84
|
+
return r;
|
|
85
|
+
const s = r.reduce(
|
|
86
|
+
(l, h, g) => (l[h[o]] = g, l),
|
|
87
87
|
{}
|
|
88
88
|
);
|
|
89
|
-
return
|
|
90
|
-
(
|
|
91
|
-
const
|
|
92
|
-
if (!
|
|
93
|
-
(y) => y[o] ===
|
|
89
|
+
return r.reduce(
|
|
90
|
+
(l, h) => {
|
|
91
|
+
const g = h[i];
|
|
92
|
+
if (!g || l.some(
|
|
93
|
+
(y) => y[o] === h[o]
|
|
94
94
|
))
|
|
95
|
-
return
|
|
96
|
-
const
|
|
97
|
-
if (
|
|
98
|
-
(y) =>
|
|
95
|
+
return l;
|
|
96
|
+
const v = Lt(g.toLowerCase());
|
|
97
|
+
if (u.every(
|
|
98
|
+
(y) => v.some((O) => O.startsWith(y))
|
|
99
99
|
))
|
|
100
|
-
if (
|
|
101
|
-
|
|
102
|
-
const y = (
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
if (h.parentId === void 0) {
|
|
101
|
+
l.push(h);
|
|
102
|
+
const y = (O) => {
|
|
103
|
+
O.totalNestedItems && r.forEach((A) => {
|
|
104
|
+
A.parentId === O[o] && (l.push(A), y(A));
|
|
105
105
|
});
|
|
106
106
|
};
|
|
107
|
-
y(
|
|
107
|
+
y(h);
|
|
108
108
|
} else {
|
|
109
|
-
const y = (
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
const
|
|
113
|
-
if (
|
|
114
|
-
if (!
|
|
109
|
+
const y = (O) => {
|
|
110
|
+
const A = s[O.parentId], H = r[A];
|
|
111
|
+
H.parentId !== void 0 && y(H);
|
|
112
|
+
const k = l.length ? l[l.length - 1].parentId : null;
|
|
113
|
+
if (k === null || k !== O.parentId) {
|
|
114
|
+
if (!H)
|
|
115
115
|
throw new Error("[honey-layout]: Parent item was not found.");
|
|
116
|
-
|
|
116
|
+
l.push(H);
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
|
-
y(
|
|
119
|
+
y(h), l.push(h);
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return l;
|
|
122
122
|
},
|
|
123
123
|
[]
|
|
124
124
|
);
|
|
125
|
-
},
|
|
125
|
+
}, vr = [
|
|
126
126
|
"width",
|
|
127
127
|
"height",
|
|
128
128
|
"margin",
|
|
@@ -142,7 +142,7 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
|
|
|
142
142
|
"gap",
|
|
143
143
|
"rowGap",
|
|
144
144
|
"columnGap"
|
|
145
|
-
],
|
|
145
|
+
], br = [
|
|
146
146
|
"color",
|
|
147
147
|
"backgroundColor",
|
|
148
148
|
"borderColor",
|
|
@@ -154,1174 +154,984 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
|
|
|
154
154
|
"textDecorationColor",
|
|
155
155
|
"fill",
|
|
156
156
|
"stroke"
|
|
157
|
-
],
|
|
158
|
-
const
|
|
159
|
-
return `${
|
|
160
|
-
},
|
|
161
|
-
const
|
|
162
|
-
if (typeof
|
|
163
|
-
const
|
|
164
|
-
return o ? `${
|
|
157
|
+
], xr = () => {
|
|
158
|
+
const r = Date.now().toString(), o = Math.floor(Math.random() * 1e4).toString().padStart(4, "0");
|
|
159
|
+
return `${r}${o}`;
|
|
160
|
+
}, nt = (r, o = "px", i = "base") => ({ theme: c }) => {
|
|
161
|
+
const u = c.spacings[i] ?? 0;
|
|
162
|
+
if (typeof r == "number") {
|
|
163
|
+
const l = r * u;
|
|
164
|
+
return o ? `${l}${o}` : l;
|
|
165
165
|
}
|
|
166
|
-
return
|
|
167
|
-
const
|
|
168
|
-
return o ? `${
|
|
166
|
+
return r.map((l) => {
|
|
167
|
+
const h = l * u;
|
|
168
|
+
return o ? `${h}${o}` : h;
|
|
169
169
|
}).join(" ");
|
|
170
|
-
},
|
|
171
|
-
const [
|
|
172
|
-
return o !== void 0 ?
|
|
173
|
-
},
|
|
174
|
-
const i = o.fonts[
|
|
175
|
-
return
|
|
170
|
+
}, Qe = (r, o) => ({ theme: i }) => {
|
|
171
|
+
const [c, u] = r.split("."), s = i.colors[c][u];
|
|
172
|
+
return o !== void 0 ? yr(s, o) : s;
|
|
173
|
+
}, Er = (r) => ({ theme: o }) => {
|
|
174
|
+
const i = o.fonts[r];
|
|
175
|
+
return se`
|
|
176
176
|
font-family: ${i.family};
|
|
177
|
-
font-size: ${
|
|
177
|
+
font-size: ${yt(i.size)};
|
|
178
178
|
font-weight: ${i.weight};
|
|
179
|
-
line-height: ${i.lineHeight !== void 0 &&
|
|
180
|
-
letter-spacing: ${i.letterSpacing !== void 0 &&
|
|
179
|
+
line-height: ${i.lineHeight !== void 0 && yt(i.lineHeight)};
|
|
180
|
+
letter-spacing: ${i.letterSpacing !== void 0 && yt(i.letterSpacing)};
|
|
181
181
|
`;
|
|
182
|
-
},
|
|
183
|
-
const
|
|
184
|
-
if (
|
|
185
|
-
return
|
|
186
|
-
},
|
|
187
|
-
([i,
|
|
188
|
-
),
|
|
189
|
-
${
|
|
190
|
-
const
|
|
191
|
-
return
|
|
192
|
-
${
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
182
|
+
}, _r = (r) => ({ theme: o }) => o.dimensions[r], Tr = (r) => vr.includes(r), wr = (r) => br.includes(r), Xt = (r) => r[0] === "$", Sr = (r) => r.split(".").length === 2, Cr = (r, o, i) => {
|
|
183
|
+
const c = typeof o == "object" && !Array.isArray(o) ? o[i] : o;
|
|
184
|
+
if (c !== void 0)
|
|
185
|
+
return Tr(r) && (typeof c == "number" || Array.isArray(c)) ? nt(c, "px") : wr(r) && typeof c == "string" && Sr(c) ? Qe(c) : c;
|
|
186
|
+
}, Or = (r, o) => Object.entries(r).filter(
|
|
187
|
+
([i, c]) => Xt(i) && o === "xs" || c && typeof c == "object" && o in c
|
|
188
|
+
), Ft = (r) => ({ theme: o, ...i }) => se`
|
|
189
|
+
${Or(i, r).map(([c, u]) => {
|
|
190
|
+
const s = c.slice(1);
|
|
191
|
+
return se`
|
|
192
|
+
${hr(s)}: ${Cr(
|
|
193
|
+
s,
|
|
194
|
+
u,
|
|
195
|
+
r
|
|
196
196
|
)};
|
|
197
197
|
`;
|
|
198
198
|
})}
|
|
199
|
-
`,
|
|
200
|
-
([i,
|
|
201
|
-
),
|
|
202
|
-
const i = (
|
|
203
|
-
const
|
|
204
|
-
if (!
|
|
205
|
-
throw new Error(`[honey-layout]: Setup for breakpoint "${
|
|
206
|
-
return
|
|
199
|
+
`, jr = (r, o) => Object.entries(o).some(
|
|
200
|
+
([i, c]) => Xt(i) && typeof c == "object" && r in c
|
|
201
|
+
), Vt = (r, o = {}) => {
|
|
202
|
+
const i = (s) => {
|
|
203
|
+
const l = s.breakpoints[r];
|
|
204
|
+
if (!l)
|
|
205
|
+
throw new Error(`[honey-layout]: Setup for breakpoint "${r}" was not found.`);
|
|
206
|
+
return l;
|
|
207
207
|
};
|
|
208
208
|
return {
|
|
209
|
-
down: ({ theme:
|
|
209
|
+
down: ({ theme: s }) => Ht([
|
|
210
210
|
{
|
|
211
|
-
maxWidth: `${i(
|
|
211
|
+
maxWidth: `${i(s)}px`,
|
|
212
212
|
...o
|
|
213
213
|
}
|
|
214
214
|
]),
|
|
215
|
-
up: ({ theme:
|
|
215
|
+
up: ({ theme: s }) => Ht([
|
|
216
216
|
{
|
|
217
|
-
minWidth: `${i(
|
|
217
|
+
minWidth: `${i(s)}px`,
|
|
218
218
|
...o
|
|
219
219
|
}
|
|
220
220
|
])
|
|
221
221
|
};
|
|
222
|
-
},
|
|
223
|
-
${
|
|
224
|
-
${
|
|
222
|
+
}, Ke = (r) => ({ theme: o, ...i }) => !o.breakpoints[r] || !jr(r, i) ? null : se`
|
|
223
|
+
${Vt(r).up} {
|
|
224
|
+
${Ft(r)};
|
|
225
225
|
}
|
|
226
|
-
`,
|
|
227
|
-
const o = window.screen.orientation.type, i = o === "portrait-primary" || o === "portrait-secondary",
|
|
228
|
-
if (!
|
|
226
|
+
`, kt = (r) => {
|
|
227
|
+
const o = window.screen.orientation.type, i = o === "portrait-primary" || o === "portrait-secondary", c = !i;
|
|
228
|
+
if (!r)
|
|
229
229
|
return {
|
|
230
230
|
isPortrait: i,
|
|
231
|
-
isLandscape:
|
|
231
|
+
isLandscape: c,
|
|
232
232
|
isXs: !1,
|
|
233
233
|
isSm: !1,
|
|
234
234
|
isMd: !1,
|
|
235
235
|
isLg: !1,
|
|
236
236
|
isXl: !1
|
|
237
237
|
};
|
|
238
|
-
const
|
|
239
|
-
const
|
|
240
|
-
return
|
|
241
|
-
}) ??
|
|
238
|
+
const u = Object.entries(r).sort(([, l], [, h]) => l - h).map(([l]) => l), s = u.find((l) => {
|
|
239
|
+
const h = r[l];
|
|
240
|
+
return h ? window.innerWidth < h : !1;
|
|
241
|
+
}) ?? u.pop();
|
|
242
242
|
return {
|
|
243
243
|
isPortrait: i,
|
|
244
|
-
isLandscape:
|
|
245
|
-
isXs:
|
|
246
|
-
isSm:
|
|
247
|
-
isMd:
|
|
248
|
-
isLg:
|
|
249
|
-
isXl:
|
|
244
|
+
isLandscape: c,
|
|
245
|
+
isXs: s === "xs",
|
|
246
|
+
isSm: s === "sm",
|
|
247
|
+
isMd: s === "md",
|
|
248
|
+
isLg: s === "lg",
|
|
249
|
+
isXl: s === "xl"
|
|
250
250
|
};
|
|
251
|
-
},
|
|
252
|
-
${({ effects:
|
|
253
|
-
${
|
|
251
|
+
}, rt = xe.div`
|
|
252
|
+
${({ effects: r }) => se`
|
|
253
|
+
${r};
|
|
254
254
|
|
|
255
|
-
${
|
|
255
|
+
${Ft("xs")};
|
|
256
256
|
|
|
257
|
-
${
|
|
258
|
-
${
|
|
259
|
-
${
|
|
260
|
-
${
|
|
257
|
+
${Ke("sm")};
|
|
258
|
+
${Ke("md")};
|
|
259
|
+
${Ke("lg")};
|
|
260
|
+
${Ke("xl")};
|
|
261
261
|
`}
|
|
262
|
-
`,
|
|
263
|
-
|
|
262
|
+
`, ot = xe(rt)``;
|
|
263
|
+
ot.defaultProps = {
|
|
264
264
|
$display: "flex",
|
|
265
265
|
$flexDirection: "column"
|
|
266
266
|
};
|
|
267
|
-
var
|
|
268
|
-
function
|
|
269
|
-
return
|
|
267
|
+
var be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
268
|
+
function qt(r) {
|
|
269
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
270
270
|
}
|
|
271
|
-
var
|
|
271
|
+
var Ze = { exports: {} }, ze = {};
|
|
272
272
|
/**
|
|
273
273
|
* @license React
|
|
274
|
-
* react-jsx-runtime.production.
|
|
274
|
+
* react-jsx-runtime.production.js
|
|
275
275
|
*
|
|
276
|
-
* Copyright (c)
|
|
276
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
277
277
|
*
|
|
278
278
|
* This source code is licensed under the MIT license found in the
|
|
279
279
|
* LICENSE file in the root directory of this source tree.
|
|
280
280
|
*/
|
|
281
|
-
var
|
|
282
|
-
function
|
|
283
|
-
if (
|
|
284
|
-
|
|
285
|
-
var
|
|
286
|
-
function
|
|
287
|
-
var
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
281
|
+
var Mt;
|
|
282
|
+
function Ar() {
|
|
283
|
+
if (Mt) return ze;
|
|
284
|
+
Mt = 1;
|
|
285
|
+
var r = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
|
|
286
|
+
function i(c, u, s) {
|
|
287
|
+
var l = null;
|
|
288
|
+
if (s !== void 0 && (l = "" + s), u.key !== void 0 && (l = "" + u.key), "key" in u) {
|
|
289
|
+
s = {};
|
|
290
|
+
for (var h in u)
|
|
291
|
+
h !== "key" && (s[h] = u[h]);
|
|
292
|
+
} else s = u;
|
|
293
|
+
return u = s.ref, {
|
|
294
|
+
$$typeof: r,
|
|
295
|
+
type: c,
|
|
296
|
+
key: l,
|
|
297
|
+
ref: u !== void 0 ? u : null,
|
|
298
|
+
props: s
|
|
299
|
+
};
|
|
292
300
|
}
|
|
293
|
-
return
|
|
301
|
+
return ze.Fragment = o, ze.jsx = i, ze.jsxs = i, ze;
|
|
294
302
|
}
|
|
295
|
-
var
|
|
303
|
+
var We = {};
|
|
296
304
|
/**
|
|
297
305
|
* @license React
|
|
298
306
|
* react-jsx-runtime.development.js
|
|
299
307
|
*
|
|
300
|
-
* Copyright (c)
|
|
308
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
301
309
|
*
|
|
302
310
|
* This source code is licensed under the MIT license found in the
|
|
303
311
|
* LICENSE file in the root directory of this source tree.
|
|
304
312
|
*/
|
|
305
|
-
var
|
|
306
|
-
function
|
|
307
|
-
return
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
if (
|
|
311
|
-
return null;
|
|
312
|
-
|
|
313
|
-
return typeof u == "function" ? u : null;
|
|
314
|
-
}
|
|
315
|
-
var z = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
316
|
-
function A(t) {
|
|
317
|
-
{
|
|
318
|
-
for (var u = arguments.length, d = new Array(u > 1 ? u - 1 : 0), m = 1; m < u; m++)
|
|
319
|
-
d[m - 1] = arguments[m];
|
|
320
|
-
me("error", t, d);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
function me(t, u, d) {
|
|
324
|
-
{
|
|
325
|
-
var m = z.ReactDebugCurrentFrame, R = m.getStackAddendum();
|
|
326
|
-
R !== "" && (u += "%s", d = d.concat([R]));
|
|
327
|
-
var L = d.map(function(S) {
|
|
328
|
-
return String(S);
|
|
329
|
-
});
|
|
330
|
-
L.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, L);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
var ge = !1, x = !1, _ = !1, C = !1, K = !1, ne;
|
|
334
|
-
ne = Symbol.for("react.module.reference");
|
|
335
|
-
function be(t) {
|
|
336
|
-
return !!(typeof t == "string" || typeof t == "function" || t === s || t === c || K || t === l || t === b || t === v || C || t === j || ge || x || _ || typeof t == "object" && t !== null && (t.$$typeof === E || t.$$typeof === y || t.$$typeof === f || t.$$typeof === g || t.$$typeof === p || // This needs to include all possible module reference object
|
|
337
|
-
// types supported by any Flight configuration anywhere since
|
|
338
|
-
// we don't know which Flight build this will end up being used
|
|
339
|
-
// with.
|
|
340
|
-
t.$$typeof === ne || t.getModuleId !== void 0));
|
|
341
|
-
}
|
|
342
|
-
function ue(t, u, d) {
|
|
343
|
-
var m = t.displayName;
|
|
344
|
-
if (m)
|
|
345
|
-
return m;
|
|
346
|
-
var R = u.displayName || u.name || "";
|
|
347
|
-
return R !== "" ? d + "(" + R + ")" : d;
|
|
348
|
-
}
|
|
349
|
-
function B(t) {
|
|
350
|
-
return t.displayName || "Context";
|
|
351
|
-
}
|
|
352
|
-
function U(t) {
|
|
353
|
-
if (t == null)
|
|
354
|
-
return null;
|
|
355
|
-
if (typeof t.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
356
|
-
return t.displayName || t.name || null;
|
|
357
|
-
if (typeof t == "string")
|
|
358
|
-
return t;
|
|
313
|
+
var Nt;
|
|
314
|
+
function Rr() {
|
|
315
|
+
return Nt || (Nt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
316
|
+
function r(t) {
|
|
317
|
+
if (t == null) return null;
|
|
318
|
+
if (typeof t == "function")
|
|
319
|
+
return t.$$typeof === Ee ? null : t.displayName || t.name || null;
|
|
320
|
+
if (typeof t == "string") return t;
|
|
359
321
|
switch (t) {
|
|
360
|
-
case
|
|
322
|
+
case m:
|
|
361
323
|
return "Fragment";
|
|
362
|
-
case
|
|
324
|
+
case E:
|
|
363
325
|
return "Portal";
|
|
364
|
-
case
|
|
326
|
+
case D:
|
|
365
327
|
return "Profiler";
|
|
366
|
-
case
|
|
328
|
+
case w:
|
|
367
329
|
return "StrictMode";
|
|
368
|
-
case
|
|
330
|
+
case z:
|
|
369
331
|
return "Suspense";
|
|
370
|
-
case
|
|
332
|
+
case X:
|
|
371
333
|
return "SuspenseList";
|
|
372
334
|
}
|
|
373
335
|
if (typeof t == "object")
|
|
374
|
-
switch (
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
return
|
|
381
|
-
case
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
return
|
|
386
|
-
case
|
|
387
|
-
|
|
336
|
+
switch (typeof t.tag == "number" && console.error(
|
|
337
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
338
|
+
), t.$$typeof) {
|
|
339
|
+
case ue:
|
|
340
|
+
return (t.displayName || "Context") + ".Provider";
|
|
341
|
+
case Q:
|
|
342
|
+
return (t._context.displayName || "Context") + ".Consumer";
|
|
343
|
+
case q:
|
|
344
|
+
var d = t.render;
|
|
345
|
+
return t = t.displayName, t || (t = d.displayName || d.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
346
|
+
case ee:
|
|
347
|
+
return d = t.displayName || null, d !== null ? d : r(t.type) || "Memo";
|
|
348
|
+
case ge:
|
|
349
|
+
d = t._payload, t = t._init;
|
|
388
350
|
try {
|
|
389
|
-
return
|
|
351
|
+
return r(t(d));
|
|
390
352
|
} catch {
|
|
391
|
-
return null;
|
|
392
353
|
}
|
|
393
|
-
}
|
|
394
354
|
}
|
|
395
355
|
return null;
|
|
396
356
|
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
}
|
|
400
|
-
O.__reactDisabledLog = !0;
|
|
401
|
-
function He() {
|
|
402
|
-
{
|
|
403
|
-
if (le === 0) {
|
|
404
|
-
fe = console.log, _e = console.info, xe = console.warn, $e = console.error, ke = console.group, Ce = console.groupCollapsed, ve = console.groupEnd;
|
|
405
|
-
var t = {
|
|
406
|
-
configurable: !0,
|
|
407
|
-
enumerable: !0,
|
|
408
|
-
value: O,
|
|
409
|
-
writable: !0
|
|
410
|
-
};
|
|
411
|
-
Object.defineProperties(console, {
|
|
412
|
-
info: t,
|
|
413
|
-
log: t,
|
|
414
|
-
warn: t,
|
|
415
|
-
error: t,
|
|
416
|
-
group: t,
|
|
417
|
-
groupCollapsed: t,
|
|
418
|
-
groupEnd: t
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
le++;
|
|
422
|
-
}
|
|
357
|
+
function o(t) {
|
|
358
|
+
return "" + t;
|
|
423
359
|
}
|
|
424
|
-
function
|
|
425
|
-
{
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
writable: !0
|
|
431
|
-
};
|
|
432
|
-
Object.defineProperties(console, {
|
|
433
|
-
log: q({}, t, {
|
|
434
|
-
value: fe
|
|
435
|
-
}),
|
|
436
|
-
info: q({}, t, {
|
|
437
|
-
value: _e
|
|
438
|
-
}),
|
|
439
|
-
warn: q({}, t, {
|
|
440
|
-
value: xe
|
|
441
|
-
}),
|
|
442
|
-
error: q({}, t, {
|
|
443
|
-
value: $e
|
|
444
|
-
}),
|
|
445
|
-
group: q({}, t, {
|
|
446
|
-
value: ke
|
|
447
|
-
}),
|
|
448
|
-
groupCollapsed: q({}, t, {
|
|
449
|
-
value: Ce
|
|
450
|
-
}),
|
|
451
|
-
groupEnd: q({}, t, {
|
|
452
|
-
value: ve
|
|
453
|
-
})
|
|
454
|
-
});
|
|
455
|
-
}
|
|
456
|
-
le < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
360
|
+
function i(t) {
|
|
361
|
+
try {
|
|
362
|
+
o(t);
|
|
363
|
+
var d = !1;
|
|
364
|
+
} catch {
|
|
365
|
+
d = !0;
|
|
457
366
|
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
var m = R.stack.trim().match(/\n( *(at )?)/);
|
|
467
|
-
k = m && m[1] || "";
|
|
468
|
-
}
|
|
469
|
-
return `
|
|
470
|
-
` + k + t;
|
|
367
|
+
if (d) {
|
|
368
|
+
d = console;
|
|
369
|
+
var f = d.error, _ = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
370
|
+
return f.call(
|
|
371
|
+
d,
|
|
372
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
373
|
+
_
|
|
374
|
+
), o(t);
|
|
471
375
|
}
|
|
472
376
|
}
|
|
473
|
-
|
|
474
|
-
{
|
|
475
|
-
var rt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
476
|
-
oe = new rt();
|
|
377
|
+
function c() {
|
|
477
378
|
}
|
|
478
|
-
function
|
|
479
|
-
if (
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
379
|
+
function u() {
|
|
380
|
+
if (oe === 0) {
|
|
381
|
+
je = console.log, K = console.info, R = console.warn, W = console.error, ne = console.group, fe = console.groupCollapsed, $e = console.groupEnd;
|
|
382
|
+
var t = {
|
|
383
|
+
configurable: !0,
|
|
384
|
+
enumerable: !0,
|
|
385
|
+
value: c,
|
|
386
|
+
writable: !0
|
|
387
|
+
};
|
|
388
|
+
Object.defineProperties(console, {
|
|
389
|
+
info: t,
|
|
390
|
+
log: t,
|
|
391
|
+
warn: t,
|
|
392
|
+
error: t,
|
|
393
|
+
group: t,
|
|
394
|
+
groupCollapsed: t,
|
|
395
|
+
groupEnd: t
|
|
396
|
+
});
|
|
485
397
|
}
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
398
|
+
oe++;
|
|
399
|
+
}
|
|
400
|
+
function s() {
|
|
401
|
+
if (oe--, oe === 0) {
|
|
402
|
+
var t = { configurable: !0, enumerable: !0, writable: !0 };
|
|
403
|
+
Object.defineProperties(console, {
|
|
404
|
+
log: J({}, t, { value: je }),
|
|
405
|
+
info: J({}, t, { value: K }),
|
|
406
|
+
warn: J({}, t, { value: R }),
|
|
407
|
+
error: J({}, t, { value: W }),
|
|
408
|
+
group: J({}, t, { value: ne }),
|
|
409
|
+
groupCollapsed: J({}, t, { value: fe }),
|
|
410
|
+
groupEnd: J({}, t, { value: $e })
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
0 > oe && console.error(
|
|
414
|
+
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
415
|
+
);
|
|
416
|
+
}
|
|
417
|
+
function l(t) {
|
|
418
|
+
if (Ae === void 0)
|
|
419
|
+
try {
|
|
420
|
+
throw Error();
|
|
421
|
+
} catch (f) {
|
|
422
|
+
var d = f.stack.trim().match(/\n( *(at )?)/);
|
|
423
|
+
Ae = d && d[1] || "", Ye = -1 < f.stack.indexOf(`
|
|
424
|
+
at`) ? " (<anonymous>)" : -1 < f.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
425
|
+
}
|
|
426
|
+
return `
|
|
427
|
+
` + Ae + t + Ye;
|
|
428
|
+
}
|
|
429
|
+
function h(t, d) {
|
|
430
|
+
if (!t || He) return "";
|
|
431
|
+
var f = ke.get(t);
|
|
432
|
+
if (f !== void 0) return f;
|
|
433
|
+
He = !0, f = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
|
434
|
+
var _ = null;
|
|
435
|
+
_ = te.H, te.H = null, u();
|
|
492
436
|
try {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
throw Error();
|
|
496
|
-
};
|
|
497
|
-
if (Object.defineProperty(S.prototype, "props", {
|
|
498
|
-
set: function() {
|
|
499
|
-
throw Error();
|
|
500
|
-
}
|
|
501
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
437
|
+
var M = {
|
|
438
|
+
DetermineComponentFrameRoot: function() {
|
|
502
439
|
try {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
440
|
+
if (d) {
|
|
441
|
+
var ae = function() {
|
|
442
|
+
throw Error();
|
|
443
|
+
};
|
|
444
|
+
if (Object.defineProperty(ae.prototype, "props", {
|
|
445
|
+
set: function() {
|
|
446
|
+
throw Error();
|
|
447
|
+
}
|
|
448
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
449
|
+
try {
|
|
450
|
+
Reflect.construct(ae, []);
|
|
451
|
+
} catch (U) {
|
|
452
|
+
var Re = U;
|
|
453
|
+
}
|
|
454
|
+
Reflect.construct(t, [], ae);
|
|
455
|
+
} else {
|
|
456
|
+
try {
|
|
457
|
+
ae.call();
|
|
458
|
+
} catch (U) {
|
|
459
|
+
Re = U;
|
|
460
|
+
}
|
|
461
|
+
t.call(ae.prototype);
|
|
462
|
+
}
|
|
463
|
+
} else {
|
|
464
|
+
try {
|
|
465
|
+
throw Error();
|
|
466
|
+
} catch (U) {
|
|
467
|
+
Re = U;
|
|
468
|
+
}
|
|
469
|
+
(ae = t()) && typeof ae.catch == "function" && ae.catch(function() {
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
} catch (U) {
|
|
473
|
+
if (U && Re && typeof U.stack == "string")
|
|
474
|
+
return [U.stack, Re.stack];
|
|
513
475
|
}
|
|
514
|
-
|
|
515
|
-
}
|
|
516
|
-
} else {
|
|
517
|
-
try {
|
|
518
|
-
throw Error();
|
|
519
|
-
} catch (V) {
|
|
520
|
-
m = V;
|
|
476
|
+
return [null, null];
|
|
521
477
|
}
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
478
|
+
};
|
|
479
|
+
M.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
480
|
+
var L = Object.getOwnPropertyDescriptor(
|
|
481
|
+
M.DetermineComponentFrameRoot,
|
|
482
|
+
"name"
|
|
483
|
+
);
|
|
484
|
+
L && L.configurable && Object.defineProperty(
|
|
485
|
+
M.DetermineComponentFrameRoot,
|
|
486
|
+
"name",
|
|
487
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
488
|
+
);
|
|
489
|
+
var b = M.DetermineComponentFrameRoot(), G = b[0], de = b[1];
|
|
490
|
+
if (G && de) {
|
|
491
|
+
var N = G.split(`
|
|
492
|
+
`), ie = de.split(`
|
|
493
|
+
`);
|
|
494
|
+
for (b = L = 0; L < N.length && !N[L].includes(
|
|
495
|
+
"DetermineComponentFrameRoot"
|
|
496
|
+
); )
|
|
497
|
+
L++;
|
|
498
|
+
for (; b < ie.length && !ie[b].includes(
|
|
499
|
+
"DetermineComponentFrameRoot"
|
|
500
|
+
); )
|
|
501
|
+
b++;
|
|
502
|
+
if (L === N.length || b === ie.length)
|
|
503
|
+
for (L = N.length - 1, b = ie.length - 1; 1 <= L && 0 <= b && N[L] !== ie[b]; )
|
|
504
|
+
b--;
|
|
505
|
+
for (; 1 <= L && 0 <= b; L--, b--)
|
|
506
|
+
if (N[L] !== ie[b]) {
|
|
507
|
+
if (L !== 1 || b !== 1)
|
|
533
508
|
do
|
|
534
|
-
if (
|
|
535
|
-
var
|
|
536
|
-
` +
|
|
537
|
-
|
|
509
|
+
if (L--, b--, 0 > b || N[L] !== ie[b]) {
|
|
510
|
+
var ve = `
|
|
511
|
+
` + N[L].replace(
|
|
512
|
+
" at new ",
|
|
513
|
+
" at "
|
|
514
|
+
);
|
|
515
|
+
return t.displayName && ve.includes("<anonymous>") && (ve = ve.replace("<anonymous>", t.displayName)), typeof t == "function" && ke.set(t, ve), ve;
|
|
538
516
|
}
|
|
539
|
-
while (
|
|
517
|
+
while (1 <= L && 0 <= b);
|
|
540
518
|
break;
|
|
541
519
|
}
|
|
542
520
|
}
|
|
543
521
|
} finally {
|
|
544
|
-
|
|
522
|
+
He = !1, te.H = _, s(), Error.prepareStackTrace = f;
|
|
545
523
|
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
if (t ==
|
|
558
|
-
return "";
|
|
559
|
-
if (typeof t == "function")
|
|
560
|
-
return Ne(t, Rt(t));
|
|
561
|
-
if (typeof t == "string")
|
|
562
|
-
return N(t);
|
|
524
|
+
return N = (N = t ? t.displayName || t.name : "") ? l(N) : "", typeof t == "function" && ke.set(t, N), N;
|
|
525
|
+
}
|
|
526
|
+
function g(t) {
|
|
527
|
+
if (t == null) return "";
|
|
528
|
+
if (typeof t == "function") {
|
|
529
|
+
var d = t.prototype;
|
|
530
|
+
return h(
|
|
531
|
+
t,
|
|
532
|
+
!(!d || !d.isReactComponent)
|
|
533
|
+
);
|
|
534
|
+
}
|
|
535
|
+
if (typeof t == "string") return l(t);
|
|
563
536
|
switch (t) {
|
|
564
|
-
case
|
|
565
|
-
return
|
|
566
|
-
case
|
|
567
|
-
return
|
|
537
|
+
case z:
|
|
538
|
+
return l("Suspense");
|
|
539
|
+
case X:
|
|
540
|
+
return l("SuspenseList");
|
|
568
541
|
}
|
|
569
542
|
if (typeof t == "object")
|
|
570
543
|
switch (t.$$typeof) {
|
|
571
|
-
case
|
|
572
|
-
return
|
|
573
|
-
case
|
|
574
|
-
return
|
|
575
|
-
case
|
|
576
|
-
|
|
544
|
+
case q:
|
|
545
|
+
return t = h(t.render, !1), t;
|
|
546
|
+
case ee:
|
|
547
|
+
return g(t.type);
|
|
548
|
+
case ge:
|
|
549
|
+
d = t._payload, t = t._init;
|
|
577
550
|
try {
|
|
578
|
-
return
|
|
551
|
+
return g(t(d));
|
|
579
552
|
} catch {
|
|
580
553
|
}
|
|
581
|
-
}
|
|
582
554
|
}
|
|
583
555
|
return "";
|
|
584
556
|
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
var u = t._owner, d = Ie(t.type, t._source, u ? u.type : null);
|
|
589
|
-
ot.setExtraStackFrame(d);
|
|
590
|
-
} else
|
|
591
|
-
ot.setExtraStackFrame(null);
|
|
592
|
-
}
|
|
593
|
-
function Me(t, u, d, m, R) {
|
|
594
|
-
{
|
|
595
|
-
var L = Function.call.bind(Oe);
|
|
596
|
-
for (var S in t)
|
|
597
|
-
if (L(t, S)) {
|
|
598
|
-
var T = void 0;
|
|
599
|
-
try {
|
|
600
|
-
if (typeof t[S] != "function") {
|
|
601
|
-
var Y = Error((m || "React class") + ": " + d + " type `" + S + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[S] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
602
|
-
throw Y.name = "Invariant Violation", Y;
|
|
603
|
-
}
|
|
604
|
-
T = t[S](u, S, m, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
605
|
-
} catch (F) {
|
|
606
|
-
T = F;
|
|
607
|
-
}
|
|
608
|
-
T && !(T instanceof Error) && (De(R), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", d, S, typeof T), De(null)), T instanceof Error && !(T.message in nt) && (nt[T.message] = !0, De(R), A("Failed %s type: %s", d, T.message), De(null));
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
var Ye = Array.isArray;
|
|
613
|
-
function Te(t) {
|
|
614
|
-
return Ye(t);
|
|
615
|
-
}
|
|
616
|
-
function de(t) {
|
|
617
|
-
{
|
|
618
|
-
var u = typeof Symbol == "function" && Symbol.toStringTag, d = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
619
|
-
return d;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
function it(t) {
|
|
623
|
-
try {
|
|
624
|
-
return Be(t), !1;
|
|
625
|
-
} catch {
|
|
626
|
-
return !0;
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
function Be(t) {
|
|
630
|
-
return "" + t;
|
|
631
|
-
}
|
|
632
|
-
function at(t) {
|
|
633
|
-
if (it(t))
|
|
634
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", de(t)), Be(t);
|
|
635
|
-
}
|
|
636
|
-
var Pe = z.ReactCurrentOwner, Fe = {
|
|
637
|
-
key: !0,
|
|
638
|
-
ref: !0,
|
|
639
|
-
__self: !0,
|
|
640
|
-
__source: !0
|
|
641
|
-
}, Ve, Ge, We;
|
|
642
|
-
We = {};
|
|
643
|
-
function st(t) {
|
|
644
|
-
if (Oe.call(t, "ref")) {
|
|
645
|
-
var u = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
646
|
-
if (u && u.isReactWarning)
|
|
647
|
-
return !1;
|
|
648
|
-
}
|
|
649
|
-
return t.ref !== void 0;
|
|
557
|
+
function v() {
|
|
558
|
+
var t = te.A;
|
|
559
|
+
return t === null ? null : t.getOwner();
|
|
650
560
|
}
|
|
651
|
-
function
|
|
561
|
+
function x(t) {
|
|
652
562
|
if (Oe.call(t, "key")) {
|
|
653
|
-
var
|
|
654
|
-
if (
|
|
655
|
-
return !1;
|
|
563
|
+
var d = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
564
|
+
if (d && d.isReactWarning) return !1;
|
|
656
565
|
}
|
|
657
566
|
return t.key !== void 0;
|
|
658
567
|
}
|
|
659
|
-
function
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
function ye(t, u) {
|
|
666
|
-
{
|
|
667
|
-
var d = function() {
|
|
668
|
-
Ve || (Ve = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
669
|
-
};
|
|
670
|
-
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
671
|
-
get: d,
|
|
672
|
-
configurable: !0
|
|
673
|
-
});
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
function ze(t, u) {
|
|
677
|
-
{
|
|
678
|
-
var d = function() {
|
|
679
|
-
Ge || (Ge = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
680
|
-
};
|
|
681
|
-
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
682
|
-
get: d,
|
|
683
|
-
configurable: !0
|
|
684
|
-
});
|
|
568
|
+
function y(t, d) {
|
|
569
|
+
function f() {
|
|
570
|
+
Be || (Be = !0, console.error(
|
|
571
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
572
|
+
d
|
|
573
|
+
));
|
|
685
574
|
}
|
|
575
|
+
f.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
576
|
+
get: f,
|
|
577
|
+
configurable: !0
|
|
578
|
+
});
|
|
686
579
|
}
|
|
687
|
-
|
|
688
|
-
var
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
580
|
+
function O() {
|
|
581
|
+
var t = r(this.type);
|
|
582
|
+
return De[t] || (De[t] = !0, console.error(
|
|
583
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
584
|
+
)), t = this.props.ref, t !== void 0 ? t : null;
|
|
585
|
+
}
|
|
586
|
+
function A(t, d, f, _, M, L) {
|
|
587
|
+
return f = L.ref, t = {
|
|
588
|
+
$$typeof: Z,
|
|
692
589
|
type: t,
|
|
693
|
-
key:
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
_owner: L
|
|
698
|
-
};
|
|
699
|
-
return T._store = {}, Object.defineProperty(T._store, "validated", {
|
|
700
|
-
configurable: !1,
|
|
590
|
+
key: d,
|
|
591
|
+
props: L,
|
|
592
|
+
_owner: M
|
|
593
|
+
}, (f !== void 0 ? f : null) !== null ? Object.defineProperty(t, "ref", {
|
|
701
594
|
enumerable: !1,
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
}), Object.defineProperty(T, "_self", {
|
|
595
|
+
get: O
|
|
596
|
+
}) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
|
|
705
597
|
configurable: !1,
|
|
706
598
|
enumerable: !1,
|
|
707
|
-
writable: !
|
|
708
|
-
value:
|
|
709
|
-
}), Object.defineProperty(
|
|
599
|
+
writable: !0,
|
|
600
|
+
value: 0
|
|
601
|
+
}), Object.defineProperty(t, "_debugInfo", {
|
|
710
602
|
configurable: !1,
|
|
711
603
|
enumerable: !1,
|
|
712
|
-
writable: !
|
|
713
|
-
value:
|
|
714
|
-
}), Object.freeze && (Object.freeze(
|
|
715
|
-
}
|
|
716
|
-
function
|
|
717
|
-
{
|
|
718
|
-
var
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
}
|
|
731
|
-
return Pt(t, T, Y, R, m, Pe.current, S);
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
var Xe = z.ReactCurrentOwner, qe = z.ReactDebugCurrentFrame;
|
|
735
|
-
function te(t) {
|
|
736
|
-
if (t) {
|
|
737
|
-
var u = t._owner, d = Ie(t.type, t._source, u ? u.type : null);
|
|
738
|
-
qe.setExtraStackFrame(d);
|
|
604
|
+
writable: !0,
|
|
605
|
+
value: null
|
|
606
|
+
}), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
|
|
607
|
+
}
|
|
608
|
+
function H(t, d, f, _, M, L) {
|
|
609
|
+
if (typeof t == "string" || typeof t == "function" || t === m || t === D || t === w || t === z || t === X || t === le || typeof t == "object" && t !== null && (t.$$typeof === ge || t.$$typeof === ee || t.$$typeof === ue || t.$$typeof === Q || t.$$typeof === q || t.$$typeof === me || t.getModuleId !== void 0)) {
|
|
610
|
+
var b = d.children;
|
|
611
|
+
if (b !== void 0)
|
|
612
|
+
if (_)
|
|
613
|
+
if (S(b)) {
|
|
614
|
+
for (_ = 0; _ < b.length; _++)
|
|
615
|
+
k(b[_], t);
|
|
616
|
+
Object.freeze && Object.freeze(b);
|
|
617
|
+
} else
|
|
618
|
+
console.error(
|
|
619
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
620
|
+
);
|
|
621
|
+
else k(b, t);
|
|
739
622
|
} else
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
return `
|
|
753
|
-
|
|
754
|
-
Check the render method of \`` + t + "`.";
|
|
755
|
-
}
|
|
756
|
-
return "";
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
function jt(t) {
|
|
760
|
-
return "";
|
|
761
|
-
}
|
|
762
|
-
var lt = {};
|
|
763
|
-
function Lt(t) {
|
|
764
|
-
{
|
|
765
|
-
var u = ut();
|
|
766
|
-
if (!u) {
|
|
767
|
-
var d = typeof t == "string" ? t : t.displayName || t.name;
|
|
768
|
-
d && (u = `
|
|
769
|
-
|
|
770
|
-
Check the top-level render call using <` + d + ">.");
|
|
771
|
-
}
|
|
772
|
-
return u;
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
function ft(t, u) {
|
|
776
|
-
{
|
|
777
|
-
if (!t._store || t._store.validated || t.key != null)
|
|
778
|
-
return;
|
|
779
|
-
t._store.validated = !0;
|
|
780
|
-
var d = Lt(u);
|
|
781
|
-
if (lt[d])
|
|
782
|
-
return;
|
|
783
|
-
lt[d] = !0;
|
|
784
|
-
var m = "";
|
|
785
|
-
t && t._owner && t._owner !== Xe.current && (m = " It was passed a child from " + U(t._owner.type) + "."), te(t), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, m), te(null);
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
function re(t, u) {
|
|
789
|
-
{
|
|
790
|
-
if (typeof t != "object")
|
|
791
|
-
return;
|
|
792
|
-
if (Te(t))
|
|
793
|
-
for (var d = 0; d < t.length; d++) {
|
|
794
|
-
var m = t[d];
|
|
795
|
-
ie(m) && ft(m, u);
|
|
796
|
-
}
|
|
797
|
-
else if (ie(t))
|
|
798
|
-
t._store && (t._store.validated = !0);
|
|
799
|
-
else if (t) {
|
|
800
|
-
var R = X(t);
|
|
801
|
-
if (typeof R == "function" && R !== t.entries)
|
|
802
|
-
for (var L = R.call(t), S; !(S = L.next()).done; )
|
|
803
|
-
ie(S.value) && ft(S.value, u);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
function At(t) {
|
|
808
|
-
{
|
|
809
|
-
var u = t.type;
|
|
810
|
-
if (u == null || typeof u == "string")
|
|
811
|
-
return;
|
|
812
|
-
var d;
|
|
813
|
-
if (typeof u == "function")
|
|
814
|
-
d = u.propTypes;
|
|
815
|
-
else if (typeof u == "object" && (u.$$typeof === p || // Note: Memo only checks outer props here.
|
|
816
|
-
// Inner props are checked in the reconciler.
|
|
817
|
-
u.$$typeof === y))
|
|
818
|
-
d = u.propTypes;
|
|
819
|
-
else
|
|
820
|
-
return;
|
|
821
|
-
if (d) {
|
|
822
|
-
var m = U(u);
|
|
823
|
-
Me(d, t.props, "prop", m, t);
|
|
824
|
-
} else if (u.PropTypes !== void 0 && !Ke) {
|
|
825
|
-
Ke = !0;
|
|
826
|
-
var R = U(u);
|
|
827
|
-
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
|
|
828
|
-
}
|
|
829
|
-
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
function $t(t) {
|
|
833
|
-
{
|
|
834
|
-
for (var u = Object.keys(t.props), d = 0; d < u.length; d++) {
|
|
835
|
-
var m = u[d];
|
|
836
|
-
if (m !== "children" && m !== "key") {
|
|
837
|
-
te(t), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), te(null);
|
|
838
|
-
break;
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
t.ref !== null && (te(t), A("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
var dt = {};
|
|
845
|
-
function pt(t, u, d, m, R, L) {
|
|
846
|
-
{
|
|
847
|
-
var S = be(t);
|
|
848
|
-
if (!S) {
|
|
849
|
-
var T = "";
|
|
850
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
851
|
-
var Y = jt();
|
|
852
|
-
Y ? T += Y : T += ut();
|
|
853
|
-
var F;
|
|
854
|
-
t === null ? F = "null" : Te(t) ? F = "array" : t !== void 0 && t.$$typeof === o ? (F = "<" + (U(t.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, T);
|
|
855
|
-
}
|
|
856
|
-
var H = ct(t, u, d, R, L);
|
|
857
|
-
if (H == null)
|
|
858
|
-
return H;
|
|
859
|
-
if (S) {
|
|
860
|
-
var J = u.children;
|
|
861
|
-
if (J !== void 0)
|
|
862
|
-
if (m)
|
|
863
|
-
if (Te(J)) {
|
|
864
|
-
for (var ae = 0; ae < J.length; ae++)
|
|
865
|
-
re(J[ae], t);
|
|
866
|
-
Object.freeze && Object.freeze(J);
|
|
867
|
-
} else
|
|
868
|
-
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
869
|
-
else
|
|
870
|
-
re(J, t);
|
|
871
|
-
}
|
|
872
|
-
if (Oe.call(u, "key")) {
|
|
873
|
-
var se = U(t), V = Object.keys(u).filter(function(Dt) {
|
|
874
|
-
return Dt !== "key";
|
|
875
|
-
}), Se = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
876
|
-
if (!dt[se + Se]) {
|
|
877
|
-
var ht = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
878
|
-
A(`A props object containing a "key" prop is being spread into JSX:
|
|
623
|
+
b = "", (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), t === null ? _ = "null" : S(t) ? _ = "array" : t !== void 0 && t.$$typeof === Z ? (_ = "<" + (r(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof t, console.error(
|
|
624
|
+
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
625
|
+
_,
|
|
626
|
+
b
|
|
627
|
+
);
|
|
628
|
+
if (Oe.call(d, "key")) {
|
|
629
|
+
b = r(t);
|
|
630
|
+
var G = Object.keys(d).filter(function(N) {
|
|
631
|
+
return N !== "key";
|
|
632
|
+
});
|
|
633
|
+
_ = 0 < G.length ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}", Ge[b + _] || (G = 0 < G.length ? "{" + G.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
634
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
879
635
|
let props = %s;
|
|
880
636
|
<%s {...props} />
|
|
881
637
|
React keys must be passed directly to JSX without using spread:
|
|
882
638
|
let props = %s;
|
|
883
|
-
<%s key={someKey} {...props} />`,
|
|
639
|
+
<%s key={someKey} {...props} />`,
|
|
640
|
+
_,
|
|
641
|
+
b,
|
|
642
|
+
G,
|
|
643
|
+
b
|
|
644
|
+
), Ge[b + _] = !0);
|
|
645
|
+
}
|
|
646
|
+
if (b = null, f !== void 0 && (i(f), b = "" + f), x(d) && (i(d.key), b = "" + d.key), "key" in d) {
|
|
647
|
+
f = {};
|
|
648
|
+
for (var de in d)
|
|
649
|
+
de !== "key" && (f[de] = d[de]);
|
|
650
|
+
} else f = d;
|
|
651
|
+
return b && y(
|
|
652
|
+
f,
|
|
653
|
+
typeof t == "function" ? t.displayName || t.name || "Unknown" : t
|
|
654
|
+
), A(t, b, L, M, v(), f);
|
|
655
|
+
}
|
|
656
|
+
function k(t, d) {
|
|
657
|
+
if (typeof t == "object" && t && t.$$typeof !== it) {
|
|
658
|
+
if (S(t))
|
|
659
|
+
for (var f = 0; f < t.length; f++) {
|
|
660
|
+
var _ = t[f];
|
|
661
|
+
I(_) && Y(_, d);
|
|
884
662
|
}
|
|
885
|
-
|
|
886
|
-
|
|
663
|
+
else if (I(t))
|
|
664
|
+
t._store && (t._store.validated = 1);
|
|
665
|
+
else if (t === null || typeof t != "object" ? f = null : (f = ye && t[ye] || t["@@iterator"], f = typeof f == "function" ? f : null), typeof f == "function" && f !== t.entries && (f = f.call(t), f !== t))
|
|
666
|
+
for (; !(t = f.next()).done; )
|
|
667
|
+
I(t.value) && Y(t.value, d);
|
|
887
668
|
}
|
|
888
669
|
}
|
|
889
|
-
function
|
|
890
|
-
return
|
|
891
|
-
}
|
|
892
|
-
function
|
|
893
|
-
|
|
670
|
+
function I(t) {
|
|
671
|
+
return typeof t == "object" && t !== null && t.$$typeof === Z;
|
|
672
|
+
}
|
|
673
|
+
function Y(t, d) {
|
|
674
|
+
if (t._store && !t._store.validated && t.key == null && (t._store.validated = 1, d = V(d), !_e[d])) {
|
|
675
|
+
_e[d] = !0;
|
|
676
|
+
var f = "";
|
|
677
|
+
t && t._owner != null && t._owner !== v() && (f = null, typeof t._owner.tag == "number" ? f = r(t._owner.type) : typeof t._owner.name == "string" && (f = t._owner.name), f = " It was passed a child from " + f + ".");
|
|
678
|
+
var _ = te.getCurrentStack;
|
|
679
|
+
te.getCurrentStack = function() {
|
|
680
|
+
var M = g(t.type);
|
|
681
|
+
return _ && (M += _() || ""), M;
|
|
682
|
+
}, console.error(
|
|
683
|
+
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
684
|
+
d,
|
|
685
|
+
f
|
|
686
|
+
), te.getCurrentStack = _;
|
|
687
|
+
}
|
|
894
688
|
}
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
689
|
+
function V(t) {
|
|
690
|
+
var d = "", f = v();
|
|
691
|
+
return f && (f = r(f.type)) && (d = `
|
|
692
|
+
|
|
693
|
+
Check the render method of \`` + f + "`."), d || (t = r(t)) && (d = `
|
|
694
|
+
|
|
695
|
+
Check the top-level render call using <` + t + ">."), d;
|
|
696
|
+
}
|
|
697
|
+
var he = cr, Z = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), D = Symbol.for("react.profiler"), Q = Symbol.for("react.consumer"), ue = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), ee = Symbol.for("react.memo"), ge = Symbol.for("react.lazy"), le = Symbol.for("react.offscreen"), ye = Symbol.iterator, Ee = Symbol.for("react.client.reference"), te = he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Oe = Object.prototype.hasOwnProperty, J = Object.assign, me = Symbol.for("react.client.reference"), S = Array.isArray, oe = 0, je, K, R, W, ne, fe, $e;
|
|
698
|
+
c.__reactDisabledLog = !0;
|
|
699
|
+
var Ae, Ye, He = !1, ke = new (typeof WeakMap == "function" ? WeakMap : Map)(), it = Symbol.for("react.client.reference"), Be, De = {}, Ge = {}, _e = {};
|
|
700
|
+
We.Fragment = m, We.jsx = function(t, d, f, _, M) {
|
|
701
|
+
return H(t, d, f, !1, _, M);
|
|
702
|
+
}, We.jsxs = function(t, d, f, _, M) {
|
|
703
|
+
return H(t, d, f, !0, _, M);
|
|
704
|
+
};
|
|
705
|
+
}()), We;
|
|
898
706
|
}
|
|
899
|
-
var
|
|
900
|
-
function
|
|
901
|
-
return
|
|
707
|
+
var It;
|
|
708
|
+
function Lr() {
|
|
709
|
+
return It || (It = 1, process.env.NODE_ENV === "production" ? Ze.exports = Ar() : Ze.exports = Rr()), Ze.exports;
|
|
902
710
|
}
|
|
903
|
-
var
|
|
904
|
-
const
|
|
905
|
-
${({ columns:
|
|
906
|
-
const
|
|
907
|
-
return
|
|
908
|
-
flex-basis: ${
|
|
711
|
+
var B = Lr();
|
|
712
|
+
const Jt = xe(ot)`
|
|
713
|
+
${({ columns: r, takeColumns: o = 1, spacing: i = 0, applyMaxWidth: c, theme: u }) => {
|
|
714
|
+
const s = 100 / r, l = nt(i, null)({ theme: u }), h = o * s, g = (r - o) * (l / r), v = `calc(${h}% - ${g}px)`;
|
|
715
|
+
return se`
|
|
716
|
+
flex-basis: ${v};
|
|
909
717
|
|
|
910
|
-
${
|
|
911
|
-
${
|
|
912
|
-
max-width: ${
|
|
718
|
+
${c && se`
|
|
719
|
+
${Vt(c).up} {
|
|
720
|
+
max-width: ${v};
|
|
913
721
|
}
|
|
914
722
|
`}
|
|
915
723
|
`;
|
|
916
724
|
}}
|
|
917
|
-
`,
|
|
918
|
-
${({ columnHeight:
|
|
725
|
+
`, Kt = xe(rt)`
|
|
726
|
+
${({ columnHeight: r, minColumnHeight: o, spacing: i = 0 }) => se`
|
|
919
727
|
display: flex;
|
|
920
|
-
gap: ${
|
|
728
|
+
gap: ${nt(i)};
|
|
921
729
|
|
|
922
|
-
> ${
|
|
923
|
-
height: ${
|
|
730
|
+
> ${Jt} {
|
|
731
|
+
height: ${r};
|
|
924
732
|
min-height: ${o};
|
|
925
733
|
}
|
|
926
734
|
`}
|
|
927
735
|
`;
|
|
928
|
-
|
|
736
|
+
Kt.defaultProps = {
|
|
929
737
|
$flexWrap: "wrap"
|
|
930
738
|
};
|
|
931
|
-
const
|
|
932
|
-
({ children:
|
|
933
|
-
const
|
|
739
|
+
const Zt = Bt(void 0), Pr = Dt(
|
|
740
|
+
({ children: r, columns: o, spacing: i, isColumnGrowing: c = !0, applyColumnMaxWidth: u = !1, ...s }, l) => {
|
|
741
|
+
const h = et(
|
|
934
742
|
() => ({
|
|
935
743
|
columns: o,
|
|
936
744
|
spacing: i,
|
|
937
|
-
isColumnGrowing:
|
|
938
|
-
applyColumnMaxWidth:
|
|
745
|
+
isColumnGrowing: c,
|
|
746
|
+
applyColumnMaxWidth: u
|
|
939
747
|
}),
|
|
940
|
-
[o, i,
|
|
748
|
+
[o, i, c, u]
|
|
941
749
|
);
|
|
942
|
-
return /* @__PURE__ */
|
|
750
|
+
return /* @__PURE__ */ B.jsx(Zt.Provider, { value: h, children: /* @__PURE__ */ B.jsx(Kt, { ref: l, spacing: i, "data-testid": "honey-grid", ...s, children: r }) });
|
|
943
751
|
}
|
|
944
|
-
)
|
|
945
|
-
|
|
946
|
-
|
|
752
|
+
);
|
|
753
|
+
Pr.displayName = "HoneyGrid";
|
|
754
|
+
const $r = () => {
|
|
755
|
+
const r = vt(Zt);
|
|
756
|
+
if (!r)
|
|
947
757
|
throw new Error(
|
|
948
758
|
"The `useCurrentHoneyGrid()` hook can only be used inside <HoneyGrid/> component!"
|
|
949
759
|
);
|
|
950
|
-
return
|
|
951
|
-
},
|
|
952
|
-
children:
|
|
760
|
+
return r;
|
|
761
|
+
}, no = ({
|
|
762
|
+
children: r,
|
|
953
763
|
...o
|
|
954
764
|
}) => {
|
|
955
|
-
const { columns: i, spacing:
|
|
956
|
-
return /* @__PURE__ */
|
|
957
|
-
|
|
765
|
+
const { columns: i, spacing: c, isColumnGrowing: u, applyColumnMaxWidth: s } = $r();
|
|
766
|
+
return /* @__PURE__ */ B.jsx(
|
|
767
|
+
Jt,
|
|
958
768
|
{
|
|
959
769
|
columns: i,
|
|
960
|
-
spacing:
|
|
961
|
-
applyMaxWidth:
|
|
962
|
-
$flexGrow:
|
|
770
|
+
spacing: c,
|
|
771
|
+
applyMaxWidth: s,
|
|
772
|
+
$flexGrow: u ? 1 : 0,
|
|
963
773
|
"data-testid": "honey-grid-column",
|
|
964
774
|
...o,
|
|
965
|
-
children:
|
|
775
|
+
children: r
|
|
966
776
|
}
|
|
967
777
|
);
|
|
968
|
-
},
|
|
969
|
-
children:
|
|
778
|
+
}, Qt = (r, o, i) => typeof o == "function" ? o(r) : typeof r == "string" || typeof r == "number" ? r : o ? r[o] : i, Hr = ({
|
|
779
|
+
children: r,
|
|
970
780
|
isLoading: o = !1,
|
|
971
781
|
isError: i = !1,
|
|
972
|
-
isNoContent:
|
|
973
|
-
loadingContent:
|
|
974
|
-
errorContent:
|
|
975
|
-
noContent:
|
|
976
|
-
}) => i ?
|
|
782
|
+
isNoContent: c = !1,
|
|
783
|
+
loadingContent: u = null,
|
|
784
|
+
errorContent: s = null,
|
|
785
|
+
noContent: l = null
|
|
786
|
+
}) => i ? s : o ? u : c ? l : r, kr = xe(ot)`
|
|
977
787
|
overflow: hidden auto;
|
|
978
|
-
`,
|
|
979
|
-
children:
|
|
788
|
+
`, Mr = ({
|
|
789
|
+
children: r,
|
|
980
790
|
items: o,
|
|
981
791
|
itemKey: i,
|
|
982
|
-
isLoading:
|
|
983
|
-
loadingContent:
|
|
984
|
-
isError:
|
|
985
|
-
errorContent:
|
|
986
|
-
noContent:
|
|
987
|
-
...
|
|
988
|
-
},
|
|
989
|
-
|
|
792
|
+
isLoading: c,
|
|
793
|
+
loadingContent: u,
|
|
794
|
+
isError: s,
|
|
795
|
+
errorContent: l,
|
|
796
|
+
noContent: h,
|
|
797
|
+
...g
|
|
798
|
+
}, v) => /* @__PURE__ */ B.jsx(
|
|
799
|
+
kr,
|
|
990
800
|
{
|
|
991
|
-
ref:
|
|
801
|
+
ref: v,
|
|
992
802
|
role: "list",
|
|
993
|
-
"aria-busy":
|
|
803
|
+
"aria-busy": c,
|
|
994
804
|
"data-testid": "honey-list",
|
|
995
|
-
...
|
|
996
|
-
children: /* @__PURE__ */
|
|
997
|
-
|
|
805
|
+
...g,
|
|
806
|
+
children: /* @__PURE__ */ B.jsx(
|
|
807
|
+
Hr,
|
|
998
808
|
{
|
|
999
|
-
isLoading:
|
|
1000
|
-
loadingContent:
|
|
1001
|
-
isError:
|
|
1002
|
-
errorContent:
|
|
809
|
+
isLoading: c,
|
|
810
|
+
loadingContent: u,
|
|
811
|
+
isError: s,
|
|
812
|
+
errorContent: l,
|
|
1003
813
|
isNoContent: (o == null ? void 0 : o.length) === 0,
|
|
1004
|
-
noContent:
|
|
1005
|
-
children: o == null ? void 0 : o.map((
|
|
814
|
+
noContent: h,
|
|
815
|
+
children: o == null ? void 0 : o.map((x, y, O) => /* @__PURE__ */ B.jsx(ur, { children: r(x, y, O) }, String(Qt(x, i, y))))
|
|
1006
816
|
}
|
|
1007
817
|
)
|
|
1008
818
|
}
|
|
1009
|
-
),
|
|
1010
|
-
var
|
|
1011
|
-
function
|
|
1012
|
-
if (
|
|
1013
|
-
|
|
1014
|
-
var
|
|
1015
|
-
return
|
|
819
|
+
), ro = Dt(Mr);
|
|
820
|
+
var mt, zt;
|
|
821
|
+
function Nr() {
|
|
822
|
+
if (zt) return mt;
|
|
823
|
+
zt = 1;
|
|
824
|
+
var r = "Expected a function", o = NaN, i = "[object Symbol]", c = /^\s+|\s+$/g, u = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, l = /^0o[0-7]+$/i, h = parseInt, g = typeof be == "object" && be && be.Object === Object && be, v = typeof self == "object" && self && self.Object === Object && self, x = g || v || Function("return this")(), y = Object.prototype, O = y.toString, A = Math.max, H = Math.min, k = function() {
|
|
825
|
+
return x.Date.now();
|
|
1016
826
|
};
|
|
1017
|
-
function
|
|
1018
|
-
var
|
|
1019
|
-
if (typeof
|
|
1020
|
-
throw new TypeError(
|
|
1021
|
-
|
|
1022
|
-
function
|
|
1023
|
-
var
|
|
1024
|
-
return
|
|
1025
|
-
}
|
|
1026
|
-
function
|
|
1027
|
-
return
|
|
1028
|
-
}
|
|
1029
|
-
function
|
|
1030
|
-
var
|
|
1031
|
-
return
|
|
1032
|
-
}
|
|
1033
|
-
function
|
|
1034
|
-
var
|
|
1035
|
-
return
|
|
1036
|
-
}
|
|
1037
|
-
function
|
|
1038
|
-
var
|
|
1039
|
-
if (
|
|
1040
|
-
return
|
|
1041
|
-
|
|
1042
|
-
}
|
|
1043
|
-
function
|
|
1044
|
-
return
|
|
1045
|
-
}
|
|
1046
|
-
function
|
|
1047
|
-
|
|
1048
|
-
}
|
|
1049
|
-
function
|
|
1050
|
-
return
|
|
1051
|
-
}
|
|
1052
|
-
function
|
|
1053
|
-
var
|
|
1054
|
-
if (
|
|
1055
|
-
if (
|
|
1056
|
-
return
|
|
1057
|
-
if (
|
|
1058
|
-
return
|
|
827
|
+
function I(E, m, w) {
|
|
828
|
+
var D, Q, ue, q, z, X, ee = 0, ge = !1, le = !1, ye = !0;
|
|
829
|
+
if (typeof E != "function")
|
|
830
|
+
throw new TypeError(r);
|
|
831
|
+
m = Z(m) || 0, Y(w) && (ge = !!w.leading, le = "maxWait" in w, ue = le ? A(Z(w.maxWait) || 0, m) : ue, ye = "trailing" in w ? !!w.trailing : ye);
|
|
832
|
+
function Ee(R) {
|
|
833
|
+
var W = D, ne = Q;
|
|
834
|
+
return D = Q = void 0, ee = R, q = E.apply(ne, W), q;
|
|
835
|
+
}
|
|
836
|
+
function te(R) {
|
|
837
|
+
return ee = R, z = setTimeout(me, m), ge ? Ee(R) : q;
|
|
838
|
+
}
|
|
839
|
+
function Oe(R) {
|
|
840
|
+
var W = R - X, ne = R - ee, fe = m - W;
|
|
841
|
+
return le ? H(fe, ue - ne) : fe;
|
|
842
|
+
}
|
|
843
|
+
function J(R) {
|
|
844
|
+
var W = R - X, ne = R - ee;
|
|
845
|
+
return X === void 0 || W >= m || W < 0 || le && ne >= ue;
|
|
846
|
+
}
|
|
847
|
+
function me() {
|
|
848
|
+
var R = k();
|
|
849
|
+
if (J(R))
|
|
850
|
+
return S(R);
|
|
851
|
+
z = setTimeout(me, Oe(R));
|
|
852
|
+
}
|
|
853
|
+
function S(R) {
|
|
854
|
+
return z = void 0, ye && D ? Ee(R) : (D = Q = void 0, q);
|
|
855
|
+
}
|
|
856
|
+
function oe() {
|
|
857
|
+
z !== void 0 && clearTimeout(z), ee = 0, D = X = Q = z = void 0;
|
|
858
|
+
}
|
|
859
|
+
function je() {
|
|
860
|
+
return z === void 0 ? q : S(k());
|
|
861
|
+
}
|
|
862
|
+
function K() {
|
|
863
|
+
var R = k(), W = J(R);
|
|
864
|
+
if (D = arguments, Q = this, X = R, W) {
|
|
865
|
+
if (z === void 0)
|
|
866
|
+
return te(X);
|
|
867
|
+
if (le)
|
|
868
|
+
return z = setTimeout(me, m), Ee(X);
|
|
1059
869
|
}
|
|
1060
|
-
return
|
|
870
|
+
return z === void 0 && (z = setTimeout(me, m)), q;
|
|
1061
871
|
}
|
|
1062
|
-
return
|
|
872
|
+
return K.cancel = oe, K.flush = je, K;
|
|
1063
873
|
}
|
|
1064
|
-
function
|
|
1065
|
-
var
|
|
1066
|
-
return !!
|
|
874
|
+
function Y(E) {
|
|
875
|
+
var m = typeof E;
|
|
876
|
+
return !!E && (m == "object" || m == "function");
|
|
1067
877
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return !!
|
|
878
|
+
function V(E) {
|
|
879
|
+
return !!E && typeof E == "object";
|
|
1070
880
|
}
|
|
1071
|
-
function
|
|
1072
|
-
return typeof
|
|
881
|
+
function he(E) {
|
|
882
|
+
return typeof E == "symbol" || V(E) && O.call(E) == i;
|
|
1073
883
|
}
|
|
1074
|
-
function
|
|
1075
|
-
if (typeof
|
|
1076
|
-
return
|
|
1077
|
-
if (
|
|
884
|
+
function Z(E) {
|
|
885
|
+
if (typeof E == "number")
|
|
886
|
+
return E;
|
|
887
|
+
if (he(E))
|
|
1078
888
|
return o;
|
|
1079
|
-
if (
|
|
1080
|
-
var
|
|
1081
|
-
|
|
1082
|
-
}
|
|
1083
|
-
if (typeof
|
|
1084
|
-
return
|
|
1085
|
-
|
|
1086
|
-
var
|
|
1087
|
-
return
|
|
889
|
+
if (Y(E)) {
|
|
890
|
+
var m = typeof E.valueOf == "function" ? E.valueOf() : E;
|
|
891
|
+
E = Y(m) ? m + "" : m;
|
|
892
|
+
}
|
|
893
|
+
if (typeof E != "string")
|
|
894
|
+
return E === 0 ? E : +E;
|
|
895
|
+
E = E.replace(c, "");
|
|
896
|
+
var w = s.test(E);
|
|
897
|
+
return w || l.test(E) ? h(E.slice(2), w ? 2 : 8) : u.test(E) ? o : +E;
|
|
1088
898
|
}
|
|
1089
|
-
return
|
|
899
|
+
return mt = I, mt;
|
|
1090
900
|
}
|
|
1091
|
-
var
|
|
1092
|
-
const
|
|
1093
|
-
delay:
|
|
901
|
+
var Ir = Nr();
|
|
902
|
+
const zr = /* @__PURE__ */ qt(Ir), Wr = ({
|
|
903
|
+
delay: r = 0,
|
|
1094
904
|
overrideScreenState: o
|
|
1095
905
|
} = {}) => {
|
|
1096
|
-
const i =
|
|
1097
|
-
...
|
|
906
|
+
const i = Ut(), [c, u] = tt(() => ({
|
|
907
|
+
...kt(i.breakpoints),
|
|
1098
908
|
...o
|
|
1099
909
|
}));
|
|
1100
|
-
return
|
|
1101
|
-
const
|
|
1102
|
-
|
|
1103
|
-
},
|
|
1104
|
-
return
|
|
1105
|
-
|
|
910
|
+
return ce(() => {
|
|
911
|
+
const s = zr(() => {
|
|
912
|
+
u({ ...kt(i.breakpoints), ...o });
|
|
913
|
+
}, r);
|
|
914
|
+
return s(), window.addEventListener("resize", s), window.screen.orientation.addEventListener("change", s), () => {
|
|
915
|
+
s.cancel(), window.removeEventListener("resize", s), window.screen.orientation.removeEventListener("change", s);
|
|
1106
916
|
};
|
|
1107
|
-
}, []),
|
|
1108
|
-
},
|
|
1109
|
-
|
|
1110
|
-
const
|
|
1111
|
-
if (!
|
|
917
|
+
}, []), c;
|
|
918
|
+
}, en = (r, { onMoveDrag: o, onStartDrag: i, onEndDrag: c }, { isEnabled: u = !0 } = {}) => {
|
|
919
|
+
ce(() => {
|
|
920
|
+
const s = r.current;
|
|
921
|
+
if (!u || !s)
|
|
1112
922
|
return;
|
|
1113
|
-
const
|
|
1114
|
-
let
|
|
1115
|
-
const
|
|
1116
|
-
i && i(
|
|
1117
|
-
},
|
|
1118
|
-
if (
|
|
1119
|
-
const
|
|
1120
|
-
|
|
1121
|
-
deltaX:
|
|
1122
|
-
deltaY:
|
|
923
|
+
const l = o(s);
|
|
924
|
+
let h = !1, g = 0, v = 0, x = 0, y = 0, O = 0;
|
|
925
|
+
const A = (m, w) => {
|
|
926
|
+
i && i(s) === !1 || (h = !0, g = m, v = w, x = m, y = w, O = Date.now());
|
|
927
|
+
}, H = () => {
|
|
928
|
+
if (h && (h = !1, c)) {
|
|
929
|
+
const m = Date.now() - O, w = x - g, D = y - v;
|
|
930
|
+
c({
|
|
931
|
+
deltaX: w,
|
|
932
|
+
deltaY: D,
|
|
1123
933
|
get movingSpeedX() {
|
|
1124
|
-
return
|
|
934
|
+
return Pt(w, m);
|
|
1125
935
|
},
|
|
1126
936
|
get movingSpeedY() {
|
|
1127
|
-
return
|
|
937
|
+
return Pt(D, m);
|
|
1128
938
|
}
|
|
1129
|
-
},
|
|
939
|
+
}, s);
|
|
1130
940
|
}
|
|
1131
|
-
},
|
|
1132
|
-
|
|
1133
|
-
},
|
|
1134
|
-
if (!
|
|
941
|
+
}, k = () => {
|
|
942
|
+
H(), window.removeEventListener("mousemove", Z), window.removeEventListener("mouseup", k);
|
|
943
|
+
}, I = (m, w) => {
|
|
944
|
+
if (!h)
|
|
1135
945
|
return;
|
|
1136
|
-
if (
|
|
946
|
+
if (l({
|
|
1137
947
|
get deltaX() {
|
|
1138
|
-
return
|
|
948
|
+
return m - x;
|
|
1139
949
|
},
|
|
1140
950
|
get deltaY() {
|
|
1141
|
-
return
|
|
951
|
+
return w - y;
|
|
1142
952
|
},
|
|
1143
953
|
get distanceX() {
|
|
1144
|
-
return
|
|
954
|
+
return m - g;
|
|
1145
955
|
},
|
|
1146
956
|
get distanceY() {
|
|
1147
|
-
return
|
|
957
|
+
return w - v;
|
|
1148
958
|
},
|
|
1149
959
|
get euclideanDistance() {
|
|
1150
|
-
return
|
|
960
|
+
return gr(g, v, m, w);
|
|
1151
961
|
}
|
|
1152
962
|
}) === !1) {
|
|
1153
|
-
|
|
963
|
+
x = m, y = w, k();
|
|
1154
964
|
return;
|
|
1155
965
|
}
|
|
1156
|
-
|
|
1157
|
-
},
|
|
1158
|
-
|
|
1159
|
-
const
|
|
1160
|
-
|
|
1161
|
-
},
|
|
1162
|
-
const
|
|
1163
|
-
|
|
1164
|
-
},
|
|
1165
|
-
|
|
1166
|
-
},
|
|
1167
|
-
|
|
1168
|
-
},
|
|
1169
|
-
|
|
966
|
+
x = m, y = w;
|
|
967
|
+
}, Y = (m) => {
|
|
968
|
+
m.stopPropagation();
|
|
969
|
+
const w = m.touches[0];
|
|
970
|
+
A(w.clientX, w.clientY);
|
|
971
|
+
}, V = (m) => {
|
|
972
|
+
const w = m.touches[0];
|
|
973
|
+
I(w.clientX, w.clientY);
|
|
974
|
+
}, he = () => {
|
|
975
|
+
h = !1;
|
|
976
|
+
}, Z = (m) => {
|
|
977
|
+
I(m.clientX, m.clientY);
|
|
978
|
+
}, E = (m) => {
|
|
979
|
+
m.stopPropagation(), A(m.clientX, m.clientY), window.addEventListener("mousemove", Z), window.addEventListener("mouseup", k);
|
|
1170
980
|
};
|
|
1171
|
-
return
|
|
981
|
+
return s.addEventListener("touchstart", Y, {
|
|
1172
982
|
passive: !0
|
|
1173
|
-
}),
|
|
983
|
+
}), s.addEventListener("touchmove", V, {
|
|
1174
984
|
passive: !0
|
|
1175
|
-
}),
|
|
1176
|
-
|
|
985
|
+
}), s.addEventListener("touchend", H), s.addEventListener("touchcancel", he), s.addEventListener("mousedown", E), () => {
|
|
986
|
+
s.removeEventListener("touchstart", Y), s.removeEventListener("touchmove", V), s.removeEventListener("touchend", H), s.removeEventListener("touchcancel", he), s.removeEventListener("mousedown", E);
|
|
1177
987
|
};
|
|
1178
|
-
}, [
|
|
1179
|
-
}, oo = (
|
|
1180
|
-
const i =
|
|
1181
|
-
if (i.current =
|
|
1182
|
-
if (
|
|
1183
|
-
const
|
|
988
|
+
}, [u, i, o, c]);
|
|
989
|
+
}, oo = (r, o) => {
|
|
990
|
+
const i = Se(null), c = Se(null), u = Se(null), s = (g, v) => {
|
|
991
|
+
if (i.current = g, u.current = v, !!g)
|
|
992
|
+
if (v) {
|
|
993
|
+
const x = ([y]) => {
|
|
1184
994
|
y.isIntersecting && o();
|
|
1185
995
|
};
|
|
1186
|
-
|
|
1187
|
-
root:
|
|
996
|
+
c.current = new IntersectionObserver(x, {
|
|
997
|
+
root: g,
|
|
1188
998
|
rootMargin: "0px",
|
|
1189
999
|
threshold: 0
|
|
1190
|
-
}),
|
|
1191
|
-
} else
|
|
1192
|
-
},
|
|
1193
|
-
(
|
|
1194
|
-
|
|
1000
|
+
}), c.current.observe(v);
|
|
1001
|
+
} else c.current && (c.current.disconnect(), c.current = null);
|
|
1002
|
+
}, l = Ce(
|
|
1003
|
+
(g) => {
|
|
1004
|
+
s(g, u.current);
|
|
1195
1005
|
},
|
|
1196
1006
|
[]
|
|
1197
|
-
),
|
|
1198
|
-
(
|
|
1199
|
-
|
|
1007
|
+
), h = Ce(
|
|
1008
|
+
(g) => {
|
|
1009
|
+
s(i.current, g);
|
|
1200
1010
|
},
|
|
1201
1011
|
[i, o]
|
|
1202
1012
|
);
|
|
1203
1013
|
return {
|
|
1204
|
-
scrollableContainerRef:
|
|
1205
|
-
targetRef:
|
|
1014
|
+
scrollableContainerRef: l,
|
|
1015
|
+
targetRef: h
|
|
1206
1016
|
};
|
|
1207
|
-
}, io = (
|
|
1017
|
+
}, io = (r, {
|
|
1208
1018
|
availableWindowPercentage: o = 0,
|
|
1209
1019
|
onStartDrag: i,
|
|
1210
|
-
onEndDrag:
|
|
1020
|
+
onEndDrag: c
|
|
1211
1021
|
} = {}) => {
|
|
1212
|
-
const
|
|
1213
|
-
(
|
|
1214
|
-
const
|
|
1215
|
-
if (
|
|
1022
|
+
const u = Ce(
|
|
1023
|
+
(s) => ({ deltaX: l, deltaY: h }) => {
|
|
1024
|
+
const g = s.scrollWidth - s.clientWidth, v = s.scrollHeight - s.clientHeight;
|
|
1025
|
+
if (g <= 0 && v <= 0)
|
|
1216
1026
|
return;
|
|
1217
|
-
const
|
|
1218
|
-
|
|
1027
|
+
const x = $t(
|
|
1028
|
+
s.clientWidth,
|
|
1219
1029
|
o
|
|
1220
|
-
), y =
|
|
1221
|
-
|
|
1030
|
+
), y = $t(
|
|
1031
|
+
s.clientHeight,
|
|
1222
1032
|
o
|
|
1223
|
-
), { translateX:
|
|
1224
|
-
let
|
|
1225
|
-
(
|
|
1033
|
+
), { translateX: O, translateY: A } = Gt(s), H = O + l, k = A + h;
|
|
1034
|
+
let I = !1, Y = O, V = A;
|
|
1035
|
+
(l < 0 && H >= (g + x) * -1 || l > 0 && H <= x) && (Y = H, I = !0), (h < 0 && k >= (v + y) * -1 || h > 0 && k <= y) && (V = k, I = !0), I && (s.style.transform = `translate(${Y}px, ${V}px)`);
|
|
1226
1036
|
},
|
|
1227
1037
|
[o]
|
|
1228
1038
|
);
|
|
1229
|
-
|
|
1039
|
+
en(r, {
|
|
1230
1040
|
onStartDrag: i,
|
|
1231
|
-
onMoveDrag:
|
|
1232
|
-
onEndDrag:
|
|
1233
|
-
}),
|
|
1234
|
-
const
|
|
1235
|
-
var
|
|
1236
|
-
(
|
|
1041
|
+
onMoveDrag: u,
|
|
1042
|
+
onEndDrag: c
|
|
1043
|
+
}), ce(() => {
|
|
1044
|
+
const s = () => {
|
|
1045
|
+
var l;
|
|
1046
|
+
(l = r.current) == null || l.style.removeProperty("transform");
|
|
1237
1047
|
};
|
|
1238
|
-
return window.addEventListener("resize",
|
|
1239
|
-
window.removeEventListener("resize",
|
|
1048
|
+
return window.addEventListener("resize", s), () => {
|
|
1049
|
+
window.removeEventListener("resize", s);
|
|
1240
1050
|
};
|
|
1241
1051
|
}, []);
|
|
1242
|
-
}, ao = (
|
|
1243
|
-
|
|
1052
|
+
}, ao = (r, o, { isEnabled: i = !0 } = {}) => {
|
|
1053
|
+
ce(() => {
|
|
1244
1054
|
if (!i)
|
|
1245
1055
|
return;
|
|
1246
|
-
const
|
|
1247
|
-
const
|
|
1248
|
-
o.includes(
|
|
1056
|
+
const c = (u) => {
|
|
1057
|
+
const s = u.code;
|
|
1058
|
+
o.includes(s) && (u.preventDefault(), r(s, u));
|
|
1249
1059
|
};
|
|
1250
|
-
return document.addEventListener("keyup",
|
|
1251
|
-
document.removeEventListener("keyup",
|
|
1060
|
+
return document.addEventListener("keyup", c), () => {
|
|
1061
|
+
document.removeEventListener("keyup", c);
|
|
1252
1062
|
};
|
|
1253
|
-
}, [
|
|
1254
|
-
},
|
|
1255
|
-
const
|
|
1256
|
-
if (!
|
|
1063
|
+
}, [r, i]);
|
|
1064
|
+
}, tn = Bt(void 0), nn = () => {
|
|
1065
|
+
const r = vt(tn);
|
|
1066
|
+
if (!r)
|
|
1257
1067
|
throw new Error(
|
|
1258
1068
|
"The `useHoneyLayout()` hook must be used inside <HoneyLayoutProvider/> component!"
|
|
1259
1069
|
);
|
|
1260
|
-
return
|
|
1261
|
-
},
|
|
1262
|
-
const { registerOverlay: i, unregisterOverlay:
|
|
1263
|
-
return
|
|
1264
|
-
if (!
|
|
1070
|
+
return r;
|
|
1071
|
+
}, Ur = (r, o) => {
|
|
1072
|
+
const { registerOverlay: i, unregisterOverlay: c } = nn(), u = Se(null);
|
|
1073
|
+
return ce(() => {
|
|
1074
|
+
if (!r)
|
|
1265
1075
|
return;
|
|
1266
|
-
const
|
|
1267
|
-
return
|
|
1268
|
-
|
|
1076
|
+
const s = i(o);
|
|
1077
|
+
return u.current = s, () => {
|
|
1078
|
+
u.current = null, c(s.id);
|
|
1269
1079
|
};
|
|
1270
|
-
}, [
|
|
1271
|
-
}, so = (
|
|
1272
|
-
const { overlays: i } =
|
|
1273
|
-
() => i.find((
|
|
1274
|
-
[i,
|
|
1080
|
+
}, [r, o.onKeyUp]), u.current;
|
|
1081
|
+
}, so = (r, { onKeyUp: o } = {}) => {
|
|
1082
|
+
const { overlays: i } = nn(), c = et(
|
|
1083
|
+
() => i.find((u) => u.id === r),
|
|
1084
|
+
[i, r]
|
|
1275
1085
|
);
|
|
1276
|
-
return
|
|
1277
|
-
if (!(!
|
|
1278
|
-
return
|
|
1279
|
-
|
|
1086
|
+
return ce(() => {
|
|
1087
|
+
if (!(!c || !o))
|
|
1088
|
+
return c.addListener("keyup", o), () => {
|
|
1089
|
+
c.removeListener("keyup", o);
|
|
1280
1090
|
};
|
|
1281
|
-
}, [
|
|
1282
|
-
},
|
|
1091
|
+
}, [c, o]), c;
|
|
1092
|
+
}, rn = xe(rt)`
|
|
1283
1093
|
overflow: hidden;
|
|
1284
|
-
`,
|
|
1285
|
-
children:
|
|
1094
|
+
`, Yr = xe.div``, Br = ({
|
|
1095
|
+
children: r,
|
|
1286
1096
|
items: o,
|
|
1287
1097
|
itemKey: i,
|
|
1288
|
-
activeItemIndex:
|
|
1289
|
-
direction:
|
|
1290
|
-
...
|
|
1098
|
+
activeItemIndex: c,
|
|
1099
|
+
direction: u = "vertical",
|
|
1100
|
+
...s
|
|
1291
1101
|
}) => {
|
|
1292
|
-
const [
|
|
1293
|
-
|
|
1294
|
-
const
|
|
1295
|
-
const { translateX:
|
|
1296
|
-
|
|
1102
|
+
const [l, h] = tt(o), g = Se(null);
|
|
1103
|
+
Se(-1), l == null || l.length;
|
|
1104
|
+
const v = Ce((x) => (x.parentElement.clientHeight / 2, ({ deltaX: O, deltaY: A }) => {
|
|
1105
|
+
const { translateX: H, translateY: k } = Gt(x), I = u === "horizontal" ? H + O : 0, Y = u === "vertical" ? k + A : 0;
|
|
1106
|
+
x.style.transform = `translate(${I}px, ${Y}px)`;
|
|
1297
1107
|
}), []);
|
|
1298
|
-
return
|
|
1299
|
-
onMoveDrag:
|
|
1300
|
-
}),
|
|
1301
|
-
}, []),
|
|
1302
|
-
const
|
|
1303
|
-
if (!
|
|
1108
|
+
return en(g, {
|
|
1109
|
+
onMoveDrag: v
|
|
1110
|
+
}), ce(() => {
|
|
1111
|
+
}, []), ce(() => {
|
|
1112
|
+
const x = g.current;
|
|
1113
|
+
if (!x)
|
|
1304
1114
|
return;
|
|
1305
|
-
const y =
|
|
1306
|
-
|
|
1307
|
-
}, []), /* @__PURE__ */
|
|
1308
|
-
const
|
|
1309
|
-
return /* @__PURE__ */
|
|
1310
|
-
|
|
1115
|
+
const y = x.children[c];
|
|
1116
|
+
x.parentElement.clientHeight / 2, y.offsetTop + y.clientHeight / 2;
|
|
1117
|
+
}, []), /* @__PURE__ */ B.jsx(rt, { $overflow: "hidden", "data-testid": "honey-looping-list-container", ...s, children: /* @__PURE__ */ B.jsx(rn, { ref: g, "data-testid": "honey-looping-list", children: l == null ? void 0 : l.map((x, y, O) => {
|
|
1118
|
+
const A = Qt(x, i, y);
|
|
1119
|
+
return /* @__PURE__ */ B.jsx(
|
|
1120
|
+
Yr,
|
|
1311
1121
|
{
|
|
1312
|
-
"aria-current": y ===
|
|
1313
|
-
children:
|
|
1122
|
+
"aria-current": y === c,
|
|
1123
|
+
children: r(x, y, O)
|
|
1314
1124
|
},
|
|
1315
|
-
String(
|
|
1125
|
+
String(A)
|
|
1316
1126
|
);
|
|
1317
1127
|
}) }) });
|
|
1318
|
-
},
|
|
1128
|
+
}, Dr = xe.div`
|
|
1319
1129
|
padding: 8px;
|
|
1320
1130
|
|
|
1321
1131
|
border-radius: 4px;
|
|
1322
|
-
border: 1px solid ${
|
|
1132
|
+
border: 1px solid ${Qe("neutral.charcoalDark")};
|
|
1323
1133
|
|
|
1324
|
-
${
|
|
1134
|
+
${rn} {
|
|
1325
1135
|
padding: 0;
|
|
1326
1136
|
list-style-type: none;
|
|
1327
1137
|
|
|
@@ -1337,533 +1147,533 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1337
1147
|
font-weight: bold;
|
|
1338
1148
|
font-size: 1.3rem;
|
|
1339
1149
|
|
|
1340
|
-
background-color: ${
|
|
1150
|
+
background-color: ${Qe("neutral.charcoalDark")};
|
|
1341
1151
|
}
|
|
1342
1152
|
}
|
|
1343
1153
|
}
|
|
1344
1154
|
`, co = () => {
|
|
1345
|
-
const
|
|
1346
|
-
return /* @__PURE__ */
|
|
1347
|
-
|
|
1155
|
+
const r = Array.from(Array(12)).map((o, i) => i + 1);
|
|
1156
|
+
return /* @__PURE__ */ B.jsx(Dr, { children: /* @__PURE__ */ B.jsx(
|
|
1157
|
+
Br,
|
|
1348
1158
|
{
|
|
1349
|
-
items:
|
|
1159
|
+
items: r,
|
|
1350
1160
|
itemKey: (o) => o.toString(),
|
|
1351
|
-
activeItemIndex: Math.floor(
|
|
1161
|
+
activeItemIndex: Math.floor(r.length / 2),
|
|
1352
1162
|
$maxHeight: "250px",
|
|
1353
1163
|
children: (o) => o
|
|
1354
1164
|
}
|
|
1355
1165
|
) });
|
|
1356
1166
|
}, uo = ({
|
|
1357
|
-
children:
|
|
1167
|
+
children: r,
|
|
1358
1168
|
isMount: o,
|
|
1359
1169
|
unmountDelay: i,
|
|
1360
|
-
isAlwaysMounted:
|
|
1361
|
-
isKeepAfterMount:
|
|
1170
|
+
isAlwaysMounted: c = !1,
|
|
1171
|
+
isKeepAfterMount: u = !1
|
|
1362
1172
|
}) => {
|
|
1363
|
-
const [
|
|
1364
|
-
return
|
|
1365
|
-
if (!(!o ||
|
|
1366
|
-
return clearTimeout(
|
|
1367
|
-
|
|
1173
|
+
const [s, l] = tt(c || o), h = Se(void 0);
|
|
1174
|
+
return ce(() => {
|
|
1175
|
+
if (!(!o || c))
|
|
1176
|
+
return clearTimeout(h.current), l(!0), () => {
|
|
1177
|
+
u || (h.current = setTimeout(() => l(!1), i));
|
|
1368
1178
|
};
|
|
1369
|
-
}, [o]),
|
|
1179
|
+
}, [o]), s ? r : null;
|
|
1370
1180
|
}, lo = ({
|
|
1371
|
-
children:
|
|
1181
|
+
children: r,
|
|
1372
1182
|
isActive: o,
|
|
1373
1183
|
overlayId: i,
|
|
1374
|
-
onDeactivate:
|
|
1375
|
-
...
|
|
1184
|
+
onDeactivate: c,
|
|
1185
|
+
...u
|
|
1376
1186
|
}) => {
|
|
1377
|
-
const
|
|
1187
|
+
const s = Ur(o, {
|
|
1378
1188
|
id: i,
|
|
1379
|
-
onKeyUp:
|
|
1380
|
-
(
|
|
1381
|
-
|
|
1189
|
+
onKeyUp: Ce(
|
|
1190
|
+
(l) => {
|
|
1191
|
+
l === "Escape" && c();
|
|
1382
1192
|
},
|
|
1383
|
-
[
|
|
1193
|
+
[c]
|
|
1384
1194
|
)
|
|
1385
1195
|
});
|
|
1386
|
-
return /* @__PURE__ */
|
|
1387
|
-
overlay:
|
|
1388
|
-
deactivateOverlay:
|
|
1389
|
-
}) :
|
|
1390
|
-
},
|
|
1391
|
-
const [
|
|
1392
|
-
|
|
1393
|
-
if (!
|
|
1196
|
+
return /* @__PURE__ */ B.jsx(ot, { ref: s == null ? void 0 : s.setContainerRef, inert: !o, ...u, children: typeof r == "function" ? r({
|
|
1197
|
+
overlay: s,
|
|
1198
|
+
deactivateOverlay: c
|
|
1199
|
+
}) : r });
|
|
1200
|
+
}, Gr = () => {
|
|
1201
|
+
const [r, o] = tt([]);
|
|
1202
|
+
ce(() => {
|
|
1203
|
+
if (!r.length)
|
|
1394
1204
|
return;
|
|
1395
|
-
const
|
|
1396
|
-
|
|
1205
|
+
const u = (s) => {
|
|
1206
|
+
r[r.length - 1].notifyListeners("keyup", s.code, s);
|
|
1397
1207
|
};
|
|
1398
|
-
return document.addEventListener("keyup",
|
|
1399
|
-
document.removeEventListener("keyup",
|
|
1208
|
+
return document.addEventListener("keyup", u), () => {
|
|
1209
|
+
document.removeEventListener("keyup", u);
|
|
1400
1210
|
};
|
|
1401
|
-
}, [
|
|
1402
|
-
const i =
|
|
1403
|
-
const
|
|
1211
|
+
}, [r]);
|
|
1212
|
+
const i = Ce((u) => {
|
|
1213
|
+
const s = u.id ?? xr(), l = [["keyup", u.onKeyUp]], h = {
|
|
1404
1214
|
current: null
|
|
1405
|
-
},
|
|
1406
|
-
containerRef:
|
|
1407
|
-
id:
|
|
1408
|
-
setContainerRef: (
|
|
1409
|
-
|
|
1215
|
+
}, g = {
|
|
1216
|
+
containerRef: h,
|
|
1217
|
+
id: s,
|
|
1218
|
+
setContainerRef: (v) => {
|
|
1219
|
+
h.current = v;
|
|
1410
1220
|
},
|
|
1411
|
-
addListener: (
|
|
1412
|
-
|
|
1221
|
+
addListener: (v, x) => {
|
|
1222
|
+
l.push([v, x]);
|
|
1413
1223
|
},
|
|
1414
|
-
removeListener: (
|
|
1415
|
-
const y =
|
|
1416
|
-
([
|
|
1224
|
+
removeListener: (v, x) => {
|
|
1225
|
+
const y = l.findIndex(
|
|
1226
|
+
([O, A]) => O === v && A === x
|
|
1417
1227
|
);
|
|
1418
|
-
y !== -1 &&
|
|
1228
|
+
y !== -1 && l.splice(y, 1);
|
|
1419
1229
|
},
|
|
1420
|
-
notifyListeners: (
|
|
1421
|
-
var
|
|
1422
|
-
(!((
|
|
1423
|
-
|
|
1230
|
+
notifyListeners: (v, x, y) => {
|
|
1231
|
+
var O;
|
|
1232
|
+
(!((O = u.listenKeys) != null && O.length) || u.listenKeys.includes(x)) && (y.preventDefault(), l.forEach(([A, H]) => {
|
|
1233
|
+
A === v && H(x, g, y);
|
|
1424
1234
|
}));
|
|
1425
1235
|
}
|
|
1426
1236
|
};
|
|
1427
|
-
return o((
|
|
1428
|
-
}, []),
|
|
1237
|
+
return o((v) => [...v, g]), g;
|
|
1238
|
+
}, []), c = Ce((u) => {
|
|
1429
1239
|
o(
|
|
1430
|
-
(
|
|
1240
|
+
(s) => s.filter((l) => l.id !== u)
|
|
1431
1241
|
);
|
|
1432
1242
|
}, []);
|
|
1433
1243
|
return {
|
|
1434
|
-
overlays:
|
|
1244
|
+
overlays: r,
|
|
1435
1245
|
registerOverlay: i,
|
|
1436
|
-
unregisterOverlay:
|
|
1246
|
+
unregisterOverlay: c
|
|
1437
1247
|
};
|
|
1438
|
-
},
|
|
1439
|
-
children:
|
|
1248
|
+
}, Xr = ({
|
|
1249
|
+
children: r,
|
|
1440
1250
|
mediaQueryOptions: o
|
|
1441
1251
|
}) => {
|
|
1442
|
-
const i =
|
|
1252
|
+
const i = Ut(), c = Wr(o), { overlays: u, registerOverlay: s, unregisterOverlay: l } = Gr(), h = et(
|
|
1443
1253
|
() => ({
|
|
1444
1254
|
theme: i,
|
|
1445
|
-
screenState:
|
|
1446
|
-
overlays:
|
|
1447
|
-
registerOverlay:
|
|
1448
|
-
unregisterOverlay:
|
|
1449
|
-
resolveSpacing: (...
|
|
1450
|
-
resolveColor: (...
|
|
1451
|
-
resolveFont: (...
|
|
1452
|
-
resolveDimension: (...
|
|
1255
|
+
screenState: c,
|
|
1256
|
+
overlays: u,
|
|
1257
|
+
registerOverlay: s,
|
|
1258
|
+
unregisterOverlay: l,
|
|
1259
|
+
resolveSpacing: (...g) => nt(...g)({ theme: i }),
|
|
1260
|
+
resolveColor: (...g) => Qe(...g)({ theme: i }),
|
|
1261
|
+
resolveFont: (...g) => Er(...g)({ theme: i }),
|
|
1262
|
+
resolveDimension: (...g) => _r(...g)({ theme: i })
|
|
1453
1263
|
}),
|
|
1454
|
-
[i,
|
|
1264
|
+
[i, c, u, s, l]
|
|
1455
1265
|
);
|
|
1456
|
-
return /* @__PURE__ */
|
|
1266
|
+
return /* @__PURE__ */ B.jsx(tn.Provider, { value: h, children: r });
|
|
1457
1267
|
}, fo = ({
|
|
1458
|
-
theme:
|
|
1268
|
+
theme: r,
|
|
1459
1269
|
...o
|
|
1460
|
-
}) => /* @__PURE__ */
|
|
1461
|
-
var
|
|
1462
|
-
|
|
1463
|
-
var
|
|
1464
|
-
function
|
|
1465
|
-
return
|
|
1466
|
-
var i = 200,
|
|
1467
|
-
|
|
1468
|
-
var
|
|
1270
|
+
}) => /* @__PURE__ */ B.jsx(Yt, { theme: r, children: /* @__PURE__ */ B.jsx(Xr, { ...o }) });
|
|
1271
|
+
var Ue = { exports: {} };
|
|
1272
|
+
Ue.exports;
|
|
1273
|
+
var Wt;
|
|
1274
|
+
function Fr() {
|
|
1275
|
+
return Wt || (Wt = 1, function(r, o) {
|
|
1276
|
+
var i = 200, c = "__lodash_hash_undefined__", u = 800, s = 16, l = 9007199254740991, h = "[object Arguments]", g = "[object Array]", v = "[object AsyncFunction]", x = "[object Boolean]", y = "[object Date]", O = "[object Error]", A = "[object Function]", H = "[object GeneratorFunction]", k = "[object Map]", I = "[object Number]", Y = "[object Null]", V = "[object Object]", he = "[object Proxy]", Z = "[object RegExp]", E = "[object Set]", m = "[object String]", w = "[object Undefined]", D = "[object WeakMap]", Q = "[object ArrayBuffer]", ue = "[object DataView]", q = "[object Float32Array]", z = "[object Float64Array]", X = "[object Int8Array]", ee = "[object Int16Array]", ge = "[object Int32Array]", le = "[object Uint8Array]", ye = "[object Uint8ClampedArray]", Ee = "[object Uint16Array]", te = "[object Uint32Array]", Oe = /[\\^$.*+?()[\]{}|]/g, J = /^\[object .+?Constructor\]$/, me = /^(?:0|[1-9]\d*)$/, S = {};
|
|
1277
|
+
S[q] = S[z] = S[X] = S[ee] = S[ge] = S[le] = S[ye] = S[Ee] = S[te] = !0, S[h] = S[g] = S[Q] = S[x] = S[ue] = S[y] = S[O] = S[A] = S[k] = S[I] = S[V] = S[Z] = S[E] = S[m] = S[D] = !1;
|
|
1278
|
+
var oe = typeof be == "object" && be && be.Object === Object && be, je = typeof self == "object" && self && self.Object === Object && self, K = oe || je || Function("return this")(), R = o && !o.nodeType && o, W = R && !0 && r && !r.nodeType && r, ne = W && W.exports === R, fe = ne && oe.process, $e = function() {
|
|
1469
1279
|
try {
|
|
1470
|
-
var e =
|
|
1471
|
-
return e ||
|
|
1280
|
+
var e = W && W.require && W.require("util").types;
|
|
1281
|
+
return e || fe && fe.binding && fe.binding("util");
|
|
1472
1282
|
} catch {
|
|
1473
1283
|
}
|
|
1474
|
-
}(),
|
|
1475
|
-
function
|
|
1284
|
+
}(), Ae = $e && $e.isTypedArray;
|
|
1285
|
+
function Ye(e, n, a) {
|
|
1476
1286
|
switch (a.length) {
|
|
1477
1287
|
case 0:
|
|
1478
|
-
return e.call(
|
|
1288
|
+
return e.call(n);
|
|
1479
1289
|
case 1:
|
|
1480
|
-
return e.call(
|
|
1290
|
+
return e.call(n, a[0]);
|
|
1481
1291
|
case 2:
|
|
1482
|
-
return e.call(
|
|
1292
|
+
return e.call(n, a[0], a[1]);
|
|
1483
1293
|
case 3:
|
|
1484
|
-
return e.call(
|
|
1294
|
+
return e.call(n, a[0], a[1], a[2]);
|
|
1485
1295
|
}
|
|
1486
|
-
return e.apply(
|
|
1296
|
+
return e.apply(n, a);
|
|
1487
1297
|
}
|
|
1488
|
-
function
|
|
1489
|
-
for (var a = -1,
|
|
1490
|
-
|
|
1491
|
-
return
|
|
1298
|
+
function He(e, n) {
|
|
1299
|
+
for (var a = -1, p = Array(e); ++a < e; )
|
|
1300
|
+
p[a] = n(a);
|
|
1301
|
+
return p;
|
|
1492
1302
|
}
|
|
1493
|
-
function
|
|
1494
|
-
return function(
|
|
1495
|
-
return e(
|
|
1303
|
+
function ke(e) {
|
|
1304
|
+
return function(n) {
|
|
1305
|
+
return e(n);
|
|
1496
1306
|
};
|
|
1497
1307
|
}
|
|
1498
|
-
function
|
|
1499
|
-
return e == null ? void 0 : e[
|
|
1308
|
+
function it(e, n) {
|
|
1309
|
+
return e == null ? void 0 : e[n];
|
|
1500
1310
|
}
|
|
1501
|
-
function
|
|
1311
|
+
function Be(e, n) {
|
|
1502
1312
|
return function(a) {
|
|
1503
|
-
return e(
|
|
1313
|
+
return e(n(a));
|
|
1504
1314
|
};
|
|
1505
1315
|
}
|
|
1506
|
-
var
|
|
1507
|
-
var e = /[^.]+$/.exec(
|
|
1316
|
+
var De = Array.prototype, Ge = Function.prototype, _e = Object.prototype, t = K["__core-js_shared__"], d = Ge.toString, f = _e.hasOwnProperty, _ = function() {
|
|
1317
|
+
var e = /[^.]+$/.exec(t && t.keys && t.keys.IE_PROTO || "");
|
|
1508
1318
|
return e ? "Symbol(src)_1." + e : "";
|
|
1509
|
-
}(),
|
|
1510
|
-
"^" +
|
|
1511
|
-
),
|
|
1512
|
-
|
|
1513
|
-
var
|
|
1319
|
+
}(), M = _e.toString, L = d.call(Object), b = RegExp(
|
|
1320
|
+
"^" + d.call(f).replace(Oe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1321
|
+
), G = ne ? K.Buffer : void 0, de = K.Symbol, N = K.Uint8Array;
|
|
1322
|
+
G && G.allocUnsafe;
|
|
1323
|
+
var ie = Be(Object.getPrototypeOf, Object), ve = Object.create, ae = _e.propertyIsEnumerable, Re = De.splice, U = de ? de.toStringTag : void 0, Xe = function() {
|
|
1514
1324
|
try {
|
|
1515
|
-
var e =
|
|
1325
|
+
var e = ct(Object, "defineProperty");
|
|
1516
1326
|
return e({}, "", {}), e;
|
|
1517
1327
|
} catch {
|
|
1518
1328
|
}
|
|
1519
|
-
}(),
|
|
1329
|
+
}(), on = G ? G.isBuffer : void 0, bt = Math.max, an = Date.now, xt = ct(K, "Map"), Me = ct(Object, "create"), sn = /* @__PURE__ */ function() {
|
|
1520
1330
|
function e() {
|
|
1521
1331
|
}
|
|
1522
|
-
return function(
|
|
1523
|
-
if (!
|
|
1332
|
+
return function(n) {
|
|
1333
|
+
if (!we(n))
|
|
1524
1334
|
return {};
|
|
1525
|
-
if (
|
|
1526
|
-
return
|
|
1527
|
-
e.prototype =
|
|
1335
|
+
if (ve)
|
|
1336
|
+
return ve(n);
|
|
1337
|
+
e.prototype = n;
|
|
1528
1338
|
var a = new e();
|
|
1529
1339
|
return e.prototype = void 0, a;
|
|
1530
1340
|
};
|
|
1531
1341
|
}();
|
|
1532
|
-
function
|
|
1533
|
-
var
|
|
1534
|
-
for (this.clear(); ++
|
|
1535
|
-
var
|
|
1536
|
-
this.set(
|
|
1342
|
+
function Te(e) {
|
|
1343
|
+
var n = -1, a = e == null ? 0 : e.length;
|
|
1344
|
+
for (this.clear(); ++n < a; ) {
|
|
1345
|
+
var p = e[n];
|
|
1346
|
+
this.set(p[0], p[1]);
|
|
1537
1347
|
}
|
|
1538
1348
|
}
|
|
1539
|
-
function
|
|
1540
|
-
this.__data__ =
|
|
1349
|
+
function cn() {
|
|
1350
|
+
this.__data__ = Me ? Me(null) : {}, this.size = 0;
|
|
1541
1351
|
}
|
|
1542
|
-
function
|
|
1543
|
-
var
|
|
1544
|
-
return this.size -=
|
|
1545
|
-
}
|
|
1546
|
-
function
|
|
1547
|
-
var
|
|
1548
|
-
if (
|
|
1549
|
-
var a =
|
|
1550
|
-
return a ===
|
|
1352
|
+
function un(e) {
|
|
1353
|
+
var n = this.has(e) && delete this.__data__[e];
|
|
1354
|
+
return this.size -= n ? 1 : 0, n;
|
|
1355
|
+
}
|
|
1356
|
+
function ln(e) {
|
|
1357
|
+
var n = this.__data__;
|
|
1358
|
+
if (Me) {
|
|
1359
|
+
var a = n[e];
|
|
1360
|
+
return a === c ? void 0 : a;
|
|
1551
1361
|
}
|
|
1552
|
-
return
|
|
1362
|
+
return f.call(n, e) ? n[e] : void 0;
|
|
1553
1363
|
}
|
|
1554
|
-
function
|
|
1555
|
-
var
|
|
1556
|
-
return
|
|
1364
|
+
function fn(e) {
|
|
1365
|
+
var n = this.__data__;
|
|
1366
|
+
return Me ? n[e] !== void 0 : f.call(n, e);
|
|
1557
1367
|
}
|
|
1558
|
-
function
|
|
1368
|
+
function dn(e, n) {
|
|
1559
1369
|
var a = this.__data__;
|
|
1560
|
-
return this.size += this.has(e) ? 0 : 1, a[e] =
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
function
|
|
1564
|
-
var
|
|
1565
|
-
for (this.clear(); ++
|
|
1566
|
-
var
|
|
1567
|
-
this.set(
|
|
1370
|
+
return this.size += this.has(e) ? 0 : 1, a[e] = Me && n === void 0 ? c : n, this;
|
|
1371
|
+
}
|
|
1372
|
+
Te.prototype.clear = cn, Te.prototype.delete = un, Te.prototype.get = ln, Te.prototype.has = fn, Te.prototype.set = dn;
|
|
1373
|
+
function pe(e) {
|
|
1374
|
+
var n = -1, a = e == null ? 0 : e.length;
|
|
1375
|
+
for (this.clear(); ++n < a; ) {
|
|
1376
|
+
var p = e[n];
|
|
1377
|
+
this.set(p[0], p[1]);
|
|
1568
1378
|
}
|
|
1569
1379
|
}
|
|
1570
|
-
function
|
|
1380
|
+
function pn() {
|
|
1571
1381
|
this.__data__ = [], this.size = 0;
|
|
1572
1382
|
}
|
|
1573
|
-
function
|
|
1574
|
-
var
|
|
1383
|
+
function hn(e) {
|
|
1384
|
+
var n = this.__data__, a = Fe(n, e);
|
|
1575
1385
|
if (a < 0)
|
|
1576
1386
|
return !1;
|
|
1577
|
-
var
|
|
1578
|
-
return a ==
|
|
1579
|
-
}
|
|
1580
|
-
function
|
|
1581
|
-
var
|
|
1582
|
-
return a < 0 ? void 0 :
|
|
1583
|
-
}
|
|
1584
|
-
function
|
|
1585
|
-
return
|
|
1586
|
-
}
|
|
1587
|
-
function
|
|
1588
|
-
var a = this.__data__,
|
|
1589
|
-
return
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
function
|
|
1593
|
-
var
|
|
1594
|
-
for (this.clear(); ++
|
|
1595
|
-
var
|
|
1596
|
-
this.set(
|
|
1387
|
+
var p = n.length - 1;
|
|
1388
|
+
return a == p ? n.pop() : Re.call(n, a, 1), --this.size, !0;
|
|
1389
|
+
}
|
|
1390
|
+
function gn(e) {
|
|
1391
|
+
var n = this.__data__, a = Fe(n, e);
|
|
1392
|
+
return a < 0 ? void 0 : n[a][1];
|
|
1393
|
+
}
|
|
1394
|
+
function yn(e) {
|
|
1395
|
+
return Fe(this.__data__, e) > -1;
|
|
1396
|
+
}
|
|
1397
|
+
function mn(e, n) {
|
|
1398
|
+
var a = this.__data__, p = Fe(a, e);
|
|
1399
|
+
return p < 0 ? (++this.size, a.push([e, n])) : a[p][1] = n, this;
|
|
1400
|
+
}
|
|
1401
|
+
pe.prototype.clear = pn, pe.prototype.delete = hn, pe.prototype.get = gn, pe.prototype.has = yn, pe.prototype.set = mn;
|
|
1402
|
+
function Le(e) {
|
|
1403
|
+
var n = -1, a = e == null ? 0 : e.length;
|
|
1404
|
+
for (this.clear(); ++n < a; ) {
|
|
1405
|
+
var p = e[n];
|
|
1406
|
+
this.set(p[0], p[1]);
|
|
1597
1407
|
}
|
|
1598
1408
|
}
|
|
1599
|
-
function
|
|
1409
|
+
function vn() {
|
|
1600
1410
|
this.size = 0, this.__data__ = {
|
|
1601
|
-
hash: new
|
|
1602
|
-
map: new (
|
|
1603
|
-
string: new
|
|
1411
|
+
hash: new Te(),
|
|
1412
|
+
map: new (xt || pe)(),
|
|
1413
|
+
string: new Te()
|
|
1604
1414
|
};
|
|
1605
1415
|
}
|
|
1606
|
-
function
|
|
1607
|
-
var
|
|
1608
|
-
return this.size -=
|
|
1416
|
+
function bn(e) {
|
|
1417
|
+
var n = qe(this, e).delete(e);
|
|
1418
|
+
return this.size -= n ? 1 : 0, n;
|
|
1609
1419
|
}
|
|
1610
|
-
function
|
|
1611
|
-
return
|
|
1420
|
+
function xn(e) {
|
|
1421
|
+
return qe(this, e).get(e);
|
|
1612
1422
|
}
|
|
1613
|
-
function
|
|
1614
|
-
return
|
|
1423
|
+
function En(e) {
|
|
1424
|
+
return qe(this, e).has(e);
|
|
1615
1425
|
}
|
|
1616
|
-
function
|
|
1617
|
-
var a =
|
|
1618
|
-
return a.set(e,
|
|
1426
|
+
function _n(e, n) {
|
|
1427
|
+
var a = qe(this, e), p = a.size;
|
|
1428
|
+
return a.set(e, n), this.size += a.size == p ? 0 : 1, this;
|
|
1619
1429
|
}
|
|
1620
|
-
|
|
1621
|
-
function
|
|
1622
|
-
var
|
|
1623
|
-
this.size =
|
|
1430
|
+
Le.prototype.clear = vn, Le.prototype.delete = bn, Le.prototype.get = xn, Le.prototype.has = En, Le.prototype.set = _n;
|
|
1431
|
+
function Pe(e) {
|
|
1432
|
+
var n = this.__data__ = new pe(e);
|
|
1433
|
+
this.size = n.size;
|
|
1624
1434
|
}
|
|
1625
|
-
function
|
|
1626
|
-
this.__data__ = new
|
|
1435
|
+
function Tn() {
|
|
1436
|
+
this.__data__ = new pe(), this.size = 0;
|
|
1627
1437
|
}
|
|
1628
|
-
function
|
|
1629
|
-
var
|
|
1630
|
-
return this.size =
|
|
1438
|
+
function wn(e) {
|
|
1439
|
+
var n = this.__data__, a = n.delete(e);
|
|
1440
|
+
return this.size = n.size, a;
|
|
1631
1441
|
}
|
|
1632
|
-
function
|
|
1442
|
+
function Sn(e) {
|
|
1633
1443
|
return this.__data__.get(e);
|
|
1634
1444
|
}
|
|
1635
|
-
function
|
|
1445
|
+
function Cn(e) {
|
|
1636
1446
|
return this.__data__.has(e);
|
|
1637
1447
|
}
|
|
1638
|
-
function
|
|
1448
|
+
function On(e, n) {
|
|
1639
1449
|
var a = this.__data__;
|
|
1640
|
-
if (a instanceof
|
|
1641
|
-
var
|
|
1642
|
-
if (!
|
|
1643
|
-
return
|
|
1644
|
-
a = this.__data__ = new
|
|
1450
|
+
if (a instanceof pe) {
|
|
1451
|
+
var p = a.__data__;
|
|
1452
|
+
if (!xt || p.length < i - 1)
|
|
1453
|
+
return p.push([e, n]), this.size = ++a.size, this;
|
|
1454
|
+
a = this.__data__ = new Le(p);
|
|
1645
1455
|
}
|
|
1646
|
-
return a.set(e,
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
function
|
|
1650
|
-
var a =
|
|
1651
|
-
for (var
|
|
1652
|
-
|
|
1653
|
-
(
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
return
|
|
1658
|
-
}
|
|
1659
|
-
function
|
|
1660
|
-
(a !== void 0 && !
|
|
1661
|
-
}
|
|
1662
|
-
function
|
|
1663
|
-
var
|
|
1664
|
-
(!(
|
|
1665
|
-
}
|
|
1666
|
-
function
|
|
1456
|
+
return a.set(e, n), this.size = a.size, this;
|
|
1457
|
+
}
|
|
1458
|
+
Pe.prototype.clear = Tn, Pe.prototype.delete = wn, Pe.prototype.get = Sn, Pe.prototype.has = Cn, Pe.prototype.set = On;
|
|
1459
|
+
function jn(e, n) {
|
|
1460
|
+
var a = ft(e), p = !a && lt(e), T = !a && !p && St(e), j = !a && !p && !T && Ot(e), P = a || p || T || j, C = P ? He(e.length, String) : [], $ = C.length;
|
|
1461
|
+
for (var re in e)
|
|
1462
|
+
P && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1463
|
+
(re == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1464
|
+
T && (re == "offset" || re == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1465
|
+
j && (re == "buffer" || re == "byteLength" || re == "byteOffset") || // Skip index properties.
|
|
1466
|
+
Tt(re, $)) || C.push(re);
|
|
1467
|
+
return C;
|
|
1468
|
+
}
|
|
1469
|
+
function at(e, n, a) {
|
|
1470
|
+
(a !== void 0 && !Je(e[n], a) || a === void 0 && !(n in e)) && st(e, n, a);
|
|
1471
|
+
}
|
|
1472
|
+
function An(e, n, a) {
|
|
1473
|
+
var p = e[n];
|
|
1474
|
+
(!(f.call(e, n) && Je(p, a)) || a === void 0 && !(n in e)) && st(e, n, a);
|
|
1475
|
+
}
|
|
1476
|
+
function Fe(e, n) {
|
|
1667
1477
|
for (var a = e.length; a--; )
|
|
1668
|
-
if (
|
|
1478
|
+
if (Je(e[a][0], n))
|
|
1669
1479
|
return a;
|
|
1670
1480
|
return -1;
|
|
1671
1481
|
}
|
|
1672
|
-
function
|
|
1673
|
-
|
|
1482
|
+
function st(e, n, a) {
|
|
1483
|
+
n == "__proto__" && Xe ? Xe(e, n, {
|
|
1674
1484
|
configurable: !0,
|
|
1675
1485
|
enumerable: !0,
|
|
1676
1486
|
value: a,
|
|
1677
1487
|
writable: !0
|
|
1678
|
-
}) : e[
|
|
1488
|
+
}) : e[n] = a;
|
|
1679
1489
|
}
|
|
1680
|
-
var
|
|
1681
|
-
function
|
|
1682
|
-
return e == null ? e === void 0 ?
|
|
1490
|
+
var Rn = Bn();
|
|
1491
|
+
function Ve(e) {
|
|
1492
|
+
return e == null ? e === void 0 ? w : Y : U && U in Object(e) ? Dn(e) : Jn(e);
|
|
1683
1493
|
}
|
|
1684
|
-
function
|
|
1685
|
-
return
|
|
1494
|
+
function Et(e) {
|
|
1495
|
+
return Ne(e) && Ve(e) == h;
|
|
1686
1496
|
}
|
|
1687
|
-
function
|
|
1688
|
-
if (!
|
|
1497
|
+
function Ln(e) {
|
|
1498
|
+
if (!we(e) || Vn(e))
|
|
1689
1499
|
return !1;
|
|
1690
|
-
var
|
|
1691
|
-
return
|
|
1692
|
-
}
|
|
1693
|
-
function
|
|
1694
|
-
return
|
|
1695
|
-
}
|
|
1696
|
-
function $
|
|
1697
|
-
if (!
|
|
1698
|
-
return
|
|
1699
|
-
var
|
|
1700
|
-
for (var
|
|
1701
|
-
|
|
1500
|
+
var n = pt(e) ? b : J;
|
|
1501
|
+
return n.test(er(e));
|
|
1502
|
+
}
|
|
1503
|
+
function Pn(e) {
|
|
1504
|
+
return Ne(e) && Ct(e.length) && !!S[Ve(e)];
|
|
1505
|
+
}
|
|
1506
|
+
function $n(e) {
|
|
1507
|
+
if (!we(e))
|
|
1508
|
+
return qn(e);
|
|
1509
|
+
var n = wt(e), a = [];
|
|
1510
|
+
for (var p in e)
|
|
1511
|
+
p == "constructor" && (n || !f.call(e, p)) || a.push(p);
|
|
1702
1512
|
return a;
|
|
1703
1513
|
}
|
|
1704
|
-
function
|
|
1705
|
-
e !==
|
|
1706
|
-
if (
|
|
1707
|
-
|
|
1514
|
+
function _t(e, n, a, p, T) {
|
|
1515
|
+
e !== n && Rn(n, function(j, P) {
|
|
1516
|
+
if (T || (T = new Pe()), we(j))
|
|
1517
|
+
Hn(e, n, P, a, _t, p, T);
|
|
1708
1518
|
else {
|
|
1709
|
-
var
|
|
1710
|
-
|
|
1519
|
+
var C = p ? p(ut(e, P), j, P + "", e, n, T) : void 0;
|
|
1520
|
+
C === void 0 && (C = j), at(e, P, C);
|
|
1711
1521
|
}
|
|
1712
|
-
},
|
|
1522
|
+
}, jt);
|
|
1713
1523
|
}
|
|
1714
|
-
function
|
|
1715
|
-
var
|
|
1716
|
-
if (
|
|
1717
|
-
|
|
1524
|
+
function Hn(e, n, a, p, T, j, P) {
|
|
1525
|
+
var C = ut(e, a), $ = ut(n, a), re = P.get($);
|
|
1526
|
+
if (re) {
|
|
1527
|
+
at(e, a, re);
|
|
1718
1528
|
return;
|
|
1719
1529
|
}
|
|
1720
|
-
var
|
|
1721
|
-
if (
|
|
1722
|
-
var
|
|
1723
|
-
|
|
1530
|
+
var F = j ? j(C, $, a + "", e, n, P) : void 0, Ie = F === void 0;
|
|
1531
|
+
if (Ie) {
|
|
1532
|
+
var ht = ft($), gt = !ht && St($), Rt = !ht && !gt && Ot($);
|
|
1533
|
+
F = $, ht || gt || Rt ? ft(C) ? F = C : tr(C) ? F = Wn(C) : gt ? (Ie = !1, F = Nn($)) : Rt ? (Ie = !1, F = zn($)) : F = [] : nr($) || lt($) ? (F = C, lt(C) ? F = rr(C) : (!we(C) || pt(C)) && (F = Gn($))) : Ie = !1;
|
|
1724
1534
|
}
|
|
1725
|
-
|
|
1535
|
+
Ie && (P.set($, F), T(F, $, p, j, P), P.delete($)), at(e, a, F);
|
|
1726
1536
|
}
|
|
1727
|
-
function
|
|
1728
|
-
return
|
|
1537
|
+
function kn(e, n) {
|
|
1538
|
+
return Zn(Kn(e, n, At), e + "");
|
|
1729
1539
|
}
|
|
1730
|
-
var
|
|
1731
|
-
return
|
|
1540
|
+
var Mn = Xe ? function(e, n) {
|
|
1541
|
+
return Xe(e, "toString", {
|
|
1732
1542
|
configurable: !0,
|
|
1733
1543
|
enumerable: !1,
|
|
1734
|
-
value:
|
|
1544
|
+
value: ir(n),
|
|
1735
1545
|
writable: !0
|
|
1736
1546
|
});
|
|
1737
|
-
} :
|
|
1738
|
-
function
|
|
1547
|
+
} : At;
|
|
1548
|
+
function Nn(e, n) {
|
|
1739
1549
|
return e.slice();
|
|
1740
1550
|
}
|
|
1741
|
-
function
|
|
1742
|
-
var
|
|
1743
|
-
return new
|
|
1551
|
+
function In(e) {
|
|
1552
|
+
var n = new e.constructor(e.byteLength);
|
|
1553
|
+
return new N(n).set(new N(e)), n;
|
|
1744
1554
|
}
|
|
1745
|
-
function
|
|
1746
|
-
var a =
|
|
1555
|
+
function zn(e, n) {
|
|
1556
|
+
var a = In(e.buffer);
|
|
1747
1557
|
return new e.constructor(a, e.byteOffset, e.length);
|
|
1748
1558
|
}
|
|
1749
|
-
function
|
|
1750
|
-
var a = -1,
|
|
1751
|
-
for (
|
|
1752
|
-
|
|
1753
|
-
return
|
|
1559
|
+
function Wn(e, n) {
|
|
1560
|
+
var a = -1, p = e.length;
|
|
1561
|
+
for (n || (n = Array(p)); ++a < p; )
|
|
1562
|
+
n[a] = e[a];
|
|
1563
|
+
return n;
|
|
1754
1564
|
}
|
|
1755
|
-
function
|
|
1756
|
-
var
|
|
1565
|
+
function Un(e, n, a, p) {
|
|
1566
|
+
var T = !a;
|
|
1757
1567
|
a || (a = {});
|
|
1758
|
-
for (var
|
|
1759
|
-
var
|
|
1760
|
-
|
|
1568
|
+
for (var j = -1, P = n.length; ++j < P; ) {
|
|
1569
|
+
var C = n[j], $ = void 0;
|
|
1570
|
+
$ === void 0 && ($ = e[C]), T ? st(a, C, $) : An(a, C, $);
|
|
1761
1571
|
}
|
|
1762
1572
|
return a;
|
|
1763
1573
|
}
|
|
1764
|
-
function
|
|
1765
|
-
return
|
|
1766
|
-
var
|
|
1767
|
-
for (
|
|
1768
|
-
var
|
|
1769
|
-
|
|
1574
|
+
function Yn(e) {
|
|
1575
|
+
return kn(function(n, a) {
|
|
1576
|
+
var p = -1, T = a.length, j = T > 1 ? a[T - 1] : void 0, P = T > 2 ? a[2] : void 0;
|
|
1577
|
+
for (j = e.length > 3 && typeof j == "function" ? (T--, j) : void 0, P && Xn(a[0], a[1], P) && (j = T < 3 ? void 0 : j, T = 1), n = Object(n); ++p < T; ) {
|
|
1578
|
+
var C = a[p];
|
|
1579
|
+
C && e(n, C, p, j);
|
|
1770
1580
|
}
|
|
1771
|
-
return
|
|
1581
|
+
return n;
|
|
1772
1582
|
});
|
|
1773
1583
|
}
|
|
1774
|
-
function
|
|
1775
|
-
return function(
|
|
1776
|
-
for (var
|
|
1777
|
-
var
|
|
1778
|
-
if (a($
|
|
1584
|
+
function Bn(e) {
|
|
1585
|
+
return function(n, a, p) {
|
|
1586
|
+
for (var T = -1, j = Object(n), P = p(n), C = P.length; C--; ) {
|
|
1587
|
+
var $ = P[++T];
|
|
1588
|
+
if (a(j[$], $, j) === !1)
|
|
1779
1589
|
break;
|
|
1780
1590
|
}
|
|
1781
|
-
return
|
|
1591
|
+
return n;
|
|
1782
1592
|
};
|
|
1783
1593
|
}
|
|
1784
|
-
function
|
|
1594
|
+
function qe(e, n) {
|
|
1785
1595
|
var a = e.__data__;
|
|
1786
|
-
return
|
|
1596
|
+
return Fn(n) ? a[typeof n == "string" ? "string" : "hash"] : a.map;
|
|
1787
1597
|
}
|
|
1788
|
-
function
|
|
1789
|
-
var a =
|
|
1790
|
-
return
|
|
1598
|
+
function ct(e, n) {
|
|
1599
|
+
var a = it(e, n);
|
|
1600
|
+
return Ln(a) ? a : void 0;
|
|
1791
1601
|
}
|
|
1792
|
-
function
|
|
1793
|
-
var
|
|
1602
|
+
function Dn(e) {
|
|
1603
|
+
var n = f.call(e, U), a = e[U];
|
|
1794
1604
|
try {
|
|
1795
|
-
e[
|
|
1796
|
-
var
|
|
1605
|
+
e[U] = void 0;
|
|
1606
|
+
var p = !0;
|
|
1797
1607
|
} catch {
|
|
1798
1608
|
}
|
|
1799
|
-
var
|
|
1800
|
-
return
|
|
1609
|
+
var T = M.call(e);
|
|
1610
|
+
return p && (n ? e[U] = a : delete e[U]), T;
|
|
1801
1611
|
}
|
|
1802
|
-
function
|
|
1803
|
-
return typeof e.constructor == "function" && !
|
|
1612
|
+
function Gn(e) {
|
|
1613
|
+
return typeof e.constructor == "function" && !wt(e) ? sn(ie(e)) : {};
|
|
1804
1614
|
}
|
|
1805
|
-
function
|
|
1615
|
+
function Tt(e, n) {
|
|
1806
1616
|
var a = typeof e;
|
|
1807
|
-
return
|
|
1617
|
+
return n = n ?? l, !!n && (a == "number" || a != "symbol" && me.test(e)) && e > -1 && e % 1 == 0 && e < n;
|
|
1808
1618
|
}
|
|
1809
|
-
function
|
|
1810
|
-
if (!
|
|
1619
|
+
function Xn(e, n, a) {
|
|
1620
|
+
if (!we(a))
|
|
1811
1621
|
return !1;
|
|
1812
|
-
var
|
|
1813
|
-
return (
|
|
1622
|
+
var p = typeof n;
|
|
1623
|
+
return (p == "number" ? dt(a) && Tt(n, a.length) : p == "string" && n in a) ? Je(a[n], e) : !1;
|
|
1814
1624
|
}
|
|
1815
|
-
function
|
|
1816
|
-
var
|
|
1817
|
-
return
|
|
1625
|
+
function Fn(e) {
|
|
1626
|
+
var n = typeof e;
|
|
1627
|
+
return n == "string" || n == "number" || n == "symbol" || n == "boolean" ? e !== "__proto__" : e === null;
|
|
1818
1628
|
}
|
|
1819
|
-
function
|
|
1820
|
-
return !!
|
|
1629
|
+
function Vn(e) {
|
|
1630
|
+
return !!_ && _ in e;
|
|
1821
1631
|
}
|
|
1822
|
-
function
|
|
1823
|
-
var
|
|
1632
|
+
function wt(e) {
|
|
1633
|
+
var n = e && e.constructor, a = typeof n == "function" && n.prototype || _e;
|
|
1824
1634
|
return e === a;
|
|
1825
1635
|
}
|
|
1826
|
-
function
|
|
1827
|
-
var
|
|
1636
|
+
function qn(e) {
|
|
1637
|
+
var n = [];
|
|
1828
1638
|
if (e != null)
|
|
1829
1639
|
for (var a in Object(e))
|
|
1830
|
-
|
|
1831
|
-
return
|
|
1832
|
-
}
|
|
1833
|
-
function
|
|
1834
|
-
return
|
|
1835
|
-
}
|
|
1836
|
-
function
|
|
1837
|
-
return
|
|
1838
|
-
for (var
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
for (var
|
|
1842
|
-
|
|
1843
|
-
return
|
|
1640
|
+
n.push(a);
|
|
1641
|
+
return n;
|
|
1642
|
+
}
|
|
1643
|
+
function Jn(e) {
|
|
1644
|
+
return M.call(e);
|
|
1645
|
+
}
|
|
1646
|
+
function Kn(e, n, a) {
|
|
1647
|
+
return n = bt(n === void 0 ? e.length - 1 : n, 0), function() {
|
|
1648
|
+
for (var p = arguments, T = -1, j = bt(p.length - n, 0), P = Array(j); ++T < j; )
|
|
1649
|
+
P[T] = p[n + T];
|
|
1650
|
+
T = -1;
|
|
1651
|
+
for (var C = Array(n + 1); ++T < n; )
|
|
1652
|
+
C[T] = p[T];
|
|
1653
|
+
return C[n] = a(P), Ye(e, this, C);
|
|
1844
1654
|
};
|
|
1845
1655
|
}
|
|
1846
|
-
function
|
|
1847
|
-
if (!(
|
|
1848
|
-
return e[
|
|
1656
|
+
function ut(e, n) {
|
|
1657
|
+
if (!(n === "constructor" && typeof e[n] == "function") && n != "__proto__")
|
|
1658
|
+
return e[n];
|
|
1849
1659
|
}
|
|
1850
|
-
var
|
|
1851
|
-
function
|
|
1852
|
-
var
|
|
1660
|
+
var Zn = Qn(Mn);
|
|
1661
|
+
function Qn(e) {
|
|
1662
|
+
var n = 0, a = 0;
|
|
1853
1663
|
return function() {
|
|
1854
|
-
var
|
|
1855
|
-
if (a =
|
|
1856
|
-
if (++
|
|
1664
|
+
var p = an(), T = s - (p - a);
|
|
1665
|
+
if (a = p, T > 0) {
|
|
1666
|
+
if (++n >= u)
|
|
1857
1667
|
return arguments[0];
|
|
1858
1668
|
} else
|
|
1859
|
-
|
|
1669
|
+
n = 0;
|
|
1860
1670
|
return e.apply(void 0, arguments);
|
|
1861
1671
|
};
|
|
1862
1672
|
}
|
|
1863
|
-
function
|
|
1673
|
+
function er(e) {
|
|
1864
1674
|
if (e != null) {
|
|
1865
1675
|
try {
|
|
1866
|
-
return
|
|
1676
|
+
return d.call(e);
|
|
1867
1677
|
} catch {
|
|
1868
1678
|
}
|
|
1869
1679
|
try {
|
|
@@ -1873,141 +1683,141 @@ function Vn() {
|
|
|
1873
1683
|
}
|
|
1874
1684
|
return "";
|
|
1875
1685
|
}
|
|
1876
|
-
function
|
|
1877
|
-
return e ===
|
|
1686
|
+
function Je(e, n) {
|
|
1687
|
+
return e === n || e !== e && n !== n;
|
|
1878
1688
|
}
|
|
1879
|
-
var
|
|
1689
|
+
var lt = Et(/* @__PURE__ */ function() {
|
|
1880
1690
|
return arguments;
|
|
1881
|
-
}()) ?
|
|
1882
|
-
return
|
|
1883
|
-
},
|
|
1884
|
-
function
|
|
1885
|
-
return e != null &&
|
|
1886
|
-
}
|
|
1887
|
-
function
|
|
1888
|
-
return
|
|
1889
|
-
}
|
|
1890
|
-
var
|
|
1891
|
-
function
|
|
1892
|
-
if (!
|
|
1691
|
+
}()) ? Et : function(e) {
|
|
1692
|
+
return Ne(e) && f.call(e, "callee") && !ae.call(e, "callee");
|
|
1693
|
+
}, ft = Array.isArray;
|
|
1694
|
+
function dt(e) {
|
|
1695
|
+
return e != null && Ct(e.length) && !pt(e);
|
|
1696
|
+
}
|
|
1697
|
+
function tr(e) {
|
|
1698
|
+
return Ne(e) && dt(e);
|
|
1699
|
+
}
|
|
1700
|
+
var St = on || ar;
|
|
1701
|
+
function pt(e) {
|
|
1702
|
+
if (!we(e))
|
|
1893
1703
|
return !1;
|
|
1894
|
-
var
|
|
1895
|
-
return
|
|
1704
|
+
var n = Ve(e);
|
|
1705
|
+
return n == A || n == H || n == v || n == he;
|
|
1896
1706
|
}
|
|
1897
|
-
function
|
|
1898
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
1707
|
+
function Ct(e) {
|
|
1708
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= l;
|
|
1899
1709
|
}
|
|
1900
|
-
function
|
|
1901
|
-
var
|
|
1902
|
-
return e != null && (
|
|
1710
|
+
function we(e) {
|
|
1711
|
+
var n = typeof e;
|
|
1712
|
+
return e != null && (n == "object" || n == "function");
|
|
1903
1713
|
}
|
|
1904
|
-
function
|
|
1714
|
+
function Ne(e) {
|
|
1905
1715
|
return e != null && typeof e == "object";
|
|
1906
1716
|
}
|
|
1907
|
-
function
|
|
1908
|
-
if (!
|
|
1717
|
+
function nr(e) {
|
|
1718
|
+
if (!Ne(e) || Ve(e) != V)
|
|
1909
1719
|
return !1;
|
|
1910
|
-
var
|
|
1911
|
-
if (
|
|
1720
|
+
var n = ie(e);
|
|
1721
|
+
if (n === null)
|
|
1912
1722
|
return !0;
|
|
1913
|
-
var a =
|
|
1914
|
-
return typeof a == "function" && a instanceof a &&
|
|
1723
|
+
var a = f.call(n, "constructor") && n.constructor;
|
|
1724
|
+
return typeof a == "function" && a instanceof a && d.call(a) == L;
|
|
1915
1725
|
}
|
|
1916
|
-
var
|
|
1917
|
-
function
|
|
1918
|
-
return
|
|
1726
|
+
var Ot = Ae ? ke(Ae) : Pn;
|
|
1727
|
+
function rr(e) {
|
|
1728
|
+
return Un(e, jt(e));
|
|
1919
1729
|
}
|
|
1920
|
-
function
|
|
1921
|
-
return
|
|
1730
|
+
function jt(e) {
|
|
1731
|
+
return dt(e) ? jn(e) : $n(e);
|
|
1922
1732
|
}
|
|
1923
|
-
var
|
|
1924
|
-
|
|
1733
|
+
var or = Yn(function(e, n, a) {
|
|
1734
|
+
_t(e, n, a);
|
|
1925
1735
|
});
|
|
1926
|
-
function
|
|
1736
|
+
function ir(e) {
|
|
1927
1737
|
return function() {
|
|
1928
1738
|
return e;
|
|
1929
1739
|
};
|
|
1930
1740
|
}
|
|
1931
|
-
function
|
|
1741
|
+
function At(e) {
|
|
1932
1742
|
return e;
|
|
1933
1743
|
}
|
|
1934
|
-
function
|
|
1744
|
+
function ar() {
|
|
1935
1745
|
return !1;
|
|
1936
1746
|
}
|
|
1937
|
-
|
|
1938
|
-
}(
|
|
1747
|
+
r.exports = or;
|
|
1748
|
+
}(Ue, Ue.exports)), Ue.exports;
|
|
1939
1749
|
}
|
|
1940
|
-
var
|
|
1941
|
-
const
|
|
1942
|
-
theme:
|
|
1750
|
+
var Vr = Fr();
|
|
1751
|
+
const qr = /* @__PURE__ */ qt(Vr), po = ({
|
|
1752
|
+
theme: r,
|
|
1943
1753
|
...o
|
|
1944
1754
|
}) => {
|
|
1945
|
-
const i =
|
|
1946
|
-
return /* @__PURE__ */
|
|
1947
|
-
}, ho = ({ durationMs:
|
|
1948
|
-
opacity: ${
|
|
1949
|
-
visibility: ${
|
|
1755
|
+
const i = vt(sr), c = et(() => qr(i, r), [i, r]);
|
|
1756
|
+
return /* @__PURE__ */ B.jsx(Yt, { theme: c, ...o });
|
|
1757
|
+
}, ho = ({ durationMs: r, timingFunction: o = "ease-in-out", extraProperties: i = [], activeClassName: c }) => ({ isActive: u = !1 }) => se`
|
|
1758
|
+
opacity: ${u ? 1 : 0};
|
|
1759
|
+
visibility: ${u ? "visible" : "hidden"};
|
|
1950
1760
|
|
|
1951
1761
|
transition-property: ${["opacity", "visibility", ...i].join(", ")};
|
|
1952
|
-
transition-duration: ${
|
|
1762
|
+
transition-duration: ${r}ms;
|
|
1953
1763
|
transition-timing-function: ${Array.isArray(o) ? o.join(", ") : o};
|
|
1954
1764
|
|
|
1955
|
-
${
|
|
1956
|
-
&.${
|
|
1765
|
+
${c && se`
|
|
1766
|
+
&.${c} {
|
|
1957
1767
|
opacity: 1;
|
|
1958
1768
|
visibility: visible;
|
|
1959
1769
|
}
|
|
1960
1770
|
`}
|
|
1961
1771
|
`;
|
|
1962
1772
|
export {
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1773
|
+
rt as HoneyBox,
|
|
1774
|
+
ot as HoneyFlexBox,
|
|
1775
|
+
Pr as HoneyGrid,
|
|
1776
|
+
no as HoneyGridColumn,
|
|
1777
|
+
Jt as HoneyGridColumnStyled,
|
|
1778
|
+
Zt as HoneyGridContext,
|
|
1969
1779
|
fo as HoneyLayoutProvider,
|
|
1970
1780
|
po as HoneyLayoutThemeOverride,
|
|
1971
1781
|
uo as HoneyLazyContent,
|
|
1972
|
-
|
|
1973
|
-
|
|
1782
|
+
ro as HoneyList,
|
|
1783
|
+
Br as HoneyLoopingList,
|
|
1974
1784
|
co as HoneyLoopingListExample,
|
|
1975
|
-
|
|
1976
|
-
|
|
1785
|
+
Yr as HoneyLoopingListItemStyled,
|
|
1786
|
+
rn as HoneyLoopingListStyled,
|
|
1977
1787
|
lo as HoneyOverlay,
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1788
|
+
Hr as HoneyStatusContent,
|
|
1789
|
+
Ke as applyBreakpointStyles,
|
|
1790
|
+
Vt as bpMedia,
|
|
1791
|
+
gr as calculateEuclideanDistance,
|
|
1792
|
+
Pt as calculateMovingSpeed,
|
|
1793
|
+
$t as calculatePercentage,
|
|
1794
|
+
hr as camelToDashCase,
|
|
1795
|
+
yr as convertHexToHexWithAlpha,
|
|
1796
|
+
Ft as createStyles,
|
|
1797
|
+
eo as filterFlattenedItems,
|
|
1798
|
+
mr as flattenNestedList,
|
|
1799
|
+
xr as generateUniqueId,
|
|
1800
|
+
Zr as getFocusableHTMLElements,
|
|
1801
|
+
Qt as getHoneyListItemId,
|
|
1802
|
+
Gt as getTransformationValues,
|
|
1993
1803
|
ho as honeyVisibilityTransitionEffect,
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
1804
|
+
Ht as media,
|
|
1805
|
+
yt as pxToRem,
|
|
1806
|
+
Qe as resolveColor,
|
|
1807
|
+
_r as resolveDimension,
|
|
1808
|
+
Er as resolveFont,
|
|
1809
|
+
kt as resolveScreenState,
|
|
1810
|
+
nt as resolveSpacing,
|
|
1811
|
+
to as searchFlattenedItems,
|
|
1812
|
+
Qr as shouldForwardProp,
|
|
1813
|
+
Lt as splitStringIntoWords,
|
|
1814
|
+
$r as useCurrentHoneyGrid,
|
|
2005
1815
|
ao as useHoneyDocumentKeyUpHandler,
|
|
2006
|
-
|
|
1816
|
+
en as useHoneyDrag,
|
|
2007
1817
|
oo as useHoneyInfiniteScroll,
|
|
2008
|
-
|
|
2009
|
-
|
|
1818
|
+
nn as useHoneyLayout,
|
|
1819
|
+
Wr as useHoneyMediaQuery,
|
|
2010
1820
|
so as useHoneyOverlay,
|
|
2011
1821
|
io as useHoneySyntheticScrollableContainer,
|
|
2012
|
-
|
|
1822
|
+
Ur as useRegisterHoneyOverlay
|
|
2013
1823
|
};
|