@devslab/site-kit 0.12.2 → 0.13.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
@@ -180,7 +180,7 @@ function k(e, t) {
180
180
  };
181
181
  }).filter(({ locale: e, q: t }) => e && t > 0).sort((e, t) => t.q - e.q || e.order - t.order);
182
182
  }
183
- var A = D(), { canonicalLocale: j, localeAttributes: ee, resolveLocale: M } = A, N = Object.freeze({
183
+ var A = D(), { canonicalLocale: j, localeAttributes: M, resolveLocale: ee } = A, N = Object.freeze({
184
184
  ko: "kr",
185
185
  en: "us",
186
186
  ja: "jp",
@@ -208,8 +208,8 @@ function I(e, t) {
208
208
  }
209
209
  //#endregion
210
210
  //#region src/solid/flag-bodies.ts
211
- var te = () => void 0, ne = () => import("./flag-bodies.js").then((e) => e.FLAGS_BY_COUNTRY), L = /*#__PURE__*/ p("<svg class=site-flag-sprite aria-hidden=true>"), R = /*#__PURE__*/ p("<svg aria-hidden=true><use>"), z = /*#__PURE__*/ p("<label><span class=dds-sr-only></span><span class=\"dds-select site-locale\"><select class=dds-select__input>"), re = /*#__PURE__*/ p("<option>"), ie = /*#__PURE__*/ p("<details class=site-locale-flag><summary class=site-locale-flag__trigger><!$><!/><!$><!/></summary><ul class=site-locale-flag__list role=list>"), ae = /*#__PURE__*/ p("<li><a class=site-locale-flag__option><!$><!/><span>");
212
- function oe(e, t) {
211
+ var L = () => void 0, R = () => import("./flag-bodies.js").then((e) => e.FLAGS_BY_COUNTRY), z = /*#__PURE__*/ p("<svg class=site-flag-sprite aria-hidden=true>"), B = /*#__PURE__*/ p("<svg aria-hidden=true><use>"), V = /*#__PURE__*/ p("<label><span class=dds-sr-only></span><span class=\"dds-select site-locale\"><select class=dds-select__input>"), H = /*#__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>");
212
+ function re(e, t) {
213
213
  let n = [...e.matchAll(/\bid="([^"]+)"/g)].map((e) => e[1]);
214
214
  if (n.length === 0) return e;
215
215
  let r = e;
@@ -219,34 +219,34 @@ function oe(e, t) {
219
219
  }
220
220
  return r;
221
221
  }
222
- var B = (e) => e.registry ?? A, V = (e, t) => `site-flag-${e}-${t}`;
223
- function H(e, t, n) {
222
+ var U = (e) => e.registry ?? A, W = (e, t) => `site-flag-${e}-${t}`;
223
+ function G(e, t, n) {
224
224
  return e.map((e) => {
225
225
  let r = t[e];
226
226
  if (!r) throw RangeError(`No vendored flag for country: ${e}`);
227
- return `<symbol id="${V(e, n)}" viewBox="${r.viewBox}">${oe(r.body, n)}</symbol>`;
227
+ return `<symbol id="${W(e, n)}" viewBox="${r.viewBox}">${re(r.body, n)}</symbol>`;
228
228
  }).join("");
229
229
  }
230
- function U(e) {
231
- let t = te();
230
+ function ie(e) {
231
+ let t = L();
232
232
  return t ? (() => {
233
- var n = i(L);
234
- return r(() => d(n, "innerHTML", H(e.countries, t, e.uid))), n;
233
+ var n = i(z);
234
+ return r(() => d(n, "innerHTML", G(e.countries, t, e.uid))), n;
235
235
  })() : (() => {
236
- var t = i(L);
236
+ var t = i(z);
237
237
  return m((t) => {
238
- t.childElementCount > 0 || ne().then((n) => {
239
- t.innerHTML = H(e.countries, n, e.uid);
238
+ t.childElementCount > 0 || R().then((n) => {
239
+ t.innerHTML = G(e.countries, n, e.uid);
240
240
  });
241
241
  }, t), t;
242
242
  })();
243
243
  }
244
- function W(e) {
244
+ function K(e) {
245
245
  let t = () => I(e.locale, e.registry);
246
246
  return (() => {
247
- var n = i(R), a = n.firstChild;
247
+ var n = i(B), a = n.firstChild;
248
248
  return u(n, "viewBox", P), r((r) => {
249
- var i = e.class, o = `#${V(t(), e.uid)}`;
249
+ var i = e.class, o = `#${W(t(), e.uid)}`;
250
250
  return i !== r.e && u(n, "class", r.e = i), o !== r.t && u(a, "href", r.t = o), r;
251
251
  }, {
252
252
  e: void 0,
@@ -254,10 +254,10 @@ function W(e) {
254
254
  }), n;
255
255
  })();
256
256
  }
257
- function G(e) {
258
- let n = () => B(e);
257
+ function ae(e) {
258
+ let n = () => U(e);
259
259
  return (() => {
260
- var a = i(z), s = a.firstChild, c = s.nextSibling.firstChild;
260
+ var a = i(V), s = a.firstChild, c = s.nextSibling.firstChild;
261
261
  return o(s, () => e.messages.localeLabel), c.addEventListener("change", (t) => {
262
262
  let n = t.currentTarget.value, r = e.state.hrefForLocale(n);
263
263
  e.onLocaleChange ? e.onLocaleChange(n, r) : window.location.assign(r);
@@ -266,7 +266,7 @@ function G(e) {
266
266
  return n().LOCALES;
267
267
  },
268
268
  children: (t) => (() => {
269
- var n = i(re);
269
+ var n = i(H);
270
270
  return o(n, () => t.nativeName), r((r) => {
271
271
  var i = t.code, a = t.dir, o = t.code === e.state.locale;
272
272
  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;
@@ -279,8 +279,8 @@ function G(e) {
279
279
  })), r(() => u(c, "aria-label", e.messages.localeLabel)), a;
280
280
  })();
281
281
  }
282
- function K(e) {
283
- let n, s, c = y(), d = () => B(e), f = () => [...new Set(d().LOCALES.map((e) => I(e.code, d())))], p = () => d().LOCALES.find((t) => t.code === e.state.locale), g = () => {
282
+ function oe(e) {
283
+ let n, s, c = y(), d = () => U(e), f = () => [...new Set(d().LOCALES.map((e) => I(e.code, d())))], p = () => d().LOCALES.find((t) => t.code === e.state.locale), g = () => {
284
284
  n && (n.open = !1);
285
285
  }, _ = (e) => {
286
286
  e.key !== "Escape" || !n?.open || (e.preventDefault(), g(), s?.focus());
@@ -289,17 +289,17 @@ function K(e) {
289
289
  return t ? `${e.messages.localeLabel}: ${t}` : e.messages.localeLabel;
290
290
  };
291
291
  return (() => {
292
- var p = i(ie), y = p.firstChild, b = y.firstChild, [x, S] = a(b.nextSibling), C = x.nextSibling, [w, T] = a(C.nextSibling), E = y.nextSibling;
292
+ var p = i(te), y = p.firstChild, b = y.firstChild, [x, S] = a(b.nextSibling), C = x.nextSibling, [w, T] = a(C.nextSibling), E = y.nextSibling;
293
293
  p.$$keydown = _;
294
294
  var D = n;
295
295
  typeof D == "function" ? m(D, p) : n = p;
296
296
  var O = s;
297
- return typeof O == "function" ? m(O, y) : s = y, o(y, t(U, {
297
+ return typeof O == "function" ? m(O, y) : s = y, o(y, t(ie, {
298
298
  get countries() {
299
299
  return f();
300
300
  },
301
301
  uid: c
302
- }), x, S), o(y, t(W, {
302
+ }), x, S), o(y, t(K, {
303
303
  get locale() {
304
304
  return e.state.locale;
305
305
  },
@@ -313,10 +313,10 @@ function K(e) {
313
313
  return d().LOCALES;
314
314
  },
315
315
  children: (n) => (() => {
316
- var s = i(ae), f = s.firstChild, p = f.firstChild, [m, h] = a(p.nextSibling), _ = m.nextSibling;
316
+ var s = i(ne), f = s.firstChild, p = f.firstChild, [m, h] = a(p.nextSibling), _ = m.nextSibling;
317
317
  return f.$$click = (t) => {
318
318
  e.onLocaleChange && (t.preventDefault(), g(), e.onLocaleChange(n.code, e.state.hrefForLocale(n.code)));
319
- }, o(f, t(W, {
319
+ }, o(f, t(K, {
320
320
  get locale() {
321
321
  return n.code;
322
322
  },
@@ -346,12 +346,12 @@ function K(e) {
346
346
  })();
347
347
  }
348
348
  function q(e) {
349
- return e.variant === "flag" ? t(K, e) : t(G, e);
349
+ return e.variant === "flag" ? t(oe, e) : t(ae, e);
350
350
  }
351
351
  n(["keydown", "click"]);
352
352
  //#endregion
353
353
  //#region src/solid/chrome.tsx
354
- var se = /*#__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><!$><!/><!$><!/><!$><!/>"), J = /*#__PURE__*/ p("<li><a>"), ce = /*#__PURE__*/ p("<nav class=site-footer__langs><details class=site-footer__langs-menu><summary class=site-footer__langs-trigger><span></span></summary><ul class=site-footer__langs-list role=list>"), le = /*#__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>"), ue = /*#__PURE__*/ p("<span aria-hidden=true>·"), de = /*#__PURE__*/ p("<a>"), fe = /*#__PURE__*/ p("<bdi>"), pe = /*#__PURE__*/ p("<a><bdi>");
354
+ var se = /*#__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><!$><!/><!$><!/><!$><!/>"), J = /*#__PURE__*/ p("<li><a>"), ce = /*#__PURE__*/ p("<nav class=site-footer__langs><details class=site-footer__langs-menu><summary class=site-footer__langs-trigger><span></span></summary><ul class=site-footer__langs-list role=list>"), le = /*#__PURE__*/ p("<p class=site-footer__brand><!$><!/><!$><!/><!$><!/>"), ue = /*#__PURE__*/ p("<strong>"), de = /*#__PURE__*/ p("<span aria-hidden=true>·"), fe = /*#__PURE__*/ p("<a>"), pe = /*#__PURE__*/ p("<ul class=site-footer__links><!$><!/><li>"), me = /*#__PURE__*/ p("<bdi>"), he = /*#__PURE__*/ p("<a><bdi>"), ge = /*#__PURE__*/ p("<footer class=site-footer><div class=site-footer__inner><!$><!/><div class=site-footer__row><!$><!/><!$><!/>"), _e = /*#__PURE__*/ p("<div class=site-footer__identity><!$><!/><div class=site-footer__details>"), ve = /*#__PURE__*/ p("<nav class=site-footer__nav>");
355
355
  function Y(e) {
356
356
  let n = [
357
357
  "system",
@@ -390,60 +390,73 @@ function Y(e) {
390
390
  }
391
391
  });
392
392
  }
393
- function X(e) {
394
- let [n, l] = v(!1);
393
+ var X = (e) => e.emphasis ? "site-link--emphasis" : void 0;
394
+ function Z(n) {
395
+ let [d, f] = v(!1), p = _(() => n.brand), m = (e) => {
396
+ e.key !== "Escape" || e.defaultPrevented || !d() || e.target?.closest("[aria-modal=\"true\"]") || (e.preventDefault(), f(!1), e.currentTarget.querySelector(".site-menu-button")?.focus());
397
+ }, y = (e) => {
398
+ let t = e.target?.closest("a");
399
+ !d() || !t || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey || t.target && t.target !== "_self" || f(!1);
400
+ };
395
401
  return (() => {
396
- var d = i(se), f = d.firstChild, p = f.nextSibling, m = p.firstChild, g = m.firstChild, [_, v] = a(g.nextSibling), y = _.nextSibling, [b, 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), ee = A.nextSibling, [M, N] = a(ee.nextSibling), P = M.nextSibling, [F, I] = a(P.nextSibling);
397
- return o(f, () => e.messages.skipToContent), o(m, () => e.brand.logo, _, v), o(m, () => e.brand.name, b, S), o(p, t(x, {
402
+ var _ = i(se), v = _.firstChild, b = v.nextSibling, S = b.firstChild, C = S.firstChild, [w, T] = a(C.nextSibling), E = w.nextSibling, [D, O] = a(E.nextSibling), k = S.nextSibling, [A, j] = a(k.nextSibling), M = A.nextSibling, ee = M.firstChild, N = M.nextSibling, P = N.firstChild, [F, I] = a(P.nextSibling), L = F.nextSibling, [R, z] = a(L.nextSibling), B = R.nextSibling, [V, H] = a(B.nextSibling);
403
+ return _.$$keydown = m, o(v, () => n.messages.skipToContent), o(S, () => p().logo, w, T), o(S, () => p().name, D, O), o(b, t(x, {
398
404
  class: "site-menu-button",
399
405
  tone: "ghost",
400
406
  get "aria-expanded"() {
401
- return n();
407
+ return d();
402
408
  },
403
409
  "aria-controls": "site-navigation",
404
- onClick: () => l((e) => !e),
410
+ onClick: () => f((e) => !e),
405
411
  get children() {
406
- return s(() => !!n())() ? e.messages.menuClose : e.messages.menuOpen;
412
+ return s(() => !!d())() ? n.messages.menuClose : n.messages.menuOpen;
407
413
  }
408
- }), w, T), o(D, t(h, {
414
+ }), A, j), M.$$click = y, o(ee, t(h, {
409
415
  get each() {
410
- return e.navigation;
416
+ return n.navigation;
411
417
  },
412
- children: (e) => (() => {
413
- var t = i(J), n = t.firstChild;
414
- return o(n, () => e.label), r((t) => {
415
- var r = e.href, i = e.external ? "_blank" : void 0, a = e.external ? "noreferrer" : void 0;
416
- 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;
418
+ children: (t) => (() => {
419
+ var n = i(J), a = n.firstChild;
420
+ return o(a, () => t.label), r((n) => {
421
+ var r = X(t), i = t.href, o = t.external ? "_blank" : void 0, s = t.external ? "noreferrer" : void 0;
422
+ return r !== n.e && e(a, n.e = r), i !== n.t && u(a, "href", n.t = i), o !== n.a && u(a, "target", n.a = o), s !== n.o && u(a, "rel", n.o = s), n;
417
423
  }, {
418
424
  e: void 0,
419
425
  t: void 0,
420
- a: void 0
421
- }), t;
426
+ a: void 0,
427
+ o: void 0
428
+ }), n;
422
429
  })()
423
- })), o(O, t(q, c({
424
- get state() {
425
- return e.locale;
430
+ })), N.$$click = y, o(N, t(g, {
431
+ get when() {
432
+ return n.locale;
426
433
  },
427
- get messages() {
428
- return e.messages;
429
- }
430
- }, () => e.localeVariant ? { variant: e.localeVariant } : {}, () => e.localeRegistry ? { registry: e.localeRegistry } : {}, () => e.onLocaleChange ? { onLocaleChange: e.onLocaleChange } : {})), A, j), o(O, (() => {
431
- var n = s(() => !!e.theme);
432
- return () => n() && t(Y, c(() => e.theme, { get messages() {
433
- return e.messages;
434
+ children: (e) => t(q, c({
435
+ get state() {
436
+ return e();
437
+ },
438
+ get messages() {
439
+ return n.messages;
440
+ }
441
+ }, () => n.localeVariant ? { variant: n.localeVariant } : {}, () => n.localeRegistry ? { registry: n.localeRegistry } : {}, () => n.onLocaleChange ? { onLocaleChange: n.onLocaleChange } : {}))
442
+ }), F, I), o(N, (() => {
443
+ var e = s(() => !!n.theme);
444
+ return () => e() && t(Y, c(() => n.theme, { get messages() {
445
+ return n.messages;
434
446
  } }));
435
- })(), M, N), o(O, () => e.actions, F, I), r((t) => {
436
- var r = e.brand.href, i = String(n()), a = e.messages.navigationLabel, o = String(n());
437
- return r !== t.e && u(m, "href", t.e = r), i !== t.t && u(E, "data-open", t.t = i), a !== t.a && u(E, "aria-label", t.a = a), o !== t.o && u(O, "data-open", t.o = o), t;
447
+ })(), R, z), o(N, () => n.actions, V, H), r((e) => {
448
+ var t = p().href, r = p().label, i = String(d()), a = n.messages.navigationLabel, o = String(d());
449
+ return t !== e.e && u(S, "href", e.e = t), r !== e.t && u(S, "aria-label", e.t = r), i !== e.a && u(M, "data-open", e.a = i), a !== e.o && u(M, "aria-label", e.o = a), o !== e.i && u(N, "data-open", e.i = o), e;
438
450
  }, {
439
451
  e: void 0,
440
452
  t: void 0,
441
453
  a: void 0,
442
- o: void 0
443
- }), d;
454
+ o: void 0,
455
+ i: void 0
456
+ }), l(), _;
444
457
  })();
445
458
  }
446
- function me(e) {
459
+ function ye(e) {
447
460
  let n, a, s = () => e.registry.LOCALES.find((t) => t.code === e.state.locale), c = () => {
448
461
  n && (n.open = !1);
449
462
  }, d = (e) => {
@@ -483,86 +496,134 @@ function me(e) {
483
496
  }), l(), c;
484
497
  })();
485
498
  }
486
- function Z(e) {
487
- let n = () => e.localeRegistry ?? A;
499
+ function Q(n) {
500
+ let s = () => n.localeRegistry ?? A, c = _(() => n.brand), l = _(() => n.details), d = () => (() => {
501
+ var s = i(le), l = s.firstChild, [d, f] = a(l.nextSibling), p = d.nextSibling, [m, _] = a(p.nextSibling), v = m.nextSibling, [y, b] = a(v.nextSibling);
502
+ return o(s, () => c().logo, d, f), o(s, t(g, {
503
+ get when() {
504
+ return c().name;
505
+ },
506
+ children: (e) => (() => {
507
+ var t = i(ue);
508
+ return o(t, e), t;
509
+ })()
510
+ }), m, _), o(s, t(h, {
511
+ get each() {
512
+ return n.family ?? [];
513
+ },
514
+ children: (t) => [i(de), (() => {
515
+ var n = i(fe);
516
+ return o(n, () => t.label), r((r) => {
517
+ var i = X(t), a = t.href;
518
+ return i !== r.e && e(n, r.e = i), a !== r.t && u(n, "href", r.t = a), r;
519
+ }, {
520
+ e: void 0,
521
+ t: void 0
522
+ }), n;
523
+ })()]
524
+ }), y, b), s;
525
+ })(), f = () => (() => {
526
+ var s = i(pe), c = s.firstChild, [l, d] = a(c.nextSibling), f = l.nextSibling;
527
+ return o(s, t(h, {
528
+ get each() {
529
+ return n.links;
530
+ },
531
+ children: (t) => (() => {
532
+ var n = i(J), a = n.firstChild;
533
+ return o(a, () => t.label), r((n) => {
534
+ var r = X(t), i = t.href;
535
+ return r !== n.e && e(a, n.e = r), i !== n.t && u(a, "href", n.t = i), n;
536
+ }, {
537
+ e: void 0,
538
+ t: void 0
539
+ }), n;
540
+ })()
541
+ }), l, d), o(f, t(g, {
542
+ get when() {
543
+ return n.copyrightHref;
544
+ },
545
+ get fallback() {
546
+ return (() => {
547
+ var e = i(me);
548
+ return o(e, () => n.copyright), e;
549
+ })();
550
+ },
551
+ children: (e) => (() => {
552
+ var t = i(he), a = t.firstChild;
553
+ return o(a, () => n.copyright), r(() => u(t, "href", e())), t;
554
+ })()
555
+ })), s;
556
+ })();
488
557
  return (() => {
489
- var s = i(le), c = s.firstChild, l = c.firstChild, [d, f] = a(l.nextSibling), p = d.nextSibling.firstChild, m = p.firstChild, [_, v] = a(m.nextSibling), y = _.nextSibling, b = y.nextSibling, [x, S] = a(b.nextSibling), C = p.nextSibling, w = C.firstChild, [T, E] = a(w.nextSibling), D = T.nextSibling;
558
+ var e = i(ge), c = e.firstChild, p = c.firstChild, [m, h] = a(p.nextSibling), _ = m.nextSibling, v = _.firstChild, [y, b] = a(v.nextSibling), x = y.nextSibling, [S, C] = a(x.nextSibling);
490
559
  return o(c, t(g, {
491
560
  get when() {
492
- return e.locale;
561
+ return n.locale;
493
562
  },
494
- children: (r) => t(me, {
563
+ children: (e) => t(ye, {
495
564
  get state() {
496
- return r();
565
+ return e();
497
566
  },
498
567
  get registry() {
499
- return n();
568
+ return s();
500
569
  },
501
570
  get label() {
502
- return e.messages.localeLabel;
571
+ return n.messages.localeLabel;
503
572
  },
504
573
  get onSelect() {
505
- return e.onLocaleSelect;
574
+ return n.onLocaleSelect;
506
575
  }
507
576
  })
508
- }), d, f), o(p, () => e.brand.logo, _, v), o(y, () => e.brand.name), o(p, t(h, {
509
- get each() {
510
- return e.family ?? [];
577
+ }), m, h), o(_, t(g, {
578
+ get when() {
579
+ return l();
511
580
  },
512
- children: (e) => [i(ue), (() => {
513
- var t = i(de);
514
- return o(t, () => e.label), r(() => u(t, "href", e.href)), t;
515
- })()]
516
- }), x, S), o(C, t(h, {
517
- get each() {
518
- return e.links;
581
+ get fallback() {
582
+ return d();
519
583
  },
520
584
  children: (e) => (() => {
521
- var t = i(J), n = t.firstChild;
522
- return o(n, () => e.label), r(() => u(n, "href", e.href)), t;
585
+ var t = i(_e), n = t.firstChild, [r, s] = a(n.nextSibling), c = r.nextSibling;
586
+ return o(t, d, r, s), o(c, e), t;
523
587
  })()
524
- }), T, E), o(D, t(g, {
588
+ }), y, b), o(_, t(g, {
525
589
  get when() {
526
- return e.copyrightHref;
590
+ return n.linksLabel;
527
591
  },
528
592
  get fallback() {
529
- return (() => {
530
- var t = i(fe);
531
- return o(t, () => e.copyright), t;
532
- })();
593
+ return f();
533
594
  },
534
- children: (t) => (() => {
535
- var n = i(pe), a = n.firstChild;
536
- return o(a, () => e.copyright), r(() => u(n, "href", t())), n;
595
+ children: (e) => (() => {
596
+ var t = i(ve);
597
+ return o(t, f), r(() => u(t, "aria-label", e())), t;
537
598
  })()
538
- })), r(() => u(s, "aria-label", e.messages.footerLabel)), s;
599
+ }), S, C), r(() => u(e, "aria-label", n.messages.footerLabel)), e;
539
600
  })();
540
601
  }
541
602
  n(["keydown", "click"]);
542
603
  //#endregion
543
604
  //#region src/solid/layouts.tsx
544
- var he = /*#__PURE__*/ p("<div class=site-shell><!$><!/><main id=main-content tabindex=-1></main><!$><!/>"), ge = /*#__PURE__*/ p("<article class=site-legal><header><h1></h1><p><!$><!/>: <time></time></p></header><!$><!/>"), _e = /*#__PURE__*/ p("<section><strong></strong><!$><!/><!$><!/>"), ve = /*#__PURE__*/ p("<div>"), ye = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><a class=\"dds-btn dds-btn--primary\">"), be = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><!$><!/><!$><!/>"), xe = /*#__PURE__*/ p("<code>");
545
- function Se(n) {
605
+ var be = /*#__PURE__*/ p("<div class=site-shell><!$><!/><main id=main-content tabindex=-1></main><!$><!/>"), xe = /*#__PURE__*/ p("<article class=site-legal><header><h1></h1><p><!$><!/>: <time></time></p></header><!$><!/>"), Se = /*#__PURE__*/ p("<section><strong></strong><!$><!/><!$><!/>"), Ce = /*#__PURE__*/ p("<div>"), we = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><a class=\"dds-btn dds-btn--primary\">"), Te = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><!$><!/><!$><!/>"), Ee = /*#__PURE__*/ p("<code>");
606
+ function De(n) {
546
607
  let s = () => n.mainWidth === "bleed" ? "site-main site-main--bleed" : "site-main", l = _(() => n.header), u = _(() => n.footer);
547
608
  return (() => {
548
- var d = i(he), f = d.firstChild, [p, m] = a(f.nextSibling), h = p.nextSibling, g = h.nextSibling, [_, v] = a(g.nextSibling);
549
- return o(d, t(X, c(l)), p, m), o(h, () => n.children), o(d, t(Z, c(u)), _, v), r(() => e(h, s())), d;
609
+ var d = i(be), f = d.firstChild, [p, m] = a(f.nextSibling), h = p.nextSibling, g = h.nextSibling, [_, v] = a(g.nextSibling);
610
+ return o(d, t(Z, c(l)), p, m), o(h, () => n.children), o(d, t(Q, c(u)), _, v), r(() => e(h, s())), d;
550
611
  })();
551
612
  }
552
- function Ce(e) {
613
+ function Oe(e) {
553
614
  return (() => {
554
- var t = i(ge), 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);
615
+ var t = i(xe), 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);
555
616
  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;
556
617
  })();
557
618
  }
558
- function we(n) {
619
+ function ke(n) {
559
620
  let c = _(() => n.children);
560
621
  return (() => {
561
- var l = i(_e), d = l.firstChild, f = d.nextSibling, [p, m] = a(f.nextSibling), h = p.nextSibling, [g, _] = a(h.nextSibling);
622
+ var l = i(Se), d = l.firstChild, f = d.nextSibling, [p, m] = a(f.nextSibling), h = p.nextSibling, [g, _] = a(h.nextSibling);
562
623
  return o(d, () => n.title), o(l, (() => {
563
624
  var e = s(() => !!c());
564
625
  return () => e() && (() => {
565
- var e = i(ve);
626
+ var e = i(Ce);
566
627
  return o(e, c), e;
567
628
  })();
568
629
  })(), p, m), o(l, (() => {
@@ -588,19 +649,19 @@ function we(n) {
588
649
  }), l;
589
650
  })();
590
651
  }
591
- function Te(e) {
652
+ function Ae(e) {
592
653
  return (() => {
593
- var t = i(ye), n = t.firstChild, s = n.nextSibling, c = s.nextSibling, [l, d] = a(c.nextSibling), f = l.nextSibling;
654
+ var t = i(we), n = t.firstChild, s = n.nextSibling, c = s.nextSibling, [l, d] = a(c.nextSibling), f = l.nextSibling;
594
655
  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;
595
656
  })();
596
657
  }
597
- function Ee(e) {
658
+ function je(e) {
598
659
  return (() => {
599
- var n = i(be), 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);
660
+ var n = i(Te), 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);
600
661
  return o(r, () => e.messages.errorTitle), o(c, () => e.messages.errorDescription), o(n, (() => {
601
662
  var t = s(() => !!e.errorId);
602
663
  return () => t() && (() => {
603
- var t = i(xe);
664
+ var t = i(Ee);
604
665
  return o(t, () => e.errorId), t;
605
666
  })();
606
667
  })(), u, d), o(n, () => e.children, p, m), o(n, t(x, {
@@ -616,8 +677,8 @@ function Ee(e) {
616
677
  }
617
678
  //#endregion
618
679
  //#region src/solid/request-access.tsx
619
- var De = /*#__PURE__*/ p("<form><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><div aria-live=polite aria-atomic=true>"), Q = /*#__PURE__*/ p("<input>"), Oe = /*#__PURE__*/ p("<textarea>");
620
- function ke(n) {
680
+ var Me = /*#__PURE__*/ p("<form><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><div aria-live=polite aria-atomic=true>"), $ = /*#__PURE__*/ p("<input>"), Ne = /*#__PURE__*/ p("<textarea>");
681
+ function Pe(n) {
621
682
  let [u, d] = v("idle"), p = async (e) => {
622
683
  if (e.preventDefault(), u() !== "submitting") {
623
684
  d("submitting");
@@ -629,14 +690,14 @@ function ke(n) {
629
690
  }
630
691
  };
631
692
  return (() => {
632
- var d = i(De), m = d.firstChild, [h, g] = a(m.nextSibling), _ = h.nextSibling, [v, y] = a(_.nextSibling), b = v.nextSibling, [C, w] = a(b.nextSibling), T = C.nextSibling, [E, D] = a(T.nextSibling), O = E.nextSibling, [k, A] = a(O.nextSibling), j = k.nextSibling;
693
+ var d = i(Me), m = d.firstChild, [h, g] = a(m.nextSibling), _ = h.nextSibling, [v, y] = a(_.nextSibling), b = v.nextSibling, [C, w] = a(b.nextSibling), T = C.nextSibling, [E, D] = a(T.nextSibling), O = E.nextSibling, [k, A] = a(O.nextSibling), j = k.nextSibling;
633
694
  return d.addEventListener("submit", p), o(d, t(S, {
634
695
  get label() {
635
696
  return n.messages.nameLabel;
636
697
  },
637
698
  required: !0,
638
699
  children: (e) => (() => {
639
- var t = i(Q);
700
+ var t = i($);
640
701
  return f(t, c(e, {
641
702
  class: "dds-input",
642
703
  name: "name",
@@ -650,7 +711,7 @@ function ke(n) {
650
711
  },
651
712
  required: !0,
652
713
  children: (e) => (() => {
653
- var t = i(Q);
714
+ var t = i($);
654
715
  return f(t, c(e, {
655
716
  class: "dds-input",
656
717
  type: "email",
@@ -664,7 +725,7 @@ function ke(n) {
664
725
  return n.messages.organizationLabel;
665
726
  },
666
727
  children: (e) => (() => {
667
- var t = i(Q);
728
+ var t = i($);
668
729
  return f(t, c(e, {
669
730
  class: "dds-input",
670
731
  name: "organization",
@@ -676,7 +737,7 @@ function ke(n) {
676
737
  return n.messages.useCaseLabel;
677
738
  },
678
739
  children: (e) => (() => {
679
- var t = i(Oe);
740
+ var t = i(Ne);
680
741
  return f(t, c(e, {
681
742
  class: "dds-textarea",
682
743
  name: "useCase",
@@ -699,15 +760,15 @@ function ke(n) {
699
760
  }
700
761
  //#endregion
701
762
  //#region src/solid/oss-product-mark.tsx
702
- var Ae = /*#__PURE__*/ p("<img decoding=async>"), je = {
763
+ var Fe = /*#__PURE__*/ p("<img decoding=async>"), Ie = {
703
764
  sm: 24,
704
765
  md: 32,
705
766
  lg: 48
706
767
  };
707
- function Me(t) {
708
- let n = () => t.size ?? "md", a = () => je[n()];
768
+ function Le(t) {
769
+ let n = () => t.size ?? "md", a = () => Ie[n()];
709
770
  return (() => {
710
- var o = i(Ae);
771
+ var o = i(Fe);
711
772
  return r((r) => {
712
773
  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();
713
774
  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;
@@ -723,10 +784,10 @@ function Me(t) {
723
784
  }
724
785
  //#endregion
725
786
  //#region src/solid/sections.tsx
726
- var Ne = /*#__PURE__*/ p("<section class=site-section><div class=site-section__shell>"), Pe = /*#__PURE__*/ p("<header class=site-section__head><p class=site-section__index aria-hidden=true></p><h2></h2><!$><!/>"), $ = /*#__PURE__*/ p("<p class=site-section__lede>"), Fe = /*#__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>"), Ie = /*#__PURE__*/ p("<p class=site-hero__eyebrow>"), Le = /*#__PURE__*/ p("<ol class=site-steps>"), Re = /*#__PURE__*/ p("<li class=site-steps__step><span class=site-steps__marker aria-hidden=true></span><h3></h3><p>"), ze = /*#__PURE__*/ p("<ul class=site-rows>"), Be = /*#__PURE__*/ p("<li class=site-rows__row><div class=site-rows__title><h3></h3><!$><!/></div><p class=site-rows__body>"), Ve = /*#__PURE__*/ p("<span class=\"dds-badge dds-badge--brand\">"), He = /*#__PURE__*/ p("<div class=site-pricing><div class=site-pricing__note></div><div class=site-pricing__action>");
727
- function Ue(e) {
787
+ var Re = /*#__PURE__*/ p("<section class=site-section><div class=site-section__shell>"), ze = /*#__PURE__*/ p("<header class=site-section__head><p class=site-section__index aria-hidden=true></p><h2></h2><!$><!/>"), Be = /*#__PURE__*/ p("<p class=site-section__lede>"), Ve = /*#__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>"), He = /*#__PURE__*/ p("<p class=site-hero__eyebrow>"), Ue = /*#__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>"), Ge = /*#__PURE__*/ p("<ul class=site-rows>"), Ke = /*#__PURE__*/ p("<li class=site-rows__row><div class=site-rows__title><h3></h3><!$><!/></div><p class=site-rows__body>"), qe = /*#__PURE__*/ p("<span class=\"dds-badge dds-badge--brand\">"), Je = /*#__PURE__*/ p("<div class=site-pricing><div class=site-pricing__note></div><div class=site-pricing__action>");
788
+ function Ye(e) {
728
789
  return (() => {
729
- var t = i(Ne), n = t.firstChild;
790
+ var t = i(Re), n = t.firstChild;
730
791
  return o(n, () => e.children), r((n) => {
731
792
  var r = e.id, i = e.tone ?? "default", a = e.labelledBy;
732
793
  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;
@@ -737,29 +798,29 @@ function Ue(e) {
737
798
  }), t;
738
799
  })();
739
800
  }
740
- function We(e) {
801
+ function Xe(e) {
741
802
  return (() => {
742
- var n = i(Pe), s = n.firstChild, c = s.nextSibling, l = c.nextSibling, [d, f] = a(l.nextSibling);
803
+ var n = i(ze), s = n.firstChild, c = s.nextSibling, l = c.nextSibling, [d, f] = a(l.nextSibling);
743
804
  return o(s, () => e.index), o(c, () => e.title), o(n, t(g, {
744
805
  get when() {
745
806
  return e.lede;
746
807
  },
747
808
  children: (e) => (() => {
748
- var t = i($);
809
+ var t = i(Be);
749
810
  return o(t, e), t;
750
811
  })()
751
812
  }), d, f), r(() => u(c, "id", e.titleId)), n;
752
813
  })();
753
814
  }
754
- function Ge(e) {
815
+ function Ze(e) {
755
816
  return (() => {
756
- var n = i(Fe), s = n.firstChild.firstChild, c = s.firstChild, [l, d] = a(c.nextSibling), f = l.nextSibling, p = f.nextSibling, m = p.nextSibling, h = s.nextSibling;
817
+ var n = i(Ve), s = n.firstChild.firstChild, c = s.firstChild, [l, d] = a(c.nextSibling), f = l.nextSibling, p = f.nextSibling, m = p.nextSibling, h = s.nextSibling;
757
818
  return o(s, t(g, {
758
819
  get when() {
759
820
  return e.eyebrow;
760
821
  },
761
822
  children: (e) => (() => {
762
- var t = i(Ie);
823
+ var t = i(He);
763
824
  return o(t, e), t;
764
825
  })()
765
826
  }), l, d), o(f, () => e.title), o(p, () => e.lede), o(m, () => e.actions), o(h, () => e.aside), r((t) => {
@@ -773,35 +834,35 @@ function Ge(e) {
773
834
  }), n;
774
835
  })();
775
836
  }
776
- function Ke(e) {
837
+ function Qe(e) {
777
838
  return (() => {
778
- var n = i(Le);
839
+ var n = i(Ue);
779
840
  return o(n, t(h, {
780
841
  get each() {
781
842
  return e.steps;
782
843
  },
783
844
  children: (e, t) => (() => {
784
- var n = i(Re), r = n.firstChild, a = r.nextSibling, s = a.nextSibling;
845
+ var n = i(We), r = n.firstChild, a = r.nextSibling, s = a.nextSibling;
785
846
  return o(r, () => t() + 1), o(a, () => e.title), o(s, () => e.body), n;
786
847
  })()
787
848
  })), r(() => u(n, "aria-label", e.label)), n;
788
849
  })();
789
850
  }
790
- function qe(e) {
851
+ function $e(e) {
791
852
  return (() => {
792
- var n = i(ze);
853
+ var n = i(Ge);
793
854
  return o(n, t(h, {
794
855
  get each() {
795
856
  return e.rows;
796
857
  },
797
858
  children: (e) => (() => {
798
- var n = i(Be), r = n.firstChild, s = r.firstChild, c = s.nextSibling, [l, u] = a(c.nextSibling), d = r.nextSibling;
859
+ var n = i(Ke), r = n.firstChild, s = r.firstChild, c = s.nextSibling, [l, u] = a(c.nextSibling), d = r.nextSibling;
799
860
  return o(s, () => e.title), o(r, t(g, {
800
861
  get when() {
801
862
  return e.badge;
802
863
  },
803
864
  children: (e) => (() => {
804
- var t = i(Ve);
865
+ var t = i(qe);
805
866
  return o(t, e), t;
806
867
  })()
807
868
  }), l, u), o(d, () => e.body), n;
@@ -809,13 +870,13 @@ function qe(e) {
809
870
  })), r(() => u(n, "aria-label", e.label)), n;
810
871
  })();
811
872
  }
812
- function Je(e) {
873
+ function et(e) {
813
874
  return (() => {
814
- var t = i(He), n = t.firstChild, r = n.nextSibling;
875
+ var t = i(Je), n = t.firstChild, r = n.nextSibling;
815
876
  return o(n, () => e.children), o(r, () => e.action), t;
816
877
  })();
817
878
  }
818
879
  //#endregion
819
- export { Ee as ErrorLayout, qe as FeatureRows, Ge as HeroSplit, Ce as LegalLayout, q as LocaleMenu, Se as MarketingShell, Te as NotFoundLayout, Me as OssProductMark, Je as PricingNote, ke as RequestAccessForm, Ue as SectionBlock, We as SectionHead, Z as SiteFooter, X as SiteHeader, we as StatusBanner, Ke as StepFlow, Y as ThemeToggle };
880
+ export { je as ErrorLayout, $e as FeatureRows, Ze as HeroSplit, Oe as LegalLayout, q as LocaleMenu, De as MarketingShell, Ae as NotFoundLayout, Le as OssProductMark, et as PricingNote, Pe as RequestAccessForm, Ye as SectionBlock, Xe as SectionHead, Q as SiteFooter, Z as SiteHeader, ke as StatusBanner, Qe as StepFlow, Y as ThemeToggle };
820
881
 
821
882
  //# sourceMappingURL=solid.js.map