eidotter 0.27.1 → 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,61 +8232,111 @@ 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);
|
|
8237
8248
|
s(() => {
|
|
8238
|
-
|
|
8239
|
-
|
|
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
|
+
};
|
|
8256
|
+
s(() => {
|
|
8257
|
+
if (!(!a || !o)) {
|
|
8258
|
+
if (Iu(E.current)) {
|
|
8259
|
+
O();
|
|
8260
|
+
return;
|
|
8261
|
+
}
|
|
8262
|
+
w(!0);
|
|
8263
|
+
}
|
|
8264
|
+
}, []), s(() => {
|
|
8265
|
+
if (!C) return;
|
|
8266
|
+
if (Ql()) {
|
|
8267
|
+
k();
|
|
8268
|
+
return;
|
|
8269
|
+
}
|
|
8270
|
+
let e = window.setTimeout(() => {
|
|
8271
|
+
k();
|
|
8272
|
+
}, 1200);
|
|
8273
|
+
return () => window.clearTimeout(e);
|
|
8274
|
+
}, [C]);
|
|
8275
|
+
let A = (e) => {
|
|
8276
|
+
e.animationName === "eidotter-retro-boot-glow" && k();
|
|
8277
|
+
};
|
|
8278
|
+
s(() => {
|
|
8279
|
+
let e = _.current;
|
|
8280
|
+
if (_.current = i, e !== i) {
|
|
8240
8281
|
let e = i ? "powering-on" : "powering-off";
|
|
8241
|
-
|
|
8282
|
+
S(e), d?.(e);
|
|
8242
8283
|
}
|
|
8243
|
-
}, [i,
|
|
8244
|
-
let
|
|
8245
|
-
|
|
8246
|
-
},
|
|
8247
|
-
e.animationName !== "retro-power-on" && e.animationName !== "retro-power-off" ||
|
|
8248
|
-
},
|
|
8249
|
-
e.propertyName === "opacity" && (
|
|
8250
|
-
},
|
|
8251
|
-
return /* @__PURE__ */
|
|
8252
|
-
className: $("fixed inset-0 pointer-events-none z-[9999]", "eidotter-retro-effects",
|
|
8253
|
-
style:
|
|
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";
|
|
8292
|
+
return /* @__PURE__ */ x("div", {
|
|
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,
|
|
8254
8295
|
"aria-hidden": "true",
|
|
8255
|
-
onAnimationEnd:
|
|
8256
|
-
onTransitionEnd:
|
|
8257
|
-
children:
|
|
8296
|
+
onAnimationEnd: M,
|
|
8297
|
+
onTransitionEnd: N,
|
|
8298
|
+
children: [te && /* @__PURE__ */ x(y, { children: [
|
|
8258
8299
|
e && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__scanlines" }),
|
|
8259
8300
|
t && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__glow" }),
|
|
8260
8301
|
n && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__flicker" }),
|
|
8261
8302
|
r && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__bloom" })
|
|
8262
|
-
] })
|
|
8303
|
+
] }), C && /* @__PURE__ */ x("div", {
|
|
8304
|
+
className: "eidotter-retro-effects__boot",
|
|
8305
|
+
onAnimationEnd: A,
|
|
8306
|
+
children: [
|
|
8307
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top" }),
|
|
8308
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom" }),
|
|
8309
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-line" }),
|
|
8310
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-glow" })
|
|
8311
|
+
]
|
|
8312
|
+
})]
|
|
8263
8313
|
});
|
|
8264
|
-
},
|
|
8314
|
+
}, zu = {
|
|
8265
8315
|
sm: "small",
|
|
8266
8316
|
md: "medium",
|
|
8267
8317
|
lg: "large",
|
|
8268
8318
|
small: "small",
|
|
8269
8319
|
medium: "medium",
|
|
8270
8320
|
large: "large"
|
|
8271
|
-
},
|
|
8321
|
+
}, Bu = {
|
|
8272
8322
|
circle: "eidotter-timeline-node--circle",
|
|
8273
8323
|
square: "eidotter-timeline-node--square",
|
|
8274
8324
|
diamond: "eidotter-timeline-node--diamond"
|
|
8275
|
-
},
|
|
8325
|
+
}, Vu = {
|
|
8276
8326
|
default: "eidotter-timeline-node--default",
|
|
8277
8327
|
primary: "eidotter-timeline-node--primary",
|
|
8278
8328
|
secondary: "eidotter-timeline-node--secondary",
|
|
8279
8329
|
accent: "eidotter-timeline-node--accent"
|
|
8280
|
-
},
|
|
8330
|
+
}, Hu = {
|
|
8281
8331
|
left: "eidotter-timeline-node--label-left",
|
|
8282
8332
|
right: "eidotter-timeline-node--label-right",
|
|
8283
8333
|
top: "eidotter-timeline-node--label-top",
|
|
8284
8334
|
bottom: "eidotter-timeline-node--label-bottom"
|
|
8285
|
-
},
|
|
8286
|
-
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";
|
|
8287
8337
|
return /* @__PURE__ */ x("div", {
|
|
8288
8338
|
ref: l,
|
|
8289
|
-
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),
|
|
8290
8340
|
onClick: () => {
|
|
8291
8341
|
s && s();
|
|
8292
8342
|
},
|
|
@@ -8321,10 +8371,10 @@ var Mu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8321
8371
|
]
|
|
8322
8372
|
});
|
|
8323
8373
|
});
|
|
8324
|
-
|
|
8374
|
+
Uu.displayName = "TimelineNode";
|
|
8325
8375
|
//#endregion
|
|
8326
8376
|
//#region src/components/TimelineContainer/components/types.ts
|
|
8327
|
-
var
|
|
8377
|
+
var Wu = [
|
|
8328
8378
|
"year",
|
|
8329
8379
|
"month",
|
|
8330
8380
|
"day",
|
|
@@ -8332,12 +8382,12 @@ var Bu = [
|
|
|
8332
8382
|
];
|
|
8333
8383
|
//#endregion
|
|
8334
8384
|
//#region src/components/TimelineContainer/components/useDrillDown.ts
|
|
8335
|
-
function
|
|
8385
|
+
function Gu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {}) {
|
|
8336
8386
|
let r = e === void 0, [i, o] = p(t), [c, l] = p([]), u = f(r);
|
|
8337
8387
|
s(() => {
|
|
8338
8388
|
u.current && !r && l([]), u.current = r;
|
|
8339
8389
|
}, [r]);
|
|
8340
|
-
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);
|
|
8341
8391
|
s(() => {
|
|
8342
8392
|
v.current = r, y.current = h, b.current = m, x.current = c, S.current = n;
|
|
8343
8393
|
});
|
|
@@ -8353,7 +8403,7 @@ function Vu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8353
8403
|
isDrillDownEnabled: r,
|
|
8354
8404
|
drillDown: a((e, t) => {
|
|
8355
8405
|
if (!v.current || !y.current) return;
|
|
8356
|
-
let n =
|
|
8406
|
+
let n = Wu[b.current + 1];
|
|
8357
8407
|
n !== void 0 && (l((n) => [...n, {
|
|
8358
8408
|
periodStart: e,
|
|
8359
8409
|
label: t
|
|
@@ -8361,7 +8411,7 @@ function Vu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8361
8411
|
}, [C]),
|
|
8362
8412
|
drillUp: a(() => {
|
|
8363
8413
|
if (!v.current || x.current.length === 0) return;
|
|
8364
|
-
let e =
|
|
8414
|
+
let e = Wu[b.current - 1];
|
|
8365
8415
|
e !== void 0 && (l((e) => e.slice(0, -1)), C(e));
|
|
8366
8416
|
}, [C]),
|
|
8367
8417
|
reset: a(() => {
|
|
@@ -8371,7 +8421,7 @@ function Vu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8371
8421
|
}
|
|
8372
8422
|
//#endregion
|
|
8373
8423
|
//#region src/components/TimelineContainer/components/useSelection.ts
|
|
8374
|
-
function
|
|
8424
|
+
function Ku({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntry: n } = {}) {
|
|
8375
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);
|
|
8376
8426
|
s(() => {
|
|
8377
8427
|
l.current = c, u.current = o, d.current = n;
|
|
@@ -8397,7 +8447,7 @@ function Hu({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntr
|
|
|
8397
8447
|
}
|
|
8398
8448
|
//#endregion
|
|
8399
8449
|
//#region src/components/TimelineContainer/components/timelineUtils.ts
|
|
8400
|
-
var
|
|
8450
|
+
var qu = [
|
|
8401
8451
|
"January",
|
|
8402
8452
|
"February",
|
|
8403
8453
|
"March",
|
|
@@ -8410,7 +8460,7 @@ var Uu = [
|
|
|
8410
8460
|
"October",
|
|
8411
8461
|
"November",
|
|
8412
8462
|
"December"
|
|
8413
|
-
],
|
|
8463
|
+
], Ju = [
|
|
8414
8464
|
"Jan",
|
|
8415
8465
|
"Feb",
|
|
8416
8466
|
"Mar",
|
|
@@ -8424,48 +8474,48 @@ var Uu = [
|
|
|
8424
8474
|
"Nov",
|
|
8425
8475
|
"Dec"
|
|
8426
8476
|
];
|
|
8427
|
-
function
|
|
8477
|
+
function Yu(e) {
|
|
8428
8478
|
return new Date(e).getUTCFullYear();
|
|
8429
8479
|
}
|
|
8430
|
-
function
|
|
8480
|
+
function Xu(e) {
|
|
8431
8481
|
return new Date(e).getUTCMonth();
|
|
8432
8482
|
}
|
|
8433
|
-
function
|
|
8483
|
+
function Zu(e) {
|
|
8434
8484
|
return new Date(e).getUTCDate();
|
|
8435
8485
|
}
|
|
8436
|
-
function
|
|
8486
|
+
function Qu(e) {
|
|
8437
8487
|
return new Date(e).getUTCHours();
|
|
8438
8488
|
}
|
|
8439
|
-
function
|
|
8489
|
+
function $u(e) {
|
|
8440
8490
|
return String(e);
|
|
8441
8491
|
}
|
|
8442
|
-
function
|
|
8443
|
-
return `${
|
|
8492
|
+
function ed(e, t) {
|
|
8493
|
+
return `${qu[t]} ${e}`;
|
|
8444
8494
|
}
|
|
8445
|
-
function
|
|
8446
|
-
return `${
|
|
8495
|
+
function td(e, t, n) {
|
|
8496
|
+
return `${Ju[t]} ${n}`;
|
|
8447
8497
|
}
|
|
8448
|
-
function
|
|
8498
|
+
function nd(e, t, n, r) {
|
|
8449
8499
|
let i = r >= 12 ? "pm" : "am", a = r === 0 ? 12 : r > 12 ? r - 12 : r;
|
|
8450
|
-
return `${
|
|
8500
|
+
return `${Ju[t]} ${n}, ${a}${i}`;
|
|
8451
8501
|
}
|
|
8452
|
-
function
|
|
8453
|
-
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";
|
|
8454
8504
|
return `${n} ${r}, ${i} at ${a === 0 ? 12 : a > 12 ? a - 12 : a}${o > 0 ? `:${String(o).padStart(2, "0")}` : ""}${s}`;
|
|
8455
8505
|
}
|
|
8456
|
-
function
|
|
8506
|
+
function id(e) {
|
|
8457
8507
|
return new Date(Date.UTC(e, 0, 1)).toISOString();
|
|
8458
8508
|
}
|
|
8459
|
-
function
|
|
8509
|
+
function ad(e, t) {
|
|
8460
8510
|
return new Date(Date.UTC(e, t, 1)).toISOString();
|
|
8461
8511
|
}
|
|
8462
|
-
function
|
|
8512
|
+
function od(e, t, n) {
|
|
8463
8513
|
return new Date(Date.UTC(e, t, n)).toISOString();
|
|
8464
8514
|
}
|
|
8465
|
-
function
|
|
8515
|
+
function sd(e, t, n, r) {
|
|
8466
8516
|
return new Date(Date.UTC(e, t, n, r)).toISOString();
|
|
8467
8517
|
}
|
|
8468
|
-
function
|
|
8518
|
+
function cd(e, t, n, r, i) {
|
|
8469
8519
|
let a = /* @__PURE__ */ new Map(), o = [];
|
|
8470
8520
|
for (let n of e) {
|
|
8471
8521
|
let e = t(n), r = a.get(e);
|
|
@@ -8482,32 +8532,32 @@ function id(e, t, n, r, i) {
|
|
|
8482
8532
|
entries: a.get(e) ?? []
|
|
8483
8533
|
}));
|
|
8484
8534
|
}
|
|
8485
|
-
function
|
|
8486
|
-
return String(
|
|
8535
|
+
function ld(e) {
|
|
8536
|
+
return String(Yu(e.date));
|
|
8487
8537
|
}
|
|
8488
|
-
function
|
|
8489
|
-
let t =
|
|
8538
|
+
function ud(e) {
|
|
8539
|
+
let t = Yu(e.date), n = Xu(e.date);
|
|
8490
8540
|
return `${t}-${String(n).padStart(2, "0")}`;
|
|
8491
8541
|
}
|
|
8492
|
-
function
|
|
8493
|
-
let t =
|
|
8542
|
+
function dd(e) {
|
|
8543
|
+
let t = Yu(e.date), n = Xu(e.date), r = Zu(e.date);
|
|
8494
8544
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}`;
|
|
8495
8545
|
}
|
|
8496
|
-
function
|
|
8497
|
-
let t =
|
|
8546
|
+
function fd(e) {
|
|
8547
|
+
let t = Yu(e.date), n = Xu(e.date), r = Zu(e.date), i = Qu(e.date);
|
|
8498
8548
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
|
|
8499
8549
|
}
|
|
8500
|
-
function
|
|
8550
|
+
function pd(e) {
|
|
8501
8551
|
return { year: parseInt(e) };
|
|
8502
8552
|
}
|
|
8503
|
-
function
|
|
8553
|
+
function md(e) {
|
|
8504
8554
|
let [t, n] = e.split("-");
|
|
8505
8555
|
return {
|
|
8506
8556
|
year: parseInt(t),
|
|
8507
8557
|
month: parseInt(n)
|
|
8508
8558
|
};
|
|
8509
8559
|
}
|
|
8510
|
-
function
|
|
8560
|
+
function hd(e) {
|
|
8511
8561
|
let [t, n, r] = e.split("-");
|
|
8512
8562
|
return {
|
|
8513
8563
|
year: parseInt(t),
|
|
@@ -8515,7 +8565,7 @@ function dd(e) {
|
|
|
8515
8565
|
day: parseInt(r)
|
|
8516
8566
|
};
|
|
8517
8567
|
}
|
|
8518
|
-
function
|
|
8568
|
+
function gd(e) {
|
|
8519
8569
|
let [t, n, r, i] = e.split("-");
|
|
8520
8570
|
return {
|
|
8521
8571
|
year: parseInt(t),
|
|
@@ -8524,56 +8574,56 @@ function fd(e) {
|
|
|
8524
8574
|
hour: parseInt(i)
|
|
8525
8575
|
};
|
|
8526
8576
|
}
|
|
8527
|
-
var
|
|
8577
|
+
var _d = {
|
|
8528
8578
|
year: 4,
|
|
8529
8579
|
month: 7,
|
|
8530
8580
|
day: 10
|
|
8531
8581
|
};
|
|
8532
|
-
function
|
|
8582
|
+
function vd(e, t, n) {
|
|
8533
8583
|
if (t === null || n === "hour") return e;
|
|
8534
|
-
let r =
|
|
8584
|
+
let r = _d[n];
|
|
8535
8585
|
if (r === void 0) return e;
|
|
8536
8586
|
let i = t.slice(0, r);
|
|
8537
8587
|
return e.filter((e) => e.periodStart.slice(0, r) === i);
|
|
8538
8588
|
}
|
|
8539
|
-
function
|
|
8589
|
+
function yd(e, t, n = "desc") {
|
|
8540
8590
|
if (e.length === 0) return [];
|
|
8541
8591
|
let r = e.filter((e) => !isNaN(new Date(e.date).getTime()));
|
|
8542
8592
|
if (r.length === 0) return [];
|
|
8543
8593
|
switch (t) {
|
|
8544
|
-
case "year": return
|
|
8545
|
-
let { year: t } =
|
|
8546
|
-
return
|
|
8594
|
+
case "year": return cd(r, ld, (e) => {
|
|
8595
|
+
let { year: t } = pd(e);
|
|
8596
|
+
return $u(t);
|
|
8547
8597
|
}, (e) => {
|
|
8548
|
-
let { year: t } =
|
|
8549
|
-
return
|
|
8598
|
+
let { year: t } = pd(e);
|
|
8599
|
+
return id(t);
|
|
8550
8600
|
}, n);
|
|
8551
|
-
case "month": return
|
|
8552
|
-
let { year: t, month: n } =
|
|
8553
|
-
return
|
|
8601
|
+
case "month": return cd(r, ud, (e) => {
|
|
8602
|
+
let { year: t, month: n } = md(e);
|
|
8603
|
+
return ed(t, n);
|
|
8554
8604
|
}, (e) => {
|
|
8555
|
-
let { year: t, month: n } =
|
|
8556
|
-
return
|
|
8605
|
+
let { year: t, month: n } = md(e);
|
|
8606
|
+
return ad(t, n);
|
|
8557
8607
|
}, n);
|
|
8558
|
-
case "day": return
|
|
8559
|
-
let { year: t, month: n, day: r } =
|
|
8560
|
-
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);
|
|
8561
8611
|
}, (e) => {
|
|
8562
|
-
let { year: t, month: n, day: r } =
|
|
8563
|
-
return
|
|
8612
|
+
let { year: t, month: n, day: r } = hd(e);
|
|
8613
|
+
return od(t, n, r);
|
|
8564
8614
|
}, n);
|
|
8565
|
-
case "hour": return
|
|
8566
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
8567
|
-
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);
|
|
8568
8618
|
}, (e) => {
|
|
8569
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
8570
|
-
return
|
|
8619
|
+
let { year: t, month: n, day: r, hour: i } = gd(e);
|
|
8620
|
+
return sd(t, n, r, i);
|
|
8571
8621
|
}, n);
|
|
8572
8622
|
}
|
|
8573
8623
|
}
|
|
8574
8624
|
//#endregion
|
|
8575
8625
|
//#region src/components/TimelineContainer/components/ZoomControls.tsx
|
|
8576
|
-
var
|
|
8626
|
+
var bd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i, onReset: a, breadcrumbs: o = [], onBreadcrumbClick: s }) => {
|
|
8577
8627
|
let c = o.length > 0;
|
|
8578
8628
|
return /* @__PURE__ */ x("div", {
|
|
8579
8629
|
className: "timeline-zoom-controls",
|
|
@@ -8620,7 +8670,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8620
8670
|
})
|
|
8621
8671
|
]
|
|
8622
8672
|
});
|
|
8623
|
-
},
|
|
8673
|
+
}, xd = ({ children: e }) => /* @__PURE__ */ x("div", {
|
|
8624
8674
|
className: "timeline-axis",
|
|
8625
8675
|
children: [/* @__PURE__ */ b("div", {
|
|
8626
8676
|
className: "timeline-axis__line",
|
|
@@ -8629,7 +8679,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8629
8679
|
className: "timeline-axis__content",
|
|
8630
8680
|
children: e
|
|
8631
8681
|
})]
|
|
8632
|
-
}),
|
|
8682
|
+
}), Sd = e.memo(({ buckets: e, onBucketClick: t }) => /* @__PURE__ */ b("div", {
|
|
8633
8683
|
className: "timeline-view timeline-view--year",
|
|
8634
8684
|
role: "list",
|
|
8635
8685
|
children: e.map((e) => /* @__PURE__ */ b("div", {
|
|
@@ -8640,7 +8690,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8640
8690
|
onPress: () => t(e),
|
|
8641
8691
|
children: [/* @__PURE__ */ b("div", {
|
|
8642
8692
|
className: "timeline-view__node",
|
|
8643
|
-
children: /* @__PURE__ */ b(
|
|
8693
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
8644
8694
|
shape: "circle",
|
|
8645
8695
|
size: "medium",
|
|
8646
8696
|
variant: "default",
|
|
@@ -8661,7 +8711,7 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8661
8711
|
})]
|
|
8662
8712
|
}) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
|
|
8663
8713
|
className: "timeline-view__node",
|
|
8664
|
-
children: /* @__PURE__ */ b(
|
|
8714
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
8665
8715
|
shape: "circle",
|
|
8666
8716
|
size: "medium",
|
|
8667
8717
|
variant: "default",
|
|
@@ -8682,10 +8732,10 @@ var gd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8682
8732
|
})] })
|
|
8683
8733
|
}, e.periodStart))
|
|
8684
8734
|
}));
|
|
8685
|
-
|
|
8735
|
+
Sd.displayName = "YearView";
|
|
8686
8736
|
//#endregion
|
|
8687
8737
|
//#region src/components/Lightbox/components/Lightbox.tsx
|
|
8688
|
-
var
|
|
8738
|
+
var Cd = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange: o }) => {
|
|
8689
8739
|
let c = t.length === 0 ? 0 : Math.max(0, Math.min(n, t.length - 1)), [l, u] = p(c);
|
|
8690
8740
|
s(() => {
|
|
8691
8741
|
r && u(c);
|
|
@@ -8785,19 +8835,19 @@ var yd = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
8785
8835
|
})
|
|
8786
8836
|
});
|
|
8787
8837
|
};
|
|
8788
|
-
|
|
8838
|
+
Cd.displayName = "Lightbox";
|
|
8789
8839
|
//#endregion
|
|
8790
8840
|
//#region src/utils/isSafeHref.ts
|
|
8791
|
-
var
|
|
8792
|
-
function
|
|
8841
|
+
var wd = /^(?:https?:|mailto:)/i;
|
|
8842
|
+
function Td(e) {
|
|
8793
8843
|
if (typeof e != "string") return !1;
|
|
8794
8844
|
let t = e.trim();
|
|
8795
|
-
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;
|
|
8796
8846
|
}
|
|
8797
8847
|
//#endregion
|
|
8798
8848
|
//#region src/components/TimelineContainer/components/variants/TimelineEntryCardImage.tsx
|
|
8799
|
-
var
|
|
8800
|
-
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;
|
|
8801
8851
|
return s(() => {
|
|
8802
8852
|
t || i(!1);
|
|
8803
8853
|
}, [t]), c ? /* @__PURE__ */ x("a", {
|
|
@@ -8845,13 +8895,13 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8845
8895
|
height: a.height
|
|
8846
8896
|
})
|
|
8847
8897
|
}),
|
|
8848
|
-
/* @__PURE__ */ b(
|
|
8898
|
+
/* @__PURE__ */ b(Cd, {
|
|
8849
8899
|
images: [a],
|
|
8850
8900
|
isOpen: r,
|
|
8851
8901
|
onClose: () => i(!1)
|
|
8852
8902
|
})
|
|
8853
8903
|
] });
|
|
8854
|
-
},
|
|
8904
|
+
}, Dd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
8855
8905
|
let [r, i] = p({ phase: "grid" });
|
|
8856
8906
|
if (s(() => {
|
|
8857
8907
|
t || i({ phase: "grid" });
|
|
@@ -8865,7 +8915,7 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8865
8915
|
children: "No images."
|
|
8866
8916
|
})] });
|
|
8867
8917
|
let a = (e, t) => {
|
|
8868
|
-
t.link &&
|
|
8918
|
+
t.link && Td(t.link) || i((t) => t.phase === "focused" && t.index === e ? {
|
|
8869
8919
|
phase: "lightbox",
|
|
8870
8920
|
index: e
|
|
8871
8921
|
} : {
|
|
@@ -8886,13 +8936,13 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8886
8936
|
/* @__PURE__ */ b("div", {
|
|
8887
8937
|
className: "eidotter-timeline-card-gallery__grid",
|
|
8888
8938
|
role: "list",
|
|
8889
|
-
children: e.images.map((e, t) => /* @__PURE__ */ b(
|
|
8939
|
+
children: e.images.map((e, t) => /* @__PURE__ */ b(Od, {
|
|
8890
8940
|
image: e,
|
|
8891
8941
|
isFocused: o === t,
|
|
8892
8942
|
onClick: () => a(t, e)
|
|
8893
8943
|
}, t))
|
|
8894
8944
|
}),
|
|
8895
|
-
/* @__PURE__ */ b(
|
|
8945
|
+
/* @__PURE__ */ b(Cd, {
|
|
8896
8946
|
images: e.images,
|
|
8897
8947
|
isOpen: r.phase === "lightbox",
|
|
8898
8948
|
initialIndex: r.phase === "lightbox" ? r.index : 0,
|
|
@@ -8910,8 +8960,8 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8910
8960
|
}
|
|
8911
8961
|
})
|
|
8912
8962
|
] });
|
|
8913
|
-
},
|
|
8914
|
-
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;
|
|
8915
8965
|
return i ? /* @__PURE__ */ b("div", {
|
|
8916
8966
|
role: "listitem",
|
|
8917
8967
|
className: "eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link",
|
|
@@ -8944,39 +8994,39 @@ var Sd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8944
8994
|
})
|
|
8945
8995
|
})
|
|
8946
8996
|
});
|
|
8947
|
-
},
|
|
8997
|
+
}, kd = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ x("div", {
|
|
8948
8998
|
className: $("eidotter-timeline-card", t && "eidotter-timeline-card--selected", n && "eidotter-timeline-card--expanded"),
|
|
8949
|
-
children: [
|
|
8999
|
+
children: [Ad(e, n, r, a), i && /* @__PURE__ */ b("div", {
|
|
8950
9000
|
className: "eidotter-timeline-card__footer",
|
|
8951
9001
|
children: i
|
|
8952
9002
|
})]
|
|
8953
9003
|
}));
|
|
8954
|
-
|
|
8955
|
-
function
|
|
9004
|
+
kd.displayName = "TimelineEntryCard";
|
|
9005
|
+
function Ad(e, t, n, r) {
|
|
8956
9006
|
switch (e.kind) {
|
|
8957
|
-
case "text": return /* @__PURE__ */ b(
|
|
9007
|
+
case "text": return /* @__PURE__ */ b(Md, {
|
|
8958
9008
|
entry: e,
|
|
8959
9009
|
isExpanded: t,
|
|
8960
9010
|
onSelect: n,
|
|
8961
9011
|
children: r
|
|
8962
9012
|
});
|
|
8963
|
-
case "image": return /* @__PURE__ */ b(
|
|
9013
|
+
case "image": return /* @__PURE__ */ b(Ed, {
|
|
8964
9014
|
entry: e,
|
|
8965
9015
|
isExpanded: t,
|
|
8966
9016
|
onSelect: n
|
|
8967
9017
|
});
|
|
8968
|
-
case "gallery": return /* @__PURE__ */ b(
|
|
9018
|
+
case "gallery": return /* @__PURE__ */ b(Dd, {
|
|
8969
9019
|
entry: e,
|
|
8970
9020
|
isExpanded: t,
|
|
8971
9021
|
onSelect: n
|
|
8972
9022
|
});
|
|
8973
|
-
default: return
|
|
9023
|
+
default: return jd(e);
|
|
8974
9024
|
}
|
|
8975
9025
|
}
|
|
8976
|
-
function
|
|
9026
|
+
function jd(e) {
|
|
8977
9027
|
throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`);
|
|
8978
9028
|
}
|
|
8979
|
-
var
|
|
9029
|
+
var Md = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
8980
9030
|
let i = typeof e.content == "string", a = e.content != null;
|
|
8981
9031
|
return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x(K, {
|
|
8982
9032
|
className: "eidotter-timeline-card__trigger",
|
|
@@ -9014,7 +9064,7 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9014
9064
|
children: e.content
|
|
9015
9065
|
})
|
|
9016
9066
|
})] });
|
|
9017
|
-
},
|
|
9067
|
+
}, Nd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ b("div", {
|
|
9018
9068
|
className: "timeline-view timeline-view--month",
|
|
9019
9069
|
role: "list",
|
|
9020
9070
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -9022,7 +9072,7 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9022
9072
|
role: "listitem",
|
|
9023
9073
|
children: [/* @__PURE__ */ b("div", {
|
|
9024
9074
|
className: "timeline-view__node",
|
|
9025
|
-
children: /* @__PURE__ */ b(
|
|
9075
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9026
9076
|
shape: "circle",
|
|
9027
9077
|
size: "medium",
|
|
9028
9078
|
variant: "default",
|
|
@@ -9033,7 +9083,7 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9033
9083
|
}), /* @__PURE__ */ b("div", {
|
|
9034
9084
|
className: "timeline-view__content",
|
|
9035
9085
|
children: t.entries.map((t) => {
|
|
9036
|
-
let i = n === t.id, o = () => /* @__PURE__ */ b(
|
|
9086
|
+
let i = n === t.id, o = () => /* @__PURE__ */ b(kd, {
|
|
9037
9087
|
entry: t,
|
|
9038
9088
|
isSelected: i,
|
|
9039
9089
|
isExpanded: i,
|
|
@@ -9048,23 +9098,23 @@ var Od = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
9048
9098
|
})]
|
|
9049
9099
|
}, t.periodStart))
|
|
9050
9100
|
}));
|
|
9051
|
-
|
|
9101
|
+
Nd.displayName = "MonthView";
|
|
9052
9102
|
//#endregion
|
|
9053
9103
|
//#region src/components/Tag/components/Tag.tsx
|
|
9054
|
-
var
|
|
9104
|
+
var Pd = {
|
|
9055
9105
|
sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
9056
9106
|
md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
|
|
9057
9107
|
lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
|
|
9058
9108
|
small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
9059
9109
|
medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
|
|
9060
|
-
},
|
|
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 }) => {
|
|
9061
9111
|
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $l("tag-exit", c), g = (e) => {
|
|
9062
9112
|
o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
|
|
9063
9113
|
}, _ = () => {
|
|
9064
9114
|
o || m();
|
|
9065
9115
|
}, v = r ? { "--tag-color": "var(" + r + ")" } : void 0;
|
|
9066
9116
|
return /* @__PURE__ */ x("span", {
|
|
9067
|
-
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),
|
|
9068
9118
|
style: v,
|
|
9069
9119
|
onClick: f ? (e) => !o && s?.(e) : void 0,
|
|
9070
9120
|
onKeyDown: g,
|
|
@@ -9090,17 +9140,17 @@ var Ad = {
|
|
|
9090
9140
|
children: "[x]"
|
|
9091
9141
|
})]
|
|
9092
9142
|
});
|
|
9093
|
-
},
|
|
9143
|
+
}, Id = {
|
|
9094
9144
|
tight: "gap-1",
|
|
9095
9145
|
normal: "gap-2",
|
|
9096
9146
|
loose: "gap-3"
|
|
9097
|
-
},
|
|
9098
|
-
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),
|
|
9099
9149
|
role: "group",
|
|
9100
9150
|
"aria-label": i,
|
|
9101
9151
|
...a,
|
|
9102
9152
|
children: e
|
|
9103
|
-
}),
|
|
9153
|
+
}), Rd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ b("div", {
|
|
9104
9154
|
className: "timeline-view timeline-view--day",
|
|
9105
9155
|
role: "list",
|
|
9106
9156
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -9108,7 +9158,7 @@ var Ad = {
|
|
|
9108
9158
|
role: "listitem",
|
|
9109
9159
|
children: [/* @__PURE__ */ b("div", {
|
|
9110
9160
|
className: "timeline-view__node",
|
|
9111
|
-
children: /* @__PURE__ */ b(
|
|
9161
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9112
9162
|
shape: "circle",
|
|
9113
9163
|
size: "medium",
|
|
9114
9164
|
variant: "default",
|
|
@@ -9118,15 +9168,15 @@ var Ad = {
|
|
|
9118
9168
|
}), /* @__PURE__ */ b("div", {
|
|
9119
9169
|
className: "timeline-view__content",
|
|
9120
9170
|
children: t.entries.map((t) => {
|
|
9121
|
-
let a = n === t.id, o = () => /* @__PURE__ */ b(
|
|
9171
|
+
let a = n === t.id, o = () => /* @__PURE__ */ b(kd, {
|
|
9122
9172
|
entry: t,
|
|
9123
9173
|
isSelected: a,
|
|
9124
9174
|
isExpanded: a,
|
|
9125
9175
|
onSelect: r,
|
|
9126
|
-
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ b(
|
|
9176
|
+
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ b(Ld, {
|
|
9127
9177
|
gap: "tight",
|
|
9128
9178
|
"aria-label": `Tags for ${t.title}`,
|
|
9129
|
-
children: t.tags.map((e) => /* @__PURE__ */ b(
|
|
9179
|
+
children: t.tags.map((e) => /* @__PURE__ */ b(Fd, {
|
|
9130
9180
|
size: "small",
|
|
9131
9181
|
variant: "outlined",
|
|
9132
9182
|
children: e
|
|
@@ -9142,10 +9192,10 @@ var Ad = {
|
|
|
9142
9192
|
})]
|
|
9143
9193
|
}, t.periodStart))
|
|
9144
9194
|
}));
|
|
9145
|
-
|
|
9195
|
+
Rd.displayName = "DayView";
|
|
9146
9196
|
//#endregion
|
|
9147
9197
|
//#region src/components/TimelineContainer/components/views/HourView.tsx
|
|
9148
|
-
var
|
|
9198
|
+
var zd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ b("div", {
|
|
9149
9199
|
className: "timeline-view timeline-view--hour",
|
|
9150
9200
|
role: "list",
|
|
9151
9201
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -9153,7 +9203,7 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9153
9203
|
role: "listitem",
|
|
9154
9204
|
children: [/* @__PURE__ */ b("div", {
|
|
9155
9205
|
className: "timeline-view__node",
|
|
9156
|
-
children: /* @__PURE__ */ b(
|
|
9206
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9157
9207
|
shape: "circle",
|
|
9158
9208
|
size: "medium",
|
|
9159
9209
|
variant: "default",
|
|
@@ -9163,17 +9213,17 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9163
9213
|
}), /* @__PURE__ */ b("div", {
|
|
9164
9214
|
className: "timeline-view__content",
|
|
9165
9215
|
children: t.entries.map((t) => {
|
|
9166
|
-
let a = n === t.id, o = () => /* @__PURE__ */ x(
|
|
9216
|
+
let a = n === t.id, o = () => /* @__PURE__ */ x(kd, {
|
|
9167
9217
|
entry: t,
|
|
9168
9218
|
isSelected: a,
|
|
9169
9219
|
isExpanded: !0,
|
|
9170
9220
|
onSelect: r,
|
|
9171
9221
|
footer: /* @__PURE__ */ x("div", {
|
|
9172
9222
|
className: "timeline-view__entry-footer",
|
|
9173
|
-
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ b(
|
|
9223
|
+
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ b(Ld, {
|
|
9174
9224
|
gap: "tight",
|
|
9175
9225
|
"aria-label": `Tags for ${t.title}`,
|
|
9176
|
-
children: t.tags.map((e) => /* @__PURE__ */ b(
|
|
9226
|
+
children: t.tags.map((e) => /* @__PURE__ */ b(Fd, {
|
|
9177
9227
|
size: "small",
|
|
9178
9228
|
variant: "outlined",
|
|
9179
9229
|
children: e
|
|
@@ -9187,7 +9237,7 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9187
9237
|
children: [/* @__PURE__ */ b("time", {
|
|
9188
9238
|
className: "timeline-view__timestamp",
|
|
9189
9239
|
dateTime: t.date,
|
|
9190
|
-
children:
|
|
9240
|
+
children: rd(t.date)
|
|
9191
9241
|
}), t.kind === "text" && t.content !== void 0 && /* @__PURE__ */ b("div", {
|
|
9192
9242
|
className: "timeline-view__entry-content",
|
|
9193
9243
|
children: t.content
|
|
@@ -9202,29 +9252,29 @@ var Fd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9202
9252
|
})]
|
|
9203
9253
|
}, t.periodStart))
|
|
9204
9254
|
}));
|
|
9205
|
-
|
|
9255
|
+
zd.displayName = "HourView";
|
|
9206
9256
|
//#endregion
|
|
9207
9257
|
//#region src/components/TimelineContainer/components/TimelineContent.tsx
|
|
9208
|
-
var
|
|
9258
|
+
var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
|
|
9209
9259
|
switch (e) {
|
|
9210
|
-
case "year": return /* @__PURE__ */ b(
|
|
9260
|
+
case "year": return /* @__PURE__ */ b(Sd, {
|
|
9211
9261
|
buckets: t,
|
|
9212
9262
|
onBucketClick: i
|
|
9213
9263
|
});
|
|
9214
|
-
case "month": return /* @__PURE__ */ b(
|
|
9264
|
+
case "month": return /* @__PURE__ */ b(Nd, {
|
|
9215
9265
|
buckets: t,
|
|
9216
9266
|
selectedEntryId: n,
|
|
9217
9267
|
onEntrySelect: r,
|
|
9218
9268
|
onBucketClick: i,
|
|
9219
9269
|
renderEntry: a
|
|
9220
9270
|
});
|
|
9221
|
-
case "day": return /* @__PURE__ */ b(
|
|
9271
|
+
case "day": return /* @__PURE__ */ b(Rd, {
|
|
9222
9272
|
buckets: t,
|
|
9223
9273
|
selectedEntryId: n,
|
|
9224
9274
|
onEntrySelect: r,
|
|
9225
9275
|
renderEntry: a
|
|
9226
9276
|
});
|
|
9227
|
-
case "hour": return /* @__PURE__ */ b(
|
|
9277
|
+
case "hour": return /* @__PURE__ */ b(zd, {
|
|
9228
9278
|
buckets: t,
|
|
9229
9279
|
selectedEntryId: n,
|
|
9230
9280
|
onEntrySelect: r,
|
|
@@ -9232,28 +9282,28 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9232
9282
|
});
|
|
9233
9283
|
default: return e;
|
|
9234
9284
|
}
|
|
9235
|
-
},
|
|
9236
|
-
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({
|
|
9237
9287
|
zoomLevel: n,
|
|
9238
9288
|
defaultZoomLevel: r,
|
|
9239
9289
|
onZoomChange: i
|
|
9240
|
-
}), { selectedEntryId: re, toggle: F, deselect:
|
|
9290
|
+
}), { selectedEntryId: re, toggle: F, deselect: I } = Ku({
|
|
9241
9291
|
selectedEntryId: o,
|
|
9242
9292
|
defaultSelectedEntryId: c,
|
|
9243
9293
|
onSelectEntry: l
|
|
9244
|
-
}),
|
|
9294
|
+
}), L = u(() => yd(e, k, d), [
|
|
9245
9295
|
e,
|
|
9246
9296
|
k,
|
|
9247
9297
|
d
|
|
9248
|
-
]),
|
|
9298
|
+
]), R = M.length > 0 ? [
|
|
9249
9299
|
"year",
|
|
9250
9300
|
"month",
|
|
9251
9301
|
"day",
|
|
9252
9302
|
"hour"
|
|
9253
|
-
][M.length - 1] : null,
|
|
9254
|
-
|
|
9303
|
+
][M.length - 1] : null, ie = u(() => N && R ? vd(L, N, R) : L, [
|
|
9304
|
+
L,
|
|
9255
9305
|
N,
|
|
9256
|
-
|
|
9306
|
+
R
|
|
9257
9307
|
]);
|
|
9258
9308
|
s(() => {
|
|
9259
9309
|
if (w || !m) return;
|
|
@@ -9278,7 +9328,7 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9278
9328
|
let e = (e) => {
|
|
9279
9329
|
if (!T.current?.contains(document.activeElement) && document.activeElement !== T.current) return;
|
|
9280
9330
|
let t = e.ctrlKey || e.metaKey;
|
|
9281
|
-
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());
|
|
9282
9332
|
};
|
|
9283
9333
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9284
9334
|
}, [
|
|
@@ -9286,59 +9336,59 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9286
9336
|
h,
|
|
9287
9337
|
P,
|
|
9288
9338
|
ne,
|
|
9289
|
-
|
|
9339
|
+
I
|
|
9290
9340
|
]);
|
|
9291
|
-
let
|
|
9341
|
+
let ae = a((e) => {
|
|
9292
9342
|
A && (te(e.periodStart, e.label), O(`Showing ${k === "year" ? "months" : k === "month" ? "days" : "hours"} in ${e.label}`));
|
|
9293
9343
|
}, [
|
|
9294
9344
|
A,
|
|
9295
9345
|
te,
|
|
9296
9346
|
k
|
|
9297
|
-
]),
|
|
9347
|
+
]), z = f(M.length);
|
|
9298
9348
|
s(() => {
|
|
9299
|
-
if (M.length !==
|
|
9300
|
-
|
|
9349
|
+
if (M.length !== z.current) {
|
|
9350
|
+
z.current = M.length;
|
|
9301
9351
|
let e = E.current?.querySelector(".eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role=\"button\"]");
|
|
9302
9352
|
e && requestAnimationFrame(() => e.focus());
|
|
9303
9353
|
}
|
|
9304
9354
|
}, [M.length]);
|
|
9305
|
-
let
|
|
9355
|
+
let oe = u(() => w ? [...e].sort((e, t) => {
|
|
9306
9356
|
let n = e.date.localeCompare(t.date);
|
|
9307
9357
|
return d === "desc" ? -n : n;
|
|
9308
9358
|
}) : e, [
|
|
9309
9359
|
w,
|
|
9310
9360
|
e,
|
|
9311
9361
|
d
|
|
9312
|
-
]),
|
|
9362
|
+
]), se = Math.max(1, _), [B, ce] = p(se);
|
|
9313
9363
|
s(() => {
|
|
9314
|
-
C &&
|
|
9315
|
-
let t =
|
|
9316
|
-
return t === 0 ?
|
|
9364
|
+
C && ce((e) => {
|
|
9365
|
+
let t = oe.length;
|
|
9366
|
+
return t === 0 ? se : e > t ? Math.max(se, t) : e;
|
|
9317
9367
|
});
|
|
9318
9368
|
}, [
|
|
9319
9369
|
C,
|
|
9320
|
-
|
|
9321
|
-
|
|
9370
|
+
se,
|
|
9371
|
+
oe.length
|
|
9322
9372
|
]);
|
|
9323
|
-
let
|
|
9373
|
+
let le = u(() => C ? oe.slice(0, B) : oe, [
|
|
9324
9374
|
C,
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
]),
|
|
9328
|
-
let e = Math.min(
|
|
9329
|
-
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));
|
|
9330
9380
|
}, [
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9381
|
+
B,
|
|
9382
|
+
se,
|
|
9383
|
+
oe.length,
|
|
9334
9384
|
v
|
|
9335
|
-
]),
|
|
9385
|
+
]), fe = u(() => new Intl.DateTimeFormat("en-US", {
|
|
9336
9386
|
year: "numeric",
|
|
9337
9387
|
month: "short",
|
|
9338
9388
|
day: "numeric"
|
|
9339
|
-
}), []),
|
|
9389
|
+
}), []), pe = (e) => {
|
|
9340
9390
|
try {
|
|
9341
|
-
return
|
|
9391
|
+
return fe.format(new Date(e));
|
|
9342
9392
|
} catch {
|
|
9343
9393
|
return e;
|
|
9344
9394
|
}
|
|
@@ -9358,7 +9408,7 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9358
9408
|
"aria-atomic": "true",
|
|
9359
9409
|
children: D
|
|
9360
9410
|
}),
|
|
9361
|
-
!w && /* @__PURE__ */ b(
|
|
9411
|
+
!w && /* @__PURE__ */ b(bd, {
|
|
9362
9412
|
zoomLevel: k,
|
|
9363
9413
|
canZoomIn: A,
|
|
9364
9414
|
canZoomOut: j,
|
|
@@ -9377,12 +9427,12 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9377
9427
|
className: "eidotter-timeline-container__empty",
|
|
9378
9428
|
role: "status",
|
|
9379
9429
|
children: [/* @__PURE__ */ b("p", { children: "C:\\TIMELINE> No entries found." }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9380
|
-
}) : S ? /* @__PURE__ */ b(
|
|
9430
|
+
}) : S ? /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ b("div", {
|
|
9381
9431
|
className: "eidotter-timeline-container__static",
|
|
9382
9432
|
role: "list",
|
|
9383
9433
|
"aria-label": "Timeline",
|
|
9384
|
-
children:
|
|
9385
|
-
let t = () => /* @__PURE__ */ b(
|
|
9434
|
+
children: oe.map((e) => {
|
|
9435
|
+
let t = () => /* @__PURE__ */ b(kd, {
|
|
9386
9436
|
entry: e,
|
|
9387
9437
|
isSelected: !1,
|
|
9388
9438
|
isExpanded: !0
|
|
@@ -9392,11 +9442,11 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9392
9442
|
role: "listitem",
|
|
9393
9443
|
children: [/* @__PURE__ */ b("div", {
|
|
9394
9444
|
className: "timeline-view__node",
|
|
9395
|
-
children: /* @__PURE__ */ b(
|
|
9445
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9396
9446
|
shape: "circle",
|
|
9397
9447
|
size: "medium",
|
|
9398
9448
|
variant: "default",
|
|
9399
|
-
label:
|
|
9449
|
+
label: pe(e.date),
|
|
9400
9450
|
labelPosition: "right"
|
|
9401
9451
|
})
|
|
9402
9452
|
}), g ? g(e, {
|
|
@@ -9406,12 +9456,12 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9406
9456
|
}) : t()]
|
|
9407
9457
|
}, e.id);
|
|
9408
9458
|
})
|
|
9409
|
-
}) }) : C ? /* @__PURE__ */ x(
|
|
9459
|
+
}) }) : C ? /* @__PURE__ */ x(xd, { children: [/* @__PURE__ */ b("div", {
|
|
9410
9460
|
className: "eidotter-timeline-container__feed",
|
|
9411
9461
|
role: "list",
|
|
9412
9462
|
"aria-label": "Timeline",
|
|
9413
|
-
children:
|
|
9414
|
-
let t = re === e.id, n = () => /* @__PURE__ */ b(
|
|
9463
|
+
children: le.map((e) => {
|
|
9464
|
+
let t = re === e.id, n = () => /* @__PURE__ */ b(kd, {
|
|
9415
9465
|
entry: e,
|
|
9416
9466
|
isSelected: t,
|
|
9417
9467
|
isExpanded: t,
|
|
@@ -9422,11 +9472,11 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9422
9472
|
role: "listitem",
|
|
9423
9473
|
children: [/* @__PURE__ */ b("div", {
|
|
9424
9474
|
className: "timeline-view__node",
|
|
9425
|
-
children: /* @__PURE__ */ b(
|
|
9475
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9426
9476
|
shape: "circle",
|
|
9427
9477
|
size: "medium",
|
|
9428
9478
|
variant: "default",
|
|
9429
|
-
label:
|
|
9479
|
+
label: pe(e.date),
|
|
9430
9480
|
labelPosition: "right"
|
|
9431
9481
|
})
|
|
9432
9482
|
}), g ? g(e, {
|
|
@@ -9436,13 +9486,13 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9436
9486
|
}) : n()]
|
|
9437
9487
|
}, e.id);
|
|
9438
9488
|
})
|
|
9439
|
-
}),
|
|
9489
|
+
}), ue && /* @__PURE__ */ b("button", {
|
|
9440
9490
|
type: "button",
|
|
9441
9491
|
className: "eidotter-timeline-container__load-more",
|
|
9442
|
-
onClick:
|
|
9443
|
-
"aria-label": `Load more entries (showing ${
|
|
9492
|
+
onClick: de,
|
|
9493
|
+
"aria-label": `Load more entries (showing ${B} of ${oe.length})`,
|
|
9444
9494
|
children: "LOAD MORE..."
|
|
9445
|
-
})] }) :
|
|
9495
|
+
})] }) : ie.length === 0 && N ? /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ x("div", {
|
|
9446
9496
|
className: "eidotter-timeline-container__empty",
|
|
9447
9497
|
role: "status",
|
|
9448
9498
|
children: [/* @__PURE__ */ x("p", { children: [
|
|
@@ -9450,18 +9500,18 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9450
9500
|
M[M.length - 1]?.label ?? "this period",
|
|
9451
9501
|
"."
|
|
9452
9502
|
] }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9453
|
-
}) }) : /* @__PURE__ */ b(
|
|
9503
|
+
}) }) : /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ b(Bd, {
|
|
9454
9504
|
zoomLevel: k,
|
|
9455
|
-
buckets:
|
|
9505
|
+
buckets: ie,
|
|
9456
9506
|
selectedEntryId: re,
|
|
9457
9507
|
onEntrySelect: F,
|
|
9458
|
-
onBucketClick:
|
|
9508
|
+
onBucketClick: ae,
|
|
9459
9509
|
renderEntry: g
|
|
9460
9510
|
}) })
|
|
9461
9511
|
})
|
|
9462
9512
|
]
|
|
9463
9513
|
});
|
|
9464
|
-
},
|
|
9514
|
+
}, Hd = r(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, className: o }, c) => {
|
|
9465
9515
|
let l = f(e), u = f(!1);
|
|
9466
9516
|
s(() => {
|
|
9467
9517
|
e !== l.current && (l.current = e, u.current || (t?.(e), e || n?.()), u.current = !1);
|
|
@@ -9513,12 +9563,12 @@ var Id = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9513
9563
|
})
|
|
9514
9564
|
});
|
|
9515
9565
|
});
|
|
9516
|
-
|
|
9566
|
+
Hd.displayName = "Modal";
|
|
9517
9567
|
//#endregion
|
|
9518
9568
|
//#region src/hooks/useTextScramble.ts
|
|
9519
|
-
var
|
|
9520
|
-
function
|
|
9521
|
-
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(() => {
|
|
9522
9572
|
if (!i || Ql()) return e;
|
|
9523
9573
|
let t = "";
|
|
9524
9574
|
for (let n = 0; n < e.length; n++) e[n] === " " ? t += " " : t += r[Math.floor(Math.random() * r.length)];
|
|
@@ -9539,7 +9589,7 @@ function Vd(e, t) {
|
|
|
9539
9589
|
return;
|
|
9540
9590
|
}
|
|
9541
9591
|
if (a >= n) {
|
|
9542
|
-
if (s = i, o++, o >=
|
|
9592
|
+
if (s = i, o++, o >= Wd && (t++, o = 0), t >= e.length) {
|
|
9543
9593
|
c(e), u(!1);
|
|
9544
9594
|
return;
|
|
9545
9595
|
}
|
|
@@ -9565,7 +9615,7 @@ function Vd(e, t) {
|
|
|
9565
9615
|
}
|
|
9566
9616
|
//#endregion
|
|
9567
9617
|
//#region src/components/Stat/components/Stat.tsx
|
|
9568
|
-
var
|
|
9618
|
+
var Kd = {
|
|
9569
9619
|
sm: {
|
|
9570
9620
|
root: "gap-0.5",
|
|
9571
9621
|
label: "text-dos-text-xs",
|
|
@@ -9602,23 +9652,23 @@ var Hd = {
|
|
|
9602
9652
|
value: "text-dos-display-md",
|
|
9603
9653
|
trend: "text-dos-text-md"
|
|
9604
9654
|
}
|
|
9605
|
-
},
|
|
9655
|
+
}, qd = {
|
|
9606
9656
|
up: "text-cga-bright-green",
|
|
9607
9657
|
down: "text-cga-bright-red",
|
|
9608
9658
|
neutral: "text-cga-amber"
|
|
9609
|
-
},
|
|
9659
|
+
}, Jd = {
|
|
9610
9660
|
up: "▲",
|
|
9611
9661
|
down: "▼",
|
|
9612
9662
|
neutral: "►"
|
|
9613
|
-
},
|
|
9663
|
+
}, Yd = {
|
|
9614
9664
|
up: "increasing",
|
|
9615
9665
|
down: "decreasing",
|
|
9616
9666
|
neutral: "unchanged"
|
|
9617
|
-
},
|
|
9618
|
-
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), {
|
|
9619
9669
|
speed: 30,
|
|
9620
9670
|
enabled: a
|
|
9621
|
-
}), u = a ? l : String(t), d =
|
|
9671
|
+
}), u = a ? l : String(t), d = Kd[i] || Kd.md;
|
|
9622
9672
|
return /* @__PURE__ */ x("div", {
|
|
9623
9673
|
ref: c,
|
|
9624
9674
|
className: $("flex flex-col font-dos", "eidotter-stat", d.root, o),
|
|
@@ -9633,12 +9683,12 @@ var Hd = {
|
|
|
9633
9683
|
children: u
|
|
9634
9684
|
}),
|
|
9635
9685
|
n && /* @__PURE__ */ x("span", {
|
|
9636
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
9637
|
-
"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}` : ""}`,
|
|
9638
9688
|
children: [/* @__PURE__ */ b("span", {
|
|
9639
9689
|
className: "text-[0.8em]",
|
|
9640
9690
|
"aria-hidden": "true",
|
|
9641
|
-
children:
|
|
9691
|
+
children: Jd[n]
|
|
9642
9692
|
}), r && /* @__PURE__ */ b("span", {
|
|
9643
9693
|
className: "tabular-nums",
|
|
9644
9694
|
children: r
|
|
@@ -9647,17 +9697,17 @@ var Hd = {
|
|
|
9647
9697
|
]
|
|
9648
9698
|
});
|
|
9649
9699
|
});
|
|
9650
|
-
|
|
9700
|
+
Xd.displayName = "Stat";
|
|
9651
9701
|
//#endregion
|
|
9652
9702
|
//#region src/components/FilterBar/components/FilterBar.tsx
|
|
9653
|
-
var
|
|
9703
|
+
var Zd = {
|
|
9654
9704
|
sm: "eidotter-filter-bar--sm",
|
|
9655
9705
|
md: "eidotter-filter-bar--md",
|
|
9656
9706
|
lg: "eidotter-filter-bar--lg",
|
|
9657
9707
|
small: "eidotter-filter-bar--sm",
|
|
9658
9708
|
medium: "eidotter-filter-bar--md",
|
|
9659
9709
|
large: "eidotter-filter-bar--lg"
|
|
9660
|
-
},
|
|
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 }) => {
|
|
9661
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) => {
|
|
9662
9712
|
g || m(e), c?.(e);
|
|
9663
9713
|
}, [g, c]), C = a((e) => {
|
|
@@ -9692,7 +9742,7 @@ var qd = {
|
|
|
9692
9742
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
9693
9743
|
return /* @__PURE__ */ x("div", {
|
|
9694
9744
|
ref: h,
|
|
9695
|
-
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),
|
|
9696
9746
|
role: "toolbar",
|
|
9697
9747
|
onKeyDown: E,
|
|
9698
9748
|
...u,
|
|
@@ -9725,7 +9775,7 @@ var qd = {
|
|
|
9725
9775
|
}, e.id);
|
|
9726
9776
|
})]
|
|
9727
9777
|
});
|
|
9728
|
-
},
|
|
9778
|
+
}, $d = (e) => {
|
|
9729
9779
|
if (!e) return !1;
|
|
9730
9780
|
try {
|
|
9731
9781
|
let t = new URL(e);
|
|
@@ -9737,7 +9787,7 @@ var qd = {
|
|
|
9737
9787
|
} catch {
|
|
9738
9788
|
return !1;
|
|
9739
9789
|
}
|
|
9740
|
-
},
|
|
9790
|
+
}, ef = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
9741
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;
|
|
9742
9792
|
y && (h.current = !0);
|
|
9743
9793
|
let S = () => {
|
|
@@ -9776,12 +9826,12 @@ var qd = {
|
|
|
9776
9826
|
className: "eidotter-inline-expand__source-item",
|
|
9777
9827
|
role: "listitem",
|
|
9778
9828
|
children: /* @__PURE__ */ x("a", {
|
|
9779
|
-
href:
|
|
9829
|
+
href: $d(e.url) ? e.url : void 0,
|
|
9780
9830
|
className: "eidotter-inline-expand__source-link",
|
|
9781
9831
|
target: "_blank",
|
|
9782
9832
|
rel: "noopener noreferrer",
|
|
9783
9833
|
"aria-label": `${e.title} (opens external website)`,
|
|
9784
|
-
children: [h.current && e.favicon &&
|
|
9834
|
+
children: [h.current && e.favicon && $d(e.favicon) && !d.has(e.url) ? /* @__PURE__ */ b("img", {
|
|
9785
9835
|
className: "eidotter-inline-expand__source-favicon",
|
|
9786
9836
|
src: e.favicon,
|
|
9787
9837
|
alt: "",
|
|
@@ -9802,15 +9852,15 @@ var qd = {
|
|
|
9802
9852
|
})]
|
|
9803
9853
|
})]
|
|
9804
9854
|
});
|
|
9805
|
-
},
|
|
9855
|
+
}, tf = {
|
|
9806
9856
|
horizontal: "h-px w-full",
|
|
9807
9857
|
vertical: "w-px h-full"
|
|
9808
|
-
},
|
|
9858
|
+
}, nf = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ b("div", {
|
|
9809
9859
|
role: "separator",
|
|
9810
9860
|
"aria-orientation": e,
|
|
9811
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
9812
|
-
}),
|
|
9813
|
-
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, {
|
|
9814
9864
|
speed: t,
|
|
9815
9865
|
characters: n,
|
|
9816
9866
|
delay: r
|
|
@@ -9822,16 +9872,16 @@ var qd = {
|
|
|
9822
9872
|
children: s
|
|
9823
9873
|
});
|
|
9824
9874
|
});
|
|
9825
|
-
|
|
9875
|
+
rf.displayName = "TextScramble";
|
|
9826
9876
|
//#endregion
|
|
9827
9877
|
//#region src/components/Nav/components/Nav.tsx
|
|
9828
|
-
var
|
|
9878
|
+
var af = {
|
|
9829
9879
|
retro: "eidotter-nav--retro",
|
|
9830
9880
|
modern: "eidotter-nav--modern"
|
|
9831
|
-
},
|
|
9881
|
+
}, of = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9832
9882
|
let a = r || "a";
|
|
9833
9883
|
return /* @__PURE__ */ b("nav", {
|
|
9834
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
9884
|
+
className: $("eidotter-nav eidotter-nav--desktop", af[n], i),
|
|
9835
9885
|
"aria-label": "Main navigation",
|
|
9836
9886
|
children: /* @__PURE__ */ b("ul", {
|
|
9837
9887
|
className: "eidotter-nav__desktop-list",
|
|
@@ -9845,7 +9895,7 @@ var ef = {
|
|
|
9845
9895
|
}, e.href))
|
|
9846
9896
|
})
|
|
9847
9897
|
});
|
|
9848
|
-
},
|
|
9898
|
+
}, sf = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9849
9899
|
let [o, c] = p(!1), l = r || "a", u = a(() => c((e) => !e), []), d = a(() => c(!1), []);
|
|
9850
9900
|
return s(() => {
|
|
9851
9901
|
if (!o) return;
|
|
@@ -9854,7 +9904,7 @@ var ef = {
|
|
|
9854
9904
|
};
|
|
9855
9905
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9856
9906
|
}, [o, d]), /* @__PURE__ */ x("div", {
|
|
9857
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
9907
|
+
className: $("eidotter-nav eidotter-nav--mobile", af[n], i),
|
|
9858
9908
|
children: [
|
|
9859
9909
|
/* @__PURE__ */ b("button", {
|
|
9860
9910
|
onClick: u,
|
|
@@ -9899,14 +9949,14 @@ var ef = {
|
|
|
9899
9949
|
})
|
|
9900
9950
|
]
|
|
9901
9951
|
});
|
|
9902
|
-
},
|
|
9952
|
+
}, cf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(sf, { ...e }), /* @__PURE__ */ b(of, { ...e })] }), lf = {
|
|
9903
9953
|
user: "eidotter-chat-message--user",
|
|
9904
9954
|
assistant: "eidotter-chat-message--assistant",
|
|
9905
9955
|
system: "eidotter-chat-message--system"
|
|
9906
|
-
},
|
|
9956
|
+
}, uf = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
9907
9957
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
9908
9958
|
return /* @__PURE__ */ x("div", {
|
|
9909
|
-
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),
|
|
9910
9960
|
...o,
|
|
9911
9961
|
children: [
|
|
9912
9962
|
s && /* @__PURE__ */ b("span", {
|
|
@@ -9925,7 +9975,7 @@ var ef = {
|
|
|
9925
9975
|
})
|
|
9926
9976
|
]
|
|
9927
9977
|
});
|
|
9928
|
-
},
|
|
9978
|
+
}, df = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
9929
9979
|
let o = f(null);
|
|
9930
9980
|
s(() => {
|
|
9931
9981
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -9954,7 +10004,7 @@ var ef = {
|
|
|
9954
10004
|
className: "flex flex-col",
|
|
9955
10005
|
children: [e.map((i, a) => {
|
|
9956
10006
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
9957
|
-
return /* @__PURE__ */ b(
|
|
10007
|
+
return /* @__PURE__ */ b(uf, {
|
|
9958
10008
|
role: i.role,
|
|
9959
10009
|
content: i.content,
|
|
9960
10010
|
isStreaming: o,
|
|
@@ -9964,7 +10014,7 @@ var ef = {
|
|
|
9964
10014
|
}), /* @__PURE__ */ b("div", { ref: o })]
|
|
9965
10015
|
})
|
|
9966
10016
|
});
|
|
9967
|
-
},
|
|
10017
|
+
}, ff = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
9968
10018
|
let [o, s] = p(""), c = f(null);
|
|
9969
10019
|
l(() => {
|
|
9970
10020
|
let e = c.current;
|
|
@@ -10006,30 +10056,30 @@ var ef = {
|
|
|
10006
10056
|
})]
|
|
10007
10057
|
})]
|
|
10008
10058
|
});
|
|
10009
|
-
},
|
|
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", {
|
|
10010
10060
|
className: $("flex flex-col h-full min-h-0", c),
|
|
10011
10061
|
...l,
|
|
10012
|
-
children: [/* @__PURE__ */ b(
|
|
10062
|
+
children: [/* @__PURE__ */ b(df, {
|
|
10013
10063
|
className: "flex-1 min-h-0",
|
|
10014
10064
|
messages: e,
|
|
10015
10065
|
isStreaming: n,
|
|
10016
10066
|
userPrefix: i,
|
|
10017
10067
|
assistantPrefix: a
|
|
10018
|
-
}), /* @__PURE__ */ b(
|
|
10068
|
+
}), /* @__PURE__ */ b(ff, {
|
|
10019
10069
|
className: "shrink-0",
|
|
10020
10070
|
onSend: t,
|
|
10021
10071
|
prompt: r,
|
|
10022
10072
|
placeholder: o,
|
|
10023
10073
|
disabled: s
|
|
10024
10074
|
})]
|
|
10025
|
-
}),
|
|
10075
|
+
}), mf = [{
|
|
10026
10076
|
label: "Impressum",
|
|
10027
10077
|
href: "/impressum"
|
|
10028
10078
|
}, {
|
|
10029
10079
|
label: "Datenschutz",
|
|
10030
10080
|
href: "/datenschutz"
|
|
10031
|
-
}],
|
|
10032
|
-
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";
|
|
10033
10083
|
return /* @__PURE__ */ x("footer", {
|
|
10034
10084
|
className: $("font-dos text-sm py-4 px-2 text-center", "eidotter-footer", a),
|
|
10035
10085
|
...o,
|
|
@@ -10067,14 +10117,14 @@ var ef = {
|
|
|
10067
10117
|
})
|
|
10068
10118
|
]
|
|
10069
10119
|
});
|
|
10070
|
-
},
|
|
10120
|
+
}, gf = {
|
|
10071
10121
|
retro: "eidotter-header--retro",
|
|
10072
10122
|
modern: "eidotter-header--modern"
|
|
10073
|
-
},
|
|
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) => {
|
|
10074
10124
|
let d = o ?? "a";
|
|
10075
10125
|
return /* @__PURE__ */ x("header", {
|
|
10076
10126
|
ref: u,
|
|
10077
|
-
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),
|
|
10078
10128
|
...l,
|
|
10079
10129
|
children: [
|
|
10080
10130
|
/* @__PURE__ */ b(d, {
|
|
@@ -10082,13 +10132,13 @@ var ef = {
|
|
|
10082
10132
|
className: $("no-underline text-base font-bold tracking-wide", "eidotter-header__branding"),
|
|
10083
10133
|
children: s || e
|
|
10084
10134
|
}),
|
|
10085
|
-
/* @__PURE__ */ b(
|
|
10135
|
+
/* @__PURE__ */ b(of, {
|
|
10086
10136
|
items: n,
|
|
10087
10137
|
activeHref: r,
|
|
10088
10138
|
variant: i,
|
|
10089
10139
|
linkComponent: o
|
|
10090
10140
|
}),
|
|
10091
|
-
/* @__PURE__ */ b(
|
|
10141
|
+
/* @__PURE__ */ b(sf, {
|
|
10092
10142
|
items: n,
|
|
10093
10143
|
activeHref: r,
|
|
10094
10144
|
variant: i,
|
|
@@ -10097,16 +10147,16 @@ var ef = {
|
|
|
10097
10147
|
]
|
|
10098
10148
|
});
|
|
10099
10149
|
});
|
|
10100
|
-
|
|
10150
|
+
_f.displayName = "Header";
|
|
10101
10151
|
//#endregion
|
|
10102
10152
|
//#region src/components/Notification/components/Notification.tsx
|
|
10103
|
-
var
|
|
10153
|
+
var vf = {
|
|
10104
10154
|
primary: "Info",
|
|
10105
10155
|
gray: "Info",
|
|
10106
10156
|
success: "Done",
|
|
10107
10157
|
warning: "Warning",
|
|
10108
10158
|
error: "Error"
|
|
10109
|
-
},
|
|
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 }) => {
|
|
10110
10160
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $l("notification-exit", i);
|
|
10111
10161
|
s(() => {
|
|
10112
10162
|
if (u == null || !i) return;
|
|
@@ -10136,7 +10186,7 @@ var mf = {
|
|
|
10136
10186
|
g && /* @__PURE__ */ b("div", {
|
|
10137
10187
|
className: "eidotter-notification__icon",
|
|
10138
10188
|
children: /* @__PURE__ */ b(Zl, {
|
|
10139
|
-
name:
|
|
10189
|
+
name: vf[e] || "Info",
|
|
10140
10190
|
size: "S",
|
|
10141
10191
|
"aria-label": `${e} notification`
|
|
10142
10192
|
})
|
|
@@ -10192,7 +10242,7 @@ var mf = {
|
|
|
10192
10242
|
};
|
|
10193
10243
|
//#endregion
|
|
10194
10244
|
//#region src/components/InlineLink/components/InlineLink.tsx
|
|
10195
|
-
function
|
|
10245
|
+
function bf(e) {
|
|
10196
10246
|
let t = e.trim();
|
|
10197
10247
|
if (t === "" || /^[#?/]/.test(t)) return t;
|
|
10198
10248
|
let n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
|
|
@@ -10207,14 +10257,14 @@ function gf(e) {
|
|
|
10207
10257
|
"sms"
|
|
10208
10258
|
].includes(r) ? t : "#";
|
|
10209
10259
|
}
|
|
10210
|
-
function
|
|
10260
|
+
function xf(e, t) {
|
|
10211
10261
|
if (t.length === 0) return e;
|
|
10212
10262
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
10213
10263
|
for (let e of t) n.add(e.toLowerCase());
|
|
10214
10264
|
return Array.from(n).join(" ");
|
|
10215
10265
|
}
|
|
10216
|
-
var
|
|
10217
|
-
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 ? "↗" : "▸";
|
|
10218
10268
|
return /* @__PURE__ */ x("a", {
|
|
10219
10269
|
ref: c,
|
|
10220
10270
|
href: l,
|
|
@@ -10232,10 +10282,10 @@ var vf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
10232
10282
|
})]
|
|
10233
10283
|
});
|
|
10234
10284
|
});
|
|
10235
|
-
|
|
10285
|
+
Sf.displayName = "InlineLink";
|
|
10236
10286
|
//#endregion
|
|
10237
10287
|
//#region src/components/DosFigure/components/DosFigure.tsx
|
|
10238
|
-
var
|
|
10288
|
+
var Cf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, l) => {
|
|
10239
10289
|
let u = c(), d = r ? u : void 0;
|
|
10240
10290
|
return /* @__PURE__ */ x("figure", {
|
|
10241
10291
|
ref: l,
|
|
@@ -10296,11 +10346,11 @@ var yf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
10296
10346
|
]
|
|
10297
10347
|
});
|
|
10298
10348
|
});
|
|
10299
|
-
|
|
10349
|
+
Cf.displayName = "DosFigure";
|
|
10300
10350
|
//#endregion
|
|
10301
10351
|
//#region src/components/CmdPalette/components/CmdPalette.tsx
|
|
10302
|
-
var
|
|
10303
|
-
function
|
|
10352
|
+
var wf = /* @__PURE__ */ b(y, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
|
|
10353
|
+
function Tf(e) {
|
|
10304
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");
|
|
10305
10355
|
return (e) => {
|
|
10306
10356
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -10308,15 +10358,15 @@ function xf(e) {
|
|
|
10308
10358
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
10309
10359
|
};
|
|
10310
10360
|
}
|
|
10311
|
-
function
|
|
10361
|
+
function Ef(e, t) {
|
|
10312
10362
|
if (!t) return 0;
|
|
10313
10363
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
10314
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;
|
|
10315
10365
|
}
|
|
10316
|
-
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" }, _) => {
|
|
10317
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) => ({
|
|
10318
10368
|
item: e,
|
|
10319
|
-
score:
|
|
10369
|
+
score: Ef(e, C.trim())
|
|
10320
10370
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, m).map((e) => e.item) : n.slice(0, m), [
|
|
10321
10371
|
n,
|
|
10322
10372
|
C,
|
|
@@ -10341,7 +10391,7 @@ var Cf = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10341
10391
|
M.current = t;
|
|
10342
10392
|
}, [t]), s(() => {
|
|
10343
10393
|
if (i === !1) return;
|
|
10344
|
-
let e =
|
|
10394
|
+
let e = Tf(i), t = (t) => {
|
|
10345
10395
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
10346
10396
|
};
|
|
10347
10397
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -10450,10 +10500,10 @@ var Cf = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10450
10500
|
})
|
|
10451
10501
|
});
|
|
10452
10502
|
});
|
|
10453
|
-
|
|
10503
|
+
Df.displayName = "CmdPalette";
|
|
10454
10504
|
//#endregion
|
|
10455
10505
|
//#region src/components/Brand/components/Logo.tsx
|
|
10456
|
-
var
|
|
10506
|
+
var Of = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => {
|
|
10457
10507
|
let o = c(), s = `eidotter-logo-halo-${o}`, l = `eidotter-logo-core-${o}`;
|
|
10458
10508
|
return /* @__PURE__ */ x("svg", {
|
|
10459
10509
|
ref: a,
|
|
@@ -10677,10 +10727,10 @@ var wf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, .
|
|
|
10677
10727
|
]
|
|
10678
10728
|
});
|
|
10679
10729
|
});
|
|
10680
|
-
|
|
10730
|
+
Of.displayName = "Logo";
|
|
10681
10731
|
//#endregion
|
|
10682
10732
|
//#region src/components/Brand/components/Wordmark.tsx
|
|
10683
|
-
var
|
|
10733
|
+
var kf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span", {
|
|
10684
10734
|
ref: r,
|
|
10685
10735
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
10686
10736
|
"aria-label": "eiDotter",
|
|
@@ -10695,28 +10745,28 @@ var Tf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span"
|
|
|
10695
10745
|
children: "Dotter"
|
|
10696
10746
|
})]
|
|
10697
10747
|
}));
|
|
10698
|
-
|
|
10748
|
+
kf.displayName = "Wordmark";
|
|
10699
10749
|
//#endregion
|
|
10700
10750
|
//#region src/components/Brand/components/BrandLockup.tsx
|
|
10701
|
-
var
|
|
10751
|
+
var Af = r(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ x("div", {
|
|
10702
10752
|
ref: o,
|
|
10703
10753
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
10704
10754
|
role: "img",
|
|
10705
10755
|
"aria-label": "eiDotter",
|
|
10706
10756
|
...a,
|
|
10707
|
-
children: [!n && /* @__PURE__ */ b(
|
|
10757
|
+
children: [!n && /* @__PURE__ */ b(Of, {
|
|
10708
10758
|
size: e,
|
|
10709
10759
|
glow: r,
|
|
10710
10760
|
title: ""
|
|
10711
|
-
}), !t && /* @__PURE__ */ b(
|
|
10761
|
+
}), !t && /* @__PURE__ */ b(kf, {
|
|
10712
10762
|
glow: r,
|
|
10713
10763
|
"aria-hidden": "true"
|
|
10714
10764
|
})]
|
|
10715
10765
|
}));
|
|
10716
|
-
|
|
10766
|
+
Af.displayName = "BrandLockup";
|
|
10717
10767
|
//#endregion
|
|
10718
10768
|
//#region src/components/AIText/components/AIText.tsx
|
|
10719
|
-
var
|
|
10769
|
+
var jf = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ x("span", {
|
|
10720
10770
|
"data-provenance": "ai-draft",
|
|
10721
10771
|
className: $("eidotter-ai-text", t),
|
|
10722
10772
|
title: n,
|
|
@@ -10725,43 +10775,43 @@ var Df = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
10725
10775
|
children: "AI-assisted: "
|
|
10726
10776
|
}), e]
|
|
10727
10777
|
});
|
|
10728
|
-
|
|
10778
|
+
jf.displayName = "AIText";
|
|
10729
10779
|
//#endregion
|
|
10730
10780
|
//#region src/components/Skeleton/components/Skeleton.tsx
|
|
10731
|
-
var
|
|
10781
|
+
var Mf = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", Nf = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", Pf = 6, Ff = {
|
|
10732
10782
|
text: 3,
|
|
10733
10783
|
card: 3,
|
|
10734
10784
|
figure: 4,
|
|
10735
10785
|
timeline: 2
|
|
10736
|
-
},
|
|
10786
|
+
}, If = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ b("span", {
|
|
10737
10787
|
className: $("eidotter-skeleton__line", t === "short" && "eidotter-skeleton__line--short", t === "meta" && "eidotter-skeleton__line--meta"),
|
|
10738
|
-
children: (e ?
|
|
10788
|
+
children: (e ? Nf : Mf).repeat(Pf)
|
|
10739
10789
|
});
|
|
10740
|
-
function
|
|
10741
|
-
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, {
|
|
10742
10792
|
dense: t,
|
|
10743
10793
|
width: n && i === e - 1 && e > 1 ? "short" : "full"
|
|
10744
10794
|
}, i));
|
|
10745
10795
|
}
|
|
10746
|
-
var
|
|
10747
|
-
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;
|
|
10748
10798
|
switch (e) {
|
|
10749
10799
|
case "card":
|
|
10750
|
-
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(
|
|
10800
|
+
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(If, {
|
|
10751
10801
|
dense: !0,
|
|
10752
10802
|
width: "meta"
|
|
10753
|
-
}),
|
|
10803
|
+
}), Lf(a)] });
|
|
10754
10804
|
break;
|
|
10755
10805
|
case "figure":
|
|
10756
|
-
o =
|
|
10806
|
+
o = Lf(a, !0, !1);
|
|
10757
10807
|
break;
|
|
10758
10808
|
case "timeline":
|
|
10759
10809
|
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("span", { className: "eidotter-skeleton__marker border-2 border-dos-border-default" }), /* @__PURE__ */ x("span", {
|
|
10760
10810
|
className: "eidotter-skeleton__entry",
|
|
10761
|
-
children: [/* @__PURE__ */ b(
|
|
10811
|
+
children: [/* @__PURE__ */ b(If, { width: "meta" }), Lf(a)]
|
|
10762
10812
|
})] });
|
|
10763
10813
|
break;
|
|
10764
|
-
default: o =
|
|
10814
|
+
default: o = Lf(a);
|
|
10765
10815
|
}
|
|
10766
10816
|
return /* @__PURE__ */ b("div", {
|
|
10767
10817
|
role: "status",
|
|
@@ -10774,10 +10824,10 @@ var Pf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading
|
|
|
10774
10824
|
})
|
|
10775
10825
|
});
|
|
10776
10826
|
};
|
|
10777
|
-
|
|
10827
|
+
Rf.displayName = "Skeleton";
|
|
10778
10828
|
//#endregion
|
|
10779
10829
|
//#region src/components/LegalPage/components/LegalPage.tsx
|
|
10780
|
-
var
|
|
10830
|
+
var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ x("div", {
|
|
10781
10831
|
className: $("eidotter-legal-page", a),
|
|
10782
10832
|
...o,
|
|
10783
10833
|
children: [r && /* @__PURE__ */ b("div", {
|
|
@@ -10800,13 +10850,13 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10800
10850
|
className: "eidotter-legal-page__body",
|
|
10801
10851
|
children: i
|
|
10802
10852
|
})] })]
|
|
10803
|
-
}),
|
|
10853
|
+
}), Bf = /* @__PURE__ */ x(y, { children: [
|
|
10804
10854
|
"Haus-Endt-Str. 149A",
|
|
10805
10855
|
/* @__PURE__ */ b("br", {}),
|
|
10806
10856
|
"40593 Düsseldorf",
|
|
10807
10857
|
/* @__PURE__ */ b("br", {}),
|
|
10808
10858
|
"Deutschland"
|
|
10809
|
-
] }),
|
|
10859
|
+
] }), Vf = "Dominic Kennedy", Hf = ({ email: e, address: t = Bf, name: n = Vf }) => /* @__PURE__ */ x("address", { children: [
|
|
10810
10860
|
n,
|
|
10811
10861
|
/* @__PURE__ */ b("br", {}),
|
|
10812
10862
|
t,
|
|
@@ -10818,16 +10868,16 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10818
10868
|
children: e
|
|
10819
10869
|
})
|
|
10820
10870
|
] })
|
|
10821
|
-
] }),
|
|
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", {
|
|
10822
10872
|
href: `mailto:${e}`,
|
|
10823
10873
|
children: e
|
|
10824
|
-
})] })] }),
|
|
10874
|
+
})] })] }), Gf = ({ name: e = Vf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ x("address", { children: [
|
|
10825
10875
|
e,
|
|
10826
10876
|
/* @__PURE__ */ b("br", {}),
|
|
10827
10877
|
"Haus-Endt-Str. 149A",
|
|
10828
10878
|
/* @__PURE__ */ b("br", {}),
|
|
10829
10879
|
"40593 Düsseldorf"
|
|
10830
|
-
] })] }),
|
|
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: [
|
|
10831
10881
|
t,
|
|
10832
10882
|
/* @__PURE__ */ b("br", {}),
|
|
10833
10883
|
"Haus-Endt-Str. 149A",
|
|
@@ -10839,14 +10889,14 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10839
10889
|
href: `mailto:${e}`,
|
|
10840
10890
|
children: e
|
|
10841
10891
|
})
|
|
10842
|
-
] })] }),
|
|
10892
|
+
] })] }), Yf = () => /* @__PURE__ */ x(y, { children: [
|
|
10843
10893
|
/* @__PURE__ */ b("h2", { children: "Hosting" }),
|
|
10844
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." }),
|
|
10845
10895
|
/* @__PURE__ */ b("p", {
|
|
10846
10896
|
className: "eidotter-legal-page__basis",
|
|
10847
10897
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10848
10898
|
})
|
|
10849
|
-
] }),
|
|
10899
|
+
] }), Xf = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ x(y, { children: [
|
|
10850
10900
|
/* @__PURE__ */ b("h2", { children: "Webanalyse — PostHog" }),
|
|
10851
10901
|
/* @__PURE__ */ x("p", { children: [
|
|
10852
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 ",
|
|
@@ -10863,7 +10913,7 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10863
10913
|
className: "eidotter-legal-page__basis",
|
|
10864
10914
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10865
10915
|
})
|
|
10866
|
-
] }),
|
|
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: [
|
|
10867
10917
|
/* @__PURE__ */ b("h2", { children: "Ihre Rechte" }),
|
|
10868
10918
|
/* @__PURE__ */ b("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
10869
10919
|
/* @__PURE__ */ x("ul", { children: [
|
|
@@ -10888,7 +10938,7 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10888
10938
|
t,
|
|
10889
10939
|
"."
|
|
10890
10940
|
] })
|
|
10891
|
-
] }),
|
|
10941
|
+
] }), ep = {
|
|
10892
10942
|
eidotter: { displayName: "eiDotter" },
|
|
10893
10943
|
spacewar: { displayName: "Spacewar!" },
|
|
10894
10944
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -10902,7 +10952,7 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10902
10952
|
displayName: "dmnc.tech",
|
|
10903
10953
|
url: "https://dmnc.tech"
|
|
10904
10954
|
}
|
|
10905
|
-
},
|
|
10955
|
+
}, tp = {
|
|
10906
10956
|
Alert: {
|
|
10907
10957
|
origin: "eidotter",
|
|
10908
10958
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -11450,21 +11500,21 @@ var Ff = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
11450
11500
|
}]
|
|
11451
11501
|
}
|
|
11452
11502
|
};
|
|
11453
|
-
function
|
|
11454
|
-
return
|
|
11503
|
+
function np(e) {
|
|
11504
|
+
return tp[e];
|
|
11455
11505
|
}
|
|
11456
|
-
function
|
|
11457
|
-
return Object.entries(
|
|
11506
|
+
function rp(e) {
|
|
11507
|
+
return Object.entries(tp).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
11458
11508
|
}
|
|
11459
|
-
function
|
|
11460
|
-
return Object.entries(
|
|
11509
|
+
function ip(e) {
|
|
11510
|
+
return Object.entries(tp).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
11461
11511
|
}
|
|
11462
|
-
function
|
|
11463
|
-
let n =
|
|
11512
|
+
function ap(e, t) {
|
|
11513
|
+
let n = tp[e];
|
|
11464
11514
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
11465
11515
|
}
|
|
11466
|
-
function
|
|
11467
|
-
let t =
|
|
11516
|
+
function op(e) {
|
|
11517
|
+
let t = tp[e];
|
|
11468
11518
|
if (!t?.variants) return {};
|
|
11469
11519
|
let n = {};
|
|
11470
11520
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
@@ -11472,6 +11522,6 @@ function np(e) {
|
|
|
11472
11522
|
}
|
|
11473
11523
|
//#endregion
|
|
11474
11524
|
//#region src/index.ts
|
|
11475
|
-
var
|
|
11525
|
+
var sp = "0.29.0";
|
|
11476
11526
|
//#endregion
|
|
11477
|
-
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 };
|