@devslab/site-kit 0.5.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/solid.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { className as e, createComponent as t, delegateEvents as n, effect as r, getNextElement as i, getNextMarker as a, insert as o, memo as s, mergeProps as c, runHydrationEvents as l, setAttribute as u, setProperty as d, spread as f, template as p, use as m } from "solid-js/web";
2
- import { For as h, createSignal as g, createUniqueId as _, onMount as v } from "solid-js";
3
- import { Button as y, Field as b, Icon as x, IconButton as S } from "@devslab/dds-solid";
2
+ import { For as h, Show as g, createSignal as _, createUniqueId as v, onMount as y } from "solid-js";
3
+ import { Button as b, Field as x, Icon as S, IconButton as C } from "@devslab/dds-solid";
4
4
  //#region src/core/locales.mjs
5
- var C = Object.freeze([
5
+ var w = Object.freeze([
6
6
  {
7
7
  code: "ko",
8
8
  language: "Korean",
@@ -87,53 +87,65 @@ var C = Object.freeze([
87
87
  nativeName: "العربية",
88
88
  dir: "rtl"
89
89
  }
90
- ]), w = Object.freeze([["zh", "zh-TW"], ["pt", "pt-BR"]]);
91
- function T(e = {}) {
92
- let t = e.extra ?? [], n = new Set(C.map(({ code: e }) => e));
90
+ ]), T = Object.freeze([["zh", "zh-TW"], ["pt", "pt-BR"]]);
91
+ function E(e = {}) {
92
+ let t = e.extra ?? [], n = w;
93
+ if (e.only !== void 0) {
94
+ if (e.only.length === 0) throw RangeError("`only` needs at least one locale — a registry with none is a bug, not a choice");
95
+ let t = new Set(e.only);
96
+ for (let e of t) if (!w.some((t) => t.code === e)) throw RangeError(`${e} is not a family locale — \`only\` selects from the family list; use \`extra\` for a product's own`);
97
+ n = Object.freeze(w.filter((e) => t.has(e.code)));
98
+ }
99
+ let r = new Set(n.map(({ code: e }) => e));
93
100
  for (let e of t) {
94
101
  if (!e?.code) throw TypeError("every extra locale needs a code");
95
- if (n.has(e.code)) throw RangeError(`${e.code} is already a family locale — remove it from \`extra\``);
102
+ if (w.some((t) => t.code === e.code)) throw RangeError(`${e.code} is already a family locale — remove it from \`extra\``);
103
+ if (r.has(e.code)) throw RangeError(`${e.code} appears twice in \`extra\``);
96
104
  if (!e.nativeName) throw TypeError(`${e.code} needs a nativeName — it is what the picker shows`);
97
105
  if (e.dir !== "ltr" && e.dir !== "rtl") throw RangeError(`${e.code} needs dir "ltr" or "rtl"`);
98
- n.add(e.code);
106
+ r.add(e.code);
99
107
  }
100
- let r = Object.freeze([...C, ...t.map((e) => Object.freeze({ ...e }))]), i = new Map(r.map((e) => [e.code.toLowerCase(), e])), a = new Map([...w, ...e.aliases ?? []]);
101
- function o(e) {
108
+ let i = Object.freeze([...n, ...t.map((e) => Object.freeze({ ...e }))]), a = new Map(i.map((e) => [e.code.toLowerCase(), e])), o = new Map([...T, ...e.aliases ?? []]);
109
+ function s(e) {
102
110
  if (!e) return;
103
- let t = i.get(String(e).trim().toLowerCase());
111
+ let t = a.get(String(e).trim().toLowerCase());
104
112
  if (t) return t.code;
105
113
  let n = String(e).trim().toLowerCase().split("-")[0];
106
- return a.has(n) ? a.get(n) : i.get(n)?.code;
107
- }
108
- function s(e) {
109
- let t = o(e);
110
- if (!t) throw RangeError(`Unsupported locale: ${e}`);
111
- return i.get(t.toLowerCase());
114
+ if (o.has(n)) {
115
+ let e = o.get(n);
116
+ return a.has(e.toLowerCase()) ? e : void 0;
117
+ }
118
+ return a.get(n)?.code;
112
119
  }
113
120
  function c(e) {
114
121
  let t = s(e);
122
+ if (!t) throw RangeError(`Unsupported locale: ${e}`);
123
+ return a.get(t.toLowerCase());
124
+ }
125
+ function l(e) {
126
+ let t = c(e);
115
127
  return {
116
128
  lang: t.code,
117
129
  dir: t.dir
118
130
  };
119
131
  }
120
- function l({ pathname: e = "/", cookie: t = "", acceptLanguage: n = "", defaultLocale: r }) {
121
- let i = o(e.split("/").filter(Boolean)[0]);
132
+ function u({ pathname: e = "/", cookie: t = "", acceptLanguage: n = "", defaultLocale: r }) {
133
+ let i = s(e.split("/").filter(Boolean)[0]);
122
134
  if (i) return {
123
135
  locale: i,
124
136
  source: "route"
125
137
  };
126
- let a = o(E(t, "locale"));
138
+ let a = s(D(t, "locale"));
127
139
  if (a) return {
128
140
  locale: a,
129
141
  source: "cookie"
130
142
  };
131
- let s = D(n, o)[0]?.locale;
132
- if (s) return {
133
- locale: s,
143
+ let o = O(n, s)[0]?.locale;
144
+ if (o) return {
145
+ locale: o,
134
146
  source: "accept-language"
135
147
  };
136
- let c = o(r);
148
+ let c = s(r);
137
149
  if (!c) throw RangeError(`Unsupported default locale: ${r}`);
138
150
  return {
139
151
  locale: c,
@@ -141,14 +153,14 @@ function T(e = {}) {
141
153
  };
142
154
  }
143
155
  return Object.freeze({
144
- LOCALES: r,
145
- canonicalLocale: o,
146
- localeAttributes: c,
147
- resolveLocale: l,
148
- definitionFor: s
156
+ LOCALES: i,
157
+ canonicalLocale: s,
158
+ localeAttributes: l,
159
+ resolveLocale: u,
160
+ definitionFor: c
149
161
  });
150
162
  }
151
- function E(e, t) {
163
+ function D(e, t) {
152
164
  for (let n of String(e ?? "").split(";")) {
153
165
  let e = n.indexOf("=");
154
166
  if (!(e < 0) && n.slice(0, e).trim() === t) try {
@@ -158,7 +170,7 @@ function E(e, t) {
158
170
  }
159
171
  }
160
172
  }
161
- function D(e, t) {
173
+ function O(e, t) {
162
174
  return String(e ?? "").split(",").map((e, n) => {
163
175
  let [r, ...i] = e.trim().split(";"), a = Number(i.find((e) => e.trim().startsWith("q="))?.split("=")[1] ?? 1);
164
176
  return {
@@ -168,7 +180,7 @@ function D(e, t) {
168
180
  };
169
181
  }).filter(({ locale: e, q: t }) => e && t > 0).sort((e, t) => t.q - e.q || e.order - t.order);
170
182
  }
171
- var O = T(), { canonicalLocale: k, localeAttributes: A, resolveLocale: j } = O;
183
+ var k = E(), { canonicalLocale: A, localeAttributes: j, resolveLocale: M } = k;
172
184
  Object.freeze({
173
185
  ko: "kr",
174
186
  en: "us",
@@ -185,7 +197,7 @@ Object.freeze({
185
197
  es: "es",
186
198
  ar: "sa"
187
199
  });
188
- var M = Object.freeze({
200
+ var N = Object.freeze({
189
201
  kr: Object.freeze({
190
202
  country: "kr",
191
203
  viewBox: "0 0 640 480",
@@ -256,28 +268,28 @@ var M = Object.freeze({
256
268
  viewBox: "0 0 640 480",
257
269
  body: "<defs>\n <clipPath id=\"sa-a\">\n <path fill-opacity=\".7\" d=\"M-85.3 0h682.6v512H-85.3z\"/>\n </clipPath>\n </defs>\n <g fill-rule=\"evenodd\" clip-path=\"url(#sa-a)\" transform=\"translate(80)scale(.9375)\">\n <path fill=\"#165d31\" d=\"M-128 0h768v512h-768z\"/>\n <path fill=\"#fff\" d=\"M65.5 145.1c-.8 12-2 33 8.3 35.2 12.3 1.2 5.5-20.8 10-24.8.8-2 2.3-2 2.4.5v18.7c0 6 4 7.8 7 9 3.2-.2 5.4 0 6.6 3l1.6 32.3s7.4 2.2 7.8-18.1c.3-12-2.4-21.9-.8-24.2 0-2.3 3-2.4 5-1.3 3.2 2.2 4.6 5 9.6 4 7.6-2.2 12.2-5.9 12.3-11.7a47 47 0 0 0-3.5-16.6c.4-1-1.4-3.7-1-4.7 1.3 2.2 3.4 2 3.8 0-1.3-4.2-3.3-8.3-6.5-10-2.7-2.4-6.7-2-8 3-.8 5.7 2 12.4 6.1 18 .9 2.1 2.1 5.7 1.6 8.9q-3.4 1.8-6.3-1.2s-6-4.5-6-5.6c1.6-10.2.3-11.4-.6-14.3-.6-3.9-2.5-5.2-4-7.8-1.5-1.6-3.5-1.6-4.5 0-2.7 4.6-1.4 14.5.5 19 1.4 4.1 3.5 6.7 2.5 6.7-.8 2.3-2.5 1.7-3.8-1a67 67 0 0 1-2.1-17.4c-.5-4.6-1.1-14.4-4.2-17-1.8-2.4-4.5-1.2-5.5 1a82 82 0 0 0 .3 13.4c2 7.4 2.7 14 3.7 21.5.3 10.1-5.8 4.4-5.5-.7a45 45 0 0 0-.3-19.4c-1-2.6-2.1-3.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5.4.6 11.5.6 11.8 0zm-97 65c-6 9.6-6.5 23.9-3.2 28.2 1.8 2 4.7 2.9 6.8 2.2 3.8-1.6 5.5-9.3 4.6-12q-1.8-3-3.6-.7c-2.6 5.4-3.7 1.7-4-1.3a70 70 0 0 1 .8-15.2c.7-4.2 0-3-1.4-1.2m257.1-15.3c-5.8-12.6-13.9-25-16.4-29.7a558 558 0 0 0-24.8-36c-6.2-7.4 10.2 3.1-2-11.7l-8.9-7.5c-2-1.4-6.8-4-7.6.2-.4 3.8-.2 5.8.4 8.9.5 2 3.5 5.5 5 7.5a565 565 0 0 1 53.8 86.5c2.6-1.3 2-16.1.5-18.2\"/>\n <path fill=\"#fff\" d=\"M299.6 251.5c-1.2 1.3 2.8 6.8 8 6.8 8.6-1 16.2-5.8 23.2-18.6a33 33 0 0 0 5.3-14.2 317 317 0 0 0-5.8-72.4c-.3-2 0-4.4.2-5 .6-.7 2.5 0 3.5-1.7 1.5-1.5-4-14-7-18.7-1-2.2-1.5-3.6-3.3.2a27 27 0 0 0-3 13.6c4.1 28.5 5.4 53.4 8 81.9.3 2.8-.1 6.8-2 8.4a80 80 0 0 1-27.1 19.7m116.5-.1c-6.2 3.6-6.2 7.7-1.2 7.8 8.6-1 18.8-1.7 25.8-12.3a41 41 0 0 0 4.2-16 303 303 0 0 0-4.7-71.4c-.2-2-1.1-6.7-.8-7.3.6-1.4 3.4.1 4.4-1.5 1.4-1.5-7.3-12.7-10.4-17.5-1-2.2-1.4-3.6-3.3.2a22 22 0 0 0-1.8 13.6c4.6 31 8 54.2 8.7 81.6-.4 2.6-.5 4-1.7 7.3-2.7 3.4-5.7 7.8-8.5 9.9-2.8 2-8.8 4-10.7 5.6\"/>\n <path fill=\"#fff\" d=\"M420.7 223.7q.1-10.9-.1-19a34 34 0 0 0-3-13.5c-1.8-4.1-.7-7.4-1.6-11.8-.8-4.4-.6-11-1.8-16.1-.4-2-1.4-8.5-1.1-9.2.5-1.4 2.4 0 3.4-1.6 1.4-1.5-5-18-8.2-22.7-1.1-2.1-3.3-1.4-5.8 2-2.5 2.3-1.6 7.4-.6 12.3 6.1 32.3 10.8 61.6 9.8 92.3-.4 2.6 9-7.8 9-12.7m-45.7-40c-3.9-.2-12-7.7-14.4-12a8 8 0 0 1 .4-6.5c1.5-1 3.7-2 5.4-1 0 0 1.7 2.4 1.4 2.7 2 1 3 .5 3.2-.4.1-1.5-.6-2.4-.6-4 .9-4.6 6-5.3 8-2.4 1.4 1.8 2 5.5 2.1 8 0 1.3-2-.2-3.3 0-1.1.4-1.4 1.8-1.5 3-.2 3.3-.6 8.6-.7 12.5zm-71.8 48c1-9.8-.4-27.3-.5-33.1A477 477 0 0 0 299 154c-1.2-8.4 3.4.9 2.8-4-1.5-8.3-6.1-14-11.6-21.5-1.7-2.5-1.7-3-4.4.6-3 6.7-.4 11.4.4 16.7 3.9 17.2 6.2 33 7.3 48.7a393 393 0 0 1 .4 49c3 .1 7.6-4.7 9.3-11.8\"/>\n <path fill=\"#fff\" d=\"M434 216c-6.9-11.6-17.2-24-20-28.7a658 658 0 0 0-29.2-37.8c-8.5-9 4-1.5-1.6-8.5-4.7-5.1-6-6.8-10.1-9.9-2-1.3-3.2-3.8-4 .5a83 83 0 0 0-.2 11.2c0 1.7 1.8 5 3.4 7 20.7 25.5 43.4 51.5 61.6 84.2 2.6-1.3 1.7-16 0-18z\"/>\n <path fill=\"#165d31\" d=\"M122.6 194.7c-.5.9-1.6 2-1.2 3.1q1 1.4 2.6 1.3c1.1 0 2.7.3 3-.3q1-1.2.6-3.3c-1.2-3-4.4-1.8-5-.8\"/>\n <path fill=\"#fff\" d=\"M354.2 362.5c9.2.4 15.2.5 23.3 1.4l9.6-1c10.6-1 11 15.1 11 15.1 0 9.5-3.7 10-8.4 11-2.7.4-4-1.6-5.5-3.6a14 14 0 0 1-7 .4l-11.5-.5c-4-.3-6.2.5-10.3.1-.8 1.3-2 3.1-4.4 2.6-2-.3-4.5-6-3.8-10.5 1.5-3.2 1-2.1 1-3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-2.5-7.5.1-4.1.5-7.8-.1-12-.3-1.2-1.5-1-4.2.4-4.8\"/>\n </g>"
258
270
  })
259
- }), N = Object.freeze({
260
- ko: M.kr,
261
- en: M.us,
262
- ja: M.jp,
263
- "zh-HK": M.hk,
264
- "zh-TW": M.tw,
265
- hi: M.in,
266
- vi: M.vn,
267
- id: M.id,
268
- th: M.th,
269
- "pt-BR": M.br,
270
- fr: M.fr,
271
- de: M.de,
272
- es: M.es,
273
- ar: M.sa
271
+ }), P = Object.freeze({
272
+ ko: N.kr,
273
+ en: N.us,
274
+ ja: N.jp,
275
+ "zh-HK": N.hk,
276
+ "zh-TW": N.tw,
277
+ hi: N.in,
278
+ vi: N.vn,
279
+ id: N.id,
280
+ th: N.th,
281
+ "pt-BR": N.br,
282
+ fr: N.fr,
283
+ de: N.de,
284
+ es: N.es,
285
+ ar: N.sa
274
286
  });
275
- function P(e, t) {
276
- let n = N[e];
287
+ function F(e, t) {
288
+ let n = P[e];
277
289
  if (n) return n;
278
290
  let r = t?.LOCALES?.find((t) => t.code === e);
279
291
  if (r?.flagCountry) {
280
- let t = M[r.flagCountry];
292
+ let t = N[r.flagCountry];
281
293
  if (t) return t;
282
294
  throw RangeError(`No vendored flag for country: ${r.flagCountry} (locale ${e})`);
283
295
  }
@@ -285,8 +297,8 @@ function P(e, t) {
285
297
  }
286
298
  //#endregion
287
299
  //#region src/solid/locale-menu.tsx
288
- var F = /*#__PURE__*/ p("<svg aria-hidden=true>"), I = /*#__PURE__*/ p("<label><span class=dds-sr-only></span><span class=\"dds-select site-locale\"><select class=dds-select__input>"), L = /*#__PURE__*/ p("<option>"), R = /*#__PURE__*/ p("<details class=site-locale-flag><summary class=site-locale-flag__trigger></summary><ul class=site-locale-flag__list role=list>"), z = /*#__PURE__*/ p("<li><a class=site-locale-flag__option><!$><!/><span>");
289
- function ee(e, t) {
300
+ var I = /*#__PURE__*/ p("<svg aria-hidden=true>"), L = /*#__PURE__*/ p("<label><span class=dds-sr-only></span><span class=\"dds-select site-locale\"><select class=dds-select__input>"), ee = /*#__PURE__*/ p("<option>"), te = /*#__PURE__*/ p("<details class=site-locale-flag><summary class=site-locale-flag__trigger></summary><ul class=site-locale-flag__list role=list>"), ne = /*#__PURE__*/ p("<li><a class=site-locale-flag__option><!$><!/><span>");
301
+ function R(e, t) {
290
302
  let n = [...e.matchAll(/\bid="([^"]+)"/g)].map((e) => e[1]);
291
303
  if (n.length === 0) return e;
292
304
  let r = e;
@@ -296,13 +308,13 @@ function ee(e, t) {
296
308
  }
297
309
  return r;
298
310
  }
299
- var B = (e) => e.registry ?? O;
300
- function V(e) {
301
- let t = _(), n = () => P(e.locale, e.registry);
311
+ var z = (e) => e.registry ?? k;
312
+ function B(e) {
313
+ let t = v(), n = () => F(e.locale, e.registry);
302
314
  return (() => {
303
- var a = i(F);
315
+ var a = i(I);
304
316
  return r((r) => {
305
- var i = e.class, o = n().viewBox, s = ee(n().body, t);
317
+ var i = e.class, o = n().viewBox, s = R(n().body, t);
306
318
  return i !== r.e && u(a, "class", r.e = i), o !== r.t && u(a, "viewBox", r.t = o), s !== r.a && d(a, "innerHTML", r.a = s), r;
307
319
  }, {
308
320
  e: void 0,
@@ -311,10 +323,10 @@ function V(e) {
311
323
  }), a;
312
324
  })();
313
325
  }
314
- function H(e) {
315
- let n = () => B(e);
326
+ function re(e) {
327
+ let n = () => z(e);
316
328
  return (() => {
317
- var a = i(I), s = a.firstChild, c = s.nextSibling.firstChild;
329
+ var a = i(L), s = a.firstChild, c = s.nextSibling.firstChild;
318
330
  return o(s, () => e.messages.localeLabel), c.addEventListener("change", (t) => {
319
331
  let n = t.currentTarget.value, r = e.state.hrefForLocale(n);
320
332
  e.onLocaleChange ? e.onLocaleChange(n, r) : window.location.assign(r);
@@ -323,7 +335,7 @@ function H(e) {
323
335
  return n().LOCALES;
324
336
  },
325
337
  children: (t) => (() => {
326
- var n = i(L);
338
+ var n = i(ee);
327
339
  return o(n, () => t.nativeName), r((r) => {
328
340
  var i = t.code, a = t.dir, o = t.code === e.state.locale;
329
341
  return i !== r.e && u(n, "lang", r.e = i), a !== r.t && u(n, "dir", r.t = a), o !== r.a && d(n, "selected", r.a = o), r;
@@ -336,8 +348,8 @@ function H(e) {
336
348
  })), r(() => u(c, "aria-label", e.messages.localeLabel)), a;
337
349
  })();
338
350
  }
339
- function U(e) {
340
- let n, s, c = () => B(e), d = () => c().LOCALES.find((t) => t.code === e.state.locale), f = () => {
351
+ function ie(e) {
352
+ let n, s, c = () => z(e), d = () => c().LOCALES.find((t) => t.code === e.state.locale), f = () => {
341
353
  n && (n.open = !1);
342
354
  }, p = (e) => {
343
355
  e.key !== "Escape" || !n?.open || (e.preventDefault(), f(), s?.focus());
@@ -346,12 +358,12 @@ function U(e) {
346
358
  return t ? `${e.messages.localeLabel}: ${t}` : e.messages.localeLabel;
347
359
  };
348
360
  return (() => {
349
- var d = i(R), _ = d.firstChild, v = _.nextSibling;
361
+ var d = i(te), _ = d.firstChild, v = _.nextSibling;
350
362
  d.$$keydown = p;
351
363
  var y = n;
352
364
  typeof y == "function" ? m(y, d) : n = d;
353
365
  var b = s;
354
- return typeof b == "function" ? m(b, _) : s = _, o(_, t(V, {
366
+ return typeof b == "function" ? m(b, _) : s = _, o(_, t(B, {
355
367
  get locale() {
356
368
  return e.state.locale;
357
369
  },
@@ -364,10 +376,10 @@ function U(e) {
364
376
  return c().LOCALES;
365
377
  },
366
378
  children: (n) => (() => {
367
- var s = i(z), d = s.firstChild, p = d.firstChild, [m, h] = a(p.nextSibling), g = m.nextSibling;
379
+ var s = i(ne), d = s.firstChild, p = d.firstChild, [m, h] = a(p.nextSibling), g = m.nextSibling;
368
380
  return d.$$click = (t) => {
369
381
  e.onLocaleChange && (t.preventDefault(), f(), e.onLocaleChange(n.code, e.state.hrefForLocale(n.code)));
370
- }, o(d, t(V, {
382
+ }, o(d, t(B, {
371
383
  get locale() {
372
384
  return n.code;
373
385
  },
@@ -395,28 +407,28 @@ function U(e) {
395
407
  }), l(), d;
396
408
  })();
397
409
  }
398
- function W(e) {
399
- return e.variant === "flag" ? t(U, e) : t(H, e);
410
+ function V(e) {
411
+ return e.variant === "flag" ? t(ie, e) : t(re, e);
400
412
  }
401
413
  n(["keydown", "click"]);
402
414
  //#endregion
403
415
  //#region src/solid/chrome.tsx
404
- var G = /*#__PURE__*/ p("<header class=site-header><a class=dds-sr-only href=#main-content></a><div class=site-header__inner><a class=site-brand><!$><!/><!$><!/></a><!$><!/><nav id=site-navigation class=site-nav><ul class=site-nav__list></ul></nav><div class=site-header__controls><!$><!/><!$><!/><!$><!/>"), K = /*#__PURE__*/ p("<li><a>"), q = /*#__PURE__*/ p("<footer class=site-footer><div class=site-footer__inner><strong></strong><ul class=site-footer__links></ul><small>");
405
- function J(e) {
416
+ var ae = /*#__PURE__*/ p("<header class=site-header><a class=dds-sr-only href=#main-content></a><div class=site-header__inner><a class=site-brand><!$><!/><!$><!/></a><!$><!/><nav id=site-navigation class=site-nav><ul class=site-nav__list></ul></nav><div class=site-header__controls><!$><!/><!$><!/><!$><!/>"), H = /*#__PURE__*/ p("<li><a>"), U = /*#__PURE__*/ p("<footer class=site-footer><div class=site-footer__inner><!$><!/><div class=site-footer__row><p class=site-footer__brand><!$><!/><strong></strong><!$><!/></p><ul class=site-footer__links><!$><!/><li>"), W = /*#__PURE__*/ p("<nav class=site-footer__langs>"), G = /*#__PURE__*/ p("<a>"), K = /*#__PURE__*/ p("<span aria-hidden=true>·"), q = /*#__PURE__*/ p("<bdi>"), J = /*#__PURE__*/ p("<a><bdi>");
417
+ function Y(e) {
406
418
  let n = [
407
419
  "system",
408
420
  "light",
409
421
  "dark"
410
- ], [r, i] = g(e.defaultValue ?? "system"), [a, o] = g("light"), s = () => a() === "dark" ? "light" : "dark", c = () => s() === "dark" ? e.messages.themeDark : e.messages.themeLight, l = (e) => {
422
+ ], [r, i] = _(e.defaultValue ?? "system"), [a, o] = _("light"), s = () => a() === "dark" ? "light" : "dark", c = () => s() === "dark" ? e.messages.themeDark : e.messages.themeLight, l = (e) => {
411
423
  let t = e === "system" ? matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : e;
412
424
  o(t), document.documentElement.dataset.theme = t, document.documentElement.dataset.themePreference = e;
413
425
  }, u = (t) => {
414
426
  e.value === void 0 && i(t), e.onValueChange?.(t), l(t), localStorage.setItem(e.storageKey ?? "site-theme", t);
415
427
  };
416
- return v(() => {
428
+ return y(() => {
417
429
  let t = localStorage.getItem(e.storageKey ?? "site-theme");
418
430
  e.value === void 0 && t && n.includes(t) && i(t), l(e.value ?? t ?? r());
419
- }), t(S, {
431
+ }), t(C, {
420
432
  class: "site-theme-toggle",
421
433
  tone: "ghost",
422
434
  get "aria-label"() {
@@ -427,7 +439,7 @@ function J(e) {
427
439
  },
428
440
  onClick: () => u(s()),
429
441
  get children() {
430
- return t(x, {
442
+ return t(S, {
431
443
  class: "site-theme-toggle__icon",
432
444
  get name() {
433
445
  return s() === "dark" ? "site-moon" : "site-sun";
@@ -440,11 +452,11 @@ function J(e) {
440
452
  }
441
453
  });
442
454
  }
443
- function Y(e) {
444
- let [n, l] = g(!1);
455
+ function X(e) {
456
+ let [n, l] = _(!1);
445
457
  return (() => {
446
- var d = i(G), f = d.firstChild, p = f.nextSibling, m = p.firstChild, g = m.firstChild, [_, v] = a(g.nextSibling), b = _.nextSibling, [x, S] = a(b.nextSibling), C = m.nextSibling, [w, T] = a(C.nextSibling), E = w.nextSibling, D = E.firstChild, O = E.nextSibling, k = O.firstChild, [A, j] = a(k.nextSibling), M = A.nextSibling, [N, P] = a(M.nextSibling), F = N.nextSibling, [I, L] = a(F.nextSibling);
447
- return o(f, () => e.messages.skipToContent), o(m, () => e.brand.logo, _, v), o(m, () => e.brand.name, x, S), o(p, t(y, {
458
+ var d = i(ae), f = d.firstChild, p = f.nextSibling, m = p.firstChild, g = m.firstChild, [_, v] = a(g.nextSibling), y = _.nextSibling, [x, S] = a(y.nextSibling), C = m.nextSibling, [w, T] = a(C.nextSibling), E = w.nextSibling, D = E.firstChild, O = E.nextSibling, k = O.firstChild, [A, j] = a(k.nextSibling), M = A.nextSibling, [N, P] = a(M.nextSibling), F = N.nextSibling, [I, L] = a(F.nextSibling);
459
+ return o(f, () => e.messages.skipToContent), o(m, () => e.brand.logo, _, v), o(m, () => e.brand.name, x, S), o(p, t(b, {
448
460
  class: "site-menu-button",
449
461
  tone: "ghost",
450
462
  get "aria-expanded"() {
@@ -460,7 +472,7 @@ function Y(e) {
460
472
  return e.navigation;
461
473
  },
462
474
  children: (e) => (() => {
463
- var t = i(K), n = t.firstChild;
475
+ var t = i(H), n = t.firstChild;
464
476
  return o(n, () => e.label), r((t) => {
465
477
  var r = e.href, i = e.external ? "_blank" : void 0, a = e.external ? "noreferrer" : void 0;
466
478
  return r !== t.e && u(n, "href", t.e = r), i !== t.t && u(n, "target", t.t = i), a !== t.a && u(n, "rel", t.a = a), t;
@@ -470,7 +482,7 @@ function Y(e) {
470
482
  a: void 0
471
483
  }), t;
472
484
  })()
473
- })), o(O, t(W, c({
485
+ })), o(O, t(V, c({
474
486
  get state() {
475
487
  return e.locale;
476
488
  },
@@ -479,7 +491,7 @@ function Y(e) {
479
491
  }
480
492
  }, () => e.localeVariant ? { variant: e.localeVariant } : {}, () => e.localeRegistry ? { registry: e.localeRegistry } : {}, () => e.onLocaleChange ? { onLocaleChange: e.onLocaleChange } : {})), A, j), o(O, (() => {
481
493
  var n = s(() => !!e.theme);
482
- return () => n() && t(J, c(() => e.theme, { get messages() {
494
+ return () => n() && t(Y, c(() => e.theme, { get messages() {
483
495
  return e.messages;
484
496
  } }));
485
497
  })(), N, P), o(O, () => e.actions, I, L), r((t) => {
@@ -493,47 +505,97 @@ function Y(e) {
493
505
  }), d;
494
506
  })();
495
507
  }
496
- function X(e) {
508
+ function Z(e) {
509
+ let n = () => e.localeRegistry ?? k;
497
510
  return (() => {
498
- var n = i(q), a = n.firstChild.firstChild, s = a.nextSibling, c = s.nextSibling;
499
- return o(a, () => e.brand.name), o(s, t(h, {
511
+ var s = i(U), c = s.firstChild, d = c.firstChild, [f, p] = a(d.nextSibling), m = f.nextSibling.firstChild, _ = m.firstChild, [v, y] = a(_.nextSibling), b = v.nextSibling, x = b.nextSibling, [S, C] = a(x.nextSibling), w = m.nextSibling, T = w.firstChild, [E, D] = a(T.nextSibling), O = E.nextSibling;
512
+ return o(c, t(g, {
513
+ get when() {
514
+ return e.locale;
515
+ },
516
+ children: (a) => (() => {
517
+ var s = i(W);
518
+ return o(s, t(h, {
519
+ get each() {
520
+ return n().LOCALES;
521
+ },
522
+ children: (t) => (() => {
523
+ var n = i(G);
524
+ return n.$$click = () => e.onLocaleSelect?.(t.code), o(n, () => t.nativeName), r((e) => {
525
+ var r = a().hrefForLocale(t.code), i = t.code, o = t.code, s = t.dir, c = t.code === a().locale ? "page" : void 0;
526
+ return r !== e.e && u(n, "href", e.e = r), i !== e.t && u(n, "hreflang", e.t = i), o !== e.a && u(n, "lang", e.a = o), s !== e.o && u(n, "dir", e.o = s), c !== e.i && u(n, "aria-current", e.i = c), e;
527
+ }, {
528
+ e: void 0,
529
+ t: void 0,
530
+ a: void 0,
531
+ o: void 0,
532
+ i: void 0
533
+ }), l(), n;
534
+ })()
535
+ })), r(() => u(s, "aria-label", e.messages.localeLabel)), s;
536
+ })()
537
+ }), f, p), o(m, () => e.brand.logo, v, y), o(b, () => e.brand.name), o(m, t(h, {
538
+ get each() {
539
+ return e.family ?? [];
540
+ },
541
+ children: (e) => [i(K), (() => {
542
+ var t = i(G);
543
+ return o(t, () => e.label), r(() => u(t, "href", e.href)), t;
544
+ })()]
545
+ }), S, C), o(w, t(h, {
500
546
  get each() {
501
547
  return e.links;
502
548
  },
503
549
  children: (e) => (() => {
504
- var t = i(K), n = t.firstChild;
550
+ var t = i(H), n = t.firstChild;
505
551
  return o(n, () => e.label), r(() => u(n, "href", e.href)), t;
506
552
  })()
507
- })), o(c, () => e.copyright), r(() => u(n, "aria-label", e.messages.footerLabel)), n;
553
+ }), E, D), o(O, t(g, {
554
+ get when() {
555
+ return e.copyrightHref;
556
+ },
557
+ get fallback() {
558
+ return (() => {
559
+ var t = i(q);
560
+ return o(t, () => e.copyright), t;
561
+ })();
562
+ },
563
+ children: (t) => (() => {
564
+ var n = i(J), a = n.firstChild;
565
+ return o(a, () => e.copyright), r(() => u(n, "href", t())), n;
566
+ })()
567
+ })), r(() => u(s, "aria-label", e.messages.footerLabel)), s;
508
568
  })();
509
569
  }
570
+ n(["click"]);
510
571
  //#endregion
511
572
  //#region src/solid/layouts.tsx
512
- var Z = /*#__PURE__*/ p("<div class=site-shell><!$><!/><main id=main-content class=site-main tabindex=-1></main><!$><!/>"), Q = /*#__PURE__*/ p("<article class=site-legal><header><h1></h1><p><!$><!/>: <time></time></p></header><!$><!/>"), te = /*#__PURE__*/ p("<section><strong></strong><!$><!/><!$><!/>"), ne = /*#__PURE__*/ p("<div>"), re = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><a class=\"dds-btn dds-btn--primary\">"), ie = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><!$><!/><!$><!/>"), ae = /*#__PURE__*/ p("<code>");
513
- function oe(e) {
573
+ var oe = /*#__PURE__*/ p("<div class=site-shell><!$><!/><main id=main-content tabindex=-1></main><!$><!/>"), se = /*#__PURE__*/ p("<article class=site-legal><header><h1></h1><p><!$><!/>: <time></time></p></header><!$><!/>"), ce = /*#__PURE__*/ p("<section><strong></strong><!$><!/><!$><!/>"), le = /*#__PURE__*/ p("<div>"), ue = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><a class=\"dds-btn dds-btn--primary\">"), de = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><!$><!/><!$><!/>"), fe = /*#__PURE__*/ p("<code>");
574
+ function pe(n) {
575
+ let s = () => n.mainWidth === "bleed" ? "site-main site-main--bleed" : "site-main";
514
576
  return (() => {
515
- var n = i(Z), r = n.firstChild, [s, l] = a(r.nextSibling), u = s.nextSibling, d = u.nextSibling, [f, p] = a(d.nextSibling);
516
- return o(n, t(Y, c(() => e.header)), s, l), o(u, () => e.children), o(n, t(X, c(() => e.footer)), f, p), n;
577
+ var l = i(oe), u = l.firstChild, [d, f] = a(u.nextSibling), p = d.nextSibling, m = p.nextSibling, [h, g] = a(m.nextSibling);
578
+ return o(l, t(X, c(() => n.header)), d, f), o(p, () => n.children), o(l, t(Z, c(() => n.footer)), h, g), r(() => e(p, s())), l;
517
579
  })();
518
580
  }
519
- function se(e) {
581
+ function me(e) {
520
582
  return (() => {
521
- var t = i(Q), n = t.firstChild, s = n.firstChild, c = s.nextSibling, l = c.firstChild, [d, f] = a(l.nextSibling), p = d.nextSibling.nextSibling, m = n.nextSibling, [h, g] = a(m.nextSibling);
583
+ var t = i(se), n = t.firstChild, s = n.firstChild, c = s.nextSibling, l = c.firstChild, [d, f] = a(l.nextSibling), p = d.nextSibling.nextSibling, m = n.nextSibling, [h, g] = a(m.nextSibling);
522
584
  return o(s, () => e.title), o(c, () => e.messages.updatedLabel, d, f), o(p, () => e.updatedAt), o(t, () => e.children, h, g), r(() => u(p, "datetime", e.updatedAt)), t;
523
585
  })();
524
586
  }
525
- function ce(n) {
587
+ function he(n) {
526
588
  return (() => {
527
- var c = i(te), l = c.firstChild, d = l.nextSibling, [f, p] = a(d.nextSibling), m = f.nextSibling, [h, g] = a(m.nextSibling);
589
+ var c = i(ce), l = c.firstChild, d = l.nextSibling, [f, p] = a(d.nextSibling), m = f.nextSibling, [h, g] = a(m.nextSibling);
528
590
  return o(l, () => n.title), o(c, (() => {
529
591
  var e = s(() => !!n.children);
530
592
  return () => e() && (() => {
531
- var e = i(ne);
593
+ var e = i(le);
532
594
  return o(e, () => n.children), e;
533
595
  })();
534
596
  })(), f, p), o(c, (() => {
535
597
  var e = s(() => !!n.action);
536
- return () => e() && t(y, {
598
+ return () => e() && t(b, {
537
599
  get tone() {
538
600
  return n.action.tone ?? "secondary";
539
601
  },
@@ -554,22 +616,22 @@ function ce(n) {
554
616
  }), c;
555
617
  })();
556
618
  }
557
- function le(e) {
619
+ function ge(e) {
558
620
  return (() => {
559
- var t = i(re), n = t.firstChild, s = n.nextSibling, c = s.nextSibling, [l, d] = a(c.nextSibling), f = l.nextSibling;
621
+ var t = i(ue), n = t.firstChild, s = n.nextSibling, c = s.nextSibling, [l, d] = a(c.nextSibling), f = l.nextSibling;
560
622
  return o(n, () => e.messages.notFoundTitle), o(s, () => e.messages.notFoundDescription), o(t, () => e.children, l, d), o(f, () => e.messages.backHome), r(() => u(f, "href", e.homeHref)), t;
561
623
  })();
562
624
  }
563
- function ue(e) {
625
+ function _e(e) {
564
626
  return (() => {
565
- var n = i(ie), r = n.firstChild, c = r.nextSibling, l = c.nextSibling, [u, d] = a(l.nextSibling), f = u.nextSibling, [p, m] = a(f.nextSibling), h = p.nextSibling, [g, _] = a(h.nextSibling);
627
+ var n = i(de), r = n.firstChild, c = r.nextSibling, l = c.nextSibling, [u, d] = a(l.nextSibling), f = u.nextSibling, [p, m] = a(f.nextSibling), h = p.nextSibling, [g, _] = a(h.nextSibling);
566
628
  return o(r, () => e.messages.errorTitle), o(c, () => e.messages.errorDescription), o(n, (() => {
567
629
  var t = s(() => !!e.errorId);
568
630
  return () => t() && (() => {
569
- var t = i(ae);
631
+ var t = i(fe);
570
632
  return o(t, () => e.errorId), t;
571
633
  })();
572
- })(), u, d), o(n, () => e.children, p, m), o(n, t(y, {
634
+ })(), u, d), o(n, () => e.children, p, m), o(n, t(b, {
573
635
  tone: "primary",
574
636
  get onClick() {
575
637
  return e.onRetry;
@@ -582,9 +644,9 @@ function ue(e) {
582
644
  }
583
645
  //#endregion
584
646
  //#region src/solid/request-access.tsx
585
- var de = /*#__PURE__*/ p("<form><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><div aria-live=polite aria-atomic=true>"), $ = /*#__PURE__*/ p("<input>"), fe = /*#__PURE__*/ p("<textarea>");
586
- function pe(n) {
587
- let [u, d] = g("idle"), p = async (e) => {
647
+ var ve = /*#__PURE__*/ p("<form><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><div aria-live=polite aria-atomic=true>"), Q = /*#__PURE__*/ p("<input>"), ye = /*#__PURE__*/ p("<textarea>");
648
+ function be(n) {
649
+ let [u, d] = _("idle"), p = async (e) => {
588
650
  if (e.preventDefault(), u() !== "submitting") {
589
651
  d("submitting");
590
652
  try {
@@ -595,14 +657,14 @@ function pe(n) {
595
657
  }
596
658
  };
597
659
  return (() => {
598
- var d = i(de), m = d.firstChild, [h, g] = a(m.nextSibling), _ = h.nextSibling, [v, x] = a(_.nextSibling), S = v.nextSibling, [C, w] = a(S.nextSibling), T = C.nextSibling, [E, D] = a(T.nextSibling), O = E.nextSibling, [k, A] = a(O.nextSibling), j = k.nextSibling;
599
- return d.addEventListener("submit", p), o(d, t(b, {
660
+ var d = i(ve), m = d.firstChild, [h, g] = a(m.nextSibling), _ = h.nextSibling, [v, y] = a(_.nextSibling), S = v.nextSibling, [C, w] = a(S.nextSibling), T = C.nextSibling, [E, D] = a(T.nextSibling), O = E.nextSibling, [k, A] = a(O.nextSibling), j = k.nextSibling;
661
+ return d.addEventListener("submit", p), o(d, t(x, {
600
662
  get label() {
601
663
  return n.messages.nameLabel;
602
664
  },
603
665
  required: !0,
604
666
  children: (e) => (() => {
605
- var t = i($);
667
+ var t = i(Q);
606
668
  return f(t, c(e, {
607
669
  class: "dds-input",
608
670
  name: "name",
@@ -610,13 +672,13 @@ function pe(n) {
610
672
  required: !0
611
673
  }), !1, !1), l(), t;
612
674
  })()
613
- }), h, g), o(d, t(b, {
675
+ }), h, g), o(d, t(x, {
614
676
  get label() {
615
677
  return n.messages.emailLabel;
616
678
  },
617
679
  required: !0,
618
680
  children: (e) => (() => {
619
- var t = i($);
681
+ var t = i(Q);
620
682
  return f(t, c(e, {
621
683
  class: "dds-input",
622
684
  type: "email",
@@ -625,31 +687,31 @@ function pe(n) {
625
687
  required: !0
626
688
  }), !1, !1), l(), t;
627
689
  })()
628
- }), v, x), o(d, t(b, {
690
+ }), v, y), o(d, t(x, {
629
691
  get label() {
630
692
  return n.messages.organizationLabel;
631
693
  },
632
694
  children: (e) => (() => {
633
- var t = i($);
695
+ var t = i(Q);
634
696
  return f(t, c(e, {
635
697
  class: "dds-input",
636
698
  name: "organization",
637
699
  autocomplete: "organization"
638
700
  }), !1, !1), l(), t;
639
701
  })()
640
- }), C, w), o(d, t(b, {
702
+ }), C, w), o(d, t(x, {
641
703
  get label() {
642
704
  return n.messages.useCaseLabel;
643
705
  },
644
706
  children: (e) => (() => {
645
- var t = i(fe);
707
+ var t = i(ye);
646
708
  return f(t, c(e, {
647
709
  class: "dds-textarea",
648
710
  name: "useCase",
649
711
  rows: "5"
650
712
  }), !1, !1), l(), t;
651
713
  })()
652
- }), E, D), o(d, t(y, {
714
+ }), E, D), o(d, t(b, {
653
715
  type: "submit",
654
716
  get loading() {
655
717
  return u() === "submitting";
@@ -665,15 +727,15 @@ function pe(n) {
665
727
  }
666
728
  //#endregion
667
729
  //#region src/solid/oss-product-mark.tsx
668
- var me = /*#__PURE__*/ p("<img decoding=async>"), he = {
730
+ var xe = /*#__PURE__*/ p("<img decoding=async>"), Se = {
669
731
  sm: 24,
670
732
  md: 32,
671
733
  lg: 48
672
734
  };
673
- function ge(t) {
674
- let n = () => t.size ?? "md", a = () => he[n()];
735
+ function Ce(t) {
736
+ let n = () => t.size ?? "md", a = () => Se[n()];
675
737
  return (() => {
676
- var o = i(me);
738
+ var o = i(xe);
677
739
  return r((r) => {
678
740
  var i = `oss-product-mark oss-product-mark--${n()}${t.class ? ` ${t.class}` : ""}`, s = t.src, c = t.decorative ? "" : t.name, l = t.decorative ? "true" : void 0, d = a(), f = a();
679
741
  return i !== r.e && e(o, r.e = i), s !== r.t && u(o, "src", r.t = s), c !== r.a && u(o, "alt", r.a = c), l !== r.o && u(o, "aria-hidden", r.o = l), d !== r.i && u(o, "width", r.i = d), f !== r.n && u(o, "height", r.n = f), r;
@@ -688,6 +750,100 @@ function ge(t) {
688
750
  })();
689
751
  }
690
752
  //#endregion
691
- export { ue as ErrorLayout, se as LegalLayout, W as LocaleMenu, oe as MarketingShell, le as NotFoundLayout, ge as OssProductMark, pe as RequestAccessForm, X as SiteFooter, Y as SiteHeader, ce as StatusBanner, J as ThemeToggle };
753
+ //#region src/solid/sections.tsx
754
+ var we = /*#__PURE__*/ p("<section class=site-section><div class=site-section__shell>"), Te = /*#__PURE__*/ p("<header class=site-section__head><p class=site-section__index aria-hidden=true></p><h2></h2><!$><!/>"), Ee = /*#__PURE__*/ p("<p class=site-section__lede>"), De = /*#__PURE__*/ p("<section class=site-hero><div class=site-hero__shell><div class=site-hero__copy><!$><!/><h1></h1><p class=site-hero__lede></p><div class=site-hero__actions></div></div><figure class=site-hero__aside>"), Oe = /*#__PURE__*/ p("<p class=site-hero__eyebrow>"), ke = /*#__PURE__*/ p("<ol class=site-steps>"), $ = /*#__PURE__*/ p("<li class=site-steps__step><span class=site-steps__marker aria-hidden=true></span><h3></h3><p>"), Ae = /*#__PURE__*/ p("<ul class=site-rows>"), je = /*#__PURE__*/ p("<li class=site-rows__row><div class=site-rows__title><h3></h3><!$><!/></div><p class=site-rows__body>"), Me = /*#__PURE__*/ p("<span class=\"dds-badge dds-badge--brand\">"), Ne = /*#__PURE__*/ p("<div class=site-pricing><div class=site-pricing__note></div><div class=site-pricing__action>");
755
+ function Pe(e) {
756
+ return (() => {
757
+ var t = i(we), n = t.firstChild;
758
+ return o(n, () => e.children), r((n) => {
759
+ var r = e.id, i = e.tone ?? "default", a = e.labelledBy;
760
+ return r !== n.e && u(t, "id", n.e = r), i !== n.t && u(t, "data-tone", n.t = i), a !== n.a && u(t, "aria-labelledby", n.a = a), n;
761
+ }, {
762
+ e: void 0,
763
+ t: void 0,
764
+ a: void 0
765
+ }), t;
766
+ })();
767
+ }
768
+ function Fe(e) {
769
+ return (() => {
770
+ var n = i(Te), s = n.firstChild, c = s.nextSibling, l = c.nextSibling, [d, f] = a(l.nextSibling);
771
+ return o(s, () => e.index), o(c, () => e.title), o(n, t(g, {
772
+ get when() {
773
+ return e.lede;
774
+ },
775
+ children: (e) => (() => {
776
+ var t = i(Ee);
777
+ return o(t, e), t;
778
+ })()
779
+ }), d, f), r(() => u(c, "id", e.titleId)), n;
780
+ })();
781
+ }
782
+ function Ie(e) {
783
+ return (() => {
784
+ var n = i(De), s = n.firstChild.firstChild, c = s.firstChild, [l, d] = a(c.nextSibling), f = l.nextSibling, p = f.nextSibling, m = p.nextSibling, h = s.nextSibling;
785
+ return o(s, t(g, {
786
+ get when() {
787
+ return e.eyebrow;
788
+ },
789
+ children: (e) => (() => {
790
+ var t = i(Oe);
791
+ return o(t, e), t;
792
+ })()
793
+ }), l, d), o(f, () => e.title), o(p, () => e.lede), o(m, () => e.actions), o(h, () => e.aside), r((t) => {
794
+ var r = e.id, i = e.titleId, a = e.titleId, o = e.asideLabel;
795
+ return r !== t.e && u(n, "id", t.e = r), i !== t.t && u(n, "aria-labelledby", t.t = i), a !== t.a && u(f, "id", t.a = a), o !== t.o && u(h, "aria-label", t.o = o), t;
796
+ }, {
797
+ e: void 0,
798
+ t: void 0,
799
+ a: void 0,
800
+ o: void 0
801
+ }), n;
802
+ })();
803
+ }
804
+ function Le(e) {
805
+ return (() => {
806
+ var n = i(ke);
807
+ return o(n, t(h, {
808
+ get each() {
809
+ return e.steps;
810
+ },
811
+ children: (e, t) => (() => {
812
+ var n = i($), r = n.firstChild, a = r.nextSibling, s = a.nextSibling;
813
+ return o(r, () => t() + 1), o(a, () => e.title), o(s, () => e.body), n;
814
+ })()
815
+ })), r(() => u(n, "aria-label", e.label)), n;
816
+ })();
817
+ }
818
+ function Re(e) {
819
+ return (() => {
820
+ var n = i(Ae);
821
+ return o(n, t(h, {
822
+ get each() {
823
+ return e.rows;
824
+ },
825
+ children: (e) => (() => {
826
+ var n = i(je), r = n.firstChild, s = r.firstChild, c = s.nextSibling, [l, u] = a(c.nextSibling), d = r.nextSibling;
827
+ return o(s, () => e.title), o(r, t(g, {
828
+ get when() {
829
+ return e.badge;
830
+ },
831
+ children: (e) => (() => {
832
+ var t = i(Me);
833
+ return o(t, e), t;
834
+ })()
835
+ }), l, u), o(d, () => e.body), n;
836
+ })()
837
+ })), r(() => u(n, "aria-label", e.label)), n;
838
+ })();
839
+ }
840
+ function ze(e) {
841
+ return (() => {
842
+ var t = i(Ne), n = t.firstChild, r = n.nextSibling;
843
+ return o(n, () => e.children), o(r, () => e.action), t;
844
+ })();
845
+ }
846
+ //#endregion
847
+ export { _e as ErrorLayout, Re as FeatureRows, Ie as HeroSplit, me as LegalLayout, V as LocaleMenu, pe as MarketingShell, ge as NotFoundLayout, Ce as OssProductMark, ze as PricingNote, be as RequestAccessForm, Pe as SectionBlock, Fe as SectionHead, Z as SiteFooter, X as SiteHeader, he as StatusBanner, Le as StepFlow, Y as ThemeToggle };
692
848
 
693
849
  //# sourceMappingURL=solid.js.map