@monospaced/set-core 0.26.0 → 0.27.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.
Files changed (110) hide show
  1. package/dist/components/alert/alert.d.ts +3 -3
  2. package/dist/components/alert/alert.d.ts.map +1 -1
  3. package/dist/components/avatar/avatar.d.ts +3 -3
  4. package/dist/components/avatar/avatar.d.ts.map +1 -1
  5. package/dist/components/badge/badge.d.ts +2 -2
  6. package/dist/components/badge/badge.d.ts.map +1 -1
  7. package/dist/components/banner/banner.d.ts +2 -2
  8. package/dist/components/banner/banner.d.ts.map +1 -1
  9. package/dist/components/blockquote/blockquote.d.ts +3 -3
  10. package/dist/components/blockquote/blockquote.d.ts.map +1 -1
  11. package/dist/components/box/box.d.ts +3 -3
  12. package/dist/components/box/box.d.ts.map +1 -1
  13. package/dist/components/button/button.d.ts +3 -3
  14. package/dist/components/button/button.d.ts.map +1 -1
  15. package/dist/components/card/card.d.ts +4 -4
  16. package/dist/components/card/card.d.ts.map +1 -1
  17. package/dist/components/checkbox/checkbox.d.ts +3 -3
  18. package/dist/components/checkbox/checkbox.d.ts.map +1 -1
  19. package/dist/components/container/container.d.ts +2 -2
  20. package/dist/components/container/container.d.ts.map +1 -1
  21. package/dist/components/details/details.d.ts +3 -3
  22. package/dist/components/details/details.d.ts.map +1 -1
  23. package/dist/components/dither/dither.d.ts +3 -3
  24. package/dist/components/dither/dither.d.ts.map +1 -1
  25. package/dist/components/divider/divider.d.ts +2 -2
  26. package/dist/components/divider/divider.d.ts.map +1 -1
  27. package/dist/components/expander/expander.d.ts +2 -2
  28. package/dist/components/expander/expander.d.ts.map +1 -1
  29. package/dist/components/fieldset/fieldset.d.ts +3 -3
  30. package/dist/components/fieldset/fieldset.d.ts.map +1 -1
  31. package/dist/components/figure/figure.d.ts +3 -3
  32. package/dist/components/figure/figure.d.ts.map +1 -1
  33. package/dist/components/grid/grid.d.ts +3 -3
  34. package/dist/components/grid/grid.d.ts.map +1 -1
  35. package/dist/components/heading/heading.d.ts +3 -3
  36. package/dist/components/heading/heading.d.ts.map +1 -1
  37. package/dist/components/icon/icon.d.ts +2 -2
  38. package/dist/components/icon/icon.d.ts.map +1 -1
  39. package/dist/components/image/image.d.ts +3 -3
  40. package/dist/components/image/image.d.ts.map +1 -1
  41. package/dist/components/inline/inline.d.ts +3 -3
  42. package/dist/components/inline/inline.d.ts.map +1 -1
  43. package/dist/components/input/input.d.ts +3 -3
  44. package/dist/components/input/input.d.ts.map +1 -1
  45. package/dist/components/lightswitch/lightswitch.d.ts +2 -2
  46. package/dist/components/lightswitch/lightswitch.d.ts.map +1 -1
  47. package/dist/components/link/link.d.ts +2 -2
  48. package/dist/components/link/link.d.ts.map +1 -1
  49. package/dist/components/logo/logo.d.ts +2 -2
  50. package/dist/components/logo/logo.d.ts.map +1 -1
  51. package/dist/components/logo/logos-animated.d.ts +1 -1
  52. package/dist/components/logo/logos-animated.d.ts.map +1 -1
  53. package/dist/components/menu/menu.d.ts +5 -5
  54. package/dist/components/menu/menu.d.ts.map +1 -1
  55. package/dist/components/nav/nav.d.ts +2 -2
  56. package/dist/components/nav/nav.d.ts.map +1 -1
  57. package/dist/components/page/page.d.ts +4 -4
  58. package/dist/components/page/page.d.ts.map +1 -1
  59. package/dist/components/pattern/pattern.d.ts +3 -3
  60. package/dist/components/pattern/pattern.d.ts.map +1 -1
  61. package/dist/components/poster/poster.d.ts +5 -5
  62. package/dist/components/poster/poster.d.ts.map +1 -1
  63. package/dist/components/prose/prose.d.ts +3 -3
  64. package/dist/components/prose/prose.d.ts.map +1 -1
  65. package/dist/components/radios/radios.d.ts +3 -3
  66. package/dist/components/radios/radios.d.ts.map +1 -1
  67. package/dist/components/range/range.d.ts +3 -3
  68. package/dist/components/range/range.d.ts.map +1 -1
  69. package/dist/components/root/root.d.ts +2 -2
  70. package/dist/components/root/root.d.ts.map +1 -1
  71. package/dist/components/sidebar/sidebar.d.ts +4 -4
  72. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  73. package/dist/components/spinner/spinner.d.ts +2 -2
  74. package/dist/components/spinner/spinner.d.ts.map +1 -1
  75. package/dist/components/stack/stack.d.ts +2 -2
  76. package/dist/components/stack/stack.d.ts.map +1 -1
  77. package/dist/components/surface/surface.d.ts +3 -3
  78. package/dist/components/surface/surface.d.ts.map +1 -1
  79. package/dist/components/switch/switch.d.ts +3 -3
  80. package/dist/components/switch/switch.d.ts.map +1 -1
  81. package/dist/components/text/text.d.ts +3 -3
  82. package/dist/components/text/text.d.ts.map +1 -1
  83. package/dist/components/textarea/textarea.d.ts +3 -3
  84. package/dist/components/textarea/textarea.d.ts.map +1 -1
  85. package/dist/components/video/video.d.ts +2 -2
  86. package/dist/components/video/video.d.ts.map +1 -1
  87. package/dist/core-mnsp.css +1 -1
  88. package/dist/core-wrfr.css +1 -1
  89. package/dist/core.css +1 -1
  90. package/dist/helpers/scheme.d.ts +11 -0
  91. package/dist/helpers/scheme.d.ts.map +1 -0
  92. package/dist/index.d.ts +51 -47
  93. package/dist/index.d.ts.map +1 -1
  94. package/dist/index.js +562 -331
  95. package/dist/index.js.map +1 -1
  96. package/dist/runtime/canvas.d.ts +41 -0
  97. package/dist/runtime/canvas.d.ts.map +1 -0
  98. package/dist/runtime/dither.d.ts +68 -0
  99. package/dist/runtime/dither.d.ts.map +1 -0
  100. package/dist/runtime/easing.d.ts +13 -0
  101. package/dist/runtime/easing.d.ts.map +1 -0
  102. package/dist/runtime/frames.d.ts +22 -0
  103. package/dist/runtime/frames.d.ts.map +1 -0
  104. package/dist/runtime/tokens.d.ts +86 -0
  105. package/dist/runtime/tokens.d.ts.map +1 -0
  106. package/package.json +12 -7
  107. package/dist/index.cjs +0 -2
  108. package/dist/index.cjs.map +0 -1
  109. package/dist/test/spec.d.ts +0 -14
  110. package/dist/test/spec.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -1452,7 +1452,7 @@ function M() {
1452
1452
  }
1453
1453
  customElements.define(C, e);
1454
1454
  }
1455
- var N = {
1455
+ var ee = {
1456
1456
  name: "alert",
1457
1457
  category: "status",
1458
1458
  description: "Use `alert` to surface short, important messages.",
@@ -1661,13 +1661,13 @@ var N = {
1661
1661
  ] }
1662
1662
  };
1663
1663
  // src/components/link/link.ts
1664
- function P(e) {
1664
+ function N(e) {
1665
1665
  if (e) return e === !0 || e;
1666
1666
  }
1667
- function F(e) {
1667
+ function P(e) {
1668
1668
  let { appearance: t = "text", current: n, download: r, href: i, id: o, icon: s, iconPlacement: c = "start", label: l, labelVisibility: u = "visible", rel: d, size: f = "md", target: p, tone: m = "default", underline: h } = e, g = a(o), _ = s?.trim() || void 0;
1669
1669
  if (u !== "visible" && !_) throw Error("labelVisibility requires icon when label is not visible.");
1670
- let v = P(r), y = _ ? {
1670
+ let v = N(r), y = _ ? {
1671
1671
  kind: "element",
1672
1672
  tag: "span",
1673
1673
  attrs: { class: "icon-wrapper" },
@@ -1704,10 +1704,10 @@ function F(e) {
1704
1704
  children: y ? c === "end" ? [b, y] : [y, b] : [b]
1705
1705
  };
1706
1706
  }
1707
- function ee(e) {
1708
- return r(F(e));
1707
+ function te(e) {
1708
+ return r(P(e));
1709
1709
  }
1710
- var te = {
1710
+ var ne = {
1711
1711
  name: "link",
1712
1712
  category: "navigation",
1713
1713
  description: "Use `link` to navigate to another page or resource.",
@@ -1990,8 +1990,8 @@ var te = {
1990
1990
  }
1991
1991
  }
1992
1992
  ] }
1993
- }, I = "set-banner", L = "set-banner-before-dismiss", R = "set-banner-dismiss", z = "Dismiss banner";
1994
- function ne(e, t) {
1993
+ }, F = "set-banner", I = "set-banner-before-dismiss", L = "set-banner-dismiss", R = "Dismiss banner";
1994
+ function re(e, t) {
1995
1995
  let n = t.createElement("div");
1996
1996
  return n.setAttribute("data-part", "close"), n.innerHTML = b({
1997
1997
  appearance: "text",
@@ -2002,22 +2002,22 @@ function ne(e, t) {
2002
2002
  tone: "neutral"
2003
2003
  }), n;
2004
2004
  }
2005
- function re({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLabel: r = z, id: i, message: o, tone: s }) {
2005
+ function ie({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLabel: r = R, id: i, message: o, tone: s }) {
2006
2006
  if (!!e != !!t) throw Error("actionHref and actionLabel must be provided together.");
2007
- let c = a(i), l = r.trim() === "" ? z : r, u = [{
2007
+ let c = a(i), l = r.trim() === "" ? R : r, u = [{
2008
2008
  kind: "text",
2009
2009
  value: o
2010
2010
  }];
2011
2011
  return e && t && (u.push({
2012
2012
  kind: "text",
2013
2013
  value: " "
2014
- }), u.push(F({
2014
+ }), u.push(P({
2015
2015
  href: e,
2016
2016
  label: t,
2017
2017
  underline: !0
2018
2018
  }))), {
2019
2019
  kind: "element",
2020
- tag: I,
2020
+ tag: F,
2021
2021
  attrs: {
2022
2022
  class: "set-banner",
2023
2023
  "data-set-content-theme": "dark",
@@ -2035,20 +2035,20 @@ function re({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLab
2035
2035
  }]
2036
2036
  };
2037
2037
  }
2038
- function ie(e) {
2039
- return r(re(e));
2038
+ function ae(e) {
2039
+ return r(ie(e));
2040
2040
  }
2041
- function ae() {
2041
+ function oe() {
2042
2042
  if (customElements.get("set-banner")) return;
2043
2043
  class e extends HTMLElement {
2044
2044
  #e = (e) => {
2045
2045
  let t = e.target;
2046
2046
  if (!(t instanceof Element) || !t.closest("[data-part=\"close\"]")) return;
2047
- let n = new CustomEvent(L, {
2047
+ let n = new CustomEvent(I, {
2048
2048
  bubbles: !0,
2049
2049
  cancelable: !0
2050
2050
  });
2051
- this.dispatchEvent(n) && (this.dispatchEvent(new CustomEvent(R, { bubbles: !0 })), this.remove());
2051
+ this.dispatchEvent(n) && (this.dispatchEvent(new CustomEvent(L, { bubbles: !0 })), this.remove());
2052
2052
  };
2053
2053
  connectedCallback() {
2054
2054
  this.removeEventListener("click", this.#e), this.hasAttribute("data-dismissible") && (this.#t(), this.addEventListener("click", this.#e));
@@ -2057,17 +2057,17 @@ function ae() {
2057
2057
  this.removeEventListener("click", this.#e);
2058
2058
  }
2059
2059
  #t() {
2060
- this.querySelector("[data-part=\"close\"]") || this.append(ne(this.getAttribute("data-dismissible-label") ?? z, this.ownerDocument));
2060
+ this.querySelector("[data-part=\"close\"]") || this.append(re(this.getAttribute("data-dismissible-label") ?? R, this.ownerDocument));
2061
2061
  }
2062
2062
  }
2063
- customElements.define(I, e);
2063
+ customElements.define(F, e);
2064
2064
  }
2065
- var oe = {
2065
+ var se = {
2066
2066
  name: "banner",
2067
2067
  category: "status",
2068
2068
  description: "Use `banner` to display a prominent site-wide message.",
2069
2069
  output: {
2070
- element: I,
2070
+ element: F,
2071
2071
  class: "set-banner"
2072
2072
  },
2073
2073
  content: {
@@ -2091,7 +2091,7 @@ var oe = {
2091
2091
  type: { kind: "boolean" }
2092
2092
  },
2093
2093
  dismissibleLabel: {
2094
- default: z,
2094
+ default: R,
2095
2095
  description: "Accessible label for the dismiss control.",
2096
2096
  ignoredWhen: "`dismissible` is false",
2097
2097
  type: { kind: "string" }
@@ -2118,12 +2118,12 @@ var oe = {
2118
2118
  }
2119
2119
  },
2120
2120
  events: {
2121
- [L]: {
2121
+ [I]: {
2122
2122
  bubbles: !0,
2123
2123
  cancelable: !0,
2124
2124
  description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
2125
2125
  },
2126
- [R]: {
2126
+ [L]: {
2127
2127
  bubbles: !0,
2128
2128
  description: "Fired after the banner has been removed by an allowed dismiss action."
2129
2129
  }
@@ -2180,8 +2180,8 @@ var oe = {
2180
2180
  }
2181
2181
  }
2182
2182
  ] }
2183
- }, B = "set-image";
2184
- function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gravity: i = "C", height: o, id: s, lazy: c, leadSrc: l, priority: u, radius: d, shadow: f, sizes: p, sources: m, src: h, srcSet: g, stillSrc: _, width: v }) {
2183
+ }, z = "set-image";
2184
+ function ce({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gravity: i = "C", height: o, id: s, lazy: c, leadSrc: l, priority: u, radius: d, shadow: f, sizes: p, sources: m, src: h, srcSet: g, stillSrc: _, width: v }) {
2185
2185
  let y = r === "cover", b = a(s), x = h.trim(), S = g?.trim(), C = l?.trim(), w = _?.trim(), T = p?.trim(), E = m?.map((e, t) => {
2186
2186
  let n = e.srcSet.trim(), r = e.media?.trim(), i = e.type?.trim(), a = e.sizes?.trim(), o = e.leadSrc?.trim(), s = e.stillSrc?.trim();
2187
2187
  if (!n) throw Error(`sources[${t}].srcSet must be non-empty.`);
@@ -2258,14 +2258,22 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2258
2258
  attrs: { "data-scheme": e },
2259
2259
  children: [...r, n]
2260
2260
  };
2261
- }, N = "(prefers-reduced-motion: reduce)", P = (e, t) => t ? e.replaceAll("{scheme}", t) : e, F = (e, t) => t ? `${e}#${t}` : e, ee = (e) => {
2261
+ }, ee = "(prefers-reduced-motion: reduce)", N = (e, t) => t ? e.replaceAll("{scheme}", t) : e, P = (e, t) => t ? `${e}#${t}` : e, te = (e, t) => {
2262
+ if (!t) return e;
2263
+ let n = [], r = 0, i = 0;
2264
+ for (let e = 0; e < t.length; e += 1) {
2265
+ let a = t[e];
2266
+ a === "(" ? r += 1 : a === ")" ? --r : a === "," && r === 0 && (n.push(t.slice(i, e)), i = e + 1);
2267
+ }
2268
+ return n.push(t.slice(i)), n.map((e) => e.trim()).filter(Boolean).map((t) => `${e} and ${t}`).join(", ");
2269
+ }, ne = (e) => {
2262
2270
  let n = E.filter((e) => e.stillSrc).map((t) => ({
2263
2271
  kind: "element",
2264
2272
  tag: "source",
2265
2273
  attrs: {
2266
2274
  height: t.height ? String(t.height) : void 0,
2267
- media: t.media ? `${N} and ${t.media}` : N,
2268
- srcset: F(t.stillSrc, e),
2275
+ media: te(ee, t.media),
2276
+ srcset: P(t.stillSrc, e),
2269
2277
  width: t.width ? String(t.width) : void 0
2270
2278
  },
2271
2279
  children: []
@@ -2274,8 +2282,8 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2274
2282
  kind: "element",
2275
2283
  tag: "source",
2276
2284
  attrs: {
2277
- media: N,
2278
- srcset: F(w, e)
2285
+ media: ee,
2286
+ srcset: P(w, e)
2279
2287
  },
2280
2288
  children: []
2281
2289
  });
@@ -2286,7 +2294,7 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2286
2294
  height: t.height ? String(t.height) : void 0,
2287
2295
  media: t.media,
2288
2296
  sizes: t.sizes,
2289
- srcset: P(t.srcSet, e),
2297
+ srcset: N(t.srcSet, e),
2290
2298
  type: t.type,
2291
2299
  width: t.width ? String(t.width) : void 0
2292
2300
  },
@@ -2301,8 +2309,8 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2301
2309
  height: y ? void 0 : o ? String(o) : void 0,
2302
2310
  loading: c && !u ? "lazy" : void 0,
2303
2311
  sizes: E.length > 0 ? void 0 : T || void 0,
2304
- src: P(x, e),
2305
- srcset: S ? P(S, e) : void 0,
2312
+ src: N(x, e),
2313
+ srcset: S ? N(S, e) : void 0,
2306
2314
  width: y ? void 0 : v ? String(v) : void 0
2307
2315
  },
2308
2316
  children: []
@@ -2317,16 +2325,16 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2317
2325
  i
2318
2326
  ]
2319
2327
  };
2320
- }, te = (e) => {
2328
+ }, F = (e) => {
2321
2329
  let t = "(prefers-reduced-motion: no-preference)", n = E.map((n) => {
2322
2330
  if (n.leadSrc) return {
2323
2331
  kind: "element",
2324
2332
  tag: "source",
2325
2333
  attrs: {
2326
2334
  height: n.height ? String(n.height) : void 0,
2327
- media: n.media ? `${t} and ${n.media}` : t,
2335
+ media: te(t, n.media),
2328
2336
  sizes: n.sizes,
2329
- srcset: P(n.leadSrc, e),
2337
+ srcset: N(n.leadSrc, e),
2330
2338
  type: n.type,
2331
2339
  width: n.width ? String(n.width) : void 0
2332
2340
  },
@@ -2339,7 +2347,7 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2339
2347
  attrs: {
2340
2348
  media: t,
2341
2349
  sizes: E.length > 0 ? void 0 : T || void 0,
2342
- srcset: P(C, e)
2350
+ srcset: N(C, e)
2343
2351
  },
2344
2352
  children: []
2345
2353
  });
@@ -2350,7 +2358,7 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2350
2358
  alt: "",
2351
2359
  class: "img",
2352
2360
  height: y ? void 0 : o ? String(o) : void 0,
2353
- src: F(w, e),
2361
+ src: P(w, e),
2354
2362
  width: y ? void 0 : v ? String(v) : void 0
2355
2363
  },
2356
2364
  children: []
@@ -2364,10 +2372,10 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2364
2372
  },
2365
2373
  children: [...n, r]
2366
2374
  };
2367
- }, I = (e) => k ? [ee(e), te(e)] : [ee(e)], L = D ? O ? [...I("light"), ...I("dark")] : I() : e ? [M("light"), M("dark")] : [M()], R = [];
2375
+ }, I = (e) => k ? [ne(e), F(e)] : [ne(e)], L = D ? O ? [...I("light"), ...I("dark")] : I() : e ? [M("light"), M("dark")] : [M()], R = [];
2368
2376
  return o && R.push(`--set-image-block-size: ${o / 16}rem`), v && R.push(`--set-image-inline-size: ${v / 16}rem`), {
2369
2377
  kind: "element",
2370
- tag: B,
2378
+ tag: z,
2371
2379
  attrs: {
2372
2380
  class: "set-image",
2373
2381
  "data-adaptive": !!e,
@@ -2385,10 +2393,10 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
2385
2393
  children: L
2386
2394
  };
2387
2395
  }
2388
- function ce(e) {
2389
- return r(se(e));
2396
+ function le(e) {
2397
+ return r(ce(e));
2390
2398
  }
2391
- function le() {
2399
+ function ue() {
2392
2400
  if (customElements.get("set-image")) return;
2393
2401
  class e extends HTMLElement {
2394
2402
  connectedCallback() {
@@ -2404,14 +2412,14 @@ function le() {
2404
2412
  t.complete && t.naturalWidth > 0 ? n() : (t.addEventListener("load", n, { once: !0 }), t.addEventListener("error", n, { once: !0 }));
2405
2413
  }
2406
2414
  }
2407
- customElements.define(B, e);
2415
+ customElements.define(z, e);
2408
2416
  }
2409
- var ue = {
2417
+ var de = {
2410
2418
  name: "image",
2411
2419
  category: "graphic",
2412
2420
  description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
2413
2421
  output: {
2414
- element: B,
2422
+ element: z,
2415
2423
  class: "set-image"
2416
2424
  },
2417
2425
  content: { kind: "none" },
@@ -2734,14 +2742,17 @@ var ue = {
2734
2742
  }
2735
2743
  }
2736
2744
  ] }
2737
- }, V = "set-lightswitch", de = "set-lightswitch-change", H = "set-theme", U = "Switch to dark theme", fe = "Switch to light theme";
2738
- function pe(e) {
2745
+ }, fe = "(prefers-color-scheme: dark)", pe = (e, t) => {
2746
+ let n = (e.ownerDocument ?? e).defaultView;
2747
+ if (n && typeof n.matchMedia == "function") return n.matchMedia(t);
2748
+ }, me = (e) => pe(e, "(prefers-color-scheme: dark)")?.matches ? "dark" : "light", B = "set-lightswitch", he = "set-lightswitch-change", V = "set-theme", ge = "Switch to dark theme", _e = "Switch to light theme";
2749
+ function ve(e) {
2739
2750
  return e === "dark" ? "light" : "dark";
2740
2751
  }
2741
- function me(e) {
2752
+ function ye(e) {
2742
2753
  return e === "dark" ? "moon" : "sunny";
2743
2754
  }
2744
- function he(e, t) {
2755
+ function be(e, t) {
2745
2756
  return {
2746
2757
  kind: "element",
2747
2758
  tag: "span",
@@ -2755,7 +2766,7 @@ function he(e, t) {
2755
2766
  attrs: { class: "icon-wrapper" },
2756
2767
  children: [d({
2757
2768
  ariaHidden: !0,
2758
- name: me(e),
2769
+ name: ye(e),
2759
2770
  size: "fill"
2760
2771
  })]
2761
2772
  }, {
@@ -2769,11 +2780,11 @@ function he(e, t) {
2769
2780
  }]
2770
2781
  };
2771
2782
  }
2772
- function ge({ appearance: e = "text", id: t, labelDark: n = U, labelLight: r = fe, size: i = "md" }) {
2773
- let o = a(t), s = n.trim() === "" ? U : n, c = r.trim() === "" ? fe : r;
2783
+ function xe({ appearance: e = "text", id: t, labelDark: n = ge, labelLight: r = _e, size: i = "md" }) {
2784
+ let o = a(t), s = n.trim() === "" ? ge : n, c = r.trim() === "" ? _e : r;
2774
2785
  return {
2775
2786
  kind: "element",
2776
- tag: V,
2787
+ tag: B,
2777
2788
  attrs: {
2778
2789
  class: "set-lightswitch",
2779
2790
  id: o
@@ -2787,21 +2798,21 @@ function ge({ appearance: e = "text", id: t, labelDark: n = U, labelLight: r = f
2787
2798
  "data-size": i,
2788
2799
  type: "button"
2789
2800
  },
2790
- children: [he("dark", s), he("light", c)]
2801
+ children: [be("dark", s), be("light", c)]
2791
2802
  }]
2792
2803
  };
2793
2804
  }
2794
- function _e(e) {
2795
- return r(ge(e));
2805
+ function Se(e) {
2806
+ return r(xe(e));
2796
2807
  }
2797
- function ve() {
2808
+ function Ce() {
2798
2809
  if (customElements.get("set-lightswitch")) return;
2799
2810
  class e extends HTMLElement {
2800
2811
  #e = (e) => {
2801
2812
  let t = e.target;
2802
2813
  if (!(t instanceof Element) || !t.closest("button")) return;
2803
- let n = pe(this.#c());
2804
- n === this.#a() ? this.#i() : this.#r(n), this.#l(), this.dispatchEvent(new CustomEvent(de, {
2814
+ let n = ve(this.#c());
2815
+ n === this.#a() ? this.#i() : this.#r(n), this.#l(), this.dispatchEvent(new CustomEvent(he, {
2805
2816
  bubbles: !0,
2806
2817
  detail: {
2807
2818
  stored: !!this.#n(),
@@ -2824,7 +2835,7 @@ function ve() {
2824
2835
  }
2825
2836
  #n() {
2826
2837
  try {
2827
- let e = this.#t()?.getItem(H);
2838
+ let e = this.#t()?.getItem(V);
2828
2839
  return e === "light" || e === "dark" ? e : void 0;
2829
2840
  } catch {
2830
2841
  return;
@@ -2832,17 +2843,16 @@ function ve() {
2832
2843
  }
2833
2844
  #r(e) {
2834
2845
  try {
2835
- this.#t()?.setItem(H, e);
2846
+ this.#t()?.setItem(V, e);
2836
2847
  } catch {}
2837
2848
  }
2838
2849
  #i() {
2839
2850
  try {
2840
- this.#t()?.removeItem(H);
2851
+ this.#t()?.removeItem(V);
2841
2852
  } catch {}
2842
2853
  }
2843
2854
  #a() {
2844
- let e = this.ownerDocument.defaultView;
2845
- return !e || typeof e.matchMedia != "function" ? "light" : e.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2855
+ return me(this);
2846
2856
  }
2847
2857
  #o() {
2848
2858
  return this.closest(".set");
@@ -2861,14 +2871,14 @@ function ve() {
2861
2871
  t ? e.setAttribute("data-set-theme", t) : e.removeAttribute("data-set-theme");
2862
2872
  }
2863
2873
  }
2864
- customElements.define(V, e);
2874
+ customElements.define(B, e);
2865
2875
  }
2866
- var ye = {
2876
+ var we = {
2867
2877
  name: "lightswitch",
2868
2878
  category: "control",
2869
2879
  description: "Use `lightswitch` to let users toggle between light and dark themes.",
2870
2880
  output: {
2871
- element: V,
2881
+ element: B,
2872
2882
  class: "set-lightswitch"
2873
2883
  },
2874
2884
  content: { kind: "none" },
@@ -2890,12 +2900,12 @@ var ye = {
2890
2900
  type: { kind: "string" }
2891
2901
  },
2892
2902
  labelDark: {
2893
- default: U,
2903
+ default: ge,
2894
2904
  description: "Accessible label of the switch-to-dark action.",
2895
2905
  type: { kind: "string" }
2896
2906
  },
2897
2907
  labelLight: {
2898
- default: fe,
2908
+ default: _e,
2899
2909
  description: "Accessible label of the switch-to-light action.",
2900
2910
  type: { kind: "string" }
2901
2911
  },
@@ -2912,7 +2922,7 @@ var ye = {
2912
2922
  }
2913
2923
  }
2914
2924
  },
2915
- events: { [de]: {
2925
+ events: { [he]: {
2916
2926
  bubbles: !0,
2917
2927
  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."
2918
2928
  } },
@@ -2978,8 +2988,8 @@ var ye = {
2978
2988
  }
2979
2989
  }
2980
2990
  ] }
2981
- }, W = "set-menu", be = "set-menu-choose";
2982
- function xe({ align: e = "start", id: t, items: n, size: r = "md", triggerActivity: a, triggerIcon: o, triggerIconMirrored: s, triggerIconPlacement: c, triggerLabel: l, triggerLabelVisibility: u }) {
2991
+ }, H = "set-menu", Te = "set-menu-choose";
2992
+ function Ee({ align: e = "start", id: t, items: n, size: r = "md", triggerActivity: a, triggerIcon: o, triggerIconMirrored: s, triggerIconPlacement: c, triggerLabel: l, triggerLabelVisibility: u }) {
2983
2993
  let d = t.trim();
2984
2994
  if (!d) throw Error("id must be a non-empty string.");
2985
2995
  if (!i(d)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
@@ -3001,7 +3011,7 @@ function xe({ align: e = "start", id: t, items: n, size: r = "md", triggerActivi
3001
3011
  }));
3002
3012
  return {
3003
3013
  kind: "element",
3004
- tag: W,
3014
+ tag: H,
3005
3015
  attrs: {
3006
3016
  class: "set-menu",
3007
3017
  "data-align": e === "start" ? void 0 : e,
@@ -3042,10 +3052,10 @@ function xe({ align: e = "start", id: t, items: n, size: r = "md", triggerActivi
3042
3052
  }]
3043
3053
  };
3044
3054
  }
3045
- function Se(e) {
3046
- return r(xe(e));
3055
+ function De(e) {
3056
+ return r(Ee(e));
3047
3057
  }
3048
- function Ce() {
3058
+ function Oe() {
3049
3059
  if (customElements.get("set-menu")) return;
3050
3060
  class e extends HTMLElement {
3051
3061
  #e;
@@ -3094,7 +3104,7 @@ function Ce() {
3094
3104
  }
3095
3105
  #f(e) {
3096
3106
  let t = Array.from(this.querySelectorAll("[role=\"menuitem\"]")).indexOf(e);
3097
- this.dispatchEvent(new CustomEvent(be, {
3107
+ this.dispatchEvent(new CustomEvent(Te, {
3098
3108
  bubbles: !0,
3099
3109
  detail: {
3100
3110
  id: e.getAttribute("data-item-id") || void 0,
@@ -3138,14 +3148,14 @@ function Ce() {
3138
3148
  this.#e && this.removeEventListener("click", this.#e), this.#t && this.ownerDocument.removeEventListener("click", this.#t), this.#r && this.removeEventListener("keydown", this.#r), this.#n && this.removeEventListener("focusout", this.#n), this.#e = void 0, this.#t = void 0, this.#n = void 0, this.#r = void 0;
3139
3149
  }
3140
3150
  }
3141
- customElements.define(W, e);
3151
+ customElements.define(H, e);
3142
3152
  }
3143
- var we = {
3153
+ var ke = {
3144
3154
  name: "menu",
3145
3155
  category: "control",
3146
3156
  description: "Use `menu` to show a list of actions from a trigger button.",
3147
3157
  output: {
3148
- element: W,
3158
+ element: H,
3149
3159
  class: "set-menu"
3150
3160
  },
3151
3161
  content: {
@@ -3241,7 +3251,7 @@ var we = {
3241
3251
  }
3242
3252
  }
3243
3253
  },
3244
- events: { [be]: {
3254
+ events: { [Te]: {
3245
3255
  bubbles: !0,
3246
3256
  description: "Fired when a menu item is activated.",
3247
3257
  detail: "{ id?: string; index: number; label: string }"
@@ -3335,9 +3345,9 @@ var we = {
3335
3345
  condition: { kind: "always" }
3336
3346
  }
3337
3347
  ] }
3338
- }, Te = "Menu";
3339
- function Ee({ controlsId: e, expanded: t, id: n, label: r = Te, size: i = "md" } = {}) {
3340
- let o = a(n), s = r.trim() === "" ? Te : r;
3348
+ }, Ae = "Menu";
3349
+ function je({ controlsId: e, expanded: t, id: n, label: r = Ae, size: i = "md" } = {}) {
3350
+ let o = a(n), s = r.trim() === "" ? Ae : r;
3341
3351
  return {
3342
3352
  kind: "element",
3343
3353
  tag: "button",
@@ -3370,10 +3380,10 @@ function Ee({ controlsId: e, expanded: t, id: n, label: r = Te, size: i = "md" }
3370
3380
  }]
3371
3381
  };
3372
3382
  }
3373
- function De(e = {}) {
3374
- return r(Ee(e));
3383
+ function Me(e = {}) {
3384
+ return r(je(e));
3375
3385
  }
3376
- var Oe = {
3386
+ var Ne = {
3377
3387
  name: "expander",
3378
3388
  category: "control",
3379
3389
  description: "Use `expander` as a toggle for disclosure regions such as menus.",
@@ -3400,7 +3410,7 @@ var Oe = {
3400
3410
  type: { kind: "string" }
3401
3411
  },
3402
3412
  label: {
3403
- default: Te,
3413
+ default: Ae,
3404
3414
  description: "Accessible label.",
3405
3415
  type: { kind: "text" }
3406
3416
  },
@@ -3471,8 +3481,8 @@ var Oe = {
3471
3481
  }
3472
3482
  }
3473
3483
  ] }
3474
- }, G = "set-nav", ke = "data-set-scroll-locked";
3475
- function Ae({ collapsible: e, contentId: t, expanderLabel: n, expanderPosition: r = "start", id: o, items: s, label: c, size: l = "md" }) {
3484
+ }, U = "set-nav", Pe = "data-set-scroll-locked";
3485
+ function Fe({ collapsible: e, contentId: t, expanderLabel: n, expanderPosition: r = "start", id: o, items: s, label: c, size: l = "md" }) {
3476
3486
  let u = a(o), d = n?.trim() || void 0, f = t?.trim();
3477
3487
  if (e && !f) throw Error("contentId must be a non-empty string when collapsible is set.");
3478
3488
  if (f && !i(f)) throw Error("contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
@@ -3496,7 +3506,7 @@ function Ae({ collapsible: e, contentId: t, expanderLabel: n, expanderPosition:
3496
3506
  }));
3497
3507
  return {
3498
3508
  kind: "element",
3499
- tag: G,
3509
+ tag: U,
3500
3510
  attrs: {
3501
3511
  class: "set-nav",
3502
3512
  "data-collapsible": e,
@@ -3529,10 +3539,10 @@ function Ae({ collapsible: e, contentId: t, expanderLabel: n, expanderPosition:
3529
3539
  }]
3530
3540
  };
3531
3541
  }
3532
- function je(e) {
3533
- return r(Ae(e));
3542
+ function Ie(e) {
3543
+ return r(Fe(e));
3534
3544
  }
3535
- function Me() {
3545
+ function Le() {
3536
3546
  if (customElements.get("set-nav")) return;
3537
3547
  class e extends HTMLElement {
3538
3548
  #e;
@@ -3555,7 +3565,7 @@ function Me() {
3555
3565
  let e = this.#i();
3556
3566
  if (!e || e.querySelector("[data-part=\"expander\"]")) return;
3557
3567
  let t = e.querySelector(".content");
3558
- t && e.insertAdjacentHTML("afterbegin", `<div data-part="expander">${De({
3568
+ t && e.insertAdjacentHTML("afterbegin", `<div data-part="expander">${Me({
3559
3569
  controlsId: t.id || void 0,
3560
3570
  label: this.getAttribute("data-expander-label") || void 0,
3561
3571
  size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
@@ -3585,7 +3595,7 @@ function Me() {
3585
3595
  }
3586
3596
  #u(e) {
3587
3597
  let t = this.ownerDocument.documentElement;
3588
- t && (e ? t.setAttribute(ke, "") : t.removeAttribute(ke));
3598
+ t && (e ? t.setAttribute(Pe, "") : t.removeAttribute(Pe));
3589
3599
  }
3590
3600
  #d() {
3591
3601
  this.#e &&= (this.removeEventListener("click", this.#e), void 0);
@@ -3595,14 +3605,14 @@ function Me() {
3595
3605
  this.#n && e && e.removeEventListener("keydown", this.#n), this.#t && this.#r && this.#t.removeEventListener("change", this.#r), this.#n = void 0, this.#r = void 0, this.#t = void 0;
3596
3606
  }
3597
3607
  }
3598
- customElements.define(G, e);
3608
+ customElements.define(U, e);
3599
3609
  }
3600
- var Ne = {
3610
+ var Re = {
3601
3611
  name: "nav",
3602
3612
  category: "navigation",
3603
3613
  description: "Use `nav` to render a primary navigation list.",
3604
3614
  output: {
3605
- element: G,
3615
+ element: U,
3606
3616
  class: "set-nav"
3607
3617
  },
3608
3618
  content: {
@@ -3773,8 +3783,8 @@ var Ne = {
3773
3783
  }
3774
3784
  }
3775
3785
  ] }
3776
- }, K = "set-range";
3777
- function Pe({ description: e, disabled: t, id: n, inlineSize: r = "full", label: a, max: o, min: s, name: c, size: l = "md", step: u, value: d }) {
3786
+ }, W = "set-range";
3787
+ function ze({ description: e, disabled: t, id: n, inlineSize: r = "full", label: a, max: o, min: s, name: c, size: l = "md", step: u, value: d }) {
3778
3788
  let f = n.trim(), p = e?.trim(), m = c?.trim();
3779
3789
  if (!f) throw Error("id must be a non-empty string.");
3780
3790
  if (!i(f)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
@@ -3835,7 +3845,7 @@ function Pe({ description: e, disabled: t, id: n, inlineSize: r = "full", label:
3835
3845
  }]
3836
3846
  }), {
3837
3847
  kind: "element",
3838
- tag: K,
3848
+ tag: W,
3839
3849
  attrs: {
3840
3850
  class: "set-range",
3841
3851
  "data-inline-size": r === "fit" ? "fit" : void 0,
@@ -3844,10 +3854,10 @@ function Pe({ description: e, disabled: t, id: n, inlineSize: r = "full", label:
3844
3854
  children: g
3845
3855
  };
3846
3856
  }
3847
- function Fe(e) {
3848
- return r(Pe(e));
3857
+ function Be(e) {
3858
+ return r(ze(e));
3849
3859
  }
3850
- function Ie() {
3860
+ function Ve() {
3851
3861
  if (customElements.get("set-range")) return;
3852
3862
  class e extends HTMLElement {
3853
3863
  #e;
@@ -3891,14 +3901,14 @@ function Ie() {
3891
3901
  this.#e &&= (delete this.#e.value, void 0);
3892
3902
  }
3893
3903
  }
3894
- customElements.define(K, e);
3904
+ customElements.define(W, e);
3895
3905
  }
3896
- var Le = {
3906
+ var He = {
3897
3907
  name: "range",
3898
3908
  category: "control",
3899
3909
  description: "Use `range` to let users pick a numeric value along a scale.",
3900
3910
  output: {
3901
- element: K,
3911
+ element: W,
3902
3912
  class: "set-range"
3903
3913
  },
3904
3914
  content: {
@@ -4124,8 +4134,8 @@ var Le = {
4124
4134
  }
4125
4135
  }
4126
4136
  ] }
4127
- }, q = "set-sidebar", Re = "(min-width: 68em)", J = "Collapse sidebar", ze = "Open sidebar";
4128
- function Be(e, t) {
4137
+ }, G = "set-sidebar", Ue = "(min-width: 68em)", K = "Collapse sidebar", q = "Open sidebar";
4138
+ function We(e, t) {
4129
4139
  return `<div data-part="close">${b({
4130
4140
  appearance: "text",
4131
4141
  icon: "panel-left",
@@ -4137,8 +4147,8 @@ function Be(e, t) {
4137
4147
  type: "button"
4138
4148
  })}</div>`;
4139
4149
  }
4140
- function Ve({ aboveNotebook: e = "persistent", buttonSize: t = "md", children: n, collapseLabel: r = J, footer: a, header: o, id: s, surface: c, triggerLabel: l = ze }) {
4141
- let u = s.trim(), d = r.trim() || J, f = l.trim() || ze;
4150
+ function Ge({ aboveNotebook: e = "persistent", buttonSize: t = "md", children: n, collapseLabel: r = K, footer: a, header: o, id: s, surface: c, triggerLabel: l = q }) {
4151
+ let u = s.trim(), d = r.trim() || K, f = l.trim() || q;
4142
4152
  if (!u) throw Error("id must be a non-empty string.");
4143
4153
  if (!i(u)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
4144
4154
  let p = [{
@@ -4170,11 +4180,11 @@ function Ve({ aboveNotebook: e = "persistent", buttonSize: t = "md", children: n
4170
4180
  let m = `${u}-panel`;
4171
4181
  return {
4172
4182
  kind: "element",
4173
- tag: q,
4183
+ tag: G,
4174
4184
  attrs: {
4175
4185
  class: "set-sidebar",
4176
4186
  "data-above-notebook": e,
4177
- "data-collapse-label": d === J ? void 0 : d,
4187
+ "data-collapse-label": d === K ? void 0 : d,
4178
4188
  "data-button-size": t,
4179
4189
  id: u
4180
4190
  },
@@ -4216,10 +4226,10 @@ function Ve({ aboveNotebook: e = "persistent", buttonSize: t = "md", children: n
4216
4226
  ]
4217
4227
  };
4218
4228
  }
4219
- function He(e) {
4220
- return r(Ve(e));
4229
+ function Ke(e) {
4230
+ return r(Ge(e));
4221
4231
  }
4222
- function Ue() {
4232
+ function qe() {
4223
4233
  if (customElements.get("set-sidebar")) return;
4224
4234
  class e extends HTMLElement {
4225
4235
  #e;
@@ -4260,8 +4270,8 @@ function Ue() {
4260
4270
  #u() {
4261
4271
  let e = this.#i();
4262
4272
  if (!e || e.querySelector("[data-part=\"close\"]")) return;
4263
- let t = e.querySelector(".header"), n = this.getAttribute("data-collapse-label") || J, r = this.getAttribute("data-button-size") ?? "md";
4264
- t?.insertAdjacentHTML("beforeend", Be(n, r));
4273
+ let t = e.querySelector(".header"), n = this.getAttribute("data-collapse-label") || K, r = this.getAttribute("data-button-size") ?? "md";
4274
+ t?.insertAdjacentHTML("beforeend", We(n, r));
4265
4275
  }
4266
4276
  #d() {
4267
4277
  this.querySelector("[data-part=\"close\"]")?.remove();
@@ -4335,7 +4345,7 @@ function Ue() {
4335
4345
  }
4336
4346
  #v() {
4337
4347
  let e = this.ownerDocument.defaultView;
4338
- e && (typeof e.matchMedia == "function" && (this.#e = e.matchMedia(Re), this.#r = () => {
4348
+ e && (typeof e.matchMedia == "function" && (this.#e = e.matchMedia(Ue), this.#r = () => {
4339
4349
  this.#h();
4340
4350
  }, this.#e.addEventListener("change", this.#r), this.#h()), this.#t = (e) => {
4341
4351
  let t = e.target;
@@ -4357,14 +4367,14 @@ function Ue() {
4357
4367
  this.#t && this.removeEventListener("click", this.#t), this.#n && this.removeEventListener("keydown", this.#n), this.#e && this.#r && this.#e.removeEventListener("change", this.#r), this.#t = void 0, this.#n = void 0, this.#e = void 0, this.#r = void 0;
4358
4368
  }
4359
4369
  }
4360
- customElements.define(q, e);
4370
+ customElements.define(G, e);
4361
4371
  }
4362
- var We = {
4372
+ var Je = {
4363
4373
  name: "sidebar",
4364
4374
  category: "structure",
4365
4375
  description: "Use `sidebar` for a side panel alongside main content.",
4366
4376
  output: {
4367
- element: q,
4377
+ element: G,
4368
4378
  class: "set-sidebar"
4369
4379
  },
4370
4380
  content: {
@@ -4414,7 +4424,7 @@ var We = {
4414
4424
  type: { kind: "html" }
4415
4425
  },
4416
4426
  collapseLabel: {
4417
- default: J,
4427
+ default: K,
4418
4428
  description: "Accessible label for the collapse button.",
4419
4429
  type: { kind: "string" }
4420
4430
  },
@@ -4439,7 +4449,7 @@ var We = {
4439
4449
  }
4440
4450
  },
4441
4451
  triggerLabel: {
4442
- default: ze,
4452
+ default: q,
4443
4453
  description: "Accessible label for the open button.",
4444
4454
  type: { kind: "string" }
4445
4455
  }
@@ -4477,7 +4487,7 @@ var We = {
4477
4487
  of: {
4478
4488
  kind: "when-equals",
4479
4489
  prop: "collapseLabel",
4480
- to: J
4490
+ to: K
4481
4491
  }
4482
4492
  }]
4483
4493
  },
@@ -4535,13 +4545,13 @@ var We = {
4535
4545
  }
4536
4546
  }
4537
4547
  ] }
4538
- }, Y = "set-video";
4539
- function Ge({ autoPlay: e, controls: t, fit: n = "intrinsic", height: r, id: i, loop: o, muted: s, playsInline: c, poster: l, preload: u, src: d, width: f }) {
4548
+ }, J = "set-video";
4549
+ function Ye({ autoPlay: e, controls: t, fit: n = "intrinsic", height: r, id: i, loop: o, muted: s, playsInline: c, poster: l, preload: u, src: d, width: f }) {
4540
4550
  let p = a(i), m = d.trim(), h = l?.trim();
4541
4551
  if (!m) throw Error("src must be a non-empty string.");
4542
4552
  return {
4543
4553
  kind: "element",
4544
- tag: Y,
4554
+ tag: J,
4545
4555
  attrs: {
4546
4556
  class: "set-video",
4547
4557
  "data-fluid": n === "fluid",
@@ -4567,11 +4577,11 @@ function Ge({ autoPlay: e, controls: t, fit: n = "intrinsic", height: r, id: i,
4567
4577
  }]
4568
4578
  };
4569
4579
  }
4570
- function Ke(e) {
4571
- return r(Ge(e));
4580
+ function Xe(e) {
4581
+ return r(Ye(e));
4572
4582
  }
4573
- var qe = "(prefers-reduced-motion: reduce)";
4574
- function Je() {
4583
+ var Ze = "(prefers-reduced-motion: reduce)";
4584
+ function Qe() {
4575
4585
  if (customElements.get("set-video")) return;
4576
4586
  class e extends HTMLElement {
4577
4587
  #e = !1;
@@ -4581,7 +4591,7 @@ function Je() {
4581
4591
  let e = this.querySelector("video");
4582
4592
  if (!e || (this.#e ||= e.hasAttribute("autoplay"), !this.#e)) return;
4583
4593
  let t = this.ownerDocument.defaultView;
4584
- t && typeof t.matchMedia == "function" && (this.#t = t.matchMedia(qe), this.#n = () => {
4594
+ t && typeof t.matchMedia == "function" && (this.#t = t.matchMedia(Ze), this.#n = () => {
4585
4595
  this.#r();
4586
4596
  }, this.#t.addEventListener("change", this.#n), this.#r());
4587
4597
  }
@@ -4593,14 +4603,14 @@ function Je() {
4593
4603
  e && this.#t && (this.#t.matches ? (e.removeAttribute("autoplay"), e.pause()) : (e.setAttribute("autoplay", ""), e.paused && e.play()?.catch?.(() => {})));
4594
4604
  }
4595
4605
  }
4596
- customElements.define(Y, e);
4606
+ customElements.define(J, e);
4597
4607
  }
4598
- var Ye = {
4608
+ var $e = {
4599
4609
  name: "video",
4600
4610
  category: "graphic",
4601
4611
  description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
4602
4612
  output: {
4603
- element: Y,
4613
+ element: J,
4604
4614
  class: "set-video"
4605
4615
  },
4606
4616
  content: { kind: "none" },
@@ -4806,53 +4816,53 @@ var Ye = {
4806
4816
  ] }
4807
4817
  };
4808
4818
  // src/components/avatar/get-initials.ts
4809
- function Xe(e) {
4819
+ function et(e) {
4810
4820
  return e ? /[A-Za-z]/.test(e) : !1;
4811
4821
  }
4812
- function Ze(e) {
4822
+ function tt(e) {
4813
4823
  return /^[a-z]/.test(e);
4814
4824
  }
4815
- function X(e) {
4825
+ function Y(e) {
4816
4826
  let t = e.charAt(0);
4817
- return Xe(t) ? t : void 0;
4827
+ return et(t) ? t : void 0;
4818
4828
  }
4819
- function Qe(e) {
4829
+ function nt(e) {
4820
4830
  let t = o(e);
4821
4831
  if (!t) return;
4822
- let n = t.split(" "), r = X(n[0]);
4832
+ let n = t.split(" "), r = Y(n[0]);
4823
4833
  if (!r) return;
4824
4834
  let i = [r.toUpperCase()];
4825
4835
  if (n.length === 1) return i[0];
4826
- let a = n.slice(1).find(Ze);
4836
+ let a = n.slice(1).find(tt);
4827
4837
  if (a) {
4828
- let e = X(a);
4838
+ let e = Y(a);
4829
4839
  return e ? `${i[0]}${e}` : void 0;
4830
4840
  }
4831
4841
  if (n.length === 2) {
4832
- let e = X(n[1]);
4842
+ let e = Y(n[1]);
4833
4843
  if (!e) return;
4834
4844
  i.push(e);
4835
4845
  let t = n[1].split("-").filter(Boolean);
4836
4846
  if (t.length === 2) {
4837
- let e = X(t[1]);
4847
+ let e = Y(t[1]);
4838
4848
  e && i.push(e);
4839
4849
  }
4840
4850
  return i.slice(0, 3).join("");
4841
4851
  }
4842
4852
  if (n.length === 3) {
4843
- let e = X(n[1]), t = X(n[2]);
4853
+ let e = Y(n[1]), t = Y(n[2]);
4844
4854
  return !e || !t ? void 0 : (i.push(e, t), i.slice(0, 3).join(""));
4845
4855
  }
4846
- let s = X(n.at(-1) || "");
4856
+ let s = Y(n.at(-1) || "");
4847
4857
  if (s) return i.push(s), i.slice(0, 3).join("");
4848
4858
  }
4849
4859
  // src/components/avatar/avatar.ts
4850
- var $e = {
4860
+ var rt = {
4851
4861
  bot: "robot-1",
4852
4862
  organization: "city-6",
4853
4863
  person: "user-1",
4854
4864
  team: "member"
4855
- }, et = [
4865
+ }, it = [
4856
4866
  "01",
4857
4867
  "02",
4858
4868
  "03",
@@ -4863,12 +4873,12 @@ var $e = {
4863
4873
  "08",
4864
4874
  "09"
4865
4875
  ];
4866
- function tt(e) {
4876
+ function at(e) {
4867
4877
  let t = 5381;
4868
4878
  for (let n of e) t = t * 33 ^ n.charCodeAt(0);
4869
4879
  return t >>> 0;
4870
4880
  }
4871
- function nt(e) {
4881
+ function ot(e) {
4872
4882
  if (e == null) return;
4873
4883
  let t = o(e);
4874
4884
  if (t) {
@@ -4877,18 +4887,18 @@ function nt(e) {
4877
4887
  return t;
4878
4888
  }
4879
4889
  }
4880
- function rt({ alt: e, ariaHidden: t, name: n }) {
4890
+ function st({ alt: e, ariaHidden: t, name: n }) {
4881
4891
  if (!t) return o(e) || o(n) || "Avatar";
4882
4892
  }
4883
- function it({ color: e, name: t }) {
4884
- return e || (t ? et[tt(t) % et.length] : "neutral");
4893
+ function ct({ color: e, name: t }) {
4894
+ return e || (t ? it[at(t) % it.length] : "neutral");
4885
4895
  }
4886
- function at({ alt: e, ariaHidden: t, color: n, entity: r = "person", id: i, initials: s, name: c, size: l = "md", src: u }) {
4887
- let f = a(i), p = nt(s), m = o(c), h = o(u), g = rt({
4896
+ function lt({ alt: e, ariaHidden: t, color: n, entity: r = "person", id: i, initials: s, name: c, size: l = "md", src: u }) {
4897
+ let f = a(i), p = ot(s), m = o(c), h = o(u), g = st({
4888
4898
  alt: e,
4889
4899
  ariaHidden: t,
4890
4900
  name: m
4891
- }), _ = p || Qe(m), v = !!h, y = it({
4901
+ }), _ = p || nt(m), v = !!h, y = ct({
4892
4902
  color: n,
4893
4903
  name: m
4894
4904
  }), b = {
@@ -4924,7 +4934,7 @@ function at({ alt: e, ariaHidden: t, color: n, entity: r = "person", id: i, init
4924
4934
  attrs: { class: "icon-wrapper" },
4925
4935
  children: [d({
4926
4936
  ariaHidden: !0,
4927
- name: $e[r],
4937
+ name: rt[r],
4928
4938
  size: "fill"
4929
4939
  })]
4930
4940
  }, {
@@ -4934,10 +4944,10 @@ function at({ alt: e, ariaHidden: t, color: n, entity: r = "person", id: i, init
4934
4944
  children: [x]
4935
4945
  };
4936
4946
  }
4937
- function ot(e) {
4938
- return r(at(e));
4947
+ function ut(e) {
4948
+ return r(lt(e));
4939
4949
  }
4940
- var st = {
4950
+ var dt = {
4941
4951
  name: "avatar",
4942
4952
  category: "graphic",
4943
4953
  description: "Use `avatar` to visually represent a person, team, or entity.",
@@ -5096,7 +5106,7 @@ var st = {
5096
5106
  ] }
5097
5107
  };
5098
5108
  // src/components/badge/badge.ts
5099
- function ct({ floating: e, id: t, label: n, size: r = "md", tone: i }) {
5109
+ function ft({ floating: e, id: t, label: n, size: r = "md", tone: i }) {
5100
5110
  let o = a(t);
5101
5111
  return {
5102
5112
  kind: "element",
@@ -5114,10 +5124,10 @@ function ct({ floating: e, id: t, label: n, size: r = "md", tone: i }) {
5114
5124
  }]
5115
5125
  };
5116
5126
  }
5117
- function lt(e) {
5118
- return r(ct(e));
5127
+ function pt(e) {
5128
+ return r(ft(e));
5119
5129
  }
5120
- var ut = {
5130
+ var mt = {
5121
5131
  name: "badge",
5122
5132
  category: "status",
5123
5133
  description: "Use `badge` to annotate content with a short label.",
@@ -5211,7 +5221,7 @@ var ut = {
5211
5221
  ] }
5212
5222
  };
5213
5223
  // src/components/text/text.ts
5214
- function Z({ align: e, as: t, children: n, id: r, linkVisited: i = !0, measured: o, monospaced: s, responsive: c, size: l = "md", tone: u = "default" }) {
5224
+ function X({ align: e, as: t, children: n, id: r, linkVisited: i = !0, measured: o, monospaced: s, responsive: c, size: l = "md", tone: u = "default" }) {
5215
5225
  let d = a(r), f = t === "p" ? "p" : "span", p = f === "p", m = p ? e ?? "start" : void 0;
5216
5226
  return {
5217
5227
  kind: "element",
@@ -5233,10 +5243,10 @@ function Z({ align: e, as: t, children: n, id: r, linkVisited: i = !0, measured:
5233
5243
  }]
5234
5244
  };
5235
5245
  }
5236
- function dt(e) {
5237
- return r(Z(e));
5246
+ function ht(e) {
5247
+ return r(X(e));
5238
5248
  }
5239
- var ft = {
5249
+ var gt = {
5240
5250
  name: "text",
5241
5251
  category: "typographic",
5242
5252
  description: "Use `text` for inline or paragraph body copy.",
@@ -5432,7 +5442,7 @@ var ft = {
5432
5442
  ] }
5433
5443
  };
5434
5444
  // src/components/blockquote/blockquote.ts
5435
- function pt({ align: e = "start", attribution: t, id: n, measured: r = !0, quote: i, responsive: o = !1, size: s = "md" }) {
5445
+ function _t({ align: e = "start", attribution: t, id: n, measured: r = !0, quote: i, responsive: o = !1, size: s = "md" }) {
5436
5446
  let c = a(n);
5437
5447
  return {
5438
5448
  kind: "element",
@@ -5446,7 +5456,7 @@ function pt({ align: e = "start", attribution: t, id: n, measured: r = !0, quote
5446
5456
  kind: "element",
5447
5457
  tag: "blockquote",
5448
5458
  attrs: { class: "quote" },
5449
- children: [Z({
5459
+ children: [X({
5450
5460
  align: e,
5451
5461
  as: "p",
5452
5462
  children: i,
@@ -5458,7 +5468,7 @@ function pt({ align: e = "start", attribution: t, id: n, measured: r = !0, quote
5458
5468
  kind: "element",
5459
5469
  tag: "figcaption",
5460
5470
  attrs: { class: "attribution" },
5461
- children: [Z({
5471
+ children: [X({
5462
5472
  as: "span",
5463
5473
  children: t,
5464
5474
  responsive: o,
@@ -5467,10 +5477,10 @@ function pt({ align: e = "start", attribution: t, id: n, measured: r = !0, quote
5467
5477
  }]
5468
5478
  };
5469
5479
  }
5470
- function mt(e) {
5471
- return r(pt(e));
5480
+ function vt(e) {
5481
+ return r(_t(e));
5472
5482
  }
5473
- var ht = {
5483
+ var yt = {
5474
5484
  name: "blockquote",
5475
5485
  category: "typographic",
5476
5486
  description: "Use `blockquote` to display a quote with attribution.",
@@ -5561,7 +5571,7 @@ var ht = {
5561
5571
  }] }
5562
5572
  };
5563
5573
  // src/components/box/box.ts
5564
- function gt({ background: e = "default", border: t, children: n, id: r, paddingBlock: i = "md", paddingInline: o = "md", radius: s, responsive: c, surface: l }) {
5574
+ function bt({ background: e = "default", border: t, children: n, id: r, paddingBlock: i = "md", paddingInline: o = "md", radius: s, responsive: c, surface: l }) {
5565
5575
  let u = a(r);
5566
5576
  return {
5567
5577
  kind: "element",
@@ -5583,10 +5593,10 @@ function gt({ background: e = "default", border: t, children: n, id: r, paddingB
5583
5593
  }] : []
5584
5594
  };
5585
5595
  }
5586
- function _t(e) {
5587
- return r(gt(e));
5596
+ function xt(e) {
5597
+ return r(bt(e));
5588
5598
  }
5589
- var vt = {
5599
+ var St = {
5590
5600
  name: "box",
5591
5601
  category: "layout",
5592
5602
  description: "Use `box` to inset content.",
@@ -5772,7 +5782,7 @@ var vt = {
5772
5782
  ] }
5773
5783
  };
5774
5784
  // src/components/card/card.ts
5775
- function yt({ description: e, headingLevel: t, href: n, id: r, note: i, surface: o, title: s }) {
5785
+ function Ct({ description: e, headingLevel: t, href: n, id: r, note: i, surface: o, title: s }) {
5776
5786
  let c = a(r), l = t ? `h${t}` : "div", u = n ? [{
5777
5787
  kind: "element",
5778
5788
  tag: "a",
@@ -5843,10 +5853,10 @@ function yt({ description: e, headingLevel: t, href: n, id: r, note: i, surface:
5843
5853
  children: p
5844
5854
  };
5845
5855
  }
5846
- function bt(e) {
5847
- return r(yt(e));
5856
+ function wt(e) {
5857
+ return r(Ct(e));
5848
5858
  }
5849
- var xt = {
5859
+ var Tt = {
5850
5860
  name: "card",
5851
5861
  category: "structure",
5852
5862
  description: "Use `card` to display a summary for a single topic.",
@@ -5942,7 +5952,7 @@ var xt = {
5942
5952
  }] }
5943
5953
  };
5944
5954
  // src/components/checkbox/checkbox.ts
5945
- function St({ checked: e, description: t, disabled: n, id: r, invalid: i, label: o, name: s, required: c, size: l = "md", value: u }) {
5955
+ function Et({ checked: e, description: t, disabled: n, id: r, invalid: i, label: o, name: s, required: c, size: l = "md", value: u }) {
5946
5956
  let d = a(r), f = t?.trim();
5947
5957
  if (f && !d) throw Error("id must be provided when description is provided.");
5948
5958
  let p = f ? `${d}-description` : void 0, m = !!n, h = [{
@@ -5996,10 +6006,10 @@ function St({ checked: e, description: t, disabled: n, id: r, invalid: i, label:
5996
6006
  children: h
5997
6007
  };
5998
6008
  }
5999
- function Ct(e) {
6000
- return r(St(e));
6009
+ function Dt(e) {
6010
+ return r(Et(e));
6001
6011
  }
6002
- var wt = {
6012
+ var Ot = {
6003
6013
  name: "checkbox",
6004
6014
  category: "control",
6005
6015
  description: "Use `checkbox` to let users toggle a single option on or off.",
@@ -6210,7 +6220,7 @@ var wt = {
6210
6220
  ] }
6211
6221
  };
6212
6222
  // src/components/container/container.ts
6213
- function Tt({ children: e, gutter: t = "default", id: n, maxInlineSize: r = "default" }) {
6223
+ function kt({ children: e, gutter: t = "default", id: n, maxInlineSize: r = "default" }) {
6214
6224
  let i = a(n);
6215
6225
  return {
6216
6226
  kind: "element",
@@ -6227,10 +6237,10 @@ function Tt({ children: e, gutter: t = "default", id: n, maxInlineSize: r = "def
6227
6237
  }] : []
6228
6238
  };
6229
6239
  }
6230
- function Et(e) {
6231
- return r(Tt(e));
6240
+ function At(e) {
6241
+ return r(kt(e));
6232
6242
  }
6233
- var Dt = {
6243
+ var jt = {
6234
6244
  name: "container",
6235
6245
  category: "layout",
6236
6246
  description: "Use `container` to wrap page-level content.",
@@ -6319,7 +6329,7 @@ var Dt = {
6319
6329
  ] }
6320
6330
  };
6321
6331
  // src/components/details/details.ts
6322
- function Ot({ children: e, id: t, open: n, summary: r, inlineSize: i = "full" }) {
6332
+ function Mt({ children: e, id: t, open: n, summary: r, inlineSize: i = "full" }) {
6323
6333
  let o = a(t);
6324
6334
  return {
6325
6335
  kind: "element",
@@ -6363,10 +6373,10 @@ function Ot({ children: e, id: t, open: n, summary: r, inlineSize: i = "full" })
6363
6373
  }]
6364
6374
  };
6365
6375
  }
6366
- function kt(e) {
6367
- return r(Ot(e));
6376
+ function Nt(e) {
6377
+ return r(Mt(e));
6368
6378
  }
6369
- var At = {
6379
+ var Pt = {
6370
6380
  name: "details",
6371
6381
  category: "structure",
6372
6382
  description: "Use `details` to let users expand and collapse a section of content.",
@@ -6448,14 +6458,14 @@ var At = {
6448
6458
  }
6449
6459
  }
6450
6460
  ] }
6451
- }, jt = 16;
6452
- function Mt(e) {
6453
- return e <= 0 ? 0 : e >= 100 ? jt : Math.min(15, Math.max(1, Math.round(e / 100 * jt)));
6461
+ }, Ft = 16;
6462
+ function It(e) {
6463
+ return e <= 0 ? 0 : e >= 100 ? Ft : Math.min(15, Math.max(1, Math.round(e / 100 * Ft)));
6454
6464
  }
6455
- function Nt({ aspectRatio: e, blockSize: t, cell: n = "md", inlineSize: r, children: i, density: o = 50, id: s, ramp: c, tone: l = "default" } = {}) {
6465
+ function Lt({ aspectRatio: e, blockSize: t, cell: n = "md", inlineSize: r, children: i, density: o = 50, id: s, ramp: c, tone: l = "default" } = {}) {
6456
6466
  let u = a(s), d = [];
6457
6467
  t && d.push(`--set-dither-block-size: ${t / 16}rem`), r && d.push(`--set-dither-inline-size: ${r / 16}rem`);
6458
- let f = Mt(o), p = c ? Array.from({ length: f + 1 }, (e, t) => {
6468
+ let f = It(o), p = c ? Array.from({ length: f + 1 }, (e, t) => {
6459
6469
  let n = c === "inline-start" || c === "block-start" ? f - t : t;
6460
6470
  return {
6461
6471
  kind: "element",
@@ -6497,10 +6507,10 @@ function Nt({ aspectRatio: e, blockSize: t, cell: n = "md", inlineSize: r, child
6497
6507
  }] : []]
6498
6508
  };
6499
6509
  }
6500
- function Pt(e = {}) {
6501
- return r(Nt(e));
6510
+ function Rt(e = {}) {
6511
+ return r(Lt(e));
6502
6512
  }
6503
- var Ft = {
6513
+ var zt = {
6504
6514
  name: "dither",
6505
6515
  category: "graphic",
6506
6516
  description: "Use `dither` to render an ordered dither as a graphic or behind content.",
@@ -6681,7 +6691,7 @@ var Ft = {
6681
6691
  ] }
6682
6692
  };
6683
6693
  // src/components/divider/divider.ts
6684
- function It({ id: e, orientation: t = "horizontal", tone: n = "default" } = {}) {
6694
+ function Bt({ id: e, orientation: t = "horizontal", tone: n = "default" } = {}) {
6685
6695
  let r = a(e);
6686
6696
  return {
6687
6697
  kind: "element",
@@ -6696,10 +6706,10 @@ function It({ id: e, orientation: t = "horizontal", tone: n = "default" } = {})
6696
6706
  children: []
6697
6707
  };
6698
6708
  }
6699
- function Lt(e = {}) {
6700
- return r(It(e));
6709
+ function Vt(e = {}) {
6710
+ return r(Bt(e));
6701
6711
  }
6702
- var Rt = {
6712
+ var Ht = {
6703
6713
  name: "divider",
6704
6714
  category: "layout",
6705
6715
  description: "Use `divider` to separate sections with a rule.",
@@ -6797,7 +6807,7 @@ var Rt = {
6797
6807
  ] }
6798
6808
  };
6799
6809
  // src/components/fieldset/fieldset.ts
6800
- function zt({ children: e, description: t, disabled: n, id: r, invalid: a, legend: o, inlineSize: s = "full" }) {
6810
+ function Ut({ children: e, description: t, disabled: n, id: r, invalid: a, legend: o, inlineSize: s = "full" }) {
6801
6811
  let c = t?.trim(), l = r.trim();
6802
6812
  if (!l) throw Error("id must be a non-empty string.");
6803
6813
  if (!i(l)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
@@ -6838,10 +6848,10 @@ function zt({ children: e, description: t, disabled: n, id: r, invalid: a, legen
6838
6848
  children: p
6839
6849
  };
6840
6850
  }
6841
- function Bt(e) {
6842
- return r(zt(e));
6851
+ function Wt(e) {
6852
+ return r(Ut(e));
6843
6853
  }
6844
- var Vt = {
6854
+ var Gt = {
6845
6855
  name: "fieldset",
6846
6856
  category: "control",
6847
6857
  description: "Use `fieldset` to group related form controls under a legend.",
@@ -6966,7 +6976,7 @@ var Vt = {
6966
6976
  ] }
6967
6977
  };
6968
6978
  // src/components/figure/figure.ts
6969
- function Ht({ align: e = "start", caption: t, children: n, id: r, inlineSize: i = "full", responsive: o = !1 }) {
6979
+ function Kt({ align: e = "start", caption: t, children: n, id: r, inlineSize: i = "full", responsive: o = !1 }) {
6970
6980
  let s = a(r);
6971
6981
  return {
6972
6982
  kind: "element",
@@ -6984,7 +6994,7 @@ function Ht({ align: e = "start", caption: t, children: n, id: r, inlineSize: i
6984
6994
  kind: "element",
6985
6995
  tag: "figcaption",
6986
6996
  attrs: { class: "figcaption" },
6987
- children: [Z({
6997
+ children: [X({
6988
6998
  as: "span",
6989
6999
  children: t,
6990
7000
  responsive: o,
@@ -6993,10 +7003,10 @@ function Ht({ align: e = "start", caption: t, children: n, id: r, inlineSize: i
6993
7003
  }]
6994
7004
  };
6995
7005
  }
6996
- function Ut(e) {
6997
- return r(Ht(e));
7006
+ function qt(e) {
7007
+ return r(Kt(e));
6998
7008
  }
6999
- var Wt = {
7009
+ var Jt = {
7000
7010
  name: "figure",
7001
7011
  category: "structure",
7002
7012
  description: "Use `figure` to present media with a caption.",
@@ -7096,10 +7106,10 @@ var Wt = {
7096
7106
  }
7097
7107
  }
7098
7108
  ] }
7099
- }, Q = (e) => {
7109
+ }, Z = (e) => {
7100
7110
  if (e !== void 0) return String(e);
7101
7111
  };
7102
- function Gt({ children: e, gap: t = "default", id: n, responsiveRowGap: r }) {
7112
+ function Yt({ children: e, gap: t = "default", id: n, responsiveRowGap: r }) {
7103
7113
  let i = a(n);
7104
7114
  return {
7105
7115
  kind: "element",
@@ -7121,10 +7131,10 @@ function Gt({ children: e, gap: t = "default", id: n, responsiveRowGap: r }) {
7121
7131
  }]
7122
7132
  };
7123
7133
  }
7124
- function Kt(e) {
7125
- return r(Gt(e));
7134
+ function Xt(e) {
7135
+ return r(Yt(e));
7126
7136
  }
7127
- function qt({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide: i, colStart: o, colStartNarrow: s, colStartWide: c, id: l, justify: u, rowSpan: d, rowSpanNarrow: f, rowSpanWide: p, rowStart: m, rowStartNarrow: h, rowStartWide: g }) {
7137
+ function Zt({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide: i, colStart: o, colStartNarrow: s, colStartWide: c, id: l, justify: u, rowSpan: d, rowSpanNarrow: f, rowSpanWide: p, rowStart: m, rowStartNarrow: h, rowStartWide: g }) {
7128
7138
  let _ = a(l);
7129
7139
  return {
7130
7140
  kind: "element",
@@ -7133,18 +7143,18 @@ function qt({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide:
7133
7143
  class: "set-grid-item",
7134
7144
  "data-align": e,
7135
7145
  "data-justify": u,
7136
- "data-col-span-narrow": Q(r),
7137
- "data-col-start-narrow": Q(s),
7138
- "data-col-span": Q(n),
7139
- "data-col-start": Q(o),
7140
- "data-col-span-wide": Q(i),
7141
- "data-col-start-wide": Q(c),
7142
- "data-row-span-narrow": Q(f),
7143
- "data-row-start-narrow": Q(h),
7144
- "data-row-span": Q(d),
7145
- "data-row-start": Q(m),
7146
- "data-row-span-wide": Q(p),
7147
- "data-row-start-wide": Q(g),
7146
+ "data-col-span-narrow": Z(r),
7147
+ "data-col-start-narrow": Z(s),
7148
+ "data-col-span": Z(n),
7149
+ "data-col-start": Z(o),
7150
+ "data-col-span-wide": Z(i),
7151
+ "data-col-start-wide": Z(c),
7152
+ "data-row-span-narrow": Z(f),
7153
+ "data-row-start-narrow": Z(h),
7154
+ "data-row-span": Z(d),
7155
+ "data-row-start": Z(m),
7156
+ "data-row-span-wide": Z(p),
7157
+ "data-row-start-wide": Z(g),
7148
7158
  id: _
7149
7159
  },
7150
7160
  children: t ? [{
@@ -7153,10 +7163,10 @@ function qt({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide:
7153
7163
  }] : []
7154
7164
  };
7155
7165
  }
7156
- function Jt(e) {
7157
- return r(qt(e));
7166
+ function Qt(e) {
7167
+ return r(Zt(e));
7158
7168
  }
7159
- var Yt = {
7169
+ var $t = {
7160
7170
  name: "grid",
7161
7171
  category: "layout",
7162
7172
  description: "Use `grid` to lay out content in a 12-column grid that responds to its container.",
@@ -7246,12 +7256,12 @@ var Yt = {
7246
7256
  }
7247
7257
  }
7248
7258
  ] }
7249
- }, $ = {
7259
+ }, Q = {
7250
7260
  kind: "number",
7251
7261
  min: 1,
7252
7262
  max: 12,
7253
7263
  integer: !0
7254
- }, Xt = {
7264
+ }, en = {
7255
7265
  name: "grid-item",
7256
7266
  category: "layout",
7257
7267
  description: "Use `grid-item` to place content within a `grid` layout.",
@@ -7292,11 +7302,11 @@ var Yt = {
7292
7302
  },
7293
7303
  colSpan: {
7294
7304
  description: "Columns spanned when the grid's container is at its default width.",
7295
- type: $
7305
+ type: Q
7296
7306
  },
7297
7307
  colStart: {
7298
7308
  description: "Starting column when the grid's container is at its default width.",
7299
- type: $
7309
+ type: Q
7300
7310
  },
7301
7311
  id: {
7302
7312
  description: "DOM id.",
@@ -7304,43 +7314,43 @@ var Yt = {
7304
7314
  },
7305
7315
  rowSpan: {
7306
7316
  description: "Rows spanned when the grid's container is at its default width.",
7307
- type: $
7317
+ type: Q
7308
7318
  },
7309
7319
  rowSpanNarrow: {
7310
7320
  description: "Rows spanned when the grid's container is narrow.",
7311
- type: $
7321
+ type: Q
7312
7322
  },
7313
7323
  rowSpanWide: {
7314
7324
  description: "Rows spanned when the grid's container is wide.",
7315
- type: $
7325
+ type: Q
7316
7326
  },
7317
7327
  rowStart: {
7318
7328
  description: "Starting row when the grid's container is at its default width.",
7319
- type: $
7329
+ type: Q
7320
7330
  },
7321
7331
  rowStartNarrow: {
7322
7332
  description: "Starting row when the grid's container is narrow.",
7323
- type: $
7333
+ type: Q
7324
7334
  },
7325
7335
  rowStartWide: {
7326
7336
  description: "Starting row when the grid's container is wide.",
7327
- type: $
7337
+ type: Q
7328
7338
  },
7329
7339
  colSpanNarrow: {
7330
7340
  description: "Columns spanned when the grid's container is narrow.",
7331
- type: $
7341
+ type: Q
7332
7342
  },
7333
7343
  colStartNarrow: {
7334
7344
  description: "Starting column when the grid's container is narrow.",
7335
- type: $
7345
+ type: Q
7336
7346
  },
7337
7347
  colSpanWide: {
7338
7348
  description: "Columns spanned when the grid's container is wide.",
7339
- type: $
7349
+ type: Q
7340
7350
  },
7341
7351
  colStartWide: {
7342
7352
  description: "Starting column when the grid's container is wide.",
7343
- type: $
7353
+ type: Q
7344
7354
  }
7345
7355
  },
7346
7356
  events: {},
@@ -7528,7 +7538,7 @@ var Yt = {
7528
7538
  ] }
7529
7539
  };
7530
7540
  // src/components/heading/heading.ts
7531
- function Zt({ align: e = "start", children: t, id: n, level: r, linkVisited: i = !0, opticalAlign: o, responsive: s, size: c = "md" }) {
7541
+ function tn({ align: e = "start", children: t, id: n, level: r, linkVisited: i = !0, opticalAlign: o, responsive: s, size: c = "md" }) {
7532
7542
  let l = a(n);
7533
7543
  return {
7534
7544
  kind: "element",
@@ -7548,10 +7558,10 @@ function Zt({ align: e = "start", children: t, id: n, level: r, linkVisited: i =
7548
7558
  }]
7549
7559
  };
7550
7560
  }
7551
- function Qt(e) {
7552
- return r(Zt(e));
7561
+ function nn(e) {
7562
+ return r(tn(e));
7553
7563
  }
7554
- var $t = {
7564
+ var rn = {
7555
7565
  name: "heading",
7556
7566
  category: "typographic",
7557
7567
  description: "Use `heading` to render heading text with consistent type.",
@@ -7714,7 +7724,7 @@ var $t = {
7714
7724
  ] }
7715
7725
  };
7716
7726
  // src/components/inline/inline.ts
7717
- function en({ align: e = "center", as: t = "div", children: n, gap: r = "md", id: i, justify: o = "start", nowrap: s }) {
7727
+ function an({ align: e = "center", as: t = "div", children: n, gap: r = "md", id: i, justify: o = "start", nowrap: s }) {
7718
7728
  let c = a(i);
7719
7729
  return {
7720
7730
  kind: "element",
@@ -7733,10 +7743,10 @@ function en({ align: e = "center", as: t = "div", children: n, gap: r = "md", id
7733
7743
  }] : []
7734
7744
  };
7735
7745
  }
7736
- function tn(e) {
7737
- return r(en(e));
7746
+ function on(e) {
7747
+ return r(an(e));
7738
7748
  }
7739
- var nn = {
7749
+ var sn = {
7740
7750
  name: "inline",
7741
7751
  category: "layout",
7742
7752
  description: "Use `inline` to lay out content in a horizontal row.",
@@ -7885,7 +7895,7 @@ var nn = {
7885
7895
  ] }
7886
7896
  };
7887
7897
  // src/components/input/input.ts
7888
- function rn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, label: o, name: s, pattern: c, readOnly: l, required: u, size: d = "md", spellcheck: f, type: p = "text", value: m, inlineSize: h = "full" }) {
7898
+ function cn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, label: o, name: s, pattern: c, readOnly: l, required: u, size: d = "md", spellcheck: f, type: p = "text", value: m, inlineSize: h = "full" }) {
7889
7899
  let g = r.trim(), _ = t?.trim(), v = e !== !1 && e?.trim(), y = s?.trim(), b = c?.trim(), x = m;
7890
7900
  if (!g) throw Error("id must be a non-empty string.");
7891
7901
  if (!i(g)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
@@ -7943,10 +7953,10 @@ function rn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, l
7943
7953
  children: k
7944
7954
  };
7945
7955
  }
7946
- function an(e) {
7947
- return r(rn(e));
7956
+ function ln(e) {
7957
+ return r(cn(e));
7948
7958
  }
7949
- var on = {
7959
+ var un = {
7950
7960
  name: "input",
7951
7961
  category: "control",
7952
7962
  description: "Use `input` to collect a single line of text from users.",
@@ -8286,7 +8296,7 @@ var on = {
8286
8296
  }
8287
8297
  }
8288
8298
  ] }
8289
- }, sn = "0 0 6714.6 1200", cn = "0 0 600 1200", ln = [
8299
+ }, dn = "0 0 6714.6 1200", fn = "0 0 600 1200", pn = [
8290
8300
  {
8291
8301
  x: 0,
8292
8302
  y: 0
@@ -8319,11 +8329,11 @@ var on = {
8319
8329
  x: 450,
8320
8330
  y: 900
8321
8331
  }
8322
- ], un = "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", dn = 1163, fn = () => ({
8332
+ ], mn = "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", hn = 1163, gn = () => ({
8323
8333
  kind: "element",
8324
8334
  tag: "g",
8325
8335
  attrs: { class: "mark" },
8326
- children: ln.map(({ x: e, y: t }) => ({
8336
+ children: pn.map(({ x: e, y: t }) => ({
8327
8337
  kind: "element",
8328
8338
  tag: "rect",
8329
8339
  attrs: {
@@ -8334,20 +8344,20 @@ var on = {
8334
8344
  },
8335
8345
  children: []
8336
8346
  }))
8337
- }), pn = () => ({
8347
+ }), _n = () => ({
8338
8348
  kind: "element",
8339
8349
  tag: "g",
8340
8350
  attrs: {
8341
8351
  class: "word",
8342
- transform: `translate(${dn} 0)`
8352
+ transform: `translate(${hn} 0)`
8343
8353
  },
8344
8354
  children: [{
8345
8355
  kind: "element",
8346
8356
  tag: "path",
8347
- attrs: { d: un },
8357
+ attrs: { d: mn },
8348
8358
  children: []
8349
8359
  }]
8350
- }), mn = (e, t) => ({
8360
+ }), vn = (e, t) => ({
8351
8361
  kind: "element",
8352
8362
  tag: "svg",
8353
8363
  attrs: {
@@ -8357,14 +8367,14 @@ var on = {
8357
8367
  },
8358
8368
  children: t
8359
8369
  });
8360
- function hn() {
8361
- return mn(sn, [fn(), pn()]);
8370
+ function yn() {
8371
+ return vn(dn, [gn(), _n()]);
8362
8372
  }
8363
- function gn() {
8364
- return mn(cn, [fn()]);
8373
+ function bn() {
8374
+ return vn(fn, [gn()]);
8365
8375
  }
8366
8376
  // src/components/logo/logo.ts
8367
- function _n({ animated: e, id: t, label: n, size: r = "md", tone: i = "default", variant: o = "primary" }) {
8377
+ function xn({ animated: e, id: t, label: n, size: r = "md", tone: i = "default", variant: o = "primary" }) {
8368
8378
  let s = a(t), c = !!e && (o === "primary" || o === "graphic"), l = [{
8369
8379
  kind: "element",
8370
8380
  tag: "span",
@@ -8374,7 +8384,7 @@ function _n({ animated: e, id: t, label: n, size: r = "md", tone: i = "default",
8374
8384
  value: n
8375
8385
  }]
8376
8386
  }];
8377
- return c && l.push(o === "graphic" ? gn() : hn()), {
8387
+ return c && l.push(o === "graphic" ? bn() : yn()), {
8378
8388
  kind: "element",
8379
8389
  tag: "div",
8380
8390
  attrs: {
@@ -8388,10 +8398,10 @@ function _n({ animated: e, id: t, label: n, size: r = "md", tone: i = "default",
8388
8398
  children: l
8389
8399
  };
8390
8400
  }
8391
- function vn(e) {
8392
- return r(_n(e));
8401
+ function Sn(e) {
8402
+ return r(xn(e));
8393
8403
  }
8394
- var yn = {
8404
+ var Cn = {
8395
8405
  name: "logo",
8396
8406
  category: "graphic",
8397
8407
  description: "Use `logo` to display the brand mark.",
@@ -8525,7 +8535,7 @@ var yn = {
8525
8535
  ] }
8526
8536
  };
8527
8537
  // src/components/page/page.ts
8528
- function bn({ banner: e, centerMain: t, children: n, footer: r, header: i, headerBackground: o = "default", headerBorder: s, headerContentTheme: c, headerSize: l = "md", headerSticky: u, headerSurface: d, id: f }) {
8538
+ function wn({ banner: e, centerMain: t, children: n, footer: r, header: i, headerBackground: o = "default", headerBorder: s, headerContentTheme: c, headerSize: l = "md", headerSticky: u, headerSurface: d, id: f }) {
8529
8539
  let p = a(f), m = c ? d ?? "default" : d, h = [];
8530
8540
  return e && h.push({
8531
8541
  kind: "raw",
@@ -8573,10 +8583,10 @@ function bn({ banner: e, centerMain: t, children: n, footer: r, header: i, heade
8573
8583
  children: h
8574
8584
  };
8575
8585
  }
8576
- function xn(e) {
8577
- return r(bn(e));
8586
+ function Tn(e) {
8587
+ return r(wn(e));
8578
8588
  }
8579
- var Sn = {
8589
+ var En = {
8580
8590
  name: "page",
8581
8591
  category: "structure",
8582
8592
  description: "Use `page` as the primary layout for header, main, and footer regions.",
@@ -8820,7 +8830,7 @@ var Sn = {
8820
8830
  ] }
8821
8831
  };
8822
8832
  // src/components/pattern/pattern.ts
8823
- function Cn({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineSize: i, id: o, tone: s = "default", variant: c = "tile" } = {}) {
8833
+ function Dn({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineSize: i, id: o, tone: s = "default", variant: c = "tile" } = {}) {
8824
8834
  let l = a(o), u = [];
8825
8835
  return t && u.push(`--set-pattern-block-size: ${t / 16}rem`), i && u.push(`--set-pattern-inline-size: ${i / 16}rem`), {
8826
8836
  kind: "element",
@@ -8842,10 +8852,10 @@ function Cn({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineS
8842
8852
  }] : []
8843
8853
  };
8844
8854
  }
8845
- function wn(e = {}) {
8846
- return r(Cn(e));
8855
+ function On(e = {}) {
8856
+ return r(Dn(e));
8847
8857
  }
8848
- var Tn = {
8858
+ var kn = {
8849
8859
  name: "pattern",
8850
8860
  category: "graphic",
8851
8861
  description: "Use `pattern` to render a repeating brand tile as a graphic or behind content.",
@@ -9015,15 +9025,15 @@ var Tn = {
9015
9025
  ] }
9016
9026
  };
9017
9027
  // src/components/poster/poster.ts
9018
- function En(e) {
9019
- return ce({
9028
+ function An(e) {
9029
+ return le({
9020
9030
  ...e,
9021
9031
  alt: "",
9022
9032
  fit: "cover",
9023
9033
  priority: !0
9024
9034
  });
9025
9035
  }
9026
- function Dn({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
9036
+ function jn({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
9027
9037
  let o = a(n), s = t ? i ?? "default" : i, c = [{
9028
9038
  kind: "element",
9029
9039
  tag: "div",
@@ -9053,10 +9063,10 @@ function Dn({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
9053
9063
  children: c
9054
9064
  };
9055
9065
  }
9056
- function On(e) {
9057
- return r(Dn(e));
9066
+ function Mn(e) {
9067
+ return r(jn(e));
9058
9068
  }
9059
- var kn = {
9069
+ var Nn = {
9060
9070
  name: "poster",
9061
9071
  category: "structure",
9062
9072
  description: "Use `poster` to layer content over background media.",
@@ -9172,7 +9182,7 @@ var kn = {
9172
9182
  ] }
9173
9183
  };
9174
9184
  // src/components/prose/prose.ts
9175
- function An({ align: e = "start", children: t, hangingPunctuation: n, id: r, linkVisited: i = !0, measured: o = !0, monospaced: s, responsive: c }) {
9185
+ function Pn({ align: e = "start", children: t, hangingPunctuation: n, id: r, linkVisited: i = !0, measured: o = !0, monospaced: s, responsive: c }) {
9176
9186
  let l = a(r);
9177
9187
  return {
9178
9188
  kind: "element",
@@ -9193,10 +9203,10 @@ function An({ align: e = "start", children: t, hangingPunctuation: n, id: r, lin
9193
9203
  }]
9194
9204
  };
9195
9205
  }
9196
- function jn(e) {
9197
- return r(An(e));
9206
+ function Fn(e) {
9207
+ return r(Pn(e));
9198
9208
  }
9199
- var Mn = {
9209
+ var In = {
9200
9210
  name: "prose",
9201
9211
  category: "typographic",
9202
9212
  description: "Use `prose` to style rich-text markup.",
@@ -9337,7 +9347,7 @@ var Mn = {
9337
9347
  ] }
9338
9348
  };
9339
9349
  // src/components/radios/radios.ts
9340
- function Nn({ description: e, disabled: t, id: n, invalid: a, radios: o, legend: s, name: c, orientation: l = "vertical", required: u, size: d = "md", value: f }) {
9350
+ function Ln({ description: e, disabled: t, id: n, invalid: a, radios: o, legend: s, name: c, orientation: l = "vertical", required: u, size: d = "md", value: f }) {
9341
9351
  let p = n.trim(), m = c.trim(), h = f?.trim();
9342
9352
  if (!p) throw Error("id must be a non-empty string.");
9343
9353
  if (!i(p)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
@@ -9402,7 +9412,7 @@ function Nn({ description: e, disabled: t, id: n, invalid: a, radios: o, legend:
9402
9412
  children: r
9403
9413
  };
9404
9414
  });
9405
- return zt({
9415
+ return Ut({
9406
9416
  children: r({
9407
9417
  kind: "element",
9408
9418
  tag: "div",
@@ -9420,10 +9430,10 @@ function Nn({ description: e, disabled: t, id: n, invalid: a, radios: o, legend:
9420
9430
  legend: s
9421
9431
  });
9422
9432
  }
9423
- function Pn(e) {
9424
- return r(Nn(e));
9433
+ function Rn(e) {
9434
+ return r(Ln(e));
9425
9435
  }
9426
- var Fn = {
9436
+ var zn = {
9427
9437
  name: "radios",
9428
9438
  category: "control",
9429
9439
  description: "Use `radios` to let users select one option from a short list.",
@@ -9635,7 +9645,7 @@ var Fn = {
9635
9645
  ] }
9636
9646
  };
9637
9647
  // src/components/root/root.ts
9638
- function In({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children: r, dir: i, id: o, lang: s, theme: c }) {
9648
+ function Bn({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children: r, dir: i, id: o, lang: s, theme: c }) {
9639
9649
  let l = a(o);
9640
9650
  return {
9641
9651
  kind: "element",
@@ -9656,10 +9666,10 @@ function In({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children:
9656
9666
  }] : []
9657
9667
  };
9658
9668
  }
9659
- function Ln(e) {
9660
- return r(In(e));
9669
+ function Vn(e) {
9670
+ return r(Bn(e));
9661
9671
  }
9662
- var Rn = {
9672
+ var Hn = {
9663
9673
  name: "root",
9664
9674
  category: "environment",
9665
9675
  description: "Mandatory top-level `root` wrapper for the Set system.",
@@ -9803,7 +9813,7 @@ var Rn = {
9803
9813
  ] }
9804
9814
  };
9805
9815
  // src/components/stack/stack.ts
9806
- function zn({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", id: i, responsive: o }) {
9816
+ function Un({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", id: i, responsive: o }) {
9807
9817
  let s = a(i);
9808
9818
  return {
9809
9819
  kind: "element",
@@ -9821,10 +9831,10 @@ function zn({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", i
9821
9831
  }] : []
9822
9832
  };
9823
9833
  }
9824
- function Bn(e) {
9825
- return r(zn(e));
9834
+ function Wn(e) {
9835
+ return r(Un(e));
9826
9836
  }
9827
- var Vn = {
9837
+ var Gn = {
9828
9838
  name: "stack",
9829
9839
  category: "layout",
9830
9840
  description: "Use `stack` to lay out content in a vertical column.",
@@ -9945,7 +9955,7 @@ var Vn = {
9945
9955
  ] }
9946
9956
  };
9947
9957
  // src/components/surface/surface.ts
9948
- function Hn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
9958
+ function Kn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
9949
9959
  return {
9950
9960
  kind: "element",
9951
9961
  tag: "div",
@@ -9961,10 +9971,10 @@ function Hn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
9961
9971
  }]
9962
9972
  };
9963
9973
  }
9964
- function Un(e) {
9965
- return r(Hn(e));
9974
+ function qn(e) {
9975
+ return r(Kn(e));
9966
9976
  }
9967
- var Wn = {
9977
+ var Jn = {
9968
9978
  name: "surface",
9969
9979
  category: "environment",
9970
9980
  description: "Use `surface` to set a colour context for nested content.",
@@ -10046,7 +10056,7 @@ var Wn = {
10046
10056
  ] }
10047
10057
  };
10048
10058
  // src/components/switch/switch.ts
10049
- function Gn({ checked: e, description: t, disabled: n, id: r, label: i, name: o, size: s = "md", value: c }) {
10059
+ function Yn({ checked: e, description: t, disabled: n, id: r, label: i, name: o, size: s = "md", value: c }) {
10050
10060
  let l = a(r), u = t?.trim();
10051
10061
  if (u && !l) throw Error("id must be provided when description is provided.");
10052
10062
  let d = u ? `${l}-description` : void 0, f = [{
@@ -10099,10 +10109,10 @@ function Gn({ checked: e, description: t, disabled: n, id: r, label: i, name: o,
10099
10109
  children: f
10100
10110
  };
10101
10111
  }
10102
- function Kn(e) {
10103
- return r(Gn(e));
10112
+ function Xn(e) {
10113
+ return r(Yn(e));
10104
10114
  }
10105
- var qn = {
10115
+ var Zn = {
10106
10116
  name: "switch",
10107
10117
  category: "control",
10108
10118
  description: "Use `switch` to let users instantly toggle a setting on or off.",
@@ -10279,7 +10289,7 @@ var qn = {
10279
10289
  ] }
10280
10290
  };
10281
10291
  // src/components/textarea/textarea.ts
10282
- function Jn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, label: o, name: s, readOnly: c, required: l, resize: u = "vertical", rows: d = 2, size: f = "md", spellcheck: p, value: m, inlineSize: h = "full" }) {
10292
+ function Qn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, label: o, name: s, readOnly: c, required: l, resize: u = "vertical", rows: d = 2, size: f = "md", spellcheck: p, value: m, inlineSize: h = "full" }) {
10283
10293
  let g = r.trim(), _ = t?.trim(), v = e !== !1 && e?.trim(), y = s?.trim(), b = m;
10284
10294
  if (!g) throw Error("id must be a non-empty string.");
10285
10295
  if (!i(g)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
@@ -10339,10 +10349,10 @@ function Jn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, l
10339
10349
  children: w
10340
10350
  };
10341
10351
  }
10342
- function Yn(e) {
10343
- return r(Jn(e));
10352
+ function $n(e) {
10353
+ return r(Qn(e));
10344
10354
  }
10345
- var Xn = {
10355
+ var er = {
10346
10356
  name: "textarea",
10347
10357
  category: "control",
10348
10358
  description: "Use `textarea` to collect multiple lines of text from users.",
@@ -10665,7 +10675,228 @@ var Xn = {
10665
10675
  }
10666
10676
  }
10667
10677
  ] }
10668
- }, Zn = [
10678
+ };
10679
+ // src/runtime/canvas.ts
10680
+ function tr(e, { aspectRatio: t, maxWidth: n = 4096, onResize: r }) {
10681
+ let i = e.ownerDocument.defaultView, a = (a) => {
10682
+ let o = e.clientWidth, s = e.clientHeight;
10683
+ if (o === 0) return;
10684
+ let c = i?.devicePixelRatio || 1, l = c;
10685
+ o * l > n && (l = Math.max(1, Math.floor(n / o)));
10686
+ let u = l === c ? a : void 0, d = u?.inlineSize ?? Math.round(o * l), f = t ? Math.round(d / t) : u?.blockSize ?? Math.round(s * l);
10687
+ (d !== e.width || f !== e.height) && (e.width = d, e.height = f, r({
10688
+ height: f,
10689
+ ratio: d / o,
10690
+ width: d
10691
+ }));
10692
+ }, o = new ResizeObserver(([e]) => {
10693
+ a(e?.devicePixelContentBoxSize?.[0]);
10694
+ });
10695
+ return o.observe(e), a(), () => {
10696
+ o.disconnect();
10697
+ };
10698
+ }
10699
+ // src/runtime/dither.ts
10700
+ var nr = [
10701
+ 0,
10702
+ 2,
10703
+ 3,
10704
+ 1
10705
+ ], rr = /* @__PURE__ */ new Map([[2, nr]]), ir = (e) => {
10706
+ let t = rr.get(e);
10707
+ if (t) return t;
10708
+ let n = e / 2, r = ir(n), i = [];
10709
+ for (let t = 0; t < e; t += 1) for (let a = 0; a < e; a += 1) {
10710
+ let e = r[t % n * n + a % n] ?? 0, o = (t >= n ? 2 : 0) + +(a >= n);
10711
+ i.push(4 * e + (nr[o] ?? 0));
10712
+ }
10713
+ return rr.set(e, i), i;
10714
+ };
10715
+ function ar(e = 4) {
10716
+ let t = e * e;
10717
+ return ir(e).map((e) => (e + .5) / t);
10718
+ }
10719
+ function or(e, t = 4) {
10720
+ return ar(t).flatMap((n, r) => e > n ? [[r % t, Math.floor(r / t)]] : []);
10721
+ }
10722
+ function sr(e, { cell: t = 1, color: n, size: r = 4, tone: i }) {
10723
+ let a = Math.max(1, Math.round(t)), o = new OffscreenCanvas(a * r, a * r), s = o.getContext("2d");
10724
+ if (!s) return null;
10725
+ s.fillStyle = n;
10726
+ for (let [e, t] of or(i, r)) s.fillRect(e * a, t * a, a, a);
10727
+ return e.createPattern(o, "repeat");
10728
+ }
10729
+ function cr(e, t, n, r, i, a) {
10730
+ let o = sr(e, a);
10731
+ if (!o) return;
10732
+ let [s, c] = a.origin ?? [t, n];
10733
+ o.setTransform(new DOMMatrix([
10734
+ 1,
10735
+ 0,
10736
+ 0,
10737
+ 1,
10738
+ s,
10739
+ c
10740
+ ])), e.save(), e.fillStyle = o, e.fillRect(t, n, r, i), e.restore();
10741
+ }
10742
+ // src/runtime/frames.ts
10743
+ var lr = "(prefers-reduced-motion: reduce)";
10744
+ function ur(e, { onFrame: t, period: n }) {
10745
+ let r = e.ownerDocument, i = r.defaultView, a = pe(e, lr);
10746
+ if (!i || !(n > 0)) return () => {};
10747
+ let o = 0, s = !1, c = 0, l, u = (e) => {
10748
+ l ??= e - o * n;
10749
+ let r = Math.floor((e - l) / n);
10750
+ r !== o && (o = r, t(o)), c = i.requestAnimationFrame(u);
10751
+ }, d = () => {
10752
+ s && !r.hidden && !a?.matches ? c ||= i.requestAnimationFrame(u) : (i.cancelAnimationFrame(c), c = 0, l = void 0, a?.matches && o !== 0 && (o = 0, t(o)));
10753
+ }, f = new IntersectionObserver(([e]) => {
10754
+ s = e?.isIntersecting ?? !1, d();
10755
+ });
10756
+ return f.observe(e), r.addEventListener("visibilitychange", d), a?.addEventListener("change", d), () => {
10757
+ f.disconnect(), r.removeEventListener("visibilitychange", d), a?.removeEventListener("change", d), i.cancelAnimationFrame(c), c = 0;
10758
+ };
10759
+ }
10760
+ // src/runtime/easing.ts
10761
+ var dr = {
10762
+ ease: [
10763
+ .25,
10764
+ .1,
10765
+ .25,
10766
+ 1
10767
+ ],
10768
+ "ease-in": [
10769
+ .42,
10770
+ 0,
10771
+ 1,
10772
+ 1
10773
+ ],
10774
+ "ease-in-out": [
10775
+ .42,
10776
+ 0,
10777
+ .58,
10778
+ 1
10779
+ ],
10780
+ "ease-out": [
10781
+ 0,
10782
+ 0,
10783
+ .58,
10784
+ 1
10785
+ ]
10786
+ }, fr = {
10787
+ "step-end": "steps(1, end)",
10788
+ "step-start": "steps(1, start)"
10789
+ }, pr = (e, t, n, r) => {
10790
+ let i = (e, t, n) => 3 * e * (1 - n) * (1 - n) * n + 3 * t * (1 - n) * n * n + n * n * n;
10791
+ return (a) => {
10792
+ if (a <= 0) return 0;
10793
+ if (a >= 1) return 1;
10794
+ let o = 0, s = 1;
10795
+ for (let t = 0; t < 24; t += 1) {
10796
+ let t = (o + s) / 2;
10797
+ i(e, n, t) < a ? o = t : s = t;
10798
+ }
10799
+ return i(t, r, (o + s) / 2);
10800
+ };
10801
+ }, mr = (e, t) => {
10802
+ let n = t === "jump-both" ? e + 1 : t === "jump-none" ? e - 1 : e, r = [
10803
+ "jump-start",
10804
+ "start",
10805
+ "jump-both"
10806
+ ].includes(t);
10807
+ return (t) => {
10808
+ if (t <= 0) return r ? 1 / n : 0;
10809
+ if (t >= 1) return 1;
10810
+ let i = Math.floor(t * e) + +!!r;
10811
+ return Math.min(1, i / n);
10812
+ };
10813
+ }, hr = (e) => {
10814
+ let t = fr[e] ?? e;
10815
+ if (t === "linear") return (e) => Math.min(1, Math.max(0, e));
10816
+ let n = dr[t];
10817
+ if (n) return pr(...n);
10818
+ let r = /^cubic-bezier\(([^)]+)\)$/.exec(t);
10819
+ if (r) {
10820
+ let e = (r[1] ?? "").split(",").map(Number), [t = 0, n = 0, i = 1, a = 1] = e;
10821
+ return e.length === 4 && e.every(Number.isFinite) ? pr(t, n, i, a) : void 0;
10822
+ }
10823
+ let i = /^steps\((\d+)(?:,\s*([a-z-]+))?\)$/.exec(t);
10824
+ if (i) {
10825
+ let e = Number(i[1]), t = i[2] ?? "end";
10826
+ return e > +(t === "jump-none") ? mr(e, t) : void 0;
10827
+ }
10828
+ }, gr = [
10829
+ "data-set-brand",
10830
+ "data-set-content-theme",
10831
+ "data-set-surface",
10832
+ "data-set-theme"
10833
+ ], _r = [fe, "(forced-colors: active)"], vr = (e, t) => e.ownerDocument.defaultView?.getComputedStyle(e).getPropertyValue(t).trim() || void 0, $ = (e, t, n) => {
10834
+ if (!vr(e, t)) return;
10835
+ let r = e.ownerDocument, i = r.createElement("span");
10836
+ i.hidden = !0, i.style.setProperty(n, `var(${t})`), e.append(i);
10837
+ let a = r.defaultView?.getComputedStyle(i).getPropertyValue(n).trim();
10838
+ return i.remove(), a || void 0;
10839
+ }, yr = /* @__PURE__ */ new WeakMap(), br = (e) => {
10840
+ if (!yr.has(e)) {
10841
+ let t = e.createElement("canvas");
10842
+ t.width = 1, t.height = 1, yr.set(e, t.getContext("2d", { willReadFrequently: !0 }));
10843
+ }
10844
+ return yr.get(e) ?? null;
10845
+ };
10846
+ function xr(e, t) {
10847
+ let n = $(e, t, "color"), r = n ? br(e.ownerDocument) : null;
10848
+ if (!n || !r) return;
10849
+ r.clearRect(0, 0, 1, 1), r.fillStyle = n, r.fillRect(0, 0, 1, 1);
10850
+ let [i = 0, a = 0, o = 0, s = 0] = r.getImageData(0, 0, 1, 1).data, c = s / 255;
10851
+ return {
10852
+ alpha: c,
10853
+ b: o / 255,
10854
+ css: c === 1 ? `rgb(${i} ${a} ${o})` : `rgb(${i} ${a} ${o} / ${c})`,
10855
+ g: a / 255,
10856
+ r: i / 255
10857
+ };
10858
+ }
10859
+ function Sr(e, t) {
10860
+ let n = $(e, t, "transition-timing-function");
10861
+ return n ? hr(n) : void 0;
10862
+ }
10863
+ function Cr(e, t) {
10864
+ let n = $(e, t, "transition-duration"), r = n ? Number.parseFloat(n) : NaN;
10865
+ return Number.isFinite(r) ? r * 1e3 : void 0;
10866
+ }
10867
+ function wr(e, t, n = "px") {
10868
+ let r = $(e, t, "outline-offset"), i = r?.endsWith("px") ? Number.parseFloat(r) : NaN;
10869
+ if (!Number.isFinite(i)) return;
10870
+ if (n === "px") return i;
10871
+ let a = e.ownerDocument.documentElement, o = e.ownerDocument.defaultView;
10872
+ return i / (Number.parseFloat(o?.getComputedStyle(a).fontSize ?? "") || 16);
10873
+ }
10874
+ function Tr(e, t) {
10875
+ return vr(e, t);
10876
+ }
10877
+ function Er(e, t) {
10878
+ let n = e.ownerDocument, r = n.defaultView, i = 0, a = () => {
10879
+ !i && r && (i = r.requestAnimationFrame(() => {
10880
+ i = 0, t();
10881
+ }));
10882
+ }, o = new MutationObserver((t) => {
10883
+ t.some((t) => t.target.contains(e)) && a();
10884
+ });
10885
+ o.observe(n.documentElement, {
10886
+ attributeFilter: gr,
10887
+ attributes: !0,
10888
+ subtree: !0
10889
+ });
10890
+ let s = _r.map((t) => pe(e, t));
10891
+ for (let e of s) e?.addEventListener("change", a);
10892
+ return () => {
10893
+ o.disconnect();
10894
+ for (let e of s) e?.removeEventListener("change", a);
10895
+ i && r?.cancelAnimationFrame(i), i = 0;
10896
+ };
10897
+ }
10898
+ // src/spec.ts
10899
+ var Dr = [
10669
10900
  "control",
10670
10901
  "environment",
10671
10902
  "graphic",
@@ -10674,11 +10905,11 @@ var Xn = {
10674
10905
  "status",
10675
10906
  "structure",
10676
10907
  "typographic"
10677
- ], Qn = (e) => e.charAt(0).toUpperCase() + e.slice(1), $n = (e) => `${Qn(e.category)}/${Qn(e.name)}`;
10908
+ ], Or = (e) => e.charAt(0).toUpperCase() + e.slice(1), kr = (e) => `${Or(e.category)}/${Or(e.name)}`;
10678
10909
  // src/index.ts
10679
- function er() {
10680
- M(), ae(), le(), ve(), Ce(), Me(), Ie(), Ue(), Je();
10910
+ function Ar() {
10911
+ M(), oe(), ue(), Ce(), Oe(), Le(), Ve(), qe(), Qe();
10681
10912
  }
10682
- export { w as SET_ALERT_EVENT_BEFORE_DISMISS, T as SET_ALERT_EVENT_DISMISS, N as SET_ALERT_SPEC, C as SET_ALERT_TAG_NAME, st as SET_AVATAR_SPEC, ut as SET_BADGE_SPEC, L as SET_BANNER_EVENT_BEFORE_DISMISS, R as SET_BANNER_EVENT_DISMISS, oe as SET_BANNER_SPEC, I as SET_BANNER_TAG_NAME, ht as SET_BLOCKQUOTE_SPEC, vt as SET_BOX_SPEC, S as SET_BUTTON_SPEC, xt as SET_CARD_SPEC, wt as SET_CHECKBOX_SPEC, Zn as SET_COMPONENT_CATEGORIES, Dt as SET_CONTAINER_SPEC, At as SET_DETAILS_SPEC, Ft as SET_DITHER_SPEC, Rt as SET_DIVIDER_SPEC, Oe as SET_EXPANDER_SPEC, Vt as SET_FIELDSET_SPEC, Wt as SET_FIGURE_SPEC, Xt as SET_GRID_ITEM_SPEC, Yt as SET_GRID_SPEC, $t as SET_HEADING_SPEC, l as SET_ICON_NAMES, p as SET_ICON_SPEC, ue as SET_IMAGE_SPEC, B as SET_IMAGE_TAG_NAME, nn as SET_INLINE_SPEC, on as SET_INPUT_SPEC, de as SET_LIGHTSWITCH_EVENT_CHANGE, ye as SET_LIGHTSWITCH_SPEC, H as SET_LIGHTSWITCH_STORAGE_KEY, V as SET_LIGHTSWITCH_TAG_NAME, te as SET_LINK_SPEC, yn as SET_LOGO_SPEC, be as SET_MENU_EVENT_CHOOSE, we as SET_MENU_SPEC, W as SET_MENU_TAG_NAME, Ne as SET_NAV_SPEC, G as SET_NAV_TAG_NAME, Sn as SET_PAGE_SPEC, Tn as SET_PATTERN_SPEC, kn as SET_POSTER_SPEC, Mn as SET_PROSE_SPEC, Fn as SET_RADIOS_SPEC, Le as SET_RANGE_SPEC, K as SET_RANGE_TAG_NAME, Rn as SET_ROOT_SPEC, We as SET_SIDEBAR_SPEC, q as SET_SIDEBAR_TAG_NAME, g as SET_SPINNER_SPEC, Vn as SET_STACK_SPEC, Wn as SET_SURFACE_SPEC, qn as SET_SWITCH_SPEC, Xn as SET_TEXTAREA_SPEC, ft as SET_TEXT_SPEC, Ye as SET_VIDEO_SPEC, Y as SET_VIDEO_TAG_NAME, x as applySetButtonActivity, A as buildSetAlert, at as buildSetAvatar, ct as buildSetBadge, re as buildSetBanner, pt as buildSetBlockquote, gt as buildSetBox, y as buildSetButton, yt as buildSetCard, St as buildSetCheckbox, Tt as buildSetContainer, Ot as buildSetDetails, Nt as buildSetDither, It as buildSetDivider, Ee as buildSetExpander, zt as buildSetFieldset, Ht as buildSetFigure, Gt as buildSetGrid, qt as buildSetGridItem, Zt as buildSetHeading, d as buildSetIcon, se as buildSetImage, en as buildSetInline, rn as buildSetInput, ge as buildSetLightswitch, F as buildSetLink, _n as buildSetLogo, xe as buildSetMenu, Ae as buildSetNav, bn as buildSetPage, Cn as buildSetPattern, Dn as buildSetPoster, An as buildSetProse, Nn as buildSetRadios, Pe as buildSetRange, In as buildSetRoot, Ve as buildSetSidebar, m as buildSetSpinner, zn as buildSetStack, Hn as buildSetSurface, Gn as buildSetSwitch, Z as buildSetText, Jn as buildSetTextarea, Ge as buildSetVideo, M as defineSetAlert, ae as defineSetBanner, er as defineSetComponents, le as defineSetImage, ve as defineSetLightswitch, Ce as defineSetMenu, Me as defineSetNav, Ie as defineSetRange, Ue as defineSetSidebar, Je as defineSetVideo, Mt as ditherLevel, t as escapeHtml, Qe as getSetInitials, j as renderSetAlert, ot as renderSetAvatar, lt as renderSetBadge, ie as renderSetBanner, mt as renderSetBlockquote, _t as renderSetBox, b as renderSetButton, bt as renderSetCard, Ct as renderSetCheckbox, Et as renderSetContainer, kt as renderSetDetails, Pt as renderSetDither, Lt as renderSetDivider, De as renderSetExpander, Bt as renderSetFieldset, Ut as renderSetFigure, Kt as renderSetGrid, Jt as renderSetGridItem, Qt as renderSetHeading, f as renderSetIcon, ce as renderSetImage, tn as renderSetInline, an as renderSetInput, _e as renderSetLightswitch, ee as renderSetLink, vn as renderSetLogo, Se as renderSetMenu, je as renderSetNav, xn as renderSetPage, wn as renderSetPattern, On as renderSetPoster, En as renderSetPosterImage, jn as renderSetProse, Pn as renderSetRadios, Fe as renderSetRange, Ln as renderSetRoot, He as renderSetSidebar, h as renderSetSpinner, Bn as renderSetStack, Un as renderSetSurface, Kn as renderSetSwitch, dt as renderSetText, Yn as renderSetTextarea, Ke as renderSetVideo, r as serializeSetNode, $n as specToStoryTitle };
10913
+ export { w as SET_ALERT_EVENT_BEFORE_DISMISS, T as SET_ALERT_EVENT_DISMISS, ee as SET_ALERT_SPEC, C as SET_ALERT_TAG_NAME, dt as SET_AVATAR_SPEC, mt as SET_BADGE_SPEC, I as SET_BANNER_EVENT_BEFORE_DISMISS, L as SET_BANNER_EVENT_DISMISS, se as SET_BANNER_SPEC, F as SET_BANNER_TAG_NAME, yt as SET_BLOCKQUOTE_SPEC, St as SET_BOX_SPEC, S as SET_BUTTON_SPEC, Tt as SET_CARD_SPEC, Ot as SET_CHECKBOX_SPEC, Dr as SET_COMPONENT_CATEGORIES, jt as SET_CONTAINER_SPEC, Pt as SET_DETAILS_SPEC, zt as SET_DITHER_SPEC, Ht as SET_DIVIDER_SPEC, Ne as SET_EXPANDER_SPEC, Gt as SET_FIELDSET_SPEC, Jt as SET_FIGURE_SPEC, en as SET_GRID_ITEM_SPEC, $t as SET_GRID_SPEC, rn as SET_HEADING_SPEC, l as SET_ICON_NAMES, p as SET_ICON_SPEC, de as SET_IMAGE_SPEC, z as SET_IMAGE_TAG_NAME, sn as SET_INLINE_SPEC, un as SET_INPUT_SPEC, he as SET_LIGHTSWITCH_EVENT_CHANGE, we as SET_LIGHTSWITCH_SPEC, V as SET_LIGHTSWITCH_STORAGE_KEY, B as SET_LIGHTSWITCH_TAG_NAME, ne as SET_LINK_SPEC, Cn as SET_LOGO_SPEC, Te as SET_MENU_EVENT_CHOOSE, ke as SET_MENU_SPEC, H as SET_MENU_TAG_NAME, Re as SET_NAV_SPEC, U as SET_NAV_TAG_NAME, En as SET_PAGE_SPEC, kn as SET_PATTERN_SPEC, Nn as SET_POSTER_SPEC, In as SET_PROSE_SPEC, zn as SET_RADIOS_SPEC, He as SET_RANGE_SPEC, W as SET_RANGE_TAG_NAME, Hn as SET_ROOT_SPEC, Je as SET_SIDEBAR_SPEC, G as SET_SIDEBAR_TAG_NAME, g as SET_SPINNER_SPEC, Gn as SET_STACK_SPEC, Jn as SET_SURFACE_SPEC, Zn as SET_SWITCH_SPEC, er as SET_TEXTAREA_SPEC, gt as SET_TEXT_SPEC, $e as SET_VIDEO_SPEC, J as SET_VIDEO_TAG_NAME, x as applySetButtonActivity, A as buildSetAlert, lt as buildSetAvatar, ft as buildSetBadge, ie as buildSetBanner, _t as buildSetBlockquote, bt as buildSetBox, y as buildSetButton, Ct as buildSetCard, Et as buildSetCheckbox, kt as buildSetContainer, Mt as buildSetDetails, Lt as buildSetDither, Bt as buildSetDivider, je as buildSetExpander, Ut as buildSetFieldset, Kt as buildSetFigure, Yt as buildSetGrid, Zt as buildSetGridItem, tn as buildSetHeading, d as buildSetIcon, ce as buildSetImage, an as buildSetInline, cn as buildSetInput, xe as buildSetLightswitch, P as buildSetLink, xn as buildSetLogo, Ee as buildSetMenu, Fe as buildSetNav, wn as buildSetPage, Dn as buildSetPattern, jn as buildSetPoster, Pn as buildSetProse, Ln as buildSetRadios, ze as buildSetRange, Bn as buildSetRoot, Ge as buildSetSidebar, m as buildSetSpinner, Un as buildSetStack, Kn as buildSetSurface, Yn as buildSetSwitch, X as buildSetText, Qn as buildSetTextarea, Ye as buildSetVideo, sr as createSetDitherPattern, M as defineSetAlert, oe as defineSetBanner, Ar as defineSetComponents, ue as defineSetImage, Ce as defineSetLightswitch, Oe as defineSetMenu, Le as defineSetNav, Ve as defineSetRange, qe as defineSetSidebar, Qe as defineSetVideo, It as ditherLevel, t as escapeHtml, cr as fillSetDither, ar as getSetBayerMatrix, or as getSetDitherCells, nt as getSetInitials, j as renderSetAlert, ut as renderSetAvatar, pt as renderSetBadge, ae as renderSetBanner, vt as renderSetBlockquote, xt as renderSetBox, b as renderSetButton, wt as renderSetCard, Dt as renderSetCheckbox, At as renderSetContainer, Nt as renderSetDetails, Rt as renderSetDither, Vt as renderSetDivider, Me as renderSetExpander, Wt as renderSetFieldset, qt as renderSetFigure, Xt as renderSetGrid, Qt as renderSetGridItem, nn as renderSetHeading, f as renderSetIcon, le as renderSetImage, on as renderSetInline, ln as renderSetInput, Se as renderSetLightswitch, te as renderSetLink, Sn as renderSetLogo, De as renderSetMenu, Ie as renderSetNav, Tn as renderSetPage, On as renderSetPattern, Mn as renderSetPoster, An as renderSetPosterImage, Fn as renderSetProse, Rn as renderSetRadios, Be as renderSetRange, Vn as renderSetRoot, Ke as renderSetSidebar, h as renderSetSpinner, Wn as renderSetStack, qn as renderSetSurface, Xn as renderSetSwitch, ht as renderSetText, $n as renderSetTextarea, Xe as renderSetVideo, xr as resolveSetColor, Sr as resolveSetEasing, wr as resolveSetLength, Tr as resolveSetString, Cr as resolveSetTime, ur as runSetFrames, r as serializeSetNode, tr as sizeSetCanvas, kr as specToStoryTitle, Er as watchSetTokens };
10683
10914
 
10684
10915
  //# sourceMappingURL=index.js.map