@monospaced/set-core 0.14.2 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button/button.d.ts +3 -0
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/menu/menu.d.ts +4 -2
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +882 -832
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Ot = /* @__PURE__ */ new Set([
|
|
2
2
|
"area",
|
|
3
3
|
"base",
|
|
4
4
|
"br",
|
|
@@ -13,28 +13,28 @@ const Bt = /* @__PURE__ */ new Set([
|
|
|
13
13
|
"track",
|
|
14
14
|
"wbr"
|
|
15
15
|
]);
|
|
16
|
-
function
|
|
16
|
+
function wt(t) {
|
|
17
17
|
return t.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'");
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${
|
|
19
|
+
function Pt(t) {
|
|
20
|
+
return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${wt(String(e))}"`]).join(" ");
|
|
21
21
|
}
|
|
22
22
|
function m(t) {
|
|
23
|
-
if (t.kind === "text") return
|
|
23
|
+
if (t.kind === "text") return wt(t.value);
|
|
24
24
|
if (t.kind === "raw") return t.html;
|
|
25
|
-
const n =
|
|
26
|
-
if (
|
|
25
|
+
const n = Pt(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
|
|
26
|
+
if (Ot.has(t.tag)) return e;
|
|
27
27
|
const i = t.children.map(m).join("");
|
|
28
28
|
return `${e}${i}</${t.tag}>`;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function H(t) {
|
|
31
31
|
return /^[A-Za-z][\w:-]*$/.test(t);
|
|
32
32
|
}
|
|
33
33
|
function v(t) {
|
|
34
34
|
if (t === void 0) return;
|
|
35
35
|
const n = t.trim();
|
|
36
36
|
if (n) {
|
|
37
|
-
if (!
|
|
37
|
+
if (!H(n))
|
|
38
38
|
throw new Error(
|
|
39
39
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
40
40
|
);
|
|
@@ -44,7 +44,7 @@ function v(t) {
|
|
|
44
44
|
function O(t) {
|
|
45
45
|
return t == null ? void 0 : t.trim().replace(/\s+/g, " ") || void 0;
|
|
46
46
|
}
|
|
47
|
-
const
|
|
47
|
+
const St = {
|
|
48
48
|
adjustment: [
|
|
49
49
|
{
|
|
50
50
|
tag: "g",
|
|
@@ -775,13 +775,13 @@ const wt = {
|
|
|
775
775
|
]
|
|
776
776
|
}
|
|
777
777
|
]
|
|
778
|
-
},
|
|
779
|
-
function
|
|
778
|
+
}, pi = Object.keys(St);
|
|
779
|
+
function xt(t) {
|
|
780
780
|
return t.map((n) => ({
|
|
781
781
|
kind: "element",
|
|
782
782
|
tag: n.tag,
|
|
783
783
|
attrs: n.attrs,
|
|
784
|
-
children: n.children ?
|
|
784
|
+
children: n.children ? xt(n.children) : []
|
|
785
785
|
}));
|
|
786
786
|
}
|
|
787
787
|
function P({
|
|
@@ -792,21 +792,21 @@ function P({
|
|
|
792
792
|
size: r = "md",
|
|
793
793
|
title: a
|
|
794
794
|
}) {
|
|
795
|
-
const o =
|
|
795
|
+
const o = St[i];
|
|
796
796
|
if (!o)
|
|
797
797
|
throw new Error(`Unknown icon name: ${i}`);
|
|
798
|
-
const d = v(n),
|
|
799
|
-
if (!t && !
|
|
798
|
+
const d = v(n), l = a?.trim();
|
|
799
|
+
if (!t && !l)
|
|
800
800
|
throw new Error("title must be non-empty when ariaHidden is false.");
|
|
801
801
|
if (!t && !d)
|
|
802
802
|
throw new Error("id must be provided when ariaHidden is false.");
|
|
803
|
-
const p = t ? void 0 : `${d}-title`,
|
|
804
|
-
return t ||
|
|
803
|
+
const p = t ? void 0 : `${d}-title`, s = [];
|
|
804
|
+
return t || s.push({
|
|
805
805
|
kind: "element",
|
|
806
806
|
tag: "title",
|
|
807
807
|
attrs: { id: p },
|
|
808
|
-
children: [{ kind: "text", value:
|
|
809
|
-
}),
|
|
808
|
+
children: [{ kind: "text", value: l }]
|
|
809
|
+
}), s.push(...xt(o)), {
|
|
810
810
|
kind: "element",
|
|
811
811
|
tag: "svg",
|
|
812
812
|
attrs: {
|
|
@@ -824,13 +824,13 @@ function P({
|
|
|
824
824
|
viewBox: "0 0 24 24",
|
|
825
825
|
xmlns: "http://www.w3.org/2000/svg"
|
|
826
826
|
},
|
|
827
|
-
children:
|
|
827
|
+
children: s
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function Rt(t) {
|
|
831
831
|
return m(P(t));
|
|
832
832
|
}
|
|
833
|
-
const
|
|
833
|
+
const ci = {
|
|
834
834
|
name: "icon",
|
|
835
835
|
description: "Use `icon` to render a Set icon.",
|
|
836
836
|
output: { element: "svg", class: "set-icon" },
|
|
@@ -944,80 +944,230 @@ const li = {
|
|
|
944
944
|
]
|
|
945
945
|
}
|
|
946
946
|
};
|
|
947
|
+
function Wt({
|
|
948
|
+
id: t,
|
|
949
|
+
label: n,
|
|
950
|
+
size: e = "md",
|
|
951
|
+
tone: i = "default"
|
|
952
|
+
} = {}) {
|
|
953
|
+
const r = v(t), o = [
|
|
954
|
+
{
|
|
955
|
+
kind: "element",
|
|
956
|
+
tag: "svg",
|
|
957
|
+
attrs: {
|
|
958
|
+
"aria-hidden": "true",
|
|
959
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
960
|
+
viewBox: "0 0 600 1200",
|
|
961
|
+
fill: "currentColor"
|
|
962
|
+
},
|
|
963
|
+
children: [
|
|
964
|
+
[60, 60],
|
|
965
|
+
[60, 360],
|
|
966
|
+
[60, 660],
|
|
967
|
+
[60, 960],
|
|
968
|
+
[360, 960],
|
|
969
|
+
[360, 660],
|
|
970
|
+
[360, 360],
|
|
971
|
+
[360, 60]
|
|
972
|
+
].map(([d, l]) => ({
|
|
973
|
+
kind: "element",
|
|
974
|
+
tag: "rect",
|
|
975
|
+
attrs: {
|
|
976
|
+
class: "cell",
|
|
977
|
+
x: String(d),
|
|
978
|
+
y: String(l),
|
|
979
|
+
width: "180",
|
|
980
|
+
height: "180"
|
|
981
|
+
},
|
|
982
|
+
children: []
|
|
983
|
+
}))
|
|
984
|
+
}
|
|
985
|
+
];
|
|
986
|
+
return n && o.push({
|
|
987
|
+
kind: "element",
|
|
988
|
+
tag: "span",
|
|
989
|
+
attrs: { class: "visually-hidden" },
|
|
990
|
+
children: [{ kind: "text", value: n }]
|
|
991
|
+
}), {
|
|
992
|
+
kind: "element",
|
|
993
|
+
tag: "span",
|
|
994
|
+
attrs: {
|
|
995
|
+
class: "set-spinner",
|
|
996
|
+
"data-size": e,
|
|
997
|
+
"data-tone": i === "brand" ? "brand" : void 0,
|
|
998
|
+
id: r,
|
|
999
|
+
role: n ? "status" : void 0
|
|
1000
|
+
},
|
|
1001
|
+
children: o
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
function bt(t = {}) {
|
|
1005
|
+
return m(Wt(t));
|
|
1006
|
+
}
|
|
1007
|
+
const ui = {
|
|
1008
|
+
name: "spinner",
|
|
1009
|
+
description: "Use `spinner` to indicate loading or in-progress state.",
|
|
1010
|
+
output: { element: "span", class: "set-spinner" },
|
|
1011
|
+
content: { kind: "text", prop: "label" },
|
|
1012
|
+
props: {
|
|
1013
|
+
id: {
|
|
1014
|
+
description: "DOM id.",
|
|
1015
|
+
type: { kind: "string" }
|
|
1016
|
+
},
|
|
1017
|
+
label: {
|
|
1018
|
+
description: "Accessible status label announced to assistive tech.",
|
|
1019
|
+
type: { kind: "string" }
|
|
1020
|
+
},
|
|
1021
|
+
size: {
|
|
1022
|
+
default: "md",
|
|
1023
|
+
description: "Size variant.",
|
|
1024
|
+
type: {
|
|
1025
|
+
kind: "enum",
|
|
1026
|
+
values: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "fill"]
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
tone: {
|
|
1030
|
+
default: "default",
|
|
1031
|
+
description: "Semantic tone.",
|
|
1032
|
+
type: { kind: "enum", values: ["default", "brand"] }
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
events: {},
|
|
1036
|
+
rules: {
|
|
1037
|
+
attributes: [
|
|
1038
|
+
{
|
|
1039
|
+
target: { on: "host" },
|
|
1040
|
+
attribute: "data-size",
|
|
1041
|
+
condition: { kind: "always" },
|
|
1042
|
+
value: { kind: "prop", prop: "size" }
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
target: { on: "host" },
|
|
1046
|
+
attribute: "data-tone",
|
|
1047
|
+
condition: { kind: "when-equals", prop: "tone", to: "brand" },
|
|
1048
|
+
value: { kind: "literal", text: "brand" }
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
target: { on: "host" },
|
|
1052
|
+
attribute: "role",
|
|
1053
|
+
condition: { kind: "when-non-empty", prop: "label" },
|
|
1054
|
+
value: { kind: "literal", text: "status" }
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
target: { on: "host" },
|
|
1058
|
+
attribute: "id",
|
|
1059
|
+
condition: { kind: "when-non-empty", prop: "id" },
|
|
1060
|
+
value: { kind: "prop", prop: "id" }
|
|
1061
|
+
}
|
|
1062
|
+
]
|
|
1063
|
+
}
|
|
1064
|
+
}, Ut = {
|
|
1065
|
+
sm: "xs",
|
|
1066
|
+
md: "sm",
|
|
1067
|
+
lg: "md"
|
|
1068
|
+
};
|
|
947
1069
|
function ht(t) {
|
|
948
1070
|
const {
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1071
|
+
activity: n,
|
|
1072
|
+
appearance: e = "outline",
|
|
1073
|
+
controls: i,
|
|
1074
|
+
disabled: r,
|
|
1075
|
+
disclosure: a,
|
|
1076
|
+
form: o,
|
|
1077
|
+
haspopup: d,
|
|
1078
|
+
id: l,
|
|
1079
|
+
icon: p,
|
|
1080
|
+
iconMirrored: s,
|
|
1081
|
+
iconPlacement: c = "start",
|
|
1082
|
+
label: h,
|
|
1083
|
+
labelVisibility: b = "visible",
|
|
1084
|
+
name: w,
|
|
1085
|
+
size: f = "md",
|
|
1086
|
+
tone: z = "default",
|
|
1087
|
+
type: q,
|
|
1088
|
+
value: x
|
|
1089
|
+
} = t, k = p || void 0, C = !!k;
|
|
1090
|
+
if (b !== "visible" && !C)
|
|
968
1091
|
throw new Error("labelVisibility requires icon when label is not visible.");
|
|
969
|
-
const
|
|
1092
|
+
const E = C && k ? {
|
|
970
1093
|
kind: "element",
|
|
971
1094
|
tag: "span",
|
|
972
1095
|
attrs: { class: "icon-wrapper" },
|
|
973
1096
|
children: [
|
|
974
1097
|
{
|
|
975
1098
|
kind: "raw",
|
|
976
|
-
html:
|
|
1099
|
+
html: Rt({
|
|
977
1100
|
ariaHidden: !0,
|
|
978
|
-
mirrored:
|
|
979
|
-
name:
|
|
1101
|
+
mirrored: s,
|
|
1102
|
+
name: k,
|
|
980
1103
|
size: "fill"
|
|
981
1104
|
})
|
|
982
|
-
}
|
|
1105
|
+
},
|
|
1106
|
+
...n ? [
|
|
1107
|
+
{
|
|
1108
|
+
kind: "raw",
|
|
1109
|
+
html: bt({ size: "fill" })
|
|
1110
|
+
}
|
|
1111
|
+
] : []
|
|
983
1112
|
]
|
|
984
|
-
} : null,
|
|
1113
|
+
} : null, S = {
|
|
985
1114
|
kind: "element",
|
|
986
1115
|
tag: "span",
|
|
987
1116
|
attrs: { class: "label" },
|
|
988
|
-
children: [{ kind: "text", value:
|
|
989
|
-
}
|
|
1117
|
+
children: [{ kind: "text", value: h }]
|
|
1118
|
+
}, I = n ? {
|
|
1119
|
+
kind: "element",
|
|
1120
|
+
tag: "span",
|
|
1121
|
+
attrs: { class: "status" },
|
|
1122
|
+
children: [{ kind: "text", value: ", busy" }]
|
|
1123
|
+
} : null, T = n && !C ? {
|
|
1124
|
+
kind: "element",
|
|
1125
|
+
tag: "span",
|
|
1126
|
+
attrs: { class: "spinner-overlay" },
|
|
1127
|
+
children: [
|
|
1128
|
+
{
|
|
1129
|
+
kind: "raw",
|
|
1130
|
+
html: bt({ size: Ut[f] })
|
|
1131
|
+
}
|
|
1132
|
+
]
|
|
1133
|
+
} : null, V = E ? c === "end" ? [S, E] : [E, S] : T ? [T, S] : [S], M = I ? [...V, I] : V;
|
|
990
1134
|
return {
|
|
991
1135
|
kind: "element",
|
|
992
1136
|
tag: "button",
|
|
993
1137
|
attrs: {
|
|
994
|
-
"aria-controls":
|
|
995
|
-
"aria-
|
|
996
|
-
"aria-
|
|
1138
|
+
"aria-controls": a && i || void 0,
|
|
1139
|
+
"aria-disabled": n === "busy" ? "true" : void 0,
|
|
1140
|
+
"aria-expanded": a ? "false" : void 0,
|
|
1141
|
+
"aria-haspopup": d || void 0,
|
|
997
1142
|
class: "set-button",
|
|
998
|
-
"data-
|
|
999
|
-
"data-
|
|
1000
|
-
"data-
|
|
1001
|
-
"data-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1143
|
+
"data-activity": n || void 0,
|
|
1144
|
+
"data-appearance": e,
|
|
1145
|
+
"data-label-visibility": b === "visible" ? void 0 : b,
|
|
1146
|
+
"data-size": f,
|
|
1147
|
+
"data-tone": z === "neutral" ? "neutral" : void 0,
|
|
1148
|
+
disabled: !!r,
|
|
1149
|
+
form: o || void 0,
|
|
1150
|
+
id: l || void 0,
|
|
1151
|
+
name: w || void 0,
|
|
1152
|
+
type: q || "button",
|
|
1153
|
+
value: x || void 0
|
|
1154
|
+
},
|
|
1155
|
+
children: M
|
|
1010
1156
|
};
|
|
1011
1157
|
}
|
|
1012
1158
|
function mt(t) {
|
|
1013
1159
|
return m(ht(t));
|
|
1014
1160
|
}
|
|
1015
|
-
const
|
|
1161
|
+
const hi = {
|
|
1016
1162
|
name: "button",
|
|
1017
1163
|
description: "Use `button` to let users trigger actions.",
|
|
1018
1164
|
output: { element: "button", class: "set-button" },
|
|
1019
1165
|
content: { kind: "text", prop: "label" },
|
|
1020
1166
|
props: {
|
|
1167
|
+
activity: {
|
|
1168
|
+
description: 'Opts into the activity indicator and sets its state. `idle` primes it — the spinner and a hidden ", busy" status are rendered but not shown; `busy` reveals the spinner and appends ", busy" to the accessible name. The button stays visually at rest (`aria-disabled` is emitted but not styled as disabled), so guarding activation and any live-region announcement are the consumer\'s responsibility.',
|
|
1169
|
+
type: { kind: "enum", values: ["idle", "busy"] }
|
|
1170
|
+
},
|
|
1021
1171
|
appearance: {
|
|
1022
1172
|
default: "outline",
|
|
1023
1173
|
description: "Visual appearance.",
|
|
@@ -1145,6 +1295,18 @@ const pi = {
|
|
|
1145
1295
|
attribute: "disabled",
|
|
1146
1296
|
condition: { kind: "when-truthy", prop: "disabled" }
|
|
1147
1297
|
},
|
|
1298
|
+
{
|
|
1299
|
+
target: { on: "host" },
|
|
1300
|
+
attribute: "aria-disabled",
|
|
1301
|
+
condition: { kind: "when-equals", prop: "activity", to: "busy" },
|
|
1302
|
+
value: { kind: "literal", text: "true" }
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
target: { on: "host" },
|
|
1306
|
+
attribute: "data-activity",
|
|
1307
|
+
condition: { kind: "when-provided", prop: "activity" },
|
|
1308
|
+
value: { kind: "prop", prop: "activity" }
|
|
1309
|
+
},
|
|
1148
1310
|
{
|
|
1149
1311
|
target: { on: "host" },
|
|
1150
1312
|
attribute: "aria-expanded",
|
|
@@ -1195,8 +1357,8 @@ const pi = {
|
|
|
1195
1357
|
}
|
|
1196
1358
|
]
|
|
1197
1359
|
}
|
|
1198
|
-
}, Z = "set-alert",
|
|
1199
|
-
function
|
|
1360
|
+
}, Z = "set-alert", Et = "set-alert-before-dismiss", zt = "set-alert-dismiss", W = "Dismiss alert";
|
|
1361
|
+
function $t(t, n) {
|
|
1200
1362
|
const e = n.createElement("div");
|
|
1201
1363
|
return e.setAttribute("data-part", "close"), e.innerHTML = mt({
|
|
1202
1364
|
appearance: "text",
|
|
@@ -1207,7 +1369,7 @@ function Rt(t, n) {
|
|
|
1207
1369
|
tone: "neutral"
|
|
1208
1370
|
}), e;
|
|
1209
1371
|
}
|
|
1210
|
-
function
|
|
1372
|
+
function Gt(t) {
|
|
1211
1373
|
switch (t) {
|
|
1212
1374
|
case "success":
|
|
1213
1375
|
return "check-circle";
|
|
@@ -1221,10 +1383,10 @@ function Wt(t) {
|
|
|
1221
1383
|
return "sticky-note";
|
|
1222
1384
|
}
|
|
1223
1385
|
}
|
|
1224
|
-
function
|
|
1386
|
+
function Zt(t) {
|
|
1225
1387
|
return t === "warning" || t === "error" ? "alert" : "status";
|
|
1226
1388
|
}
|
|
1227
|
-
function
|
|
1389
|
+
function Ft({
|
|
1228
1390
|
dismissible: t,
|
|
1229
1391
|
dismissibleLabel: n = W,
|
|
1230
1392
|
id: e,
|
|
@@ -1234,13 +1396,13 @@ function $t({
|
|
|
1234
1396
|
tone: o,
|
|
1235
1397
|
title: d
|
|
1236
1398
|
}) {
|
|
1237
|
-
const
|
|
1238
|
-
return d &&
|
|
1399
|
+
const l = v(e), p = n.trim() === "" ? W : n, s = [];
|
|
1400
|
+
return d && s.push({
|
|
1239
1401
|
kind: "element",
|
|
1240
1402
|
tag: "p",
|
|
1241
1403
|
attrs: { class: "title" },
|
|
1242
1404
|
children: [{ kind: "text", value: d }]
|
|
1243
|
-
}),
|
|
1405
|
+
}), s.push({
|
|
1244
1406
|
kind: "element",
|
|
1245
1407
|
tag: "p",
|
|
1246
1408
|
attrs: { class: "message" },
|
|
@@ -1255,8 +1417,8 @@ function $t({
|
|
|
1255
1417
|
"data-inline-size": i === "fit" ? "fit" : void 0,
|
|
1256
1418
|
"data-size": a,
|
|
1257
1419
|
"data-tone": o || void 0,
|
|
1258
|
-
id:
|
|
1259
|
-
role:
|
|
1420
|
+
id: l,
|
|
1421
|
+
role: Zt(o)
|
|
1260
1422
|
},
|
|
1261
1423
|
children: [
|
|
1262
1424
|
{
|
|
@@ -1266,7 +1428,7 @@ function $t({
|
|
|
1266
1428
|
children: [
|
|
1267
1429
|
P({
|
|
1268
1430
|
ariaHidden: !0,
|
|
1269
|
-
name:
|
|
1431
|
+
name: Gt(o),
|
|
1270
1432
|
size: a
|
|
1271
1433
|
})
|
|
1272
1434
|
]
|
|
@@ -1275,29 +1437,29 @@ function $t({
|
|
|
1275
1437
|
kind: "element",
|
|
1276
1438
|
tag: "div",
|
|
1277
1439
|
attrs: { class: "content" },
|
|
1278
|
-
children:
|
|
1440
|
+
children: s
|
|
1279
1441
|
}
|
|
1280
1442
|
]
|
|
1281
1443
|
};
|
|
1282
1444
|
}
|
|
1283
|
-
function
|
|
1284
|
-
return m(
|
|
1445
|
+
function mi(t) {
|
|
1446
|
+
return m(Ft(t));
|
|
1285
1447
|
}
|
|
1286
|
-
function
|
|
1448
|
+
function jt() {
|
|
1287
1449
|
if (customElements.get(Z)) return;
|
|
1288
1450
|
class t extends HTMLElement {
|
|
1289
1451
|
#t = (e) => {
|
|
1290
1452
|
const i = e.target;
|
|
1291
1453
|
if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
|
|
1292
1454
|
const r = new CustomEvent(
|
|
1293
|
-
|
|
1455
|
+
Et,
|
|
1294
1456
|
{
|
|
1295
1457
|
bubbles: !0,
|
|
1296
1458
|
cancelable: !0
|
|
1297
1459
|
}
|
|
1298
1460
|
);
|
|
1299
1461
|
this.dispatchEvent(r) && (this.dispatchEvent(
|
|
1300
|
-
new CustomEvent(
|
|
1462
|
+
new CustomEvent(zt, {
|
|
1301
1463
|
bubbles: !0
|
|
1302
1464
|
})
|
|
1303
1465
|
), this.remove());
|
|
@@ -1310,7 +1472,7 @@ function Gt() {
|
|
|
1310
1472
|
}
|
|
1311
1473
|
#e() {
|
|
1312
1474
|
this.querySelector('[data-part="close"]') || this.append(
|
|
1313
|
-
|
|
1475
|
+
$t(
|
|
1314
1476
|
this.getAttribute("data-dismissible-label") ?? W,
|
|
1315
1477
|
this.ownerDocument
|
|
1316
1478
|
)
|
|
@@ -1319,7 +1481,7 @@ function Gt() {
|
|
|
1319
1481
|
}
|
|
1320
1482
|
customElements.define(Z, t);
|
|
1321
1483
|
}
|
|
1322
|
-
const
|
|
1484
|
+
const ki = {
|
|
1323
1485
|
name: "alert",
|
|
1324
1486
|
description: "Use `alert` to surface short, important messages.",
|
|
1325
1487
|
output: {
|
|
@@ -1374,12 +1536,12 @@ const ui = {
|
|
|
1374
1536
|
}
|
|
1375
1537
|
},
|
|
1376
1538
|
events: {
|
|
1377
|
-
[
|
|
1539
|
+
[Et]: {
|
|
1378
1540
|
bubbles: !0,
|
|
1379
1541
|
cancelable: !0,
|
|
1380
1542
|
description: "Fired before the alert is removed by a dismiss action. Call `preventDefault()` to keep the alert mounted."
|
|
1381
1543
|
},
|
|
1382
|
-
[
|
|
1544
|
+
[zt]: {
|
|
1383
1545
|
bubbles: !0,
|
|
1384
1546
|
description: "Fired after the alert has been removed by an allowed dismiss action."
|
|
1385
1547
|
}
|
|
@@ -1468,11 +1630,11 @@ const ui = {
|
|
|
1468
1630
|
]
|
|
1469
1631
|
}
|
|
1470
1632
|
};
|
|
1471
|
-
function
|
|
1633
|
+
function Kt(t) {
|
|
1472
1634
|
if (t)
|
|
1473
1635
|
return t === !0 ? !0 : t;
|
|
1474
1636
|
}
|
|
1475
|
-
function
|
|
1637
|
+
function Lt(t) {
|
|
1476
1638
|
const {
|
|
1477
1639
|
appearance: n = "text",
|
|
1478
1640
|
current: e,
|
|
@@ -1481,26 +1643,26 @@ function zt(t) {
|
|
|
1481
1643
|
id: a,
|
|
1482
1644
|
icon: o,
|
|
1483
1645
|
iconPlacement: d = "start",
|
|
1484
|
-
label:
|
|
1646
|
+
label: l,
|
|
1485
1647
|
labelVisibility: p = "visible",
|
|
1486
|
-
rel:
|
|
1648
|
+
rel: s,
|
|
1487
1649
|
size: c = "md",
|
|
1488
1650
|
target: h,
|
|
1489
1651
|
tone: b = "default",
|
|
1490
|
-
underline:
|
|
1491
|
-
} = t, f = v(a),
|
|
1492
|
-
if (p !== "visible" && !!!
|
|
1652
|
+
underline: w
|
|
1653
|
+
} = t, f = v(a), z = o?.trim() || void 0;
|
|
1654
|
+
if (p !== "visible" && !!!z)
|
|
1493
1655
|
throw new Error("labelVisibility requires icon when label is not visible.");
|
|
1494
|
-
const
|
|
1656
|
+
const x = Kt(i), k = z ? {
|
|
1495
1657
|
kind: "element",
|
|
1496
1658
|
tag: "span",
|
|
1497
1659
|
attrs: { class: "icon-wrapper" },
|
|
1498
|
-
children: [{ kind: "raw", html:
|
|
1660
|
+
children: [{ kind: "raw", html: z }]
|
|
1499
1661
|
} : null, C = {
|
|
1500
1662
|
kind: "element",
|
|
1501
1663
|
tag: "span",
|
|
1502
1664
|
attrs: { class: "label" },
|
|
1503
|
-
children: [{ kind: "text", value:
|
|
1665
|
+
children: [{ kind: "text", value: l }]
|
|
1504
1666
|
};
|
|
1505
1667
|
return {
|
|
1506
1668
|
kind: "element",
|
|
@@ -1512,20 +1674,20 @@ function zt(t) {
|
|
|
1512
1674
|
"data-label-visibility": p === "visible" ? void 0 : p,
|
|
1513
1675
|
"data-size": c,
|
|
1514
1676
|
"data-tone": b === "neutral" ? "neutral" : void 0,
|
|
1515
|
-
"data-underline":
|
|
1516
|
-
download:
|
|
1677
|
+
"data-underline": w && n === "text" ? !0 : void 0,
|
|
1678
|
+
download: x,
|
|
1517
1679
|
href: r,
|
|
1518
1680
|
id: f,
|
|
1519
|
-
rel:
|
|
1520
|
-
target:
|
|
1681
|
+
rel: x ? void 0 : s || void 0,
|
|
1682
|
+
target: x ? void 0 : h || void 0
|
|
1521
1683
|
},
|
|
1522
1684
|
children: k ? d === "end" ? [C, k] : [k, C] : [C]
|
|
1523
1685
|
};
|
|
1524
1686
|
}
|
|
1525
|
-
function
|
|
1526
|
-
return m(
|
|
1687
|
+
function gi(t) {
|
|
1688
|
+
return m(Lt(t));
|
|
1527
1689
|
}
|
|
1528
|
-
const
|
|
1690
|
+
const bi = {
|
|
1529
1691
|
name: "link",
|
|
1530
1692
|
description: "Use `link` to navigate to another page or resource.",
|
|
1531
1693
|
output: { element: "a", class: "set-link" },
|
|
@@ -1712,8 +1874,8 @@ const mi = {
|
|
|
1712
1874
|
}
|
|
1713
1875
|
]
|
|
1714
1876
|
}
|
|
1715
|
-
}, F = "set-banner",
|
|
1716
|
-
function
|
|
1877
|
+
}, F = "set-banner", Ct = "set-banner-before-dismiss", Mt = "set-banner-dismiss", j = "Dismiss banner";
|
|
1878
|
+
function Xt(t, n) {
|
|
1717
1879
|
const e = n.createElement("div");
|
|
1718
1880
|
return e.setAttribute("data-part", "close"), e.innerHTML = mt({
|
|
1719
1881
|
appearance: "text",
|
|
@@ -1724,7 +1886,7 @@ function Ft(t, n) {
|
|
|
1724
1886
|
tone: "neutral"
|
|
1725
1887
|
}), e;
|
|
1726
1888
|
}
|
|
1727
|
-
function
|
|
1889
|
+
function Qt({
|
|
1728
1890
|
actionHref: t,
|
|
1729
1891
|
actionLabel: n,
|
|
1730
1892
|
dismissible: e = !0,
|
|
@@ -1735,9 +1897,9 @@ function jt({
|
|
|
1735
1897
|
}) {
|
|
1736
1898
|
if (!!t != !!n)
|
|
1737
1899
|
throw new Error("actionHref and actionLabel must be provided together.");
|
|
1738
|
-
const d = v(r),
|
|
1900
|
+
const d = v(r), l = i.trim() === "" ? j : i, p = [{ kind: "text", value: a }];
|
|
1739
1901
|
return t && n && (p.push({ kind: "text", value: " " }), p.push(
|
|
1740
|
-
|
|
1902
|
+
Lt({
|
|
1741
1903
|
href: t,
|
|
1742
1904
|
label: n,
|
|
1743
1905
|
underline: !0
|
|
@@ -1750,7 +1912,7 @@ function jt({
|
|
|
1750
1912
|
"data-set-content-theme": "dark",
|
|
1751
1913
|
"data-set-surface": "default",
|
|
1752
1914
|
"data-dismissible": e,
|
|
1753
|
-
"data-dismissible-label": e ?
|
|
1915
|
+
"data-dismissible-label": e ? l : void 0,
|
|
1754
1916
|
"data-tone": o || void 0,
|
|
1755
1917
|
id: d
|
|
1756
1918
|
},
|
|
@@ -1764,24 +1926,24 @@ function jt({
|
|
|
1764
1926
|
]
|
|
1765
1927
|
};
|
|
1766
1928
|
}
|
|
1767
|
-
function
|
|
1768
|
-
return m(
|
|
1929
|
+
function vi(t) {
|
|
1930
|
+
return m(Qt(t));
|
|
1769
1931
|
}
|
|
1770
|
-
function
|
|
1932
|
+
function Yt() {
|
|
1771
1933
|
if (customElements.get(F)) return;
|
|
1772
1934
|
class t extends HTMLElement {
|
|
1773
1935
|
#t = (e) => {
|
|
1774
1936
|
const i = e.target;
|
|
1775
1937
|
if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
|
|
1776
1938
|
const r = new CustomEvent(
|
|
1777
|
-
|
|
1939
|
+
Ct,
|
|
1778
1940
|
{
|
|
1779
1941
|
bubbles: !0,
|
|
1780
1942
|
cancelable: !0
|
|
1781
1943
|
}
|
|
1782
1944
|
);
|
|
1783
1945
|
this.dispatchEvent(r) && (this.dispatchEvent(
|
|
1784
|
-
new CustomEvent(
|
|
1946
|
+
new CustomEvent(Mt, {
|
|
1785
1947
|
bubbles: !0
|
|
1786
1948
|
})
|
|
1787
1949
|
), this.remove());
|
|
@@ -1794,7 +1956,7 @@ function Kt() {
|
|
|
1794
1956
|
}
|
|
1795
1957
|
#e() {
|
|
1796
1958
|
this.querySelector('[data-part="close"]') || this.append(
|
|
1797
|
-
|
|
1959
|
+
Xt(
|
|
1798
1960
|
this.getAttribute("data-dismissible-label") ?? j,
|
|
1799
1961
|
this.ownerDocument
|
|
1800
1962
|
)
|
|
@@ -1803,7 +1965,7 @@ function Kt() {
|
|
|
1803
1965
|
}
|
|
1804
1966
|
customElements.define(F, t);
|
|
1805
1967
|
}
|
|
1806
|
-
const
|
|
1968
|
+
const fi = {
|
|
1807
1969
|
name: "banner",
|
|
1808
1970
|
description: "Use `banner` to display a prominent site-wide message.",
|
|
1809
1971
|
output: { element: F, class: "set-banner" },
|
|
@@ -1848,12 +2010,12 @@ const gi = {
|
|
|
1848
2010
|
}
|
|
1849
2011
|
},
|
|
1850
2012
|
events: {
|
|
1851
|
-
[
|
|
2013
|
+
[Ct]: {
|
|
1852
2014
|
bubbles: !0,
|
|
1853
2015
|
cancelable: !0,
|
|
1854
2016
|
description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
|
|
1855
2017
|
},
|
|
1856
|
-
[
|
|
2018
|
+
[Mt]: {
|
|
1857
2019
|
bubbles: !0,
|
|
1858
2020
|
description: "Fired after the banner has been removed by an allowed dismiss action."
|
|
1859
2021
|
}
|
|
@@ -1892,7 +2054,7 @@ const gi = {
|
|
|
1892
2054
|
]
|
|
1893
2055
|
}
|
|
1894
2056
|
}, K = "set-image";
|
|
1895
|
-
function
|
|
2057
|
+
function Jt({
|
|
1896
2058
|
adaptive: t,
|
|
1897
2059
|
animated: n,
|
|
1898
2060
|
alt: e = "",
|
|
@@ -1901,49 +2063,49 @@ function Xt({
|
|
|
1901
2063
|
gravity: a = "C",
|
|
1902
2064
|
height: o,
|
|
1903
2065
|
id: d,
|
|
1904
|
-
lazy:
|
|
2066
|
+
lazy: l,
|
|
1905
2067
|
leadSrc: p,
|
|
1906
|
-
priority:
|
|
2068
|
+
priority: s,
|
|
1907
2069
|
radius: c,
|
|
1908
2070
|
shadow: h,
|
|
1909
2071
|
sizes: b,
|
|
1910
|
-
sources:
|
|
2072
|
+
sources: w,
|
|
1911
2073
|
src: f,
|
|
1912
|
-
srcSet:
|
|
2074
|
+
srcSet: z,
|
|
1913
2075
|
still: q,
|
|
1914
|
-
width:
|
|
2076
|
+
width: x
|
|
1915
2077
|
}) {
|
|
1916
|
-
const k = r === "cover", C = v(d),
|
|
1917
|
-
const
|
|
1918
|
-
if (!
|
|
2078
|
+
const k = r === "cover", C = v(d), E = f.trim(), S = z?.trim(), I = p?.trim(), T = q?.trim(), V = b?.trim(), M = w?.map((u, L) => {
|
|
2079
|
+
const A = u.srcSet.trim(), y = u.media?.trim(), g = u.type?.trim(), Ht = u.sizes?.trim(), Nt = u.leadSrc?.trim(), Bt = u.still?.trim();
|
|
2080
|
+
if (!A)
|
|
1919
2081
|
throw new Error(`sources[${L}].srcSet must be non-empty.`);
|
|
1920
2082
|
return {
|
|
1921
2083
|
height: u.height,
|
|
1922
|
-
leadSrc:
|
|
2084
|
+
leadSrc: Nt || void 0,
|
|
1923
2085
|
media: y || void 0,
|
|
1924
|
-
sizes:
|
|
1925
|
-
srcSet:
|
|
1926
|
-
still:
|
|
2086
|
+
sizes: Ht || void 0,
|
|
2087
|
+
srcSet: A,
|
|
2088
|
+
still: Bt || void 0,
|
|
1927
2089
|
type: g || void 0,
|
|
1928
2090
|
width: u.width
|
|
1929
2091
|
};
|
|
1930
2092
|
}) || [];
|
|
1931
|
-
if (!
|
|
2093
|
+
if (!E)
|
|
1932
2094
|
throw new Error("src must be a non-empty string.");
|
|
1933
2095
|
if (t && [
|
|
1934
|
-
|
|
1935
|
-
|
|
2096
|
+
E,
|
|
2097
|
+
S,
|
|
1936
2098
|
...M.map((u) => u.srcSet)
|
|
1937
2099
|
].some((u) => u?.includes("#")))
|
|
1938
2100
|
throw new Error("adaptive sources must not contain URL fragments.");
|
|
1939
|
-
const U = !!(n && t), nt = !!(n &&
|
|
2101
|
+
const U = !!(n && t), nt = !!(n && I), $ = !!I || M.some((u) => u.leadSrc);
|
|
1940
2102
|
if (!n && $)
|
|
1941
2103
|
throw new Error("leadSrc requires animated.");
|
|
1942
2104
|
if (n) {
|
|
1943
2105
|
const u = [
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
2106
|
+
E,
|
|
2107
|
+
S,
|
|
2108
|
+
I,
|
|
1947
2109
|
...M.flatMap((y) => [y.srcSet, y.leadSrc])
|
|
1948
2110
|
].filter((y) => !!y), L = u.filter((y) => y.includes("{scheme}"));
|
|
1949
2111
|
if (t && L.length !== u.length)
|
|
@@ -1954,16 +2116,16 @@ function Xt({
|
|
|
1954
2116
|
throw new Error(
|
|
1955
2117
|
"the {scheme} placeholder requires adaptive to enable light/dark."
|
|
1956
2118
|
);
|
|
1957
|
-
if (!
|
|
2119
|
+
if (!T)
|
|
1958
2120
|
throw new Error("animated requires a still.");
|
|
1959
2121
|
if ([
|
|
1960
|
-
|
|
2122
|
+
T,
|
|
1961
2123
|
...M.map((y) => y.still)
|
|
1962
2124
|
].filter((y) => !!y).some((y) => y.includes("#")))
|
|
1963
2125
|
throw new Error("animated still must not contain URL fragments.");
|
|
1964
2126
|
}
|
|
1965
|
-
const kt = (u, L) => u.split(/,\s+/).map((
|
|
1966
|
-
const [y, ...g] =
|
|
2127
|
+
const kt = (u, L) => u.split(/,\s+/).map((A) => {
|
|
2128
|
+
const [y, ...g] = A.trim().split(/\s+/);
|
|
1967
2129
|
if (!y || g.length > 1)
|
|
1968
2130
|
throw new Error(
|
|
1969
2131
|
"adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
|
|
@@ -1977,19 +2139,19 @@ function Xt({
|
|
|
1977
2139
|
alt: e,
|
|
1978
2140
|
class: "img",
|
|
1979
2141
|
"data-scheme": u && M.length === 0 ? u : void 0,
|
|
1980
|
-
fetchpriority:
|
|
2142
|
+
fetchpriority: s ? "high" : void 0,
|
|
1981
2143
|
height: k ? void 0 : o ? String(o) : void 0,
|
|
1982
|
-
loading:
|
|
1983
|
-
sizes: M.length > 0 ? void 0 :
|
|
1984
|
-
src: u ? `${
|
|
1985
|
-
srcset:
|
|
1986
|
-
width: k ? void 0 :
|
|
2144
|
+
loading: l && !s ? "lazy" : void 0,
|
|
2145
|
+
sizes: M.length > 0 ? void 0 : V || void 0,
|
|
2146
|
+
src: u ? `${E}#${u}` : E,
|
|
2147
|
+
srcset: S && u ? kt(S, u) : S || void 0,
|
|
2148
|
+
width: k ? void 0 : x ? String(x) : void 0
|
|
1987
2149
|
},
|
|
1988
2150
|
children: []
|
|
1989
2151
|
};
|
|
1990
2152
|
if (M.length === 0)
|
|
1991
2153
|
return L;
|
|
1992
|
-
const
|
|
2154
|
+
const A = M.map((y) => ({
|
|
1993
2155
|
kind: "element",
|
|
1994
2156
|
tag: "source",
|
|
1995
2157
|
attrs: {
|
|
@@ -2006,7 +2168,7 @@ function Xt({
|
|
|
2006
2168
|
kind: "element",
|
|
2007
2169
|
tag: "picture",
|
|
2008
2170
|
attrs: { "data-scheme": u },
|
|
2009
|
-
children: [...
|
|
2171
|
+
children: [...A, L]
|
|
2010
2172
|
};
|
|
2011
2173
|
}, at = "(prefers-reduced-motion: reduce)", R = (u, L) => L ? u.replaceAll("{scheme}", L) : u, ot = (u, L) => L ? `${u}#${L}` : u, gt = (u) => {
|
|
2012
2174
|
const L = M.filter((g) => g.still).map((g) => ({
|
|
@@ -2025,11 +2187,11 @@ function Xt({
|
|
|
2025
2187
|
tag: "source",
|
|
2026
2188
|
attrs: {
|
|
2027
2189
|
media: at,
|
|
2028
|
-
srcset: ot(
|
|
2190
|
+
srcset: ot(T, u)
|
|
2029
2191
|
},
|
|
2030
2192
|
children: []
|
|
2031
2193
|
});
|
|
2032
|
-
const
|
|
2194
|
+
const A = M.map((g) => ({
|
|
2033
2195
|
kind: "element",
|
|
2034
2196
|
tag: "source",
|
|
2035
2197
|
attrs: {
|
|
@@ -2047,13 +2209,13 @@ function Xt({
|
|
|
2047
2209
|
attrs: {
|
|
2048
2210
|
alt: e,
|
|
2049
2211
|
class: "img",
|
|
2050
|
-
fetchpriority:
|
|
2212
|
+
fetchpriority: s ? "high" : void 0,
|
|
2051
2213
|
height: k ? void 0 : o ? String(o) : void 0,
|
|
2052
|
-
loading:
|
|
2053
|
-
sizes: M.length > 0 ? void 0 :
|
|
2054
|
-
src: R(
|
|
2055
|
-
srcset:
|
|
2056
|
-
width: k ? void 0 :
|
|
2214
|
+
loading: l && !s ? "lazy" : void 0,
|
|
2215
|
+
sizes: M.length > 0 ? void 0 : V || void 0,
|
|
2216
|
+
src: R(E, u),
|
|
2217
|
+
srcset: S ? R(S, u) : void 0,
|
|
2218
|
+
width: k ? void 0 : x ? String(x) : void 0
|
|
2057
2219
|
},
|
|
2058
2220
|
children: []
|
|
2059
2221
|
};
|
|
@@ -2061,10 +2223,10 @@ function Xt({
|
|
|
2061
2223
|
kind: "element",
|
|
2062
2224
|
tag: "picture",
|
|
2063
2225
|
attrs: { "data-scheme": u },
|
|
2064
|
-
children: [...L, ...
|
|
2226
|
+
children: [...L, ...A, y]
|
|
2065
2227
|
};
|
|
2066
|
-
},
|
|
2067
|
-
const L = "(prefers-reduced-motion: no-preference)",
|
|
2228
|
+
}, Dt = (u) => {
|
|
2229
|
+
const L = "(prefers-reduced-motion: no-preference)", A = M.map((g) => {
|
|
2068
2230
|
if (g.leadSrc)
|
|
2069
2231
|
return {
|
|
2070
2232
|
kind: "element",
|
|
@@ -2080,13 +2242,13 @@ function Xt({
|
|
|
2080
2242
|
children: []
|
|
2081
2243
|
};
|
|
2082
2244
|
}).filter((g) => !!g);
|
|
2083
|
-
|
|
2245
|
+
A.push({
|
|
2084
2246
|
kind: "element",
|
|
2085
2247
|
tag: "source",
|
|
2086
2248
|
attrs: {
|
|
2087
2249
|
media: L,
|
|
2088
|
-
sizes: M.length > 0 ? void 0 :
|
|
2089
|
-
srcset: R(
|
|
2250
|
+
sizes: M.length > 0 ? void 0 : V || void 0,
|
|
2251
|
+
srcset: R(I, u)
|
|
2090
2252
|
},
|
|
2091
2253
|
children: []
|
|
2092
2254
|
});
|
|
@@ -2097,8 +2259,8 @@ function Xt({
|
|
|
2097
2259
|
alt: "",
|
|
2098
2260
|
class: "img",
|
|
2099
2261
|
height: k ? void 0 : o ? String(o) : void 0,
|
|
2100
|
-
src: ot(
|
|
2101
|
-
width: k ? void 0 :
|
|
2262
|
+
src: ot(T, u),
|
|
2263
|
+
width: k ? void 0 : x ? String(x) : void 0
|
|
2102
2264
|
},
|
|
2103
2265
|
children: []
|
|
2104
2266
|
};
|
|
@@ -2106,10 +2268,10 @@ function Xt({
|
|
|
2106
2268
|
kind: "element",
|
|
2107
2269
|
tag: "picture",
|
|
2108
2270
|
attrs: { "data-scheme": u, "data-layer": "lead" },
|
|
2109
|
-
children: [...
|
|
2271
|
+
children: [...A, y]
|
|
2110
2272
|
};
|
|
2111
|
-
}, dt = (u) => nt ? [gt(u),
|
|
2112
|
-
return o && G.push(`--set-image-block-size: ${o / 16}rem`),
|
|
2273
|
+
}, dt = (u) => nt ? [gt(u), Dt(u)] : [gt(u)], Vt = n ? U ? [...dt("light"), ...dt("dark")] : dt() : t ? [rt("light"), rt("dark")] : [rt()], G = [];
|
|
2274
|
+
return o && G.push(`--set-image-block-size: ${o / 16}rem`), x && G.push(`--set-image-inline-size: ${x / 16}rem`), {
|
|
2113
2275
|
kind: "element",
|
|
2114
2276
|
tag: K,
|
|
2115
2277
|
attrs: {
|
|
@@ -2126,13 +2288,13 @@ function Xt({
|
|
|
2126
2288
|
id: C,
|
|
2127
2289
|
style: G.length > 0 ? G.join("; ") : void 0
|
|
2128
2290
|
},
|
|
2129
|
-
children:
|
|
2291
|
+
children: Vt
|
|
2130
2292
|
};
|
|
2131
2293
|
}
|
|
2132
|
-
function
|
|
2133
|
-
return m(
|
|
2294
|
+
function te(t) {
|
|
2295
|
+
return m(Jt(t));
|
|
2134
2296
|
}
|
|
2135
|
-
function
|
|
2297
|
+
function ee() {
|
|
2136
2298
|
if (customElements.get(K)) return;
|
|
2137
2299
|
const t = "(prefers-reduced-motion: reduce)";
|
|
2138
2300
|
class n extends HTMLElement {
|
|
@@ -2155,7 +2317,7 @@ function Yt() {
|
|
|
2155
2317
|
}
|
|
2156
2318
|
customElements.define(K, n);
|
|
2157
2319
|
}
|
|
2158
|
-
const
|
|
2320
|
+
const yi = {
|
|
2159
2321
|
name: "image",
|
|
2160
2322
|
description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
|
|
2161
2323
|
output: { element: K, class: "set-image" },
|
|
@@ -2384,14 +2546,14 @@ const bi = {
|
|
|
2384
2546
|
}
|
|
2385
2547
|
]
|
|
2386
2548
|
}
|
|
2387
|
-
}, X = "set-lightswitch",
|
|
2388
|
-
function
|
|
2549
|
+
}, X = "set-lightswitch", qt = "set-lightswitch-change", st = "set-theme", lt = "Switch to dark theme", pt = "Switch to light theme";
|
|
2550
|
+
function ie(t) {
|
|
2389
2551
|
return t === "dark" ? "light" : "dark";
|
|
2390
2552
|
}
|
|
2391
|
-
function
|
|
2553
|
+
function ne(t) {
|
|
2392
2554
|
return t === "dark" ? "moon" : "sunny";
|
|
2393
2555
|
}
|
|
2394
|
-
function
|
|
2556
|
+
function vt(t, n) {
|
|
2395
2557
|
return {
|
|
2396
2558
|
kind: "element",
|
|
2397
2559
|
tag: "span",
|
|
@@ -2404,7 +2566,7 @@ function bt(t, n) {
|
|
|
2404
2566
|
children: [
|
|
2405
2567
|
P({
|
|
2406
2568
|
ariaHidden: !0,
|
|
2407
|
-
name:
|
|
2569
|
+
name: ne(t),
|
|
2408
2570
|
size: "fill"
|
|
2409
2571
|
})
|
|
2410
2572
|
]
|
|
@@ -2418,7 +2580,7 @@ function bt(t, n) {
|
|
|
2418
2580
|
]
|
|
2419
2581
|
};
|
|
2420
2582
|
}
|
|
2421
|
-
function
|
|
2583
|
+
function re({
|
|
2422
2584
|
appearance: t = "text",
|
|
2423
2585
|
id: n,
|
|
2424
2586
|
labelDark: e = lt,
|
|
@@ -2444,25 +2606,25 @@ function ee({
|
|
|
2444
2606
|
type: "button"
|
|
2445
2607
|
},
|
|
2446
2608
|
children: [
|
|
2447
|
-
|
|
2448
|
-
|
|
2609
|
+
vt("dark", o),
|
|
2610
|
+
vt("light", d)
|
|
2449
2611
|
]
|
|
2450
2612
|
}
|
|
2451
2613
|
]
|
|
2452
2614
|
};
|
|
2453
2615
|
}
|
|
2454
|
-
function
|
|
2455
|
-
return m(
|
|
2616
|
+
function wi(t) {
|
|
2617
|
+
return m(re(t));
|
|
2456
2618
|
}
|
|
2457
|
-
function
|
|
2619
|
+
function ae() {
|
|
2458
2620
|
if (customElements.get(X)) return;
|
|
2459
2621
|
class t extends HTMLElement {
|
|
2460
2622
|
#t = (e) => {
|
|
2461
2623
|
const i = e.target;
|
|
2462
2624
|
if (!(i instanceof Element) || !i.closest("button")) return;
|
|
2463
|
-
const r =
|
|
2625
|
+
const r = ie(this.#u());
|
|
2464
2626
|
r === this.#r() ? this.#d() : this.#n(r), this.#a(), this.dispatchEvent(
|
|
2465
|
-
new CustomEvent(
|
|
2627
|
+
new CustomEvent(qt, {
|
|
2466
2628
|
bubbles: !0,
|
|
2467
2629
|
detail: { stored: !!this.#i(), theme: r }
|
|
2468
2630
|
})
|
|
@@ -2524,7 +2686,7 @@ function ie() {
|
|
|
2524
2686
|
}
|
|
2525
2687
|
customElements.define(X, t);
|
|
2526
2688
|
}
|
|
2527
|
-
const
|
|
2689
|
+
const Si = {
|
|
2528
2690
|
name: "lightswitch",
|
|
2529
2691
|
description: "Use `lightswitch` to let users toggle between light and dark themes.",
|
|
2530
2692
|
output: { element: X, class: "set-lightswitch" },
|
|
@@ -2556,7 +2718,7 @@ const fi = {
|
|
|
2556
2718
|
}
|
|
2557
2719
|
},
|
|
2558
2720
|
events: {
|
|
2559
|
-
[
|
|
2721
|
+
[qt]: {
|
|
2560
2722
|
bubbles: !0,
|
|
2561
2723
|
description: "Fired after activation applies a theme. `detail.theme` is the theme switched to; `detail.stored` is false when the change cleared the override to follow the system preference again."
|
|
2562
2724
|
}
|
|
@@ -2595,38 +2757,39 @@ const fi = {
|
|
|
2595
2757
|
}
|
|
2596
2758
|
]
|
|
2597
2759
|
}
|
|
2598
|
-
}, Q = "set-menu",
|
|
2599
|
-
function
|
|
2760
|
+
}, Q = "set-menu", It = "set-menu-choose";
|
|
2761
|
+
function oe({
|
|
2600
2762
|
align: t = "start",
|
|
2601
2763
|
id: n,
|
|
2602
2764
|
items: e,
|
|
2603
2765
|
size: i = "md",
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2766
|
+
triggerActivity: r,
|
|
2767
|
+
triggerIcon: a,
|
|
2768
|
+
triggerIconMirrored: o,
|
|
2769
|
+
triggerIconPlacement: d,
|
|
2770
|
+
triggerLabel: l,
|
|
2771
|
+
triggerLabelVisibility: p
|
|
2609
2772
|
}) {
|
|
2610
|
-
const
|
|
2611
|
-
if (!
|
|
2773
|
+
const s = n.trim();
|
|
2774
|
+
if (!s)
|
|
2612
2775
|
throw new Error("id must be a non-empty string.");
|
|
2613
|
-
if (!
|
|
2776
|
+
if (!H(s))
|
|
2614
2777
|
throw new Error(
|
|
2615
2778
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
2616
2779
|
);
|
|
2617
2780
|
if (!Array.isArray(e))
|
|
2618
2781
|
throw new Error("items must be an array.");
|
|
2619
|
-
const
|
|
2782
|
+
const c = `${s}-button`, h = `${s}-popup`, b = e.map((w) => ({
|
|
2620
2783
|
kind: "element",
|
|
2621
2784
|
tag: "button",
|
|
2622
2785
|
attrs: {
|
|
2623
|
-
"aria-disabled":
|
|
2624
|
-
"data-item-id":
|
|
2786
|
+
"aria-disabled": w.disabled ? "true" : void 0,
|
|
2787
|
+
"data-item-id": w.id || void 0,
|
|
2625
2788
|
role: "menuitem",
|
|
2626
2789
|
tabindex: "-1",
|
|
2627
2790
|
type: "button"
|
|
2628
2791
|
},
|
|
2629
|
-
children: [{ kind: "text", value:
|
|
2792
|
+
children: [{ kind: "text", value: w.label }]
|
|
2630
2793
|
}));
|
|
2631
2794
|
return {
|
|
2632
2795
|
kind: "element",
|
|
@@ -2635,7 +2798,7 @@ function ne({
|
|
|
2635
2798
|
class: "set-menu",
|
|
2636
2799
|
"data-align": t === "start" ? void 0 : t,
|
|
2637
2800
|
"data-size": i,
|
|
2638
|
-
id:
|
|
2801
|
+
id: s
|
|
2639
2802
|
},
|
|
2640
2803
|
children: [
|
|
2641
2804
|
{
|
|
@@ -2644,16 +2807,17 @@ function ne({
|
|
|
2644
2807
|
attrs: { "data-part": "trigger" },
|
|
2645
2808
|
children: [
|
|
2646
2809
|
ht({
|
|
2810
|
+
activity: r,
|
|
2647
2811
|
appearance: "outline",
|
|
2648
|
-
controls:
|
|
2812
|
+
controls: h,
|
|
2649
2813
|
disclosure: !0,
|
|
2650
2814
|
haspopup: "menu",
|
|
2651
|
-
icon:
|
|
2652
|
-
iconMirrored:
|
|
2653
|
-
iconPlacement:
|
|
2654
|
-
id:
|
|
2655
|
-
label:
|
|
2656
|
-
labelVisibility:
|
|
2815
|
+
icon: a,
|
|
2816
|
+
iconMirrored: o,
|
|
2817
|
+
iconPlacement: d,
|
|
2818
|
+
id: c,
|
|
2819
|
+
label: l,
|
|
2820
|
+
labelVisibility: p,
|
|
2657
2821
|
size: i,
|
|
2658
2822
|
tone: "neutral",
|
|
2659
2823
|
type: "button"
|
|
@@ -2664,21 +2828,21 @@ function ne({
|
|
|
2664
2828
|
kind: "element",
|
|
2665
2829
|
tag: "div",
|
|
2666
2830
|
attrs: {
|
|
2667
|
-
"aria-labelledby":
|
|
2831
|
+
"aria-labelledby": c,
|
|
2668
2832
|
class: "popup",
|
|
2669
2833
|
hidden: !0,
|
|
2670
|
-
id:
|
|
2834
|
+
id: h,
|
|
2671
2835
|
role: "menu"
|
|
2672
2836
|
},
|
|
2673
|
-
children:
|
|
2837
|
+
children: b
|
|
2674
2838
|
}
|
|
2675
2839
|
]
|
|
2676
2840
|
};
|
|
2677
2841
|
}
|
|
2678
|
-
function
|
|
2679
|
-
return m(
|
|
2842
|
+
function xi(t) {
|
|
2843
|
+
return m(oe(t));
|
|
2680
2844
|
}
|
|
2681
|
-
function
|
|
2845
|
+
function de() {
|
|
2682
2846
|
if (customElements.get(Q)) return;
|
|
2683
2847
|
class t extends HTMLElement {
|
|
2684
2848
|
#t;
|
|
@@ -2729,7 +2893,7 @@ function re() {
|
|
|
2729
2893
|
this.querySelectorAll('[role="menuitem"]')
|
|
2730
2894
|
).indexOf(e);
|
|
2731
2895
|
this.dispatchEvent(
|
|
2732
|
-
new CustomEvent(
|
|
2896
|
+
new CustomEvent(It, {
|
|
2733
2897
|
bubbles: !0,
|
|
2734
2898
|
detail: {
|
|
2735
2899
|
id: e.getAttribute("data-item-id") || void 0,
|
|
@@ -2793,7 +2957,7 @@ function re() {
|
|
|
2793
2957
|
}
|
|
2794
2958
|
customElements.define(Q, t);
|
|
2795
2959
|
}
|
|
2796
|
-
const
|
|
2960
|
+
const Ei = {
|
|
2797
2961
|
name: "menu",
|
|
2798
2962
|
description: "Use `menu` to show a list of actions from a trigger button.",
|
|
2799
2963
|
output: {
|
|
@@ -2843,6 +3007,10 @@ const wi = {
|
|
|
2843
3007
|
description: "Size variant.",
|
|
2844
3008
|
type: { kind: "enum", values: ["sm", "md"] }
|
|
2845
3009
|
},
|
|
3010
|
+
triggerActivity: {
|
|
3011
|
+
description: "Activity-indicator state for the trigger button.",
|
|
3012
|
+
type: { kind: "enum", values: ["idle", "busy"] }
|
|
3013
|
+
},
|
|
2846
3014
|
triggerIcon: {
|
|
2847
3015
|
description: "Icon name for the trigger button.",
|
|
2848
3016
|
type: { kind: "iconName" }
|
|
@@ -2871,7 +3039,7 @@ const wi = {
|
|
|
2871
3039
|
}
|
|
2872
3040
|
},
|
|
2873
3041
|
events: {
|
|
2874
|
-
[
|
|
3042
|
+
[It]: {
|
|
2875
3043
|
bubbles: !0,
|
|
2876
3044
|
description: "Fired when a menu item is activated.",
|
|
2877
3045
|
detail: "{ id?: string; index: number; label: string }"
|
|
@@ -2932,7 +3100,7 @@ const wi = {
|
|
|
2932
3100
|
]
|
|
2933
3101
|
}
|
|
2934
3102
|
}, ct = "Menu";
|
|
2935
|
-
function
|
|
3103
|
+
function se({
|
|
2936
3104
|
controlsId: t,
|
|
2937
3105
|
expanded: n,
|
|
2938
3106
|
id: e,
|
|
@@ -2974,10 +3142,10 @@ function ae({
|
|
|
2974
3142
|
]
|
|
2975
3143
|
};
|
|
2976
3144
|
}
|
|
2977
|
-
function
|
|
2978
|
-
return m(
|
|
3145
|
+
function le(t = {}) {
|
|
3146
|
+
return m(se(t));
|
|
2979
3147
|
}
|
|
2980
|
-
const
|
|
3148
|
+
const zi = {
|
|
2981
3149
|
name: "expander",
|
|
2982
3150
|
description: "Use `expander` as a toggle for disclosure regions such as menus.",
|
|
2983
3151
|
output: { element: "button", class: "set-expander" },
|
|
@@ -3042,8 +3210,8 @@ const Si = {
|
|
|
3042
3210
|
}
|
|
3043
3211
|
]
|
|
3044
3212
|
}
|
|
3045
|
-
}, Y = "set-nav",
|
|
3046
|
-
function
|
|
3213
|
+
}, Y = "set-nav", ft = "data-set-scroll-locked";
|
|
3214
|
+
function pe({
|
|
3047
3215
|
collapsible: t,
|
|
3048
3216
|
contentId: n,
|
|
3049
3217
|
expanderLabel: e,
|
|
@@ -3053,12 +3221,12 @@ function de({
|
|
|
3053
3221
|
label: o,
|
|
3054
3222
|
size: d = "md"
|
|
3055
3223
|
}) {
|
|
3056
|
-
const
|
|
3057
|
-
if (t && !
|
|
3224
|
+
const l = v(r), p = e?.trim() || void 0, s = n?.trim();
|
|
3225
|
+
if (t && !s)
|
|
3058
3226
|
throw new Error(
|
|
3059
3227
|
"contentId must be a non-empty string when collapsible is set."
|
|
3060
3228
|
);
|
|
3061
|
-
if (
|
|
3229
|
+
if (s && !H(s))
|
|
3062
3230
|
throw new Error(
|
|
3063
3231
|
"contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
3064
3232
|
);
|
|
@@ -3088,7 +3256,7 @@ function de({
|
|
|
3088
3256
|
"data-expander-label": t && p ? p : void 0,
|
|
3089
3257
|
"data-expander-position": t ? i : void 0,
|
|
3090
3258
|
"data-size": d,
|
|
3091
|
-
id:
|
|
3259
|
+
id: l
|
|
3092
3260
|
},
|
|
3093
3261
|
children: [
|
|
3094
3262
|
{
|
|
@@ -3104,7 +3272,7 @@ function de({
|
|
|
3104
3272
|
tag: "div",
|
|
3105
3273
|
attrs: {
|
|
3106
3274
|
class: "content",
|
|
3107
|
-
id:
|
|
3275
|
+
id: s
|
|
3108
3276
|
},
|
|
3109
3277
|
children: [
|
|
3110
3278
|
{
|
|
@@ -3120,10 +3288,10 @@ function de({
|
|
|
3120
3288
|
]
|
|
3121
3289
|
};
|
|
3122
3290
|
}
|
|
3123
|
-
function
|
|
3124
|
-
return m(
|
|
3291
|
+
function Li(t) {
|
|
3292
|
+
return m(pe(t));
|
|
3125
3293
|
}
|
|
3126
|
-
function
|
|
3294
|
+
function ce() {
|
|
3127
3295
|
if (customElements.get(Y)) return;
|
|
3128
3296
|
class t extends HTMLElement {
|
|
3129
3297
|
#t;
|
|
@@ -3150,7 +3318,7 @@ function se() {
|
|
|
3150
3318
|
const i = e.querySelector(".content");
|
|
3151
3319
|
i && e.insertAdjacentHTML(
|
|
3152
3320
|
"afterbegin",
|
|
3153
|
-
`<div data-part="expander">${
|
|
3321
|
+
`<div data-part="expander">${le({
|
|
3154
3322
|
controlsId: i.id || void 0,
|
|
3155
3323
|
label: this.getAttribute("data-expander-label") || void 0,
|
|
3156
3324
|
size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
|
|
@@ -3183,10 +3351,10 @@ function se() {
|
|
|
3183
3351
|
const i = this.ownerDocument.documentElement;
|
|
3184
3352
|
if (i) {
|
|
3185
3353
|
if (e) {
|
|
3186
|
-
i.setAttribute(
|
|
3354
|
+
i.setAttribute(ft, "");
|
|
3187
3355
|
return;
|
|
3188
3356
|
}
|
|
3189
|
-
i.removeAttribute(
|
|
3357
|
+
i.removeAttribute(ft);
|
|
3190
3358
|
}
|
|
3191
3359
|
}
|
|
3192
3360
|
#o() {
|
|
@@ -3202,7 +3370,7 @@ function se() {
|
|
|
3202
3370
|
}
|
|
3203
3371
|
customElements.define(Y, t);
|
|
3204
3372
|
}
|
|
3205
|
-
const
|
|
3373
|
+
const Ci = {
|
|
3206
3374
|
name: "nav",
|
|
3207
3375
|
description: "Use `nav` to render a primary navigation list.",
|
|
3208
3376
|
output: { element: Y, class: "set-nav" },
|
|
@@ -3318,7 +3486,7 @@ const Ei = {
|
|
|
3318
3486
|
]
|
|
3319
3487
|
}
|
|
3320
3488
|
}, J = "set-range";
|
|
3321
|
-
function
|
|
3489
|
+
function ue({
|
|
3322
3490
|
description: t,
|
|
3323
3491
|
disabled: n,
|
|
3324
3492
|
id: e,
|
|
@@ -3327,18 +3495,18 @@ function le({
|
|
|
3327
3495
|
max: a,
|
|
3328
3496
|
min: o,
|
|
3329
3497
|
name: d,
|
|
3330
|
-
size:
|
|
3498
|
+
size: l = "md",
|
|
3331
3499
|
step: p,
|
|
3332
|
-
value:
|
|
3500
|
+
value: s
|
|
3333
3501
|
}) {
|
|
3334
3502
|
const c = e.trim(), h = t?.trim(), b = d?.trim();
|
|
3335
3503
|
if (!c)
|
|
3336
3504
|
throw new Error("id must be a non-empty string.");
|
|
3337
|
-
if (!
|
|
3505
|
+
if (!H(c))
|
|
3338
3506
|
throw new Error(
|
|
3339
3507
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
3340
3508
|
);
|
|
3341
|
-
const
|
|
3509
|
+
const w = h ? `${c}-description` : void 0, f = [
|
|
3342
3510
|
{
|
|
3343
3511
|
kind: "element",
|
|
3344
3512
|
tag: "div",
|
|
@@ -3354,7 +3522,7 @@ function le({
|
|
|
3354
3522
|
kind: "element",
|
|
3355
3523
|
tag: "output",
|
|
3356
3524
|
attrs: { class: "output", for: c },
|
|
3357
|
-
children:
|
|
3525
|
+
children: s != null ? [{ kind: "text", value: String(s) }] : []
|
|
3358
3526
|
}
|
|
3359
3527
|
]
|
|
3360
3528
|
},
|
|
@@ -3362,7 +3530,7 @@ function le({
|
|
|
3362
3530
|
kind: "element",
|
|
3363
3531
|
tag: "input",
|
|
3364
3532
|
attrs: {
|
|
3365
|
-
"aria-describedby":
|
|
3533
|
+
"aria-describedby": w,
|
|
3366
3534
|
class: "range",
|
|
3367
3535
|
disabled: !!n,
|
|
3368
3536
|
id: c,
|
|
@@ -3371,7 +3539,7 @@ function le({
|
|
|
3371
3539
|
name: b || void 0,
|
|
3372
3540
|
step: p != null ? String(p) : void 0,
|
|
3373
3541
|
type: "range",
|
|
3374
|
-
value:
|
|
3542
|
+
value: s != null ? String(s) : void 0
|
|
3375
3543
|
},
|
|
3376
3544
|
children: []
|
|
3377
3545
|
}
|
|
@@ -3379,7 +3547,7 @@ function le({
|
|
|
3379
3547
|
return h && f.push({
|
|
3380
3548
|
kind: "element",
|
|
3381
3549
|
tag: "p",
|
|
3382
|
-
attrs: { class: "description", id:
|
|
3550
|
+
attrs: { class: "description", id: w },
|
|
3383
3551
|
children: [{ kind: "text", value: h }]
|
|
3384
3552
|
}), {
|
|
3385
3553
|
kind: "element",
|
|
@@ -3387,15 +3555,15 @@ function le({
|
|
|
3387
3555
|
attrs: {
|
|
3388
3556
|
class: "set-range",
|
|
3389
3557
|
"data-inline-size": i === "fit" ? "fit" : void 0,
|
|
3390
|
-
"data-size":
|
|
3558
|
+
"data-size": l
|
|
3391
3559
|
},
|
|
3392
3560
|
children: f
|
|
3393
3561
|
};
|
|
3394
3562
|
}
|
|
3395
|
-
function
|
|
3396
|
-
return m(
|
|
3563
|
+
function Mi(t) {
|
|
3564
|
+
return m(ue(t));
|
|
3397
3565
|
}
|
|
3398
|
-
function
|
|
3566
|
+
function he() {
|
|
3399
3567
|
if (customElements.get(J)) return;
|
|
3400
3568
|
class t extends HTMLElement {
|
|
3401
3569
|
#t;
|
|
@@ -3452,7 +3620,7 @@ function pe() {
|
|
|
3452
3620
|
}
|
|
3453
3621
|
customElements.define(J, t);
|
|
3454
3622
|
}
|
|
3455
|
-
const
|
|
3623
|
+
const qi = {
|
|
3456
3624
|
name: "range",
|
|
3457
3625
|
description: "Use `range` to let users pick a numeric value along a scale.",
|
|
3458
3626
|
output: { element: J, class: "set-range" },
|
|
@@ -3584,8 +3752,8 @@ const Li = {
|
|
|
3584
3752
|
}
|
|
3585
3753
|
]
|
|
3586
3754
|
}
|
|
3587
|
-
}, tt = "set-sidebar",
|
|
3588
|
-
function
|
|
3755
|
+
}, tt = "set-sidebar", me = "(min-width: 68em)", B = "Collapse sidebar", ut = "Open sidebar";
|
|
3756
|
+
function ke(t, n) {
|
|
3589
3757
|
return `<div data-part="close">${mt({
|
|
3590
3758
|
appearance: "text",
|
|
3591
3759
|
icon: "panel-left",
|
|
@@ -3597,7 +3765,7 @@ function ue(t, n) {
|
|
|
3597
3765
|
type: "button"
|
|
3598
3766
|
})}</div>`;
|
|
3599
3767
|
}
|
|
3600
|
-
function
|
|
3768
|
+
function ge({
|
|
3601
3769
|
aboveNotebook: t = "persistent",
|
|
3602
3770
|
buttonSize: n = "md",
|
|
3603
3771
|
children: e,
|
|
@@ -3606,12 +3774,12 @@ function he({
|
|
|
3606
3774
|
header: a,
|
|
3607
3775
|
id: o,
|
|
3608
3776
|
surface: d,
|
|
3609
|
-
triggerLabel:
|
|
3777
|
+
triggerLabel: l = ut
|
|
3610
3778
|
}) {
|
|
3611
|
-
const p = o.trim(),
|
|
3779
|
+
const p = o.trim(), s = i.trim() || B, c = l.trim() || ut;
|
|
3612
3780
|
if (!p)
|
|
3613
3781
|
throw new Error("id must be a non-empty string.");
|
|
3614
|
-
if (!
|
|
3782
|
+
if (!H(p))
|
|
3615
3783
|
throw new Error(
|
|
3616
3784
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
3617
3785
|
);
|
|
@@ -3642,7 +3810,7 @@ function he({
|
|
|
3642
3810
|
attrs: {
|
|
3643
3811
|
class: "set-sidebar",
|
|
3644
3812
|
"data-above-notebook": t,
|
|
3645
|
-
"data-collapse-label":
|
|
3813
|
+
"data-collapse-label": s !== B ? s : void 0,
|
|
3646
3814
|
"data-button-size": n,
|
|
3647
3815
|
id: p
|
|
3648
3816
|
},
|
|
@@ -3686,10 +3854,10 @@ function he({
|
|
|
3686
3854
|
]
|
|
3687
3855
|
};
|
|
3688
3856
|
}
|
|
3689
|
-
function
|
|
3690
|
-
return m(
|
|
3857
|
+
function Ii(t) {
|
|
3858
|
+
return m(ge(t));
|
|
3691
3859
|
}
|
|
3692
|
-
function
|
|
3860
|
+
function be() {
|
|
3693
3861
|
if (customElements.get(tt)) return;
|
|
3694
3862
|
class t extends HTMLElement {
|
|
3695
3863
|
#t;
|
|
@@ -3737,7 +3905,7 @@ function me() {
|
|
|
3737
3905
|
const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || B, a = this.getAttribute("data-button-size") ?? "md";
|
|
3738
3906
|
i?.insertAdjacentHTML(
|
|
3739
3907
|
"beforeend",
|
|
3740
|
-
|
|
3908
|
+
ke(r, a)
|
|
3741
3909
|
);
|
|
3742
3910
|
}
|
|
3743
3911
|
#o() {
|
|
@@ -3812,7 +3980,7 @@ function me() {
|
|
|
3812
3980
|
}
|
|
3813
3981
|
#f() {
|
|
3814
3982
|
const e = this.ownerDocument.defaultView;
|
|
3815
|
-
e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(
|
|
3983
|
+
e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(me), this.#n = () => {
|
|
3816
3984
|
this.#g();
|
|
3817
3985
|
}, this.#t.addEventListener("change", this.#n), this.#g()), this.#e = (i) => {
|
|
3818
3986
|
const r = i.target;
|
|
@@ -3841,7 +4009,7 @@ function me() {
|
|
|
3841
4009
|
}
|
|
3842
4010
|
customElements.define(tt, t);
|
|
3843
4011
|
}
|
|
3844
|
-
const
|
|
4012
|
+
const Ti = {
|
|
3845
4013
|
name: "sidebar",
|
|
3846
4014
|
description: "Use `sidebar` for a side panel alongside main content.",
|
|
3847
4015
|
output: {
|
|
@@ -3966,7 +4134,7 @@ const Mi = {
|
|
|
3966
4134
|
]
|
|
3967
4135
|
}
|
|
3968
4136
|
}, et = "set-video";
|
|
3969
|
-
function
|
|
4137
|
+
function ve({
|
|
3970
4138
|
autoPlay: t,
|
|
3971
4139
|
controls: n,
|
|
3972
4140
|
fit: e = "intrinsic",
|
|
@@ -3975,12 +4143,12 @@ function ke({
|
|
|
3975
4143
|
loop: a,
|
|
3976
4144
|
muted: o,
|
|
3977
4145
|
playsInline: d,
|
|
3978
|
-
poster:
|
|
4146
|
+
poster: l,
|
|
3979
4147
|
preload: p,
|
|
3980
|
-
src:
|
|
4148
|
+
src: s,
|
|
3981
4149
|
width: c
|
|
3982
4150
|
}) {
|
|
3983
|
-
const h = v(r), b =
|
|
4151
|
+
const h = v(r), b = s.trim(), w = l?.trim();
|
|
3984
4152
|
if (!b)
|
|
3985
4153
|
throw new Error("src must be a non-empty string.");
|
|
3986
4154
|
const f = {
|
|
@@ -3994,7 +4162,7 @@ function ke({
|
|
|
3994
4162
|
loop: !!a,
|
|
3995
4163
|
muted: !!o,
|
|
3996
4164
|
playsinline: !!d,
|
|
3997
|
-
poster:
|
|
4165
|
+
poster: w || void 0,
|
|
3998
4166
|
preload: p,
|
|
3999
4167
|
src: b,
|
|
4000
4168
|
width: c ? String(c) : void 0
|
|
@@ -4012,11 +4180,11 @@ function ke({
|
|
|
4012
4180
|
children: [f]
|
|
4013
4181
|
};
|
|
4014
4182
|
}
|
|
4015
|
-
function
|
|
4016
|
-
return m(
|
|
4183
|
+
function Ai(t) {
|
|
4184
|
+
return m(ve(t));
|
|
4017
4185
|
}
|
|
4018
|
-
const
|
|
4019
|
-
function
|
|
4186
|
+
const fe = "(prefers-reduced-motion: reduce)";
|
|
4187
|
+
function ye() {
|
|
4020
4188
|
if (customElements.get(et)) return;
|
|
4021
4189
|
class t extends HTMLElement {
|
|
4022
4190
|
#t = !1;
|
|
@@ -4026,7 +4194,7 @@ function be() {
|
|
|
4026
4194
|
const e = this.querySelector("video");
|
|
4027
4195
|
if (!e || (this.#t ||= e.hasAttribute("autoplay"), !this.#t)) return;
|
|
4028
4196
|
const i = this.ownerDocument.defaultView;
|
|
4029
|
-
!i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(
|
|
4197
|
+
!i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(fe), this.#i = () => {
|
|
4030
4198
|
this.#n();
|
|
4031
4199
|
}, this.#e.addEventListener("change", this.#i), this.#n());
|
|
4032
4200
|
}
|
|
@@ -4041,7 +4209,7 @@ function be() {
|
|
|
4041
4209
|
}
|
|
4042
4210
|
customElements.define(et, t);
|
|
4043
4211
|
}
|
|
4044
|
-
const
|
|
4212
|
+
const _i = {
|
|
4045
4213
|
name: "video",
|
|
4046
4214
|
description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
|
|
4047
4215
|
output: { element: et, class: "set-video" },
|
|
@@ -4169,54 +4337,54 @@ const Ii = {
|
|
|
4169
4337
|
]
|
|
4170
4338
|
}
|
|
4171
4339
|
};
|
|
4172
|
-
function
|
|
4340
|
+
function we(t) {
|
|
4173
4341
|
return t ? /[A-Za-z]/.test(t) : !1;
|
|
4174
4342
|
}
|
|
4175
|
-
function
|
|
4343
|
+
function Se(t) {
|
|
4176
4344
|
return /^[a-z]/.test(t);
|
|
4177
4345
|
}
|
|
4178
|
-
function
|
|
4346
|
+
function N(t) {
|
|
4179
4347
|
const n = t.charAt(0);
|
|
4180
|
-
return
|
|
4348
|
+
return we(n) ? n : void 0;
|
|
4181
4349
|
}
|
|
4182
|
-
function
|
|
4350
|
+
function xe(t) {
|
|
4183
4351
|
const n = O(t);
|
|
4184
4352
|
if (!n) return;
|
|
4185
|
-
const e = n.split(" "), i =
|
|
4353
|
+
const e = n.split(" "), i = N(e[0]);
|
|
4186
4354
|
if (!i) return;
|
|
4187
4355
|
const r = [i.toUpperCase()];
|
|
4188
4356
|
if (e.length === 1)
|
|
4189
4357
|
return r[0];
|
|
4190
|
-
const a = e.slice(1).find(
|
|
4358
|
+
const a = e.slice(1).find(Se);
|
|
4191
4359
|
if (a) {
|
|
4192
|
-
const d =
|
|
4360
|
+
const d = N(a);
|
|
4193
4361
|
return d ? `${r[0]}${d}` : void 0;
|
|
4194
4362
|
}
|
|
4195
4363
|
if (e.length === 2) {
|
|
4196
|
-
const d =
|
|
4364
|
+
const d = N(e[1]);
|
|
4197
4365
|
if (!d) return;
|
|
4198
4366
|
r.push(d);
|
|
4199
|
-
const
|
|
4200
|
-
if (
|
|
4201
|
-
const p =
|
|
4367
|
+
const l = e[1].split("-").filter(Boolean);
|
|
4368
|
+
if (l.length === 2) {
|
|
4369
|
+
const p = N(l[1]);
|
|
4202
4370
|
p && r.push(p);
|
|
4203
4371
|
}
|
|
4204
4372
|
return r.slice(0, 3).join("");
|
|
4205
4373
|
}
|
|
4206
4374
|
if (e.length === 3) {
|
|
4207
|
-
const d =
|
|
4208
|
-
return !d || !
|
|
4375
|
+
const d = N(e[1]), l = N(e[2]);
|
|
4376
|
+
return !d || !l ? void 0 : (r.push(d, l), r.slice(0, 3).join(""));
|
|
4209
4377
|
}
|
|
4210
|
-
const o =
|
|
4378
|
+
const o = N(e.at(-1) || "");
|
|
4211
4379
|
if (o)
|
|
4212
4380
|
return r.push(o), r.slice(0, 3).join("");
|
|
4213
4381
|
}
|
|
4214
|
-
const
|
|
4382
|
+
const Ee = {
|
|
4215
4383
|
bot: "robot-1",
|
|
4216
4384
|
organization: "city-6",
|
|
4217
4385
|
person: "user-1",
|
|
4218
4386
|
team: "member"
|
|
4219
|
-
},
|
|
4387
|
+
}, yt = [
|
|
4220
4388
|
"01",
|
|
4221
4389
|
"02",
|
|
4222
4390
|
"03",
|
|
@@ -4227,13 +4395,13 @@ const we = {
|
|
|
4227
4395
|
"08",
|
|
4228
4396
|
"09"
|
|
4229
4397
|
];
|
|
4230
|
-
function
|
|
4398
|
+
function ze(t) {
|
|
4231
4399
|
let n = 5381;
|
|
4232
4400
|
for (const e of t)
|
|
4233
4401
|
n = n * 33 ^ e.charCodeAt(0);
|
|
4234
4402
|
return n >>> 0;
|
|
4235
4403
|
}
|
|
4236
|
-
function
|
|
4404
|
+
function Le(t) {
|
|
4237
4405
|
if (t == null) return;
|
|
4238
4406
|
const n = O(t);
|
|
4239
4407
|
if (n) {
|
|
@@ -4244,7 +4412,7 @@ function xe(t) {
|
|
|
4244
4412
|
return n;
|
|
4245
4413
|
}
|
|
4246
4414
|
}
|
|
4247
|
-
function
|
|
4415
|
+
function Ce({
|
|
4248
4416
|
alt: t,
|
|
4249
4417
|
ariaHidden: n,
|
|
4250
4418
|
name: e
|
|
@@ -4252,18 +4420,18 @@ function Ee({
|
|
|
4252
4420
|
if (!n)
|
|
4253
4421
|
return O(t) || O(e) || "Avatar";
|
|
4254
4422
|
}
|
|
4255
|
-
function
|
|
4423
|
+
function Me({
|
|
4256
4424
|
color: t,
|
|
4257
4425
|
name: n
|
|
4258
4426
|
}) {
|
|
4259
4427
|
if (t) return t;
|
|
4260
4428
|
if (n) {
|
|
4261
|
-
const e =
|
|
4262
|
-
return
|
|
4429
|
+
const e = ze(n) % yt.length;
|
|
4430
|
+
return yt[e];
|
|
4263
4431
|
}
|
|
4264
4432
|
return "neutral";
|
|
4265
4433
|
}
|
|
4266
|
-
function
|
|
4434
|
+
function qe({
|
|
4267
4435
|
alt: t,
|
|
4268
4436
|
ariaHidden: n,
|
|
4269
4437
|
color: e,
|
|
@@ -4272,27 +4440,27 @@ function Le({
|
|
|
4272
4440
|
initials: a,
|
|
4273
4441
|
name: o,
|
|
4274
4442
|
size: d = "md",
|
|
4275
|
-
src:
|
|
4443
|
+
src: l
|
|
4276
4444
|
}) {
|
|
4277
|
-
const p = v(r),
|
|
4445
|
+
const p = v(r), s = Le(a), c = O(o), h = O(l), b = Ce({
|
|
4278
4446
|
alt: t,
|
|
4279
4447
|
ariaHidden: n,
|
|
4280
4448
|
name: c
|
|
4281
|
-
}),
|
|
4449
|
+
}), w = s || xe(c), f = !!h, z = Me({
|
|
4282
4450
|
color: e,
|
|
4283
4451
|
name: c
|
|
4284
4452
|
}), q = {
|
|
4285
4453
|
"aria-hidden": n ? "true" : void 0,
|
|
4286
4454
|
"aria-label": !n && !f ? b : void 0,
|
|
4287
4455
|
class: "set-avatar",
|
|
4288
|
-
"data-color":
|
|
4456
|
+
"data-color": z === "neutral" ? void 0 : z,
|
|
4289
4457
|
"data-entity": i === "person" ? void 0 : i,
|
|
4290
4458
|
"data-size": d,
|
|
4291
4459
|
id: p,
|
|
4292
4460
|
role: !n && !f ? "img" : void 0
|
|
4293
4461
|
};
|
|
4294
|
-
let
|
|
4295
|
-
return f ?
|
|
4462
|
+
let x;
|
|
4463
|
+
return f ? x = {
|
|
4296
4464
|
kind: "element",
|
|
4297
4465
|
tag: "img",
|
|
4298
4466
|
attrs: {
|
|
@@ -4301,19 +4469,19 @@ function Le({
|
|
|
4301
4469
|
src: h
|
|
4302
4470
|
},
|
|
4303
4471
|
children: []
|
|
4304
|
-
} :
|
|
4472
|
+
} : w ? x = {
|
|
4305
4473
|
kind: "element",
|
|
4306
4474
|
tag: "span",
|
|
4307
4475
|
attrs: { class: "initials" },
|
|
4308
|
-
children: [{ kind: "text", value:
|
|
4309
|
-
} :
|
|
4476
|
+
children: [{ kind: "text", value: w }]
|
|
4477
|
+
} : x = {
|
|
4310
4478
|
kind: "element",
|
|
4311
4479
|
tag: "span",
|
|
4312
4480
|
attrs: { class: "icon-wrapper" },
|
|
4313
4481
|
children: [
|
|
4314
4482
|
P({
|
|
4315
4483
|
ariaHidden: !0,
|
|
4316
|
-
name:
|
|
4484
|
+
name: Ee[i],
|
|
4317
4485
|
size: "fill"
|
|
4318
4486
|
})
|
|
4319
4487
|
]
|
|
@@ -4321,13 +4489,13 @@ function Le({
|
|
|
4321
4489
|
kind: "element",
|
|
4322
4490
|
tag: "span",
|
|
4323
4491
|
attrs: q,
|
|
4324
|
-
children: [
|
|
4492
|
+
children: [x]
|
|
4325
4493
|
};
|
|
4326
4494
|
}
|
|
4327
|
-
function
|
|
4328
|
-
return m(
|
|
4495
|
+
function Di(t) {
|
|
4496
|
+
return m(qe(t));
|
|
4329
4497
|
}
|
|
4330
|
-
const
|
|
4498
|
+
const Vi = {
|
|
4331
4499
|
name: "avatar",
|
|
4332
4500
|
description: "Use `avatar` to visually represent a person, team, or entity.",
|
|
4333
4501
|
output: { element: "span", class: "set-avatar" },
|
|
@@ -4434,7 +4602,7 @@ const Ai = {
|
|
|
4434
4602
|
]
|
|
4435
4603
|
}
|
|
4436
4604
|
};
|
|
4437
|
-
function
|
|
4605
|
+
function Ie({
|
|
4438
4606
|
floating: t,
|
|
4439
4607
|
id: n,
|
|
4440
4608
|
label: e,
|
|
@@ -4455,10 +4623,10 @@ function Ce({
|
|
|
4455
4623
|
children: [{ kind: "text", value: e }]
|
|
4456
4624
|
};
|
|
4457
4625
|
}
|
|
4458
|
-
function
|
|
4459
|
-
return m(
|
|
4626
|
+
function Hi(t) {
|
|
4627
|
+
return m(Ie(t));
|
|
4460
4628
|
}
|
|
4461
|
-
const
|
|
4629
|
+
const Ni = {
|
|
4462
4630
|
name: "badge",
|
|
4463
4631
|
description: "Use `badge` to annotate content with a short label.",
|
|
4464
4632
|
output: { element: "span", class: "set-badge" },
|
|
@@ -4536,10 +4704,10 @@ function it({
|
|
|
4536
4704
|
measured: a,
|
|
4537
4705
|
monospaced: o,
|
|
4538
4706
|
responsive: d,
|
|
4539
|
-
size:
|
|
4707
|
+
size: l = "md",
|
|
4540
4708
|
tone: p = "default"
|
|
4541
4709
|
}) {
|
|
4542
|
-
const
|
|
4710
|
+
const s = v(i), c = n === "p" ? "p" : "span", h = c === "p", b = h ? t ?? "start" : void 0;
|
|
4543
4711
|
return {
|
|
4544
4712
|
kind: "element",
|
|
4545
4713
|
tag: c,
|
|
@@ -4550,17 +4718,17 @@ function it({
|
|
|
4550
4718
|
"data-measured": h ? a ?? !0 : void 0,
|
|
4551
4719
|
"data-monospaced": o,
|
|
4552
4720
|
"data-responsive": d,
|
|
4553
|
-
"data-size":
|
|
4721
|
+
"data-size": l,
|
|
4554
4722
|
"data-tone": p === "muted" ? "muted" : void 0,
|
|
4555
|
-
id:
|
|
4723
|
+
id: s
|
|
4556
4724
|
},
|
|
4557
4725
|
children: [{ kind: "raw", html: e }]
|
|
4558
4726
|
};
|
|
4559
4727
|
}
|
|
4560
|
-
function
|
|
4728
|
+
function Bi(t) {
|
|
4561
4729
|
return m(it(t));
|
|
4562
4730
|
}
|
|
4563
|
-
const
|
|
4731
|
+
const Oi = {
|
|
4564
4732
|
name: "text",
|
|
4565
4733
|
description: "Use `text` for inline or paragraph body copy.",
|
|
4566
4734
|
output: {
|
|
@@ -4684,7 +4852,7 @@ const Hi = {
|
|
|
4684
4852
|
]
|
|
4685
4853
|
}
|
|
4686
4854
|
};
|
|
4687
|
-
function
|
|
4855
|
+
function Te({
|
|
4688
4856
|
align: t = "start",
|
|
4689
4857
|
attribution: n,
|
|
4690
4858
|
id: e,
|
|
@@ -4734,10 +4902,10 @@ function Me({
|
|
|
4734
4902
|
]
|
|
4735
4903
|
};
|
|
4736
4904
|
}
|
|
4737
|
-
function
|
|
4738
|
-
return m(
|
|
4905
|
+
function Pi(t) {
|
|
4906
|
+
return m(Te(t));
|
|
4739
4907
|
}
|
|
4740
|
-
const
|
|
4908
|
+
const Ri = {
|
|
4741
4909
|
name: "blockquote",
|
|
4742
4910
|
description: "Use `blockquote` to display a quote with attribution.",
|
|
4743
4911
|
output: { element: "figure", class: "set-blockquote" },
|
|
@@ -4806,7 +4974,7 @@ const Bi = {
|
|
|
4806
4974
|
]
|
|
4807
4975
|
}
|
|
4808
4976
|
};
|
|
4809
|
-
function
|
|
4977
|
+
function Ae({
|
|
4810
4978
|
background: t = "default",
|
|
4811
4979
|
border: n,
|
|
4812
4980
|
children: e,
|
|
@@ -4815,7 +4983,7 @@ function qe({
|
|
|
4815
4983
|
paddingInline: a = "md",
|
|
4816
4984
|
radius: o,
|
|
4817
4985
|
responsive: d,
|
|
4818
|
-
surface:
|
|
4986
|
+
surface: l
|
|
4819
4987
|
}) {
|
|
4820
4988
|
const p = v(i);
|
|
4821
4989
|
return {
|
|
@@ -4825,7 +4993,7 @@ function qe({
|
|
|
4825
4993
|
class: "set-box",
|
|
4826
4994
|
"data-background": t === "default" ? void 0 : t,
|
|
4827
4995
|
"data-border": n,
|
|
4828
|
-
"data-set-surface":
|
|
4996
|
+
"data-set-surface": l,
|
|
4829
4997
|
"data-padding-block": r,
|
|
4830
4998
|
"data-padding-inline": a,
|
|
4831
4999
|
"data-radius": o,
|
|
@@ -4835,10 +5003,10 @@ function qe({
|
|
|
4835
5003
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
4836
5004
|
};
|
|
4837
5005
|
}
|
|
4838
|
-
function
|
|
4839
|
-
return m(
|
|
5006
|
+
function Wi(t) {
|
|
5007
|
+
return m(Ae(t));
|
|
4840
5008
|
}
|
|
4841
|
-
const
|
|
5009
|
+
const Ui = {
|
|
4842
5010
|
name: "box",
|
|
4843
5011
|
description: "Use `box` to inset content.",
|
|
4844
5012
|
output: { element: "div", class: "set-box" },
|
|
@@ -4951,7 +5119,7 @@ const Pi = {
|
|
|
4951
5119
|
]
|
|
4952
5120
|
}
|
|
4953
5121
|
};
|
|
4954
|
-
function
|
|
5122
|
+
function _e({
|
|
4955
5123
|
description: t,
|
|
4956
5124
|
headingLevel: n,
|
|
4957
5125
|
href: e,
|
|
@@ -4960,15 +5128,15 @@ function Ie({
|
|
|
4960
5128
|
surface: a,
|
|
4961
5129
|
title: o
|
|
4962
5130
|
}) {
|
|
4963
|
-
const d = v(i),
|
|
5131
|
+
const d = v(i), l = n ? `h${n}` : "div", p = e ? [
|
|
4964
5132
|
{
|
|
4965
5133
|
kind: "element",
|
|
4966
5134
|
tag: "a",
|
|
4967
5135
|
attrs: { href: e },
|
|
4968
5136
|
children: [{ kind: "text", value: o }]
|
|
4969
5137
|
}
|
|
4970
|
-
] : [{ kind: "text", value: o }],
|
|
4971
|
-
r && e &&
|
|
5138
|
+
] : [{ kind: "text", value: o }], s = r ? [{ kind: "raw", html: r }] : [];
|
|
5139
|
+
r && e && s.push({
|
|
4972
5140
|
kind: "element",
|
|
4973
5141
|
tag: "span",
|
|
4974
5142
|
attrs: { class: "icon-wrapper" },
|
|
@@ -4990,7 +5158,7 @@ function Ie({
|
|
|
4990
5158
|
},
|
|
4991
5159
|
{
|
|
4992
5160
|
kind: "element",
|
|
4993
|
-
tag:
|
|
5161
|
+
tag: l,
|
|
4994
5162
|
attrs: { class: "title" },
|
|
4995
5163
|
children: p
|
|
4996
5164
|
},
|
|
@@ -5005,7 +5173,7 @@ function Ie({
|
|
|
5005
5173
|
kind: "element",
|
|
5006
5174
|
tag: "p",
|
|
5007
5175
|
attrs: { class: "note" },
|
|
5008
|
-
children:
|
|
5176
|
+
children: s
|
|
5009
5177
|
}), {
|
|
5010
5178
|
kind: "element",
|
|
5011
5179
|
tag: "div",
|
|
@@ -5017,10 +5185,10 @@ function Ie({
|
|
|
5017
5185
|
children: c
|
|
5018
5186
|
};
|
|
5019
5187
|
}
|
|
5020
|
-
function
|
|
5021
|
-
return m(
|
|
5188
|
+
function $i(t) {
|
|
5189
|
+
return m(_e(t));
|
|
5022
5190
|
}
|
|
5023
|
-
const
|
|
5191
|
+
const Gi = {
|
|
5024
5192
|
name: "card",
|
|
5025
5193
|
description: "Use `card` to display a summary for a single topic.",
|
|
5026
5194
|
output: {
|
|
@@ -5088,7 +5256,7 @@ const Wi = {
|
|
|
5088
5256
|
]
|
|
5089
5257
|
}
|
|
5090
5258
|
};
|
|
5091
|
-
function
|
|
5259
|
+
function De({
|
|
5092
5260
|
checked: t,
|
|
5093
5261
|
description: n,
|
|
5094
5262
|
disabled: e,
|
|
@@ -5097,13 +5265,13 @@ function Te({
|
|
|
5097
5265
|
label: a,
|
|
5098
5266
|
name: o,
|
|
5099
5267
|
required: d,
|
|
5100
|
-
size:
|
|
5268
|
+
size: l = "md",
|
|
5101
5269
|
value: p
|
|
5102
5270
|
}) {
|
|
5103
|
-
const
|
|
5104
|
-
if (c && !
|
|
5271
|
+
const s = v(i), c = n?.trim();
|
|
5272
|
+
if (c && !s)
|
|
5105
5273
|
throw new Error("id must be provided when description is provided.");
|
|
5106
|
-
const h = c ? `${
|
|
5274
|
+
const h = c ? `${s}-description` : void 0, b = !!e, f = [
|
|
5107
5275
|
{
|
|
5108
5276
|
kind: "element",
|
|
5109
5277
|
tag: "label",
|
|
@@ -5118,7 +5286,7 @@ function Te({
|
|
|
5118
5286
|
checked: !!t,
|
|
5119
5287
|
class: "checkbox",
|
|
5120
5288
|
disabled: b,
|
|
5121
|
-
id:
|
|
5289
|
+
id: s,
|
|
5122
5290
|
name: o || void 0,
|
|
5123
5291
|
required: !!d,
|
|
5124
5292
|
type: "checkbox",
|
|
@@ -5143,14 +5311,14 @@ function Te({
|
|
|
5143
5311
|
}), {
|
|
5144
5312
|
kind: "element",
|
|
5145
5313
|
tag: "div",
|
|
5146
|
-
attrs: { class: "set-checkbox", "data-size":
|
|
5314
|
+
attrs: { class: "set-checkbox", "data-size": l },
|
|
5147
5315
|
children: f
|
|
5148
5316
|
};
|
|
5149
5317
|
}
|
|
5150
|
-
function
|
|
5151
|
-
return m(
|
|
5318
|
+
function Zi(t) {
|
|
5319
|
+
return m(De(t));
|
|
5152
5320
|
}
|
|
5153
|
-
const
|
|
5321
|
+
const Fi = {
|
|
5154
5322
|
name: "checkbox",
|
|
5155
5323
|
description: "Use `checkbox` to let users toggle a single option on or off.",
|
|
5156
5324
|
output: { element: "div", class: "set-checkbox" },
|
|
@@ -5280,7 +5448,7 @@ const $i = {
|
|
|
5280
5448
|
]
|
|
5281
5449
|
}
|
|
5282
5450
|
};
|
|
5283
|
-
function
|
|
5451
|
+
function Ve({
|
|
5284
5452
|
children: t,
|
|
5285
5453
|
gutter: n = "default",
|
|
5286
5454
|
id: e,
|
|
@@ -5299,10 +5467,10 @@ function Ae({
|
|
|
5299
5467
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
5300
5468
|
};
|
|
5301
5469
|
}
|
|
5302
|
-
function
|
|
5303
|
-
return m(
|
|
5470
|
+
function ji(t) {
|
|
5471
|
+
return m(Ve(t));
|
|
5304
5472
|
}
|
|
5305
|
-
const
|
|
5473
|
+
const Ki = {
|
|
5306
5474
|
name: "container",
|
|
5307
5475
|
description: "Use `container` to wrap page-level content.",
|
|
5308
5476
|
output: { element: "div", class: "set-container" },
|
|
@@ -5359,7 +5527,7 @@ const Zi = {
|
|
|
5359
5527
|
]
|
|
5360
5528
|
}
|
|
5361
5529
|
};
|
|
5362
|
-
function
|
|
5530
|
+
function He({
|
|
5363
5531
|
children: t,
|
|
5364
5532
|
id: n,
|
|
5365
5533
|
open: e,
|
|
@@ -5411,10 +5579,10 @@ function _e({
|
|
|
5411
5579
|
]
|
|
5412
5580
|
};
|
|
5413
5581
|
}
|
|
5414
|
-
function
|
|
5415
|
-
return m(
|
|
5582
|
+
function Xi(t) {
|
|
5583
|
+
return m(He(t));
|
|
5416
5584
|
}
|
|
5417
|
-
const
|
|
5585
|
+
const Qi = {
|
|
5418
5586
|
name: "details",
|
|
5419
5587
|
description: "Use `details` to let users expand and collapse a section of content.",
|
|
5420
5588
|
output: { element: "details", class: "set-details" },
|
|
@@ -5473,7 +5641,7 @@ const ji = {
|
|
|
5473
5641
|
]
|
|
5474
5642
|
}
|
|
5475
5643
|
};
|
|
5476
|
-
function
|
|
5644
|
+
function Ne({
|
|
5477
5645
|
id: t,
|
|
5478
5646
|
orientation: n = "horizontal",
|
|
5479
5647
|
tone: e = "default"
|
|
@@ -5492,10 +5660,10 @@ function De({
|
|
|
5492
5660
|
children: []
|
|
5493
5661
|
};
|
|
5494
5662
|
}
|
|
5495
|
-
function
|
|
5496
|
-
return m(
|
|
5663
|
+
function Yi(t = {}) {
|
|
5664
|
+
return m(Ne(t));
|
|
5497
5665
|
}
|
|
5498
|
-
const
|
|
5666
|
+
const Ji = {
|
|
5499
5667
|
name: "divider",
|
|
5500
5668
|
description: "Use `divider` to separate sections with a rule.",
|
|
5501
5669
|
output: {
|
|
@@ -5557,7 +5725,7 @@ const Xi = {
|
|
|
5557
5725
|
]
|
|
5558
5726
|
}
|
|
5559
5727
|
};
|
|
5560
|
-
function
|
|
5728
|
+
function Tt({
|
|
5561
5729
|
children: t,
|
|
5562
5730
|
description: n,
|
|
5563
5731
|
disabled: e,
|
|
@@ -5566,14 +5734,14 @@ function It({
|
|
|
5566
5734
|
legend: a,
|
|
5567
5735
|
inlineSize: o = "full"
|
|
5568
5736
|
}) {
|
|
5569
|
-
const d = n?.trim(),
|
|
5570
|
-
if (!
|
|
5737
|
+
const d = n?.trim(), l = i.trim();
|
|
5738
|
+
if (!l)
|
|
5571
5739
|
throw new Error("id must be a non-empty string.");
|
|
5572
|
-
if (!
|
|
5740
|
+
if (!H(l))
|
|
5573
5741
|
throw new Error(
|
|
5574
5742
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
5575
5743
|
);
|
|
5576
|
-
const p = d ? `${
|
|
5744
|
+
const p = d ? `${l}-description` : void 0, s = !!e, c = !s && !!r, h = [
|
|
5577
5745
|
{
|
|
5578
5746
|
kind: "element",
|
|
5579
5747
|
tag: "legend",
|
|
@@ -5594,16 +5762,16 @@ function It({
|
|
|
5594
5762
|
"aria-invalid": c ? "true" : void 0,
|
|
5595
5763
|
class: "set-fieldset",
|
|
5596
5764
|
"data-inline-size": o === "fit" ? "fit" : void 0,
|
|
5597
|
-
disabled:
|
|
5598
|
-
id:
|
|
5765
|
+
disabled: s,
|
|
5766
|
+
id: l
|
|
5599
5767
|
},
|
|
5600
5768
|
children: h
|
|
5601
5769
|
};
|
|
5602
5770
|
}
|
|
5603
|
-
function
|
|
5604
|
-
return m(
|
|
5771
|
+
function tn(t) {
|
|
5772
|
+
return m(Tt(t));
|
|
5605
5773
|
}
|
|
5606
|
-
const
|
|
5774
|
+
const en = {
|
|
5607
5775
|
name: "fieldset",
|
|
5608
5776
|
description: "Use `fieldset` to group related form controls under a legend.",
|
|
5609
5777
|
output: { element: "fieldset", class: "set-fieldset" },
|
|
@@ -5691,7 +5859,7 @@ const Yi = {
|
|
|
5691
5859
|
]
|
|
5692
5860
|
}
|
|
5693
5861
|
};
|
|
5694
|
-
function
|
|
5862
|
+
function Be({
|
|
5695
5863
|
align: t = "start",
|
|
5696
5864
|
caption: n,
|
|
5697
5865
|
children: e,
|
|
@@ -5727,10 +5895,10 @@ function Ve({
|
|
|
5727
5895
|
]
|
|
5728
5896
|
};
|
|
5729
5897
|
}
|
|
5730
|
-
function
|
|
5731
|
-
return m(
|
|
5898
|
+
function nn(t) {
|
|
5899
|
+
return m(Be(t));
|
|
5732
5900
|
}
|
|
5733
|
-
const
|
|
5901
|
+
const rn = {
|
|
5734
5902
|
name: "figure",
|
|
5735
5903
|
description: "Use `figure` to present media with a caption.",
|
|
5736
5904
|
output: { element: "figure", class: "set-figure" },
|
|
@@ -5799,11 +5967,11 @@ const tn = {
|
|
|
5799
5967
|
}
|
|
5800
5968
|
]
|
|
5801
5969
|
}
|
|
5802
|
-
},
|
|
5970
|
+
}, _ = (t) => {
|
|
5803
5971
|
if (t !== void 0)
|
|
5804
5972
|
return String(t);
|
|
5805
5973
|
};
|
|
5806
|
-
function
|
|
5974
|
+
function Oe({
|
|
5807
5975
|
children: t,
|
|
5808
5976
|
gap: n = "default",
|
|
5809
5977
|
id: e
|
|
@@ -5827,10 +5995,10 @@ function He({
|
|
|
5827
5995
|
]
|
|
5828
5996
|
};
|
|
5829
5997
|
}
|
|
5830
|
-
function
|
|
5831
|
-
return m(
|
|
5998
|
+
function an(t) {
|
|
5999
|
+
return m(Oe(t));
|
|
5832
6000
|
}
|
|
5833
|
-
function
|
|
6001
|
+
function Pe({
|
|
5834
6002
|
align: t,
|
|
5835
6003
|
children: n,
|
|
5836
6004
|
colSpan: e,
|
|
@@ -5839,16 +6007,16 @@ function Ne({
|
|
|
5839
6007
|
colStart: a,
|
|
5840
6008
|
colStartNarrow: o,
|
|
5841
6009
|
colStartWide: d,
|
|
5842
|
-
id:
|
|
6010
|
+
id: l,
|
|
5843
6011
|
justify: p,
|
|
5844
|
-
rowSpan:
|
|
6012
|
+
rowSpan: s,
|
|
5845
6013
|
rowSpanNarrow: c,
|
|
5846
6014
|
rowSpanWide: h,
|
|
5847
6015
|
rowStart: b,
|
|
5848
|
-
rowStartNarrow:
|
|
6016
|
+
rowStartNarrow: w,
|
|
5849
6017
|
rowStartWide: f
|
|
5850
6018
|
}) {
|
|
5851
|
-
const
|
|
6019
|
+
const z = v(l);
|
|
5852
6020
|
return {
|
|
5853
6021
|
kind: "element",
|
|
5854
6022
|
tag: "div",
|
|
@@ -5856,27 +6024,27 @@ function Ne({
|
|
|
5856
6024
|
class: "set-grid-item",
|
|
5857
6025
|
"data-align": t,
|
|
5858
6026
|
"data-justify": p,
|
|
5859
|
-
"data-col-span-narrow":
|
|
5860
|
-
"data-col-start-narrow":
|
|
5861
|
-
"data-col-span":
|
|
5862
|
-
"data-col-start":
|
|
5863
|
-
"data-col-span-wide":
|
|
5864
|
-
"data-col-start-wide":
|
|
5865
|
-
"data-row-span-narrow":
|
|
5866
|
-
"data-row-start-narrow":
|
|
5867
|
-
"data-row-span":
|
|
5868
|
-
"data-row-start":
|
|
5869
|
-
"data-row-span-wide":
|
|
5870
|
-
"data-row-start-wide":
|
|
5871
|
-
id:
|
|
6027
|
+
"data-col-span-narrow": _(i),
|
|
6028
|
+
"data-col-start-narrow": _(o),
|
|
6029
|
+
"data-col-span": _(e),
|
|
6030
|
+
"data-col-start": _(a),
|
|
6031
|
+
"data-col-span-wide": _(r),
|
|
6032
|
+
"data-col-start-wide": _(d),
|
|
6033
|
+
"data-row-span-narrow": _(c),
|
|
6034
|
+
"data-row-start-narrow": _(w),
|
|
6035
|
+
"data-row-span": _(s),
|
|
6036
|
+
"data-row-start": _(b),
|
|
6037
|
+
"data-row-span-wide": _(h),
|
|
6038
|
+
"data-row-start-wide": _(f),
|
|
6039
|
+
id: z
|
|
5872
6040
|
},
|
|
5873
6041
|
children: n ? [{ kind: "raw", html: n }] : []
|
|
5874
6042
|
};
|
|
5875
6043
|
}
|
|
5876
|
-
function
|
|
5877
|
-
return m(
|
|
6044
|
+
function on(t) {
|
|
6045
|
+
return m(Pe(t));
|
|
5878
6046
|
}
|
|
5879
|
-
const
|
|
6047
|
+
const dn = {
|
|
5880
6048
|
name: "grid",
|
|
5881
6049
|
description: "Use `grid` to lay out content in a 12-column responsive grid.",
|
|
5882
6050
|
output: { element: "div", class: "set-grid" },
|
|
@@ -5917,12 +6085,12 @@ const rn = {
|
|
|
5917
6085
|
}
|
|
5918
6086
|
]
|
|
5919
6087
|
}
|
|
5920
|
-
},
|
|
6088
|
+
}, D = {
|
|
5921
6089
|
kind: "number",
|
|
5922
6090
|
min: 1,
|
|
5923
6091
|
max: 12,
|
|
5924
6092
|
integer: !0
|
|
5925
|
-
},
|
|
6093
|
+
}, sn = {
|
|
5926
6094
|
name: "grid-item",
|
|
5927
6095
|
description: "Use `grid-item` to place content within a `grid` layout.",
|
|
5928
6096
|
output: { element: "div", class: "set-grid-item" },
|
|
@@ -5942,11 +6110,11 @@ const rn = {
|
|
|
5942
6110
|
},
|
|
5943
6111
|
colSpan: {
|
|
5944
6112
|
description: "Columns spanned at the default breakpoint.",
|
|
5945
|
-
type:
|
|
6113
|
+
type: D
|
|
5946
6114
|
},
|
|
5947
6115
|
colStart: {
|
|
5948
6116
|
description: "Starting column at the default breakpoint.",
|
|
5949
|
-
type:
|
|
6117
|
+
type: D
|
|
5950
6118
|
},
|
|
5951
6119
|
id: {
|
|
5952
6120
|
description: "DOM id.",
|
|
@@ -5954,43 +6122,43 @@ const rn = {
|
|
|
5954
6122
|
},
|
|
5955
6123
|
rowSpan: {
|
|
5956
6124
|
description: "Rows spanned at the default breakpoint.",
|
|
5957
|
-
type:
|
|
6125
|
+
type: D
|
|
5958
6126
|
},
|
|
5959
6127
|
rowSpanNarrow: {
|
|
5960
6128
|
description: "Rows spanned at the narrow breakpoint.",
|
|
5961
|
-
type:
|
|
6129
|
+
type: D
|
|
5962
6130
|
},
|
|
5963
6131
|
rowSpanWide: {
|
|
5964
6132
|
description: "Rows spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5965
|
-
type:
|
|
6133
|
+
type: D
|
|
5966
6134
|
},
|
|
5967
6135
|
rowStart: {
|
|
5968
6136
|
description: "Starting row at the default breakpoint.",
|
|
5969
|
-
type:
|
|
6137
|
+
type: D
|
|
5970
6138
|
},
|
|
5971
6139
|
rowStartNarrow: {
|
|
5972
6140
|
description: "Starting row at the narrow breakpoint.",
|
|
5973
|
-
type:
|
|
6141
|
+
type: D
|
|
5974
6142
|
},
|
|
5975
6143
|
rowStartWide: {
|
|
5976
6144
|
description: "Starting row at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5977
|
-
type:
|
|
6145
|
+
type: D
|
|
5978
6146
|
},
|
|
5979
6147
|
colSpanNarrow: {
|
|
5980
6148
|
description: "Columns spanned at the narrow breakpoint.",
|
|
5981
|
-
type:
|
|
6149
|
+
type: D
|
|
5982
6150
|
},
|
|
5983
6151
|
colStartNarrow: {
|
|
5984
6152
|
description: "Starting column at the narrow breakpoint.",
|
|
5985
|
-
type:
|
|
6153
|
+
type: D
|
|
5986
6154
|
},
|
|
5987
6155
|
colSpanWide: {
|
|
5988
6156
|
description: "Columns spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5989
|
-
type:
|
|
6157
|
+
type: D
|
|
5990
6158
|
},
|
|
5991
6159
|
colStartWide: {
|
|
5992
6160
|
description: "Starting column at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5993
|
-
type:
|
|
6161
|
+
type: D
|
|
5994
6162
|
}
|
|
5995
6163
|
},
|
|
5996
6164
|
events: {},
|
|
@@ -6089,7 +6257,7 @@ const rn = {
|
|
|
6089
6257
|
]
|
|
6090
6258
|
}
|
|
6091
6259
|
};
|
|
6092
|
-
function
|
|
6260
|
+
function Re({
|
|
6093
6261
|
align: t = "start",
|
|
6094
6262
|
id: n,
|
|
6095
6263
|
level: e,
|
|
@@ -6113,10 +6281,10 @@ function Be({
|
|
|
6113
6281
|
children: [{ kind: "text", value: o }]
|
|
6114
6282
|
};
|
|
6115
6283
|
}
|
|
6116
|
-
function
|
|
6117
|
-
return m(
|
|
6284
|
+
function ln(t) {
|
|
6285
|
+
return m(Re(t));
|
|
6118
6286
|
}
|
|
6119
|
-
const
|
|
6287
|
+
const pn = {
|
|
6120
6288
|
name: "heading",
|
|
6121
6289
|
description: "Use `heading` to render heading text with consistent type.",
|
|
6122
6290
|
output: {
|
|
@@ -6211,7 +6379,7 @@ const dn = {
|
|
|
6211
6379
|
]
|
|
6212
6380
|
}
|
|
6213
6381
|
};
|
|
6214
|
-
function
|
|
6382
|
+
function We({
|
|
6215
6383
|
align: t = "center",
|
|
6216
6384
|
as: n = "div",
|
|
6217
6385
|
children: e,
|
|
@@ -6235,10 +6403,10 @@ function Oe({
|
|
|
6235
6403
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
6236
6404
|
};
|
|
6237
6405
|
}
|
|
6238
|
-
function
|
|
6239
|
-
return m(
|
|
6406
|
+
function cn(t) {
|
|
6407
|
+
return m(We(t));
|
|
6240
6408
|
}
|
|
6241
|
-
const
|
|
6409
|
+
const un = {
|
|
6242
6410
|
name: "inline",
|
|
6243
6411
|
description: "Use `inline` to lay out content in a horizontal row.",
|
|
6244
6412
|
output: {
|
|
@@ -6323,7 +6491,7 @@ const ln = {
|
|
|
6323
6491
|
]
|
|
6324
6492
|
}
|
|
6325
6493
|
};
|
|
6326
|
-
function
|
|
6494
|
+
function Ue({
|
|
6327
6495
|
autocomplete: t,
|
|
6328
6496
|
description: n,
|
|
6329
6497
|
disabled: e,
|
|
@@ -6332,22 +6500,22 @@ function Pe({
|
|
|
6332
6500
|
label: a,
|
|
6333
6501
|
name: o,
|
|
6334
6502
|
pattern: d,
|
|
6335
|
-
readOnly:
|
|
6503
|
+
readOnly: l,
|
|
6336
6504
|
required: p,
|
|
6337
|
-
size:
|
|
6505
|
+
size: s = "md",
|
|
6338
6506
|
spellcheck: c,
|
|
6339
6507
|
type: h = "text",
|
|
6340
6508
|
value: b,
|
|
6341
|
-
inlineSize:
|
|
6509
|
+
inlineSize: w = "full"
|
|
6342
6510
|
}) {
|
|
6343
|
-
const f = i.trim(),
|
|
6511
|
+
const f = i.trim(), z = n?.trim(), q = t === !1 ? !1 : t?.trim(), x = o?.trim(), k = d?.trim(), C = b;
|
|
6344
6512
|
if (!f)
|
|
6345
6513
|
throw new Error("id must be a non-empty string.");
|
|
6346
|
-
if (!
|
|
6514
|
+
if (!H(f))
|
|
6347
6515
|
throw new Error(
|
|
6348
6516
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
6349
6517
|
);
|
|
6350
|
-
const
|
|
6518
|
+
const E = z ? `${f}-description` : void 0, S = h === "numeric", I = S ? "text" : h, T = k || (S ? "^[0-9]*$" : void 0), V = c === void 0 && S ? !1 : c, M = !!e, U = !M && !!l, $ = [
|
|
6351
6519
|
{
|
|
6352
6520
|
kind: "element",
|
|
6353
6521
|
tag: "label",
|
|
@@ -6358,44 +6526,44 @@ function Pe({
|
|
|
6358
6526
|
kind: "element",
|
|
6359
6527
|
tag: "input",
|
|
6360
6528
|
attrs: {
|
|
6361
|
-
"aria-describedby":
|
|
6529
|
+
"aria-describedby": E,
|
|
6362
6530
|
"aria-invalid": !M && !U && !!r ? "true" : void 0,
|
|
6363
6531
|
autocomplete: q === !1 ? "off" : q || void 0,
|
|
6364
6532
|
class: "input",
|
|
6365
6533
|
disabled: M,
|
|
6366
6534
|
id: f,
|
|
6367
|
-
inputmode:
|
|
6368
|
-
name:
|
|
6369
|
-
pattern:
|
|
6535
|
+
inputmode: S ? "numeric" : void 0,
|
|
6536
|
+
name: x || void 0,
|
|
6537
|
+
pattern: T,
|
|
6370
6538
|
readonly: U,
|
|
6371
6539
|
required: !!p,
|
|
6372
|
-
spellcheck:
|
|
6373
|
-
type:
|
|
6540
|
+
spellcheck: V === void 0 ? void 0 : String(V),
|
|
6541
|
+
type: I,
|
|
6374
6542
|
value: C
|
|
6375
6543
|
},
|
|
6376
6544
|
children: []
|
|
6377
6545
|
}
|
|
6378
6546
|
];
|
|
6379
|
-
return
|
|
6547
|
+
return z && $.push({
|
|
6380
6548
|
kind: "element",
|
|
6381
6549
|
tag: "p",
|
|
6382
|
-
attrs: { class: "description", id:
|
|
6383
|
-
children: [{ kind: "text", value:
|
|
6550
|
+
attrs: { class: "description", id: E },
|
|
6551
|
+
children: [{ kind: "text", value: z }]
|
|
6384
6552
|
}), {
|
|
6385
6553
|
kind: "element",
|
|
6386
6554
|
tag: "div",
|
|
6387
6555
|
attrs: {
|
|
6388
6556
|
class: "set-input",
|
|
6389
|
-
"data-size":
|
|
6390
|
-
"data-inline-size":
|
|
6557
|
+
"data-size": s,
|
|
6558
|
+
"data-inline-size": w === "fit" ? "fit" : void 0
|
|
6391
6559
|
},
|
|
6392
6560
|
children: $
|
|
6393
6561
|
};
|
|
6394
6562
|
}
|
|
6395
|
-
function
|
|
6396
|
-
return m(
|
|
6563
|
+
function hn(t) {
|
|
6564
|
+
return m(Ue(t));
|
|
6397
6565
|
}
|
|
6398
|
-
const
|
|
6566
|
+
const mn = {
|
|
6399
6567
|
name: "input",
|
|
6400
6568
|
description: "Use `input` to collect a single line of text from users.",
|
|
6401
6569
|
output: { element: "div", class: "set-input" },
|
|
@@ -6590,7 +6758,7 @@ const cn = {
|
|
|
6590
6758
|
}
|
|
6591
6759
|
]
|
|
6592
6760
|
}
|
|
6593
|
-
},
|
|
6761
|
+
}, $e = "0 0 6714.6 1200", Ge = "0 0 600 1200", Ze = [
|
|
6594
6762
|
{ x: 0, y: 0 },
|
|
6595
6763
|
{ x: 300, y: 0 },
|
|
6596
6764
|
{ x: 150, y: 300 },
|
|
@@ -6599,11 +6767,11 @@ const cn = {
|
|
|
6599
6767
|
{ x: 300, y: 600 },
|
|
6600
6768
|
{ x: 150, y: 900 },
|
|
6601
6769
|
{ x: 450, y: 900 }
|
|
6602
|
-
],
|
|
6770
|
+
], Fe = "M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180", je = 1163, At = () => ({
|
|
6603
6771
|
kind: "element",
|
|
6604
6772
|
tag: "g",
|
|
6605
6773
|
attrs: { class: "mark" },
|
|
6606
|
-
children:
|
|
6774
|
+
children: Ze.map(({ x: t, y: n }) => ({
|
|
6607
6775
|
kind: "element",
|
|
6608
6776
|
tag: "rect",
|
|
6609
6777
|
attrs: {
|
|
@@ -6614,19 +6782,19 @@ const cn = {
|
|
|
6614
6782
|
},
|
|
6615
6783
|
children: []
|
|
6616
6784
|
}))
|
|
6617
|
-
}),
|
|
6785
|
+
}), Ke = () => ({
|
|
6618
6786
|
kind: "element",
|
|
6619
6787
|
tag: "g",
|
|
6620
|
-
attrs: { class: "word", transform: `translate(${
|
|
6788
|
+
attrs: { class: "word", transform: `translate(${je} 0)` },
|
|
6621
6789
|
children: [
|
|
6622
6790
|
{
|
|
6623
6791
|
kind: "element",
|
|
6624
6792
|
tag: "path",
|
|
6625
|
-
attrs: { d:
|
|
6793
|
+
attrs: { d: Fe },
|
|
6626
6794
|
children: []
|
|
6627
6795
|
}
|
|
6628
6796
|
]
|
|
6629
|
-
}),
|
|
6797
|
+
}), _t = (t, n) => ({
|
|
6630
6798
|
kind: "element",
|
|
6631
6799
|
tag: "svg",
|
|
6632
6800
|
attrs: {
|
|
@@ -6636,13 +6804,13 @@ const cn = {
|
|
|
6636
6804
|
},
|
|
6637
6805
|
children: n
|
|
6638
6806
|
});
|
|
6639
|
-
function
|
|
6640
|
-
return
|
|
6807
|
+
function Xe() {
|
|
6808
|
+
return _t($e, [At(), Ke()]);
|
|
6641
6809
|
}
|
|
6642
|
-
function
|
|
6643
|
-
return
|
|
6810
|
+
function Qe() {
|
|
6811
|
+
return _t(Ge, [At()]);
|
|
6644
6812
|
}
|
|
6645
|
-
function
|
|
6813
|
+
function Ye({
|
|
6646
6814
|
animated: t,
|
|
6647
6815
|
id: n,
|
|
6648
6816
|
label: e,
|
|
@@ -6650,7 +6818,7 @@ function Ke({
|
|
|
6650
6818
|
tone: r = "default",
|
|
6651
6819
|
variant: a = "primary"
|
|
6652
6820
|
}) {
|
|
6653
|
-
const o = v(n), d = !!t && (a === "primary" || a === "graphic"),
|
|
6821
|
+
const o = v(n), d = !!t && (a === "primary" || a === "graphic"), l = [
|
|
6654
6822
|
{
|
|
6655
6823
|
kind: "element",
|
|
6656
6824
|
tag: "span",
|
|
@@ -6658,8 +6826,8 @@ function Ke({
|
|
|
6658
6826
|
children: [{ kind: "text", value: e }]
|
|
6659
6827
|
}
|
|
6660
6828
|
];
|
|
6661
|
-
return d &&
|
|
6662
|
-
a === "graphic" ?
|
|
6829
|
+
return d && l.push(
|
|
6830
|
+
a === "graphic" ? Qe() : Xe()
|
|
6663
6831
|
), {
|
|
6664
6832
|
kind: "element",
|
|
6665
6833
|
tag: "div",
|
|
@@ -6671,13 +6839,13 @@ function Ke({
|
|
|
6671
6839
|
"data-variant": a === "primary" ? void 0 : a,
|
|
6672
6840
|
id: o
|
|
6673
6841
|
},
|
|
6674
|
-
children:
|
|
6842
|
+
children: l
|
|
6675
6843
|
};
|
|
6676
6844
|
}
|
|
6677
|
-
function
|
|
6678
|
-
return m(
|
|
6845
|
+
function kn(t) {
|
|
6846
|
+
return m(Ye(t));
|
|
6679
6847
|
}
|
|
6680
|
-
const
|
|
6848
|
+
const gn = {
|
|
6681
6849
|
name: "logo",
|
|
6682
6850
|
description: "Use `logo` to display the brand mark.",
|
|
6683
6851
|
output: { element: "div", class: "set-logo" },
|
|
@@ -6765,7 +6933,7 @@ const hn = {
|
|
|
6765
6933
|
]
|
|
6766
6934
|
}
|
|
6767
6935
|
};
|
|
6768
|
-
function
|
|
6936
|
+
function Je({
|
|
6769
6937
|
banner: t,
|
|
6770
6938
|
centerMain: n,
|
|
6771
6939
|
children: e,
|
|
@@ -6774,20 +6942,20 @@ function Xe({
|
|
|
6774
6942
|
headerBorder: a,
|
|
6775
6943
|
headerSize: o = "md",
|
|
6776
6944
|
id: d,
|
|
6777
|
-
stickyHeader:
|
|
6945
|
+
stickyHeader: l
|
|
6778
6946
|
}) {
|
|
6779
|
-
const p = v(d),
|
|
6780
|
-
return t &&
|
|
6947
|
+
const p = v(d), s = [];
|
|
6948
|
+
return t && s.push({ kind: "raw", html: t }), s.push({
|
|
6781
6949
|
kind: "element",
|
|
6782
6950
|
tag: "header",
|
|
6783
6951
|
attrs: { class: "header" },
|
|
6784
6952
|
children: [{ kind: "raw", html: r }]
|
|
6785
|
-
}),
|
|
6953
|
+
}), s.push({
|
|
6786
6954
|
kind: "element",
|
|
6787
6955
|
tag: "main",
|
|
6788
6956
|
attrs: { class: "main" },
|
|
6789
6957
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
6790
|
-
}),
|
|
6958
|
+
}), s.push({
|
|
6791
6959
|
kind: "element",
|
|
6792
6960
|
tag: "footer",
|
|
6793
6961
|
attrs: { class: "footer" },
|
|
@@ -6800,16 +6968,16 @@ function Xe({
|
|
|
6800
6968
|
"data-center-main": n,
|
|
6801
6969
|
"data-header-border": a,
|
|
6802
6970
|
"data-header-size": o,
|
|
6803
|
-
"data-sticky-header":
|
|
6971
|
+
"data-sticky-header": l,
|
|
6804
6972
|
id: p
|
|
6805
6973
|
},
|
|
6806
|
-
children:
|
|
6974
|
+
children: s
|
|
6807
6975
|
};
|
|
6808
6976
|
}
|
|
6809
|
-
function
|
|
6810
|
-
return m(
|
|
6977
|
+
function bn(t) {
|
|
6978
|
+
return m(Je(t));
|
|
6811
6979
|
}
|
|
6812
|
-
const
|
|
6980
|
+
const vn = {
|
|
6813
6981
|
name: "page",
|
|
6814
6982
|
description: "Use `page` as the primary layout for header, main, and footer regions.",
|
|
6815
6983
|
output: { element: "div", class: "set-page" },
|
|
@@ -6899,7 +7067,7 @@ const kn = {
|
|
|
6899
7067
|
]
|
|
6900
7068
|
}
|
|
6901
7069
|
};
|
|
6902
|
-
function
|
|
7070
|
+
function ti({
|
|
6903
7071
|
children: t,
|
|
6904
7072
|
id: n,
|
|
6905
7073
|
padding: e = "md",
|
|
@@ -6918,10 +7086,10 @@ function Qe({
|
|
|
6918
7086
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
6919
7087
|
};
|
|
6920
7088
|
}
|
|
6921
|
-
function
|
|
6922
|
-
return m(
|
|
7089
|
+
function fn(t) {
|
|
7090
|
+
return m(ti(t));
|
|
6923
7091
|
}
|
|
6924
|
-
const
|
|
7092
|
+
const yn = {
|
|
6925
7093
|
name: "panel",
|
|
6926
7094
|
description: "Use `panel` to group related content in a contained region.",
|
|
6927
7095
|
output: { element: "div", class: "set-panel" },
|
|
@@ -6972,7 +7140,7 @@ const bn = {
|
|
|
6972
7140
|
]
|
|
6973
7141
|
}
|
|
6974
7142
|
};
|
|
6975
|
-
function
|
|
7143
|
+
function ei({
|
|
6976
7144
|
children: t,
|
|
6977
7145
|
id: n,
|
|
6978
7146
|
size: e = "md",
|
|
@@ -6993,10 +7161,10 @@ function Ye({
|
|
|
6993
7161
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
6994
7162
|
};
|
|
6995
7163
|
}
|
|
6996
|
-
function
|
|
6997
|
-
return m(
|
|
7164
|
+
function wn(t = {}) {
|
|
7165
|
+
return m(ei(t));
|
|
6998
7166
|
}
|
|
6999
|
-
const
|
|
7167
|
+
const Sn = {
|
|
7000
7168
|
name: "pattern",
|
|
7001
7169
|
description: "Use `pattern` to render repeated visual language components behind content.",
|
|
7002
7170
|
output: { element: "div", class: "set-pattern" },
|
|
@@ -7063,15 +7231,15 @@ const fn = {
|
|
|
7063
7231
|
]
|
|
7064
7232
|
}
|
|
7065
7233
|
};
|
|
7066
|
-
function
|
|
7067
|
-
return
|
|
7234
|
+
function xn(t) {
|
|
7235
|
+
return te({
|
|
7068
7236
|
...t,
|
|
7069
7237
|
alt: "",
|
|
7070
7238
|
fit: "cover",
|
|
7071
7239
|
priority: !0
|
|
7072
7240
|
});
|
|
7073
7241
|
}
|
|
7074
|
-
function
|
|
7242
|
+
function ii({
|
|
7075
7243
|
children: t,
|
|
7076
7244
|
contentTheme: n,
|
|
7077
7245
|
id: e,
|
|
@@ -7103,10 +7271,10 @@ function Je({
|
|
|
7103
7271
|
children: d
|
|
7104
7272
|
};
|
|
7105
7273
|
}
|
|
7106
|
-
function
|
|
7107
|
-
return m(
|
|
7274
|
+
function En(t) {
|
|
7275
|
+
return m(ii(t));
|
|
7108
7276
|
}
|
|
7109
|
-
const
|
|
7277
|
+
const zn = {
|
|
7110
7278
|
name: "poster",
|
|
7111
7279
|
description: "Use `poster` to layer content over background media.",
|
|
7112
7280
|
output: { element: "div", class: "set-poster" },
|
|
@@ -7177,7 +7345,7 @@ const Sn = {
|
|
|
7177
7345
|
]
|
|
7178
7346
|
}
|
|
7179
7347
|
};
|
|
7180
|
-
function
|
|
7348
|
+
function ni({
|
|
7181
7349
|
align: t = "start",
|
|
7182
7350
|
children: n,
|
|
7183
7351
|
hangingPunctuation: e,
|
|
@@ -7187,7 +7355,7 @@ function ti({
|
|
|
7187
7355
|
monospaced: o,
|
|
7188
7356
|
responsive: d
|
|
7189
7357
|
}) {
|
|
7190
|
-
const
|
|
7358
|
+
const l = v(i);
|
|
7191
7359
|
return {
|
|
7192
7360
|
kind: "element",
|
|
7193
7361
|
tag: "div",
|
|
@@ -7199,15 +7367,15 @@ function ti({
|
|
|
7199
7367
|
"data-measured": a,
|
|
7200
7368
|
"data-monospaced": o,
|
|
7201
7369
|
"data-responsive": d,
|
|
7202
|
-
id:
|
|
7370
|
+
id: l
|
|
7203
7371
|
},
|
|
7204
7372
|
children: [{ kind: "raw", html: n }]
|
|
7205
7373
|
};
|
|
7206
7374
|
}
|
|
7207
|
-
function
|
|
7208
|
-
return m(
|
|
7375
|
+
function Ln(t) {
|
|
7376
|
+
return m(ni(t));
|
|
7209
7377
|
}
|
|
7210
|
-
const
|
|
7378
|
+
const Cn = {
|
|
7211
7379
|
name: "prose",
|
|
7212
7380
|
description: "Use `prose` to style rich-text markup.",
|
|
7213
7381
|
output: { element: "div", class: "set-prose" },
|
|
@@ -7301,7 +7469,7 @@ const En = {
|
|
|
7301
7469
|
]
|
|
7302
7470
|
}
|
|
7303
7471
|
};
|
|
7304
|
-
function
|
|
7472
|
+
function ri({
|
|
7305
7473
|
description: t,
|
|
7306
7474
|
disabled: n,
|
|
7307
7475
|
id: e,
|
|
@@ -7310,14 +7478,14 @@ function ei({
|
|
|
7310
7478
|
legend: a,
|
|
7311
7479
|
name: o,
|
|
7312
7480
|
orientation: d = "vertical",
|
|
7313
|
-
required:
|
|
7481
|
+
required: l,
|
|
7314
7482
|
size: p = "md",
|
|
7315
|
-
value:
|
|
7483
|
+
value: s
|
|
7316
7484
|
}) {
|
|
7317
|
-
const c = e.trim(), h = o.trim(), b =
|
|
7485
|
+
const c = e.trim(), h = o.trim(), b = s?.trim();
|
|
7318
7486
|
if (!c)
|
|
7319
7487
|
throw new Error("id must be a non-empty string.");
|
|
7320
|
-
if (!
|
|
7488
|
+
if (!H(c))
|
|
7321
7489
|
throw new Error(
|
|
7322
7490
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
7323
7491
|
);
|
|
@@ -7325,23 +7493,23 @@ function ei({
|
|
|
7325
7493
|
throw new Error("name must be a non-empty string.");
|
|
7326
7494
|
if (r.length < 2)
|
|
7327
7495
|
throw new Error("radios must include at least 2 options.");
|
|
7328
|
-
const
|
|
7329
|
-
const
|
|
7330
|
-
if (!
|
|
7496
|
+
const w = r.map((k, C) => {
|
|
7497
|
+
const E = k.value.trim(), S = k.label.trim(), I = k.description?.trim();
|
|
7498
|
+
if (!E)
|
|
7331
7499
|
throw new Error(`radios[${C}].value must be non-empty.`);
|
|
7332
|
-
if (!
|
|
7500
|
+
if (!S)
|
|
7333
7501
|
throw new Error(`radios[${C}].label must be non-empty.`);
|
|
7334
7502
|
return {
|
|
7335
|
-
description:
|
|
7503
|
+
description: I,
|
|
7336
7504
|
disabled: !!k.disabled,
|
|
7337
|
-
label:
|
|
7338
|
-
value:
|
|
7505
|
+
label: S,
|
|
7506
|
+
value: E
|
|
7339
7507
|
};
|
|
7340
7508
|
});
|
|
7341
|
-
if (new Set(
|
|
7509
|
+
if (new Set(w.map((k) => k.value)).size !== w.length)
|
|
7342
7510
|
throw new Error("radios values must be unique.");
|
|
7343
|
-
const
|
|
7344
|
-
const C = !!k.disabled,
|
|
7511
|
+
const z = !!n, q = w.map((k) => {
|
|
7512
|
+
const C = !!k.disabled, E = k.description ? `${c}-${k.value}-description` : void 0, S = [
|
|
7345
7513
|
{
|
|
7346
7514
|
kind: "element",
|
|
7347
7515
|
tag: "label",
|
|
@@ -7351,12 +7519,12 @@ function ei({
|
|
|
7351
7519
|
kind: "element",
|
|
7352
7520
|
tag: "input",
|
|
7353
7521
|
attrs: {
|
|
7354
|
-
"aria-describedby":
|
|
7522
|
+
"aria-describedby": E,
|
|
7355
7523
|
checked: b === k.value,
|
|
7356
7524
|
class: "radio",
|
|
7357
7525
|
disabled: C,
|
|
7358
7526
|
name: h,
|
|
7359
|
-
required: !!
|
|
7527
|
+
required: !!l && !z && !C,
|
|
7360
7528
|
type: "radio",
|
|
7361
7529
|
value: k.value
|
|
7362
7530
|
},
|
|
@@ -7371,19 +7539,19 @@ function ei({
|
|
|
7371
7539
|
]
|
|
7372
7540
|
}
|
|
7373
7541
|
];
|
|
7374
|
-
return k.description &&
|
|
7542
|
+
return k.description && S.push({
|
|
7375
7543
|
kind: "element",
|
|
7376
7544
|
tag: "p",
|
|
7377
|
-
attrs: { class: "radio-description", id:
|
|
7545
|
+
attrs: { class: "radio-description", id: E },
|
|
7378
7546
|
children: [{ kind: "text", value: k.description }]
|
|
7379
7547
|
}), {
|
|
7380
7548
|
kind: "element",
|
|
7381
7549
|
tag: "div",
|
|
7382
7550
|
attrs: { class: "radio-field" },
|
|
7383
|
-
children:
|
|
7551
|
+
children: S
|
|
7384
7552
|
};
|
|
7385
7553
|
});
|
|
7386
|
-
return
|
|
7554
|
+
return Tt({
|
|
7387
7555
|
children: m({
|
|
7388
7556
|
kind: "element",
|
|
7389
7557
|
tag: "div",
|
|
@@ -7395,16 +7563,16 @@ function ei({
|
|
|
7395
7563
|
children: q
|
|
7396
7564
|
}),
|
|
7397
7565
|
description: t,
|
|
7398
|
-
disabled:
|
|
7566
|
+
disabled: z,
|
|
7399
7567
|
id: c,
|
|
7400
7568
|
invalid: i,
|
|
7401
7569
|
legend: a
|
|
7402
7570
|
});
|
|
7403
7571
|
}
|
|
7404
|
-
function
|
|
7405
|
-
return m(
|
|
7572
|
+
function Mn(t) {
|
|
7573
|
+
return m(ri(t));
|
|
7406
7574
|
}
|
|
7407
|
-
const
|
|
7575
|
+
const qn = {
|
|
7408
7576
|
name: "radios",
|
|
7409
7577
|
description: "Use `radios` to let users select one option from a short list.",
|
|
7410
7578
|
output: { element: "fieldset", class: "set-fieldset" },
|
|
@@ -7553,7 +7721,7 @@ const Ln = {
|
|
|
7553
7721
|
]
|
|
7554
7722
|
}
|
|
7555
7723
|
};
|
|
7556
|
-
function
|
|
7724
|
+
function ai({
|
|
7557
7725
|
appOverscrollBehavior: t,
|
|
7558
7726
|
appRoot: n,
|
|
7559
7727
|
brand: e = "mnsp",
|
|
@@ -7563,7 +7731,7 @@ function ii({
|
|
|
7563
7731
|
lang: o,
|
|
7564
7732
|
theme: d
|
|
7565
7733
|
}) {
|
|
7566
|
-
const
|
|
7734
|
+
const l = v(a);
|
|
7567
7735
|
return {
|
|
7568
7736
|
kind: "element",
|
|
7569
7737
|
tag: "div",
|
|
@@ -7573,17 +7741,17 @@ function ii({
|
|
|
7573
7741
|
"data-app-overscroll-behavior": t === "none" ? "none" : void 0,
|
|
7574
7742
|
"data-set-brand": e,
|
|
7575
7743
|
"data-set-theme": d,
|
|
7576
|
-
id:
|
|
7744
|
+
id: l,
|
|
7577
7745
|
lang: o === "" ? void 0 : o,
|
|
7578
7746
|
dir: r
|
|
7579
7747
|
},
|
|
7580
7748
|
children: i ? [{ kind: "raw", html: i }] : []
|
|
7581
7749
|
};
|
|
7582
7750
|
}
|
|
7583
|
-
function
|
|
7584
|
-
return m(
|
|
7751
|
+
function In(t) {
|
|
7752
|
+
return m(ai(t));
|
|
7585
7753
|
}
|
|
7586
|
-
const
|
|
7754
|
+
const Tn = {
|
|
7587
7755
|
name: "root",
|
|
7588
7756
|
description: "Mandatory top-level `root` wrapper for the Set system.",
|
|
7589
7757
|
output: { element: "div", class: "set" },
|
|
@@ -7676,125 +7844,7 @@ const Mn = {
|
|
|
7676
7844
|
]
|
|
7677
7845
|
}
|
|
7678
7846
|
};
|
|
7679
|
-
function
|
|
7680
|
-
id: t,
|
|
7681
|
-
label: n,
|
|
7682
|
-
size: e = "md",
|
|
7683
|
-
tone: i = "default"
|
|
7684
|
-
} = {}) {
|
|
7685
|
-
const r = v(t), o = [
|
|
7686
|
-
{
|
|
7687
|
-
kind: "element",
|
|
7688
|
-
tag: "svg",
|
|
7689
|
-
attrs: {
|
|
7690
|
-
"aria-hidden": "true",
|
|
7691
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7692
|
-
viewBox: "0 0 600 1200",
|
|
7693
|
-
fill: "currentColor"
|
|
7694
|
-
},
|
|
7695
|
-
children: [
|
|
7696
|
-
[60, 60],
|
|
7697
|
-
[60, 360],
|
|
7698
|
-
[60, 660],
|
|
7699
|
-
[60, 960],
|
|
7700
|
-
[360, 960],
|
|
7701
|
-
[360, 660],
|
|
7702
|
-
[360, 360],
|
|
7703
|
-
[360, 60]
|
|
7704
|
-
].map(([d, s]) => ({
|
|
7705
|
-
kind: "element",
|
|
7706
|
-
tag: "rect",
|
|
7707
|
-
attrs: {
|
|
7708
|
-
class: "cell",
|
|
7709
|
-
x: String(d),
|
|
7710
|
-
y: String(s),
|
|
7711
|
-
width: "180",
|
|
7712
|
-
height: "180"
|
|
7713
|
-
},
|
|
7714
|
-
children: []
|
|
7715
|
-
}))
|
|
7716
|
-
}
|
|
7717
|
-
];
|
|
7718
|
-
return n && o.push({
|
|
7719
|
-
kind: "element",
|
|
7720
|
-
tag: "span",
|
|
7721
|
-
attrs: { class: "visually-hidden" },
|
|
7722
|
-
children: [{ kind: "text", value: n }]
|
|
7723
|
-
}), {
|
|
7724
|
-
kind: "element",
|
|
7725
|
-
tag: "span",
|
|
7726
|
-
attrs: {
|
|
7727
|
-
class: "set-spinner",
|
|
7728
|
-
"data-size": e,
|
|
7729
|
-
"data-tone": i === "brand" ? "brand" : void 0,
|
|
7730
|
-
id: r,
|
|
7731
|
-
role: n ? "status" : void 0
|
|
7732
|
-
},
|
|
7733
|
-
children: o
|
|
7734
|
-
};
|
|
7735
|
-
}
|
|
7736
|
-
function qn(t = {}) {
|
|
7737
|
-
return m(ni(t));
|
|
7738
|
-
}
|
|
7739
|
-
const In = {
|
|
7740
|
-
name: "spinner",
|
|
7741
|
-
description: "Use `spinner` to indicate loading or in-progress state.",
|
|
7742
|
-
output: { element: "span", class: "set-spinner" },
|
|
7743
|
-
content: { kind: "text", prop: "label" },
|
|
7744
|
-
props: {
|
|
7745
|
-
id: {
|
|
7746
|
-
description: "DOM id.",
|
|
7747
|
-
type: { kind: "string" }
|
|
7748
|
-
},
|
|
7749
|
-
label: {
|
|
7750
|
-
description: "Accessible status label announced to assistive tech.",
|
|
7751
|
-
type: { kind: "string" }
|
|
7752
|
-
},
|
|
7753
|
-
size: {
|
|
7754
|
-
default: "md",
|
|
7755
|
-
description: "Size variant.",
|
|
7756
|
-
type: {
|
|
7757
|
-
kind: "enum",
|
|
7758
|
-
values: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "fill"]
|
|
7759
|
-
}
|
|
7760
|
-
},
|
|
7761
|
-
tone: {
|
|
7762
|
-
default: "default",
|
|
7763
|
-
description: "Semantic tone.",
|
|
7764
|
-
type: { kind: "enum", values: ["default", "brand"] }
|
|
7765
|
-
}
|
|
7766
|
-
},
|
|
7767
|
-
events: {},
|
|
7768
|
-
rules: {
|
|
7769
|
-
attributes: [
|
|
7770
|
-
{
|
|
7771
|
-
target: { on: "host" },
|
|
7772
|
-
attribute: "data-size",
|
|
7773
|
-
condition: { kind: "always" },
|
|
7774
|
-
value: { kind: "prop", prop: "size" }
|
|
7775
|
-
},
|
|
7776
|
-
{
|
|
7777
|
-
target: { on: "host" },
|
|
7778
|
-
attribute: "data-tone",
|
|
7779
|
-
condition: { kind: "when-equals", prop: "tone", to: "brand" },
|
|
7780
|
-
value: { kind: "literal", text: "brand" }
|
|
7781
|
-
},
|
|
7782
|
-
{
|
|
7783
|
-
target: { on: "host" },
|
|
7784
|
-
attribute: "role",
|
|
7785
|
-
condition: { kind: "when-non-empty", prop: "label" },
|
|
7786
|
-
value: { kind: "literal", text: "status" }
|
|
7787
|
-
},
|
|
7788
|
-
{
|
|
7789
|
-
target: { on: "host" },
|
|
7790
|
-
attribute: "id",
|
|
7791
|
-
condition: { kind: "when-non-empty", prop: "id" },
|
|
7792
|
-
value: { kind: "prop", prop: "id" }
|
|
7793
|
-
}
|
|
7794
|
-
]
|
|
7795
|
-
}
|
|
7796
|
-
};
|
|
7797
|
-
function ri({
|
|
7847
|
+
function oi({
|
|
7798
7848
|
align: t = "stretch",
|
|
7799
7849
|
as: n = "div",
|
|
7800
7850
|
children: e,
|
|
@@ -7816,10 +7866,10 @@ function ri({
|
|
|
7816
7866
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
7817
7867
|
};
|
|
7818
7868
|
}
|
|
7819
|
-
function
|
|
7820
|
-
return m(
|
|
7869
|
+
function An(t) {
|
|
7870
|
+
return m(oi(t));
|
|
7821
7871
|
}
|
|
7822
|
-
const
|
|
7872
|
+
const _n = {
|
|
7823
7873
|
name: "stack",
|
|
7824
7874
|
description: "Use `stack` to lay out content in a vertical column.",
|
|
7825
7875
|
output: {
|
|
@@ -7890,7 +7940,7 @@ const An = {
|
|
|
7890
7940
|
]
|
|
7891
7941
|
}
|
|
7892
7942
|
};
|
|
7893
|
-
function
|
|
7943
|
+
function di({
|
|
7894
7944
|
children: t,
|
|
7895
7945
|
contentTheme: n,
|
|
7896
7946
|
id: e,
|
|
@@ -7909,10 +7959,10 @@ function ai({
|
|
|
7909
7959
|
children: [{ kind: "raw", html: t }]
|
|
7910
7960
|
};
|
|
7911
7961
|
}
|
|
7912
|
-
function
|
|
7913
|
-
return m(
|
|
7962
|
+
function Dn(t) {
|
|
7963
|
+
return m(di(t));
|
|
7914
7964
|
}
|
|
7915
|
-
const
|
|
7965
|
+
const Vn = {
|
|
7916
7966
|
name: "surface",
|
|
7917
7967
|
description: "Use `surface` to set a colour context for nested content.",
|
|
7918
7968
|
output: { element: "div", class: "set-surface" },
|
|
@@ -7964,7 +8014,7 @@ const Dn = {
|
|
|
7964
8014
|
]
|
|
7965
8015
|
}
|
|
7966
8016
|
};
|
|
7967
|
-
function
|
|
8017
|
+
function si({
|
|
7968
8018
|
checked: t,
|
|
7969
8019
|
description: n,
|
|
7970
8020
|
disabled: e,
|
|
@@ -7974,10 +8024,10 @@ function oi({
|
|
|
7974
8024
|
size: o = "md",
|
|
7975
8025
|
value: d
|
|
7976
8026
|
}) {
|
|
7977
|
-
const
|
|
7978
|
-
if (p && !
|
|
8027
|
+
const l = v(i), p = n?.trim();
|
|
8028
|
+
if (p && !l)
|
|
7979
8029
|
throw new Error("id must be provided when description is provided.");
|
|
7980
|
-
const
|
|
8030
|
+
const s = p ? `${l}-description` : void 0, c = [
|
|
7981
8031
|
{
|
|
7982
8032
|
kind: "element",
|
|
7983
8033
|
tag: "label",
|
|
@@ -7987,11 +8037,11 @@ function oi({
|
|
|
7987
8037
|
kind: "element",
|
|
7988
8038
|
tag: "input",
|
|
7989
8039
|
attrs: {
|
|
7990
|
-
"aria-describedby":
|
|
8040
|
+
"aria-describedby": s,
|
|
7991
8041
|
checked: !!t,
|
|
7992
8042
|
class: "switch",
|
|
7993
8043
|
disabled: !!e,
|
|
7994
|
-
id:
|
|
8044
|
+
id: l,
|
|
7995
8045
|
name: a || void 0,
|
|
7996
8046
|
role: "switch",
|
|
7997
8047
|
type: "checkbox",
|
|
@@ -8011,7 +8061,7 @@ function oi({
|
|
|
8011
8061
|
return p && c.push({
|
|
8012
8062
|
kind: "element",
|
|
8013
8063
|
tag: "p",
|
|
8014
|
-
attrs: { class: "description", id:
|
|
8064
|
+
attrs: { class: "description", id: s },
|
|
8015
8065
|
children: [{ kind: "text", value: p }]
|
|
8016
8066
|
}), {
|
|
8017
8067
|
kind: "element",
|
|
@@ -8020,10 +8070,10 @@ function oi({
|
|
|
8020
8070
|
children: c
|
|
8021
8071
|
};
|
|
8022
8072
|
}
|
|
8023
|
-
function
|
|
8024
|
-
return m(
|
|
8073
|
+
function Hn(t) {
|
|
8074
|
+
return m(si(t));
|
|
8025
8075
|
}
|
|
8026
|
-
const
|
|
8076
|
+
const Nn = {
|
|
8027
8077
|
name: "switch",
|
|
8028
8078
|
description: "Use `switch` to let users instantly toggle a setting on or off.",
|
|
8029
8079
|
output: { element: "div", class: "set-switch" },
|
|
@@ -8131,7 +8181,7 @@ const Hn = {
|
|
|
8131
8181
|
]
|
|
8132
8182
|
}
|
|
8133
8183
|
};
|
|
8134
|
-
function
|
|
8184
|
+
function li({
|
|
8135
8185
|
autocomplete: t,
|
|
8136
8186
|
description: n,
|
|
8137
8187
|
disabled: e,
|
|
@@ -8140,24 +8190,24 @@ function di({
|
|
|
8140
8190
|
label: a,
|
|
8141
8191
|
name: o,
|
|
8142
8192
|
readOnly: d,
|
|
8143
|
-
required:
|
|
8193
|
+
required: l,
|
|
8144
8194
|
resize: p = "vertical",
|
|
8145
|
-
rows:
|
|
8195
|
+
rows: s = 2,
|
|
8146
8196
|
size: c = "md",
|
|
8147
8197
|
spellcheck: h,
|
|
8148
8198
|
value: b,
|
|
8149
|
-
inlineSize:
|
|
8199
|
+
inlineSize: w = "full"
|
|
8150
8200
|
}) {
|
|
8151
|
-
const f = i.trim(),
|
|
8201
|
+
const f = i.trim(), z = n?.trim(), q = t === !1 ? !1 : t?.trim(), x = o?.trim(), k = b;
|
|
8152
8202
|
if (!f)
|
|
8153
8203
|
throw new Error("id must be a non-empty string.");
|
|
8154
|
-
if (!
|
|
8204
|
+
if (!H(f))
|
|
8155
8205
|
throw new Error(
|
|
8156
8206
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
8157
8207
|
);
|
|
8158
|
-
if (!Number.isInteger(
|
|
8208
|
+
if (!Number.isInteger(s) || s < 2)
|
|
8159
8209
|
throw new Error("rows must be an integer greater than or equal to 2.");
|
|
8160
|
-
const C =
|
|
8210
|
+
const C = z ? `${f}-description` : void 0, E = !!e, S = !E && !!d, T = [
|
|
8161
8211
|
{
|
|
8162
8212
|
kind: "element",
|
|
8163
8213
|
tag: "label",
|
|
@@ -8169,25 +8219,25 @@ function di({
|
|
|
8169
8219
|
tag: "textarea",
|
|
8170
8220
|
attrs: {
|
|
8171
8221
|
"aria-describedby": C,
|
|
8172
|
-
"aria-invalid": !
|
|
8222
|
+
"aria-invalid": !E && !S && !!r ? "true" : void 0,
|
|
8173
8223
|
autocomplete: q === !1 ? "off" : q || void 0,
|
|
8174
8224
|
class: "textarea",
|
|
8175
|
-
disabled:
|
|
8225
|
+
disabled: E,
|
|
8176
8226
|
id: f,
|
|
8177
|
-
name:
|
|
8178
|
-
readonly:
|
|
8179
|
-
required: !!
|
|
8180
|
-
rows: String(
|
|
8227
|
+
name: x || void 0,
|
|
8228
|
+
readonly: S,
|
|
8229
|
+
required: !!l,
|
|
8230
|
+
rows: String(s),
|
|
8181
8231
|
spellcheck: h === void 0 ? void 0 : String(h)
|
|
8182
8232
|
},
|
|
8183
8233
|
children: [{ kind: "text", value: k || "" }]
|
|
8184
8234
|
}
|
|
8185
8235
|
];
|
|
8186
|
-
return
|
|
8236
|
+
return z && T.push({
|
|
8187
8237
|
kind: "element",
|
|
8188
8238
|
tag: "p",
|
|
8189
8239
|
attrs: { class: "description", id: C },
|
|
8190
|
-
children: [{ kind: "text", value:
|
|
8240
|
+
children: [{ kind: "text", value: z }]
|
|
8191
8241
|
}), {
|
|
8192
8242
|
kind: "element",
|
|
8193
8243
|
tag: "div",
|
|
@@ -8195,15 +8245,15 @@ function di({
|
|
|
8195
8245
|
class: "set-textarea",
|
|
8196
8246
|
"data-resize": p === "none" ? "none" : void 0,
|
|
8197
8247
|
"data-size": c,
|
|
8198
|
-
"data-inline-size":
|
|
8248
|
+
"data-inline-size": w === "fit" ? "fit" : void 0
|
|
8199
8249
|
},
|
|
8200
|
-
children:
|
|
8250
|
+
children: T
|
|
8201
8251
|
};
|
|
8202
8252
|
}
|
|
8203
|
-
function
|
|
8204
|
-
return m(
|
|
8253
|
+
function Bn(t) {
|
|
8254
|
+
return m(li(t));
|
|
8205
8255
|
}
|
|
8206
|
-
const
|
|
8256
|
+
const On = {
|
|
8207
8257
|
name: "textarea",
|
|
8208
8258
|
description: "Use `textarea` to collect multiple lines of text from users.",
|
|
8209
8259
|
output: { element: "div", class: "set-textarea" },
|
|
@@ -8392,168 +8442,168 @@ const Bn = {
|
|
|
8392
8442
|
]
|
|
8393
8443
|
}
|
|
8394
8444
|
};
|
|
8395
|
-
function
|
|
8396
|
-
|
|
8445
|
+
function Pn() {
|
|
8446
|
+
jt(), Yt(), ee(), ae(), de(), ce(), he(), be(), ye();
|
|
8397
8447
|
}
|
|
8398
8448
|
export {
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8449
|
+
Et as SET_ALERT_EVENT_BEFORE_DISMISS,
|
|
8450
|
+
zt as SET_ALERT_EVENT_DISMISS,
|
|
8451
|
+
ki as SET_ALERT_SPEC,
|
|
8402
8452
|
Z as SET_ALERT_TAG_NAME,
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8453
|
+
Vi as SET_AVATAR_SPEC,
|
|
8454
|
+
Ni as SET_BADGE_SPEC,
|
|
8455
|
+
Ct as SET_BANNER_EVENT_BEFORE_DISMISS,
|
|
8456
|
+
Mt as SET_BANNER_EVENT_DISMISS,
|
|
8457
|
+
fi as SET_BANNER_SPEC,
|
|
8408
8458
|
F as SET_BANNER_TAG_NAME,
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8459
|
+
Ri as SET_BLOCKQUOTE_SPEC,
|
|
8460
|
+
Ui as SET_BOX_SPEC,
|
|
8461
|
+
hi as SET_BUTTON_SPEC,
|
|
8462
|
+
Gi as SET_CARD_SPEC,
|
|
8463
|
+
Fi as SET_CHECKBOX_SPEC,
|
|
8464
|
+
Ki as SET_CONTAINER_SPEC,
|
|
8465
|
+
Qi as SET_DETAILS_SPEC,
|
|
8466
|
+
Ji as SET_DIVIDER_SPEC,
|
|
8467
|
+
zi as SET_EXPANDER_SPEC,
|
|
8468
|
+
en as SET_FIELDSET_SPEC,
|
|
8469
|
+
rn as SET_FIGURE_SPEC,
|
|
8470
|
+
sn as SET_GRID_ITEM_SPEC,
|
|
8471
|
+
dn as SET_GRID_SPEC,
|
|
8472
|
+
pn as SET_HEADING_SPEC,
|
|
8473
|
+
pi as SET_ICON_NAMES,
|
|
8474
|
+
ci as SET_ICON_SPEC,
|
|
8475
|
+
yi as SET_IMAGE_SPEC,
|
|
8426
8476
|
K as SET_IMAGE_TAG_NAME,
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8477
|
+
un as SET_INLINE_SPEC,
|
|
8478
|
+
mn as SET_INPUT_SPEC,
|
|
8479
|
+
qt as SET_LIGHTSWITCH_EVENT_CHANGE,
|
|
8480
|
+
Si as SET_LIGHTSWITCH_SPEC,
|
|
8431
8481
|
st as SET_LIGHTSWITCH_STORAGE_KEY,
|
|
8432
8482
|
X as SET_LIGHTSWITCH_TAG_NAME,
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8483
|
+
bi as SET_LINK_SPEC,
|
|
8484
|
+
gn as SET_LOGO_SPEC,
|
|
8485
|
+
It as SET_MENU_EVENT_CHOOSE,
|
|
8486
|
+
Ei as SET_MENU_SPEC,
|
|
8437
8487
|
Q as SET_MENU_TAG_NAME,
|
|
8438
|
-
|
|
8488
|
+
Ci as SET_NAV_SPEC,
|
|
8439
8489
|
Y as SET_NAV_TAG_NAME,
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8490
|
+
vn as SET_PAGE_SPEC,
|
|
8491
|
+
yn as SET_PANEL_SPEC,
|
|
8492
|
+
Sn as SET_PATTERN_SPEC,
|
|
8493
|
+
zn as SET_POSTER_SPEC,
|
|
8494
|
+
Cn as SET_PROSE_SPEC,
|
|
8495
|
+
qn as SET_RADIOS_SPEC,
|
|
8496
|
+
qi as SET_RANGE_SPEC,
|
|
8447
8497
|
J as SET_RANGE_TAG_NAME,
|
|
8448
|
-
|
|
8449
|
-
|
|
8498
|
+
Tn as SET_ROOT_SPEC,
|
|
8499
|
+
Ti as SET_SIDEBAR_SPEC,
|
|
8450
8500
|
tt as SET_SIDEBAR_TAG_NAME,
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8501
|
+
ui as SET_SPINNER_SPEC,
|
|
8502
|
+
_n as SET_STACK_SPEC,
|
|
8503
|
+
Vn as SET_SURFACE_SPEC,
|
|
8504
|
+
Nn as SET_SWITCH_SPEC,
|
|
8505
|
+
On as SET_TEXTAREA_SPEC,
|
|
8506
|
+
Oi as SET_TEXT_SPEC,
|
|
8507
|
+
_i as SET_VIDEO_SPEC,
|
|
8458
8508
|
et as SET_VIDEO_TAG_NAME,
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8509
|
+
Ft as buildSetAlert,
|
|
8510
|
+
qe as buildSetAvatar,
|
|
8511
|
+
Ie as buildSetBadge,
|
|
8512
|
+
Qt as buildSetBanner,
|
|
8513
|
+
Te as buildSetBlockquote,
|
|
8514
|
+
Ae as buildSetBox,
|
|
8465
8515
|
ht as buildSetButton,
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8516
|
+
_e as buildSetCard,
|
|
8517
|
+
De as buildSetCheckbox,
|
|
8518
|
+
Ve as buildSetContainer,
|
|
8519
|
+
He as buildSetDetails,
|
|
8520
|
+
Ne as buildSetDivider,
|
|
8521
|
+
se as buildSetExpander,
|
|
8522
|
+
Tt as buildSetFieldset,
|
|
8523
|
+
Be as buildSetFigure,
|
|
8524
|
+
Oe as buildSetGrid,
|
|
8525
|
+
Pe as buildSetGridItem,
|
|
8526
|
+
Re as buildSetHeading,
|
|
8477
8527
|
P as buildSetIcon,
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8528
|
+
Jt as buildSetImage,
|
|
8529
|
+
We as buildSetInline,
|
|
8530
|
+
Ue as buildSetInput,
|
|
8531
|
+
re as buildSetLightswitch,
|
|
8532
|
+
Lt as buildSetLink,
|
|
8533
|
+
Ye as buildSetLogo,
|
|
8534
|
+
oe as buildSetMenu,
|
|
8535
|
+
pe as buildSetNav,
|
|
8536
|
+
Je as buildSetPage,
|
|
8537
|
+
ti as buildSetPanel,
|
|
8538
|
+
ei as buildSetPattern,
|
|
8539
|
+
ii as buildSetPoster,
|
|
8540
|
+
ni as buildSetProse,
|
|
8541
|
+
ri as buildSetRadios,
|
|
8542
|
+
ue as buildSetRange,
|
|
8543
|
+
ai as buildSetRoot,
|
|
8544
|
+
ge as buildSetSidebar,
|
|
8545
|
+
Wt as buildSetSpinner,
|
|
8546
|
+
oi as buildSetStack,
|
|
8547
|
+
di as buildSetSurface,
|
|
8548
|
+
si as buildSetSwitch,
|
|
8499
8549
|
it as buildSetText,
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8550
|
+
li as buildSetTextarea,
|
|
8551
|
+
ve as buildSetVideo,
|
|
8552
|
+
jt as defineSetAlert,
|
|
8553
|
+
Yt as defineSetBanner,
|
|
8554
|
+
Pn as defineSetComponents,
|
|
8555
|
+
ee as defineSetImage,
|
|
8556
|
+
ae as defineSetLightswitch,
|
|
8557
|
+
de as defineSetMenu,
|
|
8558
|
+
ce as defineSetNav,
|
|
8559
|
+
he as defineSetRange,
|
|
8560
|
+
be as defineSetSidebar,
|
|
8561
|
+
ye as defineSetVideo,
|
|
8562
|
+
xe as getSetInitials,
|
|
8563
|
+
mi as renderSetAlert,
|
|
8564
|
+
Di as renderSetAvatar,
|
|
8565
|
+
Hi as renderSetBadge,
|
|
8566
|
+
vi as renderSetBanner,
|
|
8567
|
+
Pi as renderSetBlockquote,
|
|
8568
|
+
Wi as renderSetBox,
|
|
8519
8569
|
mt as renderSetButton,
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8570
|
+
$i as renderSetCard,
|
|
8571
|
+
Zi as renderSetCheckbox,
|
|
8572
|
+
ji as renderSetContainer,
|
|
8573
|
+
Xi as renderSetDetails,
|
|
8574
|
+
Yi as renderSetDivider,
|
|
8575
|
+
le as renderSetExpander,
|
|
8576
|
+
tn as renderSetFieldset,
|
|
8577
|
+
nn as renderSetFigure,
|
|
8578
|
+
an as renderSetGrid,
|
|
8579
|
+
on as renderSetGridItem,
|
|
8580
|
+
ln as renderSetHeading,
|
|
8581
|
+
Rt as renderSetIcon,
|
|
8582
|
+
te as renderSetImage,
|
|
8583
|
+
cn as renderSetInline,
|
|
8584
|
+
hn as renderSetInput,
|
|
8585
|
+
wi as renderSetLightswitch,
|
|
8586
|
+
gi as renderSetLink,
|
|
8587
|
+
kn as renderSetLogo,
|
|
8588
|
+
xi as renderSetMenu,
|
|
8589
|
+
Li as renderSetNav,
|
|
8590
|
+
bn as renderSetPage,
|
|
8591
|
+
fn as renderSetPanel,
|
|
8592
|
+
wn as renderSetPattern,
|
|
8593
|
+
En as renderSetPoster,
|
|
8594
|
+
xn as renderSetPosterImage,
|
|
8595
|
+
Ln as renderSetProse,
|
|
8596
|
+
Mn as renderSetRadios,
|
|
8597
|
+
Mi as renderSetRange,
|
|
8598
|
+
In as renderSetRoot,
|
|
8599
|
+
Ii as renderSetSidebar,
|
|
8600
|
+
bt as renderSetSpinner,
|
|
8601
|
+
An as renderSetStack,
|
|
8602
|
+
Dn as renderSetSurface,
|
|
8603
|
+
Hn as renderSetSwitch,
|
|
8604
|
+
Bi as renderSetText,
|
|
8605
|
+
Bn as renderSetTextarea,
|
|
8606
|
+
Ai as renderSetVideo,
|
|
8557
8607
|
m as serializeSetNode
|
|
8558
8608
|
};
|
|
8559
8609
|
//# sourceMappingURL=index.js.map
|