@devslab/site-kit 0.5.1 → 0.6.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>"), R = /*#__PURE__*/ p("<option>"), z = /*#__PURE__*/ p("<details class=site-locale-flag><summary class=site-locale-flag__trigger></summary><ul class=site-locale-flag__list role=list>"), ee = /*#__PURE__*/ p("<li><a class=site-locale-flag__option><!$><!/><span>");
301
+ function B(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 V = (e) => e.registry ?? k;
312
+ function H(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 = B(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 te(e) {
327
+ let n = () => V(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(R);
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 ne(e) {
352
+ let n, s, c = () => V(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(z), _ = 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(H, {
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(ee), 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(H, {
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 U(e) {
411
+ return e.variant === "flag" ? t(ne, e) : t(te, 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 W = /*#__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><!$><!/><!$><!/><!$><!/>"), G = /*#__PURE__*/ p("<li><a>"), K = /*#__PURE__*/ p("<footer class=site-footer><div class=site-footer__inner><strong></strong><ul class=site-footer__links></ul><small>");
417
+ function q(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 J(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(W), 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(G), 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(U, 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(q, 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,15 +505,15 @@ function Y(e) {
493
505
  }), d;
494
506
  })();
495
507
  }
496
- function X(e) {
508
+ function Y(e) {
497
509
  return (() => {
498
- var n = i(q), a = n.firstChild.firstChild, s = a.nextSibling, c = s.nextSibling;
510
+ var n = i(K), a = n.firstChild.firstChild, s = a.nextSibling, c = s.nextSibling;
499
511
  return o(a, () => e.brand.name), o(s, t(h, {
500
512
  get each() {
501
513
  return e.links;
502
514
  },
503
515
  children: (e) => (() => {
504
- var t = i(K), n = t.firstChild;
516
+ var t = i(G), n = t.firstChild;
505
517
  return o(n, () => e.label), r(() => u(n, "href", e.href)), t;
506
518
  })()
507
519
  })), o(c, () => e.copyright), r(() => u(n, "aria-label", e.messages.footerLabel)), n;
@@ -509,31 +521,32 @@ function X(e) {
509
521
  }
510
522
  //#endregion
511
523
  //#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) {
524
+ var X = /*#__PURE__*/ p("<div class=site-shell><!$><!/><main id=main-content tabindex=-1></main><!$><!/>"), Z = /*#__PURE__*/ p("<article class=site-legal><header><h1></h1><p><!$><!/>: <time></time></p></header><!$><!/>"), re = /*#__PURE__*/ p("<section><strong></strong><!$><!/><!$><!/>"), ie = /*#__PURE__*/ p("<div>"), ae = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><a class=\"dds-btn dds-btn--primary\">"), oe = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><!$><!/><!$><!/>"), se = /*#__PURE__*/ p("<code>");
525
+ function ce(n) {
526
+ let s = () => n.mainWidth === "bleed" ? "site-main site-main--bleed" : "site-main";
514
527
  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;
528
+ var l = i(X), u = l.firstChild, [d, f] = a(u.nextSibling), p = d.nextSibling, m = p.nextSibling, [h, g] = a(m.nextSibling);
529
+ return o(l, t(J, c(() => n.header)), d, f), o(p, () => n.children), o(l, t(Y, c(() => n.footer)), h, g), r(() => e(p, s())), l;
517
530
  })();
518
531
  }
519
- function se(e) {
532
+ function le(e) {
520
533
  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);
534
+ var t = i(Z), 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
535
  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
536
  })();
524
537
  }
525
- function ce(n) {
538
+ function ue(n) {
526
539
  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);
540
+ var c = i(re), l = c.firstChild, d = l.nextSibling, [f, p] = a(d.nextSibling), m = f.nextSibling, [h, g] = a(m.nextSibling);
528
541
  return o(l, () => n.title), o(c, (() => {
529
542
  var e = s(() => !!n.children);
530
543
  return () => e() && (() => {
531
- var e = i(ne);
544
+ var e = i(ie);
532
545
  return o(e, () => n.children), e;
533
546
  })();
534
547
  })(), f, p), o(c, (() => {
535
548
  var e = s(() => !!n.action);
536
- return () => e() && t(y, {
549
+ return () => e() && t(b, {
537
550
  get tone() {
538
551
  return n.action.tone ?? "secondary";
539
552
  },
@@ -554,22 +567,22 @@ function ce(n) {
554
567
  }), c;
555
568
  })();
556
569
  }
557
- function le(e) {
570
+ function de(e) {
558
571
  return (() => {
559
- var t = i(re), n = t.firstChild, s = n.nextSibling, c = s.nextSibling, [l, d] = a(c.nextSibling), f = l.nextSibling;
572
+ var t = i(ae), n = t.firstChild, s = n.nextSibling, c = s.nextSibling, [l, d] = a(c.nextSibling), f = l.nextSibling;
560
573
  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
574
  })();
562
575
  }
563
- function ue(e) {
576
+ function fe(e) {
564
577
  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);
578
+ var n = i(oe), 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
579
  return o(r, () => e.messages.errorTitle), o(c, () => e.messages.errorDescription), o(n, (() => {
567
580
  var t = s(() => !!e.errorId);
568
581
  return () => t() && (() => {
569
- var t = i(ae);
582
+ var t = i(se);
570
583
  return o(t, () => e.errorId), t;
571
584
  })();
572
- })(), u, d), o(n, () => e.children, p, m), o(n, t(y, {
585
+ })(), u, d), o(n, () => e.children, p, m), o(n, t(b, {
573
586
  tone: "primary",
574
587
  get onClick() {
575
588
  return e.onRetry;
@@ -582,9 +595,9 @@ function ue(e) {
582
595
  }
583
596
  //#endregion
584
597
  //#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) => {
598
+ var pe = /*#__PURE__*/ p("<form><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><div aria-live=polite aria-atomic=true>"), Q = /*#__PURE__*/ p("<input>"), me = /*#__PURE__*/ p("<textarea>");
599
+ function he(n) {
600
+ let [u, d] = _("idle"), p = async (e) => {
588
601
  if (e.preventDefault(), u() !== "submitting") {
589
602
  d("submitting");
590
603
  try {
@@ -595,14 +608,14 @@ function pe(n) {
595
608
  }
596
609
  };
597
610
  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, {
611
+ var d = i(pe), 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;
612
+ return d.addEventListener("submit", p), o(d, t(x, {
600
613
  get label() {
601
614
  return n.messages.nameLabel;
602
615
  },
603
616
  required: !0,
604
617
  children: (e) => (() => {
605
- var t = i($);
618
+ var t = i(Q);
606
619
  return f(t, c(e, {
607
620
  class: "dds-input",
608
621
  name: "name",
@@ -610,13 +623,13 @@ function pe(n) {
610
623
  required: !0
611
624
  }), !1, !1), l(), t;
612
625
  })()
613
- }), h, g), o(d, t(b, {
626
+ }), h, g), o(d, t(x, {
614
627
  get label() {
615
628
  return n.messages.emailLabel;
616
629
  },
617
630
  required: !0,
618
631
  children: (e) => (() => {
619
- var t = i($);
632
+ var t = i(Q);
620
633
  return f(t, c(e, {
621
634
  class: "dds-input",
622
635
  type: "email",
@@ -625,31 +638,31 @@ function pe(n) {
625
638
  required: !0
626
639
  }), !1, !1), l(), t;
627
640
  })()
628
- }), v, x), o(d, t(b, {
641
+ }), v, y), o(d, t(x, {
629
642
  get label() {
630
643
  return n.messages.organizationLabel;
631
644
  },
632
645
  children: (e) => (() => {
633
- var t = i($);
646
+ var t = i(Q);
634
647
  return f(t, c(e, {
635
648
  class: "dds-input",
636
649
  name: "organization",
637
650
  autocomplete: "organization"
638
651
  }), !1, !1), l(), t;
639
652
  })()
640
- }), C, w), o(d, t(b, {
653
+ }), C, w), o(d, t(x, {
641
654
  get label() {
642
655
  return n.messages.useCaseLabel;
643
656
  },
644
657
  children: (e) => (() => {
645
- var t = i(fe);
658
+ var t = i(me);
646
659
  return f(t, c(e, {
647
660
  class: "dds-textarea",
648
661
  name: "useCase",
649
662
  rows: "5"
650
663
  }), !1, !1), l(), t;
651
664
  })()
652
- }), E, D), o(d, t(y, {
665
+ }), E, D), o(d, t(b, {
653
666
  type: "submit",
654
667
  get loading() {
655
668
  return u() === "submitting";
@@ -665,15 +678,15 @@ function pe(n) {
665
678
  }
666
679
  //#endregion
667
680
  //#region src/solid/oss-product-mark.tsx
668
- var me = /*#__PURE__*/ p("<img decoding=async>"), he = {
681
+ var ge = /*#__PURE__*/ p("<img decoding=async>"), _e = {
669
682
  sm: 24,
670
683
  md: 32,
671
684
  lg: 48
672
685
  };
673
- function ge(t) {
674
- let n = () => t.size ?? "md", a = () => he[n()];
686
+ function ve(t) {
687
+ let n = () => t.size ?? "md", a = () => _e[n()];
675
688
  return (() => {
676
- var o = i(me);
689
+ var o = i(ge);
677
690
  return r((r) => {
678
691
  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
692
  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 +701,100 @@ function ge(t) {
688
701
  })();
689
702
  }
690
703
  //#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 };
704
+ //#region src/solid/sections.tsx
705
+ var ye = /*#__PURE__*/ p("<section class=site-section><div class=site-section__shell>"), be = /*#__PURE__*/ p("<header class=site-section__head><p class=site-section__index aria-hidden=true></p><h2></h2><!$><!/>"), xe = /*#__PURE__*/ p("<p class=site-section__lede>"), Se = /*#__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>"), $ = /*#__PURE__*/ p("<p class=site-hero__eyebrow>"), Ce = /*#__PURE__*/ p("<ol class=site-steps>"), we = /*#__PURE__*/ p("<li class=site-steps__step><span class=site-steps__marker aria-hidden=true></span><h3></h3><p>"), Te = /*#__PURE__*/ p("<ul class=site-rows>"), Ee = /*#__PURE__*/ p("<li class=site-rows__row><div class=site-rows__title><h3></h3><!$><!/></div><p class=site-rows__body>"), De = /*#__PURE__*/ p("<span class=\"dds-badge dds-badge--brand\">"), Oe = /*#__PURE__*/ p("<div class=site-pricing><div class=site-pricing__note></div><div class=site-pricing__action>");
706
+ function ke(e) {
707
+ return (() => {
708
+ var t = i(ye), n = t.firstChild;
709
+ return o(n, () => e.children), r((n) => {
710
+ var r = e.id, i = e.tone ?? "default", a = e.labelledBy;
711
+ 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;
712
+ }, {
713
+ e: void 0,
714
+ t: void 0,
715
+ a: void 0
716
+ }), t;
717
+ })();
718
+ }
719
+ function Ae(e) {
720
+ return (() => {
721
+ var n = i(be), s = n.firstChild, c = s.nextSibling, l = c.nextSibling, [d, f] = a(l.nextSibling);
722
+ return o(s, () => e.index), o(c, () => e.title), o(n, t(g, {
723
+ get when() {
724
+ return e.lede;
725
+ },
726
+ children: (e) => (() => {
727
+ var t = i(xe);
728
+ return o(t, e), t;
729
+ })()
730
+ }), d, f), r(() => u(c, "id", e.titleId)), n;
731
+ })();
732
+ }
733
+ function je(e) {
734
+ return (() => {
735
+ var n = i(Se), s = n.firstChild.firstChild, c = s.firstChild, [l, d] = a(c.nextSibling), f = l.nextSibling, p = f.nextSibling, m = p.nextSibling, h = s.nextSibling;
736
+ return o(s, t(g, {
737
+ get when() {
738
+ return e.eyebrow;
739
+ },
740
+ children: (e) => (() => {
741
+ var t = i($);
742
+ return o(t, e), t;
743
+ })()
744
+ }), l, d), o(f, () => e.title), o(p, () => e.lede), o(m, () => e.actions), o(h, () => e.aside), r((t) => {
745
+ var r = e.id, i = e.titleId, a = e.titleId, o = e.asideLabel;
746
+ 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;
747
+ }, {
748
+ e: void 0,
749
+ t: void 0,
750
+ a: void 0,
751
+ o: void 0
752
+ }), n;
753
+ })();
754
+ }
755
+ function Me(e) {
756
+ return (() => {
757
+ var n = i(Ce);
758
+ return o(n, t(h, {
759
+ get each() {
760
+ return e.steps;
761
+ },
762
+ children: (e, t) => (() => {
763
+ var n = i(we), r = n.firstChild, a = r.nextSibling, s = a.nextSibling;
764
+ return o(r, () => t() + 1), o(a, () => e.title), o(s, () => e.body), n;
765
+ })()
766
+ })), r(() => u(n, "aria-label", e.label)), n;
767
+ })();
768
+ }
769
+ function Ne(e) {
770
+ return (() => {
771
+ var n = i(Te);
772
+ return o(n, t(h, {
773
+ get each() {
774
+ return e.rows;
775
+ },
776
+ children: (e) => (() => {
777
+ var n = i(Ee), r = n.firstChild, s = r.firstChild, c = s.nextSibling, [l, u] = a(c.nextSibling), d = r.nextSibling;
778
+ return o(s, () => e.title), o(r, t(g, {
779
+ get when() {
780
+ return e.badge;
781
+ },
782
+ children: (e) => (() => {
783
+ var t = i(De);
784
+ return o(t, e), t;
785
+ })()
786
+ }), l, u), o(d, () => e.body), n;
787
+ })()
788
+ })), r(() => u(n, "aria-label", e.label)), n;
789
+ })();
790
+ }
791
+ function Pe(e) {
792
+ return (() => {
793
+ var t = i(Oe), n = t.firstChild, r = n.nextSibling;
794
+ return o(n, () => e.children), o(r, () => e.action), t;
795
+ })();
796
+ }
797
+ //#endregion
798
+ export { fe as ErrorLayout, Ne as FeatureRows, je as HeroSplit, le as LegalLayout, U as LocaleMenu, ce as MarketingShell, de as NotFoundLayout, ve as OssProductMark, Pe as PricingNote, he as RequestAccessForm, ke as SectionBlock, Ae as SectionHead, Y as SiteFooter, J as SiteHeader, ue as StatusBanner, Me as StepFlow, q as ThemeToggle };
692
799
 
693
800
  //# sourceMappingURL=solid.js.map