@sentinel-core/sentinel 1.0.36 → 1.0.38
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/sentinel.cjs +2 -2
- package/dist/sentinel.css +1 -1
- package/dist/sentinel.es.js +1171 -1149
- package/dist/src/react/provider.d.ts +2 -2
- package/dist/src/ui/widgets/PropsViewer.d.ts +1 -1
- package/dist/src/utils/stateSearch.d.ts +6 -0
- package/package.json +1 -1
package/dist/sentinel.es.js
CHANGED
|
@@ -140,7 +140,7 @@ function E(e) {
|
|
|
140
140
|
}
|
|
141
141
|
//#endregion
|
|
142
142
|
//#region ../../node_modules/@huin-core/react-collection/dist/index.mjs
|
|
143
|
-
function
|
|
143
|
+
function D(e) {
|
|
144
144
|
let n = e + "CollectionProvider", [r, i] = h(n), [a, o] = r(n, {
|
|
145
145
|
collectionRef: { current: null },
|
|
146
146
|
itemMap: /* @__PURE__ */ new Map()
|
|
@@ -190,16 +190,16 @@ function ee(e) {
|
|
|
190
190
|
}
|
|
191
191
|
//#endregion
|
|
192
192
|
//#region ../../node_modules/@huin-core/react-use-layout-effect/dist/index.mjs
|
|
193
|
-
var
|
|
194
|
-
function
|
|
195
|
-
let [n, r] = e.useState(
|
|
196
|
-
return
|
|
197
|
-
t || r((e) => e ?? String(
|
|
193
|
+
var O = globalThis?.document ? e.useLayoutEffect : () => {}, k = e.useId || (() => void 0), A = 0;
|
|
194
|
+
function j(t) {
|
|
195
|
+
let [n, r] = e.useState(k());
|
|
196
|
+
return O(() => {
|
|
197
|
+
t || r((e) => e ?? String(A++));
|
|
198
198
|
}, [t]), t || (n ? `huin-${n}` : "");
|
|
199
199
|
}
|
|
200
200
|
//#endregion
|
|
201
201
|
//#region ../../node_modules/@huin-core/react-primitive/dist/index.mjs
|
|
202
|
-
var
|
|
202
|
+
var M = [
|
|
203
203
|
"a",
|
|
204
204
|
"button",
|
|
205
205
|
"div",
|
|
@@ -230,12 +230,12 @@ var j = [
|
|
|
230
230
|
[n]: r
|
|
231
231
|
};
|
|
232
232
|
}, {});
|
|
233
|
-
function
|
|
233
|
+
function N(e, t) {
|
|
234
234
|
e && f.flushSync(() => e.dispatchEvent(t));
|
|
235
235
|
}
|
|
236
236
|
//#endregion
|
|
237
237
|
//#region ../../node_modules/@huin-core/react-use-callback-ref/dist/index.mjs
|
|
238
|
-
function
|
|
238
|
+
function P(t) {
|
|
239
239
|
let n = e.useRef(t);
|
|
240
240
|
return e.useEffect(() => {
|
|
241
241
|
n.current = t;
|
|
@@ -243,11 +243,11 @@ function N(t) {
|
|
|
243
243
|
}
|
|
244
244
|
//#endregion
|
|
245
245
|
//#region ../../node_modules/@huin-core/react-use-controllable-state/dist/index.mjs
|
|
246
|
-
function
|
|
247
|
-
let [i, a] =
|
|
246
|
+
function F({ prop: t, defaultProp: n, onChange: r = () => {} }) {
|
|
247
|
+
let [i, a] = I({
|
|
248
248
|
defaultProp: n,
|
|
249
249
|
onChange: r
|
|
250
|
-
}), o = t !== void 0, s = o ? t : i, c =
|
|
250
|
+
}), o = t !== void 0, s = o ? t : i, c = P(r);
|
|
251
251
|
return [s, e.useCallback((e) => {
|
|
252
252
|
if (o) {
|
|
253
253
|
let n = typeof e == "function" ? e(t) : e;
|
|
@@ -260,8 +260,8 @@ function P({ prop: t, defaultProp: n, onChange: r = () => {} }) {
|
|
|
260
260
|
c
|
|
261
261
|
])];
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
let r = e.useState(t), [i] = r, a = e.useRef(i), o =
|
|
263
|
+
function I({ defaultProp: t, onChange: n }) {
|
|
264
|
+
let r = e.useState(t), [i] = r, a = e.useRef(i), o = P(n);
|
|
265
265
|
return e.useEffect(() => {
|
|
266
266
|
a.current !== i && (o(i), a.current = i);
|
|
267
267
|
}, [
|
|
@@ -272,31 +272,31 @@ function F({ defaultProp: t, onChange: n }) {
|
|
|
272
272
|
}
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region ../../node_modules/@huin-core/react-direction/dist/index.mjs
|
|
275
|
-
var
|
|
276
|
-
function
|
|
277
|
-
let n = e.useContext(
|
|
275
|
+
var ee = e.createContext(void 0);
|
|
276
|
+
function te(t) {
|
|
277
|
+
let n = e.useContext(ee);
|
|
278
278
|
return t || n || "ltr";
|
|
279
279
|
}
|
|
280
280
|
//#endregion
|
|
281
281
|
//#region ../../node_modules/@huin-core/react-roving-focus/dist/index.mjs
|
|
282
|
-
var
|
|
282
|
+
var L = "rovingFocusGroup.onEntryFocus", ne = {
|
|
283
283
|
bubbles: !1,
|
|
284
284
|
cancelable: !0
|
|
285
|
-
},
|
|
285
|
+
}, R = "RovingFocusGroup", [z, re, ie] = D(R), [B, ae] = h(R, [ie]), [oe, se] = B(R), ce = e.forwardRef((t, n) => /* @__PURE__ */ e.createElement(z.Provider, { scope: t.__scopeRovingFocusGroup }, /* @__PURE__ */ e.createElement(z.Slot, { scope: t.__scopeRovingFocusGroup }, /* @__PURE__ */ e.createElement(le, {
|
|
286
286
|
...t,
|
|
287
287
|
ref: n
|
|
288
288
|
}))));
|
|
289
|
-
|
|
290
|
-
var
|
|
291
|
-
let { __scopeRovingFocusGroup: r, orientation: i, loop: a = !1, dir: o, currentTabStopId: s, defaultCurrentTabStopId: c, onCurrentTabStopIdChange: l, onEntryFocus: u, preventScrollOnEntryFocus: d = !1, ...f } = t, p = e.useRef(null), m = b(n, p), h =
|
|
289
|
+
ce.displayName = R;
|
|
290
|
+
var le = e.forwardRef((t, n) => {
|
|
291
|
+
let { __scopeRovingFocusGroup: r, orientation: i, loop: a = !1, dir: o, currentTabStopId: s, defaultCurrentTabStopId: c, onCurrentTabStopIdChange: l, onEntryFocus: u, preventScrollOnEntryFocus: d = !1, ...f } = t, p = e.useRef(null), m = b(n, p), h = te(o), [g = null, v] = F({
|
|
292
292
|
prop: s,
|
|
293
293
|
defaultProp: c,
|
|
294
294
|
onChange: l
|
|
295
|
-
}), [y, x] = e.useState(!1), S =
|
|
295
|
+
}), [y, x] = e.useState(!1), S = P(u), C = re(r), w = e.useRef(!1), [T, E] = e.useState(0);
|
|
296
296
|
return e.useEffect(() => {
|
|
297
297
|
let e = p.current;
|
|
298
|
-
if (e) return e.addEventListener(
|
|
299
|
-
}, [S]), /* @__PURE__ */ e.createElement(
|
|
298
|
+
if (e) return e.addEventListener(L, S), () => e.removeEventListener(L, S);
|
|
299
|
+
}, [S]), /* @__PURE__ */ e.createElement(oe, {
|
|
300
300
|
scope: r,
|
|
301
301
|
orientation: i,
|
|
302
302
|
dir: h,
|
|
@@ -306,7 +306,7 @@ var ue = e.forwardRef((t, n) => {
|
|
|
306
306
|
onItemShiftTab: e.useCallback(() => x(!0), []),
|
|
307
307
|
onFocusableItemAdd: e.useCallback(() => E((e) => e + 1), []),
|
|
308
308
|
onFocusableItemRemove: e.useCallback(() => E((e) => e - 1), [])
|
|
309
|
-
}, /* @__PURE__ */ e.createElement(
|
|
309
|
+
}, /* @__PURE__ */ e.createElement(M.div, {
|
|
310
310
|
tabIndex: y || T === 0 ? -1 : 0,
|
|
311
311
|
"data-orientation": i,
|
|
312
312
|
...f,
|
|
@@ -321,10 +321,10 @@ var ue = e.forwardRef((t, n) => {
|
|
|
321
321
|
onFocus: _(t.onFocus, (e) => {
|
|
322
322
|
let t = !w.current;
|
|
323
323
|
if (e.target === e.currentTarget && t && !y) {
|
|
324
|
-
let t = new CustomEvent(
|
|
324
|
+
let t = new CustomEvent(L, ne);
|
|
325
325
|
if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
|
|
326
326
|
let e = C().filter((e) => e.focusable);
|
|
327
|
-
|
|
327
|
+
he([
|
|
328
328
|
e.find((e) => e.active),
|
|
329
329
|
e.find((e) => e.id === g),
|
|
330
330
|
...e
|
|
@@ -335,20 +335,20 @@ var ue = e.forwardRef((t, n) => {
|
|
|
335
335
|
}),
|
|
336
336
|
onBlur: _(t.onBlur, () => x(!1))
|
|
337
337
|
}));
|
|
338
|
-
}),
|
|
339
|
-
let { __scopeRovingFocusGroup: r, focusable: i = !0, active: a = !1, tabStopId: o, ...s } = t, c =
|
|
338
|
+
}), ue = "RovingFocusGroupItem", de = e.forwardRef((t, n) => {
|
|
339
|
+
let { __scopeRovingFocusGroup: r, focusable: i = !0, active: a = !1, tabStopId: o, ...s } = t, c = j(), l = o || c, u = se(ue, r), d = u.currentTabStopId === l, f = re(r), { onFocusableItemAdd: p, onFocusableItemRemove: m } = u;
|
|
340
340
|
return e.useEffect(() => {
|
|
341
341
|
if (i) return p(), () => m();
|
|
342
342
|
}, [
|
|
343
343
|
i,
|
|
344
344
|
p,
|
|
345
345
|
m
|
|
346
|
-
]), /* @__PURE__ */ e.createElement(
|
|
346
|
+
]), /* @__PURE__ */ e.createElement(z.ItemSlot, {
|
|
347
347
|
scope: r,
|
|
348
348
|
id: l,
|
|
349
349
|
focusable: i,
|
|
350
350
|
active: a
|
|
351
|
-
}, /* @__PURE__ */ e.createElement(
|
|
351
|
+
}, /* @__PURE__ */ e.createElement(M.span, {
|
|
352
352
|
tabIndex: d ? 0 : -1,
|
|
353
353
|
"data-orientation": u.orientation,
|
|
354
354
|
...s,
|
|
@@ -363,7 +363,7 @@ var ue = e.forwardRef((t, n) => {
|
|
|
363
363
|
return;
|
|
364
364
|
}
|
|
365
365
|
if (e.target !== e.currentTarget) return;
|
|
366
|
-
let t =
|
|
366
|
+
let t = me(e, u.orientation, u.dir);
|
|
367
367
|
if (t !== void 0) {
|
|
368
368
|
if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
|
|
369
369
|
e.preventDefault();
|
|
@@ -372,15 +372,15 @@ var ue = e.forwardRef((t, n) => {
|
|
|
372
372
|
else if (t === "prev" || t === "next") {
|
|
373
373
|
t === "prev" && n.reverse();
|
|
374
374
|
let r = n.indexOf(e.currentTarget);
|
|
375
|
-
n = u.loop ?
|
|
375
|
+
n = u.loop ? ge(n, r + 1) : n.slice(r + 1);
|
|
376
376
|
}
|
|
377
|
-
setTimeout(() =>
|
|
377
|
+
setTimeout(() => he(n));
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
}));
|
|
381
381
|
});
|
|
382
|
-
|
|
383
|
-
var
|
|
382
|
+
de.displayName = ue;
|
|
383
|
+
var fe = {
|
|
384
384
|
ArrowLeft: "prev",
|
|
385
385
|
ArrowUp: "prev",
|
|
386
386
|
ArrowRight: "next",
|
|
@@ -390,33 +390,33 @@ var pe = {
|
|
|
390
390
|
PageDown: "last",
|
|
391
391
|
End: "last"
|
|
392
392
|
};
|
|
393
|
-
function
|
|
393
|
+
function pe(e, t) {
|
|
394
394
|
return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
let r =
|
|
398
|
-
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return
|
|
396
|
+
function me(e, t, n) {
|
|
397
|
+
let r = pe(e.key, n);
|
|
398
|
+
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return fe[r];
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function he(e, t = !1) {
|
|
401
401
|
let n = document.activeElement;
|
|
402
402
|
for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function ge(e, t) {
|
|
405
405
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
406
406
|
}
|
|
407
|
-
var
|
|
407
|
+
var _e = ce, ve = de;
|
|
408
408
|
//#endregion
|
|
409
409
|
//#region ../../node_modules/@huin-core/react-presence/dist/index.mjs
|
|
410
|
-
function
|
|
410
|
+
function ye(t, n) {
|
|
411
411
|
return e.useReducer((e, t) => n[e][t] ?? e, t);
|
|
412
412
|
}
|
|
413
|
-
var
|
|
414
|
-
let { present: n, children: r } = t, i =
|
|
413
|
+
var be = (t) => {
|
|
414
|
+
let { present: n, children: r } = t, i = xe(n), a = typeof r == "function" ? r({ present: i.isPresent }) : e.Children.only(r), o = b(i.ref, Ce(a));
|
|
415
415
|
return typeof r == "function" || i.isPresent ? e.cloneElement(a, { ref: o }) : null;
|
|
416
416
|
};
|
|
417
|
-
|
|
418
|
-
function
|
|
419
|
-
let [n, r] = e.useState(), i = e.useRef({}), a = e.useRef(t), o = e.useRef("none"), [s, c] =
|
|
417
|
+
be.displayName = "Presence";
|
|
418
|
+
function xe(t) {
|
|
419
|
+
let [n, r] = e.useState(), i = e.useRef({}), a = e.useRef(t), o = e.useRef("none"), [s, c] = ye(t ? "mounted" : "unmounted", {
|
|
420
420
|
mounted: {
|
|
421
421
|
UNMOUNT: "unmounted",
|
|
422
422
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -428,21 +428,21 @@ function Se(t) {
|
|
|
428
428
|
unmounted: { MOUNT: "mounted" }
|
|
429
429
|
});
|
|
430
430
|
return e.useEffect(() => {
|
|
431
|
-
let e =
|
|
431
|
+
let e = Se(i.current);
|
|
432
432
|
o.current = s === "mounted" ? e : "none";
|
|
433
|
-
}, [s]),
|
|
433
|
+
}, [s]), O(() => {
|
|
434
434
|
let e = i.current, n = a.current;
|
|
435
435
|
if (n !== t) {
|
|
436
|
-
let r = o.current, i =
|
|
436
|
+
let r = o.current, i = Se(e);
|
|
437
437
|
t ? c("MOUNT") : i === "none" || e?.display === "none" ? c("UNMOUNT") : c(n && r !== i ? "ANIMATION_OUT" : "UNMOUNT"), a.current = t;
|
|
438
438
|
}
|
|
439
|
-
}, [t, c]),
|
|
439
|
+
}, [t, c]), O(() => {
|
|
440
440
|
if (n) {
|
|
441
441
|
let e = (e) => {
|
|
442
|
-
let t =
|
|
442
|
+
let t = Se(i.current).includes(e.animationName);
|
|
443
443
|
e.target === n && t && f.flushSync(() => c("ANIMATION_END"));
|
|
444
444
|
}, t = (e) => {
|
|
445
|
-
e.target === n && (o.current =
|
|
445
|
+
e.target === n && (o.current = Se(i.current));
|
|
446
446
|
};
|
|
447
447
|
return n.addEventListener("animationstart", t), n.addEventListener("animationcancel", e), n.addEventListener("animationend", e), () => {
|
|
448
448
|
n.removeEventListener("animationstart", t), n.removeEventListener("animationcancel", e), n.removeEventListener("animationend", e);
|
|
@@ -455,59 +455,59 @@ function Se(t) {
|
|
|
455
455
|
}, [])
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function Se(e) {
|
|
459
459
|
return e?.animationName || "none";
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Ce(e) {
|
|
462
462
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
463
463
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
464
464
|
}
|
|
465
465
|
//#endregion
|
|
466
466
|
//#region ../../node_modules/@huin-core/react-tabs/dist/index.mjs
|
|
467
|
-
var
|
|
468
|
-
let { __scopeTabs: r, value: i, onValueChange: a, defaultValue: o, orientation: s = "horizontal", dir: c, activationMode: l = "automatic", ...u } = t, d =
|
|
467
|
+
var we = "Tabs", [Te, Ee] = h(we, [ae]), [De, Oe] = Te(we), ke = e.forwardRef((t, n) => {
|
|
468
|
+
let { __scopeTabs: r, value: i, onValueChange: a, defaultValue: o, orientation: s = "horizontal", dir: c, activationMode: l = "automatic", ...u } = t, d = te(c), [f, p] = F({
|
|
469
469
|
prop: i,
|
|
470
470
|
onChange: a,
|
|
471
471
|
defaultProp: o
|
|
472
472
|
});
|
|
473
|
-
return /* @__PURE__ */ e.createElement(
|
|
473
|
+
return /* @__PURE__ */ e.createElement(De, {
|
|
474
474
|
scope: r,
|
|
475
|
-
baseId:
|
|
475
|
+
baseId: j(),
|
|
476
476
|
value: f,
|
|
477
477
|
onValueChange: p,
|
|
478
478
|
orientation: s,
|
|
479
479
|
dir: d,
|
|
480
480
|
activationMode: l
|
|
481
|
-
}, /* @__PURE__ */ e.createElement(
|
|
481
|
+
}, /* @__PURE__ */ e.createElement(M.div, {
|
|
482
482
|
dir: d,
|
|
483
483
|
"data-orientation": s,
|
|
484
484
|
...u,
|
|
485
485
|
ref: n
|
|
486
486
|
}));
|
|
487
487
|
});
|
|
488
|
-
|
|
489
|
-
var
|
|
490
|
-
let { __scopeTabs: r, loop: i = !0, ...a } = e, o =
|
|
491
|
-
return /* @__PURE__ */ t.createElement(
|
|
488
|
+
ke.displayName = we;
|
|
489
|
+
var Ae = "TabsList", je = ae(), Me = t.forwardRef((e, n) => {
|
|
490
|
+
let { __scopeTabs: r, loop: i = !0, ...a } = e, o = Oe(Ae, r), s = je(r);
|
|
491
|
+
return /* @__PURE__ */ t.createElement(_e, {
|
|
492
492
|
asChild: !0,
|
|
493
493
|
...s,
|
|
494
494
|
orientation: o.orientation,
|
|
495
495
|
dir: o.dir,
|
|
496
496
|
loop: i
|
|
497
|
-
}, /* @__PURE__ */ t.createElement(
|
|
497
|
+
}, /* @__PURE__ */ t.createElement(M.div, {
|
|
498
498
|
role: "tablist",
|
|
499
499
|
"aria-orientation": o.orientation,
|
|
500
500
|
...a,
|
|
501
501
|
ref: n
|
|
502
502
|
}));
|
|
503
503
|
});
|
|
504
|
-
|
|
505
|
-
var
|
|
506
|
-
let { __scopeTabs: r, value: i, forceMount: a, children: o, ...s } = e, c =
|
|
504
|
+
Me.displayName = Ae;
|
|
505
|
+
var Ne = "TabsContent", Pe = t.forwardRef((e, n) => {
|
|
506
|
+
let { __scopeTabs: r, value: i, forceMount: a, children: o, ...s } = e, c = Oe(Ne, r), l = Fe(c.baseId, i), u = Ie(c.baseId, i), d = i === c.value, f = t.useRef(d);
|
|
507
507
|
return t.useEffect(() => {
|
|
508
508
|
let e = requestAnimationFrame(() => f.current = !1);
|
|
509
509
|
return () => cancelAnimationFrame(e);
|
|
510
|
-
}, []), /* @__PURE__ */ t.createElement(
|
|
510
|
+
}, []), /* @__PURE__ */ t.createElement(be, { present: a || d }, ({ present: r }) => /* @__PURE__ */ t.createElement(M.div, {
|
|
511
511
|
"data-state": d ? "active" : "inactive",
|
|
512
512
|
"data-orientation": c.orientation,
|
|
513
513
|
role: "tabpanel",
|
|
@@ -523,21 +523,21 @@ var Pe = "TabsContent", Fe = t.forwardRef((e, n) => {
|
|
|
523
523
|
}
|
|
524
524
|
}, r && o));
|
|
525
525
|
});
|
|
526
|
-
|
|
527
|
-
function
|
|
526
|
+
Pe.displayName = Ne;
|
|
527
|
+
function Fe(e, t) {
|
|
528
528
|
return `${e}-trigger-${t}`;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Ie(e, t) {
|
|
531
531
|
return `${e}-content-${t}`;
|
|
532
532
|
}
|
|
533
|
-
var
|
|
534
|
-
let { __scopeTabs: r, value: i, disabled: a = !1, ...o } = e, s =
|
|
535
|
-
return /* @__PURE__ */ t.createElement(
|
|
533
|
+
var Le = "TabsTrigger", Re = t.forwardRef((e, n) => {
|
|
534
|
+
let { __scopeTabs: r, value: i, disabled: a = !1, ...o } = e, s = Oe(Le, r), c = je(r), l = Fe(s.baseId, i), u = Ie(s.baseId, i), d = i === s.value;
|
|
535
|
+
return /* @__PURE__ */ t.createElement(ve, {
|
|
536
536
|
asChild: !0,
|
|
537
537
|
...c,
|
|
538
538
|
focusable: !a,
|
|
539
539
|
active: d
|
|
540
|
-
}, /* @__PURE__ */ t.createElement(
|
|
540
|
+
}, /* @__PURE__ */ t.createElement(M.button, {
|
|
541
541
|
type: "button",
|
|
542
542
|
role: "tab",
|
|
543
543
|
"aria-selected": d,
|
|
@@ -560,118 +560,118 @@ var Re = "TabsTrigger", ze = t.forwardRef((e, n) => {
|
|
|
560
560
|
})
|
|
561
561
|
}));
|
|
562
562
|
});
|
|
563
|
-
|
|
563
|
+
Re.displayName = Le;
|
|
564
564
|
//#endregion
|
|
565
565
|
//#region ../../node_modules/clsx/dist/clsx.mjs
|
|
566
|
-
function
|
|
566
|
+
function ze(e) {
|
|
567
567
|
var t, n, r = "";
|
|
568
568
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
569
569
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
570
570
|
var i = e.length;
|
|
571
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
571
|
+
for (t = 0; t < i; t++) e[t] && (n = ze(e[t])) && (r && (r += " "), r += n);
|
|
572
572
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
573
573
|
return r;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
576
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
575
|
+
function Be() {
|
|
576
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ze(e)) && (r && (r += " "), r += t);
|
|
577
577
|
return r;
|
|
578
578
|
}
|
|
579
579
|
//#endregion
|
|
580
580
|
//#region ../../node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
581
|
-
var
|
|
581
|
+
var Ve = (e, t) => {
|
|
582
582
|
let n = Array(e.length + t.length);
|
|
583
583
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
584
584
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
585
585
|
return n;
|
|
586
|
-
},
|
|
586
|
+
}, He = (e, t) => ({
|
|
587
587
|
classGroupId: e,
|
|
588
588
|
validator: t
|
|
589
|
-
}),
|
|
589
|
+
}), Ue = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
590
590
|
nextPart: e,
|
|
591
591
|
validators: t,
|
|
592
592
|
classGroupId: n
|
|
593
|
-
}),
|
|
594
|
-
let t =
|
|
593
|
+
}), We = "-", Ge = [], Ke = "arbitrary..", qe = (e) => {
|
|
594
|
+
let t = Xe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
595
595
|
return {
|
|
596
596
|
getClassGroupId: (e) => {
|
|
597
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
598
|
-
let n = e.split(
|
|
599
|
-
return
|
|
597
|
+
if (e.startsWith("[") && e.endsWith("]")) return Ye(e);
|
|
598
|
+
let n = e.split(We);
|
|
599
|
+
return Je(n, +(n[0] === "" && n.length > 1), t);
|
|
600
600
|
},
|
|
601
601
|
getConflictingClassGroupIds: (e, t) => {
|
|
602
602
|
if (t) {
|
|
603
603
|
let t = r[e], i = n[e];
|
|
604
|
-
return t ? i ?
|
|
604
|
+
return t ? i ? Ve(i, t) : t : i || Ge;
|
|
605
605
|
}
|
|
606
|
-
return n[e] ||
|
|
606
|
+
return n[e] || Ge;
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
|
-
},
|
|
609
|
+
}, Je = (e, t, n) => {
|
|
610
610
|
if (e.length - t === 0) return n.classGroupId;
|
|
611
611
|
let r = e[t], i = n.nextPart.get(r);
|
|
612
612
|
if (i) {
|
|
613
|
-
let n =
|
|
613
|
+
let n = Je(e, t + 1, i);
|
|
614
614
|
if (n) return n;
|
|
615
615
|
}
|
|
616
616
|
let a = n.validators;
|
|
617
617
|
if (a === null) return;
|
|
618
|
-
let o = t === 0 ? e.join(
|
|
618
|
+
let o = t === 0 ? e.join(We) : e.slice(t).join(We), s = a.length;
|
|
619
619
|
for (let e = 0; e < s; e++) {
|
|
620
620
|
let t = a[e];
|
|
621
621
|
if (t.validator(o)) return t.classGroupId;
|
|
622
622
|
}
|
|
623
|
-
},
|
|
623
|
+
}, Ye = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
624
624
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
625
|
-
return r ?
|
|
626
|
-
})(),
|
|
625
|
+
return r ? Ke + r : void 0;
|
|
626
|
+
})(), Xe = (e) => {
|
|
627
627
|
let { theme: t, classGroups: n } = e;
|
|
628
|
-
return
|
|
629
|
-
},
|
|
630
|
-
let n =
|
|
628
|
+
return Ze(n, t);
|
|
629
|
+
}, Ze = (e, t) => {
|
|
630
|
+
let n = Ue();
|
|
631
631
|
for (let r in e) {
|
|
632
632
|
let i = e[r];
|
|
633
|
-
|
|
633
|
+
Qe(i, n, r, t);
|
|
634
634
|
}
|
|
635
635
|
return n;
|
|
636
|
-
},
|
|
636
|
+
}, Qe = (e, t, n, r) => {
|
|
637
637
|
let i = e.length;
|
|
638
638
|
for (let a = 0; a < i; a++) {
|
|
639
639
|
let i = e[a];
|
|
640
|
-
|
|
640
|
+
$e(i, t, n, r);
|
|
641
641
|
}
|
|
642
|
-
},
|
|
642
|
+
}, $e = (e, t, n, r) => {
|
|
643
643
|
if (typeof e == "string") {
|
|
644
|
-
|
|
644
|
+
et(e, t, n);
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
647
|
if (typeof e == "function") {
|
|
648
|
-
|
|
648
|
+
tt(e, t, n, r);
|
|
649
649
|
return;
|
|
650
650
|
}
|
|
651
|
-
|
|
652
|
-
},
|
|
653
|
-
let r = e === "" ? t :
|
|
651
|
+
nt(e, t, n, r);
|
|
652
|
+
}, et = (e, t, n) => {
|
|
653
|
+
let r = e === "" ? t : rt(t, e);
|
|
654
654
|
r.classGroupId = n;
|
|
655
|
-
},
|
|
656
|
-
if (
|
|
657
|
-
|
|
655
|
+
}, tt = (e, t, n, r) => {
|
|
656
|
+
if (it(e)) {
|
|
657
|
+
Qe(e(r), t, n, r);
|
|
658
658
|
return;
|
|
659
659
|
}
|
|
660
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
661
|
-
},
|
|
660
|
+
t.validators === null && (t.validators = []), t.validators.push(He(n, e));
|
|
661
|
+
}, nt = (e, t, n, r) => {
|
|
662
662
|
let i = Object.entries(e), a = i.length;
|
|
663
663
|
for (let e = 0; e < a; e++) {
|
|
664
664
|
let [a, o] = i[e];
|
|
665
|
-
|
|
665
|
+
Qe(o, rt(t, a), n, r);
|
|
666
666
|
}
|
|
667
|
-
},
|
|
668
|
-
let n = e, r = t.split(
|
|
667
|
+
}, rt = (e, t) => {
|
|
668
|
+
let n = e, r = t.split(We), i = r.length;
|
|
669
669
|
for (let e = 0; e < i; e++) {
|
|
670
670
|
let t = r[e], i = n.nextPart.get(t);
|
|
671
|
-
i || (i =
|
|
671
|
+
i || (i = Ue(), n.nextPart.set(t, i)), n = i;
|
|
672
672
|
}
|
|
673
673
|
return n;
|
|
674
|
-
},
|
|
674
|
+
}, it = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, at = (e) => {
|
|
675
675
|
if (e < 1) return {
|
|
676
676
|
get: () => void 0,
|
|
677
677
|
set: () => {}
|
|
@@ -689,19 +689,19 @@ var He = (e, t) => {
|
|
|
689
689
|
e in n ? n[e] = t : i(e, t);
|
|
690
690
|
}
|
|
691
691
|
};
|
|
692
|
-
},
|
|
692
|
+
}, ot = "!", st = ":", ct = [], lt = (e, t, n, r, i) => ({
|
|
693
693
|
modifiers: e,
|
|
694
694
|
hasImportantModifier: t,
|
|
695
695
|
baseClassName: n,
|
|
696
696
|
maybePostfixModifierPosition: r,
|
|
697
697
|
isExternal: i
|
|
698
|
-
}),
|
|
698
|
+
}), ut = (e) => {
|
|
699
699
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
700
700
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
701
701
|
for (let s = 0; s < o; s++) {
|
|
702
702
|
let o = e[s];
|
|
703
703
|
if (n === 0 && r === 0) {
|
|
704
|
-
if (o ===
|
|
704
|
+
if (o === st) {
|
|
705
705
|
t.push(e.slice(i, s)), i = s + 1;
|
|
706
706
|
continue;
|
|
707
707
|
}
|
|
@@ -713,13 +713,13 @@ var He = (e, t) => {
|
|
|
713
713
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
714
714
|
}
|
|
715
715
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
716
|
-
s.endsWith(
|
|
716
|
+
s.endsWith(ot) ? (c = s.slice(0, -1), l = !0) : s.startsWith(ot) && (c = s.slice(1), l = !0);
|
|
717
717
|
let u = a && a > i ? a - i : void 0;
|
|
718
|
-
return
|
|
718
|
+
return lt(t, l, c, u);
|
|
719
719
|
};
|
|
720
720
|
if (t) {
|
|
721
|
-
let e = t +
|
|
722
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
721
|
+
let e = t + st, n = r;
|
|
722
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : lt(ct, !1, t, void 0, !0);
|
|
723
723
|
}
|
|
724
724
|
if (n) {
|
|
725
725
|
let e = r;
|
|
@@ -729,7 +729,7 @@ var He = (e, t) => {
|
|
|
729
729
|
});
|
|
730
730
|
}
|
|
731
731
|
return r;
|
|
732
|
-
},
|
|
732
|
+
}, dt = (e) => {
|
|
733
733
|
let t = /* @__PURE__ */ new Map();
|
|
734
734
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
735
735
|
t.set(e, 1e6 + n);
|
|
@@ -741,18 +741,18 @@ var He = (e, t) => {
|
|
|
741
741
|
}
|
|
742
742
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
743
743
|
};
|
|
744
|
-
},
|
|
745
|
-
cache:
|
|
746
|
-
parseClassName:
|
|
747
|
-
sortModifiers:
|
|
748
|
-
postfixLookupClassGroupIds:
|
|
749
|
-
...
|
|
750
|
-
}),
|
|
744
|
+
}, ft = (e) => ({
|
|
745
|
+
cache: at(e.cacheSize),
|
|
746
|
+
parseClassName: ut(e),
|
|
747
|
+
sortModifiers: dt(e),
|
|
748
|
+
postfixLookupClassGroupIds: pt(e),
|
|
749
|
+
...qe(e)
|
|
750
|
+
}), pt = (e) => {
|
|
751
751
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
752
752
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
753
753
|
return t;
|
|
754
|
-
},
|
|
755
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
754
|
+
}, mt = /\s+/, ht = (e, t) => {
|
|
755
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(mt), l = "";
|
|
756
756
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
757
757
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
758
758
|
if (u) {
|
|
@@ -776,7 +776,7 @@ var He = (e, t) => {
|
|
|
776
776
|
}
|
|
777
777
|
h = !1;
|
|
778
778
|
}
|
|
779
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ +
|
|
779
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + ot : _, y = v + g;
|
|
780
780
|
if (s.indexOf(y) > -1) continue;
|
|
781
781
|
s.push(y);
|
|
782
782
|
let b = i(g, h);
|
|
@@ -787,34 +787,34 @@ var He = (e, t) => {
|
|
|
787
787
|
l = t + (l.length > 0 ? " " + l : l);
|
|
788
788
|
}
|
|
789
789
|
return l;
|
|
790
|
-
},
|
|
790
|
+
}, gt = (...e) => {
|
|
791
791
|
let t = 0, n, r, i = "";
|
|
792
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
792
|
+
for (; t < e.length;) (n = e[t++]) && (r = _t(n)) && (i && (i += " "), i += r);
|
|
793
793
|
return i;
|
|
794
|
-
},
|
|
794
|
+
}, _t = (e) => {
|
|
795
795
|
if (typeof e == "string") return e;
|
|
796
796
|
let t, n = "";
|
|
797
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
797
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = _t(e[r])) && (n && (n += " "), n += t);
|
|
798
798
|
return n;
|
|
799
|
-
},
|
|
800
|
-
let n, r, i, a, o = (o) => (n =
|
|
799
|
+
}, vt = (e, ...t) => {
|
|
800
|
+
let n, r, i, a, o = (o) => (n = ft(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
801
801
|
let t = r(e);
|
|
802
802
|
if (t) return t;
|
|
803
|
-
let a =
|
|
803
|
+
let a = ht(e, n);
|
|
804
804
|
return i(e, a), a;
|
|
805
805
|
};
|
|
806
|
-
return a = o, (...e) => a(
|
|
807
|
-
},
|
|
808
|
-
let t = (t) => t[e] ||
|
|
806
|
+
return a = o, (...e) => a(gt(...e));
|
|
807
|
+
}, yt = [], V = (e) => {
|
|
808
|
+
let t = (t) => t[e] || yt;
|
|
809
809
|
return t.isThemeGetter = !0, t;
|
|
810
|
-
},
|
|
811
|
-
let r =
|
|
810
|
+
}, bt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, St = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ct = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Tt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Et = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Dt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ot = (e) => St.test(e), H = (e) => !!e && !Number.isNaN(Number(e)), kt = (e) => !!e && Number.isInteger(Number(e)), At = (e) => e.endsWith("%") && H(e.slice(0, -1)), jt = (e) => Ct.test(e), Mt = () => !0, Nt = (e) => wt.test(e) && !Tt.test(e), Pt = () => !1, Ft = (e) => Et.test(e), It = (e) => Dt.test(e), Lt = (e) => !U(e) && !W(e), Rt = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), zt = (e) => en(e, an, Pt), U = (e) => bt.test(e), Bt = (e) => en(e, on, Nt), Vt = (e) => en(e, sn, H), Ht = (e) => en(e, ln, Mt), Ut = (e) => en(e, cn, Pt), Wt = (e) => en(e, nn, Pt), Gt = (e) => en(e, rn, It), Kt = (e) => en(e, un, Ft), W = (e) => xt.test(e), qt = (e) => tn(e, on), Jt = (e) => tn(e, cn), Yt = (e) => tn(e, nn), Xt = (e) => tn(e, an), Zt = (e) => tn(e, rn), Qt = (e) => tn(e, un, !0), $t = (e) => tn(e, ln, !0), en = (e, t, n) => {
|
|
811
|
+
let r = bt.exec(e);
|
|
812
812
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
813
813
|
}, tn = (e, t, n = !1) => {
|
|
814
|
-
let r =
|
|
814
|
+
let r = xt.exec(e);
|
|
815
815
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
816
|
-
}, nn = (e) => e === "position" || e === "percentage", rn = (e) => e === "image" || e === "url", an = (e) => e === "length" || e === "size" || e === "bg-size", on = (e) => e === "length", sn = (e) => e === "number", cn = (e) => e === "family-name", ln = (e) => e === "number" || e === "weight", un = (e) => e === "shadow", dn = /*#__PURE__*/
|
|
817
|
-
let e =
|
|
816
|
+
}, nn = (e) => e === "position" || e === "percentage", rn = (e) => e === "image" || e === "url", an = (e) => e === "length" || e === "size" || e === "bg-size", on = (e) => e === "length", sn = (e) => e === "number", cn = (e) => e === "family-name", ln = (e) => e === "number" || e === "weight", un = (e) => e === "shadow", dn = /*#__PURE__*/ vt(() => {
|
|
817
|
+
let e = V("color"), t = V("font"), n = V("text"), r = V("font-weight"), i = V("tracking"), a = V("leading"), o = V("breakpoint"), s = V("container"), c = V("spacing"), l = V("radius"), u = V("shadow"), d = V("inset-shadow"), f = V("text-shadow"), p = V("drop-shadow"), m = V("blur"), h = V("perspective"), g = V("aspect"), _ = V("ease"), v = V("animate"), y = () => [
|
|
818
818
|
"auto",
|
|
819
819
|
"avoid",
|
|
820
820
|
"all",
|
|
@@ -856,40 +856,40 @@ var He = (e, t) => {
|
|
|
856
856
|
U,
|
|
857
857
|
c
|
|
858
858
|
], T = () => [
|
|
859
|
-
|
|
859
|
+
Ot,
|
|
860
860
|
"full",
|
|
861
861
|
"auto",
|
|
862
862
|
...w()
|
|
863
863
|
], E = () => [
|
|
864
|
-
|
|
864
|
+
kt,
|
|
865
865
|
"none",
|
|
866
866
|
"subgrid",
|
|
867
867
|
W,
|
|
868
868
|
U
|
|
869
|
-
],
|
|
869
|
+
], D = () => [
|
|
870
870
|
"auto",
|
|
871
871
|
{ span: [
|
|
872
872
|
"full",
|
|
873
|
-
|
|
873
|
+
kt,
|
|
874
874
|
W,
|
|
875
875
|
U
|
|
876
876
|
] },
|
|
877
|
-
|
|
877
|
+
kt,
|
|
878
878
|
W,
|
|
879
879
|
U
|
|
880
|
-
],
|
|
881
|
-
|
|
880
|
+
], O = () => [
|
|
881
|
+
kt,
|
|
882
882
|
"auto",
|
|
883
883
|
W,
|
|
884
884
|
U
|
|
885
|
-
],
|
|
885
|
+
], k = () => [
|
|
886
886
|
"auto",
|
|
887
887
|
"min",
|
|
888
888
|
"max",
|
|
889
889
|
"fr",
|
|
890
890
|
W,
|
|
891
891
|
U
|
|
892
|
-
],
|
|
892
|
+
], A = () => [
|
|
893
893
|
"start",
|
|
894
894
|
"end",
|
|
895
895
|
"center",
|
|
@@ -900,15 +900,15 @@ var He = (e, t) => {
|
|
|
900
900
|
"baseline",
|
|
901
901
|
"center-safe",
|
|
902
902
|
"end-safe"
|
|
903
|
-
],
|
|
903
|
+
], j = () => [
|
|
904
904
|
"start",
|
|
905
905
|
"end",
|
|
906
906
|
"center",
|
|
907
907
|
"stretch",
|
|
908
908
|
"center-safe",
|
|
909
909
|
"end-safe"
|
|
910
|
-
],
|
|
911
|
-
|
|
910
|
+
], M = () => ["auto", ...w()], N = () => [
|
|
911
|
+
Ot,
|
|
912
912
|
"auto",
|
|
913
913
|
"full",
|
|
914
914
|
"dvw",
|
|
@@ -921,8 +921,8 @@ var He = (e, t) => {
|
|
|
921
921
|
"max",
|
|
922
922
|
"fit",
|
|
923
923
|
...w()
|
|
924
|
-
],
|
|
925
|
-
|
|
924
|
+
], P = () => [
|
|
925
|
+
Ot,
|
|
926
926
|
"screen",
|
|
927
927
|
"full",
|
|
928
928
|
"dvw",
|
|
@@ -932,8 +932,8 @@ var He = (e, t) => {
|
|
|
932
932
|
"max",
|
|
933
933
|
"fit",
|
|
934
934
|
...w()
|
|
935
|
-
],
|
|
936
|
-
|
|
935
|
+
], F = () => [
|
|
936
|
+
Ot,
|
|
937
937
|
"screen",
|
|
938
938
|
"full",
|
|
939
939
|
"lh",
|
|
@@ -944,50 +944,50 @@ var He = (e, t) => {
|
|
|
944
944
|
"max",
|
|
945
945
|
"fit",
|
|
946
946
|
...w()
|
|
947
|
-
],
|
|
947
|
+
], I = () => [
|
|
948
948
|
e,
|
|
949
949
|
W,
|
|
950
950
|
U
|
|
951
|
-
],
|
|
951
|
+
], ee = () => [
|
|
952
952
|
...b(),
|
|
953
953
|
Yt,
|
|
954
954
|
Wt,
|
|
955
955
|
{ position: [W, U] }
|
|
956
|
-
],
|
|
956
|
+
], te = () => ["no-repeat", { repeat: [
|
|
957
957
|
"",
|
|
958
958
|
"x",
|
|
959
959
|
"y",
|
|
960
960
|
"space",
|
|
961
961
|
"round"
|
|
962
|
-
] }],
|
|
962
|
+
] }], L = () => [
|
|
963
963
|
"auto",
|
|
964
964
|
"cover",
|
|
965
965
|
"contain",
|
|
966
966
|
Xt,
|
|
967
967
|
zt,
|
|
968
968
|
{ size: [W, U] }
|
|
969
|
-
],
|
|
969
|
+
], ne = () => [
|
|
970
970
|
At,
|
|
971
971
|
qt,
|
|
972
972
|
Bt
|
|
973
|
-
],
|
|
973
|
+
], R = () => [
|
|
974
974
|
"",
|
|
975
975
|
"none",
|
|
976
976
|
"full",
|
|
977
977
|
l,
|
|
978
978
|
W,
|
|
979
979
|
U
|
|
980
|
-
],
|
|
980
|
+
], z = () => [
|
|
981
981
|
"",
|
|
982
|
-
|
|
982
|
+
H,
|
|
983
983
|
qt,
|
|
984
984
|
Bt
|
|
985
|
-
],
|
|
985
|
+
], re = () => [
|
|
986
986
|
"solid",
|
|
987
987
|
"dashed",
|
|
988
988
|
"dotted",
|
|
989
989
|
"double"
|
|
990
|
-
],
|
|
990
|
+
], ie = () => [
|
|
991
991
|
"normal",
|
|
992
992
|
"multiply",
|
|
993
993
|
"screen",
|
|
@@ -1004,33 +1004,33 @@ var He = (e, t) => {
|
|
|
1004
1004
|
"saturation",
|
|
1005
1005
|
"color",
|
|
1006
1006
|
"luminosity"
|
|
1007
|
-
],
|
|
1008
|
-
|
|
1007
|
+
], B = () => [
|
|
1008
|
+
H,
|
|
1009
1009
|
At,
|
|
1010
1010
|
Yt,
|
|
1011
1011
|
Wt
|
|
1012
|
-
],
|
|
1012
|
+
], ae = () => [
|
|
1013
1013
|
"",
|
|
1014
1014
|
"none",
|
|
1015
1015
|
m,
|
|
1016
1016
|
W,
|
|
1017
1017
|
U
|
|
1018
|
-
],
|
|
1018
|
+
], oe = () => [
|
|
1019
1019
|
"none",
|
|
1020
|
-
|
|
1020
|
+
H,
|
|
1021
1021
|
W,
|
|
1022
1022
|
U
|
|
1023
|
-
],
|
|
1023
|
+
], se = () => [
|
|
1024
1024
|
"none",
|
|
1025
|
-
|
|
1025
|
+
H,
|
|
1026
1026
|
W,
|
|
1027
1027
|
U
|
|
1028
|
-
],
|
|
1029
|
-
|
|
1028
|
+
], ce = () => [
|
|
1029
|
+
H,
|
|
1030
1030
|
W,
|
|
1031
1031
|
U
|
|
1032
|
-
],
|
|
1033
|
-
|
|
1032
|
+
], le = () => [
|
|
1033
|
+
Ot,
|
|
1034
1034
|
"full",
|
|
1035
1035
|
...w()
|
|
1036
1036
|
];
|
|
@@ -1085,7 +1085,7 @@ var He = (e, t) => {
|
|
|
1085
1085
|
],
|
|
1086
1086
|
radius: [jt],
|
|
1087
1087
|
shadow: [jt],
|
|
1088
|
-
spacing: ["px",
|
|
1088
|
+
spacing: ["px", H],
|
|
1089
1089
|
text: [jt],
|
|
1090
1090
|
"text-shadow": [jt],
|
|
1091
1091
|
tracking: [
|
|
@@ -1101,7 +1101,7 @@ var He = (e, t) => {
|
|
|
1101
1101
|
aspect: [{ aspect: [
|
|
1102
1102
|
"auto",
|
|
1103
1103
|
"square",
|
|
1104
|
-
|
|
1104
|
+
Ot,
|
|
1105
1105
|
U,
|
|
1106
1106
|
W,
|
|
1107
1107
|
g
|
|
@@ -1116,7 +1116,7 @@ var He = (e, t) => {
|
|
|
1116
1116
|
] }],
|
|
1117
1117
|
"container-named": [Rt],
|
|
1118
1118
|
columns: [{ columns: [
|
|
1119
|
-
|
|
1119
|
+
H,
|
|
1120
1120
|
U,
|
|
1121
1121
|
W,
|
|
1122
1122
|
s
|
|
@@ -1215,13 +1215,13 @@ var He = (e, t) => {
|
|
|
1215
1215
|
"collapse"
|
|
1216
1216
|
],
|
|
1217
1217
|
z: [{ z: [
|
|
1218
|
-
|
|
1218
|
+
kt,
|
|
1219
1219
|
"auto",
|
|
1220
1220
|
W,
|
|
1221
1221
|
U
|
|
1222
1222
|
] }],
|
|
1223
1223
|
basis: [{ basis: [
|
|
1224
|
-
|
|
1224
|
+
Ot,
|
|
1225
1225
|
"full",
|
|
1226
1226
|
"auto",
|
|
1227
1227
|
s,
|
|
@@ -1239,8 +1239,8 @@ var He = (e, t) => {
|
|
|
1239
1239
|
"wrap-reverse"
|
|
1240
1240
|
] }],
|
|
1241
1241
|
flex: [{ flex: [
|
|
1242
|
-
|
|
1243
|
-
|
|
1242
|
+
H,
|
|
1243
|
+
Ot,
|
|
1244
1244
|
"auto",
|
|
1245
1245
|
"initial",
|
|
1246
1246
|
"none",
|
|
@@ -1248,18 +1248,18 @@ var He = (e, t) => {
|
|
|
1248
1248
|
] }],
|
|
1249
1249
|
grow: [{ grow: [
|
|
1250
1250
|
"",
|
|
1251
|
-
|
|
1251
|
+
H,
|
|
1252
1252
|
W,
|
|
1253
1253
|
U
|
|
1254
1254
|
] }],
|
|
1255
1255
|
shrink: [{ shrink: [
|
|
1256
1256
|
"",
|
|
1257
|
-
|
|
1257
|
+
H,
|
|
1258
1258
|
W,
|
|
1259
1259
|
U
|
|
1260
1260
|
] }],
|
|
1261
1261
|
order: [{ order: [
|
|
1262
|
-
|
|
1262
|
+
kt,
|
|
1263
1263
|
"first",
|
|
1264
1264
|
"last",
|
|
1265
1265
|
"none",
|
|
@@ -1267,13 +1267,13 @@ var He = (e, t) => {
|
|
|
1267
1267
|
U
|
|
1268
1268
|
] }],
|
|
1269
1269
|
"grid-cols": [{ "grid-cols": E() }],
|
|
1270
|
-
"col-start-end": [{ col:
|
|
1271
|
-
"col-start": [{ "col-start":
|
|
1272
|
-
"col-end": [{ "col-end":
|
|
1270
|
+
"col-start-end": [{ col: D() }],
|
|
1271
|
+
"col-start": [{ "col-start": O() }],
|
|
1272
|
+
"col-end": [{ "col-end": O() }],
|
|
1273
1273
|
"grid-rows": [{ "grid-rows": E() }],
|
|
1274
|
-
"row-start-end": [{ row:
|
|
1275
|
-
"row-start": [{ "row-start":
|
|
1276
|
-
"row-end": [{ "row-end":
|
|
1274
|
+
"row-start-end": [{ row: D() }],
|
|
1275
|
+
"row-start": [{ "row-start": O() }],
|
|
1276
|
+
"row-end": [{ "row-end": O() }],
|
|
1277
1277
|
"grid-flow": [{ "grid-flow": [
|
|
1278
1278
|
"row",
|
|
1279
1279
|
"col",
|
|
@@ -1281,24 +1281,24 @@ var He = (e, t) => {
|
|
|
1281
1281
|
"row-dense",
|
|
1282
1282
|
"col-dense"
|
|
1283
1283
|
] }],
|
|
1284
|
-
"auto-cols": [{ "auto-cols":
|
|
1285
|
-
"auto-rows": [{ "auto-rows":
|
|
1284
|
+
"auto-cols": [{ "auto-cols": k() }],
|
|
1285
|
+
"auto-rows": [{ "auto-rows": k() }],
|
|
1286
1286
|
gap: [{ gap: w() }],
|
|
1287
1287
|
"gap-x": [{ "gap-x": w() }],
|
|
1288
1288
|
"gap-y": [{ "gap-y": w() }],
|
|
1289
|
-
"justify-content": [{ justify: [...
|
|
1290
|
-
"justify-items": [{ "justify-items": [...
|
|
1291
|
-
"justify-self": [{ "justify-self": ["auto", ...
|
|
1292
|
-
"align-content": [{ content: ["normal", ...
|
|
1293
|
-
"align-items": [{ items: [...
|
|
1289
|
+
"justify-content": [{ justify: [...A(), "normal"] }],
|
|
1290
|
+
"justify-items": [{ "justify-items": [...j(), "normal"] }],
|
|
1291
|
+
"justify-self": [{ "justify-self": ["auto", ...j()] }],
|
|
1292
|
+
"align-content": [{ content: ["normal", ...A()] }],
|
|
1293
|
+
"align-items": [{ items: [...j(), { baseline: ["", "last"] }] }],
|
|
1294
1294
|
"align-self": [{ self: [
|
|
1295
1295
|
"auto",
|
|
1296
|
-
...
|
|
1296
|
+
...j(),
|
|
1297
1297
|
{ baseline: ["", "last"] }
|
|
1298
1298
|
] }],
|
|
1299
|
-
"place-content": [{ "place-content":
|
|
1300
|
-
"place-items": [{ "place-items": [...
|
|
1301
|
-
"place-self": [{ "place-self": ["auto", ...
|
|
1299
|
+
"place-content": [{ "place-content": A() }],
|
|
1300
|
+
"place-items": [{ "place-items": [...j(), "baseline"] }],
|
|
1301
|
+
"place-self": [{ "place-self": ["auto", ...j()] }],
|
|
1302
1302
|
p: [{ p: w() }],
|
|
1303
1303
|
px: [{ px: w() }],
|
|
1304
1304
|
py: [{ py: w() }],
|
|
@@ -1310,38 +1310,38 @@ var He = (e, t) => {
|
|
|
1310
1310
|
pr: [{ pr: w() }],
|
|
1311
1311
|
pb: [{ pb: w() }],
|
|
1312
1312
|
pl: [{ pl: w() }],
|
|
1313
|
-
m: [{ m:
|
|
1314
|
-
mx: [{ mx:
|
|
1315
|
-
my: [{ my:
|
|
1316
|
-
ms: [{ ms:
|
|
1317
|
-
me: [{ me:
|
|
1318
|
-
mbs: [{ mbs:
|
|
1319
|
-
mbe: [{ mbe:
|
|
1320
|
-
mt: [{ mt:
|
|
1321
|
-
mr: [{ mr:
|
|
1322
|
-
mb: [{ mb:
|
|
1323
|
-
ml: [{ ml:
|
|
1313
|
+
m: [{ m: M() }],
|
|
1314
|
+
mx: [{ mx: M() }],
|
|
1315
|
+
my: [{ my: M() }],
|
|
1316
|
+
ms: [{ ms: M() }],
|
|
1317
|
+
me: [{ me: M() }],
|
|
1318
|
+
mbs: [{ mbs: M() }],
|
|
1319
|
+
mbe: [{ mbe: M() }],
|
|
1320
|
+
mt: [{ mt: M() }],
|
|
1321
|
+
mr: [{ mr: M() }],
|
|
1322
|
+
mb: [{ mb: M() }],
|
|
1323
|
+
ml: [{ ml: M() }],
|
|
1324
1324
|
"space-x": [{ "space-x": w() }],
|
|
1325
1325
|
"space-x-reverse": ["space-x-reverse"],
|
|
1326
1326
|
"space-y": [{ "space-y": w() }],
|
|
1327
1327
|
"space-y-reverse": ["space-y-reverse"],
|
|
1328
|
-
size: [{ size:
|
|
1329
|
-
"inline-size": [{ inline: ["auto", ...
|
|
1330
|
-
"min-inline-size": [{ "min-inline": ["auto", ...
|
|
1331
|
-
"max-inline-size": [{ "max-inline": ["none", ...
|
|
1332
|
-
"block-size": [{ block: ["auto", ...
|
|
1333
|
-
"min-block-size": [{ "min-block": ["auto", ...
|
|
1334
|
-
"max-block-size": [{ "max-block": ["none", ...
|
|
1328
|
+
size: [{ size: N() }],
|
|
1329
|
+
"inline-size": [{ inline: ["auto", ...P()] }],
|
|
1330
|
+
"min-inline-size": [{ "min-inline": ["auto", ...P()] }],
|
|
1331
|
+
"max-inline-size": [{ "max-inline": ["none", ...P()] }],
|
|
1332
|
+
"block-size": [{ block: ["auto", ...F()] }],
|
|
1333
|
+
"min-block-size": [{ "min-block": ["auto", ...F()] }],
|
|
1334
|
+
"max-block-size": [{ "max-block": ["none", ...F()] }],
|
|
1335
1335
|
w: [{ w: [
|
|
1336
1336
|
s,
|
|
1337
1337
|
"screen",
|
|
1338
|
-
...
|
|
1338
|
+
...N()
|
|
1339
1339
|
] }],
|
|
1340
1340
|
"min-w": [{ "min-w": [
|
|
1341
1341
|
s,
|
|
1342
1342
|
"screen",
|
|
1343
1343
|
"none",
|
|
1344
|
-
...
|
|
1344
|
+
...N()
|
|
1345
1345
|
] }],
|
|
1346
1346
|
"max-w": [{ "max-w": [
|
|
1347
1347
|
s,
|
|
@@ -1349,23 +1349,23 @@ var He = (e, t) => {
|
|
|
1349
1349
|
"none",
|
|
1350
1350
|
"prose",
|
|
1351
1351
|
{ screen: [o] },
|
|
1352
|
-
...
|
|
1352
|
+
...N()
|
|
1353
1353
|
] }],
|
|
1354
1354
|
h: [{ h: [
|
|
1355
1355
|
"screen",
|
|
1356
1356
|
"lh",
|
|
1357
|
-
...
|
|
1357
|
+
...N()
|
|
1358
1358
|
] }],
|
|
1359
1359
|
"min-h": [{ "min-h": [
|
|
1360
1360
|
"screen",
|
|
1361
1361
|
"lh",
|
|
1362
1362
|
"none",
|
|
1363
|
-
...
|
|
1363
|
+
...N()
|
|
1364
1364
|
] }],
|
|
1365
1365
|
"max-h": [{ "max-h": [
|
|
1366
1366
|
"screen",
|
|
1367
1367
|
"lh",
|
|
1368
|
-
...
|
|
1368
|
+
...N()
|
|
1369
1369
|
] }],
|
|
1370
1370
|
"font-size": [{ text: [
|
|
1371
1371
|
"base",
|
|
@@ -1411,7 +1411,7 @@ var He = (e, t) => {
|
|
|
1411
1411
|
U
|
|
1412
1412
|
] }],
|
|
1413
1413
|
"line-clamp": [{ "line-clamp": [
|
|
1414
|
-
|
|
1414
|
+
H,
|
|
1415
1415
|
"none",
|
|
1416
1416
|
W,
|
|
1417
1417
|
Vt
|
|
@@ -1438,25 +1438,25 @@ var He = (e, t) => {
|
|
|
1438
1438
|
"start",
|
|
1439
1439
|
"end"
|
|
1440
1440
|
] }],
|
|
1441
|
-
"placeholder-color": [{ placeholder:
|
|
1442
|
-
"text-color": [{ text:
|
|
1441
|
+
"placeholder-color": [{ placeholder: I() }],
|
|
1442
|
+
"text-color": [{ text: I() }],
|
|
1443
1443
|
"text-decoration": [
|
|
1444
1444
|
"underline",
|
|
1445
1445
|
"overline",
|
|
1446
1446
|
"line-through",
|
|
1447
1447
|
"no-underline"
|
|
1448
1448
|
],
|
|
1449
|
-
"text-decoration-style": [{ decoration: [...
|
|
1449
|
+
"text-decoration-style": [{ decoration: [...re(), "wavy"] }],
|
|
1450
1450
|
"text-decoration-thickness": [{ decoration: [
|
|
1451
|
-
|
|
1451
|
+
H,
|
|
1452
1452
|
"from-font",
|
|
1453
1453
|
"auto",
|
|
1454
1454
|
W,
|
|
1455
1455
|
Bt
|
|
1456
1456
|
] }],
|
|
1457
|
-
"text-decoration-color": [{ decoration:
|
|
1457
|
+
"text-decoration-color": [{ decoration: I() }],
|
|
1458
1458
|
"underline-offset": [{ "underline-offset": [
|
|
1459
|
-
|
|
1459
|
+
H,
|
|
1460
1460
|
"auto",
|
|
1461
1461
|
W,
|
|
1462
1462
|
U
|
|
@@ -1480,7 +1480,7 @@ var He = (e, t) => {
|
|
|
1480
1480
|
] }],
|
|
1481
1481
|
indent: [{ indent: w() }],
|
|
1482
1482
|
"tab-size": [{ tab: [
|
|
1483
|
-
|
|
1483
|
+
kt,
|
|
1484
1484
|
W,
|
|
1485
1485
|
U
|
|
1486
1486
|
] }],
|
|
@@ -1541,9 +1541,9 @@ var He = (e, t) => {
|
|
|
1541
1541
|
"padding",
|
|
1542
1542
|
"content"
|
|
1543
1543
|
] }],
|
|
1544
|
-
"bg-position": [{ bg:
|
|
1545
|
-
"bg-repeat": [{ bg:
|
|
1546
|
-
"bg-size": [{ bg:
|
|
1544
|
+
"bg-position": [{ bg: ee() }],
|
|
1545
|
+
"bg-repeat": [{ bg: te() }],
|
|
1546
|
+
"bg-size": [{ bg: L() }],
|
|
1547
1547
|
"bg-image": [{ bg: [
|
|
1548
1548
|
"none",
|
|
1549
1549
|
{
|
|
@@ -1558,7 +1558,7 @@ var He = (e, t) => {
|
|
|
1558
1558
|
"l",
|
|
1559
1559
|
"tl"
|
|
1560
1560
|
] },
|
|
1561
|
-
|
|
1561
|
+
kt,
|
|
1562
1562
|
W,
|
|
1563
1563
|
U
|
|
1564
1564
|
],
|
|
@@ -1568,7 +1568,7 @@ var He = (e, t) => {
|
|
|
1568
1568
|
U
|
|
1569
1569
|
],
|
|
1570
1570
|
conic: [
|
|
1571
|
-
|
|
1571
|
+
kt,
|
|
1572
1572
|
W,
|
|
1573
1573
|
U
|
|
1574
1574
|
]
|
|
@@ -1576,82 +1576,82 @@ var He = (e, t) => {
|
|
|
1576
1576
|
Zt,
|
|
1577
1577
|
Gt
|
|
1578
1578
|
] }],
|
|
1579
|
-
"bg-color": [{ bg:
|
|
1580
|
-
"gradient-from-pos": [{ from:
|
|
1581
|
-
"gradient-via-pos": [{ via:
|
|
1582
|
-
"gradient-to-pos": [{ to:
|
|
1583
|
-
"gradient-from": [{ from:
|
|
1584
|
-
"gradient-via": [{ via:
|
|
1585
|
-
"gradient-to": [{ to:
|
|
1586
|
-
rounded: [{ rounded:
|
|
1587
|
-
"rounded-s": [{ "rounded-s":
|
|
1588
|
-
"rounded-e": [{ "rounded-e":
|
|
1589
|
-
"rounded-t": [{ "rounded-t":
|
|
1590
|
-
"rounded-r": [{ "rounded-r":
|
|
1591
|
-
"rounded-b": [{ "rounded-b":
|
|
1592
|
-
"rounded-l": [{ "rounded-l":
|
|
1593
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1594
|
-
"rounded-se": [{ "rounded-se":
|
|
1595
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1596
|
-
"rounded-es": [{ "rounded-es":
|
|
1597
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1598
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1599
|
-
"rounded-br": [{ "rounded-br":
|
|
1600
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1601
|
-
"border-w": [{ border:
|
|
1602
|
-
"border-w-x": [{ "border-x":
|
|
1603
|
-
"border-w-y": [{ "border-y":
|
|
1604
|
-
"border-w-s": [{ "border-s":
|
|
1605
|
-
"border-w-e": [{ "border-e":
|
|
1606
|
-
"border-w-bs": [{ "border-bs":
|
|
1607
|
-
"border-w-be": [{ "border-be":
|
|
1608
|
-
"border-w-t": [{ "border-t":
|
|
1609
|
-
"border-w-r": [{ "border-r":
|
|
1610
|
-
"border-w-b": [{ "border-b":
|
|
1611
|
-
"border-w-l": [{ "border-l":
|
|
1612
|
-
"divide-x": [{ "divide-x":
|
|
1579
|
+
"bg-color": [{ bg: I() }],
|
|
1580
|
+
"gradient-from-pos": [{ from: ne() }],
|
|
1581
|
+
"gradient-via-pos": [{ via: ne() }],
|
|
1582
|
+
"gradient-to-pos": [{ to: ne() }],
|
|
1583
|
+
"gradient-from": [{ from: I() }],
|
|
1584
|
+
"gradient-via": [{ via: I() }],
|
|
1585
|
+
"gradient-to": [{ to: I() }],
|
|
1586
|
+
rounded: [{ rounded: R() }],
|
|
1587
|
+
"rounded-s": [{ "rounded-s": R() }],
|
|
1588
|
+
"rounded-e": [{ "rounded-e": R() }],
|
|
1589
|
+
"rounded-t": [{ "rounded-t": R() }],
|
|
1590
|
+
"rounded-r": [{ "rounded-r": R() }],
|
|
1591
|
+
"rounded-b": [{ "rounded-b": R() }],
|
|
1592
|
+
"rounded-l": [{ "rounded-l": R() }],
|
|
1593
|
+
"rounded-ss": [{ "rounded-ss": R() }],
|
|
1594
|
+
"rounded-se": [{ "rounded-se": R() }],
|
|
1595
|
+
"rounded-ee": [{ "rounded-ee": R() }],
|
|
1596
|
+
"rounded-es": [{ "rounded-es": R() }],
|
|
1597
|
+
"rounded-tl": [{ "rounded-tl": R() }],
|
|
1598
|
+
"rounded-tr": [{ "rounded-tr": R() }],
|
|
1599
|
+
"rounded-br": [{ "rounded-br": R() }],
|
|
1600
|
+
"rounded-bl": [{ "rounded-bl": R() }],
|
|
1601
|
+
"border-w": [{ border: z() }],
|
|
1602
|
+
"border-w-x": [{ "border-x": z() }],
|
|
1603
|
+
"border-w-y": [{ "border-y": z() }],
|
|
1604
|
+
"border-w-s": [{ "border-s": z() }],
|
|
1605
|
+
"border-w-e": [{ "border-e": z() }],
|
|
1606
|
+
"border-w-bs": [{ "border-bs": z() }],
|
|
1607
|
+
"border-w-be": [{ "border-be": z() }],
|
|
1608
|
+
"border-w-t": [{ "border-t": z() }],
|
|
1609
|
+
"border-w-r": [{ "border-r": z() }],
|
|
1610
|
+
"border-w-b": [{ "border-b": z() }],
|
|
1611
|
+
"border-w-l": [{ "border-l": z() }],
|
|
1612
|
+
"divide-x": [{ "divide-x": z() }],
|
|
1613
1613
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1614
|
-
"divide-y": [{ "divide-y":
|
|
1614
|
+
"divide-y": [{ "divide-y": z() }],
|
|
1615
1615
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1616
1616
|
"border-style": [{ border: [
|
|
1617
|
-
...
|
|
1617
|
+
...re(),
|
|
1618
1618
|
"hidden",
|
|
1619
1619
|
"none"
|
|
1620
1620
|
] }],
|
|
1621
1621
|
"divide-style": [{ divide: [
|
|
1622
|
-
...
|
|
1622
|
+
...re(),
|
|
1623
1623
|
"hidden",
|
|
1624
1624
|
"none"
|
|
1625
1625
|
] }],
|
|
1626
|
-
"border-color": [{ border:
|
|
1627
|
-
"border-color-x": [{ "border-x":
|
|
1628
|
-
"border-color-y": [{ "border-y":
|
|
1629
|
-
"border-color-s": [{ "border-s":
|
|
1630
|
-
"border-color-e": [{ "border-e":
|
|
1631
|
-
"border-color-bs": [{ "border-bs":
|
|
1632
|
-
"border-color-be": [{ "border-be":
|
|
1633
|
-
"border-color-t": [{ "border-t":
|
|
1634
|
-
"border-color-r": [{ "border-r":
|
|
1635
|
-
"border-color-b": [{ "border-b":
|
|
1636
|
-
"border-color-l": [{ "border-l":
|
|
1637
|
-
"divide-color": [{ divide:
|
|
1626
|
+
"border-color": [{ border: I() }],
|
|
1627
|
+
"border-color-x": [{ "border-x": I() }],
|
|
1628
|
+
"border-color-y": [{ "border-y": I() }],
|
|
1629
|
+
"border-color-s": [{ "border-s": I() }],
|
|
1630
|
+
"border-color-e": [{ "border-e": I() }],
|
|
1631
|
+
"border-color-bs": [{ "border-bs": I() }],
|
|
1632
|
+
"border-color-be": [{ "border-be": I() }],
|
|
1633
|
+
"border-color-t": [{ "border-t": I() }],
|
|
1634
|
+
"border-color-r": [{ "border-r": I() }],
|
|
1635
|
+
"border-color-b": [{ "border-b": I() }],
|
|
1636
|
+
"border-color-l": [{ "border-l": I() }],
|
|
1637
|
+
"divide-color": [{ divide: I() }],
|
|
1638
1638
|
"outline-style": [{ outline: [
|
|
1639
|
-
...
|
|
1639
|
+
...re(),
|
|
1640
1640
|
"none",
|
|
1641
1641
|
"hidden"
|
|
1642
1642
|
] }],
|
|
1643
1643
|
"outline-offset": [{ "outline-offset": [
|
|
1644
|
-
|
|
1644
|
+
H,
|
|
1645
1645
|
W,
|
|
1646
1646
|
U
|
|
1647
1647
|
] }],
|
|
1648
1648
|
"outline-w": [{ outline: [
|
|
1649
1649
|
"",
|
|
1650
|
-
|
|
1650
|
+
H,
|
|
1651
1651
|
qt,
|
|
1652
1652
|
Bt
|
|
1653
1653
|
] }],
|
|
1654
|
-
"outline-color": [{ outline:
|
|
1654
|
+
"outline-color": [{ outline: I() }],
|
|
1655
1655
|
shadow: [{ shadow: [
|
|
1656
1656
|
"",
|
|
1657
1657
|
"none",
|
|
@@ -1659,39 +1659,39 @@ var He = (e, t) => {
|
|
|
1659
1659
|
Qt,
|
|
1660
1660
|
Kt
|
|
1661
1661
|
] }],
|
|
1662
|
-
"shadow-color": [{ shadow:
|
|
1662
|
+
"shadow-color": [{ shadow: I() }],
|
|
1663
1663
|
"inset-shadow": [{ "inset-shadow": [
|
|
1664
1664
|
"none",
|
|
1665
1665
|
d,
|
|
1666
1666
|
Qt,
|
|
1667
1667
|
Kt
|
|
1668
1668
|
] }],
|
|
1669
|
-
"inset-shadow-color": [{ "inset-shadow":
|
|
1670
|
-
"ring-w": [{ ring:
|
|
1669
|
+
"inset-shadow-color": [{ "inset-shadow": I() }],
|
|
1670
|
+
"ring-w": [{ ring: z() }],
|
|
1671
1671
|
"ring-w-inset": ["ring-inset"],
|
|
1672
|
-
"ring-color": [{ ring:
|
|
1673
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1674
|
-
"ring-offset-color": [{ "ring-offset":
|
|
1675
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1676
|
-
"inset-ring-color": [{ "inset-ring":
|
|
1672
|
+
"ring-color": [{ ring: I() }],
|
|
1673
|
+
"ring-offset-w": [{ "ring-offset": [H, Bt] }],
|
|
1674
|
+
"ring-offset-color": [{ "ring-offset": I() }],
|
|
1675
|
+
"inset-ring-w": [{ "inset-ring": z() }],
|
|
1676
|
+
"inset-ring-color": [{ "inset-ring": I() }],
|
|
1677
1677
|
"text-shadow": [{ "text-shadow": [
|
|
1678
1678
|
"none",
|
|
1679
1679
|
f,
|
|
1680
1680
|
Qt,
|
|
1681
1681
|
Kt
|
|
1682
1682
|
] }],
|
|
1683
|
-
"text-shadow-color": [{ "text-shadow":
|
|
1683
|
+
"text-shadow-color": [{ "text-shadow": I() }],
|
|
1684
1684
|
opacity: [{ opacity: [
|
|
1685
|
-
|
|
1685
|
+
H,
|
|
1686
1686
|
W,
|
|
1687
1687
|
U
|
|
1688
1688
|
] }],
|
|
1689
1689
|
"mix-blend": [{ "mix-blend": [
|
|
1690
|
-
...
|
|
1690
|
+
...ie(),
|
|
1691
1691
|
"plus-darker",
|
|
1692
1692
|
"plus-lighter"
|
|
1693
1693
|
] }],
|
|
1694
|
-
"bg-blend": [{ "bg-blend":
|
|
1694
|
+
"bg-blend": [{ "bg-blend": ie() }],
|
|
1695
1695
|
"mask-clip": [{ "mask-clip": [
|
|
1696
1696
|
"border",
|
|
1697
1697
|
"padding",
|
|
@@ -1706,51 +1706,51 @@ var He = (e, t) => {
|
|
|
1706
1706
|
"intersect",
|
|
1707
1707
|
"exclude"
|
|
1708
1708
|
] }],
|
|
1709
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1710
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1711
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1712
|
-
"mask-image-linear-from-color": [{ "mask-linear-from":
|
|
1713
|
-
"mask-image-linear-to-color": [{ "mask-linear-to":
|
|
1714
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1715
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1716
|
-
"mask-image-t-from-color": [{ "mask-t-from":
|
|
1717
|
-
"mask-image-t-to-color": [{ "mask-t-to":
|
|
1718
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1719
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1720
|
-
"mask-image-r-from-color": [{ "mask-r-from":
|
|
1721
|
-
"mask-image-r-to-color": [{ "mask-r-to":
|
|
1722
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1723
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1724
|
-
"mask-image-b-from-color": [{ "mask-b-from":
|
|
1725
|
-
"mask-image-b-to-color": [{ "mask-b-to":
|
|
1726
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1727
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1728
|
-
"mask-image-l-from-color": [{ "mask-l-from":
|
|
1729
|
-
"mask-image-l-to-color": [{ "mask-l-to":
|
|
1730
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1731
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1732
|
-
"mask-image-x-from-color": [{ "mask-x-from":
|
|
1733
|
-
"mask-image-x-to-color": [{ "mask-x-to":
|
|
1734
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1735
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1736
|
-
"mask-image-y-from-color": [{ "mask-y-from":
|
|
1737
|
-
"mask-image-y-to-color": [{ "mask-y-to":
|
|
1709
|
+
"mask-image-linear-pos": [{ "mask-linear": [H] }],
|
|
1710
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": B() }],
|
|
1711
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": B() }],
|
|
1712
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": I() }],
|
|
1713
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": I() }],
|
|
1714
|
+
"mask-image-t-from-pos": [{ "mask-t-from": B() }],
|
|
1715
|
+
"mask-image-t-to-pos": [{ "mask-t-to": B() }],
|
|
1716
|
+
"mask-image-t-from-color": [{ "mask-t-from": I() }],
|
|
1717
|
+
"mask-image-t-to-color": [{ "mask-t-to": I() }],
|
|
1718
|
+
"mask-image-r-from-pos": [{ "mask-r-from": B() }],
|
|
1719
|
+
"mask-image-r-to-pos": [{ "mask-r-to": B() }],
|
|
1720
|
+
"mask-image-r-from-color": [{ "mask-r-from": I() }],
|
|
1721
|
+
"mask-image-r-to-color": [{ "mask-r-to": I() }],
|
|
1722
|
+
"mask-image-b-from-pos": [{ "mask-b-from": B() }],
|
|
1723
|
+
"mask-image-b-to-pos": [{ "mask-b-to": B() }],
|
|
1724
|
+
"mask-image-b-from-color": [{ "mask-b-from": I() }],
|
|
1725
|
+
"mask-image-b-to-color": [{ "mask-b-to": I() }],
|
|
1726
|
+
"mask-image-l-from-pos": [{ "mask-l-from": B() }],
|
|
1727
|
+
"mask-image-l-to-pos": [{ "mask-l-to": B() }],
|
|
1728
|
+
"mask-image-l-from-color": [{ "mask-l-from": I() }],
|
|
1729
|
+
"mask-image-l-to-color": [{ "mask-l-to": I() }],
|
|
1730
|
+
"mask-image-x-from-pos": [{ "mask-x-from": B() }],
|
|
1731
|
+
"mask-image-x-to-pos": [{ "mask-x-to": B() }],
|
|
1732
|
+
"mask-image-x-from-color": [{ "mask-x-from": I() }],
|
|
1733
|
+
"mask-image-x-to-color": [{ "mask-x-to": I() }],
|
|
1734
|
+
"mask-image-y-from-pos": [{ "mask-y-from": B() }],
|
|
1735
|
+
"mask-image-y-to-pos": [{ "mask-y-to": B() }],
|
|
1736
|
+
"mask-image-y-from-color": [{ "mask-y-from": I() }],
|
|
1737
|
+
"mask-image-y-to-color": [{ "mask-y-to": I() }],
|
|
1738
1738
|
"mask-image-radial": [{ "mask-radial": [W, U] }],
|
|
1739
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1740
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1741
|
-
"mask-image-radial-from-color": [{ "mask-radial-from":
|
|
1742
|
-
"mask-image-radial-to-color": [{ "mask-radial-to":
|
|
1739
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": B() }],
|
|
1740
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": B() }],
|
|
1741
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": I() }],
|
|
1742
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": I() }],
|
|
1743
1743
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1744
1744
|
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1745
1745
|
closest: ["side", "corner"],
|
|
1746
1746
|
farthest: ["side", "corner"]
|
|
1747
1747
|
}] }],
|
|
1748
1748
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1749
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1750
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1751
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1752
|
-
"mask-image-conic-from-color": [{ "mask-conic-from":
|
|
1753
|
-
"mask-image-conic-to-color": [{ "mask-conic-to":
|
|
1749
|
+
"mask-image-conic-pos": [{ "mask-conic": [H] }],
|
|
1750
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": B() }],
|
|
1751
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": B() }],
|
|
1752
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": I() }],
|
|
1753
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": I() }],
|
|
1754
1754
|
"mask-mode": [{ mask: [
|
|
1755
1755
|
"alpha",
|
|
1756
1756
|
"luminance",
|
|
@@ -1764,9 +1764,9 @@ var He = (e, t) => {
|
|
|
1764
1764
|
"stroke",
|
|
1765
1765
|
"view"
|
|
1766
1766
|
] }],
|
|
1767
|
-
"mask-position": [{ mask:
|
|
1768
|
-
"mask-repeat": [{ mask:
|
|
1769
|
-
"mask-size": [{ mask:
|
|
1767
|
+
"mask-position": [{ mask: ee() }],
|
|
1768
|
+
"mask-repeat": [{ mask: te() }],
|
|
1769
|
+
"mask-size": [{ mask: L() }],
|
|
1770
1770
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1771
1771
|
"mask-image": [{ mask: [
|
|
1772
1772
|
"none",
|
|
@@ -1779,14 +1779,14 @@ var He = (e, t) => {
|
|
|
1779
1779
|
W,
|
|
1780
1780
|
U
|
|
1781
1781
|
] }],
|
|
1782
|
-
blur: [{ blur:
|
|
1782
|
+
blur: [{ blur: ae() }],
|
|
1783
1783
|
brightness: [{ brightness: [
|
|
1784
|
-
|
|
1784
|
+
H,
|
|
1785
1785
|
W,
|
|
1786
1786
|
U
|
|
1787
1787
|
] }],
|
|
1788
1788
|
contrast: [{ contrast: [
|
|
1789
|
-
|
|
1789
|
+
H,
|
|
1790
1790
|
W,
|
|
1791
1791
|
U
|
|
1792
1792
|
] }],
|
|
@@ -1797,32 +1797,32 @@ var He = (e, t) => {
|
|
|
1797
1797
|
Qt,
|
|
1798
1798
|
Kt
|
|
1799
1799
|
] }],
|
|
1800
|
-
"drop-shadow-color": [{ "drop-shadow":
|
|
1800
|
+
"drop-shadow-color": [{ "drop-shadow": I() }],
|
|
1801
1801
|
grayscale: [{ grayscale: [
|
|
1802
1802
|
"",
|
|
1803
|
-
|
|
1803
|
+
H,
|
|
1804
1804
|
W,
|
|
1805
1805
|
U
|
|
1806
1806
|
] }],
|
|
1807
1807
|
"hue-rotate": [{ "hue-rotate": [
|
|
1808
|
-
|
|
1808
|
+
H,
|
|
1809
1809
|
W,
|
|
1810
1810
|
U
|
|
1811
1811
|
] }],
|
|
1812
1812
|
invert: [{ invert: [
|
|
1813
1813
|
"",
|
|
1814
|
-
|
|
1814
|
+
H,
|
|
1815
1815
|
W,
|
|
1816
1816
|
U
|
|
1817
1817
|
] }],
|
|
1818
1818
|
saturate: [{ saturate: [
|
|
1819
|
-
|
|
1819
|
+
H,
|
|
1820
1820
|
W,
|
|
1821
1821
|
U
|
|
1822
1822
|
] }],
|
|
1823
1823
|
sepia: [{ sepia: [
|
|
1824
1824
|
"",
|
|
1825
|
-
|
|
1825
|
+
H,
|
|
1826
1826
|
W,
|
|
1827
1827
|
U
|
|
1828
1828
|
] }],
|
|
@@ -1832,47 +1832,47 @@ var He = (e, t) => {
|
|
|
1832
1832
|
W,
|
|
1833
1833
|
U
|
|
1834
1834
|
] }],
|
|
1835
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1835
|
+
"backdrop-blur": [{ "backdrop-blur": ae() }],
|
|
1836
1836
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1837
|
-
|
|
1837
|
+
H,
|
|
1838
1838
|
W,
|
|
1839
1839
|
U
|
|
1840
1840
|
] }],
|
|
1841
1841
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1842
|
-
|
|
1842
|
+
H,
|
|
1843
1843
|
W,
|
|
1844
1844
|
U
|
|
1845
1845
|
] }],
|
|
1846
1846
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1847
1847
|
"",
|
|
1848
|
-
|
|
1848
|
+
H,
|
|
1849
1849
|
W,
|
|
1850
1850
|
U
|
|
1851
1851
|
] }],
|
|
1852
1852
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1853
|
-
|
|
1853
|
+
H,
|
|
1854
1854
|
W,
|
|
1855
1855
|
U
|
|
1856
1856
|
] }],
|
|
1857
1857
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1858
1858
|
"",
|
|
1859
|
-
|
|
1859
|
+
H,
|
|
1860
1860
|
W,
|
|
1861
1861
|
U
|
|
1862
1862
|
] }],
|
|
1863
1863
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1864
|
-
|
|
1864
|
+
H,
|
|
1865
1865
|
W,
|
|
1866
1866
|
U
|
|
1867
1867
|
] }],
|
|
1868
1868
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1869
|
-
|
|
1869
|
+
H,
|
|
1870
1870
|
W,
|
|
1871
1871
|
U
|
|
1872
1872
|
] }],
|
|
1873
1873
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1874
1874
|
"",
|
|
1875
|
-
|
|
1875
|
+
H,
|
|
1876
1876
|
W,
|
|
1877
1877
|
U
|
|
1878
1878
|
] }],
|
|
@@ -1895,7 +1895,7 @@ var He = (e, t) => {
|
|
|
1895
1895
|
] }],
|
|
1896
1896
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1897
1897
|
duration: [{ duration: [
|
|
1898
|
-
|
|
1898
|
+
H,
|
|
1899
1899
|
"initial",
|
|
1900
1900
|
W,
|
|
1901
1901
|
U
|
|
@@ -1908,7 +1908,7 @@ var He = (e, t) => {
|
|
|
1908
1908
|
U
|
|
1909
1909
|
] }],
|
|
1910
1910
|
delay: [{ delay: [
|
|
1911
|
-
|
|
1911
|
+
H,
|
|
1912
1912
|
W,
|
|
1913
1913
|
U
|
|
1914
1914
|
] }],
|
|
@@ -1925,18 +1925,18 @@ var He = (e, t) => {
|
|
|
1925
1925
|
U
|
|
1926
1926
|
] }],
|
|
1927
1927
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1928
|
-
rotate: [{ rotate:
|
|
1929
|
-
"rotate-x": [{ "rotate-x":
|
|
1930
|
-
"rotate-y": [{ "rotate-y":
|
|
1931
|
-
"rotate-z": [{ "rotate-z":
|
|
1932
|
-
scale: [{ scale:
|
|
1933
|
-
"scale-x": [{ "scale-x":
|
|
1934
|
-
"scale-y": [{ "scale-y":
|
|
1935
|
-
"scale-z": [{ "scale-z":
|
|
1928
|
+
rotate: [{ rotate: oe() }],
|
|
1929
|
+
"rotate-x": [{ "rotate-x": oe() }],
|
|
1930
|
+
"rotate-y": [{ "rotate-y": oe() }],
|
|
1931
|
+
"rotate-z": [{ "rotate-z": oe() }],
|
|
1932
|
+
scale: [{ scale: se() }],
|
|
1933
|
+
"scale-x": [{ "scale-x": se() }],
|
|
1934
|
+
"scale-y": [{ "scale-y": se() }],
|
|
1935
|
+
"scale-z": [{ "scale-z": se() }],
|
|
1936
1936
|
"scale-3d": ["scale-3d"],
|
|
1937
|
-
skew: [{ skew:
|
|
1938
|
-
"skew-x": [{ "skew-x":
|
|
1939
|
-
"skew-y": [{ "skew-y":
|
|
1937
|
+
skew: [{ skew: ce() }],
|
|
1938
|
+
"skew-x": [{ "skew-x": ce() }],
|
|
1939
|
+
"skew-y": [{ "skew-y": ce() }],
|
|
1940
1940
|
transform: [{ transform: [
|
|
1941
1941
|
W,
|
|
1942
1942
|
U,
|
|
@@ -1947,19 +1947,19 @@ var He = (e, t) => {
|
|
|
1947
1947
|
] }],
|
|
1948
1948
|
"transform-origin": [{ origin: x() }],
|
|
1949
1949
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1950
|
-
translate: [{ translate:
|
|
1951
|
-
"translate-x": [{ "translate-x":
|
|
1952
|
-
"translate-y": [{ "translate-y":
|
|
1953
|
-
"translate-z": [{ "translate-z":
|
|
1950
|
+
translate: [{ translate: le() }],
|
|
1951
|
+
"translate-x": [{ "translate-x": le() }],
|
|
1952
|
+
"translate-y": [{ "translate-y": le() }],
|
|
1953
|
+
"translate-z": [{ "translate-z": le() }],
|
|
1954
1954
|
"translate-none": ["translate-none"],
|
|
1955
1955
|
zoom: [{ zoom: [
|
|
1956
|
-
|
|
1956
|
+
kt,
|
|
1957
1957
|
W,
|
|
1958
1958
|
U
|
|
1959
1959
|
] }],
|
|
1960
|
-
accent: [{ accent:
|
|
1960
|
+
accent: [{ accent: I() }],
|
|
1961
1961
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
1962
|
-
"caret-color": [{ caret:
|
|
1962
|
+
"caret-color": [{ caret: I() }],
|
|
1963
1963
|
"color-scheme": [{ scheme: [
|
|
1964
1964
|
"normal",
|
|
1965
1965
|
"dark",
|
|
@@ -2017,8 +2017,8 @@ var He = (e, t) => {
|
|
|
2017
2017
|
"x"
|
|
2018
2018
|
] }],
|
|
2019
2019
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
2020
|
-
"scrollbar-thumb-color": [{ "scrollbar-thumb":
|
|
2021
|
-
"scrollbar-track-color": [{ "scrollbar-track":
|
|
2020
|
+
"scrollbar-thumb-color": [{ "scrollbar-thumb": I() }],
|
|
2021
|
+
"scrollbar-track-color": [{ "scrollbar-track": I() }],
|
|
2022
2022
|
"scrollbar-gutter": [{ "scrollbar-gutter": [
|
|
2023
2023
|
"auto",
|
|
2024
2024
|
"stable",
|
|
@@ -2095,14 +2095,14 @@ var He = (e, t) => {
|
|
|
2095
2095
|
W,
|
|
2096
2096
|
U
|
|
2097
2097
|
] }],
|
|
2098
|
-
fill: [{ fill: ["none", ...
|
|
2098
|
+
fill: [{ fill: ["none", ...I()] }],
|
|
2099
2099
|
"stroke-w": [{ stroke: [
|
|
2100
|
-
|
|
2100
|
+
H,
|
|
2101
2101
|
qt,
|
|
2102
2102
|
Bt,
|
|
2103
2103
|
Vt
|
|
2104
2104
|
] }],
|
|
2105
|
-
stroke: [{ stroke: ["none", ...
|
|
2105
|
+
stroke: [{ stroke: ["none", ...I()] }],
|
|
2106
2106
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
2107
2107
|
},
|
|
2108
2108
|
conflictingClassGroups: {
|
|
@@ -2292,35 +2292,35 @@ var He = (e, t) => {
|
|
|
2292
2292
|
//#endregion
|
|
2293
2293
|
//#region src/utils/cn.ts
|
|
2294
2294
|
function G(...e) {
|
|
2295
|
-
return dn(
|
|
2295
|
+
return dn(Be(e));
|
|
2296
2296
|
}
|
|
2297
2297
|
//#endregion
|
|
2298
2298
|
//#region src/ui/components/Tabs.tsx
|
|
2299
|
-
var fn =
|
|
2299
|
+
var fn = ke, pn = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(Me, {
|
|
2300
2300
|
ref: r,
|
|
2301
2301
|
className: G("inline-flex h-10 items-center justify-center rounded-md bg-muted !p-1 text-muted-foreground", t),
|
|
2302
2302
|
...n
|
|
2303
2303
|
}));
|
|
2304
|
-
pn.displayName =
|
|
2305
|
-
var K = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
2304
|
+
pn.displayName = Me.displayName;
|
|
2305
|
+
var K = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(Re, {
|
|
2306
2306
|
ref: r,
|
|
2307
2307
|
className: G("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3! py-1.5! text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden cursor-pointer focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-xs", t),
|
|
2308
2308
|
...n
|
|
2309
2309
|
}));
|
|
2310
|
-
K.displayName =
|
|
2311
|
-
var q = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
2310
|
+
K.displayName = Re.displayName;
|
|
2311
|
+
var q = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(Pe, {
|
|
2312
2312
|
ref: r,
|
|
2313
2313
|
className: G("mt-2 ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", t),
|
|
2314
2314
|
...n
|
|
2315
2315
|
}));
|
|
2316
|
-
q.displayName =
|
|
2316
|
+
q.displayName = Pe.displayName;
|
|
2317
2317
|
//#endregion
|
|
2318
2318
|
//#region ../../node_modules/@huin-core/react-portal/dist/index.mjs
|
|
2319
2319
|
var mn = "Portal", hn = e.forwardRef((t, n) => {
|
|
2320
2320
|
let { container: r, ...i } = t, [a, o] = e.useState(!1);
|
|
2321
|
-
|
|
2321
|
+
O(() => o(!0), []);
|
|
2322
2322
|
let s = r || a && globalThis?.document?.body;
|
|
2323
|
-
return s ? p.createPortal(/* @__PURE__ */ e.createElement(
|
|
2323
|
+
return s ? p.createPortal(/* @__PURE__ */ e.createElement(M.div, {
|
|
2324
2324
|
...i,
|
|
2325
2325
|
ref: n
|
|
2326
2326
|
}), s) : null;
|
|
@@ -2858,7 +2858,7 @@ var wr = function(e) {
|
|
|
2858
2858
|
//#endregion
|
|
2859
2859
|
//#region ../../node_modules/@huin-core/react-use-escape-keydown/dist/index.mjs
|
|
2860
2860
|
function Nr(t, n = globalThis?.document) {
|
|
2861
|
-
let r =
|
|
2861
|
+
let r = P(t);
|
|
2862
2862
|
e.useEffect(() => {
|
|
2863
2863
|
let e = (e) => {
|
|
2864
2864
|
e.key === "Escape" && r(e);
|
|
@@ -2896,7 +2896,7 @@ var Pr = "DismissableLayer", Fr = "dismissableLayer.update", Ir = "dismissableLa
|
|
|
2896
2896
|
}, [d, u]), e.useEffect(() => {
|
|
2897
2897
|
let e = () => m({});
|
|
2898
2898
|
return document.addEventListener(Fr, e), () => document.removeEventListener(Fr, e);
|
|
2899
|
-
}, []), /* @__PURE__ */ e.createElement(
|
|
2899
|
+
}, []), /* @__PURE__ */ e.createElement(M.div, {
|
|
2900
2900
|
...l,
|
|
2901
2901
|
ref: h,
|
|
2902
2902
|
style: {
|
|
@@ -2916,14 +2916,14 @@ var Vr = "DismissableLayerBranch", Hr = e.forwardRef((t, n) => {
|
|
|
2916
2916
|
if (e) return r.branches.add(e), () => {
|
|
2917
2917
|
r.branches.delete(e);
|
|
2918
2918
|
};
|
|
2919
|
-
}, [r.branches]), /* @__PURE__ */ e.createElement(
|
|
2919
|
+
}, [r.branches]), /* @__PURE__ */ e.createElement(M.div, {
|
|
2920
2920
|
...t,
|
|
2921
2921
|
ref: a
|
|
2922
2922
|
});
|
|
2923
2923
|
});
|
|
2924
2924
|
Hr.displayName = Vr;
|
|
2925
2925
|
function Ur(t, n = globalThis?.document) {
|
|
2926
|
-
let r =
|
|
2926
|
+
let r = P(t), i = e.useRef(!1), a = e.useRef(() => {});
|
|
2927
2927
|
return e.useEffect(() => {
|
|
2928
2928
|
let e = (e) => {
|
|
2929
2929
|
if (e.target && !i.current) {
|
|
@@ -2942,7 +2942,7 @@ function Ur(t, n = globalThis?.document) {
|
|
|
2942
2942
|
}, [n, r]), { onPointerDownCapture: () => i.current = !0 };
|
|
2943
2943
|
}
|
|
2944
2944
|
function Wr(t, n = globalThis?.document) {
|
|
2945
|
-
let r =
|
|
2945
|
+
let r = P(t), i = e.useRef(!1);
|
|
2946
2946
|
return e.useEffect(() => {
|
|
2947
2947
|
let e = (e) => {
|
|
2948
2948
|
e.target && !i.current && Kr(Lr, r, { originalEvent: e }, { discrete: !1 });
|
|
@@ -2963,7 +2963,7 @@ function Kr(e, t, n, { discrete: r }) {
|
|
|
2963
2963
|
cancelable: !0,
|
|
2964
2964
|
detail: n
|
|
2965
2965
|
});
|
|
2966
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
2966
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? N(i, a) : i.dispatchEvent(a);
|
|
2967
2967
|
}
|
|
2968
2968
|
//#endregion
|
|
2969
2969
|
//#region ../../node_modules/@huin-core/react-focus-scope/dist/index.mjs
|
|
@@ -2971,7 +2971,7 @@ var qr = "focusScope.autoFocusOnMount", Jr = "focusScope.autoFocusOnUnmount", Yr
|
|
|
2971
2971
|
bubbles: !1,
|
|
2972
2972
|
cancelable: !0
|
|
2973
2973
|
}, Xr = "FocusScope", Zr = e.forwardRef((t, n) => {
|
|
2974
|
-
let { loop: r = !1, trapped: i = !1, onMountAutoFocus: a, onUnmountAutoFocus: o, ...s } = t, [c, l] = e.useState(null), u =
|
|
2974
|
+
let { loop: r = !1, trapped: i = !1, onMountAutoFocus: a, onUnmountAutoFocus: o, ...s } = t, [c, l] = e.useState(null), u = P(a), d = P(o), f = e.useRef(null), p = b(n, (e) => l(e)), m = e.useRef({
|
|
2975
2975
|
paused: !1,
|
|
2976
2976
|
pause() {
|
|
2977
2977
|
this.paused = !0;
|
|
@@ -3039,7 +3039,7 @@ var qr = "focusScope.autoFocusOnMount", Jr = "focusScope.autoFocusOnUnmount", Yr
|
|
|
3039
3039
|
i,
|
|
3040
3040
|
m.paused
|
|
3041
3041
|
]);
|
|
3042
|
-
return /* @__PURE__ */ e.createElement(
|
|
3042
|
+
return /* @__PURE__ */ e.createElement(M.div, {
|
|
3043
3043
|
tabIndex: -1,
|
|
3044
3044
|
...s,
|
|
3045
3045
|
ref: p,
|
|
@@ -3122,7 +3122,7 @@ function di() {
|
|
|
3122
3122
|
//#endregion
|
|
3123
3123
|
//#region ../../node_modules/@huin-core/react-dialog/dist/index.mjs
|
|
3124
3124
|
var fi = "Dialog", [pi, mi] = h(fi), [hi, Y] = pi(fi), gi = (t) => {
|
|
3125
|
-
let { __scopeDialog: n, children: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = t, c = e.useRef(null), l = e.useRef(null), [u = !1, d] =
|
|
3125
|
+
let { __scopeDialog: n, children: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = t, c = e.useRef(null), l = e.useRef(null), [u = !1, d] = F({
|
|
3126
3126
|
prop: i,
|
|
3127
3127
|
defaultProp: a,
|
|
3128
3128
|
onChange: o
|
|
@@ -3131,9 +3131,9 @@ var fi = "Dialog", [pi, mi] = h(fi), [hi, Y] = pi(fi), gi = (t) => {
|
|
|
3131
3131
|
scope: n,
|
|
3132
3132
|
triggerRef: c,
|
|
3133
3133
|
contentRef: l,
|
|
3134
|
-
contentId:
|
|
3135
|
-
titleId:
|
|
3136
|
-
descriptionId:
|
|
3134
|
+
contentId: j(),
|
|
3135
|
+
titleId: j(),
|
|
3136
|
+
descriptionId: j(),
|
|
3137
3137
|
open: u,
|
|
3138
3138
|
onOpenChange: d,
|
|
3139
3139
|
onOpenToggle: e.useCallback(() => d((e) => !e), [d]),
|
|
@@ -3146,7 +3146,7 @@ function _i(e) {
|
|
|
3146
3146
|
}
|
|
3147
3147
|
var vi = gi, yi = "DialogTrigger", bi = t.forwardRef((e, n) => {
|
|
3148
3148
|
let { __scopeDialog: r, ...i } = e, a = Y(yi, r), o = b(n, a.triggerRef);
|
|
3149
|
-
return /* @__PURE__ */ t.createElement(
|
|
3149
|
+
return /* @__PURE__ */ t.createElement(M.button, {
|
|
3150
3150
|
type: "button",
|
|
3151
3151
|
"aria-haspopup": "dialog",
|
|
3152
3152
|
"aria-expanded": a.open,
|
|
@@ -3163,7 +3163,7 @@ var xi = "DialogPortal", [Si] = h(fi), [Ci, wi] = Si(xi, { forceMount: void 0 })
|
|
|
3163
3163
|
return /* @__PURE__ */ t.createElement(Ci, {
|
|
3164
3164
|
scope: n,
|
|
3165
3165
|
forceMount: r
|
|
3166
|
-
}, t.Children.map(i, (e) => /* @__PURE__ */ t.createElement(
|
|
3166
|
+
}, t.Children.map(i, (e) => /* @__PURE__ */ t.createElement(be, { present: r || o.open }, /* @__PURE__ */ t.createElement(hn, {
|
|
3167
3167
|
asChild: !0,
|
|
3168
3168
|
container: a
|
|
3169
3169
|
}, e))));
|
|
@@ -3171,7 +3171,7 @@ var xi = "DialogPortal", [Si] = h(fi), [Ci, wi] = Si(xi, { forceMount: void 0 })
|
|
|
3171
3171
|
Ti.displayName = xi;
|
|
3172
3172
|
var Ei = "DialogOverlay", Di = t.forwardRef((e, n) => {
|
|
3173
3173
|
let r = wi(Ei, e.__scopeDialog), { forceMount: i = r.forceMount, ...a } = e, o = Y(Ei, e.__scopeDialog);
|
|
3174
|
-
return o.modal ? /* @__PURE__ */ t.createElement(
|
|
3174
|
+
return o.modal ? /* @__PURE__ */ t.createElement(be, { present: i || o.open }, /* @__PURE__ */ t.createElement(Oi, {
|
|
3175
3175
|
...a,
|
|
3176
3176
|
ref: n
|
|
3177
3177
|
})) : null;
|
|
@@ -3183,7 +3183,7 @@ var Oi = t.forwardRef((e, n) => {
|
|
|
3183
3183
|
as: x,
|
|
3184
3184
|
allowPinchZoom: !0,
|
|
3185
3185
|
shards: [a.contentRef]
|
|
3186
|
-
}, /* @__PURE__ */ t.createElement(
|
|
3186
|
+
}, /* @__PURE__ */ t.createElement(M.div, {
|
|
3187
3187
|
"data-state": _i(a.open),
|
|
3188
3188
|
...i,
|
|
3189
3189
|
ref: n,
|
|
@@ -3194,7 +3194,7 @@ var Oi = t.forwardRef((e, n) => {
|
|
|
3194
3194
|
}));
|
|
3195
3195
|
}), ki = "DialogTitle", Ai = t.forwardRef((e, n) => {
|
|
3196
3196
|
let { __scopeDialog: r, ...i } = e, a = Y(ki, r);
|
|
3197
|
-
return /* @__PURE__ */ t.createElement(
|
|
3197
|
+
return /* @__PURE__ */ t.createElement(M.h2, {
|
|
3198
3198
|
id: a.titleId,
|
|
3199
3199
|
...i,
|
|
3200
3200
|
ref: n
|
|
@@ -3203,7 +3203,7 @@ var Oi = t.forwardRef((e, n) => {
|
|
|
3203
3203
|
Ai.displayName = ki;
|
|
3204
3204
|
var ji = "DialogContent", Mi = t.forwardRef((e, n) => {
|
|
3205
3205
|
let r = wi(ji, e.__scopeDialog), { forceMount: i = r.forceMount, ...a } = e, o = Y(ji, e.__scopeDialog);
|
|
3206
|
-
return /* @__PURE__ */ t.createElement(
|
|
3206
|
+
return /* @__PURE__ */ t.createElement(be, { present: i || o.open }, o.modal ? /* @__PURE__ */ t.createElement(Ni, {
|
|
3207
3207
|
...a,
|
|
3208
3208
|
ref: n
|
|
3209
3209
|
}) : /* @__PURE__ */ t.createElement(Pi, {
|
|
@@ -3293,7 +3293,7 @@ For more information, see https://huinhub.com/primitives/docs/components/${n.doc
|
|
|
3293
3293
|
]), null;
|
|
3294
3294
|
}, Hi = "DialogDescription", Ui = t.forwardRef((e, n) => {
|
|
3295
3295
|
let { __scopeDialog: r, className: i, ...a } = e, o = Y(Hi, r);
|
|
3296
|
-
return /* @__PURE__ */ t.createElement(
|
|
3296
|
+
return /* @__PURE__ */ t.createElement(M.p, {
|
|
3297
3297
|
id: o.descriptionId,
|
|
3298
3298
|
...a,
|
|
3299
3299
|
ref: n
|
|
@@ -3302,7 +3302,7 @@ For more information, see https://huinhub.com/primitives/docs/components/${n.doc
|
|
|
3302
3302
|
Ui.displayName = Hi;
|
|
3303
3303
|
var Wi = "DialogClose", Gi = t.forwardRef((e, n) => {
|
|
3304
3304
|
let { __scopeDialog: r, ...i } = e, a = Y(Wi, r);
|
|
3305
|
-
return /* @__PURE__ */ t.createElement(
|
|
3305
|
+
return /* @__PURE__ */ t.createElement(M.button, {
|
|
3306
3306
|
type: "button",
|
|
3307
3307
|
...i,
|
|
3308
3308
|
ref: n,
|
|
@@ -3312,7 +3312,7 @@ var Wi = "DialogClose", Gi = t.forwardRef((e, n) => {
|
|
|
3312
3312
|
Gi.displayName = Wi;
|
|
3313
3313
|
//#endregion
|
|
3314
3314
|
//#region ../../node_modules/class-variance-authority/dist/index.mjs
|
|
3315
|
-
var Ki = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, qi =
|
|
3315
|
+
var Ki = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, qi = Be, Ji = (e, t) => (n) => {
|
|
3316
3316
|
if (t?.variants == null) return qi(e, n?.class, n?.className);
|
|
3317
3317
|
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
3318
3318
|
let t = n?.[e], a = i?.[e];
|
|
@@ -3362,7 +3362,7 @@ var Ki = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, qi = Ve, Ji
|
|
|
3362
3362
|
size: "default"
|
|
3363
3363
|
}
|
|
3364
3364
|
}), Xi = e.forwardRef(({ asChild: t = !1, variant: n, size: r, className: i, ...a }, o) => {
|
|
3365
|
-
let s = t ? x :
|
|
3365
|
+
let s = t ? x : M.button;
|
|
3366
3366
|
return /* @__PURE__ */ e.createElement(s, {
|
|
3367
3367
|
ref: o,
|
|
3368
3368
|
className: G(Yi({
|
|
@@ -3547,7 +3547,7 @@ var oa = (e) => {
|
|
|
3547
3547
|
}
|
|
3548
3548
|
return /* @__PURE__ */ t.createElement("span", null, String(e));
|
|
3549
3549
|
}, ma = "Collapsible", [ha, ga] = h(ma), [_a, va] = ha(ma), ya = e.forwardRef((t, n) => {
|
|
3550
|
-
let { __scopeCollapsible: r, open: i, defaultOpen: a, disabled: o, onOpenChange: s, ...c } = t, [l = !1, u] =
|
|
3550
|
+
let { __scopeCollapsible: r, open: i, defaultOpen: a, disabled: o, onOpenChange: s, ...c } = t, [l = !1, u] = F({
|
|
3551
3551
|
prop: i,
|
|
3552
3552
|
defaultProp: a,
|
|
3553
3553
|
onChange: s
|
|
@@ -3555,10 +3555,10 @@ var oa = (e) => {
|
|
|
3555
3555
|
return /* @__PURE__ */ e.createElement(_a, {
|
|
3556
3556
|
scope: r,
|
|
3557
3557
|
disabled: o,
|
|
3558
|
-
contentId:
|
|
3558
|
+
contentId: j(),
|
|
3559
3559
|
open: l,
|
|
3560
3560
|
onOpenToggle: e.useCallback(() => u((e) => !e), [u])
|
|
3561
|
-
}, /* @__PURE__ */ e.createElement(
|
|
3561
|
+
}, /* @__PURE__ */ e.createElement(M.div, {
|
|
3562
3562
|
"data-state": ba(l),
|
|
3563
3563
|
"data-disabled": o ? "" : void 0,
|
|
3564
3564
|
...c,
|
|
@@ -3571,7 +3571,7 @@ function ba(e) {
|
|
|
3571
3571
|
}
|
|
3572
3572
|
var xa = ya, Sa = "CollapsibleTrigger", Ca = t.forwardRef((e, n) => {
|
|
3573
3573
|
let { __scopeCollapsible: r, ...i } = e, a = va(Sa, r);
|
|
3574
|
-
return /* @__PURE__ */ t.createElement(
|
|
3574
|
+
return /* @__PURE__ */ t.createElement(M.button, {
|
|
3575
3575
|
type: "button",
|
|
3576
3576
|
"aria-controls": a.contentId,
|
|
3577
3577
|
"aria-expanded": a.open || !1,
|
|
@@ -3586,7 +3586,7 @@ var xa = ya, Sa = "CollapsibleTrigger", Ca = t.forwardRef((e, n) => {
|
|
|
3586
3586
|
Ca.displayName = Sa;
|
|
3587
3587
|
var wa = "CollapsibleContent", Ta = t.forwardRef((e, n) => {
|
|
3588
3588
|
let { forceMount: r, ...i } = e, a = va(wa, e.__scopeCollapsible);
|
|
3589
|
-
return /* @__PURE__ */ t.createElement(
|
|
3589
|
+
return /* @__PURE__ */ t.createElement(be, { present: r || a.open }, ({ present: e }) => /* @__PURE__ */ t.createElement(Ea, {
|
|
3590
3590
|
...i,
|
|
3591
3591
|
ref: n,
|
|
3592
3592
|
present: e
|
|
@@ -3598,7 +3598,7 @@ var Ea = t.forwardRef((e, n) => {
|
|
|
3598
3598
|
return t.useEffect(() => {
|
|
3599
3599
|
let e = requestAnimationFrame(() => _.current = !1);
|
|
3600
3600
|
return () => cancelAnimationFrame(e);
|
|
3601
|
-
}, []),
|
|
3601
|
+
}, []), O(() => {
|
|
3602
3602
|
let e = u.current;
|
|
3603
3603
|
if (e) {
|
|
3604
3604
|
v.current = v.current || {
|
|
@@ -3608,7 +3608,7 @@ var Ea = t.forwardRef((e, n) => {
|
|
|
3608
3608
|
let t = e.getBoundingClientRect();
|
|
3609
3609
|
f.current = t.height, m.current = t.width, _.current || (e.style.transitionDuration = v.current.transitionDuration, e.style.animationName = v.current.animationName), l(i);
|
|
3610
3610
|
}
|
|
3611
|
-
}, [s.open, i]), /* @__PURE__ */ t.createElement(
|
|
3611
|
+
}, [s.open, i]), /* @__PURE__ */ t.createElement(M.div, {
|
|
3612
3612
|
"data-state": ba(s.open),
|
|
3613
3613
|
"data-disabled": s.disabled ? "" : void 0,
|
|
3614
3614
|
id: s.contentId,
|
|
@@ -3628,7 +3628,7 @@ var Ea = t.forwardRef((e, n) => {
|
|
|
3628
3628
|
"ArrowUp",
|
|
3629
3629
|
"ArrowLeft",
|
|
3630
3630
|
"ArrowRight"
|
|
3631
|
-
], [ka, Aa, ja] =
|
|
3631
|
+
], [ka, Aa, ja] = D(Da), [Ma, Na] = h(Da, [ja, ga]), Pa = ga(), Fa = t.forwardRef((e, n) => {
|
|
3632
3632
|
let { type: r, ...i } = e, a = i, o = i;
|
|
3633
3633
|
return /* @__PURE__ */ t.createElement(ka.Provider, { scope: e.__scopeAccordion }, r === "multiple" ? /* @__PURE__ */ t.createElement(Va, {
|
|
3634
3634
|
...o,
|
|
@@ -3640,7 +3640,7 @@ var Ea = t.forwardRef((e, n) => {
|
|
|
3640
3640
|
});
|
|
3641
3641
|
Fa.displayName = Da;
|
|
3642
3642
|
var [Ia, La] = Ma(Da), [Ra, za] = Ma(Da, { collapsible: !1 }), Ba = t.forwardRef((e, n) => {
|
|
3643
|
-
let { value: r, defaultValue: i, onValueChange: a = () => {}, collapsible: o = !1, ...s } = e, [c, l] =
|
|
3643
|
+
let { value: r, defaultValue: i, onValueChange: a = () => {}, collapsible: o = !1, ...s } = e, [c, l] = F({
|
|
3644
3644
|
prop: r,
|
|
3645
3645
|
defaultProp: i,
|
|
3646
3646
|
onChange: a
|
|
@@ -3658,7 +3658,7 @@ var [Ia, La] = Ma(Da), [Ra, za] = Ma(Da, { collapsible: !1 }), Ba = t.forwardRef
|
|
|
3658
3658
|
ref: n
|
|
3659
3659
|
})));
|
|
3660
3660
|
}), Va = t.forwardRef((e, n) => {
|
|
3661
|
-
let { value: r, defaultValue: i, onValueChange: a = () => {}, ...o } = e, [s = [], c] =
|
|
3661
|
+
let { value: r, defaultValue: i, onValueChange: a = () => {}, ...o } = e, [s = [], c] = F({
|
|
3662
3662
|
prop: r,
|
|
3663
3663
|
defaultProp: i,
|
|
3664
3664
|
onChange: a
|
|
@@ -3676,7 +3676,7 @@ var [Ia, La] = Ma(Da), [Ra, za] = Ma(Da, { collapsible: !1 }), Ba = t.forwardRef
|
|
|
3676
3676
|
ref: n
|
|
3677
3677
|
})));
|
|
3678
3678
|
}), [Ha, Ua] = Ma(Da), Wa = t.forwardRef((e, n) => {
|
|
3679
|
-
let { __scopeAccordion: r, disabled: i, dir: a, orientation: o = "vertical", ...s } = e, c = b(t.useRef(null), n), l = Aa(r), u =
|
|
3679
|
+
let { __scopeAccordion: r, disabled: i, dir: a, orientation: o = "vertical", ...s } = e, c = b(t.useRef(null), n), l = Aa(r), u = te(a) === "ltr", d = _(e.onKeyDown, (e) => {
|
|
3680
3680
|
if (!Oa.includes(e.key)) return;
|
|
3681
3681
|
let t = e.target, n = l().filter((e) => !e.ref.current?.disabled), r = n.findIndex((e) => e.ref.current === t), i = n.length;
|
|
3682
3682
|
if (r === -1) return;
|
|
@@ -3713,7 +3713,7 @@ var [Ia, La] = Ma(Da), [Ra, za] = Ma(Da, { collapsible: !1 }), Ba = t.forwardRef
|
|
|
3713
3713
|
disabled: i,
|
|
3714
3714
|
direction: a,
|
|
3715
3715
|
orientation: o
|
|
3716
|
-
}, /* @__PURE__ */ t.createElement(ka.Slot, { scope: r }, /* @__PURE__ */ t.createElement(
|
|
3716
|
+
}, /* @__PURE__ */ t.createElement(ka.Slot, { scope: r }, /* @__PURE__ */ t.createElement(M.div, {
|
|
3717
3717
|
...s,
|
|
3718
3718
|
"data-orientation": o,
|
|
3719
3719
|
ref: c,
|
|
@@ -3724,7 +3724,7 @@ function Ga(e) {
|
|
|
3724
3724
|
return e ? "open" : "closed";
|
|
3725
3725
|
}
|
|
3726
3726
|
var Ka = "AccordionItem", [qa, Ja] = Ma(Ka), Ya = t.forwardRef((e, n) => {
|
|
3727
|
-
let { __scopeAccordion: r, value: i, ...a } = e, o = Ua(Ka, r), s = La(Ka, r), c = Pa(r), l =
|
|
3727
|
+
let { __scopeAccordion: r, value: i, ...a } = e, o = Ua(Ka, r), s = La(Ka, r), c = Pa(r), l = j(), u = i && s.value.includes(i) || !1, d = o.disabled || e.disabled;
|
|
3728
3728
|
return /* @__PURE__ */ t.createElement(qa, {
|
|
3729
3729
|
scope: r,
|
|
3730
3730
|
open: u,
|
|
@@ -3746,7 +3746,7 @@ var Ka = "AccordionItem", [qa, Ja] = Ma(Ka), Ya = t.forwardRef((e, n) => {
|
|
|
3746
3746
|
Ya.displayName = Ka;
|
|
3747
3747
|
var Xa = "AccordionHeader", Za = t.forwardRef((e, n) => {
|
|
3748
3748
|
let { __scopeAccordion: r, ...i } = e, a = Ua(Da, r), o = Ja(Xa, r);
|
|
3749
|
-
return /* @__PURE__ */ t.createElement(
|
|
3749
|
+
return /* @__PURE__ */ t.createElement(M.h3, {
|
|
3750
3750
|
"data-orientation": a.orientation,
|
|
3751
3751
|
"data-state": Ga(o.open),
|
|
3752
3752
|
"data-disabled": o.disabled ? "" : void 0,
|
|
@@ -3893,23 +3893,84 @@ var bo = e.forwardRef(({ className: t, children: n, ...r }, i) => /* @__PURE__ *
|
|
|
3893
3893
|
}, /* @__PURE__ */ e.createElement("div", { className: G("pb-4 pt-0", t) }, n)));
|
|
3894
3894
|
bo.displayName = to.displayName;
|
|
3895
3895
|
//#endregion
|
|
3896
|
-
//#region src/ui/
|
|
3897
|
-
var xo = ({
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3896
|
+
//#region src/ui/components/Input.tsx
|
|
3897
|
+
var xo = e.forwardRef(({ className: t, type: n, ...r }, i) => /* @__PURE__ */ e.createElement(M.input, {
|
|
3898
|
+
type: n,
|
|
3899
|
+
className: G("flex h-10 w-full rounded-md border border-input bg-background px-3! py-2! text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", t),
|
|
3900
|
+
ref: i,
|
|
3901
|
+
...r
|
|
3902
|
+
}));
|
|
3903
|
+
xo.displayName = "Input";
|
|
3904
|
+
//#endregion
|
|
3905
|
+
//#region src/utils/stateSearch.ts
|
|
3906
|
+
var So = (e) => {
|
|
3907
|
+
if (e === null) return "null";
|
|
3908
|
+
if (e === void 0) return "undefined";
|
|
3909
|
+
if (typeof e == "boolean" || typeof e == "number") return String(e);
|
|
3910
|
+
if (typeof e == "string") return `"${e.length > 20 ? e.slice(0, 20) + "…" : e}"`;
|
|
3911
|
+
if (Array.isArray(e)) return `[${e.length}]`;
|
|
3912
|
+
if (typeof e == "object") {
|
|
3913
|
+
let t = Object.keys(e).length;
|
|
3914
|
+
return `{ ${t} key${t === 1 ? "" : "s"} }`;
|
|
3915
|
+
}
|
|
3916
|
+
return JSON.stringify(e) ?? "";
|
|
3917
|
+
}, Co = (e, t) => {
|
|
3918
|
+
if (!t) return e;
|
|
3919
|
+
let n = t.toLowerCase();
|
|
3920
|
+
if (typeof e != "object" || !e) return String(e).toLowerCase().includes(n) ? e : void 0;
|
|
3921
|
+
if (Array.isArray(e)) {
|
|
3922
|
+
let n = e.map((e) => Co(e, t)).filter((e) => e !== void 0);
|
|
3923
|
+
return n.length > 0 ? n : void 0;
|
|
3924
|
+
}
|
|
3925
|
+
let r = {};
|
|
3926
|
+
for (let [i, a] of Object.entries(e)) if (i.toLowerCase().includes(n)) r[i] = a;
|
|
3927
|
+
else {
|
|
3928
|
+
let e = Co(a, t);
|
|
3929
|
+
e !== void 0 && (r[i] = e);
|
|
3930
|
+
}
|
|
3931
|
+
return Object.keys(r).length > 0 ? r : void 0;
|
|
3932
|
+
}, wo = (e, t) => t ? e.map(([e, n]) => {
|
|
3933
|
+
let r = e.toLowerCase().includes(t.toLowerCase()), i = Co(n, t);
|
|
3934
|
+
return !r && i === void 0 ? null : {
|
|
3935
|
+
key: e,
|
|
3936
|
+
displayValue: r ? n : i
|
|
3937
|
+
};
|
|
3938
|
+
}).filter(Boolean) : e.map(([e, t]) => ({
|
|
3939
|
+
key: e,
|
|
3940
|
+
displayValue: t
|
|
3941
|
+
})), To = ({ data: e, history: n }) => {
|
|
3942
|
+
let [r, i] = d(""), [a, o] = d(!1), s = Object.entries(e), c = l(() => wo(s, r), [s, r]), u = r ? c.map((e) => e.key) : void 0, f = () => {
|
|
3943
|
+
let t = (() => {
|
|
3944
|
+
try {
|
|
3945
|
+
return JSON.stringify(e, null, 2);
|
|
3946
|
+
} catch {
|
|
3947
|
+
return "[Circular structure — could not serialize]";
|
|
3948
|
+
}
|
|
3949
|
+
})();
|
|
3950
|
+
navigator.clipboard.writeText(t), o(!0), setTimeout(() => o(!1), 2e3);
|
|
3951
|
+
}, p = n?.slice(1) ?? [];
|
|
3952
|
+
return /* @__PURE__ */ t.createElement("div", { className: "space-y-2" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-1.5" }, /* @__PURE__ */ t.createElement(xo, {
|
|
3953
|
+
placeholder: "Search props…",
|
|
3954
|
+
value: r,
|
|
3955
|
+
onChange: (e) => i(e.target.value),
|
|
3956
|
+
className: "h-7 text-xs"
|
|
3957
|
+
}), /* @__PURE__ */ t.createElement("button", {
|
|
3958
|
+
onClick: f,
|
|
3959
|
+
className: "shrink-0 text-xs text-muted-foreground hover:text-foreground transition-colors whitespace-nowrap"
|
|
3960
|
+
}, a ? "✓ Copied" : "Copy")), c.length === 0 ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground italic text-xs px-1" }, "No results for \"", r, "\"") : /* @__PURE__ */ t.createElement(go, {
|
|
3961
|
+
type: "multiple",
|
|
3962
|
+
value: u,
|
|
3963
|
+
className: "w-full font-mono text-xs"
|
|
3964
|
+
}, c.map(({ key: e, displayValue: n }) => /* @__PURE__ */ t.createElement(_o, {
|
|
3965
|
+
key: e,
|
|
3966
|
+
value: e
|
|
3967
|
+
}, /* @__PURE__ */ t.createElement(yo, { className: "py-2 px-2 hover:no-underline hover:bg-muted/50 rounded font-mono text-xs font-normal" }, /* @__PURE__ */ t.createElement("span", { className: "flex-1 text-left truncate text-foreground" }, e), /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground text-xs mr-2 shrink-0 font-normal" }, So(n))), /* @__PURE__ */ t.createElement(bo, { className: "pb-2! pt-0 px-1" }, /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-2! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, /* @__PURE__ */ t.createElement(pa, {
|
|
3968
|
+
value: n,
|
|
3969
|
+
collapseFromDepth: 1
|
|
3970
|
+
})))))), p.length > 0 && /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "text-xs text-muted-foreground px-1 pt-1" }, "History"), /* @__PURE__ */ t.createElement(go, {
|
|
3910
3971
|
type: "multiple",
|
|
3911
3972
|
className: "w-full"
|
|
3912
|
-
},
|
|
3973
|
+
}, p.map((e, n) => /* @__PURE__ */ t.createElement(_o, {
|
|
3913
3974
|
key: n,
|
|
3914
3975
|
value: String(n)
|
|
3915
3976
|
}, /* @__PURE__ */ t.createElement(yo, {
|
|
@@ -3921,12 +3982,12 @@ var xo = ({ data: e, history: n }) => {
|
|
|
3921
3982
|
}, /* @__PURE__ */ t.createElement(pa, {
|
|
3922
3983
|
value: e,
|
|
3923
3984
|
collapseFromDepth: 1
|
|
3924
|
-
})))))));
|
|
3925
|
-
},
|
|
3985
|
+
}))))))));
|
|
3986
|
+
}, Eo = (e) => {
|
|
3926
3987
|
let [t] = e.split(":");
|
|
3927
3988
|
return t.replace(/\\/g, "/").split("/").slice(-3).join("/");
|
|
3928
|
-
},
|
|
3929
|
-
let { openDialogId: e, closeDialog: n, dialogMeta: r } =
|
|
3989
|
+
}, Do = () => {
|
|
3990
|
+
let { openDialogId: e, closeDialog: n, dialogMeta: r } = nd();
|
|
3930
3991
|
return /* @__PURE__ */ t.createElement(Qi, {
|
|
3931
3992
|
open: e !== null,
|
|
3932
3993
|
onOpenChange: (e) => !e && n()
|
|
@@ -3936,84 +3997,84 @@ var xo = ({ data: e, history: n }) => {
|
|
|
3936
3997
|
}, /* @__PURE__ */ t.createElement(ta, { className: "h-fit overflow-y-auto" }, /* @__PURE__ */ t.createElement(na, null, /* @__PURE__ */ t.createElement(ia, { className: "text-center" }, /* @__PURE__ */ t.createElement("span", { className: "flex items-center justify-center gap-2" }, r?.componentName ? /* @__PURE__ */ t.createElement("span", null, /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground font-normal" }, "<"), r.componentName, /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground font-normal" }, " />")) : "Sentinel", r?.renderCount !== void 0 && /* @__PURE__ */ t.createElement("span", { className: "text-xs font-normal bg-muted text-muted-foreground px-1.5 py-0.5 rounded-full" }, "×", r.renderCount)), r?.sourceFile && /* @__PURE__ */ t.createElement("a", {
|
|
3937
3998
|
href: `vscode://file/${r.sourceFile}`,
|
|
3938
3999
|
className: "block text-xs font-normal text-muted-foreground hover:text-sky-400 transition-colors mt-0.5 font-mono"
|
|
3939
|
-
},
|
|
4000
|
+
}, Eo(r.sourceFile))), /* @__PURE__ */ t.createElement(aa, null, /* @__PURE__ */ t.createElement(pn, { className: "grid w-full grid-cols-4" }, /* @__PURE__ */ t.createElement(K, { value: "md" }, ".md"), /* @__PURE__ */ t.createElement(K, { value: "props-tracker" }, "Props Tracker"), /* @__PURE__ */ t.createElement(K, { value: "api-layer" }, "API Layer"), /* @__PURE__ */ t.createElement(K, { value: "event-tracker" }, "Event Tracker")))), /* @__PURE__ */ t.createElement(q, { value: "md" }, /* @__PURE__ */ t.createElement(ua, { content: r?.md || "" })), /* @__PURE__ */ t.createElement(q, { value: "props-tracker" }, r.componentProps && /* @__PURE__ */ t.createElement(To, {
|
|
3940
4001
|
data: r.componentProps,
|
|
3941
4002
|
history: r.propHistory
|
|
3942
4003
|
})), /* @__PURE__ */ t.createElement(q, { value: "api-layer" }), /* @__PURE__ */ t.createElement(q, { value: "event-tracker" }), /* @__PURE__ */ t.createElement(ra, null))));
|
|
3943
|
-
},
|
|
4004
|
+
}, Oo = [
|
|
3944
4005
|
"top",
|
|
3945
4006
|
"right",
|
|
3946
4007
|
"bottom",
|
|
3947
4008
|
"left"
|
|
3948
|
-
],
|
|
4009
|
+
], ko = Math.min, X = Math.max, Ao = Math.round, jo = Math.floor, Mo = (e) => ({
|
|
3949
4010
|
x: e,
|
|
3950
4011
|
y: e
|
|
3951
|
-
}),
|
|
4012
|
+
}), No = {
|
|
3952
4013
|
left: "right",
|
|
3953
4014
|
right: "left",
|
|
3954
4015
|
bottom: "top",
|
|
3955
4016
|
top: "bottom"
|
|
3956
4017
|
};
|
|
3957
|
-
function
|
|
3958
|
-
return X(e,
|
|
4018
|
+
function Po(e, t, n) {
|
|
4019
|
+
return X(e, ko(t, n));
|
|
3959
4020
|
}
|
|
3960
|
-
function
|
|
4021
|
+
function Fo(e, t) {
|
|
3961
4022
|
return typeof e == "function" ? e(t) : e;
|
|
3962
4023
|
}
|
|
3963
|
-
function
|
|
4024
|
+
function Io(e) {
|
|
3964
4025
|
return e.split("-")[0];
|
|
3965
4026
|
}
|
|
3966
|
-
function
|
|
4027
|
+
function Lo(e) {
|
|
3967
4028
|
return e.split("-")[1];
|
|
3968
4029
|
}
|
|
3969
|
-
function
|
|
4030
|
+
function Ro(e) {
|
|
3970
4031
|
return e === "x" ? "y" : "x";
|
|
3971
4032
|
}
|
|
3972
|
-
function
|
|
4033
|
+
function zo(e) {
|
|
3973
4034
|
return e === "y" ? "height" : "width";
|
|
3974
4035
|
}
|
|
3975
|
-
function
|
|
4036
|
+
function Bo(e) {
|
|
3976
4037
|
let t = e[0];
|
|
3977
4038
|
return t === "t" || t === "b" ? "y" : "x";
|
|
3978
4039
|
}
|
|
3979
|
-
function
|
|
3980
|
-
return
|
|
4040
|
+
function Vo(e) {
|
|
4041
|
+
return Ro(Bo(e));
|
|
3981
4042
|
}
|
|
3982
|
-
function
|
|
4043
|
+
function Ho(e, t, n) {
|
|
3983
4044
|
n === void 0 && (n = !1);
|
|
3984
|
-
let r =
|
|
3985
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
4045
|
+
let r = Lo(e), i = Vo(e), a = zo(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
4046
|
+
return t.reference[a] > t.floating[a] && (o = Zo(o)), [o, Zo(o)];
|
|
3986
4047
|
}
|
|
3987
|
-
function
|
|
3988
|
-
let t =
|
|
4048
|
+
function Uo(e) {
|
|
4049
|
+
let t = Zo(e);
|
|
3989
4050
|
return [
|
|
3990
|
-
|
|
4051
|
+
Wo(e),
|
|
3991
4052
|
t,
|
|
3992
|
-
|
|
4053
|
+
Wo(t)
|
|
3993
4054
|
];
|
|
3994
4055
|
}
|
|
3995
|
-
function
|
|
4056
|
+
function Wo(e) {
|
|
3996
4057
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
3997
4058
|
}
|
|
3998
|
-
var
|
|
3999
|
-
function
|
|
4059
|
+
var Go = ["left", "right"], Ko = ["right", "left"], qo = ["top", "bottom"], Jo = ["bottom", "top"];
|
|
4060
|
+
function Yo(e, t, n) {
|
|
4000
4061
|
switch (e) {
|
|
4001
4062
|
case "top":
|
|
4002
|
-
case "bottom": return n ? t ?
|
|
4063
|
+
case "bottom": return n ? t ? Ko : Go : t ? Go : Ko;
|
|
4003
4064
|
case "left":
|
|
4004
|
-
case "right": return t ?
|
|
4065
|
+
case "right": return t ? qo : Jo;
|
|
4005
4066
|
default: return [];
|
|
4006
4067
|
}
|
|
4007
4068
|
}
|
|
4008
|
-
function
|
|
4009
|
-
let i =
|
|
4010
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
4069
|
+
function Xo(e, t, n, r) {
|
|
4070
|
+
let i = Lo(e), a = Yo(Io(e), n === "start", r);
|
|
4071
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Wo)))), a;
|
|
4011
4072
|
}
|
|
4012
|
-
function
|
|
4013
|
-
let t =
|
|
4014
|
-
return
|
|
4073
|
+
function Zo(e) {
|
|
4074
|
+
let t = Io(e);
|
|
4075
|
+
return No[t] + e.slice(t.length);
|
|
4015
4076
|
}
|
|
4016
|
-
function
|
|
4077
|
+
function Qo(e) {
|
|
4017
4078
|
return {
|
|
4018
4079
|
top: 0,
|
|
4019
4080
|
right: 0,
|
|
@@ -4022,15 +4083,15 @@ function Jo(e) {
|
|
|
4022
4083
|
...e
|
|
4023
4084
|
};
|
|
4024
4085
|
}
|
|
4025
|
-
function
|
|
4086
|
+
function $o(e) {
|
|
4026
4087
|
return typeof e == "number" ? {
|
|
4027
4088
|
top: e,
|
|
4028
4089
|
right: e,
|
|
4029
4090
|
bottom: e,
|
|
4030
4091
|
left: e
|
|
4031
|
-
} :
|
|
4092
|
+
} : Qo(e);
|
|
4032
4093
|
}
|
|
4033
|
-
function
|
|
4094
|
+
function es(e) {
|
|
4034
4095
|
let { x: t, y: n, width: r, height: i } = e;
|
|
4035
4096
|
return {
|
|
4036
4097
|
width: r,
|
|
@@ -4045,8 +4106,8 @@ function Xo(e) {
|
|
|
4045
4106
|
}
|
|
4046
4107
|
//#endregion
|
|
4047
4108
|
//#region ../../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
4048
|
-
function
|
|
4049
|
-
let { reference: r, floating: i } = e, a =
|
|
4109
|
+
function ts(e, t, n) {
|
|
4110
|
+
let { reference: r, floating: i } = e, a = Bo(t), o = Vo(t), s = zo(o), c = Io(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
4050
4111
|
switch (c) {
|
|
4051
4112
|
case "top":
|
|
4052
4113
|
p = {
|
|
@@ -4077,7 +4138,7 @@ function Zo(e, t, n) {
|
|
|
4077
4138
|
y: r.y
|
|
4078
4139
|
};
|
|
4079
4140
|
}
|
|
4080
|
-
switch (
|
|
4141
|
+
switch (Lo(t)) {
|
|
4081
4142
|
case "start":
|
|
4082
4143
|
p[o] -= f * (n && l ? -1 : 1);
|
|
4083
4144
|
break;
|
|
@@ -4087,9 +4148,9 @@ function Zo(e, t, n) {
|
|
|
4087
4148
|
}
|
|
4088
4149
|
return p;
|
|
4089
4150
|
}
|
|
4090
|
-
async function
|
|
4151
|
+
async function ns(e, t) {
|
|
4091
4152
|
t === void 0 && (t = {});
|
|
4092
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } =
|
|
4153
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Fo(t, e), p = $o(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = es(await i.getClippingRect({
|
|
4093
4154
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
4094
4155
|
boundary: c,
|
|
4095
4156
|
rootBoundary: l,
|
|
@@ -4102,7 +4163,7 @@ async function Qo(e, t) {
|
|
|
4102
4163
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
4103
4164
|
x: 1,
|
|
4104
4165
|
y: 1
|
|
4105
|
-
}, y =
|
|
4166
|
+
}, y = es(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4106
4167
|
elements: o,
|
|
4107
4168
|
rect: g,
|
|
4108
4169
|
offsetParent: _,
|
|
@@ -4115,15 +4176,15 @@ async function Qo(e, t) {
|
|
|
4115
4176
|
right: (y.right - h.right + p.right) / v.x
|
|
4116
4177
|
};
|
|
4117
4178
|
}
|
|
4118
|
-
var
|
|
4179
|
+
var rs = 50, is = async (e, t, n) => {
|
|
4119
4180
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
4120
4181
|
...o,
|
|
4121
|
-
detectOverflow:
|
|
4182
|
+
detectOverflow: ns
|
|
4122
4183
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
4123
4184
|
reference: e,
|
|
4124
4185
|
floating: t,
|
|
4125
4186
|
strategy: i
|
|
4126
|
-
}), { x: u, y: d } =
|
|
4187
|
+
}), { x: u, y: d } = ts(l, r, c), f = r, p = 0, m = {};
|
|
4127
4188
|
for (let n = 0; n < a.length; n++) {
|
|
4128
4189
|
let h = a[n];
|
|
4129
4190
|
if (!h) continue;
|
|
@@ -4144,11 +4205,11 @@ var $o = 50, es = async (e, t, n) => {
|
|
|
4144
4205
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
4145
4206
|
...m[g],
|
|
4146
4207
|
...b
|
|
4147
|
-
}, x && p <
|
|
4208
|
+
}, x && p < rs && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
4148
4209
|
reference: e,
|
|
4149
4210
|
floating: t,
|
|
4150
4211
|
strategy: i
|
|
4151
|
-
}) : x.rects), {x: u, y: d} =
|
|
4212
|
+
}) : x.rects), {x: u, y: d} = ts(l, f, c)), n = -1);
|
|
4152
4213
|
}
|
|
4153
4214
|
return {
|
|
4154
4215
|
x: u,
|
|
@@ -4157,41 +4218,41 @@ var $o = 50, es = async (e, t, n) => {
|
|
|
4157
4218
|
strategy: i,
|
|
4158
4219
|
middlewareData: m
|
|
4159
4220
|
};
|
|
4160
|
-
},
|
|
4221
|
+
}, as = (e) => ({
|
|
4161
4222
|
name: "arrow",
|
|
4162
4223
|
options: e,
|
|
4163
4224
|
async fn(t) {
|
|
4164
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
4225
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Fo(e, t) || {};
|
|
4165
4226
|
if (l == null) return {};
|
|
4166
|
-
let d =
|
|
4227
|
+
let d = $o(u), f = {
|
|
4167
4228
|
x: n,
|
|
4168
4229
|
y: r
|
|
4169
|
-
}, p =
|
|
4230
|
+
}, p = Vo(i), m = zo(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
4170
4231
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
4171
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E =
|
|
4232
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = ko(d[_], T), D = ko(d[v], T), O = E, k = C - h[m] - D, A = C / 2 - h[m] / 2 + w, j = Po(O, A, k), M = !c.arrow && Lo(i) != null && A !== j && a.reference[m] / 2 - (A < O ? E : D) - h[m] / 2 < 0, N = M ? A < O ? A - O : A - k : 0;
|
|
4172
4233
|
return {
|
|
4173
|
-
[p]: f[p] +
|
|
4234
|
+
[p]: f[p] + N,
|
|
4174
4235
|
data: {
|
|
4175
|
-
[p]:
|
|
4176
|
-
centerOffset:
|
|
4177
|
-
...
|
|
4236
|
+
[p]: j,
|
|
4237
|
+
centerOffset: A - j - N,
|
|
4238
|
+
...M && { alignmentOffset: N }
|
|
4178
4239
|
},
|
|
4179
|
-
reset:
|
|
4240
|
+
reset: M
|
|
4180
4241
|
};
|
|
4181
4242
|
}
|
|
4182
|
-
}),
|
|
4243
|
+
}), os = function(e) {
|
|
4183
4244
|
return e === void 0 && (e = {}), {
|
|
4184
4245
|
name: "flip",
|
|
4185
4246
|
options: e,
|
|
4186
4247
|
async fn(t) {
|
|
4187
4248
|
var n;
|
|
4188
|
-
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } =
|
|
4249
|
+
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Fo(e, t);
|
|
4189
4250
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
4190
|
-
let g =
|
|
4191
|
-
!d && x && b.push(...
|
|
4251
|
+
let g = Io(r), _ = Bo(o), v = Io(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Zo(o)] : Uo(o)), x = p !== "none";
|
|
4252
|
+
!d && x && b.push(...Xo(o, m, p, y));
|
|
4192
4253
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
4193
4254
|
if (l && w.push(C[g]), u) {
|
|
4194
|
-
let e =
|
|
4255
|
+
let e = Ho(r, a, y);
|
|
4195
4256
|
w.push(C[e[0]], C[e[1]]);
|
|
4196
4257
|
}
|
|
4197
4258
|
if (T = [...T, {
|
|
@@ -4199,7 +4260,7 @@ var $o = 50, es = async (e, t, n) => {
|
|
|
4199
4260
|
overflows: w
|
|
4200
4261
|
}], !w.every((e) => e <= 0)) {
|
|
4201
4262
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
4202
|
-
if (t && (!(u === "alignment" && _ !==
|
|
4263
|
+
if (t && (!(u === "alignment" && _ !== Bo(t)) || T.every((e) => Bo(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
4203
4264
|
data: {
|
|
4204
4265
|
index: e,
|
|
4205
4266
|
overflows: T
|
|
@@ -4211,7 +4272,7 @@ var $o = 50, es = async (e, t, n) => {
|
|
|
4211
4272
|
case "bestFit": {
|
|
4212
4273
|
let e = T.filter((e) => {
|
|
4213
4274
|
if (x) {
|
|
4214
|
-
let t =
|
|
4275
|
+
let t = Bo(e.placement);
|
|
4215
4276
|
return t === _ || t === "y";
|
|
4216
4277
|
}
|
|
4217
4278
|
return !0;
|
|
@@ -4229,7 +4290,7 @@ var $o = 50, es = async (e, t, n) => {
|
|
|
4229
4290
|
}
|
|
4230
4291
|
};
|
|
4231
4292
|
};
|
|
4232
|
-
function
|
|
4293
|
+
function ss(e, t) {
|
|
4233
4294
|
return {
|
|
4234
4295
|
top: e.top - t.height,
|
|
4235
4296
|
right: e.right - t.width,
|
|
@@ -4237,43 +4298,43 @@ function rs(e, t) {
|
|
|
4237
4298
|
left: e.left - t.width
|
|
4238
4299
|
};
|
|
4239
4300
|
}
|
|
4240
|
-
function
|
|
4241
|
-
return
|
|
4301
|
+
function cs(e) {
|
|
4302
|
+
return Oo.some((t) => e[t] >= 0);
|
|
4242
4303
|
}
|
|
4243
|
-
var
|
|
4304
|
+
var ls = function(e) {
|
|
4244
4305
|
return e === void 0 && (e = {}), {
|
|
4245
4306
|
name: "hide",
|
|
4246
4307
|
options: e,
|
|
4247
4308
|
async fn(t) {
|
|
4248
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
4309
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = Fo(e, t);
|
|
4249
4310
|
switch (i) {
|
|
4250
4311
|
case "referenceHidden": {
|
|
4251
|
-
let e =
|
|
4312
|
+
let e = ss(await r.detectOverflow(t, {
|
|
4252
4313
|
...a,
|
|
4253
4314
|
elementContext: "reference"
|
|
4254
4315
|
}), n.reference);
|
|
4255
4316
|
return { data: {
|
|
4256
4317
|
referenceHiddenOffsets: e,
|
|
4257
|
-
referenceHidden:
|
|
4318
|
+
referenceHidden: cs(e)
|
|
4258
4319
|
} };
|
|
4259
4320
|
}
|
|
4260
4321
|
case "escaped": {
|
|
4261
|
-
let e =
|
|
4322
|
+
let e = ss(await r.detectOverflow(t, {
|
|
4262
4323
|
...a,
|
|
4263
4324
|
altBoundary: !0
|
|
4264
4325
|
}), n.floating);
|
|
4265
4326
|
return { data: {
|
|
4266
4327
|
escapedOffsets: e,
|
|
4267
|
-
escaped:
|
|
4328
|
+
escaped: cs(e)
|
|
4268
4329
|
} };
|
|
4269
4330
|
}
|
|
4270
4331
|
default: return {};
|
|
4271
4332
|
}
|
|
4272
4333
|
}
|
|
4273
4334
|
};
|
|
4274
|
-
},
|
|
4275
|
-
async function
|
|
4276
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
4335
|
+
}, us = /*#__PURE__*/ new Set(["left", "top"]);
|
|
4336
|
+
async function ds(e, t) {
|
|
4337
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Io(n), s = Lo(n), c = Bo(n) === "y", l = us.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Fo(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
4277
4338
|
mainAxis: d,
|
|
4278
4339
|
crossAxis: 0,
|
|
4279
4340
|
alignmentAxis: null
|
|
@@ -4290,13 +4351,13 @@ async function ss(e, t) {
|
|
|
4290
4351
|
y: p * u
|
|
4291
4352
|
};
|
|
4292
4353
|
}
|
|
4293
|
-
var
|
|
4354
|
+
var fs = function(e) {
|
|
4294
4355
|
return e === void 0 && (e = 0), {
|
|
4295
4356
|
name: "offset",
|
|
4296
4357
|
options: e,
|
|
4297
4358
|
async fn(t) {
|
|
4298
4359
|
var n;
|
|
4299
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
4360
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await ds(t, e);
|
|
4300
4361
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
4301
4362
|
x: r + s.x,
|
|
4302
4363
|
y: i + s.y,
|
|
@@ -4307,7 +4368,7 @@ var cs = function(e) {
|
|
|
4307
4368
|
};
|
|
4308
4369
|
}
|
|
4309
4370
|
};
|
|
4310
|
-
},
|
|
4371
|
+
}, ps = function(e) {
|
|
4311
4372
|
return e === void 0 && (e = {}), {
|
|
4312
4373
|
name: "shift",
|
|
4313
4374
|
options: e,
|
|
@@ -4318,17 +4379,17 @@ var cs = function(e) {
|
|
|
4318
4379
|
x: t,
|
|
4319
4380
|
y: n
|
|
4320
4381
|
};
|
|
4321
|
-
} }, ...l } =
|
|
4382
|
+
} }, ...l } = Fo(e, t), u = {
|
|
4322
4383
|
x: n,
|
|
4323
4384
|
y: r
|
|
4324
|
-
}, d = await a.detectOverflow(t, l), f = Io(
|
|
4385
|
+
}, d = await a.detectOverflow(t, l), f = Bo(Io(i)), p = Ro(f), m = u[p], h = u[f];
|
|
4325
4386
|
if (o) {
|
|
4326
4387
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
4327
|
-
m =
|
|
4388
|
+
m = Po(n, m, r);
|
|
4328
4389
|
}
|
|
4329
4390
|
if (s) {
|
|
4330
4391
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
4331
|
-
h =
|
|
4392
|
+
h = Po(n, h, r);
|
|
4332
4393
|
}
|
|
4333
4394
|
let g = c.fn({
|
|
4334
4395
|
...t,
|
|
@@ -4348,14 +4409,14 @@ var cs = function(e) {
|
|
|
4348
4409
|
};
|
|
4349
4410
|
}
|
|
4350
4411
|
};
|
|
4351
|
-
},
|
|
4412
|
+
}, ms = function(e) {
|
|
4352
4413
|
return e === void 0 && (e = {}), {
|
|
4353
4414
|
options: e,
|
|
4354
4415
|
fn(t) {
|
|
4355
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
4416
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = Fo(e, t), u = {
|
|
4356
4417
|
x: n,
|
|
4357
4418
|
y: r
|
|
4358
|
-
}, d =
|
|
4419
|
+
}, d = Bo(i), f = Ro(d), p = u[f], m = u[d], h = Fo(s, t), g = typeof h == "number" ? {
|
|
4359
4420
|
mainAxis: h,
|
|
4360
4421
|
crossAxis: 0
|
|
4361
4422
|
} : {
|
|
@@ -4368,7 +4429,7 @@ var cs = function(e) {
|
|
|
4368
4429
|
p < t ? p = t : p > n && (p = n);
|
|
4369
4430
|
}
|
|
4370
4431
|
if (l) {
|
|
4371
|
-
let e = f === "y" ? "width" : "height", t =
|
|
4432
|
+
let e = f === "y" ? "width" : "height", t = us.has(Io(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
4372
4433
|
m < n ? m = n : m > r && (m = r);
|
|
4373
4434
|
}
|
|
4374
4435
|
return {
|
|
@@ -4377,15 +4438,15 @@ var cs = function(e) {
|
|
|
4377
4438
|
};
|
|
4378
4439
|
}
|
|
4379
4440
|
};
|
|
4380
|
-
},
|
|
4441
|
+
}, hs = function(e) {
|
|
4381
4442
|
return e === void 0 && (e = {}), {
|
|
4382
4443
|
name: "size",
|
|
4383
4444
|
options: e,
|
|
4384
4445
|
async fn(t) {
|
|
4385
4446
|
var n, r;
|
|
4386
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
4447
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = Fo(e, t), u = await o.detectOverflow(t, l), d = Io(i), f = Lo(i), p = Bo(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
4387
4448
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
4388
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
4449
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = ko(h - u[g], v), x = ko(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
4389
4450
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
4390
4451
|
let e = X(u.left, 0), t = X(u.right, 0), n = X(u.top, 0), r = X(u.bottom, 0);
|
|
4391
4452
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : X(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : X(u.top, u.bottom));
|
|
@@ -4402,39 +4463,39 @@ var cs = function(e) {
|
|
|
4402
4463
|
};
|
|
4403
4464
|
//#endregion
|
|
4404
4465
|
//#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
4405
|
-
function
|
|
4466
|
+
function gs() {
|
|
4406
4467
|
return typeof window < "u";
|
|
4407
4468
|
}
|
|
4408
|
-
function
|
|
4409
|
-
return
|
|
4469
|
+
function _s(e) {
|
|
4470
|
+
return ys(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
4410
4471
|
}
|
|
4411
4472
|
function Z(e) {
|
|
4412
4473
|
var t;
|
|
4413
4474
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
4414
4475
|
}
|
|
4415
|
-
function
|
|
4416
|
-
return ((
|
|
4476
|
+
function vs(e) {
|
|
4477
|
+
return ((ys(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
4417
4478
|
}
|
|
4418
|
-
function
|
|
4419
|
-
return
|
|
4479
|
+
function ys(e) {
|
|
4480
|
+
return gs() ? e instanceof Node || e instanceof Z(e).Node : !1;
|
|
4420
4481
|
}
|
|
4421
4482
|
function Q(e) {
|
|
4422
|
-
return
|
|
4483
|
+
return gs() ? e instanceof Element || e instanceof Z(e).Element : !1;
|
|
4423
4484
|
}
|
|
4424
|
-
function
|
|
4425
|
-
return
|
|
4485
|
+
function bs(e) {
|
|
4486
|
+
return gs() ? e instanceof HTMLElement || e instanceof Z(e).HTMLElement : !1;
|
|
4426
4487
|
}
|
|
4427
|
-
function
|
|
4428
|
-
return !
|
|
4488
|
+
function xs(e) {
|
|
4489
|
+
return !gs() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Z(e).ShadowRoot;
|
|
4429
4490
|
}
|
|
4430
|
-
function
|
|
4491
|
+
function Ss(e) {
|
|
4431
4492
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = $(e);
|
|
4432
4493
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
4433
4494
|
}
|
|
4434
|
-
function
|
|
4435
|
-
return /^(table|td|th)$/.test(
|
|
4495
|
+
function Cs(e) {
|
|
4496
|
+
return /^(table|td|th)$/.test(_s(e));
|
|
4436
4497
|
}
|
|
4437
|
-
function
|
|
4498
|
+
function ws(e) {
|
|
4438
4499
|
try {
|
|
4439
4500
|
if (e.matches(":popover-open")) return !0;
|
|
4440
4501
|
} catch {}
|
|
@@ -4444,30 +4505,30 @@ function bs(e) {
|
|
|
4444
4505
|
return !1;
|
|
4445
4506
|
}
|
|
4446
4507
|
}
|
|
4447
|
-
var
|
|
4448
|
-
function
|
|
4508
|
+
var Ts = /transform|translate|scale|rotate|perspective|filter/, Es = /paint|layout|strict|content/, Ds = (e) => !!e && e !== "none", Os;
|
|
4509
|
+
function ks(e) {
|
|
4449
4510
|
let t = Q(e) ? $(e) : e;
|
|
4450
|
-
return
|
|
4451
|
-
}
|
|
4452
|
-
function
|
|
4453
|
-
let t =
|
|
4454
|
-
for (;
|
|
4455
|
-
if (
|
|
4456
|
-
if (
|
|
4457
|
-
t =
|
|
4511
|
+
return Ds(t.transform) || Ds(t.translate) || Ds(t.scale) || Ds(t.rotate) || Ds(t.perspective) || !js() && (Ds(t.backdropFilter) || Ds(t.filter)) || Ts.test(t.willChange || "") || Es.test(t.contain || "");
|
|
4512
|
+
}
|
|
4513
|
+
function As(e) {
|
|
4514
|
+
let t = Ps(e);
|
|
4515
|
+
for (; bs(t) && !Ms(t);) {
|
|
4516
|
+
if (ks(t)) return t;
|
|
4517
|
+
if (ws(t)) return null;
|
|
4518
|
+
t = Ps(t);
|
|
4458
4519
|
}
|
|
4459
4520
|
return null;
|
|
4460
4521
|
}
|
|
4461
|
-
function
|
|
4462
|
-
return
|
|
4522
|
+
function js() {
|
|
4523
|
+
return Os ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Os;
|
|
4463
4524
|
}
|
|
4464
|
-
function
|
|
4465
|
-
return /^(html|body|#document)$/.test(
|
|
4525
|
+
function Ms(e) {
|
|
4526
|
+
return /^(html|body|#document)$/.test(_s(e));
|
|
4466
4527
|
}
|
|
4467
4528
|
function $(e) {
|
|
4468
4529
|
return Z(e).getComputedStyle(e);
|
|
4469
4530
|
}
|
|
4470
|
-
function
|
|
4531
|
+
function Ns(e) {
|
|
4471
4532
|
return Q(e) ? {
|
|
4472
4533
|
scrollLeft: e.scrollLeft,
|
|
4473
4534
|
scrollTop: e.scrollTop
|
|
@@ -4476,101 +4537,101 @@ function ks(e) {
|
|
|
4476
4537
|
scrollTop: e.scrollY
|
|
4477
4538
|
};
|
|
4478
4539
|
}
|
|
4479
|
-
function
|
|
4480
|
-
if (
|
|
4481
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
4482
|
-
return
|
|
4540
|
+
function Ps(e) {
|
|
4541
|
+
if (_s(e) === "html") return e;
|
|
4542
|
+
let t = e.assignedSlot || e.parentNode || xs(e) && e.host || vs(e);
|
|
4543
|
+
return xs(t) ? t.host : t;
|
|
4483
4544
|
}
|
|
4484
|
-
function
|
|
4485
|
-
let t =
|
|
4486
|
-
return
|
|
4545
|
+
function Fs(e) {
|
|
4546
|
+
let t = Ps(e);
|
|
4547
|
+
return Ms(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : bs(t) && Ss(t) ? t : Fs(t);
|
|
4487
4548
|
}
|
|
4488
|
-
function
|
|
4549
|
+
function Is(e, t, n) {
|
|
4489
4550
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
4490
|
-
let r =
|
|
4551
|
+
let r = Fs(e), i = r === e.ownerDocument?.body, a = Z(r);
|
|
4491
4552
|
if (i) {
|
|
4492
|
-
let e =
|
|
4493
|
-
return t.concat(a, a.visualViewport || [],
|
|
4494
|
-
} else return t.concat(r,
|
|
4553
|
+
let e = Ls(a);
|
|
4554
|
+
return t.concat(a, a.visualViewport || [], Ss(r) ? r : [], e && n ? Is(e) : []);
|
|
4555
|
+
} else return t.concat(r, Is(r, [], n));
|
|
4495
4556
|
}
|
|
4496
|
-
function
|
|
4557
|
+
function Ls(e) {
|
|
4497
4558
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
4498
4559
|
}
|
|
4499
4560
|
//#endregion
|
|
4500
4561
|
//#region ../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
4501
|
-
function
|
|
4502
|
-
let t = $(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i =
|
|
4562
|
+
function Rs(e) {
|
|
4563
|
+
let t = $(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = bs(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Ao(n) !== a || Ao(r) !== o;
|
|
4503
4564
|
return s && (n = a, r = o), {
|
|
4504
4565
|
width: n,
|
|
4505
4566
|
height: r,
|
|
4506
4567
|
$: s
|
|
4507
4568
|
};
|
|
4508
4569
|
}
|
|
4509
|
-
function
|
|
4570
|
+
function zs(e) {
|
|
4510
4571
|
return Q(e) ? e : e.contextElement;
|
|
4511
4572
|
}
|
|
4512
|
-
function
|
|
4513
|
-
let t =
|
|
4514
|
-
if (!
|
|
4515
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
4573
|
+
function Bs(e) {
|
|
4574
|
+
let t = zs(e);
|
|
4575
|
+
if (!bs(t)) return Mo(1);
|
|
4576
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Rs(t), o = (a ? Ao(n.width) : n.width) / r, s = (a ? Ao(n.height) : n.height) / i;
|
|
4516
4577
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
4517
4578
|
x: o,
|
|
4518
4579
|
y: s
|
|
4519
4580
|
};
|
|
4520
4581
|
}
|
|
4521
|
-
var
|
|
4522
|
-
function
|
|
4582
|
+
var Vs = /*#__PURE__*/ Mo(0);
|
|
4583
|
+
function Hs(e) {
|
|
4523
4584
|
let t = Z(e);
|
|
4524
|
-
return !
|
|
4585
|
+
return !js() || !t.visualViewport ? Vs : {
|
|
4525
4586
|
x: t.visualViewport.offsetLeft,
|
|
4526
4587
|
y: t.visualViewport.offsetTop
|
|
4527
4588
|
};
|
|
4528
4589
|
}
|
|
4529
|
-
function
|
|
4590
|
+
function Us(e, t, n) {
|
|
4530
4591
|
return t === void 0 && (t = !1), !n || t && n !== Z(e) ? !1 : t;
|
|
4531
4592
|
}
|
|
4532
|
-
function
|
|
4593
|
+
function Ws(e, t, n, r) {
|
|
4533
4594
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
4534
|
-
let i = e.getBoundingClientRect(), a =
|
|
4535
|
-
t && (r ? Q(r) && (o =
|
|
4536
|
-
let s =
|
|
4595
|
+
let i = e.getBoundingClientRect(), a = zs(e), o = Mo(1);
|
|
4596
|
+
t && (r ? Q(r) && (o = Bs(r)) : o = Bs(e));
|
|
4597
|
+
let s = Us(a, n, r) ? Hs(a) : Mo(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
4537
4598
|
if (a) {
|
|
4538
|
-
let e = Z(a), t = r && Q(r) ? Z(r) : r, n = e, i =
|
|
4599
|
+
let e = Z(a), t = r && Q(r) ? Z(r) : r, n = e, i = Ls(n);
|
|
4539
4600
|
for (; i && r && t !== n;) {
|
|
4540
|
-
let e =
|
|
4541
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Z(i), i =
|
|
4601
|
+
let e = Bs(i), t = i.getBoundingClientRect(), r = $(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
4602
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Z(i), i = Ls(n);
|
|
4542
4603
|
}
|
|
4543
4604
|
}
|
|
4544
|
-
return
|
|
4605
|
+
return es({
|
|
4545
4606
|
width: u,
|
|
4546
4607
|
height: d,
|
|
4547
4608
|
x: c,
|
|
4548
4609
|
y: l
|
|
4549
4610
|
});
|
|
4550
4611
|
}
|
|
4551
|
-
function
|
|
4552
|
-
let n =
|
|
4553
|
-
return t ? t.left + n :
|
|
4612
|
+
function Gs(e, t) {
|
|
4613
|
+
let n = Ns(e).scrollLeft;
|
|
4614
|
+
return t ? t.left + n : Ws(vs(e)).left + n;
|
|
4554
4615
|
}
|
|
4555
|
-
function
|
|
4616
|
+
function Ks(e, t) {
|
|
4556
4617
|
let n = e.getBoundingClientRect();
|
|
4557
4618
|
return {
|
|
4558
|
-
x: n.left + t.scrollLeft -
|
|
4619
|
+
x: n.left + t.scrollLeft - Gs(e, n),
|
|
4559
4620
|
y: n.top + t.scrollTop
|
|
4560
4621
|
};
|
|
4561
4622
|
}
|
|
4562
|
-
function
|
|
4563
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
4623
|
+
function qs(e) {
|
|
4624
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = vs(r), s = t ? ws(t.floating) : !1;
|
|
4564
4625
|
if (r === o || s && a) return n;
|
|
4565
4626
|
let c = {
|
|
4566
4627
|
scrollLeft: 0,
|
|
4567
4628
|
scrollTop: 0
|
|
4568
|
-
}, l =
|
|
4569
|
-
if ((d || !d && !a) && ((
|
|
4570
|
-
let e =
|
|
4571
|
-
l =
|
|
4629
|
+
}, l = Mo(1), u = Mo(0), d = bs(r);
|
|
4630
|
+
if ((d || !d && !a) && ((_s(r) !== "body" || Ss(o)) && (c = Ns(r)), d)) {
|
|
4631
|
+
let e = Ws(r);
|
|
4632
|
+
l = Bs(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
4572
4633
|
}
|
|
4573
|
-
let f = o && !d && !a ?
|
|
4634
|
+
let f = o && !d && !a ? Ks(o, c) : Mo(0);
|
|
4574
4635
|
return {
|
|
4575
4636
|
width: n.width * l.x,
|
|
4576
4637
|
height: n.height * l.y,
|
|
@@ -4578,11 +4639,11 @@ function Us(e) {
|
|
|
4578
4639
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
4579
4640
|
};
|
|
4580
4641
|
}
|
|
4581
|
-
function
|
|
4642
|
+
function Js(e) {
|
|
4582
4643
|
return Array.from(e.getClientRects());
|
|
4583
4644
|
}
|
|
4584
|
-
function
|
|
4585
|
-
let t =
|
|
4645
|
+
function Ys(e) {
|
|
4646
|
+
let t = vs(e), n = Ns(e), r = e.ownerDocument.body, i = X(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = X(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Gs(e), s = -n.scrollTop;
|
|
4586
4647
|
return $(r).direction === "rtl" && (o += X(t.clientWidth, r.clientWidth) - i), {
|
|
4587
4648
|
width: i,
|
|
4588
4649
|
height: a,
|
|
@@ -4590,19 +4651,19 @@ function Gs(e) {
|
|
|
4590
4651
|
y: s
|
|
4591
4652
|
};
|
|
4592
4653
|
}
|
|
4593
|
-
var
|
|
4594
|
-
function
|
|
4595
|
-
let n = Z(e), r =
|
|
4654
|
+
var Xs = 25;
|
|
4655
|
+
function Zs(e, t) {
|
|
4656
|
+
let n = Z(e), r = vs(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
4596
4657
|
if (i) {
|
|
4597
4658
|
a = i.width, o = i.height;
|
|
4598
|
-
let e =
|
|
4659
|
+
let e = js();
|
|
4599
4660
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
4600
4661
|
}
|
|
4601
|
-
let l =
|
|
4662
|
+
let l = Gs(r);
|
|
4602
4663
|
if (l <= 0) {
|
|
4603
4664
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
4604
|
-
o <=
|
|
4605
|
-
} else l <=
|
|
4665
|
+
o <= Xs && (a -= o);
|
|
4666
|
+
} else l <= Xs && (a += l);
|
|
4606
4667
|
return {
|
|
4607
4668
|
width: a,
|
|
4608
4669
|
height: o,
|
|
@@ -4610,8 +4671,8 @@ function qs(e, t) {
|
|
|
4610
4671
|
y: c
|
|
4611
4672
|
};
|
|
4612
4673
|
}
|
|
4613
|
-
function
|
|
4614
|
-
let n =
|
|
4674
|
+
function Qs(e, t) {
|
|
4675
|
+
let n = Ws(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = bs(e) ? Bs(e) : Mo(1);
|
|
4615
4676
|
return {
|
|
4616
4677
|
width: e.clientWidth * a.x,
|
|
4617
4678
|
height: e.clientHeight * a.y,
|
|
@@ -4619,13 +4680,13 @@ function Js(e, t) {
|
|
|
4619
4680
|
y: r * a.y
|
|
4620
4681
|
};
|
|
4621
4682
|
}
|
|
4622
|
-
function
|
|
4683
|
+
function $s(e, t, n) {
|
|
4623
4684
|
let r;
|
|
4624
|
-
if (t === "viewport") r =
|
|
4625
|
-
else if (t === "document") r =
|
|
4626
|
-
else if (Q(t)) r =
|
|
4685
|
+
if (t === "viewport") r = Zs(e, n);
|
|
4686
|
+
else if (t === "document") r = Ys(vs(e));
|
|
4687
|
+
else if (Q(t)) r = Qs(t, n);
|
|
4627
4688
|
else {
|
|
4628
|
-
let n =
|
|
4689
|
+
let n = Hs(e);
|
|
4629
4690
|
r = {
|
|
4630
4691
|
x: t.x - n.x,
|
|
4631
4692
|
y: t.y - n.y,
|
|
@@ -4633,27 +4694,27 @@ function Ys(e, t, n) {
|
|
|
4633
4694
|
height: t.height
|
|
4634
4695
|
};
|
|
4635
4696
|
}
|
|
4636
|
-
return
|
|
4697
|
+
return es(r);
|
|
4637
4698
|
}
|
|
4638
|
-
function
|
|
4639
|
-
let n =
|
|
4640
|
-
return n === t || !Q(n) ||
|
|
4699
|
+
function ec(e, t) {
|
|
4700
|
+
let n = Ps(e);
|
|
4701
|
+
return n === t || !Q(n) || Ms(n) ? !1 : $(n).position === "fixed" || ec(n, t);
|
|
4641
4702
|
}
|
|
4642
|
-
function
|
|
4703
|
+
function tc(e, t) {
|
|
4643
4704
|
let n = t.get(e);
|
|
4644
4705
|
if (n) return n;
|
|
4645
|
-
let r =
|
|
4646
|
-
for (; Q(o) && !
|
|
4647
|
-
let t = $(o), n =
|
|
4648
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
4706
|
+
let r = Is(e, [], !1).filter((e) => Q(e) && _s(e) !== "body"), i = null, a = $(e).position === "fixed", o = a ? Ps(e) : e;
|
|
4707
|
+
for (; Q(o) && !Ms(o);) {
|
|
4708
|
+
let t = $(o), n = ks(o);
|
|
4709
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Ss(o) && !n && ec(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Ps(o);
|
|
4649
4710
|
}
|
|
4650
4711
|
return t.set(e, r), r;
|
|
4651
4712
|
}
|
|
4652
|
-
function
|
|
4653
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
4713
|
+
function nc(e) {
|
|
4714
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ws(t) ? [] : tc(t, this._c) : [].concat(n), r], o = $s(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
4654
4715
|
for (let e = 1; e < a.length; e++) {
|
|
4655
|
-
let n =
|
|
4656
|
-
s = X(n.top, s), c =
|
|
4716
|
+
let n = $s(t, a[e], i);
|
|
4717
|
+
s = X(n.top, s), c = ko(n.right, c), l = ko(n.bottom, l), u = X(n.left, u);
|
|
4657
4718
|
}
|
|
4658
4719
|
return {
|
|
4659
4720
|
width: c - u,
|
|
@@ -4662,27 +4723,27 @@ function Qs(e) {
|
|
|
4662
4723
|
y: s
|
|
4663
4724
|
};
|
|
4664
4725
|
}
|
|
4665
|
-
function
|
|
4666
|
-
let { width: t, height: n } =
|
|
4726
|
+
function rc(e) {
|
|
4727
|
+
let { width: t, height: n } = Rs(e);
|
|
4667
4728
|
return {
|
|
4668
4729
|
width: t,
|
|
4669
4730
|
height: n
|
|
4670
4731
|
};
|
|
4671
4732
|
}
|
|
4672
|
-
function
|
|
4673
|
-
let r =
|
|
4733
|
+
function ic(e, t, n) {
|
|
4734
|
+
let r = bs(t), i = vs(t), a = n === "fixed", o = Ws(e, !0, a, t), s = {
|
|
4674
4735
|
scrollLeft: 0,
|
|
4675
4736
|
scrollTop: 0
|
|
4676
|
-
}, c =
|
|
4737
|
+
}, c = Mo(0);
|
|
4677
4738
|
function l() {
|
|
4678
|
-
c.x =
|
|
4739
|
+
c.x = Gs(i);
|
|
4679
4740
|
}
|
|
4680
|
-
if (r || !r && !a) if ((
|
|
4681
|
-
let e =
|
|
4741
|
+
if (r || !r && !a) if ((_s(t) !== "body" || Ss(i)) && (s = Ns(t)), r) {
|
|
4742
|
+
let e = Ws(t, !0, a, t);
|
|
4682
4743
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
4683
4744
|
} else i && l();
|
|
4684
4745
|
a && !r && i && l();
|
|
4685
|
-
let u = i && !r && !a ?
|
|
4746
|
+
let u = i && !r && !a ? Ks(i, s) : Mo(0);
|
|
4686
4747
|
return {
|
|
4687
4748
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
4688
4749
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -4690,34 +4751,34 @@ function ec(e, t, n) {
|
|
|
4690
4751
|
height: o.height
|
|
4691
4752
|
};
|
|
4692
4753
|
}
|
|
4693
|
-
function
|
|
4754
|
+
function ac(e) {
|
|
4694
4755
|
return $(e).position === "static";
|
|
4695
4756
|
}
|
|
4696
|
-
function
|
|
4697
|
-
if (!
|
|
4757
|
+
function oc(e, t) {
|
|
4758
|
+
if (!bs(e) || $(e).position === "fixed") return null;
|
|
4698
4759
|
if (t) return t(e);
|
|
4699
4760
|
let n = e.offsetParent;
|
|
4700
|
-
return
|
|
4761
|
+
return vs(e) === n && (n = n.ownerDocument.body), n;
|
|
4701
4762
|
}
|
|
4702
|
-
function
|
|
4763
|
+
function sc(e, t) {
|
|
4703
4764
|
let n = Z(e);
|
|
4704
|
-
if (
|
|
4705
|
-
if (!
|
|
4706
|
-
let t =
|
|
4707
|
-
for (; t && !
|
|
4708
|
-
if (Q(t) && !
|
|
4709
|
-
t =
|
|
4765
|
+
if (ws(e)) return n;
|
|
4766
|
+
if (!bs(e)) {
|
|
4767
|
+
let t = Ps(e);
|
|
4768
|
+
for (; t && !Ms(t);) {
|
|
4769
|
+
if (Q(t) && !ac(t)) return t;
|
|
4770
|
+
t = Ps(t);
|
|
4710
4771
|
}
|
|
4711
4772
|
return n;
|
|
4712
4773
|
}
|
|
4713
|
-
let r =
|
|
4714
|
-
for (; r &&
|
|
4715
|
-
return r &&
|
|
4774
|
+
let r = oc(e, t);
|
|
4775
|
+
for (; r && Cs(r) && ac(r);) r = oc(r, t);
|
|
4776
|
+
return r && Ms(r) && ac(r) && !ks(r) ? n : r || As(e) || n;
|
|
4716
4777
|
}
|
|
4717
|
-
var
|
|
4718
|
-
let t = this.getOffsetParent ||
|
|
4778
|
+
var cc = async function(e) {
|
|
4779
|
+
let t = this.getOffsetParent || sc, n = this.getDimensions, r = await n(e.floating);
|
|
4719
4780
|
return {
|
|
4720
|
-
reference:
|
|
4781
|
+
reference: ic(e.reference, await t(e.floating), e.strategy),
|
|
4721
4782
|
floating: {
|
|
4722
4783
|
x: 0,
|
|
4723
4784
|
y: 0,
|
|
@@ -4726,26 +4787,26 @@ var ic = async function(e) {
|
|
|
4726
4787
|
}
|
|
4727
4788
|
};
|
|
4728
4789
|
};
|
|
4729
|
-
function
|
|
4790
|
+
function lc(e) {
|
|
4730
4791
|
return $(e).direction === "rtl";
|
|
4731
4792
|
}
|
|
4732
|
-
var
|
|
4733
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4734
|
-
getDocumentElement:
|
|
4735
|
-
getClippingRect:
|
|
4736
|
-
getOffsetParent:
|
|
4737
|
-
getElementRects:
|
|
4738
|
-
getClientRects:
|
|
4739
|
-
getDimensions:
|
|
4740
|
-
getScale:
|
|
4793
|
+
var uc = {
|
|
4794
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: qs,
|
|
4795
|
+
getDocumentElement: vs,
|
|
4796
|
+
getClippingRect: nc,
|
|
4797
|
+
getOffsetParent: sc,
|
|
4798
|
+
getElementRects: cc,
|
|
4799
|
+
getClientRects: Js,
|
|
4800
|
+
getDimensions: rc,
|
|
4801
|
+
getScale: Bs,
|
|
4741
4802
|
isElement: Q,
|
|
4742
|
-
isRTL:
|
|
4803
|
+
isRTL: lc
|
|
4743
4804
|
};
|
|
4744
|
-
function
|
|
4805
|
+
function dc(e, t) {
|
|
4745
4806
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
4746
4807
|
}
|
|
4747
|
-
function
|
|
4748
|
-
let n = null, r, i =
|
|
4808
|
+
function fc(e, t) {
|
|
4809
|
+
let n = null, r, i = vs(e);
|
|
4749
4810
|
function a() {
|
|
4750
4811
|
var e;
|
|
4751
4812
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -4754,9 +4815,9 @@ function cc(e, t) {
|
|
|
4754
4815
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
4755
4816
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
4756
4817
|
if (s || t(), !f || !p) return;
|
|
4757
|
-
let m =
|
|
4818
|
+
let m = jo(d), h = jo(i.clientWidth - (u + f)), g = jo(i.clientHeight - (d + p)), _ = jo(u), v = {
|
|
4758
4819
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
4759
|
-
threshold: X(0,
|
|
4820
|
+
threshold: X(0, ko(1, c)) || 1
|
|
4760
4821
|
}, y = !0;
|
|
4761
4822
|
function b(t) {
|
|
4762
4823
|
let n = t[0].intersectionRatio;
|
|
@@ -4766,7 +4827,7 @@ function cc(e, t) {
|
|
|
4766
4827
|
o(!1, 1e-7);
|
|
4767
4828
|
}, 1e3);
|
|
4768
4829
|
}
|
|
4769
|
-
n === 1 && !
|
|
4830
|
+
n === 1 && !dc(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
4770
4831
|
}
|
|
4771
4832
|
try {
|
|
4772
4833
|
n = new IntersectionObserver(b, {
|
|
@@ -4780,13 +4841,13 @@ function cc(e, t) {
|
|
|
4780
4841
|
}
|
|
4781
4842
|
return o(!0), a;
|
|
4782
4843
|
}
|
|
4783
|
-
function
|
|
4844
|
+
function pc(e, t, n, r) {
|
|
4784
4845
|
r === void 0 && (r = {});
|
|
4785
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
4846
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = zs(e), u = i || a ? [...l ? Is(l) : [], ...t ? Is(t) : []] : [];
|
|
4786
4847
|
u.forEach((e) => {
|
|
4787
4848
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
4788
4849
|
});
|
|
4789
|
-
let d = l && s ?
|
|
4850
|
+
let d = l && s ? fc(l, n) : null, f = -1, p = null;
|
|
4790
4851
|
o && (p = new ResizeObserver((e) => {
|
|
4791
4852
|
let [r] = e;
|
|
4792
4853
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -4794,11 +4855,11 @@ function lc(e, t, n, r) {
|
|
|
4794
4855
|
(e = p) == null || e.observe(t);
|
|
4795
4856
|
})), n();
|
|
4796
4857
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
4797
|
-
let m, h = c ?
|
|
4858
|
+
let m, h = c ? Ws(e) : null;
|
|
4798
4859
|
c && g();
|
|
4799
4860
|
function g() {
|
|
4800
|
-
let t =
|
|
4801
|
-
h && !
|
|
4861
|
+
let t = Ws(e);
|
|
4862
|
+
h && !dc(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
4802
4863
|
}
|
|
4803
4864
|
return n(), () => {
|
|
4804
4865
|
var e;
|
|
@@ -4807,20 +4868,20 @@ function lc(e, t, n, r) {
|
|
|
4807
4868
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
4808
4869
|
};
|
|
4809
4870
|
}
|
|
4810
|
-
var
|
|
4871
|
+
var mc = fs, hc = ps, gc = os, _c = hs, vc = ls, yc = as, bc = ms, xc = (e, t, n) => {
|
|
4811
4872
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
4812
|
-
platform:
|
|
4873
|
+
platform: uc,
|
|
4813
4874
|
...n
|
|
4814
4875
|
}, a = {
|
|
4815
4876
|
...i.platform,
|
|
4816
4877
|
_c: r
|
|
4817
4878
|
};
|
|
4818
|
-
return
|
|
4879
|
+
return is(e, t, {
|
|
4819
4880
|
...i,
|
|
4820
4881
|
platform: a
|
|
4821
4882
|
});
|
|
4822
|
-
},
|
|
4823
|
-
function
|
|
4883
|
+
}, Sc = typeof document < "u" ? c : function() {};
|
|
4884
|
+
function Cc(e, t) {
|
|
4824
4885
|
if (e === t) return !0;
|
|
4825
4886
|
if (typeof e != typeof t) return !1;
|
|
4826
4887
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -4828,33 +4889,33 @@ function yc(e, t) {
|
|
|
4828
4889
|
if (e && t && typeof e == "object") {
|
|
4829
4890
|
if (Array.isArray(e)) {
|
|
4830
4891
|
if (n = e.length, n !== t.length) return !1;
|
|
4831
|
-
for (r = n; r-- !== 0;) if (!
|
|
4892
|
+
for (r = n; r-- !== 0;) if (!Cc(e[r], t[r])) return !1;
|
|
4832
4893
|
return !0;
|
|
4833
4894
|
}
|
|
4834
4895
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
4835
4896
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
4836
4897
|
for (r = n; r-- !== 0;) {
|
|
4837
4898
|
let n = i[r];
|
|
4838
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
4899
|
+
if (!(n === "_owner" && e.$$typeof) && !Cc(e[n], t[n])) return !1;
|
|
4839
4900
|
}
|
|
4840
4901
|
return !0;
|
|
4841
4902
|
}
|
|
4842
4903
|
return e !== e && t !== t;
|
|
4843
4904
|
}
|
|
4844
|
-
function
|
|
4905
|
+
function wc(e) {
|
|
4845
4906
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
4846
4907
|
}
|
|
4847
|
-
function
|
|
4848
|
-
let n =
|
|
4908
|
+
function Tc(e, t) {
|
|
4909
|
+
let n = wc(e);
|
|
4849
4910
|
return Math.round(t * n) / n;
|
|
4850
4911
|
}
|
|
4851
|
-
function
|
|
4912
|
+
function Ec(t) {
|
|
4852
4913
|
let n = e.useRef(t);
|
|
4853
|
-
return
|
|
4914
|
+
return Sc(() => {
|
|
4854
4915
|
n.current = t;
|
|
4855
4916
|
}), n;
|
|
4856
4917
|
}
|
|
4857
|
-
function
|
|
4918
|
+
function Dc(t) {
|
|
4858
4919
|
t === void 0 && (t = {});
|
|
4859
4920
|
let { placement: n = "bottom", strategy: r = "absolute", middleware: i = [], platform: a, elements: { reference: o, floating: s } = {}, transform: c = !0, whileElementsMounted: l, open: u } = t, [d, p] = e.useState({
|
|
4860
4921
|
x: 0,
|
|
@@ -4864,24 +4925,24 @@ function Cc(t) {
|
|
|
4864
4925
|
middlewareData: {},
|
|
4865
4926
|
isPositioned: !1
|
|
4866
4927
|
}), [m, h] = e.useState(i);
|
|
4867
|
-
|
|
4928
|
+
Cc(m, i) || h(i);
|
|
4868
4929
|
let [g, _] = e.useState(null), [v, y] = e.useState(null), b = e.useCallback((e) => {
|
|
4869
4930
|
e !== w.current && (w.current = e, _(e));
|
|
4870
4931
|
}, []), x = e.useCallback((e) => {
|
|
4871
4932
|
e !== T.current && (T.current = e, y(e));
|
|
4872
|
-
}, []), S = o || g, C = s || v, w = e.useRef(null), T = e.useRef(null), E = e.useRef(d),
|
|
4933
|
+
}, []), S = o || g, C = s || v, w = e.useRef(null), T = e.useRef(null), E = e.useRef(d), D = l != null, O = Ec(l), k = Ec(a), A = Ec(u), j = e.useCallback(() => {
|
|
4873
4934
|
if (!w.current || !T.current) return;
|
|
4874
4935
|
let e = {
|
|
4875
4936
|
placement: n,
|
|
4876
4937
|
strategy: r,
|
|
4877
4938
|
middleware: m
|
|
4878
4939
|
};
|
|
4879
|
-
|
|
4940
|
+
k.current && (e.platform = k.current), xc(w.current, T.current, e).then((e) => {
|
|
4880
4941
|
let t = {
|
|
4881
4942
|
...e,
|
|
4882
|
-
isPositioned:
|
|
4943
|
+
isPositioned: A.current !== !1
|
|
4883
4944
|
};
|
|
4884
|
-
|
|
4945
|
+
M.current && !Cc(E.current, t) && (E.current = t, f.flushSync(() => {
|
|
4885
4946
|
p(t);
|
|
4886
4947
|
}));
|
|
4887
4948
|
});
|
|
@@ -4889,50 +4950,50 @@ function Cc(t) {
|
|
|
4889
4950
|
m,
|
|
4890
4951
|
n,
|
|
4891
4952
|
r,
|
|
4892
|
-
|
|
4893
|
-
|
|
4953
|
+
k,
|
|
4954
|
+
A
|
|
4894
4955
|
]);
|
|
4895
|
-
|
|
4956
|
+
Sc(() => {
|
|
4896
4957
|
u === !1 && E.current.isPositioned && (E.current.isPositioned = !1, p((e) => ({
|
|
4897
4958
|
...e,
|
|
4898
4959
|
isPositioned: !1
|
|
4899
4960
|
})));
|
|
4900
4961
|
}, [u]);
|
|
4901
|
-
let
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
}), []),
|
|
4962
|
+
let M = e.useRef(!1);
|
|
4963
|
+
Sc(() => (M.current = !0, () => {
|
|
4964
|
+
M.current = !1;
|
|
4965
|
+
}), []), Sc(() => {
|
|
4905
4966
|
if (S && (w.current = S), C && (T.current = C), S && C) {
|
|
4906
|
-
if (
|
|
4907
|
-
|
|
4967
|
+
if (O.current) return O.current(S, C, j);
|
|
4968
|
+
j();
|
|
4908
4969
|
}
|
|
4909
4970
|
}, [
|
|
4910
4971
|
S,
|
|
4911
4972
|
C,
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4973
|
+
j,
|
|
4974
|
+
O,
|
|
4975
|
+
D
|
|
4915
4976
|
]);
|
|
4916
|
-
let
|
|
4977
|
+
let N = e.useMemo(() => ({
|
|
4917
4978
|
reference: w,
|
|
4918
4979
|
floating: T,
|
|
4919
4980
|
setReference: b,
|
|
4920
4981
|
setFloating: x
|
|
4921
|
-
}), [b, x]),
|
|
4982
|
+
}), [b, x]), P = e.useMemo(() => ({
|
|
4922
4983
|
reference: S,
|
|
4923
4984
|
floating: C
|
|
4924
|
-
}), [S, C]),
|
|
4985
|
+
}), [S, C]), F = e.useMemo(() => {
|
|
4925
4986
|
let e = {
|
|
4926
4987
|
position: r,
|
|
4927
4988
|
left: 0,
|
|
4928
4989
|
top: 0
|
|
4929
4990
|
};
|
|
4930
|
-
if (!
|
|
4931
|
-
let t =
|
|
4991
|
+
if (!P.floating) return e;
|
|
4992
|
+
let t = Tc(P.floating, d.x), n = Tc(P.floating, d.y);
|
|
4932
4993
|
return c ? {
|
|
4933
4994
|
...e,
|
|
4934
4995
|
transform: "translate(" + t + "px, " + n + "px)",
|
|
4935
|
-
...
|
|
4996
|
+
...wc(P.floating) >= 1.5 && { willChange: "transform" }
|
|
4936
4997
|
} : {
|
|
4937
4998
|
position: r,
|
|
4938
4999
|
left: t,
|
|
@@ -4941,25 +5002,25 @@ function Cc(t) {
|
|
|
4941
5002
|
}, [
|
|
4942
5003
|
r,
|
|
4943
5004
|
c,
|
|
4944
|
-
|
|
5005
|
+
P.floating,
|
|
4945
5006
|
d.x,
|
|
4946
5007
|
d.y
|
|
4947
5008
|
]);
|
|
4948
5009
|
return e.useMemo(() => ({
|
|
4949
5010
|
...d,
|
|
4950
|
-
update:
|
|
4951
|
-
refs:
|
|
4952
|
-
elements:
|
|
4953
|
-
floatingStyles:
|
|
5011
|
+
update: j,
|
|
5012
|
+
refs: N,
|
|
5013
|
+
elements: P,
|
|
5014
|
+
floatingStyles: F
|
|
4954
5015
|
}), [
|
|
4955
5016
|
d,
|
|
4956
|
-
|
|
4957
|
-
M,
|
|
5017
|
+
j,
|
|
4958
5018
|
N,
|
|
4959
|
-
P
|
|
5019
|
+
P,
|
|
5020
|
+
F
|
|
4960
5021
|
]);
|
|
4961
5022
|
}
|
|
4962
|
-
var
|
|
5023
|
+
var Oc = (e) => {
|
|
4963
5024
|
function t(e) {
|
|
4964
5025
|
return {}.hasOwnProperty.call(e, "current");
|
|
4965
5026
|
}
|
|
@@ -4968,63 +5029,63 @@ var wc = (e) => {
|
|
|
4968
5029
|
options: e,
|
|
4969
5030
|
fn(n) {
|
|
4970
5031
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
4971
|
-
return r && t(r) ? r.current == null ? {} :
|
|
5032
|
+
return r && t(r) ? r.current == null ? {} : yc({
|
|
4972
5033
|
element: r.current,
|
|
4973
5034
|
padding: i
|
|
4974
|
-
}).fn(n) : r ?
|
|
5035
|
+
}).fn(n) : r ? yc({
|
|
4975
5036
|
element: r,
|
|
4976
5037
|
padding: i
|
|
4977
5038
|
}).fn(n) : {};
|
|
4978
5039
|
}
|
|
4979
5040
|
};
|
|
4980
|
-
},
|
|
4981
|
-
let n =
|
|
5041
|
+
}, kc = (e, t) => {
|
|
5042
|
+
let n = mc(e);
|
|
4982
5043
|
return {
|
|
4983
5044
|
name: n.name,
|
|
4984
5045
|
fn: n.fn,
|
|
4985
5046
|
options: [e, t]
|
|
4986
5047
|
};
|
|
4987
|
-
},
|
|
4988
|
-
let n =
|
|
5048
|
+
}, Ac = (e, t) => {
|
|
5049
|
+
let n = hc(e);
|
|
4989
5050
|
return {
|
|
4990
5051
|
name: n.name,
|
|
4991
5052
|
fn: n.fn,
|
|
4992
5053
|
options: [e, t]
|
|
4993
5054
|
};
|
|
4994
|
-
},
|
|
4995
|
-
fn:
|
|
5055
|
+
}, jc = (e, t) => ({
|
|
5056
|
+
fn: bc(e).fn,
|
|
4996
5057
|
options: [e, t]
|
|
4997
|
-
}),
|
|
4998
|
-
let n =
|
|
5058
|
+
}), Mc = (e, t) => {
|
|
5059
|
+
let n = gc(e);
|
|
4999
5060
|
return {
|
|
5000
5061
|
name: n.name,
|
|
5001
5062
|
fn: n.fn,
|
|
5002
5063
|
options: [e, t]
|
|
5003
5064
|
};
|
|
5004
|
-
},
|
|
5005
|
-
let n =
|
|
5065
|
+
}, Nc = (e, t) => {
|
|
5066
|
+
let n = _c(e);
|
|
5006
5067
|
return {
|
|
5007
5068
|
name: n.name,
|
|
5008
5069
|
fn: n.fn,
|
|
5009
5070
|
options: [e, t]
|
|
5010
5071
|
};
|
|
5011
|
-
},
|
|
5012
|
-
let n =
|
|
5072
|
+
}, Pc = (e, t) => {
|
|
5073
|
+
let n = vc(e);
|
|
5013
5074
|
return {
|
|
5014
5075
|
name: n.name,
|
|
5015
5076
|
fn: n.fn,
|
|
5016
5077
|
options: [e, t]
|
|
5017
5078
|
};
|
|
5018
|
-
},
|
|
5019
|
-
let n =
|
|
5079
|
+
}, Fc = (e, t) => {
|
|
5080
|
+
let n = Oc(e);
|
|
5020
5081
|
return {
|
|
5021
5082
|
name: n.name,
|
|
5022
5083
|
fn: n.fn,
|
|
5023
5084
|
options: [e, t]
|
|
5024
5085
|
};
|
|
5025
|
-
},
|
|
5086
|
+
}, Ic = "Arrow", Lc = e.forwardRef((t, n) => {
|
|
5026
5087
|
let { children: r, width: i = 10, height: a = 5, ...o } = t;
|
|
5027
|
-
return /* @__PURE__ */ e.createElement(
|
|
5088
|
+
return /* @__PURE__ */ e.createElement(M.svg, {
|
|
5028
5089
|
...o,
|
|
5029
5090
|
ref: n,
|
|
5030
5091
|
width: i,
|
|
@@ -5033,13 +5094,13 @@ var wc = (e) => {
|
|
|
5033
5094
|
preserveAspectRatio: "none"
|
|
5034
5095
|
}, t.asChild ? r : /* @__PURE__ */ e.createElement("polygon", { points: "0,0 30,0 15,10" }));
|
|
5035
5096
|
});
|
|
5036
|
-
|
|
5037
|
-
var
|
|
5097
|
+
Lc.displayName = Ic;
|
|
5098
|
+
var Rc = Lc;
|
|
5038
5099
|
//#endregion
|
|
5039
5100
|
//#region ../../node_modules/@huin-core/react-use-size/dist/index.mjs
|
|
5040
|
-
function
|
|
5101
|
+
function zc(t) {
|
|
5041
5102
|
let [n, r] = e.useState(void 0);
|
|
5042
|
-
return
|
|
5103
|
+
return O(() => {
|
|
5043
5104
|
if (t) {
|
|
5044
5105
|
r({
|
|
5045
5106
|
width: t.offsetWidth,
|
|
@@ -5063,121 +5124,121 @@ function Fc(t) {
|
|
|
5063
5124
|
}
|
|
5064
5125
|
//#endregion
|
|
5065
5126
|
//#region ../../node_modules/@huin-core/react-popper/dist/index.mjs
|
|
5066
|
-
var
|
|
5127
|
+
var Bc = "Popper", [Vc, Hc] = h(Bc), [Uc, Wc] = Vc(Bc), Gc = (t) => {
|
|
5067
5128
|
let { __scopePopper: n, children: r } = t, [i, a] = e.useState(null);
|
|
5068
|
-
return /* @__PURE__ */ e.createElement(
|
|
5129
|
+
return /* @__PURE__ */ e.createElement(Uc, {
|
|
5069
5130
|
scope: n,
|
|
5070
5131
|
anchor: i,
|
|
5071
5132
|
onAnchorChange: a
|
|
5072
5133
|
}, r);
|
|
5073
5134
|
};
|
|
5074
|
-
|
|
5075
|
-
var
|
|
5076
|
-
let { __scopePopper: r, virtualRef: i, ...a } = t, o =
|
|
5135
|
+
Gc.displayName = Bc;
|
|
5136
|
+
var Kc = "PopperAnchor", qc = e.forwardRef((t, n) => {
|
|
5137
|
+
let { __scopePopper: r, virtualRef: i, ...a } = t, o = Wc(Kc, r), s = e.useRef(null), c = b(n, s);
|
|
5077
5138
|
return e.useEffect(() => {
|
|
5078
5139
|
o.onAnchorChange(i?.current || s.current);
|
|
5079
|
-
}), i ? null : /* @__PURE__ */ e.createElement(
|
|
5140
|
+
}), i ? null : /* @__PURE__ */ e.createElement(M.div, {
|
|
5080
5141
|
...a,
|
|
5081
5142
|
ref: c
|
|
5082
5143
|
});
|
|
5083
5144
|
});
|
|
5084
|
-
|
|
5085
|
-
var
|
|
5086
|
-
let { __scopePopper: r, side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, arrowPadding: c = 0, avoidCollisions: l = !0, collisionBoundary: u = [], collisionPadding: d = 0, sticky: f = "partial", hideWhenDetached: p = !1, updatePositionStrategy: m = "optimized", onPlaced: h, ...g } = t, _ =
|
|
5145
|
+
qc.displayName = Kc;
|
|
5146
|
+
var Jc = "PopperContent", [Yc, Xc] = Vc(Jc), Zc = e.forwardRef((t, n) => {
|
|
5147
|
+
let { __scopePopper: r, side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, arrowPadding: c = 0, avoidCollisions: l = !0, collisionBoundary: u = [], collisionPadding: d = 0, sticky: f = "partial", hideWhenDetached: p = !1, updatePositionStrategy: m = "optimized", onPlaced: h, ...g } = t, _ = Wc(Jc, r), [v, y] = e.useState(null), x = b(n, (e) => y(e)), [S, C] = e.useState(null), w = zc(S), T = w?.width ?? 0, E = w?.height ?? 0, D = i + (o === "center" ? "" : "-" + o), k = typeof d == "number" ? d : {
|
|
5087
5148
|
top: 0,
|
|
5088
5149
|
right: 0,
|
|
5089
5150
|
bottom: 0,
|
|
5090
5151
|
left: 0,
|
|
5091
5152
|
...d
|
|
5092
|
-
},
|
|
5093
|
-
padding:
|
|
5094
|
-
boundary:
|
|
5095
|
-
altBoundary:
|
|
5096
|
-
}, { refs:
|
|
5153
|
+
}, A = Array.isArray(u) ? u : [u], j = A.length > 0, N = {
|
|
5154
|
+
padding: k,
|
|
5155
|
+
boundary: A.filter(tl),
|
|
5156
|
+
altBoundary: j
|
|
5157
|
+
}, { refs: F, floatingStyles: I, placement: ee, isPositioned: te, middlewareData: L } = Dc({
|
|
5097
5158
|
strategy: "fixed",
|
|
5098
|
-
placement:
|
|
5099
|
-
whileElementsMounted: (...e) =>
|
|
5159
|
+
placement: D,
|
|
5160
|
+
whileElementsMounted: (...e) => pc(...e, { animationFrame: m === "always" }),
|
|
5100
5161
|
elements: { reference: _.anchor },
|
|
5101
5162
|
middleware: [
|
|
5102
|
-
|
|
5163
|
+
kc({
|
|
5103
5164
|
mainAxis: a + E,
|
|
5104
5165
|
alignmentAxis: s
|
|
5105
5166
|
}),
|
|
5106
|
-
l &&
|
|
5167
|
+
l && Ac({
|
|
5107
5168
|
mainAxis: !0,
|
|
5108
5169
|
crossAxis: !1,
|
|
5109
|
-
limiter: f === "partial" ?
|
|
5110
|
-
...
|
|
5170
|
+
limiter: f === "partial" ? jc() : void 0,
|
|
5171
|
+
...N
|
|
5111
5172
|
}),
|
|
5112
|
-
l &&
|
|
5113
|
-
|
|
5114
|
-
...
|
|
5173
|
+
l && Mc({ ...N }),
|
|
5174
|
+
Nc({
|
|
5175
|
+
...N,
|
|
5115
5176
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
5116
5177
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
5117
5178
|
o.setProperty("--huin-core-popper-available-width", `${n}px`), o.setProperty("--huin-core-popper-available-height", `${r}px`), o.setProperty("--huin-core-popper-anchor-width", `${i}px`), o.setProperty("--huin-core-popper-anchor-height", `${a}px`);
|
|
5118
5179
|
}
|
|
5119
5180
|
}),
|
|
5120
|
-
S &&
|
|
5181
|
+
S && Fc({
|
|
5121
5182
|
element: S,
|
|
5122
5183
|
padding: c
|
|
5123
5184
|
}),
|
|
5124
|
-
|
|
5185
|
+
nl({
|
|
5125
5186
|
arrowWidth: T,
|
|
5126
5187
|
arrowHeight: E
|
|
5127
5188
|
}),
|
|
5128
|
-
p &&
|
|
5189
|
+
p && Pc({
|
|
5129
5190
|
strategy: "referenceHidden",
|
|
5130
|
-
...
|
|
5191
|
+
...N
|
|
5131
5192
|
})
|
|
5132
5193
|
]
|
|
5133
|
-
}), [
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
}, [
|
|
5137
|
-
let
|
|
5138
|
-
return
|
|
5139
|
-
v &&
|
|
5194
|
+
}), [ne, R] = rl(ee), z = P(h);
|
|
5195
|
+
O(() => {
|
|
5196
|
+
te && z?.();
|
|
5197
|
+
}, [te, z]);
|
|
5198
|
+
let re = L.arrow?.x, ie = L.arrow?.y, B = L.arrow?.centerOffset !== 0, [ae, oe] = e.useState();
|
|
5199
|
+
return O(() => {
|
|
5200
|
+
v && oe(window.getComputedStyle(v).zIndex);
|
|
5140
5201
|
}, [v]), /* @__PURE__ */ e.createElement("div", {
|
|
5141
|
-
ref:
|
|
5202
|
+
ref: F.setFloating,
|
|
5142
5203
|
"data-huin-core-popper-content-wrapper": "",
|
|
5143
5204
|
style: {
|
|
5144
|
-
...
|
|
5145
|
-
transform:
|
|
5205
|
+
...I,
|
|
5206
|
+
transform: te ? I.transform : "translate(0, -200%)",
|
|
5146
5207
|
minWidth: "max-content",
|
|
5147
|
-
zIndex:
|
|
5148
|
-
"--huin-core-popper-transform-origin": [
|
|
5149
|
-
...
|
|
5208
|
+
zIndex: ae,
|
|
5209
|
+
"--huin-core-popper-transform-origin": [L.transformOrigin?.x, L.transformOrigin?.y].join(" "),
|
|
5210
|
+
...L.hide?.referenceHidden && {
|
|
5150
5211
|
visibility: "hidden",
|
|
5151
5212
|
pointerEvents: "none"
|
|
5152
5213
|
}
|
|
5153
5214
|
},
|
|
5154
5215
|
dir: t.dir
|
|
5155
|
-
}, /* @__PURE__ */ e.createElement(
|
|
5216
|
+
}, /* @__PURE__ */ e.createElement(Yc, {
|
|
5156
5217
|
scope: r,
|
|
5157
|
-
placedSide:
|
|
5218
|
+
placedSide: ne,
|
|
5158
5219
|
onArrowChange: C,
|
|
5159
|
-
arrowX:
|
|
5160
|
-
arrowY:
|
|
5161
|
-
shouldHideArrow:
|
|
5162
|
-
}, /* @__PURE__ */ e.createElement(
|
|
5163
|
-
"data-side":
|
|
5164
|
-
"data-align":
|
|
5220
|
+
arrowX: re,
|
|
5221
|
+
arrowY: ie,
|
|
5222
|
+
shouldHideArrow: B
|
|
5223
|
+
}, /* @__PURE__ */ e.createElement(M.div, {
|
|
5224
|
+
"data-side": ne,
|
|
5225
|
+
"data-align": R,
|
|
5165
5226
|
...g,
|
|
5166
5227
|
ref: x,
|
|
5167
5228
|
style: {
|
|
5168
5229
|
...g.style,
|
|
5169
|
-
animation:
|
|
5230
|
+
animation: te ? void 0 : "none"
|
|
5170
5231
|
}
|
|
5171
5232
|
})));
|
|
5172
5233
|
});
|
|
5173
|
-
|
|
5174
|
-
var
|
|
5234
|
+
Zc.displayName = Jc;
|
|
5235
|
+
var Qc = "PopperArrow", $c = {
|
|
5175
5236
|
top: "bottom",
|
|
5176
5237
|
right: "left",
|
|
5177
5238
|
bottom: "top",
|
|
5178
5239
|
left: "right"
|
|
5179
|
-
},
|
|
5180
|
-
let { __scopePopper: r, ...i } = t, a =
|
|
5240
|
+
}, el = e.forwardRef(function(t, n) {
|
|
5241
|
+
let { __scopePopper: r, ...i } = t, a = Xc(Qc, r), o = $c[a.placedSide];
|
|
5181
5242
|
return /* @__PURE__ */ e.createElement("span", {
|
|
5182
5243
|
ref: a.onArrowChange,
|
|
5183
5244
|
style: {
|
|
@@ -5199,7 +5260,7 @@ var Jc = "PopperArrow", Yc = {
|
|
|
5199
5260
|
}[a.placedSide],
|
|
5200
5261
|
visibility: a.shouldHideArrow ? "hidden" : void 0
|
|
5201
5262
|
}
|
|
5202
|
-
}, /* @__PURE__ */ e.createElement(
|
|
5263
|
+
}, /* @__PURE__ */ e.createElement(Rc, {
|
|
5203
5264
|
...i,
|
|
5204
5265
|
ref: n,
|
|
5205
5266
|
style: {
|
|
@@ -5208,15 +5269,15 @@ var Jc = "PopperArrow", Yc = {
|
|
|
5208
5269
|
}
|
|
5209
5270
|
}));
|
|
5210
5271
|
});
|
|
5211
|
-
|
|
5212
|
-
function
|
|
5272
|
+
el.displayName = Qc;
|
|
5273
|
+
function tl(e) {
|
|
5213
5274
|
return e !== null;
|
|
5214
5275
|
}
|
|
5215
|
-
var
|
|
5276
|
+
var nl = (e) => ({
|
|
5216
5277
|
name: "transformOrigin",
|
|
5217
5278
|
options: e,
|
|
5218
5279
|
fn(t) {
|
|
5219
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
5280
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = rl(n), u = {
|
|
5220
5281
|
start: "0%",
|
|
5221
5282
|
center: "50%",
|
|
5222
5283
|
end: "100%"
|
|
@@ -5227,15 +5288,15 @@ var Qc = (e) => ({
|
|
|
5227
5288
|
} };
|
|
5228
5289
|
}
|
|
5229
5290
|
});
|
|
5230
|
-
function
|
|
5291
|
+
function rl(e) {
|
|
5231
5292
|
let [t, n = "center"] = e.split("-");
|
|
5232
5293
|
return [t, n];
|
|
5233
5294
|
}
|
|
5234
|
-
var
|
|
5295
|
+
var il = Gc, al = qc, ol = Zc, sl = el, cl = kn(), ll = function() {}, ul = e.forwardRef(function(t, n) {
|
|
5235
5296
|
var r = e.useRef(null), i = e.useState({
|
|
5236
|
-
onScrollCapture:
|
|
5237
|
-
onWheelCapture:
|
|
5238
|
-
onTouchMoveCapture:
|
|
5297
|
+
onScrollCapture: ll,
|
|
5298
|
+
onWheelCapture: ll,
|
|
5299
|
+
onTouchMoveCapture: ll
|
|
5239
5300
|
}), a = i[0], o = i[1], s = t.forwardProps, c = t.children, l = t.className, u = t.removeScrollBar, d = t.enabled, f = t.shards, p = t.sideCar, m = t.noIsolation, h = t.inert, g = t.allowPinchZoom, _ = t.as, v = _ === void 0 ? "div" : _, y = t.gapMode, b = gn(t, [
|
|
5240
5301
|
"forwardProps",
|
|
5241
5302
|
"children",
|
|
@@ -5251,7 +5312,7 @@ var el = Vc, tl = Uc, nl = qc, rl = Xc, il = kn(), al = function() {}, ol = e.fo
|
|
|
5251
5312
|
"gapMode"
|
|
5252
5313
|
]), x = p, S = En([r, n]), C = J(J({}, b), a);
|
|
5253
5314
|
return e.createElement(e.Fragment, null, d && e.createElement(x, {
|
|
5254
|
-
sideCar:
|
|
5315
|
+
sideCar: cl,
|
|
5255
5316
|
removeScrollBar: u,
|
|
5256
5317
|
shards: f,
|
|
5257
5318
|
noIsolation: m,
|
|
@@ -5265,91 +5326,91 @@ var el = Vc, tl = Uc, nl = qc, rl = Xc, il = kn(), al = function() {}, ol = e.fo
|
|
|
5265
5326
|
ref: S
|
|
5266
5327
|
}), c));
|
|
5267
5328
|
});
|
|
5268
|
-
|
|
5329
|
+
ul.defaultProps = {
|
|
5269
5330
|
enabled: !0,
|
|
5270
5331
|
removeScrollBar: !0,
|
|
5271
5332
|
inert: !1
|
|
5272
|
-
},
|
|
5333
|
+
}, ul.classNames = {
|
|
5273
5334
|
fullWidth: yn,
|
|
5274
5335
|
zeroRight: vn
|
|
5275
5336
|
};
|
|
5276
5337
|
//#endregion
|
|
5277
5338
|
//#region ../../node_modules/@huin-core/react-popover/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
|
|
5278
|
-
var
|
|
5339
|
+
var dl = !1;
|
|
5279
5340
|
if (typeof window < "u") try {
|
|
5280
|
-
var
|
|
5281
|
-
return
|
|
5341
|
+
var fl = Object.defineProperty({}, "passive", { get: function() {
|
|
5342
|
+
return dl = !0, !0;
|
|
5282
5343
|
} });
|
|
5283
|
-
window.addEventListener("test",
|
|
5344
|
+
window.addEventListener("test", fl, fl), window.removeEventListener("test", fl, fl);
|
|
5284
5345
|
} catch {
|
|
5285
|
-
|
|
5346
|
+
dl = !1;
|
|
5286
5347
|
}
|
|
5287
|
-
var
|
|
5348
|
+
var pl = dl ? { passive: !1 } : !1, ml = function(e) {
|
|
5288
5349
|
return e.tagName === "TEXTAREA";
|
|
5289
|
-
},
|
|
5350
|
+
}, hl = function(e, t) {
|
|
5290
5351
|
var n = window.getComputedStyle(e);
|
|
5291
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
5292
|
-
},
|
|
5293
|
-
return
|
|
5294
|
-
},
|
|
5295
|
-
return
|
|
5296
|
-
},
|
|
5352
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !ml(e) && n[t] === "visible");
|
|
5353
|
+
}, gl = function(e) {
|
|
5354
|
+
return hl(e, "overflowY");
|
|
5355
|
+
}, _l = function(e) {
|
|
5356
|
+
return hl(e, "overflowX");
|
|
5357
|
+
}, vl = function(e, t) {
|
|
5297
5358
|
var n = t.ownerDocument, r = t;
|
|
5298
5359
|
do {
|
|
5299
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
5300
|
-
var i =
|
|
5360
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), xl(e, r)) {
|
|
5361
|
+
var i = Sl(e, r);
|
|
5301
5362
|
if (i[1] > i[2]) return !0;
|
|
5302
5363
|
}
|
|
5303
5364
|
r = r.parentNode;
|
|
5304
5365
|
} while (r && r !== n.body);
|
|
5305
5366
|
return !1;
|
|
5306
|
-
},
|
|
5367
|
+
}, yl = function(e) {
|
|
5307
5368
|
return [
|
|
5308
5369
|
e.scrollTop,
|
|
5309
5370
|
e.scrollHeight,
|
|
5310
5371
|
e.clientHeight
|
|
5311
5372
|
];
|
|
5312
|
-
},
|
|
5373
|
+
}, bl = function(e) {
|
|
5313
5374
|
return [
|
|
5314
5375
|
e.scrollLeft,
|
|
5315
5376
|
e.scrollWidth,
|
|
5316
5377
|
e.clientWidth
|
|
5317
5378
|
];
|
|
5318
|
-
},
|
|
5319
|
-
return e === "v" ?
|
|
5320
|
-
},
|
|
5321
|
-
return e === "v" ?
|
|
5322
|
-
},
|
|
5379
|
+
}, xl = function(e, t) {
|
|
5380
|
+
return e === "v" ? gl(t) : _l(t);
|
|
5381
|
+
}, Sl = function(e, t) {
|
|
5382
|
+
return e === "v" ? yl(t) : bl(t);
|
|
5383
|
+
}, Cl = function(e, t) {
|
|
5323
5384
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
5324
|
-
},
|
|
5325
|
-
var a =
|
|
5385
|
+
}, wl = function(e, t, n, r, i) {
|
|
5386
|
+
var a = Cl(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
5326
5387
|
do {
|
|
5327
|
-
var p =
|
|
5328
|
-
(m || h) &&
|
|
5388
|
+
var p = Sl(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
5389
|
+
(m || h) && xl(e, s) && (d += h, f += m), s = s instanceof ShadowRoot ? s.host : s.parentNode;
|
|
5329
5390
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
5330
5391
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
5331
|
-
},
|
|
5392
|
+
}, Tl = function(e) {
|
|
5332
5393
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
5333
|
-
},
|
|
5394
|
+
}, El = function(e) {
|
|
5334
5395
|
return [e.deltaX, e.deltaY];
|
|
5335
|
-
},
|
|
5396
|
+
}, Dl = function(e) {
|
|
5336
5397
|
return e && "current" in e ? e.current : e;
|
|
5337
|
-
},
|
|
5398
|
+
}, Ol = function(e, t) {
|
|
5338
5399
|
return e[0] === t[0] && e[1] === t[1];
|
|
5339
|
-
},
|
|
5400
|
+
}, kl = function(e) {
|
|
5340
5401
|
return `
|
|
5341
5402
|
.block-interactivity-${e} {pointer-events: none;}
|
|
5342
5403
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
5343
5404
|
`;
|
|
5344
|
-
},
|
|
5345
|
-
function
|
|
5346
|
-
var n = e.useRef([]), r = e.useRef([0, 0]), i = e.useRef(), a = e.useState(
|
|
5405
|
+
}, Al = 0, jl = [];
|
|
5406
|
+
function Ml(t) {
|
|
5407
|
+
var n = e.useRef([]), r = e.useRef([0, 0]), i = e.useRef(), a = e.useState(Al++)[0], o = e.useState(Hn)[0], s = e.useRef(t);
|
|
5347
5408
|
e.useEffect(function() {
|
|
5348
5409
|
s.current = t;
|
|
5349
5410
|
}, [t]), e.useEffect(function() {
|
|
5350
5411
|
if (t.inert) {
|
|
5351
5412
|
document.body.classList.add(`block-interactivity-${a}`);
|
|
5352
|
-
var e = _n([t.lockRef.current], (t.shards || []).map(
|
|
5413
|
+
var e = _n([t.lockRef.current], (t.shards || []).map(Dl), !0).filter(Boolean);
|
|
5353
5414
|
return e.forEach(function(e) {
|
|
5354
5415
|
return e.classList.add(`allow-interactivity-${a}`);
|
|
5355
5416
|
}), function() {
|
|
@@ -5365,26 +5426,26 @@ function Ol(t) {
|
|
|
5365
5426
|
]);
|
|
5366
5427
|
var c = e.useCallback(function(e, t) {
|
|
5367
5428
|
if ("touches" in e && e.touches.length === 2) return !s.current.allowPinchZoom;
|
|
5368
|
-
var n =
|
|
5429
|
+
var n = Tl(e), a = r.current, o = "deltaX" in e ? e.deltaX : a[0] - n[0], c = "deltaY" in e ? e.deltaY : a[1] - n[1], l, u = e.target, d = Math.abs(o) > Math.abs(c) ? "h" : "v";
|
|
5369
5430
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
5370
|
-
var f =
|
|
5431
|
+
var f = vl(d, u);
|
|
5371
5432
|
if (!f) return !0;
|
|
5372
|
-
if (f ? l = d : (l = d === "v" ? "h" : "v", f =
|
|
5433
|
+
if (f ? l = d : (l = d === "v" ? "h" : "v", f = vl(d, u)), !f) return !1;
|
|
5373
5434
|
if (!i.current && "changedTouches" in e && (o || c) && (i.current = l), !l) return !0;
|
|
5374
5435
|
var p = i.current || l;
|
|
5375
|
-
return
|
|
5436
|
+
return wl(p, t, e, p === "h" ? o : c, !0);
|
|
5376
5437
|
}, []), l = e.useCallback(function(e) {
|
|
5377
5438
|
var t = e;
|
|
5378
|
-
if (!(!
|
|
5379
|
-
var r = "deltaY" in t ?
|
|
5380
|
-
return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) &&
|
|
5439
|
+
if (!(!jl.length || jl[jl.length - 1] !== o)) {
|
|
5440
|
+
var r = "deltaY" in t ? El(t) : Tl(t), i = n.current.filter(function(e) {
|
|
5441
|
+
return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) && Ol(e.delta, r);
|
|
5381
5442
|
})[0];
|
|
5382
5443
|
if (i && i.should) {
|
|
5383
5444
|
t.cancelable && t.preventDefault();
|
|
5384
5445
|
return;
|
|
5385
5446
|
}
|
|
5386
5447
|
if (!i) {
|
|
5387
|
-
var a = (s.current.shards || []).map(
|
|
5448
|
+
var a = (s.current.shards || []).map(Dl).filter(Boolean).filter(function(e) {
|
|
5388
5449
|
return e.contains(t.target);
|
|
5389
5450
|
});
|
|
5390
5451
|
(a.length > 0 ? c(t, a[0]) : !s.current.noIsolation) && t.cancelable && t.preventDefault();
|
|
@@ -5396,7 +5457,7 @@ function Ol(t) {
|
|
|
5396
5457
|
delta: t,
|
|
5397
5458
|
target: r,
|
|
5398
5459
|
should: i,
|
|
5399
|
-
shadowParent:
|
|
5460
|
+
shadowParent: Nl(r)
|
|
5400
5461
|
};
|
|
5401
5462
|
n.current.push(a), setTimeout(function() {
|
|
5402
5463
|
n.current = n.current.filter(function(e) {
|
|
@@ -5404,50 +5465,50 @@ function Ol(t) {
|
|
|
5404
5465
|
});
|
|
5405
5466
|
}, 1);
|
|
5406
5467
|
}, []), d = e.useCallback(function(e) {
|
|
5407
|
-
r.current =
|
|
5468
|
+
r.current = Tl(e), i.current = void 0;
|
|
5408
5469
|
}, []), f = e.useCallback(function(e) {
|
|
5409
|
-
u(e.type,
|
|
5470
|
+
u(e.type, El(e), e.target, c(e, t.lockRef.current));
|
|
5410
5471
|
}, []), p = e.useCallback(function(e) {
|
|
5411
|
-
u(e.type,
|
|
5472
|
+
u(e.type, Tl(e), e.target, c(e, t.lockRef.current));
|
|
5412
5473
|
}, []);
|
|
5413
5474
|
e.useEffect(function() {
|
|
5414
|
-
return
|
|
5475
|
+
return jl.push(o), t.setCallbacks({
|
|
5415
5476
|
onScrollCapture: f,
|
|
5416
5477
|
onWheelCapture: f,
|
|
5417
5478
|
onTouchMoveCapture: p
|
|
5418
|
-
}), document.addEventListener("wheel", l,
|
|
5419
|
-
|
|
5479
|
+
}), document.addEventListener("wheel", l, pl), document.addEventListener("touchmove", l, pl), document.addEventListener("touchstart", d, pl), function() {
|
|
5480
|
+
jl = jl.filter(function(e) {
|
|
5420
5481
|
return e !== o;
|
|
5421
|
-
}), document.removeEventListener("wheel", l,
|
|
5482
|
+
}), document.removeEventListener("wheel", l, pl), document.removeEventListener("touchmove", l, pl), document.removeEventListener("touchstart", d, pl);
|
|
5422
5483
|
};
|
|
5423
5484
|
}, []);
|
|
5424
5485
|
var m = t.removeScrollBar, h = t.inert;
|
|
5425
|
-
return e.createElement(e.Fragment, null, h ? e.createElement(o, { styles:
|
|
5486
|
+
return e.createElement(e.Fragment, null, h ? e.createElement(o, { styles: kl(a) }) : null, m ? e.createElement(Qn, { gapMode: t.gapMode }) : null);
|
|
5426
5487
|
}
|
|
5427
|
-
function
|
|
5488
|
+
function Nl(e) {
|
|
5428
5489
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
5429
5490
|
return t;
|
|
5430
5491
|
}
|
|
5431
5492
|
//#endregion
|
|
5432
5493
|
//#region ../../node_modules/@huin-core/react-popover/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
5433
|
-
var
|
|
5434
|
-
return e.createElement(
|
|
5494
|
+
var Pl = jn(cl, Ml), Fl = e.forwardRef(function(t, n) {
|
|
5495
|
+
return e.createElement(ul, J({}, t, {
|
|
5435
5496
|
ref: n,
|
|
5436
|
-
sideCar:
|
|
5497
|
+
sideCar: Pl
|
|
5437
5498
|
}));
|
|
5438
5499
|
});
|
|
5439
|
-
|
|
5500
|
+
Fl.classNames = ul.classNames;
|
|
5440
5501
|
//#endregion
|
|
5441
5502
|
//#region ../../node_modules/@huin-core/react-popover/dist/index.mjs
|
|
5442
|
-
var
|
|
5443
|
-
let { __scopePopover: n, children: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !1 } = t, c =
|
|
5503
|
+
var Il = "Popover", [Ll, Rl] = h(Il, [Hc]), zl = Hc(), [Bl, Vl] = Ll(Il), Hl = (t) => {
|
|
5504
|
+
let { __scopePopover: n, children: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !1 } = t, c = zl(n), l = e.useRef(null), [u, d] = e.useState(!1), [f = !1, p] = F({
|
|
5444
5505
|
prop: i,
|
|
5445
5506
|
defaultProp: a,
|
|
5446
5507
|
onChange: o
|
|
5447
5508
|
});
|
|
5448
|
-
return /* @__PURE__ */ e.createElement(
|
|
5509
|
+
return /* @__PURE__ */ e.createElement(il, { ...c }, /* @__PURE__ */ e.createElement(Bl, {
|
|
5449
5510
|
scope: n,
|
|
5450
|
-
contentId:
|
|
5511
|
+
contentId: j(),
|
|
5451
5512
|
triggerRef: l,
|
|
5452
5513
|
open: f,
|
|
5453
5514
|
onOpenChange: p,
|
|
@@ -5458,47 +5519,47 @@ var Ml = "Popover", [Nl, Pl] = h(Ml, [Rc]), Fl = Rc(), [Il, Ll] = Nl(Ml), Rl = (
|
|
|
5458
5519
|
modal: s
|
|
5459
5520
|
}, r));
|
|
5460
5521
|
};
|
|
5461
|
-
|
|
5462
|
-
var
|
|
5463
|
-
let { __scopePopover: r, ...i } = e, a =
|
|
5464
|
-
return t.useEffect(() => (s(), () => c()), [s, c]), /* @__PURE__ */ t.createElement(
|
|
5522
|
+
Hl.displayName = Il;
|
|
5523
|
+
var Ul = Hl, Wl = "PopoverAnchor", Gl = t.forwardRef((e, n) => {
|
|
5524
|
+
let { __scopePopover: r, ...i } = e, a = Vl(Wl, r), o = zl(r), { onCustomAnchorAdd: s, onCustomAnchorRemove: c } = a;
|
|
5525
|
+
return t.useEffect(() => (s(), () => c()), [s, c]), /* @__PURE__ */ t.createElement(al, {
|
|
5465
5526
|
...o,
|
|
5466
5527
|
...i,
|
|
5467
5528
|
ref: n
|
|
5468
5529
|
});
|
|
5469
5530
|
});
|
|
5470
|
-
|
|
5471
|
-
var
|
|
5472
|
-
let { __scopePopover: n, forceMount: r, children: i, container: a } = e, o =
|
|
5473
|
-
return /* @__PURE__ */ t.createElement(
|
|
5531
|
+
Gl.displayName = Wl;
|
|
5532
|
+
var Kl = "PopoverPortal", [ql, Jl] = Ll(Kl, { forceMount: void 0 }), Yl = (e) => {
|
|
5533
|
+
let { __scopePopover: n, forceMount: r, children: i, container: a } = e, o = Vl(Kl, n);
|
|
5534
|
+
return /* @__PURE__ */ t.createElement(ql, {
|
|
5474
5535
|
scope: n,
|
|
5475
5536
|
forceMount: r
|
|
5476
|
-
}, /* @__PURE__ */ t.createElement(
|
|
5537
|
+
}, /* @__PURE__ */ t.createElement(be, { present: r || o.open }, /* @__PURE__ */ t.createElement(hn, {
|
|
5477
5538
|
asChild: !0,
|
|
5478
5539
|
container: a
|
|
5479
5540
|
}, i)));
|
|
5480
5541
|
};
|
|
5481
|
-
|
|
5482
|
-
var
|
|
5483
|
-
let r =
|
|
5484
|
-
return /* @__PURE__ */ t.createElement(
|
|
5542
|
+
Yl.displayName = Kl;
|
|
5543
|
+
var Xl = "PopoverContent", Zl = t.forwardRef((e, n) => {
|
|
5544
|
+
let r = Jl(Xl, e.__scopePopover), { forceMount: i = r.forceMount, ...a } = e, o = Vl(Xl, e.__scopePopover);
|
|
5545
|
+
return /* @__PURE__ */ t.createElement(be, { present: i || o.open }, o.modal ? /* @__PURE__ */ t.createElement(Ql, {
|
|
5485
5546
|
...a,
|
|
5486
5547
|
ref: n
|
|
5487
|
-
}) : /* @__PURE__ */ t.createElement(
|
|
5548
|
+
}) : /* @__PURE__ */ t.createElement($l, {
|
|
5488
5549
|
...a,
|
|
5489
5550
|
ref: n
|
|
5490
5551
|
}));
|
|
5491
5552
|
});
|
|
5492
|
-
|
|
5493
|
-
var
|
|
5494
|
-
let r =
|
|
5553
|
+
Zl.displayName = Xl;
|
|
5554
|
+
var Ql = t.forwardRef((e, n) => {
|
|
5555
|
+
let r = Vl(Xl, e.__scopePopover), i = t.useRef(null), a = b(n, i), o = t.useRef(!1);
|
|
5495
5556
|
return t.useEffect(() => {
|
|
5496
5557
|
let e = i.current;
|
|
5497
5558
|
if (e) return Mr(e);
|
|
5498
|
-
}, []), /* @__PURE__ */ t.createElement(
|
|
5559
|
+
}, []), /* @__PURE__ */ t.createElement(Fl, {
|
|
5499
5560
|
as: x,
|
|
5500
5561
|
allowPinchZoom: !0
|
|
5501
|
-
}, /* @__PURE__ */ t.createElement(
|
|
5562
|
+
}, /* @__PURE__ */ t.createElement(eu, {
|
|
5502
5563
|
...e,
|
|
5503
5564
|
ref: a,
|
|
5504
5565
|
trapFocus: r.open,
|
|
@@ -5512,9 +5573,9 @@ var Jl = t.forwardRef((e, n) => {
|
|
|
5512
5573
|
}, { checkForDefaultPrevented: !1 }),
|
|
5513
5574
|
onFocusOutside: _(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
5514
5575
|
}));
|
|
5515
|
-
}),
|
|
5516
|
-
let r =
|
|
5517
|
-
return /* @__PURE__ */ t.createElement(
|
|
5576
|
+
}), $l = t.forwardRef((e, n) => {
|
|
5577
|
+
let r = Vl(Xl, e.__scopePopover), i = t.useRef(!1), a = t.useRef(!1);
|
|
5578
|
+
return /* @__PURE__ */ t.createElement(eu, {
|
|
5518
5579
|
...e,
|
|
5519
5580
|
ref: n,
|
|
5520
5581
|
trapFocus: !1,
|
|
@@ -5528,8 +5589,8 @@ var Jl = t.forwardRef((e, n) => {
|
|
|
5528
5589
|
r.triggerRef.current?.contains(n) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && a.current && t.preventDefault();
|
|
5529
5590
|
}
|
|
5530
5591
|
});
|
|
5531
|
-
}),
|
|
5532
|
-
let { __scopePopover: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, ...f } = e, p =
|
|
5592
|
+
}), eu = t.forwardRef((e, n) => {
|
|
5593
|
+
let { __scopePopover: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, ...f } = e, p = Vl(Xl, r), m = zl(r);
|
|
5533
5594
|
return ui(), /* @__PURE__ */ t.createElement(Zr, {
|
|
5534
5595
|
asChild: !0,
|
|
5535
5596
|
loop: !0,
|
|
@@ -5544,8 +5605,8 @@ var Jl = t.forwardRef((e, n) => {
|
|
|
5544
5605
|
onPointerDownOutside: l,
|
|
5545
5606
|
onFocusOutside: u,
|
|
5546
5607
|
onDismiss: () => p.onOpenChange(!1)
|
|
5547
|
-
}, /* @__PURE__ */ t.createElement(
|
|
5548
|
-
"data-state":
|
|
5608
|
+
}, /* @__PURE__ */ t.createElement(ol, {
|
|
5609
|
+
"data-state": tu(p.open),
|
|
5549
5610
|
role: "dialog",
|
|
5550
5611
|
id: p.contentId,
|
|
5551
5612
|
...m,
|
|
@@ -5561,58 +5622,58 @@ var Jl = t.forwardRef((e, n) => {
|
|
|
5561
5622
|
}
|
|
5562
5623
|
})));
|
|
5563
5624
|
});
|
|
5564
|
-
function
|
|
5625
|
+
function tu(e) {
|
|
5565
5626
|
return e ? "open" : "closed";
|
|
5566
5627
|
}
|
|
5567
|
-
var
|
|
5568
|
-
let { __scopePopover: r, ...i } = e, a =
|
|
5628
|
+
var nu = "PopoverTrigger", ru = t.forwardRef((e, n) => {
|
|
5629
|
+
let { __scopePopover: r, ...i } = e, a = Vl(nu, r), o = zl(r), s = b(n, a.triggerRef), c = /* @__PURE__ */ t.createElement(M.button, {
|
|
5569
5630
|
type: "button",
|
|
5570
5631
|
"aria-haspopup": "dialog",
|
|
5571
5632
|
"aria-expanded": a.open,
|
|
5572
5633
|
"aria-controls": a.contentId,
|
|
5573
|
-
"data-state":
|
|
5634
|
+
"data-state": tu(a.open),
|
|
5574
5635
|
...i,
|
|
5575
5636
|
ref: s,
|
|
5576
5637
|
onClick: _(e.onClick, a.onOpenToggle)
|
|
5577
5638
|
});
|
|
5578
|
-
return a.hasCustomAnchor ? c : /* @__PURE__ */ t.createElement(
|
|
5639
|
+
return a.hasCustomAnchor ? c : /* @__PURE__ */ t.createElement(al, {
|
|
5579
5640
|
asChild: !0,
|
|
5580
5641
|
...o
|
|
5581
5642
|
}, c);
|
|
5582
5643
|
});
|
|
5583
|
-
|
|
5584
|
-
var
|
|
5585
|
-
let { __scopePopover: r, ...i } = e, a =
|
|
5586
|
-
return /* @__PURE__ */ t.createElement(
|
|
5644
|
+
ru.displayName = nu;
|
|
5645
|
+
var iu = "PopoverClose", au = t.forwardRef((e, n) => {
|
|
5646
|
+
let { __scopePopover: r, ...i } = e, a = Vl(iu, r);
|
|
5647
|
+
return /* @__PURE__ */ t.createElement(M.button, {
|
|
5587
5648
|
type: "button",
|
|
5588
5649
|
...i,
|
|
5589
5650
|
ref: n,
|
|
5590
5651
|
onClick: _(e.onClick, () => a.onOpenChange(!1))
|
|
5591
5652
|
});
|
|
5592
5653
|
});
|
|
5593
|
-
|
|
5594
|
-
var
|
|
5595
|
-
let { __scopePopover: r, ...i } = e, a =
|
|
5596
|
-
return /* @__PURE__ */ t.createElement(
|
|
5654
|
+
au.displayName = iu;
|
|
5655
|
+
var ou = "PopoverArrow", su = t.forwardRef((e, n) => {
|
|
5656
|
+
let { __scopePopover: r, ...i } = e, a = zl(r);
|
|
5657
|
+
return /* @__PURE__ */ t.createElement(sl, {
|
|
5597
5658
|
...a,
|
|
5598
5659
|
...i,
|
|
5599
5660
|
ref: n
|
|
5600
5661
|
});
|
|
5601
5662
|
});
|
|
5602
|
-
|
|
5663
|
+
su.displayName = ou;
|
|
5603
5664
|
//#endregion
|
|
5604
5665
|
//#region src/ui/components/Popover.tsx
|
|
5605
|
-
var
|
|
5666
|
+
var cu = Ul, lu = ru, uu = e.forwardRef(({ className: t, align: n = "center", sideOffset: r = 4, ...i }, a) => /* @__PURE__ */ e.createElement(Yl, null, /* @__PURE__ */ e.createElement("div", { className: "sentinel-root" }, /* @__PURE__ */ e.createElement(Zl, {
|
|
5606
5667
|
ref: a,
|
|
5607
5668
|
align: n,
|
|
5608
5669
|
sideOffset: r,
|
|
5609
5670
|
className: G("z-[10000] w-72 rounded-md border bg-popover p-4! text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
|
|
5610
5671
|
...i
|
|
5611
5672
|
}))));
|
|
5612
|
-
|
|
5673
|
+
uu.displayName = Zl.displayName;
|
|
5613
5674
|
//#endregion
|
|
5614
5675
|
//#region ../../node_modules/@huin-core/react-use-previous/dist/index.mjs
|
|
5615
|
-
function
|
|
5676
|
+
function du(t) {
|
|
5616
5677
|
let n = e.useRef({
|
|
5617
5678
|
value: t,
|
|
5618
5679
|
previous: t
|
|
@@ -5621,22 +5682,22 @@ function su(t) {
|
|
|
5621
5682
|
}
|
|
5622
5683
|
//#endregion
|
|
5623
5684
|
//#region ../../node_modules/@huin-core/react-switch/dist/index.mjs
|
|
5624
|
-
var
|
|
5625
|
-
let { __scopeSwitch: r, name: i, checked: a, defaultChecked: o, required: s, disabled: c, value: l = "on", onCheckedChange: u, form: d, ...f } = t, [p, m] = e.useState(null), h = b(n, (e) => m(e)), g = e.useRef(!1), v = p ? !!p.closest("form") : !0, [y = !1, x] =
|
|
5685
|
+
var fu = "Switch", [pu] = h(fu), [mu, hu] = pu(fu), gu = e.forwardRef((t, n) => {
|
|
5686
|
+
let { __scopeSwitch: r, name: i, checked: a, defaultChecked: o, required: s, disabled: c, value: l = "on", onCheckedChange: u, form: d, ...f } = t, [p, m] = e.useState(null), h = b(n, (e) => m(e)), g = e.useRef(!1), v = p ? !!p.closest("form") : !0, [y = !1, x] = F({
|
|
5626
5687
|
prop: a,
|
|
5627
5688
|
defaultProp: o,
|
|
5628
5689
|
onChange: u
|
|
5629
5690
|
});
|
|
5630
|
-
return /* @__PURE__ */ e.createElement(
|
|
5691
|
+
return /* @__PURE__ */ e.createElement(mu, {
|
|
5631
5692
|
scope: r,
|
|
5632
5693
|
checked: y,
|
|
5633
5694
|
disabled: c
|
|
5634
|
-
}, /* @__PURE__ */ e.createElement(
|
|
5695
|
+
}, /* @__PURE__ */ e.createElement(M.button, {
|
|
5635
5696
|
type: "button",
|
|
5636
5697
|
role: "switch",
|
|
5637
5698
|
"aria-checked": y,
|
|
5638
5699
|
"aria-required": s,
|
|
5639
|
-
"data-state":
|
|
5700
|
+
"data-state": vu(y),
|
|
5640
5701
|
"data-disabled": c ? "" : void 0,
|
|
5641
5702
|
disabled: c,
|
|
5642
5703
|
value: l,
|
|
@@ -5645,7 +5706,7 @@ var cu = "Switch", [lu] = h(cu), [uu, du] = lu(cu), fu = e.forwardRef((t, n) =>
|
|
|
5645
5706
|
onClick: _(t.onClick, (e) => {
|
|
5646
5707
|
x((e) => !e), v && (g.current = e.isPropagationStopped(), g.current || e.stopPropagation());
|
|
5647
5708
|
})
|
|
5648
|
-
}), v && /* @__PURE__ */ e.createElement(
|
|
5709
|
+
}), v && /* @__PURE__ */ e.createElement(_u, {
|
|
5649
5710
|
control: p,
|
|
5650
5711
|
bubbles: !g.current,
|
|
5651
5712
|
name: i,
|
|
@@ -5657,9 +5718,9 @@ var cu = "Switch", [lu] = h(cu), [uu, du] = lu(cu), fu = e.forwardRef((t, n) =>
|
|
|
5657
5718
|
style: { transform: "translateX(-100%)" }
|
|
5658
5719
|
}));
|
|
5659
5720
|
});
|
|
5660
|
-
|
|
5661
|
-
var
|
|
5662
|
-
let { control: n, checked: r, bubbles: i = !0, ...a } = t, o = e.useRef(null), s =
|
|
5721
|
+
gu.displayName = fu;
|
|
5722
|
+
var _u = (t) => {
|
|
5723
|
+
let { control: n, checked: r, bubbles: i = !0, ...a } = t, o = e.useRef(null), s = du(r), c = zc(n);
|
|
5663
5724
|
return e.useEffect(() => {
|
|
5664
5725
|
let e = o.current, t = window.HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(t, "checked").set;
|
|
5665
5726
|
if (s !== r && n) {
|
|
@@ -5687,92 +5748,83 @@ var pu = (t) => {
|
|
|
5687
5748
|
}
|
|
5688
5749
|
});
|
|
5689
5750
|
};
|
|
5690
|
-
function
|
|
5751
|
+
function vu(e) {
|
|
5691
5752
|
return e ? "checked" : "unchecked";
|
|
5692
5753
|
}
|
|
5693
|
-
var
|
|
5694
|
-
let { __scopeSwitch: r, ...i } = e, a =
|
|
5695
|
-
return /* @__PURE__ */ t.createElement(
|
|
5696
|
-
"data-state":
|
|
5754
|
+
var yu = gu, bu = "SwitchThumb", xu = t.forwardRef((e, n) => {
|
|
5755
|
+
let { __scopeSwitch: r, ...i } = e, a = hu(bu, r);
|
|
5756
|
+
return /* @__PURE__ */ t.createElement(M.span, {
|
|
5757
|
+
"data-state": vu(a.checked),
|
|
5697
5758
|
"data-disabled": a.disabled ? "" : void 0,
|
|
5698
5759
|
...i,
|
|
5699
5760
|
ref: n
|
|
5700
5761
|
});
|
|
5701
5762
|
});
|
|
5702
|
-
|
|
5763
|
+
xu.displayName = bu;
|
|
5703
5764
|
//#endregion
|
|
5704
5765
|
//#region src/ui/components/Switch.tsx
|
|
5705
|
-
var
|
|
5766
|
+
var Su = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(yu, {
|
|
5706
5767
|
className: G("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", t),
|
|
5707
5768
|
...n,
|
|
5708
5769
|
ref: r
|
|
5709
|
-
}, /* @__PURE__ */ e.createElement(
|
|
5710
|
-
|
|
5770
|
+
}, /* @__PURE__ */ e.createElement(xu, { className: G("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })));
|
|
5771
|
+
Su.displayName = yu.displayName;
|
|
5711
5772
|
//#endregion
|
|
5712
5773
|
//#region ../../node_modules/@huin-core/react-label/dist/index.mjs
|
|
5713
|
-
var
|
|
5774
|
+
var Cu = "Label", wu = e.forwardRef(({ ...t }, n) => /* @__PURE__ */ e.createElement(M.label, {
|
|
5714
5775
|
...t,
|
|
5715
5776
|
ref: n,
|
|
5716
5777
|
onMouseDown: (e) => {
|
|
5717
5778
|
e.target.closest("button, input, select, textarea") || (t.onMouseDown?.(e), !e.defaultPrevented && e.detail > 1 && e.preventDefault());
|
|
5718
5779
|
}
|
|
5719
5780
|
}));
|
|
5720
|
-
|
|
5721
|
-
var
|
|
5781
|
+
wu.displayName = Cu;
|
|
5782
|
+
var Tu = wu, Eu = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(wu, {
|
|
5722
5783
|
ref: r,
|
|
5723
5784
|
className: G("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", t),
|
|
5724
5785
|
...n
|
|
5725
5786
|
}));
|
|
5726
|
-
|
|
5787
|
+
Eu.displayName = Tu.displayName;
|
|
5727
5788
|
//#endregion
|
|
5728
5789
|
//#region ../../node_modules/@huin-core/react-separator/dist/index.mjs
|
|
5729
|
-
var
|
|
5730
|
-
let { decorative: r, orientation: i =
|
|
5790
|
+
var Du = "Separator", Ou = "horizontal", ku = ["horizontal", "vertical"], Au = e.forwardRef((t, n) => {
|
|
5791
|
+
let { decorative: r, orientation: i = Ou, ...a } = t, o = ju(i) ? i : Ou, s = r ? { role: "none" } : {
|
|
5731
5792
|
"aria-orientation": o === "vertical" ? o : void 0,
|
|
5732
5793
|
role: "separator"
|
|
5733
5794
|
};
|
|
5734
|
-
return /* @__PURE__ */ e.createElement(
|
|
5795
|
+
return /* @__PURE__ */ e.createElement(M.div, {
|
|
5735
5796
|
"data-orientation": o,
|
|
5736
5797
|
...s,
|
|
5737
5798
|
...a,
|
|
5738
5799
|
ref: n
|
|
5739
5800
|
});
|
|
5740
5801
|
});
|
|
5741
|
-
|
|
5742
|
-
function
|
|
5743
|
-
return
|
|
5802
|
+
Au.displayName = Du;
|
|
5803
|
+
function ju(e) {
|
|
5804
|
+
return ku.includes(e);
|
|
5744
5805
|
}
|
|
5745
|
-
var
|
|
5806
|
+
var Mu = Au, Nu = e.forwardRef(({ className: t, orientation: n = "horizontal", decorative: r = !0, ...i }, a) => /* @__PURE__ */ e.createElement(Mu, {
|
|
5746
5807
|
ref: a,
|
|
5747
5808
|
decorative: r,
|
|
5748
5809
|
orientation: n,
|
|
5749
5810
|
className: G("shrink-0 bg-border", n === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", t),
|
|
5750
5811
|
...i
|
|
5751
5812
|
}));
|
|
5752
|
-
|
|
5753
|
-
//#endregion
|
|
5754
|
-
//#region src/ui/components/Input.tsx
|
|
5755
|
-
var Au = e.forwardRef(({ className: t, type: n, ...r }, i) => /* @__PURE__ */ e.createElement(j.input, {
|
|
5756
|
-
type: n,
|
|
5757
|
-
className: G("flex h-10 w-full rounded-md border border-input bg-background px-3! py-2! text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", t),
|
|
5758
|
-
ref: i,
|
|
5759
|
-
...r
|
|
5760
|
-
}));
|
|
5761
|
-
Au.displayName = "Input";
|
|
5813
|
+
Nu.displayName = Mu.displayName;
|
|
5762
5814
|
//#endregion
|
|
5763
5815
|
//#region src/saga/createSentinelSagaMonitor.ts
|
|
5764
|
-
var
|
|
5816
|
+
var Pu = 100, Fu = (e) => {
|
|
5765
5817
|
if (e == null) return e;
|
|
5766
5818
|
try {
|
|
5767
5819
|
return JSON.parse(JSON.stringify(e));
|
|
5768
5820
|
} catch {
|
|
5769
5821
|
return null;
|
|
5770
5822
|
}
|
|
5771
|
-
},
|
|
5823
|
+
}, Iu = (e) => {
|
|
5772
5824
|
if (e == null) return e;
|
|
5773
5825
|
if (typeof e == "object" && "data" in e && "status" in e) {
|
|
5774
5826
|
let t = e, n = t.config;
|
|
5775
|
-
return
|
|
5827
|
+
return Fu({
|
|
5776
5828
|
status: t.status,
|
|
5777
5829
|
statusText: t.statusText,
|
|
5778
5830
|
data: t.data,
|
|
@@ -5786,10 +5838,10 @@ var ju = 100, Mu = (e) => {
|
|
|
5786
5838
|
} : void 0
|
|
5787
5839
|
});
|
|
5788
5840
|
}
|
|
5789
|
-
return
|
|
5790
|
-
},
|
|
5841
|
+
return Fu(e);
|
|
5842
|
+
}, Lu = () => {
|
|
5791
5843
|
let e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), n = () => t.forEach((e) => e()), r = () => {
|
|
5792
|
-
e.size >
|
|
5844
|
+
e.size > Pu && e.delete(e.keys().next().value);
|
|
5793
5845
|
};
|
|
5794
5846
|
return {
|
|
5795
5847
|
effectTriggered({ effectId: t, parentEffectId: i, effect: a }) {
|
|
@@ -5846,50 +5898,28 @@ var ju = 100, Mu = (e) => {
|
|
|
5846
5898
|
status: e.status,
|
|
5847
5899
|
startedAt: e.startedAt,
|
|
5848
5900
|
duration: e.duration,
|
|
5849
|
-
args:
|
|
5850
|
-
result:
|
|
5851
|
-
error: e.error === void 0 ? void 0 :
|
|
5901
|
+
args: Fu(e.args) ?? [],
|
|
5902
|
+
result: Iu(e.result),
|
|
5903
|
+
error: e.error === void 0 ? void 0 : Fu(e.error instanceof Error ? e.error.message : e.error) ?? String(e.error)
|
|
5852
5904
|
}));
|
|
5853
5905
|
},
|
|
5854
5906
|
_clear() {
|
|
5855
5907
|
e.clear(), n();
|
|
5856
5908
|
}
|
|
5857
5909
|
};
|
|
5858
|
-
},
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
let n = t.toLowerCase();
|
|
5872
|
-
if (typeof e != "object" || !e) return String(e).toLowerCase().includes(n) ? e : void 0;
|
|
5873
|
-
if (Array.isArray(e)) {
|
|
5874
|
-
let n = e.map((e) => Iu(e, t)).filter((e) => e !== void 0);
|
|
5875
|
-
return n.length > 0 ? n : void 0;
|
|
5876
|
-
}
|
|
5877
|
-
let r = {};
|
|
5878
|
-
for (let [i, a] of Object.entries(e)) if (i.toLowerCase().includes(n)) r[i] = a;
|
|
5879
|
-
else {
|
|
5880
|
-
let e = Iu(a, t);
|
|
5881
|
-
e !== void 0 && (r[i] = e);
|
|
5882
|
-
}
|
|
5883
|
-
return Object.keys(r).length > 0 ? r : void 0;
|
|
5884
|
-
}, Lu = ({ state: e }) => {
|
|
5885
|
-
let [n, r] = t.useState(""), [i, a] = t.useState(!1), o = Iu(e, n), s = typeof e == "object" && !!e && !Array.isArray(e), c = s ? Object.entries(e) : [], l = ({ value: e, collapseDepth: r }) => {
|
|
5886
|
-
let i = Iu(e, n);
|
|
5887
|
-
return i === void 0 ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground italic" }, "No results for \"", n, "\"") : /* @__PURE__ */ t.createElement(pa, {
|
|
5888
|
-
value: i,
|
|
5889
|
-
collapseFromDepth: r
|
|
5890
|
-
});
|
|
5891
|
-
};
|
|
5892
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "py-3! space-y-2!" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-1.5" }, /* @__PURE__ */ t.createElement(Au, {
|
|
5910
|
+
}, Ru = ({ items: e, openKeys: n, collapseDepth: r, search: i }) => e.length === 0 ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground italic text-xs px-1" }, "No results for \"", i, "\"") : /* @__PURE__ */ t.createElement(go, {
|
|
5911
|
+
type: "multiple",
|
|
5912
|
+
value: n,
|
|
5913
|
+
className: "w-full font-mono text-xs"
|
|
5914
|
+
}, e.map(({ key: e, displayValue: n }) => /* @__PURE__ */ t.createElement(_o, {
|
|
5915
|
+
key: e,
|
|
5916
|
+
value: e
|
|
5917
|
+
}, /* @__PURE__ */ t.createElement(yo, { className: "py-2 px-2 hover:no-underline hover:bg-muted/50 rounded font-mono text-xs font-normal" }, /* @__PURE__ */ t.createElement("span", { className: "flex-1 text-left truncate text-foreground" }, e), /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground text-xs mr-2 shrink-0 font-normal" }, So(n))), /* @__PURE__ */ t.createElement(bo, { className: "pb-2! pt-0 px-1" }, /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-2! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, /* @__PURE__ */ t.createElement(pa, {
|
|
5918
|
+
value: n,
|
|
5919
|
+
collapseFromDepth: r
|
|
5920
|
+
})))))), zu = ({ state: e }) => {
|
|
5921
|
+
let [n, r] = t.useState(""), [i, a] = t.useState(!1), o = typeof e == "object" && !!e && !Array.isArray(e), s = t.useMemo(() => o ? Object.entries(e) : [], [o, e]), c = t.useMemo(() => wo(s, n), [s, n]), l = n ? c.map((e) => e.key) : void 0, u = Co(e, n);
|
|
5922
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "py-3! space-y-2!" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-1.5" }, /* @__PURE__ */ t.createElement(xo, {
|
|
5893
5923
|
placeholder: "Search state…",
|
|
5894
5924
|
value: n,
|
|
5895
5925
|
onChange: (e) => r(e.target.value),
|
|
@@ -5898,44 +5928,36 @@ var ju = 100, Mu = (e) => {
|
|
|
5898
5928
|
onClick: () => a(!0),
|
|
5899
5929
|
title: "Expand",
|
|
5900
5930
|
className: "shrink-0 text-muted-foreground hover:text-foreground transition-colors"
|
|
5901
|
-
}, /* @__PURE__ */ t.createElement(mo, { size: 14 }))), /* @__PURE__ */ t.createElement("div", { className: "max-h-60 overflow-y-auto" },
|
|
5902
|
-
|
|
5931
|
+
}, /* @__PURE__ */ t.createElement(mo, { size: 14 }))), /* @__PURE__ */ t.createElement("div", { className: "max-h-60 overflow-y-auto" }, o && s.length > 0 ? /* @__PURE__ */ t.createElement(Ru, {
|
|
5932
|
+
items: c,
|
|
5933
|
+
openKeys: l,
|
|
5934
|
+
collapseDepth: 1,
|
|
5935
|
+
search: n
|
|
5936
|
+
}) : /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-3! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, u === void 0 ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground italic" }, "No results for \"", n, "\"") : /* @__PURE__ */ t.createElement(pa, {
|
|
5937
|
+
value: u,
|
|
5903
5938
|
collapseFromDepth: 1
|
|
5904
|
-
}))
|
|
5905
|
-
type: "multiple",
|
|
5906
|
-
className: "w-full font-mono text-xs"
|
|
5907
|
-
}, c.map(([e, n]) => /* @__PURE__ */ t.createElement(_o, {
|
|
5908
|
-
key: e,
|
|
5909
|
-
value: e
|
|
5910
|
-
}, /* @__PURE__ */ t.createElement(yo, { className: "py-2 px-2 hover:no-underline hover:bg-muted/50 rounded font-mono text-xs font-normal" }, /* @__PURE__ */ t.createElement("span", { className: "flex-1 text-left truncate text-foreground" }, e), /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground text-xs mr-2 shrink-0 font-normal" }, Fu(n))), /* @__PURE__ */ t.createElement(bo, { className: "pb-2! pt-0 px-1" }, /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-2! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, /* @__PURE__ */ t.createElement(l, {
|
|
5911
|
-
value: n,
|
|
5912
|
-
collapseDepth: 1
|
|
5913
|
-
})))))))), /* @__PURE__ */ t.createElement(Qi, {
|
|
5939
|
+
})))), /* @__PURE__ */ t.createElement(Qi, {
|
|
5914
5940
|
open: i,
|
|
5915
5941
|
onOpenChange: a
|
|
5916
|
-
}, /* @__PURE__ */ t.createElement(ta, { className: "flex flex-col overflow-hidden" }, /* @__PURE__ */ t.createElement(na, null, /* @__PURE__ */ t.createElement(ia, null, "Redux State")), /* @__PURE__ */ t.createElement(
|
|
5942
|
+
}, /* @__PURE__ */ t.createElement(ta, { className: "flex flex-col overflow-hidden" }, /* @__PURE__ */ t.createElement(na, null, /* @__PURE__ */ t.createElement(ia, null, "Redux State")), /* @__PURE__ */ t.createElement(xo, {
|
|
5917
5943
|
placeholder: "Search state…",
|
|
5918
5944
|
value: n,
|
|
5919
5945
|
onChange: (e) => r(e.target.value),
|
|
5920
5946
|
className: "h-8 text-sm shrink-0"
|
|
5921
|
-
}), /* @__PURE__ */ t.createElement("div", { className: "overflow-y-auto min-h-0 flex-1" },
|
|
5922
|
-
|
|
5947
|
+
}), /* @__PURE__ */ t.createElement("div", { className: "overflow-y-auto min-h-0 flex-1" }, o && s.length > 0 ? /* @__PURE__ */ t.createElement(Ru, {
|
|
5948
|
+
items: c,
|
|
5949
|
+
openKeys: l,
|
|
5950
|
+
collapseDepth: 2,
|
|
5951
|
+
search: n
|
|
5952
|
+
}) : /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-4! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, u === void 0 ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground italic" }, "No results for \"", n, "\"") : /* @__PURE__ */ t.createElement(pa, {
|
|
5953
|
+
value: u,
|
|
5923
5954
|
collapseFromDepth: 2
|
|
5924
|
-
}))
|
|
5925
|
-
|
|
5926
|
-
className: "w-full font-mono text-xs"
|
|
5927
|
-
}, c.map(([e, n]) => /* @__PURE__ */ t.createElement(_o, {
|
|
5928
|
-
key: e,
|
|
5929
|
-
value: e
|
|
5930
|
-
}, /* @__PURE__ */ t.createElement(yo, { className: "py-2 px-2 hover:no-underline hover:bg-muted/50 rounded font-mono text-xs font-normal" }, /* @__PURE__ */ t.createElement("span", { className: "flex-1 text-left truncate text-foreground" }, e), /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground text-xs mr-2 shrink-0 font-normal" }, Fu(n))), /* @__PURE__ */ t.createElement(bo, { className: "pb-2! pt-0 px-1" }, /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-2! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, /* @__PURE__ */ t.createElement(l, {
|
|
5931
|
-
value: n,
|
|
5932
|
-
collapseDepth: 2
|
|
5933
|
-
}))))))))));
|
|
5934
|
-
}, Ru = ({ store: e, serverState: n }) => {
|
|
5955
|
+
}))))));
|
|
5956
|
+
}, Bu = ({ store: e, serverState: n }) => {
|
|
5935
5957
|
let [r, i] = t.useState(e?.getState());
|
|
5936
5958
|
return t.useEffect(() => {
|
|
5937
5959
|
if (e) return i(e.getState()), e.subscribe(() => i(e.getState()));
|
|
5938
|
-
}, [e]), n == null ? e ? /* @__PURE__ */ t.createElement(
|
|
5960
|
+
}, [e]), n == null ? e ? /* @__PURE__ */ t.createElement(zu, { state: r }) : /* @__PURE__ */ t.createElement("div", { className: "py-6 text-center text-sm text-muted-foreground" }, "No store connected.", /* @__PURE__ */ t.createElement("span", { className: "block mt-1 text-xs font-mono" }, "<SentinelProvider store={store}>")) : /* @__PURE__ */ t.createElement(fn, { defaultValue: "server" }, /* @__PURE__ */ t.createElement(pn, { className: "grid w-full grid-cols-2 mx-0 rounded-none border-b bg-transparent h-8 gap-1 mt-2" }, /* @__PURE__ */ t.createElement(K, {
|
|
5939
5961
|
value: "client",
|
|
5940
5962
|
className: "text-xs"
|
|
5941
5963
|
}, "Client"), /* @__PURE__ */ t.createElement(K, {
|
|
@@ -5944,27 +5966,27 @@ var ju = 100, Mu = (e) => {
|
|
|
5944
5966
|
}, "Server")), /* @__PURE__ */ t.createElement(q, {
|
|
5945
5967
|
value: "client",
|
|
5946
5968
|
className: "mt-0"
|
|
5947
|
-
}, e ? /* @__PURE__ */ t.createElement(
|
|
5969
|
+
}, e ? /* @__PURE__ */ t.createElement(zu, { state: r }) : /* @__PURE__ */ t.createElement("div", { className: "py-4 text-center text-xs text-muted-foreground" }, "No client store connected.")), /* @__PURE__ */ t.createElement(q, {
|
|
5948
5970
|
value: "server",
|
|
5949
5971
|
className: "mt-0"
|
|
5950
|
-
}, /* @__PURE__ */ t.createElement(
|
|
5951
|
-
},
|
|
5972
|
+
}, /* @__PURE__ */ t.createElement(zu, { state: n })));
|
|
5973
|
+
}, Vu = {
|
|
5952
5974
|
pending: "⏳",
|
|
5953
5975
|
resolved: "✓",
|
|
5954
5976
|
rejected: "✗",
|
|
5955
5977
|
cancelled: "⊘"
|
|
5956
|
-
},
|
|
5978
|
+
}, Hu = {
|
|
5957
5979
|
pending: "text-amber-400",
|
|
5958
5980
|
resolved: "text-emerald-400",
|
|
5959
5981
|
rejected: "text-red-400",
|
|
5960
5982
|
cancelled: "text-muted-foreground"
|
|
5961
|
-
},
|
|
5983
|
+
}, Uu = ({ effects: e }) => e.length === 0 ? /* @__PURE__ */ t.createElement("div", { className: "py-4 text-center text-xs text-muted-foreground" }, "No calls captured yet.") : /* @__PURE__ */ t.createElement(go, {
|
|
5962
5984
|
type: "multiple",
|
|
5963
5985
|
className: "w-full font-mono text-xs"
|
|
5964
5986
|
}, e.map((e) => /* @__PURE__ */ t.createElement(_o, {
|
|
5965
5987
|
key: e.id,
|
|
5966
5988
|
value: String(e.id)
|
|
5967
|
-
}, /* @__PURE__ */ t.createElement(yo, { className: "py-2 px-2 hover:no-underline hover:bg-muted/50 rounded font-mono text-xs font-normal" }, /* @__PURE__ */ t.createElement("span", { className: G("shrink-0 w-4 text-center",
|
|
5989
|
+
}, /* @__PURE__ */ t.createElement(yo, { className: "py-2 px-2 hover:no-underline hover:bg-muted/50 rounded font-mono text-xs font-normal" }, /* @__PURE__ */ t.createElement("span", { className: G("shrink-0 w-4 text-center", Hu[e.status]) }, Vu[e.status]), /* @__PURE__ */ t.createElement("span", { className: "flex-1 truncate text-left text-foreground mx-2" }, e.fnName), e.duration !== void 0 && /* @__PURE__ */ t.createElement("span", { className: "shrink-0 text-muted-foreground mr-1" }, e.duration, "ms")), /* @__PURE__ */ t.createElement(bo, { className: "pb-2! pt-0 px-2" }, /* @__PURE__ */ t.createElement("div", { className: "space-y-1.5" }, (e.args?.length ?? 0) > 0 && /* @__PURE__ */ t.createElement("div", { className: "bg-muted p-2! rounded overflow-x-hidden" }, /* @__PURE__ */ t.createElement("div", { className: "text-muted-foreground mb-1!" }, "args"), /* @__PURE__ */ t.createElement(pa, {
|
|
5968
5990
|
value: e.args,
|
|
5969
5991
|
collapseFromDepth: 1
|
|
5970
5992
|
})), e.result !== void 0 && /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-2! rounded overflow-x-hidden" }, /* @__PURE__ */ t.createElement("div", { className: "text-muted-foreground mb-1" }, "result"), /* @__PURE__ */ t.createElement(pa, {
|
|
@@ -5973,9 +5995,9 @@ var ju = 100, Mu = (e) => {
|
|
|
5973
5995
|
})), e.error !== void 0 && /* @__PURE__ */ t.createElement("div", { className: "bg-destructive/10 text-destructive p-2 rounded overflow-x-hidden" }, /* @__PURE__ */ t.createElement("div", { className: "mb-1! font-medium" }, "error"), /* @__PURE__ */ t.createElement(pa, {
|
|
5974
5996
|
value: e.error instanceof Error ? e.error.message : e.error,
|
|
5975
5997
|
collapseFromDepth: 1
|
|
5976
|
-
}))))))),
|
|
5998
|
+
}))))))), Wu = ({ effects: e, onClear: n }) => {
|
|
5977
5999
|
let r = e ?? [], [i, a] = t.useState(""), [o, s] = t.useState(!1), c = i ? r.filter((e) => e.fnName.toLowerCase().includes(i.toLowerCase())) : r;
|
|
5978
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "py-3! space-y-2!" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-1.5" }, /* @__PURE__ */ t.createElement(
|
|
6000
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "py-3! space-y-2!" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-1.5" }, /* @__PURE__ */ t.createElement(xo, {
|
|
5979
6001
|
placeholder: "Search calls…",
|
|
5980
6002
|
value: i,
|
|
5981
6003
|
onChange: (e) => a(e.target.value),
|
|
@@ -5987,20 +6009,20 @@ var ju = 100, Mu = (e) => {
|
|
|
5987
6009
|
onClick: () => s(!0),
|
|
5988
6010
|
title: "Expand",
|
|
5989
6011
|
className: "shrink-0 text-muted-foreground hover:text-foreground transition-colors"
|
|
5990
|
-
}, /* @__PURE__ */ t.createElement(mo, { size: 14 }))), /* @__PURE__ */ t.createElement("div", { className: "max-h-60 overflow-y-auto" }, /* @__PURE__ */ t.createElement(
|
|
6012
|
+
}, /* @__PURE__ */ t.createElement(mo, { size: 14 }))), /* @__PURE__ */ t.createElement("div", { className: "max-h-60 overflow-y-auto" }, /* @__PURE__ */ t.createElement(Uu, { effects: c }))), /* @__PURE__ */ t.createElement(Qi, {
|
|
5991
6013
|
open: o,
|
|
5992
6014
|
onOpenChange: s
|
|
5993
|
-
}, /* @__PURE__ */ t.createElement(ta, { className: "flex flex-col overflow-hidden" }, /* @__PURE__ */ t.createElement(na, null, /* @__PURE__ */ t.createElement(ia, null, "Saga Calls")), /* @__PURE__ */ t.createElement(
|
|
6015
|
+
}, /* @__PURE__ */ t.createElement(ta, { className: "flex flex-col overflow-hidden" }, /* @__PURE__ */ t.createElement(na, null, /* @__PURE__ */ t.createElement(ia, null, "Saga Calls")), /* @__PURE__ */ t.createElement(xo, {
|
|
5994
6016
|
placeholder: "Search calls…",
|
|
5995
6017
|
value: i,
|
|
5996
6018
|
onChange: (e) => a(e.target.value),
|
|
5997
6019
|
className: "h-8 text-sm shrink-0"
|
|
5998
|
-
}), /* @__PURE__ */ t.createElement("div", { className: "overflow-y-auto min-h-0 flex-1" }, /* @__PURE__ */ t.createElement(
|
|
5999
|
-
},
|
|
6020
|
+
}), /* @__PURE__ */ t.createElement("div", { className: "overflow-y-auto min-h-0 flex-1" }, /* @__PURE__ */ t.createElement(Uu, { effects: c })))));
|
|
6021
|
+
}, Gu = ({ monitor: e, serverEffects: n }) => {
|
|
6000
6022
|
let [r, i] = t.useState(() => e?._getEffects() ?? []);
|
|
6001
6023
|
return t.useEffect(() => {
|
|
6002
6024
|
if (e) return i(e._getEffects()), e._subscribe(() => i(e._getEffects()));
|
|
6003
|
-
}, [e]), n == null ? e ? /* @__PURE__ */ t.createElement(
|
|
6025
|
+
}, [e]), n == null ? e ? /* @__PURE__ */ t.createElement(Wu, {
|
|
6004
6026
|
effects: r,
|
|
6005
6027
|
onClear: () => e._clear()
|
|
6006
6028
|
}) : /* @__PURE__ */ t.createElement("div", { className: "py-6 text-center text-sm text-muted-foreground" }, "No saga monitor connected.", /* @__PURE__ */ t.createElement("span", { className: "block mt-1 text-xs font-mono" }, "sagaMonitor={sentinelMonitor}")) : /* @__PURE__ */ t.createElement(fn, { defaultValue: "server" }, /* @__PURE__ */ t.createElement(pn, { className: "grid w-full grid-cols-2 mx-0 rounded-none border-b bg-transparent h-8 gap-1 mt-2" }, /* @__PURE__ */ t.createElement(K, {
|
|
@@ -6012,23 +6034,23 @@ var ju = 100, Mu = (e) => {
|
|
|
6012
6034
|
}, "Server")), /* @__PURE__ */ t.createElement(q, {
|
|
6013
6035
|
value: "client",
|
|
6014
6036
|
className: "mt-0"
|
|
6015
|
-
}, e ? /* @__PURE__ */ t.createElement(
|
|
6037
|
+
}, e ? /* @__PURE__ */ t.createElement(Wu, {
|
|
6016
6038
|
effects: r,
|
|
6017
6039
|
onClear: () => e._clear()
|
|
6018
6040
|
}) : /* @__PURE__ */ t.createElement("div", { className: "py-4 text-center text-xs text-muted-foreground" }, "No client monitor connected.")), /* @__PURE__ */ t.createElement(q, {
|
|
6019
6041
|
value: "server",
|
|
6020
6042
|
className: "mt-0"
|
|
6021
|
-
}, /* @__PURE__ */ t.createElement(
|
|
6022
|
-
},
|
|
6023
|
-
let { isActive: i, setIsActive: a, showOutlines: o, setShowOutlines: s, highlightName: c, setHighlightName: l, reduxStore: u } =
|
|
6024
|
-
return /* @__PURE__ */ t.createElement(hn, null, /* @__PURE__ */ t.createElement("div", { className: "sentinel-root" }, /* @__PURE__ */ t.createElement("div", { className: "fixed bottom-4 right-4 z-[9999]" }, /* @__PURE__ */ t.createElement(
|
|
6043
|
+
}, /* @__PURE__ */ t.createElement(Wu, { effects: n })));
|
|
6044
|
+
}, Ku = ({ sagaMonitor: e, serverState: n, serverSagaEffects: r }) => {
|
|
6045
|
+
let { isActive: i, setIsActive: a, showOutlines: o, setShowOutlines: s, highlightName: c, setHighlightName: l, reduxStore: u } = td();
|
|
6046
|
+
return /* @__PURE__ */ t.createElement(hn, null, /* @__PURE__ */ t.createElement("div", { className: "sentinel-root" }, /* @__PURE__ */ t.createElement("div", { className: "fixed bottom-4 right-4 z-[9999]" }, /* @__PURE__ */ t.createElement(cu, null, /* @__PURE__ */ t.createElement(lu, { className: G("flex h-10 w-10 items-center justify-center rounded-full border shadow-lg transition-all duration-200 outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer", i ? "bg-primary text-primary-foreground border-primary/30" : "bg-background text-muted-foreground border-border hover:text-foreground") }, /* @__PURE__ */ t.createElement(ho, { size: 18 })), /* @__PURE__ */ t.createElement(uu, {
|
|
6025
6047
|
side: "top",
|
|
6026
6048
|
align: "end",
|
|
6027
6049
|
className: "w-72"
|
|
6028
6050
|
}, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between py-3!" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ t.createElement(ho, {
|
|
6029
6051
|
size: 14,
|
|
6030
6052
|
className: "text-muted-foreground"
|
|
6031
|
-
}), /* @__PURE__ */ t.createElement("span", { className: "text-sm font-semibold" }, "Sentinel")), /* @__PURE__ */ t.createElement("kbd", { className: "text-sm text-muted-foreground bg-muted px-1.5! py-0.5! rounded font-mono" }, "⌃ ⇧ S")), /* @__PURE__ */ t.createElement(
|
|
6053
|
+
}), /* @__PURE__ */ t.createElement("span", { className: "text-sm font-semibold" }, "Sentinel")), /* @__PURE__ */ t.createElement("kbd", { className: "text-sm text-muted-foreground bg-muted px-1.5! py-0.5! rounded font-mono" }, "⌃ ⇧ S")), /* @__PURE__ */ t.createElement(Nu, null), /* @__PURE__ */ t.createElement(fn, { defaultValue: "controls" }, /* @__PURE__ */ t.createElement(pn, { className: "grid w-full grid-cols-3 mx-0 rounded-none border-b bg-transparent h-9 gap-2" }, /* @__PURE__ */ t.createElement(K, {
|
|
6032
6054
|
value: "controls",
|
|
6033
6055
|
className: "text-xs"
|
|
6034
6056
|
}, "Controls"), /* @__PURE__ */ t.createElement(K, {
|
|
@@ -6040,25 +6062,25 @@ var ju = 100, Mu = (e) => {
|
|
|
6040
6062
|
}, "Saga")), /* @__PURE__ */ t.createElement(q, {
|
|
6041
6063
|
value: "controls",
|
|
6042
6064
|
className: "mt-0"
|
|
6043
|
-
}, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between py-3!" }, /* @__PURE__ */ t.createElement(
|
|
6065
|
+
}, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between py-3!" }, /* @__PURE__ */ t.createElement(Eu, {
|
|
6044
6066
|
htmlFor: "sentinel-active-switch",
|
|
6045
6067
|
className: "cursor-pointer"
|
|
6046
|
-
}, "Active"), /* @__PURE__ */ t.createElement(
|
|
6068
|
+
}, "Active"), /* @__PURE__ */ t.createElement(Su, {
|
|
6047
6069
|
id: "sentinel-active-switch",
|
|
6048
6070
|
checked: i,
|
|
6049
6071
|
onCheckedChange: a
|
|
6050
|
-
})), /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between pb-3!" }, /* @__PURE__ */ t.createElement(
|
|
6072
|
+
})), /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between pb-3!" }, /* @__PURE__ */ t.createElement(Eu, {
|
|
6051
6073
|
htmlFor: "sentinel-outline-switch",
|
|
6052
6074
|
className: G("cursor-pointer", !i && "opacity-40")
|
|
6053
|
-
}, "Outline All"), /* @__PURE__ */ t.createElement(
|
|
6075
|
+
}, "Outline All"), /* @__PURE__ */ t.createElement(Su, {
|
|
6054
6076
|
id: "sentinel-outline-switch",
|
|
6055
6077
|
checked: o,
|
|
6056
6078
|
onCheckedChange: s,
|
|
6057
6079
|
disabled: !i
|
|
6058
|
-
})), /* @__PURE__ */ t.createElement(
|
|
6080
|
+
})), /* @__PURE__ */ t.createElement(Nu, null), /* @__PURE__ */ t.createElement("div", { className: "py-3! space-y-1.5!" }, /* @__PURE__ */ t.createElement(Eu, {
|
|
6059
6081
|
htmlFor: "sentinel-filter-input",
|
|
6060
6082
|
className: G("text-xs text-muted-foreground", !i && "opacity-40")
|
|
6061
|
-
}, "Filter component"), /* @__PURE__ */ t.createElement(
|
|
6083
|
+
}, "Filter component"), /* @__PURE__ */ t.createElement(xo, {
|
|
6062
6084
|
id: "sentinel-filter-input",
|
|
6063
6085
|
placeholder: "e.g. ProductCard",
|
|
6064
6086
|
value: c,
|
|
@@ -6068,19 +6090,19 @@ var ju = 100, Mu = (e) => {
|
|
|
6068
6090
|
}))), /* @__PURE__ */ t.createElement(q, {
|
|
6069
6091
|
value: "redux",
|
|
6070
6092
|
className: "mt-0"
|
|
6071
|
-
}, /* @__PURE__ */ t.createElement(
|
|
6093
|
+
}, /* @__PURE__ */ t.createElement(Bu, {
|
|
6072
6094
|
store: u,
|
|
6073
6095
|
serverState: n
|
|
6074
6096
|
})), /* @__PURE__ */ t.createElement(q, {
|
|
6075
6097
|
value: "saga",
|
|
6076
6098
|
className: "mt-0"
|
|
6077
|
-
}, /* @__PURE__ */ t.createElement(
|
|
6099
|
+
}, /* @__PURE__ */ t.createElement(Gu, {
|
|
6078
6100
|
monitor: e,
|
|
6079
6101
|
serverEffects: r
|
|
6080
6102
|
}))))))));
|
|
6081
|
-
},
|
|
6103
|
+
}, qu = "rgba(10, 10, 12, 0.72)", Ju = "blur(8px) saturate(140%) contrast(105%)", Yu = ({ children: e, active: n = !0 }) => {
|
|
6082
6104
|
if (!n) return /* @__PURE__ */ t.createElement(t.Fragment, null, e);
|
|
6083
|
-
let { activeRect: r } =
|
|
6105
|
+
let { activeRect: r } = td();
|
|
6084
6106
|
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(hn, null, /* @__PURE__ */ t.createElement("div", { className: "sentinel-root" }, r && /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", {
|
|
6085
6107
|
className: "pointer-events-none fixed z-[999]",
|
|
6086
6108
|
style: {
|
|
@@ -6088,9 +6110,9 @@ var ju = 100, Mu = (e) => {
|
|
|
6088
6110
|
left: 0,
|
|
6089
6111
|
right: 0,
|
|
6090
6112
|
height: r.top,
|
|
6091
|
-
background:
|
|
6092
|
-
backdropFilter:
|
|
6093
|
-
WebkitBackdropFilter:
|
|
6113
|
+
background: qu,
|
|
6114
|
+
backdropFilter: Ju,
|
|
6115
|
+
WebkitBackdropFilter: Ju
|
|
6094
6116
|
}
|
|
6095
6117
|
}), /* @__PURE__ */ t.createElement("div", {
|
|
6096
6118
|
className: "pointer-events-none fixed z-[999]",
|
|
@@ -6099,9 +6121,9 @@ var ju = 100, Mu = (e) => {
|
|
|
6099
6121
|
left: 0,
|
|
6100
6122
|
right: 0,
|
|
6101
6123
|
bottom: 0,
|
|
6102
|
-
background:
|
|
6103
|
-
backdropFilter:
|
|
6104
|
-
WebkitBackdropFilter:
|
|
6124
|
+
background: qu,
|
|
6125
|
+
backdropFilter: Ju,
|
|
6126
|
+
WebkitBackdropFilter: Ju
|
|
6105
6127
|
}
|
|
6106
6128
|
}), /* @__PURE__ */ t.createElement("div", {
|
|
6107
6129
|
className: "pointer-events-none fixed z-[999]",
|
|
@@ -6110,9 +6132,9 @@ var ju = 100, Mu = (e) => {
|
|
|
6110
6132
|
left: 0,
|
|
6111
6133
|
width: r.left,
|
|
6112
6134
|
height: r.height,
|
|
6113
|
-
background:
|
|
6114
|
-
backdropFilter:
|
|
6115
|
-
WebkitBackdropFilter:
|
|
6135
|
+
background: qu,
|
|
6136
|
+
backdropFilter: Ju,
|
|
6137
|
+
WebkitBackdropFilter: Ju
|
|
6116
6138
|
}
|
|
6117
6139
|
}), /* @__PURE__ */ t.createElement("div", {
|
|
6118
6140
|
className: "pointer-events-none fixed z-[999]",
|
|
@@ -6121,9 +6143,9 @@ var ju = 100, Mu = (e) => {
|
|
|
6121
6143
|
left: r.right,
|
|
6122
6144
|
right: 0,
|
|
6123
6145
|
height: r.height,
|
|
6124
|
-
background:
|
|
6125
|
-
backdropFilter:
|
|
6126
|
-
WebkitBackdropFilter:
|
|
6146
|
+
background: qu,
|
|
6147
|
+
backdropFilter: Ju,
|
|
6148
|
+
WebkitBackdropFilter: Ju
|
|
6127
6149
|
}
|
|
6128
6150
|
}), /* @__PURE__ */ t.createElement("div", {
|
|
6129
6151
|
className: "pointer-events-none fixed z-[1000]",
|
|
@@ -6136,29 +6158,29 @@ var ju = 100, Mu = (e) => {
|
|
|
6136
6158
|
borderRadius: 4
|
|
6137
6159
|
}
|
|
6138
6160
|
})), e)));
|
|
6139
|
-
},
|
|
6140
|
-
let [c,
|
|
6161
|
+
}, Xu = n(void 0), Zu = n(void 0), Qu = ({ children: e, store: n, sagaMonitor: r, serverState: i, serverSagaEffects: o }) => {
|
|
6162
|
+
let [c, u] = d(null), [f, p] = d(null), [m, h] = d(null), [g, _] = d({}), [v, y] = d(!1), [b, x] = d(!1), [S, C] = d("");
|
|
6141
6163
|
s(() => {
|
|
6142
|
-
|
|
6143
|
-
}, [
|
|
6164
|
+
v || (u(null), p(null), h(null), _({}));
|
|
6165
|
+
}, [v]), s(() => {
|
|
6144
6166
|
let e = (e) => {
|
|
6145
|
-
e.ctrlKey && e.shiftKey && e.key === "S" &&
|
|
6167
|
+
e.ctrlKey && e.shiftKey && e.key === "S" && y((e) => !e);
|
|
6146
6168
|
};
|
|
6147
6169
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
6148
6170
|
}, []);
|
|
6149
|
-
let
|
|
6150
|
-
|
|
6171
|
+
let w = a((e, t) => {
|
|
6172
|
+
u(e), p(t);
|
|
6151
6173
|
}, []);
|
|
6152
6174
|
s(() => {
|
|
6153
6175
|
let e = () => {
|
|
6154
|
-
|
|
6176
|
+
u(null), p(null);
|
|
6155
6177
|
};
|
|
6156
6178
|
return window.addEventListener("scroll", e, !0), () => window.removeEventListener("scroll", e, !0);
|
|
6157
6179
|
}, []);
|
|
6158
|
-
let
|
|
6159
|
-
|
|
6160
|
-
}, []),
|
|
6161
|
-
|
|
6180
|
+
let T = a((e) => {
|
|
6181
|
+
u((t) => t === e ? (p(null), null) : t);
|
|
6182
|
+
}, []), E = a((e, t, n, r, i, a, o) => {
|
|
6183
|
+
h(e), _({
|
|
6162
6184
|
componentName: t,
|
|
6163
6185
|
sourceFile: i,
|
|
6164
6186
|
renderCount: a,
|
|
@@ -6166,46 +6188,46 @@ var ju = 100, Mu = (e) => {
|
|
|
6166
6188
|
md: n,
|
|
6167
6189
|
componentProps: r
|
|
6168
6190
|
});
|
|
6169
|
-
}, []),
|
|
6170
|
-
|
|
6171
|
-
}, []),
|
|
6191
|
+
}, []), D = a(() => {
|
|
6192
|
+
h(null), _({});
|
|
6193
|
+
}, []), O = l(() => ({
|
|
6172
6194
|
activeId: c,
|
|
6173
|
-
activeRect:
|
|
6174
|
-
isActive:
|
|
6175
|
-
setIsActive:
|
|
6176
|
-
showOutlines:
|
|
6177
|
-
setShowOutlines:
|
|
6178
|
-
highlightName:
|
|
6179
|
-
setHighlightName:
|
|
6195
|
+
activeRect: f,
|
|
6196
|
+
isActive: v,
|
|
6197
|
+
setIsActive: y,
|
|
6198
|
+
showOutlines: b,
|
|
6199
|
+
setShowOutlines: x,
|
|
6200
|
+
highlightName: S,
|
|
6201
|
+
setHighlightName: C,
|
|
6180
6202
|
reduxStore: n,
|
|
6181
|
-
registerHover:
|
|
6182
|
-
unregisterHover:
|
|
6183
|
-
openDialog:
|
|
6203
|
+
registerHover: w,
|
|
6204
|
+
unregisterHover: T,
|
|
6205
|
+
openDialog: E
|
|
6184
6206
|
}), [
|
|
6185
6207
|
c,
|
|
6186
|
-
|
|
6208
|
+
f,
|
|
6209
|
+
v,
|
|
6187
6210
|
b,
|
|
6188
6211
|
S,
|
|
6189
|
-
w,
|
|
6190
6212
|
n,
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
]),
|
|
6195
|
-
openDialogId:
|
|
6196
|
-
dialogMeta:
|
|
6197
|
-
closeDialog:
|
|
6213
|
+
w,
|
|
6214
|
+
T,
|
|
6215
|
+
E
|
|
6216
|
+
]), k = l(() => ({
|
|
6217
|
+
openDialogId: m,
|
|
6218
|
+
dialogMeta: g,
|
|
6219
|
+
closeDialog: D
|
|
6198
6220
|
}), [
|
|
6221
|
+
m,
|
|
6199
6222
|
g,
|
|
6200
|
-
|
|
6201
|
-
O
|
|
6223
|
+
D
|
|
6202
6224
|
]);
|
|
6203
|
-
return /* @__PURE__ */ t.createElement(
|
|
6225
|
+
return /* @__PURE__ */ t.createElement(Xu.Provider, { value: O }, /* @__PURE__ */ t.createElement(Zu.Provider, { value: k }, e, /* @__PURE__ */ t.createElement(Yu, { active: v }, /* @__PURE__ */ t.createElement(Do, null)), /* @__PURE__ */ t.createElement(Ku, {
|
|
6204
6226
|
sagaMonitor: r,
|
|
6205
6227
|
serverState: i,
|
|
6206
6228
|
serverSagaEffects: o
|
|
6207
6229
|
})));
|
|
6208
|
-
},
|
|
6230
|
+
}, $u = {
|
|
6209
6231
|
activeId: null,
|
|
6210
6232
|
activeRect: null,
|
|
6211
6233
|
isActive: !1,
|
|
@@ -6218,12 +6240,12 @@ var ju = 100, Mu = (e) => {
|
|
|
6218
6240
|
registerHover: () => {},
|
|
6219
6241
|
unregisterHover: () => {},
|
|
6220
6242
|
openDialog: () => {}
|
|
6221
|
-
},
|
|
6243
|
+
}, ed = {
|
|
6222
6244
|
openDialogId: null,
|
|
6223
6245
|
dialogMeta: {},
|
|
6224
6246
|
closeDialog: () => {}
|
|
6225
|
-
},
|
|
6226
|
-
let e =
|
|
6247
|
+
}, td = () => o(Xu) ?? $u, nd = () => o(Zu) ?? ed, rd = () => {
|
|
6248
|
+
let e = td(), t = nd();
|
|
6227
6249
|
return {
|
|
6228
6250
|
...e,
|
|
6229
6251
|
...t
|
|
@@ -6231,7 +6253,7 @@ var ju = 100, Mu = (e) => {
|
|
|
6231
6253
|
};
|
|
6232
6254
|
//#endregion
|
|
6233
6255
|
//#region src/utils/safeSerialize.ts
|
|
6234
|
-
function
|
|
6256
|
+
function id(e, t = 0, n = /* @__PURE__ */ new WeakSet()) {
|
|
6235
6257
|
if (t > 6) return "[Max Depth]";
|
|
6236
6258
|
if (e === null) return null;
|
|
6237
6259
|
if (typeof e == "function") return "[Function]";
|
|
@@ -6239,20 +6261,20 @@ function nd(e, t = 0, n = /* @__PURE__ */ new WeakSet()) {
|
|
|
6239
6261
|
if (n.has(e)) return "[Circular]";
|
|
6240
6262
|
if (n.add(e), "$$typeof" in e) return "[React Element]";
|
|
6241
6263
|
if ("_context" in e || "Provider" in e && "Consumer" in e) return "[React Context]";
|
|
6242
|
-
if (Array.isArray(e)) return e.map((e) =>
|
|
6264
|
+
if (Array.isArray(e)) return e.map((e) => id(e, t + 1, n));
|
|
6243
6265
|
let r = {};
|
|
6244
|
-
for (let [i, a] of Object.entries(e)) i.startsWith("__react") || i.startsWith("_react") || i === "_owner" || (r[i] =
|
|
6266
|
+
for (let [i, a] of Object.entries(e)) i.startsWith("__react") || i.startsWith("_react") || i === "_owner" || (r[i] = id(a, t + 1, n));
|
|
6245
6267
|
return r;
|
|
6246
6268
|
}
|
|
6247
6269
|
//#endregion
|
|
6248
6270
|
//#region src/react/Sentinel.tsx
|
|
6249
|
-
var
|
|
6250
|
-
let s =
|
|
6271
|
+
var ad = ({ children: e, componentName: n, sourceFile: r, renderCount: i, dialogMd: a, componentProps: o }) => {
|
|
6272
|
+
let s = j(), { isActive: c, showOutlines: l, highlightName: d, registerHover: f, unregisterHover: p, openDialog: m } = td(), h = u([]), g = u(""), _ = o ? id(o) : void 0, v = _ ? JSON.stringify(_) : "";
|
|
6251
6273
|
_ && v !== g.current && (g.current = v, h.current = [_, ...h.current].slice(0, 6));
|
|
6252
6274
|
let y = c && !!d && !!n && n.toLowerCase().includes(d.toLowerCase());
|
|
6253
6275
|
return /* @__PURE__ */ t.createElement("div", {
|
|
6254
6276
|
onMouseMove: (e) => {
|
|
6255
|
-
c && (e.stopPropagation(), f(s, e.currentTarget));
|
|
6277
|
+
c && (e.stopPropagation(), f(s, e.currentTarget.getBoundingClientRect()));
|
|
6256
6278
|
},
|
|
6257
6279
|
onMouseLeave: (e) => {
|
|
6258
6280
|
c && (e.stopPropagation(), p(s));
|
|
@@ -6270,4 +6292,4 @@ var rd = ({ children: e, componentName: n, sourceFile: r, renderCount: i, dialog
|
|
|
6270
6292
|
}, e));
|
|
6271
6293
|
};
|
|
6272
6294
|
//#endregion
|
|
6273
|
-
export {
|
|
6295
|
+
export { ad as Sentinel, Qu as SentinelProvider, Lu as createSentinelSagaMonitor, rd as useSentinel, nd as useSentinelDialog, td as useSentinelInteraction };
|