@mechane-ai/elements 0.58.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/ai.js +1 -1
- package/dist/catalog.json +5 -1
- package/dist/content.js +1 -1
- package/dist/kits/research.js +1 -1
- package/dist/packages/content/src/has-renderable-node.d.ts +2 -0
- package/dist/packages/content/src/index.d.ts +1 -1
- package/dist/packages/content/src/playback-bar.d.ts +16 -5
- package/dist/packages/content/src/timeline-scrubber.d.ts +9 -3
- package/dist/packages/content/src/viewport-frame.d.ts +3 -1
- package/dist/src-BAlO76fa.js +1140 -0
- package/dist/styles2.css +8 -0
- package/package.json +1 -1
- package/skills/use-elements/SKILL.md +18 -18
- package/dist/src-Cw1yrc2P.js +0 -871
package/dist/src-Cw1yrc2P.js
DELETED
|
@@ -1,871 +0,0 @@
|
|
|
1
|
-
import { D as e, T as t, c as n, k as r, v as i, y as a } from "./src-9EJskqB_.js";
|
|
2
|
-
import { t as o } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
3
|
-
import { t as s } from "./viewer-styles-DsFYri4K.js";
|
|
4
|
-
import { i as c, t as l } from "./code-block-BZsY2sh3.js";
|
|
5
|
-
import { p as u } from "./src-Dxs3Buo_.js";
|
|
6
|
-
import { t as d } from "./content-link-PnpcnTCx.js";
|
|
7
|
-
import * as f from "@stylexjs/stylex";
|
|
8
|
-
import { useCallback as p, useLayoutEffect as m, useRef as h, useState as g, useSyncExternalStore as _ } from "react";
|
|
9
|
-
import { createStickToBottom as v } from "@ui-sdk/core";
|
|
10
|
-
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
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
|
-
import M from "strip-ansi";
|
|
13
|
-
import { fuzzyScore as N, matchRanges as P, matchRanges as F, matchSegments as I, matchSegments as L } from "@ui-sdk/react/text-match";
|
|
14
|
-
import { clamp as R, fractionOf as z, scrubTo as B, stepBy as ee, stepFromKey as te, valueAt as ne } from "@ui-sdk/core/number";
|
|
15
|
-
// packages/content/src/json-viewer.tsx
|
|
16
|
-
var V = { body: {
|
|
17
|
-
kmVPX3: "x1mvvolr",
|
|
18
|
-
kVQacm: "xysyzu8",
|
|
19
|
-
kskxy: "x1phlbz0",
|
|
20
|
-
kMv6JI: "xiard35",
|
|
21
|
-
kGuDYH: "xy8obcc",
|
|
22
|
-
$$css: !0
|
|
23
|
-
} }, H = 500;
|
|
24
|
-
function U({ value: e, name: t, path: n, depth: r, maxDepth: a, maxEntries: o }) {
|
|
25
|
-
if (typeof e != "object" || !e) {
|
|
26
|
-
let n = JSON.stringify(e), r = n.length > H;
|
|
27
|
-
return /* @__PURE__ */ x("div", {
|
|
28
|
-
className: "xeuugli x126k92a xj0a0fe",
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ x("span", {
|
|
31
|
-
className: "x153jb6y",
|
|
32
|
-
children: [t, ": "]
|
|
33
|
-
}),
|
|
34
|
-
/* @__PURE__ */ b("span", {
|
|
35
|
-
...{
|
|
36
|
-
0: { className: "xbixft" },
|
|
37
|
-
1: { className: "x7ixh4y" }
|
|
38
|
-
}[typeof e == "string" | 0],
|
|
39
|
-
children: n.slice(0, H)
|
|
40
|
-
}),
|
|
41
|
-
r && /* @__PURE__ */ b("span", {
|
|
42
|
-
className: "x153jb6y x1hz01jw",
|
|
43
|
-
children: "… (value truncated)"
|
|
44
|
-
})
|
|
45
|
-
]
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
let s = Object.entries(e), c = Array.isArray(e) ? `${s.length} items` : `${s.length} fields`;
|
|
49
|
-
return r >= a ? /* @__PURE__ */ x("div", {
|
|
50
|
-
className: "xeuugli x126k92a xj0a0fe",
|
|
51
|
-
children: [/* @__PURE__ */ x("span", {
|
|
52
|
-
className: "x153jb6y",
|
|
53
|
-
children: [t, ": "]
|
|
54
|
-
}), /* @__PURE__ */ x("span", {
|
|
55
|
-
className: "x153jb6y x1hz01jw",
|
|
56
|
-
children: [c, " · depth limit"]
|
|
57
|
-
})]
|
|
58
|
-
}) : /* @__PURE__ */ x(i.Root, {
|
|
59
|
-
defaultOpen: r === 0,
|
|
60
|
-
className: "xeuugli x126k92a xj0a0fe",
|
|
61
|
-
children: [/* @__PURE__ */ b(i.Trigger, {
|
|
62
|
-
variant: "inline",
|
|
63
|
-
children: /* @__PURE__ */ x("span", {
|
|
64
|
-
className: "xiard35 xy8obcc",
|
|
65
|
-
children: [
|
|
66
|
-
/* @__PURE__ */ x("span", {
|
|
67
|
-
className: "x153jb6y",
|
|
68
|
-
children: [t, ": "]
|
|
69
|
-
}),
|
|
70
|
-
Array.isArray(e) ? "[]" : "{}",
|
|
71
|
-
" ",
|
|
72
|
-
/* @__PURE__ */ b("span", {
|
|
73
|
-
className: "x153jb6y x1hz01jw",
|
|
74
|
-
children: c
|
|
75
|
-
})
|
|
76
|
-
]
|
|
77
|
-
})
|
|
78
|
-
}), /* @__PURE__ */ b(i.Panel, { children: /* @__PURE__ */ x("div", {
|
|
79
|
-
className: "xo02m6d xpilrb4 x1t7ytsu x97x49r xa1dmyi xiard35 xy8obcc",
|
|
80
|
-
children: [s.slice(0, o).map(([e, t]) => {
|
|
81
|
-
let i = `${n}/${e.replaceAll("~", "~0").replaceAll("/", "~1")}`;
|
|
82
|
-
return /* @__PURE__ */ b(U, {
|
|
83
|
-
name: JSON.stringify(e),
|
|
84
|
-
path: i,
|
|
85
|
-
value: t,
|
|
86
|
-
depth: r + 1,
|
|
87
|
-
maxDepth: a,
|
|
88
|
-
maxEntries: o
|
|
89
|
-
}, i);
|
|
90
|
-
}), s.length > o && /* @__PURE__ */ x("div", {
|
|
91
|
-
className: "x153jb6y x1hz01jw",
|
|
92
|
-
children: [s.length - o, " more entries · copy to inspect the complete value"]
|
|
93
|
-
})]
|
|
94
|
-
}) })]
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
function re({ value: e, label: t, maxDepth: n = 6, maxEntries: r = 50 }) {
|
|
98
|
-
let i = o(), l = p(() => JSON.stringify(e, null, 2), [e]);
|
|
99
|
-
return /* @__PURE__ */ x(c, {
|
|
100
|
-
kind: "json",
|
|
101
|
-
"aria-label": t,
|
|
102
|
-
...f.props(s.root),
|
|
103
|
-
children: [/* @__PURE__ */ x("div", {
|
|
104
|
-
...f.props(s.header),
|
|
105
|
-
children: [/* @__PURE__ */ b("span", {
|
|
106
|
-
...f.props(s.label),
|
|
107
|
-
children: t
|
|
108
|
-
}), /* @__PURE__ */ b(a, {
|
|
109
|
-
label: t,
|
|
110
|
-
value: l,
|
|
111
|
-
children: "Copy JSON"
|
|
112
|
-
})]
|
|
113
|
-
}), /* @__PURE__ */ b("div", {
|
|
114
|
-
ref: i.ref,
|
|
115
|
-
role: "region",
|
|
116
|
-
"aria-label": `${t} fields`,
|
|
117
|
-
tabIndex: i.tabIndex,
|
|
118
|
-
...f.props(s.scrollRegion, V.body),
|
|
119
|
-
children: /* @__PURE__ */ b(U, {
|
|
120
|
-
name: "root",
|
|
121
|
-
path: "",
|
|
122
|
-
value: e,
|
|
123
|
-
depth: 0,
|
|
124
|
-
maxDepth: Math.max(1, n),
|
|
125
|
-
maxEntries: Math.max(1, r)
|
|
126
|
-
})
|
|
127
|
-
})]
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
// packages/content/src/log-viewer.tsx
|
|
131
|
-
var ie = {
|
|
132
|
-
kVQacm: "xysyzu8",
|
|
133
|
-
kmVPX3: "x1mvvolr",
|
|
134
|
-
kogj98: "x1ghz6dp",
|
|
135
|
-
kMv6JI: "xiard35",
|
|
136
|
-
kGuDYH: "xy8obcc",
|
|
137
|
-
kLWn49: "x1778rvt",
|
|
138
|
-
khDVqt: "x126k92a",
|
|
139
|
-
kHjlTd: "xj0a0fe",
|
|
140
|
-
kKi2Bq: "xeq4nuv",
|
|
141
|
-
$$css: !0
|
|
142
|
-
}, W = {
|
|
143
|
-
output: (e) => [
|
|
144
|
-
ie,
|
|
145
|
-
{
|
|
146
|
-
kskxy: e == null ? e : "x1jols5v",
|
|
147
|
-
$$css: !0
|
|
148
|
-
},
|
|
149
|
-
{ "--x-maxHeight": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }
|
|
150
|
-
],
|
|
151
|
-
notice: {
|
|
152
|
-
kt9PQ7: "xso031l",
|
|
153
|
-
kfdmCh: "x1q0q8m5",
|
|
154
|
-
kL6WhQ: "x1qndepd",
|
|
155
|
-
$$css: !0
|
|
156
|
-
}
|
|
157
|
-
}, ae = 2e5;
|
|
158
|
-
function oe({ output: e, label: n, variant: r = "default", maxLines: i = 500, maxHeight: l = 320, isRunning: u = !1 }) {
|
|
159
|
-
let d = o(), p = d.viewport, y = h(!1), [S] = g(() => {
|
|
160
|
-
let e = v();
|
|
161
|
-
return {
|
|
162
|
-
...e,
|
|
163
|
-
subscribe: (t) => e.subscribe(t),
|
|
164
|
-
read: () => e.get()
|
|
165
|
-
};
|
|
166
|
-
}), { following: C } = _(S.subscribe, S.read, S.read), w = M(e), T = w.slice(-2e5).split("\n"), E = T.slice(-Math.max(1, i)), D = T.length - E.length, O = r === "embedded", k = u && (!O || !C);
|
|
167
|
-
return m(() => {
|
|
168
|
-
let e = p.current;
|
|
169
|
-
return e === null ? void 0 : S.connect(e);
|
|
170
|
-
}, [S, p]), m(() => {
|
|
171
|
-
!u && y.current && (y.current = !1, p.current?.focus({ preventScroll: !0 }));
|
|
172
|
-
}, [u]), /* @__PURE__ */ x(c, {
|
|
173
|
-
kind: "log",
|
|
174
|
-
"aria-label": n,
|
|
175
|
-
...f.props(s.root, O && s.embedded),
|
|
176
|
-
children: [
|
|
177
|
-
/* @__PURE__ */ x("div", {
|
|
178
|
-
...f.props(s.header, O && s.embeddedHeader),
|
|
179
|
-
children: [/* @__PURE__ */ x("span", {
|
|
180
|
-
...f.props(s.label),
|
|
181
|
-
children: [n, u && !O && " · running"]
|
|
182
|
-
}), /* @__PURE__ */ x("div", {
|
|
183
|
-
...f.props(s.actions),
|
|
184
|
-
children: [k && /* @__PURE__ */ b(t, {
|
|
185
|
-
variant: "ghost",
|
|
186
|
-
onClick: () => {
|
|
187
|
-
C ? S.release() : S.scrollToBottom();
|
|
188
|
-
},
|
|
189
|
-
onFocus: () => {
|
|
190
|
-
y.current = !0;
|
|
191
|
-
},
|
|
192
|
-
onBlur: () => {
|
|
193
|
-
y.current = !1;
|
|
194
|
-
},
|
|
195
|
-
children: C ? "Pause following" : "Follow output"
|
|
196
|
-
}), /* @__PURE__ */ b(a, {
|
|
197
|
-
value: e,
|
|
198
|
-
label: n,
|
|
199
|
-
display: O ? "icon" : "value",
|
|
200
|
-
children: "Copy"
|
|
201
|
-
})]
|
|
202
|
-
})]
|
|
203
|
-
}),
|
|
204
|
-
D > 0 && /* @__PURE__ */ x("div", {
|
|
205
|
-
...f.props(s.note, W.notice),
|
|
206
|
-
children: [D, " earlier lines omitted from this view. Copy includes the supplied output."]
|
|
207
|
-
}),
|
|
208
|
-
w.length > ae && /* @__PURE__ */ b("div", {
|
|
209
|
-
...f.props(s.note, W.notice),
|
|
210
|
-
children: "Preview limited to the last 200,000 characters. Copy includes the supplied output."
|
|
211
|
-
}),
|
|
212
|
-
/* @__PURE__ */ b("pre", {
|
|
213
|
-
ref: d.ref,
|
|
214
|
-
role: "region",
|
|
215
|
-
"aria-label": `${n} output`,
|
|
216
|
-
tabIndex: d.tabIndex,
|
|
217
|
-
...f.props(s.scrollRegion, W.output(l)),
|
|
218
|
-
children: /* @__PURE__ */ b("span", {
|
|
219
|
-
className: "x1lliihq",
|
|
220
|
-
children: w.length === 0 ? "No output recorded." : E.join("\n")
|
|
221
|
-
})
|
|
222
|
-
})
|
|
223
|
-
]
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
// packages/content/src/media-viewer.tsx
|
|
227
|
-
var G = {
|
|
228
|
-
viewport: {
|
|
229
|
-
k1xSpc: "xrvj5dj",
|
|
230
|
-
kgQiWS: "x1ku5rj1",
|
|
231
|
-
kzqmXN: "xh8yej3",
|
|
232
|
-
kOBAk4: "x186iv6y",
|
|
233
|
-
kskxy: "xcwfpss",
|
|
234
|
-
k7Eaqz: "xeuugli",
|
|
235
|
-
kVQacm: "xb3r6kr",
|
|
236
|
-
kWkggS: "x1r7kqkb",
|
|
237
|
-
$$css: !0
|
|
238
|
-
},
|
|
239
|
-
placeholder: {
|
|
240
|
-
kWkggS: "x1fa40ue",
|
|
241
|
-
$$css: !0
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
function K() {
|
|
245
|
-
return /* @__PURE__ */ b("div", {
|
|
246
|
-
"aria-hidden": !0,
|
|
247
|
-
...f.props(s.root, G.viewport, G.placeholder)
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
function se({ kind: e, src: t, label: n, widthPixels: r, heightPixels: i, onError: a }) {
|
|
251
|
-
return /* @__PURE__ */ b("div", {
|
|
252
|
-
...f.props(s.root, G.viewport),
|
|
253
|
-
children: e === "image" ? /* @__PURE__ */ b("img", {
|
|
254
|
-
src: t,
|
|
255
|
-
alt: n,
|
|
256
|
-
width: r,
|
|
257
|
-
height: i,
|
|
258
|
-
onError: a,
|
|
259
|
-
className: "x1lliihq xh8yej3 x5yr21d x2lwn1j x19kjcj4"
|
|
260
|
-
}) : /* @__PURE__ */ b("video", {
|
|
261
|
-
src: t,
|
|
262
|
-
"aria-label": n,
|
|
263
|
-
width: r,
|
|
264
|
-
height: i,
|
|
265
|
-
controls: !0,
|
|
266
|
-
muted: !0,
|
|
267
|
-
playsInline: !0,
|
|
268
|
-
preload: "metadata",
|
|
269
|
-
onError: a,
|
|
270
|
-
className: "x1lliihq xh8yej3 x5yr21d x2lwn1j x19kjcj4"
|
|
271
|
-
})
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
// packages/content/src/playback-bar.tsx
|
|
275
|
-
var ce = [
|
|
276
|
-
.25,
|
|
277
|
-
.5,
|
|
278
|
-
1,
|
|
279
|
-
2,
|
|
280
|
-
4
|
|
281
|
-
], q = 16, J = {
|
|
282
|
-
bar: {
|
|
283
|
-
k1xSpc: "x78zum5",
|
|
284
|
-
kwnvtZ: "x1a02dak",
|
|
285
|
-
kGNEyG: "x6s0dn4",
|
|
286
|
-
k7Eaqz: "xeuugli",
|
|
287
|
-
kMzoRj: "xmkeg23",
|
|
288
|
-
ksu8eU: "x1y0btm7",
|
|
289
|
-
kVAM5u: "x1ey3b81",
|
|
290
|
-
kaIpWk: "x1ok0vyi",
|
|
291
|
-
kWkggS: "xpvm0e4",
|
|
292
|
-
$$css: !0
|
|
293
|
-
},
|
|
294
|
-
standardBar: {
|
|
295
|
-
k1C7PZ: "xa2sdi0",
|
|
296
|
-
khm7nJ: "x1gkm1c7",
|
|
297
|
-
k8WAf4: "x1hmw7ec",
|
|
298
|
-
kg3NbH: "x5g2kb4",
|
|
299
|
-
$$css: !0
|
|
300
|
-
},
|
|
301
|
-
compactBar: {
|
|
302
|
-
k1C7PZ: "x26z182",
|
|
303
|
-
khm7nJ: "x1gkm1c7",
|
|
304
|
-
k8WAf4: "x10dazmo",
|
|
305
|
-
kg3NbH: "x14w6jbu",
|
|
306
|
-
$$css: !0
|
|
307
|
-
}
|
|
308
|
-
}, le = {
|
|
309
|
-
standard: J.standardBar,
|
|
310
|
-
compact: J.compactBar
|
|
311
|
-
};
|
|
312
|
-
function ue(e, t) {
|
|
313
|
-
let n = new Set(e);
|
|
314
|
-
return Number.isFinite(t) && n.add(t), Array.from(n).toSorted((e, t) => e - t).map((e) => ({
|
|
315
|
-
value: String(e),
|
|
316
|
-
label: `${e}x`
|
|
317
|
-
}));
|
|
318
|
-
}
|
|
319
|
-
function de({ isPlaying: t, onPlayingChange: r, onStepBackward: i, onStepForward: a, speed: o, speeds: s = ce, onSpeedChange: c, readout: l, actions: d, density: p = "standard", isDisabled: m = !1, playLabel: h = "Play", pauseLabel: g = "Pause" }) {
|
|
320
|
-
let _ = o !== void 0 && c !== void 0, v = d != null, y = _ ? ue(s, o) : [];
|
|
321
|
-
return /* @__PURE__ */ x("div", {
|
|
322
|
-
role: "group",
|
|
323
|
-
"aria-label": "Playback controls",
|
|
324
|
-
...f.props(J.bar, le[p]),
|
|
325
|
-
children: [
|
|
326
|
-
/* @__PURE__ */ x("div", {
|
|
327
|
-
className: "x78zum5 x6s0dn4 xunmzkg x2lah0s",
|
|
328
|
-
children: [
|
|
329
|
-
i !== void 0 && /* @__PURE__ */ b(e, {
|
|
330
|
-
variant: "ghost",
|
|
331
|
-
density: p,
|
|
332
|
-
"aria-label": "Step backward",
|
|
333
|
-
disabled: m,
|
|
334
|
-
onClick: i,
|
|
335
|
-
children: /* @__PURE__ */ b(k, { size: q })
|
|
336
|
-
}),
|
|
337
|
-
/* @__PURE__ */ b(e, {
|
|
338
|
-
variant: "outline",
|
|
339
|
-
density: p,
|
|
340
|
-
"aria-label": t ? g : h,
|
|
341
|
-
disabled: m,
|
|
342
|
-
onClick: () => r(!t),
|
|
343
|
-
children: b(t ? D : O, { size: q })
|
|
344
|
-
}),
|
|
345
|
-
a !== void 0 && /* @__PURE__ */ b(e, {
|
|
346
|
-
variant: "ghost",
|
|
347
|
-
density: p,
|
|
348
|
-
"aria-label": "Step forward",
|
|
349
|
-
disabled: m,
|
|
350
|
-
onClick: a,
|
|
351
|
-
children: /* @__PURE__ */ b(A, { size: q })
|
|
352
|
-
})
|
|
353
|
-
]
|
|
354
|
-
}),
|
|
355
|
-
_ && /* @__PURE__ */ b(u, {
|
|
356
|
-
label: "Playback speed",
|
|
357
|
-
density: p,
|
|
358
|
-
disabled: m,
|
|
359
|
-
items: y,
|
|
360
|
-
value: String(o),
|
|
361
|
-
onValueChange: (e) => {
|
|
362
|
-
if (e === null) return;
|
|
363
|
-
let t = Number(e);
|
|
364
|
-
Number.isFinite(t) && c(t);
|
|
365
|
-
}
|
|
366
|
-
}),
|
|
367
|
-
l !== void 0 && /* @__PURE__ */ b("span", {
|
|
368
|
-
className: "x3nfvp2 x6s0dn4 xss6m8b xuxw1ft x14w6jbu",
|
|
369
|
-
children: /* @__PURE__ */ b(n, {
|
|
370
|
-
variant: "mono",
|
|
371
|
-
tone: "muted",
|
|
372
|
-
children: l
|
|
373
|
-
})
|
|
374
|
-
}),
|
|
375
|
-
v && /* @__PURE__ */ b("div", {
|
|
376
|
-
className: "x78zum5 x1a02dak x6s0dn4 xunmzkg xvc5jky xeuugli",
|
|
377
|
-
children: d
|
|
378
|
-
})
|
|
379
|
-
]
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
// packages/content/src/stack-trace.tsx
|
|
383
|
-
function fe({ message: e, frames: t }) {
|
|
384
|
-
return /* @__PURE__ */ x(c, {
|
|
385
|
-
kind: "stack-trace",
|
|
386
|
-
"aria-label": "Stack trace",
|
|
387
|
-
...f.props(s.root),
|
|
388
|
-
children: [/* @__PURE__ */ b("p", {
|
|
389
|
-
className: "x1ghz6dp x1mvvolr xso031l x1q0q8m5 x1qndepd xr5kp14 xk4h15q xj0a0fe",
|
|
390
|
-
children: e
|
|
391
|
-
}), t.length === 0 ? /* @__PURE__ */ b("p", {
|
|
392
|
-
className: "x1ghz6dp x1mvvolr x153jb6y",
|
|
393
|
-
children: "No frames recorded."
|
|
394
|
-
}) : /* @__PURE__ */ b("ol", {
|
|
395
|
-
className: "x1ghz6dp x1717udv x3ct3a4",
|
|
396
|
-
children: t.map((e) => {
|
|
397
|
-
let t = [
|
|
398
|
-
e.file,
|
|
399
|
-
e.line,
|
|
400
|
-
e.column
|
|
401
|
-
].filter((e) => e !== void 0).join(":");
|
|
402
|
-
return /* @__PURE__ */ x("li", {
|
|
403
|
-
className: "x78zum5 xdt5ytf x1hnptsi xeuugli xj0a0fe x1mvvolr xso031l x1t1lzn6 x1q0q8m5 x1qndepd",
|
|
404
|
-
children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b(d, {
|
|
405
|
-
href: e.href,
|
|
406
|
-
children: e.name
|
|
407
|
-
}), t.length > 0 && /* @__PURE__ */ b("span", {
|
|
408
|
-
className: "x1lliihq x153jb6y xiard35 xy8obcc xj0a0fe",
|
|
409
|
-
children: t
|
|
410
|
-
})] }), e.code !== void 0 && /* @__PURE__ */ b(l, {
|
|
411
|
-
code: e.code,
|
|
412
|
-
language: e.language,
|
|
413
|
-
filename: e.file
|
|
414
|
-
})]
|
|
415
|
-
}, e.id);
|
|
416
|
-
})
|
|
417
|
-
})]
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
// packages/content/src/text-match.tsx
|
|
421
|
-
var Y = {
|
|
422
|
-
mark: {
|
|
423
|
-
kWkggS: "x1dqe72f",
|
|
424
|
-
kMwMTN: "xbixft",
|
|
425
|
-
kaIpWk: "x1ok0vyi",
|
|
426
|
-
kg3NbH: "x1r97e56",
|
|
427
|
-
$$css: !0
|
|
428
|
-
},
|
|
429
|
-
accent: {
|
|
430
|
-
kWkggS: "x1r8u7ye",
|
|
431
|
-
kMwMTN: "x7ixh4y",
|
|
432
|
-
$$css: !0
|
|
433
|
-
},
|
|
434
|
-
danger: {
|
|
435
|
-
kWkggS: "xcqwzn",
|
|
436
|
-
kMwMTN: "xr5kp14",
|
|
437
|
-
$$css: !0
|
|
438
|
-
}
|
|
439
|
-
};
|
|
440
|
-
function pe({ text: e, query: t, ranges: n, tone: r = "warning", mode: i = "contains" }) {
|
|
441
|
-
let a = n === void 0 ? t.trim() === "" ? [] : P(e, t, i) : [...n], o = a.length === 0 ? [{
|
|
442
|
-
text: e,
|
|
443
|
-
match: !1
|
|
444
|
-
}] : I(e, a), s = r === "accent" ? Y.accent : r === "danger" ? Y.danger : void 0, c = 0;
|
|
445
|
-
return /* @__PURE__ */ b(y, { children: o.map((e) => {
|
|
446
|
-
let t = `${c}-${e.match ? "m" : "t"}`;
|
|
447
|
-
return c += e.text.length, e.match ? /* @__PURE__ */ b("mark", {
|
|
448
|
-
...f.props(Y.mark, s),
|
|
449
|
-
children: e.text
|
|
450
|
-
}, t) : /* @__PURE__ */ b("span", { children: e.text }, t);
|
|
451
|
-
}) });
|
|
452
|
-
}
|
|
453
|
-
// packages/content/src/timeline-scrubber.tsx
|
|
454
|
-
var me = .1, X = {
|
|
455
|
-
fill: {
|
|
456
|
-
kVAEAm: "x10l6tqk",
|
|
457
|
-
kYYq5F: "x10no89f",
|
|
458
|
-
kLqNvP: "x1o0tod",
|
|
459
|
-
kaIpWk: "x1ok0vyi",
|
|
460
|
-
kWkggS: "x1pt885t",
|
|
461
|
-
kfzvcC: "x47corl",
|
|
462
|
-
$$css: !0
|
|
463
|
-
},
|
|
464
|
-
fillWidth: (e) => [{
|
|
465
|
-
kzqmXN: e == null ? e : "x5lhr3w",
|
|
466
|
-
$$css: !0
|
|
467
|
-
}, { "--x-width": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }],
|
|
468
|
-
thumb: {
|
|
469
|
-
kVAEAm: "x10l6tqk",
|
|
470
|
-
k87sOh: "xwa60dl",
|
|
471
|
-
kB7OPa: "x9f619",
|
|
472
|
-
kzqmXN: "x6jxa94",
|
|
473
|
-
kZKoxP: "x1v9usgg",
|
|
474
|
-
k3aq6I: "x11lhmoz",
|
|
475
|
-
kMzoRj: "xmkeg23",
|
|
476
|
-
ksu8eU: "x1y0btm7",
|
|
477
|
-
kVAM5u: "x159tnba",
|
|
478
|
-
kaIpWk: "x1ok0vyi",
|
|
479
|
-
kWkggS: "xpvm0e4",
|
|
480
|
-
kfzvcC: "x47corl",
|
|
481
|
-
k1ekBW: "x11xpdln",
|
|
482
|
-
kIyJzY: "xtitasy xsn8rav",
|
|
483
|
-
kAMwcw: "x1faw7qm",
|
|
484
|
-
$$css: !0
|
|
485
|
-
},
|
|
486
|
-
thumbHover: {
|
|
487
|
-
k3aq6I: "x11lhmoz xks79hj",
|
|
488
|
-
$$css: !0
|
|
489
|
-
},
|
|
490
|
-
thumbDragging: {
|
|
491
|
-
kWkggS: "x1r7kqkb",
|
|
492
|
-
k3aq6I: "xt56bak",
|
|
493
|
-
kIyJzY: "x1mq3mr6",
|
|
494
|
-
$$css: !0
|
|
495
|
-
},
|
|
496
|
-
insetOffset: (e) => [{
|
|
497
|
-
kLqNvP: e == null ? e : "x1lxsm33",
|
|
498
|
-
$$css: !0
|
|
499
|
-
}, { "--x-insetInlineStart": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }],
|
|
500
|
-
markerButton: {
|
|
501
|
-
kVAEAm: "x10l6tqk",
|
|
502
|
-
k87sOh: "xwa60dl",
|
|
503
|
-
k1xSpc: "x3nfvp2",
|
|
504
|
-
kGNEyG: "x6s0dn4",
|
|
505
|
-
kjj79g: "xl56j7k",
|
|
506
|
-
kmVPX3: "x1717udv",
|
|
507
|
-
kogj98: "x1ghz6dp",
|
|
508
|
-
kMzoRj: "xc342km",
|
|
509
|
-
kaIpWk: "x1ok0vyi",
|
|
510
|
-
kWkggS: "xjbqb8w",
|
|
511
|
-
kzqmXN: "xnr66md x1ff4b4a",
|
|
512
|
-
kZKoxP: "x1f9pz31 x992rv9",
|
|
513
|
-
k3aq6I: "x11lhmoz",
|
|
514
|
-
kkrTdU: "x1ypdohk",
|
|
515
|
-
kfzvcC: "x67bb7w",
|
|
516
|
-
kYPGJ8: "xtgyt42",
|
|
517
|
-
kPJHz1: "x13qnu6",
|
|
518
|
-
k7shQP: "x9v5kkp",
|
|
519
|
-
kZs9gx: "x19rmrnh",
|
|
520
|
-
kiEn40: "x13iak60",
|
|
521
|
-
ksxJu9: "x1m2itun x14a0mdr",
|
|
522
|
-
k1ekBW: "x11xpdln",
|
|
523
|
-
kIyJzY: "xtitasy xsn8rav",
|
|
524
|
-
kAMwcw: "x1faw7qm",
|
|
525
|
-
$$css: !0
|
|
526
|
-
},
|
|
527
|
-
markerPip: {
|
|
528
|
-
k1xSpc: "x1lliihq",
|
|
529
|
-
kB7OPa: "x9f619",
|
|
530
|
-
kzqmXN: "x1v4s8kt",
|
|
531
|
-
kZKoxP: "x1kpxq89",
|
|
532
|
-
kaIpWk: "x1ok0vyi",
|
|
533
|
-
kMzoRj: "xmkeg23",
|
|
534
|
-
ksu8eU: "x1y0btm7",
|
|
535
|
-
kVAM5u: "x11kgbel",
|
|
536
|
-
$$css: !0
|
|
537
|
-
},
|
|
538
|
-
toneNeutral: {
|
|
539
|
-
kWkggS: "x102e5jz",
|
|
540
|
-
$$css: !0
|
|
541
|
-
},
|
|
542
|
-
tonePositive: {
|
|
543
|
-
kWkggS: "xltmwy2",
|
|
544
|
-
$$css: !0
|
|
545
|
-
},
|
|
546
|
-
toneWarning: {
|
|
547
|
-
kWkggS: "xw9id30",
|
|
548
|
-
$$css: !0
|
|
549
|
-
},
|
|
550
|
-
toneNegative: {
|
|
551
|
-
kWkggS: "xqtq5zq",
|
|
552
|
-
$$css: !0
|
|
553
|
-
},
|
|
554
|
-
toneAccent: {
|
|
555
|
-
kWkggS: "x1o753nm",
|
|
556
|
-
$$css: !0
|
|
557
|
-
}
|
|
558
|
-
}, he = {
|
|
559
|
-
neutral: X.toneNeutral,
|
|
560
|
-
positive: X.tonePositive,
|
|
561
|
-
warning: X.toneWarning,
|
|
562
|
-
negative: X.toneNegative,
|
|
563
|
-
accent: X.toneAccent
|
|
564
|
-
};
|
|
565
|
-
function ge({ 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 }) {
|
|
566
|
-
let p = h(null), m = h(null), _ = h(null), [v, y] = g(!1), [S, C] = g(!1), w = Number.isFinite(n) ? n : 0, T = Number.isFinite(t) && t >= w ? t : w, E = Number.isFinite(r) && r > 0 ? r : 1, D = T - w, O = R(Number.isFinite(e) ? e : w, w, T), k = D > 0 ? z(O, {
|
|
567
|
-
min: w,
|
|
568
|
-
max: T
|
|
569
|
-
}) * 100 : 0, A = l === void 0 ? void 0 : l(O);
|
|
570
|
-
function j(e) {
|
|
571
|
-
if (D <= 0) return w;
|
|
572
|
-
let t = p.current?.getBoundingClientRect();
|
|
573
|
-
if (t === void 0 || t.width <= 0) return O;
|
|
574
|
-
let n = R((e - t.left) / t.width, 0, 1), r = ne(n, {
|
|
575
|
-
min: w,
|
|
576
|
-
max: T
|
|
577
|
-
});
|
|
578
|
-
return R(B(r, {
|
|
579
|
-
min: w,
|
|
580
|
-
max: T,
|
|
581
|
-
step: E
|
|
582
|
-
}).value, w, T);
|
|
583
|
-
}
|
|
584
|
-
function M(e) {
|
|
585
|
-
_.current !== e && (_.current = e, i(e));
|
|
586
|
-
}
|
|
587
|
-
function N(e, t) {
|
|
588
|
-
m.current === t && (m.current = null, _.current = null, y(!1), e.hasPointerCapture(t) && e.releasePointerCapture(t), o?.());
|
|
589
|
-
}
|
|
590
|
-
function P(e) {
|
|
591
|
-
u || e.button !== 0 || (e.currentTarget.setPointerCapture(e.pointerId), m.current = e.pointerId, _.current = null, y(!0), a?.(), M(j(e.clientX)));
|
|
592
|
-
}
|
|
593
|
-
function F(e) {
|
|
594
|
-
u || m.current !== e.pointerId || M(j(e.clientX));
|
|
595
|
-
}
|
|
596
|
-
function I(e) {
|
|
597
|
-
N(e.currentTarget, e.pointerId);
|
|
598
|
-
}
|
|
599
|
-
function L(e) {
|
|
600
|
-
if (u || e.ctrlKey || e.metaKey) return;
|
|
601
|
-
let t = te(e.nativeEvent);
|
|
602
|
-
if (t === null) return;
|
|
603
|
-
if (e.preventDefault(), t.bound === "min") {
|
|
604
|
-
O !== w && i(w);
|
|
605
|
-
return;
|
|
606
|
-
}
|
|
607
|
-
if (t.bound === "max") {
|
|
608
|
-
O !== T && i(T);
|
|
609
|
-
return;
|
|
610
|
-
}
|
|
611
|
-
let n = Math.max(E, D * me), r = R(ee(O, t, {
|
|
612
|
-
min: w,
|
|
613
|
-
max: T,
|
|
614
|
-
step: E,
|
|
615
|
-
largeStep: n
|
|
616
|
-
}), w, T);
|
|
617
|
-
r !== O && i(r);
|
|
618
|
-
}
|
|
619
|
-
let V = S && !u && !v;
|
|
620
|
-
return /* @__PURE__ */ x("div", {
|
|
621
|
-
"data-disabled": u ? "" : void 0,
|
|
622
|
-
className: "x1n2onr6 xh8yej3 xeuugli x9f619 xlkn9b3 xwj21n9",
|
|
623
|
-
children: [/* @__PURE__ */ b("div", {
|
|
624
|
-
role: "slider",
|
|
625
|
-
tabIndex: u ? -1 : 0,
|
|
626
|
-
"aria-label": d,
|
|
627
|
-
"aria-valuemin": w,
|
|
628
|
-
"aria-valuemax": T,
|
|
629
|
-
"aria-valuenow": O,
|
|
630
|
-
"aria-valuetext": A,
|
|
631
|
-
"aria-disabled": u || void 0,
|
|
632
|
-
"data-disabled": u ? "" : void 0,
|
|
633
|
-
"data-dragging": v ? "" : void 0,
|
|
634
|
-
onKeyDown: L,
|
|
635
|
-
onPointerDown: P,
|
|
636
|
-
onPointerMove: F,
|
|
637
|
-
onPointerUp: I,
|
|
638
|
-
onPointerCancel: I,
|
|
639
|
-
onLostPointerCapture: I,
|
|
640
|
-
onPointerEnter: () => C(!0),
|
|
641
|
-
onPointerLeave: () => C(!1),
|
|
642
|
-
className: "x1n2onr6 x78zum5 x6s0dn4 xh8yej3 x17tes2r x17oiadl x5ve5x3 x87ps6o x1ypdohk x1t137rt x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x7s97pk xv519k6",
|
|
643
|
-
children: /* @__PURE__ */ x("div", {
|
|
644
|
-
ref: p,
|
|
645
|
-
className: "x1n2onr6 xh8yej3 xqu0tyb x1ok0vyi x1fa40ue",
|
|
646
|
-
children: [/* @__PURE__ */ b("div", { ...f.props(X.fill, X.fillWidth(`${k}%`)) }), /* @__PURE__ */ b("div", {
|
|
647
|
-
"aria-hidden": !0,
|
|
648
|
-
...f.props(X.thumb, X.insetOffset(`${k}%`), V && X.thumbHover, v && X.thumbDragging)
|
|
649
|
-
})]
|
|
650
|
-
})
|
|
651
|
-
}), s !== void 0 && s.length > 0 && /* @__PURE__ */ b("div", {
|
|
652
|
-
className: "x10l6tqk x10no89f x1u5aj70 x47corl",
|
|
653
|
-
children: s.map((e) => {
|
|
654
|
-
let t = R(e.position, w, T), n = D > 0 ? z(t, {
|
|
655
|
-
min: w,
|
|
656
|
-
max: T
|
|
657
|
-
}) * 100 : 0, r = e.tone ?? "neutral";
|
|
658
|
-
return /* @__PURE__ */ b("button", {
|
|
659
|
-
type: "button",
|
|
660
|
-
"aria-label": e.label,
|
|
661
|
-
title: e.label,
|
|
662
|
-
disabled: u,
|
|
663
|
-
onClick: () => {
|
|
664
|
-
i(t), c?.(e);
|
|
665
|
-
},
|
|
666
|
-
...f.props(X.markerButton, X.insetOffset(`${n}%`)),
|
|
667
|
-
children: /* @__PURE__ */ b("span", {
|
|
668
|
-
"aria-hidden": !0,
|
|
669
|
-
...f.props(X.markerPip, he[r])
|
|
670
|
-
})
|
|
671
|
-
}, e.id);
|
|
672
|
-
})
|
|
673
|
-
})]
|
|
674
|
-
});
|
|
675
|
-
}
|
|
676
|
-
// packages/content/src/trace.tsx
|
|
677
|
-
var Z = {
|
|
678
|
-
pending: {
|
|
679
|
-
kMwMTN: "x153jb6y",
|
|
680
|
-
$$css: !0
|
|
681
|
-
},
|
|
682
|
-
running: {
|
|
683
|
-
kMwMTN: "xbixft",
|
|
684
|
-
$$css: !0
|
|
685
|
-
},
|
|
686
|
-
complete: {
|
|
687
|
-
kMwMTN: "x7ixh4y",
|
|
688
|
-
$$css: !0
|
|
689
|
-
},
|
|
690
|
-
failed: {
|
|
691
|
-
kMwMTN: "xr5kp14",
|
|
692
|
-
$$css: !0
|
|
693
|
-
},
|
|
694
|
-
skipped: {
|
|
695
|
-
kMwMTN: "x153jb6y",
|
|
696
|
-
$$css: !0
|
|
697
|
-
},
|
|
698
|
-
unknown: {
|
|
699
|
-
kMwMTN: "x153jb6y",
|
|
700
|
-
$$css: !0
|
|
701
|
-
}
|
|
702
|
-
}, _e = {
|
|
703
|
-
pending: Z.pending,
|
|
704
|
-
running: Z.running,
|
|
705
|
-
complete: Z.complete,
|
|
706
|
-
failed: Z.failed,
|
|
707
|
-
skipped: Z.skipped,
|
|
708
|
-
unknown: Z.unknown
|
|
709
|
-
}, ve = {
|
|
710
|
-
pending: E,
|
|
711
|
-
running: C,
|
|
712
|
-
complete: S,
|
|
713
|
-
failed: j,
|
|
714
|
-
skipped: w,
|
|
715
|
-
unknown: T
|
|
716
|
-
};
|
|
717
|
-
function ye({ label: e, children: t }) {
|
|
718
|
-
return /* @__PURE__ */ b("ol", {
|
|
719
|
-
"aria-label": e,
|
|
720
|
-
className: "x1ghz6dp x1717udv x3ct3a4 xeuugli x1hz01jw xtqrqnz x1778rvt xj57cvi xbixft",
|
|
721
|
-
children: t
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
function be({ label: e, children: t }) {
|
|
725
|
-
return /* @__PURE__ */ b("ol", {
|
|
726
|
-
"aria-label": e,
|
|
727
|
-
className: "x1ghz6dp x1717udv x3ct3a4 xeuugli x1hz01jw xtqrqnz x1778rvt xj57cvi xbixft x3bg4vu",
|
|
728
|
-
children: t
|
|
729
|
-
});
|
|
730
|
-
}
|
|
731
|
-
function xe({ id: e, label: t, status: n, statusLabel: a, description: o, detail: s, isSelected: c, onSelect: l, children: u }) {
|
|
732
|
-
let d = ve[n];
|
|
733
|
-
return /* @__PURE__ */ x("li", {
|
|
734
|
-
"data-item-id": e,
|
|
735
|
-
className: "x1n2onr6 xrvj5dj x1qpdrs7 x8zbtdt x1wv5www xup0pd7",
|
|
736
|
-
children: [/* @__PURE__ */ x("div", {
|
|
737
|
-
"aria-hidden": !0,
|
|
738
|
-
className: "x78zum5 xdt5ytf x6s0dn4 xunmzkg x1lk341d",
|
|
739
|
-
children: [/* @__PURE__ */ b(d, {
|
|
740
|
-
size: 14,
|
|
741
|
-
...f.props(_e[n])
|
|
742
|
-
}), /* @__PURE__ */ b("span", { className: "x1i1rx1s x1f6qilh x98rzlu x1fa40ue" })]
|
|
743
|
-
}), /* @__PURE__ */ x("div", {
|
|
744
|
-
className: "x78zum5 xdt5ytf xunmzkg xeuugli",
|
|
745
|
-
children: [
|
|
746
|
-
/* @__PURE__ */ b("div", {
|
|
747
|
-
...{
|
|
748
|
-
0: { className: "xk4h15q xj0a0fe" },
|
|
749
|
-
1: { className: "xk4h15q xj0a0fe xujl8zx xda060z" }
|
|
750
|
-
}[c === !0 | 0],
|
|
751
|
-
children: l === void 0 ? t : /* @__PURE__ */ b(r, {
|
|
752
|
-
"aria-pressed": c,
|
|
753
|
-
onClick: () => l(e),
|
|
754
|
-
children: t
|
|
755
|
-
})
|
|
756
|
-
}),
|
|
757
|
-
/* @__PURE__ */ b("span", {
|
|
758
|
-
className: "xy8obcc xas2l8k x153jb6y xj0a0fe",
|
|
759
|
-
children: a
|
|
760
|
-
}),
|
|
761
|
-
o !== void 0 && /* @__PURE__ */ b("p", {
|
|
762
|
-
className: "x1ghz6dp x153jb6y xj0a0fe",
|
|
763
|
-
children: o
|
|
764
|
-
}),
|
|
765
|
-
s !== void 0 && /* @__PURE__ */ x(i.Root, { children: [/* @__PURE__ */ b(i.Trigger, { children: "Details" }), /* @__PURE__ */ b(i.Panel, { children: s })] }),
|
|
766
|
-
u
|
|
767
|
-
]
|
|
768
|
-
})]
|
|
769
|
-
});
|
|
770
|
-
}
|
|
771
|
-
var Q = {
|
|
772
|
-
Root: ye,
|
|
773
|
-
Item: xe,
|
|
774
|
-
Group: be
|
|
775
|
-
}, $ = {
|
|
776
|
-
root: {
|
|
777
|
-
k1xSpc: "x78zum5",
|
|
778
|
-
kXwgrk: "xdt5ytf",
|
|
779
|
-
kVQacm: "xb3r6kr",
|
|
780
|
-
$$css: !0
|
|
781
|
-
},
|
|
782
|
-
rootIntrinsic: { $$css: !0 },
|
|
783
|
-
rootFill: {
|
|
784
|
-
kzqmXN: "xh8yej3",
|
|
785
|
-
kZKoxP: "x5yr21d",
|
|
786
|
-
kAzted: "x2lwn1j",
|
|
787
|
-
$$css: !0
|
|
788
|
-
},
|
|
789
|
-
stage: {
|
|
790
|
-
kVAEAm: "x1n2onr6",
|
|
791
|
-
kzqmXN: "xh8yej3",
|
|
792
|
-
k7Eaqz: "xeuugli",
|
|
793
|
-
kAzted: "x2lwn1j",
|
|
794
|
-
kVQacm: "xb3r6kr",
|
|
795
|
-
kWkggS: "x1r7kqkb",
|
|
796
|
-
$$css: !0
|
|
797
|
-
},
|
|
798
|
-
ratio16x9: {
|
|
799
|
-
kOBAk4: "x186iv6y",
|
|
800
|
-
$$css: !0
|
|
801
|
-
},
|
|
802
|
-
ratio16x10: {
|
|
803
|
-
kOBAk4: "x2ebxmi",
|
|
804
|
-
$$css: !0
|
|
805
|
-
},
|
|
806
|
-
ratio4x3: {
|
|
807
|
-
kOBAk4: "x1dltgaz",
|
|
808
|
-
$$css: !0
|
|
809
|
-
},
|
|
810
|
-
ratioFill: {
|
|
811
|
-
kUk6DE: "x98rzlu",
|
|
812
|
-
kZKoxP: "x5yr21d",
|
|
813
|
-
$$css: !0
|
|
814
|
-
}
|
|
815
|
-
}, Se = {
|
|
816
|
-
"16/9": $.rootIntrinsic,
|
|
817
|
-
"16/10": $.rootIntrinsic,
|
|
818
|
-
"4/3": $.rootIntrinsic,
|
|
819
|
-
fill: $.rootFill
|
|
820
|
-
}, Ce = {
|
|
821
|
-
"16/9": $.ratio16x9,
|
|
822
|
-
"16/10": $.ratio16x10,
|
|
823
|
-
"4/3": $.ratio4x3,
|
|
824
|
-
fill: $.ratioFill
|
|
825
|
-
};
|
|
826
|
-
function we({ headerStart: e, headerEnd: t }) {
|
|
827
|
-
let n = e != null, r = t != null;
|
|
828
|
-
return /* @__PURE__ */ x("div", {
|
|
829
|
-
...f.props(s.header),
|
|
830
|
-
children: [n && /* @__PURE__ */ b("div", {
|
|
831
|
-
className: "x78zum5 x1a02dak x6s0dn4 x1hnptsi x8xikuq xeuugli xbixft xj0a0fe",
|
|
832
|
-
children: e
|
|
833
|
-
}), r && /* @__PURE__ */ b("div", {
|
|
834
|
-
className: "x78zum5 x1a02dak x6s0dn4 x1hnptsi xvc5jky xeuugli",
|
|
835
|
-
children: t
|
|
836
|
-
})]
|
|
837
|
-
});
|
|
838
|
-
}
|
|
839
|
-
function Te({ aspectRatio: e = "16/9", headerStart: t, headerEnd: n, notice: r, state: i = "ready", placeholder: a, children: o, label: c }) {
|
|
840
|
-
let l = t != null || n != null, u = r != null, d = i !== "ready" && a != null;
|
|
841
|
-
return /* @__PURE__ */ x("div", {
|
|
842
|
-
...f.props(s.root, $.root, Se[e]),
|
|
843
|
-
children: [
|
|
844
|
-
l && /* @__PURE__ */ b(we, {
|
|
845
|
-
headerStart: t,
|
|
846
|
-
headerEnd: n
|
|
847
|
-
}),
|
|
848
|
-
u && /* @__PURE__ */ b("div", {
|
|
849
|
-
className: "xeuugli xn9t2bk x1doqdfy xso031l x1q0q8m5 x1qndepd xpvm0e4 xy8obcc xas2l8k x153jb6y xj0a0fe",
|
|
850
|
-
children: r
|
|
851
|
-
}),
|
|
852
|
-
/* @__PURE__ */ x("div", {
|
|
853
|
-
role: c === void 0 ? void 0 : "region",
|
|
854
|
-
"aria-label": c,
|
|
855
|
-
"aria-busy": i === "pending" || void 0,
|
|
856
|
-
"data-state": i,
|
|
857
|
-
...f.props($.stage, Ce[e]),
|
|
858
|
-
children: [/* @__PURE__ */ b("div", {
|
|
859
|
-
"aria-hidden": d || void 0,
|
|
860
|
-
inert: d,
|
|
861
|
-
className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d xeuugli x2lwn1j xb3r6kr",
|
|
862
|
-
children: o
|
|
863
|
-
}), d && /* @__PURE__ */ b("div", {
|
|
864
|
-
className: "x10l6tqk x10a8y8t xrvj5dj x1ku5rj1 x1c8xbx5 x9f619 x1r7kqkb x153jb6y xysyzu8",
|
|
865
|
-
children: a
|
|
866
|
-
})]
|
|
867
|
-
})
|
|
868
|
-
]
|
|
869
|
-
});
|
|
870
|
-
}
|
|
871
|
-
export { N as a, fe as c, K as d, oe as f, pe as i, de as l, Q as n, F as o, re as p, ge as r, L as s, Te as t, se as u };
|