@mechane-ai/elements 0.58.0 → 0.58.1
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/ai.js +1 -1
- package/dist/catalog.json +1 -1
- package/dist/content.js +1 -1
- package/dist/kits/research.js +1 -1
- package/dist/packages/content/src/playback-bar.d.ts +5 -1
- package/dist/packages/content/src/timeline-scrubber.d.ts +3 -1
- package/dist/packages/content/src/viewport-frame.d.ts +3 -1
- package/dist/{src-Cw1yrc2P.js → src-DWKqgI2I.js} +244 -158
- package/dist/styles2.css +8 -0
- package/package.json +1 -1
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as e, O as t, T as n, h as r, i, k as a, m as o, t as s, v as c } from "./src-9EJskqB_.js";
|
|
2
2
|
import { t as l } from "./code-block-BZsY2sh3.js";
|
|
3
|
-
import { f as u } from "./src-
|
|
3
|
+
import { f as u } from "./src-DWKqgI2I.js";
|
|
4
4
|
import { t as d } from "./content-link-PnpcnTCx.js";
|
|
5
5
|
import { n as f, r as p } from "./markdown-VpLw_P9T.js";
|
|
6
6
|
import { r as m, t as h } from "./src-na2DdkKI.js";
|
package/dist/catalog.json
CHANGED
package/dist/content.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { p as JsonViewer, f as LogViewer, u as MediaViewer, d as MediaViewerPlaceholder, l as PlaybackBar, c as StackTrace, i as TextMatch, r as TimelineScrubber, n as Trace, t as ViewportFrame, a as fuzzyScore, o as matchRanges, s as matchSegments } from "./src-
|
|
1
|
+
export { p as JsonViewer, f as LogViewer, u as MediaViewer, d as MediaViewerPlaceholder, l as PlaybackBar, c as StackTrace, i as TextMatch, r as TimelineScrubber, n as Trace, t as ViewportFrame, a as fuzzyScore, o as matchRanges, s as matchSegments } from "./src-DWKqgI2I.js";
|
package/dist/kits/research.js
CHANGED
|
@@ -7,7 +7,7 @@ import { r as O } from "../figure-format-B8kRZMlo.js";
|
|
|
7
7
|
import { n as k } from "../src-na2DdkKI.js";
|
|
8
8
|
import { a as A, t as j } from "../tree-diagram-BDj4TGXb.js";
|
|
9
9
|
import { f as M } from "../time-series-CoAtNizi.js";
|
|
10
|
-
import { i as N } from "../src-
|
|
10
|
+
import { i as N } from "../src-DWKqgI2I.js";
|
|
11
11
|
import "@stylexjs/stylex";
|
|
12
12
|
import { useEffect as ee, useState as P } from "react";
|
|
13
13
|
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { ControlDensity } from '../../core/src/index.ts';
|
|
3
|
+
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
3
4
|
export type PlaybackBarProps = {
|
|
4
5
|
readonly isPlaying: boolean;
|
|
5
6
|
readonly onPlayingChange: (isPlaying: boolean) => void;
|
|
@@ -14,9 +15,12 @@ export type PlaybackBarProps = {
|
|
|
14
15
|
readonly isDisabled?: boolean;
|
|
15
16
|
readonly playLabel?: string;
|
|
16
17
|
readonly pauseLabel?: string;
|
|
18
|
+
/** Accessible name applied to the playback control group. Defaults to `'Playback controls'`. */
|
|
19
|
+
readonly label?: string;
|
|
20
|
+
readonly xstyle?: PlacementStyle;
|
|
17
21
|
};
|
|
18
22
|
/**
|
|
19
23
|
* Horizontal transport control bar composing play/pause, optional step buttons, a speed selector, a tabular readout,
|
|
20
24
|
* and trailing actions. Leaves playback clocks, frame advancement, and media state to the consuming application.
|
|
21
25
|
*/
|
|
22
|
-
export declare function PlaybackBar({ isPlaying, onPlayingChange, onStepBackward, onStepForward, speed, speeds, onSpeedChange, readout, actions, density, isDisabled, playLabel, pauseLabel, }: PlaybackBarProps): ReactNode;
|
|
26
|
+
export declare function PlaybackBar({ isPlaying, onPlayingChange, onStepBackward, onStepForward, speed, speeds, onSpeedChange, readout, actions, density, isDisabled, playLabel, pauseLabel, label, xstyle, }: PlaybackBarProps): ReactNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
2
3
|
export type TimelineMarkerTone = 'neutral' | 'positive' | 'warning' | 'negative' | 'accent';
|
|
3
4
|
export type TimelineMarker = {
|
|
4
5
|
readonly id: string;
|
|
@@ -20,9 +21,10 @@ export type TimelineScrubberProps = {
|
|
|
20
21
|
readonly isDisabled?: boolean;
|
|
21
22
|
/** Accessible name applied to the scrubber slider. */
|
|
22
23
|
readonly label: string;
|
|
24
|
+
readonly xstyle?: PlacementStyle;
|
|
23
25
|
};
|
|
24
26
|
/**
|
|
25
27
|
* Accessible horizontal scrub track for media or simulation timelines with optional clickable event markers. Supports
|
|
26
28
|
* keyboard stepping, pointer capture dragging, and marker jump selection while leaving playback timing to the caller.
|
|
27
29
|
*/
|
|
28
|
-
export declare function TimelineScrubber({ value, max, min, step, onValueChange, onScrubStart, onScrubEnd, markers, onMarkerSelect, formatValue, isDisabled, label, }: TimelineScrubberProps): ReactNode;
|
|
30
|
+
export declare function TimelineScrubber({ value, max, min, step, onValueChange, onScrubStart, onScrubEnd, markers, onMarkerSelect, formatValue, isDisabled, label, xstyle, }: TimelineScrubberProps): ReactNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
2
3
|
export type ViewportAspectRatio = '16/9' | '16/10' | '4/3' | 'fill';
|
|
3
4
|
export type ViewportFrameState = 'pending' | 'ready' | 'failed';
|
|
4
5
|
export type ViewportFrameProps = {
|
|
@@ -18,10 +19,11 @@ export type ViewportFrameProps = {
|
|
|
18
19
|
readonly children: ReactNode;
|
|
19
20
|
/** Accessible name applied to the stage region. */
|
|
20
21
|
readonly label?: string;
|
|
22
|
+
readonly xstyle?: PlacementStyle;
|
|
21
23
|
};
|
|
22
24
|
/**
|
|
23
25
|
* Framed container for canvas, iframe, or custom media stages with an optional header bar, inline notice strip, and
|
|
24
26
|
* pending or failed overlay. Isolates stage geometry inside an `inset: 0` wrapper so embedded content cannot expand
|
|
25
27
|
* surrounding CSS Grid or flex tracks.
|
|
26
28
|
*/
|
|
27
|
-
export declare function ViewportFrame({ aspectRatio, headerStart, headerEnd, notice, state, placeholder, children, label, }: ViewportFrameProps): ReactNode;
|
|
29
|
+
export declare function ViewportFrame({ aspectRatio, headerStart, headerEnd, notice, state, placeholder, children, label, xstyle, }: ViewportFrameProps): ReactNode;
|
|
@@ -10,20 +10,20 @@ import { createStickToBottom as v } from "@ui-sdk/core";
|
|
|
10
10
|
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
11
11
|
import { Check as S, Circle as C, CircleDashed as w, CircleHelp as T, Clock as E, Pause as D, Play as O, SkipBack as k, SkipForward as A, X as j } from "lucide-react";
|
|
12
12
|
import M from "strip-ansi";
|
|
13
|
-
import { fuzzyScore as N, matchRanges as
|
|
14
|
-
import { clamp as
|
|
13
|
+
import { fuzzyScore as N, matchRanges as ee, matchRanges as P, matchSegments as F, matchSegments as I } from "@ui-sdk/react/text-match";
|
|
14
|
+
import { clamp as L, fractionOf as te, maxOnGrid as R, scrubTo as z, stepBy as ne, stepFromKey as re, valueAt as ie } from "@ui-sdk/core/number";
|
|
15
15
|
// packages/content/src/json-viewer.tsx
|
|
16
|
-
var
|
|
16
|
+
var B = { body: {
|
|
17
17
|
kmVPX3: "x1mvvolr",
|
|
18
18
|
kVQacm: "xysyzu8",
|
|
19
19
|
kskxy: "x1phlbz0",
|
|
20
20
|
kMv6JI: "xiard35",
|
|
21
21
|
kGuDYH: "xy8obcc",
|
|
22
22
|
$$css: !0
|
|
23
|
-
} },
|
|
24
|
-
function
|
|
23
|
+
} }, V = 500;
|
|
24
|
+
function H({ value: e, name: t, path: n, depth: r, maxDepth: a, maxEntries: o }) {
|
|
25
25
|
if (typeof e != "object" || !e) {
|
|
26
|
-
let n = JSON.stringify(e), r = n.length >
|
|
26
|
+
let n = JSON.stringify(e), r = n.length > V;
|
|
27
27
|
return /* @__PURE__ */ x("div", {
|
|
28
28
|
className: "xeuugli x126k92a xj0a0fe",
|
|
29
29
|
children: [
|
|
@@ -36,7 +36,7 @@ function U({ value: e, name: t, path: n, depth: r, maxDepth: a, maxEntries: o })
|
|
|
36
36
|
0: { className: "xbixft" },
|
|
37
37
|
1: { className: "x7ixh4y" }
|
|
38
38
|
}[typeof e == "string" | 0],
|
|
39
|
-
children: n.slice(0,
|
|
39
|
+
children: n.slice(0, V)
|
|
40
40
|
}),
|
|
41
41
|
r && /* @__PURE__ */ b("span", {
|
|
42
42
|
className: "x153jb6y x1hz01jw",
|
|
@@ -79,7 +79,7 @@ function U({ value: e, name: t, path: n, depth: r, maxDepth: a, maxEntries: o })
|
|
|
79
79
|
className: "xo02m6d xpilrb4 x1t7ytsu x97x49r xa1dmyi xiard35 xy8obcc",
|
|
80
80
|
children: [s.slice(0, o).map(([e, t]) => {
|
|
81
81
|
let i = `${n}/${e.replaceAll("~", "~0").replaceAll("/", "~1")}`;
|
|
82
|
-
return /* @__PURE__ */ b(
|
|
82
|
+
return /* @__PURE__ */ b(H, {
|
|
83
83
|
name: JSON.stringify(e),
|
|
84
84
|
path: i,
|
|
85
85
|
value: t,
|
|
@@ -94,7 +94,7 @@ function U({ value: e, name: t, path: n, depth: r, maxDepth: a, maxEntries: o })
|
|
|
94
94
|
}) })]
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function ae({ value: e, label: t, maxDepth: n = 6, maxEntries: r = 50 }) {
|
|
98
98
|
let i = o(), l = p(() => JSON.stringify(e, null, 2), [e]);
|
|
99
99
|
return /* @__PURE__ */ x(c, {
|
|
100
100
|
kind: "json",
|
|
@@ -115,8 +115,8 @@ function re({ value: e, label: t, maxDepth: n = 6, maxEntries: r = 50 }) {
|
|
|
115
115
|
role: "region",
|
|
116
116
|
"aria-label": `${t} fields`,
|
|
117
117
|
tabIndex: i.tabIndex,
|
|
118
|
-
...f.props(s.scrollRegion,
|
|
119
|
-
children: /* @__PURE__ */ b(
|
|
118
|
+
...f.props(s.scrollRegion, B.body),
|
|
119
|
+
children: /* @__PURE__ */ b(H, {
|
|
120
120
|
name: "root",
|
|
121
121
|
path: "",
|
|
122
122
|
value: e,
|
|
@@ -128,7 +128,7 @@ function re({ value: e, label: t, maxDepth: n = 6, maxEntries: r = 50 }) {
|
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
// packages/content/src/log-viewer.tsx
|
|
131
|
-
var
|
|
131
|
+
var oe = {
|
|
132
132
|
kVQacm: "xysyzu8",
|
|
133
133
|
kmVPX3: "x1mvvolr",
|
|
134
134
|
kogj98: "x1ghz6dp",
|
|
@@ -139,9 +139,9 @@ var ie = {
|
|
|
139
139
|
kHjlTd: "xj0a0fe",
|
|
140
140
|
kKi2Bq: "xeq4nuv",
|
|
141
141
|
$$css: !0
|
|
142
|
-
},
|
|
142
|
+
}, U = {
|
|
143
143
|
output: (e) => [
|
|
144
|
-
|
|
144
|
+
oe,
|
|
145
145
|
{
|
|
146
146
|
kskxy: e == null ? e : "x1jols5v",
|
|
147
147
|
$$css: !0
|
|
@@ -154,8 +154,8 @@ var ie = {
|
|
|
154
154
|
kL6WhQ: "x1qndepd",
|
|
155
155
|
$$css: !0
|
|
156
156
|
}
|
|
157
|
-
},
|
|
158
|
-
function
|
|
157
|
+
}, se = 2e5;
|
|
158
|
+
function ce({ output: e, label: n, variant: r = "default", maxLines: i = 500, maxHeight: l = 320, isRunning: u = !1 }) {
|
|
159
159
|
let d = o(), p = d.viewport, y = h(!1), [S] = g(() => {
|
|
160
160
|
let e = v();
|
|
161
161
|
return {
|
|
@@ -202,11 +202,11 @@ function oe({ output: e, label: n, variant: r = "default", maxLines: i = 500, ma
|
|
|
202
202
|
})]
|
|
203
203
|
}),
|
|
204
204
|
D > 0 && /* @__PURE__ */ x("div", {
|
|
205
|
-
...f.props(s.note,
|
|
205
|
+
...f.props(s.note, U.notice),
|
|
206
206
|
children: [D, " earlier lines omitted from this view. Copy includes the supplied output."]
|
|
207
207
|
}),
|
|
208
|
-
w.length >
|
|
209
|
-
...f.props(s.note,
|
|
208
|
+
w.length > se && /* @__PURE__ */ b("div", {
|
|
209
|
+
...f.props(s.note, U.notice),
|
|
210
210
|
children: "Preview limited to the last 200,000 characters. Copy includes the supplied output."
|
|
211
211
|
}),
|
|
212
212
|
/* @__PURE__ */ b("pre", {
|
|
@@ -214,7 +214,7 @@ function oe({ output: e, label: n, variant: r = "default", maxLines: i = 500, ma
|
|
|
214
214
|
role: "region",
|
|
215
215
|
"aria-label": `${n} output`,
|
|
216
216
|
tabIndex: d.tabIndex,
|
|
217
|
-
...f.props(s.scrollRegion,
|
|
217
|
+
...f.props(s.scrollRegion, U.output(l)),
|
|
218
218
|
children: /* @__PURE__ */ b("span", {
|
|
219
219
|
className: "x1lliihq",
|
|
220
220
|
children: w.length === 0 ? "No output recorded." : E.join("\n")
|
|
@@ -224,7 +224,7 @@ function oe({ output: e, label: n, variant: r = "default", maxLines: i = 500, ma
|
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
// packages/content/src/media-viewer.tsx
|
|
227
|
-
var
|
|
227
|
+
var W = {
|
|
228
228
|
viewport: {
|
|
229
229
|
k1xSpc: "xrvj5dj",
|
|
230
230
|
kgQiWS: "x1ku5rj1",
|
|
@@ -241,15 +241,15 @@ var G = {
|
|
|
241
241
|
$$css: !0
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
|
-
function
|
|
244
|
+
function le() {
|
|
245
245
|
return /* @__PURE__ */ b("div", {
|
|
246
246
|
"aria-hidden": !0,
|
|
247
|
-
...f.props(s.root,
|
|
247
|
+
...f.props(s.root, W.viewport, W.placeholder)
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function ue({ kind: e, src: t, label: n, widthPixels: r, heightPixels: i, onError: a }) {
|
|
251
251
|
return /* @__PURE__ */ b("div", {
|
|
252
|
-
...f.props(s.root,
|
|
252
|
+
...f.props(s.root, W.viewport),
|
|
253
253
|
children: e === "image" ? /* @__PURE__ */ b("img", {
|
|
254
254
|
src: t,
|
|
255
255
|
alt: n,
|
|
@@ -272,17 +272,18 @@ function se({ kind: e, src: t, label: n, widthPixels: r, heightPixels: i, onErro
|
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
// packages/content/src/playback-bar.tsx
|
|
275
|
-
var
|
|
275
|
+
var de = [
|
|
276
276
|
.25,
|
|
277
277
|
.5,
|
|
278
278
|
1,
|
|
279
279
|
2,
|
|
280
280
|
4
|
|
281
|
-
],
|
|
281
|
+
], G = "Playback controls", K = 16, q = {
|
|
282
282
|
bar: {
|
|
283
283
|
k1xSpc: "x78zum5",
|
|
284
284
|
kwnvtZ: "x1a02dak",
|
|
285
285
|
kGNEyG: "x6s0dn4",
|
|
286
|
+
kB7OPa: "x9f619",
|
|
286
287
|
k7Eaqz: "xeuugli",
|
|
287
288
|
kMzoRj: "xmkeg23",
|
|
288
289
|
ksu8eU: "x1y0btm7",
|
|
@@ -305,23 +306,29 @@ var ce = [
|
|
|
305
306
|
kg3NbH: "x14w6jbu",
|
|
306
307
|
$$css: !0
|
|
307
308
|
}
|
|
308
|
-
},
|
|
309
|
-
standard:
|
|
310
|
-
compact:
|
|
309
|
+
}, fe = {
|
|
310
|
+
standard: q.standardBar,
|
|
311
|
+
compact: q.compactBar
|
|
311
312
|
};
|
|
312
|
-
function
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
function pe(e) {
|
|
314
|
+
return e != null && typeof e != "boolean";
|
|
315
|
+
}
|
|
316
|
+
function J(e) {
|
|
317
|
+
return e !== void 0 && Number.isFinite(e) && e > 0;
|
|
318
|
+
}
|
|
319
|
+
function me(e, t) {
|
|
320
|
+
let n = new Set(e.filter((e) => J(e)));
|
|
321
|
+
return J(t) && n.add(t), Array.from(n).toSorted((e, t) => e - t).map((e) => ({
|
|
315
322
|
value: String(e),
|
|
316
323
|
label: `${e}x`
|
|
317
324
|
}));
|
|
318
325
|
}
|
|
319
|
-
function
|
|
320
|
-
let
|
|
326
|
+
function he({ isPlaying: t, onPlayingChange: r, onStepBackward: i, onStepForward: a, speed: o, speeds: s = de, onSpeedChange: c, readout: l, actions: d, density: p = "standard", isDisabled: m = !1, playLabel: h = "Play", pauseLabel: g = "Pause", label: _ = G, xstyle: v }) {
|
|
327
|
+
let y = o !== void 0 && c !== void 0, S = pe(d), C = J(o) ? o : void 0, w = y ? me(s, C) : [], T = C === void 0 ? null : String(C), E = _.trim(), j = E.length > 0 ? E : G;
|
|
321
328
|
return /* @__PURE__ */ x("div", {
|
|
322
329
|
role: "group",
|
|
323
|
-
"aria-label":
|
|
324
|
-
...f.props(
|
|
330
|
+
"aria-label": j,
|
|
331
|
+
...f.props(q.bar, fe[p], v),
|
|
325
332
|
children: [
|
|
326
333
|
/* @__PURE__ */ x("div", {
|
|
327
334
|
className: "x78zum5 x6s0dn4 xunmzkg x2lah0s",
|
|
@@ -332,7 +339,7 @@ function de({ isPlaying: t, onPlayingChange: r, onStepBackward: i, onStepForward
|
|
|
332
339
|
"aria-label": "Step backward",
|
|
333
340
|
disabled: m,
|
|
334
341
|
onClick: i,
|
|
335
|
-
children: /* @__PURE__ */ b(k, { size:
|
|
342
|
+
children: /* @__PURE__ */ b(k, { size: K })
|
|
336
343
|
}),
|
|
337
344
|
/* @__PURE__ */ b(e, {
|
|
338
345
|
variant: "outline",
|
|
@@ -340,7 +347,7 @@ function de({ isPlaying: t, onPlayingChange: r, onStepBackward: i, onStepForward
|
|
|
340
347
|
"aria-label": t ? g : h,
|
|
341
348
|
disabled: m,
|
|
342
349
|
onClick: () => r(!t),
|
|
343
|
-
children: b(t ? D : O, { size:
|
|
350
|
+
children: b(t ? D : O, { size: K })
|
|
344
351
|
}),
|
|
345
352
|
a !== void 0 && /* @__PURE__ */ b(e, {
|
|
346
353
|
variant: "ghost",
|
|
@@ -348,31 +355,31 @@ function de({ isPlaying: t, onPlayingChange: r, onStepBackward: i, onStepForward
|
|
|
348
355
|
"aria-label": "Step forward",
|
|
349
356
|
disabled: m,
|
|
350
357
|
onClick: a,
|
|
351
|
-
children: /* @__PURE__ */ b(A, { size:
|
|
358
|
+
children: /* @__PURE__ */ b(A, { size: K })
|
|
352
359
|
})
|
|
353
360
|
]
|
|
354
361
|
}),
|
|
355
|
-
|
|
362
|
+
y && /* @__PURE__ */ b(u, {
|
|
356
363
|
label: "Playback speed",
|
|
357
364
|
density: p,
|
|
358
365
|
disabled: m,
|
|
359
|
-
items:
|
|
360
|
-
value:
|
|
366
|
+
items: w,
|
|
367
|
+
value: T,
|
|
361
368
|
onValueChange: (e) => {
|
|
362
369
|
if (e === null) return;
|
|
363
370
|
let t = Number(e);
|
|
364
|
-
|
|
371
|
+
J(t) && c(t);
|
|
365
372
|
}
|
|
366
373
|
}),
|
|
367
374
|
l !== void 0 && /* @__PURE__ */ b("span", {
|
|
368
|
-
className: "
|
|
375
|
+
className: "x1lliihq x9f619 xeuugli x193iq5w xb3r6kr xlyipyv xss6m8b xuxw1ft x14w6jbu",
|
|
369
376
|
children: /* @__PURE__ */ b(n, {
|
|
370
377
|
variant: "mono",
|
|
371
378
|
tone: "muted",
|
|
372
379
|
children: l
|
|
373
380
|
})
|
|
374
381
|
}),
|
|
375
|
-
|
|
382
|
+
S && /* @__PURE__ */ b("div", {
|
|
376
383
|
className: "x78zum5 x1a02dak x6s0dn4 xunmzkg xvc5jky xeuugli",
|
|
377
384
|
children: d
|
|
378
385
|
})
|
|
@@ -380,7 +387,7 @@ function de({ isPlaying: t, onPlayingChange: r, onStepBackward: i, onStepForward
|
|
|
380
387
|
});
|
|
381
388
|
}
|
|
382
389
|
// packages/content/src/stack-trace.tsx
|
|
383
|
-
function
|
|
390
|
+
function ge({ message: e, frames: t }) {
|
|
384
391
|
return /* @__PURE__ */ x(c, {
|
|
385
392
|
kind: "stack-trace",
|
|
386
393
|
"aria-label": "Stack trace",
|
|
@@ -437,11 +444,11 @@ var Y = {
|
|
|
437
444
|
$$css: !0
|
|
438
445
|
}
|
|
439
446
|
};
|
|
440
|
-
function
|
|
441
|
-
let a = n === void 0 ? t.trim() === "" ? [] :
|
|
447
|
+
function _e({ text: e, query: t, ranges: n, tone: r = "warning", mode: i = "contains" }) {
|
|
448
|
+
let a = n === void 0 ? t.trim() === "" ? [] : ee(e, t, i) : [...n], o = a.length === 0 ? [{
|
|
442
449
|
text: e,
|
|
443
450
|
match: !1
|
|
444
|
-
}] :
|
|
451
|
+
}] : F(e, a), s = r === "accent" ? Y.accent : r === "danger" ? Y.danger : void 0, c = 0;
|
|
445
452
|
return /* @__PURE__ */ b(y, { children: o.map((e) => {
|
|
446
453
|
let t = `${c}-${e.match ? "m" : "t"}`;
|
|
447
454
|
return c += e.text.length, e.match ? /* @__PURE__ */ b("mark", {
|
|
@@ -451,7 +458,19 @@ function pe({ text: e, query: t, ranges: n, tone: r = "warning", mode: i = "cont
|
|
|
451
458
|
}) });
|
|
452
459
|
}
|
|
453
460
|
// packages/content/src/timeline-scrubber.tsx
|
|
454
|
-
var
|
|
461
|
+
var ve = .1, ye = 4, X = {
|
|
462
|
+
root: {
|
|
463
|
+
kVAEAm: "x1n2onr6",
|
|
464
|
+
kHBbk8: "xc8icb0",
|
|
465
|
+
kzqmXN: "xh8yej3",
|
|
466
|
+
k7Eaqz: "xeuugli",
|
|
467
|
+
kB7OPa: "x9f619",
|
|
468
|
+
kg3NbH: "xlkn9b3",
|
|
469
|
+
kFalU9: "x5ve5x3",
|
|
470
|
+
kfSwDN: "x87ps6o",
|
|
471
|
+
kk7Lky: "xwj21n9",
|
|
472
|
+
$$css: !0
|
|
473
|
+
},
|
|
455
474
|
fill: {
|
|
456
475
|
kVAEAm: "x10l6tqk",
|
|
457
476
|
kYYq5F: "x10no89f",
|
|
@@ -468,6 +487,7 @@ var me = .1, X = {
|
|
|
468
487
|
thumb: {
|
|
469
488
|
kVAEAm: "x10l6tqk",
|
|
470
489
|
k87sOh: "xwa60dl",
|
|
490
|
+
kY2c9j: "xhtitgo",
|
|
471
491
|
kB7OPa: "x9f619",
|
|
472
492
|
kzqmXN: "x6jxa94",
|
|
473
493
|
kZKoxP: "x1v9usgg",
|
|
@@ -508,9 +528,11 @@ var me = .1, X = {
|
|
|
508
528
|
kMzoRj: "xc342km",
|
|
509
529
|
kaIpWk: "x1ok0vyi",
|
|
510
530
|
kWkggS: "xjbqb8w",
|
|
511
|
-
kzqmXN: "xnr66md
|
|
531
|
+
kzqmXN: "xnr66md x1gtc3ja",
|
|
512
532
|
kZKoxP: "x1f9pz31 x992rv9",
|
|
513
533
|
k3aq6I: "x11lhmoz",
|
|
534
|
+
kFalU9: "x5ve5x3",
|
|
535
|
+
kfSwDN: "x87ps6o",
|
|
514
536
|
kkrTdU: "x1ypdohk",
|
|
515
537
|
kfzvcC: "x67bb7w",
|
|
516
538
|
kYPGJ8: "xtgyt42",
|
|
@@ -552,121 +574,167 @@ var me = .1, X = {
|
|
|
552
574
|
$$css: !0
|
|
553
575
|
},
|
|
554
576
|
toneAccent: {
|
|
555
|
-
kWkggS: "
|
|
577
|
+
kWkggS: "x16lk066",
|
|
556
578
|
$$css: !0
|
|
557
579
|
}
|
|
558
|
-
},
|
|
580
|
+
}, be = {
|
|
559
581
|
neutral: X.toneNeutral,
|
|
560
582
|
positive: X.tonePositive,
|
|
561
583
|
warning: X.toneWarning,
|
|
562
584
|
negative: X.toneNegative,
|
|
563
585
|
accent: X.toneAccent
|
|
564
586
|
};
|
|
565
|
-
function
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
587
|
+
function xe(e, t) {
|
|
588
|
+
try {
|
|
589
|
+
e.setPointerCapture(t);
|
|
590
|
+
} catch {}
|
|
591
|
+
}
|
|
592
|
+
function Se(e, t) {
|
|
593
|
+
try {
|
|
594
|
+
e.hasPointerCapture(t) && e.releasePointerCapture(t);
|
|
595
|
+
} catch {}
|
|
596
|
+
}
|
|
597
|
+
function Ce(e, t) {
|
|
598
|
+
if (!(e instanceof Element)) return;
|
|
599
|
+
let n = e.closest("[data-marker-id]");
|
|
600
|
+
if (!(n instanceof HTMLElement)) return;
|
|
601
|
+
let r = n.dataset.markerId;
|
|
602
|
+
if (r !== void 0) return t.find((e) => e.marker.id === r);
|
|
603
|
+
}
|
|
604
|
+
function we(e, t) {
|
|
605
|
+
let n = R(t);
|
|
606
|
+
return n < t.max && e >= (n + t.max) / 2 ? t.max : L(z(e, t).value, t.min, t.max);
|
|
607
|
+
}
|
|
608
|
+
function Te({ value: e, max: t, min: n = 0, step: r = 1, onValueChange: i, onScrubStart: a, onScrubEnd: o, markers: s, onMarkerSelect: c, formatValue: l, isDisabled: u = !1, label: d, xstyle: p }) {
|
|
609
|
+
let m = h(null), _ = h(null), v = h(null), y = h(!1), S = h(null), C = h(null), [w, T] = g(!1), [E, D] = g(!1), O = Number.isFinite(n) ? n : 0, k = Number.isFinite(t) && t >= O ? t : O, A = Number.isFinite(r) && r > 0 ? r : 1, j = k - O, M = L(Number.isFinite(e) ? e : O, O, k), N = j > 0 ? te(M, {
|
|
610
|
+
min: O,
|
|
611
|
+
max: k
|
|
612
|
+
}) * 100 : 0, ee = l === void 0 ? void 0 : l(M), P = s === void 0 ? [] : s.filter((e) => Number.isFinite(e.position)).map((e) => ({
|
|
613
|
+
marker: e,
|
|
614
|
+
position: L(e.position, O, k)
|
|
615
|
+
}));
|
|
616
|
+
function F(e) {
|
|
617
|
+
if (j <= 0) return O;
|
|
618
|
+
let t = _.current?.getBoundingClientRect();
|
|
619
|
+
if (t === void 0 || t.width <= 0) return M;
|
|
620
|
+
let n = L((e - t.left) / t.width, 0, 1);
|
|
621
|
+
return we(ie(n, {
|
|
622
|
+
min: O,
|
|
623
|
+
max: k
|
|
624
|
+
}), {
|
|
625
|
+
min: O,
|
|
626
|
+
max: k,
|
|
627
|
+
step: A
|
|
577
628
|
});
|
|
578
|
-
return R(B(r, {
|
|
579
|
-
min: w,
|
|
580
|
-
max: T,
|
|
581
|
-
step: E
|
|
582
|
-
}).value, w, T);
|
|
583
629
|
}
|
|
584
|
-
function
|
|
585
|
-
|
|
630
|
+
function I(e) {
|
|
631
|
+
C.current !== e && (C.current = e, i(e));
|
|
586
632
|
}
|
|
587
|
-
function
|
|
588
|
-
|
|
633
|
+
function R(e) {
|
|
634
|
+
if (u || e.button !== 0 || j <= 0) return;
|
|
635
|
+
xe(e.currentTarget, e.pointerId), v.current = e.pointerId, C.current = null;
|
|
636
|
+
let t = Ce(e.target, P);
|
|
637
|
+
t === void 0 ? (S.current = null, y.current = !0, T(!0), a?.(), I(F(e.clientX))) : (e.preventDefault(), m.current?.focus({ preventScroll: !0 }), y.current = !1, S.current = {
|
|
638
|
+
marker: t.marker,
|
|
639
|
+
position: t.position,
|
|
640
|
+
startClientX: e.clientX,
|
|
641
|
+
startClientY: e.clientY
|
|
642
|
+
});
|
|
589
643
|
}
|
|
590
|
-
function
|
|
591
|
-
u ||
|
|
644
|
+
function z(e) {
|
|
645
|
+
if (u || v.current !== e.pointerId) return;
|
|
646
|
+
let t = S.current;
|
|
647
|
+
if (t !== null) {
|
|
648
|
+
let n = e.clientX - t.startClientX, r = e.clientY - t.startClientY;
|
|
649
|
+
if (Math.hypot(n, r) < ye) return;
|
|
650
|
+
S.current = null, y.current = !0, T(!0), a?.();
|
|
651
|
+
}
|
|
652
|
+
y.current && I(F(e.clientX));
|
|
592
653
|
}
|
|
593
|
-
function
|
|
594
|
-
|
|
654
|
+
function B(e) {
|
|
655
|
+
if (v.current !== e.pointerId) return;
|
|
656
|
+
let t = S.current, n = y.current;
|
|
657
|
+
v.current = null, S.current = null, y.current = !1, C.current = null, Se(e.currentTarget, e.pointerId), t !== null && !u ? (i(t.position), c?.(t.marker)) : n && (T(!1), o?.());
|
|
595
658
|
}
|
|
596
|
-
function
|
|
597
|
-
|
|
659
|
+
function V(e) {
|
|
660
|
+
if (v.current !== e.pointerId) return;
|
|
661
|
+
let t = y.current;
|
|
662
|
+
v.current = null, S.current = null, y.current = !1, C.current = null, Se(e.currentTarget, e.pointerId), t && (T(!1), o?.());
|
|
598
663
|
}
|
|
599
|
-
function
|
|
664
|
+
function H(e) {
|
|
600
665
|
if (u || e.ctrlKey || e.metaKey) return;
|
|
601
|
-
let t =
|
|
666
|
+
let t = re(e.nativeEvent);
|
|
602
667
|
if (t === null) return;
|
|
603
668
|
if (e.preventDefault(), t.bound === "min") {
|
|
604
|
-
|
|
669
|
+
M !== O && i(O);
|
|
605
670
|
return;
|
|
606
671
|
}
|
|
607
672
|
if (t.bound === "max") {
|
|
608
|
-
|
|
673
|
+
M !== k && i(k);
|
|
609
674
|
return;
|
|
610
675
|
}
|
|
611
|
-
let n = Math.max(
|
|
612
|
-
min:
|
|
613
|
-
max:
|
|
614
|
-
step:
|
|
676
|
+
let n = Math.max(A, j * ve), r = L(ne(M, t, {
|
|
677
|
+
min: O,
|
|
678
|
+
max: k,
|
|
679
|
+
step: A,
|
|
615
680
|
largeStep: n
|
|
616
|
-
}),
|
|
617
|
-
|
|
681
|
+
}), O, k), a = t.direction > 0 && t.size === "large" && M + n >= k, o = t.direction > 0 && r <= M && M < k, s = a || o ? k : r;
|
|
682
|
+
s !== M && i(s);
|
|
618
683
|
}
|
|
619
|
-
let
|
|
684
|
+
let ae = E && !u && !w;
|
|
620
685
|
return /* @__PURE__ */ x("div", {
|
|
621
686
|
"data-disabled": u ? "" : void 0,
|
|
622
|
-
|
|
687
|
+
onPointerDown: R,
|
|
688
|
+
onPointerMove: z,
|
|
689
|
+
onPointerUp: B,
|
|
690
|
+
onPointerCancel: V,
|
|
691
|
+
onLostPointerCapture: V,
|
|
692
|
+
onPointerEnter: () => D(!0),
|
|
693
|
+
onPointerLeave: () => D(!1),
|
|
694
|
+
...f.props(X.root, p),
|
|
623
695
|
children: [/* @__PURE__ */ b("div", {
|
|
696
|
+
ref: m,
|
|
624
697
|
role: "slider",
|
|
625
698
|
tabIndex: u ? -1 : 0,
|
|
626
699
|
"aria-label": d,
|
|
627
|
-
"aria-valuemin":
|
|
628
|
-
"aria-valuemax":
|
|
629
|
-
"aria-valuenow":
|
|
630
|
-
"aria-valuetext":
|
|
700
|
+
"aria-valuemin": O,
|
|
701
|
+
"aria-valuemax": k,
|
|
702
|
+
"aria-valuenow": M,
|
|
703
|
+
"aria-valuetext": ee,
|
|
631
704
|
"aria-disabled": u || void 0,
|
|
632
705
|
"data-disabled": u ? "" : void 0,
|
|
633
|
-
"data-dragging":
|
|
634
|
-
onKeyDown:
|
|
635
|
-
onPointerDown: P,
|
|
636
|
-
onPointerMove: F,
|
|
637
|
-
onPointerUp: I,
|
|
638
|
-
onPointerCancel: I,
|
|
639
|
-
onLostPointerCapture: I,
|
|
640
|
-
onPointerEnter: () => C(!0),
|
|
641
|
-
onPointerLeave: () => C(!1),
|
|
706
|
+
"data-dragging": w ? "" : void 0,
|
|
707
|
+
onKeyDown: H,
|
|
642
708
|
className: "x1n2onr6 x78zum5 x6s0dn4 xh8yej3 x17tes2r x17oiadl x5ve5x3 x87ps6o x1ypdohk x1t137rt x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x7s97pk xv519k6",
|
|
643
709
|
children: /* @__PURE__ */ x("div", {
|
|
644
|
-
ref:
|
|
710
|
+
ref: _,
|
|
645
711
|
className: "x1n2onr6 xh8yej3 xqu0tyb x1ok0vyi x1fa40ue",
|
|
646
|
-
children: [/* @__PURE__ */ b("div", { ...f.props(X.fill, X.fillWidth(`${
|
|
712
|
+
children: [/* @__PURE__ */ b("div", { ...f.props(X.fill, X.fillWidth(`${N}%`)) }), /* @__PURE__ */ b("div", {
|
|
647
713
|
"aria-hidden": !0,
|
|
648
|
-
...f.props(X.thumb, X.insetOffset(`${
|
|
714
|
+
...f.props(X.thumb, X.insetOffset(`${N}%`), ae && X.thumbHover, w && X.thumbDragging)
|
|
649
715
|
})]
|
|
650
716
|
})
|
|
651
|
-
}),
|
|
652
|
-
className: "x10l6tqk x10no89f x1u5aj70 x47corl",
|
|
653
|
-
children:
|
|
654
|
-
let
|
|
655
|
-
min:
|
|
656
|
-
max:
|
|
717
|
+
}), P.length > 0 && /* @__PURE__ */ b("div", {
|
|
718
|
+
className: "x10l6tqk x10no89f x1u5aj70 x1vjfegm x47corl",
|
|
719
|
+
children: P.map(({ marker: e, position: t }) => {
|
|
720
|
+
let n = j > 0 ? te(t, {
|
|
721
|
+
min: O,
|
|
722
|
+
max: k
|
|
657
723
|
}) * 100 : 0, r = e.tone ?? "neutral";
|
|
658
724
|
return /* @__PURE__ */ b("button", {
|
|
659
725
|
type: "button",
|
|
726
|
+
tabIndex: -1,
|
|
727
|
+
"data-marker-id": e.id,
|
|
660
728
|
"aria-label": e.label,
|
|
661
729
|
title: e.label,
|
|
662
730
|
disabled: u,
|
|
663
|
-
onClick: () => {
|
|
664
|
-
i(t), c?.(e);
|
|
731
|
+
onClick: (n) => {
|
|
732
|
+
u || j <= 0 || n.detail !== 0 || (i(t), c?.(e));
|
|
665
733
|
},
|
|
666
734
|
...f.props(X.markerButton, X.insetOffset(`${n}%`)),
|
|
667
735
|
children: /* @__PURE__ */ b("span", {
|
|
668
736
|
"aria-hidden": !0,
|
|
669
|
-
...f.props(X.markerPip,
|
|
737
|
+
...f.props(X.markerPip, be[r])
|
|
670
738
|
})
|
|
671
739
|
}, e.id);
|
|
672
740
|
})
|
|
@@ -699,14 +767,14 @@ var Z = {
|
|
|
699
767
|
kMwMTN: "x153jb6y",
|
|
700
768
|
$$css: !0
|
|
701
769
|
}
|
|
702
|
-
},
|
|
770
|
+
}, Ee = {
|
|
703
771
|
pending: Z.pending,
|
|
704
772
|
running: Z.running,
|
|
705
773
|
complete: Z.complete,
|
|
706
774
|
failed: Z.failed,
|
|
707
775
|
skipped: Z.skipped,
|
|
708
776
|
unknown: Z.unknown
|
|
709
|
-
},
|
|
777
|
+
}, De = {
|
|
710
778
|
pending: E,
|
|
711
779
|
running: C,
|
|
712
780
|
complete: S,
|
|
@@ -714,22 +782,22 @@ var Z = {
|
|
|
714
782
|
skipped: w,
|
|
715
783
|
unknown: T
|
|
716
784
|
};
|
|
717
|
-
function
|
|
785
|
+
function Oe({ label: e, children: t }) {
|
|
718
786
|
return /* @__PURE__ */ b("ol", {
|
|
719
787
|
"aria-label": e,
|
|
720
788
|
className: "x1ghz6dp x1717udv x3ct3a4 xeuugli x1hz01jw xtqrqnz x1778rvt xj57cvi xbixft",
|
|
721
789
|
children: t
|
|
722
790
|
});
|
|
723
791
|
}
|
|
724
|
-
function
|
|
792
|
+
function ke({ label: e, children: t }) {
|
|
725
793
|
return /* @__PURE__ */ b("ol", {
|
|
726
794
|
"aria-label": e,
|
|
727
795
|
className: "x1ghz6dp x1717udv x3ct3a4 xeuugli x1hz01jw xtqrqnz x1778rvt xj57cvi xbixft x3bg4vu",
|
|
728
796
|
children: t
|
|
729
797
|
});
|
|
730
798
|
}
|
|
731
|
-
function
|
|
732
|
-
let d =
|
|
799
|
+
function Ae({ id: e, label: t, status: n, statusLabel: a, description: o, detail: s, isSelected: c, onSelect: l, children: u }) {
|
|
800
|
+
let d = De[n];
|
|
733
801
|
return /* @__PURE__ */ x("li", {
|
|
734
802
|
"data-item-id": e,
|
|
735
803
|
className: "x1n2onr6 xrvj5dj x1qpdrs7 x8zbtdt x1wv5www xup0pd7",
|
|
@@ -738,7 +806,7 @@ function xe({ id: e, label: t, status: n, statusLabel: a, description: o, detail
|
|
|
738
806
|
className: "x78zum5 xdt5ytf x6s0dn4 xunmzkg x1lk341d",
|
|
739
807
|
children: [/* @__PURE__ */ b(d, {
|
|
740
808
|
size: 14,
|
|
741
|
-
...f.props(
|
|
809
|
+
...f.props(Ee[n])
|
|
742
810
|
}), /* @__PURE__ */ b("span", { className: "x1i1rx1s x1f6qilh x98rzlu x1fa40ue" })]
|
|
743
811
|
}), /* @__PURE__ */ x("div", {
|
|
744
812
|
className: "x78zum5 xdt5ytf xunmzkg xeuugli",
|
|
@@ -768,20 +836,21 @@ function xe({ id: e, label: t, status: n, statusLabel: a, description: o, detail
|
|
|
768
836
|
})]
|
|
769
837
|
});
|
|
770
838
|
}
|
|
771
|
-
var
|
|
772
|
-
Root:
|
|
773
|
-
Item:
|
|
774
|
-
Group:
|
|
775
|
-
},
|
|
839
|
+
var je = {
|
|
840
|
+
Root: Oe,
|
|
841
|
+
Item: Ae,
|
|
842
|
+
Group: ke
|
|
843
|
+
}, Q = {
|
|
776
844
|
root: {
|
|
777
845
|
k1xSpc: "x78zum5",
|
|
778
846
|
kXwgrk: "xdt5ytf",
|
|
847
|
+
kB7OPa: "x9f619",
|
|
848
|
+
kzqmXN: "xh8yej3",
|
|
779
849
|
kVQacm: "xb3r6kr",
|
|
780
850
|
$$css: !0
|
|
781
851
|
},
|
|
782
852
|
rootIntrinsic: { $$css: !0 },
|
|
783
853
|
rootFill: {
|
|
784
|
-
kzqmXN: "xh8yej3",
|
|
785
854
|
kZKoxP: "x5yr21d",
|
|
786
855
|
kAzted: "x2lwn1j",
|
|
787
856
|
$$css: !0
|
|
@@ -809,22 +878,37 @@ var Q = {
|
|
|
809
878
|
},
|
|
810
879
|
ratioFill: {
|
|
811
880
|
kUk6DE: "x98rzlu",
|
|
812
|
-
|
|
881
|
+
kAzted: "x2lwn1j",
|
|
882
|
+
$$css: !0
|
|
883
|
+
},
|
|
884
|
+
overlay: {
|
|
885
|
+
kVAEAm: "x10l6tqk",
|
|
886
|
+
kpwlN0: "x10a8y8t",
|
|
887
|
+
k1xSpc: "xrvj5dj",
|
|
888
|
+
kgQiWS: "x1ku5rj1",
|
|
889
|
+
kmVPX3: "x1c8xbx5",
|
|
890
|
+
kB7OPa: "x9f619",
|
|
891
|
+
kWkggS: "x1r7kqkb",
|
|
892
|
+
kMwMTN: "x153jb6y",
|
|
893
|
+
kVQacm: "xysyzu8",
|
|
813
894
|
$$css: !0
|
|
814
895
|
}
|
|
815
|
-
},
|
|
816
|
-
"16/9":
|
|
817
|
-
"16/10":
|
|
818
|
-
"4/3":
|
|
819
|
-
fill:
|
|
820
|
-
},
|
|
821
|
-
"16/9":
|
|
822
|
-
"16/10":
|
|
823
|
-
"4/3":
|
|
824
|
-
fill:
|
|
896
|
+
}, Me = {
|
|
897
|
+
"16/9": Q.rootIntrinsic,
|
|
898
|
+
"16/10": Q.rootIntrinsic,
|
|
899
|
+
"4/3": Q.rootIntrinsic,
|
|
900
|
+
fill: Q.rootFill
|
|
901
|
+
}, Ne = {
|
|
902
|
+
"16/9": Q.ratio16x9,
|
|
903
|
+
"16/10": Q.ratio16x10,
|
|
904
|
+
"4/3": Q.ratio4x3,
|
|
905
|
+
fill: Q.ratioFill
|
|
825
906
|
};
|
|
826
|
-
function
|
|
827
|
-
|
|
907
|
+
function $(e) {
|
|
908
|
+
return e != null && typeof e != "boolean";
|
|
909
|
+
}
|
|
910
|
+
function Pe({ headerStart: e, headerEnd: t }) {
|
|
911
|
+
let n = $(e), r = $(t);
|
|
828
912
|
return /* @__PURE__ */ x("div", {
|
|
829
913
|
...f.props(s.header),
|
|
830
914
|
children: [n && /* @__PURE__ */ b("div", {
|
|
@@ -836,36 +920,38 @@ function we({ headerStart: e, headerEnd: t }) {
|
|
|
836
920
|
})]
|
|
837
921
|
});
|
|
838
922
|
}
|
|
839
|
-
function
|
|
840
|
-
let
|
|
923
|
+
function Fe({ aspectRatio: e = "16/9", headerStart: t, headerEnd: n, notice: r, state: i = "ready", placeholder: a, children: c, label: l, xstyle: u }) {
|
|
924
|
+
let d = o(), p = $(t), m = $(n), h = p || m, g = $(r), _ = $(a), v = i !== "ready" && _, y = l?.trim(), S = y !== void 0 && y.length > 0;
|
|
841
925
|
return /* @__PURE__ */ x("div", {
|
|
842
|
-
...f.props(s.root,
|
|
926
|
+
...f.props(s.root, Q.root, Me[e], u),
|
|
843
927
|
children: [
|
|
844
|
-
|
|
928
|
+
h && /* @__PURE__ */ b(Pe, {
|
|
845
929
|
headerStart: t,
|
|
846
930
|
headerEnd: n
|
|
847
931
|
}),
|
|
848
|
-
|
|
932
|
+
g && /* @__PURE__ */ b("div", {
|
|
849
933
|
className: "xeuugli xn9t2bk x1doqdfy xso031l x1q0q8m5 x1qndepd xpvm0e4 xy8obcc xas2l8k x153jb6y xj0a0fe",
|
|
850
934
|
children: r
|
|
851
935
|
}),
|
|
852
936
|
/* @__PURE__ */ x("div", {
|
|
853
|
-
role:
|
|
854
|
-
"aria-label":
|
|
937
|
+
role: S ? "region" : void 0,
|
|
938
|
+
"aria-label": S ? y : void 0,
|
|
855
939
|
"aria-busy": i === "pending" || void 0,
|
|
856
940
|
"data-state": i,
|
|
857
|
-
...f.props(
|
|
941
|
+
...f.props(Q.stage, Ne[e]),
|
|
858
942
|
children: [/* @__PURE__ */ b("div", {
|
|
859
|
-
"aria-hidden":
|
|
860
|
-
inert:
|
|
943
|
+
"aria-hidden": v || void 0,
|
|
944
|
+
inert: v,
|
|
861
945
|
className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d xeuugli x2lwn1j xb3r6kr",
|
|
862
|
-
children:
|
|
863
|
-
}),
|
|
864
|
-
|
|
946
|
+
children: c
|
|
947
|
+
}), v && /* @__PURE__ */ b("div", {
|
|
948
|
+
ref: d.ref,
|
|
949
|
+
tabIndex: d.tabIndex,
|
|
950
|
+
...f.props(s.scrollRegion, Q.overlay),
|
|
865
951
|
children: a
|
|
866
952
|
})]
|
|
867
953
|
})
|
|
868
954
|
]
|
|
869
955
|
});
|
|
870
956
|
}
|
|
871
|
-
export { N as a,
|
|
957
|
+
export { N as a, ge as c, le as d, ce as f, _e as i, he as l, je as n, P as o, ae as p, Te as r, I as s, Fe as t, ue as u };
|
package/dist/styles2.css
CHANGED
|
@@ -1059,6 +1059,10 @@
|
|
|
1059
1059
|
background-color: var(--x24btp3);
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
|
+
.x16lk066 {
|
|
1063
|
+
background-color: var(--x3s82iy);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1062
1066
|
.xqtq5zq {
|
|
1063
1067
|
background-color: var(--x5peq9z);
|
|
1064
1068
|
}
|
|
@@ -4759,6 +4763,10 @@
|
|
|
4759
4763
|
}
|
|
4760
4764
|
|
|
4761
4765
|
@media (pointer: coarse) {
|
|
4766
|
+
.x1gtc3ja.x1gtc3ja {
|
|
4767
|
+
width: var(--x1qq5i99);
|
|
4768
|
+
}
|
|
4769
|
+
|
|
4762
4770
|
.x1ff4b4a.x1ff4b4a {
|
|
4763
4771
|
width: var(--x6uufy4);
|
|
4764
4772
|
}
|
package/package.json
CHANGED