eidotter 0.41.1 → 0.41.3
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/README.md +13 -1
- package/dist/components/CmdPalette/components/CmdPalette.d.ts +6 -1
- package/dist/components/DosDialog/components/DosDialog.d.ts +13 -2
- package/dist/components/DosDialog/components/DosDialog.js +4 -2
- package/dist/components/DosDialog/components/index.d.ts +1 -1
- package/dist/components/DosDialog/index.d.ts +1 -1
- package/dist/components/Header/components/Header.d.ts +1 -1
- package/dist/components/Header/components/Header.js +4 -1
- package/dist/components/Terminal/components/Terminal.js +1 -1
- package/dist/components/registry.js +14 -8
- package/dist/eidotter.css +1 -1
- package/dist/hooks/useTextScramble.js +27 -31
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +352 -314
- package/dist/index.umd.js +1 -1
- package/llms.txt +14 -1
- package/migrations/0.41.0.md +112 -22
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -12813,7 +12813,7 @@ var pg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
12813
12813
|
ref: w,
|
|
12814
12814
|
className: `terminal terminal--${_} terminal--${v} ${b ? "terminal--maximized" : ""} ${h}`.trim(),
|
|
12815
12815
|
tabIndex: 0,
|
|
12816
|
-
role: "
|
|
12816
|
+
role: "group",
|
|
12817
12817
|
"aria-label": `${t} terminal window`,
|
|
12818
12818
|
onFocus: O,
|
|
12819
12819
|
onKeyDown: (e) => {
|
|
@@ -13583,17 +13583,24 @@ var f_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
13583
13583
|
m_.displayName = "YearView";
|
|
13584
13584
|
//#endregion
|
|
13585
13585
|
//#region src/components/DosDialog/components/DosDialog.tsx
|
|
13586
|
-
|
|
13586
|
+
var h_ = [
|
|
13587
|
+
2,
|
|
13588
|
+
3,
|
|
13589
|
+
4,
|
|
13590
|
+
5,
|
|
13591
|
+
6
|
|
13592
|
+
];
|
|
13593
|
+
function g_(e) {
|
|
13587
13594
|
return typeof e == "object" && !!e && !a(e) && !Array.isArray(e) && "title" in e;
|
|
13588
13595
|
}
|
|
13589
|
-
var
|
|
13590
|
-
let h = l(), g = om(), _ =
|
|
13596
|
+
var __ = i(({ open: e, onOpenChange: t, inline: n = !1, placement: r = "center", size: i = "md", head: a, footer: o, isDismissable: s = !0, "aria-label": u, "aria-labelledby": d, className: f, children: p }, m) => {
|
|
13597
|
+
let h = l(), g = om(), _ = g_(a) ? a : null, v = d ?? (!u && _ && !_.decorative ? h : void 0), y = e && !n && !u && !v;
|
|
13591
13598
|
c(() => {
|
|
13592
13599
|
y && process.env.NODE_ENV !== "production" && console.warn("[eidotter] DosDialog has no accessible name. A ReactNode or decorative head does not name the dialog: pass aria-label or aria-labelledby.");
|
|
13593
13600
|
}, [y]);
|
|
13594
13601
|
let C = null;
|
|
13595
13602
|
if (_) {
|
|
13596
|
-
let { title: e, end: t, marker: n = !0, decorative: r = !1 } = _
|
|
13603
|
+
let { title: e, end: t, marker: n = !0, decorative: r = !1, headingLevel: i = 2 } = _, a = h_.includes(i) ? i : 2, o = r ? "span" : `h${a}`;
|
|
13597
13604
|
C = /* @__PURE__ */ S("div", {
|
|
13598
13605
|
className: "eidotter-dialog__head",
|
|
13599
13606
|
"aria-hidden": r || void 0,
|
|
@@ -13603,7 +13610,7 @@ var g_ = i(({ open: e, onOpenChange: t, inline: n = !1, placement: r = "center",
|
|
|
13603
13610
|
className: "eidotter-dialog__marker",
|
|
13604
13611
|
"aria-hidden": "true",
|
|
13605
13612
|
children: "▸"
|
|
13606
|
-
}), /* @__PURE__ */ x(
|
|
13613
|
+
}), /* @__PURE__ */ x(o, {
|
|
13607
13614
|
id: h,
|
|
13608
13615
|
className: "eidotter-dialog__title",
|
|
13609
13616
|
children: e
|
|
@@ -13655,10 +13662,10 @@ var g_ = i(({ open: e, onOpenChange: t, inline: n = !1, placement: r = "center",
|
|
|
13655
13662
|
})
|
|
13656
13663
|
});
|
|
13657
13664
|
});
|
|
13658
|
-
|
|
13665
|
+
__.displayName = "DosDialog";
|
|
13659
13666
|
//#endregion
|
|
13660
13667
|
//#region src/components/Lightbox/components/Lightbox.tsx
|
|
13661
|
-
var
|
|
13668
|
+
var v_ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange: a }) => {
|
|
13662
13669
|
let s = t.length === 0 ? 0 : Math.max(0, Math.min(n, t.length - 1)), [l, u] = m(s);
|
|
13663
13670
|
c(() => {
|
|
13664
13671
|
r && u(s);
|
|
@@ -13691,7 +13698,7 @@ var __ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
13691
13698
|
p
|
|
13692
13699
|
]), t.length === 0) return null;
|
|
13693
13700
|
let v = Math.max(0, Math.min(l, t.length - 1)), y = t[v], b = v > 0, C = v < t.length - 1;
|
|
13694
|
-
return /* @__PURE__ */ x(
|
|
13701
|
+
return /* @__PURE__ */ x(__, {
|
|
13695
13702
|
open: r,
|
|
13696
13703
|
onOpenChange: (e) => {
|
|
13697
13704
|
e || i();
|
|
@@ -13753,10 +13760,10 @@ var __ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
13753
13760
|
})
|
|
13754
13761
|
});
|
|
13755
13762
|
};
|
|
13756
|
-
|
|
13763
|
+
v_.displayName = "Lightbox";
|
|
13757
13764
|
//#endregion
|
|
13758
13765
|
//#region src/components/TimelineContainer/components/variants/TimelineEntryCardImage.tsx
|
|
13759
|
-
var
|
|
13766
|
+
var y_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
13760
13767
|
let [r, i] = m(!1), { image: a } = e, o = a.thumbnail || a.src, s = a.link && Cg(a.link) ? a.link : void 0;
|
|
13761
13768
|
return c(() => {
|
|
13762
13769
|
t || i(!1);
|
|
@@ -13805,13 +13812,13 @@ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
13805
13812
|
height: a.height
|
|
13806
13813
|
})
|
|
13807
13814
|
}),
|
|
13808
|
-
/* @__PURE__ */ x(
|
|
13815
|
+
/* @__PURE__ */ x(v_, {
|
|
13809
13816
|
images: [a],
|
|
13810
13817
|
isOpen: r,
|
|
13811
13818
|
onClose: () => i(!1)
|
|
13812
13819
|
})
|
|
13813
13820
|
] });
|
|
13814
|
-
},
|
|
13821
|
+
}, b_ = ({ images: e, isExpanded: t }) => {
|
|
13815
13822
|
let [n, r] = m({ phase: "grid" });
|
|
13816
13823
|
if (c(() => {
|
|
13817
13824
|
t || r({ phase: "grid" });
|
|
@@ -13830,12 +13837,12 @@ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
13830
13837
|
return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", {
|
|
13831
13838
|
className: "eidotter-timeline-card-gallery__grid",
|
|
13832
13839
|
role: "list",
|
|
13833
|
-
children: e.map((e, t) => /* @__PURE__ */ x(
|
|
13840
|
+
children: e.map((e, t) => /* @__PURE__ */ x(x_, {
|
|
13834
13841
|
image: e,
|
|
13835
13842
|
isFocused: a === t,
|
|
13836
13843
|
onClick: () => i(t, e)
|
|
13837
13844
|
}, t))
|
|
13838
|
-
}), /* @__PURE__ */ x(
|
|
13845
|
+
}), /* @__PURE__ */ x(v_, {
|
|
13839
13846
|
images: e,
|
|
13840
13847
|
isOpen: n.phase === "lightbox",
|
|
13841
13848
|
initialIndex: n.phase === "lightbox" ? n.index : 0,
|
|
@@ -13852,7 +13859,7 @@ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
13852
13859
|
} : t);
|
|
13853
13860
|
}
|
|
13854
13861
|
})] });
|
|
13855
|
-
},
|
|
13862
|
+
}, x_ = ({ image: e, isFocused: t, onClick: n }) => {
|
|
13856
13863
|
let r = e.thumbnail || e.src, i = e.link && Cg(e.link) ? e.link : void 0;
|
|
13857
13864
|
return i ? /* @__PURE__ */ x("div", {
|
|
13858
13865
|
role: "listitem",
|
|
@@ -13887,7 +13894,7 @@ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
13887
13894
|
})
|
|
13888
13895
|
})
|
|
13889
13896
|
});
|
|
13890
|
-
},
|
|
13897
|
+
}, S_ = ({ entry: e, isExpanded: t, onSelect: n }) => e.images.length === 0 ? (process.env.NODE_ENV !== "production" && console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("p", {
|
|
13891
13898
|
className: "eidotter-timeline-card__title",
|
|
13892
13899
|
children: e.title
|
|
13893
13900
|
}), /* @__PURE__ */ x("p", {
|
|
@@ -13901,11 +13908,11 @@ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
13901
13908
|
className: "eidotter-timeline-card__title",
|
|
13902
13909
|
children: e.title
|
|
13903
13910
|
})
|
|
13904
|
-
}), /* @__PURE__ */ x(
|
|
13911
|
+
}), /* @__PURE__ */ x(b_, {
|
|
13905
13912
|
images: e.images,
|
|
13906
13913
|
isExpanded: t
|
|
13907
|
-
})] }),
|
|
13908
|
-
let { summary: i, content: a, href: o, hrefLabel: s } = e, c = e.images ?? [], l = c.length > 0, u = o && Cg(o) ? o : void 0, d = l || a != null || u !== void 0, f = c.slice(0,
|
|
13914
|
+
})] }), C_ = 4, w_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
13915
|
+
let { summary: i, content: a, href: o, hrefLabel: s } = e, c = e.images ?? [], l = c.length > 0, u = o && Cg(o) ? o : void 0, d = l || a != null || u !== void 0, f = c.slice(0, C_), p = c.length - f.length;
|
|
13909
13916
|
return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ S(pi, {
|
|
13910
13917
|
className: "eidotter-timeline-card__trigger",
|
|
13911
13918
|
onPress: () => n?.(e.id),
|
|
@@ -13955,7 +13962,7 @@ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
13955
13962
|
className: "eidotter-timeline-card__body-inner",
|
|
13956
13963
|
inert: !t || void 0,
|
|
13957
13964
|
children: [
|
|
13958
|
-
l && /* @__PURE__ */ x(
|
|
13965
|
+
l && /* @__PURE__ */ x(b_, {
|
|
13959
13966
|
images: c,
|
|
13960
13967
|
isExpanded: t
|
|
13961
13968
|
}),
|
|
@@ -13975,45 +13982,45 @@ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
13975
13982
|
]
|
|
13976
13983
|
})
|
|
13977
13984
|
})] });
|
|
13978
|
-
},
|
|
13985
|
+
}, T_ = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ S("div", {
|
|
13979
13986
|
className: $("eidotter-timeline-card", t && "eidotter-timeline-card--selected", n && "eidotter-timeline-card--expanded"),
|
|
13980
|
-
children: [
|
|
13987
|
+
children: [E_(e, n, r, a), i && /* @__PURE__ */ x("div", {
|
|
13981
13988
|
className: "eidotter-timeline-card__footer",
|
|
13982
13989
|
children: i
|
|
13983
13990
|
})]
|
|
13984
13991
|
}));
|
|
13985
|
-
|
|
13986
|
-
function
|
|
13992
|
+
T_.displayName = "TimelineEntryCard";
|
|
13993
|
+
function E_(e, t, n, r) {
|
|
13987
13994
|
switch (e.kind) {
|
|
13988
|
-
case "text": return /* @__PURE__ */ x(
|
|
13995
|
+
case "text": return /* @__PURE__ */ x(O_, {
|
|
13989
13996
|
entry: e,
|
|
13990
13997
|
isExpanded: t,
|
|
13991
13998
|
onSelect: n,
|
|
13992
13999
|
children: r
|
|
13993
14000
|
});
|
|
13994
|
-
case "image": return /* @__PURE__ */ x(
|
|
14001
|
+
case "image": return /* @__PURE__ */ x(y_, {
|
|
13995
14002
|
entry: e,
|
|
13996
14003
|
isExpanded: t,
|
|
13997
14004
|
onSelect: n
|
|
13998
14005
|
});
|
|
13999
|
-
case "gallery": return /* @__PURE__ */ x(
|
|
14006
|
+
case "gallery": return /* @__PURE__ */ x(S_, {
|
|
14000
14007
|
entry: e,
|
|
14001
14008
|
isExpanded: t,
|
|
14002
14009
|
onSelect: n
|
|
14003
14010
|
});
|
|
14004
|
-
case "article": return /* @__PURE__ */ x(
|
|
14011
|
+
case "article": return /* @__PURE__ */ x(w_, {
|
|
14005
14012
|
entry: e,
|
|
14006
14013
|
isExpanded: t,
|
|
14007
14014
|
onSelect: n,
|
|
14008
14015
|
children: r
|
|
14009
14016
|
});
|
|
14010
|
-
default: return
|
|
14017
|
+
default: return D_(e);
|
|
14011
14018
|
}
|
|
14012
14019
|
}
|
|
14013
|
-
function
|
|
14020
|
+
function D_(e) {
|
|
14014
14021
|
throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`);
|
|
14015
14022
|
}
|
|
14016
|
-
var
|
|
14023
|
+
var O_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
14017
14024
|
let i = typeof e.content == "string", a = e.content != null;
|
|
14018
14025
|
return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ S(pi, {
|
|
14019
14026
|
className: "eidotter-timeline-card__trigger",
|
|
@@ -14051,7 +14058,7 @@ var D_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14051
14058
|
children: e.content
|
|
14052
14059
|
})
|
|
14053
14060
|
})] });
|
|
14054
|
-
},
|
|
14061
|
+
}, k_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ x("div", {
|
|
14055
14062
|
className: "timeline-view timeline-view--month",
|
|
14056
14063
|
role: "list",
|
|
14057
14064
|
children: t.map((t) => /* @__PURE__ */ S("div", {
|
|
@@ -14070,7 +14077,7 @@ var D_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14070
14077
|
}), /* @__PURE__ */ x("div", {
|
|
14071
14078
|
className: "timeline-view__content",
|
|
14072
14079
|
children: t.entries.map((t) => {
|
|
14073
|
-
let i = n === t.id, o = () => /* @__PURE__ */ x(
|
|
14080
|
+
let i = n === t.id, o = () => /* @__PURE__ */ x(T_, {
|
|
14074
14081
|
entry: t,
|
|
14075
14082
|
isSelected: i,
|
|
14076
14083
|
isExpanded: i,
|
|
@@ -14085,23 +14092,23 @@ var D_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14085
14092
|
})]
|
|
14086
14093
|
}, t.periodStart))
|
|
14087
14094
|
}));
|
|
14088
|
-
|
|
14095
|
+
k_.displayName = "MonthView";
|
|
14089
14096
|
//#endregion
|
|
14090
14097
|
//#region src/components/Tag/components/Tag.tsx
|
|
14091
|
-
var
|
|
14098
|
+
var A_ = {
|
|
14092
14099
|
sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
14093
14100
|
md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
|
|
14094
14101
|
lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
|
|
14095
14102
|
small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
14096
14103
|
medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
|
|
14097
|
-
},
|
|
14104
|
+
}, j_ = ({ 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 }) => {
|
|
14098
14105
|
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = sm("eidotter-pop-out", c), g = (e) => {
|
|
14099
14106
|
o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
|
|
14100
14107
|
}, _ = () => {
|
|
14101
14108
|
o || m();
|
|
14102
14109
|
}, v = r ? { "--tag-color": "var(" + r + ")" } : void 0;
|
|
14103
14110
|
return /* @__PURE__ */ S("span", {
|
|
14104
|
-
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider",
|
|
14111
|
+
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider", A_[n] || A_.md, "eidotter-tag", "eidotter-tag--" + t, i && "eidotter-tag--selected", o && "opacity-50 cursor-not-allowed", p && "eidotter-tag--closing", f && "cursor-pointer", l),
|
|
14105
14112
|
style: v,
|
|
14106
14113
|
onClick: f ? (e) => !o && s?.(e) : void 0,
|
|
14107
14114
|
onKeyDown: g,
|
|
@@ -14128,17 +14135,17 @@ var k_ = {
|
|
|
14128
14135
|
isDisabled: o
|
|
14129
14136
|
})]
|
|
14130
14137
|
});
|
|
14131
|
-
},
|
|
14138
|
+
}, M_ = {
|
|
14132
14139
|
tight: "gap-1",
|
|
14133
14140
|
normal: "gap-2",
|
|
14134
14141
|
loose: "gap-3"
|
|
14135
|
-
},
|
|
14136
|
-
className: $("flex", n ? "flex-wrap" : "flex-nowrap",
|
|
14142
|
+
}, N_ = ({ children: e, gap: t = "normal", wrap: n = !0, className: r, "aria-label": i, ...a }) => /* @__PURE__ */ x("div", {
|
|
14143
|
+
className: $("flex", n ? "flex-wrap" : "flex-nowrap", M_[t] || M_.normal, r),
|
|
14137
14144
|
role: "group",
|
|
14138
14145
|
"aria-label": i,
|
|
14139
14146
|
...a,
|
|
14140
14147
|
children: e
|
|
14141
|
-
}),
|
|
14148
|
+
}), P_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
|
|
14142
14149
|
className: "timeline-view timeline-view--day",
|
|
14143
14150
|
role: "list",
|
|
14144
14151
|
children: t.map((t) => /* @__PURE__ */ S("div", {
|
|
@@ -14156,15 +14163,15 @@ var k_ = {
|
|
|
14156
14163
|
}), /* @__PURE__ */ x("div", {
|
|
14157
14164
|
className: "timeline-view__content",
|
|
14158
14165
|
children: t.entries.map((t) => {
|
|
14159
|
-
let a = n === t.id, o = () => /* @__PURE__ */ x(
|
|
14166
|
+
let a = n === t.id, o = () => /* @__PURE__ */ x(T_, {
|
|
14160
14167
|
entry: t,
|
|
14161
14168
|
isSelected: a,
|
|
14162
14169
|
isExpanded: a,
|
|
14163
14170
|
onSelect: r,
|
|
14164
|
-
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ x(
|
|
14171
|
+
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ x(N_, {
|
|
14165
14172
|
gap: "tight",
|
|
14166
14173
|
"aria-label": `Tags for ${t.title}`,
|
|
14167
|
-
children: t.tags.map((e) => /* @__PURE__ */ x(
|
|
14174
|
+
children: t.tags.map((e) => /* @__PURE__ */ x(j_, {
|
|
14168
14175
|
size: "small",
|
|
14169
14176
|
variant: "outlined",
|
|
14170
14177
|
children: e
|
|
@@ -14180,10 +14187,10 @@ var k_ = {
|
|
|
14180
14187
|
})]
|
|
14181
14188
|
}, t.periodStart))
|
|
14182
14189
|
}));
|
|
14183
|
-
|
|
14190
|
+
P_.displayName = "DayView";
|
|
14184
14191
|
//#endregion
|
|
14185
14192
|
//#region src/components/TimelineContainer/components/views/HourView.tsx
|
|
14186
|
-
var
|
|
14193
|
+
var F_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
|
|
14187
14194
|
className: "timeline-view timeline-view--hour",
|
|
14188
14195
|
role: "list",
|
|
14189
14196
|
children: t.map((t) => /* @__PURE__ */ S("div", {
|
|
@@ -14201,17 +14208,17 @@ var P_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
14201
14208
|
}), /* @__PURE__ */ x("div", {
|
|
14202
14209
|
className: "timeline-view__content",
|
|
14203
14210
|
children: t.entries.map((t) => {
|
|
14204
|
-
let a = n === t.id, o = () => /* @__PURE__ */ S(
|
|
14211
|
+
let a = n === t.id, o = () => /* @__PURE__ */ S(T_, {
|
|
14205
14212
|
entry: t,
|
|
14206
14213
|
isSelected: a,
|
|
14207
14214
|
isExpanded: !0,
|
|
14208
14215
|
onSelect: r,
|
|
14209
14216
|
footer: /* @__PURE__ */ S("div", {
|
|
14210
14217
|
className: "timeline-view__entry-footer",
|
|
14211
|
-
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ x(
|
|
14218
|
+
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ x(N_, {
|
|
14212
14219
|
gap: "tight",
|
|
14213
14220
|
"aria-label": `Tags for ${t.title}`,
|
|
14214
|
-
children: t.tags.map((e) => /* @__PURE__ */ x(
|
|
14221
|
+
children: t.tags.map((e) => /* @__PURE__ */ x(j_, {
|
|
14215
14222
|
size: "small",
|
|
14216
14223
|
variant: "outlined",
|
|
14217
14224
|
children: e
|
|
@@ -14247,29 +14254,29 @@ var P_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
14247
14254
|
})]
|
|
14248
14255
|
}, t.periodStart))
|
|
14249
14256
|
}));
|
|
14250
|
-
|
|
14257
|
+
F_.displayName = "HourView";
|
|
14251
14258
|
//#endregion
|
|
14252
14259
|
//#region src/components/TimelineContainer/components/TimelineContent.tsx
|
|
14253
|
-
var
|
|
14260
|
+
var I_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
|
|
14254
14261
|
switch (e) {
|
|
14255
14262
|
case "year": return /* @__PURE__ */ x(m_, {
|
|
14256
14263
|
buckets: t,
|
|
14257
14264
|
onBucketClick: i
|
|
14258
14265
|
});
|
|
14259
|
-
case "month": return /* @__PURE__ */ x(
|
|
14266
|
+
case "month": return /* @__PURE__ */ x(k_, {
|
|
14260
14267
|
buckets: t,
|
|
14261
14268
|
selectedEntryId: n,
|
|
14262
14269
|
onEntrySelect: r,
|
|
14263
14270
|
onBucketClick: i,
|
|
14264
14271
|
renderEntry: a
|
|
14265
14272
|
});
|
|
14266
|
-
case "day": return /* @__PURE__ */ x(
|
|
14273
|
+
case "day": return /* @__PURE__ */ x(P_, {
|
|
14267
14274
|
buckets: t,
|
|
14268
14275
|
selectedEntryId: n,
|
|
14269
14276
|
onEntrySelect: r,
|
|
14270
14277
|
renderEntry: a
|
|
14271
14278
|
});
|
|
14272
|
-
case "hour": return /* @__PURE__ */ x(
|
|
14279
|
+
case "hour": return /* @__PURE__ */ x(F_, {
|
|
14273
14280
|
buckets: t,
|
|
14274
14281
|
selectedEntryId: n,
|
|
14275
14282
|
onEntrySelect: r,
|
|
@@ -14277,7 +14284,7 @@ var F_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
14277
14284
|
});
|
|
14278
14285
|
default: return e;
|
|
14279
14286
|
}
|
|
14280
|
-
},
|
|
14287
|
+
}, L_ = ({ entries: e, selectedEntryId: t, onSelect: n, onDeselect: r, renderEntry: i, formatDate: a }) => {
|
|
14281
14288
|
let s = e.find((e) => e.id === t) ?? null, l = p(null), u = p(null), d = p(t);
|
|
14282
14289
|
c(() => {
|
|
14283
14290
|
let e = d.current;
|
|
@@ -14356,7 +14363,7 @@ var F_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
14356
14363
|
}), /* @__PURE__ */ x("div", {
|
|
14357
14364
|
className: "eidotter-timeline-md__detail-body",
|
|
14358
14365
|
children: ((e) => {
|
|
14359
|
-
let t = () => /* @__PURE__ */ x(
|
|
14366
|
+
let t = () => /* @__PURE__ */ x(T_, {
|
|
14360
14367
|
entry: e,
|
|
14361
14368
|
isSelected: !0,
|
|
14362
14369
|
isExpanded: !0
|
|
@@ -14375,10 +14382,10 @@ var F_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
14375
14382
|
})]
|
|
14376
14383
|
});
|
|
14377
14384
|
};
|
|
14378
|
-
|
|
14385
|
+
L_.displayName = "MasterDetailLayout";
|
|
14379
14386
|
//#endregion
|
|
14380
14387
|
//#region src/components/TimelineContainer/components/TimelineContainer.tsx
|
|
14381
|
-
var
|
|
14388
|
+
var R_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: a, defaultSelectedEntryId: s, onSelectEntry: l, sortOrder: u = "desc", scrollToZoom: f = !0, keyboardShortcuts: h = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
|
|
14382
14389
|
let b = t === "static", C = t === "feed", w = b || C, T = t === "master-detail", E = p(null), D = p(null), [O, k] = m(""), { zoomLevel: A, canZoomIn: j, canZoomOut: M, breadcrumbs: N, currentPeriod: P, isDrillDownEnabled: F, drillDown: I, drillUp: L, reset: ee } = Lg({
|
|
14383
14390
|
zoomLevel: n,
|
|
14384
14391
|
defaultZoomLevel: r,
|
|
@@ -14534,7 +14541,7 @@ var L_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14534
14541
|
role: "list",
|
|
14535
14542
|
"aria-label": "Timeline",
|
|
14536
14543
|
children: U.map((e) => {
|
|
14537
|
-
let t = () => /* @__PURE__ */ x(
|
|
14544
|
+
let t = () => /* @__PURE__ */ x(T_, {
|
|
14538
14545
|
entry: e,
|
|
14539
14546
|
isSelected: !1,
|
|
14540
14547
|
isExpanded: !0
|
|
@@ -14563,7 +14570,7 @@ var L_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14563
14570
|
role: "list",
|
|
14564
14571
|
"aria-label": "Timeline",
|
|
14565
14572
|
children: le.map((e) => {
|
|
14566
|
-
let t = R === e.id, n = () => /* @__PURE__ */ x(
|
|
14573
|
+
let t = R === e.id, n = () => /* @__PURE__ */ x(T_, {
|
|
14567
14574
|
entry: e,
|
|
14568
14575
|
isSelected: t,
|
|
14569
14576
|
isExpanded: t,
|
|
@@ -14594,7 +14601,7 @@ var L_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14594
14601
|
onClick: de,
|
|
14595
14602
|
"aria-label": `Load more entries (showing ${ce} of ${U.length})`,
|
|
14596
14603
|
children: "LOAD MORE..."
|
|
14597
|
-
})] }) : T ? /* @__PURE__ */ x(
|
|
14604
|
+
})] }) : T ? /* @__PURE__ */ x(L_, {
|
|
14598
14605
|
entries: U,
|
|
14599
14606
|
selectedEntryId: R,
|
|
14600
14607
|
onSelect: te,
|
|
@@ -14609,7 +14616,7 @@ var L_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14609
14616
|
N[N.length - 1]?.label ?? "this period",
|
|
14610
14617
|
"."
|
|
14611
14618
|
] }), /* @__PURE__ */ x("p", { children: "_" })]
|
|
14612
|
-
}) }) : /* @__PURE__ */ x(p_, { children: /* @__PURE__ */ x(
|
|
14619
|
+
}) }) : /* @__PURE__ */ x(p_, { children: /* @__PURE__ */ x(I_, {
|
|
14613
14620
|
zoomLevel: A,
|
|
14614
14621
|
buckets: V,
|
|
14615
14622
|
selectedEntryId: R,
|
|
@@ -14620,15 +14627,15 @@ var L_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14620
14627
|
})
|
|
14621
14628
|
]
|
|
14622
14629
|
});
|
|
14623
|
-
},
|
|
14630
|
+
}, z_ = {
|
|
14624
14631
|
milestone: "milestone",
|
|
14625
14632
|
project: "project",
|
|
14626
14633
|
event: "event"
|
|
14627
|
-
},
|
|
14628
|
-
function
|
|
14634
|
+
}, B_ = (e) => e.tags?.[0];
|
|
14635
|
+
function V_(e) {
|
|
14629
14636
|
return e.kind === "article" ? e.href : void 0;
|
|
14630
14637
|
}
|
|
14631
|
-
function
|
|
14638
|
+
function H_({ entries: e, categories: t, categoryOf: n = B_, activeCategory: r, defaultCategory: i = null, onCategoryChange: a, linkComponent: o, className: s, ...c }) {
|
|
14632
14639
|
let l = o ?? "a", u = r !== void 0, [f, p] = m(i), h = u ? r : f, g = (e) => {
|
|
14633
14640
|
u || p(e), a?.(e);
|
|
14634
14641
|
}, _ = d(() => {
|
|
@@ -14685,7 +14692,7 @@ function V_({ entries: e, categories: t, categoryOf: n = z_, activeCategory: r,
|
|
|
14685
14692
|
className: "eidotter-feed__list",
|
|
14686
14693
|
"aria-label": c["aria-label"] ?? "Timeline feed",
|
|
14687
14694
|
children: b.map((e) => {
|
|
14688
|
-
let t = n(e), r = t ? _.get(t) : void 0, i =
|
|
14695
|
+
let t = n(e), r = t ? _.get(t) : void 0, i = V_(e), a = i && Cg(i) ? i : void 0, o = e.type ? z_[e.type] : void 0;
|
|
14689
14696
|
return /* @__PURE__ */ S("li", {
|
|
14690
14697
|
className: "eidotter-feed__row",
|
|
14691
14698
|
children: [
|
|
@@ -14719,20 +14726,20 @@ function V_({ entries: e, categories: t, categoryOf: n = z_, activeCategory: r,
|
|
|
14719
14726
|
}
|
|
14720
14727
|
//#endregion
|
|
14721
14728
|
//#region src/components/TimelinePage/components/TimelinePage.tsx
|
|
14722
|
-
var
|
|
14723
|
-
function
|
|
14729
|
+
var U_ = (e) => e.tags?.[0], W_ = (e) => e.kind === "article" ? e.summary : void 0;
|
|
14730
|
+
function G_(e) {
|
|
14724
14731
|
if (e.kind === "image") return e.image;
|
|
14725
14732
|
if (e.kind === "gallery") return e.images[0];
|
|
14726
14733
|
if (e.kind === "article") return e.images?.[0];
|
|
14727
14734
|
}
|
|
14728
|
-
function
|
|
14735
|
+
function K_(e) {
|
|
14729
14736
|
return e.kind === "article" ? e.href : void 0;
|
|
14730
14737
|
}
|
|
14731
|
-
function
|
|
14738
|
+
function q_(e) {
|
|
14732
14739
|
let t = new Date(e).getFullYear();
|
|
14733
14740
|
return Number.isNaN(t) ? e.slice(0, 4) : String(t);
|
|
14734
14741
|
}
|
|
14735
|
-
function
|
|
14742
|
+
function J_({ entries: e, categories: t, categoryOf: n = U_, descriptionOf: r = W_, activeCategory: i, defaultCategory: a = null, onCategoryChange: o, brand: s, preview: c = !0, linkComponent: l, className: u, ...f }) {
|
|
14736
14743
|
let p = l ?? "a", h = i !== void 0, [g, _] = m(a), v = h ? i : g, y = (e) => {
|
|
14737
14744
|
h || _(e), o?.(e);
|
|
14738
14745
|
}, b = d(() => new Intl.DateTimeFormat("en-US", {
|
|
@@ -14751,14 +14758,14 @@ function q_({ entries: e, categories: t, categoryOf: n = H_, descriptionOf: r =
|
|
|
14751
14758
|
]), T = d(() => {
|
|
14752
14759
|
let e = /* @__PURE__ */ new Map();
|
|
14753
14760
|
for (let t of w) {
|
|
14754
|
-
let n =
|
|
14761
|
+
let n = q_(t.date), r = e.get(n);
|
|
14755
14762
|
r ? r.push(t) : e.set(n, [t]);
|
|
14756
14763
|
}
|
|
14757
14764
|
return Array.from(e.entries()).map(([e, t]) => ({
|
|
14758
14765
|
year: e,
|
|
14759
14766
|
entries: [...t].sort((e, t) => t.date.localeCompare(e.date))
|
|
14760
14767
|
})).sort((e, t) => t.year.localeCompare(e.year));
|
|
14761
|
-
}, [w]), [E, D] = m(null), O = d(() => w.find((e) => e.id === E) ?? w[0], [w, E]), k = O ?
|
|
14768
|
+
}, [w]), [E, D] = m(null), O = d(() => w.find((e) => e.id === E) ?? w[0], [w, E]), k = O ? G_(O) : void 0;
|
|
14762
14769
|
return /* @__PURE__ */ S("section", {
|
|
14763
14770
|
className: $("eidotter-blog font-dos", u),
|
|
14764
14771
|
...f,
|
|
@@ -14812,7 +14819,7 @@ function q_({ entries: e, categories: t, categoryOf: n = H_, descriptionOf: r =
|
|
|
14812
14819
|
}), /* @__PURE__ */ x("ol", {
|
|
14813
14820
|
className: "eidotter-blog__entries",
|
|
14814
14821
|
children: e.entries.map((e) => {
|
|
14815
|
-
let t =
|
|
14822
|
+
let t = K_(e), n = t && Cg(t) ? t : void 0, i = r(e), a = () => D(e.id);
|
|
14816
14823
|
return /* @__PURE__ */ S("li", {
|
|
14817
14824
|
className: $("eidotter-blog__entry", O?.id === e.id && "eidotter-blog__entry--focused"),
|
|
14818
14825
|
onMouseEnter: a,
|
|
@@ -14874,7 +14881,7 @@ function q_({ entries: e, categories: t, categoryOf: n = H_, descriptionOf: r =
|
|
|
14874
14881
|
}
|
|
14875
14882
|
//#endregion
|
|
14876
14883
|
//#region src/components/Modal/components/Modal.tsx
|
|
14877
|
-
var
|
|
14884
|
+
var Y_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, size: o = "md", isDismissable: s = !0, className: l }, u) => {
|
|
14878
14885
|
let d = p(e), f = p(!1);
|
|
14879
14886
|
c(() => {
|
|
14880
14887
|
e !== d.current && (d.current = e, f.current || (t?.(e), e || n?.()), f.current = !1);
|
|
@@ -14886,7 +14893,7 @@ var J_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
14886
14893
|
let m = (e) => {
|
|
14887
14894
|
f.current = !0, t?.(e), e || n?.();
|
|
14888
14895
|
};
|
|
14889
|
-
return /* @__PURE__ */ x(
|
|
14896
|
+
return /* @__PURE__ */ x(__, {
|
|
14890
14897
|
ref: u,
|
|
14891
14898
|
open: e,
|
|
14892
14899
|
onOpenChange: m,
|
|
@@ -14913,44 +14920,42 @@ var J_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
14913
14920
|
})
|
|
14914
14921
|
});
|
|
14915
14922
|
});
|
|
14916
|
-
|
|
14923
|
+
Y_.displayName = "Modal";
|
|
14917
14924
|
//#endregion
|
|
14918
14925
|
//#region src/hooks/useTextScramble.ts
|
|
14919
|
-
var
|
|
14920
|
-
function
|
|
14921
|
-
let
|
|
14922
|
-
|
|
14923
|
-
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
}), [
|
|
14927
|
-
return
|
|
14926
|
+
var X_ = "░▒▓█│┤┐└┴┬├─┼", Z_ = 4, Q_ = typeof window < "u" ? u : c;
|
|
14927
|
+
function $_(e, t, n) {
|
|
14928
|
+
let r = "";
|
|
14929
|
+
for (let i = 0; i < e.length; i++) i < n || e[i] === " " ? r += e[i] : r += t[Math.floor(Math.random() * t.length)];
|
|
14930
|
+
return r;
|
|
14931
|
+
}
|
|
14932
|
+
function ev(e, t) {
|
|
14933
|
+
let { speed: n = 40, characters: r = X_, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, s] = m(e), [c, l] = m(!1), u = p(0);
|
|
14934
|
+
return Q_(() => {
|
|
14928
14935
|
if (!i || om()) {
|
|
14929
|
-
s(e),
|
|
14936
|
+
s(e), l(!1);
|
|
14930
14937
|
return;
|
|
14931
14938
|
}
|
|
14932
|
-
let t = 0, o = 0, c = 0,
|
|
14933
|
-
|
|
14939
|
+
let t = 0, o = 0, c = 0, d = a;
|
|
14940
|
+
s($_(e, r, 0)), l(!0);
|
|
14934
14941
|
let f = (i) => {
|
|
14935
14942
|
c ||= i;
|
|
14936
14943
|
let a = i - c;
|
|
14937
|
-
if (
|
|
14938
|
-
|
|
14944
|
+
if (d > 0) {
|
|
14945
|
+
d -= a, c = i, u.current = requestAnimationFrame(f);
|
|
14939
14946
|
return;
|
|
14940
14947
|
}
|
|
14941
14948
|
if (a >= n) {
|
|
14942
|
-
if (c = i, o++, o >=
|
|
14943
|
-
s(e),
|
|
14949
|
+
if (c = i, o++, o >= Z_ && (t++, o = 0), t >= e.length) {
|
|
14950
|
+
s(e), l(!1);
|
|
14944
14951
|
return;
|
|
14945
14952
|
}
|
|
14946
|
-
|
|
14947
|
-
for (let i = 0; i < e.length; i++) i < t ? n += e[i] : e[i] === " " ? n += " " : n += r[Math.floor(Math.random() * r.length)];
|
|
14948
|
-
s(n);
|
|
14953
|
+
s($_(e, r, t));
|
|
14949
14954
|
}
|
|
14950
|
-
|
|
14955
|
+
u.current = requestAnimationFrame(f);
|
|
14951
14956
|
};
|
|
14952
|
-
return
|
|
14953
|
-
|
|
14957
|
+
return u.current = requestAnimationFrame(f), () => {
|
|
14958
|
+
u.current && cancelAnimationFrame(u.current);
|
|
14954
14959
|
};
|
|
14955
14960
|
}, [
|
|
14956
14961
|
e,
|
|
@@ -14960,12 +14965,12 @@ function Z_(e, t) {
|
|
|
14960
14965
|
a
|
|
14961
14966
|
]), {
|
|
14962
14967
|
text: o,
|
|
14963
|
-
isScrambling:
|
|
14968
|
+
isScrambling: c
|
|
14964
14969
|
};
|
|
14965
14970
|
}
|
|
14966
14971
|
//#endregion
|
|
14967
14972
|
//#region src/components/Stat/components/Stat.tsx
|
|
14968
|
-
var
|
|
14973
|
+
var tv = {
|
|
14969
14974
|
sm: {
|
|
14970
14975
|
root: "gap-0.5",
|
|
14971
14976
|
label: "text-dos-text-xs",
|
|
@@ -15002,23 +15007,23 @@ var Q_ = {
|
|
|
15002
15007
|
value: "text-dos-display-md",
|
|
15003
15008
|
trend: "text-dos-text-md"
|
|
15004
15009
|
}
|
|
15005
|
-
},
|
|
15010
|
+
}, nv = {
|
|
15006
15011
|
up: "text-dos-text-success",
|
|
15007
15012
|
down: "text-dos-text-error",
|
|
15008
15013
|
neutral: "text-dos-text-brand"
|
|
15009
|
-
},
|
|
15014
|
+
}, rv = {
|
|
15010
15015
|
up: "▲",
|
|
15011
15016
|
down: "▼",
|
|
15012
15017
|
neutral: "►"
|
|
15013
|
-
},
|
|
15018
|
+
}, iv = {
|
|
15014
15019
|
up: "increasing",
|
|
15015
15020
|
down: "decreasing",
|
|
15016
15021
|
neutral: "unchanged"
|
|
15017
|
-
},
|
|
15018
|
-
let { text: f } =
|
|
15022
|
+
}, av = i(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, unit: o, note: s, target: c, className: l, ...u }, d) => {
|
|
15023
|
+
let { text: f } = ev(String(t), {
|
|
15019
15024
|
speed: 30,
|
|
15020
15025
|
enabled: a
|
|
15021
|
-
}), p = a ? f : String(t), m =
|
|
15026
|
+
}), p = a ? f : String(t), m = tv[i] || tv.md;
|
|
15022
15027
|
return /* @__PURE__ */ S("div", {
|
|
15023
15028
|
ref: d,
|
|
15024
15029
|
className: $("flex flex-col font-dos", "eidotter-stat", m.root, l),
|
|
@@ -15044,12 +15049,12 @@ var Q_ = {
|
|
|
15044
15049
|
children: c
|
|
15045
15050
|
}),
|
|
15046
15051
|
n && /* @__PURE__ */ S("span", {
|
|
15047
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
15048
|
-
"aria-label": `Trend: ${
|
|
15052
|
+
className: $("inline-flex items-center gap-1 leading-none", nv[n], m.trend),
|
|
15053
|
+
"aria-label": `Trend: ${iv[n]}${r ? `, ${r}` : ""}`,
|
|
15049
15054
|
children: [/* @__PURE__ */ x("span", {
|
|
15050
15055
|
className: "text-[0.8em]",
|
|
15051
15056
|
"aria-hidden": "true",
|
|
15052
|
-
children:
|
|
15057
|
+
children: rv[n]
|
|
15053
15058
|
}), r && /* @__PURE__ */ x("span", {
|
|
15054
15059
|
className: "tabular-nums",
|
|
15055
15060
|
children: r
|
|
@@ -15058,17 +15063,17 @@ var Q_ = {
|
|
|
15058
15063
|
]
|
|
15059
15064
|
});
|
|
15060
15065
|
});
|
|
15061
|
-
|
|
15066
|
+
av.displayName = "Stat";
|
|
15062
15067
|
//#endregion
|
|
15063
15068
|
//#region src/components/FilterBar/components/FilterBar.tsx
|
|
15064
|
-
var
|
|
15069
|
+
var ov = {
|
|
15065
15070
|
sm: "eidotter-filter-bar--sm",
|
|
15066
15071
|
md: "eidotter-filter-bar--md",
|
|
15067
15072
|
lg: "eidotter-filter-bar--lg",
|
|
15068
15073
|
small: "eidotter-filter-bar--sm",
|
|
15069
15074
|
medium: "eidotter-filter-bar--md",
|
|
15070
15075
|
large: "eidotter-filter-bar--lg"
|
|
15071
|
-
},
|
|
15076
|
+
}, sv = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: a = "All", size: s = "md", onChange: c, className: l, ...u }) => {
|
|
15072
15077
|
let [d, f] = m(n), h = p(null), g = t !== void 0, _ = g ? t : d, v = e.filter((e) => !e.disabled).map((e) => e.id), y = _.length === 0, b = o((e) => {
|
|
15073
15078
|
g || f(e), c?.(e);
|
|
15074
15079
|
}, [g, c]), C = o((e) => {
|
|
@@ -15109,7 +15114,7 @@ var rv = {
|
|
|
15109
15114
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
15110
15115
|
return /* @__PURE__ */ S("div", {
|
|
15111
15116
|
ref: h,
|
|
15112
|
-
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",
|
|
15117
|
+
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", ov[s] || ov.md, l),
|
|
15113
15118
|
role: "toolbar",
|
|
15114
15119
|
onKeyDown: E,
|
|
15115
15120
|
...u,
|
|
@@ -15142,7 +15147,7 @@ var rv = {
|
|
|
15142
15147
|
}, e.id);
|
|
15143
15148
|
})]
|
|
15144
15149
|
});
|
|
15145
|
-
},
|
|
15150
|
+
}, cv = (e) => {
|
|
15146
15151
|
if (!e) return !1;
|
|
15147
15152
|
try {
|
|
15148
15153
|
let t = new URL(e);
|
|
@@ -15157,7 +15162,7 @@ var rv = {
|
|
|
15157
15162
|
};
|
|
15158
15163
|
//#endregion
|
|
15159
15164
|
//#region src/components/InlineExpand/components/InlineExpand.tsx
|
|
15160
|
-
function
|
|
15165
|
+
function lv(e) {
|
|
15161
15166
|
try {
|
|
15162
15167
|
let { hostname: t } = new URL(e);
|
|
15163
15168
|
return `https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`;
|
|
@@ -15165,7 +15170,7 @@ function ov(e) {
|
|
|
15165
15170
|
return null;
|
|
15166
15171
|
}
|
|
15167
15172
|
}
|
|
15168
|
-
var
|
|
15173
|
+
var uv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
15169
15174
|
let [c, u] = m(n), [d, f] = m({}), h = l(), g = p(null), _ = r !== void 0, v = _ ? r : c, y = () => {
|
|
15170
15175
|
let e = !v;
|
|
15171
15176
|
_ || u(e), i?.(e);
|
|
@@ -15211,7 +15216,7 @@ var sv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15211
15216
|
className: "eidotter-inline-expand__source-item",
|
|
15212
15217
|
role: "listitem",
|
|
15213
15218
|
children: /* @__PURE__ */ x("a", {
|
|
15214
|
-
href:
|
|
15219
|
+
href: cv(e.url) ? e.url : void 0,
|
|
15215
15220
|
className: "eidotter-inline-expand__source-link",
|
|
15216
15221
|
target: "_blank",
|
|
15217
15222
|
rel: "noopener noreferrer",
|
|
@@ -15224,7 +15229,7 @@ var sv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15224
15229
|
"aria-hidden": "true",
|
|
15225
15230
|
children: "[→]"
|
|
15226
15231
|
});
|
|
15227
|
-
let n = !!e.favicon &&
|
|
15232
|
+
let n = !!e.favicon && cv(e.favicon);
|
|
15228
15233
|
if (!t && n) return /* @__PURE__ */ x("img", {
|
|
15229
15234
|
className: "eidotter-inline-expand__source-favicon",
|
|
15230
15235
|
src: e.favicon,
|
|
@@ -15237,7 +15242,7 @@ var sv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15237
15242
|
[e.url]: "google"
|
|
15238
15243
|
}))
|
|
15239
15244
|
});
|
|
15240
|
-
let r =
|
|
15245
|
+
let r = lv(e.url);
|
|
15241
15246
|
return r ? /* @__PURE__ */ x("img", {
|
|
15242
15247
|
className: "eidotter-inline-expand__source-favicon",
|
|
15243
15248
|
src: r,
|
|
@@ -15261,34 +15266,34 @@ var sv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15261
15266
|
]
|
|
15262
15267
|
})] })]
|
|
15263
15268
|
});
|
|
15264
|
-
},
|
|
15269
|
+
}, dv = {
|
|
15265
15270
|
horizontal: "h-px w-full",
|
|
15266
15271
|
vertical: "w-px h-full"
|
|
15267
|
-
},
|
|
15272
|
+
}, fv = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ x("div", {
|
|
15268
15273
|
role: "separator",
|
|
15269
15274
|
"aria-orientation": e,
|
|
15270
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
15271
|
-
}),
|
|
15275
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", dv[e], t)
|
|
15276
|
+
}), pv = {
|
|
15272
15277
|
default: "text-dos-text-primary",
|
|
15273
15278
|
error: "text-dos-error",
|
|
15274
15279
|
warning: "text-dos-warning",
|
|
15275
15280
|
info: "text-dos-info"
|
|
15276
|
-
},
|
|
15277
|
-
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm",
|
|
15281
|
+
}, mv = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ S("h3", {
|
|
15282
|
+
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm", pv[n], i),
|
|
15278
15283
|
children: [
|
|
15279
15284
|
e,
|
|
15280
15285
|
t !== void 0 && ` (${t})`,
|
|
15281
15286
|
r
|
|
15282
15287
|
]
|
|
15283
15288
|
});
|
|
15284
|
-
|
|
15289
|
+
mv.displayName = "SectionHeading";
|
|
15285
15290
|
//#endregion
|
|
15286
15291
|
//#region src/components/ChecklistRow/components/ChecklistRow.tsx
|
|
15287
|
-
var
|
|
15292
|
+
var hv = {
|
|
15288
15293
|
default: "text-dos-text-primary",
|
|
15289
15294
|
muted: "text-dos-text-muted line-through",
|
|
15290
15295
|
error: "text-dos-error"
|
|
15291
|
-
},
|
|
15296
|
+
}, gv = ({ checked: e, onToggle: t, disabled: n, pending: r, ariaLabel: i, labelTone: a = "default", label: o, children: s, note: c, leading: l, trailing: u, className: d }) => /* @__PURE__ */ S("div", {
|
|
15292
15297
|
className: $("eidotter-checklist-row", "flex items-start gap-3 py-2 border-b border-dos-border-disabled", r && "opacity-50", d),
|
|
15293
15298
|
children: [
|
|
15294
15299
|
/* @__PURE__ */ x("button", {
|
|
@@ -15309,7 +15314,7 @@ var fv = {
|
|
|
15309
15314
|
children: l
|
|
15310
15315
|
}),
|
|
15311
15316
|
o !== void 0 && /* @__PURE__ */ x("div", {
|
|
15312
|
-
className: $("font-dos text-dos-text-sm",
|
|
15317
|
+
className: $("font-dos text-dos-text-sm", hv[a]),
|
|
15313
15318
|
children: o
|
|
15314
15319
|
}),
|
|
15315
15320
|
s,
|
|
@@ -15325,10 +15330,10 @@ var fv = {
|
|
|
15325
15330
|
})
|
|
15326
15331
|
]
|
|
15327
15332
|
});
|
|
15328
|
-
|
|
15333
|
+
gv.displayName = "ChecklistRow";
|
|
15329
15334
|
//#endregion
|
|
15330
15335
|
//#region src/components/CopyButton/components/CopyButton.tsx
|
|
15331
|
-
var
|
|
15336
|
+
var _v = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
|
|
15332
15337
|
let [s, c] = m(!1), l = p(null), u = o(() => {
|
|
15333
15338
|
c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => c(!1), 1500);
|
|
15334
15339
|
}, []), d = o(() => {
|
|
@@ -15358,22 +15363,22 @@ var mv = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Co
|
|
|
15358
15363
|
children: s ? n : t
|
|
15359
15364
|
});
|
|
15360
15365
|
};
|
|
15361
|
-
|
|
15366
|
+
_v.displayName = "CopyButton";
|
|
15362
15367
|
//#endregion
|
|
15363
15368
|
//#region src/components/Select/components/Select.tsx
|
|
15364
|
-
var
|
|
15369
|
+
var vv = {
|
|
15365
15370
|
sm: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-2",
|
|
15366
15371
|
md: "text-dos-text-md px-3 py-2 min-h-8 gap-2",
|
|
15367
15372
|
lg: "text-dos-text-lg px-4 py-2.5 min-h-10 gap-2"
|
|
15368
|
-
},
|
|
15373
|
+
}, yv = (e = "md") => ({
|
|
15369
15374
|
small: "sm",
|
|
15370
15375
|
medium: "md",
|
|
15371
15376
|
large: "lg"
|
|
15372
|
-
})[e] ?? e,
|
|
15373
|
-
let g = a === "error", _ = s !== void 0, v =
|
|
15377
|
+
})[e] ?? e, bv = "eidotter-select__label text-dos-text-brand font-dos text-dos-text-xs uppercase tracking-wider", xv = "eidotter-select__description text-dos-text-muted font-dos text-dos-text-xs", Sv = "eidotter-select__error text-dos-text-error font-dos text-dos-text-xs", Cv = "eidotter-select__trigger flex items-center w-full bg-transparent text-dos-text-brand font-dos border-2 border-dos-border-default outline-none box-border", wv = "eidotter-select__option font-dos", Tv = "NO MATCHES", Ev = (e) => e == null || e === "" ? null : e, Dv = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, "aria-label": h }) => {
|
|
15378
|
+
let g = a === "error", _ = s !== void 0, v = yv(o);
|
|
15374
15379
|
return /* @__PURE__ */ S(Vd, {
|
|
15375
15380
|
"aria-label": t ? void 0 : h,
|
|
15376
|
-
selectedKey: _ ?
|
|
15381
|
+
selectedKey: _ ? Ev(s) : void 0,
|
|
15377
15382
|
defaultSelectedKey: _ ? void 0 : c,
|
|
15378
15383
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15379
15384
|
isDisabled: u,
|
|
@@ -15384,12 +15389,12 @@ var hv = {
|
|
|
15384
15389
|
className: $("eidotter-select flex flex-col gap-1", m),
|
|
15385
15390
|
children: [
|
|
15386
15391
|
t && /* @__PURE__ */ x(ri, {
|
|
15387
|
-
className:
|
|
15392
|
+
className: bv,
|
|
15388
15393
|
children: t
|
|
15389
15394
|
}),
|
|
15390
15395
|
/* @__PURE__ */ S(pi, {
|
|
15391
15396
|
id: p,
|
|
15392
|
-
className: $(
|
|
15397
|
+
className: $(Cv, vv[v]),
|
|
15393
15398
|
children: [/* @__PURE__ */ x(Gd, { className: "eidotter-select__value flex-1 text-left truncate" }), /* @__PURE__ */ x("span", {
|
|
15394
15399
|
"aria-hidden": "true",
|
|
15395
15400
|
className: "eidotter-select__arrow",
|
|
@@ -15398,12 +15403,12 @@ var hv = {
|
|
|
15398
15403
|
}),
|
|
15399
15404
|
r && !g && /* @__PURE__ */ x(vi, {
|
|
15400
15405
|
slot: "description",
|
|
15401
|
-
className:
|
|
15406
|
+
className: xv,
|
|
15402
15407
|
children: r
|
|
15403
15408
|
}),
|
|
15404
15409
|
i && g && /* @__PURE__ */ x(vi, {
|
|
15405
15410
|
slot: "errorMessage",
|
|
15406
|
-
className:
|
|
15411
|
+
className: Sv,
|
|
15407
15412
|
children: i
|
|
15408
15413
|
}),
|
|
15409
15414
|
/* @__PURE__ */ x(Nl, {
|
|
@@ -15415,19 +15420,19 @@ var hv = {
|
|
|
15415
15420
|
id: e.value,
|
|
15416
15421
|
textValue: e.label,
|
|
15417
15422
|
isDisabled: e.disabled,
|
|
15418
|
-
className:
|
|
15423
|
+
className: wv,
|
|
15419
15424
|
children: e.label
|
|
15420
15425
|
})
|
|
15421
15426
|
})
|
|
15422
15427
|
})
|
|
15423
15428
|
]
|
|
15424
15429
|
});
|
|
15425
|
-
},
|
|
15426
|
-
let _ = a === "error", v = s !== void 0, y =
|
|
15430
|
+
}, Ov = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, emptyMessage: h = Tv, "aria-label": g }) => {
|
|
15431
|
+
let _ = a === "error", v = s !== void 0, y = yv(o);
|
|
15427
15432
|
return /* @__PURE__ */ S(gd, {
|
|
15428
15433
|
"aria-label": t ? void 0 : g,
|
|
15429
15434
|
defaultItems: e,
|
|
15430
|
-
selectedKey: v ?
|
|
15435
|
+
selectedKey: v ? Ev(s) : void 0,
|
|
15431
15436
|
defaultSelectedKey: v ? void 0 : c,
|
|
15432
15437
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15433
15438
|
isDisabled: u,
|
|
@@ -15439,11 +15444,11 @@ var hv = {
|
|
|
15439
15444
|
className: $("eidotter-select eidotter-select--searchable flex flex-col gap-1", m),
|
|
15440
15445
|
children: [
|
|
15441
15446
|
t && /* @__PURE__ */ x(ri, {
|
|
15442
|
-
className:
|
|
15447
|
+
className: bv,
|
|
15443
15448
|
children: t
|
|
15444
15449
|
}),
|
|
15445
15450
|
/* @__PURE__ */ S("div", {
|
|
15446
|
-
className: $(
|
|
15451
|
+
className: $(Cv, vv[y]),
|
|
15447
15452
|
children: [/* @__PURE__ */ x(fa, {
|
|
15448
15453
|
id: p,
|
|
15449
15454
|
placeholder: n,
|
|
@@ -15460,12 +15465,12 @@ var hv = {
|
|
|
15460
15465
|
}),
|
|
15461
15466
|
r && !_ && /* @__PURE__ */ x(vi, {
|
|
15462
15467
|
slot: "description",
|
|
15463
|
-
className:
|
|
15468
|
+
className: xv,
|
|
15464
15469
|
children: r
|
|
15465
15470
|
}),
|
|
15466
15471
|
i && _ && /* @__PURE__ */ x(vi, {
|
|
15467
15472
|
slot: "errorMessage",
|
|
15468
|
-
className:
|
|
15473
|
+
className: Sv,
|
|
15469
15474
|
children: i
|
|
15470
15475
|
}),
|
|
15471
15476
|
/* @__PURE__ */ x(Nl, {
|
|
@@ -15480,15 +15485,15 @@ var hv = {
|
|
|
15480
15485
|
id: e.value,
|
|
15481
15486
|
textValue: e.label,
|
|
15482
15487
|
isDisabled: e.disabled,
|
|
15483
|
-
className:
|
|
15488
|
+
className: wv,
|
|
15484
15489
|
children: e.label
|
|
15485
15490
|
})
|
|
15486
15491
|
})
|
|
15487
15492
|
})
|
|
15488
15493
|
]
|
|
15489
15494
|
});
|
|
15490
|
-
},
|
|
15491
|
-
let T = a === "error", E = s !== void 0, D =
|
|
15495
|
+
}, kv = ({ options: e, label: t, placeholder: n = "Select…", description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: u, disabled: f, name: h, id: g, className: _, searchable: v, searchPlaceholder: y = "FILTER…", emptyMessage: C = Tv, "aria-label": w }) => {
|
|
15496
|
+
let T = a === "error", E = s !== void 0, D = yv(o), O = p(null), [k, A] = m(!1), [j, M] = m(""), [N, P] = m(c ?? []), F = E ? s ?? [] : N, I = `${l()}-label`, L = d(() => new Set(E ? s ?? [] : N), [
|
|
15492
15497
|
E,
|
|
15493
15498
|
s,
|
|
15494
15499
|
N
|
|
@@ -15511,7 +15516,7 @@ var hv = {
|
|
|
15511
15516
|
children: [
|
|
15512
15517
|
t && /* @__PURE__ */ x("span", {
|
|
15513
15518
|
id: I,
|
|
15514
|
-
className:
|
|
15519
|
+
className: bv,
|
|
15515
15520
|
children: t
|
|
15516
15521
|
}),
|
|
15517
15522
|
/* @__PURE__ */ S(pi, {
|
|
@@ -15523,7 +15528,7 @@ var hv = {
|
|
|
15523
15528
|
"aria-haspopup": "listbox",
|
|
15524
15529
|
"aria-expanded": k,
|
|
15525
15530
|
onPress: () => z(!k),
|
|
15526
|
-
className: $(
|
|
15531
|
+
className: $(Cv, vv[D], T && "eidotter-select__trigger--error"),
|
|
15527
15532
|
children: [/* @__PURE__ */ x("span", {
|
|
15528
15533
|
className: $("eidotter-select__value flex-1 text-left truncate", F.length === 0 && "eidotter-select__value--placeholder text-dos-text-muted"),
|
|
15529
15534
|
children: B
|
|
@@ -15534,11 +15539,11 @@ var hv = {
|
|
|
15534
15539
|
})]
|
|
15535
15540
|
}),
|
|
15536
15541
|
r && !T && /* @__PURE__ */ x("span", {
|
|
15537
|
-
className:
|
|
15542
|
+
className: xv,
|
|
15538
15543
|
children: r
|
|
15539
15544
|
}),
|
|
15540
15545
|
i && T && /* @__PURE__ */ x("span", {
|
|
15541
|
-
className:
|
|
15546
|
+
className: Sv,
|
|
15542
15547
|
children: i
|
|
15543
15548
|
}),
|
|
15544
15549
|
h && F.map((e) => /* @__PURE__ */ x("input", {
|
|
@@ -15575,7 +15580,7 @@ var hv = {
|
|
|
15575
15580
|
id: e.value,
|
|
15576
15581
|
textValue: e.label,
|
|
15577
15582
|
isDisabled: e.disabled,
|
|
15578
|
-
className: $(
|
|
15583
|
+
className: $(wv, "eidotter-select__option--multi"),
|
|
15579
15584
|
children: ({ isSelected: t }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("span", {
|
|
15580
15585
|
"aria-hidden": "true",
|
|
15581
15586
|
className: "eidotter-select__check",
|
|
@@ -15589,11 +15594,11 @@ var hv = {
|
|
|
15589
15594
|
})
|
|
15590
15595
|
]
|
|
15591
15596
|
});
|
|
15592
|
-
},
|
|
15593
|
-
|
|
15597
|
+
}, Av = (e) => e.multiple ? /* @__PURE__ */ x(kv, { ...e }) : e.searchable ? /* @__PURE__ */ x(Ov, { ...e }) : /* @__PURE__ */ x(Dv, { ...e });
|
|
15598
|
+
Av.displayName = "Select";
|
|
15594
15599
|
//#endregion
|
|
15595
15600
|
//#region src/components/LedgerRow/components/LedgerRow.tsx
|
|
15596
|
-
var
|
|
15601
|
+
var jv = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ S("div", {
|
|
15597
15602
|
className: $("eidotter-ledger-row", "flex items-center gap-3 py-2 border-b border-dos-border-disabled", a && "opacity-50", o),
|
|
15598
15603
|
children: [/* @__PURE__ */ S("div", {
|
|
15599
15604
|
className: "flex-1 min-w-0",
|
|
@@ -15611,15 +15616,15 @@ var Ov = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a,
|
|
|
15611
15616
|
className: "font-dos text-dos-text-sm text-dos-text-accent tabular-nums",
|
|
15612
15617
|
children: n
|
|
15613
15618
|
}),
|
|
15614
|
-
r !== void 0 && /* @__PURE__ */ x(
|
|
15619
|
+
r !== void 0 && /* @__PURE__ */ x(_v, { value: r }),
|
|
15615
15620
|
i
|
|
15616
15621
|
]
|
|
15617
15622
|
})]
|
|
15618
15623
|
});
|
|
15619
|
-
|
|
15624
|
+
jv.displayName = "LedgerRow";
|
|
15620
15625
|
//#endregion
|
|
15621
15626
|
//#region src/components/LabeledProgress/components/LabeledProgress.tsx
|
|
15622
|
-
var
|
|
15627
|
+
var Mv = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
|
|
15623
15628
|
let s = n === 0 ? 0 : Math.min(100, Math.max(0, Math.round(t / n * 100)));
|
|
15624
15629
|
return /* @__PURE__ */ S("div", {
|
|
15625
15630
|
className: $("eidotter-labeled-progress", "flex items-center gap-3", a),
|
|
@@ -15647,11 +15652,11 @@ var kv = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i
|
|
|
15647
15652
|
]
|
|
15648
15653
|
});
|
|
15649
15654
|
};
|
|
15650
|
-
|
|
15655
|
+
Mv.displayName = "LabeledProgress";
|
|
15651
15656
|
//#endregion
|
|
15652
15657
|
//#region src/components/TextScramble/components/TextScramble.tsx
|
|
15653
|
-
var
|
|
15654
|
-
let { text: s, isScrambling: c } =
|
|
15658
|
+
var Nv = i(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
|
|
15659
|
+
let { text: s, isScrambling: c } = ev(e, {
|
|
15655
15660
|
speed: t,
|
|
15656
15661
|
characters: n,
|
|
15657
15662
|
delay: r
|
|
@@ -15663,16 +15668,16 @@ var Av = i(({ children: e, speed: t, characters: n, delay: r, className: i, ...a
|
|
|
15663
15668
|
children: s
|
|
15664
15669
|
});
|
|
15665
15670
|
});
|
|
15666
|
-
|
|
15671
|
+
Nv.displayName = "TextScramble";
|
|
15667
15672
|
//#endregion
|
|
15668
15673
|
//#region src/components/Nav/components/Nav.tsx
|
|
15669
|
-
var
|
|
15674
|
+
var Pv = {
|
|
15670
15675
|
retro: "eidotter-nav--retro",
|
|
15671
15676
|
modern: "eidotter-nav--modern"
|
|
15672
|
-
},
|
|
15677
|
+
}, Fv = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
15673
15678
|
let a = r || "a";
|
|
15674
15679
|
return /* @__PURE__ */ x("nav", {
|
|
15675
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
15680
|
+
className: $("eidotter-nav eidotter-nav--desktop", Pv[n], i),
|
|
15676
15681
|
"aria-label": "Main navigation",
|
|
15677
15682
|
children: /* @__PURE__ */ x("ul", {
|
|
15678
15683
|
className: "eidotter-nav__desktop-list",
|
|
@@ -15693,7 +15698,7 @@ var jv = {
|
|
|
15693
15698
|
})
|
|
15694
15699
|
})
|
|
15695
15700
|
});
|
|
15696
|
-
},
|
|
15701
|
+
}, Iv = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
15697
15702
|
let [a, s] = m(!1), l = r || "a", u = p(null), d = p(null), f = p(null), h = p(!1), g = o(() => s((e) => !e), []), _ = o(() => s(!1), []);
|
|
15698
15703
|
return c(() => {
|
|
15699
15704
|
if (!a) return;
|
|
@@ -15704,7 +15709,7 @@ var jv = {
|
|
|
15704
15709
|
}, [a, _]), c(() => {
|
|
15705
15710
|
a ? d.current?.focus() : h.current && u.current?.focus(), h.current = a;
|
|
15706
15711
|
}, [a]), /* @__PURE__ */ S("div", {
|
|
15707
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
15712
|
+
className: $("eidotter-nav eidotter-nav--mobile", Pv[n], i),
|
|
15708
15713
|
children: [
|
|
15709
15714
|
/* @__PURE__ */ x("button", {
|
|
15710
15715
|
ref: u,
|
|
@@ -15764,14 +15769,14 @@ var jv = {
|
|
|
15764
15769
|
})
|
|
15765
15770
|
]
|
|
15766
15771
|
});
|
|
15767
|
-
},
|
|
15772
|
+
}, Lv = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(Iv, { ...e }), /* @__PURE__ */ x(Fv, { ...e })] }), Rv = {
|
|
15768
15773
|
user: "eidotter-chat-message--user",
|
|
15769
15774
|
assistant: "eidotter-chat-message--assistant",
|
|
15770
15775
|
system: "eidotter-chat-message--system"
|
|
15771
|
-
},
|
|
15776
|
+
}, zv = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
15772
15777
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
15773
15778
|
return /* @__PURE__ */ S("div", {
|
|
15774
|
-
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words",
|
|
15779
|
+
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", Rv[e], n && "eidotter-chat-message--streaming", a),
|
|
15775
15780
|
...o,
|
|
15776
15781
|
children: [
|
|
15777
15782
|
s && /* @__PURE__ */ x("span", {
|
|
@@ -15790,7 +15795,7 @@ var jv = {
|
|
|
15790
15795
|
})
|
|
15791
15796
|
]
|
|
15792
15797
|
});
|
|
15793
|
-
},
|
|
15798
|
+
}, Bv = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
15794
15799
|
let o = p(null);
|
|
15795
15800
|
c(() => {
|
|
15796
15801
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -15819,7 +15824,7 @@ var jv = {
|
|
|
15819
15824
|
className: "flex flex-col",
|
|
15820
15825
|
children: [e.map((i, a) => {
|
|
15821
15826
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
15822
|
-
return /* @__PURE__ */ x(
|
|
15827
|
+
return /* @__PURE__ */ x(zv, {
|
|
15823
15828
|
role: i.role,
|
|
15824
15829
|
content: i.content,
|
|
15825
15830
|
isStreaming: o,
|
|
@@ -15829,7 +15834,7 @@ var jv = {
|
|
|
15829
15834
|
}), /* @__PURE__ */ x("div", { ref: o })]
|
|
15830
15835
|
})
|
|
15831
15836
|
});
|
|
15832
|
-
},
|
|
15837
|
+
}, Vv = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
15833
15838
|
let [o, s] = m(""), c = p(null);
|
|
15834
15839
|
u(() => {
|
|
15835
15840
|
let e = c.current;
|
|
@@ -15871,30 +15876,30 @@ var jv = {
|
|
|
15871
15876
|
})]
|
|
15872
15877
|
})]
|
|
15873
15878
|
});
|
|
15874
|
-
},
|
|
15879
|
+
}, Hv = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ S("div", {
|
|
15875
15880
|
className: $("flex flex-col h-full min-h-0", c),
|
|
15876
15881
|
...l,
|
|
15877
|
-
children: [/* @__PURE__ */ x(
|
|
15882
|
+
children: [/* @__PURE__ */ x(Bv, {
|
|
15878
15883
|
className: "flex-1 min-h-0",
|
|
15879
15884
|
messages: e,
|
|
15880
15885
|
isStreaming: n,
|
|
15881
15886
|
userPrefix: i,
|
|
15882
15887
|
assistantPrefix: a
|
|
15883
|
-
}), /* @__PURE__ */ x(
|
|
15888
|
+
}), /* @__PURE__ */ x(Vv, {
|
|
15884
15889
|
className: "shrink-0",
|
|
15885
15890
|
onSend: t,
|
|
15886
15891
|
prompt: r,
|
|
15887
15892
|
placeholder: o,
|
|
15888
15893
|
disabled: s
|
|
15889
15894
|
})]
|
|
15890
|
-
}),
|
|
15895
|
+
}), Uv = [{
|
|
15891
15896
|
label: "Impressum",
|
|
15892
15897
|
href: "/impressum"
|
|
15893
15898
|
}, {
|
|
15894
15899
|
label: "Datenschutz",
|
|
15895
15900
|
href: "/datenschutz"
|
|
15896
|
-
}],
|
|
15897
|
-
let s = n ??
|
|
15901
|
+
}], Wv = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
|
|
15902
|
+
let s = n ?? Uv, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
|
|
15898
15903
|
return /* @__PURE__ */ S("footer", {
|
|
15899
15904
|
className: $("font-dos text-dos-text-base py-4 px-2 text-center", "eidotter-footer", a),
|
|
15900
15905
|
...o,
|
|
@@ -15938,9 +15943,9 @@ var jv = {
|
|
|
15938
15943
|
})
|
|
15939
15944
|
]
|
|
15940
15945
|
});
|
|
15941
|
-
},
|
|
15942
|
-
|
|
15943
|
-
var
|
|
15946
|
+
}, Gv = /* @__PURE__ */ "M20.375 9.0625H17.625V9.75H20.375V9.0625Z,M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z,M17.625 9.75H16.9375V10.4375H17.625V9.75Z,M22.4375 9.75H20.375V10.4375H22.4375V9.75Z,M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z,M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z,M14.1875 11.125H13.5V11.8125H14.1875V11.125Z,M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z,M13.5 11.8125H12.8125V12.5H13.5V11.8125Z,M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z,M12.8125 12.5H12.125V13.875H12.8125V12.5Z,M12.125 13.875H11.4375V15.9375H12.125V13.875Z,M11.4375 15.9375H10.75V18H11.4375V15.9375Z,M10.75 18H10.0625V19.375H10.75V18Z,M11.4375 19.375H10.75V20.75H11.4375V19.375Z,M12.125 20.75H11.4375V22.125H12.125V20.75Z,M12.8125 22.125H12.125V23.5H12.8125V22.125Z,M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z,M27.25 15.25H26.5625V17.3125H27.25V15.25Z,M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z,M27.25 19.375H26.5625V20.75H27.25V19.375Z,M26.5625 20.75H25.875V22.125H26.5625V20.75Z,M25.875 22.125H25.1875V23.5H25.875V22.125Z,M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z,M16.25 24.1875H14.1875V24.875H16.25V24.1875Z,M18.3125 24.875H16.25V25.5625H18.3125V24.875Z,M20.375 25.5625H18.3125V26.25H20.375V25.5625Z,M22.4375 24.875H20.375V25.5625H22.4375V24.875Z,M24.5 24.1875H22.4375V24.875H24.5V24.1875Z,M25.1875 23.5H24.5V24.1875H25.1875V23.5Z,M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z,M29.3125 16.625H28.625V17.3125H29.3125V16.625Z,M28.625 20.75H27.9375V21.4375H28.625V20.75Z,M10.75 21.4375H10.0625V22.125H10.75V21.4375Z".split(",");
|
|
15947
|
+
Gv.length - 4;
|
|
15948
|
+
var Kv = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z", qv = "M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z", Jv = "M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z", Yv = ["M16.25 15.25H15.5625V17.3125H16.25V15.25Z", "M18.3125 13.875H16.25V14.5625H18.3125V13.875Z"], Xv = "M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z", Zv = i(({ size: e = 32, title: t = "eiDotter", ...n }, r) => {
|
|
15944
15949
|
let i = l(), a = `eidotter-logo-halo-${i}`, o = `eidotter-logo-core-${i}`, s = `eidotter-logo-yolk-${i}`;
|
|
15945
15950
|
return /* @__PURE__ */ S("svg", {
|
|
15946
15951
|
ref: r,
|
|
@@ -16015,48 +16020,48 @@ var Uv = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7
|
|
|
16015
16020
|
})
|
|
16016
16021
|
] }),
|
|
16017
16022
|
/* @__PURE__ */ x("path", {
|
|
16018
|
-
d:
|
|
16023
|
+
d: Kv,
|
|
16019
16024
|
fill: `url(#${a})`
|
|
16020
16025
|
}),
|
|
16021
16026
|
/* @__PURE__ */ x("path", {
|
|
16022
|
-
d:
|
|
16027
|
+
d: qv,
|
|
16023
16028
|
fill: `url(#${o})`
|
|
16024
16029
|
}),
|
|
16025
|
-
|
|
16030
|
+
Gv.map((e) => /* @__PURE__ */ x("path", {
|
|
16026
16031
|
d: e,
|
|
16027
16032
|
fill: "#FFB000"
|
|
16028
16033
|
}, e)),
|
|
16029
16034
|
/* @__PURE__ */ x("path", {
|
|
16030
|
-
d:
|
|
16035
|
+
d: Jv,
|
|
16031
16036
|
fill: `url(#${s})`
|
|
16032
16037
|
}),
|
|
16033
|
-
|
|
16038
|
+
Yv.map((e) => /* @__PURE__ */ x("path", {
|
|
16034
16039
|
d: e,
|
|
16035
16040
|
fill: "#FFE8A8",
|
|
16036
16041
|
opacity: "0.8"
|
|
16037
16042
|
}, e)),
|
|
16038
16043
|
/* @__PURE__ */ x("path", {
|
|
16039
|
-
d:
|
|
16044
|
+
d: Xv,
|
|
16040
16045
|
fill: "#FFFFFF",
|
|
16041
16046
|
opacity: "0.9"
|
|
16042
16047
|
})
|
|
16043
16048
|
]
|
|
16044
16049
|
});
|
|
16045
16050
|
});
|
|
16046
|
-
|
|
16051
|
+
Zv.displayName = "LogoGeometry";
|
|
16047
16052
|
//#endregion
|
|
16048
16053
|
//#region src/components/Brand/components/Logo.tsx
|
|
16049
|
-
var
|
|
16054
|
+
var Qv = i(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ x(Zv, {
|
|
16050
16055
|
ref: a,
|
|
16051
16056
|
size: e,
|
|
16052
16057
|
title: n,
|
|
16053
16058
|
className: $("eidotter-logo", t && "eidotter-logo--glow", r),
|
|
16054
16059
|
...i
|
|
16055
16060
|
}));
|
|
16056
|
-
|
|
16061
|
+
Qv.displayName = "Logo";
|
|
16057
16062
|
//#endregion
|
|
16058
16063
|
//#region src/components/Brand/components/Wordmark.tsx
|
|
16059
|
-
var
|
|
16064
|
+
var $v = i(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ S("span", {
|
|
16060
16065
|
ref: r,
|
|
16061
16066
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
16062
16067
|
role: "img",
|
|
@@ -16072,29 +16077,29 @@ var Xv = i(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ S("span"
|
|
|
16072
16077
|
children: "Dotter"
|
|
16073
16078
|
})]
|
|
16074
16079
|
}));
|
|
16075
|
-
|
|
16080
|
+
$v.displayName = "Wordmark";
|
|
16076
16081
|
//#endregion
|
|
16077
16082
|
//#region src/components/Brand/components/BrandLockup.tsx
|
|
16078
|
-
var
|
|
16083
|
+
var ey = i(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ S("div", {
|
|
16079
16084
|
ref: o,
|
|
16080
16085
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
16081
16086
|
role: "img",
|
|
16082
16087
|
"aria-label": "eiDotter",
|
|
16083
16088
|
...a,
|
|
16084
|
-
children: [!n && /* @__PURE__ */ x(
|
|
16089
|
+
children: [!n && /* @__PURE__ */ x(Qv, {
|
|
16085
16090
|
size: e,
|
|
16086
16091
|
glow: r,
|
|
16087
16092
|
title: ""
|
|
16088
|
-
}), !t && /* @__PURE__ */ x(
|
|
16093
|
+
}), !t && /* @__PURE__ */ x($v, {
|
|
16089
16094
|
glow: r,
|
|
16090
16095
|
"aria-hidden": "true"
|
|
16091
16096
|
})]
|
|
16092
16097
|
}));
|
|
16093
|
-
|
|
16098
|
+
ey.displayName = "BrandLockup";
|
|
16094
16099
|
//#endregion
|
|
16095
16100
|
//#region src/components/Brand/components/markGeometry.ts
|
|
16096
|
-
var
|
|
16097
|
-
function
|
|
16101
|
+
var ty = 9.25 / 22, ny = (e) => Math.round(e * 100) / 100;
|
|
16102
|
+
function ry(e, t, n = {}) {
|
|
16098
16103
|
let { curvature: r = 24, startRadius: i = 0 } = n;
|
|
16099
16104
|
if (e.width === 0 || e.height === 0) return [];
|
|
16100
16105
|
let a = t.filter((e) => !(e.width === 0 && e.height === 0));
|
|
@@ -16104,24 +16109,24 @@ function ey(e, t, n = {}) {
|
|
|
16104
16109
|
let a = t.x - e.x, l = t.y - e.y, u = a + t.width / 2 >= o ? a : a + t.width, d = l + t.height / 2, f = u - o, p = d - s, m = Math.hypot(f, p);
|
|
16105
16110
|
if (m - i < 1) return;
|
|
16106
16111
|
let h = o + f / m * i, g = s + p / m * i, _ = u - h, v = d - g, y = Math.hypot(_, v), b = (n % 2 == 0 ? 1 : -1) * Math.min(r, y / 3), x = (h + u) / 2, S = (g + d) / 2, C = x + -v / y * b, w = S + _ / y * b;
|
|
16107
|
-
c.push(`M ${
|
|
16112
|
+
c.push(`M ${ny(h)} ${ny(g)} Q ${ny(C)} ${ny(w)} ${ny(u)} ${ny(d)}`);
|
|
16108
16113
|
}), c;
|
|
16109
16114
|
}
|
|
16110
16115
|
//#endregion
|
|
16111
16116
|
//#region src/components/Brand/components/Mark.tsx
|
|
16112
|
-
var
|
|
16113
|
-
let d = p(null), [f, h] = m(
|
|
16117
|
+
var iy = [], ay = i(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow: r = !0, arms: i, className: a, style: s, ...l }, u) => {
|
|
16118
|
+
let d = p(null), [f, h] = m(iy), g = o((e) => {
|
|
16114
16119
|
d.current = e, typeof u == "function" ? u(e) : u && (u.current = e);
|
|
16115
16120
|
}, [u]);
|
|
16116
16121
|
return c(() => {
|
|
16117
16122
|
if (!i) {
|
|
16118
|
-
h(
|
|
16123
|
+
h(iy);
|
|
16119
16124
|
return;
|
|
16120
16125
|
}
|
|
16121
16126
|
let e = d.current, t = i.scopeRef.current;
|
|
16122
16127
|
if (!e) return;
|
|
16123
16128
|
let n = [], r = () => {
|
|
16124
|
-
let t = e.getBoundingClientRect(), r =
|
|
16129
|
+
let t = e.getBoundingClientRect(), r = ry(t, n.map((e) => e.getBoundingClientRect()), { startRadius: t.width * ty });
|
|
16125
16130
|
h((e) => e.length === r.length && e.every((e, t) => e === r[t]) ? e : r);
|
|
16126
16131
|
}, a = () => i.targetRefs ? i.targetRefs.map((e) => e.current).filter((e) => !!e) : t ? Array.from(t.querySelectorAll(i.targetSelector ?? ".eidotter-header__category")) : [], o = typeof ResizeObserver < "u" ? new ResizeObserver(r) : void 0, s = () => {
|
|
16127
16132
|
o?.disconnect(), n = a(), o?.observe(e), t && o?.observe(t), n.forEach((e) => o?.observe(e)), r();
|
|
@@ -16162,7 +16167,7 @@ var ty = [], ny = i(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16162
16167
|
stroke: "currentColor",
|
|
16163
16168
|
strokeWidth: 2
|
|
16164
16169
|
}, t))
|
|
16165
|
-
}), /* @__PURE__ */ x(
|
|
16170
|
+
}), /* @__PURE__ */ x(Zv, {
|
|
16166
16171
|
size: "100%",
|
|
16167
16172
|
title: "",
|
|
16168
16173
|
focusable: "false",
|
|
@@ -16170,11 +16175,11 @@ var ty = [], ny = i(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16170
16175
|
})]
|
|
16171
16176
|
});
|
|
16172
16177
|
});
|
|
16173
|
-
|
|
16178
|
+
ay.displayName = "Mark";
|
|
16174
16179
|
//#endregion
|
|
16175
16180
|
//#region src/components/Header/components/HeaderContextRow.tsx
|
|
16176
|
-
var
|
|
16177
|
-
function
|
|
16181
|
+
var oy = $("eidotter-header__return", "inline-flex items-center gap-1 no-underline", "border border-dos-border-default rounded-dos-base", "px-2 py-0.5 text-dos-text-xs uppercase tracking-wider");
|
|
16182
|
+
function sy({ context: e, linkComponent: t, activeHref: n }) {
|
|
16178
16183
|
let r = t ?? "a", { categories: i, returnTo: a } = e, o = a && Cg(a.href) ? a.href : void 0, s = (e, t) => {
|
|
16179
16184
|
if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
|
16180
16185
|
let n = window.open(t, "rizomorf-shell");
|
|
@@ -16186,16 +16191,16 @@ function iy({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16186
16191
|
return /* @__PURE__ */ S("div", {
|
|
16187
16192
|
className: $("eidotter-header__context", "flex w-full flex-wrap items-center gap-x-4 gap-y-2"),
|
|
16188
16193
|
children: [a && (o === void 0 ? /* @__PURE__ */ x("span", {
|
|
16189
|
-
className:
|
|
16194
|
+
className: oy,
|
|
16190
16195
|
children: c
|
|
16191
16196
|
}) : a.reuseTab ? /* @__PURE__ */ x("a", {
|
|
16192
16197
|
href: o,
|
|
16193
16198
|
onClick: (e) => s(e, o),
|
|
16194
|
-
className:
|
|
16199
|
+
className: oy,
|
|
16195
16200
|
children: c
|
|
16196
16201
|
}) : /* @__PURE__ */ x(r, {
|
|
16197
16202
|
href: o,
|
|
16198
|
-
className:
|
|
16203
|
+
className: oy,
|
|
16199
16204
|
children: c
|
|
16200
16205
|
})), i.length > 0 && /* @__PURE__ */ x("nav", {
|
|
16201
16206
|
"aria-label": "Categories",
|
|
@@ -16236,15 +16241,15 @@ function iy({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16236
16241
|
}
|
|
16237
16242
|
//#endregion
|
|
16238
16243
|
//#region src/components/Header/components/Header.tsx
|
|
16239
|
-
var
|
|
16244
|
+
var cy = {
|
|
16240
16245
|
retro: "eidotter-header--retro",
|
|
16241
16246
|
modern: "eidotter-header--modern"
|
|
16242
|
-
},
|
|
16243
|
-
let g = s ?? "a", _ = Cg(n) ? n : "/", v = !!c && (c.categories.length > 0 || !!c.returnTo), y = d && Cg(d) ? d : void 0, C = !f && !!t && l !== "text", w = f || (C ? /* @__PURE__ */ S(b, { children: [l === "mark" ? /* @__PURE__ */ x(
|
|
16247
|
+
}, ly = i(({ brandName: t, brandHref: n = "/", items: r, activeHref: i, variant: a = "retro", sticky: o = !0, linkComponent: s, context: c, brand: l = "lockup", end: u, skipLinkTarget: d, children: f, className: p, ...m }, h) => {
|
|
16248
|
+
let g = s ?? "a", _ = Cg(n) ? n : "/", v = !!c && (c.categories.length > 0 || !!c.returnTo), y = d && Cg(d) ? d : void 0, C = !f && !!t && l !== "text", w = f || (C ? /* @__PURE__ */ S(b, { children: [l === "mark" ? /* @__PURE__ */ x(ay, {
|
|
16244
16249
|
size: 28,
|
|
16245
16250
|
label: "",
|
|
16246
16251
|
className: "eidotter-header__brand-icon"
|
|
16247
|
-
}) : /* @__PURE__ */ x(
|
|
16252
|
+
}) : /* @__PURE__ */ x(Qv, {
|
|
16248
16253
|
size: 28,
|
|
16249
16254
|
glow: !0,
|
|
16250
16255
|
title: "",
|
|
@@ -16252,14 +16257,14 @@ var ay = {
|
|
|
16252
16257
|
}), /* @__PURE__ */ x("span", {
|
|
16253
16258
|
className: "eidotter-header__brand-name uppercase tracking-[0.3em]",
|
|
16254
16259
|
children: t
|
|
16255
|
-
})] }) : t), T = u != null && u !== !1 && u !== "", E = T ? "div" : e.Fragment,
|
|
16260
|
+
})] }) : t), T = u != null && u !== !1 && u !== "", E = Array.isArray(r) && r.length > 0, D = T ? "div" : e.Fragment, O = T ? { className: "eidotter-header__actions flex items-center gap-4" } : {}, k = /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(g, {
|
|
16256
16261
|
href: _,
|
|
16257
16262
|
className: $("no-underline text-dos-text-base font-bold tracking-wide", "eidotter-header__branding", C && "eidotter-header__branding--icon inline-flex items-center gap-3"),
|
|
16258
16263
|
children: w
|
|
16259
|
-
}), /* @__PURE__ */ S(
|
|
16260
|
-
...
|
|
16264
|
+
}), /* @__PURE__ */ S(D, {
|
|
16265
|
+
...O,
|
|
16261
16266
|
children: [
|
|
16262
|
-
/* @__PURE__ */ x(
|
|
16267
|
+
E && /* @__PURE__ */ x(Fv, {
|
|
16263
16268
|
items: r,
|
|
16264
16269
|
activeHref: i,
|
|
16265
16270
|
variant: a,
|
|
@@ -16269,36 +16274,36 @@ var ay = {
|
|
|
16269
16274
|
className: "eidotter-header__end flex items-center",
|
|
16270
16275
|
children: u
|
|
16271
16276
|
}),
|
|
16272
|
-
/* @__PURE__ */ x(
|
|
16277
|
+
E && /* @__PURE__ */ x(Iv, {
|
|
16273
16278
|
items: r,
|
|
16274
16279
|
activeHref: i,
|
|
16275
16280
|
variant: a,
|
|
16276
16281
|
linkComponent: s
|
|
16277
16282
|
})
|
|
16278
16283
|
]
|
|
16279
|
-
})] }),
|
|
16284
|
+
})] }), A = y ? /* @__PURE__ */ x("a", {
|
|
16280
16285
|
href: y,
|
|
16281
16286
|
className: "eidotter-header__skip",
|
|
16282
16287
|
children: "Skip to content"
|
|
16283
16288
|
}) : null;
|
|
16284
16289
|
return /* @__PURE__ */ S("header", {
|
|
16285
16290
|
ref: h,
|
|
16286
|
-
className: $(v ? "flex flex-col gap-2 px-4 py-3 font-dos" : "flex items-center justify-between px-4 py-3 font-dos", "eidotter-header",
|
|
16291
|
+
className: $(v ? "flex flex-col gap-2 px-4 py-3 font-dos" : "flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", cy[a], o && "sticky top-0 z-50 bg-dos-bg-primary", p),
|
|
16287
16292
|
...m,
|
|
16288
|
-
children: [
|
|
16293
|
+
children: [A, v ? /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", {
|
|
16289
16294
|
className: "eidotter-header__main flex w-full items-center justify-between",
|
|
16290
|
-
children:
|
|
16291
|
-
}), /* @__PURE__ */ x(
|
|
16295
|
+
children: k
|
|
16296
|
+
}), /* @__PURE__ */ x(sy, {
|
|
16292
16297
|
context: c,
|
|
16293
16298
|
linkComponent: s,
|
|
16294
16299
|
activeHref: i
|
|
16295
|
-
})] }) :
|
|
16300
|
+
})] }) : k]
|
|
16296
16301
|
});
|
|
16297
16302
|
});
|
|
16298
|
-
|
|
16303
|
+
ly.displayName = "Header";
|
|
16299
16304
|
//#endregion
|
|
16300
16305
|
//#region src/components/Connector/components/connectorGeometry.ts
|
|
16301
|
-
var
|
|
16306
|
+
var uy = {
|
|
16302
16307
|
delicate: {
|
|
16303
16308
|
base: 5,
|
|
16304
16309
|
mid: 3.2,
|
|
@@ -16311,11 +16316,11 @@ var sy = {
|
|
|
16311
16316
|
tip: 5,
|
|
16312
16317
|
curvature: 30
|
|
16313
16318
|
}
|
|
16314
|
-
},
|
|
16315
|
-
function
|
|
16316
|
-
return e < .5 ?
|
|
16319
|
+
}, dy = 28, fy = (e) => Math.round(e * 100) / 100, py = (e, t, n) => e + (t - e) * n, my = (e) => e < .5 ? 2 * e * e : 1 - (-2 * e + 2) ** 2 / 2;
|
|
16320
|
+
function hy(e, t) {
|
|
16321
|
+
return e < .5 ? py(t.base, t.mid, my(e / .5)) : py(t.mid, t.tip, my((e - .5) / .5));
|
|
16317
16322
|
}
|
|
16318
|
-
function
|
|
16323
|
+
function gy(e, t, n) {
|
|
16319
16324
|
let r = t.x - e.x, i = t.y - e.y, a = n.width / 2, o = n.height / 2, s = r === 0 ? Infinity : a / Math.abs(r), c = i === 0 ? Infinity : o / Math.abs(i), l = Math.min(s, c);
|
|
16320
16325
|
return Number.isFinite(l) ? {
|
|
16321
16326
|
x: e.x + r * l,
|
|
@@ -16325,21 +16330,21 @@ function py(e, t, n) {
|
|
|
16325
16330
|
y: e.y
|
|
16326
16331
|
};
|
|
16327
16332
|
}
|
|
16328
|
-
function
|
|
16333
|
+
function _y(e, t, n, r, i) {
|
|
16329
16334
|
let a = 1 - i, o = a * a * a, s = 3 * a * a * i, c = 3 * a * i * i, l = i * i * i;
|
|
16330
16335
|
return {
|
|
16331
16336
|
x: o * e.x + s * t.x + c * n.x + l * r.x,
|
|
16332
16337
|
y: o * e.y + s * t.y + c * n.y + l * r.y
|
|
16333
16338
|
};
|
|
16334
16339
|
}
|
|
16335
|
-
function
|
|
16340
|
+
function vy(e, t, n, r, i) {
|
|
16336
16341
|
let a = 1 - i, o = 3 * a * a, s = 6 * a * i, c = 3 * i * i;
|
|
16337
16342
|
return {
|
|
16338
16343
|
x: o * (t.x - e.x) + s * (n.x - t.x) + c * (r.x - n.x),
|
|
16339
16344
|
y: o * (t.y - e.y) + s * (n.y - t.y) + c * (r.y - n.y)
|
|
16340
16345
|
};
|
|
16341
16346
|
}
|
|
16342
|
-
function
|
|
16347
|
+
function yy(e, t, n, r = {}) {
|
|
16343
16348
|
let { sign: i = 1, sway: a = 0 } = r, o = t.x - e.x, s = t.y - e.y, c = Math.hypot(o, s);
|
|
16344
16349
|
if (c < .5) return "";
|
|
16345
16350
|
let l = -s / c, u = o / c, d = Math.min(n.curvature, c / 3), f = (d + a) * i, p = (d * .5 - a * .6) * i, m = {
|
|
@@ -16349,8 +16354,8 @@ function gy(e, t, n, r = {}) {
|
|
|
16349
16354
|
x: e.x + o * .66 + l * p,
|
|
16350
16355
|
y: e.y + s * .66 + u * p
|
|
16351
16356
|
}, g = [], _ = [];
|
|
16352
|
-
for (let r = 0; r <=
|
|
16353
|
-
let i = r /
|
|
16357
|
+
for (let r = 0; r <= dy; r++) {
|
|
16358
|
+
let i = r / dy, a = _y(e, m, h, t, i), o = vy(e, m, h, t, i), s = Math.hypot(o.x, o.y) || 1, c = -o.y / s, l = o.x / s, u = hy(i, n);
|
|
16354
16359
|
g.push({
|
|
16355
16360
|
x: a.x + c * u,
|
|
16356
16361
|
y: a.y + l * u
|
|
@@ -16359,14 +16364,14 @@ function gy(e, t, n, r = {}) {
|
|
|
16359
16364
|
y: a.y - l * u
|
|
16360
16365
|
});
|
|
16361
16366
|
}
|
|
16362
|
-
let v = `M ${
|
|
16363
|
-
for (let e = 1; e <=
|
|
16364
|
-
for (let e =
|
|
16367
|
+
let v = `M ${fy(g[0].x)} ${fy(g[0].y)}`;
|
|
16368
|
+
for (let e = 1; e <= dy; e++) v += ` L ${fy(g[e].x)} ${fy(g[e].y)}`;
|
|
16369
|
+
for (let e = dy; e >= 0; e--) v += ` L ${fy(_[e].x)} ${fy(_[e].y)}`;
|
|
16365
16370
|
return v += " Z", v;
|
|
16366
16371
|
}
|
|
16367
16372
|
//#endregion
|
|
16368
16373
|
//#region src/components/Connector/components/Connector.tsx
|
|
16369
|
-
var
|
|
16374
|
+
var by = .0011, xy = 4, Sy = i(({ sourceRef: e, targets: t, weight: n = "delicate", sway: r = !0, refreshKey: i, className: a, ...s }, u) => {
|
|
16370
16375
|
let d = l().replace(/[:]/g, ""), f = p(null), m = p([]), h = p([]), g = p(null), _ = p(t);
|
|
16371
16376
|
_.current = t;
|
|
16372
16377
|
let v = p(n);
|
|
@@ -16383,7 +16388,7 @@ var _y = .0011, vy = 4, yy = i(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16383
16388
|
let o = a.getBoundingClientRect(), s = {
|
|
16384
16389
|
x: o.left - i.left + o.width / 2,
|
|
16385
16390
|
y: o.top - i.top + o.height / 2
|
|
16386
|
-
}, c =
|
|
16391
|
+
}, c = uy[v.current] ?? uy.delicate, l = r && !om();
|
|
16387
16392
|
_.current.forEach((e, t) => {
|
|
16388
16393
|
let r = e.ref.current, a = m.current[t];
|
|
16389
16394
|
if (!a) return;
|
|
@@ -16401,11 +16406,11 @@ var _y = .0011, vy = 4, yy = i(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16401
16406
|
y: o.top - i.top,
|
|
16402
16407
|
width: o.width,
|
|
16403
16408
|
height: o.height
|
|
16404
|
-
}, d =
|
|
16409
|
+
}, d = gy({
|
|
16405
16410
|
x: u.x + u.width / 2,
|
|
16406
16411
|
y: u.y + u.height / 2
|
|
16407
|
-
}, s, u), f = t % 2 == 0 ? 1 : -1, p = l ? Math.sin(n *
|
|
16408
|
-
a.setAttribute("d",
|
|
16412
|
+
}, s, u), f = t % 2 == 0 ? 1 : -1, p = l ? Math.sin(n * by + t * 1.7) * xy : 0;
|
|
16413
|
+
a.setAttribute("d", yy(s, d, c, {
|
|
16409
16414
|
sign: f,
|
|
16410
16415
|
sway: p
|
|
16411
16416
|
}));
|
|
@@ -16467,16 +16472,16 @@ var _y = .0011, vy = 4, yy = i(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16467
16472
|
}, t))]
|
|
16468
16473
|
});
|
|
16469
16474
|
});
|
|
16470
|
-
|
|
16475
|
+
Sy.displayName = "Connector";
|
|
16471
16476
|
//#endregion
|
|
16472
16477
|
//#region src/components/Notification/components/Notification.tsx
|
|
16473
|
-
var
|
|
16478
|
+
var Cy = {
|
|
16474
16479
|
primary: "Info",
|
|
16475
16480
|
gray: "Info",
|
|
16476
16481
|
success: "Done",
|
|
16477
16482
|
warning: "Warning",
|
|
16478
16483
|
error: "Error"
|
|
16479
|
-
},
|
|
16484
|
+
}, wy = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: s, progressLabel: l, duration: u, showIcon: d = !0, className: f }) => {
|
|
16480
16485
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = sm("eidotter-pop-out", i);
|
|
16481
16486
|
c(() => {
|
|
16482
16487
|
if (u == null || !i) return;
|
|
@@ -16506,7 +16511,7 @@ var by = {
|
|
|
16506
16511
|
g && /* @__PURE__ */ x("div", {
|
|
16507
16512
|
className: "eidotter-notification__icon",
|
|
16508
16513
|
children: /* @__PURE__ */ x(im, {
|
|
16509
|
-
name:
|
|
16514
|
+
name: Cy[e] || "Info",
|
|
16510
16515
|
size: "S",
|
|
16511
16516
|
"aria-label": `${e} notification`
|
|
16512
16517
|
})
|
|
@@ -16559,7 +16564,7 @@ var by = {
|
|
|
16559
16564
|
};
|
|
16560
16565
|
//#endregion
|
|
16561
16566
|
//#region src/components/InlineLink/components/InlineLink.tsx
|
|
16562
|
-
function
|
|
16567
|
+
function Ty(e) {
|
|
16563
16568
|
let t = e.trim();
|
|
16564
16569
|
return t === "" || Cg(t, { extraSchemes: [
|
|
16565
16570
|
"tel",
|
|
@@ -16567,14 +16572,14 @@ function Sy(e) {
|
|
|
16567
16572
|
"sms"
|
|
16568
16573
|
] }) ? t : "#";
|
|
16569
16574
|
}
|
|
16570
|
-
function
|
|
16575
|
+
function Ey(e, t) {
|
|
16571
16576
|
if (t.length === 0) return e;
|
|
16572
16577
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
16573
16578
|
for (let e of t) n.add(e.toLowerCase());
|
|
16574
16579
|
return Array.from(n).join(" ");
|
|
16575
16580
|
}
|
|
16576
|
-
var
|
|
16577
|
-
let l =
|
|
16581
|
+
var Dy = i(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
|
|
16582
|
+
let l = Ty(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? Ey(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
|
|
16578
16583
|
return /* @__PURE__ */ S("a", {
|
|
16579
16584
|
ref: c,
|
|
16580
16585
|
href: l,
|
|
@@ -16592,10 +16597,10 @@ var wy = i(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
16592
16597
|
})]
|
|
16593
16598
|
});
|
|
16594
16599
|
});
|
|
16595
|
-
|
|
16600
|
+
Dy.displayName = "InlineLink";
|
|
16596
16601
|
//#endregion
|
|
16597
16602
|
//#region src/components/DosFigure/components/DosFigure.tsx
|
|
16598
|
-
var
|
|
16603
|
+
var Oy = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
|
|
16599
16604
|
let u = l(), d = r ? u : void 0;
|
|
16600
16605
|
return /* @__PURE__ */ S("figure", {
|
|
16601
16606
|
ref: c,
|
|
@@ -16655,11 +16660,11 @@ var Ty = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
16655
16660
|
})]
|
|
16656
16661
|
});
|
|
16657
16662
|
});
|
|
16658
|
-
|
|
16663
|
+
Oy.displayName = "DosFigure";
|
|
16659
16664
|
//#endregion
|
|
16660
16665
|
//#region src/components/CmdPalette/components/CmdPalette.tsx
|
|
16661
|
-
var
|
|
16662
|
-
function
|
|
16666
|
+
var ky = /* @__PURE__ */ x(b, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
|
|
16667
|
+
function Ay(e) {
|
|
16663
16668
|
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");
|
|
16664
16669
|
return (e) => {
|
|
16665
16670
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -16667,15 +16672,15 @@ function Dy(e) {
|
|
|
16667
16672
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
16668
16673
|
};
|
|
16669
16674
|
}
|
|
16670
|
-
function
|
|
16675
|
+
function jy(e, t) {
|
|
16671
16676
|
if (!t) return 0;
|
|
16672
16677
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
16673
16678
|
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;
|
|
16674
16679
|
}
|
|
16675
|
-
var
|
|
16680
|
+
var My = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: a = "NO MATCHES", footerHint: s = ky, renderItem: u, maxResults: f = 20, className: h, "aria-label": g = "Command palette" }, _) => {
|
|
16676
16681
|
let v = l(), y = `${v}-listbox`, [C, w] = m(""), [T, E] = m(0), D = p(null), O = p(null), k = p(!1), A = d(() => C.trim() ? n.map((e) => ({
|
|
16677
16682
|
item: e,
|
|
16678
|
-
score:
|
|
16683
|
+
score: jy(e, C.trim())
|
|
16679
16684
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, f).map((e) => e.item) : n.slice(0, f), [
|
|
16680
16685
|
n,
|
|
16681
16686
|
C,
|
|
@@ -16700,7 +16705,7 @@ var ky = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
16700
16705
|
M.current = t;
|
|
16701
16706
|
}, [t]), c(() => {
|
|
16702
16707
|
if (i === !1) return;
|
|
16703
|
-
let e =
|
|
16708
|
+
let e = Ay(i), t = (t) => {
|
|
16704
16709
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
16705
16710
|
};
|
|
16706
16711
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -16722,7 +16727,7 @@ var ky = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
16722
16727
|
let N = o((e) => {
|
|
16723
16728
|
e.onSelect?.(e), t(!1);
|
|
16724
16729
|
}, [t]);
|
|
16725
|
-
return /* @__PURE__ */ S(
|
|
16730
|
+
return /* @__PURE__ */ S(__, {
|
|
16726
16731
|
ref: _,
|
|
16727
16732
|
open: e,
|
|
16728
16733
|
onOpenChange: t,
|
|
@@ -16801,10 +16806,10 @@ var ky = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
16801
16806
|
})]
|
|
16802
16807
|
});
|
|
16803
16808
|
});
|
|
16804
|
-
|
|
16809
|
+
My.displayName = "CmdPalette";
|
|
16805
16810
|
//#endregion
|
|
16806
16811
|
//#region src/components/AIText/components/AIText.tsx
|
|
16807
|
-
var
|
|
16812
|
+
var Ny = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ S("span", {
|
|
16808
16813
|
"data-provenance": "ai-draft",
|
|
16809
16814
|
className: $("eidotter-ai-text", t),
|
|
16810
16815
|
title: n,
|
|
@@ -16813,10 +16818,10 @@ var Ay = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
16813
16818
|
children: "AI-assisted: "
|
|
16814
16819
|
}), e]
|
|
16815
16820
|
});
|
|
16816
|
-
|
|
16821
|
+
Ny.displayName = "AIText";
|
|
16817
16822
|
//#endregion
|
|
16818
16823
|
//#region src/components/LegalPage/components/LegalPage.tsx
|
|
16819
|
-
var
|
|
16824
|
+
var Py = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ S("div", {
|
|
16820
16825
|
className: $("eidotter-legal-page", a),
|
|
16821
16826
|
...o,
|
|
16822
16827
|
children: [r && /* @__PURE__ */ x("div", {
|
|
@@ -16839,13 +16844,13 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
16839
16844
|
className: "eidotter-legal-page__body",
|
|
16840
16845
|
children: i
|
|
16841
16846
|
})] })]
|
|
16842
|
-
}),
|
|
16847
|
+
}), Fy = /* @__PURE__ */ S(b, { children: [
|
|
16843
16848
|
"Haus-Endt-Str. 149A",
|
|
16844
16849
|
/* @__PURE__ */ x("br", {}),
|
|
16845
16850
|
"40593 Düsseldorf",
|
|
16846
16851
|
/* @__PURE__ */ x("br", {}),
|
|
16847
16852
|
"Deutschland"
|
|
16848
|
-
] }),
|
|
16853
|
+
] }), Iy = "Dominic Kennedy", Ly = ({ email: e, address: t = Fy, name: n = Iy }) => /* @__PURE__ */ S("address", { children: [
|
|
16849
16854
|
n,
|
|
16850
16855
|
/* @__PURE__ */ x("br", {}),
|
|
16851
16856
|
t,
|
|
@@ -16857,16 +16862,16 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
16857
16862
|
children: e
|
|
16858
16863
|
})
|
|
16859
16864
|
] })
|
|
16860
|
-
] }),
|
|
16865
|
+
] }), Ry = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ x(Ly, { ...e })] }), zy = ({ email: e }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Kontakt" }), /* @__PURE__ */ S("p", { children: ["E-Mail: ", /* @__PURE__ */ x("a", {
|
|
16861
16866
|
href: `mailto:${e}`,
|
|
16862
16867
|
children: e
|
|
16863
|
-
})] })] }),
|
|
16868
|
+
})] })] }), By = ({ name: e = Iy }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ S("address", { children: [
|
|
16864
16869
|
e,
|
|
16865
16870
|
/* @__PURE__ */ x("br", {}),
|
|
16866
16871
|
"Haus-Endt-Str. 149A",
|
|
16867
16872
|
/* @__PURE__ */ x("br", {}),
|
|
16868
16873
|
"40593 Düsseldorf"
|
|
16869
|
-
] })] }),
|
|
16874
|
+
] })] }), Vy = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ x("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." })] }), Hy = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Links" }), /* @__PURE__ */ x("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." })] }), Uy = ({ email: e, name: t = Iy }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ S("address", { children: [
|
|
16870
16875
|
t,
|
|
16871
16876
|
/* @__PURE__ */ x("br", {}),
|
|
16872
16877
|
"Haus-Endt-Str. 149A",
|
|
@@ -16878,14 +16883,14 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
16878
16883
|
href: `mailto:${e}`,
|
|
16879
16884
|
children: e
|
|
16880
16885
|
})
|
|
16881
|
-
] })] }),
|
|
16886
|
+
] })] }), Wy = () => /* @__PURE__ */ S(b, { children: [
|
|
16882
16887
|
/* @__PURE__ */ x("h2", { children: "Hosting" }),
|
|
16883
16888
|
/* @__PURE__ */ x("p", { children: "Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern." }),
|
|
16884
16889
|
/* @__PURE__ */ x("p", {
|
|
16885
16890
|
className: "eidotter-legal-page__basis",
|
|
16886
16891
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
16887
16892
|
})
|
|
16888
|
-
] }),
|
|
16893
|
+
] }), Gy = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ S(b, { children: [
|
|
16889
16894
|
/* @__PURE__ */ x("h2", { children: "Webanalyse — PostHog" }),
|
|
16890
16895
|
/* @__PURE__ */ S("p", { children: [
|
|
16891
16896
|
"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 ",
|
|
@@ -16902,7 +16907,7 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
16902
16907
|
className: "eidotter-legal-page__basis",
|
|
16903
16908
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
16904
16909
|
})
|
|
16905
|
-
] }),
|
|
16910
|
+
] }), Ky = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Schriftarten" }), /* @__PURE__ */ x("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), qy = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ x("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), Jy = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ S(b, { children: [
|
|
16906
16911
|
/* @__PURE__ */ x("h2", { children: "Ihre Rechte" }),
|
|
16907
16912
|
/* @__PURE__ */ x("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
16908
16913
|
/* @__PURE__ */ S("ul", { children: [
|
|
@@ -16927,7 +16932,7 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
16927
16932
|
t,
|
|
16928
16933
|
"."
|
|
16929
16934
|
] })
|
|
16930
|
-
] }),
|
|
16935
|
+
] }), Yy = {
|
|
16931
16936
|
eidotter: { displayName: "eiDotter" },
|
|
16932
16937
|
spacewar: { displayName: "Spacewar!" },
|
|
16933
16938
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -16947,7 +16952,7 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
16947
16952
|
},
|
|
16948
16953
|
"doctor-portal": { displayName: "Doctor Portal" },
|
|
16949
16954
|
dosbts: { displayName: "DOSBTS" }
|
|
16950
|
-
},
|
|
16955
|
+
}, Xy = {
|
|
16951
16956
|
Alert: {
|
|
16952
16957
|
origin: "eidotter",
|
|
16953
16958
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -18051,10 +18056,15 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
18051
18056
|
},
|
|
18052
18057
|
changelog: [
|
|
18053
18058
|
{
|
|
18054
|
-
version: "0.
|
|
18059
|
+
version: "0.41.1",
|
|
18055
18060
|
type: "changed",
|
|
18056
18061
|
description: "The unit can drop under the value in a narrow card (a space before the unit is the break opportunity; was a 4px margin with no break) (DMNC-1610)"
|
|
18057
18062
|
},
|
|
18063
|
+
{
|
|
18064
|
+
version: "0.41.2",
|
|
18065
|
+
type: "changed",
|
|
18066
|
+
description: "scramble: server HTML and first client render show the final value; scramble starts after mount (no hydration mismatch, DMNC-1609)"
|
|
18067
|
+
},
|
|
18058
18068
|
{
|
|
18059
18069
|
version: "0.40.0",
|
|
18060
18070
|
type: "changed",
|
|
@@ -18387,6 +18397,11 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
18387
18397
|
status: "canonical"
|
|
18388
18398
|
} },
|
|
18389
18399
|
changelog: [
|
|
18400
|
+
{
|
|
18401
|
+
version: "0.41.3",
|
|
18402
|
+
type: "changed",
|
|
18403
|
+
description: "Window root is role=group (named \"<title> terminal window\"), not role=dialog: it is in-page chrome with no focus trap or aria-modal (DMNC-1611)"
|
|
18404
|
+
},
|
|
18390
18405
|
{
|
|
18391
18406
|
version: "0.30.0",
|
|
18392
18407
|
type: "changed",
|
|
@@ -18681,15 +18696,23 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
18681
18696
|
path: "src/components/TextScramble",
|
|
18682
18697
|
status: "canonical"
|
|
18683
18698
|
} },
|
|
18684
|
-
changelog: [
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18692
|
-
|
|
18699
|
+
changelog: [
|
|
18700
|
+
{
|
|
18701
|
+
version: "0.41.2",
|
|
18702
|
+
type: "changed",
|
|
18703
|
+
description: "SSR-safe: server HTML and first client render show the final text; scramble and reduced-motion check run after mount (no hydration mismatch, DMNC-1609)"
|
|
18704
|
+
},
|
|
18705
|
+
{
|
|
18706
|
+
version: "0.18.0",
|
|
18707
|
+
type: "changed",
|
|
18708
|
+
description: "Migrate BEM to Tailwind-first; adopt cn() and forwardRef"
|
|
18709
|
+
},
|
|
18710
|
+
{
|
|
18711
|
+
version: "0.10.0",
|
|
18712
|
+
type: "added",
|
|
18713
|
+
description: "Initial TextScramble — children string, speed, characters, delay; rAF-based reveal"
|
|
18714
|
+
}
|
|
18715
|
+
]
|
|
18693
18716
|
},
|
|
18694
18717
|
ChatMessage: {
|
|
18695
18718
|
origin: "eidotter",
|
|
@@ -18728,6 +18751,16 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
18728
18751
|
}
|
|
18729
18752
|
},
|
|
18730
18753
|
changelog: [
|
|
18754
|
+
{
|
|
18755
|
+
version: "0.41.3",
|
|
18756
|
+
type: "changed",
|
|
18757
|
+
description: "end slot clips the inline axis only (overflow-x: clip) with a 12px inline bleed, so focus rings and phosphor glows of controls in it are no longer cut; overflow: hidden fallback without clip support (DMNC-1611)"
|
|
18758
|
+
},
|
|
18759
|
+
{
|
|
18760
|
+
version: "0.41.3",
|
|
18761
|
+
type: "changed",
|
|
18762
|
+
description: "items={[]} renders no nav: no empty <nav> and no MENU trigger below 768px; the brand link gets the house focus ring (2px border-focus outline, 2px offset) in both variants (DMNC-1611)"
|
|
18763
|
+
},
|
|
18731
18764
|
{
|
|
18732
18765
|
version: "0.41.0",
|
|
18733
18766
|
type: "changed",
|
|
@@ -18866,7 +18899,7 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
18866
18899
|
},
|
|
18867
18900
|
"inline:true": {
|
|
18868
18901
|
description: "Same chrome in document flow: no overlay, portal or focus trap; role=group, no aria-modal (docs, static previews)",
|
|
18869
|
-
since: "0.
|
|
18902
|
+
since: "0.41.1"
|
|
18870
18903
|
}
|
|
18871
18904
|
},
|
|
18872
18905
|
platforms: { react: {
|
|
@@ -18875,12 +18908,17 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
18875
18908
|
} },
|
|
18876
18909
|
changelog: [
|
|
18877
18910
|
{
|
|
18878
|
-
version: "0.
|
|
18911
|
+
version: "0.41.3",
|
|
18912
|
+
type: "added",
|
|
18913
|
+
description: "head.headingLevel (2-6, default 2) sets the title heading level in modal and inline mode, e.g. an inline preview under a card h3; ignored on a decorative head (DMNC-1611)"
|
|
18914
|
+
},
|
|
18915
|
+
{
|
|
18916
|
+
version: "0.41.1",
|
|
18879
18917
|
type: "added",
|
|
18880
18918
|
description: "inline prop: renders the same frame, strip, head, body, footer and end control in place without ModalOverlay, portal or focus trap, as a role=group with no aria-modal; server HTML carries the chrome (DMNC-1605)"
|
|
18881
18919
|
},
|
|
18882
18920
|
{
|
|
18883
|
-
version: "0.
|
|
18921
|
+
version: "0.41.1",
|
|
18884
18922
|
type: "changed",
|
|
18885
18923
|
description: "Last end IconButton docks flush in the frame corner (0px top, 0px right, was 0px top, 4px right), the same rule as DosWindow controls (DMNC-1605)"
|
|
18886
18924
|
},
|
|
@@ -18944,7 +18982,7 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
18944
18982
|
status: "canonical"
|
|
18945
18983
|
} },
|
|
18946
18984
|
changelog: [{
|
|
18947
|
-
version: "0.
|
|
18985
|
+
version: "0.41.1",
|
|
18948
18986
|
type: "changed",
|
|
18949
18987
|
description: "Last control IconButton docks flush in the frame corner (0px top, 0px right, was 0px top, 4px right); the inline-end overhang moved from the controls container to the last IconButton, so non-IconButton controls keep the strip padding (DMNC-1605)"
|
|
18950
18988
|
}, {
|
|
@@ -19445,7 +19483,7 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
19445
19483
|
type: "added",
|
|
19446
19484
|
description: "Initial RangeBar (health metabolism family)"
|
|
19447
19485
|
}, {
|
|
19448
|
-
version: "0.
|
|
19486
|
+
version: "0.41.1",
|
|
19449
19487
|
type: "changed",
|
|
19450
19488
|
description: "Vertical legend wraps under the bar in a narrow container; legend names wrap instead of truncating and a bound moves to the next line whole; percent and target label separated by a gap and a space; lane and legend text print black on white (DMNC-1610)"
|
|
19451
19489
|
}]
|
|
@@ -19508,12 +19546,12 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
19508
19546
|
description: "Goal label moved into a reserved band above the plot so it never paints over a bar (DMNC-1573)"
|
|
19509
19547
|
},
|
|
19510
19548
|
{
|
|
19511
|
-
version: "0.
|
|
19549
|
+
version: "0.41.1",
|
|
19512
19550
|
type: "added",
|
|
19513
19551
|
description: "Additive unit and format (formatValue digits/percent/signed) props: values and the goal carry the unit in the summary, value table and bar titles; a goal label that already holds the goal value is not repeated (DMNC-1610)"
|
|
19514
19552
|
},
|
|
19515
19553
|
{
|
|
19516
|
-
version: "0.
|
|
19554
|
+
version: "0.41.1",
|
|
19517
19555
|
type: "changed",
|
|
19518
19556
|
description: "Sparse ticks (tickEvery > 1) overflow into empty neighbour columns instead of truncating; first and last labels pinned to the plot edges; goal tag and ticks print black on white (DMNC-1610)"
|
|
19519
19557
|
}
|
|
@@ -19652,21 +19690,21 @@ var jy = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
19652
19690
|
}]
|
|
19653
19691
|
}
|
|
19654
19692
|
};
|
|
19655
|
-
function
|
|
19656
|
-
return
|
|
19693
|
+
function Zy(e) {
|
|
19694
|
+
return Xy[e];
|
|
19657
19695
|
}
|
|
19658
|
-
function
|
|
19659
|
-
return Object.entries(
|
|
19696
|
+
function Qy(e) {
|
|
19697
|
+
return Object.entries(Xy).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
19660
19698
|
}
|
|
19661
|
-
function
|
|
19662
|
-
return Object.entries(
|
|
19699
|
+
function $y(e) {
|
|
19700
|
+
return Object.entries(Xy).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
19663
19701
|
}
|
|
19664
|
-
function
|
|
19665
|
-
let n =
|
|
19702
|
+
function eb(e, t) {
|
|
19703
|
+
let n = Xy[e];
|
|
19666
19704
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
19667
19705
|
}
|
|
19668
|
-
function
|
|
19669
|
-
let t =
|
|
19706
|
+
function tb(e) {
|
|
19707
|
+
let t = Xy[e];
|
|
19670
19708
|
if (!t?.variants) return {};
|
|
19671
19709
|
let n = {};
|
|
19672
19710
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
@@ -19674,6 +19712,6 @@ function Qy(e) {
|
|
|
19674
19712
|
}
|
|
19675
19713
|
//#endregion
|
|
19676
19714
|
//#region src/index.ts
|
|
19677
|
-
var
|
|
19715
|
+
var nb = "0.41.3";
|
|
19678
19716
|
//#endregion
|
|
19679
|
-
export {
|
|
19717
|
+
export { Ny as AIText, mm as AccordionFill, Ly as AddressBlock, fm as Alert, yg as Badge, ey as BrandLockup, Tg as Breadcrumb, _m as Button, og as CalendarHeatmap, bm as Card, Hv as ChatContainer, Bv as ChatHistory, Vv as ChatInput, zv as ChatMessage, xm as Checkbox, gv as ChecklistRow, My as CmdPalette, Sm as CommandPrompt, Sy as Connector, _v as CopyButton, Uy as DatenschutzController, qy as DatenschutzEncryption, Ky as DatenschutzFonts, Wy as DatenschutzHosting, Gy as DatenschutzPostHog, Jy as DatenschutzRights, Zh as DecayStrip, Fv as DesktopNav, __ as DosDialog, Oy as DosFigure, vm as DosWindow, gh as EmptyState, sv as FilterBar, Wv as Footer, ah as Gauge, ly as Header, ug as HoldToComplete, im as Icon, am as IconButton, Ry as ImpressumAddress, zy as ImpressumContact, Vy as ImpressumLiabilityContent, Hy as ImpressumLiabilityLinks, By as ImpressumResponsible, uv as InlineExpand, Dy as InlineLink, fg as Input, Mv as LabeledProgress, jv as LedgerRow, Py as LegalPage, v_ as Lightbox, Qv as Logo, ay as Mark, mh as Meter, vh as MeterGroup, Iv as MobileNav, Y_ as Modal, Lv as Nav, wy as Notification, Am as Progress, Mm as ProgressRing, kh as RangeBar, Ag as RetroEffects, pm as Section, mv as SectionHeading, Av as Select, fv as Separator, Fh as SeriesBars, zm as Skeleton, av as Stat, bg as Switch, gg as Tabs, j_ as Tag, N_ as TagGroup, pg as Terminal, Nv as TextScramble, R_ as TimelineContainer, H_ as TimelineFeed, Fg as TimelineNode, J_ as TimelinePage, Bh as VitalsStrip, $v as Wordmark, Ig as ZOOM_LEVELS, Xy as componentRegistry, Uv as defaultLegalLinks, Zy as getComponentMeta, $y as getComponentsByConsumer, Qy as getComponentsByOrigin, tb as getVariantConsumerMap, eb as getVariantsUsedBy, Cg as isSafeHref, cv as isSafeUrl, Yy as projects, ev as useTextScramble, nb as version };
|