eidotter 0.29.0 → 0.30.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/CmdPalette/components/CmdPalette.d.ts +1 -0
- package/dist/components/FilterBar/components/FilterBar.d.ts +7 -1
- package/dist/components/Lightbox/components/Lightbox.d.ts +1 -0
- package/dist/components/Modal/components/Modal.d.ts +1 -0
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +361 -338
- package/dist/index.umd.js +3 -3
- package/guidelines/design-principles.md +49 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -72,20 +72,20 @@ function ne(e) {
|
|
|
72
72
|
}
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region node_modules/react-aria/dist/private/utils/useId.mjs
|
|
75
|
-
var re = !!(typeof window < "u" && window.document && window.document.createElement),
|
|
76
|
-
typeof FinalizationRegistry < "u" && (
|
|
77
|
-
|
|
75
|
+
var re = !!(typeof window < "u" && window.document && window.document.createElement), ie = /* @__PURE__ */ new Map(), ae;
|
|
76
|
+
typeof FinalizationRegistry < "u" && (ae = new FinalizationRegistry((e) => {
|
|
77
|
+
ie.delete(e);
|
|
78
78
|
}));
|
|
79
|
-
function
|
|
79
|
+
function F(e) {
|
|
80
80
|
let [t, n] = p(e), r = f(null), i = M(t), a = f(null);
|
|
81
|
-
if (
|
|
82
|
-
let e =
|
|
83
|
-
e && !e.includes(r) ? e.push(r) :
|
|
81
|
+
if (ae && ae.register(a, i), re) {
|
|
82
|
+
let e = ie.get(i);
|
|
83
|
+
e && !e.includes(r) ? e.push(r) : ie.set(i, [r]);
|
|
84
84
|
}
|
|
85
85
|
return C(() => {
|
|
86
86
|
let e = i;
|
|
87
87
|
return () => {
|
|
88
|
-
|
|
88
|
+
ae && ae.unregister(a), ie.delete(e);
|
|
89
89
|
};
|
|
90
90
|
}, [i]), s(() => {
|
|
91
91
|
let e = r.current;
|
|
@@ -94,15 +94,15 @@ function L(e) {
|
|
|
94
94
|
};
|
|
95
95
|
}), i;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function I(e, t) {
|
|
98
98
|
if (e === t) return e;
|
|
99
|
-
let n =
|
|
99
|
+
let n = ie.get(e);
|
|
100
100
|
if (n) return n.forEach((e) => e.current = t), t;
|
|
101
|
-
let r =
|
|
101
|
+
let r = ie.get(t);
|
|
102
102
|
return r ? (r.forEach((t) => t.current = e), e) : t;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
let t =
|
|
104
|
+
function oe(e = []) {
|
|
105
|
+
let t = F(), [n, r] = ne(t), i = a(() => {
|
|
106
106
|
r(function* () {
|
|
107
107
|
yield t, yield document.getElementById(t) ? t : void 0;
|
|
108
108
|
});
|
|
@@ -115,54 +115,54 @@ function ie(e = []) {
|
|
|
115
115
|
}
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
|
|
118
|
-
function
|
|
118
|
+
function se(...e) {
|
|
119
119
|
return e.length === 1 && e[0] ? e[0] : (t) => {
|
|
120
120
|
let n = !1, r = e.map((e) => {
|
|
121
|
-
let r =
|
|
121
|
+
let r = L(e, t);
|
|
122
122
|
return n ||= typeof r == "function", r;
|
|
123
123
|
});
|
|
124
124
|
if (n) return () => {
|
|
125
125
|
r.forEach((t, n) => {
|
|
126
|
-
typeof t == "function" ? t() :
|
|
126
|
+
typeof t == "function" ? t() : L(e[n], null);
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function L(e, t) {
|
|
132
132
|
if (typeof e == "function") return e(t);
|
|
133
133
|
e != null && (e.current = t);
|
|
134
134
|
}
|
|
135
135
|
//#endregion
|
|
136
136
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
137
|
-
function
|
|
137
|
+
function ce(e) {
|
|
138
138
|
var t, n, r = "";
|
|
139
139
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
140
140
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
141
141
|
var i = e.length;
|
|
142
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
142
|
+
for (t = 0; t < i; t++) e[t] && (n = ce(e[t])) && (r && (r += " "), r += n);
|
|
143
143
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
144
144
|
return r;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
146
|
+
function le() {
|
|
147
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ce(e)) && (r && (r += " "), r += t);
|
|
148
148
|
return r;
|
|
149
149
|
}
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs
|
|
152
|
-
function
|
|
152
|
+
function R(...e) {
|
|
153
153
|
let t = { ...e[0] };
|
|
154
154
|
for (let n = 1; n < e.length; n++) {
|
|
155
155
|
let r = e[n];
|
|
156
156
|
for (let e in r) {
|
|
157
157
|
let n = t[e], i = r[e];
|
|
158
|
-
typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = S(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] =
|
|
158
|
+
typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = S(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = le(n, i) : e === "id" && n && i ? t.id = I(n, i) : e === "ref" && n && i ? t.ref = se(n, i) : t[e] = i === void 0 ? n : i;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
return t;
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
|
|
165
|
-
function
|
|
165
|
+
function z(e) {
|
|
166
166
|
let t = f(null), n = f(void 0), r = a((t) => {
|
|
167
167
|
if (typeof e == "function") {
|
|
168
168
|
let n = e, r = n(t);
|
|
@@ -184,12 +184,12 @@ function ce(e) {
|
|
|
184
184
|
}
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region node_modules/react-aria-components/dist/private/utils.mjs
|
|
187
|
-
var
|
|
188
|
-
function
|
|
187
|
+
var ue = Symbol("default");
|
|
188
|
+
function de({ values: t, children: n }) {
|
|
189
189
|
for (let [r, i] of t) n = /*#__PURE__*/ e.createElement(r.Provider, { value: i }, n);
|
|
190
190
|
return n;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function fe(e) {
|
|
193
193
|
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
|
|
194
194
|
return u(() => {
|
|
195
195
|
let e, l, u;
|
|
@@ -223,11 +223,11 @@ function de(e) {
|
|
|
223
223
|
c
|
|
224
224
|
]);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function pe(e, t) {
|
|
227
227
|
let n = o(e);
|
|
228
228
|
if (t === null) return null;
|
|
229
229
|
if (n && typeof n == "object" && "slots" in n && n.slots) {
|
|
230
|
-
let e = t ||
|
|
230
|
+
let e = t || ue;
|
|
231
231
|
if (!n.slots[e]) {
|
|
232
232
|
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
|
|
233
233
|
throw Error(`${r} Valid slot names are ${e}.`);
|
|
@@ -236,8 +236,8 @@ function fe(e, t) {
|
|
|
236
236
|
}
|
|
237
237
|
return n;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
let { ref: r, ...i } =
|
|
239
|
+
function me(e, t, n) {
|
|
240
|
+
let { ref: r, ...i } = pe(n, e.slot) || {}, a = z(u(() => se(t, r), [t, r])), o = R(i, e);
|
|
241
241
|
return "style" in i && i.style && "style" in e && e.style && (typeof i.style == "function" || typeof e.style == "function" ? o.style = (t) => {
|
|
242
242
|
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
|
|
243
243
|
...t.defaultStyle,
|
|
@@ -255,7 +255,7 @@ function pe(e, t, n) {
|
|
|
255
255
|
...e.style
|
|
256
256
|
}), [o, a];
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function he(e = !0) {
|
|
259
259
|
let [t, n] = p(e), r = f(!1), i = a((e) => {
|
|
260
260
|
r.current = !0, n(!!e);
|
|
261
261
|
}, []);
|
|
@@ -263,13 +263,13 @@ function me(e = !0) {
|
|
|
263
263
|
r.current || n(!1);
|
|
264
264
|
}, []), [i, t];
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function ge(e) {
|
|
267
267
|
let t = /^(data-.*)$/, n = {};
|
|
268
268
|
for (let r in e) t.test(r) || (n[r] = e[r]);
|
|
269
269
|
return n;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
let { render: i, ...a } = n, o = f(null), s = u(() =>
|
|
271
|
+
function _e(t, n, r) {
|
|
272
|
+
let { render: i, ...a } = n, o = f(null), s = u(() => se(r, o), [r, o]);
|
|
273
273
|
C(() => {
|
|
274
274
|
process.env.NODE_ENV !== "production" && i && (o.current ? o.current.localName !== t && console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${t}>, got <${o.current.localName}>. This may break the component behavior and accessibility.`) : console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?"));
|
|
275
275
|
}, [t, i]);
|
|
@@ -279,10 +279,10 @@ function ge(t, n, r) {
|
|
|
279
279
|
};
|
|
280
280
|
return i ? i(c, void 0) : /*#__PURE__*/ e.createElement(t, c);
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var ve = {}, B = new Proxy({}, { get(e, t) {
|
|
283
283
|
if (typeof t != "string") return;
|
|
284
|
-
let n =
|
|
285
|
-
return n || (n = /*#__PURE__*/ r(
|
|
284
|
+
let n = ve[t];
|
|
285
|
+
return n || (n = /*#__PURE__*/ r(_e.bind(null, t)), ve[t] = n), n;
|
|
286
286
|
} }), ye = "react-aria-clear-focus", be = "react-aria-focus", V = (e) => e?.ownerDocument ?? document, xe = (e) => e && "window" in e && e.window === e ? e : V(e).defaultView || window;
|
|
287
287
|
function Se(e) {
|
|
288
288
|
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
|
|
@@ -739,7 +739,7 @@ function Wt(e, t, n, r) {
|
|
|
739
739
|
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
|
|
740
740
|
function Gt(e, t) {
|
|
741
741
|
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
|
|
742
|
-
return n =
|
|
742
|
+
return n = F(n), i && r ? i = [...new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
|
|
743
743
|
id: n,
|
|
744
744
|
"aria-label": r,
|
|
745
745
|
"aria-labelledby": i
|
|
@@ -1407,12 +1407,12 @@ function Bn(e) {
|
|
|
1407
1407
|
return r;
|
|
1408
1408
|
}
|
|
1409
1409
|
function Vn(e, t) {
|
|
1410
|
-
let { focusProps: n } = Fn(e), { keyboardProps: r } = Ln(e), i =
|
|
1410
|
+
let { focusProps: n } = Fn(e), { keyboardProps: r } = Ln(e), i = R(n, r), a = Bn(t), o = e.isDisabled ? {} : a, c = f(e.autoFocus);
|
|
1411
1411
|
s(() => {
|
|
1412
1412
|
c.current && t.current && Pn(t.current), c.current = !1;
|
|
1413
1413
|
}, [t]);
|
|
1414
1414
|
let l = e.excludeFromTabOrder ? -1 : 0;
|
|
1415
|
-
return e.isDisabled && (l = void 0), { focusableProps:
|
|
1415
|
+
return e.isDisabled && (l = void 0), { focusableProps: R({
|
|
1416
1416
|
...i,
|
|
1417
1417
|
tabIndex: l
|
|
1418
1418
|
}, o) };
|
|
@@ -1697,7 +1697,7 @@ function Dr(e) {
|
|
|
1697
1697
|
let t = o(Tr);
|
|
1698
1698
|
if (t) {
|
|
1699
1699
|
let { register: n, ref: r, ...i } = t;
|
|
1700
|
-
e =
|
|
1700
|
+
e = R(i, e), n();
|
|
1701
1701
|
}
|
|
1702
1702
|
return Rn(t, e.ref), e;
|
|
1703
1703
|
}
|
|
@@ -1984,7 +1984,7 @@ function Mr(e) {
|
|
|
1984
1984
|
};
|
|
1985
1985
|
}, [g]), {
|
|
1986
1986
|
isPressed: d || b,
|
|
1987
|
-
pressProps:
|
|
1987
|
+
pressProps: R(y, te, { [jr]: !0 })
|
|
1988
1988
|
};
|
|
1989
1989
|
}
|
|
1990
1990
|
function Nr(e) {
|
|
@@ -2211,8 +2211,8 @@ function $r(e) {
|
|
|
2211
2211
|
//#endregion
|
|
2212
2212
|
//#region node_modules/react-aria-components/dist/private/Label.mjs
|
|
2213
2213
|
var ei = /*#__PURE__*/ n({}), ti = /*#__PURE__*/ Wn(function(t, n) {
|
|
2214
|
-
[t, n] =
|
|
2215
|
-
let { elementType: r = "label", ...i } = t, a =
|
|
2214
|
+
[t, n] = me(t, n, ei);
|
|
2215
|
+
let { elementType: r = "label", ...i } = t, a = B[r];
|
|
2216
2216
|
return /*#__PURE__*/ e.createElement(a, {
|
|
2217
2217
|
className: "react-aria-Label",
|
|
2218
2218
|
...i,
|
|
@@ -2223,8 +2223,8 @@ var ei = /*#__PURE__*/ n({}), ti = /*#__PURE__*/ Wn(function(t, n) {
|
|
|
2223
2223
|
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
|
|
2224
2224
|
function ni(e) {
|
|
2225
2225
|
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
|
|
2226
|
-
t =
|
|
2227
|
-
let o =
|
|
2226
|
+
t = F(t);
|
|
2227
|
+
let o = F(), s = {};
|
|
2228
2228
|
n ? (r = r ? `${o} ${r}` : o, s = {
|
|
2229
2229
|
id: o,
|
|
2230
2230
|
htmlFor: a === "label" ? t : void 0
|
|
@@ -2319,10 +2319,10 @@ function ci(e, t) {
|
|
|
2319
2319
|
ref: t
|
|
2320
2320
|
}), { focusableProps: y } = Vn(e, t);
|
|
2321
2321
|
u && (y.tabIndex = r ? -1 : y.tabIndex);
|
|
2322
|
-
let b =
|
|
2322
|
+
let b = R(y, _, G(e, { labelable: !0 }));
|
|
2323
2323
|
return {
|
|
2324
2324
|
isPressed: v,
|
|
2325
|
-
buttonProps:
|
|
2325
|
+
buttonProps: R(g, b, {
|
|
2326
2326
|
"aria-haspopup": e["aria-haspopup"],
|
|
2327
2327
|
"aria-expanded": e["aria-expanded"],
|
|
2328
2328
|
"aria-controls": e["aria-controls"],
|
|
@@ -2335,7 +2335,7 @@ function ci(e, t) {
|
|
|
2335
2335
|
//#endregion
|
|
2336
2336
|
//#region node_modules/react-aria-components/dist/private/Button.mjs
|
|
2337
2337
|
var li = /*#__PURE__*/ n({}), K = /*#__PURE__*/ Wn(function(t, n) {
|
|
2338
|
-
[t, n] =
|
|
2338
|
+
[t, n] = me(t, n, li);
|
|
2339
2339
|
let r = t, { isPending: i } = r, { buttonProps: a, isPressed: o } = ci(t, n);
|
|
2340
2340
|
a = di(a, i);
|
|
2341
2341
|
let { focusProps: c, isFocused: l, isFocusVisible: u } = qr(t), { hoverProps: d, isHovered: p } = $r({
|
|
@@ -2348,11 +2348,11 @@ var li = /*#__PURE__*/ n({}), K = /*#__PURE__*/ Wn(function(t, n) {
|
|
|
2348
2348
|
isFocusVisible: u,
|
|
2349
2349
|
isDisabled: t.isDisabled || !1,
|
|
2350
2350
|
isPending: i ?? !1
|
|
2351
|
-
}, h =
|
|
2351
|
+
}, h = fe({
|
|
2352
2352
|
...t,
|
|
2353
2353
|
values: m,
|
|
2354
2354
|
defaultClassName: "react-aria-Button"
|
|
2355
|
-
}), g =
|
|
2355
|
+
}), g = F(a.id), _ = F(), v = a["aria-labelledby"];
|
|
2356
2356
|
i && (v ? v = `${v} ${_}` : a["aria-label"] && (v = `${g} ${_}`));
|
|
2357
2357
|
let y = f(i);
|
|
2358
2358
|
s(() => {
|
|
@@ -2365,8 +2365,8 @@ var li = /*#__PURE__*/ n({}), K = /*#__PURE__*/ Wn(function(t, n) {
|
|
|
2365
2365
|
g
|
|
2366
2366
|
]);
|
|
2367
2367
|
let b = G(t, { global: !0 });
|
|
2368
|
-
return delete b.onClick, /*#__PURE__*/ e.createElement(
|
|
2369
|
-
...
|
|
2368
|
+
return delete b.onClick, /*#__PURE__*/ e.createElement(B.button, {
|
|
2369
|
+
...R(b, h, a, c, d),
|
|
2370
2370
|
type: a.type === "submit" && i ? "button" : a.type,
|
|
2371
2371
|
id: g,
|
|
2372
2372
|
ref: n,
|
|
@@ -2391,8 +2391,8 @@ function di(e, t) {
|
|
|
2391
2391
|
//#endregion
|
|
2392
2392
|
//#region node_modules/react-aria-components/dist/private/Heading.mjs
|
|
2393
2393
|
var fi = /*#__PURE__*/ n({}), pi = /*#__PURE__*/ n({}), mi = /*#__PURE__*/ r(function(t, n) {
|
|
2394
|
-
[t, n] =
|
|
2395
|
-
let { elementType: r = "span", ...i } = t, a =
|
|
2394
|
+
[t, n] = me(t, n, pi);
|
|
2395
|
+
let { elementType: r = "span", ...i } = t, a = B[r];
|
|
2396
2396
|
return /*#__PURE__*/ e.createElement(a, {
|
|
2397
2397
|
className: "react-aria-Text",
|
|
2398
2398
|
...i,
|
|
@@ -2425,21 +2425,21 @@ function _i(e, t) {
|
|
|
2425
2425
|
function vi(e, t, n = {}) {
|
|
2426
2426
|
let { block: r = "nearest", inline: i = "nearest" } = n;
|
|
2427
2427
|
if (e === t) return;
|
|
2428
|
-
let a = e.scrollTop, o = e.scrollLeft, s = t.getBoundingClientRect(), c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = s.top - _, A = s.bottom + v, j = s.left - y, M = s.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P,
|
|
2429
|
-
u.direction === "rtl" && !rt() ?
|
|
2430
|
-
let
|
|
2431
|
-
if (
|
|
2432
|
-
else if (
|
|
2433
|
-
else if (
|
|
2434
|
-
else if (
|
|
2428
|
+
let a = e.scrollTop, o = e.scrollLeft, s = t.getBoundingClientRect(), c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = s.top - _, A = s.bottom + v, j = s.left - y, M = s.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, ie = h + (f ? 0 : D) + C, ae = g - (f ? 0 : O) - w;
|
|
2429
|
+
u.direction === "rtl" && !rt() ? ie += te : ae -= te;
|
|
2430
|
+
let F = k < ne || A > re, I = j < ie || M > ae;
|
|
2431
|
+
if (F && r === "start") a += k - ne;
|
|
2432
|
+
else if (F && r === "center") a += (k + A) / 2 - (ne + re) / 2;
|
|
2433
|
+
else if (F && r === "end") a += A - re;
|
|
2434
|
+
else if (F && r === "nearest") {
|
|
2435
2435
|
let e = k - ne, t = A - re;
|
|
2436
2436
|
a += Math.abs(e) <= Math.abs(t) ? e : t;
|
|
2437
2437
|
}
|
|
2438
|
-
if (
|
|
2439
|
-
else if (
|
|
2440
|
-
else if (
|
|
2441
|
-
else if (
|
|
2442
|
-
let e = j -
|
|
2438
|
+
if (I && i === "start") o += j - ie;
|
|
2439
|
+
else if (I && i === "center") o += (j + M) / 2 - (ie + ae) / 2;
|
|
2440
|
+
else if (I && i === "end") o += M - ae;
|
|
2441
|
+
else if (I && i === "nearest") {
|
|
2442
|
+
let e = j - ie, t = M - ae;
|
|
2443
2443
|
o += Math.abs(e) <= Math.abs(t) ? e : t;
|
|
2444
2444
|
}
|
|
2445
2445
|
if (process.env.NODE_ENV === "test") {
|
|
@@ -2530,7 +2530,7 @@ function wi(e = {}) {
|
|
|
2530
2530
|
}
|
|
2531
2531
|
function Ti(t) {
|
|
2532
2532
|
let { children: n, elementType: r = "div", isFocusable: i, style: a, ...o } = t, { visuallyHiddenProps: s } = wi(t);
|
|
2533
|
-
return /*#__PURE__*/ e.createElement(r,
|
|
2533
|
+
return /*#__PURE__*/ e.createElement(r, R(o, s), n);
|
|
2534
2534
|
}
|
|
2535
2535
|
//#endregion
|
|
2536
2536
|
//#region node_modules/react-aria-components/dist/private/FieldError.mjs
|
|
@@ -2626,18 +2626,18 @@ var Ri = /*#__PURE__*/ n(null), zi = /* @__PURE__ */ new WeakMap();
|
|
|
2626
2626
|
//#endregion
|
|
2627
2627
|
//#region node_modules/react-aria/dist/private/label/useField.mjs
|
|
2628
2628
|
function Bi(e) {
|
|
2629
|
-
let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ni(e), s =
|
|
2629
|
+
let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ni(e), s = oe([
|
|
2630
2630
|
!!t,
|
|
2631
2631
|
!!n,
|
|
2632
2632
|
r,
|
|
2633
2633
|
i
|
|
2634
|
-
]), c =
|
|
2634
|
+
]), c = oe([
|
|
2635
2635
|
!!t,
|
|
2636
2636
|
!!n,
|
|
2637
2637
|
r,
|
|
2638
2638
|
i
|
|
2639
2639
|
]);
|
|
2640
|
-
return o =
|
|
2640
|
+
return o = R(o, { "aria-describedby": [
|
|
2641
2641
|
s,
|
|
2642
2642
|
c,
|
|
2643
2643
|
e["aria-describedby"]
|
|
@@ -2732,7 +2732,7 @@ function Ki(e = !0) {
|
|
|
2732
2732
|
}, []), [i, t];
|
|
2733
2733
|
}
|
|
2734
2734
|
function qi(e = !0) {
|
|
2735
|
-
let t =
|
|
2735
|
+
let t = F(), [n, r] = Ki(e);
|
|
2736
2736
|
return {
|
|
2737
2737
|
id: r ? t : void 0,
|
|
2738
2738
|
ref: n
|
|
@@ -2791,12 +2791,12 @@ function Ji(e, t, n) {
|
|
|
2791
2791
|
a();
|
|
2792
2792
|
},
|
|
2793
2793
|
isDisabled: r || i
|
|
2794
|
-
}), { focusableProps: j } = Vn(e, n), M =
|
|
2794
|
+
}), { focusableProps: j } = Vn(e, n), M = R(E, j), N = G(e, { labelable: !0 });
|
|
2795
2795
|
Vi(n, t.defaultSelected, t.setSelected);
|
|
2796
2796
|
let ee = qi(), te = qi();
|
|
2797
2797
|
return {
|
|
2798
|
-
labelProps:
|
|
2799
|
-
inputProps:
|
|
2798
|
+
labelProps: R(A, { onClick: (e) => e.preventDefault() }),
|
|
2799
|
+
inputProps: R(N, {
|
|
2800
2800
|
checked: t.isSelected,
|
|
2801
2801
|
"aria-required": l && u === "aria" || void 0,
|
|
2802
2802
|
required: l && u === "native",
|
|
@@ -2835,7 +2835,7 @@ function Yi(e, t, n) {
|
|
|
2835
2835
|
return s(() => {
|
|
2836
2836
|
n.current && (n.current.indeterminate = !!g);
|
|
2837
2837
|
}), {
|
|
2838
|
-
labelProps:
|
|
2838
|
+
labelProps: R(r, u(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
|
|
2839
2839
|
inputProps: i,
|
|
2840
2840
|
descriptionProps: a,
|
|
2841
2841
|
errorMessageProps: o,
|
|
@@ -2920,8 +2920,8 @@ function Zi(e, t, n) {
|
|
|
2920
2920
|
//#region node_modules/react-aria-components/dist/private/Checkbox.mjs
|
|
2921
2921
|
var Qi = /*#__PURE__*/ n(null), $i = /*#__PURE__*/ n(null), ea = /*#__PURE__*/ n(null);
|
|
2922
2922
|
function ta(e, t) {
|
|
2923
|
-
let { validationBehavior: n } =
|
|
2924
|
-
...
|
|
2923
|
+
let { validationBehavior: n } = pe(Ri) || {}, r = e.validationBehavior ?? n ?? "native", i = o($i), a = z(u(() => se(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), s = {
|
|
2924
|
+
...ge(e),
|
|
2925
2925
|
children: typeof e.children == "function" ? !0 : e.children,
|
|
2926
2926
|
value: e.value,
|
|
2927
2927
|
validationBehavior: r
|
|
@@ -2930,7 +2930,7 @@ function ta(e, t) {
|
|
|
2930
2930
|
}
|
|
2931
2931
|
var na = /*#__PURE__*/ r(function(t, n) {
|
|
2932
2932
|
let { inputRef: r = null, ...i } = t;
|
|
2933
|
-
[t, n] =
|
|
2933
|
+
[t, n] = me(i, n, Qi);
|
|
2934
2934
|
let [a, o] = ta(t, r);
|
|
2935
2935
|
return /*#__PURE__*/ e.createElement(ea.Provider, { value: {
|
|
2936
2936
|
...a,
|
|
@@ -2946,7 +2946,7 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
2946
2946
|
let { labelProps: r, inputProps: i, isSelected: a, isDisabled: s, isReadOnly: c, isPressed: l, isInvalid: u, inputRef: d, defaultClassName: f, isIndeterminate: p, isRequired: m } = o(ea), { isFocused: h, isFocusVisible: g, focusProps: _ } = qr(), v = s || c, { hoverProps: y, isHovered: b } = $r({
|
|
2947
2947
|
...t,
|
|
2948
2948
|
isDisabled: v
|
|
2949
|
-
}), x =
|
|
2949
|
+
}), x = fe({
|
|
2950
2950
|
...t,
|
|
2951
2951
|
defaultClassName: f,
|
|
2952
2952
|
values: {
|
|
@@ -2962,8 +2962,8 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
2962
2962
|
isRequired: m || !1
|
|
2963
2963
|
}
|
|
2964
2964
|
}), S = G(t, { global: !0 });
|
|
2965
|
-
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(
|
|
2966
|
-
...
|
|
2965
|
+
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(B.label, {
|
|
2966
|
+
...R(S, r, y, x),
|
|
2967
2967
|
ref: n,
|
|
2968
2968
|
slot: t.slot || void 0,
|
|
2969
2969
|
"data-selected": a || void 0,
|
|
@@ -2977,21 +2977,21 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
2977
2977
|
"data-invalid": u || void 0,
|
|
2978
2978
|
"data-required": m || void 0
|
|
2979
2979
|
}, /*#__PURE__*/ e.createElement(Ti, { elementType: "span" }, /*#__PURE__*/ e.createElement("input", {
|
|
2980
|
-
...
|
|
2980
|
+
...R(i, _),
|
|
2981
2981
|
ref: d
|
|
2982
2982
|
})), x.children);
|
|
2983
2983
|
}), ia = /*#__PURE__*/ n({}), aa = /*#__PURE__*/ n({}), oa = (e) => {
|
|
2984
2984
|
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
|
|
2985
2985
|
return i;
|
|
2986
2986
|
}, sa = /*#__PURE__*/ Wn(function(t, n) {
|
|
2987
|
-
[t, n] =
|
|
2987
|
+
[t, n] = me(t, n, aa);
|
|
2988
2988
|
let { hoverProps: r, isHovered: i } = $r({
|
|
2989
2989
|
...t,
|
|
2990
2990
|
isDisabled: t.disabled
|
|
2991
2991
|
}), { isFocused: a, isFocusVisible: o, focusProps: s } = qr({
|
|
2992
2992
|
isTextInput: !0,
|
|
2993
2993
|
autoFocus: t.autoFocus
|
|
2994
|
-
}), c = !!t["aria-invalid"] && t["aria-invalid"] !== "false", l =
|
|
2994
|
+
}), c = !!t["aria-invalid"] && t["aria-invalid"] !== "false", l = fe({
|
|
2995
2995
|
...t,
|
|
2996
2996
|
values: {
|
|
2997
2997
|
isHovered: i,
|
|
@@ -3002,8 +3002,8 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
3002
3002
|
},
|
|
3003
3003
|
defaultClassName: "react-aria-Input"
|
|
3004
3004
|
});
|
|
3005
|
-
return /*#__PURE__*/ e.createElement(
|
|
3006
|
-
...
|
|
3005
|
+
return /*#__PURE__*/ e.createElement(B.input, {
|
|
3006
|
+
...R(oa(t), s, r),
|
|
3007
3007
|
...l,
|
|
3008
3008
|
ref: n,
|
|
3009
3009
|
"data-focused": a || void 0,
|
|
@@ -3029,7 +3029,7 @@ function ca(t, n) {
|
|
|
3029
3029
|
}, [C] = p(l);
|
|
3030
3030
|
return Vi(n, t.defaultValue ?? C, u), Hi(t, f, n), {
|
|
3031
3031
|
labelProps: _,
|
|
3032
|
-
inputProps:
|
|
3032
|
+
inputProps: R(x, r === "input" ? S : void 0, {
|
|
3033
3033
|
disabled: i,
|
|
3034
3034
|
readOnly: o,
|
|
3035
3035
|
required: a && c === "native",
|
|
@@ -3531,7 +3531,7 @@ function Ba(e, t) {
|
|
|
3531
3531
|
}
|
|
3532
3532
|
var Va = /* @__PURE__ */ new WeakMap();
|
|
3533
3533
|
function Ha(e) {
|
|
3534
|
-
let t =
|
|
3534
|
+
let t = F();
|
|
3535
3535
|
return Va.set(e, t), t;
|
|
3536
3536
|
}
|
|
3537
3537
|
function Ua(e) {
|
|
@@ -3749,11 +3749,11 @@ function Ja(e) {
|
|
|
3749
3749
|
keyboardDelegate: n,
|
|
3750
3750
|
selectionManager: t
|
|
3751
3751
|
});
|
|
3752
|
-
d || (k =
|
|
3752
|
+
d || (k = R(A, k));
|
|
3753
3753
|
let j;
|
|
3754
3754
|
p || (j = t.focusedKey == null ? 0 : -1);
|
|
3755
3755
|
let M = Ha(t.collection);
|
|
3756
|
-
return { collectionProps:
|
|
3756
|
+
return { collectionProps: R(k, {
|
|
3757
3757
|
tabIndex: j,
|
|
3758
3758
|
"data-collection": M
|
|
3759
3759
|
}) };
|
|
@@ -3791,13 +3791,13 @@ function Xa(e) {
|
|
|
3791
3791
|
});
|
|
3792
3792
|
}
|
|
3793
3793
|
});
|
|
3794
|
-
return { longPressProps:
|
|
3794
|
+
return { longPressProps: R(u, Si(i && !t ? o : void 0)) };
|
|
3795
3795
|
}
|
|
3796
3796
|
//#endregion
|
|
3797
3797
|
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
|
|
3798
3798
|
function Za(e) {
|
|
3799
3799
|
let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: c, isDisabled: l, onAction: u, allowsDifferentPressOrigin: d, linkBehavior: p = "action" } = e, m = ft();
|
|
3800
|
-
t =
|
|
3800
|
+
t = F(t);
|
|
3801
3801
|
let h = (e) => {
|
|
3802
3802
|
if (e.pointerType === "keyboard" && za(e)) n.toggleSelection(r);
|
|
3803
3803
|
else {
|
|
@@ -3855,7 +3855,7 @@ function Za(e) {
|
|
|
3855
3855
|
E.current = e.pointerType, O.current = D, k.current = C, b && (e.pointerType === "mouse" && !C || e.pointerType === "keyboard" && (!x || $a(e.key))) && h(e);
|
|
3856
3856
|
}, M.onPress = (e) => {
|
|
3857
3857
|
(e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && T && Qa(e.key) || e.pointerType === "mouse" && k.current) && (T ? j(e) : b && h(e));
|
|
3858
|
-
}), g["data-collection"] = Ua(n.collection), g["data-key"] = r, M.preventFocusOnPress = o, o && (M =
|
|
3858
|
+
}), g["data-collection"] = Ua(n.collection), g["data-key"] = r, M.preventFocusOnPress = o, o && (M = R(M, {
|
|
3859
3859
|
onPressStart(e) {
|
|
3860
3860
|
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
|
|
3861
3861
|
},
|
|
@@ -3883,7 +3883,7 @@ function Za(e) {
|
|
|
3883
3883
|
pt.isOpening || e.preventDefault();
|
|
3884
3884
|
} : void 0;
|
|
3885
3885
|
return {
|
|
3886
|
-
itemProps:
|
|
3886
|
+
itemProps: R(g, b || C || o && !l ? N : {}, D ? P : {}, {
|
|
3887
3887
|
onDoubleClick: te,
|
|
3888
3888
|
onDragStartCapture: ne,
|
|
3889
3889
|
onClick: re,
|
|
@@ -4985,7 +4985,7 @@ function js(e, t, n) {
|
|
|
4985
4985
|
//#endregion
|
|
4986
4986
|
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
|
|
4987
4987
|
function Ms(e, t) {
|
|
4988
|
-
let { role: n = "dialog" } = e, r =
|
|
4988
|
+
let { role: n = "dialog" } = e, r = oe();
|
|
4989
4989
|
r = e["aria-label"] ? void 0 : r;
|
|
4990
4990
|
let i = f(!1);
|
|
4991
4991
|
s(() => {
|
|
@@ -5022,32 +5022,32 @@ function Ms(e, t) {
|
|
|
5022
5022
|
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
|
|
5023
5023
|
var Ns = /*#__PURE__*/ n(null), Ps = /*#__PURE__*/ n(null), Fs = /*#__PURE__*/ r(function(t, n) {
|
|
5024
5024
|
let r = t["aria-labelledby"];
|
|
5025
|
-
[t, n] =
|
|
5025
|
+
[t, n] = me(t, n, Ns);
|
|
5026
5026
|
let { dialogProps: i, titleProps: a } = Ms({
|
|
5027
5027
|
...t,
|
|
5028
5028
|
"aria-labelledby": r
|
|
5029
5029
|
}, n), s = o(Ps);
|
|
5030
5030
|
!i["aria-label"] && !i["aria-labelledby"] && (t["aria-labelledby"] ? i["aria-labelledby"] = t["aria-labelledby"] : process.env.NODE_ENV !== "production" && console.warn("If a Dialog does not contain a <Heading slot=\"title\">, it must have an aria-label or aria-labelledby attribute for accessibility."));
|
|
5031
|
-
let c =
|
|
5031
|
+
let c = fe({
|
|
5032
5032
|
defaultClassName: "react-aria-Dialog",
|
|
5033
5033
|
className: t.className,
|
|
5034
5034
|
style: t.style,
|
|
5035
5035
|
children: t.children,
|
|
5036
5036
|
values: { close: s?.close || (() => {}) }
|
|
5037
5037
|
}), l = G(t, { global: !0 });
|
|
5038
|
-
return /*#__PURE__*/ e.createElement(
|
|
5039
|
-
...
|
|
5038
|
+
return /*#__PURE__*/ e.createElement(B.section, {
|
|
5039
|
+
...R(l, c, i),
|
|
5040
5040
|
render: t.render,
|
|
5041
5041
|
ref: n,
|
|
5042
5042
|
slot: t.slot || void 0
|
|
5043
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5044
|
-
[
|
|
5043
|
+
}, /*#__PURE__*/ e.createElement(de, { values: [[fi, { slots: {
|
|
5044
|
+
[ue]: {},
|
|
5045
5045
|
title: {
|
|
5046
5046
|
...a,
|
|
5047
5047
|
level: 2
|
|
5048
5048
|
}
|
|
5049
5049
|
} }], [li, { slots: {
|
|
5050
|
-
[
|
|
5050
|
+
[ue]: {},
|
|
5051
5051
|
close: { onPress: () => s?.close() }
|
|
5052
5052
|
} }]] }, c.children));
|
|
5053
5053
|
});
|
|
@@ -5084,7 +5084,7 @@ function Ls(e, t, n) {
|
|
|
5084
5084
|
return Mo({ isDisabled: !t.isOpen }), Ds(), s(() => {
|
|
5085
5085
|
if (t.isOpen && n.current) return wo([n.current], { shouldUseInert: !0 });
|
|
5086
5086
|
}, [t.isOpen, n]), {
|
|
5087
|
-
modalProps:
|
|
5087
|
+
modalProps: R(r),
|
|
5088
5088
|
underlayProps: i
|
|
5089
5089
|
};
|
|
5090
5090
|
}
|
|
@@ -5161,10 +5161,10 @@ var Vs = /*#__PURE__*/ n(null), Hs = /*#__PURE__*/ n(null), Us = /*#__PURE__*/ r
|
|
|
5161
5161
|
}, l));
|
|
5162
5162
|
});
|
|
5163
5163
|
function Ws(t, n) {
|
|
5164
|
-
[t, n] =
|
|
5164
|
+
[t, n] = me(t, n, Vs);
|
|
5165
5165
|
let r = o(Ps), i = Os(t), a = t.isOpen != null || t.defaultOpen != null || !r ? i : r;
|
|
5166
5166
|
a === r && process.env.NODE_ENV !== "production" && (t.onOpenChange || t.defaultOpen !== void 0 || t.isOpen !== void 0) && console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");
|
|
5167
|
-
let s =
|
|
5167
|
+
let s = z(n), c = f(null), l = As(s, a.isOpen), u = As(c, a.isOpen), d = l || u || t.isExiting || !1, p = P();
|
|
5168
5168
|
return !a.isOpen && !d || p ? null : /*#__PURE__*/ e.createElement(Ks, {
|
|
5169
5169
|
...t,
|
|
5170
5170
|
state: a,
|
|
@@ -5175,7 +5175,7 @@ function Ws(t, n) {
|
|
|
5175
5175
|
}
|
|
5176
5176
|
var Gs = /*#__PURE__*/ r(Ws);
|
|
5177
5177
|
function Ks({ UNSTABLE_portalContainer: t, ...n }) {
|
|
5178
|
-
let r = n.modalRef, { state: i } = n, { modalProps: a, underlayProps: o } = Ls(n, i, r), s = ks(n.overlayRef) || n.isEntering || !1, c =
|
|
5178
|
+
let r = n.modalRef, { state: i } = n, { modalProps: a, underlayProps: o } = Ls(n, i, r), s = ks(n.overlayRef) || n.isEntering || !1, c = fe({
|
|
5179
5179
|
...n,
|
|
5180
5180
|
defaultClassName: "react-aria-ModalOverlay",
|
|
5181
5181
|
values: {
|
|
@@ -5198,14 +5198,14 @@ function Ks({ UNSTABLE_portalContainer: t, ...n }) {
|
|
|
5198
5198
|
return /*#__PURE__*/ e.createElement(Es, {
|
|
5199
5199
|
isExiting: n.isExiting,
|
|
5200
5200
|
portalContainer: t
|
|
5201
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5202
|
-
...
|
|
5201
|
+
}, /*#__PURE__*/ e.createElement(B.div, {
|
|
5202
|
+
...R(G(n, { global: !0 }), o),
|
|
5203
5203
|
...c,
|
|
5204
5204
|
style: f,
|
|
5205
5205
|
ref: n.overlayRef,
|
|
5206
5206
|
"data-entering": s || void 0,
|
|
5207
5207
|
"data-exiting": n.isExiting || void 0
|
|
5208
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5208
|
+
}, /*#__PURE__*/ e.createElement(de, { values: [[Hs, {
|
|
5209
5209
|
modalProps: a,
|
|
5210
5210
|
modalRef: r,
|
|
5211
5211
|
isExiting: n.isExiting,
|
|
@@ -5213,7 +5213,7 @@ function Ks({ UNSTABLE_portalContainer: t, ...n }) {
|
|
|
5213
5213
|
}], [Ps, i]] }, c.children)));
|
|
5214
5214
|
}
|
|
5215
5215
|
function qs(t) {
|
|
5216
|
-
let { modalProps: n, modalRef: r, isExiting: i, isDismissable: a } = o(Hs), s = o(Ps), c =
|
|
5216
|
+
let { modalProps: n, modalRef: r, isExiting: i, isDismissable: a } = o(Hs), s = o(Ps), c = z(u(() => se(t.modalRef, r), [t.modalRef, r])), l = ks(c), d = fe({
|
|
5217
5217
|
...t,
|
|
5218
5218
|
defaultClassName: "react-aria-Modal",
|
|
5219
5219
|
values: {
|
|
@@ -5222,8 +5222,8 @@ function qs(t) {
|
|
|
5222
5222
|
state: s
|
|
5223
5223
|
}
|
|
5224
5224
|
});
|
|
5225
|
-
return /*#__PURE__*/ e.createElement(
|
|
5226
|
-
...
|
|
5225
|
+
return /*#__PURE__*/ e.createElement(B.div, {
|
|
5226
|
+
...R(G(t, { global: !0 }), n),
|
|
5227
5227
|
...d,
|
|
5228
5228
|
ref: c,
|
|
5229
5229
|
"data-entering": l || void 0,
|
|
@@ -5249,12 +5249,12 @@ function Js(e, t, n) {
|
|
|
5249
5249
|
//#region node_modules/react-aria-components/dist/private/Switch.mjs
|
|
5250
5250
|
var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r(function(t, n) {
|
|
5251
5251
|
let { inputRef: r = null, ...i } = t;
|
|
5252
|
-
[t, n] =
|
|
5253
|
-
let a =
|
|
5254
|
-
...
|
|
5252
|
+
[t, n] = me(i, n, Ys);
|
|
5253
|
+
let a = z(se(r, t.inputRef === void 0 ? null : t.inputRef)), o = Xi(t), s = Js({
|
|
5254
|
+
...ge(t),
|
|
5255
5255
|
children: typeof t.children == "function" ? !0 : t.children
|
|
5256
5256
|
}, o, a);
|
|
5257
|
-
return /*#__PURE__*/ e.createElement(
|
|
5257
|
+
return /*#__PURE__*/ e.createElement(de, { values: [[Xs, o], [Qs, {
|
|
5258
5258
|
...s,
|
|
5259
5259
|
inputRef: a,
|
|
5260
5260
|
defaultClassName: "react-aria-Switch"
|
|
@@ -5266,7 +5266,7 @@ var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r
|
|
|
5266
5266
|
let { labelProps: r, inputProps: i, isSelected: a, isDisabled: s, isReadOnly: c, isPressed: l, isInvalid: u, inputRef: d, defaultClassName: f, isRequired: p } = o(Qs), { isFocused: m, isFocusVisible: h, focusProps: g } = qr(), _ = s || c, v = o(Xs), { hoverProps: y, isHovered: b } = $r({
|
|
5267
5267
|
...t,
|
|
5268
5268
|
isDisabled: _
|
|
5269
|
-
}), x =
|
|
5269
|
+
}), x = fe({
|
|
5270
5270
|
...t,
|
|
5271
5271
|
defaultClassName: f,
|
|
5272
5272
|
values: {
|
|
@@ -5282,8 +5282,8 @@ var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r
|
|
|
5282
5282
|
state: v
|
|
5283
5283
|
}
|
|
5284
5284
|
}), S = G(t, { global: !0 });
|
|
5285
|
-
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(
|
|
5286
|
-
...
|
|
5285
|
+
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(B.label, {
|
|
5286
|
+
...R(S, r, y, x),
|
|
5287
5287
|
ref: n,
|
|
5288
5288
|
slot: t.slot || void 0,
|
|
5289
5289
|
"data-selected": a || void 0,
|
|
@@ -5296,7 +5296,7 @@ var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r
|
|
|
5296
5296
|
"data-invalid": u || void 0,
|
|
5297
5297
|
"data-required": p || void 0
|
|
5298
5298
|
}, /*#__PURE__*/ e.createElement(Ti, { elementType: "span" }, /*#__PURE__*/ e.createElement("input", {
|
|
5299
|
-
...
|
|
5299
|
+
...R(i, g),
|
|
5300
5300
|
ref: d
|
|
5301
5301
|
})), x.children);
|
|
5302
5302
|
}), ec = /* @__PURE__ */ new WeakMap();
|
|
@@ -5323,7 +5323,7 @@ function nc(e, t, n) {
|
|
|
5323
5323
|
isDisabled: l
|
|
5324
5324
|
}, n);
|
|
5325
5325
|
return {
|
|
5326
|
-
tabProps:
|
|
5326
|
+
tabProps: R(g, v, _, d, {
|
|
5327
5327
|
id: p,
|
|
5328
5328
|
"aria-selected": c,
|
|
5329
5329
|
"aria-disabled": l || void 0,
|
|
@@ -5340,7 +5340,7 @@ function nc(e, t, n) {
|
|
|
5340
5340
|
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
|
|
5341
5341
|
function rc(e, t, n) {
|
|
5342
5342
|
let r = Is(n) ? void 0 : 0, i = tc(t, e.id ?? t?.selectedKey, "tabpanel");
|
|
5343
|
-
return { tabPanelProps:
|
|
5343
|
+
return { tabPanelProps: R(Gt({
|
|
5344
5344
|
...e,
|
|
5345
5345
|
id: i,
|
|
5346
5346
|
"aria-labelledby": tc(t, t?.selectedKey, "tab")
|
|
@@ -5411,9 +5411,9 @@ function ac(e, t, n) {
|
|
|
5411
5411
|
disallowEmptySelection: !0,
|
|
5412
5412
|
scrollRef: n,
|
|
5413
5413
|
linkBehavior: "selection"
|
|
5414
|
-
}), d =
|
|
5414
|
+
}), d = F();
|
|
5415
5415
|
return ec.set(t, d), { tabListProps: {
|
|
5416
|
-
...
|
|
5416
|
+
...R(l, Gt({
|
|
5417
5417
|
...e,
|
|
5418
5418
|
id: d
|
|
5419
5419
|
})),
|
|
@@ -5476,7 +5476,7 @@ function cc(e, t) {
|
|
|
5476
5476
|
//#endregion
|
|
5477
5477
|
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
|
|
5478
5478
|
var lc = /*#__PURE__*/ n(null), uc = /*#__PURE__*/ n(null), dc = /*#__PURE__*/ r(function(t, n) {
|
|
5479
|
-
[t, n] =
|
|
5479
|
+
[t, n] = me(t, n, lc);
|
|
5480
5480
|
let { children: r, orientation: i = "horizontal" } = t;
|
|
5481
5481
|
return r = u(() => typeof r == "function" ? r({
|
|
5482
5482
|
orientation: i,
|
|
@@ -5500,20 +5500,20 @@ function fc({ props: t, tabsRef: n, collection: r }) {
|
|
|
5500
5500
|
i,
|
|
5501
5501
|
s,
|
|
5502
5502
|
c
|
|
5503
|
-
]), d =
|
|
5503
|
+
]), d = fe({
|
|
5504
5504
|
...t,
|
|
5505
5505
|
defaultClassName: "react-aria-Tabs",
|
|
5506
5506
|
values: l
|
|
5507
5507
|
}), f = G(t, { global: !0 });
|
|
5508
|
-
return /*#__PURE__*/ e.createElement(
|
|
5509
|
-
...
|
|
5508
|
+
return /*#__PURE__*/ e.createElement(B.div, {
|
|
5509
|
+
...R(f, d, o),
|
|
5510
5510
|
ref: n,
|
|
5511
5511
|
slot: t.slot || void 0,
|
|
5512
5512
|
"data-focused": s || void 0,
|
|
5513
5513
|
"data-orientation": i,
|
|
5514
5514
|
"data-focus-visible": c || void 0,
|
|
5515
5515
|
"data-disabled": a.isDisabled || void 0
|
|
5516
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5516
|
+
}, /*#__PURE__*/ e.createElement(de, { values: [[lc, t], [uc, a]] }, d.children));
|
|
5517
5517
|
}
|
|
5518
5518
|
var pc = /*#__PURE__*/ r(function(t, n) {
|
|
5519
5519
|
return o(uc) ? /*#__PURE__*/ e.createElement(mc, {
|
|
@@ -5522,11 +5522,11 @@ var pc = /*#__PURE__*/ r(function(t, n) {
|
|
|
5522
5522
|
}) : /*#__PURE__*/ e.createElement(ir, t);
|
|
5523
5523
|
});
|
|
5524
5524
|
function mc({ props: t, forwardedRef: n }) {
|
|
5525
|
-
let r = o(uc), { CollectionRoot: i } = o(lr), { orientation: a = "horizontal", keyboardActivation: s = "automatic" } =
|
|
5525
|
+
let r = o(uc), { CollectionRoot: i } = o(lr), { orientation: a = "horizontal", keyboardActivation: s = "automatic" } = pe(lc), c = z(n), { tabListProps: l } = ac({
|
|
5526
5526
|
...t,
|
|
5527
5527
|
orientation: a,
|
|
5528
5528
|
keyboardActivation: s
|
|
5529
|
-
}, r, c), u =
|
|
5529
|
+
}, r, c), u = fe({
|
|
5530
5530
|
...t,
|
|
5531
5531
|
children: null,
|
|
5532
5532
|
defaultClassName: "react-aria-TabList",
|
|
@@ -5535,8 +5535,8 @@ function mc({ props: t, forwardedRef: n }) {
|
|
|
5535
5535
|
state: r
|
|
5536
5536
|
}
|
|
5537
5537
|
}), d = G(t, { global: !0 });
|
|
5538
|
-
return delete d.id, /*#__PURE__*/ e.createElement(
|
|
5539
|
-
...
|
|
5538
|
+
return delete d.id, /*#__PURE__*/ e.createElement(B.div, {
|
|
5539
|
+
...R(d, u, l),
|
|
5540
5540
|
ref: c,
|
|
5541
5541
|
"data-orientation": a || void 0
|
|
5542
5542
|
}, /*#__PURE__*/ e.createElement(ua, null, /*#__PURE__*/ e.createElement(i, {
|
|
@@ -5549,7 +5549,7 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5549
5549
|
this.type = "item";
|
|
5550
5550
|
}
|
|
5551
5551
|
}, (t, n, r) => {
|
|
5552
|
-
let i = o(uc), a =
|
|
5552
|
+
let i = o(uc), a = z(n), { tabProps: s, isSelected: c, isDisabled: l, isPressed: u } = nc({
|
|
5553
5553
|
key: r.key,
|
|
5554
5554
|
...t
|
|
5555
5555
|
}, i, a), { focusProps: d, isFocused: f, isFocusVisible: p } = qr(), { hoverProps: m, isHovered: h } = $r({
|
|
@@ -5557,7 +5557,7 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5557
5557
|
onHoverStart: t.onHoverStart,
|
|
5558
5558
|
onHoverEnd: t.onHoverEnd,
|
|
5559
5559
|
onHoverChange: t.onHoverChange
|
|
5560
|
-
}), g =
|
|
5560
|
+
}), g = fe({
|
|
5561
5561
|
...t,
|
|
5562
5562
|
id: void 0,
|
|
5563
5563
|
children: r.rendered,
|
|
@@ -5570,9 +5570,9 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5570
5570
|
isPressed: u,
|
|
5571
5571
|
isHovered: h
|
|
5572
5572
|
}
|
|
5573
|
-
}), _ = r.props.href ?
|
|
5573
|
+
}), _ = r.props.href ? B.a : B.div, v = G(t, { global: !0 });
|
|
5574
5574
|
return delete v.id, delete v.onClick, /*#__PURE__*/ e.createElement(_, {
|
|
5575
|
-
...
|
|
5575
|
+
...R(v, g, s, d, m),
|
|
5576
5576
|
ref: a,
|
|
5577
5577
|
"data-selected": c || void 0,
|
|
5578
5578
|
"data-disabled": l || void 0,
|
|
@@ -5582,7 +5582,7 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5582
5582
|
"data-hovered": h || void 0
|
|
5583
5583
|
}, /*#__PURE__*/ e.createElement(da.Provider, { value: { isSelected: c } }, g.children));
|
|
5584
5584
|
}), gc = /*#__PURE__*/ Wn(function(t, n) {
|
|
5585
|
-
let r = o(uc), i =
|
|
5585
|
+
let r = o(uc), i = z(n), a = r.selectedKey === t.id, [s, c] = p(r.selectedKey == null ? null : a);
|
|
5586
5586
|
s == null && r.selectedKey != null ? c(a) : !a && s && c(!1);
|
|
5587
5587
|
let l = As(i, a);
|
|
5588
5588
|
return !a && !t.shouldForceMount && !l ? null : /*#__PURE__*/ e.createElement(_c, {
|
|
@@ -5593,7 +5593,7 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5593
5593
|
});
|
|
5594
5594
|
});
|
|
5595
5595
|
function _c(t) {
|
|
5596
|
-
let n = o(uc), { id: r, tabPanelRef: i, isInitiallySelected: a, isExiting: s, ...c } = t, { tabPanelProps: l } = rc(t, n, i), { focusProps: u, isFocused: d, isFocusVisible: f } = qr(), p = n.selectedKey === t.id, m = ks(i) && !a, h =
|
|
5596
|
+
let n = o(uc), { id: r, tabPanelRef: i, isInitiallySelected: a, isExiting: s, ...c } = t, { tabPanelProps: l } = rc(t, n, i), { focusProps: u, isFocused: d, isFocusVisible: f } = qr(), p = n.selectedKey === t.id, m = ks(i) && !a, h = fe({
|
|
5597
5597
|
...t,
|
|
5598
5598
|
defaultClassName: "react-aria-TabPanel",
|
|
5599
5599
|
values: {
|
|
@@ -5606,8 +5606,8 @@ function _c(t) {
|
|
|
5606
5606
|
}
|
|
5607
5607
|
}), g = G(c, { global: !0 });
|
|
5608
5608
|
delete g.id;
|
|
5609
|
-
let _ = p ?
|
|
5610
|
-
return /*#__PURE__*/ e.createElement(
|
|
5609
|
+
let _ = p ? R(g, l, u, h) : R(g, h);
|
|
5610
|
+
return /*#__PURE__*/ e.createElement(B.div, {
|
|
5611
5611
|
..._,
|
|
5612
5612
|
ref: i,
|
|
5613
5613
|
"data-focused": d || void 0,
|
|
@@ -5616,22 +5616,22 @@ function _c(t) {
|
|
|
5616
5616
|
"data-inert": p ? void 0 : "true",
|
|
5617
5617
|
"data-entering": m || void 0,
|
|
5618
5618
|
"data-exiting": s || void 0
|
|
5619
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5619
|
+
}, /*#__PURE__*/ e.createElement(de, { values: [[lc, null], [uc, null]] }, /*#__PURE__*/ e.createElement(lr.Provider, { value: or }, h.children)));
|
|
5620
5620
|
}
|
|
5621
5621
|
//#endregion
|
|
5622
5622
|
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
|
|
5623
5623
|
var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(function(t, n) {
|
|
5624
|
-
[t, n] =
|
|
5625
|
-
let { validationBehavior: r } =
|
|
5626
|
-
[t, o] =
|
|
5627
|
-
let [s, c] =
|
|
5628
|
-
...
|
|
5624
|
+
[t, n] = me(t, n, yc);
|
|
5625
|
+
let { validationBehavior: r } = pe(Ri) || {}, i = t.validationBehavior ?? r ?? "native", o = f(null);
|
|
5626
|
+
[t, o] = me(t, o, yn);
|
|
5627
|
+
let [s, c] = he(!t["aria-label"] && !t["aria-labelledby"]), [l, u] = p("input"), { labelProps: d, inputProps: m, descriptionProps: h, errorMessageProps: g, ..._ } = ca({
|
|
5628
|
+
...ge(t),
|
|
5629
5629
|
inputElementType: l,
|
|
5630
5630
|
label: c,
|
|
5631
5631
|
validationBehavior: i
|
|
5632
5632
|
}, o), v = a((e) => {
|
|
5633
5633
|
o.current = e, e && u(e instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
5634
|
-
}, [o]), y =
|
|
5634
|
+
}, [o]), y = fe({
|
|
5635
5635
|
...t,
|
|
5636
5636
|
values: {
|
|
5637
5637
|
isDisabled: t.isDisabled || !1,
|
|
@@ -5641,7 +5641,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
5641
5641
|
},
|
|
5642
5642
|
defaultClassName: "react-aria-TextField"
|
|
5643
5643
|
}), b = G(t, { global: !0 });
|
|
5644
|
-
return delete b.id, /*#__PURE__*/ e.createElement(
|
|
5644
|
+
return delete b.id, /*#__PURE__*/ e.createElement(B.div, {
|
|
5645
5645
|
...b,
|
|
5646
5646
|
...y,
|
|
5647
5647
|
ref: n,
|
|
@@ -5650,7 +5650,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
5650
5650
|
"data-invalid": _.isInvalid || void 0,
|
|
5651
5651
|
"data-readonly": t.isReadOnly || void 0,
|
|
5652
5652
|
"data-required": t.isRequired || void 0
|
|
5653
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5653
|
+
}, /*#__PURE__*/ e.createElement(de, { values: [
|
|
5654
5654
|
[ei, {
|
|
5655
5655
|
...d,
|
|
5656
5656
|
ref: s
|
|
@@ -6055,35 +6055,35 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6055
6055
|
"y",
|
|
6056
6056
|
"space",
|
|
6057
6057
|
"round"
|
|
6058
|
-
] }],
|
|
6058
|
+
] }], ie = () => [
|
|
6059
6059
|
"auto",
|
|
6060
6060
|
"cover",
|
|
6061
6061
|
"contain",
|
|
6062
6062
|
Al,
|
|
6063
6063
|
yl,
|
|
6064
6064
|
{ size: [Q, Z] }
|
|
6065
|
-
],
|
|
6065
|
+
], ae = () => [
|
|
6066
6066
|
ul,
|
|
6067
6067
|
Dl,
|
|
6068
6068
|
bl
|
|
6069
|
-
],
|
|
6069
|
+
], F = () => [
|
|
6070
6070
|
"",
|
|
6071
6071
|
"none",
|
|
6072
6072
|
"full",
|
|
6073
6073
|
l,
|
|
6074
6074
|
Q,
|
|
6075
6075
|
Z
|
|
6076
|
-
],
|
|
6076
|
+
], I = () => [
|
|
6077
6077
|
"",
|
|
6078
6078
|
X,
|
|
6079
6079
|
Dl,
|
|
6080
6080
|
bl
|
|
6081
|
-
],
|
|
6081
|
+
], oe = () => [
|
|
6082
6082
|
"solid",
|
|
6083
6083
|
"dashed",
|
|
6084
6084
|
"dotted",
|
|
6085
6085
|
"double"
|
|
6086
|
-
],
|
|
6086
|
+
], se = () => [
|
|
6087
6087
|
"normal",
|
|
6088
6088
|
"multiply",
|
|
6089
6089
|
"screen",
|
|
@@ -6100,32 +6100,32 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6100
6100
|
"saturation",
|
|
6101
6101
|
"color",
|
|
6102
6102
|
"luminosity"
|
|
6103
|
-
],
|
|
6103
|
+
], L = () => [
|
|
6104
6104
|
X,
|
|
6105
6105
|
ul,
|
|
6106
6106
|
kl,
|
|
6107
6107
|
wl
|
|
6108
|
-
],
|
|
6108
|
+
], ce = () => [
|
|
6109
6109
|
"",
|
|
6110
6110
|
"none",
|
|
6111
6111
|
m,
|
|
6112
6112
|
Q,
|
|
6113
6113
|
Z
|
|
6114
|
-
],
|
|
6114
|
+
], le = () => [
|
|
6115
6115
|
"none",
|
|
6116
6116
|
X,
|
|
6117
6117
|
Q,
|
|
6118
6118
|
Z
|
|
6119
|
-
],
|
|
6119
|
+
], R = () => [
|
|
6120
6120
|
"none",
|
|
6121
6121
|
X,
|
|
6122
6122
|
Q,
|
|
6123
6123
|
Z
|
|
6124
|
-
],
|
|
6124
|
+
], z = () => [
|
|
6125
6125
|
X,
|
|
6126
6126
|
Q,
|
|
6127
6127
|
Z
|
|
6128
|
-
],
|
|
6128
|
+
], ue = () => [
|
|
6129
6129
|
cl,
|
|
6130
6130
|
"full",
|
|
6131
6131
|
...w()
|
|
@@ -6542,7 +6542,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6542
6542
|
"line-through",
|
|
6543
6543
|
"no-underline"
|
|
6544
6544
|
],
|
|
6545
|
-
"text-decoration-style": [{ decoration: [...
|
|
6545
|
+
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
|
|
6546
6546
|
"text-decoration-thickness": [{ decoration: [
|
|
6547
6547
|
X,
|
|
6548
6548
|
"from-font",
|
|
@@ -6639,7 +6639,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6639
6639
|
] }],
|
|
6640
6640
|
"bg-position": [{ bg: ne() }],
|
|
6641
6641
|
"bg-repeat": [{ bg: re() }],
|
|
6642
|
-
"bg-size": [{ bg:
|
|
6642
|
+
"bg-size": [{ bg: ie() }],
|
|
6643
6643
|
"bg-image": [{ bg: [
|
|
6644
6644
|
"none",
|
|
6645
6645
|
{
|
|
@@ -6673,49 +6673,49 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6673
6673
|
Tl
|
|
6674
6674
|
] }],
|
|
6675
6675
|
"bg-color": [{ bg: P() }],
|
|
6676
|
-
"gradient-from-pos": [{ from:
|
|
6677
|
-
"gradient-via-pos": [{ via:
|
|
6678
|
-
"gradient-to-pos": [{ to:
|
|
6676
|
+
"gradient-from-pos": [{ from: ae() }],
|
|
6677
|
+
"gradient-via-pos": [{ via: ae() }],
|
|
6678
|
+
"gradient-to-pos": [{ to: ae() }],
|
|
6679
6679
|
"gradient-from": [{ from: P() }],
|
|
6680
6680
|
"gradient-via": [{ via: P() }],
|
|
6681
6681
|
"gradient-to": [{ to: P() }],
|
|
6682
|
-
rounded: [{ rounded:
|
|
6683
|
-
"rounded-s": [{ "rounded-s":
|
|
6684
|
-
"rounded-e": [{ "rounded-e":
|
|
6685
|
-
"rounded-t": [{ "rounded-t":
|
|
6686
|
-
"rounded-r": [{ "rounded-r":
|
|
6687
|
-
"rounded-b": [{ "rounded-b":
|
|
6688
|
-
"rounded-l": [{ "rounded-l":
|
|
6689
|
-
"rounded-ss": [{ "rounded-ss":
|
|
6690
|
-
"rounded-se": [{ "rounded-se":
|
|
6691
|
-
"rounded-ee": [{ "rounded-ee":
|
|
6692
|
-
"rounded-es": [{ "rounded-es":
|
|
6693
|
-
"rounded-tl": [{ "rounded-tl":
|
|
6694
|
-
"rounded-tr": [{ "rounded-tr":
|
|
6695
|
-
"rounded-br": [{ "rounded-br":
|
|
6696
|
-
"rounded-bl": [{ "rounded-bl":
|
|
6697
|
-
"border-w": [{ border:
|
|
6698
|
-
"border-w-x": [{ "border-x":
|
|
6699
|
-
"border-w-y": [{ "border-y":
|
|
6700
|
-
"border-w-s": [{ "border-s":
|
|
6701
|
-
"border-w-e": [{ "border-e":
|
|
6702
|
-
"border-w-bs": [{ "border-bs":
|
|
6703
|
-
"border-w-be": [{ "border-be":
|
|
6704
|
-
"border-w-t": [{ "border-t":
|
|
6705
|
-
"border-w-r": [{ "border-r":
|
|
6706
|
-
"border-w-b": [{ "border-b":
|
|
6707
|
-
"border-w-l": [{ "border-l":
|
|
6708
|
-
"divide-x": [{ "divide-x":
|
|
6682
|
+
rounded: [{ rounded: F() }],
|
|
6683
|
+
"rounded-s": [{ "rounded-s": F() }],
|
|
6684
|
+
"rounded-e": [{ "rounded-e": F() }],
|
|
6685
|
+
"rounded-t": [{ "rounded-t": F() }],
|
|
6686
|
+
"rounded-r": [{ "rounded-r": F() }],
|
|
6687
|
+
"rounded-b": [{ "rounded-b": F() }],
|
|
6688
|
+
"rounded-l": [{ "rounded-l": F() }],
|
|
6689
|
+
"rounded-ss": [{ "rounded-ss": F() }],
|
|
6690
|
+
"rounded-se": [{ "rounded-se": F() }],
|
|
6691
|
+
"rounded-ee": [{ "rounded-ee": F() }],
|
|
6692
|
+
"rounded-es": [{ "rounded-es": F() }],
|
|
6693
|
+
"rounded-tl": [{ "rounded-tl": F() }],
|
|
6694
|
+
"rounded-tr": [{ "rounded-tr": F() }],
|
|
6695
|
+
"rounded-br": [{ "rounded-br": F() }],
|
|
6696
|
+
"rounded-bl": [{ "rounded-bl": F() }],
|
|
6697
|
+
"border-w": [{ border: I() }],
|
|
6698
|
+
"border-w-x": [{ "border-x": I() }],
|
|
6699
|
+
"border-w-y": [{ "border-y": I() }],
|
|
6700
|
+
"border-w-s": [{ "border-s": I() }],
|
|
6701
|
+
"border-w-e": [{ "border-e": I() }],
|
|
6702
|
+
"border-w-bs": [{ "border-bs": I() }],
|
|
6703
|
+
"border-w-be": [{ "border-be": I() }],
|
|
6704
|
+
"border-w-t": [{ "border-t": I() }],
|
|
6705
|
+
"border-w-r": [{ "border-r": I() }],
|
|
6706
|
+
"border-w-b": [{ "border-b": I() }],
|
|
6707
|
+
"border-w-l": [{ "border-l": I() }],
|
|
6708
|
+
"divide-x": [{ "divide-x": I() }],
|
|
6709
6709
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
6710
|
-
"divide-y": [{ "divide-y":
|
|
6710
|
+
"divide-y": [{ "divide-y": I() }],
|
|
6711
6711
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
6712
6712
|
"border-style": [{ border: [
|
|
6713
|
-
...
|
|
6713
|
+
...oe(),
|
|
6714
6714
|
"hidden",
|
|
6715
6715
|
"none"
|
|
6716
6716
|
] }],
|
|
6717
6717
|
"divide-style": [{ divide: [
|
|
6718
|
-
...
|
|
6718
|
+
...oe(),
|
|
6719
6719
|
"hidden",
|
|
6720
6720
|
"none"
|
|
6721
6721
|
] }],
|
|
@@ -6732,7 +6732,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6732
6732
|
"border-color-l": [{ "border-l": P() }],
|
|
6733
6733
|
"divide-color": [{ divide: P() }],
|
|
6734
6734
|
"outline-style": [{ outline: [
|
|
6735
|
-
...
|
|
6735
|
+
...oe(),
|
|
6736
6736
|
"none",
|
|
6737
6737
|
"hidden"
|
|
6738
6738
|
] }],
|
|
@@ -6763,12 +6763,12 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6763
6763
|
El
|
|
6764
6764
|
] }],
|
|
6765
6765
|
"inset-shadow-color": [{ "inset-shadow": P() }],
|
|
6766
|
-
"ring-w": [{ ring:
|
|
6766
|
+
"ring-w": [{ ring: I() }],
|
|
6767
6767
|
"ring-w-inset": ["ring-inset"],
|
|
6768
6768
|
"ring-color": [{ ring: P() }],
|
|
6769
6769
|
"ring-offset-w": [{ "ring-offset": [X, bl] }],
|
|
6770
6770
|
"ring-offset-color": [{ "ring-offset": P() }],
|
|
6771
|
-
"inset-ring-w": [{ "inset-ring":
|
|
6771
|
+
"inset-ring-w": [{ "inset-ring": I() }],
|
|
6772
6772
|
"inset-ring-color": [{ "inset-ring": P() }],
|
|
6773
6773
|
"text-shadow": [{ "text-shadow": [
|
|
6774
6774
|
"none",
|
|
@@ -6783,11 +6783,11 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6783
6783
|
Z
|
|
6784
6784
|
] }],
|
|
6785
6785
|
"mix-blend": [{ "mix-blend": [
|
|
6786
|
-
...
|
|
6786
|
+
...se(),
|
|
6787
6787
|
"plus-darker",
|
|
6788
6788
|
"plus-lighter"
|
|
6789
6789
|
] }],
|
|
6790
|
-
"bg-blend": [{ "bg-blend":
|
|
6790
|
+
"bg-blend": [{ "bg-blend": se() }],
|
|
6791
6791
|
"mask-clip": [{ "mask-clip": [
|
|
6792
6792
|
"border",
|
|
6793
6793
|
"padding",
|
|
@@ -6803,37 +6803,37 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6803
6803
|
"exclude"
|
|
6804
6804
|
] }],
|
|
6805
6805
|
"mask-image-linear-pos": [{ "mask-linear": [X] }],
|
|
6806
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
6807
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
6806
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": L() }],
|
|
6807
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": L() }],
|
|
6808
6808
|
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
|
|
6809
6809
|
"mask-image-linear-to-color": [{ "mask-linear-to": P() }],
|
|
6810
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
6811
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
6810
|
+
"mask-image-t-from-pos": [{ "mask-t-from": L() }],
|
|
6811
|
+
"mask-image-t-to-pos": [{ "mask-t-to": L() }],
|
|
6812
6812
|
"mask-image-t-from-color": [{ "mask-t-from": P() }],
|
|
6813
6813
|
"mask-image-t-to-color": [{ "mask-t-to": P() }],
|
|
6814
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
6815
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
6814
|
+
"mask-image-r-from-pos": [{ "mask-r-from": L() }],
|
|
6815
|
+
"mask-image-r-to-pos": [{ "mask-r-to": L() }],
|
|
6816
6816
|
"mask-image-r-from-color": [{ "mask-r-from": P() }],
|
|
6817
6817
|
"mask-image-r-to-color": [{ "mask-r-to": P() }],
|
|
6818
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
6819
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
6818
|
+
"mask-image-b-from-pos": [{ "mask-b-from": L() }],
|
|
6819
|
+
"mask-image-b-to-pos": [{ "mask-b-to": L() }],
|
|
6820
6820
|
"mask-image-b-from-color": [{ "mask-b-from": P() }],
|
|
6821
6821
|
"mask-image-b-to-color": [{ "mask-b-to": P() }],
|
|
6822
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
6823
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
6822
|
+
"mask-image-l-from-pos": [{ "mask-l-from": L() }],
|
|
6823
|
+
"mask-image-l-to-pos": [{ "mask-l-to": L() }],
|
|
6824
6824
|
"mask-image-l-from-color": [{ "mask-l-from": P() }],
|
|
6825
6825
|
"mask-image-l-to-color": [{ "mask-l-to": P() }],
|
|
6826
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
6827
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
6826
|
+
"mask-image-x-from-pos": [{ "mask-x-from": L() }],
|
|
6827
|
+
"mask-image-x-to-pos": [{ "mask-x-to": L() }],
|
|
6828
6828
|
"mask-image-x-from-color": [{ "mask-x-from": P() }],
|
|
6829
6829
|
"mask-image-x-to-color": [{ "mask-x-to": P() }],
|
|
6830
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
6831
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
6830
|
+
"mask-image-y-from-pos": [{ "mask-y-from": L() }],
|
|
6831
|
+
"mask-image-y-to-pos": [{ "mask-y-to": L() }],
|
|
6832
6832
|
"mask-image-y-from-color": [{ "mask-y-from": P() }],
|
|
6833
6833
|
"mask-image-y-to-color": [{ "mask-y-to": P() }],
|
|
6834
6834
|
"mask-image-radial": [{ "mask-radial": [Q, Z] }],
|
|
6835
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
6836
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
6835
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": L() }],
|
|
6836
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": L() }],
|
|
6837
6837
|
"mask-image-radial-from-color": [{ "mask-radial-from": P() }],
|
|
6838
6838
|
"mask-image-radial-to-color": [{ "mask-radial-to": P() }],
|
|
6839
6839
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -6843,8 +6843,8 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6843
6843
|
}] }],
|
|
6844
6844
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
6845
6845
|
"mask-image-conic-pos": [{ "mask-conic": [X] }],
|
|
6846
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
6847
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
6846
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": L() }],
|
|
6847
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": L() }],
|
|
6848
6848
|
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
|
|
6849
6849
|
"mask-image-conic-to-color": [{ "mask-conic-to": P() }],
|
|
6850
6850
|
"mask-mode": [{ mask: [
|
|
@@ -6862,7 +6862,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6862
6862
|
] }],
|
|
6863
6863
|
"mask-position": [{ mask: ne() }],
|
|
6864
6864
|
"mask-repeat": [{ mask: re() }],
|
|
6865
|
-
"mask-size": [{ mask:
|
|
6865
|
+
"mask-size": [{ mask: ie() }],
|
|
6866
6866
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
6867
6867
|
"mask-image": [{ mask: [
|
|
6868
6868
|
"none",
|
|
@@ -6875,7 +6875,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6875
6875
|
Q,
|
|
6876
6876
|
Z
|
|
6877
6877
|
] }],
|
|
6878
|
-
blur: [{ blur:
|
|
6878
|
+
blur: [{ blur: ce() }],
|
|
6879
6879
|
brightness: [{ brightness: [
|
|
6880
6880
|
X,
|
|
6881
6881
|
Q,
|
|
@@ -6928,7 +6928,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6928
6928
|
Q,
|
|
6929
6929
|
Z
|
|
6930
6930
|
] }],
|
|
6931
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
6931
|
+
"backdrop-blur": [{ "backdrop-blur": ce() }],
|
|
6932
6932
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
6933
6933
|
X,
|
|
6934
6934
|
Q,
|
|
@@ -7021,18 +7021,18 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
7021
7021
|
Z
|
|
7022
7022
|
] }],
|
|
7023
7023
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
7024
|
-
rotate: [{ rotate:
|
|
7025
|
-
"rotate-x": [{ "rotate-x":
|
|
7026
|
-
"rotate-y": [{ "rotate-y":
|
|
7027
|
-
"rotate-z": [{ "rotate-z":
|
|
7028
|
-
scale: [{ scale:
|
|
7029
|
-
"scale-x": [{ "scale-x":
|
|
7030
|
-
"scale-y": [{ "scale-y":
|
|
7031
|
-
"scale-z": [{ "scale-z":
|
|
7024
|
+
rotate: [{ rotate: le() }],
|
|
7025
|
+
"rotate-x": [{ "rotate-x": le() }],
|
|
7026
|
+
"rotate-y": [{ "rotate-y": le() }],
|
|
7027
|
+
"rotate-z": [{ "rotate-z": le() }],
|
|
7028
|
+
scale: [{ scale: R() }],
|
|
7029
|
+
"scale-x": [{ "scale-x": R() }],
|
|
7030
|
+
"scale-y": [{ "scale-y": R() }],
|
|
7031
|
+
"scale-z": [{ "scale-z": R() }],
|
|
7032
7032
|
"scale-3d": ["scale-3d"],
|
|
7033
|
-
skew: [{ skew:
|
|
7034
|
-
"skew-x": [{ "skew-x":
|
|
7035
|
-
"skew-y": [{ "skew-y":
|
|
7033
|
+
skew: [{ skew: z() }],
|
|
7034
|
+
"skew-x": [{ "skew-x": z() }],
|
|
7035
|
+
"skew-y": [{ "skew-y": z() }],
|
|
7036
7036
|
transform: [{ transform: [
|
|
7037
7037
|
Q,
|
|
7038
7038
|
Z,
|
|
@@ -7043,10 +7043,10 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
7043
7043
|
] }],
|
|
7044
7044
|
"transform-origin": [{ origin: x() }],
|
|
7045
7045
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
7046
|
-
translate: [{ translate:
|
|
7047
|
-
"translate-x": [{ "translate-x":
|
|
7048
|
-
"translate-y": [{ "translate-y":
|
|
7049
|
-
"translate-z": [{ "translate-z":
|
|
7046
|
+
translate: [{ translate: ue() }],
|
|
7047
|
+
"translate-x": [{ "translate-x": ue() }],
|
|
7048
|
+
"translate-y": [{ "translate-y": ue() }],
|
|
7049
|
+
"translate-z": [{ "translate-z": ue() }],
|
|
7050
7050
|
"translate-none": ["translate-none"],
|
|
7051
7051
|
zoom: [{ zoom: [
|
|
7052
7052
|
ll,
|
|
@@ -7479,11 +7479,15 @@ var Gl = (t) => e.createElement("svg", Object.assign({
|
|
|
7479
7479
|
}, Zl = ({ name: e, size: t = "L", className: n = "", onClick: r, color: i, role: a, "aria-label": o }) => {
|
|
7480
7480
|
let s = Yl[e];
|
|
7481
7481
|
if (!s) return null;
|
|
7482
|
-
let c = Xl[t], l = a ?? "img"
|
|
7482
|
+
let c = Xl[t], l = a ?? "img", u = a === "button", d = u ? (e) => {
|
|
7483
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), r?.());
|
|
7484
|
+
} : void 0;
|
|
7483
7485
|
return /* @__PURE__ */ b("span", {
|
|
7484
|
-
className: $("icon",
|
|
7486
|
+
className: $("icon", u && "icon--button", n),
|
|
7485
7487
|
onClick: r,
|
|
7488
|
+
onKeyDown: d,
|
|
7486
7489
|
role: l,
|
|
7490
|
+
tabIndex: u ? 0 : void 0,
|
|
7487
7491
|
"aria-label": o || `${e} icon`,
|
|
7488
7492
|
style: i ? { color: i } : void 0,
|
|
7489
7493
|
children: /* @__PURE__ */ b(s, {
|
|
@@ -7757,8 +7761,6 @@ var pu = ({ prompt: e = "C:\\>", onCommand: t, autoFocus: n = !1, className: r =
|
|
|
7757
7761
|
onClick: () => {
|
|
7758
7762
|
!a && l.current && l.current.focus();
|
|
7759
7763
|
},
|
|
7760
|
-
role: "textbox",
|
|
7761
|
-
"aria-label": "Command prompt",
|
|
7762
7764
|
children: [/* @__PURE__ */ b("span", {
|
|
7763
7765
|
className: "command-prompt__prompt",
|
|
7764
7766
|
"aria-hidden": "true",
|
|
@@ -9134,7 +9136,7 @@ var Pd = {
|
|
|
9134
9136
|
}), a && /* @__PURE__ */ b(K, {
|
|
9135
9137
|
className: "eidotter-tag__close",
|
|
9136
9138
|
"aria-label": "Remove " + (typeof e == "string" ? e : "tag"),
|
|
9137
|
-
excludeFromTabOrder:
|
|
9139
|
+
excludeFromTabOrder: f,
|
|
9138
9140
|
onPress: _,
|
|
9139
9141
|
isDisabled: o,
|
|
9140
9142
|
children: "[x]"
|
|
@@ -9287,24 +9289,32 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9287
9289
|
zoomLevel: n,
|
|
9288
9290
|
defaultZoomLevel: r,
|
|
9289
9291
|
onZoomChange: i
|
|
9290
|
-
}), { selectedEntryId: re, toggle:
|
|
9292
|
+
}), { selectedEntryId: re, toggle: ie, deselect: ae } = Ku({
|
|
9291
9293
|
selectedEntryId: o,
|
|
9292
9294
|
defaultSelectedEntryId: c,
|
|
9293
9295
|
onSelectEntry: l
|
|
9294
|
-
}),
|
|
9296
|
+
}), F = u(() => yd(e, k, d), [
|
|
9295
9297
|
e,
|
|
9296
9298
|
k,
|
|
9297
9299
|
d
|
|
9298
|
-
]),
|
|
9300
|
+
]), I = M.length > 0 ? [
|
|
9299
9301
|
"year",
|
|
9300
9302
|
"month",
|
|
9301
9303
|
"day",
|
|
9302
9304
|
"hour"
|
|
9303
|
-
][M.length - 1] : null,
|
|
9304
|
-
|
|
9305
|
+
][M.length - 1] : null, oe = u(() => N && I ? vd(F, N, I) : F, [
|
|
9306
|
+
F,
|
|
9305
9307
|
N,
|
|
9306
|
-
|
|
9307
|
-
])
|
|
9308
|
+
I
|
|
9309
|
+
]), se = a((e) => {
|
|
9310
|
+
A && (te(e.periodStart, e.label), O(`Showing ${k === "year" ? "months" : k === "month" ? "days" : "hours"} in ${e.label}`));
|
|
9311
|
+
}, [
|
|
9312
|
+
A,
|
|
9313
|
+
te,
|
|
9314
|
+
k
|
|
9315
|
+
]), L = a(() => {
|
|
9316
|
+
oe.length > 0 && se(oe[0]);
|
|
9317
|
+
}, [oe, se]);
|
|
9308
9318
|
s(() => {
|
|
9309
9319
|
if (w || !m) return;
|
|
9310
9320
|
let e = T.current;
|
|
@@ -9328,67 +9338,62 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9328
9338
|
let e = (e) => {
|
|
9329
9339
|
if (!T.current?.contains(document.activeElement) && document.activeElement !== T.current) return;
|
|
9330
9340
|
let t = e.ctrlKey || e.metaKey;
|
|
9331
|
-
t && e.key === "-" ? (e.preventDefault(), P()) : t && e.key === "0" ? (e.preventDefault(), ne(), O("Showing all years")) : e.key === "Escape" && (e.preventDefault(),
|
|
9341
|
+
t && (e.key === "=" || e.key === "+") ? (e.preventDefault(), L()) : t && e.key === "-" ? (e.preventDefault(), P()) : t && e.key === "0" ? (e.preventDefault(), ne(), O("Showing all years")) : e.key === "Escape" && (e.preventDefault(), ae());
|
|
9332
9342
|
};
|
|
9333
9343
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9334
9344
|
}, [
|
|
9335
9345
|
w,
|
|
9336
9346
|
h,
|
|
9347
|
+
L,
|
|
9337
9348
|
P,
|
|
9338
9349
|
ne,
|
|
9339
|
-
|
|
9350
|
+
ae
|
|
9340
9351
|
]);
|
|
9341
|
-
let
|
|
9342
|
-
A && (te(e.periodStart, e.label), O(`Showing ${k === "year" ? "months" : k === "month" ? "days" : "hours"} in ${e.label}`));
|
|
9343
|
-
}, [
|
|
9344
|
-
A,
|
|
9345
|
-
te,
|
|
9346
|
-
k
|
|
9347
|
-
]), z = f(M.length);
|
|
9352
|
+
let ce = a((e) => se(e), [se]), le = f(M.length);
|
|
9348
9353
|
s(() => {
|
|
9349
|
-
if (M.length !==
|
|
9350
|
-
|
|
9354
|
+
if (M.length !== le.current) {
|
|
9355
|
+
le.current = M.length;
|
|
9351
9356
|
let e = E.current?.querySelector(".eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role=\"button\"]");
|
|
9352
9357
|
e && requestAnimationFrame(() => e.focus());
|
|
9353
9358
|
}
|
|
9354
9359
|
}, [M.length]);
|
|
9355
|
-
let
|
|
9360
|
+
let R = u(() => w ? [...e].sort((e, t) => {
|
|
9356
9361
|
let n = e.date.localeCompare(t.date);
|
|
9357
9362
|
return d === "desc" ? -n : n;
|
|
9358
9363
|
}) : e, [
|
|
9359
9364
|
w,
|
|
9360
9365
|
e,
|
|
9361
9366
|
d
|
|
9362
|
-
]),
|
|
9367
|
+
]), z = Math.max(1, _), [ue, de] = p(z);
|
|
9363
9368
|
s(() => {
|
|
9364
|
-
C &&
|
|
9365
|
-
let t =
|
|
9366
|
-
return t === 0 ?
|
|
9369
|
+
C && de((e) => {
|
|
9370
|
+
let t = R.length;
|
|
9371
|
+
return t === 0 ? z : e > t ? Math.max(z, t) : e;
|
|
9367
9372
|
});
|
|
9368
9373
|
}, [
|
|
9369
9374
|
C,
|
|
9370
|
-
|
|
9371
|
-
|
|
9375
|
+
z,
|
|
9376
|
+
R.length
|
|
9372
9377
|
]);
|
|
9373
|
-
let
|
|
9378
|
+
let fe = u(() => C ? R.slice(0, ue) : R, [
|
|
9374
9379
|
C,
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
]),
|
|
9378
|
-
let e = Math.min(
|
|
9379
|
-
e <=
|
|
9380
|
+
R,
|
|
9381
|
+
ue
|
|
9382
|
+
]), pe = C && ue < R.length, me = a(() => {
|
|
9383
|
+
let e = Math.min(ue + z, R.length);
|
|
9384
|
+
e <= ue || (de(e), v?.(e));
|
|
9380
9385
|
}, [
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9386
|
+
ue,
|
|
9387
|
+
z,
|
|
9388
|
+
R.length,
|
|
9384
9389
|
v
|
|
9385
|
-
]),
|
|
9390
|
+
]), he = u(() => new Intl.DateTimeFormat("en-US", {
|
|
9386
9391
|
year: "numeric",
|
|
9387
9392
|
month: "short",
|
|
9388
9393
|
day: "numeric"
|
|
9389
|
-
}), []),
|
|
9394
|
+
}), []), ge = (e) => {
|
|
9390
9395
|
try {
|
|
9391
|
-
return
|
|
9396
|
+
return he.format(new Date(e));
|
|
9392
9397
|
} catch {
|
|
9393
9398
|
return e;
|
|
9394
9399
|
}
|
|
@@ -9412,7 +9417,7 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9412
9417
|
zoomLevel: k,
|
|
9413
9418
|
canZoomIn: A,
|
|
9414
9419
|
canZoomOut: j,
|
|
9415
|
-
onZoomIn:
|
|
9420
|
+
onZoomIn: L,
|
|
9416
9421
|
onZoomOut: P,
|
|
9417
9422
|
onReset: ne,
|
|
9418
9423
|
breadcrumbs: ee ? M : [],
|
|
@@ -9431,7 +9436,7 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9431
9436
|
className: "eidotter-timeline-container__static",
|
|
9432
9437
|
role: "list",
|
|
9433
9438
|
"aria-label": "Timeline",
|
|
9434
|
-
children:
|
|
9439
|
+
children: R.map((e) => {
|
|
9435
9440
|
let t = () => /* @__PURE__ */ b(kd, {
|
|
9436
9441
|
entry: e,
|
|
9437
9442
|
isSelected: !1,
|
|
@@ -9446,7 +9451,7 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9446
9451
|
shape: "circle",
|
|
9447
9452
|
size: "medium",
|
|
9448
9453
|
variant: "default",
|
|
9449
|
-
label:
|
|
9454
|
+
label: ge(e.date),
|
|
9450
9455
|
labelPosition: "right"
|
|
9451
9456
|
})
|
|
9452
9457
|
}), g ? g(e, {
|
|
@@ -9460,12 +9465,12 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9460
9465
|
className: "eidotter-timeline-container__feed",
|
|
9461
9466
|
role: "list",
|
|
9462
9467
|
"aria-label": "Timeline",
|
|
9463
|
-
children:
|
|
9468
|
+
children: fe.map((e) => {
|
|
9464
9469
|
let t = re === e.id, n = () => /* @__PURE__ */ b(kd, {
|
|
9465
9470
|
entry: e,
|
|
9466
9471
|
isSelected: t,
|
|
9467
9472
|
isExpanded: t,
|
|
9468
|
-
onSelect:
|
|
9473
|
+
onSelect: ie
|
|
9469
9474
|
});
|
|
9470
9475
|
return /* @__PURE__ */ x("div", {
|
|
9471
9476
|
className: "eidotter-timeline-container__feed-entry",
|
|
@@ -9476,7 +9481,7 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9476
9481
|
shape: "circle",
|
|
9477
9482
|
size: "medium",
|
|
9478
9483
|
variant: "default",
|
|
9479
|
-
label:
|
|
9484
|
+
label: ge(e.date),
|
|
9480
9485
|
labelPosition: "right"
|
|
9481
9486
|
})
|
|
9482
9487
|
}), g ? g(e, {
|
|
@@ -9486,13 +9491,13 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9486
9491
|
}) : n()]
|
|
9487
9492
|
}, e.id);
|
|
9488
9493
|
})
|
|
9489
|
-
}),
|
|
9494
|
+
}), pe && /* @__PURE__ */ b("button", {
|
|
9490
9495
|
type: "button",
|
|
9491
9496
|
className: "eidotter-timeline-container__load-more",
|
|
9492
|
-
onClick:
|
|
9493
|
-
"aria-label": `Load more entries (showing ${
|
|
9497
|
+
onClick: me,
|
|
9498
|
+
"aria-label": `Load more entries (showing ${ue} of ${R.length})`,
|
|
9494
9499
|
children: "LOAD MORE..."
|
|
9495
|
-
})] }) :
|
|
9500
|
+
})] }) : oe.length === 0 && N ? /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ x("div", {
|
|
9496
9501
|
className: "eidotter-timeline-container__empty",
|
|
9497
9502
|
role: "status",
|
|
9498
9503
|
children: [/* @__PURE__ */ x("p", { children: [
|
|
@@ -9502,10 +9507,10 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9502
9507
|
] }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9503
9508
|
}) }) : /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ b(Bd, {
|
|
9504
9509
|
zoomLevel: k,
|
|
9505
|
-
buckets:
|
|
9510
|
+
buckets: oe,
|
|
9506
9511
|
selectedEntryId: re,
|
|
9507
|
-
onEntrySelect:
|
|
9508
|
-
onBucketClick:
|
|
9512
|
+
onEntrySelect: ie,
|
|
9513
|
+
onBucketClick: ce,
|
|
9509
9514
|
renderEntry: g
|
|
9510
9515
|
}) })
|
|
9511
9516
|
})
|
|
@@ -9811,45 +9816,48 @@ var Zd = {
|
|
|
9811
9816
|
"aria-hidden": "true",
|
|
9812
9817
|
children: y ? "[-]" : "[+]"
|
|
9813
9818
|
})]
|
|
9814
|
-
}), /* @__PURE__ */
|
|
9819
|
+
}), /* @__PURE__ */ b("span", {
|
|
9815
9820
|
id: g,
|
|
9816
9821
|
className: "eidotter-inline-expand__content",
|
|
9817
9822
|
role: "region",
|
|
9818
9823
|
inert: !y,
|
|
9819
|
-
children:
|
|
9820
|
-
className: "eidotter-inline-
|
|
9821
|
-
children:
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9824
|
+
children: /* @__PURE__ */ x("span", {
|
|
9825
|
+
className: "eidotter-inline-expand__content-clip",
|
|
9826
|
+
children: [/* @__PURE__ */ b("span", {
|
|
9827
|
+
className: "eidotter-inline-expand__inner",
|
|
9828
|
+
children: t
|
|
9829
|
+
}), a.length > 0 && /* @__PURE__ */ b("span", {
|
|
9830
|
+
className: "eidotter-inline-expand__sources",
|
|
9831
|
+
role: "list",
|
|
9832
|
+
children: a.map((e) => /* @__PURE__ */ b("span", {
|
|
9833
|
+
className: "eidotter-inline-expand__source-item",
|
|
9834
|
+
role: "listitem",
|
|
9835
|
+
children: /* @__PURE__ */ x("a", {
|
|
9836
|
+
href: $d(e.url) ? e.url : void 0,
|
|
9837
|
+
className: "eidotter-inline-expand__source-link",
|
|
9838
|
+
target: "_blank",
|
|
9839
|
+
rel: "noopener noreferrer",
|
|
9840
|
+
"aria-label": `${e.title} (opens external website)`,
|
|
9841
|
+
children: [h.current && e.favicon && $d(e.favicon) && !d.has(e.url) ? /* @__PURE__ */ b("img", {
|
|
9842
|
+
className: "eidotter-inline-expand__source-favicon",
|
|
9843
|
+
src: e.favicon,
|
|
9844
|
+
alt: "",
|
|
9845
|
+
width: 16,
|
|
9846
|
+
height: 16,
|
|
9847
|
+
decoding: "async",
|
|
9848
|
+
onError: () => m((t) => new Set(t).add(e.url))
|
|
9849
|
+
}) : /* @__PURE__ */ b("span", {
|
|
9850
|
+
className: "eidotter-inline-expand__source-icon",
|
|
9851
|
+
"aria-hidden": "true",
|
|
9852
|
+
children: "[→]"
|
|
9853
|
+
}), /* @__PURE__ */ b("span", {
|
|
9854
|
+
className: "eidotter-inline-expand__source-title",
|
|
9855
|
+
children: e.title
|
|
9856
|
+
})]
|
|
9857
|
+
})
|
|
9858
|
+
}, e.url))
|
|
9859
|
+
})]
|
|
9860
|
+
})
|
|
9853
9861
|
})]
|
|
9854
9862
|
});
|
|
9855
9863
|
}, tf = {
|
|
@@ -9890,24 +9898,28 @@ var af = {
|
|
|
9890
9898
|
children: /* @__PURE__ */ b(a, {
|
|
9891
9899
|
href: e.href,
|
|
9892
9900
|
className: $("eidotter-nav__link", t === e.href && "eidotter-nav__link--active"),
|
|
9901
|
+
"aria-current": t === e.href ? "page" : void 0,
|
|
9893
9902
|
children: e.label
|
|
9894
9903
|
})
|
|
9895
9904
|
}, e.href))
|
|
9896
9905
|
})
|
|
9897
9906
|
});
|
|
9898
9907
|
}, sf = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9899
|
-
let [o, c] = p(!1), l = r || "a", u = a(() => c((e) => !e), []),
|
|
9908
|
+
let [o, c] = p(!1), l = r || "a", u = f(null), d = f(null), m = f(null), h = f(!1), g = a(() => c((e) => !e), []), _ = a(() => c(!1), []);
|
|
9900
9909
|
return s(() => {
|
|
9901
9910
|
if (!o) return;
|
|
9902
9911
|
let e = (e) => {
|
|
9903
|
-
e.key === "Escape" &&
|
|
9912
|
+
e.key === "Escape" && _();
|
|
9904
9913
|
};
|
|
9905
9914
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9906
|
-
}, [o,
|
|
9915
|
+
}, [o, _]), s(() => {
|
|
9916
|
+
o ? d.current?.focus() : h.current && u.current?.focus(), h.current = o;
|
|
9917
|
+
}, [o]), /* @__PURE__ */ x("div", {
|
|
9907
9918
|
className: $("eidotter-nav eidotter-nav--mobile", af[n], i),
|
|
9908
9919
|
children: [
|
|
9909
9920
|
/* @__PURE__ */ b("button", {
|
|
9910
|
-
|
|
9921
|
+
ref: u,
|
|
9922
|
+
onClick: g,
|
|
9911
9923
|
className: "eidotter-nav__menu-trigger",
|
|
9912
9924
|
"aria-label": o ? "Close menu" : "Open menu",
|
|
9913
9925
|
"aria-expanded": o,
|
|
@@ -9916,17 +9928,27 @@ var af = {
|
|
|
9916
9928
|
}),
|
|
9917
9929
|
o && /* @__PURE__ */ b("div", {
|
|
9918
9930
|
className: "eidotter-nav__overlay",
|
|
9919
|
-
onClick:
|
|
9931
|
+
onClick: _,
|
|
9920
9932
|
"aria-hidden": "true"
|
|
9921
9933
|
}),
|
|
9922
9934
|
/* @__PURE__ */ x("nav", {
|
|
9935
|
+
ref: m,
|
|
9923
9936
|
id: "eidotter-mobile-nav-panel",
|
|
9924
9937
|
className: $("eidotter-nav__panel", o && "eidotter-nav__panel--open"),
|
|
9925
9938
|
"aria-label": "Mobile navigation",
|
|
9939
|
+
inert: !o,
|
|
9940
|
+
onKeyDown: (e) => {
|
|
9941
|
+
if (e.key !== "Tab" || !o) return;
|
|
9942
|
+
let t = m.current?.querySelectorAll("a[href], button:not([disabled])");
|
|
9943
|
+
if (!t || t.length === 0) return;
|
|
9944
|
+
let n = t[0], r = t[t.length - 1];
|
|
9945
|
+
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
|
|
9946
|
+
},
|
|
9926
9947
|
children: [/* @__PURE__ */ b("div", {
|
|
9927
9948
|
className: "eidotter-nav__panel-header",
|
|
9928
9949
|
children: /* @__PURE__ */ b("button", {
|
|
9929
|
-
|
|
9950
|
+
ref: d,
|
|
9951
|
+
onClick: _,
|
|
9930
9952
|
className: "eidotter-nav__close",
|
|
9931
9953
|
"aria-label": "Close menu",
|
|
9932
9954
|
children: /* @__PURE__ */ b(Zl, {
|
|
@@ -9941,7 +9963,8 @@ var af = {
|
|
|
9941
9963
|
children: /* @__PURE__ */ b(l, {
|
|
9942
9964
|
href: e.href,
|
|
9943
9965
|
className: $("eidotter-nav__link", t === e.href && "eidotter-nav__link--active"),
|
|
9944
|
-
|
|
9966
|
+
"aria-current": t === e.href ? "page" : void 0,
|
|
9967
|
+
onClick: _,
|
|
9945
9968
|
children: e.label
|
|
9946
9969
|
})
|
|
9947
9970
|
}, e.href))
|
|
@@ -11522,6 +11545,6 @@ function op(e) {
|
|
|
11522
11545
|
}
|
|
11523
11546
|
//#endregion
|
|
11524
11547
|
//#region src/index.ts
|
|
11525
|
-
var sp = "0.
|
|
11548
|
+
var sp = "0.30.0";
|
|
11526
11549
|
//#endregion
|
|
11527
11550
|
export { jf as AIText, ou as AccordionFill, Hf as AddressBlock, iu as Alert, Au as Badge, Af as BrandLockup, Nu as Breadcrumb, lu as Button, du as Card, pf as ChatContainer, df as ChatHistory, ff as ChatInput, uf as ChatMessage, fu as Checkbox, Df as CmdPalette, pu as CommandPrompt, Jf as DatenschutzController, Qf as DatenschutzEncryption, Zf as DatenschutzFonts, Yf as DatenschutzHosting, Xf as DatenschutzPostHog, $f as DatenschutzRights, of as DesktopNav, Cf as DosFigure, Qd as FilterBar, hf as Footer, _f as Header, Zl as Icon, Uf as ImpressumAddress, Wf as ImpressumContact, Kf as ImpressumLiabilityContent, qf as ImpressumLiabilityLinks, Gf as ImpressumResponsible, ef as InlineExpand, Sf as InlineLink, Cu as Input, zf as LegalPage, Cd as Lightbox, Of as Logo, sf as MobileNav, Hd as Modal, cf as Nav, yf as Notification, xu as Progress, Ru as RetroEffects, au as Section, nf as Separator, Rf as Skeleton, Xd as Stat, ju as Switch, Du as Tabs, Fd as Tag, Ld as TagGroup, wu as Terminal, rf as TextScramble, Vd as TimelineContainer, Uu as TimelineNode, kf as Wordmark, Wu as ZOOM_LEVELS, tp as componentRegistry, mf as defaultLegalLinks, np as getComponentMeta, ip as getComponentsByConsumer, rp as getComponentsByOrigin, op as getVariantConsumerMap, ap as getVariantsUsedBy, $d as isSafeUrl, ep as projects, Gd as useTextScramble, sp as version };
|