@monospaced/set-core 0.15.0 → 0.17.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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const Ot = /* @__PURE__ */ new Set([
1
+ const Pt = /* @__PURE__ */ new Set([
2
2
  "area",
3
3
  "base",
4
4
  "br",
@@ -16,21 +16,21 @@ const Ot = /* @__PURE__ */ new Set([
16
16
  function wt(t) {
17
17
  return t.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;");
18
18
  }
19
- function Pt(t) {
19
+ function Rt(t) {
20
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
23
  if (t.kind === "text") return wt(t.value);
24
24
  if (t.kind === "raw") return t.html;
25
- const n = Pt(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
26
- if (Ot.has(t.tag)) return e;
25
+ const n = Rt(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
26
+ if (Pt.has(t.tag)) return e;
27
27
  const i = t.children.map(m).join("");
28
28
  return `${e}${i}</${t.tag}>`;
29
29
  }
30
30
  function H(t) {
31
31
  return /^[A-Za-z][\w:-]*$/.test(t);
32
32
  }
33
- function v(t) {
33
+ function b(t) {
34
34
  if (t === void 0) return;
35
35
  const n = t.trim();
36
36
  if (n) {
@@ -41,7 +41,7 @@ function v(t) {
41
41
  return n;
42
42
  }
43
43
  }
44
- function O(t) {
44
+ function P(t) {
45
45
  return t == null ? void 0 : t.trim().replace(/\s+/g, " ") || void 0;
46
46
  }
47
47
  const St = {
@@ -775,7 +775,7 @@ const St = {
775
775
  ]
776
776
  }
777
777
  ]
778
- }, pi = Object.keys(St);
778
+ }, ui = Object.keys(St);
779
779
  function xt(t) {
780
780
  return t.map((n) => ({
781
781
  kind: "element",
@@ -784,7 +784,7 @@ function xt(t) {
784
784
  children: n.children ? xt(n.children) : []
785
785
  }));
786
786
  }
787
- function P({
787
+ function R({
788
788
  ariaHidden: t = !0,
789
789
  id: n,
790
790
  mirrored: e,
@@ -792,21 +792,21 @@ function P({
792
792
  size: r = "md",
793
793
  title: a
794
794
  }) {
795
- const o = St[i];
796
- if (!o)
795
+ const d = St[i];
796
+ if (!d)
797
797
  throw new Error(`Unknown icon name: ${i}`);
798
- const d = v(n), l = a?.trim();
799
- if (!t && !l)
798
+ const o = b(n), s = a?.trim();
799
+ if (!t && !s)
800
800
  throw new Error("title must be non-empty when ariaHidden is false.");
801
- if (!t && !d)
801
+ if (!t && !o)
802
802
  throw new Error("id must be provided when ariaHidden is false.");
803
- const p = t ? void 0 : `${d}-title`, s = [];
804
- return t || s.push({
803
+ const p = t ? void 0 : `${o}-title`, l = [];
804
+ return t || l.push({
805
805
  kind: "element",
806
806
  tag: "title",
807
807
  attrs: { id: p },
808
- children: [{ kind: "text", value: l }]
809
- }), s.push(...xt(o)), {
808
+ children: [{ kind: "text", value: s }]
809
+ }), l.push(...xt(d)), {
810
810
  kind: "element",
811
811
  tag: "svg",
812
812
  attrs: {
@@ -817,20 +817,20 @@ function P({
817
817
  "data-size": r,
818
818
  fill: "none",
819
819
  height: "24",
820
- id: d,
820
+ id: o,
821
821
  role: t ? void 0 : "img",
822
822
  stroke: "currentColor",
823
823
  "stroke-width": "1.75",
824
824
  viewBox: "0 0 24 24",
825
825
  xmlns: "http://www.w3.org/2000/svg"
826
826
  },
827
- children: s
827
+ children: l
828
828
  };
829
829
  }
830
- function Rt(t) {
831
- return m(P(t));
830
+ function Wt(t) {
831
+ return m(R(t));
832
832
  }
833
- const ci = {
833
+ const hi = {
834
834
  name: "icon",
835
835
  description: "Use `icon` to render a Set icon.",
836
836
  output: { element: "svg", class: "set-icon" },
@@ -944,13 +944,13 @@ const ci = {
944
944
  ]
945
945
  }
946
946
  };
947
- function Wt({
947
+ function Ut({
948
948
  id: t,
949
949
  label: n,
950
950
  size: e = "md",
951
951
  tone: i = "default"
952
952
  } = {}) {
953
- const r = v(t), o = [
953
+ const r = b(t), d = [
954
954
  {
955
955
  kind: "element",
956
956
  tag: "svg",
@@ -969,13 +969,13 @@ function Wt({
969
969
  [360, 660],
970
970
  [360, 360],
971
971
  [360, 60]
972
- ].map(([d, l]) => ({
972
+ ].map(([o, s]) => ({
973
973
  kind: "element",
974
974
  tag: "rect",
975
975
  attrs: {
976
976
  class: "cell",
977
- x: String(d),
978
- y: String(l),
977
+ x: String(o),
978
+ y: String(s),
979
979
  width: "180",
980
980
  height: "180"
981
981
  },
@@ -983,7 +983,7 @@ function Wt({
983
983
  }))
984
984
  }
985
985
  ];
986
- return n && o.push({
986
+ return n && d.push({
987
987
  kind: "element",
988
988
  tag: "span",
989
989
  attrs: { class: "visually-hidden" },
@@ -998,13 +998,13 @@ function Wt({
998
998
  id: r,
999
999
  role: n ? "status" : void 0
1000
1000
  },
1001
- children: o
1001
+ children: d
1002
1002
  };
1003
1003
  }
1004
1004
  function bt(t = {}) {
1005
- return m(Wt(t));
1005
+ return m(Ut(t));
1006
1006
  }
1007
- const ui = {
1007
+ const mi = {
1008
1008
  name: "spinner",
1009
1009
  description: "Use `spinner` to indicate loading or in-progress state.",
1010
1010
  output: { element: "span", class: "set-spinner" },
@@ -1061,11 +1061,17 @@ const ui = {
1061
1061
  }
1062
1062
  ]
1063
1063
  }
1064
- }, Ut = {
1064
+ }, $t = {
1065
1065
  sm: "xs",
1066
1066
  md: "sm",
1067
1067
  lg: "md"
1068
1068
  };
1069
+ function Et(t) {
1070
+ return {
1071
+ "aria-disabled": t === "busy" ? "true" : void 0,
1072
+ "data-activity": t || void 0
1073
+ };
1074
+ }
1069
1075
  function ht(t) {
1070
1076
  const {
1071
1077
  activity: n,
@@ -1073,33 +1079,33 @@ function ht(t) {
1073
1079
  controls: i,
1074
1080
  disabled: r,
1075
1081
  disclosure: a,
1076
- form: o,
1077
- haspopup: d,
1078
- id: l,
1082
+ form: d,
1083
+ haspopup: o,
1084
+ id: s,
1079
1085
  icon: p,
1080
- iconMirrored: s,
1086
+ iconMirrored: l,
1081
1087
  iconPlacement: c = "start",
1082
1088
  label: h,
1083
- labelVisibility: b = "visible",
1084
- name: w,
1085
- size: f = "md",
1089
+ labelVisibility: g = "visible",
1090
+ name: y,
1091
+ size: v = "md",
1086
1092
  tone: z = "default",
1087
- type: q,
1088
- value: x
1089
- } = t, k = p || void 0, C = !!k;
1090
- if (b !== "visible" && !C)
1093
+ type: M,
1094
+ value: S
1095
+ } = t, w = p || void 0, x = !!w;
1096
+ if (g !== "visible" && !x)
1091
1097
  throw new Error("labelVisibility requires icon when label is not visible.");
1092
- const E = C && k ? {
1098
+ const E = x && w ? {
1093
1099
  kind: "element",
1094
1100
  tag: "span",
1095
1101
  attrs: { class: "icon-wrapper" },
1096
1102
  children: [
1097
1103
  {
1098
1104
  kind: "raw",
1099
- html: Rt({
1105
+ html: Wt({
1100
1106
  ariaHidden: !0,
1101
- mirrored: s,
1102
- name: k,
1107
+ mirrored: l,
1108
+ name: w,
1103
1109
  size: "fill"
1104
1110
  })
1105
1111
  },
@@ -1110,55 +1116,60 @@ function ht(t) {
1110
1116
  }
1111
1117
  ] : []
1112
1118
  ]
1113
- } : null, S = {
1119
+ } : null, L = {
1114
1120
  kind: "element",
1115
1121
  tag: "span",
1116
1122
  attrs: { class: "label" },
1117
1123
  children: [{ kind: "text", value: h }]
1118
- }, I = n ? {
1124
+ }, A = n ? {
1119
1125
  kind: "element",
1120
1126
  tag: "span",
1121
1127
  attrs: { class: "status" },
1122
1128
  children: [{ kind: "text", value: ", busy" }]
1123
- } : null, T = n && !C ? {
1129
+ } : null, V = n && !x ? {
1124
1130
  kind: "element",
1125
1131
  tag: "span",
1126
1132
  attrs: { class: "spinner-overlay" },
1127
1133
  children: [
1128
1134
  {
1129
1135
  kind: "raw",
1130
- html: bt({ size: Ut[f] })
1136
+ html: bt({ size: $t[v] })
1131
1137
  }
1132
1138
  ]
1133
- } : null, V = E ? c === "end" ? [S, E] : [E, S] : T ? [T, S] : [S], M = I ? [...V, I] : V;
1139
+ } : null, q = E ? c === "end" ? [L, E] : [E, L] : V ? [V, L] : [L], I = A ? [...q, A] : q, N = Et(n);
1134
1140
  return {
1135
1141
  kind: "element",
1136
1142
  tag: "button",
1137
1143
  attrs: {
1138
1144
  "aria-controls": a && i || void 0,
1139
- "aria-disabled": n === "busy" ? "true" : void 0,
1145
+ "aria-disabled": N["aria-disabled"],
1140
1146
  "aria-expanded": a ? "false" : void 0,
1141
- "aria-haspopup": d || void 0,
1147
+ "aria-haspopup": o || void 0,
1142
1148
  class: "set-button",
1143
- "data-activity": n || void 0,
1149
+ "data-activity": N["data-activity"],
1144
1150
  "data-appearance": e,
1145
- "data-label-visibility": b === "visible" ? void 0 : b,
1146
- "data-size": f,
1151
+ "data-label-visibility": g === "visible" ? void 0 : g,
1152
+ "data-size": v,
1147
1153
  "data-tone": z === "neutral" ? "neutral" : void 0,
1148
1154
  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
1155
+ form: d || void 0,
1156
+ id: s || void 0,
1157
+ name: y || void 0,
1158
+ type: M || "button",
1159
+ value: S || void 0
1154
1160
  },
1155
- children: M
1161
+ children: I
1156
1162
  };
1157
1163
  }
1158
1164
  function mt(t) {
1159
1165
  return m(ht(t));
1160
1166
  }
1161
- const hi = {
1167
+ function Gt(t, n) {
1168
+ const e = Et(n ?? void 0);
1169
+ for (const [i, r] of Object.entries(e))
1170
+ r == null ? t.removeAttribute(i) : t.setAttribute(i, r);
1171
+ }
1172
+ const ki = {
1162
1173
  name: "button",
1163
1174
  description: "Use `button` to let users trigger actions.",
1164
1175
  output: { element: "button", class: "set-button" },
@@ -1357,8 +1368,8 @@ const hi = {
1357
1368
  }
1358
1369
  ]
1359
1370
  }
1360
- }, Z = "set-alert", Et = "set-alert-before-dismiss", zt = "set-alert-dismiss", W = "Dismiss alert";
1361
- function $t(t, n) {
1371
+ }, Z = "set-alert", zt = "set-alert-before-dismiss", Lt = "set-alert-dismiss", U = "Dismiss alert";
1372
+ function Zt(t, n) {
1362
1373
  const e = n.createElement("div");
1363
1374
  return e.setAttribute("data-part", "close"), e.innerHTML = mt({
1364
1375
  appearance: "text",
@@ -1369,7 +1380,7 @@ function $t(t, n) {
1369
1380
  tone: "neutral"
1370
1381
  }), e;
1371
1382
  }
1372
- function Gt(t) {
1383
+ function Ft(t) {
1373
1384
  switch (t) {
1374
1385
  case "success":
1375
1386
  return "check-circle";
@@ -1383,26 +1394,26 @@ function Gt(t) {
1383
1394
  return "sticky-note";
1384
1395
  }
1385
1396
  }
1386
- function Zt(t) {
1397
+ function jt(t) {
1387
1398
  return t === "warning" || t === "error" ? "alert" : "status";
1388
1399
  }
1389
- function Ft({
1400
+ function Kt({
1390
1401
  dismissible: t,
1391
- dismissibleLabel: n = W,
1402
+ dismissibleLabel: n = U,
1392
1403
  id: e,
1393
1404
  inlineSize: i = "full",
1394
1405
  message: r,
1395
1406
  size: a = "md",
1396
- tone: o,
1397
- title: d
1407
+ tone: d,
1408
+ title: o
1398
1409
  }) {
1399
- const l = v(e), p = n.trim() === "" ? W : n, s = [];
1400
- return d && s.push({
1410
+ const s = b(e), p = n.trim() === "" ? U : n, l = [];
1411
+ return o && l.push({
1401
1412
  kind: "element",
1402
1413
  tag: "p",
1403
1414
  attrs: { class: "title" },
1404
- children: [{ kind: "text", value: d }]
1405
- }), s.push({
1415
+ children: [{ kind: "text", value: o }]
1416
+ }), l.push({
1406
1417
  kind: "element",
1407
1418
  tag: "p",
1408
1419
  attrs: { class: "message" },
@@ -1416,9 +1427,9 @@ function Ft({
1416
1427
  "data-dismissible-label": t ? p : void 0,
1417
1428
  "data-inline-size": i === "fit" ? "fit" : void 0,
1418
1429
  "data-size": a,
1419
- "data-tone": o || void 0,
1420
- id: l,
1421
- role: Zt(o)
1430
+ "data-tone": d || void 0,
1431
+ id: s,
1432
+ role: jt(d)
1422
1433
  },
1423
1434
  children: [
1424
1435
  {
@@ -1426,9 +1437,9 @@ function Ft({
1426
1437
  tag: "div",
1427
1438
  attrs: { class: "icon-wrapper" },
1428
1439
  children: [
1429
- P({
1440
+ R({
1430
1441
  ariaHidden: !0,
1431
- name: Gt(o),
1442
+ name: Ft(d),
1432
1443
  size: a
1433
1444
  })
1434
1445
  ]
@@ -1437,29 +1448,29 @@ function Ft({
1437
1448
  kind: "element",
1438
1449
  tag: "div",
1439
1450
  attrs: { class: "content" },
1440
- children: s
1451
+ children: l
1441
1452
  }
1442
1453
  ]
1443
1454
  };
1444
1455
  }
1445
- function mi(t) {
1446
- return m(Ft(t));
1456
+ function gi(t) {
1457
+ return m(Kt(t));
1447
1458
  }
1448
- function jt() {
1459
+ function Xt() {
1449
1460
  if (customElements.get(Z)) return;
1450
1461
  class t extends HTMLElement {
1451
1462
  #t = (e) => {
1452
1463
  const i = e.target;
1453
1464
  if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
1454
1465
  const r = new CustomEvent(
1455
- Et,
1466
+ zt,
1456
1467
  {
1457
1468
  bubbles: !0,
1458
1469
  cancelable: !0
1459
1470
  }
1460
1471
  );
1461
1472
  this.dispatchEvent(r) && (this.dispatchEvent(
1462
- new CustomEvent(zt, {
1473
+ new CustomEvent(Lt, {
1463
1474
  bubbles: !0
1464
1475
  })
1465
1476
  ), this.remove());
@@ -1472,8 +1483,8 @@ function jt() {
1472
1483
  }
1473
1484
  #e() {
1474
1485
  this.querySelector('[data-part="close"]') || this.append(
1475
- $t(
1476
- this.getAttribute("data-dismissible-label") ?? W,
1486
+ Zt(
1487
+ this.getAttribute("data-dismissible-label") ?? U,
1477
1488
  this.ownerDocument
1478
1489
  )
1479
1490
  );
@@ -1481,7 +1492,7 @@ function jt() {
1481
1492
  }
1482
1493
  customElements.define(Z, t);
1483
1494
  }
1484
- const ki = {
1495
+ const bi = {
1485
1496
  name: "alert",
1486
1497
  description: "Use `alert` to surface short, important messages.",
1487
1498
  output: {
@@ -1502,7 +1513,7 @@ const ki = {
1502
1513
  type: { kind: "boolean" }
1503
1514
  },
1504
1515
  dismissibleLabel: {
1505
- default: W,
1516
+ default: U,
1506
1517
  description: "Accessible label for the dismiss control.",
1507
1518
  ignoredWhen: "`dismissible` is false",
1508
1519
  type: { kind: "string" }
@@ -1536,12 +1547,12 @@ const ki = {
1536
1547
  }
1537
1548
  },
1538
1549
  events: {
1539
- [Et]: {
1550
+ [zt]: {
1540
1551
  bubbles: !0,
1541
1552
  cancelable: !0,
1542
1553
  description: "Fired before the alert is removed by a dismiss action. Call `preventDefault()` to keep the alert mounted."
1543
1554
  },
1544
- [zt]: {
1555
+ [Lt]: {
1545
1556
  bubbles: !0,
1546
1557
  description: "Fired after the alert has been removed by an allowed dismiss action."
1547
1558
  }
@@ -1607,7 +1618,7 @@ const ki = {
1607
1618
  }
1608
1619
  ]
1609
1620
  },
1610
- value: { kind: "literal", text: W }
1621
+ value: { kind: "literal", text: U }
1611
1622
  },
1612
1623
  {
1613
1624
  target: { on: "host" },
@@ -1630,39 +1641,39 @@ const ki = {
1630
1641
  ]
1631
1642
  }
1632
1643
  };
1633
- function Kt(t) {
1644
+ function Qt(t) {
1634
1645
  if (t)
1635
1646
  return t === !0 ? !0 : t;
1636
1647
  }
1637
- function Lt(t) {
1648
+ function Ct(t) {
1638
1649
  const {
1639
1650
  appearance: n = "text",
1640
1651
  current: e,
1641
1652
  download: i,
1642
1653
  href: r,
1643
1654
  id: a,
1644
- icon: o,
1645
- iconPlacement: d = "start",
1646
- label: l,
1655
+ icon: d,
1656
+ iconPlacement: o = "start",
1657
+ label: s,
1647
1658
  labelVisibility: p = "visible",
1648
- rel: s,
1659
+ rel: l,
1649
1660
  size: c = "md",
1650
1661
  target: h,
1651
- tone: b = "default",
1652
- underline: w
1653
- } = t, f = v(a), z = o?.trim() || void 0;
1662
+ tone: g = "default",
1663
+ underline: y
1664
+ } = t, v = b(a), z = d?.trim() || void 0;
1654
1665
  if (p !== "visible" && !!!z)
1655
1666
  throw new Error("labelVisibility requires icon when label is not visible.");
1656
- const x = Kt(i), k = z ? {
1667
+ const S = Qt(i), w = z ? {
1657
1668
  kind: "element",
1658
1669
  tag: "span",
1659
1670
  attrs: { class: "icon-wrapper" },
1660
1671
  children: [{ kind: "raw", html: z }]
1661
- } : null, C = {
1672
+ } : null, x = {
1662
1673
  kind: "element",
1663
1674
  tag: "span",
1664
1675
  attrs: { class: "label" },
1665
- children: [{ kind: "text", value: l }]
1676
+ children: [{ kind: "text", value: s }]
1666
1677
  };
1667
1678
  return {
1668
1679
  kind: "element",
@@ -1673,21 +1684,21 @@ function Lt(t) {
1673
1684
  "data-appearance": n === "text" ? void 0 : n,
1674
1685
  "data-label-visibility": p === "visible" ? void 0 : p,
1675
1686
  "data-size": c,
1676
- "data-tone": b === "neutral" ? "neutral" : void 0,
1677
- "data-underline": w && n === "text" ? !0 : void 0,
1678
- download: x,
1687
+ "data-tone": g === "neutral" ? "neutral" : void 0,
1688
+ "data-underline": y && n === "text" ? !0 : void 0,
1689
+ download: S,
1679
1690
  href: r,
1680
- id: f,
1681
- rel: x ? void 0 : s || void 0,
1682
- target: x ? void 0 : h || void 0
1691
+ id: v,
1692
+ rel: S ? void 0 : l || void 0,
1693
+ target: S ? void 0 : h || void 0
1683
1694
  },
1684
- children: k ? d === "end" ? [C, k] : [k, C] : [C]
1695
+ children: w ? o === "end" ? [x, w] : [w, x] : [x]
1685
1696
  };
1686
1697
  }
1687
- function gi(t) {
1688
- return m(Lt(t));
1698
+ function vi(t) {
1699
+ return m(Ct(t));
1689
1700
  }
1690
- const bi = {
1701
+ const fi = {
1691
1702
  name: "link",
1692
1703
  description: "Use `link` to navigate to another page or resource.",
1693
1704
  output: { element: "a", class: "set-link" },
@@ -1874,8 +1885,8 @@ const bi = {
1874
1885
  }
1875
1886
  ]
1876
1887
  }
1877
- }, F = "set-banner", Ct = "set-banner-before-dismiss", Mt = "set-banner-dismiss", j = "Dismiss banner";
1878
- function Xt(t, n) {
1888
+ }, F = "set-banner", Mt = "set-banner-before-dismiss", qt = "set-banner-dismiss", j = "Dismiss banner";
1889
+ function Yt(t, n) {
1879
1890
  const e = n.createElement("div");
1880
1891
  return e.setAttribute("data-part", "close"), e.innerHTML = mt({
1881
1892
  appearance: "text",
@@ -1886,20 +1897,20 @@ function Xt(t, n) {
1886
1897
  tone: "neutral"
1887
1898
  }), e;
1888
1899
  }
1889
- function Qt({
1900
+ function Jt({
1890
1901
  actionHref: t,
1891
1902
  actionLabel: n,
1892
1903
  dismissible: e = !0,
1893
1904
  dismissibleLabel: i = j,
1894
1905
  id: r,
1895
1906
  message: a,
1896
- tone: o
1907
+ tone: d
1897
1908
  }) {
1898
1909
  if (!!t != !!n)
1899
1910
  throw new Error("actionHref and actionLabel must be provided together.");
1900
- const d = v(r), l = i.trim() === "" ? j : i, p = [{ kind: "text", value: a }];
1911
+ const o = b(r), s = i.trim() === "" ? j : i, p = [{ kind: "text", value: a }];
1901
1912
  return t && n && (p.push({ kind: "text", value: " " }), p.push(
1902
- Lt({
1913
+ Ct({
1903
1914
  href: t,
1904
1915
  label: n,
1905
1916
  underline: !0
@@ -1912,9 +1923,9 @@ function Qt({
1912
1923
  "data-set-content-theme": "dark",
1913
1924
  "data-set-surface": "default",
1914
1925
  "data-dismissible": e,
1915
- "data-dismissible-label": e ? l : void 0,
1916
- "data-tone": o || void 0,
1917
- id: d
1926
+ "data-dismissible-label": e ? s : void 0,
1927
+ "data-tone": d || void 0,
1928
+ id: o
1918
1929
  },
1919
1930
  children: [
1920
1931
  {
@@ -1926,24 +1937,24 @@ function Qt({
1926
1937
  ]
1927
1938
  };
1928
1939
  }
1929
- function vi(t) {
1930
- return m(Qt(t));
1940
+ function yi(t) {
1941
+ return m(Jt(t));
1931
1942
  }
1932
- function Yt() {
1943
+ function te() {
1933
1944
  if (customElements.get(F)) return;
1934
1945
  class t extends HTMLElement {
1935
1946
  #t = (e) => {
1936
1947
  const i = e.target;
1937
1948
  if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
1938
1949
  const r = new CustomEvent(
1939
- Ct,
1950
+ Mt,
1940
1951
  {
1941
1952
  bubbles: !0,
1942
1953
  cancelable: !0
1943
1954
  }
1944
1955
  );
1945
1956
  this.dispatchEvent(r) && (this.dispatchEvent(
1946
- new CustomEvent(Mt, {
1957
+ new CustomEvent(qt, {
1947
1958
  bubbles: !0
1948
1959
  })
1949
1960
  ), this.remove());
@@ -1956,7 +1967,7 @@ function Yt() {
1956
1967
  }
1957
1968
  #e() {
1958
1969
  this.querySelector('[data-part="close"]') || this.append(
1959
- Xt(
1970
+ Yt(
1960
1971
  this.getAttribute("data-dismissible-label") ?? j,
1961
1972
  this.ownerDocument
1962
1973
  )
@@ -1965,7 +1976,7 @@ function Yt() {
1965
1976
  }
1966
1977
  customElements.define(F, t);
1967
1978
  }
1968
- const fi = {
1979
+ const wi = {
1969
1980
  name: "banner",
1970
1981
  description: "Use `banner` to display a prominent site-wide message.",
1971
1982
  output: { element: F, class: "set-banner" },
@@ -2010,12 +2021,12 @@ const fi = {
2010
2021
  }
2011
2022
  },
2012
2023
  events: {
2013
- [Ct]: {
2024
+ [Mt]: {
2014
2025
  bubbles: !0,
2015
2026
  cancelable: !0,
2016
2027
  description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
2017
2028
  },
2018
- [Mt]: {
2029
+ [qt]: {
2019
2030
  bubbles: !0,
2020
2031
  description: "Fired after the banner has been removed by an allowed dismiss action."
2021
2032
  }
@@ -2054,113 +2065,112 @@ const fi = {
2054
2065
  ]
2055
2066
  }
2056
2067
  }, K = "set-image";
2057
- function Jt({
2068
+ function ee({
2058
2069
  adaptive: t,
2059
- animated: n,
2060
- alt: e = "",
2061
- aspectRatio: i,
2062
- fit: r = "intrinsic",
2063
- gravity: a = "C",
2064
- height: o,
2070
+ alt: n = "",
2071
+ aspectRatio: e,
2072
+ fit: i = "intrinsic",
2073
+ gravity: r = "C",
2074
+ height: a,
2065
2075
  id: d,
2066
- lazy: l,
2067
- leadSrc: p,
2068
- priority: s,
2069
- radius: c,
2070
- shadow: h,
2071
- sizes: b,
2072
- sources: w,
2073
- src: f,
2074
- srcSet: z,
2075
- still: q,
2076
- width: x
2076
+ lazy: o,
2077
+ leadSrc: s,
2078
+ priority: p,
2079
+ radius: l,
2080
+ shadow: c,
2081
+ sizes: h,
2082
+ sources: g,
2083
+ src: y,
2084
+ srcSet: v,
2085
+ stillSrc: z,
2086
+ width: M
2077
2087
  }) {
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)
2081
- throw new Error(`sources[${L}].srcSet must be non-empty.`);
2088
+ const S = i === "cover", w = b(d), x = y.trim(), E = v?.trim(), L = s?.trim(), A = z?.trim(), V = h?.trim(), q = g?.map((u, C) => {
2089
+ const T = u.srcSet.trim(), f = u.media?.trim(), k = u.type?.trim(), Nt = u.sizes?.trim(), Bt = u.leadSrc?.trim(), Ot = u.stillSrc?.trim();
2090
+ if (!T)
2091
+ throw new Error(`sources[${C}].srcSet must be non-empty.`);
2082
2092
  return {
2083
2093
  height: u.height,
2084
- leadSrc: Nt || void 0,
2085
- media: y || void 0,
2086
- sizes: Ht || void 0,
2087
- srcSet: A,
2088
- still: Bt || void 0,
2089
- type: g || void 0,
2094
+ leadSrc: Bt || void 0,
2095
+ media: f || void 0,
2096
+ sizes: Nt || void 0,
2097
+ srcSet: T,
2098
+ stillSrc: Ot || void 0,
2099
+ type: k || void 0,
2090
2100
  width: u.width
2091
2101
  };
2092
2102
  }) || [];
2093
- if (!E)
2103
+ if (!x)
2094
2104
  throw new Error("src must be a non-empty string.");
2095
2105
  if (t && [
2106
+ x,
2096
2107
  E,
2097
- S,
2098
- ...M.map((u) => u.srcSet)
2108
+ ...q.map((u) => u.srcSet)
2099
2109
  ].some((u) => u?.includes("#")))
2100
2110
  throw new Error("adaptive sources must not contain URL fragments.");
2101
- const U = !!(n && t), nt = !!(n && I), $ = !!I || M.some((u) => u.leadSrc);
2102
- if (!n && $)
2103
- throw new Error("leadSrc requires animated.");
2104
- if (n) {
2111
+ const I = !!A, N = !!(I && t), nt = !!(I && L), $ = !!L || q.some((u) => u.leadSrc);
2112
+ if (!I && $)
2113
+ throw new Error("leadSrc requires a stillSrc.");
2114
+ if (!I && q.some((u) => u.stillSrc))
2115
+ throw new Error("sources stillSrc requires a top-level stillSrc.");
2116
+ if (I) {
2105
2117
  const u = [
2118
+ x,
2106
2119
  E,
2107
- S,
2108
- I,
2109
- ...M.flatMap((y) => [y.srcSet, y.leadSrc])
2110
- ].filter((y) => !!y), L = u.filter((y) => y.includes("{scheme}"));
2111
- if (t && L.length !== u.length)
2120
+ L,
2121
+ ...q.flatMap((f) => [f.srcSet, f.leadSrc])
2122
+ ].filter((f) => !!f), C = u.filter((f) => f.includes("{scheme}"));
2123
+ if (t && C.length !== u.length)
2112
2124
  throw new Error(
2113
2125
  "adaptive animated sources must contain a {scheme} placeholder."
2114
2126
  );
2115
- if (!t && L.length > 0)
2127
+ if (!t && C.length > 0)
2116
2128
  throw new Error(
2117
2129
  "the {scheme} placeholder requires adaptive to enable light/dark."
2118
2130
  );
2119
- if (!T)
2120
- throw new Error("animated requires a still.");
2121
2131
  if ([
2122
- T,
2123
- ...M.map((y) => y.still)
2124
- ].filter((y) => !!y).some((y) => y.includes("#")))
2125
- throw new Error("animated still must not contain URL fragments.");
2132
+ A,
2133
+ ...q.map((f) => f.stillSrc)
2134
+ ].filter((f) => !!f).some((f) => f.includes("#")))
2135
+ throw new Error("stillSrc must not contain URL fragments.");
2126
2136
  }
2127
- const kt = (u, L) => u.split(/,\s+/).map((A) => {
2128
- const [y, ...g] = A.trim().split(/\s+/);
2129
- if (!y || g.length > 1)
2137
+ const kt = (u, C) => u.split(/,\s+/).map((T) => {
2138
+ const [f, ...k] = T.trim().split(/\s+/);
2139
+ if (!f || k.length > 1)
2130
2140
  throw new Error(
2131
2141
  "adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
2132
2142
  );
2133
- return [`${y}#${L}`, ...g].join(" ");
2143
+ return [`${f}#${C}`, ...k].join(" ");
2134
2144
  }).join(", "), rt = (u) => {
2135
- const L = {
2145
+ const C = {
2136
2146
  kind: "element",
2137
2147
  tag: "img",
2138
2148
  attrs: {
2139
- alt: e,
2149
+ alt: n,
2140
2150
  class: "img",
2141
- "data-scheme": u && M.length === 0 ? u : void 0,
2142
- fetchpriority: s ? "high" : void 0,
2143
- height: k ? void 0 : o ? String(o) : 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
2151
+ "data-scheme": u && q.length === 0 ? u : void 0,
2152
+ fetchpriority: p ? "high" : void 0,
2153
+ height: S ? void 0 : a ? String(a) : void 0,
2154
+ loading: o && !p ? "lazy" : void 0,
2155
+ sizes: q.length > 0 ? void 0 : V || void 0,
2156
+ src: u ? `${x}#${u}` : x,
2157
+ srcset: E && u ? kt(E, u) : E || void 0,
2158
+ width: S ? void 0 : M ? String(M) : void 0
2149
2159
  },
2150
2160
  children: []
2151
2161
  };
2152
- if (M.length === 0)
2153
- return L;
2154
- const A = M.map((y) => ({
2162
+ if (q.length === 0)
2163
+ return C;
2164
+ const T = q.map((f) => ({
2155
2165
  kind: "element",
2156
2166
  tag: "source",
2157
2167
  attrs: {
2158
- height: y.height ? String(y.height) : void 0,
2159
- media: y.media,
2160
- sizes: y.sizes,
2161
- srcset: u ? kt(y.srcSet, u) : y.srcSet,
2162
- type: y.type,
2163
- width: y.width ? String(y.width) : void 0
2168
+ height: f.height ? String(f.height) : void 0,
2169
+ media: f.media,
2170
+ sizes: f.sizes,
2171
+ srcset: u ? kt(f.srcSet, u) : f.srcSet,
2172
+ type: f.type,
2173
+ width: f.width ? String(f.width) : void 0
2164
2174
  },
2165
2175
  children: []
2166
2176
  }));
@@ -2168,54 +2178,54 @@ function Jt({
2168
2178
  kind: "element",
2169
2179
  tag: "picture",
2170
2180
  attrs: { "data-scheme": u },
2171
- children: [...A, L]
2181
+ children: [...T, C]
2172
2182
  };
2173
- }, at = "(prefers-reduced-motion: reduce)", R = (u, L) => L ? u.replaceAll("{scheme}", L) : u, ot = (u, L) => L ? `${u}#${L}` : u, gt = (u) => {
2174
- const L = M.filter((g) => g.still).map((g) => ({
2183
+ }, at = "(prefers-reduced-motion: reduce)", W = (u, C) => C ? u.replaceAll("{scheme}", C) : u, ot = (u, C) => C ? `${u}#${C}` : u, gt = (u) => {
2184
+ const C = q.filter((k) => k.stillSrc).map((k) => ({
2175
2185
  kind: "element",
2176
2186
  tag: "source",
2177
2187
  attrs: {
2178
- height: g.height ? String(g.height) : void 0,
2179
- media: g.media ? `${at} and ${g.media}` : at,
2180
- srcset: ot(g.still, u),
2181
- width: g.width ? String(g.width) : void 0
2188
+ height: k.height ? String(k.height) : void 0,
2189
+ media: k.media ? `${at} and ${k.media}` : at,
2190
+ srcset: ot(k.stillSrc, u),
2191
+ width: k.width ? String(k.width) : void 0
2182
2192
  },
2183
2193
  children: []
2184
2194
  }));
2185
- L.push({
2195
+ C.push({
2186
2196
  kind: "element",
2187
2197
  tag: "source",
2188
2198
  attrs: {
2189
2199
  media: at,
2190
- srcset: ot(T, u)
2200
+ srcset: ot(A, u)
2191
2201
  },
2192
2202
  children: []
2193
2203
  });
2194
- const A = M.map((g) => ({
2204
+ const T = q.map((k) => ({
2195
2205
  kind: "element",
2196
2206
  tag: "source",
2197
2207
  attrs: {
2198
- height: g.height ? String(g.height) : void 0,
2199
- media: g.media,
2200
- sizes: g.sizes,
2201
- srcset: R(g.srcSet, u),
2202
- type: g.type,
2203
- width: g.width ? String(g.width) : void 0
2208
+ height: k.height ? String(k.height) : void 0,
2209
+ media: k.media,
2210
+ sizes: k.sizes,
2211
+ srcset: W(k.srcSet, u),
2212
+ type: k.type,
2213
+ width: k.width ? String(k.width) : void 0
2204
2214
  },
2205
2215
  children: []
2206
- })), y = {
2216
+ })), f = {
2207
2217
  kind: "element",
2208
2218
  tag: "img",
2209
2219
  attrs: {
2210
- alt: e,
2220
+ alt: n,
2211
2221
  class: "img",
2212
- fetchpriority: s ? "high" : void 0,
2213
- height: k ? void 0 : o ? String(o) : 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
2222
+ fetchpriority: p ? "high" : void 0,
2223
+ height: S ? void 0 : a ? String(a) : void 0,
2224
+ loading: o && !p ? "lazy" : void 0,
2225
+ sizes: q.length > 0 ? void 0 : V || void 0,
2226
+ src: W(x, u),
2227
+ srcset: E ? W(E, u) : void 0,
2228
+ width: S ? void 0 : M ? String(M) : void 0
2219
2229
  },
2220
2230
  children: []
2221
2231
  };
@@ -2223,44 +2233,44 @@ function Jt({
2223
2233
  kind: "element",
2224
2234
  tag: "picture",
2225
2235
  attrs: { "data-scheme": u },
2226
- children: [...L, ...A, y]
2236
+ children: [...C, ...T, f]
2227
2237
  };
2228
- }, Dt = (u) => {
2229
- const L = "(prefers-reduced-motion: no-preference)", A = M.map((g) => {
2230
- if (g.leadSrc)
2238
+ }, Vt = (u) => {
2239
+ const C = "(prefers-reduced-motion: no-preference)", T = q.map((k) => {
2240
+ if (k.leadSrc)
2231
2241
  return {
2232
2242
  kind: "element",
2233
2243
  tag: "source",
2234
2244
  attrs: {
2235
- height: g.height ? String(g.height) : void 0,
2236
- media: g.media ? `${L} and ${g.media}` : L,
2237
- sizes: g.sizes,
2238
- srcset: R(g.leadSrc, u),
2239
- type: g.type,
2240
- width: g.width ? String(g.width) : void 0
2245
+ height: k.height ? String(k.height) : void 0,
2246
+ media: k.media ? `${C} and ${k.media}` : C,
2247
+ sizes: k.sizes,
2248
+ srcset: W(k.leadSrc, u),
2249
+ type: k.type,
2250
+ width: k.width ? String(k.width) : void 0
2241
2251
  },
2242
2252
  children: []
2243
2253
  };
2244
- }).filter((g) => !!g);
2245
- A.push({
2254
+ }).filter((k) => !!k);
2255
+ T.push({
2246
2256
  kind: "element",
2247
2257
  tag: "source",
2248
2258
  attrs: {
2249
- media: L,
2250
- sizes: M.length > 0 ? void 0 : V || void 0,
2251
- srcset: R(I, u)
2259
+ media: C,
2260
+ sizes: q.length > 0 ? void 0 : V || void 0,
2261
+ srcset: W(L, u)
2252
2262
  },
2253
2263
  children: []
2254
2264
  });
2255
- const y = {
2265
+ const f = {
2256
2266
  kind: "element",
2257
2267
  tag: "img",
2258
2268
  attrs: {
2259
2269
  alt: "",
2260
2270
  class: "img",
2261
- height: k ? void 0 : o ? String(o) : void 0,
2262
- src: ot(T, u),
2263
- width: k ? void 0 : x ? String(x) : void 0
2271
+ height: S ? void 0 : a ? String(a) : void 0,
2272
+ src: ot(A, u),
2273
+ width: S ? void 0 : M ? String(M) : void 0
2264
2274
  },
2265
2275
  children: []
2266
2276
  };
@@ -2268,33 +2278,33 @@ function Jt({
2268
2278
  kind: "element",
2269
2279
  tag: "picture",
2270
2280
  attrs: { "data-scheme": u, "data-layer": "lead" },
2271
- children: [...A, y]
2281
+ children: [...T, f]
2272
2282
  };
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`), {
2283
+ }, dt = (u) => nt ? [gt(u), Vt(u)] : [gt(u)], Ht = I ? N ? [...dt("light"), ...dt("dark")] : dt() : t ? [rt("light"), rt("dark")] : [rt()], G = [];
2284
+ return a && G.push(`--set-image-block-size: ${a / 16}rem`), M && G.push(`--set-image-inline-size: ${M / 16}rem`), {
2275
2285
  kind: "element",
2276
2286
  tag: K,
2277
2287
  attrs: {
2278
2288
  class: "set-image",
2279
2289
  "data-adaptive": !!t,
2280
- "data-animated": !!n,
2290
+ "data-animated": !!I,
2281
2291
  "data-sequenced": nt,
2282
- "data-aspect-ratio": k && !o ? i : void 0,
2283
- "data-fluid": r === "fluid",
2284
- "data-gravity": k && a !== "C" ? a : void 0,
2285
- "data-shadow": !!h,
2286
- "data-object-fit": k ? "cover" : void 0,
2287
- "data-radius": !!c,
2288
- id: C,
2292
+ "data-aspect-ratio": S && !a ? e : void 0,
2293
+ "data-fluid": i === "fluid",
2294
+ "data-gravity": S && r !== "C" ? r : void 0,
2295
+ "data-shadow": !!c,
2296
+ "data-object-fit": S ? "cover" : void 0,
2297
+ "data-radius": !!l,
2298
+ id: w,
2289
2299
  style: G.length > 0 ? G.join("; ") : void 0
2290
2300
  },
2291
- children: Vt
2301
+ children: Ht
2292
2302
  };
2293
2303
  }
2294
- function te(t) {
2295
- return m(Jt(t));
2304
+ function ie(t) {
2305
+ return m(ee(t));
2296
2306
  }
2297
- function ee() {
2307
+ function ne() {
2298
2308
  if (customElements.get(K)) return;
2299
2309
  const t = "(prefers-reduced-motion: reduce)";
2300
2310
  class n extends HTMLElement {
@@ -2317,7 +2327,7 @@ function ee() {
2317
2327
  }
2318
2328
  customElements.define(K, n);
2319
2329
  }
2320
- const yi = {
2330
+ const Si = {
2321
2331
  name: "image",
2322
2332
  description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
2323
2333
  output: { element: K, class: "set-image" },
@@ -2325,12 +2335,7 @@ const yi = {
2325
2335
  props: {
2326
2336
  adaptive: {
2327
2337
  default: !1,
2328
- description: "Shows the image's light or dark variant to match the surrounding color scheme. Use with adaptive assets exported from Screen, which carry both variants in one file; the component selects one by adding `#light`/`#dark` to the URL. With `animated`, it pairs light/dark webp instead, via a `{scheme}` placeholder in the URLs.",
2329
- type: { kind: "boolean" }
2330
- },
2331
- animated: {
2332
- default: !1,
2333
- description: "Renders an animated image (e.g. `webp`) with a required `still` shown when the user prefers reduced motion. Combine with `adaptive` for light/dark theming: the `src`/`srcSet`/`sources` URLs then carry no Cloudinary version and a `{scheme}` placeholder — matching Screen's animated exports — which the component substitutes across a light/dark pair. The `still` gets `#light`/`#dark` appended. Without `adaptive`, renders a single, unthemed animated asset. Add a `leadSrc` to sequence: it plays once as an overlay, then reveals `src` after a fixed hold.",
2338
+ description: "Shows the image's light or dark variant to match the surrounding color scheme. Use with adaptive assets exported from Screen, which carry both variants in one file; the component selects one by adding `#light`/`#dark` to the URL. With an animated image (opted in by `stillSrc`), it pairs light/dark webp instead, via a `{scheme}` placeholder in the URLs.",
2334
2339
  type: { kind: "boolean" }
2335
2340
  },
2336
2341
  alt: {
@@ -2416,11 +2421,11 @@ const yi = {
2416
2421
  type: { kind: "string" }
2417
2422
  },
2418
2423
  leadSrc: {
2419
- description: "Intro overlay for this source in an `animated` sequence.",
2424
+ description: "Intro overlay for this source in an animated sequence.",
2420
2425
  type: { kind: "string" }
2421
2426
  },
2422
- still: {
2423
- description: "Reduced-motion still for this source, used when `animated`. For a light/dark still, use an adaptive SVG.",
2427
+ stillSrc: {
2428
+ description: "Reduced-motion still for this source's animated asset. For a light/dark still, use an adaptive SVG.",
2424
2429
  type: { kind: "string" }
2425
2430
  },
2426
2431
  type: {
@@ -2439,12 +2444,11 @@ const yi = {
2439
2444
  type: { kind: "string" }
2440
2445
  },
2441
2446
  leadSrc: {
2442
- description: "An intro overlay that sequences an `animated` image: `leadSrc` plays once, then the component reveals `src` after a fixed hold. Follows the same `{scheme}` rules as `animated` sources.",
2447
+ description: "An intro overlay that sequences an animated image (requires `stillSrc`): `leadSrc` plays once, then the component reveals `src` after a fixed hold. Follows the same `{scheme}` rules as animated sources (see `stillSrc`).",
2443
2448
  type: { kind: "string" }
2444
2449
  },
2445
- still: {
2446
- description: "Reduced-motion still shown when `animated` and the user prefers reduced motion. Any image works; for a light/dark still use an adaptive SVG exported from Screen, which the component selects with `#light`/`#dark` when combined with `adaptive`.",
2447
- requiredWhen: "`animated` is set",
2450
+ stillSrc: {
2451
+ description: "Reduced-motion still; providing it marks the image as animated (e.g. an animated `webp` in `src`). The still is shown when the user prefers reduced motion. Any image works; for a light/dark still use an adaptive SVG exported from Screen, which the component selects with `#light`/`#dark` when combined with `adaptive`. With `adaptive`, the animated `src`/`srcSet`/`sources` URLs carry no Cloudinary version and a `{scheme}` placeholder — matching Screen's animated exports — which the component substitutes across a light/dark pair; without it, a single unthemed animated asset renders. Add a `leadSrc` to sequence: it plays once as an overlay, then reveals `src` after a fixed hold.",
2448
2452
  type: { kind: "string" }
2449
2453
  },
2450
2454
  src: {
@@ -2468,7 +2472,7 @@ const yi = {
2468
2472
  {
2469
2473
  target: { on: "host" },
2470
2474
  attribute: "data-animated",
2471
- condition: { kind: "when-truthy", prop: "animated" }
2475
+ condition: { kind: "when-non-empty", prop: "stillSrc" }
2472
2476
  },
2473
2477
  {
2474
2478
  target: { on: "host" },
@@ -2546,11 +2550,11 @@ const yi = {
2546
2550
  }
2547
2551
  ]
2548
2552
  }
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) {
2553
+ }, X = "set-lightswitch", It = "set-lightswitch-change", st = "set-theme", lt = "Switch to dark theme", pt = "Switch to light theme";
2554
+ function re(t) {
2551
2555
  return t === "dark" ? "light" : "dark";
2552
2556
  }
2553
- function ne(t) {
2557
+ function ae(t) {
2554
2558
  return t === "dark" ? "moon" : "sunny";
2555
2559
  }
2556
2560
  function vt(t, n) {
@@ -2564,9 +2568,9 @@ function vt(t, n) {
2564
2568
  tag: "span",
2565
2569
  attrs: { class: "icon-wrapper" },
2566
2570
  children: [
2567
- P({
2571
+ R({
2568
2572
  ariaHidden: !0,
2569
- name: ne(t),
2573
+ name: ae(t),
2570
2574
  size: "fill"
2571
2575
  })
2572
2576
  ]
@@ -2580,14 +2584,14 @@ function vt(t, n) {
2580
2584
  ]
2581
2585
  };
2582
2586
  }
2583
- function re({
2587
+ function oe({
2584
2588
  appearance: t = "text",
2585
2589
  id: n,
2586
2590
  labelDark: e = lt,
2587
2591
  labelLight: i = pt,
2588
2592
  size: r = "md"
2589
2593
  }) {
2590
- const a = v(n), o = e.trim() === "" ? lt : e, d = i.trim() === "" ? pt : i;
2594
+ const a = b(n), d = e.trim() === "" ? lt : e, o = i.trim() === "" ? pt : i;
2591
2595
  return {
2592
2596
  kind: "element",
2593
2597
  tag: X,
@@ -2606,32 +2610,32 @@ function re({
2606
2610
  type: "button"
2607
2611
  },
2608
2612
  children: [
2609
- vt("dark", o),
2610
- vt("light", d)
2613
+ vt("dark", d),
2614
+ vt("light", o)
2611
2615
  ]
2612
2616
  }
2613
2617
  ]
2614
2618
  };
2615
2619
  }
2616
- function wi(t) {
2617
- return m(re(t));
2620
+ function xi(t) {
2621
+ return m(oe(t));
2618
2622
  }
2619
- function ae() {
2623
+ function de() {
2620
2624
  if (customElements.get(X)) return;
2621
2625
  class t extends HTMLElement {
2622
2626
  #t = (e) => {
2623
2627
  const i = e.target;
2624
2628
  if (!(i instanceof Element) || !i.closest("button")) return;
2625
- const r = ie(this.#u());
2626
- r === this.#r() ? this.#d() : this.#n(r), this.#a(), this.dispatchEvent(
2627
- new CustomEvent(qt, {
2629
+ const r = re(this.#u());
2630
+ r === this.#a() ? this.#r() : this.#n(r), this.#o(), this.dispatchEvent(
2631
+ new CustomEvent(It, {
2628
2632
  bubbles: !0,
2629
2633
  detail: { stored: !!this.#i(), theme: r }
2630
2634
  })
2631
2635
  );
2632
2636
  };
2633
2637
  connectedCallback() {
2634
- this.removeEventListener("click", this.#t), this.addEventListener("click", this.#t), this.#i() && this.#a();
2638
+ this.removeEventListener("click", this.#t), this.addEventListener("click", this.#t), this.#i() && this.#o();
2635
2639
  }
2636
2640
  disconnectedCallback() {
2637
2641
  this.removeEventListener("click", this.#t);
@@ -2657,13 +2661,13 @@ function ae() {
2657
2661
  } catch {
2658
2662
  }
2659
2663
  }
2660
- #d() {
2664
+ #r() {
2661
2665
  try {
2662
2666
  this.#e()?.removeItem(st);
2663
2667
  } catch {
2664
2668
  }
2665
2669
  }
2666
- #r() {
2670
+ #a() {
2667
2671
  const e = this.ownerDocument.defaultView;
2668
2672
  return !e || typeof e.matchMedia != "function" ? "light" : e.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2669
2673
  }
@@ -2675,9 +2679,9 @@ function ae() {
2675
2679
  return e === "light" || e === "dark" ? e : void 0;
2676
2680
  }
2677
2681
  #u() {
2678
- return this.#i() ?? this.#s() ?? this.#r();
2682
+ return this.#i() ?? this.#s() ?? this.#a();
2679
2683
  }
2680
- #a() {
2684
+ #o() {
2681
2685
  const e = this.#c();
2682
2686
  if (!e) return;
2683
2687
  const i = this.#i();
@@ -2686,7 +2690,7 @@ function ae() {
2686
2690
  }
2687
2691
  customElements.define(X, t);
2688
2692
  }
2689
- const Si = {
2693
+ const Ei = {
2690
2694
  name: "lightswitch",
2691
2695
  description: "Use `lightswitch` to let users toggle between light and dark themes.",
2692
2696
  output: { element: X, class: "set-lightswitch" },
@@ -2718,7 +2722,7 @@ const Si = {
2718
2722
  }
2719
2723
  },
2720
2724
  events: {
2721
- [qt]: {
2725
+ [It]: {
2722
2726
  bubbles: !0,
2723
2727
  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."
2724
2728
  }
@@ -2757,39 +2761,39 @@ const Si = {
2757
2761
  }
2758
2762
  ]
2759
2763
  }
2760
- }, Q = "set-menu", It = "set-menu-choose";
2761
- function oe({
2764
+ }, Q = "set-menu", At = "set-menu-choose";
2765
+ function se({
2762
2766
  align: t = "start",
2763
2767
  id: n,
2764
2768
  items: e,
2765
2769
  size: i = "md",
2766
2770
  triggerActivity: r,
2767
2771
  triggerIcon: a,
2768
- triggerIconMirrored: o,
2769
- triggerIconPlacement: d,
2770
- triggerLabel: l,
2772
+ triggerIconMirrored: d,
2773
+ triggerIconPlacement: o,
2774
+ triggerLabel: s,
2771
2775
  triggerLabelVisibility: p
2772
2776
  }) {
2773
- const s = n.trim();
2774
- if (!s)
2777
+ const l = n.trim();
2778
+ if (!l)
2775
2779
  throw new Error("id must be a non-empty string.");
2776
- if (!H(s))
2780
+ if (!H(l))
2777
2781
  throw new Error(
2778
2782
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2779
2783
  );
2780
2784
  if (!Array.isArray(e))
2781
2785
  throw new Error("items must be an array.");
2782
- const c = `${s}-button`, h = `${s}-popup`, b = e.map((w) => ({
2786
+ const c = `${l}-button`, h = `${l}-popup`, g = e.map((y) => ({
2783
2787
  kind: "element",
2784
2788
  tag: "button",
2785
2789
  attrs: {
2786
- "aria-disabled": w.disabled ? "true" : void 0,
2787
- "data-item-id": w.id || void 0,
2790
+ "aria-disabled": y.disabled ? "true" : void 0,
2791
+ "data-item-id": y.id || void 0,
2788
2792
  role: "menuitem",
2789
2793
  tabindex: "-1",
2790
2794
  type: "button"
2791
2795
  },
2792
- children: [{ kind: "text", value: w.label }]
2796
+ children: [{ kind: "text", value: y.label }]
2793
2797
  }));
2794
2798
  return {
2795
2799
  kind: "element",
@@ -2798,7 +2802,7 @@ function oe({
2798
2802
  class: "set-menu",
2799
2803
  "data-align": t === "start" ? void 0 : t,
2800
2804
  "data-size": i,
2801
- id: s
2805
+ id: l
2802
2806
  },
2803
2807
  children: [
2804
2808
  {
@@ -2813,10 +2817,10 @@ function oe({
2813
2817
  disclosure: !0,
2814
2818
  haspopup: "menu",
2815
2819
  icon: a,
2816
- iconMirrored: o,
2817
- iconPlacement: d,
2820
+ iconMirrored: d,
2821
+ iconPlacement: o,
2818
2822
  id: c,
2819
- label: l,
2823
+ label: s,
2820
2824
  labelVisibility: p,
2821
2825
  size: i,
2822
2826
  tone: "neutral",
@@ -2834,33 +2838,48 @@ function oe({
2834
2838
  id: h,
2835
2839
  role: "menu"
2836
2840
  },
2837
- children: b
2841
+ children: g
2838
2842
  }
2839
2843
  ]
2840
2844
  };
2841
2845
  }
2842
- function xi(t) {
2843
- return m(oe(t));
2846
+ function zi(t) {
2847
+ return m(se(t));
2844
2848
  }
2845
- function de() {
2849
+ function le() {
2846
2850
  if (customElements.get(Q)) return;
2847
2851
  class t extends HTMLElement {
2848
2852
  #t;
2849
2853
  #e;
2850
2854
  #i;
2851
2855
  #n;
2856
+ /**
2857
+ * Reactive mirror of the `triggerActivity` render prop. Toggles the busy
2858
+ * affordance on the trigger button at runtime; `null` clears it. Requires
2859
+ * the menu to be rendered primed (`triggerActivity: "idle"`) for the
2860
+ * spinner to appear.
2861
+ */
2862
+ get triggerActivity() {
2863
+ return this.#r()?.getAttribute(
2864
+ "data-activity"
2865
+ );
2866
+ }
2867
+ set triggerActivity(e) {
2868
+ const i = this.#r();
2869
+ i && Gt(i, e);
2870
+ }
2852
2871
  connectedCallback() {
2853
- this.#p(), this.#o(!1), this.#k();
2872
+ this.#p(), this.#d(!1), this.#k();
2854
2873
  }
2855
2874
  disconnectedCallback() {
2856
2875
  this.#p();
2857
2876
  }
2858
- #d() {
2877
+ #r() {
2859
2878
  return this.querySelector(
2860
2879
  '[data-part="trigger"] .set-button'
2861
2880
  );
2862
2881
  }
2863
- #r() {
2882
+ #a() {
2864
2883
  return this.querySelector('[role="menu"]');
2865
2884
  }
2866
2885
  #c() {
@@ -2874,18 +2893,18 @@ function de() {
2874
2893
  #u() {
2875
2894
  return this.hasAttribute("data-open");
2876
2895
  }
2877
- #a(e) {
2896
+ #o(e) {
2878
2897
  const i = this.#c();
2879
2898
  if (i.length === 0) return;
2880
2899
  const r = (e % i.length + i.length) % i.length;
2881
2900
  i[r]?.focus();
2882
2901
  }
2883
2902
  #l(e = 0) {
2884
- const i = this.#r(), r = this.#d();
2885
- !i || !r || (i.hidden = !1, this.setAttribute("data-open", ""), r.setAttribute("aria-expanded", "true"), this.#a(e));
2903
+ const i = this.#a(), r = this.#r();
2904
+ !i || !r || (i.hidden = !1, this.setAttribute("data-open", ""), r.setAttribute("aria-expanded", "true"), this.#o(e));
2886
2905
  }
2887
- #o(e = !1) {
2888
- const i = this.#r(), r = this.#d();
2906
+ #d(e = !1) {
2907
+ const i = this.#a(), r = this.#r();
2889
2908
  !i || !r || (i.hidden = !0, this.removeAttribute("data-open"), r.setAttribute("aria-expanded", "false"), e && r.focus());
2890
2909
  }
2891
2910
  #h(e) {
@@ -2893,7 +2912,7 @@ function de() {
2893
2912
  this.querySelectorAll('[role="menuitem"]')
2894
2913
  ).indexOf(e);
2895
2914
  this.dispatchEvent(
2896
- new CustomEvent(It, {
2915
+ new CustomEvent(At, {
2897
2916
  bubbles: !0,
2898
2917
  detail: {
2899
2918
  id: e.getAttribute("data-item-id") || void 0,
@@ -2909,7 +2928,7 @@ function de() {
2909
2928
  if (!(i instanceof Element)) return;
2910
2929
  if (i.closest('[data-part="trigger"] .set-button')) {
2911
2930
  if (this.#u()) {
2912
- this.#o();
2931
+ this.#d();
2913
2932
  return;
2914
2933
  }
2915
2934
  this.#l(0);
@@ -2917,38 +2936,38 @@ function de() {
2917
2936
  }
2918
2937
  const r = i.closest('[role="menuitem"]');
2919
2938
  if (r && this.contains(r)) {
2920
- this.#s(r) || (this.#h(r), this.#o(!0));
2939
+ this.#s(r) || (this.#h(r), this.#d(!0));
2921
2940
  return;
2922
2941
  }
2923
2942
  }, this.#e = (e) => {
2924
2943
  const i = e.target;
2925
- i instanceof Node && this.#u() && !this.contains(i) && this.#o();
2944
+ i instanceof Node && this.#u() && !this.contains(i) && this.#d();
2926
2945
  }, this.#n = (e) => {
2927
- const i = this.#d(), r = this.#r();
2946
+ const i = this.#r(), r = this.#a();
2928
2947
  if (!i || !r) return;
2929
2948
  if ((e.key === "Escape" || e.key === "Esc") && this.#u()) {
2930
- e.preventDefault(), this.#o(!0);
2949
+ e.preventDefault(), this.#d(!0);
2931
2950
  return;
2932
2951
  }
2933
- const a = this.ownerDocument.activeElement, o = this.#c(), d = o.indexOf(a);
2952
+ const a = this.ownerDocument.activeElement, d = this.#c(), o = d.indexOf(a);
2934
2953
  if (a === i) {
2935
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.#l(0)), e.key === "ArrowDown" && (e.preventDefault(), this.#l(0)), e.key === "ArrowUp" && (e.preventDefault(), this.#l(o.length - 1));
2954
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.#l(0)), e.key === "ArrowDown" && (e.preventDefault(), this.#l(0)), e.key === "ArrowUp" && (e.preventDefault(), this.#l(d.length - 1));
2936
2955
  return;
2937
2956
  }
2938
2957
  if (r.contains(a)) {
2939
2958
  if (a instanceof HTMLButtonElement && (e.key === "Enter" || e.key === " ")) {
2940
- e.preventDefault(), this.#s(a) || (this.#h(a), this.#o(!0));
2959
+ e.preventDefault(), this.#s(a) || (this.#h(a), this.#d(!0));
2941
2960
  return;
2942
2961
  }
2943
- e.key === "ArrowDown" && (e.preventDefault(), this.#a(d + 1)), e.key === "ArrowUp" && (e.preventDefault(), this.#a(d - 1)), e.key === "Home" && (e.preventDefault(), this.#a(0)), e.key === "End" && (e.preventDefault(), this.#a(o.length - 1)), e.key === "Tab" && this.#o(!1);
2962
+ e.key === "ArrowDown" && (e.preventDefault(), this.#o(o + 1)), e.key === "ArrowUp" && (e.preventDefault(), this.#o(o - 1)), e.key === "Home" && (e.preventDefault(), this.#o(0)), e.key === "End" && (e.preventDefault(), this.#o(d.length - 1)), e.key === "Tab" && this.#d(!1);
2944
2963
  }
2945
2964
  }, this.#i = (e) => {
2946
2965
  const i = e.relatedTarget;
2947
2966
  if (!(i instanceof Node)) {
2948
- this.#o();
2967
+ this.#d();
2949
2968
  return;
2950
2969
  }
2951
- this.contains(i) || this.#o();
2970
+ this.contains(i) || this.#d();
2952
2971
  }, this.addEventListener("click", this.#t), this.addEventListener("keydown", this.#n), this.addEventListener("focusout", this.#i), this.ownerDocument.addEventListener("click", this.#e);
2953
2972
  }
2954
2973
  #p() {
@@ -2957,7 +2976,7 @@ function de() {
2957
2976
  }
2958
2977
  customElements.define(Q, t);
2959
2978
  }
2960
- const Ei = {
2979
+ const Li = {
2961
2980
  name: "menu",
2962
2981
  description: "Use `menu` to show a list of actions from a trigger button.",
2963
2982
  output: {
@@ -3039,7 +3058,7 @@ const Ei = {
3039
3058
  }
3040
3059
  },
3041
3060
  events: {
3042
- [It]: {
3061
+ [At]: {
3043
3062
  bubbles: !0,
3044
3063
  description: "Fired when a menu item is activated.",
3045
3064
  detail: "{ id?: string; index: number; label: string }"
@@ -3100,14 +3119,14 @@ const Ei = {
3100
3119
  ]
3101
3120
  }
3102
3121
  }, ct = "Menu";
3103
- function se({
3122
+ function pe({
3104
3123
  controlsId: t,
3105
3124
  expanded: n,
3106
3125
  id: e,
3107
3126
  label: i = ct,
3108
3127
  size: r = "md"
3109
3128
  } = {}) {
3110
- const a = v(e), o = i.trim() === "" ? ct : i;
3129
+ const a = b(e), d = i.trim() === "" ? ct : i;
3111
3130
  return {
3112
3131
  kind: "element",
3113
3132
  tag: "button",
@@ -3135,17 +3154,17 @@ function se({
3135
3154
  kind: "element",
3136
3155
  tag: "span",
3137
3156
  attrs: { class: "visually-hidden" },
3138
- children: [{ kind: "text", value: o }]
3157
+ children: [{ kind: "text", value: d }]
3139
3158
  }
3140
3159
  ]
3141
3160
  }
3142
3161
  ]
3143
3162
  };
3144
3163
  }
3145
- function le(t = {}) {
3146
- return m(se(t));
3164
+ function ce(t = {}) {
3165
+ return m(pe(t));
3147
3166
  }
3148
- const zi = {
3167
+ const Ci = {
3149
3168
  name: "expander",
3150
3169
  description: "Use `expander` as a toggle for disclosure regions such as menus.",
3151
3170
  output: { element: "button", class: "set-expander" },
@@ -3211,22 +3230,22 @@ const zi = {
3211
3230
  ]
3212
3231
  }
3213
3232
  }, Y = "set-nav", ft = "data-set-scroll-locked";
3214
- function pe({
3233
+ function ue({
3215
3234
  collapsible: t,
3216
3235
  contentId: n,
3217
3236
  expanderLabel: e,
3218
3237
  expanderPosition: i = "start",
3219
3238
  id: r,
3220
3239
  items: a,
3221
- label: o,
3222
- size: d = "md"
3240
+ label: d,
3241
+ size: o = "md"
3223
3242
  }) {
3224
- const l = v(r), p = e?.trim() || void 0, s = n?.trim();
3225
- if (t && !s)
3243
+ const s = b(r), p = e?.trim() || void 0, l = n?.trim();
3244
+ if (t && !l)
3226
3245
  throw new Error(
3227
3246
  "contentId must be a non-empty string when collapsible is set."
3228
3247
  );
3229
- if (s && !H(s))
3248
+ if (l && !H(l))
3230
3249
  throw new Error(
3231
3250
  "contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'."
3232
3251
  );
@@ -3255,15 +3274,15 @@ function pe({
3255
3274
  "data-collapsible": t,
3256
3275
  "data-expander-label": t && p ? p : void 0,
3257
3276
  "data-expander-position": t ? i : void 0,
3258
- "data-size": d,
3259
- id: l
3277
+ "data-size": o,
3278
+ id: s
3260
3279
  },
3261
3280
  children: [
3262
3281
  {
3263
3282
  kind: "element",
3264
3283
  tag: "nav",
3265
3284
  attrs: {
3266
- "aria-label": o || void 0,
3285
+ "aria-label": d || void 0,
3267
3286
  class: "nav"
3268
3287
  },
3269
3288
  children: [
@@ -3272,7 +3291,7 @@ function pe({
3272
3291
  tag: "div",
3273
3292
  attrs: {
3274
3293
  class: "content",
3275
- id: s
3294
+ id: l
3276
3295
  },
3277
3296
  children: [
3278
3297
  {
@@ -3288,10 +3307,10 @@ function pe({
3288
3307
  ]
3289
3308
  };
3290
3309
  }
3291
- function Li(t) {
3292
- return m(pe(t));
3310
+ function Mi(t) {
3311
+ return m(ue(t));
3293
3312
  }
3294
- function ce() {
3313
+ function he() {
3295
3314
  if (customElements.get(Y)) return;
3296
3315
  class t extends HTMLElement {
3297
3316
  #t;
@@ -3299,26 +3318,26 @@ function ce() {
3299
3318
  #i;
3300
3319
  #n;
3301
3320
  connectedCallback() {
3302
- this.#o(), this.#h(), this.#c(), this.#u(), this.#a();
3321
+ this.#d(), this.#h(), this.#c(), this.#u(), this.#o();
3303
3322
  }
3304
3323
  disconnectedCallback() {
3305
- this.#s(!1), this.#o(), this.#h();
3324
+ this.#s(!1), this.#d(), this.#h();
3306
3325
  }
3307
- #d() {
3326
+ #r() {
3308
3327
  return this.hasAttribute("data-collapsible") ? this.querySelector(".nav") : null;
3309
3328
  }
3310
- #r() {
3329
+ #a() {
3311
3330
  return this.querySelector(
3312
3331
  '[data-part="expander"] .set-expander'
3313
3332
  );
3314
3333
  }
3315
3334
  #c() {
3316
- const e = this.#d();
3335
+ const e = this.#r();
3317
3336
  if (!e || e.querySelector('[data-part="expander"]')) return;
3318
3337
  const i = e.querySelector(".content");
3319
3338
  i && e.insertAdjacentHTML(
3320
3339
  "afterbegin",
3321
- `<div data-part="expander">${le({
3340
+ `<div data-part="expander">${ce({
3322
3341
  controlsId: i.id || void 0,
3323
3342
  label: this.getAttribute("data-expander-label") || void 0,
3324
3343
  size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
@@ -3326,19 +3345,19 @@ function ce() {
3326
3345
  );
3327
3346
  }
3328
3347
  #s(e) {
3329
- const i = this.#r();
3348
+ const i = this.#a();
3330
3349
  !i || i.getAttribute("aria-expanded") === "true" === e || (i.setAttribute("aria-expanded", e ? "true" : "false"), this.#l(e));
3331
3350
  }
3332
3351
  #u() {
3333
3352
  this.#t = (e) => {
3334
3353
  const i = e.target;
3335
3354
  if (!(i instanceof Element) || !i.closest('[data-part="expander"] .set-expander')) return;
3336
- const r = this.#r();
3355
+ const r = this.#a();
3337
3356
  r && this.#s(r.getAttribute("aria-expanded") !== "true");
3338
3357
  }, this.addEventListener("click", this.#t);
3339
3358
  }
3340
- #a() {
3341
- const e = this.#d(), i = this.ownerDocument.defaultView;
3359
+ #o() {
3360
+ const e = this.#r(), i = this.ownerDocument.defaultView;
3342
3361
  if (!e || !i || (this.#i = (a) => {
3343
3362
  a.key !== "Escape" && a.key !== "Esc" || this.#s(!1);
3344
3363
  }, i.addEventListener("keydown", this.#i), this.getAttribute("data-collapsible") !== "belowTablet") || typeof i.matchMedia != "function") return;
@@ -3357,7 +3376,7 @@ function ce() {
3357
3376
  i.removeAttribute(ft);
3358
3377
  }
3359
3378
  }
3360
- #o() {
3379
+ #d() {
3361
3380
  this.#t && (this.removeEventListener("click", this.#t), this.#t = void 0);
3362
3381
  }
3363
3382
  #h() {
@@ -3370,7 +3389,7 @@ function ce() {
3370
3389
  }
3371
3390
  customElements.define(Y, t);
3372
3391
  }
3373
- const Ci = {
3392
+ const qi = {
3374
3393
  name: "nav",
3375
3394
  description: "Use `nav` to render a primary navigation list.",
3376
3395
  output: { element: Y, class: "set-nav" },
@@ -3486,27 +3505,27 @@ const Ci = {
3486
3505
  ]
3487
3506
  }
3488
3507
  }, J = "set-range";
3489
- function ue({
3508
+ function me({
3490
3509
  description: t,
3491
3510
  disabled: n,
3492
3511
  id: e,
3493
3512
  inlineSize: i = "full",
3494
3513
  label: r,
3495
3514
  max: a,
3496
- min: o,
3497
- name: d,
3498
- size: l = "md",
3515
+ min: d,
3516
+ name: o,
3517
+ size: s = "md",
3499
3518
  step: p,
3500
- value: s
3519
+ value: l
3501
3520
  }) {
3502
- const c = e.trim(), h = t?.trim(), b = d?.trim();
3521
+ const c = e.trim(), h = t?.trim(), g = o?.trim();
3503
3522
  if (!c)
3504
3523
  throw new Error("id must be a non-empty string.");
3505
3524
  if (!H(c))
3506
3525
  throw new Error(
3507
3526
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
3508
3527
  );
3509
- const w = h ? `${c}-description` : void 0, f = [
3528
+ const y = h ? `${c}-description` : void 0, v = [
3510
3529
  {
3511
3530
  kind: "element",
3512
3531
  tag: "div",
@@ -3522,7 +3541,7 @@ function ue({
3522
3541
  kind: "element",
3523
3542
  tag: "output",
3524
3543
  attrs: { class: "output", for: c },
3525
- children: s != null ? [{ kind: "text", value: String(s) }] : []
3544
+ children: l != null ? [{ kind: "text", value: String(l) }] : []
3526
3545
  }
3527
3546
  ]
3528
3547
  },
@@ -3530,24 +3549,24 @@ function ue({
3530
3549
  kind: "element",
3531
3550
  tag: "input",
3532
3551
  attrs: {
3533
- "aria-describedby": w,
3552
+ "aria-describedby": y,
3534
3553
  class: "range",
3535
3554
  disabled: !!n,
3536
3555
  id: c,
3537
3556
  max: a != null ? String(a) : void 0,
3538
- min: o != null ? String(o) : void 0,
3539
- name: b || void 0,
3557
+ min: d != null ? String(d) : void 0,
3558
+ name: g || void 0,
3540
3559
  step: p != null ? String(p) : void 0,
3541
3560
  type: "range",
3542
- value: s != null ? String(s) : void 0
3561
+ value: l != null ? String(l) : void 0
3543
3562
  },
3544
3563
  children: []
3545
3564
  }
3546
3565
  ];
3547
- return h && f.push({
3566
+ return h && v.push({
3548
3567
  kind: "element",
3549
3568
  tag: "p",
3550
- attrs: { class: "description", id: w },
3569
+ attrs: { class: "description", id: y },
3551
3570
  children: [{ kind: "text", value: h }]
3552
3571
  }), {
3553
3572
  kind: "element",
@@ -3555,15 +3574,15 @@ function ue({
3555
3574
  attrs: {
3556
3575
  class: "set-range",
3557
3576
  "data-inline-size": i === "fit" ? "fit" : void 0,
3558
- "data-size": l
3577
+ "data-size": s
3559
3578
  },
3560
- children: f
3579
+ children: v
3561
3580
  };
3562
3581
  }
3563
- function Mi(t) {
3564
- return m(ue(t));
3582
+ function Ii(t) {
3583
+ return m(me(t));
3565
3584
  }
3566
- function he() {
3585
+ function ke() {
3567
3586
  if (customElements.get(J)) return;
3568
3587
  class t extends HTMLElement {
3569
3588
  #t;
@@ -3572,10 +3591,10 @@ function he() {
3572
3591
  i instanceof HTMLInputElement && i.matches(".range") && this.#i();
3573
3592
  };
3574
3593
  connectedCallback() {
3575
- this.removeEventListener("input", this.#e), this.#d(), this.#i(), this.addEventListener("input", this.#e);
3594
+ this.removeEventListener("input", this.#e), this.#r(), this.#i(), this.addEventListener("input", this.#e);
3576
3595
  }
3577
3596
  disconnectedCallback() {
3578
- this.removeEventListener("input", this.#e), this.#r();
3597
+ this.removeEventListener("input", this.#e), this.#a();
3579
3598
  }
3580
3599
  #i() {
3581
3600
  const e = this.querySelector(".range"), i = this.querySelector(".output");
@@ -3593,34 +3612,34 @@ function he() {
3593
3612
  // not fire an `input` event, so the output wouldn't track it. Override
3594
3613
  // the instance's `value` accessor to sync the output on set, restoring
3595
3614
  // the prototype behaviour on disconnect.
3596
- #d() {
3615
+ #r() {
3597
3616
  const e = this.querySelector(".range");
3598
3617
  if (!e || e === this.#t) return;
3599
- this.#r();
3618
+ this.#a();
3600
3619
  const i = Object.getOwnPropertyDescriptor(
3601
3620
  HTMLInputElement.prototype,
3602
3621
  "value"
3603
3622
  );
3604
3623
  if (!i?.get || !i.set) return;
3605
- const r = i.get, a = i.set, o = () => this.#i();
3624
+ const r = i.get, a = i.set, d = () => this.#i();
3606
3625
  Object.defineProperty(e, "value", {
3607
3626
  configurable: !0,
3608
3627
  enumerable: i.enumerable,
3609
3628
  get() {
3610
3629
  return r.call(this);
3611
3630
  },
3612
- set(d) {
3613
- a.call(this, d), o();
3631
+ set(o) {
3632
+ a.call(this, o), d();
3614
3633
  }
3615
3634
  }), this.#t = e;
3616
3635
  }
3617
- #r() {
3636
+ #a() {
3618
3637
  this.#t && (delete this.#t.value, this.#t = void 0);
3619
3638
  }
3620
3639
  }
3621
3640
  customElements.define(J, t);
3622
3641
  }
3623
- const qi = {
3642
+ const Ai = {
3624
3643
  name: "range",
3625
3644
  description: "Use `range` to let users pick a numeric value along a scale.",
3626
3645
  output: { element: J, class: "set-range" },
@@ -3752,8 +3771,8 @@ const qi = {
3752
3771
  }
3753
3772
  ]
3754
3773
  }
3755
- }, tt = "set-sidebar", me = "(min-width: 68em)", B = "Collapse sidebar", ut = "Open sidebar";
3756
- function ke(t, n) {
3774
+ }, tt = "set-sidebar", ge = "(min-width: 68em)", O = "Collapse sidebar", ut = "Open sidebar";
3775
+ function be(t, n) {
3757
3776
  return `<div data-part="close">${mt({
3758
3777
  appearance: "text",
3759
3778
  icon: "panel-left",
@@ -3765,18 +3784,18 @@ function ke(t, n) {
3765
3784
  type: "button"
3766
3785
  })}</div>`;
3767
3786
  }
3768
- function ge({
3787
+ function ve({
3769
3788
  aboveNotebook: t = "persistent",
3770
3789
  buttonSize: n = "md",
3771
3790
  children: e,
3772
- collapseLabel: i = B,
3791
+ collapseLabel: i = O,
3773
3792
  footer: r,
3774
3793
  header: a,
3775
- id: o,
3776
- surface: d,
3777
- triggerLabel: l = ut
3794
+ id: d,
3795
+ surface: o,
3796
+ triggerLabel: s = ut
3778
3797
  }) {
3779
- const p = o.trim(), s = i.trim() || B, c = l.trim() || ut;
3798
+ const p = d.trim(), l = i.trim() || O, c = s.trim() || ut;
3780
3799
  if (!p)
3781
3800
  throw new Error("id must be a non-empty string.");
3782
3801
  if (!H(p))
@@ -3803,14 +3822,14 @@ function ge({
3803
3822
  attrs: { class: "footer" },
3804
3823
  children: [{ kind: "raw", html: r }]
3805
3824
  });
3806
- const b = `${p}-panel`;
3825
+ const g = `${p}-panel`;
3807
3826
  return {
3808
3827
  kind: "element",
3809
3828
  tag: tt,
3810
3829
  attrs: {
3811
3830
  class: "set-sidebar",
3812
3831
  "data-above-notebook": t,
3813
- "data-collapse-label": s !== B ? s : void 0,
3832
+ "data-collapse-label": l !== O ? l : void 0,
3814
3833
  "data-button-size": n,
3815
3834
  id: p
3816
3835
  },
@@ -3822,7 +3841,7 @@ function ge({
3822
3841
  children: [
3823
3842
  ht({
3824
3843
  appearance: "text",
3825
- controls: b,
3844
+ controls: g,
3826
3845
  disclosure: !0,
3827
3846
  icon: "panel-left",
3828
3847
  iconMirrored: "rtl",
@@ -3839,8 +3858,8 @@ function ge({
3839
3858
  tag: "div",
3840
3859
  attrs: {
3841
3860
  class: "sidebar",
3842
- "data-set-surface": d,
3843
- id: b,
3861
+ "data-set-surface": o,
3862
+ id: g,
3844
3863
  tabindex: "-1"
3845
3864
  },
3846
3865
  children: h
@@ -3854,10 +3873,10 @@ function ge({
3854
3873
  ]
3855
3874
  };
3856
3875
  }
3857
- function Ii(t) {
3858
- return m(ge(t));
3876
+ function Ti(t) {
3877
+ return m(ve(t));
3859
3878
  }
3860
- function be() {
3879
+ function fe() {
3861
3880
  if (customElements.get(tt)) return;
3862
3881
  class t extends HTMLElement {
3863
3882
  #t;
@@ -3876,10 +3895,10 @@ function be() {
3876
3895
  close() {
3877
3896
  this.#b(!1);
3878
3897
  }
3879
- #d() {
3898
+ #r() {
3880
3899
  return this.querySelector(".sidebar");
3881
3900
  }
3882
- #r() {
3901
+ #a() {
3883
3902
  return this.querySelector(
3884
3903
  '[data-part="close"] .set-button'
3885
3904
  );
@@ -3895,29 +3914,29 @@ function be() {
3895
3914
  #u() {
3896
3915
  return this.hasAttribute("data-collapsed");
3897
3916
  }
3898
- #a() {
3917
+ #o() {
3899
3918
  const e = this.getAttribute("data-above-notebook");
3900
3919
  return e === "collapsible" || e === "overlay" ? e : "persistent";
3901
3920
  }
3902
3921
  #l() {
3903
- const e = this.#d();
3922
+ const e = this.#r();
3904
3923
  if (!e || e.querySelector('[data-part="close"]')) return;
3905
- const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || B, a = this.getAttribute("data-button-size") ?? "md";
3924
+ const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || O, a = this.getAttribute("data-button-size") ?? "md";
3906
3925
  i?.insertAdjacentHTML(
3907
3926
  "beforeend",
3908
- ke(r, a)
3927
+ be(r, a)
3909
3928
  );
3910
3929
  }
3911
- #o() {
3930
+ #d() {
3912
3931
  this.querySelector('[data-part="close"]')?.remove();
3913
3932
  }
3914
3933
  #h() {
3915
- const e = this.#r();
3934
+ const e = this.#a();
3916
3935
  if (e) {
3917
3936
  e.focus();
3918
3937
  return;
3919
3938
  }
3920
- this.#d()?.focus();
3939
+ this.#r()?.focus();
3921
3940
  }
3922
3941
  #k() {
3923
3942
  return this.#t?.matches ?? !1;
@@ -3930,7 +3949,7 @@ function be() {
3930
3949
  this.toggleAttribute("data-open", i), this.toggleAttribute("data-collapsed", e), r?.setAttribute("aria-expanded", i ? "true" : "false");
3931
3950
  }
3932
3951
  #g() {
3933
- const e = this.#a();
3952
+ const e = this.#o();
3934
3953
  if (this.#k()) {
3935
3954
  if (e === "overlay") {
3936
3955
  this.#l(), this.#p({ collapsed: !1, open: !1 }), this.#m(!1);
@@ -3943,13 +3962,13 @@ function be() {
3943
3962
  }), this.#m(!1);
3944
3963
  return;
3945
3964
  }
3946
- this.#o(), this.#p({ collapsed: !1, open: !0 }), this.#m(!1);
3965
+ this.#d(), this.#p({ collapsed: !1, open: !0 }), this.#m(!1);
3947
3966
  return;
3948
3967
  }
3949
3968
  this.#l(), this.#p({ collapsed: !1, open: !1 }), this.#m(!1);
3950
3969
  }
3951
3970
  #b(e) {
3952
- const i = this.#a();
3971
+ const i = this.#o();
3953
3972
  if (this.#k()) {
3954
3973
  if (i === "persistent") {
3955
3974
  this.#p({ collapsed: !1, open: !0 }), this.#m(!1);
@@ -3980,7 +3999,7 @@ function be() {
3980
3999
  }
3981
4000
  #f() {
3982
4001
  const e = this.ownerDocument.defaultView;
3983
- e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(me), this.#n = () => {
4002
+ e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(ge), this.#n = () => {
3984
4003
  this.#g();
3985
4004
  }, this.#t.addEventListener("change", this.#n), this.#g()), this.#e = (i) => {
3986
4005
  const r = i.target;
@@ -3990,7 +4009,7 @@ function be() {
3990
4009
  return;
3991
4010
  }
3992
4011
  if (r.closest('[data-part="close"] .set-button')) {
3993
- if (this.#k() && this.#a() === "collapsible") {
4012
+ if (this.#k() && this.#o() === "collapsible") {
3994
4013
  this.#b(this.#u());
3995
4014
  return;
3996
4015
  }
@@ -4009,7 +4028,7 @@ function be() {
4009
4028
  }
4010
4029
  customElements.define(tt, t);
4011
4030
  }
4012
- const Ti = {
4031
+ const _i = {
4013
4032
  name: "sidebar",
4014
4033
  description: "Use `sidebar` for a side panel alongside main content.",
4015
4034
  output: {
@@ -4043,7 +4062,7 @@ const Ti = {
4043
4062
  type: { kind: "html" }
4044
4063
  },
4045
4064
  collapseLabel: {
4046
- default: B,
4065
+ default: O,
4047
4066
  description: "Accessible label for the collapse button.",
4048
4067
  type: { kind: "string" }
4049
4068
  },
@@ -4100,7 +4119,7 @@ const Ti = {
4100
4119
  of: {
4101
4120
  kind: "when-equals",
4102
4121
  prop: "collapseLabel",
4103
- to: B
4122
+ to: O
4104
4123
  }
4105
4124
  }
4106
4125
  ]
@@ -4134,24 +4153,24 @@ const Ti = {
4134
4153
  ]
4135
4154
  }
4136
4155
  }, et = "set-video";
4137
- function ve({
4156
+ function ye({
4138
4157
  autoPlay: t,
4139
4158
  controls: n,
4140
4159
  fit: e = "intrinsic",
4141
4160
  height: i,
4142
4161
  id: r,
4143
4162
  loop: a,
4144
- muted: o,
4145
- playsInline: d,
4146
- poster: l,
4163
+ muted: d,
4164
+ playsInline: o,
4165
+ poster: s,
4147
4166
  preload: p,
4148
- src: s,
4167
+ src: l,
4149
4168
  width: c
4150
4169
  }) {
4151
- const h = v(r), b = s.trim(), w = l?.trim();
4152
- if (!b)
4170
+ const h = b(r), g = l.trim(), y = s?.trim();
4171
+ if (!g)
4153
4172
  throw new Error("src must be a non-empty string.");
4154
- const f = {
4173
+ const v = {
4155
4174
  kind: "element",
4156
4175
  tag: "video",
4157
4176
  attrs: {
@@ -4160,11 +4179,11 @@ function ve({
4160
4179
  controls: !!n,
4161
4180
  height: i ? String(i) : void 0,
4162
4181
  loop: !!a,
4163
- muted: !!o,
4164
- playsinline: !!d,
4165
- poster: w || void 0,
4182
+ muted: !!d,
4183
+ playsinline: !!o,
4184
+ poster: y || void 0,
4166
4185
  preload: p,
4167
- src: b,
4186
+ src: g,
4168
4187
  width: c ? String(c) : void 0
4169
4188
  },
4170
4189
  children: []
@@ -4177,14 +4196,14 @@ function ve({
4177
4196
  "data-fluid": e === "fluid",
4178
4197
  id: h
4179
4198
  },
4180
- children: [f]
4199
+ children: [v]
4181
4200
  };
4182
4201
  }
4183
- function Ai(t) {
4184
- return m(ve(t));
4202
+ function Di(t) {
4203
+ return m(ye(t));
4185
4204
  }
4186
- const fe = "(prefers-reduced-motion: reduce)";
4187
- function ye() {
4205
+ const we = "(prefers-reduced-motion: reduce)";
4206
+ function Se() {
4188
4207
  if (customElements.get(et)) return;
4189
4208
  class t extends HTMLElement {
4190
4209
  #t = !1;
@@ -4194,7 +4213,7 @@ function ye() {
4194
4213
  const e = this.querySelector("video");
4195
4214
  if (!e || (this.#t ||= e.hasAttribute("autoplay"), !this.#t)) return;
4196
4215
  const i = this.ownerDocument.defaultView;
4197
- !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(fe), this.#i = () => {
4216
+ !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(we), this.#i = () => {
4198
4217
  this.#n();
4199
4218
  }, this.#e.addEventListener("change", this.#i), this.#n());
4200
4219
  }
@@ -4209,7 +4228,7 @@ function ye() {
4209
4228
  }
4210
4229
  customElements.define(et, t);
4211
4230
  }
4212
- const _i = {
4231
+ const Vi = {
4213
4232
  name: "video",
4214
4233
  description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
4215
4234
  output: { element: et, class: "set-video" },
@@ -4337,49 +4356,49 @@ const _i = {
4337
4356
  ]
4338
4357
  }
4339
4358
  };
4340
- function we(t) {
4359
+ function xe(t) {
4341
4360
  return t ? /[A-Za-z]/.test(t) : !1;
4342
4361
  }
4343
- function Se(t) {
4362
+ function Ee(t) {
4344
4363
  return /^[a-z]/.test(t);
4345
4364
  }
4346
- function N(t) {
4365
+ function B(t) {
4347
4366
  const n = t.charAt(0);
4348
- return we(n) ? n : void 0;
4367
+ return xe(n) ? n : void 0;
4349
4368
  }
4350
- function xe(t) {
4351
- const n = O(t);
4369
+ function ze(t) {
4370
+ const n = P(t);
4352
4371
  if (!n) return;
4353
- const e = n.split(" "), i = N(e[0]);
4372
+ const e = n.split(" "), i = B(e[0]);
4354
4373
  if (!i) return;
4355
4374
  const r = [i.toUpperCase()];
4356
4375
  if (e.length === 1)
4357
4376
  return r[0];
4358
- const a = e.slice(1).find(Se);
4377
+ const a = e.slice(1).find(Ee);
4359
4378
  if (a) {
4360
- const d = N(a);
4361
- return d ? `${r[0]}${d}` : void 0;
4379
+ const o = B(a);
4380
+ return o ? `${r[0]}${o}` : void 0;
4362
4381
  }
4363
4382
  if (e.length === 2) {
4364
- const d = N(e[1]);
4365
- if (!d) return;
4366
- r.push(d);
4367
- const l = e[1].split("-").filter(Boolean);
4368
- if (l.length === 2) {
4369
- const p = N(l[1]);
4383
+ const o = B(e[1]);
4384
+ if (!o) return;
4385
+ r.push(o);
4386
+ const s = e[1].split("-").filter(Boolean);
4387
+ if (s.length === 2) {
4388
+ const p = B(s[1]);
4370
4389
  p && r.push(p);
4371
4390
  }
4372
4391
  return r.slice(0, 3).join("");
4373
4392
  }
4374
4393
  if (e.length === 3) {
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(""));
4394
+ const o = B(e[1]), s = B(e[2]);
4395
+ return !o || !s ? void 0 : (r.push(o, s), r.slice(0, 3).join(""));
4377
4396
  }
4378
- const o = N(e.at(-1) || "");
4379
- if (o)
4380
- return r.push(o), r.slice(0, 3).join("");
4397
+ const d = B(e.at(-1) || "");
4398
+ if (d)
4399
+ return r.push(d), r.slice(0, 3).join("");
4381
4400
  }
4382
- const Ee = {
4401
+ const Le = {
4383
4402
  bot: "robot-1",
4384
4403
  organization: "city-6",
4385
4404
  person: "user-1",
@@ -4395,15 +4414,15 @@ const Ee = {
4395
4414
  "08",
4396
4415
  "09"
4397
4416
  ];
4398
- function ze(t) {
4417
+ function Ce(t) {
4399
4418
  let n = 5381;
4400
4419
  for (const e of t)
4401
4420
  n = n * 33 ^ e.charCodeAt(0);
4402
4421
  return n >>> 0;
4403
4422
  }
4404
- function Le(t) {
4423
+ function Me(t) {
4405
4424
  if (t == null) return;
4406
- const n = O(t);
4425
+ const n = P(t);
4407
4426
  if (n) {
4408
4427
  if (n.length > 3)
4409
4428
  throw new Error("initials must normalize to 3 characters or fewer.");
@@ -4412,90 +4431,90 @@ function Le(t) {
4412
4431
  return n;
4413
4432
  }
4414
4433
  }
4415
- function Ce({
4434
+ function qe({
4416
4435
  alt: t,
4417
4436
  ariaHidden: n,
4418
4437
  name: e
4419
4438
  }) {
4420
4439
  if (!n)
4421
- return O(t) || O(e) || "Avatar";
4440
+ return P(t) || P(e) || "Avatar";
4422
4441
  }
4423
- function Me({
4442
+ function Ie({
4424
4443
  color: t,
4425
4444
  name: n
4426
4445
  }) {
4427
4446
  if (t) return t;
4428
4447
  if (n) {
4429
- const e = ze(n) % yt.length;
4448
+ const e = Ce(n) % yt.length;
4430
4449
  return yt[e];
4431
4450
  }
4432
4451
  return "neutral";
4433
4452
  }
4434
- function qe({
4453
+ function Ae({
4435
4454
  alt: t,
4436
4455
  ariaHidden: n,
4437
4456
  color: e,
4438
4457
  entity: i = "person",
4439
4458
  id: r,
4440
4459
  initials: a,
4441
- name: o,
4442
- size: d = "md",
4443
- src: l
4460
+ name: d,
4461
+ size: o = "md",
4462
+ src: s
4444
4463
  }) {
4445
- const p = v(r), s = Le(a), c = O(o), h = O(l), b = Ce({
4464
+ const p = b(r), l = Me(a), c = P(d), h = P(s), g = qe({
4446
4465
  alt: t,
4447
4466
  ariaHidden: n,
4448
4467
  name: c
4449
- }), w = s || xe(c), f = !!h, z = Me({
4468
+ }), y = l || ze(c), v = !!h, z = Ie({
4450
4469
  color: e,
4451
4470
  name: c
4452
- }), q = {
4471
+ }), M = {
4453
4472
  "aria-hidden": n ? "true" : void 0,
4454
- "aria-label": !n && !f ? b : void 0,
4473
+ "aria-label": !n && !v ? g : void 0,
4455
4474
  class: "set-avatar",
4456
4475
  "data-color": z === "neutral" ? void 0 : z,
4457
4476
  "data-entity": i === "person" ? void 0 : i,
4458
- "data-size": d,
4477
+ "data-size": o,
4459
4478
  id: p,
4460
- role: !n && !f ? "img" : void 0
4479
+ role: !n && !v ? "img" : void 0
4461
4480
  };
4462
- let x;
4463
- return f ? x = {
4481
+ let S;
4482
+ return v ? S = {
4464
4483
  kind: "element",
4465
4484
  tag: "img",
4466
4485
  attrs: {
4467
- alt: n ? "" : b || "",
4486
+ alt: n ? "" : g || "",
4468
4487
  class: "img",
4469
4488
  src: h
4470
4489
  },
4471
4490
  children: []
4472
- } : w ? x = {
4491
+ } : y ? S = {
4473
4492
  kind: "element",
4474
4493
  tag: "span",
4475
4494
  attrs: { class: "initials" },
4476
- children: [{ kind: "text", value: w }]
4477
- } : x = {
4495
+ children: [{ kind: "text", value: y }]
4496
+ } : S = {
4478
4497
  kind: "element",
4479
4498
  tag: "span",
4480
4499
  attrs: { class: "icon-wrapper" },
4481
4500
  children: [
4482
- P({
4501
+ R({
4483
4502
  ariaHidden: !0,
4484
- name: Ee[i],
4503
+ name: Le[i],
4485
4504
  size: "fill"
4486
4505
  })
4487
4506
  ]
4488
4507
  }, {
4489
4508
  kind: "element",
4490
4509
  tag: "span",
4491
- attrs: q,
4492
- children: [x]
4510
+ attrs: M,
4511
+ children: [S]
4493
4512
  };
4494
4513
  }
4495
- function Di(t) {
4496
- return m(qe(t));
4514
+ function Hi(t) {
4515
+ return m(Ae(t));
4497
4516
  }
4498
- const Vi = {
4517
+ const Ni = {
4499
4518
  name: "avatar",
4500
4519
  description: "Use `avatar` to visually represent a person, team, or entity.",
4501
4520
  output: { element: "span", class: "set-avatar" },
@@ -4602,14 +4621,14 @@ const Vi = {
4602
4621
  ]
4603
4622
  }
4604
4623
  };
4605
- function Ie({
4624
+ function Te({
4606
4625
  floating: t,
4607
4626
  id: n,
4608
4627
  label: e,
4609
4628
  size: i = "md",
4610
4629
  tone: r
4611
4630
  }) {
4612
- const a = v(n);
4631
+ const a = b(n);
4613
4632
  return {
4614
4633
  kind: "element",
4615
4634
  tag: "span",
@@ -4623,10 +4642,10 @@ function Ie({
4623
4642
  children: [{ kind: "text", value: e }]
4624
4643
  };
4625
4644
  }
4626
- function Hi(t) {
4627
- return m(Ie(t));
4645
+ function Bi(t) {
4646
+ return m(Te(t));
4628
4647
  }
4629
- const Ni = {
4648
+ const Oi = {
4630
4649
  name: "badge",
4631
4650
  description: "Use `badge` to annotate content with a short label.",
4632
4651
  output: { element: "span", class: "set-badge" },
@@ -4702,33 +4721,33 @@ function it({
4702
4721
  id: i,
4703
4722
  linkVisited: r = !0,
4704
4723
  measured: a,
4705
- monospaced: o,
4706
- responsive: d,
4707
- size: l = "md",
4724
+ monospaced: d,
4725
+ responsive: o,
4726
+ size: s = "md",
4708
4727
  tone: p = "default"
4709
4728
  }) {
4710
- const s = v(i), c = n === "p" ? "p" : "span", h = c === "p", b = h ? t ?? "start" : void 0;
4729
+ const l = b(i), c = n === "p" ? "p" : "span", h = c === "p", g = h ? t ?? "start" : void 0;
4711
4730
  return {
4712
4731
  kind: "element",
4713
4732
  tag: c,
4714
4733
  attrs: {
4715
4734
  class: "set-text",
4716
- "data-align": b && b !== "start" ? b : void 0,
4735
+ "data-align": g && g !== "start" ? g : void 0,
4717
4736
  "data-link-visited": r ? void 0 : "off",
4718
4737
  "data-measured": h ? a ?? !0 : void 0,
4719
- "data-monospaced": o,
4720
- "data-responsive": d,
4721
- "data-size": l,
4738
+ "data-monospaced": d,
4739
+ "data-responsive": o,
4740
+ "data-size": s,
4722
4741
  "data-tone": p === "muted" ? "muted" : void 0,
4723
- id: s
4742
+ id: l
4724
4743
  },
4725
4744
  children: [{ kind: "raw", html: e }]
4726
4745
  };
4727
4746
  }
4728
- function Bi(t) {
4747
+ function Pi(t) {
4729
4748
  return m(it(t));
4730
4749
  }
4731
- const Oi = {
4750
+ const Ri = {
4732
4751
  name: "text",
4733
4752
  description: "Use `text` for inline or paragraph body copy.",
4734
4753
  output: {
@@ -4852,23 +4871,23 @@ const Oi = {
4852
4871
  ]
4853
4872
  }
4854
4873
  };
4855
- function Te({
4874
+ function _e({
4856
4875
  align: t = "start",
4857
4876
  attribution: n,
4858
4877
  id: e,
4859
4878
  measured: i = !0,
4860
4879
  quote: r,
4861
4880
  responsive: a = !1,
4862
- size: o = "md"
4881
+ size: d = "md"
4863
4882
  }) {
4864
- const d = v(e);
4883
+ const o = b(e);
4865
4884
  return {
4866
4885
  kind: "element",
4867
4886
  tag: "figure",
4868
4887
  attrs: {
4869
4888
  class: "set-blockquote",
4870
4889
  "data-align": t === "start" ? void 0 : t,
4871
- id: d
4890
+ id: o
4872
4891
  },
4873
4892
  children: [
4874
4893
  {
@@ -4882,7 +4901,7 @@ function Te({
4882
4901
  children: r,
4883
4902
  measured: i,
4884
4903
  responsive: a,
4885
- size: o
4904
+ size: d
4886
4905
  })
4887
4906
  ]
4888
4907
  },
@@ -4902,10 +4921,10 @@ function Te({
4902
4921
  ]
4903
4922
  };
4904
4923
  }
4905
- function Pi(t) {
4906
- return m(Te(t));
4924
+ function Wi(t) {
4925
+ return m(_e(t));
4907
4926
  }
4908
- const Ri = {
4927
+ const Ui = {
4909
4928
  name: "blockquote",
4910
4929
  description: "Use `blockquote` to display a quote with attribution.",
4911
4930
  output: { element: "figure", class: "set-blockquote" },
@@ -4974,18 +4993,18 @@ const Ri = {
4974
4993
  ]
4975
4994
  }
4976
4995
  };
4977
- function Ae({
4996
+ function De({
4978
4997
  background: t = "default",
4979
4998
  border: n,
4980
4999
  children: e,
4981
5000
  id: i,
4982
5001
  paddingBlock: r = "md",
4983
5002
  paddingInline: a = "md",
4984
- radius: o,
4985
- responsive: d,
4986
- surface: l
5003
+ radius: d,
5004
+ responsive: o,
5005
+ surface: s
4987
5006
  }) {
4988
- const p = v(i);
5007
+ const p = b(i);
4989
5008
  return {
4990
5009
  kind: "element",
4991
5010
  tag: "div",
@@ -4993,20 +5012,20 @@ function Ae({
4993
5012
  class: "set-box",
4994
5013
  "data-background": t === "default" ? void 0 : t,
4995
5014
  "data-border": n,
4996
- "data-set-surface": l,
5015
+ "data-set-surface": s,
4997
5016
  "data-padding-block": r,
4998
5017
  "data-padding-inline": a,
4999
- "data-radius": o,
5000
- "data-responsive": d,
5018
+ "data-radius": d,
5019
+ "data-responsive": o,
5001
5020
  id: p
5002
5021
  },
5003
5022
  children: e ? [{ kind: "raw", html: e }] : []
5004
5023
  };
5005
5024
  }
5006
- function Wi(t) {
5007
- return m(Ae(t));
5025
+ function $i(t) {
5026
+ return m(De(t));
5008
5027
  }
5009
- const Ui = {
5028
+ const Gi = {
5010
5029
  name: "box",
5011
5030
  description: "Use `box` to inset content.",
5012
5031
  output: { element: "div", class: "set-box" },
@@ -5119,29 +5138,29 @@ const Ui = {
5119
5138
  ]
5120
5139
  }
5121
5140
  };
5122
- function _e({
5141
+ function Ve({
5123
5142
  description: t,
5124
5143
  headingLevel: n,
5125
5144
  href: e,
5126
5145
  id: i,
5127
5146
  note: r,
5128
5147
  surface: a,
5129
- title: o
5148
+ title: d
5130
5149
  }) {
5131
- const d = v(i), l = n ? `h${n}` : "div", p = e ? [
5150
+ const o = b(i), s = n ? `h${n}` : "div", p = e ? [
5132
5151
  {
5133
5152
  kind: "element",
5134
5153
  tag: "a",
5135
5154
  attrs: { href: e },
5136
- children: [{ kind: "text", value: o }]
5155
+ children: [{ kind: "text", value: d }]
5137
5156
  }
5138
- ] : [{ kind: "text", value: o }], s = r ? [{ kind: "raw", html: r }] : [];
5139
- r && e && s.push({
5157
+ ] : [{ kind: "text", value: d }], l = r ? [{ kind: "raw", html: r }] : [];
5158
+ r && e && l.push({
5140
5159
  kind: "element",
5141
5160
  tag: "span",
5142
5161
  attrs: { class: "icon-wrapper" },
5143
5162
  children: [
5144
- P({
5163
+ R({
5145
5164
  ariaHidden: !0,
5146
5165
  mirrored: "rtl",
5147
5166
  name: "arrow-right",
@@ -5158,7 +5177,7 @@ function _e({
5158
5177
  },
5159
5178
  {
5160
5179
  kind: "element",
5161
- tag: l,
5180
+ tag: s,
5162
5181
  attrs: { class: "title" },
5163
5182
  children: p
5164
5183
  },
@@ -5173,22 +5192,22 @@ function _e({
5173
5192
  kind: "element",
5174
5193
  tag: "p",
5175
5194
  attrs: { class: "note" },
5176
- children: s
5195
+ children: l
5177
5196
  }), {
5178
5197
  kind: "element",
5179
5198
  tag: "div",
5180
5199
  attrs: {
5181
5200
  class: "set-card",
5182
5201
  "data-set-surface": a,
5183
- id: d
5202
+ id: o
5184
5203
  },
5185
5204
  children: c
5186
5205
  };
5187
5206
  }
5188
- function $i(t) {
5189
- return m(_e(t));
5207
+ function Zi(t) {
5208
+ return m(Ve(t));
5190
5209
  }
5191
- const Gi = {
5210
+ const Fi = {
5192
5211
  name: "card",
5193
5212
  description: "Use `card` to display a summary for a single topic.",
5194
5213
  output: {
@@ -5256,22 +5275,22 @@ const Gi = {
5256
5275
  ]
5257
5276
  }
5258
5277
  };
5259
- function De({
5278
+ function He({
5260
5279
  checked: t,
5261
5280
  description: n,
5262
5281
  disabled: e,
5263
5282
  id: i,
5264
5283
  invalid: r,
5265
5284
  label: a,
5266
- name: o,
5267
- required: d,
5268
- size: l = "md",
5285
+ name: d,
5286
+ required: o,
5287
+ size: s = "md",
5269
5288
  value: p
5270
5289
  }) {
5271
- const s = v(i), c = n?.trim();
5272
- if (c && !s)
5290
+ const l = b(i), c = n?.trim();
5291
+ if (c && !l)
5273
5292
  throw new Error("id must be provided when description is provided.");
5274
- const h = c ? `${s}-description` : void 0, b = !!e, f = [
5293
+ const h = c ? `${l}-description` : void 0, g = !!e, v = [
5275
5294
  {
5276
5295
  kind: "element",
5277
5296
  tag: "label",
@@ -5282,13 +5301,13 @@ function De({
5282
5301
  tag: "input",
5283
5302
  attrs: {
5284
5303
  "aria-describedby": h,
5285
- "aria-invalid": !b && !!r ? "true" : void 0,
5304
+ "aria-invalid": !g && !!r ? "true" : void 0,
5286
5305
  checked: !!t,
5287
5306
  class: "checkbox",
5288
- disabled: b,
5289
- id: s,
5290
- name: o || void 0,
5291
- required: !!d,
5307
+ disabled: g,
5308
+ id: l,
5309
+ name: d || void 0,
5310
+ required: !!o,
5292
5311
  type: "checkbox",
5293
5312
  value: p || void 0
5294
5313
  },
@@ -5303,7 +5322,7 @@ function De({
5303
5322
  ]
5304
5323
  }
5305
5324
  ];
5306
- return c && f.push({
5325
+ return c && v.push({
5307
5326
  kind: "element",
5308
5327
  tag: "p",
5309
5328
  attrs: { class: "description", id: h },
@@ -5311,14 +5330,14 @@ function De({
5311
5330
  }), {
5312
5331
  kind: "element",
5313
5332
  tag: "div",
5314
- attrs: { class: "set-checkbox", "data-size": l },
5315
- children: f
5333
+ attrs: { class: "set-checkbox", "data-size": s },
5334
+ children: v
5316
5335
  };
5317
5336
  }
5318
- function Zi(t) {
5319
- return m(De(t));
5337
+ function ji(t) {
5338
+ return m(He(t));
5320
5339
  }
5321
- const Fi = {
5340
+ const Ki = {
5322
5341
  name: "checkbox",
5323
5342
  description: "Use `checkbox` to let users toggle a single option on or off.",
5324
5343
  output: { element: "div", class: "set-checkbox" },
@@ -5448,13 +5467,13 @@ const Fi = {
5448
5467
  ]
5449
5468
  }
5450
5469
  };
5451
- function Ve({
5470
+ function Ne({
5452
5471
  children: t,
5453
5472
  gutter: n = "default",
5454
5473
  id: e,
5455
5474
  maxInlineSize: i = "default"
5456
5475
  }) {
5457
- const r = v(e);
5476
+ const r = b(e);
5458
5477
  return {
5459
5478
  kind: "element",
5460
5479
  tag: "div",
@@ -5467,10 +5486,10 @@ function Ve({
5467
5486
  children: t ? [{ kind: "raw", html: t }] : []
5468
5487
  };
5469
5488
  }
5470
- function ji(t) {
5471
- return m(Ve(t));
5489
+ function Xi(t) {
5490
+ return m(Ne(t));
5472
5491
  }
5473
- const Ki = {
5492
+ const Qi = {
5474
5493
  name: "container",
5475
5494
  description: "Use `container` to wrap page-level content.",
5476
5495
  output: { element: "div", class: "set-container" },
@@ -5527,14 +5546,14 @@ const Ki = {
5527
5546
  ]
5528
5547
  }
5529
5548
  };
5530
- function He({
5549
+ function Be({
5531
5550
  children: t,
5532
5551
  id: n,
5533
5552
  open: e,
5534
5553
  summary: i,
5535
5554
  inlineSize: r = "full"
5536
5555
  }) {
5537
- const a = v(n);
5556
+ const a = b(n);
5538
5557
  return {
5539
5558
  kind: "element",
5540
5559
  tag: "details",
@@ -5555,7 +5574,7 @@ function He({
5555
5574
  tag: "span",
5556
5575
  attrs: { class: "marker" },
5557
5576
  children: [
5558
- P({
5577
+ R({
5559
5578
  ariaHidden: !0,
5560
5579
  name: "chevron-right",
5561
5580
  size: "sm"
@@ -5579,10 +5598,10 @@ function He({
5579
5598
  ]
5580
5599
  };
5581
5600
  }
5582
- function Xi(t) {
5583
- return m(He(t));
5601
+ function Yi(t) {
5602
+ return m(Be(t));
5584
5603
  }
5585
- const Qi = {
5604
+ const Ji = {
5586
5605
  name: "details",
5587
5606
  description: "Use `details` to let users expand and collapse a section of content.",
5588
5607
  output: { element: "details", class: "set-details" },
@@ -5641,12 +5660,12 @@ const Qi = {
5641
5660
  ]
5642
5661
  }
5643
5662
  };
5644
- function Ne({
5663
+ function Oe({
5645
5664
  id: t,
5646
5665
  orientation: n = "horizontal",
5647
5666
  tone: e = "default"
5648
5667
  } = {}) {
5649
- const i = v(t);
5668
+ const i = b(t);
5650
5669
  return {
5651
5670
  kind: "element",
5652
5671
  tag: n === "horizontal" ? "hr" : "span",
@@ -5660,10 +5679,10 @@ function Ne({
5660
5679
  children: []
5661
5680
  };
5662
5681
  }
5663
- function Yi(t = {}) {
5664
- return m(Ne(t));
5682
+ function tn(t = {}) {
5683
+ return m(Oe(t));
5665
5684
  }
5666
- const Ji = {
5685
+ const en = {
5667
5686
  name: "divider",
5668
5687
  description: "Use `divider` to separate sections with a rule.",
5669
5688
  output: {
@@ -5732,16 +5751,16 @@ function Tt({
5732
5751
  id: i,
5733
5752
  invalid: r,
5734
5753
  legend: a,
5735
- inlineSize: o = "full"
5754
+ inlineSize: d = "full"
5736
5755
  }) {
5737
- const d = n?.trim(), l = i.trim();
5738
- if (!l)
5756
+ const o = n?.trim(), s = i.trim();
5757
+ if (!s)
5739
5758
  throw new Error("id must be a non-empty string.");
5740
- if (!H(l))
5759
+ if (!H(s))
5741
5760
  throw new Error(
5742
5761
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
5743
5762
  );
5744
- const p = d ? `${l}-description` : void 0, s = !!e, c = !s && !!r, h = [
5763
+ const p = o ? `${s}-description` : void 0, l = !!e, c = !l && !!r, h = [
5745
5764
  {
5746
5765
  kind: "element",
5747
5766
  tag: "legend",
@@ -5749,29 +5768,29 @@ function Tt({
5749
5768
  children: [{ kind: "text", value: a }]
5750
5769
  }
5751
5770
  ];
5752
- return d && h.push({
5771
+ return o && h.push({
5753
5772
  kind: "element",
5754
5773
  tag: "p",
5755
5774
  attrs: { class: "description", id: p },
5756
- children: [{ kind: "text", value: d }]
5775
+ children: [{ kind: "text", value: o }]
5757
5776
  }), t && h.push({ kind: "raw", html: t }), {
5758
5777
  kind: "element",
5759
5778
  tag: "fieldset",
5760
5779
  attrs: {
5761
- "aria-describedby": d ? p : void 0,
5780
+ "aria-describedby": o ? p : void 0,
5762
5781
  "aria-invalid": c ? "true" : void 0,
5763
5782
  class: "set-fieldset",
5764
- "data-inline-size": o === "fit" ? "fit" : void 0,
5765
- disabled: s,
5766
- id: l
5783
+ "data-inline-size": d === "fit" ? "fit" : void 0,
5784
+ disabled: l,
5785
+ id: s
5767
5786
  },
5768
5787
  children: h
5769
5788
  };
5770
5789
  }
5771
- function tn(t) {
5790
+ function nn(t) {
5772
5791
  return m(Tt(t));
5773
5792
  }
5774
- const en = {
5793
+ const rn = {
5775
5794
  name: "fieldset",
5776
5795
  description: "Use `fieldset` to group related form controls under a legend.",
5777
5796
  output: { element: "fieldset", class: "set-fieldset" },
@@ -5859,7 +5878,7 @@ const en = {
5859
5878
  ]
5860
5879
  }
5861
5880
  };
5862
- function Be({
5881
+ function Pe({
5863
5882
  align: t = "start",
5864
5883
  caption: n,
5865
5884
  children: e,
@@ -5867,7 +5886,7 @@ function Be({
5867
5886
  inlineSize: r = "full",
5868
5887
  responsive: a = !1
5869
5888
  }) {
5870
- const o = v(i);
5889
+ const d = b(i);
5871
5890
  return {
5872
5891
  kind: "element",
5873
5892
  tag: "figure",
@@ -5875,7 +5894,7 @@ function Be({
5875
5894
  class: "set-figure",
5876
5895
  "data-align": t === "start" ? void 0 : t,
5877
5896
  "data-inline-size": r === "full" ? void 0 : r,
5878
- id: o
5897
+ id: d
5879
5898
  },
5880
5899
  children: [
5881
5900
  { kind: "raw", html: e },
@@ -5895,10 +5914,10 @@ function Be({
5895
5914
  ]
5896
5915
  };
5897
5916
  }
5898
- function nn(t) {
5899
- return m(Be(t));
5917
+ function an(t) {
5918
+ return m(Pe(t));
5900
5919
  }
5901
- const rn = {
5920
+ const on = {
5902
5921
  name: "figure",
5903
5922
  description: "Use `figure` to present media with a caption.",
5904
5923
  output: { element: "figure", class: "set-figure" },
@@ -5971,12 +5990,12 @@ const rn = {
5971
5990
  if (t !== void 0)
5972
5991
  return String(t);
5973
5992
  };
5974
- function Oe({
5993
+ function Re({
5975
5994
  children: t,
5976
5995
  gap: n = "default",
5977
5996
  id: e
5978
5997
  }) {
5979
- const i = v(e);
5998
+ const i = b(e);
5980
5999
  return {
5981
6000
  kind: "element",
5982
6001
  tag: "div",
@@ -5995,28 +6014,28 @@ function Oe({
5995
6014
  ]
5996
6015
  };
5997
6016
  }
5998
- function an(t) {
5999
- return m(Oe(t));
6017
+ function dn(t) {
6018
+ return m(Re(t));
6000
6019
  }
6001
- function Pe({
6020
+ function We({
6002
6021
  align: t,
6003
6022
  children: n,
6004
6023
  colSpan: e,
6005
6024
  colSpanNarrow: i,
6006
6025
  colSpanWide: r,
6007
6026
  colStart: a,
6008
- colStartNarrow: o,
6009
- colStartWide: d,
6010
- id: l,
6027
+ colStartNarrow: d,
6028
+ colStartWide: o,
6029
+ id: s,
6011
6030
  justify: p,
6012
- rowSpan: s,
6031
+ rowSpan: l,
6013
6032
  rowSpanNarrow: c,
6014
6033
  rowSpanWide: h,
6015
- rowStart: b,
6016
- rowStartNarrow: w,
6017
- rowStartWide: f
6034
+ rowStart: g,
6035
+ rowStartNarrow: y,
6036
+ rowStartWide: v
6018
6037
  }) {
6019
- const z = v(l);
6038
+ const z = b(s);
6020
6039
  return {
6021
6040
  kind: "element",
6022
6041
  tag: "div",
@@ -6025,26 +6044,26 @@ function Pe({
6025
6044
  "data-align": t,
6026
6045
  "data-justify": p,
6027
6046
  "data-col-span-narrow": _(i),
6028
- "data-col-start-narrow": _(o),
6047
+ "data-col-start-narrow": _(d),
6029
6048
  "data-col-span": _(e),
6030
6049
  "data-col-start": _(a),
6031
6050
  "data-col-span-wide": _(r),
6032
- "data-col-start-wide": _(d),
6051
+ "data-col-start-wide": _(o),
6033
6052
  "data-row-span-narrow": _(c),
6034
- "data-row-start-narrow": _(w),
6035
- "data-row-span": _(s),
6036
- "data-row-start": _(b),
6053
+ "data-row-start-narrow": _(y),
6054
+ "data-row-span": _(l),
6055
+ "data-row-start": _(g),
6037
6056
  "data-row-span-wide": _(h),
6038
- "data-row-start-wide": _(f),
6057
+ "data-row-start-wide": _(v),
6039
6058
  id: z
6040
6059
  },
6041
6060
  children: n ? [{ kind: "raw", html: n }] : []
6042
6061
  };
6043
6062
  }
6044
- function on(t) {
6045
- return m(Pe(t));
6063
+ function sn(t) {
6064
+ return m(We(t));
6046
6065
  }
6047
- const dn = {
6066
+ const ln = {
6048
6067
  name: "grid",
6049
6068
  description: "Use `grid` to lay out content in a 12-column responsive grid.",
6050
6069
  output: { element: "div", class: "set-grid" },
@@ -6090,7 +6109,7 @@ const dn = {
6090
6109
  min: 1,
6091
6110
  max: 12,
6092
6111
  integer: !0
6093
- }, sn = {
6112
+ }, pn = {
6094
6113
  name: "grid-item",
6095
6114
  description: "Use `grid-item` to place content within a `grid` layout.",
6096
6115
  output: { element: "div", class: "set-grid-item" },
@@ -6257,16 +6276,16 @@ const dn = {
6257
6276
  ]
6258
6277
  }
6259
6278
  };
6260
- function Re({
6279
+ function Ue({
6261
6280
  align: t = "start",
6262
6281
  id: n,
6263
6282
  level: e,
6264
6283
  opticalAlign: i,
6265
6284
  responsive: r,
6266
6285
  size: a = "md",
6267
- text: o
6286
+ text: d
6268
6287
  }) {
6269
- const d = v(n);
6288
+ const o = b(n);
6270
6289
  return {
6271
6290
  kind: "element",
6272
6291
  tag: e ? `h${e}` : "span",
@@ -6276,15 +6295,15 @@ function Re({
6276
6295
  "data-optical-align": i,
6277
6296
  "data-responsive": r,
6278
6297
  "data-size": a,
6279
- id: d
6298
+ id: o
6280
6299
  },
6281
- children: [{ kind: "text", value: o }]
6300
+ children: [{ kind: "text", value: d }]
6282
6301
  };
6283
6302
  }
6284
- function ln(t) {
6285
- return m(Re(t));
6303
+ function cn(t) {
6304
+ return m(Ue(t));
6286
6305
  }
6287
- const pn = {
6306
+ const un = {
6288
6307
  name: "heading",
6289
6308
  description: "Use `heading` to render heading text with consistent type.",
6290
6309
  output: {
@@ -6379,16 +6398,16 @@ const pn = {
6379
6398
  ]
6380
6399
  }
6381
6400
  };
6382
- function We({
6401
+ function $e({
6383
6402
  align: t = "center",
6384
6403
  as: n = "div",
6385
6404
  children: e,
6386
6405
  gap: i = "md",
6387
6406
  id: r,
6388
6407
  justify: a = "start",
6389
- nowrap: o
6408
+ nowrap: d
6390
6409
  }) {
6391
- const d = v(r);
6410
+ const o = b(r);
6392
6411
  return {
6393
6412
  kind: "element",
6394
6413
  tag: n,
@@ -6397,16 +6416,16 @@ function We({
6397
6416
  "data-align": t === "center" ? void 0 : t,
6398
6417
  "data-gap": i,
6399
6418
  "data-justify": a === "start" ? void 0 : a,
6400
- "data-nowrap": o,
6401
- id: d
6419
+ "data-nowrap": d,
6420
+ id: o
6402
6421
  },
6403
6422
  children: e ? [{ kind: "raw", html: e }] : []
6404
6423
  };
6405
6424
  }
6406
- function cn(t) {
6407
- return m(We(t));
6425
+ function hn(t) {
6426
+ return m($e(t));
6408
6427
  }
6409
- const un = {
6428
+ const mn = {
6410
6429
  name: "inline",
6411
6430
  description: "Use `inline` to lay out content in a horizontal row.",
6412
6431
  output: {
@@ -6491,35 +6510,35 @@ const un = {
6491
6510
  ]
6492
6511
  }
6493
6512
  };
6494
- function Ue({
6513
+ function Ge({
6495
6514
  autocomplete: t,
6496
6515
  description: n,
6497
6516
  disabled: e,
6498
6517
  id: i,
6499
6518
  invalid: r,
6500
6519
  label: a,
6501
- name: o,
6502
- pattern: d,
6503
- readOnly: l,
6520
+ name: d,
6521
+ pattern: o,
6522
+ readOnly: s,
6504
6523
  required: p,
6505
- size: s = "md",
6524
+ size: l = "md",
6506
6525
  spellcheck: c,
6507
6526
  type: h = "text",
6508
- value: b,
6509
- inlineSize: w = "full"
6527
+ value: g,
6528
+ inlineSize: y = "full"
6510
6529
  }) {
6511
- const f = i.trim(), z = n?.trim(), q = t === !1 ? !1 : t?.trim(), x = o?.trim(), k = d?.trim(), C = b;
6512
- if (!f)
6530
+ const v = i.trim(), z = n?.trim(), M = t === !1 ? !1 : t?.trim(), S = d?.trim(), w = o?.trim(), x = g;
6531
+ if (!v)
6513
6532
  throw new Error("id must be a non-empty string.");
6514
- if (!H(f))
6533
+ if (!H(v))
6515
6534
  throw new Error(
6516
6535
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
6517
6536
  );
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, $ = [
6537
+ const E = z ? `${v}-description` : void 0, L = h === "numeric", A = L ? "text" : h, V = w || (L ? "^[0-9]*$" : void 0), q = c === void 0 && L ? !1 : c, I = !!e, N = !I && !!s, $ = [
6519
6538
  {
6520
6539
  kind: "element",
6521
6540
  tag: "label",
6522
- attrs: { class: "label", for: f },
6541
+ attrs: { class: "label", for: v },
6523
6542
  children: [{ kind: "text", value: a }]
6524
6543
  },
6525
6544
  {
@@ -6527,19 +6546,19 @@ function Ue({
6527
6546
  tag: "input",
6528
6547
  attrs: {
6529
6548
  "aria-describedby": E,
6530
- "aria-invalid": !M && !U && !!r ? "true" : void 0,
6531
- autocomplete: q === !1 ? "off" : q || void 0,
6549
+ "aria-invalid": !I && !N && !!r ? "true" : void 0,
6550
+ autocomplete: M === !1 ? "off" : M || void 0,
6532
6551
  class: "input",
6533
- disabled: M,
6534
- id: f,
6535
- inputmode: S ? "numeric" : void 0,
6536
- name: x || void 0,
6537
- pattern: T,
6538
- readonly: U,
6552
+ disabled: I,
6553
+ id: v,
6554
+ inputmode: L ? "numeric" : void 0,
6555
+ name: S || void 0,
6556
+ pattern: V,
6557
+ readonly: N,
6539
6558
  required: !!p,
6540
- spellcheck: V === void 0 ? void 0 : String(V),
6541
- type: I,
6542
- value: C
6559
+ spellcheck: q === void 0 ? void 0 : String(q),
6560
+ type: A,
6561
+ value: x
6543
6562
  },
6544
6563
  children: []
6545
6564
  }
@@ -6554,16 +6573,16 @@ function Ue({
6554
6573
  tag: "div",
6555
6574
  attrs: {
6556
6575
  class: "set-input",
6557
- "data-size": s,
6558
- "data-inline-size": w === "fit" ? "fit" : void 0
6576
+ "data-size": l,
6577
+ "data-inline-size": y === "fit" ? "fit" : void 0
6559
6578
  },
6560
6579
  children: $
6561
6580
  };
6562
6581
  }
6563
- function hn(t) {
6564
- return m(Ue(t));
6582
+ function kn(t) {
6583
+ return m(Ge(t));
6565
6584
  }
6566
- const mn = {
6585
+ const gn = {
6567
6586
  name: "input",
6568
6587
  description: "Use `input` to collect a single line of text from users.",
6569
6588
  output: { element: "div", class: "set-input" },
@@ -6758,7 +6777,7 @@ const mn = {
6758
6777
  }
6759
6778
  ]
6760
6779
  }
6761
- }, $e = "0 0 6714.6 1200", Ge = "0 0 600 1200", Ze = [
6780
+ }, Ze = "0 0 6714.6 1200", Fe = "0 0 600 1200", je = [
6762
6781
  { x: 0, y: 0 },
6763
6782
  { x: 300, y: 0 },
6764
6783
  { x: 150, y: 300 },
@@ -6767,11 +6786,11 @@ const mn = {
6767
6786
  { x: 300, y: 600 },
6768
6787
  { x: 150, y: 900 },
6769
6788
  { x: 450, y: 900 }
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 = () => ({
6789
+ ], Ke = "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", Xe = 1163, _t = () => ({
6771
6790
  kind: "element",
6772
6791
  tag: "g",
6773
6792
  attrs: { class: "mark" },
6774
- children: Ze.map(({ x: t, y: n }) => ({
6793
+ children: je.map(({ x: t, y: n }) => ({
6775
6794
  kind: "element",
6776
6795
  tag: "rect",
6777
6796
  attrs: {
@@ -6782,19 +6801,19 @@ const mn = {
6782
6801
  },
6783
6802
  children: []
6784
6803
  }))
6785
- }), Ke = () => ({
6804
+ }), Qe = () => ({
6786
6805
  kind: "element",
6787
6806
  tag: "g",
6788
- attrs: { class: "word", transform: `translate(${je} 0)` },
6807
+ attrs: { class: "word", transform: `translate(${Xe} 0)` },
6789
6808
  children: [
6790
6809
  {
6791
6810
  kind: "element",
6792
6811
  tag: "path",
6793
- attrs: { d: Fe },
6812
+ attrs: { d: Ke },
6794
6813
  children: []
6795
6814
  }
6796
6815
  ]
6797
- }), _t = (t, n) => ({
6816
+ }), Dt = (t, n) => ({
6798
6817
  kind: "element",
6799
6818
  tag: "svg",
6800
6819
  attrs: {
@@ -6804,13 +6823,13 @@ const mn = {
6804
6823
  },
6805
6824
  children: n
6806
6825
  });
6807
- function Xe() {
6808
- return _t($e, [At(), Ke()]);
6826
+ function Ye() {
6827
+ return Dt(Ze, [_t(), Qe()]);
6809
6828
  }
6810
- function Qe() {
6811
- return _t(Ge, [At()]);
6829
+ function Je() {
6830
+ return Dt(Fe, [_t()]);
6812
6831
  }
6813
- function Ye({
6832
+ function ti({
6814
6833
  animated: t,
6815
6834
  id: n,
6816
6835
  label: e,
@@ -6818,7 +6837,7 @@ function Ye({
6818
6837
  tone: r = "default",
6819
6838
  variant: a = "primary"
6820
6839
  }) {
6821
- const o = v(n), d = !!t && (a === "primary" || a === "graphic"), l = [
6840
+ const d = b(n), o = !!t && (a === "primary" || a === "graphic"), s = [
6822
6841
  {
6823
6842
  kind: "element",
6824
6843
  tag: "span",
@@ -6826,26 +6845,26 @@ function Ye({
6826
6845
  children: [{ kind: "text", value: e }]
6827
6846
  }
6828
6847
  ];
6829
- return d && l.push(
6830
- a === "graphic" ? Qe() : Xe()
6848
+ return o && s.push(
6849
+ a === "graphic" ? Je() : Ye()
6831
6850
  ), {
6832
6851
  kind: "element",
6833
6852
  tag: "div",
6834
6853
  attrs: {
6835
6854
  class: "set-logo",
6836
- "data-animated": d,
6855
+ "data-animated": o,
6837
6856
  "data-size": i,
6838
6857
  "data-tone": r === "neutral" ? "neutral" : void 0,
6839
6858
  "data-variant": a === "primary" ? void 0 : a,
6840
- id: o
6859
+ id: d
6841
6860
  },
6842
- children: l
6861
+ children: s
6843
6862
  };
6844
6863
  }
6845
- function kn(t) {
6846
- return m(Ye(t));
6864
+ function bn(t) {
6865
+ return m(ti(t));
6847
6866
  }
6848
- const gn = {
6867
+ const vn = {
6849
6868
  name: "logo",
6850
6869
  description: "Use `logo` to display the brand mark.",
6851
6870
  output: { element: "div", class: "set-logo" },
@@ -6933,29 +6952,29 @@ const gn = {
6933
6952
  ]
6934
6953
  }
6935
6954
  };
6936
- function Je({
6955
+ function ei({
6937
6956
  banner: t,
6938
6957
  centerMain: n,
6939
6958
  children: e,
6940
6959
  footer: i,
6941
6960
  header: r,
6942
6961
  headerBorder: a,
6943
- headerSize: o = "md",
6944
- id: d,
6945
- stickyHeader: l
6962
+ headerSize: d = "md",
6963
+ id: o,
6964
+ stickyHeader: s
6946
6965
  }) {
6947
- const p = v(d), s = [];
6948
- return t && s.push({ kind: "raw", html: t }), s.push({
6966
+ const p = b(o), l = [];
6967
+ return t && l.push({ kind: "raw", html: t }), l.push({
6949
6968
  kind: "element",
6950
6969
  tag: "header",
6951
6970
  attrs: { class: "header" },
6952
6971
  children: [{ kind: "raw", html: r }]
6953
- }), s.push({
6972
+ }), l.push({
6954
6973
  kind: "element",
6955
6974
  tag: "main",
6956
6975
  attrs: { class: "main" },
6957
6976
  children: e ? [{ kind: "raw", html: e }] : []
6958
- }), s.push({
6977
+ }), l.push({
6959
6978
  kind: "element",
6960
6979
  tag: "footer",
6961
6980
  attrs: { class: "footer" },
@@ -6967,17 +6986,17 @@ function Je({
6967
6986
  class: "set-page",
6968
6987
  "data-center-main": n,
6969
6988
  "data-header-border": a,
6970
- "data-header-size": o,
6971
- "data-sticky-header": l,
6989
+ "data-header-size": d,
6990
+ "data-sticky-header": s,
6972
6991
  id: p
6973
6992
  },
6974
- children: s
6993
+ children: l
6975
6994
  };
6976
6995
  }
6977
- function bn(t) {
6978
- return m(Je(t));
6996
+ function fn(t) {
6997
+ return m(ei(t));
6979
6998
  }
6980
- const vn = {
6999
+ const yn = {
6981
7000
  name: "page",
6982
7001
  description: "Use `page` as the primary layout for header, main, and footer regions.",
6983
7002
  output: { element: "div", class: "set-page" },
@@ -7067,13 +7086,13 @@ const vn = {
7067
7086
  ]
7068
7087
  }
7069
7088
  };
7070
- function ti({
7089
+ function ii({
7071
7090
  children: t,
7072
7091
  id: n,
7073
7092
  padding: e = "md",
7074
7093
  surface: i
7075
7094
  }) {
7076
- const r = v(n);
7095
+ const r = b(n);
7077
7096
  return {
7078
7097
  kind: "element",
7079
7098
  tag: "div",
@@ -7086,10 +7105,10 @@ function ti({
7086
7105
  children: t ? [{ kind: "raw", html: t }] : []
7087
7106
  };
7088
7107
  }
7089
- function fn(t) {
7090
- return m(ti(t));
7108
+ function wn(t) {
7109
+ return m(ii(t));
7091
7110
  }
7092
- const yn = {
7111
+ const Sn = {
7093
7112
  name: "panel",
7094
7113
  description: "Use `panel` to group related content in a contained region.",
7095
7114
  output: { element: "div", class: "set-panel" },
@@ -7140,14 +7159,14 @@ const yn = {
7140
7159
  ]
7141
7160
  }
7142
7161
  };
7143
- function ei({
7162
+ function ni({
7144
7163
  children: t,
7145
7164
  id: n,
7146
7165
  size: e = "md",
7147
7166
  tone: i = "default",
7148
7167
  variant: r = "tile"
7149
7168
  } = {}) {
7150
- const a = v(n);
7169
+ const a = b(n);
7151
7170
  return {
7152
7171
  kind: "element",
7153
7172
  tag: "div",
@@ -7161,10 +7180,10 @@ function ei({
7161
7180
  children: t ? [{ kind: "raw", html: t }] : []
7162
7181
  };
7163
7182
  }
7164
- function wn(t = {}) {
7165
- return m(ei(t));
7183
+ function xn(t = {}) {
7184
+ return m(ni(t));
7166
7185
  }
7167
- const Sn = {
7186
+ const En = {
7168
7187
  name: "pattern",
7169
7188
  description: "Use `pattern` to render repeated visual language components behind content.",
7170
7189
  output: { element: "div", class: "set-pattern" },
@@ -7231,22 +7250,22 @@ const Sn = {
7231
7250
  ]
7232
7251
  }
7233
7252
  };
7234
- function xn(t) {
7235
- return te({
7253
+ function zn(t) {
7254
+ return ie({
7236
7255
  ...t,
7237
7256
  alt: "",
7238
7257
  fit: "cover",
7239
7258
  priority: !0
7240
7259
  });
7241
7260
  }
7242
- function ii({
7261
+ function ri({
7243
7262
  children: t,
7244
7263
  contentTheme: n,
7245
7264
  id: e,
7246
7265
  media: i,
7247
7266
  surface: r
7248
7267
  }) {
7249
- const a = v(e), o = n ? r ?? "default" : r, d = [
7268
+ const a = b(e), d = n ? r ?? "default" : r, o = [
7250
7269
  {
7251
7270
  kind: "element",
7252
7271
  tag: "div",
@@ -7254,7 +7273,7 @@ function ii({
7254
7273
  children: [{ kind: "raw", html: i }]
7255
7274
  }
7256
7275
  ];
7257
- return t && d.push({
7276
+ return t && o.push({
7258
7277
  kind: "element",
7259
7278
  tag: "div",
7260
7279
  attrs: { class: "content" },
@@ -7265,16 +7284,16 @@ function ii({
7265
7284
  attrs: {
7266
7285
  class: "set-poster",
7267
7286
  "data-set-content-theme": n,
7268
- "data-set-surface": o,
7287
+ "data-set-surface": d,
7269
7288
  id: a
7270
7289
  },
7271
- children: d
7290
+ children: o
7272
7291
  };
7273
7292
  }
7274
- function En(t) {
7275
- return m(ii(t));
7293
+ function Ln(t) {
7294
+ return m(ri(t));
7276
7295
  }
7277
- const zn = {
7296
+ const Cn = {
7278
7297
  name: "poster",
7279
7298
  description: "Use `poster` to layer content over background media.",
7280
7299
  output: { element: "div", class: "set-poster" },
@@ -7345,17 +7364,17 @@ const zn = {
7345
7364
  ]
7346
7365
  }
7347
7366
  };
7348
- function ni({
7367
+ function ai({
7349
7368
  align: t = "start",
7350
7369
  children: n,
7351
7370
  hangingPunctuation: e,
7352
7371
  id: i,
7353
7372
  linkVisited: r = !0,
7354
7373
  measured: a = !0,
7355
- monospaced: o,
7356
- responsive: d
7374
+ monospaced: d,
7375
+ responsive: o
7357
7376
  }) {
7358
- const l = v(i);
7377
+ const s = b(i);
7359
7378
  return {
7360
7379
  kind: "element",
7361
7380
  tag: "div",
@@ -7365,17 +7384,17 @@ function ni({
7365
7384
  "data-hanging-punctuation": e,
7366
7385
  "data-link-visited": r ? void 0 : "off",
7367
7386
  "data-measured": a,
7368
- "data-monospaced": o,
7369
- "data-responsive": d,
7370
- id: l
7387
+ "data-monospaced": d,
7388
+ "data-responsive": o,
7389
+ id: s
7371
7390
  },
7372
7391
  children: [{ kind: "raw", html: n }]
7373
7392
  };
7374
7393
  }
7375
- function Ln(t) {
7376
- return m(ni(t));
7394
+ function Mn(t) {
7395
+ return m(ai(t));
7377
7396
  }
7378
- const Cn = {
7397
+ const qn = {
7379
7398
  name: "prose",
7380
7399
  description: "Use `prose` to style rich-text markup.",
7381
7400
  output: { element: "div", class: "set-prose" },
@@ -7469,20 +7488,20 @@ const Cn = {
7469
7488
  ]
7470
7489
  }
7471
7490
  };
7472
- function ri({
7491
+ function oi({
7473
7492
  description: t,
7474
7493
  disabled: n,
7475
7494
  id: e,
7476
7495
  invalid: i,
7477
7496
  radios: r,
7478
7497
  legend: a,
7479
- name: o,
7480
- orientation: d = "vertical",
7481
- required: l,
7498
+ name: d,
7499
+ orientation: o = "vertical",
7500
+ required: s,
7482
7501
  size: p = "md",
7483
- value: s
7502
+ value: l
7484
7503
  }) {
7485
- const c = e.trim(), h = o.trim(), b = s?.trim();
7504
+ const c = e.trim(), h = d.trim(), g = l?.trim();
7486
7505
  if (!c)
7487
7506
  throw new Error("id must be a non-empty string.");
7488
7507
  if (!H(c))
@@ -7493,23 +7512,23 @@ function ri({
7493
7512
  throw new Error("name must be a non-empty string.");
7494
7513
  if (r.length < 2)
7495
7514
  throw new Error("radios must include at least 2 options.");
7496
- const w = r.map((k, C) => {
7497
- const E = k.value.trim(), S = k.label.trim(), I = k.description?.trim();
7515
+ const y = r.map((w, x) => {
7516
+ const E = w.value.trim(), L = w.label.trim(), A = w.description?.trim();
7498
7517
  if (!E)
7499
- throw new Error(`radios[${C}].value must be non-empty.`);
7500
- if (!S)
7501
- throw new Error(`radios[${C}].label must be non-empty.`);
7518
+ throw new Error(`radios[${x}].value must be non-empty.`);
7519
+ if (!L)
7520
+ throw new Error(`radios[${x}].label must be non-empty.`);
7502
7521
  return {
7503
- description: I,
7504
- disabled: !!k.disabled,
7505
- label: S,
7522
+ description: A,
7523
+ disabled: !!w.disabled,
7524
+ label: L,
7506
7525
  value: E
7507
7526
  };
7508
7527
  });
7509
- if (new Set(w.map((k) => k.value)).size !== w.length)
7528
+ if (new Set(y.map((w) => w.value)).size !== y.length)
7510
7529
  throw new Error("radios values must be unique.");
7511
- const z = !!n, q = w.map((k) => {
7512
- const C = !!k.disabled, E = k.description ? `${c}-${k.value}-description` : void 0, S = [
7530
+ const z = !!n, M = y.map((w) => {
7531
+ const x = !!w.disabled, E = w.description ? `${c}-${w.value}-description` : void 0, L = [
7513
7532
  {
7514
7533
  kind: "element",
7515
7534
  tag: "label",
@@ -7520,13 +7539,13 @@ function ri({
7520
7539
  tag: "input",
7521
7540
  attrs: {
7522
7541
  "aria-describedby": E,
7523
- checked: b === k.value,
7542
+ checked: g === w.value,
7524
7543
  class: "radio",
7525
- disabled: C,
7544
+ disabled: x,
7526
7545
  name: h,
7527
- required: !!l && !z && !C,
7546
+ required: !!s && !z && !x,
7528
7547
  type: "radio",
7529
- value: k.value
7548
+ value: w.value
7530
7549
  },
7531
7550
  children: []
7532
7551
  },
@@ -7534,21 +7553,21 @@ function ri({
7534
7553
  kind: "element",
7535
7554
  tag: "span",
7536
7555
  attrs: {},
7537
- children: [{ kind: "text", value: k.label }]
7556
+ children: [{ kind: "text", value: w.label }]
7538
7557
  }
7539
7558
  ]
7540
7559
  }
7541
7560
  ];
7542
- return k.description && S.push({
7561
+ return w.description && L.push({
7543
7562
  kind: "element",
7544
7563
  tag: "p",
7545
7564
  attrs: { class: "radio-description", id: E },
7546
- children: [{ kind: "text", value: k.description }]
7565
+ children: [{ kind: "text", value: w.description }]
7547
7566
  }), {
7548
7567
  kind: "element",
7549
7568
  tag: "div",
7550
7569
  attrs: { class: "radio-field" },
7551
- children: S
7570
+ children: L
7552
7571
  };
7553
7572
  });
7554
7573
  return Tt({
@@ -7557,10 +7576,10 @@ function ri({
7557
7576
  tag: "div",
7558
7577
  attrs: {
7559
7578
  class: "set-radios",
7560
- "data-orientation": d,
7579
+ "data-orientation": o,
7561
7580
  "data-size": p
7562
7581
  },
7563
- children: q
7582
+ children: M
7564
7583
  }),
7565
7584
  description: t,
7566
7585
  disabled: z,
@@ -7569,10 +7588,10 @@ function ri({
7569
7588
  legend: a
7570
7589
  });
7571
7590
  }
7572
- function Mn(t) {
7573
- return m(ri(t));
7591
+ function In(t) {
7592
+ return m(oi(t));
7574
7593
  }
7575
- const qn = {
7594
+ const An = {
7576
7595
  name: "radios",
7577
7596
  description: "Use `radios` to let users select one option from a short list.",
7578
7597
  output: { element: "fieldset", class: "set-fieldset" },
@@ -7721,17 +7740,17 @@ const qn = {
7721
7740
  ]
7722
7741
  }
7723
7742
  };
7724
- function ai({
7743
+ function di({
7725
7744
  appOverscrollBehavior: t,
7726
7745
  appRoot: n,
7727
7746
  brand: e = "mnsp",
7728
7747
  children: i,
7729
7748
  dir: r,
7730
7749
  id: a,
7731
- lang: o,
7732
- theme: d
7750
+ lang: d,
7751
+ theme: o
7733
7752
  }) {
7734
- const l = v(a);
7753
+ const s = b(a);
7735
7754
  return {
7736
7755
  kind: "element",
7737
7756
  tag: "div",
@@ -7740,18 +7759,18 @@ function ai({
7740
7759
  "data-app-root": n,
7741
7760
  "data-app-overscroll-behavior": t === "none" ? "none" : void 0,
7742
7761
  "data-set-brand": e,
7743
- "data-set-theme": d,
7744
- id: l,
7745
- lang: o === "" ? void 0 : o,
7762
+ "data-set-theme": o,
7763
+ id: s,
7764
+ lang: d === "" ? void 0 : d,
7746
7765
  dir: r
7747
7766
  },
7748
7767
  children: i ? [{ kind: "raw", html: i }] : []
7749
7768
  };
7750
7769
  }
7751
- function In(t) {
7752
- return m(ai(t));
7770
+ function Tn(t) {
7771
+ return m(di(t));
7753
7772
  }
7754
- const Tn = {
7773
+ const _n = {
7755
7774
  name: "root",
7756
7775
  description: "Mandatory top-level `root` wrapper for the Set system.",
7757
7776
  output: { element: "div", class: "set" },
@@ -7844,7 +7863,7 @@ const Tn = {
7844
7863
  ]
7845
7864
  }
7846
7865
  };
7847
- function oi({
7866
+ function si({
7848
7867
  align: t = "stretch",
7849
7868
  as: n = "div",
7850
7869
  children: e,
@@ -7852,7 +7871,7 @@ function oi({
7852
7871
  id: r,
7853
7872
  responsive: a
7854
7873
  }) {
7855
- const o = v(r);
7874
+ const d = b(r);
7856
7875
  return {
7857
7876
  kind: "element",
7858
7877
  tag: n,
@@ -7861,15 +7880,15 @@ function oi({
7861
7880
  "data-align": t === "stretch" ? void 0 : t,
7862
7881
  "data-gap": i,
7863
7882
  "data-responsive": a,
7864
- id: o
7883
+ id: d
7865
7884
  },
7866
7885
  children: e ? [{ kind: "raw", html: e }] : []
7867
7886
  };
7868
7887
  }
7869
- function An(t) {
7870
- return m(oi(t));
7888
+ function Dn(t) {
7889
+ return m(si(t));
7871
7890
  }
7872
- const _n = {
7891
+ const Vn = {
7873
7892
  name: "stack",
7874
7893
  description: "Use `stack` to lay out content in a vertical column.",
7875
7894
  output: {
@@ -7940,13 +7959,13 @@ const _n = {
7940
7959
  ]
7941
7960
  }
7942
7961
  };
7943
- function di({
7962
+ function li({
7944
7963
  children: t,
7945
7964
  contentTheme: n,
7946
7965
  id: e,
7947
7966
  variant: i = "default"
7948
7967
  }) {
7949
- const r = v(e);
7968
+ const r = b(e);
7950
7969
  return {
7951
7970
  kind: "element",
7952
7971
  tag: "div",
@@ -7959,10 +7978,10 @@ function di({
7959
7978
  children: [{ kind: "raw", html: t }]
7960
7979
  };
7961
7980
  }
7962
- function Dn(t) {
7963
- return m(di(t));
7981
+ function Hn(t) {
7982
+ return m(li(t));
7964
7983
  }
7965
- const Vn = {
7984
+ const Nn = {
7966
7985
  name: "surface",
7967
7986
  description: "Use `surface` to set a colour context for nested content.",
7968
7987
  output: { element: "div", class: "set-surface" },
@@ -8014,20 +8033,20 @@ const Vn = {
8014
8033
  ]
8015
8034
  }
8016
8035
  };
8017
- function si({
8036
+ function pi({
8018
8037
  checked: t,
8019
8038
  description: n,
8020
8039
  disabled: e,
8021
8040
  id: i,
8022
8041
  label: r,
8023
8042
  name: a,
8024
- size: o = "md",
8025
- value: d
8043
+ size: d = "md",
8044
+ value: o
8026
8045
  }) {
8027
- const l = v(i), p = n?.trim();
8028
- if (p && !l)
8046
+ const s = b(i), p = n?.trim();
8047
+ if (p && !s)
8029
8048
  throw new Error("id must be provided when description is provided.");
8030
- const s = p ? `${l}-description` : void 0, c = [
8049
+ const l = p ? `${s}-description` : void 0, c = [
8031
8050
  {
8032
8051
  kind: "element",
8033
8052
  tag: "label",
@@ -8037,15 +8056,15 @@ function si({
8037
8056
  kind: "element",
8038
8057
  tag: "input",
8039
8058
  attrs: {
8040
- "aria-describedby": s,
8059
+ "aria-describedby": l,
8041
8060
  checked: !!t,
8042
8061
  class: "switch",
8043
8062
  disabled: !!e,
8044
- id: l,
8063
+ id: s,
8045
8064
  name: a || void 0,
8046
8065
  role: "switch",
8047
8066
  type: "checkbox",
8048
- value: d || void 0
8067
+ value: o || void 0
8049
8068
  },
8050
8069
  children: []
8051
8070
  },
@@ -8061,19 +8080,19 @@ function si({
8061
8080
  return p && c.push({
8062
8081
  kind: "element",
8063
8082
  tag: "p",
8064
- attrs: { class: "description", id: s },
8083
+ attrs: { class: "description", id: l },
8065
8084
  children: [{ kind: "text", value: p }]
8066
8085
  }), {
8067
8086
  kind: "element",
8068
8087
  tag: "div",
8069
- attrs: { class: "set-switch", "data-size": o },
8088
+ attrs: { class: "set-switch", "data-size": d },
8070
8089
  children: c
8071
8090
  };
8072
8091
  }
8073
- function Hn(t) {
8074
- return m(si(t));
8092
+ function Bn(t) {
8093
+ return m(pi(t));
8075
8094
  }
8076
- const Nn = {
8095
+ const On = {
8077
8096
  name: "switch",
8078
8097
  description: "Use `switch` to let users instantly toggle a setting on or off.",
8079
8098
  output: { element: "div", class: "set-switch" },
@@ -8181,62 +8200,62 @@ const Nn = {
8181
8200
  ]
8182
8201
  }
8183
8202
  };
8184
- function li({
8203
+ function ci({
8185
8204
  autocomplete: t,
8186
8205
  description: n,
8187
8206
  disabled: e,
8188
8207
  id: i,
8189
8208
  invalid: r,
8190
8209
  label: a,
8191
- name: o,
8192
- readOnly: d,
8193
- required: l,
8210
+ name: d,
8211
+ readOnly: o,
8212
+ required: s,
8194
8213
  resize: p = "vertical",
8195
- rows: s = 2,
8214
+ rows: l = 2,
8196
8215
  size: c = "md",
8197
8216
  spellcheck: h,
8198
- value: b,
8199
- inlineSize: w = "full"
8217
+ value: g,
8218
+ inlineSize: y = "full"
8200
8219
  }) {
8201
- const f = i.trim(), z = n?.trim(), q = t === !1 ? !1 : t?.trim(), x = o?.trim(), k = b;
8202
- if (!f)
8220
+ const v = i.trim(), z = n?.trim(), M = t === !1 ? !1 : t?.trim(), S = d?.trim(), w = g;
8221
+ if (!v)
8203
8222
  throw new Error("id must be a non-empty string.");
8204
- if (!H(f))
8223
+ if (!H(v))
8205
8224
  throw new Error(
8206
8225
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
8207
8226
  );
8208
- if (!Number.isInteger(s) || s < 2)
8227
+ if (!Number.isInteger(l) || l < 2)
8209
8228
  throw new Error("rows must be an integer greater than or equal to 2.");
8210
- const C = z ? `${f}-description` : void 0, E = !!e, S = !E && !!d, T = [
8229
+ const x = z ? `${v}-description` : void 0, E = !!e, L = !E && !!o, V = [
8211
8230
  {
8212
8231
  kind: "element",
8213
8232
  tag: "label",
8214
- attrs: { class: "label", for: f },
8233
+ attrs: { class: "label", for: v },
8215
8234
  children: [{ kind: "text", value: a }]
8216
8235
  },
8217
8236
  {
8218
8237
  kind: "element",
8219
8238
  tag: "textarea",
8220
8239
  attrs: {
8221
- "aria-describedby": C,
8222
- "aria-invalid": !E && !S && !!r ? "true" : void 0,
8223
- autocomplete: q === !1 ? "off" : q || void 0,
8240
+ "aria-describedby": x,
8241
+ "aria-invalid": !E && !L && !!r ? "true" : void 0,
8242
+ autocomplete: M === !1 ? "off" : M || void 0,
8224
8243
  class: "textarea",
8225
8244
  disabled: E,
8226
- id: f,
8227
- name: x || void 0,
8228
- readonly: S,
8229
- required: !!l,
8230
- rows: String(s),
8245
+ id: v,
8246
+ name: S || void 0,
8247
+ readonly: L,
8248
+ required: !!s,
8249
+ rows: String(l),
8231
8250
  spellcheck: h === void 0 ? void 0 : String(h)
8232
8251
  },
8233
- children: [{ kind: "text", value: k || "" }]
8252
+ children: [{ kind: "text", value: w || "" }]
8234
8253
  }
8235
8254
  ];
8236
- return z && T.push({
8255
+ return z && V.push({
8237
8256
  kind: "element",
8238
8257
  tag: "p",
8239
- attrs: { class: "description", id: C },
8258
+ attrs: { class: "description", id: x },
8240
8259
  children: [{ kind: "text", value: z }]
8241
8260
  }), {
8242
8261
  kind: "element",
@@ -8245,15 +8264,15 @@ function li({
8245
8264
  class: "set-textarea",
8246
8265
  "data-resize": p === "none" ? "none" : void 0,
8247
8266
  "data-size": c,
8248
- "data-inline-size": w === "fit" ? "fit" : void 0
8267
+ "data-inline-size": y === "fit" ? "fit" : void 0
8249
8268
  },
8250
- children: T
8269
+ children: V
8251
8270
  };
8252
8271
  }
8253
- function Bn(t) {
8254
- return m(li(t));
8272
+ function Pn(t) {
8273
+ return m(ci(t));
8255
8274
  }
8256
- const On = {
8275
+ const Rn = {
8257
8276
  name: "textarea",
8258
8277
  description: "Use `textarea` to collect multiple lines of text from users.",
8259
8278
  output: { element: "div", class: "set-textarea" },
@@ -8442,168 +8461,169 @@ const On = {
8442
8461
  ]
8443
8462
  }
8444
8463
  };
8445
- function Pn() {
8446
- jt(), Yt(), ee(), ae(), de(), ce(), he(), be(), ye();
8464
+ function Wn() {
8465
+ Xt(), te(), ne(), de(), le(), he(), ke(), fe(), Se();
8447
8466
  }
8448
8467
  export {
8449
- Et as SET_ALERT_EVENT_BEFORE_DISMISS,
8450
- zt as SET_ALERT_EVENT_DISMISS,
8451
- ki as SET_ALERT_SPEC,
8468
+ zt as SET_ALERT_EVENT_BEFORE_DISMISS,
8469
+ Lt as SET_ALERT_EVENT_DISMISS,
8470
+ bi as SET_ALERT_SPEC,
8452
8471
  Z as SET_ALERT_TAG_NAME,
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,
8472
+ Ni as SET_AVATAR_SPEC,
8473
+ Oi as SET_BADGE_SPEC,
8474
+ Mt as SET_BANNER_EVENT_BEFORE_DISMISS,
8475
+ qt as SET_BANNER_EVENT_DISMISS,
8476
+ wi as SET_BANNER_SPEC,
8458
8477
  F as SET_BANNER_TAG_NAME,
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,
8478
+ Ui as SET_BLOCKQUOTE_SPEC,
8479
+ Gi as SET_BOX_SPEC,
8480
+ ki as SET_BUTTON_SPEC,
8481
+ Fi as SET_CARD_SPEC,
8482
+ Ki as SET_CHECKBOX_SPEC,
8483
+ Qi as SET_CONTAINER_SPEC,
8484
+ Ji as SET_DETAILS_SPEC,
8485
+ en as SET_DIVIDER_SPEC,
8486
+ Ci as SET_EXPANDER_SPEC,
8487
+ rn as SET_FIELDSET_SPEC,
8488
+ on as SET_FIGURE_SPEC,
8489
+ pn as SET_GRID_ITEM_SPEC,
8490
+ ln as SET_GRID_SPEC,
8491
+ un as SET_HEADING_SPEC,
8492
+ ui as SET_ICON_NAMES,
8493
+ hi as SET_ICON_SPEC,
8494
+ Si as SET_IMAGE_SPEC,
8476
8495
  K as SET_IMAGE_TAG_NAME,
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,
8496
+ mn as SET_INLINE_SPEC,
8497
+ gn as SET_INPUT_SPEC,
8498
+ It as SET_LIGHTSWITCH_EVENT_CHANGE,
8499
+ Ei as SET_LIGHTSWITCH_SPEC,
8481
8500
  st as SET_LIGHTSWITCH_STORAGE_KEY,
8482
8501
  X as SET_LIGHTSWITCH_TAG_NAME,
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,
8502
+ fi as SET_LINK_SPEC,
8503
+ vn as SET_LOGO_SPEC,
8504
+ At as SET_MENU_EVENT_CHOOSE,
8505
+ Li as SET_MENU_SPEC,
8487
8506
  Q as SET_MENU_TAG_NAME,
8488
- Ci as SET_NAV_SPEC,
8507
+ qi as SET_NAV_SPEC,
8489
8508
  Y as SET_NAV_TAG_NAME,
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,
8509
+ yn as SET_PAGE_SPEC,
8510
+ Sn as SET_PANEL_SPEC,
8511
+ En as SET_PATTERN_SPEC,
8512
+ Cn as SET_POSTER_SPEC,
8513
+ qn as SET_PROSE_SPEC,
8514
+ An as SET_RADIOS_SPEC,
8515
+ Ai as SET_RANGE_SPEC,
8497
8516
  J as SET_RANGE_TAG_NAME,
8498
- Tn as SET_ROOT_SPEC,
8499
- Ti as SET_SIDEBAR_SPEC,
8517
+ _n as SET_ROOT_SPEC,
8518
+ _i as SET_SIDEBAR_SPEC,
8500
8519
  tt as SET_SIDEBAR_TAG_NAME,
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,
8520
+ mi as SET_SPINNER_SPEC,
8521
+ Vn as SET_STACK_SPEC,
8522
+ Nn as SET_SURFACE_SPEC,
8523
+ On as SET_SWITCH_SPEC,
8524
+ Rn as SET_TEXTAREA_SPEC,
8525
+ Ri as SET_TEXT_SPEC,
8526
+ Vi as SET_VIDEO_SPEC,
8508
8527
  et as SET_VIDEO_TAG_NAME,
8509
- Ft as buildSetAlert,
8510
- qe as buildSetAvatar,
8511
- Ie as buildSetBadge,
8512
- Qt as buildSetBanner,
8513
- Te as buildSetBlockquote,
8514
- Ae as buildSetBox,
8528
+ Gt as applySetButtonActivity,
8529
+ Kt as buildSetAlert,
8530
+ Ae as buildSetAvatar,
8531
+ Te as buildSetBadge,
8532
+ Jt as buildSetBanner,
8533
+ _e as buildSetBlockquote,
8534
+ De as buildSetBox,
8515
8535
  ht as buildSetButton,
8516
- _e as buildSetCard,
8517
- De as buildSetCheckbox,
8518
- Ve as buildSetContainer,
8519
- He as buildSetDetails,
8520
- Ne as buildSetDivider,
8521
- se as buildSetExpander,
8536
+ Ve as buildSetCard,
8537
+ He as buildSetCheckbox,
8538
+ Ne as buildSetContainer,
8539
+ Be as buildSetDetails,
8540
+ Oe as buildSetDivider,
8541
+ pe as buildSetExpander,
8522
8542
  Tt as buildSetFieldset,
8523
- Be as buildSetFigure,
8524
- Oe as buildSetGrid,
8525
- Pe as buildSetGridItem,
8526
- Re as buildSetHeading,
8527
- P as buildSetIcon,
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,
8543
+ Pe as buildSetFigure,
8544
+ Re as buildSetGrid,
8545
+ We as buildSetGridItem,
8546
+ Ue as buildSetHeading,
8547
+ R as buildSetIcon,
8548
+ ee as buildSetImage,
8549
+ $e as buildSetInline,
8550
+ Ge as buildSetInput,
8551
+ oe as buildSetLightswitch,
8552
+ Ct as buildSetLink,
8553
+ ti as buildSetLogo,
8554
+ se as buildSetMenu,
8555
+ ue as buildSetNav,
8556
+ ei as buildSetPage,
8557
+ ii as buildSetPanel,
8558
+ ni as buildSetPattern,
8559
+ ri as buildSetPoster,
8560
+ ai as buildSetProse,
8561
+ oi as buildSetRadios,
8562
+ me as buildSetRange,
8563
+ di as buildSetRoot,
8564
+ ve as buildSetSidebar,
8565
+ Ut as buildSetSpinner,
8566
+ si as buildSetStack,
8567
+ li as buildSetSurface,
8568
+ pi as buildSetSwitch,
8549
8569
  it as buildSetText,
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,
8570
+ ci as buildSetTextarea,
8571
+ ye as buildSetVideo,
8572
+ Xt as defineSetAlert,
8573
+ te as defineSetBanner,
8574
+ Wn as defineSetComponents,
8575
+ ne as defineSetImage,
8576
+ de as defineSetLightswitch,
8577
+ le as defineSetMenu,
8578
+ he as defineSetNav,
8579
+ ke as defineSetRange,
8580
+ fe as defineSetSidebar,
8581
+ Se as defineSetVideo,
8582
+ ze as getSetInitials,
8583
+ gi as renderSetAlert,
8584
+ Hi as renderSetAvatar,
8585
+ Bi as renderSetBadge,
8586
+ yi as renderSetBanner,
8587
+ Wi as renderSetBlockquote,
8588
+ $i as renderSetBox,
8569
8589
  mt as renderSetButton,
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,
8590
+ Zi as renderSetCard,
8591
+ ji as renderSetCheckbox,
8592
+ Xi as renderSetContainer,
8593
+ Yi as renderSetDetails,
8594
+ tn as renderSetDivider,
8595
+ ce as renderSetExpander,
8596
+ nn as renderSetFieldset,
8597
+ an as renderSetFigure,
8598
+ dn as renderSetGrid,
8599
+ sn as renderSetGridItem,
8600
+ cn as renderSetHeading,
8601
+ Wt as renderSetIcon,
8602
+ ie as renderSetImage,
8603
+ hn as renderSetInline,
8604
+ kn as renderSetInput,
8605
+ xi as renderSetLightswitch,
8606
+ vi as renderSetLink,
8607
+ bn as renderSetLogo,
8608
+ zi as renderSetMenu,
8609
+ Mi as renderSetNav,
8610
+ fn as renderSetPage,
8611
+ wn as renderSetPanel,
8612
+ xn as renderSetPattern,
8613
+ Ln as renderSetPoster,
8614
+ zn as renderSetPosterImage,
8615
+ Mn as renderSetProse,
8616
+ In as renderSetRadios,
8617
+ Ii as renderSetRange,
8618
+ Tn as renderSetRoot,
8619
+ Ti as renderSetSidebar,
8600
8620
  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,
8621
+ Dn as renderSetStack,
8622
+ Hn as renderSetSurface,
8623
+ Bn as renderSetSwitch,
8624
+ Pi as renderSetText,
8625
+ Pn as renderSetTextarea,
8626
+ Di as renderSetVideo,
8607
8627
  m as serializeSetNode
8608
8628
  };
8609
8629
  //# sourceMappingURL=index.js.map