eidotter 0.33.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/EmptyState/components/EmptyState.d.ts +26 -0
- package/dist/components/EmptyState/components/index.d.ts +2 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/SectionHeading/components/SectionHeading.d.ts +26 -0
- package/dist/components/SectionHeading/components/index.d.ts +2 -0
- package/dist/components/SectionHeading/index.d.ts +2 -0
- package/dist/components/TimelineContainer/components/MasterDetailLayout.d.ts +32 -0
- package/dist/components/TimelineContainer/components/TimelineContainer.d.ts +4 -1
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.es.js +1096 -943
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
- package/src/styles/theme.amber-mono.css +1 -0
package/dist/index.es.js
CHANGED
|
@@ -72,20 +72,20 @@ function ne(e) {
|
|
|
72
72
|
}
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region node_modules/react-aria/dist/private/utils/useId.mjs
|
|
75
|
-
var re = !!(typeof window < "u" && window.document && window.document.createElement),
|
|
76
|
-
typeof FinalizationRegistry < "u" && (
|
|
77
|
-
|
|
75
|
+
var re = !!(typeof window < "u" && window.document && window.document.createElement), F = /* @__PURE__ */ new Map(), ie;
|
|
76
|
+
typeof FinalizationRegistry < "u" && (ie = new FinalizationRegistry((e) => {
|
|
77
|
+
F.delete(e);
|
|
78
78
|
}));
|
|
79
|
-
function
|
|
79
|
+
function I(e) {
|
|
80
80
|
let [t, n] = p(e), r = f(null), i = M(t), a = f(null);
|
|
81
|
-
if (
|
|
82
|
-
let e =
|
|
83
|
-
e && !e.includes(r) ? e.push(r) :
|
|
81
|
+
if (ie && ie.register(a, i), re) {
|
|
82
|
+
let e = F.get(i);
|
|
83
|
+
e && !e.includes(r) ? e.push(r) : F.set(i, [r]);
|
|
84
84
|
}
|
|
85
85
|
return C(() => {
|
|
86
86
|
let e = i;
|
|
87
87
|
return () => {
|
|
88
|
-
|
|
88
|
+
ie && ie.unregister(a), F.delete(e);
|
|
89
89
|
};
|
|
90
90
|
}, [i]), s(() => {
|
|
91
91
|
let e = r.current;
|
|
@@ -94,15 +94,15 @@ function F(e) {
|
|
|
94
94
|
};
|
|
95
95
|
}), i;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function L(e, t) {
|
|
98
98
|
if (e === t) return e;
|
|
99
|
-
let n =
|
|
99
|
+
let n = F.get(e);
|
|
100
100
|
if (n) return n.forEach((e) => e.current = t), t;
|
|
101
|
-
let r =
|
|
101
|
+
let r = F.get(t);
|
|
102
102
|
return r ? (r.forEach((t) => t.current = e), e) : t;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
let t =
|
|
104
|
+
function ae(e = []) {
|
|
105
|
+
let t = I(), [n, r] = ne(t), i = a(() => {
|
|
106
106
|
r(function* () {
|
|
107
107
|
yield t, yield document.getElementById(t) ? t : void 0;
|
|
108
108
|
});
|
|
@@ -115,54 +115,54 @@ function oe(e = []) {
|
|
|
115
115
|
}
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
|
|
118
|
-
function
|
|
118
|
+
function oe(...e) {
|
|
119
119
|
return e.length === 1 && e[0] ? e[0] : (t) => {
|
|
120
120
|
let n = !1, r = e.map((e) => {
|
|
121
|
-
let r =
|
|
121
|
+
let r = R(e, t);
|
|
122
122
|
return n ||= typeof r == "function", r;
|
|
123
123
|
});
|
|
124
124
|
if (n) return () => {
|
|
125
125
|
r.forEach((t, n) => {
|
|
126
|
-
typeof t == "function" ? t() :
|
|
126
|
+
typeof t == "function" ? t() : R(e[n], null);
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function R(e, t) {
|
|
132
132
|
if (typeof e == "function") return e(t);
|
|
133
133
|
e != null && (e.current = t);
|
|
134
134
|
}
|
|
135
135
|
//#endregion
|
|
136
136
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
137
|
-
function
|
|
137
|
+
function se(e) {
|
|
138
138
|
var t, n, r = "";
|
|
139
139
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
140
140
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
141
141
|
var i = e.length;
|
|
142
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
142
|
+
for (t = 0; t < i; t++) e[t] && (n = se(e[t])) && (r && (r += " "), r += n);
|
|
143
143
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
144
144
|
return r;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
146
|
+
function ce() {
|
|
147
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = se(e)) && (r && (r += " "), r += t);
|
|
148
148
|
return r;
|
|
149
149
|
}
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs
|
|
152
|
-
function
|
|
152
|
+
function z(...e) {
|
|
153
153
|
let t = { ...e[0] };
|
|
154
154
|
for (let n = 1; n < e.length; n++) {
|
|
155
155
|
let r = e[n];
|
|
156
156
|
for (let e in r) {
|
|
157
157
|
let n = t[e], i = r[e];
|
|
158
|
-
typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = S(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] =
|
|
158
|
+
typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = S(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = ce(n, i) : e === "id" && n && i ? t.id = L(n, i) : e === "ref" && n && i ? t.ref = oe(n, i) : t[e] = i === void 0 ? n : i;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
return t;
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
|
|
165
|
-
function
|
|
165
|
+
function le(e) {
|
|
166
166
|
let t = f(null), n = f(void 0), r = a((t) => {
|
|
167
167
|
if (typeof e == "function") {
|
|
168
168
|
let n = e, r = n(t);
|
|
@@ -184,12 +184,12 @@ function z(e) {
|
|
|
184
184
|
}
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region node_modules/react-aria-components/dist/private/utils.mjs
|
|
187
|
-
var
|
|
188
|
-
function
|
|
187
|
+
var B = Symbol("default");
|
|
188
|
+
function ue({ values: t, children: n }) {
|
|
189
189
|
for (let [r, i] of t) n = /*#__PURE__*/ e.createElement(r.Provider, { value: i }, n);
|
|
190
190
|
return n;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function V(e) {
|
|
193
193
|
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
|
|
194
194
|
return u(() => {
|
|
195
195
|
let e, l, u;
|
|
@@ -223,11 +223,11 @@ function fe(e) {
|
|
|
223
223
|
c
|
|
224
224
|
]);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function de(e, t) {
|
|
227
227
|
let n = o(e);
|
|
228
228
|
if (t === null) return null;
|
|
229
229
|
if (n && typeof n == "object" && "slots" in n && n.slots) {
|
|
230
|
-
let e = t ||
|
|
230
|
+
let e = t || B;
|
|
231
231
|
if (!n.slots[e]) {
|
|
232
232
|
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
|
|
233
233
|
throw Error(`${r} Valid slot names are ${e}.`);
|
|
@@ -236,8 +236,8 @@ function pe(e, t) {
|
|
|
236
236
|
}
|
|
237
237
|
return n;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
let { ref: r, ...i } =
|
|
239
|
+
function fe(e, t, n) {
|
|
240
|
+
let { ref: r, ...i } = de(n, e.slot) || {}, a = le(u(() => oe(t, r), [t, r])), o = z(i, e);
|
|
241
241
|
return "style" in i && i.style && "style" in e && e.style && (typeof i.style == "function" || typeof e.style == "function" ? o.style = (t) => {
|
|
242
242
|
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
|
|
243
243
|
...t.defaultStyle,
|
|
@@ -255,7 +255,7 @@ function me(e, t, n) {
|
|
|
255
255
|
...e.style
|
|
256
256
|
}), [o, a];
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function pe(e = !0) {
|
|
259
259
|
let [t, n] = p(e), r = f(!1), i = a((e) => {
|
|
260
260
|
r.current = !0, n(!!e);
|
|
261
261
|
}, []);
|
|
@@ -263,13 +263,13 @@ function he(e = !0) {
|
|
|
263
263
|
r.current || n(!1);
|
|
264
264
|
}, []), [i, t];
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function me(e) {
|
|
267
267
|
let t = /^(data-.*)$/, n = {};
|
|
268
268
|
for (let r in e) t.test(r) || (n[r] = e[r]);
|
|
269
269
|
return n;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
let { render: i, ...a } = n, o = f(null), s = u(() =>
|
|
271
|
+
function he(t, n, r) {
|
|
272
|
+
let { render: i, ...a } = n, o = f(null), s = u(() => oe(r, o), [r, o]);
|
|
273
273
|
C(() => {
|
|
274
274
|
process.env.NODE_ENV !== "production" && i && (o.current ? o.current.localName !== t && console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${t}>, got <${o.current.localName}>. This may break the component behavior and accessibility.`) : console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?"));
|
|
275
275
|
}, [t, i]);
|
|
@@ -279,99 +279,99 @@ function _e(t, n, r) {
|
|
|
279
279
|
};
|
|
280
280
|
return i ? i(c, void 0) : /*#__PURE__*/ e.createElement(t, c);
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var ge = {}, _e = new Proxy({}, { get(e, t) {
|
|
283
283
|
if (typeof t != "string") return;
|
|
284
|
-
let n =
|
|
285
|
-
return n || (n = /*#__PURE__*/ r(
|
|
286
|
-
} }),
|
|
287
|
-
function
|
|
284
|
+
let n = ge[t];
|
|
285
|
+
return n || (n = /*#__PURE__*/ r(he.bind(null, t)), ge[t] = n), n;
|
|
286
|
+
} }), ve = "react-aria-clear-focus", ye = "react-aria-focus", H = (e) => e?.ownerDocument ?? document, be = (e) => e && "window" in e && e.window === e ? e : H(e).defaultView || window;
|
|
287
|
+
function xe(e) {
|
|
288
288
|
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
return
|
|
290
|
+
function Se(e) {
|
|
291
|
+
return xe(e) && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in e;
|
|
292
292
|
}
|
|
293
293
|
//#endregion
|
|
294
294
|
//#region node_modules/react-stately/dist/private/flags/flags.mjs
|
|
295
|
-
var
|
|
296
|
-
function
|
|
297
|
-
return
|
|
295
|
+
var Ce = !1;
|
|
296
|
+
function we() {
|
|
297
|
+
return Ce;
|
|
298
298
|
}
|
|
299
299
|
//#endregion
|
|
300
300
|
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
|
|
301
|
-
function
|
|
302
|
-
if (!
|
|
301
|
+
function U(e, t) {
|
|
302
|
+
if (!we()) return t && e ? e.contains(t) : !1;
|
|
303
303
|
if (!e || !t) return !1;
|
|
304
304
|
let n = t;
|
|
305
305
|
for (; n !== null;) {
|
|
306
306
|
if (n === e) return !0;
|
|
307
|
-
n = n.tagName === "SLOT" && n.assignedSlot ? n.assignedSlot.parentNode :
|
|
307
|
+
n = n.tagName === "SLOT" && n.assignedSlot ? n.assignedSlot.parentNode : Se(n) ? n.host : n.parentNode;
|
|
308
308
|
}
|
|
309
309
|
return !1;
|
|
310
310
|
}
|
|
311
|
-
var
|
|
312
|
-
if (!
|
|
311
|
+
var W = (e = document) => {
|
|
312
|
+
if (!we()) return e.activeElement;
|
|
313
313
|
let t = e.activeElement;
|
|
314
314
|
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
|
|
315
315
|
return t;
|
|
316
316
|
};
|
|
317
|
-
function
|
|
318
|
-
if (
|
|
317
|
+
function G(e) {
|
|
318
|
+
if (we() && e.target instanceof Element && e.target.shadowRoot) {
|
|
319
319
|
if ("composedPath" in e) return e.composedPath()[0] ?? null;
|
|
320
320
|
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
|
|
321
321
|
}
|
|
322
322
|
return e.target;
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Te(e) {
|
|
325
325
|
if (!e) return !1;
|
|
326
|
-
let t = e.getRootNode(), n =
|
|
326
|
+
let t = e.getRootNode(), n = be(e);
|
|
327
327
|
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
|
|
328
328
|
let r = t.activeElement;
|
|
329
329
|
return r != null && e.contains(r);
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
332
|
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
|
|
333
|
-
function
|
|
334
|
-
let t =
|
|
335
|
-
t !== e && (t &&
|
|
333
|
+
function Ee(e) {
|
|
334
|
+
let t = ke(H(e));
|
|
335
|
+
t !== e && (t && De(t, e), e && Oe(e, t));
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function De(e, t) {
|
|
338
338
|
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
|
|
339
339
|
bubbles: !0,
|
|
340
340
|
relatedTarget: t
|
|
341
341
|
}));
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Oe(e, t) {
|
|
344
344
|
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
|
|
345
345
|
bubbles: !0,
|
|
346
346
|
relatedTarget: t
|
|
347
347
|
}));
|
|
348
348
|
}
|
|
349
|
-
function
|
|
350
|
-
let t =
|
|
349
|
+
function ke(e) {
|
|
350
|
+
let t = W(e), n = t?.getAttribute("aria-activedescendant");
|
|
351
351
|
return n && e.getElementById(n) || t;
|
|
352
352
|
}
|
|
353
353
|
//#endregion
|
|
354
354
|
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
|
|
355
|
-
function
|
|
356
|
-
if (
|
|
355
|
+
function Ae(e) {
|
|
356
|
+
if (Me()) e.focus({ preventScroll: !0 });
|
|
357
357
|
else {
|
|
358
|
-
let t =
|
|
359
|
-
e.focus(),
|
|
358
|
+
let t = Ne(e);
|
|
359
|
+
e.focus(), Pe(t);
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
var
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
|
|
362
|
+
var je = null;
|
|
363
|
+
function Me() {
|
|
364
|
+
if (je == null) {
|
|
365
|
+
je = !1;
|
|
366
366
|
try {
|
|
367
367
|
document.createElement("div").focus({ get preventScroll() {
|
|
368
|
-
return
|
|
368
|
+
return je = !0, !0;
|
|
369
369
|
} });
|
|
370
370
|
} catch {}
|
|
371
371
|
}
|
|
372
|
-
return
|
|
372
|
+
return je;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function Ne(e) {
|
|
375
375
|
let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
|
|
376
376
|
for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
|
|
377
377
|
element: t,
|
|
@@ -384,14 +384,14 @@ function Pe(e) {
|
|
|
384
384
|
scrollLeft: r.scrollLeft
|
|
385
385
|
}), n;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Pe(e) {
|
|
388
388
|
for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;
|
|
389
389
|
}
|
|
390
390
|
//#endregion
|
|
391
391
|
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
|
|
392
|
-
var
|
|
393
|
-
function
|
|
394
|
-
let t =
|
|
392
|
+
var Fe = typeof Element < "u" && "checkVisibility" in Element.prototype;
|
|
393
|
+
function Ie(e) {
|
|
394
|
+
let t = be(e);
|
|
395
395
|
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
|
|
396
396
|
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
|
|
397
397
|
if (i) {
|
|
@@ -400,15 +400,15 @@ function Le(e) {
|
|
|
400
400
|
}
|
|
401
401
|
return i;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Le(e, t) {
|
|
404
404
|
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
return
|
|
406
|
+
function Re(e, t) {
|
|
407
|
+
return Fe ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Ie(e) && Le(e, t) && (!e.parentElement || Re(e.parentElement, e));
|
|
408
408
|
}
|
|
409
409
|
//#endregion
|
|
410
410
|
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
|
|
411
|
-
var
|
|
411
|
+
var ze = [
|
|
412
412
|
"input:not([disabled]):not([type=hidden])",
|
|
413
413
|
"select:not([disabled])",
|
|
414
414
|
"textarea:not([disabled])",
|
|
@@ -423,16 +423,16 @@ var Be = [
|
|
|
423
423
|
"video[controls]",
|
|
424
424
|
"[contenteditable]:not([contenteditable^=\"false\"])",
|
|
425
425
|
"permission"
|
|
426
|
-
],
|
|
427
|
-
|
|
428
|
-
var
|
|
429
|
-
function
|
|
430
|
-
return e.matches(
|
|
426
|
+
], Be = ze.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
|
|
427
|
+
ze.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
|
|
428
|
+
var Ve = ze.join(":not([hidden]):not([tabindex=\"-1\"]),");
|
|
429
|
+
function He(e, t) {
|
|
430
|
+
return e.matches(Be) && !We(e) && (t?.skipVisibilityCheck || Re(e));
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
return e.matches(
|
|
432
|
+
function Ue(e) {
|
|
433
|
+
return e.matches(Ve) && Re(e) && !We(e);
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function We(e) {
|
|
436
436
|
let t = e;
|
|
437
437
|
for (; t != null;) {
|
|
438
438
|
if (t instanceof t.ownerDocument.defaultView.HTMLElement && t.inert) return !0;
|
|
@@ -442,14 +442,14 @@ function Ge(e) {
|
|
|
442
442
|
}
|
|
443
443
|
//#endregion
|
|
444
444
|
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
|
|
445
|
-
function
|
|
445
|
+
function Ge(e) {
|
|
446
446
|
let t = e;
|
|
447
447
|
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Ke(e, t) {
|
|
450
450
|
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function qe(e) {
|
|
453
453
|
let t = f({
|
|
454
454
|
isFocused: !1,
|
|
455
455
|
observer: null
|
|
@@ -460,20 +460,20 @@ function Je(e) {
|
|
|
460
460
|
e.observer &&= (e.observer.disconnect(), null);
|
|
461
461
|
};
|
|
462
462
|
}, []), a((n) => {
|
|
463
|
-
let r =
|
|
463
|
+
let r = G(n);
|
|
464
464
|
if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {
|
|
465
465
|
t.current.isFocused = !0;
|
|
466
466
|
let n = r;
|
|
467
467
|
n.addEventListener("focusout", (r) => {
|
|
468
468
|
if (t.current.isFocused = !1, n.disabled) {
|
|
469
|
-
let t =
|
|
469
|
+
let t = Ge(r);
|
|
470
470
|
e?.(t);
|
|
471
471
|
}
|
|
472
472
|
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
|
|
473
473
|
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
|
|
474
474
|
if (t.current.isFocused && n.disabled) {
|
|
475
475
|
t.current.observer?.disconnect();
|
|
476
|
-
let e = n ===
|
|
476
|
+
let e = n === W() ? null : W();
|
|
477
477
|
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
|
|
478
478
|
bubbles: !0,
|
|
479
479
|
relatedTarget: e
|
|
@@ -486,83 +486,83 @@ function Je(e) {
|
|
|
486
486
|
}
|
|
487
487
|
}, [e]);
|
|
488
488
|
}
|
|
489
|
-
var
|
|
490
|
-
function
|
|
491
|
-
for (; e && !
|
|
492
|
-
let t =
|
|
489
|
+
var Je = !1;
|
|
490
|
+
function Ye(e) {
|
|
491
|
+
for (; e && !He(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
|
|
492
|
+
let t = be(e), n = t.document.activeElement;
|
|
493
493
|
if (!n || n === e) return;
|
|
494
|
-
|
|
494
|
+
Je = !0;
|
|
495
495
|
let r = !1, i = (e) => {
|
|
496
|
-
(
|
|
496
|
+
(G(e) === n || r) && e.stopImmediatePropagation();
|
|
497
497
|
}, a = (t) => {
|
|
498
|
-
(
|
|
498
|
+
(G(t) === n || r) && (t.stopImmediatePropagation(), !e && !r && (r = !0, Ae(n), c()));
|
|
499
499
|
}, o = (t) => {
|
|
500
|
-
(
|
|
500
|
+
(G(t) === e || r) && t.stopImmediatePropagation();
|
|
501
501
|
}, s = (t) => {
|
|
502
|
-
(
|
|
502
|
+
(G(t) === e || r) && (t.stopImmediatePropagation(), r || (r = !0, Ae(n), c()));
|
|
503
503
|
};
|
|
504
504
|
t.addEventListener("blur", i, !0), t.addEventListener("focusout", a, !0), t.addEventListener("focusin", s, !0), t.addEventListener("focus", o, !0);
|
|
505
505
|
let c = () => {
|
|
506
|
-
cancelAnimationFrame(l), t.removeEventListener("blur", i, !0), t.removeEventListener("focusout", a, !0), t.removeEventListener("focusin", s, !0), t.removeEventListener("focus", o, !0),
|
|
506
|
+
cancelAnimationFrame(l), t.removeEventListener("blur", i, !0), t.removeEventListener("focusout", a, !0), t.removeEventListener("focusin", s, !0), t.removeEventListener("focus", o, !0), Je = !1, r = !1;
|
|
507
507
|
}, l = requestAnimationFrame(c);
|
|
508
508
|
return c;
|
|
509
509
|
}
|
|
510
510
|
//#endregion
|
|
511
511
|
//#region node_modules/react-aria/dist/private/utils/platform.mjs
|
|
512
|
-
function
|
|
512
|
+
function Xe(e) {
|
|
513
513
|
if (typeof window > "u" || window.navigator == null) return !1;
|
|
514
514
|
let t = window.navigator.userAgentData?.brands;
|
|
515
515
|
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Ze(e) {
|
|
518
518
|
return typeof window < "u" && window.navigator != null ? e.test(window.navigator.userAgentData?.platform || window.navigator.platform) : !1;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Qe(e) {
|
|
521
521
|
if (process.env.NODE_ENV === "test") return e;
|
|
522
522
|
let t = null;
|
|
523
523
|
return () => (t ??= e(), t);
|
|
524
524
|
}
|
|
525
|
-
var
|
|
526
|
-
return
|
|
527
|
-
}),
|
|
528
|
-
return
|
|
529
|
-
}),
|
|
530
|
-
return
|
|
531
|
-
}),
|
|
532
|
-
return
|
|
533
|
-
}),
|
|
534
|
-
return
|
|
535
|
-
}),
|
|
536
|
-
return
|
|
537
|
-
}),
|
|
538
|
-
return
|
|
539
|
-
}),
|
|
540
|
-
return
|
|
541
|
-
}),
|
|
542
|
-
return
|
|
525
|
+
var $e = Qe(function() {
|
|
526
|
+
return Ze(/^Mac/i);
|
|
527
|
+
}), et = Qe(function() {
|
|
528
|
+
return Ze(/^iPhone/i);
|
|
529
|
+
}), tt = Qe(function() {
|
|
530
|
+
return Ze(/^iPad/i) || $e() && navigator.maxTouchPoints > 1;
|
|
531
|
+
}), nt = Qe(function() {
|
|
532
|
+
return et() || tt();
|
|
533
|
+
}), rt = Qe(function() {
|
|
534
|
+
return $e() || nt();
|
|
535
|
+
}), it = Qe(function() {
|
|
536
|
+
return Xe(/AppleWebKit/i) && !at();
|
|
537
|
+
}), at = Qe(function() {
|
|
538
|
+
return Xe(/Chrome/i);
|
|
539
|
+
}), ot = Qe(function() {
|
|
540
|
+
return Xe(/Android/i);
|
|
541
|
+
}), st = Qe(function() {
|
|
542
|
+
return Xe(/Firefox/i);
|
|
543
543
|
});
|
|
544
544
|
//#endregion
|
|
545
545
|
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
|
|
546
|
-
function
|
|
547
|
-
return e.pointerType === "" && e.isTrusted ? !0 :
|
|
546
|
+
function ct(e) {
|
|
547
|
+
return e.pointerType === "" && e.isTrusted ? !0 : ot() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
|
|
548
548
|
}
|
|
549
|
-
function
|
|
550
|
-
return !
|
|
549
|
+
function lt(e) {
|
|
550
|
+
return !ot() && e.width === 0 && e.height === 0 || e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
|
|
551
551
|
}
|
|
552
552
|
//#endregion
|
|
553
553
|
//#region node_modules/react-aria/dist/private/utils/openLink.mjs
|
|
554
|
-
var
|
|
554
|
+
var ut = /*#__PURE__*/ n({
|
|
555
555
|
isNative: !0,
|
|
556
|
-
open:
|
|
556
|
+
open: mt,
|
|
557
557
|
useHref: (e) => e
|
|
558
558
|
});
|
|
559
|
-
function
|
|
560
|
-
return o(
|
|
559
|
+
function dt() {
|
|
560
|
+
return o(ut);
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function ft(e, t, n = !0) {
|
|
563
563
|
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
|
|
564
|
-
|
|
565
|
-
let s =
|
|
564
|
+
st() && window.event?.type?.startsWith("key") && e.target === "_blank" && ($e() ? r = !0 : i = !0);
|
|
565
|
+
let s = it() && $e() && !tt() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
|
|
566
566
|
keyIdentifier: "Enter",
|
|
567
567
|
metaKey: r,
|
|
568
568
|
ctrlKey: i,
|
|
@@ -577,21 +577,21 @@ function pt(e, t, n = !0) {
|
|
|
577
577
|
bubbles: !0,
|
|
578
578
|
cancelable: !0
|
|
579
579
|
});
|
|
580
|
-
|
|
580
|
+
ft.isOpening = n, Ae(e), e.dispatchEvent(s), ft.isOpening = !1;
|
|
581
581
|
}
|
|
582
|
-
|
|
583
|
-
function
|
|
582
|
+
ft.isOpening = !1;
|
|
583
|
+
function pt(e, t) {
|
|
584
584
|
if (e instanceof HTMLAnchorElement) t(e);
|
|
585
585
|
else if (e.hasAttribute("data-href")) {
|
|
586
586
|
let n = document.createElement("a");
|
|
587
587
|
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
function
|
|
591
|
-
|
|
590
|
+
function mt(e, t) {
|
|
591
|
+
pt(e, (e) => ft(e, t));
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
let t =
|
|
593
|
+
function ht(e) {
|
|
594
|
+
let t = dt().useHref(e?.href ?? ""), n = {};
|
|
595
595
|
if (e) for (let r of [
|
|
596
596
|
"href",
|
|
597
597
|
"target",
|
|
@@ -604,64 +604,64 @@ function gt(e) {
|
|
|
604
604
|
}
|
|
605
605
|
//#endregion
|
|
606
606
|
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
|
|
607
|
-
var
|
|
607
|
+
var gt = null, _t = /* @__PURE__ */ new Set(), vt = /* @__PURE__ */ new Map(), yt = !1, bt = !1, xt = {
|
|
608
608
|
Tab: !0,
|
|
609
609
|
Escape: !0
|
|
610
610
|
};
|
|
611
|
-
function
|
|
612
|
-
for (let n of
|
|
611
|
+
function St(e, t) {
|
|
612
|
+
for (let n of _t) n(e, t);
|
|
613
|
+
}
|
|
614
|
+
function Ct(e) {
|
|
615
|
+
return !(e.metaKey || !$e() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
613
616
|
}
|
|
614
617
|
function wt(e) {
|
|
615
|
-
|
|
618
|
+
yt = !0, !ft.isOpening && Ct(e) && (gt = "keyboard", St("keyboard", e));
|
|
616
619
|
}
|
|
617
620
|
function Tt(e) {
|
|
618
|
-
|
|
621
|
+
gt = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (yt = !0, St("pointer", e));
|
|
619
622
|
}
|
|
620
623
|
function Et(e) {
|
|
621
|
-
|
|
624
|
+
!ft.isOpening && ct(e) && (yt = !0, gt = "virtual");
|
|
622
625
|
}
|
|
623
626
|
function Dt(e) {
|
|
624
|
-
|
|
627
|
+
let t = be(G(e)), n = H(G(e));
|
|
628
|
+
G(e) === t || G(e) === n || Je || !e.isTrusted || (!yt && !bt && (gt = "virtual", St("virtual", e)), yt = !1, bt = !1);
|
|
625
629
|
}
|
|
626
|
-
function Ot(
|
|
627
|
-
|
|
628
|
-
W(e) === t || W(e) === n || Ye || !e.isTrusted || (!bt && !xt && (_t = "virtual", Ct("virtual", e)), bt = !1, xt = !1);
|
|
630
|
+
function Ot() {
|
|
631
|
+
Je || (yt = !1, bt = !0);
|
|
629
632
|
}
|
|
630
|
-
function kt() {
|
|
631
|
-
Ye || (bt = !1, xt = !0);
|
|
632
|
-
}
|
|
633
|
-
function At(e) {
|
|
633
|
+
function kt(e) {
|
|
634
634
|
if (typeof window > "u" || typeof document > "u") return;
|
|
635
|
-
let t =
|
|
636
|
-
if (
|
|
635
|
+
let t = be(e), n = H(e);
|
|
636
|
+
if (vt.get(t)) return;
|
|
637
637
|
let r = t.HTMLElement.prototype.focus;
|
|
638
638
|
t.HTMLElement.prototype.focus = function() {
|
|
639
|
-
|
|
640
|
-
}, n.addEventListener("keydown",
|
|
641
|
-
|
|
642
|
-
}, { once: !0 }),
|
|
643
|
-
}
|
|
644
|
-
var
|
|
645
|
-
let n =
|
|
646
|
-
t && r.removeEventListener("DOMContentLoaded", t),
|
|
639
|
+
yt = !0, r.apply(this, arguments);
|
|
640
|
+
}, n.addEventListener("keydown", wt, !0), n.addEventListener("keyup", wt, !0), n.addEventListener("click", Et, !0), t.addEventListener("focus", Dt, !0), t.addEventListener("blur", Ot, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", Tt, !0), n.addEventListener("pointermove", Tt, !0), n.addEventListener("pointerup", Tt, !0)) : process.env.NODE_ENV === "test" && (n.addEventListener("mousedown", Tt, !0), n.addEventListener("mousemove", Tt, !0), n.addEventListener("mouseup", Tt, !0)), t.addEventListener("beforeunload", () => {
|
|
641
|
+
At(e);
|
|
642
|
+
}, { once: !0 }), vt.set(t, { focus: r });
|
|
643
|
+
}
|
|
644
|
+
var At = (e, t) => {
|
|
645
|
+
let n = be(e), r = H(e);
|
|
646
|
+
t && r.removeEventListener("DOMContentLoaded", t), vt.has(n) && (n.HTMLElement.prototype.focus = vt.get(n).focus, r.removeEventListener("keydown", wt, !0), r.removeEventListener("keyup", wt, !0), r.removeEventListener("click", Et, !0), n.removeEventListener("focus", Dt, !0), n.removeEventListener("blur", Ot, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", Tt, !0), r.removeEventListener("pointermove", Tt, !0), r.removeEventListener("pointerup", Tt, !0)) : process.env.NODE_ENV === "test" && (r.removeEventListener("mousedown", Tt, !0), r.removeEventListener("mousemove", Tt, !0), r.removeEventListener("mouseup", Tt, !0)), vt.delete(n));
|
|
647
647
|
};
|
|
648
|
-
function
|
|
649
|
-
let t =
|
|
648
|
+
function jt(e) {
|
|
649
|
+
let t = H(e), n;
|
|
650
650
|
return t.readyState === "loading" ? (n = () => {
|
|
651
|
-
|
|
652
|
-
}, t.addEventListener("DOMContentLoaded", n)) :
|
|
651
|
+
kt(e);
|
|
652
|
+
}, t.addEventListener("DOMContentLoaded", n)) : kt(e), () => At(e, n);
|
|
653
653
|
}
|
|
654
|
-
typeof document < "u" &&
|
|
655
|
-
function
|
|
656
|
-
return
|
|
654
|
+
typeof document < "u" && jt();
|
|
655
|
+
function Mt() {
|
|
656
|
+
return gt !== "pointer";
|
|
657
657
|
}
|
|
658
|
-
function
|
|
659
|
-
return
|
|
658
|
+
function Nt() {
|
|
659
|
+
return gt;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
662
|
-
|
|
661
|
+
function Pt(e) {
|
|
662
|
+
gt = e, St(e, null);
|
|
663
663
|
}
|
|
664
|
-
var
|
|
664
|
+
var Ft = new Set([
|
|
665
665
|
"checkbox",
|
|
666
666
|
"radio",
|
|
667
667
|
"range",
|
|
@@ -672,27 +672,27 @@ var It = new Set([
|
|
|
672
672
|
"submit",
|
|
673
673
|
"reset"
|
|
674
674
|
]);
|
|
675
|
-
function
|
|
676
|
-
let r = n ?
|
|
677
|
-
return e = e || u instanceof o && !
|
|
675
|
+
function It(e, t, n) {
|
|
676
|
+
let r = n ? G(n) : void 0, i = H(r), a = be(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = W(i);
|
|
677
|
+
return e = e || u instanceof o && !Ft.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !xt[n.key]);
|
|
678
678
|
}
|
|
679
|
-
function
|
|
680
|
-
|
|
679
|
+
function Lt(e, t, n) {
|
|
680
|
+
kt(), s(() => {
|
|
681
681
|
if (n?.enabled === !1) return;
|
|
682
682
|
let t = (t, r) => {
|
|
683
|
-
|
|
683
|
+
It(!!n?.isTextInput, t, r) && e(Mt());
|
|
684
684
|
};
|
|
685
|
-
return
|
|
686
|
-
|
|
685
|
+
return _t.add(t), () => {
|
|
686
|
+
_t.delete(t);
|
|
687
687
|
};
|
|
688
688
|
}, t);
|
|
689
689
|
}
|
|
690
690
|
//#endregion
|
|
691
691
|
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
|
|
692
|
-
function
|
|
693
|
-
return
|
|
692
|
+
function Rt(e) {
|
|
693
|
+
return $e() ? e.metaKey : e.ctrlKey;
|
|
694
694
|
}
|
|
695
|
-
var
|
|
695
|
+
var zt = new Set([
|
|
696
696
|
"checkbox",
|
|
697
697
|
"radio",
|
|
698
698
|
"range",
|
|
@@ -703,15 +703,15 @@ var Bt = new Set([
|
|
|
703
703
|
"submit",
|
|
704
704
|
"reset"
|
|
705
705
|
]);
|
|
706
|
-
function
|
|
707
|
-
return e instanceof HTMLInputElement && !
|
|
706
|
+
function Bt(e) {
|
|
707
|
+
return e instanceof HTMLInputElement && !zt.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
|
|
708
708
|
}
|
|
709
709
|
//#endregion
|
|
710
710
|
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
|
|
711
|
-
var
|
|
712
|
-
function
|
|
711
|
+
var Vt = e.useInsertionEffect ?? C;
|
|
712
|
+
function Ht(e) {
|
|
713
713
|
let t = f(null);
|
|
714
|
-
return
|
|
714
|
+
return Vt(() => {
|
|
715
715
|
t.current = e;
|
|
716
716
|
}, [e]), a((...e) => {
|
|
717
717
|
let n = t.current;
|
|
@@ -720,8 +720,8 @@ function Ut(e) {
|
|
|
720
720
|
}
|
|
721
721
|
//#endregion
|
|
722
722
|
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
|
|
723
|
-
function
|
|
724
|
-
let i =
|
|
723
|
+
function Ut(e, t, n, r) {
|
|
724
|
+
let i = Ht(n), a = n == null;
|
|
725
725
|
s(() => {
|
|
726
726
|
if (a || !e.current) return;
|
|
727
727
|
let n = e.current;
|
|
@@ -737,9 +737,9 @@ function Wt(e, t, n, r) {
|
|
|
737
737
|
}
|
|
738
738
|
//#endregion
|
|
739
739
|
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
|
|
740
|
-
function
|
|
740
|
+
function Wt(e, t) {
|
|
741
741
|
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
|
|
742
|
-
return n =
|
|
742
|
+
return n = I(n), i && r ? i = [...new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
|
|
743
743
|
id: n,
|
|
744
744
|
"aria-label": r,
|
|
745
745
|
"aria-labelledby": i
|
|
@@ -747,7 +747,7 @@ function Gt(e, t) {
|
|
|
747
747
|
}
|
|
748
748
|
//#endregion
|
|
749
749
|
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
|
|
750
|
-
var
|
|
750
|
+
var Gt = new Set([
|
|
751
751
|
"Arab",
|
|
752
752
|
"Syrc",
|
|
753
753
|
"Samr",
|
|
@@ -758,7 +758,7 @@ var Kt = new Set([
|
|
|
758
758
|
"Adlm",
|
|
759
759
|
"Rohg",
|
|
760
760
|
"Hebr"
|
|
761
|
-
]),
|
|
761
|
+
]), Kt = new Set([
|
|
762
762
|
"ae",
|
|
763
763
|
"ar",
|
|
764
764
|
"arc",
|
|
@@ -779,20 +779,20 @@ var Kt = new Set([
|
|
|
779
779
|
"ur",
|
|
780
780
|
"yi"
|
|
781
781
|
]);
|
|
782
|
-
function
|
|
782
|
+
function qt(e) {
|
|
783
783
|
if (Intl.Locale) {
|
|
784
784
|
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
|
|
785
785
|
if (n) return n.direction === "rtl";
|
|
786
|
-
if (t.script) return
|
|
786
|
+
if (t.script) return Gt.has(t.script);
|
|
787
787
|
}
|
|
788
788
|
let t = e.split("-")[0];
|
|
789
|
-
return
|
|
789
|
+
return Kt.has(t);
|
|
790
790
|
}
|
|
791
791
|
//#endregion
|
|
792
792
|
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
|
|
793
|
-
var
|
|
794
|
-
function
|
|
795
|
-
let e = typeof window < "u" && window[
|
|
793
|
+
var Jt = Symbol.for("react-aria.i18n.locale");
|
|
794
|
+
function Yt() {
|
|
795
|
+
let e = typeof window < "u" && window[Jt] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
|
|
796
796
|
try {
|
|
797
797
|
Intl.DateTimeFormat.supportedLocalesOf([e]);
|
|
798
798
|
} catch {
|
|
@@ -800,33 +800,33 @@ function Xt() {
|
|
|
800
800
|
}
|
|
801
801
|
return {
|
|
802
802
|
locale: e,
|
|
803
|
-
direction:
|
|
803
|
+
direction: qt(e) ? "rtl" : "ltr"
|
|
804
804
|
};
|
|
805
805
|
}
|
|
806
|
-
var
|
|
807
|
-
function
|
|
808
|
-
|
|
809
|
-
for (let e of
|
|
806
|
+
var Xt = Yt(), Zt = /* @__PURE__ */ new Set();
|
|
807
|
+
function Qt() {
|
|
808
|
+
Xt = Yt();
|
|
809
|
+
for (let e of Zt) e(Xt);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
812
|
-
let e = P(), [t, n] = p(
|
|
813
|
-
return s(() => (
|
|
814
|
-
|
|
811
|
+
function $t() {
|
|
812
|
+
let e = P(), [t, n] = p(Xt);
|
|
813
|
+
return s(() => (Zt.size === 0 && window.addEventListener("languagechange", Qt), Zt.add(n), () => {
|
|
814
|
+
Zt.delete(n), Zt.size === 0 && window.removeEventListener("languagechange", Qt);
|
|
815
815
|
}), []), e ? {
|
|
816
|
-
locale: typeof window < "u" && window[
|
|
816
|
+
locale: typeof window < "u" && window[Jt] || "en-US",
|
|
817
817
|
direction: "ltr"
|
|
818
818
|
} : t;
|
|
819
819
|
}
|
|
820
820
|
//#endregion
|
|
821
821
|
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
|
|
822
|
-
var
|
|
823
|
-
function
|
|
824
|
-
let e =
|
|
825
|
-
return o(
|
|
822
|
+
var en = /*#__PURE__*/ e.createContext(null);
|
|
823
|
+
function tn() {
|
|
824
|
+
let e = $t();
|
|
825
|
+
return o(en) || e;
|
|
826
826
|
}
|
|
827
827
|
//#endregion
|
|
828
828
|
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
|
|
829
|
-
var
|
|
829
|
+
var nn = Symbol.for("react-aria.i18n.locale"), rn = Symbol.for("react-aria.i18n.strings"), an = void 0, on = class e {
|
|
830
830
|
constructor(e, t = "en-US") {
|
|
831
831
|
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
|
|
832
832
|
}
|
|
@@ -837,35 +837,35 @@ var rn = Symbol.for("react-aria.i18n.locale"), an = Symbol.for("react-aria.i18n.
|
|
|
837
837
|
}
|
|
838
838
|
getStringsForLocale(e) {
|
|
839
839
|
let t = this.strings[e];
|
|
840
|
-
return t || (t =
|
|
840
|
+
return t || (t = sn(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
|
|
841
841
|
}
|
|
842
842
|
static getGlobalDictionaryForPackage(t) {
|
|
843
843
|
if (typeof window > "u") return null;
|
|
844
|
-
let n = window[
|
|
845
|
-
if (
|
|
846
|
-
let t = window[
|
|
844
|
+
let n = window[nn];
|
|
845
|
+
if (an === void 0) {
|
|
846
|
+
let t = window[rn];
|
|
847
847
|
if (!t) return null;
|
|
848
|
-
|
|
849
|
-
for (let r in t)
|
|
848
|
+
an = {};
|
|
849
|
+
for (let r in t) an[r] = new e({ [n]: t[r] }, n);
|
|
850
850
|
}
|
|
851
|
-
let r =
|
|
851
|
+
let r = an?.[t];
|
|
852
852
|
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
|
|
853
853
|
return r;
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
|
-
function
|
|
856
|
+
function sn(e, t, n = "en-US") {
|
|
857
857
|
if (t[e]) return t[e];
|
|
858
|
-
let r =
|
|
858
|
+
let r = cn(e);
|
|
859
859
|
if (t[r]) return t[r];
|
|
860
860
|
for (let e in t) if (e.startsWith(r + "-")) return t[e];
|
|
861
861
|
return t[n];
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function cn(e) {
|
|
864
864
|
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
|
|
865
865
|
}
|
|
866
866
|
//#endregion
|
|
867
867
|
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
|
|
868
|
-
var
|
|
868
|
+
var ln = /* @__PURE__ */ new Map(), un = /* @__PURE__ */ new Map(), dn = class {
|
|
869
869
|
constructor(e, t) {
|
|
870
870
|
this.locale = e, this.strings = t;
|
|
871
871
|
}
|
|
@@ -876,40 +876,40 @@ var un = /* @__PURE__ */ new Map(), dn = /* @__PURE__ */ new Map(), fn = class {
|
|
|
876
876
|
plural(e, t, n = "cardinal") {
|
|
877
877
|
let r = t["=" + e];
|
|
878
878
|
if (r) return typeof r == "function" ? r() : r;
|
|
879
|
-
let i = this.locale + ":" + n, a =
|
|
880
|
-
return a || (a = new Intl.PluralRules(this.locale, { type: n }),
|
|
879
|
+
let i = this.locale + ":" + n, a = ln.get(i);
|
|
880
|
+
return a || (a = new Intl.PluralRules(this.locale, { type: n }), ln.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
|
|
881
881
|
}
|
|
882
882
|
number(e) {
|
|
883
|
-
let t =
|
|
884
|
-
return t || (t = new Intl.NumberFormat(this.locale),
|
|
883
|
+
let t = un.get(this.locale);
|
|
884
|
+
return t || (t = new Intl.NumberFormat(this.locale), un.set(this.locale, t)), t.format(e);
|
|
885
885
|
}
|
|
886
886
|
select(e, t) {
|
|
887
887
|
let n = e[t] || e.other;
|
|
888
888
|
return typeof n == "function" ? n() : n;
|
|
889
889
|
}
|
|
890
|
-
},
|
|
891
|
-
function
|
|
892
|
-
let t =
|
|
893
|
-
return t || (t = new
|
|
890
|
+
}, fn = /* @__PURE__ */ new WeakMap();
|
|
891
|
+
function pn(e) {
|
|
892
|
+
let t = fn.get(e);
|
|
893
|
+
return t || (t = new on(e), fn.set(e, t)), t;
|
|
894
894
|
}
|
|
895
|
-
function
|
|
896
|
-
return t &&
|
|
895
|
+
function mn(e, t) {
|
|
896
|
+
return t && on.getGlobalDictionaryForPackage(t) || pn(e);
|
|
897
897
|
}
|
|
898
|
-
function
|
|
899
|
-
let { locale: n } =
|
|
900
|
-
return u(() => new
|
|
898
|
+
function hn(e, t) {
|
|
899
|
+
let { locale: n } = tn(), r = mn(e, t);
|
|
900
|
+
return u(() => new dn(n, r), [n, r]);
|
|
901
901
|
}
|
|
902
902
|
//#endregion
|
|
903
903
|
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
|
|
904
|
-
var
|
|
905
|
-
function
|
|
904
|
+
var gn = typeof document < "u" ? e.useInsertionEffect ?? e.useLayoutEffect : () => {};
|
|
905
|
+
function _n(e, t, n) {
|
|
906
906
|
let [r, i] = p(e || t), o = f(r), c = f(e !== void 0), l = e !== void 0;
|
|
907
907
|
s(() => {
|
|
908
908
|
let e = c.current;
|
|
909
909
|
e !== l && process.env.NODE_ENV !== "production" && console.warn(`WARN: A component changed from ${e ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}.`), c.current = l;
|
|
910
910
|
}, [l]);
|
|
911
911
|
let u = l ? e : r;
|
|
912
|
-
|
|
912
|
+
gn(() => {
|
|
913
913
|
o.current = u;
|
|
914
914
|
});
|
|
915
915
|
let [, m] = d(() => ({}), {});
|
|
@@ -920,7 +920,7 @@ function vn(e, t, n) {
|
|
|
920
920
|
}
|
|
921
921
|
//#endregion
|
|
922
922
|
//#region node_modules/react-aria-components/dist/private/Autocomplete.mjs
|
|
923
|
-
var
|
|
923
|
+
var vn = /*#__PURE__*/ n(null), yn = class {
|
|
924
924
|
constructor(e) {
|
|
925
925
|
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
|
|
926
926
|
}
|
|
@@ -935,21 +935,21 @@ var yn = /*#__PURE__*/ n(null), bn = class {
|
|
|
935
935
|
let r = this.clone();
|
|
936
936
|
return t.addDescendants(r, e), r;
|
|
937
937
|
}
|
|
938
|
-
},
|
|
938
|
+
}, bn = class extends yn {
|
|
939
939
|
filter(e, t, n) {
|
|
940
|
-
let [r, i] =
|
|
940
|
+
let [r, i] = Sn(e, t, this.firstChildKey, n), a = this.clone();
|
|
941
941
|
return a.firstChildKey = r, a.lastChildKey = i, a;
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
|
-
(class extends
|
|
944
|
+
(class extends yn {
|
|
945
945
|
static {
|
|
946
946
|
this.type = "header";
|
|
947
947
|
}
|
|
948
|
-
}), class extends
|
|
948
|
+
}), class extends yn {
|
|
949
949
|
static {
|
|
950
950
|
this.type = "loader";
|
|
951
951
|
}
|
|
952
|
-
}, class extends
|
|
952
|
+
}, class extends bn {
|
|
953
953
|
static {
|
|
954
954
|
this.type = "item";
|
|
955
955
|
}
|
|
@@ -960,7 +960,7 @@ var yn = /*#__PURE__*/ n(null), bn = class {
|
|
|
960
960
|
}
|
|
961
961
|
return null;
|
|
962
962
|
}
|
|
963
|
-
}, class extends
|
|
963
|
+
}, class extends bn {
|
|
964
964
|
static {
|
|
965
965
|
this.type = "section";
|
|
966
966
|
}
|
|
@@ -973,7 +973,7 @@ var yn = /*#__PURE__*/ n(null), bn = class {
|
|
|
973
973
|
return null;
|
|
974
974
|
}
|
|
975
975
|
};
|
|
976
|
-
var
|
|
976
|
+
var xn = class {
|
|
977
977
|
get size() {
|
|
978
978
|
return this.itemCount;
|
|
979
979
|
}
|
|
@@ -1048,14 +1048,14 @@ var Sn = class {
|
|
|
1048
1048
|
this.firstKey = e, this.lastKey = t, this.frozen = !n;
|
|
1049
1049
|
}
|
|
1050
1050
|
filter(e) {
|
|
1051
|
-
let t = new this.constructor(), [n, r] =
|
|
1051
|
+
let t = new this.constructor(), [n, r] = Sn(this, t, this.firstKey, e);
|
|
1052
1052
|
return t?.commit(n, r), t;
|
|
1053
1053
|
}
|
|
1054
1054
|
constructor() {
|
|
1055
1055
|
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
1056
1056
|
}
|
|
1057
1057
|
};
|
|
1058
|
-
function
|
|
1058
|
+
function Sn(e, t, n, r) {
|
|
1059
1059
|
if (n == null) return [null, null];
|
|
1060
1060
|
let i = null, a = null, o = e.getItem(n);
|
|
1061
1061
|
for (; o != null;) {
|
|
@@ -1070,7 +1070,7 @@ function Cn(e, t, n, r) {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
//#endregion
|
|
1072
1072
|
//#region node_modules/react-aria/dist/private/collections/Document.mjs
|
|
1073
|
-
var
|
|
1073
|
+
var Cn = class {
|
|
1074
1074
|
constructor(e) {
|
|
1075
1075
|
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
1076
1076
|
}
|
|
@@ -1151,7 +1151,7 @@ var wn = class {
|
|
|
1151
1151
|
for (; e && e.isHidden;) e = e.previousSibling;
|
|
1152
1152
|
return e;
|
|
1153
1153
|
}
|
|
1154
|
-
},
|
|
1154
|
+
}, wn = class e extends Cn {
|
|
1155
1155
|
constructor(e, t) {
|
|
1156
1156
|
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
|
|
1157
1157
|
}
|
|
@@ -1202,7 +1202,7 @@ var wn = class {
|
|
|
1202
1202
|
setAttribute() {}
|
|
1203
1203
|
setAttributeNS() {}
|
|
1204
1204
|
removeAttribute() {}
|
|
1205
|
-
},
|
|
1205
|
+
}, Tn = class extends Cn {
|
|
1206
1206
|
constructor(e) {
|
|
1207
1207
|
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
|
|
1208
1208
|
}
|
|
@@ -1210,7 +1210,7 @@ var wn = class {
|
|
|
1210
1210
|
return !0;
|
|
1211
1211
|
}
|
|
1212
1212
|
createElement(e) {
|
|
1213
|
-
return new
|
|
1213
|
+
return new wn(e, this);
|
|
1214
1214
|
}
|
|
1215
1215
|
getMutableCollection() {
|
|
1216
1216
|
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
|
|
@@ -1232,8 +1232,8 @@ var wn = class {
|
|
|
1232
1232
|
return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
1233
1233
|
}
|
|
1234
1234
|
updateCollection() {
|
|
1235
|
-
for (let e of this.dirtyNodes) e instanceof
|
|
1236
|
-
for (let e of this.dirtyNodes) e instanceof
|
|
1235
|
+
for (let e of this.dirtyNodes) e instanceof wn && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
|
|
1236
|
+
for (let e of this.dirtyNodes) e instanceof wn ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
|
|
1237
1237
|
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
|
|
1238
1238
|
}
|
|
1239
1239
|
queueUpdate() {
|
|
@@ -1252,13 +1252,13 @@ var wn = class {
|
|
|
1252
1252
|
};
|
|
1253
1253
|
//#endregion
|
|
1254
1254
|
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
|
|
1255
|
-
function
|
|
1255
|
+
function En(e) {
|
|
1256
1256
|
let { children: n, items: r, idScope: i, addIdAndValue: a, dependencies: o = [] } = e, s = u(() => process.env.NODE_ENV !== "production" && typeof n == "function" ? n.toString() : void 0, [n]), c = u(() => /* @__PURE__ */ new WeakMap(), [...o, s]);
|
|
1257
1257
|
return u(() => {
|
|
1258
1258
|
if (r && typeof n == "function") {
|
|
1259
1259
|
let e = [];
|
|
1260
1260
|
for (let o of r) {
|
|
1261
|
-
let r =
|
|
1261
|
+
let r = Dn(o) ? o : null, s = r ? c.get(r) : null;
|
|
1262
1262
|
if (!s) {
|
|
1263
1263
|
s = n(o);
|
|
1264
1264
|
let l = s.props.id ?? o?.key ?? o?.id;
|
|
@@ -1282,7 +1282,7 @@ function Dn(e) {
|
|
|
1282
1282
|
a
|
|
1283
1283
|
]);
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function Dn(e) {
|
|
1286
1286
|
switch (typeof e) {
|
|
1287
1287
|
case "object": return e != null;
|
|
1288
1288
|
case "function":
|
|
@@ -1292,57 +1292,57 @@ function On(e) {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
//#endregion
|
|
1294
1294
|
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
|
|
1295
|
-
var
|
|
1296
|
-
function
|
|
1295
|
+
var On = /* @__PURE__ */ new Map(), kn = /* @__PURE__ */ new Set();
|
|
1296
|
+
function An() {
|
|
1297
1297
|
if (typeof window > "u") return;
|
|
1298
1298
|
function e(e) {
|
|
1299
1299
|
return "propertyName" in e;
|
|
1300
1300
|
}
|
|
1301
1301
|
let t = (t) => {
|
|
1302
|
-
let r =
|
|
1302
|
+
let r = G(t);
|
|
1303
1303
|
if (!e(t) || !r) return;
|
|
1304
|
-
let i =
|
|
1305
|
-
i || (i = /* @__PURE__ */ new Set(),
|
|
1304
|
+
let i = On.get(r);
|
|
1305
|
+
i || (i = /* @__PURE__ */ new Set(), On.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
|
|
1306
1306
|
}, n = (t) => {
|
|
1307
|
-
let r =
|
|
1307
|
+
let r = G(t);
|
|
1308
1308
|
if (!e(t) || !r) return;
|
|
1309
|
-
let i =
|
|
1310
|
-
if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n),
|
|
1311
|
-
for (let e of
|
|
1312
|
-
|
|
1309
|
+
let i = On.get(r);
|
|
1310
|
+
if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), On.delete(r)), On.size === 0)) {
|
|
1311
|
+
for (let e of kn) e();
|
|
1312
|
+
kn.clear();
|
|
1313
1313
|
}
|
|
1314
1314
|
};
|
|
1315
1315
|
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
|
|
1316
1316
|
}
|
|
1317
|
-
typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
1318
|
-
function
|
|
1319
|
-
for (let [e] of
|
|
1317
|
+
typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", An) : An());
|
|
1318
|
+
function jn() {
|
|
1319
|
+
for (let [e] of On) "isConnected" in e && !e.isConnected && On.delete(e);
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function Mn(e) {
|
|
1322
1322
|
requestAnimationFrame(() => {
|
|
1323
|
-
|
|
1323
|
+
jn(), On.size === 0 ? e() : kn.add(e);
|
|
1324
1324
|
});
|
|
1325
1325
|
}
|
|
1326
1326
|
//#endregion
|
|
1327
1327
|
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
|
|
1328
|
-
function
|
|
1328
|
+
function Nn(e) {
|
|
1329
1329
|
if (!e.isConnected) return;
|
|
1330
|
-
let t =
|
|
1331
|
-
if (
|
|
1332
|
-
let n =
|
|
1333
|
-
|
|
1334
|
-
let r =
|
|
1335
|
-
(r === n || r === t.body) && e.isConnected &&
|
|
1330
|
+
let t = H(e);
|
|
1331
|
+
if (Nt() === "virtual") {
|
|
1332
|
+
let n = W(t);
|
|
1333
|
+
Mn(() => {
|
|
1334
|
+
let r = W(t);
|
|
1335
|
+
(r === n || r === t.body) && e.isConnected && Ae(e);
|
|
1336
1336
|
});
|
|
1337
|
-
} else
|
|
1337
|
+
} else Ae(e);
|
|
1338
1338
|
}
|
|
1339
1339
|
//#endregion
|
|
1340
1340
|
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
|
|
1341
|
-
function
|
|
1341
|
+
function Pn(e) {
|
|
1342
1342
|
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, o = a((e) => {
|
|
1343
|
-
if (
|
|
1344
|
-
}, [r, i]), s =
|
|
1345
|
-
let t =
|
|
1343
|
+
if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
|
|
1344
|
+
}, [r, i]), s = qe(o), c = a((e) => {
|
|
1345
|
+
let t = G(e), r = H(t), a = r ? W(r) : W();
|
|
1346
1346
|
t === e.currentTarget && t === a && (n && n(e), i && i(!0), s(e));
|
|
1347
1347
|
}, [
|
|
1348
1348
|
i,
|
|
@@ -1356,7 +1356,7 @@ function Fn(e) {
|
|
|
1356
1356
|
}
|
|
1357
1357
|
//#endregion
|
|
1358
1358
|
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
|
|
1359
|
-
function
|
|
1359
|
+
function Fn(e) {
|
|
1360
1360
|
if (!e) return;
|
|
1361
1361
|
let t = !0;
|
|
1362
1362
|
return (n) => {
|
|
@@ -1382,15 +1382,15 @@ function In(e) {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
//#endregion
|
|
1384
1384
|
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
|
|
1385
|
-
function
|
|
1385
|
+
function In(e) {
|
|
1386
1386
|
return { keyboardProps: e.isDisabled ? {} : {
|
|
1387
|
-
onKeyDown:
|
|
1388
|
-
onKeyUp:
|
|
1387
|
+
onKeyDown: Fn(e.onKeyDown),
|
|
1388
|
+
onKeyUp: Fn(e.onKeyUp)
|
|
1389
1389
|
} };
|
|
1390
1390
|
}
|
|
1391
1391
|
//#endregion
|
|
1392
1392
|
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
|
|
1393
|
-
function
|
|
1393
|
+
function Ln(e, t) {
|
|
1394
1394
|
C(() => {
|
|
1395
1395
|
if (e && e.ref && t) return e.ref.current = t.current, () => {
|
|
1396
1396
|
e.ref && (e.ref.current = null);
|
|
@@ -1399,20 +1399,20 @@ function Rn(e, t) {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
//#endregion
|
|
1401
1401
|
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
|
|
1402
|
-
var
|
|
1403
|
-
function
|
|
1404
|
-
let t = o(
|
|
1405
|
-
|
|
1402
|
+
var Rn = /*#__PURE__*/ e.createContext(null);
|
|
1403
|
+
function zn(e) {
|
|
1404
|
+
let t = o(Rn) || {};
|
|
1405
|
+
Ln(t, e);
|
|
1406
1406
|
let { ref: n, ...r } = t;
|
|
1407
1407
|
return r;
|
|
1408
1408
|
}
|
|
1409
|
-
function
|
|
1410
|
-
let { focusProps: n } =
|
|
1409
|
+
function Bn(e, t) {
|
|
1410
|
+
let { focusProps: n } = Pn(e), { keyboardProps: r } = In(e), i = z(n, r), a = zn(t), o = e.isDisabled ? {} : a, c = f(e.autoFocus);
|
|
1411
1411
|
s(() => {
|
|
1412
|
-
c.current && t.current &&
|
|
1412
|
+
c.current && t.current && Nn(t.current), c.current = !1;
|
|
1413
1413
|
}, [t]);
|
|
1414
1414
|
let l = e.excludeFromTabOrder ? -1 : 0;
|
|
1415
|
-
return e.isDisabled && (l = void 0), { focusableProps:
|
|
1415
|
+
return e.isDisabled && (l = void 0), { focusableProps: z({
|
|
1416
1416
|
...i,
|
|
1417
1417
|
tabIndex: l
|
|
1418
1418
|
}, o) };
|
|
@@ -1444,55 +1444,55 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
|
|
|
1444
1444
|
return this.content.insertBefore(e, t);
|
|
1445
1445
|
}
|
|
1446
1446
|
}));
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1449
|
-
if (o(
|
|
1450
|
-
let n = /*#__PURE__*/ e.createElement(
|
|
1447
|
+
var Vn = /*#__PURE__*/ n(!1);
|
|
1448
|
+
function Hn(t) {
|
|
1449
|
+
if (o(Vn)) return /*#__PURE__*/ e.createElement(e.Fragment, null, t.children);
|
|
1450
|
+
let n = /*#__PURE__*/ e.createElement(Vn.Provider, { value: !0 }, t.children);
|
|
1451
1451
|
return /*#__PURE__*/ e.createElement("template", null, n);
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1454
|
-
let t = (t, n) => o(
|
|
1453
|
+
function Un(e) {
|
|
1454
|
+
let t = (t, n) => o(Vn) ? null : e(t, n);
|
|
1455
1455
|
return t.displayName = e.displayName || e.name, r(t);
|
|
1456
1456
|
}
|
|
1457
1457
|
//#endregion
|
|
1458
1458
|
//#region node_modules/react-aria/dist/private/collections/CollectionBuilder.mjs
|
|
1459
|
-
var
|
|
1460
|
-
function
|
|
1461
|
-
if (o(
|
|
1462
|
-
let { collection: n, document: r } =
|
|
1463
|
-
return /*#__PURE__*/ e.createElement(e.Fragment, null, /*#__PURE__*/ e.createElement(
|
|
1459
|
+
var Wn = /*#__PURE__*/ n(!1), Gn = /*#__PURE__*/ n(null);
|
|
1460
|
+
function Kn(t) {
|
|
1461
|
+
if (o(Gn)) return t.content;
|
|
1462
|
+
let { collection: n, document: r } = Xn(t.createCollection);
|
|
1463
|
+
return /*#__PURE__*/ e.createElement(e.Fragment, null, /*#__PURE__*/ e.createElement(Hn, null, /*#__PURE__*/ e.createElement(Gn.Provider, { value: r }, t.content)), /*#__PURE__*/ e.createElement(qn, {
|
|
1464
1464
|
render: t.children,
|
|
1465
1465
|
collection: n
|
|
1466
1466
|
}));
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1468
|
+
function qn({ collection: e, render: t }) {
|
|
1469
1469
|
return t(e);
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function Jn(e, t, n) {
|
|
1472
1472
|
let r = P(), i = f(r);
|
|
1473
1473
|
return i.current = r, v(e, a(() => i.current ? n() : t(), [t, n]));
|
|
1474
1474
|
}
|
|
1475
|
-
var
|
|
1476
|
-
function
|
|
1477
|
-
let [t] = p(() => new
|
|
1475
|
+
var Yn = typeof e.useSyncExternalStore == "function" ? e.useSyncExternalStore : Jn;
|
|
1476
|
+
function Xn(e) {
|
|
1477
|
+
let [t] = p(() => new Tn(e?.() || new xn()));
|
|
1478
1478
|
return {
|
|
1479
|
-
collection:
|
|
1479
|
+
collection: Yn(a((e) => t.subscribe(e), [t]), a(() => {
|
|
1480
1480
|
let e = t.getCollection();
|
|
1481
1481
|
return t.isSSR && t.resetAfterSSR(), e;
|
|
1482
1482
|
}, [t]), a(() => (t.isSSR = !0, t.getCollection()), [t])),
|
|
1483
1483
|
document: t
|
|
1484
1484
|
};
|
|
1485
1485
|
}
|
|
1486
|
-
var
|
|
1487
|
-
function
|
|
1488
|
-
return class extends
|
|
1486
|
+
var Zn = /*#__PURE__*/ n(null);
|
|
1487
|
+
function Qn(e) {
|
|
1488
|
+
return class extends yn {
|
|
1489
1489
|
static {
|
|
1490
1490
|
this.type = e;
|
|
1491
1491
|
}
|
|
1492
1492
|
};
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1495
|
-
typeof t == "string" && (t =
|
|
1494
|
+
function $n(t, n, r, i, s, c) {
|
|
1495
|
+
typeof t == "string" && (t = Qn(t));
|
|
1496
1496
|
let l = a((e) => {
|
|
1497
1497
|
e?.setProps(n, r, t, i, c);
|
|
1498
1498
|
}, [
|
|
@@ -1501,58 +1501,58 @@ function er(t, n, r, i, s, c) {
|
|
|
1501
1501
|
i,
|
|
1502
1502
|
c,
|
|
1503
1503
|
t
|
|
1504
|
-
]), u = o(
|
|
1504
|
+
]), u = o(Zn);
|
|
1505
1505
|
if (u) {
|
|
1506
1506
|
let a = u.ownerDocument.nodesByProps.get(n);
|
|
1507
|
-
return a || (a = u.ownerDocument.createElement(t.type), a.setProps(n, r, t, i, c), u.appendChild(a), u.ownerDocument.updateCollection(), u.ownerDocument.nodesByProps.set(n, a)), s ? /*#__PURE__*/ e.createElement(
|
|
1507
|
+
return a || (a = u.ownerDocument.createElement(t.type), a.setProps(n, r, t, i, c), u.appendChild(a), u.ownerDocument.updateCollection(), u.ownerDocument.nodesByProps.set(n, a)), s ? /*#__PURE__*/ e.createElement(Zn.Provider, { value: a }, s) : null;
|
|
1508
1508
|
}
|
|
1509
1509
|
return /*#__PURE__*/ e.createElement(t.type, { ref: l }, s);
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function er(t, n) {
|
|
1512
1512
|
let i = ({ node: e }) => n(e.props, e.props.ref, e), a = r((r, a) => {
|
|
1513
|
-
let s = o(
|
|
1514
|
-
if (!o(
|
|
1513
|
+
let s = o(Rn);
|
|
1514
|
+
if (!o(Wn)) {
|
|
1515
1515
|
if (n.length >= 3) throw Error(n.name + " cannot be rendered outside a collection.");
|
|
1516
1516
|
return n(r, a);
|
|
1517
1517
|
}
|
|
1518
|
-
return
|
|
1518
|
+
return $n(t, r, a, "children" in r ? r.children : null, null, (t) => /*#__PURE__*/ e.createElement(Rn.Provider, { value: s }, /*#__PURE__*/ e.createElement(i, { node: t })));
|
|
1519
1519
|
});
|
|
1520
1520
|
return a.displayName = n.name, a;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1523
|
-
return
|
|
1522
|
+
function tr(e) {
|
|
1523
|
+
return En({
|
|
1524
1524
|
...e,
|
|
1525
1525
|
addIdAndValue: !0
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
|
-
var
|
|
1529
|
-
function
|
|
1530
|
-
let n = o(
|
|
1528
|
+
var nr = /*#__PURE__*/ n(null);
|
|
1529
|
+
function rr(t) {
|
|
1530
|
+
let n = o(nr), r = (n?.dependencies || []).concat(t.dependencies), i = t.idScope ?? n?.idScope, a = tr({
|
|
1531
1531
|
...t,
|
|
1532
1532
|
idScope: i,
|
|
1533
1533
|
dependencies: r
|
|
1534
1534
|
});
|
|
1535
|
-
return o(
|
|
1535
|
+
return o(Gn) && (a = /*#__PURE__*/ e.createElement(ir, null, a)), n = u(() => ({
|
|
1536
1536
|
dependencies: r,
|
|
1537
1537
|
idScope: i
|
|
1538
|
-
}), [i, ...r]), /*#__PURE__*/ e.createElement(
|
|
1538
|
+
}), [i, ...r]), /*#__PURE__*/ e.createElement(nr.Provider, { value: n }, a);
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1541
|
-
let n = o(
|
|
1542
|
-
return P() ? /*#__PURE__*/ e.createElement(
|
|
1540
|
+
function ir({ children: t }) {
|
|
1541
|
+
let n = o(Gn), r = u(() => /*#__PURE__*/ e.createElement(Gn.Provider, { value: null }, /*#__PURE__*/ e.createElement(Wn.Provider, { value: !0 }, t)), [t]);
|
|
1542
|
+
return P() ? /*#__PURE__*/ e.createElement(Zn.Provider, { value: n }, r) : /*#__PURE__*/ g(r, n);
|
|
1543
1543
|
}
|
|
1544
1544
|
//#endregion
|
|
1545
1545
|
//#region node_modules/react-aria-components/dist/private/Collection.mjs
|
|
1546
|
-
var
|
|
1546
|
+
var ar = {
|
|
1547
1547
|
CollectionRoot({ collection: e, renderDropIndicator: t }) {
|
|
1548
|
-
return
|
|
1548
|
+
return or(e, null, t);
|
|
1549
1549
|
},
|
|
1550
1550
|
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
|
|
1551
|
-
return
|
|
1551
|
+
return or(e, t, n);
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
|
-
function
|
|
1555
|
-
return
|
|
1554
|
+
function or(t, n, r) {
|
|
1555
|
+
return En({
|
|
1556
1556
|
items: n ? t.getChildren(n.key) : t,
|
|
1557
1557
|
dependencies: [r],
|
|
1558
1558
|
children(n) {
|
|
@@ -1562,11 +1562,11 @@ function sr(t, n, r) {
|
|
|
1562
1562
|
type: "item",
|
|
1563
1563
|
key: n.key,
|
|
1564
1564
|
dropPosition: "before"
|
|
1565
|
-
}), i,
|
|
1565
|
+
}), i, sr(t, n, r));
|
|
1566
1566
|
}
|
|
1567
1567
|
});
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1569
|
+
function sr(e, n, r) {
|
|
1570
1570
|
let a = n.key, o = e.getKeyAfter(a), s = o == null ? null : e.getItem(o);
|
|
1571
1571
|
for (; s != null && s.type !== "item";) o = e.getKeyAfter(s.key), s = o == null ? null : e.getItem(o);
|
|
1572
1572
|
let c = n.nextKey == null ? null : e.getItem(n.nextKey);
|
|
@@ -1585,18 +1585,18 @@ function cr(e, n, r) {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
return l;
|
|
1587
1587
|
}
|
|
1588
|
-
var
|
|
1589
|
-
function
|
|
1588
|
+
var cr = /*#__PURE__*/ n(ar);
|
|
1589
|
+
function lr(e) {
|
|
1590
1590
|
return u(() => e == null ? null : new Set([e]), [e]);
|
|
1591
1591
|
}
|
|
1592
1592
|
//#endregion
|
|
1593
1593
|
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
|
|
1594
|
-
var
|
|
1594
|
+
var ur = new Set(["id"]), dr = new Set([
|
|
1595
1595
|
"aria-label",
|
|
1596
1596
|
"aria-labelledby",
|
|
1597
1597
|
"aria-describedby",
|
|
1598
1598
|
"aria-details"
|
|
1599
|
-
]),
|
|
1599
|
+
]), fr = new Set([
|
|
1600
1600
|
"href",
|
|
1601
1601
|
"hrefLang",
|
|
1602
1602
|
"target",
|
|
@@ -1604,25 +1604,25 @@ var dr = new Set(["id"]), fr = new Set([
|
|
|
1604
1604
|
"download",
|
|
1605
1605
|
"ping",
|
|
1606
1606
|
"referrerPolicy"
|
|
1607
|
-
]),
|
|
1607
|
+
]), pr = new Set([
|
|
1608
1608
|
"dir",
|
|
1609
1609
|
"lang",
|
|
1610
1610
|
"hidden",
|
|
1611
1611
|
"inert",
|
|
1612
1612
|
"translate"
|
|
1613
|
-
]),
|
|
1614
|
-
function
|
|
1613
|
+
]), mr = new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), hr = /^(data-.*)$/;
|
|
1614
|
+
function gr(e, t = {}) {
|
|
1615
1615
|
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
|
|
1616
|
-
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (
|
|
1616
|
+
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ur.has(t) || n && dr.has(t) || r && fr.has(t) || i && pr.has(t) || a && (mr.has(t) || t.endsWith("Capture") && mr.has(t.slice(0, -7))) || o?.has(t) || hr.test(t)) && (s[t] = e[t]);
|
|
1617
1617
|
return s;
|
|
1618
1618
|
}
|
|
1619
1619
|
//#endregion
|
|
1620
1620
|
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
|
|
1621
1621
|
var _r = "default", vr = "", yr = /* @__PURE__ */ new WeakMap();
|
|
1622
1622
|
function br(e) {
|
|
1623
|
-
if (
|
|
1623
|
+
if (nt()) {
|
|
1624
1624
|
if (_r === "default") {
|
|
1625
|
-
let t =
|
|
1625
|
+
let t = H(e);
|
|
1626
1626
|
vr = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
|
|
1627
1627
|
}
|
|
1628
1628
|
_r = "disabled";
|
|
@@ -1632,12 +1632,12 @@ function br(e) {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
function xr(e) {
|
|
1635
|
-
if (
|
|
1635
|
+
if (nt()) {
|
|
1636
1636
|
if (_r !== "disabled") return;
|
|
1637
1637
|
_r = "restoring", setTimeout(() => {
|
|
1638
|
-
|
|
1638
|
+
Mn(() => {
|
|
1639
1639
|
if (_r === "restoring") {
|
|
1640
|
-
let t =
|
|
1640
|
+
let t = H(e);
|
|
1641
1641
|
t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = vr || ""), vr = "", _r = "default";
|
|
1642
1642
|
}
|
|
1643
1643
|
});
|
|
@@ -1657,7 +1657,7 @@ function wr(e) {
|
|
|
1657
1657
|
let t = e ?? (typeof document < "u" ? document : void 0);
|
|
1658
1658
|
if (!t) return Sr(t);
|
|
1659
1659
|
if (Cr.has(t)) return Cr.get(t);
|
|
1660
|
-
let n = t.querySelector("meta[property=\"csp-nonce\"]"), r = n && n instanceof
|
|
1660
|
+
let n = t.querySelector("meta[property=\"csp-nonce\"]"), r = n && n instanceof be(n).HTMLMetaElement && (n.nonce || n.content) || Sr(t) || void 0;
|
|
1661
1661
|
return r !== void 0 && Cr.set(t, r), r;
|
|
1662
1662
|
}
|
|
1663
1663
|
//#endregion
|
|
@@ -1697,9 +1697,9 @@ function Dr(e) {
|
|
|
1697
1697
|
let t = o(Tr);
|
|
1698
1698
|
if (t) {
|
|
1699
1699
|
let { register: n, ref: r, ...i } = t;
|
|
1700
|
-
e =
|
|
1700
|
+
e = z(i, e), n();
|
|
1701
1701
|
}
|
|
1702
|
-
return
|
|
1702
|
+
return Ln(t, e.ref), e;
|
|
1703
1703
|
}
|
|
1704
1704
|
var Or = class {
|
|
1705
1705
|
#e;
|
|
@@ -1758,7 +1758,7 @@ function Mr(e) {
|
|
|
1758
1758
|
i,
|
|
1759
1759
|
n,
|
|
1760
1760
|
t
|
|
1761
|
-
]), O =
|
|
1761
|
+
]), O = Ht(D), k = Ht(a((e, t) => {
|
|
1762
1762
|
let n = C.current;
|
|
1763
1763
|
if (l) return !1;
|
|
1764
1764
|
if (o) {
|
|
@@ -1778,7 +1778,7 @@ function Mr(e) {
|
|
|
1778
1778
|
g,
|
|
1779
1779
|
T,
|
|
1780
1780
|
D
|
|
1781
|
-
]), j =
|
|
1781
|
+
]), j = Ht(A);
|
|
1782
1782
|
s(() => {
|
|
1783
1783
|
l && C.current.isPressed && j({
|
|
1784
1784
|
currentTarget: C.current.target,
|
|
@@ -1795,25 +1795,25 @@ function Mr(e) {
|
|
|
1795
1795
|
}, [l, c]), ee = a((e, t) => {
|
|
1796
1796
|
if (!l && c) {
|
|
1797
1797
|
let n = new MouseEvent("click", e);
|
|
1798
|
-
|
|
1798
|
+
Ke(n, t), c(Ge(n));
|
|
1799
1799
|
}
|
|
1800
1800
|
}, [l, c]), te = u(() => {
|
|
1801
1801
|
let e = C.current, t = {
|
|
1802
1802
|
onKeyDown(t) {
|
|
1803
|
-
if (Pr(t.nativeEvent, t.currentTarget) &&
|
|
1804
|
-
Ur(
|
|
1803
|
+
if (Pr(t.nativeEvent, t.currentTarget) && U(t.currentTarget, G(t))) {
|
|
1804
|
+
Ur(G(t), t.key) && t.preventDefault();
|
|
1805
1805
|
let r = !0;
|
|
1806
1806
|
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = E(t, "keyboard"));
|
|
1807
1807
|
let i = t.currentTarget;
|
|
1808
|
-
w(
|
|
1809
|
-
Pr(t, i) && !t.repeat &&
|
|
1810
|
-
}, n), !0), r && t.stopPropagation(), t.metaKey &&
|
|
1808
|
+
w(H(t.currentTarget), "keyup", S((t) => {
|
|
1809
|
+
Pr(t, i) && !t.repeat && U(i, G(t)) && e.target && k(Rr(e.target, t), "keyboard");
|
|
1810
|
+
}, n), !0), r && t.stopPropagation(), t.metaKey && $e() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
|
|
1811
1811
|
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
|
|
1812
1812
|
},
|
|
1813
1813
|
onClick(t) {
|
|
1814
|
-
if (!(t && !
|
|
1814
|
+
if (!(t && !U(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !ft.isOpening) {
|
|
1815
1815
|
let n = !0;
|
|
1816
|
-
if (l && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" ||
|
|
1816
|
+
if (l && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || ct(t.nativeEvent))) {
|
|
1817
1817
|
let e = E(t, "virtual"), r = k(t, "virtual"), i = O(t, "virtual");
|
|
1818
1818
|
N(t), n = e && r && i;
|
|
1819
1819
|
} else if (e.isPressed && e.pointerType !== "keyboard") {
|
|
@@ -1825,9 +1825,9 @@ function Mr(e) {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
}, n = (t) => {
|
|
1827
1827
|
if (e.isPressed && e.target && Pr(t, e.target)) {
|
|
1828
|
-
Ur(
|
|
1829
|
-
let n =
|
|
1830
|
-
O(Rr(e.target, t), "keyboard", r), r && ee(t, e.target), T(), t.key !== "Enter" && Nr(e.target) &&
|
|
1828
|
+
Ur(G(t), t.key) && t.preventDefault();
|
|
1829
|
+
let n = G(t), r = U(e.target, n);
|
|
1830
|
+
O(Rr(e.target, t), "keyboard", r), r && ee(t, e.target), T(), t.key !== "Enter" && Nr(e.target) && U(e.target, n) && !t[kr] && (t[kr] = !0, ft(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
|
|
1831
1831
|
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
|
|
1832
1832
|
let t = e.metaKeyEvents;
|
|
1833
1833
|
e.metaKeyEvents = void 0;
|
|
@@ -1836,8 +1836,8 @@ function Mr(e) {
|
|
|
1836
1836
|
};
|
|
1837
1837
|
if (typeof PointerEvent < "u") {
|
|
1838
1838
|
t.onPointerDown = (t) => {
|
|
1839
|
-
if (t.button !== 0 || !
|
|
1840
|
-
if (
|
|
1839
|
+
if (t.button !== 0 || !U(t.currentTarget, G(t))) return;
|
|
1840
|
+
if (lt(t.nativeEvent)) {
|
|
1841
1841
|
e.pointerType = "virtual";
|
|
1842
1842
|
return;
|
|
1843
1843
|
}
|
|
@@ -1845,20 +1845,20 @@ function Mr(e) {
|
|
|
1845
1845
|
let i = !0;
|
|
1846
1846
|
if (!e.isPressed) {
|
|
1847
1847
|
e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, g || br(e.target), i = E(t, e.pointerType);
|
|
1848
|
-
let a =
|
|
1849
|
-
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), w(
|
|
1848
|
+
let a = G(t);
|
|
1849
|
+
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), w(H(t.currentTarget), "pointerup", n, !1), w(H(t.currentTarget), "pointercancel", r, !1);
|
|
1850
1850
|
}
|
|
1851
1851
|
i && t.stopPropagation();
|
|
1852
1852
|
}, t.onMouseDown = (t) => {
|
|
1853
|
-
if (
|
|
1853
|
+
if (U(t.currentTarget, G(t)) && t.button === 0) {
|
|
1854
1854
|
if (m) {
|
|
1855
|
-
let n =
|
|
1855
|
+
let n = Ye(t.target);
|
|
1856
1856
|
n && e.disposables.push(n);
|
|
1857
1857
|
}
|
|
1858
1858
|
t.stopPropagation();
|
|
1859
1859
|
}
|
|
1860
1860
|
}, t.onPointerUp = (t) => {
|
|
1861
|
-
!
|
|
1861
|
+
!U(t.currentTarget, G(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && k(t, e.pointerType || t.pointerType);
|
|
1862
1862
|
}, t.onPointerEnter = (t) => {
|
|
1863
1863
|
t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, E(Rr(e.target, t), e.pointerType));
|
|
1864
1864
|
}, t.onPointerLeave = (t) => {
|
|
@@ -1866,9 +1866,9 @@ function Mr(e) {
|
|
|
1866
1866
|
};
|
|
1867
1867
|
let n = (t) => {
|
|
1868
1868
|
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
|
|
1869
|
-
if (
|
|
1869
|
+
if (U(e.target, G(t)) && e.pointerType != null) {
|
|
1870
1870
|
let n = !1, r = setTimeout(() => {
|
|
1871
|
-
e.isPressed && e.target instanceof HTMLElement && (n ? j(t) : (
|
|
1871
|
+
e.isPressed && e.target instanceof HTMLElement && (n ? j(t) : (Ae(e.target), e.target.click()));
|
|
1872
1872
|
}, 80);
|
|
1873
1873
|
w(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
|
|
1874
1874
|
} else j(t);
|
|
@@ -1878,31 +1878,31 @@ function Mr(e) {
|
|
|
1878
1878
|
j(e);
|
|
1879
1879
|
};
|
|
1880
1880
|
t.onDragStart = (e) => {
|
|
1881
|
-
|
|
1881
|
+
U(e.currentTarget, G(e)) && j(e);
|
|
1882
1882
|
};
|
|
1883
1883
|
} else if (process.env.NODE_ENV === "test") {
|
|
1884
1884
|
t.onMouseDown = (t) => {
|
|
1885
|
-
if (!(t.button !== 0 || !
|
|
1885
|
+
if (!(t.button !== 0 || !U(t.currentTarget, G(t)))) {
|
|
1886
1886
|
if (e.ignoreEmulatedMouseEvents) {
|
|
1887
1887
|
t.stopPropagation();
|
|
1888
1888
|
return;
|
|
1889
1889
|
}
|
|
1890
|
-
if (e.isPressed = !0, e.isOverTarget = !0, e.target = t.currentTarget, e.pointerType =
|
|
1891
|
-
let n =
|
|
1890
|
+
if (e.isPressed = !0, e.isOverTarget = !0, e.target = t.currentTarget, e.pointerType = ct(t.nativeEvent) ? "virtual" : "mouse", _(() => E(t, e.pointerType)) && t.stopPropagation(), m) {
|
|
1891
|
+
let n = Ye(t.target);
|
|
1892
1892
|
n && e.disposables.push(n);
|
|
1893
1893
|
}
|
|
1894
|
-
w(
|
|
1894
|
+
w(H(t.currentTarget), "mouseup", n, !1);
|
|
1895
1895
|
}
|
|
1896
1896
|
}, t.onMouseEnter = (t) => {
|
|
1897
|
-
if (!
|
|
1897
|
+
if (!U(t.currentTarget, G(t))) return;
|
|
1898
1898
|
let n = !0;
|
|
1899
1899
|
e.isPressed && !e.ignoreEmulatedMouseEvents && e.pointerType != null && (e.isOverTarget = !0, n = E(t, e.pointerType)), n && t.stopPropagation();
|
|
1900
1900
|
}, t.onMouseLeave = (t) => {
|
|
1901
|
-
if (!
|
|
1901
|
+
if (!U(t.currentTarget, G(t))) return;
|
|
1902
1902
|
let n = !0;
|
|
1903
1903
|
e.isPressed && !e.ignoreEmulatedMouseEvents && e.pointerType != null && (e.isOverTarget = !1, n = O(t, e.pointerType, !1), M(t)), n && t.stopPropagation();
|
|
1904
1904
|
}, t.onMouseUp = (t) => {
|
|
1905
|
-
|
|
1905
|
+
U(t.currentTarget, G(t)) && !e.ignoreEmulatedMouseEvents && t.button === 0 && !e.isPressed && k(t, e.pointerType || "mouse");
|
|
1906
1906
|
};
|
|
1907
1907
|
let n = (t) => {
|
|
1908
1908
|
if (t.button === 0) {
|
|
@@ -1910,15 +1910,15 @@ function Mr(e) {
|
|
|
1910
1910
|
e.ignoreEmulatedMouseEvents = !1;
|
|
1911
1911
|
return;
|
|
1912
1912
|
}
|
|
1913
|
-
e.target &&
|
|
1913
|
+
e.target && U(e.target, G(t)) && e.pointerType != null || j(t), e.isOverTarget = !1;
|
|
1914
1914
|
}
|
|
1915
1915
|
};
|
|
1916
1916
|
t.onTouchStart = (t) => {
|
|
1917
|
-
if (!
|
|
1917
|
+
if (!U(t.currentTarget, G(t))) return;
|
|
1918
1918
|
let n = Fr(t.nativeEvent);
|
|
1919
|
-
n && (e.activePointerId = n.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = t.currentTarget, e.pointerType = "touch", g || br(e.target), E(Lr(e.target, t), e.pointerType) && t.stopPropagation(), w(
|
|
1919
|
+
n && (e.activePointerId = n.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = t.currentTarget, e.pointerType = "touch", g || br(e.target), E(Lr(e.target, t), e.pointerType) && t.stopPropagation(), w(be(t.currentTarget), "scroll", r, !0));
|
|
1920
1920
|
}, t.onTouchMove = (t) => {
|
|
1921
|
-
if (!
|
|
1921
|
+
if (!U(t.currentTarget, G(t))) return;
|
|
1922
1922
|
if (!e.isPressed) {
|
|
1923
1923
|
t.stopPropagation();
|
|
1924
1924
|
return;
|
|
@@ -1926,7 +1926,7 @@ function Mr(e) {
|
|
|
1926
1926
|
let n = Ir(t.nativeEvent, e.activePointerId), r = !0;
|
|
1927
1927
|
n && Vr(n, t.currentTarget) ? !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, r = E(Lr(e.target, t), e.pointerType)) : e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, r = O(Lr(e.target, t), e.pointerType, !1), M(Lr(e.target, t))), r && t.stopPropagation();
|
|
1928
1928
|
}, t.onTouchEnd = (t) => {
|
|
1929
|
-
if (!
|
|
1929
|
+
if (!U(t.currentTarget, G(t))) return;
|
|
1930
1930
|
if (!e.isPressed) {
|
|
1931
1931
|
t.stopPropagation();
|
|
1932
1932
|
return;
|
|
@@ -1934,10 +1934,10 @@ function Mr(e) {
|
|
|
1934
1934
|
let n = Ir(t.nativeEvent, e.activePointerId), r = !0;
|
|
1935
1935
|
n && Vr(n, t.currentTarget) && e.pointerType != null ? (k(Lr(e.target, t), e.pointerType), r = O(Lr(e.target, t), e.pointerType), ee(t.nativeEvent, e.target)) : e.isOverTarget && e.pointerType != null && (r = O(Lr(e.target, t), e.pointerType, !1)), r && t.stopPropagation(), e.isPressed = !1, e.activePointerId = null, e.isOverTarget = !1, e.ignoreEmulatedMouseEvents = !0, e.target && !g && xr(e.target), T();
|
|
1936
1936
|
}, t.onTouchCancel = (t) => {
|
|
1937
|
-
|
|
1937
|
+
U(t.currentTarget, G(t)) && (t.stopPropagation(), e.isPressed && j(Lr(e.target, t)));
|
|
1938
1938
|
};
|
|
1939
1939
|
let r = (t) => {
|
|
1940
|
-
e.isPressed &&
|
|
1940
|
+
e.isPressed && U(G(t), e.target) && j({
|
|
1941
1941
|
currentTarget: e.target,
|
|
1942
1942
|
shiftKey: !1,
|
|
1943
1943
|
ctrlKey: !1,
|
|
@@ -1946,7 +1946,7 @@ function Mr(e) {
|
|
|
1946
1946
|
});
|
|
1947
1947
|
};
|
|
1948
1948
|
t.onDragStart = (e) => {
|
|
1949
|
-
|
|
1949
|
+
U(e.currentTarget, G(e)) && j(e);
|
|
1950
1950
|
};
|
|
1951
1951
|
}
|
|
1952
1952
|
return t;
|
|
@@ -1963,7 +1963,7 @@ function Mr(e) {
|
|
|
1963
1963
|
]);
|
|
1964
1964
|
return s(() => {
|
|
1965
1965
|
if (!v || process.env.NODE_ENV === "test") return;
|
|
1966
|
-
let e =
|
|
1966
|
+
let e = H(v.current);
|
|
1967
1967
|
if (!e || !e.head || e.getElementById(Ar)) return;
|
|
1968
1968
|
let t = e.createElement("style");
|
|
1969
1969
|
t.id = Ar;
|
|
@@ -1984,7 +1984,7 @@ function Mr(e) {
|
|
|
1984
1984
|
};
|
|
1985
1985
|
}, [g]), {
|
|
1986
1986
|
isPressed: d || b,
|
|
1987
|
-
pressProps:
|
|
1987
|
+
pressProps: z(y, te, { [jr]: !0 })
|
|
1988
1988
|
};
|
|
1989
1989
|
}
|
|
1990
1990
|
function Nr(e) {
|
|
@@ -1992,7 +1992,7 @@ function Nr(e) {
|
|
|
1992
1992
|
}
|
|
1993
1993
|
function Pr(e, t) {
|
|
1994
1994
|
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
|
|
1995
|
-
return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof
|
|
1995
|
+
return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof be(i).HTMLInputElement && !Gr(i, n) || i instanceof be(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Nr(i)) && n !== "Enter");
|
|
1996
1996
|
}
|
|
1997
1997
|
function Fr(e) {
|
|
1998
1998
|
let { targetTouches: t } = e;
|
|
@@ -2070,23 +2070,23 @@ function Gr(e, t) {
|
|
|
2070
2070
|
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
|
|
2071
2071
|
function Kr(e) {
|
|
2072
2072
|
let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, o = f({ isFocusWithin: !1 }), { addGlobalListener: s, removeAllGlobalListeners: c } = Er(), l = a((e) => {
|
|
2073
|
-
|
|
2073
|
+
U(e.currentTarget, G(e)) && o.current.isFocusWithin && !U(e.currentTarget, e.relatedTarget) && (o.current.isFocusWithin = !1, c(), n && n(e), i && i(!1));
|
|
2074
2074
|
}, [
|
|
2075
2075
|
n,
|
|
2076
2076
|
i,
|
|
2077
2077
|
o,
|
|
2078
2078
|
c
|
|
2079
|
-
]), u =
|
|
2080
|
-
if (!
|
|
2081
|
-
let t =
|
|
2079
|
+
]), u = qe(l), d = a((e) => {
|
|
2080
|
+
if (!U(e.currentTarget, G(e))) return;
|
|
2081
|
+
let t = G(e), n = H(t), a = W(n);
|
|
2082
2082
|
if (!o.current.isFocusWithin && a === t) {
|
|
2083
2083
|
r && r(e), i && i(!0), o.current.isFocusWithin = !0, u(e);
|
|
2084
2084
|
let t = e.currentTarget;
|
|
2085
2085
|
s(n, "focus", (e) => {
|
|
2086
|
-
let r =
|
|
2087
|
-
if (o.current.isFocusWithin && !
|
|
2086
|
+
let r = G(e);
|
|
2087
|
+
if (o.current.isFocusWithin && !U(t, r)) {
|
|
2088
2088
|
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
|
|
2089
|
-
|
|
2089
|
+
Ke(e, t), l(Ge(e));
|
|
2090
2090
|
}
|
|
2091
2091
|
}, { capture: !0 });
|
|
2092
2092
|
}
|
|
@@ -2110,17 +2110,17 @@ function Kr(e) {
|
|
|
2110
2110
|
function qr(e = {}) {
|
|
2111
2111
|
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = f({
|
|
2112
2112
|
isFocused: !1,
|
|
2113
|
-
isFocusVisible: t ||
|
|
2113
|
+
isFocusVisible: t || Mt()
|
|
2114
2114
|
}), [o, s] = p(!1), [c, l] = p(() => i.current.isFocused && i.current.isFocusVisible), u = a(() => l(i.current.isFocused && i.current.isFocusVisible), []), d = a((e) => {
|
|
2115
|
-
i.current.isFocused = e, i.current.isFocusVisible =
|
|
2115
|
+
i.current.isFocused = e, i.current.isFocusVisible = Mt(), s(e), u();
|
|
2116
2116
|
}, [u]);
|
|
2117
|
-
|
|
2117
|
+
Lt((e) => {
|
|
2118
2118
|
i.current.isFocusVisible = e, u();
|
|
2119
2119
|
}, [n, o], {
|
|
2120
2120
|
enabled: o,
|
|
2121
2121
|
isTextInput: n
|
|
2122
2122
|
});
|
|
2123
|
-
let { focusProps: m } =
|
|
2123
|
+
let { focusProps: m } = Pn({
|
|
2124
2124
|
isDisabled: r,
|
|
2125
2125
|
onFocusChange: d
|
|
2126
2126
|
}), { focusWithinProps: h } = Kr({
|
|
@@ -2145,7 +2145,7 @@ function Zr(e) {
|
|
|
2145
2145
|
e.pointerType === "touch" && Xr();
|
|
2146
2146
|
}
|
|
2147
2147
|
function Qr() {
|
|
2148
|
-
let e =
|
|
2148
|
+
let e = H(null);
|
|
2149
2149
|
if (e !== void 0) return Yr === 0 && (typeof PointerEvent < "u" ? e.addEventListener("pointerup", Zr) : process.env.NODE_ENV === "test" && e.addEventListener("touchend", Xr)), Yr++, () => {
|
|
2150
2150
|
Yr--, !(Yr > 0) && (typeof PointerEvent < "u" ? e.removeEventListener("pointerup", Zr) : process.env.NODE_ENV === "test" && e.removeEventListener("touchend", Xr));
|
|
2151
2151
|
};
|
|
@@ -2160,11 +2160,11 @@ function $r(e) {
|
|
|
2160
2160
|
s(Qr, []);
|
|
2161
2161
|
let { addGlobalListener: l, removeAllGlobalListeners: d } = Er(), { hoverProps: m, triggerHoverEnd: h } = u(() => {
|
|
2162
2162
|
let e = (e, r) => {
|
|
2163
|
-
if (c.pointerType = r, i || r === "touch" || c.isHovered || !
|
|
2163
|
+
if (c.pointerType = r, i || r === "touch" || c.isHovered || !U(e.currentTarget, G(e))) return;
|
|
2164
2164
|
c.isHovered = !0;
|
|
2165
2165
|
let s = e.currentTarget;
|
|
2166
|
-
c.target = s, l(
|
|
2167
|
-
c.isHovered && c.target && !
|
|
2166
|
+
c.target = s, l(H(G(e)), "pointerover", (e) => {
|
|
2167
|
+
c.isHovered && c.target && !U(c.target, G(e)) && a(e, e.pointerType);
|
|
2168
2168
|
}, { capture: !0 }), t && t({
|
|
2169
2169
|
type: "hoverstart",
|
|
2170
2170
|
target: s,
|
|
@@ -2181,13 +2181,13 @@ function $r(e) {
|
|
|
2181
2181
|
return typeof PointerEvent < "u" ? (s.onPointerEnter = (t) => {
|
|
2182
2182
|
Jr && t.pointerType === "mouse" || e(t, t.pointerType);
|
|
2183
2183
|
}, s.onPointerLeave = (e) => {
|
|
2184
|
-
!i &&
|
|
2184
|
+
!i && U(e.currentTarget, G(e)) && a(e, e.pointerType);
|
|
2185
2185
|
}) : process.env.NODE_ENV === "test" && (s.onTouchStart = () => {
|
|
2186
2186
|
c.ignoreEmulatedMouseEvents = !0;
|
|
2187
2187
|
}, s.onMouseEnter = (t) => {
|
|
2188
2188
|
!c.ignoreEmulatedMouseEvents && !Jr && e(t, "mouse"), c.ignoreEmulatedMouseEvents = !1;
|
|
2189
2189
|
}, s.onMouseLeave = (e) => {
|
|
2190
|
-
!i &&
|
|
2190
|
+
!i && U(e.currentTarget, G(e)) && a(e, "mouse");
|
|
2191
2191
|
}), {
|
|
2192
2192
|
hoverProps: s,
|
|
2193
2193
|
triggerHoverEnd: a
|
|
@@ -2210,9 +2210,9 @@ function $r(e) {
|
|
|
2210
2210
|
}
|
|
2211
2211
|
//#endregion
|
|
2212
2212
|
//#region node_modules/react-aria-components/dist/private/Label.mjs
|
|
2213
|
-
var ei = /*#__PURE__*/ n({}), ti = /*#__PURE__*/
|
|
2214
|
-
[t, n] =
|
|
2215
|
-
let { elementType: r = "label", ...i } = t, a =
|
|
2213
|
+
var ei = /*#__PURE__*/ n({}), ti = /*#__PURE__*/ Un(function(t, n) {
|
|
2214
|
+
[t, n] = fe(t, n, ei);
|
|
2215
|
+
let { elementType: r = "label", ...i } = t, a = _e[r];
|
|
2216
2216
|
return /*#__PURE__*/ e.createElement(a, {
|
|
2217
2217
|
className: "react-aria-Label",
|
|
2218
2218
|
...i,
|
|
@@ -2223,13 +2223,13 @@ var ei = /*#__PURE__*/ n({}), ti = /*#__PURE__*/ Wn(function(t, n) {
|
|
|
2223
2223
|
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
|
|
2224
2224
|
function ni(e) {
|
|
2225
2225
|
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
|
|
2226
|
-
t =
|
|
2227
|
-
let o =
|
|
2226
|
+
t = I(t);
|
|
2227
|
+
let o = I(), s = {};
|
|
2228
2228
|
n ? (r = r ? `${o} ${r}` : o, s = {
|
|
2229
2229
|
id: o,
|
|
2230
2230
|
htmlFor: a === "label" ? t : void 0
|
|
2231
2231
|
}) : !r && !i && process.env.NODE_ENV !== "production" && console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");
|
|
2232
|
-
let c =
|
|
2232
|
+
let c = Wt({
|
|
2233
2233
|
id: t,
|
|
2234
2234
|
"aria-label": i,
|
|
2235
2235
|
"aria-labelledby": r
|
|
@@ -2317,12 +2317,12 @@ function ci(e, t) {
|
|
|
2317
2317
|
isDisabled: r,
|
|
2318
2318
|
preventFocusOnPress: l,
|
|
2319
2319
|
ref: t
|
|
2320
|
-
}), { focusableProps: y } =
|
|
2320
|
+
}), { focusableProps: y } = Bn(e, t);
|
|
2321
2321
|
u && (y.tabIndex = r ? -1 : y.tabIndex);
|
|
2322
|
-
let b =
|
|
2322
|
+
let b = z(y, _, gr(e, { labelable: !0 }));
|
|
2323
2323
|
return {
|
|
2324
2324
|
isPressed: v,
|
|
2325
|
-
buttonProps:
|
|
2325
|
+
buttonProps: z(g, b, {
|
|
2326
2326
|
"aria-haspopup": e["aria-haspopup"],
|
|
2327
2327
|
"aria-expanded": e["aria-expanded"],
|
|
2328
2328
|
"aria-controls": e["aria-controls"],
|
|
@@ -2334,8 +2334,8 @@ function ci(e, t) {
|
|
|
2334
2334
|
}
|
|
2335
2335
|
//#endregion
|
|
2336
2336
|
//#region node_modules/react-aria-components/dist/private/Button.mjs
|
|
2337
|
-
var li = /*#__PURE__*/ n({}), K = /*#__PURE__*/
|
|
2338
|
-
[t, n] =
|
|
2337
|
+
var li = /*#__PURE__*/ n({}), K = /*#__PURE__*/ Un(function(t, n) {
|
|
2338
|
+
[t, n] = fe(t, n, li);
|
|
2339
2339
|
let r = t, { isPending: i } = r, { buttonProps: a, isPressed: o } = ci(t, n);
|
|
2340
2340
|
a = di(a, i);
|
|
2341
2341
|
let { focusProps: c, isFocused: l, isFocusVisible: u } = qr(t), { hoverProps: d, isHovered: p } = $r({
|
|
@@ -2348,11 +2348,11 @@ var li = /*#__PURE__*/ n({}), K = /*#__PURE__*/ Wn(function(t, n) {
|
|
|
2348
2348
|
isFocusVisible: u,
|
|
2349
2349
|
isDisabled: t.isDisabled || !1,
|
|
2350
2350
|
isPending: i ?? !1
|
|
2351
|
-
}, h =
|
|
2351
|
+
}, h = V({
|
|
2352
2352
|
...t,
|
|
2353
2353
|
values: m,
|
|
2354
2354
|
defaultClassName: "react-aria-Button"
|
|
2355
|
-
}), g =
|
|
2355
|
+
}), g = I(a.id), _ = I(), v = a["aria-labelledby"];
|
|
2356
2356
|
i && (v ? v = `${v} ${_}` : a["aria-label"] && (v = `${g} ${_}`));
|
|
2357
2357
|
let y = f(i);
|
|
2358
2358
|
s(() => {
|
|
@@ -2364,9 +2364,9 @@ var li = /*#__PURE__*/ n({}), K = /*#__PURE__*/ Wn(function(t, n) {
|
|
|
2364
2364
|
v,
|
|
2365
2365
|
g
|
|
2366
2366
|
]);
|
|
2367
|
-
let b =
|
|
2368
|
-
return delete b.onClick, /*#__PURE__*/ e.createElement(
|
|
2369
|
-
...
|
|
2367
|
+
let b = gr(t, { global: !0 });
|
|
2368
|
+
return delete b.onClick, /*#__PURE__*/ e.createElement(_e.button, {
|
|
2369
|
+
...z(b, h, a, c, d),
|
|
2370
2370
|
type: a.type === "submit" && i ? "button" : a.type,
|
|
2371
2371
|
id: g,
|
|
2372
2372
|
ref: n,
|
|
@@ -2391,8 +2391,8 @@ function di(e, t) {
|
|
|
2391
2391
|
//#endregion
|
|
2392
2392
|
//#region node_modules/react-aria-components/dist/private/Heading.mjs
|
|
2393
2393
|
var fi = /*#__PURE__*/ n({}), pi = /*#__PURE__*/ n({}), mi = /*#__PURE__*/ r(function(t, n) {
|
|
2394
|
-
[t, n] =
|
|
2395
|
-
let { elementType: r = "span", ...i } = t, a =
|
|
2394
|
+
[t, n] = fe(t, n, pi);
|
|
2395
|
+
let { elementType: r = "span", ...i } = t, a = _e[r];
|
|
2396
2396
|
return /*#__PURE__*/ e.createElement(a, {
|
|
2397
2397
|
className: "react-aria-Text",
|
|
2398
2398
|
...i,
|
|
@@ -2425,21 +2425,21 @@ function _i(e, t) {
|
|
|
2425
2425
|
function vi(e, t, n = {}) {
|
|
2426
2426
|
let { block: r = "nearest", inline: i = "nearest" } = n;
|
|
2427
2427
|
if (e === t) return;
|
|
2428
|
-
let a = e.scrollTop, o = e.scrollLeft, s = t.getBoundingClientRect(), c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = s.top - _, A = s.bottom + v, j = s.left - y, M = s.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P,
|
|
2429
|
-
u.direction === "rtl" && !
|
|
2430
|
-
let
|
|
2431
|
-
if (
|
|
2432
|
-
else if (
|
|
2433
|
-
else if (
|
|
2434
|
-
else if (
|
|
2428
|
+
let a = e.scrollTop, o = e.scrollLeft, s = t.getBoundingClientRect(), c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = s.top - _, A = s.bottom + v, j = s.left - y, M = s.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
|
|
2429
|
+
u.direction === "rtl" && !nt() ? F += te : ie -= te;
|
|
2430
|
+
let I = k < ne || A > re, L = j < F || M > ie;
|
|
2431
|
+
if (I && r === "start") a += k - ne;
|
|
2432
|
+
else if (I && r === "center") a += (k + A) / 2 - (ne + re) / 2;
|
|
2433
|
+
else if (I && r === "end") a += A - re;
|
|
2434
|
+
else if (I && r === "nearest") {
|
|
2435
2435
|
let e = k - ne, t = A - re;
|
|
2436
2436
|
a += Math.abs(e) <= Math.abs(t) ? e : t;
|
|
2437
2437
|
}
|
|
2438
|
-
if (
|
|
2439
|
-
else if (
|
|
2440
|
-
else if (
|
|
2441
|
-
else if (
|
|
2442
|
-
let e = j -
|
|
2438
|
+
if (L && i === "start") o += j - F;
|
|
2439
|
+
else if (L && i === "center") o += (j + M) / 2 - (F + ie) / 2;
|
|
2440
|
+
else if (L && i === "end") o += M - ie;
|
|
2441
|
+
else if (L && i === "nearest") {
|
|
2442
|
+
let e = j - F, t = M - ie;
|
|
2443
2443
|
o += Math.abs(e) <= Math.abs(t) ? e : t;
|
|
2444
2444
|
}
|
|
2445
2445
|
if (process.env.NODE_ENV === "test") {
|
|
@@ -2530,7 +2530,7 @@ function wi(e = {}) {
|
|
|
2530
2530
|
}
|
|
2531
2531
|
function Ti(t) {
|
|
2532
2532
|
let { children: n, elementType: r = "div", isFocusable: i, style: a, ...o } = t, { visuallyHiddenProps: s } = wi(t);
|
|
2533
|
-
return /*#__PURE__*/ e.createElement(r,
|
|
2533
|
+
return /*#__PURE__*/ e.createElement(r, z(o, s), n);
|
|
2534
2534
|
}
|
|
2535
2535
|
//#endregion
|
|
2536
2536
|
//#region node_modules/react-aria-components/dist/private/FieldError.mjs
|
|
@@ -2626,18 +2626,18 @@ var Ri = /*#__PURE__*/ n(null), zi = /* @__PURE__ */ new WeakMap();
|
|
|
2626
2626
|
//#endregion
|
|
2627
2627
|
//#region node_modules/react-aria/dist/private/label/useField.mjs
|
|
2628
2628
|
function Bi(e) {
|
|
2629
|
-
let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ni(e), s =
|
|
2629
|
+
let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ni(e), s = ae([
|
|
2630
2630
|
!!t,
|
|
2631
2631
|
!!n,
|
|
2632
2632
|
r,
|
|
2633
2633
|
i
|
|
2634
|
-
]), c =
|
|
2634
|
+
]), c = ae([
|
|
2635
2635
|
!!t,
|
|
2636
2636
|
!!n,
|
|
2637
2637
|
r,
|
|
2638
2638
|
i
|
|
2639
2639
|
]);
|
|
2640
|
-
return o =
|
|
2640
|
+
return o = z(o, { "aria-describedby": [
|
|
2641
2641
|
s,
|
|
2642
2642
|
c,
|
|
2643
2643
|
e["aria-describedby"]
|
|
@@ -2651,7 +2651,7 @@ function Bi(e) {
|
|
|
2651
2651
|
//#endregion
|
|
2652
2652
|
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
|
|
2653
2653
|
function Vi(e, t, n) {
|
|
2654
|
-
let r =
|
|
2654
|
+
let r = Ht((e) => {
|
|
2655
2655
|
n && !e.defaultPrevented && n(t);
|
|
2656
2656
|
});
|
|
2657
2657
|
s(() => {
|
|
@@ -2671,13 +2671,13 @@ function Hi(e, t, n) {
|
|
|
2671
2671
|
n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Wi(n.current));
|
|
2672
2672
|
}
|
|
2673
2673
|
});
|
|
2674
|
-
let a = f(!1), o =
|
|
2674
|
+
let a = f(!1), o = Ht(() => {
|
|
2675
2675
|
a.current || t.resetValidation();
|
|
2676
|
-
}), c =
|
|
2676
|
+
}), c = Ht((e) => {
|
|
2677
2677
|
t.displayValidation.isInvalid || t.commitValidation();
|
|
2678
2678
|
let r = n?.current?.form;
|
|
2679
|
-
!e.defaultPrevented && n && r && Gi(r) === n.current && (i ? i() : n.current?.focus(),
|
|
2680
|
-
}), l =
|
|
2679
|
+
!e.defaultPrevented && n && r && Gi(r) === n.current && (i ? i() : n.current?.focus(), Pt("keyboard")), e.preventDefault();
|
|
2680
|
+
}), l = Ht(() => {
|
|
2681
2681
|
t.commitValidation();
|
|
2682
2682
|
});
|
|
2683
2683
|
s(() => {
|
|
@@ -2685,7 +2685,7 @@ function Hi(e, t, n) {
|
|
|
2685
2685
|
if (!e) return;
|
|
2686
2686
|
let t = e.form, r = t?.reset;
|
|
2687
2687
|
return t && (t.reset = () => {
|
|
2688
|
-
a.current = !window.event || window.event.type === "message" &&
|
|
2688
|
+
a.current = !window.event || window.event.type === "message" && G(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
|
|
2689
2689
|
}), e.addEventListener("invalid", c), e.addEventListener("change", l), t?.addEventListener("reset", o), () => {
|
|
2690
2690
|
e.removeEventListener("invalid", c), e.removeEventListener("change", l), t?.removeEventListener("reset", o), t && (t.reset = r);
|
|
2691
2691
|
};
|
|
@@ -2732,7 +2732,7 @@ function Ki(e = !0) {
|
|
|
2732
2732
|
}, []), [i, t];
|
|
2733
2733
|
}
|
|
2734
2734
|
function qi(e = !0) {
|
|
2735
|
-
let t =
|
|
2735
|
+
let t = I(), [n, r] = Ki(e);
|
|
2736
2736
|
return {
|
|
2737
2737
|
id: r ? t : void 0,
|
|
2738
2738
|
ref: n
|
|
@@ -2747,7 +2747,7 @@ function Ji(e, t, n) {
|
|
|
2747
2747
|
}), { isInvalid: S, validationErrors: C, validationDetails: w } = x.displayValidation;
|
|
2748
2748
|
Hi(e, x, n);
|
|
2749
2749
|
let T = (e) => {
|
|
2750
|
-
e.stopPropagation(), t.setSelected(
|
|
2750
|
+
e.stopPropagation(), t.setSelected(G(e).checked);
|
|
2751
2751
|
};
|
|
2752
2752
|
c == null && !(d != null || f != null) && process.env.NODE_ENV !== "production" && console.warn("If you do not provide children, you must specify an aria-label for accessibility");
|
|
2753
2753
|
let { pressProps: E, isPressed: D } = Mr({
|
|
@@ -2791,12 +2791,12 @@ function Ji(e, t, n) {
|
|
|
2791
2791
|
a();
|
|
2792
2792
|
},
|
|
2793
2793
|
isDisabled: r || i
|
|
2794
|
-
}), { focusableProps: j } =
|
|
2794
|
+
}), { focusableProps: j } = Bn(e, n), M = z(E, j), N = gr(e, { labelable: !0 });
|
|
2795
2795
|
Vi(n, t.defaultSelected, t.setSelected);
|
|
2796
2796
|
let ee = qi(), te = qi();
|
|
2797
2797
|
return {
|
|
2798
|
-
labelProps:
|
|
2799
|
-
inputProps:
|
|
2798
|
+
labelProps: z(A, { onClick: (e) => e.preventDefault() }),
|
|
2799
|
+
inputProps: z(N, {
|
|
2800
2800
|
checked: t.isSelected,
|
|
2801
2801
|
"aria-required": l && u === "aria" || void 0,
|
|
2802
2802
|
required: l && u === "native",
|
|
@@ -2835,7 +2835,7 @@ function Yi(e, t, n) {
|
|
|
2835
2835
|
return s(() => {
|
|
2836
2836
|
n.current && (n.current.indeterminate = !!g);
|
|
2837
2837
|
}), {
|
|
2838
|
-
labelProps:
|
|
2838
|
+
labelProps: z(r, u(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
|
|
2839
2839
|
inputProps: i,
|
|
2840
2840
|
descriptionProps: a,
|
|
2841
2841
|
errorMessageProps: o,
|
|
@@ -2851,7 +2851,7 @@ function Yi(e, t, n) {
|
|
|
2851
2851
|
//#endregion
|
|
2852
2852
|
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
|
|
2853
2853
|
function Xi(e = {}) {
|
|
2854
|
-
let { isReadOnly: t } = e, [n, r] =
|
|
2854
|
+
let { isReadOnly: t } = e, [n, r] = _n(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = p(n);
|
|
2855
2855
|
function a(e) {
|
|
2856
2856
|
t || r(e);
|
|
2857
2857
|
}
|
|
@@ -2920,8 +2920,8 @@ function Zi(e, t, n) {
|
|
|
2920
2920
|
//#region node_modules/react-aria-components/dist/private/Checkbox.mjs
|
|
2921
2921
|
var Qi = /*#__PURE__*/ n(null), $i = /*#__PURE__*/ n(null), ea = /*#__PURE__*/ n(null);
|
|
2922
2922
|
function ta(e, t) {
|
|
2923
|
-
let { validationBehavior: n } =
|
|
2924
|
-
...
|
|
2923
|
+
let { validationBehavior: n } = de(Ri) || {}, r = e.validationBehavior ?? n ?? "native", i = o($i), a = le(u(() => oe(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), s = {
|
|
2924
|
+
...me(e),
|
|
2925
2925
|
children: typeof e.children == "function" ? !0 : e.children,
|
|
2926
2926
|
value: e.value,
|
|
2927
2927
|
validationBehavior: r
|
|
@@ -2930,7 +2930,7 @@ function ta(e, t) {
|
|
|
2930
2930
|
}
|
|
2931
2931
|
var na = /*#__PURE__*/ r(function(t, n) {
|
|
2932
2932
|
let { inputRef: r = null, ...i } = t;
|
|
2933
|
-
[t, n] =
|
|
2933
|
+
[t, n] = fe(i, n, Qi);
|
|
2934
2934
|
let [a, o] = ta(t, r);
|
|
2935
2935
|
return /*#__PURE__*/ e.createElement(ea.Provider, { value: {
|
|
2936
2936
|
...a,
|
|
@@ -2946,7 +2946,7 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
2946
2946
|
let { labelProps: r, inputProps: i, isSelected: a, isDisabled: s, isReadOnly: c, isPressed: l, isInvalid: u, inputRef: d, defaultClassName: f, isIndeterminate: p, isRequired: m } = o(ea), { isFocused: h, isFocusVisible: g, focusProps: _ } = qr(), v = s || c, { hoverProps: y, isHovered: b } = $r({
|
|
2947
2947
|
...t,
|
|
2948
2948
|
isDisabled: v
|
|
2949
|
-
}), x =
|
|
2949
|
+
}), x = V({
|
|
2950
2950
|
...t,
|
|
2951
2951
|
defaultClassName: f,
|
|
2952
2952
|
values: {
|
|
@@ -2961,9 +2961,9 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
2961
2961
|
isInvalid: u,
|
|
2962
2962
|
isRequired: m || !1
|
|
2963
2963
|
}
|
|
2964
|
-
}), S =
|
|
2965
|
-
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(
|
|
2966
|
-
...
|
|
2964
|
+
}), S = gr(t, { global: !0 });
|
|
2965
|
+
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(_e.label, {
|
|
2966
|
+
...z(S, r, y, x),
|
|
2967
2967
|
ref: n,
|
|
2968
2968
|
slot: t.slot || void 0,
|
|
2969
2969
|
"data-selected": a || void 0,
|
|
@@ -2977,21 +2977,21 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
2977
2977
|
"data-invalid": u || void 0,
|
|
2978
2978
|
"data-required": m || void 0
|
|
2979
2979
|
}, /*#__PURE__*/ e.createElement(Ti, { elementType: "span" }, /*#__PURE__*/ e.createElement("input", {
|
|
2980
|
-
...
|
|
2980
|
+
...z(i, _),
|
|
2981
2981
|
ref: d
|
|
2982
2982
|
})), x.children);
|
|
2983
2983
|
}), ia = /*#__PURE__*/ n({}), aa = /*#__PURE__*/ n({}), oa = (e) => {
|
|
2984
2984
|
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
|
|
2985
2985
|
return i;
|
|
2986
|
-
}, sa = /*#__PURE__*/
|
|
2987
|
-
[t, n] =
|
|
2986
|
+
}, sa = /*#__PURE__*/ Un(function(t, n) {
|
|
2987
|
+
[t, n] = fe(t, n, aa);
|
|
2988
2988
|
let { hoverProps: r, isHovered: i } = $r({
|
|
2989
2989
|
...t,
|
|
2990
2990
|
isDisabled: t.disabled
|
|
2991
2991
|
}), { isFocused: a, isFocusVisible: o, focusProps: s } = qr({
|
|
2992
2992
|
isTextInput: !0,
|
|
2993
2993
|
autoFocus: t.autoFocus
|
|
2994
|
-
}), c = !!t["aria-invalid"] && t["aria-invalid"] !== "false", l =
|
|
2994
|
+
}), c = !!t["aria-invalid"] && t["aria-invalid"] !== "false", l = V({
|
|
2995
2995
|
...t,
|
|
2996
2996
|
values: {
|
|
2997
2997
|
isHovered: i,
|
|
@@ -3002,8 +3002,8 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
3002
3002
|
},
|
|
3003
3003
|
defaultClassName: "react-aria-Input"
|
|
3004
3004
|
});
|
|
3005
|
-
return /*#__PURE__*/ e.createElement(
|
|
3006
|
-
...
|
|
3005
|
+
return /*#__PURE__*/ e.createElement(_e.input, {
|
|
3006
|
+
...z(oa(t), s, r),
|
|
3007
3007
|
...l,
|
|
3008
3008
|
ref: n,
|
|
3009
3009
|
"data-focused": a || void 0,
|
|
@@ -3016,20 +3016,20 @@ var na = /*#__PURE__*/ r(function(t, n) {
|
|
|
3016
3016
|
//#endregion
|
|
3017
3017
|
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
|
|
3018
3018
|
function ca(t, n) {
|
|
3019
|
-
let { inputElementType: r = "input", isDisabled: i = !1, isRequired: a = !1, isReadOnly: o = !1, type: s = "text", validationBehavior: c = "aria" } = t, [l, u] =
|
|
3019
|
+
let { inputElementType: r = "input", isDisabled: i = !1, isRequired: a = !1, isReadOnly: o = !1, type: s = "text", validationBehavior: c = "aria" } = t, [l, u] = _n(t.value, t.defaultValue || "", t.onChange), { focusableProps: d } = Bn(t, n), f = Mi({
|
|
3020
3020
|
...t,
|
|
3021
3021
|
value: l
|
|
3022
3022
|
}), { isInvalid: m, validationErrors: h, validationDetails: g } = f.displayValidation, { labelProps: _, fieldProps: v, descriptionProps: y, errorMessageProps: b } = Bi({
|
|
3023
3023
|
...t,
|
|
3024
3024
|
isInvalid: m,
|
|
3025
3025
|
errorMessage: t.errorMessage || h
|
|
3026
|
-
}), x =
|
|
3026
|
+
}), x = gr(t, { labelable: !0 }), S = {
|
|
3027
3027
|
type: s,
|
|
3028
3028
|
pattern: t.pattern
|
|
3029
3029
|
}, [C] = p(l);
|
|
3030
3030
|
return Vi(n, t.defaultValue ?? C, u), Hi(t, f, n), {
|
|
3031
3031
|
labelProps: _,
|
|
3032
|
-
inputProps:
|
|
3032
|
+
inputProps: z(x, r === "input" ? S : void 0, {
|
|
3033
3033
|
disabled: i,
|
|
3034
3034
|
readOnly: o,
|
|
3035
3035
|
required: a && c === "native",
|
|
@@ -3041,7 +3041,7 @@ function ca(t, n) {
|
|
|
3041
3041
|
"aria-haspopup": t["aria-haspopup"],
|
|
3042
3042
|
"aria-controls": t["aria-controls"],
|
|
3043
3043
|
value: l,
|
|
3044
|
-
onChange: (e) => u(
|
|
3044
|
+
onChange: (e) => u(G(e).value),
|
|
3045
3045
|
autoComplete: t.autoComplete,
|
|
3046
3046
|
autoCapitalize: t.autoCapitalize,
|
|
3047
3047
|
maxLength: t.maxLength,
|
|
@@ -3105,7 +3105,7 @@ var da = /*#__PURE__*/ n({ isSelected: !1 }), fa = class {
|
|
|
3105
3105
|
return this._currentNode;
|
|
3106
3106
|
}
|
|
3107
3107
|
set currentNode(e) {
|
|
3108
|
-
if (!
|
|
3108
|
+
if (!U(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
|
|
3109
3109
|
let t = [], n = e, r = e;
|
|
3110
3110
|
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
3111
3111
|
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
|
|
@@ -3119,7 +3119,7 @@ var da = /*#__PURE__*/ n({ isSelected: !1 }), fa = class {
|
|
|
3119
3119
|
}
|
|
3120
3120
|
firstChild() {
|
|
3121
3121
|
let e = this.currentNode, t = this.nextNode();
|
|
3122
|
-
return
|
|
3122
|
+
return U(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
|
|
3123
3123
|
}
|
|
3124
3124
|
lastChild() {
|
|
3125
3125
|
let e = this._walkerStack[0].lastChild();
|
|
@@ -3177,7 +3177,7 @@ var da = /*#__PURE__*/ n({ isSelected: !1 }), fa = class {
|
|
|
3177
3177
|
}
|
|
3178
3178
|
};
|
|
3179
3179
|
function pa(e, t, n, r) {
|
|
3180
|
-
return
|
|
3180
|
+
return we() ? new fa(e, t, n, r) : e.createTreeWalker(t, n, r);
|
|
3181
3181
|
}
|
|
3182
3182
|
//#endregion
|
|
3183
3183
|
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
|
|
@@ -3201,7 +3201,7 @@ function ga(t) {
|
|
|
3201
3201
|
for (let e of t) e.removeEventListener(ha, n);
|
|
3202
3202
|
};
|
|
3203
3203
|
}, [n]), Ma(d, i, r), Sa(d, r), Pa(d, i, r), ja(d, a), s(() => {
|
|
3204
|
-
let e =
|
|
3204
|
+
let e = W(H(d.current ? d.current[0] : void 0)), t = null;
|
|
3205
3205
|
if (wa(e, d.current)) {
|
|
3206
3206
|
for (let n of J.traverse()) n.scopeRef && wa(e, n.scopeRef.current) && (t = n);
|
|
3207
3207
|
t === J.getTreeNode(d) && (q = t.scopeRef);
|
|
@@ -3227,7 +3227,7 @@ function ga(t) {
|
|
|
3227
3227
|
function _a(e) {
|
|
3228
3228
|
return {
|
|
3229
3229
|
focusNext(t = {}) {
|
|
3230
|
-
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r ||
|
|
3230
|
+
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || W(H(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Ia(va(n), {
|
|
3231
3231
|
tabbable: i,
|
|
3232
3232
|
accept: o
|
|
3233
3233
|
}, n);
|
|
@@ -3236,7 +3236,7 @@ function _a(e) {
|
|
|
3236
3236
|
return !u && a && (l.currentNode = c, u = l.nextNode()), u && Oa(u, !0), u;
|
|
3237
3237
|
},
|
|
3238
3238
|
focusPrevious(t = {}) {
|
|
3239
|
-
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r ||
|
|
3239
|
+
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || W(H(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Ia(va(n), {
|
|
3240
3240
|
tabbable: i,
|
|
3241
3241
|
accept: o
|
|
3242
3242
|
}, n);
|
|
@@ -3276,8 +3276,8 @@ function ya(e) {
|
|
|
3276
3276
|
return !0;
|
|
3277
3277
|
}
|
|
3278
3278
|
function ba(e) {
|
|
3279
|
-
if (!e.form) return Array.from(
|
|
3280
|
-
let t = e.form.elements.namedItem(e.name), n =
|
|
3279
|
+
if (!e.form) return Array.from(H(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
|
|
3280
|
+
let t = e.form.elements.namedItem(e.name), n = be(e);
|
|
3281
3281
|
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
|
|
3282
3282
|
}
|
|
3283
3283
|
function xa(e) {
|
|
@@ -3293,23 +3293,23 @@ function Sa(e, t) {
|
|
|
3293
3293
|
r.current &&= (cancelAnimationFrame(r.current), void 0);
|
|
3294
3294
|
return;
|
|
3295
3295
|
}
|
|
3296
|
-
let a =
|
|
3296
|
+
let a = H(i ? i[0] : void 0), o = (t) => {
|
|
3297
3297
|
if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ya(e) || t.isComposing) return;
|
|
3298
|
-
let n =
|
|
3298
|
+
let n = W(a), r = e.current;
|
|
3299
3299
|
if (!r || !wa(n, r)) return;
|
|
3300
3300
|
let i = Ia(va(r), { tabbable: !0 }, r);
|
|
3301
3301
|
if (!n) return;
|
|
3302
3302
|
i.currentNode = n;
|
|
3303
3303
|
let o = t.shiftKey ? i.previousNode() : i.nextNode();
|
|
3304
|
-
o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Oa(o, !0), o instanceof
|
|
3304
|
+
o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Oa(o, !0), o instanceof be(o).HTMLInputElement && o.select());
|
|
3305
3305
|
}, s = (t) => {
|
|
3306
|
-
(!q || Da(q, e)) && wa(
|
|
3306
|
+
(!q || Da(q, e)) && wa(G(t), e.current) ? (q = e, n.current = G(t)) : ya(e) && !Ta(G(t), e) ? n.current ? n.current.focus() : q && q.current && Aa(q.current) : ya(e) && (n.current = G(t));
|
|
3307
3307
|
}, c = (t) => {
|
|
3308
3308
|
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
|
3309
|
-
let r =
|
|
3309
|
+
let r = Nt(), i = (r === "virtual" || r === null) && ot() && at(), o = W(a);
|
|
3310
3310
|
if (!i && o && ya(e) && !Ta(o, e)) {
|
|
3311
3311
|
q = e;
|
|
3312
|
-
let r =
|
|
3312
|
+
let r = G(t);
|
|
3313
3313
|
r && r.isConnected ? (n.current = r, n.current?.focus()) : q.current && Aa(q.current);
|
|
3314
3314
|
}
|
|
3315
3315
|
});
|
|
@@ -3325,7 +3325,7 @@ function Ca(e) {
|
|
|
3325
3325
|
return Ta(e);
|
|
3326
3326
|
}
|
|
3327
3327
|
function wa(e, t) {
|
|
3328
|
-
return !e || !t ? !1 : t.some((t) =>
|
|
3328
|
+
return !e || !t ? !1 : t.some((t) => U(t, e));
|
|
3329
3329
|
}
|
|
3330
3330
|
function Ta(e, t = null) {
|
|
3331
3331
|
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
|
|
@@ -3345,7 +3345,7 @@ function Da(e, t) {
|
|
|
3345
3345
|
}
|
|
3346
3346
|
function Oa(e, t = !1) {
|
|
3347
3347
|
if (e != null && !t) try {
|
|
3348
|
-
|
|
3348
|
+
Nn(e);
|
|
3349
3349
|
} catch {}
|
|
3350
3350
|
else if (e != null) try {
|
|
3351
3351
|
e.focus();
|
|
@@ -3363,14 +3363,14 @@ function Aa(e, t = !0) {
|
|
|
3363
3363
|
function ja(t, n) {
|
|
3364
3364
|
let r = e.useRef(n);
|
|
3365
3365
|
s(() => {
|
|
3366
|
-
r.current && (q = t, !wa(
|
|
3366
|
+
r.current && (q = t, !wa(W(H(t.current ? t.current[0] : void 0)), q.current) && t.current && Aa(t.current)), r.current = !1;
|
|
3367
3367
|
}, [t]);
|
|
3368
3368
|
}
|
|
3369
3369
|
function Ma(e, t, n) {
|
|
3370
3370
|
C(() => {
|
|
3371
3371
|
if (t || n) return;
|
|
3372
|
-
let r = e.current, i =
|
|
3373
|
-
let n =
|
|
3372
|
+
let r = e.current, i = H(r ? r[0] : void 0), a = (t) => {
|
|
3373
|
+
let n = G(t);
|
|
3374
3374
|
wa(n, e.current) ? q = e : Ca(n) || (q = null);
|
|
3375
3375
|
};
|
|
3376
3376
|
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
|
|
@@ -3391,18 +3391,18 @@ function Na(e) {
|
|
|
3391
3391
|
return t?.scopeRef === e;
|
|
3392
3392
|
}
|
|
3393
3393
|
function Pa(e, t, n) {
|
|
3394
|
-
let r = f(typeof document < "u" ?
|
|
3394
|
+
let r = f(typeof document < "u" ? W(H(e.current ? e.current[0] : void 0)) : null);
|
|
3395
3395
|
C(() => {
|
|
3396
|
-
let r = e.current, i =
|
|
3396
|
+
let r = e.current, i = H(r ? r[0] : void 0);
|
|
3397
3397
|
if (!t || n) return;
|
|
3398
3398
|
let a = () => {
|
|
3399
|
-
(!q || Da(q, e)) && wa(
|
|
3399
|
+
(!q || Da(q, e)) && wa(W(i), e.current) && (q = e);
|
|
3400
3400
|
};
|
|
3401
3401
|
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
|
|
3402
3402
|
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
|
|
3403
3403
|
};
|
|
3404
3404
|
}, [e, n]), C(() => {
|
|
3405
|
-
let r =
|
|
3405
|
+
let r = H(e.current ? e.current[0] : void 0);
|
|
3406
3406
|
if (!t) return;
|
|
3407
3407
|
let i = (t) => {
|
|
3408
3408
|
if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ya(e) || t.isComposing) return;
|
|
@@ -3429,13 +3429,13 @@ function Pa(e, t, n) {
|
|
|
3429
3429
|
t,
|
|
3430
3430
|
n
|
|
3431
3431
|
]), C(() => {
|
|
3432
|
-
let n =
|
|
3432
|
+
let n = H(e.current ? e.current[0] : void 0);
|
|
3433
3433
|
if (!t) return;
|
|
3434
3434
|
let i = J.getTreeNode(e);
|
|
3435
3435
|
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
|
|
3436
3436
|
let r = J.getTreeNode(e);
|
|
3437
3437
|
if (!r) return;
|
|
3438
|
-
let i = r.nodeToRestore, a =
|
|
3438
|
+
let i = r.nodeToRestore, a = W(n);
|
|
3439
3439
|
if (t && i && (a && Ta(a, e) || a === n.body && Na(e))) {
|
|
3440
3440
|
let t = J.clone();
|
|
3441
3441
|
requestAnimationFrame(() => {
|
|
@@ -3468,8 +3468,8 @@ function Fa(e) {
|
|
|
3468
3468
|
})) && Oa(e);
|
|
3469
3469
|
}
|
|
3470
3470
|
function Ia(e, t, n) {
|
|
3471
|
-
let r = t?.tabbable ?
|
|
3472
|
-
return
|
|
3471
|
+
let r = t?.tabbable ? Ue : He, i = H(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = pa(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
|
|
3472
|
+
return U(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!xa(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || wa(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
3473
3473
|
} });
|
|
3474
3474
|
return t?.from && (a.currentNode = t.from), a;
|
|
3475
3475
|
}
|
|
@@ -3523,7 +3523,7 @@ var La = class e {
|
|
|
3523
3523
|
//#endregion
|
|
3524
3524
|
//#region node_modules/react-aria/dist/private/selection/utils.mjs
|
|
3525
3525
|
function za(e) {
|
|
3526
|
-
return
|
|
3526
|
+
return rt() ? e.altKey : e.ctrlKey;
|
|
3527
3527
|
}
|
|
3528
3528
|
function Ba(e, t) {
|
|
3529
3529
|
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
|
|
@@ -3531,7 +3531,7 @@ function Ba(e, t) {
|
|
|
3531
3531
|
}
|
|
3532
3532
|
var Va = /* @__PURE__ */ new WeakMap();
|
|
3533
3533
|
function Ha(e) {
|
|
3534
|
-
let t =
|
|
3534
|
+
let t = I();
|
|
3535
3535
|
return Va.set(e, t), t;
|
|
3536
3536
|
}
|
|
3537
3537
|
function Ua(e) {
|
|
@@ -3547,7 +3547,7 @@ function Ga(e) {
|
|
|
3547
3547
|
}).current;
|
|
3548
3548
|
return { typeSelectProps: { onKeyDownCapture: t.getKeyForSearch ? (e) => {
|
|
3549
3549
|
let a = Ka(e.key);
|
|
3550
|
-
if (!(!a || e.ctrlKey || e.metaKey || !
|
|
3550
|
+
if (!(!a || e.ctrlKey || e.metaKey || !U(e.currentTarget, G(e)) || i.search.length === 0 && a === " ")) {
|
|
3551
3551
|
if (a === " " && i.search.trim().length > 0 && (e.preventDefault(), "continuePropagation" in e || e.stopPropagation()), i.search += a, t.getKeyForSearch != null) {
|
|
3552
3552
|
let e = t.getKeyForSearch(i.search, n.focusedKey);
|
|
3553
3553
|
e ??= t.getKeyForSearch(i.search), e != null && (n.setFocusedKey(e), r && r(e));
|
|
@@ -3574,8 +3574,8 @@ function qa(e, t) {
|
|
|
3574
3574
|
//#endregion
|
|
3575
3575
|
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
|
|
3576
3576
|
function Ja(e) {
|
|
3577
|
-
let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: c = !1, escapeKeyBehavior: l = "clearSelection", selectOnFocus: u = t.selectionBehavior === "replace", disallowTypeAhead: d = !1, shouldUseVirtualFocus: p, allowsTabNavigation: m = !1, scrollRef: h = r, linkBehavior: g = "action" } = e, { direction: v } =
|
|
3578
|
-
if (e.altKey && e.key === "Tab" && e.preventDefault(), !r.current || !
|
|
3577
|
+
let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: c = !1, escapeKeyBehavior: l = "clearSelection", selectOnFocus: u = t.selectionBehavior === "replace", disallowTypeAhead: d = !1, shouldUseVirtualFocus: p, allowsTabNavigation: m = !1, scrollRef: h = r, linkBehavior: g = "action" } = e, { direction: v } = tn(), y = dt(), b = (e) => {
|
|
3578
|
+
if (e.altKey && e.key === "Tab" && e.preventDefault(), !r.current || !U(r.current, G(e))) return;
|
|
3579
3579
|
let i = (n, i) => {
|
|
3580
3580
|
if (n != null) {
|
|
3581
3581
|
if (t.isLink(n) && g === "selection" && u && !za(e)) {
|
|
@@ -3619,16 +3619,16 @@ function Ja(e) {
|
|
|
3619
3619
|
if (n.getFirstKey) {
|
|
3620
3620
|
if (t.focusedKey === null && e.shiftKey) return;
|
|
3621
3621
|
e.preventDefault();
|
|
3622
|
-
let r = n.getFirstKey(t.focusedKey,
|
|
3623
|
-
t.setFocusedKey(r), r != null && (
|
|
3622
|
+
let r = n.getFirstKey(t.focusedKey, Rt(e));
|
|
3623
|
+
t.setFocusedKey(r), r != null && (Rt(e) && e.shiftKey && t.selectionMode === "multiple" ? t.extendSelection(r) : u && t.replaceSelection(r));
|
|
3624
3624
|
}
|
|
3625
3625
|
break;
|
|
3626
3626
|
case "End":
|
|
3627
3627
|
if (n.getLastKey) {
|
|
3628
3628
|
if (t.focusedKey === null && e.shiftKey) return;
|
|
3629
3629
|
e.preventDefault();
|
|
3630
|
-
let r = n.getLastKey(t.focusedKey,
|
|
3631
|
-
t.setFocusedKey(r), r != null && (
|
|
3630
|
+
let r = n.getLastKey(t.focusedKey, Rt(e));
|
|
3631
|
+
t.setFocusedKey(r), r != null && (Rt(e) && e.shiftKey && t.selectionMode === "multiple" ? t.extendSelection(r) : u && t.replaceSelection(r));
|
|
3632
3632
|
}
|
|
3633
3633
|
break;
|
|
3634
3634
|
case "PageDown":
|
|
@@ -3644,7 +3644,7 @@ function Ja(e) {
|
|
|
3644
3644
|
}
|
|
3645
3645
|
break;
|
|
3646
3646
|
case "a":
|
|
3647
|
-
|
|
3647
|
+
Rt(e) && t.selectionMode === "multiple" && c !== !0 && (e.preventDefault(), t.selectAll());
|
|
3648
3648
|
break;
|
|
3649
3649
|
case "Escape":
|
|
3650
3650
|
l === "clearSelection" && !o && t.selectedKeys.size !== 0 && (e.stopPropagation(), e.preventDefault(), t.clearSelection());
|
|
@@ -3656,8 +3656,8 @@ function Ja(e) {
|
|
|
3656
3656
|
do
|
|
3657
3657
|
n = e.lastChild(), n && (t = n);
|
|
3658
3658
|
while (n);
|
|
3659
|
-
let i =
|
|
3660
|
-
t && (!
|
|
3659
|
+
let i = W();
|
|
3660
|
+
t && (!Te(t) || i && !Ue(i)) && Ae(t);
|
|
3661
3661
|
}
|
|
3662
3662
|
break;
|
|
3663
3663
|
}
|
|
@@ -3666,7 +3666,7 @@ function Ja(e) {
|
|
|
3666
3666
|
top: 0,
|
|
3667
3667
|
left: 0
|
|
3668
3668
|
});
|
|
3669
|
-
|
|
3669
|
+
Ut(h, "scroll", () => {
|
|
3670
3670
|
x.current = {
|
|
3671
3671
|
top: h.current?.scrollTop ?? 0,
|
|
3672
3672
|
left: h.current?.scrollLeft ?? 0
|
|
@@ -3674,10 +3674,10 @@ function Ja(e) {
|
|
|
3674
3674
|
});
|
|
3675
3675
|
let S = (e) => {
|
|
3676
3676
|
if (t.isFocused) {
|
|
3677
|
-
|
|
3677
|
+
U(e.currentTarget, G(e)) || t.setFocused(!1);
|
|
3678
3678
|
return;
|
|
3679
3679
|
}
|
|
3680
|
-
if (
|
|
3680
|
+
if (U(e.currentTarget, G(e))) {
|
|
3681
3681
|
if (t.setFocused(!0), t.focusedKey == null) {
|
|
3682
3682
|
let r = (e) => {
|
|
3683
3683
|
e != null && (t.setFocusedKey(e), u && !t.isSelected(e) && t.replaceSelection(e));
|
|
@@ -3686,26 +3686,26 @@ function Ja(e) {
|
|
|
3686
3686
|
} else h.current && (h.current.scrollTop = x.current.top, h.current.scrollLeft = x.current.left);
|
|
3687
3687
|
if (t.focusedKey != null && h.current) {
|
|
3688
3688
|
let e = Ba(r, t.focusedKey);
|
|
3689
|
-
e instanceof HTMLElement && (!
|
|
3689
|
+
e instanceof HTMLElement && (!Te(e) && !p && Ae(e), Nt() === "keyboard" && yi(e, { containingElement: r.current }));
|
|
3690
3690
|
}
|
|
3691
3691
|
}
|
|
3692
3692
|
}, C = (e) => {
|
|
3693
|
-
|
|
3693
|
+
U(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
|
|
3694
3694
|
}, w = f(!1);
|
|
3695
|
-
|
|
3695
|
+
Ut(r, ye, p ? (e) => {
|
|
3696
3696
|
let { detail: n } = e;
|
|
3697
3697
|
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (w.current = !0);
|
|
3698
3698
|
} : void 0), qa(() => {
|
|
3699
3699
|
if (w.current) {
|
|
3700
3700
|
let e = n.getFirstKey?.() ?? null;
|
|
3701
3701
|
if (e == null) {
|
|
3702
|
-
let e =
|
|
3703
|
-
|
|
3702
|
+
let e = W();
|
|
3703
|
+
Ee(r.current), Oe(e, null), t.collection.size > 0 && (w.current = !1);
|
|
3704
3704
|
} else t.setFocusedKey(e), w.current = !1;
|
|
3705
3705
|
}
|
|
3706
3706
|
}, [t.collection]), qa(() => {
|
|
3707
3707
|
t.collection.size > 0 && (w.current = !1);
|
|
3708
|
-
}, [t.focusedKey]),
|
|
3708
|
+
}, [t.focusedKey]), Ut(r, ve, p ? (e) => {
|
|
3709
3709
|
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
|
|
3710
3710
|
} : void 0);
|
|
3711
3711
|
let T = f(i), E = f(!1);
|
|
@@ -3720,22 +3720,22 @@ function Ja(e) {
|
|
|
3720
3720
|
break;
|
|
3721
3721
|
}
|
|
3722
3722
|
}
|
|
3723
|
-
t.setFocused(!0), t.setFocusedKey(e), e == null && !p && r.current &&
|
|
3723
|
+
t.setFocused(!0), t.setFocusedKey(e), e == null && !p && r.current && Nn(r.current), t.collection.size > 0 && (T.current = !1, E.current = !0);
|
|
3724
3724
|
}
|
|
3725
3725
|
});
|
|
3726
3726
|
let D = f(t.focusedKey), O = f(null);
|
|
3727
3727
|
s(() => {
|
|
3728
3728
|
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== D.current || E.current) && h.current && r.current) {
|
|
3729
|
-
let e =
|
|
3729
|
+
let e = Nt(), n = Ba(r, t.focusedKey);
|
|
3730
3730
|
if (!(n instanceof HTMLElement)) return;
|
|
3731
3731
|
(e === "keyboard" || E.current) && (O.current && cancelAnimationFrame(O.current), O.current = requestAnimationFrame(() => {
|
|
3732
3732
|
h.current && (vi(h.current, n), e !== "virtual" && yi(n, { containingElement: r.current }));
|
|
3733
3733
|
}));
|
|
3734
3734
|
}
|
|
3735
|
-
!p && t.isFocused && t.focusedKey == null && D.current != null && r.current &&
|
|
3735
|
+
!p && t.isFocused && t.focusedKey == null && D.current != null && r.current && Nn(r.current), D.current = t.focusedKey, E.current = !1;
|
|
3736
3736
|
}), s(() => () => {
|
|
3737
3737
|
O.current && cancelAnimationFrame(O.current);
|
|
3738
|
-
}, []),
|
|
3738
|
+
}, []), Ut(r, "react-aria-focus-scope-restore", (e) => {
|
|
3739
3739
|
e.preventDefault(), t.setFocused(!0);
|
|
3740
3740
|
});
|
|
3741
3741
|
let k = {
|
|
@@ -3743,17 +3743,17 @@ function Ja(e) {
|
|
|
3743
3743
|
onFocus: S,
|
|
3744
3744
|
onBlur: C,
|
|
3745
3745
|
onMouseDown(e) {
|
|
3746
|
-
h.current ===
|
|
3746
|
+
h.current === G(e) && e.preventDefault();
|
|
3747
3747
|
}
|
|
3748
3748
|
}, { typeSelectProps: A } = Ga({
|
|
3749
3749
|
keyboardDelegate: n,
|
|
3750
3750
|
selectionManager: t
|
|
3751
3751
|
});
|
|
3752
|
-
d || (k =
|
|
3752
|
+
d || (k = z(A, k));
|
|
3753
3753
|
let j;
|
|
3754
3754
|
p || (j = t.focusedKey == null ? 0 : -1);
|
|
3755
3755
|
let M = Ha(t.collection);
|
|
3756
|
-
return { collectionProps:
|
|
3756
|
+
return { collectionProps: z(k, {
|
|
3757
3757
|
tabIndex: j,
|
|
3758
3758
|
"data-collection": M
|
|
3759
3759
|
}) };
|
|
@@ -3769,14 +3769,14 @@ function Xa(e) {
|
|
|
3769
3769
|
...e,
|
|
3770
3770
|
type: "longpressstart"
|
|
3771
3771
|
}), s.current = setTimeout(() => {
|
|
3772
|
-
e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })),
|
|
3772
|
+
e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), H(e.target).activeElement !== e.target && Ae(e.target), i && i({
|
|
3773
3773
|
...e,
|
|
3774
3774
|
type: "longpress"
|
|
3775
3775
|
}), s.current = void 0;
|
|
3776
3776
|
}, a), e.pointerType === "touch")) {
|
|
3777
3777
|
let t = (e) => {
|
|
3778
3778
|
e.preventDefault();
|
|
3779
|
-
}, n =
|
|
3779
|
+
}, n = be(e.target);
|
|
3780
3780
|
c(e.target, "contextmenu", t, { once: !0 }), c(n, "pointerup", () => {
|
|
3781
3781
|
setTimeout(() => {
|
|
3782
3782
|
l(e.target, "contextmenu", t);
|
|
@@ -3791,13 +3791,13 @@ function Xa(e) {
|
|
|
3791
3791
|
});
|
|
3792
3792
|
}
|
|
3793
3793
|
});
|
|
3794
|
-
return { longPressProps:
|
|
3794
|
+
return { longPressProps: z(u, Si(i && !t ? o : void 0)) };
|
|
3795
3795
|
}
|
|
3796
3796
|
//#endregion
|
|
3797
3797
|
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
|
|
3798
3798
|
function Za(e) {
|
|
3799
|
-
let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: c, isDisabled: l, onAction: u, allowsDifferentPressOrigin: d, linkBehavior: p = "action" } = e, m =
|
|
3800
|
-
t =
|
|
3799
|
+
let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: c, isDisabled: l, onAction: u, allowsDifferentPressOrigin: d, linkBehavior: p = "action" } = e, m = dt();
|
|
3800
|
+
t = I(t);
|
|
3801
3801
|
let h = (e) => {
|
|
3802
3802
|
if (e.pointerType === "keyboard" && za(e)) n.toggleSelection(r);
|
|
3803
3803
|
else {
|
|
@@ -3809,11 +3809,11 @@ function Za(e) {
|
|
|
3809
3809
|
return;
|
|
3810
3810
|
} else if (p === "override" || p === "none") return;
|
|
3811
3811
|
}
|
|
3812
|
-
n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (
|
|
3812
|
+
n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Rt(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
|
|
3813
3813
|
}
|
|
3814
3814
|
};
|
|
3815
3815
|
s(() => {
|
|
3816
|
-
r === n.focusedKey && n.isFocused && (o ?
|
|
3816
|
+
r === n.focusedKey && n.isFocused && (o ? Ee(i.current) : c ? c() : W() !== i.current && i.current && Nn(i.current));
|
|
3817
3817
|
}, [
|
|
3818
3818
|
i,
|
|
3819
3819
|
r,
|
|
@@ -3826,7 +3826,7 @@ function Za(e) {
|
|
|
3826
3826
|
!o && !l ? g = {
|
|
3827
3827
|
tabIndex: r === n.focusedKey ? 0 : -1,
|
|
3828
3828
|
onFocus(e) {
|
|
3829
|
-
|
|
3829
|
+
G(e) === i.current && n.setFocusedKey(r);
|
|
3830
3830
|
}
|
|
3831
3831
|
} : l && (g.onMouseDown = (e) => {
|
|
3832
3832
|
e.preventDefault();
|
|
@@ -3855,7 +3855,7 @@ function Za(e) {
|
|
|
3855
3855
|
E.current = e.pointerType, O.current = D, k.current = C, b && (e.pointerType === "mouse" && !C || e.pointerType === "keyboard" && (!x || $a(e.key))) && h(e);
|
|
3856
3856
|
}, M.onPress = (e) => {
|
|
3857
3857
|
(e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && T && Qa(e.key) || e.pointerType === "mouse" && k.current) && (T ? j(e) : b && h(e));
|
|
3858
|
-
}), g["data-collection"] = Ua(n.collection), g["data-key"] = r, M.preventFocusOnPress = o, o && (M =
|
|
3858
|
+
}), g["data-collection"] = Ua(n.collection), g["data-key"] = r, M.preventFocusOnPress = o, o && (M = z(M, {
|
|
3859
3859
|
onPressStart(e) {
|
|
3860
3860
|
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
|
|
3861
3861
|
},
|
|
@@ -3880,10 +3880,10 @@ function Za(e) {
|
|
|
3880
3880
|
}), ne = (e) => {
|
|
3881
3881
|
E.current === "touch" && O.current && e.preventDefault();
|
|
3882
3882
|
}, re = p !== "none" && n.isLink(r) ? (e) => {
|
|
3883
|
-
|
|
3883
|
+
ft.isOpening || e.preventDefault();
|
|
3884
3884
|
} : void 0;
|
|
3885
3885
|
return {
|
|
3886
|
-
itemProps:
|
|
3886
|
+
itemProps: z(g, b || C || o && !l ? N : {}, D ? P : {}, {
|
|
3887
3887
|
onDoubleClick: te,
|
|
3888
3888
|
onDragStartCapture: ne,
|
|
3889
3889
|
onClick: re,
|
|
@@ -3994,7 +3994,7 @@ function co(e, t) {
|
|
|
3994
3994
|
return !0;
|
|
3995
3995
|
}
|
|
3996
3996
|
function lo(e) {
|
|
3997
|
-
let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = f(!1), [, c] = p(!1), l = f(null), d = f(null), [, m] = p(null), [h, g] =
|
|
3997
|
+
let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = f(!1), [, c] = p(!1), l = f(null), d = f(null), [, m] = p(null), [h, g] = _n(u(() => uo(e.selectedKeys), [e.selectedKeys]), u(() => uo(e.defaultSelectedKeys, new so()), [e.defaultSelectedKeys]), e.onSelectionChange), _ = u(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [v, y] = p(i);
|
|
3998
3998
|
i === "replace" && v === "toggle" && typeof h == "object" && h.size === 0 && y("replace");
|
|
3999
3999
|
let b = f(i);
|
|
4000
4000
|
return s(() => {
|
|
@@ -4436,10 +4436,10 @@ function xo(e) {
|
|
|
4436
4436
|
}
|
|
4437
4437
|
var So = /* @__PURE__ */ new WeakMap(), Co = [];
|
|
4438
4438
|
function wo(e, t) {
|
|
4439
|
-
let n =
|
|
4439
|
+
let n = be(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && bo, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
|
|
4440
4440
|
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
|
|
4441
4441
|
}, u = /* @__PURE__ */ new Set();
|
|
4442
|
-
if (
|
|
4442
|
+
if (we()) for (let t of e) {
|
|
4443
4443
|
let e = t;
|
|
4444
4444
|
for (; e && e !== i;) {
|
|
4445
4445
|
let t = e.getRootNode();
|
|
@@ -4450,9 +4450,9 @@ function wo(e, t) {
|
|
|
4450
4450
|
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
|
|
4451
4451
|
let t = (e) => {
|
|
4452
4452
|
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
|
|
4453
|
-
for (let t of o) if (
|
|
4453
|
+
for (let t of o) if (U(e, t)) return NodeFilter.FILTER_SKIP;
|
|
4454
4454
|
return NodeFilter.FILTER_ACCEPT;
|
|
4455
|
-
}, n = pa(
|
|
4455
|
+
}, n = pa(H(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
|
|
4456
4456
|
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
|
|
4457
4457
|
let e = n.nextNode();
|
|
4458
4458
|
for (; e != null;) f(e), e = n.nextNode();
|
|
@@ -4464,8 +4464,8 @@ function wo(e, t) {
|
|
|
4464
4464
|
Co.length && Co[Co.length - 1].disconnect(), d(i);
|
|
4465
4465
|
let p = new MutationObserver((e) => {
|
|
4466
4466
|
for (let t of e) if (t.type === "childList") {
|
|
4467
|
-
if (t.target.isConnected && ![...o, ...s].some((e) =>
|
|
4468
|
-
if (
|
|
4467
|
+
if (t.target.isConnected && ![...o, ...s].some((e) => U(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && xo(e) ? o.add(e) : e instanceof Element && d(e);
|
|
4468
|
+
if (we()) {
|
|
4469
4469
|
for (let e of u) if (!e.isConnected) {
|
|
4470
4470
|
p.disconnect();
|
|
4471
4471
|
break;
|
|
@@ -4478,11 +4478,11 @@ function wo(e, t) {
|
|
|
4478
4478
|
subtree: !0
|
|
4479
4479
|
});
|
|
4480
4480
|
let m = /* @__PURE__ */ new Set();
|
|
4481
|
-
if (
|
|
4481
|
+
if (we()) for (let e of u) {
|
|
4482
4482
|
let t = new MutationObserver((e) => {
|
|
4483
4483
|
for (let t of e) if (t.type === "childList") {
|
|
4484
|
-
if (t.target.isConnected && ![...o, ...s].some((e) =>
|
|
4485
|
-
if (
|
|
4484
|
+
if (t.target.isConnected && ![...o, ...s].some((e) => U(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && xo(e) ? o.add(e) : e instanceof Element && d(e);
|
|
4485
|
+
if (we()) {
|
|
4486
4486
|
for (let e of u) if (!e.isConnected) {
|
|
4487
4487
|
p.disconnect();
|
|
4488
4488
|
break;
|
|
@@ -4509,7 +4509,7 @@ function wo(e, t) {
|
|
|
4509
4509
|
}
|
|
4510
4510
|
};
|
|
4511
4511
|
return Co.push(h), () => {
|
|
4512
|
-
if (p.disconnect(),
|
|
4512
|
+
if (p.disconnect(), we()) for (let e of m) e.disconnect();
|
|
4513
4513
|
for (let e of s) {
|
|
4514
4514
|
let t = So.get(e);
|
|
4515
4515
|
t != null && (t === 1 ? (l(e, !1), So.delete(e)) : So.set(e, t - 1));
|
|
@@ -4523,15 +4523,15 @@ function To(e) {
|
|
|
4523
4523
|
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = f({
|
|
4524
4524
|
isPointerDown: !1,
|
|
4525
4525
|
ignoreEmulatedMouseEvents: !1
|
|
4526
|
-
}), o =
|
|
4526
|
+
}), o = Ht((e) => {
|
|
4527
4527
|
n && Eo(e, t) && (i && i(e), a.current.isPointerDown = !0);
|
|
4528
|
-
}), c =
|
|
4528
|
+
}), c = Ht((e) => {
|
|
4529
4529
|
n && n(e);
|
|
4530
4530
|
});
|
|
4531
4531
|
s(() => {
|
|
4532
4532
|
let e = a.current;
|
|
4533
4533
|
if (r) return;
|
|
4534
|
-
let n = t.current, i =
|
|
4534
|
+
let n = t.current, i = H(n);
|
|
4535
4535
|
if (typeof PointerEvent < "u") {
|
|
4536
4536
|
let n = (n) => {
|
|
4537
4537
|
e.isPointerDown && Eo(n, t) && c(n), e.isPointerDown = !1;
|
|
@@ -4553,10 +4553,10 @@ function To(e) {
|
|
|
4553
4553
|
}
|
|
4554
4554
|
function Eo(e, t) {
|
|
4555
4555
|
if (e.button > 0) return !1;
|
|
4556
|
-
let n =
|
|
4556
|
+
let n = G(e);
|
|
4557
4557
|
if (n) {
|
|
4558
4558
|
let e = n.ownerDocument;
|
|
4559
|
-
if (!e || !
|
|
4559
|
+
if (!e || !U(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
|
|
4560
4560
|
}
|
|
4561
4561
|
return t.current ? !e.composedPath().includes(t.current) : !1;
|
|
4562
4562
|
}
|
|
@@ -4575,9 +4575,9 @@ function Oo(e, t) {
|
|
|
4575
4575
|
Do[Do.length - 1] === t && n && n();
|
|
4576
4576
|
}, d = (e) => {
|
|
4577
4577
|
let n = Do[Do.length - 1];
|
|
4578
|
-
l.current = n, (!c || c(
|
|
4578
|
+
l.current = n, (!c || c(G(e))) && n === t && e.stopPropagation();
|
|
4579
4579
|
}, p = (e) => {
|
|
4580
|
-
(!c || c(
|
|
4580
|
+
(!c || c(G(e))) && (Do[Do.length - 1] === t && e.stopPropagation(), l.current === t && u()), l.current = void 0;
|
|
4581
4581
|
}, m = (e) => {
|
|
4582
4582
|
e.key === "Escape" && !o && !e.nativeEvent.isComposing && (e.stopPropagation(), e.preventDefault(), u());
|
|
4583
4583
|
};
|
|
@@ -4606,7 +4606,7 @@ var ko = typeof document < "u" && window.visualViewport, Ao = 0, jo;
|
|
|
4606
4606
|
function Mo(e = {}) {
|
|
4607
4607
|
let { isDisabled: t } = e;
|
|
4608
4608
|
C(() => {
|
|
4609
|
-
if (!t) return Ao++, Ao === 1 && (jo =
|
|
4609
|
+
if (!t) return Ao++, Ao === 1 && (jo = nt() ? Po() : No()), () => {
|
|
4610
4610
|
Ao--, Ao === 0 && jo();
|
|
4611
4611
|
};
|
|
4612
4612
|
}, [t]);
|
|
@@ -4617,7 +4617,7 @@ function No() {
|
|
|
4617
4617
|
}
|
|
4618
4618
|
function Po() {
|
|
4619
4619
|
let e = Fo(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
|
|
4620
|
-
let r =
|
|
4620
|
+
let r = G(e);
|
|
4621
4621
|
t = hi(r) ? r : gi(r, !0), n = !1;
|
|
4622
4622
|
let i = r.ownerDocument.defaultView.getSelection();
|
|
4623
4623
|
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
|
|
@@ -4632,11 +4632,11 @@ function Po() {
|
|
|
4632
4632
|
t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();
|
|
4633
4633
|
}
|
|
4634
4634
|
}, s = (e) => {
|
|
4635
|
-
let t =
|
|
4636
|
-
n &&
|
|
4635
|
+
let t = G(e), n = e.relatedTarget;
|
|
4636
|
+
n && Bt(n) ? (n.focus({ preventScroll: !0 }), Lo(n, Bt(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
|
|
4637
4637
|
}, c = HTMLElement.prototype.focus;
|
|
4638
4638
|
HTMLElement.prototype.focus = function(e) {
|
|
4639
|
-
let t =
|
|
4639
|
+
let t = W(), n = t != null && Bt(t);
|
|
4640
4640
|
c.call(this, {
|
|
4641
4641
|
...e,
|
|
4642
4642
|
preventScroll: !0
|
|
@@ -4867,7 +4867,7 @@ function bs(e) {
|
|
|
4867
4867
|
return e && e.__esModule ? e.default : e;
|
|
4868
4868
|
}
|
|
4869
4869
|
function xs(t) {
|
|
4870
|
-
let { onDismiss: n, ...r } = t, i =
|
|
4870
|
+
let { onDismiss: n, ...r } = t, i = Wt(r, hn(bs(ys), "@react-aria/overlays").format("dismiss")), a = () => {
|
|
4871
4871
|
n && n();
|
|
4872
4872
|
};
|
|
4873
4873
|
return /*#__PURE__*/ e.createElement(Ti, null, /*#__PURE__*/ e.createElement("button", {
|
|
@@ -4916,7 +4916,7 @@ function Ds() {
|
|
|
4916
4916
|
//#endregion
|
|
4917
4917
|
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
|
|
4918
4918
|
function Os(e) {
|
|
4919
|
-
let [t, n] =
|
|
4919
|
+
let [t, n] = _n(e.isOpen, e.defaultOpen || !1, e.onOpenChange);
|
|
4920
4920
|
return {
|
|
4921
4921
|
isOpen: t,
|
|
4922
4922
|
setOpen: n,
|
|
@@ -4985,14 +4985,14 @@ function js(e, t, n) {
|
|
|
4985
4985
|
//#endregion
|
|
4986
4986
|
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
|
|
4987
4987
|
function Ms(e, t) {
|
|
4988
|
-
let { role: n = "dialog" } = e, r =
|
|
4988
|
+
let { role: n = "dialog" } = e, r = ae();
|
|
4989
4989
|
r = e["aria-label"] ? void 0 : r;
|
|
4990
4990
|
let i = f(!1);
|
|
4991
4991
|
s(() => {
|
|
4992
|
-
if (t.current && !
|
|
4993
|
-
|
|
4992
|
+
if (t.current && !Te(t.current)) {
|
|
4993
|
+
Nn(t.current);
|
|
4994
4994
|
let e = setTimeout(() => {
|
|
4995
|
-
(
|
|
4995
|
+
(W() === t.current || W() === document.body) && (i.current = !0, t.current && (t.current.blur(), Nn(t.current)), i.current = !1);
|
|
4996
4996
|
}, 500);
|
|
4997
4997
|
return () => {
|
|
4998
4998
|
clearTimeout(e);
|
|
@@ -5007,7 +5007,7 @@ function Ms(e, t) {
|
|
|
5007
5007
|
}
|
|
5008
5008
|
}), {
|
|
5009
5009
|
dialogProps: {
|
|
5010
|
-
...
|
|
5010
|
+
...gr(e, { labelable: !0 }),
|
|
5011
5011
|
role: n,
|
|
5012
5012
|
tabIndex: -1,
|
|
5013
5013
|
"aria-labelledby": e["aria-labelledby"] || r,
|
|
@@ -5022,32 +5022,32 @@ function Ms(e, t) {
|
|
|
5022
5022
|
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
|
|
5023
5023
|
var Ns = /*#__PURE__*/ n(null), Ps = /*#__PURE__*/ n(null), Fs = /*#__PURE__*/ r(function(t, n) {
|
|
5024
5024
|
let r = t["aria-labelledby"];
|
|
5025
|
-
[t, n] =
|
|
5025
|
+
[t, n] = fe(t, n, Ns);
|
|
5026
5026
|
let { dialogProps: i, titleProps: a } = Ms({
|
|
5027
5027
|
...t,
|
|
5028
5028
|
"aria-labelledby": r
|
|
5029
5029
|
}, n), s = o(Ps);
|
|
5030
5030
|
!i["aria-label"] && !i["aria-labelledby"] && (t["aria-labelledby"] ? i["aria-labelledby"] = t["aria-labelledby"] : process.env.NODE_ENV !== "production" && console.warn("If a Dialog does not contain a <Heading slot=\"title\">, it must have an aria-label or aria-labelledby attribute for accessibility."));
|
|
5031
|
-
let c =
|
|
5031
|
+
let c = V({
|
|
5032
5032
|
defaultClassName: "react-aria-Dialog",
|
|
5033
5033
|
className: t.className,
|
|
5034
5034
|
style: t.style,
|
|
5035
5035
|
children: t.children,
|
|
5036
5036
|
values: { close: s?.close || (() => {}) }
|
|
5037
|
-
}), l =
|
|
5038
|
-
return /*#__PURE__*/ e.createElement(
|
|
5039
|
-
...
|
|
5037
|
+
}), l = gr(t, { global: !0 });
|
|
5038
|
+
return /*#__PURE__*/ e.createElement(_e.section, {
|
|
5039
|
+
...z(l, c, i),
|
|
5040
5040
|
render: t.render,
|
|
5041
5041
|
ref: n,
|
|
5042
5042
|
slot: t.slot || void 0
|
|
5043
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5044
|
-
[
|
|
5043
|
+
}, /*#__PURE__*/ e.createElement(ue, { values: [[fi, { slots: {
|
|
5044
|
+
[B]: {},
|
|
5045
5045
|
title: {
|
|
5046
5046
|
...a,
|
|
5047
5047
|
level: 2
|
|
5048
5048
|
}
|
|
5049
5049
|
} }], [li, { slots: {
|
|
5050
|
-
[
|
|
5050
|
+
[B]: {},
|
|
5051
5051
|
close: { onPress: () => s?.close() }
|
|
5052
5052
|
} }]] }, c.children));
|
|
5053
5053
|
});
|
|
@@ -5084,7 +5084,7 @@ function Ls(e, t, n) {
|
|
|
5084
5084
|
return Mo({ isDisabled: !t.isOpen }), Ds(), s(() => {
|
|
5085
5085
|
if (t.isOpen && n.current) return wo([n.current], { shouldUseInert: !0 });
|
|
5086
5086
|
}, [t.isOpen, n]), {
|
|
5087
|
-
modalProps:
|
|
5087
|
+
modalProps: z(r),
|
|
5088
5088
|
underlayProps: i
|
|
5089
5089
|
};
|
|
5090
5090
|
}
|
|
@@ -5102,16 +5102,16 @@ function zs() {
|
|
|
5102
5102
|
}, t = () => {
|
|
5103
5103
|
Rs && Rs.scale > 1 || e(Bs());
|
|
5104
5104
|
}, r, i = (t) => {
|
|
5105
|
-
Rs && Rs.scale > 1 ||
|
|
5106
|
-
let t =
|
|
5107
|
-
(!t || !
|
|
5105
|
+
Rs && Rs.scale > 1 || Bt(G(t)) && (r = requestAnimationFrame(() => {
|
|
5106
|
+
let t = W();
|
|
5107
|
+
(!t || !Bt(t)) && e({
|
|
5108
5108
|
width: document.documentElement.clientWidth,
|
|
5109
5109
|
height: document.documentElement.clientHeight
|
|
5110
5110
|
});
|
|
5111
5111
|
}));
|
|
5112
5112
|
};
|
|
5113
|
-
return e(Bs()),
|
|
5114
|
-
cancelAnimationFrame(r),
|
|
5113
|
+
return e(Bs()), nt() && window.addEventListener("blur", i, !0), Rs ? Rs.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
|
|
5114
|
+
cancelAnimationFrame(r), nt() && window.removeEventListener("blur", i, !0), Rs ? Rs.removeEventListener("resize", t) : window.removeEventListener("resize", t);
|
|
5115
5115
|
};
|
|
5116
5116
|
}, []), t;
|
|
5117
5117
|
}
|
|
@@ -5161,10 +5161,10 @@ var Vs = /*#__PURE__*/ n(null), Hs = /*#__PURE__*/ n(null), Us = /*#__PURE__*/ r
|
|
|
5161
5161
|
}, l));
|
|
5162
5162
|
});
|
|
5163
5163
|
function Ws(t, n) {
|
|
5164
|
-
[t, n] =
|
|
5164
|
+
[t, n] = fe(t, n, Vs);
|
|
5165
5165
|
let r = o(Ps), i = Os(t), a = t.isOpen != null || t.defaultOpen != null || !r ? i : r;
|
|
5166
5166
|
a === r && process.env.NODE_ENV !== "production" && (t.onOpenChange || t.defaultOpen !== void 0 || t.isOpen !== void 0) && console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");
|
|
5167
|
-
let s =
|
|
5167
|
+
let s = le(n), c = f(null), l = As(s, a.isOpen), u = As(c, a.isOpen), d = l || u || t.isExiting || !1, p = P();
|
|
5168
5168
|
return !a.isOpen && !d || p ? null : /*#__PURE__*/ e.createElement(Ks, {
|
|
5169
5169
|
...t,
|
|
5170
5170
|
state: a,
|
|
@@ -5175,7 +5175,7 @@ function Ws(t, n) {
|
|
|
5175
5175
|
}
|
|
5176
5176
|
var Gs = /*#__PURE__*/ r(Ws);
|
|
5177
5177
|
function Ks({ UNSTABLE_portalContainer: t, ...n }) {
|
|
5178
|
-
let r = n.modalRef, { state: i } = n, { modalProps: a, underlayProps: o } = Ls(n, i, r), s = ks(n.overlayRef) || n.isEntering || !1, c =
|
|
5178
|
+
let r = n.modalRef, { state: i } = n, { modalProps: a, underlayProps: o } = Ls(n, i, r), s = ks(n.overlayRef) || n.isEntering || !1, c = V({
|
|
5179
5179
|
...n,
|
|
5180
5180
|
defaultClassName: "react-aria-ModalOverlay",
|
|
5181
5181
|
values: {
|
|
@@ -5198,14 +5198,14 @@ function Ks({ UNSTABLE_portalContainer: t, ...n }) {
|
|
|
5198
5198
|
return /*#__PURE__*/ e.createElement(Es, {
|
|
5199
5199
|
isExiting: n.isExiting,
|
|
5200
5200
|
portalContainer: t
|
|
5201
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5202
|
-
...
|
|
5201
|
+
}, /*#__PURE__*/ e.createElement(_e.div, {
|
|
5202
|
+
...z(gr(n, { global: !0 }), o),
|
|
5203
5203
|
...c,
|
|
5204
5204
|
style: f,
|
|
5205
5205
|
ref: n.overlayRef,
|
|
5206
5206
|
"data-entering": s || void 0,
|
|
5207
5207
|
"data-exiting": n.isExiting || void 0
|
|
5208
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5208
|
+
}, /*#__PURE__*/ e.createElement(ue, { values: [[Hs, {
|
|
5209
5209
|
modalProps: a,
|
|
5210
5210
|
modalRef: r,
|
|
5211
5211
|
isExiting: n.isExiting,
|
|
@@ -5213,7 +5213,7 @@ function Ks({ UNSTABLE_portalContainer: t, ...n }) {
|
|
|
5213
5213
|
}], [Ps, i]] }, c.children)));
|
|
5214
5214
|
}
|
|
5215
5215
|
function qs(t) {
|
|
5216
|
-
let { modalProps: n, modalRef: r, isExiting: i, isDismissable: a } = o(Hs), s = o(Ps), c =
|
|
5216
|
+
let { modalProps: n, modalRef: r, isExiting: i, isDismissable: a } = o(Hs), s = o(Ps), c = le(u(() => oe(t.modalRef, r), [t.modalRef, r])), l = ks(c), d = V({
|
|
5217
5217
|
...t,
|
|
5218
5218
|
defaultClassName: "react-aria-Modal",
|
|
5219
5219
|
values: {
|
|
@@ -5222,8 +5222,8 @@ function qs(t) {
|
|
|
5222
5222
|
state: s
|
|
5223
5223
|
}
|
|
5224
5224
|
});
|
|
5225
|
-
return /*#__PURE__*/ e.createElement(
|
|
5226
|
-
...
|
|
5225
|
+
return /*#__PURE__*/ e.createElement(_e.div, {
|
|
5226
|
+
...z(gr(t, { global: !0 }), n),
|
|
5227
5227
|
...d,
|
|
5228
5228
|
ref: c,
|
|
5229
5229
|
"data-entering": l || void 0,
|
|
@@ -5249,12 +5249,12 @@ function Js(e, t, n) {
|
|
|
5249
5249
|
//#region node_modules/react-aria-components/dist/private/Switch.mjs
|
|
5250
5250
|
var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r(function(t, n) {
|
|
5251
5251
|
let { inputRef: r = null, ...i } = t;
|
|
5252
|
-
[t, n] =
|
|
5253
|
-
let a =
|
|
5254
|
-
...
|
|
5252
|
+
[t, n] = fe(i, n, Ys);
|
|
5253
|
+
let a = le(oe(r, t.inputRef === void 0 ? null : t.inputRef)), o = Xi(t), s = Js({
|
|
5254
|
+
...me(t),
|
|
5255
5255
|
children: typeof t.children == "function" ? !0 : t.children
|
|
5256
5256
|
}, o, a);
|
|
5257
|
-
return /*#__PURE__*/ e.createElement(
|
|
5257
|
+
return /*#__PURE__*/ e.createElement(ue, { values: [[Xs, o], [Qs, {
|
|
5258
5258
|
...s,
|
|
5259
5259
|
inputRef: a,
|
|
5260
5260
|
defaultClassName: "react-aria-Switch"
|
|
@@ -5266,7 +5266,7 @@ var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r
|
|
|
5266
5266
|
let { labelProps: r, inputProps: i, isSelected: a, isDisabled: s, isReadOnly: c, isPressed: l, isInvalid: u, inputRef: d, defaultClassName: f, isRequired: p } = o(Qs), { isFocused: m, isFocusVisible: h, focusProps: g } = qr(), _ = s || c, v = o(Xs), { hoverProps: y, isHovered: b } = $r({
|
|
5267
5267
|
...t,
|
|
5268
5268
|
isDisabled: _
|
|
5269
|
-
}), x =
|
|
5269
|
+
}), x = V({
|
|
5270
5270
|
...t,
|
|
5271
5271
|
defaultClassName: f,
|
|
5272
5272
|
values: {
|
|
@@ -5281,9 +5281,9 @@ var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r
|
|
|
5281
5281
|
isRequired: p || !1,
|
|
5282
5282
|
state: v
|
|
5283
5283
|
}
|
|
5284
|
-
}), S =
|
|
5285
|
-
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(
|
|
5286
|
-
...
|
|
5284
|
+
}), S = gr(t, { global: !0 });
|
|
5285
|
+
return delete S.id, delete S.onClick, /*#__PURE__*/ e.createElement(_e.label, {
|
|
5286
|
+
...z(S, r, y, x),
|
|
5287
5287
|
ref: n,
|
|
5288
5288
|
slot: t.slot || void 0,
|
|
5289
5289
|
"data-selected": a || void 0,
|
|
@@ -5296,7 +5296,7 @@ var Ys = /*#__PURE__*/ n(null), Xs = /*#__PURE__*/ n(null), Zs = /*#__PURE__*/ r
|
|
|
5296
5296
|
"data-invalid": u || void 0,
|
|
5297
5297
|
"data-required": p || void 0
|
|
5298
5298
|
}, /*#__PURE__*/ e.createElement(Ti, { elementType: "span" }, /*#__PURE__*/ e.createElement("input", {
|
|
5299
|
-
...
|
|
5299
|
+
...z(i, g),
|
|
5300
5300
|
ref: d
|
|
5301
5301
|
})), x.children);
|
|
5302
5302
|
}), ec = /* @__PURE__ */ new WeakMap();
|
|
@@ -5316,14 +5316,14 @@ function nc(e, t, n) {
|
|
|
5316
5316
|
isDisabled: l,
|
|
5317
5317
|
shouldSelectOnPressUp: a ?? u?.props.href != null,
|
|
5318
5318
|
linkBehavior: "selection"
|
|
5319
|
-
}), p = tc(t, r, "tab"), m = tc(t, r, "tabpanel"), { tabIndex: h } = d, g =
|
|
5319
|
+
}), p = tc(t, r, "tab"), m = tc(t, r, "tabpanel"), { tabIndex: h } = d, g = gr(u?.props, { labelable: !0 });
|
|
5320
5320
|
delete g.id;
|
|
5321
|
-
let _ =
|
|
5321
|
+
let _ = ht(u?.props), { focusableProps: v } = Bn({
|
|
5322
5322
|
...u?.props,
|
|
5323
5323
|
isDisabled: l
|
|
5324
5324
|
}, n);
|
|
5325
5325
|
return {
|
|
5326
|
-
tabProps:
|
|
5326
|
+
tabProps: z(g, v, _, d, {
|
|
5327
5327
|
id: p,
|
|
5328
5328
|
"aria-selected": c,
|
|
5329
5329
|
"aria-disabled": l || void 0,
|
|
@@ -5340,7 +5340,7 @@ function nc(e, t, n) {
|
|
|
5340
5340
|
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
|
|
5341
5341
|
function rc(e, t, n) {
|
|
5342
5342
|
let r = Is(n) ? void 0 : 0, i = tc(t, e.id ?? t?.selectedKey, "tabpanel");
|
|
5343
|
-
return { tabPanelProps:
|
|
5343
|
+
return { tabPanelProps: z(Wt({
|
|
5344
5344
|
...e,
|
|
5345
5345
|
id: i,
|
|
5346
5346
|
"aria-labelledby": tc(t, t?.selectedKey, "tab")
|
|
@@ -5398,7 +5398,7 @@ var ic = class {
|
|
|
5398
5398
|
//#endregion
|
|
5399
5399
|
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
|
|
5400
5400
|
function ac(e, t, n) {
|
|
5401
|
-
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } =
|
|
5401
|
+
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = tn(), { collectionProps: l } = Ja({
|
|
5402
5402
|
ref: n,
|
|
5403
5403
|
selectionManager: o,
|
|
5404
5404
|
keyboardDelegate: u(() => new ic(a, c, r, s), [
|
|
@@ -5411,9 +5411,9 @@ function ac(e, t, n) {
|
|
|
5411
5411
|
disallowEmptySelection: !0,
|
|
5412
5412
|
scrollRef: n,
|
|
5413
5413
|
linkBehavior: "selection"
|
|
5414
|
-
}), d =
|
|
5414
|
+
}), d = I();
|
|
5415
5415
|
return ec.set(t, d), { tabListProps: {
|
|
5416
|
-
...
|
|
5416
|
+
...z(l, Wt({
|
|
5417
5417
|
...e,
|
|
5418
5418
|
id: d
|
|
5419
5419
|
})),
|
|
@@ -5425,7 +5425,7 @@ function ac(e, t, n) {
|
|
|
5425
5425
|
//#endregion
|
|
5426
5426
|
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
|
|
5427
5427
|
function oc(e) {
|
|
5428
|
-
let [t, n] =
|
|
5428
|
+
let [t, n] = _n(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = u(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = vo({
|
|
5429
5429
|
...e,
|
|
5430
5430
|
selectionMode: "single",
|
|
5431
5431
|
disallowEmptySelection: !0,
|
|
@@ -5476,12 +5476,12 @@ function cc(e, t) {
|
|
|
5476
5476
|
//#endregion
|
|
5477
5477
|
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
|
|
5478
5478
|
var lc = /*#__PURE__*/ n(null), uc = /*#__PURE__*/ n(null), dc = /*#__PURE__*/ r(function(t, n) {
|
|
5479
|
-
[t, n] =
|
|
5479
|
+
[t, n] = fe(t, n, lc);
|
|
5480
5480
|
let { children: r, orientation: i = "horizontal" } = t;
|
|
5481
5481
|
return r = u(() => typeof r == "function" ? r({
|
|
5482
5482
|
orientation: i,
|
|
5483
5483
|
defaultChildren: null
|
|
5484
|
-
}) : r, [r, i]), /*#__PURE__*/ e.createElement(
|
|
5484
|
+
}) : r, [r, i]), /*#__PURE__*/ e.createElement(Kn, { content: r }, (r) => /*#__PURE__*/ e.createElement(fc, {
|
|
5485
5485
|
props: t,
|
|
5486
5486
|
collection: r,
|
|
5487
5487
|
tabsRef: n
|
|
@@ -5500,33 +5500,33 @@ function fc({ props: t, tabsRef: n, collection: r }) {
|
|
|
5500
5500
|
i,
|
|
5501
5501
|
s,
|
|
5502
5502
|
c
|
|
5503
|
-
]), d =
|
|
5503
|
+
]), d = V({
|
|
5504
5504
|
...t,
|
|
5505
5505
|
defaultClassName: "react-aria-Tabs",
|
|
5506
5506
|
values: l
|
|
5507
|
-
}), f =
|
|
5508
|
-
return /*#__PURE__*/ e.createElement(
|
|
5509
|
-
...
|
|
5507
|
+
}), f = gr(t, { global: !0 });
|
|
5508
|
+
return /*#__PURE__*/ e.createElement(_e.div, {
|
|
5509
|
+
...z(f, d, o),
|
|
5510
5510
|
ref: n,
|
|
5511
5511
|
slot: t.slot || void 0,
|
|
5512
5512
|
"data-focused": s || void 0,
|
|
5513
5513
|
"data-orientation": i,
|
|
5514
5514
|
"data-focus-visible": c || void 0,
|
|
5515
5515
|
"data-disabled": a.isDisabled || void 0
|
|
5516
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5516
|
+
}, /*#__PURE__*/ e.createElement(ue, { values: [[lc, t], [uc, a]] }, d.children));
|
|
5517
5517
|
}
|
|
5518
5518
|
var pc = /*#__PURE__*/ r(function(t, n) {
|
|
5519
5519
|
return o(uc) ? /*#__PURE__*/ e.createElement(mc, {
|
|
5520
5520
|
props: t,
|
|
5521
5521
|
forwardedRef: n
|
|
5522
|
-
}) : /*#__PURE__*/ e.createElement(
|
|
5522
|
+
}) : /*#__PURE__*/ e.createElement(rr, t);
|
|
5523
5523
|
});
|
|
5524
5524
|
function mc({ props: t, forwardedRef: n }) {
|
|
5525
|
-
let r = o(uc), { CollectionRoot: i } = o(
|
|
5525
|
+
let r = o(uc), { CollectionRoot: i } = o(cr), { orientation: a = "horizontal", keyboardActivation: s = "automatic" } = de(lc), c = le(n), { tabListProps: l } = ac({
|
|
5526
5526
|
...t,
|
|
5527
5527
|
orientation: a,
|
|
5528
5528
|
keyboardActivation: s
|
|
5529
|
-
}, r, c), u =
|
|
5529
|
+
}, r, c), u = V({
|
|
5530
5530
|
...t,
|
|
5531
5531
|
children: null,
|
|
5532
5532
|
defaultClassName: "react-aria-TabList",
|
|
@@ -5534,22 +5534,22 @@ function mc({ props: t, forwardedRef: n }) {
|
|
|
5534
5534
|
orientation: a,
|
|
5535
5535
|
state: r
|
|
5536
5536
|
}
|
|
5537
|
-
}), d =
|
|
5538
|
-
return delete d.id, /*#__PURE__*/ e.createElement(
|
|
5539
|
-
...
|
|
5537
|
+
}), d = gr(t, { global: !0 });
|
|
5538
|
+
return delete d.id, /*#__PURE__*/ e.createElement(_e.div, {
|
|
5539
|
+
...z(d, u, l),
|
|
5540
5540
|
ref: c,
|
|
5541
5541
|
"data-orientation": a || void 0
|
|
5542
5542
|
}, /*#__PURE__*/ e.createElement(ua, null, /*#__PURE__*/ e.createElement(i, {
|
|
5543
5543
|
collection: r.collection,
|
|
5544
|
-
persistedKeys:
|
|
5544
|
+
persistedKeys: lr(r.selectionManager.focusedKey)
|
|
5545
5545
|
})));
|
|
5546
5546
|
}
|
|
5547
|
-
var hc = /*#__PURE__*/
|
|
5547
|
+
var hc = /*#__PURE__*/ er(class extends yn {
|
|
5548
5548
|
static {
|
|
5549
5549
|
this.type = "item";
|
|
5550
5550
|
}
|
|
5551
5551
|
}, (t, n, r) => {
|
|
5552
|
-
let i = o(uc), a =
|
|
5552
|
+
let i = o(uc), a = le(n), { tabProps: s, isSelected: c, isDisabled: l, isPressed: u } = nc({
|
|
5553
5553
|
key: r.key,
|
|
5554
5554
|
...t
|
|
5555
5555
|
}, i, a), { focusProps: d, isFocused: f, isFocusVisible: p } = qr(), { hoverProps: m, isHovered: h } = $r({
|
|
@@ -5557,7 +5557,7 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5557
5557
|
onHoverStart: t.onHoverStart,
|
|
5558
5558
|
onHoverEnd: t.onHoverEnd,
|
|
5559
5559
|
onHoverChange: t.onHoverChange
|
|
5560
|
-
}), g =
|
|
5560
|
+
}), g = V({
|
|
5561
5561
|
...t,
|
|
5562
5562
|
id: void 0,
|
|
5563
5563
|
children: r.rendered,
|
|
@@ -5570,9 +5570,9 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5570
5570
|
isPressed: u,
|
|
5571
5571
|
isHovered: h
|
|
5572
5572
|
}
|
|
5573
|
-
}), _ = r.props.href ?
|
|
5573
|
+
}), _ = r.props.href ? _e.a : _e.div, v = gr(t, { global: !0 });
|
|
5574
5574
|
return delete v.id, delete v.onClick, /*#__PURE__*/ e.createElement(_, {
|
|
5575
|
-
...
|
|
5575
|
+
...z(v, g, s, d, m),
|
|
5576
5576
|
ref: a,
|
|
5577
5577
|
"data-selected": c || void 0,
|
|
5578
5578
|
"data-disabled": l || void 0,
|
|
@@ -5581,8 +5581,8 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5581
5581
|
"data-pressed": u || void 0,
|
|
5582
5582
|
"data-hovered": h || void 0
|
|
5583
5583
|
}, /*#__PURE__*/ e.createElement(da.Provider, { value: { isSelected: c } }, g.children));
|
|
5584
|
-
}), gc = /*#__PURE__*/
|
|
5585
|
-
let r = o(uc), i =
|
|
5584
|
+
}), gc = /*#__PURE__*/ Un(function(t, n) {
|
|
5585
|
+
let r = o(uc), i = le(n), a = r.selectedKey === t.id, [s, c] = p(r.selectedKey == null ? null : a);
|
|
5586
5586
|
s == null && r.selectedKey != null ? c(a) : !a && s && c(!1);
|
|
5587
5587
|
let l = As(i, a);
|
|
5588
5588
|
return !a && !t.shouldForceMount && !l ? null : /*#__PURE__*/ e.createElement(_c, {
|
|
@@ -5593,7 +5593,7 @@ var hc = /*#__PURE__*/ tr(class extends bn {
|
|
|
5593
5593
|
});
|
|
5594
5594
|
});
|
|
5595
5595
|
function _c(t) {
|
|
5596
|
-
let n = o(uc), { id: r, tabPanelRef: i, isInitiallySelected: a, isExiting: s, ...c } = t, { tabPanelProps: l } = rc(t, n, i), { focusProps: u, isFocused: d, isFocusVisible: f } = qr(), p = n.selectedKey === t.id, m = ks(i) && !a, h =
|
|
5596
|
+
let n = o(uc), { id: r, tabPanelRef: i, isInitiallySelected: a, isExiting: s, ...c } = t, { tabPanelProps: l } = rc(t, n, i), { focusProps: u, isFocused: d, isFocusVisible: f } = qr(), p = n.selectedKey === t.id, m = ks(i) && !a, h = V({
|
|
5597
5597
|
...t,
|
|
5598
5598
|
defaultClassName: "react-aria-TabPanel",
|
|
5599
5599
|
values: {
|
|
@@ -5604,10 +5604,10 @@ function _c(t) {
|
|
|
5604
5604
|
isExiting: s,
|
|
5605
5605
|
state: n
|
|
5606
5606
|
}
|
|
5607
|
-
}), g =
|
|
5607
|
+
}), g = gr(c, { global: !0 });
|
|
5608
5608
|
delete g.id;
|
|
5609
|
-
let _ = p ?
|
|
5610
|
-
return /*#__PURE__*/ e.createElement(
|
|
5609
|
+
let _ = p ? z(g, l, u, h) : z(g, h);
|
|
5610
|
+
return /*#__PURE__*/ e.createElement(_e.div, {
|
|
5611
5611
|
..._,
|
|
5612
5612
|
ref: i,
|
|
5613
5613
|
"data-focused": d || void 0,
|
|
@@ -5616,22 +5616,22 @@ function _c(t) {
|
|
|
5616
5616
|
"data-inert": p ? void 0 : "true",
|
|
5617
5617
|
"data-entering": m || void 0,
|
|
5618
5618
|
"data-exiting": s || void 0
|
|
5619
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5619
|
+
}, /*#__PURE__*/ e.createElement(ue, { values: [[lc, null], [uc, null]] }, /*#__PURE__*/ e.createElement(cr.Provider, { value: ar }, h.children)));
|
|
5620
5620
|
}
|
|
5621
5621
|
//#endregion
|
|
5622
5622
|
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
|
|
5623
|
-
var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/
|
|
5624
|
-
[t, n] =
|
|
5625
|
-
let { validationBehavior: r } =
|
|
5626
|
-
[t, o] =
|
|
5627
|
-
let [s, c] =
|
|
5628
|
-
...
|
|
5623
|
+
var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Un(function(t, n) {
|
|
5624
|
+
[t, n] = fe(t, n, yc);
|
|
5625
|
+
let { validationBehavior: r } = de(Ri) || {}, i = t.validationBehavior ?? r ?? "native", o = f(null);
|
|
5626
|
+
[t, o] = fe(t, o, vn);
|
|
5627
|
+
let [s, c] = pe(!t["aria-label"] && !t["aria-labelledby"]), [l, u] = p("input"), { labelProps: d, inputProps: m, descriptionProps: h, errorMessageProps: g, ..._ } = ca({
|
|
5628
|
+
...me(t),
|
|
5629
5629
|
inputElementType: l,
|
|
5630
5630
|
label: c,
|
|
5631
5631
|
validationBehavior: i
|
|
5632
5632
|
}, o), v = a((e) => {
|
|
5633
5633
|
o.current = e, e && u(e instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
5634
|
-
}, [o]), y =
|
|
5634
|
+
}, [o]), y = V({
|
|
5635
5635
|
...t,
|
|
5636
5636
|
values: {
|
|
5637
5637
|
isDisabled: t.isDisabled || !1,
|
|
@@ -5640,8 +5640,8 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
5640
5640
|
isRequired: t.isRequired || !1
|
|
5641
5641
|
},
|
|
5642
5642
|
defaultClassName: "react-aria-TextField"
|
|
5643
|
-
}), b =
|
|
5644
|
-
return delete b.id, /*#__PURE__*/ e.createElement(
|
|
5643
|
+
}), b = gr(t, { global: !0 });
|
|
5644
|
+
return delete b.id, /*#__PURE__*/ e.createElement(_e.div, {
|
|
5645
5645
|
...b,
|
|
5646
5646
|
...y,
|
|
5647
5647
|
ref: n,
|
|
@@ -5650,7 +5650,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
5650
5650
|
"data-invalid": _.isInvalid || void 0,
|
|
5651
5651
|
"data-readonly": t.isReadOnly || void 0,
|
|
5652
5652
|
"data-required": t.isRequired || void 0
|
|
5653
|
-
}, /*#__PURE__*/ e.createElement(
|
|
5653
|
+
}, /*#__PURE__*/ e.createElement(ue, { values: [
|
|
5654
5654
|
[ei, {
|
|
5655
5655
|
...d,
|
|
5656
5656
|
ref: s
|
|
@@ -6055,35 +6055,35 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6055
6055
|
"y",
|
|
6056
6056
|
"space",
|
|
6057
6057
|
"round"
|
|
6058
|
-
] }],
|
|
6058
|
+
] }], F = () => [
|
|
6059
6059
|
"auto",
|
|
6060
6060
|
"cover",
|
|
6061
6061
|
"contain",
|
|
6062
6062
|
Al,
|
|
6063
6063
|
yl,
|
|
6064
6064
|
{ size: [Q, Z] }
|
|
6065
|
-
],
|
|
6065
|
+
], ie = () => [
|
|
6066
6066
|
ul,
|
|
6067
6067
|
Dl,
|
|
6068
6068
|
bl
|
|
6069
|
-
],
|
|
6069
|
+
], I = () => [
|
|
6070
6070
|
"",
|
|
6071
6071
|
"none",
|
|
6072
6072
|
"full",
|
|
6073
6073
|
l,
|
|
6074
6074
|
Q,
|
|
6075
6075
|
Z
|
|
6076
|
-
],
|
|
6076
|
+
], L = () => [
|
|
6077
6077
|
"",
|
|
6078
6078
|
X,
|
|
6079
6079
|
Dl,
|
|
6080
6080
|
bl
|
|
6081
|
-
],
|
|
6081
|
+
], ae = () => [
|
|
6082
6082
|
"solid",
|
|
6083
6083
|
"dashed",
|
|
6084
6084
|
"dotted",
|
|
6085
6085
|
"double"
|
|
6086
|
-
],
|
|
6086
|
+
], oe = () => [
|
|
6087
6087
|
"normal",
|
|
6088
6088
|
"multiply",
|
|
6089
6089
|
"screen",
|
|
@@ -6100,32 +6100,32 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6100
6100
|
"saturation",
|
|
6101
6101
|
"color",
|
|
6102
6102
|
"luminosity"
|
|
6103
|
-
],
|
|
6103
|
+
], R = () => [
|
|
6104
6104
|
X,
|
|
6105
6105
|
ul,
|
|
6106
6106
|
kl,
|
|
6107
6107
|
wl
|
|
6108
|
-
],
|
|
6108
|
+
], se = () => [
|
|
6109
6109
|
"",
|
|
6110
6110
|
"none",
|
|
6111
6111
|
m,
|
|
6112
6112
|
Q,
|
|
6113
6113
|
Z
|
|
6114
|
-
],
|
|
6114
|
+
], ce = () => [
|
|
6115
6115
|
"none",
|
|
6116
6116
|
X,
|
|
6117
6117
|
Q,
|
|
6118
6118
|
Z
|
|
6119
|
-
],
|
|
6119
|
+
], z = () => [
|
|
6120
6120
|
"none",
|
|
6121
6121
|
X,
|
|
6122
6122
|
Q,
|
|
6123
6123
|
Z
|
|
6124
|
-
],
|
|
6124
|
+
], le = () => [
|
|
6125
6125
|
X,
|
|
6126
6126
|
Q,
|
|
6127
6127
|
Z
|
|
6128
|
-
],
|
|
6128
|
+
], B = () => [
|
|
6129
6129
|
cl,
|
|
6130
6130
|
"full",
|
|
6131
6131
|
...w()
|
|
@@ -6542,7 +6542,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6542
6542
|
"line-through",
|
|
6543
6543
|
"no-underline"
|
|
6544
6544
|
],
|
|
6545
|
-
"text-decoration-style": [{ decoration: [...
|
|
6545
|
+
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
|
|
6546
6546
|
"text-decoration-thickness": [{ decoration: [
|
|
6547
6547
|
X,
|
|
6548
6548
|
"from-font",
|
|
@@ -6639,7 +6639,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6639
6639
|
] }],
|
|
6640
6640
|
"bg-position": [{ bg: ne() }],
|
|
6641
6641
|
"bg-repeat": [{ bg: re() }],
|
|
6642
|
-
"bg-size": [{ bg:
|
|
6642
|
+
"bg-size": [{ bg: F() }],
|
|
6643
6643
|
"bg-image": [{ bg: [
|
|
6644
6644
|
"none",
|
|
6645
6645
|
{
|
|
@@ -6673,49 +6673,49 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6673
6673
|
Tl
|
|
6674
6674
|
] }],
|
|
6675
6675
|
"bg-color": [{ bg: P() }],
|
|
6676
|
-
"gradient-from-pos": [{ from:
|
|
6677
|
-
"gradient-via-pos": [{ via:
|
|
6678
|
-
"gradient-to-pos": [{ to:
|
|
6676
|
+
"gradient-from-pos": [{ from: ie() }],
|
|
6677
|
+
"gradient-via-pos": [{ via: ie() }],
|
|
6678
|
+
"gradient-to-pos": [{ to: ie() }],
|
|
6679
6679
|
"gradient-from": [{ from: P() }],
|
|
6680
6680
|
"gradient-via": [{ via: P() }],
|
|
6681
6681
|
"gradient-to": [{ to: P() }],
|
|
6682
|
-
rounded: [{ rounded:
|
|
6683
|
-
"rounded-s": [{ "rounded-s":
|
|
6684
|
-
"rounded-e": [{ "rounded-e":
|
|
6685
|
-
"rounded-t": [{ "rounded-t":
|
|
6686
|
-
"rounded-r": [{ "rounded-r":
|
|
6687
|
-
"rounded-b": [{ "rounded-b":
|
|
6688
|
-
"rounded-l": [{ "rounded-l":
|
|
6689
|
-
"rounded-ss": [{ "rounded-ss":
|
|
6690
|
-
"rounded-se": [{ "rounded-se":
|
|
6691
|
-
"rounded-ee": [{ "rounded-ee":
|
|
6692
|
-
"rounded-es": [{ "rounded-es":
|
|
6693
|
-
"rounded-tl": [{ "rounded-tl":
|
|
6694
|
-
"rounded-tr": [{ "rounded-tr":
|
|
6695
|
-
"rounded-br": [{ "rounded-br":
|
|
6696
|
-
"rounded-bl": [{ "rounded-bl":
|
|
6697
|
-
"border-w": [{ border:
|
|
6698
|
-
"border-w-x": [{ "border-x":
|
|
6699
|
-
"border-w-y": [{ "border-y":
|
|
6700
|
-
"border-w-s": [{ "border-s":
|
|
6701
|
-
"border-w-e": [{ "border-e":
|
|
6702
|
-
"border-w-bs": [{ "border-bs":
|
|
6703
|
-
"border-w-be": [{ "border-be":
|
|
6704
|
-
"border-w-t": [{ "border-t":
|
|
6705
|
-
"border-w-r": [{ "border-r":
|
|
6706
|
-
"border-w-b": [{ "border-b":
|
|
6707
|
-
"border-w-l": [{ "border-l":
|
|
6708
|
-
"divide-x": [{ "divide-x":
|
|
6682
|
+
rounded: [{ rounded: I() }],
|
|
6683
|
+
"rounded-s": [{ "rounded-s": I() }],
|
|
6684
|
+
"rounded-e": [{ "rounded-e": I() }],
|
|
6685
|
+
"rounded-t": [{ "rounded-t": I() }],
|
|
6686
|
+
"rounded-r": [{ "rounded-r": I() }],
|
|
6687
|
+
"rounded-b": [{ "rounded-b": I() }],
|
|
6688
|
+
"rounded-l": [{ "rounded-l": I() }],
|
|
6689
|
+
"rounded-ss": [{ "rounded-ss": I() }],
|
|
6690
|
+
"rounded-se": [{ "rounded-se": I() }],
|
|
6691
|
+
"rounded-ee": [{ "rounded-ee": I() }],
|
|
6692
|
+
"rounded-es": [{ "rounded-es": I() }],
|
|
6693
|
+
"rounded-tl": [{ "rounded-tl": I() }],
|
|
6694
|
+
"rounded-tr": [{ "rounded-tr": I() }],
|
|
6695
|
+
"rounded-br": [{ "rounded-br": I() }],
|
|
6696
|
+
"rounded-bl": [{ "rounded-bl": I() }],
|
|
6697
|
+
"border-w": [{ border: L() }],
|
|
6698
|
+
"border-w-x": [{ "border-x": L() }],
|
|
6699
|
+
"border-w-y": [{ "border-y": L() }],
|
|
6700
|
+
"border-w-s": [{ "border-s": L() }],
|
|
6701
|
+
"border-w-e": [{ "border-e": L() }],
|
|
6702
|
+
"border-w-bs": [{ "border-bs": L() }],
|
|
6703
|
+
"border-w-be": [{ "border-be": L() }],
|
|
6704
|
+
"border-w-t": [{ "border-t": L() }],
|
|
6705
|
+
"border-w-r": [{ "border-r": L() }],
|
|
6706
|
+
"border-w-b": [{ "border-b": L() }],
|
|
6707
|
+
"border-w-l": [{ "border-l": L() }],
|
|
6708
|
+
"divide-x": [{ "divide-x": L() }],
|
|
6709
6709
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
6710
|
-
"divide-y": [{ "divide-y":
|
|
6710
|
+
"divide-y": [{ "divide-y": L() }],
|
|
6711
6711
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
6712
6712
|
"border-style": [{ border: [
|
|
6713
|
-
...
|
|
6713
|
+
...ae(),
|
|
6714
6714
|
"hidden",
|
|
6715
6715
|
"none"
|
|
6716
6716
|
] }],
|
|
6717
6717
|
"divide-style": [{ divide: [
|
|
6718
|
-
...
|
|
6718
|
+
...ae(),
|
|
6719
6719
|
"hidden",
|
|
6720
6720
|
"none"
|
|
6721
6721
|
] }],
|
|
@@ -6732,7 +6732,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6732
6732
|
"border-color-l": [{ "border-l": P() }],
|
|
6733
6733
|
"divide-color": [{ divide: P() }],
|
|
6734
6734
|
"outline-style": [{ outline: [
|
|
6735
|
-
...
|
|
6735
|
+
...ae(),
|
|
6736
6736
|
"none",
|
|
6737
6737
|
"hidden"
|
|
6738
6738
|
] }],
|
|
@@ -6763,12 +6763,12 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6763
6763
|
El
|
|
6764
6764
|
] }],
|
|
6765
6765
|
"inset-shadow-color": [{ "inset-shadow": P() }],
|
|
6766
|
-
"ring-w": [{ ring:
|
|
6766
|
+
"ring-w": [{ ring: L() }],
|
|
6767
6767
|
"ring-w-inset": ["ring-inset"],
|
|
6768
6768
|
"ring-color": [{ ring: P() }],
|
|
6769
6769
|
"ring-offset-w": [{ "ring-offset": [X, bl] }],
|
|
6770
6770
|
"ring-offset-color": [{ "ring-offset": P() }],
|
|
6771
|
-
"inset-ring-w": [{ "inset-ring":
|
|
6771
|
+
"inset-ring-w": [{ "inset-ring": L() }],
|
|
6772
6772
|
"inset-ring-color": [{ "inset-ring": P() }],
|
|
6773
6773
|
"text-shadow": [{ "text-shadow": [
|
|
6774
6774
|
"none",
|
|
@@ -6783,11 +6783,11 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6783
6783
|
Z
|
|
6784
6784
|
] }],
|
|
6785
6785
|
"mix-blend": [{ "mix-blend": [
|
|
6786
|
-
...
|
|
6786
|
+
...oe(),
|
|
6787
6787
|
"plus-darker",
|
|
6788
6788
|
"plus-lighter"
|
|
6789
6789
|
] }],
|
|
6790
|
-
"bg-blend": [{ "bg-blend":
|
|
6790
|
+
"bg-blend": [{ "bg-blend": oe() }],
|
|
6791
6791
|
"mask-clip": [{ "mask-clip": [
|
|
6792
6792
|
"border",
|
|
6793
6793
|
"padding",
|
|
@@ -6803,37 +6803,37 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6803
6803
|
"exclude"
|
|
6804
6804
|
] }],
|
|
6805
6805
|
"mask-image-linear-pos": [{ "mask-linear": [X] }],
|
|
6806
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
6807
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
6806
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": R() }],
|
|
6807
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": R() }],
|
|
6808
6808
|
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
|
|
6809
6809
|
"mask-image-linear-to-color": [{ "mask-linear-to": P() }],
|
|
6810
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
6811
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
6810
|
+
"mask-image-t-from-pos": [{ "mask-t-from": R() }],
|
|
6811
|
+
"mask-image-t-to-pos": [{ "mask-t-to": R() }],
|
|
6812
6812
|
"mask-image-t-from-color": [{ "mask-t-from": P() }],
|
|
6813
6813
|
"mask-image-t-to-color": [{ "mask-t-to": P() }],
|
|
6814
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
6815
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
6814
|
+
"mask-image-r-from-pos": [{ "mask-r-from": R() }],
|
|
6815
|
+
"mask-image-r-to-pos": [{ "mask-r-to": R() }],
|
|
6816
6816
|
"mask-image-r-from-color": [{ "mask-r-from": P() }],
|
|
6817
6817
|
"mask-image-r-to-color": [{ "mask-r-to": P() }],
|
|
6818
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
6819
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
6818
|
+
"mask-image-b-from-pos": [{ "mask-b-from": R() }],
|
|
6819
|
+
"mask-image-b-to-pos": [{ "mask-b-to": R() }],
|
|
6820
6820
|
"mask-image-b-from-color": [{ "mask-b-from": P() }],
|
|
6821
6821
|
"mask-image-b-to-color": [{ "mask-b-to": P() }],
|
|
6822
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
6823
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
6822
|
+
"mask-image-l-from-pos": [{ "mask-l-from": R() }],
|
|
6823
|
+
"mask-image-l-to-pos": [{ "mask-l-to": R() }],
|
|
6824
6824
|
"mask-image-l-from-color": [{ "mask-l-from": P() }],
|
|
6825
6825
|
"mask-image-l-to-color": [{ "mask-l-to": P() }],
|
|
6826
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
6827
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
6826
|
+
"mask-image-x-from-pos": [{ "mask-x-from": R() }],
|
|
6827
|
+
"mask-image-x-to-pos": [{ "mask-x-to": R() }],
|
|
6828
6828
|
"mask-image-x-from-color": [{ "mask-x-from": P() }],
|
|
6829
6829
|
"mask-image-x-to-color": [{ "mask-x-to": P() }],
|
|
6830
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
6831
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
6830
|
+
"mask-image-y-from-pos": [{ "mask-y-from": R() }],
|
|
6831
|
+
"mask-image-y-to-pos": [{ "mask-y-to": R() }],
|
|
6832
6832
|
"mask-image-y-from-color": [{ "mask-y-from": P() }],
|
|
6833
6833
|
"mask-image-y-to-color": [{ "mask-y-to": P() }],
|
|
6834
6834
|
"mask-image-radial": [{ "mask-radial": [Q, Z] }],
|
|
6835
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
6836
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
6835
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": R() }],
|
|
6836
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": R() }],
|
|
6837
6837
|
"mask-image-radial-from-color": [{ "mask-radial-from": P() }],
|
|
6838
6838
|
"mask-image-radial-to-color": [{ "mask-radial-to": P() }],
|
|
6839
6839
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -6843,8 +6843,8 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6843
6843
|
}] }],
|
|
6844
6844
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
6845
6845
|
"mask-image-conic-pos": [{ "mask-conic": [X] }],
|
|
6846
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
6847
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
6846
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": R() }],
|
|
6847
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": R() }],
|
|
6848
6848
|
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
|
|
6849
6849
|
"mask-image-conic-to-color": [{ "mask-conic-to": P() }],
|
|
6850
6850
|
"mask-mode": [{ mask: [
|
|
@@ -6862,7 +6862,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6862
6862
|
] }],
|
|
6863
6863
|
"mask-position": [{ mask: ne() }],
|
|
6864
6864
|
"mask-repeat": [{ mask: re() }],
|
|
6865
|
-
"mask-size": [{ mask:
|
|
6865
|
+
"mask-size": [{ mask: F() }],
|
|
6866
6866
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
6867
6867
|
"mask-image": [{ mask: [
|
|
6868
6868
|
"none",
|
|
@@ -6875,7 +6875,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6875
6875
|
Q,
|
|
6876
6876
|
Z
|
|
6877
6877
|
] }],
|
|
6878
|
-
blur: [{ blur:
|
|
6878
|
+
blur: [{ blur: se() }],
|
|
6879
6879
|
brightness: [{ brightness: [
|
|
6880
6880
|
X,
|
|
6881
6881
|
Q,
|
|
@@ -6928,7 +6928,7 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
6928
6928
|
Q,
|
|
6929
6929
|
Z
|
|
6930
6930
|
] }],
|
|
6931
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
6931
|
+
"backdrop-blur": [{ "backdrop-blur": se() }],
|
|
6932
6932
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
6933
6933
|
X,
|
|
6934
6934
|
Q,
|
|
@@ -7021,18 +7021,18 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
7021
7021
|
Z
|
|
7022
7022
|
] }],
|
|
7023
7023
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
7024
|
-
rotate: [{ rotate:
|
|
7025
|
-
"rotate-x": [{ "rotate-x":
|
|
7026
|
-
"rotate-y": [{ "rotate-y":
|
|
7027
|
-
"rotate-z": [{ "rotate-z":
|
|
7028
|
-
scale: [{ scale:
|
|
7029
|
-
"scale-x": [{ "scale-x":
|
|
7030
|
-
"scale-y": [{ "scale-y":
|
|
7031
|
-
"scale-z": [{ "scale-z":
|
|
7024
|
+
rotate: [{ rotate: ce() }],
|
|
7025
|
+
"rotate-x": [{ "rotate-x": ce() }],
|
|
7026
|
+
"rotate-y": [{ "rotate-y": ce() }],
|
|
7027
|
+
"rotate-z": [{ "rotate-z": ce() }],
|
|
7028
|
+
scale: [{ scale: z() }],
|
|
7029
|
+
"scale-x": [{ "scale-x": z() }],
|
|
7030
|
+
"scale-y": [{ "scale-y": z() }],
|
|
7031
|
+
"scale-z": [{ "scale-z": z() }],
|
|
7032
7032
|
"scale-3d": ["scale-3d"],
|
|
7033
|
-
skew: [{ skew:
|
|
7034
|
-
"skew-x": [{ "skew-x":
|
|
7035
|
-
"skew-y": [{ "skew-y":
|
|
7033
|
+
skew: [{ skew: le() }],
|
|
7034
|
+
"skew-x": [{ "skew-x": le() }],
|
|
7035
|
+
"skew-y": [{ "skew-y": le() }],
|
|
7036
7036
|
transform: [{ transform: [
|
|
7037
7037
|
Q,
|
|
7038
7038
|
Z,
|
|
@@ -7043,10 +7043,10 @@ var vc = /*#__PURE__*/ n({}), yc = /*#__PURE__*/ n(null), bc = /*#__PURE__*/ Wn(
|
|
|
7043
7043
|
] }],
|
|
7044
7044
|
"transform-origin": [{ origin: x() }],
|
|
7045
7045
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
7046
|
-
translate: [{ translate:
|
|
7047
|
-
"translate-x": [{ "translate-x":
|
|
7048
|
-
"translate-y": [{ "translate-y":
|
|
7049
|
-
"translate-z": [{ "translate-z":
|
|
7046
|
+
translate: [{ translate: B() }],
|
|
7047
|
+
"translate-x": [{ "translate-x": B() }],
|
|
7048
|
+
"translate-y": [{ "translate-y": B() }],
|
|
7049
|
+
"translate-z": [{ "translate-z": B() }],
|
|
7050
7050
|
"translate-none": ["translate-none"],
|
|
7051
7051
|
zoom: [{ zoom: [
|
|
7052
7052
|
ll,
|
|
@@ -7678,7 +7678,7 @@ var au = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
|
|
|
7678
7678
|
stopPropagation: () => {}
|
|
7679
7679
|
});
|
|
7680
7680
|
},
|
|
7681
|
-
className: $("inline-flex items-center justify-center relative", "border-2 border-solid", "font-dos leading-none whitespace-nowrap select-none", "outline-none cursor-pointer", "transition-all duration-100 ease-linear", su[t] || su.md, cu[e] || cu.primary, p && "opacity-50 cursor-not-allowed", i && "cursor-wait", l && "w-full", u && "aspect-square !px-0", "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus", c),
|
|
7681
|
+
className: $("eidotter-btn", "inline-flex items-center justify-center relative", "border-2 border-solid", "font-dos leading-none whitespace-nowrap select-none", "outline-none cursor-pointer", "transition-all duration-100 ease-linear", su[t] || su.md, cu[e] || cu.primary, p && "opacity-50 cursor-not-allowed", i && "cursor-wait", l && "w-full", u && "aspect-square !px-0", "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus", c),
|
|
7682
7682
|
"data-loading": i || void 0,
|
|
7683
7683
|
"data-variant": e,
|
|
7684
7684
|
...d,
|
|
@@ -9284,44 +9284,145 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9284
9284
|
});
|
|
9285
9285
|
default: return e;
|
|
9286
9286
|
}
|
|
9287
|
-
}, Vd = ({ entries: e,
|
|
9288
|
-
let
|
|
9287
|
+
}, Vd = ({ entries: e, selectedEntryId: t, onSelect: n, onDeselect: r, renderEntry: i, formatDate: o }) => {
|
|
9288
|
+
let c = e.find((e) => e.id === t) ?? null, l = f(null), u = f(null), d = f(t);
|
|
9289
|
+
s(() => {
|
|
9290
|
+
let e = d.current;
|
|
9291
|
+
d.current = t, t && t !== e ? requestAnimationFrame(() => u.current?.focus()) : !t && e && requestAnimationFrame(() => {
|
|
9292
|
+
l.current?.querySelector(`[data-entry-id="${e}"]`)?.focus();
|
|
9293
|
+
});
|
|
9294
|
+
}, [t]);
|
|
9295
|
+
let p = a((r) => {
|
|
9296
|
+
if (e.length === 0) return;
|
|
9297
|
+
let i = e.findIndex((e) => e.id === t), a = i === -1 ? r > 0 ? -1 : e.length : i;
|
|
9298
|
+
n(e[Math.max(0, Math.min(e.length - 1, a + r))].id);
|
|
9299
|
+
}, [
|
|
9300
|
+
e,
|
|
9301
|
+
t,
|
|
9302
|
+
n
|
|
9303
|
+
]), m = a((e) => {
|
|
9304
|
+
e.key === "ArrowDown" ? (e.preventDefault(), p(1)) : e.key === "ArrowUp" ? (e.preventDefault(), p(-1)) : e.key === "Escape" && t && (e.preventDefault(), r());
|
|
9305
|
+
}, [
|
|
9306
|
+
p,
|
|
9307
|
+
r,
|
|
9308
|
+
t
|
|
9309
|
+
]);
|
|
9310
|
+
return /* @__PURE__ */ x("div", {
|
|
9311
|
+
className: $("eidotter-timeline-md", c && "eidotter-timeline-md--detail-open"),
|
|
9312
|
+
children: [/* @__PURE__ */ b("nav", {
|
|
9313
|
+
ref: l,
|
|
9314
|
+
className: "eidotter-timeline-md__rail",
|
|
9315
|
+
"aria-label": "Timeline entries",
|
|
9316
|
+
onKeyDown: m,
|
|
9317
|
+
children: /* @__PURE__ */ b("ul", {
|
|
9318
|
+
className: "eidotter-timeline-md__rail-list",
|
|
9319
|
+
children: e.map((e) => {
|
|
9320
|
+
let r = e.id === t;
|
|
9321
|
+
return /* @__PURE__ */ b("li", {
|
|
9322
|
+
className: "eidotter-timeline-md__rail-item",
|
|
9323
|
+
children: /* @__PURE__ */ x("button", {
|
|
9324
|
+
type: "button",
|
|
9325
|
+
"data-entry-id": e.id,
|
|
9326
|
+
className: $("eidotter-timeline-md__rail-button", r && "eidotter-timeline-md__rail-button--active"),
|
|
9327
|
+
"aria-current": r ? "true" : void 0,
|
|
9328
|
+
onClick: () => n(e.id),
|
|
9329
|
+
children: [/* @__PURE__ */ b("span", {
|
|
9330
|
+
className: "eidotter-timeline-md__rail-node",
|
|
9331
|
+
"aria-hidden": "true",
|
|
9332
|
+
children: /* @__PURE__ */ b(Uu, {
|
|
9333
|
+
shape: "circle",
|
|
9334
|
+
size: "sm",
|
|
9335
|
+
variant: "default",
|
|
9336
|
+
isActive: r
|
|
9337
|
+
})
|
|
9338
|
+
}), /* @__PURE__ */ x("span", {
|
|
9339
|
+
className: "eidotter-timeline-md__rail-text",
|
|
9340
|
+
children: [/* @__PURE__ */ b("span", {
|
|
9341
|
+
className: "eidotter-timeline-md__rail-date",
|
|
9342
|
+
children: o(e.date)
|
|
9343
|
+
}), /* @__PURE__ */ b("span", {
|
|
9344
|
+
className: "eidotter-timeline-md__rail-title",
|
|
9345
|
+
children: e.title
|
|
9346
|
+
})]
|
|
9347
|
+
})]
|
|
9348
|
+
})
|
|
9349
|
+
}, e.id);
|
|
9350
|
+
})
|
|
9351
|
+
})
|
|
9352
|
+
}), /* @__PURE__ */ b("div", {
|
|
9353
|
+
ref: u,
|
|
9354
|
+
className: "eidotter-timeline-md__detail",
|
|
9355
|
+
role: "region",
|
|
9356
|
+
"aria-label": "Entry detail",
|
|
9357
|
+
tabIndex: -1,
|
|
9358
|
+
children: c ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("button", {
|
|
9359
|
+
type: "button",
|
|
9360
|
+
className: "eidotter-timeline-md__back",
|
|
9361
|
+
onClick: r,
|
|
9362
|
+
children: "‹ BACK"
|
|
9363
|
+
}), /* @__PURE__ */ b("div", {
|
|
9364
|
+
className: "eidotter-timeline-md__detail-body",
|
|
9365
|
+
children: ((e) => {
|
|
9366
|
+
let t = () => /* @__PURE__ */ b(kd, {
|
|
9367
|
+
entry: e,
|
|
9368
|
+
isSelected: !0,
|
|
9369
|
+
isExpanded: !0
|
|
9370
|
+
});
|
|
9371
|
+
return i ? i(e, {
|
|
9372
|
+
isExpanded: !0,
|
|
9373
|
+
isSelected: !0,
|
|
9374
|
+
defaultRender: t
|
|
9375
|
+
}) : t();
|
|
9376
|
+
})(c)
|
|
9377
|
+
}, c.id)] }) : /* @__PURE__ */ x("div", {
|
|
9378
|
+
className: "eidotter-timeline-md__detail-empty",
|
|
9379
|
+
role: "status",
|
|
9380
|
+
children: [/* @__PURE__ */ b("p", { children: "C:\\TIMELINE> Select an entry to read." }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9381
|
+
})
|
|
9382
|
+
})]
|
|
9383
|
+
});
|
|
9384
|
+
};
|
|
9385
|
+
Vd.displayName = "MasterDetailLayout";
|
|
9386
|
+
//#endregion
|
|
9387
|
+
//#region src/components/TimelineContainer/components/TimelineContainer.tsx
|
|
9388
|
+
var Hd = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: o, defaultSelectedEntryId: c, onSelectEntry: l, sortOrder: d = "desc", scrollToZoom: m = !0, keyboardShortcuts: h = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
|
|
9389
|
+
let S = t === "static", C = t === "feed", w = S || C, T = t === "master-detail", E = f(null), D = f(null), [O, k] = p(""), { zoomLevel: A, canZoomIn: j, canZoomOut: M, breadcrumbs: N, currentPeriod: ee, isDrillDownEnabled: te, drillDown: P, drillUp: ne, reset: re } = Gu({
|
|
9289
9390
|
zoomLevel: n,
|
|
9290
9391
|
defaultZoomLevel: r,
|
|
9291
9392
|
onZoomChange: i
|
|
9292
|
-
}), { selectedEntryId:
|
|
9393
|
+
}), { selectedEntryId: F, select: ie, toggle: I, deselect: L } = Ku({
|
|
9293
9394
|
selectedEntryId: o,
|
|
9294
9395
|
defaultSelectedEntryId: c,
|
|
9295
9396
|
onSelectEntry: l
|
|
9296
|
-
}),
|
|
9397
|
+
}), ae = u(() => yd(e, A, d), [
|
|
9297
9398
|
e,
|
|
9298
|
-
|
|
9399
|
+
A,
|
|
9299
9400
|
d
|
|
9300
|
-
]),
|
|
9401
|
+
]), oe = N.length > 0 ? [
|
|
9301
9402
|
"year",
|
|
9302
9403
|
"month",
|
|
9303
9404
|
"day",
|
|
9304
9405
|
"hour"
|
|
9305
|
-
][
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9406
|
+
][N.length - 1] : null, R = u(() => ee && oe ? vd(ae, ee, oe) : ae, [
|
|
9407
|
+
ae,
|
|
9408
|
+
ee,
|
|
9409
|
+
oe
|
|
9309
9410
|
]), se = a((e) => {
|
|
9310
|
-
|
|
9411
|
+
j && (P(e.periodStart, e.label), k(`Showing ${A === "year" ? "months" : A === "month" ? "days" : "hours"} in ${e.label}`));
|
|
9311
9412
|
}, [
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
]),
|
|
9316
|
-
|
|
9317
|
-
}, [
|
|
9413
|
+
j,
|
|
9414
|
+
P,
|
|
9415
|
+
A
|
|
9416
|
+
]), ce = a(() => {
|
|
9417
|
+
R.length > 0 && se(R[0]);
|
|
9418
|
+
}, [R, se]);
|
|
9318
9419
|
s(() => {
|
|
9319
|
-
if (w || !m) return;
|
|
9320
|
-
let e =
|
|
9420
|
+
if (w || T || !m) return;
|
|
9421
|
+
let e = E.current;
|
|
9321
9422
|
if (!e) return;
|
|
9322
9423
|
let t = null, n = (e) => {
|
|
9323
9424
|
!e.ctrlKey && !e.metaKey || (e.preventDefault(), t === null && (t = requestAnimationFrame(() => {
|
|
9324
|
-
e.deltaY > 0 &&
|
|
9425
|
+
e.deltaY > 0 && ne(), t = null;
|
|
9325
9426
|
})));
|
|
9326
9427
|
};
|
|
9327
9428
|
return e.addEventListener("wheel", n, { passive: !1 }), () => {
|
|
@@ -9329,63 +9430,66 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9329
9430
|
};
|
|
9330
9431
|
}, [
|
|
9331
9432
|
w,
|
|
9433
|
+
T,
|
|
9332
9434
|
m,
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9435
|
+
te,
|
|
9436
|
+
j,
|
|
9437
|
+
ne
|
|
9336
9438
|
]), s(() => {
|
|
9337
|
-
if (w || !h) return;
|
|
9439
|
+
if (w || T || !h) return;
|
|
9338
9440
|
let e = (e) => {
|
|
9339
|
-
if (!
|
|
9441
|
+
if (!E.current?.contains(document.activeElement) && document.activeElement !== E.current) return;
|
|
9340
9442
|
let t = e.ctrlKey || e.metaKey;
|
|
9341
|
-
t && (e.key === "=" || e.key === "+") ? (e.preventDefault(),
|
|
9443
|
+
t && (e.key === "=" || e.key === "+") ? (e.preventDefault(), ce()) : t && e.key === "-" ? (e.preventDefault(), ne()) : t && e.key === "0" ? (e.preventDefault(), re(), k("Showing all years")) : e.key === "Escape" && (e.preventDefault(), L());
|
|
9342
9444
|
};
|
|
9343
9445
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9344
9446
|
}, [
|
|
9345
9447
|
w,
|
|
9448
|
+
T,
|
|
9346
9449
|
h,
|
|
9347
|
-
|
|
9348
|
-
P,
|
|
9450
|
+
ce,
|
|
9349
9451
|
ne,
|
|
9350
|
-
|
|
9452
|
+
re,
|
|
9453
|
+
L
|
|
9351
9454
|
]);
|
|
9352
|
-
let
|
|
9455
|
+
let z = a((e) => se(e), [se]), le = f(N.length);
|
|
9353
9456
|
s(() => {
|
|
9354
|
-
if (
|
|
9355
|
-
le.current =
|
|
9356
|
-
let e =
|
|
9457
|
+
if (N.length !== le.current) {
|
|
9458
|
+
le.current = N.length;
|
|
9459
|
+
let e = D.current?.querySelector(".eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role=\"button\"]");
|
|
9357
9460
|
e && requestAnimationFrame(() => e.focus());
|
|
9358
9461
|
}
|
|
9359
|
-
}, [
|
|
9360
|
-
let
|
|
9462
|
+
}, [N.length]);
|
|
9463
|
+
let B = u(() => !w && !T ? e : [...e].sort((e, t) => {
|
|
9361
9464
|
let n = e.date.localeCompare(t.date);
|
|
9362
9465
|
return d === "desc" ? -n : n;
|
|
9363
|
-
})
|
|
9466
|
+
}), [
|
|
9364
9467
|
w,
|
|
9468
|
+
T,
|
|
9365
9469
|
e,
|
|
9366
9470
|
d
|
|
9367
|
-
]),
|
|
9471
|
+
]), ue = Math.max(1, _), [V, de] = p(ue);
|
|
9368
9472
|
s(() => {
|
|
9369
9473
|
C && de((e) => {
|
|
9370
|
-
let t =
|
|
9371
|
-
return t === 0 ?
|
|
9474
|
+
let t = B.length;
|
|
9475
|
+
return t === 0 ? ue : e > t ? Math.max(ue, t) : e;
|
|
9372
9476
|
});
|
|
9373
9477
|
}, [
|
|
9374
9478
|
C,
|
|
9375
|
-
|
|
9376
|
-
|
|
9479
|
+
ue,
|
|
9480
|
+
B.length
|
|
9377
9481
|
]);
|
|
9378
|
-
let fe = u(() => C ?
|
|
9482
|
+
let fe = u(() => C ? B.slice(0, V) : B, [
|
|
9379
9483
|
C,
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
]), pe = C &&
|
|
9383
|
-
let e = Math.min(
|
|
9384
|
-
e <=
|
|
9484
|
+
B,
|
|
9485
|
+
V
|
|
9486
|
+
]), pe = C && V < B.length, me = a(() => {
|
|
9487
|
+
let e = Math.min(V + ue, B.length);
|
|
9488
|
+
e <= V || (de(e), v?.(e));
|
|
9385
9489
|
}, [
|
|
9490
|
+
V,
|
|
9386
9491
|
ue,
|
|
9387
|
-
|
|
9388
|
-
R.length,
|
|
9492
|
+
B.length,
|
|
9389
9493
|
v
|
|
9390
9494
|
]), he = u(() => new Intl.DateTimeFormat("en-US", {
|
|
9391
9495
|
year: "numeric",
|
|
@@ -9399,35 +9503,35 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9399
9503
|
}
|
|
9400
9504
|
};
|
|
9401
9505
|
return /* @__PURE__ */ x("div", {
|
|
9402
|
-
ref:
|
|
9506
|
+
ref: E,
|
|
9403
9507
|
...y,
|
|
9404
|
-
className: $("font-dos text-dos-text-brand p-4 min-h-[200px]", "eidotter-timeline-container", S && "eidotter-timeline-container--static", C && "eidotter-timeline-container--feed", y.className),
|
|
9508
|
+
className: $("font-dos text-dos-text-brand p-4 min-h-[200px]", "eidotter-timeline-container", S && "eidotter-timeline-container--static", C && "eidotter-timeline-container--feed", T && "eidotter-timeline-container--master-detail", y.className),
|
|
9405
9509
|
role: "region",
|
|
9406
9510
|
"aria-label": y["aria-label"] ?? "Timeline",
|
|
9407
|
-
tabIndex: w ? void 0 : 0,
|
|
9511
|
+
tabIndex: w || T ? void 0 : 0,
|
|
9408
9512
|
children: [
|
|
9409
9513
|
/* @__PURE__ */ b("div", {
|
|
9410
9514
|
className: "sr-only",
|
|
9411
9515
|
role: "status",
|
|
9412
9516
|
"aria-live": "polite",
|
|
9413
9517
|
"aria-atomic": "true",
|
|
9414
|
-
children:
|
|
9518
|
+
children: O
|
|
9415
9519
|
}),
|
|
9416
|
-
!w && /* @__PURE__ */ b(bd, {
|
|
9417
|
-
zoomLevel:
|
|
9418
|
-
canZoomIn:
|
|
9419
|
-
canZoomOut:
|
|
9420
|
-
onZoomIn:
|
|
9421
|
-
onZoomOut:
|
|
9422
|
-
onReset:
|
|
9423
|
-
breadcrumbs:
|
|
9520
|
+
!w && !T && /* @__PURE__ */ b(bd, {
|
|
9521
|
+
zoomLevel: A,
|
|
9522
|
+
canZoomIn: j,
|
|
9523
|
+
canZoomOut: M,
|
|
9524
|
+
onZoomIn: ce,
|
|
9525
|
+
onZoomOut: ne,
|
|
9526
|
+
onReset: re,
|
|
9527
|
+
breadcrumbs: te ? N : [],
|
|
9424
9528
|
onBreadcrumbClick: (e) => {
|
|
9425
|
-
let t =
|
|
9426
|
-
for (let e = 0; e < t; e++)
|
|
9529
|
+
let t = N.length - 1 - e;
|
|
9530
|
+
for (let e = 0; e < t; e++) ne();
|
|
9427
9531
|
}
|
|
9428
9532
|
}),
|
|
9429
9533
|
/* @__PURE__ */ b("div", {
|
|
9430
|
-
ref:
|
|
9534
|
+
ref: D,
|
|
9431
9535
|
children: e.length === 0 ? /* @__PURE__ */ x("div", {
|
|
9432
9536
|
className: "eidotter-timeline-container__empty",
|
|
9433
9537
|
role: "status",
|
|
@@ -9436,7 +9540,7 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9436
9540
|
className: "eidotter-timeline-container__static",
|
|
9437
9541
|
role: "list",
|
|
9438
9542
|
"aria-label": "Timeline",
|
|
9439
|
-
children:
|
|
9543
|
+
children: B.map((e) => {
|
|
9440
9544
|
let t = () => /* @__PURE__ */ b(kd, {
|
|
9441
9545
|
entry: e,
|
|
9442
9546
|
isSelected: !1,
|
|
@@ -9466,11 +9570,11 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9466
9570
|
role: "list",
|
|
9467
9571
|
"aria-label": "Timeline",
|
|
9468
9572
|
children: fe.map((e) => {
|
|
9469
|
-
let t =
|
|
9573
|
+
let t = F === e.id, n = () => /* @__PURE__ */ b(kd, {
|
|
9470
9574
|
entry: e,
|
|
9471
9575
|
isSelected: t,
|
|
9472
9576
|
isExpanded: t,
|
|
9473
|
-
onSelect:
|
|
9577
|
+
onSelect: I
|
|
9474
9578
|
});
|
|
9475
9579
|
return /* @__PURE__ */ x("div", {
|
|
9476
9580
|
className: "eidotter-timeline-container__feed-entry",
|
|
@@ -9495,28 +9599,35 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9495
9599
|
type: "button",
|
|
9496
9600
|
className: "eidotter-timeline-container__load-more",
|
|
9497
9601
|
onClick: me,
|
|
9498
|
-
"aria-label": `Load more entries (showing ${
|
|
9602
|
+
"aria-label": `Load more entries (showing ${V} of ${B.length})`,
|
|
9499
9603
|
children: "LOAD MORE..."
|
|
9500
|
-
})] }) :
|
|
9604
|
+
})] }) : T ? /* @__PURE__ */ b(Vd, {
|
|
9605
|
+
entries: B,
|
|
9606
|
+
selectedEntryId: F,
|
|
9607
|
+
onSelect: ie,
|
|
9608
|
+
onDeselect: L,
|
|
9609
|
+
renderEntry: g,
|
|
9610
|
+
formatDate: ge
|
|
9611
|
+
}) : R.length === 0 && ee ? /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ x("div", {
|
|
9501
9612
|
className: "eidotter-timeline-container__empty",
|
|
9502
9613
|
role: "status",
|
|
9503
9614
|
children: [/* @__PURE__ */ x("p", { children: [
|
|
9504
9615
|
"C:\\TIMELINE> No entries in ",
|
|
9505
|
-
|
|
9616
|
+
N[N.length - 1]?.label ?? "this period",
|
|
9506
9617
|
"."
|
|
9507
9618
|
] }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9508
9619
|
}) }) : /* @__PURE__ */ b(xd, { children: /* @__PURE__ */ b(Bd, {
|
|
9509
|
-
zoomLevel:
|
|
9510
|
-
buckets:
|
|
9511
|
-
selectedEntryId:
|
|
9512
|
-
onEntrySelect:
|
|
9513
|
-
onBucketClick:
|
|
9620
|
+
zoomLevel: A,
|
|
9621
|
+
buckets: R,
|
|
9622
|
+
selectedEntryId: F,
|
|
9623
|
+
onEntrySelect: I,
|
|
9624
|
+
onBucketClick: z,
|
|
9514
9625
|
renderEntry: g
|
|
9515
9626
|
}) })
|
|
9516
9627
|
})
|
|
9517
9628
|
]
|
|
9518
9629
|
});
|
|
9519
|
-
},
|
|
9630
|
+
}, Ud = r(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, className: o }, c) => {
|
|
9520
9631
|
let l = f(e), u = f(!1);
|
|
9521
9632
|
s(() => {
|
|
9522
9633
|
e !== l.current && (l.current = e, u.current || (t?.(e), e || n?.()), u.current = !1);
|
|
@@ -9568,12 +9679,12 @@ var Bd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9568
9679
|
})
|
|
9569
9680
|
});
|
|
9570
9681
|
});
|
|
9571
|
-
|
|
9682
|
+
Ud.displayName = "Modal";
|
|
9572
9683
|
//#endregion
|
|
9573
9684
|
//#region src/hooks/useTextScramble.ts
|
|
9574
|
-
var
|
|
9575
|
-
function
|
|
9576
|
-
let { speed: n = 40, characters: r =
|
|
9685
|
+
var Wd = "░▒▓█│┤┐└┴┬├─┼", Gd = 4;
|
|
9686
|
+
function Kd(e, t) {
|
|
9687
|
+
let { speed: n = 40, characters: r = Wd, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, c] = p(() => {
|
|
9577
9688
|
if (!i || Ql()) return e;
|
|
9578
9689
|
let t = "";
|
|
9579
9690
|
for (let n = 0; n < e.length; n++) e[n] === " " ? t += " " : t += r[Math.floor(Math.random() * r.length)];
|
|
@@ -9594,7 +9705,7 @@ function Gd(e, t) {
|
|
|
9594
9705
|
return;
|
|
9595
9706
|
}
|
|
9596
9707
|
if (a >= n) {
|
|
9597
|
-
if (s = i, o++, o >=
|
|
9708
|
+
if (s = i, o++, o >= Gd && (t++, o = 0), t >= e.length) {
|
|
9598
9709
|
c(e), u(!1);
|
|
9599
9710
|
return;
|
|
9600
9711
|
}
|
|
@@ -9620,7 +9731,7 @@ function Gd(e, t) {
|
|
|
9620
9731
|
}
|
|
9621
9732
|
//#endregion
|
|
9622
9733
|
//#region src/components/Stat/components/Stat.tsx
|
|
9623
|
-
var
|
|
9734
|
+
var qd = {
|
|
9624
9735
|
sm: {
|
|
9625
9736
|
root: "gap-0.5",
|
|
9626
9737
|
label: "text-dos-text-xs",
|
|
@@ -9657,23 +9768,23 @@ var Kd = {
|
|
|
9657
9768
|
value: "text-dos-display-md",
|
|
9658
9769
|
trend: "text-dos-text-md"
|
|
9659
9770
|
}
|
|
9660
|
-
},
|
|
9771
|
+
}, Jd = {
|
|
9661
9772
|
up: "text-dos-text-success",
|
|
9662
9773
|
down: "text-dos-text-error",
|
|
9663
9774
|
neutral: "text-dos-text-brand"
|
|
9664
|
-
},
|
|
9775
|
+
}, Yd = {
|
|
9665
9776
|
up: "▲",
|
|
9666
9777
|
down: "▼",
|
|
9667
9778
|
neutral: "►"
|
|
9668
|
-
},
|
|
9779
|
+
}, Xd = {
|
|
9669
9780
|
up: "increasing",
|
|
9670
9781
|
down: "decreasing",
|
|
9671
9782
|
neutral: "unchanged"
|
|
9672
|
-
},
|
|
9673
|
-
let { text: l } =
|
|
9783
|
+
}, Zd = r(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, className: o, ...s }, c) => {
|
|
9784
|
+
let { text: l } = Kd(String(t), {
|
|
9674
9785
|
speed: 30,
|
|
9675
9786
|
enabled: a
|
|
9676
|
-
}), u = a ? l : String(t), d =
|
|
9787
|
+
}), u = a ? l : String(t), d = qd[i] || qd.md;
|
|
9677
9788
|
return /* @__PURE__ */ x("div", {
|
|
9678
9789
|
ref: c,
|
|
9679
9790
|
className: $("flex flex-col font-dos", "eidotter-stat", d.root, o),
|
|
@@ -9688,12 +9799,12 @@ var Kd = {
|
|
|
9688
9799
|
children: u
|
|
9689
9800
|
}),
|
|
9690
9801
|
n && /* @__PURE__ */ x("span", {
|
|
9691
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
9692
|
-
"aria-label": `Trend: ${
|
|
9802
|
+
className: $("inline-flex items-center gap-1 leading-none", Jd[n], d.trend),
|
|
9803
|
+
"aria-label": `Trend: ${Xd[n]}${r ? `, ${r}` : ""}`,
|
|
9693
9804
|
children: [/* @__PURE__ */ b("span", {
|
|
9694
9805
|
className: "text-[0.8em]",
|
|
9695
9806
|
"aria-hidden": "true",
|
|
9696
|
-
children:
|
|
9807
|
+
children: Yd[n]
|
|
9697
9808
|
}), r && /* @__PURE__ */ b("span", {
|
|
9698
9809
|
className: "tabular-nums",
|
|
9699
9810
|
children: r
|
|
@@ -9702,17 +9813,17 @@ var Kd = {
|
|
|
9702
9813
|
]
|
|
9703
9814
|
});
|
|
9704
9815
|
});
|
|
9705
|
-
|
|
9816
|
+
Zd.displayName = "Stat";
|
|
9706
9817
|
//#endregion
|
|
9707
9818
|
//#region src/components/FilterBar/components/FilterBar.tsx
|
|
9708
|
-
var
|
|
9819
|
+
var Qd = {
|
|
9709
9820
|
sm: "eidotter-filter-bar--sm",
|
|
9710
9821
|
md: "eidotter-filter-bar--md",
|
|
9711
9822
|
lg: "eidotter-filter-bar--lg",
|
|
9712
9823
|
small: "eidotter-filter-bar--sm",
|
|
9713
9824
|
medium: "eidotter-filter-bar--md",
|
|
9714
9825
|
large: "eidotter-filter-bar--lg"
|
|
9715
|
-
},
|
|
9826
|
+
}, $d = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: o = "All", size: s = "md", onChange: c, className: l, ...u }) => {
|
|
9716
9827
|
let [d, m] = p(n), h = f(null), g = t !== void 0, _ = g ? t : d, v = e.filter((e) => !e.disabled).map((e) => e.id), y = _.length === 0, S = a((e) => {
|
|
9717
9828
|
g || m(e), c?.(e);
|
|
9718
9829
|
}, [g, c]), C = a((e) => {
|
|
@@ -9747,7 +9858,7 @@ var Zd = {
|
|
|
9747
9858
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
9748
9859
|
return /* @__PURE__ */ x("div", {
|
|
9749
9860
|
ref: h,
|
|
9750
|
-
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",
|
|
9861
|
+
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", Qd[s] || Qd.md, l),
|
|
9751
9862
|
role: "toolbar",
|
|
9752
9863
|
onKeyDown: E,
|
|
9753
9864
|
...u,
|
|
@@ -9780,7 +9891,7 @@ var Zd = {
|
|
|
9780
9891
|
}, e.id);
|
|
9781
9892
|
})]
|
|
9782
9893
|
});
|
|
9783
|
-
},
|
|
9894
|
+
}, ef = (e) => {
|
|
9784
9895
|
if (!e) return !1;
|
|
9785
9896
|
try {
|
|
9786
9897
|
let t = new URL(e);
|
|
@@ -9792,7 +9903,7 @@ var Zd = {
|
|
|
9792
9903
|
} catch {
|
|
9793
9904
|
return !1;
|
|
9794
9905
|
}
|
|
9795
|
-
},
|
|
9906
|
+
}, tf = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
9796
9907
|
let [l, u] = p(n), [d, m] = p(/* @__PURE__ */ new Set()), h = f(n), g = c(), _ = f(null), v = r !== void 0, y = v ? r : l;
|
|
9797
9908
|
y && (h.current = !0);
|
|
9798
9909
|
let S = () => {
|
|
@@ -9833,12 +9944,12 @@ var Zd = {
|
|
|
9833
9944
|
className: "eidotter-inline-expand__source-item",
|
|
9834
9945
|
role: "listitem",
|
|
9835
9946
|
children: /* @__PURE__ */ x("a", {
|
|
9836
|
-
href:
|
|
9947
|
+
href: ef(e.url) ? e.url : void 0,
|
|
9837
9948
|
className: "eidotter-inline-expand__source-link",
|
|
9838
9949
|
target: "_blank",
|
|
9839
9950
|
rel: "noopener noreferrer",
|
|
9840
9951
|
"aria-label": `${e.title} (opens external website)`,
|
|
9841
|
-
children: [h.current && e.favicon &&
|
|
9952
|
+
children: [h.current && e.favicon && ef(e.favicon) && !d.has(e.url) ? /* @__PURE__ */ b("img", {
|
|
9842
9953
|
className: "eidotter-inline-expand__source-favicon",
|
|
9843
9954
|
src: e.favicon,
|
|
9844
9955
|
alt: "",
|
|
@@ -9860,15 +9971,57 @@ var Zd = {
|
|
|
9860
9971
|
})
|
|
9861
9972
|
})]
|
|
9862
9973
|
});
|
|
9863
|
-
},
|
|
9974
|
+
}, nf = {
|
|
9864
9975
|
horizontal: "h-px w-full",
|
|
9865
9976
|
vertical: "w-px h-full"
|
|
9866
|
-
},
|
|
9977
|
+
}, rf = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ b("div", {
|
|
9867
9978
|
role: "separator",
|
|
9868
9979
|
"aria-orientation": e,
|
|
9869
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
9870
|
-
}),
|
|
9871
|
-
|
|
9980
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", nf[e], t)
|
|
9981
|
+
}), af = {
|
|
9982
|
+
default: "text-dos-text-primary",
|
|
9983
|
+
error: "text-dos-error",
|
|
9984
|
+
warning: "text-dos-warning",
|
|
9985
|
+
info: "text-dos-info"
|
|
9986
|
+
}, of = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ x("h3", {
|
|
9987
|
+
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm", af[n], i),
|
|
9988
|
+
children: [
|
|
9989
|
+
e,
|
|
9990
|
+
t !== void 0 && ` (${t})`,
|
|
9991
|
+
r
|
|
9992
|
+
]
|
|
9993
|
+
});
|
|
9994
|
+
of.displayName = "SectionHeading";
|
|
9995
|
+
//#endregion
|
|
9996
|
+
//#region src/components/EmptyState/components/EmptyState.tsx
|
|
9997
|
+
var sf = {
|
|
9998
|
+
default: "text-dos-text-primary",
|
|
9999
|
+
error: "text-dos-error",
|
|
10000
|
+
warning: "text-dos-warning",
|
|
10001
|
+
info: "text-dos-info"
|
|
10002
|
+
}, cf = ({ title: e, description: t, tone: n = "default", action: r, className: i }) => /* @__PURE__ */ x("div", {
|
|
10003
|
+
className: $("eidotter-empty-state", "flex flex-col gap-2 py-6 text-center", i),
|
|
10004
|
+
role: "status",
|
|
10005
|
+
children: [
|
|
10006
|
+
/* @__PURE__ */ b("p", {
|
|
10007
|
+
className: $("font-dos text-dos-text-sm", sf[n]),
|
|
10008
|
+
children: e
|
|
10009
|
+
}),
|
|
10010
|
+
t && /* @__PURE__ */ b("p", {
|
|
10011
|
+
className: "font-dos text-dos-text-xs text-dos-text-muted",
|
|
10012
|
+
children: t
|
|
10013
|
+
}),
|
|
10014
|
+
r && /* @__PURE__ */ b("div", {
|
|
10015
|
+
className: "mt-2",
|
|
10016
|
+
children: r
|
|
10017
|
+
})
|
|
10018
|
+
]
|
|
10019
|
+
});
|
|
10020
|
+
cf.displayName = "EmptyState";
|
|
10021
|
+
//#endregion
|
|
10022
|
+
//#region src/components/TextScramble/components/TextScramble.tsx
|
|
10023
|
+
var lf = r(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
|
|
10024
|
+
let { text: s, isScrambling: c } = Kd(e, {
|
|
9872
10025
|
speed: t,
|
|
9873
10026
|
characters: n,
|
|
9874
10027
|
delay: r
|
|
@@ -9880,16 +10033,16 @@ var Zd = {
|
|
|
9880
10033
|
children: s
|
|
9881
10034
|
});
|
|
9882
10035
|
});
|
|
9883
|
-
|
|
10036
|
+
lf.displayName = "TextScramble";
|
|
9884
10037
|
//#endregion
|
|
9885
10038
|
//#region src/components/Nav/components/Nav.tsx
|
|
9886
|
-
var
|
|
10039
|
+
var uf = {
|
|
9887
10040
|
retro: "eidotter-nav--retro",
|
|
9888
10041
|
modern: "eidotter-nav--modern"
|
|
9889
|
-
},
|
|
10042
|
+
}, df = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9890
10043
|
let a = r || "a";
|
|
9891
10044
|
return /* @__PURE__ */ b("nav", {
|
|
9892
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
10045
|
+
className: $("eidotter-nav eidotter-nav--desktop", uf[n], i),
|
|
9893
10046
|
"aria-label": "Main navigation",
|
|
9894
10047
|
children: /* @__PURE__ */ b("ul", {
|
|
9895
10048
|
className: "eidotter-nav__desktop-list",
|
|
@@ -9904,7 +10057,7 @@ var af = {
|
|
|
9904
10057
|
}, e.href))
|
|
9905
10058
|
})
|
|
9906
10059
|
});
|
|
9907
|
-
},
|
|
10060
|
+
}, ff = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9908
10061
|
let [o, c] = p(!1), l = r || "a", u = f(null), d = f(null), m = f(null), h = f(!1), g = a(() => c((e) => !e), []), _ = a(() => c(!1), []);
|
|
9909
10062
|
return s(() => {
|
|
9910
10063
|
if (!o) return;
|
|
@@ -9915,7 +10068,7 @@ var af = {
|
|
|
9915
10068
|
}, [o, _]), s(() => {
|
|
9916
10069
|
o ? d.current?.focus() : h.current && u.current?.focus(), h.current = o;
|
|
9917
10070
|
}, [o]), /* @__PURE__ */ x("div", {
|
|
9918
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
10071
|
+
className: $("eidotter-nav eidotter-nav--mobile", uf[n], i),
|
|
9919
10072
|
children: [
|
|
9920
10073
|
/* @__PURE__ */ b("button", {
|
|
9921
10074
|
ref: u,
|
|
@@ -9972,14 +10125,14 @@ var af = {
|
|
|
9972
10125
|
})
|
|
9973
10126
|
]
|
|
9974
10127
|
});
|
|
9975
|
-
},
|
|
10128
|
+
}, pf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(ff, { ...e }), /* @__PURE__ */ b(df, { ...e })] }), mf = {
|
|
9976
10129
|
user: "eidotter-chat-message--user",
|
|
9977
10130
|
assistant: "eidotter-chat-message--assistant",
|
|
9978
10131
|
system: "eidotter-chat-message--system"
|
|
9979
|
-
},
|
|
10132
|
+
}, hf = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
9980
10133
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
9981
10134
|
return /* @__PURE__ */ x("div", {
|
|
9982
|
-
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words",
|
|
10135
|
+
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", mf[e], n && "eidotter-chat-message--streaming", a),
|
|
9983
10136
|
...o,
|
|
9984
10137
|
children: [
|
|
9985
10138
|
s && /* @__PURE__ */ b("span", {
|
|
@@ -9998,7 +10151,7 @@ var af = {
|
|
|
9998
10151
|
})
|
|
9999
10152
|
]
|
|
10000
10153
|
});
|
|
10001
|
-
},
|
|
10154
|
+
}, gf = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
10002
10155
|
let o = f(null);
|
|
10003
10156
|
s(() => {
|
|
10004
10157
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -10027,7 +10180,7 @@ var af = {
|
|
|
10027
10180
|
className: "flex flex-col",
|
|
10028
10181
|
children: [e.map((i, a) => {
|
|
10029
10182
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
10030
|
-
return /* @__PURE__ */ b(
|
|
10183
|
+
return /* @__PURE__ */ b(hf, {
|
|
10031
10184
|
role: i.role,
|
|
10032
10185
|
content: i.content,
|
|
10033
10186
|
isStreaming: o,
|
|
@@ -10037,7 +10190,7 @@ var af = {
|
|
|
10037
10190
|
}), /* @__PURE__ */ b("div", { ref: o })]
|
|
10038
10191
|
})
|
|
10039
10192
|
});
|
|
10040
|
-
},
|
|
10193
|
+
}, _f = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
10041
10194
|
let [o, s] = p(""), c = f(null);
|
|
10042
10195
|
l(() => {
|
|
10043
10196
|
let e = c.current;
|
|
@@ -10079,30 +10232,30 @@ var af = {
|
|
|
10079
10232
|
})]
|
|
10080
10233
|
})]
|
|
10081
10234
|
});
|
|
10082
|
-
},
|
|
10235
|
+
}, vf = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ x("div", {
|
|
10083
10236
|
className: $("flex flex-col h-full min-h-0", c),
|
|
10084
10237
|
...l,
|
|
10085
|
-
children: [/* @__PURE__ */ b(
|
|
10238
|
+
children: [/* @__PURE__ */ b(gf, {
|
|
10086
10239
|
className: "flex-1 min-h-0",
|
|
10087
10240
|
messages: e,
|
|
10088
10241
|
isStreaming: n,
|
|
10089
10242
|
userPrefix: i,
|
|
10090
10243
|
assistantPrefix: a
|
|
10091
|
-
}), /* @__PURE__ */ b(
|
|
10244
|
+
}), /* @__PURE__ */ b(_f, {
|
|
10092
10245
|
className: "shrink-0",
|
|
10093
10246
|
onSend: t,
|
|
10094
10247
|
prompt: r,
|
|
10095
10248
|
placeholder: o,
|
|
10096
10249
|
disabled: s
|
|
10097
10250
|
})]
|
|
10098
|
-
}),
|
|
10251
|
+
}), yf = [{
|
|
10099
10252
|
label: "Impressum",
|
|
10100
10253
|
href: "/impressum"
|
|
10101
10254
|
}, {
|
|
10102
10255
|
label: "Datenschutz",
|
|
10103
10256
|
href: "/datenschutz"
|
|
10104
|
-
}],
|
|
10105
|
-
let s = n ??
|
|
10257
|
+
}], bf = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
|
|
10258
|
+
let s = n ?? yf, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
|
|
10106
10259
|
return /* @__PURE__ */ x("footer", {
|
|
10107
10260
|
className: $("font-dos text-sm py-4 px-2 text-center", "eidotter-footer", a),
|
|
10108
10261
|
...o,
|
|
@@ -10140,14 +10293,14 @@ var af = {
|
|
|
10140
10293
|
})
|
|
10141
10294
|
]
|
|
10142
10295
|
});
|
|
10143
|
-
},
|
|
10296
|
+
}, xf = {
|
|
10144
10297
|
retro: "eidotter-header--retro",
|
|
10145
10298
|
modern: "eidotter-header--modern"
|
|
10146
|
-
},
|
|
10299
|
+
}, Sf = r(({ brandName: e, brandHref: t = "/", items: n, activeHref: r, variant: i = "retro", sticky: a = !0, linkComponent: o, children: s, className: c, ...l }, u) => {
|
|
10147
10300
|
let d = o ?? "a";
|
|
10148
10301
|
return /* @__PURE__ */ x("header", {
|
|
10149
10302
|
ref: u,
|
|
10150
|
-
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header",
|
|
10303
|
+
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", xf[i], a && "sticky top-0 z-50 bg-dos-bg-primary", c),
|
|
10151
10304
|
...l,
|
|
10152
10305
|
children: [
|
|
10153
10306
|
/* @__PURE__ */ b(d, {
|
|
@@ -10155,13 +10308,13 @@ var af = {
|
|
|
10155
10308
|
className: $("no-underline text-base font-bold tracking-wide", "eidotter-header__branding"),
|
|
10156
10309
|
children: s || e
|
|
10157
10310
|
}),
|
|
10158
|
-
/* @__PURE__ */ b(
|
|
10311
|
+
/* @__PURE__ */ b(df, {
|
|
10159
10312
|
items: n,
|
|
10160
10313
|
activeHref: r,
|
|
10161
10314
|
variant: i,
|
|
10162
10315
|
linkComponent: o
|
|
10163
10316
|
}),
|
|
10164
|
-
/* @__PURE__ */ b(
|
|
10317
|
+
/* @__PURE__ */ b(ff, {
|
|
10165
10318
|
items: n,
|
|
10166
10319
|
activeHref: r,
|
|
10167
10320
|
variant: i,
|
|
@@ -10170,16 +10323,16 @@ var af = {
|
|
|
10170
10323
|
]
|
|
10171
10324
|
});
|
|
10172
10325
|
});
|
|
10173
|
-
|
|
10326
|
+
Sf.displayName = "Header";
|
|
10174
10327
|
//#endregion
|
|
10175
10328
|
//#region src/components/Notification/components/Notification.tsx
|
|
10176
|
-
var
|
|
10329
|
+
var Cf = {
|
|
10177
10330
|
primary: "Info",
|
|
10178
10331
|
gray: "Info",
|
|
10179
10332
|
success: "Done",
|
|
10180
10333
|
warning: "Warning",
|
|
10181
10334
|
error: "Error"
|
|
10182
|
-
},
|
|
10335
|
+
}, wf = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: c, progressLabel: l, duration: u, showIcon: d = !0, className: f }) => {
|
|
10183
10336
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $l("notification-exit", i);
|
|
10184
10337
|
s(() => {
|
|
10185
10338
|
if (u == null || !i) return;
|
|
@@ -10209,7 +10362,7 @@ var vf = {
|
|
|
10209
10362
|
g && /* @__PURE__ */ b("div", {
|
|
10210
10363
|
className: "eidotter-notification__icon",
|
|
10211
10364
|
children: /* @__PURE__ */ b(Zl, {
|
|
10212
|
-
name:
|
|
10365
|
+
name: Cf[e] || "Info",
|
|
10213
10366
|
size: "S",
|
|
10214
10367
|
"aria-label": `${e} notification`
|
|
10215
10368
|
})
|
|
@@ -10265,7 +10418,7 @@ var vf = {
|
|
|
10265
10418
|
};
|
|
10266
10419
|
//#endregion
|
|
10267
10420
|
//#region src/components/InlineLink/components/InlineLink.tsx
|
|
10268
|
-
function
|
|
10421
|
+
function Tf(e) {
|
|
10269
10422
|
let t = e.trim();
|
|
10270
10423
|
if (t === "" || /^[#?/]/.test(t)) return t;
|
|
10271
10424
|
let n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
|
|
@@ -10280,14 +10433,14 @@ function bf(e) {
|
|
|
10280
10433
|
"sms"
|
|
10281
10434
|
].includes(r) ? t : "#";
|
|
10282
10435
|
}
|
|
10283
|
-
function
|
|
10436
|
+
function Ef(e, t) {
|
|
10284
10437
|
if (t.length === 0) return e;
|
|
10285
10438
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
10286
10439
|
for (let e of t) n.add(e.toLowerCase());
|
|
10287
10440
|
return Array.from(n).join(" ");
|
|
10288
10441
|
}
|
|
10289
|
-
var
|
|
10290
|
-
let l =
|
|
10442
|
+
var Df = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
|
|
10443
|
+
let l = Tf(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? Ef(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
|
|
10291
10444
|
return /* @__PURE__ */ x("a", {
|
|
10292
10445
|
ref: c,
|
|
10293
10446
|
href: l,
|
|
@@ -10305,10 +10458,10 @@ var Sf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
10305
10458
|
})]
|
|
10306
10459
|
});
|
|
10307
10460
|
});
|
|
10308
|
-
|
|
10461
|
+
Df.displayName = "InlineLink";
|
|
10309
10462
|
//#endregion
|
|
10310
10463
|
//#region src/components/DosFigure/components/DosFigure.tsx
|
|
10311
|
-
var
|
|
10464
|
+
var Of = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, l) => {
|
|
10312
10465
|
let u = c(), d = r ? u : void 0;
|
|
10313
10466
|
return /* @__PURE__ */ x("figure", {
|
|
10314
10467
|
ref: l,
|
|
@@ -10369,11 +10522,11 @@ var Cf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
10369
10522
|
]
|
|
10370
10523
|
});
|
|
10371
10524
|
});
|
|
10372
|
-
|
|
10525
|
+
Of.displayName = "DosFigure";
|
|
10373
10526
|
//#endregion
|
|
10374
10527
|
//#region src/components/CmdPalette/components/CmdPalette.tsx
|
|
10375
|
-
var
|
|
10376
|
-
function
|
|
10528
|
+
var kf = /* @__PURE__ */ b(y, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
|
|
10529
|
+
function Af(e) {
|
|
10377
10530
|
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");
|
|
10378
10531
|
return (e) => {
|
|
10379
10532
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -10381,15 +10534,15 @@ function Tf(e) {
|
|
|
10381
10534
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
10382
10535
|
};
|
|
10383
10536
|
}
|
|
10384
|
-
function
|
|
10537
|
+
function jf(e, t) {
|
|
10385
10538
|
if (!t) return 0;
|
|
10386
10539
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
10387
10540
|
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;
|
|
10388
10541
|
}
|
|
10389
|
-
var
|
|
10542
|
+
var Mf = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: o = "NO MATCHES", footerHint: l = kf, renderItem: d, maxResults: m = 20, className: h, "aria-label": g = "Command palette" }, _) => {
|
|
10390
10543
|
let v = c(), S = `${v}-listbox`, [C, w] = p(""), [T, E] = p(0), D = f(null), O = f(null), k = f(!1), A = u(() => C.trim() ? n.map((e) => ({
|
|
10391
10544
|
item: e,
|
|
10392
|
-
score:
|
|
10545
|
+
score: jf(e, C.trim())
|
|
10393
10546
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, m).map((e) => e.item) : n.slice(0, m), [
|
|
10394
10547
|
n,
|
|
10395
10548
|
C,
|
|
@@ -10414,7 +10567,7 @@ var Df = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10414
10567
|
M.current = t;
|
|
10415
10568
|
}, [t]), s(() => {
|
|
10416
10569
|
if (i === !1) return;
|
|
10417
|
-
let e =
|
|
10570
|
+
let e = Af(i), t = (t) => {
|
|
10418
10571
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
10419
10572
|
};
|
|
10420
10573
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -10523,10 +10676,10 @@ var Df = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10523
10676
|
})
|
|
10524
10677
|
});
|
|
10525
10678
|
});
|
|
10526
|
-
|
|
10679
|
+
Mf.displayName = "CmdPalette";
|
|
10527
10680
|
//#endregion
|
|
10528
10681
|
//#region src/components/Brand/components/Logo.tsx
|
|
10529
|
-
var
|
|
10682
|
+
var Nf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => {
|
|
10530
10683
|
let o = c(), s = `eidotter-logo-halo-${o}`, l = `eidotter-logo-core-${o}`;
|
|
10531
10684
|
return /* @__PURE__ */ x("svg", {
|
|
10532
10685
|
ref: a,
|
|
@@ -10750,10 +10903,10 @@ var Of = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, .
|
|
|
10750
10903
|
]
|
|
10751
10904
|
});
|
|
10752
10905
|
});
|
|
10753
|
-
|
|
10906
|
+
Nf.displayName = "Logo";
|
|
10754
10907
|
//#endregion
|
|
10755
10908
|
//#region src/components/Brand/components/Wordmark.tsx
|
|
10756
|
-
var
|
|
10909
|
+
var Pf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span", {
|
|
10757
10910
|
ref: r,
|
|
10758
10911
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
10759
10912
|
"aria-label": "eiDotter",
|
|
@@ -10768,28 +10921,28 @@ var kf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span"
|
|
|
10768
10921
|
children: "Dotter"
|
|
10769
10922
|
})]
|
|
10770
10923
|
}));
|
|
10771
|
-
|
|
10924
|
+
Pf.displayName = "Wordmark";
|
|
10772
10925
|
//#endregion
|
|
10773
10926
|
//#region src/components/Brand/components/BrandLockup.tsx
|
|
10774
|
-
var
|
|
10927
|
+
var Ff = r(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ x("div", {
|
|
10775
10928
|
ref: o,
|
|
10776
10929
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
10777
10930
|
role: "img",
|
|
10778
10931
|
"aria-label": "eiDotter",
|
|
10779
10932
|
...a,
|
|
10780
|
-
children: [!n && /* @__PURE__ */ b(
|
|
10933
|
+
children: [!n && /* @__PURE__ */ b(Nf, {
|
|
10781
10934
|
size: e,
|
|
10782
10935
|
glow: r,
|
|
10783
10936
|
title: ""
|
|
10784
|
-
}), !t && /* @__PURE__ */ b(
|
|
10937
|
+
}), !t && /* @__PURE__ */ b(Pf, {
|
|
10785
10938
|
glow: r,
|
|
10786
10939
|
"aria-hidden": "true"
|
|
10787
10940
|
})]
|
|
10788
10941
|
}));
|
|
10789
|
-
|
|
10942
|
+
Ff.displayName = "BrandLockup";
|
|
10790
10943
|
//#endregion
|
|
10791
10944
|
//#region src/components/AIText/components/AIText.tsx
|
|
10792
|
-
var
|
|
10945
|
+
var If = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ x("span", {
|
|
10793
10946
|
"data-provenance": "ai-draft",
|
|
10794
10947
|
className: $("eidotter-ai-text", t),
|
|
10795
10948
|
title: n,
|
|
@@ -10798,43 +10951,43 @@ var jf = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
10798
10951
|
children: "AI-assisted: "
|
|
10799
10952
|
}), e]
|
|
10800
10953
|
});
|
|
10801
|
-
|
|
10954
|
+
If.displayName = "AIText";
|
|
10802
10955
|
//#endregion
|
|
10803
10956
|
//#region src/components/Skeleton/components/Skeleton.tsx
|
|
10804
|
-
var
|
|
10957
|
+
var Lf = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", Rf = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", zf = 6, Bf = {
|
|
10805
10958
|
text: 3,
|
|
10806
10959
|
card: 3,
|
|
10807
10960
|
figure: 4,
|
|
10808
10961
|
timeline: 2
|
|
10809
|
-
},
|
|
10962
|
+
}, Vf = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ b("span", {
|
|
10810
10963
|
className: $("eidotter-skeleton__line", t === "short" && "eidotter-skeleton__line--short", t === "meta" && "eidotter-skeleton__line--meta"),
|
|
10811
|
-
children: (e ?
|
|
10964
|
+
children: (e ? Rf : Lf).repeat(zf)
|
|
10812
10965
|
});
|
|
10813
|
-
function
|
|
10814
|
-
return Array.from({ length: e }, (r, i) => /* @__PURE__ */ b(
|
|
10966
|
+
function Hf(e, t = !1, n = !0) {
|
|
10967
|
+
return Array.from({ length: e }, (r, i) => /* @__PURE__ */ b(Vf, {
|
|
10815
10968
|
dense: t,
|
|
10816
10969
|
width: n && i === e - 1 && e > 1 ? "short" : "full"
|
|
10817
10970
|
}, i));
|
|
10818
10971
|
}
|
|
10819
|
-
var
|
|
10820
|
-
let a = Math.max(1, t ??
|
|
10972
|
+
var Uf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading", className: i }) => {
|
|
10973
|
+
let a = Math.max(1, t ?? Bf[e]), o;
|
|
10821
10974
|
switch (e) {
|
|
10822
10975
|
case "card":
|
|
10823
|
-
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(
|
|
10976
|
+
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Vf, {
|
|
10824
10977
|
dense: !0,
|
|
10825
10978
|
width: "meta"
|
|
10826
|
-
}),
|
|
10979
|
+
}), Hf(a)] });
|
|
10827
10980
|
break;
|
|
10828
10981
|
case "figure":
|
|
10829
|
-
o =
|
|
10982
|
+
o = Hf(a, !0, !1);
|
|
10830
10983
|
break;
|
|
10831
10984
|
case "timeline":
|
|
10832
10985
|
o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("span", { className: "eidotter-skeleton__marker border-2 border-dos-border-default" }), /* @__PURE__ */ x("span", {
|
|
10833
10986
|
className: "eidotter-skeleton__entry",
|
|
10834
|
-
children: [/* @__PURE__ */ b(
|
|
10987
|
+
children: [/* @__PURE__ */ b(Vf, { width: "meta" }), Hf(a)]
|
|
10835
10988
|
})] });
|
|
10836
10989
|
break;
|
|
10837
|
-
default: o =
|
|
10990
|
+
default: o = Hf(a);
|
|
10838
10991
|
}
|
|
10839
10992
|
return /* @__PURE__ */ b("div", {
|
|
10840
10993
|
role: "status",
|
|
@@ -10847,10 +11000,10 @@ var Rf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading
|
|
|
10847
11000
|
})
|
|
10848
11001
|
});
|
|
10849
11002
|
};
|
|
10850
|
-
|
|
11003
|
+
Uf.displayName = "Skeleton";
|
|
10851
11004
|
//#endregion
|
|
10852
11005
|
//#region src/components/LegalPage/components/LegalPage.tsx
|
|
10853
|
-
var
|
|
11006
|
+
var Wf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ x("div", {
|
|
10854
11007
|
className: $("eidotter-legal-page", a),
|
|
10855
11008
|
...o,
|
|
10856
11009
|
children: [r && /* @__PURE__ */ b("div", {
|
|
@@ -10873,13 +11026,13 @@ var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10873
11026
|
className: "eidotter-legal-page__body",
|
|
10874
11027
|
children: i
|
|
10875
11028
|
})] })]
|
|
10876
|
-
}),
|
|
11029
|
+
}), Gf = /* @__PURE__ */ x(y, { children: [
|
|
10877
11030
|
"Haus-Endt-Str. 149A",
|
|
10878
11031
|
/* @__PURE__ */ b("br", {}),
|
|
10879
11032
|
"40593 Düsseldorf",
|
|
10880
11033
|
/* @__PURE__ */ b("br", {}),
|
|
10881
11034
|
"Deutschland"
|
|
10882
|
-
] }),
|
|
11035
|
+
] }), Kf = "Dominic Kennedy", qf = ({ email: e, address: t = Gf, name: n = Kf }) => /* @__PURE__ */ x("address", { children: [
|
|
10883
11036
|
n,
|
|
10884
11037
|
/* @__PURE__ */ b("br", {}),
|
|
10885
11038
|
t,
|
|
@@ -10891,16 +11044,16 @@ var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10891
11044
|
children: e
|
|
10892
11045
|
})
|
|
10893
11046
|
] })
|
|
10894
|
-
] }),
|
|
11047
|
+
] }), Jf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ b(qf, { ...e })] }), Yf = ({ email: e }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Kontakt" }), /* @__PURE__ */ x("p", { children: ["E-Mail: ", /* @__PURE__ */ b("a", {
|
|
10895
11048
|
href: `mailto:${e}`,
|
|
10896
11049
|
children: e
|
|
10897
|
-
})] })] }),
|
|
11050
|
+
})] })] }), Xf = ({ name: e = Kf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ x("address", { children: [
|
|
10898
11051
|
e,
|
|
10899
11052
|
/* @__PURE__ */ b("br", {}),
|
|
10900
11053
|
"Haus-Endt-Str. 149A",
|
|
10901
11054
|
/* @__PURE__ */ b("br", {}),
|
|
10902
11055
|
"40593 Düsseldorf"
|
|
10903
|
-
] })] }),
|
|
11056
|
+
] })] }), Zf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ b("p", { children: "Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht." })] }), Qf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Haftung für Links" }), /* @__PURE__ */ b("p", { children: "Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend." })] }), $f = ({ email: e, name: t = Kf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ x("address", { children: [
|
|
10904
11057
|
t,
|
|
10905
11058
|
/* @__PURE__ */ b("br", {}),
|
|
10906
11059
|
"Haus-Endt-Str. 149A",
|
|
@@ -10912,14 +11065,14 @@ var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10912
11065
|
href: `mailto:${e}`,
|
|
10913
11066
|
children: e
|
|
10914
11067
|
})
|
|
10915
|
-
] })] }),
|
|
11068
|
+
] })] }), ep = () => /* @__PURE__ */ x(y, { children: [
|
|
10916
11069
|
/* @__PURE__ */ b("h2", { children: "Hosting" }),
|
|
10917
11070
|
/* @__PURE__ */ b("p", { children: "Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern." }),
|
|
10918
11071
|
/* @__PURE__ */ b("p", {
|
|
10919
11072
|
className: "eidotter-legal-page__basis",
|
|
10920
11073
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10921
11074
|
})
|
|
10922
|
-
] }),
|
|
11075
|
+
] }), tp = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ x(y, { children: [
|
|
10923
11076
|
/* @__PURE__ */ b("h2", { children: "Webanalyse — PostHog" }),
|
|
10924
11077
|
/* @__PURE__ */ x("p", { children: [
|
|
10925
11078
|
"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 ",
|
|
@@ -10936,7 +11089,7 @@ var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10936
11089
|
className: "eidotter-legal-page__basis",
|
|
10937
11090
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10938
11091
|
})
|
|
10939
|
-
] }),
|
|
11092
|
+
] }), np = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Schriftarten" }), /* @__PURE__ */ b("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), rp = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ b("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), ip = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ x(y, { children: [
|
|
10940
11093
|
/* @__PURE__ */ b("h2", { children: "Ihre Rechte" }),
|
|
10941
11094
|
/* @__PURE__ */ b("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
10942
11095
|
/* @__PURE__ */ x("ul", { children: [
|
|
@@ -10961,7 +11114,7 @@ var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10961
11114
|
t,
|
|
10962
11115
|
"."
|
|
10963
11116
|
] })
|
|
10964
|
-
] }),
|
|
11117
|
+
] }), ap = {
|
|
10965
11118
|
eidotter: { displayName: "eiDotter" },
|
|
10966
11119
|
spacewar: { displayName: "Spacewar!" },
|
|
10967
11120
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -10975,7 +11128,7 @@ var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10975
11128
|
displayName: "dmnc.tech",
|
|
10976
11129
|
url: "https://dmnc.tech"
|
|
10977
11130
|
}
|
|
10978
|
-
},
|
|
11131
|
+
}, op = {
|
|
10979
11132
|
Alert: {
|
|
10980
11133
|
origin: "eidotter",
|
|
10981
11134
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -11523,21 +11676,21 @@ var zf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
11523
11676
|
}]
|
|
11524
11677
|
}
|
|
11525
11678
|
};
|
|
11526
|
-
function
|
|
11527
|
-
return
|
|
11679
|
+
function sp(e) {
|
|
11680
|
+
return op[e];
|
|
11528
11681
|
}
|
|
11529
|
-
function
|
|
11530
|
-
return Object.entries(
|
|
11682
|
+
function cp(e) {
|
|
11683
|
+
return Object.entries(op).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
11531
11684
|
}
|
|
11532
|
-
function
|
|
11533
|
-
return Object.entries(
|
|
11685
|
+
function lp(e) {
|
|
11686
|
+
return Object.entries(op).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
11534
11687
|
}
|
|
11535
|
-
function
|
|
11536
|
-
let n =
|
|
11688
|
+
function up(e, t) {
|
|
11689
|
+
let n = op[e];
|
|
11537
11690
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
11538
11691
|
}
|
|
11539
|
-
function
|
|
11540
|
-
let t =
|
|
11692
|
+
function dp(e) {
|
|
11693
|
+
let t = op[e];
|
|
11541
11694
|
if (!t?.variants) return {};
|
|
11542
11695
|
let n = {};
|
|
11543
11696
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
@@ -11545,6 +11698,6 @@ function op(e) {
|
|
|
11545
11698
|
}
|
|
11546
11699
|
//#endregion
|
|
11547
11700
|
//#region src/index.ts
|
|
11548
|
-
var
|
|
11701
|
+
var fp = "0.30.0";
|
|
11549
11702
|
//#endregion
|
|
11550
|
-
export {
|
|
11703
|
+
export { If as AIText, ou as AccordionFill, qf as AddressBlock, iu as Alert, Au as Badge, Ff as BrandLockup, Nu as Breadcrumb, lu as Button, du as Card, vf as ChatContainer, gf as ChatHistory, _f as ChatInput, hf as ChatMessage, fu as Checkbox, Mf as CmdPalette, pu as CommandPrompt, $f as DatenschutzController, rp as DatenschutzEncryption, np as DatenschutzFonts, ep as DatenschutzHosting, tp as DatenschutzPostHog, ip as DatenschutzRights, df as DesktopNav, Of as DosFigure, cf as EmptyState, $d as FilterBar, bf as Footer, Sf as Header, Zl as Icon, Jf as ImpressumAddress, Yf as ImpressumContact, Zf as ImpressumLiabilityContent, Qf as ImpressumLiabilityLinks, Xf as ImpressumResponsible, tf as InlineExpand, Df as InlineLink, Cu as Input, Wf as LegalPage, Cd as Lightbox, Nf as Logo, ff as MobileNav, Ud as Modal, pf as Nav, wf as Notification, xu as Progress, Ru as RetroEffects, au as Section, of as SectionHeading, rf as Separator, Uf as Skeleton, Zd as Stat, ju as Switch, Du as Tabs, Fd as Tag, Ld as TagGroup, wu as Terminal, lf as TextScramble, Hd as TimelineContainer, Uu as TimelineNode, Pf as Wordmark, Wu as ZOOM_LEVELS, op as componentRegistry, yf as defaultLegalLinks, sp as getComponentMeta, lp as getComponentsByConsumer, cp as getComponentsByOrigin, dp as getVariantConsumerMap, up as getVariantsUsedBy, ef as isSafeUrl, ap as projects, Kd as useTextScramble, fp as version };
|