@mechane-ai/elements 0.61.0 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai.js +211 -212
- package/dist/{article-COShcQPh.js → article-lhByzGCW.js} +6 -6
- package/dist/article.js +1 -1
- package/dist/catalog.json +13 -1
- package/dist/{categorical-values-DdZLdWhL.js → categorical-values-3g2m87_m.js} +1 -1
- package/dist/{cells-BTTLURWI.js → cells-X8SVrZBc.js} +1 -1
- package/dist/charts/cartesian.js +1 -1
- package/dist/charts/cells.js +1 -1
- package/dist/charts/comparison.js +1 -1
- package/dist/charts/distribution.js +1 -1
- package/dist/charts/figure.js +12 -12
- package/dist/charts/graph.js +1 -1
- package/dist/charts/hierarchy.js +1 -1
- package/dist/charts/image.js +1 -1
- package/dist/charts/matrix.js +1 -1
- package/dist/charts/plot.js +4 -4
- package/dist/charts/relationship.js +1 -1
- package/dist/charts/text.js +1 -1
- package/dist/charts/timeline.js +2 -2
- package/dist/charts/trend.js +1 -1
- package/dist/charts.js +2 -2
- package/dist/{code-block-BZsY2sh3.js → code-block-CJkiWSrX.js} +1 -1
- package/dist/collections.js +1 -1
- package/dist/{commands-D0bF2JxV.js → commands-DlitIiMJ.js} +2 -2
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +10 -10
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +1 -1
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-PnpcnTCx.js → content-link-DQ3tt_SK.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/{dates-Cq90-D2X.js → dates-Cvrsj4l9.js} +31 -32
- package/dist/{dumbbell-plot-BeHhL-01.js → dumbbell-plot-CEShrjuI.js} +4 -4
- package/dist/{embedding-map-DbETVJXp.js → embedding-map-CQZn0DCg.js} +7 -7
- package/dist/feedback.js +1 -1
- package/dist/{figure-frame-ClYRIRAq.js → figure-frame-BljHBC77.js} +11 -11
- package/dist/forms/dates.js +1 -1
- package/dist/{forms-CEbwzlRR.js → forms-BYk8t91h.js} +17 -17
- package/dist/forms.js +2 -2
- package/dist/{image-grid-DB5U7Jtx.js → image-grid-ClMUSwqO.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/kits/evaluation.js +5 -5
- package/dist/kits/interpretability.js +12 -12
- package/dist/kits/operations.js +6 -6
- package/dist/kits/research.js +8 -8
- package/dist/kits/training.js +6 -6
- package/dist/layout.js +1 -1
- package/dist/lesson.js +3 -3
- package/dist/{markdown-VpLw_P9T.js → markdown-_4ZFsDyM.js} +2 -2
- package/dist/mdx.js +6 -6
- package/dist/navigation/commands.js +1 -1
- package/dist/navigation-CwXM887i.js +44 -0
- package/dist/navigation.js +3 -3
- package/dist/packages/charts/src/plot/plot-marks.d.ts +2 -1
- package/dist/packages/charts/src/timeline/trace-timeline-layout.d.ts +7 -2
- package/dist/packages/charts/src/timeline/trace-timeline.d.ts +5 -3
- package/dist/packages/charts/src/timeline/waterfall.d.ts +3 -1
- package/dist/packages/core/src/filter-chips.d.ts +21 -0
- package/dist/packages/core/src/index.d.ts +2 -0
- package/dist/packages/navigation/src/navigation.d.ts +4 -0
- package/dist/{param-BdqTpZER.js → param-BxLsoDip.js} +1 -1
- package/dist/{pierre-diff-aGyQK5xK.js → pierre-diff-DwmKtFYy.js} +1 -1
- package/dist/{plot-layout-B-b6tioh.js → plot-layout-oXzW4fgJ.js} +2 -2
- package/dist/{plot-marks-FVsbFkUs.js → plot-marks-DgCtcd3L.js} +7 -6
- package/dist/{plot-surface-BlR44uTL.js → plot-surface-BuXeoeBq.js} +1 -1
- package/dist/{reference-lines-BDfsv8dy.js → reference-lines-Kmxs_hXa.js} +2 -2
- package/dist/{scene-CY05-A1k.js → scene-AWpudPHv.js} +7 -7
- package/dist/scene.js +1 -1
- package/dist/{slope-chart-DTyF1lNG.js → slope-chart-DzbDOBUo.js} +5 -5
- package/dist/{src-Ci8DeY8J.js → src-CJ-0r20F.js} +1 -1
- package/dist/{src-BAlO76fa.js → src-CZyleIH0.js} +40 -40
- package/dist/{src-Dxs3Buo_.js → src-CuTIcRwk.js} +186 -187
- package/dist/{src-4qgpiWvP.js → src-DFkzV7H0.js} +44 -44
- package/dist/{src-9EJskqB_.js → src-DH2Xqu32.js} +659 -428
- package/dist/{src-C-Wg9m9H.js → src-DpVApV62.js} +20 -21
- package/dist/{src-Cuwx-PLT.js → src-yrBVxkaf.js} +119 -120
- package/dist/styles2.css +55 -12
- package/dist/{time-series-BbUBF3IE.js → time-series-D7TCUK56.js} +34 -34
- package/dist/timeline-CR5VPm_f.js +914 -0
- package/dist/{token-heatmap-o_9l6vaq.js → token-heatmap-DEpcsiRR.js} +3 -3
- package/dist/{token-predictions-DaAztlOS.js → token-predictions-DMYbc2-N.js} +4 -4
- package/dist/{transport-4V9rfYHN.js → transport-VwKG58nR.js} +4 -4
- package/dist/{tree-diagram-BDj4TGXb.js → tree-diagram-BqL3fTdB.js} +8 -8
- package/dist/{treemap-DUSFlCPK.js → treemap-C0CeP3PD.js} +4 -4
- package/dist/{use-tween-BsaEO862.js → use-tween-D-wmSMa8.js} +1 -1
- package/dist/{violin-plot-ULdC_dcY.js → violin-plot-6829_9q5.js} +4 -4
- package/dist/waterfall-C5HRWlEe.js +736 -0
- package/package.json +1 -1
- package/dist/control-styles-D3q_Qyxi.js +0 -179
- package/dist/navigation-CveMIuXI.js +0 -39
- package/dist/timeline-kDb6bY7M.js +0 -712
- package/dist/waterfall-Dre6i02Z.js +0 -684
|
@@ -1,44 +1,220 @@
|
|
|
1
|
-
import { n as e,
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
|
|
1
|
+
import { n as e, t } from "./accessibility-P89UG9-r.js";
|
|
2
|
+
import * as n from "@stylexjs/stylex";
|
|
3
|
+
import { Button as r } from "@ui-sdk/react/button";
|
|
4
|
+
import { createParts as i, mergeProps as a, renderElement as o } from "@ui-sdk/react/primitive";
|
|
5
|
+
import { Children as s, useEffect as c, useId as l, useRef as u, useState as d } from "react";
|
|
6
|
+
import { definePrimitive as f } from "@ui-sdk/core";
|
|
7
|
+
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
8
|
+
import { Avatar as g, AvatarFallback as _, AvatarImage as v } from "@ui-sdk/react/avatar";
|
|
9
|
+
import { Check as y, ChevronDown as b, Circle as x, CircleCheck as S, CircleX as C, Clock as w, Copy as ee } from "lucide-react";
|
|
10
|
+
import * as T from "@ui-sdk/react/accordion";
|
|
11
|
+
import * as E from "@ui-sdk/react/collapsible";
|
|
12
|
+
// packages/foundations/src/control-styles.ts
|
|
13
|
+
var D = {
|
|
14
|
+
base: {
|
|
15
|
+
kB7OPa: "x9f619",
|
|
16
|
+
kAzted: "x17tes2r x17oiadl",
|
|
17
|
+
k8WAf4: "x1ixblau",
|
|
18
|
+
kg3NbH: "x1atzlso",
|
|
19
|
+
kMzoRj: "xmkeg23",
|
|
20
|
+
ksu8eU: "x1y0btm7",
|
|
21
|
+
kVAM5u: "x1ey3b81",
|
|
22
|
+
kaIpWk: "x1ok0vyi",
|
|
23
|
+
kMv6JI: "x1hz01jw",
|
|
24
|
+
khiITx: "xvmahel",
|
|
25
|
+
k63SB2: "xj57cvi",
|
|
26
|
+
kGuDYH: "xtqrqnz",
|
|
27
|
+
kLWn49: "x1778rvt",
|
|
28
|
+
$$css: !0
|
|
29
|
+
},
|
|
30
|
+
button: {
|
|
31
|
+
k1xSpc: "x3nfvp2",
|
|
32
|
+
kGNEyG: "x6s0dn4",
|
|
33
|
+
kjj79g: "xl56j7k",
|
|
34
|
+
kOIVth: "xbgj81g",
|
|
35
|
+
k7Eaqz: "xeuugli",
|
|
36
|
+
ks0D6T: "x193iq5w",
|
|
37
|
+
kHjlTd: "xj0a0fe",
|
|
38
|
+
k9WMMc: "x2b8uid",
|
|
39
|
+
$$css: !0
|
|
40
|
+
},
|
|
41
|
+
iconButton: {
|
|
42
|
+
kg3NbH: "xnjsko4",
|
|
43
|
+
$$css: !0
|
|
44
|
+
},
|
|
45
|
+
field: {
|
|
46
|
+
k1xSpc: "x1lliihq",
|
|
47
|
+
kzqmXN: "xh8yej3",
|
|
48
|
+
k7Eaqz: "xeuugli",
|
|
49
|
+
kWkggS: "xpvm0e4",
|
|
50
|
+
kMwMTN: "xbixft",
|
|
51
|
+
kGuDYH: "xtqrqnz xwqnu5x",
|
|
52
|
+
$$css: !0
|
|
53
|
+
},
|
|
54
|
+
textFieldState: {
|
|
55
|
+
kPJHz1: "x13qnu6",
|
|
56
|
+
k7shQP: "x9v5kkp",
|
|
57
|
+
kZs9gx: "x19rmrnh",
|
|
58
|
+
kiEn40: "x13iak60",
|
|
59
|
+
kr7hW5: "x76gt29",
|
|
60
|
+
kWC4TW: "x19mxcj1",
|
|
61
|
+
kD2jPA: "x19kzkq0",
|
|
62
|
+
kYPGJ8: "x1s07b3s",
|
|
63
|
+
k8Qsv1: "xz7023x",
|
|
64
|
+
$$css: !0
|
|
65
|
+
},
|
|
66
|
+
singleLineField: {
|
|
67
|
+
kZKoxP: "x1f9pz31 x992rv9",
|
|
68
|
+
$$css: !0
|
|
69
|
+
},
|
|
70
|
+
fieldRoot: {
|
|
71
|
+
k1xSpc: "x78zum5",
|
|
72
|
+
kXwgrk: "xdt5ytf",
|
|
73
|
+
kOIVth: "x1hnptsi",
|
|
74
|
+
k7Eaqz: "xeuugli",
|
|
75
|
+
kMv6JI: "x1hz01jw",
|
|
76
|
+
k63SB2: "xj57cvi",
|
|
77
|
+
khiITx: "xvmahel",
|
|
78
|
+
$$css: !0
|
|
79
|
+
},
|
|
80
|
+
label: {
|
|
81
|
+
kMwMTN: "xbixft",
|
|
82
|
+
kMv6JI: "x1hz01jw",
|
|
83
|
+
kGuDYH: "xtqrqnz",
|
|
84
|
+
k63SB2: "xk4h15q",
|
|
85
|
+
kLWn49: "x1778rvt",
|
|
86
|
+
kHjlTd: "xj0a0fe",
|
|
87
|
+
$$css: !0
|
|
88
|
+
},
|
|
89
|
+
description: {
|
|
90
|
+
kogj98: "x1ghz6dp",
|
|
91
|
+
kMwMTN: "x153jb6y",
|
|
92
|
+
kGuDYH: "xy8obcc",
|
|
93
|
+
kLWn49: "xas2l8k",
|
|
94
|
+
kHjlTd: "xj0a0fe",
|
|
95
|
+
$$css: !0
|
|
96
|
+
},
|
|
97
|
+
textarea: {
|
|
98
|
+
kAzted: "x13j50qi",
|
|
99
|
+
kHenm0: "x288g5",
|
|
100
|
+
kLWn49: "x1gj8gu9",
|
|
101
|
+
$$css: !0
|
|
102
|
+
},
|
|
103
|
+
plainTextarea: {
|
|
104
|
+
kAzted: "x16exltd",
|
|
105
|
+
kskxy: "x1y3glee",
|
|
106
|
+
kOwNse: "x5f5z56",
|
|
107
|
+
kHenm0: "xtt52l0",
|
|
108
|
+
k8WAf4: "xt970qd",
|
|
109
|
+
kg3NbH: "xnjsko4",
|
|
110
|
+
kMzoRj: "xc342km",
|
|
111
|
+
kaIpWk: "x2u8bby",
|
|
112
|
+
kWkggS: "xjbqb8w",
|
|
113
|
+
k7shQP: "xi5y0ii",
|
|
114
|
+
kD2jPA: "x1oqui1x",
|
|
115
|
+
$$css: !0
|
|
116
|
+
},
|
|
117
|
+
group: {
|
|
118
|
+
kVAEAm: "x1n2onr6",
|
|
119
|
+
k1xSpc: "x78zum5",
|
|
120
|
+
kGNEyG: "x1qjc9v5",
|
|
121
|
+
k7Eaqz: "xeuugli",
|
|
122
|
+
kaIpWk: "x1ok0vyi",
|
|
123
|
+
kWkggS: "xpvm0e4",
|
|
124
|
+
k5JduY: "x1s928wv",
|
|
125
|
+
kwXMNM: "x1j6awrg",
|
|
126
|
+
kv0HGH: "xarstr8",
|
|
127
|
+
kloYau: "x2q1x1w",
|
|
128
|
+
kPGmMm: "x5hscyn",
|
|
129
|
+
kbwMcY: "x86avzo",
|
|
130
|
+
kXtpa: "x10z0kkz",
|
|
131
|
+
kUfP38: "xt0q9np",
|
|
132
|
+
krLA0g: "xzggfk3",
|
|
133
|
+
$$css: !0
|
|
134
|
+
},
|
|
135
|
+
embedded: {
|
|
136
|
+
kUk6DE: "x98rzlu",
|
|
137
|
+
k7Eaqz: "xeuugli",
|
|
138
|
+
kzqmXN: "xnalus7",
|
|
139
|
+
kVAM5u: "x9r1u3d",
|
|
140
|
+
kWkggS: "xjbqb8w",
|
|
141
|
+
kr7hW5: "x1m9vbm4",
|
|
142
|
+
kiEn40: "x8fq8g9",
|
|
143
|
+
$$css: !0
|
|
144
|
+
}
|
|
145
|
+
}, O = {
|
|
146
|
+
standard: { $$css: !0 },
|
|
147
|
+
compact: {
|
|
148
|
+
kAzted: "x159bbqr x17oiadl",
|
|
149
|
+
k8WAf4: "x17qit1p",
|
|
150
|
+
kg3NbH: "xbsbsya",
|
|
151
|
+
kOIVth: "xva7r70",
|
|
152
|
+
$$css: !0
|
|
153
|
+
},
|
|
154
|
+
compactField: {
|
|
155
|
+
kZKoxP: "x1pn6w2t x992rv9",
|
|
156
|
+
$$css: !0
|
|
157
|
+
},
|
|
158
|
+
standardActionTarget: {
|
|
159
|
+
k7Eaqz: "x16opp91 x1gjsuxi",
|
|
160
|
+
kAzted: "x17tes2r x17oiadl",
|
|
161
|
+
$$css: !0
|
|
162
|
+
},
|
|
163
|
+
compactActionTarget: {
|
|
164
|
+
k7Eaqz: "xp2p21h x1gjsuxi",
|
|
165
|
+
kAzted: "x159bbqr x17oiadl",
|
|
166
|
+
$$css: !0
|
|
167
|
+
},
|
|
168
|
+
standardTarget: {
|
|
169
|
+
kAzted: "x17tes2r x17oiadl",
|
|
170
|
+
$$css: !0
|
|
171
|
+
},
|
|
172
|
+
compactTarget: {
|
|
173
|
+
kAzted: "x159bbqr x17oiadl",
|
|
174
|
+
$$css: !0
|
|
175
|
+
}
|
|
176
|
+
}, k = {
|
|
177
|
+
standard: O.standard,
|
|
178
|
+
compact: O.compact
|
|
179
|
+
}, te = {
|
|
180
|
+
standard: O.standard,
|
|
181
|
+
compact: O.compactField
|
|
182
|
+
}, A = {
|
|
183
|
+
standard: O.standardActionTarget,
|
|
184
|
+
compact: O.compactActionTarget
|
|
185
|
+
}, ne = {
|
|
186
|
+
standard: O.standardTarget,
|
|
187
|
+
compact: O.compactTarget
|
|
188
|
+
};
|
|
13
189
|
// packages/core/src/route-link.tsx
|
|
14
|
-
function
|
|
190
|
+
function j({ destination: e, current: t }) {
|
|
15
191
|
return {
|
|
16
192
|
href: e ?? null,
|
|
17
193
|
current: t ?? null
|
|
18
194
|
};
|
|
19
195
|
}
|
|
20
|
-
var
|
|
196
|
+
var re = f({
|
|
21
197
|
name: "link",
|
|
22
198
|
options: {
|
|
23
199
|
destination: "string",
|
|
24
200
|
current: "value"
|
|
25
201
|
},
|
|
26
|
-
state:
|
|
27
|
-
sync:
|
|
202
|
+
state: j,
|
|
203
|
+
sync: j,
|
|
28
204
|
controlled: ["href", "current"],
|
|
29
205
|
api: (e) => ({ follow: () => e.element("root")?.click() }),
|
|
30
206
|
slots: (e) => ({ root: e({}) }),
|
|
31
207
|
agent: { actions: ["follow"] }
|
|
32
|
-
}),
|
|
33
|
-
function
|
|
34
|
-
return e.href === void 0 ? /* @__PURE__ */
|
|
208
|
+
}), M = i(re, { root: "a" }).Root;
|
|
209
|
+
function N(e) {
|
|
210
|
+
return e.href === void 0 ? /* @__PURE__ */ m("a", { ...e }) : /* @__PURE__ */ m(M, {
|
|
35
211
|
destination: e.href,
|
|
36
212
|
current: e["aria-current"],
|
|
37
|
-
render: /* @__PURE__ */
|
|
213
|
+
render: /* @__PURE__ */ m("a", { ...e })
|
|
38
214
|
});
|
|
39
215
|
}
|
|
40
216
|
// packages/core/src/actions.tsx
|
|
41
|
-
var
|
|
217
|
+
var P = {
|
|
42
218
|
button: {
|
|
43
219
|
kMnn75: "xkrqix3",
|
|
44
220
|
kkrTdU: "x1ypdohk",
|
|
@@ -169,129 +345,129 @@ var M = {
|
|
|
169
345
|
kiEn40: "x7s97pk",
|
|
170
346
|
$$css: !0
|
|
171
347
|
}
|
|
172
|
-
},
|
|
348
|
+
}, F = {
|
|
173
349
|
standard: { $$css: !0 },
|
|
174
350
|
compact: {
|
|
175
351
|
kOIVth: "xva7r70",
|
|
176
352
|
$$css: !0
|
|
177
353
|
}
|
|
178
|
-
},
|
|
354
|
+
}, ie = {
|
|
179
355
|
neutral: {
|
|
180
|
-
solid:
|
|
181
|
-
outline:
|
|
182
|
-
ghost:
|
|
356
|
+
solid: P.solidNeutral,
|
|
357
|
+
outline: P.outlineNeutral,
|
|
358
|
+
ghost: P.ghostNeutral
|
|
183
359
|
},
|
|
184
360
|
danger: {
|
|
185
|
-
solid:
|
|
186
|
-
outline:
|
|
187
|
-
ghost:
|
|
361
|
+
solid: P.solidDanger,
|
|
362
|
+
outline: P.outlineDanger,
|
|
363
|
+
ghost: P.ghostDanger
|
|
188
364
|
}
|
|
189
|
-
},
|
|
190
|
-
neutral:
|
|
191
|
-
danger:
|
|
365
|
+
}, ae = {
|
|
366
|
+
neutral: P.neutralText,
|
|
367
|
+
danger: P.dangerText
|
|
192
368
|
};
|
|
193
|
-
function
|
|
369
|
+
function I(e, t, n) {
|
|
194
370
|
if (e !== "danger") return;
|
|
195
371
|
let r = (t ?? (typeof n == "string" ? n : "")).trim();
|
|
196
372
|
return r.length > 0 ? r : "Confirm this destructive action";
|
|
197
373
|
}
|
|
198
|
-
function
|
|
199
|
-
let o =
|
|
200
|
-
return /* @__PURE__ */
|
|
374
|
+
function L({ id: e, density: t, children: r, isPending: i = !1, pendingLabel: a }) {
|
|
375
|
+
let o = i && a !== void 0;
|
|
376
|
+
return /* @__PURE__ */ h("span", {
|
|
201
377
|
id: e,
|
|
202
378
|
className: "xwz0xwf xeuugli x193iq5w",
|
|
203
|
-
children: [/* @__PURE__ */
|
|
379
|
+
children: [/* @__PURE__ */ m("span", {
|
|
204
380
|
"aria-hidden": o,
|
|
205
|
-
...
|
|
206
|
-
children:
|
|
207
|
-
}),
|
|
208
|
-
"aria-hidden": !
|
|
209
|
-
...
|
|
210
|
-
children:
|
|
381
|
+
...n.props(P.label, F[t], o && P.hidden),
|
|
382
|
+
children: r
|
|
383
|
+
}), a !== void 0 && /* @__PURE__ */ m("span", {
|
|
384
|
+
"aria-hidden": !i,
|
|
385
|
+
...n.props(P.label, F[t], !i && P.hidden),
|
|
386
|
+
children: a
|
|
211
387
|
})]
|
|
212
388
|
});
|
|
213
389
|
}
|
|
214
|
-
function
|
|
215
|
-
let
|
|
216
|
-
return /* @__PURE__ */
|
|
217
|
-
...
|
|
218
|
-
"data-agent-confirm":
|
|
219
|
-
...
|
|
220
|
-
...
|
|
221
|
-
className:
|
|
222
|
-
style:
|
|
223
|
-
styles:
|
|
390
|
+
function R({ variant: t = "outline", tone: i = "neutral", density: a = "standard", isIconOnly: o = !1, isPending: s = !1, pendingLabel: c, children: u, className: d, style: f, xstyle: p, onClick: h, disabled: g = !1, ..._ }) {
|
|
391
|
+
let v = l(), y = n.props(D.base, D.button, P.button, ie[i][t], k[a], A[a], o && D.iconButton, p);
|
|
392
|
+
return /* @__PURE__ */ m(r, {
|
|
393
|
+
..._,
|
|
394
|
+
"data-agent-confirm": _["data-agent-confirm"] ?? I(i, _["aria-label"], u),
|
|
395
|
+
...h !== void 0 && { onClick: h },
|
|
396
|
+
...e({
|
|
397
|
+
className: d,
|
|
398
|
+
style: f,
|
|
399
|
+
styles: y
|
|
224
400
|
}),
|
|
225
|
-
disabled:
|
|
226
|
-
focusableWhenDisabled:
|
|
227
|
-
"aria-labelledby":
|
|
228
|
-
"aria-busy":
|
|
229
|
-
children: /* @__PURE__ */
|
|
230
|
-
id:
|
|
231
|
-
density:
|
|
232
|
-
isPending:
|
|
233
|
-
pendingLabel:
|
|
234
|
-
children:
|
|
401
|
+
disabled: g || s,
|
|
402
|
+
focusableWhenDisabled: s || _.focusableWhenDisabled === !0,
|
|
403
|
+
"aria-labelledby": _["aria-labelledby"] ?? (_["aria-label"] === void 0 && c !== void 0 ? v : void 0),
|
|
404
|
+
"aria-busy": s || _["aria-busy"],
|
|
405
|
+
children: /* @__PURE__ */ m(L, {
|
|
406
|
+
id: v,
|
|
407
|
+
density: a,
|
|
408
|
+
isPending: s,
|
|
409
|
+
pendingLabel: c,
|
|
410
|
+
children: u
|
|
235
411
|
})
|
|
236
412
|
});
|
|
237
413
|
}
|
|
238
|
-
function
|
|
239
|
-
return /* @__PURE__ */
|
|
414
|
+
function z(e) {
|
|
415
|
+
return /* @__PURE__ */ m(R, { ...e });
|
|
240
416
|
}
|
|
241
|
-
function
|
|
242
|
-
return /* @__PURE__ */
|
|
417
|
+
function oe({ children: e, ...t }) {
|
|
418
|
+
return /* @__PURE__ */ m(R, {
|
|
243
419
|
...t,
|
|
244
420
|
isIconOnly: !0,
|
|
245
|
-
children: /* @__PURE__ */
|
|
421
|
+
children: /* @__PURE__ */ m("span", {
|
|
246
422
|
"aria-hidden": !0,
|
|
247
423
|
className: "xtwnzbg x18utl2x x2lah0s x3nfvp2 x6s0dn4 xl56j7k",
|
|
248
424
|
children: e
|
|
249
425
|
})
|
|
250
426
|
});
|
|
251
427
|
}
|
|
252
|
-
function
|
|
253
|
-
let g =
|
|
254
|
-
return /* @__PURE__ */
|
|
428
|
+
function se({ tone: t = "neutral", density: i = "standard", isPending: a = !1, pendingLabel: o, children: s, className: c, style: u, xstyle: d, onClick: f, disabled: p = !1, ...h }) {
|
|
429
|
+
let g = l(), _ = n.props(P.text, A[i], ae[t], d);
|
|
430
|
+
return /* @__PURE__ */ m(r, {
|
|
255
431
|
...h,
|
|
256
|
-
"data-agent-confirm": h["data-agent-confirm"] ??
|
|
257
|
-
...
|
|
258
|
-
...
|
|
259
|
-
className:
|
|
432
|
+
"data-agent-confirm": h["data-agent-confirm"] ?? I(t, h["aria-label"], s),
|
|
433
|
+
...f !== void 0 && { onClick: f },
|
|
434
|
+
...e({
|
|
435
|
+
className: c,
|
|
260
436
|
style: u,
|
|
261
|
-
styles:
|
|
437
|
+
styles: _
|
|
262
438
|
}),
|
|
263
|
-
disabled:
|
|
264
|
-
focusableWhenDisabled:
|
|
265
|
-
"aria-labelledby": h["aria-labelledby"] ?? (h["aria-label"] === void 0 &&
|
|
266
|
-
"aria-busy":
|
|
267
|
-
children: /* @__PURE__ */
|
|
439
|
+
disabled: p || a,
|
|
440
|
+
focusableWhenDisabled: a || h.focusableWhenDisabled === !0,
|
|
441
|
+
"aria-labelledby": h["aria-labelledby"] ?? (h["aria-label"] === void 0 && o !== void 0 ? g : void 0),
|
|
442
|
+
"aria-busy": a || h["aria-busy"],
|
|
443
|
+
children: /* @__PURE__ */ m(L, {
|
|
268
444
|
id: g,
|
|
269
|
-
density:
|
|
270
|
-
isPending:
|
|
271
|
-
pendingLabel:
|
|
272
|
-
children:
|
|
445
|
+
density: i,
|
|
446
|
+
isPending: a,
|
|
447
|
+
pendingLabel: o,
|
|
448
|
+
children: s
|
|
273
449
|
})
|
|
274
450
|
});
|
|
275
451
|
}
|
|
276
|
-
function
|
|
277
|
-
return /* @__PURE__ */
|
|
452
|
+
function ce({ xstyle: e, ...t }) {
|
|
453
|
+
return /* @__PURE__ */ m(N, { ...a(n.props(P.link, e), t) });
|
|
278
454
|
}
|
|
279
|
-
function
|
|
280
|
-
let
|
|
281
|
-
ref:
|
|
282
|
-
children: /* @__PURE__ */
|
|
455
|
+
function le({ children: e, density: t = "standard", xstyle: r, render: i, ref: s, ...c }) {
|
|
456
|
+
let l = o("a", a(n.props(D.base, D.button, P.button, P.ghostNeutral, k[t], D.iconButton, A[t], r), c, {
|
|
457
|
+
ref: s,
|
|
458
|
+
children: /* @__PURE__ */ m("span", {
|
|
283
459
|
className: "xtwnzbg x18utl2x x2lah0s x3nfvp2 x6s0dn4 xl56j7k",
|
|
284
|
-
children:
|
|
460
|
+
children: e
|
|
285
461
|
})
|
|
286
|
-
}),
|
|
287
|
-
return /* @__PURE__ */
|
|
288
|
-
destination:
|
|
289
|
-
current:
|
|
290
|
-
render:
|
|
462
|
+
}), i);
|
|
463
|
+
return /* @__PURE__ */ m(M, {
|
|
464
|
+
destination: c.href,
|
|
465
|
+
current: c["aria-current"],
|
|
466
|
+
render: l
|
|
291
467
|
});
|
|
292
468
|
}
|
|
293
|
-
function
|
|
294
|
-
return /* @__PURE__ */
|
|
469
|
+
function ue({ confirmation: e, onClick: t, tone: n = "neutral", ...r }) {
|
|
470
|
+
return /* @__PURE__ */ m(z, {
|
|
295
471
|
...r,
|
|
296
472
|
type: "button",
|
|
297
473
|
variant: "solid",
|
|
@@ -341,32 +517,32 @@ var B = {
|
|
|
341
517
|
kaIpWk: "x16rqkct",
|
|
342
518
|
$$css: !0
|
|
343
519
|
}
|
|
344
|
-
},
|
|
520
|
+
}, V = {
|
|
345
521
|
sm: B.small,
|
|
346
522
|
md: B.medium,
|
|
347
523
|
lg: B.large
|
|
348
|
-
},
|
|
524
|
+
}, H = {
|
|
349
525
|
rounded: B.rounded,
|
|
350
526
|
circle: B.circle
|
|
351
527
|
};
|
|
352
|
-
function
|
|
353
|
-
return /* @__PURE__ */
|
|
528
|
+
function U({ label: e, fallback: t, src: r, size: i = "md", shape: a = "rounded" }) {
|
|
529
|
+
return /* @__PURE__ */ h(g, {
|
|
354
530
|
role: "img",
|
|
355
531
|
"aria-label": e,
|
|
356
|
-
...
|
|
357
|
-
children: [
|
|
358
|
-
src:
|
|
532
|
+
...n.props(B.avatar, V[i], H[a]),
|
|
533
|
+
children: [r !== void 0 && /* @__PURE__ */ m(v, {
|
|
534
|
+
src: r,
|
|
359
535
|
alt: "",
|
|
360
536
|
className: "xh8yej3 x5yr21d xl1xv1r"
|
|
361
|
-
}), /* @__PURE__ */ _
|
|
537
|
+
}), /* @__PURE__ */ m(_, {
|
|
362
538
|
"aria-hidden": !0,
|
|
363
539
|
children: t
|
|
364
540
|
})]
|
|
365
541
|
});
|
|
366
542
|
}
|
|
367
543
|
// packages/core/src/agent-avatar-glyphs.tsx
|
|
368
|
-
var
|
|
369
|
-
...
|
|
544
|
+
var W = Object.freeze(/* @__PURE__ */ "spark.facet.orbit.loop.clover.petal.wheel.compass.grid.steps.chevron.wave.ripple.arch.bridge.peak.zigzag.helix.kite.cube.prism.frame.brackets.diamond.hexagon.signal.crest.bolt.link.split.aster.portal".split(".")), de = Object.freeze([
|
|
545
|
+
...W,
|
|
370
546
|
"rosette",
|
|
371
547
|
"blossom",
|
|
372
548
|
"pinwheel",
|
|
@@ -385,12 +561,12 @@ var U = Object.freeze(/* @__PURE__ */ "spark.facet.orbit.loop.clover.petal.wheel
|
|
|
385
561
|
"triad"
|
|
386
562
|
]);
|
|
387
563
|
function G(e, t) {
|
|
388
|
-
return e.map((e) => /* @__PURE__ */
|
|
564
|
+
return e.map((e) => /* @__PURE__ */ m("g", {
|
|
389
565
|
transform: `rotate(${e} 12 12)`,
|
|
390
566
|
children: t
|
|
391
567
|
}, e));
|
|
392
568
|
}
|
|
393
|
-
var
|
|
569
|
+
var fe = {
|
|
394
570
|
spark: G([
|
|
395
571
|
0,
|
|
396
572
|
45,
|
|
@@ -400,25 +576,25 @@ var le = {
|
|
|
400
576
|
225,
|
|
401
577
|
270,
|
|
402
578
|
315
|
|
403
|
-
], /* @__PURE__ */
|
|
579
|
+
], /* @__PURE__ */ m("path", { d: "m12 2 5.4 7-5.4 6.2-3.4-6.2Z" })),
|
|
404
580
|
facet: G([
|
|
405
581
|
0,
|
|
406
582
|
72,
|
|
407
583
|
144,
|
|
408
584
|
216,
|
|
409
585
|
288
|
|
410
|
-
], /* @__PURE__ */
|
|
411
|
-
orbit: /* @__PURE__ */
|
|
586
|
+
], /* @__PURE__ */ m("path", { d: "m12 2 6 7-6 5-4-5Z" })),
|
|
587
|
+
orbit: /* @__PURE__ */ h(p, { children: [G([
|
|
412
588
|
0,
|
|
413
589
|
60,
|
|
414
590
|
120
|
|
415
|
-
], /* @__PURE__ */
|
|
591
|
+
], /* @__PURE__ */ m("ellipse", {
|
|
416
592
|
cx: "12",
|
|
417
593
|
cy: "12",
|
|
418
594
|
rx: "9.2",
|
|
419
595
|
ry: "4.5",
|
|
420
596
|
fillOpacity: ".4"
|
|
421
|
-
})), /* @__PURE__ */
|
|
597
|
+
})), /* @__PURE__ */ m("circle", {
|
|
422
598
|
cx: "12",
|
|
423
599
|
cy: "12",
|
|
424
600
|
r: "2.8",
|
|
@@ -428,13 +604,13 @@ var le = {
|
|
|
428
604
|
0,
|
|
429
605
|
120,
|
|
430
606
|
240
|
|
431
|
-
], /* @__PURE__ */
|
|
607
|
+
], /* @__PURE__ */ m("path", { d: "M12 12C3 14 1 8 5 4c4-4 10-1 10 4 0 3-2 5-5 6 3-3 2-6 0-7-3-1-5 2-2 4Z" })),
|
|
432
608
|
clover: G([
|
|
433
609
|
0,
|
|
434
610
|
90,
|
|
435
611
|
180,
|
|
436
612
|
270
|
|
437
|
-
], /* @__PURE__ */
|
|
613
|
+
], /* @__PURE__ */ m("circle", {
|
|
438
614
|
cx: "12",
|
|
439
615
|
cy: "7.4",
|
|
440
616
|
r: "5.3"
|
|
@@ -445,8 +621,8 @@ var le = {
|
|
|
445
621
|
144,
|
|
446
622
|
216,
|
|
447
623
|
288
|
|
448
|
-
], /* @__PURE__ */
|
|
449
|
-
wheel: /* @__PURE__ */
|
|
624
|
+
], /* @__PURE__ */ m("path", { d: "M12 2c5 1 6 6 0 10-6-4-5-9 0-10Z" })),
|
|
625
|
+
wheel: /* @__PURE__ */ h(p, { children: [G([
|
|
450
626
|
0,
|
|
451
627
|
45,
|
|
452
628
|
90,
|
|
@@ -455,12 +631,12 @@ var le = {
|
|
|
455
631
|
225,
|
|
456
632
|
270,
|
|
457
633
|
315
|
|
458
|
-
], /* @__PURE__ */
|
|
634
|
+
], /* @__PURE__ */ m("ellipse", {
|
|
459
635
|
cx: "12",
|
|
460
636
|
cy: "6.7",
|
|
461
637
|
rx: "3.2",
|
|
462
638
|
ry: "4.6"
|
|
463
|
-
})), /* @__PURE__ */
|
|
639
|
+
})), /* @__PURE__ */ m("circle", {
|
|
464
640
|
cx: "12",
|
|
465
641
|
cy: "12",
|
|
466
642
|
r: "3.2",
|
|
@@ -475,14 +651,14 @@ var le = {
|
|
|
475
651
|
225,
|
|
476
652
|
270,
|
|
477
653
|
315
|
|
478
|
-
], /* @__PURE__ */
|
|
479
|
-
grid: /* @__PURE__ */
|
|
654
|
+
], /* @__PURE__ */ m("path", { d: "m12 1.5 3 7-3 3.5-3-3.5Z" })),
|
|
655
|
+
grid: /* @__PURE__ */ h(p, { children: [
|
|
480
656
|
G([
|
|
481
657
|
0,
|
|
482
658
|
90,
|
|
483
659
|
180,
|
|
484
660
|
270
|
|
485
|
-
], /* @__PURE__ */
|
|
661
|
+
], /* @__PURE__ */ m("circle", {
|
|
486
662
|
cx: "6.8",
|
|
487
663
|
cy: "6.8",
|
|
488
664
|
r: "3.5"
|
|
@@ -492,13 +668,13 @@ var le = {
|
|
|
492
668
|
90,
|
|
493
669
|
180,
|
|
494
670
|
270
|
|
495
|
-
], /* @__PURE__ */
|
|
671
|
+
], /* @__PURE__ */ m("circle", {
|
|
496
672
|
cx: "12",
|
|
497
673
|
cy: "4.1",
|
|
498
674
|
r: "1.8",
|
|
499
675
|
fillOpacity: ".5"
|
|
500
676
|
})),
|
|
501
|
-
/* @__PURE__ */
|
|
677
|
+
/* @__PURE__ */ m("rect", {
|
|
502
678
|
x: "7.5",
|
|
503
679
|
y: "7.5",
|
|
504
680
|
width: "9",
|
|
@@ -512,71 +688,71 @@ var le = {
|
|
|
512
688
|
90,
|
|
513
689
|
180,
|
|
514
690
|
270
|
|
515
|
-
], /* @__PURE__ */
|
|
691
|
+
], /* @__PURE__ */ m("path", { d: "M4 3h9v5H9v5H4Z" })),
|
|
516
692
|
chevron: G([
|
|
517
693
|
0,
|
|
518
694
|
90,
|
|
519
695
|
180,
|
|
520
696
|
270
|
|
521
|
-
], /* @__PURE__ */
|
|
697
|
+
], /* @__PURE__ */ m("path", {
|
|
522
698
|
d: "m3 8 9-6 9 6-9 6Z",
|
|
523
699
|
fillOpacity: ".48"
|
|
524
700
|
})),
|
|
525
|
-
wave: /* @__PURE__ */
|
|
526
|
-
/* @__PURE__ */
|
|
527
|
-
/* @__PURE__ */
|
|
528
|
-
/* @__PURE__ */
|
|
701
|
+
wave: /* @__PURE__ */ h(p, { children: [
|
|
702
|
+
/* @__PURE__ */ m("path", { d: "M2 6c6-8 12 8 20 0v5C14 19 8 3 2 11Z" }),
|
|
703
|
+
/* @__PURE__ */ m("path", { d: "M2 11c6-8 12 8 20 0v5c-8 8-14-8-20 0Z" }),
|
|
704
|
+
/* @__PURE__ */ m("path", {
|
|
529
705
|
d: "M2 16c6-8 12 8 20 0v3c-8 8-14-8-20 0Z",
|
|
530
706
|
fillOpacity: ".4"
|
|
531
707
|
})
|
|
532
708
|
] }),
|
|
533
|
-
ripple: /* @__PURE__ */
|
|
534
|
-
/* @__PURE__ */
|
|
709
|
+
ripple: /* @__PURE__ */ h(p, { children: [
|
|
710
|
+
/* @__PURE__ */ m("circle", {
|
|
535
711
|
cx: "12",
|
|
536
712
|
cy: "11",
|
|
537
713
|
r: "9.3",
|
|
538
714
|
fillOpacity: ".45"
|
|
539
715
|
}),
|
|
540
|
-
/* @__PURE__ */
|
|
716
|
+
/* @__PURE__ */ m("circle", {
|
|
541
717
|
cx: "12",
|
|
542
718
|
cy: "13.5",
|
|
543
719
|
r: "6.8",
|
|
544
720
|
fillOpacity: ".5"
|
|
545
721
|
}),
|
|
546
|
-
/* @__PURE__ */
|
|
722
|
+
/* @__PURE__ */ m("circle", {
|
|
547
723
|
cx: "12",
|
|
548
724
|
cy: "16",
|
|
549
725
|
r: "4.3",
|
|
550
726
|
fillOpacity: ".6"
|
|
551
727
|
})
|
|
552
728
|
] }),
|
|
553
|
-
arch: /* @__PURE__ */
|
|
554
|
-
/* @__PURE__ */
|
|
729
|
+
arch: /* @__PURE__ */ h(p, { children: [
|
|
730
|
+
/* @__PURE__ */ m("path", {
|
|
555
731
|
d: "M2.7 20V11a9.3 9.3 0 0 1 18.6 0v9Z",
|
|
556
732
|
fillOpacity: ".4"
|
|
557
733
|
}),
|
|
558
|
-
/* @__PURE__ */
|
|
734
|
+
/* @__PURE__ */ m("path", {
|
|
559
735
|
d: "M6 20v-7a6 6 0 0 1 12 0v7Z",
|
|
560
736
|
fillOpacity: ".5"
|
|
561
737
|
}),
|
|
562
|
-
/* @__PURE__ */
|
|
738
|
+
/* @__PURE__ */ m("path", { d: "M9.2 20v-4.5a2.8 2.8 0 0 1 5.6 0V20Z" })
|
|
563
739
|
] }),
|
|
564
|
-
bridge: /* @__PURE__ */
|
|
565
|
-
/* @__PURE__ */
|
|
740
|
+
bridge: /* @__PURE__ */ h(p, { children: [
|
|
741
|
+
/* @__PURE__ */ m("rect", {
|
|
566
742
|
x: "3",
|
|
567
743
|
y: "6",
|
|
568
744
|
width: "18",
|
|
569
745
|
height: "5",
|
|
570
746
|
rx: "2.5"
|
|
571
747
|
}),
|
|
572
|
-
/* @__PURE__ */
|
|
748
|
+
/* @__PURE__ */ m("rect", {
|
|
573
749
|
x: "3",
|
|
574
750
|
y: "13",
|
|
575
751
|
width: "18",
|
|
576
752
|
height: "5",
|
|
577
753
|
rx: "2.5"
|
|
578
754
|
}),
|
|
579
|
-
/* @__PURE__ */
|
|
755
|
+
/* @__PURE__ */ m("rect", {
|
|
580
756
|
x: "6",
|
|
581
757
|
y: "3",
|
|
582
758
|
width: "5",
|
|
@@ -584,7 +760,7 @@ var le = {
|
|
|
584
760
|
rx: "2.5",
|
|
585
761
|
fillOpacity: ".45"
|
|
586
762
|
}),
|
|
587
|
-
/* @__PURE__ */
|
|
763
|
+
/* @__PURE__ */ m("rect", {
|
|
588
764
|
x: "13",
|
|
589
765
|
y: "3",
|
|
590
766
|
width: "5",
|
|
@@ -597,7 +773,7 @@ var le = {
|
|
|
597
773
|
0,
|
|
598
774
|
120,
|
|
599
775
|
240
|
|
600
|
-
], /* @__PURE__ */
|
|
776
|
+
], /* @__PURE__ */ m("path", {
|
|
601
777
|
d: "M12 2 17 12H7Z",
|
|
602
778
|
fillOpacity: ".6"
|
|
603
779
|
})),
|
|
@@ -606,9 +782,9 @@ var le = {
|
|
|
606
782
|
90,
|
|
607
783
|
180,
|
|
608
784
|
270
|
|
609
|
-
], /* @__PURE__ */
|
|
610
|
-
helix: /* @__PURE__ */
|
|
611
|
-
/* @__PURE__ */
|
|
785
|
+
], /* @__PURE__ */ m("path", { d: "m3 3 10 3 2 6-5 3 1-7-7 1Z" })),
|
|
786
|
+
helix: /* @__PURE__ */ h(p, { children: [
|
|
787
|
+
/* @__PURE__ */ m("ellipse", {
|
|
612
788
|
cx: "9",
|
|
613
789
|
cy: "12",
|
|
614
790
|
rx: "5.3",
|
|
@@ -616,7 +792,7 @@ var le = {
|
|
|
616
792
|
transform: "rotate(32 9 12)",
|
|
617
793
|
fillOpacity: ".5"
|
|
618
794
|
}),
|
|
619
|
-
/* @__PURE__ */
|
|
795
|
+
/* @__PURE__ */ m("ellipse", {
|
|
620
796
|
cx: "15",
|
|
621
797
|
cy: "12",
|
|
622
798
|
rx: "5.3",
|
|
@@ -624,7 +800,7 @@ var le = {
|
|
|
624
800
|
transform: "rotate(32 15 12)",
|
|
625
801
|
fillOpacity: ".5"
|
|
626
802
|
}),
|
|
627
|
-
/* @__PURE__ */
|
|
803
|
+
/* @__PURE__ */ m("path", {
|
|
628
804
|
d: "m4.5 14.5 9-9 6 4-9 9Z",
|
|
629
805
|
fillOpacity: ".25"
|
|
630
806
|
})
|
|
@@ -634,39 +810,39 @@ var le = {
|
|
|
634
810
|
90,
|
|
635
811
|
180,
|
|
636
812
|
270
|
|
637
|
-
], /* @__PURE__ */
|
|
638
|
-
cube: /* @__PURE__ */
|
|
639
|
-
/* @__PURE__ */
|
|
813
|
+
], /* @__PURE__ */ m("path", { d: "m12 2 5.3 5.8L12 16 6.7 7.8Z" })),
|
|
814
|
+
cube: /* @__PURE__ */ h(p, { children: [
|
|
815
|
+
/* @__PURE__ */ m("path", {
|
|
640
816
|
d: "m12 2.5 9 5.2-9 5.2-9-5.2Z",
|
|
641
817
|
fillOpacity: ".45"
|
|
642
818
|
}),
|
|
643
|
-
/* @__PURE__ */
|
|
819
|
+
/* @__PURE__ */ m("path", {
|
|
644
820
|
d: "m3 7.7 9 5.2v8.6l-9-5.2Z",
|
|
645
821
|
fillOpacity: ".7"
|
|
646
822
|
}),
|
|
647
|
-
/* @__PURE__ */
|
|
823
|
+
/* @__PURE__ */ m("path", {
|
|
648
824
|
d: "m21 7.7-9 5.2v8.6l9-5.2Z",
|
|
649
825
|
fillOpacity: ".55"
|
|
650
826
|
}),
|
|
651
|
-
/* @__PURE__ */
|
|
827
|
+
/* @__PURE__ */ m("path", {
|
|
652
828
|
d: "m7.5 5.1 9 5.2v8.6M16.5 5.1l-9 5.2v8.6M3 12l9 5.2 9-5.2",
|
|
653
829
|
fill: "none"
|
|
654
830
|
})
|
|
655
831
|
] }),
|
|
656
|
-
prism: /* @__PURE__ */
|
|
657
|
-
/* @__PURE__ */
|
|
832
|
+
prism: /* @__PURE__ */ h(p, { children: [
|
|
833
|
+
/* @__PURE__ */ m("path", {
|
|
658
834
|
d: "M12 2 22 19H2Z",
|
|
659
835
|
fillOpacity: ".35"
|
|
660
836
|
}),
|
|
661
|
-
/* @__PURE__ */
|
|
837
|
+
/* @__PURE__ */ m("path", {
|
|
662
838
|
d: "m12 2 3.5 17H2Z",
|
|
663
839
|
fillOpacity: ".65"
|
|
664
840
|
}),
|
|
665
|
-
/* @__PURE__ */
|
|
841
|
+
/* @__PURE__ */ m("path", {
|
|
666
842
|
d: "m12 2 10 17H8.5Z",
|
|
667
843
|
fillOpacity: ".45"
|
|
668
844
|
}),
|
|
669
|
-
/* @__PURE__ */
|
|
845
|
+
/* @__PURE__ */ m("path", {
|
|
670
846
|
d: "m2 19 10-7 10 7Z",
|
|
671
847
|
fillOpacity: ".45"
|
|
672
848
|
})
|
|
@@ -676,7 +852,7 @@ var le = {
|
|
|
676
852
|
90,
|
|
677
853
|
180,
|
|
678
854
|
270
|
|
679
|
-
], /* @__PURE__ */
|
|
855
|
+
], /* @__PURE__ */ m("rect", {
|
|
680
856
|
x: "4",
|
|
681
857
|
y: "3",
|
|
682
858
|
width: "11",
|
|
@@ -688,20 +864,20 @@ var le = {
|
|
|
688
864
|
90,
|
|
689
865
|
180,
|
|
690
866
|
270
|
|
691
|
-
], /* @__PURE__ */
|
|
692
|
-
diamond: /* @__PURE__ */
|
|
867
|
+
], /* @__PURE__ */ m("path", { d: "M3 4a1 1 0 0 1 1-1h8v4H7v5H3Z" })),
|
|
868
|
+
diamond: /* @__PURE__ */ h(p, { children: [G([
|
|
693
869
|
0,
|
|
694
870
|
90,
|
|
695
871
|
180,
|
|
696
872
|
270
|
|
697
|
-
], /* @__PURE__ */
|
|
873
|
+
], /* @__PURE__ */ m("rect", {
|
|
698
874
|
x: "6.4",
|
|
699
875
|
y: "2.5",
|
|
700
876
|
width: "8",
|
|
701
877
|
height: "8",
|
|
702
878
|
rx: "1.5",
|
|
703
879
|
transform: "rotate(45 10.4 6.5)"
|
|
704
|
-
})), /* @__PURE__ */
|
|
880
|
+
})), /* @__PURE__ */ m("circle", {
|
|
705
881
|
cx: "12",
|
|
706
882
|
cy: "12",
|
|
707
883
|
r: "3",
|
|
@@ -714,9 +890,9 @@ var le = {
|
|
|
714
890
|
180,
|
|
715
891
|
240,
|
|
716
892
|
300
|
|
717
|
-
], /* @__PURE__ */
|
|
718
|
-
signal: /* @__PURE__ */
|
|
719
|
-
/* @__PURE__ */
|
|
893
|
+
], /* @__PURE__ */ m("path", { d: "m12 2 4 2.3v4.6l-4 2.3-4-2.3V4.3Z" })),
|
|
894
|
+
signal: /* @__PURE__ */ h(p, { children: [
|
|
895
|
+
/* @__PURE__ */ m("rect", {
|
|
720
896
|
x: "2.6",
|
|
721
897
|
y: "7.5",
|
|
722
898
|
width: "4.5",
|
|
@@ -724,21 +900,21 @@ var le = {
|
|
|
724
900
|
rx: "2.2",
|
|
725
901
|
fillOpacity: ".45"
|
|
726
902
|
}),
|
|
727
|
-
/* @__PURE__ */
|
|
903
|
+
/* @__PURE__ */ m("rect", {
|
|
728
904
|
x: "7.4",
|
|
729
905
|
y: "3.5",
|
|
730
906
|
width: "4.5",
|
|
731
907
|
height: "17",
|
|
732
908
|
rx: "2.2"
|
|
733
909
|
}),
|
|
734
|
-
/* @__PURE__ */
|
|
910
|
+
/* @__PURE__ */ m("rect", {
|
|
735
911
|
x: "12.1",
|
|
736
912
|
y: "3.5",
|
|
737
913
|
width: "4.5",
|
|
738
914
|
height: "17",
|
|
739
915
|
rx: "2.2"
|
|
740
916
|
}),
|
|
741
|
-
/* @__PURE__ */
|
|
917
|
+
/* @__PURE__ */ m("rect", {
|
|
742
918
|
x: "16.9",
|
|
743
919
|
y: "7.5",
|
|
744
920
|
width: "4.5",
|
|
@@ -746,7 +922,7 @@ var le = {
|
|
|
746
922
|
rx: "2.2",
|
|
747
923
|
fillOpacity: ".45"
|
|
748
924
|
}),
|
|
749
|
-
/* @__PURE__ */
|
|
925
|
+
/* @__PURE__ */ m("path", {
|
|
750
926
|
d: "M2.6 12h18.8",
|
|
751
927
|
fill: "none"
|
|
752
928
|
})
|
|
@@ -755,7 +931,7 @@ var le = {
|
|
|
755
931
|
0,
|
|
756
932
|
120,
|
|
757
933
|
240
|
|
758
|
-
], /* @__PURE__ */
|
|
934
|
+
], /* @__PURE__ */ m("path", {
|
|
759
935
|
d: "M6 3h12v5c0 4-3.5 7.2-6 9-2.5-1.8-6-5-6-9Z",
|
|
760
936
|
fillOpacity: ".55"
|
|
761
937
|
})),
|
|
@@ -763,11 +939,11 @@ var le = {
|
|
|
763
939
|
0,
|
|
764
940
|
120,
|
|
765
941
|
240
|
|
766
|
-
], /* @__PURE__ */
|
|
942
|
+
], /* @__PURE__ */ m("path", {
|
|
767
943
|
d: "m10 2 9 8-7 1 1 6-9-8 7-1Z",
|
|
768
944
|
fillOpacity: ".6"
|
|
769
945
|
})),
|
|
770
|
-
link: G([0, 90], /* @__PURE__ */
|
|
946
|
+
link: G([0, 90], /* @__PURE__ */ m("path", {
|
|
771
947
|
d: "M12 2c5 0 7 4 7 10s-2 10-7 10-7-4-7-10S7 2 12 2Zm0 4c-2 0-3 2-3 6s1 6 3 6 3-2 3-6-1-6-3-6Z",
|
|
772
948
|
fillRule: "evenodd",
|
|
773
949
|
fillOpacity: ".6"
|
|
@@ -777,7 +953,7 @@ var le = {
|
|
|
777
953
|
90,
|
|
778
954
|
180,
|
|
779
955
|
270
|
|
780
|
-
], /* @__PURE__ */
|
|
956
|
+
], /* @__PURE__ */ m("path", {
|
|
781
957
|
d: "M12 2a10 10 0 0 1 10 10H9a3 3 0 0 1 3-3Z",
|
|
782
958
|
fillOpacity: ".6"
|
|
783
959
|
})),
|
|
@@ -785,7 +961,7 @@ var le = {
|
|
|
785
961
|
0,
|
|
786
962
|
60,
|
|
787
963
|
120
|
|
788
|
-
], /* @__PURE__ */
|
|
964
|
+
], /* @__PURE__ */ m("rect", {
|
|
789
965
|
x: "9.4",
|
|
790
966
|
y: "1.5",
|
|
791
967
|
width: "5.2",
|
|
@@ -793,7 +969,7 @@ var le = {
|
|
|
793
969
|
rx: "2.6",
|
|
794
970
|
fillOpacity: ".55"
|
|
795
971
|
})),
|
|
796
|
-
portal: /* @__PURE__ */
|
|
972
|
+
portal: /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("circle", {
|
|
797
973
|
cx: "12",
|
|
798
974
|
cy: "12",
|
|
799
975
|
r: "9.3",
|
|
@@ -803,7 +979,7 @@ var le = {
|
|
|
803
979
|
90,
|
|
804
980
|
180,
|
|
805
981
|
270
|
|
806
|
-
], /* @__PURE__ */
|
|
982
|
+
], /* @__PURE__ */ m("circle", {
|
|
807
983
|
cx: "12",
|
|
808
984
|
cy: "7.6",
|
|
809
985
|
r: "4.8",
|
|
@@ -816,18 +992,18 @@ var le = {
|
|
|
816
992
|
180,
|
|
817
993
|
240,
|
|
818
994
|
300
|
|
819
|
-
], /* @__PURE__ */
|
|
820
|
-
blossom: /* @__PURE__ */
|
|
995
|
+
], /* @__PURE__ */ m("path", { d: "M12 1.8c1.2 5 7 5.8 5.5 10.2-1.1 3.3-5.5 3-5.5 0-4.2-.8-5.1-4.2 0-10.2Z" })),
|
|
996
|
+
blossom: /* @__PURE__ */ h(p, { children: [G([
|
|
821
997
|
0,
|
|
822
998
|
72,
|
|
823
999
|
144,
|
|
824
1000
|
216,
|
|
825
1001
|
288
|
|
826
|
-
], /* @__PURE__ */
|
|
1002
|
+
], /* @__PURE__ */ m("circle", {
|
|
827
1003
|
cx: "12",
|
|
828
1004
|
cy: "6.6",
|
|
829
1005
|
r: "4.6"
|
|
830
|
-
})), /* @__PURE__ */
|
|
1006
|
+
})), /* @__PURE__ */ m("circle", {
|
|
831
1007
|
cx: "12",
|
|
832
1008
|
cy: "12",
|
|
833
1009
|
r: "3.8",
|
|
@@ -839,26 +1015,26 @@ var le = {
|
|
|
839
1015
|
144,
|
|
840
1016
|
216,
|
|
841
1017
|
288
|
|
842
|
-
], /* @__PURE__ */
|
|
843
|
-
lantern: /* @__PURE__ */
|
|
1018
|
+
], /* @__PURE__ */ m("path", { d: "M12 12C5 15 1 8 6 3c5-2 8 1 8 5-2-2-5-1-5 1s1 3 3 3Z" })),
|
|
1019
|
+
lantern: /* @__PURE__ */ h(p, { children: [G([
|
|
844
1020
|
0,
|
|
845
1021
|
90,
|
|
846
1022
|
180,
|
|
847
1023
|
270
|
|
848
|
-
], /* @__PURE__ */
|
|
1024
|
+
], /* @__PURE__ */ m("path", { d: "m12 1.5 4 6-4 5-4-5Z" })), G([
|
|
849
1025
|
45,
|
|
850
1026
|
135,
|
|
851
1027
|
225,
|
|
852
1028
|
315
|
|
853
|
-
], /* @__PURE__ */
|
|
1029
|
+
], /* @__PURE__ */ m("path", {
|
|
854
1030
|
d: "m12 3.5 3 5-3 3.5-3-3.5Z",
|
|
855
1031
|
fillOpacity: ".45"
|
|
856
1032
|
}))] }),
|
|
857
|
-
lattice: /* @__PURE__ */
|
|
1033
|
+
lattice: /* @__PURE__ */ h(p, { children: [[
|
|
858
1034
|
5,
|
|
859
1035
|
10,
|
|
860
1036
|
15
|
|
861
|
-
].map((e) => /* @__PURE__ */
|
|
1037
|
+
].map((e) => /* @__PURE__ */ m("rect", {
|
|
862
1038
|
x: e,
|
|
863
1039
|
y: "3",
|
|
864
1040
|
width: "4",
|
|
@@ -869,7 +1045,7 @@ var le = {
|
|
|
869
1045
|
5,
|
|
870
1046
|
10,
|
|
871
1047
|
15
|
|
872
|
-
].map((e) => /* @__PURE__ */
|
|
1048
|
+
].map((e) => /* @__PURE__ */ m("rect", {
|
|
873
1049
|
x: "3",
|
|
874
1050
|
y: e,
|
|
875
1051
|
width: "18",
|
|
@@ -877,23 +1053,23 @@ var le = {
|
|
|
877
1053
|
rx: "2",
|
|
878
1054
|
fillOpacity: ".45"
|
|
879
1055
|
}, e))] }),
|
|
880
|
-
mosaic: /* @__PURE__ */
|
|
1056
|
+
mosaic: /* @__PURE__ */ h(p, { children: [
|
|
881
1057
|
G([
|
|
882
1058
|
0,
|
|
883
1059
|
90,
|
|
884
1060
|
180,
|
|
885
1061
|
270
|
|
886
|
-
], /* @__PURE__ */
|
|
1062
|
+
], /* @__PURE__ */ m("path", { d: "m12 1.5 4.5 4.5-4.5 4.5L7.5 6Z" })),
|
|
887
1063
|
G([
|
|
888
1064
|
0,
|
|
889
1065
|
90,
|
|
890
1066
|
180,
|
|
891
1067
|
270
|
|
892
|
-
], /* @__PURE__ */
|
|
1068
|
+
], /* @__PURE__ */ m("path", {
|
|
893
1069
|
d: "m5.5 5.5 3 3-3 3-3-3Z",
|
|
894
1070
|
fillOpacity: ".45"
|
|
895
1071
|
})),
|
|
896
|
-
/* @__PURE__ */
|
|
1072
|
+
/* @__PURE__ */ m("path", { d: "m12 8 4 4-4 4-4-4Z" })
|
|
897
1073
|
] }),
|
|
898
1074
|
dahlia: G([
|
|
899
1075
|
0,
|
|
@@ -908,30 +1084,30 @@ var le = {
|
|
|
908
1084
|
270,
|
|
909
1085
|
300,
|
|
910
1086
|
330
|
|
911
|
-
], /* @__PURE__ */
|
|
1087
|
+
], /* @__PURE__ */ m("ellipse", {
|
|
912
1088
|
cx: "12",
|
|
913
1089
|
cy: "6.3",
|
|
914
1090
|
rx: "1.9",
|
|
915
1091
|
ry: "4.5",
|
|
916
1092
|
fillOpacity: ".5"
|
|
917
1093
|
})),
|
|
918
|
-
lotus: /* @__PURE__ */
|
|
919
|
-
/* @__PURE__ */
|
|
1094
|
+
lotus: /* @__PURE__ */ h(p, { children: [
|
|
1095
|
+
/* @__PURE__ */ m("path", {
|
|
920
1096
|
d: "M12 12C5 6 1 8 1.8 10.5 3 17 8 20 12 20Z",
|
|
921
1097
|
fillOpacity: ".5"
|
|
922
1098
|
}),
|
|
923
|
-
/* @__PURE__ */
|
|
1099
|
+
/* @__PURE__ */ m("path", {
|
|
924
1100
|
d: "M12 12c7-6 11-4 10.2-1.5C21 17 16 20 12 20Z",
|
|
925
1101
|
fillOpacity: ".5"
|
|
926
1102
|
}),
|
|
927
|
-
/* @__PURE__ */
|
|
928
|
-
/* @__PURE__ */
|
|
929
|
-
/* @__PURE__ */
|
|
1103
|
+
/* @__PURE__ */ m("path", { d: "M12 8C8 1 4 2 4 6c0 7 3 11 8 14Z" }),
|
|
1104
|
+
/* @__PURE__ */ m("path", { d: "M12 8c4-7 8-6 8-2 0 7-3 11-8 14Z" }),
|
|
1105
|
+
/* @__PURE__ */ m("path", {
|
|
930
1106
|
d: "M12 1c-5 6-5 13 0 19 5-6 5-13 0-19Z",
|
|
931
1107
|
fillOpacity: ".55"
|
|
932
1108
|
})
|
|
933
1109
|
] }),
|
|
934
|
-
mandala: /* @__PURE__ */
|
|
1110
|
+
mandala: /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("circle", {
|
|
935
1111
|
cx: "12",
|
|
936
1112
|
cy: "12",
|
|
937
1113
|
r: "9.5",
|
|
@@ -943,44 +1119,44 @@ var le = {
|
|
|
943
1119
|
180,
|
|
944
1120
|
240,
|
|
945
1121
|
300
|
|
946
|
-
], /* @__PURE__ */
|
|
1122
|
+
], /* @__PURE__ */ m("circle", {
|
|
947
1123
|
cx: "12",
|
|
948
1124
|
cy: "8.4",
|
|
949
1125
|
r: "5.3",
|
|
950
1126
|
fillOpacity: ".3"
|
|
951
1127
|
}))] }),
|
|
952
|
-
braid: /* @__PURE__ */
|
|
1128
|
+
braid: /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("path", { d: "M4 2c12 0 0 15 16 15v5C-2 22 13 7 4 7Z" }), /* @__PURE__ */ m("path", {
|
|
953
1129
|
d: "M20 2C8 2 20 17 4 17v5C26 22 11 7 20 7Z",
|
|
954
1130
|
fillOpacity: ".5"
|
|
955
1131
|
})] }),
|
|
956
|
-
gem: /* @__PURE__ */
|
|
957
|
-
/* @__PURE__ */
|
|
1132
|
+
gem: /* @__PURE__ */ h(p, { children: [
|
|
1133
|
+
/* @__PURE__ */ m("path", {
|
|
958
1134
|
d: "m12 1.5 8 6v9l-8 6-8-6v-9Z",
|
|
959
1135
|
fillOpacity: ".35"
|
|
960
1136
|
}),
|
|
961
|
-
/* @__PURE__ */
|
|
1137
|
+
/* @__PURE__ */ m("path", {
|
|
962
1138
|
d: "m12 1.5 4 10.5-4 10.5L8 12Z",
|
|
963
1139
|
fillOpacity: ".7"
|
|
964
1140
|
}),
|
|
965
|
-
/* @__PURE__ */
|
|
1141
|
+
/* @__PURE__ */ m("path", {
|
|
966
1142
|
d: "m4 7.5 12 4.5-12 4.5ZM20 7.5 8 12l12 4.5Z",
|
|
967
1143
|
fillOpacity: ".45"
|
|
968
1144
|
})
|
|
969
1145
|
] }),
|
|
970
|
-
eclipse: /* @__PURE__ */
|
|
971
|
-
/* @__PURE__ */
|
|
1146
|
+
eclipse: /* @__PURE__ */ h(p, { children: [
|
|
1147
|
+
/* @__PURE__ */ m("circle", {
|
|
972
1148
|
cx: "11",
|
|
973
1149
|
cy: "12",
|
|
974
1150
|
r: "9.5",
|
|
975
1151
|
fillOpacity: ".35"
|
|
976
1152
|
}),
|
|
977
|
-
/* @__PURE__ */
|
|
1153
|
+
/* @__PURE__ */ m("circle", {
|
|
978
1154
|
cx: "14",
|
|
979
1155
|
cy: "12",
|
|
980
1156
|
r: "7.5",
|
|
981
1157
|
fillOpacity: ".45"
|
|
982
1158
|
}),
|
|
983
|
-
/* @__PURE__ */
|
|
1159
|
+
/* @__PURE__ */ m("circle", {
|
|
984
1160
|
cx: "16.4",
|
|
985
1161
|
cy: "12",
|
|
986
1162
|
r: "5.2",
|
|
@@ -992,11 +1168,11 @@ var le = {
|
|
|
992
1168
|
90,
|
|
993
1169
|
180,
|
|
994
1170
|
270
|
|
995
|
-
], /* @__PURE__ */
|
|
996
|
-
crossweave: /* @__PURE__ */
|
|
1171
|
+
], /* @__PURE__ */ m("path", { d: "M12 12C2 13 2 3 8 2c5-1 7 5 5 8-1-4-6-4-6-1 0 2 2 3 5 3Z" })),
|
|
1172
|
+
crossweave: /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("path", {
|
|
997
1173
|
d: "m5 2 7 10-7 10h14l-7-10 7-10Z",
|
|
998
1174
|
fillOpacity: ".55"
|
|
999
|
-
}), /* @__PURE__ */
|
|
1175
|
+
}), /* @__PURE__ */ m("path", {
|
|
1000
1176
|
d: "m2 5 10 7 10-7v14l-10-7-10 7Z",
|
|
1001
1177
|
fillOpacity: ".55"
|
|
1002
1178
|
})] }),
|
|
@@ -1007,12 +1183,12 @@ var le = {
|
|
|
1007
1183
|
180,
|
|
1008
1184
|
240,
|
|
1009
1185
|
300
|
|
1010
|
-
], /* @__PURE__ */
|
|
1186
|
+
], /* @__PURE__ */ m("path", { d: "m12 2 8.6 5-3 5.2L9 7.2Z" })),
|
|
1011
1187
|
triad: G([
|
|
1012
1188
|
0,
|
|
1013
1189
|
120,
|
|
1014
1190
|
240
|
|
1015
|
-
], /* @__PURE__ */
|
|
1191
|
+
], /* @__PURE__ */ m("path", {
|
|
1016
1192
|
d: "M12 2C4 5 3 12 12 17c9-5 8-12 0-15Z",
|
|
1017
1193
|
fillOpacity: ".6"
|
|
1018
1194
|
}))
|
|
@@ -1041,7 +1217,7 @@ var le = {
|
|
|
1041
1217
|
"ochre",
|
|
1042
1218
|
"amber",
|
|
1043
1219
|
"copper"
|
|
1044
|
-
]),
|
|
1220
|
+
]), pe = K, q = {
|
|
1045
1221
|
root: {
|
|
1046
1222
|
k1xSpc: "x3nfvp2",
|
|
1047
1223
|
kmuXW: "x2lah0s",
|
|
@@ -1165,12 +1341,12 @@ var le = {
|
|
|
1165
1341
|
kMwMTN: "x1b59cz5",
|
|
1166
1342
|
$$css: !0
|
|
1167
1343
|
}
|
|
1168
|
-
},
|
|
1344
|
+
}, me = {
|
|
1169
1345
|
xs: q.xs,
|
|
1170
1346
|
sm: q.sm,
|
|
1171
1347
|
md: q.md,
|
|
1172
1348
|
lg: q.lg
|
|
1173
|
-
},
|
|
1349
|
+
}, he = {
|
|
1174
1350
|
ember: q.ember,
|
|
1175
1351
|
coral: q.coral,
|
|
1176
1352
|
rose: q.rose,
|
|
@@ -1199,13 +1375,13 @@ var le = {
|
|
|
1199
1375
|
function J(e) {
|
|
1200
1376
|
let t = Array.from(e).reduce((e, t) => (e * 31 + (t.codePointAt(0) ?? 0)) % 2147483647, 0);
|
|
1201
1377
|
return {
|
|
1202
|
-
shape:
|
|
1203
|
-
color: K[Math.floor(t /
|
|
1378
|
+
shape: W[t % W.length] ?? "spark",
|
|
1379
|
+
color: K[Math.floor(t / W.length) % K.length] ?? "ember"
|
|
1204
1380
|
};
|
|
1205
1381
|
}
|
|
1206
|
-
function
|
|
1207
|
-
let
|
|
1208
|
-
return /* @__PURE__ */
|
|
1382
|
+
function ge({ seed: e, appearance: t, size: r = "sm", label: i }) {
|
|
1383
|
+
let a = t ?? J(e), o = l();
|
|
1384
|
+
return /* @__PURE__ */ h("svg", {
|
|
1209
1385
|
viewBox: "0 0 24 24",
|
|
1210
1386
|
fill: `url(#${o})`,
|
|
1211
1387
|
fillOpacity: ".76",
|
|
@@ -1213,34 +1389,34 @@ function pe({ seed: e, appearance: t, size: n = "sm", label: r }) {
|
|
|
1213
1389
|
strokeOpacity: ".9",
|
|
1214
1390
|
strokeLinecap: "round",
|
|
1215
1391
|
strokeLinejoin: "round",
|
|
1216
|
-
role:
|
|
1217
|
-
"aria-label":
|
|
1218
|
-
"aria-hidden":
|
|
1219
|
-
...
|
|
1220
|
-
children: [/* @__PURE__ */
|
|
1392
|
+
role: i === void 0 ? void 0 : "img",
|
|
1393
|
+
"aria-label": i,
|
|
1394
|
+
"aria-hidden": i === void 0 || void 0,
|
|
1395
|
+
...n.props(q.root, me[r], he[a.color]),
|
|
1396
|
+
children: [/* @__PURE__ */ m("defs", { children: /* @__PURE__ */ h("linearGradient", {
|
|
1221
1397
|
id: o,
|
|
1222
1398
|
x1: "0",
|
|
1223
1399
|
y1: "0",
|
|
1224
1400
|
x2: "1",
|
|
1225
1401
|
y2: "1",
|
|
1226
1402
|
children: [
|
|
1227
|
-
/* @__PURE__ */
|
|
1403
|
+
/* @__PURE__ */ m("stop", {
|
|
1228
1404
|
offset: "0",
|
|
1229
1405
|
stopColor: "currentColor",
|
|
1230
1406
|
stopOpacity: ".6"
|
|
1231
1407
|
}),
|
|
1232
|
-
/* @__PURE__ */
|
|
1408
|
+
/* @__PURE__ */ m("stop", {
|
|
1233
1409
|
offset: ".65",
|
|
1234
1410
|
stopColor: "currentColor",
|
|
1235
1411
|
stopOpacity: "1"
|
|
1236
1412
|
}),
|
|
1237
|
-
/* @__PURE__ */
|
|
1413
|
+
/* @__PURE__ */ m("stop", {
|
|
1238
1414
|
offset: "1",
|
|
1239
1415
|
stopColor: "currentColor",
|
|
1240
1416
|
stopOpacity: ".8"
|
|
1241
1417
|
})
|
|
1242
1418
|
]
|
|
1243
|
-
}) }),
|
|
1419
|
+
}) }), fe[a.shape]]
|
|
1244
1420
|
});
|
|
1245
1421
|
}
|
|
1246
1422
|
// packages/core/src/copy-value.tsx
|
|
@@ -1258,105 +1434,160 @@ var Y = {
|
|
|
1258
1434
|
k33iCy: "xlshs6z",
|
|
1259
1435
|
$$css: !0
|
|
1260
1436
|
}
|
|
1261
|
-
},
|
|
1437
|
+
}, _e = 1600, ve = /* @__PURE__ */ new Set(["copied", "failed"]), ye = {
|
|
1262
1438
|
idle: Y.visible,
|
|
1263
1439
|
pending: Y.visible,
|
|
1264
1440
|
copied: Y.hidden,
|
|
1265
1441
|
failed: Y.visible
|
|
1266
|
-
},
|
|
1442
|
+
}, be = {
|
|
1267
1443
|
idle: Y.hidden,
|
|
1268
1444
|
pending: Y.hidden,
|
|
1269
1445
|
copied: Y.visible,
|
|
1270
1446
|
failed: Y.hidden
|
|
1271
1447
|
};
|
|
1272
|
-
function
|
|
1273
|
-
let [
|
|
1274
|
-
value:
|
|
1448
|
+
function xe({ value: i, label: a, display: o = "value", children: s, className: l, style: f, disabled: p = !1, onClick: g, render: _, ...v }) {
|
|
1449
|
+
let [b, x] = d({
|
|
1450
|
+
value: i,
|
|
1275
1451
|
status: "idle"
|
|
1276
|
-
}),
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
}, [
|
|
1280
|
-
if (!
|
|
1281
|
-
let
|
|
1282
|
-
|
|
1283
|
-
value:
|
|
1452
|
+
}), S = u(0), C = b.value === i ? b.status : "idle";
|
|
1453
|
+
c(() => () => {
|
|
1454
|
+
S.current += 1;
|
|
1455
|
+
}, [i]), c(() => {
|
|
1456
|
+
if (!ve.has(b.status)) return;
|
|
1457
|
+
let e = globalThis.setTimeout(() => {
|
|
1458
|
+
x((e) => e === b ? {
|
|
1459
|
+
value: i,
|
|
1284
1460
|
status: "idle"
|
|
1285
|
-
} :
|
|
1286
|
-
},
|
|
1287
|
-
return () => globalThis.clearTimeout(
|
|
1288
|
-
}, [
|
|
1461
|
+
} : e);
|
|
1462
|
+
}, _e);
|
|
1463
|
+
return () => globalThis.clearTimeout(e);
|
|
1464
|
+
}, [b, i]);
|
|
1289
1465
|
async function w() {
|
|
1290
|
-
|
|
1291
|
-
let
|
|
1292
|
-
|
|
1293
|
-
value:
|
|
1466
|
+
S.current += 1;
|
|
1467
|
+
let e = S.current;
|
|
1468
|
+
x({
|
|
1469
|
+
value: i,
|
|
1294
1470
|
status: "pending"
|
|
1295
1471
|
});
|
|
1296
1472
|
try {
|
|
1297
|
-
await navigator.clipboard.writeText(typeof
|
|
1298
|
-
value:
|
|
1473
|
+
await navigator.clipboard.writeText(typeof i == "string" ? i : i()), S.current === e && x({
|
|
1474
|
+
value: i,
|
|
1299
1475
|
status: "copied"
|
|
1300
1476
|
});
|
|
1301
1477
|
} catch {
|
|
1302
|
-
|
|
1303
|
-
value:
|
|
1478
|
+
S.current === e && x({
|
|
1479
|
+
value: i,
|
|
1304
1480
|
status: "failed"
|
|
1305
1481
|
});
|
|
1306
1482
|
}
|
|
1307
1483
|
}
|
|
1308
|
-
let T = C === "copied" ?
|
|
1484
|
+
let T = C === "copied" ? y : ee, E = {
|
|
1309
1485
|
idle: "",
|
|
1310
1486
|
pending: "",
|
|
1311
|
-
copied: `${
|
|
1312
|
-
failed: `Could not copy ${
|
|
1487
|
+
copied: `${a} copied`,
|
|
1488
|
+
failed: `Could not copy ${a}. Select and copy the value.`
|
|
1313
1489
|
};
|
|
1314
|
-
return /* @__PURE__ */
|
|
1315
|
-
...
|
|
1316
|
-
...
|
|
1490
|
+
return /* @__PURE__ */ h(r, {
|
|
1491
|
+
...v,
|
|
1492
|
+
..._ !== void 0 && { render: _ },
|
|
1317
1493
|
onClick: (e, t) => {
|
|
1318
|
-
|
|
1494
|
+
g?.(e, t), e.defaultPrevented || w();
|
|
1319
1495
|
},
|
|
1320
|
-
...
|
|
1321
|
-
className:
|
|
1322
|
-
style:
|
|
1496
|
+
...e({
|
|
1497
|
+
className: l,
|
|
1498
|
+
style: f,
|
|
1323
1499
|
styles: {
|
|
1324
1500
|
0: {},
|
|
1325
1501
|
1: { className: "x3nfvp2 x6s0dn4 x193iq5w x16exltd x17oiadl xbgj81g x1717udv xc342km xjbqb8w x153jb6y x1hz01jw xj57cvi xvmahel xtqrqnz x1778rvt x1yc453h x1ypdohk xy7uoan xoqm7u7 xdibjt2 xwpgcpl xknznnm x19rmrnh x9v5kkp x13qnu6 x7s97pk" }
|
|
1326
|
-
}[
|
|
1502
|
+
}[_ === void 0 | 0]
|
|
1327
1503
|
}),
|
|
1328
1504
|
type: "button",
|
|
1329
|
-
"aria-label": `Copy ${
|
|
1330
|
-
"aria-busy": C === "pending" ||
|
|
1331
|
-
disabled:
|
|
1332
|
-
focusableWhenDisabled: C === "pending" ||
|
|
1333
|
-
title:
|
|
1505
|
+
"aria-label": `Copy ${a}`,
|
|
1506
|
+
"aria-busy": C === "pending" || v["aria-busy"],
|
|
1507
|
+
disabled: p || C === "pending",
|
|
1508
|
+
focusableWhenDisabled: C === "pending" || v.focusableWhenDisabled === !0,
|
|
1509
|
+
title: v.title ?? (typeof i == "string" ? i : a),
|
|
1334
1510
|
children: [
|
|
1335
|
-
|
|
1511
|
+
o === "value" && /* @__PURE__ */ h("span", {
|
|
1336
1512
|
className: "xwz0xwf xeuugli",
|
|
1337
|
-
children: [/* @__PURE__ */
|
|
1513
|
+
children: [/* @__PURE__ */ m("span", {
|
|
1338
1514
|
"aria-hidden": C === "copied",
|
|
1339
|
-
...
|
|
1340
|
-
children: s ?? (typeof
|
|
1341
|
-
}), /* @__PURE__ */
|
|
1515
|
+
...n.props(Y.value, ye[C]),
|
|
1516
|
+
children: s ?? (typeof i == "string" ? i : a)
|
|
1517
|
+
}), /* @__PURE__ */ m("span", {
|
|
1342
1518
|
"aria-hidden": C !== "copied",
|
|
1343
|
-
...
|
|
1519
|
+
...n.props(Y.value, be[C]),
|
|
1344
1520
|
children: "Copied"
|
|
1345
1521
|
})]
|
|
1346
1522
|
}),
|
|
1347
|
-
/* @__PURE__ */
|
|
1348
|
-
size:
|
|
1523
|
+
/* @__PURE__ */ m(T, {
|
|
1524
|
+
size: o === "icon" ? 16 : 12,
|
|
1349
1525
|
"aria-hidden": !0,
|
|
1350
1526
|
className: "x2lah0s"
|
|
1351
1527
|
}),
|
|
1352
|
-
/* @__PURE__ */
|
|
1528
|
+
/* @__PURE__ */ m("span", {
|
|
1353
1529
|
role: "status",
|
|
1354
|
-
...
|
|
1530
|
+
...n.props(t.hidden),
|
|
1355
1531
|
children: E[C]
|
|
1356
1532
|
})
|
|
1357
1533
|
]
|
|
1358
1534
|
});
|
|
1359
1535
|
}
|
|
1536
|
+
// packages/core/src/filter-chips.tsx
|
|
1537
|
+
var Se = {
|
|
1538
|
+
k1xSpc: "x1rg5ohu",
|
|
1539
|
+
kzqmXN: "x1v4s8kt",
|
|
1540
|
+
kZKoxP: "xols6we",
|
|
1541
|
+
kaIpWk: "xbvija",
|
|
1542
|
+
kmuXW: "x2lah0s",
|
|
1543
|
+
$$css: !0
|
|
1544
|
+
}, Ce = { swatch: (e) => [
|
|
1545
|
+
Se,
|
|
1546
|
+
{
|
|
1547
|
+
kWkggS: e == null ? e : "xl8spv7",
|
|
1548
|
+
$$css: !0
|
|
1549
|
+
},
|
|
1550
|
+
{ "--x-backgroundColor": e ?? void 0 }
|
|
1551
|
+
] };
|
|
1552
|
+
function we({ label: e, options: t, value: r, onValueChange: i, allLabel: a }) {
|
|
1553
|
+
return /* @__PURE__ */ h("div", {
|
|
1554
|
+
role: "group",
|
|
1555
|
+
"aria-label": e,
|
|
1556
|
+
className: "x78zum5 x1a02dak x6s0dn4 xva7r70",
|
|
1557
|
+
children: [a !== void 0 && /* @__PURE__ */ m("button", {
|
|
1558
|
+
type: "button",
|
|
1559
|
+
"aria-pressed": r === null,
|
|
1560
|
+
onClick: () => i(null),
|
|
1561
|
+
...{
|
|
1562
|
+
0: { className: "x3nfvp2 x6s0dn4 xva7r70 x9f619 xd7y6wv x5g2kb4 x1ok0vyi xmkeg23 x1y0btm7 x9r1u3d xjbqb8w x153jb6y x1hz01jw xj57cvi xy8obcc xas2l8k xvmahel xuxw1ft x1ypdohk x1t137rt xif5pkx xp9636p x1ecmtor x1kl8fbi x13qnu6 x9v5kkp x19rmrnh x13iak60" },
|
|
1563
|
+
1: { className: "x3nfvp2 x6s0dn4 xva7r70 x9f619 xd7y6wv x5g2kb4 x1ok0vyi xmkeg23 x1y0btm7 x1hz01jw xy8obcc xas2l8k xvmahel xuxw1ft x1ypdohk x1t137rt x13qnu6 x9v5kkp x19rmrnh x13iak60 x1r7kqkb x1ey3b81 xbixft xk4h15q xif5pkx xrcn03m xp9636p x1ecmtor x1egg8ey x1kl8fbi" }
|
|
1564
|
+
}[r === null | 0],
|
|
1565
|
+
children: /* @__PURE__ */ m("span", { children: a })
|
|
1566
|
+
}), t.map((e) => {
|
|
1567
|
+
let t = r === e.id;
|
|
1568
|
+
return /* @__PURE__ */ h("button", {
|
|
1569
|
+
type: "button",
|
|
1570
|
+
"aria-pressed": t,
|
|
1571
|
+
onClick: () => i(t ? null : e.id),
|
|
1572
|
+
...{
|
|
1573
|
+
0: { className: "x3nfvp2 x6s0dn4 xva7r70 x9f619 xd7y6wv x5g2kb4 x1ok0vyi xmkeg23 x1y0btm7 x9r1u3d xjbqb8w x153jb6y x1hz01jw xj57cvi xy8obcc xas2l8k xvmahel xuxw1ft x1ypdohk x1t137rt xif5pkx xp9636p x1ecmtor x1kl8fbi x13qnu6 x9v5kkp x19rmrnh x13iak60" },
|
|
1574
|
+
1: { className: "x3nfvp2 x6s0dn4 xva7r70 x9f619 xd7y6wv x5g2kb4 x1ok0vyi xmkeg23 x1y0btm7 x1hz01jw xy8obcc xas2l8k xvmahel xuxw1ft x1ypdohk x1t137rt x13qnu6 x9v5kkp x19rmrnh x13iak60 x1r7kqkb x1ey3b81 xbixft xk4h15q xif5pkx xrcn03m xp9636p x1ecmtor x1egg8ey x1kl8fbi" }
|
|
1575
|
+
}[!!t | 0],
|
|
1576
|
+
children: [
|
|
1577
|
+
e.color !== void 0 && /* @__PURE__ */ m("span", {
|
|
1578
|
+
"aria-hidden": !0,
|
|
1579
|
+
...n.props(Ce.swatch(e.color))
|
|
1580
|
+
}),
|
|
1581
|
+
/* @__PURE__ */ m("span", { children: e.label }),
|
|
1582
|
+
e.count !== void 0 && /* @__PURE__ */ m("span", {
|
|
1583
|
+
className: "x153jb6y xj57cvi xss6m8b",
|
|
1584
|
+
children: e.count
|
|
1585
|
+
})
|
|
1586
|
+
]
|
|
1587
|
+
}, e.id);
|
|
1588
|
+
})]
|
|
1589
|
+
});
|
|
1590
|
+
}
|
|
1360
1591
|
// packages/core/src/disclosure.tsx
|
|
1361
1592
|
var X = {
|
|
1362
1593
|
trigger: {
|
|
@@ -1413,116 +1644,116 @@ var X = {
|
|
|
1413
1644
|
k3aq6I: "x9tu13d x1yphl2d",
|
|
1414
1645
|
$$css: !0
|
|
1415
1646
|
}
|
|
1416
|
-
},
|
|
1647
|
+
}, Te = {
|
|
1417
1648
|
default: null,
|
|
1418
1649
|
inline: X.inline
|
|
1419
|
-
},
|
|
1650
|
+
}, Ee = {
|
|
1420
1651
|
default: null,
|
|
1421
1652
|
inline: X.inlineIcon
|
|
1422
1653
|
};
|
|
1423
|
-
function
|
|
1424
|
-
return /* @__PURE__ */
|
|
1425
|
-
...
|
|
1426
|
-
...
|
|
1427
|
-
className:
|
|
1428
|
-
style:
|
|
1654
|
+
function De({ className: t, style: n, ...r }) {
|
|
1655
|
+
return /* @__PURE__ */ m(T.Accordion, {
|
|
1656
|
+
...r,
|
|
1657
|
+
...e({
|
|
1658
|
+
className: t,
|
|
1659
|
+
style: n,
|
|
1429
1660
|
styles: { className: "xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi xbixft" }
|
|
1430
1661
|
})
|
|
1431
1662
|
});
|
|
1432
1663
|
}
|
|
1433
|
-
function
|
|
1434
|
-
return /* @__PURE__ */
|
|
1435
|
-
...
|
|
1436
|
-
...
|
|
1437
|
-
className:
|
|
1438
|
-
style:
|
|
1664
|
+
function Oe({ className: t, style: n, ...r }) {
|
|
1665
|
+
return /* @__PURE__ */ m(T.AccordionItem, {
|
|
1666
|
+
...r,
|
|
1667
|
+
...e({
|
|
1668
|
+
className: t,
|
|
1669
|
+
style: n,
|
|
1439
1670
|
styles: { className: "xso031l x1q0q8m5 x1qndepd" }
|
|
1440
1671
|
})
|
|
1441
1672
|
});
|
|
1442
1673
|
}
|
|
1443
|
-
function
|
|
1444
|
-
return /* @__PURE__ */
|
|
1445
|
-
...
|
|
1446
|
-
...
|
|
1447
|
-
className:
|
|
1448
|
-
style:
|
|
1674
|
+
function ke({ className: t, style: n, ...r }) {
|
|
1675
|
+
return /* @__PURE__ */ m(T.AccordionHeader, {
|
|
1676
|
+
...r,
|
|
1677
|
+
...e({
|
|
1678
|
+
className: t,
|
|
1679
|
+
style: n,
|
|
1449
1680
|
styles: { className: "x1ghz6dp x1qlqyl8 x1pd3egz" }
|
|
1450
1681
|
})
|
|
1451
1682
|
});
|
|
1452
1683
|
}
|
|
1453
|
-
function
|
|
1454
|
-
return /* @__PURE__ */
|
|
1684
|
+
function Ae({ className: t, style: n, children: r, ...i }) {
|
|
1685
|
+
return /* @__PURE__ */ h(T.AccordionTrigger, {
|
|
1455
1686
|
...i,
|
|
1456
|
-
...
|
|
1457
|
-
className:
|
|
1458
|
-
style:
|
|
1687
|
+
...e({
|
|
1688
|
+
className: t,
|
|
1689
|
+
style: n,
|
|
1459
1690
|
styles: { className: "x78zum5 x6s0dn4 x1qughib x1hnptsi xh8yej3 x17tes2r x17oiadl xnjsko4 xn9t2bk xc342km xjbqb8w x18vtl6o xyg3wme xjb2p0i x1qlqyl8 x15bjb6t xk4h15q x1heor9g x1yc453h xj0a0fe x1ypdohk xwj21n9 x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x7s97pk x-default-marker" }
|
|
1460
1691
|
}),
|
|
1461
|
-
children: [
|
|
1692
|
+
children: [r, /* @__PURE__ */ m(b, {
|
|
1462
1693
|
"aria-hidden": !0,
|
|
1463
1694
|
className: "x2lah0s xtwnzbg x18utl2x x153jb6y x9tu13d x1yphl2d"
|
|
1464
1695
|
})]
|
|
1465
1696
|
});
|
|
1466
1697
|
}
|
|
1467
|
-
function
|
|
1468
|
-
return /* @__PURE__ */
|
|
1469
|
-
...
|
|
1470
|
-
...
|
|
1471
|
-
className:
|
|
1472
|
-
style:
|
|
1698
|
+
function je({ className: t, style: n, ...r }) {
|
|
1699
|
+
return /* @__PURE__ */ m(T.AccordionPanel, {
|
|
1700
|
+
...r,
|
|
1701
|
+
...e({
|
|
1702
|
+
className: t,
|
|
1703
|
+
style: n,
|
|
1473
1704
|
styles: { className: "x1wpizpg xj0a0fe" }
|
|
1474
1705
|
})
|
|
1475
1706
|
});
|
|
1476
1707
|
}
|
|
1477
|
-
function
|
|
1478
|
-
return /* @__PURE__ */
|
|
1479
|
-
...
|
|
1480
|
-
...
|
|
1481
|
-
className:
|
|
1482
|
-
style:
|
|
1708
|
+
function Me({ className: t, style: n, ...r }) {
|
|
1709
|
+
return /* @__PURE__ */ m(E.Collapsible, {
|
|
1710
|
+
...r,
|
|
1711
|
+
...e({
|
|
1712
|
+
className: t,
|
|
1713
|
+
style: n,
|
|
1483
1714
|
styles: { className: "xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi xbixft" }
|
|
1484
1715
|
})
|
|
1485
1716
|
});
|
|
1486
1717
|
}
|
|
1487
|
-
var
|
|
1718
|
+
var Ne = {
|
|
1488
1719
|
"x-default-marker": "x-default-marker",
|
|
1489
1720
|
$$css: !0
|
|
1490
1721
|
};
|
|
1491
|
-
function
|
|
1492
|
-
return /* @__PURE__ */
|
|
1722
|
+
function Pe({ className: t, style: r, children: i, variant: a = "default", ...o }) {
|
|
1723
|
+
return /* @__PURE__ */ h(E.CollapsibleTrigger, {
|
|
1493
1724
|
...o,
|
|
1494
|
-
...
|
|
1495
|
-
className:
|
|
1496
|
-
style:
|
|
1497
|
-
styles:
|
|
1725
|
+
...e({
|
|
1726
|
+
className: t,
|
|
1727
|
+
style: r,
|
|
1728
|
+
styles: n.props(X.trigger, Te[a], Ne)
|
|
1498
1729
|
}),
|
|
1499
|
-
children: [
|
|
1730
|
+
children: [i, /* @__PURE__ */ m(b, {
|
|
1500
1731
|
"aria-hidden": !0,
|
|
1501
|
-
...
|
|
1732
|
+
...n.props(X.icon, Ee[a])
|
|
1502
1733
|
})]
|
|
1503
1734
|
});
|
|
1504
1735
|
}
|
|
1505
|
-
function
|
|
1506
|
-
return /* @__PURE__ */
|
|
1507
|
-
...
|
|
1508
|
-
...
|
|
1509
|
-
className:
|
|
1510
|
-
style:
|
|
1736
|
+
function Fe({ className: t, style: n, ...r }) {
|
|
1737
|
+
return /* @__PURE__ */ m(E.CollapsiblePanel, {
|
|
1738
|
+
...r,
|
|
1739
|
+
...e({
|
|
1740
|
+
className: t,
|
|
1741
|
+
style: n,
|
|
1511
1742
|
styles: { className: "x1wpizpg xj0a0fe" }
|
|
1512
1743
|
})
|
|
1513
1744
|
});
|
|
1514
1745
|
}
|
|
1515
|
-
var
|
|
1516
|
-
Root:
|
|
1517
|
-
Item:
|
|
1518
|
-
Header:
|
|
1519
|
-
Trigger:
|
|
1520
|
-
Panel:
|
|
1521
|
-
},
|
|
1522
|
-
Root:
|
|
1523
|
-
Trigger:
|
|
1524
|
-
Panel:
|
|
1525
|
-
},
|
|
1746
|
+
var Ie = {
|
|
1747
|
+
Root: De,
|
|
1748
|
+
Item: Oe,
|
|
1749
|
+
Header: ke,
|
|
1750
|
+
Trigger: Ae,
|
|
1751
|
+
Panel: je
|
|
1752
|
+
}, Le = {
|
|
1753
|
+
Root: Me,
|
|
1754
|
+
Trigger: Pe,
|
|
1755
|
+
Panel: Fe
|
|
1756
|
+
}, Re = { link: {
|
|
1526
1757
|
k1xSpc: "x1lliihq",
|
|
1527
1758
|
kB7OPa: "x9f619",
|
|
1528
1759
|
k7Eaqz: "xeuugli",
|
|
@@ -1545,74 +1776,74 @@ var Ae = {
|
|
|
1545
1776
|
kiEn40: "x8fq8g9",
|
|
1546
1777
|
$$css: !0
|
|
1547
1778
|
} };
|
|
1548
|
-
function
|
|
1549
|
-
return /* @__PURE__ */
|
|
1779
|
+
function ze({ title: e, index: t, meta: n }) {
|
|
1780
|
+
return /* @__PURE__ */ h("header", {
|
|
1550
1781
|
className: "x78zum5 x6s0dn4 x1qughib x1hnptsi xu97haq x1m92p3w x1hmw7ec xso031l x1q0q8m5 x1qndepd x1r7kqkb",
|
|
1551
|
-
children: [/* @__PURE__ */
|
|
1782
|
+
children: [/* @__PURE__ */ h("div", {
|
|
1552
1783
|
className: "x78zum5 x6s0dn4 x1hnptsi xeuugli",
|
|
1553
|
-
children: [t !== void 0 && /* @__PURE__ */
|
|
1784
|
+
children: [t !== void 0 && /* @__PURE__ */ m("span", {
|
|
1554
1785
|
className: "x3nfvp2 x6s0dn4 xl56j7k xt4ypqs x1qx5ct2 x14w6jbu x1ok0vyi x1pt885t x1ymx3u3 xiard35 xy8obcc xk4h15q xo5v014 x2lah0s",
|
|
1555
1786
|
children: t
|
|
1556
|
-
}), e !== void 0 && /* @__PURE__ */
|
|
1787
|
+
}), e !== void 0 && /* @__PURE__ */ m("span", {
|
|
1557
1788
|
className: "xy8obcc xas2l8k xk4h15q xbixft xb3r6kr xlyipyv xuxw1ft",
|
|
1558
1789
|
children: e
|
|
1559
1790
|
})]
|
|
1560
|
-
}), n !== void 0 && /* @__PURE__ */
|
|
1791
|
+
}), n !== void 0 && /* @__PURE__ */ m("div", {
|
|
1561
1792
|
className: "x78zum5 x6s0dn4 x1hnptsi x153jb6y xy8obcc xas2l8k x2lah0s",
|
|
1562
1793
|
children: n
|
|
1563
1794
|
})]
|
|
1564
1795
|
});
|
|
1565
1796
|
}
|
|
1566
|
-
function
|
|
1567
|
-
let l = t !== void 0 || n !== void 0 || r !== void 0, u = l || i !== void 0, d = e && !
|
|
1568
|
-
return u ? /* @__PURE__ */
|
|
1569
|
-
...
|
|
1797
|
+
function Be({ isPadded: e = !0, title: t, index: n, meta: r, footer: i, isFlush: o = !1, children: s, ...c }) {
|
|
1798
|
+
let l = t !== void 0 || n !== void 0 || r !== void 0, u = l || i !== void 0, d = e && !o;
|
|
1799
|
+
return u ? /* @__PURE__ */ h("section", {
|
|
1800
|
+
...a({ className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" }, c),
|
|
1570
1801
|
children: [
|
|
1571
|
-
l && /* @__PURE__ */
|
|
1802
|
+
l && /* @__PURE__ */ m(ze, {
|
|
1572
1803
|
title: t,
|
|
1573
1804
|
index: n,
|
|
1574
1805
|
meta: r
|
|
1575
1806
|
}),
|
|
1576
|
-
/* @__PURE__ */
|
|
1807
|
+
/* @__PURE__ */ m("div", {
|
|
1577
1808
|
...{
|
|
1578
1809
|
0: { className: "xeuugli" },
|
|
1579
1810
|
1: { className: "xeuugli x1jvlu93" }
|
|
1580
1811
|
}[!!d | 0],
|
|
1581
|
-
children:
|
|
1812
|
+
children: s
|
|
1582
1813
|
}),
|
|
1583
|
-
i !== void 0 && /* @__PURE__ */
|
|
1814
|
+
i !== void 0 && /* @__PURE__ */ m("footer", {
|
|
1584
1815
|
className: "x1m92p3w xn9t2bk x178xt8z x13fuv20 xhjagg4 x1r7kqkb x153jb6y xy8obcc xas2l8k",
|
|
1585
1816
|
children: i
|
|
1586
1817
|
})
|
|
1587
1818
|
]
|
|
1588
|
-
}) : /* @__PURE__ */
|
|
1589
|
-
...
|
|
1819
|
+
}) : /* @__PURE__ */ m("section", {
|
|
1820
|
+
...a({
|
|
1590
1821
|
0: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" },
|
|
1591
1822
|
1: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel x1jvlu93" }
|
|
1592
|
-
}[!!d | 0],
|
|
1593
|
-
children:
|
|
1823
|
+
}[!!d | 0], c),
|
|
1824
|
+
children: s
|
|
1594
1825
|
});
|
|
1595
1826
|
}
|
|
1596
|
-
function
|
|
1597
|
-
return /* @__PURE__ */
|
|
1827
|
+
function Ve({ xstyle: e, ...t }) {
|
|
1828
|
+
return /* @__PURE__ */ m(N, { ...a(n.props(Re.link, e), t) });
|
|
1598
1829
|
}
|
|
1599
|
-
function
|
|
1600
|
-
return /* @__PURE__ */
|
|
1830
|
+
function He({ shouldSpaceBetween: e = !1, ...t }) {
|
|
1831
|
+
return /* @__PURE__ */ m("div", { ...a({
|
|
1601
1832
|
0: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli" },
|
|
1602
1833
|
1: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli x1qughib" }
|
|
1603
1834
|
}[!!e | 0], t) });
|
|
1604
1835
|
}
|
|
1605
|
-
function
|
|
1606
|
-
return /* @__PURE__ */
|
|
1836
|
+
function Ue({ isCompact: e = !1, ...t }) {
|
|
1837
|
+
return /* @__PURE__ */ m("div", { ...a({
|
|
1607
1838
|
0: { className: "x78zum5 xdt5ytf x1j825kq xeuugli" },
|
|
1608
1839
|
1: { className: "x78zum5 xdt5ytf xeuugli x1hnptsi" }
|
|
1609
1840
|
}[!!e | 0], t) });
|
|
1610
1841
|
}
|
|
1611
|
-
function
|
|
1612
|
-
return /* @__PURE__ */
|
|
1842
|
+
function We(e) {
|
|
1843
|
+
return /* @__PURE__ */ m("div", { ...a({ className: "xrvj5dj xhuszhj x1m6b44x xeuugli" }, e) });
|
|
1613
1844
|
}
|
|
1614
|
-
function
|
|
1615
|
-
return /* @__PURE__ */
|
|
1845
|
+
function Ge(e) {
|
|
1846
|
+
return /* @__PURE__ */ m("hr", { ...a({ className: "xc342km x178xt8z x1y0btm7 x1ey3b81 x1ghz6dp" }, e) });
|
|
1616
1847
|
}
|
|
1617
1848
|
// packages/foundations/src/header-styles.ts
|
|
1618
1849
|
var Z = {
|
|
@@ -1701,7 +1932,7 @@ var Z = {
|
|
|
1701
1932
|
kloYau: "x2q1x1w",
|
|
1702
1933
|
$$css: !0
|
|
1703
1934
|
}
|
|
1704
|
-
},
|
|
1935
|
+
}, Ke = { root: {
|
|
1705
1936
|
kOIVth: "x1n8ia3y",
|
|
1706
1937
|
kWkggS: "x1r7kqkb",
|
|
1707
1938
|
kMwMTN: "xbixft",
|
|
@@ -1710,23 +1941,23 @@ var Z = {
|
|
|
1710
1941
|
kLWn49: "x1778rvt",
|
|
1711
1942
|
$$css: !0
|
|
1712
1943
|
} };
|
|
1713
|
-
function
|
|
1714
|
-
let
|
|
1715
|
-
...
|
|
1716
|
-
children: n
|
|
1717
|
-
}), l = o && /* @__PURE__ */ _("div", {
|
|
1718
|
-
...a.props(Z.actions),
|
|
1944
|
+
function qe({ title: e, id: t, meta: r, actions: i }) {
|
|
1945
|
+
let a = s.toArray(r).length > 0, o = s.toArray(i).length > 0, c = a || o, l = a && /* @__PURE__ */ m("div", {
|
|
1946
|
+
...n.props(Z.meta),
|
|
1719
1947
|
children: r
|
|
1948
|
+
}), u = o && /* @__PURE__ */ m("div", {
|
|
1949
|
+
...n.props(Z.actions),
|
|
1950
|
+
children: i
|
|
1720
1951
|
});
|
|
1721
|
-
return /* @__PURE__ */
|
|
1722
|
-
...
|
|
1723
|
-
children: [/* @__PURE__ */
|
|
1952
|
+
return /* @__PURE__ */ h("div", {
|
|
1953
|
+
...n.props(Z.row, Z.blockEnd, Ke.root),
|
|
1954
|
+
children: [/* @__PURE__ */ m("h2", {
|
|
1724
1955
|
id: t,
|
|
1725
|
-
...
|
|
1956
|
+
...n.props(Z.title),
|
|
1726
1957
|
children: e
|
|
1727
|
-
}),
|
|
1728
|
-
...
|
|
1729
|
-
children: [
|
|
1958
|
+
}), c && /* @__PURE__ */ h("div", {
|
|
1959
|
+
...n.props(Z.trailing),
|
|
1960
|
+
children: [l, u]
|
|
1730
1961
|
})]
|
|
1731
1962
|
});
|
|
1732
1963
|
}
|
|
@@ -1831,77 +2062,77 @@ var Q = {
|
|
|
1831
2062
|
kMwMTN: "xr5kp14",
|
|
1832
2063
|
$$css: !0
|
|
1833
2064
|
}
|
|
1834
|
-
},
|
|
2065
|
+
}, Je = {
|
|
1835
2066
|
body: Q.body,
|
|
1836
2067
|
caption: Q.caption,
|
|
1837
2068
|
mono: Q.mono,
|
|
1838
2069
|
prose: Q.prose
|
|
1839
|
-
},
|
|
2070
|
+
}, $ = {
|
|
1840
2071
|
ink: Q.ink,
|
|
1841
2072
|
muted: Q.muted
|
|
1842
|
-
},
|
|
2073
|
+
}, Ye = {
|
|
1843
2074
|
neutral: Q.neutral,
|
|
1844
2075
|
positive: Q.positive,
|
|
1845
2076
|
warning: Q.warning,
|
|
1846
2077
|
negative: Q.negative
|
|
1847
|
-
},
|
|
2078
|
+
}, Xe = {
|
|
1848
2079
|
neutral: Q.neutralIcon,
|
|
1849
2080
|
positive: Q.positiveIcon,
|
|
1850
2081
|
warning: Q.warningIcon,
|
|
1851
2082
|
negative: Q.negativeIcon
|
|
1852
|
-
},
|
|
1853
|
-
neutral:
|
|
1854
|
-
positive:
|
|
1855
|
-
warning:
|
|
1856
|
-
negative:
|
|
2083
|
+
}, Ze = {
|
|
2084
|
+
neutral: x,
|
|
2085
|
+
positive: S,
|
|
2086
|
+
warning: w,
|
|
2087
|
+
negative: C
|
|
1857
2088
|
};
|
|
1858
|
-
function
|
|
1859
|
-
return /* @__PURE__ */
|
|
2089
|
+
function Qe({ variant: e = "body", tone: t = "ink", xstyle: r, ...i }) {
|
|
2090
|
+
return /* @__PURE__ */ m("span", { ...a(n.props(Q.text, Je[e], $[t], r), i) });
|
|
1860
2091
|
}
|
|
1861
|
-
function
|
|
1862
|
-
return /* @__PURE__ */
|
|
2092
|
+
function $e({ isCompact: e = !1, ...t }) {
|
|
2093
|
+
return /* @__PURE__ */ m("h1", { ...a({
|
|
1863
2094
|
0: { className: "x1ghz6dp x1hz01jw xvmahel xc0f4dz xvukjed xzju6ct x1vxm5eg x1b5ytql x1wjjqco xbixft xj0a0fe" },
|
|
1864
2095
|
1: { className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }
|
|
1865
2096
|
}[!!e | 0], t) });
|
|
1866
2097
|
}
|
|
1867
|
-
function
|
|
1868
|
-
return /* @__PURE__ */
|
|
2098
|
+
function et(e) {
|
|
2099
|
+
return /* @__PURE__ */ m("h2", { ...a({ className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }, e) });
|
|
1869
2100
|
}
|
|
1870
|
-
function
|
|
1871
|
-
return /* @__PURE__ */
|
|
2101
|
+
function tt(e) {
|
|
2102
|
+
return /* @__PURE__ */ m("p", { ...a({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel xj0a0fe xtqrqnz x1778rvt x153jb6y" }, e) });
|
|
1872
2103
|
}
|
|
1873
|
-
function
|
|
1874
|
-
return /* @__PURE__ */
|
|
2104
|
+
function nt(e) {
|
|
2105
|
+
return /* @__PURE__ */ m("span", { ...a({ className: "x1ghz6dp xj57cvi xvmahel xiard35 xy8obcc x1778rvt xj0a0fe x153jb6y" }, e) });
|
|
1875
2106
|
}
|
|
1876
|
-
function
|
|
1877
|
-
return /* @__PURE__ */
|
|
2107
|
+
function rt(e) {
|
|
2108
|
+
return /* @__PURE__ */ m("pre", { ...a({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel x1ewvobj x126k92a xj0a0fe x12myhf4 x1ytb0s6 xbixft" }, e) });
|
|
1878
2109
|
}
|
|
1879
|
-
function
|
|
1880
|
-
return /* @__PURE__ */
|
|
1881
|
-
...
|
|
1882
|
-
children: [/* @__PURE__ */
|
|
2110
|
+
function it({ children: e, tone: t = "neutral", ...r }) {
|
|
2111
|
+
return /* @__PURE__ */ h("span", {
|
|
2112
|
+
...a(n.props(Q.badge, Ye[t]), r),
|
|
2113
|
+
children: [/* @__PURE__ */ m(x, {
|
|
1883
2114
|
size: 5,
|
|
1884
2115
|
fill: "currentColor",
|
|
1885
2116
|
"aria-hidden": !0,
|
|
1886
2117
|
className: "x2lah0s"
|
|
1887
|
-
}), /* @__PURE__ */
|
|
2118
|
+
}), /* @__PURE__ */ m("span", {
|
|
1888
2119
|
className: "xeuugli xj0a0fe",
|
|
1889
2120
|
children: e
|
|
1890
2121
|
})]
|
|
1891
2122
|
});
|
|
1892
2123
|
}
|
|
1893
|
-
function
|
|
1894
|
-
let
|
|
1895
|
-
return /* @__PURE__ */
|
|
1896
|
-
...
|
|
1897
|
-
children: [/* @__PURE__ */
|
|
2124
|
+
function at({ children: e, tone: t = "neutral", ...r }) {
|
|
2125
|
+
let i = Ze[t];
|
|
2126
|
+
return /* @__PURE__ */ h("span", {
|
|
2127
|
+
...a({ className: "x3nfvp2 x6s0dn4 xbgj81g xbixft x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x193iq5w" }, r),
|
|
2128
|
+
children: [/* @__PURE__ */ m(i, {
|
|
1898
2129
|
size: 14,
|
|
1899
2130
|
"aria-hidden": !0,
|
|
1900
|
-
...
|
|
1901
|
-
}), /* @__PURE__ */
|
|
2131
|
+
...n.props(Q.statusIcon, Xe[t])
|
|
2132
|
+
}), /* @__PURE__ */ m("span", {
|
|
1902
2133
|
className: "xeuugli xj0a0fe",
|
|
1903
2134
|
children: e
|
|
1904
2135
|
})]
|
|
1905
2136
|
});
|
|
1906
2137
|
}
|
|
1907
|
-
export {
|
|
2138
|
+
export { se as A, pe as C, ue as D, z as E, D as F, ne as I, te as L, N as M, A as N, oe as O, k as P, J as S, U as T, Ie as _, rt as a, xe as b, Qe as c, We as d, Ge as f, Ve as g, Ue as h, tt as i, ce as j, le as k, qe as l, He as m, $e as n, at as o, Be as p, nt as r, et as s, it as t, Z as u, Le as v, de as w, ge as x, we as y };
|