eidotter 0.28.0 → 0.29.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/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), F = /* @__PURE__ */ new Map(),
|
|
76
|
-
typeof FinalizationRegistry < "u" && (
|
|
75
|
+
var re = !!(typeof window < "u" && window.document && window.document.createElement), F = /* @__PURE__ */ new Map(), I;
|
|
76
|
+
typeof FinalizationRegistry < "u" && (I = new FinalizationRegistry((e) => {
|
|
77
77
|
F.delete(e);
|
|
78
78
|
}));
|
|
79
|
-
function
|
|
79
|
+
function L(e) {
|
|
80
80
|
let [t, n] = p(e), r = f(null), i = M(t), a = f(null);
|
|
81
|
-
if (
|
|
81
|
+
if (I && I.register(a, i), re) {
|
|
82
82
|
let e = F.get(i);
|
|
83
83
|
e && !e.includes(r) ? e.push(r) : F.set(i, [r]);
|
|
84
84
|
}
|
|
85
85
|
return C(() => {
|
|
86
86
|
let e = i;
|
|
87
87
|
return () => {
|
|
88
|
-
|
|
88
|
+
I && I.unregister(a), F.delete(e);
|
|
89
89
|
};
|
|
90
90
|
}, [i]), s(() => {
|
|
91
91
|
let e = r.current;
|
|
@@ -94,15 +94,15 @@ function I(e) {
|
|
|
94
94
|
};
|
|
95
95
|
}), i;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function R(e, t) {
|
|
98
98
|
if (e === t) return e;
|
|
99
99
|
let n = F.get(e);
|
|
100
100
|
if (n) return n.forEach((e) => e.current = t), t;
|
|
101
101
|
let r = F.get(t);
|
|
102
102
|
return r ? (r.forEach((t) => t.current = e), e) : t;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
let t =
|
|
104
|
+
function ie(e = []) {
|
|
105
|
+
let t = L(), [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 ae(e = []) {
|
|
|
115
115
|
}
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
|
|
118
|
-
function
|
|
118
|
+
function ae(...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 = z(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() : z(e[n], null);
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function z(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 oe(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 = oe(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 se() {
|
|
147
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = oe(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 B(...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] = se(n, i) : e === "id" && n && i ? t.id = R(n, i) : e === "ref" && n && i ? t.ref = ae(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 ce(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 le(e) {
|
|
|
184
184
|
}
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region node_modules/react-aria-components/dist/private/utils.mjs
|
|
187
|
-
var
|
|
188
|
-
function
|
|
187
|
+
var le = Symbol("default");
|
|
188
|
+
function ue({ 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 de(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 fe(e) {
|
|
|
223
223
|
c
|
|
224
224
|
]);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function fe(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 || le;
|
|
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 pe(e, t) {
|
|
|
236
236
|
}
|
|
237
237
|
return n;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
let { ref: r, ...i } =
|
|
239
|
+
function pe(e, t, n) {
|
|
240
|
+
let { ref: r, ...i } = fe(n, e.slot) || {}, a = ce(u(() => ae(t, r), [t, r])), o = B(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 me(e, t, n) {
|
|
|
255
255
|
...e.style
|
|
256
256
|
}), [o, a];
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function me(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 he(e = !0) {
|
|
|
263
263
|
r.current || n(!1);
|
|
264
264
|
}, []), [i, t];
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function he(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 ge(t, n, r) {
|
|
272
|
+
let { render: i, ...a } = n, o = f(null), s = u(() => ae(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 _e(t, n, r) {
|
|
|
279
279
|
};
|
|
280
280
|
return i ? i(c, void 0) : /*#__PURE__*/ e.createElement(t, c);
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var _e = {}, ve = new Proxy({}, { get(e, t) {
|
|
283
283
|
if (typeof t != "string") return;
|
|
284
|
-
let n =
|
|
285
|
-
return n || (n = /*#__PURE__*/ r(
|
|
284
|
+
let n = _e[t];
|
|
285
|
+
return n || (n = /*#__PURE__*/ r(ge.bind(null, t)), _e[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 = L(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 = B(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: B({
|
|
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 = B(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: B(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] = pe(t, n, ei);
|
|
2215
|
+
let { elementType: r = "label", ...i } = t, a = ve[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 = L(t);
|
|
2227
|
+
let o = L(), 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 = B(y, _, G(e, { labelable: !0 }));
|
|
2323
2323
|
return {
|
|
2324
2324
|
isPressed: v,
|
|
2325
|
-
buttonProps:
|
|
2325
|
+
buttonProps: B(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] = pe(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 = de({
|
|
2352
2352
|
...t,
|
|
2353
2353
|
values: m,
|
|
2354
2354
|
defaultClassName: "react-aria-Button"
|
|
2355
|
-
}), g =
|
|
2355
|
+
}), g = L(a.id), _ = L(), 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(ve.button, {
|
|
2369
|
+
...B(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] = pe(t, n, pi);
|
|
2395
|
+
let { elementType: r = "span", ...i } = t, a = ve[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, F = h + (f ? 0 : D) + C,
|
|
2429
|
-
u.direction === "rtl" && !rt() ? F += te :
|
|
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, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;
|
|
2429
|
+
u.direction === "rtl" && !rt() ? F += te : I -= te;
|
|
2430
|
+
let L = k < ne || A > re, R = j < F || M > I;
|
|
2431
|
+
if (L && r === "start") a += k - ne;
|
|
2432
|
+
else if (L && r === "center") a += (k + A) / 2 - (ne + re) / 2;
|
|
2433
|
+
else if (L && r === "end") a += A - re;
|
|
2434
|
+
else if (L && 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 - F, t = M -
|
|
2438
|
+
if (R && i === "start") o += j - F;
|
|
2439
|
+
else if (R && i === "center") o += (j + M) / 2 - (F + I) / 2;
|
|
2440
|
+
else if (R && i === "end") o += M - I;
|
|
2441
|
+
else if (R && i === "nearest") {
|
|
2442
|
+
let e = j - F, t = M - I;
|
|
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, B(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 = ie([
|
|
2630
2630
|
!!t,
|
|
2631
2631
|
!!n,
|
|
2632
2632
|
r,
|
|
2633
2633
|
i
|
|
2634
|
-
]), c =
|
|
2634
|
+
]), c = ie([
|
|
2635
2635
|
!!t,
|
|
2636
2636
|
!!n,
|
|
2637
2637
|
r,
|
|
2638
2638
|
i
|
|
2639
2639
|
]);
|
|
2640
|
-
return o =
|
|
2640
|
+
return o = B(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 = L(), [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 = B(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: B(A, { onClick: (e) => e.preventDefault() }),
|
|
2799
|
+
inputProps: B(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: B(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 } = fe(Ri) || {}, r = e.validationBehavior ?? n ?? "native", i = o($i), a = ce(u(() => ae(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), s = {
|
|
2924
|
+
...he(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] = pe(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 = de({
|
|
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(ve.label, {
|
|
2966
|
+
...B(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
|
+
...B(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] = pe(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 = de({
|
|
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(ve.input, {
|
|
3006
|
+
...B(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: B(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 = L();
|
|
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 = B(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: B(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: B(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 = L(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 = B(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: B(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 = ie();
|
|
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] = pe(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 = de({
|
|
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(ve.section, {
|
|
5039
|
+
...B(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(ue, { values: [[fi, { slots: {
|
|
5044
|
+
[le]: {},
|
|
5045
5045
|
title: {
|
|
5046
5046
|
...a,
|
|
5047
5047
|
level: 2
|
|
5048
5048
|
}
|
|
5049
5049
|
} }], [li, { slots: {
|
|
5050
|
-
[
|
|
5050
|
+
[le]: {},
|
|
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: B(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] = pe(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 = ce(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 = de({
|
|
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(ve.div, {
|
|
5202
|
+
...B(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(ue, { 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 = ce(u(() => ae(t.modalRef, r), [t.modalRef, r])), l = ks(c), d = de({
|
|
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(ve.div, {
|
|
5226
|
+
...B(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] = pe(i, n, Ys);
|
|
5253
|
+
let a = ce(ae(r, t.inputRef === void 0 ? null : t.inputRef)), o = Xi(t), s = Js({
|
|
5254
|
+
...he(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(ue, { 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 = de({
|
|
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(ve.label, {
|
|
5286
|
+
...B(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
|
+
...B(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: B(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: B(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 = L();
|
|
5415
5415
|
return ec.set(t, d), { tabListProps: {
|
|
5416
|
-
...
|
|
5416
|
+
...B(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] = pe(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 = de({
|
|
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(ve.div, {
|
|
5509
|
+
...B(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(ue, { 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" } = fe(lc), c = ce(n), { tabListProps: l } = ac({
|
|
5526
5526
|
...t,
|
|
5527
5527
|
orientation: a,
|
|
5528
5528
|
keyboardActivation: s
|
|
5529
|
-
}, r, c), u =
|
|
5529
|
+
}, r, c), u = de({
|
|
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(ve.div, {
|
|
5539
|
+
...B(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 = ce(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 = de({
|
|
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 ? ve.a : ve.div, v = G(t, { global: !0 });
|
|
5574
5574
|
return delete v.id, delete v.onClick, /*#__PURE__*/ e.createElement(_, {
|
|
5575
|
-
...
|
|
5575
|
+
...B(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 = ce(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 = de({
|
|
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 ? B(g, l, u, h) : B(g, h);
|
|
5610
|
+
return /*#__PURE__*/ e.createElement(ve.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(ue, { 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] = pe(t, n, yc);
|
|
5625
|
+
let { validationBehavior: r } = fe(Ri) || {}, i = t.validationBehavior ?? r ?? "native", o = f(null);
|
|
5626
|
+
[t, o] = pe(t, o, yn);
|
|
5627
|
+
let [s, c] = me(!t["aria-label"] && !t["aria-labelledby"]), [l, u] = p("input"), { labelProps: d, inputProps: m, descriptionProps: h, errorMessageProps: g, ..._ } = ca({
|
|
5628
|
+
...he(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 = de({
|
|
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(ve.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(ue, { values: [
|
|
5654
5654
|
[ei, {
|
|
5655
5655
|
...d,
|
|
5656
5656
|
ref: s
|
|
@@ -6062,28 +6062,28 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6062
6062
|
Al,
|
|
6063
6063
|
yl,
|
|
6064
6064
|
{ size: [Q, Z] }
|
|
6065
|
-
],
|
|
6065
|
+
], I = () => [
|
|
6066
6066
|
ul,
|
|
6067
6067
|
Dl,
|
|
6068
6068
|
bl
|
|
6069
|
-
],
|
|
6069
|
+
], L = () => [
|
|
6070
6070
|
"",
|
|
6071
6071
|
"none",
|
|
6072
6072
|
"full",
|
|
6073
6073
|
l,
|
|
6074
6074
|
Q,
|
|
6075
6075
|
Z
|
|
6076
|
-
],
|
|
6076
|
+
], R = () => [
|
|
6077
6077
|
"",
|
|
6078
6078
|
X,
|
|
6079
6079
|
Dl,
|
|
6080
6080
|
bl
|
|
6081
|
-
],
|
|
6081
|
+
], ie = () => [
|
|
6082
6082
|
"solid",
|
|
6083
6083
|
"dashed",
|
|
6084
6084
|
"dotted",
|
|
6085
6085
|
"double"
|
|
6086
|
-
],
|
|
6086
|
+
], ae = () => [
|
|
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
|
+
], z = () => [
|
|
6104
6104
|
X,
|
|
6105
6105
|
ul,
|
|
6106
6106
|
kl,
|
|
6107
6107
|
wl
|
|
6108
|
-
],
|
|
6108
|
+
], oe = () => [
|
|
6109
6109
|
"",
|
|
6110
6110
|
"none",
|
|
6111
6111
|
m,
|
|
6112
6112
|
Q,
|
|
6113
6113
|
Z
|
|
6114
|
-
],
|
|
6114
|
+
], se = () => [
|
|
6115
6115
|
"none",
|
|
6116
6116
|
X,
|
|
6117
6117
|
Q,
|
|
6118
6118
|
Z
|
|
6119
|
-
],
|
|
6119
|
+
], B = () => [
|
|
6120
6120
|
"none",
|
|
6121
6121
|
X,
|
|
6122
6122
|
Q,
|
|
6123
6123
|
Z
|
|
6124
|
-
],
|
|
6124
|
+
], ce = () => [
|
|
6125
6125
|
X,
|
|
6126
6126
|
Q,
|
|
6127
6127
|
Z
|
|
6128
|
-
],
|
|
6128
|
+
], le = () => [
|
|
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: [...ie(), "wavy"] }],
|
|
6546
6546
|
"text-decoration-thickness": [{ decoration: [
|
|
6547
6547
|
X,
|
|
6548
6548
|
"from-font",
|
|
@@ -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: I() }],
|
|
6677
|
+
"gradient-via-pos": [{ via: I() }],
|
|
6678
|
+
"gradient-to-pos": [{ to: I() }],
|
|
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: L() }],
|
|
6683
|
+
"rounded-s": [{ "rounded-s": L() }],
|
|
6684
|
+
"rounded-e": [{ "rounded-e": L() }],
|
|
6685
|
+
"rounded-t": [{ "rounded-t": L() }],
|
|
6686
|
+
"rounded-r": [{ "rounded-r": L() }],
|
|
6687
|
+
"rounded-b": [{ "rounded-b": L() }],
|
|
6688
|
+
"rounded-l": [{ "rounded-l": L() }],
|
|
6689
|
+
"rounded-ss": [{ "rounded-ss": L() }],
|
|
6690
|
+
"rounded-se": [{ "rounded-se": L() }],
|
|
6691
|
+
"rounded-ee": [{ "rounded-ee": L() }],
|
|
6692
|
+
"rounded-es": [{ "rounded-es": L() }],
|
|
6693
|
+
"rounded-tl": [{ "rounded-tl": L() }],
|
|
6694
|
+
"rounded-tr": [{ "rounded-tr": L() }],
|
|
6695
|
+
"rounded-br": [{ "rounded-br": L() }],
|
|
6696
|
+
"rounded-bl": [{ "rounded-bl": L() }],
|
|
6697
|
+
"border-w": [{ border: R() }],
|
|
6698
|
+
"border-w-x": [{ "border-x": R() }],
|
|
6699
|
+
"border-w-y": [{ "border-y": R() }],
|
|
6700
|
+
"border-w-s": [{ "border-s": R() }],
|
|
6701
|
+
"border-w-e": [{ "border-e": R() }],
|
|
6702
|
+
"border-w-bs": [{ "border-bs": R() }],
|
|
6703
|
+
"border-w-be": [{ "border-be": R() }],
|
|
6704
|
+
"border-w-t": [{ "border-t": R() }],
|
|
6705
|
+
"border-w-r": [{ "border-r": R() }],
|
|
6706
|
+
"border-w-b": [{ "border-b": R() }],
|
|
6707
|
+
"border-w-l": [{ "border-l": R() }],
|
|
6708
|
+
"divide-x": [{ "divide-x": R() }],
|
|
6709
6709
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
6710
|
-
"divide-y": [{ "divide-y":
|
|
6710
|
+
"divide-y": [{ "divide-y": R() }],
|
|
6711
6711
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
6712
6712
|
"border-style": [{ border: [
|
|
6713
|
-
...
|
|
6713
|
+
...ie(),
|
|
6714
6714
|
"hidden",
|
|
6715
6715
|
"none"
|
|
6716
6716
|
] }],
|
|
6717
6717
|
"divide-style": [{ divide: [
|
|
6718
|
-
...
|
|
6718
|
+
...ie(),
|
|
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
|
+
...ie(),
|
|
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: R() }],
|
|
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": R() }],
|
|
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
|
+
...ae(),
|
|
6787
6787
|
"plus-darker",
|
|
6788
6788
|
"plus-lighter"
|
|
6789
6789
|
] }],
|
|
6790
|
-
"bg-blend": [{ "bg-blend":
|
|
6790
|
+
"bg-blend": [{ "bg-blend": ae() }],
|
|
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": z() }],
|
|
6807
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": z() }],
|
|
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": z() }],
|
|
6811
|
+
"mask-image-t-to-pos": [{ "mask-t-to": z() }],
|
|
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": z() }],
|
|
6815
|
+
"mask-image-r-to-pos": [{ "mask-r-to": z() }],
|
|
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": z() }],
|
|
6819
|
+
"mask-image-b-to-pos": [{ "mask-b-to": z() }],
|
|
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": z() }],
|
|
6823
|
+
"mask-image-l-to-pos": [{ "mask-l-to": z() }],
|
|
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": z() }],
|
|
6827
|
+
"mask-image-x-to-pos": [{ "mask-x-to": z() }],
|
|
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": z() }],
|
|
6831
|
+
"mask-image-y-to-pos": [{ "mask-y-to": z() }],
|
|
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": z() }],
|
|
6836
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": z() }],
|
|
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": z() }],
|
|
6847
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": z() }],
|
|
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: [
|
|
@@ -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: oe() }],
|
|
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": oe() }],
|
|
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: se() }],
|
|
7025
|
+
"rotate-x": [{ "rotate-x": se() }],
|
|
7026
|
+
"rotate-y": [{ "rotate-y": se() }],
|
|
7027
|
+
"rotate-z": [{ "rotate-z": se() }],
|
|
7028
|
+
scale: [{ scale: B() }],
|
|
7029
|
+
"scale-x": [{ "scale-x": B() }],
|
|
7030
|
+
"scale-y": [{ "scale-y": B() }],
|
|
7031
|
+
"scale-z": [{ "scale-z": B() }],
|
|
7032
7032
|
"scale-3d": ["scale-3d"],
|
|
7033
|
-
skew: [{ skew:
|
|
7034
|
-
"skew-x": [{ "skew-x":
|
|
7035
|
-
"skew-y": [{ "skew-y":
|
|
7033
|
+
skew: [{ skew: ce() }],
|
|
7034
|
+
"skew-x": [{ "skew-x": ce() }],
|
|
7035
|
+
"skew-y": [{ "skew-y": ce() }],
|
|
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: le() }],
|
|
7047
|
+
"translate-x": [{ "translate-x": le() }],
|
|
7048
|
+
"translate-y": [{ "translate-y": le() }],
|
|
7049
|
+
"translate-z": [{ "translate-z": le() }],
|
|
7050
7050
|
"translate-none": ["translate-none"],
|
|
7051
7051
|
zoom: [{ zoom: [
|
|
7052
7052
|
ll,
|
|
@@ -8232,50 +8232,77 @@ var Mu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8232
8232
|
]
|
|
8233
8233
|
})
|
|
8234
8234
|
});
|
|
8235
|
-
}, Pu =
|
|
8236
|
-
|
|
8235
|
+
}, Pu = "eidotter:retro-boot", Fu = "1", Iu = (e) => {
|
|
8236
|
+
if (typeof window > "u") return !1;
|
|
8237
|
+
try {
|
|
8238
|
+
return window.sessionStorage.getItem(e) === Fu;
|
|
8239
|
+
} catch {
|
|
8240
|
+
return !1;
|
|
8241
|
+
}
|
|
8242
|
+
}, Lu = (e) => {
|
|
8243
|
+
if (!(typeof window > "u")) try {
|
|
8244
|
+
window.sessionStorage.setItem(e, Fu);
|
|
8245
|
+
} catch {}
|
|
8246
|
+
}, Ru = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, powered: i = !0, boot: a = !1, bootOnce: o = !1, bootStorageKey: c = Pu, intensity: l = 1, className: u, onPowerStateChange: d, onPowerOn: m, onPowerOff: h, onBootComplete: g }) => {
|
|
8247
|
+
let _ = f(i), [v, S] = p(i ? "on" : "off"), [C, w] = p(a && !o), T = f(!1), E = f(c), D = f(g);
|
|
8248
|
+
s(() => {
|
|
8249
|
+
D.current = g;
|
|
8250
|
+
});
|
|
8251
|
+
let O = () => {
|
|
8252
|
+
T.current || (T.current = !0, D.current?.());
|
|
8253
|
+
}, k = () => {
|
|
8254
|
+
w(!1), o && Lu(E.current), O();
|
|
8255
|
+
};
|
|
8237
8256
|
s(() => {
|
|
8238
|
-
if (!
|
|
8257
|
+
if (!(!a || !o)) {
|
|
8258
|
+
if (Iu(E.current)) {
|
|
8259
|
+
O();
|
|
8260
|
+
return;
|
|
8261
|
+
}
|
|
8262
|
+
w(!0);
|
|
8263
|
+
}
|
|
8264
|
+
}, []), s(() => {
|
|
8265
|
+
if (!C) return;
|
|
8239
8266
|
if (Ql()) {
|
|
8240
|
-
|
|
8267
|
+
k();
|
|
8241
8268
|
return;
|
|
8242
8269
|
}
|
|
8243
8270
|
let e = window.setTimeout(() => {
|
|
8244
|
-
|
|
8271
|
+
k();
|
|
8245
8272
|
}, 1200);
|
|
8246
8273
|
return () => window.clearTimeout(e);
|
|
8247
|
-
}, [
|
|
8248
|
-
let
|
|
8249
|
-
e.animationName === "eidotter-retro-boot-glow" && (
|
|
8274
|
+
}, [C]);
|
|
8275
|
+
let A = (e) => {
|
|
8276
|
+
e.animationName === "eidotter-retro-boot-glow" && k();
|
|
8250
8277
|
};
|
|
8251
8278
|
s(() => {
|
|
8252
|
-
let e =
|
|
8253
|
-
if (
|
|
8279
|
+
let e = _.current;
|
|
8280
|
+
if (_.current = i, e !== i) {
|
|
8254
8281
|
let e = i ? "powering-on" : "powering-off";
|
|
8255
|
-
|
|
8282
|
+
S(e), d?.(e);
|
|
8256
8283
|
}
|
|
8257
|
-
}, [i,
|
|
8258
|
-
let
|
|
8259
|
-
|
|
8260
|
-
},
|
|
8261
|
-
e.animationName !== "retro-power-on" && e.animationName !== "retro-power-off" ||
|
|
8262
|
-
},
|
|
8263
|
-
e.propertyName === "opacity" && (
|
|
8264
|
-
},
|
|
8284
|
+
}, [i, d]);
|
|
8285
|
+
let j = () => {
|
|
8286
|
+
v === "powering-on" ? (S("on"), d?.("on"), m?.()) : v === "powering-off" && (S("off"), d?.("off"), h?.());
|
|
8287
|
+
}, M = (e) => {
|
|
8288
|
+
e.animationName !== "retro-power-on" && e.animationName !== "retro-power-off" || j();
|
|
8289
|
+
}, N = (e) => {
|
|
8290
|
+
e.propertyName === "opacity" && (v !== "powering-on" && v !== "powering-off" || j());
|
|
8291
|
+
}, ee = { "--retro-intensity": l }, te = v !== "off";
|
|
8265
8292
|
return /* @__PURE__ */ x("div", {
|
|
8266
|
-
className: $("fixed inset-0 pointer-events-none z-[9999]", "eidotter-retro-effects",
|
|
8267
|
-
style:
|
|
8293
|
+
className: $("fixed inset-0 pointer-events-none z-[9999]", "eidotter-retro-effects", v === "powering-off" && "eidotter-retro-effects--powering-off", v === "powering-on" && "eidotter-retro-effects--powering-on", v === "off" && "eidotter-retro-effects--off", u),
|
|
8294
|
+
style: ee,
|
|
8268
8295
|
"aria-hidden": "true",
|
|
8269
|
-
onAnimationEnd:
|
|
8270
|
-
onTransitionEnd:
|
|
8271
|
-
children: [
|
|
8296
|
+
onAnimationEnd: M,
|
|
8297
|
+
onTransitionEnd: N,
|
|
8298
|
+
children: [te && /* @__PURE__ */ x(y, { children: [
|
|
8272
8299
|
e && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__scanlines" }),
|
|
8273
8300
|
t && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__glow" }),
|
|
8274
8301
|
n && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__flicker" }),
|
|
8275
8302
|
r && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__bloom" })
|
|
8276
|
-
] }),
|
|
8303
|
+
] }), C && /* @__PURE__ */ x("div", {
|
|
8277
8304
|
className: "eidotter-retro-effects__boot",
|
|
8278
|
-
onAnimationEnd:
|
|
8305
|
+
onAnimationEnd: A,
|
|
8279
8306
|
children: [
|
|
8280
8307
|
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top" }),
|
|
8281
8308
|
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom" }),
|
|
@@ -8284,32 +8311,32 @@ var Mu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8284
8311
|
]
|
|
8285
8312
|
})]
|
|
8286
8313
|
});
|
|
8287
|
-
},
|
|
8314
|
+
}, zu = {
|
|
8288
8315
|
sm: "small",
|
|
8289
8316
|
md: "medium",
|
|
8290
8317
|
lg: "large",
|
|
8291
8318
|
small: "small",
|
|
8292
8319
|
medium: "medium",
|
|
8293
8320
|
large: "large"
|
|
8294
|
-
},
|
|
8321
|
+
}, Bu = {
|
|
8295
8322
|
circle: "eidotter-timeline-node--circle",
|
|
8296
8323
|
square: "eidotter-timeline-node--square",
|
|
8297
8324
|
diamond: "eidotter-timeline-node--diamond"
|
|
8298
|
-
},
|
|
8325
|
+
}, Vu = {
|
|
8299
8326
|
default: "eidotter-timeline-node--default",
|
|
8300
8327
|
primary: "eidotter-timeline-node--primary",
|
|
8301
8328
|
secondary: "eidotter-timeline-node--secondary",
|
|
8302
8329
|
accent: "eidotter-timeline-node--accent"
|
|
8303
|
-
},
|
|
8330
|
+
}, Hu = {
|
|
8304
8331
|
left: "eidotter-timeline-node--label-left",
|
|
8305
8332
|
right: "eidotter-timeline-node--label-right",
|
|
8306
8333
|
top: "eidotter-timeline-node--label-top",
|
|
8307
8334
|
bottom: "eidotter-timeline-node--label-bottom"
|
|
8308
|
-
},
|
|
8309
|
-
let u =
|
|
8335
|
+
}, Uu = r(({ shape: e = "circle", variant: t = "default", isActive: n = !1, label: r, labelPosition: i = "right", size: a = "md", className: o, onClick: s, ...c }, l) => {
|
|
8336
|
+
let u = zu[a] ?? "medium";
|
|
8310
8337
|
return /* @__PURE__ */ x("div", {
|
|
8311
8338
|
ref: l,
|
|
8312
|
-
className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node",
|
|
8339
|
+
className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node", Bu[e], Vu[t], `eidotter-timeline-node--${u}`, Hu[i], n && "eidotter-timeline-node--active", s && "eidotter-timeline-node--interactive", o),
|
|
8313
8340
|
onClick: () => {
|
|
8314
8341
|
s && s();
|
|
8315
8342
|
},
|
|
@@ -8344,10 +8371,10 @@ var Mu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8344
8371
|
]
|
|
8345
8372
|
});
|
|
8346
8373
|
});
|
|
8347
|
-
|
|
8374
|
+
Uu.displayName = "TimelineNode";
|
|
8348
8375
|
//#endregion
|
|
8349
8376
|
//#region src/components/TimelineContainer/components/types.ts
|
|
8350
|
-
var
|
|
8377
|
+
var Wu = [
|
|
8351
8378
|
"year",
|
|
8352
8379
|
"month",
|
|
8353
8380
|
"day",
|
|
@@ -8355,12 +8382,12 @@ var Bu = [
|
|
|
8355
8382
|
];
|
|
8356
8383
|
//#endregion
|
|
8357
8384
|
//#region src/components/TimelineContainer/components/useDrillDown.ts
|
|
8358
|
-
function
|
|
8385
|
+
function Gu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {}) {
|
|
8359
8386
|
let r = e === void 0, [i, o] = p(t), [c, l] = p([]), u = f(r);
|
|
8360
8387
|
s(() => {
|
|
8361
8388
|
u.current && !r && l([]), u.current = r;
|
|
8362
8389
|
}, [r]);
|
|
8363
|
-
let d = e ?? i, m =
|
|
8390
|
+
let d = e ?? i, m = Wu.indexOf(d), h = m < Wu.length - 1, g = m > 0, _ = c.length > 0 ? c[c.length - 1].periodStart : null, v = f(r), y = f(h), b = f(m), x = f(c), S = f(n);
|
|
8364
8391
|
s(() => {
|
|
8365
8392
|
v.current = r, y.current = h, b.current = m, x.current = c, S.current = n;
|
|
8366
8393
|
});
|
|
@@ -8376,7 +8403,7 @@ function Vu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8376
8403
|
isDrillDownEnabled: r,
|
|
8377
8404
|
drillDown: a((e, t) => {
|
|
8378
8405
|
if (!v.current || !y.current) return;
|
|
8379
|
-
let n =
|
|
8406
|
+
let n = Wu[b.current + 1];
|
|
8380
8407
|
n !== void 0 && (l((n) => [...n, {
|
|
8381
8408
|
periodStart: e,
|
|
8382
8409
|
label: t
|
|
@@ -8384,7 +8411,7 @@ function Vu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8384
8411
|
}, [C]),
|
|
8385
8412
|
drillUp: a(() => {
|
|
8386
8413
|
if (!v.current || x.current.length === 0) return;
|
|
8387
|
-
let e =
|
|
8414
|
+
let e = Wu[b.current - 1];
|
|
8388
8415
|
e !== void 0 && (l((e) => e.slice(0, -1)), C(e));
|
|
8389
8416
|
}, [C]),
|
|
8390
8417
|
reset: a(() => {
|
|
@@ -8394,7 +8421,7 @@ function Vu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8394
8421
|
}
|
|
8395
8422
|
//#endregion
|
|
8396
8423
|
//#region src/components/TimelineContainer/components/useSelection.ts
|
|
8397
|
-
function
|
|
8424
|
+
function Ku({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntry: n } = {}) {
|
|
8398
8425
|
let [r, i] = p(t), o = e !== void 0, c = e === void 0 ? r : e, l = f(c), u = f(o), d = f(n);
|
|
8399
8426
|
s(() => {
|
|
8400
8427
|
l.current = c, u.current = o, d.current = n;
|
|
@@ -8420,7 +8447,7 @@ function Hu({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntr
|
|
|
8420
8447
|
}
|
|
8421
8448
|
//#endregion
|
|
8422
8449
|
//#region src/components/TimelineContainer/components/timelineUtils.ts
|
|
8423
|
-
var
|
|
8450
|
+
var qu = [
|
|
8424
8451
|
"January",
|
|
8425
8452
|
"February",
|
|
8426
8453
|
"March",
|
|
@@ -8433,7 +8460,7 @@ var Uu = [
|
|
|
8433
8460
|
"October",
|
|
8434
8461
|
"November",
|
|
8435
8462
|
"December"
|
|
8436
|
-
],
|
|
8463
|
+
], Ju = [
|
|
8437
8464
|
"Jan",
|
|
8438
8465
|
"Feb",
|
|
8439
8466
|
"Mar",
|
|
@@ -8447,48 +8474,48 @@ var Uu = [
|
|
|
8447
8474
|
"Nov",
|
|
8448
8475
|
"Dec"
|
|
8449
8476
|
];
|
|
8450
|
-
function
|
|
8477
|
+
function Yu(e) {
|
|
8451
8478
|
return new Date(e).getUTCFullYear();
|
|
8452
8479
|
}
|
|
8453
|
-
function
|
|
8480
|
+
function Xu(e) {
|
|
8454
8481
|
return new Date(e).getUTCMonth();
|
|
8455
8482
|
}
|
|
8456
|
-
function
|
|
8483
|
+
function Zu(e) {
|
|
8457
8484
|
return new Date(e).getUTCDate();
|
|
8458
8485
|
}
|
|
8459
|
-
function
|
|
8486
|
+
function Qu(e) {
|
|
8460
8487
|
return new Date(e).getUTCHours();
|
|
8461
8488
|
}
|
|
8462
|
-
function
|
|
8489
|
+
function $u(e) {
|
|
8463
8490
|
return String(e);
|
|
8464
8491
|
}
|
|
8465
|
-
function
|
|
8466
|
-
return `${
|
|
8492
|
+
function ed(e, t) {
|
|
8493
|
+
return `${qu[t]} ${e}`;
|
|
8467
8494
|
}
|
|
8468
|
-
function
|
|
8469
|
-
return `${
|
|
8495
|
+
function td(e, t, n) {
|
|
8496
|
+
return `${Ju[t]} ${n}`;
|
|
8470
8497
|
}
|
|
8471
|
-
function
|
|
8498
|
+
function nd(e, t, n, r) {
|
|
8472
8499
|
let i = r >= 12 ? "pm" : "am", a = r === 0 ? 12 : r > 12 ? r - 12 : r;
|
|
8473
|
-
return `${
|
|
8500
|
+
return `${Ju[t]} ${n}, ${a}${i}`;
|
|
8474
8501
|
}
|
|
8475
|
-
function
|
|
8476
|
-
let t = new Date(e), n =
|
|
8502
|
+
function rd(e) {
|
|
8503
|
+
let t = new Date(e), n = Ju[t.getUTCMonth()], r = t.getUTCDate(), i = t.getUTCFullYear(), a = t.getUTCHours(), o = t.getUTCMinutes(), s = a >= 12 ? "pm" : "am";
|
|
8477
8504
|
return `${n} ${r}, ${i} at ${a === 0 ? 12 : a > 12 ? a - 12 : a}${o > 0 ? `:${String(o).padStart(2, "0")}` : ""}${s}`;
|
|
8478
8505
|
}
|
|
8479
|
-
function
|
|
8506
|
+
function id(e) {
|
|
8480
8507
|
return new Date(Date.UTC(e, 0, 1)).toISOString();
|
|
8481
8508
|
}
|
|
8482
|
-
function
|
|
8509
|
+
function ad(e, t) {
|
|
8483
8510
|
return new Date(Date.UTC(e, t, 1)).toISOString();
|
|
8484
8511
|
}
|
|
8485
|
-
function
|
|
8512
|
+
function od(e, t, n) {
|
|
8486
8513
|
return new Date(Date.UTC(e, t, n)).toISOString();
|
|
8487
8514
|
}
|
|
8488
|
-
function
|
|
8515
|
+
function sd(e, t, n, r) {
|
|
8489
8516
|
return new Date(Date.UTC(e, t, n, r)).toISOString();
|
|
8490
8517
|
}
|
|
8491
|
-
function
|
|
8518
|
+
function cd(e, t, n, r, i) {
|
|
8492
8519
|
let a = /* @__PURE__ */ new Map(), o = [];
|
|
8493
8520
|
for (let n of e) {
|
|
8494
8521
|
let e = t(n), r = a.get(e);
|
|
@@ -8505,32 +8532,32 @@ function id(e, t, n, r, i) {
|
|
|
8505
8532
|
entries: a.get(e) ?? []
|
|
8506
8533
|
}));
|
|
8507
8534
|
}
|
|
8508
|
-
function
|
|
8509
|
-
return String(
|
|
8535
|
+
function ld(e) {
|
|
8536
|
+
return String(Yu(e.date));
|
|
8510
8537
|
}
|
|
8511
|
-
function
|
|
8512
|
-
let t =
|
|
8538
|
+
function ud(e) {
|
|
8539
|
+
let t = Yu(e.date), n = Xu(e.date);
|
|
8513
8540
|
return `${t}-${String(n).padStart(2, "0")}`;
|
|
8514
8541
|
}
|
|
8515
|
-
function
|
|
8516
|
-
let t =
|
|
8542
|
+
function dd(e) {
|
|
8543
|
+
let t = Yu(e.date), n = Xu(e.date), r = Zu(e.date);
|
|
8517
8544
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}`;
|
|
8518
8545
|
}
|
|
8519
|
-
function
|
|
8520
|
-
let t =
|
|
8546
|
+
function fd(e) {
|
|
8547
|
+
let t = Yu(e.date), n = Xu(e.date), r = Zu(e.date), i = Qu(e.date);
|
|
8521
8548
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
|
|
8522
8549
|
}
|
|
8523
|
-
function
|
|
8550
|
+
function pd(e) {
|
|
8524
8551
|
return { year: parseInt(e) };
|
|
8525
8552
|
}
|
|
8526
|
-
function
|
|
8553
|
+
function md(e) {
|
|
8527
8554
|
let [t, n] = e.split("-");
|
|
8528
8555
|
return {
|
|
8529
8556
|
year: parseInt(t),
|
|
8530
8557
|
month: parseInt(n)
|
|
8531
8558
|
};
|
|
8532
8559
|
}
|
|
8533
|
-
function
|
|
8560
|
+
function hd(e) {
|
|
8534
8561
|
let [t, n, r] = e.split("-");
|
|
8535
8562
|
return {
|
|
8536
8563
|
year: parseInt(t),
|
|
@@ -8538,7 +8565,7 @@ function dd(e) {
|
|
|
8538
8565
|
day: parseInt(r)
|
|
8539
8566
|
};
|
|
8540
8567
|
}
|
|
8541
|
-
function
|
|
8568
|
+
function gd(e) {
|
|
8542
8569
|
let [t, n, r, i] = e.split("-");
|
|
8543
8570
|
return {
|
|
8544
8571
|
year: parseInt(t),
|
|
@@ -8547,56 +8574,56 @@ function fd(e) {
|
|
|
8547
8574
|
hour: parseInt(i)
|
|
8548
8575
|
};
|
|
8549
8576
|
}
|
|
8550
|
-
var
|
|
8577
|
+
var _d = {
|
|
8551
8578
|
year: 4,
|
|
8552
8579
|
month: 7,
|
|
8553
8580
|
day: 10
|
|
8554
8581
|
};
|
|
8555
|
-
function
|
|
8582
|
+
function vd(e, t, n) {
|
|
8556
8583
|
if (t === null || n === "hour") return e;
|
|
8557
|
-
let r =
|
|
8584
|
+
let r = _d[n];
|
|
8558
8585
|
if (r === void 0) return e;
|
|
8559
8586
|
let i = t.slice(0, r);
|
|
8560
8587
|
return e.filter((e) => e.periodStart.slice(0, r) === i);
|
|
8561
8588
|
}
|
|
8562
|
-
function
|
|
8589
|
+
function yd(e, t, n = "desc") {
|
|
8563
8590
|
if (e.length === 0) return [];
|
|
8564
8591
|
let r = e.filter((e) => !isNaN(new Date(e.date).getTime()));
|
|
8565
8592
|
if (r.length === 0) return [];
|
|
8566
8593
|
switch (t) {
|
|
8567
|
-
case "year": return
|
|
8568
|
-
let { year: t } =
|
|
8569
|
-
return
|
|
8594
|
+
case "year": return cd(r, ld, (e) => {
|
|
8595
|
+
let { year: t } = pd(e);
|
|
8596
|
+
return $u(t);
|
|
8570
8597
|
}, (e) => {
|
|
8571
|
-
let { year: t } =
|
|
8572
|
-
return
|
|
8598
|
+
let { year: t } = pd(e);
|
|
8599
|
+
return id(t);
|
|
8573
8600
|
}, n);
|
|
8574
|
-
case "month": return
|
|
8575
|
-
let { year: t, month: n } =
|
|
8576
|
-
return
|
|
8601
|
+
case "month": return cd(r, ud, (e) => {
|
|
8602
|
+
let { year: t, month: n } = md(e);
|
|
8603
|
+
return ed(t, n);
|
|
8577
8604
|
}, (e) => {
|
|
8578
|
-
let { year: t, month: n } =
|
|
8579
|
-
return
|
|
8605
|
+
let { year: t, month: n } = md(e);
|
|
8606
|
+
return ad(t, n);
|
|
8580
8607
|
}, n);
|
|
8581
|
-
case "day": return
|
|
8582
|
-
let { year: t, month: n, day: r } =
|
|
8583
|
-
return
|
|
8608
|
+
case "day": return cd(r, dd, (e) => {
|
|
8609
|
+
let { year: t, month: n, day: r } = hd(e);
|
|
8610
|
+
return td(t, n, r);
|
|
8584
8611
|
}, (e) => {
|
|
8585
|
-
let { year: t, month: n, day: r } =
|
|
8586
|
-
return
|
|
8612
|
+
let { year: t, month: n, day: r } = hd(e);
|
|
8613
|
+
return od(t, n, r);
|
|
8587
8614
|
}, n);
|
|
8588
|
-
case "hour": return
|
|
8589
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
8590
|
-
return
|
|
8615
|
+
case "hour": return cd(r, fd, (e) => {
|
|
8616
|
+
let { year: t, month: n, day: r, hour: i } = gd(e);
|
|
8617
|
+
return nd(t, n, r, i);
|
|
8591
8618
|
}, (e) => {
|
|
8592
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
8593
|
-
return
|
|
8619
|
+
let { year: t, month: n, day: r, hour: i } = gd(e);
|
|
8620
|
+
return sd(t, n, r, i);
|
|
8594
8621
|
}, n);
|
|
8595
8622
|
}
|
|
8596
8623
|
}
|
|
8597
8624
|
//#endregion
|
|
8598
8625
|
//#region src/components/TimelineContainer/components/ZoomControls.tsx
|
|
8599
|
-
var
|
|
8626
|
+
var bd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i, onReset: a, breadcrumbs: o = [], onBreadcrumbClick: s }) => {
|
|
8600
8627
|
let c = o.length > 0;
|
|
8601
8628
|
return /* @__PURE__ */ x("div", {
|
|
8602
8629
|
className: "timeline-zoom-controls",
|
|
@@ -8643,7 +8670,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8643
8670
|
})
|
|
8644
8671
|
]
|
|
8645
8672
|
});
|
|
8646
|
-
},
|
|
8673
|
+
}, xd = ({ children: e }) => /* @__PURE__ */ x("div", {
|
|
8647
8674
|
className: "timeline-axis",
|
|
8648
8675
|
children: [/* @__PURE__ */ b("div", {
|
|
8649
8676
|
className: "timeline-axis__line",
|
|
@@ -8652,7 +8679,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8652
8679
|
className: "timeline-axis__content",
|
|
8653
8680
|
children: e
|
|
8654
8681
|
})]
|
|
8655
|
-
}),
|
|
8682
|
+
}), Sd = e.memo(({ buckets: e, onBucketClick: t }) => /* @__PURE__ */ b("div", {
|
|
8656
8683
|
className: "timeline-view timeline-view--year",
|
|
8657
8684
|
role: "list",
|
|
8658
8685
|
children: e.map((e) => /* @__PURE__ */ b("div", {
|
|
@@ -8663,7 +8690,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8663
8690
|
onPress: () => t(e),
|
|
8664
8691
|
children: [/* @__PURE__ */ b("div", {
|
|
8665
8692
|
className: "timeline-view__node",
|
|
8666
|
-
children: /* @__PURE__ */ b(
|
|
8693
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
8667
8694
|
shape: "circle",
|
|
8668
8695
|
size: "medium",
|
|
8669
8696
|
variant: "default",
|
|
@@ -8684,7 +8711,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8684
8711
|
})]
|
|
8685
8712
|
}) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
|
|
8686
8713
|
className: "timeline-view__node",
|
|
8687
|
-
children: /* @__PURE__ */ b(
|
|
8714
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
8688
8715
|
shape: "circle",
|
|
8689
8716
|
size: "medium",
|
|
8690
8717
|
variant: "default",
|
|
@@ -8705,10 +8732,10 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8705
8732
|
})] })
|
|
8706
8733
|
}, e.periodStart))
|
|
8707
8734
|
}));
|
|
8708
|
-
|
|
8735
|
+
Sd.displayName = "YearView";
|
|
8709
8736
|
//#endregion
|
|
8710
8737
|
//#region src/components/Lightbox/components/Lightbox.tsx
|
|
8711
|
-
var
|
|
8738
|
+
var Cd = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange: o }) => {
|
|
8712
8739
|
let c = t.length === 0 ? 0 : Math.max(0, Math.min(n, t.length - 1)), [l, u] = p(c);
|
|
8713
8740
|
s(() => {
|
|
8714
8741
|
r && u(c);
|
|
@@ -8808,19 +8835,19 @@ var yd = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
8808
8835
|
})
|
|
8809
8836
|
});
|
|
8810
8837
|
};
|
|
8811
|
-
|
|
8838
|
+
Cd.displayName = "Lightbox";
|
|
8812
8839
|
//#endregion
|
|
8813
8840
|
//#region src/utils/isSafeHref.ts
|
|
8814
|
-
var
|
|
8815
|
-
function
|
|
8841
|
+
var wd = /^(?:https?:|mailto:)/i;
|
|
8842
|
+
function Td(e) {
|
|
8816
8843
|
if (typeof e != "string") return !1;
|
|
8817
8844
|
let t = e.trim();
|
|
8818
|
-
return t.length === 0 ? !1 : /^[a-z][a-z0-9+\-.]*:/i.test(t) ?
|
|
8845
|
+
return t.length === 0 ? !1 : /^[a-z][a-z0-9+\-.]*:/i.test(t) ? wd.test(t) : !0;
|
|
8819
8846
|
}
|
|
8820
8847
|
//#endregion
|
|
8821
8848
|
//#region src/components/TimelineContainer/components/variants/TimelineEntryCardImage.tsx
|
|
8822
|
-
var
|
|
8823
|
-
let [r, i] = p(!1), { image: a } = e, o = a.thumbnail || a.src, c = a.link &&
|
|
8849
|
+
var Ed = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
8850
|
+
let [r, i] = p(!1), { image: a } = e, o = a.thumbnail || a.src, c = a.link && Td(a.link) ? a.link : void 0;
|
|
8824
8851
|
return s(() => {
|
|
8825
8852
|
t || i(!1);
|
|
8826
8853
|
}, [t]), c ? /* @__PURE__ */ x("a", {
|
|
@@ -8868,13 +8895,13 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8868
8895
|
height: a.height
|
|
8869
8896
|
})
|
|
8870
8897
|
}),
|
|
8871
|
-
/* @__PURE__ */ b(
|
|
8898
|
+
/* @__PURE__ */ b(Cd, {
|
|
8872
8899
|
images: [a],
|
|
8873
8900
|
isOpen: r,
|
|
8874
8901
|
onClose: () => i(!1)
|
|
8875
8902
|
})
|
|
8876
8903
|
] });
|
|
8877
|
-
},
|
|
8904
|
+
}, Dd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
8878
8905
|
let [r, i] = p({ phase: "grid" });
|
|
8879
8906
|
if (s(() => {
|
|
8880
8907
|
t || i({ phase: "grid" });
|
|
@@ -8888,7 +8915,7 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8888
8915
|
children: "No images."
|
|
8889
8916
|
})] });
|
|
8890
8917
|
let a = (e, t) => {
|
|
8891
|
-
t.link &&
|
|
8918
|
+
t.link && Td(t.link) || i((t) => t.phase === "focused" && t.index === e ? {
|
|
8892
8919
|
phase: "lightbox",
|
|
8893
8920
|
index: e
|
|
8894
8921
|
} : {
|
|
@@ -8909,13 +8936,13 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8909
8936
|
/* @__PURE__ */ b("div", {
|
|
8910
8937
|
className: "eidotter-timeline-card-gallery__grid",
|
|
8911
8938
|
role: "list",
|
|
8912
|
-
children: e.images.map((e, t) => /* @__PURE__ */ b(
|
|
8939
|
+
children: e.images.map((e, t) => /* @__PURE__ */ b(Od, {
|
|
8913
8940
|
image: e,
|
|
8914
8941
|
isFocused: o === t,
|
|
8915
8942
|
onClick: () => a(t, e)
|
|
8916
8943
|
}, t))
|
|
8917
8944
|
}),
|
|
8918
|
-
/* @__PURE__ */ b(
|
|
8945
|
+
/* @__PURE__ */ b(Cd, {
|
|
8919
8946
|
images: e.images,
|
|
8920
8947
|
isOpen: r.phase === "lightbox",
|
|
8921
8948
|
initialIndex: r.phase === "lightbox" ? r.index : 0,
|
|
@@ -8933,8 +8960,8 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8933
8960
|
}
|
|
8934
8961
|
})
|
|
8935
8962
|
] });
|
|
8936
|
-
},
|
|
8937
|
-
let r = e.thumbnail || e.src, i = e.link &&
|
|
8963
|
+
}, Od = ({ image: e, isFocused: t, onClick: n }) => {
|
|
8964
|
+
let r = e.thumbnail || e.src, i = e.link && Td(e.link) ? e.link : void 0;
|
|
8938
8965
|
return i ? /* @__PURE__ */ b("div", {
|
|
8939
8966
|
role: "listitem",
|
|
8940
8967
|
className: "eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link",
|
|
@@ -8967,39 +8994,39 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8967
8994
|
})
|
|
8968
8995
|
})
|
|
8969
8996
|
});
|
|
8970
|
-
},
|
|
8997
|
+
}, kd = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ x("div", {
|
|
8971
8998
|
className: $("eidotter-timeline-card", t && "eidotter-timeline-card--selected", n && "eidotter-timeline-card--expanded"),
|
|
8972
|
-
children: [
|
|
8999
|
+
children: [Ad(e, n, r, a), i && /* @__PURE__ */ b("div", {
|
|
8973
9000
|
className: "eidotter-timeline-card__footer",
|
|
8974
9001
|
children: i
|
|
8975
9002
|
})]
|
|
8976
9003
|
}));
|
|
8977
|
-
|
|
8978
|
-
function
|
|
9004
|
+
kd.displayName = "TimelineEntryCard";
|
|
9005
|
+
function Ad(e, t, n, r) {
|
|
8979
9006
|
switch (e.kind) {
|
|
8980
|
-
case "text": return /* @__PURE__ */ b(
|
|
9007
|
+
case "text": return /* @__PURE__ */ b(Md, {
|
|
8981
9008
|
entry: e,
|
|
8982
9009
|
isExpanded: t,
|
|
8983
9010
|
onSelect: n,
|
|
8984
9011
|
children: r
|
|
8985
9012
|
});
|
|
8986
|
-
case "image": return /* @__PURE__ */ b(
|
|
9013
|
+
case "image": return /* @__PURE__ */ b(Ed, {
|
|
8987
9014
|
entry: e,
|
|
8988
9015
|
isExpanded: t,
|
|
8989
9016
|
onSelect: n
|
|
8990
9017
|
});
|
|
8991
|
-
case "gallery": return /* @__PURE__ */ b(
|
|
9018
|
+
case "gallery": return /* @__PURE__ */ b(Dd, {
|
|
8992
9019
|
entry: e,
|
|
8993
9020
|
isExpanded: t,
|
|
8994
9021
|
onSelect: n
|
|
8995
9022
|
});
|
|
8996
|
-
default: return
|
|
9023
|
+
default: return jd(e);
|
|
8997
9024
|
}
|
|
8998
9025
|
}
|
|
8999
|
-
function
|
|
9026
|
+
function jd(e) {
|
|
9000
9027
|
throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`);
|
|
9001
9028
|
}
|
|
9002
|
-
var
|
|
9029
|
+
var Md = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
9003
9030
|
let i = typeof e.content == "string", a = e.content != null;
|
|
9004
9031
|
return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x(K, {
|
|
9005
9032
|
className: "eidotter-timeline-card__trigger",
|
|
@@ -9037,7 +9064,7 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9037
9064
|
children: e.content
|
|
9038
9065
|
})
|
|
9039
9066
|
})] });
|
|
9040
|
-
},
|
|
9067
|
+
}, Nd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ b("div", {
|
|
9041
9068
|
className: "timeline-view timeline-view--month",
|
|
9042
9069
|
role: "list",
|
|
9043
9070
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -9045,7 +9072,7 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9045
9072
|
role: "listitem",
|
|
9046
9073
|
children: [/* @__PURE__ */ b("div", {
|
|
9047
9074
|
className: "timeline-view__node",
|
|
9048
|
-
children: /* @__PURE__ */ b(
|
|
9075
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9049
9076
|
shape: "circle",
|
|
9050
9077
|
size: "medium",
|
|
9051
9078
|
variant: "default",
|
|
@@ -9056,7 +9083,7 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9056
9083
|
}), /* @__PURE__ */ b("div", {
|
|
9057
9084
|
className: "timeline-view__content",
|
|
9058
9085
|
children: t.entries.map((t) => {
|
|
9059
|
-
let i = n === t.id, o = () => /* @__PURE__ */ b(
|
|
9086
|
+
let i = n === t.id, o = () => /* @__PURE__ */ b(kd, {
|
|
9060
9087
|
entry: t,
|
|
9061
9088
|
isSelected: i,
|
|
9062
9089
|
isExpanded: i,
|
|
@@ -9071,23 +9098,23 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9071
9098
|
})]
|
|
9072
9099
|
}, t.periodStart))
|
|
9073
9100
|
}));
|
|
9074
|
-
|
|
9101
|
+
Nd.displayName = "MonthView";
|
|
9075
9102
|
//#endregion
|
|
9076
9103
|
//#region src/components/Tag/components/Tag.tsx
|
|
9077
|
-
var
|
|
9104
|
+
var Pd = {
|
|
9078
9105
|
sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
9079
9106
|
md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
|
|
9080
9107
|
lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
|
|
9081
9108
|
small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
9082
9109
|
medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
|
|
9083
|
-
},
|
|
9110
|
+
}, Fd = ({ children: e, variant: t = "default", size: n = "md", color: r, selected: i = !1, closeable: a = !1, disabled: o = !1, onClick: s, onClose: c, className: l, "aria-label": u, ...d }) => {
|
|
9084
9111
|
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $l("tag-exit", c), g = (e) => {
|
|
9085
9112
|
o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
|
|
9086
9113
|
}, _ = () => {
|
|
9087
9114
|
o || m();
|
|
9088
9115
|
}, v = r ? { "--tag-color": "var(" + r + ")" } : void 0;
|
|
9089
9116
|
return /* @__PURE__ */ x("span", {
|
|
9090
|
-
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider",
|
|
9117
|
+
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider", Pd[n] || Pd.md, "eidotter-tag", "eidotter-tag--" + t, i && "eidotter-tag--selected", o && "opacity-50 cursor-not-allowed", p && "eidotter-tag--closing", f && "cursor-pointer", l),
|
|
9091
9118
|
style: v,
|
|
9092
9119
|
onClick: f ? (e) => !o && s?.(e) : void 0,
|
|
9093
9120
|
onKeyDown: g,
|
|
@@ -9113,17 +9140,17 @@ var Ad = {
|
|
|
9113
9140
|
children: "[x]"
|
|
9114
9141
|
})]
|
|
9115
9142
|
});
|
|
9116
|
-
},
|
|
9143
|
+
}, Id = {
|
|
9117
9144
|
tight: "gap-1",
|
|
9118
9145
|
normal: "gap-2",
|
|
9119
9146
|
loose: "gap-3"
|
|
9120
|
-
},
|
|
9121
|
-
className: $("flex", n ? "flex-wrap" : "flex-nowrap",
|
|
9147
|
+
}, Ld = ({ children: e, gap: t = "normal", wrap: n = !0, className: r, "aria-label": i, ...a }) => /* @__PURE__ */ b("div", {
|
|
9148
|
+
className: $("flex", n ? "flex-wrap" : "flex-nowrap", Id[t] || Id.normal, r),
|
|
9122
9149
|
role: "group",
|
|
9123
9150
|
"aria-label": i,
|
|
9124
9151
|
...a,
|
|
9125
9152
|
children: e
|
|
9126
|
-
}),
|
|
9153
|
+
}), Rd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ b("div", {
|
|
9127
9154
|
className: "timeline-view timeline-view--day",
|
|
9128
9155
|
role: "list",
|
|
9129
9156
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -9131,7 +9158,7 @@ var Ad = {
|
|
|
9131
9158
|
role: "listitem",
|
|
9132
9159
|
children: [/* @__PURE__ */ b("div", {
|
|
9133
9160
|
className: "timeline-view__node",
|
|
9134
|
-
children: /* @__PURE__ */ b(
|
|
9161
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9135
9162
|
shape: "circle",
|
|
9136
9163
|
size: "medium",
|
|
9137
9164
|
variant: "default",
|
|
@@ -9141,15 +9168,15 @@ var Ad = {
|
|
|
9141
9168
|
}), /* @__PURE__ */ b("div", {
|
|
9142
9169
|
className: "timeline-view__content",
|
|
9143
9170
|
children: t.entries.map((t) => {
|
|
9144
|
-
let a = n === t.id, o = () => /* @__PURE__ */ b(
|
|
9171
|
+
let a = n === t.id, o = () => /* @__PURE__ */ b(kd, {
|
|
9145
9172
|
entry: t,
|
|
9146
9173
|
isSelected: a,
|
|
9147
9174
|
isExpanded: a,
|
|
9148
9175
|
onSelect: r,
|
|
9149
|
-
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ b(
|
|
9176
|
+
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ b(Ld, {
|
|
9150
9177
|
gap: "tight",
|
|
9151
9178
|
"aria-label": `Tags for ${t.title}`,
|
|
9152
|
-
children: t.tags.map((e) => /* @__PURE__ */ b(
|
|
9179
|
+
children: t.tags.map((e) => /* @__PURE__ */ b(Fd, {
|
|
9153
9180
|
size: "small",
|
|
9154
9181
|
variant: "outlined",
|
|
9155
9182
|
children: e
|
|
@@ -9165,10 +9192,10 @@ var Ad = {
|
|
|
9165
9192
|
})]
|
|
9166
9193
|
}, t.periodStart))
|
|
9167
9194
|
}));
|
|
9168
|
-
|
|
9195
|
+
Rd.displayName = "DayView";
|
|
9169
9196
|
//#endregion
|
|
9170
9197
|
//#region src/components/TimelineContainer/components/views/HourView.tsx
|
|
9171
|
-
var
|
|
9198
|
+
var zd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ b("div", {
|
|
9172
9199
|
className: "timeline-view timeline-view--hour",
|
|
9173
9200
|
role: "list",
|
|
9174
9201
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -9176,7 +9203,7 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9176
9203
|
role: "listitem",
|
|
9177
9204
|
children: [/* @__PURE__ */ b("div", {
|
|
9178
9205
|
className: "timeline-view__node",
|
|
9179
|
-
children: /* @__PURE__ */ b(
|
|
9206
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9180
9207
|
shape: "circle",
|
|
9181
9208
|
size: "medium",
|
|
9182
9209
|
variant: "default",
|
|
@@ -9186,17 +9213,17 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9186
9213
|
}), /* @__PURE__ */ b("div", {
|
|
9187
9214
|
className: "timeline-view__content",
|
|
9188
9215
|
children: t.entries.map((t) => {
|
|
9189
|
-
let a = n === t.id, o = () => /* @__PURE__ */ x(
|
|
9216
|
+
let a = n === t.id, o = () => /* @__PURE__ */ x(kd, {
|
|
9190
9217
|
entry: t,
|
|
9191
9218
|
isSelected: a,
|
|
9192
9219
|
isExpanded: !0,
|
|
9193
9220
|
onSelect: r,
|
|
9194
9221
|
footer: /* @__PURE__ */ x("div", {
|
|
9195
9222
|
className: "timeline-view__entry-footer",
|
|
9196
|
-
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ b(
|
|
9223
|
+
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ b(Ld, {
|
|
9197
9224
|
gap: "tight",
|
|
9198
9225
|
"aria-label": `Tags for ${t.title}`,
|
|
9199
|
-
children: t.tags.map((e) => /* @__PURE__ */ b(
|
|
9226
|
+
children: t.tags.map((e) => /* @__PURE__ */ b(Fd, {
|
|
9200
9227
|
size: "small",
|
|
9201
9228
|
variant: "outlined",
|
|
9202
9229
|
children: e
|
|
@@ -9210,7 +9237,7 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9210
9237
|
children: [/* @__PURE__ */ b("time", {
|
|
9211
9238
|
className: "timeline-view__timestamp",
|
|
9212
9239
|
dateTime: t.date,
|
|
9213
|
-
children:
|
|
9240
|
+
children: rd(t.date)
|
|
9214
9241
|
}), t.kind === "text" && t.content !== void 0 && /* @__PURE__ */ b("div", {
|
|
9215
9242
|
className: "timeline-view__entry-content",
|
|
9216
9243
|
children: t.content
|
|
@@ -9225,29 +9252,29 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9225
9252
|
})]
|
|
9226
9253
|
}, t.periodStart))
|
|
9227
9254
|
}));
|
|
9228
|
-
|
|
9255
|
+
zd.displayName = "HourView";
|
|
9229
9256
|
//#endregion
|
|
9230
9257
|
//#region src/components/TimelineContainer/components/TimelineContent.tsx
|
|
9231
|
-
var
|
|
9258
|
+
var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
|
|
9232
9259
|
switch (e) {
|
|
9233
|
-
case "year": return /* @__PURE__ */ b(
|
|
9260
|
+
case "year": return /* @__PURE__ */ b(Sd, {
|
|
9234
9261
|
buckets: t,
|
|
9235
9262
|
onBucketClick: i
|
|
9236
9263
|
});
|
|
9237
|
-
case "month": return /* @__PURE__ */ b(
|
|
9264
|
+
case "month": return /* @__PURE__ */ b(Nd, {
|
|
9238
9265
|
buckets: t,
|
|
9239
9266
|
selectedEntryId: n,
|
|
9240
9267
|
onEntrySelect: r,
|
|
9241
9268
|
onBucketClick: i,
|
|
9242
9269
|
renderEntry: a
|
|
9243
9270
|
});
|
|
9244
|
-
case "day": return /* @__PURE__ */ b(
|
|
9271
|
+
case "day": return /* @__PURE__ */ b(Rd, {
|
|
9245
9272
|
buckets: t,
|
|
9246
9273
|
selectedEntryId: n,
|
|
9247
9274
|
onEntrySelect: r,
|
|
9248
9275
|
renderEntry: a
|
|
9249
9276
|
});
|
|
9250
|
-
case "hour": return /* @__PURE__ */ b(
|
|
9277
|
+
case "hour": return /* @__PURE__ */ b(zd, {
|
|
9251
9278
|
buckets: t,
|
|
9252
9279
|
selectedEntryId: n,
|
|
9253
9280
|
onEntrySelect: r,
|
|
@@ -9255,28 +9282,28 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9255
9282
|
});
|
|
9256
9283
|
default: return e;
|
|
9257
9284
|
}
|
|
9258
|
-
},
|
|
9259
|
-
let S = t === "static", C = t === "feed", w = S || C, T = f(null), E = f(null), [D, O] = p(""), { zoomLevel: k, canZoomIn: A, canZoomOut: j, breadcrumbs: M, currentPeriod: N, isDrillDownEnabled: ee, drillDown: te, drillUp: P, reset: ne } =
|
|
9285
|
+
}, Vd = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: o, defaultSelectedEntryId: c, onSelectEntry: l, sortOrder: d = "desc", scrollToZoom: m = !0, keyboardShortcuts: h = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
|
|
9286
|
+
let S = t === "static", C = t === "feed", w = S || C, T = f(null), E = f(null), [D, O] = p(""), { zoomLevel: k, canZoomIn: A, canZoomOut: j, breadcrumbs: M, currentPeriod: N, isDrillDownEnabled: ee, drillDown: te, drillUp: P, reset: ne } = Gu({
|
|
9260
9287
|
zoomLevel: n,
|
|
9261
9288
|
defaultZoomLevel: r,
|
|
9262
9289
|
onZoomChange: i
|
|
9263
|
-
}), { selectedEntryId: re, toggle: F, deselect:
|
|
9290
|
+
}), { selectedEntryId: re, toggle: F, deselect: I } = Ku({
|
|
9264
9291
|
selectedEntryId: o,
|
|
9265
9292
|
defaultSelectedEntryId: c,
|
|
9266
9293
|
onSelectEntry: l
|
|
9267
|
-
}),
|
|
9294
|
+
}), L = u(() => yd(e, k, d), [
|
|
9268
9295
|
e,
|
|
9269
9296
|
k,
|
|
9270
9297
|
d
|
|
9271
|
-
]),
|
|
9298
|
+
]), R = M.length > 0 ? [
|
|
9272
9299
|
"year",
|
|
9273
9300
|
"month",
|
|
9274
9301
|
"day",
|
|
9275
9302
|
"hour"
|
|
9276
|
-
][M.length - 1] : null,
|
|
9277
|
-
|
|
9303
|
+
][M.length - 1] : null, ie = u(() => N && R ? vd(L, N, R) : L, [
|
|
9304
|
+
L,
|
|
9278
9305
|
N,
|
|
9279
|
-
|
|
9306
|
+
R
|
|
9280
9307
|
]);
|
|
9281
9308
|
s(() => {
|
|
9282
9309
|
if (w || !m) return;
|
|
@@ -9301,7 +9328,7 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9301
9328
|
let e = (e) => {
|
|
9302
9329
|
if (!T.current?.contains(document.activeElement) && document.activeElement !== T.current) return;
|
|
9303
9330
|
let t = e.ctrlKey || e.metaKey;
|
|
9304
|
-
t && e.key === "-" ? (e.preventDefault(), P()) : t && e.key === "0" ? (e.preventDefault(), ne(), O("Showing all years")) : e.key === "Escape" && (e.preventDefault(),
|
|
9331
|
+
t && e.key === "-" ? (e.preventDefault(), P()) : t && e.key === "0" ? (e.preventDefault(), ne(), O("Showing all years")) : e.key === "Escape" && (e.preventDefault(), I());
|
|
9305
9332
|
};
|
|
9306
9333
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9307
9334
|
}, [
|
|
@@ -9309,59 +9336,59 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9309
9336
|
h,
|
|
9310
9337
|
P,
|
|
9311
9338
|
ne,
|
|
9312
|
-
|
|
9339
|
+
I
|
|
9313
9340
|
]);
|
|
9314
|
-
let
|
|
9341
|
+
let ae = a((e) => {
|
|
9315
9342
|
A && (te(e.periodStart, e.label), O(`Showing ${k === "year" ? "months" : k === "month" ? "days" : "hours"} in ${e.label}`));
|
|
9316
9343
|
}, [
|
|
9317
9344
|
A,
|
|
9318
9345
|
te,
|
|
9319
9346
|
k
|
|
9320
|
-
]),
|
|
9347
|
+
]), z = f(M.length);
|
|
9321
9348
|
s(() => {
|
|
9322
|
-
if (M.length !==
|
|
9323
|
-
|
|
9349
|
+
if (M.length !== z.current) {
|
|
9350
|
+
z.current = M.length;
|
|
9324
9351
|
let e = E.current?.querySelector(".eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role=\"button\"]");
|
|
9325
9352
|
e && requestAnimationFrame(() => e.focus());
|
|
9326
9353
|
}
|
|
9327
9354
|
}, [M.length]);
|
|
9328
|
-
let
|
|
9355
|
+
let oe = u(() => w ? [...e].sort((e, t) => {
|
|
9329
9356
|
let n = e.date.localeCompare(t.date);
|
|
9330
9357
|
return d === "desc" ? -n : n;
|
|
9331
9358
|
}) : e, [
|
|
9332
9359
|
w,
|
|
9333
9360
|
e,
|
|
9334
9361
|
d
|
|
9335
|
-
]),
|
|
9362
|
+
]), se = Math.max(1, _), [B, ce] = p(se);
|
|
9336
9363
|
s(() => {
|
|
9337
|
-
C &&
|
|
9338
|
-
let t =
|
|
9339
|
-
return t === 0 ?
|
|
9364
|
+
C && ce((e) => {
|
|
9365
|
+
let t = oe.length;
|
|
9366
|
+
return t === 0 ? se : e > t ? Math.max(se, t) : e;
|
|
9340
9367
|
});
|
|
9341
9368
|
}, [
|
|
9342
9369
|
C,
|
|
9343
|
-
|
|
9344
|
-
|
|
9370
|
+
se,
|
|
9371
|
+
oe.length
|
|
9345
9372
|
]);
|
|
9346
|
-
let
|
|
9373
|
+
let le = u(() => C ? oe.slice(0, B) : oe, [
|
|
9347
9374
|
C,
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
]),
|
|
9351
|
-
let e = Math.min(
|
|
9352
|
-
e <=
|
|
9375
|
+
oe,
|
|
9376
|
+
B
|
|
9377
|
+
]), ue = C && B < oe.length, de = a(() => {
|
|
9378
|
+
let e = Math.min(B + se, oe.length);
|
|
9379
|
+
e <= B || (ce(e), v?.(e));
|
|
9353
9380
|
}, [
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9381
|
+
B,
|
|
9382
|
+
se,
|
|
9383
|
+
oe.length,
|
|
9357
9384
|
v
|
|
9358
|
-
]),
|
|
9385
|
+
]), fe = u(() => new Intl.DateTimeFormat("en-US", {
|
|
9359
9386
|
year: "numeric",
|
|
9360
9387
|
month: "short",
|
|
9361
9388
|
day: "numeric"
|
|
9362
|
-
}), []),
|
|
9389
|
+
}), []), pe = (e) => {
|
|
9363
9390
|
try {
|
|
9364
|
-
return
|
|
9391
|
+
return fe.format(new Date(e));
|
|
9365
9392
|
} catch {
|
|
9366
9393
|
return e;
|
|
9367
9394
|
}
|
|
@@ -9381,7 +9408,7 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9381
9408
|
"aria-atomic": "true",
|
|
9382
9409
|
children: D
|
|
9383
9410
|
}),
|
|
9384
|
-
!w && /* @__PURE__ */ b(
|
|
9411
|
+
!w && /* @__PURE__ */ b(bd, {
|
|
9385
9412
|
zoomLevel: k,
|
|
9386
9413
|
canZoomIn: A,
|
|
9387
9414
|
canZoomOut: j,
|
|
@@ -9400,12 +9427,12 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9400
9427
|
className: "eidotter-timeline-container__empty",
|
|
9401
9428
|
role: "status",
|
|
9402
9429
|
children: [/* @__PURE__ */ b("p", { children: "C:\\TIMELINE> No entries found." }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9403
|
-
}) : S ? /* @__PURE__ */ b(
|
|
9430
|
+
}) : S ? /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ b("div", {
|
|
9404
9431
|
className: "eidotter-timeline-container__static",
|
|
9405
9432
|
role: "list",
|
|
9406
9433
|
"aria-label": "Timeline",
|
|
9407
|
-
children:
|
|
9408
|
-
let t = () => /* @__PURE__ */ b(
|
|
9434
|
+
children: oe.map((e) => {
|
|
9435
|
+
let t = () => /* @__PURE__ */ b(kd, {
|
|
9409
9436
|
entry: e,
|
|
9410
9437
|
isSelected: !1,
|
|
9411
9438
|
isExpanded: !0
|
|
@@ -9415,11 +9442,11 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9415
9442
|
role: "listitem",
|
|
9416
9443
|
children: [/* @__PURE__ */ b("div", {
|
|
9417
9444
|
className: "timeline-view__node",
|
|
9418
|
-
children: /* @__PURE__ */ b(
|
|
9445
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9419
9446
|
shape: "circle",
|
|
9420
9447
|
size: "medium",
|
|
9421
9448
|
variant: "default",
|
|
9422
|
-
label:
|
|
9449
|
+
label: pe(e.date),
|
|
9423
9450
|
labelPosition: "right"
|
|
9424
9451
|
})
|
|
9425
9452
|
}), g ? g(e, {
|
|
@@ -9429,12 +9456,12 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9429
9456
|
}) : t()]
|
|
9430
9457
|
}, e.id);
|
|
9431
9458
|
})
|
|
9432
|
-
}) }) : C ? /* @__PURE__ */ x(
|
|
9459
|
+
}) }) : C ? /* @__PURE__ */ x(xd, { children: [/* @__PURE__ */ b("div", {
|
|
9433
9460
|
className: "eidotter-timeline-container__feed",
|
|
9434
9461
|
role: "list",
|
|
9435
9462
|
"aria-label": "Timeline",
|
|
9436
|
-
children:
|
|
9437
|
-
let t = re === e.id, n = () => /* @__PURE__ */ b(
|
|
9463
|
+
children: le.map((e) => {
|
|
9464
|
+
let t = re === e.id, n = () => /* @__PURE__ */ b(kd, {
|
|
9438
9465
|
entry: e,
|
|
9439
9466
|
isSelected: t,
|
|
9440
9467
|
isExpanded: t,
|
|
@@ -9445,11 +9472,11 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9445
9472
|
role: "listitem",
|
|
9446
9473
|
children: [/* @__PURE__ */ b("div", {
|
|
9447
9474
|
className: "timeline-view__node",
|
|
9448
|
-
children: /* @__PURE__ */ b(
|
|
9475
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9449
9476
|
shape: "circle",
|
|
9450
9477
|
size: "medium",
|
|
9451
9478
|
variant: "default",
|
|
9452
|
-
label:
|
|
9479
|
+
label: pe(e.date),
|
|
9453
9480
|
labelPosition: "right"
|
|
9454
9481
|
})
|
|
9455
9482
|
}), g ? g(e, {
|
|
@@ -9459,13 +9486,13 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9459
9486
|
}) : n()]
|
|
9460
9487
|
}, e.id);
|
|
9461
9488
|
})
|
|
9462
|
-
}),
|
|
9489
|
+
}), ue && /* @__PURE__ */ b("button", {
|
|
9463
9490
|
type: "button",
|
|
9464
9491
|
className: "eidotter-timeline-container__load-more",
|
|
9465
|
-
onClick:
|
|
9466
|
-
"aria-label": `Load more entries (showing ${
|
|
9492
|
+
onClick: de,
|
|
9493
|
+
"aria-label": `Load more entries (showing ${B} of ${oe.length})`,
|
|
9467
9494
|
children: "LOAD MORE..."
|
|
9468
|
-
})] }) :
|
|
9495
|
+
})] }) : ie.length === 0 && N ? /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ x("div", {
|
|
9469
9496
|
className: "eidotter-timeline-container__empty",
|
|
9470
9497
|
role: "status",
|
|
9471
9498
|
children: [/* @__PURE__ */ x("p", { children: [
|
|
@@ -9473,18 +9500,18 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9473
9500
|
M[M.length - 1]?.label ?? "this period",
|
|
9474
9501
|
"."
|
|
9475
9502
|
] }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9476
|
-
}) }) : /* @__PURE__ */ b(
|
|
9503
|
+
}) }) : /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ b(Bd, {
|
|
9477
9504
|
zoomLevel: k,
|
|
9478
|
-
buckets:
|
|
9505
|
+
buckets: ie,
|
|
9479
9506
|
selectedEntryId: re,
|
|
9480
9507
|
onEntrySelect: F,
|
|
9481
|
-
onBucketClick:
|
|
9508
|
+
onBucketClick: ae,
|
|
9482
9509
|
renderEntry: g
|
|
9483
9510
|
}) })
|
|
9484
9511
|
})
|
|
9485
9512
|
]
|
|
9486
9513
|
});
|
|
9487
|
-
},
|
|
9514
|
+
}, Hd = r(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, className: o }, c) => {
|
|
9488
9515
|
let l = f(e), u = f(!1);
|
|
9489
9516
|
s(() => {
|
|
9490
9517
|
e !== l.current && (l.current = e, u.current || (t?.(e), e || n?.()), u.current = !1);
|
|
@@ -9536,12 +9563,12 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9536
9563
|
})
|
|
9537
9564
|
});
|
|
9538
9565
|
});
|
|
9539
|
-
|
|
9566
|
+
Hd.displayName = "Modal";
|
|
9540
9567
|
//#endregion
|
|
9541
9568
|
//#region src/hooks/useTextScramble.ts
|
|
9542
|
-
var
|
|
9543
|
-
function
|
|
9544
|
-
let { speed: n = 40, characters: r =
|
|
9569
|
+
var Ud = "░▒▓█│┤┐└┴┬├─┼", Wd = 4;
|
|
9570
|
+
function Gd(e, t) {
|
|
9571
|
+
let { speed: n = 40, characters: r = Ud, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, c] = p(() => {
|
|
9545
9572
|
if (!i || Ql()) return e;
|
|
9546
9573
|
let t = "";
|
|
9547
9574
|
for (let n = 0; n < e.length; n++) e[n] === " " ? t += " " : t += r[Math.floor(Math.random() * r.length)];
|
|
@@ -9562,7 +9589,7 @@ function Vd(e, t) {
|
|
|
9562
9589
|
return;
|
|
9563
9590
|
}
|
|
9564
9591
|
if (a >= n) {
|
|
9565
|
-
if (s = i, o++, o >=
|
|
9592
|
+
if (s = i, o++, o >= Wd && (t++, o = 0), t >= e.length) {
|
|
9566
9593
|
c(e), u(!1);
|
|
9567
9594
|
return;
|
|
9568
9595
|
}
|
|
@@ -9588,7 +9615,7 @@ function Vd(e, t) {
|
|
|
9588
9615
|
}
|
|
9589
9616
|
//#endregion
|
|
9590
9617
|
//#region src/components/Stat/components/Stat.tsx
|
|
9591
|
-
var
|
|
9618
|
+
var Kd = {
|
|
9592
9619
|
sm: {
|
|
9593
9620
|
root: "gap-0.5",
|
|
9594
9621
|
label: "text-dos-text-xs",
|
|
@@ -9625,23 +9652,23 @@ var Hd = {
|
|
|
9625
9652
|
value: "text-dos-display-md",
|
|
9626
9653
|
trend: "text-dos-text-md"
|
|
9627
9654
|
}
|
|
9628
|
-
},
|
|
9655
|
+
}, qd = {
|
|
9629
9656
|
up: "text-cga-bright-green",
|
|
9630
9657
|
down: "text-cga-bright-red",
|
|
9631
9658
|
neutral: "text-cga-amber"
|
|
9632
|
-
},
|
|
9659
|
+
}, Jd = {
|
|
9633
9660
|
up: "▲",
|
|
9634
9661
|
down: "▼",
|
|
9635
9662
|
neutral: "►"
|
|
9636
|
-
},
|
|
9663
|
+
}, Yd = {
|
|
9637
9664
|
up: "increasing",
|
|
9638
9665
|
down: "decreasing",
|
|
9639
9666
|
neutral: "unchanged"
|
|
9640
|
-
},
|
|
9641
|
-
let { text: l } =
|
|
9667
|
+
}, Xd = r(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, className: o, ...s }, c) => {
|
|
9668
|
+
let { text: l } = Gd(String(t), {
|
|
9642
9669
|
speed: 30,
|
|
9643
9670
|
enabled: a
|
|
9644
|
-
}), u = a ? l : String(t), d =
|
|
9671
|
+
}), u = a ? l : String(t), d = Kd[i] || Kd.md;
|
|
9645
9672
|
return /* @__PURE__ */ x("div", {
|
|
9646
9673
|
ref: c,
|
|
9647
9674
|
className: $("flex flex-col font-dos", "eidotter-stat", d.root, o),
|
|
@@ -9656,12 +9683,12 @@ var Hd = {
|
|
|
9656
9683
|
children: u
|
|
9657
9684
|
}),
|
|
9658
9685
|
n && /* @__PURE__ */ x("span", {
|
|
9659
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
9660
|
-
"aria-label": `Trend: ${
|
|
9686
|
+
className: $("inline-flex items-center gap-1 leading-none", qd[n], d.trend),
|
|
9687
|
+
"aria-label": `Trend: ${Yd[n]}${r ? `, ${r}` : ""}`,
|
|
9661
9688
|
children: [/* @__PURE__ */ b("span", {
|
|
9662
9689
|
className: "text-[0.8em]",
|
|
9663
9690
|
"aria-hidden": "true",
|
|
9664
|
-
children:
|
|
9691
|
+
children: Jd[n]
|
|
9665
9692
|
}), r && /* @__PURE__ */ b("span", {
|
|
9666
9693
|
className: "tabular-nums",
|
|
9667
9694
|
children: r
|
|
@@ -9670,17 +9697,17 @@ var Hd = {
|
|
|
9670
9697
|
]
|
|
9671
9698
|
});
|
|
9672
9699
|
});
|
|
9673
|
-
|
|
9700
|
+
Xd.displayName = "Stat";
|
|
9674
9701
|
//#endregion
|
|
9675
9702
|
//#region src/components/FilterBar/components/FilterBar.tsx
|
|
9676
|
-
var
|
|
9703
|
+
var Zd = {
|
|
9677
9704
|
sm: "eidotter-filter-bar--sm",
|
|
9678
9705
|
md: "eidotter-filter-bar--md",
|
|
9679
9706
|
lg: "eidotter-filter-bar--lg",
|
|
9680
9707
|
small: "eidotter-filter-bar--sm",
|
|
9681
9708
|
medium: "eidotter-filter-bar--md",
|
|
9682
9709
|
large: "eidotter-filter-bar--lg"
|
|
9683
|
-
},
|
|
9710
|
+
}, Qd = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: o = "All", size: s = "md", onChange: c, className: l, ...u }) => {
|
|
9684
9711
|
let [d, m] = p(n), h = f(null), g = t !== void 0, _ = g ? t : d, v = e.filter((e) => !e.disabled).map((e) => e.id), y = _.length === 0, S = a((e) => {
|
|
9685
9712
|
g || m(e), c?.(e);
|
|
9686
9713
|
}, [g, c]), C = a((e) => {
|
|
@@ -9715,7 +9742,7 @@ var qd = {
|
|
|
9715
9742
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
9716
9743
|
return /* @__PURE__ */ x("div", {
|
|
9717
9744
|
ref: h,
|
|
9718
|
-
className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar",
|
|
9745
|
+
className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar", Zd[s] || Zd.md, l),
|
|
9719
9746
|
role: "toolbar",
|
|
9720
9747
|
onKeyDown: E,
|
|
9721
9748
|
...u,
|
|
@@ -9748,7 +9775,7 @@ var qd = {
|
|
|
9748
9775
|
}, e.id);
|
|
9749
9776
|
})]
|
|
9750
9777
|
});
|
|
9751
|
-
},
|
|
9778
|
+
}, $d = (e) => {
|
|
9752
9779
|
if (!e) return !1;
|
|
9753
9780
|
try {
|
|
9754
9781
|
let t = new URL(e);
|
|
@@ -9760,7 +9787,7 @@ var qd = {
|
|
|
9760
9787
|
} catch {
|
|
9761
9788
|
return !1;
|
|
9762
9789
|
}
|
|
9763
|
-
},
|
|
9790
|
+
}, ef = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
9764
9791
|
let [l, u] = p(n), [d, m] = p(/* @__PURE__ */ new Set()), h = f(n), g = c(), _ = f(null), v = r !== void 0, y = v ? r : l;
|
|
9765
9792
|
y && (h.current = !0);
|
|
9766
9793
|
let S = () => {
|
|
@@ -9799,12 +9826,12 @@ var qd = {
|
|
|
9799
9826
|
className: "eidotter-inline-expand__source-item",
|
|
9800
9827
|
role: "listitem",
|
|
9801
9828
|
children: /* @__PURE__ */ x("a", {
|
|
9802
|
-
href:
|
|
9829
|
+
href: $d(e.url) ? e.url : void 0,
|
|
9803
9830
|
className: "eidotter-inline-expand__source-link",
|
|
9804
9831
|
target: "_blank",
|
|
9805
9832
|
rel: "noopener noreferrer",
|
|
9806
9833
|
"aria-label": `${e.title} (opens external website)`,
|
|
9807
|
-
children: [h.current && e.favicon &&
|
|
9834
|
+
children: [h.current && e.favicon && $d(e.favicon) && !d.has(e.url) ? /* @__PURE__ */ b("img", {
|
|
9808
9835
|
className: "eidotter-inline-expand__source-favicon",
|
|
9809
9836
|
src: e.favicon,
|
|
9810
9837
|
alt: "",
|
|
@@ -9825,15 +9852,15 @@ var qd = {
|
|
|
9825
9852
|
})]
|
|
9826
9853
|
})]
|
|
9827
9854
|
});
|
|
9828
|
-
},
|
|
9855
|
+
}, tf = {
|
|
9829
9856
|
horizontal: "h-px w-full",
|
|
9830
9857
|
vertical: "w-px h-full"
|
|
9831
|
-
},
|
|
9858
|
+
}, nf = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ b("div", {
|
|
9832
9859
|
role: "separator",
|
|
9833
9860
|
"aria-orientation": e,
|
|
9834
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
9835
|
-
}),
|
|
9836
|
-
let { text: s, isScrambling: c } =
|
|
9861
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", tf[e], t)
|
|
9862
|
+
}), rf = r(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
|
|
9863
|
+
let { text: s, isScrambling: c } = Gd(e, {
|
|
9837
9864
|
speed: t,
|
|
9838
9865
|
characters: n,
|
|
9839
9866
|
delay: r
|
|
@@ -9845,16 +9872,16 @@ var qd = {
|
|
|
9845
9872
|
children: s
|
|
9846
9873
|
});
|
|
9847
9874
|
});
|
|
9848
|
-
|
|
9875
|
+
rf.displayName = "TextScramble";
|
|
9849
9876
|
//#endregion
|
|
9850
9877
|
//#region src/components/Nav/components/Nav.tsx
|
|
9851
|
-
var
|
|
9878
|
+
var af = {
|
|
9852
9879
|
retro: "eidotter-nav--retro",
|
|
9853
9880
|
modern: "eidotter-nav--modern"
|
|
9854
|
-
},
|
|
9881
|
+
}, of = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9855
9882
|
let a = r || "a";
|
|
9856
9883
|
return /* @__PURE__ */ b("nav", {
|
|
9857
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
9884
|
+
className: $("eidotter-nav eidotter-nav--desktop", af[n], i),
|
|
9858
9885
|
"aria-label": "Main navigation",
|
|
9859
9886
|
children: /* @__PURE__ */ b("ul", {
|
|
9860
9887
|
className: "eidotter-nav__desktop-list",
|
|
@@ -9868,7 +9895,7 @@ var ef = {
|
|
|
9868
9895
|
}, e.href))
|
|
9869
9896
|
})
|
|
9870
9897
|
});
|
|
9871
|
-
},
|
|
9898
|
+
}, sf = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9872
9899
|
let [o, c] = p(!1), l = r || "a", u = a(() => c((e) => !e), []), d = a(() => c(!1), []);
|
|
9873
9900
|
return s(() => {
|
|
9874
9901
|
if (!o) return;
|
|
@@ -9877,7 +9904,7 @@ var ef = {
|
|
|
9877
9904
|
};
|
|
9878
9905
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9879
9906
|
}, [o, d]), /* @__PURE__ */ x("div", {
|
|
9880
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
9907
|
+
className: $("eidotter-nav eidotter-nav--mobile", af[n], i),
|
|
9881
9908
|
children: [
|
|
9882
9909
|
/* @__PURE__ */ b("button", {
|
|
9883
9910
|
onClick: u,
|
|
@@ -9922,14 +9949,14 @@ var ef = {
|
|
|
9922
9949
|
})
|
|
9923
9950
|
]
|
|
9924
9951
|
});
|
|
9925
|
-
},
|
|
9952
|
+
}, cf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(sf, { ...e }), /* @__PURE__ */ b(of, { ...e })] }), lf = {
|
|
9926
9953
|
user: "eidotter-chat-message--user",
|
|
9927
9954
|
assistant: "eidotter-chat-message--assistant",
|
|
9928
9955
|
system: "eidotter-chat-message--system"
|
|
9929
|
-
},
|
|
9956
|
+
}, uf = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
9930
9957
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
9931
9958
|
return /* @__PURE__ */ x("div", {
|
|
9932
|
-
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words",
|
|
9959
|
+
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", lf[e], n && "eidotter-chat-message--streaming", a),
|
|
9933
9960
|
...o,
|
|
9934
9961
|
children: [
|
|
9935
9962
|
s && /* @__PURE__ */ b("span", {
|
|
@@ -9948,7 +9975,7 @@ var ef = {
|
|
|
9948
9975
|
})
|
|
9949
9976
|
]
|
|
9950
9977
|
});
|
|
9951
|
-
},
|
|
9978
|
+
}, df = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
9952
9979
|
let o = f(null);
|
|
9953
9980
|
s(() => {
|
|
9954
9981
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -9977,7 +10004,7 @@ var ef = {
|
|
|
9977
10004
|
className: "flex flex-col",
|
|
9978
10005
|
children: [e.map((i, a) => {
|
|
9979
10006
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
9980
|
-
return /* @__PURE__ */ b(
|
|
10007
|
+
return /* @__PURE__ */ b(uf, {
|
|
9981
10008
|
role: i.role,
|
|
9982
10009
|
content: i.content,
|
|
9983
10010
|
isStreaming: o,
|
|
@@ -9987,7 +10014,7 @@ var ef = {
|
|
|
9987
10014
|
}), /* @__PURE__ */ b("div", { ref: o })]
|
|
9988
10015
|
})
|
|
9989
10016
|
});
|
|
9990
|
-
},
|
|
10017
|
+
}, ff = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
9991
10018
|
let [o, s] = p(""), c = f(null);
|
|
9992
10019
|
l(() => {
|
|
9993
10020
|
let e = c.current;
|
|
@@ -10029,30 +10056,30 @@ var ef = {
|
|
|
10029
10056
|
})]
|
|
10030
10057
|
})]
|
|
10031
10058
|
});
|
|
10032
|
-
},
|
|
10059
|
+
}, pf = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ x("div", {
|
|
10033
10060
|
className: $("flex flex-col h-full min-h-0", c),
|
|
10034
10061
|
...l,
|
|
10035
|
-
children: [/* @__PURE__ */ b(
|
|
10062
|
+
children: [/* @__PURE__ */ b(df, {
|
|
10036
10063
|
className: "flex-1 min-h-0",
|
|
10037
10064
|
messages: e,
|
|
10038
10065
|
isStreaming: n,
|
|
10039
10066
|
userPrefix: i,
|
|
10040
10067
|
assistantPrefix: a
|
|
10041
|
-
}), /* @__PURE__ */ b(
|
|
10068
|
+
}), /* @__PURE__ */ b(ff, {
|
|
10042
10069
|
className: "shrink-0",
|
|
10043
10070
|
onSend: t,
|
|
10044
10071
|
prompt: r,
|
|
10045
10072
|
placeholder: o,
|
|
10046
10073
|
disabled: s
|
|
10047
10074
|
})]
|
|
10048
|
-
}),
|
|
10075
|
+
}), mf = [{
|
|
10049
10076
|
label: "Impressum",
|
|
10050
10077
|
href: "/impressum"
|
|
10051
10078
|
}, {
|
|
10052
10079
|
label: "Datenschutz",
|
|
10053
10080
|
href: "/datenschutz"
|
|
10054
|
-
}],
|
|
10055
|
-
let s = n ??
|
|
10081
|
+
}], hf = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
|
|
10082
|
+
let s = n ?? mf, c = r ?? "a", l = "eidotter-footer__link text-cga-amber no-underline";
|
|
10056
10083
|
return /* @__PURE__ */ x("footer", {
|
|
10057
10084
|
className: $("font-dos text-sm py-4 px-2 text-center", "eidotter-footer", a),
|
|
10058
10085
|
...o,
|
|
@@ -10090,14 +10117,14 @@ var ef = {
|
|
|
10090
10117
|
})
|
|
10091
10118
|
]
|
|
10092
10119
|
});
|
|
10093
|
-
},
|
|
10120
|
+
}, gf = {
|
|
10094
10121
|
retro: "eidotter-header--retro",
|
|
10095
10122
|
modern: "eidotter-header--modern"
|
|
10096
|
-
},
|
|
10123
|
+
}, _f = r(({ brandName: e, brandHref: t = "/", items: n, activeHref: r, variant: i = "retro", sticky: a = !0, linkComponent: o, children: s, className: c, ...l }, u) => {
|
|
10097
10124
|
let d = o ?? "a";
|
|
10098
10125
|
return /* @__PURE__ */ x("header", {
|
|
10099
10126
|
ref: u,
|
|
10100
|
-
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header",
|
|
10127
|
+
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", gf[i], a && "sticky top-0 z-50 bg-dos-bg-primary", c),
|
|
10101
10128
|
...l,
|
|
10102
10129
|
children: [
|
|
10103
10130
|
/* @__PURE__ */ b(d, {
|
|
@@ -10105,13 +10132,13 @@ var ef = {
|
|
|
10105
10132
|
className: $("no-underline text-base font-bold tracking-wide", "eidotter-header__branding"),
|
|
10106
10133
|
children: s || e
|
|
10107
10134
|
}),
|
|
10108
|
-
/* @__PURE__ */ b(
|
|
10135
|
+
/* @__PURE__ */ b(of, {
|
|
10109
10136
|
items: n,
|
|
10110
10137
|
activeHref: r,
|
|
10111
10138
|
variant: i,
|
|
10112
10139
|
linkComponent: o
|
|
10113
10140
|
}),
|
|
10114
|
-
/* @__PURE__ */ b(
|
|
10141
|
+
/* @__PURE__ */ b(sf, {
|
|
10115
10142
|
items: n,
|
|
10116
10143
|
activeHref: r,
|
|
10117
10144
|
variant: i,
|
|
@@ -10120,16 +10147,16 @@ var ef = {
|
|
|
10120
10147
|
]
|
|
10121
10148
|
});
|
|
10122
10149
|
});
|
|
10123
|
-
|
|
10150
|
+
_f.displayName = "Header";
|
|
10124
10151
|
//#endregion
|
|
10125
10152
|
//#region src/components/Notification/components/Notification.tsx
|
|
10126
|
-
var
|
|
10153
|
+
var vf = {
|
|
10127
10154
|
primary: "Info",
|
|
10128
10155
|
gray: "Info",
|
|
10129
10156
|
success: "Done",
|
|
10130
10157
|
warning: "Warning",
|
|
10131
10158
|
error: "Error"
|
|
10132
|
-
},
|
|
10159
|
+
}, yf = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: c, progressLabel: l, duration: u, showIcon: d = !0, className: f }) => {
|
|
10133
10160
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $l("notification-exit", i);
|
|
10134
10161
|
s(() => {
|
|
10135
10162
|
if (u == null || !i) return;
|
|
@@ -10159,7 +10186,7 @@ var mf = {
|
|
|
10159
10186
|
g && /* @__PURE__ */ b("div", {
|
|
10160
10187
|
className: "eidotter-notification__icon",
|
|
10161
10188
|
children: /* @__PURE__ */ b(Zl, {
|
|
10162
|
-
name:
|
|
10189
|
+
name: vf[e] || "Info",
|
|
10163
10190
|
size: "S",
|
|
10164
10191
|
"aria-label": `${e} notification`
|
|
10165
10192
|
})
|
|
@@ -10215,7 +10242,7 @@ var mf = {
|
|
|
10215
10242
|
};
|
|
10216
10243
|
//#endregion
|
|
10217
10244
|
//#region src/components/InlineLink/components/InlineLink.tsx
|
|
10218
|
-
function
|
|
10245
|
+
function bf(e) {
|
|
10219
10246
|
let t = e.trim();
|
|
10220
10247
|
if (t === "" || /^[#?/]/.test(t)) return t;
|
|
10221
10248
|
let n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
|
|
@@ -10230,14 +10257,14 @@ function gf(e) {
|
|
|
10230
10257
|
"sms"
|
|
10231
10258
|
].includes(r) ? t : "#";
|
|
10232
10259
|
}
|
|
10233
|
-
function
|
|
10260
|
+
function xf(e, t) {
|
|
10234
10261
|
if (t.length === 0) return e;
|
|
10235
10262
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
10236
10263
|
for (let e of t) n.add(e.toLowerCase());
|
|
10237
10264
|
return Array.from(n).join(" ");
|
|
10238
10265
|
}
|
|
10239
|
-
var
|
|
10240
|
-
let l =
|
|
10266
|
+
var Sf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
|
|
10267
|
+
let l = bf(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? xf(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
|
|
10241
10268
|
return /* @__PURE__ */ x("a", {
|
|
10242
10269
|
ref: c,
|
|
10243
10270
|
href: l,
|
|
@@ -10255,10 +10282,10 @@ var vf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
10255
10282
|
})]
|
|
10256
10283
|
});
|
|
10257
10284
|
});
|
|
10258
|
-
|
|
10285
|
+
Sf.displayName = "InlineLink";
|
|
10259
10286
|
//#endregion
|
|
10260
10287
|
//#region src/components/DosFigure/components/DosFigure.tsx
|
|
10261
|
-
var
|
|
10288
|
+
var Cf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, l) => {
|
|
10262
10289
|
let u = c(), d = r ? u : void 0;
|
|
10263
10290
|
return /* @__PURE__ */ x("figure", {
|
|
10264
10291
|
ref: l,
|
|
@@ -10319,11 +10346,11 @@ var yf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
10319
10346
|
]
|
|
10320
10347
|
});
|
|
10321
10348
|
});
|
|
10322
|
-
|
|
10349
|
+
Cf.displayName = "DosFigure";
|
|
10323
10350
|
//#endregion
|
|
10324
10351
|
//#region src/components/CmdPalette/components/CmdPalette.tsx
|
|
10325
|
-
var
|
|
10326
|
-
function
|
|
10352
|
+
var wf = /* @__PURE__ */ b(y, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
|
|
10353
|
+
function Tf(e) {
|
|
10327
10354
|
let t = e.toLowerCase().split("+").map((e) => e.trim()), n = t[t.length - 1], r = t.includes("mod"), i = t.includes("shift"), a = t.includes("alt");
|
|
10328
10355
|
return (e) => {
|
|
10329
10356
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -10331,15 +10358,15 @@ function xf(e) {
|
|
|
10331
10358
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
10332
10359
|
};
|
|
10333
10360
|
}
|
|
10334
|
-
function
|
|
10361
|
+
function Ef(e, t) {
|
|
10335
10362
|
if (!t) return 0;
|
|
10336
10363
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
10337
10364
|
return r.startsWith(n) ? 100 : i.some((e) => e.startsWith(n)) ? 80 : r.includes(n) ? 50 : i.some((e) => e.includes(n)) ? 30 : (e.type || "").toLowerCase().includes(n) ? 10 : -1;
|
|
10338
10365
|
}
|
|
10339
|
-
var
|
|
10366
|
+
var Df = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: o = "NO MATCHES", footerHint: l = wf, renderItem: d, maxResults: m = 20, className: h, "aria-label": g = "Command palette" }, _) => {
|
|
10340
10367
|
let v = c(), S = `${v}-listbox`, [C, w] = p(""), [T, E] = p(0), D = f(null), O = f(null), k = f(!1), A = u(() => C.trim() ? n.map((e) => ({
|
|
10341
10368
|
item: e,
|
|
10342
|
-
score:
|
|
10369
|
+
score: Ef(e, C.trim())
|
|
10343
10370
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, m).map((e) => e.item) : n.slice(0, m), [
|
|
10344
10371
|
n,
|
|
10345
10372
|
C,
|
|
@@ -10364,7 +10391,7 @@ var Cf = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10364
10391
|
M.current = t;
|
|
10365
10392
|
}, [t]), s(() => {
|
|
10366
10393
|
if (i === !1) return;
|
|
10367
|
-
let e =
|
|
10394
|
+
let e = Tf(i), t = (t) => {
|
|
10368
10395
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
10369
10396
|
};
|
|
10370
10397
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -10473,10 +10500,10 @@ var Cf = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10473
10500
|
})
|
|
10474
10501
|
});
|
|
10475
10502
|
});
|
|
10476
|
-
|
|
10503
|
+
Df.displayName = "CmdPalette";
|
|
10477
10504
|
//#endregion
|
|
10478
10505
|
//#region src/components/Brand/components/Logo.tsx
|
|
10479
|
-
var
|
|
10506
|
+
var Of = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => {
|
|
10480
10507
|
let o = c(), s = `eidotter-logo-halo-${o}`, l = `eidotter-logo-core-${o}`;
|
|
10481
10508
|
return /* @__PURE__ */ x("svg", {
|
|
10482
10509
|
ref: a,
|
|
@@ -10700,10 +10727,10 @@ var wf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, .
|
|
|
10700
10727
|
]
|
|
10701
10728
|
});
|
|
10702
10729
|
});
|
|
10703
|
-
|
|
10730
|
+
Of.displayName = "Logo";
|
|
10704
10731
|
//#endregion
|
|
10705
10732
|
//#region src/components/Brand/components/Wordmark.tsx
|
|
10706
|
-
var
|
|
10733
|
+
var kf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span", {
|
|
10707
10734
|
ref: r,
|
|
10708
10735
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
10709
10736
|
"aria-label": "eiDotter",
|
|
@@ -10718,28 +10745,28 @@ var Tf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span"
|
|
|
10718
10745
|
children: "Dotter"
|
|
10719
10746
|
})]
|
|
10720
10747
|
}));
|
|
10721
|
-
|
|
10748
|
+
kf.displayName = "Wordmark";
|
|
10722
10749
|
//#endregion
|
|
10723
10750
|
//#region src/components/Brand/components/BrandLockup.tsx
|
|
10724
|
-
var
|
|
10751
|
+
var Af = r(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ x("div", {
|
|
10725
10752
|
ref: o,
|
|
10726
10753
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
10727
10754
|
role: "img",
|
|
10728
10755
|
"aria-label": "eiDotter",
|
|
10729
10756
|
...a,
|
|
10730
|
-
children: [!n && /* @__PURE__ */ b(
|
|
10757
|
+
children: [!n && /* @__PURE__ */ b(Of, {
|
|
10731
10758
|
size: e,
|
|
10732
10759
|
glow: r,
|
|
10733
10760
|
title: ""
|
|
10734
|
-
}), !t && /* @__PURE__ */ b(
|
|
10761
|
+
}), !t && /* @__PURE__ */ b(kf, {
|
|
10735
10762
|
glow: r,
|
|
10736
10763
|
"aria-hidden": "true"
|
|
10737
10764
|
})]
|
|
10738
10765
|
}));
|
|
10739
|
-
|
|
10766
|
+
Af.displayName = "BrandLockup";
|
|
10740
10767
|
//#endregion
|
|
10741
10768
|
//#region src/components/AIText/components/AIText.tsx
|
|
10742
|
-
var
|
|
10769
|
+
var jf = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ x("span", {
|
|
10743
10770
|
"data-provenance": "ai-draft",
|
|
10744
10771
|
className: $("eidotter-ai-text", t),
|
|
10745
10772
|
title: n,
|
|
@@ -10748,43 +10775,43 @@ var Df = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
10748
10775
|
children: "AI-assisted: "
|
|
10749
10776
|
}), e]
|
|
10750
10777
|
});
|
|
10751
|
-
|
|
10778
|
+
jf.displayName = "AIText";
|
|
10752
10779
|
//#endregion
|
|
10753
10780
|
//#region src/components/Skeleton/components/Skeleton.tsx
|
|
10754
|
-
var
|
|
10781
|
+
var Mf = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", Nf = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", Pf = 6, Ff = {
|
|
10755
10782
|
text: 3,
|
|
10756
10783
|
card: 3,
|
|
10757
10784
|
figure: 4,
|
|
10758
10785
|
timeline: 2
|
|
10759
|
-
},
|
|
10786
|
+
}, If = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ b("span", {
|
|
10760
10787
|
className: $("eidotter-skeleton__line", t === "short" && "eidotter-skeleton__line--short", t === "meta" && "eidotter-skeleton__line--meta"),
|
|
10761
|
-
children: (e ?
|
|
10788
|
+
children: (e ? Nf : Mf).repeat(Pf)
|
|
10762
10789
|
});
|
|
10763
|
-
function
|
|
10764
|
-
return Array.from({ length: e }, (r, i) => /* @__PURE__ */ b(
|
|
10790
|
+
function Lf(e, t = !1, n = !0) {
|
|
10791
|
+
return Array.from({ length: e }, (r, i) => /* @__PURE__ */ b(If, {
|
|
10765
10792
|
dense: t,
|
|
10766
10793
|
width: n && i === e - 1 && e > 1 ? "short" : "full"
|
|
10767
10794
|
}, i));
|
|
10768
10795
|
}
|
|
10769
|
-
var
|
|
10770
|
-
let a = Math.max(1, t ??
|
|
10796
|
+
var Rf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading", className: i }) => {
|
|
10797
|
+
let a = Math.max(1, t ?? Ff[e]), o;
|
|
10771
10798
|
switch (e) {
|
|
10772
10799
|
case "card":
|
|
10773
|
-
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(
|
|
10800
|
+
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(If, {
|
|
10774
10801
|
dense: !0,
|
|
10775
10802
|
width: "meta"
|
|
10776
|
-
}),
|
|
10803
|
+
}), Lf(a)] });
|
|
10777
10804
|
break;
|
|
10778
10805
|
case "figure":
|
|
10779
|
-
o =
|
|
10806
|
+
o = Lf(a, !0, !1);
|
|
10780
10807
|
break;
|
|
10781
10808
|
case "timeline":
|
|
10782
10809
|
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("span", { className: "eidotter-skeleton__marker border-2 border-dos-border-default" }), /* @__PURE__ */ x("span", {
|
|
10783
10810
|
className: "eidotter-skeleton__entry",
|
|
10784
|
-
children: [/* @__PURE__ */ b(
|
|
10811
|
+
children: [/* @__PURE__ */ b(If, { width: "meta" }), Lf(a)]
|
|
10785
10812
|
})] });
|
|
10786
10813
|
break;
|
|
10787
|
-
default: o =
|
|
10814
|
+
default: o = Lf(a);
|
|
10788
10815
|
}
|
|
10789
10816
|
return /* @__PURE__ */ b("div", {
|
|
10790
10817
|
role: "status",
|
|
@@ -10797,10 +10824,10 @@ var Pf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading
|
|
|
10797
10824
|
})
|
|
10798
10825
|
});
|
|
10799
10826
|
};
|
|
10800
|
-
|
|
10827
|
+
Rf.displayName = "Skeleton";
|
|
10801
10828
|
//#endregion
|
|
10802
10829
|
//#region src/components/LegalPage/components/LegalPage.tsx
|
|
10803
|
-
var
|
|
10830
|
+
var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ x("div", {
|
|
10804
10831
|
className: $("eidotter-legal-page", a),
|
|
10805
10832
|
...o,
|
|
10806
10833
|
children: [r && /* @__PURE__ */ b("div", {
|
|
@@ -10823,13 +10850,13 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10823
10850
|
className: "eidotter-legal-page__body",
|
|
10824
10851
|
children: i
|
|
10825
10852
|
})] })]
|
|
10826
|
-
}),
|
|
10853
|
+
}), Bf = /* @__PURE__ */ x(y, { children: [
|
|
10827
10854
|
"Haus-Endt-Str. 149A",
|
|
10828
10855
|
/* @__PURE__ */ b("br", {}),
|
|
10829
10856
|
"40593 Düsseldorf",
|
|
10830
10857
|
/* @__PURE__ */ b("br", {}),
|
|
10831
10858
|
"Deutschland"
|
|
10832
|
-
] }),
|
|
10859
|
+
] }), Vf = "Dominic Kennedy", Hf = ({ email: e, address: t = Bf, name: n = Vf }) => /* @__PURE__ */ x("address", { children: [
|
|
10833
10860
|
n,
|
|
10834
10861
|
/* @__PURE__ */ b("br", {}),
|
|
10835
10862
|
t,
|
|
@@ -10841,16 +10868,16 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10841
10868
|
children: e
|
|
10842
10869
|
})
|
|
10843
10870
|
] })
|
|
10844
|
-
] }),
|
|
10871
|
+
] }), Uf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ b(Hf, { ...e })] }), Wf = ({ email: e }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Kontakt" }), /* @__PURE__ */ x("p", { children: ["E-Mail: ", /* @__PURE__ */ b("a", {
|
|
10845
10872
|
href: `mailto:${e}`,
|
|
10846
10873
|
children: e
|
|
10847
|
-
})] })] }),
|
|
10874
|
+
})] })] }), Gf = ({ name: e = Vf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ x("address", { children: [
|
|
10848
10875
|
e,
|
|
10849
10876
|
/* @__PURE__ */ b("br", {}),
|
|
10850
10877
|
"Haus-Endt-Str. 149A",
|
|
10851
10878
|
/* @__PURE__ */ b("br", {}),
|
|
10852
10879
|
"40593 Düsseldorf"
|
|
10853
|
-
] })] }),
|
|
10880
|
+
] })] }), Kf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ b("p", { children: "Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht." })] }), qf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Haftung für Links" }), /* @__PURE__ */ b("p", { children: "Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend." })] }), Jf = ({ email: e, name: t = Vf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ x("address", { children: [
|
|
10854
10881
|
t,
|
|
10855
10882
|
/* @__PURE__ */ b("br", {}),
|
|
10856
10883
|
"Haus-Endt-Str. 149A",
|
|
@@ -10862,14 +10889,14 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10862
10889
|
href: `mailto:${e}`,
|
|
10863
10890
|
children: e
|
|
10864
10891
|
})
|
|
10865
|
-
] })] }),
|
|
10892
|
+
] })] }), Yf = () => /* @__PURE__ */ x(y, { children: [
|
|
10866
10893
|
/* @__PURE__ */ b("h2", { children: "Hosting" }),
|
|
10867
10894
|
/* @__PURE__ */ b("p", { children: "Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern." }),
|
|
10868
10895
|
/* @__PURE__ */ b("p", {
|
|
10869
10896
|
className: "eidotter-legal-page__basis",
|
|
10870
10897
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10871
10898
|
})
|
|
10872
|
-
] }),
|
|
10899
|
+
] }), Xf = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ x(y, { children: [
|
|
10873
10900
|
/* @__PURE__ */ b("h2", { children: "Webanalyse — PostHog" }),
|
|
10874
10901
|
/* @__PURE__ */ x("p", { children: [
|
|
10875
10902
|
"Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain ",
|
|
@@ -10886,7 +10913,7 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10886
10913
|
className: "eidotter-legal-page__basis",
|
|
10887
10914
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10888
10915
|
})
|
|
10889
|
-
] }),
|
|
10916
|
+
] }), Zf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Schriftarten" }), /* @__PURE__ */ b("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), Qf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ b("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), $f = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ x(y, { children: [
|
|
10890
10917
|
/* @__PURE__ */ b("h2", { children: "Ihre Rechte" }),
|
|
10891
10918
|
/* @__PURE__ */ b("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
10892
10919
|
/* @__PURE__ */ x("ul", { children: [
|
|
@@ -10911,7 +10938,7 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10911
10938
|
t,
|
|
10912
10939
|
"."
|
|
10913
10940
|
] })
|
|
10914
|
-
] }),
|
|
10941
|
+
] }), ep = {
|
|
10915
10942
|
eidotter: { displayName: "eiDotter" },
|
|
10916
10943
|
spacewar: { displayName: "Spacewar!" },
|
|
10917
10944
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -10925,7 +10952,7 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10925
10952
|
displayName: "dmnc.tech",
|
|
10926
10953
|
url: "https://dmnc.tech"
|
|
10927
10954
|
}
|
|
10928
|
-
},
|
|
10955
|
+
}, tp = {
|
|
10929
10956
|
Alert: {
|
|
10930
10957
|
origin: "eidotter",
|
|
10931
10958
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -11473,21 +11500,21 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
11473
11500
|
}]
|
|
11474
11501
|
}
|
|
11475
11502
|
};
|
|
11476
|
-
function
|
|
11477
|
-
return
|
|
11503
|
+
function np(e) {
|
|
11504
|
+
return tp[e];
|
|
11478
11505
|
}
|
|
11479
|
-
function
|
|
11480
|
-
return Object.entries(
|
|
11506
|
+
function rp(e) {
|
|
11507
|
+
return Object.entries(tp).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
11481
11508
|
}
|
|
11482
|
-
function
|
|
11483
|
-
return Object.entries(
|
|
11509
|
+
function ip(e) {
|
|
11510
|
+
return Object.entries(tp).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
11484
11511
|
}
|
|
11485
|
-
function
|
|
11486
|
-
let n =
|
|
11512
|
+
function ap(e, t) {
|
|
11513
|
+
let n = tp[e];
|
|
11487
11514
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
11488
11515
|
}
|
|
11489
|
-
function
|
|
11490
|
-
let t =
|
|
11516
|
+
function op(e) {
|
|
11517
|
+
let t = tp[e];
|
|
11491
11518
|
if (!t?.variants) return {};
|
|
11492
11519
|
let n = {};
|
|
11493
11520
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
@@ -11495,6 +11522,6 @@ function np(e) {
|
|
|
11495
11522
|
}
|
|
11496
11523
|
//#endregion
|
|
11497
11524
|
//#region src/index.ts
|
|
11498
|
-
var
|
|
11525
|
+
var sp = "0.29.0";
|
|
11499
11526
|
//#endregion
|
|
11500
|
-
export {
|
|
11527
|
+
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 };
|